From 5656a82ca9945ed5472724a8cde2857b27542927 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sampo=20Kivist=C3=B6?= Date: Fri, 21 Aug 2020 08:58:21 +0300 Subject: [PATCH] v7.4.3 --- docs/1kcomponents/dist/bundle.js | 2 +- docs/dbmonster/dist/bundle.js | 2 +- docs/event-test/dist/bundle.js | 2 +- docs/uibench-inferno-compat/dist/bundle.js | 2 +- docs/uibench-normalization/dist/bundle.js | 2 +- docs/uibench-reactlike/dist/bundle.js | 2 +- docs/uibench/dist/bundle.js | 2 +- lerna.json | 2 +- packages/inferno-clone-vnode/package.json | 8 ++++---- packages/inferno-compat/package.json | 20 ++++++++++---------- packages/inferno-component/package.json | 4 ++-- packages/inferno-create-class/package.json | 8 ++++---- packages/inferno-create-element/package.json | 8 ++++---- packages/inferno-devtools/package.json | 10 +++++----- packages/inferno-extras/package.json | 6 +++--- packages/inferno-hydrate/package.json | 12 ++++++------ packages/inferno-hyperscript/package.json | 8 ++++---- packages/inferno-mobx/package.json | 12 ++++++------ packages/inferno-redux/package.json | 10 +++++----- packages/inferno-router/package.json | 6 +++--- packages/inferno-server/package.json | 14 +++++++------- packages/inferno-shared/package.json | 2 +- packages/inferno-test-utils/package.json | 8 ++++---- packages/inferno-utils/package.json | 6 +++--- packages/inferno-vnode-flags/package.json | 2 +- packages/inferno/package.json | 8 ++++---- 26 files changed, 84 insertions(+), 84 deletions(-) diff --git a/docs/1kcomponents/dist/bundle.js b/docs/1kcomponents/dist/bundle.js index d599bec86..ead3b957e 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;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;t0,p=o(s),b=i(s)&&s[0]===F;h||p||b?(f=f||n.slice(0,d),(h||b)&&(u=_(u)),(p||b)&&(u.key=F+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=_(n)),c=2;e.children=f,e.childFlags=c}(p,p.children),p}function V(e,n,t,a,r){var c=new T(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 U(e,n){return new T(1,f(e)||!0===e||!1===e?"":e,null,16,n,null,null,null)}function L(e,n,t){var a=N(8192,8192,null,e,n,null,t,null);switch(a.childFlags){case 1:a.children=I(),a.childFlags=2;break;case 16:a.children=[U(e)],a.childFlags=4}return a}function _(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 T(e.childFlags,e.children,e.className,n,e.key,t,e.ref,e.type);return function(e){var n=e.children,t=e.childFlags;return L(2===t?_(n):n.map(_),t,e.key)}(e)}function I(){return U("",null)}function H(e,n,f,c){for(var l=e.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=_(u)),Me(u,h,t,b,null,c)):8!==s&&4!==s||Se(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=pe(t))&&function(e,n,t){64&e?function(e,n){ne(n.type)?(ee(e,"change",ae),ee(e,"click",fe)):ee(e,"input",te)}(n,t):256&e?function(e){ee(e,"change",ce)}(n):128&e&&function(e,n){ee(e,"input",de),n.onChange&&ee(e,"change",ue)}(n,t)}(n,a,t),t)$e(i,null,t[i],a,f,r,null);c&&he(n,e,a,t,!0,r)}(e,i,l,h,a),ve(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=k(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=we(i,t,a),i}(e,e.type,e.props||u,t,a,r);Me(i.$LI,n,i.$CX,a,f,r),function(e,n,t){ve(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){Me(e.children=E(Ce(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?Pe(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=I()),2===i?Me(c,t,f,a,f,r):Se(c,t,n,a,f,r)}(e,t,n,a,r,i):1024&l&&function(e,n,t,a,f){Me(e.children,e.ref,n,!1,null,f);var r=I();Pe(r,t,a),e.dom=r.dom}(e,t,n,r,i)}function Pe(e,n,t){var a=e.dom=document.createTextNode(e.children);o(n)||p(n,a,t)}function Se(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=pe(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):Te(e.childFlags,n.childFlags,e.children,y,o,t,a&&"foreignObject"!==n.type,null,e,c),s&&he(r,n,o,i,!1,h);var k=n.ref,$=e.ref;$!==k&&(be($),ve(k,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)}Ne(d,b,s,t,a,f,!1,r,i),p!==h&&(be(p),ve(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=E(Ce(n,a));Fe(b,v,t,a,r,i,o),n.children=v,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=I());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)}Te(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(Te(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 Te(e,n,t,a,f,r,c,i,o,l){switch(e){case 2:switch(n){case 2:Fe(t,a,f,r,c,i,l);break;case 1:me(t,f);break;case 16:ge(t),C(f,a);break;default:!function(e,n,t,a,f,r){ge(e),Se(n,t,a,f,g(e,!0),r),y(e,t)}(t,a,f,r,c,l)}break;case 1:switch(n){case 2:Me(a,f,r,c,i,l);break;case 1:break;case 16:C(f,a);break;default:Se(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:xe(f),Me(a,f,r,c,i,l);break;case 1:xe(f);break;default:xe(f),Se(a,f,r,c,i,l)}break;default:switch(n){case 16:ye(t),C(f,a);break;case 2:ke(f,o,t),Me(a,f,r,c,i,l);break;case 1:ke(f,o,t);break;default:var d=0|t.length,u=0|a.length;0===d?u>0&&Se(a,f,r,c,i,l):0===u?ke(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=_(v)),Fe(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=_(v)),Fe(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;)me(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,k=r-i+1,$=c-i+1,w=new Int32Array($+1),C=k===a,M=!1,P=0,S=0;if(f<4||(k|$)<32)for(v=m;v<=r;++v)if(h=e[v],S<$){for(i=y;i<=c;i++)if(p=n[i],h.key===p.key){if(w[i-y]=v+1,C)for(C=!1;mi?M=!0:P=i,16384&p.flags&&(n[i]=p=_(p)),Fe(h,p,o,t,l,d,s),++S;break}!C&&i>c&&me(h,o)}else C||me(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],S<$)if(void 0!==(i=F[h.key])){if(C)for(C=!1;v>m;)me(e[m++],o);w[i-y]=v+1,P>i?M=!0:P=i,16384&(p=n[i]).flags&&(n[i]=p=_(p)),Fe(h,p,o,t,l,d,s),++S}else C||me(h,o);else C||me(h,o)}if(C)ke(o,u,e),Se(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>Ve&&(Ve=o,oe=new Int32Array(o),le=new Int32Array(o));t>1]]0&&(le[t]=oe[r-1]),oe[r]=t)}r=f+1;var l=new Int32Array(r);for(c=oe[r-1];r-- >0;)l[r]=c,c=le[c],oe[r]=0;return l}(w);for(i=T.length-1,v=$-1;v>=0;v--)0===w[v]?(16384&(p=n[P=v+y]).flags&&(n[P]=p=_(p)),Me(p,o,t,l,(b=P+1)=0;v--)0===w[v]&&(16384&(p=n[P=v+y]).flags&&(n[P]=p=_(p)),Me(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 Re(n,t,i,c)},e}(),je=[],qe=-1,Ge=(De=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}De(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,je.push(e),-1===qe&&requestAnimationFrame((function(e){qe=-1;var n=je;je=[];for(var t=0;t0&&(f+=.01652892561983471*(1e3/(r-a)-f)),a=r,n.addSample(f),t.invalidate(),requestAnimationFrame(e)}))}(),function(e){if(void 0===e&&(e=Oe.HideMin|Oe.HideMean),ze(),void 0===performance.memory)return;var n=new We(100),t=new Xe("Memory",e,"MB",n);Ke.appendChild(t.element),function e(){n.addSample(Math.round(performance.memory.usedJSHeapSize/1048576)),t.invalidate(),setTimeout(e,30)}()}();var en=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 N(1,"div","app-wrapper",[V(2,tn,{count:n.numPoints},null,null),N(1,"div","controls",[U("# Points"),N(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),N(1,"div","about",[U("InfernoJS 1k Components Demo based on the Glimmer demo by "),N(1,"a",null,"Michael Lange",16,{href:"http://mlange.io",target:"_blank"},null,null),U(".")],4,null,null,null)],4,null,null,null)},t}(Be),nn=[0,3,0,1,2],tn=function(t){function a(e,n){var a;return(a=t.call(this,e,n)||this).layout=0,a.phyllotaxis=hn(100),a.grid=pn(100),a.wave=bn(100),a.spiral=vn(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)%nn.length);var t=Math.min(1,this.step/(.8*this.numSteps)),a=nn[this.layout],f=nn[(this.layout+1)%nn.length],r=dn(a),c=dn(f),i=un(a),o=un(f);this.points=this.points.map((function(n){var a=e({},n);return a.x=sn(a,t,r,c),a.y=sn(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=mn(n.grid(t)),f=a[0],r=a[1],c=mn(n.wave(t)),i=c[0],o=c[1],l=mn(n.spiral(t)),d=l[0],u=l[1],s=mn(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;rr&&(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]===I;u||c||s?(t=t||n.slice(0,l),(u||s)&&(a=W(a)),(c||s)&&(a.key=I+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=W(n)),r=2;e.children=t,e.childFlags=r}(c,c.children),c}function B(e,n){return new U(1,v(e)||!0===e||!1===e?"":e,null,16,n,null,null,null)}function D(e,n,t){var r=A(8192,8192,null,e,n,null,t,null);switch(r.childFlags){case 1:r.children=O(),r.childFlags=2;break;case 16:r.children=[B(e)],r.childFlags=4}return r}function W(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 U(e.childFlags,e.children,e.className,n,e.key,t,e.ref,e.type);return function(e){var n=e.children,t=e.childFlags;return D(2===t?W(n):n.map(W),t,e.key)}(e)}function O(){return B("",null)}function R(e,n,t,r){for(var i=e.length;t-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=W(c)),Ee(c,f,t,d,null,l)):8!==s&&4!==s||Le(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=ke(t))&&function(e,n,t){64&e?function(e,n){ue(n.type)?(oe(e,"change",se),oe(e,"click",fe)):oe(e,"input",ce)}(n,t):256&e?function(e){oe(e,"change",pe)}(n):128&e&&function(e,n){oe(e,"input",ge),n.onChange&&oe(e,"change",ye)}(n,t)}(n,r,t),t)Pe(o,null,t[o],r,i,l,null);a&&be(n,e,r,t,!0,l)}(e,a,o,f,r),we(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=Ve(a,t,r),a}(e,e.type,e.props||C,t,r,l);Ee(a.$LI,n,a.$CX,r,i,l),function(e,n,t){we(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){Ee(e.children=j(Ne(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?He(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=O()),2===o?Ee(a,t,i,r,i,l):Le(a,t,n,r,i,l)}(e,t,n,r,i,l):1024&a&&function(e,n,t,r,i){Ee(e.children,e.ref,n,!1,null,i);var l=O();He(l,t,r),e.dom=l.dom}(e,t,n,i,l)}function He(e,n,t){var r=e.dom=document.createTextNode(e.children);x(n)||F(n,r,t)}function Le(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=ke(a)),a){var h=d[p],m=a[p];h!==m&&Pe(p,h,m,o,r,f,e)}if(d!==C)for(var g in d)v(a[g])&&!v(d[g])&&Pe(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):Ie(e.childFlags,n.childFlags,e.children,y,o,t,r&&"foreignObject"!==n.type,null,e,l),s&&be(i,n,o,a,!1,f);var b=n.ref,k=e.ref;k!==b&&(Ce(k),we(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=Ve(e,t,i);f&&g(e.getSnapshotBeforeUpdate)&&(p=e.getSnapshotBeforeUpdate(s,c)),_e(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&&(Ce(s),we(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=j(Ne(n,r));_e(d,p,t,r,i,l,a),n.children=p,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=O());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)}Ie(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(Ie(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 Ie(e,n,t,r,i,l,a,o,u,c){switch(e){case 2:switch(n){case 2:_e(t,r,i,l,a,o,c);break;case 1:$e(t,i);break;case 16:Fe(t),H(i,r);break;default:!function(e,n,t,r,i,l){Fe(e),Le(n,t,r,i,S(e,!0),l),P(e,t)}(t,r,i,l,a,c)}break;case 1:switch(n){case 2:Ee(r,i,l,a,o,c);break;case 1:break;case 16:H(i,r);break;default:Le(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:Me(i),Ee(r,i,l,a,o,c);break;case 1:Me(i);break;default:Me(i),Le(r,i,l,a,o,c)}break;default:switch(n){case 16:Te(t),H(i,r);break;case 2:Se(i,u,t),Ee(r,i,l,a,o,c);break;case 1:Se(i,u,t);break;default:var s=0|t.length,f=0|r.length;0===s?f>0&&Le(r,i,l,a,o,c):0===f?Se(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=W(m)),_e(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=W(m)),_e(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;)$e(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=W(h)),_e(p,h,u,t,c,s,d),++F;break}!C&&o>a&&$e(p,u)}else C||$e(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;)$e(e[g++],u);k[o-y]=m+1,$>o?w=!0:$=o,16384&(h=n[o]).flags&&(n[o]=h=W(h)),_e(p,h,u,t,c,s,d),++F}else C||$e(p,u);else C||$e(p,u)}if(C)Se(u,f,e),Le(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>Ue&&(Ue=u,ve=new Int32Array(u),me=new Int32Array(u));t>1]]0&&(me[t]=ve[l-1]),ve[l]=t)}l=i+1;var c=new Int32Array(l);for(a=ve[l-1];l-- >0;)c[l]=a,a=me[a],ve[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=W(h)),Ee(h,u,t,c,(v=$+1)=0;m--)0===k[m]&&(16384&(h=n[$=m+y]).flags&&(n[$]=h=W(h)),Ee(h,u,t,c,(v=$+1)a?a:l,d=0;da)for(d=f;d0&&(a+=.01652892561983471*(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,v=i(d),h=o(d)&&d[0]===x;p||v||h?(u=u||l.slice(0,f),(p||h)&&(s=M(s)),(v||h)&&(s.key=x+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=M(l)),a=2;t.children=u,t.childFlags=a}(v,v.children),v}function N(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 u(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 b.createVNode&&b.createVNode(i),i}function S(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=V(8192,8192,null,e,n,null,t,null);switch(r.childFlags){case 1:r.children=U(),r.childFlags=2;break;case 16:r.children=[S(e)],r.childFlags=4}return r}function M(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=e.children,t=e.childFlags;return L(2===t?M(n):n.map(M),t,e.key)}(e)}function U(){return S("",null)}function I(t,l,u,a){for(var c=t.length;u-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=M(s)),Ce(s,v,r,h,null,u)):8!==d&&4!==d||Fe(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=se(t))&&function(e,n,t){64&e?function(e,n){Y(n.type)?(Q(e,"change",ee),Q(e,"click",ne)):Q(e,"input",Z)}(n,t):256&e?function(e){Q(e,"change",re)}(n):128&e&&function(e,n){Q(e,"input",ue),n.onChange&&Q(e,"change",ae)}(n,t)}(n,r,t),t)ke(u,null,t[u],r,l,o,null);i&&fe(n,e,r,t,!0,o)}(e,a,c,v,l),pe(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=be(a,t,r),a}(e,e.type,e.props||f,t,r,u);Ce(a.$LI,n,a.$CX,r,o,u),function(e,n,t){pe(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){Ce(e.children=A(we(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?$e(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=U()),2===u?Ce(i,t,l,r,l,o):Fe(i,t,n,r,l,o)}(e,r,n,o,u,a):1024&c&&function(e,n,t,r,l){Ce(e.children,e.ref,n,!1,null,l);var o=U();$e(o,t,r),e.dom=o.dom}(e,r,n,u,a)}function $e(e,n,t){var r=e.dom=document.createTextNode(e.children);i(n)||p(n,r,t)}function Fe(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=se(u)),u){var m=v[h],g=u[h];m!==g&&ke(h,m,g,a,l,p,e)}if(v!==f)for(var y in v)t(u[y])&&!t(v[y])&&ke(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):Pe(e.childFlags,n.childFlags,e.children,k,a,r,l&&"foreignObject"!==n.type,null,e,i),d&&fe(o,n,a,u,!1,p);var w=n.ref,C=e.ref;C!==w&&(de(C),pe(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=be(e,t,o);p&&l(e.getSnapshotBeforeUpdate)&&(h=e.getSnapshotBeforeUpdate(d,s)),xe(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&&(de(v),pe(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=A(we(n,o));xe(h,m,r,o,i,u,a),n.children=m,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=U());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)}Pe(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(Pe(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 Pe(e,n,t,r,l,o,i,u,a,c){switch(e){case 2:switch(n){case 2:xe(t,r,l,o,i,u,c);break;case 1:ve(t,l);break;case 16:he(t),w(l,r);break;default:!function(e,n,t,r,l,o){he(e),Fe(n,t,r,l,m(e,!0),o),g(e,t)}(t,r,l,o,i,c)}break;case 1:switch(n){case 2:Ce(r,l,o,i,u,c);break;case 1:break;case 16:w(l,r);break;default:Fe(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:ge(l),Ce(r,l,o,i,u,c);break;case 1:ge(l);break;default:ge(l),Fe(r,l,o,i,u,c)}break;default:switch(n){case 16:me(t),w(l,r);break;case 2:ye(l,a,t),Ce(r,l,o,i,u,c);break;case 1:ye(l,a,t);break;default:var f=0|t.length,s=0|r.length;0===f?s>0&&Fe(r,l,o,i,u,c):0===s?ye(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=M(g)),xe(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=M(g)),xe(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;)ve(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,C=i-u+1,$=new Int32Array(C+1),F=w===r,x=!1,P=0,V=0;if(l<4||(w|C)<32)for(g=k;g<=o;++g)if(p=e[g],Vu?x=!0:P=u,16384&v.flags&&(n[u]=v=M(v)),xe(p,v,a,t,c,f,d),++V;break}!F&&u>i&&ve(p,a)}else F||ve(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],Vk;)ve(e[k++],a);$[u-b]=g+1,P>u?x=!0:P=u,16384&(v=n[u]).flags&&(n[u]=v=M(v)),xe(p,v,a,t,c,f,d),++V}else F||ve(p,a);else F||ve(p,a)}if(F)ye(a,s,e),Fe(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>Ve&&(Ve=a,oe=new Int32Array(a),ie=new Int32Array(a));t>1]]0&&(ie[t]=oe[o-1]),oe[o]=t)}o=l+1;var c=new Int32Array(o);for(i=oe[o-1];o-- >0;)c[o]=i,i=ie[i],oe[o]=0;return c}($);for(u=S.length-1,g=C-1;g>=0;g--)0===$[g]?(16384&(v=n[P=g+b]).flags&&(n[P]=v=M(v)),Ce(v,a,t,c,(h=P+1)=0;g--)0===$[g]&&(16384&(v=n[P=g+b]).flags&&(n[P]=v=M(v)),Ce(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;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,h=l(d),v=i(d)&&d[0]===P;p||h||v?(a=a||o.slice(0,f),(p||v)&&(s=T(s)),(h||v)&&(s.key=P+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=T(o)),u=2;return t.children=a,t.childFlags=u,t}function O(t){if(r(t)||n(t))return L(t,null);if(e(t))return M(t,0,null);return 16384&t.flags?T(t):t}var B="http://www.w3.org/1999/xlink",R="http://www.w3.org/XML/1998/namespace",W={"xlink:actuate":B,"xlink:arcrole":B,"xlink:href":B,"xlink:role":B,"xlink:show":B,"xlink:title":B,"xlink:type":B,"xml:base":R,"xml:lang":R,"xml:space":R};function j(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 H=j(0),z=j(null),Q=j(!0);function X(e,n){var t=n.$EV;return t||(t=n.$EV=j(null)),t[e]||1===++H[e]&&(z[e]=function(e){var n="onClick"===e||"onDblClick"===e?function(e){return function(n){if(0!==n.button)return void n.stopPropagation();G(n,!0,e,Z(n))}}(e):function(e){return function(n){G(n,!1,e,Z(n))}}(e);return document.addEventListener(s(e),n),n}(e)),t}function q(e,n){var t=n.$EV;t&&t[e]&&(0===--H[e]&&(document.removeEventListener(s(e),z[e]),z[e]=null),t[e]=null)}function G(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 K(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function J(){return this.defaultPrevented}function Y(){return this.cancelBubble}function Z(e){var n={dom:document};return e.isDefaultPrevented=J,e.isPropagationStopped=Y,e.stopPropagation=K,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return n.dom}}),n}function ee(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 ne(e,n){var t=function(t){var r=this.$V;if(!r)return;var l=r.props||f,a=r.dom;if(i(e))ee(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=me(t))&&function(e,n,t){64&e?function(e,n){re(n.type)?(te(e,"change",ie),te(e,"click",le)):te(e,"input",oe)}(n,t):256&e?function(e){te(e,"change",ue)}(n):128&e&&function(e,n){te(e,"input",de),n.onChange&&te(e,"change",pe)}(n,t)}(n,r,t),t)$e(a,null,t[a],r,o,i,null);l&&ve(n,e,r,t,!0,i)}function Se(e,n,t){var r=O(e.render(n,e.state,t)),i=t;return o(e.getChildContext)&&(i=a(t,e.getChildContext())),e.$CX=i,r}function Pe(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=Se(u,t,r),u}function Ue(e,n){var t=e.props||f;return 32768&e.flags?e.type.render(t,e.ref,n):e.type(t,n)}function Ve(e,n,t,r,o,i){var l=e.flags|=16384;481&l?Le(e,n,t,r,o,i):4&l?function(e,n,t,r,o,i){var l=Pe(e,e.type,e.props||f,t,r,i);Ve(l.$LI,n,l.$CX,r,o,i),Ie(e.ref,l,i)}(e,n,t,r,o,i):8&l?(function(e,n,t,r,o,i){Ve(e.children=O(Ue(e,t)),n,t,r,o,i)}(e,n,t,r,o,i),Te(e,i)):512&l||16&l?Fe(e,n,o):8192&l?function(e,n,t,r,o,i){var l=e.children,a=e.childFlags;12&a&&0===l.length&&(a=e.childFlags=2,l=e.children=_()),2===a?Ve(l,t,o,r,o,i):Me(l,t,n,r,o,i)}(e,t,n,r,o,i):1024&l&&function(e,n,t,r,o){Ve(e.children,e.ref,n,!1,null,o);var i=_();Fe(i,t,r),e.dom=i.dom}(e,t,n,o,i)}function Fe(e,n,t){var r=e.dom=document.createTextNode(e.children);l(n)||p(n,r,t)}function Le(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=T(s)),Ve(s,h,r,v,null,a)):8!==d&&4!==d||Me(s,h,r,v,null,a)}l(n)||p(n,h,i),l(c)||Ne(e,u,c,h,o),ye(e.ref,h,a)}function Me(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=me(a)),a){var m=h[v],g=a[v];m!==g&&$e(v,m,g,u,o,p,e)}if(h!==f)for(var y in h)t(a[y])&&!t(h[y])&&$e(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):Ae(e.childFlags,n.childFlags,e.children,b,u,r,o&&"foreignObject"!==n.type,null,e,l),d&&ve(i,n,u,a,!1,p);var C=n.ref,x=e.ref;x!==C&&(ge(x),ye(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)}De(s,v,d,t,r,i,!1,u,c),h!==p&&(ge(h),ye(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=O(Ue(n,i));_e(v,m,r,i,l,a,u),n.children=m,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=_());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)}Ae(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(Ae(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 Ae(e,n,t,r,o,i,l,a,u,c){switch(e){case 2:switch(n){case 2:_e(t,r,o,i,l,a,c);break;case 1:be(t,o);break;case 16:ke(t),w(o,r);break;default:!function(e,n,t,r,o,i){ke(e),Me(n,t,r,o,g(e,!0),i),y(e,t)}(t,r,o,i,l,c)}break;case 1:switch(n){case 2:Ve(r,o,i,l,a,c);break;case 1:break;case 16:w(o,r);break;default:Me(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:xe(o),Ve(r,o,i,l,a,c);break;case 1:xe(o);break;default:xe(o),Me(r,o,i,l,a,c)}break;default:switch(n){case 16:Ce(t),w(o,r);break;case 2:we(o,u,t),Ve(r,o,i,l,a,c);break;case 1:we(o,u,t);break;default:var f=0|t.length,s=0|r.length;0===f?s>0&&Me(r,o,i,l,a,c):0===s?we(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=T(m)),_e(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=T(m)),_e(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;)be(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=T(h)),_e(p,h,u,t,c,f,d),++P;break}!$&&a>l&&be(p,u)}else $||be(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;)be(e[y++],u);w[a-k]=m+1,S>a?N=!0:S=a,16384&(h=n[a]).flags&&(n[a]=h=T(h)),_e(p,h,u,t,c,f,d),++P}else $||be(p,u);else $||be(p,u)}if($)we(u,s,e),Me(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>Ee&&(Ee=u,fe=new Int32Array(u),se=new Int32Array(u));t>1]]0&&(se[t]=fe[i-1]),fe[i]=t)}i=o+1;var c=new Int32Array(i);for(l=fe[i-1];i-- >0;)c[i]=l,l=se[l],fe[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=T(h)),Ve(h,u,t,c,(v=S+1)=0;m--)0===w[m]&&(16384&(h=n[S=m+k]).flags&&(n[S]=h=T(h)),Ve(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 F(o,e.type,e.props||n?Ge(e.props,n):f,u,c);if(16&o)return L(i);if(8192&o)return M(1===l?[i]:i,0,u);return I(V(o,e.type,a,null,1,Ge(e.props,n),u,c))}function Je(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;He(this,{},e,!0)},qe.prototype.setState=function(e,n){if(this.$UN)return;this.$BS||He(this,e,n,!1)},qe.prototype.render=function(e,n,t){return null};var Ye={componentDidMount:1,componentDidUnmount:1,componentDidUpdate:1,componentWillMount:1,componentWillUnmount:1,componentWillUpdate:1,constructor:1,render:1,shouldComponentUpdate:1};function Ze(e,n){for(var t in n)e[t]=n[t];return e}function en(e,n){void 0===n&&(n={});for(var t=0,r=e.length;t1)for(r=[];f-- >0;)r[f]=i[f+2];if(!ln(e)){if(c=2,an(r)||(n||(n={}),n.children=r),!on(n))for(var s in o={},n)"key"===s?a=n.key:"ref"===s?l=n.ref:1===un[s]?(l||(l={}),l[s]=n[s]):o[s]=n[s];return F(c,e,o,a,l)}if(c=D(e),!on(n))for(var d in o={},n)"className"===d||"class"===d?u=n[d]:"key"===d?a=n.key:"children"===d&&an(r)?r=n.children:"ref"===d?l=n.ref:("contenteditable"===d&&(c|=4096),o[d]=n[d]);if(8192&c)return M(1===f?[r]:r,0,a);return V(c,e,u,r,0,o,a,l)}function fn(e){return null===e}function sn(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)fn(t)?Ve(a,n,r,o,null,i):t=(t=pn(a,n,t,r,o,i))?t.nextSibling:null;else if(16===l)fn(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?Ve(p,n,r,o,t,i):t=(t=pn(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 fn(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 dn(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 pn(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=Pe(e,u,s,r,o,l);a=pn(d.$LI,n,t,d.$CX,o,l),Ie(c,d,l)}else{var p=O(Ue(e,r));a=pn(p,n,t,r,o,l),e.children=p,Te(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?(Le(e,null,r,o,null,i),n.replaceChild(e.dom,t)):(e.dom=t,sn(e,t,t.firstChild,r,o,i),fn(a)||Ne(e,c,a,t,o),void 0===(l=u)||null===l?""!==t.className&&t.removeAttribute("class"):o?t.setAttribute("class",u):t.className=u,ye(f,t,i)),e.dom}(e,n,t,r,o,i);if(16&l)return dn(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 dn(l,n,t),l.dom;return sn(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 hn=Array.isArray;function vn(e){return void 0===e||null===e}function mn(e){return"string"===typeof e}function gn(e){return null===e}function yn(){}yn.isRequired=yn;var bn=function(){return yn},kn={any:bn,array:yn,arrayOf:bn,bool:yn,checkPropTypes:function(){return null},element:bn,func:yn,instanceOf:bn,node:bn,number:yn,object:yn,objectOf:bn,oneOf:bn,oneOfType:bn,shape:bn,string:yn,symbol:yn},Cn={htmlFor:"for",onDoubleClick:"onDblClick"},xn=/[\-\:]([a-z])/g,wn=function(e){return e[1].toUpperCase()};function $n(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(xn,wn);Cn[n]=e}));var Nn=/[A-Z]/g;x.reactStyles=!0;var Sn=[],Pn={map:function(e,n,t){if(vn(e))return e;return e=Pn.toArray(e),t&&(n=n.bind(t)),e.map(n)},forEach:function(e,n,t){if(vn(e))return;e=Pn.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||gn(e))return!1;return(495&e.flags)>0},linkEvent:u,normalizeProps:I,options:x,render:En,rerender:Qe,unmountComponentAtNode:function(e){return Oe(null,e,null,null),!0},unstable_renderSubtreeIntoContainer:function(e,n,t,r){En(F(4,Dn,{children:n,context:e.context}),t,null);var o=n.children;return r&&r.call(o),o},version:Un};window.React=On,window.ReactDOM=On}function Bn(e){return V(1,"li","TreeLeaf",L(e.children),0,null,null,null)}function Rn(e,n){return e!==n}function Wn(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,v=i(d),h=o(d)&&d[0]===P;p||v||h?(a=a||l.slice(0,f),(p||h)&&(s=L(s)),(v||h)&&(s.key=P+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=L(l)),u=2;t.children=a,t.childFlags=u}(v,v.children),v}function U(e,n,r,l,o){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),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 V(e,n){return new S(1,t(e)||!0===e||!1===e?"":e,null,16,n,null,null,null)}function N(e,n,t){var r=x(8192,8192,null,e,n,null,t,null);switch(r.childFlags){case 1:r.children=A(),r.childFlags=2;break;case 16:r.children=[V(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 S(e.childFlags,e.children,e.className,n,e.key,t,e.ref,e.type);return function(e){var n=e.children,t=e.childFlags;return N(2===t?L(n):n.map(L),t,e.key)}(e)}function A(){return V("",null)}function I(t,l,a,u){for(var c=t.length;a-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=L(s)),we(s,v,r,h,null,a)):8!==d&&4!==d||Fe(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=se(t))&&function(e,n,t){64&e?function(e,n){Y(n.type)?(Q(e,"change",ee),Q(e,"click",ne)):Q(e,"input",Z)}(n,t):256&e?function(e){Q(e,"change",re)}(n):128&e&&function(e,n){Q(e,"input",ae),n.onChange&&Q(e,"change",ue)}(n,t)}(n,r,t),t)be(a,null,t[a],r,l,o,null);i&&fe(n,e,r,t,!0,o)}(e,u,c,v,l),pe(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=ke(u,t,r),u}(e,e.type,e.props||f,t,r,a);we(u.$LI,n,u.$CX,r,o,a),function(e,n,t){pe(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){we(e.children=M(Ce(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?$e(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=A()),2===a?we(i,t,l,r,l,o):Fe(i,t,n,r,l,o)}(e,r,n,o,a,u):1024&c&&function(e,n,t,r,l){we(e.children,e.ref,n,!1,null,l);var o=A();$e(o,t,r),e.dom=o.dom}(e,r,n,a,u)}function $e(e,n,t){var r=e.dom=document.createTextNode(e.children);i(n)||p(n,r,t)}function Fe(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=se(a)),a){var m=v[h],g=a[h];m!==g&&be(h,m,g,u,l,p,e)}if(v!==f)for(var y in v)t(a[y])&&!t(v[y])&&be(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):Se(e.childFlags,n.childFlags,e.children,b,u,r,l&&"foreignObject"!==n.type,null,e,i),d&&fe(o,n,u,a,!1,p);var C=n.ref,w=e.ref;w!==C&&(de(w),pe(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=ke(e,t,o);p&&l(e.getSnapshotBeforeUpdate)&&(h=e.getSnapshotBeforeUpdate(d,s)),Pe(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&&(de(v),pe(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=M(Ce(n,o));Pe(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=A());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)}Se(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(Se(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 Se(e,n,t,r,l,o,i,a,u,c){switch(e){case 2:switch(n){case 2:Pe(t,r,l,o,i,a,c);break;case 1:ve(t,l);break;case 16:he(t),C(l,r);break;default:!function(e,n,t,r,l,o){he(e),Fe(n,t,r,l,m(e,!0),o),g(e,t)}(t,r,l,o,i,c)}break;case 1:switch(n){case 2:we(r,l,o,i,a,c);break;case 1:break;case 16:C(l,r);break;default:Fe(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),we(r,l,o,i,a,c);break;case 1:ge(l);break;default:ge(l),Fe(r,l,o,i,a,c)}break;default:switch(n){case 16:me(t),C(l,r);break;case 2:ye(l,u,t),we(r,l,o,i,a,c);break;case 1:ye(l,u,t);break;default:var f=0|t.length,s=0|r.length;0===f?s>0&&Fe(r,l,o,i,a,c):0===s?ye(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=L(g)),Pe(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=L(g)),Pe(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;)ve(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=L(v)),Pe(p,v,u,t,c,f,d),++x;break}!F&&a>i&&ve(p,u)}else F||ve(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;)ve(e[b++],u);$[a-k]=g+1,S>a?P=!0:S=a,16384&(v=n[a]).flags&&(n[a]=v=L(v)),Pe(p,v,u,t,c,f,d),++x}else F||ve(p,u);else F||ve(p,u)}if(F)ye(u,s,e),Fe(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>xe&&(xe=u,oe=new Int32Array(u),ie=new Int32Array(u));t>1]]0&&(ie[t]=oe[o-1]),oe[o]=t)}o=l+1;var c=new Int32Array(o);for(i=oe[o-1];o-- >0;)c[o]=i,i=ie[i],oe[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=L(v)),we(v,u,t,c,(h=S+1)=0;g--)0===$[g]&&(16384&(v=n[S=g+k]).flags&&(n[S]=v=L(v)),we(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,h=a(d),v=i(d)&&d[0]===S;p||h||v?(l=l||r.slice(0,s),(p||v)&&(f=B(f)),(h||v)&&(f.key=S+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=B(r)),u=2;e.children=l,e.childFlags=u}(h,h.children),h}function V(e,n,t,o,l){var i=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),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 L(e,n){return new F(1,r(e)||!0===e||!1===e?"":e,null,16,n,null,null,null)}function I(e,n,t){var r=N(8192,8192,null,e,n,null,t,null);switch(r.childFlags){case 1:r.children=M(),r.childFlags=2;break;case 16:r.children=[L(e)],r.childFlags=4}return r}function B(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 F(e.childFlags,e.children,e.className,n,e.key,t,e.ref,e.type);return function(e){var n=e.children,t=e.childFlags;return I(2===t?B(n):n.map(B),t,e.key)}(e)}function M(){return L("",null)}function T(e,r,l,u){for(var c=e.length;l-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=B(f)),Ue(f,h,t,v,null,i)):8!==d&&4!==d||Pe(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=pe(t))&&function(e,n,t){64&e?function(e,n){ee(n.type)?(Z(e,"change",te),Z(e,"click",re)):Z(e,"input",ne)}(n,t):256&e?function(e){Z(e,"change",le)}(n):128&e&&function(e,n){Z(e,"input",ce),n.onChange&&Z(e,"change",se)}(n,t)}(n,r,t),t)$e(a,null,t[a],r,o,l,null);i&&de(n,e,r,t,!0,l)}(e,u,c,h,o),ve(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=k(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=Ce(u,t,r),u}(e,e.type,e.props||s,t,r,i);Ue(u.$LI,n,u.$CX,r,o,i),function(e,n,t){ve(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){Ue(e.children=A(we(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(g(n,!0),n.props||s)}}(t,e)))}(e,u)):512&c||16&c?xe(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=M()),2===a?Ue(i,t,o,r,o,l):Pe(i,t,n,r,o,l)}(e,t,n,o,i,u):1024&c&&function(e,n,t,r,o){Ue(e.children,e.ref,n,!1,null,o);var l=M();xe(l,t,r),e.dom=l.dom}(e,t,n,i,u)}function xe(e,n,t){var r=e.dom=document.createTextNode(e.children);a(n)||p(n,r,t)}function Pe(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=pe(a)),a){var m=h[v],g=a[v];m!==g&&$e(v,m,g,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,k=n.className;e.className!==k&&(r(k)?u.removeAttribute("class"):o?u.setAttribute("class",k):u.className=k),4096&l?function(e,n){e.textContent!==n&&(e.textContent=n)}(u,b):Fe(e.childFlags,n.childFlags,e.children,b,u,t,o&&"foreignObject"!==n.type,null,e,i),d&&de(l,n,u,a,!1,p);var $=n.ref,C=e.ref;C!==$&&(he(C),ve($,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)}Ne(f,v,d,t,r,o,!1,i,c),h!==p&&(he(h),ve(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 m=A(we(n,o));Se(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=M());var f=0!==(2&c);if(12&u){var d=i.length;(8&u&&8&c||f||!f&&a.length>d)&&(s=g(i[d-1],!1).nextSibling)}Fe(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(Fe(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 Fe(e,n,t,r,o,l,i,a,u,c){switch(e){case 2:switch(n){case 2:Se(t,r,o,l,i,a,c);break;case 1:me(t,o);break;case 16:ge(t),w(o,r);break;default:!function(e,n,t,r,o,l){ge(e),Pe(n,t,r,o,g(e,!0),l),y(e,t)}(t,r,o,l,i,c)}break;case 1:switch(n){case 2:Ue(r,o,l,i,a,c);break;case 1:break;case 16:w(o,r);break;default:Pe(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:be(o),Ue(r,o,l,i,a,c);break;case 1:be(o);break;default:be(o),Pe(r,o,l,i,a,c)}break;default:switch(n){case 16:ye(t),w(o,r);break;case 2:ke(o,u,t),Ue(r,o,l,i,a,c);break;case 1:ke(o,u,t);break;default:var s=0|t.length,f=0|r.length;0===s?f>0&&Pe(r,o,l,i,a,c):0===f?ke(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],m=n[h];e:{for(;v.key===m.key;){if(16384&m.flags&&(n[h]=m=B(m)),Se(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=B(m)),Se(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(f=(s=p+1)p)for(;h<=d;)me(e[h++],t);else!function(e,n,t,r,o,l,i,a,u,c,s,f,d){var p,h,v,m=0,y=a,k=a,$=l-a+1,C=i-a+1,w=new Int32Array(C+1),U=$===r,x=!1,P=0,S=0;if(o<4||($|C)<32)for(m=y;m<=l;++m)if(p=e[m],Sa?x=!0:P=a,16384&h.flags&&(n[a]=h=B(h)),Se(p,h,u,t,c,s,d),++S;break}!U&&a>i&&me(p,u)}else U||me(p,u);else{var F={};for(m=k;m<=i;++m)F[n[m].key]=m;for(m=y;m<=l;++m)if(p=e[m],Sy;)me(e[y++],u);w[a-k]=m+1,P>a?x=!0:P=a,16384&(h=n[a]).flags&&(n[a]=h=B(h)),Se(p,h,u,t,c,s,d),++S}else U||me(p,u);else U||me(p,u)}if(U)ke(u,f,e),Pe(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>Ve&&(Ve=u,ae=new Int32Array(u),ue=new Int32Array(u));t>1]]0&&(ue[t]=ae[l-1]),ae[l]=t)}l=o+1;var c=new Int32Array(l);for(i=ae[l-1];l-- >0;)c[l]=i,i=ue[i],ae[l]=0;return c}(w);for(a=N.length-1,m=C-1;m>=0;m--)0===w[m]?(16384&(h=n[P=m+k]).flags&&(n[P]=h=B(h)),Ue(h,u,t,c,(v=P+1)=0;m--)0===w[m]&&(16384&(h=n[P=m+k]).flags&&(n[P]=h=B(h)),Ue(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,v=i(d),h=o(d)&&d[0]===P;p||v||h?(a=a||l.slice(0,f),(p||h)&&(s=U(s)),(v||h)&&(s.key=P+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=U(l)),u=2;t.children=a,t.childFlags=u}(v,v.children),v}function N(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 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 y.createVNode&&y.createVNode(i),i}function L(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=V(8192,8192,null,e,n,null,t,null);switch(r.childFlags){case 1:r.children=I(),r.childFlags=2;break;case 16:r.children=[L(e)],r.childFlags=4}return r}function U(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=e.children,t=e.childFlags;return S(2===t?U(n):n.map(U),t,e.key)}(e)}function I(){return L("",null)}function A(t,l,a,u){for(var c=t.length;a-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=U(s)),we(s,v,r,h,null,a)):8!==d&&4!==d||Fe(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=se(t))&&function(e,n,t){64&e?function(e,n){Y(n.type)?(Q(e,"change",ee),Q(e,"click",ne)):Q(e,"input",Z)}(n,t):256&e?function(e){Q(e,"change",re)}(n):128&e&&function(e,n){Q(e,"input",ae),n.onChange&&Q(e,"change",ue)}(n,t)}(n,r,t),t)be(a,null,t[a],r,l,o,null);i&&fe(n,e,r,t,!0,o)}(e,u,c,v,l),pe(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=ye(u,t,r),u}(e,e.type,e.props||f,t,r,a);we(u.$LI,n,u.$CX,r,o,a),function(e,n,t){pe(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){we(e.children=M(Ce(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?$e(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=I()),2===a?we(i,t,l,r,l,o):Fe(i,t,n,r,l,o)}(e,r,n,o,a,u):1024&c&&function(e,n,t,r,l){we(e.children,e.ref,n,!1,null,l);var o=I();$e(o,t,r),e.dom=o.dom}(e,r,n,a,u)}function $e(e,n,t){var r=e.dom=document.createTextNode(e.children);i(n)||p(n,r,t)}function Fe(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=se(a)),a){var g=v[h],m=a[h];g!==m&&be(h,g,m,u,l,p,e)}if(v!==f)for(var k in v)t(a[k])&&!t(v[k])&&be(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):xe(e.childFlags,n.childFlags,e.children,b,u,r,l&&"foreignObject"!==n.type,null,e,i),d&&fe(o,n,u,a,!1,p);var C=n.ref,w=e.ref;w!==C&&(de(w),pe(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=ye(e,t,o);p&&l(e.getSnapshotBeforeUpdate)&&(h=e.getSnapshotBeforeUpdate(d,s)),Pe(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&&(de(v),pe(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=M(Ce(n,o));Pe(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=I());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)}xe(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(xe(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 xe(e,n,t,r,l,o,i,a,u,c){switch(e){case 2:switch(n){case 2:Pe(t,r,l,o,i,a,c);break;case 1:ve(t,l);break;case 16:he(t),C(l,r);break;default:!function(e,n,t,r,l,o){he(e),Fe(n,t,r,l,g(e,!0),o),m(e,t)}(t,r,l,o,i,c)}break;case 1:switch(n){case 2:we(r,l,o,i,a,c);break;case 1:break;case 16:C(l,r);break;default:Fe(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),we(r,l,o,i,a,c);break;case 1:me(l);break;default:me(l),Fe(r,l,o,i,a,c)}break;default:switch(n){case 16:ge(t),C(l,r);break;case 2:ke(l,u,t),we(r,l,o,i,a,c);break;case 1:ke(l,u,t);break;default:var f=0|t.length,s=0|r.length;0===f?s>0&&Fe(r,l,o,i,a,c):0===s?ke(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=U(m)),Pe(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=U(m)),Pe(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;)ve(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,w=i-a+1,$=new Int32Array(w+1),F=C===r,P=!1,x=0,V=0;if(l<4||(C|w)<32)for(m=b;m<=o;++m)if(p=e[m],Va?P=!0:x=a,16384&v.flags&&(n[a]=v=U(v)),Pe(p,v,u,t,c,f,d),++V;break}!F&&a>i&&ve(p,u)}else F||ve(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],Vb;)ve(e[b++],u);$[a-y]=m+1,x>a?P=!0:x=a,16384&(v=n[a]).flags&&(n[a]=v=U(v)),Pe(p,v,u,t,c,f,d),++V}else F||ve(p,u);else F||ve(p,u)}if(F)ke(u,s,e),Fe(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>Ve&&(Ve=u,oe=new Int32Array(u),ie=new Int32Array(u));t>1]]0&&(ie[t]=oe[o-1]),oe[o]=t)}o=l+1;var c=new Int32Array(o);for(i=oe[o-1];o-- >0;)c[o]=i,i=ie[i],oe[o]=0;return c}($);for(a=L.length-1,m=w-1;m>=0;m--)0===$[m]?(16384&(v=n[x=m+y]).flags&&(n[x]=v=U(v)),we(v,u,t,c,(h=x+1)=0;m--)0===$[m]&&(16384&(v=n[x=m+y]).flags&&(n[x]=v=U(v)),we(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.2" + "inferno": "7.4.3" }, "devDependencies": { - "inferno-shared": "7.4.2", - "inferno-vnode-flags": "7.4.2" + "inferno-shared": "7.4.3", + "inferno-vnode-flags": "7.4.3" }, "rollup": { "bundledDependencies": [ diff --git a/packages/inferno-mobx/package.json b/packages/inferno-mobx/package.json index 44022f8bb..08b8e7bcc 100644 --- a/packages/inferno-mobx/package.json +++ b/packages/inferno-mobx/package.json @@ -1,6 +1,6 @@ { "name": "inferno-mobx", - "version": "7.4.2", + "version": "7.4.3", "license": "MIT", "description": "Official Inferno bindings for Mobx", "author": { @@ -36,11 +36,11 @@ }, "dependencies": { "hoist-non-inferno-statics": "^1.1.3", - "inferno": "7.4.2", - "inferno-create-class": "7.4.2", - "inferno-create-element": "7.4.2", - "inferno-shared": "7.4.2", - "inferno-vnode-flags": "7.4.2", + "inferno": "7.4.3", + "inferno-create-class": "7.4.3", + "inferno-create-element": "7.4.3", + "inferno-shared": "7.4.3", + "inferno-vnode-flags": "7.4.3", "mobx": "*" }, "rollup": { diff --git a/packages/inferno-redux/package.json b/packages/inferno-redux/package.json index c1e86c510..0b9925052 100644 --- a/packages/inferno-redux/package.json +++ b/packages/inferno-redux/package.json @@ -1,6 +1,6 @@ { "name": "inferno-redux", - "version": "7.4.2", + "version": "7.4.3", "license": "MIT", "description": "Official Inferno bindings for Redux", "author": { @@ -36,12 +36,12 @@ }, "dependencies": { "hoist-non-inferno-statics": "^1.1.3", - "inferno": "7.4.2" + "inferno": "7.4.3" }, "devDependencies": { - "inferno-create-class": "7.4.2", - "inferno-create-element": "7.4.2", - "inferno-shared": "7.4.2", + "inferno-create-class": "7.4.3", + "inferno-create-element": "7.4.3", + "inferno-shared": "7.4.3", "redux": "^4" }, "rollup": { diff --git a/packages/inferno-router/package.json b/packages/inferno-router/package.json index a4572bdac..32b78f3cd 100644 --- a/packages/inferno-router/package.json +++ b/packages/inferno-router/package.json @@ -1,6 +1,6 @@ { "name": "inferno-router", - "version": "7.4.2", + "version": "7.4.3", "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.2", + "inferno": "7.4.3", "path-to-regexp-es6": "1.7.0" }, "devDependencies": { - "inferno-vnode-flags": "7.4.2", + "inferno-vnode-flags": "7.4.3", "mobx": "*" }, "rollup": { diff --git a/packages/inferno-server/package.json b/packages/inferno-server/package.json index 4650fb29a..fc1f81adf 100644 --- a/packages/inferno-server/package.json +++ b/packages/inferno-server/package.json @@ -1,6 +1,6 @@ { "name": "inferno-server", - "version": "7.4.2", + "version": "7.4.3", "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.2", - "inferno-create-element": "7.4.2", - "inferno-hydrate": "7.4.2", - "inferno-shared": "7.4.2", - "inferno-vnode-flags": "7.4.2", + "inferno-create-class": "7.4.3", + "inferno-create-element": "7.4.3", + "inferno-hydrate": "7.4.3", + "inferno-shared": "7.4.3", + "inferno-vnode-flags": "7.4.3", "mobx": "*" }, "dependencies": { - "inferno": "7.4.2" + "inferno": "7.4.3" }, "rollup": { "bundledDependencies": [ diff --git a/packages/inferno-shared/package.json b/packages/inferno-shared/package.json index c0283bc19..947cd8fea 100644 --- a/packages/inferno-shared/package.json +++ b/packages/inferno-shared/package.json @@ -1,6 +1,6 @@ { "name": "inferno-shared", - "version": "7.4.2", + "version": "7.4.3", "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 93e33943b..b5a06475e 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.2", + "version": "7.4.3", "license": "MIT", "description": "Suite of utilities for testing Inferno applications", "author": { @@ -21,11 +21,11 @@ "utils" ], "devDependencies": { - "inferno-shared": "7.4.2", - "inferno-vnode-flags": "7.4.2" + "inferno-shared": "7.4.3", + "inferno-vnode-flags": "7.4.3" }, "dependencies": { - "inferno": "7.4.2" + "inferno": "7.4.3" }, "rollup": { "bundledDependencies": [ diff --git a/packages/inferno-utils/package.json b/packages/inferno-utils/package.json index 7060f1eff..1a075f804 100644 --- a/packages/inferno-utils/package.json +++ b/packages/inferno-utils/package.json @@ -1,13 +1,13 @@ { "name": "inferno-utils", - "version": "7.4.2", + "version": "7.4.3", "description": "Meta test utilities which are not for userland", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "devDependencies": { - "inferno-shared": "7.4.2", - "inferno-vnode-flags": "7.4.2" + "inferno-shared": "7.4.3", + "inferno-vnode-flags": "7.4.3" }, "keywords": [], "author": "", diff --git a/packages/inferno-vnode-flags/package.json b/packages/inferno-vnode-flags/package.json index a82dbb569..66857cdd1 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.2", + "version": "7.4.3", "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 867735573..5b5d35bb6 100644 --- a/packages/inferno/package.json +++ b/packages/inferno/package.json @@ -1,6 +1,6 @@ { "name": "inferno", - "version": "7.4.2", + "version": "7.4.3", "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.2" + "inferno-utils": "7.4.3" }, "dependencies": { - "inferno-shared": "7.4.2", - "inferno-vnode-flags": "7.4.2", + "inferno-shared": "7.4.3", + "inferno-vnode-flags": "7.4.3", "opencollective-postinstall": "^2.0.2" } }