diff --git a/docs/1kcomponents/dist/bundle.js b/docs/1kcomponents/dist/bundle.js index d4dfd98a9..9d4524a32 100644 --- a/docs/1kcomponents/dist/bundle.js +++ b/docs/1kcomponents/dist/bundle.js @@ -1 +1 @@ -!function(){"use strict";function e(){return(e=Object.assign||function(e){for(var n=1;n0,p=o(s),b=i(s)&&"$"===s[0];h||p||b?(f=f||n.slice(0,d),(h||b)&&(u=L(u)),(p||b)&&(u.key="$"+d),f.push(u)):f&&f.push(u),u.flags|=65536}}c=0===(f=f||n).length?1:8}else(f=n).flags|=65536,81920&n.flags&&(f=L(n)),c=2;e.children=f,e.childFlags=c}(p,p.children),p}function N(e,n,t,a,r){var c=new F(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),a,function(e,n,t){var a=(32768&e?n.render:n).defaultProps;if(f(a))return t;if(f(t))return l(a,null);return P(t,a)}(e,n,t),function(e,n,t){if(4&e)return t;var a=(32768&e?n.render:n).defaultHooks;if(f(a))return t;if(f(t))return a;return P(t,a)}(e,n,r),n);return w.createVNode&&w.createVNode(c),c}function V(e,n){return new F(1,f(e)||!0===e||!1===e?"":e,null,16,n,null,null,null)}function U(e,n,t){var a=T(8192,8192,null,e,n,null,t,null);switch(a.childFlags){case 1:a.children=_(),a.childFlags=2;break;case 16:a.children=[V(e)],a.childFlags=4}return a}function L(e){var n=-16385&e.flags,t=e.props;if(14&n&&!o(t)){var a=t;for(var f in t={},a)t[f]=a[f]}if(0===(8192&n))return new F(e.childFlags,e.children,e.className,n,e.key,t,e.ref,e.type);return function(e){var n,t=e.children,a=e.childFlags;if(2===a)n=L(t);else if(12&a){n=[];for(var f=0,r=t.length;f-1&&n.options[i]&&(o=n.options[i].value),a&&f(o)&&(o=e.defaultValue),function e(n,a){if("option"===n.type)!function(e,n){var a=e.props||u,r=e.dom;r.value=a.value,a.value===n||t(n)&&-1!==n.indexOf(a.value)?r.selected=!0:f(n)&&f(a.selected)||(r.selected=a.selected||!1)}(n,a);else{var r=n.children,c=n.flags;if(4&c)e(r.$LI,a);else if(8&c)e(r,a);else if(2===n.childFlags)e(r,a);else if(12&n.childFlags)for(var i=0,o=r.length;i0);if(f(d)||""===d||(a?h.setAttribute("class",d):h.className=d),16===s)C(h,u);else if(1!==s){var b=a&&"foreignObject"!==e.type;2===s?(16384&u.flags&&(e.children=u=L(u)),we(u,h,t,b,null,c)):8!==s&&4!==s||Me(u,h,t,b,null,c)}o(n)||p(n,h,r),o(l)||function(e,n,t,a,f){var r=!1,c=(448&n)>0;for(var i in c&&(r=he(t))&&function(e,n,t){64&e?function(e,n){ee(n.type)?(Z(e,"change",te),Z(e,"click",ae)):Z(e,"input",ne)}(n,t):256&e?function(e){Z(e,"change",re)}(n):128&e&&function(e,n){Z(e,"input",le),n.onChange&&Z(e,"change",de)}(n,t)}(n,a,t),t)$e(i,null,t[i],a,f,r,null);c&&se(n,e,a,t,!0,r)}(e,i,l,h,a),be(e.ref,h,c)}(e,n,t,a,r,i):4&l?function(e,n,t,a,f,r){var i=function(e,n,t,a,f,r){var i=new n(t,a),l=i.$N=Boolean(n.getDerivedStateFromProps||i.getSnapshotBeforeUpdate);if(i.$SVG=f,i.$L=r,e.children=i,i.$BS=!1,i.context=a,i.props===u&&(i.props=t),l)i.state=$(i,t,i.state);else if(c(i.componentWillMount)){i.$BR=!0,i.componentWillMount();var d=i.$PS;if(!o(d)){var s=i.state;if(o(s))i.state=d;else for(var h in d)s[h]=d[h];i.$PS=null}i.$BR=!1}return i.$LI=ke(i,t,a),i}(e,e.type,e.props||u,t,a,r);we(i.$LI,n,i.$CX,a,f,r),function(e,n,t){be(e,n,t),c(n.componentDidMount)&&t.push(function(e){return function(){e.componentDidMount()}}(n))}(e.ref,i,r)}(e,n,t,a,r,i):8&l?(function(e,n,t,a,f,r){we(e.children=H(function(e,n){return 32768&e.flags?e.type.render(e.props||u,e.ref,n):e.type(e.props||u,n)}(e,t)),n,t,a,f,r)}(e,n,t,a,r,i),function(e,n){var t=e.ref;f(t)||(S(t.onComponentWillMount,e.props||u),c(t.onComponentDidMount)&&n.push(function(e,n){return function(){e.onComponentDidMount(g(n,!0),n.props||u)}}(t,e)))}(e,i)):512&l||16&l?Ce(e,n,r):8192&l?function(e,n,t,a,f,r){var c=e.children,i=e.childFlags;12&i&&0===c.length&&(i=e.childFlags=2,c=e.children=_()),2===i?we(c,t,f,a,f,r):Me(c,t,n,a,f,r)}(e,t,n,a,r,i):1024&l&&function(e,n,t,a,f){we(e.children,e.ref,n,!1,null,f);var r=_();Ce(r,t,a),e.dom=r.dom}(e,t,n,r,i)}function Ce(e,n,t){var a=e.dom=document.createTextNode(e.children);o(n)||p(n,a,t)}function Me(e,n,t,a,f,r){for(var c=0;c0,l!==d){var p=l||u;if((i=d||u)!==u)for(var b in(s=(448&r)>0)&&(h=he(i)),i){var v=p[b],m=i[b];v!==m&&$e(b,v,m,o,a,h,e)}if(p!==u)for(var g in p)f(i[g])&&!f(p[g])&&$e(g,p[g],null,o,a,h,e)}var y=n.children,x=n.className;e.className!==x&&(f(x)?o.removeAttribute("class"):a?o.setAttribute("class",x):o.className=x),4096&r?function(e,n){e.textContent!==n&&(e.textContent=n)}(o,y):Se(e.childFlags,n.childFlags,e.children,y,o,t,a&&"foreignObject"!==n.type,null,e,c),s&&se(r,n,o,i,!1,h);var $=n.ref,k=e.ref;k!==$&&(pe(k),be($,o,c))}(e,n,a,i,p,s):4&p?function(e,n,t,a,f,r,i){var d=n.children=e.children;if(o(d))return;d.$L=i;var s=n.props||u,h=n.ref,p=e.ref,b=d.state;if(!d.$N){if(c(d.componentWillReceiveProps)){if(d.$BR=!0,d.componentWillReceiveProps(s,a),d.$UN)return;d.$BR=!1}o(d.$PS)||(b=l(b,d.$PS),d.$PS=null)}Fe(d,b,s,t,a,f,!1,r,i),p!==h&&(pe(p),be(h,d,i))}(e,n,t,a,i,d,s):8&p?function(e,n,t,a,r,i,o){var l=!0,d=n.props||u,s=n.ref,h=e.props,p=!f(s),b=e.children;if(p&&c(s.onComponentShouldUpdate)&&(l=s.onComponentShouldUpdate(h,d)),!1!==l){p&&c(s.onComponentWillUpdate)&&s.onComponentWillUpdate(h,d);var v=n.type,m=H(32768&n.flags?v.render(d,s,a):v(d,a));Pe(b,m,t,a,r,i,o),n.children=m,p&&c(s.onComponentDidUpdate)&&s.onComponentDidUpdate(h,d)}else n.children=b}(e,n,t,a,i,d,s):16&p?function(e,n){var t=n.children,a=n.dom=e.dom;t!==e.children&&(a.nodeValue=t)}(e,n):512&p?n.dom=e.dom:8192&p?function(e,n,t,a,f,r){var c=e.children,i=n.children,o=e.childFlags,l=n.childFlags,d=null;12&l&&0===i.length&&(l=n.childFlags=2,i=n.children=_());var u=0!==(2&l);if(12&o){var s=c.length;(8&o&&8&l||u||!u&&i.length>s)&&(d=g(c[s-1],!1).nextSibling)}Se(o,l,c,i,t,a,f,d,e,r)}(e,n,t,a,i,s):function(e,n,t,a){var f=e.ref,c=n.ref,i=n.children;if(Se(e.childFlags,n.childFlags,e.children,i,f,t,!1,null,e,a),n.dom=e.dom,f!==c&&!r(i)){var o=i.dom;b(f,o),h(c,o)}}(e,n,a,s)}function Se(e,n,t,a,f,r,c,i,o,l){switch(e){case 2:switch(n){case 2:Pe(t,a,f,r,c,i,l);break;case 1:ve(t,f);break;case 16:me(t),C(f,a);break;default:!function(e,n,t,a,f,r){me(e),Me(n,t,a,f,g(e,!0),r),y(e,t)}(t,a,f,r,c,l)}break;case 1:switch(n){case 2:we(a,f,r,c,i,l);break;case 1:break;case 16:C(f,a);break;default:Me(a,f,r,c,i,l)}break;case 16:switch(n){case 16:!function(e,n,t){e!==n&&(""!==e?t.firstChild.nodeValue=n:C(t,n))}(t,a,f);break;case 2:ye(f),we(a,f,r,c,i,l);break;case 1:ye(f);break;default:ye(f),Me(a,f,r,c,i,l)}break;default:switch(n){case 16:ge(t),C(f,a);break;case 2:xe(f,o,t),we(a,f,r,c,i,l);break;case 1:xe(f,o,t);break;default:var d=0|t.length,u=0|a.length;0===d?u>0&&Me(a,f,r,c,i,l):0===u?xe(f,o,t):8===n&&8===e?function(e,n,t,a,f,r,c,i,o,l){var d,u,s=r-1,h=c-1,p=0,b=e[p],v=n[p];e:{for(;b.key===v.key;){if(16384&v.flags&&(n[p]=v=L(v)),Pe(b,v,t,a,f,i,l),e[p]=v,++p>s||p>h)break e;b=e[p],v=n[p]}for(b=e[s],v=n[h];b.key===v.key;){if(16384&v.flags&&(n[h]=v=L(v)),Pe(b,v,t,a,f,i,l),e[s]=v,h--,p>--s||p>h)break e;b=e[s],v=n[h]}}if(p>s){if(p<=h)for(u=(d=h+1)h)for(;p<=s;)ve(e[p++],t);else!function(e,n,t,a,f,r,c,i,o,l,d,u,s){var h,p,b,v=0,m=i,y=i,$=r-i+1,k=c-i+1,w=new Int32Array(k+1),C=$===a,M=!1,P=0,S=0;if(f<4||($|k)<32)for(v=m;v<=r;++v)if(h=e[v],Si?M=!0:P=i,16384&p.flags&&(n[i]=p=L(p)),Pe(h,p,o,t,l,d,s),++S;break}!C&&i>c&&ve(h,o)}else C||ve(h,o);else{var F={};for(v=y;v<=c;++v)F[n[v].key]=v;for(v=m;v<=r;++v)if(h=e[v],Sm;)ve(e[m++],o);w[i-y]=v+1,P>i?M=!0:P=i,16384&(p=n[i]).flags&&(n[i]=p=L(p)),Pe(h,p,o,t,l,d,s),++S}else C||ve(h,o);else C||ve(h,o)}if(C)xe(o,u,e),Me(n,o,t,l,d,s);else if(M){var T=function(e){var n=0,t=0,a=0,f=0,r=0,c=0,i=0,o=e.length;for(o>Te&&(Te=o,ie=new Int32Array(o),oe=new Int32Array(o));t>1]]0&&(oe[t]=ie[r-1]),ie[r]=t)}r=f+1;var l=new Int32Array(r);for(c=ie[r-1];r-- >0;)l[r]=c,c=oe[c],ie[r]=0;return l}(w);for(i=T.length-1,v=k-1;v>=0;v--)0===w[v]?(16384&(p=n[P=v+y]).flags&&(n[P]=p=L(p)),we(p,o,t,l,(b=P+1)=0;v--)0===w[v]&&(16384&(p=n[P=v+y]).flags&&(n[P]=p=L(p)),we(p,o,t,l,(b=P+1)c?c:r,s=0;sc)for(s=u;s0&&v(f),k.v=!1}else e.state=e.$PS,e.$PS=null;c(t)&&t.call(e)}var Ee=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||u,this.context=n||u};Ee.prototype.forceUpdate=function(e){if(this.$UN)return;Le(this,{},e,!0)},Ee.prototype.setState=function(e,n){if(this.$UN)return;this.$BS||Le(this,e,n,!1)},Ee.prototype.render=function(e,n,t){return null};var Ae,Be,De=function(e,n,t,a){this.min=e,this.max=n,this.mean=t,this.last=a},Oe=function(){function e(e){this.samples=[],this.maxSamples=e,this._i=-1}return e.prototype.addSample=function(e){this._i=(this._i+1)%this.maxSamples,this.samples[this._i]=e},e.prototype.each=function(e){for(var n=this.samples,t=0;tt&&(t=r),a+=r}var c=e[this._i],i=a/e.length;return new De(n,t,i,c)},e}(),Re=[],We=-1,je=(Ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])},function(e,n){function t(){this.constructor=e}Ae(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}),qe=function(){function e(e){var n=this;this._sync=function(){n.sync(),n._dirty=!1},this.name=e,this.element=document.createElement("div"),this.element.style.cssText="padding: 2px;background-color: #020;font-family: monospace;font-size: 12px;color: #0f0",this._dirty=!1,this.invalidate()}return e.prototype.invalidate=function(){var e;this._dirty||(this._dirty=!0,e=this._sync,Re.push(e),-1===We&&requestAnimationFrame((function(e){We=-1;var n=Re;Re=[];for(var t=0;t0&&(f+=2/121*(1e3/(r-a)-f)),a=r,n.addSample(f),t.invalidate(),requestAnimationFrame(e)}))}(),function(e){if(void 0===e&&(e=Be.HideMin|Be.HideMean),Xe(),void 0===performance.memory)return;var n=new Oe(100),t=new Ge("Memory",e,"MB",n);Qe.appendChild(t.element),function e(){n.addSample(Math.round(performance.memory.usedJSHeapSize/1048576)),t.invalidate(),setTimeout(e,30)}()}();var Ye=function(e){function t(n,t){var a;return(a=e.call(this,n,t)||this).state={numPoints:0},a.updateCount=a.updateCount.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(a)),a}n(t,e);var a=t.prototype;return a.updateCount=function(e){this.setState({numPoints:e.target.value})},a.componentDidMount=function(){this.setState({numPoints:1e3})},a.render=function(e,n){return T(1,"div","app-wrapper",[N(2,en,{count:n.numPoints},null,null),T(1,"div","controls",[V("# Points"),T(64,"input",null,null,1,{type:"range",min:10,max:1e4,value:n.numPoints,onInput:this.updateCount},null,null),n.numPoints],0,null,null,null),T(1,"div","about",[V("InfernoJS 1k Components Demo based on the Glimmer demo by "),T(1,"a",null,"Michael Lange",16,{href:"http://mlange.io",target:"_blank"},null,null),V(".")],4,null,null,null)],4,null,null,null)},t}(Ee),Ze=[0,3,0,1,2],en=function(t){function a(e,n){var a;return(a=t.call(this,e,n)||this).layout=0,a.phyllotaxis=un(100),a.grid=sn(100),a.wave=hn(100),a.spiral=pn(100),a.points=[],a.step=0,a.numSteps=120,a}n(a,t);var f=a.prototype;return f.next=function(){var n=this;this.step=(this.step+1)%this.numSteps,0===this.step&&(this.layout=(this.layout+1)%Ze.length);var t=Math.min(1,this.step/(.8*this.numSteps)),a=Ze[this.layout],f=Ze[(this.layout+1)%Ze.length],r=on(a),c=on(f),i=ln(a),o=ln(f);this.points=this.points.map((function(n){var a=e({},n);return a.x=dn(a,t,r,c),a.y=dn(a,t,i,o),a})),this.setState(),requestAnimationFrame((function(){n.next()}))},f.setAnchors=function(e){var n=this;e.map((function(e,t){var a=bn(n.grid(t)),f=a[0],r=a[1],c=bn(n.wave(t)),i=c[0],o=c[1],l=bn(n.spiral(t)),d=l[0],u=l[1],s=bn(n.phyllotaxis(t)),h=s[0],p=s[1];Object.assign(e,{gx:f,gy:r,wx:i,wy:o,sx:d,sy:u,px:h,py:p})})),this.points=e},f.makePoints=function(e){for(var n=[],t=0;t0&&v(r),k.v=!1,c(t)&&t(),c(w.renderComplete)&&w.renderComplete(i,n)}(tn,an,fn,rn)}(); +!function(){"use strict";function e(){return(e=Object.assign||function(e){for(var n=1;n0,p=o(s),b=i(s)&&"$"===s[0];h||p||b?(f=f||n.slice(0,d),(h||b)&&(u=L(u)),(p||b)&&(u.key="$"+d),f.push(u)):f&&f.push(u),u.flags|=65536}}c=0===(f=f||n).length?1:8}else(f=n).flags|=65536,81920&n.flags&&(f=L(n)),c=2;e.children=f,e.childFlags=c}(p,p.children),p}function N(e,n,t,a,r){var c=new F(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),a,function(e,n,t){var a=(32768&e?n.render:n).defaultProps;if(f(a))return t;if(f(t))return l(a,null);return P(t,a)}(e,n,t),function(e,n,t){if(4&e)return t;var a=(32768&e?n.render:n).defaultHooks;if(f(a))return t;if(f(t))return a;return P(t,a)}(e,n,r),n);return w.createVNode&&w.createVNode(c),c}function V(e,n){return new F(1,f(e)||!0===e||!1===e?"":e,null,16,n,null,null,null)}function U(e,n,t){var a=T(8192,8192,null,e,n,null,t,null);switch(a.childFlags){case 1:a.children=_(),a.childFlags=2;break;case 16:a.children=[V(e)],a.childFlags=4}return a}function L(e){var n=-16385&e.flags,t=e.props;if(14&n&&!o(t)){var a=t;for(var f in t={},a)t[f]=a[f]}if(0===(8192&n))return new F(e.childFlags,e.children,e.className,n,e.key,t,e.ref,e.type);return function(e){var n,t=e.children,a=e.childFlags;if(2===a)n=L(t);else if(12&a){n=[];for(var f=0,r=t.length;f-1&&n.options[i]&&(o=n.options[i].value),a&&f(o)&&(o=e.defaultValue),function e(n,a){if("option"===n.type)!function(e,n){var a=e.props||u,r=e.dom;r.value=a.value,a.value===n||t(n)&&-1!==n.indexOf(a.value)?r.selected=!0:f(n)&&f(a.selected)||(r.selected=a.selected||!1)}(n,a);else{var r=n.children,c=n.flags;if(4&c)e(r.$LI,a);else if(8&c)e(r,a);else if(2===n.childFlags)e(r,a);else if(12&n.childFlags)for(var i=0,o=r.length;i0);if(f(d)||""===d||(a?h.setAttribute("class",d):h.className=d),16===s)C(h,u);else if(1!==s){var b=a&&"foreignObject"!==e.type;2===s?(16384&u.flags&&(e.children=u=L(u)),we(u,h,t,b,null,c)):8!==s&&4!==s||Me(u,h,t,b,null,c)}o(n)||p(n,h,r),o(l)||function(e,n,t,a,f){var r=!1,c=(448&n)>0;for(var i in c&&(r=he(t))&&function(e,n,t){64&e?function(e,n){ee(n.type)?(Z(e,"change",te),Z(e,"click",ae)):Z(e,"input",ne)}(n,t):256&e?function(e){Z(e,"change",re)}(n):128&e&&function(e,n){Z(e,"input",le),n.onChange&&Z(e,"change",de)}(n,t)}(n,a,t),t)$e(i,null,t[i],a,f,r,null);c&&se(n,e,a,t,!0,r)}(e,i,l,h,a),be(e.ref,h,c)}(e,n,t,a,r,i):4&l?function(e,n,t,a,f,r){var i=function(e,n,t,a,f,r){var i=new n(t,a),l=i.$N=Boolean(n.getDerivedStateFromProps||i.getSnapshotBeforeUpdate);if(i.$SVG=f,i.$L=r,e.children=i,i.$BS=!1,i.context=a,i.props===u&&(i.props=t),l)i.state=$(i,t,i.state);else if(c(i.componentWillMount)){i.$BR=!0,i.componentWillMount();var d=i.$PS;if(!o(d)){var s=i.state;if(o(s))i.state=d;else for(var h in d)s[h]=d[h];i.$PS=null}i.$BR=!1}return i.$LI=ke(i,t,a),i}(e,e.type,e.props||u,t,a,r);we(i.$LI,n,i.$CX,a,f,r),function(e,n,t){be(e,n,t),c(n.componentDidMount)&&t.push(function(e){return function(){e.componentDidMount()}}(n))}(e.ref,i,r)}(e,n,t,a,r,i):8&l?(function(e,n,t,a,f,r){we(e.children=H(function(e,n){return 32768&e.flags?e.type.render(e.props||u,e.ref,n):e.type(e.props||u,n)}(e,t)),n,t,a,f,r)}(e,n,t,a,r,i),function(e,n){var t=e.ref;f(t)||(S(t.onComponentWillMount,e.props||u),c(t.onComponentDidMount)&&n.push(function(e,n){return function(){e.onComponentDidMount(g(n,!0),n.props||u)}}(t,e)))}(e,i)):512&l||16&l?Ce(e,n,r):8192&l?function(e,n,t,a,f,r){var c=e.children,i=e.childFlags;12&i&&0===c.length&&(i=e.childFlags=2,c=e.children=_()),2===i?we(c,t,f,a,f,r):Me(c,t,n,a,f,r)}(e,t,n,a,r,i):1024&l&&function(e,n,t,a,f){we(e.children,e.ref,n,!1,null,f);var r=_();Ce(r,t,a),e.dom=r.dom}(e,t,n,r,i)}function Ce(e,n,t){var a=e.dom=document.createTextNode(e.children);o(n)||p(n,a,t)}function Me(e,n,t,a,f,r){for(var c=0;c0,l!==d){var p=l||u;if((i=d||u)!==u)for(var b in(s=(448&r)>0)&&(h=he(i)),i){var v=p[b],m=i[b];v!==m&&$e(b,v,m,o,a,h,e)}if(p!==u)for(var g in p)f(i[g])&&!f(p[g])&&$e(g,p[g],null,o,a,h,e)}var y=n.children,x=n.className;e.className!==x&&(f(x)?o.removeAttribute("class"):a?o.setAttribute("class",x):o.className=x),4096&r?function(e,n){e.textContent!==n&&(e.textContent=n)}(o,y):Se(e.childFlags,n.childFlags,e.children,y,o,t,a&&"foreignObject"!==n.type,null,e,c),s&&se(r,n,o,i,!1,h);var $=n.ref,k=e.ref;k!==$&&(pe(k),be($,o,c))}(e,n,a,i,p,s):4&p?function(e,n,t,a,f,r,i){var d=n.children=e.children;if(o(d))return;d.$L=i;var s=n.props||u,h=n.ref,p=e.ref,b=d.state;if(!d.$N){if(c(d.componentWillReceiveProps)){if(d.$BR=!0,d.componentWillReceiveProps(s,a),d.$UN)return;d.$BR=!1}o(d.$PS)||(b=l(b,d.$PS),d.$PS=null)}Fe(d,b,s,t,a,f,!1,r,i),p!==h&&(pe(p),be(h,d,i))}(e,n,t,a,i,d,s):8&p?function(e,n,t,a,r,i,o){var l=!0,d=n.props||u,s=n.ref,h=e.props,p=!f(s),b=e.children;if(p&&c(s.onComponentShouldUpdate)&&(l=s.onComponentShouldUpdate(h,d)),!1!==l){p&&c(s.onComponentWillUpdate)&&s.onComponentWillUpdate(h,d);var v=n.type,m=H(32768&n.flags?v.render(d,s,a):v(d,a));Pe(b,m,t,a,r,i,o),n.children=m,p&&c(s.onComponentDidUpdate)&&s.onComponentDidUpdate(h,d)}else n.children=b}(e,n,t,a,i,d,s):16&p?function(e,n){var t=n.children,a=n.dom=e.dom;t!==e.children&&(a.nodeValue=t)}(e,n):512&p?n.dom=e.dom:8192&p?function(e,n,t,a,f,r){var c=e.children,i=n.children,o=e.childFlags,l=n.childFlags,d=null;12&l&&0===i.length&&(l=n.childFlags=2,i=n.children=_());var u=0!==(2&l);if(12&o){var s=c.length;(8&o&&8&l||u||!u&&i.length>s)&&(d=g(c[s-1],!1).nextSibling)}Se(o,l,c,i,t,a,f,d,e,r)}(e,n,t,a,i,s):function(e,n,t,a){var f=e.ref,c=n.ref,i=n.children;if(Se(e.childFlags,n.childFlags,e.children,i,f,t,!1,null,e,a),n.dom=e.dom,f!==c&&!r(i)){var o=i.dom;b(f,o),h(c,o)}}(e,n,a,s)}function Se(e,n,t,a,f,r,c,i,o,l){switch(e){case 2:switch(n){case 2:Pe(t,a,f,r,c,i,l);break;case 1:ve(t,f);break;case 16:me(t),C(f,a);break;default:!function(e,n,t,a,f,r){me(e),Me(n,t,a,f,g(e,!0),r),y(e,t)}(t,a,f,r,c,l)}break;case 1:switch(n){case 2:we(a,f,r,c,i,l);break;case 1:break;case 16:C(f,a);break;default:Me(a,f,r,c,i,l)}break;case 16:switch(n){case 16:!function(e,n,t){e!==n&&(""!==e?t.firstChild.nodeValue=n:C(t,n))}(t,a,f);break;case 2:ye(f),we(a,f,r,c,i,l);break;case 1:ye(f);break;default:ye(f),Me(a,f,r,c,i,l)}break;default:switch(n){case 16:ge(t),C(f,a);break;case 2:xe(f,o,t),we(a,f,r,c,i,l);break;case 1:xe(f,o,t);break;default:var d=0|t.length,u=0|a.length;0===d?u>0&&Me(a,f,r,c,i,l):0===u?xe(f,o,t):8===n&&8===e?function(e,n,t,a,f,r,c,i,o,l){var d,u,s=r-1,h=c-1,p=0,b=e[p],v=n[p];e:{for(;b.key===v.key;){if(16384&v.flags&&(n[p]=v=L(v)),Pe(b,v,t,a,f,i,l),e[p]=v,++p>s||p>h)break e;b=e[p],v=n[p]}for(b=e[s],v=n[h];b.key===v.key;){if(16384&v.flags&&(n[h]=v=L(v)),Pe(b,v,t,a,f,i,l),e[s]=v,h--,p>--s||p>h)break e;b=e[s],v=n[h]}}if(p>s){if(p<=h)for(u=(d=h+1)h)for(;p<=s;)ve(e[p++],t);else!function(e,n,t,a,f,r,c,i,o,l,d,u,s){var h,p,b,v=0,m=i,y=i,$=r-i+1,k=c-i+1,w=new Int32Array(k+1),C=$===a,M=!1,P=0,S=0;if(f<4||($|k)<32)for(v=m;v<=r;++v)if(h=e[v],Si?M=!0:P=i,16384&p.flags&&(n[i]=p=L(p)),Pe(h,p,o,t,l,d,s),++S;break}!C&&i>c&&ve(h,o)}else C||ve(h,o);else{var F={};for(v=y;v<=c;++v)F[n[v].key]=v;for(v=m;v<=r;++v)if(h=e[v],Sm;)ve(e[m++],o);w[i-y]=v+1,P>i?M=!0:P=i,16384&(p=n[i]).flags&&(n[i]=p=L(p)),Pe(h,p,o,t,l,d,s),++S}else C||ve(h,o);else C||ve(h,o)}if(C)xe(o,u,e),Me(n,o,t,l,d,s);else if(M){var T=function(e){var n=0,t=0,a=0,f=0,r=0,c=0,i=0,o=e.length;for(o>Te&&(Te=o,ie=new Int32Array(o),oe=new Int32Array(o));t>1]]0&&(oe[t]=ie[r-1]),ie[r]=t)}r=f+1;var l=new Int32Array(r);for(c=ie[r-1];r-- >0;)l[r]=c,c=oe[c],ie[r]=0;return l}(w);for(i=T.length-1,v=k-1;v>=0;v--)0===w[v]?(16384&(p=n[P=v+y]).flags&&(n[P]=p=L(p)),we(p,o,t,l,(b=P+1)=0;v--)0===w[v]&&(16384&(p=n[P=v+y]).flags&&(n[P]=p=L(p)),we(p,o,t,l,(b=P+1)c?c:r,s=0;sc)for(s=u;st&&(t=r),a+=r}var c=e[this._i],i=a/e.length;return new De(n,t,i,c)},e}(),Re=[],We=-1,je=(Ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])},function(e,n){function t(){this.constructor=e}Ae(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}),qe=function(){function e(e){var n=this;this._sync=function(){n.sync(),n._dirty=!1},this.name=e,this.element=document.createElement("div"),this.element.style.cssText="padding: 2px;background-color: #020;font-family: monospace;font-size: 12px;color: #0f0",this._dirty=!1,this.invalidate()}return e.prototype.invalidate=function(){var e;this._dirty||(this._dirty=!0,e=this._sync,Re.push(e),-1===We&&requestAnimationFrame((function(e){We=-1;var n=Re;Re=[];for(var t=0;t0&&(f+=2/121*(1e3/(r-a)-f)),a=r,n.addSample(f),t.invalidate(),requestAnimationFrame(e)}))}(),function(e){if(void 0===e&&(e=Be.HideMin|Be.HideMean),Xe(),void 0===performance.memory)return;var n=new Oe(100),t=new Ge("Memory",e,"MB",n);Qe.appendChild(t.element),function e(){n.addSample(Math.round(performance.memory.usedJSHeapSize/1048576)),t.invalidate(),setTimeout(e,30)}()}();var Ye=function(e){function t(n,t){var a;return(a=e.call(this,n,t)||this).state={numPoints:0},a.updateCount=a.updateCount.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(a)),a}n(t,e);var a=t.prototype;return a.updateCount=function(e){this.setState({numPoints:e.target.value})},a.componentDidMount=function(){this.setState({numPoints:1e3})},a.render=function(e,n){return T(1,"div","app-wrapper",[N(2,en,{count:n.numPoints},null,null),T(1,"div","controls",[V("# Points"),T(64,"input",null,null,1,{type:"range",min:10,max:1e4,value:n.numPoints,onInput:this.updateCount},null,null),n.numPoints],0,null,null,null),T(1,"div","about",[V("InfernoJS 1k Components Demo based on the Glimmer demo by "),T(1,"a",null,"Michael Lange",16,{href:"http://mlange.io",target:"_blank"},null,null),V(".")],4,null,null,null)],4,null,null,null)},t}(Ee),Ze=[0,3,0,1,2],en=function(t){function a(e,n){var a;return(a=t.call(this,e,n)||this).layout=0,a.phyllotaxis=un(100),a.grid=sn(100),a.wave=hn(100),a.spiral=pn(100),a.points=[],a.step=0,a.numSteps=120,a}n(a,t);var f=a.prototype;return f.next=function(){var n=this;this.step=(this.step+1)%this.numSteps,0===this.step&&(this.layout=(this.layout+1)%Ze.length);var t=Math.min(1,this.step/(.8*this.numSteps)),a=Ze[this.layout],f=Ze[(this.layout+1)%Ze.length],r=on(a),c=on(f),i=ln(a),o=ln(f);this.points=this.points.map((function(n){var a=e({},n);return a.x=dn(a,t,r,c),a.y=dn(a,t,i,o),a})),this.setState(),requestAnimationFrame((function(){n.next()}))},f.setAnchors=function(e){var n=this;e.map((function(e,t){var a=bn(n.grid(t)),f=a[0],r=a[1],c=bn(n.wave(t)),i=c[0],o=c[1],l=bn(n.spiral(t)),d=l[0],u=l[1],s=bn(n.phyllotaxis(t)),h=s[0],p=s[1];Object.assign(e,{gx:f,gy:r,wx:i,wy:o,sx:d,sy:u,px:h,py:p})})),this.points=e},f.makePoints=function(e){for(var n=[],t=0;tr&&(r=a),i+=a}var o=e[this._i],u=i/e.length;return new t(n,r,u,o)},e}(),i=[],l=-1,a=(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])},function(n,t){function r(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=function(){function e(e){var n=this;this._sync=function(){n.sync(),n._dirty=!1},this.name=e,this.element=document.createElement("div"),this.element.style.cssText="padding: 2px;background-color: #020;font-family: monospace;font-size: 12px;color: #0f0",this._dirty=!1,this.invalidate()}return e.prototype.invalidate=function(){var e;this._dirty||(this._dirty=!0,e=this._sync,i.push(e),-1===l&&requestAnimationFrame((function(e){l=-1;var n=i;i=[];for(var t=0;t0,c=x(o),s=y(o)&&"$"===o[0];u||c||s?(t=t||n.slice(0,l),(u||s)&&(a=D(a)),(c||s)&&(a.key="$"+l),t.push(a)):t&&t.push(a),a.flags|=65536}}r=0===(t=t||n).length?1:8}else(t=n).flags|=65536,81920&n.flags&&(t=D(n)),r=2;e.children=t,e.childFlags=r}(c,c.children),c}function A(e,n){return new I(1,v(e)||!0===e||!1===e?"":e,null,16,n,null,null,null)}function B(e,n,t){var r=U(8192,8192,null,e,n,null,t,null);switch(r.childFlags){case 1:r.children=W(),r.childFlags=2;break;case 16:r.children=[A(e)],r.childFlags=4}return r}function D(e){var n=-16385&e.flags,t=e.props;if(14&n&&!x(t)){var r=t;for(var i in t={},r)t[i]=r[i]}if(0===(8192&n))return new I(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=D(t);else if(12&r){n=[];for(var i=0,l=t.length;i-1&&n.options[l]&&(a=n.options[l].value),t&&v(a)&&(a=e.defaultValue),function e(n,t){if("option"===n.type)!function(e,n){var t=e.props||C,r=e.dom;r.value=t.value,t.value===n||p(n)&&-1!==n.indexOf(t.value)?r.selected=!0:v(n)&&v(t.selected)||(r.selected=t.selected||!1)}(n,t);else{var r=n.children,i=n.flags;if(4&i)e(r.$LI,t);else if(8&i)e(r,t);else if(2===n.childFlags)e(r,t);else if(12&n.childFlags)for(var l=0,a=r.length;l0);if(v(u)||""===u||(r?f.setAttribute("class",u):f.className=u),16===s)H(f,c);else if(1!==s){var d=r&&"foreignObject"!==e.type;2===s?(16384&c.flags&&(e.children=c=D(c)),Ve(c,f,t,d,null,l)):8!==s&&4!==s||Ee(c,f,t,d,null,l)}x(n)||F(n,f,i),x(o)||function(e,n,t,r,i){var l=!1,a=(448&n)>0;for(var o in a&&(l=be(t))&&function(e,n,t){64&e?function(e,n){oe(n.type)?(ae(e,"change",ce),ae(e,"click",se)):ae(e,"input",ue)}(n,t):256&e?function(e){ae(e,"change",de)}(n):128&e&&function(e,n){ae(e,"input",me),n.onChange&&ae(e,"change",ge)}(n,t)}(n,r,t),t)Se(o,null,t[o],r,i,l,null);a&&xe(n,e,r,t,!0,l)}(e,a,o,f,r),Ce(e.ref,f,l)}(e,n,t,r,i,l):4&a?function(e,n,t,r,i,l){var a=function(e,n,t,r,i,l){var a=new n(t,r),o=a.$N=Boolean(n.getDerivedStateFromProps||a.getSnapshotBeforeUpdate);if(a.$SVG=i,a.$L=l,e.children=a,a.$BS=!1,a.context=r,a.props===C&&(a.props=t),o)a.state=N(a,t,a.state);else if(g(a.componentWillMount)){a.$BR=!0,a.componentWillMount();var u=a.$PS;if(!x(u)){var c=a.state;if(x(c))a.state=u;else for(var s in u)c[s]=u[s];a.$PS=null}a.$BR=!1}return a.$LI=Pe(a,t,r),a}(e,e.type,e.props||C,t,r,l);Ve(a.$LI,n,a.$CX,r,i,l),function(e,n,t){Ce(e,n,t),g(n.componentDidMount)&&t.push(function(e){return function(){e.componentDidMount()}}(n))}(e.ref,a,l)}(e,n,t,r,i,l):8&a?(function(e,n,t,r,i,l){Ve(e.children=R(function(e,n){return 32768&e.flags?e.type.render(e.props||C,e.ref,n):e.type(e.props||C,n)}(e,t)),n,t,r,i,l)}(e,n,t,r,i,l),function(e,n){var t=e.ref;v(t)||(_(t.onComponentWillMount,e.props||C),g(t.onComponentDidMount)&&n.push(function(e,n){return function(){e.onComponentDidMount(S(n,!0),n.props||C)}}(t,e)))}(e,l)):512&a||16&a?Ne(e,n,i):8192&a?function(e,n,t,r,i,l){var a=e.children,o=e.childFlags;12&o&&0===a.length&&(o=e.childFlags=2,a=e.children=W()),2===o?Ve(a,t,i,r,i,l):Ee(a,t,n,r,i,l)}(e,t,n,r,i,l):1024&a&&function(e,n,t,r,i){Ve(e.children,e.ref,n,!1,null,i);var l=W();Ne(l,t,r),e.dom=l.dom}(e,t,n,i,l)}function Ne(e,n,t){var r=e.dom=document.createTextNode(e.children);x(n)||F(n,r,t)}function Ee(e,n,t,r,i,l){for(var a=0;a0,u!==c){var d=u||C;if((a=c||C)!==C)for(var p in(s=(448&i)>0)&&(f=be(a)),a){var h=d[p],m=a[p];h!==m&&Se(p,h,m,o,r,f,e)}if(d!==C)for(var g in d)v(a[g])&&!v(d[g])&&Se(g,d[g],null,o,r,f,e)}var y=n.children,x=n.className;e.className!==x&&(v(x)?o.removeAttribute("class"):r?o.setAttribute("class",x):o.className=x),4096&i?function(e,n){e.textContent!==n&&(e.textContent=n)}(o,y):Le(e.childFlags,n.childFlags,e.children,y,o,t,r&&"foreignObject"!==n.type,null,e,l),s&&xe(i,n,o,a,!1,f);var b=n.ref,k=e.ref;k!==b&&(ke(k),Ce(b,o,l))}(e,n,r,i,o,a):4&o?function(e,n,t,r,i,l,a){var o=n.children=e.children;if(x(o))return;o.$L=a;var u=n.props||C,c=n.ref,s=e.ref,f=o.state;if(!o.$N){if(g(o.componentWillReceiveProps)){if(o.$BR=!0,o.componentWillReceiveProps(u,r),o.$UN)return;o.$BR=!1}x(o.$PS)||(f=b(f,o.$PS),o.$PS=null)}(function(e,n,t,r,i,l,a,o,u){var c=e.state,s=e.props,f=Boolean(e.$N),d=g(e.shouldComponentUpdate);if(f&&(n=N(e,t,n!==c?b(c,n):n)),!d||d&&e.shouldComponentUpdate(t,n,i)){!f&&g(e.componentWillUpdate)&&e.componentWillUpdate(t,n,i),e.props=t,e.state=n,e.context=i;var p=null,h=Pe(e,t,i);f&&g(e.getSnapshotBeforeUpdate)&&(p=e.getSnapshotBeforeUpdate(s,c)),He(e.$LI,h,r,e.$CX,l,o,u),e.$LI=h,g(e.componentDidUpdate)&&function(e,n,t,r,i){i.push((function(){e.componentDidUpdate(n,t,r)}))}(e,s,c,p,u)}else e.props=t,e.state=n,e.context=i})(o,f,u,t,r,i,0,l,a),s!==c&&(ke(s),Ce(c,o,a))}(e,n,t,r,i,l,a):8&o?function(e,n,t,r,i,l,a){var o=!0,u=n.props||C,c=n.ref,s=e.props,f=!v(c),d=e.children;if(f&&g(c.onComponentShouldUpdate)&&(o=c.onComponentShouldUpdate(s,u)),!1!==o){f&&g(c.onComponentWillUpdate)&&c.onComponentWillUpdate(s,u);var p=n.type,h=R(32768&n.flags?p.render(u,c,r):p(u,r));He(d,h,t,r,i,l,a),n.children=h,f&&g(c.onComponentDidUpdate)&&c.onComponentDidUpdate(s,u)}else n.children=d}(e,n,t,r,i,l,a):16&o?function(e,n){var t=n.children,r=n.dom=e.dom;t!==e.children&&(r.nodeValue=t)}(e,n):512&o?n.dom=e.dom:8192&o?function(e,n,t,r,i,l){var a=e.children,o=n.children,u=e.childFlags,c=n.childFlags,s=null;12&c&&0===o.length&&(c=n.childFlags=2,o=n.children=W());var f=0!==(2&c);if(12&u){var d=a.length;(8&u&&8&c||f||!f&&o.length>d)&&(s=S(a[d-1],!1).nextSibling)}Le(u,c,a,o,t,r,i,s,e,l)}(e,n,t,r,i,a):function(e,n,t,r){var i=e.ref,l=n.ref,a=n.children;if(Le(e.childFlags,n.childFlags,e.children,a,i,t,!1,null,e,r),n.dom=e.dom,i!==l&&!m(a)){var o=a.dom;T(i,o),$(l,o)}}(e,n,r,a)}function Le(e,n,t,r,i,l,a,o,u,c){switch(e){case 2:switch(n){case 2:He(t,r,i,l,a,o,c);break;case 1:we(t,i);break;case 16:$e(t),H(i,r);break;default:!function(e,n,t,r,i,l){$e(e),Ee(n,t,r,i,S(e,!0),l),P(e,t)}(t,r,i,l,a,c)}break;case 1:switch(n){case 2:Ve(r,i,l,a,o,c);break;case 1:break;case 16:H(i,r);break;default:Ee(r,i,l,a,o,c)}break;case 16:switch(n){case 16:!function(e,n,t){e!==n&&(""!==e?t.firstChild.nodeValue=n:H(t,n))}(t,r,i);break;case 2:Te(i),Ve(r,i,l,a,o,c);break;case 1:Te(i);break;default:Te(i),Ee(r,i,l,a,o,c)}break;default:switch(n){case 16:Fe(t),H(i,r);break;case 2:Me(i,u,t),Ve(r,i,l,a,o,c);break;case 1:Me(i,u,t);break;default:var s=0|t.length,f=0|r.length;0===s?f>0&&Ee(r,i,l,a,o,c):0===f?Me(i,u,t):8===n&&8===e?function(e,n,t,r,i,l,a,o,u,c){var s,f,d=l-1,p=a-1,h=0,v=e[h],m=n[h];e:{for(;v.key===m.key;){if(16384&m.flags&&(n[h]=m=D(m)),He(v,m,t,r,i,o,c),e[h]=m,++h>d||h>p)break e;v=e[h],m=n[h]}for(v=e[d],m=n[p];v.key===m.key;){if(16384&m.flags&&(n[p]=m=D(m)),He(v,m,t,r,i,o,c),e[d]=m,p--,h>--d||h>p)break e;v=e[d],m=n[p]}}if(h>d){if(h<=p)for(f=(s=p+1)p)for(;h<=d;)we(e[h++],t);else!function(e,n,t,r,i,l,a,o,u,c,s,f,d){var p,h,v,m=0,g=o,y=o,x=l-o+1,b=a-o+1,k=new Int32Array(b+1),C=x===r,w=!1,$=0,F=0;if(i<4||(x|b)<32)for(m=g;m<=l;++m)if(p=e[m],Fo?w=!0:$=o,16384&h.flags&&(n[o]=h=D(h)),He(p,h,u,t,c,s,d),++F;break}!C&&o>a&&we(p,u)}else C||we(p,u);else{var T={};for(m=y;m<=a;++m)T[n[m].key]=m;for(m=g;m<=l;++m)if(p=e[m],Fg;)we(e[g++],u);k[o-y]=m+1,$>o?w=!0:$=o,16384&(h=n[o]).flags&&(n[o]=h=D(h)),He(p,h,u,t,c,s,d),++F}else C||we(p,u);else C||we(p,u)}if(C)Me(u,f,e),Ee(n,u,t,c,s,d);else if(w){var M=function(e){var n=0,t=0,r=0,i=0,l=0,a=0,o=0,u=e.length;for(u>_e&&(_e=u,he=new Int32Array(u),ve=new Int32Array(u));t>1]]0&&(ve[t]=he[l-1]),he[l]=t)}l=i+1;var c=new Int32Array(l);for(a=he[l-1];l-- >0;)c[l]=a,a=ve[a],he[l]=0;return c}(k);for(o=M.length-1,m=b-1;m>=0;m--)0===k[m]?(16384&(h=n[$=m+y]).flags&&(n[$]=h=D(h)),Ve(h,u,t,c,(v=$+1)=0;m--)0===k[m]&&(16384&(h=n[$=m+y]).flags&&(n[$]=h=D(h)),Ve(h,u,t,c,(v=$+1)a?a:l,d=0;da)for(d=f;d0&&(a+=2/121*(1e3/(n-l)-a)),l=n,t.addSample(a),i.invalidate(),requestAnimationFrame(e)}))}(),function(e){if(void 0===e&&(e=n.HideMin|n.HideMean),s(),void 0===performance.memory)return;var t=new r(100),i=new u("Memory",e,"MB",t);c.appendChild(i.element),function e(){t.addSample(Math.round(performance.memory.usedJSHeapSize/1048576)),i.invalidate(),setTimeout(e,30)}()}(),function(e,n){void 0===n&&(n=0),s();var t=d[e];void 0===t&&(d[e]=t=new f(e,"ms",n),c.appendChild(t.widget.element))}("view update"),setInterval((function(){var e,n=ENV.generateData(!1).toArray();void 0!==(e=d["view update"])&&(e.startTime=performance.now()),function(e){for(var n=e.length,t=[],r=0;r0&&function(e){for(var n;void 0!==(n=e.shift());)n()}(i),g(t)&&t(),g(E.renderComplete)&&E.renderComplete(l,n)}(c,Ie,s,f)}(n),function(e){var n=performance.now(),t=d["view update"];void 0!==t&&-1!==t.startTime&&(t.data.addSample(n-t.startTime),t.widget.invalidate())}()}),0)}(); +!function(){"use strict";var e,n,t=function(e,n,t,r){this.min=e,this.max=n,this.mean=t,this.last=r},r=function(){function e(e){this.samples=[],this.maxSamples=e,this._i=-1}return e.prototype.addSample=function(e){this._i=(this._i+1)%this.maxSamples,this.samples[this._i]=e},e.prototype.each=function(e){for(var n=this.samples,t=0;tr&&(r=a),i+=a}var o=e[this._i],u=i/e.length;return new t(n,r,u,o)},e}(),i=[],l=-1,a=(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])},function(n,t){function r(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=function(){function e(e){var n=this;this._sync=function(){n.sync(),n._dirty=!1},this.name=e,this.element=document.createElement("div"),this.element.style.cssText="padding: 2px;background-color: #020;font-family: monospace;font-size: 12px;color: #0f0",this._dirty=!1,this.invalidate()}return e.prototype.invalidate=function(){var e;this._dirty||(this._dirty=!0,e=this._sync,i.push(e),-1===l&&requestAnimationFrame((function(e){l=-1;var n=i;i=[];for(var t=0;t0,c=x(o),s=y(o)&&"$"===o[0];u||c||s?(t=t||n.slice(0,l),(u||s)&&(a=D(a)),(c||s)&&(a.key="$"+l),t.push(a)):t&&t.push(a),a.flags|=65536}}r=0===(t=t||n).length?1:8}else(t=n).flags|=65536,81920&n.flags&&(t=D(n)),r=2;e.children=t,e.childFlags=r}(c,c.children),c}function A(e,n){return new I(1,v(e)||!0===e||!1===e?"":e,null,16,n,null,null,null)}function B(e,n,t){var r=U(8192,8192,null,e,n,null,t,null);switch(r.childFlags){case 1:r.children=W(),r.childFlags=2;break;case 16:r.children=[A(e)],r.childFlags=4}return r}function D(e){var n=-16385&e.flags,t=e.props;if(14&n&&!x(t)){var r=t;for(var i in t={},r)t[i]=r[i]}if(0===(8192&n))return new I(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=D(t);else if(12&r){n=[];for(var i=0,l=t.length;i-1&&n.options[l]&&(a=n.options[l].value),t&&v(a)&&(a=e.defaultValue),function e(n,t){if("option"===n.type)!function(e,n){var t=e.props||C,r=e.dom;r.value=t.value,t.value===n||p(n)&&-1!==n.indexOf(t.value)?r.selected=!0:v(n)&&v(t.selected)||(r.selected=t.selected||!1)}(n,t);else{var r=n.children,i=n.flags;if(4&i)e(r.$LI,t);else if(8&i)e(r,t);else if(2===n.childFlags)e(r,t);else if(12&n.childFlags)for(var l=0,a=r.length;l0);if(v(u)||""===u||(r?f.setAttribute("class",u):f.className=u),16===s)H(f,c);else if(1!==s){var d=r&&"foreignObject"!==e.type;2===s?(16384&c.flags&&(e.children=c=D(c)),Ve(c,f,t,d,null,l)):8!==s&&4!==s||Ee(c,f,t,d,null,l)}x(n)||F(n,f,i),x(o)||function(e,n,t,r,i){var l=!1,a=(448&n)>0;for(var o in a&&(l=be(t))&&function(e,n,t){64&e?function(e,n){oe(n.type)?(ae(e,"change",ce),ae(e,"click",se)):ae(e,"input",ue)}(n,t):256&e?function(e){ae(e,"change",de)}(n):128&e&&function(e,n){ae(e,"input",me),n.onChange&&ae(e,"change",ge)}(n,t)}(n,r,t),t)Se(o,null,t[o],r,i,l,null);a&&xe(n,e,r,t,!0,l)}(e,a,o,f,r),Ce(e.ref,f,l)}(e,n,t,r,i,l):4&a?function(e,n,t,r,i,l){var a=function(e,n,t,r,i,l){var a=new n(t,r),o=a.$N=Boolean(n.getDerivedStateFromProps||a.getSnapshotBeforeUpdate);if(a.$SVG=i,a.$L=l,e.children=a,a.$BS=!1,a.context=r,a.props===C&&(a.props=t),o)a.state=N(a,t,a.state);else if(g(a.componentWillMount)){a.$BR=!0,a.componentWillMount();var u=a.$PS;if(!x(u)){var c=a.state;if(x(c))a.state=u;else for(var s in u)c[s]=u[s];a.$PS=null}a.$BR=!1}return a.$LI=Pe(a,t,r),a}(e,e.type,e.props||C,t,r,l);Ve(a.$LI,n,a.$CX,r,i,l),function(e,n,t){Ce(e,n,t),g(n.componentDidMount)&&t.push(function(e){return function(){e.componentDidMount()}}(n))}(e.ref,a,l)}(e,n,t,r,i,l):8&a?(function(e,n,t,r,i,l){Ve(e.children=R(function(e,n){return 32768&e.flags?e.type.render(e.props||C,e.ref,n):e.type(e.props||C,n)}(e,t)),n,t,r,i,l)}(e,n,t,r,i,l),function(e,n){var t=e.ref;v(t)||(_(t.onComponentWillMount,e.props||C),g(t.onComponentDidMount)&&n.push(function(e,n){return function(){e.onComponentDidMount(S(n,!0),n.props||C)}}(t,e)))}(e,l)):512&a||16&a?Ne(e,n,i):8192&a?function(e,n,t,r,i,l){var a=e.children,o=e.childFlags;12&o&&0===a.length&&(o=e.childFlags=2,a=e.children=W()),2===o?Ve(a,t,i,r,i,l):Ee(a,t,n,r,i,l)}(e,t,n,r,i,l):1024&a&&function(e,n,t,r,i){Ve(e.children,e.ref,n,!1,null,i);var l=W();Ne(l,t,r),e.dom=l.dom}(e,t,n,i,l)}function Ne(e,n,t){var r=e.dom=document.createTextNode(e.children);x(n)||F(n,r,t)}function Ee(e,n,t,r,i,l){for(var a=0;a0,u!==c){var d=u||C;if((a=c||C)!==C)for(var p in(s=(448&i)>0)&&(f=be(a)),a){var h=d[p],m=a[p];h!==m&&Se(p,h,m,o,r,f,e)}if(d!==C)for(var g in d)v(a[g])&&!v(d[g])&&Se(g,d[g],null,o,r,f,e)}var y=n.children,x=n.className;e.className!==x&&(v(x)?o.removeAttribute("class"):r?o.setAttribute("class",x):o.className=x),4096&i?function(e,n){e.textContent!==n&&(e.textContent=n)}(o,y):Le(e.childFlags,n.childFlags,e.children,y,o,t,r&&"foreignObject"!==n.type,null,e,l),s&&xe(i,n,o,a,!1,f);var b=n.ref,k=e.ref;k!==b&&(ke(k),Ce(b,o,l))}(e,n,r,i,o,a):4&o?function(e,n,t,r,i,l,a){var o=n.children=e.children;if(x(o))return;o.$L=a;var u=n.props||C,c=n.ref,s=e.ref,f=o.state;if(!o.$N){if(g(o.componentWillReceiveProps)){if(o.$BR=!0,o.componentWillReceiveProps(u,r),o.$UN)return;o.$BR=!1}x(o.$PS)||(f=b(f,o.$PS),o.$PS=null)}(function(e,n,t,r,i,l,a,o,u){var c=e.state,s=e.props,f=Boolean(e.$N),d=g(e.shouldComponentUpdate);if(f&&(n=N(e,t,n!==c?b(c,n):n)),!d||d&&e.shouldComponentUpdate(t,n,i)){!f&&g(e.componentWillUpdate)&&e.componentWillUpdate(t,n,i),e.props=t,e.state=n,e.context=i;var p=null,h=Pe(e,t,i);f&&g(e.getSnapshotBeforeUpdate)&&(p=e.getSnapshotBeforeUpdate(s,c)),He(e.$LI,h,r,e.$CX,l,o,u),e.$LI=h,g(e.componentDidUpdate)&&function(e,n,t,r,i){i.push((function(){e.componentDidUpdate(n,t,r)}))}(e,s,c,p,u)}else e.props=t,e.state=n,e.context=i})(o,f,u,t,r,i,0,l,a),s!==c&&(ke(s),Ce(c,o,a))}(e,n,t,r,i,l,a):8&o?function(e,n,t,r,i,l,a){var o=!0,u=n.props||C,c=n.ref,s=e.props,f=!v(c),d=e.children;if(f&&g(c.onComponentShouldUpdate)&&(o=c.onComponentShouldUpdate(s,u)),!1!==o){f&&g(c.onComponentWillUpdate)&&c.onComponentWillUpdate(s,u);var p=n.type,h=R(32768&n.flags?p.render(u,c,r):p(u,r));He(d,h,t,r,i,l,a),n.children=h,f&&g(c.onComponentDidUpdate)&&c.onComponentDidUpdate(s,u)}else n.children=d}(e,n,t,r,i,l,a):16&o?function(e,n){var t=n.children,r=n.dom=e.dom;t!==e.children&&(r.nodeValue=t)}(e,n):512&o?n.dom=e.dom:8192&o?function(e,n,t,r,i,l){var a=e.children,o=n.children,u=e.childFlags,c=n.childFlags,s=null;12&c&&0===o.length&&(c=n.childFlags=2,o=n.children=W());var f=0!==(2&c);if(12&u){var d=a.length;(8&u&&8&c||f||!f&&o.length>d)&&(s=S(a[d-1],!1).nextSibling)}Le(u,c,a,o,t,r,i,s,e,l)}(e,n,t,r,i,a):function(e,n,t,r){var i=e.ref,l=n.ref,a=n.children;if(Le(e.childFlags,n.childFlags,e.children,a,i,t,!1,null,e,r),n.dom=e.dom,i!==l&&!m(a)){var o=a.dom;T(i,o),$(l,o)}}(e,n,r,a)}function Le(e,n,t,r,i,l,a,o,u,c){switch(e){case 2:switch(n){case 2:He(t,r,i,l,a,o,c);break;case 1:we(t,i);break;case 16:$e(t),H(i,r);break;default:!function(e,n,t,r,i,l){$e(e),Ee(n,t,r,i,S(e,!0),l),P(e,t)}(t,r,i,l,a,c)}break;case 1:switch(n){case 2:Ve(r,i,l,a,o,c);break;case 1:break;case 16:H(i,r);break;default:Ee(r,i,l,a,o,c)}break;case 16:switch(n){case 16:!function(e,n,t){e!==n&&(""!==e?t.firstChild.nodeValue=n:H(t,n))}(t,r,i);break;case 2:Te(i),Ve(r,i,l,a,o,c);break;case 1:Te(i);break;default:Te(i),Ee(r,i,l,a,o,c)}break;default:switch(n){case 16:Fe(t),H(i,r);break;case 2:Me(i,u,t),Ve(r,i,l,a,o,c);break;case 1:Me(i,u,t);break;default:var s=0|t.length,f=0|r.length;0===s?f>0&&Ee(r,i,l,a,o,c):0===f?Me(i,u,t):8===n&&8===e?function(e,n,t,r,i,l,a,o,u,c){var s,f,d=l-1,p=a-1,h=0,v=e[h],m=n[h];e:{for(;v.key===m.key;){if(16384&m.flags&&(n[h]=m=D(m)),He(v,m,t,r,i,o,c),e[h]=m,++h>d||h>p)break e;v=e[h],m=n[h]}for(v=e[d],m=n[p];v.key===m.key;){if(16384&m.flags&&(n[p]=m=D(m)),He(v,m,t,r,i,o,c),e[d]=m,p--,h>--d||h>p)break e;v=e[d],m=n[p]}}if(h>d){if(h<=p)for(f=(s=p+1)p)for(;h<=d;)we(e[h++],t);else!function(e,n,t,r,i,l,a,o,u,c,s,f,d){var p,h,v,m=0,g=o,y=o,x=l-o+1,b=a-o+1,k=new Int32Array(b+1),C=x===r,w=!1,$=0,F=0;if(i<4||(x|b)<32)for(m=g;m<=l;++m)if(p=e[m],Fo?w=!0:$=o,16384&h.flags&&(n[o]=h=D(h)),He(p,h,u,t,c,s,d),++F;break}!C&&o>a&&we(p,u)}else C||we(p,u);else{var T={};for(m=y;m<=a;++m)T[n[m].key]=m;for(m=g;m<=l;++m)if(p=e[m],Fg;)we(e[g++],u);k[o-y]=m+1,$>o?w=!0:$=o,16384&(h=n[o]).flags&&(n[o]=h=D(h)),He(p,h,u,t,c,s,d),++F}else C||we(p,u);else C||we(p,u)}if(C)Me(u,f,e),Ee(n,u,t,c,s,d);else if(w){var M=function(e){var n=0,t=0,r=0,i=0,l=0,a=0,o=0,u=e.length;for(u>_e&&(_e=u,he=new Int32Array(u),ve=new Int32Array(u));t>1]]0&&(ve[t]=he[l-1]),he[l]=t)}l=i+1;var c=new Int32Array(l);for(a=he[l-1];l-- >0;)c[l]=a,a=ve[a],he[l]=0;return c}(k);for(o=M.length-1,m=b-1;m>=0;m--)0===k[m]?(16384&(h=n[$=m+y]).flags&&(n[$]=h=D(h)),Ve(h,u,t,c,(v=$+1)=0;m--)0===k[m]&&(16384&(h=n[$=m+y]).flags&&(n[$]=h=D(h)),Ve(h,u,t,c,(v=$+1)a?a:l,d=0;da)for(d=f;d0&&(a+=2/121*(1e3/(n-l)-a)),l=n,t.addSample(a),i.invalidate(),requestAnimationFrame(e)}))}(),function(e){if(void 0===e&&(e=n.HideMin|n.HideMean),s(),void 0===performance.memory)return;var t=new r(100),i=new u("Memory",e,"MB",t);c.appendChild(i.element),function e(){t.addSample(Math.round(performance.memory.usedJSHeapSize/1048576)),i.invalidate(),setTimeout(e,30)}()}(),function(e,n){void 0===n&&(n=0),s();var t=d[e];void 0===t&&(d[e]=t=new f(e,"ms",n),c.appendChild(t.widget.element))}("view update"),setInterval((function(){var e,n=ENV.generateData(!1).toArray();void 0!==(e=d["view update"])&&(e.startTime=performance.now()),function(e){for(var n=e.length,t=[],r=0;r0,v=i(d),h=o(d)&&"$"===d[0];p||v||h?(u=u||l.slice(0,f),(p||h)&&(s=L(s)),(v||h)&&(s.key="$"+f),u.push(s)):u&&u.push(s),s.flags|=65536}}a=0===(u=u||l).length?1:8}else(u=l).flags|=65536,81920&l.flags&&(u=L(l)),a=2;t.children=u,t.childFlags=a}(v,v.children),v}function V(e,n,r,l,o){var i=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),l,function(e,n,r){var l=(32768&e?n.render:n).defaultProps;if(t(l))return r;if(t(r))return u(l,null);return C(r,l)}(e,n,r),function(e,n,r){if(4&e)return r;var l=(32768&e?n.render:n).defaultHooks;if(t(l))return r;if(t(r))return l;return C(r,l)}(e,n,o),n);return b.createVNode&&b.createVNode(i),i}function N(e,n){return new x(1,t(e)||!0===e||!1===e?"":e,null,16,n,null,null,null)}function S(e,n,t){var r=P(8192,8192,null,e,n,null,t,null);switch(r.childFlags){case 1:r.children=M(),r.childFlags=2;break;case 16:r.children=[N(e)],r.childFlags=4}return r}function L(e){var n=-16385&e.flags,t=e.props;if(14&n&&!i(t)){var r=t;for(var l in t={},r)t[l]=r[l]}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=L(t);else if(12&r){n=[];for(var l=0,o=t.length;l-1&&r.options[u]&&(a=r.options[u].value),l&&t(a)&&(a=n.defaultValue),function n(r,l){if("option"===r.type)!function(n,r){var l=n.props||f,o=n.dom;o.value=l.value,l.value===r||e(r)&&-1!==r.indexOf(l.value)?o.selected=!0:t(r)&&t(l.selected)||(o.selected=l.selected||!1)}(r,l);else{var o=r.children,i=r.flags;if(4&i)n(o.$LI,l);else if(8&i)n(o,l);else if(2===r.childFlags)n(o,l);else if(12&r.childFlags)for(var u=0,a=o.length;u0);if(t(f)||""===f||(l?v.setAttribute("class",f):v.className=f),16===d)w(v,s);else if(1!==d){var h=l&&"foreignObject"!==e.type;2===d?(16384&s.flags&&(e.children=s=L(s)),be(s,v,r,h,null,u)):8!==d&&4!==d||$e(s,v,r,h,null,u)}i(n)||p(n,v,o),i(c)||function(e,n,t,r,l){var o=!1,i=(448&n)>0;for(var u in i&&(o=fe(t))&&function(e,n,t){64&e?function(e,n){Q(n.type)?(J(e,"change",Z),J(e,"click",ee)):J(e,"input",Y)}(n,t):256&e?function(e){J(e,"change",te)}(n):128&e&&function(e,n){J(e,"input",ie),n.onChange&&J(e,"change",ue)}(n,t)}(n,r,t),t)ye(u,null,t[u],r,l,o,null);i&&ce(n,e,r,t,!0,o)}(e,a,c,v,l),de(e.ref,v,u)}(e,n,r,o,u,a):4&c?function(e,n,t,r,o,u){var a=function(e,n,t,r,o,u){var a=new n(t,r),c=a.$N=Boolean(n.getDerivedStateFromProps||a.getSnapshotBeforeUpdate);if(a.$SVG=o,a.$L=u,e.children=a,a.$BS=!1,a.context=r,a.props===f&&(a.props=t),c)a.state=k(a,t,a.state);else if(l(a.componentWillMount)){a.$BR=!0,a.componentWillMount();var s=a.$PS;if(!i(s)){var d=a.state;if(i(d))a.state=s;else for(var p in s)d[p]=s[p];a.$PS=null}a.$BR=!1}return a.$LI=ke(a,t,r),a}(e,e.type,e.props||f,t,r,u);be(a.$LI,n,a.$CX,r,o,u),function(e,n,t){de(e,n,t),l(n.componentDidMount)&&t.push(function(e){return function(){e.componentDidMount()}}(n))}(e.ref,a,u)}(e,n,r,o,u,a):8&c?(function(e,n,t,r,l,o){be(e.children=I(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,l,o)}(e,n,r,o,u,a),function(e,n){var r=e.ref;t(r)||(F(r.onComponentWillMount,e.props||f),l(r.onComponentDidMount)&&n.push(function(e,n){return function(){e.onComponentDidMount(m(n,!0),n.props||f)}}(r,e)))}(e,a)):512&c||16&c?we(e,n,u):8192&c?function(e,n,t,r,l,o){var i=e.children,u=e.childFlags;12&u&&0===i.length&&(u=e.childFlags=2,i=e.children=M()),2===u?be(i,t,l,r,l,o):$e(i,t,n,r,l,o)}(e,r,n,o,u,a):1024&c&&function(e,n,t,r,l){be(e.children,e.ref,n,!1,null,l);var o=M();we(o,t,r),e.dom=o.dom}(e,r,n,u,a)}function we(e,n,t){var r=e.dom=document.createTextNode(e.children);i(n)||p(n,r,t)}function $e(e,n,t,r,l,o){for(var i=0;i0,c!==s){var v=c||f;if((u=s||f)!==f)for(var h in(d=(448&o)>0)&&(p=fe(u)),u){var m=v[h],g=u[h];m!==g&&ye(h,m,g,a,l,p,e)}if(v!==f)for(var y in v)t(u[y])&&!t(v[y])&&ye(y,v[y],null,a,l,p,e)}var k=n.children,b=n.className;e.className!==b&&(t(b)?a.removeAttribute("class"):l?a.setAttribute("class",b):a.className=b),4096&o?function(e,n){e.textContent!==n&&(e.textContent=n)}(a,k):Fe(e.childFlags,n.childFlags,e.children,k,a,r,l&&"foreignObject"!==n.type,null,e,i),d&&ce(o,n,a,u,!1,p);var w=n.ref,$=e.ref;$!==w&&(se($),de(w,a,i))}(e,n,a,c,h,p):4&h?function(e,n,t,r,o,a,c){var s=n.children=e.children;if(i(s))return;s.$L=c;var d=n.props||f,p=n.ref,v=e.ref,h=s.state;if(!s.$N){if(l(s.componentWillReceiveProps)){if(s.$BR=!0,s.componentWillReceiveProps(d,r),s.$UN)return;s.$BR=!1}i(s.$PS)||(h=u(h,s.$PS),s.$PS=null)}(function(e,n,t,r,o,i,a,c,f){var s=e.state,d=e.props,p=Boolean(e.$N),v=l(e.shouldComponentUpdate);if(p&&(n=k(e,t,n!==s?u(s,n):n)),!v||v&&e.shouldComponentUpdate(t,n,o)){!p&&l(e.componentWillUpdate)&&e.componentWillUpdate(t,n,o),e.props=t,e.state=n,e.context=o;var h=null,m=ke(e,t,o);p&&l(e.getSnapshotBeforeUpdate)&&(h=e.getSnapshotBeforeUpdate(d,s)),Ce(e.$LI,m,r,e.$CX,i,c,f),e.$LI=m,l(e.componentDidUpdate)&&function(e,n,t,r,l){l.push((function(){e.componentDidUpdate(n,t,r)}))}(e,d,s,h,f)}else e.props=t,e.state=n,e.context=o})(s,h,d,t,r,o,0,a,c),v!==p&&(se(v),de(p,s,c))}(e,n,o,a,c,s,p):8&h?function(e,n,r,o,i,u,a){var c=!0,s=n.props||f,d=n.ref,p=e.props,v=!t(d),h=e.children;if(v&&l(d.onComponentShouldUpdate)&&(c=d.onComponentShouldUpdate(p,s)),!1!==c){v&&l(d.onComponentWillUpdate)&&d.onComponentWillUpdate(p,s);var m=n.type,g=I(32768&n.flags?m.render(s,d,o):m(s,o));Ce(h,g,r,o,i,u,a),n.children=g,v&&l(d.onComponentDidUpdate)&&d.onComponentDidUpdate(p,s)}else n.children=h}(e,n,o,a,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,l,o){var i=e.children,u=n.children,a=e.childFlags,c=n.childFlags,f=null;12&c&&0===u.length&&(c=n.childFlags=2,u=n.children=M());var s=0!==(2&c);if(12&a){var d=i.length;(8&a&&8&c||s||!s&&u.length>d)&&(f=m(i[d-1],!1).nextSibling)}Fe(a,c,i,u,t,r,l,f,e,o)}(e,n,o,a,c,p):function(e,n,t,l){var o=e.ref,i=n.ref,u=n.children;if(Fe(e.childFlags,n.childFlags,e.children,u,o,t,!1,null,e,l),n.dom=e.dom,o!==i&&!r(u)){var a=u.dom;v(o,a),d(i,a)}}(e,n,a,p)}function Fe(e,n,t,r,l,o,i,u,a,c){switch(e){case 2:switch(n){case 2:Ce(t,r,l,o,i,u,c);break;case 1:pe(t,l);break;case 16:ve(t),w(l,r);break;default:!function(e,n,t,r,l,o){ve(e),$e(n,t,r,l,m(e,!0),o),g(e,t)}(t,r,l,o,i,c)}break;case 1:switch(n){case 2:be(r,l,o,i,u,c);break;case 1:break;case 16:w(l,r);break;default:$e(r,l,o,i,u,c)}break;case 16:switch(n){case 16:!function(e,n,t){e!==n&&(""!==e?t.firstChild.nodeValue=n:w(t,n))}(t,r,l);break;case 2:me(l),be(r,l,o,i,u,c);break;case 1:me(l);break;default:me(l),$e(r,l,o,i,u,c)}break;default:switch(n){case 16:he(t),w(l,r);break;case 2:ge(l,a,t),be(r,l,o,i,u,c);break;case 1:ge(l,a,t);break;default:var f=0|t.length,s=0|r.length;0===f?s>0&&$e(r,l,o,i,u,c):0===s?ge(l,a,t):8===n&&8===e?function(e,n,t,r,l,o,i,u,a,c){var f,s,d=o-1,p=i-1,v=0,h=e[v],g=n[v];e:{for(;h.key===g.key;){if(16384&g.flags&&(n[v]=g=L(g)),Ce(h,g,t,r,l,u,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=L(g)),Ce(h,g,t,r,l,u,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)p)for(;v<=d;)pe(e[v++],t);else!function(e,n,t,r,l,o,i,u,a,c,f,s,d){var p,v,h,g=0,k=u,b=u,w=o-u+1,$=i-u+1,C=new Int32Array($+1),F=w===r,x=!1,P=0,V=0;if(l<4||(w|$)<32)for(g=k;g<=o;++g)if(p=e[g],V<$){for(u=b;u<=i;u++)if(v=n[u],p.key===v.key){if(C[u-b]=g+1,F)for(F=!1;ku?x=!0:P=u,16384&v.flags&&(n[u]=v=L(v)),Ce(p,v,a,t,c,f,d),++V;break}!F&&u>i&&pe(p,a)}else F||pe(p,a);else{var N={};for(g=b;g<=i;++g)N[n[g].key]=g;for(g=k;g<=o;++g)if(p=e[g],V<$)if(void 0!==(u=N[p.key])){if(F)for(F=!1;g>k;)pe(e[k++],a);C[u-b]=g+1,P>u?x=!0:P=u,16384&(v=n[u]).flags&&(n[u]=v=L(v)),Ce(p,v,a,t,c,f,d),++V}else F||pe(p,a);else F||pe(p,a)}if(F)ge(a,s,e),$e(n,a,t,c,f,d);else if(x){var S=function(e){var n=0,t=0,r=0,l=0,o=0,i=0,u=0,a=e.length;for(a>xe&&(xe=a,le=new Int32Array(a),oe=new Int32Array(a));t>1]]0&&(oe[t]=le[o-1]),le[o]=t)}o=l+1;var c=new Int32Array(o);for(i=le[o-1];o-- >0;)c[o]=i,i=oe[i],le[o]=0;return c}(C);for(u=S.length-1,g=$-1;g>=0;g--)0===C[g]?(16384&(v=n[P=g+b]).flags&&(n[P]=v=L(v)),be(v,a,t,c,(h=P+1)=0;g--)0===C[g]&&(16384&(v=n[P=g+b]).flags&&(n[P]=v=L(v)),be(v,a,t,c,(h=P+1)i?i:o,d=0;di)for(d=s;d0&&function(e){for(var n;void 0!==(n=e.shift());)n()}(i),l(r)&&r(),l(b.renderComplete)&&b.renderComplete(u,n)}(e,n,r,o)}function Ve(e){console.log("ok",e)}"undefined"!==typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null),"undefined"!==typeof Promise&&Promise.resolve().then.bind(Promise.resolve());var Ne=[function(){for(var e=[],n=0;n<500;n++)e.push(P(1,"li",null,n,16,{onclick:Ve},null,null));return P(1,"ul",null,e,4,null,null,null)},function(){for(var e=[],n=0;n<500;n++)e.push(P(1,"li",null,n,16,{onclick:a(n,Ve)},null,null));return P(1,"ul",null,e,4,null,null,null)},function(){for(var e=[],n=0;n<500;n++)e.push(P(1,"li",null,n,16,{onClick:Ve},null,null));return P(1,"ul",null,e,4,null,null,null)},function(){for(var e=[],n=0;n<500;n++)e.push(P(1,"li",null,n,16,{onclick:function(){console.log("ok")}},null,null));return P(1,"ul",null,e,4,null,null,null)}],Se=["hoistedNonSyntheticEvents","hoistedLinkEventNonSynthetic","hoistedSyntheticEvents","newFuncsNonSyntheticEvents"],Le=function(e){return e.reduce((function(e,n){return e+n}),0)/e.length},Me=function(e){return Math.min.apply(Math,e)},Ue=function(e){return Math.max.apply(Math,e)};function Ie(e){for(var n=e.results,t=[],r=0;r0,v=i(d),h=o(d)&&"$"===d[0];p||v||h?(u=u||l.slice(0,f),(p||h)&&(s=L(s)),(v||h)&&(s.key="$"+f),u.push(s)):u&&u.push(s),s.flags|=65536}}a=0===(u=u||l).length?1:8}else(u=l).flags|=65536,81920&l.flags&&(u=L(l)),a=2;t.children=u,t.childFlags=a}(v,v.children),v}function V(e,n,r,l,o){var i=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),l,function(e,n,r){var l=(32768&e?n.render:n).defaultProps;if(t(l))return r;if(t(r))return u(l,null);return C(r,l)}(e,n,r),function(e,n,r){if(4&e)return r;var l=(32768&e?n.render:n).defaultHooks;if(t(l))return r;if(t(r))return l;return C(r,l)}(e,n,o),n);return b.createVNode&&b.createVNode(i),i}function N(e,n){return new x(1,t(e)||!0===e||!1===e?"":e,null,16,n,null,null,null)}function S(e,n,t){var r=P(8192,8192,null,e,n,null,t,null);switch(r.childFlags){case 1:r.children=M(),r.childFlags=2;break;case 16:r.children=[N(e)],r.childFlags=4}return r}function L(e){var n=-16385&e.flags,t=e.props;if(14&n&&!i(t)){var r=t;for(var l in t={},r)t[l]=r[l]}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=L(t);else if(12&r){n=[];for(var l=0,o=t.length;l-1&&r.options[u]&&(a=r.options[u].value),l&&t(a)&&(a=n.defaultValue),function n(r,l){if("option"===r.type)!function(n,r){var l=n.props||f,o=n.dom;o.value=l.value,l.value===r||e(r)&&-1!==r.indexOf(l.value)?o.selected=!0:t(r)&&t(l.selected)||(o.selected=l.selected||!1)}(r,l);else{var o=r.children,i=r.flags;if(4&i)n(o.$LI,l);else if(8&i)n(o,l);else if(2===r.childFlags)n(o,l);else if(12&r.childFlags)for(var u=0,a=o.length;u0);if(t(f)||""===f||(l?v.setAttribute("class",f):v.className=f),16===d)w(v,s);else if(1!==d){var h=l&&"foreignObject"!==e.type;2===d?(16384&s.flags&&(e.children=s=L(s)),be(s,v,r,h,null,u)):8!==d&&4!==d||$e(s,v,r,h,null,u)}i(n)||p(n,v,o),i(c)||function(e,n,t,r,l){var o=!1,i=(448&n)>0;for(var u in i&&(o=fe(t))&&function(e,n,t){64&e?function(e,n){Q(n.type)?(J(e,"change",Z),J(e,"click",ee)):J(e,"input",Y)}(n,t):256&e?function(e){J(e,"change",te)}(n):128&e&&function(e,n){J(e,"input",ie),n.onChange&&J(e,"change",ue)}(n,t)}(n,r,t),t)ye(u,null,t[u],r,l,o,null);i&&ce(n,e,r,t,!0,o)}(e,a,c,v,l),de(e.ref,v,u)}(e,n,r,o,u,a):4&c?function(e,n,t,r,o,u){var a=function(e,n,t,r,o,u){var a=new n(t,r),c=a.$N=Boolean(n.getDerivedStateFromProps||a.getSnapshotBeforeUpdate);if(a.$SVG=o,a.$L=u,e.children=a,a.$BS=!1,a.context=r,a.props===f&&(a.props=t),c)a.state=k(a,t,a.state);else if(l(a.componentWillMount)){a.$BR=!0,a.componentWillMount();var s=a.$PS;if(!i(s)){var d=a.state;if(i(d))a.state=s;else for(var p in s)d[p]=s[p];a.$PS=null}a.$BR=!1}return a.$LI=ke(a,t,r),a}(e,e.type,e.props||f,t,r,u);be(a.$LI,n,a.$CX,r,o,u),function(e,n,t){de(e,n,t),l(n.componentDidMount)&&t.push(function(e){return function(){e.componentDidMount()}}(n))}(e.ref,a,u)}(e,n,r,o,u,a):8&c?(function(e,n,t,r,l,o){be(e.children=I(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,l,o)}(e,n,r,o,u,a),function(e,n){var r=e.ref;t(r)||(F(r.onComponentWillMount,e.props||f),l(r.onComponentDidMount)&&n.push(function(e,n){return function(){e.onComponentDidMount(m(n,!0),n.props||f)}}(r,e)))}(e,a)):512&c||16&c?we(e,n,u):8192&c?function(e,n,t,r,l,o){var i=e.children,u=e.childFlags;12&u&&0===i.length&&(u=e.childFlags=2,i=e.children=M()),2===u?be(i,t,l,r,l,o):$e(i,t,n,r,l,o)}(e,r,n,o,u,a):1024&c&&function(e,n,t,r,l){be(e.children,e.ref,n,!1,null,l);var o=M();we(o,t,r),e.dom=o.dom}(e,r,n,u,a)}function we(e,n,t){var r=e.dom=document.createTextNode(e.children);i(n)||p(n,r,t)}function $e(e,n,t,r,l,o){for(var i=0;i0,c!==s){var v=c||f;if((u=s||f)!==f)for(var h in(d=(448&o)>0)&&(p=fe(u)),u){var m=v[h],g=u[h];m!==g&&ye(h,m,g,a,l,p,e)}if(v!==f)for(var y in v)t(u[y])&&!t(v[y])&&ye(y,v[y],null,a,l,p,e)}var k=n.children,b=n.className;e.className!==b&&(t(b)?a.removeAttribute("class"):l?a.setAttribute("class",b):a.className=b),4096&o?function(e,n){e.textContent!==n&&(e.textContent=n)}(a,k):Fe(e.childFlags,n.childFlags,e.children,k,a,r,l&&"foreignObject"!==n.type,null,e,i),d&&ce(o,n,a,u,!1,p);var w=n.ref,$=e.ref;$!==w&&(se($),de(w,a,i))}(e,n,a,c,h,p):4&h?function(e,n,t,r,o,a,c){var s=n.children=e.children;if(i(s))return;s.$L=c;var d=n.props||f,p=n.ref,v=e.ref,h=s.state;if(!s.$N){if(l(s.componentWillReceiveProps)){if(s.$BR=!0,s.componentWillReceiveProps(d,r),s.$UN)return;s.$BR=!1}i(s.$PS)||(h=u(h,s.$PS),s.$PS=null)}(function(e,n,t,r,o,i,a,c,f){var s=e.state,d=e.props,p=Boolean(e.$N),v=l(e.shouldComponentUpdate);if(p&&(n=k(e,t,n!==s?u(s,n):n)),!v||v&&e.shouldComponentUpdate(t,n,o)){!p&&l(e.componentWillUpdate)&&e.componentWillUpdate(t,n,o),e.props=t,e.state=n,e.context=o;var h=null,m=ke(e,t,o);p&&l(e.getSnapshotBeforeUpdate)&&(h=e.getSnapshotBeforeUpdate(d,s)),Ce(e.$LI,m,r,e.$CX,i,c,f),e.$LI=m,l(e.componentDidUpdate)&&function(e,n,t,r,l){l.push((function(){e.componentDidUpdate(n,t,r)}))}(e,d,s,h,f)}else e.props=t,e.state=n,e.context=o})(s,h,d,t,r,o,0,a,c),v!==p&&(se(v),de(p,s,c))}(e,n,o,a,c,s,p):8&h?function(e,n,r,o,i,u,a){var c=!0,s=n.props||f,d=n.ref,p=e.props,v=!t(d),h=e.children;if(v&&l(d.onComponentShouldUpdate)&&(c=d.onComponentShouldUpdate(p,s)),!1!==c){v&&l(d.onComponentWillUpdate)&&d.onComponentWillUpdate(p,s);var m=n.type,g=I(32768&n.flags?m.render(s,d,o):m(s,o));Ce(h,g,r,o,i,u,a),n.children=g,v&&l(d.onComponentDidUpdate)&&d.onComponentDidUpdate(p,s)}else n.children=h}(e,n,o,a,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,l,o){var i=e.children,u=n.children,a=e.childFlags,c=n.childFlags,f=null;12&c&&0===u.length&&(c=n.childFlags=2,u=n.children=M());var s=0!==(2&c);if(12&a){var d=i.length;(8&a&&8&c||s||!s&&u.length>d)&&(f=m(i[d-1],!1).nextSibling)}Fe(a,c,i,u,t,r,l,f,e,o)}(e,n,o,a,c,p):function(e,n,t,l){var o=e.ref,i=n.ref,u=n.children;if(Fe(e.childFlags,n.childFlags,e.children,u,o,t,!1,null,e,l),n.dom=e.dom,o!==i&&!r(u)){var a=u.dom;v(o,a),d(i,a)}}(e,n,a,p)}function Fe(e,n,t,r,l,o,i,u,a,c){switch(e){case 2:switch(n){case 2:Ce(t,r,l,o,i,u,c);break;case 1:pe(t,l);break;case 16:ve(t),w(l,r);break;default:!function(e,n,t,r,l,o){ve(e),$e(n,t,r,l,m(e,!0),o),g(e,t)}(t,r,l,o,i,c)}break;case 1:switch(n){case 2:be(r,l,o,i,u,c);break;case 1:break;case 16:w(l,r);break;default:$e(r,l,o,i,u,c)}break;case 16:switch(n){case 16:!function(e,n,t){e!==n&&(""!==e?t.firstChild.nodeValue=n:w(t,n))}(t,r,l);break;case 2:me(l),be(r,l,o,i,u,c);break;case 1:me(l);break;default:me(l),$e(r,l,o,i,u,c)}break;default:switch(n){case 16:he(t),w(l,r);break;case 2:ge(l,a,t),be(r,l,o,i,u,c);break;case 1:ge(l,a,t);break;default:var f=0|t.length,s=0|r.length;0===f?s>0&&$e(r,l,o,i,u,c):0===s?ge(l,a,t):8===n&&8===e?function(e,n,t,r,l,o,i,u,a,c){var f,s,d=o-1,p=i-1,v=0,h=e[v],g=n[v];e:{for(;h.key===g.key;){if(16384&g.flags&&(n[v]=g=L(g)),Ce(h,g,t,r,l,u,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=L(g)),Ce(h,g,t,r,l,u,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)p)for(;v<=d;)pe(e[v++],t);else!function(e,n,t,r,l,o,i,u,a,c,f,s,d){var p,v,h,g=0,k=u,b=u,w=o-u+1,$=i-u+1,C=new Int32Array($+1),F=w===r,x=!1,P=0,V=0;if(l<4||(w|$)<32)for(g=k;g<=o;++g)if(p=e[g],V<$){for(u=b;u<=i;u++)if(v=n[u],p.key===v.key){if(C[u-b]=g+1,F)for(F=!1;ku?x=!0:P=u,16384&v.flags&&(n[u]=v=L(v)),Ce(p,v,a,t,c,f,d),++V;break}!F&&u>i&&pe(p,a)}else F||pe(p,a);else{var N={};for(g=b;g<=i;++g)N[n[g].key]=g;for(g=k;g<=o;++g)if(p=e[g],V<$)if(void 0!==(u=N[p.key])){if(F)for(F=!1;g>k;)pe(e[k++],a);C[u-b]=g+1,P>u?x=!0:P=u,16384&(v=n[u]).flags&&(n[u]=v=L(v)),Ce(p,v,a,t,c,f,d),++V}else F||pe(p,a);else F||pe(p,a)}if(F)ge(a,s,e),$e(n,a,t,c,f,d);else if(x){var S=function(e){var n=0,t=0,r=0,l=0,o=0,i=0,u=0,a=e.length;for(a>xe&&(xe=a,le=new Int32Array(a),oe=new Int32Array(a));t>1]]0&&(oe[t]=le[o-1]),le[o]=t)}o=l+1;var c=new Int32Array(o);for(i=le[o-1];o-- >0;)c[o]=i,i=oe[i],le[o]=0;return c}(C);for(u=S.length-1,g=$-1;g>=0;g--)0===C[g]?(16384&(v=n[P=g+b]).flags&&(n[P]=v=L(v)),be(v,a,t,c,(h=P+1)=0;g--)0===C[g]&&(16384&(v=n[P=g+b]).flags&&(n[P]=v=L(v)),be(v,a,t,c,(h=P+1)i?i:o,d=0;di)for(d=s;d0,h=l(d),v=i(d)&&"$"===d[0];p||h||v?(a=a||o.slice(0,f),(p||v)&&(s=I(s)),(h||v)&&(s.key="$"+f),a.push(s)):a&&a.push(s),s.flags|=65536}}u=0===(a=a||o).length?1:8}else(a=o).flags|=65536,81920&o.flags&&(a=I(o)),u=2;return t.children=a,t.childFlags=u,t}function E(t){if(r(t)||n(t))return F(t,null);if(e(t))return L(t,0,null);return 16384&t.flags?I(t):t}var O="http://www.w3.org/1999/xlink",B="http://www.w3.org/XML/1998/namespace",R={"xlink:actuate":O,"xlink:arcrole":O,"xlink:href":O,"xlink:role":O,"xlink:show":O,"xlink:title":O,"xlink:type":O,"xml:base":B,"xml:lang":B,"xml:space":B};function W(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 j=W(0),H=W(null),z=W(!0);function Q(e,n){var t=n.$EV;return t||(t=n.$EV=W(null)),t[e]||1===++j[e]&&(H[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,Y(n))}}(e):function(e){return function(n){q(n,!1,e,Y(n))}}(e);return document.addEventListener(s(e),n),n}(e)),t}function X(e,n){var t=n.$EV;t&&t[e]&&(0===--j[e]&&(document.removeEventListener(s(e),H[e]),H[e]=null),t[e]=null)}function q(e,n,t,r){var i=function(e){return o(e.composedPath)?e.composedPath()[0]:e.target}(e);do{if(n&&i.disabled)return;var a=i.$EV;if(a){var u=a[t];if(u&&(r.dom=i,u.event?u.event(u.data,e):u(e),e.cancelBubble))return}i=i.parentNode}while(!l(i))}function G(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function K(){return this.defaultPrevented}function J(){return this.cancelBubble}function Y(e){var n={dom:document};return e.isDefaultPrevented=K,e.isPropagationStopped=J,e.stopPropagation=G,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 ee(e,n){var t=function(t){var r=this.$V;if(!r)return;var l=r.props||f,a=r.dom;if(i(e))Z(l,e,t);else for(var u=0;u-1&&r.options[a]&&(u=r.options[a].value),o&&t(u)&&(u=n.defaultValue),function n(r,o){if("option"===r.type)!function(n,r){var o=n.props||f,i=n.dom;i.value=o.value,o.value===r||e(r)&&-1!==r.indexOf(o.value)?i.selected=!0:t(r)&&t(o.selected)||(i.selected=o.selected||!1)}(r,o);else{var i=r.children,l=r.flags;if(4&l)n(i.$LI,o);else if(8&l)n(i,o);else if(2===r.childFlags)n(i,o);else if(12&r.childFlags)for(var a=0,u=i.length;a0;for(var a in l&&(i=ve(t))&&function(e,n,t){64&e?function(e,n){te(n.type)?(ne(e,"change",oe),ne(e,"click",ie)):ne(e,"input",re)}(n,t):256&e?function(e){ne(e,"change",ae)}(n):128&e&&function(e,n){ne(e,"input",se),n.onChange&&ne(e,"change",de)}(n,t)}(n,r,t),t)we(a,null,t[a],r,o,i,null);l&&he(n,e,r,t,!0,i)}function Ne(e,n,t){var r=E(e.render(n,e.state,t)),i=t;return o(e.getChildContext)&&(i=a(t,e.getChildContext())),e.$CX=i,r}function Se(e,n,t,r,i,a){var u=new n(t,r),c=u.$N=Boolean(n.getDerivedStateFromProps||u.getSnapshotBeforeUpdate);if(u.$SVG=i,u.$L=a,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(o(u.componentWillMount)){u.$BR=!0,u.componentWillMount();var s=u.$PS;if(!l(s)){var d=u.state;if(l(d))u.state=s;else for(var p in s)d[p]=s[p];u.$PS=null}u.$BR=!1}return u.$LI=Ne(u,t,r),u}function Pe(e,n,t,r,o,i){var l=e.flags|=16384;481&l?Ve(e,n,t,r,o,i):4&l?function(e,n,t,r,o,i){var l=Se(e,e.type,e.props||f,t,r,i);Pe(l.$LI,n,l.$CX,r,o,i),Le(e.ref,l,i)}(e,n,t,r,o,i):8&l?(function(e,n,t,r,o,i){Pe(e.children=E(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),Me(e,i)):512&l||16&l?Ue(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=T()),2===a?Pe(l,t,o,r,o,i):Fe(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=T();Ue(i,t,r),e.dom=i.dom}(e,t,n,o,i)}function Ue(e,n,t){var r=e.dom=document.createTextNode(e.children);l(n)||p(n,r,t)}function Ve(e,n,r,o,i,a){var u=e.flags,c=e.props,f=e.className,s=e.children,d=e.childFlags,h=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(t(f)||""===f||(o?h.setAttribute("class",f):h.className=f),16===d)w(h,s);else if(1!==d){var v=o&&"foreignObject"!==e.type;2===d?(16384&s.flags&&(e.children=s=I(s)),Pe(s,h,r,v,null,a)):8!==d&&4!==d||Fe(s,h,r,v,null,a)}l(n)||p(n,h,i),l(c)||$e(e,u,c,h,o),ge(e.ref,h,a)}function Fe(e,n,t,r,o,i){for(var l=0;l0,c!==s){var h=c||f;if((a=s||f)!==f)for(var v in(d=(448&i)>0)&&(p=ve(a)),a){var m=h[v],g=a[v];m!==g&&we(v,m,g,u,o,p,e)}if(h!==f)for(var y in h)t(a[y])&&!t(h[y])&&we(y,h[y],null,u,o,p,e)}var b=n.children,k=n.className;e.className!==k&&(t(k)?u.removeAttribute("class"):o?u.setAttribute("class",k):u.className=k),4096&i?function(e,n){e.textContent!==n&&(e.textContent=n)}(u,b):Te(e.childFlags,n.childFlags,e.children,b,u,r,o&&"foreignObject"!==n.type,null,e,l),d&&he(i,n,u,a,!1,p);var C=n.ref,x=e.ref;x!==C&&(me(x),ge(C,u,l))}(e,n,u,c,v,p):4&v?function(e,n,t,r,i,u,c){var s=n.children=e.children;if(l(s))return;s.$L=c;var d=n.props||f,p=n.ref,h=e.ref,v=s.state;if(!s.$N){if(o(s.componentWillReceiveProps)){if(s.$BR=!0,s.componentWillReceiveProps(d,r),s.$UN)return;s.$BR=!1}l(s.$PS)||(v=a(v,s.$PS),s.$PS=null)}_e(s,v,d,t,r,i,!1,u,c),h!==p&&(me(h),ge(p,s,c))}(e,n,i,u,c,s,p):8&v?function(e,n,r,i,l,a,u){var c=!0,s=n.props||f,d=n.ref,p=e.props,h=!t(d),v=e.children;if(h&&o(d.onComponentShouldUpdate)&&(c=d.onComponentShouldUpdate(p,s)),!1!==c){h&&o(d.onComponentWillUpdate)&&d.onComponentWillUpdate(p,s);var m=n.type,g=E(32768&n.flags?m.render(s,d,i):m(s,i));Ie(v,g,r,i,l,a,u),n.children=g,h&&o(d.onComponentDidUpdate)&&d.onComponentDidUpdate(p,s)}else n.children=v}(e,n,i,u,c,s,p):16&v?function(e,n){var t=n.children,r=n.dom=e.dom;t!==e.children&&(r.nodeValue=t)}(e,n):512&v?n.dom=e.dom:8192&v?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=T());var s=0!==(2&c);if(12&u){var d=l.length;(8&u&&8&c||s||!s&&a.length>d)&&(f=g(l[d-1],!1).nextSibling)}Te(u,c,l,a,t,r,o,f,e,i)}(e,n,i,u,c,p):function(e,n,t,o){var i=e.ref,l=n.ref,a=n.children;if(Te(e.childFlags,n.childFlags,e.children,a,i,t,!1,null,e,o),n.dom=e.dom,i!==l&&!r(a)){var u=a.dom;h(i,u),d(l,u)}}(e,n,u,p)}function Te(e,n,t,r,o,i,l,a,u,c){switch(e){case 2:switch(n){case 2:Ie(t,r,o,i,l,a,c);break;case 1:ye(t,o);break;case 16:be(t),w(o,r);break;default:!function(e,n,t,r,o,i){be(e),Fe(n,t,r,o,g(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:Fe(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:Ce(o),Pe(r,o,i,l,a,c);break;case 1:Ce(o);break;default:Ce(o),Fe(r,o,i,l,a,c)}break;default:switch(n){case 16:ke(t),w(o,r);break;case 2:xe(o,u,t),Pe(r,o,i,l,a,c);break;case 1:xe(o,u,t);break;default:var f=0|t.length,s=0|r.length;0===f?s>0&&Fe(r,o,i,l,a,c):0===s?xe(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,h=0,v=e[h],m=n[h];e:{for(;v.key===m.key;){if(16384&m.flags&&(n[h]=m=I(m)),Ie(v,m,t,r,o,a,c),e[h]=m,++h>d||h>p)break e;v=e[h],m=n[h]}for(v=e[d],m=n[p];v.key===m.key;){if(16384&m.flags&&(n[p]=m=I(m)),Ie(v,m,t,r,o,a,c),e[d]=m,p--,h>--d||h>p)break e;v=e[d],m=n[p]}}if(h>d){if(h<=p)for(s=(f=p+1)p)for(;h<=d;)ye(e[h++],t);else!function(e,n,t,r,o,i,l,a,u,c,f,s,d){var p,h,v,m=0,y=a,k=a,C=i-a+1,x=l-a+1,w=new Int32Array(x+1),$=C===r,N=!1,S=0,P=0;if(o<4||(C|x)<32)for(m=y;m<=i;++m)if(p=e[m],Pa?N=!0:S=a,16384&h.flags&&(n[a]=h=I(h)),Ie(p,h,u,t,c,f,d),++P;break}!$&&a>l&&ye(p,u)}else $||ye(p,u);else{var U={};for(m=k;m<=l;++m)U[n[m].key]=m;for(m=y;m<=i;++m)if(p=e[m],Py;)ye(e[y++],u);w[a-k]=m+1,S>a?N=!0:S=a,16384&(h=n[a]).flags&&(n[a]=h=I(h)),Ie(p,h,u,t,c,f,d),++P}else $||ye(p,u);else $||ye(p,u)}if($)xe(u,s,e),Fe(n,u,t,c,f,d);else if(N){var V=function(e){var n=0,t=0,r=0,o=0,i=0,l=0,a=0,u=e.length;for(u>Ae&&(Ae=u,ce=new Int32Array(u),fe=new Int32Array(u));t>1]]0&&(fe[t]=ce[i-1]),ce[i]=t)}i=o+1;var c=new Int32Array(i);for(l=ce[i-1];i-- >0;)c[i]=l,l=fe[l],ce[i]=0;return c}(w);for(a=V.length-1,m=x-1;m>=0;m--)0===w[m]?(16384&(h=n[S=m+k]).flags&&(n[S]=h=I(h)),Pe(h,u,t,c,(v=S+1)=0;m--)0===w[m]&&(16384&(h=n[S=m+k]).flags&&(n[S]=h=I(h)),Pe(h,u,t,c,(v=S+1)l?l:i,d=0;dl)for(d=s;d0&&v(l),C.v=!1,o(r)&&r(),o(x.renderComplete)&&x.renderComplete(a,n)}function Ee(e,n,t,r){void 0===t&&(t=null),void 0===r&&(r=f),De(e,n,t,r)}"undefined"!==typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);var Oe=[],Be="undefined"!==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):function(e){window.setTimeout(e,0)},Re=!1;function We(e,n,r,i){var l=e.$PS;if(o(n)&&(n=n(l?a(e.state,l):e.state,e.props,e.context)),t(l))e.$PS=n;else for(var u in n)l[u]=n[u];if(e.$BR)o(r)&&e.$L.push(r.bind(e));else{if(!C.v&&0===Oe.length)return void ze(e,i,r);if(-1===Oe.indexOf(e)&&Oe.push(e),Re||(Re=!0,Be(He)),o(r)){var c=e.$QU;c||(c=e.$QU=[]),c.push(r)}}}function je(e){for(var n=e.$QU,t=0,r=n.length;t0&&v(i),C.v=!1}else e.state=e.$PS,e.$PS=null;o(t)&&t.call(e)}var Qe=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};function Xe(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 qe(e,n,t){var r=arguments,o=e.flags,i=14&o?e.props&&e.props.children:e.children,l=arguments.length-2,a=e.className,u=e.key,c=e.ref;if(n?(void 0!==n.className&&(a=n.className),void 0!==n.ref&&(c=n.ref),void 0!==n.key&&(u=n.key),void 0!==n.children&&(i=n.children)):n={},1===l)i=t;else if(l>1)for(i=[];l-- >0;)i[l]=r[l+2];if(n.children=i,14&o)return V(o,e.type,e.props||n?Xe(e.props,n):f,u,c);if(16&o)return F(i);if(8192&o)return L(1===l?[i]:i,0,u);return M(U(o,e.type,a,null,1,Xe(e.props,n),u,c))}function Ge(e){throw e||(e="a runtime error occured! Use Inferno in development environment to find the error."),new Error("Inferno Error: "+e)}Qe.prototype.forceUpdate=function(e){if(this.$UN)return;We(this,{},e,!0)},Qe.prototype.setState=function(e,n){if(this.$UN)return;this.$BS||We(this,e,n,!1)},Qe.prototype.render=function(e,n,t){return null};var Ke={componentDidMount:1,componentDidUnmount:1,componentDidUpdate:1,componentWillMount:1,componentWillUnmount:1,componentWillUpdate:1,constructor:1,render:1,shouldComponentUpdate:1};function Je(e,n){for(var t in n)e[t]=n[t];return e}function Ye(e,n){void 0===n&&(n={});for(var t=0,r=e.length;t1)for(r=[];f-- >0;)r[f]=i[f+2];if(!rn(e)){if(c=2,on(r)||(n||(n={}),n.children=r),!tn(n))for(var s in o={},n)"key"===s?a=n.key:"ref"===s?l=n.ref:1===ln[s]?(l||(l={}),l[s]=n[s]):o[s]=n[s];return V(c,e,o,a,l)}if(c=A(e),!tn(n))for(var d in o={},n)"className"===d||"class"===d?u=n[d]:"key"===d?a=n.key:"children"===d&&on(r)?r=n.children:"ref"===d?l=n.ref:("contenteditable"===d&&(c|=4096),o[d]=n[d]);if(8192&c)return L(1===f?[r]:r,0,a);return U(c,e,u,r,0,o,a,l)}function un(e){return null===e}function cn(e,n,t,r,o,i){var l=e.childFlags,a=e.children,u=e.props,c=e.flags;if(1!==l){if(2===l)un(t)?Pe(a,n,r,o,null,i):t=(t=sn(a,n,t,r,o,i))?t.nextSibling:null;else if(16===l)un(t)?n.appendChild(document.createTextNode(a)):1!==n.childNodes.length||3!==t.nodeType?n.textContent=a:t.nodeValue!==a&&(t.nodeValue=a),t=null;else if(12&l)for(var f=!1,s=0,d=a.length;s0?Pe(p,n,r,o,t,i):t=(t=sn(p,n,t,r,o,i))?t.nextSibling:null,f=(16&p.flags)>0}if(0===(8192&c))for(var h=null;t;)h=t.nextSibling,n.removeChild(t),t=h}else un(n.firstChild)||function(e,n){return Boolean(n&&n.dangerouslySetInnerHTML&&n.dangerouslySetInnerHTML.__html&&function(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}(e,n.dangerouslySetInnerHTML.__html))}(n,u)||(n.textContent="",448&c&&(n.defaultValue=""))}function fn(e,n,t){if(3!==t.nodeType)n.replaceChild(e.dom=document.createTextNode(e.children),t);else{var r=e.children;t.nodeValue!==r&&(t.nodeValue=r),e.dom=t}return e.dom}function sn(e,n,t,r,o,i){var l=e.flags|=16384;if(14&l)return function(e,n,t,r,o,i,l){var a,u=e.type,c=e.ref,s=e.props||f;if(i){var d=Se(e,u,s,r,o,l);a=sn(d.$LI,n,t,d.$CX,o,l),Le(c,d,l)}else{var p=E(function(e,n,t){return 32768&e.flags?e.type.render(t,e.ref,n):e.type(t,n)}(e,r,s));a=sn(p,n,t,r,o,l),e.children=p,Me(e,l)}return a}(e,n,t,r,o,(4&l)>0,i);if(481&l)return function(e,n,t,r,o,i){var l,a=e.props,u=e.className,c=e.flags,f=e.ref;return o=o||(32&c)>0,1!==t.nodeType||t.tagName.toLowerCase()!==e.type?(Ve(e,null,r,o,null,i),n.replaceChild(e.dom,t)):(e.dom=t,cn(e,t,t.firstChild,r,o,i),un(a)||$e(e,c,a,t,o),void 0===(l=u)||null===l?""!==t.className&&t.removeAttribute("class"):o?t.setAttribute("class",u):t.className=u,ge(f,t,i)),e.dom}(e,n,t,r,o,i);if(16&l)return fn(e,n,t);if(512&l)return e.dom=t;if(8192&l)return function(e,n,t,r,o,i){var l=e.children;if(2===e.childFlags)return fn(l,n,t),l.dom;return cn(e,n,t,r,o,i),function(e){for(var n,t;e;){if(2033&(n=e.flags))return e.dom;t=e.children,e=8192&n?2===e.childFlags?t:t[t.length-1]:4&n?t.$LI:t}return null}(l[l.length-1])}(e,n,t,r,o,i);return function(e){throw e||(e="a runtime error occured! Use Inferno in development environment to find the error."),new Error("Inferno Error: "+e)}(),null}var dn=Array.isArray;function pn(e){return void 0===e||null===e}function hn(e){return"string"===typeof e}function vn(e){return null===e}function mn(){}mn.isRequired=mn;var gn=function(){return mn},yn={any:gn,array:mn,arrayOf:gn,bool:mn,checkPropTypes:function(){return null},element:gn,func:mn,instanceOf:gn,node:gn,number:mn,object:mn,objectOf:gn,oneOf:gn,oneOfType:gn,shape:gn,string:mn,symbol:mn},bn={htmlFor:"for",onDoubleClick:"onDblClick"},kn=/[\-\:]([a-z])/g,Cn=function(e){return e[1].toUpperCase()};function xn(e,n){switch(e){case"animation-iteration-count":case"border-image-outset":case"border-image-slice":case"border-image-width":case"box-flex":case"box-flex-group":case"box-ordinal-group":case"column-count":case"fill-opacity":case"flex":case"flex-grow":case"flex-negative":case"flex-order":case"flex-positive":case"flex-shrink":case"flood-opacity":case"font-weight":case"grid-column":case"grid-row":case"line-clamp":case"line-height":case"opacity":case"order":case"orphans":case"stop-opacity":case"stroke-dasharray":case"stroke-dashoffset":case"stroke-miterlimit":case"stroke-opacity":case"stroke-width":case"tab-size":case"widows":case"z-index":case"zoom":return n;default:return n+"px"}}["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-constiant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","x-height","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xmlns:xlink","xml:lang","xml:space"].forEach((function(e){var n=e.replace(kn,Cn);bn[n]=e}));var wn=/[A-Z]/g;x.reactStyles=!0;var $n=[],Nn={map:function(e,n,t){if(pn(e))return e;return e=Nn.toArray(e),t&&(n=n.bind(t)),e.map(n)},forEach:function(e,n,t){if(pn(e))return;e=Nn.toArray(e),t&&(n=n.bind(t));for(var r=0,o=e.length;r0)for(var l;void 0!==(l=i.shift());)l()}n.$V=e,function(e){return"function"===typeof e}(t)&&t()},isValidElement:function(e){if("object"!==typeof e||vn(e))return!1;return(495&e.flags)>0},linkEvent:u,normalizeProps:M,options:x,render:_n,rerender:He,unmountComponentAtNode:function(e){return De(null,e,null,null),!0},unstable_renderSubtreeIntoContainer:function(e,n,t,r){_n(V(4,Tn,{children:n,context:e.context}),t,null);var o=n.children;return r&&r.call(o),o},version:"15.4.2"};window.React=An,window.ReactDOM=An}function Dn(e){return U(1,"li","TreeLeaf",F(e.children),0,null,null,null)}function En(e,n){return e!==n}function On(e){for(var n=e.data,t=n.children.length,r=new Array(t),o=0;o0,h=l(d),v=i(d)&&"$"===d[0];p||h||v?(a=a||o.slice(0,f),(p||v)&&(s=I(s)),(h||v)&&(s.key="$"+f),a.push(s)):a&&a.push(s),s.flags|=65536}}u=0===(a=a||o).length?1:8}else(a=o).flags|=65536,81920&o.flags&&(a=I(o)),u=2;return t.children=a,t.childFlags=u,t}function E(t){if(r(t)||n(t))return F(t,null);if(e(t))return L(t,0,null);return 16384&t.flags?I(t):t}var O="http://www.w3.org/1999/xlink",B="http://www.w3.org/XML/1998/namespace",R={"xlink:actuate":O,"xlink:arcrole":O,"xlink:href":O,"xlink:role":O,"xlink:show":O,"xlink:title":O,"xlink:type":O,"xml:base":B,"xml:lang":B,"xml:space":B};function W(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 j=W(0),H=W(null),z=W(!0);function Q(e,n){var t=n.$EV;return t||(t=n.$EV=W(null)),t[e]||1===++j[e]&&(H[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,Y(n))}}(e):function(e){return function(n){q(n,!1,e,Y(n))}}(e);return document.addEventListener(s(e),n),n}(e)),t}function X(e,n){var t=n.$EV;t&&t[e]&&(0===--j[e]&&(document.removeEventListener(s(e),H[e]),H[e]=null),t[e]=null)}function q(e,n,t,r){var i=function(e){return o(e.composedPath)?e.composedPath()[0]:e.target}(e);do{if(n&&i.disabled)return;var a=i.$EV;if(a){var u=a[t];if(u&&(r.dom=i,u.event?u.event(u.data,e):u(e),e.cancelBubble))return}i=i.parentNode}while(!l(i))}function G(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function K(){return this.defaultPrevented}function J(){return this.cancelBubble}function Y(e){var n={dom:document};return e.isDefaultPrevented=K,e.isPropagationStopped=J,e.stopPropagation=G,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 ee(e,n){var t=function(t){var r=this.$V;if(!r)return;var l=r.props||f,a=r.dom;if(i(e))Z(l,e,t);else for(var u=0;u-1&&r.options[a]&&(u=r.options[a].value),o&&t(u)&&(u=n.defaultValue),function n(r,o){if("option"===r.type)!function(n,r){var o=n.props||f,i=n.dom;i.value=o.value,o.value===r||e(r)&&-1!==r.indexOf(o.value)?i.selected=!0:t(r)&&t(o.selected)||(i.selected=o.selected||!1)}(r,o);else{var i=r.children,l=r.flags;if(4&l)n(i.$LI,o);else if(8&l)n(i,o);else if(2===r.childFlags)n(i,o);else if(12&r.childFlags)for(var a=0,u=i.length;a0;for(var a in l&&(i=ve(t))&&function(e,n,t){64&e?function(e,n){te(n.type)?(ne(e,"change",oe),ne(e,"click",ie)):ne(e,"input",re)}(n,t):256&e?function(e){ne(e,"change",ae)}(n):128&e&&function(e,n){ne(e,"input",se),n.onChange&&ne(e,"change",de)}(n,t)}(n,r,t),t)we(a,null,t[a],r,o,i,null);l&&he(n,e,r,t,!0,i)}function Ne(e,n,t){var r=E(e.render(n,e.state,t)),i=t;return o(e.getChildContext)&&(i=a(t,e.getChildContext())),e.$CX=i,r}function Se(e,n,t,r,i,a){var u=new n(t,r),c=u.$N=Boolean(n.getDerivedStateFromProps||u.getSnapshotBeforeUpdate);if(u.$SVG=i,u.$L=a,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(o(u.componentWillMount)){u.$BR=!0,u.componentWillMount();var s=u.$PS;if(!l(s)){var d=u.state;if(l(d))u.state=s;else for(var p in s)d[p]=s[p];u.$PS=null}u.$BR=!1}return u.$LI=Ne(u,t,r),u}function Pe(e,n,t,r,o,i){var l=e.flags|=16384;481&l?Ve(e,n,t,r,o,i):4&l?function(e,n,t,r,o,i){var l=Se(e,e.type,e.props||f,t,r,i);Pe(l.$LI,n,l.$CX,r,o,i),Le(e.ref,l,i)}(e,n,t,r,o,i):8&l?(function(e,n,t,r,o,i){Pe(e.children=E(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),Me(e,i)):512&l||16&l?Ue(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=T()),2===a?Pe(l,t,o,r,o,i):Fe(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=T();Ue(i,t,r),e.dom=i.dom}(e,t,n,o,i)}function Ue(e,n,t){var r=e.dom=document.createTextNode(e.children);l(n)||p(n,r,t)}function Ve(e,n,r,o,i,a){var u=e.flags,c=e.props,f=e.className,s=e.children,d=e.childFlags,h=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(t(f)||""===f||(o?h.setAttribute("class",f):h.className=f),16===d)w(h,s);else if(1!==d){var v=o&&"foreignObject"!==e.type;2===d?(16384&s.flags&&(e.children=s=I(s)),Pe(s,h,r,v,null,a)):8!==d&&4!==d||Fe(s,h,r,v,null,a)}l(n)||p(n,h,i),l(c)||$e(e,u,c,h,o),ge(e.ref,h,a)}function Fe(e,n,t,r,o,i){for(var l=0;l0,c!==s){var h=c||f;if((a=s||f)!==f)for(var v in(d=(448&i)>0)&&(p=ve(a)),a){var m=h[v],g=a[v];m!==g&&we(v,m,g,u,o,p,e)}if(h!==f)for(var y in h)t(a[y])&&!t(h[y])&&we(y,h[y],null,u,o,p,e)}var b=n.children,k=n.className;e.className!==k&&(t(k)?u.removeAttribute("class"):o?u.setAttribute("class",k):u.className=k),4096&i?function(e,n){e.textContent!==n&&(e.textContent=n)}(u,b):Te(e.childFlags,n.childFlags,e.children,b,u,r,o&&"foreignObject"!==n.type,null,e,l),d&&he(i,n,u,a,!1,p);var C=n.ref,x=e.ref;x!==C&&(me(x),ge(C,u,l))}(e,n,u,c,v,p):4&v?function(e,n,t,r,i,u,c){var s=n.children=e.children;if(l(s))return;s.$L=c;var d=n.props||f,p=n.ref,h=e.ref,v=s.state;if(!s.$N){if(o(s.componentWillReceiveProps)){if(s.$BR=!0,s.componentWillReceiveProps(d,r),s.$UN)return;s.$BR=!1}l(s.$PS)||(v=a(v,s.$PS),s.$PS=null)}_e(s,v,d,t,r,i,!1,u,c),h!==p&&(me(h),ge(p,s,c))}(e,n,i,u,c,s,p):8&v?function(e,n,r,i,l,a,u){var c=!0,s=n.props||f,d=n.ref,p=e.props,h=!t(d),v=e.children;if(h&&o(d.onComponentShouldUpdate)&&(c=d.onComponentShouldUpdate(p,s)),!1!==c){h&&o(d.onComponentWillUpdate)&&d.onComponentWillUpdate(p,s);var m=n.type,g=E(32768&n.flags?m.render(s,d,i):m(s,i));Ie(v,g,r,i,l,a,u),n.children=g,h&&o(d.onComponentDidUpdate)&&d.onComponentDidUpdate(p,s)}else n.children=v}(e,n,i,u,c,s,p):16&v?function(e,n){var t=n.children,r=n.dom=e.dom;t!==e.children&&(r.nodeValue=t)}(e,n):512&v?n.dom=e.dom:8192&v?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=T());var s=0!==(2&c);if(12&u){var d=l.length;(8&u&&8&c||s||!s&&a.length>d)&&(f=g(l[d-1],!1).nextSibling)}Te(u,c,l,a,t,r,o,f,e,i)}(e,n,i,u,c,p):function(e,n,t,o){var i=e.ref,l=n.ref,a=n.children;if(Te(e.childFlags,n.childFlags,e.children,a,i,t,!1,null,e,o),n.dom=e.dom,i!==l&&!r(a)){var u=a.dom;h(i,u),d(l,u)}}(e,n,u,p)}function Te(e,n,t,r,o,i,l,a,u,c){switch(e){case 2:switch(n){case 2:Ie(t,r,o,i,l,a,c);break;case 1:ye(t,o);break;case 16:be(t),w(o,r);break;default:!function(e,n,t,r,o,i){be(e),Fe(n,t,r,o,g(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:Fe(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:Ce(o),Pe(r,o,i,l,a,c);break;case 1:Ce(o);break;default:Ce(o),Fe(r,o,i,l,a,c)}break;default:switch(n){case 16:ke(t),w(o,r);break;case 2:xe(o,u,t),Pe(r,o,i,l,a,c);break;case 1:xe(o,u,t);break;default:var f=0|t.length,s=0|r.length;0===f?s>0&&Fe(r,o,i,l,a,c):0===s?xe(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,h=0,v=e[h],m=n[h];e:{for(;v.key===m.key;){if(16384&m.flags&&(n[h]=m=I(m)),Ie(v,m,t,r,o,a,c),e[h]=m,++h>d||h>p)break e;v=e[h],m=n[h]}for(v=e[d],m=n[p];v.key===m.key;){if(16384&m.flags&&(n[p]=m=I(m)),Ie(v,m,t,r,o,a,c),e[d]=m,p--,h>--d||h>p)break e;v=e[d],m=n[p]}}if(h>d){if(h<=p)for(s=(f=p+1)p)for(;h<=d;)ye(e[h++],t);else!function(e,n,t,r,o,i,l,a,u,c,f,s,d){var p,h,v,m=0,y=a,k=a,C=i-a+1,x=l-a+1,w=new Int32Array(x+1),$=C===r,N=!1,S=0,P=0;if(o<4||(C|x)<32)for(m=y;m<=i;++m)if(p=e[m],Pa?N=!0:S=a,16384&h.flags&&(n[a]=h=I(h)),Ie(p,h,u,t,c,f,d),++P;break}!$&&a>l&&ye(p,u)}else $||ye(p,u);else{var U={};for(m=k;m<=l;++m)U[n[m].key]=m;for(m=y;m<=i;++m)if(p=e[m],Py;)ye(e[y++],u);w[a-k]=m+1,S>a?N=!0:S=a,16384&(h=n[a]).flags&&(n[a]=h=I(h)),Ie(p,h,u,t,c,f,d),++P}else $||ye(p,u);else $||ye(p,u)}if($)xe(u,s,e),Fe(n,u,t,c,f,d);else if(N){var V=function(e){var n=0,t=0,r=0,o=0,i=0,l=0,a=0,u=e.length;for(u>Ae&&(Ae=u,ce=new Int32Array(u),fe=new Int32Array(u));t>1]]0&&(fe[t]=ce[i-1]),ce[i]=t)}i=o+1;var c=new Int32Array(i);for(l=ce[i-1];i-- >0;)c[i]=l,l=fe[l],ce[i]=0;return c}(w);for(a=V.length-1,m=x-1;m>=0;m--)0===w[m]?(16384&(h=n[S=m+k]).flags&&(n[S]=h=I(h)),Pe(h,u,t,c,(v=S+1)=0;m--)0===w[m]&&(16384&(h=n[S=m+k]).flags&&(n[S]=h=I(h)),Pe(h,u,t,c,(v=S+1)l?l:i,d=0;dl)for(d=s;d1)for(i=[];l-- >0;)i[l]=r[l+2];if(n.children=i,14&o)return V(o,e.type,e.props||n?Xe(e.props,n):f,u,c);if(16&o)return F(i);if(8192&o)return L(1===l?[i]:i,0,u);return M(U(o,e.type,a,null,1,Xe(e.props,n),u,c))}function Ge(e){throw e||(e="a runtime error occured! Use Inferno in development environment to find the error."),new Error("Inferno Error: "+e)}Qe.prototype.forceUpdate=function(e){if(this.$UN)return;We(this,{},e,!0)},Qe.prototype.setState=function(e,n){if(this.$UN)return;this.$BS||We(this,e,n,!1)},Qe.prototype.render=function(e,n,t){return null};var Ke={componentDidMount:1,componentDidUnmount:1,componentDidUpdate:1,componentWillMount:1,componentWillUnmount:1,componentWillUpdate:1,constructor:1,render:1,shouldComponentUpdate:1};function Je(e,n){for(var t in n)e[t]=n[t];return e}function Ye(e,n){void 0===n&&(n={});for(var t=0,r=e.length;t1)for(r=[];f-- >0;)r[f]=i[f+2];if(!rn(e)){if(c=2,on(r)||(n||(n={}),n.children=r),!tn(n))for(var s in o={},n)"key"===s?a=n.key:"ref"===s?l=n.ref:1===ln[s]?(l||(l={}),l[s]=n[s]):o[s]=n[s];return V(c,e,o,a,l)}if(c=A(e),!tn(n))for(var d in o={},n)"className"===d||"class"===d?u=n[d]:"key"===d?a=n.key:"children"===d&&on(r)?r=n.children:"ref"===d?l=n.ref:("contenteditable"===d&&(c|=4096),o[d]=n[d]);if(8192&c)return L(1===f?[r]:r,0,a);return U(c,e,u,r,0,o,a,l)}function un(e){return null===e}function cn(e,n,t,r,o,i){var l=e.childFlags,a=e.children,u=e.props,c=e.flags;if(1!==l){if(2===l)un(t)?Pe(a,n,r,o,null,i):t=(t=sn(a,n,t,r,o,i))?t.nextSibling:null;else if(16===l)un(t)?n.appendChild(document.createTextNode(a)):1!==n.childNodes.length||3!==t.nodeType?n.textContent=a:t.nodeValue!==a&&(t.nodeValue=a),t=null;else if(12&l)for(var f=!1,s=0,d=a.length;s0?Pe(p,n,r,o,t,i):t=(t=sn(p,n,t,r,o,i))?t.nextSibling:null,f=(16&p.flags)>0}if(0===(8192&c))for(var h=null;t;)h=t.nextSibling,n.removeChild(t),t=h}else un(n.firstChild)||function(e,n){return Boolean(n&&n.dangerouslySetInnerHTML&&n.dangerouslySetInnerHTML.__html&&function(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}(e,n.dangerouslySetInnerHTML.__html))}(n,u)||(n.textContent="",448&c&&(n.defaultValue=""))}function fn(e,n,t){if(3!==t.nodeType)n.replaceChild(e.dom=document.createTextNode(e.children),t);else{var r=e.children;t.nodeValue!==r&&(t.nodeValue=r),e.dom=t}return e.dom}function sn(e,n,t,r,o,i){var l=e.flags|=16384;if(14&l)return function(e,n,t,r,o,i,l){var a,u=e.type,c=e.ref,s=e.props||f;if(i){var d=Se(e,u,s,r,o,l);a=sn(d.$LI,n,t,d.$CX,o,l),Le(c,d,l)}else{var p=E(function(e,n,t){return 32768&e.flags?e.type.render(t,e.ref,n):e.type(t,n)}(e,r,s));a=sn(p,n,t,r,o,l),e.children=p,Me(e,l)}return a}(e,n,t,r,o,(4&l)>0,i);if(481&l)return function(e,n,t,r,o,i){var l,a=e.props,u=e.className,c=e.flags,f=e.ref;return o=o||(32&c)>0,1!==t.nodeType||t.tagName.toLowerCase()!==e.type?(Ve(e,null,r,o,null,i),n.replaceChild(e.dom,t)):(e.dom=t,cn(e,t,t.firstChild,r,o,i),un(a)||$e(e,c,a,t,o),void 0===(l=u)||null===l?""!==t.className&&t.removeAttribute("class"):o?t.setAttribute("class",u):t.className=u,ge(f,t,i)),e.dom}(e,n,t,r,o,i);if(16&l)return fn(e,n,t);if(512&l)return e.dom=t;if(8192&l)return function(e,n,t,r,o,i){var l=e.children;if(2===e.childFlags)return fn(l,n,t),l.dom;return cn(e,n,t,r,o,i),function(e){for(var n,t;e;){if(2033&(n=e.flags))return e.dom;t=e.children,e=8192&n?2===e.childFlags?t:t[t.length-1]:4&n?t.$LI:t}return null}(l[l.length-1])}(e,n,t,r,o,i);return function(e){throw e||(e="a runtime error occured! Use Inferno in development environment to find the error."),new Error("Inferno Error: "+e)}(),null}var dn=Array.isArray;function pn(e){return void 0===e||null===e}function hn(e){return"string"===typeof e}function vn(e){return null===e}function mn(){}mn.isRequired=mn;var gn=function(){return mn},yn={any:gn,array:mn,arrayOf:gn,bool:mn,checkPropTypes:function(){return null},element:gn,func:mn,instanceOf:gn,node:gn,number:mn,object:mn,objectOf:gn,oneOf:gn,oneOfType:gn,shape:gn,string:mn,symbol:mn},bn={htmlFor:"for",onDoubleClick:"onDblClick"},kn=/[\-\:]([a-z])/g,Cn=function(e){return e[1].toUpperCase()};function xn(e,n){switch(e){case"animation-iteration-count":case"border-image-outset":case"border-image-slice":case"border-image-width":case"box-flex":case"box-flex-group":case"box-ordinal-group":case"column-count":case"fill-opacity":case"flex":case"flex-grow":case"flex-negative":case"flex-order":case"flex-positive":case"flex-shrink":case"flood-opacity":case"font-weight":case"grid-column":case"grid-row":case"line-clamp":case"line-height":case"opacity":case"order":case"orphans":case"stop-opacity":case"stroke-dasharray":case"stroke-dashoffset":case"stroke-miterlimit":case"stroke-opacity":case"stroke-width":case"tab-size":case"widows":case"z-index":case"zoom":return n;default:return n+"px"}}["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-constiant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","x-height","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xmlns:xlink","xml:lang","xml:space"].forEach((function(e){var n=e.replace(kn,Cn);bn[n]=e}));var wn=/[A-Z]/g;x.reactStyles=!0;var $n=[],Nn={map:function(e,n,t){if(pn(e))return e;return e=Nn.toArray(e),t&&(n=n.bind(t)),e.map(n)},forEach:function(e,n,t){if(pn(e))return;e=Nn.toArray(e),t&&(n=n.bind(t));for(var r=0,o=e.length;r0)for(var l;void 0!==(l=i.shift());)l()}n.$V=e,function(e){return"function"===typeof e}(t)&&t()},isValidElement:function(e){if("object"!==typeof e||vn(e))return!1;return(495&e.flags)>0},linkEvent:u,normalizeProps:M,options:x,render:_n,rerender:He,unmountComponentAtNode:function(e){return De(null,e,null,null),!0},unstable_renderSubtreeIntoContainer:function(e,n,t,r){_n(V(4,Tn,{children:n,context:e.context}),t,null);var o=n.children;return r&&r.call(o),o},version:"15.4.2"};window.React=An,window.ReactDOM=An}function Dn(e){return U(1,"li","TreeLeaf",F(e.children),0,null,null,null)}function En(e,n){return e!==n}function On(e){for(var n=e.data,t=n.children.length,r=new Array(t),o=0;o0,v=i(d),h=o(d)&&"$"===d[0];p||v||h?(a=a||l.slice(0,f),(p||h)&&(s=N(s)),(v||h)&&(s.key="$"+f),a.push(s)):a&&a.push(s),s.flags|=65536}}u=0===(a=a||l).length?1:8}else(a=l).flags|=65536,81920&l.flags&&(a=N(l)),u=2;t.children=a,t.childFlags=u}(v,v.children),v}function x(e,n,r,l,o){var i=new P(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),l,function(e,n,r){var l=(32768&e?n.render:n).defaultProps;if(t(l))return r;if(t(r))return a(l,null);return $(r,l)}(e,n,r),function(e,n,r){if(4&e)return r;var l=(32768&e?n.render:n).defaultHooks;if(t(l))return r;if(t(r))return l;return $(r,l)}(e,n,o),n);return k.createVNode&&k.createVNode(i),i}function U(e,n){return new P(1,t(e)||!0===e||!1===e?"":e,null,16,n,null,null,null)}function V(e,n,t){var r=S(8192,8192,null,e,n,null,t,null);switch(r.childFlags){case 1:r.children=L(),r.childFlags=2;break;case 16:r.children=[U(e)],r.childFlags=4}return r}function N(e){var n=-16385&e.flags,t=e.props;if(14&n&&!i(t)){var r=t;for(var l in t={},r)t[l]=r[l]}if(0===(8192&n))return new P(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=N(t);else if(12&r){n=[];for(var l=0,o=t.length;l-1&&r.options[a]&&(u=r.options[a].value),l&&t(u)&&(u=n.defaultValue),function n(r,l){if("option"===r.type)!function(n,r){var l=n.props||f,o=n.dom;o.value=l.value,l.value===r||e(r)&&-1!==r.indexOf(l.value)?o.selected=!0:t(r)&&t(l.selected)||(o.selected=l.selected||!1)}(r,l);else{var o=r.children,i=r.flags;if(4&i)n(o.$LI,l);else if(8&i)n(o,l);else if(2===r.childFlags)n(o,l);else if(12&r.childFlags)for(var a=0,u=o.length;a0);if(t(f)||""===f||(l?v.setAttribute("class",f):v.className=f),16===d)C(v,s);else if(1!==d){var h=l&&"foreignObject"!==e.type;2===d?(16384&s.flags&&(e.children=s=N(s)),ke(s,v,r,h,null,a)):8!==d&&4!==d||we(s,v,r,h,null,a)}i(n)||p(n,v,o),i(c)||function(e,n,t,r,l){var o=!1,i=(448&n)>0;for(var a in i&&(o=fe(t))&&function(e,n,t){64&e?function(e,n){Q(n.type)?(J(e,"change",Z),J(e,"click",ee)):J(e,"input",Y)}(n,t):256&e?function(e){J(e,"change",te)}(n):128&e&&function(e,n){J(e,"input",ie),n.onChange&&J(e,"change",ae)}(n,t)}(n,r,t),t)ye(a,null,t[a],r,l,o,null);i&&ce(n,e,r,t,!0,o)}(e,u,c,v,l),de(e.ref,v,a)}(e,n,r,o,a,u):4&c?function(e,n,t,r,o,a){var u=function(e,n,t,r,o,a){var u=new n(t,r),c=u.$N=Boolean(n.getDerivedStateFromProps||u.getSnapshotBeforeUpdate);if(u.$SVG=o,u.$L=a,e.children=u,u.$BS=!1,u.context=r,u.props===f&&(u.props=t),c)u.state=b(u,t,u.state);else if(l(u.componentWillMount)){u.$BR=!0,u.componentWillMount();var s=u.$PS;if(!i(s)){var d=u.state;if(i(d))u.state=s;else for(var p in s)d[p]=s[p];u.$PS=null}u.$BR=!1}return u.$LI=be(u,t,r),u}(e,e.type,e.props||f,t,r,a);ke(u.$LI,n,u.$CX,r,o,a),function(e,n,t){de(e,n,t),l(n.componentDidMount)&&t.push(function(e){return function(){e.componentDidMount()}}(n))}(e.ref,u,a)}(e,n,r,o,a,u):8&c?(function(e,n,t,r,l,o){ke(e.children=I(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,l,o)}(e,n,r,o,a,u),function(e,n){var r=e.ref;t(r)||(F(r.onComponentWillMount,e.props||f),l(r.onComponentDidMount)&&n.push(function(e,n){return function(){e.onComponentDidMount(m(n,!0),n.props||f)}}(r,e)))}(e,u)):512&c||16&c?Ce(e,n,a):8192&c?function(e,n,t,r,l,o){var i=e.children,a=e.childFlags;12&a&&0===i.length&&(a=e.childFlags=2,i=e.children=L()),2===a?ke(i,t,l,r,l,o):we(i,t,n,r,l,o)}(e,r,n,o,a,u):1024&c&&function(e,n,t,r,l){ke(e.children,e.ref,n,!1,null,l);var o=L();Ce(o,t,r),e.dom=o.dom}(e,r,n,a,u)}function Ce(e,n,t){var r=e.dom=document.createTextNode(e.children);i(n)||p(n,r,t)}function we(e,n,t,r,l,o){for(var i=0;i0,c!==s){var v=c||f;if((a=s||f)!==f)for(var h in(d=(448&o)>0)&&(p=fe(a)),a){var m=v[h],g=a[h];m!==g&&ye(h,m,g,u,l,p,e)}if(v!==f)for(var y in v)t(a[y])&&!t(v[y])&&ye(y,v[y],null,u,l,p,e)}var b=n.children,k=n.className;e.className!==k&&(t(k)?u.removeAttribute("class"):l?u.setAttribute("class",k):u.className=k),4096&o?function(e,n){e.textContent!==n&&(e.textContent=n)}(u,b):Fe(e.childFlags,n.childFlags,e.children,b,u,r,l&&"foreignObject"!==n.type,null,e,i),d&&ce(o,n,u,a,!1,p);var C=n.ref,w=e.ref;w!==C&&(se(w),de(C,u,i))}(e,n,u,c,h,p):4&h?function(e,n,t,r,o,u,c){var s=n.children=e.children;if(i(s))return;s.$L=c;var d=n.props||f,p=n.ref,v=e.ref,h=s.state;if(!s.$N){if(l(s.componentWillReceiveProps)){if(s.$BR=!0,s.componentWillReceiveProps(d,r),s.$UN)return;s.$BR=!1}i(s.$PS)||(h=a(h,s.$PS),s.$PS=null)}(function(e,n,t,r,o,i,u,c,f){var s=e.state,d=e.props,p=Boolean(e.$N),v=l(e.shouldComponentUpdate);if(p&&(n=b(e,t,n!==s?a(s,n):n)),!v||v&&e.shouldComponentUpdate(t,n,o)){!p&&l(e.componentWillUpdate)&&e.componentWillUpdate(t,n,o),e.props=t,e.state=n,e.context=o;var h=null,m=be(e,t,o);p&&l(e.getSnapshotBeforeUpdate)&&(h=e.getSnapshotBeforeUpdate(d,s)),$e(e.$LI,m,r,e.$CX,i,c,f),e.$LI=m,l(e.componentDidUpdate)&&function(e,n,t,r,l){l.push((function(){e.componentDidUpdate(n,t,r)}))}(e,d,s,h,f)}else e.props=t,e.state=n,e.context=o})(s,h,d,t,r,o,0,u,c),v!==p&&(se(v),de(p,s,c))}(e,n,o,u,c,s,p):8&h?function(e,n,r,o,i,a,u){var c=!0,s=n.props||f,d=n.ref,p=e.props,v=!t(d),h=e.children;if(v&&l(d.onComponentShouldUpdate)&&(c=d.onComponentShouldUpdate(p,s)),!1!==c){v&&l(d.onComponentWillUpdate)&&d.onComponentWillUpdate(p,s);var m=n.type,g=I(32768&n.flags?m.render(s,d,o):m(s,o));$e(h,g,r,o,i,a,u),n.children=g,v&&l(d.onComponentDidUpdate)&&d.onComponentDidUpdate(p,s)}else n.children=h}(e,n,o,u,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,l,o){var i=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=i.length;(8&u&&8&c||s||!s&&a.length>d)&&(f=m(i[d-1],!1).nextSibling)}Fe(u,c,i,a,t,r,l,f,e,o)}(e,n,o,u,c,p):function(e,n,t,l){var o=e.ref,i=n.ref,a=n.children;if(Fe(e.childFlags,n.childFlags,e.children,a,o,t,!1,null,e,l),n.dom=e.dom,o!==i&&!r(a)){var u=a.dom;v(o,u),d(i,u)}}(e,n,u,p)}function Fe(e,n,t,r,l,o,i,a,u,c){switch(e){case 2:switch(n){case 2:$e(t,r,l,o,i,a,c);break;case 1:pe(t,l);break;case 16:ve(t),C(l,r);break;default:!function(e,n,t,r,l,o){ve(e),we(n,t,r,l,m(e,!0),o),g(e,t)}(t,r,l,o,i,c)}break;case 1:switch(n){case 2:ke(r,l,o,i,a,c);break;case 1:break;case 16:C(l,r);break;default:we(r,l,o,i,a,c)}break;case 16:switch(n){case 16:!function(e,n,t){e!==n&&(""!==e?t.firstChild.nodeValue=n:C(t,n))}(t,r,l);break;case 2:me(l),ke(r,l,o,i,a,c);break;case 1:me(l);break;default:me(l),we(r,l,o,i,a,c)}break;default:switch(n){case 16:he(t),C(l,r);break;case 2:ge(l,u,t),ke(r,l,o,i,a,c);break;case 1:ge(l,u,t);break;default:var f=0|t.length,s=0|r.length;0===f?s>0&&we(r,l,o,i,a,c):0===s?ge(l,u,t):8===n&&8===e?function(e,n,t,r,l,o,i,a,u,c){var f,s,d=o-1,p=i-1,v=0,h=e[v],g=n[v];e:{for(;h.key===g.key;){if(16384&g.flags&&(n[v]=g=N(g)),$e(h,g,t,r,l,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=N(g)),$e(h,g,t,r,l,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)p)for(;v<=d;)pe(e[v++],t);else!function(e,n,t,r,l,o,i,a,u,c,f,s,d){var p,v,h,g=0,b=a,k=a,C=o-a+1,w=i-a+1,$=new Int32Array(w+1),F=C===r,P=!1,S=0,x=0;if(l<4||(C|w)<32)for(g=b;g<=o;++g)if(p=e[g],xa?P=!0:S=a,16384&v.flags&&(n[a]=v=N(v)),$e(p,v,u,t,c,f,d),++x;break}!F&&a>i&&pe(p,u)}else F||pe(p,u);else{var U={};for(g=k;g<=i;++g)U[n[g].key]=g;for(g=b;g<=o;++g)if(p=e[g],xb;)pe(e[b++],u);$[a-k]=g+1,S>a?P=!0:S=a,16384&(v=n[a]).flags&&(n[a]=v=N(v)),$e(p,v,u,t,c,f,d),++x}else F||pe(p,u);else F||pe(p,u)}if(F)ge(u,s,e),we(n,u,t,c,f,d);else if(P){var V=function(e){var n=0,t=0,r=0,l=0,o=0,i=0,a=0,u=e.length;for(u>Pe&&(Pe=u,le=new Int32Array(u),oe=new Int32Array(u));t>1]]0&&(oe[t]=le[o-1]),le[o]=t)}o=l+1;var c=new Int32Array(o);for(i=le[o-1];o-- >0;)c[o]=i,i=oe[i],le[o]=0;return c}($);for(a=V.length-1,g=w-1;g>=0;g--)0===$[g]?(16384&(v=n[S=g+k]).flags&&(n[S]=v=N(v)),ke(v,u,t,c,(h=S+1)=0;g--)0===$[g]&&(16384&(v=n[S=g+k]).flags&&(n[S]=v=N(v)),ke(v,u,t,c,(h=S+1)i?i:o,d=0;di)for(d=s;d0&&function(e){for(var n;void 0!==(n=e.shift());)n()}(i),l(r)&&r(),l(k.renderComplete)&&k.renderComplete(a,n)}(e,n,r,o)}function xe(e){return S(1,"li","TreeLeaf",e.children,0,null,null,null)}function Ue(e,n){return e!==n}function Ve(e){for(var n=e.data,t=n.children.length,r=new Array(t),l=0;l0,v=i(d),h=o(d)&&"$"===d[0];p||v||h?(a=a||l.slice(0,f),(p||h)&&(s=N(s)),(v||h)&&(s.key="$"+f),a.push(s)):a&&a.push(s),s.flags|=65536}}u=0===(a=a||l).length?1:8}else(a=l).flags|=65536,81920&l.flags&&(a=N(l)),u=2;t.children=a,t.childFlags=u}(v,v.children),v}function x(e,n,r,l,o){var i=new P(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),l,function(e,n,r){var l=(32768&e?n.render:n).defaultProps;if(t(l))return r;if(t(r))return a(l,null);return $(r,l)}(e,n,r),function(e,n,r){if(4&e)return r;var l=(32768&e?n.render:n).defaultHooks;if(t(l))return r;if(t(r))return l;return $(r,l)}(e,n,o),n);return k.createVNode&&k.createVNode(i),i}function U(e,n){return new P(1,t(e)||!0===e||!1===e?"":e,null,16,n,null,null,null)}function V(e,n,t){var r=S(8192,8192,null,e,n,null,t,null);switch(r.childFlags){case 1:r.children=L(),r.childFlags=2;break;case 16:r.children=[U(e)],r.childFlags=4}return r}function N(e){var n=-16385&e.flags,t=e.props;if(14&n&&!i(t)){var r=t;for(var l in t={},r)t[l]=r[l]}if(0===(8192&n))return new P(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=N(t);else if(12&r){n=[];for(var l=0,o=t.length;l-1&&r.options[a]&&(u=r.options[a].value),l&&t(u)&&(u=n.defaultValue),function n(r,l){if("option"===r.type)!function(n,r){var l=n.props||f,o=n.dom;o.value=l.value,l.value===r||e(r)&&-1!==r.indexOf(l.value)?o.selected=!0:t(r)&&t(l.selected)||(o.selected=l.selected||!1)}(r,l);else{var o=r.children,i=r.flags;if(4&i)n(o.$LI,l);else if(8&i)n(o,l);else if(2===r.childFlags)n(o,l);else if(12&r.childFlags)for(var a=0,u=o.length;a0);if(t(f)||""===f||(l?v.setAttribute("class",f):v.className=f),16===d)C(v,s);else if(1!==d){var h=l&&"foreignObject"!==e.type;2===d?(16384&s.flags&&(e.children=s=N(s)),ke(s,v,r,h,null,a)):8!==d&&4!==d||we(s,v,r,h,null,a)}i(n)||p(n,v,o),i(c)||function(e,n,t,r,l){var o=!1,i=(448&n)>0;for(var a in i&&(o=fe(t))&&function(e,n,t){64&e?function(e,n){Q(n.type)?(J(e,"change",Z),J(e,"click",ee)):J(e,"input",Y)}(n,t):256&e?function(e){J(e,"change",te)}(n):128&e&&function(e,n){J(e,"input",ie),n.onChange&&J(e,"change",ae)}(n,t)}(n,r,t),t)ye(a,null,t[a],r,l,o,null);i&&ce(n,e,r,t,!0,o)}(e,u,c,v,l),de(e.ref,v,a)}(e,n,r,o,a,u):4&c?function(e,n,t,r,o,a){var u=function(e,n,t,r,o,a){var u=new n(t,r),c=u.$N=Boolean(n.getDerivedStateFromProps||u.getSnapshotBeforeUpdate);if(u.$SVG=o,u.$L=a,e.children=u,u.$BS=!1,u.context=r,u.props===f&&(u.props=t),c)u.state=b(u,t,u.state);else if(l(u.componentWillMount)){u.$BR=!0,u.componentWillMount();var s=u.$PS;if(!i(s)){var d=u.state;if(i(d))u.state=s;else for(var p in s)d[p]=s[p];u.$PS=null}u.$BR=!1}return u.$LI=be(u,t,r),u}(e,e.type,e.props||f,t,r,a);ke(u.$LI,n,u.$CX,r,o,a),function(e,n,t){de(e,n,t),l(n.componentDidMount)&&t.push(function(e){return function(){e.componentDidMount()}}(n))}(e.ref,u,a)}(e,n,r,o,a,u):8&c?(function(e,n,t,r,l,o){ke(e.children=I(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,l,o)}(e,n,r,o,a,u),function(e,n){var r=e.ref;t(r)||(F(r.onComponentWillMount,e.props||f),l(r.onComponentDidMount)&&n.push(function(e,n){return function(){e.onComponentDidMount(m(n,!0),n.props||f)}}(r,e)))}(e,u)):512&c||16&c?Ce(e,n,a):8192&c?function(e,n,t,r,l,o){var i=e.children,a=e.childFlags;12&a&&0===i.length&&(a=e.childFlags=2,i=e.children=L()),2===a?ke(i,t,l,r,l,o):we(i,t,n,r,l,o)}(e,r,n,o,a,u):1024&c&&function(e,n,t,r,l){ke(e.children,e.ref,n,!1,null,l);var o=L();Ce(o,t,r),e.dom=o.dom}(e,r,n,a,u)}function Ce(e,n,t){var r=e.dom=document.createTextNode(e.children);i(n)||p(n,r,t)}function we(e,n,t,r,l,o){for(var i=0;i0,c!==s){var v=c||f;if((a=s||f)!==f)for(var h in(d=(448&o)>0)&&(p=fe(a)),a){var m=v[h],g=a[h];m!==g&&ye(h,m,g,u,l,p,e)}if(v!==f)for(var y in v)t(a[y])&&!t(v[y])&&ye(y,v[y],null,u,l,p,e)}var b=n.children,k=n.className;e.className!==k&&(t(k)?u.removeAttribute("class"):l?u.setAttribute("class",k):u.className=k),4096&o?function(e,n){e.textContent!==n&&(e.textContent=n)}(u,b):Fe(e.childFlags,n.childFlags,e.children,b,u,r,l&&"foreignObject"!==n.type,null,e,i),d&&ce(o,n,u,a,!1,p);var C=n.ref,w=e.ref;w!==C&&(se(w),de(C,u,i))}(e,n,u,c,h,p):4&h?function(e,n,t,r,o,u,c){var s=n.children=e.children;if(i(s))return;s.$L=c;var d=n.props||f,p=n.ref,v=e.ref,h=s.state;if(!s.$N){if(l(s.componentWillReceiveProps)){if(s.$BR=!0,s.componentWillReceiveProps(d,r),s.$UN)return;s.$BR=!1}i(s.$PS)||(h=a(h,s.$PS),s.$PS=null)}(function(e,n,t,r,o,i,u,c,f){var s=e.state,d=e.props,p=Boolean(e.$N),v=l(e.shouldComponentUpdate);if(p&&(n=b(e,t,n!==s?a(s,n):n)),!v||v&&e.shouldComponentUpdate(t,n,o)){!p&&l(e.componentWillUpdate)&&e.componentWillUpdate(t,n,o),e.props=t,e.state=n,e.context=o;var h=null,m=be(e,t,o);p&&l(e.getSnapshotBeforeUpdate)&&(h=e.getSnapshotBeforeUpdate(d,s)),$e(e.$LI,m,r,e.$CX,i,c,f),e.$LI=m,l(e.componentDidUpdate)&&function(e,n,t,r,l){l.push((function(){e.componentDidUpdate(n,t,r)}))}(e,d,s,h,f)}else e.props=t,e.state=n,e.context=o})(s,h,d,t,r,o,0,u,c),v!==p&&(se(v),de(p,s,c))}(e,n,o,u,c,s,p):8&h?function(e,n,r,o,i,a,u){var c=!0,s=n.props||f,d=n.ref,p=e.props,v=!t(d),h=e.children;if(v&&l(d.onComponentShouldUpdate)&&(c=d.onComponentShouldUpdate(p,s)),!1!==c){v&&l(d.onComponentWillUpdate)&&d.onComponentWillUpdate(p,s);var m=n.type,g=I(32768&n.flags?m.render(s,d,o):m(s,o));$e(h,g,r,o,i,a,u),n.children=g,v&&l(d.onComponentDidUpdate)&&d.onComponentDidUpdate(p,s)}else n.children=h}(e,n,o,u,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,l,o){var i=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=i.length;(8&u&&8&c||s||!s&&a.length>d)&&(f=m(i[d-1],!1).nextSibling)}Fe(u,c,i,a,t,r,l,f,e,o)}(e,n,o,u,c,p):function(e,n,t,l){var o=e.ref,i=n.ref,a=n.children;if(Fe(e.childFlags,n.childFlags,e.children,a,o,t,!1,null,e,l),n.dom=e.dom,o!==i&&!r(a)){var u=a.dom;v(o,u),d(i,u)}}(e,n,u,p)}function Fe(e,n,t,r,l,o,i,a,u,c){switch(e){case 2:switch(n){case 2:$e(t,r,l,o,i,a,c);break;case 1:pe(t,l);break;case 16:ve(t),C(l,r);break;default:!function(e,n,t,r,l,o){ve(e),we(n,t,r,l,m(e,!0),o),g(e,t)}(t,r,l,o,i,c)}break;case 1:switch(n){case 2:ke(r,l,o,i,a,c);break;case 1:break;case 16:C(l,r);break;default:we(r,l,o,i,a,c)}break;case 16:switch(n){case 16:!function(e,n,t){e!==n&&(""!==e?t.firstChild.nodeValue=n:C(t,n))}(t,r,l);break;case 2:me(l),ke(r,l,o,i,a,c);break;case 1:me(l);break;default:me(l),we(r,l,o,i,a,c)}break;default:switch(n){case 16:he(t),C(l,r);break;case 2:ge(l,u,t),ke(r,l,o,i,a,c);break;case 1:ge(l,u,t);break;default:var f=0|t.length,s=0|r.length;0===f?s>0&&we(r,l,o,i,a,c):0===s?ge(l,u,t):8===n&&8===e?function(e,n,t,r,l,o,i,a,u,c){var f,s,d=o-1,p=i-1,v=0,h=e[v],g=n[v];e:{for(;h.key===g.key;){if(16384&g.flags&&(n[v]=g=N(g)),$e(h,g,t,r,l,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=N(g)),$e(h,g,t,r,l,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)p)for(;v<=d;)pe(e[v++],t);else!function(e,n,t,r,l,o,i,a,u,c,f,s,d){var p,v,h,g=0,b=a,k=a,C=o-a+1,w=i-a+1,$=new Int32Array(w+1),F=C===r,P=!1,S=0,x=0;if(l<4||(C|w)<32)for(g=b;g<=o;++g)if(p=e[g],xa?P=!0:S=a,16384&v.flags&&(n[a]=v=N(v)),$e(p,v,u,t,c,f,d),++x;break}!F&&a>i&&pe(p,u)}else F||pe(p,u);else{var U={};for(g=k;g<=i;++g)U[n[g].key]=g;for(g=b;g<=o;++g)if(p=e[g],xb;)pe(e[b++],u);$[a-k]=g+1,S>a?P=!0:S=a,16384&(v=n[a]).flags&&(n[a]=v=N(v)),$e(p,v,u,t,c,f,d),++x}else F||pe(p,u);else F||pe(p,u)}if(F)ge(u,s,e),we(n,u,t,c,f,d);else if(P){var V=function(e){var n=0,t=0,r=0,l=0,o=0,i=0,a=0,u=e.length;for(u>Pe&&(Pe=u,le=new Int32Array(u),oe=new Int32Array(u));t>1]]0&&(oe[t]=le[o-1]),le[o]=t)}o=l+1;var c=new Int32Array(o);for(i=le[o-1];o-- >0;)c[o]=i,i=oe[i],le[o]=0;return c}($);for(a=V.length-1,g=w-1;g>=0;g--)0===$[g]?(16384&(v=n[S=g+k]).flags&&(n[S]=v=N(v)),ke(v,u,t,c,(h=S+1)=0;g--)0===$[g]&&(16384&(v=n[S=g+k]).flags&&(n[S]=v=N(v)),ke(v,u,t,c,(h=S+1)i?i:o,d=0;di)for(d=s;d0,h=a(d),v=i(d)&&"$"===d[0];p||h||v?(l=l||r.slice(0,s),(p||v)&&(f=I(f)),(h||v)&&(f.key="$"+s),l.push(f)):l&&l.push(f),f.flags|=65536}}u=0===(l=l||r).length?1:8}else(l=r).flags|=65536,81920&r.flags&&(l=I(r)),u=2;e.children=l,e.childFlags=u}(h,h.children),h}function N(e,n,t,o,l){var i=new S(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 x(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 x(t,o)}(e,n,l),n);return C.createVNode&&C.createVNode(i),i}function V(e,n){return new S(1,r(e)||!0===e||!1===e?"":e,null,16,n,null,null,null)}function L(e,n,t){var r=F(8192,8192,null,e,n,null,t,null);switch(r.childFlags){case 1:r.children=B(),r.childFlags=2;break;case 16:r.children=[V(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 S(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,l=t.length;o-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||s,l=e.dom;l.value=o.value,o.value===t||n(t)&&-1!==t.indexOf(o.value)?l.selected=!0:r(t)&&r(o.selected)||(l.selected=o.selected||!1)}(t,o);else{var l=t.children,i=t.flags;if(4&i)e(l.$LI,o);else if(8&i)e(l,o);else if(2===t.childFlags)e(l,o);else if(12&t.childFlags)for(var a=0,u=l.length;a0);if(r(s)||""===s||(o?h.setAttribute("class",s):h.className=s),16===d)w(h,f);else if(1!==d){var v=o&&"foreignObject"!==e.type;2===d?(16384&f.flags&&(e.children=f=I(f)),Ce(f,h,t,v,null,i)):8!==d&&4!==d||Ue(f,h,t,v,null,i)}a(n)||p(n,h,l),a(c)||function(e,n,t,r,o){var l=!1,i=(448&n)>0;for(var a in i&&(l=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)$e(a,null,t[a],r,o,l,null);i&&fe(n,e,r,t,!0,l)}(e,u,c,h,o),he(e.ref,h,i)}(e,n,t,o,i,u):4&c?function(e,n,t,r,o,i){var u=function(e,n,t,r,o,i){var u=new n(t,r),c=u.$N=Boolean(n.getDerivedStateFromProps||u.getSnapshotBeforeUpdate);if(u.$SVG=o,u.$L=i,e.children=u,u.$BS=!1,u.context=r,u.props===s&&(u.props=t),c)u.state=$(u,t,u.state);else if(l(u.componentWillMount)){u.$BR=!0,u.componentWillMount();var f=u.$PS;if(!a(f)){var d=u.state;if(a(d))u.state=f;else for(var p in f)d[p]=f[p];u.$PS=null}u.$BR=!1}return u.$LI=ke(u,t,r),u}(e,e.type,e.props||s,t,r,i);Ce(u.$LI,n,u.$CX,r,o,i),function(e,n,t){he(e,n,t),l(n.componentDidMount)&&t.push(function(e){return function(){e.componentDidMount()}}(n))}(e.ref,u,i)}(e,n,t,o,i,u):8&c?(function(e,n,t,r,o,l){Ce(e.children=T(function(e,n){return 32768&e.flags?e.type.render(e.props||s,e.ref,n):e.type(e.props||s,n)}(e,t)),n,t,r,o,l)}(e,n,t,o,i,u),function(e,n){var t=e.ref;r(t)||(P(t.onComponentWillMount,e.props||s),l(t.onComponentDidMount)&&n.push(function(e,n){return function(){e.onComponentDidMount(m(n,!0),n.props||s)}}(t,e)))}(e,u)):512&c||16&c?we(e,n,i):8192&c?function(e,n,t,r,o,l){var i=e.children,a=e.childFlags;12&a&&0===i.length&&(a=e.childFlags=2,i=e.children=B()),2===a?Ce(i,t,o,r,o,l):Ue(i,t,n,r,o,l)}(e,t,n,o,i,u):1024&c&&function(e,n,t,r,o){Ce(e.children,e.ref,n,!1,null,o);var l=B();we(l,t,r),e.dom=l.dom}(e,t,n,i,u)}function we(e,n,t){var r=e.dom=document.createTextNode(e.children);a(n)||p(n,r,t)}function Ue(e,n,t,r,o,l){for(var i=0;i0,c!==f){var h=c||s;if((a=f||s)!==s)for(var v in(d=(448&l)>0)&&(p=de(a)),a){var g=h[v],m=a[v];g!==m&&$e(v,g,m,u,o,p,e)}if(h!==s)for(var y in h)r(a[y])&&!r(h[y])&&$e(y,h[y],null,u,o,p,e)}var b=n.children,$=n.className;e.className!==$&&(r($)?u.removeAttribute("class"):o?u.setAttribute("class",$):u.className=$),4096&l?function(e,n){e.textContent!==n&&(e.textContent=n)}(u,b):Pe(e.childFlags,n.childFlags,e.children,b,u,t,o&&"foreignObject"!==n.type,null,e,i),d&&fe(l,n,u,a,!1,p);var k=n.ref,C=e.ref;C!==k&&(pe(C),he(k,u,i))}(e,n,i,c,v,p):4&v?function(e,n,t,r,o,i,c){var f=n.children=e.children;if(a(f))return;f.$L=c;var d=n.props||s,p=n.ref,h=e.ref,v=f.state;if(!f.$N){if(l(f.componentWillReceiveProps)){if(f.$BR=!0,f.componentWillReceiveProps(d,r),f.$UN)return;f.$BR=!1}a(f.$PS)||(v=u(v,f.$PS),f.$PS=null)}Se(f,v,d,t,r,o,!1,i,c),h!==p&&(pe(h),he(p,f,c))}(e,n,t,i,c,f,p):8&v?function(e,n,t,o,i,a,u){var c=!0,f=n.props||s,d=n.ref,p=e.props,h=!r(d),v=e.children;if(h&&l(d.onComponentShouldUpdate)&&(c=d.onComponentShouldUpdate(p,f)),!1!==c){h&&l(d.onComponentWillUpdate)&&d.onComponentWillUpdate(p,f);var g=n.type,m=T(32768&n.flags?g.render(f,d,o):g(f,o));xe(v,m,t,o,i,a,u),n.children=m,h&&l(d.onComponentDidUpdate)&&d.onComponentDidUpdate(p,f)}else n.children=v}(e,n,t,i,c,f,p):16&v?function(e,n){var t=n.children,r=n.dom=e.dom;t!==e.children&&(r.nodeValue=t)}(e,n):512&v?n.dom=e.dom:8192&v?function(e,n,t,r,o,l){var i=e.children,a=n.children,u=e.childFlags,c=n.childFlags,s=null;12&c&&0===a.length&&(c=n.childFlags=2,a=n.children=B());var f=0!==(2&c);if(12&u){var d=i.length;(8&u&&8&c||f||!f&&a.length>d)&&(s=m(i[d-1],!1).nextSibling)}Pe(u,c,i,a,t,r,o,s,e,l)}(e,n,t,i,c,p):function(e,n,t,r){var l=e.ref,i=n.ref,a=n.children;if(Pe(e.childFlags,n.childFlags,e.children,a,l,t,!1,null,e,r),n.dom=e.dom,l!==i&&!o(a)){var u=a.dom;h(l,u),d(i,u)}}(e,n,i,p)}function Pe(e,n,t,r,o,l,i,a,u,c){switch(e){case 2:switch(n){case 2:xe(t,r,o,l,i,a,c);break;case 1:ve(t,o);break;case 16:ge(t),w(o,r);break;default:!function(e,n,t,r,o,l){ge(e),Ue(n,t,r,o,m(e,!0),l),y(e,t)}(t,r,o,l,i,c)}break;case 1:switch(n){case 2:Ce(r,o,l,i,a,c);break;case 1:break;case 16:w(o,r);break;default:Ue(r,o,l,i,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),Ce(r,o,l,i,a,c);break;case 1:ye(o);break;default:ye(o),Ue(r,o,l,i,a,c)}break;default:switch(n){case 16:me(t),w(o,r);break;case 2:be(o,u,t),Ce(r,o,l,i,a,c);break;case 1:be(o,u,t);break;default:var s=0|t.length,f=0|r.length;0===s?f>0&&Ue(r,o,l,i,a,c):0===f?be(o,u,t):8===n&&8===e?function(e,n,t,r,o,l,i,a,u,c){var s,f,d=l-1,p=i-1,h=0,v=e[h],g=n[h];e:{for(;v.key===g.key;){if(16384&g.flags&&(n[h]=g=I(g)),xe(v,g,t,r,o,a,c),e[h]=g,++h>d||h>p)break e;v=e[h],g=n[h]}for(v=e[d],g=n[p];v.key===g.key;){if(16384&g.flags&&(n[p]=g=I(g)),xe(v,g,t,r,o,a,c),e[d]=g,p--,h>--d||h>p)break e;v=e[d],g=n[p]}}if(h>d){if(h<=p)for(f=(s=p+1)p)for(;h<=d;)ve(e[h++],t);else!function(e,n,t,r,o,l,i,a,u,c,s,f,d){var p,h,v,g=0,y=a,$=a,k=l-a+1,C=i-a+1,w=new Int32Array(C+1),U=k===r,x=!1,P=0,S=0;if(o<4||(k|C)<32)for(g=y;g<=l;++g)if(p=e[g],Sa?x=!0:P=a,16384&h.flags&&(n[a]=h=I(h)),xe(p,h,u,t,c,s,d),++S;break}!U&&a>i&&ve(p,u)}else U||ve(p,u);else{var F={};for(g=$;g<=i;++g)F[n[g].key]=g;for(g=y;g<=l;++g)if(p=e[g],Sy;)ve(e[y++],u);w[a-$]=g+1,P>a?x=!0:P=a,16384&(h=n[a]).flags&&(n[a]=h=I(h)),xe(p,h,u,t,c,s,d),++S}else U||ve(p,u);else U||ve(p,u)}if(U)be(u,f,e),Ue(n,u,t,c,s,d);else if(x){var N=function(e){var n=0,t=0,r=0,o=0,l=0,i=0,a=0,u=e.length;for(u>Fe&&(Fe=u,ie=new Int32Array(u),ae=new Int32Array(u));t>1]]0&&(ae[t]=ie[l-1]),ie[l]=t)}l=o+1;var c=new Int32Array(l);for(i=ie[l-1];l-- >0;)c[l]=i,i=ae[i],ie[l]=0;return c}(w);for(a=N.length-1,g=C-1;g>=0;g--)0===w[g]?(16384&(h=n[P=g+$]).flags&&(n[P]=h=I(h)),Ce(h,u,t,c,(v=P+1)=0;g--)0===w[g]&&(16384&(h=n[P=g+$]).flags&&(n[P]=h=I(h)),Ce(h,u,t,c,(v=P+1)i?i:l,d=0;di)for(d=f;d0&&v(i),k.v=!1,l(t)&&t(),l(C.renderComplete)&&C.renderComplete(a,n)}(e,n,t,o)}"undefined"!==typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);var Ve=[],Le="undefined"!==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):function(e){window.setTimeout(e,0)},Ie=!1;function Be(e,n,t,o){var i=e.$PS;if(l(n)&&(n=n(i?u(e.state,i):e.state,e.props,e.context)),r(i))e.$PS=n;else for(var a in n)i[a]=n[a];if(e.$BR)l(t)&&e.$L.push(t.bind(e));else{if(!k.v&&0===Ve.length)return void Ae(e,o,t);if(-1===Ve.indexOf(e)&&Ve.push(e),Ie||(Ie=!0,Le(Te)),l(t)){var c=e.$QU;c||(c=e.$QU=[]),c.push(t)}}}function Me(e){for(var n=e.$QU,t=0,r=n.length;t0&&v(o),k.v=!1}else e.state=e.$PS,e.$PS=null;l(t)&&t.call(e)}var De=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||s,this.context=n||s};De.prototype.forceUpdate=function(e){if(this.$UN)return;Be(this,{},e,!0)},De.prototype.setState=function(e,n){if(this.$UN)return;this.$BS||Be(this,e,n,!1)},De.prototype.render=function(e,n,t){return null},uibench.init("Inferno [same as react]","7.4.0");var Ee=function(n){function t(e){var t;return(t=n.call(this,e)||this).onClick=t.onClick.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(t)),t}e(t,n);var r=t.prototype;return r.shouldComponentUpdate=function(e,n){return this.props.text!==e.text},r.onClick=function(e){console.log("Clicked"+this.props.text),e.stopPropagation()},r.render=function(){return F(1,"td","TableCell",this.props.text,0,{onClick:this.onClick},null,null)},t}(De),We=function(n){function t(){return n.apply(this,arguments)||this}e(t,n);var r=t.prototype;return r.shouldComponentUpdate=function(e,n){return this.props.data!==e.data},r.render=function(){for(var e=this.props.data,n=e.active?"TableRow active":"TableRow",t=e.props,r=[N(2,Ee,{text:"#"+e.id},-1,null)],o=0;o0,h=a(d),v=i(d)&&"$"===d[0];p||h||v?(l=l||r.slice(0,s),(p||v)&&(f=I(f)),(h||v)&&(f.key="$"+s),l.push(f)):l&&l.push(f),f.flags|=65536}}u=0===(l=l||r).length?1:8}else(l=r).flags|=65536,81920&r.flags&&(l=I(r)),u=2;e.children=l,e.childFlags=u}(h,h.children),h}function N(e,n,t,o,l){var i=new S(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 x(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 x(t,o)}(e,n,l),n);return C.createVNode&&C.createVNode(i),i}function V(e,n){return new S(1,r(e)||!0===e||!1===e?"":e,null,16,n,null,null,null)}function L(e,n,t){var r=F(8192,8192,null,e,n,null,t,null);switch(r.childFlags){case 1:r.children=B(),r.childFlags=2;break;case 16:r.children=[V(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 S(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,l=t.length;o-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||s,l=e.dom;l.value=o.value,o.value===t||n(t)&&-1!==t.indexOf(o.value)?l.selected=!0:r(t)&&r(o.selected)||(l.selected=o.selected||!1)}(t,o);else{var l=t.children,i=t.flags;if(4&i)e(l.$LI,o);else if(8&i)e(l,o);else if(2===t.childFlags)e(l,o);else if(12&t.childFlags)for(var a=0,u=l.length;a0);if(r(s)||""===s||(o?h.setAttribute("class",s):h.className=s),16===d)w(h,f);else if(1!==d){var v=o&&"foreignObject"!==e.type;2===d?(16384&f.flags&&(e.children=f=I(f)),Ce(f,h,t,v,null,i)):8!==d&&4!==d||Ue(f,h,t,v,null,i)}a(n)||p(n,h,l),a(c)||function(e,n,t,r,o){var l=!1,i=(448&n)>0;for(var a in i&&(l=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)$e(a,null,t[a],r,o,l,null);i&&fe(n,e,r,t,!0,l)}(e,u,c,h,o),he(e.ref,h,i)}(e,n,t,o,i,u):4&c?function(e,n,t,r,o,i){var u=function(e,n,t,r,o,i){var u=new n(t,r),c=u.$N=Boolean(n.getDerivedStateFromProps||u.getSnapshotBeforeUpdate);if(u.$SVG=o,u.$L=i,e.children=u,u.$BS=!1,u.context=r,u.props===s&&(u.props=t),c)u.state=$(u,t,u.state);else if(l(u.componentWillMount)){u.$BR=!0,u.componentWillMount();var f=u.$PS;if(!a(f)){var d=u.state;if(a(d))u.state=f;else for(var p in f)d[p]=f[p];u.$PS=null}u.$BR=!1}return u.$LI=ke(u,t,r),u}(e,e.type,e.props||s,t,r,i);Ce(u.$LI,n,u.$CX,r,o,i),function(e,n,t){he(e,n,t),l(n.componentDidMount)&&t.push(function(e){return function(){e.componentDidMount()}}(n))}(e.ref,u,i)}(e,n,t,o,i,u):8&c?(function(e,n,t,r,o,l){Ce(e.children=T(function(e,n){return 32768&e.flags?e.type.render(e.props||s,e.ref,n):e.type(e.props||s,n)}(e,t)),n,t,r,o,l)}(e,n,t,o,i,u),function(e,n){var t=e.ref;r(t)||(P(t.onComponentWillMount,e.props||s),l(t.onComponentDidMount)&&n.push(function(e,n){return function(){e.onComponentDidMount(m(n,!0),n.props||s)}}(t,e)))}(e,u)):512&c||16&c?we(e,n,i):8192&c?function(e,n,t,r,o,l){var i=e.children,a=e.childFlags;12&a&&0===i.length&&(a=e.childFlags=2,i=e.children=B()),2===a?Ce(i,t,o,r,o,l):Ue(i,t,n,r,o,l)}(e,t,n,o,i,u):1024&c&&function(e,n,t,r,o){Ce(e.children,e.ref,n,!1,null,o);var l=B();we(l,t,r),e.dom=l.dom}(e,t,n,i,u)}function we(e,n,t){var r=e.dom=document.createTextNode(e.children);a(n)||p(n,r,t)}function Ue(e,n,t,r,o,l){for(var i=0;i0,c!==f){var h=c||s;if((a=f||s)!==s)for(var v in(d=(448&l)>0)&&(p=de(a)),a){var g=h[v],m=a[v];g!==m&&$e(v,g,m,u,o,p,e)}if(h!==s)for(var y in h)r(a[y])&&!r(h[y])&&$e(y,h[y],null,u,o,p,e)}var b=n.children,$=n.className;e.className!==$&&(r($)?u.removeAttribute("class"):o?u.setAttribute("class",$):u.className=$),4096&l?function(e,n){e.textContent!==n&&(e.textContent=n)}(u,b):Pe(e.childFlags,n.childFlags,e.children,b,u,t,o&&"foreignObject"!==n.type,null,e,i),d&&fe(l,n,u,a,!1,p);var k=n.ref,C=e.ref;C!==k&&(pe(C),he(k,u,i))}(e,n,i,c,v,p):4&v?function(e,n,t,r,o,i,c){var f=n.children=e.children;if(a(f))return;f.$L=c;var d=n.props||s,p=n.ref,h=e.ref,v=f.state;if(!f.$N){if(l(f.componentWillReceiveProps)){if(f.$BR=!0,f.componentWillReceiveProps(d,r),f.$UN)return;f.$BR=!1}a(f.$PS)||(v=u(v,f.$PS),f.$PS=null)}Se(f,v,d,t,r,o,!1,i,c),h!==p&&(pe(h),he(p,f,c))}(e,n,t,i,c,f,p):8&v?function(e,n,t,o,i,a,u){var c=!0,f=n.props||s,d=n.ref,p=e.props,h=!r(d),v=e.children;if(h&&l(d.onComponentShouldUpdate)&&(c=d.onComponentShouldUpdate(p,f)),!1!==c){h&&l(d.onComponentWillUpdate)&&d.onComponentWillUpdate(p,f);var g=n.type,m=T(32768&n.flags?g.render(f,d,o):g(f,o));xe(v,m,t,o,i,a,u),n.children=m,h&&l(d.onComponentDidUpdate)&&d.onComponentDidUpdate(p,f)}else n.children=v}(e,n,t,i,c,f,p):16&v?function(e,n){var t=n.children,r=n.dom=e.dom;t!==e.children&&(r.nodeValue=t)}(e,n):512&v?n.dom=e.dom:8192&v?function(e,n,t,r,o,l){var i=e.children,a=n.children,u=e.childFlags,c=n.childFlags,s=null;12&c&&0===a.length&&(c=n.childFlags=2,a=n.children=B());var f=0!==(2&c);if(12&u){var d=i.length;(8&u&&8&c||f||!f&&a.length>d)&&(s=m(i[d-1],!1).nextSibling)}Pe(u,c,i,a,t,r,o,s,e,l)}(e,n,t,i,c,p):function(e,n,t,r){var l=e.ref,i=n.ref,a=n.children;if(Pe(e.childFlags,n.childFlags,e.children,a,l,t,!1,null,e,r),n.dom=e.dom,l!==i&&!o(a)){var u=a.dom;h(l,u),d(i,u)}}(e,n,i,p)}function Pe(e,n,t,r,o,l,i,a,u,c){switch(e){case 2:switch(n){case 2:xe(t,r,o,l,i,a,c);break;case 1:ve(t,o);break;case 16:ge(t),w(o,r);break;default:!function(e,n,t,r,o,l){ge(e),Ue(n,t,r,o,m(e,!0),l),y(e,t)}(t,r,o,l,i,c)}break;case 1:switch(n){case 2:Ce(r,o,l,i,a,c);break;case 1:break;case 16:w(o,r);break;default:Ue(r,o,l,i,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),Ce(r,o,l,i,a,c);break;case 1:ye(o);break;default:ye(o),Ue(r,o,l,i,a,c)}break;default:switch(n){case 16:me(t),w(o,r);break;case 2:be(o,u,t),Ce(r,o,l,i,a,c);break;case 1:be(o,u,t);break;default:var s=0|t.length,f=0|r.length;0===s?f>0&&Ue(r,o,l,i,a,c):0===f?be(o,u,t):8===n&&8===e?function(e,n,t,r,o,l,i,a,u,c){var s,f,d=l-1,p=i-1,h=0,v=e[h],g=n[h];e:{for(;v.key===g.key;){if(16384&g.flags&&(n[h]=g=I(g)),xe(v,g,t,r,o,a,c),e[h]=g,++h>d||h>p)break e;v=e[h],g=n[h]}for(v=e[d],g=n[p];v.key===g.key;){if(16384&g.flags&&(n[p]=g=I(g)),xe(v,g,t,r,o,a,c),e[d]=g,p--,h>--d||h>p)break e;v=e[d],g=n[p]}}if(h>d){if(h<=p)for(f=(s=p+1)p)for(;h<=d;)ve(e[h++],t);else!function(e,n,t,r,o,l,i,a,u,c,s,f,d){var p,h,v,g=0,y=a,$=a,k=l-a+1,C=i-a+1,w=new Int32Array(C+1),U=k===r,x=!1,P=0,S=0;if(o<4||(k|C)<32)for(g=y;g<=l;++g)if(p=e[g],Sa?x=!0:P=a,16384&h.flags&&(n[a]=h=I(h)),xe(p,h,u,t,c,s,d),++S;break}!U&&a>i&&ve(p,u)}else U||ve(p,u);else{var F={};for(g=$;g<=i;++g)F[n[g].key]=g;for(g=y;g<=l;++g)if(p=e[g],Sy;)ve(e[y++],u);w[a-$]=g+1,P>a?x=!0:P=a,16384&(h=n[a]).flags&&(n[a]=h=I(h)),xe(p,h,u,t,c,s,d),++S}else U||ve(p,u);else U||ve(p,u)}if(U)be(u,f,e),Ue(n,u,t,c,s,d);else if(x){var N=function(e){var n=0,t=0,r=0,o=0,l=0,i=0,a=0,u=e.length;for(u>Fe&&(Fe=u,ie=new Int32Array(u),ae=new Int32Array(u));t>1]]0&&(ae[t]=ie[l-1]),ie[l]=t)}l=o+1;var c=new Int32Array(l);for(i=ie[l-1];l-- >0;)c[l]=i,i=ae[i],ie[l]=0;return c}(w);for(a=N.length-1,g=C-1;g>=0;g--)0===w[g]?(16384&(h=n[P=g+$]).flags&&(n[P]=h=I(h)),Ce(h,u,t,c,(v=P+1)=0;g--)0===w[g]&&(16384&(h=n[P=g+$]).flags&&(n[P]=h=I(h)),Ce(h,u,t,c,(v=P+1)i?i:l,d=0;di)for(d=f;d0,v=i(d),h=o(d)&&"$"===d[0];p||v||h?(a=a||l.slice(0,f),(p||h)&&(s=S(s)),(v||h)&&(s.key="$"+f),a.push(s)):a&&a.push(s),s.flags|=65536}}u=0===(a=a||l).length?1:8}else(a=l).flags|=65536,81920&l.flags&&(a=S(l)),u=2;t.children=a,t.childFlags=u}(v,v.children),v}function V(e,n,r,l,o){var i=new P(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),l,function(e,n,r){var l=(32768&e?n.render:n).defaultProps;if(t(l))return r;if(t(r))return a(l,null);return w(r,l)}(e,n,r),function(e,n,r){if(4&e)return r;var l=(32768&e?n.render:n).defaultHooks;if(t(l))return r;if(t(r))return l;return w(r,l)}(e,n,o),n);return y.createVNode&&y.createVNode(i),i}function N(e,n){return new P(1,t(e)||!0===e||!1===e?"":e,null,16,n,null,null,null)}function L(e,n,t){var r=x(8192,8192,null,e,n,null,t,null);switch(r.childFlags){case 1:r.children=U(),r.childFlags=2;break;case 16:r.children=[N(e)],r.childFlags=4}return r}function S(e){var n=-16385&e.flags,t=e.props;if(14&n&&!i(t)){var r=t;for(var l in t={},r)t[l]=r[l]}if(0===(8192&n))return new P(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=S(t);else if(12&r){n=[];for(var l=0,o=t.length;l-1&&r.options[a]&&(u=r.options[a].value),l&&t(u)&&(u=n.defaultValue),function n(r,l){if("option"===r.type)!function(n,r){var l=n.props||f,o=n.dom;o.value=l.value,l.value===r||e(r)&&-1!==r.indexOf(l.value)?o.selected=!0:t(r)&&t(l.selected)||(o.selected=l.selected||!1)}(r,l);else{var o=r.children,i=r.flags;if(4&i)n(o.$LI,l);else if(8&i)n(o,l);else if(2===r.childFlags)n(o,l);else if(12&r.childFlags)for(var a=0,u=o.length;a0);if(t(f)||""===f||(l?v.setAttribute("class",f):v.className=f),16===d)C(v,s);else if(1!==d){var h=l&&"foreignObject"!==e.type;2===d?(16384&s.flags&&(e.children=s=S(s)),ye(s,v,r,h,null,a)):8!==d&&4!==d||$e(s,v,r,h,null,a)}i(n)||p(n,v,o),i(c)||function(e,n,t,r,l){var o=!1,i=(448&n)>0;for(var a in i&&(o=fe(t))&&function(e,n,t){64&e?function(e,n){Q(n.type)?(z(e,"change",Z),z(e,"click",ee)):z(e,"input",Y)}(n,t):256&e?function(e){z(e,"change",te)}(n):128&e&&function(e,n){z(e,"input",ie),n.onChange&&z(e,"change",ae)}(n,t)}(n,r,t),t)ke(a,null,t[a],r,l,o,null);i&&ce(n,e,r,t,!0,o)}(e,u,c,v,l),de(e.ref,v,a)}(e,n,r,o,a,u):4&c?function(e,n,t,r,o,a){var u=function(e,n,t,r,o,a){var u=new n(t,r),c=u.$N=Boolean(n.getDerivedStateFromProps||u.getSnapshotBeforeUpdate);if(u.$SVG=o,u.$L=a,e.children=u,u.$BS=!1,u.context=r,u.props===f&&(u.props=t),c)u.state=b(u,t,u.state);else if(l(u.componentWillMount)){u.$BR=!0,u.componentWillMount();var s=u.$PS;if(!i(s)){var d=u.state;if(i(d))u.state=s;else for(var p in s)d[p]=s[p];u.$PS=null}u.$BR=!1}return u.$LI=be(u,t,r),u}(e,e.type,e.props||f,t,r,a);ye(u.$LI,n,u.$CX,r,o,a),function(e,n,t){de(e,n,t),l(n.componentDidMount)&&t.push(function(e){return function(){e.componentDidMount()}}(n))}(e.ref,u,a)}(e,n,r,o,a,u):8&c?(function(e,n,t,r,l,o){ye(e.children=A(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,l,o)}(e,n,r,o,a,u),function(e,n){var r=e.ref;t(r)||(F(r.onComponentWillMount,e.props||f),l(r.onComponentDidMount)&&n.push(function(e,n){return function(){e.onComponentDidMount(g(n,!0),n.props||f)}}(r,e)))}(e,u)):512&c||16&c?Ce(e,n,a):8192&c?function(e,n,t,r,l,o){var i=e.children,a=e.childFlags;12&a&&0===i.length&&(a=e.childFlags=2,i=e.children=U()),2===a?ye(i,t,l,r,l,o):$e(i,t,n,r,l,o)}(e,r,n,o,a,u):1024&c&&function(e,n,t,r,l){ye(e.children,e.ref,n,!1,null,l);var o=U();Ce(o,t,r),e.dom=o.dom}(e,r,n,a,u)}function Ce(e,n,t){var r=e.dom=document.createTextNode(e.children);i(n)||p(n,r,t)}function $e(e,n,t,r,l,o){for(var i=0;i0,c!==s){var v=c||f;if((a=s||f)!==f)for(var h in(d=(448&o)>0)&&(p=fe(a)),a){var g=v[h],m=a[h];g!==m&&ke(h,g,m,u,l,p,e)}if(v!==f)for(var k in v)t(a[k])&&!t(v[k])&&ke(k,v[k],null,u,l,p,e)}var b=n.children,y=n.className;e.className!==y&&(t(y)?u.removeAttribute("class"):l?u.setAttribute("class",y):u.className=y),4096&o?function(e,n){e.textContent!==n&&(e.textContent=n)}(u,b):Fe(e.childFlags,n.childFlags,e.children,b,u,r,l&&"foreignObject"!==n.type,null,e,i),d&&ce(o,n,u,a,!1,p);var C=n.ref,$=e.ref;$!==C&&(se($),de(C,u,i))}(e,n,u,c,h,p):4&h?function(e,n,t,r,o,u,c){var s=n.children=e.children;if(i(s))return;s.$L=c;var d=n.props||f,p=n.ref,v=e.ref,h=s.state;if(!s.$N){if(l(s.componentWillReceiveProps)){if(s.$BR=!0,s.componentWillReceiveProps(d,r),s.$UN)return;s.$BR=!1}i(s.$PS)||(h=a(h,s.$PS),s.$PS=null)}(function(e,n,t,r,o,i,u,c,f){var s=e.state,d=e.props,p=Boolean(e.$N),v=l(e.shouldComponentUpdate);if(p&&(n=b(e,t,n!==s?a(s,n):n)),!v||v&&e.shouldComponentUpdate(t,n,o)){!p&&l(e.componentWillUpdate)&&e.componentWillUpdate(t,n,o),e.props=t,e.state=n,e.context=o;var h=null,g=be(e,t,o);p&&l(e.getSnapshotBeforeUpdate)&&(h=e.getSnapshotBeforeUpdate(d,s)),we(e.$LI,g,r,e.$CX,i,c,f),e.$LI=g,l(e.componentDidUpdate)&&function(e,n,t,r,l){l.push((function(){e.componentDidUpdate(n,t,r)}))}(e,d,s,h,f)}else e.props=t,e.state=n,e.context=o})(s,h,d,t,r,o,0,u,c),v!==p&&(se(v),de(p,s,c))}(e,n,o,u,c,s,p):8&h?function(e,n,r,o,i,a,u){var c=!0,s=n.props||f,d=n.ref,p=e.props,v=!t(d),h=e.children;if(v&&l(d.onComponentShouldUpdate)&&(c=d.onComponentShouldUpdate(p,s)),!1!==c){v&&l(d.onComponentWillUpdate)&&d.onComponentWillUpdate(p,s);var g=n.type,m=A(32768&n.flags?g.render(s,d,o):g(s,o));we(h,m,r,o,i,a,u),n.children=m,v&&l(d.onComponentDidUpdate)&&d.onComponentDidUpdate(p,s)}else n.children=h}(e,n,o,u,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,l,o){var i=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=U());var s=0!==(2&c);if(12&u){var d=i.length;(8&u&&8&c||s||!s&&a.length>d)&&(f=g(i[d-1],!1).nextSibling)}Fe(u,c,i,a,t,r,l,f,e,o)}(e,n,o,u,c,p):function(e,n,t,l){var o=e.ref,i=n.ref,a=n.children;if(Fe(e.childFlags,n.childFlags,e.children,a,o,t,!1,null,e,l),n.dom=e.dom,o!==i&&!r(a)){var u=a.dom;v(o,u),d(i,u)}}(e,n,u,p)}function Fe(e,n,t,r,l,o,i,a,u,c){switch(e){case 2:switch(n){case 2:we(t,r,l,o,i,a,c);break;case 1:pe(t,l);break;case 16:ve(t),C(l,r);break;default:!function(e,n,t,r,l,o){ve(e),$e(n,t,r,l,g(e,!0),o),m(e,t)}(t,r,l,o,i,c)}break;case 1:switch(n){case 2:ye(r,l,o,i,a,c);break;case 1:break;case 16:C(l,r);break;default:$e(r,l,o,i,a,c)}break;case 16:switch(n){case 16:!function(e,n,t){e!==n&&(""!==e?t.firstChild.nodeValue=n:C(t,n))}(t,r,l);break;case 2:ge(l),ye(r,l,o,i,a,c);break;case 1:ge(l);break;default:ge(l),$e(r,l,o,i,a,c)}break;default:switch(n){case 16:he(t),C(l,r);break;case 2:me(l,u,t),ye(r,l,o,i,a,c);break;case 1:me(l,u,t);break;default:var f=0|t.length,s=0|r.length;0===f?s>0&&$e(r,l,o,i,a,c):0===s?me(l,u,t):8===n&&8===e?function(e,n,t,r,l,o,i,a,u,c){var f,s,d=o-1,p=i-1,v=0,h=e[v],m=n[v];e:{for(;h.key===m.key;){if(16384&m.flags&&(n[v]=m=S(m)),we(h,m,t,r,l,a,c),e[v]=m,++v>d||v>p)break e;h=e[v],m=n[v]}for(h=e[d],m=n[p];h.key===m.key;){if(16384&m.flags&&(n[p]=m=S(m)),we(h,m,t,r,l,a,c),e[d]=m,p--,v>--d||v>p)break e;h=e[d],m=n[p]}}if(v>d){if(v<=p)for(s=(f=p+1)p)for(;v<=d;)pe(e[v++],t);else!function(e,n,t,r,l,o,i,a,u,c,f,s,d){var p,v,h,m=0,b=a,y=a,C=o-a+1,$=i-a+1,w=new Int32Array($+1),F=C===r,P=!1,x=0,V=0;if(l<4||(C|$)<32)for(m=b;m<=o;++m)if(p=e[m],V<$){for(a=y;a<=i;a++)if(v=n[a],p.key===v.key){if(w[a-y]=m+1,F)for(F=!1;ba?P=!0:x=a,16384&v.flags&&(n[a]=v=S(v)),we(p,v,u,t,c,f,d),++V;break}!F&&a>i&&pe(p,u)}else F||pe(p,u);else{var N={};for(m=y;m<=i;++m)N[n[m].key]=m;for(m=b;m<=o;++m)if(p=e[m],V<$)if(void 0!==(a=N[p.key])){if(F)for(F=!1;m>b;)pe(e[b++],u);w[a-y]=m+1,x>a?P=!0:x=a,16384&(v=n[a]).flags&&(n[a]=v=S(v)),we(p,v,u,t,c,f,d),++V}else F||pe(p,u);else F||pe(p,u)}if(F)me(u,s,e),$e(n,u,t,c,f,d);else if(P){var L=function(e){var n=0,t=0,r=0,l=0,o=0,i=0,a=0,u=e.length;for(u>Pe&&(Pe=u,le=new Int32Array(u),oe=new Int32Array(u));t>1]]0&&(oe[t]=le[o-1]),le[o]=t)}o=l+1;var c=new Int32Array(o);for(i=le[o-1];o-- >0;)c[o]=i,i=oe[i],le[o]=0;return c}(w);for(a=L.length-1,m=$-1;m>=0;m--)0===w[m]?(16384&(v=n[x=m+y]).flags&&(n[x]=v=S(v)),ye(v,u,t,c,(h=x+1)=0;m--)0===w[m]&&(16384&(v=n[x=m+y]).flags&&(n[x]=v=S(v)),ye(v,u,t,c,(h=x+1)i?i:o,d=0;di)for(d=s;d0&&function(e){for(var n;void 0!==(n=e.shift());)n()}(i),l(r)&&r(),l(y.renderComplete)&&y.renderComplete(a,n)}(e,n,r,o)}"undefined"!==typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null),"undefined"!==typeof Promise&&Promise.resolve().then.bind(Promise.resolve()),uibench.init("Inferno","7.4.0");var Ve={onComponentShouldUpdate:function(e,n){return e!==n}};function Ne(e){return x(1,"li","TreeLeaf",e.children,16,null,null,null)}function Le(e){for(var n=e.data,t=n.children.length,r=new Array(t),l=0;l0,v=i(d),h=o(d)&&"$"===d[0];p||v||h?(a=a||l.slice(0,f),(p||h)&&(s=S(s)),(v||h)&&(s.key="$"+f),a.push(s)):a&&a.push(s),s.flags|=65536}}u=0===(a=a||l).length?1:8}else(a=l).flags|=65536,81920&l.flags&&(a=S(l)),u=2;t.children=a,t.childFlags=u}(v,v.children),v}function V(e,n,r,l,o){var i=new P(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),l,function(e,n,r){var l=(32768&e?n.render:n).defaultProps;if(t(l))return r;if(t(r))return a(l,null);return w(r,l)}(e,n,r),function(e,n,r){if(4&e)return r;var l=(32768&e?n.render:n).defaultHooks;if(t(l))return r;if(t(r))return l;return w(r,l)}(e,n,o),n);return y.createVNode&&y.createVNode(i),i}function N(e,n){return new P(1,t(e)||!0===e||!1===e?"":e,null,16,n,null,null,null)}function L(e,n,t){var r=x(8192,8192,null,e,n,null,t,null);switch(r.childFlags){case 1:r.children=U(),r.childFlags=2;break;case 16:r.children=[N(e)],r.childFlags=4}return r}function S(e){var n=-16385&e.flags,t=e.props;if(14&n&&!i(t)){var r=t;for(var l in t={},r)t[l]=r[l]}if(0===(8192&n))return new P(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=S(t);else if(12&r){n=[];for(var l=0,o=t.length;l-1&&r.options[a]&&(u=r.options[a].value),l&&t(u)&&(u=n.defaultValue),function n(r,l){if("option"===r.type)!function(n,r){var l=n.props||f,o=n.dom;o.value=l.value,l.value===r||e(r)&&-1!==r.indexOf(l.value)?o.selected=!0:t(r)&&t(l.selected)||(o.selected=l.selected||!1)}(r,l);else{var o=r.children,i=r.flags;if(4&i)n(o.$LI,l);else if(8&i)n(o,l);else if(2===r.childFlags)n(o,l);else if(12&r.childFlags)for(var a=0,u=o.length;a0);if(t(f)||""===f||(l?v.setAttribute("class",f):v.className=f),16===d)C(v,s);else if(1!==d){var h=l&&"foreignObject"!==e.type;2===d?(16384&s.flags&&(e.children=s=S(s)),ye(s,v,r,h,null,a)):8!==d&&4!==d||$e(s,v,r,h,null,a)}i(n)||p(n,v,o),i(c)||function(e,n,t,r,l){var o=!1,i=(448&n)>0;for(var a in i&&(o=fe(t))&&function(e,n,t){64&e?function(e,n){Q(n.type)?(z(e,"change",Z),z(e,"click",ee)):z(e,"input",Y)}(n,t):256&e?function(e){z(e,"change",te)}(n):128&e&&function(e,n){z(e,"input",ie),n.onChange&&z(e,"change",ae)}(n,t)}(n,r,t),t)ke(a,null,t[a],r,l,o,null);i&&ce(n,e,r,t,!0,o)}(e,u,c,v,l),de(e.ref,v,a)}(e,n,r,o,a,u):4&c?function(e,n,t,r,o,a){var u=function(e,n,t,r,o,a){var u=new n(t,r),c=u.$N=Boolean(n.getDerivedStateFromProps||u.getSnapshotBeforeUpdate);if(u.$SVG=o,u.$L=a,e.children=u,u.$BS=!1,u.context=r,u.props===f&&(u.props=t),c)u.state=b(u,t,u.state);else if(l(u.componentWillMount)){u.$BR=!0,u.componentWillMount();var s=u.$PS;if(!i(s)){var d=u.state;if(i(d))u.state=s;else for(var p in s)d[p]=s[p];u.$PS=null}u.$BR=!1}return u.$LI=be(u,t,r),u}(e,e.type,e.props||f,t,r,a);ye(u.$LI,n,u.$CX,r,o,a),function(e,n,t){de(e,n,t),l(n.componentDidMount)&&t.push(function(e){return function(){e.componentDidMount()}}(n))}(e.ref,u,a)}(e,n,r,o,a,u):8&c?(function(e,n,t,r,l,o){ye(e.children=A(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,l,o)}(e,n,r,o,a,u),function(e,n){var r=e.ref;t(r)||(F(r.onComponentWillMount,e.props||f),l(r.onComponentDidMount)&&n.push(function(e,n){return function(){e.onComponentDidMount(g(n,!0),n.props||f)}}(r,e)))}(e,u)):512&c||16&c?Ce(e,n,a):8192&c?function(e,n,t,r,l,o){var i=e.children,a=e.childFlags;12&a&&0===i.length&&(a=e.childFlags=2,i=e.children=U()),2===a?ye(i,t,l,r,l,o):$e(i,t,n,r,l,o)}(e,r,n,o,a,u):1024&c&&function(e,n,t,r,l){ye(e.children,e.ref,n,!1,null,l);var o=U();Ce(o,t,r),e.dom=o.dom}(e,r,n,a,u)}function Ce(e,n,t){var r=e.dom=document.createTextNode(e.children);i(n)||p(n,r,t)}function $e(e,n,t,r,l,o){for(var i=0;i0,c!==s){var v=c||f;if((a=s||f)!==f)for(var h in(d=(448&o)>0)&&(p=fe(a)),a){var g=v[h],m=a[h];g!==m&&ke(h,g,m,u,l,p,e)}if(v!==f)for(var k in v)t(a[k])&&!t(v[k])&&ke(k,v[k],null,u,l,p,e)}var b=n.children,y=n.className;e.className!==y&&(t(y)?u.removeAttribute("class"):l?u.setAttribute("class",y):u.className=y),4096&o?function(e,n){e.textContent!==n&&(e.textContent=n)}(u,b):Fe(e.childFlags,n.childFlags,e.children,b,u,r,l&&"foreignObject"!==n.type,null,e,i),d&&ce(o,n,u,a,!1,p);var C=n.ref,$=e.ref;$!==C&&(se($),de(C,u,i))}(e,n,u,c,h,p):4&h?function(e,n,t,r,o,u,c){var s=n.children=e.children;if(i(s))return;s.$L=c;var d=n.props||f,p=n.ref,v=e.ref,h=s.state;if(!s.$N){if(l(s.componentWillReceiveProps)){if(s.$BR=!0,s.componentWillReceiveProps(d,r),s.$UN)return;s.$BR=!1}i(s.$PS)||(h=a(h,s.$PS),s.$PS=null)}(function(e,n,t,r,o,i,u,c,f){var s=e.state,d=e.props,p=Boolean(e.$N),v=l(e.shouldComponentUpdate);if(p&&(n=b(e,t,n!==s?a(s,n):n)),!v||v&&e.shouldComponentUpdate(t,n,o)){!p&&l(e.componentWillUpdate)&&e.componentWillUpdate(t,n,o),e.props=t,e.state=n,e.context=o;var h=null,g=be(e,t,o);p&&l(e.getSnapshotBeforeUpdate)&&(h=e.getSnapshotBeforeUpdate(d,s)),we(e.$LI,g,r,e.$CX,i,c,f),e.$LI=g,l(e.componentDidUpdate)&&function(e,n,t,r,l){l.push((function(){e.componentDidUpdate(n,t,r)}))}(e,d,s,h,f)}else e.props=t,e.state=n,e.context=o})(s,h,d,t,r,o,0,u,c),v!==p&&(se(v),de(p,s,c))}(e,n,o,u,c,s,p):8&h?function(e,n,r,o,i,a,u){var c=!0,s=n.props||f,d=n.ref,p=e.props,v=!t(d),h=e.children;if(v&&l(d.onComponentShouldUpdate)&&(c=d.onComponentShouldUpdate(p,s)),!1!==c){v&&l(d.onComponentWillUpdate)&&d.onComponentWillUpdate(p,s);var g=n.type,m=A(32768&n.flags?g.render(s,d,o):g(s,o));we(h,m,r,o,i,a,u),n.children=m,v&&l(d.onComponentDidUpdate)&&d.onComponentDidUpdate(p,s)}else n.children=h}(e,n,o,u,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,l,o){var i=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=U());var s=0!==(2&c);if(12&u){var d=i.length;(8&u&&8&c||s||!s&&a.length>d)&&(f=g(i[d-1],!1).nextSibling)}Fe(u,c,i,a,t,r,l,f,e,o)}(e,n,o,u,c,p):function(e,n,t,l){var o=e.ref,i=n.ref,a=n.children;if(Fe(e.childFlags,n.childFlags,e.children,a,o,t,!1,null,e,l),n.dom=e.dom,o!==i&&!r(a)){var u=a.dom;v(o,u),d(i,u)}}(e,n,u,p)}function Fe(e,n,t,r,l,o,i,a,u,c){switch(e){case 2:switch(n){case 2:we(t,r,l,o,i,a,c);break;case 1:pe(t,l);break;case 16:ve(t),C(l,r);break;default:!function(e,n,t,r,l,o){ve(e),$e(n,t,r,l,g(e,!0),o),m(e,t)}(t,r,l,o,i,c)}break;case 1:switch(n){case 2:ye(r,l,o,i,a,c);break;case 1:break;case 16:C(l,r);break;default:$e(r,l,o,i,a,c)}break;case 16:switch(n){case 16:!function(e,n,t){e!==n&&(""!==e?t.firstChild.nodeValue=n:C(t,n))}(t,r,l);break;case 2:ge(l),ye(r,l,o,i,a,c);break;case 1:ge(l);break;default:ge(l),$e(r,l,o,i,a,c)}break;default:switch(n){case 16:he(t),C(l,r);break;case 2:me(l,u,t),ye(r,l,o,i,a,c);break;case 1:me(l,u,t);break;default:var f=0|t.length,s=0|r.length;0===f?s>0&&$e(r,l,o,i,a,c):0===s?me(l,u,t):8===n&&8===e?function(e,n,t,r,l,o,i,a,u,c){var f,s,d=o-1,p=i-1,v=0,h=e[v],m=n[v];e:{for(;h.key===m.key;){if(16384&m.flags&&(n[v]=m=S(m)),we(h,m,t,r,l,a,c),e[v]=m,++v>d||v>p)break e;h=e[v],m=n[v]}for(h=e[d],m=n[p];h.key===m.key;){if(16384&m.flags&&(n[p]=m=S(m)),we(h,m,t,r,l,a,c),e[d]=m,p--,v>--d||v>p)break e;h=e[d],m=n[p]}}if(v>d){if(v<=p)for(s=(f=p+1)p)for(;v<=d;)pe(e[v++],t);else!function(e,n,t,r,l,o,i,a,u,c,f,s,d){var p,v,h,m=0,b=a,y=a,C=o-a+1,$=i-a+1,w=new Int32Array($+1),F=C===r,P=!1,x=0,V=0;if(l<4||(C|$)<32)for(m=b;m<=o;++m)if(p=e[m],V<$){for(a=y;a<=i;a++)if(v=n[a],p.key===v.key){if(w[a-y]=m+1,F)for(F=!1;ba?P=!0:x=a,16384&v.flags&&(n[a]=v=S(v)),we(p,v,u,t,c,f,d),++V;break}!F&&a>i&&pe(p,u)}else F||pe(p,u);else{var N={};for(m=y;m<=i;++m)N[n[m].key]=m;for(m=b;m<=o;++m)if(p=e[m],V<$)if(void 0!==(a=N[p.key])){if(F)for(F=!1;m>b;)pe(e[b++],u);w[a-y]=m+1,x>a?P=!0:x=a,16384&(v=n[a]).flags&&(n[a]=v=S(v)),we(p,v,u,t,c,f,d),++V}else F||pe(p,u);else F||pe(p,u)}if(F)me(u,s,e),$e(n,u,t,c,f,d);else if(P){var L=function(e){var n=0,t=0,r=0,l=0,o=0,i=0,a=0,u=e.length;for(u>Pe&&(Pe=u,le=new Int32Array(u),oe=new Int32Array(u));t>1]]0&&(oe[t]=le[o-1]),le[o]=t)}o=l+1;var c=new Int32Array(o);for(i=le[o-1];o-- >0;)c[o]=i,i=oe[i],le[o]=0;return c}(w);for(a=L.length-1,m=$-1;m>=0;m--)0===w[m]?(16384&(v=n[x=m+y]).flags&&(n[x]=v=S(v)),ye(v,u,t,c,(h=x+1)=0;m--)0===w[m]&&(16384&(v=n[x=m+y]).flags&&(n[x]=v=S(v)),ye(v,u,t,c,(h=x+1)i?i:o,d=0;di)for(d=s;d (https://terinstock.com/)", @@ -24,11 +24,11 @@ ], "repository": "https://github.com/infernojs/inferno", "dependencies": { - "inferno": "7.4.0" + "inferno": "7.4.1" }, "devDependencies": { - "inferno-shared": "7.4.0", - "inferno-vnode-flags": "7.4.0" + "inferno-shared": "7.4.1", + "inferno-vnode-flags": "7.4.1" }, "rollup": { "bundledDependencies": [ diff --git a/packages/inferno-mobx/package.json b/packages/inferno-mobx/package.json index 158b369fe..e7caaf85d 100644 --- a/packages/inferno-mobx/package.json +++ b/packages/inferno-mobx/package.json @@ -1,6 +1,6 @@ { "name": "inferno-mobx", - "version": "7.4.0", + "version": "7.4.1", "license": "MIT", "description": "Official Inferno bindings for Mobx", "author": { @@ -36,11 +36,11 @@ }, "dependencies": { "hoist-non-inferno-statics": "^1.1.3", - "inferno": "7.4.0", - "inferno-create-class": "7.4.0", - "inferno-create-element": "7.4.0", - "inferno-shared": "7.4.0", - "inferno-vnode-flags": "7.4.0", + "inferno": "7.4.1", + "inferno-create-class": "7.4.1", + "inferno-create-element": "7.4.1", + "inferno-shared": "7.4.1", + "inferno-vnode-flags": "7.4.1", "mobx": "*" }, "rollup": { diff --git a/packages/inferno-redux/package.json b/packages/inferno-redux/package.json index 6ee88c07b..0cf91cc94 100644 --- a/packages/inferno-redux/package.json +++ b/packages/inferno-redux/package.json @@ -1,6 +1,6 @@ { "name": "inferno-redux", - "version": "7.4.0", + "version": "7.4.1", "license": "MIT", "description": "Official Inferno bindings for Redux", "author": { @@ -36,12 +36,12 @@ }, "dependencies": { "hoist-non-inferno-statics": "^1.1.3", - "inferno": "7.4.0" + "inferno": "7.4.1" }, "devDependencies": { - "inferno-create-class": "7.4.0", - "inferno-create-element": "7.4.0", - "inferno-shared": "7.4.0", + "inferno-create-class": "7.4.1", + "inferno-create-element": "7.4.1", + "inferno-shared": "7.4.1", "redux": "^4" }, "rollup": { diff --git a/packages/inferno-router/package.json b/packages/inferno-router/package.json index 051be406f..a21ef2522 100644 --- a/packages/inferno-router/package.json +++ b/packages/inferno-router/package.json @@ -1,6 +1,6 @@ { "name": "inferno-router", - "version": "7.4.0", + "version": "7.4.1", "license": "MIT", "description": "Provides routing functionality for Inferno", "author": { @@ -38,11 +38,11 @@ "dependencies": { "history": "^4.10.1", "hoist-non-inferno-statics": "^1.1.3", - "inferno": "7.4.0", + "inferno": "7.4.1", "path-to-regexp-es6": "1.7.0" }, "devDependencies": { - "inferno-vnode-flags": "7.4.0", + "inferno-vnode-flags": "7.4.1", "mobx": "*" }, "rollup": { diff --git a/packages/inferno-server/package.json b/packages/inferno-server/package.json index 9d3d18975..d3654c588 100644 --- a/packages/inferno-server/package.json +++ b/packages/inferno-server/package.json @@ -1,6 +1,6 @@ { "name": "inferno-server", - "version": "7.4.0", + "version": "7.4.1", "license": "MIT", "description": "Provides methods to render HTML strings from Inferno elements", "author": { @@ -41,15 +41,15 @@ "node": ">=8" }, "devDependencies": { - "inferno-create-class": "7.4.0", - "inferno-create-element": "7.4.0", - "inferno-hydrate": "7.4.0", - "inferno-shared": "7.4.0", - "inferno-vnode-flags": "7.4.0", + "inferno-create-class": "7.4.1", + "inferno-create-element": "7.4.1", + "inferno-hydrate": "7.4.1", + "inferno-shared": "7.4.1", + "inferno-vnode-flags": "7.4.1", "mobx": "*" }, "dependencies": { - "inferno": "7.4.0" + "inferno": "7.4.1" }, "rollup": { "bundledDependencies": [ diff --git a/packages/inferno-shared/package.json b/packages/inferno-shared/package.json index 8a703f5ed..36a937bb3 100644 --- a/packages/inferno-shared/package.json +++ b/packages/inferno-shared/package.json @@ -1,6 +1,6 @@ { "name": "inferno-shared", - "version": "7.4.0", + "version": "7.4.1", "license": "MIT", "description": "Helpers functions for Inferno", "author": { diff --git a/packages/inferno-test-utils/package.json b/packages/inferno-test-utils/package.json index 30c4fe18e..44d664516 100644 --- a/packages/inferno-test-utils/package.json +++ b/packages/inferno-test-utils/package.json @@ -1,6 +1,6 @@ { "name": "inferno-test-utils", - "version": "7.4.0", + "version": "7.4.1", "license": "MIT", "description": "Suite of utilities for testing Inferno applications", "author": { @@ -21,11 +21,11 @@ "utils" ], "devDependencies": { - "inferno-shared": "7.4.0", - "inferno-vnode-flags": "7.4.0" + "inferno-shared": "7.4.1", + "inferno-vnode-flags": "7.4.1" }, "dependencies": { - "inferno": "7.4.0" + "inferno": "7.4.1" }, "rollup": { "bundledDependencies": [ diff --git a/packages/inferno-utils/package.json b/packages/inferno-utils/package.json index 4c57ce430..7cd7aa480 100644 --- a/packages/inferno-utils/package.json +++ b/packages/inferno-utils/package.json @@ -1,13 +1,13 @@ { "name": "inferno-utils", - "version": "7.4.0", + "version": "7.4.1", "description": "Meta test utilities which are not for userland", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "devDependencies": { - "inferno-shared": "7.4.0", - "inferno-vnode-flags": "7.4.0" + "inferno-shared": "7.4.1", + "inferno-vnode-flags": "7.4.1" }, "keywords": [], "author": "", diff --git a/packages/inferno-vnode-flags/package.json b/packages/inferno-vnode-flags/package.json index c8cd8ba51..80ff761f9 100644 --- a/packages/inferno-vnode-flags/package.json +++ b/packages/inferno-vnode-flags/package.json @@ -1,6 +1,6 @@ { "name": "inferno-vnode-flags", - "version": "7.4.0", + "version": "7.4.1", "license": "MIT", "description": "Provides an enum of all possible VNode Flags used when calling Inferno.createVNode", "author": { diff --git a/packages/inferno/package.json b/packages/inferno/package.json index 09fe690c1..0be375f3f 100644 --- a/packages/inferno/package.json +++ b/packages/inferno/package.json @@ -1,6 +1,6 @@ { "name": "inferno", - "version": "7.4.0", + "version": "7.4.1", "license": "MIT", "description": "An extremely fast, React-like JavaScript library for building modern user interfaces", "author": { @@ -53,11 +53,11 @@ "typings": "dist/index.d.ts", "repository": "https://github.com/infernojs/inferno", "devDependencies": { - "inferno-utils": "7.4.0" + "inferno-utils": "7.4.1" }, "dependencies": { - "inferno-shared": "7.4.0", - "inferno-vnode-flags": "7.4.0", + "inferno-shared": "7.4.1", + "inferno-vnode-flags": "7.4.1", "opencollective-postinstall": "^2.0.2" } }