!function(e,n){"object"===typeof exports&&"undefined"!==typeof module?n(exports):"function"===typeof define&&define.amd?define(["exports"],n):n((e=e||self).Inferno=e.Inferno||{})}(this,(function(e){"use strict";var n=Array.isArray;function t(e){var n=typeof e;return"string"===n||"number"===n}function r(e){return void 0===e||null===e}function o(e){return null===e||!1===e||!0===e||void 0===e}function i(e){return"function"===typeof e}function l(e){return"string"===typeof e}function a(e){return null===e}function u(e,n){var t={};if(e)for(var r in e)t[r]=e[r];if(n)for(var o in n)t[o]=n[o];return t}function c(e){return!a(e)&&"object"===typeof e}var f={};function s(e){return e.substr(2).toLowerCase()}function d(e,n){e.appendChild(n)}function p(e,n,t){a(t)?d(e,n):e.insertBefore(n,t)}function v(e,n){e.removeChild(n)}function h(e){for(var n=0;n<e.length;n++)e[n]()}function g(e,n,t){var r=e.children;if(4&t)return r.$LI;if(8192&t)return 2===e.childFlags?r:r[n?0:r.length-1];return r}function m(e,n){for(var t;e;){if(2033&(t=e.flags))return e.dom;e=g(e,n,t)}return null}function y(e,n){do{var t=e.flags;if(2033&t)return void v(n,e.dom);var r=e.children;if(4&t&&(e=r.$LI),8&t&&(e=r),8192&t){if(2!==e.childFlags){for(var o=0,i=r.length;o<i;++o)y(r[o],n);return}e=r}}while(e)}function $(e,n,t){do{var r=e.flags;if(2033&r)return void p(n,e.dom,t);var o=e.children;if(4&r&&(e=o.$LI),8&r&&(e=o),8192&r){if(2!==e.childFlags){for(var i=0,l=o.length;i<l;++i)$(o[i],n,t);return}e=o}}while(e)}function k(e,n,t){if(e.constructor.getDerivedStateFromProps)return u(t,e.constructor.getDerivedStateFromProps(n,t));return t}var b={v:!1},C={componentComparator:null,createVNode:null,renderComplete:null};function w(e,n){e.textContent=n}function P(e,n){return c(e)&&e.event===n.event&&e.data===n.data}function F(e,n){for(var t in n)void 0===e[t]&&(e[t]=n[t]);return e}function N(e,n){return!!i(e)&&(e(n),!0)}function x(e,n,t,r,o,i,l,a){this.childFlags=e,this.children=n,this.className=t,this.dom=null,this.flags=r,this.key=void 0===o?null:o,this.props=void 0===i?null:i,this.ref=void 0===l?null:l,this.type=a}function V(e,n,t,r,o,i,l,a){var u=void 0===o?1:o,c=new x(u,r,t,e,l,i,a,n);return C.createVNode&&C.createVNode(c),0===u&&B(c,c.children),c}function S(e,n){return new x(1,r(e)||!0===e||!1===e?"":e,null,16,n,null,null,null)}function U(e,n,t){var r=V(8192,8192,null,e,n,null,t,null);switch(r.childFlags){case 1:r.children=L(),r.childFlags=2;break;case 16:r.children=[S(e)],r.childFlags=4}return r}function I(e){var n=-16385&e.flags,t=e.props;if(14&n&&!a(t)){var r=t;for(var o in t={},r)t[o]=r[o]}if(0===(8192&n))return new x(e.childFlags,e.children,e.className,n,e.key,t,e.ref,e.type);return function(e){var n,t=e.children,r=e.childFlags;if(2===r)n=I(t);else if(12&r){n=[];for(var o=0,i=t.length;o<i;++o)n.push(I(t[o]))}return U(n,r,e.key)}(e)}function L(){return S("",null)}function M(e,r,i,u){for(var c=e.length;i<c;i++){var f=e[i];if(!o(f)){var s=u+"$"+i;if(n(f))M(f,r,0,s);else{if(t(f))f=S(f,s);else{var d=f.key,p=l(d)&&"$"===d[0];(81920&f.flags||p)&&(f=I(f)),f.flags|=65536,p?d.substring(0,u.length)!==u&&(f.key=u+d):a(d)?f.key=s:f.key=u+d}r.push(f)}}}}function B(e,r){var i,u=1;if(o(r))i=r;else if(t(r))u=16,i=r;else if(n(r)){for(var c=r.length,f=0;f<c;++f){var s=r[f];if(o(s)||n(s)){i=i||r.slice(0,f),M(r,i,f,"");break}if(t(s))(i=i||r.slice(0,f)).push(S(s,"$"+f));else{var d=s.key,p=(81920&s.flags)>0,v=a(d),h=l(d)&&"$"===d[0];p||v||h?(i=i||r.slice(0,f),(p||h)&&(s=I(s)),(v||h)&&(s.key="$"+f),i.push(s)):i&&i.push(s),s.flags|=65536}}u=0===(i=i||r).length?1:8}else(i=r).flags|=65536,81920&r.flags&&(i=I(r)),u=2;return e.children=i,e.childFlags=u,e}function D(e){if(o(e)||t(e))return S(e,null);if(n(e))return U(e,0,null);return 16384&e.flags?I(e):e}var E="http://www.w3.org/1999/xlink",_="http://www.w3.org/XML/1998/namespace",A={"xlink:actuate":E,"xlink:arcrole":E,"xlink:href":E,"xlink:role":E,"xlink:show":E,"xlink:title":E,"xlink:type":E,"xml:base":_,"xml:lang":_,"xml:space":_};function T(e){return{onClick:e,onDblClick:e,onFocusIn:e,onFocusOut:e,onKeyDown:e,onKeyPress:e,onKeyUp:e,onMouseDown:e,onMouseMove:e,onMouseUp:e,onTouchEnd:e,onTouchMove:e,onTouchStart:e}}var R=T(0),W=T(null),O=T(!0);function j(e,n){var t=n.$EV;return t||(t=n.$EV=T(null)),t[e]||1===++R[e]&&(W[e]=function(e){var n="onClick"===e||"onDblClick"===e?function(e){return function(n){if(0!==n.button)return void n.stopPropagation();Q(n,!0,e,q(n))}}(e):function(e){return function(n){Q(n,!1,e,q(n))}}(e);return document.addEventListener(s(e),n),n}(e)),t}function H(e,n){var t=n.$EV;t&&t[e]&&(0===--R[e]&&(document.removeEventListener(s(e),W[e]),W[e]=null),t[e]=null)}function Q(e,n,t,r){var o=function(e){return i(e.composedPath)?e.composedPath()[0]:e.target}(e);do{if(n&&o.disabled)return;var l=o.$EV;if(l){var u=l[t];if(u&&(r.dom=o,u.event?u.event(u.data,e):u(e),e.cancelBubble))return}o=o.parentNode}while(!a(o))}function X(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function G(){return this.defaultPrevented}function K(){return this.cancelBubble}function q(e){var n={dom:document};return e.isDefaultPrevented=G,e.isPropagationStopped=K,e.stopPropagation=X,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return n.dom}}),n}function z(e,n,t){if(e[n]){var r=e[n];r.event?r.event(r.data,t):r(t)}else{var o=n.toLowerCase();e[o]&&e[o](t)}}function J(e,n){var t=function(t){var r=this.$V;if(!r)return;var o=r.props||f,a=r.dom;if(l(e))z(o,e,t);else for(var u=0;u<e.length;++u)z(o,e[u],t);if(i(n)){var c=this.$V,s=c.props||f;n(s,a,!1,c)}};return Object.defineProperty(t,"wrapped",{configurable:!1,enumerable:!1,value:!0,writable:!1}),t}function Y(e,n,t){var r="$"+n,o=e[r];if(o){if(o[1].wrapped)return;e.removeEventListener(o[0],o[1]),e[r]=null}i(t)&&(e.addEventListener(n,t),e[r]=[n,t])}function Z(e){return"checkbox"===e||"radio"===e}var ee=J("onInput",re),ne=J(["onClick","onChange"],re);function te(e){e.stopPropagation()}function re(e,n){var t=e.type,o=e.value,i=e.checked,l=e.multiple,a=e.defaultValue,u=!r(o);t&&t!==n.type&&n.setAttribute("type",t),r(l)||l===n.multiple||(n.multiple=l),r(a)||u||(n.defaultValue=a+""),Z(t)?(u&&(n.value=o),r(i)||(n.checked=i)):u&&n.value!==o?(n.defaultValue=o,n.value=o):r(i)||(n.checked=i)}te.wrapped=!0;var oe=J("onChange",ie);function ie(e,t,o,i){var l=Boolean(e.multiple);r(e.multiple)||l===t.multiple||(t.multiple=l);var a=e.selectedIndex;if(-1===a&&(t.selectedIndex=-1),1!==i.childFlags){var u=e.value;"number"===typeof a&&a>-1&&t.options[a]&&(u=t.options[a].value),o&&r(u)&&(u=e.defaultValue),function e(t,o){if("option"===t.type)!function(e,t){var o=e.props||f,i=e.dom;i.value=o.value,o.value===t||n(t)&&-1!==t.indexOf(o.value)?i.selected=!0:r(t)&&r(o.selected)||(i.selected=o.selected||!1)}(t,o);else{var i=t.children,l=t.flags;if(4&l)e(i.$LI,o);else if(8&l)e(i,o);else if(2===t.childFlags)e(i,o);else if(12&t.childFlags)for(var a=0,u=i.length;a<u;++a)e(i[a],o)}}(i,u)}}var le,ae,ue=J("onInput",fe),ce=J("onChange");function fe(e,n,t){var o=e.value,i=n.value;if(r(o)){if(t){var l=e.defaultValue;r(l)||l===i||(n.defaultValue=l,n.value=l)}}else i!==o&&(n.defaultValue=o,n.value=o)}function se(e,n,t,r,o,i){64&e?re(r,t):256&e?ie(r,t,o,n):128&e&&fe(r,t,o),i&&(t.$V=n)}function de(e){return e.type&&Z(e.type)?!r(e.checked):!r(e.value)}function pe(e){e&&!N(e,null)&&e.current&&(e.current=null)}function ve(e,n,t){e&&(i(e)||void 0!==e.current)&&t.push((function(){N(e,n)||void 0===e.current||(e.current=n)}))}function he(e,n){ge(e),y(e,n)}function ge(e){var n,t=e.flags,o=e.children;if(481&t){n=e.ref;var l=e.props;pe(n);var u=e.childFlags;if(!a(l))for(var c=Object.keys(l),s=0,d=c.length;s<d;s++){var p=c[s];O[p]&&H(p,e.dom)}12&u?me(o):2===u&&ge(o)}else o&&(4&t?(i(o.componentWillUnmount)&&o.componentWillUnmount(),pe(e.ref),o.$UN=!0,ge(o.$LI)):8&t?(!r(n=e.ref)&&i(n.onComponentWillUnmount)&&n.onComponentWillUnmount(m(e,!0),e.props||f),ge(o)):1024&t?he(o,e.ref):8192&t&&12&e.childFlags&&me(o))}function me(e){for(var n=0,t=e.length;n<t;++n)ge(e[n])}function ye(e){e.textContent=""}function $e(e,n,t){me(t),8192&n.flags?y(n,e):ye(e)}function ke(e,n,t,o,u,f,d){switch(e){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":o.autofocus=!!t;break;case"allowfullscreen":case"autoplay":case"capture":case"checked":case"controls":case"default":case"disabled":case"hidden":case"indeterminate":case"loop":case"muted":case"novalidate":case"open":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"selected":o[e]=!!t;break;case"defaultChecked":case"value":case"volume":if(f&&"value"===e)break;var p=r(t)?"":t;o[e]!==p&&(o[e]=p);break;case"style":!function(e,n,t){if(r(n))return void t.removeAttribute("style");var o,i,a=t.style;if(l(n))return void(a.cssText=n);if(r(e)||l(e))for(o in n)i=n[o],a.setProperty(o,i);else{for(o in n)(i=n[o])!==e[o]&&a.setProperty(o,i);for(o in e)r(n[o])&&a.removeProperty(o)}}(n,t,o);break;case"dangerouslySetInnerHTML":!function(e,n,t,o){var i=e&&e.__html||"",l=n&&n.__html||"";i!==l&&(r(l)||function(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}(o,l)||(a(t)||(12&t.childFlags?me(t.children):2===t.childFlags&&ge(t.children),t.children=null,t.childFlags=1),o.innerHTML=l))}(n,t,d,o);break;default:O[e]?function(e,n,t,r){if(i(t))j(e,r)[e]=t;else if(c(t)){if(P(n,t))return;j(e,r)[e]=t}else H(e,r)}(e,n,t,o):111===e.charCodeAt(0)&&110===e.charCodeAt(1)?function(e,n,t,r){if(c(t)){if(P(n,t))return;t=function(e){var n=e.event;return function(t){n(e.data,t)}}(t)}Y(r,s(e),t)}(e,n,t,o):r(t)?o.removeAttribute(e):u&&A[e]?o.setAttributeNS(A[e],e,t):o.setAttribute(e,t)}}function be(e,n,t,r,o){var i=!1,l=(448&n)>0;for(var a in l&&(i=de(t))&&function(e,n,t){64&e?function(e,n){Z(n.type)?(Y(e,"change",ne),Y(e,"click",te)):Y(e,"input",ee)}(n,t):256&e?function(e){Y(e,"change",oe)}(n):128&e&&function(e,n){Y(e,"input",ue),n.onChange&&Y(e,"change",ce)}(n,t)}(n,r,t),t)ke(a,null,t[a],r,o,i,null);l&&se(n,e,r,t,!0,i)}function Ce(e,n,t){var r=D(e.render(n,e.state,t)),o=t;return i(e.getChildContext)&&(o=u(t,e.getChildContext())),e.$CX=o,r}function we(e,n,t,r,o,l){var u=new n(t,r),c=u.$N=Boolean(n.getDerivedStateFromProps||u.getSnapshotBeforeUpdate);if(u.$SVG=o,u.$L=l,e.children=u,u.$BS=!1,u.context=r,u.props===f&&(u.props=t),c)u.state=k(u,t,u.state);else if(i(u.componentWillMount)){u.$BR=!0,u.componentWillMount();var s=u.$PS;if(!a(s)){var d=u.state;if(a(d))u.state=s;else for(var p in s)d[p]=s[p];u.$PS=null}u.$BR=!1}return u.$LI=Ce(u,t,r),u}function Pe(e,n,t,r,o,i){var l=e.flags|=16384;481&l?Ne(e,n,t,r,o,i):4&l?function(e,n,t,r,o,i){var l=we(e,e.type,e.props||f,t,r,i);Pe(l.$LI,n,l.$CX,r,o,i),Ve(e.ref,l,i)}(e,n,t,r,o,i):8&l?(function(e,n,t,r,o,i){Pe(e.children=D(function(e,n){return 32768&e.flags?e.type.render(e.props||f,e.ref,n):e.type(e.props||f,n)}(e,t)),n,t,r,o,i)}(e,n,t,r,o,i),Se(e,i)):512&l||16&l?Fe(e,n,o):8192&l?function(e,n,t,r,o,i){var l=e.children,a=e.childFlags;12&a&&0===l.length&&(a=e.childFlags=2,l=e.children=L()),2===a?Pe(l,t,o,r,o,i):xe(l,t,n,r,o,i)}(e,t,n,r,o,i):1024&l&&function(e,n,t,r,o){Pe(e.children,e.ref,n,!1,null,o);var i=L();Fe(i,t,r),e.dom=i.dom}(e,t,n,o,i)}function Fe(e,n,t){var r=e.dom=document.createTextNode(e.children);a(n)||p(n,r,t)}function Ne(e,n,t,o,i,l){var u=e.flags,c=e.props,f=e.className,s=e.children,d=e.childFlags,v=e.dom=function(e,n){if(n)return document.createElementNS("http://www.w3.org/2000/svg",e);return document.createElement(e)}(e.type,o=o||(32&u)>0);if(r(f)||""===f||(o?v.setAttribute("class",f):v.className=f),16===d)w(v,s);else if(1!==d){var h=o&&"foreignObject"!==e.type;2===d?(16384&s.flags&&(e.children=s=I(s)),Pe(s,v,t,h,null,l)):8!==d&&4!==d||xe(s,v,t,h,null,l)}a(n)||p(n,v,i),a(c)||be(e,u,c,v,o),ve(e.ref,v,l)}function xe(e,n,t,r,o,i){for(var l=0;l<e.length;++l){var a=e[l];16384&a.flags&&(e[l]=a=I(a)),Pe(a,n,t,r,o,i)}}function Ve(e,n,t){ve(e,n,t),i(n.componentDidMount)&&t.push(function(e){return function(){e.componentDidMount()}}(n))}function Se(e,n){var t=e.ref;r(t)||(N(t.onComponentWillMount,e.props||f),i(t.onComponentDidMount)&&n.push(function(e,n){return function(){e.onComponentDidMount(m(n,!0),n.props||f)}}(t,e)))}function Ue(e,n,t,l,c,s,p){var h=n.flags|=16384;e.flags!==h||e.type!==n.type||e.key!==n.key||2048&h?16384&e.flags?function(e,n,t,r,o,i){ge(e),0!==(n.flags&e.flags&2033)?(Pe(n,null,r,o,null,i),function(e,n,t){e.replaceChild(n,t)}(t,n.dom,e.dom)):(Pe(n,t,r,o,m(e,!0),i),y(e,t))}(e,n,t,l,c,p):Pe(n,t,l,c,s,p):481&h?function(e,n,t,o,i,l){var a,u=n.dom=e.dom,c=e.props,s=n.props,d=!1,p=!1;if(o=o||(32&i)>0,c!==s){var v=c||f;if((a=s||f)!==f)for(var h in(d=(448&i)>0)&&(p=de(a)),a){var g=v[h],m=a[h];g!==m&&ke(h,g,m,u,o,p,e)}if(v!==f)for(var y in v)r(a[y])&&!r(v[y])&&ke(y,v[y],null,u,o,p,e)}var $=n.children,k=n.className;e.className!==k&&(r(k)?u.removeAttribute("class"):o?u.setAttribute("class",k):u.className=k),4096&i?function(e,n){e.textContent!==n&&(e.textContent=n)}(u,$):Ie(e.childFlags,n.childFlags,e.children,$,u,t,o&&"foreignObject"!==n.type,null,e,l),d&&se(i,n,u,a,!1,p);var b=n.ref,C=e.ref;C!==b&&(pe(C),ve(b,u,l))}(e,n,l,c,h,p):4&h?function(e,n,t,r,o,l,c){var s=n.children=e.children;if(a(s))return;s.$L=c;var d=n.props||f,p=n.ref,v=e.ref,h=s.state;if(!s.$N){if(i(s.componentWillReceiveProps)){if(s.$BR=!0,s.componentWillReceiveProps(d,r),s.$UN)return;s.$BR=!1}a(s.$PS)||(h=u(h,s.$PS),s.$PS=null)}Le(s,h,d,t,r,o,!1,l,c),v!==p&&(pe(v),ve(p,s,c))}(e,n,t,l,c,s,p):8&h?function(e,n,t,o,l,a,u){var c=!0,s=n.props||f,d=n.ref,p=e.props,v=!r(d),h=e.children;if(v&&i(d.onComponentShouldUpdate)&&(c=d.onComponentShouldUpdate(p,s)),!1!==c){v&&i(d.onComponentWillUpdate)&&d.onComponentWillUpdate(p,s);var g=n.type,m=D(32768&n.flags?g.render(s,d,o):g(s,o));Ue(h,m,t,o,l,a,u),n.children=m,v&&i(d.onComponentDidUpdate)&&d.onComponentDidUpdate(p,s)}else n.children=h}(e,n,t,l,c,s,p):16&h?function(e,n){var t=n.children,r=n.dom=e.dom;t!==e.children&&(r.nodeValue=t)}(e,n):512&h?n.dom=e.dom:8192&h?function(e,n,t,r,o,i){var l=e.children,a=n.children,u=e.childFlags,c=n.childFlags,f=null;12&c&&0===a.length&&(c=n.childFlags=2,a=n.children=L());var s=0!==(2&c);if(12&u){var d=l.length;(8&u&&8&c||s||!s&&a.length>d)&&(f=m(l[d-1],!1).nextSibling)}Ie(u,c,l,a,t,r,o,f,e,i)}(e,n,t,l,c,p):function(e,n,t,r){var i=e.ref,l=n.ref,a=n.children;if(Ie(e.childFlags,n.childFlags,e.children,a,i,t,!1,null,e,r),n.dom=e.dom,i!==l&&!o(a)){var u=a.dom;v(i,u),d(l,u)}}(e,n,l,p)}function Ie(e,n,t,r,o,i,l,a,u,c){switch(e){case 2:switch(n){case 2:Ue(t,r,o,i,l,a,c);break;case 1:he(t,o);break;case 16:ge(t),w(o,r);break;default:!function(e,n,t,r,o,i){ge(e),xe(n,t,r,o,m(e,!0),i),y(e,t)}(t,r,o,i,l,c)}break;case 1:switch(n){case 2:Pe(r,o,i,l,a,c);break;case 1:break;case 16:w(o,r);break;default:xe(r,o,i,l,a,c)}break;case 16:switch(n){case 16:!function(e,n,t){e!==n&&(""!==e?t.firstChild.nodeValue=n:w(t,n))}(t,r,o);break;case 2:ye(o),Pe(r,o,i,l,a,c);break;case 1:ye(o);break;default:ye(o),xe(r,o,i,l,a,c)}break;default:switch(n){case 16:me(t),w(o,r);break;case 2:$e(o,u,t),Pe(r,o,i,l,a,c);break;case 1:$e(o,u,t);break;default:var f=0|t.length,s=0|r.length;0===f?s>0&&xe(r,o,i,l,a,c):0===s?$e(o,u,t):8===n&&8===e?function(e,n,t,r,o,i,l,a,u,c){var f,s,d=i-1,p=l-1,v=0,h=e[v],g=n[v];e:{for(;h.key===g.key;){if(16384&g.flags&&(n[v]=g=I(g)),Ue(h,g,t,r,o,a,c),e[v]=g,++v>d||v>p)break e;h=e[v],g=n[v]}for(h=e[d],g=n[p];h.key===g.key;){if(16384&g.flags&&(n[p]=g=I(g)),Ue(h,g,t,r,o,a,c),e[d]=g,p--,v>--d||v>p)break e;h=e[d],g=n[p]}}if(v>d){if(v<=p)for(s=(f=p+1)<l?m(n[f],!0):a;v<=p;)16384&(g=n[v]).flags&&(n[v]=g=I(g)),++v,Pe(g,t,r,o,s,c)}else if(v>p)for(;v<=d;)he(e[v++],t);else!function(e,n,t,r,o,i,l,a,u,c,f,s,d){var p,v,h,g=0,y=a,k=a,b=i-a+1,C=l-a+1,w=new Int32Array(C+1),P=b===r,F=!1,N=0,x=0;if(o<4||(b|C)<32)for(g=y;g<=i;++g)if(p=e[g],x<C){for(a=k;a<=l;a++)if(v=n[a],p.key===v.key){if(w[a-k]=g+1,P)for(P=!1;y<g;)he(e[y++],u);N>a?F=!0:N=a,16384&v.flags&&(n[a]=v=I(v)),Ue(p,v,u,t,c,f,d),++x;break}!P&&a>l&&he(p,u)}else P||he(p,u);else{var V={};for(g=k;g<=l;++g)V[n[g].key]=g;for(g=y;g<=i;++g)if(p=e[g],x<C)if(void 0!==(a=V[p.key])){if(P)for(P=!1;g>y;)he(e[y++],u);w[a-k]=g+1,N>a?F=!0:N=a,16384&(v=n[a]).flags&&(n[a]=v=I(v)),Ue(p,v,u,t,c,f,d),++x}else P||he(p,u);else P||he(p,u)}if(P)$e(u,s,e),xe(n,u,t,c,f,d);else if(F){var S=function(e){var n=0,t=0,r=0,o=0,i=0,l=0,a=0,u=e.length;for(u>Me&&(Me=u,le=new Int32Array(u),ae=new Int32Array(u));t<u;++t)if(0!==(n=e[t])){if(e[r=le[o]]<n){ae[t]=r,le[++o]=t;continue}for(i=0,l=o;i<l;)e[le[a=i+l>>1]]<n?i=a+1:l=a;n<e[le[i]]&&(i>0&&(ae[t]=le[i-1]),le[i]=t)}i=o+1;var c=new Int32Array(i);for(l=le[i-1];i-- >0;)c[i]=l,l=ae[l],le[i]=0;return c}(w);for(a=S.length-1,g=C-1;g>=0;g--)0===w[g]?(16384&(v=n[N=g+k]).flags&&(n[N]=v=I(v)),Pe(v,u,t,c,(h=N+1)<o?m(n[h],!0):f,d)):a<0||g!==S[a]?$(v=n[N=g+k],u,(h=N+1)<o?m(n[h],!0):f):a--}else if(x!==C)for(g=C-1;g>=0;g--)0===w[g]&&(16384&(v=n[N=g+k]).flags&&(n[N]=v=I(v)),Pe(v,u,t,c,(h=N+1)<o?m(n[h],!0):f,d))}(e,n,r,i,l,d,p,v,t,o,a,u,c)}(t,r,o,i,l,f,s,a,u,c):function(e,n,t,r,o,i,l,a,u){for(var c,f,s=i>l?l:i,d=0;d<s;++d)c=n[d],f=e[d],16384&c.flags&&(c=n[d]=I(c)),Ue(f,c,t,r,o,a,u),e[d]=c;if(i<l)for(d=s;d<l;++d)16384&(c=n[d]).flags&&(c=n[d]=I(c)),Pe(c,t,r,o,a,u);else if(i>l)for(d=s;d<i;++d)he(e[d],t)}(t,r,o,i,l,f,s,a,c)}}}function Le(e,n,t,r,o,l,a,c,f){var s=e.state,d=e.props,p=Boolean(e.$N),v=i(e.shouldComponentUpdate);if(p&&(n=k(e,t,n!==s?u(s,n):n)),a||!v||v&&e.shouldComponentUpdate(t,n,o)){!p&&i(e.componentWillUpdate)&&e.componentWillUpdate(t,n,o),e.props=t,e.state=n,e.context=o;var h=null,g=Ce(e,t,o);p&&i(e.getSnapshotBeforeUpdate)&&(h=e.getSnapshotBeforeUpdate(d,s)),Ue(e.$LI,g,r,e.$CX,l,c,f),e.$LI=g,i(e.componentDidUpdate)&&function(e,n,t,r,o){o.push((function(){e.componentDidUpdate(n,t,r)}))}(e,d,s,h,f)}else e.props=t,e.state=n,e.context=o}var Me=0;function Be(e,n,t,o){var l=[],a=n.$V;b.v=!0,r(a)?r(e)||(16384&e.flags&&(e=I(e)),Pe(e,n,o,!1,null,l),n.$V=e,a=e):r(e)?(he(a,n),n.$V=null):(16384&e.flags&&(e=I(e)),Ue(a,e,n,o,!1,null,l),a=n.$V=e),h(l),b.v=!1,i(t)&&t(),i(C.renderComplete)&&C.renderComplete(a,n)}function De(e,n,t,r){void 0===t&&(t=null),void 0===r&&(r=f),Be(e,n,t,r)}"undefined"!==typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);var Ee=[],_e="undefined"!==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):function(e){window.setTimeout(e,0)},Ae=!1;function Te(e,n,t,o){var l=e.$PS;if(i(n)&&(n=n(l?u(e.state,l):e.state,e.props,e.context)),r(l))e.$PS=n;else for(var a in n)l[a]=n[a];if(e.$BR)i(t)&&e.$L.push(t.bind(e));else{if(!b.v&&0===Ee.length)return Oe(e,o),void(i(t)&&t.call(e));if(-1===Ee.indexOf(e)&&Ee.push(e),Ae||(Ae=!0,_e(We)),i(t)){var c=e.$QU;c||(c=e.$QU=[]),c.push(t)}}}function Re(e){for(var n=e.$QU,t=0;t<n.length;++t)n[t].call(e);e.$QU=null}function We(){var e;for(Ae=!1;e=Ee.shift();)e.$UN||(Oe(e,!1),e.$QU&&Re(e))}function Oe(e,n){if(n||!e.$BR){var t=e.$PS;e.$PS=null;var r=[];b.v=!0,Le(e,u(e.state,t),e.props,m(e.$LI,!0).parentNode,e.context,e.$SVG,n,null,r),h(r),b.v=!1}else e.state=e.$PS,e.$PS=null}var je=function(e,n){this.state=null,this.$BR=!1,this.$BS=!0,this.$PS=null,this.$LI=null,this.$UN=!1,this.$CX=null,this.$QU=null,this.$N=!1,this.$L=null,this.$SVG=!1,this.props=e||f,this.context=n||f};je.prototype.forceUpdate=function(e){if(this.$UN)return;Te(this,{},e,!0)},je.prototype.setState=function(e,n){if(this.$UN)return;this.$BS||Te(this,e,n,!1)},je.prototype.render=function(e,n,t){return null},e.Component=je,e.EMPTY_OBJ=f,e.Fragment="$F",e._CI=we,e._HI=D,e._M=Pe,e._MCCC=Ve,e._ME=Ne,e._MFCC=Se,e._MP=be,e._MR=ve,e.__render=Be,e.createComponentVNode=function(e,n,t,o,i){var l=new x(1,null,null,e=function(e,n){if(12&e)return e;if(n.prototype&&n.prototype.render)return 4;if(n.render)return 32776;return 8}(e,n),o,function(e,n,t){var o=(32768&e?n.render:n).defaultProps;if(r(o))return t;if(r(t))return u(o,null);return F(t,o)}(e,n,t),function(e,n,t){if(4&e)return t;var o=(32768&e?n.render:n).defaultHooks;if(r(o))return t;if(r(t))return o;return F(t,o)}(e,n,i),n);return C.createVNode&&C.createVNode(l),l},e.createFragment=U,e.createPortal=function(e,n){var t=D(e);return V(1024,1024,null,t,0,null,t.key,n)},e.createRef=function(){return{current:null}},e.createRenderer=function(e){return function(n,t,r,o){e||(e=n),De(t,e,r,o)}},e.createTextVNode=S,e.createVNode=V,e.directClone=I,e.findDOMfromVNode=m,e.forwardRef=function(e){return{render:e}},e.getFlagsForElementVnode=function(e){switch(e){case"svg":return 32;case"input":return 64;case"select":return 256;case"textarea":return 128;case"$F":return 8192;default:return 1}},e.linkEvent=function(e,n){if(i(n))return{data:e,event:n};return null},e.normalizeProps=function(e){var n=e.props;if(n){var t=e.flags;481&t&&(void 0!==n.children&&r(e.children)&&B(e,n.children),void 0!==n.className&&(e.className=n.className||null,n.className=void 0)),void 0!==n.key&&(e.key=n.key,n.key=void 0),void 0!==n.ref&&(e.ref=8&t?u(e.ref,n.ref):n.ref,n.ref=void 0)}return e},e.options=C,e.render=De,e.rerender=We,e.version="7.4.2",Object.defineProperty(e,"__esModule",{value:!0})}));