From 0e6861524314a3050ef5a745c81436b035877fc4 Mon Sep 17 00:00:00 2001 From: April Mintac Pineda Date: Sat, 6 Oct 2018 15:59:46 +0800 Subject: [PATCH] updated demo --- docs/index.html | 4 ++-- docs/main.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/index.html b/docs/index.html index e660263..714acb2 100644 --- a/docs/index.html +++ b/docs/index.html @@ -14,7 +14,7 @@ gtag('config', 'UA-111722788-6'); - 1.2.0 + 1.3.1 @@ -22,4 +22,4 @@ - \ No newline at end of file + diff --git a/docs/main.js b/docs/main.js index 06a2f04..0bec8a2 100644 --- a/docs/main.js +++ b/docs/main.js @@ -1 +1 @@ -!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=4)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(13);n.d(t,"Component",function(){return r.a}),n.d(t,"EMPTY_OBJ",function(){return r.b}),n.d(t,"NO_OP",function(){return r.d}),n.d(t,"createComponentVNode",function(){return r.e}),n.d(t,"createPortal",function(){return r.f}),n.d(t,"createRenderer",function(){return r.g}),n.d(t,"createTextVNode",function(){return r.h}),n.d(t,"createVNode",function(){return r.i}),n.d(t,"directClone",function(){return r.j}),n.d(t,"getFlagsForElementVnode",function(){return r.k}),n.d(t,"getNumberStyleValue",function(){return r.l}),n.d(t,"hydrate",function(){return r.m}),n.d(t,"linkEvent",function(){return r.n}),n.d(t,"normalizeProps",function(){return r.o}),n.d(t,"options",function(){return r.p}),n.d(t,"render",function(){return r.q}),n.d(t,"version",function(){return r.r}),n.d(t,"JSX",function(){return r.c})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==("undefined"===typeof t?"undefined":s(t))&&"function"!==typeof t?e:t}function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+("undefined"===typeof t?"undefined":s(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;rs){for(var t=0,n=a.length-c;t-1?t:e}function p(e,t){t=t||{};var n=t.body;if(e instanceof p){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new o(e.headers)),this.method=e.method,this.mode=e.mode,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new o(t.headers)),this.method=d(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function h(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}}),t}function y(e){var t=new o;return e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}}),t}function m(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new o(t.headers),this.url=t.url||"",this._initBody(e)}if(!e.fetch){var b={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(b.arrayBuffer)var v=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],g=function(e){return e&&DataView.prototype.isPrototypeOf(e)},w=ArrayBuffer.isView||function(e){return e&&v.indexOf(Object.prototype.toString.call(e))>-1};o.prototype.append=function(e,r){e=t(e),r=n(r);var o=this.map[e];this.map[e]=o?o+","+r:r},o.prototype.delete=function(e){delete this.map[t(e)]},o.prototype.get=function(e){return e=t(e),this.has(e)?this.map[e]:null},o.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},o.prototype.set=function(e,r){this.map[t(e)]=n(r)},o.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},o.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),r(e)},o.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),r(e)},o.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),r(e)},b.iterable&&(o.prototype[Symbol.iterator]=o.prototype.entries);var O=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];p.prototype.clone=function(){return new p(this,{body:this._bodyInit})},f.call(p.prototype),f.call(m.prototype),m.prototype.clone=function(){return new m(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new o(this.headers),url:this.url})},m.error=function(){var e=new m(null,{status:0,statusText:""});return e.type="error",e};var _=[301,302,303,307,308];m.redirect=function(e,t){if(-1===_.indexOf(t))throw new RangeError("Invalid status code");return new m(null,{status:t,headers:{location:e}})},e.Headers=o,e.Request=p,e.Response=m,e.fetch=function(e,t){return new Promise(function(n,r){var o=new p(e,t),i=new XMLHttpRequest;i.onload=function(){var e={status:i.status,statusText:i.statusText,headers:y(i.getAllResponseHeaders()||"")};e.url="responseURL"in i?i.responseURL:e.headers.get("X-Request-URL");var t="response"in i?i.response:i.responseText;n(new m(t,e))},i.onerror=function(){r(new TypeError("Network request failed"))},i.ontimeout=function(){r(new TypeError("Network request failed"))},i.open(o.method,o.url,!0),"include"===o.credentials?i.withCredentials=!0:"omit"===o.credentials&&(i.withCredentials=!1),"responseType"in i&&b.blob&&(i.responseType="blob"),o.headers.forEach(function(e,t){i.setRequestHeader(t,e)}),i.send("undefined"===typeof o._bodyInit?null:o._bodyInit)})},e.fetch.polyfill=!0}}("undefined"!==typeof self?self:this)},function(e,t,n){"use strict";function r(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,u,c=r(e),s=1;s0&&(e=t.prototype&&a(t.prototype.render)?4:8);var u=t.defaultProps;if(!o(u)){n||(n={});for(var c in u)f(n[c])&&(n[c]=u[c])}if((8&e)>0){var s=t.defaultHooks;if(!o(s))if(i)for(var l in s)f(i[l])&&(i[l]=s[l]);else i=s}var d=h(1,null,null,e,r,n,i,t),p=Ye.createVNode;return a(p)&&p(d),d}function b(e,t){return h(1,o(e)?"":e,null,16,t,null,null,null)}function v(e){var t=e.props;if(t){var n=e.flags;481&n&&(void 0!==t.children&&o(e.children)&&j(e,t.children),void 0!==t.className&&(e.className=t.className||null,t.className=void 0)),void 0!==t.key&&(e.key=t.key,t.key=void 0),void 0!==t.ref&&(e.ref=8&n?p(e.ref,t.ref):t.ref,t.ref=void 0)}return e}function g(e){var t,n=e.flags;if(14&n){var r,o=e.props;if(!s(o)){r={};for(var i in o)r[i]=o[i]}t=m(n,e.type,r,e.key,e.ref)}else 481&n?t=y(n,e.type,e.className,e.children,e.childFlags,e.props,e.key,e.ref):16&n?t=b(e.children,e.key):1024&n&&(t=e);return t}function w(){return b("",null)}function O(e,t,n,o){for(var a=e.length;n0;a&&(i=Q(n))&&J(t,r,n);for(var u in n)ue(u,null,n[u],r,o,i,null);a&&Y(t,e,r,n,!0,i)}function se(e,t,n,r){var i=new t(n,r);if(e.children=i,i.$V=e,i.$BS=!1,i.context=r,i.props===tt&&(i.props=n),i.$UN=!1,a(i.componentWillMount)){if(i.$BR=!0,i.componentWillMount(),i.$PSS){var u=i.state,c=i.$PS;if(s(u))i.state=c;else for(var l in c)u[l]=c[l];i.$PSS=!1,i.$PS=null}i.$BR=!1}a(Ye.beforeRender)&&Ye.beforeRender(i);var f,d=le(i.render(n,i.state,r),e);return a(i.getChildContext)&&(f=i.getChildContext()),o(f)?i.$CX=r:i.$CX=p(r,f),a(Ye.afterRender)&&Ye.afterRender(i),i.$LI=d,i}function le(e,t){return i(e)?e=w():r(e)?e=b(e,null):(e.dom&&(e=g(e)),14&e.flags&&(e.parentVNode=t)),e}function fe(e,t,n,r){var o=e.flags;return 481&o?pe(e,t,n,r):14&o?ye(e,t,n,r,(4&o)>0):512&o||16&o?de(e,t):1024&o?(fe(e.children,e.type,n,!1),e.dom=de(w(),t)):void 0}function de(e,t){var n=e.dom=document.createTextNode(e.children);return s(t)||x(t,n),n}function pe(e,t,n,r){var i=e.flags,u=e.children,c=e.props,l=e.className,f=e.ref,d=e.childFlags;r=r||(32&i)>0;var p=T(e.type,r);if(e.dom=p,o(l)||""===l||(r?p.setAttribute("class",l):p.className=l),s(t)||x(t,p),0===(1&d)){var h=!0===r&&"foreignObject"!==e.type;2===d?fe(u,p,n,h):12&d&&he(u,p,n,h)}return s(c)||ce(e,i,c,p,r),a(f)&&we(p,f),p}function he(e,t,n,r){for(var o=0,i=e.length;o0,1!==t.nodeType||t.tagName.toLowerCase()!==e.type){var d=pe(e,null,n,r);e.dom=d,N(t.parentNode,d,t)}else{e.dom=t;var p=t.firstChild,h=e.childFlags;if(0===(1&h)){for(var y=null;p;)y=p.nextSibling,8===p.nodeType&&("!"===p.data?t.replaceChild(document.createTextNode(""),p):t.removeChild(p)),p=y;if(p=t.firstChild,2===h)s(p)?fe(i,t,n,r):(y=p.nextSibling,Pe(i,p,n,r),p=y);else if(12&h)for(var m=0,b=i.length;m0):481&o?_e(e,t,n,r):16&o?je(e,t):512&o?e.dom=t:d()}function xe(e,t,n){var r=t.firstChild;if(!s(r))for(i(e)||Pe(e,r,tt,!1),r=t.firstChild;r=r.nextSibling;)t.removeChild(r);nt.length>0&&C(nt),t.$V=e,a(n)&&n()}function Se(e,t,n,r,o){ee(e),N(n,fe(t,null,r,o),e.dom)}function Te(e,t,n,r,o){var i=0|t.flags;e.flags!==i||2048&i?Se(e,t,n,r,o):481&i?Ce(e,t,n,r,o,i):14&i?Ue(e,t,n,r,o,(4&i)>0):16&i?Ee(e,t):512&i?t.dom=e.dom:ke(e,t,r)}function Ne(e,t){e.textContent!==t.children&&(e.textContent=t.children)}function ke(e,t,n){var r=e.type,o=t.type,a=t.children;if($e(e.childFlags,t.childFlags,e.children,a,r,n,!1),t.dom=e.dom,r!==o&&!i(a)){var u=a.dom;r.removeChild(u),o.appendChild(u)}}function Ce(e,t,n,r,i,u){var c=t.type;if(e.type!==c)Se(e,t,n,r,i);else{var s,l=e.dom,f=e.props,d=t.props,p=!1,h=!1;if(t.dom=l,i=i||(32&u)>0,f!==d){var y=f||tt;if((s=d||tt)!==tt){p=(448&u)>0,p&&(h=Q(s));for(var m in s){var b=y[m],v=s[m];b!==v&&ue(m,b,v,l,i,h,e)}}if(y!==tt)for(var g in y)s.hasOwnProperty(g)||o(y[g])||ue(g,y[g],null,l,i,h,e)}var w=e.children,O=t.children,_=t.ref,j=e.className,P=t.className;4096&u?Ne(l,O):$e(e.childFlags,t.childFlags,w,O,l,r,i&&"foreignObject"!==c),p&&Y(u,t,l,s,!1,h),j!==P&&(o(P)?l.removeAttribute("class"):i?l.setAttribute("class",P):l.className=P),a(_)&&e.ref!==_&&we(l,_)}}function $e(e,t,n,r,o,i,a){switch(e){case 2:switch(t){case 2:Te(n,r,o,i,a);break;case 1:Z(n,o);break;default:Z(n,o),he(r,o,i,a)}break;case 1:switch(t){case 2:fe(r,o,i,a);break;case 1:break;default:he(r,o,i,a)}break;default:if(12&t){var u=n.length,c=r.length;0===u?c>0&&he(r,o,i,a):0===c?ne(o,n):8===t&&8===e?Be(n,r,o,i,a,u,c):Ie(n,r,o,i,a,u,c)}else 1===t?ne(o,n):2===t&&(ne(o,n),fe(r,o,i,a))}}function Ve(e,t,n,r,i,u,c,s,l){var f=e.state,d=e.props;n.children=e;var h;if(!e.$UN){if(d!==r||r===tt){if(!l&&a(e.componentWillReceiveProps)){if(e.$BR=!0,e.componentWillReceiveProps(r,u),e.$UN)return;e.$BR=!1}e.$PSS&&(t=p(t,e.$PS),e.$PSS=!1,e.$PS=null)}var y=Boolean(e.shouldComponentUpdate);if(s||!y||y&&e.shouldComponentUpdate(r,t,u)){a(e.componentWillUpdate)&&(e.$BS=!0,e.componentWillUpdate(r,t,u),e.$BS=!1),e.props=r,e.state=t,e.context=u,a(Ye.beforeRender)&&Ye.beforeRender(e),h=e.render(r,t,u),a(Ye.afterRender)&&Ye.afterRender(e);var m,b=h!==qe;if(a(e.getChildContext)&&(m=e.getChildContext()),m=o(m)?u:p(u,m),e.$CX=m,b){var v=e.$LI,g=le(h,n);Te(v,g,i,m,c),e.$LI=g,a(e.componentDidUpdate)&&e.componentDidUpdate(d,f)}}else e.props=r,e.state=t,e.context=u;n.dom=e.$LI.dom}}function Ue(e,t,n,r,i,u){var c=t.type,s=e.key,l=t.key;if(e.type!==c||s!==l)Se(e,t,n,r,i);else{var f=t.props||tt;if(u){var d=e.children;d.$UPD=!0,d.$V=t,Ve(d,d.state,t,f,n,r,i,!1,!1),d.$UPD=!1}else{var p=!0,h=e.props,y=t.ref,m=!o(y),b=e.children;if(t.dom=e.dom,t.children=b,m&&a(y.onComponentShouldUpdate)&&(p=y.onComponentShouldUpdate(h,f)),!1!==p){m&&a(y.onComponentWillUpdate)&&y.onComponentWillUpdate(h,f);var v=c(f,r);v!==qe&&(v=le(v,t),Te(b,v,n,r,i),t.children=v,t.dom=v.dom,m&&a(y.onComponentDidUpdate)&&y.onComponentDidUpdate(h,f))}else 14&b.flags&&(b.parentVNode=t)}}}function Ee(e,t){var n=t.children,r=e.dom;n!==e.children&&(r.nodeValue=n),t.dom=r}function Ie(e,t,n,r,o,i,a){for(var u,c,s=i>a?a:i,l=0;la)for(l=s;ls||f>l)break e;d=e[f],p=t[f]}for(d=e[s],p=t[l];d.key===p.key;){if(p.dom&&(t[l]=p=g(p)),Te(d,p,n,r,o),e[s]=p,s--,l--,f>s||f>l)break e;d=e[s],p=t[l]}}if(f>s){if(f<=l){c=l+1;for(var h=cl)for(;f<=s;)Z(e[f++],n);else{var y=f,m=f,b=s-f+1,v=l-f+1,w=[];for(u=0;uy;)Z(e[y++],n);j>f?_=!0:j=f,p.dom&&(t[f]=p=g(p)),Te(d,p,n,r,o),P++;break}!O&&f>l&&Z(d,n)}else O||Z(d,n);else{var x={};for(u=m;u<=l;u++)x[t[u].key]=u;for(u=y;u<=s;u++)if(d=e[u],Py;)Z(e[y++],n);p=t[f],w[f-m]=u+1,j>f?_=!0:j=f,p.dom&&(t[f]=p=g(p)),Te(d,p,n,r,o),P++}else O||Z(d,n);else O||Z(d,n)}if(O)ne(n,e),he(t,n,r,o);else if(_){var T=Ae(w);for(f=T.length-1,u=v-1;u>=0;u--)0===w[u]?(j=u+m,p=t[j],p.dom&&(t[j]=p=g(p)),c=j+1,S(n,fe(p,null,r,o),c=0;u--)0===w[u]&&(j=u+m,p=t[j],p.dom&&(t[j]=p=g(p)),c=j+1,S(n,fe(p,null,r,o),c0&&(a[t]=u[r-1]),u[r]=t)}}for(r=u.length,o=u[r-1];r-- >0;)u[r]=o,o=a[o];return u}function De(e,t,n){if(e!==qe){var r=t.$V;return o(r)?i(e)||(e.dom&&(e=g(e)),s(t.firstChild)?(fe(e,t,tt,!1),t.$V=e):xe(e,t),r=e):o(e)?(Z(r,t),t.$V=null):(e.dom&&(e=g(e)),Te(r,e,t,tt,!1),r=t.$V=e),nt.length>0&&C(nt),a(n)&&n(),a(Ye.renderComplete)&&Ye.renderComplete(r),r&&14&r.flags?r.children:void 0}}function Re(e){return function(t,n){e||(e=t),De(n,e)}}function Fe(e,t){return y(1024,t,null,e,0,null,i(e)?null:e.key,null)}function Le(e){return lt?lt.then(e):ft(e)}function Me(e,t,n,r){a(t)&&(t=t(e.state,e.props,e.context));var i=e.$PS;if(o(i))e.$PS=t;else for(var u in t)i[u]=t[u];if(e.$PSS||e.$BR)e.$PSS=!0,e.$BR&&a(n)&&nt.push(n.bind(e));else if(e.$UPD){var c=e.$QU;s(c)&&(c=e.$QU=[],Le(He(e,c))),a(n)&&c.push(n)}else e.$PSS=!0,e.$UPD=!0,We(e,r,n),e.$UPD=!1}function He(e,t){return function(){e.$QU=null,e.$UPD=!0,We(e,!1,function(){for(var n=0,r=t.length;n0,t,!0),e.$UN)return;if(0===(1024&e.$LI.flags))for(var d=e.$LI.dom;!s(l=l.parentVNode);)(14&l.flags)>0&&(l.dom=d);nt.length>0&&C(nt)}else e.state=e.$PS,e.$PS=null;a(n)&&n.call(e)}}n.d(t,"a",function(){return dt}),n.d(t,"b",function(){return tt}),n.d(t,"d",function(){return qe}),n.d(t,"e",function(){return m}),n.d(t,"f",function(){return Fe}),n.d(t,"g",function(){return Re}),n.d(t,"h",function(){return b}),n.d(t,"i",function(){return y}),n.d(t,"j",function(){return g}),n.d(t,"k",function(){return _}),n.d(t,"l",function(){return ie}),n.d(t,"m",function(){return xe}),n.d(t,"n",function(){return P}),n.d(t,"o",function(){return v}),n.d(t,"p",function(){return Ye}),n.d(t,"q",function(){return De}),n.d(t,"r",function(){return ht}),n.d(t,"c",function(){return pt});var qe="$NO_OP",ze="a runtime error occured! Use Inferno in development environment to find the error.",Xe=!("undefined"===typeof window||!window.document),Ke=Array.isArray,Ge="$",Ye={afterRender:null,beforeRender:null,createVNode:null,renderComplete:null},Je="http://www.w3.org/1999/xlink",Qe="http://www.w3.org/XML/1998/namespace",Ze="http://www.w3.org/2000/svg",et={"xlink:actuate":Je,"xlink:arcrole":Je,"xlink:href":Je,"xlink:role":Je,"xlink:show":Je,"xlink:title":Je,"xlink:type":Je,"xml:base":Qe,"xml:lang":Qe,"xml:space":Qe},tt={},nt=[],rt={},ot={},it=R("onInput",H),at=R(["onClick","onChange"],H);L.wrapped=!0;var ut=R("onChange",X),ct=R("onInput",G),st=R("onChange"),lt=(Xe&&document.body,"undefined"===typeof Promise?null:Promise.resolve()),ft="undefined"===typeof requestAnimationFrame?setTimeout:requestAnimationFrame.bind(window),dt=function(e,t){this.state=null,this.$BR=!1,this.$BS=!0,this.$PSS=!1,this.$PS=null,this.$LI=null,this.$V=null,this.$UN=!1,this.$CX=null,this.$UPD=!0,this.$QU=null,this.props=e||tt,this.context=t||tt};dt.prototype.forceUpdate=function(e){this.$UN||Me(this,{},e,!0)},dt.prototype.setState=function(e,t){this.$UN||this.$BS||Me(this,e,t,!1)},dt.prototype.render=function(e,t,n){};var pt=Object.freeze({}),ht="5.6.1"},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),u=n(1),c=(n.n(u),n(16)),s=n(17),l=n(18),f=function(){function e(e,t){for(var n=0;n1?t-1:0),r=1;rs){for(var t=0,n=a.length-c;t-1?t:e}function p(e,t){t=t||{};var n=t.body;if(e instanceof p){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new o(e.headers)),this.method=e.method,this.mode=e.mode,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new o(t.headers)),this.method=d(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function h(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}}),t}function y(e){var t=new o;return e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}}),t}function m(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new o(t.headers),this.url=t.url||"",this._initBody(e)}if(!e.fetch){var b={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(b.arrayBuffer)var v=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],g=function(e){return e&&DataView.prototype.isPrototypeOf(e)},w=ArrayBuffer.isView||function(e){return e&&v.indexOf(Object.prototype.toString.call(e))>-1};o.prototype.append=function(e,r){e=t(e),r=n(r);var o=this.map[e];this.map[e]=o?o+","+r:r},o.prototype.delete=function(e){delete this.map[t(e)]},o.prototype.get=function(e){return e=t(e),this.has(e)?this.map[e]:null},o.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},o.prototype.set=function(e,r){this.map[t(e)]=n(r)},o.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},o.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),r(e)},o.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),r(e)},o.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),r(e)},b.iterable&&(o.prototype[Symbol.iterator]=o.prototype.entries);var O=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];p.prototype.clone=function(){return new p(this,{body:this._bodyInit})},f.call(p.prototype),f.call(m.prototype),m.prototype.clone=function(){return new m(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new o(this.headers),url:this.url})},m.error=function(){var e=new m(null,{status:0,statusText:""});return e.type="error",e};var _=[301,302,303,307,308];m.redirect=function(e,t){if(-1===_.indexOf(t))throw new RangeError("Invalid status code");return new m(null,{status:t,headers:{location:e}})},e.Headers=o,e.Request=p,e.Response=m,e.fetch=function(e,t){return new Promise(function(n,r){var o=new p(e,t),i=new XMLHttpRequest;i.onload=function(){var e={status:i.status,statusText:i.statusText,headers:y(i.getAllResponseHeaders()||"")};e.url="responseURL"in i?i.responseURL:e.headers.get("X-Request-URL");var t="response"in i?i.response:i.responseText;n(new m(t,e))},i.onerror=function(){r(new TypeError("Network request failed"))},i.ontimeout=function(){r(new TypeError("Network request failed"))},i.open(o.method,o.url,!0),"include"===o.credentials?i.withCredentials=!0:"omit"===o.credentials&&(i.withCredentials=!1),"responseType"in i&&b.blob&&(i.responseType="blob"),o.headers.forEach(function(e,t){i.setRequestHeader(t,e)}),i.send("undefined"===typeof o._bodyInit?null:o._bodyInit)})},e.fetch.polyfill=!0}}("undefined"!==typeof self?self:this)},function(e,t,n){"use strict";function r(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,u,c=r(e),s=1;s0&&(e=t.prototype&&a(t.prototype.render)?4:8);var u=t.defaultProps;if(!o(u)){n||(n={});for(var c in u)f(n[c])&&(n[c]=u[c])}if((8&e)>0){var s=t.defaultHooks;if(!o(s))if(i)for(var l in s)f(i[l])&&(i[l]=s[l]);else i=s}var d=h(1,null,null,e,r,n,i,t),p=Ye.createVNode;return a(p)&&p(d),d}function b(e,t){return h(1,o(e)?"":e,null,16,t,null,null,null)}function v(e){var t=e.props;if(t){var n=e.flags;481&n&&(void 0!==t.children&&o(e.children)&&j(e,t.children),void 0!==t.className&&(e.className=t.className||null,t.className=void 0)),void 0!==t.key&&(e.key=t.key,t.key=void 0),void 0!==t.ref&&(e.ref=8&n?p(e.ref,t.ref):t.ref,t.ref=void 0)}return e}function g(e){var t,n=e.flags;if(14&n){var r,o=e.props;if(!s(o)){r={};for(var i in o)r[i]=o[i]}t=m(n,e.type,r,e.key,e.ref)}else 481&n?t=y(n,e.type,e.className,e.children,e.childFlags,e.props,e.key,e.ref):16&n?t=b(e.children,e.key):1024&n&&(t=e);return t}function w(){return b("",null)}function O(e,t,n,o){for(var a=e.length;n0;a&&(i=Q(n))&&J(t,r,n);for(var u in n)ue(u,null,n[u],r,o,i,null);a&&Y(t,e,r,n,!0,i)}function se(e,t,n,r){var i=new t(n,r);if(e.children=i,i.$V=e,i.$BS=!1,i.context=r,i.props===tt&&(i.props=n),i.$UN=!1,a(i.componentWillMount)){if(i.$BR=!0,i.componentWillMount(),i.$PSS){var u=i.state,c=i.$PS;if(s(u))i.state=c;else for(var l in c)u[l]=c[l];i.$PSS=!1,i.$PS=null}i.$BR=!1}a(Ye.beforeRender)&&Ye.beforeRender(i);var f,d=le(i.render(n,i.state,r),e);return a(i.getChildContext)&&(f=i.getChildContext()),o(f)?i.$CX=r:i.$CX=p(r,f),a(Ye.afterRender)&&Ye.afterRender(i),i.$LI=d,i}function le(e,t){return i(e)?e=w():r(e)?e=b(e,null):(e.dom&&(e=g(e)),14&e.flags&&(e.parentVNode=t)),e}function fe(e,t,n,r){var o=e.flags;return 481&o?pe(e,t,n,r):14&o?ye(e,t,n,r,(4&o)>0):512&o||16&o?de(e,t):1024&o?(fe(e.children,e.type,n,!1),e.dom=de(w(),t)):void 0}function de(e,t){var n=e.dom=document.createTextNode(e.children);return s(t)||S(t,n),n}function pe(e,t,n,r){var i=e.flags,u=e.children,c=e.props,l=e.className,f=e.ref,d=e.childFlags;r=r||(32&i)>0;var p=T(e.type,r);if(e.dom=p,o(l)||""===l||(r?p.setAttribute("class",l):p.className=l),s(t)||S(t,p),0===(1&d)){var h=!0===r&&"foreignObject"!==e.type;2===d?fe(u,p,n,h):12&d&&he(u,p,n,h)}return s(c)||ce(e,i,c,p,r),a(f)&&we(p,f),p}function he(e,t,n,r){for(var o=0,i=e.length;o0,1!==t.nodeType||t.tagName.toLowerCase()!==e.type){var d=pe(e,null,n,r);e.dom=d,N(t.parentNode,d,t)}else{e.dom=t;var p=t.firstChild,h=e.childFlags;if(0===(1&h)){for(var y=null;p;)y=p.nextSibling,8===p.nodeType&&("!"===p.data?t.replaceChild(document.createTextNode(""),p):t.removeChild(p)),p=y;if(p=t.firstChild,2===h)s(p)?fe(i,t,n,r):(y=p.nextSibling,Pe(i,p,n,r),p=y);else if(12&h)for(var m=0,b=i.length;m0):481&o?_e(e,t,n,r):16&o?je(e,t):512&o?e.dom=t:d()}function Se(e,t,n){var r=t.firstChild;if(!s(r))for(i(e)||Pe(e,r,tt,!1),r=t.firstChild;r=r.nextSibling;)t.removeChild(r);nt.length>0&&k(nt),t.$V=e,a(n)&&n()}function xe(e,t,n,r,o){ee(e),N(n,fe(t,null,r,o),e.dom)}function Te(e,t,n,r,o){var i=0|t.flags;e.flags!==i||2048&i?xe(e,t,n,r,o):481&i?ke(e,t,n,r,o,i):14&i?Ue(e,t,n,r,o,(4&i)>0):16&i?Ee(e,t):512&i?t.dom=e.dom:Ce(e,t,r)}function Ne(e,t){e.textContent!==t.children&&(e.textContent=t.children)}function Ce(e,t,n){var r=e.type,o=t.type,a=t.children;if($e(e.childFlags,t.childFlags,e.children,a,r,n,!1),t.dom=e.dom,r!==o&&!i(a)){var u=a.dom;r.removeChild(u),o.appendChild(u)}}function ke(e,t,n,r,i,u){var c=t.type;if(e.type!==c)xe(e,t,n,r,i);else{var s,l=e.dom,f=e.props,d=t.props,p=!1,h=!1;if(t.dom=l,i=i||(32&u)>0,f!==d){var y=f||tt;if((s=d||tt)!==tt){p=(448&u)>0,p&&(h=Q(s));for(var m in s){var b=y[m],v=s[m];b!==v&&ue(m,b,v,l,i,h,e)}}if(y!==tt)for(var g in y)s.hasOwnProperty(g)||o(y[g])||ue(g,y[g],null,l,i,h,e)}var w=e.children,O=t.children,_=t.ref,j=e.className,P=t.className;4096&u?Ne(l,O):$e(e.childFlags,t.childFlags,w,O,l,r,i&&"foreignObject"!==c),p&&Y(u,t,l,s,!1,h),j!==P&&(o(P)?l.removeAttribute("class"):i?l.setAttribute("class",P):l.className=P),a(_)&&e.ref!==_&&we(l,_)}}function $e(e,t,n,r,o,i,a){switch(e){case 2:switch(t){case 2:Te(n,r,o,i,a);break;case 1:Z(n,o);break;default:Z(n,o),he(r,o,i,a)}break;case 1:switch(t){case 2:fe(r,o,i,a);break;case 1:break;default:he(r,o,i,a)}break;default:if(12&t){var u=n.length,c=r.length;0===u?c>0&&he(r,o,i,a):0===c?ne(o,n):8===t&&8===e?Be(n,r,o,i,a,u,c):Ie(n,r,o,i,a,u,c)}else 1===t?ne(o,n):2===t&&(ne(o,n),fe(r,o,i,a))}}function Ve(e,t,n,r,i,u,c,s,l){var f=e.state,d=e.props;n.children=e;var h;if(!e.$UN){if(d!==r||r===tt){if(!l&&a(e.componentWillReceiveProps)){if(e.$BR=!0,e.componentWillReceiveProps(r,u),e.$UN)return;e.$BR=!1}e.$PSS&&(t=p(t,e.$PS),e.$PSS=!1,e.$PS=null)}var y=Boolean(e.shouldComponentUpdate);if(s||!y||y&&e.shouldComponentUpdate(r,t,u)){a(e.componentWillUpdate)&&(e.$BS=!0,e.componentWillUpdate(r,t,u),e.$BS=!1),e.props=r,e.state=t,e.context=u,a(Ye.beforeRender)&&Ye.beforeRender(e),h=e.render(r,t,u),a(Ye.afterRender)&&Ye.afterRender(e);var m,b=h!==qe;if(a(e.getChildContext)&&(m=e.getChildContext()),m=o(m)?u:p(u,m),e.$CX=m,b){var v=e.$LI,g=le(h,n);Te(v,g,i,m,c),e.$LI=g,a(e.componentDidUpdate)&&e.componentDidUpdate(d,f)}}else e.props=r,e.state=t,e.context=u;n.dom=e.$LI.dom}}function Ue(e,t,n,r,i,u){var c=t.type,s=e.key,l=t.key;if(e.type!==c||s!==l)xe(e,t,n,r,i);else{var f=t.props||tt;if(u){var d=e.children;d.$UPD=!0,d.$V=t,Ve(d,d.state,t,f,n,r,i,!1,!1),d.$UPD=!1}else{var p=!0,h=e.props,y=t.ref,m=!o(y),b=e.children;if(t.dom=e.dom,t.children=b,m&&a(y.onComponentShouldUpdate)&&(p=y.onComponentShouldUpdate(h,f)),!1!==p){m&&a(y.onComponentWillUpdate)&&y.onComponentWillUpdate(h,f);var v=c(f,r);v!==qe&&(v=le(v,t),Te(b,v,n,r,i),t.children=v,t.dom=v.dom,m&&a(y.onComponentDidUpdate)&&y.onComponentDidUpdate(h,f))}else 14&b.flags&&(b.parentVNode=t)}}}function Ee(e,t){var n=t.children,r=e.dom;n!==e.children&&(r.nodeValue=n),t.dom=r}function Ie(e,t,n,r,o,i,a){for(var u,c,s=i>a?a:i,l=0;la)for(l=s;ls||f>l)break e;d=e[f],p=t[f]}for(d=e[s],p=t[l];d.key===p.key;){if(p.dom&&(t[l]=p=g(p)),Te(d,p,n,r,o),e[s]=p,s--,l--,f>s||f>l)break e;d=e[s],p=t[l]}}if(f>s){if(f<=l){c=l+1;for(var h=cl)for(;f<=s;)Z(e[f++],n);else{var y=f,m=f,b=s-f+1,v=l-f+1,w=[];for(u=0;uy;)Z(e[y++],n);j>f?_=!0:j=f,p.dom&&(t[f]=p=g(p)),Te(d,p,n,r,o),P++;break}!O&&f>l&&Z(d,n)}else O||Z(d,n);else{var S={};for(u=m;u<=l;u++)S[t[u].key]=u;for(u=y;u<=s;u++)if(d=e[u],Py;)Z(e[y++],n);p=t[f],w[f-m]=u+1,j>f?_=!0:j=f,p.dom&&(t[f]=p=g(p)),Te(d,p,n,r,o),P++}else O||Z(d,n);else O||Z(d,n)}if(O)ne(n,e),he(t,n,r,o);else if(_){var T=Ae(w);for(f=T.length-1,u=v-1;u>=0;u--)0===w[u]?(j=u+m,p=t[j],p.dom&&(t[j]=p=g(p)),c=j+1,x(n,fe(p,null,r,o),c=0;u--)0===w[u]&&(j=u+m,p=t[j],p.dom&&(t[j]=p=g(p)),c=j+1,x(n,fe(p,null,r,o),c0&&(a[t]=u[r-1]),u[r]=t)}}for(r=u.length,o=u[r-1];r-- >0;)u[r]=o,o=a[o];return u}function De(e,t,n){if(e!==qe){var r=t.$V;return o(r)?i(e)||(e.dom&&(e=g(e)),s(t.firstChild)?(fe(e,t,tt,!1),t.$V=e):Se(e,t),r=e):o(e)?(Z(r,t),t.$V=null):(e.dom&&(e=g(e)),Te(r,e,t,tt,!1),r=t.$V=e),nt.length>0&&k(nt),a(n)&&n(),a(Ye.renderComplete)&&Ye.renderComplete(r),r&&14&r.flags?r.children:void 0}}function Re(e){return function(t,n){e||(e=t),De(n,e)}}function Fe(e,t){return y(1024,t,null,e,0,null,i(e)?null:e.key,null)}function Le(e){return lt?lt.then(e):ft(e)}function Me(e,t,n,r){a(t)&&(t=t(e.state,e.props,e.context));var i=e.$PS;if(o(i))e.$PS=t;else for(var u in t)i[u]=t[u];if(e.$PSS||e.$BR)e.$PSS=!0,e.$BR&&a(n)&&nt.push(n.bind(e));else if(e.$UPD){var c=e.$QU;s(c)&&(c=e.$QU=[],Le(He(e,c))),a(n)&&c.push(n)}else e.$PSS=!0,e.$UPD=!0,We(e,r,n),e.$UPD=!1}function He(e,t){return function(){e.$QU=null,e.$UPD=!0,We(e,!1,function(){for(var n=0,r=t.length;n0,t,!0),e.$UN)return;if(0===(1024&e.$LI.flags))for(var d=e.$LI.dom;!s(l=l.parentVNode);)(14&l.flags)>0&&(l.dom=d);nt.length>0&&k(nt)}else e.state=e.$PS,e.$PS=null;a(n)&&n.call(e)}}n.d(t,"a",function(){return dt}),n.d(t,"b",function(){return tt}),n.d(t,"d",function(){return qe}),n.d(t,"e",function(){return m}),n.d(t,"f",function(){return Fe}),n.d(t,"g",function(){return Re}),n.d(t,"h",function(){return b}),n.d(t,"i",function(){return y}),n.d(t,"j",function(){return g}),n.d(t,"k",function(){return _}),n.d(t,"l",function(){return ie}),n.d(t,"m",function(){return Se}),n.d(t,"n",function(){return P}),n.d(t,"o",function(){return v}),n.d(t,"p",function(){return Ye}),n.d(t,"q",function(){return De}),n.d(t,"r",function(){return ht}),n.d(t,"c",function(){return pt});var qe="$NO_OP",ze="a runtime error occured! Use Inferno in development environment to find the error.",Xe=!("undefined"===typeof window||!window.document),Ke=Array.isArray,Ge="$",Ye={afterRender:null,beforeRender:null,createVNode:null,renderComplete:null},Je="http://www.w3.org/1999/xlink",Qe="http://www.w3.org/XML/1998/namespace",Ze="http://www.w3.org/2000/svg",et={"xlink:actuate":Je,"xlink:arcrole":Je,"xlink:href":Je,"xlink:role":Je,"xlink:show":Je,"xlink:title":Je,"xlink:type":Je,"xml:base":Qe,"xml:lang":Qe,"xml:space":Qe},tt={},nt=[],rt={},ot={},it=R("onInput",H),at=R(["onClick","onChange"],H);L.wrapped=!0;var ut=R("onChange",X),ct=R("onInput",G),st=R("onChange"),lt=(Xe&&document.body,"undefined"===typeof Promise?null:Promise.resolve()),ft="undefined"===typeof requestAnimationFrame?setTimeout:requestAnimationFrame.bind(window),dt=function(e,t){this.state=null,this.$BR=!1,this.$BS=!0,this.$PSS=!1,this.$PS=null,this.$LI=null,this.$V=null,this.$UN=!1,this.$CX=null,this.$UPD=!0,this.$QU=null,this.props=e||tt,this.context=t||tt};dt.prototype.forceUpdate=function(e){this.$UN||Me(this,{},e,!0)},dt.prototype.setState=function(e,t){this.$UN||this.$BS||Me(this,e,t,!1)},dt.prototype.render=function(e,t,n){};var pt=Object.freeze({}),ht="5.6.1"},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),u=n(1),c=(n.n(u),n(16)),s=n(17),l=n(18),f=function(){function e(e,t){for(var n=0;n