From 682a5bfb72ab1c8655200f62226c2474ab10def8 Mon Sep 17 00:00:00 2001 From: MadCcc <1075746765@qq.com> Date: Fri, 22 Dec 2023 15:02:55 +0800 Subject: [PATCH] Updates --- 404.html | 2 +- _demos/:uuid/index.html | 2 +- changelog/index.html | 2 +- demo/async-action/index.html | 2 +- demo/before-upload/index.html | 2 +- demo/custom-request/index.html | 2 +- demo/directory-upload/index.html | 2 +- demo/drag/index.html | 2 +- demo/index.html | 2 +- demo/simple/index.html | 2 +- index.html | 2 +- umi.05e8b26f.js | 1 + umi.7bddaba4.js | 1 - ~demos/:uuid/index.html | 2 +- ~demos/docs-asyncaction/index.html | 2 +- ~demos/docs-beforeupload/index.html | 2 +- ~demos/docs-customrequest/index.html | 2 +- ~demos/docs-directoryupload/index.html | 2 +- ~demos/docs-drag/index.html | 2 +- ~demos/docs-simple/index.html | 2 +- 20 files changed, 19 insertions(+), 19 deletions(-) create mode 100644 umi.05e8b26f.js delete mode 100644 umi.7bddaba4.js diff --git a/404.html b/404.html index 727791a..da33a3c 100644 --- a/404.html +++ b/404.html @@ -55,6 +55,6 @@ }, 200); })(); - + diff --git a/_demos/:uuid/index.html b/_demos/:uuid/index.html index 727791a..da33a3c 100644 --- a/_demos/:uuid/index.html +++ b/_demos/:uuid/index.html @@ -55,6 +55,6 @@ }, 200); })(); - + diff --git a/changelog/index.html b/changelog/index.html index 284942b..2292619 100644 --- a/changelog/index.html +++ b/changelog/index.html @@ -55,6 +55,6 @@ }, 200); })(); - + diff --git a/demo/async-action/index.html b/demo/async-action/index.html index a41e372..c4c1b13 100644 --- a/demo/async-action/index.html +++ b/demo/async-action/index.html @@ -55,6 +55,6 @@ }, 200); })(); - + diff --git a/demo/before-upload/index.html b/demo/before-upload/index.html index e82d971..3fc14e1 100644 --- a/demo/before-upload/index.html +++ b/demo/before-upload/index.html @@ -55,6 +55,6 @@ }, 200); })(); - + diff --git a/demo/custom-request/index.html b/demo/custom-request/index.html index 0293c19..6d19eea 100644 --- a/demo/custom-request/index.html +++ b/demo/custom-request/index.html @@ -55,6 +55,6 @@ }, 200); })(); - + diff --git a/demo/directory-upload/index.html b/demo/directory-upload/index.html index 0305326..db2336d 100644 --- a/demo/directory-upload/index.html +++ b/demo/directory-upload/index.html @@ -55,6 +55,6 @@ }, 200); })(); - + diff --git a/demo/drag/index.html b/demo/drag/index.html index 2320db8..168d122 100644 --- a/demo/drag/index.html +++ b/demo/drag/index.html @@ -55,6 +55,6 @@ }, 200); })(); - + diff --git a/demo/index.html b/demo/index.html index 727791a..da33a3c 100644 --- a/demo/index.html +++ b/demo/index.html @@ -55,6 +55,6 @@ }, 200); })(); - + diff --git a/demo/simple/index.html b/demo/simple/index.html index fbca65d..2bcc6f0 100644 --- a/demo/simple/index.html +++ b/demo/simple/index.html @@ -55,6 +55,6 @@ }, 200); })(); - + diff --git a/index.html b/index.html index 727791a..da33a3c 100644 --- a/index.html +++ b/index.html @@ -55,6 +55,6 @@ }, 200); })(); - + diff --git a/umi.05e8b26f.js b/umi.05e8b26f.js new file mode 100644 index 0000000..4072b82 --- /dev/null +++ b/umi.05e8b26f.js @@ -0,0 +1 @@ +(function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=0)})({"++zV":function(e,t,n){var r=n("I+eb"),o=n("eDxR"),a=n("glrk"),i=o.toKey,u=o.set;r({target:"Reflect",stat:!0},{defineMetadata:function(e,t,n){var r=arguments.length<4?void 0:i(arguments[3]);u(e,t,a(n),r)}})},"+2oP":function(e,t,n){"use strict";var r=n("I+eb"),o=n("hh1v"),a=n("6LWA"),i=n("I8vh"),u=n("UMSQ"),l=n("/GqU"),c=n("hBjN"),s=n("tiKp"),f=n("Hd5f"),d=n("rkAj"),p=f("slice"),h=d("slice",{ACCESSORS:!0,0:0,1:2}),m=s("species"),v=[].slice,g=Math.max;r({target:"Array",proto:!0,forced:!p||!h},{slice:function(e,t){var n,r,s,f=l(this),d=u(f.length),p=i(e,d),h=i(void 0===t?d:t,d);if(a(f)&&(n=f.constructor,"function"!=typeof n||n!==Array&&!a(n.prototype)?o(n)&&(n=n[m],null===n&&(n=void 0)):n=void 0,n===Array||void 0===n))return v.call(f,p,h);for(r=new(void 0===n?Array:n)(g(h-p,0)),s=0;p=O},u=function(){},t.unstable_forceFrameRate=function(e){0>e||125>>1,o=e[r];if(!(void 0!==o&&0A(i,n))void 0!==l&&0>A(l,i)?(e[r]=l,e[u]=n,r=u):(e[r]=i,e[a]=n,r=a);else{if(!(void 0!==l&&0>A(l,n)))break e;e[r]=l,e[u]=n,r=u}}}return t}return null}function A(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var C=[],P=[],_=1,R=null,I=3,M=!1,N=!1,L=!1;function D(e){for(var t=j(P);null!==t;){if(null===t.callback)T(P);else{if(!(t.startTime<=e))break;T(P),t.sortIndex=t.expirationTime,S(C,t)}t=j(P)}}function F(e){if(L=!1,D(e),!N)if(null!==j(C))N=!0,r(U);else{var t=j(P);null!==t&&o(F,t.startTime-e)}}function U(e,n){N=!1,L&&(L=!1,a()),M=!0;var r=I;try{for(D(n),R=j(C);null!==R&&(!(R.expirationTime>n)||e&&!i());){var u=R.callback;if(null!==u){R.callback=null,I=R.priorityLevel;var l=u(R.expirationTime<=n);n=t.unstable_now(),"function"===typeof l?R.callback=l:R===j(C)&&T(C),D(n)}else T(C);R=j(C)}if(null!==R)var c=!0;else{var s=j(P);null!==s&&o(F,s.startTime-n),c=!1}return c}finally{R=null,I=r,M=!1}}function B(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var z=u;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){N||M||(N=!0,r(U))},t.unstable_getCurrentPriorityLevel=function(){return I},t.unstable_getFirstCallbackNode=function(){return j(C)},t.unstable_next=function(e){switch(I){case 1:case 2:case 3:var t=3;break;default:t=I}var n=I;I=t;try{return e()}finally{I=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=z,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=I;I=e;try{return t()}finally{I=n}},t.unstable_scheduleCallback=function(e,n,i){var u=t.unstable_now();if("object"===typeof i&&null!==i){var l=i.delay;l="number"===typeof l&&0u?(e.sortIndex=l,S(P,e),null===j(C)&&e===j(P)&&(L?a():L=!0,o(F,l-u))):(e.sortIndex=i,S(C,e),N||M||(N=!0,r(U))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();D(e);var n=j(C);return n!==R&&null!==R&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime=0||(o[n]=e[n]);return o}function u(e,t){if(null==e)return{};var n,r,o=i(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var l=n("qLMh");function c(e,t,n,r,o,a,i){try{var u=e[a](i),l=u.value}catch(c){return void n(c)}u.done?t(l):Promise.resolve(l).then(r,o)}function s(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){c(a,r,o,i,u,"next",e)}function u(e){c(a,r,o,i,u,"throw",e)}i(void 0)}))}}var f=n("TSYQ"),d=n.n(f),p=n("X7yj"),h=n.n(p);function m(e,t){var n="cannot ".concat(e.method," ").concat(e.action," ").concat(t.status,"'"),r=new Error(n);return r.status=t.status,r.method=e.method,r.url=e.action,r}function v(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(n){return t}}function g(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var n=new FormData;e.data&&Object.keys(e.data).forEach((t=>{var r=e.data[t];Array.isArray(r)?r.forEach((e=>{n.append("".concat(t,"[]"),e)})):n.append(t,r)})),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){return t.status<200||t.status>=300?e.onError(m(e,t),v(t)):e.onSuccess(v(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var r=e.headers||{};return null!==r["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(r).forEach((e=>{null!==r[e]&&t.setRequestHeader(e,r[e])})),t.send(n),{abort(){t.abort()}}}var y=+new Date,b=0;function E(){return"rc-upload-".concat(y,"-").concat(++b)}var w=n("cOkC"),O=n.n(w),x=(e,t)=>{if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=e.type||"",a=o.replace(/\/.*$/,"");return n.some((e=>{var t=e.trim();if(/^\*(\/\*)?$/.test(e))return!0;if("."===t.charAt(0)){var n=r.toLowerCase(),i=t.toLowerCase(),u=[i];return".jpg"!==i&&".jpeg"!==i||(u=[".jpg",".jpeg"]),u.some((e=>n.endsWith(e)))}return/\/\*$/.test(t)?a===t.replace(/\/.*$/,""):o===t||!!/^\w+$/.test(t)&&(O()(!1,"Upload takes an invalidate 'accept' type '".concat(t,"'.Skip for check.")),!0)}))}return!0};function k(e,t){var n=e.createReader(),r=[];function o(){n.readEntries((e=>{var n=Array.prototype.slice.apply(e);r=r.concat(n);var a=!n.length;a?t(r):o()}))}o()}var S=(e,t,n)=>{var r=(e,o)=>{e&&(e.path=o||"",e.isFile?e.file((r=>{n(r)&&(e.fullPath&&!r.webkitRelativePath&&(Object.defineProperties(r,{webkitRelativePath:{writable:!0}}),r.webkitRelativePath=e.fullPath.replace(/^\//,""),Object.defineProperties(r,{webkitRelativePath:{writable:!1}})),t([r]))})):e.isDirectory&&k(e,(t=>{t.forEach((t=>{r(t,"".concat(o).concat(e.name,"/"))}))})))};e.forEach((e=>{r(e.webkitGetAsEntry())}))},j=S,T=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"];class A extends o["Component"]{constructor(){var e;super(...arguments),e=this,this.state={uid:E()},this.reqs={},this.fileInput=void 0,this._isMounted=void 0,this.onChange=e=>{var t=this.props,n=t.accept,r=t.directory,o=e.target.files,a=[...o].filter((e=>!r||x(e,n)));this.uploadFiles(a),this.reset()},this.onClick=e=>{var t=this.fileInput;if(t){var n=e.target,r=this.props.onClick;if(n&&"BUTTON"===n.tagName){var o=t.parentNode;o.focus(),n.blur()}t.click(),r&&r(e)}},this.onKeyDown=e=>{"Enter"===e.key&&this.onClick(e)},this.onFileDrop=e=>{var t=this.props.multiple;if(e.preventDefault(),"dragover"!==e.type)if(this.props.directory)j(Array.prototype.slice.call(e.dataTransfer.items),this.uploadFiles,(e=>x(e,this.props.accept)));else{var n=[...e.dataTransfer.files].filter((e=>x(e,this.props.accept)));!1===t&&(n=n.slice(0,1)),this.uploadFiles(n)}},this.uploadFiles=e=>{var t=[...e],n=t.map((e=>(e.uid=E(),this.processFile(e,t))));Promise.all(n).then((e=>{var t=this.props.onBatchStart;null===t||void 0===t||t(e.map((e=>{var t=e.origin,n=e.parsedFile;return{file:t,parsedFile:n}}))),e.filter((e=>null!==e.parsedFile)).forEach((e=>{this.post(e)}))}))},this.processFile=function(){var t=s(Object(l["a"])().mark((function t(n,r){var o,a,i,u,c,s,f,d,p;return Object(l["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(o=e.props.beforeUpload,a=n,!o){t.next=14;break}return t.prev=3,t.next=6,o(n,r);case 6:a=t.sent,t.next=12;break;case 9:t.prev=9,t.t0=t["catch"](3),a=!1;case 12:if(!1!==a){t.next=14;break}return t.abrupt("return",{origin:n,parsedFile:null,action:null,data:null});case 14:if(i=e.props.action,"function"!==typeof i){t.next=21;break}return t.next=18,i(n);case 18:u=t.sent,t.next=22;break;case 21:u=i;case 22:if(c=e.props.data,"function"!==typeof c){t.next=29;break}return t.next=26,c(n);case 26:s=t.sent,t.next=30;break;case 29:s=c;case 30:return f="object"!==typeof a&&"string"!==typeof a||!a?n:a,d=f instanceof File?f:new File([f],n.name,{type:n.type}),p=d,p.uid=n.uid,t.abrupt("return",{origin:n,data:s,parsedFile:p,action:u});case 35:case"end":return t.stop()}}),t,null,[[3,9]])})));return function(e,n){return t.apply(this,arguments)}}(),this.saveFileInput=e=>{this.fileInput=e}}componentDidMount(){this._isMounted=!0}componentWillUnmount(){this._isMounted=!1,this.abort()}post(e){var t=e.data,n=e.origin,r=e.action,o=e.parsedFile;if(this._isMounted){var a=this.props,i=a.onStart,u=a.customRequest,l=a.name,c=a.headers,s=a.withCredentials,f=a.method,d=n.uid,p=u||g,h={action:r,filename:l,data:t,file:o,headers:c,withCredentials:s,method:f||"post",onProgress:e=>{var t=this.props.onProgress;null===t||void 0===t||t(e,o)},onSuccess:(e,t)=>{var n=this.props.onSuccess;null===n||void 0===n||n(e,o,t),delete this.reqs[d]},onError:(e,t)=>{var n=this.props.onError;null===n||void 0===n||n(e,t,o),delete this.reqs[d]}};i(n),this.reqs[d]=p(h)}}reset(){this.setState({uid:E()})}abort(e){var t=this.reqs;if(e){var n=e.uid?e.uid:e;t[n]&&t[n].abort&&t[n].abort(),delete t[n]}else Object.keys(t).forEach((e=>{t[e]&&t[e].abort&&t[e].abort(),delete t[e]}))}render(){var e=this.props,t=e.component,n=e.prefixCls,o=e.className,i=e.disabled,l=e.id,c=e.style,s=e.multiple,f=e.accept,p=e.capture,m=e.children,v=e.directory,g=e.openFileDialogOnClick,y=e.onMouseEnter,b=e.onMouseLeave,E=u(e,T),w=d()({[n]:!0,["".concat(n,"-disabled")]:i,[o]:o}),O=v?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},x=i?{}:{onClick:g?this.onClick:()=>{},onKeyDown:g?this.onKeyDown:()=>{},onMouseEnter:y,onMouseLeave:b,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return a.a.createElement(t,Object(r["a"])({},x,{className:w,role:"button",style:c}),a.a.createElement("input",Object(r["a"])({},h()(E,{aria:!0,data:!0}),{id:l,disabled:i,type:"file",ref:this.saveFileInput,onClick:e=>e.stopPropagation(),key:this.state.uid,style:{display:"none"},accept:f},O,{multiple:s,onChange:this.onChange},null!=p?{capture:p}:{})),m)}}var C=A;function P(){}class _ extends o["Component"]{constructor(){super(...arguments),this.uploader=void 0,this.saveUploader=e=>{this.uploader=e}}abort(e){this.uploader.abort(e)}render(){return a.a.createElement(C,Object(r["a"])({},this.props,{ref:this.saveUploader}))}}_.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:P,onError:P,onSuccess:P,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var R=_;n("G+Sx"),t["a"]=R},"/GqU":function(e,t,n){var r=n("RK3t"),o=n("HYAF");e.exports=function(e){return r(o(e))}},"/Yfv":function(e,t,n){var r=n("dOgj");r("Int8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},"/b8u":function(e,t,n){var r=n("STAE");e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"/byt":function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"/qmn":function(e,t,n){var r=n("2oRo");e.exports=r.Promise},0:function(e,t,n){e.exports=n("tB8F")},"07d7":function(e,t,n){var r=n("AO7/"),o=n("busE"),a=n("sEFX");r||o(Object.prototype,"toString",a,{unsafe:!0})},"0BK2":function(e,t){e.exports={}},"0Bia":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=n("dEAq"),i=n("9kvl"),u=(n("mdU6"),function(e){var t=e.location,n=Object(r["useContext"])(a["context"]),u=n.base,l=n.locale,c=n.config.locales,s=c.find((function(e){var t=e.name;return t!==l}));function f(e){var n=u.replace("/".concat(l),""),r=t.pathname.replace(new RegExp("^".concat(u,"(/|$)")),"".concat(n,"$1"))||"/";if(e!==c[0].name){var o="".concat(n,"/").concat(e).replace(/\/\//,"/"),a=t.pathname.replace(u.replace(/^\/$/,"//"),"");return"".concat(o).concat(a).replace(/\/$/,"")}return r}return s?o.a.createElement("div",{className:"__dumi-default-locale-select","data-locale-count":c.length},c.length>2?o.a.createElement("select",{value:l,onChange:function(e){return i["a"].push(f(e.target.value))}},c.map((function(e){return o.a.createElement("option",{value:e.name,key:e.name},e.label)}))):o.a.createElement(a["Link"],{to:f(s.name)},s.label)):null}),l=u,c=(n("fVI1"),function(e){var t=e.onMobileMenuClick,n=e.navPrefix,i=e.location,u=e.darkPrefix,c=Object(r["useContext"])(a["context"]),s=c.base,f=c.config,d=f.mode,p=f.title,h=f.logo,m=c.nav;return o.a.createElement("div",{className:"__dumi-default-navbar","data-mode":d},o.a.createElement("button",{className:"__dumi-default-navbar-toggle",onClick:t}),o.a.createElement(a["Link"],{className:"__dumi-default-navbar-logo",style:{backgroundImage:h&&"url('".concat(h,"')")},to:s,"data-plaintext":!1===h||void 0},p),o.a.createElement("nav",null,n,m.map((function(e){var t,n=Boolean(null===(t=e.children)||void 0===t?void 0:t.length)&&o.a.createElement("ul",null,e.children.map((function(e){return o.a.createElement("li",{key:e.path},o.a.createElement(a["NavLink"],{to:e.path},e.title))})));return o.a.createElement("span",{key:e.title||e.path},e.path?o.a.createElement(a["NavLink"],{to:e.path,key:e.path},e.title):e.title,n)})),o.a.createElement("div",{className:"__dumi-default-navbar-tool"},o.a.createElement(l,{location:i}),u)))}),s=c,f=(n("hJnp"),["slugs"]);function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function h(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}var m=function(e){var t=e.slugs,n=p(e,f);return o.a.createElement("ul",d({role:"slug-list"},n),t.filter((function(e){var t=e.depth;return t>1&&t<4})).map((function(e){return o.a.createElement("li",{key:e.heading,title:e.value,"data-depth":e.depth},o.a.createElement(a["AnchorLink"],{to:"#".concat(e.heading)},o.a.createElement("span",null,e.value)))})))},v=m,g=(n("Mpie"),function(e){var t=e.mobileMenuCollapsed,n=e.location,i=e.darkPrefix,u=Object(r["useContext"])(a["context"]),c=u.config,s=c.logo,f=c.title,d=c.description,p=c.mode,h=c.repository.url,m=u.menu,g=u.nav,y=u.base,b=u.meta,E=Boolean((b.hero||b.features||b.gapless)&&"site"===p)||!1===b.sidemenu||void 0;return o.a.createElement("div",{className:"__dumi-default-menu","data-mode":p,"data-hidden":E,"data-mobile-show":!t||void 0},o.a.createElement("div",{className:"__dumi-default-menu-inner"},o.a.createElement("div",{className:"__dumi-default-menu-header"},o.a.createElement(a["Link"],{to:y,className:"__dumi-default-menu-logo",style:{backgroundImage:s&&"url('".concat(s,"')")}}),o.a.createElement("h1",null,f),o.a.createElement("p",null,d),/github\.com/.test(h)&&"doc"===p&&o.a.createElement("p",null,o.a.createElement("object",{type:"image/svg+xml",data:"https://img.shields.io/github/stars".concat(h.match(/((\/[^\/]+){2})$/)[1],"?style=social")}))),o.a.createElement("div",{className:"__dumi-default-menu-mobile-area"},!!g.length&&o.a.createElement("ul",{className:"__dumi-default-menu-nav-list"},g.map((function(e){var t,n=Boolean(null===(t=e.children)||void 0===t?void 0:t.length)&&o.a.createElement("ul",null,e.children.map((function(e){return o.a.createElement("li",{key:e.path||e.title},o.a.createElement(a["NavLink"],{to:e.path},e.title))})));return o.a.createElement("li",{key:e.path||e.title},e.path?o.a.createElement(a["NavLink"],{to:e.path},e.title):e.title,n)}))),o.a.createElement(l,{location:n}),i),o.a.createElement("ul",{className:"__dumi-default-menu-list"},!E&&m.map((function(e){var t,r=Boolean(null===(t=b.slugs)||void 0===t?void 0:t.length),i=e.children&&Boolean(e.children.length),u="menu"===b.toc&&!i&&r&&e.path===n.pathname.replace(/([^^])\/$/,"$1"),l=i?e.children.map((function(e){return e.path})):[e.path,n.pathname.startsWith("".concat(e.path,"/"))&&b.title===e.title?n.pathname:null];return o.a.createElement("li",{key:e.path||e.title},o.a.createElement(a["NavLink"],{to:e.path,isActive:function(){return l.includes(n.pathname)}},e.title),Boolean(e.children&&e.children.length)&&o.a.createElement("ul",null,e.children.map((function(e){return o.a.createElement("li",{key:e.path},o.a.createElement(a["NavLink"],{to:e.path,exact:!0},o.a.createElement("span",null,e.title)),Boolean("menu"===b.toc&&"undefined"!==typeof window&&e.path===n.pathname&&r)&&o.a.createElement(v,{slugs:b.slugs}))}))),u&&o.a.createElement(v,{slugs:b.slugs}))})))))}),y=g;n("AK2Z");function b(){return b=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&c.map((function(e){var t;return o.a.createElement("li",{key:e.path,onClick:function(){return i("")}},o.a.createElement(a["AnchorLink"],{to:e.path},(null===(t=e.parent)||void 0===t?void 0:t.title)&&o.a.createElement("span",null,e.parent.title),j(n,e.title)))})),0===c.length&&n&&o.a.createElement("li",{style:{textAlign:"center"}},p)))};n("Zkgb");function A(e,t){return I(e)||R(e,t)||P(e,t)||C()}function C(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function P(e,t){if(e){if("string"===typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(e,t):void 0}}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1?arguments[1]:void 0,3);return l(n,(function(e,n){if(r(n,e,t))return l.stop(n)}),void 0,!0,!0).result}})},"0rvr":function(e,t,n){var r=n("glrk"),o=n("O741");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,e.call(n,[]),t=n instanceof Array}catch(a){}return function(n,a){return r(n),o(a),t?e.call(n,a):n.__proto__=a,n}}():void 0)},"14Sl":function(e,t,n){"use strict";n("rB9j");var r=n("busE"),o=n("0Dky"),a=n("tiKp"),i=n("kmMV"),u=n("kRJp"),l=a("species"),c=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")})),s=function(){return"$0"==="a".replace(/./,"$0")}(),f=a("replace"),d=function(){return!!/./[f]&&""===/./[f]("a","$0")}(),p=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,f){var h=a(e),m=!o((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),v=m&&!o((function(){var t=!1,n=/a/;return"split"===e&&(n={},n.constructor={},n.constructor[l]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return t=!0,null},n[h](""),!t}));if(!m||!v||"replace"===e&&(!c||!s||d)||"split"===e&&!p){var g=/./[h],y=n(h,""[e],(function(e,t,n,r,o){return t.exec===i?m&&!o?{done:!0,value:g.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:s,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:d}),b=y[0],E=y[1];r(String.prototype,e,b),r(RegExp.prototype,h,2==t?function(e,t){return E.call(e,this,t)}:function(e){return E.call(e,this)})}f&&u(RegExp.prototype[h],"sham",!0)}},"16Al":function(e,t,n){"use strict";var r=n("WbBG");function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},"17x9":function(e,t,n){e.exports=n("16Al")()},"1E5z":function(e,t,n){var r=n("m/L8").f,o=n("UTVS"),a=n("tiKp"),i=a("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},"1OyB":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return r}))},"1Y/n":function(e,t,n){var r=n("HAuM"),o=n("ewvW"),a=n("RK3t"),i=n("UMSQ"),u=function(e){return function(t,n,u,l){r(n);var c=o(t),s=a(c),f=i(c.length),d=e?f-1:0,p=e?-1:1;if(u<2)while(1){if(d in s){l=s[d],d+=p;break}if(d+=p,e?d<0:f<=d)throw TypeError("Reduce of empty array with no initial value")}for(;e?d>=0:f>d;d+=p)d in s&&(l=n(l,s[d],d,c));return l}};e.exports={left:u(!1),right:u(!0)}},"1kQv":function(e,t,n){var r=n("I+eb"),o=n("qY7S");r({target:"Set",stat:!0},{from:o})},"1lAb":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=n("dEAq"),i=n("Zxc8"),u=o.a.memo((e=>{var t=e.demos,n=t["docs-customrequest"].component;return o.a.createElement(o.a.Fragment,null,o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:"markdown"},o.a.createElement("h2",{id:"customrequest"},o.a.createElement(a["AnchorLink"],{to:"#customrequest","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"customRequest")),o.a.createElement(i["default"],t["docs-customrequest"].previewerProps,o.a.createElement(n,null))))}));t["default"]=e=>{var t=o.a.useContext(a["context"]),n=t.demos;return o.a.useEffect((()=>{var t;null!==e&&void 0!==e&&null!==(t=e.location)&&void 0!==t&&t.hash&&a["AnchorLink"].scrollToAnchor(decodeURIComponent(e.location.hash.slice(1)))}),[]),o.a.createElement(u,{demos:n})}},"25BE":function(e,t,n){"use strict";function r(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,"a",(function(){return r}))},"27RR":function(e,t,n){var r=n("I+eb"),o=n("g6v/"),a=n("Vu81"),i=n("/GqU"),u=n("Bs8V"),l=n("hBjN");r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){var t,n,r=i(e),o=u.f,c=a(r),s={},f=0;while(c.length>f)n=o(r,t=c[f++]),void 0!==n&&l(s,t,n);return s}})},"2B1R":function(e,t,n){"use strict";var r=n("I+eb"),o=n("tycR").map,a=n("Hd5f"),i=n("rkAj"),u=a("map"),l=i("map");r({target:"Array",proto:!0,forced:!u||!l},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},"2N97":function(e,t,n){"use strict";var r=n("xbqb")["default"],o=n("Lw8S")["default"];function a(){var e=n("q1tI");return a=function(){return e},e}function i(e,t){return f(e)||s(e,t)||l(e,t)||u()}function u(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e,t){if(e){if("string"===typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n{f.append(e,n[e])})),f.append(o,r),i.a.post(t,f,{withCredentials:s,headers:a,onUploadProgress:e=>{var t=e.total,n=e.loaded;l({percent:Math.round(n/t*100).toFixed(2)},r)}}).then((e=>{var t=e.data;c(t,r)})).catch(u),{abort(){console.log("upload progress is aborted.")}}}},c=()=>o.a.createElement("div",{style:{margin:100}},o.a.createElement("div",null,o.a.createElement(u["a"],l,o.a.createElement("button",{type:"button"},"\u5f00\u59cb\u4e0a\u4f20"))));t["default"]=c},"3tO9":function(e,t,n){var r=n("lSNA");function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t1?arguments[1]:void 0,3),o=new(c(t,a("Set"))),d=u(o.add);return f(n,(function(e){r(e,e,t)&&d.call(o,e)}),void 0,!1,!0),o}})},"49+q":function(e,t,n){"use strict";var r=n("I+eb"),o=n("xDBR"),a=n("fXLg");r({target:"Set",proto:!0,real:!0,forced:o},{addAll:function(){return a.apply(this,arguments)}})},"4Brf":function(e,t,n){"use strict";var r=n("I+eb"),o=n("g6v/"),a=n("2oRo"),i=n("UTVS"),u=n("hh1v"),l=n("m/L8").f,c=n("6JNq"),s=a.Symbol;if(o&&"function"==typeof s&&(!("description"in s.prototype)||void 0!==s().description)){var f={},d=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof d?new s(e):void 0===e?s():s(e);return""===e&&(f[t]=!0),t};c(d,s);var p=d.prototype=s.prototype;p.constructor=d;var h=p.toString,m="Symbol(test)"==String(s("test")),v=/^Symbol\((.*)\)[^)]+$/;l(p,"description",{configurable:!0,get:function(){var e=u(this)?this.valueOf():this,t=h.call(e);if(i(f,e))return"";var n=m?t.slice(7,-1):t.replace(v,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:d})}},"4IlW":function(e,t,n){"use strict";var r={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=r.F1&&t<=r.F12)return!1;switch(t){case r.ALT:case r.CAPS_LOCK:case r.CONTEXT_MENU:case r.CTRL:case r.DOWN:case r.END:case r.ESC:case r.HOME:case r.INSERT:case r.LEFT:case r.MAC_FF_META:case r.META:case r.NUMLOCK:case r.NUM_CENTER:case r.PAGE_DOWN:case r.PAGE_UP:case r.PAUSE:case r.PRINT_SCREEN:case r.RIGHT:case r.SHIFT:case r.UP:case r.WIN_KEY:case r.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=r.ZERO&&e<=r.NINE)return!0;if(e>=r.NUM_ZERO&&e<=r.NUM_MULTIPLY)return!0;if(e>=r.A&&e<=r.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case r.SPACE:case r.QUESTION_MARK:case r.NUM_PLUS:case r.NUM_MINUS:case r.NUM_PERIOD:case r.NUM_DIVISION:case r.SEMICOLON:case r.DASH:case r.EQUALS:case r.COMMA:case r.PERIOD:case r.SLASH:case r.APOSTROPHE:case r.SINGLE_QUOTE:case r.OPEN_SQUARE_BRACKET:case r.BACKSLASH:case r.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};t["a"]=r},"4WOD":function(e,t,n){var r=n("UTVS"),o=n("ewvW"),a=n("93I0"),i=n("4Xet"),u=a("IE_PROTO"),l=Object.prototype;e.exports=i?Object.getPrototypeOf:function(e){return e=o(e),r(e,u)?e[u]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},"4XaG":function(e,t,n){var r=n("dG/n");r("observable")},"4Xet":function(e,t,n){var r=n("0Dky");e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},"4l63":function(e,t,n){var r=n("I+eb"),o=n("wg0c");r({global:!0,forced:parseInt!=o},{parseInt:o})},"4mDm":function(e,t,n){"use strict";var r=n("/GqU"),o=n("RNIs"),a=n("P4y1"),i=n("afO8"),u=n("fdAy"),l="Array Iterator",c=i.set,s=i.getterFor(l);e.exports=u(Array,"Array",(function(e,t){c(this,{type:l,target:r(e),index:0,kind:t})}),(function(){var e=s(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),a.Arguments=a.Array,o("keys"),o("values"),o("entries")},"4oU/":function(e,t,n){var r=n("2oRo"),o=r.isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&o(e)}},"4syw":function(e,t,n){var r=n("busE");e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},5921:function(e,t,n){var r=n("I+eb"),o=n("P940");r({target:"Map",stat:!0},{of:o})},"5JV0":function(e,t,n){"use strict";var r=n("I+eb"),o=n("xDBR"),a=n("glrk"),i=n("WGBp"),u=n("ImZN");r({target:"Set",proto:!0,real:!0,forced:o},{join:function(e){var t=a(this),n=i(t),r=void 0===e?",":String(e),o=[];return u(n,o.push,o,!1,!0),o.join(r)}})},"5Q0V":function(e,t,n){var r=n("cDf5")["default"];function o(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},"5Tg+":function(e,t,n){var r=n("tiKp");t.f=r},"5Yz+":function(e,t,n){"use strict";var r=n("/GqU"),o=n("ppGB"),a=n("UMSQ"),i=n("pkCn"),u=n("rkAj"),l=Math.min,c=[].lastIndexOf,s=!!c&&1/[1].lastIndexOf(1,-0)<0,f=i("lastIndexOf"),d=u("indexOf",{ACCESSORS:!0,1:0}),p=s||!f||!d;e.exports=p?function(e){if(s)return c.apply(this,arguments)||0;var t=r(this),n=a(t.length),i=n-1;for(arguments.length>1&&(i=l(i,o(arguments[1]))),i<0&&(i=n+i);i>=0;i--)if(i in t&&t[i]===e)return i||0;return-1}:c},"5mdu":function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},"5oMp":function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},"5r1n":function(e,t,n){var r=n("I+eb"),o=n("eDxR"),a=n("glrk"),i=o.get,u=o.toKey;r({target:"Reflect",stat:!0},{getOwnMetadata:function(e,t){var n=arguments.length<3?void 0:u(arguments[2]);return i(e,a(t),n)}})},"5s+n":function(e,t,n){"use strict";var r,o,a,i,u=n("I+eb"),l=n("xDBR"),c=n("2oRo"),s=n("0GbY"),f=n("/qmn"),d=n("busE"),p=n("4syw"),h=n("1E5z"),m=n("JiZb"),v=n("hh1v"),g=n("HAuM"),y=n("GarU"),b=n("xrYK"),E=n("iSVu"),w=n("ImZN"),O=n("HH4o"),x=n("SEBh"),k=n("LPSS").set,S=n("tXUg"),j=n("zfnd"),T=n("RN6c"),A=n("8GlL"),C=n("5mdu"),P=n("afO8"),_=n("lMq5"),R=n("tiKp"),I=n("LQDL"),M=R("species"),N="Promise",L=P.get,D=P.set,F=P.getterFor(N),U=f,B=c.TypeError,z=c.document,H=c.process,W=s("fetch"),V=A.f,q=V,G="process"==b(H),$=!!(z&&z.createEvent&&c.dispatchEvent),K="unhandledrejection",Y="rejectionhandled",Z=0,X=1,Q=2,J=1,ee=2,te=_(N,(function(){var e=E(U)!==String(U);if(!e){if(66===I)return!0;if(!G&&"function"!=typeof PromiseRejectionEvent)return!0}if(l&&!U.prototype["finally"])return!0;if(I>=51&&/native code/.test(U))return!1;var t=U.resolve(1),n=function(e){e((function(){}),(function(){}))},r=t.constructor={};return r[M]=n,!(t.then((function(){}))instanceof n)})),ne=te||!O((function(e){U.all(e)["catch"]((function(){}))})),re=function(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t},oe=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;S((function(){var o=t.value,a=t.state==X,i=0;while(r.length>i){var u,l,c,s=r[i++],f=a?s.ok:s.fail,d=s.resolve,p=s.reject,h=s.domain;try{f?(a||(t.rejection===ee&&le(e,t),t.rejection=J),!0===f?u=o:(h&&h.enter(),u=f(o),h&&(h.exit(),c=!0)),u===s.promise?p(B("Promise-chain cycle")):(l=re(u))?l.call(u,d,p):d(u)):p(o)}catch(m){h&&!c&&h.exit(),p(m)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&ie(e,t)}))}},ae=function(e,t,n){var r,o;$?(r=z.createEvent("Event"),r.promise=t,r.reason=n,r.initEvent(e,!1,!0),c.dispatchEvent(r)):r={promise:t,reason:n},(o=c["on"+e])?o(r):e===K&&T("Unhandled promise rejection",n)},ie=function(e,t){k.call(c,(function(){var n,r=t.value,o=ue(t);if(o&&(n=C((function(){G?H.emit("unhandledRejection",r,e):ae(K,e,r)})),t.rejection=G||ue(t)?ee:J,n.error))throw n.value}))},ue=function(e){return e.rejection!==J&&!e.parent},le=function(e,t){k.call(c,(function(){G?H.emit("rejectionHandled",e):ae(Y,e,t.value)}))},ce=function(e,t,n,r){return function(o){e(t,n,o,r)}},se=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=Q,oe(e,t,!0))},fe=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw B("Promise can't be resolved itself");var o=re(n);o?S((function(){var r={done:!1};try{o.call(n,ce(fe,e,r,t),ce(se,e,r,t))}catch(a){se(e,r,a,t)}})):(t.value=n,t.state=X,oe(e,t,!1))}catch(a){se(e,{done:!1},a,t)}}};te&&(U=function(e){y(this,U,N),g(e),r.call(this);var t=L(this);try{e(ce(fe,this,t),ce(se,this,t))}catch(n){se(this,t,n)}},r=function(e){D(this,{type:N,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:Z,value:void 0})},r.prototype=p(U.prototype,{then:function(e,t){var n=F(this),r=V(x(this,U));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=G?H.domain:void 0,n.parent=!0,n.reactions.push(r),n.state!=Z&&oe(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r,t=L(e);this.promise=e,this.resolve=ce(fe,e,t),this.reject=ce(se,e,t)},A.f=V=function(e){return e===U||e===a?new o(e):q(e)},l||"function"!=typeof f||(i=f.prototype.then,d(f.prototype,"then",(function(e,t){var n=this;return new U((function(e,t){i.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof W&&u({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return j(U,W.apply(c,arguments))}}))),u({global:!0,wrap:!0,forced:te},{Promise:U}),h(U,N,!1,!0),m(N),a=s(N),u({target:N,stat:!0,forced:te},{reject:function(e){var t=V(this);return t.reject.call(void 0,e),t.promise}}),u({target:N,stat:!0,forced:l||te},{resolve:function(e){return j(l&&this===a?U:this,e)}}),u({target:N,stat:!0,forced:ne},{all:function(e){var t=this,n=V(t),r=n.resolve,o=n.reject,a=C((function(){var n=g(t.resolve),a=[],i=0,u=1;w(e,(function(e){var l=i++,c=!1;a.push(void 0),u++,n.call(t,e).then((function(e){c||(c=!0,a[l]=e,--u||r(a))}),o)})),--u||r(a)}));return a.error&&o(a.value),n.promise},race:function(e){var t=this,n=V(t),r=n.reject,o=C((function(){var o=g(t.resolve);w(e,(function(e){o.call(t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},"5wUe":function(e,t,n){var r=n("Q9SF"),o=n("MIOZ"),a=n("mGKP"),i=n("h0XC");function u(e,t){return r(e)||o(e,t)||a(e,t)||i()}e.exports=u,e.exports.__esModule=!0,e.exports["default"]=e.exports},"5xtp":function(e,t,n){"use strict";var r=n("I+eb"),o=n("g6v/"),a=n("6x0u"),i=n("ewvW"),u=n("HAuM"),l=n("m/L8");o&&r({target:"Object",proto:!0,forced:a},{__defineSetter__:function(e,t){l.f(i(this),e,{set:u(t),enumerable:!0,configurable:!0})}})},"66V8":function(e,t,n){"use strict";var r=n("I+eb"),o=n("g6v/"),a=n("4WOD"),i=n("0rvr"),u=n("fHMY"),l=n("m/L8"),c=n("XGwC"),s=n("ImZN"),f=n("kRJp"),d=n("afO8"),p=d.set,h=d.getterFor("AggregateError"),m=function(e,t){var n=this;if(!(n instanceof m))return new m(e,t);i&&(n=i(new Error(t),a(n)));var r=[];return s(e,r.push,r),o?p(n,{errors:r,type:"AggregateError"}):n.errors=r,void 0!==t&&f(n,"message",String(t)),n};m.prototype=u(Error.prototype,{constructor:c(5,m),message:c(5,""),name:c(5,"AggregateError")}),o&&l.f(m.prototype,"errors",{get:function(){return h(this).errors},configurable:!0}),r({global:!0},{AggregateError:m})},"67WC":function(e,t,n){"use strict";var r,o=n("qYE9"),a=n("g6v/"),i=n("2oRo"),u=n("hh1v"),l=n("UTVS"),c=n("9d/t"),s=n("kRJp"),f=n("busE"),d=n("m/L8").f,p=n("4WOD"),h=n("0rvr"),m=n("tiKp"),v=n("kOOl"),g=i.Int8Array,y=g&&g.prototype,b=i.Uint8ClampedArray,E=b&&b.prototype,w=g&&p(g),O=y&&p(y),x=Object.prototype,k=x.isPrototypeOf,S=m("toStringTag"),j=v("TYPED_ARRAY_TAG"),T=o&&!!h&&"Opera"!==c(i.opera),A=!1,C={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},P=function(e){var t=c(e);return"DataView"===t||l(C,t)},_=function(e){return u(e)&&l(C,c(e))},R=function(e){if(_(e))return e;throw TypeError("Target is not a typed array")},I=function(e){if(h){if(k.call(w,e))return e}else for(var t in C)if(l(C,r)){var n=i[t];if(n&&(e===n||k.call(n,e)))return e}throw TypeError("Target is not a typed array constructor")},M=function(e,t,n){if(a){if(n)for(var r in C){var o=i[r];o&&l(o.prototype,e)&&delete o.prototype[e]}O[e]&&!n||f(O,e,n?t:T&&y[e]||t)}},N=function(e,t,n){var r,o;if(a){if(h){if(n)for(r in C)o=i[r],o&&l(o,e)&&delete o[e];if(w[e]&&!n)return;try{return f(w,e,n?t:T&&g[e]||t)}catch(u){}}for(r in C)o=i[r],!o||o[e]&&!n||f(o,e,t)}};for(r in C)i[r]||(T=!1);if((!T||"function"!=typeof w||w===Function.prototype)&&(w=function(){throw TypeError("Incorrect invocation")},T))for(r in C)i[r]&&h(i[r],w);if((!T||!O||O===x)&&(O=w.prototype,T))for(r in C)i[r]&&h(i[r].prototype,O);if(T&&p(E)!==O&&h(E,O),a&&!l(O,S))for(r in A=!0,d(O,S,{get:function(){return u(this)?this[j]:void 0}}),C)i[r]&&s(i[r],j,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:T,TYPED_ARRAY_TAG:A&&j,aTypedArray:R,aTypedArrayConstructor:I,exportTypedArrayMethod:M,exportTypedArrayStaticMethod:N,isView:P,isTypedArray:_,TypedArray:w,TypedArrayPrototype:O}},"6JNq":function(e,t,n){var r=n("UTVS"),o=n("Vu81"),a=n("Bs8V"),i=n("m/L8");e.exports=function(e,t){for(var n=o(t),u=i.f,l=a.f,c=0;c>>8,n[2*r+1]=i%256}return n},decompressFromUint8Array:function(t){if(null===t||void 0===t)return a.decompress(t);for(var n=new Array(t.length/2),r=0,o=n.length;r>=1}else{for(o=1,r=0;r>=1}f--,0==f&&(f=Math.pow(2,p),p++),delete u[s]}else for(o=i[s],r=0;r>=1;f--,0==f&&(f=Math.pow(2,p),p++),i[c]=d++,s=String(l)}if(""!==s){if(Object.prototype.hasOwnProperty.call(u,s)){if(s.charCodeAt(0)<256){for(r=0;r>=1}else{for(o=1,r=0;r>=1}f--,0==f&&(f=Math.pow(2,p),p++),delete u[s]}else for(o=i[s],r=0;r>=1;f--,0==f&&(f=Math.pow(2,p),p++)}for(o=2,r=0;r>=1;while(1){if(m<<=1,v==t-1){h.push(n(m));break}v++}return h.join("")},decompress:function(e){return null==e?"":""==e?null:a._decompress(e.length,32768,(function(t){return e.charCodeAt(t)}))},_decompress:function(t,n,r){var o,a,i,u,l,c,s,f=[],d=4,p=4,h=3,m="",v=[],g={val:r(0),position:n,index:1};for(o=0;o<3;o+=1)f[o]=o;i=0,l=Math.pow(2,2),c=1;while(c!=l)u=g.val&g.position,g.position>>=1,0==g.position&&(g.position=n,g.val=r(g.index++)),i|=(u>0?1:0)*c,c<<=1;switch(i){case 0:i=0,l=Math.pow(2,8),c=1;while(c!=l)u=g.val&g.position,g.position>>=1,0==g.position&&(g.position=n,g.val=r(g.index++)),i|=(u>0?1:0)*c,c<<=1;s=e(i);break;case 1:i=0,l=Math.pow(2,16),c=1;while(c!=l)u=g.val&g.position,g.position>>=1,0==g.position&&(g.position=n,g.val=r(g.index++)),i|=(u>0?1:0)*c,c<<=1;s=e(i);break;case 2:return""}f[3]=s,a=s,v.push(s);while(1){if(g.index>t)return"";i=0,l=Math.pow(2,h),c=1;while(c!=l)u=g.val&g.position,g.position>>=1,0==g.position&&(g.position=n,g.val=r(g.index++)),i|=(u>0?1:0)*c,c<<=1;switch(s=i){case 0:i=0,l=Math.pow(2,8),c=1;while(c!=l)u=g.val&g.position,g.position>>=1,0==g.position&&(g.position=n,g.val=r(g.index++)),i|=(u>0?1:0)*c,c<<=1;f[p++]=e(i),s=p-1,d--;break;case 1:i=0,l=Math.pow(2,16),c=1;while(c!=l)u=g.val&g.position,g.position>>=1,0==g.position&&(g.position=n,g.val=r(g.index++)),i|=(u>0?1:0)*c,c<<=1;f[p++]=e(i),s=p-1,d--;break;case 2:return v.join("")}if(0==d&&(d=Math.pow(2,h),h++),f[s])m=f[s];else{if(s!==p)return null;m=a+a.charAt(0)}v.push(m),f[p++]=a+m.charAt(0),d--,a=m,0==d&&(d=Math.pow(2,h),h++)}}};return a}();r=function(){return o}.call(t,n,t,e),void 0===r||(e.exports=r)},"7+kd":function(e,t,n){var r=n("dG/n");r("isConcatSpreadable")},"7+zs":function(e,t,n){var r=n("kRJp"),o=n("UesL"),a=n("tiKp"),i=a("toPrimitive"),u=Date.prototype;i in u||r(u,i,o)},"702D":function(e,t,n){var r=n("I+eb"),o=n("qY7S");r({target:"WeakMap",stat:!0},{from:o})},"7JcK":function(e,t,n){"use strict";var r=n("67WC"),o=n("iqeF"),a=r.aTypedArrayConstructor,i=r.exportTypedArrayStaticMethod;i("of",(function(){var e=0,t=arguments.length,n=new(a(this))(t);while(t>e)n[e]=arguments[e++];return n}),o)},"7Qc+":function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},"7sf/":function(e,t,n){"use strict";function r(){var e=n("q1tI");return r=function(){return e},e}function o(){var e=a(n("6xEa"));return o=function(){return e},e}function a(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return f(e)||s(e,t)||l(e,t)||u()}function u(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e,t){if(e){if("string"===typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n2?arguments[2]:void 0)(e,n);return n.set(e,t(u,e,n)),n}})},"9N29":function(e,t,n){"use strict";var r=n("I+eb"),o=n("1Y/n").right,a=n("pkCn"),i=n("rkAj"),u=a("reduceRight"),l=i("reduce",{1:0});r({target:"Array",proto:!0,forced:!u||!l},{reduceRight:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"9R94":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=!0,o="Invariant failed";function a(e,t){if(!e){if(r)throw new Error(o);var n="function"===typeof t?t():t,a=n?"".concat(o,": ").concat(n):o;throw new Error(a)}}},"9d/t":function(e,t,n){var r=n("AO7/"),o=n("xrYK"),a=n("tiKp"),i=a("toStringTag"),u="Arguments"==o(function(){return arguments}()),l=function(e,t){try{return e[t]}catch(n){}};e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=l(t=Object(e),i))?n:u?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},"9kvl":function(e,t,n){"use strict";var r=n("FfOG");n.d(t,"a",(function(){return r["b"]}));n("bCY9")},"9rSQ":function(e,t,n){"use strict";var r=n("xTJ+");function o(){this.handlers=[]}o.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},"9xmf":function(e,t,n){var r=n("EdiO");function o(e){if(Array.isArray(e))return r(e)}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},A2ZE:function(e,t,n){var r=n("HAuM");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},A9Tw:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=n("dEAq"),i=n("Zxc8"),u=o.a.memo((e=>{var t=e.demos,n=t["docs-directoryupload"].component;return o.a.createElement(o.a.Fragment,null,o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:"markdown"},o.a.createElement("h2",{id:"directoryupload"},o.a.createElement(a["AnchorLink"],{to:"#directoryupload","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"directoryUpload")),o.a.createElement(i["default"],t["docs-directoryupload"].previewerProps,o.a.createElement(n,null))))}));t["default"]=e=>{var t=o.a.useContext(a["context"]),n=t.demos;return o.a.useEffect((()=>{var t;null!==e&&void 0!==e&&null!==(t=e.location)&&void 0!==t&&t.hash&&a["AnchorLink"].scrollToAnchor(decodeURIComponent(e.location.hash.slice(1)))}),[]),o.a.createElement(u,{demos:n})}},AK2Z:function(e,t,n){},"AO7/":function(e,t,n){var r=n("tiKp"),o=r("toStringTag"),a={};a[o]="z",e.exports="[object z]"===String(a)},AQPS:function(e,t,n){},AVoK:function(e,t,n){"use strict";var r=n("I+eb"),o=n("xDBR"),a=n("Cg3G");r({target:"Set",proto:!0,real:!0,forced:o},{deleteAll:function(){return a.apply(this,arguments)}})},AwgR:function(e,t,n){var r=n("I+eb"),o=n("eDxR"),a=n("glrk"),i=o.has,u=o.toKey;r({target:"Reflect",stat:!0},{hasOwnMetadata:function(e,t){var n=arguments.length<3?void 0:u(arguments[2]);return i(e,a(t),n)}})},B6y2:function(e,t,n){var r=n("I+eb"),o=n("b1O7").values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},BGb9:function(e,t,n){"use strict";var r=n("I+eb"),o=n("xDBR"),a=n("0GbY"),i=n("glrk"),u=n("HAuM"),l=n("SEBh"),c=n("ImZN");r({target:"Set",proto:!0,real:!0,forced:o},{union:function(e){var t=i(this),n=new(l(t,a("Set")))(t);return c(e,u(n.add),n),n}})},BIHw:function(e,t,n){"use strict";var r=n("I+eb"),o=n("or9q"),a=n("ewvW"),i=n("UMSQ"),u=n("ppGB"),l=n("ZfDv");r({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=a(this),n=i(t.length),r=l(t,0);return r.length=o(r,t,t,n,0,void 0===e?1:u(e)),r}})},BTho:function(e,t,n){"use strict";var r=n("HAuM"),o=n("hh1v"),a=[].slice,i={},u=function(e,t,n){if(!(t in i)){for(var r=[],o=0;o1?arguments[1]:void 0,3),o=new(c(t,a("Map"))),d=u(o.set);return f(n,(function(e,n){d.call(o,e,r(n,e,t))}),void 0,!0,!0),o}})},Cg3G:function(e,t,n){"use strict";var r=n("glrk"),o=n("HAuM");e.exports=function(){for(var e,t=r(this),n=o(t["delete"]),a=!0,i=0,u=arguments.length;il&&(c=c.slice(0,l)),e?s+c:c+s)}};e.exports={start:u(!1),end:u(!0)}},DPsx:function(e,t,n){var r=n("g6v/"),o=n("0Dky"),a=n("zBJ4");e.exports=!r&&!o((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},DSFK:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return r}))},DTth:function(e,t,n){var r=n("0Dky"),o=n("tiKp"),a=n("xDBR"),i=o("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t["delete"]("b"),n+=r+e})),a&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[i]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://\u0442\u0435\u0441\u0442").host||"#%D0%B1"!==new URL("http://a#\u0431").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},DfZB:function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},DhMN:function(e,t,n){n("ofBz")},DrvE:function(e,t,n){"use strict";var r=n("I+eb"),o=n("HAuM"),a=n("0GbY"),i=n("8GlL"),u=n("5mdu"),l=n("ImZN"),c="No one promise resolved";r({target:"Promise",stat:!0},{any:function(e){var t=this,n=i.f(t),r=n.resolve,s=n.reject,f=u((function(){var n=o(t.resolve),i=[],u=0,f=1,d=!1;l(e,(function(e){var o=u++,l=!1;i.push(void 0),f++,n.call(t,e).then((function(e){l||d||(d=!0,r(e))}),(function(e){l||d||(l=!0,i[o]=e,--f||s(new(a("AggregateError"))(i,c)))}))})),--f||s(new(a("AggregateError"))(i,c))}));return f.error&&s(f.value),n.promise}})},E21C:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=n("/7QA"),i={action:"/upload.do",multiple:!0,onStart(e){console.log("onStart",e,e.name)},onSuccess(e){console.log("onSuccess",e)},onError(e){console.log("onError",e)},beforeUpload(e,t){return console.log(e,t),new Promise((t=>{console.log("start check"),setTimeout((()=>{console.log("check finshed"),t(e)}),3e3)}))}},u=()=>o.a.createElement("div",{style:{margin:100}},o.a.createElement("div",null,o.a.createElement(a["a"],i,o.a.createElement("a",null,"\u5f00\u59cb\u4e0a\u4f20"))));t["default"]=u},E9XD:function(e,t,n){"use strict";var r=n("I+eb"),o=n("1Y/n").left,a=n("pkCn"),i=n("rkAj"),u=a("reduce"),l=i("reduce",{1:0});r({target:"Array",proto:!0,forced:!u||!l},{reduce:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"EDT/":function(e,t,n){var r=n("I+eb"),o=n("p5mE"),a=n("0GbY");r({global:!0},{compositeSymbol:function(){return 1===arguments.length&&"string"===typeof arguments[0]?a("Symbol")["for"](arguments[0]):o.apply(null,arguments).get("symbol",a("Symbol"))}})},ENF9:function(e,t,n){"use strict";var r,o=n("2oRo"),a=n("4syw"),i=n("8YOa"),u=n("bWFh"),l=n("rKzb"),c=n("hh1v"),s=n("afO8").enforce,f=n("f5p1"),d=!o.ActiveXObject&&"ActiveXObject"in o,p=Object.isExtensible,h=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},m=e.exports=u("WeakMap",h,l);if(f&&d){r=l.getConstructor(h,"WeakMap",!0),i.REQUIRED=!0;var v=m.prototype,g=v["delete"],y=v.has,b=v.get,E=v.set;a(v,{delete:function(e){if(c(e)&&!p(e)){var t=s(this);return t.frozen||(t.frozen=new r),g.call(this,e)||t.frozen["delete"](e)}return g.call(this,e)},has:function(e){if(c(e)&&!p(e)){var t=s(this);return t.frozen||(t.frozen=new r),y.call(this,e)||t.frozen.has(e)}return y.call(this,e)},get:function(e){if(c(e)&&!p(e)){var t=s(this);return t.frozen||(t.frozen=new r),y.call(this,e)?b.call(this,e):t.frozen.get(e)}return b.call(this,e)},set:function(e,t){if(c(e)&&!p(e)){var n=s(this);n.frozen||(n.frozen=new r),y.call(this,e)?E.call(this,e,t):n.frozen.set(e,t)}else E.call(this,e,t);return this}})}},EUja:function(e,t,n){"use strict";var r=n("ppGB"),o=n("HYAF");e.exports="".repeat||function(e){var t=String(o(this)),n="",a=r(e);if(a<0||a==1/0)throw RangeError("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(t+=t))1&a&&(n+=t);return n}},EdiO:function(e,t){function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1||"".split(/.?/).length?function(e,n){var r=String(i(this)),a=void 0===n?m:n>>>0;if(0===a)return[];if(void 0===e)return[r];if(!o(e))return t.call(r,e,a);var u,l,c,s=[],d=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,v=new RegExp(e.source,d+"g");while(u=f.call(v,r)){if(l=v.lastIndex,l>h&&(s.push(r.slice(h,u.index)),u.length>1&&u.index=a))break;v.lastIndex===u.index&&v.lastIndex++}return h===r.length?!c&&v.test("")||s.push(""):s.push(r.slice(h)),s.length>a?s.slice(0,a):s}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var o=i(this),a=void 0==t?void 0:t[e];return void 0!==a?a.call(t,o,n):r.call(String(o),t,n)},function(e,o){var i=n(r,e,this,o,r!==t);if(i.done)return i.value;var f=a(e),d=String(this),p=u(f,RegExp),g=f.unicode,y=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(v?"y":"g"),b=new p(v?f:"^(?:"+f.source+")",y),E=void 0===o?m:o>>>0;if(0===E)return[];if(0===d.length)return null===s(b,d)?[d]:[];var w=0,O=0,x=[];while(O1?arguments[1]:void 0)}},FDzp:function(e,t,n){var r=n("dOgj");r("Int32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},FMNM:function(e,t,n){var r=n("xrYK"),o=n("kmMV");e.exports=function(e,t){var n=e.exec;if("function"===typeof n){var a=n.call(e,t);if("object"!==typeof a)throw TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},FZtP:function(e,t,n){var r=n("2oRo"),o=n("/byt"),a=n("F8JR"),i=n("kRJp");for(var u in o){var l=r[u],c=l&&l.prototype;if(c&&c.forEach!==a)try{i(c,"forEach",a)}catch(s){c.forEach=a}}},Ff2n:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("zLVn");function o(e,t){if(null==e)return{};var n,o,a=Object(r["a"])(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},FfOG:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var r=n("YS25"),o={basename:"/"};window.routerBase&&(o.basename=window.routerBase);var a=Object({NODE_ENV:"production"}).__IS_SERVER?null:Object(r["a"])(o),i=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e||(a=Object(r["a"])(o)),a}},"G+Rx":function(e,t,n){var r=n("0GbY");e.exports=r("document","documentElement")},"G+Sx":function(e,t){},GC2F:function(e,t,n){var r=n("+M1K");e.exports=function(e,t){var n=r(e);if(n%t)throw RangeError("Wrong offset");return n}},"GEK/":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=n("dEAq"),i=n("Zxc8"),u=o.a.memo((e=>{var t=e.demos,n=t["docs-simple"].component;return o.a.createElement(o.a.Fragment,null,o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:"markdown"},o.a.createElement("h2",{id:"simple"},o.a.createElement(a["AnchorLink"],{to:"#simple","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"simple")),o.a.createElement(i["default"],t["docs-simple"].previewerProps,o.a.createElement(n,null))))}));t["default"]=e=>{var t=o.a.useContext(a["context"]),n=t.demos;return o.a.useEffect((()=>{var t;null!==e&&void 0!==e&&null!==(t=e.location)&&void 0!==t&&t.hash&&a["AnchorLink"].scrollToAnchor(decodeURIComponent(e.location.hash.slice(1)))}),[]),o.a.createElement(u,{demos:n})}},GXvd:function(e,t,n){var r=n("dG/n");r("species")},GarU:function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},Gytx:function(e,t){e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var u=Object.prototype.hasOwnProperty.bind(t),l=0;l=f.reach)break;var k=O.value;if(t.length>e.length)return;if(!(k instanceof o)){var S,j=1;if(y){if(S=a(w,x,e,g),!S||S.index>=e.length)break;var T=S.index,A=S.index+S[0].length,C=x;C+=O.value.length;while(T>=C)O=O.next,C+=O.value.length;if(C-=O.value.length,x=C,O.value instanceof o)continue;for(var P=O;P!==t.tail&&(Cf.reach&&(f.reach=M);var N=O.prev;R&&(N=l(t,N,R),x+=R.length),c(t,N,j);var L=new o(d,v?r.tokenize(_,v):_,b,_);if(O=l(t,N,L),I&&l(t,O,I),j>1){var D={cause:d+","+h,reach:M};i(e,t,n,O.prev,x,D),f&&D.reach>f.reach&&(f.reach=D.reach)}}}}}}function u(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,o={value:n,prev:t,next:r};return t.next=o,r.prev=o,e.length++,o}function c(e,t,n){for(var r=t.next,o=0;o"+a.content+""},r}(),i=a;a["default"]=a,i.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},i.languages.markup["tag"].inside["attr-value"].inside["entity"]=i.languages.markup["entity"],i.languages.markup["doctype"].inside["internal-subset"].inside=i.languages.markup,i.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes["title"]=e.content.replace(/&/,"&"))})),Object.defineProperty(i.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:i.languages[t]},n["cdata"]=/^$/i;var r={"included-cdata":{pattern://i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:i.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},i.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(i.languages.markup.tag,"addAttribute",{value:function(e,t){i.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:i.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),i.languages.html=i.languages.markup,i.languages.mathml=i.languages.markup,i.languages.svg=i.languages.markup,i.languages.xml=i.languages.extend("markup",{}),i.languages.ssml=i.languages.xml,i.languages.atom=i.languages.xml,i.languages.rss=i.languages.xml,function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=r.variable[1].inside,i=0;i]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},i.languages.c=i.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),i.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),i.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},i.languages.c["string"]],char:i.languages.c["char"],comment:i.languages.c["comment"],"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:i.languages.c}}}}),i.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete i.languages.c["boolean"],function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(i),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css["atrule"].inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(i),function(e){var t,n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css["atrule"].inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},o={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:o,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:o})}(i),i.languages.javascript=i.languages.extend("clike",{"class-name":[i.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),i.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,i.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:i.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:i.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:i.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:i.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:i.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),i.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:i.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),i.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),i.languages.markup&&(i.languages.markup.tag.addInlined("script","javascript"),i.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),i.languages.js=i.languages.javascript,function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(i),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return"(?:"+o+"|"+a+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(a),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(i),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(//g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),a=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+a+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+a+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){function t(e){if(e&&"string"!==typeof e)for(var n=0,r=e.length;n",quot:'"'},l=String.fromCodePoint||String.fromCharCode;function c(e){var t=e.replace(i,"");return t=t.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;if(t=t.toLowerCase(),"#"===t[0])return n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),l(n);var r=u[t];return r||e})),t}e.languages.md=e.languages.markdown}(i),i.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:i.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},i.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!==typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n0)){var u=d(/^\{$/,/^\}$/);if(-1===u)continue;for(var l=n;l=0&&p(c,"variable-input")}}}}function s(e){return t[n+e]}function f(e,t){t=t||0;for(var n=0;n?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside["interpolation"],o=r.inside["interpolation-punctuation"],a=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function u(e,t){return"___"+t.toUpperCase()+"_"+e+"___"}function l(t,n,r){var o={code:t,grammar:n,language:r};return e.hooks.run("before-tokenize",o),o.tokens=e.tokenize(o.code,o.grammar),e.hooks.run("after-tokenize",o),o.tokens}function c(t){var n={};n["interpolation-punctuation"]=o;var a=e.tokenize(t,n);if(3===a.length){var i=[1,1];i.push.apply(i,l(a[1],e.languages.javascript,"javascript")),a.splice.apply(a,i)}return new e.Token("interpolation",a,r.alias,t)}function s(t,n,r){var o=e.tokenize(t,{interpolation:{pattern:RegExp(a),lookbehind:!0}}),i=0,s={},f=o.map((function(e){if("string"===typeof e)return e;var n,o=e.content;while(-1!==t.indexOf(n=u(i++,r)));return s[n]=o,n})).join(""),d=l(f,n,r),p=Object.keys(s);function h(e){for(var t=0;t=p.length)return;var n=e[t];if("string"===typeof n||"string"===typeof n.content){var r=p[i],o="string"===typeof n?n:n.content,a=o.indexOf(r);if(-1!==a){++i;var u=o.substring(0,a),l=c(s[r]),f=o.substring(a+r.length),d=[];if(u&&d.push(u),d.push(l),f){var m=[f];h(m),d.push.apply(d,m)}"string"===typeof n?(e.splice.apply(e,[t,1].concat(d)),t+=d.length-1):n.content=d}}else{var v=n.content;Array.isArray(v)?h(v):h([v])}}}return i=0,h(d),new e.Token(r,d,"language-"+r,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var f={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function d(e){return"string"===typeof e?e:Array.isArray(e)?e.map(d).join(""):d(e.content)}e.hooks.add("after-tokenize",(function(t){function n(t){for(var r=0,o=t.length;r]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript["parameter"],delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(i),function(e){function t(e,t){return RegExp(e.replace(//g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function"].source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript["keyword"].unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r*\.{3}(?:[^{}]|)*\})/.source;function a(e,t){return e=e.replace(//g,(function(){return n})).replace(//g,(function(){return r})).replace(//g,(function(){return o})),RegExp(e,t)}o=a(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=a(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside["tag"].pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside["tag"].inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside["comment"]=t["comment"],e.languages.insertBefore("inside","attr-name",{spread:{pattern:a(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:a(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var i=function e(t){return t?"string"===typeof t?t:"string"===typeof t.content?t.content:t.content.map(e).join(""):""},u=function t(n){for(var r=[],o=0;o0&&r[r.length-1].tagName===i(a.content[0].content[1])&&r.pop():"/>"===a.content[a.content.length-1].content||r.push({tagName:i(a.content[0].content[1]),openedBraces:0}):r.length>0&&"punctuation"===a.type&&"{"===a.content?r[r.length-1].openedBraces++:r.length>0&&r[r.length-1].openedBraces>0&&"punctuation"===a.type&&"}"===a.content?r[r.length-1].openedBraces--:u=!0),(u||"string"===typeof a)&&r.length>0&&0===r[r.length-1].openedBraces){var l=i(a);o0&&("string"===typeof n[o-1]||"plain-text"===n[o-1].type)&&(l=i(n[o-1])+l,n.splice(o-1,1),o--),n[o]=new e.Token("plain-text",l,null,l)}a.content&&"string"!==typeof a.content&&t(a.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||u(e.tokens)}))}(i),function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(n){var r=t[n],o=[];/^\w+$/.test(n)||o.push(/\w+/.exec(n)[0]),"diff"===n&&o.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:o,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(i),i.languages.git={comment:/^#.*/m,deleted:/^[-\u2013].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m},i.languages.go=i.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),i.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete i.languages.go["class-name"],function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,o,a){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(o,(function(e){if("function"===typeof a&&!a(e))return e;var o,u=i.length;while(-1!==n.code.indexOf(o=t(r,u)))++u;return i[u]=e,o})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var o=0,a=Object.keys(n.tokenStack);i(n.tokens)}function i(u){for(var l=0;l=a.length)break;var c=u[l];if("string"===typeof c||c.content&&"string"===typeof c.content){var s=a[o],f=n.tokenStack[s],d="string"===typeof c?c:c.content,p=t(r,s),h=d.indexOf(p);if(h>-1){++o;var m=d.substring(0,h),v=new e.Token(r,e.tokenize(f,n.grammar),"language-"+r,f),g=d.substring(h+p.length),y=[];m&&y.push.apply(y,i([m])),y.push(v),g&&y.push.apply(y,i([g])),"string"===typeof c?u.splice.apply(u,[l,1].concat(y)):c.content=y}}else c.content&&i(c.content)}return u}}}})}(i),function(e){e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",(function(t){var n=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;e.languages["markup-templating"].buildPlaceholders(t,"handlebars",n)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")})),e.languages.hbs=e.languages.handlebars}(i),i.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},i.languages.webmanifest=i.languages.json,i.languages.less=i.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),i.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}}),i.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/},i.languages.objectivec=i.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete i.languages.objectivec["class-name"],i.languages.objc=i.languages.objectivec,i.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/},i.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},i.languages.python["string-interpolation"].inside["interpolation"].inside.rest=i.languages.python,i.languages.py=i.languages.python,i.languages.reason=i.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),i.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete i.languages.reason["function"],function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(i),i.languages.scss=i.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),i.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),i.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),i.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),i.languages.scss["atrule"].inside.rest=i.languages.scss,function(e){var t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},r={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/};r["interpolation"]={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r["func"]={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:r.interpolation}},rest:r}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}(i),function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx["parameter"],delete e.languages.tsx["literal-property"];var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(i),i.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/};var u=i,l={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},c=l,s={Prism:u,theme:c};function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(){return d=Object.assign||function(e){for(var t=1;t0&&e[n-1]===t?e:e.concat(t)},v=function(e){var t=[[]],n=[e],r=[0],o=[e.length],a=0,i=0,u=[],l=[u];while(i>-1){while((a=r[i]++)0?s:["plain"],c=d):(s=m(s,d.type),d.alias&&(s=m(s,d.alias)),c=d.content),"string"===typeof c){var v=c.split(p),g=v.length;u.push({types:s,content:v[0]});for(var y=1;ye.length)&&(t=e.length);for(var n=0,r=new Array(t);n=51||!r((function(){var t=[],n=t.constructor={};return n[i]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},HiXI:function(e,t,n){"use strict";var r=n("I+eb"),o=n("WKiH").end,a=n("yNLB"),i=a("trimEnd"),u=i?function(){return o(this)}:"".trimEnd;r({target:"String",proto:!0,forced:i},{trimEnd:u,trimRight:u})},HsHA:function(e,t){var n=Math.log;e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:n(1+e)}},"I+eb":function(e,t,n){var r=n("2oRo"),o=n("Bs8V").f,a=n("kRJp"),i=n("busE"),u=n("zk60"),l=n("6JNq"),c=n("lMq5");e.exports=function(e,t){var n,s,f,d,p,h,m=e.target,v=e.global,g=e.stat;if(s=v?r:g?r[m]||u(m,{}):(r[m]||{}).prototype,s)for(f in t){if(p=t[f],e.noTargetGet?(h=o(s,f),d=h&&h.value):d=s[f],n=c(v?f:m+(g?".":"#")+f,e.forced),!n&&void 0!==d){if(typeof p===typeof d)continue;l(p,d)}(e.sham||d&&d.sham)&&a(p,"sham",!0),i(s,f,p,e)}}},I1Gw:function(e,t,n){var r=n("dG/n");r("split")},I8vh:function(e,t,n){var r=n("ppGB"),o=Math.max,a=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):a(n,t)}},I9xj:function(e,t,n){var r=n("1E5z");r(Math,"Math",!0)},"IL/d":function(e,t,n){"use strict";var r=n("iqeF"),o=n("67WC").exportTypedArrayStaticMethod,a=n("oHi+");o("from",a,r)},IYrw:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=n("dEAq"),i=n("Zxc8"),u=o.a.memo((e=>{var t=e.demos,n=t["docs-asyncaction"].component;return o.a.createElement(o.a.Fragment,null,o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:"markdown"},o.a.createElement("h2",{id:"asyncaction"},o.a.createElement(a["AnchorLink"],{to:"#asyncaction","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"asyncAction")),o.a.createElement(i["default"],t["docs-asyncaction"].previewerProps,o.a.createElement(n,null))))}));t["default"]=e=>{var t=o.a.useContext(a["context"]),n=t.demos;return o.a.useEffect((()=>{var t;null!==e&&void 0!==e&&null!==(t=e.location)&&void 0!==t&&t.hash&&a["AnchorLink"].scrollToAnchor(decodeURIComponent(e.location.hash.slice(1)))}),[]),o.a.createElement(u,{demos:n})}},IZzc:function(e,t,n){"use strict";var r=n("67WC"),o=r.aTypedArray,a=r.exportTypedArrayMethod,i=[].sort;a("sort",(function(e){return i.call(o(this),e)}))},ImZN:function(e,t,n){var r=n("glrk"),o=n("6VoE"),a=n("UMSQ"),i=n("A2ZE"),u=n("NaFW"),l=n("m92n"),c=function(e,t){this.stopped=e,this.result=t},s=e.exports=function(e,t,n,s,f){var d,p,h,m,v,g,y,b=i(t,n,s?2:1);if(f)d=e;else{if(p=u(e),"function"!=typeof p)throw TypeError("Target is not iterable");if(o(p)){for(h=0,m=a(e.length);m>h;h++)if(v=s?b(r(y=e[h])[0],y[1]):b(e[h]),v&&v instanceof c)return v;return new c(!1)}d=p.call(e)}g=d.next;while(!(y=g.call(d)).done)if(v=l(d,b,y.value,s),"object"==typeof v&&v&&v instanceof c)return v;return new c(!1)};s.stop=function(e){return new c(!0,e)}},IyBU:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=n("/7QA"),i={action:()=>new Promise((e=>{setTimeout((()=>{e("/upload.do")}),2e3)})),multiple:!0,onStart(e){console.log("onStart",e,e.name)},onSuccess(e){console.log("onSuccess",e)},onError(e){console.log("onError",e)}},u=()=>o.a.createElement("div",{style:{margin:100}},o.a.createElement("div",null,o.a.createElement(a["a"],i,o.a.createElement("a",null,"\u5f00\u59cb\u4e0a\u4f20"))));t["default"]=u},IyRk:function(e,t){(function(t){e.exports=function(){var e={873:function(e){var t;t=function(){return this}();try{t=t||new Function("return this")()}catch(n){"object"===typeof window&&(t=window)}e.exports=t}},n={};function r(t){if(n[t])return n[t].exports;var o=n[t]={exports:{}},a=!0;try{e[t](o,o.exports,r),a=!1}finally{a&&delete n[t]}return o.exports}return r.ab=t+"/",r(873)}()}).call(this,"/")},JBy8:function(e,t,n){var r=n("yoRg"),o=n("eDl+"),a=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,a)}},JTJg:function(e,t,n){"use strict";var r=n("I+eb"),o=n("WjRb"),a=n("HYAF"),i=n("qxPZ");r({target:"String",proto:!0,forced:!i("includes")},{includes:function(e){return!!~String(a(this)).indexOf(o(e),arguments.length>1?arguments[1]:void 0)}})},JX7q:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},JevA:function(e,t,n){var r=n("I+eb"),o=n("wg0c");r({target:"Number",stat:!0,forced:Number.parseInt!=o},{parseInt:o})},JfAA:function(e,t,n){"use strict";var r=n("busE"),o=n("glrk"),a=n("0Dky"),i=n("rW0t"),u="toString",l=RegExp.prototype,c=l[u],s=a((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),f=c.name!=u;(s||f)&&r(RegExp.prototype,u,(function(){var e=o(this),t=String(e.source),n=e.flags,r=String(void 0===n&&e instanceof RegExp&&!("flags"in l)?i.call(e):n);return"/"+t+"/"+r}),{unsafe:!0})},Ji7U:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("s4An");function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Object(r["a"])(e,t)}},JiZb:function(e,t,n){"use strict";var r=n("0GbY"),o=n("m/L8"),a=n("tiKp"),i=n("g6v/"),u=a("species");e.exports=function(e){var t=r(e),n=o.f;i&&t&&!t[u]&&n(t,u,{configurable:!0,get:function(){return this}})}},Junv:function(e,t,n){"use strict";var r=n("I+eb"),o=n("6LWA"),a=[].reverse,i=[1,2];r({target:"Array",proto:!0,forced:String(i)===String(i.reverse())},{reverse:function(){return o(this)&&(this.length=this.length),a.call(this)}})},JwUS:function(e,t,n){"use strict";var r=n("I+eb"),o=n("xDBR"),a=n("glrk"),i=n("HAuM"),u=n("WGBp"),l=n("ImZN");r({target:"Set",proto:!0,real:!0,forced:o},{reduce:function(e){var t=a(this),n=u(t),r=arguments.length<2,o=r?void 0:arguments[1];if(i(e),l(n,(function(n){r?(r=!1,o=n):o=e(o,n,n,t)}),void 0,!1,!0),r)throw TypeError("Reduce of empty set with no initial value");return o}})},KQm4:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("a3WO");function o(e){if(Array.isArray(e))return Object(r["a"])(e)}var a=n("25BE"),i=n("BsWD");function u(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e){return o(e)||Object(a["a"])(e)||Object(i["a"])(e)||u()}},KXoj:function(e,t,n){"use strict";n.r(t);var r=n("0Owb"),o=n("tJVT"),a=n("q1tI"),i=n.n(a),u=n("/7QA"),l="\n .rc-upload-disabled {\n opacity:0.5;\n ",c={action:"/upload.do",data:{a:1,b:2},multiple:!0,beforeUpload(e){console.log("beforeUpload",e.name)},onStart:e=>{console.log("onStart",e.name)},onSuccess(e){console.log("onSuccess",e)},onProgress(e,t){console.log("onProgress",Math.round(e.percent),t.name)},onError(e){console.log("onError",e)},capture:"user"},s=()=>{var e=i.a.useState(!1),t=Object(o["a"])(e,2),n=t[0],a=t[1],s=()=>{a(!0)};return n?null:i.a.createElement("div",{style:{margin:100}},i.a.createElement("h2",null,"\u56fa\u5b9a\u4f4d\u7f6e"),i.a.createElement("style",null,l),i.a.createElement("div",null,i.a.createElement(u["a"],c,i.a.createElement("a",null,"\u5f00\u59cb\u4e0a\u4f20"))),i.a.createElement("h2",null,"\u6eda\u52a8"),i.a.createElement("div",{style:{height:200,overflow:"auto",border:"1px solid red"}}),i.a.createElement("div",{style:{height:500}},i.a.createElement(u["a"],Object(r["a"])({},c,{id:"test",component:"div",style:{display:"inline-block"}}),i.a.createElement("a",null,"\u5f00\u59cb\u4e0a\u4f202"))),i.a.createElement("button",{type:"button",onClick:s},"destroy"))};t["default"]=s},KcUY:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=u(n("q1tI")),o=a(n("nLCz"));function a(e){return e&&e.__esModule?e:{default:e}}function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==l(e)&&"function"!==typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=o?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(r,a,u):r[a]=e[a]}return r["default"]=e,n&&n.set(e,r),r}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=d(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){u=!0,a=e},f:function(){try{i||null==n["return"]||n["return"]()}finally{if(u)throw a}}}}function s(e,t){return m(e)||h(e,t)||d(e,t)||f()}function f(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function d(e,t){if(e){if("string"===typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;i-=1){var u=o[i],l=[u].concat(u.children).filter(Boolean),c=l.find((function(e){return e.path&&new RegExp("^".concat(e.path.replace(/\.html$/,""),"(/|.|$)")).test(n[2])}));if(c){a=c.path;break}}return(null===(e=n[0].menus[n[1]])||void 0===e?void 0:e[a])||[]},a=(0,r.useState)(o(e,t,n)),i=s(a,2),u=i[0],l=i[1];return(0,r.useLayoutEffect)((function(){l(o(e,t,n))}),[e.navs,e.menus,t,n]),u},k=function(e,t,n){var o=function(){for(var t=arguments.length,r=new Array(t),o=0;o4)return e;for(n=[],r=0;r1&&"0"==o.charAt(0)&&(a=I.test(o)?16:8,o=o.slice(8==a?1:2)),""===o)i=0;else{if(!(10==a?N:8==a?M:L).test(o))return e;i=parseInt(o,a)}n.push(i)}for(r=0;r=S(256,5-t))return null}else if(i>255)return null;for(u=n.pop(),r=0;r6)return;r=0;while(d()){if(o=null,r>0){if(!("."==d()&&r<4))return;f++}if(!R.test(d()))return;while(R.test(d())){if(a=parseInt(d(),10),null===o)o=a;else{if(0==o)return;o=10*o+a}if(o>255)return;f++}l[c]=256*l[c]+o,r++,2!=r&&4!=r||c++}if(4!=r)return;break}if(":"==d()){if(f++,!d())return}else if(d())return;l[c++]=t}else{if(null!==s)return;f++,c++,s=c}}if(null!==s){i=c-s,c=7;while(0!=c&&i>0)u=l[c],l[c--]=l[s+i-1],l[s+--i]=u}else if(8!=c)return;return l},V=function(e){for(var t=null,n=1,r=null,o=0,a=0;a<8;a++)0!==e[a]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=a),++o);return o>n&&(t=r,n=o),t},q=function(e){var t,n,r,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=k(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=V(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),r===n?(t+=n?":":"::",o=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},G={},$=d({},G,{" ":1,'"':1,"<":1,">":1,"`":1}),K=d({},$,{"#":1,"?":1,"{":1,"}":1}),Y=d({},K,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Z=function(e,t){var n=h(e,0);return n>32&&n<127&&!f(t,e)?e:encodeURIComponent(e)},X={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Q=function(e){return f(X,e.scheme)},J=function(e){return""!=e.username||""!=e.password},ee=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},te=function(e,t){var n;return 2==e.length&&P.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},ne=function(e){var t;return e.length>1&&te(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},re=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&te(t[0],!0)||t.pop()},oe=function(e){return"."===e||"%2e"===e.toLowerCase()},ae=function(e){return e=e.toLowerCase(),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},ie={},ue={},le={},ce={},se={},fe={},de={},pe={},he={},me={},ve={},ge={},ye={},be={},Ee={},we={},Oe={},xe={},ke={},Se={},je={},Te=function(e,t,n,o){var a,i,u,l,c=n||ie,s=0,d="",h=!1,m=!1,v=!1;n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(U,"")),t=t.replace(B,""),a=p(t);while(s<=a.length){switch(i=a[s],c){case ie:if(!i||!P.test(i)){if(n)return T;c=le;continue}d+=i.toLowerCase(),c=ue;break;case ue:if(i&&(_.test(i)||"+"==i||"-"==i||"."==i))d+=i.toLowerCase();else{if(":"!=i){if(n)return T;d="",c=le,s=0;continue}if(n&&(Q(e)!=f(X,d)||"file"==d&&(J(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=d,n)return void(Q(e)&&X[e.scheme]==e.port&&(e.port=null));d="","file"==e.scheme?c=be:Q(e)&&o&&o.scheme==e.scheme?c=ce:Q(e)?c=pe:"/"==a[s+1]?(c=se,s++):(e.cannotBeABaseURL=!0,e.path.push(""),c=ke)}break;case le:if(!o||o.cannotBeABaseURL&&"#"!=i)return T;if(o.cannotBeABaseURL&&"#"==i){e.scheme=o.scheme,e.path=o.path.slice(),e.query=o.query,e.fragment="",e.cannotBeABaseURL=!0,c=je;break}c="file"==o.scheme?be:fe;continue;case ce:if("/"!=i||"/"!=a[s+1]){c=fe;continue}c=he,s++;break;case se:if("/"==i){c=me;break}c=xe;continue;case fe:if(e.scheme=o.scheme,i==r)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query;else if("/"==i||"\\"==i&&Q(e))c=de;else if("?"==i)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query="",c=Se;else{if("#"!=i){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.path.pop(),c=xe;continue}e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query,e.fragment="",c=je}break;case de:if(!Q(e)||"/"!=i&&"\\"!=i){if("/"!=i){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,c=xe;continue}c=me}else c=he;break;case pe:if(c=he,"/"!=i||"/"!=d.charAt(s+1))continue;s++;break;case he:if("/"!=i&&"\\"!=i){c=me;continue}break;case me:if("@"==i){h&&(d="%40"+d),h=!0,u=p(d);for(var g=0;g65535)return C;e.port=Q(e)&&E===X[e.scheme]?null:E,d=""}if(n)return;c=Oe;continue}return C}d+=i;break;case be:if(e.scheme="file","/"==i||"\\"==i)c=Ee;else{if(!o||"file"!=o.scheme){c=xe;continue}if(i==r)e.host=o.host,e.path=o.path.slice(),e.query=o.query;else if("?"==i)e.host=o.host,e.path=o.path.slice(),e.query="",c=Se;else{if("#"!=i){ne(a.slice(s).join(""))||(e.host=o.host,e.path=o.path.slice(),re(e)),c=xe;continue}e.host=o.host,e.path=o.path.slice(),e.query=o.query,e.fragment="",c=je}}break;case Ee:if("/"==i||"\\"==i){c=we;break}o&&"file"==o.scheme&&!ne(a.slice(s).join(""))&&(te(o.path[0],!0)?e.path.push(o.path[0]):e.host=o.host),c=xe;continue;case we:if(i==r||"/"==i||"\\"==i||"?"==i||"#"==i){if(!n&&te(d))c=xe;else if(""==d){if(e.host="",n)return;c=Oe}else{if(l=z(e,d),l)return l;if("localhost"==e.host&&(e.host=""),n)return;d="",c=Oe}continue}d+=i;break;case Oe:if(Q(e)){if(c=xe,"/"!=i&&"\\"!=i)continue}else if(n||"?"!=i)if(n||"#"!=i){if(i!=r&&(c=xe,"/"!=i))continue}else e.fragment="",c=je;else e.query="",c=Se;break;case xe:if(i==r||"/"==i||"\\"==i&&Q(e)||!n&&("?"==i||"#"==i)){if(ae(d)?(re(e),"/"==i||"\\"==i&&Q(e)||e.path.push("")):oe(d)?"/"==i||"\\"==i&&Q(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&te(d)&&(e.host&&(e.host=""),d=d.charAt(0)+":"),e.path.push(d)),d="","file"==e.scheme&&(i==r||"?"==i||"#"==i))while(e.path.length>1&&""===e.path[0])e.path.shift();"?"==i?(e.query="",c=Se):"#"==i&&(e.fragment="",c=je)}else d+=Z(i,K);break;case ke:"?"==i?(e.query="",c=Se):"#"==i?(e.fragment="",c=je):i!=r&&(e.path[0]+=Z(i,G));break;case Se:n||"#"!=i?i!=r&&("'"==i&&Q(e)?e.query+="%27":e.query+="#"==i?"%23":Z(i,G)):(e.fragment="",c=je);break;case je:i!=r&&(e.fragment+=Z(i,$));break}s++}},Ae=function(e){var t,n,r=s(this,Ae,"URL"),o=arguments.length>1?arguments[1]:void 0,i=String(e),u=O(r,{type:"URL"});if(void 0!==o)if(o instanceof Ae)t=x(o);else if(n=Te(t={},String(o)),n)throw TypeError(n);if(n=Te(u,i,null,t),n)throw TypeError(n);var l=u.searchParams=new E,c=w(l);c.updateSearchParams(u.query),c.updateURL=function(){u.query=String(l)||null},a||(r.href=Pe.call(r),r.origin=_e.call(r),r.protocol=Re.call(r),r.username=Ie.call(r),r.password=Me.call(r),r.host=Ne.call(r),r.hostname=Le.call(r),r.port=De.call(r),r.pathname=Fe.call(r),r.search=Ue.call(r),r.searchParams=Be.call(r),r.hash=ze.call(r))},Ce=Ae.prototype,Pe=function(){var e=x(this),t=e.scheme,n=e.username,r=e.password,o=e.host,a=e.port,i=e.path,u=e.query,l=e.fragment,c=t+":";return null!==o?(c+="//",J(e)&&(c+=n+(r?":"+r:"")+"@"),c+=q(o),null!==a&&(c+=":"+a)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?i[0]:i.length?"/"+i.join("/"):"",null!==u&&(c+="?"+u),null!==l&&(c+="#"+l),c},_e=function(){var e=x(this),t=e.scheme,n=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(r){return"null"}return"file"!=t&&Q(e)?t+"://"+q(e.host)+(null!==n?":"+n:""):"null"},Re=function(){return x(this).scheme+":"},Ie=function(){return x(this).username},Me=function(){return x(this).password},Ne=function(){var e=x(this),t=e.host,n=e.port;return null===t?"":null===n?q(t):q(t)+":"+n},Le=function(){var e=x(this).host;return null===e?"":q(e)},De=function(){var e=x(this).port;return null===e?"":String(e)},Fe=function(){var e=x(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Ue=function(){var e=x(this).query;return e?"?"+e:""},Be=function(){return x(this).searchParams},ze=function(){var e=x(this).fragment;return e?"#"+e:""},He=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(a&&l(Ce,{href:He(Pe,(function(e){var t=x(this),n=String(e),r=Te(t,n);if(r)throw TypeError(r);w(t.searchParams).updateSearchParams(t.query)})),origin:He(_e),protocol:He(Re,(function(e){var t=x(this);Te(t,String(e)+":",ie)})),username:He(Ie,(function(e){var t=x(this),n=p(String(e));if(!ee(t)){t.username="";for(var r=0;r1?arguments[1]:void 0,t.length)),r=String(e);return s?s.call(t,r,n):t.slice(n,n+r.length)===r}})},LPSS:function(e,t,n){var r,o,a,i=n("2oRo"),u=n("0Dky"),l=n("xrYK"),c=n("A2ZE"),s=n("G+Rx"),f=n("zBJ4"),d=n("HNyW"),p=i.location,h=i.setImmediate,m=i.clearImmediate,v=i.process,g=i.MessageChannel,y=i.Dispatch,b=0,E={},w="onreadystatechange",O=function(e){if(E.hasOwnProperty(e)){var t=E[e];delete E[e],t()}},x=function(e){return function(){O(e)}},k=function(e){O(e.data)},S=function(e){i.postMessage(e+"",p.protocol+"//"+p.host)};h&&m||(h=function(e){var t=[],n=1;while(arguments.length>n)t.push(arguments[n++]);return E[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(b),b},m=function(e){delete E[e]},"process"==l(v)?r=function(e){v.nextTick(x(e))}:y&&y.now?r=function(e){y.now(x(e))}:g&&!d?(o=new g,a=o.port2,o.port1.onmessage=k,r=c(a.postMessage,a,1)):!i.addEventListener||"function"!=typeof postMessage||i.importScripts||u(S)||"file:"===p.protocol?r=w in f("script")?function(e){s.appendChild(f("script"))[w]=function(){s.removeChild(this),O(e)}}:function(e){setTimeout(x(e),0)}:(r=S,i.addEventListener("message",k,!1))),e.exports={set:h,clear:m}},LQDL:function(e,t,n){var r,o,a=n("2oRo"),i=n("NC/Y"),u=a.process,l=u&&u.versions,c=l&&l.v8;c?(r=c.split("."),o=r[0]+r[1]):i&&(r=i.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/),r&&(o=r[1]))),e.exports=o&&+o},LYNF:function(e,t,n){"use strict";var r=n("OH9c");e.exports=function(e,t,n,o,a){var i=new Error(e);return r(i,t,n,o,a)}},Lmem:function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},LtsZ:function(e,t,n){"use strict";n.r(t),n.d(t,"createBrowserHistory",(function(){return o["a"]})),n.d(t,"createHashHistory",(function(){return o["b"]})),n.d(t,"createMemoryHistory",(function(){return o["d"]})),n.d(t,"__RouterContext",(function(){return a["h"]})),n.d(t,"Link",(function(){return y})),n.d(t,"MemoryRouter",(function(){return a["a"]})),n.d(t,"NavLink",(function(){return O})),n.d(t,"Prompt",(function(){return a["b"]})),n.d(t,"Redirect",(function(){return a["c"]})),n.d(t,"Route",(function(){return a["d"]})),n.d(t,"Router",(function(){return a["e"]})),n.d(t,"StaticRouter",(function(){return a["f"]})),n.d(t,"Switch",(function(){return a["g"]})),n.d(t,"matchPath",(function(){return a["i"]})),n.d(t,"useHistory",(function(){return a["j"]})),n.d(t,"useLocation",(function(){return a["k"]})),n.d(t,"useParams",(function(){return a["l"]})),n.d(t,"useRouteMatch",(function(){return a["m"]})),n.d(t,"withRouter",(function(){return a["n"]})),n.d(t,"ApplyPluginsType",(function(){return te})),n.d(t,"Plugin",(function(){return ae})),n.d(t,"dynamic",(function(){return J})),n.d(t,"isBrowser",(function(){return ne}));var r=n("qLMh"),o=n("YS25"),a=n("Ty5D"),i=n("dI71"),u=n("q1tI"),l=n.n(u),c=n("wx14"),s=n("zLVn"),f=n("9R94");l.a.Component;l.a.Component;var d=function(e,t){return"function"===typeof e?e(t):e},p=function(e,t){return"string"===typeof e?Object(o["c"])(e,null,null,t):e},h=function(e){return e},m=l.a.forwardRef;function v(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}"undefined"===typeof m&&(m=h);var g=m((function(e,t){var n=e.innerRef,r=e.navigate,o=e.onClick,a=Object(s["a"])(e,["innerRef","navigate","onClick"]),i=a.target,u=Object(c["a"])({},a,{onClick:function(e){try{o&&o(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||i&&"_self"!==i||v(e)||(e.preventDefault(),r())}});return u.ref=h!==m&&t||n,l.a.createElement("a",u)}));var y=m((function(e,t){var n=e.component,r=void 0===n?g:n,o=e.replace,i=e.to,u=e.innerRef,v=Object(s["a"])(e,["component","replace","to","innerRef"]);return l.a.createElement(a["h"].Consumer,null,(function(e){e||Object(f["a"])(!1);var n=e.history,a=p(d(i,e.location),e.location),s=a?n.createHref(a):"",g=Object(c["a"])({},v,{href:s,navigate:function(){var t=d(i,e.location),r=o?n.replace:n.push;r(t)}});return h!==m?g.ref=t||u:g.innerRef=u,l.a.createElement(r,g)}))})),b=function(e){return e},E=l.a.forwardRef;function w(){for(var e=arguments.length,t=new Array(e),n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){u=!0,a=e},f:function(){try{i||null==n["return"]||n["return"]()}finally{if(u)throw a}}}}var B=Object(u["createContext"])(null),z=[],H=[],W=!1;function V(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e}))["catch"]((function(e){throw n.loading=!1,n.error=e,e})),n}function q(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(r){var o=V(e[r]);o.loading?t.loading=!0:(t.loaded[r]=o.loaded,t.error=o.error),n.push(o.promise),o.promise.then((function(e){t.loaded[r]=e}))["catch"]((function(e){t.error=e}))}))}catch(r){t.error=r}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e}))["catch"]((function(e){throw t.loading=!1,e})),t}function G(e){return e&&e.__esModule?e["default"]:e}function $(e,t){return Object(u["createElement"])(G(e),t)}function K(e,t){var n=Object.assign({loader:null,loading:null,delay:200,timeout:null,render:$,webpack:null,modules:null},t),r=null;function o(){if(!r){var t=new Y(e,n);r={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return r.promise()}if("undefined"===typeof window&&z.push(o),!W&&"undefined"!==typeof window&&"function"===typeof n.webpack){var a=n.webpack();H.push((function(e){var t,n=U(a);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(-1!==e.indexOf(r))return o()}}catch(i){n.e(i)}finally{n.f()}}))}var i=function(e,t){o();var a=Object(u["useContext"])(B),i=Object(x["useSubscription"])(r);return Object(u["useImperativeHandle"])(t,(function(){return{retry:r.retry}})),a&&Array.isArray(n.modules)&&n.modules.forEach((function(e){a(e)})),i.loading||i.error?Object(u["createElement"])(n.loading,{isLoading:i.loading,pastDelay:i.pastDelay,timedOut:i.timedOut,error:i.error,retry:r.retry}):i.loaded?n.render(i.loaded,e):null},l=Object(u["forwardRef"])(i);return l.preload=function(){return o()},l.displayName="LoadableComponent",l}var Y=function(){function e(t,n){C(this,e),this._loadFn=t,this._opts=n,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}return _(e,[{key:"promise",value:function(){return this._res.promise}},{key:"retry",value:function(){var e=this;this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};var t=this._res,n=this._opts;t.loading&&("number"===typeof n.delay&&(0===n.delay?this._state.pastDelay=!0:this._delay=setTimeout((function(){e._update({pastDelay:!0})}),n.delay)),"number"===typeof n.timeout&&(this._timeout=setTimeout((function(){e._update({timedOut:!0})}),n.timeout))),this._res.promise.then((function(){e._update(),e._clearTimeouts()}))["catch"]((function(t){e._update(),e._clearTimeouts()})),this._update({})}},{key:"_update",value:function(e){this._state=S(S({},this._state),e),this._callbacks.forEach((function(e){return e()}))}},{key:"_clearTimeouts",value:function(){clearTimeout(this._delay),clearTimeout(this._timeout)}},{key:"getCurrentValue",value:function(){return S(S({},this._state),{},{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading})}},{key:"subscribe",value:function(e){var t=this;return this._callbacks.add(e),function(){t._callbacks["delete"](e)}}}]),e}();function Z(e){return K(V,e)}function X(e){if("function"!==typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return K(q,e)}function Q(e,t){var n=[];while(e.length){var r=e.pop();n.push(r(t))}return Promise.all(n).then((function(){if(e.length)return Q(e,t)}))}function J(e){var t=Z,n={loading:function(e){e.error,e.isLoading;return Object(u["createElement"])("p",null,"loading...")}};if("function"===typeof e)n.loader=e;else{if("object"!==j(e))throw new Error("Unexpect arguments ".concat(e));n=S(S({},n),e)}return t(n)}function ee(e,t){if(!e)throw new Error(t)}Z.Map=X,Z.preloadAll=function(){return new Promise((function(e,t){Q(z).then(e,t)}))},Z.preloadReady=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise((function(t){var n=function(){return W=!0,t()};Q(H,e).then(n,n)}))},"undefined"!==typeof window&&(window.__NEXT_PRELOADREADY=Z.preloadReady);var te,ne=function(){return"undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement};function re(e){var t=e.fns,n=e.args;if(1===t.length)return t[0];var r=t.pop();return t.reduce((function(e,t){return function(){return t(e,n)}}),r)}function oe(e){return!!e&&"object"===j(e)&&"function"===typeof e.then}(function(e){e["compose"]="compose",e["modify"]="modify",e["event"]="event"})(te||(te={}));var ae=function(){function e(t){C(this,e),this.validKeys=void 0,this.hooks={},this.validKeys=(null===t||void 0===t?void 0:t.validKeys)||[]}return _(e,[{key:"register",value:function(e){var t=this;ee(!!e.apply,"register failed, plugin.apply must supplied"),ee(!!e.path,"register failed, plugin.path must supplied"),Object.keys(e.apply).forEach((function(n){ee(t.validKeys.indexOf(n)>-1,"register failed, invalid key ".concat(n," from plugin ").concat(e.path,".")),t.hooks[n]||(t.hooks[n]=[]),t.hooks[n]=t.hooks[n].concat(e.apply[n])}))}},{key:"getHooks",value:function(e){var t=e.split("."),n=I(t),r=n[0],o=n.slice(1),a=this.hooks[r]||[];return o.length&&(a=a.map((function(e){try{var t,n=e,r=U(o);try{for(r.s();!(t=r.n()).done;){var a=t.value;n=n[a]}}catch(i){r.e(i)}finally{r.f()}return n}catch(u){return null}})).filter(Boolean)),a}},{key:"applyPlugins",value:function(e){var t=e.key,n=e.type,o=e.initialValue,a=e.args,i=e.async,u=this.getHooks(t)||[];switch(a&&ee("object"===j(a),"applyPlugins failed, args must be plain object."),n){case te.modify:return i?u.reduce(function(){var e=A(Object(r["a"])().mark((function e(n,o){var i;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(ee("function"===typeof o||"object"===j(o)||oe(o),"applyPlugins failed, all hooks for key ".concat(t," must be function, plain object or Promise.")),!oe(n)){e.next=5;break}return e.next=4,n;case 4:n=e.sent;case 5:if("function"!==typeof o){e.next=16;break}if(i=o(n,a),!oe(i)){e.next=13;break}return e.next=10,i;case 10:return e.abrupt("return",e.sent);case 13:return e.abrupt("return",i);case 14:e.next=21;break;case 16:if(!oe(o)){e.next=20;break}return e.next=19,o;case 19:o=e.sent;case 20:return e.abrupt("return",S(S({},n),o));case 21:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),oe(o)?o:Promise.resolve(o)):u.reduce((function(e,n){return ee("function"===typeof n||"object"===j(n),"applyPlugins failed, all hooks for key ".concat(t," must be function or plain object.")),"function"===typeof n?n(e,a):S(S({},e),n)}),o);case te.event:return u.forEach((function(e){ee("function"===typeof e,"applyPlugins failed, all hooks for key ".concat(t," must be function.")),e(a)}));case te.compose:return function(){return re({fns:u.concat(o),args:a})()}}}}]),e}()},Lw8S:function(e,t){function n(e,t){for(var n=0;nl)o.f(e,n=r[l++],t[n]);return e}},"NC/Y":function(e,t,n){var r=n("0GbY");e.exports=r("navigator","userAgent")||""},NV22:function(e,t,n){var r=n("I+eb"),o=n("glrk"),a=n("4oU/"),i=n("ntOU"),u=n("afO8"),l="Seeded Random",c=l+" Generator",s=u.set,f=u.getterFor(c),d='Math.seededPRNG() argument should have a "seed" field with a finite value.',p=i((function(e){s(this,{type:c,seed:e%2147483647})}),l,(function(){var e=f(this),t=e.seed=(1103515245*e.seed+12345)%2147483647;return{value:(1073741823&t)/1073741823,done:!1}}));r({target:"Math",stat:!0,forced:!0},{seededPRNG:function(e){var t=o(e).seed;if(!a(t))throw TypeError(d);return new p(t)}})},NaFW:function(e,t,n){var r=n("9d/t"),o=n("P4y1"),a=n("tiKp"),i=a("iterator");e.exports=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[r(e)]}},NqR8:function(e,t,n){var r=n("I+eb");r({target:"Math",stat:!0},{isubh:function(e,t,n,r){var o=e>>>0,a=t>>>0,i=n>>>0;return a-(r>>>0)-((~o&i|~(o^i)&o-i>>>0)>>>31)|0}})},O741:function(e,t,n){var r=n("hh1v");e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},ODXe:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("DSFK");function o(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,u=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n["return"]&&(i=n["return"](),Object(i)!==i))return}finally{if(c)throw o}}return u}}var a=n("BsWD"),i=n("PYwp");function u(e,t){return Object(r["a"])(e)||o(e,t)||Object(a["a"])(e,t)||Object(i["a"])()}},OH9c:function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},OTTw:function(e,t,n){"use strict";var r=n("xTJ+");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return function(){return!0}}()},P4y1:function(e,t){e.exports={}},P940:function(e,t,n){"use strict";e.exports=function(){var e=arguments.length,t=new Array(e);while(e--)t[e]=arguments[e];return new this(t)}},PF2M:function(e,t,n){"use strict";var r=n("67WC"),o=n("UMSQ"),a=n("GC2F"),i=n("ewvW"),u=n("0Dky"),l=r.aTypedArray,c=r.exportTypedArrayMethod,s=u((function(){new Int8Array(1).set({})}));c("set",(function(e){l(this);var t=a(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=i(e),u=o(r.length),c=0;if(u+t>n)throw RangeError("Wrong length");while(c=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},PYwp:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,"a",(function(){return r}))},Q2Ig:function(e,t,n){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,r="/";t.cwd=function(){return r},t.chdir=function(t){e||(e=n("tpqs")),r=e.resolve(t,r)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},Q7Pz:function(e,t,n){"use strict";var r=n("I+eb"),o=n("xDBR"),a=n("glrk"),i=n("Sssf"),u=n("i4U9"),l=n("ImZN");r({target:"Map",proto:!0,real:!0,forced:o},{includes:function(e){return l(i(a(this)),(function(t,n){if(u(n,e))return l.stop()}),void 0,!0,!0).stopped}})},Q9SF:function(e,t){function n(e){if(Array.isArray(e))return e}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},QCnb:function(e,t,n){"use strict";e.exports=n("+wdc")},QFcT:function(e,t,n){var r=n("I+eb"),o=Math.hypot,a=Math.abs,i=Math.sqrt,u=!!o&&o(1/0,NaN)!==1/0;r({target:"Math",stat:!0,forced:u},{hypot:function(e,t){var n,r,o=0,u=0,l=arguments.length,c=0;while(u0?(r=n/c,o+=r*r):o+=n;return c===1/0?1/0:c*i(o)}})},QGkA:function(e,t,n){var r=n("RNIs");r("flat")},QGke:function(e,t,n){var r=n("z01/")["default"];function o(){"use strict";e.exports=o=function(){return t},e.exports.__esModule=!0,e.exports["default"]=e.exports;var t={},n=Object.prototype,a=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},u=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(C){s=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var o=t&&t.prototype instanceof h?t:h,a=Object.create(o.prototype),i=new j(r||[]);return a._invoke=function(e,t,n){var r="suspendedStart";return function(o,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw a;return A()}for(n.method=o,n.arg=a;;){var i=n.delegate;if(i){var u=x(i,n);if(u){if(u===p)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=d(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,i),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(C){return{type:"throw",arg:C}}}t.wrap=f;var p={};function h(){}function m(){}function v(){}var g={};s(g,u,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(T([])));b&&b!==n&&a.call(b,u)&&(g=b);var E=v.prototype=h.prototype=Object.create(g);function w(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function n(o,i,u,l){var c=d(e[o],e,i);if("throw"!==c.type){var s=c.arg,f=s.value;return f&&"object"==r(f)&&a.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,u,l)}),(function(e){n("throw",e,u,l)})):t.resolve(f).then((function(e){s.value=e,u(s)}),(function(e){return n("throw",e,u,l)}))}l(c.arg)}var o;this._invoke=function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}}function x(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator["return"]&&(t.method="return",t.arg=void 0,x(e,t),"throw"===t.method))return p;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var r=d(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,p;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function T(e){if(e){var t=e[u];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var u=a.call(o,"catchLoc"),l=a.call(o,"finallyLoc");if(u&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;S(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:T(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},t}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},QIpd:function(e,t,n){var r=n("xrYK");e.exports=function(e){if("number"!=typeof e&&"Number"!=r(e))throw TypeError("Incorrect invocation");return+e}},Qfp8:function(e,t,n){"use strict";var r,o=Symbol["for"]("react.element"),a=Symbol["for"]("react.portal"),i=Symbol["for"]("react.fragment"),u=Symbol["for"]("react.strict_mode"),l=Symbol["for"]("react.profiler"),c=Symbol["for"]("react.provider"),s=Symbol["for"]("react.context"),f=Symbol["for"]("react.server_context"),d=Symbol["for"]("react.forward_ref"),p=Symbol["for"]("react.suspense"),h=Symbol["for"]("react.suspense_list"),m=Symbol["for"]("react.memo"),v=Symbol["for"]("react.lazy"),g=Symbol["for"]("react.offscreen");function y(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type,e){case i:case l:case u:case p:case h:return e;default:switch(e=e&&e.$$typeof,e){case f:case s:case d:case v:case m:case c:return e;default:return t}}case a:return t}}}r=Symbol["for"]("react.module.reference"),t.ContextConsumer=s,t.ContextProvider=c,t.Element=o,t.ForwardRef=d,t.Fragment=i,t.Lazy=v,t.Memo=m,t.Portal=a,t.Profiler=l,t.StrictMode=u,t.Suspense=p,t.SuspenseList=h,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return y(e)===s},t.isContextProvider=function(e){return y(e)===c},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return y(e)===d},t.isFragment=function(e){return y(e)===i},t.isLazy=function(e){return y(e)===v},t.isMemo=function(e){return y(e)===m},t.isPortal=function(e){return y(e)===a},t.isProfiler=function(e){return y(e)===l},t.isStrictMode=function(e){return y(e)===u},t.isSuspense=function(e){return y(e)===p},t.isSuspenseList=function(e){return y(e)===h},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===l||e===u||e===p||e===h||e===g||"object"===typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===m||e.$$typeof===c||e.$$typeof===s||e.$$typeof===d||e.$$typeof===r||void 0!==e.getModuleId)},t.typeOf=y},Qo9l:function(e,t,n){var r=n("2oRo");e.exports=r},"R3/m":function(e,t,n){"use strict";var r=n("I+eb"),o=n("xDBR"),a=n("glrk"),i=n("A2ZE"),u=n("Sssf"),l=n("ImZN");r({target:"Map",proto:!0,real:!0,forced:o},{every:function(e){var t=a(this),n=u(t),r=i(e,arguments.length>1?arguments[1]:void 0,3);return!l(n,(function(e,n){if(!r(n,e,t))return l.stop()}),void 0,!0,!0).stopped}})},R5yR:function(e,t,n){var r=n("9xmf"),o=n("rhT+"),a=n("mGKP"),i=n("XWE6");function u(e){return r(e)||o(e)||a(e)||i()}e.exports=u,e.exports.__esModule=!0,e.exports["default"]=e.exports},RK3t:function(e,t,n){var r=n("0Dky"),o=n("xrYK"),a="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?a.call(e,""):Object(e)}:Object},RN6c:function(e,t,n){var r=n("2oRo");e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},RNIs:function(e,t,n){var r=n("tiKp"),o=n("fHMY"),a=n("m/L8"),i=r("unscopables"),u=Array.prototype;void 0==u[i]&&a.f(u,i,{configurable:!0,value:o(null)}),e.exports=function(e){u[i][e]=!0}},ROdP:function(e,t,n){var r=n("hh1v"),o=n("xrYK"),a=n("tiKp"),i=a("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},RZMt:function(e,t,n){},Rm1S:function(e,t,n){"use strict";var r=n("14Sl"),o=n("glrk"),a=n("UMSQ"),i=n("HYAF"),u=n("iqWW"),l=n("FMNM");r("match",1,(function(e,t,n){return[function(t){var n=i(this),r=void 0==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=o(e),c=String(this);if(!i.global)return l(i,c);var s=i.unicode;i.lastIndex=0;var f,d=[],p=0;while(null!==(f=l(i,c))){var h=String(f[0]);d[p]=h,""===h&&(i.lastIndex=u(c,a(i.lastIndex),s)),p++}return 0===p?null:d}]}))},"Rn+g":function(e,t,n){"use strict";var r=n("LYNF");e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},SEBh:function(e,t,n){var r=n("glrk"),o=n("HAuM"),a=n("tiKp"),i=a("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||void 0==(n=r(a)[i])?t:o(n)}},SL6q:function(e,t,n){var r=n("I+eb"),o=n("voyM"),a=n("vo4V");r({target:"Math",stat:!0},{fscale:function(e,t,n,r,i){return a(o(e,t,n,r,i))}})},STAE:function(e,t,n){var r=n("0Dky");e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},SYor:function(e,t,n){"use strict";var r=n("I+eb"),o=n("WKiH").trim,a=n("yNLB");r({target:"String",proto:!0,forced:a("trim")},{trim:function(){return o(this)}})},Si40:function(e,t,n){"use strict";var r=n("I+eb"),o=n("xDBR"),a=n("0GbY"),i=n("glrk"),u=n("HAuM"),l=n("SEBh"),c=n("ImZN");r({target:"Set",proto:!0,real:!0,forced:o},{symmetricDifference:function(e){var t=i(this),n=new(l(t,a("Set")))(t),r=u(n["delete"]),o=u(n.add);return c(e,(function(e){r.call(n,e)||o.call(n,e)})),n}})},SntB:function(e,t,n){"use strict";var r=n("xTJ+");e.exports=function(e,t){t=t||{};var n={};function o(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function a(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(e[n],t[n])}function i(e){if(!r.isUndefined(t[e]))return o(void 0,t[e])}function u(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(void 0,t[n])}function l(n){return n in t?o(e[n],t[n]):n in e?o(void 0,e[n]):void 0}var c={url:i,method:i,data:i,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:l};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||a,o=t(e);r.isUndefined(o)&&t!==l||(n[e]=o)})),n}},SpvK:function(e,t,n){var r=n("dOgj");r("Float64",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},Sssf:function(e,t,n){var r=n("xDBR"),o=n("mh/w");e.exports=r?o:function(e){return Map.prototype.entries.call(e)}},SuFq:function(e,t,n){var r=n("I+eb"),o=n("0GbY"),a=n("HAuM"),i=n("glrk"),u=n("hh1v"),l=n("fHMY"),c=n("BTho"),s=n("0Dky"),f=o("Reflect","construct"),d=s((function(){function e(){}return!(f((function(){}),[],e)instanceof e)})),p=!s((function(){f((function(){}))})),h=d||p;r({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(e,t){a(e),i(t);var n=arguments.length<3?e:a(arguments[2]);if(p&&!d)return f(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(c.apply(e,r))}var o=n.prototype,s=l(u(o)?o:Object.prototype),h=Function.apply.call(e,s,t);return u(h)?h:s}})},T63A:function(e,t,n){var r=n("I+eb"),o=n("b1O7").entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},TD3H:function(e,t,n){"use strict";(function(t){var r=n("xTJ+"),o=n("yK9s"),a=n("OH9c"),i=n("yvr/"),u={"Content-Type":"application/x-www-form-urlencoded"};function l(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function c(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t))&&(e=n("tQ2B")),e}function s(e,t,n){if(r.isString(e))try{return(t||JSON.parse)(e),r.trim(e)}catch(o){if("SyntaxError"!==o.name)throw o}return(n||JSON.stringify)(e)}var f={transitional:i,adapter:c(),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(l(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(l(t,"application/json"),s(e)):e}],transformResponse:[function(e){var t=this.transitional||f.transitional,n=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,i=!n&&"json"===this.responseType;if(i||o&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(u){if(i){if("SyntaxError"===u.name)throw a(u,this,"E_JSON_PARSE");throw u}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){f.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){f.headers[e]=r.merge(u)})),e.exports=f}).call(this,n("Q2Ig"))},TJ79:function(e,t,n){var r=n("I+eb"),o=n("P940");r({target:"WeakMap",stat:!0},{of:o})},TNol:function(e,t,n){"use strict";n.d(t,"b",(function(){return u}));var r=n("q1tI"),o=n("MNnm"),a=Object(o["a"])()?r["useLayoutEffect"]:r["useEffect"],i=function(e,t){var n=r["useRef"](!0);a((function(){return e(n.current)}),t),a((function(){return n.current=!1,function(){n.current=!0}}),[])},u=function(e,t){i((function(t){if(!t)return e()}),t)};t["a"]=i},TOwV:function(e,t,n){"use strict";e.exports=n("qT12")},TSYQ:function(e,t,n){var r,o;(function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t-1,n&&(t=t.replace(/y/g,"")));var u=i(O?new y(e,t):y(e,t),r?this:b,S);return x&&n&&h(u,{sticky:n}),u},j=function(e){e in S||u(S,e,{configurable:!0,get:function(){return y[e]},set:function(t){y[e]=t}})},T=l(y),A=0;while(T.length>A)j(T[A++]);b.constructor=S,S.prototype=b,d(o,"RegExp",S)}m("RegExp")},TWQb:function(e,t,n){var r=n("/GqU"),o=n("UMSQ"),a=n("I8vh"),i=function(e){return function(t,n,i){var u,l=r(t),c=o(l.length),s=a(i,c);if(e&&n!=n){while(c>s)if(u=l[s++],u!=u)return!0}else for(;c>s;s++)if((e||s in l)&&l[s]===n)return e||s||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},TZCg:function(e,t,n){"use strict";var r=n("I+eb"),o=n("DMt2").start,a=n("mgyK");r({target:"String",proto:!0,forced:a},{padStart:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},TeQF:function(e,t,n){"use strict";var r=n("I+eb"),o=n("tycR").filter,a=n("Hd5f"),i=n("rkAj"),u=a("filter"),l=i("filter");r({target:"Array",proto:!0,forced:!u||!l},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},TfTi:function(e,t,n){"use strict";var r=n("A2ZE"),o=n("ewvW"),a=n("m92n"),i=n("6VoE"),u=n("UMSQ"),l=n("hBjN"),c=n("NaFW");e.exports=function(e){var t,n,s,f,d,p,h=o(e),m="function"==typeof this?this:Array,v=arguments.length,g=v>1?arguments[1]:void 0,y=void 0!==g,b=c(h),E=0;if(y&&(g=r(g,v>2?arguments[2]:void 0,2)),void 0==b||m==Array&&i(b))for(t=u(h.length),n=new m(t);t>E;E++)p=y?g(h[E],E):h[E],l(n,E,p);else for(f=b.call(h),d=f.next,n=new m;!(s=d.call(f)).done;E++)p=y?a(f,g,[s.value,E],!0):s.value,l(n,E,p);return n.length=E,n}},Thag:function(e,t,n){"use strict";var r=n("I+eb"),o=n("xDBR"),a=n("glrk"),i=n("A2ZE"),u=n("Sssf"),l=n("ImZN");r({target:"Map",proto:!0,real:!0,forced:o},{some:function(e){var t=a(this),n=u(t),r=i(e,arguments.length>1?arguments[1]:void 0,3);return l(n,(function(e,n){if(r(n,e,t))return l.stop()}),void 0,!0,!0).stopped}})},ToJy:function(e,t,n){"use strict";var r=n("I+eb"),o=n("HAuM"),a=n("ewvW"),i=n("0Dky"),u=n("pkCn"),l=[],c=l.sort,s=i((function(){l.sort(void 0)})),f=i((function(){l.sort(null)})),d=u("sort"),p=s||!f||!d;r({target:"Array",proto:!0,forced:p},{sort:function(e){return void 0===e?c.call(a(this)):c.call(a(this),o(e))}})},TqRt:function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},Tskq:function(e,t,n){"use strict";var r=n("bWFh"),o=n("ZWaQ");e.exports=r("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},Ty5D:function(e,t,n){"use strict";n.d(t,"a",(function(){return E})),n.d(t,"b",(function(){return O})),n.d(t,"c",(function(){return A})),n.d(t,"d",(function(){return M})),n.d(t,"e",(function(){return b})),n.d(t,"f",(function(){return z})),n.d(t,"g",(function(){return H})),n.d(t,"h",(function(){return y})),n.d(t,"i",(function(){return I})),n.d(t,"j",(function(){return q})),n.d(t,"k",(function(){return G})),n.d(t,"l",(function(){return $})),n.d(t,"m",(function(){return K})),n.d(t,"n",(function(){return W}));var r=n("dI71"),o=n("q1tI"),a=n.n(o),i=n("YS25"),u=n("tEiQ"),l=n("9R94"),c=n("wx14"),s=n("8tgM"),f=n.n(s),d=(n("TOwV"),n("zLVn")),p=n("2mql"),h=n.n(p),m=function(e){var t=Object(u["a"])();return t.displayName=e,t},v=m("Router-History"),g=function(e){var t=Object(u["a"])();return t.displayName=e,t},y=g("Router"),b=function(e){function t(t){var n;return n=e.call(this,t)||this,n.state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}Object(r["a"])(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return a.a.createElement(y.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a.a.createElement(v.Provider,{children:this.props.children||null,value:this.props.history}))},t}(a.a.Component);var E=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;oe.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?o(r(e),9007199254740991):0}},UTVS:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},UesL:function(e,t,n){"use strict";var r=n("glrk"),o=n("wE6v");e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return o(r(this),"number"!==e)}},UnBK:function(e,t,n){"use strict";var r=n("xTJ+"),o=n("xAGQ"),a=n("Lmem"),i=n("TD3H"),u=n("endd");function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new u("canceled")}e.exports=function(e){l(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]}));var t=e.adapter||i.adapter;return t(e).then((function(t){return l(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return a(t)||(l(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},UxlC:function(e,t,n){"use strict";var r=n("14Sl"),o=n("glrk"),a=n("ewvW"),i=n("UMSQ"),u=n("ppGB"),l=n("HYAF"),c=n("iqWW"),s=n("FMNM"),f=Math.max,d=Math.min,p=Math.floor,h=/\$([$&'`]|\d\d?|<[^>]*>)/g,m=/\$([$&'`]|\d\d?)/g,v=function(e){return void 0===e?e:String(e)};r("replace",2,(function(e,t,n,r){var g=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,y=r.REPLACE_KEEPS_$0,b=g?"$":"$0";return[function(n,r){var o=l(this),a=void 0==n?void 0:n[e];return void 0!==a?a.call(n,o,r):t.call(String(o),n,r)},function(e,r){if(!g&&y||"string"===typeof r&&-1===r.indexOf(b)){var a=n(t,e,this,r);if(a.done)return a.value}var l=o(e),p=String(this),h="function"===typeof r;h||(r=String(r));var m=l.global;if(m){var w=l.unicode;l.lastIndex=0}var O=[];while(1){var x=s(l,p);if(null===x)break;if(O.push(x),!m)break;var k=String(x[0]);""===k&&(l.lastIndex=c(p,i(l.lastIndex),w))}for(var S="",j=0,T=0;T=j&&(S+=p.slice(j,C)+M,j=C+A.length)}return S+p.slice(j)}];function E(e,n,r,o,i,u){var l=r+e.length,c=o.length,s=m;return void 0!==i&&(i=a(i),s=h),t.call(u,s,(function(t,a){var u;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(l);case"<":u=i[a.slice(1,-1)];break;default:var s=+a;if(0===s)return t;if(s>c){var f=p(s/10);return 0===f?t:f<=c?void 0===o[f-1]?a.charAt(1):o[f-1]+a.charAt(1):t}u=o[s-1]}return void 0===u?"":u}))}}))},Uydy:function(e,t,n){var r=n("I+eb"),o=n("HsHA"),a=Math.acosh,i=Math.log,u=Math.sqrt,l=Math.LN2,c=!a||710!=Math.floor(a(Number.MAX_VALUE))||a(1/0)!=1/0;r({target:"Math",stat:!0,forced:c},{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?i(e)+l:o(e-1+u(e-1)*u(e+1))}})},UzNg:function(e,t,n){"use strict";var r=n("I+eb"),o=n("ntOU"),a=n("HYAF"),i=n("afO8"),u=n("ZUd8"),l=u.codeAt,c=u.charAt,s="String Iterator",f=i.set,d=i.getterFor(s),p=o((function(e){f(this,{type:s,string:e,index:0})}),"String",(function(){var e,t=d(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=c(n,r),t.index+=e.length,{value:{codePoint:l(e,0),position:r},done:!1})}));r({target:"String",proto:!0},{codePoints:function(){return new p(String(a(this)))}})},"V/vL":function(e,t,n){"use strict";n.r(t),n.d(t,"matchRoutes",(function(){return u})),n.d(t,"renderRoutes",(function(){return l}));var r=n("Ty5D"),o=n("wx14"),a=n("q1tI"),i=n.n(a);function u(e,t,n){return void 0===n&&(n=[]),e.some((function(e){var o=e.path?Object(r["i"])(t,e):n.length?n[n.length-1].match:r["e"].computeRootMatch(t);return o&&(n.push({route:e,match:o}),e.routes&&u(e.routes,t,n)),o})),n}function l(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e?i.a.createElement(r["g"],n,e.map((function(e,n){return i.a.createElement(r["d"],{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:function(n){return e.render?e.render(Object(o["a"])({},n,{},t,{route:e})):i.a.createElement(e.component,Object(o["a"])({},n,t,{route:e}))}})}))):null}},VOz1:function(e,t,n){"use strict";var r=n("I+eb"),o=n("xDBR"),a=n("glrk"),i=n("HAuM"),u=n("Sssf"),l=n("ImZN");r({target:"Map",proto:!0,real:!0,forced:o},{reduce:function(e){var t=a(this),n=u(t),r=arguments.length<2,o=r?void 0:arguments[1];if(i(e),l(n,(function(n,a){r?(r=!1,o=a):o=e(o,a,n,t)}),void 0,!0,!0),r)throw TypeError("Reduce of empty map with no initial value");return o}})},VTBJ:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("rePB");function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t=0;--a){var i=this.tryEntries[a],u=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:C(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=r}catch(o){Function("r","regeneratorRuntime = r")(r)}},Vnov:function(e,t,n){"use strict";var r=n("I+eb"),o=n("xDBR"),a=n("glrk"),i=n("Sssf"),u=n("ImZN");r({target:"Map",proto:!0,real:!0,forced:o},{keyOf:function(e){return u(i(a(this)),(function(t,n){if(n===e)return u.stop(t)}),void 0,!0,!0).result}})},VpIT:function(e,t,n){var r=n("xDBR"),o=n("xs3f");(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},Vu81:function(e,t,n){var r=n("0GbY"),o=n("JBy8"),a=n("dBg+"),i=n("glrk");e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(i(e)),n=a.f;return n?t.concat(n(e)):t}},"W/eh":function(e,t,n){"use strict";var r=n("I+eb"),o=n("g6v/"),a=n("6x0u"),i=n("ewvW"),u=n("wE6v"),l=n("4WOD"),c=n("Bs8V").f;o&&r({target:"Object",proto:!0,forced:a},{__lookupSetter__:function(e){var t,n=i(this),r=u(e,!0);do{if(t=c(n,r))return t.set}while(n=l(n))}})},WGBp:function(e,t,n){var r=n("xDBR"),o=n("mh/w");e.exports=r?o:function(e){return Set.prototype.values.call(e)}},WJkJ:function(e,t){e.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},WKiH:function(e,t,n){var r=n("HYAF"),o=n("WJkJ"),a="["+o+"]",i=RegExp("^"+a+a+"*"),u=RegExp(a+a+"*$"),l=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(i,"")),2&e&&(n=n.replace(u,"")),n}};e.exports={start:l(1),end:l(2),trim:l(3)}},WPzJ:function(e,t,n){var r=n("I+eb"),o=n("voyM");r({target:"Math",stat:!0},{scale:o})},WWur:function(e,t,n){"use strict";var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.target,r=void 0===n?document.body:n,o=document.createElement("textarea"),a=document.activeElement;o.value=e,o.setAttribute("readonly",""),o.style.contain="strict",o.style.position="absolute",o.style.left="-9999px",o.style.fontSize="12pt";var i=document.getSelection(),u=!1;i.rangeCount>0&&(u=i.getRangeAt(0)),r.append(o),o.select(),o.selectionStart=0,o.selectionEnd=e.length;var l=!1;try{l=document.execCommand("copy")}catch(c){}return o.remove(),u&&(i.removeAllRanges(),i.addRange(u)),a&&a.focus(),l};e.exports=r,e.exports["default"]=r},WbBG:function(e,t,n){"use strict";var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=r},WjRb:function(e,t,n){var r=n("ROdP");e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},WpQk:function(e,t,n){},X5zD:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=n("dEAq"),i=o.a.memo((e=>{e.demos;return o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:"markdown"},o.a.createElement("h1",{id:"changelog"},o.a.createElement(a["AnchorLink"],{to:"#changelog","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"Changelog"),o.a.createElement("h2",{id:"334"},o.a.createElement(a["AnchorLink"],{to:"#334","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"3.3.4"),o.a.createElement("p",null,o.a.createElement("code",null,"2020-12-16")),o.a.createElement("ul",null,o.a.createElement("li",null,"chore: use dumi. ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/289"},"#289")),o.a.createElement("li",null,"chore: update github actions. ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/292"},"#292")),o.a.createElement("li",null,"chore: fix ts define.")),o.a.createElement("h2",{id:"331"},o.a.createElement(a["AnchorLink"],{to:"#331","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"3.3.1"),o.a.createElement("p",null,o.a.createElement("code",null,"2020-09-07")),o.a.createElement("ul",null,o.a.createElement("li",null,"refatcor: change timeout to promise. ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/277"},"#277"))),o.a.createElement("h2",{id:"330"},o.a.createElement(a["AnchorLink"],{to:"#330","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"3.3.0"),o.a.createElement("p",null,o.a.createElement("code",null,"2020-08-31")),o.a.createElement("ul",null,o.a.createElement("li",null,"chore: use father. ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/268"},"#268"))),o.a.createElement("h2",{id:"320"},o.a.createElement(a["AnchorLink"],{to:"#320","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"3.2.0"),o.a.createElement("ul",null,o.a.createElement("li",null,"support ",o.a.createElement("code",null,"onClick")," ",o.a.createElement("code",null,"onMouseEnter")," ",o.a.createElement("code",null,"onMouseLeave"),".")),o.a.createElement("h2",{id:"310"},o.a.createElement(a["AnchorLink"],{to:"#310","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"3.1.0"),o.a.createElement("ul",null,o.a.createElement("li",null,o.a.createElement("code",null,"data")," could return Promise.")),o.a.createElement("h2",{id:"300"},o.a.createElement(a["AnchorLink"],{to:"#300","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"3.0.0"),o.a.createElement("ul",null,o.a.createElement("li",null,"Drop support of IE8/9.")),o.a.createElement("h2",{id:"290"},o.a.createElement(a["AnchorLink"],{to:"#290","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"2.9.0"),o.a.createElement("ul",null,o.a.createElement("li",null,"Support ",o.a.createElement("code",null,"method"),". #197")),o.a.createElement("h2",{id:"280"},o.a.createElement(a["AnchorLink"],{to:"#280","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"2.8.0"),o.a.createElement("ul",null,o.a.createElement("li",null,o.a.createElement("code",null,"multiple")," will works on drag upload.")),o.a.createElement("h2",{id:"270"},o.a.createElement(a["AnchorLink"],{to:"#270","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"2.7.0"),o.a.createElement("ul",null,o.a.createElement("li",null,"Support ",o.a.createElement("code",null,"transformFile")," props to handle file before upload.")),o.a.createElement("h2",{id:"265"},o.a.createElement(a["AnchorLink"],{to:"#265","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"2.6.5"),o.a.createElement("ul",null,o.a.createElement("li",null,"fix ",o.a.createElement("code",null,"openFileDialogOnClick=","{","false","}")," not to prevent on Enter event.")),o.a.createElement("h2",{id:"260--2018-09-21"},o.a.createElement(a["AnchorLink"],{to:"#260--2018-09-21","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"2.6.0 / 2018-09-21"),o.a.createElement("ul",null,o.a.createElement("li",null,"Add ",o.a.createElement("code",null,"openFileDialogOnClick"),".")),o.a.createElement("h2",{id:"250--2018-06-12"},o.a.createElement(a["AnchorLink"],{to:"#250--2018-06-12","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"2.5.0 / 2018-06-12"),o.a.createElement("ul",null,o.a.createElement("li",null,"Support upload directory. ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/114"},"#114")),o.a.createElement("li",null,"Support ",o.a.createElement("code",null,"action=","{","(file) => Promise","}"),". ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/97"},"#97")),o.a.createElement("li",null,"Fix a bluebird promise warning. ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/110"},"#110"))),o.a.createElement("h2",{id:"240--2017-07-15"},o.a.createElement(a["AnchorLink"],{to:"#240--2017-07-15","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"2.4.0 / 2017-07-15"),o.a.createElement("ul",null,o.a.createElement("li",null,"Add XHR for onSuccess callback by @xiangkaiy ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/85"},"!85"))),o.a.createElement("h2",{id:"238--2017-06-21"},o.a.createElement(a["AnchorLink"],{to:"#238--2017-06-21","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"2.3.8 / 2017-06-21"),o.a.createElement("ul",null,o.a.createElement("li",null,"fix issue #80 & #81 ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/82"},"#82"))),o.a.createElement("h2",{id:"235--2017-05-01"},o.a.createElement(a["AnchorLink"],{to:"#235--2017-05-01","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"2.3.5 / 2017-05-01"),o.a.createElement("ul",null,o.a.createElement("li",null,"Fix prop-types and create-react-class warning ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/67"},"!67"))),o.a.createElement("h2",{id:"234--2017-03-10"},o.a.createElement(a["AnchorLink"],{to:"#234--2017-03-10","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"2.3.4 / 2017-03-10"),o.a.createElement("ul",null,o.a.createElement("li",null,"disable upload progress listener in request if onPress is not set ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/65"},"!65"))),o.a.createElement("h2",{id:"233--2017-02-20"},o.a.createElement(a["AnchorLink"],{to:"#233--2017-02-20","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"2.3.3 / 2017-02-20"),o.a.createElement("ul",null,o.a.createElement("li",null,"beforeUpload add empty catch function when promise passed, fix ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/issues/64"},"#64"))),o.a.createElement("h2",{id:"232--2016-12-30"},o.a.createElement(a["AnchorLink"],{to:"#232--2016-12-30","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"2.3.2 / 2016-12-30"),o.a.createElement("ul",null,o.a.createElement("li",null,"Fix crash if customRequest does not call onSuccess() / onError() ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/60"},"!60"))),o.a.createElement("h2",{id:"230--2016-12-12"},o.a.createElement(a["AnchorLink"],{to:"#230--2016-12-12","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"2.3.0 / 2016-12-12"),o.a.createElement("ul",null,o.a.createElement("li",null,"expose file list as argument to ",o.a.createElement("code",null,"beforeUpload")," ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/57"},"!57"))),o.a.createElement("h2",{id:"220--2016-10-13"},o.a.createElement(a["AnchorLink"],{to:"#220--2016-10-13","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"2.2.0 / 2016-10-13"),o.a.createElement("ul",null,o.a.createElement("li",null,"support custom request option ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/53"},"!53"))),o.a.createElement("h2",{id:"211--2016-09-23"},o.a.createElement(a["AnchorLink"],{to:"#211--2016-09-23","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"2.1.1 / 2016-09-23"),o.a.createElement("ul",null,o.a.createElement("li",null,"support Blob file upload ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/52"},"!52"))),o.a.createElement("h2",{id:"210--2016-09-20"},o.a.createElement(a["AnchorLink"],{to:"#210--2016-09-20","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"2.1.0 / 2016-09-20"),o.a.createElement("ul",null,o.a.createElement("li",null,"add ",o.a.createElement("code",null,"className")," prop")),o.a.createElement("h2",{id:"200--2016-08-10"},o.a.createElement(a["AnchorLink"],{to:"#200--2016-08-10","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"2.0.0 / 2016-08-10"),o.a.createElement("ul",null,o.a.createElement("li",null,"add abort api"),o.a.createElement("li",null,"props.onStart's argument is always a single File"),o.a.createElement("li",null,"add disabled prop")),o.a.createElement("h2",{id:"1141--2016-07-19"},o.a.createElement(a["AnchorLink"],{to:"#1141--2016-07-19","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.14.1 / 2016-07-19"),o.a.createElement("ul",null,o.a.createElement("li",null,"fix ajax multiple load")),o.a.createElement("h2",{id:"1140--2016-07-19"},o.a.createElement(a["AnchorLink"],{to:"#1140--2016-07-19","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.14.0 / 2016-07-19"),o.a.createElement("ul",null,o.a.createElement("li",null,"add component/style prop")),o.a.createElement("h2",{id:"1130--2016-06-02"},o.a.createElement(a["AnchorLink"],{to:"#1130--2016-06-02","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.13.0 / 2016-06-02"),o.a.createElement("ul",null,o.a.createElement("li",null,"add disabled state"),o.a.createElement("li",null,o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/issues/37"},"https://github.com/react-component/upload/issues/37"))),o.a.createElement("h2",{id:"1120-2016-05-10"},o.a.createElement(a["AnchorLink"],{to:"#1120-2016-05-10","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.12.0 2016-05-10"),o.a.createElement("ul",null,o.a.createElement("li",null,"add supportServerRender prop")),o.a.createElement("h2",{id:"1110-2016-05-03"},o.a.createElement(a["AnchorLink"],{to:"#1110-2016-05-03","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.11.0 2016-05-03"),o.a.createElement("ul",null,o.a.createElement("li",null,"Allow all 2xx status as success status, not only 200. fix #34"),o.a.createElement("li",null,"When ",o.a.createElement("code",null,"headers['X-Requested-With'] = null")," , request do not set X-Requested-With as XMLHttpRequest , fix #33")),o.a.createElement("h2",{id:"190-2016-03-23"},o.a.createElement(a["AnchorLink"],{to:"#190-2016-03-23","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.9.0 2016-03-23"),o.a.createElement("ul",null,o.a.createElement("li",null,"pass file to data if data's type is function")),o.a.createElement("h2",{id:"181-2016-03-16"},o.a.createElement(a["AnchorLink"],{to:"#181-2016-03-16","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.8.1 2016-03-16"),o.a.createElement("ul",null,o.a.createElement("li",null,"fix InvalidStateError in IE 10"),o.a.createElement("li",null,"fix #30")),o.a.createElement("h2",{id:"180-2016-01-14"},o.a.createElement(a["AnchorLink"],{to:"#180-2016-01-14","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.8.0 2016-01-14"),o.a.createElement("ul",null,o.a.createElement("li",null,"support custom XHR headers")),o.a.createElement("h2",{id:"172-2016-01-13"},o.a.createElement(a["AnchorLink"],{to:"#172-2016-01-13","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.7.2 2016-01-13"),o.a.createElement("ul",null,o.a.createElement("li",null,"add prop withCredentials config")),o.a.createElement("h2",{id:"170-2015-10-27"},o.a.createElement(a["AnchorLink"],{to:"#170-2015-10-27","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.7.0 2015-10-27"),o.a.createElement("ul",null,o.a.createElement("li",null,"react 0.14 support"),o.a.createElement("li",null,"remove superagent")),o.a.createElement("h2",{id:"166-2015-09-29"},o.a.createElement(a["AnchorLink"],{to:"#166-2015-09-29","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.6.6 2015-09-29"),o.a.createElement("ul",null,o.a.createElement("li",null,"feat: add beforeUpload support, ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/19"},"#19"))),o.a.createElement("h2",{id:"152-2015-09-18"},o.a.createElement(a["AnchorLink"],{to:"#152-2015-09-18","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.5.2 2015-09-18"),o.a.createElement("ul",null,o.a.createElement("li",null,"fix: Fixed bug calling wrong method name ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/13"},"#13"))),o.a.createElement("h2",{id:"150-2015-09-16"},o.a.createElement(a["AnchorLink"],{to:"#150-2015-09-16","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.5.0 2015-09-16"),o.a.createElement("ul",null,o.a.createElement("li",null,"feat: add getFormContainer prop to decide container where form to be inserted.")),o.a.createElement("h2",{id:"144-2015-09-16"},o.a.createElement(a["AnchorLink"],{to:"#144-2015-09-16","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.4.4 2015-09-16"),o.a.createElement("ul",null,o.a.createElement("li",null,"feat: Added aria role and keyboard navigation, pr",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/9"},"#9"))),o.a.createElement("h2",{id:"142-2015-09-15"},o.a.createElement(a["AnchorLink"],{to:"#142-2015-09-15","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.4.2 2015-09-15"),o.a.createElement("ul",null,o.a.createElement("li",null,"fix: IframeUpload move form to body ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/8"},"#8"))),o.a.createElement("h2",{id:"140-2015-09-09"},o.a.createElement(a["AnchorLink"],{to:"#140-2015-09-09","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.4.0 2015-09-09"),o.a.createElement("ul",null,o.a.createElement("li",null,"onStart file argument change to a array when multiple files uploaded")),o.a.createElement("h2",{id:"130-2015-08-12"},o.a.createElement(a["AnchorLink"],{to:"#130-2015-08-12","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.3.0 2015-08-12"),o.a.createElement("ul",null,o.a.createElement("li",null,"onError arguments change to ",o.a.createElement("code",null,"err, responce, file"))),o.a.createElement("h2",{id:"123-2015-07-17"},o.a.createElement(a["AnchorLink"],{to:"#123-2015-07-17","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.2.3 2015-07-17"),o.a.createElement("ul",null,o.a.createElement("li",null,"support file drop")),o.a.createElement("h2",{id:"122-2015-06-25"},o.a.createElement(a["AnchorLink"],{to:"#122-2015-06-25","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.2.2 2015-06-25"),o.a.createElement("ul",null,o.a.createElement("li",null,o.a.createElement("code",null,"fix")," pr",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/2"},"#2"))),o.a.createElement("h2",{id:"121-2015-06-24"},o.a.createElement(a["AnchorLink"],{to:"#121-2015-06-24","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.2.1 2015-06-24"),o.a.createElement("ul",null,o.a.createElement("li",null,o.a.createElement("code",null,"feat")," Finish basic funcion"))))}));t["default"]=e=>{var t=o.a.useContext(a["context"]),n=t.demos;return o.a.useEffect((()=>{var t;null!==e&&void 0!==e&&null!==(t=e.location)&&void 0!==t&&t.hash&&a["AnchorLink"].scrollToAnchor(decodeURIComponent(e.location.hash.slice(1)))}),[]),o.a.createElement(i,{demos:n})}},X7LM:function(e,t,n){"use strict";var r=2147483647,o=36,a=1,i=26,u=38,l=700,c=72,s=128,f="-",d=/[^\0-\u007E]/,p=/[.\u3002\uFF0E\uFF61]/g,h="Overflow: input needs wider integers to process",m=o-a,v=Math.floor,g=String.fromCharCode,y=function(e){var t=[],n=0,r=e.length;while(n=55296&&o<=56319&&n>1,e+=v(e/t);e>m*i>>1;r+=o)e=v(e/m);return v(r+(m+1)*e/(e+u))},w=function(e){var t=[];e=y(e);var n,u,l=e.length,d=s,p=0,m=c;for(n=0;n=d&&uv((r-p)/k))throw RangeError(h);for(p+=(x-d)*k,d=x,n=0;nr)throw RangeError(h);if(u==d){for(var S=p,j=o;;j+=o){var T=j<=m?a:j>=m+i?i:j-m;if(S\n \n );\n};\n\nexport default Test;",l="/* eslint no-console:0 */\n\nimport React from 'react';\nimport Upload from 'rc-upload';\n\nconst props = {\n action: '/upload.do',\n multiple: true,\n onStart(file) {\n console.log('onStart', file, file.name);\n },\n onSuccess(ret) {\n console.log('onSuccess', ret);\n },\n onError(err) {\n console.log('onError', err);\n },\n beforeUpload(file, fileList) {\n console.log(file, fileList);\n return new Promise(resolve => {\n console.log('start check');\n setTimeout(() => {\n console.log('check finshed');\n resolve(file);\n }, 3000);\n });\n },\n};\n\nconst Test = () => {\n return (\n \n \n \n );\n};\n\nexport default Test;",c="/* eslint no-console:0 */\nimport React from 'react';\nimport axios from 'axios';\nimport Upload from 'rc-upload';\n\nconst uploadProps = {\n action: '/upload.do',\n multiple: false,\n data: { a: 1, b: 2 },\n headers: {\n Authorization: '$prefix $token',\n },\n onStart(file) {\n console.log('onStart', file, file.name);\n },\n onSuccess(res, file) {\n console.log('onSuccess', res, file.name);\n },\n onError(err) {\n console.log('onError', err);\n },\n onProgress({ percent }, file) {\n console.log('onProgress', `${percent}%`, file.name);\n },\n customRequest({\n action,\n data,\n file,\n filename,\n headers,\n onError,\n onProgress,\n onSuccess,\n withCredentials,\n }) {\n // EXAMPLE: post form-data with 'axios'\n // eslint-disable-next-line no-undef\n const formData = new FormData();\n if (data) {\n Object.keys(data).forEach(key => {\n formData.append(key, data[key]);\n });\n }\n formData.append(filename, file);\n\n axios\n .post(action, formData, {\n withCredentials,\n headers,\n onUploadProgress: ({ total, loaded }) => {\n onProgress({ percent: Math.round((loaded / total) * 100).toFixed(2) }, file);\n },\n })\n .then(({ data: response }) => {\n onSuccess(response, file);\n })\n .catch(onError);\n\n return {\n abort() {\n console.log('upload progress is aborted.');\n },\n };\n },\n};\n\nconst Test = () => {\n return (\n \n
\n \n \n \n
\n \n );\n};\n\nexport default Test;",s="/* eslint no-console:0 */\n\nimport React from 'react';\nimport Upload from 'rc-upload';\n\nconst Test = () => {\n const uploaderProps = {\n action: '/upload.do',\n data: { a: 1, b: 2 },\n directory: true,\n beforeUpload(file) {\n console.log('beforeUpload', file.name);\n },\n onStart: file => {\n console.log('onStart', file.name);\n },\n onSuccess(file) {\n console.log('onSuccess', file);\n },\n onProgress(step, file) {\n console.log('onProgress', Math.round(step.percent), file.name);\n },\n onError(err) {\n console.log('onError', err);\n },\n };\n\n return (\n \n \n \n );\n};\n\nexport default Test;",f="/* eslint no-console:0 */\nimport React from 'react';\nimport Upload from 'rc-upload';\n\nconst props = {\n action: '/upload.do',\n type: 'drag',\n accept: '.png',\n beforeUpload(file) {\n console.log('beforeUpload', file.name);\n },\n onStart: file => {\n console.log('onStart', file.name);\n },\n onSuccess(file) {\n console.log('onSuccess', file);\n },\n onProgress(step, file) {\n console.log('onProgress', Math.round(step.percent), file.name);\n },\n onError(err) {\n console.log('onError', err);\n },\n style: { display: 'inline-block', width: 200, height: 200, background: '#eee' },\n // openFileDialogOnClick: false\n};\n\nconst Test = () => {\n return (\n \n \n \n );\n};\n\nexport default Test;",d="/* eslint no-console:0 */\n\nimport React from 'react';\nimport Upload from 'rc-upload';\n\nconst style = `\n .rc-upload-disabled {\n opacity:0.5;\n `;\n\nconst uploaderProps = {\n action: '/upload.do',\n data: { a: 1, b: 2 },\n multiple: true,\n beforeUpload(file) {\n console.log('beforeUpload', file.name);\n },\n onStart: file => {\n console.log('onStart', file.name);\n },\n onSuccess(file) {\n console.log('onSuccess', file);\n },\n onProgress(step, file) {\n console.log('onProgress', Math.round(step.percent), file.name);\n },\n onError(err) {\n console.log('onError', err);\n },\n capture: 'user',\n};\n\nconst Test = () => {\n const [destroyed, setDestroyed] = React.useState(false);\n\n const destroy = () => {\n setDestroyed(true);\n };\n\n if (destroyed) {\n return null;\n }\n\n return (\n
\n

\u56fa\u5b9a\u4f4d\u7f6e

\n \n \n

\u6eda\u52a8

\n
\n \n \n \u5f00\u59cb\u4e0a\u4f202\n \n \n \n \n );\n};\n\nexport default Test;",p={"docs-asyncaction":{component:n("IyBU").default,previewerProps:{sources:{_:{tsx:u}},dependencies:{react:{version:">=16.9.0"},"rc-upload":{version:"4.3.6"},"react-dom":{version:">=16.9.0"}},identifier:"docs-asyncaction"}},"docs-beforeupload":{component:n("E21C").default,previewerProps:{sources:{_:{tsx:l}},dependencies:{react:{version:">=16.9.0"},"rc-upload":{version:"4.3.6"},"react-dom":{version:">=16.9.0"}},identifier:"docs-beforeupload"}},"docs-customrequest":{component:n("3oSM").default,previewerProps:{sources:{_:{tsx:c}},dependencies:{react:{version:">=16.9.0"},axios:{version:"0.26.1"},"rc-upload":{version:"4.3.6"},"react-dom":{version:">=16.9.0"}},identifier:"docs-customrequest"}},"docs-directoryupload":{component:n("gu2Q").default,previewerProps:{sources:{_:{tsx:s}},dependencies:{react:{version:">=16.9.0"},"rc-upload":{version:"4.3.6"},"react-dom":{version:">=16.9.0"}},identifier:"docs-directoryupload"}},"docs-drag":{component:n("tDz2").default,previewerProps:{sources:{_:{tsx:f}},dependencies:{react:{version:">=16.9.0"},"rc-upload":{version:"4.3.6"},"react-dom":{version:">=16.9.0"}},identifier:"docs-drag"}},"docs-simple":{component:n("KXoj").default,previewerProps:{sources:{_:{tsx:d}},dependencies:{react:{version:">=16.9.0"},"rc-upload":{version:"4.3.6"},"react-dom":{version:">=16.9.0"}},identifier:"docs-simple"}}},h=n("x2v5"),m=n("KcUY"),v=n.n(m);t["default"]=e=>a.a.createElement(v.a,Object(r["a"])({},e,{config:i,demos:p,apis:h}))},afO8:function(e,t,n){var r,o,a,i=n("f5p1"),u=n("2oRo"),l=n("hh1v"),c=n("kRJp"),s=n("UTVS"),f=n("93I0"),d=n("0BK2"),p=u.WeakMap,h=function(e){return a(e)?o(e):r(e,{})},m=function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(i){var v=new p,g=v.get,y=v.has,b=v.set;r=function(e,t){return b.call(v,e,t),t},o=function(e){return g.call(v,e)||{}},a=function(e){return y.call(v,e)}}else{var E=f("state");d[E]=!0,r=function(e,t){return c(e,E,t),t},o=function(e){return s(e,E)?e[E]:{}},a=function(e){return s(e,E)}}e.exports={set:r,get:o,has:a,enforce:h,getterFor:m}},apDx:function(e,t,n){var r=n("dG/n");r("dispose")},b1O7:function(e,t,n){var r=n("g6v/"),o=n("33Wh"),a=n("/GqU"),i=n("0eef").f,u=function(e){return function(t){var n,u=a(t),l=o(u),c=l.length,s=0,f=[];while(c>s)n=l[s++],r&&!i.call(u,n)||f.push(e?[n,u[n]]:u[n]);return f}};e.exports={entries:u(!0),values:u(!1)}},bCY9:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("LtsZ"),o=new r["Plugin"]({validKeys:["modifyClientRenderOpts","patchRoutes","rootContainer","render","onRouteChange","__mfsu"]})},bFeb:function(e,t,n){var r=n("I+eb"),o=n("2oRo");r({global:!0},{globalThis:o})},bT9E:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("VTBJ");function o(e,t){var n=Object(r["a"])({},e);return Array.isArray(t)&&t.forEach((function(e){delete n[e]})),n}},bWFh:function(e,t,n){"use strict";var r=n("I+eb"),o=n("2oRo"),a=n("lMq5"),i=n("busE"),u=n("8YOa"),l=n("ImZN"),c=n("GarU"),s=n("hh1v"),f=n("0Dky"),d=n("HH4o"),p=n("1E5z"),h=n("cVYH");e.exports=function(e,t,n){var m=-1!==e.indexOf("Map"),v=-1!==e.indexOf("Weak"),g=m?"set":"add",y=o[e],b=y&&y.prototype,E=y,w={},O=function(e){var t=b[e];i(b,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(v&&!s(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return v&&!s(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(v&&!s(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(a(e,"function"!=typeof y||!(v||b.forEach&&!f((function(){(new y).entries().next()})))))E=n.getConstructor(t,e,m,g),u.REQUIRED=!0;else if(a(e,!0)){var x=new E,k=x[g](v?{}:-0,1)!=x,S=f((function(){x.has(1)})),j=d((function(e){new y(e)})),T=!v&&f((function(){var e=new y,t=5;while(t--)e[g](t,t);return!e.has(-0)}));j||(E=t((function(t,n){c(t,E,e);var r=h(new y,t,E);return void 0!=n&&l(n,r[g],r,m),r})),E.prototype=b,b.constructor=E),(S||T)&&(O("delete"),O("has"),m&&O("get")),(T||k)&&O(g),v&&b.clear&&delete b.clear}return w[e]=E,r({global:!0,forced:E!=y},w),p(E,e),v||n.setStrong(E,e,m),E}},bYHP:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=l(n("q1tI")),o=n("LtsZ"),a=i(n("hKI/"));function i(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function l(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==c(e)&&"function"!==typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r["default"]=e,n&&n.set(e,r),r}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n128||n===e.anchors.length-1})),n=this.anchors[Math.max(0,t-1)],r=n.parentElement.id;this.listeners.forEach((function(e){return e(r)}))}},{key:"watch",value:function(e){0===this.anchors.length&&"undefined"!==typeof window&&window.addEventListener("scroll",this.listener),this.anchors.push(e),this.listener()}},{key:"unwatch",value:function(e){this.anchors.splice(this.anchors.findIndex((function(t){return t===e})),1),0===this.anchors.length&&"undefined"!==typeof window&&window.removeEventListener("scroll",this.listener)}},{key:"listen",value:function(e){this.listeners.push(e)}},{key:"unlisten",value:function(e){this.listeners.splice(this.listeners.findIndex((function(t){return t===e})),1)}}]),e}());function x(e){return e.offsetTop+(e.offsetParent?x(e.offsetParent):0)}var k=function e(t){var n,a=(null===(n=t.to.match(/(#[^&?]*)/))||void 0===n?void 0:n[1])||"",i=(0,r.useRef)(null),u=(0,r.useState)(!1),l=f(u,2),c=l[0],d=l[1];return(0,r.useEffect)((function(){var e,t;if(["H1","H2","H3"].includes(null===(e=i.current)||void 0===e||null===(t=e.parentElement)||void 0===t?void 0:t.tagName)&&i.current.parentElement.id){var n=i.current;return O.watch(n),function(){O.unwatch(n)}}var r=function(e){d(a==="#".concat(e))};return O.listen(r),function(){return O.unlisten(r)}}),[]),r["default"].createElement(o.NavLink,s({},t,{ref:i,onClick:function(){return e.scrollToAnchor(a.substring(1))},isActive:function(){return c}}))};k.scrollToAnchor=function(e){window.requestAnimationFrame((function(){var t=document.getElementById(decodeURIComponent(e));t&&window.scrollTo(0,x(t)-100)}))};t["default"]=k},bdeN:function(e,t,n){var r=n("I+eb"),o=n("eDxR"),a=n("glrk"),i=n("4WOD"),u=o.has,l=o.toKey,c=function(e,t,n){var r=u(e,t,n);if(r)return!0;var o=i(t);return null!==o&&c(e,o,n)};r({target:"Reflect",stat:!0},{hasMetadata:function(e,t){var n=arguments.length<3?void 0:l(arguments[2]);return c(e,a(t),n)}})},bdgK:function(e,t,n){"use strict";(function(e){var n=function(){if("undefined"!==typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype["delete"]=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t,r=c.some((function(e){return!!~n.indexOf(e)}));r&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),d=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),A="undefined"!==typeof WeakMap?new WeakMap:new n,C=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=f.getInstance(),r=new T(t,n,this);A.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach((function(e){C.prototype[e]=function(){var t;return(t=A.get(this))[e].apply(t,arguments)}}));var P=function(){return"undefined"!==typeof o.ResizeObserver?o.ResizeObserver:C}();t["a"]=P}).call(this,n("IyRk"))},beRK:function(e,t,n){"use strict";function r(){var e=n("q1tI");return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.getDemoUrl=t.getDemoRouteName=t["default"]=void 0;var o=a(n("nLCz"));function a(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return f(e)||s(e,t)||l(e,t)||u()}function u(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e,t){if(e){if("string"===typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return u=e.done,e},e:function(e){l=!0,i=e},f:function(){try{u||null==n["return"]||n["return"]()}finally{if(l)throw i}}}}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},busE:function(e,t,n){var r=n("2oRo"),o=n("kRJp"),a=n("UTVS"),i=n("zk60"),u=n("iSVu"),l=n("afO8"),c=l.get,s=l.enforce,f=String(String).split("String");(e.exports=function(e,t,n,u){var l=!!u&&!!u.unsafe,c=!!u&&!!u.enumerable,d=!!u&&!!u.noTargetGet;"function"==typeof n&&("string"!=typeof t||a(n,"name")||o(n,"name",t),s(n).source=f.join("string"==typeof t?t:"")),e!==r?(l?!d&&e[t]&&(c=!0):delete e[t],c?e[t]=n:o(e,t,n)):c?e[t]=n:i(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||u(this)}))},"c+Xe":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return u})),n.d(t,"d",(function(){return l})),n.d(t,"c",(function(){return c}));var r=n("U8pU"),o=(n("q1tI"),n("t6Hw")),a=n("YrtM");function i(e,t){"function"===typeof e?e(t):"object"===Object(r["a"])(e)&&e&&"current"in e&&(e.current=t)}function u(){for(var e=arguments.length,t=new Array(e),n=0;n0})).join("&")},t.parseUrl=function(e,t){t=Object.assign({decode:!0},t);var n=l(e,"#"),o=r(n,2),a=o[0],i=o[1];return Object.assign({url:a.split("?")[0]||"",query:w(b(e),t)},t&&t.parseFragmentIdentifier&&i?{fragmentIdentifier:m(i,t)}:{})},t.stringifyUrl=function(e,n){n=Object.assign({encode:!0,strict:!0},n);var r=g(e.url).split("?")[0]||"",o=t.extract(e.url),a=t.parse(o,{sort:!1}),i=Object.assign(a,e.query),u=t.stringify(i,n);u&&(u="?".concat(u));var l=y(e.url);return e.fragmentIdentifier&&(l="#".concat(h(e.fragmentIdentifier,n))),"".concat(r).concat(u).concat(l)},t.pick=function(e,n,r){r=Object.assign({parseFragmentIdentifier:!0},r);var o=t.parseUrl(e,r),a=o.url,i=o.query,u=o.fragmentIdentifier;return t.stringifyUrl({url:a,query:c(i,n),fragmentIdentifier:u},r)},t.exclude=function(e,n,r){var o=Array.isArray(n)?function(e){return!n.includes(e)}:function(e,t){return!n(e,t)};return t.pick(e,o,r)}},ctDJ:function(e,t,n){"use strict";var r=n("I+eb"),o=n("xDBR"),a=n("0GbY"),i=n("glrk"),u=n("HAuM"),l=n("A2ZE"),c=n("SEBh"),s=n("WGBp"),f=n("ImZN");r({target:"Set",proto:!0,real:!0,forced:o},{map:function(e){var t=i(this),n=s(t),r=l(e,arguments.length>1?arguments[1]:void 0,3),o=new(c(t,a("Set"))),d=u(o.add);return f(n,(function(e){d.call(o,r(e,e,t))}),void 0,!1,!0),o}})},cvf0:function(e,t,n){"use strict";var r=n("67WC").exportTypedArrayMethod,o=n("0Dky"),a=n("2oRo"),i=a.Uint8Array,u=i&&i.prototype||{},l=[].toString,c=[].join;o((function(){l.call({})}))&&(l=function(){return c.call(this)});var s=u.toString!=l;r("toString",l,s)},d6cI:function(e,t){var n=1/0,r=Math.abs,o=Math.pow,a=Math.floor,i=Math.log,u=Math.LN2,l=function(e,t,l){var c,s,f,d=new Array(l),p=8*l-t-1,h=(1<>1,v=23===t?o(2,-24)-o(2,-77):0,g=e<0||0===e&&1/e<0?1:0,y=0;for(e=r(e),e!=e||e===n?(s=e!=e?1:0,c=h):(c=a(i(e)/u),e*(f=o(2,-c))<1&&(c--,f*=2),e+=c+m>=1?v/f:v*o(2,1-m),e*f>=2&&(c++,f/=2),c+m>=h?(s=0,c=h):c+m>=1?(s=(e*f-1)*o(2,t),c+=m):(s=e*o(2,m-1)*o(2,t),c=0));t>=8;d[y++]=255&s,s/=256,t-=8);for(c=c<0;d[y++]=255&c,c/=256,p-=8);return d[--y]|=128*g,d},c=function(e,t){var r,a=e.length,i=8*a-t-1,u=(1<>1,c=i-7,s=a-1,f=e[s--],d=127&f;for(f>>=7;c>0;d=256*d+e[s],s--,c-=8);for(r=d&(1<<-c)-1,d>>=-c,c+=t;c>0;r=256*r+e[s],s--,c-=8);if(0===d)d=1-l;else{if(d===u)return r?NaN:f?-n:n;r+=o(2,t),d-=l}return(f?-1:1)*r*o(2,d-t)};e.exports={pack:l,unpack:c}},"dBg+":function(e,t){t.f=Object.getOwnPropertySymbols},dEAq:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AnchorLink",{enumerable:!0,get:function(){return i["default"]}}),Object.defineProperty(t,"Link",{enumerable:!0,get:function(){return o["default"]}}),Object.defineProperty(t,"NavLink",{enumerable:!0,get:function(){return a["default"]}}),Object.defineProperty(t,"context",{enumerable:!0,get:function(){return r["default"]}}),Object.defineProperty(t,"getDemoUrl",{enumerable:!0,get:function(){return p.getDemoUrl}}),Object.defineProperty(t,"useApiData",{enumerable:!0,get:function(){return h["default"]}}),Object.defineProperty(t,"useCodeSandbox",{enumerable:!0,get:function(){return f["default"]}}),Object.defineProperty(t,"useCopy",{enumerable:!0,get:function(){return l["default"]}}),Object.defineProperty(t,"useDemoUrl",{enumerable:!0,get:function(){return p["default"]}}),Object.defineProperty(t,"useLocaleProps",{enumerable:!0,get:function(){return d["default"]}}),Object.defineProperty(t,"useMotions",{enumerable:!0,get:function(){return s["default"]}}),Object.defineProperty(t,"usePrefersColor",{enumerable:!0,get:function(){return v["default"]}}),Object.defineProperty(t,"useRiddle",{enumerable:!0,get:function(){return c["default"]}}),Object.defineProperty(t,"useSearch",{enumerable:!0,get:function(){return u["default"]}}),Object.defineProperty(t,"useTSPlaygroundUrl",{enumerable:!0,get:function(){return m["default"]}});var r=b(n("nLCz")),o=b(n("zqmC")),a=b(n("6asN")),i=b(n("bYHP")),u=b(n("t/kZ")),l=b(n("dfPH")),c=b(n("o0kM")),s=b(n("zYLY")),f=b(n("r1Q5")),d=b(n("U/TZ")),p=y(n("beRK")),h=b(n("3QDa")),m=b(n("7sf/")),v=b(n("2N97"));function g(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}function y(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r["default"]=e,n&&n.set(e,r),r}function b(e){return e&&e.__esModule?e:{default:e}}},"dG/n":function(e,t,n){var r=n("Qo9l"),o=n("UTVS"),a=n("5Tg+"),i=n("m/L8").f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||i(t,e,{value:a.f(e)})}},dI71:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("s4An");function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Object(r["a"])(e,t)}},"dMo/":function(e,t,n){"use strict";var r=n("q1tI"),o=n.n(r),a=n("hKI/"),i=n.n(a);n("WpQk");function u(e,t){return d(e)||f(e,t)||c(e,t)||l()}function l(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(e,t){if(e){if("string"===typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0),h(e.scrollLeft1?arguments[1]:void 0,3);return!l(n,(function(e){if(!r(e,e,t))return l.stop()}),void 0,!1,!0).stopped}})},dOgj:function(e,t,n){"use strict";var r=n("I+eb"),o=n("2oRo"),a=n("g6v/"),i=n("iqeF"),u=n("67WC"),l=n("Yhre"),c=n("GarU"),s=n("XGwC"),f=n("kRJp"),d=n("UMSQ"),p=n("CyXQ"),h=n("GC2F"),m=n("wE6v"),v=n("UTVS"),g=n("9d/t"),y=n("hh1v"),b=n("fHMY"),E=n("0rvr"),w=n("JBy8").f,O=n("oHi+"),x=n("tycR").forEach,k=n("JiZb"),S=n("m/L8"),j=n("Bs8V"),T=n("afO8"),A=n("cVYH"),C=T.get,P=T.set,_=S.f,R=j.f,I=Math.round,M=o.RangeError,N=l.ArrayBuffer,L=l.DataView,D=u.NATIVE_ARRAY_BUFFER_VIEWS,F=u.TYPED_ARRAY_TAG,U=u.TypedArray,B=u.TypedArrayPrototype,z=u.aTypedArrayConstructor,H=u.isTypedArray,W="BYTES_PER_ELEMENT",V="Wrong length",q=function(e,t){var n=0,r=t.length,o=new(z(e))(r);while(r>n)o[n]=t[n++];return o},G=function(e,t){_(e,t,{get:function(){return C(this)[t]}})},$=function(e){var t;return e instanceof N||"ArrayBuffer"==(t=g(e))||"SharedArrayBuffer"==t},K=function(e,t){return H(e)&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},Y=function(e,t){return K(e,t=m(t,!0))?s(2,e[t]):R(e,t)},Z=function(e,t,n){return!(K(e,t=m(t,!0))&&y(n)&&v(n,"value"))||v(n,"get")||v(n,"set")||n.configurable||v(n,"writable")&&!n.writable||v(n,"enumerable")&&!n.enumerable?_(e,t,n):(e[t]=n.value,e)};a?(D||(j.f=Y,S.f=Z,G(B,"buffer"),G(B,"byteOffset"),G(B,"byteLength"),G(B,"length")),r({target:"Object",stat:!0,forced:!D},{getOwnPropertyDescriptor:Y,defineProperty:Z}),e.exports=function(e,t,n){var a=e.match(/\d+$/)[0]/8,u=e+(n?"Clamped":"")+"Array",l="get"+e,s="set"+e,m=o[u],v=m,g=v&&v.prototype,S={},j=function(e,t){var n=C(e);return n.view[l](t*a+n.byteOffset,!0)},T=function(e,t,r){var o=C(e);n&&(r=(r=I(r))<0?0:r>255?255:255&r),o.view[s](t*a+o.byteOffset,r,!0)},R=function(e,t){_(e,t,{get:function(){return j(this,t)},set:function(e){return T(this,t,e)},enumerable:!0})};D?i&&(v=t((function(e,t,n,r){return c(e,v,u),A(function(){return y(t)?$(t)?void 0!==r?new m(t,h(n,a),r):void 0!==n?new m(t,h(n,a)):new m(t):H(t)?q(v,t):O.call(v,t):new m(p(t))}(),e,v)})),E&&E(v,U),x(w(m),(function(e){e in v||f(v,e,m[e])})),v.prototype=g):(v=t((function(e,t,n,r){c(e,v,u);var o,i,l,s=0,f=0;if(y(t)){if(!$(t))return H(t)?q(v,t):O.call(v,t);o=t,f=h(n,a);var m=t.byteLength;if(void 0===r){if(m%a)throw M(V);if(i=m-f,i<0)throw M(V)}else if(i=d(r)*a,i+f>m)throw M(V);l=i/a}else l=p(t),i=l*a,o=new N(i);P(e,{buffer:o,byteOffset:f,byteLength:i,length:l,view:new L(o)});while(se.length)&&(t=e.length);for(var n=0,r=new Array(t);n>16,l=o>>16,c=(u*i>>>0)+(a*i>>>16);return u*l+(c>>16)+((a*l>>>0)+(c&n)>>16)}})},endd:function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},eqyj:function(e,t,n){"use strict";var r=n("xTJ+");e.exports=r.isStandardBrowserEnv()?function(){return{write:function(e,t,n,o,a,i){var u=[];u.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&u.push("expires="+new Date(n).toGMTString()),r.isString(o)&&u.push("path="+o),r.isString(a)&&u.push("domain="+a),!0===i&&u.push("secure"),document.cookie=u.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},ewvW:function(e,t,n){var r=n("HYAF");e.exports=function(e){return Object(r(e))}},"f/k9":function(e,t,n){"use strict";var r=n("MgzW"),o=n("q1tI");t.useSubscription=function(e){var t=e.getCurrentValue,n=e.subscribe,a=o.useState((function(){return{getCurrentValue:t,subscribe:n,value:t()}}));e=a[0];var i=a[1];return a=e.value,e.getCurrentValue===t&&e.subscribe===n||(a=t(),i({getCurrentValue:t,subscribe:n,value:a})),o.useDebugValue(a),o.useEffect((function(){function e(){if(!o){var e=t();i((function(o){return o.getCurrentValue!==t||o.subscribe!==n||o.value===e?o:r({},o,{value:e})}))}}var o=!1,a=n(e);return e(),function(){o=!0,a()}}),[t,n]),a}},f5p1:function(e,t,n){var r=n("2oRo"),o=n("iSVu"),a=r.WeakMap;e.exports="function"===typeof a&&/native code/.test(o(a))},fHMY:function(e,t,n){var r,o=n("glrk"),a=n("N+g0"),i=n("eDl+"),u=n("0BK2"),l=n("G+Rx"),c=n("zBJ4"),s=n("93I0"),f=">",d="<",p="prototype",h="script",m=s("IE_PROTO"),v=function(){},g=function(e){return d+h+f+e+d+"/"+h+f},y=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){var e,t=c("iframe"),n="java"+h+":";return t.style.display="none",l.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(g("document.F=Object")),e.close(),e.F},E=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(t){}E=r?y(r):b();var e=i.length;while(e--)delete E[p][i[e]];return E()};u[m]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(v[p]=o(e),n=new v,v[p]=null,n[m]=e):n=E(),void 0===t?n:a(n,t)}},fN96:function(e,t,n){"use strict";var r=n("I+eb"),o=n("ZUd8").charAt;r({target:"String",proto:!0},{at:function(e){return o(this,e)}})},fVI1:function(e,t,n){},fXLg:function(e,t,n){"use strict";var r=n("glrk"),o=n("HAuM");e.exports=function(){for(var e=r(this),t=o(e.add),n=0,a=arguments.length;n1?arguments[1]:void 0,n),l=i>2?arguments[2]:void 0,c=void 0===l?n:o(l,n);while(c>u)t[u++]=e;return t}},gg6r:function(e,t,n){"use strict";var r=n("I+eb"),o=n("HAuM"),a=n("8GlL"),i=n("5mdu"),u=n("ImZN");r({target:"Promise",stat:!0},{allSettled:function(e){var t=this,n=a.f(t),r=n.resolve,l=n.reject,c=i((function(){var n=o(t.resolve),a=[],i=0,l=1;u(e,(function(e){var o=i++,u=!1;a.push(void 0),l++,n.call(t,e).then((function(e){u||(u=!0,a[o]={status:"fulfilled",value:e},--l||r(a))}),(function(e){u||(u=!0,a[o]={status:"rejected",reason:e},--l||r(a))}))})),--l||r(a)}));return c.error&&l(c.value),n.promise}})},glrk:function(e,t,n){var r=n("hh1v");e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},gql7:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=n("dEAq"),i=n("H1Ra"),u=n("dMo/"),l=o.a.memo((e=>{e.demos;return o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:"markdown"},o.a.createElement("h1",{id:"rc-upload"},o.a.createElement(a["AnchorLink"],{to:"#rc-upload","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"rc-upload"),o.a.createElement("p",null,"React Upload"),o.a.createElement("p",null,o.a.createElement(a["Link"],{to:"http://npmjs.org/package/rc-upload"},o.a.createElement("img",{src:"https://img.shields.io/npm/v/rc-upload.svg?style=flat-square",alt:"NPM version"}))," ",o.a.createElement(a["Link"],{to:"https://github.com/umijs/dumi"},o.a.createElement("img",{src:"https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square",alt:"dumi"}))," ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/actions"},o.a.createElement("img",{src:"https://github.com/react-component/upload/workflows/CI/badge.svg",alt:"build status"}))," ",o.a.createElement(a["Link"],{to:"https://coveralls.io/r/react-component/upload?branch=master"},o.a.createElement("img",{src:"https://img.shields.io/coveralls/react-component/upload.svg?style=flat-square",alt:"Test coverage"}))," ",o.a.createElement(a["Link"],{to:"https://david-dm.org/react-component/upload"},o.a.createElement("img",{src:"https://david-dm.org/react-component/upload/status.svg?style=flat-square",alt:"Dependencies"}))," ",o.a.createElement(a["Link"],{to:"https://david-dm.org/react-component/upload?type=dev"},o.a.createElement("img",{src:"https://david-dm.org/react-component/upload/dev-status.svg?style=flat-square",alt:"DevDependencies"}))," ",o.a.createElement(a["Link"],{to:"https://npmjs.org/package/rc-upload"},o.a.createElement("img",{src:"https://img.shields.io/npm/dm/rc-upload.svg?style=flat-square",alt:"npm download"}))," ",o.a.createElement(a["Link"],{to:"https://bundlephobia.com/result?p=rc-upload"},o.a.createElement("img",{src:"https://badgen.net/bundlephobia/minzip/rc-upload",alt:"bundle size"}))),o.a.createElement("h2",{id:"development"},o.a.createElement(a["AnchorLink"],{to:"#development","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"Development"),o.a.createElement(i["a"],{code:"npm install\nnpm start",lang:"unknown"}),o.a.createElement("h2",{id:"example"},o.a.createElement(a["AnchorLink"],{to:"#example","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"Example"),o.a.createElement("p",null,o.a.createElement(a["Link"],{to:"http://localhost:8000/"},"http://localhost:8000/")),o.a.createElement("p",null,"online example: ",o.a.createElement(a["Link"],{to:"https://upload.react-component.vercel.app/"},"https://upload.react-component.vercel.app/")),o.a.createElement("h2",{id:"feature"},o.a.createElement(a["AnchorLink"],{to:"#feature","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"Feature"),o.a.createElement("ul",null,o.a.createElement("li",null,"support IE11+, Chrome, Firefox, Safari")),o.a.createElement("h2",{id:"install"},o.a.createElement(a["AnchorLink"],{to:"#install","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"install"),o.a.createElement("p",null,o.a.createElement(a["Link"],{to:"https://npmjs.org/package/rc-upload"},o.a.createElement("img",{src:"https://nodei.co/npm/rc-upload.png",alt:"rc-upload"}))),o.a.createElement("h2",{id:"usage"},o.a.createElement(a["AnchorLink"],{to:"#usage","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"Usage"),o.a.createElement(i["a"],{code:"var Upload = require('rc-upload');\nvar React = require('react');\nReact.render(, container);",lang:"js"}),o.a.createElement("h2",{id:"api"},o.a.createElement(a["AnchorLink"],{to:"#api","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"API"),o.a.createElement("h3",{id:"props"},o.a.createElement(a["AnchorLink"],{to:"#props","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"props"),o.a.createElement(u["a"],null,o.a.createElement("thead",null,o.a.createElement("tr",null,o.a.createElement("th",null,"name"),o.a.createElement("th",null,"type"),o.a.createElement("th",null,"default"),o.a.createElement("th",null,"description"))),o.a.createElement("tbody",null,o.a.createElement("tr",null,o.a.createElement("td",null,"name"),o.a.createElement("td",null,"string"),o.a.createElement("td",null,"file"),o.a.createElement("td",null,"file param post to server")),o.a.createElement("tr",null,o.a.createElement("td",null,"style"),o.a.createElement("td",null,"object"),o.a.createElement("td",null,"{","}"),o.a.createElement("td",null,"root component inline style")),o.a.createElement("tr",null,o.a.createElement("td",null,"className"),o.a.createElement("td",null,"string"),o.a.createElement("td",null,"-"),o.a.createElement("td",null,"root component className")),o.a.createElement("tr",null,o.a.createElement("td",null,"disabled"),o.a.createElement("td",null,"boolean"),o.a.createElement("td",null,"false"),o.a.createElement("td",null,"whether disabled")),o.a.createElement("tr",null,o.a.createElement("td",null,"component"),o.a.createElement("td",null,'"div"'),o.a.createElement("td",null,'"span"'),o.a.createElement("td",null,'"span"')),o.a.createElement("tr",null,o.a.createElement("td",null,"action"),o.a.createElement("td",null,"string | function(file): string | Promise"),o.a.createElement("td",null),o.a.createElement("td",null,"form action url")),o.a.createElement("tr",null,o.a.createElement("td",null,"method"),o.a.createElement("td",null,"string"),o.a.createElement("td",null,"post"),o.a.createElement("td",null,"request method")),o.a.createElement("tr",null,o.a.createElement("td",null,"directory"),o.a.createElement("td",null,"boolean"),o.a.createElement("td",null,"false"),o.a.createElement("td",null,"support upload whole directory")),o.a.createElement("tr",null,o.a.createElement("td",null,"data"),o.a.createElement("td",null,"object/function(file)"),o.a.createElement("td",null),o.a.createElement("td",null,"other data object to post or a function which returns a data object(a promise object which resolve a data object)")),o.a.createElement("tr",null,o.a.createElement("td",null,"headers"),o.a.createElement("td",null,"object"),o.a.createElement("td",null,"{","}"),o.a.createElement("td",null,"http headers to post, available in modern browsers")),o.a.createElement("tr",null,o.a.createElement("td",null,"accept"),o.a.createElement("td",null,"string"),o.a.createElement("td",null),o.a.createElement("td",null,"input accept attribute")),o.a.createElement("tr",null,o.a.createElement("td",null,"capture"),o.a.createElement("td",null,"string"),o.a.createElement("td",null),o.a.createElement("td",null,"input capture attribute")),o.a.createElement("tr",null,o.a.createElement("td",null,"multiple"),o.a.createElement("td",null,"boolean"),o.a.createElement("td",null,"false"),o.a.createElement("td",null,"only support ie10+")),o.a.createElement("tr",null,o.a.createElement("td",null,"onStart"),o.a.createElement("td",null,"function"),o.a.createElement("td",null),o.a.createElement("td",null,"start upload file")),o.a.createElement("tr",null,o.a.createElement("td",null,"onError"),o.a.createElement("td",null,"function"),o.a.createElement("td",null),o.a.createElement("td",null,"error callback")),o.a.createElement("tr",null,o.a.createElement("td",null,"onSuccess"),o.a.createElement("td",null,"function"),o.a.createElement("td",null),o.a.createElement("td",null,"success callback")),o.a.createElement("tr",null,o.a.createElement("td",null,"onProgress"),o.a.createElement("td",null,"function"),o.a.createElement("td",null,"progress callback, only for modern browsers"),o.a.createElement("td",null)),o.a.createElement("tr",null,o.a.createElement("td",null,"beforeUpload"),o.a.createElement("td",null,"function"),o.a.createElement("td",null,"null"),o.a.createElement("td",null,"before upload check, return false or a rejected Promise will stop upload, only for modern browsers")),o.a.createElement("tr",null,o.a.createElement("td",null,"customRequest"),o.a.createElement("td",null,"function"),o.a.createElement("td",null,"null"),o.a.createElement("td",null,"provide an override for the default xhr behavior for additional customization")),o.a.createElement("tr",null,o.a.createElement("td",null,"withCredentials"),o.a.createElement("td",null,"boolean"),o.a.createElement("td",null,"false"),o.a.createElement("td",null,"ajax upload with cookie send")),o.a.createElement("tr",null,o.a.createElement("td",null,"openFileDialogOnClick"),o.a.createElement("td",null,"boolean"),o.a.createElement("td",null,"true"),o.a.createElement("td",null,"useful for drag only upload as it does not trigger on enter key or click event")))),o.a.createElement("h4",{id:"onerror-arguments"},o.a.createElement(a["AnchorLink"],{to:"#onerror-arguments","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"onError arguments"),o.a.createElement("ol",null,o.a.createElement("li",null,o.a.createElement("code",null,"err"),": request error message"),o.a.createElement("li",null,o.a.createElement("code",null,"response"),": request response, not support on iframeUpload"),o.a.createElement("li",null,o.a.createElement("code",null,"file"),": upload file")),o.a.createElement("h3",{id:"onsuccess-arguments"},o.a.createElement(a["AnchorLink"],{to:"#onsuccess-arguments","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"onSuccess arguments"),o.a.createElement("ol",null,o.a.createElement("li",null,o.a.createElement("code",null,"result"),": response body"),o.a.createElement("li",null,o.a.createElement("code",null,"file"),": upload file"),o.a.createElement("li",null,o.a.createElement("code",null,"xhr"),": xhr header, only for modern browsers which support AJAX upload. since 2.4.0")),o.a.createElement("h3",{id:"customrequest"},o.a.createElement(a["AnchorLink"],{to:"#customrequest","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"customRequest"),o.a.createElement("p",null,"Allows for advanced customization by overriding default behavior in AjaxUploader. Provide your own XMLHttpRequest calls to interface with custom backend processes or interact with AWS S3 service through the aws-sdk-js package."),o.a.createElement("p",null,"customRequest callback is passed an object with:"),o.a.createElement("ul",null,o.a.createElement("li",null,o.a.createElement("code",null,"onProgress: (event: ","{"," percent: number ","}","): void")),o.a.createElement("li",null,o.a.createElement("code",null,"onError: (event: Error, body?: Object): void")),o.a.createElement("li",null,o.a.createElement("code",null,"onSuccess: (body: Object): void")),o.a.createElement("li",null,o.a.createElement("code",null,"data: Object")),o.a.createElement("li",null,o.a.createElement("code",null,"filename: String")),o.a.createElement("li",null,o.a.createElement("code",null,"file: File")),o.a.createElement("li",null,o.a.createElement("code",null,"withCredentials: Boolean")),o.a.createElement("li",null,o.a.createElement("code",null,"action: String")),o.a.createElement("li",null,o.a.createElement("code",null,"headers: Object"))),o.a.createElement("h3",{id:"methods"},o.a.createElement(a["AnchorLink"],{to:"#methods","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"methods"),o.a.createElement("p",null,"abort(file?: File) => void: abort the uploading file"),o.a.createElement("h2",{id:"license"},o.a.createElement(a["AnchorLink"],{to:"#license","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"License"),o.a.createElement("p",null,"rc-upload is released under the MIT license.")))}));t["default"]=e=>{var t=o.a.useContext(a["context"]),n=t.demos;return o.a.useEffect((()=>{var t;null!==e&&void 0!==e&&null!==(t=e.location)&&void 0!==t&&t.hash&&a["AnchorLink"].scrollToAnchor(decodeURIComponent(e.location.hash.slice(1)))}),[]),o.a.createElement(l,{demos:n})}},gu2Q:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=n("/7QA"),i=()=>{var e={action:"/upload.do",data:{a:1,b:2},directory:!0,beforeUpload(e){console.log("beforeUpload",e.name)},onStart:e=>{console.log("onStart",e.name)},onSuccess(e){console.log("onSuccess",e)},onProgress(e,t){console.log("onProgress",Math.round(e.percent),t.name)},onError(e){console.log("onError",e)}};return o.a.createElement("div",{style:{margin:100}},o.a.createElement("div",null,o.a.createElement(a["a"],e,o.a.createElement("a",null,"\u5f00\u59cb\u4e0a\u4f20"))))};t["default"]=i},gvgV:function(e,t,n){"use strict";var r=n("67WC"),o=n("TWQb").includes,a=r.aTypedArray,i=r.exportTypedArrayMethod;i("includes",(function(e){return o(a(this),e,arguments.length>1?arguments[1]:void 0)}))},h0XC:function(e,t){function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},hBjN:function(e,t,n){"use strict";var r=n("wE6v"),o=n("m/L8"),a=n("XGwC");e.exports=function(e,t,n){var i=r(t);i in e?o.f(e,i,a(0,n)):e[i]=n}},hByQ:function(e,t,n){"use strict";var r=n("14Sl"),o=n("glrk"),a=n("HYAF"),i=n("Ep9I"),u=n("FMNM");r("search",1,(function(e,t,n){return[function(t){var n=a(this),r=void 0==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var a=o(e),l=String(this),c=a.lastIndex;i(c,0)||(a.lastIndex=0);var s=u(a,l);return i(a.lastIndex,c)||(a.lastIndex=c),null===s?-1:s.index}]}))},hDyC:function(e,t,n){"use strict";var r=n("I+eb"),o=n("DMt2").end,a=n("mgyK");r({target:"String",proto:!0,forced:a},{padEnd:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},hIuj:function(e,t,n){"use strict";var r=n("XM5P").version,o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var a={};function i(e,t,n){if("object"!==typeof e)throw new TypeError("options must be an object");var r=Object.keys(e),o=r.length;while(o-- >0){var a=r[o],i=t[a];if(i){var u=e[a],l=void 0===u||i(u,a,e);if(!0!==l)throw new TypeError("option "+a+" must be "+l)}else if(!0!==n)throw Error("Unknown option "+a)}}o.transitional=function(e,t,n){function o(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,i){if(!1===e)throw new Error(o(r," has been removed"+(t?" in "+t:"")));return t&&!a[r]&&(a[r]=!0,console.warn(o(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,i)}},e.exports={assertOptions:i,validators:o}},hJnp:function(e,t,n){},"hKI/":function(e,t,n){(function(t){var n="Expected a function",r=NaN,o="[object Symbol]",a=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt,s="object"==typeof t&&t&&t.Object===Object&&t,f="object"==typeof self&&self&&self.Object===Object&&self,d=s||f||Function("return this")(),p=Object.prototype,h=p.toString,m=Math.max,v=Math.min,g=function(){return d.Date.now()};function y(e,t,r){var o,a,i,u,l,c,s=0,f=!1,d=!1,p=!0;if("function"!=typeof e)throw new TypeError(n);function h(t){var n=o,r=a;return o=a=void 0,s=t,u=e.apply(r,n),u}function y(e){return s=e,l=setTimeout(O,t),f?h(e):u}function b(e){var n=e-c,r=e-s,o=t-n;return d?v(o,i-r):o}function w(e){var n=e-c,r=e-s;return void 0===c||n>=t||n<0||d&&r>=i}function O(){var e=g();if(w(e))return k(e);l=setTimeout(O,b(e))}function k(e){return l=void 0,p&&o?h(e):(o=a=void 0,u)}function S(){void 0!==l&&clearTimeout(l),s=0,o=c=a=l=void 0}function j(){return void 0===l?u:k(g())}function T(){var e=g(),n=w(e);if(o=arguments,a=this,c=e,n){if(void 0===l)return y(c);if(d)return l=setTimeout(O,t),h(c)}return void 0===l&&(l=setTimeout(O,t)),u}return t=x(t)||0,E(r)&&(f=!!r.leading,d="maxWait"in r,i=d?m(x(r.maxWait)||0,t):i,p="trailing"in r?!!r.trailing:p),T.cancel=S,T.flush=j,T}function b(e,t,r){var o=!0,a=!0;if("function"!=typeof e)throw new TypeError(n);return E(r)&&(o="leading"in r?!!r.leading:o,a="trailing"in r?!!r.trailing:a),y(e,t,{leading:o,maxWait:t,trailing:a})}function E(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function w(e){return!!e&&"object"==typeof e}function O(e){return"symbol"==typeof e||w(e)&&h.call(e)==o}function x(e){if("number"==typeof e)return e;if(O(e))return r;if(E(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=E(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var n=u.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):i.test(e)?r:+e}e.exports=b}).call(this,n("IyRk"))},hMMk:function(e,t,n){var r=n("dOgj");r("Uint16",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},hcok:function(e,t,n){"use strict";var r=n("I+eb"),o=n("xDBR"),a=n("0GbY"),i=n("glrk"),u=n("HAuM"),l=n("SEBh"),c=n("ImZN");r({target:"Set",proto:!0,real:!0,forced:o},{difference:function(e){var t=i(this),n=new(l(t,a("Set")))(t),r=u(n["delete"]);return c(e,(function(e){r.call(n,e)})),n}})},hh1v:function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},i4U9:function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},i8i4:function(e,t,n){"use strict";function r(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(e){console.error(e)}}}r(),e.exports=n("yl30")},iIM6:function(e,t,n){"use strict";var r=n("g6v/"),o=n("RNIs"),a=n("ewvW"),i=n("UMSQ"),u=n("m/L8").f;r&&!("lastIndex"in[])&&(u(Array.prototype,"lastIndex",{configurable:!0,get:function(){var e=a(this),t=i(e.length);return 0==t?0:t-1}}),o("lastIndex"))},iSVu:function(e,t,n){var r=n("xs3f"),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource},ihrJ:function(e,t,n){"use strict";var r=n("I+eb"),o=n("ImZN"),a=n("HAuM");r({target:"Map",stat:!0},{groupBy:function(e,t){var n=new this;a(t);var r=a(n.has),i=a(n.get),u=a(n.set);return o(e,(function(e){var o=t(e);r.call(n,o)?i.call(n,o).push(e):u.call(n,o,[e])})),n}})},ilnZ:function(e,t,n){var r=n("dOgj");r("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}),!0)},inlA:function(e,t,n){"use strict";var r=n("I+eb"),o=n("Bs8V").f,a=n("UMSQ"),i=n("WjRb"),u=n("HYAF"),l=n("qxPZ"),c=n("xDBR"),s="".endsWith,f=Math.min,d=l("endsWith"),p=!c&&!d&&!!function(){var e=o(String.prototype,"endsWith");return e&&!e.writable}();r({target:"String",proto:!0,forced:!p&&!d},{endsWith:function(e){var t=String(u(this));i(e);var n=arguments.length>1?arguments[1]:void 0,r=a(t.length),o=void 0===n?r:f(a(n),r),l=String(e);return s?s.call(t,l,o):t.slice(o-l.length,o)===l}})},iqWW:function(e,t,n){"use strict";var r=n("ZUd8").charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},iqeF:function(e,t,n){var r=n("2oRo"),o=n("0Dky"),a=n("HH4o"),i=n("67WC").NATIVE_ARRAY_BUFFER_VIEWS,u=r.ArrayBuffer,l=r.Int8Array;e.exports=!i||!o((function(){l(1)}))||!o((function(){new l(-1)}))||!a((function(e){new l,new l(null),new l(1.5),new l(e)}),!0)||o((function(){return 1!==new l(new u(2),1,void 0).length}))},iwkZ:function(e,t,n){var r=n("dOgj");r("Int16",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},"j+VE":function(e,t,n){n("bFeb")},"jfS+":function(e,t,n){"use strict";var r=n("endd");function o(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t0&&(!f.multiline||f.multiline&&"\n"!==e[f.lastIndex-1])&&(h="(?: "+h+")",v=" "+v,m++),n=new RegExp("^(?:"+h+")",p)),s&&(n=new RegExp("^"+h+"$(?!\\s)",p)),l&&(t=f.lastIndex),o=a.call(d?n:f,v),d?o?(o.input=o.input.slice(m),o[0]=o[0].slice(m),o.index=f.lastIndex,f.lastIndex+=o[0].length):f.lastIndex=0:l&&o&&(f.lastIndex=f.global?o.index+o[0].length:t),s&&o&&o.length>1&&i.call(o[0],n,(function(){for(u=1;u1?arguments[1]:void 0,3),o=new(c(t,a("Map"))),d=u(o.set);return f(n,(function(e,n){r(n,e,t)&&d.call(o,e,n)}),void 0,!0,!0),o}})},lEou:function(e,t,n){var r=n("dG/n");r("toStringTag")},lMq5:function(e,t,n){var r=n("0Dky"),o=/#|\.prototype\./,a=function(e,t){var n=u[i(e)];return n==c||n!=l&&("function"==typeof t?r(t):!!t)},i=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},u=a.data={},l=a.NATIVE="N",c=a.POLYFILL="P";e.exports=a},lSNA:function(e,t,n){var r=n("o5UB");function o(e,t,n){return t=r(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},lehK:function(e,t,n){var r=n("I+eb");r({target:"Math",stat:!0},{iaddh:function(e,t,n,r){var o=e>>>0,a=t>>>0,i=n>>>0;return a+(r>>>0)+((o&i|(o|i)&~(o+i>>>0))>>>31)|0}})},lmH4:function(e,t,n){"use strict";var r=n("I+eb"),o=n("xDBR"),a=n("0GbY"),i=n("glrk"),u=n("HAuM"),l=n("mh/w"),c=n("ImZN");r({target:"Set",proto:!0,real:!0,forced:o},{isSubsetOf:function(e){var t=l(this),n=i(e),r=n.has;return"function"!=typeof r&&(n=new(a("Set"))(e),r=u(n.has)),!c(t,(function(e){if(!1===r.call(n,e))return c.stop()}),void 0,!1,!0).stopped}})},"m+aA":function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("q1tI"),o=n.n(r),a=n("i8i4"),i=n.n(a);function u(e){return e instanceof HTMLElement||e instanceof SVGElement}function l(e){return u(e)?e:e instanceof o.a.Component?i.a.findDOMNode(e):null}},"m/L8":function(e,t,n){var r=n("g6v/"),o=n("DPsx"),a=n("glrk"),i=n("wE6v"),u=Object.defineProperty;t.f=r?u:function(e,t,n){if(a(e),t=i(t,!0),a(n),o)try{return u(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},m92n:function(e,t,n){var r=n("glrk");e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(i){var a=e["return"];throw void 0!==a&&r(a.call(e)),i}}},m9ZU:function(e,t,n){"use strict";var r=n("rePB"),o=n("VTBJ"),a=n("ODXe"),i=n("U8pU"),u=n("TSYQ"),l=n.n(u),c=n("m+aA"),s=n("c+Xe"),f=n("q1tI"),d=n("Ff2n"),p=f["createContext"]({});var h=n("1OyB"),m=n("vuIU"),v=n("Ji7U"),g=n("LK+K"),y=function(e){Object(v["a"])(n,e);var t=Object(g["a"])(n);function n(){return Object(h["a"])(this,n),t.apply(this,arguments)}return Object(m["a"])(n,[{key:"render",value:function(){return this.props.children}}]),n}(f["Component"]),b=y,E=n("dm2S"),w="none",O="appear",x="enter",k="leave",S="none",j="prepare",T="start",A="active",C="end",P="prepared",_=n("MNnm");function R(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}function I(e,t){var n={animationend:R("Animation","AnimationEnd"),transitionend:R("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var M=I(Object(_["a"])(),"undefined"!==typeof window?window:{}),N={};if(Object(_["a"])()){var L=document.createElement("div");N=L.style}var D={};function F(e){if(D[e])return D[e];var t=M[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o1&&void 0!==arguments[1]?arguments[1]:2;t();var a=Object(K["a"])((function(){o<=1?r({isCanceled:function(){return a!==e.current}}):n(r,o-1)}));e.current=a}return f["useEffect"]((function(){return function(){t()}}),[]),[n,t]},Z=[j,T,A,C],X=[j,P],Q=!1,J=!0;function ee(e){return e===A||e===C}var te=function(e,t,n){var r=Object(E["a"])(S),o=Object(a["a"])(r,2),i=o[0],u=o[1],l=Y(),c=Object(a["a"])(l,2),s=c[0],d=c[1];function p(){u(j,!0)}var h=t?X:Z;return $((function(){if(i!==S&&i!==C){var e=h.indexOf(i),t=h[e+1],r=n(i);r===Q?u(t,!0):t&&s((function(e){function n(){e.isCanceled()||u(t,!0)}!0===r?n():Promise.resolve(r).then(n)}))}}),[e,i]),f["useEffect"]((function(){return function(){d()}}),[]),[p,i]};function ne(e,t,n,i){var u=i.motionEnter,l=void 0===u||u,c=i.motionAppear,s=void 0===c||c,d=i.motionLeave,p=void 0===d||d,h=i.motionDeadline,m=i.motionLeaveImmediately,v=i.onAppearPrepare,g=i.onEnterPrepare,y=i.onLeavePrepare,b=i.onAppearStart,S=i.onEnterStart,C=i.onLeaveStart,_=i.onAppearActive,R=i.onEnterActive,I=i.onLeaveActive,M=i.onAppearEnd,N=i.onEnterEnd,L=i.onLeaveEnd,D=i.onVisibleChanged,F=Object(E["a"])(),U=Object(a["a"])(F,2),B=U[0],z=U[1],H=Object(E["a"])(w),W=Object(a["a"])(H,2),V=W[0],G=W[1],K=Object(E["a"])(null),Y=Object(a["a"])(K,2),Z=Y[0],X=Y[1],ne=Object(f["useRef"])(!1),re=Object(f["useRef"])(null);function oe(){return n()}var ae=Object(f["useRef"])(!1);function ie(){G(w,!0),X(null,!0)}function ue(e){var t=oe();if(!e||e.deadline||e.target===t){var n,r=ae.current;V===O&&r?n=null===M||void 0===M?void 0:M(t,e):V===x&&r?n=null===N||void 0===N?void 0:N(t,e):V===k&&r&&(n=null===L||void 0===L?void 0:L(t,e)),V!==w&&r&&!1!==n&&ie()}}var le=q(ue),ce=Object(a["a"])(le,1),se=ce[0],fe=function(e){var t,n,o;switch(e){case O:return t={},Object(r["a"])(t,j,v),Object(r["a"])(t,T,b),Object(r["a"])(t,A,_),t;case x:return n={},Object(r["a"])(n,j,g),Object(r["a"])(n,T,S),Object(r["a"])(n,A,R),n;case k:return o={},Object(r["a"])(o,j,y),Object(r["a"])(o,T,C),Object(r["a"])(o,A,I),o;default:return{}}},de=f["useMemo"]((function(){return fe(V)}),[V]),pe=te(V,!e,(function(e){if(e===j){var t=de[j];return t?t(oe()):Q}var n;ve in de&&X((null===(n=de[ve])||void 0===n?void 0:n.call(de,oe(),null))||null);return ve===A&&(se(oe()),h>0&&(clearTimeout(re.current),re.current=setTimeout((function(){ue({deadline:!0})}),h))),ve===P&&ie(),J})),he=Object(a["a"])(pe,2),me=he[0],ve=he[1],ge=ee(ve);ae.current=ge,$((function(){z(t);var n,r=ne.current;ne.current=!0,!r&&t&&s&&(n=O),r&&t&&l&&(n=x),(r&&!t&&p||!r&&m&&!t&&p)&&(n=k);var o=fe(n);n&&(e||o[j])?(G(n),me()):G(w)}),[t]),Object(f["useEffect"])((function(){(V===O&&!s||V===x&&!l||V===k&&!p)&&G(w)}),[s,l,p]),Object(f["useEffect"])((function(){return function(){ne.current=!1,clearTimeout(re.current)}}),[]);var ye=f["useRef"](!1);Object(f["useEffect"])((function(){B&&(ye.current=!0),void 0!==B&&V===w&&((ye.current||B)&&(null===D||void 0===D||D(B)),ye.current=!0)}),[B,V]);var be=Z;return de[j]&&ve===T&&(be=Object(o["a"])({transition:"none"},be)),[V,ve,be,null!==B&&void 0!==B?B:t]}function re(e){var t=e;function n(e,n){return!(!e.motionName||!t||!1===n)}"object"===Object(i["a"])(e)&&(t=e.transitionSupport);var u=f["forwardRef"]((function(e,t){var i=e.visible,u=void 0===i||i,d=e.removeOnLeave,h=void 0===d||d,m=e.forceRender,v=e.children,g=e.motionName,y=e.leavedClassName,E=e.eventProps,O=f["useContext"](p),x=O.motion,k=n(e,x),S=Object(f["useRef"])(),A=Object(f["useRef"])();function C(){try{return S.current instanceof HTMLElement?S.current:Object(c["a"])(A.current)}catch(e){return null}}var P=ne(k,u,C,e),_=Object(a["a"])(P,4),R=_[0],I=_[1],M=_[2],N=_[3],L=f["useRef"](N);N&&(L.current=!0);var D,F=f["useCallback"]((function(e){S.current=e,Object(s["b"])(t,e)}),[t]),U=Object(o["a"])(Object(o["a"])({},E),{},{visible:u});if(v)if(R===w)D=N?v(Object(o["a"])({},U),F):!h&&L.current&&y?v(Object(o["a"])(Object(o["a"])({},U),{},{className:y}),F):m||!h&&!y?v(Object(o["a"])(Object(o["a"])({},U),{},{style:{display:"none"}}),F):null;else{var B,z;I===j?z="prepare":ee(I)?z="active":I===T&&(z="start");var H=V(g,"".concat(R,"-").concat(z));D=v(Object(o["a"])(Object(o["a"])({},U),{},{className:l()(V(g,R),(B={},Object(r["a"])(B,H,H&&z),Object(r["a"])(B,g,"string"===typeof g),B)),style:M}),F)}else D=null;if(f["isValidElement"](D)&&Object(s["c"])(D)){var W=D,q=W.ref;q||(D=f["cloneElement"](D,{ref:F}))}return f["createElement"](b,{ref:A},D)}));return u.displayName="CSSMotion",u}var oe=re(z),ae=n("wx14"),ie=n("JX7q"),ue="add",le="keep",ce="remove",se="removed";function fe(e){var t;return t=e&&"object"===Object(i["a"])(e)&&"key"in e?e:{key:e},Object(o["a"])(Object(o["a"])({},t),{},{key:String(t.key)})}function de(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(fe)}function pe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,a=t.length,i=de(e),u=de(t);i.forEach((function(e){for(var t=!1,i=r;i1}));return c.forEach((function(e){n=n.filter((function(t){var n=t.key,r=t.status;return n!==e||r!==ce})),n.forEach((function(t){t.key===e&&(t.status=le)}))})),n}var he=["component","children","onVisibleChanged","onAllRemoved"],me=["status"],ve=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function ge(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:oe,n=function(e){Object(v["a"])(a,e);var n=Object(g["a"])(a);function a(){var e;Object(h["a"])(this,a);for(var t=arguments.length,i=new Array(t),u=0;u0?arguments[0]:void 0,s=this,p=[];if(T(s,{type:S,entries:p,updateURL:function(){},updateSearchParams:B}),void 0!==c)if(v(c))if(e=E(c),"function"===typeof e){t=e.call(c),n=t.next;while(!(r=n.call(t)).done){if(o=b(m(r.value)),a=o.next,(i=a.call(o)).done||(u=a.call(o)).done||!a.call(o).done)throw TypeError("Expected sequence with length 2");p.push({key:i.value+"",value:u.value+""})}}else for(l in c)d(c,l)&&p.push({key:l,value:c[l]+""});else U(p,"string"===typeof c?"?"===c.charAt(0)?c.slice(1):c:c+"")},V=W.prototype;u(V,{append:function(e,t){z(arguments.length,2);var n=A(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){z(arguments.length,1);var t=A(this),n=t.entries,r=e+"",o=0;while(oe.key){o.splice(t,0,e);break}t===n&&o.push(e)}r.updateURL()},forEach:function(e){var t,n=A(this).entries,r=p(e,arguments.length>1?arguments[1]:void 0,3),o=0;while(o1&&(t=arguments[1],v(t)&&(n=t.body,h(n)===S&&(r=t.headers?new x(t.headers):new x,r.has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=g(t,{body:y(0,String(n)),headers:y(0,r)}))),o.push(t)),O.apply(this,o)}}),e.exports={URLSearchParams:W,getState:A}},mGKP:function(e,t,n){var r=n("EdiO");function o(e,t){if(e){if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},ma9I:function(e,t,n){"use strict";var r=n("I+eb"),o=n("0Dky"),a=n("6LWA"),i=n("hh1v"),u=n("ewvW"),l=n("UMSQ"),c=n("hBjN"),s=n("ZfDv"),f=n("Hd5f"),d=n("tiKp"),p=n("LQDL"),h=d("isConcatSpreadable"),m=9007199254740991,v="Maximum allowed index exceeded",g=p>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),y=f("concat"),b=function(e){if(!i(e))return!1;var t=e[h];return void 0!==t?!!t:a(e)},E=!g||!y;r({target:"Array",proto:!0,forced:E},{concat:function(e){var t,n,r,o,a,i=u(this),f=s(i,0),d=0;for(t=-1,r=arguments.length;tm)throw TypeError(v);for(n=0;n=m)throw TypeError(v);c(f,d++,a)}return f.length=d,f}})},mdU6:function(e,t,n){},mgyK:function(e,t,n){var r=n("NC/Y");e.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(r)},"mh/w":function(e,t,n){var r=n("glrk"),o=n("NaFW");e.exports=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},"n3/R":function(e,t,n){"use strict";var r=n("0Dky");function o(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},n5b4:function(e,t,n){var r=n("I+eb"),o=n("2oRo"),a=n("tXUg"),i=n("xrYK"),u=o.process,l="process"==i(u);r({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(e){var t=l&&u.domain;a(t?t.bind(e):e)}})},n5pg:function(e,t,n){"use strict";var r=n("I+eb"),o=n("xDBR"),a=n("glrk"),i=n("A2ZE"),u=n("Sssf"),l=n("ImZN");r({target:"Map",proto:!0,real:!0,forced:o},{findKey:function(e){var t=a(this),n=u(t),r=i(e,arguments.length>1?arguments[1]:void 0,3);return l(n,(function(e,n){if(r(n,e,t))return l.stop(e)}),void 0,!0,!0).result}})},nIe3:function(e,t,n){"use strict";var r=n("I+eb"),o=n("xDBR"),a=n("0GbY"),i=n("glrk"),u=n("HAuM"),l=n("A2ZE"),c=n("SEBh"),s=n("Sssf"),f=n("ImZN");r({target:"Map",proto:!0,real:!0,forced:o},{mapKeys:function(e){var t=i(this),n=s(t),r=l(e,arguments.length>1?arguments[1]:void 0,3),o=new(c(t,a("Map"))),d=u(o.set);return f(n,(function(e,n){d.call(o,r(n,e,t),n)}),void 0,!0,!0),o}})},nLCz:function(e,t,n){"use strict";function r(){var e=o(n("q1tI"));return r=function(){return e},e}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;t["default"]=r()["default"].createContext({config:{mode:"doc",title:"",navs:{},menus:{},locales:[],repository:{branch:"master"},theme:{}},meta:{title:""},menu:[],nav:[],base:"",routes:[],apis:{},demos:{}})},ntOU:function(e,t,n){"use strict";var r=n("rpNk").IteratorPrototype,o=n("fHMY"),a=n("XGwC"),i=n("1E5z"),u=n("P4y1"),l=function(){return this};e.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=o(r,{next:a(1,n)}),i(e,c,!1,!0),u[c]=l,e}},nvu9:function(e,t,n){"use strict";t.__esModule=!0,t.getParameters=void 0;var r=n("e9O8");t.getParameters=r.getParameters},ny8l:function(e,t,n){var r=n("I+eb");r({target:"Math",stat:!0},{signbit:function(e){return(e=+e)==e&&0==e?1/e==-1/0:e<0}})},o0kM:function(e,t,n){"use strict";var r=n("dmwd")["default"],o=n("5wUe")["default"];function a(){var e=n("q1tI");return a=function(){return e},e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n, mountNode);"),t}var w=function(e){var t=(0,a().useState)(),n=f(t,2),i=n[0],l=n[1],c=b();return(0,a().useEffect)((function(){if(e&&c&&1===Object.keys(e.sources).length){var t,n=document.createElement("form"),a=document.createElement("input");return n.method="POST",n.target="_blank",n.style.display="none",n.action=y,n.appendChild(a),n.setAttribute("data-demo",e.title||""),a.name="data",a.value=JSON.stringify({title:e.titlle,js:E(e),css:Object.entries(e.dependencies).filter((function(e){var t=o(e,2),n=t[1];return n.css})).map((function(e){var t=o(e,2),n=t[0],r=t[1],a=r.version,i=r.css;return"@import '~".concat(i.replace(new RegExp("^(".concat(n,")")),"$1@".concat(a)),"';")})).concat(e.background?"body {\n background: ".concat(e.background,";\n}"):"").join("\n"),json:JSON.stringify({description:e.description,dependencies:Object.entries(e.dependencies).reduce((function(e,t){var n=o(t,2),a=n[0],i=n[1].version;return u(u({},e),{},r({},a,i))}),{"react-dom":(null===(t=e.dependencies.react)||void 0===t?void 0:t.version)||"latest"})},null,2)}),document.body.appendChild(n),l((function(){return function(){return n.submit()}})),function(){return n.remove()}}}),[e,c]),i};t["default"]=w},o46R:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("U8pU");function o(e,t){if("object"!=Object(r["a"])(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=Object(r["a"])(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function a(e){var t=o(e,"string");return"symbol"==Object(r["a"])(t)?t:String(t)}},o5UB:function(e,t,n){var r=n("cDf5")["default"],o=n("5Q0V");function a(e){var t=o(e,"string");return"symbol"==r(t)?t:String(t)}e.exports=a,e.exports.__esModule=!0,e.exports["default"]=e.exports},"oHi+":function(e,t,n){var r=n("ewvW"),o=n("UMSQ"),a=n("NaFW"),i=n("6VoE"),u=n("A2ZE"),l=n("67WC").aTypedArrayConstructor;e.exports=function(e){var t,n,c,s,f,d,p=r(e),h=arguments.length,m=h>1?arguments[1]:void 0,v=void 0!==m,g=a(p);if(void 0!=g&&!i(g)){f=g.call(p),d=f.next,p=[];while(!(s=d.call(f)).done)p.push(s.value)}for(v&&h>2&&(m=u(m,arguments[2],2)),n=o(p.length),c=new(l(this))(n),t=0;n>t;t++)c[t]=v?m(p[t],t):p[t];return c}},ofBz:function(e,t,n){"use strict";var r=n("I+eb"),o=n("ntOU"),a=n("HYAF"),i=n("UMSQ"),u=n("HAuM"),l=n("glrk"),c=n("xrYK"),s=n("ROdP"),f=n("rW0t"),d=n("kRJp"),p=n("0Dky"),h=n("tiKp"),m=n("SEBh"),v=n("iqWW"),g=n("afO8"),y=n("xDBR"),b=h("matchAll"),E="RegExp String",w=E+" Iterator",O=g.set,x=g.getterFor(w),k=RegExp.prototype,S=k.exec,j="".matchAll,T=!!j&&!p((function(){"a".matchAll(/./)})),A=function(e,t){var n,r=e.exec;if("function"==typeof r){if(n=r.call(e,t),"object"!=typeof n)throw TypeError("Incorrect exec result");return n}return S.call(e,t)},C=o((function(e,t,n,r){O(this,{type:w,regexp:e,string:t,global:n,unicode:r,done:!1})}),E,(function(){var e=x(this);if(e.done)return{value:void 0,done:!0};var t=e.regexp,n=e.string,r=A(t,n);return null===r?{value:void 0,done:e.done=!0}:e.global?(""==String(r[0])&&(t.lastIndex=v(n,i(t.lastIndex),e.unicode)),{value:r,done:!1}):(e.done=!0,{value:r,done:!1})})),P=function(e){var t,n,r,o,a,u,c=l(this),s=String(e);return t=m(c,RegExp),n=c.flags,void 0===n&&c instanceof RegExp&&!("flags"in k)&&(n=f.call(c)),r=void 0===n?"":String(n),o=new t(t===RegExp?c.source:c,r),a=!!~r.indexOf("g"),u=!!~r.indexOf("u"),o.lastIndex=i(c.lastIndex),new C(o,s,a,u)};r({target:"String",proto:!0,forced:T},{matchAll:function(e){var t,n,r,o,i=a(this);if(null!=e){if(s(e)&&(t=String(a("flags"in k?e.flags:f.call(e))),!~t.indexOf("g")))throw TypeError("`.matchAll` does not allow non-global regexes");if(T)return j.apply(i,arguments);if(r=e[b],void 0===r&&y&&"RegExp"==c(e)&&(r=P),null!=r)return u(r).call(e,i)}else if(T)return j.apply(i,arguments);return n=String(i),o=new RegExp(e,"g"),y?P.call(o,n):o[b](n)}}),y||b in k||d(k,b,P)},or9q:function(e,t,n){"use strict";var r=n("6LWA"),o=n("UMSQ"),a=n("A2ZE"),i=function(e,t,n,u,l,c,s,f){var d,p=l,h=0,m=!!s&&a(s,f,3);while(h0&&r(d))p=i(e,t,d,o(d.length),p,c-1)-1;else{if(p>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[p]=d}p++}h++}return p};e.exports=i},p532:function(e,t,n){"use strict";var r=n("I+eb"),o=n("xDBR"),a=n("/qmn"),i=n("0Dky"),u=n("0GbY"),l=n("SEBh"),c=n("zfnd"),s=n("busE"),f=!!a&&i((function(){a.prototype["finally"].call({then:function(){}},(function(){}))}));r({target:"Promise",proto:!0,real:!0,forced:f},{finally:function(e){var t=l(this,u("Promise")),n="function"==typeof e;return this.then(n?function(n){return c(t,e()).then((function(){return n}))}:e,n?function(n){return c(t,e()).then((function(){throw n}))}:e)}}),o||"function"!=typeof a||a.prototype["finally"]||s(a.prototype,"finally",u("Promise").prototype["finally"])},p5mE:function(e,t,n){var r=n("Tskq"),o=n("ENF9"),a=n("fHMY"),i=n("hh1v"),u=function(){this.object=null,this.symbol=null,this.primitives=null,this.objectsByIndex=a(null)};u.prototype.get=function(e,t){return this[e]||(this[e]=t())},u.prototype.next=function(e,t,n){var a=n?this.objectsByIndex[e]||(this.objectsByIndex[e]=new o):this.primitives||(this.primitives=new r),i=a.get(t);return i||a.set(t,i=new u),i};var l=new u;e.exports=function(){var e,t,n=l,r=arguments.length;for(e=0;ev)throw TypeError(g);for(s=l(y,r),f=0;fb-r+n;f--)delete y[f-1]}else if(n>r)for(f=b-r;f>E;f--)d=f+r-1,p=f+n-1,d in y?y[p]=y[d]:delete y[p];for(f=0;fa)o.push(arguments[a++]);if(r=t,(p(t)||void 0!==e)&&!ue(e))return d(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!ue(t))return t}),o[1]=t,$.apply(null,o)}})}G[z][H]||T(G[z],H,G[z].valueOf),L(G,B),_[U]=!0},pevA:function(e,t,n){"use strict";var r=n("I+eb"),o=n("g6v/"),a=n("JiZb"),i=n("HAuM"),u=n("glrk"),l=n("hh1v"),c=n("GarU"),s=n("m/L8").f,f=n("kRJp"),d=n("4syw"),p=n("mh/w"),h=n("ImZN"),m=n("RN6c"),v=n("tiKp"),g=n("afO8"),y=v("observable"),b=g.get,E=g.set,w=function(e){return null==e?void 0:i(e)},O=function(e){var t=e.cleanup;if(t){e.cleanup=void 0;try{t()}catch(n){m(n)}}},x=function(e){return void 0===e.observer},k=function(e,t){if(!o){e.closed=!0;var n=t.subscriptionObserver;n&&(n.closed=!0)}t.observer=void 0},S=function(e,t){var n,r=E(this,{cleanup:void 0,observer:u(e),subscriptionObserver:void 0});o||(this.closed=!1);try{(n=w(e.start))&&n.call(e,this)}catch(s){m(s)}if(!x(r)){var a=r.subscriptionObserver=new j(this);try{var l=t(a),c=l;null!=l&&(r.cleanup="function"===typeof l.unsubscribe?function(){c.unsubscribe()}:i(l))}catch(s){return void a.error(s)}x(r)&&O(r)}};S.prototype=d({},{unsubscribe:function(){var e=b(this);x(e)||(k(this,e),O(e))}}),o&&s(S.prototype,"closed",{configurable:!0,get:function(){return x(b(this))}});var j=function(e){E(this,{subscription:e}),o||(this.closed=!1)};j.prototype=d({},{next:function(e){var t=b(b(this).subscription);if(!x(t)){var n=t.observer;try{var r=w(n.next);r&&r.call(n,e)}catch(o){m(o)}}},error:function(e){var t=b(this).subscription,n=b(t);if(!x(n)){var r=n.observer;k(t,n);try{var o=w(r.error);o?o.call(r,e):m(e)}catch(a){m(a)}O(n)}},complete:function(){var e=b(this).subscription,t=b(e);if(!x(t)){var n=t.observer;k(e,t);try{var r=w(n.complete);r&&r.call(n)}catch(o){m(o)}O(t)}}}),o&&s(j.prototype,"closed",{configurable:!0,get:function(){return x(b(b(this).subscription))}});var T=function(e){c(this,T,"Observable"),E(this,{subscriber:i(e)})};d(T.prototype,{subscribe:function(e){var t=arguments.length;return new S("function"===typeof e?{next:e,error:t>1?arguments[1]:void 0,complete:t>2?arguments[2]:void 0}:l(e)?e:{},b(this).subscriber)}}),d(T,{from:function(e){var t="function"===typeof this?this:T,n=w(u(e)[y]);if(n){var r=u(n.call(e));return r.constructor===t?r:new t((function(e){return r.subscribe(e)}))}var o=p(e);return new t((function(e){h(o,(function(t){if(e.next(t),e.closed)return h.stop()}),void 0,!1,!0),e.complete()}))},of:function(){var e="function"===typeof this?this:T,t=arguments.length,n=new Array(t),r=0;while(r0?r:n)(e)}},pv2x:function(e,t,n){var r=n("I+eb"),o=n("0GbY"),a=n("HAuM"),i=n("glrk"),u=n("0Dky"),l=o("Reflect","apply"),c=Function.apply,s=!u((function(){l((function(){}))}));r({target:"Reflect",stat:!0,forced:s},{apply:function(e,t,n){return a(e),i(n),l?l(e,t,n):c.call(e,t,n)}})},q1tI:function(e,t,n){"use strict";e.exports=n("viRO")},q3YX:function(e){e.exports=JSON.parse('{"menus":{"en-US":{"*":[{"path":"/","title":"rc-upload","meta":{"order":null}},{"path":"/changelog","title":"Changelog","meta":{}},{"title":"Demo","path":"/demo","meta":{},"children":[{"path":"/demo/async-action","title":"asyncAction","meta":{}},{"path":"/demo/before-upload","title":"beforeUpload","meta":{}},{"path":"/demo/custom-request","title":"customRequest","meta":{}},{"path":"/demo/directory-upload","title":"directoryUpload","meta":{}},{"path":"/demo/drag","title":"drag","meta":{}},{"path":"/demo/simple","title":"simple","meta":{}}]}]}},"locales":[{"name":"en-US","label":"English"}],"navs":{},"title":"rc-upload","logo":"https://avatars0.githubusercontent.com/u/9441414?s=200&v=4","mode":"doc","repository":{"url":"https://github.com/react-component/upload","branch":"master"},"theme":{},"exportStatic":{}}')},qHiR:function(e,t,n){},qLMh:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(){o=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(A){c=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var o=t&&t.prototype instanceof p?t:p,a=Object.create(o.prototype),i=new S(r||[]);return a._invoke=function(e,t,n){var r="suspendedStart";return function(o,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw a;return T()}for(n.method=o,n.arg=a;;){var i=n.delegate;if(i){var u=O(i,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=f(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,i),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(A){return{type:"throw",arg:A}}}e.wrap=s;var d={};function p(){}function h(){}function m(){}var v={};c(v,i,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(j([])));y&&y!==t&&n.call(y,i)&&(v=y);var b=m.prototype=p.prototype=Object.create(v);function E(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function o(a,i,u,l){var c=f(e[a],e,i);if("throw"!==c.type){var s=c.arg,d=s.value;return d&&"object"==r(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,u,l)}),(function(e){o("throw",e,u,l)})):t.resolve(d).then((function(e){s.value=e,u(s)}),(function(e){return o("throw",e,u,l)}))}l(c.arg)}var a;this._invoke=function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return a=a?a.then(r,r):r()}}function O(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator["return"]&&(t.method="return",t.arg=void 0,O(e,t),"throw"===t.method))return d;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var r=f(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,d;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function j(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;k(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:j(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}n.d(t,"a",(function(){return o}))},qT12:function(e,t,n){"use strict";var r="function"===typeof Symbol&&Symbol["for"],o=r?Symbol["for"]("react.element"):60103,a=r?Symbol["for"]("react.portal"):60106,i=r?Symbol["for"]("react.fragment"):60107,u=r?Symbol["for"]("react.strict_mode"):60108,l=r?Symbol["for"]("react.profiler"):60114,c=r?Symbol["for"]("react.provider"):60109,s=r?Symbol["for"]("react.context"):60110,f=r?Symbol["for"]("react.async_mode"):60111,d=r?Symbol["for"]("react.concurrent_mode"):60111,p=r?Symbol["for"]("react.forward_ref"):60112,h=r?Symbol["for"]("react.suspense"):60113,m=r?Symbol["for"]("react.suspense_list"):60120,v=r?Symbol["for"]("react.memo"):60115,g=r?Symbol["for"]("react.lazy"):60116,y=r?Symbol["for"]("react.block"):60121,b=r?Symbol["for"]("react.fundamental"):60117,E=r?Symbol["for"]("react.responder"):60118,w=r?Symbol["for"]("react.scope"):60119;function O(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type,e){case f:case d:case i:case l:case u:case h:return e;default:switch(e=e&&e.$$typeof,e){case s:case p:case g:case v:case c:return e;default:return t}}case a:return t}}}function x(e){return O(e)===d}t.AsyncMode=f,t.ConcurrentMode=d,t.ContextConsumer=s,t.ContextProvider=c,t.Element=o,t.ForwardRef=p,t.Fragment=i,t.Lazy=g,t.Memo=v,t.Portal=a,t.Profiler=l,t.StrictMode=u,t.Suspense=h,t.isAsyncMode=function(e){return x(e)||O(e)===f},t.isConcurrentMode=x,t.isContextConsumer=function(e){return O(e)===s},t.isContextProvider=function(e){return O(e)===c},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return O(e)===p},t.isFragment=function(e){return O(e)===i},t.isLazy=function(e){return O(e)===g},t.isMemo=function(e){return O(e)===v},t.isPortal=function(e){return O(e)===a},t.isProfiler=function(e){return O(e)===l},t.isStrictMode=function(e){return O(e)===u},t.isSuspense=function(e){return O(e)===h},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===d||e===l||e===u||e===h||e===m||"object"===typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===v||e.$$typeof===c||e.$$typeof===s||e.$$typeof===p||e.$$typeof===b||e.$$typeof===E||e.$$typeof===w||e.$$typeof===y)},t.typeOf=O},qY7S:function(e,t,n){"use strict";var r=n("HAuM"),o=n("A2ZE"),a=n("ImZN");e.exports=function(e){var t,n,i,u,l=arguments.length,c=l>1?arguments[1]:void 0;return r(this),t=void 0!==c,t&&r(c),void 0==e?new this:(n=[],t?(i=0,u=o(c,l>2?arguments[2]:void 0,2),a(e,(function(e){n.push(u(e,i++))}))):a(e,n.push,n),new this(n))}},qYE9:function(e,t){e.exports="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof DataView},qaHo:function(e,t,n){"use strict";var r=n("I+eb"),o=n("xDBR"),a=n("glrk"),i=n("A2ZE"),u=n("WGBp"),l=n("ImZN");r({target:"Set",proto:!0,real:!0,forced:o},{some:function(e){var t=a(this),n=u(t),r=i(e,arguments.length>1?arguments[1]:void 0,3);return l(n,(function(e){if(r(e,e,t))return l.stop()}),void 0,!1,!0).stopped}})},qc1c:function(e,t,n){"use strict";var r=n("I+eb"),o=n("xDBR"),a=n("glrk"),i=n("HAuM"),u=n("ImZN");r({target:"Map",proto:!0,real:!0,forced:o},{merge:function(e){var t=a(this),n=i(t.set),r=0;while(re.length)&&(t=e.length);for(var n=0,r=new Array(t);n,\n document.getElementById('root'),\n);"):"react-dom/client"===e?"/**\n* This is an auto-generated demo by dumi\n* if you think it is not working as expected,\n* please report the issue at\n* https://github.com/umijs/dumi/issues\n**/\nimport React from 'react';\nimport { createRoot } from \"react-dom/client\";\n".concat(t,'\nimport App from "./App";\n\nconst rootElement = document.getElementById("root");\nconst root = createRoot(rootElement);\n\nroot.render();'):void 0};function h(e){var t=document.createElement("span");t.innerHTML=e;var n=t.textContent;return t.remove(),n}function m(e){var t,n=Boolean(e.sources._.tsx),o=n?".tsx":".jsx",i={},u={},l=Object.values(e.dependencies).filter((function(e){return e.css})),c="App".concat(o),s="index".concat(o);return Object.entries(e.dependencies).forEach((function(e){var t=r(e,2),n=t[0],o=t[1].version;u[n]=o})),u["react-dom"]||(u["react-dom"]=u.react||"latest"),i["sandbox.config.json"]={content:JSON.stringify({template:n?"create-react-app-typescript":"create-react-app"},null,2),isBinary:!1},i["package.json"]={content:JSON.stringify({name:e.title,description:h(e.description||"An auto-generated demo by dumi"),main:s,dependencies:u,devDependencies:n?{typescript:"^3"}:{}},null,2),isBinary:!1},i["index.html"]={content:'
',isBinary:!1},i[s]={content:p((null===u||void 0===u||null===(t=u["react-dom"])||void 0===t?void 0:t.startsWith("18."))||"latest"===u.react?"react-dom/client":"react-dom",l.map((function(e){var t=e.css;return"import '".concat(t,"';")})).join("\n")),isBinary:!1},Object.entries(e.sources).forEach((function(e){var t=r(e,2),n=t[0],o=t[1],a=o.tsx,u=o.jsx,l=o.content;i["_"===n?c:n]={content:a||u||l,isBinary:!1}})),(0,a().getParameters)({files:i})}var v=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d,n=(0,o().useState)(),r=i(n,2),a=r[0],u=r[1];return(0,o().useEffect)((function(){if(e){var n=document.createElement("form"),r=document.createElement("input"),o=m(e);return n.method="POST",n.target="_blank",n.style.display="none",n.action=t,n.appendChild(r),n.setAttribute("data-demo",e.title||""),r.name="parameters",r.value=o,document.body.appendChild(n),u((function(){return function(){return n.submit()}})),function(){return n.remove()}}}),[e]),a};t["default"]=v},rB9j:function(e,t,n){"use strict";var r=n("I+eb"),o=n("kmMV");r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},rKzb:function(e,t,n){"use strict";var r=n("4syw"),o=n("8YOa").getWeakData,a=n("glrk"),i=n("hh1v"),u=n("GarU"),l=n("ImZN"),c=n("tycR"),s=n("UTVS"),f=n("afO8"),d=f.set,p=f.getterFor,h=c.find,m=c.findIndex,v=0,g=function(e){return e.frozen||(e.frozen=new y)},y=function(){this.entries=[]},b=function(e,t){return h(e.entries,(function(e){return e[0]===t}))};y.prototype={get:function(e){var t=b(this,e);if(t)return t[1]},has:function(e){return!!b(this,e)},set:function(e,t){var n=b(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=m(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,c){var f=e((function(e,r){u(e,f,t),d(e,{type:t,id:v++,frozen:void 0}),void 0!=r&&l(r,e[c],e,n)})),h=p(t),m=function(e,t,n){var r=h(e),i=o(a(t),!0);return!0===i?g(r).set(t,n):i[r.id]=n,e};return r(f.prototype,{delete:function(e){var t=h(this);if(!i(e))return!1;var n=o(e);return!0===n?g(t)["delete"](e):n&&s(n,t.id)&&delete n[t.id]},has:function(e){var t=h(this);if(!i(e))return!1;var n=o(e);return!0===n?g(t).has(e):n&&s(n,t.id)}}),r(f.prototype,n?{get:function(e){var t=h(this);if(i(e)){var n=o(e);return!0===n?g(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return m(this,e,t)}}:{add:function(e){return m(this,e,!0)}}),f}}},rNhl:function(e,t,n){var r=n("I+eb"),o=n("fhKU");r({global:!0,forced:parseFloat!=o},{parseFloat:o})},rOQg:function(e,t,n){"use strict";var r=n("I+eb"),o=n("0Dky"),a=n("Yhre"),i=n("glrk"),u=n("I8vh"),l=n("UMSQ"),c=n("SEBh"),s=a.ArrayBuffer,f=a.DataView,d=s.prototype.slice,p=o((function(){return!new s(2).slice(1,void 0).byteLength}));r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:p},{slice:function(e,t){if(void 0!==d&&void 0===t)return d.call(i(this),e);var n=i(this).byteLength,r=u(e,n),o=u(void 0===t?n:t,n),a=new(c(this,s))(l(o-r)),p=new f(this),h=new f(a),m=0;while(r{var t=e.demos,n=t["docs-beforeupload"].component;return o.a.createElement(o.a.Fragment,null,o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:"markdown"},o.a.createElement("h2",{id:"beforeupload"},o.a.createElement(a["AnchorLink"],{to:"#beforeupload","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"beforeUpload")),o.a.createElement(i["default"],t["docs-beforeupload"].previewerProps,o.a.createElement(n,null))))}));t["default"]=e=>{var t=o.a.useContext(a["context"]),n=t.demos;return o.a.useEffect((()=>{var t;null!==e&&void 0!==e&&null!==(t=e.location)&&void 0!==t&&t.hash&&a["AnchorLink"].scrollToAnchor(decodeURIComponent(e.location.hash.slice(1)))}),[]),o.a.createElement(u,{demos:n})}},sEFX:function(e,t,n){"use strict";var r=n("AO7/"),o=n("9d/t");e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},sQ9d:function(e,t,n){var r=n("I+eb"),o=n("eDxR"),a=n("glrk"),i=o.keys,u=o.toKey;r({target:"Reflect",stat:!0},{getOwnMetadataKeys:function(e){var t=arguments.length<2?void 0:u(arguments[1]);return i(a(e),t)}})},spTT:function(e,t,n){var r=n("I+eb"),o=n("qY7S");r({target:"WeakSet",stat:!0},{from:o})},"t/kZ":function(e,t,n){"use strict";var r=n("R5yR")["default"];function o(){var e=n("q1tI");return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var a=n("dEAq");function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n-1&&n.push(s[r]);v(n)}else v([])}),[e,s.length]),m},y=function(){var e=(0,o().useContext)(a.context),t=e.config.algolia,n=(0,o().useCallback)((function(e){window.docsearch(u({inputSelector:e},t))}),[t]);return n},b=function(e){var t=(0,o().useContext)(a.context),n=t.config,r=g(e),i=y();return n.algolia?i:r};t["default"]=b},t6Hw:function(e,t,n){"use strict";e.exports=n("Qfp8")},tB8F:function(e,t,n){"use strict";n.r(t);n("pNMO"),n("4Brf"),n("tjZM"),n("3I1R"),n("7+kd"),n("KhsS"),n("gOCb"),n("a57n"),n("GXvd"),n("I1Gw"),n("gXIK"),n("lEou"),n("ma9I"),n("TeQF"),n("BIHw"),n("XbcX"),n("pjDv"),n("yq1k"),n("yXV3"),n("4mDm"),n("uqXc"),n("2B1R"),n("E9XD"),n("9N29"),n("Junv"),n("+2oP"),n("ToJy"),n("94Xl"),n("pDQq"),n("QGkA"),n("c9m3"),n("wZ/5"),n("rOQg"),n("7+zs"),n("tW5y"),n("DEfu"),n("Tskq"),n("Uydy"),n("QFcT"),n("I9xj"),n("w1rZ"),n("JevA"),n("toAj"),n("zKZe"),n("Eqjn"),n("5xtp"),n("T63A"),n("wfmh"),n("27RR"),n("v5b1"),n("W/eh"),n("07d7"),n("B6y2"),n("rNhl"),n("4l63"),n("5s+n"),n("p532"),n("pv2x"),n("SuFq"),n("ftMj"),n("TWNs"),n("rB9j"),n("U3f4"),n("JfAA"),n("YGK4"),n("inlA"),n("JTJg"),n("Rm1S"),n("hDyC"),n("TZCg"),n("UxlC"),n("hByQ"),n("EnZy"),n("LKBx"),n("SYor"),n("HiXI"),n("7ueG"),n("z8NH"),n("SpvK"),n("/Yfv"),n("iwkZ"),n("FDzp"),n("XMab"),n("ilnZ"),n("hMMk"),n("+ywr"),n("c162"),n("IL/d"),n("gvgV"),n("YL0P"),n("7JcK"),n("PF2M"),n("IZzc"),n("s5qe"),n("cvf0"),n("ENF9"),n("H+LF"),n("66V8"),n("iIM6"),n("2tOg"),n("gYJb"),n("EDT/"),n("j+VE"),n("wgYD"),n("R3/m"),n("l/vG"),n("0q/z"),n("n5pg"),n("zu+z"),n("ihrJ"),n("Q7Pz"),n("unQa"),n("Vnov"),n("nIe3"),n("CUyW"),n("qc1c"),n("5921"),n("VOz1"),n("Thag"),n("9D6x"),n("cOPa"),n("vdRX"),n("KrxN"),n("SL6q"),n("lehK"),n("eO0o"),n("NqR8"),n("w7s6"),n("uWhJ"),n("WPzJ"),n("NV22"),n("ny8l"),n("a5/B"),n("vzwy"),n("pevA"),n("8go2"),n("DrvE"),n("kCkZ"),n("++zV"),n("Y4C7"),n("ZsH6"),n("vZi8"),n("5r1n"),n("sQ9d"),n("bdeN"),n("AwgR"),n("qgGA"),n("49+q"),n("AVoK"),n("hcok"),n("dNT4"),n("3uUd"),n("tijO"),n("1kQv"),n("ZY7T"),n("C1JJ"),n("lmH4"),n("Co1j"),n("5JV0"),n("ctDJ"),n("8r4s"),n("JwUS"),n("qaHo"),n("Si40"),n("BGb9"),n("fN96"),n("UzNg"),n("DhMN"),n("rZ3M"),n("apDx"),n("4XaG"),n("6V7H"),n("cfiF"),n("702D"),n("TJ79"),n("Z4nd"),n("8STE"),n("spTT"),n("rb3L"),n("FZtP"),n("3bBZ"),n("Ew+T"),n("n5b4"),n("Kz25"),n("vxnP"),n("mGGf"),n("VWci");var r=n("bCY9"),o=n("FfOG"),a=n("LtsZ"),i=n("zlVK"),u=n("tJVT");function l(){var e=[{path:"/~demos/:uuid",layout:!1,wrappers:[n("afA6").default],component:e=>{var t=n("q1tI"),r=n("F4QJ"),o=r.default,a=n("Zxc8"),i=a.default,l=n("dEAq"),c=l.usePrefersColor,s=l.context,f=t.useContext(s),d=f.demos,p=t.useState([]),h=Object(u["a"])(p,2),m=h[0],v=h[1];switch(t.useLayoutEffect((()=>{v(o(e,d))}),[e.match.params.uuid,e.location.query.wrapper,e.location.query.capture]),c(),m.length){case 1:return m[0];case 2:return t.createElement(i,m[0],m[1]);default:return"Demo ".concat(e.match.params.uuid," not found :(")}}},{path:"/_demos/:uuid",redirect:"/~demos/:uuid"},{__dumiRoot:!0,layout:!1,path:"/",wrappers:[n("afA6").default,n("0Bia").default],routes:[{path:"/",component:n("gql7").default,exact:!0,meta:{locale:"en-US",order:null,filePath:"README.md",updatedTime:1634707988e3,slugs:[{depth:1,value:"rc-upload",heading:"rc-upload"},{depth:2,value:"Development",heading:"development"},{depth:2,value:"Example",heading:"example"},{depth:2,value:"Feature",heading:"feature"},{depth:2,value:"install",heading:"install"},{depth:2,value:"Usage",heading:"usage"},{depth:2,value:"API",heading:"api"},{depth:3,value:"props",heading:"props"},{depth:4,value:"onError arguments",heading:"onerror-arguments"},{depth:3,value:"onSuccess arguments",heading:"onsuccess-arguments"},{depth:3,value:"customRequest",heading:"customrequest"},{depth:3,value:"methods",heading:"methods"},{depth:2,value:"License",heading:"license"}],title:"rc-upload"},title:"rc-upload"},{path:"/changelog",component:n("X5zD").default,exact:!0,meta:{filePath:"docs/changelog.md",updatedTime:1608168746e3,slugs:[{depth:1,value:"Changelog",heading:"changelog"},{depth:2,value:"3.3.4",heading:"334"},{depth:2,value:"3.3.1",heading:"331"},{depth:2,value:"3.3.0",heading:"330"},{depth:2,value:"3.2.0",heading:"320"},{depth:2,value:"3.1.0",heading:"310"},{depth:2,value:"3.0.0",heading:"300"},{depth:2,value:"2.9.0",heading:"290"},{depth:2,value:"2.8.0",heading:"280"},{depth:2,value:"2.7.0",heading:"270"},{depth:2,value:"2.6.5",heading:"265"},{depth:2,value:"2.6.0 / 2018-09-21",heading:"260--2018-09-21"},{depth:2,value:"2.5.0 / 2018-06-12",heading:"250--2018-06-12"},{depth:2,value:"2.4.0 / 2017-07-15",heading:"240--2017-07-15"},{depth:2,value:"2.3.8 / 2017-06-21",heading:"238--2017-06-21"},{depth:2,value:"2.3.5 / 2017-05-01",heading:"235--2017-05-01"},{depth:2,value:"2.3.4 / 2017-03-10",heading:"234--2017-03-10"},{depth:2,value:"2.3.3 / 2017-02-20",heading:"233--2017-02-20"},{depth:2,value:"2.3.2 / 2016-12-30",heading:"232--2016-12-30"},{depth:2,value:"2.3.0 / 2016-12-12",heading:"230--2016-12-12"},{depth:2,value:"2.2.0 / 2016-10-13",heading:"220--2016-10-13"},{depth:2,value:"2.1.1 / 2016-09-23",heading:"211--2016-09-23"},{depth:2,value:"2.1.0 / 2016-09-20",heading:"210--2016-09-20"},{depth:2,value:"2.0.0 / 2016-08-10",heading:"200--2016-08-10"},{depth:2,value:"1.14.1 / 2016-07-19",heading:"1141--2016-07-19"},{depth:2,value:"1.14.0 / 2016-07-19",heading:"1140--2016-07-19"},{depth:2,value:"1.13.0 / 2016-06-02",heading:"1130--2016-06-02"},{depth:2,value:"1.12.0 2016-05-10",heading:"1120-2016-05-10"},{depth:2,value:"1.11.0 2016-05-03",heading:"1110-2016-05-03"},{depth:2,value:"1.9.0 2016-03-23",heading:"190-2016-03-23"},{depth:2,value:"1.8.1 2016-03-16",heading:"181-2016-03-16"},{depth:2,value:"1.8.0 2016-01-14",heading:"180-2016-01-14"},{depth:2,value:"1.7.2 2016-01-13",heading:"172-2016-01-13"},{depth:2,value:"1.7.0 2015-10-27",heading:"170-2015-10-27"},{depth:2,value:"1.6.6 2015-09-29",heading:"166-2015-09-29"},{depth:2,value:"1.5.2 2015-09-18",heading:"152-2015-09-18"},{depth:2,value:"1.5.0 2015-09-16",heading:"150-2015-09-16"},{depth:2,value:"1.4.4 2015-09-16",heading:"144-2015-09-16"},{depth:2,value:"1.4.2 2015-09-15",heading:"142-2015-09-15"},{depth:2,value:"1.4.0 2015-09-09",heading:"140-2015-09-09"},{depth:2,value:"1.3.0 2015-08-12",heading:"130-2015-08-12"},{depth:2,value:"1.2.3 2015-07-17",heading:"123-2015-07-17"},{depth:2,value:"1.2.2 2015-06-25",heading:"122-2015-06-25"},{depth:2,value:"1.2.1 2015-06-24",heading:"121-2015-06-24"}],title:"Changelog"},title:"Changelog - rc-upload"},{path:"/demo/async-action",component:n("IYrw").default,exact:!0,meta:{filePath:"docs/demo/asyncAction.md",updatedTime:1607327212e3,slugs:[{depth:2,value:"asyncAction",heading:"asyncaction"}],title:"asyncAction",hasPreviewer:!0,group:{path:"/demo",title:"Demo"}},title:"asyncAction - rc-upload"},{path:"/demo/before-upload",component:n("sDk5").default,exact:!0,meta:{filePath:"docs/demo/beforeUpload.md",updatedTime:1607327212e3,slugs:[{depth:2,value:"beforeUpload",heading:"beforeupload"}],title:"beforeUpload",hasPreviewer:!0,group:{path:"/demo",title:"Demo"}},title:"beforeUpload - rc-upload"},{path:"/demo/custom-request",component:n("1lAb").default,exact:!0,meta:{filePath:"docs/demo/customRequest.md",updatedTime:1607327212e3,slugs:[{depth:2,value:"customRequest",heading:"customrequest"}],title:"customRequest",hasPreviewer:!0,group:{path:"/demo",title:"Demo"}},title:"customRequest - rc-upload"},{path:"/demo/directory-upload",component:n("A9Tw").default,exact:!0,meta:{filePath:"docs/demo/directoryUpload.md",updatedTime:1607327212e3,slugs:[{depth:2,value:"directoryUpload",heading:"directoryupload"}],title:"directoryUpload",hasPreviewer:!0,group:{path:"/demo",title:"Demo"}},title:"directoryUpload - rc-upload"},{path:"/demo/drag",component:n("uUc8").default,exact:!0,meta:{filePath:"docs/demo/drag.md",updatedTime:1607327212e3,slugs:[{depth:2,value:"drag",heading:"drag"}],title:"drag",hasPreviewer:!0,group:{path:"/demo",title:"Demo"}},title:"drag - rc-upload"},{path:"/demo/simple",component:n("GEK/").default,exact:!0,meta:{filePath:"docs/demo/simple.md",updatedTime:1607327212e3,slugs:[{depth:2,value:"simple",heading:"simple"}],title:"simple",hasPreviewer:!0,group:{path:"/demo",title:"Demo"}},title:"simple - rc-upload"},{path:"/demo",meta:{},exact:!0,redirect:"/demo/async-action"}],title:"rc-upload",component:e=>e.children}];return r["a"].applyPlugins({key:"patchRoutes",type:a["ApplyPluginsType"].event,args:{routes:e}}),e}var c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r["a"].applyPlugins({key:"render",type:a["ApplyPluginsType"].compose,initialValue:()=>{var t=r["a"].applyPlugins({key:"modifyClientRenderOpts",type:a["ApplyPluginsType"].modify,initialValue:{routes:e.routes||l(),plugin:r["a"],history:Object(o["a"])(e.hot),isServer:Object({NODE_ENV:"production"}).__IS_SERVER,rootElement:"root",defaultTitle:"rc-upload"}});return Object(i["renderClient"])(t)},args:e})},s=c();t["default"]=s();window.g_umi={version:"3.5.41"}},tDz2:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=n("/7QA"),i={action:"/upload.do",type:"drag",accept:".png",beforeUpload(e){console.log("beforeUpload",e.name)},onStart:e=>{console.log("onStart",e.name)},onSuccess(e){console.log("onSuccess",e)},onProgress(e,t){console.log("onProgress",Math.round(e.percent),t.name)},onError(e){console.log("onError",e)},style:{display:"inline-block",width:200,height:200,background:"#eee"}},u=()=>o.a.createElement("div",{style:{margin:100}},o.a.createElement("div",null,o.a.createElement(a["a"],i,o.a.createElement("a",null,"\u5f00\u59cb\u4e0a\u4f20"))));t["default"]=u},tEiQ:function(e,t,n){"use strict";(function(e){var r=n("q1tI"),o=n.n(r),a=n("dI71"),i=n("17x9"),u=n.n(i),l=1073741823,c="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof e?e:{};function s(){var e="__global_unique_id__";return c[e]=(c[e]||0)+1}function f(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function d(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}function p(e){return Array.isArray(e)?e[0]:e}function h(e,t){var n,o,i="__create-react-context-"+s()+"__",c=function(e){function n(){var t;return t=e.apply(this,arguments)||this,t.emitter=d(t.props.value),t}Object(a["a"])(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return e={},e[i]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,o=e.value;f(r,o)?n=0:(n="function"===typeof t?t(r,o):l,n|=0,0!==n&&this.emitter.set(e.value,n))}},r.render=function(){return this.props.children},n}(r["Component"]);c.childContextTypes=(n={},n[i]=u.a.object.isRequired,n);var h=function(t){function n(){var e;return e=t.apply(this,arguments)||this,e.state={value:e.getValue()},e.onUpdate=function(t,n){var r=0|e.observedBits;0!==(r&n)&&e.setState({value:e.getValue()})},e}Object(a["a"])(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=void 0===t||null===t?l:t},r.componentDidMount=function(){this.context[i]&&this.context[i].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=void 0===e||null===e?l:e},r.componentWillUnmount=function(){this.context[i]&&this.context[i].off(this.onUpdate)},r.getValue=function(){return this.context[i]?this.context[i].get():e},r.render=function(){return p(this.props.children)(this.state.value)},n}(r["Component"]);return h.contextTypes=(o={},o[i]=u.a.object,o),{Provider:c,Consumer:h}}var m=o.a.createContext||h;t["a"]=m}).call(this,n("IyRk"))},tJVT:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}function o(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(r=n.next()).done);i=!0)if(a.push(r.value),t&&a.length===t)break}catch(l){u=!0,o=l}finally{try{i||null==n["return"]||n["return"]()}finally{if(u)throw o}}return a}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1?arguments[1]:void 0,3);return l(n,(function(e){if(r(e,e,t))return l.stop(e)}),void 0,!1,!0).result}})},tjZM:function(e,t,n){var r=n("dG/n");r("asyncIterator")},toAj:function(e,t,n){"use strict";var r=n("I+eb"),o=n("ppGB"),a=n("QIpd"),i=n("EUja"),u=n("0Dky"),l=1..toFixed,c=Math.floor,s=function(e,t,n){return 0===t?n:t%2===1?s(e,t-1,n*e):s(e*e,t/2,n)},f=function(e){var t=0,n=e;while(n>=4096)t+=12,n/=4096;while(n>=2)t+=1,n/=2;return t},d=l&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!u((function(){l.call({})}));r({target:"Number",proto:!0,forced:d},{toFixed:function(e){var t,n,r,u,l=a(this),d=o(e),p=[0,0,0,0,0,0],h="",m="0",v=function(e,t){var n=-1,r=t;while(++n<6)r+=e*p[n],p[n]=r%1e7,r=c(r/1e7)},g=function(e){var t=6,n=0;while(--t>=0)n+=p[t],p[t]=c(n/e),n=n%e*1e7},y=function(){var e=6,t="";while(--e>=0)if(""!==t||0===e||0!==p[e]){var n=String(p[e]);t=""===t?n:t+i.call("0",7-n.length)+n}return t};if(d<0||d>20)throw RangeError("Incorrect fraction digits");if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(h="-",l=-l),l>1e-21)if(t=f(l*s(2,69,1))-69,n=t<0?l*s(2,-t,1):l/s(2,t,1),n*=4503599627370496,t=52-t,t>0){v(0,n),r=d;while(r>=7)v(1e7,0),r-=7;v(s(10,r,1),0),r=t-1;while(r>=23)g(1<<23),r-=23;g(1<0?(u=m.length,m=h+(u<=d?"0."+i.call("0",d-u)+m:m.slice(0,u-d)+"."+m.slice(u-d))):m=h+m,m}})},tpqs:function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e){"string"!==typeof e&&(e+="");var t,n=0,r=-1,o=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!o){n=t+1;break}}else-1===r&&(o=!1,r=t+1);return-1===r?"":e.slice(n,r)}function o(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r=-1&&!r;a--){var i=a>=0?arguments[a]:e.cwd();if("string"!==typeof i)throw new TypeError("Arguments to path.resolve must be strings");i&&(t=i+"/"+t,r="/"===i.charAt(0))}return t=n(o(t.split("/"),(function(e){return!!e})),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),i="/"===a(e,-1);return e=n(o(e.split("/"),(function(e){return!!e})),!r).join("/"),e||r||(e="."),e&&i&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(o(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var o=r(e.split("/")),a=r(n.split("/")),i=Math.min(o.length,a.length),u=i,l=0;l=1;--a)if(t=e.charCodeAt(a),47===t){if(!o){r=a;break}}else o=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=r(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,r=-1,o=!0,a=0,i=e.length-1;i>=0;--i){var u=e.charCodeAt(i);if(47!==u)-1===r&&(o=!1,r=i+1),46===u?-1===t?t=i:1!==a&&(a=1):-1!==t&&(a=-1);else if(!o){n=i+1;break}}return-1===t||-1===r||0===a||1===a&&t===r-1&&t===n+1?"":e.slice(t,r)};var a="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n("Q2Ig"))},tycR:function(e,t,n){var r=n("A2ZE"),o=n("RK3t"),a=n("ewvW"),i=n("UMSQ"),u=n("ZfDv"),l=[].push,c=function(e){var t=1==e,n=2==e,c=3==e,s=4==e,f=6==e,d=5==e||f;return function(p,h,m,v){for(var g,y,b=a(p),E=o(b),w=r(h,m,3),O=i(E.length),x=0,k=v||u,S=t?k(p,O):n?k(p,0):void 0;O>x;x++)if((d||x in E)&&(g=E[x],y=w(g,x,b),e))if(t)S[x]=y;else if(y)switch(e){case 3:return!0;case 5:return g;case 6:return x;case 2:l.call(S,g)}else if(s)return!1;return f?-1:c||s?s:S}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6)}},uUc8:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=n("dEAq"),i=n("Zxc8"),u=o.a.memo((e=>{var t=e.demos,n=t["docs-drag"].component;return o.a.createElement(o.a.Fragment,null,o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:"markdown"},o.a.createElement("h2",{id:"drag"},o.a.createElement(a["AnchorLink"],{to:"#drag","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"drag")),o.a.createElement(i["default"],t["docs-drag"].previewerProps,o.a.createElement(n,null))))}));t["default"]=e=>{var t=o.a.useContext(a["context"]),n=t.demos;return o.a.useEffect((()=>{var t;null!==e&&void 0!==e&&null!==(t=e.location)&&void 0!==t&&t.hash&&a["AnchorLink"].scrollToAnchor(decodeURIComponent(e.location.hash.slice(1)))}),[]),o.a.createElement(u,{demos:n})}},uWhJ:function(e,t,n){var r=n("I+eb"),o=Math.PI/180;r({target:"Math",stat:!0},{radians:function(e){return e*o}})},unQa:function(e,t,n){"use strict";var r=n("I+eb"),o=n("ImZN"),a=n("HAuM");r({target:"Map",stat:!0},{keyBy:function(e,t){var n=new this;a(t);var r=a(n.set);return o(e,(function(e){r.call(n,t(e),e)})),n}})},uqXc:function(e,t,n){var r=n("I+eb"),o=n("5Yz+");r({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},uy83:function(e,t,n){var r=n("0Dky");e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},v5b1:function(e,t,n){"use strict";var r=n("I+eb"),o=n("g6v/"),a=n("6x0u"),i=n("ewvW"),u=n("wE6v"),l=n("4WOD"),c=n("Bs8V").f;o&&r({target:"Object",proto:!0,forced:a},{__lookupGetter__:function(e){var t,n=i(this),r=u(e,!0);do{if(t=c(n,r))return t.get}while(n=l(n))}})},vDqi:function(e,t,n){e.exports=n("zuR4")},vZi8:function(e,t,n){var r=n("I+eb"),o=n("YGK4"),a=n("eDxR"),i=n("glrk"),u=n("4WOD"),l=n("ImZN"),c=a.keys,s=a.toKey,f=function(e){var t=[];return l(e,t.push,t),t},d=function(e,t){var n=c(e,t),r=u(e);if(null===r)return n;var a=d(r,t);return a.length?n.length?f(new o(n.concat(a))):a:n};r({target:"Reflect",stat:!0},{getMetadataKeys:function(e){var t=arguments.length<2?void 0:s(arguments[1]);return d(i(e),t)}})},vdRX:function(e,t,n){var r=n("I+eb");r({target:"Math",stat:!0},{DEG_PER_RAD:Math.PI/180})},viRO:function(e,t,n){"use strict";var r=n("MgzW"),o="function"===typeof Symbol&&Symbol.for,a=o?Symbol.for("react.element"):60103,i=o?Symbol.for("react.portal"):60106,u=o?Symbol.for("react.fragment"):60107,l=o?Symbol.for("react.strict_mode"):60108,c=o?Symbol.for("react.profiler"):60114,s=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,d=o?Symbol.for("react.forward_ref"):60112,p=o?Symbol.for("react.suspense"):60113,h=o?Symbol.for("react.memo"):60115,m=o?Symbol.for("react.lazy"):60116,v="function"===typeof Symbol&&Symbol.iterator;function g(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nR.length&&R.push(e)}function N(e,t,n,r){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var u=!1;if(null===e)u=!0;else switch(o){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case a:case i:u=!0}}if(u)return n(r,e,""===t?"."+D(e,0):t),1;if(u=0,t=""===t?".":t+":",Array.isArray(e))for(var l=0;ll||n!=n?f*(1/0):f*n)}},voyM:function(e,t){e.exports=Math.scale||function(e,t,n,r,o){return 0===arguments.length||e!=e||t!=t||n!=n||r!=r||o!=o?NaN:e===1/0||e===-1/0?e:(e-t)*(o-r)/(n-t)+r}},vuIU:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("o46R");function o(e,t){for(var n=0;n36)throw RangeError(u);if(!l.test(e)||(r=a(e,n)).toString(n)!==e)throw SyntaxError(i);return c*r}})},w0Vi:function(e,t,n){"use strict";var r=n("xTJ+"),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,a,i={};return e?(r.forEach(e.split("\n"),(function(e){if(a=e.indexOf(":"),t=r.trim(e.substr(0,a)).toLowerCase(),n=r.trim(e.substr(a+1)),t){if(i[t]&&o.indexOf(t)>=0)return;i[t]="set-cookie"===t?(i[t]?i[t]:[]).concat([n]):i[t]?i[t]+", "+n:n}})),i):i}},w1rZ:function(e,t,n){var r=n("I+eb"),o=n("fhKU");r({target:"Number",stat:!0,forced:Number.parseFloat!=o},{parseFloat:o})},w7s6:function(e,t,n){var r=n("I+eb");r({target:"Math",stat:!0},{RAD_PER_DEG:180/Math.PI})},wE6v:function(e,t,n){var r=n("hh1v");e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},"wZ/5":function(e,t,n){"use strict";var r=n("I+eb"),o=n("2oRo"),a=n("Yhre"),i=n("JiZb"),u="ArrayBuffer",l=a[u],c=o[u];r({global:!0,forced:c!==l},{ArrayBuffer:l}),i(u)},wfmh:function(e,t,n){var r=n("I+eb"),o=n("ImZN"),a=n("hBjN");r({target:"Object",stat:!0},{fromEntries:function(e){var t={};return o(e,(function(e,n){a(t,e,n)}),void 0,!0),t}})},wg0c:function(e,t,n){var r=n("2oRo"),o=n("WKiH").trim,a=n("WJkJ"),i=r.parseInt,u=/^[+-]?0[Xx]/,l=8!==i(a+"08")||22!==i(a+"0x16");e.exports=l?function(e,t){var n=o(String(e));return i(n,t>>>0||(u.test(n)?16:10))}:i},wgJM:function(e,t,n){"use strict";var r=function(e){return+setTimeout(e,16)},o=function(e){return clearTimeout(e)};"undefined"!==typeof window&&"requestAnimationFrame"in window&&(r=function(e){return window.requestAnimationFrame(e)},o=function(e){return window.cancelAnimationFrame(e)});var a=0,i=new Map;function u(e){i["delete"](e)}var l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;a+=1;var n=a;function o(t){if(0===t)u(n),e();else{var a=r((function(){o(t-1)}));i.set(n,a)}}return o(t),n};l.cancel=function(e){var t=i.get(e);return u(e),o(t)},t["a"]=l},wgYD:function(e,t,n){"use strict";var r=n("I+eb"),o=n("xDBR"),a=n("Cg3G");r({target:"Map",proto:!0,real:!0,forced:o},{deleteAll:function(){return a.apply(this,arguments)}})},wx14:function(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t1?arguments[1]:void 0)}})},yl30:function(e,t,n){"use strict";var r=n("q1tI"),o=n("MgzW"),a=n("QCnb");function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nt}return!1}function Z(e,t,n,r,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a}var X={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){X[e]=new Z(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];X[t]=new Z(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){X[e]=new Z(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){X[e]=new Z(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){X[e]=new Z(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){X[e]=new Z(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){X[e]=new Z(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){X[e]=new Z(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){X[e]=new Z(e,5,!1,e.toLowerCase(),null,!1)}));var Q=/[\-:]([a-z])/g;function J(e){return e[1].toUpperCase()}"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-variant 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 xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(Q,J);X[t]=new Z(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(Q,J);X[t]=new Z(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(Q,J);X[t]=new Z(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){X[e]=new Z(e,1,!1,e.toLowerCase(),null,!1)})),X.xlinkHref=new Z("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){X[e]=new Z(e,1,!1,e.toLowerCase(),null,!0)}));var ee=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function te(e,t,n,r){var o=X.hasOwnProperty(t)?X[t]:null,a=null!==o?0===o.type:!r&&(2=n.length))throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:xe(n)}}function Ue(e,t){var n=xe(t.value),r=xe(t.defaultValue);null!=n&&(n=""+n,n!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Be(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var ze={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function He(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function We(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?He(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Ve,qe=function(e){return"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction((function(){return e(t,n,r,o)}))}:e}((function(e,t){if(e.namespaceURI!==ze.svg||"innerHTML"in e)e.innerHTML=t;else{for(Ve=Ve||document.createElement("div"),Ve.innerHTML=""+t.valueOf().toString()+"",t=Ve.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function Ge(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function $e(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ke={animationend:$e("Animation","AnimationEnd"),animationiteration:$e("Animation","AnimationIteration"),animationstart:$e("Animation","AnimationStart"),transitionend:$e("Transition","TransitionEnd")},Ye={},Ze={};function Xe(e){if(Ye[e])return Ye[e];if(!Ke[e])return e;var t,n=Ke[e];for(t in n)if(n.hasOwnProperty(t)&&t in Ze)return Ye[e]=n[t];return e}A&&(Ze=document.createElement("div").style,"AnimationEvent"in window||(delete Ke.animationend.animation,delete Ke.animationiteration.animation,delete Ke.animationstart.animation),"TransitionEvent"in window||delete Ke.transitionend.transition);var Qe=Xe("animationend"),Je=Xe("animationiteration"),et=Xe("animationstart"),tt=Xe("transitionend"),nt="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),rt=new("function"===typeof WeakMap?WeakMap:Map);function ot(e){var t=rt.get(e);return void 0===t&&(t=new Map,rt.set(e,t)),t}function at(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{t=e,0!==(1026&t.effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function it(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(e=e.alternate,null!==e&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function ut(e){if(at(e)!==e)throw Error(i(188))}function lt(e){var t=e.alternate;if(!t){if(t=at(e),null===t)throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(r=o.return,null!==r){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return ut(o),e;if(a===r)return ut(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var u=!1,l=o.child;l;){if(l===n){u=!0,n=o,r=a;break}if(l===r){u=!0,r=o,n=a;break}l=l.sibling}if(!u){for(l=a.child;l;){if(l===n){u=!0,n=a,r=o;break}if(l===r){u=!0,r=a,n=o;break}l=l.sibling}if(!u)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}function ct(e){if(e=lt(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function st(e,t){if(null==t)throw Error(i(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function ft(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var dt=null;function pt(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;rgt.length&>.push(e)}function bt(e,t,n,r){if(gt.length){var o=gt.pop();return o.topLevelType=e,o.eventSystemFlags=r,o.nativeEvent=t,o.targetInst=n,o}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function Et(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;t=n.tag,5!==t&&6!==t||e.ancestors.push(n),n=zn(r)}while(n);for(n=0;n=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=En(r)}}function On(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?On(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function xn(){for(var e=window,t=bn();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;e=t.contentWindow,t=bn(e.document)}return t}function kn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var Sn="$",jn="/$",Tn="$?",An="$!",Cn=null,Pn=null;function _n(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Rn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var In="function"===typeof setTimeout?setTimeout:void 0,Mn="function"===typeof clearTimeout?clearTimeout:void 0;function Nn(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Ln(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if(n===Sn||n===An||n===Tn){if(0===t)return e;t--}else n===jn&&t++}e=e.previousSibling}return null}var Dn=Math.random().toString(36).slice(2),Fn="__reactInternalInstance$"+Dn,Un="__reactEventHandlers$"+Dn,Bn="__reactContainere$"+Dn;function zn(e){var t=e[Fn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Bn]||n[Fn]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Ln(e);null!==e;){if(n=e[Fn])return n;e=Ln(e)}return t}e=n,n=e.parentNode}return null}function Hn(e){return e=e[Fn]||e[Bn],!e||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Wn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function Vn(e){return e[Un]||null}function qn(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Gn(e,t){var n=e.stateNode;if(!n)return null;var r=m(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!("button"===e||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(i(231,t,typeof n));return n}function $n(e,t,n){(t=Gn(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=st(n._dispatchListeners,t),n._dispatchInstances=st(n._dispatchInstances,e))}function Kn(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=qn(t);for(t=n.length;0this.eventPool.length&&this.eventPool.push(e)}function ur(e){e.eventPool=[],e.getPooled=ar,e.release=ir}o(or.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nr)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nr)},persist:function(){this.isPersistent=nr},isPersistent:rr,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=rr,this._dispatchInstances=this._dispatchListeners=null}}),or.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},or.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var a=new t;return o(a,n.prototype),n.prototype=a,n.prototype.constructor=n,n.Interface=o({},r.Interface,e),n.extend=r.extend,ur(n),n},ur(or);var lr=or.extend({data:null}),cr=or.extend({data:null}),sr=[9,13,27,32],fr=A&&"CompositionEvent"in window,dr=null;A&&"documentMode"in document&&(dr=document.documentMode);var pr=A&&"TextEvent"in window&&!dr,hr=A&&(!fr||dr&&8=dr),mr=String.fromCharCode(32),vr={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},gr=!1;function yr(e,t){switch(e){case"keyup":return-1!==sr.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function br(e){return e=e.detail,"object"===typeof e&&"data"in e?e.data:null}var Er=!1;function wr(e,t){switch(e){case"compositionend":return br(t);case"keypress":return 32!==t.which?null:(gr=!0,mr);case"textInput":return e=t.data,e===mr&&gr?null:e;default:return null}}function Or(e,t){if(Er)return"compositionend"===e||!fr&&yr(e,t)?(e=tr(),er=Jn=Qn=null,Er=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=document.documentMode,oo={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},ao=null,io=null,uo=null,lo=!1;function co(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return lo||null==ao||ao!==bn(n)?null:(n=ao,"selectionStart"in n&&kn(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),uo&&no(uo,n)?null:(uo=n,e=or.getPooled(oo.select,io,e,t),e.type="select",e.target=ao,Xn(e),e))}var so={eventTypes:oo,extractEvents:function(e,t,n,r,o,a){if(o=a||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument),!(a=!o)){e:{o=ot(o),a=j.onSelect;for(var i=0;ijo||(e.current=So[jo],So[jo]=null,jo--)}function Ao(e,t){jo++,So[jo]=e.current,e.current=t}var Co={},Po={current:Co},_o={current:!1},Ro=Co;function Io(e,t){var n=e.type.contextTypes;if(!n)return Co;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Mo(e){return e=e.childContextTypes,null!==e&&void 0!==e}function No(){To(_o),To(Po)}function Lo(e,t,n){if(Po.current!==Co)throw Error(i(168));Ao(Po,t),Ao(_o,n)}function Do(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var a in r=r.getChildContext(),r)if(!(a in e))throw Error(i(108,we(t)||"Unknown",a));return o({},n,{},r)}function Fo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Co,Ro=Po.current,Ao(Po,e),Ao(_o,_o.current),!0}function Uo(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Do(e,t,Ro),r.__reactInternalMemoizedMergedChildContext=e,To(_o),To(Po),Ao(Po,e)):To(_o),Ao(_o,n)}var Bo=a.unstable_runWithPriority,zo=a.unstable_scheduleCallback,Ho=a.unstable_cancelCallback,Wo=a.unstable_requestPaint,Vo=a.unstable_now,qo=a.unstable_getCurrentPriorityLevel,Go=a.unstable_ImmediatePriority,$o=a.unstable_UserBlockingPriority,Ko=a.unstable_NormalPriority,Yo=a.unstable_LowPriority,Zo=a.unstable_IdlePriority,Xo={},Qo=a.unstable_shouldYield,Jo=void 0!==Wo?Wo:function(){},ea=null,ta=null,na=!1,ra=Vo(),oa=1e4>ra?Vo:function(){return Vo()-ra};function aa(){switch(qo()){case Go:return 99;case $o:return 98;case Ko:return 97;case Yo:return 96;case Zo:return 95;default:throw Error(i(332))}}function ia(e){switch(e){case 99:return Go;case 98:return $o;case 97:return Ko;case 96:return Yo;case 95:return Zo;default:throw Error(i(332))}}function ua(e,t){return e=ia(e),Bo(e,t)}function la(e,t,n){return e=ia(e),zo(e,t,n)}function ca(e){return null===ea?(ea=[e],ta=zo(Go,fa)):ea.push(e),Xo}function sa(){if(null!==ta){var e=ta;ta=null,Ho(e)}fa()}function fa(){if(!na&&null!==ea){na=!0;var e=0;try{var t=ea;ua(99,(function(){for(;e=t&&(Ki=!0),e.firstContext=null)}function Oa(e,t){if(ga!==e&&!1!==t&&0!==t)if("number"===typeof t&&1073741823!==t||(ga=e,t=1073741823),t={context:e,observedBits:t,next:null},null===va){if(null===ma)throw Error(i(308));va=t,ma.dependencies={expirationTime:0,firstContext:t,responders:null}}else va=va.next=t;return e._currentValue}var xa=!1;function ka(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function Sa(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function ja(e,t){return e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null},e.next=e}function Ta(e,t){if(e=e.updateQueue,null!==e){e=e.shared;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function Aa(e,t){var n=e.alternate;null!==n&&Sa(n,e),e=e.updateQueue,n=e.baseQueue,null===n?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function Ca(e,t,n,r){var a=e.updateQueue;xa=!1;var i=a.baseQueue,u=a.shared.pending;if(null!==u){if(null!==i){var l=i.next;i.next=u.next,u.next=l}i=u,a.shared.pending=null,l=e.alternate,null!==l&&(l=l.updateQueue,null!==l&&(l.baseQueue=u))}if(null!==i){l=i.next;var c=a.baseState,s=0,f=null,d=null,p=null;if(null!==l){var h=l;do{if(u=h.expirationTime,us&&(s=u)}else{null!==p&&(p=p.next={expirationTime:1073741823,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null}),Ll(u,h.suspenseConfig);e:{var v=e,g=h;switch(u=t,m=n,g.tag){case 1:if(v=g.payload,"function"===typeof v){c=v.call(m,c,u);break e}c=v;break e;case 3:v.effectTag=-4097&v.effectTag|64;case 0:if(v=g.payload,u="function"===typeof v?v.call(m,c,u):v,null===u||void 0===u)break e;c=o({},c,u);break e;case 2:xa=!0}}null!==h.callback&&(e.effectTag|=32,u=a.effects,null===u?a.effects=[h]:u.push(h))}if(h=h.next,null===h||h===l){if(u=a.shared.pending,null===u)break;h=i.next=u.next,u.next=l,a.baseQueue=i=u,a.shared.pending=null}}while(1)}null===p?f=c:p.next=d,a.baseState=f,a.baseQueue=p,Dl(s),e.expirationTime=s,e.memoizedState=c}}function Pa(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;tm?(v=f,f=null):v=f.sibling;var g=p(o,f,u[m],l);if(null===g){null===f&&(f=v);break}e&&f&&null===g.alternate&&t(o,f),i=a(g,i,m),null===s?c=g:s.sibling=g,s=g,f=v}if(m===u.length)return n(o,f),c;if(null===f){for(;mv?(g=m,m=null):g=m.sibling;var b=p(o,m,y.value,c);if(null===b){null===m&&(m=g);break}e&&m&&null===b.alternate&&t(o,m),u=a(b,u,v),null===f?s=b:f.sibling=b,f=b,m=g}if(y.done)return n(o,m),s;if(null===m){for(;!y.done;v++,y=l.next())y=d(o,y.value,c),null!==y&&(u=a(y,u,v),null===f?s=y:f.sibling=y,f=y);return s}for(m=r(o,m);!y.done;v++,y=l.next())y=h(m,o,v,y.value,c),null!==y&&(e&&null!==y.alternate&&m.delete(null===y.key?v:y.key),u=a(y,u,v),null===f?s=y:f.sibling=y,f=y);return e&&m.forEach((function(e){return t(o,e)})),s}return function(e,r,a,l){var c="object"===typeof a&&null!==a&&a.type===ie&&null===a.key;c&&(a=a.props.children);var s="object"===typeof a&&null!==a;if(s)switch(a.$$typeof){case oe:e:{for(s=a.key,c=r;null!==c;){if(c.key===s){switch(c.tag){case 7:if(a.type===ie){n(e,c.sibling),r=o(c,a.props.children),r.return=e,e=r;break e}break;default:if(c.elementType===a.type){n(e,c.sibling),r=o(c,a.props),r.ref=Ba(e,c,a),r.return=e,e=r;break e}}n(e,c);break}t(e,c),c=c.sibling}a.type===ie?(r=uc(a.props.children,e.mode,l,a.key),r.return=e,e=r):(l=ic(a.type,a.key,a.props,null,e.mode,l),l.ref=Ba(e,r,a),l.return=e,e=l)}return u(e);case ae:e:{for(c=a.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(e,r.sibling),r=o(r,a.children||[]),r.return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}r=cc(a,e.mode,l),r.return=e,e=r}return u(e)}if("string"===typeof a||"number"===typeof a)return a=""+a,null!==r&&6===r.tag?(n(e,r.sibling),r=o(r,a),r.return=e,e=r):(n(e,r),r=lc(a,e.mode,l),r.return=e,e=r),u(e);if(Ua(a))return m(e,r,a,l);if(be(a))return v(e,r,a,l);if(s&&za(e,a),"undefined"===typeof a&&!c)switch(e.tag){case 1:case 0:throw e=e.type,Error(i(152,e.displayName||e.name||"Component"))}return n(e,r)}}var Wa=Ha(!0),Va=Ha(!1),qa={},Ga={current:qa},$a={current:qa},Ka={current:qa};function Ya(e){if(e===qa)throw Error(i(174));return e}function Za(e,t){switch(Ao(Ka,t),Ao($a,e),Ao(Ga,qa),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:We(null,"");break;default:e=8===e?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=We(t,e)}To(Ga),Ao(Ga,t)}function Xa(){To(Ga),To($a),To(Ka)}function Qa(e){Ya(Ka.current);var t=Ya(Ga.current),n=We(t,e.type);t!==n&&(Ao($a,e),Ao(Ga,n))}function Ja(e){$a.current===e&&(To(Ga),To($a))}var ei={current:0};function ti(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(n=n.dehydrated,null===n||n.data===Tn||n.data===An))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function ni(e,t){return{responder:e,props:t}}var ri=ee.ReactCurrentDispatcher,oi=ee.ReactCurrentBatchConfig,ai=0,ii=null,ui=null,li=null,ci=!1;function si(){throw Error(i(321))}function fi(e,t){if(null===t)return!1;for(var n=0;na))throw Error(i(301));a+=1,li=ui=null,t.updateQueue=null,ri.current=Di,e=n(r,o)}while(t.expirationTime===ai)}if(ri.current=Mi,t=null!==ui&&null!==ui.next,ai=0,li=ui=ii=null,ci=!1,t)throw Error(i(300));return e}function pi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===li?ii.memoizedState=li=e:li=li.next=e,li}function hi(){if(null===ui){var e=ii.alternate;e=null!==e?e.memoizedState:null}else e=ui.next;var t=null===li?ii.memoizedState:li.next;if(null!==t)li=t,ui=e;else{if(null===e)throw Error(i(310));ui=e,e={memoizedState:ui.memoizedState,baseState:ui.baseState,baseQueue:ui.baseQueue,queue:ui.queue,next:null},null===li?ii.memoizedState=li=e:li=li.next=e}return li}function mi(e,t){return"function"===typeof t?t(e):t}function vi(e){var t=hi(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=ui,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var u=o.next;o.next=a.next,a.next=u}r.baseQueue=o=a,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var l=u=a=null,c=o;do{var s=c.expirationTime;if(sii.expirationTime&&(ii.expirationTime=s,Dl(s))}else null!==l&&(l=l.next={expirationTime:1073741823,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),Ll(s,c.suspenseConfig),r=c.eagerReducer===e?c.eagerState:e(r,c.action);c=c.next}while(null!==c&&c!==o);null===l?a=r:l.next=u,eo(r,t.memoizedState)||(Ki=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function gi(e){var t=hi(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var u=o=o.next;do{a=e(a,u.action),u=u.next}while(u!==o);eo(a,t.memoizedState)||(Ki=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function yi(e){var t=pi();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=t.queue={pending:null,dispatch:null,lastRenderedReducer:mi,lastRenderedState:e},e=e.dispatch=Ii.bind(null,ii,e),[t.memoizedState,e]}function bi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=ii.updateQueue,null===t?(t={lastEffect:null},ii.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,null===n?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Ei(){return hi().memoizedState}function wi(e,t,n,r){var o=pi();ii.effectTag|=e,o.memoizedState=bi(1|t,n,void 0,void 0===r?null:r)}function Oi(e,t,n,r){var o=hi();r=void 0===r?null:r;var a=void 0;if(null!==ui){var i=ui.memoizedState;if(a=i.destroy,null!==r&&fi(r,i.deps))return void bi(t,n,a,r)}ii.effectTag|=e,o.memoizedState=bi(1|t,n,a,r)}function xi(e,t){return wi(516,4,e,t)}function ki(e,t){return Oi(516,4,e,t)}function Si(e,t){return Oi(4,2,e,t)}function ji(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ti(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Oi(4,2,ji.bind(null,t,e),n)}function Ai(){}function Ci(e,t){return pi().memoizedState=[e,void 0===t?null:t],e}function Pi(e,t){var n=hi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&fi(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function _i(e,t){var n=hi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&fi(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ri(e,t,n){var r=aa();ua(98>r?98:r,(function(){e(!0)})),ua(97<\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=l.createElement(a,{is:r.is}):(e=l.createElement(a),"select"===a&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,a),e[Fn]=t,e[Un]=r,ou(e,t,!1,!1),t.stateNode=e,l=mn(a,r),a){case"iframe":case"object":case"embed":nn("load",e),c=r;break;case"video":case"audio":for(c=0;cr.tailExpiration&&1t)&&yl.set(e,t)))}}function Sl(e,t){e.expirationTimee?n:e,2>=e&&t!==e?0:e}function Tl(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=ca(Cl.bind(null,e));else{var t=jl(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=Ol();if(1073741823===t?r=99:1===t||2===t?r=95:(r=10*(1073741821-t)-10*(1073741821-r),r=0>=r?99:250>=r?98:5250>=r?97:95),null!==n){var o=e.callbackPriority;if(e.callbackExpirationTime===t&&o>=r)return;n!==Xo&&Ho(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?ca(Cl.bind(null,e)):la(r,Al.bind(null,e),{timeout:10*(1073741821-t)-oa()}),e.callbackNode=t}}}function Al(e,t){if(wl=0,t)return t=Ol(),hc(e,t),Tl(e),null;var n=jl(e);if(0!==n){if(t=e.callbackNode,(Qu&(Vu|qu))!==Hu)throw Error(i(327));if(Gl(),e===Ju&&n===tl||Il(e,n),null!==el){var r=Qu;Qu|=Vu;var o=Nl();do{try{Ul();break}catch(l){Ml(e,l)}}while(1);if(ya(),Qu=r,Bu.current=o,nl===$u)throw t=rl,Il(e,n),dc(e,n),Tl(e),t;if(null===el)switch(o=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=nl,Ju=null,r){case Gu:case $u:throw Error(i(345));case Ku:hc(e,2=n){e.lastPingedTime=n,Il(e,n);break}}if(a=jl(e),0!==a&&a!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=In(Wl.bind(null,e),o);break}Wl(e);break;case Zu:if(dc(e,n),r=e.lastSuspendedTime,n===r&&(e.nextKnownPendingLevel=Hl(o)),ll&&(o=e.lastPingedTime,0===o||o>=n)){e.lastPingedTime=n,Il(e,n);break}if(o=jl(e),0!==o&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==al?r=10*(1073741821-al)-oa():1073741823===ol?r=0:(r=10*(1073741821-ol)-5e3,o=oa(),n=10*(1073741821-n)-o,r=o-r,0>r&&(r=0),r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Uu(r/1960))-r,n=r?r=0:(o=0|u.busyDelayMs,a=oa()-(10*(1073741821-a)-(0|u.timeoutMs||5e3)),r=a<=o?0:o+r-a),10 component higher in the tree to provide a loading indicator or placeholder to display."+Oe(i))}nl!==Xu&&(nl=Ku),u=gu(u,i),f=a;do{switch(f.tag){case 3:l=u,f.effectTag|=4096,f.expirationTime=t;var E=Lu(f,l,t);Aa(f,E);break e;case 1:l=u;var w=f.type,O=f.stateNode;if(0===(64&f.effectTag)&&("function"===typeof w.getDerivedStateFromError||null!==O&&"function"===typeof O.componentDidCatch&&(null===hl||!hl.has(O)))){f.effectTag|=4096,f.expirationTime=t;var x=Du(f,l,t);Aa(f,x);break e}}f=f.return}while(null!==f)}el=zl(el)}catch(k){t=k;continue}break}while(1)}function Nl(){var e=Bu.current;return Bu.current=Mi,null===e?Mi:e}function Ll(e,t){eul&&(ul=e)}function Fl(){for(;null!==el;)el=Bl(el)}function Ul(){for(;null!==el&&!Qo();)el=Bl(el)}function Bl(e){var t=Fu(e.alternate,e,tl);return e.memoizedProps=e.pendingProps,null===t&&(t=zl(e)),zu.current=null,t}function zl(e){el=e;do{var t=el.alternate;if(e=el.return,0===(2048&el.effectTag)){if(t=mu(t,el,tl),1===tl||1!==el.childExpirationTime){for(var n=0,r=el.child;null!==r;){var o=r.expirationTime,a=r.childExpirationTime;o>n&&(n=o),a>n&&(n=a),r=r.sibling}el.childExpirationTime=n}if(null!==t)return t;null!==e&&0===(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=el.firstEffect),null!==el.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=el.firstEffect),e.lastEffect=el.lastEffect),1e?t:e}function Wl(e){var t=aa();return ua(99,Vl.bind(null,e,t)),null}function Vl(e,t){do{Gl()}while(null!==vl);if((Qu&(Vu|qu))!==Hu)throw Error(i(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var o=Hl(n);if(e.firstPendingTime=o,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===Ju&&(el=Ju=null,tl=0),1l&&(s=l,l=u,u=s),s=wn(E,u),f=wn(E,l),s&&f&&(1!==O.rangeCount||O.anchorNode!==s.node||O.anchorOffset!==s.offset||O.focusNode!==f.node||O.focusOffset!==f.offset)&&(w=w.createRange(),w.setStart(s.node,s.offset),O.removeAllRanges(),u>l?(O.addRange(w),O.extend(f.node,f.offset)):(w.setEnd(f.node,f.offset),O.addRange(w)))))),w=[];for(O=E;O=O.parentNode;)1===O.nodeType&&w.push({element:O,left:O.scrollLeft,top:O.scrollTop});for("function"===typeof E.focus&&E.focus(),E=0;E=n?cu(e,t,n):(Ao(ei,1&ei.current),t=pu(e,t,n),null!==t?t.sibling:null);Ao(ei,1&ei.current);break;case 19:if(r=t.childExpirationTime>=n,0!==(64&e.effectTag)){if(r)return du(e,t,n);t.effectTag|=64}if(o=t.memoizedState,null!==o&&(o.rendering=null,o.tail=null),Ao(ei,ei.current),!r)return null}return pu(e,t,n)}Ki=!1}}else Ki=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,o=Io(t,Po.current),wa(t,n),o=di(null,t,r,e,o,n),t.effectTag|=1,"object"===typeof o&&null!==o&&"function"===typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,Mo(r)){var a=!0;Fo(t)}else a=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,ka(t);var u=r.getDerivedStateFromProps;"function"===typeof u&&Ia(t,r,u,e),o.updater=Ma,t.stateNode=o,o._reactInternalFiber=t,Fa(t,r,e,n),t=nu(null,t,r,!0,a,n)}else t.tag=0,Yi(null,t,o,n),t=t.child;return t;case 16:e:{if(o=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,Ee(o),1!==o._status)throw o._result;switch(o=o._result,t.type=o,a=t.tag=oc(o),e=pa(o,e),a){case 0:t=eu(null,t,o,e,n);break e;case 1:t=tu(null,t,o,e,n);break e;case 11:t=Zi(null,t,o,e,n);break e;case 14:t=Xi(null,t,o,pa(o.type,e),r,n);break e}throw Error(i(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:pa(r,o),eu(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:pa(r,o),tu(e,t,r,o,n);case 3:if(ru(t),r=t.updateQueue,null===e||null===r)throw Error(i(282));if(r=t.pendingProps,o=t.memoizedState,o=null!==o?o.element:null,Sa(e,t),Ca(t,r,null,n),r=t.memoizedState.element,r===o)Gi(),t=pu(e,t,n);else{if((o=t.stateNode.hydrate)&&(Ui=Nn(t.stateNode.containerInfo.firstChild),Fi=t,o=Bi=!0),o)for(n=Va(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Yi(e,t,r,n),Gi();t=t.child}return t;case 5:return Qa(t),null===e&&Wi(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,u=o.children,Rn(r,o)?u=null:null!==a&&Rn(r,a)&&(t.effectTag|=16),Ji(e,t),4&t.mode&&1!==n&&o.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Yi(e,t,u,n),t=t.child),t;case 6:return null===e&&Wi(t),null;case 13:return cu(e,t,n);case 4:return Za(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Wa(t,null,r,n):Yi(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:pa(r,o),Zi(e,t,r,o,n);case 7:return Yi(e,t,t.pendingProps,n),t.child;case 8:return Yi(e,t,t.pendingProps.children,n),t.child;case 12:return Yi(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,u=t.memoizedProps,a=o.value;var l=t.type._context;if(Ao(ha,l._currentValue),l._currentValue=a,null!==u)if(l=u.value,a=eo(l,a)?0:0|("function"===typeof r._calculateChangedBits?r._calculateChangedBits(l,a):1073741823),0===a){if(u.children===o.children&&!_o.current){t=pu(e,t,n);break e}}else for(l=t.child,null!==l&&(l.return=t);null!==l;){var c=l.dependencies;if(null!==c){u=l.child;for(var s=c.firstContext;null!==s;){if(s.context===r&&0!==(s.observedBits&a)){1===l.tag&&(s=ja(n,null),s.tag=2,Ta(l,s)),l.expirationTime=t&&e<=t}function dc(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;nt||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function pc(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function hc(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function mc(e,t,n,r){var o=t.current,a=Ol(),u=_a.suspense;a=xl(a,o,u);e:if(n){n=n._reactInternalFiber;t:{if(at(n)!==n||1!==n.tag)throw Error(i(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(Mo(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(i(171))}if(1===n.tag){var c=n.type;if(Mo(c)){n=Do(n,c,l);break e}}n=l}else n=Co;return null===t.context?t.context=n:t.pendingContext=n,t=ja(a,u),t.payload={element:e},r=void 0===r?null:r,null!==r&&(t.callback=r),Ta(o,t),kl(o,a),a}function vc(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function gc(e,t){e=e.memoizedState,null!==e&&null!==e.dehydrated&&e.retryTimel)r(u,n=t[l++])&&(~a(c,n)||c.push(n));return c}},yq1k:function(e,t,n){"use strict";var r=n("I+eb"),o=n("TWQb").includes,a=n("RNIs"),i=n("rkAj"),u=i("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:!u},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},"yvr/":function(e,t,n){"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},"z01/":function(e,t){function n(t){return e.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports["default"]=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},z8NH:function(e,t,n){var r=n("dOgj");r("Float32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},zBJ4:function(e,t,n){var r=n("2oRo"),o=n("hh1v"),a=r.document,i=o(a)&&o(a.createElement);e.exports=function(e){return i?a.createElement(e):{}}},zKZe:function(e,t,n){var r=n("I+eb"),o=n("YNrV");r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},zLVn:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},zYLY:function(e,t,n){"use strict";function r(){var e=n("q1tI");return r=function(){return e},e}function o(e,t){return c(e)||l(e,t)||i(e,t)||a()}function a(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i(e,t){if(e){if("string"===typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n3&&void 0!==arguments[3]?arguments[3]:0;if(a=0||(o[n]=e[n]);return o}function g(e,t){if(null==e)return{};var n,r,o=v(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function y(e,t){return b(e)||E(e,t)||w(e,t)||x()}function b(e){if(Array.isArray(e))return e}function E(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(r=n.next()).done);i=!0)if(a.push(r.value),t&&a.length===t)break}catch(l){u=!0,o=l}finally{try{i||null==n["return"]||n["return"]()}finally{if(u)throw o}}return a}}function w(e,t){if(e){if("string"===typeof e)return O(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?O(e,t):void 0}}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){u=!0,a=e},f:function(){try{i||null==n["return"]||n["return"]()}finally{if(u)throw a}}}}function S(e){return c["default"].createElement(o.__RouterContext.Consumer,null,(function(t){var n=e.location||t.location,r=e.computedMatch,a=f(f({},t),{},{location:n,match:r}),i=e.render;return c["default"].createElement(o.__RouterContext.Provider,{value:a},a.match?i(f(f({},e.layoutProps),a)):null)}))}var j=["children"];function T(e){return c["default"].createElement(o.__RouterContext.Consumer,null,(function(t){var n,r=e.children,i=g(e,j),u=e.location||t.location,l=null;return a.Children.forEach(r,(function(e){if(null===l&&a.isValidElement(e)){n=e;var r=e.props.path||e.props.from;l=r?o.matchPath(u.pathname,f(f({},e.props),{},{path:r})):t.match}})),l?a.cloneElement(n,{location:u,computedMatch:l,layoutProps:i}):null}))}var A=["component"];function C(e,t){e.component;var n=g(e,A),i=e.component;function u(u){var l=a.useState((function(){return window.g_initialProps})),s=y(l,2),d=s[0],h=s[1];return a.useEffect((function(){var a=function(){var a=p(r().mark((function a(){var l,c,s,d,p;return r().wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(c=i,!i.preload){r.next=6;break}return r.next=4,i.preload();case 4:c=r.sent,c=c["default"]||c;case 6:if(s=f(f({isServer:!1,match:null===u||void 0===u?void 0:u.match,history:null===u||void 0===u?void 0:u.history,route:e},t.getInitialPropsCtx||{}),n),!(null===(l=c)||void 0===l?void 0:l.getInitialProps)){r.next=15;break}return r.next=10,t.plugin.applyPlugins({key:"ssr.modifyGetInitialPropsCtx",type:o.ApplyPluginsType.modify,initialValue:s,async:!0});case 10:return d=r.sent,r.next=13,c.getInitialProps(d||s);case 13:p=r.sent,h(p);case 15:case"end":return r.stop()}}),a)})));return function(){return a.apply(this,arguments)}}();window.g_initialProps||a()}),[window.location.pathname,window.location.search]),c["default"].createElement(i,m({},u,d))}return u.wrapInitialPropsLoaded=!0,u.displayName="ComponentWithInitialPropsFetch",u}function P(e){var t=e.route,n=e.opts,r=e.props,o=R(f(f({},n),{},{routes:t.routes||[],rootRoutes:n.rootRoutes}),{location:r.location}),i=t.component,u=t.wrappers;if(i){var l=n.isServer?{}:window.g_initialProps,s=f(f(f(f({},r),n.extraProps),n.pageInitialProps||l),{},{route:t,routes:n.rootRoutes}),d=c["default"].createElement(i,s,o);if(u){var p=u.length-1;while(p>=0)d=a.createElement(u[p],s,d),p-=1}return d}return o}function _(e){var t,n,r,a=e.route,i=e.index,u=e.opts,l={key:a.key||i,exact:a.exact,strict:a.strict,sensitive:a.sensitive,path:a.path};return a.redirect?c["default"].createElement(o.Redirect,m({},l,{from:a.path,to:a.redirect})):(!u.ssrProps||u.isServer||(null===(t=a.component)||void 0===t?void 0:t.wrapInitialPropsLoaded)||!(null===(n=a.component)||void 0===n?void 0:n.getInitialProps)&&!(null===(r=a.component)||void 0===r?void 0:r.preload)||(a.component=C(a,u)),c["default"].createElement(S,m({},l,{render:function(e){return P({route:a,opts:u,props:e})}})))}function R(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.routes?c["default"].createElement(T,t,e.routes.map((function(t,n){return _({route:t,index:n,opts:f(f({},e),{},{rootRoutes:e.rootRoutes||e.routes})})}))):null}var I=["history"];function M(e){var t=e.history,n=g(e,I);return a.useEffect((function(){function r(t,r){var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=u.matchRoutes(e.routes,t.pathname);"undefined"!==typeof document&&void 0!==n.defaultTitle&&(document.title=i.length&&i[i.length-1].route.title||n.defaultTitle||""),e.plugin.applyPlugins({key:"onRouteChange",type:o.ApplyPluginsType.event,args:{routes:e.routes,matchedRoutes:i,location:t,action:r,isFirst:a}})}return window.g_useSSR&&(window.g_initialProps=null),r(t.location,"POP",!0),t.listen(r)}),[t]),c["default"].createElement(o.Router,{history:t},R(n))}function N(e){return e.plugin.applyPlugins({type:o.ApplyPluginsType.modify,key:"rootContainer",initialValue:c["default"].createElement(M,{history:e.history,routes:e.routes,plugin:e.plugin,ssrProps:e.ssrProps,defaultTitle:e.defaultTitle}),args:{history:e.history,routes:e.routes,plugin:e.plugin}})}function L(e){return D.apply(this,arguments)}function D(){return D=p(r().mark((function e(t){var n,o,a,i,l,c,s,f,d=arguments;return r().wrap((function(e){while(1)switch(e.prev=e.next){case 0:n=d.length>1&&void 0!==d[1]?d[1]:window.location.pathname,o=u.matchRoutes(t,n),a=k(o),e.prev=3,a.s();case 5:if((i=a.n()).done){e.next=19;break}if(c=i.value,s=c.route,"string"===typeof s.component||!(null===(l=s.component)||void 0===l?void 0:l.preload)){e.next=13;break}return e.next=11,s.component.preload();case 11:f=e.sent,s.component=f["default"]||f;case 13:if(!s.routes){e.next=17;break}return e.next=16,L(s.routes,n);case 16:s.routes=e.sent;case 17:e.next=5;break;case 19:e.next=24;break;case 21:e.prev=21,e.t0=e["catch"](3),a.e(e.t0);case 24:return e.prev=24,a.f(),e.finish(24);case 27:return e.abrupt("return",t);case 28:case"end":return e.stop()}}),e,null,[[3,21,24,27]])}))),D.apply(this,arguments)}function F(e){var t=N(e);if(!e.rootElement)return t;var n="string"===typeof e.rootElement?document.getElementById(e.rootElement):e.rootElement,r=e.callback||function(){};window.g_useSSR?e.dynamicImport?L(e.routes).then((function(){i.hydrate(t,n,r)})):i.hydrate(t,n,r):i.render(t,n,r)}t.renderClient=F,t.renderRoutes=R},zqmC:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=t.LinkWrapper=void 0;var r=i(n("q1tI")),o=n("LtsZ"),a=["to"];function i(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function c(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}var s=t.LinkWrapper=function(e){return function(t){var n=t.to,o=l(t,a),i=/^(\w+:)?\/\/|^(mailto|tel):/.test(n)||!n,c=r["default"].isValidElement(o.children);return r["default"].createElement(e,u({to:n||"",component:i?function(){return r["default"].createElement("a",{target:"_blank",rel:"noopener noreferrer",href:n},o.children,n&&!c&&r["default"].createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15",className:"__dumi-default-external-link-icon"},r["default"].createElement("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}),r["default"].createElement("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"})))}:void 0},o,i?{}:{onClick:function(){var e;window.scrollTo({top:0});for(var t=arguments.length,n=new Array(t),r=0;r36)throw RangeError(u);if(!l.test(e)||(r=a(e,n)).toString(n)!==e)throw SyntaxError(i);return c*r}})},"+4Yi":function(e,t,n){var r=n("JqKL");r("Float64",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},"+7Kl":function(e,t,n){"use strict";var r=n("HIsA"),o=n("Hiyu"),a=n("QD/U"),i=n("DDwO"),u=n("hXyk"),l=n("pxmn"),c=n("xOST"),s=n("2RC6").f,f=n("D8FR"),d=n("masK"),p=n("0Ccx"),h=n("Ji6T"),m=n("liI8"),v=n("kPvK"),g=n("twJ5"),y=v("observable"),b=g.get,w=g.set,E=function(e){return null==e?void 0:i(e)},x=function(e){var t=e.cleanup;if(t){e.cleanup=void 0;try{t()}catch(n){m(n)}}},O=function(e){return void 0===e.observer},k=function(e,t){if(!o){e.closed=!0;var n=t.subscriptionObserver;n&&(n.closed=!0)}t.observer=void 0},S=function(e,t){var n,r=w(this,{cleanup:void 0,observer:u(e),subscriptionObserver:void 0});o||(this.closed=!1);try{(n=E(e.start))&&n.call(e,this)}catch(s){m(s)}if(!O(r)){var a=r.subscriptionObserver=new j(this);try{var l=t(a),c=l;null!=l&&(r.cleanup="function"===typeof l.unsubscribe?function(){c.unsubscribe()}:i(l))}catch(s){return void a.error(s)}O(r)&&x(r)}};S.prototype=d({},{unsubscribe:function(){var e=b(this);O(e)||(k(this,e),x(e))}}),o&&s(S.prototype,"closed",{configurable:!0,get:function(){return O(b(this))}});var j=function(e){w(this,{subscription:e}),o||(this.closed=!1)};j.prototype=d({},{next:function(e){var t=b(b(this).subscription);if(!O(t)){var n=t.observer;try{var r=E(n.next);r&&r.call(n,e)}catch(o){m(o)}}},error:function(e){var t=b(this).subscription,n=b(t);if(!O(n)){var r=n.observer;k(t,n);try{var o=E(r.error);o?o.call(r,e):m(e)}catch(a){m(a)}x(n)}},complete:function(){var e=b(this).subscription,t=b(e);if(!O(t)){var n=t.observer;k(e,t);try{var r=E(n.complete);r&&r.call(n)}catch(o){m(o)}x(t)}}}),o&&s(j.prototype,"closed",{configurable:!0,get:function(){return O(b(b(this).subscription))}});var T=function(e){c(this,T,"Observable"),w(this,{subscriber:i(e)})};d(T.prototype,{subscribe:function(e){var t=arguments.length;return new S("function"===typeof e?{next:e,error:t>1?arguments[1]:void 0,complete:t>2?arguments[2]:void 0}:l(e)?e:{},b(this).subscriber)}}),d(T,{from:function(e){var t="function"===typeof this?this:T,n=E(u(e)[y]);if(n){var r=u(n.call(e));return r.constructor===t?r:new t((function(e){return r.subscribe(e)}))}var o=p(e);return new t((function(e){h(o,(function(t){if(e.next(t),e.closed)return h.stop()}),void 0,!1,!0),e.complete()}))},of:function(){var e="function"===typeof this?this:T,t=arguments.length,n=new Array(t),r=0;while(r1?arguments[1]:void 0,n),l=i>2?arguments[2]:void 0,c=void 0===l?n:o(l,n);while(c>u)t[u++]=e;return t}},"+noq":function(e,t,n){n("1Xnk")},"+pdy":function(e,t,n){},"+qhb":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"/5yA":function(e,t,n){var r=n("Hiyu"),o=n("7+LC"),a=n("+qhb"),i=Object.defineProperty,u={},l=function(e){throw e};e.exports=function(e,t){if(a(u,e))return u[e];t||(t={});var n=[][e],c=!!a(t,"ACCESSORS")&&t.ACCESSORS,s=a(t,0)?t[0]:l,f=a(t,1)?t[1]:void 0;return u[e]=!!n&&!o((function(){if(c&&!r)return!0;var e={length:-1};c?i(e,1,{enumerable:!0,get:l}):e[1]=1,n.call(e,s,f)}))}},"/7QA":function(e,t,n){"use strict";var r=n("q2e5"),o=n("xwgP"),a=n.n(o);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t=0||(o[n]=e[n]);return o}function s(e,t){if(null==e)return{};var n,r,o=c(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var f=n("JrZZ");function d(e,t,n,r,o,a,i){try{var u=e[a](i),l=u.value}catch(c){return void n(c)}u.done?t(l):Promise.resolve(l).then(r,o)}function p(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){d(a,r,o,i,u,"next",e)}function u(e){d(a,r,o,i,u,"throw",e)}i(void 0)}))}}var h=n("qmvM"),m=n.n(h),v=n("v6oY"),g=n.n(v);function y(e,t){var n="cannot ".concat(e.method," ").concat(e.action," ").concat(t.status,"'"),r=new Error(n);return r.status=t.status,r.method=e.method,r.url=e.action,r}function b(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(n){return t}}function w(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var n=new FormData;e.data&&Object.keys(e.data).forEach((t=>{var r=e.data[t];Array.isArray(r)?r.forEach((e=>{n.append("".concat(t,"[]"),e)})):n.append(t,r)})),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){return t.status<200||t.status>=300?e.onError(y(e,t),b(t)):e.onSuccess(b(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var r=e.headers||{};return null!==r["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(r).forEach((e=>{null!==r[e]&&t.setRequestHeader(e,r[e])})),t.send(n),{abort(){t.abort()}}}var E=+new Date,x=0;function O(){return"rc-upload-".concat(E,"-").concat(++x)}var k=n("2WF3"),S=n.n(k),j=(e,t)=>{if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=e.type||"",a=o.replace(/\/.*$/,"");return n.some((e=>{var t=e.trim();if(/^\*(\/\*)?$/.test(e))return!0;if("."===t.charAt(0)){var n=r.toLowerCase(),i=t.toLowerCase(),u=[i];return".jpg"!==i&&".jpeg"!==i||(u=[".jpg",".jpeg"]),u.some((e=>n.endsWith(e)))}return/\/\*$/.test(t)?a===t.replace(/\/.*$/,""):o===t||!!/^\w+$/.test(t)&&(S()(!1,"Upload takes an invalidate 'accept' type '".concat(t,"'.Skip for check.")),!0)}))}return!0};function T(e,t){var n=e.createReader(),r=[];function o(){n.readEntries((e=>{var n=Array.prototype.slice.apply(e);r=r.concat(n);var a=!n.length;a?t(r):o()}))}o()}var A=(e,t,n)=>{var r=(e,o)=>{e&&(e.path=o||"",e.isFile?e.file((r=>{n(r)&&(e.fullPath&&!r.webkitRelativePath&&(Object.defineProperties(r,{webkitRelativePath:{writable:!0}}),r.webkitRelativePath=e.fullPath.replace(/^\//,""),Object.defineProperties(r,{webkitRelativePath:{writable:!1}})),t([r]))})):e.isDirectory&&T(e,(t=>{t.forEach((t=>{r(t,"".concat(o).concat(e.name,"/"))}))})))};e.forEach((e=>{r(e.webkitGetAsEntry())}))},P=A,C=["component","prefixCls","className","classNames","disabled","id","style","styles","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"];class _ extends o["Component"]{constructor(){var e;super(...arguments),e=this,this.state={uid:O()},this.reqs={},this.fileInput=void 0,this._isMounted=void 0,this.onChange=e=>{var t=this.props,n=t.accept,r=t.directory,o=e.target.files,a=[...o].filter((e=>!r||j(e,n)));this.uploadFiles(a),this.reset()},this.onClick=e=>{var t=this.fileInput;if(t){var n=this.props,r=n.children,o=n.onClick;if(r&&"button"===r.type){var a=t.parentNode;a.focus(),a.querySelector("button").blur()}t.click(),o&&o(e)}},this.onKeyDown=e=>{"Enter"===e.key&&this.onClick(e)},this.onFileDrop=e=>{var t=this.props.multiple;if(e.preventDefault(),"dragover"!==e.type)if(this.props.directory)P(Array.prototype.slice.call(e.dataTransfer.items),this.uploadFiles,(e=>j(e,this.props.accept)));else{var n=[...e.dataTransfer.files].filter((e=>j(e,this.props.accept)));!1===t&&(n=n.slice(0,1)),this.uploadFiles(n)}},this.uploadFiles=e=>{var t=[...e],n=t.map((e=>(e.uid=O(),this.processFile(e,t))));Promise.all(n).then((e=>{var t=this.props.onBatchStart;null===t||void 0===t||t(e.map((e=>{var t=e.origin,n=e.parsedFile;return{file:t,parsedFile:n}}))),e.filter((e=>null!==e.parsedFile)).forEach((e=>{this.post(e)}))}))},this.processFile=function(){var t=p(Object(f["a"])().mark((function t(n,r){var o,a,i,u,l,c,s,d,p;return Object(f["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(o=e.props.beforeUpload,a=n,!o){t.next=14;break}return t.prev=3,t.next=6,o(n,r);case 6:a=t.sent,t.next=12;break;case 9:t.prev=9,t.t0=t["catch"](3),a=!1;case 12:if(!1!==a){t.next=14;break}return t.abrupt("return",{origin:n,parsedFile:null,action:null,data:null});case 14:if(i=e.props.action,"function"!==typeof i){t.next=21;break}return t.next=18,i(n);case 18:u=t.sent,t.next=22;break;case 21:u=i;case 22:if(l=e.props.data,"function"!==typeof l){t.next=29;break}return t.next=26,l(n);case 26:c=t.sent,t.next=30;break;case 29:c=l;case 30:return s="object"!==typeof a&&"string"!==typeof a||!a?n:a,d=s instanceof File?s:new File([s],n.name,{type:n.type}),p=d,p.uid=n.uid,t.abrupt("return",{origin:n,data:c,parsedFile:p,action:u});case 35:case"end":return t.stop()}}),t,null,[[3,9]])})));return function(e,n){return t.apply(this,arguments)}}(),this.saveFileInput=e=>{this.fileInput=e}}componentDidMount(){this._isMounted=!0}componentWillUnmount(){this._isMounted=!1,this.abort()}post(e){var t=e.data,n=e.origin,r=e.action,o=e.parsedFile;if(this._isMounted){var a=this.props,i=a.onStart,u=a.customRequest,l=a.name,c=a.headers,s=a.withCredentials,f=a.method,d=n.uid,p=u||w,h={action:r,filename:l,data:t,file:o,headers:c,withCredentials:s,method:f||"post",onProgress:e=>{var t=this.props.onProgress;null===t||void 0===t||t(e,o)},onSuccess:(e,t)=>{var n=this.props.onSuccess;null===n||void 0===n||n(e,o,t),delete this.reqs[d]},onError:(e,t)=>{var n=this.props.onError;null===n||void 0===n||n(e,t,o),delete this.reqs[d]}};i(n),this.reqs[d]=p(h)}}reset(){this.setState({uid:O()})}abort(e){var t=this.reqs;if(e){var n=e.uid?e.uid:e;t[n]&&t[n].abort&&t[n].abort(),delete t[n]}else Object.keys(t).forEach((e=>{t[e]&&t[e].abort&&t[e].abort(),delete t[e]}))}render(){var e=this.props,t=e.component,n=e.prefixCls,o=e.className,i=e.classNames,u=void 0===i?{}:i,c=e.disabled,f=e.id,d=e.style,p=e.styles,h=void 0===p?{}:p,v=e.multiple,y=e.accept,b=e.capture,w=e.children,E=e.directory,x=e.openFileDialogOnClick,O=e.onMouseEnter,k=e.onMouseLeave,S=s(e,C),j=m()({[n]:!0,["".concat(n,"-disabled")]:c,[o]:o}),T=E?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},A=c?{}:{onClick:x?this.onClick:()=>{},onKeyDown:x?this.onKeyDown:()=>{},onMouseEnter:O,onMouseLeave:k,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return a.a.createElement(t,Object(r["a"])({},A,{className:j,role:"button",style:d}),a.a.createElement("input",Object(r["a"])({},g()(S,{aria:!0,data:!0}),{id:f,disabled:c,type:"file",ref:this.saveFileInput,onClick:e=>e.stopPropagation(),key:this.state.uid,style:l({display:"none"},h.input),className:u.input,accept:y},T,{multiple:v,onChange:this.onChange},null!=b?{capture:b}:{})),w)}}var I=_;function R(){}class N extends o["Component"]{constructor(){super(...arguments),this.uploader=void 0,this.saveUploader=e=>{this.uploader=e}}abort(e){this.uploader.abort(e)}render(){return a.a.createElement(I,Object(r["a"])({},this.props,{ref:this.saveUploader}))}}N.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:R,onError:R,onSuccess:R,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var L=N;n("G+Sx"),t["a"]=L},"/Fc6":function(e,t,n){"use strict";var r="function"===typeof Symbol&&Symbol["for"],o=r?Symbol["for"]("react.element"):60103,a=r?Symbol["for"]("react.portal"):60106,i=r?Symbol["for"]("react.fragment"):60107,u=r?Symbol["for"]("react.strict_mode"):60108,l=r?Symbol["for"]("react.profiler"):60114,c=r?Symbol["for"]("react.provider"):60109,s=r?Symbol["for"]("react.context"):60110,f=r?Symbol["for"]("react.async_mode"):60111,d=r?Symbol["for"]("react.concurrent_mode"):60111,p=r?Symbol["for"]("react.forward_ref"):60112,h=r?Symbol["for"]("react.suspense"):60113,m=r?Symbol["for"]("react.suspense_list"):60120,v=r?Symbol["for"]("react.memo"):60115,g=r?Symbol["for"]("react.lazy"):60116,y=r?Symbol["for"]("react.block"):60121,b=r?Symbol["for"]("react.fundamental"):60117,w=r?Symbol["for"]("react.responder"):60118,E=r?Symbol["for"]("react.scope"):60119;function x(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type,e){case f:case d:case i:case l:case u:case h:return e;default:switch(e=e&&e.$$typeof,e){case s:case p:case g:case v:case c:return e;default:return t}}case a:return t}}}function O(e){return x(e)===d}t.AsyncMode=f,t.ConcurrentMode=d,t.ContextConsumer=s,t.ContextProvider=c,t.Element=o,t.ForwardRef=p,t.Fragment=i,t.Lazy=g,t.Memo=v,t.Portal=a,t.Profiler=l,t.StrictMode=u,t.Suspense=h,t.isAsyncMode=function(e){return O(e)||x(e)===f},t.isConcurrentMode=O,t.isContextConsumer=function(e){return x(e)===s},t.isContextProvider=function(e){return x(e)===c},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return x(e)===p},t.isFragment=function(e){return x(e)===i},t.isLazy=function(e){return x(e)===g},t.isMemo=function(e){return x(e)===v},t.isPortal=function(e){return x(e)===a},t.isProfiler=function(e){return x(e)===l},t.isStrictMode=function(e){return x(e)===u},t.isSuspense=function(e){return x(e)===h},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===d||e===l||e===u||e===h||e===m||"object"===typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===v||e.$$typeof===c||e.$$typeof===s||e.$$typeof===p||e.$$typeof===b||e.$$typeof===w||e.$$typeof===E||e.$$typeof===y)},t.typeOf=x},"/Izz":function(e,t){e.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},"/O7/":function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},"/P+o":function(e,t,n){"use strict";var r=n("HIsA"),o=n("Hiyu"),a=n("12fA"),i=n("NVMI"),u=n("DDwO"),l=n("2RC6");o&&r({target:"Object",proto:!0,forced:a},{__defineGetter__:function(e,t){l.f(i(this),e,{get:u(t),enumerable:!0,configurable:!0})}})},"/k0j":function(e,t,n){var r=n("tauh")["default"],o=n("MuAQ");function a(e){var t=o(e,"string");return"symbol"===r(t)?t:String(t)}e.exports=a,e.exports.__esModule=!0,e.exports["default"]=e.exports},"/mYO":function(e,t,n){"use strict";var r=n("43gm");function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},"/p+0":function(e,t,n){"use strict";var r=n("HIsA"),o=n("m52V"),a=n("hXyk"),i=n("DDwO");r({target:"Map",proto:!0,real:!0,forced:o},{update:function(e,t){var n=a(this),r=arguments.length;i(t);var o=n.has(e);if(!o&&r<3)throw TypeError("Updating absent value");var u=o?n.get(e):i(r>2?arguments[2]:void 0)(e,n);return n.set(e,t(u,e,n)),n}})},0:function(e,t,n){e.exports=n("tB8F")},"0Brq":function(e,t,n){var r=n("JqKL");r("Int16",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},"0Ccx":function(e,t,n){var r=n("hXyk"),o=n("tg/3");e.exports=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},"0MLT":function(e,t,n){"use strict";var r=n("DDwO"),o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},"0QRt":function(e,t,n){"use strict";var r=n("2JD6"),o=n("Wp5u"),a=n("oTOb"),i=n("kPvK"),u=i("iterator"),l=r.Uint8Array,c=a.values,s=a.keys,f=a.entries,d=o.aTypedArray,p=o.exportTypedArrayMethod,h=l&&l.prototype[u],m=!!h&&("values"==h.name||void 0==h.name),v=function(){return c.call(d(this))};p("entries",(function(){return f.call(d(this))})),p("keys",(function(){return s.call(d(this))})),p("values",v,!m),p(u,v,!m)},"0Uim":function(e,t,n){var r=n("HIsA"),o=n("Rkte");r({target:"Math",stat:!0},{scale:o})},"0f0C":function(e,t,n){var r=n("pxmn");e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"0gua":function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}function o(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(r=n.next()).done);i=!0)if(a.push(r.value),t&&a.length===t)break}catch(l){u=!0,o=l}finally{try{i||null==n["return"]||n["return"]()}finally{if(u)throw o}}return a}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{var t=e.demos,n=t["docs-customrequest"].component;return o.a.createElement(o.a.Fragment,null,o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:"markdown"},o.a.createElement("h2",{id:"customrequest"},o.a.createElement(a["AnchorLink"],{to:"#customrequest","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"customRequest")),o.a.createElement(i["default"],t["docs-customrequest"].previewerProps,o.a.createElement(n,null))))}));t["default"]=e=>{var t=o.a.useContext(a["context"]),n=t.demos;return o.a.useEffect((()=>{var t;null!==e&&void 0!==e&&null!==(t=e.location)&&void 0!==t&&t.hash&&a["AnchorLink"].scrollToAnchor(decodeURIComponent(e.location.hash.slice(1)))}),[]),o.a.createElement(u,{demos:n})}},"2+gS":function(e,t,n){var r=n("Hiyu"),o=n("2RC6"),a=n("hXyk"),i=n("y6vz");e.exports=r?Object.defineProperties:function(e,t){a(e);var n,r=i(t),u=r.length,l=0;while(u>l)o.f(e,n=r[l++],t[n]);return e}},"27OL":function(e,t,n){"use strict";var r=n("HIsA"),o=n("Xf1w").filter,a=n("HqdE"),i=n("/5yA"),u=a("filter"),l=i("filter");r({target:"Array",proto:!0,forced:!u||!l},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},"2BKa":function(e,t,n){"use strict";var r=2147483647,o=36,a=1,i=26,u=38,l=700,c=72,s=128,f="-",d=/[^\0-\u007E]/,p=/[.\u3002\uFF0E\uFF61]/g,h="Overflow: input needs wider integers to process",m=o-a,v=Math.floor,g=String.fromCharCode,y=function(e){var t=[],n=0,r=e.length;while(n=55296&&o<=56319&&n>1,e+=v(e/t);e>m*i>>1;r+=o)e=v(e/m);return v(r+(m+1)*e/(e+u))},E=function(e){var t=[];e=y(e);var n,u,l=e.length,d=s,p=0,m=c;for(n=0;n=d&&uv((r-p)/k))throw RangeError(h);for(p+=(O-d)*k,d=O,n=0;nr)throw RangeError(h);if(u==d){for(var S=p,j=o;;j+=o){var T=j<=m?a:j>=m+i?i:j-m;if(S0?o(r(e),9007199254740991):0}},"2JD6":function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(this,n("PCY7"))},"2Pxf":function(e,t,n){"use strict";var r=n("Hiyu"),o=n("7+LC"),a=n("y6vz"),i=n("CmBG"),u=n("73Ew"),l=n("NVMI"),c=n("aS93"),s=Object.assign,f=Object.defineProperty;e.exports=!s||o((function(){if(r&&1!==s({b:1},s(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(e){t[e]=e})),7!=s({},e)[n]||a(s({},t)).join("")!=o}))?function(e,t){var n=l(e),o=arguments.length,s=1,f=i.f,d=u.f;while(o>s){var p,h=c(arguments[s++]),m=f?a(h).concat(f(h)):a(h),v=m.length,g=0;while(v>g)p=m[g++],r&&!d.call(h,p)||(n[p]=h[p])}return n}:s},"2RC6":function(e,t,n){var r=n("Hiyu"),o=n("IDl8"),a=n("hXyk"),i=n("n2ef"),u=Object.defineProperty;t.f=r?u:function(e,t,n){if(a(e),t=i(t,!0),a(n),o)try{return u(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},"2WF3":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.call=c,t["default"]=void 0,t.note=u,t.noteOnce=f,t.preMessage=void 0,t.resetWarned=l,t.warning=i,t.warningOnce=s;var r={},o=[],a=function(e){o.push(e)};function i(e,t){}function u(e,t){}function l(){r={}}function c(e,t,n){t||r[n]||(e(!1,n),r[n]=!0)}function s(e,t){c(i,e,t)}function f(e,t){c(u,e,t)}t.preMessage=a,s.preMessage=a,s.resetWarned=l,s.noteOnce=f;var d=s;t["default"]=d},"2hCa":function(e,t,n){var r=n("aS93"),o=n("JzK+");e.exports=function(e){return r(o(e))}},"2kiq":function(e,t,n){"use strict";e.exports=n("/Fc6")},"2o+J":function(e,t,n){"use strict";function r(){return!("undefined"===typeof window||!window.document||!window.document.createElement)}n.d(t,"a",(function(){return r}))},"2x2d":function(e,t,n){var r=n("HIsA"),o=n("icJ8"),a=n("hXyk"),i=n("kI7s"),u=o.has,l=o.get,c=o.toKey,s=function(e,t,n){var r=u(e,t,n);if(r)return l(e,t,n);var o=i(t);return null!==o?s(e,o,n):void 0};r({target:"Reflect",stat:!0},{getMetadata:function(e,t){var n=arguments.length<3?void 0:c(arguments[2]);return s(e,a(t),n)}})},"31FF":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=u(n("xwgP")),o=a(n("ubIt"));function a(e){return e&&e.__esModule?e:{default:e}}function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==l(e)&&"function"!==typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=o?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(r,a,u):r[a]=e[a]}return r["default"]=e,n&&n.set(e,r),r}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=d(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){u=!0,a=e},f:function(){try{i||null==n["return"]||n["return"]()}finally{if(u)throw a}}}}function s(e,t){return m(e)||h(e,t)||d(e,t)||f()}function f(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function d(e,t){if(e){if("string"===typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;i-=1){var u=o[i],l=[u].concat(u.children).filter(Boolean),c=l.find((function(e){return e.path&&new RegExp("^".concat(e.path.replace(/\.html$/,""),"(/|.|$)")).test(n[2])}));if(c){a=c.path;break}}return(null===(e=n[0].menus[n[1]])||void 0===e?void 0:e[a])||[]},a=(0,r.useState)(o(e,t,n)),i=s(a,2),u=i[0],l=i[1];return(0,r.useLayoutEffect)((function(){l(o(e,t,n))}),[e.navs,e.menus,t,n]),u},k=function(e,t,n){var o=function(){for(var t=arguments.length,r=new Array(t),o=0;o{f.append(e,n[e])})),f.append(o,r),i.a.post(t,f,{withCredentials:s,headers:a,onUploadProgress:e=>{var t=e.total,n=e.loaded;l({percent:Math.round(n/t*100).toFixed(2)},r)}}).then((e=>{var t=e.data;c(t,r)})).catch(u),{abort(){console.log("upload progress is aborted.")}}}},c=()=>o.a.createElement("div",{style:{margin:100}},o.a.createElement("div",null,o.a.createElement(u["a"],l,o.a.createElement("button",{type:"button"},"\u5f00\u59cb\u4e0a\u4f20"))));t["default"]=c},"40mc":function(e,t,n){var r=n("DDwO");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},"41ra":function(e,t,n){"use strict";var r=n("HIsA"),o=n("UTnC");r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},"43gm":function(e,t,n){"use strict";var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=r},"4CZv":function(e,t){var n=1/0,r=Math.abs,o=Math.pow,a=Math.floor,i=Math.log,u=Math.LN2,l=function(e,t,l){var c,s,f,d=new Array(l),p=8*l-t-1,h=(1<>1,v=23===t?o(2,-24)-o(2,-77):0,g=e<0||0===e&&1/e<0?1:0,y=0;for(e=r(e),e!=e||e===n?(s=e!=e?1:0,c=h):(c=a(i(e)/u),e*(f=o(2,-c))<1&&(c--,f*=2),e+=c+m>=1?v/f:v*o(2,1-m),e*f>=2&&(c++,f/=2),c+m>=h?(s=0,c=h):c+m>=1?(s=(e*f-1)*o(2,t),c+=m):(s=e*o(2,m-1)*o(2,t),c=0));t>=8;d[y++]=255&s,s/=256,t-=8);for(c=c<0;d[y++]=255&c,c/=256,p-=8);return d[--y]|=128*g,d},c=function(e,t){var r,a=e.length,i=8*a-t-1,u=(1<>1,c=i-7,s=a-1,f=e[s--],d=127&f;for(f>>=7;c>0;d=256*d+e[s],s--,c-=8);for(r=d&(1<<-c)-1,d>>=-c,c+=t;c>0;r=256*r+e[s],s--,c-=8);if(0===d)d=1-l;else{if(d===u)return r?NaN:f?-n:n;r+=o(2,t),d-=l}return(f?-1:1)*r*o(2,d-t)};e.exports={pack:l,unpack:c}},"4Rd9":function(e,t,n){"use strict";var r=n("HIsA"),o=n("m52V"),a=n("keKz"),i=n("7+LC"),u=n("bXon"),l=n("70zE"),c=n("n+WB"),s=n("GUTS"),f=!!a&&i((function(){a.prototype["finally"].call({then:function(){}},(function(){}))}));r({target:"Promise",proto:!0,real:!0,forced:f},{finally:function(e){var t=l(this,u("Promise")),n="function"==typeof e;return this.then(n?function(n){return c(t,e()).then((function(){return n}))}:e,n?function(n){return c(t,e()).then((function(){throw n}))}:e)}}),o||"function"!=typeof a||a.prototype["finally"]||s(a.prototype,"finally",u("Promise").prototype["finally"])},"4Une":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getParameters=void 0;var r=n("WxlZ");function o(e){return r.compressToBase64(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function a(e){return o(JSON.stringify(e))}t.getParameters=a},"4X4Z":function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,"a",(function(){return r}))},"4YzK":function(e,t,n){var r=n("R64i"),o=n("GUTS"),a=n("Uvls");r||o(Object.prototype,"toString",a,{unsafe:!0})},"4dbd":function(e,t,n){var r=n("PaPB"),o=Math.max,a=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):a(n,t)}},"4dmQ":function(e,t,n){var r=n("IRht");e.exports=function(e){if("number"!=typeof e&&"Number"!=r(e))throw TypeError("Incorrect invocation");return+e}},"4e8G":function(e,t,n){n("Nau9")},"4zH6":function(e,t,n){"use strict";n.r(t),n.d(t,"createBrowserHistory",(function(){return o["a"]})),n.d(t,"createHashHistory",(function(){return o["b"]})),n.d(t,"createMemoryHistory",(function(){return o["d"]})),n.d(t,"__RouterContext",(function(){return a["h"]})),n.d(t,"Link",(function(){return y})),n.d(t,"MemoryRouter",(function(){return a["a"]})),n.d(t,"NavLink",(function(){return x})),n.d(t,"Prompt",(function(){return a["b"]})),n.d(t,"Redirect",(function(){return a["c"]})),n.d(t,"Route",(function(){return a["d"]})),n.d(t,"Router",(function(){return a["e"]})),n.d(t,"StaticRouter",(function(){return a["f"]})),n.d(t,"Switch",(function(){return a["g"]})),n.d(t,"matchPath",(function(){return a["i"]})),n.d(t,"useHistory",(function(){return a["j"]})),n.d(t,"useLocation",(function(){return a["k"]})),n.d(t,"useParams",(function(){return a["l"]})),n.d(t,"useRouteMatch",(function(){return a["m"]})),n.d(t,"withRouter",(function(){return a["n"]})),n.d(t,"ApplyPluginsType",(function(){return te})),n.d(t,"Plugin",(function(){return ae})),n.d(t,"dynamic",(function(){return Z})),n.d(t,"isBrowser",(function(){return ne}));var r=n("JrZZ"),o=n("HFu6"),a=n("q5+0"),i=n("o1Ib"),u=n("xwgP"),l=n.n(u),c=n("g0fg"),s=n("67U+"),f=n("ASiN");l.a.Component;l.a.Component;var d=function(e,t){return"function"===typeof e?e(t):e},p=function(e,t){return"string"===typeof e?Object(o["c"])(e,null,null,t):e},h=function(e){return e},m=l.a.forwardRef;function v(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}"undefined"===typeof m&&(m=h);var g=m((function(e,t){var n=e.innerRef,r=e.navigate,o=e.onClick,a=Object(s["a"])(e,["innerRef","navigate","onClick"]),i=a.target,u=Object(c["a"])({},a,{onClick:function(e){try{o&&o(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||i&&"_self"!==i||v(e)||(e.preventDefault(),r())}});return u.ref=h!==m&&t||n,l.a.createElement("a",u)}));var y=m((function(e,t){var n=e.component,r=void 0===n?g:n,o=e.replace,i=e.to,u=e.innerRef,v=Object(s["a"])(e,["component","replace","to","innerRef"]);return l.a.createElement(a["h"].Consumer,null,(function(e){e||Object(f["a"])(!1);var n=e.history,a=p(d(i,e.location),e.location),s=a?n.createHref(a):"",g=Object(c["a"])({},v,{href:s,navigate:function(){var t=d(i,e.location),r=o?n.replace:n.push;r(t)}});return h!==m?g.ref=t||u:g.innerRef=u,l.a.createElement(r,g)}))})),b=function(e){return e},w=l.a.forwardRef;function E(){for(var e=arguments.length,t=new Array(e),n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){u=!0,a=e},f:function(){try{i||null==n["return"]||n["return"]()}finally{if(u)throw a}}}}var H=Object(u["createContext"])(null),z=[],B=[],V=!1;function K(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e}))["catch"]((function(e){throw n.loading=!1,n.error=e,e})),n}function $(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(r){var o=K(e[r]);o.loading?t.loading=!0:(t.loaded[r]=o.loaded,t.error=o.error),n.push(o.promise),o.promise.then((function(e){t.loaded[r]=e}))["catch"]((function(e){t.error=e}))}))}catch(r){t.error=r}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e}))["catch"]((function(e){throw t.loading=!1,e})),t}function W(e){return e&&e.__esModule?e["default"]:e}function q(e,t){return Object(u["createElement"])(W(e),t)}function G(e,t){var n=Object.assign({loader:null,loading:null,delay:200,timeout:null,render:q,webpack:null,modules:null},t),r=null;function o(){if(!r){var t=new X(e,n);r={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return r.promise()}if("undefined"===typeof window&&z.push(o),!V&&"undefined"!==typeof window&&"function"===typeof n.webpack){var a=n.webpack();B.push((function(e){var t,n=U(a);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(-1!==e.indexOf(r))return o()}}catch(i){n.e(i)}finally{n.f()}}))}var i=function(e,t){o();var a=Object(u["useContext"])(H),i=Object(O["useSubscription"])(r);return Object(u["useImperativeHandle"])(t,(function(){return{retry:r.retry}})),a&&Array.isArray(n.modules)&&n.modules.forEach((function(e){a(e)})),i.loading||i.error?Object(u["createElement"])(n.loading,{isLoading:i.loading,pastDelay:i.pastDelay,timedOut:i.timedOut,error:i.error,retry:r.retry}):i.loaded?n.render(i.loaded,e):null},l=Object(u["forwardRef"])(i);return l.preload=function(){return o()},l.displayName="LoadableComponent",l}var X=function(){function e(t,n){P(this,e),this._loadFn=t,this._opts=n,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}return _(e,[{key:"promise",value:function(){return this._res.promise}},{key:"retry",value:function(){var e=this;this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};var t=this._res,n=this._opts;t.loading&&("number"===typeof n.delay&&(0===n.delay?this._state.pastDelay=!0:this._delay=setTimeout((function(){e._update({pastDelay:!0})}),n.delay)),"number"===typeof n.timeout&&(this._timeout=setTimeout((function(){e._update({timedOut:!0})}),n.timeout))),this._res.promise.then((function(){e._update(),e._clearTimeouts()}))["catch"]((function(t){e._update(),e._clearTimeouts()})),this._update({})}},{key:"_update",value:function(e){this._state=S(S({},this._state),e),this._callbacks.forEach((function(e){return e()}))}},{key:"_clearTimeouts",value:function(){clearTimeout(this._delay),clearTimeout(this._timeout)}},{key:"getCurrentValue",value:function(){return S(S({},this._state),{},{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading})}},{key:"subscribe",value:function(e){var t=this;return this._callbacks.add(e),function(){t._callbacks["delete"](e)}}}]),e}();function J(e){return G(K,e)}function Y(e){if("function"!==typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return G($,e)}function Q(e,t){var n=[];while(e.length){var r=e.pop();n.push(r(t))}return Promise.all(n).then((function(){if(e.length)return Q(e,t)}))}function Z(e){var t=J,n={loading:function(e){e.error,e.isLoading;return Object(u["createElement"])("p",null,"loading...")}};if("function"===typeof e)n.loader=e;else{if("object"!==j(e))throw new Error("Unexpect arguments ".concat(e));n=S(S({},n),e)}return t(n)}function ee(e,t){if(!e)throw new Error(t)}J.Map=Y,J.preloadAll=function(){return new Promise((function(e,t){Q(z).then(e,t)}))},J.preloadReady=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise((function(t){var n=function(){return V=!0,t()};Q(B,e).then(n,n)}))},"undefined"!==typeof window&&(window.__NEXT_PRELOADREADY=J.preloadReady);var te,ne=function(){return"undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement};function re(e){var t=e.fns,n=e.args;if(1===t.length)return t[0];var r=t.pop();return t.reduce((function(e,t){return function(){return t(e,n)}}),r)}function oe(e){return!!e&&"object"===j(e)&&"function"===typeof e.then}(function(e){e["compose"]="compose",e["modify"]="modify",e["event"]="event"})(te||(te={}));var ae=function(){function e(t){P(this,e),this.validKeys=void 0,this.hooks={},this.validKeys=(null===t||void 0===t?void 0:t.validKeys)||[]}return _(e,[{key:"register",value:function(e){var t=this;ee(!!e.apply,"register failed, plugin.apply must supplied"),ee(!!e.path,"register failed, plugin.path must supplied"),Object.keys(e.apply).forEach((function(n){ee(t.validKeys.indexOf(n)>-1,"register failed, invalid key ".concat(n," from plugin ").concat(e.path,".")),t.hooks[n]||(t.hooks[n]=[]),t.hooks[n]=t.hooks[n].concat(e.apply[n])}))}},{key:"getHooks",value:function(e){var t=e.split("."),n=R(t),r=n[0],o=n.slice(1),a=this.hooks[r]||[];return o.length&&(a=a.map((function(e){try{var t,n=e,r=U(o);try{for(r.s();!(t=r.n()).done;){var a=t.value;n=n[a]}}catch(i){r.e(i)}finally{r.f()}return n}catch(u){return null}})).filter(Boolean)),a}},{key:"applyPlugins",value:function(e){var t=e.key,n=e.type,o=e.initialValue,a=e.args,i=e.async,u=this.getHooks(t)||[];switch(a&&ee("object"===j(a),"applyPlugins failed, args must be plain object."),n){case te.modify:return i?u.reduce(function(){var e=A(Object(r["a"])().mark((function e(n,o){var i;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(ee("function"===typeof o||"object"===j(o)||oe(o),"applyPlugins failed, all hooks for key ".concat(t," must be function, plain object or Promise.")),!oe(n)){e.next=5;break}return e.next=4,n;case 4:n=e.sent;case 5:if("function"!==typeof o){e.next=16;break}if(i=o(n,a),!oe(i)){e.next=13;break}return e.next=10,i;case 10:return e.abrupt("return",e.sent);case 13:return e.abrupt("return",i);case 14:e.next=21;break;case 16:if(!oe(o)){e.next=20;break}return e.next=19,o;case 19:o=e.sent;case 20:return e.abrupt("return",S(S({},n),o));case 21:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),oe(o)?o:Promise.resolve(o)):u.reduce((function(e,n){return ee("function"===typeof n||"object"===j(n),"applyPlugins failed, all hooks for key ".concat(t," must be function or plain object.")),"function"===typeof n?n(e,a):S(S({},e),n)}),o);case te.event:return u.forEach((function(e){ee("function"===typeof e,"applyPlugins failed, all hooks for key ".concat(t," must be function.")),e(a)}));case te.compose:return function(){return re({fns:u.concat(o),args:a})()}}}}]),e}()},"5AZ8":function(e,t,n){"use strict";var r=n("DDwO"),o=n("40mc"),a=n("Ji6T");e.exports=function(e){var t,n,i,u,l=arguments.length,c=l>1?arguments[1]:void 0;return r(this),t=void 0!==c,t&&r(c),void 0==e?new this:(n=[],t?(i=0,u=o(c,l>2?arguments[2]:void 0,2),a(e,(function(e){n.push(u(e,i++))}))):a(e,n.push,n),new this(n))}},"5Au7":function(e,t,n){"use strict";var r=n("HIsA"),o=n("m52V"),a=n("hXyk"),i=n("40mc"),u=n("YjHi"),l=n("Ji6T");r({target:"Map",proto:!0,real:!0,forced:o},{find:function(e){var t=a(this),n=u(t),r=i(e,arguments.length>1?arguments[1]:void 0,3);return l(n,(function(e,n){if(r(n,e,t))return l.stop(n)}),void 0,!0,!0).result}})},"5Nth":function(e,t,n){var r=n("2JD6"),o=n("D8FR");e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},"5isN":function(e,t,n){"use strict";var r=n("40mc"),o=n("NVMI"),a=n("acWz"),i=n("mKn/"),u=n("2I03"),l=n("G70G"),c=n("tg/3");e.exports=function(e){var t,n,s,f,d,p,h=o(e),m="function"==typeof this?this:Array,v=arguments.length,g=v>1?arguments[1]:void 0,y=void 0!==g,b=c(h),w=0;if(y&&(g=r(g,v>2?arguments[2]:void 0,2)),void 0==b||m==Array&&i(b))for(t=u(h.length),n=new m(t);t>w;w++)p=y?g(h[w],w):h[w],l(n,w,p);else for(f=b.call(h),d=f.next,n=new m;!(s=d.call(f)).done;w++)p=y?a(f,g,[s.value,w],!0):s.value,l(n,w,p);return n.length=w,n}},"5nFP":function(e,t,n){"use strict";var r=n("Wp5u"),o=n("2I03"),a=n("eusP"),i=n("NVMI"),u=n("7+LC"),l=r.aTypedArray,c=r.exportTypedArrayMethod,s=u((function(){new Int8Array(1).set({})}));c("set",(function(e){l(this);var t=a(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=i(e),u=o(r.length),c=0;if(u+t>n)throw RangeError("Wrong length");while(c=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},"68qY":function(e,t){function n(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(r=n.next()).done);i=!0)if(a.push(r.value),t&&a.length===t)break}catch(l){u=!0,o=l}finally{try{i||null==n["return"]||n["return"]()}finally{if(u)throw o}}return a}}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},"6Nbm":function(e,t,n){var r=n("7+LC"),o=/#|\.prototype\./,a=function(e,t){var n=u[i(e)];return n==c||n!=l&&("function"==typeof t?r(t):!!t)},i=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},u=a.data={},l=a.NATIVE="N",c=a.POLYFILL="P";e.exports=a},"6UgN":function(e,t,n){"use strict";n.r(t),n.d(t,"matchRoutes",(function(){return u})),n.d(t,"renderRoutes",(function(){return l}));var r=n("q5+0"),o=n("g0fg"),a=n("xwgP"),i=n.n(a);function u(e,t,n){return void 0===n&&(n=[]),e.some((function(e){var o=e.path?Object(r["i"])(t,e):n.length?n[n.length-1].match:r["e"].computeRootMatch(t);return o&&(n.push({route:e,match:o}),e.routes&&u(e.routes,t,n)),o})),n}function l(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e?i.a.createElement(r["g"],n,e.map((function(e,n){return i.a.createElement(r["d"],{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:function(n){return e.render?e.render(Object(o["a"])({},n,{},t,{route:e})):i.a.createElement(e.component,Object(o["a"])({},n,t,{route:e}))}})}))):null}},"6mmk":function(e,t,n){"use strict";var r=n("HIsA"),o=n("4dbd"),a=n("PaPB"),i=n("2I03"),u=n("NVMI"),l=n("HKEF"),c=n("G70G"),s=n("HqdE"),f=n("/5yA"),d=s("splice"),p=f("splice",{ACCESSORS:!0,0:0,1:2}),h=Math.max,m=Math.min,v=9007199254740991,g="Maximum allowed length exceeded";r({target:"Array",proto:!0,forced:!d||!p},{splice:function(e,t){var n,r,s,f,d,p,y=u(this),b=i(y.length),w=o(e,b),E=arguments.length;if(0===E?n=r=0:1===E?(n=0,r=b-w):(n=E-2,r=m(h(a(t),0),b-w)),b+n-r>v)throw TypeError(g);for(s=l(y,r),f=0;fb-r+n;f--)delete y[f-1]}else if(n>r)for(f=b-r;f>w;f--)d=f+r-1,p=f+n-1,d in y?y[p]=y[d]:delete y[p];for(f=0;fl)r(u,n=t[l++])&&(~a(c,n)||c.push(n));return c}},"7+LC":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"70zE":function(e,t,n){var r=n("hXyk"),o=n("DDwO"),a=n("kPvK"),i=a("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||void 0==(n=r(a)[i])?t:o(n)}},"73Ew":function(e,t,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,a=o&&!r.call({1:2},1);t.f=a?function(e){var t=o(this,e);return!!t&&t.enumerable}:r},"7Kf9":function(e,t,n){"use strict";var r=n("HIsA"),o=n("m52V"),a=n("hXyk"),i=n("DDwO"),u=n("Ji6T");r({target:"Set",proto:!0,real:!0,forced:o},{isSupersetOf:function(e){var t=a(this),n=i(t.has);return!u(e,(function(e){if(!1===n.call(t,e))return u.stop()})).stopped}})},"7LRl":function(e,t,n){"use strict";var r=n("HIsA"),o=n("Ra/9").indexOf,a=n("1+Eb"),i=n("/5yA"),u=[].indexOf,l=!!u&&1/[1].indexOf(1,-0)<0,c=a("indexOf"),s=i("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:l||!c||!s},{indexOf:function(e){return l?u.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})},"7PKZ":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("SvOI");function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Object(r["a"])(e,t)}},"7Q2v":function(e,t,n){"use strict";var r,o,a,i,u=n("HIsA"),l=n("m52V"),c=n("2JD6"),s=n("bXon"),f=n("keKz"),d=n("GUTS"),p=n("masK"),h=n("J7X1"),m=n("QD/U"),v=n("pxmn"),g=n("DDwO"),y=n("xOST"),b=n("IRht"),w=n("ECWN"),E=n("Ji6T"),x=n("9HG5"),O=n("70zE"),k=n("vYQ8").set,S=n("I67C"),j=n("n+WB"),T=n("liI8"),A=n("0MLT"),P=n("uCRN"),C=n("twJ5"),_=n("6Nbm"),I=n("kPvK"),R=n("9ZTU"),N=I("species"),L="Promise",M=C.get,D=C.set,F=C.getterFor(L),U=f,H=c.TypeError,z=c.document,B=c.process,V=s("fetch"),K=A.f,$=K,W="process"==b(B),q=!!(z&&z.createEvent&&c.dispatchEvent),G="unhandledrejection",X="rejectionhandled",J=0,Y=1,Q=2,Z=1,ee=2,te=_(L,(function(){var e=w(U)!==String(U);if(!e){if(66===R)return!0;if(!W&&"function"!=typeof PromiseRejectionEvent)return!0}if(l&&!U.prototype["finally"])return!0;if(R>=51&&/native code/.test(U))return!1;var t=U.resolve(1),n=function(e){e((function(){}),(function(){}))},r=t.constructor={};return r[N]=n,!(t.then((function(){}))instanceof n)})),ne=te||!x((function(e){U.all(e)["catch"]((function(){}))})),re=function(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t},oe=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;S((function(){var o=t.value,a=t.state==Y,i=0;while(r.length>i){var u,l,c,s=r[i++],f=a?s.ok:s.fail,d=s.resolve,p=s.reject,h=s.domain;try{f?(a||(t.rejection===ee&&le(e,t),t.rejection=Z),!0===f?u=o:(h&&h.enter(),u=f(o),h&&(h.exit(),c=!0)),u===s.promise?p(H("Promise-chain cycle")):(l=re(u))?l.call(u,d,p):d(u)):p(o)}catch(m){h&&!c&&h.exit(),p(m)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&ie(e,t)}))}},ae=function(e,t,n){var r,o;q?(r=z.createEvent("Event"),r.promise=t,r.reason=n,r.initEvent(e,!1,!0),c.dispatchEvent(r)):r={promise:t,reason:n},(o=c["on"+e])?o(r):e===G&&T("Unhandled promise rejection",n)},ie=function(e,t){k.call(c,(function(){var n,r=t.value,o=ue(t);if(o&&(n=P((function(){W?B.emit("unhandledRejection",r,e):ae(G,e,r)})),t.rejection=W||ue(t)?ee:Z,n.error))throw n.value}))},ue=function(e){return e.rejection!==Z&&!e.parent},le=function(e,t){k.call(c,(function(){W?B.emit("rejectionHandled",e):ae(X,e,t.value)}))},ce=function(e,t,n,r){return function(o){e(t,n,o,r)}},se=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=Q,oe(e,t,!0))},fe=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw H("Promise can't be resolved itself");var o=re(n);o?S((function(){var r={done:!1};try{o.call(n,ce(fe,e,r,t),ce(se,e,r,t))}catch(a){se(e,r,a,t)}})):(t.value=n,t.state=Y,oe(e,t,!1))}catch(a){se(e,{done:!1},a,t)}}};te&&(U=function(e){y(this,U,L),g(e),r.call(this);var t=M(this);try{e(ce(fe,this,t),ce(se,this,t))}catch(n){se(this,t,n)}},r=function(e){D(this,{type:L,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:J,value:void 0})},r.prototype=p(U.prototype,{then:function(e,t){var n=F(this),r=K(O(this,U));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=W?B.domain:void 0,n.parent=!0,n.reactions.push(r),n.state!=J&&oe(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r,t=M(e);this.promise=e,this.resolve=ce(fe,e,t),this.reject=ce(se,e,t)},A.f=K=function(e){return e===U||e===a?new o(e):$(e)},l||"function"!=typeof f||(i=f.prototype.then,d(f.prototype,"then",(function(e,t){var n=this;return new U((function(e,t){i.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof V&&u({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return j(U,V.apply(c,arguments))}}))),u({global:!0,wrap:!0,forced:te},{Promise:U}),h(U,L,!1,!0),m(L),a=s(L),u({target:L,stat:!0,forced:te},{reject:function(e){var t=K(this);return t.reject.call(void 0,e),t.promise}}),u({target:L,stat:!0,forced:l||te},{resolve:function(e){return j(l&&this===a?U:this,e)}}),u({target:L,stat:!0,forced:ne},{all:function(e){var t=this,n=K(t),r=n.resolve,o=n.reject,a=P((function(){var n=g(t.resolve),a=[],i=0,u=1;E(e,(function(e){var l=i++,c=!1;a.push(void 0),u++,n.call(t,e).then((function(e){c||(c=!0,a[l]=e,--u||r(a))}),o)})),--u||r(a)}));return a.error&&o(a.value),n.promise},race:function(e){var t=this,n=K(t),r=n.reject,o=P((function(){var o=g(t.resolve);E(e,(function(e){o.call(t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},"7SXh":function(e,t,n){"use strict";var r=n("hXyk"),o=n("DDwO");e.exports=function(){for(var e=r(this),t=o(e.add),n=0,a=arguments.length;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);na)o.push(arguments[a++]);if(r=t,(p(t)||void 0!==e)&&!ue(e))return d(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!ue(t))return t}),o[1]=t,q.apply(null,o)}})}W[z][B]||T(W[z],B,W[z].valueOf),M(W,H),_[U]=!0},"8CG2":function(e,t){e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var u=Object.prototype.hasOwnProperty.bind(t),l=0;l4)return e;for(n=[],r=0;r1&&"0"==o.charAt(0)&&(a=R.test(o)?16:8,o=o.slice(8==a?1:2)),""===o)i=0;else{if(!(10==a?L:8==a?N:M).test(o))return e;i=parseInt(o,a)}n.push(i)}for(r=0;r=S(256,5-t))return null}else if(i>255)return null;for(u=n.pop(),r=0;r6)return;r=0;while(d()){if(o=null,r>0){if(!("."==d()&&r<4))return;f++}if(!I.test(d()))return;while(I.test(d())){if(a=parseInt(d(),10),null===o)o=a;else{if(0==o)return;o=10*o+a}if(o>255)return;f++}l[c]=256*l[c]+o,r++,2!=r&&4!=r||c++}if(4!=r)return;break}if(":"==d()){if(f++,!d())return}else if(d())return;l[c++]=t}else{if(null!==s)return;f++,c++,s=c}}if(null!==s){i=c-s,c=7;while(0!=c&&i>0)u=l[c],l[c--]=l[s+i-1],l[s+--i]=u}else if(8!=c)return;return l},K=function(e){for(var t=null,n=1,r=null,o=0,a=0;a<8;a++)0!==e[a]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=a),++o);return o>n&&(t=r,n=o),t},$=function(e){var t,n,r,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=k(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=K(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),r===n?(t+=n?":":"::",o=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},W={},q=d({},W,{" ":1,'"':1,"<":1,">":1,"`":1}),G=d({},q,{"#":1,"?":1,"{":1,"}":1}),X=d({},G,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),J=function(e,t){var n=h(e,0);return n>32&&n<127&&!f(t,e)?e:encodeURIComponent(e)},Y={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Q=function(e){return f(Y,e.scheme)},Z=function(e){return""!=e.username||""!=e.password},ee=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},te=function(e,t){var n;return 2==e.length&&C.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},ne=function(e){var t;return e.length>1&&te(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},re=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&te(t[0],!0)||t.pop()},oe=function(e){return"."===e||"%2e"===e.toLowerCase()},ae=function(e){return e=e.toLowerCase(),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},ie={},ue={},le={},ce={},se={},fe={},de={},pe={},he={},me={},ve={},ge={},ye={},be={},we={},Ee={},xe={},Oe={},ke={},Se={},je={},Te=function(e,t,n,o){var a,i,u,l,c=n||ie,s=0,d="",h=!1,m=!1,v=!1;n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(U,"")),t=t.replace(H,""),a=p(t);while(s<=a.length){switch(i=a[s],c){case ie:if(!i||!C.test(i)){if(n)return T;c=le;continue}d+=i.toLowerCase(),c=ue;break;case ue:if(i&&(_.test(i)||"+"==i||"-"==i||"."==i))d+=i.toLowerCase();else{if(":"!=i){if(n)return T;d="",c=le,s=0;continue}if(n&&(Q(e)!=f(Y,d)||"file"==d&&(Z(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=d,n)return void(Q(e)&&Y[e.scheme]==e.port&&(e.port=null));d="","file"==e.scheme?c=be:Q(e)&&o&&o.scheme==e.scheme?c=ce:Q(e)?c=pe:"/"==a[s+1]?(c=se,s++):(e.cannotBeABaseURL=!0,e.path.push(""),c=ke)}break;case le:if(!o||o.cannotBeABaseURL&&"#"!=i)return T;if(o.cannotBeABaseURL&&"#"==i){e.scheme=o.scheme,e.path=o.path.slice(),e.query=o.query,e.fragment="",e.cannotBeABaseURL=!0,c=je;break}c="file"==o.scheme?be:fe;continue;case ce:if("/"!=i||"/"!=a[s+1]){c=fe;continue}c=he,s++;break;case se:if("/"==i){c=me;break}c=Oe;continue;case fe:if(e.scheme=o.scheme,i==r)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query;else if("/"==i||"\\"==i&&Q(e))c=de;else if("?"==i)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query="",c=Se;else{if("#"!=i){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.path.pop(),c=Oe;continue}e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query,e.fragment="",c=je}break;case de:if(!Q(e)||"/"!=i&&"\\"!=i){if("/"!=i){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,c=Oe;continue}c=me}else c=he;break;case pe:if(c=he,"/"!=i||"/"!=d.charAt(s+1))continue;s++;break;case he:if("/"!=i&&"\\"!=i){c=me;continue}break;case me:if("@"==i){h&&(d="%40"+d),h=!0,u=p(d);for(var g=0;g65535)return P;e.port=Q(e)&&w===Y[e.scheme]?null:w,d=""}if(n)return;c=xe;continue}return P}d+=i;break;case be:if(e.scheme="file","/"==i||"\\"==i)c=we;else{if(!o||"file"!=o.scheme){c=Oe;continue}if(i==r)e.host=o.host,e.path=o.path.slice(),e.query=o.query;else if("?"==i)e.host=o.host,e.path=o.path.slice(),e.query="",c=Se;else{if("#"!=i){ne(a.slice(s).join(""))||(e.host=o.host,e.path=o.path.slice(),re(e)),c=Oe;continue}e.host=o.host,e.path=o.path.slice(),e.query=o.query,e.fragment="",c=je}}break;case we:if("/"==i||"\\"==i){c=Ee;break}o&&"file"==o.scheme&&!ne(a.slice(s).join(""))&&(te(o.path[0],!0)?e.path.push(o.path[0]):e.host=o.host),c=Oe;continue;case Ee:if(i==r||"/"==i||"\\"==i||"?"==i||"#"==i){if(!n&&te(d))c=Oe;else if(""==d){if(e.host="",n)return;c=xe}else{if(l=z(e,d),l)return l;if("localhost"==e.host&&(e.host=""),n)return;d="",c=xe}continue}d+=i;break;case xe:if(Q(e)){if(c=Oe,"/"!=i&&"\\"!=i)continue}else if(n||"?"!=i)if(n||"#"!=i){if(i!=r&&(c=Oe,"/"!=i))continue}else e.fragment="",c=je;else e.query="",c=Se;break;case Oe:if(i==r||"/"==i||"\\"==i&&Q(e)||!n&&("?"==i||"#"==i)){if(ae(d)?(re(e),"/"==i||"\\"==i&&Q(e)||e.path.push("")):oe(d)?"/"==i||"\\"==i&&Q(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&te(d)&&(e.host&&(e.host=""),d=d.charAt(0)+":"),e.path.push(d)),d="","file"==e.scheme&&(i==r||"?"==i||"#"==i))while(e.path.length>1&&""===e.path[0])e.path.shift();"?"==i?(e.query="",c=Se):"#"==i&&(e.fragment="",c=je)}else d+=J(i,G);break;case ke:"?"==i?(e.query="",c=Se):"#"==i?(e.fragment="",c=je):i!=r&&(e.path[0]+=J(i,W));break;case Se:n||"#"!=i?i!=r&&("'"==i&&Q(e)?e.query+="%27":e.query+="#"==i?"%23":J(i,W)):(e.fragment="",c=je);break;case je:i!=r&&(e.fragment+=J(i,q));break}s++}},Ae=function(e){var t,n,r=s(this,Ae,"URL"),o=arguments.length>1?arguments[1]:void 0,i=String(e),u=x(r,{type:"URL"});if(void 0!==o)if(o instanceof Ae)t=O(o);else if(n=Te(t={},String(o)),n)throw TypeError(n);if(n=Te(u,i,null,t),n)throw TypeError(n);var l=u.searchParams=new w,c=E(l);c.updateSearchParams(u.query),c.updateURL=function(){u.query=String(l)||null},a||(r.href=Ce.call(r),r.origin=_e.call(r),r.protocol=Ie.call(r),r.username=Re.call(r),r.password=Ne.call(r),r.host=Le.call(r),r.hostname=Me.call(r),r.port=De.call(r),r.pathname=Fe.call(r),r.search=Ue.call(r),r.searchParams=He.call(r),r.hash=ze.call(r))},Pe=Ae.prototype,Ce=function(){var e=O(this),t=e.scheme,n=e.username,r=e.password,o=e.host,a=e.port,i=e.path,u=e.query,l=e.fragment,c=t+":";return null!==o?(c+="//",Z(e)&&(c+=n+(r?":"+r:"")+"@"),c+=$(o),null!==a&&(c+=":"+a)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?i[0]:i.length?"/"+i.join("/"):"",null!==u&&(c+="?"+u),null!==l&&(c+="#"+l),c},_e=function(){var e=O(this),t=e.scheme,n=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(r){return"null"}return"file"!=t&&Q(e)?t+"://"+$(e.host)+(null!==n?":"+n:""):"null"},Ie=function(){return O(this).scheme+":"},Re=function(){return O(this).username},Ne=function(){return O(this).password},Le=function(){var e=O(this),t=e.host,n=e.port;return null===t?"":null===n?$(t):$(t)+":"+n},Me=function(){var e=O(this).host;return null===e?"":$(e)},De=function(){var e=O(this).port;return null===e?"":String(e)},Fe=function(){var e=O(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Ue=function(){var e=O(this).query;return e?"?"+e:""},He=function(){return O(this).searchParams},ze=function(){var e=O(this).fragment;return e?"#"+e:""},Be=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(a&&l(Pe,{href:Be(Ce,(function(e){var t=O(this),n=String(e),r=Te(t,n);if(r)throw TypeError(r);E(t.searchParams).updateSearchParams(t.query)})),origin:Be(_e),protocol:Be(Ie,(function(e){var t=O(this);Te(t,String(e)+":",ie)})),username:Be(Re,(function(e){var t=O(this),n=p(String(e));if(!ee(t)){t.username="";for(var r=0;r1?arguments[1]:void 0)}})},"8iHL":function(e,t,n){var r=n("7+LC"),o=n("/Izz"),a="\u200b\x85\u180e";e.exports=function(e){return r((function(){return!!o[e]()||a[e]()!=a||o[e].name!==e}))}},"8idk":function(e,t,n){var r=n("tGsd");e.exports=y,e.exports.parse=a,e.exports.compile=i,e.exports.tokensToFunction=c,e.exports.tokensToRegExp=g;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function a(e,t){var n,r=[],a=0,i=0,u="",l=t&&t.delimiter||"/";while(null!=(n=o.exec(e))){var c=n[0],d=n[1],p=n.index;if(u+=e.slice(i,p),i=p+c.length,d)u+=d[1];else{var h=e[i],m=n[2],v=n[3],g=n[4],y=n[5],b=n[6],w=n[7];u&&(r.push(u),u="");var E=null!=m&&null!=h&&h!==m,x="+"===b||"*"===b,O="?"===b||"*"===b,k=n[2]||l,S=g||y;r.push({name:v||a++,prefix:m||"",delimiter:k,optional:O,repeat:x,partial:E,asterisk:!!w,pattern:S?f(S):w?".*":"[^"+s(k)+"]+?"})}}return i1?arguments[1]:void 0)}))},"8zZG":function(e,t,n){},"97ZF":function(e,t,n){"use strict";function r(){var e=n("xwgP");return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.getDemoUrl=t.getDemoRouteName=t["default"]=void 0;var o=a(n("ubIt"));function a(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return f(e)||s(e,t)||l(e,t)||u()}function u(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e,t){if(e){if("string"===typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nI.length&&I.push(e)}function L(e,t,n,r){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var u=!1;if(null===e)u=!0;else switch(o){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case a:case i:u=!0}}if(u)return n(r,e,""===t?"."+D(e,0):t),1;if(u=0,t=""===t?".":t+":",Array.isArray(e))for(var l=0;l0?(r=n/c,o+=r*r):o+=n;return c===1/0?1/0:c*i(o)}})},"9Ywa":function(e,t,n){"use strict";var r=n("HIsA"),o=n("m52V"),a=n("LTDN");r({target:"Set",proto:!0,real:!0,forced:o},{deleteAll:function(){return a.apply(this,arguments)}})},"9ZTU":function(e,t,n){var r,o,a=n("2JD6"),i=n("T9r4"),u=a.process,l=u&&u.versions,c=l&&l.v8;c?(r=c.split("."),o=r[0]+r[1]):i&&(r=i.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/),r&&(o=r[1]))),e.exports=o&&+o},"9izy":function(e,t,n){var r=n("PaPB"),o=n("JzK+"),a=function(e){return function(t,n){var a,i,u=String(o(t)),l=r(n),c=u.length;return l<0||l>=c?e?"":void 0:(a=u.charCodeAt(l),a<55296||a>56319||l+1===c||(i=u.charCodeAt(l+1))<56320||i>57343?e?u.charAt(l):a:e?u.slice(l,l+2):i-56320+(a-55296<<10)+65536)}};e.exports={codeAt:a(!1),charAt:a(!0)}},"9kvl":function(e,t,n){"use strict";var r=n("FfOG");n.d(t,"a",(function(){return r["b"]}));n("bCY9")},A9Tw:function(e,t,n){"use strict";n.r(t);var r=n("xwgP"),o=n.n(r),a=n("UFL0"),i=n("sTYr"),u=o.a.memo((e=>{var t=e.demos,n=t["docs-directoryupload"].component;return o.a.createElement(o.a.Fragment,null,o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:"markdown"},o.a.createElement("h2",{id:"directoryupload"},o.a.createElement(a["AnchorLink"],{to:"#directoryupload","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"directoryUpload")),o.a.createElement(i["default"],t["docs-directoryupload"].previewerProps,o.a.createElement(n,null))))}));t["default"]=e=>{var t=o.a.useContext(a["context"]),n=t.demos;return o.a.useEffect((()=>{var t;null!==e&&void 0!==e&&null!==(t=e.location)&&void 0!==t&&t.hash&&a["AnchorLink"].scrollToAnchor(decodeURIComponent(e.location.hash.slice(1)))}),[]),o.a.createElement(u,{demos:n})}},ASiN:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=!0,o="Invariant failed";function a(e,t){if(!e){if(r)throw new Error(o);var n="function"===typeof t?t():t,a=n?"".concat(o,": ").concat(n):o;throw new Error(a)}}},B6LR:function(e,t,n){var r=n("ihzt");e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},B7jn:function(e,t,n){var r=n("bVFb");r("species")},Bktt:function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},BlUI:function(e,t,n){"use strict";(function(e){var n=function(){if("undefined"!==typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype["delete"]=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t,r=c.some((function(e){return!!~n.indexOf(e)}));r&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),d=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),A="undefined"!==typeof WeakMap?new WeakMap:new n,P=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=f.getInstance(),r=new T(t,n,this);A.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach((function(e){P.prototype[e]=function(){var t;return(t=A.get(this))[e].apply(t,arguments)}}));var C=function(){return"undefined"!==typeof o.ResizeObserver?o.ResizeObserver:P}();t["a"]=C}).call(this,n("PCY7"))},CG2G:function(e,t,n){"use strict";var r=n("HIsA"),o=n("dOdC"),a=[].reverse,i=[1,2];r({target:"Array",proto:!0,forced:String(i)===String(i.reverse())},{reverse:function(){return o(this)&&(this.length=this.length),a.call(this)}})},CLo7:function(e,t,n){var r=n("2JD6"),o=n("Bktt"),a=n("PBBb"),i=n("D8FR");for(var u in o){var l=r[u],c=l&&l.prototype;if(c&&c.forEach!==a)try{i(c,"forEach",a)}catch(s){c.forEach=a}}},CNWJ:function(e,t,n){"use strict";var r=n("HIsA"),o=n("DDwO"),a=n("NVMI"),i=n("7+LC"),u=n("1+Eb"),l=[],c=l.sort,s=i((function(){l.sort(void 0)})),f=i((function(){l.sort(null)})),d=u("sort"),p=s||!f||!d;r({target:"Array",proto:!0,forced:p},{sort:function(e){return void 0===e?c.call(a(this)):c.call(a(this),o(e))}})},CWx7:function(e,t,n){"use strict";var r=n("HIsA"),o=n("m52V"),a=n("hXyk"),i=n("YjHi"),u=n("jd72"),l=n("Ji6T");r({target:"Map",proto:!0,real:!0,forced:o},{includes:function(e){return l(i(a(this)),(function(t,n){if(u(n,e))return l.stop()}),void 0,!0,!0).stopped}})},ClHO:function(e,t,n){"use strict";var r=n("HIsA"),o=n("Hiyu"),a=n("2JD6"),i=n("+qhb"),u=n("pxmn"),l=n("2RC6").f,c=n("xp0c"),s=a.Symbol;if(o&&"function"==typeof s&&(!("description"in s.prototype)||void 0!==s().description)){var f={},d=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof d?new s(e):void 0===e?s():s(e);return""===e&&(f[t]=!0),t};c(d,s);var p=d.prototype=s.prototype;p.constructor=d;var h=p.toString,m="Symbol(test)"==String(s("test")),v=/^Symbol\((.*)\)[^)]+$/;l(p,"description",{configurable:!0,get:function(){var e=u(this)?this.valueOf():this,t=h.call(e);if(i(f,e))return"";var n=m?t.slice(7,-1):t.replace(v,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:d})}},CmBG:function(e,t){t.f=Object.getOwnPropertySymbols},D2hf:function(e,t,n){var r=n("HIsA");r({target:"Math",stat:!0},{iaddh:function(e,t,n,r){var o=e>>>0,a=t>>>0,i=n>>>0;return a+(r>>>0)+((o&i|(o|i)&~(o+i>>>0))>>>31)|0}})},D8FR:function(e,t,n){var r=n("Hiyu"),o=n("2RC6"),a=n("OLna");e.exports=r?function(e,t,n){return o.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},DDwO:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},DVjy:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return u}));var r=n("rOQQ"),o=(n("xwgP"),n("JQM1"));n("zQUv");function a(e,t){"function"===typeof e?e(t):"object"===Object(r["a"])(e)&&e&&"current"in e&&(e.current=t)}function i(){for(var e=arguments.length,t=new Array(e),n=0;n1||"".split(/.?/).length?function(e,n){var r=String(i(this)),a=void 0===n?m:n>>>0;if(0===a)return[];if(void 0===e)return[r];if(!o(e))return t.call(r,e,a);var u,l,c,s=[],d=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,v=new RegExp(e.source,d+"g");while(u=f.call(v,r)){if(l=v.lastIndex,l>h&&(s.push(r.slice(h,u.index)),u.length>1&&u.index=a))break;v.lastIndex===u.index&&v.lastIndex++}return h===r.length?!c&&v.test("")||s.push(""):s.push(r.slice(h)),s.length>a?s.slice(0,a):s}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var o=i(this),a=void 0==t?void 0:t[e];return void 0!==a?a.call(t,o,n):r.call(String(o),t,n)},function(e,o){var i=n(r,e,this,o,r!==t);if(i.done)return i.value;var f=a(e),d=String(this),p=u(f,RegExp),g=f.unicode,y=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(v?"y":"g"),b=new p(v?f:"^(?:"+f.source+")",y),w=void 0===o?m:o>>>0;if(0===w)return[];if(0===d.length)return null===s(b,d)?[d]:[];var E=0,x=0,O=[];while(x-1e-8&&e<1e-8?e-e*e/2:n(1+e)}},E21C:function(e,t,n){"use strict";n.r(t);var r=n("xwgP"),o=n.n(r),a=n("/7QA"),i={action:"/upload.do",multiple:!0,onStart(e){console.log("onStart",e,e.name)},onSuccess(e){console.log("onSuccess",e)},onError(e){console.log("onError",e)},beforeUpload(e,t){return console.log(e,t),new Promise((t=>{console.log("start check"),setTimeout((()=>{console.log("check finshed"),t(e)}),3e3)}))}},u=()=>o.a.createElement("div",{style:{margin:100}},o.a.createElement("div",null,o.a.createElement(a["a"],i,o.a.createElement("a",null,"\u5f00\u59cb\u4e0a\u4f20"))));t["default"]=u},"EC/F":function(e,t,n){"use strict";var r=n("HIsA"),o=n("m52V"),a=n("bXon"),i=n("hXyk"),u=n("DDwO"),l=n("40mc"),c=n("70zE"),s=n("YjHi"),f=n("Ji6T");r({target:"Map",proto:!0,real:!0,forced:o},{mapValues:function(e){var t=i(this),n=s(t),r=l(e,arguments.length>1?arguments[1]:void 0,3),o=new(c(t,a("Map"))),d=u(o.set);return f(n,(function(e,n){d.call(o,e,r(n,e,t))}),void 0,!0,!0),o}})},ECWN:function(e,t,n){var r=n("Ogjs"),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource},ELFF:function(e,t,n){var r=n("HIsA"),o=n("t0cd");r({target:"Number",stat:!0,forced:Number.parseInt!=o},{parseInt:o})},EMzR:function(e,t,n){"use strict";var r=n("HIsA"),o=n("m52V"),a=n("7SXh");r({target:"WeakSet",proto:!0,real:!0,forced:o},{addAll:function(){return a.apply(this,arguments)}})},ESEx:function(e,t,n){"use strict";var r=n("cpaE")["default"];function o(){var e=n("xwgP");return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var a=n("UFL0");function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n-1&&n.push(s[r]);v(n)}else v([])}),[e,s.length]),m},y=function(){var e=(0,o().useContext)(a.context),t=e.config.algolia,n=(0,o().useCallback)((function(e){window.docsearch(u({inputSelector:e},t))}),[t]);return n},b=function(e){var t=(0,o().useContext)(a.context),n=t.config,r=g(e),i=y();return n.algolia?i:r};t["default"]=b},F4Qn:function(e,t,n){"use strict";var r=n("HIsA"),o=n("WNir").left,a=n("1+Eb"),i=n("/5yA"),u=a("reduce"),l=i("reduce",{1:0});r({target:"Array",proto:!0,forced:!u||!l},{reduce:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},FFjv:function(e,t,n){"use strict";var r=n("HIsA"),o=n("qmtO").f,a=n("2I03"),i=n("B6LR"),u=n("JzK+"),l=n("eD14"),c=n("m52V"),s="".endsWith,f=Math.min,d=l("endsWith"),p=!c&&!d&&!!function(){var e=o(String.prototype,"endsWith");return e&&!e.writable}();r({target:"String",proto:!0,forced:!p&&!d},{endsWith:function(e){var t=String(u(this));i(e);var n=arguments.length>1?arguments[1]:void 0,r=a(t.length),o=void 0===n?r:f(a(n),r),l=String(e);return s?s.call(t,l,o):t.slice(o-l.length,o)===l}})},FLIr:function(e,t,n){var r=n("bVFb");r("match")},"FT/y":function(e,t,n){var r=n("J7X1");r(Math,"Math",!0)},FfOG:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var r=n("HFu6"),o={basename:"/"};window.routerBase&&(o.basename=window.routerBase);var a=Object({NODE_ENV:"production"}).__IS_SERVER?null:Object(r["a"])(o),i=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e||(a=Object(r["a"])(o)),a}},Figs:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("Q+gB"),o=n("xwgP");function a(e){var t=o["useRef"](!1),n=o["useState"](e),a=Object(r["a"])(n,2),i=a[0],u=a[1];function l(e,n){n&&t.current||u(e)}return o["useEffect"]((function(){return t.current=!1,function(){t.current=!0}}),[]),[i,l]}},FmLo:function(e,t,n){"use strict";var r=n("HIsA"),o=n("9izy").charAt;r({target:"String",proto:!0},{at:function(e){return o(this,e)}})},"G+Sx":function(e,t){},G4R5:function(e,t,n){"use strict";var r=n("ghbW"),o=n("vldi");e.exports=r("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},G5kI:function(e,t,n){var r=n("2JD6");e.exports=r},G70G:function(e,t,n){"use strict";var r=n("n2ef"),o=n("2RC6"),a=n("OLna");e.exports=function(e,t,n){var i=r(t);i in e?o.f(e,i,a(0,n)):e[i]=n}},G7GF:function(e,t,n){"use strict";var r=n("2JD6"),o=n("Wp5u"),a=n("7+LC"),i=r.Int8Array,u=o.aTypedArray,l=o.exportTypedArrayMethod,c=[].toLocaleString,s=[].slice,f=!!i&&a((function(){c.call(new i(1))})),d=a((function(){return[1,2].toLocaleString()!=new i([1,2]).toLocaleString()}))||!a((function(){i.prototype.toLocaleString.call([1,2])}));l("toLocaleString",(function(){return c.apply(f?s.call(u(this)):u(this),arguments)}),d)},"GEK/":function(e,t,n){"use strict";n.r(t);var r=n("xwgP"),o=n.n(r),a=n("UFL0"),i=n("sTYr"),u=o.a.memo((e=>{var t=e.demos,n=t["docs-simple"].component;return o.a.createElement(o.a.Fragment,null,o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:"markdown"},o.a.createElement("h2",{id:"simple"},o.a.createElement(a["AnchorLink"],{to:"#simple","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"simple")),o.a.createElement(i["default"],t["docs-simple"].previewerProps,o.a.createElement(n,null))))}));t["default"]=e=>{var t=o.a.useContext(a["context"]),n=t.demos;return o.a.useEffect((()=>{var t;null!==e&&void 0!==e&&null!==(t=e.location)&&void 0!==t&&t.hash&&a["AnchorLink"].scrollToAnchor(decodeURIComponent(e.location.hash.slice(1)))}),[]),o.a.createElement(u,{demos:n})}},GNwB:function(e,t,n){"use strict";var r=n("e0NO"),o=n("enAa"),a=n("SDGo"),i=n("wYpP"),u=n("tXhO"),l=n("rV0f"),c=l.validators;function s(e){this.defaults=e,this.interceptors={request:new a,response:new a}}s.prototype.request=function(e,t){"string"===typeof e?(t=t||{},t.url=e):t=e||{},t=u(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&l.assertOptions(n,{silentJSONParsing:c.transitional(c["boolean"]),forcedJSONParsing:c.transitional(c["boolean"]),clarifyTimeoutError:c.transitional(c["boolean"])},!1);var r=[],o=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var a,s=[];if(this.interceptors.response.forEach((function(e){s.push(e.fulfilled,e.rejected)})),!o){var f=[i,void 0];Array.prototype.unshift.apply(f,r),f=f.concat(s),a=Promise.resolve(t);while(f.length)a=a.then(f.shift(),f.shift());return a}var d=t;while(r.length){var p=r.shift(),h=r.shift();try{d=p(d)}catch(m){h(m);break}}try{a=i(d)}catch(m){return Promise.reject(m)}while(s.length)a=a.then(s.shift(),s.shift());return a},s.prototype.getUri=function(e){return e=u(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){s.prototype[e]=function(t,n){return this.request(u(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){s.prototype[e]=function(t,n,r){return this.request(u(r||{},{method:e,url:t,data:n}))}})),e.exports=s},GP7J:function(e,t,n){"use strict";var r=n("HIsA"),o=n("m52V"),a=n("hXyk"),i=n("YjHi"),u=n("Ji6T");r({target:"Map",proto:!0,real:!0,forced:o},{keyOf:function(e){return u(i(a(this)),(function(t,n){if(n===e)return u.stop(t)}),void 0,!0,!0).result}})},GPbW:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},GUTS:function(e,t,n){var r=n("2JD6"),o=n("D8FR"),a=n("+qhb"),i=n("5Nth"),u=n("ECWN"),l=n("twJ5"),c=l.get,s=l.enforce,f=String(String).split("String");(e.exports=function(e,t,n,u){var l=!!u&&!!u.unsafe,c=!!u&&!!u.enumerable,d=!!u&&!!u.noTargetGet;"function"==typeof n&&("string"!=typeof t||a(n,"name")||o(n,"name",t),s(n).source=f.join("string"==typeof t?t:"")),e!==r?(l?!d&&e[t]&&(c=!0):delete e[t],c?e[t]=n:o(e,t,n)):c?e[t]=n:i(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||u(this)}))},GboX:function(e,t,n){"use strict";var r=n("Wp5u"),o=n("pMf/"),a=r.aTypedArrayConstructor,i=r.exportTypedArrayStaticMethod;i("of",(function(){var e=0,t=arguments.length,n=new(a(this))(t);while(t>e)n[e]=arguments[e++];return n}),o)},Gcgh:function(e,t,n){"use strict";var r=n("ghbW"),o=n("r73t");r("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},"H++4":function(e,t,n){var r=n("JqKL");r("Int8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},"H+5F":function(e,t,n){"use strict";var r=n("e0NO"),o=n("Wq0k"),a=n("R2zV"),i=n("enAa"),u=n("dHeS"),l=n("gVoy"),c=n("O9T0"),s=n("JZnD"),f=n("quaw"),d=n("e2Eu");e.exports=function(e){return new Promise((function(t,n){var p,h=e.data,m=e.headers,v=e.responseType;function g(){e.cancelToken&&e.cancelToken.unsubscribe(p),e.signal&&e.signal.removeEventListener("abort",p)}r.isFormData(h)&&delete m["Content-Type"];var y=new XMLHttpRequest;if(e.auth){var b=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";m.Authorization="Basic "+btoa(b+":"+w)}var E=u(e.baseURL,e.url);function x(){if(y){var r="getAllResponseHeaders"in y?l(y.getAllResponseHeaders()):null,a=v&&"text"!==v&&"json"!==v?y.response:y.responseText,i={data:a,status:y.status,statusText:y.statusText,headers:r,config:e,request:y};o((function(e){t(e),g()}),(function(e){n(e),g()}),i),y=null}}if(y.open(e.method.toUpperCase(),i(E,e.params,e.paramsSerializer),!0),y.timeout=e.timeout,"onloadend"in y?y.onloadend=x:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(x)},y.onabort=function(){y&&(n(s("Request aborted",e,"ECONNABORTED",y)),y=null)},y.onerror=function(){n(s("Network Error",e,null,y)),y=null},y.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||f;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(s(t,e,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},r.isStandardBrowserEnv()){var O=(e.withCredentials||c(E))&&e.xsrfCookieName?a.read(e.xsrfCookieName):void 0;O&&(m[e.xsrfHeaderName]=O)}"setRequestHeader"in y&&r.forEach(m,(function(e,t){"undefined"===typeof h&&"content-type"===t.toLowerCase()?delete m[t]:y.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(y.withCredentials=!!e.withCredentials),v&&"json"!==v&&(y.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&y.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(p=function(e){y&&(n(!e||e&&e.type?new d("canceled"):e),y.abort(),y=null)},e.cancelToken&&e.cancelToken.subscribe(p),e.signal&&(e.signal.aborted?p():e.signal.addEventListener("abort",p))),h||(h=null),y.send(h)}))}},H7G2:function(e,t,n){var r=n("HIsA"),o=n("icJ8"),a=n("hXyk"),i=n("kI7s"),u=o.has,l=o.toKey,c=function(e,t,n){var r=u(e,t,n);if(r)return!0;var o=i(t);return null!==o&&c(e,o,n)};r({target:"Reflect",stat:!0},{hasMetadata:function(e,t){var n=arguments.length<3?void 0:l(arguments[2]);return c(e,a(t),n)}})},HC6C:function(e,t,n){"use strict";var r=n("GUTS"),o=n("hXyk"),a=n("7+LC"),i=n("ma2j"),u="toString",l=RegExp.prototype,c=l[u],s=a((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),f=c.name!=u;(s||f)&&r(RegExp.prototype,u,(function(){var e=o(this),t=String(e.source),n=e.flags,r=String(void 0===n&&e instanceof RegExp&&!("flags"in l)?i.call(e):n);return"/"+t+"/"+r}),{unsafe:!0})},HC6f:function(e,t,n){"use strict";var r=n("2JD6"),o=n("Hiyu"),a=n("13/t"),i=n("D8FR"),u=n("masK"),l=n("7+LC"),c=n("xOST"),s=n("PaPB"),f=n("2I03"),d=n("PM2V"),p=n("4CZv"),h=n("kI7s"),m=n("UPu9"),v=n("szjD").f,g=n("2RC6").f,y=n("+kF3"),b=n("J7X1"),w=n("twJ5"),E=w.get,x=w.set,O="ArrayBuffer",k="DataView",S="prototype",j="Wrong length",T="Wrong index",A=r[O],P=A,C=r[k],_=C&&C[S],I=Object.prototype,R=r.RangeError,N=p.pack,L=p.unpack,M=function(e){return[255&e]},D=function(e){return[255&e,e>>8&255]},F=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},U=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},H=function(e){return N(e,23,4)},z=function(e){return N(e,52,8)},B=function(e,t){g(e[S],t,{get:function(){return E(this)[t]}})},V=function(e,t,n,r){var o=d(n),a=E(e);if(o+t>a.byteLength)throw R(T);var i=E(a.buffer).bytes,u=o+a.byteOffset,l=i.slice(u,u+t);return r?l:l.reverse()},K=function(e,t,n,r,o,a){var i=d(n),u=E(e);if(i+t>u.byteLength)throw R(T);for(var l=E(u.buffer).bytes,c=i+u.byteOffset,s=r(+o),f=0;fG;)($=q[G++])in P||i(P,$,A[$]);W.constructor=P}m&&h(_)!==I&&m(_,I);var X=new C(new P(2)),J=_.setInt8;X.setInt8(0,2147483648),X.setInt8(1,2147483649),!X.getInt8(0)&&X.getInt8(1)||u(_,{setInt8:function(e,t){J.call(this,e,t<<24>>24)},setUint8:function(e,t){J.call(this,e,t<<24>>24)}},{unsafe:!0})}else P=function(e){c(this,P,O);var t=d(e);x(this,{bytes:y.call(new Array(t),0),byteLength:t}),o||(this.byteLength=t)},C=function(e,t,n){c(this,C,k),c(e,P,k);var r=E(e).byteLength,a=s(t);if(a<0||a>r)throw R("Wrong offset");if(n=void 0===n?r-a:f(n),a+n>r)throw R(j);x(this,{buffer:e,byteLength:n,byteOffset:a}),o||(this.buffer=e,this.byteLength=n,this.byteOffset=a)},o&&(B(P,"byteLength"),B(C,"buffer"),B(C,"byteLength"),B(C,"byteOffset")),u(C[S],{getInt8:function(e){return V(this,1,e)[0]<<24>>24},getUint8:function(e){return V(this,1,e)[0]},getInt16:function(e){var t=V(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=V(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return U(V(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return U(V(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return L(V(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return L(V(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){K(this,1,e,M,t)},setUint8:function(e,t){K(this,1,e,M,t)},setInt16:function(e,t){K(this,2,e,D,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){K(this,2,e,D,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){K(this,4,e,F,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){K(this,4,e,F,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){K(this,4,e,H,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){K(this,8,e,z,t,arguments.length>2?arguments[2]:void 0)}});b(P,O),b(C,k),e.exports={ArrayBuffer:P,DataView:C}},HFu6:function(e,t,n){"use strict";n.d(t,"a",(function(){return R})),n.d(t,"b",(function(){return H})),n.d(t,"d",(function(){return B})),n.d(t,"c",(function(){return E})),n.d(t,"f",(function(){return x})),n.d(t,"e",(function(){return w}));var r=n("g0fg");function o(e){return"/"===e.charAt(0)}function a(e,t){for(var n=t,r=n+1,o=e.length;r=0;d--){var p=i[d];"."===p?a(i,d):".."===p?(a(i,d),f++):f&&(a(i,d),f--)}if(!c)for(;f--;f)i.unshift("..");!c||""===i[0]||i[0]&&o(i[0])||i.unshift("");var h=i.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h}var u=i;function l(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}function c(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if(Array.isArray(e))return Array.isArray(t)&&e.length===t.length&&e.every((function(e,n){return c(e,t[n])}));if("object"===typeof e||"object"===typeof t){var n=l(e),r=l(t);return n!==e||r!==t?c(n,r):Object.keys(Object.assign({},e,t)).every((function(n){return c(e[n],t[n])}))}return!1}var s=c,f=n("gd5S"),d=n.n(f),p=n("ASiN");function h(e){return"/"===e.charAt(0)?e:"/"+e}function m(e){return"/"===e.charAt(0)?e.substr(1):e}function v(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}function g(e,t){return v(e,t)?e.substr(t.length):e}function y(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function b(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var a=t.indexOf("?");return-1!==a&&(n=t.substr(a),t=t.substr(0,a)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}function w(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function E(e,t,n,o){var a;"string"===typeof e?(a=b(e),a.query=a.search?d.a.parse(a.search):{},a.state=t):(a=Object(r["a"])({},e),void 0===a.pathname&&(a.pathname=""),a.search?("?"!==a.search.charAt(0)&&(a.search="?"+a.search),a.query=d.a.parse(a.search)):(a.search=a.query?d.a.stringify(a.query):"",a.query=a.query||{}),a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==t&&void 0===a.state&&(a.state=t));try{a.pathname=decodeURI(a.pathname)}catch(i){throw i instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):i}return n&&(a.key=n),o?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=u(a.pathname,o.pathname)):a.pathname=o.pathname:a.pathname||(a.pathname="/"),a}function x(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&s(e.state,t.state)}function O(){var e=null;function t(t){return e=t,function(){e===t&&(e=null)}}function n(t,n,r,o){if(null!=e){var a="function"===typeof e?e(t,n):e;"string"===typeof a?"function"===typeof r?r(a,o):o(!0):o(!1!==a)}else o(!0)}var r=[];function o(e){var t=!0;function n(){t&&e.apply(void 0,arguments)}return r.push(n),function(){t=!1,r=r.filter((function(e){return e!==n}))}}function a(){for(var e=arguments.length,t=new Array(e),n=0;nn?a.splice(n,a.length-n,o):a.push(o),f({action:r,location:o,index:n,entries:a})}}))}function g(e,t){var r="REPLACE",o=E(e,t,d(),T.location);s.confirmTransitionTo(o,r,n,(function(e){e&&(T.entries[T.index]=o,f({action:r,location:o}))}))}function y(e){var t=z(T.index+e,0,T.entries.length-1),r="POP",o=T.entries[t];s.confirmTransitionTo(o,r,n,(function(e){e?f({action:r,location:o,index:t}):f()}))}function b(){y(-1)}function x(){y(1)}function k(e){var t=T.index+e;return t>=0&&t=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return u=e.done,e},e:function(e){l=!0,i=e},f:function(){try{u||null==n["return"]||n["return"]()}finally{if(l)throw i}}}}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},HKEF:function(e,t,n){var r=n("pxmn"),o=n("dOdC"),a=n("kPvK"),i=a("species");e.exports=function(e,t){var n;return o(e)&&(n=e.constructor,"function"!=typeof n||n!==Array&&!o(n.prototype)?r(n)&&(n=n[i],null===n&&(n=void 0)):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},"HNR+":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return r}))},HQcF:function(e,t,n){"use strict";var r=n("HIsA"),o=n("JzK+"),a=n("ihzt"),i=n("ma2j"),u=n("kPvK"),l=n("m52V"),c=u("replace"),s=RegExp.prototype;r({target:"String",proto:!0},{replaceAll:function e(t,n){var r,u,f,d,p,h,m,v,g,y=o(this);if(null!=t){if(r=a(t),r&&(u=String(o("flags"in s?t.flags:i.call(t))),!~u.indexOf("g")))throw TypeError("`.replaceAll` does not allow non-global regexes");if(f=t[c],void 0!==f)return f.call(t,y,n);if(l&&r)return String(y).replace(t,n)}if(d=String(y),p=String(t),""===p)return e.call(d,/(?:)/g,n);if(h=d.split(p),"function"!==typeof n)return h.join(String(n));for(m=h[0],v=m.length,g=1;g=r.F1&&t<=r.F12)return!1;switch(t){case r.ALT:case r.CAPS_LOCK:case r.CONTEXT_MENU:case r.CTRL:case r.DOWN:case r.END:case r.ESC:case r.HOME:case r.INSERT:case r.LEFT:case r.MAC_FF_META:case r.META:case r.NUMLOCK:case r.NUM_CENTER:case r.PAGE_DOWN:case r.PAGE_UP:case r.PAUSE:case r.PRINT_SCREEN:case r.RIGHT:case r.SHIFT:case r.UP:case r.WIN_KEY:case r.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=r.ZERO&&e<=r.NINE)return!0;if(e>=r.NUM_ZERO&&e<=r.NUM_MULTIPLY)return!0;if(e>=r.A&&e<=r.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case r.SPACE:case r.QUESTION_MARK:case r.NUM_PLUS:case r.NUM_MINUS:case r.NUM_PERIOD:case r.NUM_DIVISION:case r.SEMICOLON:case r.DASH:case r.EQUALS:case r.COMMA:case r.PERIOD:case r.SLASH:case r.APOSTROPHE:case r.SINGLE_QUOTE:case r.OPEN_SQUARE_BRACKET:case r.BACKSLASH:case r.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};t["a"]=r},He07:function(e,t,n){var r=n("D8FR"),o=n("Tk1U"),a=n("kPvK"),i=a("toPrimitive"),u=Date.prototype;i in u||r(u,i,o)},Hiyu:function(e,t,n){var r=n("7+LC");e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},HmJy:function(e,t,n){e.exports=n("gZCa")},HqdE:function(e,t,n){var r=n("7+LC"),o=n("kPvK"),a=n("9ZTU"),i=o("species");e.exports=function(e){return a>=51||!r((function(){var t=[],n=t.constructor={};return n[i]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},Hr9Q:function(e,t,n){"use strict";var r=n("HIsA"),o=n("m52V"),a=n("hXyk"),i=n("DDwO"),u=n("Ji6T");r({target:"Map",proto:!0,real:!0,forced:o},{merge:function(e){var t=a(this),n=i(t.set),r=0;while(r=4096)t+=12,n/=4096;while(n>=2)t+=1,n/=2;return t},d=l&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!u((function(){l.call({})}));r({target:"Number",proto:!0,forced:d},{toFixed:function(e){var t,n,r,u,l=a(this),d=o(e),p=[0,0,0,0,0,0],h="",m="0",v=function(e,t){var n=-1,r=t;while(++n<6)r+=e*p[n],p[n]=r%1e7,r=c(r/1e7)},g=function(e){var t=6,n=0;while(--t>=0)n+=p[t],p[t]=c(n/e),n=n%e*1e7},y=function(){var e=6,t="";while(--e>=0)if(""!==t||0===e||0!==p[e]){var n=String(p[e]);t=""===t?n:t+i.call("0",7-n.length)+n}return t};if(d<0||d>20)throw RangeError("Incorrect fraction digits");if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(h="-",l=-l),l>1e-21)if(t=f(l*s(2,69,1))-69,n=t<0?l*s(2,-t,1):l/s(2,t,1),n*=4503599627370496,t=52-t,t>0){v(0,n),r=d;while(r>=7)v(1e7,0),r-=7;v(s(10,r,1),0),r=t-1;while(r>=23)g(1<<23),r-=23;g(1<0?(u=m.length,m=h+(u<=d?"0."+i.call("0",d-u)+m:m.slice(0,u-d)+"."+m.slice(u-d))):m=h+m,m}})},INx8:function(e,t,n){"use strict";var r=n("xwgP"),o=n.n(r),a=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof o?new o(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=f.reach)break;var k=x.value;if(t.length>e.length)return;if(!(k instanceof o)){var S,j=1;if(y){if(S=a(E,O,e,g),!S||S.index>=e.length)break;var T=S.index,A=S.index+S[0].length,P=O;P+=x.value.length;while(T>=P)x=x.next,P+=x.value.length;if(P-=x.value.length,O=P,x.value instanceof o)continue;for(var C=x;C!==t.tail&&(Pf.reach&&(f.reach=N);var L=x.prev;I&&(L=l(t,L,I),O+=I.length),c(t,L,j);var M=new o(d,v?r.tokenize(_,v):_,b,_);if(x=l(t,L,M),R&&l(t,x,R),j>1){var D={cause:d+","+h,reach:N};i(e,t,n,x.prev,O,D),f&&D.reach>f.reach&&(f.reach=D.reach)}}}}}}function u(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,o={value:n,prev:t,next:r};return t.next=o,r.prev=o,e.length++,o}function c(e,t,n){for(var r=t.next,o=0;o"+a.content+""},r}(),i=a;a["default"]=a,i.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},i.languages.markup["tag"].inside["attr-value"].inside["entity"]=i.languages.markup["entity"],i.languages.markup["doctype"].inside["internal-subset"].inside=i.languages.markup,i.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes["title"]=e.content.replace(/&/,"&"))})),Object.defineProperty(i.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:i.languages[t]},n["cdata"]=/^$/i;var r={"included-cdata":{pattern://i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:i.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},i.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(i.languages.markup.tag,"addAttribute",{value:function(e,t){i.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:i.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),i.languages.html=i.languages.markup,i.languages.mathml=i.languages.markup,i.languages.svg=i.languages.markup,i.languages.xml=i.languages.extend("markup",{}),i.languages.ssml=i.languages.xml,i.languages.atom=i.languages.xml,i.languages.rss=i.languages.xml,function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=r.variable[1].inside,i=0;i]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},i.languages.c=i.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),i.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),i.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},i.languages.c["string"]],char:i.languages.c["char"],comment:i.languages.c["comment"],"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:i.languages.c}}}}),i.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete i.languages.c["boolean"],function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(i),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css["atrule"].inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(i),function(e){var t,n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css["atrule"].inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},o={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:o,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:o})}(i),i.languages.javascript=i.languages.extend("clike",{"class-name":[i.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),i.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,i.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:i.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:i.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:i.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:i.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:i.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),i.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:i.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),i.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),i.languages.markup&&(i.languages.markup.tag.addInlined("script","javascript"),i.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),i.languages.js=i.languages.javascript,function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(i),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return"(?:"+o+"|"+a+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(a),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(i),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(//g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),a=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+a+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+a+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){function t(e){if(e&&"string"!==typeof e)for(var n=0,r=e.length;n",quot:'"'},l=String.fromCodePoint||String.fromCharCode;function c(e){var t=e.replace(i,"");return t=t.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;if(t=t.toLowerCase(),"#"===t[0])return n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),l(n);var r=u[t];return r||e})),t}e.languages.md=e.languages.markdown}(i),i.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:i.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},i.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!==typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n0)){var u=d(/^\{$/,/^\}$/);if(-1===u)continue;for(var l=n;l=0&&p(c,"variable-input")}}}}function s(e){return t[n+e]}function f(e,t){t=t||0;for(var n=0;n?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside["interpolation"],o=r.inside["interpolation-punctuation"],a=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function u(e,t){return"___"+t.toUpperCase()+"_"+e+"___"}function l(t,n,r){var o={code:t,grammar:n,language:r};return e.hooks.run("before-tokenize",o),o.tokens=e.tokenize(o.code,o.grammar),e.hooks.run("after-tokenize",o),o.tokens}function c(t){var n={};n["interpolation-punctuation"]=o;var a=e.tokenize(t,n);if(3===a.length){var i=[1,1];i.push.apply(i,l(a[1],e.languages.javascript,"javascript")),a.splice.apply(a,i)}return new e.Token("interpolation",a,r.alias,t)}function s(t,n,r){var o=e.tokenize(t,{interpolation:{pattern:RegExp(a),lookbehind:!0}}),i=0,s={},f=o.map((function(e){if("string"===typeof e)return e;var n,o=e.content;while(-1!==t.indexOf(n=u(i++,r)));return s[n]=o,n})).join(""),d=l(f,n,r),p=Object.keys(s);function h(e){for(var t=0;t=p.length)return;var n=e[t];if("string"===typeof n||"string"===typeof n.content){var r=p[i],o="string"===typeof n?n:n.content,a=o.indexOf(r);if(-1!==a){++i;var u=o.substring(0,a),l=c(s[r]),f=o.substring(a+r.length),d=[];if(u&&d.push(u),d.push(l),f){var m=[f];h(m),d.push.apply(d,m)}"string"===typeof n?(e.splice.apply(e,[t,1].concat(d)),t+=d.length-1):n.content=d}}else{var v=n.content;Array.isArray(v)?h(v):h([v])}}}return i=0,h(d),new e.Token(r,d,"language-"+r,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var f={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function d(e){return"string"===typeof e?e:Array.isArray(e)?e.map(d).join(""):d(e.content)}e.hooks.add("after-tokenize",(function(t){function n(t){for(var r=0,o=t.length;r]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript["parameter"],delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(i),function(e){function t(e,t){return RegExp(e.replace(//g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function"].source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript["keyword"].unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r*\.{3}(?:[^{}]|)*\})/.source;function a(e,t){return e=e.replace(//g,(function(){return n})).replace(//g,(function(){return r})).replace(//g,(function(){return o})),RegExp(e,t)}o=a(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=a(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside["tag"].pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside["tag"].inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside["comment"]=t["comment"],e.languages.insertBefore("inside","attr-name",{spread:{pattern:a(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:a(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var i=function e(t){return t?"string"===typeof t?t:"string"===typeof t.content?t.content:t.content.map(e).join(""):""},u=function t(n){for(var r=[],o=0;o0&&r[r.length-1].tagName===i(a.content[0].content[1])&&r.pop():"/>"===a.content[a.content.length-1].content||r.push({tagName:i(a.content[0].content[1]),openedBraces:0}):r.length>0&&"punctuation"===a.type&&"{"===a.content?r[r.length-1].openedBraces++:r.length>0&&r[r.length-1].openedBraces>0&&"punctuation"===a.type&&"}"===a.content?r[r.length-1].openedBraces--:u=!0),(u||"string"===typeof a)&&r.length>0&&0===r[r.length-1].openedBraces){var l=i(a);o0&&("string"===typeof n[o-1]||"plain-text"===n[o-1].type)&&(l=i(n[o-1])+l,n.splice(o-1,1),o--),n[o]=new e.Token("plain-text",l,null,l)}a.content&&"string"!==typeof a.content&&t(a.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||u(e.tokens)}))}(i),function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(n){var r=t[n],o=[];/^\w+$/.test(n)||o.push(/\w+/.exec(n)[0]),"diff"===n&&o.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:o,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(i),i.languages.git={comment:/^#.*/m,deleted:/^[-\u2013].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m},i.languages.go=i.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),i.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete i.languages.go["class-name"],function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,o,a){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(o,(function(e){if("function"===typeof a&&!a(e))return e;var o,u=i.length;while(-1!==n.code.indexOf(o=t(r,u)))++u;return i[u]=e,o})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var o=0,a=Object.keys(n.tokenStack);i(n.tokens)}function i(u){for(var l=0;l=a.length)break;var c=u[l];if("string"===typeof c||c.content&&"string"===typeof c.content){var s=a[o],f=n.tokenStack[s],d="string"===typeof c?c:c.content,p=t(r,s),h=d.indexOf(p);if(h>-1){++o;var m=d.substring(0,h),v=new e.Token(r,e.tokenize(f,n.grammar),"language-"+r,f),g=d.substring(h+p.length),y=[];m&&y.push.apply(y,i([m])),y.push(v),g&&y.push.apply(y,i([g])),"string"===typeof c?u.splice.apply(u,[l,1].concat(y)):c.content=y}}else c.content&&i(c.content)}return u}}}})}(i),function(e){e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",(function(t){var n=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;e.languages["markup-templating"].buildPlaceholders(t,"handlebars",n)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")})),e.languages.hbs=e.languages.handlebars}(i),i.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},i.languages.webmanifest=i.languages.json,i.languages.less=i.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),i.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}}),i.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/},i.languages.objectivec=i.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete i.languages.objectivec["class-name"],i.languages.objc=i.languages.objectivec,i.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/},i.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},i.languages.python["string-interpolation"].inside["interpolation"].inside.rest=i.languages.python,i.languages.py=i.languages.python,i.languages.reason=i.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),i.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete i.languages.reason["function"],function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(i),i.languages.scss=i.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),i.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),i.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),i.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),i.languages.scss["atrule"].inside.rest=i.languages.scss,function(e){var t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},r={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/};r["interpolation"]={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r["func"]={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:r.interpolation}},rest:r}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}(i),function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx["parameter"],delete e.languages.tsx["literal-property"];var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(i),i.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/};var u=i,l={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},c=l,s={Prism:u,theme:c};function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(){return d=Object.assign||function(e){for(var t=1;t0&&e[n-1]===t?e:e.concat(t)},v=function(e){var t=[[]],n=[e],r=[0],o=[e.length],a=0,i=0,u=[],l=[u];while(i>-1){while((a=r[i]++)0?s:["plain"],c=d):(s=m(s,d.type),d.alias&&(s=m(s,d.alias)),c=d.content),"string"===typeof c){var v=c.split(p),g=v.length;u.push({types:s,content:v[0]});for(var y=1;ye.length)&&(t=e.length);for(var n=0,r=new Array(t);n{var t=e.demos,n=t["docs-asyncaction"].component;return o.a.createElement(o.a.Fragment,null,o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:"markdown"},o.a.createElement("h2",{id:"asyncaction"},o.a.createElement(a["AnchorLink"],{to:"#asyncaction","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"asyncAction")),o.a.createElement(i["default"],t["docs-asyncaction"].previewerProps,o.a.createElement(n,null))))}));t["default"]=e=>{var t=o.a.useContext(a["context"]),n=t.demos;return o.a.useEffect((()=>{var t;null!==e&&void 0!==e&&null!==(t=e.location)&&void 0!==t&&t.hash&&a["AnchorLink"].scrollToAnchor(decodeURIComponent(e.location.hash.slice(1)))}),[]),o.a.createElement(u,{demos:n})}},Ipvm:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("aSOa");function o(e,t,n){return t=Object(r["a"])(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},Iu9s:function(e,t,n){"use strict";var r=n("7+LC");function o(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},IyBU:function(e,t,n){"use strict";n.r(t);var r=n("xwgP"),o=n.n(r),a=n("/7QA"),i={action:()=>new Promise((e=>{setTimeout((()=>{e("/upload.do")}),2e3)})),multiple:!0,onStart(e){console.log("onStart",e,e.name)},onSuccess(e){console.log("onSuccess",e)},onError(e){console.log("onError",e)}},u=()=>o.a.createElement("div",{style:{margin:100}},o.a.createElement("div",null,o.a.createElement(a["a"],i,o.a.createElement("a",null,"\u5f00\u59cb\u4e0a\u4f20"))));t["default"]=u},J6EZ:function(e,t,n){var r=n("bVFb");r("split")},J7X1:function(e,t,n){var r=n("2RC6").f,o=n("+qhb"),a=n("kPvK"),i=a("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},JENe:function(e,t,n){var r=n("HIsA"),o=n("5AZ8");r({target:"WeakSet",stat:!0},{from:o})},JQM1:function(e,t,n){"use strict";e.exports=n("dUn9")},JY8B:function(e,t,n){var r=n("kPvK"),o=n("bWCM"),a=n("2RC6"),i=r("unscopables"),u=Array.prototype;void 0==u[i]&&a.f(u,i,{configurable:!0,value:o(null)}),e.exports=function(e){u[i][e]=!0}},JZnD:function(e,t,n){"use strict";var r=n("vY42");e.exports=function(e,t,n,o,a){var i=new Error(e);return r(i,t,n,o,a)}},Ji6T:function(e,t,n){var r=n("hXyk"),o=n("mKn/"),a=n("2I03"),i=n("40mc"),u=n("tg/3"),l=n("acWz"),c=function(e,t){this.stopped=e,this.result=t},s=e.exports=function(e,t,n,s,f){var d,p,h,m,v,g,y,b=i(t,n,s?2:1);if(f)d=e;else{if(p=u(e),"function"!=typeof p)throw TypeError("Target is not iterable");if(o(p)){for(h=0,m=a(e.length);m>h;h++)if(v=s?b(r(y=e[h])[0],y[1]):b(e[h]),v&&v instanceof c)return v;return new c(!1)}d=p.call(e)}g=d.next;while(!(y=g.call(d)).done)if(v=l(d,b,y.value,s),"object"==typeof v&&v&&v instanceof c)return v;return new c(!1)};s.stop=function(e){return new c(!0,e)}},JqKL:function(e,t,n){"use strict";var r=n("HIsA"),o=n("2JD6"),a=n("Hiyu"),i=n("pMf/"),u=n("Wp5u"),l=n("HC6f"),c=n("xOST"),s=n("OLna"),f=n("D8FR"),d=n("2I03"),p=n("PM2V"),h=n("eusP"),m=n("n2ef"),v=n("+qhb"),g=n("KpHK"),y=n("pxmn"),b=n("bWCM"),w=n("UPu9"),E=n("szjD").f,x=n("b4JQ"),O=n("Xf1w").forEach,k=n("QD/U"),S=n("2RC6"),j=n("qmtO"),T=n("twJ5"),A=n("cGOV"),P=T.get,C=T.set,_=S.f,I=j.f,R=Math.round,N=o.RangeError,L=l.ArrayBuffer,M=l.DataView,D=u.NATIVE_ARRAY_BUFFER_VIEWS,F=u.TYPED_ARRAY_TAG,U=u.TypedArray,H=u.TypedArrayPrototype,z=u.aTypedArrayConstructor,B=u.isTypedArray,V="BYTES_PER_ELEMENT",K="Wrong length",$=function(e,t){var n=0,r=t.length,o=new(z(e))(r);while(r>n)o[n]=t[n++];return o},W=function(e,t){_(e,t,{get:function(){return P(this)[t]}})},q=function(e){var t;return e instanceof L||"ArrayBuffer"==(t=g(e))||"SharedArrayBuffer"==t},G=function(e,t){return B(e)&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},X=function(e,t){return G(e,t=m(t,!0))?s(2,e[t]):I(e,t)},J=function(e,t,n){return!(G(e,t=m(t,!0))&&y(n)&&v(n,"value"))||v(n,"get")||v(n,"set")||n.configurable||v(n,"writable")&&!n.writable||v(n,"enumerable")&&!n.enumerable?_(e,t,n):(e[t]=n.value,e)};a?(D||(j.f=X,S.f=J,W(H,"buffer"),W(H,"byteOffset"),W(H,"byteLength"),W(H,"length")),r({target:"Object",stat:!0,forced:!D},{getOwnPropertyDescriptor:X,defineProperty:J}),e.exports=function(e,t,n){var a=e.match(/\d+$/)[0]/8,u=e+(n?"Clamped":"")+"Array",l="get"+e,s="set"+e,m=o[u],v=m,g=v&&v.prototype,S={},j=function(e,t){var n=P(e);return n.view[l](t*a+n.byteOffset,!0)},T=function(e,t,r){var o=P(e);n&&(r=(r=R(r))<0?0:r>255?255:255&r),o.view[s](t*a+o.byteOffset,r,!0)},I=function(e,t){_(e,t,{get:function(){return j(this,t)},set:function(e){return T(this,t,e)},enumerable:!0})};D?i&&(v=t((function(e,t,n,r){return c(e,v,u),A(function(){return y(t)?q(t)?void 0!==r?new m(t,h(n,a),r):void 0!==n?new m(t,h(n,a)):new m(t):B(t)?$(v,t):x.call(v,t):new m(p(t))}(),e,v)})),w&&w(v,U),O(E(m),(function(e){e in v||f(v,e,m[e])})),v.prototype=g):(v=t((function(e,t,n,r){c(e,v,u);var o,i,l,s=0,f=0;if(y(t)){if(!q(t))return B(t)?$(v,t):x.call(v,t);o=t,f=h(n,a);var m=t.byteLength;if(void 0===r){if(m%a)throw N(K);if(i=m-f,i<0)throw N(K)}else if(i=d(r)*a,i+f>m)throw N(K);l=i/a}else l=p(t),i=l*a,o=new L(i);C(e,{buffer:o,byteOffset:f,byteLength:i,length:l,view:new M(o)});while(s=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;k(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:j(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}n.d(t,"a",(function(){return o}))},"JzK+":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},KLZ3:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},KNeo:function(e,t,n){"use strict";var r=n("g0fg"),o=n("xwgP"),a=n("ox7D"),i=(n("9C+s"),n("7ltR")),u=n("DVjy"),l=n("T4uv"),c=n("BlUI"),s=new Map;function f(e){e.forEach((function(e){var t,n=e.target;null===(t=s.get(n))||void 0===t||t.forEach((function(e){return e(n)}))}))}var d=new c["a"](f);function p(e,t){s.has(e)||(s.set(e,new Set),d.observe(e)),s.get(e).add(t)}function h(e,t){s.has(e)&&(s.get(e)["delete"](t),s.get(e).size||(d.unobserve(e),s["delete"](e)))}var m=n("HNR+"),v=n("83r5"),g=n("7PKZ"),y=n("Zfls"),b=function(e){Object(g["a"])(n,e);var t=Object(y["a"])(n);function n(){return Object(m["a"])(this,n),t.apply(this,arguments)}return Object(v["a"])(n,[{key:"render",value:function(){return this.props.children}}]),n}(o["Component"]),w=o["createContext"](null);function E(e){var t=e.children,n=e.onBatchResize,r=o["useRef"](0),a=o["useRef"]([]),i=o["useContext"](w),u=o["useCallback"]((function(e,t,o){r.current+=1;var u=r.current;a.current.push({size:e,element:t,data:o}),Promise.resolve().then((function(){u===r.current&&(null===n||void 0===n||n(a.current),a.current=[])})),null===i||void 0===i||i(e,t,o)}),[n,i]);return o["createElement"](w.Provider,{value:u},t)}function x(e,t){var n=e.children,r=e.disabled,a=o["useRef"](null),c=o["useRef"](null),s=o["useContext"](w),f="function"===typeof n,d=f?n(a):n,m=o["useRef"]({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),v=!f&&o["isValidElement"](d)&&Object(u["c"])(d),g=v?d.ref:null,y=o["useMemo"]((function(){return Object(u["a"])(g,a)}),[g,a]),E=function(){return Object(l["a"])(a.current)||Object(l["a"])(c.current)};o["useImperativeHandle"](t,(function(){return E()}));var x=o["useRef"](e);x.current=e;var O=o["useCallback"]((function(e){var t=x.current,n=t.onResize,r=t.data,o=e.getBoundingClientRect(),a=o.width,u=o.height,l=e.offsetWidth,c=e.offsetHeight,f=Math.floor(a),d=Math.floor(u);if(m.current.width!==f||m.current.height!==d||m.current.offsetWidth!==l||m.current.offsetHeight!==c){var p={width:f,height:d,offsetWidth:l,offsetHeight:c};m.current=p;var h=l===Math.round(a)?a:l,v=c===Math.round(u)?u:c,g=Object(i["a"])(Object(i["a"])({},p),{},{offsetWidth:h,offsetHeight:v});null===s||void 0===s||s(g,e,r),n&&Promise.resolve().then((function(){n(g,e)}))}}),[]);return o["useEffect"]((function(){var e=E();return e&&!r&&p(e,O),function(){return h(e,O)}}),[a.current,r]),o["createElement"](b,{ref:c},v?o["cloneElement"](d,{ref:y}):d)}var O=o["forwardRef"](x);var k=O,S="rc-observer-key";function j(e,t){var n=e.children,i="function"===typeof n?[n]:Object(a["a"])(n);return i.map((function(n,a){var i=(null===n||void 0===n?void 0:n.key)||"".concat(S,"-").concat(a);return o["createElement"](k,Object(r["a"])({},e,{key:i,ref:0===a?t:void 0}),n)}))}var T=o["forwardRef"](j);T.Collection=E;t["a"]=T},KXoj:function(e,t,n){"use strict";n.r(t);var r=n("q2e5"),o=n("0gua"),a=n("xwgP"),i=n.n(a),u=n("/7QA"),l="\n .rc-upload-disabled {\n opacity:0.5;\n ",c={action:"/upload.do",data:{a:1,b:2},multiple:!0,beforeUpload(e){console.log("beforeUpload",e.name)},onStart:e=>{console.log("onStart",e.name)},onSuccess(e){console.log("onSuccess",e)},onProgress(e,t){console.log("onProgress",Math.round(e.percent),t.name)},onError(e){console.log("onError",e)},capture:"user"},s=()=>{var e=i.a.useState(!1),t=Object(o["a"])(e,2),n=t[0],a=t[1],s=()=>{a(!0)};return n?null:i.a.createElement("div",{style:{margin:100}},i.a.createElement("h2",null,"\u56fa\u5b9a\u4f4d\u7f6e"),i.a.createElement("style",null,l),i.a.createElement("div",null,i.a.createElement(u["a"],c,i.a.createElement("a",null,"\u5f00\u59cb\u4e0a\u4f20"))),i.a.createElement("h2",null,"\u6eda\u52a8"),i.a.createElement("div",{style:{height:200,overflow:"auto",border:"1px solid red"}}),i.a.createElement("div",{style:{height:500}},i.a.createElement(u["a"],Object(r["a"])({},c,{id:"test",component:"div",style:{display:"inline-block"}}),i.a.createElement("a",null,"\u5f00\u59cb\u4e0a\u4f202"))),i.a.createElement("button",{type:"button",onClick:s},"destroy"))};t["default"]=s},KhbH:function(e,t,n){var r=n("7vNX");function o(e,t){if(e){if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},KpHK:function(e,t,n){var r=n("R64i"),o=n("IRht"),a=n("kPvK"),i=a("toStringTag"),u="Arguments"==o(function(){return arguments}()),l=function(e,t){try{return e[t]}catch(n){}};e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=l(t=Object(e),i))?n:u?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},Krz3:function(e,t,n){"use strict";var r,o,a,i=n("kI7s"),u=n("D8FR"),l=n("+qhb"),c=n("kPvK"),s=n("m52V"),f=c("iterator"),d=!1,p=function(){return this};[].keys&&(a=[].keys(),"next"in a?(o=i(i(a)),o!==Object.prototype&&(r=o)):d=!0),void 0==r&&(r={}),s||l(r,f)||u(r,f,p),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},Kusw:function(e,t){e.exports={version:"0.26.1"}},L1c7:function(e,t,n){var r=n("HIsA");r({target:"Math",stat:!0},{isubh:function(e,t,n,r){var o=e>>>0,a=t>>>0,i=n>>>0;return a-(r>>>0)-((~o&i|~(o^i)&o-i>>>0)>>>31)|0}})},L9cO:function(e,t,n){},LTDN:function(e,t,n){"use strict";var r=n("hXyk"),o=n("DDwO");e.exports=function(){for(var e,t=r(this),n=o(t["delete"]),a=!0,i=0,u=arguments.length;i1?arguments[1]:void 0)}})},M6LX:function(e,t,n){var r=n("HIsA"),o=n("t0cd");r({global:!0,forced:parseInt!=o},{parseInt:o})},MOrU:function(e,t,n){var r=n("bVFb");r("search")},MWDE:function(e,t){function n(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},Mi4E:function(e,t,n){var r=n("HIsA");r({target:"Math",stat:!0},{RAD_PER_DEG:180/Math.PI})},Mk6z:function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},MuAQ:function(e,t,n){var r=n("tauh")["default"];function o(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},NA9k:function(e,t,n){var r=n("Hiyu"),o=n("2RC6"),a=n("ma2j"),i=n("Iu9s").UNSUPPORTED_Y;r&&("g"!=/./g.flags||i)&&o.f(RegExp.prototype,"flags",{configurable:!0,get:a})},NNlX:function(e,t,n){"use strict";var r=n("ghbW"),o=n("vldi");e.exports=r("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},NVMI:function(e,t,n){var r=n("JzK+");e.exports=function(e){return Object(r(e))}},NYcp:function(e,t,n){"use strict";var r=n("DDwO"),o=n("pxmn"),a=[].slice,i={},u=function(e,t,n){if(!(t in i)){for(var r=[],o=0;o0&&r(d))p=i(e,t,d,o(d.length),p,c-1)-1;else{if(p>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[p]=d}p++}h++}return p};e.exports=i},O9T0:function(e,t,n){"use strict";var r=n("e0NO");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return function(){return!0}}()},OLna:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},OOuR:function(e,t,n){"use strict";var r=n("9izy").charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},OXHO:function(e,t,n){var r=n("HIsA"),o=n("bXon"),a=n("DDwO"),i=n("hXyk"),u=n("pxmn"),l=n("bWCM"),c=n("NYcp"),s=n("7+LC"),f=o("Reflect","construct"),d=s((function(){function e(){}return!(f((function(){}),[],e)instanceof e)})),p=!s((function(){f((function(){}))})),h=d||p;r({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(e,t){a(e),i(t);var n=arguments.length<3?e:a(arguments[2]);if(p&&!d)return f(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(c.apply(e,r))}var o=n.prototype,s=l(u(o)?o:Object.prototype),h=Function.apply.call(e,s,t);return u(h)?h:s}})},Oaiz:function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},Ogjs:function(e,t,n){var r=n("2JD6"),o=n("5Nth"),a="__core-js_shared__",i=r[a]||o(a,{});e.exports=i},P0G4:function(e,t,n){},PBBb:function(e,t,n){"use strict";var r=n("Xf1w").forEach,o=n("1+Eb"),a=n("/5yA"),i=o("forEach"),u=a("forEach");e.exports=i&&u?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},PCY7:function(e,t){(function(t){e.exports=function(){var e={873:function(e){var t;t=function(){return this}();try{t=t||new Function("return this")()}catch(n){"object"===typeof window&&(t=window)}e.exports=t}},n={};function r(t){if(n[t])return n[t].exports;var o=n[t]={exports:{}},a=!0;try{e[t](o,o.exports,r),a=!1}finally{a&&delete n[t]}return o.exports}return r.ab=t+"/",r(873)}()}).call(this,"/")},PF9H:function(e,t,n){var r=n("HIsA"),o=n("Rkte"),a=n("kes9");r({target:"Math",stat:!0},{fscale:function(e,t,n,r,i){return a(o(e,t,n,r,i))}})},PFEG:function(e,t,n){"use strict";var r=n("Wp5u"),o=n("+kF3"),a=r.aTypedArray,i=r.exportTypedArrayMethod;i("fill",(function(e){return o.apply(a(this),arguments)}))},PM2V:function(e,t,n){var r=n("PaPB"),o=n("2I03");e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=o(t);if(t!==n)throw RangeError("Wrong length or index");return n}},PR8p:function(e,t,n){var r=n("JqKL");r("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}),!0)},"PS8+":function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("Q+gB"),o=n("sYBb"),a=n("IHUa"),i=n("Figs");function u(e){return void 0!==e}function l(e,t){var n=t||{},l=n.defaultValue,c=n.value,s=n.onChange,f=n.postState,d=Object(i["a"])((function(){return u(c)?c:u(l)?"function"===typeof l?l():l:"function"===typeof e?e():e})),p=Object(r["a"])(d,2),h=p[0],m=p[1],v=void 0!==c?c:h,g=f?f(v):v,y=Object(o["a"])(s),b=Object(i["a"])([v]),w=Object(r["a"])(b,2),E=w[0],x=w[1];Object(a["b"])((function(){var e=E[0];h!==e&&y(h,e)}),[E]),Object(a["b"])((function(){u(c)||m(c)}),[c]);var O=Object(o["a"])((function(e,t){m(e,t),x([v],t)}));return[g,O]}},PaPB:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},"Pj+0":function(e,t,n){var r=n("bVFb");r("observable")},PlQJ:function(e,t,n){"use strict";var r=n("HIsA"),o=n("7+LC"),a=n("HC6f"),i=n("hXyk"),u=n("4dbd"),l=n("2I03"),c=n("70zE"),s=a.ArrayBuffer,f=a.DataView,d=s.prototype.slice,p=o((function(){return!new s(2).slice(1,void 0).byteLength}));r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:p},{slice:function(e,t){if(void 0!==d&&void 0===t)return d.call(i(this),e);var n=i(this).byteLength,r=u(e,n),o=u(void 0===t?n:t,n),a=new(c(this,s))(l(o-r)),p=new f(this),h=new f(a),m=0;while(r=0||(o[n]=e[n]);return o}function g(e,t){if(null==e)return{};var n,r,o=v(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function y(e,t){return b(e)||w(e,t)||E(e,t)||O()}function b(e){if(Array.isArray(e))return e}function w(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(r=n.next()).done);i=!0)if(a.push(r.value),t&&a.length===t)break}catch(l){u=!0,o=l}finally{try{i||null==n["return"]||n["return"]()}finally{if(u)throw o}}return a}}function E(e,t){if(e){if("string"===typeof e)return x(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?x(e,t):void 0}}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){u=!0,a=e},f:function(){try{i||null==n["return"]||n["return"]()}finally{if(u)throw a}}}}function S(e){return c["default"].createElement(o.__RouterContext.Consumer,null,(function(t){var n=e.location||t.location,r=e.computedMatch,a=f(f({},t),{},{location:n,match:r}),i=e.render;return c["default"].createElement(o.__RouterContext.Provider,{value:a},a.match?i(f(f({},e.layoutProps),a)):null)}))}var j=["children"];function T(e){return c["default"].createElement(o.__RouterContext.Consumer,null,(function(t){var n,r=e.children,i=g(e,j),u=e.location||t.location,l=null;return a.Children.forEach(r,(function(e){if(null===l&&a.isValidElement(e)){n=e;var r=e.props.path||e.props.from;l=r?o.matchPath(u.pathname,f(f({},e.props),{},{path:r})):t.match}})),l?a.cloneElement(n,{location:u,computedMatch:l,layoutProps:i}):null}))}var A=["component"];function P(e,t){e.component;var n=g(e,A),i=e.component;function u(u){var l=a.useState((function(){return window.g_initialProps})),s=y(l,2),d=s[0],h=s[1];return a.useEffect((function(){var a=function(){var a=p(r().mark((function a(){var l,c,s,d,p;return r().wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(c=i,!i.preload){r.next=6;break}return r.next=4,i.preload();case 4:c=r.sent,c=c["default"]||c;case 6:if(s=f(f({isServer:!1,match:null===u||void 0===u?void 0:u.match,history:null===u||void 0===u?void 0:u.history,route:e},t.getInitialPropsCtx||{}),n),!(null===(l=c)||void 0===l?void 0:l.getInitialProps)){r.next=15;break}return r.next=10,t.plugin.applyPlugins({key:"ssr.modifyGetInitialPropsCtx",type:o.ApplyPluginsType.modify,initialValue:s,async:!0});case 10:return d=r.sent,r.next=13,c.getInitialProps(d||s);case 13:p=r.sent,h(p);case 15:case"end":return r.stop()}}),a)})));return function(){return a.apply(this,arguments)}}();window.g_initialProps||a()}),[window.location.pathname,window.location.search]),c["default"].createElement(i,m({},u,d))}return u.wrapInitialPropsLoaded=!0,u.displayName="ComponentWithInitialPropsFetch",u}function C(e){var t=e.route,n=e.opts,r=e.props,o=I(f(f({},n),{},{routes:t.routes||[],rootRoutes:n.rootRoutes}),{location:r.location}),i=t.component,u=t.wrappers;if(i){var l=n.isServer?{}:window.g_initialProps,s=f(f(f(f({},r),n.extraProps),n.pageInitialProps||l),{},{route:t,routes:n.rootRoutes}),d=c["default"].createElement(i,s,o);if(u){var p=u.length-1;while(p>=0)d=a.createElement(u[p],s,d),p-=1}return d}return o}function _(e){var t,n,r,a=e.route,i=e.index,u=e.opts,l={key:a.key||i,exact:a.exact,strict:a.strict,sensitive:a.sensitive,path:a.path};return a.redirect?c["default"].createElement(o.Redirect,m({},l,{from:a.path,to:a.redirect})):(!u.ssrProps||u.isServer||(null===(t=a.component)||void 0===t?void 0:t.wrapInitialPropsLoaded)||!(null===(n=a.component)||void 0===n?void 0:n.getInitialProps)&&!(null===(r=a.component)||void 0===r?void 0:r.preload)||(a.component=P(a,u)),c["default"].createElement(S,m({},l,{render:function(e){return C({route:a,opts:u,props:e})}})))}function I(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.routes?c["default"].createElement(T,t,e.routes.map((function(t,n){return _({route:t,index:n,opts:f(f({},e),{},{rootRoutes:e.rootRoutes||e.routes})})}))):null}var R=["history"];function N(e){var t=e.history,n=g(e,R);return a.useEffect((function(){function r(t,r){var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=u.matchRoutes(e.routes,t.pathname);"undefined"!==typeof document&&void 0!==n.defaultTitle&&(document.title=i.length&&i[i.length-1].route.title||n.defaultTitle||""),e.plugin.applyPlugins({key:"onRouteChange",type:o.ApplyPluginsType.event,args:{routes:e.routes,matchedRoutes:i,location:t,action:r,isFirst:a}})}return window.g_useSSR&&(window.g_initialProps=null),r(t.location,"POP",!0),t.listen(r)}),[t]),c["default"].createElement(o.Router,{history:t},I(n))}function L(e){return e.plugin.applyPlugins({type:o.ApplyPluginsType.modify,key:"rootContainer",initialValue:c["default"].createElement(N,{history:e.history,routes:e.routes,plugin:e.plugin,ssrProps:e.ssrProps,defaultTitle:e.defaultTitle}),args:{history:e.history,routes:e.routes,plugin:e.plugin}})}function M(e){return D.apply(this,arguments)}function D(){return D=p(r().mark((function e(t){var n,o,a,i,l,c,s,f,d=arguments;return r().wrap((function(e){while(1)switch(e.prev=e.next){case 0:n=d.length>1&&void 0!==d[1]?d[1]:window.location.pathname,o=u.matchRoutes(t,n),a=k(o),e.prev=3,a.s();case 5:if((i=a.n()).done){e.next=19;break}if(c=i.value,s=c.route,"string"===typeof s.component||!(null===(l=s.component)||void 0===l?void 0:l.preload)){e.next=13;break}return e.next=11,s.component.preload();case 11:f=e.sent,s.component=f["default"]||f;case 13:if(!s.routes){e.next=17;break}return e.next=16,M(s.routes,n);case 16:s.routes=e.sent;case 17:e.next=5;break;case 19:e.next=24;break;case 21:e.prev=21,e.t0=e["catch"](3),a.e(e.t0);case 24:return e.prev=24,a.f(),e.finish(24);case 27:return e.abrupt("return",t);case 28:case"end":return e.stop()}}),e,null,[[3,21,24,27]])}))),D.apply(this,arguments)}function F(e){var t=L(e);if(!e.rootElement)return t;var n="string"===typeof e.rootElement?document.getElementById(e.rootElement):e.rootElement,r=e.callback||function(){};window.g_useSSR?e.dynamicImport?M(e.routes).then((function(){i.hydrate(t,n,r)})):i.hydrate(t,n,r):i.render(t,n,r)}t.renderClient=F,t.renderRoutes=I},QIG3:function(e,t,n){"use strict";var r=n("2kiq"),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},u={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function c(e){return r.isMemo(e)?u:l[e["$$typeof"]]||o}l[r.ForwardRef]=i,l[r.Memo]=u;var s=Object.defineProperty,f=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,m=Object.prototype;function v(e,t,n){if("string"!==typeof t){if(m){var r=h(t);r&&r!==m&&v(e,r,n)}var o=f(t);d&&(o=o.concat(d(t)));for(var i=c(e),u=c(t),l=0;l1?arguments[1]:void 0,3);return l(n,(function(e){if(r(e,e,t))return l.stop()}),void 0,!1,!0).stopped}})},RUgK:function(e,t,n){var r=n("Hiyu"),o=n("y6vz"),a=n("2hCa"),i=n("73Ew").f,u=function(e){return function(t){var n,u=a(t),l=o(u),c=l.length,s=0,f=[];while(c>s)n=l[s++],r&&!i.call(u,n)||f.push(e?[n,u[n]]:u[n]);return f}};e.exports={entries:u(!0),values:u(!1)}},"Ra/9":function(e,t,n){var r=n("2hCa"),o=n("2I03"),a=n("4dbd"),i=function(e){return function(t,n,i){var u,l=r(t),c=o(l.length),s=a(i,c);if(e&&n!=n){while(c>s)if(u=l[s++],u!=u)return!0}else for(;c>s;s++)if((e||s in l)&&l[s]===n)return e||s||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},Rkte:function(e,t){e.exports=Math.scale||function(e,t,n,r,o){return 0===arguments.length||e!=e||t!=t||n!=n||r!=r||o!=o?NaN:e===1/0||e===-1/0?e:(e-t)*(o-r)/(n-t)+r}},S6jd:function(e,t,n){"use strict";var r=n("HIsA"),o=n("m52V"),a=n("LTDN");r({target:"Map",proto:!0,real:!0,forced:o},{deleteAll:function(){return a.apply(this,arguments)}})},SCzs:function(e,t,n){var r=n("HIsA"),o=n("icJ8"),a=n("hXyk"),i=o.toKey,u=o.set;r({target:"Reflect",stat:!0},{defineMetadata:function(e,t,n){var r=arguments.length<4?void 0:i(arguments[3]);u(e,t,a(n),r)}})},SDGo:function(e,t,n){"use strict";var r=n("e0NO");function o(){this.handlers=[]}o.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},SJkl:function(e,t,n){"use strict";var r=n("rEZV")["default"],o=n("HIaW")["default"];function a(){var e=n("xwgP");return a=function(){return e},e}function i(e,t){return f(e)||s(e,t)||l(e,t)||u()}function u(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e,t){if(e){if("string"===typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0),h(e.scrollLefte.length)&&(t=e.length);for(var n=0,r=new Array(t);n3&&void 0!==arguments[3]?arguments[3]:0;if(a0&&(!f.multiline||f.multiline&&"\n"!==e[f.lastIndex-1])&&(h="(?: "+h+")",v=" "+v,m++),n=new RegExp("^(?:"+h+")",p)),s&&(n=new RegExp("^"+h+"$(?!\\s)",p)),l&&(t=f.lastIndex),o=a.call(d?n:f,v),d?o?(o.input=o.input.slice(m),o[0]=o[0].slice(m),o.index=f.lastIndex,f.lastIndex+=o[0].length):f.lastIndex=0:l&&o&&(f.lastIndex=f.global?o.index+o[0].length:t),s&&o&&o.length>1&&i.call(o[0],n,(function(){for(u=1;u94906265.62425156?i(e)+l:o(e-1+u(e-1)*u(e+1))}})},UqPo:function(e,t,n){var r=n("HIsA"),o=n("icJ8"),a=n("hXyk"),i=o.toKey,u=o.getMap,l=o.store;r({target:"Reflect",stat:!0},{deleteMetadata:function(e,t){var n=arguments.length<3?void 0:i(arguments[2]),r=u(a(t),n,!1);if(void 0===r||!r["delete"](e))return!1;if(r.size)return!0;var o=l.get(t);return o["delete"](n),!!o.size||l["delete"](t)}})},Uvls:function(e,t,n){"use strict";var r=n("R64i"),o=n("KpHK");e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},Uysq:function(e,t,n){var r=n("/k0j");function o(e,t,n){return t=r(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},"V8i+":function(e,t,n){"use strict";var r=n("HIsA"),o=n("m52V"),a=n("bXon"),i=n("hXyk"),u=n("DDwO"),l=n("40mc"),c=n("70zE"),s=n("YjHi"),f=n("Ji6T");r({target:"Map",proto:!0,real:!0,forced:o},{filter:function(e){var t=i(this),n=s(t),r=l(e,arguments.length>1?arguments[1]:void 0,3),o=new(c(t,a("Map"))),d=u(o.set);return f(n,(function(e,n){r(n,e,t)&&d.call(o,e,n)}),void 0,!0,!0),o}})},VIJi:function(e,t,n){"use strict";var r=n("QVKS")["default"];function o(){var e=n("xwgP");return o=function(){return e},e}function a(){var e=n("xuD6");return a=function(){return e},e}function i(e,t){return f(e)||s(e,t)||l(e,t)||u()}function u(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e,t){if(e){if("string"===typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n,\n document.getElementById('root'),\n);"):"react-dom/client"===e?"/**\n* This is an auto-generated demo by dumi\n* if you think it is not working as expected,\n* please report the issue at\n* https://github.com/umijs/dumi/issues\n**/\nimport React from 'react';\nimport { createRoot } from \"react-dom/client\";\n".concat(t,'\nimport App from "./App";\n\nconst rootElement = document.getElementById("root");\nconst root = createRoot(rootElement);\n\nroot.render();'):void 0};function h(e){var t=document.createElement("span");t.innerHTML=e;var n=t.textContent;return t.remove(),n}function m(e){var t,n=Boolean(e.sources._.tsx),o=n?".tsx":".jsx",i={},u={},l=Object.values(e.dependencies).filter((function(e){return e.css})),c="App".concat(o),s="index".concat(o);return Object.entries(e.dependencies).forEach((function(e){var t=r(e,2),n=t[0],o=t[1].version;u[n]=o})),u["react-dom"]||(u["react-dom"]=u.react||"latest"),i["sandbox.config.json"]={content:JSON.stringify({template:n?"create-react-app-typescript":"create-react-app"},null,2),isBinary:!1},i["package.json"]={content:JSON.stringify({name:e.title,description:h(e.description||"An auto-generated demo by dumi"),main:s,dependencies:u,devDependencies:n?{typescript:"^3"}:{}},null,2),isBinary:!1},i["index.html"]={content:'
',isBinary:!1},i[s]={content:p((null===u||void 0===u||null===(t=u["react-dom"])||void 0===t?void 0:t.startsWith("18."))||"latest"===u.react?"react-dom/client":"react-dom",l.map((function(e){var t=e.css;return"import '".concat(t,"';")})).join("\n")),isBinary:!1},Object.entries(e.sources).forEach((function(e){var t=r(e,2),n=t[0],o=t[1],a=o.tsx,u=o.jsx,l=o.content;i["_"===n?c:n]={content:a||u||l,isBinary:!1}})),(0,a().getParameters)({files:i})}var v=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d,n=(0,o().useState)(),r=i(n,2),a=r[0],u=r[1];return(0,o().useEffect)((function(){if(e){var n=document.createElement("form"),r=document.createElement("input"),o=m(e);return n.method="POST",n.target="_blank",n.style.display="none",n.action=t,n.appendChild(r),n.setAttribute("data-demo",e.title||""),r.name="parameters",r.value=o,document.body.appendChild(n),u((function(){return function(){return n.submit()}})),function(){return n.remove()}}}),[e]),a};t["default"]=v},VeQJ:function(e,t,n){"use strict";e.exports=function(){var e=arguments.length,t=new Array(e);while(e--)t[e]=arguments[e];return new this(t)}},W5DR:function(e,t,n){var r=n("Uysq");function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t=0:f>d;d+=p)d in s&&(l=n(l,s[d],d,c));return l}};e.exports={left:u(!1),right:u(!0)}},WdrS:function(e,t,n){var r=n("IRht"),o=n("UTnC");e.exports=function(e,t){var n=e.exec;if("function"===typeof n){var a=n.call(e,t);if("object"!==typeof a)throw TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},Wp5u:function(e,t,n){"use strict";var r,o=n("13/t"),a=n("Hiyu"),i=n("2JD6"),u=n("pxmn"),l=n("+qhb"),c=n("KpHK"),s=n("D8FR"),f=n("GUTS"),d=n("2RC6").f,p=n("kI7s"),h=n("UPu9"),m=n("kPvK"),v=n("fotI"),g=i.Int8Array,y=g&&g.prototype,b=i.Uint8ClampedArray,w=b&&b.prototype,E=g&&p(g),x=y&&p(y),O=Object.prototype,k=O.isPrototypeOf,S=m("toStringTag"),j=v("TYPED_ARRAY_TAG"),T=o&&!!h&&"Opera"!==c(i.opera),A=!1,P={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},C=function(e){var t=c(e);return"DataView"===t||l(P,t)},_=function(e){return u(e)&&l(P,c(e))},I=function(e){if(_(e))return e;throw TypeError("Target is not a typed array")},R=function(e){if(h){if(k.call(E,e))return e}else for(var t in P)if(l(P,r)){var n=i[t];if(n&&(e===n||k.call(n,e)))return e}throw TypeError("Target is not a typed array constructor")},N=function(e,t,n){if(a){if(n)for(var r in P){var o=i[r];o&&l(o.prototype,e)&&delete o.prototype[e]}x[e]&&!n||f(x,e,n?t:T&&y[e]||t)}},L=function(e,t,n){var r,o;if(a){if(h){if(n)for(r in P)o=i[r],o&&l(o,e)&&delete o[e];if(E[e]&&!n)return;try{return f(E,e,n?t:T&&g[e]||t)}catch(u){}}for(r in P)o=i[r],!o||o[e]&&!n||f(o,e,t)}};for(r in P)i[r]||(T=!1);if((!T||"function"!=typeof E||E===Function.prototype)&&(E=function(){throw TypeError("Incorrect invocation")},T))for(r in P)i[r]&&h(i[r],E);if((!T||!x||x===O)&&(x=E.prototype,T))for(r in P)i[r]&&h(i[r].prototype,x);if(T&&p(w)!==x&&h(w,x),a&&!l(x,S))for(r in A=!0,d(x,S,{get:function(){return u(this)?this[j]:void 0}}),P)i[r]&&s(i[r],j,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:T,TYPED_ARRAY_TAG:A&&j,aTypedArray:I,aTypedArrayConstructor:R,exportTypedArrayMethod:N,exportTypedArrayStaticMethod:L,isView:C,isTypedArray:_,TypedArray:E,TypedArrayPrototype:x}},Wq0k:function(e,t,n){"use strict";var r=n("JZnD");e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},WxlZ:function(e,t,n){var r,o=function(){var e=String.fromCharCode,t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",r={};function o(e,t){if(!r[e]){r[e]={};for(var n=0;n>>8,n[2*r+1]=i%256}return n},decompressFromUint8Array:function(t){if(null===t||void 0===t)return a.decompress(t);for(var n=new Array(t.length/2),r=0,o=n.length;r>=1}else{for(o=1,r=0;r>=1}f--,0==f&&(f=Math.pow(2,p),p++),delete u[s]}else for(o=i[s],r=0;r>=1;f--,0==f&&(f=Math.pow(2,p),p++),i[c]=d++,s=String(l)}if(""!==s){if(Object.prototype.hasOwnProperty.call(u,s)){if(s.charCodeAt(0)<256){for(r=0;r>=1}else{for(o=1,r=0;r>=1}f--,0==f&&(f=Math.pow(2,p),p++),delete u[s]}else for(o=i[s],r=0;r>=1;f--,0==f&&(f=Math.pow(2,p),p++)}for(o=2,r=0;r>=1;while(1){if(m<<=1,v==t-1){h.push(n(m));break}v++}return h.join("")},decompress:function(e){return null==e?"":""==e?null:a._decompress(e.length,32768,(function(t){return e.charCodeAt(t)}))},_decompress:function(t,n,r){var o,a,i,u,l,c,s,f=[],d=4,p=4,h=3,m="",v=[],g={val:r(0),position:n,index:1};for(o=0;o<3;o+=1)f[o]=o;i=0,l=Math.pow(2,2),c=1;while(c!=l)u=g.val&g.position,g.position>>=1,0==g.position&&(g.position=n,g.val=r(g.index++)),i|=(u>0?1:0)*c,c<<=1;switch(i){case 0:i=0,l=Math.pow(2,8),c=1;while(c!=l)u=g.val&g.position,g.position>>=1,0==g.position&&(g.position=n,g.val=r(g.index++)),i|=(u>0?1:0)*c,c<<=1;s=e(i);break;case 1:i=0,l=Math.pow(2,16),c=1;while(c!=l)u=g.val&g.position,g.position>>=1,0==g.position&&(g.position=n,g.val=r(g.index++)),i|=(u>0?1:0)*c,c<<=1;s=e(i);break;case 2:return""}f[3]=s,a=s,v.push(s);while(1){if(g.index>t)return"";i=0,l=Math.pow(2,h),c=1;while(c!=l)u=g.val&g.position,g.position>>=1,0==g.position&&(g.position=n,g.val=r(g.index++)),i|=(u>0?1:0)*c,c<<=1;switch(s=i){case 0:i=0,l=Math.pow(2,8),c=1;while(c!=l)u=g.val&g.position,g.position>>=1,0==g.position&&(g.position=n,g.val=r(g.index++)),i|=(u>0?1:0)*c,c<<=1;f[p++]=e(i),s=p-1,d--;break;case 1:i=0,l=Math.pow(2,16),c=1;while(c!=l)u=g.val&g.position,g.position>>=1,0==g.position&&(g.position=n,g.val=r(g.index++)),i|=(u>0?1:0)*c,c<<=1;f[p++]=e(i),s=p-1,d--;break;case 2:return v.join("")}if(0==d&&(d=Math.pow(2,h),h++),f[s])m=f[s];else{if(s!==p)return null;m=a+a.charAt(0)}v.push(m),f[p++]=a+m.charAt(0),d--,a=m,0==d&&(d=Math.pow(2,h),h++)}}};return a}();r=function(){return o}.call(t,n,t,e),void 0===r||(e.exports=r)},X0Rg:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("7ltR");function o(e,t){var n=Object(r["a"])({},e);return Array.isArray(t)&&t.forEach((function(e){delete n[e]})),n}},X260:function(e,t,n){var r=n("HIsA"),o=Math.min,a=Math.max;r({target:"Math",stat:!0},{clamp:function(e,t,n){return o(n,a(t,e))}})},X5zD:function(e,t,n){"use strict";n.r(t);var r=n("xwgP"),o=n.n(r),a=n("UFL0"),i=o.a.memo((e=>{e.demos;return o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:"markdown"},o.a.createElement("h1",{id:"changelog"},o.a.createElement(a["AnchorLink"],{to:"#changelog","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"Changelog"),o.a.createElement("h2",{id:"334"},o.a.createElement(a["AnchorLink"],{to:"#334","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"3.3.4"),o.a.createElement("p",null,o.a.createElement("code",null,"2020-12-16")),o.a.createElement("ul",null,o.a.createElement("li",null,"chore: use dumi. ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/289"},"#289")),o.a.createElement("li",null,"chore: update github actions. ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/292"},"#292")),o.a.createElement("li",null,"chore: fix ts define.")),o.a.createElement("h2",{id:"331"},o.a.createElement(a["AnchorLink"],{to:"#331","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"3.3.1"),o.a.createElement("p",null,o.a.createElement("code",null,"2020-09-07")),o.a.createElement("ul",null,o.a.createElement("li",null,"refatcor: change timeout to promise. ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/277"},"#277"))),o.a.createElement("h2",{id:"330"},o.a.createElement(a["AnchorLink"],{to:"#330","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"3.3.0"),o.a.createElement("p",null,o.a.createElement("code",null,"2020-08-31")),o.a.createElement("ul",null,o.a.createElement("li",null,"chore: use father. ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/268"},"#268"))),o.a.createElement("h2",{id:"320"},o.a.createElement(a["AnchorLink"],{to:"#320","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"3.2.0"),o.a.createElement("ul",null,o.a.createElement("li",null,"support ",o.a.createElement("code",null,"onClick")," ",o.a.createElement("code",null,"onMouseEnter")," ",o.a.createElement("code",null,"onMouseLeave"),".")),o.a.createElement("h2",{id:"310"},o.a.createElement(a["AnchorLink"],{to:"#310","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"3.1.0"),o.a.createElement("ul",null,o.a.createElement("li",null,o.a.createElement("code",null,"data")," could return Promise.")),o.a.createElement("h2",{id:"300"},o.a.createElement(a["AnchorLink"],{to:"#300","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"3.0.0"),o.a.createElement("ul",null,o.a.createElement("li",null,"Drop support of IE8/9.")),o.a.createElement("h2",{id:"290"},o.a.createElement(a["AnchorLink"],{to:"#290","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"2.9.0"),o.a.createElement("ul",null,o.a.createElement("li",null,"Support ",o.a.createElement("code",null,"method"),". #197")),o.a.createElement("h2",{id:"280"},o.a.createElement(a["AnchorLink"],{to:"#280","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"2.8.0"),o.a.createElement("ul",null,o.a.createElement("li",null,o.a.createElement("code",null,"multiple")," will works on drag upload.")),o.a.createElement("h2",{id:"270"},o.a.createElement(a["AnchorLink"],{to:"#270","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"2.7.0"),o.a.createElement("ul",null,o.a.createElement("li",null,"Support ",o.a.createElement("code",null,"transformFile")," props to handle file before upload.")),o.a.createElement("h2",{id:"265"},o.a.createElement(a["AnchorLink"],{to:"#265","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"2.6.5"),o.a.createElement("ul",null,o.a.createElement("li",null,"fix ",o.a.createElement("code",null,"openFileDialogOnClick=","{","false","}")," not to prevent on Enter event.")),o.a.createElement("h2",{id:"260--2018-09-21"},o.a.createElement(a["AnchorLink"],{to:"#260--2018-09-21","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"2.6.0 / 2018-09-21"),o.a.createElement("ul",null,o.a.createElement("li",null,"Add ",o.a.createElement("code",null,"openFileDialogOnClick"),".")),o.a.createElement("h2",{id:"250--2018-06-12"},o.a.createElement(a["AnchorLink"],{to:"#250--2018-06-12","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"2.5.0 / 2018-06-12"),o.a.createElement("ul",null,o.a.createElement("li",null,"Support upload directory. ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/114"},"#114")),o.a.createElement("li",null,"Support ",o.a.createElement("code",null,"action=","{","(file) => Promise","}"),". ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/97"},"#97")),o.a.createElement("li",null,"Fix a bluebird promise warning. ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/110"},"#110"))),o.a.createElement("h2",{id:"240--2017-07-15"},o.a.createElement(a["AnchorLink"],{to:"#240--2017-07-15","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"2.4.0 / 2017-07-15"),o.a.createElement("ul",null,o.a.createElement("li",null,"Add XHR for onSuccess callback by @xiangkaiy ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/85"},"!85"))),o.a.createElement("h2",{id:"238--2017-06-21"},o.a.createElement(a["AnchorLink"],{to:"#238--2017-06-21","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"2.3.8 / 2017-06-21"),o.a.createElement("ul",null,o.a.createElement("li",null,"fix issue #80 & #81 ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/82"},"#82"))),o.a.createElement("h2",{id:"235--2017-05-01"},o.a.createElement(a["AnchorLink"],{to:"#235--2017-05-01","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"2.3.5 / 2017-05-01"),o.a.createElement("ul",null,o.a.createElement("li",null,"Fix prop-types and create-react-class warning ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/67"},"!67"))),o.a.createElement("h2",{id:"234--2017-03-10"},o.a.createElement(a["AnchorLink"],{to:"#234--2017-03-10","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"2.3.4 / 2017-03-10"),o.a.createElement("ul",null,o.a.createElement("li",null,"disable upload progress listener in request if onPress is not set ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/65"},"!65"))),o.a.createElement("h2",{id:"233--2017-02-20"},o.a.createElement(a["AnchorLink"],{to:"#233--2017-02-20","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"2.3.3 / 2017-02-20"),o.a.createElement("ul",null,o.a.createElement("li",null,"beforeUpload add empty catch function when promise passed, fix ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/issues/64"},"#64"))),o.a.createElement("h2",{id:"232--2016-12-30"},o.a.createElement(a["AnchorLink"],{to:"#232--2016-12-30","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"2.3.2 / 2016-12-30"),o.a.createElement("ul",null,o.a.createElement("li",null,"Fix crash if customRequest does not call onSuccess() / onError() ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/60"},"!60"))),o.a.createElement("h2",{id:"230--2016-12-12"},o.a.createElement(a["AnchorLink"],{to:"#230--2016-12-12","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"2.3.0 / 2016-12-12"),o.a.createElement("ul",null,o.a.createElement("li",null,"expose file list as argument to ",o.a.createElement("code",null,"beforeUpload")," ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/57"},"!57"))),o.a.createElement("h2",{id:"220--2016-10-13"},o.a.createElement(a["AnchorLink"],{to:"#220--2016-10-13","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"2.2.0 / 2016-10-13"),o.a.createElement("ul",null,o.a.createElement("li",null,"support custom request option ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/53"},"!53"))),o.a.createElement("h2",{id:"211--2016-09-23"},o.a.createElement(a["AnchorLink"],{to:"#211--2016-09-23","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"2.1.1 / 2016-09-23"),o.a.createElement("ul",null,o.a.createElement("li",null,"support Blob file upload ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/52"},"!52"))),o.a.createElement("h2",{id:"210--2016-09-20"},o.a.createElement(a["AnchorLink"],{to:"#210--2016-09-20","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"2.1.0 / 2016-09-20"),o.a.createElement("ul",null,o.a.createElement("li",null,"add ",o.a.createElement("code",null,"className")," prop")),o.a.createElement("h2",{id:"200--2016-08-10"},o.a.createElement(a["AnchorLink"],{to:"#200--2016-08-10","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"2.0.0 / 2016-08-10"),o.a.createElement("ul",null,o.a.createElement("li",null,"add abort api"),o.a.createElement("li",null,"props.onStart's argument is always a single File"),o.a.createElement("li",null,"add disabled prop")),o.a.createElement("h2",{id:"1141--2016-07-19"},o.a.createElement(a["AnchorLink"],{to:"#1141--2016-07-19","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.14.1 / 2016-07-19"),o.a.createElement("ul",null,o.a.createElement("li",null,"fix ajax multiple load")),o.a.createElement("h2",{id:"1140--2016-07-19"},o.a.createElement(a["AnchorLink"],{to:"#1140--2016-07-19","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.14.0 / 2016-07-19"),o.a.createElement("ul",null,o.a.createElement("li",null,"add component/style prop")),o.a.createElement("h2",{id:"1130--2016-06-02"},o.a.createElement(a["AnchorLink"],{to:"#1130--2016-06-02","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.13.0 / 2016-06-02"),o.a.createElement("ul",null,o.a.createElement("li",null,"add disabled state"),o.a.createElement("li",null,o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/issues/37"},"https://github.com/react-component/upload/issues/37"))),o.a.createElement("h2",{id:"1120-2016-05-10"},o.a.createElement(a["AnchorLink"],{to:"#1120-2016-05-10","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.12.0 2016-05-10"),o.a.createElement("ul",null,o.a.createElement("li",null,"add supportServerRender prop")),o.a.createElement("h2",{id:"1110-2016-05-03"},o.a.createElement(a["AnchorLink"],{to:"#1110-2016-05-03","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.11.0 2016-05-03"),o.a.createElement("ul",null,o.a.createElement("li",null,"Allow all 2xx status as success status, not only 200. fix #34"),o.a.createElement("li",null,"When ",o.a.createElement("code",null,"headers['X-Requested-With'] = null")," , request do not set X-Requested-With as XMLHttpRequest , fix #33")),o.a.createElement("h2",{id:"190-2016-03-23"},o.a.createElement(a["AnchorLink"],{to:"#190-2016-03-23","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.9.0 2016-03-23"),o.a.createElement("ul",null,o.a.createElement("li",null,"pass file to data if data's type is function")),o.a.createElement("h2",{id:"181-2016-03-16"},o.a.createElement(a["AnchorLink"],{to:"#181-2016-03-16","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.8.1 2016-03-16"),o.a.createElement("ul",null,o.a.createElement("li",null,"fix InvalidStateError in IE 10"),o.a.createElement("li",null,"fix #30")),o.a.createElement("h2",{id:"180-2016-01-14"},o.a.createElement(a["AnchorLink"],{to:"#180-2016-01-14","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.8.0 2016-01-14"),o.a.createElement("ul",null,o.a.createElement("li",null,"support custom XHR headers")),o.a.createElement("h2",{id:"172-2016-01-13"},o.a.createElement(a["AnchorLink"],{to:"#172-2016-01-13","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.7.2 2016-01-13"),o.a.createElement("ul",null,o.a.createElement("li",null,"add prop withCredentials config")),o.a.createElement("h2",{id:"170-2015-10-27"},o.a.createElement(a["AnchorLink"],{to:"#170-2015-10-27","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.7.0 2015-10-27"),o.a.createElement("ul",null,o.a.createElement("li",null,"react 0.14 support"),o.a.createElement("li",null,"remove superagent")),o.a.createElement("h2",{id:"166-2015-09-29"},o.a.createElement(a["AnchorLink"],{to:"#166-2015-09-29","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.6.6 2015-09-29"),o.a.createElement("ul",null,o.a.createElement("li",null,"feat: add beforeUpload support, ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/19"},"#19"))),o.a.createElement("h2",{id:"152-2015-09-18"},o.a.createElement(a["AnchorLink"],{to:"#152-2015-09-18","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.5.2 2015-09-18"),o.a.createElement("ul",null,o.a.createElement("li",null,"fix: Fixed bug calling wrong method name ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/13"},"#13"))),o.a.createElement("h2",{id:"150-2015-09-16"},o.a.createElement(a["AnchorLink"],{to:"#150-2015-09-16","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.5.0 2015-09-16"),o.a.createElement("ul",null,o.a.createElement("li",null,"feat: add getFormContainer prop to decide container where form to be inserted.")),o.a.createElement("h2",{id:"144-2015-09-16"},o.a.createElement(a["AnchorLink"],{to:"#144-2015-09-16","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.4.4 2015-09-16"),o.a.createElement("ul",null,o.a.createElement("li",null,"feat: Added aria role and keyboard navigation, pr",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/9"},"#9"))),o.a.createElement("h2",{id:"142-2015-09-15"},o.a.createElement(a["AnchorLink"],{to:"#142-2015-09-15","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.4.2 2015-09-15"),o.a.createElement("ul",null,o.a.createElement("li",null,"fix: IframeUpload move form to body ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/8"},"#8"))),o.a.createElement("h2",{id:"140-2015-09-09"},o.a.createElement(a["AnchorLink"],{to:"#140-2015-09-09","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.4.0 2015-09-09"),o.a.createElement("ul",null,o.a.createElement("li",null,"onStart file argument change to a array when multiple files uploaded")),o.a.createElement("h2",{id:"130-2015-08-12"},o.a.createElement(a["AnchorLink"],{to:"#130-2015-08-12","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.3.0 2015-08-12"),o.a.createElement("ul",null,o.a.createElement("li",null,"onError arguments change to ",o.a.createElement("code",null,"err, responce, file"))),o.a.createElement("h2",{id:"123-2015-07-17"},o.a.createElement(a["AnchorLink"],{to:"#123-2015-07-17","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.2.3 2015-07-17"),o.a.createElement("ul",null,o.a.createElement("li",null,"support file drop")),o.a.createElement("h2",{id:"122-2015-06-25"},o.a.createElement(a["AnchorLink"],{to:"#122-2015-06-25","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.2.2 2015-06-25"),o.a.createElement("ul",null,o.a.createElement("li",null,o.a.createElement("code",null,"fix")," pr",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/pull/2"},"#2"))),o.a.createElement("h2",{id:"121-2015-06-24"},o.a.createElement(a["AnchorLink"],{to:"#121-2015-06-24","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"1.2.1 2015-06-24"),o.a.createElement("ul",null,o.a.createElement("li",null,o.a.createElement("code",null,"feat")," Finish basic funcion"))))}));t["default"]=e=>{var t=o.a.useContext(a["context"]),n=t.demos;return o.a.useEffect((()=>{var t;null!==e&&void 0!==e&&null!==(t=e.location)&&void 0!==t&&t.hash&&a["AnchorLink"].scrollToAnchor(decodeURIComponent(e.location.hash.slice(1)))}),[]),o.a.createElement(i,{demos:n})}},XOON:function(e,t){function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},XVnw:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=n("4zH6"),o=n("iUVf");t["default"]=(0,o.LinkWrapper)(r.NavLink)},XX90:function(e,t,n){"use strict";n.r(t);var r=n("xwgP"),o=n.n(r),a=n("UFL0"),i=n("9kvl"),u=(n("eCCR"),function(e){var t=e.location,n=Object(r["useContext"])(a["context"]),u=n.base,l=n.locale,c=n.config.locales,s=c.find((function(e){var t=e.name;return t!==l}));function f(e){var n=u.replace("/".concat(l),""),r=t.pathname.replace(new RegExp("^".concat(u,"(/|$)")),"".concat(n,"$1"))||"/";if(e!==c[0].name){var o="".concat(n,"/").concat(e).replace(/\/\//,"/"),a=t.pathname.replace(u.replace(/^\/$/,"//"),"");return"".concat(o).concat(a).replace(/\/$/,"")}return r}return s?o.a.createElement("div",{className:"__dumi-default-locale-select","data-locale-count":c.length},c.length>2?o.a.createElement("select",{value:l,onChange:function(e){return i["a"].push(f(e.target.value))}},c.map((function(e){return o.a.createElement("option",{value:e.name,key:e.name},e.label)}))):o.a.createElement(a["Link"],{to:f(s.name)},s.label)):null}),l=u,c=(n("+pdy"),function(e){var t=e.onMobileMenuClick,n=e.navPrefix,i=e.location,u=e.darkPrefix,c=Object(r["useContext"])(a["context"]),s=c.base,f=c.config,d=f.mode,p=f.title,h=f.logo,m=c.nav;return o.a.createElement("div",{className:"__dumi-default-navbar","data-mode":d},o.a.createElement("button",{className:"__dumi-default-navbar-toggle",onClick:t}),o.a.createElement(a["Link"],{className:"__dumi-default-navbar-logo",style:{backgroundImage:h&&"url('".concat(h,"')")},to:s,"data-plaintext":!1===h||void 0},p),o.a.createElement("nav",null,n,m.map((function(e){var t,n=Boolean(null===(t=e.children)||void 0===t?void 0:t.length)&&o.a.createElement("ul",null,e.children.map((function(e){return o.a.createElement("li",{key:e.path},o.a.createElement(a["NavLink"],{to:e.path},e.title))})));return o.a.createElement("span",{key:e.title||e.path},e.path?o.a.createElement(a["NavLink"],{to:e.path,key:e.path},e.title):e.title,n)})),o.a.createElement("div",{className:"__dumi-default-navbar-tool"},o.a.createElement(l,{location:i}),u)))}),s=c,f=(n("rvbi"),["slugs"]);function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function h(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}var m=function(e){var t=e.slugs,n=p(e,f);return o.a.createElement("ul",d({role:"slug-list"},n),t.filter((function(e){var t=e.depth;return t>1&&t<4})).map((function(e){return o.a.createElement("li",{key:e.heading,title:e.value,"data-depth":e.depth},o.a.createElement(a["AnchorLink"],{to:"#".concat(e.heading)},o.a.createElement("span",null,e.value)))})))},v=m,g=(n("YNxR"),function(e){var t=e.mobileMenuCollapsed,n=e.location,i=e.darkPrefix,u=Object(r["useContext"])(a["context"]),c=u.config,s=c.logo,f=c.title,d=c.description,p=c.mode,h=c.repository.url,m=u.menu,g=u.nav,y=u.base,b=u.meta,w=Boolean((b.hero||b.features||b.gapless)&&"site"===p)||!1===b.sidemenu||void 0;return o.a.createElement("div",{className:"__dumi-default-menu","data-mode":p,"data-hidden":w,"data-mobile-show":!t||void 0},o.a.createElement("div",{className:"__dumi-default-menu-inner"},o.a.createElement("div",{className:"__dumi-default-menu-header"},o.a.createElement(a["Link"],{to:y,className:"__dumi-default-menu-logo",style:{backgroundImage:s&&"url('".concat(s,"')")}}),o.a.createElement("h1",null,f),o.a.createElement("p",null,d),/github\.com/.test(h)&&"doc"===p&&o.a.createElement("p",null,o.a.createElement("object",{type:"image/svg+xml",data:"https://img.shields.io/github/stars".concat(h.match(/((\/[^\/]+){2})$/)[1],"?style=social")}))),o.a.createElement("div",{className:"__dumi-default-menu-mobile-area"},!!g.length&&o.a.createElement("ul",{className:"__dumi-default-menu-nav-list"},g.map((function(e){var t,n=Boolean(null===(t=e.children)||void 0===t?void 0:t.length)&&o.a.createElement("ul",null,e.children.map((function(e){return o.a.createElement("li",{key:e.path||e.title},o.a.createElement(a["NavLink"],{to:e.path},e.title))})));return o.a.createElement("li",{key:e.path||e.title},e.path?o.a.createElement(a["NavLink"],{to:e.path},e.title):e.title,n)}))),o.a.createElement(l,{location:n}),i),o.a.createElement("ul",{className:"__dumi-default-menu-list"},!w&&m.map((function(e){var t,r=Boolean(null===(t=b.slugs)||void 0===t?void 0:t.length),i=e.children&&Boolean(e.children.length),u="menu"===b.toc&&!i&&r&&e.path===n.pathname.replace(/([^^])\/$/,"$1"),l=i?e.children.map((function(e){return e.path})):[e.path,n.pathname.startsWith("".concat(e.path,"/"))&&b.title===e.title?n.pathname:null];return o.a.createElement("li",{key:e.path||e.title},o.a.createElement(a["NavLink"],{to:e.path,isActive:function(){return l.includes(n.pathname)}},e.title),Boolean(e.children&&e.children.length)&&o.a.createElement("ul",null,e.children.map((function(e){return o.a.createElement("li",{key:e.path},o.a.createElement(a["NavLink"],{to:e.path,exact:!0},o.a.createElement("span",null,e.title)),Boolean("menu"===b.toc&&"undefined"!==typeof window&&e.path===n.pathname&&r)&&o.a.createElement(v,{slugs:b.slugs}))}))),u&&o.a.createElement(v,{slugs:b.slugs}))})))))}),y=g;n("Nrt9");function b(){return b=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&c.map((function(e){var t;return o.a.createElement("li",{key:e.path,onClick:function(){return i("")}},o.a.createElement(a["AnchorLink"],{to:e.path},(null===(t=e.parent)||void 0===t?void 0:t.title)&&o.a.createElement("span",null,e.parent.title),j(n,e.title)))})),0===c.length&&n&&o.a.createElement("li",{style:{textAlign:"center"}},p)))};n("TZ9X");function A(e,t){return R(e)||I(e,t)||C(e,t)||P()}function P(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function C(e,t){if(e){if("string"===typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(e,t):void 0}}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);nO;O++)if((d||O in w)&&(g=w[O],y=E(g,O,b),e))if(t)S[O]=y;else if(y)switch(e){case 3:return!0;case 5:return g;case 6:return O;case 2:l.call(S,g)}else if(s)return!1;return f?-1:c||s?s:S}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6)}},Xk3x:function(e,t,n){var r=n("HIsA"),o=n("5AZ8");r({target:"WeakMap",stat:!0},{from:o})},Xp9m:function(e,t,n){"use strict";var r=n("sqIH"),o=n("hXyk"),a=n("NVMI"),i=n("2I03"),u=n("PaPB"),l=n("JzK+"),c=n("OOuR"),s=n("WdrS"),f=Math.max,d=Math.min,p=Math.floor,h=/\$([$&'`]|\d\d?|<[^>]*>)/g,m=/\$([$&'`]|\d\d?)/g,v=function(e){return void 0===e?e:String(e)};r("replace",2,(function(e,t,n,r){var g=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,y=r.REPLACE_KEEPS_$0,b=g?"$":"$0";return[function(n,r){var o=l(this),a=void 0==n?void 0:n[e];return void 0!==a?a.call(n,o,r):t.call(String(o),n,r)},function(e,r){if(!g&&y||"string"===typeof r&&-1===r.indexOf(b)){var a=n(t,e,this,r);if(a.done)return a.value}var l=o(e),p=String(this),h="function"===typeof r;h||(r=String(r));var m=l.global;if(m){var E=l.unicode;l.lastIndex=0}var x=[];while(1){var O=s(l,p);if(null===O)break;if(x.push(O),!m)break;var k=String(O[0]);""===k&&(l.lastIndex=c(p,i(l.lastIndex),E))}for(var S="",j=0,T=0;T=j&&(S+=p.slice(j,P)+N,j=P+A.length)}return S+p.slice(j)}];function w(e,n,r,o,i,u){var l=r+e.length,c=o.length,s=m;return void 0!==i&&(i=a(i),s=h),t.call(u,s,(function(t,a){var u;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(l);case"<":u=i[a.slice(1,-1)];break;default:var s=+a;if(0===s)return t;if(s>c){var f=p(s/10);return 0===f?t:f<=c?void 0===o[f-1]?a.charAt(1):o[f-1]+a.charAt(1):t}u=o[s-1]}return void 0===u?"":u}))}}))},Xwir:function(e,t,n){var r=n("HIsA");r({target:"Math",stat:!0},{imulh:function(e,t){var n=65535,r=+e,o=+t,a=r&n,i=o&n,u=r>>16,l=o>>16,c=(u*i>>>0)+(a*i>>>16);return u*l+(c>>16)+((a*l>>>0)+(c&n)>>16)}})},XxnP:function(e,t,n){"use strict";var r=n("HIsA"),o=n("m52V"),a=n("bXon"),i=n("hXyk"),u=n("DDwO"),l=n("70zE"),c=n("Ji6T");r({target:"Set",proto:!0,real:!0,forced:o},{union:function(e){var t=i(this),n=new(l(t,a("Set")))(t);return c(e,u(n.add),n),n}})},Y0Ny:function(e,t,n){"use strict";var r=n("HIsA"),o=n("m52V"),a=n("hXyk"),i=n("DDwO"),u=n("YjHi"),l=n("Ji6T");r({target:"Map",proto:!0,real:!0,forced:o},{reduce:function(e){var t=a(this),n=u(t),r=arguments.length<2,o=r?void 0:arguments[1];if(i(e),l(n,(function(n,a){r?(r=!1,o=a):o=e(o,a,n,t)}),void 0,!0,!0),r)throw TypeError("Reduce of empty map with no initial value");return o}})},Y22F:function(e,t,n){var r=n("HIsA"),o=n("5AZ8");r({target:"Map",stat:!0},{from:o})},YAei:function(e,t,n){var r=n("bVFb");r("patternMatch")},"YE/S":function(e,t,n){var r=n("2JD6"),o=n("ECWN"),a=r.WeakMap;e.exports="function"===typeof a&&/native code/.test(o(a))},YNxR:function(e,t,n){},YXa4:function(e,t,n){var r=n("PaPB");e.exports=function(e){var t=r(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}},YjHi:function(e,t,n){var r=n("m52V"),o=n("0Ccx");e.exports=r?o:function(e){return Map.prototype.entries.call(e)}},YmYf:function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e){"string"!==typeof e&&(e+="");var t,n=0,r=-1,o=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!o){n=t+1;break}}else-1===r&&(o=!1,r=t+1);return-1===r?"":e.slice(n,r)}function o(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r=-1&&!r;a--){var i=a>=0?arguments[a]:e.cwd();if("string"!==typeof i)throw new TypeError("Arguments to path.resolve must be strings");i&&(t=i+"/"+t,r="/"===i.charAt(0))}return t=n(o(t.split("/"),(function(e){return!!e})),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),i="/"===a(e,-1);return e=n(o(e.split("/"),(function(e){return!!e})),!r).join("/"),e||r||(e="."),e&&i&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(o(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var o=r(e.split("/")),a=r(n.split("/")),i=Math.min(o.length,a.length),u=i,l=0;l=1;--a)if(t=e.charCodeAt(a),47===t){if(!o){r=a;break}}else o=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=r(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,r=-1,o=!0,a=0,i=e.length-1;i>=0;--i){var u=e.charCodeAt(i);if(47!==u)-1===r&&(o=!1,r=i+1),46===u?-1===t?t=i:1!==a&&(a=1):-1!==t&&(a=-1);else if(!o){n=i+1;break}}return-1===t||-1===r||0===a||1===a&&t===r-1&&t===n+1?"":e.slice(t,r)};var a="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n("7vYp"))},Z8wA:function(e,t,n){},"ZL/h":function(e,t,n){var r=n("7+LC");e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},ZPal:function(e,t,n){"use strict";var r=n("HIsA"),o=n("wQ+q").end,a=n("8iHL"),i=a("trimEnd"),u=i?function(){return o(this)}:"".trimEnd;r({target:"String",proto:!0,forced:i},{trimEnd:u,trimRight:u})},ZcxN:function(e,t,n){"use strict";var r=n("HIsA"),o=n("m52V"),a=n("bXon"),i=n("hXyk"),u=n("DDwO"),l=n("40mc"),c=n("70zE"),s=n("wKMT"),f=n("Ji6T");r({target:"Set",proto:!0,real:!0,forced:o},{map:function(e){var t=i(this),n=s(t),r=l(e,arguments.length>1?arguments[1]:void 0,3),o=new(c(t,a("Set"))),d=u(o.add);return f(n,(function(e){d.call(o,r(e,e,t))}),void 0,!1,!0),o}})},Zfls:function(e,t,n){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}function o(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}n.d(t,"a",(function(){return l}));var a=n("rOQQ"),i=n("KLZ3");function u(e,t){if(t&&("object"===Object(a["a"])(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Object(i["a"])(e)}function l(e){var t=o();return function(){var n,o=r(e);if(t){var a=r(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return u(this,n)}}},Zwxo:function(e,t,n){"use strict";e.exports=function(e,t){if("string"!==typeof e||"string"!==typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];var n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}},aK5P:function(e,t,n){var r=n("bVFb");r("dispose")},aNCL:function(e,t,n){"use strict";var r=n("HIsA"),o=n("m52V"),a=n("bXon"),i=n("hXyk"),u=n("DDwO"),l=n("40mc"),c=n("70zE"),s=n("YjHi"),f=n("Ji6T");r({target:"Map",proto:!0,real:!0,forced:o},{mapKeys:function(e){var t=i(this),n=s(t),r=l(e,arguments.length>1?arguments[1]:void 0,3),o=new(c(t,a("Map"))),d=u(o.set);return f(n,(function(e,n){d.call(o,r(n,e,t),n)}),void 0,!0,!0),o}})},aS93:function(e,t,n){var r=n("7+LC"),o=n("IRht"),a="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?a.call(e,""):Object(e)}:Object},aSOa:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("rOQQ");function o(e,t){if("object"!==Object(r["a"])(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==Object(r["a"])(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function a(e){var t=o(e,"string");return"symbol"===Object(r["a"])(t)?t:String(t)}},acWz:function(e,t,n){var r=n("hXyk");e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(i){var a=e["return"];throw void 0!==a&&r(a.call(e)),i}}},afA6:function(e,t,n){"use strict";n.r(t);var r=n("q2e5"),o=n("xwgP"),a=n.n(o),i=n("q3YX"),u="/* eslint no-console:0 */\nimport React from 'react';\nimport Upload from 'rc-upload';\n\nconst props = {\n action: () => {\n return new Promise(resolve => {\n setTimeout(() => {\n resolve('/upload.do');\n }, 2000);\n });\n },\n multiple: true,\n onStart(file) {\n console.log('onStart', file, file.name);\n },\n onSuccess(ret) {\n console.log('onSuccess', ret);\n },\n onError(err) {\n console.log('onError', err);\n },\n};\n\nconst Test = () => {\n return (\n \n \n \n );\n};\n\nexport default Test;",l="/* eslint no-console:0 */\n\nimport React from 'react';\nimport Upload from 'rc-upload';\n\nconst props = {\n action: '/upload.do',\n multiple: true,\n onStart(file) {\n console.log('onStart', file, file.name);\n },\n onSuccess(ret) {\n console.log('onSuccess', ret);\n },\n onError(err) {\n console.log('onError', err);\n },\n beforeUpload(file, fileList) {\n console.log(file, fileList);\n return new Promise(resolve => {\n console.log('start check');\n setTimeout(() => {\n console.log('check finshed');\n resolve(file);\n }, 3000);\n });\n },\n};\n\nconst Test = () => {\n return (\n \n \n \n );\n};\n\nexport default Test;",c="/* eslint no-console:0 */\nimport React from 'react';\nimport axios from 'axios';\nimport Upload from 'rc-upload';\n\nconst uploadProps = {\n action: '/upload.do',\n multiple: false,\n data: { a: 1, b: 2 },\n headers: {\n Authorization: '$prefix $token',\n },\n onStart(file) {\n console.log('onStart', file, file.name);\n },\n onSuccess(res, file) {\n console.log('onSuccess', res, file.name);\n },\n onError(err) {\n console.log('onError', err);\n },\n onProgress({ percent }, file) {\n console.log('onProgress', `${percent}%`, file.name);\n },\n customRequest({\n action,\n data,\n file,\n filename,\n headers,\n onError,\n onProgress,\n onSuccess,\n withCredentials,\n }) {\n // EXAMPLE: post form-data with 'axios'\n // eslint-disable-next-line no-undef\n const formData = new FormData();\n if (data) {\n Object.keys(data).forEach(key => {\n formData.append(key, data[key]);\n });\n }\n formData.append(filename, file);\n\n axios\n .post(action, formData, {\n withCredentials,\n headers,\n onUploadProgress: ({ total, loaded }) => {\n onProgress({ percent: Math.round((loaded / total) * 100).toFixed(2) }, file);\n },\n })\n .then(({ data: response }) => {\n onSuccess(response, file);\n })\n .catch(onError);\n\n return {\n abort() {\n console.log('upload progress is aborted.');\n },\n };\n },\n};\n\nconst Test = () => {\n return (\n \n
\n \n \n \n
\n \n );\n};\n\nexport default Test;",s="/* eslint no-console:0 */\n\nimport React from 'react';\nimport Upload from 'rc-upload';\n\nconst Test = () => {\n const uploaderProps = {\n action: '/upload.do',\n data: { a: 1, b: 2 },\n directory: true,\n beforeUpload(file) {\n console.log('beforeUpload', file.name);\n },\n onStart: file => {\n console.log('onStart', file.name);\n },\n onSuccess(file) {\n console.log('onSuccess', file);\n },\n onProgress(step, file) {\n console.log('onProgress', Math.round(step.percent), file.name);\n },\n onError(err) {\n console.log('onError', err);\n },\n };\n\n return (\n \n \n \n );\n};\n\nexport default Test;",f="/* eslint no-console:0 */\nimport React from 'react';\nimport Upload from 'rc-upload';\n\nconst props = {\n action: '/upload.do',\n type: 'drag',\n accept: '.png',\n beforeUpload(file) {\n console.log('beforeUpload', file.name);\n },\n onStart: file => {\n console.log('onStart', file.name);\n },\n onSuccess(file) {\n console.log('onSuccess', file);\n },\n onProgress(step, file) {\n console.log('onProgress', Math.round(step.percent), file.name);\n },\n onError(err) {\n console.log('onError', err);\n },\n style: { display: 'inline-block', width: 200, height: 200, background: '#eee' },\n // openFileDialogOnClick: false\n};\n\nconst Test = () => {\n return (\n \n \n \n );\n};\n\nexport default Test;",d="/* eslint no-console:0 */\n\nimport React from 'react';\nimport Upload from 'rc-upload';\n\nconst style = `\n .rc-upload-disabled {\n opacity:0.5;\n `;\n\nconst uploaderProps = {\n action: '/upload.do',\n data: { a: 1, b: 2 },\n multiple: true,\n beforeUpload(file) {\n console.log('beforeUpload', file.name);\n },\n onStart: file => {\n console.log('onStart', file.name);\n },\n onSuccess(file) {\n console.log('onSuccess', file);\n },\n onProgress(step, file) {\n console.log('onProgress', Math.round(step.percent), file.name);\n },\n onError(err) {\n console.log('onError', err);\n },\n capture: 'user',\n};\n\nconst Test = () => {\n const [destroyed, setDestroyed] = React.useState(false);\n\n const destroy = () => {\n setDestroyed(true);\n };\n\n if (destroyed) {\n return null;\n }\n\n return (\n
\n

\u56fa\u5b9a\u4f4d\u7f6e

\n \n \n

\u6eda\u52a8

\n
\n \n \n \u5f00\u59cb\u4e0a\u4f202\n \n \n \n \n );\n};\n\nexport default Test;",p={"docs-asyncaction":{component:n("IyBU").default,previewerProps:{sources:{_:{tsx:u}},dependencies:{react:{version:">=16.9.0"},"rc-upload":{version:"4.4.0"},"react-dom":{version:">=16.9.0"}},identifier:"docs-asyncaction"}},"docs-beforeupload":{component:n("E21C").default,previewerProps:{sources:{_:{tsx:l}},dependencies:{react:{version:">=16.9.0"},"rc-upload":{version:"4.4.0"},"react-dom":{version:">=16.9.0"}},identifier:"docs-beforeupload"}},"docs-customrequest":{component:n("3oSM").default,previewerProps:{sources:{_:{tsx:c}},dependencies:{react:{version:">=16.9.0"},axios:{version:"0.26.1"},"rc-upload":{version:"4.4.0"},"react-dom":{version:">=16.9.0"}},identifier:"docs-customrequest"}},"docs-directoryupload":{component:n("gu2Q").default,previewerProps:{sources:{_:{tsx:s}},dependencies:{react:{version:">=16.9.0"},"rc-upload":{version:"4.4.0"},"react-dom":{version:">=16.9.0"}},identifier:"docs-directoryupload"}},"docs-drag":{component:n("tDz2").default,previewerProps:{sources:{_:{tsx:f}},dependencies:{react:{version:">=16.9.0"},"rc-upload":{version:"4.4.0"},"react-dom":{version:">=16.9.0"}},identifier:"docs-drag"}},"docs-simple":{component:n("KXoj").default,previewerProps:{sources:{_:{tsx:d}},dependencies:{react:{version:">=16.9.0"},"rc-upload":{version:"4.4.0"},"react-dom":{version:">=16.9.0"}},identifier:"docs-simple"}}},h=n("x2v5"),m=n("31FF"),v=n.n(m);t["default"]=e=>a.a.createElement(v.a,Object(r["a"])({},e,{config:i,demos:p,apis:h}))},afop:function(e,t,n){"use strict";var r=n("Krz3").IteratorPrototype,o=n("bWCM"),a=n("OLna"),i=n("J7X1"),u=n("mAbK"),l=function(){return this};e.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=o(r,{next:a(1,n)}),i(e,c,!1,!0),u[c]=l,e}},auPx:function(e,t,n){var r=n("HIsA"),o=n("jXsC");r({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},b3iZ:function(e,t,n){var r=n("7vNX");function o(e){if(Array.isArray(e))return r(e)}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},b4JQ:function(e,t,n){var r=n("NVMI"),o=n("2I03"),a=n("tg/3"),i=n("mKn/"),u=n("40mc"),l=n("Wp5u").aTypedArrayConstructor;e.exports=function(e){var t,n,c,s,f,d,p=r(e),h=arguments.length,m=h>1?arguments[1]:void 0,v=void 0!==m,g=a(p);if(void 0!=g&&!i(g)){f=g.call(p),d=f.next,p=[];while(!(s=d.call(f)).done)p.push(s.value)}for(v&&h>2&&(m=u(m,arguments[2],2)),n=o(p.length),c=new(l(this))(n),t=0;n>t;t++)c[t]=v?m(p[t],t):p[t];return c}},"b9+m":function(e,t,n){var r=n("bXon");e.exports=r("document","documentElement")},bCY9:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("4zH6"),o=new r["Plugin"]({validKeys:["modifyClientRenderOpts","patchRoutes","rootContainer","render","onRouteChange","__mfsu"]})},bG4S:function(e,t,n){var r=n("HIsA"),o=n("VeQJ");r({target:"WeakSet",stat:!0},{of:o})},bL85:function(e,t,n){var r=n("HIsA"),o=n("icJ8"),a=n("hXyk"),i=o.get,u=o.toKey;r({target:"Reflect",stat:!0},{getOwnMetadata:function(e,t){var n=arguments.length<3?void 0:u(arguments[2]);return i(e,a(t),n)}})},bS1s:function(e,t,n){},bShA:function(e,t,n){var r=n("m52V"),o=n("Ogjs");(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},bVFb:function(e,t,n){var r=n("G5kI"),o=n("+qhb"),a=n("Q1Da"),i=n("2RC6").f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||i(t,e,{value:a.f(e)})}},bWCM:function(e,t,n){var r,o=n("hXyk"),a=n("2+gS"),i=n("GPbW"),u=n("1agv"),l=n("b9+m"),c=n("riWr"),s=n("fbKl"),f=">",d="<",p="prototype",h="script",m=s("IE_PROTO"),v=function(){},g=function(e){return d+h+f+e+d+"/"+h+f},y=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){var e,t=c("iframe"),n="java"+h+":";return t.style.display="none",l.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(g("document.F=Object")),e.close(),e.F},w=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(t){}w=r?y(r):b();var e=i.length;while(e--)delete w[p][i[e]];return w()};u[m]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(v[p]=o(e),n=new v,v[p]=null,n[m]=e):n=w(),void 0===t?n:a(n,t)}},bXon:function(e,t,n){var r=n("G5kI"),o=n("2JD6"),a=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?a(r[e])||a(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},bbTr:function(e,t,n){"use strict";var r=n("HIsA"),o=n("wQ+q").trim,a=n("8iHL");r({target:"String",proto:!0,forced:a("trim")},{trim:function(){return o(this)}})},be71:function(e,t,n){"use strict";(function(t){var r=n("e0NO"),o=n("tNyd"),a=n("vY42"),i=n("quaw"),u={"Content-Type":"application/x-www-form-urlencoded"};function l(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function c(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t))&&(e=n("H+5F")),e}function s(e,t,n){if(r.isString(e))try{return(t||JSON.parse)(e),r.trim(e)}catch(o){if("SyntaxError"!==o.name)throw o}return(n||JSON.stringify)(e)}var f={transitional:i,adapter:c(),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(l(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(l(t,"application/json"),s(e)):e}],transformResponse:[function(e){var t=this.transitional||f.transitional,n=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,i=!n&&"json"===this.responseType;if(i||o&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(u){if(i){if("SyntaxError"===u.name)throw a(u,this,"E_JSON_PARSE");throw u}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){f.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){f.headers[e]=r.merge(u)})),e.exports=f}).call(this,n("7vYp"))},br1d:function(e,t,n){"use strict";var r=n("HIsA"),o=n("m52V"),a=n("7SXh");r({target:"Set",proto:!0,real:!0,forced:o},{addAll:function(){return a.apply(this,arguments)}})},"c/Oe":function(e,t){function n(t){return e.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports["default"]=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},c2jp:function(e,t,n){var r=n("HIsA"),o=n("VeQJ");r({target:"Map",stat:!0},{of:o})},c8OV:function(e,t,n){var r=n("T9r4");e.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(r)},cCpg:function(e,t,n){var r=n("HIsA");r({target:"Math",stat:!0},{umulh:function(e,t){var n=65535,r=+e,o=+t,a=r&n,i=o&n,u=r>>>16,l=o>>>16,c=(u*i>>>0)+(a*i>>>16);return u*l+(c>>>16)+((a*l>>>0)+(c&n)>>>16)}})},cGOV:function(e,t,n){var r=n("pxmn"),o=n("UPu9");e.exports=function(e,t,n){var a,i;return o&&"function"==typeof(a=t.constructor)&&a!==n&&r(i=a.prototype)&&i!==n.prototype&&o(e,i),e}},cpaE:function(e,t,n){var r=n("b3iZ"),o=n("MWDE"),a=n("KhbH"),i=n("csAO");function u(e){return r(e)||o(e)||a(e)||i()}e.exports=u,e.exports.__esModule=!0,e.exports["default"]=e.exports},csAO:function(e,t){function n(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},d62z:function(e,t,n){"use strict";var r=n("HIsA"),o=n("pxmn"),a=n("dOdC"),i=n("4dbd"),u=n("2I03"),l=n("2hCa"),c=n("G70G"),s=n("kPvK"),f=n("HqdE"),d=n("/5yA"),p=f("slice"),h=d("slice",{ACCESSORS:!0,0:0,1:2}),m=s("species"),v=[].slice,g=Math.max;r({target:"Array",proto:!0,forced:!p||!h},{slice:function(e,t){var n,r,s,f=l(this),d=u(f.length),p=i(e,d),h=i(void 0===t?d:t,d);if(a(f)&&(n=f.constructor,"function"!=typeof n||n!==Array&&!a(n.prototype)?o(n)&&(n=n[m],null===n&&(n=void 0)):n=void 0,n===Array||void 0===n))return v.call(f,p,h);for(r=new(void 0===n?Array:n)(g(h-p,0)),s=0;p1&&void 0!==arguments[1]?arguments[1]:1;a+=1;var n=a;function o(t){if(0===t)u(n),e();else{var a=r((function(){o(t-1)}));i.set(n,a)}}return o(t),n};l.cancel=function(e){var t=i.get(e);return u(t),o(t)},t["a"]=l},fIC7:function(e,t,n){"use strict";var r,o,a,i,u;if("undefined"===typeof window||"function"!==typeof MessageChannel){var l=null,c=null,s=function e(){if(null!==l)try{var n=t.unstable_now();l(!0,n),l=null}catch(r){throw setTimeout(e,0),r}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==l?setTimeout(r,0,e):(l=e,setTimeout(s,0))},o=function(e,t){c=setTimeout(e,t)},a=function(){clearTimeout(c)},i=function(){return!1},u=t.unstable_forceFrameRate=function(){}}else{var d=window.performance,p=window.Date,h=window.setTimeout,m=window.clearTimeout;if("undefined"!==typeof console){var v=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!==typeof v&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"===typeof d&&"function"===typeof d.now)t.unstable_now=function(){return d.now()};else{var g=p.now();t.unstable_now=function(){return p.now()-g}}var y=!1,b=null,w=-1,E=5,x=0;i=function(){return t.unstable_now()>=x},u=function(){},t.unstable_forceFrameRate=function(e){0>e||125>>1,o=e[r];if(!(void 0!==o&&0A(i,n))void 0!==l&&0>A(l,i)?(e[r]=l,e[u]=n,r=u):(e[r]=i,e[a]=n,r=a);else{if(!(void 0!==l&&0>A(l,n)))break e;e[r]=l,e[u]=n,r=u}}}return t}return null}function A(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var P=[],C=[],_=1,I=null,R=3,N=!1,L=!1,M=!1;function D(e){for(var t=j(C);null!==t;){if(null===t.callback)T(C);else{if(!(t.startTime<=e))break;T(C),t.sortIndex=t.expirationTime,S(P,t)}t=j(C)}}function F(e){if(M=!1,D(e),!L)if(null!==j(P))L=!0,r(U);else{var t=j(C);null!==t&&o(F,t.startTime-e)}}function U(e,n){L=!1,M&&(M=!1,a()),N=!0;var r=R;try{for(D(n),I=j(P);null!==I&&(!(I.expirationTime>n)||e&&!i());){var u=I.callback;if(null!==u){I.callback=null,R=I.priorityLevel;var l=u(I.expirationTime<=n);n=t.unstable_now(),"function"===typeof l?I.callback=l:I===j(P)&&T(P),D(n)}else T(P);I=j(P)}if(null!==I)var c=!0;else{var s=j(C);null!==s&&o(F,s.startTime-n),c=!1}return c}finally{I=null,R=r,N=!1}}function H(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var z=u;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){L||N||(L=!0,r(U))},t.unstable_getCurrentPriorityLevel=function(){return R},t.unstable_getFirstCallbackNode=function(){return j(P)},t.unstable_next=function(e){switch(R){case 1:case 2:case 3:var t=3;break;default:t=R}var n=R;R=t;try{return e()}finally{R=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=z,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=R;R=e;try{return t()}finally{R=n}},t.unstable_scheduleCallback=function(e,n,i){var u=t.unstable_now();if("object"===typeof i&&null!==i){var l=i.delay;l="number"===typeof l&&0u?(e.sortIndex=l,S(C,e),null===j(P)&&e===j(C)&&(M?a():M=!0,o(F,l-u))):(e.sortIndex=i,S(P,e),L||N||(L=!0,r(U))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();D(e);var n=j(P);return n!==I&&null!==I&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTimee.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)return;i[t]="set-cookie"===t?(i[t]?i[t]:[]).concat([n]):i[t]?i[t]+", "+n:n}})),i):i}},gZCa:function(e,t,n){"use strict";var r=n("e0NO"),o=n("jcFR"),a=n("GNwB"),i=n("tXhO"),u=n("be71");function l(e){var t=new a(e),n=o(a.prototype.request,t);return r.extend(n,a.prototype,t),r.extend(n,t),n.create=function(t){return l(i(e,t))},n}var c=l(u);c.Axios=a,c.Cancel=n("e2Eu"),c.CancelToken=n("0rf/"),c.isCancel=n("+Kwe"),c.VERSION=n("Kusw").version,c.all=function(e){return Promise.all(e)},c.spread=n("Mk6z"),c.isAxiosError=n("daFp"),e.exports=c,e.exports["default"]=c},gd5S:function(e,t,n){"use strict";var r=n("QVKS")["default"],o=n("HJJL")["default"],a=n("cpaE")["default"],i=n("SrKn"),u=n("ukAt"),l=n("Zwxo"),c=n("LXEX"),s=function(e){return null===e||void 0===e};function f(e){switch(e.arrayFormat){case"index":return function(t){return function(n,r){var o=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:[].concat(a(n),null===r?[[h(t,e),"[",o,"]"].join("")]:[[h(t,e),"[",h(o,e),"]=",h(r,e)].join("")])}};case"bracket":return function(t){return function(n,r){return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:[].concat(a(n),null===r?[[h(t,e),"[]"].join("")]:[[h(t,e),"[]=",h(r,e)].join("")])}};case"comma":case"separator":return function(t){return function(n,r){return null===r||void 0===r||0===r.length?n:0===n.length?[[h(t,e),"=",h(r,e)].join("")]:[[n,h(r,e)].join(e.arrayFormatSeparator)]}};default:return function(t){return function(n,r){return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:[].concat(a(n),null===r?[h(t,e)]:[[h(t,e),"=",h(r,e)].join("")])}}}}function d(e){var t;switch(e.arrayFormat){case"index":return function(e,n,r){t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return function(e,n,r){t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return function(t,n,r){var o="string"===typeof n&&n.includes(e.arrayFormatSeparator),a="string"===typeof n&&!o&&m(n,e).includes(e.arrayFormatSeparator);n=a?m(n,e):n;var i=o||a?n.split(e.arrayFormatSeparator).map((function(t){return m(t,e)})):null===n?n:m(n,e);r[t]=i};default:return function(e,t,n){void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}function p(e){if("string"!==typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function h(e,t){return t.encode?t.strict?i(e):encodeURIComponent(e):e}function m(e,t){return t.decode?u(e):e}function v(e){return Array.isArray(e)?e.sort():"object"===typeof e?v(Object.keys(e)).sort((function(e,t){return Number(e)-Number(t)})).map((function(t){return e[t]})):e}function g(e){var t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function y(e){var t="",n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}function b(e){e=g(e);var t=e.indexOf("?");return-1===t?"":e.slice(t+1)}function w(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"===typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function E(e,t){t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t),p(t.arrayFormatSeparator);var n=d(t),a=Object.create(null);if("string"!==typeof e)return a;if(e=e.trim().replace(/^[?#&]/,""),!e)return a;var i,u=o(e.split("&"));try{for(u.s();!(i=u.n()).done;){var c=i.value;if(""!==c){var s=l(t.decode?c.replace(/\+/g," "):c,"="),f=r(s,2),h=f[0],g=f[1];g=void 0===g?null:["comma","separator"].includes(t.arrayFormat)?g:m(g,t),n(m(h,t),g,a)}}}catch(j){u.e(j)}finally{u.f()}for(var y=0,b=Object.keys(a);y0})).join("&")},t.parseUrl=function(e,t){t=Object.assign({decode:!0},t);var n=l(e,"#"),o=r(n,2),a=o[0],i=o[1];return Object.assign({url:a.split("?")[0]||"",query:E(b(e),t)},t&&t.parseFragmentIdentifier&&i?{fragmentIdentifier:m(i,t)}:{})},t.stringifyUrl=function(e,n){n=Object.assign({encode:!0,strict:!0},n);var r=g(e.url).split("?")[0]||"",o=t.extract(e.url),a=t.parse(o,{sort:!1}),i=Object.assign(a,e.query),u=t.stringify(i,n);u&&(u="?".concat(u));var l=y(e.url);return e.fragmentIdentifier&&(l="#".concat(h(e.fragmentIdentifier,n))),"".concat(r).concat(u).concat(l)},t.pick=function(e,n,r){r=Object.assign({parseFragmentIdentifier:!0},r);var o=t.parseUrl(e,r),a=o.url,i=o.query,u=o.fragmentIdentifier;return t.stringifyUrl({url:a,query:c(i,n),fragmentIdentifier:u},r)},t.exclude=function(e,n,r){var o=Array.isArray(n)?function(e){return!n.includes(e)}:function(e,t){return!n(e,t)};return t.pick(e,o,r)}},ghbW:function(e,t,n){"use strict";var r=n("HIsA"),o=n("2JD6"),a=n("6Nbm"),i=n("GUTS"),u=n("qDpf"),l=n("Ji6T"),c=n("xOST"),s=n("pxmn"),f=n("7+LC"),d=n("9HG5"),p=n("J7X1"),h=n("cGOV");e.exports=function(e,t,n){var m=-1!==e.indexOf("Map"),v=-1!==e.indexOf("Weak"),g=m?"set":"add",y=o[e],b=y&&y.prototype,w=y,E={},x=function(e){var t=b[e];i(b,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(v&&!s(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return v&&!s(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(v&&!s(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(a(e,"function"!=typeof y||!(v||b.forEach&&!f((function(){(new y).entries().next()})))))w=n.getConstructor(t,e,m,g),u.REQUIRED=!0;else if(a(e,!0)){var O=new w,k=O[g](v?{}:-0,1)!=O,S=f((function(){O.has(1)})),j=d((function(e){new y(e)})),T=!v&&f((function(){var e=new y,t=5;while(t--)e[g](t,t);return!e.has(-0)}));j||(w=t((function(t,n){c(t,w,e);var r=h(new y,t,w);return void 0!=n&&l(n,r[g],r,m),r})),w.prototype=b,b.constructor=w),(S||T)&&(x("delete"),x("has"),m&&x("get")),(T||k)&&x(g),v&&b.clear&&delete b.clear}return E[e]=w,r({global:!0,forced:w!=y},E),p(w,e),v||n.setStrong(w,e,m),w}},gla0:function(e,t,n){var r=n("JqKL");r("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},gp1K:function(e,t,n){"use strict";var r=n("Wp5u"),o=r.aTypedArray,a=r.exportTypedArrayMethod,i=[].sort;a("sort",(function(e){return i.call(o(this),e)}))},gql7:function(e,t,n){"use strict";n.r(t);var r=n("xwgP"),o=n.n(r),a=n("UFL0"),i=n("INx8"),u=n("Suj0"),l=o.a.memo((e=>{e.demos;return o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:"markdown"},o.a.createElement("h1",{id:"rc-upload"},o.a.createElement(a["AnchorLink"],{to:"#rc-upload","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"rc-upload"),o.a.createElement("p",null,"React Upload"),o.a.createElement("p",null,o.a.createElement(a["Link"],{to:"http://npmjs.org/package/rc-upload"},o.a.createElement("img",{src:"https://img.shields.io/npm/v/rc-upload.svg?style=flat-square",alt:"NPM version"}))," ",o.a.createElement(a["Link"],{to:"https://github.com/umijs/dumi"},o.a.createElement("img",{src:"https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square",alt:"dumi"}))," ",o.a.createElement(a["Link"],{to:"https://github.com/react-component/upload/actions"},o.a.createElement("img",{src:"https://github.com/react-component/upload/workflows/CI/badge.svg",alt:"build status"}))," ",o.a.createElement(a["Link"],{to:"https://coveralls.io/r/react-component/upload?branch=master"},o.a.createElement("img",{src:"https://img.shields.io/coveralls/react-component/upload.svg?style=flat-square",alt:"Test coverage"}))," ",o.a.createElement(a["Link"],{to:"https://david-dm.org/react-component/upload"},o.a.createElement("img",{src:"https://david-dm.org/react-component/upload/status.svg?style=flat-square",alt:"Dependencies"}))," ",o.a.createElement(a["Link"],{to:"https://david-dm.org/react-component/upload?type=dev"},o.a.createElement("img",{src:"https://david-dm.org/react-component/upload/dev-status.svg?style=flat-square",alt:"DevDependencies"}))," ",o.a.createElement(a["Link"],{to:"https://npmjs.org/package/rc-upload"},o.a.createElement("img",{src:"https://img.shields.io/npm/dm/rc-upload.svg?style=flat-square",alt:"npm download"}))," ",o.a.createElement(a["Link"],{to:"https://bundlephobia.com/result?p=rc-upload"},o.a.createElement("img",{src:"https://badgen.net/bundlephobia/minzip/rc-upload",alt:"bundle size"}))),o.a.createElement("h2",{id:"development"},o.a.createElement(a["AnchorLink"],{to:"#development","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"Development"),o.a.createElement(i["a"],{code:"npm install\nnpm start",lang:"unknown"}),o.a.createElement("h2",{id:"example"},o.a.createElement(a["AnchorLink"],{to:"#example","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"Example"),o.a.createElement("p",null,o.a.createElement(a["Link"],{to:"http://localhost:8000/"},"http://localhost:8000/")),o.a.createElement("p",null,"online example: ",o.a.createElement(a["Link"],{to:"https://upload.react-component.vercel.app/"},"https://upload.react-component.vercel.app/")),o.a.createElement("h2",{id:"feature"},o.a.createElement(a["AnchorLink"],{to:"#feature","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"Feature"),o.a.createElement("ul",null,o.a.createElement("li",null,"support IE11+, Chrome, Firefox, Safari")),o.a.createElement("h2",{id:"install"},o.a.createElement(a["AnchorLink"],{to:"#install","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"install"),o.a.createElement("p",null,o.a.createElement(a["Link"],{to:"https://npmjs.org/package/rc-upload"},o.a.createElement("img",{src:"https://nodei.co/npm/rc-upload.png",alt:"rc-upload"}))),o.a.createElement("h2",{id:"usage"},o.a.createElement(a["AnchorLink"],{to:"#usage","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"Usage"),o.a.createElement(i["a"],{code:"var Upload = require('rc-upload');\nvar React = require('react');\nReact.render(, container);",lang:"js"}),o.a.createElement("h2",{id:"api"},o.a.createElement(a["AnchorLink"],{to:"#api","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"API"),o.a.createElement("h3",{id:"props"},o.a.createElement(a["AnchorLink"],{to:"#props","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"props"),o.a.createElement(u["a"],null,o.a.createElement("thead",null,o.a.createElement("tr",null,o.a.createElement("th",null,"name"),o.a.createElement("th",null,"type"),o.a.createElement("th",null,"default"),o.a.createElement("th",null,"description"))),o.a.createElement("tbody",null,o.a.createElement("tr",null,o.a.createElement("td",null,"name"),o.a.createElement("td",null,"string"),o.a.createElement("td",null,"file"),o.a.createElement("td",null,"file param post to server")),o.a.createElement("tr",null,o.a.createElement("td",null,"style"),o.a.createElement("td",null,"object"),o.a.createElement("td",null,"{","}"),o.a.createElement("td",null,"root component inline style")),o.a.createElement("tr",null,o.a.createElement("td",null,"className"),o.a.createElement("td",null,"string"),o.a.createElement("td",null,"-"),o.a.createElement("td",null,"root component className")),o.a.createElement("tr",null,o.a.createElement("td",null,"disabled"),o.a.createElement("td",null,"boolean"),o.a.createElement("td",null,"false"),o.a.createElement("td",null,"whether disabled")),o.a.createElement("tr",null,o.a.createElement("td",null,"component"),o.a.createElement("td",null,'"div"'),o.a.createElement("td",null,'"span"'),o.a.createElement("td",null,'"span"')),o.a.createElement("tr",null,o.a.createElement("td",null,"action"),o.a.createElement("td",null,"string | function(file): string | Promise"),o.a.createElement("td",null),o.a.createElement("td",null,"form action url")),o.a.createElement("tr",null,o.a.createElement("td",null,"method"),o.a.createElement("td",null,"string"),o.a.createElement("td",null,"post"),o.a.createElement("td",null,"request method")),o.a.createElement("tr",null,o.a.createElement("td",null,"directory"),o.a.createElement("td",null,"boolean"),o.a.createElement("td",null,"false"),o.a.createElement("td",null,"support upload whole directory")),o.a.createElement("tr",null,o.a.createElement("td",null,"data"),o.a.createElement("td",null,"object/function(file)"),o.a.createElement("td",null),o.a.createElement("td",null,"other data object to post or a function which returns a data object(a promise object which resolve a data object)")),o.a.createElement("tr",null,o.a.createElement("td",null,"headers"),o.a.createElement("td",null,"object"),o.a.createElement("td",null,"{","}"),o.a.createElement("td",null,"http headers to post, available in modern browsers")),o.a.createElement("tr",null,o.a.createElement("td",null,"accept"),o.a.createElement("td",null,"string"),o.a.createElement("td",null),o.a.createElement("td",null,"input accept attribute")),o.a.createElement("tr",null,o.a.createElement("td",null,"capture"),o.a.createElement("td",null,"string"),o.a.createElement("td",null),o.a.createElement("td",null,"input capture attribute")),o.a.createElement("tr",null,o.a.createElement("td",null,"multiple"),o.a.createElement("td",null,"boolean"),o.a.createElement("td",null,"false"),o.a.createElement("td",null,"only support ie10+")),o.a.createElement("tr",null,o.a.createElement("td",null,"onStart"),o.a.createElement("td",null,"function"),o.a.createElement("td",null),o.a.createElement("td",null,"start upload file")),o.a.createElement("tr",null,o.a.createElement("td",null,"onError"),o.a.createElement("td",null,"function"),o.a.createElement("td",null),o.a.createElement("td",null,"error callback")),o.a.createElement("tr",null,o.a.createElement("td",null,"onSuccess"),o.a.createElement("td",null,"function"),o.a.createElement("td",null),o.a.createElement("td",null,"success callback")),o.a.createElement("tr",null,o.a.createElement("td",null,"onProgress"),o.a.createElement("td",null,"function"),o.a.createElement("td",null,"progress callback, only for modern browsers"),o.a.createElement("td",null)),o.a.createElement("tr",null,o.a.createElement("td",null,"beforeUpload"),o.a.createElement("td",null,"function"),o.a.createElement("td",null,"null"),o.a.createElement("td",null,"before upload check, return false or a rejected Promise will stop upload, only for modern browsers")),o.a.createElement("tr",null,o.a.createElement("td",null,"customRequest"),o.a.createElement("td",null,"function"),o.a.createElement("td",null,"null"),o.a.createElement("td",null,"provide an override for the default xhr behavior for additional customization")),o.a.createElement("tr",null,o.a.createElement("td",null,"withCredentials"),o.a.createElement("td",null,"boolean"),o.a.createElement("td",null,"false"),o.a.createElement("td",null,"ajax upload with cookie send")),o.a.createElement("tr",null,o.a.createElement("td",null,"openFileDialogOnClick"),o.a.createElement("td",null,"boolean"),o.a.createElement("td",null,"true"),o.a.createElement("td",null,"useful for drag only upload as it does not trigger on enter key or click event")))),o.a.createElement("h4",{id:"onerror-arguments"},o.a.createElement(a["AnchorLink"],{to:"#onerror-arguments","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"onError arguments"),o.a.createElement("ol",null,o.a.createElement("li",null,o.a.createElement("code",null,"err"),": request error message"),o.a.createElement("li",null,o.a.createElement("code",null,"response"),": request response, not support on iframeUpload"),o.a.createElement("li",null,o.a.createElement("code",null,"file"),": upload file")),o.a.createElement("h3",{id:"onsuccess-arguments"},o.a.createElement(a["AnchorLink"],{to:"#onsuccess-arguments","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"onSuccess arguments"),o.a.createElement("ol",null,o.a.createElement("li",null,o.a.createElement("code",null,"result"),": response body"),o.a.createElement("li",null,o.a.createElement("code",null,"file"),": upload file"),o.a.createElement("li",null,o.a.createElement("code",null,"xhr"),": xhr header, only for modern browsers which support AJAX upload. since 2.4.0")),o.a.createElement("h3",{id:"customrequest"},o.a.createElement(a["AnchorLink"],{to:"#customrequest","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"customRequest"),o.a.createElement("p",null,"Allows for advanced customization by overriding default behavior in AjaxUploader. Provide your own XMLHttpRequest calls to interface with custom backend processes or interact with AWS S3 service through the aws-sdk-js package."),o.a.createElement("p",null,"customRequest callback is passed an object with:"),o.a.createElement("ul",null,o.a.createElement("li",null,o.a.createElement("code",null,"onProgress: (event: ","{"," percent: number ","}","): void")),o.a.createElement("li",null,o.a.createElement("code",null,"onError: (event: Error, body?: Object): void")),o.a.createElement("li",null,o.a.createElement("code",null,"onSuccess: (body: Object): void")),o.a.createElement("li",null,o.a.createElement("code",null,"data: Object")),o.a.createElement("li",null,o.a.createElement("code",null,"filename: String")),o.a.createElement("li",null,o.a.createElement("code",null,"file: File")),o.a.createElement("li",null,o.a.createElement("code",null,"withCredentials: Boolean")),o.a.createElement("li",null,o.a.createElement("code",null,"action: String")),o.a.createElement("li",null,o.a.createElement("code",null,"headers: Object"))),o.a.createElement("h3",{id:"methods"},o.a.createElement(a["AnchorLink"],{to:"#methods","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"methods"),o.a.createElement("p",null,"abort(file?: File) => void: abort the uploading file"),o.a.createElement("h2",{id:"license"},o.a.createElement(a["AnchorLink"],{to:"#license","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"License"),o.a.createElement("p",null,"rc-upload is released under the MIT license.")))}));t["default"]=e=>{var t=o.a.useContext(a["context"]),n=t.demos;return o.a.useEffect((()=>{var t;null!==e&&void 0!==e&&null!==(t=e.location)&&void 0!==t&&t.hash&&a["AnchorLink"].scrollToAnchor(decodeURIComponent(e.location.hash.slice(1)))}),[]),o.a.createElement(l,{demos:n})}},gu2Q:function(e,t,n){"use strict";n.r(t);var r=n("xwgP"),o=n.n(r),a=n("/7QA"),i=()=>{var e={action:"/upload.do",data:{a:1,b:2},directory:!0,beforeUpload(e){console.log("beforeUpload",e.name)},onStart:e=>{console.log("onStart",e.name)},onSuccess(e){console.log("onSuccess",e)},onProgress(e,t){console.log("onProgress",Math.round(e.percent),t.name)},onError(e){console.log("onError",e)}};return o.a.createElement("div",{style:{margin:100}},o.a.createElement("div",null,o.a.createElement(a["a"],e,o.a.createElement("a",null,"\u5f00\u59cb\u4e0a\u4f20"))))};t["default"]=i},h6PP:function(e,t,n){var r=n("HIsA"),o=180/Math.PI;r({target:"Math",stat:!0},{degrees:function(e){return e*o}})},hIhI:function(e,t,n){"use strict";var r=n("HIsA"),o=n("wQ+q").start,a=n("8iHL"),i=a("trimStart"),u=i?function(){return o(this)}:"".trimStart;r({target:"String",proto:!0,forced:i},{trimStart:u,trimLeft:u})},hLNC:function(e,t,n){var r=n("2JD6"),o=n("wQ+q").trim,a=n("/Izz"),i=r.parseFloat,u=1/i(a+"-0")!==-1/0;e.exports=u?function(e){var t=o(String(e)),n=i(t);return 0===n&&"-"==t.charAt(0)?-0:n}:i},hMKI:function(e,t,n){var r=n("Hiyu"),o=n("2JD6"),a=n("6Nbm"),i=n("cGOV"),u=n("2RC6").f,l=n("szjD").f,c=n("ihzt"),s=n("ma2j"),f=n("Iu9s"),d=n("GUTS"),p=n("7+LC"),h=n("twJ5").set,m=n("QD/U"),v=n("kPvK"),g=v("match"),y=o.RegExp,b=y.prototype,w=/a/g,E=/a/g,x=new y(w)!==w,O=f.UNSUPPORTED_Y,k=r&&a("RegExp",!x||O||p((function(){return E[g]=!1,y(w)!=w||y(E)==E||"/a/i"!=y(w,"i")})));if(k){var S=function(e,t){var n,r=this instanceof S,o=c(e),a=void 0===t;if(!r&&o&&e.constructor===S&&a)return e;x?o&&!a&&(e=e.source):e instanceof S&&(a&&(t=s.call(e)),e=e.source),O&&(n=!!t&&t.indexOf("y")>-1,n&&(t=t.replace(/y/g,"")));var u=i(x?new y(e,t):y(e,t),r?this:b,S);return O&&n&&h(u,{sticky:n}),u},j=function(e){e in S||u(S,e,{configurable:!0,get:function(){return y[e]},set:function(t){y[e]=t}})},T=l(y),A=0;while(T.length>A)j(T[A++]);b.constructor=S,S.prototype=b,d(o,"RegExp",S)}m("RegExp")},hXyk:function(e,t,n){var r=n("pxmn");e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},horb:function(e,t,n){"use strict";var r=n("HIsA"),o=n("O4tt"),a=n("NVMI"),i=n("2I03"),u=n("DDwO"),l=n("HKEF");r({target:"Array",proto:!0},{flatMap:function(e){var t,n=a(this),r=i(n.length);return u(e),t=l(n,0),t.length=o(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}})},"hv/N":function(e,t,n){var r=n("JY8B");r("flatMap")},hz4N:function(e,t,n){"use strict";var r=n("XOON")["default"],o=n("QVKS")["default"];function a(){var e=n("xwgP");return a=function(){return e},e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n, mountNode);"),t}var E=function(e){var t=(0,a().useState)(),n=f(t,2),i=n[0],l=n[1],c=b();return(0,a().useEffect)((function(){if(e&&c&&1===Object.keys(e.sources).length){var t,n=document.createElement("form"),a=document.createElement("input");return n.method="POST",n.target="_blank",n.style.display="none",n.action=y,n.appendChild(a),n.setAttribute("data-demo",e.title||""),a.name="data",a.value=JSON.stringify({title:e.titlle,js:w(e),css:Object.entries(e.dependencies).filter((function(e){var t=o(e,2),n=t[1];return n.css})).map((function(e){var t=o(e,2),n=t[0],r=t[1],a=r.version,i=r.css;return"@import '~".concat(i.replace(new RegExp("^(".concat(n,")")),"$1@".concat(a)),"';")})).concat(e.background?"body {\n background: ".concat(e.background,";\n}"):"").join("\n"),json:JSON.stringify({description:e.description,dependencies:Object.entries(e.dependencies).reduce((function(e,t){var n=o(t,2),a=n[0],i=n[1].version;return u(u({},e),{},r({},a,i))}),{"react-dom":(null===(t=e.dependencies.react)||void 0===t?void 0:t.version)||"latest"})},null,2)}),document.body.appendChild(n),l((function(){return function(){return n.submit()}})),function(){return n.remove()}}}),[e,c]),i};t["default"]=E},iKoX:function(e,t,n){"use strict";var r=n("HIsA"),o=n("m52V"),a=n("hXyk"),i=n("DDwO"),u=n("wKMT"),l=n("Ji6T");r({target:"Set",proto:!0,real:!0,forced:o},{reduce:function(e){var t=a(this),n=u(t),r=arguments.length<2,o=r?void 0:arguments[1];if(i(e),l(n,(function(n){r?(r=!1,o=n):o=e(o,n,n,t)}),void 0,!1,!0),r)throw TypeError("Reduce of empty set with no initial value");return o}})},iUVf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=t.LinkWrapper=void 0;var r=i(n("xwgP")),o=n("4zH6"),a=["to"];function i(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function c(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}var s=t.LinkWrapper=function(e){return function(t){var n=t.to,o=l(t,a),i=/^(\w+:)?\/\/|^(mailto|tel):/.test(n)||!n,c=r["default"].isValidElement(o.children);return r["default"].createElement(e,u({to:n||"",component:i?function(){return r["default"].createElement("a",{target:"_blank",rel:"noopener noreferrer",href:n},o.children,n&&!c&&r["default"].createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15",className:"__dumi-default-external-link-icon"},r["default"].createElement("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}),r["default"].createElement("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"})))}:void 0},o,i?{}:{onClick:function(){var e;window.scrollTo({top:0});for(var t=arguments.length,n=new Array(t),r=0;r1?arguments[1]:void 0)}})},iYBb:function(e,t,n){var r=n("2I03"),o=n("x+a2"),a=n("JzK+"),i=Math.ceil,u=function(e){return function(t,n,u){var l,c,s=String(a(t)),f=s.length,d=void 0===u?" ":String(u),p=r(n);return p<=f||""==d?s:(l=p-f,c=o.call(d,i(l/d.length)),c.length>l&&(c=c.slice(0,l)),e?s+c:c+s)}};e.exports={start:u(!1),end:u(!0)}},ibak:function(e,t,n){"use strict";function r(){var e=n("xwgP");return r=function(){return e},e}function o(){var e=a(n("WxlZ"));return o=function(){return e},e}function a(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return f(e)||s(e,t)||l(e,t)||u()}function u(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e,t){if(e){if("string"===typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},jAXh:function(e,t,n){"use strict";var r=n("HIsA"),o=n("m52V"),a=n("hXyk"),i=n("40mc"),u=n("YjHi"),l=n("Ji6T");r({target:"Map",proto:!0,real:!0,forced:o},{findKey:function(e){var t=a(this),n=u(t),r=i(e,arguments.length>1?arguments[1]:void 0,3);return l(n,(function(e,n){if(r(n,e,t))return l.stop(e)}),void 0,!0,!0).result}})},jPt0:function(e,t,n){"use strict";var r=n("Ipvm"),o=n("7ltR"),a=n("Q+gB"),i=n("rOQQ"),u=n("qmvM"),l=n.n(u),c=n("T4uv"),s=n("DVjy"),f=n("xwgP"),d=n("j4VH"),p=f["createContext"]({});var h=n("HNR+"),m=n("83r5"),v=n("7PKZ"),g=n("Zfls"),y=function(e){Object(v["a"])(n,e);var t=Object(g["a"])(n);function n(){return Object(h["a"])(this,n),t.apply(this,arguments)}return Object(m["a"])(n,[{key:"render",value:function(){return this.props.children}}]),n}(f["Component"]),b=y,w=n("Figs"),E="none",x="appear",O="enter",k="leave",S="none",j="prepare",T="start",A="active",P="end",C="prepared",_=n("2o+J");function I(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}function R(e,t){var n={animationend:I("Animation","AnimationEnd"),transitionend:I("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var N=R(Object(_["a"])(),"undefined"!==typeof window?window:{}),L={};if(Object(_["a"])()){var M=document.createElement("div");L=M.style}var D={};function F(e){if(D[e])return D[e];var t=N[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o1&&void 0!==arguments[1]?arguments[1]:2;t();var a=Object(G["a"])((function(){o<=1?r({isCanceled:function(){return a!==e.current}}):n(r,o-1)}));e.current=a}return f["useEffect"]((function(){return function(){t()}}),[]),[n,t]},J=[j,T,A,P],Y=[j,C],Q=!1,Z=!0;function ee(e){return e===A||e===P}var te=function(e,t,n){var r=Object(w["a"])(S),o=Object(a["a"])(r,2),i=o[0],u=o[1],l=X(),c=Object(a["a"])(l,2),s=c[0],d=c[1];function p(){u(j,!0)}var h=t?Y:J;return q((function(){if(i!==S&&i!==P){var e=h.indexOf(i),t=h[e+1],r=n(i);r===Q?u(t,!0):t&&s((function(e){function n(){e.isCanceled()||u(t,!0)}!0===r?n():Promise.resolve(r).then(n)}))}}),[e,i]),f["useEffect"]((function(){return function(){d()}}),[]),[p,i]};function ne(e,t,n,i){var u=i.motionEnter,l=void 0===u||u,c=i.motionAppear,s=void 0===c||c,d=i.motionLeave,p=void 0===d||d,h=i.motionDeadline,m=i.motionLeaveImmediately,v=i.onAppearPrepare,g=i.onEnterPrepare,y=i.onLeavePrepare,b=i.onAppearStart,S=i.onEnterStart,P=i.onLeaveStart,_=i.onAppearActive,I=i.onEnterActive,R=i.onLeaveActive,N=i.onAppearEnd,L=i.onEnterEnd,M=i.onLeaveEnd,D=i.onVisibleChanged,F=Object(w["a"])(),U=Object(a["a"])(F,2),H=U[0],z=U[1],B=Object(w["a"])(E),V=Object(a["a"])(B,2),K=V[0],W=V[1],G=Object(w["a"])(null),X=Object(a["a"])(G,2),J=X[0],Y=X[1],ne=Object(f["useRef"])(!1),re=Object(f["useRef"])(null);function oe(){return n()}var ae=Object(f["useRef"])(!1);function ie(){W(E,!0),Y(null,!0)}function ue(e){var t=oe();if(!e||e.deadline||e.target===t){var n,r=ae.current;K===x&&r?n=null===N||void 0===N?void 0:N(t,e):K===O&&r?n=null===L||void 0===L?void 0:L(t,e):K===k&&r&&(n=null===M||void 0===M?void 0:M(t,e)),K!==E&&r&&!1!==n&&ie()}}var le=$(ue),ce=Object(a["a"])(le,1),se=ce[0],fe=function(e){var t,n,o;switch(e){case x:return t={},Object(r["a"])(t,j,v),Object(r["a"])(t,T,b),Object(r["a"])(t,A,_),t;case O:return n={},Object(r["a"])(n,j,g),Object(r["a"])(n,T,S),Object(r["a"])(n,A,I),n;case k:return o={},Object(r["a"])(o,j,y),Object(r["a"])(o,T,P),Object(r["a"])(o,A,R),o;default:return{}}},de=f["useMemo"]((function(){return fe(K)}),[K]),pe=te(K,!e,(function(e){if(e===j){var t=de[j];return t?t(oe()):Q}var n;ve in de&&Y((null===(n=de[ve])||void 0===n?void 0:n.call(de,oe(),null))||null);return ve===A&&(se(oe()),h>0&&(clearTimeout(re.current),re.current=setTimeout((function(){ue({deadline:!0})}),h))),ve===C&&ie(),Z})),he=Object(a["a"])(pe,2),me=he[0],ve=he[1],ge=ee(ve);ae.current=ge,q((function(){z(t);var n,r=ne.current;ne.current=!0,!r&&t&&s&&(n=x),r&&t&&l&&(n=O),(r&&!t&&p||!r&&m&&!t&&p)&&(n=k);var o=fe(n);n&&(e||o[j])?(W(n),me()):W(E)}),[t]),Object(f["useEffect"])((function(){(K===x&&!s||K===O&&!l||K===k&&!p)&&W(E)}),[s,l,p]),Object(f["useEffect"])((function(){return function(){ne.current=!1,clearTimeout(re.current)}}),[]);var ye=f["useRef"](!1);Object(f["useEffect"])((function(){H&&(ye.current=!0),void 0!==H&&K===E&&((ye.current||H)&&(null===D||void 0===D||D(H)),ye.current=!0)}),[H,K]);var be=J;return de[j]&&ve===T&&(be=Object(o["a"])({transition:"none"},be)),[K,ve,be,null!==H&&void 0!==H?H:t]}function re(e){var t=e;function n(e,n){return!(!e.motionName||!t||!1===n)}"object"===Object(i["a"])(e)&&(t=e.transitionSupport);var u=f["forwardRef"]((function(e,t){var i=e.visible,u=void 0===i||i,d=e.removeOnLeave,h=void 0===d||d,m=e.forceRender,v=e.children,g=e.motionName,y=e.leavedClassName,w=e.eventProps,x=f["useContext"](p),O=x.motion,k=n(e,O),S=Object(f["useRef"])(),A=Object(f["useRef"])();function P(){try{return S.current instanceof HTMLElement?S.current:Object(c["a"])(A.current)}catch(e){return null}}var C=ne(k,u,P,e),_=Object(a["a"])(C,4),I=_[0],R=_[1],N=_[2],L=_[3],M=f["useRef"](L);L&&(M.current=!0);var D,F=f["useCallback"]((function(e){S.current=e,Object(s["b"])(t,e)}),[t]),U=Object(o["a"])(Object(o["a"])({},w),{},{visible:u});if(v)if(I===E)D=L?v(Object(o["a"])({},U),F):!h&&M.current&&y?v(Object(o["a"])(Object(o["a"])({},U),{},{className:y}),F):m||!h&&!y?v(Object(o["a"])(Object(o["a"])({},U),{},{style:{display:"none"}}),F):null;else{var H,z;R===j?z="prepare":ee(R)?z="active":R===T&&(z="start");var B=K(g,"".concat(I,"-").concat(z));D=v(Object(o["a"])(Object(o["a"])({},U),{},{className:l()(K(g,I),(H={},Object(r["a"])(H,B,B&&z),Object(r["a"])(H,g,"string"===typeof g),H)),style:N}),F)}else D=null;if(f["isValidElement"](D)&&Object(s["c"])(D)){var V=D,$=V.ref;$||(D=f["cloneElement"](D,{ref:F}))}return f["createElement"](b,{ref:A},D)}));return u.displayName="CSSMotion",u}var oe=re(z),ae=n("g0fg"),ie=n("KLZ3"),ue="add",le="keep",ce="remove",se="removed";function fe(e){var t;return t=e&&"object"===Object(i["a"])(e)&&"key"in e?e:{key:e},Object(o["a"])(Object(o["a"])({},t),{},{key:String(t.key)})}function de(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(fe)}function pe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,a=t.length,i=de(e),u=de(t);i.forEach((function(e){for(var t=!1,i=r;i1}));return c.forEach((function(e){n=n.filter((function(t){var n=t.key,r=t.status;return n!==e||r!==ce})),n.forEach((function(t){t.key===e&&(t.status=le)}))})),n}var he=["component","children","onVisibleChanged","onAllRemoved"],me=["status"],ve=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function ge(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:oe,n=function(e){Object(v["a"])(a,e);var n=Object(g["a"])(a);function a(){var e;Object(h["a"])(this,a);for(var t=arguments.length,i=new Array(t),u=0;ue.length)&&(t=e.length);for(var n=0,r=new Array(t);n128||n===e.anchors.length-1})),n=this.anchors[Math.max(0,t-1)],r=n.parentElement.id;this.listeners.forEach((function(e){return e(r)}))}},{key:"watch",value:function(e){0===this.anchors.length&&"undefined"!==typeof window&&window.addEventListener("scroll",this.listener),this.anchors.push(e),this.listener()}},{key:"unwatch",value:function(e){this.anchors.splice(this.anchors.findIndex((function(t){return t===e})),1),0===this.anchors.length&&"undefined"!==typeof window&&window.removeEventListener("scroll",this.listener)}},{key:"listen",value:function(e){this.listeners.push(e)}},{key:"unlisten",value:function(e){this.listeners.splice(this.listeners.findIndex((function(t){return t===e})),1)}}]),e}());function O(e){return e.offsetTop+(e.offsetParent?O(e.offsetParent):0)}var k=function e(t){var n,a=(null===(n=t.to.match(/(#[^&?]*)/))||void 0===n?void 0:n[1])||"",i=(0,r.useRef)(null),u=(0,r.useState)(!1),l=f(u,2),c=l[0],d=l[1];return(0,r.useEffect)((function(){var e,t;if(["H1","H2","H3"].includes(null===(e=i.current)||void 0===e||null===(t=e.parentElement)||void 0===t?void 0:t.tagName)&&i.current.parentElement.id){var n=i.current;return x.watch(n),function(){x.unwatch(n)}}var r=function(e){d(a==="#".concat(e))};return x.listen(r),function(){return x.unlisten(r)}}),[]),r["default"].createElement(o.NavLink,s({},t,{ref:i,onClick:function(){return e.scrollToAnchor(a.substring(1))},isActive:function(){return c}}))};k.scrollToAnchor=function(e){window.requestAnimationFrame((function(){var t=document.getElementById(decodeURIComponent(e));t&&window.scrollTo(0,O(t)-100)}))};t["default"]=k},jXsC:function(e,t,n){"use strict";var r=n("2hCa"),o=n("PaPB"),a=n("2I03"),i=n("1+Eb"),u=n("/5yA"),l=Math.min,c=[].lastIndexOf,s=!!c&&1/[1].lastIndexOf(1,-0)<0,f=i("lastIndexOf"),d=u("indexOf",{ACCESSORS:!0,1:0}),p=s||!f||!d;e.exports=p?function(e){if(s)return c.apply(this,arguments)||0;var t=r(this),n=a(t.length),i=n-1;for(arguments.length>1&&(i=l(i,o(arguments[1]))),i<0&&(i=n+i);i>=0;i--)if(i in t&&t[i]===e)return i||0;return-1}:c},jcFR:function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r1?arguments[1]:void 0)}})},kPvK:function(e,t,n){var r=n("2JD6"),o=n("bShA"),a=n("+qhb"),i=n("fotI"),u=n("xUti"),l=n("dMsU"),c=o("wks"),s=r.Symbol,f=l?s:s&&s.withoutSetter||i;e.exports=function(e){return a(c,e)||(u&&a(s,e)?c[e]=s[e]:c[e]=f("Symbol."+e)),c[e]}},kRmj:function(e,t,n){var r=n("JqKL");r("Uint16",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},keKz:function(e,t,n){var r=n("2JD6");e.exports=r.Promise},kes9:function(e,t,n){var r=n("Oaiz"),o=Math.abs,a=Math.pow,i=a(2,-52),u=a(2,-23),l=a(2,127)*(2-u),c=a(2,-126),s=function(e){return e+1/i-1/i};e.exports=Math.fround||function(e){var t,n,a=o(e),f=r(e);return al||n!=n?f*(1/0):f*n)}},kh0G:function(e,t,n){"use strict";var r=n("HIsA"),o=n("m52V"),a=n("hXyk"),i=n("40mc"),u=n("wKMT"),l=n("Ji6T");r({target:"Set",proto:!0,real:!0,forced:o},{find:function(e){var t=a(this),n=u(t),r=i(e,arguments.length>1?arguments[1]:void 0,3);return l(n,(function(e){if(r(e,e,t))return l.stop(e)}),void 0,!1,!0).result}})},knnx:function(e,t,n){"use strict";var r=n("HIsA"),o=n("iYBb").end,a=n("c8OV");r({target:"String",proto:!0,forced:a},{padEnd:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},lBFn:function(e,t,n){"use strict";var r=n("HIsA"),o=n("afop"),a=n("JzK+"),i=n("twJ5"),u=n("9izy"),l=u.codeAt,c=u.charAt,s="String Iterator",f=i.set,d=i.getterFor(s),p=o((function(e){f(this,{type:s,string:e,index:0})}),"String",(function(){var e,t=d(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=c(n,r),t.index+=e.length,{value:{codePoint:l(e,0),position:r},done:!1})}));r({target:"String",proto:!0},{codePoints:function(){return new p(String(a(this)))}})},liI8:function(e,t,n){var r=n("2JD6");e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},lttk:function(e,t,n){"use strict";var r=n("9izy").charAt,o=n("twJ5"),a=n("me7Q"),i="String Iterator",u=o.set,l=o.getterFor(i);a(String,"String",(function(e){u(this,{type:i,string:String(e),index:0})}),(function(){var e,t=l(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},m52V:function(e,t){e.exports=!1},mAbK:function(e,t){e.exports={}},"mKn/":function(e,t,n){var r=n("kPvK"),o=n("mAbK"),a=r("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||i[a]===e)}},mODz:function(e,t,n){var r=n("HIsA"),o=n("5isN"),a=n("9HG5"),i=!a((function(e){Array.from(e)}));r({target:"Array",stat:!0,forced:i},{from:o})},mTX6:function(e,t,n){"use strict";var r=n("HIsA"),o=n("m52V"),a=n("hXyk"),i=n("DDwO"),u=n("Ji6T");r({target:"Set",proto:!0,real:!0,forced:o},{isDisjointFrom:function(e){var t=a(this),n=i(t.has);return!u(e,(function(e){if(!0===n.call(t,e))return u.stop()})).stopped}})},ma2j:function(e,t,n){"use strict";var r=n("hXyk");e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},masK:function(e,t,n){var r=n("GUTS");e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},me7Q:function(e,t,n){"use strict";var r=n("HIsA"),o=n("afop"),a=n("kI7s"),i=n("UPu9"),u=n("J7X1"),l=n("D8FR"),c=n("GUTS"),s=n("kPvK"),f=n("m52V"),d=n("mAbK"),p=n("Krz3"),h=p.IteratorPrototype,m=p.BUGGY_SAFARI_ITERATORS,v=s("iterator"),g="keys",y="values",b="entries",w=function(){return this};e.exports=function(e,t,n,s,p,E,x){o(n,t,s);var O,k,S,j=function(e){if(e===p&&_)return _;if(!m&&e in P)return P[e];switch(e){case g:return function(){return new n(this,e)};case y:return function(){return new n(this,e)};case b:return function(){return new n(this,e)}}return function(){return new n(this)}},T=t+" Iterator",A=!1,P=e.prototype,C=P[v]||P["@@iterator"]||p&&P[p],_=!m&&C||j(p),I="Array"==t&&P.entries||C;if(I&&(O=a(I.call(new e)),h!==Object.prototype&&O.next&&(f||a(O)===h||(i?i(O,h):"function"!=typeof O[v]&&l(O,v,w)),u(O,T,!0,!0),f&&(d[T]=w))),p==y&&C&&C.name!==y&&(A=!0,_=function(){return C.call(this)}),f&&!x||P[v]===_||l(P,v,_),d[t]=_,p)if(k={values:j(y),keys:E?_:j(g),entries:j(b)},x)for(S in k)(m||A||!(S in P))&&c(P,S,k[S]);else r({target:t,proto:!0,forced:m||A},k);return k}},mg0T:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1?arguments[1]:void 0,3);return!l(n,(function(e,n){if(!r(n,e,t))return l.stop()}),void 0,!0,!0).stopped}})},o1AR:function(e,t,n){"use strict";var r=n("HIsA"),o=n("Hiyu"),a=n("12fA"),i=n("NVMI"),u=n("n2ef"),l=n("kI7s"),c=n("qmtO").f;o&&r({target:"Object",proto:!0,forced:a},{__lookupGetter__:function(e){var t,n=i(this),r=u(e,!0);do{if(t=c(n,r))return t.get}while(n=l(n))}})},o1Ib:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("SvOI");function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Object(r["a"])(e,t)}},o9qH:function(e,t,n){"use strict";var r=n("pxmn"),o=n("2RC6"),a=n("kI7s"),i=n("kPvK"),u=i("hasInstance"),l=Function.prototype;u in l||o.f(l,u,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;while(e=a(e))if(this.prototype===e)return!0;return!1}})},oDub:function(e,t,n){var r=n("bVFb");r("asyncIterator")},oFyO:function(e,t,n){"use strict";var r=n("HIsA"),o=n("m52V"),a=n("bXon"),i=n("hXyk"),u=n("DDwO"),l=n("70zE"),c=n("Ji6T");r({target:"Set",proto:!0,real:!0,forced:o},{difference:function(e){var t=i(this),n=new(l(t,a("Set")))(t),r=u(n["delete"]);return c(e,(function(e){r.call(n,e)})),n}})},oTOb:function(e,t,n){"use strict";var r=n("2hCa"),o=n("JY8B"),a=n("mAbK"),i=n("twJ5"),u=n("me7Q"),l="Array Iterator",c=i.set,s=i.getterFor(l);e.exports=u(Array,"Array",(function(e,t){c(this,{type:l,target:r(e),index:0,kind:t})}),(function(){var e=s(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),a.Arguments=a.Array,o("keys"),o("values"),o("entries")},ochL:function(e,t,n){"use strict";var r=n("xwgP"),o=n("dZOt"),a=n("dske");function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nt}return!1}function J(e,t,n,r,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a}var Y={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){Y[e]=new J(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];Y[t]=new J(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){Y[e]=new J(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){Y[e]=new J(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){Y[e]=new J(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){Y[e]=new J(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){Y[e]=new J(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){Y[e]=new J(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){Y[e]=new J(e,5,!1,e.toLowerCase(),null,!1)}));var Q=/[\-:]([a-z])/g;function Z(e){return e[1].toUpperCase()}"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-variant 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 xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(Q,Z);Y[t]=new J(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(Q,Z);Y[t]=new J(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(Q,Z);Y[t]=new J(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){Y[e]=new J(e,1,!1,e.toLowerCase(),null,!1)})),Y.xlinkHref=new J("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){Y[e]=new J(e,1,!1,e.toLowerCase(),null,!0)}));var ee=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function te(e,t,n,r){var o=Y.hasOwnProperty(t)?Y[t]:null,a=null!==o?0===o.type:!r&&(2=n.length))throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Oe(n)}}function Ue(e,t){var n=Oe(t.value),r=Oe(t.defaultValue);null!=n&&(n=""+n,n!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function He(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var ze={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Be(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ve(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Be(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Ke,$e=function(e){return"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction((function(){return e(t,n,r,o)}))}:e}((function(e,t){if(e.namespaceURI!==ze.svg||"innerHTML"in e)e.innerHTML=t;else{for(Ke=Ke||document.createElement("div"),Ke.innerHTML=""+t.valueOf().toString()+"",t=Ke.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function We(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function qe(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ge={animationend:qe("Animation","AnimationEnd"),animationiteration:qe("Animation","AnimationIteration"),animationstart:qe("Animation","AnimationStart"),transitionend:qe("Transition","TransitionEnd")},Xe={},Je={};function Ye(e){if(Xe[e])return Xe[e];if(!Ge[e])return e;var t,n=Ge[e];for(t in n)if(n.hasOwnProperty(t)&&t in Je)return Xe[e]=n[t];return e}A&&(Je=document.createElement("div").style,"AnimationEvent"in window||(delete Ge.animationend.animation,delete Ge.animationiteration.animation,delete Ge.animationstart.animation),"TransitionEvent"in window||delete Ge.transitionend.transition);var Qe=Ye("animationend"),Ze=Ye("animationiteration"),et=Ye("animationstart"),tt=Ye("transitionend"),nt="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),rt=new("function"===typeof WeakMap?WeakMap:Map);function ot(e){var t=rt.get(e);return void 0===t&&(t=new Map,rt.set(e,t)),t}function at(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{t=e,0!==(1026&t.effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function it(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(e=e.alternate,null!==e&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function ut(e){if(at(e)!==e)throw Error(i(188))}function lt(e){var t=e.alternate;if(!t){if(t=at(e),null===t)throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(r=o.return,null!==r){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return ut(o),e;if(a===r)return ut(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var u=!1,l=o.child;l;){if(l===n){u=!0,n=o,r=a;break}if(l===r){u=!0,r=o,n=a;break}l=l.sibling}if(!u){for(l=a.child;l;){if(l===n){u=!0,n=a,r=o;break}if(l===r){u=!0,r=a,n=o;break}l=l.sibling}if(!u)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}function ct(e){if(e=lt(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function st(e,t){if(null==t)throw Error(i(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function ft(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var dt=null;function pt(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;rgt.length&>.push(e)}function bt(e,t,n,r){if(gt.length){var o=gt.pop();return o.topLevelType=e,o.eventSystemFlags=r,o.nativeEvent=t,o.targetInst=n,o}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function wt(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;t=n.tag,5!==t&&6!==t||e.ancestors.push(n),n=zn(r)}while(n);for(n=0;n=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=wn(r)}}function xn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?xn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function On(){for(var e=window,t=bn();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;e=t.contentWindow,t=bn(e.document)}return t}function kn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var Sn="$",jn="/$",Tn="$?",An="$!",Pn=null,Cn=null;function _n(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function In(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Rn="function"===typeof setTimeout?setTimeout:void 0,Nn="function"===typeof clearTimeout?clearTimeout:void 0;function Ln(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Mn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if(n===Sn||n===An||n===Tn){if(0===t)return e;t--}else n===jn&&t++}e=e.previousSibling}return null}var Dn=Math.random().toString(36).slice(2),Fn="__reactInternalInstance$"+Dn,Un="__reactEventHandlers$"+Dn,Hn="__reactContainere$"+Dn;function zn(e){var t=e[Fn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Hn]||n[Fn]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Mn(e);null!==e;){if(n=e[Fn])return n;e=Mn(e)}return t}e=n,n=e.parentNode}return null}function Bn(e){return e=e[Fn]||e[Hn],!e||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Vn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function Kn(e){return e[Un]||null}function $n(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Wn(e,t){var n=e.stateNode;if(!n)return null;var r=m(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!("button"===e||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(i(231,t,typeof n));return n}function qn(e,t,n){(t=Wn(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=st(n._dispatchListeners,t),n._dispatchInstances=st(n._dispatchInstances,e))}function Gn(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=$n(t);for(t=n.length;0this.eventPool.length&&this.eventPool.push(e)}function ur(e){e.eventPool=[],e.getPooled=ar,e.release=ir}o(or.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nr)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nr)},persist:function(){this.isPersistent=nr},isPersistent:rr,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=rr,this._dispatchInstances=this._dispatchListeners=null}}),or.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},or.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var a=new t;return o(a,n.prototype),n.prototype=a,n.prototype.constructor=n,n.Interface=o({},r.Interface,e),n.extend=r.extend,ur(n),n},ur(or);var lr=or.extend({data:null}),cr=or.extend({data:null}),sr=[9,13,27,32],fr=A&&"CompositionEvent"in window,dr=null;A&&"documentMode"in document&&(dr=document.documentMode);var pr=A&&"TextEvent"in window&&!dr,hr=A&&(!fr||dr&&8=dr),mr=String.fromCharCode(32),vr={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},gr=!1;function yr(e,t){switch(e){case"keyup":return-1!==sr.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function br(e){return e=e.detail,"object"===typeof e&&"data"in e?e.data:null}var wr=!1;function Er(e,t){switch(e){case"compositionend":return br(t);case"keypress":return 32!==t.which?null:(gr=!0,mr);case"textInput":return e=t.data,e===mr&&gr?null:e;default:return null}}function xr(e,t){if(wr)return"compositionend"===e||!fr&&yr(e,t)?(e=tr(),er=Zn=Qn=null,wr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=document.documentMode,oo={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},ao=null,io=null,uo=null,lo=!1;function co(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return lo||null==ao||ao!==bn(n)?null:(n=ao,"selectionStart"in n&&kn(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),uo&&no(uo,n)?null:(uo=n,e=or.getPooled(oo.select,io,e,t),e.type="select",e.target=ao,Yn(e),e))}var so={eventTypes:oo,extractEvents:function(e,t,n,r,o,a){if(o=a||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument),!(a=!o)){e:{o=ot(o),a=j.onSelect;for(var i=0;ijo||(e.current=So[jo],So[jo]=null,jo--)}function Ao(e,t){jo++,So[jo]=e.current,e.current=t}var Po={},Co={current:Po},_o={current:!1},Io=Po;function Ro(e,t){var n=e.type.contextTypes;if(!n)return Po;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function No(e){return e=e.childContextTypes,null!==e&&void 0!==e}function Lo(){To(_o),To(Co)}function Mo(e,t,n){if(Co.current!==Po)throw Error(i(168));Ao(Co,t),Ao(_o,n)}function Do(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var a in r=r.getChildContext(),r)if(!(a in e))throw Error(i(108,Ee(t)||"Unknown",a));return o({},n,{},r)}function Fo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Po,Io=Co.current,Ao(Co,e),Ao(_o,_o.current),!0}function Uo(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Do(e,t,Io),r.__reactInternalMemoizedMergedChildContext=e,To(_o),To(Co),Ao(Co,e)):To(_o),Ao(_o,n)}var Ho=a.unstable_runWithPriority,zo=a.unstable_scheduleCallback,Bo=a.unstable_cancelCallback,Vo=a.unstable_requestPaint,Ko=a.unstable_now,$o=a.unstable_getCurrentPriorityLevel,Wo=a.unstable_ImmediatePriority,qo=a.unstable_UserBlockingPriority,Go=a.unstable_NormalPriority,Xo=a.unstable_LowPriority,Jo=a.unstable_IdlePriority,Yo={},Qo=a.unstable_shouldYield,Zo=void 0!==Vo?Vo:function(){},ea=null,ta=null,na=!1,ra=Ko(),oa=1e4>ra?Ko:function(){return Ko()-ra};function aa(){switch($o()){case Wo:return 99;case qo:return 98;case Go:return 97;case Xo:return 96;case Jo:return 95;default:throw Error(i(332))}}function ia(e){switch(e){case 99:return Wo;case 98:return qo;case 97:return Go;case 96:return Xo;case 95:return Jo;default:throw Error(i(332))}}function ua(e,t){return e=ia(e),Ho(e,t)}function la(e,t,n){return e=ia(e),zo(e,t,n)}function ca(e){return null===ea?(ea=[e],ta=zo(Wo,fa)):ea.push(e),Yo}function sa(){if(null!==ta){var e=ta;ta=null,Bo(e)}fa()}function fa(){if(!na&&null!==ea){na=!0;var e=0;try{var t=ea;ua(99,(function(){for(;e=t&&(Gi=!0),e.firstContext=null)}function xa(e,t){if(ga!==e&&!1!==t&&0!==t)if("number"===typeof t&&1073741823!==t||(ga=e,t=1073741823),t={context:e,observedBits:t,next:null},null===va){if(null===ma)throw Error(i(308));va=t,ma.dependencies={expirationTime:0,firstContext:t,responders:null}}else va=va.next=t;return e._currentValue}var Oa=!1;function ka(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function Sa(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function ja(e,t){return e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null},e.next=e}function Ta(e,t){if(e=e.updateQueue,null!==e){e=e.shared;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function Aa(e,t){var n=e.alternate;null!==n&&Sa(n,e),e=e.updateQueue,n=e.baseQueue,null===n?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function Pa(e,t,n,r){var a=e.updateQueue;Oa=!1;var i=a.baseQueue,u=a.shared.pending;if(null!==u){if(null!==i){var l=i.next;i.next=u.next,u.next=l}i=u,a.shared.pending=null,l=e.alternate,null!==l&&(l=l.updateQueue,null!==l&&(l.baseQueue=u))}if(null!==i){l=i.next;var c=a.baseState,s=0,f=null,d=null,p=null;if(null!==l){var h=l;do{if(u=h.expirationTime,us&&(s=u)}else{null!==p&&(p=p.next={expirationTime:1073741823,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null}),Ml(u,h.suspenseConfig);e:{var v=e,g=h;switch(u=t,m=n,g.tag){case 1:if(v=g.payload,"function"===typeof v){c=v.call(m,c,u);break e}c=v;break e;case 3:v.effectTag=-4097&v.effectTag|64;case 0:if(v=g.payload,u="function"===typeof v?v.call(m,c,u):v,null===u||void 0===u)break e;c=o({},c,u);break e;case 2:Oa=!0}}null!==h.callback&&(e.effectTag|=32,u=a.effects,null===u?a.effects=[h]:u.push(h))}if(h=h.next,null===h||h===l){if(u=a.shared.pending,null===u)break;h=i.next=u.next,u.next=l,a.baseQueue=i=u,a.shared.pending=null}}while(1)}null===p?f=c:p.next=d,a.baseState=f,a.baseQueue=p,Dl(s),e.expirationTime=s,e.memoizedState=c}}function Ca(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;tm?(v=f,f=null):v=f.sibling;var g=p(o,f,u[m],l);if(null===g){null===f&&(f=v);break}e&&f&&null===g.alternate&&t(o,f),i=a(g,i,m),null===s?c=g:s.sibling=g,s=g,f=v}if(m===u.length)return n(o,f),c;if(null===f){for(;mv?(g=m,m=null):g=m.sibling;var b=p(o,m,y.value,c);if(null===b){null===m&&(m=g);break}e&&m&&null===b.alternate&&t(o,m),u=a(b,u,v),null===f?s=b:f.sibling=b,f=b,m=g}if(y.done)return n(o,m),s;if(null===m){for(;!y.done;v++,y=l.next())y=d(o,y.value,c),null!==y&&(u=a(y,u,v),null===f?s=y:f.sibling=y,f=y);return s}for(m=r(o,m);!y.done;v++,y=l.next())y=h(m,o,v,y.value,c),null!==y&&(e&&null!==y.alternate&&m.delete(null===y.key?v:y.key),u=a(y,u,v),null===f?s=y:f.sibling=y,f=y);return e&&m.forEach((function(e){return t(o,e)})),s}return function(e,r,a,l){var c="object"===typeof a&&null!==a&&a.type===ie&&null===a.key;c&&(a=a.props.children);var s="object"===typeof a&&null!==a;if(s)switch(a.$$typeof){case oe:e:{for(s=a.key,c=r;null!==c;){if(c.key===s){switch(c.tag){case 7:if(a.type===ie){n(e,c.sibling),r=o(c,a.props.children),r.return=e,e=r;break e}break;default:if(c.elementType===a.type){n(e,c.sibling),r=o(c,a.props),r.ref=Ha(e,c,a),r.return=e,e=r;break e}}n(e,c);break}t(e,c),c=c.sibling}a.type===ie?(r=uc(a.props.children,e.mode,l,a.key),r.return=e,e=r):(l=ic(a.type,a.key,a.props,null,e.mode,l),l.ref=Ha(e,r,a),l.return=e,e=l)}return u(e);case ae:e:{for(c=a.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(e,r.sibling),r=o(r,a.children||[]),r.return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}r=cc(a,e.mode,l),r.return=e,e=r}return u(e)}if("string"===typeof a||"number"===typeof a)return a=""+a,null!==r&&6===r.tag?(n(e,r.sibling),r=o(r,a),r.return=e,e=r):(n(e,r),r=lc(a,e.mode,l),r.return=e,e=r),u(e);if(Ua(a))return m(e,r,a,l);if(be(a))return v(e,r,a,l);if(s&&za(e,a),"undefined"===typeof a&&!c)switch(e.tag){case 1:case 0:throw e=e.type,Error(i(152,e.displayName||e.name||"Component"))}return n(e,r)}}var Va=Ba(!0),Ka=Ba(!1),$a={},Wa={current:$a},qa={current:$a},Ga={current:$a};function Xa(e){if(e===$a)throw Error(i(174));return e}function Ja(e,t){switch(Ao(Ga,t),Ao(qa,e),Ao(Wa,$a),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ve(null,"");break;default:e=8===e?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ve(t,e)}To(Wa),Ao(Wa,t)}function Ya(){To(Wa),To(qa),To(Ga)}function Qa(e){Xa(Ga.current);var t=Xa(Wa.current),n=Ve(t,e.type);t!==n&&(Ao(qa,e),Ao(Wa,n))}function Za(e){qa.current===e&&(To(Wa),To(qa))}var ei={current:0};function ti(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(n=n.dehydrated,null===n||n.data===Tn||n.data===An))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function ni(e,t){return{responder:e,props:t}}var ri=ee.ReactCurrentDispatcher,oi=ee.ReactCurrentBatchConfig,ai=0,ii=null,ui=null,li=null,ci=!1;function si(){throw Error(i(321))}function fi(e,t){if(null===t)return!1;for(var n=0;na))throw Error(i(301));a+=1,li=ui=null,t.updateQueue=null,ri.current=Di,e=n(r,o)}while(t.expirationTime===ai)}if(ri.current=Ni,t=null!==ui&&null!==ui.next,ai=0,li=ui=ii=null,ci=!1,t)throw Error(i(300));return e}function pi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===li?ii.memoizedState=li=e:li=li.next=e,li}function hi(){if(null===ui){var e=ii.alternate;e=null!==e?e.memoizedState:null}else e=ui.next;var t=null===li?ii.memoizedState:li.next;if(null!==t)li=t,ui=e;else{if(null===e)throw Error(i(310));ui=e,e={memoizedState:ui.memoizedState,baseState:ui.baseState,baseQueue:ui.baseQueue,queue:ui.queue,next:null},null===li?ii.memoizedState=li=e:li=li.next=e}return li}function mi(e,t){return"function"===typeof t?t(e):t}function vi(e){var t=hi(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=ui,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var u=o.next;o.next=a.next,a.next=u}r.baseQueue=o=a,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var l=u=a=null,c=o;do{var s=c.expirationTime;if(sii.expirationTime&&(ii.expirationTime=s,Dl(s))}else null!==l&&(l=l.next={expirationTime:1073741823,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),Ml(s,c.suspenseConfig),r=c.eagerReducer===e?c.eagerState:e(r,c.action);c=c.next}while(null!==c&&c!==o);null===l?a=r:l.next=u,eo(r,t.memoizedState)||(Gi=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function gi(e){var t=hi(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var u=o=o.next;do{a=e(a,u.action),u=u.next}while(u!==o);eo(a,t.memoizedState)||(Gi=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function yi(e){var t=pi();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=t.queue={pending:null,dispatch:null,lastRenderedReducer:mi,lastRenderedState:e},e=e.dispatch=Ri.bind(null,ii,e),[t.memoizedState,e]}function bi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=ii.updateQueue,null===t?(t={lastEffect:null},ii.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,null===n?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function wi(){return hi().memoizedState}function Ei(e,t,n,r){var o=pi();ii.effectTag|=e,o.memoizedState=bi(1|t,n,void 0,void 0===r?null:r)}function xi(e,t,n,r){var o=hi();r=void 0===r?null:r;var a=void 0;if(null!==ui){var i=ui.memoizedState;if(a=i.destroy,null!==r&&fi(r,i.deps))return void bi(t,n,a,r)}ii.effectTag|=e,o.memoizedState=bi(1|t,n,a,r)}function Oi(e,t){return Ei(516,4,e,t)}function ki(e,t){return xi(516,4,e,t)}function Si(e,t){return xi(4,2,e,t)}function ji(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ti(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,xi(4,2,ji.bind(null,t,e),n)}function Ai(){}function Pi(e,t){return pi().memoizedState=[e,void 0===t?null:t],e}function Ci(e,t){var n=hi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&fi(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function _i(e,t){var n=hi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&fi(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ii(e,t,n){var r=aa();ua(98>r?98:r,(function(){e(!0)})),ua(97<\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=l.createElement(a,{is:r.is}):(e=l.createElement(a),"select"===a&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,a),e[Fn]=t,e[Un]=r,ou(e,t,!1,!1),t.stateNode=e,l=mn(a,r),a){case"iframe":case"object":case"embed":nn("load",e),c=r;break;case"video":case"audio":for(c=0;cr.tailExpiration&&1t)&&yl.set(e,t)))}}function Sl(e,t){e.expirationTimee?n:e,2>=e&&t!==e?0:e}function Tl(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=ca(Pl.bind(null,e));else{var t=jl(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=xl();if(1073741823===t?r=99:1===t||2===t?r=95:(r=10*(1073741821-t)-10*(1073741821-r),r=0>=r?99:250>=r?98:5250>=r?97:95),null!==n){var o=e.callbackPriority;if(e.callbackExpirationTime===t&&o>=r)return;n!==Yo&&Bo(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?ca(Pl.bind(null,e)):la(r,Al.bind(null,e),{timeout:10*(1073741821-t)-oa()}),e.callbackNode=t}}}function Al(e,t){if(El=0,t)return t=xl(),hc(e,t),Tl(e),null;var n=jl(e);if(0!==n){if(t=e.callbackNode,(Qu&(Ku|$u))!==Bu)throw Error(i(327));if(Wl(),e===Zu&&n===tl||Rl(e,n),null!==el){var r=Qu;Qu|=Ku;var o=Ll();do{try{Ul();break}catch(l){Nl(e,l)}}while(1);if(ya(),Qu=r,Hu.current=o,nl===qu)throw t=rl,Rl(e,n),dc(e,n),Tl(e),t;if(null===el)switch(o=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=nl,Zu=null,r){case Wu:case qu:throw Error(i(345));case Gu:hc(e,2=n){e.lastPingedTime=n,Rl(e,n);break}}if(a=jl(e),0!==a&&a!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=Rn(Vl.bind(null,e),o);break}Vl(e);break;case Ju:if(dc(e,n),r=e.lastSuspendedTime,n===r&&(e.nextKnownPendingLevel=Bl(o)),ll&&(o=e.lastPingedTime,0===o||o>=n)){e.lastPingedTime=n,Rl(e,n);break}if(o=jl(e),0!==o&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==al?r=10*(1073741821-al)-oa():1073741823===ol?r=0:(r=10*(1073741821-ol)-5e3,o=oa(),n=10*(1073741821-n)-o,r=o-r,0>r&&(r=0),r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Uu(r/1960))-r,n=r?r=0:(o=0|u.busyDelayMs,a=oa()-(10*(1073741821-a)-(0|u.timeoutMs||5e3)),r=a<=o?0:o+r-a),10 component higher in the tree to provide a loading indicator or placeholder to display."+xe(i))}nl!==Yu&&(nl=Gu),u=gu(u,i),f=a;do{switch(f.tag){case 3:l=u,f.effectTag|=4096,f.expirationTime=t;var w=Mu(f,l,t);Aa(f,w);break e;case 1:l=u;var E=f.type,x=f.stateNode;if(0===(64&f.effectTag)&&("function"===typeof E.getDerivedStateFromError||null!==x&&"function"===typeof x.componentDidCatch&&(null===hl||!hl.has(x)))){f.effectTag|=4096,f.expirationTime=t;var O=Du(f,l,t);Aa(f,O);break e}}f=f.return}while(null!==f)}el=zl(el)}catch(k){t=k;continue}break}while(1)}function Ll(){var e=Hu.current;return Hu.current=Ni,null===e?Ni:e}function Ml(e,t){eul&&(ul=e)}function Fl(){for(;null!==el;)el=Hl(el)}function Ul(){for(;null!==el&&!Qo();)el=Hl(el)}function Hl(e){var t=Fu(e.alternate,e,tl);return e.memoizedProps=e.pendingProps,null===t&&(t=zl(e)),zu.current=null,t}function zl(e){el=e;do{var t=el.alternate;if(e=el.return,0===(2048&el.effectTag)){if(t=mu(t,el,tl),1===tl||1!==el.childExpirationTime){for(var n=0,r=el.child;null!==r;){var o=r.expirationTime,a=r.childExpirationTime;o>n&&(n=o),a>n&&(n=a),r=r.sibling}el.childExpirationTime=n}if(null!==t)return t;null!==e&&0===(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=el.firstEffect),null!==el.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=el.firstEffect),e.lastEffect=el.lastEffect),1e?t:e}function Vl(e){var t=aa();return ua(99,Kl.bind(null,e,t)),null}function Kl(e,t){do{Wl()}while(null!==vl);if((Qu&(Ku|$u))!==Bu)throw Error(i(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var o=Bl(n);if(e.firstPendingTime=o,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===Zu&&(el=Zu=null,tl=0),1l&&(s=l,l=u,u=s),s=En(w,u),f=En(w,l),s&&f&&(1!==x.rangeCount||x.anchorNode!==s.node||x.anchorOffset!==s.offset||x.focusNode!==f.node||x.focusOffset!==f.offset)&&(E=E.createRange(),E.setStart(s.node,s.offset),x.removeAllRanges(),u>l?(x.addRange(E),x.extend(f.node,f.offset)):(E.setEnd(f.node,f.offset),x.addRange(E)))))),E=[];for(x=w;x=x.parentNode;)1===x.nodeType&&E.push({element:x,left:x.scrollLeft,top:x.scrollTop});for("function"===typeof w.focus&&w.focus(),w=0;w=n?cu(e,t,n):(Ao(ei,1&ei.current),t=pu(e,t,n),null!==t?t.sibling:null);Ao(ei,1&ei.current);break;case 19:if(r=t.childExpirationTime>=n,0!==(64&e.effectTag)){if(r)return du(e,t,n);t.effectTag|=64}if(o=t.memoizedState,null!==o&&(o.rendering=null,o.tail=null),Ao(ei,ei.current),!r)return null}return pu(e,t,n)}Gi=!1}}else Gi=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,o=Ro(t,Co.current),Ea(t,n),o=di(null,t,r,e,o,n),t.effectTag|=1,"object"===typeof o&&null!==o&&"function"===typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,No(r)){var a=!0;Fo(t)}else a=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,ka(t);var u=r.getDerivedStateFromProps;"function"===typeof u&&Ra(t,r,u,e),o.updater=Na,t.stateNode=o,o._reactInternalFiber=t,Fa(t,r,e,n),t=nu(null,t,r,!0,a,n)}else t.tag=0,Xi(null,t,o,n),t=t.child;return t;case 16:e:{if(o=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,we(o),1!==o._status)throw o._result;switch(o=o._result,t.type=o,a=t.tag=oc(o),e=pa(o,e),a){case 0:t=eu(null,t,o,e,n);break e;case 1:t=tu(null,t,o,e,n);break e;case 11:t=Ji(null,t,o,e,n);break e;case 14:t=Yi(null,t,o,pa(o.type,e),r,n);break e}throw Error(i(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:pa(r,o),eu(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:pa(r,o),tu(e,t,r,o,n);case 3:if(ru(t),r=t.updateQueue,null===e||null===r)throw Error(i(282));if(r=t.pendingProps,o=t.memoizedState,o=null!==o?o.element:null,Sa(e,t),Pa(t,r,null,n),r=t.memoizedState.element,r===o)Wi(),t=pu(e,t,n);else{if((o=t.stateNode.hydrate)&&(Ui=Ln(t.stateNode.containerInfo.firstChild),Fi=t,o=Hi=!0),o)for(n=Ka(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Xi(e,t,r,n),Wi();t=t.child}return t;case 5:return Qa(t),null===e&&Vi(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,u=o.children,In(r,o)?u=null:null!==a&&In(r,a)&&(t.effectTag|=16),Zi(e,t),4&t.mode&&1!==n&&o.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Xi(e,t,u,n),t=t.child),t;case 6:return null===e&&Vi(t),null;case 13:return cu(e,t,n);case 4:return Ja(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Va(t,null,r,n):Xi(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:pa(r,o),Ji(e,t,r,o,n);case 7:return Xi(e,t,t.pendingProps,n),t.child;case 8:return Xi(e,t,t.pendingProps.children,n),t.child;case 12:return Xi(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,u=t.memoizedProps,a=o.value;var l=t.type._context;if(Ao(ha,l._currentValue),l._currentValue=a,null!==u)if(l=u.value,a=eo(l,a)?0:0|("function"===typeof r._calculateChangedBits?r._calculateChangedBits(l,a):1073741823),0===a){if(u.children===o.children&&!_o.current){t=pu(e,t,n);break e}}else for(l=t.child,null!==l&&(l.return=t);null!==l;){var c=l.dependencies;if(null!==c){u=l.child;for(var s=c.firstContext;null!==s;){if(s.context===r&&0!==(s.observedBits&a)){1===l.tag&&(s=ja(n,null),s.tag=2,Ta(l,s)),l.expirationTime=t&&e<=t}function dc(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;nt||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function pc(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function hc(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function mc(e,t,n,r){var o=t.current,a=xl(),u=_a.suspense;a=Ol(a,o,u);e:if(n){n=n._reactInternalFiber;t:{if(at(n)!==n||1!==n.tag)throw Error(i(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(No(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(i(171))}if(1===n.tag){var c=n.type;if(No(c)){n=Do(n,c,l);break e}}n=l}else n=Po;return null===t.context?t.context=n:t.pendingContext=n,t=ja(a,u),t.payload={element:e},r=void 0===r?null:r,null!==r&&(t.callback=r),Ta(o,t),kl(o,a),a}function vc(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function gc(e,t){e=e.memoizedState,null!==e&&null!==e.dehydrated&&e.retryTime1&&void 0!==arguments[1]?arguments[1]:{},n=[];return o.a.Children.forEach(e,(function(e){(void 0!==e&&null!==e||t.keepEmpty)&&(Array.isArray(e)?n=n.concat(i(e)):Object(a["isFragment"])(e)&&e.props?n=n.concat(i(e.props.children,t)):n.push(e))})),n}},"pMf/":function(e,t,n){var r=n("2JD6"),o=n("7+LC"),a=n("9HG5"),i=n("Wp5u").NATIVE_ARRAY_BUFFER_VIEWS,u=r.ArrayBuffer,l=r.Int8Array;e.exports=!i||!o((function(){l(1)}))||!o((function(){new l(-1)}))||!a((function(e){new l,new l(null),new l(1.5),new l(e)}),!0)||o((function(){return 1!==new l(new u(2),1,void 0).length}))},pYsg:function(e,t,n){"use strict";var r=n("HIsA"),o=n("m52V"),a=n("hXyk"),i=n("40mc"),u=n("YjHi"),l=n("Ji6T");r({target:"Map",proto:!0,real:!0,forced:o},{some:function(e){var t=a(this),n=u(t),r=i(e,arguments.length>1?arguments[1]:void 0,3);return l(n,(function(e,n){if(r(n,e,t))return l.stop()}),void 0,!0,!0).stopped}})},pYwQ:function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},pjop:function(e,t,n){"use strict";function r(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,"a",(function(){return r}))},plly:function(e,t,n){"use strict";var r=n("Hiyu"),o=n("JY8B"),a=n("NVMI"),i=n("2I03"),u=n("2RC6").f;r&&!("lastItem"in[])&&(u(Array.prototype,"lastItem",{configurable:!0,get:function(){var e=a(this),t=i(e.length);return 0==t?void 0:e[t-1]},set:function(e){var t=a(this),n=i(t.length);return t[0==n?0:n-1]=e}}),o("lastItem"))},pthC:function(e,t,n){"use strict";var r=n("HIsA"),o=n("0MLT"),a=n("uCRN");r({target:"Promise",stat:!0},{try:function(e){var t=o.f(this),n=a(e);return(n.error?t.reject:t.resolve)(n.value),t.promise}})},pxmn:function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},q0Qw:function(e,t,n){var r=n("G4R5"),o=n("stff"),a=n("bWCM"),i=n("pxmn"),u=function(){this.object=null,this.symbol=null,this.primitives=null,this.objectsByIndex=a(null)};u.prototype.get=function(e,t){return this[e]||(this[e]=t())},u.prototype.next=function(e,t,n){var a=n?this.objectsByIndex[e]||(this.objectsByIndex[e]=new o):this.primitives||(this.primitives=new r),i=a.get(t);return i||a.set(t,i=new u),i};var l=new u;e.exports=function(){var e,t,n=l,r=arguments.length;for(e=0;ee.length)&&(t=e.length);for(var n=0,r=new Array(t);n=t||n<0||d&&r>=i}function x(){var e=g();if(E(e))return k(e);l=setTimeout(x,b(e))}function k(e){return l=void 0,p&&o?h(e):(o=a=void 0,u)}function S(){void 0!==l&&clearTimeout(l),s=0,o=c=a=l=void 0}function j(){return void 0===l?u:k(g())}function T(){var e=g(),n=E(e);if(o=arguments,a=this,c=e,n){if(void 0===l)return y(c);if(d)return l=setTimeout(x,t),h(c)}return void 0===l&&(l=setTimeout(x,t)),u}return t=O(t)||0,w(r)&&(f=!!r.leading,d="maxWait"in r,i=d?m(O(r.maxWait)||0,t):i,p="trailing"in r?!!r.trailing:p),T.cancel=S,T.flush=j,T}function b(e,t,r){var o=!0,a=!0;if("function"!=typeof e)throw new TypeError(n);return w(r)&&(o="leading"in r?!!r.leading:o,a="trailing"in r?!!r.trailing:a),y(e,t,{leading:o,maxWait:t,trailing:a})}function w(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function E(e){return!!e&&"object"==typeof e}function x(e){return"symbol"==typeof e||E(e)&&h.call(e)==o}function O(e){if("number"==typeof e)return e;if(x(e))return r;if(w(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=w(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var n=u.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):i.test(e)?r:+e}e.exports=b}).call(this,n("PCY7"))},"q5+0":function(e,t,n){"use strict";n.d(t,"a",(function(){return w})),n.d(t,"b",(function(){return x})),n.d(t,"c",(function(){return A})),n.d(t,"d",(function(){return N})),n.d(t,"e",(function(){return b})),n.d(t,"f",(function(){return z})),n.d(t,"g",(function(){return B})),n.d(t,"h",(function(){return y})),n.d(t,"i",(function(){return R})),n.d(t,"j",(function(){return $})),n.d(t,"k",(function(){return W})),n.d(t,"l",(function(){return q})),n.d(t,"m",(function(){return G})),n.d(t,"n",(function(){return V}));var r=n("o1Ib"),o=n("xwgP"),a=n.n(o),i=n("HFu6"),u=n("9A8K"),l=n("ASiN"),c=n("g0fg"),s=n("8idk"),f=n.n(s),d=(n("2kiq"),n("67U+")),p=n("QIG3"),h=n.n(p),m=function(e){var t=Object(u["a"])();return t.displayName=e,t},v=m("Router-History"),g=function(e){var t=Object(u["a"])();return t.displayName=e,t},y=g("Router"),b=function(e){function t(t){var n;return n=e.call(this,t)||this,n.state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}Object(r["a"])(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return a.a.createElement(y.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a.a.createElement(v.Provider,{children:this.props.children||null,value:this.props.history}))},t}(a.a.Component);var w=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o1?arguments[1]:void 0,3);return!l(n,(function(e){if(!r(e,e,t))return l.stop()}),void 0,!1,!0).stopped}})},qsB9:function(e,t,n){var r=n("HIsA"),o=Math.PI/180;r({target:"Math",stat:!0},{radians:function(e){return e*o}})},quaw:function(e,t,n){"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},qya5:function(e,t,n){var r=n("QD/U");r("Array")},qzoY:function(e,t,n){"use strict";var r=n("e0NO"),o=n("be71");e.exports=function(e,t,n){var a=this||o;return r.forEach(n,(function(n){e=n.call(a,e,t)})),e}},r4Zb:function(e,t,n){var r=n("2JD6"),o=n("Bktt"),a=n("oTOb"),i=n("D8FR"),u=n("kPvK"),l=u("iterator"),c=u("toStringTag"),s=a.values;for(var f in o){var d=r[f],p=d&&d.prototype;if(p){if(p[l]!==s)try{i(p,l,s)}catch(m){p[l]=s}if(p[c]||i(p,c,f),o[f])for(var h in a)if(p[h]!==a[h])try{i(p,h,a[h])}catch(m){p[h]=a[h]}}}},r73t:function(e,t,n){"use strict";var r=n("masK"),o=n("qDpf").getWeakData,a=n("hXyk"),i=n("pxmn"),u=n("xOST"),l=n("Ji6T"),c=n("Xf1w"),s=n("+qhb"),f=n("twJ5"),d=f.set,p=f.getterFor,h=c.find,m=c.findIndex,v=0,g=function(e){return e.frozen||(e.frozen=new y)},y=function(){this.entries=[]},b=function(e,t){return h(e.entries,(function(e){return e[0]===t}))};y.prototype={get:function(e){var t=b(this,e);if(t)return t[1]},has:function(e){return!!b(this,e)},set:function(e,t){var n=b(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=m(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,c){var f=e((function(e,r){u(e,f,t),d(e,{type:t,id:v++,frozen:void 0}),void 0!=r&&l(r,e[c],e,n)})),h=p(t),m=function(e,t,n){var r=h(e),i=o(a(t),!0);return!0===i?g(r).set(t,n):i[r.id]=n,e};return r(f.prototype,{delete:function(e){var t=h(this);if(!i(e))return!1;var n=o(e);return!0===n?g(t)["delete"](e):n&&s(n,t.id)&&delete n[t.id]},has:function(e){var t=h(this);if(!i(e))return!1;var n=o(e);return!0===n?g(t).has(e):n&&s(n,t.id)}}),r(f.prototype,n?{get:function(e){var t=h(this);if(i(e)){var n=o(e);return!0===n?g(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return m(this,e,t)}}:{add:function(e){return m(this,e,!0)}}),f}}},rEZV:function(e,t){function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},rKDr:function(e,t,n){var r=n("HIsA"),o=n("NNlX"),a=n("icJ8"),i=n("hXyk"),u=n("kI7s"),l=n("Ji6T"),c=a.keys,s=a.toKey,f=function(e){var t=[];return l(e,t.push,t),t},d=function(e,t){var n=c(e,t),r=u(e);if(null===r)return n;var a=d(r,t);return a.length?n.length?f(new o(n.concat(a))):a:n};r({target:"Reflect",stat:!0},{getMetadataKeys:function(e){var t=arguments.length<2?void 0:s(arguments[1]);return d(i(e),t)}})},rLG7:function(e,t,n){"use strict";var r=n("HIsA"),o=n("Hiyu"),a=n("12fA"),i=n("NVMI"),u=n("n2ef"),l=n("kI7s"),c=n("qmtO").f;o&&r({target:"Object",proto:!0,forced:a},{__lookupSetter__:function(e){var t,n=i(this),r=u(e,!0);do{if(t=c(n,r))return t.set}while(n=l(n))}})},rOQQ:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,"a",(function(){return r}))},rV0f:function(e,t,n){"use strict";var r=n("Kusw").version,o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var a={};function i(e,t,n){if("object"!==typeof e)throw new TypeError("options must be an object");var r=Object.keys(e),o=r.length;while(o-- >0){var a=r[o],i=t[a];if(i){var u=e[a],l=void 0===u||i(u,a,e);if(!0!==l)throw new TypeError("option "+a+" must be "+l)}else if(!0!==n)throw Error("Unknown option "+a)}}o.transitional=function(e,t,n){function o(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,i){if(!1===e)throw new Error(o(r," has been removed"+(t?" in "+t:"")));return t&&!a[r]&&(a[r]=!0,console.warn(o(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,i)}},e.exports={assertOptions:i,validators:o}},rXtS:function(e,t,n){"use strict";var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.target,r=void 0===n?document.body:n,o=document.createElement("textarea"),a=document.activeElement;o.value=e,o.setAttribute("readonly",""),o.style.contain="strict",o.style.position="absolute",o.style.left="-9999px",o.style.fontSize="12pt";var i=document.getSelection(),u=!1;i.rangeCount>0&&(u=i.getRangeAt(0)),r.append(o),o.select(),o.selectionStart=0,o.selectionEnd=e.length;var l=!1;try{l=document.execCommand("copy")}catch(c){}return o.remove(),u&&(i.removeAllRanges(),i.addRange(u)),a&&a.focus(),l};e.exports=r,e.exports["default"]=r},rcF6:function(e,t,n){var r=n("HIsA");r({target:"Math",stat:!0},{signbit:function(e){return(e=+e)==e&&0==e?1/e==-1/0:e<0}})},riWr:function(e,t,n){var r=n("2JD6"),o=n("pxmn"),a=r.document,i=o(a)&&o(a.createElement);e.exports=function(e){return i?a.createElement(e):{}}},rvbi:function(e,t,n){},s21K:function(e,t,n){e.exports=n("/mYO")()},sDKr:function(e,t,n){var r=n("HIsA"),o=n("2JD6"),a=n("vYQ8"),i=!o.setImmediate||!o.clearImmediate;r({global:!0,bind:!0,enumerable:!0,forced:i},{setImmediate:a.set,clearImmediate:a.clear})},sDk5:function(e,t,n){"use strict";n.r(t);var r=n("xwgP"),o=n.n(r),a=n("UFL0"),i=n("sTYr"),u=o.a.memo((e=>{var t=e.demos,n=t["docs-beforeupload"].component;return o.a.createElement(o.a.Fragment,null,o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:"markdown"},o.a.createElement("h2",{id:"beforeupload"},o.a.createElement(a["AnchorLink"],{to:"#beforeupload","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"beforeUpload")),o.a.createElement(i["default"],t["docs-beforeupload"].previewerProps,o.a.createElement(n,null))))}));t["default"]=e=>{var t=o.a.useContext(a["context"]),n=t.demos;return o.a.useEffect((()=>{var t;null!==e&&void 0!==e&&null!==(t=e.location)&&void 0!==t&&t.hash&&a["AnchorLink"].scrollToAnchor(decodeURIComponent(e.location.hash.slice(1)))}),[]),o.a.createElement(u,{demos:n})}},sMrD:function(e,t,n){var r=n("bVFb");r("replace")},sTDl:function(e,t,n){"use strict";var r=n("HIsA"),o=n("Ra/9").includes,a=n("JY8B"),i=n("/5yA"),u=i("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:!u},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},sTYr:function(e,t,n){"use strict";n.r(t);var r=n("xwgP"),o=n.n(r),a=n("g0fg"),i=n("Ipvm"),u=n("Q+gB"),l=n("rOQQ"),c=n("j4VH"),s=n("7ltR"),f=n("qmvM"),d=n.n(f),p=n("ox7D"),h=function(){if("undefined"===typeof navigator||"undefined"===typeof window)return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null===e||void 0===e?void 0:e.substr(0,4))},m=n("PS8+"),v=n("y/ZA"),g=n("f4x2"),y=n("KNeo");function b(e){var t=Object(r["useRef"])(),n=Object(r["useRef"])(!1);function o(){for(var r=arguments.length,o=new Array(r),a=0;ad&&pl+m){n=r-1;break}}for(var a=0,s=t-1;s>=0;s-=1){var f=e.get(c[s].key)||j;if(f[u]E,Te=Object(r["useMemo"])((function(){var e=l;return ke?e=null===L&&C?l:l.slice(0,Math.min(l.length,F/v)):"number"===typeof E&&(e=l.slice(0,E)),e}),[l,v,L,E,ke]),Ae=Object(r["useMemo"])((function(){return ke?l.slice(ve+1):l.slice(Te.length)}),[l,Te,ke,ve]),Pe=Object(r["useCallback"])((function(e,t){var n;return"function"===typeof h?h(e):null!==(n=h&&(null===e||void 0===e?void 0:e[h]))&&void 0!==n?n:t}),[h]),Ce=Object(r["useCallback"])(f||function(e){return e},[f]);function _e(e,t,n){(he!==e||void 0!==t&&t!==se)&&(me(e),n||(we(eF){_e(r-1,e-o-ie+ne);break}}k&&Me(0)+ie>F&&fe(null)}}),[F,K,ne,ie,Pe,Te]);var De=be&&!!Ae.length,Fe={};null!==se&&ke&&(Fe={position:"absolute",left:se,top:0});var Ue,He={prefixCls:Ee,responsive:ke,component:T,invalidate:Se},ze=p?function(e,t){var n=Pe(e,t);return r["createElement"](V.Provider,{key:n,value:Object(s["a"])(Object(s["a"])({},He),{},{order:t,item:e,itemKey:n,registerSize:Re,display:t<=ve})},p(e,t))}:function(e,t){var n=Pe(e,t);return r["createElement"](M,Object(a["a"])({},He,{order:t,key:n,item:e,renderItem:Ce,itemKey:n,registerSize:Re,display:t<=ve}))},Be={order:De?ve:Number.MAX_SAFE_INTEGER,className:"".concat(Ee,"-rest"),registerSize:Ne,display:De};if(O)O&&(Ue=r["createElement"](V.Provider,{value:Object(s["a"])(Object(s["a"])({},He),Be)},O(Ae)));else{var Ve=x||Z;Ue=r["createElement"](M,Object(a["a"])({},He,Be),"function"===typeof Ve?Ve(Ae):Ve)}var Ke=r["createElement"](j,Object(a["a"])({className:d()(!Se&&o,w),style:b,ref:t},P),Te.map(ze),je?Ue:null,k&&r["createElement"](M,Object(a["a"])({},He,{responsive:Oe,responsiveDisabled:!ke,order:ve,className:"".concat(Ee,"-suffix"),registerSize:Le,display:!0,style:Fe}),k));return Oe&&(Ke=r["createElement"](y["a"],{onResize:Ie,disabled:!ke},Ke)),Ke}var te=r["forwardRef"](ee);te.displayName="Overflow",te.Item=X,te.RESPONSIVE=Y,te.INVALIDATE=Q;var ne=te,re=ne,oe=n("HNR+"),ae=n("83r5"),ie=n("7PKZ"),ue=n("Zfls"),le=n("X0Rg"),ce=n("zQUv"),se=["children","locked"],fe=r["createContext"](null);function de(e,t){var n=Object(s["a"])({},e);return Object.keys(t).forEach((function(e){var r=t[e];void 0!==r&&(n[e]=r)})),n}function pe(e){var t=e.children,n=e.locked,o=Object(c["a"])(e,se),a=r["useContext"](fe),i=Object(ce["a"])((function(){return de(a,o)}),[a,o],(function(e,t){return!n&&(e[0]!==t[0]||!P()(e[1],t[1]))}));return r["createElement"](fe.Provider,{value:i},t)}function he(e,t,n,o){var a=r["useContext"](fe),i=a.activeKey,u=a.onActive,l=a.onInactive,c={active:i===e};return t||(c.onMouseEnter=function(t){null===n||void 0===n||n({key:e,domEvent:t}),u(e)},c.onMouseLeave=function(t){null===o||void 0===o||o({key:e,domEvent:t}),l(e)}),c}var me=["item"];function ve(e){var t=e.item,n=Object(c["a"])(e,me);return Object.defineProperty(n,"item",{get:function(){return Object(C["a"])(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),t}}),n}function ge(e){var t,n=e.icon,o=e.props,a=e.children;return t="function"===typeof n?r["createElement"](n,Object(s["a"])({},o)):n,t||a||null}function ye(e){var t=r["useContext"](fe),n=t.mode,o=t.rtl,a=t.inlineIndent;if("inline"!==n)return null;var i=e;return o?{paddingRight:i*a}:{paddingLeft:i*a}}var be=[],we=r["createContext"](null);function Ee(){return r["useContext"](we)}var xe=r["createContext"](be);function Oe(e){var t=r["useContext"](xe);return r["useMemo"]((function(){return void 0!==e?[].concat(Object(v["a"])(t),[e]):t}),[t,e])}var ke=r["createContext"](null),Se=r["createContext"](null);function je(e,t){return void 0===e?null:"".concat(e,"-").concat(t)}function Te(e){var t=r["useContext"](Se);return je(t,e)}var Ae=r["createContext"]({}),Pe=Ae,Ce=["title","attribute","elementRef"],_e=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],Ie=["active"],Re=function(e){Object(ie["a"])(n,e);var t=Object(ue["a"])(n);function n(){return Object(oe["a"])(this,n),t.apply(this,arguments)}return Object(ae["a"])(n,[{key:"render",value:function(){var e=this.props,t=e.title,n=e.attribute,o=e.elementRef,i=Object(c["a"])(e,Ce),u=Object(le["a"])(i,["eventKey"]);return Object(C["a"])(!n,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),r["createElement"](re.Item,Object(a["a"])({},n,{title:"string"===typeof t?t:void 0},u,{ref:o}))}}]),n}(r["Component"]),Ne=function(e){var t,n=e.style,o=e.className,u=e.eventKey,l=(e.warnKey,e.disabled),f=e.itemIcon,p=e.children,h=e.role,m=e.onMouseEnter,g=e.onMouseLeave,y=e.onClick,b=e.onKeyDown,w=e.onFocus,x=Object(c["a"])(e,_e),O=Te(u),k=r["useContext"](fe),S=k.prefixCls,j=k.onItemClick,T=k.disabled,A=k.overflowDisabled,P=k.itemIcon,C=k.selectedKeys,_=k.onActive,I=r["useContext"](Pe),R=I._internalRenderMenuItem,N="".concat(S,"-item"),L=r["useRef"](),M=r["useRef"](),D=T||l,F=Oe(u);var U=function(e){return{key:u,keyPath:Object(v["a"])(F).reverse(),item:L.current,domEvent:e}},H=f||P,z=he(u,D,m,g),B=z.active,V=Object(c["a"])(z,Ie),K=C.includes(u),$=ye(F.length),W=function(e){if(!D){var t=U(e);null===y||void 0===y||y(ve(t)),j(t)}},q=function(e){if(null===b||void 0===b||b(e),e.which===E["a"].ENTER){var t=U(e);null===y||void 0===y||y(ve(t)),j(t)}},G=function(e){_(u),null===w||void 0===w||w(e)},X={};"option"===e.role&&(X["aria-selected"]=K);var J=r["createElement"](Re,Object(a["a"])({ref:L,elementRef:M,role:null===h?"none":h||"menuitem",tabIndex:l?null:-1,"data-menu-id":A&&O?null:O},x,V,X,{component:"li","aria-disabled":l,style:Object(s["a"])(Object(s["a"])({},$),n),className:d()(N,(t={},Object(i["a"])(t,"".concat(N,"-active"),B),Object(i["a"])(t,"".concat(N,"-selected"),K),Object(i["a"])(t,"".concat(N,"-disabled"),D),t),o),onClick:W,onKeyDown:q,onFocus:G}),p,r["createElement"](ge,{props:Object(s["a"])(Object(s["a"])({},e),{},{isSelected:K}),icon:H}));return R&&(J=R(J,e,{selected:K})),J};function Le(e){var t=e.eventKey,n=Ee(),o=Oe(t);return r["useEffect"]((function(){if(n)return n.registerPath(t,o),function(){n.unregisterPath(t,o)}}),[o]),n?null:r["createElement"](Ne,e)}var Me=Le,De=["label","children","key","type"];function Fe(e,t){return Object(p["a"])(e).map((function(e,n){if(r["isValidElement"](e)){var o,a,i=e.key,u=null!==(o=null===(a=e.props)||void 0===a?void 0:a.eventKey)&&void 0!==o?o:i,l=null===u||void 0===u;l&&(u="tmp_key-".concat([].concat(Object(v["a"])(t),[n]).join("-")));var c={key:u,eventKey:u};return r["cloneElement"](e,c)}return e}))}function Ue(e){return(e||[]).map((function(e,t){if(e&&"object"===Object(l["a"])(e)){var n=e.label,o=e.children,i=e.key,u=e.type,s=Object(c["a"])(e,De),f=null!==i&&void 0!==i?i:"tmp-".concat(t);return o||"group"===u?"group"===u?r["createElement"](to,Object(a["a"])({key:f},s,{title:n}),Ue(o)):r["createElement"](Er,Object(a["a"])({key:f},s,{title:n}),Ue(o)):"divider"===u?r["createElement"](no,Object(a["a"])({key:f},s)):r["createElement"](Me,Object(a["a"])({key:f},s),n)}return null})).filter((function(e){return e}))}function He(e,t,n){var r=e;return t&&(r=Ue(t)),Fe(r,n)}function ze(e){var t=r["useRef"](e);t.current=e;var n=r["useCallback"]((function(){for(var e,n=arguments.length,r=new Array(n),o=0;o=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function pn(e,t,n,r){var o=un.clone(e),a={width:t.width,height:t.height};return r.adjustX&&o.left=n.left&&o.left+a.width>n.right&&(a.width-=o.left+a.width-n.right),r.adjustX&&o.left+a.width>n.right&&(o.left=Math.max(n.right-a.width,n.left)),r.adjustY&&o.top=n.top&&o.top+a.height>n.bottom&&(a.height-=o.top+a.height-n.bottom),r.adjustY&&o.top+a.height>n.bottom&&(o.top=Math.max(n.bottom-a.height,n.top)),un.mix(o,a)}function hn(e){var t,n,r;if(un.isWindow(e)||9===e.nodeType){var o=un.getWindow(e);t={left:un.getWindowScrollLeft(o),top:un.getWindowScrollTop(o)},n=un.viewportWidth(o),r=un.viewportHeight(o)}else t=un.offset(e),n=un.outerWidth(e),r=un.outerHeight(e);return t.width=n,t.height=r,t}function mn(e,t){var n=t.charAt(0),r=t.charAt(1),o=e.width,a=e.height,i=e.left,u=e.top;return"c"===n?u+=a/2:"b"===n&&(u+=a),"c"===r?i+=o/2:"r"===r&&(i+=o),{left:i,top:u}}function vn(e,t,n,r,o){var a=mn(t,n[1]),i=mn(e,n[0]),u=[i.left-a.left,i.top-a.top];return{left:Math.round(e.left-u[0]+r[0]-o[0]),top:Math.round(e.top-u[1]+r[1]-o[1])}}function gn(e,t,n){return e.leftn.right}function yn(e,t,n){return e.topn.bottom}function bn(e,t,n){return e.left>n.right||e.left+t.widthn.bottom||e.top+t.height=n.right||r.top>=n.bottom}function Tn(e,t,n){var r=n.target||t,o=hn(r),a=!jn(r,n.overflow&&n.overflow.alwaysByViewport);return Sn(e,o,n,a)}function An(e,t,n){var r,o,a=un.getDocument(e),i=a.defaultView||a.parentWindow,u=un.getWindowScrollLeft(i),l=un.getWindowScrollTop(i),c=un.viewportWidth(i),s=un.viewportHeight(i);r="pageX"in t?t.pageX:u+t.clientX,o="pageY"in t?t.pageY:l+t.clientY;var f={left:r,top:o,width:0,height:0},d=r>=0&&r<=u+c&&o>=0&&o<=l+s,p=[n.points[0],"cc"];return Sn(e,f,lt(lt({},n),{},{points:p}),d)}Tn.__getOffsetParent=cn,Tn.__getVisibleRectForElement=dn;function Pn(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=new Set;function o(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=r.has(e);if(Object(C["a"])(!i,"Warning: There may be circular references"),i)return!1;if(e===t)return!0;if(n&&a>1)return!1;r.add(e);var u=a+1;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(var c=0;c=0;--a){var i=this.tryEntries[a],u=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;C(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function Kn(e,t,n,r,o,a,i){try{var u=e[a](i),l=u.value}catch(c){return void n(c)}u.done?t(l):Promise.resolve(l).then(r,o)}function $n(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){Kn(a,r,o,i,u,"next",e)}function u(e){Kn(a,r,o,i,u,"throw",e)}i(void 0)}))}}var Wn=n("Figs"),qn=["measure","alignPre","align",null,"motion"],Gn=function(e,t){var n=Object(Wn["a"])(null),o=Object(u["a"])(n,2),a=o[0],i=o[1],l=Object(r["useRef"])();function c(e){i(e,!0)}function s(){g["a"].cancel(l.current)}function f(e){s(),l.current=Object(g["a"])((function(){c((function(e){switch(a){case"align":return"motion";case"motion":return"stable";default:}return e})),null===e||void 0===e||e()}))}return Object(r["useEffect"])((function(){c("measure")}),[e]),Object(r["useEffect"])((function(){switch(a){case"measure":t();break;default:}a&&(l.current=Object(g["a"])($n(Vn().mark((function e(){var t,n;return Vn().wrap((function(e){while(1)switch(e.prev=e.next){case 0:t=qn.indexOf(a),n=qn[t+1],n&&-1!==t&&c(n);case 3:case"end":return e.stop()}}),e)})))))}),[a]),Object(r["useEffect"])((function(){return function(){s()}}),[]),[a,f]},Xn=function(e){var t=r["useState"]({width:0,height:0}),n=Object(u["a"])(t,2),o=n[0],a=n[1];function i(e){var t=e.offsetWidth,n=e.offsetHeight,r=e.getBoundingClientRect(),o=r.width,i=r.height;Math.abs(t-o)<1&&Math.abs(n-i)<1&&(t=o,n=i),a({width:t,height:n})}var l=r["useMemo"]((function(){var t={};if(e){var n=o.width,r=o.height;-1!==e.indexOf("height")&&r?t.height=r:-1!==e.indexOf("minHeight")&&r&&(t.minHeight=r),-1!==e.indexOf("width")&&n?t.width=n:-1!==e.indexOf("minWidth")&&n&&(t.minWidth=n)}return t}),[e,o]);return[l,i]},Jn=r["forwardRef"]((function(e,t){var n=e.visible,o=e.prefixCls,i=e.className,l=e.style,c=e.children,f=e.zIndex,p=e.stretch,h=e.destroyPopupOnHide,m=e.forceRender,v=e.align,g=e.point,y=e.getRootDomNode,b=e.getClassNameFromAlign,w=e.onAlign,E=e.onMouseEnter,x=e.onMouseLeave,O=e.onMouseDown,k=e.onTouchStart,S=e.onClick,j=Object(r["useRef"])(),T=Object(r["useRef"])(),A=Object(r["useState"])(),P=Object(u["a"])(A,2),C=P[0],I=P[1],R=Xn(p),N=Object(u["a"])(R,2),L=N[0],M=N[1];function D(){p&&M(y())}var F=Gn(n,D),U=Object(u["a"])(F,2),H=U[0],z=U[1],B=Object(r["useState"])(0),V=Object(u["a"])(B,2),K=V[0],$=V[1],W=Object(r["useRef"])();function q(){return g||y}function G(){var e;null===(e=j.current)||void 0===e||e.forceAlign()}function X(e,t){var n=b(t);C!==n&&I(n),$((function(e){return e+1})),"align"===H&&(null===w||void 0===w||w(e,t))}Object(_["a"])((function(){"alignPre"===H&&$(0)}),[H]),Object(_["a"])((function(){"align"===H&&(K<3?G():z((function(){var e;null===(e=W.current)||void 0===e||e.call(W)})))}),[K]);var J=Object(s["a"])({},at(e));function Y(){return new Promise((function(e){W.current=e}))}["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach((function(e){var t=J[e];J[e]=function(e,n){return z(),null===t||void 0===t?void 0:t(e,n)}})),r["useEffect"]((function(){J.motionName||"motion"!==H||z()}),[J.motionName,H]),r["useImperativeHandle"](t,(function(){return{forceAlign:G,getElement:function(){return T.current}}}));var Q=Object(s["a"])(Object(s["a"])({},L),{},{zIndex:f,opacity:"motion"!==H&&"stable"!==H&&n?0:void 0,pointerEvents:n||"stable"===H?void 0:"none"},l),Z=!0;null===v||void 0===v||!v.points||"align"!==H&&"stable"!==H||(Z=!1);var ee=c;return r["Children"].count(c)>1&&(ee=r["createElement"]("div",{className:"".concat(o,"-content")},c)),r["createElement"](ot["a"],Object(a["a"])({visible:n,ref:T,leavedClassName:"".concat(o,"-hidden")},J,{onAppearPrepare:Y,onEnterPrepare:Y,removeOnLeave:h,forceRender:m}),(function(e,t){var n=e.className,a=e.style,u=d()(o,i,C,n);return r["createElement"](Bn,{target:q(),key:"popup",ref:j,monitorWindowResize:!0,disabled:Z,align:v,onAlign:X},r["createElement"]("div",{ref:t,className:u,onMouseEnter:E,onMouseLeave:x,onMouseDownCapture:O,onTouchStartCapture:k,onClick:S,style:Object(s["a"])(Object(s["a"])({},a),Q)},ee))}))}));Jn.displayName="PopupInner";var Yn=Jn,Qn=r["forwardRef"]((function(e,t){var n=e.prefixCls,o=e.visible,i=e.zIndex,u=e.children,l=e.mobile;l=void 0===l?{}:l;var c=l.popupClassName,f=l.popupStyle,p=l.popupMotion,h=void 0===p?{}:p,m=l.popupRender,v=e.onClick,g=r["useRef"]();r["useImperativeHandle"](t,(function(){return{forceAlign:function(){},getElement:function(){return g.current}}}));var y=Object(s["a"])({zIndex:i},f),b=u;return r["Children"].count(u)>1&&(b=r["createElement"]("div",{className:"".concat(n,"-content")},u)),m&&(b=m(b)),r["createElement"](ot["a"],Object(a["a"])({visible:o,ref:g,removeOnLeave:!0},h),(function(e,t){var o=e.className,a=e.style,i=d()(n,c,o);return r["createElement"]("div",{ref:t,className:i,onClick:v,style:Object(s["a"])(Object(s["a"])({},a),y)},b)}))}));Qn.displayName="MobilePopupInner";var Zn=Qn,er=["visible","mobile"],tr=r["forwardRef"]((function(e,t){var n=e.visible,o=e.mobile,i=Object(c["a"])(e,er),l=Object(r["useState"])(n),f=Object(u["a"])(l,2),d=f[0],p=f[1],m=Object(r["useState"])(!1),v=Object(u["a"])(m,2),g=v[0],y=v[1],b=Object(s["a"])(Object(s["a"])({},i),{},{visible:d});Object(r["useEffect"])((function(){p(n),n&&o&&y(h())}),[n,o]);var w=g?r["createElement"](Zn,Object(a["a"])({},b,{mobile:o,ref:t})):r["createElement"](Yn,Object(a["a"])({},b,{ref:t}));return r["createElement"]("div",null,r["createElement"](it,b),w)}));tr.displayName="Popup";var nr=tr,rr=r["createContext"](null),or=rr;function ar(){}function ir(){return""}function ur(e){return e?e.ownerDocument:window.document}var lr=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function cr(e){var t=function(t){Object(ie["a"])(o,t);var n=Object(ue["a"])(o);function o(e){var t,u;return Object(oe["a"])(this,o),t=n.call(this,e),Object(i["a"])(Object(We["a"])(t),"popupRef",r["createRef"]()),Object(i["a"])(Object(We["a"])(t),"triggerRef",r["createRef"]()),Object(i["a"])(Object(We["a"])(t),"portalContainer",void 0),Object(i["a"])(Object(We["a"])(t),"attachId",void 0),Object(i["a"])(Object(We["a"])(t),"clickOutsideHandler",void 0),Object(i["a"])(Object(We["a"])(t),"touchOutsideHandler",void 0),Object(i["a"])(Object(We["a"])(t),"contextMenuOutsideHandler1",void 0),Object(i["a"])(Object(We["a"])(t),"contextMenuOutsideHandler2",void 0),Object(i["a"])(Object(We["a"])(t),"mouseDownTimeout",void 0),Object(i["a"])(Object(We["a"])(t),"focusTime",void 0),Object(i["a"])(Object(We["a"])(t),"preClickTime",void 0),Object(i["a"])(Object(We["a"])(t),"preTouchTime",void 0),Object(i["a"])(Object(We["a"])(t),"delayTimer",void 0),Object(i["a"])(Object(We["a"])(t),"hasPopupMouseDown",void 0),Object(i["a"])(Object(We["a"])(t),"onMouseEnter",(function(e){var n=t.props.mouseEnterDelay;t.fireEvents("onMouseEnter",e),t.delaySetPopupVisible(!0,n,n?null:e)})),Object(i["a"])(Object(We["a"])(t),"onMouseMove",(function(e){t.fireEvents("onMouseMove",e),t.setPoint(e)})),Object(i["a"])(Object(We["a"])(t),"onMouseLeave",(function(e){t.fireEvents("onMouseLeave",e),t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)})),Object(i["a"])(Object(We["a"])(t),"onPopupMouseEnter",(function(){t.clearDelayTimer()})),Object(i["a"])(Object(We["a"])(t),"onPopupMouseLeave",(function(e){var n;e.relatedTarget&&!e.relatedTarget.setTimeout&&qe(null===(n=t.popupRef.current)||void 0===n?void 0:n.getElement(),e.relatedTarget)||t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)})),Object(i["a"])(Object(We["a"])(t),"onFocus",(function(e){t.fireEvents("onFocus",e),t.clearDelayTimer(),t.isFocusToShow()&&(t.focusTime=Date.now(),t.delaySetPopupVisible(!0,t.props.focusDelay))})),Object(i["a"])(Object(We["a"])(t),"onMouseDown",(function(e){t.fireEvents("onMouseDown",e),t.preClickTime=Date.now()})),Object(i["a"])(Object(We["a"])(t),"onTouchStart",(function(e){t.fireEvents("onTouchStart",e),t.preTouchTime=Date.now()})),Object(i["a"])(Object(We["a"])(t),"onBlur",(function(e){t.fireEvents("onBlur",e),t.clearDelayTimer(),t.isBlurToHide()&&t.delaySetPopupVisible(!1,t.props.blurDelay)})),Object(i["a"])(Object(We["a"])(t),"onContextMenu",(function(e){e.preventDefault(),t.fireEvents("onContextMenu",e),t.setPopupVisible(!0,e)})),Object(i["a"])(Object(We["a"])(t),"onContextMenuClose",(function(){t.isContextMenuToShow()&&t.close()})),Object(i["a"])(Object(We["a"])(t),"onClick",(function(e){if(t.fireEvents("onClick",e),t.focusTime){var n;if(t.preClickTime&&t.preTouchTime?n=Math.min(t.preClickTime,t.preTouchTime):t.preClickTime?n=t.preClickTime:t.preTouchTime&&(n=t.preTouchTime),Math.abs(n-t.focusTime)<20)return;t.focusTime=0}t.preClickTime=0,t.preTouchTime=0,t.isClickToShow()&&(t.isClickToHide()||t.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault();var r=!t.state.popupVisible;(t.isClickToHide()&&!r||r&&t.isClickToShow())&&t.setPopupVisible(!t.state.popupVisible,e)})),Object(i["a"])(Object(We["a"])(t),"onPopupMouseDown",(function(){var e;(t.hasPopupMouseDown=!0,clearTimeout(t.mouseDownTimeout),t.mouseDownTimeout=window.setTimeout((function(){t.hasPopupMouseDown=!1}),0),t.context)&&(e=t.context).onPopupMouseDown.apply(e,arguments)})),Object(i["a"])(Object(We["a"])(t),"onDocumentClick",(function(e){if(!t.props.mask||t.props.maskClosable){var n=e.target,r=t.getRootDomNode(),o=t.getPopupDomNode();qe(r,n)&&!t.isContextMenuOnly()||qe(o,n)||t.hasPopupMouseDown||t.close()}})),Object(i["a"])(Object(We["a"])(t),"getRootDomNode",(function(){var e=t.props.getTriggerDOMNode;if(e)return e(t.triggerRef.current);try{var n=Object(Ge["a"])(t.triggerRef.current);if(n)return n}catch(r){}return U.a.findDOMNode(Object(We["a"])(t))})),Object(i["a"])(Object(We["a"])(t),"getPopupClassNameFromAlign",(function(e){var n=[],r=t.props,o=r.popupPlacement,a=r.builtinPlacements,i=r.prefixCls,u=r.alignPoint,l=r.getPopupClassNameFromAlign;return o&&a&&n.push(nt(a,i,e,u)),l&&n.push(l(e)),n.join(" ")})),Object(i["a"])(Object(We["a"])(t),"getComponent",(function(){var e=t.props,n=e.prefixCls,o=e.destroyPopupOnHide,i=e.popupClassName,u=e.onPopupAlign,l=e.popupMotion,c=e.popupAnimation,s=e.popupTransitionName,f=e.popupStyle,d=e.mask,p=e.maskAnimation,h=e.maskTransitionName,m=e.maskMotion,v=e.zIndex,g=e.popup,y=e.stretch,b=e.alignPoint,w=e.mobile,E=e.forceRender,x=e.onPopupClick,O=t.state,k=O.popupVisible,S=O.point,j=t.getPopupAlign(),T={};return t.isMouseEnterToShow()&&(T.onMouseEnter=t.onPopupMouseEnter),t.isMouseLeaveToHide()&&(T.onMouseLeave=t.onPopupMouseLeave),T.onMouseDown=t.onPopupMouseDown,T.onTouchStart=t.onPopupMouseDown,r["createElement"](nr,Object(a["a"])({prefixCls:n,destroyPopupOnHide:o,visible:k,point:b&&S,className:i,align:j,onAlign:u,animation:c,getClassNameFromAlign:t.getPopupClassNameFromAlign},T,{stretch:y,getRootDomNode:t.getRootDomNode,style:f,mask:d,zIndex:v,transitionName:s,maskAnimation:p,maskTransitionName:h,maskMotion:m,ref:t.popupRef,motion:l,mobile:w,forceRender:E,onClick:x}),"function"===typeof g?g():g)})),Object(i["a"])(Object(We["a"])(t),"attachParent",(function(e){g["a"].cancel(t.attachId);var n,r=t.props,o=r.getPopupContainer,a=r.getDocument,i=t.getRootDomNode();o?(i||0===o.length)&&(n=o(i)):n=a(t.getRootDomNode()).body,n?n.appendChild(e):t.attachId=Object(g["a"])((function(){t.attachParent(e)}))})),Object(i["a"])(Object(We["a"])(t),"getContainer",(function(){if(!t.portalContainer){var e=t.props.getDocument,n=e(t.getRootDomNode()).createElement("div");n.style.position="absolute",n.style.top="0",n.style.left="0",n.style.width="100%",t.portalContainer=n}return t.attachParent(t.portalContainer),t.portalContainer})),Object(i["a"])(Object(We["a"])(t),"setPoint",(function(e){var n=t.props.alignPoint;n&&e&&t.setState({point:{pageX:e.pageX,pageY:e.pageY}})})),Object(i["a"])(Object(We["a"])(t),"handlePortalUpdate",(function(){t.state.prevPopupVisible!==t.state.popupVisible&&t.props.afterPopupVisibleChange(t.state.popupVisible)})),Object(i["a"])(Object(We["a"])(t),"triggerContextValue",{onPopupMouseDown:t.onPopupMouseDown}),u="popupVisible"in e?!!e.popupVisible:!!e.defaultPopupVisible,t.state={prevPopupVisible:u,popupVisible:u},lr.forEach((function(e){t["fire".concat(e)]=function(n){t.fireEvents(e,n)}})),t}return Object(ae["a"])(o,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var e,t=this.props,n=this.state;if(n.popupVisible)return this.clickOutsideHandler||!this.isClickToHide()&&!this.isContextMenuToShow()||(e=t.getDocument(this.getRootDomNode()),this.clickOutsideHandler=Je(e,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(e=e||t.getDocument(this.getRootDomNode()),this.touchOutsideHandler=Je(e,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(e=e||t.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=Je(e,"scroll",this.onContextMenuClose)),void(!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=Je(window,"blur",this.onContextMenuClose)));this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),g["a"].cancel(this.attachId)}},{key:"getPopupDomNode",value:function(){var e;return(null===(e=this.popupRef.current)||void 0===e?void 0:e.getElement())||null}},{key:"getPopupAlign",value:function(){var e=this.props,t=e.popupPlacement,n=e.popupAlign,r=e.builtinPlacements;return t&&r?tt(r,t,n):n}},{key:"setPopupVisible",value:function(e,t){var n=this.props.alignPoint,r=this.state.popupVisible;this.clearDelayTimer(),r!==e&&("popupVisible"in this.props||this.setState({popupVisible:e,prevPopupVisible:r}),this.props.onPopupVisibleChange(e)),n&&t&&e&&this.setPoint(t)}},{key:"delaySetPopupVisible",value:function(e,t,n){var r=this,o=1e3*t;if(this.clearDelayTimer(),o){var a=n?{pageX:n.pageX,pageY:n.pageY}:null;this.delayTimer=window.setTimeout((function(){r.setPopupVisible(e,a),r.clearDelayTimer()}),o)}else this.setPopupVisible(e,n)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(e){var t=this.props.children.props,n=this.props;return t[e]&&n[e]?this["fire".concat(e)]:t[e]||n[e]}},{key:"isClickToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")}},{key:"isContextMenuOnly",value:function(){var e=this.props.action;return"contextMenu"===e||1===e.length&&"contextMenu"===e[0]}},{key:"isContextMenuToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("contextMenu")||-1!==n.indexOf("contextMenu")}},{key:"isClickToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")}},{key:"isMouseEnterToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseEnter")}},{key:"isMouseLeaveToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseLeave")}},{key:"isFocusToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("focus")}},{key:"isBlurToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("blur")}},{key:"forcePopupAlign",value:function(){var e;this.state.popupVisible&&(null===(e=this.popupRef.current)||void 0===e||e.forceAlign())}},{key:"fireEvents",value:function(e,t){var n=this.props.children.props[e];n&&n(t);var r=this.props[e];r&&r(t)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var t=this.state.popupVisible,n=this.props,o=n.children,a=n.forceRender,i=n.alignPoint,u=n.className,l=n.autoDestroy,c=r["Children"].only(o),f={key:"trigger"};this.isContextMenuToShow()?f.onContextMenu=this.onContextMenu:f.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(f.onClick=this.onClick,f.onMouseDown=this.onMouseDown,f.onTouchStart=this.onTouchStart):(f.onClick=this.createTwoChains("onClick"),f.onMouseDown=this.createTwoChains("onMouseDown"),f.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(f.onMouseEnter=this.onMouseEnter,i&&(f.onMouseMove=this.onMouseMove)):f.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?f.onMouseLeave=this.onMouseLeave:f.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(f.onFocus=this.onFocus,f.onBlur=this.onBlur):(f.onFocus=this.createTwoChains("onFocus"),f.onBlur=this.createTwoChains("onBlur"));var p=d()(c&&c.props&&c.props.className,u);p&&(f.className=p);var h=Object(s["a"])({},f);Object(Xe["c"])(c)&&(h.ref=Object(Xe["a"])(this.triggerRef,c.ref));var m,v=r["cloneElement"](c,h);return(t||this.popupRef.current||a)&&(m=r["createElement"](e,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!t&&l&&(m=null),r["createElement"](or.Provider,{value:this.triggerContextValue},v,m)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.popupVisible,r={};return void 0!==n&&t.popupVisible!==n&&(r.popupVisible=n,r.prevPopupVisible=t.popupVisible),r}}]),o}(r["Component"]);return Object(i["a"])(t,"contextType",or),Object(i["a"])(t,"defaultProps",{prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:ir,getDocument:ur,onPopupVisibleChange:ar,afterPopupVisibleChange:ar,onPopupAlign:ar,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1}),t}var sr=cr(Ze),fr={adjustX:1,adjustY:1},dr={topLeft:{points:["bl","tl"],overflow:fr,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:fr,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:fr,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:fr,offset:[4,0]}},pr={topLeft:{points:["bl","tl"],overflow:fr,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:fr,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:fr,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:fr,offset:[4,0]}};function hr(e,t,n){return t||(n?n[e]||n.other:void 0)}var mr={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function vr(e){var t=e.prefixCls,n=e.visible,o=e.children,a=e.popup,l=e.popupClassName,c=e.popupOffset,f=e.disabled,p=e.mode,h=e.onVisibleChange,m=r["useContext"](fe),v=m.getPopupContainer,y=m.rtl,b=m.subMenuOpenDelay,w=m.subMenuCloseDelay,E=m.builtinPlacements,x=m.triggerSubMenuAction,O=m.forceSubMenuRender,k=m.rootClassName,S=m.motion,j=m.defaultMotions,T=r["useState"](!1),A=Object(u["a"])(T,2),P=A[0],C=A[1],_=y?Object(s["a"])(Object(s["a"])({},pr),E):Object(s["a"])(Object(s["a"])({},dr),E),I=mr[p],R=hr(p,S,j),N=Object(s["a"])(Object(s["a"])({},R),{},{leavedClassName:"".concat(t,"-hidden"),removeOnLeave:!1,motionAppear:!0}),L=r["useRef"]();return r["useEffect"]((function(){return L.current=Object(g["a"])((function(){C(n)})),function(){g["a"].cancel(L.current)}}),[n]),r["createElement"](sr,{prefixCls:t,popupClassName:d()("".concat(t,"-popup"),Object(i["a"])({},"".concat(t,"-rtl"),y),l,k),stretch:"horizontal"===p?"minWidth":null,getPopupContainer:v,builtinPlacements:_,popupPlacement:I,popupVisible:P,popup:a,popupAlign:c&&{offset:c},action:f?[]:[x],mouseEnterDelay:b,mouseLeaveDelay:w,onPopupVisibleChange:h,forceRender:O,popupMotion:N},o)}function gr(e){var t=e.id,n=e.open,o=e.keyPath,i=e.children,l="inline",c=r["useContext"](fe),f=c.prefixCls,d=c.forceSubMenuRender,p=c.motion,h=c.defaultMotions,m=c.mode,v=r["useRef"](!1);v.current=m===l;var g=r["useState"](!v.current),y=Object(u["a"])(g,2),b=y[0],w=y[1],E=!!v.current&&n;r["useEffect"]((function(){v.current&&w(!1)}),[m]);var x=Object(s["a"])({},hr(l,p,h));o.length>1&&(x.motionAppear=!1);var O=x.onVisibleChanged;return x.onVisibleChanged=function(e){return v.current||e||w(!0),null===O||void 0===O?void 0:O(e)},b?null:r["createElement"](pe,{mode:l,locked:!v.current},r["createElement"](ot["a"],Object(a["a"])({visible:E},x,{forceRender:d,removeOnLeave:!1,leavedClassName:"".concat(f,"-hidden")}),(function(e){var n=e.className,o=e.style;return r["createElement"]($e,{id:t,className:n,style:o},i)})))}var yr=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],br=["active"],wr=function(e){var t,n=e.style,o=e.className,l=e.title,f=e.eventKey,p=(e.warnKey,e.disabled),h=e.internalPopupClose,m=e.children,v=e.itemIcon,g=e.expandIcon,y=e.popupClassName,b=e.popupOffset,w=e.onClick,E=e.onMouseEnter,x=e.onMouseLeave,O=e.onTitleClick,k=e.onTitleMouseEnter,S=e.onTitleMouseLeave,j=Object(c["a"])(e,yr),T=Te(f),A=r["useContext"](fe),P=A.prefixCls,C=A.mode,_=A.openKeys,I=A.disabled,R=A.overflowDisabled,N=A.activeKey,L=A.selectedKeys,M=A.itemIcon,D=A.expandIcon,F=A.onItemClick,U=A.onOpenChange,H=A.onActive,z=r["useContext"](Pe),B=z._internalRenderSubMenuItem,V=r["useContext"](ke),K=V.isSubPathKey,$=Oe(),W="".concat(P,"-submenu"),q=I||p,G=r["useRef"](),X=r["useRef"]();var J=v||M,Y=g||D,Q=_.includes(f),Z=!R&&Q,ee=K(L,f),te=he(f,q,k,S),ne=te.active,oe=Object(c["a"])(te,br),ae=r["useState"](!1),ie=Object(u["a"])(ae,2),ue=ie[0],le=ie[1],ce=function(e){q||le(e)},se=function(e){ce(!0),null===E||void 0===E||E({key:f,domEvent:e})},de=function(e){ce(!1),null===x||void 0===x||x({key:f,domEvent:e})},me=r["useMemo"]((function(){return ne||"inline"!==C&&(ue||K([N],f))}),[C,ne,N,ue,f,K]),be=ye($.length),we=function(e){q||(null===O||void 0===O||O({key:f,domEvent:e}),"inline"===C&&U(f,!Q))},Ee=ze((function(e){null===w||void 0===w||w(ve(e)),F(e)})),xe=function(e){"inline"!==C&&U(f,e)},Se=function(){H(f)},je=T&&"".concat(T,"-popup"),Ae=r["createElement"]("div",Object(a["a"])({role:"menuitem",style:be,className:"".concat(W,"-title"),tabIndex:q?null:-1,ref:G,title:"string"===typeof l?l:null,"data-menu-id":R&&T?null:T,"aria-expanded":Z,"aria-haspopup":!0,"aria-controls":je,"aria-disabled":q,onClick:we,onFocus:Se},oe),l,r["createElement"](ge,{icon:"horizontal"!==C?Y:null,props:Object(s["a"])(Object(s["a"])({},e),{},{isOpen:Z,isSubMenu:!0})},r["createElement"]("i",{className:"".concat(W,"-arrow")}))),Ce=r["useRef"](C);if("inline"!==C&&(Ce.current=$.length>1?"vertical":C),!R){var _e=Ce.current;Ae=r["createElement"](vr,{mode:_e,prefixCls:W,visible:!h&&Z&&"inline"!==C,popupClassName:y,popupOffset:b,popup:r["createElement"](pe,{mode:"horizontal"===_e?"vertical":_e},r["createElement"]($e,{id:je,ref:X},m)),disabled:q,onVisibleChange:xe},Ae)}var Ie=r["createElement"](re.Item,Object(a["a"])({role:"none"},j,{component:"li",style:n,className:d()(W,"".concat(W,"-").concat(C),o,(t={},Object(i["a"])(t,"".concat(W,"-open"),Z),Object(i["a"])(t,"".concat(W,"-active"),me),Object(i["a"])(t,"".concat(W,"-selected"),ee),Object(i["a"])(t,"".concat(W,"-disabled"),q),t)),onMouseEnter:se,onMouseLeave:de}),Ae,!R&&r["createElement"](gr,{id:je,open:Z,keyPath:$},m));return B&&(Ie=B(Ie,e,{selected:ee,active:me,open:Z,disabled:q})),r["createElement"](pe,{onItemClick:Ee,mode:"horizontal"===C?"vertical":C,itemIcon:J,expandIcon:Y},Ie)};function Er(e){var t,n=e.eventKey,o=e.children,a=Oe(n),i=Fe(o,a),u=Ee();return r["useEffect"]((function(){if(u)return u.registerPath(n,a),function(){u.unregisterPath(n,a)}}),[a]),t=u?i:r["createElement"](wr,e,i),r["createElement"](xe.Provider,{value:a},t)}function xr(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(_n(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||"a"===n&&!!e.getAttribute("href"),o=e.getAttribute("tabindex"),a=Number(o),i=null;return o&&!Number.isNaN(a)?i=a:r&&null===i&&(i=0),r&&e.disabled&&(i=null),null!==i&&(i>=0||t&&i<0)}return!1}function Or(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Object(v["a"])(e.querySelectorAll("*")).filter((function(e){return xr(e,t)}));return xr(e,t)&&n.unshift(e),n}var kr=E["a"].LEFT,Sr=E["a"].RIGHT,jr=E["a"].UP,Tr=E["a"].DOWN,Ar=E["a"].ENTER,Pr=E["a"].ESC,Cr=E["a"].HOME,_r=E["a"].END,Ir=[jr,Tr,kr,Sr];function Rr(e,t,n,r){var o,a,u,l,c="prev",s="next",f="children",d="parent";if("inline"===e&&r===Ar)return{inlineTrigger:!0};var p=(o={},Object(i["a"])(o,jr,c),Object(i["a"])(o,Tr,s),o),h=(a={},Object(i["a"])(a,kr,n?s:c),Object(i["a"])(a,Sr,n?c:s),Object(i["a"])(a,Tr,f),Object(i["a"])(a,Ar,f),a),m=(u={},Object(i["a"])(u,jr,c),Object(i["a"])(u,Tr,s),Object(i["a"])(u,Ar,f),Object(i["a"])(u,Pr,d),Object(i["a"])(u,kr,n?f:d),Object(i["a"])(u,Sr,n?d:f),u),v={inline:p,horizontal:h,vertical:m,inlineSub:p,horizontalSub:m,verticalSub:m},g=null===(l=v["".concat(e).concat(t?"":"Sub")])||void 0===l?void 0:l[r];switch(g){case c:return{offset:-1,sibling:!0};case s:return{offset:1,sibling:!0};case d:return{offset:-1,sibling:!1};case f:return{offset:1,sibling:!1};default:return null}}function Nr(e){var t=e;while(t){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}function Lr(e,t){var n=e||document.activeElement;while(n){if(t.has(n))return n;n=n.parentElement}return null}function Mr(e,t){var n=Or(e,!0);return n.filter((function(e){return t.has(e)}))}function Dr(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var o=Mr(e,t),a=o.length,i=o.findIndex((function(e){return n===e}));return r<0?-1===i?i=a-1:i-=1:r>0&&(i+=1),i=(i+a)%a,o[i]}function Fr(e,t,n,o,a,i,u,l,c,s){var f=r["useRef"](),d=r["useRef"]();d.current=t;var p=function(){g["a"].cancel(f.current)};return r["useEffect"]((function(){return function(){p()}}),[]),function(r){var h=r.which;if([].concat(Ir,[Ar,Pr,Cr,_r]).includes(h)){var m,v,y,b=function(){m=new Set,v=new Map,y=new Map;var e=i();return e.forEach((function(e){var t=document.querySelector("[data-menu-id='".concat(je(o,e),"']"));t&&(m.add(t),y.set(t,e),v.set(e,t))})),m};b();var w=v.get(t),E=Lr(w,m),x=y.get(E),O=Rr(e,1===u(x,!0).length,n,h);if(!O&&h!==Cr&&h!==_r)return;(Ir.includes(h)||[Cr,_r].includes(h))&&r.preventDefault();var k=function(e){if(e){var t=e,n=e.querySelector("a");(null===n||void 0===n?void 0:n.getAttribute("href"))&&(t=n);var r=y.get(e);l(r),p(),f.current=Object(g["a"])((function(){d.current===r&&t.focus()}))}};if([Cr,_r].includes(h)||O.sibling||!E){var S,j;S=E&&"inline"!==e?Nr(E):a.current;var T=Mr(S,m);j=h===Cr?T[0]:h===_r?T[T.length-1]:Dr(S,m,E,O.offset),k(j)}else if(O.inlineTrigger)c(x);else if(O.offset>0)c(x,!0),p(),f.current=Object(g["a"])((function(){b();var e=E.getAttribute("aria-controls"),t=document.getElementById(e),n=Dr(t,m);k(n)}),5);else if(O.offset<0){var A=u(x,!0),P=A[A.length-2],C=v.get(P);c(P,!1),k(C)}}null===s||void 0===s||s(r)}}var Ur=Math.random().toFixed(5).toString().slice(2),Hr=0;function zr(e){var t=Object(m["a"])(e,{value:e}),n=Object(u["a"])(t,2),o=n[0],a=n[1];return r["useEffect"]((function(){Hr+=1;var e="".concat(Ur,"-").concat(Hr);a("rc-menu-uuid-".concat(e))}),[]),o}function Br(e){Promise.resolve().then(e)}var Vr="__RC_UTIL_PATH_SPLIT__",Kr=function(e){return e.join(Vr)},$r=function(e){return e.split(Vr)},Wr="rc-menu-more";function qr(){var e=r["useState"]({}),t=Object(u["a"])(e,2),n=t[1],o=Object(r["useRef"])(new Map),a=Object(r["useRef"])(new Map),i=r["useState"]([]),l=Object(u["a"])(i,2),c=l[0],s=l[1],f=Object(r["useRef"])(0),d=Object(r["useRef"])(!1),p=function(){d.current||n({})},h=Object(r["useCallback"])((function(e,t){var n=Kr(t);a.current.set(n,e),o.current.set(e,n),f.current+=1;var r=f.current;Br((function(){r===f.current&&p()}))}),[]),m=Object(r["useCallback"])((function(e,t){var n=Kr(t);a.current["delete"](n),o.current["delete"](e)}),[]),g=Object(r["useCallback"])((function(e){s(e)}),[]),y=Object(r["useCallback"])((function(e,t){var n=o.current.get(e)||"",r=$r(n);return t&&c.includes(r[0])&&r.unshift(Wr),r}),[c]),b=Object(r["useCallback"])((function(e,t){return e.some((function(e){var n=y(e,!0);return n.includes(t)}))}),[y]),w=function(){var e=Object(v["a"])(o.current.keys());return c.length&&e.push(Wr),e},E=Object(r["useCallback"])((function(e){var t="".concat(o.current.get(e)).concat(Vr),n=new Set;return Object(v["a"])(a.current.keys()).forEach((function(e){e.startsWith(t)&&n.add(a.current.get(e))})),n}),[]);return r["useEffect"]((function(){return function(){d.current=!0}}),[]),{registerPath:h,unregisterPath:m,refreshOverflowKeys:g,isSubPathKey:b,getKeyPath:y,getKeys:w,getSubPathKeys:E}}var Gr=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],Xr=[],Jr=r["forwardRef"]((function(e,t){var n,o,l=e.prefixCls,f=void 0===l?"rc-menu":l,p=e.rootClassName,h=e.style,g=e.className,y=e.tabIndex,b=void 0===y?0:y,w=e.items,E=e.children,x=e.direction,O=e.id,k=e.mode,S=void 0===k?"vertical":k,j=e.inlineCollapsed,T=e.disabled,A=e.disabledOverflow,C=e.subMenuOpenDelay,_=void 0===C?.1:C,I=e.subMenuCloseDelay,R=void 0===I?.1:I,N=e.forceSubMenuRender,L=e.defaultOpenKeys,M=e.openKeys,D=e.activeKey,F=e.defaultActiveFirst,U=e.selectable,H=void 0===U||U,z=e.multiple,B=void 0!==z&&z,V=e.defaultSelectedKeys,K=e.selectedKeys,$=e.onSelect,W=e.onDeselect,q=e.inlineIndent,G=void 0===q?24:q,X=e.motion,J=e.defaultMotions,Y=e.triggerSubMenuAction,Q=void 0===Y?"hover":Y,Z=e.builtinPlacements,ee=e.itemIcon,te=e.expandIcon,ne=e.overflowedIndicator,oe=void 0===ne?"...":ne,ae=e.overflowedIndicatorPopupClassName,ie=e.getPopupContainer,ue=e.onClick,le=e.onOpenChange,ce=e.onKeyDown,se=(e.openAnimation,e.openTransitionName,e._internalRenderMenuItem),fe=e._internalRenderSubMenuItem,de=Object(c["a"])(e,Gr),he=r["useMemo"]((function(){return He(E,w,Xr)}),[E,w]),me=r["useState"](!1),ge=Object(u["a"])(me,2),ye=ge[0],be=ge[1],Ee=r["useRef"](),xe=zr(O),Oe="rtl"===x;var Te=r["useMemo"]((function(){return"inline"!==S&&"vertical"!==S||!j?[S,!1]:["vertical",j]}),[S,j]),Ae=Object(u["a"])(Te,2),Ce=Ae[0],_e=Ae[1],Ie=r["useState"](0),Re=Object(u["a"])(Ie,2),Ne=Re[0],Le=Re[1],De=Ne>=he.length-1||"horizontal"!==Ce||A,Fe=Object(m["a"])(L,{value:M,postState:function(e){return e||Xr}}),Ue=Object(u["a"])(Fe,2),Be=Ue[0],Ve=Ue[1],Ke=function(e){Ve(e),null===le||void 0===le||le(e)},$e=r["useState"](Be),We=Object(u["a"])($e,2),qe=We[0],Ge=We[1],Xe="inline"===Ce,Je=r["useRef"](!1);r["useEffect"]((function(){Xe&&Ge(Be)}),[Be]),r["useEffect"]((function(){Je.current&&(Xe?Ve(qe):Ke(Xr))}),[Xe]),r["useEffect"]((function(){return Je.current=!0,function(){Je.current=!1}}),[]);var Ye=qr(),Qe=Ye.registerPath,Ze=Ye.unregisterPath,et=Ye.refreshOverflowKeys,tt=Ye.isSubPathKey,nt=Ye.getKeyPath,rt=Ye.getKeys,ot=Ye.getSubPathKeys,at=r["useMemo"]((function(){return{registerPath:Qe,unregisterPath:Ze}}),[Qe,Ze]),it=r["useMemo"]((function(){return{isSubPathKey:tt}}),[tt]);r["useEffect"]((function(){et(De?Xr:he.slice(Ne+1).map((function(e){return e.key})))}),[Ne,De]);var ut=Object(m["a"])(D||F&&(null===(n=he[0])||void 0===n?void 0:n.key),{value:D}),lt=Object(u["a"])(ut,2),ct=lt[0],st=lt[1],ft=ze((function(e){st(e)})),dt=ze((function(){st(void 0)}));Object(r["useImperativeHandle"])(t,(function(){return{list:Ee.current,focus:function(e){var t,n,r,o,a=null!==ct&&void 0!==ct?ct:null===(t=he.find((function(e){return!e.props.disabled})))||void 0===t?void 0:t.key;a&&(null===(n=Ee.current)||void 0===n||null===(r=n.querySelector("li[data-menu-id='".concat(je(xe,a),"']")))||void 0===r||null===(o=r.focus)||void 0===o||o.call(r,e))}}}));var pt=Object(m["a"])(V||[],{value:K,postState:function(e){return Array.isArray(e)?e:null===e||void 0===e?Xr:[e]}}),ht=Object(u["a"])(pt,2),mt=ht[0],vt=ht[1],gt=function(e){if(H){var t,n=e.key,r=mt.includes(n);t=B?r?mt.filter((function(e){return e!==n})):[].concat(Object(v["a"])(mt),[n]):[n],vt(t);var o=Object(s["a"])(Object(s["a"])({},e),{},{selectedKeys:t});r?null===W||void 0===W||W(o):null===$||void 0===$||$(o)}!B&&Be.length&&"inline"!==Ce&&Ke(Xr)},yt=ze((function(e){null===ue||void 0===ue||ue(ve(e)),gt(e)})),bt=ze((function(e,t){var n=Be.filter((function(t){return t!==e}));if(t)n.push(e);else if("inline"!==Ce){var r=ot(e);n=n.filter((function(e){return!r.has(e)}))}P()(Be,n)||Ke(n)})),wt=ze(ie),Et=function(e,t){var n=null!==t&&void 0!==t?t:!Be.includes(e);bt(e,n)},xt=Fr(Ce,ct,Oe,xe,Ee,rt,nt,st,Et,ce);r["useEffect"]((function(){be(!0)}),[]);var Ot=r["useMemo"]((function(){return{_internalRenderMenuItem:se,_internalRenderSubMenuItem:fe}}),[se,fe]),kt="horizontal"!==Ce||A?he:he.map((function(e,t){return r["createElement"](pe,{key:e.key,overflowDisabled:t>Ne},e)})),St=r["createElement"](re,Object(a["a"])({id:O,ref:Ee,prefixCls:"".concat(f,"-overflow"),component:"ul",itemComponent:Me,className:d()(f,"".concat(f,"-root"),"".concat(f,"-").concat(Ce),g,(o={},Object(i["a"])(o,"".concat(f,"-inline-collapsed"),_e),Object(i["a"])(o,"".concat(f,"-rtl"),Oe),o),p),dir:x,style:h,role:"menu",tabIndex:b,data:kt,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?he.slice(-t):null;return r["createElement"](Er,{eventKey:Wr,title:oe,disabled:De,internalPopupClose:0===t,popupClassName:ae},n)},maxCount:"horizontal"!==Ce||A?re.INVALIDATE:re.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){Le(e)},onKeyDown:xt},de));return r["createElement"](Pe.Provider,{value:Ot},r["createElement"](Se.Provider,{value:xe},r["createElement"](pe,{prefixCls:f,rootClassName:p,mode:Ce,openKeys:Be,rtl:Oe,disabled:T,motion:ye?X:null,defaultMotions:ye?J:null,activeKey:ct,onActive:ft,onInactive:dt,selectedKeys:mt,inlineIndent:G,subMenuOpenDelay:_,subMenuCloseDelay:R,forceSubMenuRender:N,builtinPlacements:Z,triggerSubMenuAction:Q,getPopupContainer:wt,itemIcon:ee,expandIcon:te,onItemClick:yt,onOpenChange:bt},r["createElement"](ke.Provider,{value:it},St),r["createElement"]("div",{style:{display:"none"},"aria-hidden":!0},r["createElement"](we.Provider,{value:at},he)))))})),Yr=Jr,Qr=["className","title","eventKey","children"],Zr=["children"],eo=function(e){var t=e.className,n=e.title,o=(e.eventKey,e.children),i=Object(c["a"])(e,Qr),u=r["useContext"](fe),l=u.prefixCls,s="".concat(l,"-item-group");return r["createElement"]("li",Object(a["a"])({},i,{onClick:function(e){return e.stopPropagation()},className:d()(s,t)}),r["createElement"]("div",{className:"".concat(s,"-title"),title:"string"===typeof n?n:void 0},n),r["createElement"]("ul",{className:"".concat(s,"-list")},o))};function to(e){var t=e.children,n=Object(c["a"])(e,Zr),o=Oe(n.eventKey),a=Fe(t,o),i=Ee();return i?a:r["createElement"](eo,Object(le["a"])(n,["warnKey"]),a)}function no(e){var t=e.className,n=e.style,o=r["useContext"](fe),a=o.prefixCls,i=Ee();return i?null:r["createElement"]("li",{className:d()("".concat(a,"-item-divider"),t),style:n})}var ro=Yr;ro.Item=Me,ro.SubMenu=Er,ro.ItemGroup=to,ro.Divider=no;var oo=ro,ao={adjustX:1,adjustY:1},io=[0,0],uo={topLeft:{points:["bl","tl"],overflow:ao,offset:[0,-4],targetOffset:io},topCenter:{points:["bc","tc"],overflow:ao,offset:[0,-4],targetOffset:io},topRight:{points:["br","tr"],overflow:ao,offset:[0,-4],targetOffset:io},bottomLeft:{points:["tl","bl"],overflow:ao,offset:[0,4],targetOffset:io},bottomCenter:{points:["tc","bc"],overflow:ao,offset:[0,4],targetOffset:io},bottomRight:{points:["tr","br"],overflow:ao,offset:[0,4],targetOffset:io}},lo=uo,co=E["a"].ESC,so=E["a"].TAB;function fo(e){var t=e.visible,n=e.setTriggerVisible,o=e.triggerRef,a=e.onVisibleChange,i=e.autoFocus,u=r["useRef"](!1),l=function(){var e,r,i,u;t&&o.current&&(null===(e=o.current)||void 0===e||null===(r=e.triggerRef)||void 0===r||null===(i=r.current)||void 0===i||null===(u=i.focus)||void 0===u||u.call(i),n(!1),"function"===typeof a&&a(!1))},c=function(){var e,t,n,r,a=Or(null===(e=o.current)||void 0===e||null===(t=e.popupRef)||void 0===t||null===(n=t.current)||void 0===n||null===(r=n.getElement)||void 0===r?void 0:r.call(n)),i=a[0];return!!(null===i||void 0===i?void 0:i.focus)&&(i.focus(),u.current=!0,!0)},s=function(e){switch(e.keyCode){case co:l();break;case so:var t=!1;u.current||(t=c()),t?e.preventDefault():l();break}};r["useEffect"]((function(){return t?(window.addEventListener("keydown",s),i&&Object(g["a"])(c,3),function(){window.removeEventListener("keydown",s),u.current=!1}):function(){u.current=!1}}),[t])}var po=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus"];function ho(e,t){var n=e.arrow,o=void 0!==n&&n,a=e.prefixCls,l=void 0===a?"rc-dropdown":a,f=e.transitionName,p=e.animation,h=e.align,m=e.placement,v=void 0===m?"bottomLeft":m,g=e.placements,y=void 0===g?lo:g,b=e.getPopupContainer,w=e.showAction,E=e.hideAction,x=e.overlayClassName,O=e.overlayStyle,k=e.visible,S=e.trigger,j=void 0===S?["hover"]:S,T=e.autoFocus,A=Object(c["a"])(e,po),P=r["useState"](),C=Object(u["a"])(P,2),_=C[0],I=C[1],R="visible"in e?k:_,N=r["useRef"](null);r["useImperativeHandle"](t,(function(){return N.current})),fo({visible:R,setTriggerVisible:I,triggerRef:N,onVisibleChange:e.onVisibleChange,autoFocus:T});var L=function(){var t,n=e.overlay;return t="function"===typeof n?n():n,t},M=function(t){var n=e.onOverlayClick;I(!1),n&&n(t)},D=function(t){var n=e.onVisibleChange;I(t),"function"===typeof n&&n(t)},F=function(){var e=L();return r["createElement"](r["Fragment"],null,o&&r["createElement"]("div",{className:"".concat(l,"-arrow")}),e)},U=function(){var t=e.overlay;return"function"===typeof t?F:F()},H=function(){var t=e.minOverlayWidthMatchTrigger,n=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?t:!n},z=function(){var t=e.openClassName;return void 0!==t?t:"".concat(l,"-open")},B=function(){var t=e.children,n=t.props?t.props:{},o=d()(n.className,z());return R&&t?r["cloneElement"](t,{className:o}):t},V=E;return V||-1===j.indexOf("contextMenu")||(V=["click"]),r["createElement"](sr,Object(s["a"])(Object(s["a"])({builtinPlacements:y},A),{},{prefixCls:l,ref:N,popupClassName:d()(x,Object(i["a"])({},"".concat(l,"-show-arrow"),o)),popupStyle:O,action:j,showAction:w,hideAction:V||[],popupPlacement:v,popupAlign:h,popupTransitionName:f,popupAnimation:p,popupVisible:R,stretch:H()?"minWidth":"",popup:U(),onPopupVisibleChange:D,onPopupClick:M,getPopupContainer:b}),B())}var mo=r["forwardRef"](ho),vo=mo;function go(e,t){var n=e.prefixCls,o=e.editable,a=e.locale,i=e.style;return o&&!1!==o.showAdd?r["createElement"]("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:i,"aria-label":(null===a||void 0===a?void 0:a.addAriaLabel)||"Add tab",onClick:function(e){o.onEdit("add",{event:e})}},o.addIcon||"+"):null}var yo=r["forwardRef"](go);function bo(e,t){var n=e.prefixCls,o=e.id,a=e.tabs,l=e.locale,c=e.mobile,s=e.moreIcon,f=void 0===s?"More":s,p=e.moreTransitionName,h=e.style,m=e.className,v=e.editable,g=e.tabBarGutter,y=e.rtl,b=e.removeAriaLabel,w=e.onTabClick,x=e.getPopupContainer,O=e.popupClassName,k=Object(r["useState"])(!1),S=Object(u["a"])(k,2),j=S[0],T=S[1],A=Object(r["useState"])(null),P=Object(u["a"])(A,2),C=P[0],_=P[1],I="".concat(o,"-more-popup"),R="".concat(n,"-dropdown"),N=null!==C?"".concat(I,"-").concat(C):null,L=null===l||void 0===l?void 0:l.dropdownAriaLabel;function M(e,t){e.preventDefault(),e.stopPropagation(),v.onEdit("remove",{key:t,event:e})}var D=r["createElement"](oo,{onClick:function(e){var t=e.key,n=e.domEvent;w(t,n),T(!1)},prefixCls:"".concat(R,"-menu"),id:I,tabIndex:-1,role:"listbox","aria-activedescendant":N,selectedKeys:[C],"aria-label":void 0!==L?L:"expanded dropdown"},a.map((function(e){var t=v&&!1!==e.closable&&!e.disabled;return r["createElement"](Me,{key:e.key,id:"".concat(I,"-").concat(e.key),role:"option","aria-controls":o&&"".concat(o,"-panel-").concat(e.key),disabled:e.disabled},r["createElement"]("span",null,e.tab),t&&r["createElement"]("button",{type:"button","aria-label":b||"remove",tabIndex:0,className:"".concat(R,"-menu-item-remove"),onClick:function(t){t.stopPropagation(),M(t,e.key)}},e.closeIcon||v.removeIcon||"\xd7"))})));function F(e){for(var t=a.filter((function(e){return!e.disabled})),n=t.findIndex((function(e){return e.key===C}))||0,r=t.length,o=0;oi?(o=n,k.current="x"):(o=r,k.current="y"),t(-o,-o)&&e.preventDefault()}var j=Object(r["useRef"])(null);j.current={onTouchStart:E,onTouchMove:x,onTouchEnd:O,onWheel:S},r["useEffect"]((function(){function t(e){j.current.onTouchStart(e)}function n(e){j.current.onTouchMove(e)}function r(e){j.current.onTouchEnd(e)}function o(e){j.current.onWheel(e)}return document.addEventListener("touchmove",n,{passive:!1}),document.addEventListener("touchend",r,{passive:!1}),e.current.addEventListener("touchstart",t,{passive:!1}),e.current.addEventListener("wheel",o),function(){document.removeEventListener("touchmove",n),document.removeEventListener("touchend",r)}}),[])}function To(){var e=Object(r["useRef"])(new Map);function t(t){return e.current.has(t)||e.current.set(t,r["createRef"]()),e.current.get(t)}function n(t){e.current["delete"](t)}return[t,n]}function Ao(e,t){var n=r["useRef"](e),o=r["useState"]({}),a=Object(u["a"])(o,2),i=a[1];function l(e){var r="function"===typeof e?e(n.current):e;r!==n.current&&t(r,n.current),n.current=r,i({})}return[n.current,l]}var Po=function(e){var t,n=e.position,o=e.prefixCls,a=e.extra;if(!a)return null;var i={};return a&&"object"===Object(l["a"])(a)&&!r["isValidElement"](a)?i=a:i.right=a,"right"===n&&(t=i.right),"left"===n&&(t=i.left),t?r["createElement"]("div",{className:"".concat(o,"-extra-content")},t):null};function Co(e,t){var n,o=r["useContext"](Eo),l=o.prefixCls,c=o.tabs,f=e.className,p=e.style,h=e.id,m=e.animated,E=e.activeKey,x=e.rtl,k=e.extra,j=e.editable,A=e.locale,P=e.tabPosition,C=e.tabBarGutter,_=e.children,I=e.onTabClick,R=e.onTabScroll,N=Object(r["useRef"])(),L=Object(r["useRef"])(),M=Object(r["useRef"])(),D=Object(r["useRef"])(),F=To(),U=Object(u["a"])(F,2),H=U[0],z=U[1],B="top"===P||"bottom"===P,V=Ao(0,(function(e,t){B&&R&&R({direction:e>t?"left":"right"})})),K=Object(u["a"])(V,2),$=K[0],W=K[1],q=Ao(0,(function(e,t){!B&&R&&R({direction:e>t?"top":"bottom"})})),G=Object(u["a"])(q,2),X=G[0],J=G[1],Y=Object(r["useState"])(0),Q=Object(u["a"])(Y,2),Z=Q[0],ee=Q[1],te=Object(r["useState"])(0),ne=Object(u["a"])(te,2),re=ne[0],oe=ne[1],ae=Object(r["useState"])(null),ie=Object(u["a"])(ae,2),ue=ie[0],le=ie[1],ce=Object(r["useState"])(null),se=Object(u["a"])(ce,2),fe=se[0],de=se[1],pe=Object(r["useState"])(0),he=Object(u["a"])(pe,2),me=he[0],ve=he[1],ge=Object(r["useState"])(0),ye=Object(u["a"])(ge,2),be=ye[0],we=ye[1],Ee=w(new Map),xe=Object(u["a"])(Ee,2),Oe=xe[0],ke=xe[1],Se=S(c,Oe,Z),je="".concat(l,"-nav-operations-hidden"),Te=0,Ae=0;function Pe(e){return eAe?Ae:e}B?x?(Te=0,Ae=Math.max(0,Z-ue)):(Te=Math.min(0,ue-Z),Ae=0):(Te=Math.min(0,fe-re),Ae=0);var Ce=Object(r["useRef"])(),_e=Object(r["useState"])(),Ie=Object(u["a"])(_e,2),Re=Ie[0],Ne=Ie[1];function Le(){Ne(Date.now())}function Me(){window.clearTimeout(Ce.current)}function De(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:E,t=Se.get(e)||{width:0,height:0,left:0,right:0,top:0};if(B){var n=$;x?t.right<$?n=t.right:t.right+t.width>$+ue&&(n=t.right+t.width-ue):t.left<-$?n=-t.left:t.left+t.width>-$+ue&&(n=-(t.left+t.width-ue)),J(0),W(Pe(n))}else{var r=X;t.top<-X?r=-t.top:t.top+t.height>-X+fe&&(r=-(t.top+t.height-fe)),W(0),J(Pe(r))}}jo(N,(function(e,t){function n(e,t){e((function(e){var n=Pe(e+t);return n}))}if(B){if(ue>=Z)return!1;n(W,e)}else{if(fe>=re)return!1;n(J,t)}return Me(),Le(),!0})),Object(r["useEffect"])((function(){return Me(),Re&&(Ce.current=window.setTimeout((function(){Ne(0)}),100)),Me}),[Re]);var Fe=T(Se,{width:ue,height:fe,left:$,top:X},{width:Z,height:re},{width:me,height:be},Object(s["a"])(Object(s["a"])({},e),{},{tabs:c})),Ue=Object(u["a"])(Fe,2),He=Ue[0],ze=Ue[1],Be={};"top"===P||"bottom"===P?Be[x?"marginRight":"marginLeft"]=C:Be.marginTop=C;var Ve=c.map((function(e,t){var n=e.key;return r["createElement"](O,{id:h,prefixCls:l,key:n,tab:e,style:0===t?void 0:Be,closable:e.closable,editable:j,active:n===E,renderWrapper:_,removeAriaLabel:null===A||void 0===A?void 0:A.removeAriaLabel,ref:H(n),onClick:function(e){I(n,e)},onRemove:function(){z(n)},onFocus:function(){De(n),Le(),N.current&&(x||(N.current.scrollLeft=0),N.current.scrollTop=0)}})})),Ke=b((function(){var e,t,n,r,o,a,i=(null===(e=N.current)||void 0===e?void 0:e.offsetWidth)||0,u=(null===(t=N.current)||void 0===t?void 0:t.offsetHeight)||0,l=(null===(n=D.current)||void 0===n?void 0:n.offsetWidth)||0,s=(null===(r=D.current)||void 0===r?void 0:r.offsetHeight)||0;le(i),de(u),ve(l),we(s);var f=((null===(o=L.current)||void 0===o?void 0:o.offsetWidth)||0)-l,d=((null===(a=L.current)||void 0===a?void 0:a.offsetHeight)||0)-s;ee(f),oe(d),ke((function(){var e=new Map;return c.forEach((function(t){var n=t.key,r=H(n).current;r&&e.set(n,{width:r.offsetWidth,height:r.offsetHeight,left:r.offsetLeft,top:r.offsetTop})})),e}))})),$e=c.slice(0,He),We=c.slice(ze+1),qe=[].concat(Object(v["a"])($e),Object(v["a"])(We)),Ge=Object(r["useState"])(),Xe=Object(u["a"])(Ge,2),Je=Xe[0],Ye=Xe[1],Qe=Se.get(E),Ze=Object(r["useRef"])();function et(){g["a"].cancel(Ze.current)}Object(r["useEffect"])((function(){var e={};return Qe&&(B?(x?e.right=Qe.right:e.left=Qe.left,e.width=Qe.width):(e.top=Qe.top,e.height=Qe.height)),et(),Ze.current=Object(g["a"])((function(){Ye(e)})),et}),[Qe,B,x]),Object(r["useEffect"])((function(){De()}),[E,Qe,Se,B]),Object(r["useEffect"])((function(){Ke()}),[x,C,E,c.map((function(e){return e.key})).join("_")]);var tt,nt,rt,ot,at=!!qe.length,it="".concat(l,"-nav-wrap");return B?x?(nt=$>0,tt=$+uee.length)&&(t=e.length);for(var n=0,r=new Array(t);n")})),s=function(){return"$0"==="a".replace(/./,"$0")}(),f=a("replace"),d=function(){return!!/./[f]&&""===/./[f]("a","$0")}(),p=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,f){var h=a(e),m=!o((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),v=m&&!o((function(){var t=!1,n=/a/;return"split"===e&&(n={},n.constructor={},n.constructor[l]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return t=!0,null},n[h](""),!t}));if(!m||!v||"replace"===e&&(!c||!s||d)||"split"===e&&!p){var g=/./[h],y=n(h,""[e],(function(e,t,n,r,o){return t.exec===i?m&&!o?{done:!0,value:g.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:s,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:d}),b=y[0],w=y[1];r(String.prototype,e,b),r(RegExp.prototype,h,2==t?function(e,t){return w.call(e,this,t)}:function(e){return w.call(e,this)})}f&&u(RegExp.prototype[h],"sham",!0)}},stff:function(e,t,n){"use strict";var r,o=n("2JD6"),a=n("masK"),i=n("qDpf"),u=n("ghbW"),l=n("r73t"),c=n("pxmn"),s=n("twJ5").enforce,f=n("YE/S"),d=!o.ActiveXObject&&"ActiveXObject"in o,p=Object.isExtensible,h=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},m=e.exports=u("WeakMap",h,l);if(f&&d){r=l.getConstructor(h,"WeakMap",!0),i.REQUIRED=!0;var v=m.prototype,g=v["delete"],y=v.has,b=v.get,w=v.set;a(v,{delete:function(e){if(c(e)&&!p(e)){var t=s(this);return t.frozen||(t.frozen=new r),g.call(this,e)||t.frozen["delete"](e)}return g.call(this,e)},has:function(e){if(c(e)&&!p(e)){var t=s(this);return t.frozen||(t.frozen=new r),y.call(this,e)||t.frozen.has(e)}return y.call(this,e)},get:function(e){if(c(e)&&!p(e)){var t=s(this);return t.frozen||(t.frozen=new r),y.call(this,e)?b.call(this,e):t.frozen.get(e)}return b.call(this,e)},set:function(e,t){if(c(e)&&!p(e)){var n=s(this);n.frozen||(n.frozen=new r),y.call(this,e)?w.call(this,e,t):n.frozen.set(e,t)}else w.call(this,e,t);return this}})}},szjD:function(e,t,n){var r=n("6tTE"),o=n("GPbW"),a=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,a)}},t0Qf:function(e,t,n){var r=n("c/Oe")["default"];function o(){"use strict";e.exports=o=function(){return t},e.exports.__esModule=!0,e.exports["default"]=e.exports;var t={},n=Object.prototype,a=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},u=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(P){s=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var o=t&&t.prototype instanceof h?t:h,a=Object.create(o.prototype),i=new j(r||[]);return a._invoke=function(e,t,n){var r="suspendedStart";return function(o,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw a;return A()}for(n.method=o,n.arg=a;;){var i=n.delegate;if(i){var u=O(i,n);if(u){if(u===p)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=d(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,i),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(P){return{type:"throw",arg:P}}}t.wrap=f;var p={};function h(){}function m(){}function v(){}var g={};s(g,u,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(T([])));b&&b!==n&&a.call(b,u)&&(g=b);var w=v.prototype=h.prototype=Object.create(g);function E(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(o,i,u,l){var c=d(e[o],e,i);if("throw"!==c.type){var s=c.arg,f=s.value;return f&&"object"==r(f)&&a.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,u,l)}),(function(e){n("throw",e,u,l)})):t.resolve(f).then((function(e){s.value=e,u(s)}),(function(e){return n("throw",e,u,l)}))}l(c.arg)}var o;this._invoke=function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}}function O(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator["return"]&&(t.method="return",t.arg=void 0,O(e,t),"throw"===t.method))return p;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var r=d(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,p;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function T(e){if(e){var t=e[u];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var u=a.call(o,"catchLoc"),l=a.call(o,"finallyLoc");if(u&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;S(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:T(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},t}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},t0cd:function(e,t,n){var r=n("2JD6"),o=n("wQ+q").trim,a=n("/Izz"),i=r.parseInt,u=/^[+-]?0[Xx]/,l=8!==i(a+"08")||22!==i(a+"0x16");e.exports=l?function(e,t){var n=o(String(e));return i(n,t>>>0||(u.test(n)?16:10))}:i},tB8F:function(e,t,n){"use strict";n.r(t);n("892e"),n("ClHO"),n("oDub"),n("8rjF"),n("W6v+"),n("FLIr"),n("sMrD"),n("MOrU"),n("B7jn"),n("J6EZ"),n("tgv4"),n("idQS"),n("tPuD"),n("27OL"),n("I5Nx"),n("horb"),n("mODz"),n("sTDl"),n("7LRl"),n("oTOb"),n("auPx"),n("LuuT"),n("F4Qn"),n("8g5g"),n("CG2G"),n("d62z"),n("CNWJ"),n("qya5"),n("6mmk"),n("DnHg"),n("hv/N"),n("tyLZ"),n("PlQJ"),n("He07"),n("o9qH"),n("esEm"),n("G4R5"),n("Uadk"),n("9Vf9"),n("FT/y"),n("tpE2"),n("ELFF"),n("IKXP"),n("8Jzd"),n("/P+o"),n("nsiD"),n("wdlL"),n("nMhH"),n("v4S0"),n("o1AR"),n("rLG7"),n("4YzK"),n("1XUj"),n("uSqx"),n("M6LX"),n("7Q2v"),n("4Rd9"),n("+eKy"),n("OXHO"),n("xlmz"),n("hMKI"),n("41ra"),n("NA9k"),n("HC6C"),n("NNlX"),n("FFjv"),n("kKrw"),n("9OO5"),n("knnx"),n("iY6v"),n("Xp9m"),n("nPP+"),n("DXpG"),n("uyFV"),n("bbTr"),n("ZPal"),n("hIhI"),n("trzq"),n("+4Yi"),n("H++4"),n("0Brq"),n("Qf+e"),n("gla0"),n("PR8p"),n("kRmj"),n("2Dhz"),n("PFEG"),n("zZgq"),n("8wsV"),n("0QRt"),n("GboX"),n("5nFP"),n("gp1K"),n("G7GF"),n("w7rW"),n("stff"),n("Gcgh"),n("gS7u"),n("dXt2"),n("plly"),n("iqln"),n("jiNi"),n("+noq"),n("S6jd"),n("o0xK"),n("V8i+"),n("5Au7"),n("jAXh"),n("Y22F"),n("Hx2v"),n("CWx7"),n("Tphk"),n("GP7J"),n("aNCL"),n("EC/F"),n("Hr9Q"),n("c2jp"),n("Y0Ny"),n("pYsg"),n("/p+0"),n("X260"),n("+3Ak"),n("h6PP"),n("PF9H"),n("D2hf"),n("Xwir"),n("L1c7"),n("Mi4E"),n("qsB9"),n("0Uim"),n("IU95"),n("rcF6"),n("cCpg"),n("+3y3"),n("+7Kl"),n("4e8G"),n("xUzk"),n("pthC"),n("SCzs"),n("UqPo"),n("2x2d"),n("rKDr"),n("bL85"),n("nufT"),n("H7G2"),n("DeDD"),n("q3Pu"),n("br1d"),n("9Ywa"),n("oFyO"),n("qoFA"),n("waKi"),n("kh0G"),n("zcJV"),n("vn/D"),n("mTX6"),n("3i2j"),n("7Kf9"),n("zM5O"),n("ZcxN"),n("IXhw"),n("iKoX"),n("R6vp"),n("mlmj"),n("XxnP"),n("FmLo"),n("lBFn"),n("+G+T"),n("HQcF"),n("aK5P"),n("Pj+0"),n("YAei"),n("v8az"),n("Xk3x"),n("g+uz"),n("EMzR"),n("3fYz"),n("JENe"),n("bG4S"),n("CLo7"),n("r4Zb"),n("sDKr"),n("u2e+"),n("8al2"),n("qa/l"),n("w3Dd"),n("tEmt");var r=n("bCY9"),o=n("FfOG"),a=n("4zH6"),i=n("QDKv"),u=n("0gua");function l(){var e=[{path:"/~demos/:uuid",layout:!1,wrappers:[n("afA6").default],component:e=>{var t=n("xwgP"),r=n("IDDN"),o=r.default,a=n("sTYr"),i=a.default,l=n("UFL0"),c=l.usePrefersColor,s=l.context,f=t.useContext(s),d=f.demos,p=t.useState([]),h=Object(u["a"])(p,2),m=h[0],v=h[1];switch(t.useLayoutEffect((()=>{v(o(e,d))}),[e.match.params.uuid,e.location.query.wrapper,e.location.query.capture]),c(),m.length){case 1:return m[0];case 2:return t.createElement(i,m[0],m[1]);default:return"Demo ".concat(e.match.params.uuid," not found :(")}}},{path:"/_demos/:uuid",redirect:"/~demos/:uuid"},{__dumiRoot:!0,layout:!1,path:"/",wrappers:[n("afA6").default,n("XX90").default],routes:[{path:"/",component:n("gql7").default,exact:!0,meta:{locale:"en-US",order:null,filePath:"README.md",updatedTime:1634707988e3,slugs:[{depth:1,value:"rc-upload",heading:"rc-upload"},{depth:2,value:"Development",heading:"development"},{depth:2,value:"Example",heading:"example"},{depth:2,value:"Feature",heading:"feature"},{depth:2,value:"install",heading:"install"},{depth:2,value:"Usage",heading:"usage"},{depth:2,value:"API",heading:"api"},{depth:3,value:"props",heading:"props"},{depth:4,value:"onError arguments",heading:"onerror-arguments"},{depth:3,value:"onSuccess arguments",heading:"onsuccess-arguments"},{depth:3,value:"customRequest",heading:"customrequest"},{depth:3,value:"methods",heading:"methods"},{depth:2,value:"License",heading:"license"}],title:"rc-upload"},title:"rc-upload"},{path:"/changelog",component:n("X5zD").default,exact:!0,meta:{filePath:"docs/changelog.md",updatedTime:1608168746e3,slugs:[{depth:1,value:"Changelog",heading:"changelog"},{depth:2,value:"3.3.4",heading:"334"},{depth:2,value:"3.3.1",heading:"331"},{depth:2,value:"3.3.0",heading:"330"},{depth:2,value:"3.2.0",heading:"320"},{depth:2,value:"3.1.0",heading:"310"},{depth:2,value:"3.0.0",heading:"300"},{depth:2,value:"2.9.0",heading:"290"},{depth:2,value:"2.8.0",heading:"280"},{depth:2,value:"2.7.0",heading:"270"},{depth:2,value:"2.6.5",heading:"265"},{depth:2,value:"2.6.0 / 2018-09-21",heading:"260--2018-09-21"},{depth:2,value:"2.5.0 / 2018-06-12",heading:"250--2018-06-12"},{depth:2,value:"2.4.0 / 2017-07-15",heading:"240--2017-07-15"},{depth:2,value:"2.3.8 / 2017-06-21",heading:"238--2017-06-21"},{depth:2,value:"2.3.5 / 2017-05-01",heading:"235--2017-05-01"},{depth:2,value:"2.3.4 / 2017-03-10",heading:"234--2017-03-10"},{depth:2,value:"2.3.3 / 2017-02-20",heading:"233--2017-02-20"},{depth:2,value:"2.3.2 / 2016-12-30",heading:"232--2016-12-30"},{depth:2,value:"2.3.0 / 2016-12-12",heading:"230--2016-12-12"},{depth:2,value:"2.2.0 / 2016-10-13",heading:"220--2016-10-13"},{depth:2,value:"2.1.1 / 2016-09-23",heading:"211--2016-09-23"},{depth:2,value:"2.1.0 / 2016-09-20",heading:"210--2016-09-20"},{depth:2,value:"2.0.0 / 2016-08-10",heading:"200--2016-08-10"},{depth:2,value:"1.14.1 / 2016-07-19",heading:"1141--2016-07-19"},{depth:2,value:"1.14.0 / 2016-07-19",heading:"1140--2016-07-19"},{depth:2,value:"1.13.0 / 2016-06-02",heading:"1130--2016-06-02"},{depth:2,value:"1.12.0 2016-05-10",heading:"1120-2016-05-10"},{depth:2,value:"1.11.0 2016-05-03",heading:"1110-2016-05-03"},{depth:2,value:"1.9.0 2016-03-23",heading:"190-2016-03-23"},{depth:2,value:"1.8.1 2016-03-16",heading:"181-2016-03-16"},{depth:2,value:"1.8.0 2016-01-14",heading:"180-2016-01-14"},{depth:2,value:"1.7.2 2016-01-13",heading:"172-2016-01-13"},{depth:2,value:"1.7.0 2015-10-27",heading:"170-2015-10-27"},{depth:2,value:"1.6.6 2015-09-29",heading:"166-2015-09-29"},{depth:2,value:"1.5.2 2015-09-18",heading:"152-2015-09-18"},{depth:2,value:"1.5.0 2015-09-16",heading:"150-2015-09-16"},{depth:2,value:"1.4.4 2015-09-16",heading:"144-2015-09-16"},{depth:2,value:"1.4.2 2015-09-15",heading:"142-2015-09-15"},{depth:2,value:"1.4.0 2015-09-09",heading:"140-2015-09-09"},{depth:2,value:"1.3.0 2015-08-12",heading:"130-2015-08-12"},{depth:2,value:"1.2.3 2015-07-17",heading:"123-2015-07-17"},{depth:2,value:"1.2.2 2015-06-25",heading:"122-2015-06-25"},{depth:2,value:"1.2.1 2015-06-24",heading:"121-2015-06-24"}],title:"Changelog"},title:"Changelog - rc-upload"},{path:"/demo/async-action",component:n("IYrw").default,exact:!0,meta:{filePath:"docs/demo/asyncAction.md",updatedTime:1607327212e3,slugs:[{depth:2,value:"asyncAction",heading:"asyncaction"}],title:"asyncAction",hasPreviewer:!0,group:{path:"/demo",title:"Demo"}},title:"asyncAction - rc-upload"},{path:"/demo/before-upload",component:n("sDk5").default,exact:!0,meta:{filePath:"docs/demo/beforeUpload.md",updatedTime:1607327212e3,slugs:[{depth:2,value:"beforeUpload",heading:"beforeupload"}],title:"beforeUpload",hasPreviewer:!0,group:{path:"/demo",title:"Demo"}},title:"beforeUpload - rc-upload"},{path:"/demo/custom-request",component:n("1lAb").default,exact:!0,meta:{filePath:"docs/demo/customRequest.md",updatedTime:1607327212e3,slugs:[{depth:2,value:"customRequest",heading:"customrequest"}],title:"customRequest",hasPreviewer:!0,group:{path:"/demo",title:"Demo"}},title:"customRequest - rc-upload"},{path:"/demo/directory-upload",component:n("A9Tw").default,exact:!0,meta:{filePath:"docs/demo/directoryUpload.md",updatedTime:1607327212e3,slugs:[{depth:2,value:"directoryUpload",heading:"directoryupload"}],title:"directoryUpload",hasPreviewer:!0,group:{path:"/demo",title:"Demo"}},title:"directoryUpload - rc-upload"},{path:"/demo/drag",component:n("uUc8").default,exact:!0,meta:{filePath:"docs/demo/drag.md",updatedTime:1607327212e3,slugs:[{depth:2,value:"drag",heading:"drag"}],title:"drag",hasPreviewer:!0,group:{path:"/demo",title:"Demo"}},title:"drag - rc-upload"},{path:"/demo/simple",component:n("GEK/").default,exact:!0,meta:{filePath:"docs/demo/simple.md",updatedTime:1607327212e3,slugs:[{depth:2,value:"simple",heading:"simple"}],title:"simple",hasPreviewer:!0,group:{path:"/demo",title:"Demo"}},title:"simple - rc-upload"},{path:"/demo",meta:{},exact:!0,redirect:"/demo/async-action"}],title:"rc-upload",component:e=>e.children}];return r["a"].applyPlugins({key:"patchRoutes",type:a["ApplyPluginsType"].event,args:{routes:e}}),e}var c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r["a"].applyPlugins({key:"render",type:a["ApplyPluginsType"].compose,initialValue:()=>{var t=r["a"].applyPlugins({key:"modifyClientRenderOpts",type:a["ApplyPluginsType"].modify,initialValue:{routes:e.routes||l(),plugin:r["a"],history:Object(o["a"])(e.hot),isServer:Object({NODE_ENV:"production"}).__IS_SERVER,rootElement:"root",defaultTitle:"rc-upload"}});return Object(i["renderClient"])(t)},args:e})},s=c();t["default"]=s();window.g_umi={version:"3.5.41"}},tDz2:function(e,t,n){"use strict";n.r(t);var r=n("xwgP"),o=n.n(r),a=n("/7QA"),i={action:"/upload.do",type:"drag",accept:".png",beforeUpload(e){console.log("beforeUpload",e.name)},onStart:e=>{console.log("onStart",e.name)},onSuccess(e){console.log("onSuccess",e)},onProgress(e,t){console.log("onProgress",Math.round(e.percent),t.name)},onError(e){console.log("onError",e)},style:{display:"inline-block",width:200,height:200,background:"#eee"}},u=()=>o.a.createElement("div",{style:{margin:100}},o.a.createElement("div",null,o.a.createElement(a["a"],i,o.a.createElement("a",null,"\u5f00\u59cb\u4e0a\u4f20"))));t["default"]=u},tEmt:function(e,t,n){var r=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function l(e,t,n,r){var o=t&&t.prototype instanceof m?t:m,a=Object.create(o.prototype),i=new A(r||[]);return a._invoke=k(e,n,i),a}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(r){return{type:"throw",arg:r}}}e.wrap=l;var s="suspendedStart",f="suspendedYield",d="executing",p="completed",h={};function m(){}function v(){}function g(){}var y={};y[a]=function(){return this};var b=Object.getPrototypeOf,w=b&&b(b(P([])));w&&w!==n&&r.call(w,a)&&(y=w);var E=g.prototype=m.prototype=Object.create(y);function x(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function O(e,t){function n(o,a,i,u){var l=c(e[o],e,a);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"===typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,i,u)}),(function(e){n("throw",e,i,u)})):t.resolve(f).then((function(e){s.value=e,i(s)}),(function(e){return n("throw",e,i,u)}))}u(l.arg)}var o;function a(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}this._invoke=a}function k(e,t,n){var r=s;return function(o,a){if(r===d)throw new Error("Generator is already running");if(r===p){if("throw"===o)throw a;return C()}n.method=o,n.arg=a;while(1){var i=n.delegate;if(i){var u=S(i,n);if(u){if(u===h)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===s)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=d;var l=c(e,t,n);if("normal"===l.type){if(r=n.done?p:f,l.arg===h)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=p,n.method="throw",n.arg=l.arg)}}}function S(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator["return"]&&(n.method="return",n.arg=t,S(e,n),"throw"===n.method))return h;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var o=c(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,h;var a=o.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,h):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function P(e){if(e){var n=e[a];if(n)return n.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){while(++o=0;--a){var i=this.tryEntries[a],u=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:P(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=r}catch(o){Function("r","regeneratorRuntime = r")(r)}},tGsd:function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},tNyd:function(e,t,n){"use strict";var r=n("e0NO");e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},tPuD:function(e,t,n){"use strict";var r=n("HIsA"),o=n("7+LC"),a=n("dOdC"),i=n("pxmn"),u=n("NVMI"),l=n("2I03"),c=n("G70G"),s=n("HKEF"),f=n("HqdE"),d=n("kPvK"),p=n("9ZTU"),h=d("isConcatSpreadable"),m=9007199254740991,v="Maximum allowed index exceeded",g=p>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),y=f("concat"),b=function(e){if(!i(e))return!1;var t=e[h];return void 0!==t?!!t:a(e)},w=!g||!y;r({target:"Array",proto:!0,forced:w},{concat:function(e){var t,n,r,o,a,i=u(this),f=s(i,0),d=0;for(t=-1,r=arguments.length;tm)throw TypeError(v);for(n=0;n=m)throw TypeError(v);c(f,d++,a)}return f.length=d,f}})},tXhO:function(e,t,n){"use strict";var r=n("e0NO");e.exports=function(e,t){t=t||{};var n={};function o(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function a(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(e[n],t[n])}function i(e){if(!r.isUndefined(t[e]))return o(void 0,t[e])}function u(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(void 0,t[n])}function l(n){return n in t?o(e[n],t[n]):n in e?o(void 0,e[n]):void 0}var c={url:i,method:i,data:i,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:l};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||a,o=t(e);r.isUndefined(o)&&t!==l||(n[e]=o)})),n}},tauh:function(e,t){function n(t){return e.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports["default"]=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},"tg/3":function(e,t,n){var r=n("KpHK"),o=n("mAbK"),a=n("kPvK"),i=a("iterator");e.exports=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[r(e)]}},tgv4:function(e,t,n){var r=n("bVFb");r("toPrimitive")},tpE2:function(e,t,n){var r=n("HIsA"),o=n("hLNC");r({target:"Number",stat:!0,forced:Number.parseFloat!=o},{parseFloat:o})},trzq:function(e,t,n){var r=n("JqKL");r("Float32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},twJ5:function(e,t,n){var r,o,a,i=n("YE/S"),u=n("2JD6"),l=n("pxmn"),c=n("D8FR"),s=n("+qhb"),f=n("fbKl"),d=n("1agv"),p=u.WeakMap,h=function(e){return a(e)?o(e):r(e,{})},m=function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(i){var v=new p,g=v.get,y=v.has,b=v.set;r=function(e,t){return b.call(v,e,t),t},o=function(e){return g.call(v,e)||{}},a=function(e){return y.call(v,e)}}else{var w=f("state");d[w]=!0,r=function(e,t){return c(e,w,t),t},o=function(e){return s(e,w)?e[w]:{}},a=function(e){return s(e,w)}}e.exports={set:r,get:o,has:a,enforce:h,getterFor:m}},tyLZ:function(e,t,n){"use strict";var r=n("HIsA"),o=n("2JD6"),a=n("HC6f"),i=n("QD/U"),u="ArrayBuffer",l=a[u],c=o[u];r({global:!0,forced:c!==l},{ArrayBuffer:l}),i(u)},"u2e+":function(e,t,n){var r=n("HIsA"),o=n("2JD6"),a=n("I67C"),i=n("IRht"),u=o.process,l="process"==i(u);r({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(e){var t=l&&u.domain;a(t?t.bind(e):e)}})},uCRN:function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},uSqx:function(e,t,n){var r=n("HIsA"),o=n("hLNC");r({global:!0,forced:parseFloat!=o},{parseFloat:o})},uUc8:function(e,t,n){"use strict";n.r(t);var r=n("xwgP"),o=n.n(r),a=n("UFL0"),i=n("sTYr"),u=o.a.memo((e=>{var t=e.demos,n=t["docs-drag"].component;return o.a.createElement(o.a.Fragment,null,o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:"markdown"},o.a.createElement("h2",{id:"drag"},o.a.createElement(a["AnchorLink"],{to:"#drag","aria-hidden":"true",tabIndex:-1},o.a.createElement("span",{className:"icon icon-link"})),"drag")),o.a.createElement(i["default"],t["docs-drag"].previewerProps,o.a.createElement(n,null))))}));t["default"]=e=>{var t=o.a.useContext(a["context"]),n=t.demos;return o.a.useEffect((()=>{var t;null!==e&&void 0!==e&&null!==(t=e.location)&&void 0!==t&&t.hash&&a["AnchorLink"].scrollToAnchor(decodeURIComponent(e.location.hash.slice(1)))}),[]),o.a.createElement(u,{demos:n})}},ubIt:function(e,t,n){"use strict";function r(){var e=o(n("xwgP"));return r=function(){return e},e}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;t["default"]=r()["default"].createContext({config:{mode:"doc",title:"",navs:{},menus:{},locales:[],repository:{branch:"master"},theme:{}},meta:{title:""},menu:[],nav:[],base:"",routes:[],apis:{},demos:{}})},ukAt:function(e,t,n){"use strict";var r="%[a-f0-9]{2}",o=new RegExp("("+r+")|([^%]+?)","gi"),a=new RegExp("("+r+")+","gi");function i(e,t){try{return[decodeURIComponent(e.join(""))]}catch(o){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],i(n),i(r))}function u(e){try{return decodeURIComponent(e)}catch(r){for(var t=e.match(o)||[],n=1;n1?arguments[1]:void 0,t.length)),r=String(e);return s?s.call(t,r,n):t.slice(n,n+r.length)===r}})},v4S0:function(e,t,n){var r=n("HIsA"),o=n("Hiyu"),a=n("jUTB"),i=n("2hCa"),u=n("qmtO"),l=n("G70G");r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){var t,n,r=i(e),o=u.f,c=a(r),s={},f=0;while(c.length>f)n=o(r,t=c[f++]),void 0!==n&&l(s,t,n);return s}})},v6oY:function(e,t,n){"use strict";var r=n("/O7/")["default"];Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=f;var o=r(n("W5DR")),a="accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap",i="onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError",u="".concat(a," ").concat(i).split(/[\s\n]+/),l="aria-",c="data-";function s(e,t){return 0===e.indexOf(t)}function f(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t=!1===n?{aria:!0,data:!0,attr:!0}:!0===n?{aria:!0}:(0,o["default"])({},n);var r={};return Object.keys(e).forEach((function(n){(t.aria&&("role"===n||s(n,l))||t.data&&s(n,c)||t.attr&&u.includes(n))&&(r[n]=e[n])})),r}},v8az:function(e,t,n){"use strict";var r=n("HIsA"),o=n("m52V"),a=n("LTDN");r({target:"WeakMap",proto:!0,real:!0,forced:o},{deleteAll:function(){return a.apply(this,arguments)}})},vY42:function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},vYQ8:function(e,t,n){var r,o,a,i=n("2JD6"),u=n("7+LC"),l=n("IRht"),c=n("40mc"),s=n("b9+m"),f=n("riWr"),d=n("dpzy"),p=i.location,h=i.setImmediate,m=i.clearImmediate,v=i.process,g=i.MessageChannel,y=i.Dispatch,b=0,w={},E="onreadystatechange",x=function(e){if(w.hasOwnProperty(e)){var t=w[e];delete w[e],t()}},O=function(e){return function(){x(e)}},k=function(e){x(e.data)},S=function(e){i.postMessage(e+"",p.protocol+"//"+p.host)};h&&m||(h=function(e){var t=[],n=1;while(arguments.length>n)t.push(arguments[n++]);return w[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(b),b},m=function(e){delete w[e]},"process"==l(v)?r=function(e){v.nextTick(O(e))}:y&&y.now?r=function(e){y.now(O(e))}:g&&!d?(o=new g,a=o.port2,o.port1.onmessage=k,r=c(a.postMessage,a,1)):!i.addEventListener||"function"!=typeof postMessage||i.importScripts||u(S)||"file:"===p.protocol?r=E in f("script")?function(e){s.appendChild(f("script"))[E]=function(){s.removeChild(this),x(e)}}:function(e){setTimeout(O(e),0)}:(r=S,i.addEventListener("message",k,!1))),e.exports={set:h,clear:m}},"vZm+":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("mg0T");function o(e,t){if(e){if("string"===typeof e)return Object(r["a"])(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r["a"])(e,t):void 0}}},vldi:function(e,t,n){"use strict";var r=n("2RC6").f,o=n("bWCM"),a=n("masK"),i=n("40mc"),u=n("xOST"),l=n("Ji6T"),c=n("me7Q"),s=n("QD/U"),f=n("Hiyu"),d=n("qDpf").fastKey,p=n("twJ5"),h=p.set,m=p.getterFor;e.exports={getConstructor:function(e,t,n,c){var s=e((function(e,r){u(e,s,t),h(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),f||(e.size=0),void 0!=r&&l(r,e[c],e,n)})),p=m(t),v=function(e,t,n){var r,o,a=p(e),i=g(e,t);return i?i.value=n:(a.last=i={index:o=d(t,!0),key:t,value:n,previous:r=a.last,next:void 0,removed:!1},a.first||(a.first=i),r&&(r.next=i),f?a.size++:e.size++,"F"!==o&&(a.index[o]=i)),e},g=function(e,t){var n,r=p(e),o=d(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return a(s.prototype,{clear:function(){var e=this,t=p(e),n=t.index,r=t.first;while(r)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete n[r.index],r=r.next;t.first=t.last=void 0,f?t.size=0:e.size=0},delete:function(e){var t=this,n=p(t),r=g(t,e);if(r){var o=r.next,a=r.previous;delete n.index[r.index],r.removed=!0,a&&(a.next=o),o&&(o.previous=a),n.first==r&&(n.first=o),n.last==r&&(n.last=a),f?n.size--:t.size--}return!!r},forEach:function(e){var t,n=p(this),r=i(e,arguments.length>1?arguments[1]:void 0,3);while(t=t?t.next:n.first){r(t.value,t.key,this);while(t&&t.removed)t=t.previous}},has:function(e){return!!g(this,e)}}),a(s.prototype,n?{get:function(e){var t=g(this,e);return t&&t.value},set:function(e,t){return v(this,0===e?0:e,t)}}:{add:function(e){return v(this,e=0===e?0:e,e)}}),f&&r(s.prototype,"size",{get:function(){return p(this).size}}),s},setStrong:function(e,t,n){var r=t+" Iterator",o=m(t),a=m(r);c(e,t,(function(e,t){h(this,{type:r,target:e,state:o(e),kind:t,last:void 0})}),(function(){var e=a(this),t=e.kind,n=e.last;while(n&&n.removed)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),s(t)}}},"vn/D":function(e,t,n){"use strict";var r=n("HIsA"),o=n("m52V"),a=n("bXon"),i=n("hXyk"),u=n("DDwO"),l=n("70zE"),c=n("Ji6T");r({target:"Set",proto:!0,real:!0,forced:o},{intersection:function(e){var t=i(this),n=new(l(t,a("Set"))),r=u(t.has),o=u(n.add);return c(e,(function(e){r.call(t,e)&&o.call(n,e)})),n}})},w3Dd:function(e,t,n){"use strict";n("oTOb");var r=n("HIsA"),o=n("bXon"),a=n("nXFK"),i=n("GUTS"),u=n("masK"),l=n("J7X1"),c=n("afop"),s=n("twJ5"),f=n("xOST"),d=n("+qhb"),p=n("40mc"),h=n("KpHK"),m=n("hXyk"),v=n("pxmn"),g=n("bWCM"),y=n("OLna"),b=n("0Ccx"),w=n("tg/3"),E=n("kPvK"),x=o("fetch"),O=o("Headers"),k=E("iterator"),S="URLSearchParams",j=S+"Iterator",T=s.set,A=s.getterFor(S),P=s.getterFor(j),C=/\+/g,_=Array(4),I=function(e){return _[e-1]||(_[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},R=function(e){try{return decodeURIComponent(e)}catch(t){return e}},N=function(e){var t=e.replace(C," "),n=4;try{return decodeURIComponent(t)}catch(r){while(n)t=t.replace(I(n--),R);return t}},L=/[!'()~]|%20/g,M={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},D=function(e){return M[e]},F=function(e){return encodeURIComponent(e).replace(L,D)},U=function(e,t){if(t){var n,r,o=t.split("&"),a=0;while(a0?arguments[0]:void 0,s=this,p=[];if(T(s,{type:S,entries:p,updateURL:function(){},updateSearchParams:H}),void 0!==c)if(v(c))if(e=w(c),"function"===typeof e){t=e.call(c),n=t.next;while(!(r=n.call(t)).done){if(o=b(m(r.value)),a=o.next,(i=a.call(o)).done||(u=a.call(o)).done||!a.call(o).done)throw TypeError("Expected sequence with length 2");p.push({key:i.value+"",value:u.value+""})}}else for(l in c)d(c,l)&&p.push({key:l,value:c[l]+""});else U(p,"string"===typeof c?"?"===c.charAt(0)?c.slice(1):c:c+"")},K=V.prototype;u(K,{append:function(e,t){z(arguments.length,2);var n=A(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){z(arguments.length,1);var t=A(this),n=t.entries,r=e+"",o=0;while(oe.key){o.splice(t,0,e);break}t===n&&o.push(e)}r.updateURL()},forEach:function(e){var t,n=A(this).entries,r=p(e,arguments.length>1?arguments[1]:void 0,3),o=0;while(o1&&(t=arguments[1],v(t)&&(n=t.body,h(n)===S&&(r=t.headers?new O(t.headers):new O,r.has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=g(t,{body:y(0,String(n)),headers:y(0,r)}))),o.push(t)),x.apply(this,o)}}),e.exports={URLSearchParams:V,getState:A}},w7rW:function(e,t,n){"use strict";var r=n("Wp5u").exportTypedArrayMethod,o=n("7+LC"),a=n("2JD6"),i=a.Uint8Array,u=i&&i.prototype||{},l=[].toString,c=[].join;o((function(){l.call({})}))&&(l=function(){return c.call(this)});var s=u.toString!=l;r("toString",l,s)},wFHg:function(e,t,n){var r=n("2hCa"),o=n("szjD").f,a={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(e){try{return o(e)}catch(t){return i.slice()}};e.exports.f=function(e){return i&&"[object Window]"==a.call(e)?u(e):o(r(e))}},wKMT:function(e,t,n){var r=n("m52V"),o=n("0Ccx");e.exports=r?o:function(e){return Set.prototype.values.call(e)}},"wQ+q":function(e,t,n){var r=n("JzK+"),o=n("/Izz"),a="["+o+"]",i=RegExp("^"+a+a+"*"),u=RegExp(a+a+"*$"),l=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(i,"")),2&e&&(n=n.replace(u,"")),n}};e.exports={start:l(1),end:l(2),trim:l(3)}},wYpP:function(e,t,n){"use strict";var r=n("e0NO"),o=n("qzoY"),a=n("+Kwe"),i=n("be71"),u=n("e2Eu");function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new u("canceled")}e.exports=function(e){l(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]}));var t=e.adapter||i.adapter;return t(e).then((function(t){return l(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return a(t)||(l(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},waKi:function(e,t,n){"use strict";var r=n("HIsA"),o=n("m52V"),a=n("bXon"),i=n("hXyk"),u=n("DDwO"),l=n("40mc"),c=n("70zE"),s=n("wKMT"),f=n("Ji6T");r({target:"Set",proto:!0,real:!0,forced:o},{filter:function(e){var t=i(this),n=s(t),r=l(e,arguments.length>1?arguments[1]:void 0,3),o=new(c(t,a("Set"))),d=u(o.add);return f(n,(function(e){r(e,e,t)&&d.call(o,e)}),void 0,!1,!0),o}})},wdlL:function(e,t,n){var r=n("HIsA"),o=n("RUgK").entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},wt0n:function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},"x+a2":function(e,t,n){"use strict";var r=n("PaPB"),o=n("JzK+");e.exports="".repeat||function(e){var t=String(o(this)),n="",a=r(e);if(a<0||a==1/0)throw RangeError("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(t+=t))1&a&&(n+=t);return n}},x2v5:function(e){e.exports=JSON.parse("{}")},xOST:function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},xUti:function(e,t,n){var r=n("7+LC");e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},xUzk:function(e,t,n){"use strict";var r=n("HIsA"),o=n("DDwO"),a=n("bXon"),i=n("0MLT"),u=n("uCRN"),l=n("Ji6T"),c="No one promise resolved";r({target:"Promise",stat:!0},{any:function(e){var t=this,n=i.f(t),r=n.resolve,s=n.reject,f=u((function(){var n=o(t.resolve),i=[],u=0,f=1,d=!1;l(e,(function(e){var o=u++,l=!1;i.push(void 0),f++,n.call(t,e).then((function(e){l||d||(d=!0,r(e))}),(function(e){l||d||(l=!0,i[o]=e,--f||s(new(a("AggregateError"))(i,c)))}))})),--f||s(new(a("AggregateError"))(i,c))}));return f.error&&s(f.value),n.promise}})},xlmz:function(e,t,n){var r=n("HIsA"),o=n("hXyk"),a=n("pxmn"),i=n("+qhb"),u=n("7+LC"),l=n("2RC6"),c=n("qmtO"),s=n("kI7s"),f=n("OLna");function d(e,t,n){var r,u,p=arguments.length<4?e:arguments[3],h=c.f(o(e),t);if(!h){if(a(u=s(e)))return d(u,t,n,p);h=f(0)}if(i(h,"value")){if(!1===h.writable||!a(p))return!1;if(r=c.f(p,t)){if(r.get||r.set||!1===r.writable)return!1;r.value=n,l.f(p,t,r)}else l.f(p,t,f(0,n));return!0}return void 0!==h.set&&(h.set.call(p,n),!0)}var p=u((function(){var e=l.f({},"a",{configurable:!0});return!1!==Reflect.set(s(e),"a",1,e)}));r({target:"Reflect",stat:!0,forced:p},{set:d})},xp0c:function(e,t,n){var r=n("+qhb"),o=n("jUTB"),a=n("qmtO"),i=n("2RC6");e.exports=function(e,t){for(var n=o(t),u=i.f,l=a.f,c=0;ce.length)&&(t=e.length);for(var n=0,r=new Array(t);n - + diff --git a/~demos/docs-asyncaction/index.html b/~demos/docs-asyncaction/index.html index 727791a..da33a3c 100644 --- a/~demos/docs-asyncaction/index.html +++ b/~demos/docs-asyncaction/index.html @@ -55,6 +55,6 @@ }, 200); })(); - + diff --git a/~demos/docs-beforeupload/index.html b/~demos/docs-beforeupload/index.html index 727791a..da33a3c 100644 --- a/~demos/docs-beforeupload/index.html +++ b/~demos/docs-beforeupload/index.html @@ -55,6 +55,6 @@ }, 200); })(); - + diff --git a/~demos/docs-customrequest/index.html b/~demos/docs-customrequest/index.html index 727791a..da33a3c 100644 --- a/~demos/docs-customrequest/index.html +++ b/~demos/docs-customrequest/index.html @@ -55,6 +55,6 @@ }, 200); })(); - + diff --git a/~demos/docs-directoryupload/index.html b/~demos/docs-directoryupload/index.html index 727791a..da33a3c 100644 --- a/~demos/docs-directoryupload/index.html +++ b/~demos/docs-directoryupload/index.html @@ -55,6 +55,6 @@ }, 200); })(); - + diff --git a/~demos/docs-drag/index.html b/~demos/docs-drag/index.html index 727791a..da33a3c 100644 --- a/~demos/docs-drag/index.html +++ b/~demos/docs-drag/index.html @@ -55,6 +55,6 @@ }, 200); })(); - + diff --git a/~demos/docs-simple/index.html b/~demos/docs-simple/index.html index 727791a..da33a3c 100644 --- a/~demos/docs-simple/index.html +++ b/~demos/docs-simple/index.html @@ -55,6 +55,6 @@ }, 200); })(); - +