diff --git a/demo/bundle.min.js b/demo/bundle.min.js new file mode 100644 index 0000000..ca4bcbc --- /dev/null +++ b/demo/bundle.min.js @@ -0,0 +1,11 @@ +!function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var n,t={exports:{}},r={};t.exports=function(){if(n)return r;n=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),u=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.iterator,h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,m={};function A(e,n,t){this.props=e,this.context=n,this.refs=m,this.updater=t||h}function y(){}function w(e,n,t){this.props=e,this.context=n,this.refs=m,this.updater=t||h}A.prototype.isReactComponent={},A.prototype.setState=function(e,n){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,n,"setState")},A.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=A.prototype;var v=w.prototype=new y;v.constructor=w,g(v,A.prototype),v.isPureReactComponent=!0;var b=Array.isArray,E=Object.prototype.hasOwnProperty,I={current:null},S={key:!0,ref:!0,__self:!0,__source:!0};function C(n,t,r){var l,o={},a=null,i=null;if(null!=t)for(l in void 0!==t.ref&&(i=t.ref),void 0!==t.key&&(a=""+t.key),t)E.call(t,l)&&!S.hasOwnProperty(l)&&(o[l]=t[l]);var u=arguments.length-2;if(1===u)o.children=r;else if(1>>1,o=e[r];if(!(0>>1;rl(u,t))sl(c,u)?(e[r]=c,e[s]=t,r=s):(e[r]=u,e[i]=t,r=i);else{if(!(sl(c,t)))break e;e[r]=c,e[s]=t,r=s}}}return n}function l(e,n){var t=e.sortIndex-n.sortIndex;return 0!==t?t:e.id-n.id}if("object"==typeof performance&&"function"==typeof performance.now){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,i=a.now();e.unstable_now=function(){return a.now()-i}}var u=[],s=[],c=1,f=null,d=3,p=!1,h=!1,g=!1,m="function"==typeof setTimeout?setTimeout:null,A="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var l=t(s);null!==l;){if(null===l.callback)r(s);else{if(!(l.startTime<=e))break;r(s),l.sortIndex=l.expirationTime,n(u,l)}l=t(s)}}function v(e){if(g=!1,w(e),!h)if(null!==t(u))h=!0,P(b);else{var n=t(s);null!==n&&Q(v,n.startTime-e)}}function b(n,l){h=!1,g&&(g=!1,A(C),C=-1),p=!0;var o=d;try{for(w(l),f=t(u);null!==f&&(!(f.expirationTime>l)||n&&!B());){var a=f.callback;if("function"==typeof a){f.callback=null,d=f.priorityLevel;var i=a(f.expirationTime<=l);l=e.unstable_now(),"function"==typeof i?f.callback=i:f===t(u)&&r(u),w(l)}else r(u);f=t(u)}if(null!==f)var c=!0;else{var m=t(s);null!==m&&Q(v,m.startTime-l),c=!1}return c}finally{f=null,d=o,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var E,I=!1,S=null,C=-1,k=5,x=-1;function B(){return!(e.unstable_now()-xe||125a?(r.sortIndex=o,n(s,r),null===t(u)&&r===t(s)&&(g?(A(C),C=-1):g=!0,Q(v,o-a))):(r.sortIndex=i,n(u,r),h||p||(h=!0,P(b))),r},e.unstable_shouldYield=B,e.unstable_wrapCallback=function(e){var n=d;return function(){var t=d;d=n;try{return e.apply(this,arguments)}finally{d=t}}}}(d)),d)),f.exports} +/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),s.exports=function(){if(a)return c;a=1;var e=i,n=p();function t(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t