arpeggi-framer-components 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.es.js +1136 -1087
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +23 -23
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
(function(
|
1
|
+
(function(ye,T){typeof exports=="object"&&typeof module<"u"?T(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],T):(ye=typeof globalThis<"u"?globalThis:ye||self,T(ye["react-beautiful-timeline"]={},ye.React))})(this,function(ye,T){"use strict";var ep=Object.defineProperty;var tp=(ye,T,Ge)=>T in ye?ep(ye,T,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):ye[T]=Ge;var mn=(ye,T,Ge)=>tp(ye,typeof T!="symbol"?T+"":T,Ge);function Ge(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var $t={exports:{}},yt={};/**
|
2
2
|
* @license React
|
3
3
|
* react-jsx-runtime.production.min.js
|
4
4
|
*
|
@@ -6,7 +6,7 @@
|
|
6
6
|
*
|
7
7
|
* This source code is licensed under the MIT license found in the
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
9
|
-
*/var
|
9
|
+
*/var di;function Eo(){if(di)return yt;di=1;var e=T,t=Symbol.for("react.element"),i=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function a(s,c,p){var l,u={},f=null,m=null;p!==void 0&&(f=""+p),c.key!==void 0&&(f=""+c.key),c.ref!==void 0&&(m=c.ref);for(l in c)n.call(c,l)&&!o.hasOwnProperty(l)&&(u[l]=c[l]);if(s&&s.defaultProps)for(l in c=s.defaultProps,c)u[l]===void 0&&(u[l]=c[l]);return{$$typeof:t,type:s,key:f,ref:m,props:u,_owner:r.current}}return yt.Fragment=i,yt.jsx=a,yt.jsxs=a,yt}var Et={};/**
|
10
10
|
* @license React
|
11
11
|
* react-jsx-runtime.development.js
|
12
12
|
*
|
@@ -14,43 +14,43 @@
|
|
14
14
|
*
|
15
15
|
* This source code is licensed under the MIT license found in the
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
17
|
-
*/var
|
18
|
-
`+N+
|
17
|
+
*/var ui;function wo(){return ui||(ui=1,process.env.NODE_ENV!=="production"&&function(){var e=T,t=Symbol.for("react.element"),i=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),x=Symbol.iterator,g="@@iterator";function y(d){if(d===null||typeof d!="object")return null;var w=x&&d[x]||d[g];return typeof w=="function"?w:null}var h=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function A(d){{for(var w=arguments.length,_=new Array(w>1?w-1:0),q=1;q<w;q++)_[q-1]=arguments[q];C("error",d,_)}}function C(d,w,_){{var q=h.ReactDebugCurrentFrame,re=q.getStackAddendum();re!==""&&(w+="%s",_=_.concat([re]));var pe=_.map(function(Q){return String(Q)});pe.unshift("Warning: "+w),Function.prototype.apply.call(console[d],console,pe)}}var k=!1,b=!1,D=!1,L=!1,B=!1,W;W=Symbol.for("react.module.reference");function J(d){return!!(typeof d=="string"||typeof d=="function"||d===n||d===o||B||d===r||d===p||d===l||L||d===m||k||b||D||typeof d=="object"&&d!==null&&(d.$$typeof===f||d.$$typeof===u||d.$$typeof===a||d.$$typeof===s||d.$$typeof===c||d.$$typeof===W||d.getModuleId!==void 0))}function ae(d,w,_){var q=d.displayName;if(q)return q;var re=w.displayName||w.name||"";return re!==""?_+"("+re+")":_}function fe(d){return d.displayName||"Context"}function Z(d){if(d==null)return null;if(typeof d.tag=="number"&&A("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof d=="function")return d.displayName||d.name||null;if(typeof d=="string")return d;switch(d){case n:return"Fragment";case i:return"Portal";case o:return"Profiler";case r:return"StrictMode";case p:return"Suspense";case l:return"SuspenseList"}if(typeof d=="object")switch(d.$$typeof){case s:var w=d;return fe(w)+".Consumer";case a:var _=d;return fe(_._context)+".Provider";case c:return ae(d,d.render,"ForwardRef");case u:var q=d.displayName||null;return q!==null?q:Z(d.type)||"Memo";case f:{var re=d,pe=re._payload,Q=re._init;try{return Z(Q(pe))}catch{return null}}}return null}var V=Object.assign,ce=0,Se,Re,be,he,S,O,z;function $(){}$.__reactDisabledLog=!0;function P(){{if(ce===0){Se=console.log,Re=console.info,be=console.warn,he=console.error,S=console.group,O=console.groupCollapsed,z=console.groupEnd;var d={configurable:!0,enumerable:!0,value:$,writable:!0};Object.defineProperties(console,{info:d,log:d,warn:d,error:d,group:d,groupCollapsed:d,groupEnd:d})}ce++}}function H(){{if(ce--,ce===0){var d={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:V({},d,{value:Se}),info:V({},d,{value:Re}),warn:V({},d,{value:be}),error:V({},d,{value:he}),group:V({},d,{value:S}),groupCollapsed:V({},d,{value:O}),groupEnd:V({},d,{value:z})})}ce<0&&A("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var I=h.ReactCurrentDispatcher,N;function Y(d,w,_){{if(N===void 0)try{throw Error()}catch(re){var q=re.stack.trim().match(/\n( *(at )?)/);N=q&&q[1]||""}return`
|
18
|
+
`+N+d}}var G=!1,M;{var xe=typeof WeakMap=="function"?WeakMap:Map;M=new xe}function E(d,w){if(!d||G)return"";{var _=M.get(d);if(_!==void 0)return _}var q;G=!0;var re=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var pe;pe=I.current,I.current=null,P();try{if(w){var Q=function(){throw Error()};if(Object.defineProperty(Q.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Q,[])}catch(Ve){q=Ve}Reflect.construct(d,[],Q)}else{try{Q.call()}catch(Ve){q=Ve}d.call(Q.prototype)}}else{try{throw Error()}catch(Ve){q=Ve}d()}}catch(Ve){if(Ve&&q&&typeof Ve.stack=="string"){for(var X=Ve.stack.split(`
|
19
19
|
`),je=q.stack.split(`
|
20
|
-
`),
|
21
|
-
`+X[
|
20
|
+
`),Ee=X.length-1,Te=je.length-1;Ee>=1&&Te>=0&&X[Ee]!==je[Te];)Te--;for(;Ee>=1&&Te>=0;Ee--,Te--)if(X[Ee]!==je[Te]){if(Ee!==1||Te!==1)do if(Ee--,Te--,Te<0||X[Ee]!==je[Te]){var ze=`
|
21
|
+
`+X[Ee].replace(" at new "," at ");return d.displayName&&ze.includes("<anonymous>")&&(ze=ze.replace("<anonymous>",d.displayName)),typeof d=="function"&&M.set(d,ze),ze}while(Ee>=1&&Te>=0);break}}}finally{G=!1,I.current=pe,H(),Error.prepareStackTrace=re}var bt=d?d.displayName||d.name:"",yo=bt?Y(bt):"";return typeof d=="function"&&M.set(d,yo),yo}function K(d,w,_){return E(d,!1)}function de(d){var w=d.prototype;return!!(w&&w.isReactComponent)}function te(d,w,_){if(d==null)return"";if(typeof d=="function")return E(d,de(d));if(typeof d=="string")return Y(d);switch(d){case p:return Y("Suspense");case l:return Y("SuspenseList")}if(typeof d=="object")switch(d.$$typeof){case c:return K(d.render);case u:return te(d.type,w,_);case f:{var q=d,re=q._payload,pe=q._init;try{return te(pe(re),w,_)}catch{}}}return""}var Oe=Object.prototype.hasOwnProperty,Ae={},ve=h.ReactDebugCurrentFrame;function me(d){if(d){var w=d._owner,_=te(d.type,d._source,w?w.type:null);ve.setExtraStackFrame(_)}else ve.setExtraStackFrame(null)}function Ce(d,w,_,q,re){{var pe=Function.call.bind(Oe);for(var Q in d)if(pe(d,Q)){var X=void 0;try{if(typeof d[Q]!="function"){var je=Error((q||"React class")+": "+_+" type `"+Q+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof d[Q]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw je.name="Invariant Violation",je}X=d[Q](w,Q,q,_,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Ee){X=Ee}X&&!(X instanceof Error)&&(me(re),A("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",q||"React class",_,Q,typeof X),me(null)),X instanceof Error&&!(X.message in Ae)&&(Ae[X.message]=!0,me(re),A("Failed %s type: %s",_,X.message),me(null))}}}var xt=Array.isArray;function Ke(d){return xt(d)}function vt(d){{var w=typeof Symbol=="function"&&Symbol.toStringTag,_=w&&d[Symbol.toStringTag]||d.constructor.name||"Object";return _}}function R(d){try{return F(d),!1}catch{return!0}}function F(d){return""+d}function le(d){if(R(d))return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",vt(d)),F(d)}var ue=h.ReactCurrentOwner,ke={key:!0,ref:!0,__self:!0,__source:!0},Je,We,st;st={};function Ft(d){if(Oe.call(d,"ref")){var w=Object.getOwnPropertyDescriptor(d,"ref").get;if(w&&w.isReactWarning)return!1}return d.ref!==void 0}function Pt(d){if(Oe.call(d,"key")){var w=Object.getOwnPropertyDescriptor(d,"key").get;if(w&&w.isReactWarning)return!1}return d.key!==void 0}function gt(d,w){if(typeof d.ref=="string"&&ue.current&&w&&ue.current.stateNode!==w){var _=Z(ue.current.type);st[_]||(A('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',Z(ue.current.type),d.ref),st[_]=!0)}}function It(d,w){{var _=function(){Je||(Je=!0,A("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",w))};_.isReactWarning=!0,Object.defineProperty(d,"key",{get:_,configurable:!0})}}function Bt(d,w){{var _=function(){We||(We=!0,A("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",w))};_.isReactWarning=!0,Object.defineProperty(d,"ref",{get:_,configurable:!0})}}var zt=function(d,w,_,q,re,pe,Q){var X={$$typeof:t,type:d,key:w,ref:_,props:Q,_owner:pe};return X._store={},Object.defineProperty(X._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(X,"_self",{configurable:!1,enumerable:!1,writable:!1,value:q}),Object.defineProperty(X,"_source",{configurable:!1,enumerable:!1,writable:!1,value:re}),Object.freeze&&(Object.freeze(X.props),Object.freeze(X)),X};function Lt(d,w,_,q,re){{var pe,Q={},X=null,je=null;_!==void 0&&(le(_),X=""+_),Pt(w)&&(le(w.key),X=""+w.key),Ft(w)&&(je=w.ref,gt(w,re));for(pe in w)Oe.call(w,pe)&&!ke.hasOwnProperty(pe)&&(Q[pe]=w[pe]);if(d&&d.defaultProps){var Ee=d.defaultProps;for(pe in Ee)Q[pe]===void 0&&(Q[pe]=Ee[pe])}if(X||je){var Te=typeof d=="function"?d.displayName||d.name||"Unknown":d;X&&It(Q,Te),je&&Bt(Q,Te)}return zt(d,X,je,re,q,ue.current,Q)}}var Mt=h.ReactCurrentOwner,mo=h.ReactDebugCurrentFrame;function ht(d){if(d){var w=d._owner,_=te(d.type,d._source,w?w.type:null);mo.setExtraStackFrame(_)}else mo.setExtraStackFrame(null)}var li;li=!1;function pi(d){return typeof d=="object"&&d!==null&&d.$$typeof===t}function xo(){{if(Mt.current){var d=Z(Mt.current.type);if(d)return`
|
22
22
|
|
23
|
-
Check the render method of \``+
|
23
|
+
Check the render method of \``+d+"`."}return""}}function Hl(d){return""}var vo={};function Yl(d){{var w=xo();if(!w){var _=typeof d=="string"?d:d.displayName||d.name;_&&(w=`
|
24
24
|
|
25
|
-
Check the top-level render call using <`+_+">.")}return w}}function xo(u,w){{if(!u._store||u._store.validated||u.key!=null)return;u._store.validated=!0;var _=Nl(w);if(mo[_])return;mo[_]=!0;var q="";u&&u._owner&&u._owner!==zt.current&&(q=" It was passed a child from "+Z(u._owner.type)+"."),xt(u),A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',_,q),xt(null)}}function vo(u,w){{if(typeof u!="object")return;if(Ye(u))for(var _=0;_<u.length;_++){var q=u[_];si(q)&&xo(q,w)}else if(si(u))u._store&&(u._store.validated=!0);else if(u){var re=y(u);if(typeof re=="function"&&re!==u.entries)for(var pe=re.call(u),Q;!(Q=pe.next()).done;)si(Q.value)&&xo(Q.value,w)}}}function ql(u){{var w=u.type;if(w==null||typeof w=="string")return;var _;if(typeof w=="function")_=w.propTypes;else if(typeof w=="object"&&(w.$$typeof===c||w.$$typeof===d))_=w.propTypes;else return;if(_){var q=Z(w);Ce(_,u.props,"prop",q,u)}else if(w.PropTypes!==void 0&&!ai){ai=!0;var re=Z(w);A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",re||"Unknown")}typeof w.getDefaultProps=="function"&&!w.getDefaultProps.isReactClassApproved&&A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Ul(u){{for(var w=Object.keys(u.props),_=0;_<w.length;_++){var q=w[_];if(q!=="children"&&q!=="key"){xt(u),A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",q),xt(null);break}}u.ref!==null&&(xt(u),A("Invalid attribute `ref` supplied to `React.Fragment`."),xt(null))}}function go(u,w,_,q,re,pe){{var Q=J(u);if(!Q){var X="";(u===void 0||typeof u=="object"&&u!==null&&Object.keys(u).length===0)&&(X+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var je=$l();je?X+=je:X+=fo();var ye;u===null?ye="null":Ye(u)?ye="array":u!==void 0&&u.$$typeof===t?(ye="<"+(Z(u.type)||"Unknown")+" />",X=" Did you accidentally export a JSX literal instead of a component?"):ye=typeof u,A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ye,X)}var Re=Bt(u,w,_,re,pe);if(Re==null)return Re;if(Q){var Be=w.children;if(Be!==void 0)if(q)if(Ye(Be)){for(var vt=0;vt<Be.length;vt++)vo(Be[vt],u);Object.freeze&&Object.freeze(Be)}else A("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else vo(Be,u)}return u===n?Ul(Re):ql(Re),Re}}function Wl(u,w,_){return go(u,w,_,!0)}function Vl(u,w,_){return go(u,w,_,!1)}var Hl=Vl,Yl=Wl;ht.Fragment=n,ht.jsx=Hl,ht.jsxs=Yl}()),ht}var pi;function Eo(){return pi||(pi=1,process.env.NODE_ENV==="production"?Lt.exports=bo():Lt.exports=yo()),Lt.exports}var bt=Eo(),oe="colors",De="sizes",j="space",wo={gap:j,gridGap:j,columnGap:j,gridColumnGap:j,rowGap:j,gridRowGap:j,inset:j,insetBlock:j,insetBlockEnd:j,insetBlockStart:j,insetInline:j,insetInlineEnd:j,insetInlineStart:j,margin:j,marginTop:j,marginRight:j,marginBottom:j,marginLeft:j,marginBlock:j,marginBlockEnd:j,marginBlockStart:j,marginInline:j,marginInlineEnd:j,marginInlineStart:j,padding:j,paddingTop:j,paddingRight:j,paddingBottom:j,paddingLeft:j,paddingBlock:j,paddingBlockEnd:j,paddingBlockStart:j,paddingInline:j,paddingInlineEnd:j,paddingInlineStart:j,top:j,right:j,bottom:j,left:j,scrollMargin:j,scrollMarginTop:j,scrollMarginRight:j,scrollMarginBottom:j,scrollMarginLeft:j,scrollMarginX:j,scrollMarginY:j,scrollMarginBlock:j,scrollMarginBlockEnd:j,scrollMarginBlockStart:j,scrollMarginInline:j,scrollMarginInlineEnd:j,scrollMarginInlineStart:j,scrollPadding:j,scrollPaddingTop:j,scrollPaddingRight:j,scrollPaddingBottom:j,scrollPaddingLeft:j,scrollPaddingX:j,scrollPaddingY:j,scrollPaddingBlock:j,scrollPaddingBlockEnd:j,scrollPaddingBlockStart:j,scrollPaddingInline:j,scrollPaddingInlineEnd:j,scrollPaddingInlineStart:j,fontSize:"fontSizes",background:oe,backgroundColor:oe,backgroundImage:oe,borderImage:oe,border:oe,borderBlock:oe,borderBlockEnd:oe,borderBlockStart:oe,borderBottom:oe,borderBottomColor:oe,borderColor:oe,borderInline:oe,borderInlineEnd:oe,borderInlineStart:oe,borderLeft:oe,borderLeftColor:oe,borderRight:oe,borderRightColor:oe,borderTop:oe,borderTopColor:oe,caretColor:oe,color:oe,columnRuleColor:oe,fill:oe,outline:oe,outlineColor:oe,stroke:oe,textDecorationColor:oe,fontFamily:"fonts",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",blockSize:De,minBlockSize:De,maxBlockSize:De,inlineSize:De,minInlineSize:De,maxInlineSize:De,width:De,minWidth:De,maxWidth:De,height:De,minHeight:De,maxHeight:De,flexBasis:De,gridTemplateColumns:De,gridTemplateRows:De,borderWidth:"borderWidths",borderTopWidth:"borderWidths",borderRightWidth:"borderWidths",borderBottomWidth:"borderWidths",borderLeftWidth:"borderWidths",borderStyle:"borderStyles",borderTopStyle:"borderStyles",borderRightStyle:"borderStyles",borderBottomStyle:"borderStyles",borderLeftStyle:"borderStyles",borderRadius:"radii",borderTopLeftRadius:"radii",borderTopRightRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",boxShadow:"shadows",textShadow:"shadows",transition:"transitions",zIndex:"zIndices"},So=(e,t)=>typeof t=="function"?{"()":Function.prototype.toString.call(t)}:t,at=()=>{const e=Object.create(null);return(t,i,...n)=>{const r=(o=>JSON.stringify(o,So))(t);return r in e?e[r]:e[r]=i(t,...n)}},Ge=Symbol.for("sxs.internal"),fn=(e,t)=>Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)),ui=e=>{for(const t in e)return!0;return!1},{hasOwnProperty:To}=Object.prototype,mn=e=>e.includes("-")?e:e.replace(/[A-Z]/g,t=>"-"+t.toLowerCase()),Ro=/\s+(?![^()]*\))/,st=e=>t=>e(...typeof t=="string"?String(t).split(Ro):[t]),di={appearance:e=>({WebkitAppearance:e,appearance:e}),backfaceVisibility:e=>({WebkitBackfaceVisibility:e,backfaceVisibility:e}),backdropFilter:e=>({WebkitBackdropFilter:e,backdropFilter:e}),backgroundClip:e=>({WebkitBackgroundClip:e,backgroundClip:e}),boxDecorationBreak:e=>({WebkitBoxDecorationBreak:e,boxDecorationBreak:e}),clipPath:e=>({WebkitClipPath:e,clipPath:e}),content:e=>({content:e.includes('"')||e.includes("'")||/^([A-Za-z]+\([^]*|[^]*-quote|inherit|initial|none|normal|revert|unset)$/.test(e)?e:`"${e}"`}),hyphens:e=>({WebkitHyphens:e,hyphens:e}),maskImage:e=>({WebkitMaskImage:e,maskImage:e}),maskSize:e=>({WebkitMaskSize:e,maskSize:e}),tabSize:e=>({MozTabSize:e,tabSize:e}),textSizeAdjust:e=>({WebkitTextSizeAdjust:e,textSizeAdjust:e}),userSelect:e=>({WebkitUserSelect:e,userSelect:e}),marginBlock:st((e,t)=>({marginBlockStart:e,marginBlockEnd:t||e})),marginInline:st((e,t)=>({marginInlineStart:e,marginInlineEnd:t||e})),maxSize:st((e,t)=>({maxBlockSize:e,maxInlineSize:t||e})),minSize:st((e,t)=>({minBlockSize:e,minInlineSize:t||e})),paddingBlock:st((e,t)=>({paddingBlockStart:e,paddingBlockEnd:t||e})),paddingInline:st((e,t)=>({paddingInlineStart:e,paddingInlineEnd:t||e}))},xn=/([\d.]+)([^]*)/,ko=(e,t)=>e.length?e.reduce((i,n)=>(i.push(...t.map(r=>r.includes("&")?r.replace(/&/g,/[ +>|~]/.test(n)&&/&.*&/.test(r)?`:is(${n})`:n):n+" "+r)),i),[]):t,Oo=(e,t)=>e in _o&&typeof t=="string"?t.replace(/^((?:[^]*[^\w-])?)(fit-content|stretch)((?:[^\w-][^]*)?)$/,(i,n,r,o)=>n+(r==="stretch"?`-moz-available${o};${mn(e)}:${n}-webkit-fill-available`:`-moz-fit-content${o};${mn(e)}:${n}fit-content`)+o):String(t),_o={blockSize:1,height:1,inlineSize:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,width:1},Ne=e=>e?e+"-":"",fi=(e,t,i)=>e.replace(/([+-])?((?:\d+(?:\.\d*)?|\.\d+)(?:[Ee][+-]?\d+)?)?(\$|--)([$\w-]+)/g,(n,r,o,a,s)=>a=="$"==!!o?n:(r||a=="--"?"calc(":"")+"var(--"+(a==="$"?Ne(t)+(s.includes("$")?"":Ne(i))+s.replace(/\$/g,"-"):s)+")"+(r||a=="--"?"*"+(r||"")+(o||"1")+")":"")),Ao=/\s*,\s*(?![^()]*\))/,Co=Object.prototype.toString,ct=(e,t,i,n,r)=>{let o,a,s;const c=(p,l,d)=>{let f,m;const x=g=>{for(f in g){const A=f.charCodeAt(0)===64,C=A&&Array.isArray(g[f])?g[f]:[g[f]];for(m of C){const k=/[A-Z]/.test(h=f)?h:h.replace(/-[^]/g,D=>D[1].toUpperCase()),b=typeof m=="object"&&m&&m.toString===Co&&(!n.utils[k]||!l.length);if(k in n.utils&&!b){const D=n.utils[k];if(D!==a){a=D,x(D(m)),a=null;continue}}else if(k in di){const D=di[k];if(D!==s){s=D,x(D(m)),s=null;continue}}if(A&&(y=f.slice(1)in n.media?"@media "+n.media[f.slice(1)]:f,f=y.replace(/\(\s*([\w-]+)\s*(=|<|<=|>|>=)\s*([\w-]+)\s*(?:(<|<=|>|>=)\s*([\w-]+)\s*)?\)/g,(D,L,B,W,J,ae)=>{const fe=xn.test(L),Z=.0625*(fe?-1:1),[V,ce]=fe?[W,L]:[L,W];return"("+(B[0]==="="?"":B[0]===">"===fe?"max-":"min-")+V+":"+(B[0]!=="="&&B.length===1?ce.replace(xn,(Se,Te,be)=>Number(Te)+Z*(B===">"?1:-1)+be):ce)+(J?") and ("+(J[0]===">"?"min-":"max-")+V+":"+(J.length===1?ae.replace(xn,(Se,Te,be)=>Number(Te)+Z*(J===">"?-1:1)+be):ae):"")+")"})),b){const D=A?d.concat(f):[...d],L=A?[...l]:ko(l,f.split(Ao));o!==void 0&&r(mi(...o)),o=void 0,c(m,L,D)}else o===void 0&&(o=[[],l,d]),f=A||f.charCodeAt(0)!==36?f:`--${Ne(n.prefix)}${f.slice(1).replace(/\$/g,"-")}`,m=b?m:typeof m=="number"?m&&k in Do?String(m)+"px":String(m):fi(Oo(k,m??""),n.prefix,n.themeMap[k]),o[0].push(`${A?`${f} `:`${mn(f)}:`}${m}`)}}var y,h};x(p),o!==void 0&&r(mi(...o)),o=void 0};c(e,t,i)},mi=(e,t,i)=>`${i.map(n=>`${n}{`).join("")}${t.length?`${t.join(",")}{`:""}${e.join(";")}${t.length?"}":""}${Array(i.length?i.length+1:0).join("}")}`,Do={animationDelay:1,animationDuration:1,backgroundSize:1,blockSize:1,border:1,borderBlock:1,borderBlockEnd:1,borderBlockEndWidth:1,borderBlockStart:1,borderBlockStartWidth:1,borderBlockWidth:1,borderBottom:1,borderBottomLeftRadius:1,borderBottomRightRadius:1,borderBottomWidth:1,borderEndEndRadius:1,borderEndStartRadius:1,borderInlineEnd:1,borderInlineEndWidth:1,borderInlineStart:1,borderInlineStartWidth:1,borderInlineWidth:1,borderLeft:1,borderLeftWidth:1,borderRadius:1,borderRight:1,borderRightWidth:1,borderSpacing:1,borderStartEndRadius:1,borderStartStartRadius:1,borderTop:1,borderTopLeftRadius:1,borderTopRightRadius:1,borderTopWidth:1,borderWidth:1,bottom:1,columnGap:1,columnRule:1,columnRuleWidth:1,columnWidth:1,containIntrinsicSize:1,flexBasis:1,fontSize:1,gap:1,gridAutoColumns:1,gridAutoRows:1,gridTemplateColumns:1,gridTemplateRows:1,height:1,inlineSize:1,inset:1,insetBlock:1,insetBlockEnd:1,insetBlockStart:1,insetInline:1,insetInlineEnd:1,insetInlineStart:1,left:1,letterSpacing:1,margin:1,marginBlock:1,marginBlockEnd:1,marginBlockStart:1,marginBottom:1,marginInline:1,marginInlineEnd:1,marginInlineStart:1,marginLeft:1,marginRight:1,marginTop:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,offsetDistance:1,offsetRotate:1,outline:1,outlineOffset:1,outlineWidth:1,overflowClipMargin:1,padding:1,paddingBlock:1,paddingBlockEnd:1,paddingBlockStart:1,paddingBottom:1,paddingInline:1,paddingInlineEnd:1,paddingInlineStart:1,paddingLeft:1,paddingRight:1,paddingTop:1,perspective:1,right:1,rowGap:1,scrollMargin:1,scrollMarginBlock:1,scrollMarginBlockEnd:1,scrollMarginBlockStart:1,scrollMarginBottom:1,scrollMarginInline:1,scrollMarginInlineEnd:1,scrollMarginInlineStart:1,scrollMarginLeft:1,scrollMarginRight:1,scrollMarginTop:1,scrollPadding:1,scrollPaddingBlock:1,scrollPaddingBlockEnd:1,scrollPaddingBlockStart:1,scrollPaddingBottom:1,scrollPaddingInline:1,scrollPaddingInlineEnd:1,scrollPaddingInlineStart:1,scrollPaddingLeft:1,scrollPaddingRight:1,scrollPaddingTop:1,shapeMargin:1,textDecoration:1,textDecorationThickness:1,textIndent:1,textUnderlineOffset:1,top:1,transitionDelay:1,transitionDuration:1,verticalAlign:1,width:1,wordSpacing:1},xi=e=>String.fromCharCode(e+(e>25?39:97)),Xe=e=>(t=>{let i,n="";for(i=Math.abs(t);i>52;i=i/52|0)n=xi(i%52)+n;return xi(i%52)+n})(((t,i)=>{let n=i.length;for(;n;)t=33*t^i.charCodeAt(--n);return t})(5381,JSON.stringify(e))>>>0),yt=["themed","global","styled","onevar","resonevar","allvar","inline"],jo=e=>{if(e.href&&!e.href.startsWith(location.origin))return!1;try{return!!e.cssRules}catch{return!1}},Fo=e=>{let t;const i=()=>{const{cssRules:r}=t.sheet;return[].map.call(r,(o,a)=>{const{cssText:s}=o;let c="";if(s.startsWith("--sxs"))return"";if(r[a-1]&&(c=r[a-1].cssText).startsWith("--sxs")){if(!o.cssRules.length)return"";for(const p in t.rules)if(t.rules[p].group===o)return`--sxs{--sxs:${[...t.rules[p].cache].join(" ")}}${s}`;return o.cssRules.length?`${c}${s}`:""}return s}).join("")},n=()=>{if(t){const{rules:s,sheet:c}=t;if(!c.deleteRule){for(;Object(Object(c.cssRules)[0]).type===3;)c.cssRules.splice(0,1);c.cssRules=[]}for(const p in s)delete s[p]}const r=Object(e).styleSheets||[];for(const s of r)if(jo(s)){for(let c=0,p=s.cssRules;p[c];++c){const l=Object(p[c]);if(l.type!==1)continue;const d=Object(p[c+1]);if(d.type!==4)continue;++c;const{cssText:f}=l;if(!f.startsWith("--sxs"))continue;const m=f.slice(14,-3).trim().split(/\s+/),x=yt[m[0]];x&&(t||(t={sheet:s,reset:n,rules:{},toString:i}),t.rules[x]={group:d,index:c,cache:new Set(m)})}if(t)break}if(!t){const s=(c,p)=>({type:p,cssRules:[],insertRule(l,d){this.cssRules.splice(d,0,s(l,{import:3,undefined:1}[(l.toLowerCase().match(/^@([a-z]+)/)||[])[1]]||4))},get cssText(){return c==="@media{}"?`@media{${[].map.call(this.cssRules,l=>l.cssText).join("")}}`:c}});t={sheet:e?(e.head||e).appendChild(document.createElement("style")).sheet:s("","text/css"),rules:{},reset:n,toString:i}}const{sheet:o,rules:a}=t;for(let s=yt.length-1;s>=0;--s){const c=yt[s];if(!a[c]){const p=yt[s+1],l=a[p]?a[p].index:o.cssRules.length;o.insertRule("@media{}",l),o.insertRule(`--sxs{--sxs:${s}}`,l),a[c]={group:o.cssRules[l+1],index:l,cache:new Set([s])}}Po(a[c])}};return n(),t},Po=e=>{const t=e.group;let i=t.cssRules.length;e.apply=n=>{try{t.insertRule(n,i),++i}catch{}}},Et=Symbol(),Io=at(),vi=(e,t)=>Io(e,()=>(...i)=>{let n={type:null,composers:new Set};for(const r of i)if(r!=null)if(r[Ge]){n.type==null&&(n.type=r[Ge].type);for(const o of r[Ge].composers)n.composers.add(o)}else r.constructor!==Object||r.$$typeof?n.type==null&&(n.type=r):n.composers.add(Bo(r,e));return n.type==null&&(n.type="span"),n.composers.size||n.composers.add(["PJLV",{},[],[],{},[]]),zo(e,n,t)}),Bo=({variants:e,compoundVariants:t,defaultVariants:i,...n},r)=>{const o=`${Ne(r.prefix)}c-${Xe(n)}`,a=[],s=[],c=Object.create(null),p=[];for(const f in i)c[f]=String(i[f]);if(typeof e=="object"&&e)for(const f in e){l=c,d=f,To.call(l,d)||(c[f]="undefined");const m=e[f];for(const x in m){const g={[f]:String(x)};String(x)==="undefined"&&p.push(f);const y=m[x],h=[g,y,!ui(y)];a.push(h)}}var l,d;if(typeof t=="object"&&t)for(const f of t){let{css:m,...x}=f;m=typeof m=="object"&&m||{};for(const y in x)x[y]=String(x[y]);const g=[x,m,!ui(m)];s.push(g)}return[o,n,a,s,c,p]},zo=(e,t,i)=>{const[n,r,o,a]=Lo(t.composers),s=typeof t.type=="function"||t.type.$$typeof?(d=>{function f(){for(let m=0;m<f[Et].length;m++){const[x,g]=f[Et][m];d.rules[x].apply(g)}return f[Et]=[],null}return f[Et]=[],f.rules={},yt.forEach(m=>f.rules[m]={apply:x=>f[Et].push([m,x])}),f})(i):null,c=(s||i).rules,p=`.${n}${r.length>1?`:where(.${r.slice(1).join(".")})`:""}`,l=d=>{d=typeof d=="object"&&d||Mo;const{css:f,...m}=d,x={};for(const h in o)if(delete m[h],h in d){let A=d[h];typeof A=="object"&&A?x[h]={"@initial":o[h],...A}:(A=String(A),x[h]=A!=="undefined"||a.has(h)?A:o[h])}else x[h]=o[h];const g=new Set([...r]);for(const[h,A,C,k]of t.composers){i.rules.styled.cache.has(h)||(i.rules.styled.cache.add(h),ct(A,[`.${h}`],[],e,L=>{c.styled.apply(L)}));const b=gi(C,x,e.media),D=gi(k,x,e.media,!0);for(const L of b)if(L!==void 0)for(const[B,W,J]of L){const ae=`${h}-${Xe(W)}-${B}`;g.add(ae);const fe=(J?i.rules.resonevar:i.rules.onevar).cache,Z=J?c.resonevar:c.onevar;fe.has(ae)||(fe.add(ae),ct(W,[`.${ae}`],[],e,V=>{Z.apply(V)}))}for(const L of D)if(L!==void 0)for(const[B,W]of L){const J=`${h}-${Xe(W)}-${B}`;g.add(J),i.rules.allvar.cache.has(J)||(i.rules.allvar.cache.add(J),ct(W,[`.${J}`],[],e,ae=>{c.allvar.apply(ae)}))}}if(typeof f=="object"&&f){const h=`${n}-i${Xe(f)}-css`;g.add(h),i.rules.inline.cache.has(h)||(i.rules.inline.cache.add(h),ct(f,[`.${h}`],[],e,A=>{c.inline.apply(A)}))}for(const h of String(d.className||"").trim().split(/\s+/))h&&g.add(h);const y=m.className=[...g].join(" ");return{type:t.type,className:y,selector:p,props:m,toString:()=>y,deferredInjector:s}};return fn(l,{className:n,selector:p,[Ge]:t,toString:()=>(i.rules.styled.cache.has(n)||l(),n)})},Lo=e=>{let t="";const i=[],n={},r=[];for(const[o,,,,a,s]of e){t===""&&(t=o),i.push(o),r.push(...s);for(const c in a){const p=a[c];(n[c]===void 0||p!=="undefined"||s.includes(p))&&(n[c]=p)}}return[t,i,n,new Set(r)]},gi=(e,t,i,n)=>{const r=[];e:for(let[o,a,s]of e){if(s)continue;let c,p=0,l=!1;for(c in o){const d=o[c];let f=t[c];if(f!==d){if(typeof f!="object"||!f)continue e;{let m,x,g=0;for(const y in f){if(d===String(f[y])){if(y!=="@initial"){const h=y.slice(1);(x=x||[]).push(h in i?i[h]:y.replace(/^@media ?/,"")),l=!0}p+=g,m=!0}++g}if(x&&x.length&&(a={["@media "+x.join(", ")]:a}),!m)continue e}}}(r[p]=r[p]||[]).push([n?"cv":`${c}-${o[c]}`,a,l])}return r},Mo={},$o=at(),No=(e,t)=>$o(e,()=>(...i)=>{const n=()=>{for(let r of i){r=typeof r=="object"&&r||{};let o=Xe(r);if(!t.rules.global.cache.has(o)){if(t.rules.global.cache.add(o),"@import"in r){let a=[].indexOf.call(t.sheet.cssRules,t.rules.themed.group)-1;for(let s of[].concat(r["@import"]))s=s.includes('"')||s.includes("'")?s:`"${s}"`,t.sheet.insertRule(`@import ${s};`,a++);delete r["@import"]}ct(r,[],[],e,a=>{t.rules.global.apply(a)})}}return""};return fn(n,{toString:n})}),qo=at(),Uo=(e,t)=>qo(e,()=>i=>{const n=`${Ne(e.prefix)}k-${Xe(i)}`,r=()=>{if(!t.rules.global.cache.has(n)){t.rules.global.cache.add(n);const o=[];ct(i,[],[],e,s=>o.push(s));const a=`@keyframes ${n}{${o.join("")}}`;t.rules.global.apply(a)}return n};return fn(r,{get name(){return r()},toString:r})}),Wo=class{constructor(e,t,i,n){this.token=e==null?"":String(e),this.value=t==null?"":String(t),this.scale=i==null?"":String(i),this.prefix=n==null?"":String(n)}get computedValue(){return"var("+this.variable+")"}get variable(){return"--"+Ne(this.prefix)+Ne(this.scale)+this.token}toString(){return this.computedValue}},Vo=at(),Ho=(e,t)=>Vo(e,()=>(i,n)=>{n=typeof i=="object"&&i||Object(n);const r=`.${i=(i=typeof i=="string"?i:"")||`${Ne(e.prefix)}t-${Xe(n)}`}`,o={},a=[];for(const c in n){o[c]={};for(const p in n[c]){const l=`--${Ne(e.prefix)}${c}-${p}`,d=fi(String(n[c][p]),e.prefix,c);o[c][p]=new Wo(p,d,c,e.prefix),a.push(`${l}:${d}`)}}const s=()=>{if(a.length&&!t.rules.themed.cache.has(i)){t.rules.themed.cache.add(i);const c=`${n===e.theme?":root,":""}.${i}{${a.join(";")}}`;t.rules.themed.apply(c)}return i};return{...o,get className(){return s()},selector:r,toString:s}}),Yo=at(),hi,Ko=at(),Jo=e=>{const t=(i=>{let n=!1;const r=Yo(i,o=>{n=!0;const a="prefix"in(o=typeof o=="object"&&o||{})?String(o.prefix):"",s=typeof o.media=="object"&&o.media||{},c=typeof o.root=="object"?o.root||null:globalThis.document||null,p=typeof o.theme=="object"&&o.theme||{},l={prefix:a,media:s,theme:p,themeMap:typeof o.themeMap=="object"&&o.themeMap||{...wo},utils:typeof o.utils=="object"&&o.utils||{}},d=Fo(c),f={css:vi(l,d),globalCss:No(l,d),keyframes:Uo(l,d),createTheme:Ho(l,d),reset(){d.reset(),f.theme.toString()},theme:{},sheet:d,config:l,prefix:a,getCssText:d.toString,toString:d.toString};return String(f.theme=f.createTheme(p)),f});return n||r.reset(),r})(e);return t.styled=(({config:i,sheet:n})=>Ko(i,()=>{const r=vi(i,n);return(...o)=>{const a=r(...o),s=a[Ge].type,c=R.forwardRef((p,l)=>{const d=p&&p.as||s,{props:f,deferredInjector:m}=a(p);return delete f.as,f.ref=l,m?R.createElement(R.Fragment,null,R.createElement(d,f),R.createElement(m,null)):R.createElement(d,f)});return c.className=a.className,c.displayName=`Styled.${s.displayName||s.name||s}`,c.selector=a.selector,c.toString=()=>a.selector,c[Ge]=a[Ge],c}}))(t),t},Go=()=>hi||(hi=Jo()),bi=(...e)=>Go().styled(...e);const Xo=bi("div",{});var wt={},Mt={},Ze={},yi;function Ei(){if(yi)return Ze;yi=1,Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.fromHex=Ze.toHex=void 0;const e=n=>new Number(n).toString(16).toLowerCase(),t=n=>`0x${e(n).length===1?"0"+e(n):e(n)}`;Ze.toHex=t;const i=n=>new Number(n);return Ze.fromHex=i,Ze}var vn={},wi;function Zo(){return wi||(wi=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.createComplexNode=e.createNode=e.merge=void 0;const t=c=>({typename:c.typename,mime:c.info.mime,extension:c.info.extension}),i=(c,p)=>c&&p.length===0,n=c=>c[0],r=c=>c.slice(1,c.length),o=(c,p)=>{if(c.bytes.length===0)return p;const l=n(c.bytes),d=r(c.bytes),f=p.bytes[l];if(i(f,d)){const m=p.bytes[l];return p.bytes[l]={...m,matches:[...m.matches?m.matches:[],t(c)]},p}return p.bytes[l]?(p.bytes[l]=e.merge(e.createNode(c.typename,d,c.info),p.bytes[l]),p):(p.bytes[l]||(p.bytes[l]={...p.bytes[l],...e.createComplexNode(c.typename,d,c.info)}),p)};e.merge=o;const a=(c,p,l)=>({typename:c,bytes:p,info:l||{}});e.createNode=a;const s=(c,p,l)=>{let d={bytes:{},matches:void 0};const f=n(p),m=r(p);return p.length===0?{matches:[t({typename:c,info:l?{extension:l.extension,mime:l.mime}:{}})],bytes:{}}:(d.bytes[f]=e.createComplexNode(c,m,l),d)};e.createComplexNode=s}(vn)),vn}var Si;function Qo(){if(Si)return Mt;Si=1,Object.defineProperty(Mt,"__esModule",{value:!0});const e=Ei(),t=Zo();let i={noOffset:null,offset:{}};const n=(r,o,a,s)=>{if(s){const c=i.offset[e.toHex(s)];if(!c)i.offset[e.toHex(s)]=t.createComplexNode(r,o.map(p=>p.toLowerCase()),a);else{const p=t.merge(t.createNode(r,o.map(l=>l.toLowerCase()),a),{...c});i.offset[e.toHex(s)]=p}}else i.noOffset===null?i.noOffset=t.createComplexNode(r,o.map(c=>c.toLowerCase()),a):i.noOffset=t.merge(t.createNode(r,o.map(c=>c.toLowerCase()),a),i.noOffset)};return n("gif",["0x47","0x49","0x46","0x38","0x37","0x61"],{mime:"image/gif",extension:"gif"}),n("gif",["0x47","0x49","0x46","0x38","0x39","0x61"],{mime:"image/gif",extension:"gif"}),n("jpg",["0xFF","0xD8","0xFF"],{mime:"image/jpeg",extension:"jpeg"}),n("webp",["0x52","0x49","0x46","0x46","?","?","?","?","0x57","0x45","0x42","0x50"],{mime:"image/webp",extension:"webp"}),n("heif",["0x66","0x74","0x79","0x70","0x6D","0x69","0x66","0x31"],{mime:"image/heif",extension:"heif"},4),n("heif",["0x66","0x74","0x79","0x70","0x68","0x65","0x69","0x63"],{mime:"image/heif",extension:"heic"},4),n("rpm",["0xed","0xab","0xee","0xdb"]),n("bin",["0x53","0x50","0x30","0x31"],{mime:"application/octet-stream",extension:"bin"}),n("pic",["0x00"]),n("pif",["0x00"]),n("sea",["0x00"]),n("ytr",["0x00"]),n("mp4",["0x66","0x74","0x79","0x70"],{mime:"video/mp4",extension:"mp4"},4),n("ttf",["0x00","0x01","0x00","0x00","0x00"],{mime:"font/ttf",extension:"ttf"}),n("otf",["0x4F","0x54","0x54","0x4F"],{mime:"font/otf",extension:"otf"}),n("eot",["0x50","0x4C"],{mime:"application/vnd.ms-fontobject",extension:"eot"}),n("woff",["0x77","0x4F","0x46","0x46"],{mime:"font/woff",extension:"woff"}),n("woff2",["0x77","0x4F","0x46","0x32"],{mime:"font/woff2",extension:"woff2"}),n("pdb",["0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00"]),n("dba",["0xBE","0xBA","0xFE","0xCA"]),n("dba2",["0x00","0x01","0x42","0x44"]),n("tda",["0x00","0x01","0x44","0x54"]),n("tda2",["0x00","0x01","0x00","0x00"]),n("ico",["0x00","0x00","0x01","0x00"],{mime:"image/x-icon",extension:"ico"}),n("3gp",["0x66","0x74","0x79","0x70","0x33","0x67"]),n("z",["0x1F","0x9D"]),n("tar.z",["0x1F","0xA0"]),n("bac",["0x42","0x41","0x43","0x4B","0x4D","0x49","0x4B","0x45","0x44","0x49","0x53","0x4B"]),n("bz2",["0x42","0x5A","0x68"],{mime:"application/x-bzip2",extension:"bz2"}),n("tif",["0x49","0x49","0x2A","0x00"],{mime:"image/tiff",extension:"tif"}),n("tiff",["0x4D","0x4D","0x00","0x2A"],{mime:"image/tiff",extension:"tiff"}),n("cr2",["0x49","0x49","0x2A","0x00","0x10","0x00","0x00","0x00","0x43","0x52"]),n("cin",["0x80","0x2A","0x5F","0xD7"]),n("cin1",["0x52","0x4E","0x43","0x01"]),n("cin2",["0x52","0x4E","0x43","0x02"]),n("dpx",["0x53","0x44","0x50","0x58"]),n("dpx2",["0x58","0x50","0x44","0x53"]),n("exr",["0x76","0x2F","0x31","0x01"]),n("bpg",["0x42","0x50","0x47","0xFB"]),n("ilbm",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x49","0x4C","0x42","0x4D"]),n("8svx",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x38","0x53","0x56","0x58"]),n("acbm",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x41","0x43","0x42","0x4D"]),n("anbm",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x41","0x4E","0x42","0x4D"]),n("anim",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x41","0x4E","0x49","0x4D"]),n("faxx",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x46","0x41","0x58","0x58"]),n("ftxt",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x46","0x54","0x58","0x54"]),n("smus",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x53","0x4D","0x55","0x53"]),n("cmus",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x43","0x4D","0x55","0x53"]),n("yuvn",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x59","0x55","0x56","0x4E"]),n("iff",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x46","0x41","0x4E","0x54"]),n("aiff",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x41","0x49","0x46","0x46"],{mime:"audio/x-aiff",extension:"aiff"}),n("idx",["0x49","0x4E","0x44","0x58"]),n("lz",["0x4C","0x5A","0x49","0x50"]),n("exe",["0x4D","0x5A"]),n("zip",["0x50","0x4B","0x03","0x04"],{mime:"application/zip",extension:"zip"}),n("zip",["0x50","0x4B","0x05","0x06"],{mime:"application/zip",extension:"zip"}),n("zip",["0x50","0x4B","0x07","0x08"],{mime:"application/zip",extension:"zip"}),n("jar",["0x50","0x4B","0x03","0x04"],{mime:"application/java-archive",extension:"jar"}),n("jar",["0x50","0x4B","0x05","0x06"],{mime:"application/java-archive",extension:"jar"}),n("jar",["0x50","0x4B","0x07","0x08"],{mime:"application/java-archive",extension:"jar"}),n("odt",["0x50","0x4B","0x03","0x04"],{mime:"application/vnd.oasis.opendocument.text",extension:"odt"}),n("odt",["0x50","0x4B","0x05","0x06"],{mime:"application/vnd.oasis.opendocument.text",extension:"odt"}),n("odt",["0x50","0x4B","0x07","0x08"],{mime:"application/vnd.oasis.opendocument.text",extension:"odt"}),n("ods",["0x50","0x4B","0x03","0x04"],{mime:"application/vnd.oasis.opendocument.spreadsheet",extension:"ods"}),n("ods",["0x50","0x4B","0x05","0x06"],{mime:"application/vnd.oasis.opendocument.spreadsheet",extension:"ods"}),n("ods",["0x50","0x4B","0x07","0x08"],{mime:"application/vnd.oasis.opendocument.spreadsheet",extension:"ods"}),n("odp",["0x50","0x4B","0x03","0x04"],{mime:"application/vnd.oasis.opendocument.presentation",extension:"odp"}),n("odp",["0x50","0x4B","0x05","0x06"],{mime:"application/vnd.oasis.opendocument.presentation",extension:"odp"}),n("odp",["0x50","0x4B","0x07","0x08"],{mime:"application/vnd.oasis.opendocument.presentation",extension:"odp"}),n("docx",["0x50","0x4B","0x03","0x04"],{mime:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",extension:"docx"}),n("docx",["0x50","0x4B","0x05","0x06"],{mime:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",extension:"docx"}),n("docx",["0x50","0x4B","0x07","0x08"],{mime:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",extension:"docx"}),n("xlsx",["0x50","0x4B","0x03","0x04"],{mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",extension:"xlsx"}),n("xlsx",["0x50","0x4B","0x05","0x06"],{mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",extension:"xlsx"}),n("xlsx",["0x50","0x4B","0x07","0x08"],{mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",extension:"xlsx"}),n("pptx",["0x50","0x4B","0x03","0x04"],{mime:"application/vnd.openxmlformats-officedocument.presentationml.presentation",extension:"pptx"}),n("pptx",["0x50","0x4B","0x05","0x06"],{mime:"application/vnd.openxmlformats-officedocument.presentationml.presentation",extension:"pptx"}),n("pptx",["0x50","0x4B","0x07","0x08"],{mime:"application/vnd.openxmlformats-officedocument.presentationml.presentation",extension:"pptx"}),n("vsdx",["0x50","0x4B","0x03","0x04"],{mime:"application/vnd.ms-visio.drawing",extension:"vsdx"}),n("vsdx",["0x50","0x4B","0x05","0x06"],{mime:"application/vnd.ms-visio.drawing",extension:"vsdx"}),n("vsdx",["0x50","0x4B","0x07","0x08"],{mime:"application/vnd.ms-visio.drawing",extension:"vsdx"}),n("apk",["0x50","0x4B","0x03","0x04"],{mime:"application/vnd.android.package-archive",extension:"apk"}),n("apk",["0x50","0x4B","0x05","0x06"],{mime:"application/vnd.android.package-archive",extension:"apk"}),n("apk",["0x50","0x4B","0x07","0x08"],{mime:"application/vnd.android.package-archive",extension:"apk"}),n("aar",["0x50","0x4B","0x03","0x04"],{mime:"application/vnd.android.package-archive",extension:"aar"}),n("aar",["0x50","0x4B","0x05","0x06"],{mime:"application/vnd.android.package-archive",extension:"aar"}),n("aar",["0x50","0x4B","0x07","0x08"],{mime:"application/vnd.android.package-archive",extension:"aar"}),n("rar",["0x52","0x61","0x72","0x21","0x1A","0x07","0x00"],{mime:"application/vnd.rar",extension:"rar"}),n("rar",["0x52","0x61","0x72","0x21","0x1A","0x07","0x01","0x00"],{mime:"application/vnd.rar",extension:"rar"}),n("rar",["0x7F","0x45","0x4C","0x46"],{mime:"application/vnd.rar",extension:"rar"}),n("png",["0x89","0x50","0x4E","0x47","0x0D","0x0A","0x1A","0x0A"],{mime:"image/png",extension:"png"}),n("apng",["0x89","0x50","0x4E","0x47","0x0D","0x0A","0x1A","0x0A"],{mime:"image/apng",extension:"apng"}),n("class",["0xCA","0xFE","0xBA","0xBE"]),n("class",["0xEF","0xBB","0xBF"]),n("class",["0xFE","0xed","0xFA","0xCE"],void 0,4096),n("class",["0xFE","0xed","0xFA","0xCF"],void 0,4096),n("class",["0xCE","0xFA","0xed","0xFE"]),n("class",["0xCF","0xFA","0xed","0xFE"]),n("class",["0xFF","0xFE"]),n("class",["0xFF","0xFE"]),n("class",["0xFF","0xFE","0x00","0x00"]),n("ps",["0x25","0x21","0x50","0x53"],{mime:"application/postscript",extension:".ps"}),n("pdf",["0x25","0x50","0x44","0x46"],{mime:"application/pdf",extension:"pdf"}),n("asf",["0x30","0x26","0xB2","0x75","0x8E","0x66","0xCF","0x11","0xA6","0xD9","0x00","0xAA","0x00","0x62","0xCE","0x6C"]),n("wma",["0x30","0x26","0xB2","0x75","0x8E","0x66","0xCF","0x11","0xA6","0xD9","0x00","0xAA","0x00","0x62","0xCE","0x6C"]),n("wmv",["0x30","0x26","0xB2","0x75","0x8E","0x66","0xCF","0x11","0xA6","0xD9","0x00","0xAA","0x00","0x62","0xCE","0x6C"]),n("deploymentimage",["0x24","0x53","0x44","0x49","0x30","0x30","0x30","0x31"]),n("ogv",["0x4F","0x67","0x67","0x53","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","0x80","0x74","0x68","0x65","0x6F","0x72","0x61"],{mime:"video/ogg",extension:"ogv"}),n("ogm",["0x4F","0x67","0x67","0x53","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","0x01","0x76","0x69","0x64","0x65","0x6F","0x00"],{mime:"video/ogg",extension:"ogm"}),n("oga",["0x4F","0x67","0x67","0x53","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","0x7F","0x46","0x4C","0x41","0x43"],{mime:"audio/ogg",extension:"oga"}),n("spx",["0x4F","0x67","0x67","0x53","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","0x53","0x70","0x65","0x65","0x78","0x20","0x20"],{mime:"audio/ogg",extension:"spx"}),n("ogg",["0x4F","0x67","0x67","0x53","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","0x01","0x76","0x6F","0x72","0x62","0x69","0x73"],{mime:"audio/ogg",extension:"ogg"}),n("ogx",["0x4F","0x67","0x67","0x53"],{mime:"application/ogg",extension:"ogx"}),n("psd",["0x38","0x42","0x50","0x53"],{mime:"application/x-photoshop",extension:"psd"}),n("clip",["0x43","0x53","0x46","0x43","0x48","0x55","0x4e","0x4b"]),n("wav",["0x52","0x49","0x46","0x46","?","?","?","?","0x57","0x41","0x56","0x45"],{mime:"audio/x-wav",extension:"wav"}),n("avi",["0x52","0x49","0x46","0x46","?","?","?","?","0x41","0x56","0x49","0x20"],{mime:"video/x-msvideo",extension:"avi"}),n("mp3",["0xFF","0xFB"],{mime:"audio/mpeg",extension:"mp3"}),n("mp3",["0xFF","0xF3"],{mime:"audio/mpeg",extension:"mp3"}),n("mp3",["0xFF","0xF2"],{mime:"audio/mpeg",extension:"mp3"}),n("mp3",["0x49","0x44","0x33"],{mime:"audio/mpeg",extension:"mp3"}),n("bmp",["0x42","0x4D"],{mime:"image/bmp",extension:"bmp"}),n("iso",["0x43","0x44","0x30","0x30","0x31"]),n("flac",["0x66","0x4C","0x61","0x43"]),n("mid",["0x4D","0x54","0x68","0x64"],{mime:"audio/midi",extension:"mid"}),n("midi",["0x4D","0x54","0x68","0x64"],{mime:"audio/midi",extension:"midi"}),n("doc",["0xD0","0xCF","0x11","0xE0","0xA1","0xB1","0x1A","0xE1"],{mime:"application/msword",extension:"doc"}),n("xls",["0xD0","0xCF","0x11","0xE0","0xA1","0xB1","0x1A","0xE1"],{mime:"application/vnd.ms-excel",extension:"xls"}),n("ppt",["0xD0","0xCF","0x11","0xE0","0xA1","0xB1","0x1A","0xE1"],{mime:"application/vnd.ms-powerpoint",extension:"ppt"}),n("msg",["0xD0","0xCF","0x11","0xE0","0xA1","0xB1","0x1A","0xE1"]),n("dex",["0x64","0x65","0x78","0x0A","0x30","0x33","0x35","0x00"]),n("vmdk",["0x4B","0x44","0x4D"]),n("crx",["0x43","0x72","0x32","0x34"]),n("fh8",["0x41","0x47","0x44","0x33"]),n("cwk",["0x05","0x07","0x00","0x00","0x42","0x4F","0x42","0x4F","0x05","0x07","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x01"]),n("cwk",["0x06","0x07","0xE1","0x00","0x42","0x4F","0x42","0x4F","0x06","0x07","0xE1","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x01"]),n("toast",["0x45","0x52","0x02","0x00","0x00","0x00"]),n("toast",["0x8B","0x45","0x52","0x02","0x00","0x00","0x00"]),n("dmg",["0x78","0x01","0x73","0x0D","0x62","0x62","0x60"]),n("xar",["0x78","0x61","0x72","0x21"]),n("dat",["0x50","0x4D","0x4F","0x43","0x43","0x4D","0x4F","0x43"]),n("nes",["0x4E","0x45","0x53","0x1A"]),n("tar",["0x75","0x73","0x74","0x61","0x72","0x00","0x30","0x30"],{mime:"application/x-tar",extension:"tar"},257),n("tar",["0x75","0x73","0x74","0x61","0x72","0x20","0x20","0x00"],{mime:"application/x-tar",extension:"tar"},257),n("tox",["0x74","0x6F","0x78","0x33"]),n("mlv",["0x4D","0x4C","0x56","0x49"]),n("windowsupdate",["0x44","0x43","0x4D","0x01","0x50","0x41","0x33","0x30"]),n("7z",["0x37","0x7A","0xBC","0xAF","0x27","0x1C"],{mime:"application/x-7z-compressed",extension:"7z"}),n("gz",["0x1F","0x8B"],{mime:"application/gzip",extension:"gz"}),n("tar.gz",["0x1F","0x8B"],{mime:"application/gzip",extension:"tar.gz"}),n("xz",["0xFD","0x37","0x7A","0x58","0x5A","0x00","0x00"],{mime:"application/gzip",extension:"xz"}),n("tar.xz",["0xFD","0x37","0x7A","0x58","0x5A","0x00","0x00"],{mime:"application/gzip",extension:"tar.xz"}),n("lz2",["0x04","0x22","0x4D","0x18"]),n("cab",["0x4D","0x53","0x43","0x46"]),n("mkv",["0x1A","0x45","0xDF","0xA3"],{mime:"video/x-matroska",extension:"mkv"}),n("mka",["0x1A","0x45","0xDF","0xA3"],{mime:"audio/x-matroska",extension:"mka"}),n("mks",["0x1A","0x45","0xDF","0xA3"],{mime:"video/x-matroska",extension:"mks"}),n("mk3d",["0x1A","0x45","0xDF","0xA3"]),n("webm",["0x1A","0x45","0xDF","0xA3"],{mime:"audio/webm",extension:"webm"}),n("dcm",["0x44","0x49","0x43","0x4D"],void 0,128),n("xml",["0x3C","0x3f","0x78","0x6d","0x6C","0x20"],{mime:"application/xml",extension:"xml"}),n("wasm",["0x00","0x61","0x73","0x6d"],{mime:"application/wasm",extension:"wasm"}),n("lep",["0xCF","0x84","0x01"]),n("swf",["0x43","0x57","0x53"],{mime:"application/x-shockwave-flash",extension:"swf"}),n("swf",["0x46","0x57","0x53"],{mime:"application/x-shockwave-flash",extension:"swf"}),n("deb",["0x21","0x3C","0x61","0x72","0x63","0x68","0x3E"]),n("rtf",["0x7B","0x5C","0x72","0x74","0x66","0x31"],{mime:"application/rtf",extension:"rtf"}),n("m2p",["0x00","0x00","0x01","0xBA"]),n("vob",["0x00","0x00","0x01","0xBA"]),n("mpg",["0x00","0x00","0x01","0xBA"],{mime:"video/mpeg",extension:"mpg"}),n("mpeg",["0x00","0x00","0x01","0xBA"],{mime:"video/mpeg",extension:"mpeg"}),n("mpeg",["0x47"],{mime:"video/mpeg",extension:"mpeg"}),n("mpeg",["0x00","0x00","0x01","0xB3"],{mime:"video/mpeg",extension:"mpeg"}),n("mov",["0x66","0x72","0x65","0x65"],{mime:"video/quicktime",extension:"mov"},4),n("mov",["0x6D","0x64","0x61","0x74"],{mime:"video/quicktime",extension:"mov"},4),n("mov",["0x6D","0x6F","0x6F","0x76"],{mime:"video/quicktime",extension:"mov"},4),n("mov",["0x77","0x69","0x64","0x65"],{mime:"video/quicktime",extension:"mov"},4),n("mov",["0x66","0x74","0x79","0x70","0x71","0x74"],{mime:"video/quicktime",extension:"mov"},4),n("hl2demo",["0x48","0x4C","0x32","0x44","0x45","0x4D","0x4F"]),n("txt",["0xEF","0xBB","0xBF"],{mime:"text/plain; charset=UTF-8",extension:"txt"}),n("txt",["0xFF","0xFE"],{mime:"text/plain; charset=UTF-16LE",extension:"txt"}),n("txt",["0xFE","0xFF"],{mime:"text/plain; charset=UTF-16BE",extension:"txt"}),n("txt",["0xFF","0xFE","0x00","0x00"],{mime:"text/plain; charset=UTF-32LE",extension:"txt"}),n("txt",["0x00","0x00","0xFE","0xFF"],{mime:"text/plain; charset=UTF-32BE",extension:"txt"}),n("SubRip",["0x31","0x0D","0x0A","0x30","0x30","0x3A"],{mime:"application/x-subrip",extension:"srt"}),n("WebVTT",["0xEF","0xBB","0xBF","0x57","0x45","0x42","0x56","0x54","0x54","0x0A"],{mime:"text/vtt",extension:"vtt"}),n("WebVTT",["0xEF","0xBB","0xBF","0x57","0x45","0x42","0x56","0x54","0x54","0x0D"],{mime:"text/vtt",extension:"vtt"}),n("WebVTT",["0xEF","0xBB","0xBF","0x57","0x45","0x42","0x56","0x54","0x54","0x20"],{mime:"text/vtt",extension:"vtt"}),n("WebVTT",["0xEF","0xBB","0xBF","0x57","0x45","0x42","0x56","0x54","0x54","0x09"],{mime:"text/vtt",extension:"vtt"}),n("WebVTT",["0x57","0x45","0x42","0x56","0x54","0x54","0x0A"],{mime:"text/vtt",extension:"vtt"}),n("WebVTT",["0x57","0x45","0x42","0x56","0x54","0x54","0x0D"],{mime:"text/vtt",extension:"vtt"}),n("WebVTT",["0x57","0x45","0x42","0x56","0x54","0x54","0x20"],{mime:"text/vtt",extension:"vtt"}),n("WebVTT",["0x57","0x45","0x42","0x56","0x54","0x54","0x09"],{mime:"text/vtt",extension:"vtt"}),n("Json",["0x7B"],{mime:"application/json",extension:".json"}),n("Json",["0x5B"],{mime:"application/json",extension:".json"}),n("ELF",["0x7F","0x45","0x4C","0x46"],{mime:"application/x-executable",extension:".elf"}),n("Mach-O",["0xFE","0xED","0xFA","0xC"],{mime:"application/x-mach-binary",extension:".o"}),n("Mach-O",["0xFE","0xED","0xFA","0xCF"],{mime:"application/x-executable",extension:"elf"}),n("EML",["0x52","0x65","0x63","0x65","0x69","0x76","0x65","0x64","0x3A"],{mime:"message/rfc822",extension:".eml"}),n("SVG",["0x3c","0x73","0x76","0x67"],{mime:"image/svg+xml",extension:"svg"}),Mt.default=()=>i,Mt}var Ti;function ea(){return Ti||(Ti=1,function(e){var t=wt&&wt.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(e,"__esModule",{value:!0}),e.filetypeextension=e.filetypemime=e.filetypename=e.filetypeinfo=void 0;const i=t(Qo()),n=Ei(),r=i.default(),o=l=>{let d=r;for(const f of Object.keys(d.offset)){const m=n.fromHex(f);if(m>=l.length)continue;const g=r.offset[f],y=a(m,l,g);if(y.length>0)return y}return d.noOffset===null?[]:a(0,l,d.noOffset)};e.filetypeinfo=o;const a=(l,d,f)=>{let m=f,x=[];for(;;){const g=n.toHex(d[l]);if(m.bytes["?"]&&!m.bytes[g]?m=m.bytes["?"]:m=m.bytes[g],!m)return x;m&&m.matches&&(x=m.matches.slice(0)),l+=1}};e.default=e.filetypeinfo;const s=l=>e.filetypeinfo(l).map(d=>d.typename);e.filetypename=s;const c=l=>e.filetypeinfo(l).map(d=>d.mime?d.mime:null).filter(d=>d!==null);e.filetypemime=c;const p=l=>e.filetypeinfo(l).map(d=>d.extension?d.extension:null).filter(d=>d!==null);e.filetypeextension=p}(wt)),wt}var ta=ea(),$t={exports:{}},Nt={exports:{}},ne={};/** @license React v16.13.1
|
25
|
+
Check the top-level render call using <`+_+">.")}return w}}function go(d,w){{if(!d._store||d._store.validated||d.key!=null)return;d._store.validated=!0;var _=Yl(w);if(vo[_])return;vo[_]=!0;var q="";d&&d._owner&&d._owner!==Mt.current&&(q=" It was passed a child from "+Z(d._owner.type)+"."),ht(d),A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',_,q),ht(null)}}function ho(d,w){{if(typeof d!="object")return;if(Ke(d))for(var _=0;_<d.length;_++){var q=d[_];pi(q)&&go(q,w)}else if(pi(d))d._store&&(d._store.validated=!0);else if(d){var re=y(d);if(typeof re=="function"&&re!==d.entries)for(var pe=re.call(d),Q;!(Q=pe.next()).done;)pi(Q.value)&&go(Q.value,w)}}}function Kl(d){{var w=d.type;if(w==null||typeof w=="string")return;var _;if(typeof w=="function")_=w.propTypes;else if(typeof w=="object"&&(w.$$typeof===c||w.$$typeof===u))_=w.propTypes;else return;if(_){var q=Z(w);Ce(_,d.props,"prop",q,d)}else if(w.PropTypes!==void 0&&!li){li=!0;var re=Z(w);A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",re||"Unknown")}typeof w.getDefaultProps=="function"&&!w.getDefaultProps.isReactClassApproved&&A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Jl(d){{for(var w=Object.keys(d.props),_=0;_<w.length;_++){var q=w[_];if(q!=="children"&&q!=="key"){ht(d),A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",q),ht(null);break}}d.ref!==null&&(ht(d),A("Invalid attribute `ref` supplied to `React.Fragment`."),ht(null))}}function bo(d,w,_,q,re,pe){{var Q=J(d);if(!Q){var X="";(d===void 0||typeof d=="object"&&d!==null&&Object.keys(d).length===0)&&(X+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var je=Hl();je?X+=je:X+=xo();var Ee;d===null?Ee="null":Ke(d)?Ee="array":d!==void 0&&d.$$typeof===t?(Ee="<"+(Z(d.type)||"Unknown")+" />",X=" Did you accidentally export a JSX literal instead of a component?"):Ee=typeof d,A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Ee,X)}var Te=Lt(d,w,_,re,pe);if(Te==null)return Te;if(Q){var ze=w.children;if(ze!==void 0)if(q)if(Ke(ze)){for(var bt=0;bt<ze.length;bt++)ho(ze[bt],d);Object.freeze&&Object.freeze(ze)}else A("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else ho(ze,d)}return d===n?Jl(Te):Kl(Te),Te}}function Gl(d,w,_){return bo(d,w,_,!0)}function Xl(d,w,_){return bo(d,w,_,!1)}var Zl=Xl,Ql=Gl;Et.Fragment=n,Et.jsx=Zl,Et.jsxs=Ql}()),Et}var fi;function So(){return fi||(fi=1,process.env.NODE_ENV==="production"?$t.exports=Eo():$t.exports=wo()),$t.exports}var Fe=So(),oe="colors",De="sizes",j="space",Ro={gap:j,gridGap:j,columnGap:j,gridColumnGap:j,rowGap:j,gridRowGap:j,inset:j,insetBlock:j,insetBlockEnd:j,insetBlockStart:j,insetInline:j,insetInlineEnd:j,insetInlineStart:j,margin:j,marginTop:j,marginRight:j,marginBottom:j,marginLeft:j,marginBlock:j,marginBlockEnd:j,marginBlockStart:j,marginInline:j,marginInlineEnd:j,marginInlineStart:j,padding:j,paddingTop:j,paddingRight:j,paddingBottom:j,paddingLeft:j,paddingBlock:j,paddingBlockEnd:j,paddingBlockStart:j,paddingInline:j,paddingInlineEnd:j,paddingInlineStart:j,top:j,right:j,bottom:j,left:j,scrollMargin:j,scrollMarginTop:j,scrollMarginRight:j,scrollMarginBottom:j,scrollMarginLeft:j,scrollMarginX:j,scrollMarginY:j,scrollMarginBlock:j,scrollMarginBlockEnd:j,scrollMarginBlockStart:j,scrollMarginInline:j,scrollMarginInlineEnd:j,scrollMarginInlineStart:j,scrollPadding:j,scrollPaddingTop:j,scrollPaddingRight:j,scrollPaddingBottom:j,scrollPaddingLeft:j,scrollPaddingX:j,scrollPaddingY:j,scrollPaddingBlock:j,scrollPaddingBlockEnd:j,scrollPaddingBlockStart:j,scrollPaddingInline:j,scrollPaddingInlineEnd:j,scrollPaddingInlineStart:j,fontSize:"fontSizes",background:oe,backgroundColor:oe,backgroundImage:oe,borderImage:oe,border:oe,borderBlock:oe,borderBlockEnd:oe,borderBlockStart:oe,borderBottom:oe,borderBottomColor:oe,borderColor:oe,borderInline:oe,borderInlineEnd:oe,borderInlineStart:oe,borderLeft:oe,borderLeftColor:oe,borderRight:oe,borderRightColor:oe,borderTop:oe,borderTopColor:oe,caretColor:oe,color:oe,columnRuleColor:oe,fill:oe,outline:oe,outlineColor:oe,stroke:oe,textDecorationColor:oe,fontFamily:"fonts",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",blockSize:De,minBlockSize:De,maxBlockSize:De,inlineSize:De,minInlineSize:De,maxInlineSize:De,width:De,minWidth:De,maxWidth:De,height:De,minHeight:De,maxHeight:De,flexBasis:De,gridTemplateColumns:De,gridTemplateRows:De,borderWidth:"borderWidths",borderTopWidth:"borderWidths",borderRightWidth:"borderWidths",borderBottomWidth:"borderWidths",borderLeftWidth:"borderWidths",borderStyle:"borderStyles",borderTopStyle:"borderStyles",borderRightStyle:"borderStyles",borderBottomStyle:"borderStyles",borderLeftStyle:"borderStyles",borderRadius:"radii",borderTopLeftRadius:"radii",borderTopRightRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",boxShadow:"shadows",textShadow:"shadows",transition:"transitions",zIndex:"zIndices"},To=(e,t)=>typeof t=="function"?{"()":Function.prototype.toString.call(t)}:t,ct=()=>{const e=Object.create(null);return(t,i,...n)=>{const r=(o=>JSON.stringify(o,To))(t);return r in e?e[r]:e[r]=i(t,...n)}},Xe=Symbol.for("sxs.internal"),xn=(e,t)=>Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)),mi=e=>{for(const t in e)return!0;return!1},{hasOwnProperty:ko}=Object.prototype,vn=e=>e.includes("-")?e:e.replace(/[A-Z]/g,t=>"-"+t.toLowerCase()),Oo=/\s+(?![^()]*\))/,lt=e=>t=>e(...typeof t=="string"?String(t).split(Oo):[t]),xi={appearance:e=>({WebkitAppearance:e,appearance:e}),backfaceVisibility:e=>({WebkitBackfaceVisibility:e,backfaceVisibility:e}),backdropFilter:e=>({WebkitBackdropFilter:e,backdropFilter:e}),backgroundClip:e=>({WebkitBackgroundClip:e,backgroundClip:e}),boxDecorationBreak:e=>({WebkitBoxDecorationBreak:e,boxDecorationBreak:e}),clipPath:e=>({WebkitClipPath:e,clipPath:e}),content:e=>({content:e.includes('"')||e.includes("'")||/^([A-Za-z]+\([^]*|[^]*-quote|inherit|initial|none|normal|revert|unset)$/.test(e)?e:`"${e}"`}),hyphens:e=>({WebkitHyphens:e,hyphens:e}),maskImage:e=>({WebkitMaskImage:e,maskImage:e}),maskSize:e=>({WebkitMaskSize:e,maskSize:e}),tabSize:e=>({MozTabSize:e,tabSize:e}),textSizeAdjust:e=>({WebkitTextSizeAdjust:e,textSizeAdjust:e}),userSelect:e=>({WebkitUserSelect:e,userSelect:e}),marginBlock:lt((e,t)=>({marginBlockStart:e,marginBlockEnd:t||e})),marginInline:lt((e,t)=>({marginInlineStart:e,marginInlineEnd:t||e})),maxSize:lt((e,t)=>({maxBlockSize:e,maxInlineSize:t||e})),minSize:lt((e,t)=>({minBlockSize:e,minInlineSize:t||e})),paddingBlock:lt((e,t)=>({paddingBlockStart:e,paddingBlockEnd:t||e})),paddingInline:lt((e,t)=>({paddingInlineStart:e,paddingInlineEnd:t||e}))},gn=/([\d.]+)([^]*)/,_o=(e,t)=>e.length?e.reduce((i,n)=>(i.push(...t.map(r=>r.includes("&")?r.replace(/&/g,/[ +>|~]/.test(n)&&/&.*&/.test(r)?`:is(${n})`:n):n+" "+r)),i),[]):t,Ao=(e,t)=>e in Co&&typeof t=="string"?t.replace(/^((?:[^]*[^\w-])?)(fit-content|stretch)((?:[^\w-][^]*)?)$/,(i,n,r,o)=>n+(r==="stretch"?`-moz-available${o};${vn(e)}:${n}-webkit-fill-available`:`-moz-fit-content${o};${vn(e)}:${n}fit-content`)+o):String(t),Co={blockSize:1,height:1,inlineSize:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,width:1},qe=e=>e?e+"-":"",vi=(e,t,i)=>e.replace(/([+-])?((?:\d+(?:\.\d*)?|\.\d+)(?:[Ee][+-]?\d+)?)?(\$|--)([$\w-]+)/g,(n,r,o,a,s)=>a=="$"==!!o?n:(r||a=="--"?"calc(":"")+"var(--"+(a==="$"?qe(t)+(s.includes("$")?"":qe(i))+s.replace(/\$/g,"-"):s)+")"+(r||a=="--"?"*"+(r||"")+(o||"1")+")":"")),Do=/\s*,\s*(?![^()]*\))/,jo=Object.prototype.toString,pt=(e,t,i,n,r)=>{let o,a,s;const c=(p,l,u)=>{let f,m;const x=g=>{for(f in g){const A=f.charCodeAt(0)===64,C=A&&Array.isArray(g[f])?g[f]:[g[f]];for(m of C){const k=/[A-Z]/.test(h=f)?h:h.replace(/-[^]/g,D=>D[1].toUpperCase()),b=typeof m=="object"&&m&&m.toString===jo&&(!n.utils[k]||!l.length);if(k in n.utils&&!b){const D=n.utils[k];if(D!==a){a=D,x(D(m)),a=null;continue}}else if(k in xi){const D=xi[k];if(D!==s){s=D,x(D(m)),s=null;continue}}if(A&&(y=f.slice(1)in n.media?"@media "+n.media[f.slice(1)]:f,f=y.replace(/\(\s*([\w-]+)\s*(=|<|<=|>|>=)\s*([\w-]+)\s*(?:(<|<=|>|>=)\s*([\w-]+)\s*)?\)/g,(D,L,B,W,J,ae)=>{const fe=gn.test(L),Z=.0625*(fe?-1:1),[V,ce]=fe?[W,L]:[L,W];return"("+(B[0]==="="?"":B[0]===">"===fe?"max-":"min-")+V+":"+(B[0]!=="="&&B.length===1?ce.replace(gn,(Se,Re,be)=>Number(Re)+Z*(B===">"?1:-1)+be):ce)+(J?") and ("+(J[0]===">"?"min-":"max-")+V+":"+(J.length===1?ae.replace(gn,(Se,Re,be)=>Number(Re)+Z*(J===">"?-1:1)+be):ae):"")+")"})),b){const D=A?u.concat(f):[...u],L=A?[...l]:_o(l,f.split(Do));o!==void 0&&r(gi(...o)),o=void 0,c(m,L,D)}else o===void 0&&(o=[[],l,u]),f=A||f.charCodeAt(0)!==36?f:`--${qe(n.prefix)}${f.slice(1).replace(/\$/g,"-")}`,m=b?m:typeof m=="number"?m&&k in Fo?String(m)+"px":String(m):vi(Ao(k,m??""),n.prefix,n.themeMap[k]),o[0].push(`${A?`${f} `:`${vn(f)}:`}${m}`)}}var y,h};x(p),o!==void 0&&r(gi(...o)),o=void 0};c(e,t,i)},gi=(e,t,i)=>`${i.map(n=>`${n}{`).join("")}${t.length?`${t.join(",")}{`:""}${e.join(";")}${t.length?"}":""}${Array(i.length?i.length+1:0).join("}")}`,Fo={animationDelay:1,animationDuration:1,backgroundSize:1,blockSize:1,border:1,borderBlock:1,borderBlockEnd:1,borderBlockEndWidth:1,borderBlockStart:1,borderBlockStartWidth:1,borderBlockWidth:1,borderBottom:1,borderBottomLeftRadius:1,borderBottomRightRadius:1,borderBottomWidth:1,borderEndEndRadius:1,borderEndStartRadius:1,borderInlineEnd:1,borderInlineEndWidth:1,borderInlineStart:1,borderInlineStartWidth:1,borderInlineWidth:1,borderLeft:1,borderLeftWidth:1,borderRadius:1,borderRight:1,borderRightWidth:1,borderSpacing:1,borderStartEndRadius:1,borderStartStartRadius:1,borderTop:1,borderTopLeftRadius:1,borderTopRightRadius:1,borderTopWidth:1,borderWidth:1,bottom:1,columnGap:1,columnRule:1,columnRuleWidth:1,columnWidth:1,containIntrinsicSize:1,flexBasis:1,fontSize:1,gap:1,gridAutoColumns:1,gridAutoRows:1,gridTemplateColumns:1,gridTemplateRows:1,height:1,inlineSize:1,inset:1,insetBlock:1,insetBlockEnd:1,insetBlockStart:1,insetInline:1,insetInlineEnd:1,insetInlineStart:1,left:1,letterSpacing:1,margin:1,marginBlock:1,marginBlockEnd:1,marginBlockStart:1,marginBottom:1,marginInline:1,marginInlineEnd:1,marginInlineStart:1,marginLeft:1,marginRight:1,marginTop:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,offsetDistance:1,offsetRotate:1,outline:1,outlineOffset:1,outlineWidth:1,overflowClipMargin:1,padding:1,paddingBlock:1,paddingBlockEnd:1,paddingBlockStart:1,paddingBottom:1,paddingInline:1,paddingInlineEnd:1,paddingInlineStart:1,paddingLeft:1,paddingRight:1,paddingTop:1,perspective:1,right:1,rowGap:1,scrollMargin:1,scrollMarginBlock:1,scrollMarginBlockEnd:1,scrollMarginBlockStart:1,scrollMarginBottom:1,scrollMarginInline:1,scrollMarginInlineEnd:1,scrollMarginInlineStart:1,scrollMarginLeft:1,scrollMarginRight:1,scrollMarginTop:1,scrollPadding:1,scrollPaddingBlock:1,scrollPaddingBlockEnd:1,scrollPaddingBlockStart:1,scrollPaddingBottom:1,scrollPaddingInline:1,scrollPaddingInlineEnd:1,scrollPaddingInlineStart:1,scrollPaddingLeft:1,scrollPaddingRight:1,scrollPaddingTop:1,shapeMargin:1,textDecoration:1,textDecorationThickness:1,textIndent:1,textUnderlineOffset:1,top:1,transitionDelay:1,transitionDuration:1,verticalAlign:1,width:1,wordSpacing:1},hi=e=>String.fromCharCode(e+(e>25?39:97)),Ze=e=>(t=>{let i,n="";for(i=Math.abs(t);i>52;i=i/52|0)n=hi(i%52)+n;return hi(i%52)+n})(((t,i)=>{let n=i.length;for(;n;)t=33*t^i.charCodeAt(--n);return t})(5381,JSON.stringify(e))>>>0),wt=["themed","global","styled","onevar","resonevar","allvar","inline"],Po=e=>{if(e.href&&!e.href.startsWith(location.origin))return!1;try{return!!e.cssRules}catch{return!1}},Io=e=>{let t;const i=()=>{const{cssRules:r}=t.sheet;return[].map.call(r,(o,a)=>{const{cssText:s}=o;let c="";if(s.startsWith("--sxs"))return"";if(r[a-1]&&(c=r[a-1].cssText).startsWith("--sxs")){if(!o.cssRules.length)return"";for(const p in t.rules)if(t.rules[p].group===o)return`--sxs{--sxs:${[...t.rules[p].cache].join(" ")}}${s}`;return o.cssRules.length?`${c}${s}`:""}return s}).join("")},n=()=>{if(t){const{rules:s,sheet:c}=t;if(!c.deleteRule){for(;Object(Object(c.cssRules)[0]).type===3;)c.cssRules.splice(0,1);c.cssRules=[]}for(const p in s)delete s[p]}const r=Object(e).styleSheets||[];for(const s of r)if(Po(s)){for(let c=0,p=s.cssRules;p[c];++c){const l=Object(p[c]);if(l.type!==1)continue;const u=Object(p[c+1]);if(u.type!==4)continue;++c;const{cssText:f}=l;if(!f.startsWith("--sxs"))continue;const m=f.slice(14,-3).trim().split(/\s+/),x=wt[m[0]];x&&(t||(t={sheet:s,reset:n,rules:{},toString:i}),t.rules[x]={group:u,index:c,cache:new Set(m)})}if(t)break}if(!t){const s=(c,p)=>({type:p,cssRules:[],insertRule(l,u){this.cssRules.splice(u,0,s(l,{import:3,undefined:1}[(l.toLowerCase().match(/^@([a-z]+)/)||[])[1]]||4))},get cssText(){return c==="@media{}"?`@media{${[].map.call(this.cssRules,l=>l.cssText).join("")}}`:c}});t={sheet:e?(e.head||e).appendChild(document.createElement("style")).sheet:s("","text/css"),rules:{},reset:n,toString:i}}const{sheet:o,rules:a}=t;for(let s=wt.length-1;s>=0;--s){const c=wt[s];if(!a[c]){const p=wt[s+1],l=a[p]?a[p].index:o.cssRules.length;o.insertRule("@media{}",l),o.insertRule(`--sxs{--sxs:${s}}`,l),a[c]={group:o.cssRules[l+1],index:l,cache:new Set([s])}}Bo(a[c])}};return n(),t},Bo=e=>{const t=e.group;let i=t.cssRules.length;e.apply=n=>{try{t.insertRule(n,i),++i}catch{}}},St=Symbol(),zo=ct(),bi=(e,t)=>zo(e,()=>(...i)=>{let n={type:null,composers:new Set};for(const r of i)if(r!=null)if(r[Xe]){n.type==null&&(n.type=r[Xe].type);for(const o of r[Xe].composers)n.composers.add(o)}else r.constructor!==Object||r.$$typeof?n.type==null&&(n.type=r):n.composers.add(Lo(r,e));return n.type==null&&(n.type="span"),n.composers.size||n.composers.add(["PJLV",{},[],[],{},[]]),Mo(e,n,t)}),Lo=({variants:e,compoundVariants:t,defaultVariants:i,...n},r)=>{const o=`${qe(r.prefix)}c-${Ze(n)}`,a=[],s=[],c=Object.create(null),p=[];for(const f in i)c[f]=String(i[f]);if(typeof e=="object"&&e)for(const f in e){l=c,u=f,ko.call(l,u)||(c[f]="undefined");const m=e[f];for(const x in m){const g={[f]:String(x)};String(x)==="undefined"&&p.push(f);const y=m[x],h=[g,y,!mi(y)];a.push(h)}}var l,u;if(typeof t=="object"&&t)for(const f of t){let{css:m,...x}=f;m=typeof m=="object"&&m||{};for(const y in x)x[y]=String(x[y]);const g=[x,m,!mi(m)];s.push(g)}return[o,n,a,s,c,p]},Mo=(e,t,i)=>{const[n,r,o,a]=$o(t.composers),s=typeof t.type=="function"||t.type.$$typeof?(u=>{function f(){for(let m=0;m<f[St].length;m++){const[x,g]=f[St][m];u.rules[x].apply(g)}return f[St]=[],null}return f[St]=[],f.rules={},wt.forEach(m=>f.rules[m]={apply:x=>f[St].push([m,x])}),f})(i):null,c=(s||i).rules,p=`.${n}${r.length>1?`:where(.${r.slice(1).join(".")})`:""}`,l=u=>{u=typeof u=="object"&&u||No;const{css:f,...m}=u,x={};for(const h in o)if(delete m[h],h in u){let A=u[h];typeof A=="object"&&A?x[h]={"@initial":o[h],...A}:(A=String(A),x[h]=A!=="undefined"||a.has(h)?A:o[h])}else x[h]=o[h];const g=new Set([...r]);for(const[h,A,C,k]of t.composers){i.rules.styled.cache.has(h)||(i.rules.styled.cache.add(h),pt(A,[`.${h}`],[],e,L=>{c.styled.apply(L)}));const b=yi(C,x,e.media),D=yi(k,x,e.media,!0);for(const L of b)if(L!==void 0)for(const[B,W,J]of L){const ae=`${h}-${Ze(W)}-${B}`;g.add(ae);const fe=(J?i.rules.resonevar:i.rules.onevar).cache,Z=J?c.resonevar:c.onevar;fe.has(ae)||(fe.add(ae),pt(W,[`.${ae}`],[],e,V=>{Z.apply(V)}))}for(const L of D)if(L!==void 0)for(const[B,W]of L){const J=`${h}-${Ze(W)}-${B}`;g.add(J),i.rules.allvar.cache.has(J)||(i.rules.allvar.cache.add(J),pt(W,[`.${J}`],[],e,ae=>{c.allvar.apply(ae)}))}}if(typeof f=="object"&&f){const h=`${n}-i${Ze(f)}-css`;g.add(h),i.rules.inline.cache.has(h)||(i.rules.inline.cache.add(h),pt(f,[`.${h}`],[],e,A=>{c.inline.apply(A)}))}for(const h of String(u.className||"").trim().split(/\s+/))h&&g.add(h);const y=m.className=[...g].join(" ");return{type:t.type,className:y,selector:p,props:m,toString:()=>y,deferredInjector:s}};return xn(l,{className:n,selector:p,[Xe]:t,toString:()=>(i.rules.styled.cache.has(n)||l(),n)})},$o=e=>{let t="";const i=[],n={},r=[];for(const[o,,,,a,s]of e){t===""&&(t=o),i.push(o),r.push(...s);for(const c in a){const p=a[c];(n[c]===void 0||p!=="undefined"||s.includes(p))&&(n[c]=p)}}return[t,i,n,new Set(r)]},yi=(e,t,i,n)=>{const r=[];e:for(let[o,a,s]of e){if(s)continue;let c,p=0,l=!1;for(c in o){const u=o[c];let f=t[c];if(f!==u){if(typeof f!="object"||!f)continue e;{let m,x,g=0;for(const y in f){if(u===String(f[y])){if(y!=="@initial"){const h=y.slice(1);(x=x||[]).push(h in i?i[h]:y.replace(/^@media ?/,"")),l=!0}p+=g,m=!0}++g}if(x&&x.length&&(a={["@media "+x.join(", ")]:a}),!m)continue e}}}(r[p]=r[p]||[]).push([n?"cv":`${c}-${o[c]}`,a,l])}return r},No={},qo=ct(),Uo=(e,t)=>qo(e,()=>(...i)=>{const n=()=>{for(let r of i){r=typeof r=="object"&&r||{};let o=Ze(r);if(!t.rules.global.cache.has(o)){if(t.rules.global.cache.add(o),"@import"in r){let a=[].indexOf.call(t.sheet.cssRules,t.rules.themed.group)-1;for(let s of[].concat(r["@import"]))s=s.includes('"')||s.includes("'")?s:`"${s}"`,t.sheet.insertRule(`@import ${s};`,a++);delete r["@import"]}pt(r,[],[],e,a=>{t.rules.global.apply(a)})}}return""};return xn(n,{toString:n})}),Wo=ct(),Vo=(e,t)=>Wo(e,()=>i=>{const n=`${qe(e.prefix)}k-${Ze(i)}`,r=()=>{if(!t.rules.global.cache.has(n)){t.rules.global.cache.add(n);const o=[];pt(i,[],[],e,s=>o.push(s));const a=`@keyframes ${n}{${o.join("")}}`;t.rules.global.apply(a)}return n};return xn(r,{get name(){return r()},toString:r})}),Ho=class{constructor(e,t,i,n){this.token=e==null?"":String(e),this.value=t==null?"":String(t),this.scale=i==null?"":String(i),this.prefix=n==null?"":String(n)}get computedValue(){return"var("+this.variable+")"}get variable(){return"--"+qe(this.prefix)+qe(this.scale)+this.token}toString(){return this.computedValue}},Yo=ct(),Ko=(e,t)=>Yo(e,()=>(i,n)=>{n=typeof i=="object"&&i||Object(n);const r=`.${i=(i=typeof i=="string"?i:"")||`${qe(e.prefix)}t-${Ze(n)}`}`,o={},a=[];for(const c in n){o[c]={};for(const p in n[c]){const l=`--${qe(e.prefix)}${c}-${p}`,u=vi(String(n[c][p]),e.prefix,c);o[c][p]=new Ho(p,u,c,e.prefix),a.push(`${l}:${u}`)}}const s=()=>{if(a.length&&!t.rules.themed.cache.has(i)){t.rules.themed.cache.add(i);const c=`${n===e.theme?":root,":""}.${i}{${a.join(";")}}`;t.rules.themed.apply(c)}return i};return{...o,get className(){return s()},selector:r,toString:s}}),Jo=ct(),Ei,Go=ct(),Xo=e=>{const t=(i=>{let n=!1;const r=Jo(i,o=>{n=!0;const a="prefix"in(o=typeof o=="object"&&o||{})?String(o.prefix):"",s=typeof o.media=="object"&&o.media||{},c=typeof o.root=="object"?o.root||null:globalThis.document||null,p=typeof o.theme=="object"&&o.theme||{},l={prefix:a,media:s,theme:p,themeMap:typeof o.themeMap=="object"&&o.themeMap||{...Ro},utils:typeof o.utils=="object"&&o.utils||{}},u=Io(c),f={css:bi(l,u),globalCss:Uo(l,u),keyframes:Vo(l,u),createTheme:Ko(l,u),reset(){u.reset(),f.theme.toString()},theme:{},sheet:u,config:l,prefix:a,getCssText:u.toString,toString:u.toString};return String(f.theme=f.createTheme(p)),f});return n||r.reset(),r})(e);return t.styled=(({config:i,sheet:n})=>Go(i,()=>{const r=bi(i,n);return(...o)=>{const a=r(...o),s=a[Xe].type,c=T.forwardRef((p,l)=>{const u=p&&p.as||s,{props:f,deferredInjector:m}=a(p);return delete f.as,f.ref=l,m?T.createElement(T.Fragment,null,T.createElement(u,f),T.createElement(m,null)):T.createElement(u,f)});return c.className=a.className,c.displayName=`Styled.${s.displayName||s.name||s}`,c.selector=a.selector,c.toString=()=>a.selector,c[Xe]=a[Xe],c}}))(t),t},Zo=()=>Ei||(Ei=Xo()),Qe=(...e)=>Zo().styled(...e);const dt=Qe("div",{});var Rt={},Nt={},et={},wi;function Si(){if(wi)return et;wi=1,Object.defineProperty(et,"__esModule",{value:!0}),et.fromHex=et.toHex=void 0;const e=n=>new Number(n).toString(16).toLowerCase(),t=n=>`0x${e(n).length===1?"0"+e(n):e(n)}`;et.toHex=t;const i=n=>new Number(n);return et.fromHex=i,et}var hn={},Ri;function Qo(){return Ri||(Ri=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.createComplexNode=e.createNode=e.merge=void 0;const t=c=>({typename:c.typename,mime:c.info.mime,extension:c.info.extension}),i=(c,p)=>c&&p.length===0,n=c=>c[0],r=c=>c.slice(1,c.length),o=(c,p)=>{if(c.bytes.length===0)return p;const l=n(c.bytes),u=r(c.bytes),f=p.bytes[l];if(i(f,u)){const m=p.bytes[l];return p.bytes[l]={...m,matches:[...m.matches?m.matches:[],t(c)]},p}return p.bytes[l]?(p.bytes[l]=e.merge(e.createNode(c.typename,u,c.info),p.bytes[l]),p):(p.bytes[l]||(p.bytes[l]={...p.bytes[l],...e.createComplexNode(c.typename,u,c.info)}),p)};e.merge=o;const a=(c,p,l)=>({typename:c,bytes:p,info:l||{}});e.createNode=a;const s=(c,p,l)=>{let u={bytes:{},matches:void 0};const f=n(p),m=r(p);return p.length===0?{matches:[t({typename:c,info:l?{extension:l.extension,mime:l.mime}:{}})],bytes:{}}:(u.bytes[f]=e.createComplexNode(c,m,l),u)};e.createComplexNode=s}(hn)),hn}var Ti;function ea(){if(Ti)return Nt;Ti=1,Object.defineProperty(Nt,"__esModule",{value:!0});const e=Si(),t=Qo();let i={noOffset:null,offset:{}};const n=(r,o,a,s)=>{if(s){const c=i.offset[e.toHex(s)];if(!c)i.offset[e.toHex(s)]=t.createComplexNode(r,o.map(p=>p.toLowerCase()),a);else{const p=t.merge(t.createNode(r,o.map(l=>l.toLowerCase()),a),{...c});i.offset[e.toHex(s)]=p}}else i.noOffset===null?i.noOffset=t.createComplexNode(r,o.map(c=>c.toLowerCase()),a):i.noOffset=t.merge(t.createNode(r,o.map(c=>c.toLowerCase()),a),i.noOffset)};return n("gif",["0x47","0x49","0x46","0x38","0x37","0x61"],{mime:"image/gif",extension:"gif"}),n("gif",["0x47","0x49","0x46","0x38","0x39","0x61"],{mime:"image/gif",extension:"gif"}),n("jpg",["0xFF","0xD8","0xFF"],{mime:"image/jpeg",extension:"jpeg"}),n("webp",["0x52","0x49","0x46","0x46","?","?","?","?","0x57","0x45","0x42","0x50"],{mime:"image/webp",extension:"webp"}),n("heif",["0x66","0x74","0x79","0x70","0x6D","0x69","0x66","0x31"],{mime:"image/heif",extension:"heif"},4),n("heif",["0x66","0x74","0x79","0x70","0x68","0x65","0x69","0x63"],{mime:"image/heif",extension:"heic"},4),n("rpm",["0xed","0xab","0xee","0xdb"]),n("bin",["0x53","0x50","0x30","0x31"],{mime:"application/octet-stream",extension:"bin"}),n("pic",["0x00"]),n("pif",["0x00"]),n("sea",["0x00"]),n("ytr",["0x00"]),n("mp4",["0x66","0x74","0x79","0x70"],{mime:"video/mp4",extension:"mp4"},4),n("ttf",["0x00","0x01","0x00","0x00","0x00"],{mime:"font/ttf",extension:"ttf"}),n("otf",["0x4F","0x54","0x54","0x4F"],{mime:"font/otf",extension:"otf"}),n("eot",["0x50","0x4C"],{mime:"application/vnd.ms-fontobject",extension:"eot"}),n("woff",["0x77","0x4F","0x46","0x46"],{mime:"font/woff",extension:"woff"}),n("woff2",["0x77","0x4F","0x46","0x32"],{mime:"font/woff2",extension:"woff2"}),n("pdb",["0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00"]),n("dba",["0xBE","0xBA","0xFE","0xCA"]),n("dba2",["0x00","0x01","0x42","0x44"]),n("tda",["0x00","0x01","0x44","0x54"]),n("tda2",["0x00","0x01","0x00","0x00"]),n("ico",["0x00","0x00","0x01","0x00"],{mime:"image/x-icon",extension:"ico"}),n("3gp",["0x66","0x74","0x79","0x70","0x33","0x67"]),n("z",["0x1F","0x9D"]),n("tar.z",["0x1F","0xA0"]),n("bac",["0x42","0x41","0x43","0x4B","0x4D","0x49","0x4B","0x45","0x44","0x49","0x53","0x4B"]),n("bz2",["0x42","0x5A","0x68"],{mime:"application/x-bzip2",extension:"bz2"}),n("tif",["0x49","0x49","0x2A","0x00"],{mime:"image/tiff",extension:"tif"}),n("tiff",["0x4D","0x4D","0x00","0x2A"],{mime:"image/tiff",extension:"tiff"}),n("cr2",["0x49","0x49","0x2A","0x00","0x10","0x00","0x00","0x00","0x43","0x52"]),n("cin",["0x80","0x2A","0x5F","0xD7"]),n("cin1",["0x52","0x4E","0x43","0x01"]),n("cin2",["0x52","0x4E","0x43","0x02"]),n("dpx",["0x53","0x44","0x50","0x58"]),n("dpx2",["0x58","0x50","0x44","0x53"]),n("exr",["0x76","0x2F","0x31","0x01"]),n("bpg",["0x42","0x50","0x47","0xFB"]),n("ilbm",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x49","0x4C","0x42","0x4D"]),n("8svx",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x38","0x53","0x56","0x58"]),n("acbm",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x41","0x43","0x42","0x4D"]),n("anbm",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x41","0x4E","0x42","0x4D"]),n("anim",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x41","0x4E","0x49","0x4D"]),n("faxx",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x46","0x41","0x58","0x58"]),n("ftxt",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x46","0x54","0x58","0x54"]),n("smus",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x53","0x4D","0x55","0x53"]),n("cmus",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x43","0x4D","0x55","0x53"]),n("yuvn",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x59","0x55","0x56","0x4E"]),n("iff",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x46","0x41","0x4E","0x54"]),n("aiff",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x41","0x49","0x46","0x46"],{mime:"audio/x-aiff",extension:"aiff"}),n("idx",["0x49","0x4E","0x44","0x58"]),n("lz",["0x4C","0x5A","0x49","0x50"]),n("exe",["0x4D","0x5A"]),n("zip",["0x50","0x4B","0x03","0x04"],{mime:"application/zip",extension:"zip"}),n("zip",["0x50","0x4B","0x05","0x06"],{mime:"application/zip",extension:"zip"}),n("zip",["0x50","0x4B","0x07","0x08"],{mime:"application/zip",extension:"zip"}),n("jar",["0x50","0x4B","0x03","0x04"],{mime:"application/java-archive",extension:"jar"}),n("jar",["0x50","0x4B","0x05","0x06"],{mime:"application/java-archive",extension:"jar"}),n("jar",["0x50","0x4B","0x07","0x08"],{mime:"application/java-archive",extension:"jar"}),n("odt",["0x50","0x4B","0x03","0x04"],{mime:"application/vnd.oasis.opendocument.text",extension:"odt"}),n("odt",["0x50","0x4B","0x05","0x06"],{mime:"application/vnd.oasis.opendocument.text",extension:"odt"}),n("odt",["0x50","0x4B","0x07","0x08"],{mime:"application/vnd.oasis.opendocument.text",extension:"odt"}),n("ods",["0x50","0x4B","0x03","0x04"],{mime:"application/vnd.oasis.opendocument.spreadsheet",extension:"ods"}),n("ods",["0x50","0x4B","0x05","0x06"],{mime:"application/vnd.oasis.opendocument.spreadsheet",extension:"ods"}),n("ods",["0x50","0x4B","0x07","0x08"],{mime:"application/vnd.oasis.opendocument.spreadsheet",extension:"ods"}),n("odp",["0x50","0x4B","0x03","0x04"],{mime:"application/vnd.oasis.opendocument.presentation",extension:"odp"}),n("odp",["0x50","0x4B","0x05","0x06"],{mime:"application/vnd.oasis.opendocument.presentation",extension:"odp"}),n("odp",["0x50","0x4B","0x07","0x08"],{mime:"application/vnd.oasis.opendocument.presentation",extension:"odp"}),n("docx",["0x50","0x4B","0x03","0x04"],{mime:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",extension:"docx"}),n("docx",["0x50","0x4B","0x05","0x06"],{mime:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",extension:"docx"}),n("docx",["0x50","0x4B","0x07","0x08"],{mime:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",extension:"docx"}),n("xlsx",["0x50","0x4B","0x03","0x04"],{mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",extension:"xlsx"}),n("xlsx",["0x50","0x4B","0x05","0x06"],{mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",extension:"xlsx"}),n("xlsx",["0x50","0x4B","0x07","0x08"],{mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",extension:"xlsx"}),n("pptx",["0x50","0x4B","0x03","0x04"],{mime:"application/vnd.openxmlformats-officedocument.presentationml.presentation",extension:"pptx"}),n("pptx",["0x50","0x4B","0x05","0x06"],{mime:"application/vnd.openxmlformats-officedocument.presentationml.presentation",extension:"pptx"}),n("pptx",["0x50","0x4B","0x07","0x08"],{mime:"application/vnd.openxmlformats-officedocument.presentationml.presentation",extension:"pptx"}),n("vsdx",["0x50","0x4B","0x03","0x04"],{mime:"application/vnd.ms-visio.drawing",extension:"vsdx"}),n("vsdx",["0x50","0x4B","0x05","0x06"],{mime:"application/vnd.ms-visio.drawing",extension:"vsdx"}),n("vsdx",["0x50","0x4B","0x07","0x08"],{mime:"application/vnd.ms-visio.drawing",extension:"vsdx"}),n("apk",["0x50","0x4B","0x03","0x04"],{mime:"application/vnd.android.package-archive",extension:"apk"}),n("apk",["0x50","0x4B","0x05","0x06"],{mime:"application/vnd.android.package-archive",extension:"apk"}),n("apk",["0x50","0x4B","0x07","0x08"],{mime:"application/vnd.android.package-archive",extension:"apk"}),n("aar",["0x50","0x4B","0x03","0x04"],{mime:"application/vnd.android.package-archive",extension:"aar"}),n("aar",["0x50","0x4B","0x05","0x06"],{mime:"application/vnd.android.package-archive",extension:"aar"}),n("aar",["0x50","0x4B","0x07","0x08"],{mime:"application/vnd.android.package-archive",extension:"aar"}),n("rar",["0x52","0x61","0x72","0x21","0x1A","0x07","0x00"],{mime:"application/vnd.rar",extension:"rar"}),n("rar",["0x52","0x61","0x72","0x21","0x1A","0x07","0x01","0x00"],{mime:"application/vnd.rar",extension:"rar"}),n("rar",["0x7F","0x45","0x4C","0x46"],{mime:"application/vnd.rar",extension:"rar"}),n("png",["0x89","0x50","0x4E","0x47","0x0D","0x0A","0x1A","0x0A"],{mime:"image/png",extension:"png"}),n("apng",["0x89","0x50","0x4E","0x47","0x0D","0x0A","0x1A","0x0A"],{mime:"image/apng",extension:"apng"}),n("class",["0xCA","0xFE","0xBA","0xBE"]),n("class",["0xEF","0xBB","0xBF"]),n("class",["0xFE","0xed","0xFA","0xCE"],void 0,4096),n("class",["0xFE","0xed","0xFA","0xCF"],void 0,4096),n("class",["0xCE","0xFA","0xed","0xFE"]),n("class",["0xCF","0xFA","0xed","0xFE"]),n("class",["0xFF","0xFE"]),n("class",["0xFF","0xFE"]),n("class",["0xFF","0xFE","0x00","0x00"]),n("ps",["0x25","0x21","0x50","0x53"],{mime:"application/postscript",extension:".ps"}),n("pdf",["0x25","0x50","0x44","0x46"],{mime:"application/pdf",extension:"pdf"}),n("asf",["0x30","0x26","0xB2","0x75","0x8E","0x66","0xCF","0x11","0xA6","0xD9","0x00","0xAA","0x00","0x62","0xCE","0x6C"]),n("wma",["0x30","0x26","0xB2","0x75","0x8E","0x66","0xCF","0x11","0xA6","0xD9","0x00","0xAA","0x00","0x62","0xCE","0x6C"]),n("wmv",["0x30","0x26","0xB2","0x75","0x8E","0x66","0xCF","0x11","0xA6","0xD9","0x00","0xAA","0x00","0x62","0xCE","0x6C"]),n("deploymentimage",["0x24","0x53","0x44","0x49","0x30","0x30","0x30","0x31"]),n("ogv",["0x4F","0x67","0x67","0x53","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","0x80","0x74","0x68","0x65","0x6F","0x72","0x61"],{mime:"video/ogg",extension:"ogv"}),n("ogm",["0x4F","0x67","0x67","0x53","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","0x01","0x76","0x69","0x64","0x65","0x6F","0x00"],{mime:"video/ogg",extension:"ogm"}),n("oga",["0x4F","0x67","0x67","0x53","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","0x7F","0x46","0x4C","0x41","0x43"],{mime:"audio/ogg",extension:"oga"}),n("spx",["0x4F","0x67","0x67","0x53","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","0x53","0x70","0x65","0x65","0x78","0x20","0x20"],{mime:"audio/ogg",extension:"spx"}),n("ogg",["0x4F","0x67","0x67","0x53","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","0x01","0x76","0x6F","0x72","0x62","0x69","0x73"],{mime:"audio/ogg",extension:"ogg"}),n("ogx",["0x4F","0x67","0x67","0x53"],{mime:"application/ogg",extension:"ogx"}),n("psd",["0x38","0x42","0x50","0x53"],{mime:"application/x-photoshop",extension:"psd"}),n("clip",["0x43","0x53","0x46","0x43","0x48","0x55","0x4e","0x4b"]),n("wav",["0x52","0x49","0x46","0x46","?","?","?","?","0x57","0x41","0x56","0x45"],{mime:"audio/x-wav",extension:"wav"}),n("avi",["0x52","0x49","0x46","0x46","?","?","?","?","0x41","0x56","0x49","0x20"],{mime:"video/x-msvideo",extension:"avi"}),n("mp3",["0xFF","0xFB"],{mime:"audio/mpeg",extension:"mp3"}),n("mp3",["0xFF","0xF3"],{mime:"audio/mpeg",extension:"mp3"}),n("mp3",["0xFF","0xF2"],{mime:"audio/mpeg",extension:"mp3"}),n("mp3",["0x49","0x44","0x33"],{mime:"audio/mpeg",extension:"mp3"}),n("bmp",["0x42","0x4D"],{mime:"image/bmp",extension:"bmp"}),n("iso",["0x43","0x44","0x30","0x30","0x31"]),n("flac",["0x66","0x4C","0x61","0x43"]),n("mid",["0x4D","0x54","0x68","0x64"],{mime:"audio/midi",extension:"mid"}),n("midi",["0x4D","0x54","0x68","0x64"],{mime:"audio/midi",extension:"midi"}),n("doc",["0xD0","0xCF","0x11","0xE0","0xA1","0xB1","0x1A","0xE1"],{mime:"application/msword",extension:"doc"}),n("xls",["0xD0","0xCF","0x11","0xE0","0xA1","0xB1","0x1A","0xE1"],{mime:"application/vnd.ms-excel",extension:"xls"}),n("ppt",["0xD0","0xCF","0x11","0xE0","0xA1","0xB1","0x1A","0xE1"],{mime:"application/vnd.ms-powerpoint",extension:"ppt"}),n("msg",["0xD0","0xCF","0x11","0xE0","0xA1","0xB1","0x1A","0xE1"]),n("dex",["0x64","0x65","0x78","0x0A","0x30","0x33","0x35","0x00"]),n("vmdk",["0x4B","0x44","0x4D"]),n("crx",["0x43","0x72","0x32","0x34"]),n("fh8",["0x41","0x47","0x44","0x33"]),n("cwk",["0x05","0x07","0x00","0x00","0x42","0x4F","0x42","0x4F","0x05","0x07","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x01"]),n("cwk",["0x06","0x07","0xE1","0x00","0x42","0x4F","0x42","0x4F","0x06","0x07","0xE1","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x01"]),n("toast",["0x45","0x52","0x02","0x00","0x00","0x00"]),n("toast",["0x8B","0x45","0x52","0x02","0x00","0x00","0x00"]),n("dmg",["0x78","0x01","0x73","0x0D","0x62","0x62","0x60"]),n("xar",["0x78","0x61","0x72","0x21"]),n("dat",["0x50","0x4D","0x4F","0x43","0x43","0x4D","0x4F","0x43"]),n("nes",["0x4E","0x45","0x53","0x1A"]),n("tar",["0x75","0x73","0x74","0x61","0x72","0x00","0x30","0x30"],{mime:"application/x-tar",extension:"tar"},257),n("tar",["0x75","0x73","0x74","0x61","0x72","0x20","0x20","0x00"],{mime:"application/x-tar",extension:"tar"},257),n("tox",["0x74","0x6F","0x78","0x33"]),n("mlv",["0x4D","0x4C","0x56","0x49"]),n("windowsupdate",["0x44","0x43","0x4D","0x01","0x50","0x41","0x33","0x30"]),n("7z",["0x37","0x7A","0xBC","0xAF","0x27","0x1C"],{mime:"application/x-7z-compressed",extension:"7z"}),n("gz",["0x1F","0x8B"],{mime:"application/gzip",extension:"gz"}),n("tar.gz",["0x1F","0x8B"],{mime:"application/gzip",extension:"tar.gz"}),n("xz",["0xFD","0x37","0x7A","0x58","0x5A","0x00","0x00"],{mime:"application/gzip",extension:"xz"}),n("tar.xz",["0xFD","0x37","0x7A","0x58","0x5A","0x00","0x00"],{mime:"application/gzip",extension:"tar.xz"}),n("lz2",["0x04","0x22","0x4D","0x18"]),n("cab",["0x4D","0x53","0x43","0x46"]),n("mkv",["0x1A","0x45","0xDF","0xA3"],{mime:"video/x-matroska",extension:"mkv"}),n("mka",["0x1A","0x45","0xDF","0xA3"],{mime:"audio/x-matroska",extension:"mka"}),n("mks",["0x1A","0x45","0xDF","0xA3"],{mime:"video/x-matroska",extension:"mks"}),n("mk3d",["0x1A","0x45","0xDF","0xA3"]),n("webm",["0x1A","0x45","0xDF","0xA3"],{mime:"audio/webm",extension:"webm"}),n("dcm",["0x44","0x49","0x43","0x4D"],void 0,128),n("xml",["0x3C","0x3f","0x78","0x6d","0x6C","0x20"],{mime:"application/xml",extension:"xml"}),n("wasm",["0x00","0x61","0x73","0x6d"],{mime:"application/wasm",extension:"wasm"}),n("lep",["0xCF","0x84","0x01"]),n("swf",["0x43","0x57","0x53"],{mime:"application/x-shockwave-flash",extension:"swf"}),n("swf",["0x46","0x57","0x53"],{mime:"application/x-shockwave-flash",extension:"swf"}),n("deb",["0x21","0x3C","0x61","0x72","0x63","0x68","0x3E"]),n("rtf",["0x7B","0x5C","0x72","0x74","0x66","0x31"],{mime:"application/rtf",extension:"rtf"}),n("m2p",["0x00","0x00","0x01","0xBA"]),n("vob",["0x00","0x00","0x01","0xBA"]),n("mpg",["0x00","0x00","0x01","0xBA"],{mime:"video/mpeg",extension:"mpg"}),n("mpeg",["0x00","0x00","0x01","0xBA"],{mime:"video/mpeg",extension:"mpeg"}),n("mpeg",["0x47"],{mime:"video/mpeg",extension:"mpeg"}),n("mpeg",["0x00","0x00","0x01","0xB3"],{mime:"video/mpeg",extension:"mpeg"}),n("mov",["0x66","0x72","0x65","0x65"],{mime:"video/quicktime",extension:"mov"},4),n("mov",["0x6D","0x64","0x61","0x74"],{mime:"video/quicktime",extension:"mov"},4),n("mov",["0x6D","0x6F","0x6F","0x76"],{mime:"video/quicktime",extension:"mov"},4),n("mov",["0x77","0x69","0x64","0x65"],{mime:"video/quicktime",extension:"mov"},4),n("mov",["0x66","0x74","0x79","0x70","0x71","0x74"],{mime:"video/quicktime",extension:"mov"},4),n("hl2demo",["0x48","0x4C","0x32","0x44","0x45","0x4D","0x4F"]),n("txt",["0xEF","0xBB","0xBF"],{mime:"text/plain; charset=UTF-8",extension:"txt"}),n("txt",["0xFF","0xFE"],{mime:"text/plain; charset=UTF-16LE",extension:"txt"}),n("txt",["0xFE","0xFF"],{mime:"text/plain; charset=UTF-16BE",extension:"txt"}),n("txt",["0xFF","0xFE","0x00","0x00"],{mime:"text/plain; charset=UTF-32LE",extension:"txt"}),n("txt",["0x00","0x00","0xFE","0xFF"],{mime:"text/plain; charset=UTF-32BE",extension:"txt"}),n("SubRip",["0x31","0x0D","0x0A","0x30","0x30","0x3A"],{mime:"application/x-subrip",extension:"srt"}),n("WebVTT",["0xEF","0xBB","0xBF","0x57","0x45","0x42","0x56","0x54","0x54","0x0A"],{mime:"text/vtt",extension:"vtt"}),n("WebVTT",["0xEF","0xBB","0xBF","0x57","0x45","0x42","0x56","0x54","0x54","0x0D"],{mime:"text/vtt",extension:"vtt"}),n("WebVTT",["0xEF","0xBB","0xBF","0x57","0x45","0x42","0x56","0x54","0x54","0x20"],{mime:"text/vtt",extension:"vtt"}),n("WebVTT",["0xEF","0xBB","0xBF","0x57","0x45","0x42","0x56","0x54","0x54","0x09"],{mime:"text/vtt",extension:"vtt"}),n("WebVTT",["0x57","0x45","0x42","0x56","0x54","0x54","0x0A"],{mime:"text/vtt",extension:"vtt"}),n("WebVTT",["0x57","0x45","0x42","0x56","0x54","0x54","0x0D"],{mime:"text/vtt",extension:"vtt"}),n("WebVTT",["0x57","0x45","0x42","0x56","0x54","0x54","0x20"],{mime:"text/vtt",extension:"vtt"}),n("WebVTT",["0x57","0x45","0x42","0x56","0x54","0x54","0x09"],{mime:"text/vtt",extension:"vtt"}),n("Json",["0x7B"],{mime:"application/json",extension:".json"}),n("Json",["0x5B"],{mime:"application/json",extension:".json"}),n("ELF",["0x7F","0x45","0x4C","0x46"],{mime:"application/x-executable",extension:".elf"}),n("Mach-O",["0xFE","0xED","0xFA","0xC"],{mime:"application/x-mach-binary",extension:".o"}),n("Mach-O",["0xFE","0xED","0xFA","0xCF"],{mime:"application/x-executable",extension:"elf"}),n("EML",["0x52","0x65","0x63","0x65","0x69","0x76","0x65","0x64","0x3A"],{mime:"message/rfc822",extension:".eml"}),n("SVG",["0x3c","0x73","0x76","0x67"],{mime:"image/svg+xml",extension:"svg"}),Nt.default=()=>i,Nt}var ki;function ta(){return ki||(ki=1,function(e){var t=Rt&&Rt.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(e,"__esModule",{value:!0}),e.filetypeextension=e.filetypemime=e.filetypename=e.filetypeinfo=void 0;const i=t(ea()),n=Si(),r=i.default(),o=l=>{let u=r;for(const f of Object.keys(u.offset)){const m=n.fromHex(f);if(m>=l.length)continue;const g=r.offset[f],y=a(m,l,g);if(y.length>0)return y}return u.noOffset===null?[]:a(0,l,u.noOffset)};e.filetypeinfo=o;const a=(l,u,f)=>{let m=f,x=[];for(;;){const g=n.toHex(u[l]);if(m.bytes["?"]&&!m.bytes[g]?m=m.bytes["?"]:m=m.bytes[g],!m)return x;m&&m.matches&&(x=m.matches.slice(0)),l+=1}};e.default=e.filetypeinfo;const s=l=>e.filetypeinfo(l).map(u=>u.typename);e.filetypename=s;const c=l=>e.filetypeinfo(l).map(u=>u.mime?u.mime:null).filter(u=>u!==null);e.filetypemime=c;const p=l=>e.filetypeinfo(l).map(u=>u.extension?u.extension:null).filter(u=>u!==null);e.filetypeextension=p}(Rt)),Rt}var na=ta(),qt={exports:{}},Ut={exports:{}},ne={};/** @license React v16.13.1
|
26
26
|
* react-is.production.min.js
|
27
27
|
*
|
28
28
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
29
29
|
*
|
30
30
|
* This source code is licensed under the MIT license found in the
|
31
31
|
* LICENSE file in the root directory of this source tree.
|
32
|
-
*/var
|
32
|
+
*/var Oi;function ia(){if(Oi)return ne;Oi=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,i=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,x=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,A=e?Symbol.for("react.scope"):60119;function C(b){if(typeof b=="object"&&b!==null){var D=b.$$typeof;switch(D){case t:switch(b=b.type,b){case c:case p:case n:case o:case r:case u:return b;default:switch(b=b&&b.$$typeof,b){case s:case l:case x:case m:case a:return b;default:return D}}case i:return D}}}function k(b){return C(b)===p}return ne.AsyncMode=c,ne.ConcurrentMode=p,ne.ContextConsumer=s,ne.ContextProvider=a,ne.Element=t,ne.ForwardRef=l,ne.Fragment=n,ne.Lazy=x,ne.Memo=m,ne.Portal=i,ne.Profiler=o,ne.StrictMode=r,ne.Suspense=u,ne.isAsyncMode=function(b){return k(b)||C(b)===c},ne.isConcurrentMode=k,ne.isContextConsumer=function(b){return C(b)===s},ne.isContextProvider=function(b){return C(b)===a},ne.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===t},ne.isForwardRef=function(b){return C(b)===l},ne.isFragment=function(b){return C(b)===n},ne.isLazy=function(b){return C(b)===x},ne.isMemo=function(b){return C(b)===m},ne.isPortal=function(b){return C(b)===i},ne.isProfiler=function(b){return C(b)===o},ne.isStrictMode=function(b){return C(b)===r},ne.isSuspense=function(b){return C(b)===u},ne.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===n||b===p||b===o||b===r||b===u||b===f||typeof b=="object"&&b!==null&&(b.$$typeof===x||b.$$typeof===m||b.$$typeof===a||b.$$typeof===s||b.$$typeof===l||b.$$typeof===y||b.$$typeof===h||b.$$typeof===A||b.$$typeof===g)},ne.typeOf=C,ne}var ie={};/** @license React v16.13.1
|
33
33
|
* react-is.development.js
|
34
34
|
*
|
35
35
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
36
36
|
*
|
37
37
|
* This source code is licensed under the MIT license found in the
|
38
38
|
* LICENSE file in the root directory of this source tree.
|
39
|
-
*/var
|
39
|
+
*/var _i;function ra(){return _i||(_i=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,i=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,x=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,A=e?Symbol.for("react.scope"):60119;function C(E){return typeof E=="string"||typeof E=="function"||E===n||E===p||E===o||E===r||E===u||E===f||typeof E=="object"&&E!==null&&(E.$$typeof===x||E.$$typeof===m||E.$$typeof===a||E.$$typeof===s||E.$$typeof===l||E.$$typeof===y||E.$$typeof===h||E.$$typeof===A||E.$$typeof===g)}function k(E){if(typeof E=="object"&&E!==null){var K=E.$$typeof;switch(K){case t:var de=E.type;switch(de){case c:case p:case n:case o:case r:case u:return de;default:var te=de&&de.$$typeof;switch(te){case s:case l:case x:case m:case a:return te;default:return K}}case i:return K}}}var b=c,D=p,L=s,B=a,W=t,J=l,ae=n,fe=x,Z=m,V=i,ce=o,Se=r,Re=u,be=!1;function he(E){return be||(be=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),S(E)||k(E)===c}function S(E){return k(E)===p}function O(E){return k(E)===s}function z(E){return k(E)===a}function $(E){return typeof E=="object"&&E!==null&&E.$$typeof===t}function P(E){return k(E)===l}function H(E){return k(E)===n}function I(E){return k(E)===x}function N(E){return k(E)===m}function Y(E){return k(E)===i}function G(E){return k(E)===o}function M(E){return k(E)===r}function xe(E){return k(E)===u}ie.AsyncMode=b,ie.ConcurrentMode=D,ie.ContextConsumer=L,ie.ContextProvider=B,ie.Element=W,ie.ForwardRef=J,ie.Fragment=ae,ie.Lazy=fe,ie.Memo=Z,ie.Portal=V,ie.Profiler=ce,ie.StrictMode=Se,ie.Suspense=Re,ie.isAsyncMode=he,ie.isConcurrentMode=S,ie.isContextConsumer=O,ie.isContextProvider=z,ie.isElement=$,ie.isForwardRef=P,ie.isFragment=H,ie.isLazy=I,ie.isMemo=N,ie.isPortal=Y,ie.isProfiler=G,ie.isStrictMode=M,ie.isSuspense=xe,ie.isValidElementType=C,ie.typeOf=k}()),ie}var Ai;function Ci(){return Ai||(Ai=1,process.env.NODE_ENV==="production"?Ut.exports=ia():Ut.exports=ra()),Ut.exports}/*
|
40
40
|
object-assign
|
41
41
|
(c) Sindre Sorhus
|
42
42
|
@license MIT
|
43
|
-
*/var
|
44
|
-
Valid keys: `+JSON.stringify(Object.keys(S),null," "));var E=xe(N,M,P,H,I+"."+M,i);if(E)return E}return null}return y(O)}function V(S){switch(typeof S){case"number":case"string":case"undefined":return!0;case"boolean":return!S;case"object":if(Array.isArray(S))return S.every(V);if(S===null||s(S))return!0;var O=d(S);if(O){var z=O.call(S),$;if(O!==S.entries){for(;!($=z.next()).done;)if(!V($.value))return!1}else for(;!($=z.next()).done;){var P=$.value;if(P&&!V(P[1]))return!1}}else return!1;return!0;default:return!1}}function ce(S,O){return S==="symbol"?!0:O?O["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&O instanceof Symbol:!1}function Se(S){var O=typeof S;return Array.isArray(S)?"array":S instanceof RegExp?"object":ce(O,S)?"symbol":O}function Te(S){if(typeof S>"u"||S===null)return""+S;var O=Se(S);if(O==="object"){if(S instanceof Date)return"date";if(S instanceof RegExp)return"regexp"}return O}function be(S){var O=Te(S);switch(O){case"array":case"object":return"an "+O;case"boolean":case"date":case"regexp":return"a "+O;default:return O}}function he(S){return!S.constructor||!S.constructor.name?f:S.constructor.name}return m.checkPropTypes=r,m.resetWarningCache=r.resetWarningCache,m.PropTypes=m,m},wn}var Sn,Ii;function sa(){if(Ii)return Sn;Ii=1;var e=bn();function t(){}function i(){}return i.resetWarningCache=t,Sn=function(){function n(a,s,c,p,l,d){if(d!==e){var f=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 f.name="Invariant Violation",f}}n.isRequired=n;function r(){return n}var o={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:r,element:n,elementType:n,instanceOf:r,node:n,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:i,resetWarningCache:t};return o.PropTypes=o,o},Sn}var Bi;function ca(){if(Bi)return $t.exports;if(Bi=1,process.env.NODE_ENV!=="production"){var e=_i(),t=!0;$t.exports=aa()(e.isElement,t)}else $t.exports=sa()();return $t.exports}var la=ca();const se=Je(la);function Qe(e,t,i,n){function r(o){return o instanceof i?o:new i(function(a){a(o)})}return new(i||(i=Promise))(function(o,a){function s(l){try{p(n.next(l))}catch(d){a(d)}}function c(l){try{p(n.throw(l))}catch(d){a(d)}}function p(l){l.done?o(l.value):r(l.value).then(s,c)}p((n=n.apply(e,t||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const pa=new Map([["1km","application/vnd.1000minds.decision-model+xml"],["3dml","text/vnd.in3d.3dml"],["3ds","image/x-3ds"],["3g2","video/3gpp2"],["3gp","video/3gp"],["3gpp","video/3gpp"],["3mf","model/3mf"],["7z","application/x-7z-compressed"],["7zip","application/x-7z-compressed"],["123","application/vnd.lotus-1-2-3"],["aab","application/x-authorware-bin"],["aac","audio/x-acc"],["aam","application/x-authorware-map"],["aas","application/x-authorware-seg"],["abw","application/x-abiword"],["ac","application/vnd.nokia.n-gage.ac+xml"],["ac3","audio/ac3"],["acc","application/vnd.americandynamics.acc"],["ace","application/x-ace-compressed"],["acu","application/vnd.acucobol"],["acutc","application/vnd.acucorp"],["adp","audio/adpcm"],["aep","application/vnd.audiograph"],["afm","application/x-font-type1"],["afp","application/vnd.ibm.modcap"],["ahead","application/vnd.ahead.space"],["ai","application/pdf"],["aif","audio/x-aiff"],["aifc","audio/x-aiff"],["aiff","audio/x-aiff"],["air","application/vnd.adobe.air-application-installer-package+zip"],["ait","application/vnd.dvb.ait"],["ami","application/vnd.amiga.ami"],["amr","audio/amr"],["apk","application/vnd.android.package-archive"],["apng","image/apng"],["appcache","text/cache-manifest"],["application","application/x-ms-application"],["apr","application/vnd.lotus-approach"],["arc","application/x-freearc"],["arj","application/x-arj"],["asc","application/pgp-signature"],["asf","video/x-ms-asf"],["asm","text/x-asm"],["aso","application/vnd.accpac.simply.aso"],["asx","video/x-ms-asf"],["atc","application/vnd.acucorp"],["atom","application/atom+xml"],["atomcat","application/atomcat+xml"],["atomdeleted","application/atomdeleted+xml"],["atomsvc","application/atomsvc+xml"],["atx","application/vnd.antix.game-component"],["au","audio/x-au"],["avi","video/x-msvideo"],["avif","image/avif"],["aw","application/applixware"],["azf","application/vnd.airzip.filesecure.azf"],["azs","application/vnd.airzip.filesecure.azs"],["azv","image/vnd.airzip.accelerator.azv"],["azw","application/vnd.amazon.ebook"],["b16","image/vnd.pco.b16"],["bat","application/x-msdownload"],["bcpio","application/x-bcpio"],["bdf","application/x-font-bdf"],["bdm","application/vnd.syncml.dm+wbxml"],["bdoc","application/x-bdoc"],["bed","application/vnd.realvnc.bed"],["bh2","application/vnd.fujitsu.oasysprs"],["bin","application/octet-stream"],["blb","application/x-blorb"],["blorb","application/x-blorb"],["bmi","application/vnd.bmi"],["bmml","application/vnd.balsamiq.bmml+xml"],["bmp","image/bmp"],["book","application/vnd.framemaker"],["box","application/vnd.previewsystems.box"],["boz","application/x-bzip2"],["bpk","application/octet-stream"],["bpmn","application/octet-stream"],["bsp","model/vnd.valve.source.compiled-map"],["btif","image/prs.btif"],["buffer","application/octet-stream"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["c","text/x-c"],["c4d","application/vnd.clonk.c4group"],["c4f","application/vnd.clonk.c4group"],["c4g","application/vnd.clonk.c4group"],["c4p","application/vnd.clonk.c4group"],["c4u","application/vnd.clonk.c4group"],["c11amc","application/vnd.cluetrust.cartomobile-config"],["c11amz","application/vnd.cluetrust.cartomobile-config-pkg"],["cab","application/vnd.ms-cab-compressed"],["caf","audio/x-caf"],["cap","application/vnd.tcpdump.pcap"],["car","application/vnd.curl.car"],["cat","application/vnd.ms-pki.seccat"],["cb7","application/x-cbr"],["cba","application/x-cbr"],["cbr","application/x-cbr"],["cbt","application/x-cbr"],["cbz","application/x-cbr"],["cc","text/x-c"],["cco","application/x-cocoa"],["cct","application/x-director"],["ccxml","application/ccxml+xml"],["cdbcmsg","application/vnd.contact.cmsg"],["cda","application/x-cdf"],["cdf","application/x-netcdf"],["cdfx","application/cdfx+xml"],["cdkey","application/vnd.mediastation.cdkey"],["cdmia","application/cdmi-capability"],["cdmic","application/cdmi-container"],["cdmid","application/cdmi-domain"],["cdmio","application/cdmi-object"],["cdmiq","application/cdmi-queue"],["cdr","application/cdr"],["cdx","chemical/x-cdx"],["cdxml","application/vnd.chemdraw+xml"],["cdy","application/vnd.cinderella"],["cer","application/pkix-cert"],["cfs","application/x-cfs-compressed"],["cgm","image/cgm"],["chat","application/x-chat"],["chm","application/vnd.ms-htmlhelp"],["chrt","application/vnd.kde.kchart"],["cif","chemical/x-cif"],["cii","application/vnd.anser-web-certificate-issue-initiation"],["cil","application/vnd.ms-artgalry"],["cjs","application/node"],["cla","application/vnd.claymore"],["class","application/octet-stream"],["clkk","application/vnd.crick.clicker.keyboard"],["clkp","application/vnd.crick.clicker.palette"],["clkt","application/vnd.crick.clicker.template"],["clkw","application/vnd.crick.clicker.wordbank"],["clkx","application/vnd.crick.clicker"],["clp","application/x-msclip"],["cmc","application/vnd.cosmocaller"],["cmdf","chemical/x-cmdf"],["cml","chemical/x-cml"],["cmp","application/vnd.yellowriver-custom-menu"],["cmx","image/x-cmx"],["cod","application/vnd.rim.cod"],["coffee","text/coffeescript"],["com","application/x-msdownload"],["conf","text/plain"],["cpio","application/x-cpio"],["cpp","text/x-c"],["cpt","application/mac-compactpro"],["crd","application/x-mscardfile"],["crl","application/pkix-crl"],["crt","application/x-x509-ca-cert"],["crx","application/x-chrome-extension"],["cryptonote","application/vnd.rig.cryptonote"],["csh","application/x-csh"],["csl","application/vnd.citationstyles.style+xml"],["csml","chemical/x-csml"],["csp","application/vnd.commonspace"],["csr","application/octet-stream"],["css","text/css"],["cst","application/x-director"],["csv","text/csv"],["cu","application/cu-seeme"],["curl","text/vnd.curl"],["cww","application/prs.cww"],["cxt","application/x-director"],["cxx","text/x-c"],["dae","model/vnd.collada+xml"],["daf","application/vnd.mobius.daf"],["dart","application/vnd.dart"],["dataless","application/vnd.fdsn.seed"],["davmount","application/davmount+xml"],["dbf","application/vnd.dbf"],["dbk","application/docbook+xml"],["dcr","application/x-director"],["dcurl","text/vnd.curl.dcurl"],["dd2","application/vnd.oma.dd2+xml"],["ddd","application/vnd.fujixerox.ddd"],["ddf","application/vnd.syncml.dmddf+xml"],["dds","image/vnd.ms-dds"],["deb","application/x-debian-package"],["def","text/plain"],["deploy","application/octet-stream"],["der","application/x-x509-ca-cert"],["dfac","application/vnd.dreamfactory"],["dgc","application/x-dgc-compressed"],["dic","text/x-c"],["dir","application/x-director"],["dis","application/vnd.mobius.dis"],["disposition-notification","message/disposition-notification"],["dist","application/octet-stream"],["distz","application/octet-stream"],["djv","image/vnd.djvu"],["djvu","image/vnd.djvu"],["dll","application/octet-stream"],["dmg","application/x-apple-diskimage"],["dmn","application/octet-stream"],["dmp","application/vnd.tcpdump.pcap"],["dms","application/octet-stream"],["dna","application/vnd.dna"],["doc","application/msword"],["docm","application/vnd.ms-word.template.macroEnabled.12"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["dot","application/msword"],["dotm","application/vnd.ms-word.template.macroEnabled.12"],["dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"],["dp","application/vnd.osgi.dp"],["dpg","application/vnd.dpgraph"],["dra","audio/vnd.dra"],["drle","image/dicom-rle"],["dsc","text/prs.lines.tag"],["dssc","application/dssc+der"],["dtb","application/x-dtbook+xml"],["dtd","application/xml-dtd"],["dts","audio/vnd.dts"],["dtshd","audio/vnd.dts.hd"],["dump","application/octet-stream"],["dvb","video/vnd.dvb.file"],["dvi","application/x-dvi"],["dwd","application/atsc-dwd+xml"],["dwf","model/vnd.dwf"],["dwg","image/vnd.dwg"],["dxf","image/vnd.dxf"],["dxp","application/vnd.spotfire.dxp"],["dxr","application/x-director"],["ear","application/java-archive"],["ecelp4800","audio/vnd.nuera.ecelp4800"],["ecelp7470","audio/vnd.nuera.ecelp7470"],["ecelp9600","audio/vnd.nuera.ecelp9600"],["ecma","application/ecmascript"],["edm","application/vnd.novadigm.edm"],["edx","application/vnd.novadigm.edx"],["efif","application/vnd.picsel"],["ei6","application/vnd.pg.osasli"],["elc","application/octet-stream"],["emf","image/emf"],["eml","message/rfc822"],["emma","application/emma+xml"],["emotionml","application/emotionml+xml"],["emz","application/x-msmetafile"],["eol","audio/vnd.digital-winds"],["eot","application/vnd.ms-fontobject"],["eps","application/postscript"],["epub","application/epub+zip"],["es","application/ecmascript"],["es3","application/vnd.eszigno3+xml"],["esa","application/vnd.osgi.subsystem"],["esf","application/vnd.epson.esf"],["et3","application/vnd.eszigno3+xml"],["etx","text/x-setext"],["eva","application/x-eva"],["evy","application/x-envoy"],["exe","application/octet-stream"],["exi","application/exi"],["exp","application/express"],["exr","image/aces"],["ext","application/vnd.novadigm.ext"],["ez","application/andrew-inset"],["ez2","application/vnd.ezpix-album"],["ez3","application/vnd.ezpix-package"],["f","text/x-fortran"],["f4v","video/mp4"],["f77","text/x-fortran"],["f90","text/x-fortran"],["fbs","image/vnd.fastbidsheet"],["fcdt","application/vnd.adobe.formscentral.fcdt"],["fcs","application/vnd.isac.fcs"],["fdf","application/vnd.fdf"],["fdt","application/fdt+xml"],["fe_launch","application/vnd.denovo.fcselayout-link"],["fg5","application/vnd.fujitsu.oasysgp"],["fgd","application/x-director"],["fh","image/x-freehand"],["fh4","image/x-freehand"],["fh5","image/x-freehand"],["fh7","image/x-freehand"],["fhc","image/x-freehand"],["fig","application/x-xfig"],["fits","image/fits"],["flac","audio/x-flac"],["fli","video/x-fli"],["flo","application/vnd.micrografx.flo"],["flv","video/x-flv"],["flw","application/vnd.kde.kivio"],["flx","text/vnd.fmi.flexstor"],["fly","text/vnd.fly"],["fm","application/vnd.framemaker"],["fnc","application/vnd.frogans.fnc"],["fo","application/vnd.software602.filler.form+xml"],["for","text/x-fortran"],["fpx","image/vnd.fpx"],["frame","application/vnd.framemaker"],["fsc","application/vnd.fsc.weblaunch"],["fst","image/vnd.fst"],["ftc","application/vnd.fluxtime.clip"],["fti","application/vnd.anser-web-funds-transfer-initiation"],["fvt","video/vnd.fvt"],["fxp","application/vnd.adobe.fxp"],["fxpl","application/vnd.adobe.fxp"],["fzs","application/vnd.fuzzysheet"],["g2w","application/vnd.geoplan"],["g3","image/g3fax"],["g3w","application/vnd.geospace"],["gac","application/vnd.groove-account"],["gam","application/x-tads"],["gbr","application/rpki-ghostbusters"],["gca","application/x-gca-compressed"],["gdl","model/vnd.gdl"],["gdoc","application/vnd.google-apps.document"],["geo","application/vnd.dynageo"],["geojson","application/geo+json"],["gex","application/vnd.geometry-explorer"],["ggb","application/vnd.geogebra.file"],["ggt","application/vnd.geogebra.tool"],["ghf","application/vnd.groove-help"],["gif","image/gif"],["gim","application/vnd.groove-identity-message"],["glb","model/gltf-binary"],["gltf","model/gltf+json"],["gml","application/gml+xml"],["gmx","application/vnd.gmx"],["gnumeric","application/x-gnumeric"],["gpg","application/gpg-keys"],["gph","application/vnd.flographit"],["gpx","application/gpx+xml"],["gqf","application/vnd.grafeq"],["gqs","application/vnd.grafeq"],["gram","application/srgs"],["gramps","application/x-gramps-xml"],["gre","application/vnd.geometry-explorer"],["grv","application/vnd.groove-injector"],["grxml","application/srgs+xml"],["gsf","application/x-font-ghostscript"],["gsheet","application/vnd.google-apps.spreadsheet"],["gslides","application/vnd.google-apps.presentation"],["gtar","application/x-gtar"],["gtm","application/vnd.groove-tool-message"],["gtw","model/vnd.gtw"],["gv","text/vnd.graphviz"],["gxf","application/gxf"],["gxt","application/vnd.geonext"],["gz","application/gzip"],["gzip","application/gzip"],["h","text/x-c"],["h261","video/h261"],["h263","video/h263"],["h264","video/h264"],["hal","application/vnd.hal+xml"],["hbci","application/vnd.hbci"],["hbs","text/x-handlebars-template"],["hdd","application/x-virtualbox-hdd"],["hdf","application/x-hdf"],["heic","image/heic"],["heics","image/heic-sequence"],["heif","image/heif"],["heifs","image/heif-sequence"],["hej2","image/hej2k"],["held","application/atsc-held+xml"],["hh","text/x-c"],["hjson","application/hjson"],["hlp","application/winhlp"],["hpgl","application/vnd.hp-hpgl"],["hpid","application/vnd.hp-hpid"],["hps","application/vnd.hp-hps"],["hqx","application/mac-binhex40"],["hsj2","image/hsj2"],["htc","text/x-component"],["htke","application/vnd.kenameaapp"],["htm","text/html"],["html","text/html"],["hvd","application/vnd.yamaha.hv-dic"],["hvp","application/vnd.yamaha.hv-voice"],["hvs","application/vnd.yamaha.hv-script"],["i2g","application/vnd.intergeo"],["icc","application/vnd.iccprofile"],["ice","x-conference/x-cooltalk"],["icm","application/vnd.iccprofile"],["ico","image/x-icon"],["ics","text/calendar"],["ief","image/ief"],["ifb","text/calendar"],["ifm","application/vnd.shana.informed.formdata"],["iges","model/iges"],["igl","application/vnd.igloader"],["igm","application/vnd.insors.igm"],["igs","model/iges"],["igx","application/vnd.micrografx.igx"],["iif","application/vnd.shana.informed.interchange"],["img","application/octet-stream"],["imp","application/vnd.accpac.simply.imp"],["ims","application/vnd.ms-ims"],["in","text/plain"],["ini","text/plain"],["ink","application/inkml+xml"],["inkml","application/inkml+xml"],["install","application/x-install-instructions"],["iota","application/vnd.astraea-software.iota"],["ipfix","application/ipfix"],["ipk","application/vnd.shana.informed.package"],["irm","application/vnd.ibm.rights-management"],["irp","application/vnd.irepository.package+xml"],["iso","application/x-iso9660-image"],["itp","application/vnd.shana.informed.formtemplate"],["its","application/its+xml"],["ivp","application/vnd.immervision-ivp"],["ivu","application/vnd.immervision-ivu"],["jad","text/vnd.sun.j2me.app-descriptor"],["jade","text/jade"],["jam","application/vnd.jam"],["jar","application/java-archive"],["jardiff","application/x-java-archive-diff"],["java","text/x-java-source"],["jhc","image/jphc"],["jisp","application/vnd.jisp"],["jls","image/jls"],["jlt","application/vnd.hp-jlyt"],["jng","image/x-jng"],["jnlp","application/x-java-jnlp-file"],["joda","application/vnd.joost.joda-archive"],["jp2","image/jp2"],["jpe","image/jpeg"],["jpeg","image/jpeg"],["jpf","image/jpx"],["jpg","image/jpeg"],["jpg2","image/jp2"],["jpgm","video/jpm"],["jpgv","video/jpeg"],["jph","image/jph"],["jpm","video/jpm"],["jpx","image/jpx"],["js","application/javascript"],["json","application/json"],["json5","application/json5"],["jsonld","application/ld+json"],["jsonl","application/jsonl"],["jsonml","application/jsonml+json"],["jsx","text/jsx"],["jxr","image/jxr"],["jxra","image/jxra"],["jxrs","image/jxrs"],["jxs","image/jxs"],["jxsc","image/jxsc"],["jxsi","image/jxsi"],["jxss","image/jxss"],["kar","audio/midi"],["karbon","application/vnd.kde.karbon"],["kdb","application/octet-stream"],["kdbx","application/x-keepass2"],["key","application/x-iwork-keynote-sffkey"],["kfo","application/vnd.kde.kformula"],["kia","application/vnd.kidspiration"],["kml","application/vnd.google-earth.kml+xml"],["kmz","application/vnd.google-earth.kmz"],["kne","application/vnd.kinar"],["knp","application/vnd.kinar"],["kon","application/vnd.kde.kontour"],["kpr","application/vnd.kde.kpresenter"],["kpt","application/vnd.kde.kpresenter"],["kpxx","application/vnd.ds-keypoint"],["ksp","application/vnd.kde.kspread"],["ktr","application/vnd.kahootz"],["ktx","image/ktx"],["ktx2","image/ktx2"],["ktz","application/vnd.kahootz"],["kwd","application/vnd.kde.kword"],["kwt","application/vnd.kde.kword"],["lasxml","application/vnd.las.las+xml"],["latex","application/x-latex"],["lbd","application/vnd.llamagraphics.life-balance.desktop"],["lbe","application/vnd.llamagraphics.life-balance.exchange+xml"],["les","application/vnd.hhe.lesson-player"],["less","text/less"],["lgr","application/lgr+xml"],["lha","application/octet-stream"],["link66","application/vnd.route66.link66+xml"],["list","text/plain"],["list3820","application/vnd.ibm.modcap"],["listafp","application/vnd.ibm.modcap"],["litcoffee","text/coffeescript"],["lnk","application/x-ms-shortcut"],["log","text/plain"],["lostxml","application/lost+xml"],["lrf","application/octet-stream"],["lrm","application/vnd.ms-lrm"],["ltf","application/vnd.frogans.ltf"],["lua","text/x-lua"],["luac","application/x-lua-bytecode"],["lvp","audio/vnd.lucent.voice"],["lwp","application/vnd.lotus-wordpro"],["lzh","application/octet-stream"],["m1v","video/mpeg"],["m2a","audio/mpeg"],["m2v","video/mpeg"],["m3a","audio/mpeg"],["m3u","text/plain"],["m3u8","application/vnd.apple.mpegurl"],["m4a","audio/x-m4a"],["m4p","application/mp4"],["m4s","video/iso.segment"],["m4u","application/vnd.mpegurl"],["m4v","video/x-m4v"],["m13","application/x-msmediaview"],["m14","application/x-msmediaview"],["m21","application/mp21"],["ma","application/mathematica"],["mads","application/mads+xml"],["maei","application/mmt-aei+xml"],["mag","application/vnd.ecowin.chart"],["maker","application/vnd.framemaker"],["man","text/troff"],["manifest","text/cache-manifest"],["map","application/json"],["mar","application/octet-stream"],["markdown","text/markdown"],["mathml","application/mathml+xml"],["mb","application/mathematica"],["mbk","application/vnd.mobius.mbk"],["mbox","application/mbox"],["mc1","application/vnd.medcalcdata"],["mcd","application/vnd.mcd"],["mcurl","text/vnd.curl.mcurl"],["md","text/markdown"],["mdb","application/x-msaccess"],["mdi","image/vnd.ms-modi"],["mdx","text/mdx"],["me","text/troff"],["mesh","model/mesh"],["meta4","application/metalink4+xml"],["metalink","application/metalink+xml"],["mets","application/mets+xml"],["mfm","application/vnd.mfmp"],["mft","application/rpki-manifest"],["mgp","application/vnd.osgeo.mapguide.package"],["mgz","application/vnd.proteus.magazine"],["mid","audio/midi"],["midi","audio/midi"],["mie","application/x-mie"],["mif","application/vnd.mif"],["mime","message/rfc822"],["mj2","video/mj2"],["mjp2","video/mj2"],["mjs","application/javascript"],["mk3d","video/x-matroska"],["mka","audio/x-matroska"],["mkd","text/x-markdown"],["mks","video/x-matroska"],["mkv","video/x-matroska"],["mlp","application/vnd.dolby.mlp"],["mmd","application/vnd.chipnuts.karaoke-mmd"],["mmf","application/vnd.smaf"],["mml","text/mathml"],["mmr","image/vnd.fujixerox.edmics-mmr"],["mng","video/x-mng"],["mny","application/x-msmoney"],["mobi","application/x-mobipocket-ebook"],["mods","application/mods+xml"],["mov","video/quicktime"],["movie","video/x-sgi-movie"],["mp2","audio/mpeg"],["mp2a","audio/mpeg"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mp4a","audio/mp4"],["mp4s","application/mp4"],["mp4v","video/mp4"],["mp21","application/mp21"],["mpc","application/vnd.mophun.certificate"],["mpd","application/dash+xml"],["mpe","video/mpeg"],["mpeg","video/mpeg"],["mpg","video/mpeg"],["mpg4","video/mp4"],["mpga","audio/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["mpm","application/vnd.blueice.multipass"],["mpn","application/vnd.mophun.application"],["mpp","application/vnd.ms-project"],["mpt","application/vnd.ms-project"],["mpy","application/vnd.ibm.minipay"],["mqy","application/vnd.mobius.mqy"],["mrc","application/marc"],["mrcx","application/marcxml+xml"],["ms","text/troff"],["mscml","application/mediaservercontrol+xml"],["mseed","application/vnd.fdsn.mseed"],["mseq","application/vnd.mseq"],["msf","application/vnd.epson.msf"],["msg","application/vnd.ms-outlook"],["msh","model/mesh"],["msi","application/x-msdownload"],["msl","application/vnd.mobius.msl"],["msm","application/octet-stream"],["msp","application/octet-stream"],["msty","application/vnd.muvee.style"],["mtl","model/mtl"],["mts","model/vnd.mts"],["mus","application/vnd.musician"],["musd","application/mmt-usd+xml"],["musicxml","application/vnd.recordare.musicxml+xml"],["mvb","application/x-msmediaview"],["mvt","application/vnd.mapbox-vector-tile"],["mwf","application/vnd.mfer"],["mxf","application/mxf"],["mxl","application/vnd.recordare.musicxml"],["mxmf","audio/mobile-xmf"],["mxml","application/xv+xml"],["mxs","application/vnd.triscape.mxs"],["mxu","video/vnd.mpegurl"],["n-gage","application/vnd.nokia.n-gage.symbian.install"],["n3","text/n3"],["nb","application/mathematica"],["nbp","application/vnd.wolfram.player"],["nc","application/x-netcdf"],["ncx","application/x-dtbncx+xml"],["nfo","text/x-nfo"],["ngdat","application/vnd.nokia.n-gage.data"],["nitf","application/vnd.nitf"],["nlu","application/vnd.neurolanguage.nlu"],["nml","application/vnd.enliven"],["nnd","application/vnd.noblenet-directory"],["nns","application/vnd.noblenet-sealer"],["nnw","application/vnd.noblenet-web"],["npx","image/vnd.net-fpx"],["nq","application/n-quads"],["nsc","application/x-conference"],["nsf","application/vnd.lotus-notes"],["nt","application/n-triples"],["ntf","application/vnd.nitf"],["numbers","application/x-iwork-numbers-sffnumbers"],["nzb","application/x-nzb"],["oa2","application/vnd.fujitsu.oasys2"],["oa3","application/vnd.fujitsu.oasys3"],["oas","application/vnd.fujitsu.oasys"],["obd","application/x-msbinder"],["obgx","application/vnd.openblox.game+xml"],["obj","model/obj"],["oda","application/oda"],["odb","application/vnd.oasis.opendocument.database"],["odc","application/vnd.oasis.opendocument.chart"],["odf","application/vnd.oasis.opendocument.formula"],["odft","application/vnd.oasis.opendocument.formula-template"],["odg","application/vnd.oasis.opendocument.graphics"],["odi","application/vnd.oasis.opendocument.image"],["odm","application/vnd.oasis.opendocument.text-master"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogex","model/vnd.opengex"],["ogg","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["omdoc","application/omdoc+xml"],["onepkg","application/onenote"],["onetmp","application/onenote"],["onetoc","application/onenote"],["onetoc2","application/onenote"],["opf","application/oebps-package+xml"],["opml","text/x-opml"],["oprc","application/vnd.palm"],["opus","audio/ogg"],["org","text/x-org"],["osf","application/vnd.yamaha.openscoreformat"],["osfpvg","application/vnd.yamaha.openscoreformat.osfpvg+xml"],["osm","application/vnd.openstreetmap.data+xml"],["otc","application/vnd.oasis.opendocument.chart-template"],["otf","font/otf"],["otg","application/vnd.oasis.opendocument.graphics-template"],["oth","application/vnd.oasis.opendocument.text-web"],["oti","application/vnd.oasis.opendocument.image-template"],["otp","application/vnd.oasis.opendocument.presentation-template"],["ots","application/vnd.oasis.opendocument.spreadsheet-template"],["ott","application/vnd.oasis.opendocument.text-template"],["ova","application/x-virtualbox-ova"],["ovf","application/x-virtualbox-ovf"],["owl","application/rdf+xml"],["oxps","application/oxps"],["oxt","application/vnd.openofficeorg.extension"],["p","text/x-pascal"],["p7a","application/x-pkcs7-signature"],["p7b","application/x-pkcs7-certificates"],["p7c","application/pkcs7-mime"],["p7m","application/pkcs7-mime"],["p7r","application/x-pkcs7-certreqresp"],["p7s","application/pkcs7-signature"],["p8","application/pkcs8"],["p10","application/x-pkcs10"],["p12","application/x-pkcs12"],["pac","application/x-ns-proxy-autoconfig"],["pages","application/x-iwork-pages-sffpages"],["pas","text/x-pascal"],["paw","application/vnd.pawaafile"],["pbd","application/vnd.powerbuilder6"],["pbm","image/x-portable-bitmap"],["pcap","application/vnd.tcpdump.pcap"],["pcf","application/x-font-pcf"],["pcl","application/vnd.hp-pcl"],["pclxl","application/vnd.hp-pclxl"],["pct","image/x-pict"],["pcurl","application/vnd.curl.pcurl"],["pcx","image/x-pcx"],["pdb","application/x-pilot"],["pde","text/x-processing"],["pdf","application/pdf"],["pem","application/x-x509-user-cert"],["pfa","application/x-font-type1"],["pfb","application/x-font-type1"],["pfm","application/x-font-type1"],["pfr","application/font-tdpfr"],["pfx","application/x-pkcs12"],["pgm","image/x-portable-graymap"],["pgn","application/x-chess-pgn"],["pgp","application/pgp"],["php","application/x-httpd-php"],["php3","application/x-httpd-php"],["php4","application/x-httpd-php"],["phps","application/x-httpd-php-source"],["phtml","application/x-httpd-php"],["pic","image/x-pict"],["pkg","application/octet-stream"],["pki","application/pkixcmp"],["pkipath","application/pkix-pkipath"],["pkpass","application/vnd.apple.pkpass"],["pl","application/x-perl"],["plb","application/vnd.3gpp.pic-bw-large"],["plc","application/vnd.mobius.plc"],["plf","application/vnd.pocketlearn"],["pls","application/pls+xml"],["pm","application/x-perl"],["pml","application/vnd.ctc-posml"],["png","image/png"],["pnm","image/x-portable-anymap"],["portpkg","application/vnd.macports.portpkg"],["pot","application/vnd.ms-powerpoint"],["potm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["potx","application/vnd.openxmlformats-officedocument.presentationml.template"],["ppa","application/vnd.ms-powerpoint"],["ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"],["ppd","application/vnd.cups-ppd"],["ppm","image/x-portable-pixmap"],["pps","application/vnd.ms-powerpoint"],["ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],["ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"],["ppt","application/powerpoint"],["pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["pqa","application/vnd.palm"],["prc","application/x-pilot"],["pre","application/vnd.lotus-freelance"],["prf","application/pics-rules"],["provx","application/provenance+xml"],["ps","application/postscript"],["psb","application/vnd.3gpp.pic-bw-small"],["psd","application/x-photoshop"],["psf","application/x-font-linux-psf"],["pskcxml","application/pskc+xml"],["pti","image/prs.pti"],["ptid","application/vnd.pvi.ptid1"],["pub","application/x-mspublisher"],["pvb","application/vnd.3gpp.pic-bw-var"],["pwn","application/vnd.3m.post-it-notes"],["pya","audio/vnd.ms-playready.media.pya"],["pyv","video/vnd.ms-playready.media.pyv"],["qam","application/vnd.epson.quickanime"],["qbo","application/vnd.intu.qbo"],["qfx","application/vnd.intu.qfx"],["qps","application/vnd.publishare-delta-tree"],["qt","video/quicktime"],["qwd","application/vnd.quark.quarkxpress"],["qwt","application/vnd.quark.quarkxpress"],["qxb","application/vnd.quark.quarkxpress"],["qxd","application/vnd.quark.quarkxpress"],["qxl","application/vnd.quark.quarkxpress"],["qxt","application/vnd.quark.quarkxpress"],["ra","audio/x-realaudio"],["ram","audio/x-pn-realaudio"],["raml","application/raml+yaml"],["rapd","application/route-apd+xml"],["rar","application/x-rar"],["ras","image/x-cmu-raster"],["rcprofile","application/vnd.ipunplugged.rcprofile"],["rdf","application/rdf+xml"],["rdz","application/vnd.data-vision.rdz"],["relo","application/p2p-overlay+xml"],["rep","application/vnd.businessobjects"],["res","application/x-dtbresource+xml"],["rgb","image/x-rgb"],["rif","application/reginfo+xml"],["rip","audio/vnd.rip"],["ris","application/x-research-info-systems"],["rl","application/resource-lists+xml"],["rlc","image/vnd.fujixerox.edmics-rlc"],["rld","application/resource-lists-diff+xml"],["rm","audio/x-pn-realaudio"],["rmi","audio/midi"],["rmp","audio/x-pn-realaudio-plugin"],["rms","application/vnd.jcp.javame.midlet-rms"],["rmvb","application/vnd.rn-realmedia-vbr"],["rnc","application/relax-ng-compact-syntax"],["rng","application/xml"],["roa","application/rpki-roa"],["roff","text/troff"],["rp9","application/vnd.cloanto.rp9"],["rpm","audio/x-pn-realaudio-plugin"],["rpss","application/vnd.nokia.radio-presets"],["rpst","application/vnd.nokia.radio-preset"],["rq","application/sparql-query"],["rs","application/rls-services+xml"],["rsa","application/x-pkcs7"],["rsat","application/atsc-rsat+xml"],["rsd","application/rsd+xml"],["rsheet","application/urc-ressheet+xml"],["rss","application/rss+xml"],["rtf","text/rtf"],["rtx","text/richtext"],["run","application/x-makeself"],["rusd","application/route-usd+xml"],["rv","video/vnd.rn-realvideo"],["s","text/x-asm"],["s3m","audio/s3m"],["saf","application/vnd.yamaha.smaf-audio"],["sass","text/x-sass"],["sbml","application/sbml+xml"],["sc","application/vnd.ibm.secure-container"],["scd","application/x-msschedule"],["scm","application/vnd.lotus-screencam"],["scq","application/scvp-cv-request"],["scs","application/scvp-cv-response"],["scss","text/x-scss"],["scurl","text/vnd.curl.scurl"],["sda","application/vnd.stardivision.draw"],["sdc","application/vnd.stardivision.calc"],["sdd","application/vnd.stardivision.impress"],["sdkd","application/vnd.solent.sdkm+xml"],["sdkm","application/vnd.solent.sdkm+xml"],["sdp","application/sdp"],["sdw","application/vnd.stardivision.writer"],["sea","application/octet-stream"],["see","application/vnd.seemail"],["seed","application/vnd.fdsn.seed"],["sema","application/vnd.sema"],["semd","application/vnd.semd"],["semf","application/vnd.semf"],["senmlx","application/senml+xml"],["sensmlx","application/sensml+xml"],["ser","application/java-serialized-object"],["setpay","application/set-payment-initiation"],["setreg","application/set-registration-initiation"],["sfd-hdstx","application/vnd.hydrostatix.sof-data"],["sfs","application/vnd.spotfire.sfs"],["sfv","text/x-sfv"],["sgi","image/sgi"],["sgl","application/vnd.stardivision.writer-global"],["sgm","text/sgml"],["sgml","text/sgml"],["sh","application/x-sh"],["shar","application/x-shar"],["shex","text/shex"],["shf","application/shf+xml"],["shtml","text/html"],["sid","image/x-mrsid-image"],["sieve","application/sieve"],["sig","application/pgp-signature"],["sil","audio/silk"],["silo","model/mesh"],["sis","application/vnd.symbian.install"],["sisx","application/vnd.symbian.install"],["sit","application/x-stuffit"],["sitx","application/x-stuffitx"],["siv","application/sieve"],["skd","application/vnd.koan"],["skm","application/vnd.koan"],["skp","application/vnd.koan"],["skt","application/vnd.koan"],["sldm","application/vnd.ms-powerpoint.slide.macroenabled.12"],["sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"],["slim","text/slim"],["slm","text/slim"],["sls","application/route-s-tsid+xml"],["slt","application/vnd.epson.salt"],["sm","application/vnd.stepmania.stepchart"],["smf","application/vnd.stardivision.math"],["smi","application/smil"],["smil","application/smil"],["smv","video/x-smv"],["smzip","application/vnd.stepmania.package"],["snd","audio/basic"],["snf","application/x-font-snf"],["so","application/octet-stream"],["spc","application/x-pkcs7-certificates"],["spdx","text/spdx"],["spf","application/vnd.yamaha.smaf-phrase"],["spl","application/x-futuresplash"],["spot","text/vnd.in3d.spot"],["spp","application/scvp-vp-response"],["spq","application/scvp-vp-request"],["spx","audio/ogg"],["sql","application/x-sql"],["src","application/x-wais-source"],["srt","application/x-subrip"],["sru","application/sru+xml"],["srx","application/sparql-results+xml"],["ssdl","application/ssdl+xml"],["sse","application/vnd.kodak-descriptor"],["ssf","application/vnd.epson.ssf"],["ssml","application/ssml+xml"],["sst","application/octet-stream"],["st","application/vnd.sailingtracker.track"],["stc","application/vnd.sun.xml.calc.template"],["std","application/vnd.sun.xml.draw.template"],["stf","application/vnd.wt.stf"],["sti","application/vnd.sun.xml.impress.template"],["stk","application/hyperstudio"],["stl","model/stl"],["stpx","model/step+xml"],["stpxz","model/step-xml+zip"],["stpz","model/step+zip"],["str","application/vnd.pg.format"],["stw","application/vnd.sun.xml.writer.template"],["styl","text/stylus"],["stylus","text/stylus"],["sub","text/vnd.dvb.subtitle"],["sus","application/vnd.sus-calendar"],["susp","application/vnd.sus-calendar"],["sv4cpio","application/x-sv4cpio"],["sv4crc","application/x-sv4crc"],["svc","application/vnd.dvb.service"],["svd","application/vnd.svd"],["svg","image/svg+xml"],["svgz","image/svg+xml"],["swa","application/x-director"],["swf","application/x-shockwave-flash"],["swi","application/vnd.aristanetworks.swi"],["swidtag","application/swid+xml"],["sxc","application/vnd.sun.xml.calc"],["sxd","application/vnd.sun.xml.draw"],["sxg","application/vnd.sun.xml.writer.global"],["sxi","application/vnd.sun.xml.impress"],["sxm","application/vnd.sun.xml.math"],["sxw","application/vnd.sun.xml.writer"],["t","text/troff"],["t3","application/x-t3vm-image"],["t38","image/t38"],["taglet","application/vnd.mynfc"],["tao","application/vnd.tao.intent-module-archive"],["tap","image/vnd.tencent.tap"],["tar","application/x-tar"],["tcap","application/vnd.3gpp2.tcap"],["tcl","application/x-tcl"],["td","application/urc-targetdesc+xml"],["teacher","application/vnd.smart.teacher"],["tei","application/tei+xml"],["teicorpus","application/tei+xml"],["tex","application/x-tex"],["texi","application/x-texinfo"],["texinfo","application/x-texinfo"],["text","text/plain"],["tfi","application/thraud+xml"],["tfm","application/x-tex-tfm"],["tfx","image/tiff-fx"],["tga","image/x-tga"],["tgz","application/x-tar"],["thmx","application/vnd.ms-officetheme"],["tif","image/tiff"],["tiff","image/tiff"],["tk","application/x-tcl"],["tmo","application/vnd.tmobile-livetv"],["toml","application/toml"],["torrent","application/x-bittorrent"],["tpl","application/vnd.groove-tool-template"],["tpt","application/vnd.trid.tpt"],["tr","text/troff"],["tra","application/vnd.trueapp"],["trig","application/trig"],["trm","application/x-msterminal"],["ts","video/mp2t"],["tsd","application/timestamped-data"],["tsv","text/tab-separated-values"],["ttc","font/collection"],["ttf","font/ttf"],["ttl","text/turtle"],["ttml","application/ttml+xml"],["twd","application/vnd.simtech-mindmapper"],["twds","application/vnd.simtech-mindmapper"],["txd","application/vnd.genomatix.tuxedo"],["txf","application/vnd.mobius.txf"],["txt","text/plain"],["u8dsn","message/global-delivery-status"],["u8hdr","message/global-headers"],["u8mdn","message/global-disposition-notification"],["u8msg","message/global"],["u32","application/x-authorware-bin"],["ubj","application/ubjson"],["udeb","application/x-debian-package"],["ufd","application/vnd.ufdl"],["ufdl","application/vnd.ufdl"],["ulx","application/x-glulx"],["umj","application/vnd.umajin"],["unityweb","application/vnd.unity"],["uoml","application/vnd.uoml+xml"],["uri","text/uri-list"],["uris","text/uri-list"],["urls","text/uri-list"],["usdz","model/vnd.usdz+zip"],["ustar","application/x-ustar"],["utz","application/vnd.uiq.theme"],["uu","text/x-uuencode"],["uva","audio/vnd.dece.audio"],["uvd","application/vnd.dece.data"],["uvf","application/vnd.dece.data"],["uvg","image/vnd.dece.graphic"],["uvh","video/vnd.dece.hd"],["uvi","image/vnd.dece.graphic"],["uvm","video/vnd.dece.mobile"],["uvp","video/vnd.dece.pd"],["uvs","video/vnd.dece.sd"],["uvt","application/vnd.dece.ttml+xml"],["uvu","video/vnd.uvvu.mp4"],["uvv","video/vnd.dece.video"],["uvva","audio/vnd.dece.audio"],["uvvd","application/vnd.dece.data"],["uvvf","application/vnd.dece.data"],["uvvg","image/vnd.dece.graphic"],["uvvh","video/vnd.dece.hd"],["uvvi","image/vnd.dece.graphic"],["uvvm","video/vnd.dece.mobile"],["uvvp","video/vnd.dece.pd"],["uvvs","video/vnd.dece.sd"],["uvvt","application/vnd.dece.ttml+xml"],["uvvu","video/vnd.uvvu.mp4"],["uvvv","video/vnd.dece.video"],["uvvx","application/vnd.dece.unspecified"],["uvvz","application/vnd.dece.zip"],["uvx","application/vnd.dece.unspecified"],["uvz","application/vnd.dece.zip"],["vbox","application/x-virtualbox-vbox"],["vbox-extpack","application/x-virtualbox-vbox-extpack"],["vcard","text/vcard"],["vcd","application/x-cdlink"],["vcf","text/x-vcard"],["vcg","application/vnd.groove-vcard"],["vcs","text/x-vcalendar"],["vcx","application/vnd.vcx"],["vdi","application/x-virtualbox-vdi"],["vds","model/vnd.sap.vds"],["vhd","application/x-virtualbox-vhd"],["vis","application/vnd.visionary"],["viv","video/vnd.vivo"],["vlc","application/videolan"],["vmdk","application/x-virtualbox-vmdk"],["vob","video/x-ms-vob"],["vor","application/vnd.stardivision.writer"],["vox","application/x-authorware-bin"],["vrml","model/vrml"],["vsd","application/vnd.visio"],["vsf","application/vnd.vsf"],["vss","application/vnd.visio"],["vst","application/vnd.visio"],["vsw","application/vnd.visio"],["vtf","image/vnd.valve.source.texture"],["vtt","text/vtt"],["vtu","model/vnd.vtu"],["vxml","application/voicexml+xml"],["w3d","application/x-director"],["wad","application/x-doom"],["wadl","application/vnd.sun.wadl+xml"],["war","application/java-archive"],["wasm","application/wasm"],["wav","audio/x-wav"],["wax","audio/x-ms-wax"],["wbmp","image/vnd.wap.wbmp"],["wbs","application/vnd.criticaltools.wbs+xml"],["wbxml","application/wbxml"],["wcm","application/vnd.ms-works"],["wdb","application/vnd.ms-works"],["wdp","image/vnd.ms-photo"],["weba","audio/webm"],["webapp","application/x-web-app-manifest+json"],["webm","video/webm"],["webmanifest","application/manifest+json"],["webp","image/webp"],["wg","application/vnd.pmi.widget"],["wgt","application/widget"],["wks","application/vnd.ms-works"],["wm","video/x-ms-wm"],["wma","audio/x-ms-wma"],["wmd","application/x-ms-wmd"],["wmf","image/wmf"],["wml","text/vnd.wap.wml"],["wmlc","application/wmlc"],["wmls","text/vnd.wap.wmlscript"],["wmlsc","application/vnd.wap.wmlscriptc"],["wmv","video/x-ms-wmv"],["wmx","video/x-ms-wmx"],["wmz","application/x-msmetafile"],["woff","font/woff"],["woff2","font/woff2"],["word","application/msword"],["wpd","application/vnd.wordperfect"],["wpl","application/vnd.ms-wpl"],["wps","application/vnd.ms-works"],["wqd","application/vnd.wqd"],["wri","application/x-mswrite"],["wrl","model/vrml"],["wsc","message/vnd.wfa.wsc"],["wsdl","application/wsdl+xml"],["wspolicy","application/wspolicy+xml"],["wtb","application/vnd.webturbo"],["wvx","video/x-ms-wvx"],["x3d","model/x3d+xml"],["x3db","model/x3d+fastinfoset"],["x3dbz","model/x3d+binary"],["x3dv","model/x3d-vrml"],["x3dvz","model/x3d+vrml"],["x3dz","model/x3d+xml"],["x32","application/x-authorware-bin"],["x_b","model/vnd.parasolid.transmit.binary"],["x_t","model/vnd.parasolid.transmit.text"],["xaml","application/xaml+xml"],["xap","application/x-silverlight-app"],["xar","application/vnd.xara"],["xav","application/xcap-att+xml"],["xbap","application/x-ms-xbap"],["xbd","application/vnd.fujixerox.docuworks.binder"],["xbm","image/x-xbitmap"],["xca","application/xcap-caps+xml"],["xcs","application/calendar+xml"],["xdf","application/xcap-diff+xml"],["xdm","application/vnd.syncml.dm+xml"],["xdp","application/vnd.adobe.xdp+xml"],["xdssc","application/dssc+xml"],["xdw","application/vnd.fujixerox.docuworks"],["xel","application/xcap-el+xml"],["xenc","application/xenc+xml"],["xer","application/patch-ops-error+xml"],["xfdf","application/vnd.adobe.xfdf"],["xfdl","application/vnd.xfdl"],["xht","application/xhtml+xml"],["xhtml","application/xhtml+xml"],["xhvml","application/xv+xml"],["xif","image/vnd.xiff"],["xl","application/excel"],["xla","application/vnd.ms-excel"],["xlam","application/vnd.ms-excel.addin.macroEnabled.12"],["xlc","application/vnd.ms-excel"],["xlf","application/xliff+xml"],["xlm","application/vnd.ms-excel"],["xls","application/vnd.ms-excel"],["xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"],["xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xlt","application/vnd.ms-excel"],["xltm","application/vnd.ms-excel.template.macroEnabled.12"],["xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"],["xlw","application/vnd.ms-excel"],["xm","audio/xm"],["xml","application/xml"],["xns","application/xcap-ns+xml"],["xo","application/vnd.olpc-sugar"],["xop","application/xop+xml"],["xpi","application/x-xpinstall"],["xpl","application/xproc+xml"],["xpm","image/x-xpixmap"],["xpr","application/vnd.is-xpr"],["xps","application/vnd.ms-xpsdocument"],["xpw","application/vnd.intercon.formnet"],["xpx","application/vnd.intercon.formnet"],["xsd","application/xml"],["xsl","application/xml"],["xslt","application/xslt+xml"],["xsm","application/vnd.syncml+xml"],["xspf","application/xspf+xml"],["xul","application/vnd.mozilla.xul+xml"],["xvm","application/xv+xml"],["xvml","application/xv+xml"],["xwd","image/x-xwindowdump"],["xyz","chemical/x-xyz"],["xz","application/x-xz"],["yaml","text/yaml"],["yang","application/yang"],["yin","application/yin+xml"],["yml","text/yaml"],["ymp","text/x-suse-ymp"],["z","application/x-compress"],["z1","application/x-zmachine"],["z2","application/x-zmachine"],["z3","application/x-zmachine"],["z4","application/x-zmachine"],["z5","application/x-zmachine"],["z6","application/x-zmachine"],["z7","application/x-zmachine"],["z8","application/x-zmachine"],["zaz","application/vnd.zzazz.deck+xml"],["zip","application/zip"],["zir","application/vnd.zul"],["zirz","application/vnd.zul"],["zmm","application/vnd.handheld-entertainment+xml"],["zsh","text/x-scriptzsh"]]);function lt(e,t,i){const n=ua(e),{webkitRelativePath:r}=e,o=typeof t=="string"?t:typeof r=="string"&&r.length>0?r:`./${e.name}`;return typeof n.path!="string"&&zi(n,"path",o),zi(n,"relativePath",o),n}function ua(e){const{name:t}=e;if(t&&t.lastIndexOf(".")!==-1&&!e.type){const n=t.split(".").pop().toLowerCase(),r=pa.get(n);r&&Object.defineProperty(e,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return e}function zi(e,t,i){Object.defineProperty(e,t,{value:i,writable:!1,configurable:!1,enumerable:!0})}const da=[".DS_Store","Thumbs.db"];function fa(e){return Qe(this,void 0,void 0,function*(){return qt(e)&&ma(e.dataTransfer)?ha(e.dataTransfer,e.type):xa(e)?va(e):Array.isArray(e)&&e.every(t=>"getFile"in t&&typeof t.getFile=="function")?ga(e):[]})}function ma(e){return qt(e)}function xa(e){return qt(e)&&qt(e.target)}function qt(e){return typeof e=="object"&&e!==null}function va(e){return Tn(e.target.files).map(t=>lt(t))}function ga(e){return Qe(this,void 0,void 0,function*(){return(yield Promise.all(e.map(i=>i.getFile()))).map(i=>lt(i))})}function ha(e,t){return Qe(this,void 0,void 0,function*(){if(e.items){const i=Tn(e.items).filter(r=>r.kind==="file");if(t!=="drop")return i;const n=yield Promise.all(i.map(ba));return Li(Mi(n))}return Li(Tn(e.files).map(i=>lt(i)))})}function Li(e){return e.filter(t=>da.indexOf(t.name)===-1)}function Tn(e){if(e===null)return[];const t=[];for(let i=0;i<e.length;i++){const n=e[i];t.push(n)}return t}function ba(e){if(typeof e.webkitGetAsEntry!="function")return $i(e);const t=e.webkitGetAsEntry();return t&&t.isDirectory?Ni(t):$i(e,t)}function Mi(e){return e.reduce((t,i)=>[...t,...Array.isArray(i)?Mi(i):[i]],[])}function $i(e,t){return Qe(this,void 0,void 0,function*(){var i;if(globalThis.isSecureContext&&typeof e.getAsFileSystemHandle=="function"){const o=yield e.getAsFileSystemHandle();if(o===null)throw new Error(`${e} is not a File`);if(o!==void 0){const a=yield o.getFile();return a.handle=o,lt(a)}}const n=e.getAsFile();if(!n)throw new Error(`${e} is not a File`);return lt(n,(i=t==null?void 0:t.fullPath)!==null&&i!==void 0?i:void 0)})}function ya(e){return Qe(this,void 0,void 0,function*(){return e.isDirectory?Ni(e):Ea(e)})}function Ni(e){const t=e.createReader();return new Promise((i,n)=>{const r=[];function o(){t.readEntries(a=>Qe(this,void 0,void 0,function*(){if(a.length){const s=Promise.all(a.map(ya));r.push(s),o()}else try{const s=yield Promise.all(r);i(s)}catch(s){n(s)}}),a=>{n(a)})}o()})}function Ea(e){return Qe(this,void 0,void 0,function*(){return new Promise((t,i)=>{e.file(n=>{const r=lt(n,e.fullPath);t(r)},n=>{i(n)})})})}var Ut={},qi;function wa(){return qi||(qi=1,Ut.__esModule=!0,Ut.default=function(e,t){if(e&&t){var i=Array.isArray(t)?t:t.split(",");if(i.length===0)return!0;var n=e.name||"",r=(e.type||"").toLowerCase(),o=r.replace(/\/.*$/,"");return i.some(function(a){var s=a.trim().toLowerCase();return s.charAt(0)==="."?n.toLowerCase().endsWith(s):s.endsWith("/*")?o===s.replace(/\/.*$/,""):r===s})}return!0}),Ut}var Sa=wa();const Rn=Je(Sa);function Ui(e){return ka(e)||Ra(e)||Yi(e)||Ta()}function Ta(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
45
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
46
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
47
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
48
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function tr(e,t){if(e){if(typeof e=="string")return _n(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);if(i==="Object"&&e.constructor&&(i=e.constructor.name),i==="Map"||i==="Set")return Array.from(e);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return _n(e,t)}}function _n(e,t){(t==null||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}function ts(e,t){var i=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(i!=null){var n=[],r=!0,o=!1,a,s;try{for(i=i.call(e);!(r=(a=i.next()).done)&&(n.push(a.value),!(t&&n.length===t));r=!0);}catch(c){o=!0,s=c}finally{try{!r&&i.return!=null&&i.return()}finally{if(o)throw s}}return n}}function ns(e){if(Array.isArray(e))return e}function nr(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),i.push.apply(i,n)}return i}function ge(e){for(var t=1;t<arguments.length;t++){var i=arguments[t]!=null?arguments[t]:{};t%2?nr(Object(i),!0).forEach(function(n){An(e,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):nr(Object(i)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))})}return e}function An(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function Ht(e,t){if(e==null)return{};var i=is(e,t),n,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function is(e,t){if(e==null)return{};var i={},n=Object.keys(e),r,o;for(o=0;o<n.length;o++)r=n[o],!(t.indexOf(r)>=0)&&(i[r]=e[r]);return i}var Cn=R.forwardRef(function(e,t){var i=e.children,n=Ht(e,Ha),r=rr(n),o=r.open,a=Ht(r,Ya);return R.useImperativeHandle(t,function(){return{open:o}},[o]),R.createElement(R.Fragment,null,i(ge(ge({},a),{},{open:o})))});Cn.displayName="Dropzone";var ir={disabled:!1,getFilesFromEvent:fa,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1,autoFocus:!1};Cn.defaultProps=ir,Cn.propTypes={children:se.func,accept:se.objectOf(se.arrayOf(se.string)),multiple:se.bool,preventDropOnDocument:se.bool,noClick:se.bool,noKeyboard:se.bool,noDrag:se.bool,noDragEventsBubbling:se.bool,minSize:se.number,maxSize:se.number,maxFiles:se.number,disabled:se.bool,getFilesFromEvent:se.func,onFileDialogCancel:se.func,onFileDialogOpen:se.func,useFsAccessApi:se.bool,autoFocus:se.bool,onDragEnter:se.func,onDragLeave:se.func,onDragOver:se.func,onDrop:se.func,onDropAccepted:se.func,onDropRejected:se.func,onError:se.func,validator:se.func};var Dn={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function rr(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=ge(ge({},ir),e),i=t.accept,n=t.disabled,r=t.getFilesFromEvent,o=t.maxSize,a=t.minSize,s=t.multiple,c=t.maxFiles,p=t.onDragEnter,l=t.onDragLeave,d=t.onDragOver,f=t.onDrop,m=t.onDropAccepted,x=t.onDropRejected,g=t.onFileDialogCancel,y=t.onFileDialogOpen,h=t.useFsAccessApi,A=t.autoFocus,C=t.preventDropOnDocument,k=t.noClick,b=t.noKeyboard,D=t.noDrag,L=t.noDragEventsBubbling,B=t.onError,W=t.validator,J=R.useMemo(function(){return Ua(i)},[i]),ae=R.useMemo(function(){return qa(i)},[i]),fe=R.useMemo(function(){return typeof y=="function"?y:or},[y]),Z=R.useMemo(function(){return typeof g=="function"?g:or},[g]),V=R.useRef(null),ce=R.useRef(null),Se=R.useReducer(rs,Dn),Te=On(Se,2),be=Te[0],he=Te[1],S=be.isFocused,O=be.isFileDialogActive,z=R.useRef(typeof window<"u"&&window.isSecureContext&&h&&Na()),$=function(){!z.current&&O&&setTimeout(function(){if(ce.current){var F=ce.current.files;F.length||(he({type:"closeDialog"}),Z())}},300)};R.useEffect(function(){return window.addEventListener("focus",$,!1),function(){window.removeEventListener("focus",$,!1)}},[ce,O,Z,z]);var P=R.useRef([]),H=function(F){V.current&&V.current.contains(F.target)||(F.preventDefault(),P.current=[])};R.useEffect(function(){return C&&(document.addEventListener("dragover",Zi,!1),document.addEventListener("drop",H,!1)),function(){C&&(document.removeEventListener("dragover",Zi),document.removeEventListener("drop",H))}},[V,C]),R.useEffect(function(){return!n&&A&&V.current&&V.current.focus(),function(){}},[V,A,n]);var I=R.useCallback(function(T){B?B(T):console.error(T)},[B]),N=R.useCallback(function(T){T.preventDefault(),T.persist(),Ce(T),P.current=[].concat(Ga(P.current),[T.target]),Vt(T)&&Promise.resolve(r(T)).then(function(F){if(!(Wt(T)&&!L)){var le=F.length,de=le>0&&za({files:F,accept:J,minSize:a,maxSize:o,multiple:s,maxFiles:c,validator:W}),ke=le>0&&!de;he({isDragAccept:de,isDragReject:ke,isDragActive:!0,type:"setDraggedFiles"}),p&&p(T)}}).catch(function(F){return I(F)})},[r,p,I,L,J,a,o,s,c,W]),Y=R.useCallback(function(T){T.preventDefault(),T.persist(),Ce(T);var F=Vt(T);if(F&&T.dataTransfer)try{T.dataTransfer.dropEffect="copy"}catch{}return F&&d&&d(T),!1},[d,L]),G=R.useCallback(function(T){T.preventDefault(),T.persist(),Ce(T);var F=P.current.filter(function(de){return V.current&&V.current.contains(de)}),le=F.indexOf(T.target);le!==-1&&F.splice(le,1),P.current=F,!(F.length>0)&&(he({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),Vt(T)&&l&&l(T))},[V,l,L]),M=R.useCallback(function(T,F){var le=[],de=[];T.forEach(function(ke){var Ke=Gi(ke,J),Ue=On(Ke,2),ot=Ue[0],Dt=Ue[1],jt=Xi(ke,a,o),mt=On(jt,2),Ft=mt[0],Pt=mt[1],It=W?W(ke):null;if(ot&&Ft&&!It)le.push(ke);else{var Bt=[Dt,Pt];It&&(Bt=Bt.concat(It)),de.push({file:ke,errors:Bt.filter(function(zt){return zt})})}}),(!s&&le.length>1||s&&c>=1&&le.length>c)&&(le.forEach(function(ke){de.push({file:ke,errors:[Ba]})}),le.splice(0)),he({acceptedFiles:le,fileRejections:de,isDragReject:de.length>0,type:"setFiles"}),f&&f(le,de,F),de.length>0&&x&&x(de,F),le.length>0&&m&&m(le,F)},[he,s,J,a,o,c,f,m,x,W]),xe=R.useCallback(function(T){T.preventDefault(),T.persist(),Ce(T),P.current=[],Vt(T)&&Promise.resolve(r(T)).then(function(F){Wt(T)&&!L||M(F,T)}).catch(function(F){return I(F)}),he({type:"reset"})},[r,M,I,L]),E=R.useCallback(function(){if(z.current){he({type:"openDialog"}),fe();var T={multiple:s,types:ae};window.showOpenFilePicker(T).then(function(F){return r(F)}).then(function(F){M(F,null),he({type:"closeDialog"})}).catch(function(F){Wa(F)?(Z(F),he({type:"closeDialog"})):Va(F)?(z.current=!1,ce.current?(ce.current.value=null,ce.current.click()):I(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):I(F)});return}ce.current&&(he({type:"openDialog"}),fe(),ce.current.value=null,ce.current.click())},[he,fe,Z,h,M,I,ae,s]),K=R.useCallback(function(T){!V.current||!V.current.isEqualNode(T.target)||(T.key===" "||T.key==="Enter"||T.keyCode===32||T.keyCode===13)&&(T.preventDefault(),E())},[V,E]),ue=R.useCallback(function(){he({type:"focus"})},[]),te=R.useCallback(function(){he({type:"blur"})},[]),Oe=R.useCallback(function(){k||($a()?setTimeout(E,0):E())},[k,E]),Ae=function(F){return n?null:F},ve=function(F){return b?null:Ae(F)},me=function(F){return D?null:Ae(F)},Ce=function(F){L&&F.stopPropagation()},dt=R.useMemo(function(){return function(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},F=T.refKey,le=F===void 0?"ref":F,de=T.role,ke=T.onKeyDown,Ke=T.onFocus,Ue=T.onBlur,ot=T.onClick,Dt=T.onDragEnter,jt=T.onDragOver,mt=T.onDragLeave,Ft=T.onDrop,Pt=Ht(T,Ka);return ge(ge(An({onKeyDown:ve(Le(ke,K)),onFocus:ve(Le(Ke,ue)),onBlur:ve(Le(Ue,te)),onClick:Ae(Le(ot,Oe)),onDragEnter:me(Le(Dt,N)),onDragOver:me(Le(jt,Y)),onDragLeave:me(Le(mt,G)),onDrop:me(Le(Ft,xe)),role:typeof de=="string"&&de!==""?de:"presentation"},le,V),!n&&!b?{tabIndex:0}:{}),Pt)}},[V,K,ue,te,Oe,N,Y,G,xe,b,D,n]),Ye=R.useCallback(function(T){T.stopPropagation()},[]),ft=R.useMemo(function(){return function(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},F=T.refKey,le=F===void 0?"ref":F,de=T.onChange,ke=T.onClick,Ke=Ht(T,Ja),Ue=An({accept:J,multiple:s,type:"file",style:{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},onChange:Ae(Le(de,xe)),onClick:Ae(Le(ke,Ye)),tabIndex:-1},le,ce);return ge(ge({},Ue),Ke)}},[ce,i,s,xe,n]);return ge(ge({},be),{},{isFocused:S&&!n,getRootProps:dt,getInputProps:ft,rootRef:V,inputRef:ce,open:Ae(E)})}function rs(e,t){switch(t.type){case"focus":return ge(ge({},e),{},{isFocused:!0});case"blur":return ge(ge({},e),{},{isFocused:!1});case"openDialog":return ge(ge({},Dn),{},{isFileDialogActive:!0});case"closeDialog":return ge(ge({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return ge(ge({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return ge(ge({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections,isDragReject:t.isDragReject});case"reset":return ge({},Dn);default:return e}}function or(){}const os={WAV_MIME_TYPES:["audio/wav","audio/x-wav","audio/wave","audio/x-pn-wav"],MP3_MIME_TYPES:["audio/mpeg","audio/mp3","audio/x-mpeg","audio/x-mp3","audio/x-mpeg-3"],FLAC_MIME_TYPES:["audio/flac"]},as=10*1e3,ar="[Audio.getDurationSeconds]",ss=async(e,{throwError:t}={})=>new Promise((i,n)=>{if(typeof window>"u")return n(new Error("getDurationSeconds is only usable in the browser"));const r=URL.createObjectURL(e),o=new Audio,a=()=>{o.src="",URL.revokeObjectURL(r)},s=setTimeout(()=>{a(),console.error(ar,"Timeout",e.name,e.size,e.type),i(0)},as);o.addEventListener("loadedmetadata",()=>{const c=o.duration;clearTimeout(s),a(),i(c)},{once:!0}),o.addEventListener("error",c=>{clearTimeout(s),a(),t?(console.error(ar,"Error",e.name,e.size,e.type,c),n(e)):i(0)},{once:!0}),o.src=r}),cs=e=>{const t=new Map;return e.forEach(i=>{t.set(`${i.name}-${i.size}`,i)}),Array.from(t.values())},ls=e=>new Promise(t=>{const i=new FileReader;i.onloadend=n=>{var a;const r=new Uint8Array((a=n.target)==null?void 0:a.result),o=ta.filetypemime(r);t(o)},i.readAsArrayBuffer(e)}),ps=async e=>{try{const t=await ss(e),i=e;return i.duration=t,i}catch{throw new Error(`Failed to get audio duration for ${e.name}`)}},us=e=>{for(const[t,i]of Object.entries(os)){const n=t.toLowerCase().split("_")[0];if(i.includes(e))return n}},ds=async e=>{var s;const t=await ls(e),i=((s=e==null?void 0:e.name)==null?void 0:s.split(".").pop())||"",n=t[0]||e.type,r=us(n);if(r===i||!n||!r)return e;const o=`${e.name.split(".").slice(0,-1).join(".")}.${r}`;return new File([e],o,{type:n})};class fs extends Error{constructor(){super("Max file size exceeded")}}class ms extends Error{constructor(){super("Min file size exceeded")}}class xs extends Error{constructor(){super("File duration too long")}}class vs extends Error{constructor(){super("Invalid file type")}}const gs=e=>({handleDurationError:t=>{var i;console.log("handleDurationError",t),(i=e.onError)==null||i.call(e,new xs)},handleMaxSizeError:t=>{var i;console.log("handleMaxSizeError",t),(i=e.onError)==null||i.call(e,new fs)},handleMinSizeError:t=>{var i;console.log("handleMinSizeError",t),(i=e.onError)==null||i.call(e,new ms)},handleUnknownError:t=>{var i;console.log("handleUnknownError",t),(i=e.onError)==null||i.call(e,new Error("Unknown error"))},handleInvalidTypeError:t=>{var i;console.log("handleInvalidTypeError",t),(i=e.onError)==null||i.call(e,new vs)}}),hs=e=>{const{handleDurationError:t,handleMaxSizeError:i,handleMinSizeError:n,handleUnknownError:r,handleInvalidTypeError:o}=gs(e);return{dropzone:rr({accept:{"audio/wav":[".wav"],"audio/mp3":[".mp3"],"audio/flac":[".flac"]},noClick:!0,minSize:e.minSizeBytes,maxSize:e.maxSizeBytes,onDropAccepted:async s=>{const c=await Promise.all(s.map(p=>ds(p)));try{const l=(await Promise.all(c.map(ps))).filter(x=>x.duration<=(e.maxDurationS??1/0)?!0:(t(x),!1)),d=e.files??[],f=cs([...d,...l]),m=f.slice(0,e.maxFileCount??f.length);e.onFileAccepted(m)}catch(p){r(p)}},onDropRejected:s=>{s.forEach(c=>{for(const p of c.errors)p.code==="file-too-large"&&i(c.file),p.code==="file-too-small"&&n(c.file),p.code==="file-invalid-type"&&o(c.file)})}}),...e}},sr=R.createContext({}),bs=()=>R.useContext(sr),ys=bi(Xo,{position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",width:"100%",gap:"8px",height:"100%"}),cr=({children:e,...t})=>{const i=hs(t),{files:n,onFileAccepted:r,onDelete:o,maxFileCount:a,maxSizeBytes:s,minSizeBytes:c,maxDurationS:p,onError:l,...d}=t;return bt.jsx(sr.Provider,{value:i,children:bt.jsxs(ys,{...d,...i.dropzone.getRootProps(),children:[bt.jsx("input",{...i.dropzone.getInputProps()}),e]})})};function lr(e,t){return function(){return e.apply(t,arguments)}}const{toString:Es}=Object.prototype,{getPrototypeOf:jn}=Object,Yt=(e=>t=>{const i=Es.call(t);return e[i]||(e[i]=i.slice(8,-1).toLowerCase())})(Object.create(null)),ze=e=>(e=e.toLowerCase(),t=>Yt(t)===e),Kt=e=>t=>typeof t===e,{isArray:pt}=Array,Tt=Kt("undefined");function ws(e){return e!==null&&!Tt(e)&&e.constructor!==null&&!Tt(e.constructor)&&Ie(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const pr=ze("ArrayBuffer");function Ss(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&pr(e.buffer),t}const Ts=Kt("string"),Ie=Kt("function"),ur=Kt("number"),Jt=e=>e!==null&&typeof e=="object",Rs=e=>e===!0||e===!1,Gt=e=>{if(Yt(e)!=="object")return!1;const t=jn(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},ks=ze("Date"),Os=ze("File"),_s=ze("Blob"),As=ze("FileList"),Cs=e=>Jt(e)&&Ie(e.pipe),Ds=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Ie(e.append)&&((t=Yt(e))==="formdata"||t==="object"&&Ie(e.toString)&&e.toString()==="[object FormData]"))},js=ze("URLSearchParams"),[Fs,Ps,Is,Bs]=["ReadableStream","Request","Response","Headers"].map(ze),zs=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Rt(e,t,{allOwnKeys:i=!1}={}){if(e===null||typeof e>"u")return;let n,r;if(typeof e!="object"&&(e=[e]),pt(e))for(n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else{const o=i?Object.getOwnPropertyNames(e):Object.keys(e),a=o.length;let s;for(n=0;n<a;n++)s=o[n],t.call(null,e[s],s,e)}}function dr(e,t){t=t.toLowerCase();const i=Object.keys(e);let n=i.length,r;for(;n-- >0;)if(r=i[n],t===r.toLowerCase())return r;return null}const tt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,fr=e=>!Tt(e)&&e!==tt;function Fn(){const{caseless:e}=fr(this)&&this||{},t={},i=(n,r)=>{const o=e&&dr(t,r)||r;Gt(t[o])&&Gt(n)?t[o]=Fn(t[o],n):Gt(n)?t[o]=Fn({},n):pt(n)?t[o]=n.slice():t[o]=n};for(let n=0,r=arguments.length;n<r;n++)arguments[n]&&Rt(arguments[n],i);return t}const Ls=(e,t,i,{allOwnKeys:n}={})=>(Rt(t,(r,o)=>{i&&Ie(r)?e[o]=lr(r,i):e[o]=r},{allOwnKeys:n}),e),Ms=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),$s=(e,t,i,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),i&&Object.assign(e.prototype,i)},Ns=(e,t,i,n)=>{let r,o,a;const s={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),o=r.length;o-- >0;)a=r[o],(!n||n(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=i!==!1&&jn(e)}while(e&&(!i||i(e,t))&&e!==Object.prototype);return t},qs=(e,t,i)=>{e=String(e),(i===void 0||i>e.length)&&(i=e.length),i-=t.length;const n=e.indexOf(t,i);return n!==-1&&n===i},Us=e=>{if(!e)return null;if(pt(e))return e;let t=e.length;if(!ur(t))return null;const i=new Array(t);for(;t-- >0;)i[t]=e[t];return i},Ws=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&jn(Uint8Array)),Vs=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},Hs=(e,t)=>{let i;const n=[];for(;(i=e.exec(t))!==null;)n.push(i);return n},Ys=ze("HTMLFormElement"),Ks=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(i,n,r){return n.toUpperCase()+r}),mr=(({hasOwnProperty:e})=>(t,i)=>e.call(t,i))(Object.prototype),Js=ze("RegExp"),xr=(e,t)=>{const i=Object.getOwnPropertyDescriptors(e),n={};Rt(i,(r,o)=>{let a;(a=t(r,o,e))!==!1&&(n[o]=a||r)}),Object.defineProperties(e,n)},Gs=e=>{xr(e,(t,i)=>{if(Ie(e)&&["arguments","caller","callee"].indexOf(i)!==-1)return!1;const n=e[i];if(Ie(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")})}})},Xs=(e,t)=>{const i={},n=r=>{r.forEach(o=>{i[o]=!0})};return pt(e)?n(e):n(String(e).split(t)),i},Zs=()=>{},Qs=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Pn="abcdefghijklmnopqrstuvwxyz",vr="0123456789",gr={DIGIT:vr,ALPHA:Pn,ALPHA_DIGIT:Pn+Pn.toUpperCase()+vr},ec=(e=16,t=gr.ALPHA_DIGIT)=>{let i="";const{length:n}=t;for(;e--;)i+=t[Math.random()*n|0];return i};function tc(e){return!!(e&&Ie(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const nc=e=>{const t=new Array(10),i=(n,r)=>{if(Jt(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[r]=n;const o=pt(n)?[]:{};return Rt(n,(a,s)=>{const c=i(a,r+1);!Tt(c)&&(o[s]=c)}),t[r]=void 0,o}}return n};return i(e,0)},ic=ze("AsyncFunction"),rc=e=>e&&(Jt(e)||Ie(e))&&Ie(e.then)&&Ie(e.catch),hr=((e,t)=>e?setImmediate:t?((i,n)=>(tt.addEventListener("message",({source:r,data:o})=>{r===tt&&o===i&&n.length&&n.shift()()},!1),r=>{n.push(r),tt.postMessage(i,"*")}))(`axios@${Math.random()}`,[]):i=>setTimeout(i))(typeof setImmediate=="function",Ie(tt.postMessage)),oc=typeof queueMicrotask<"u"?queueMicrotask.bind(tt):typeof process<"u"&&process.nextTick||hr,v={isArray:pt,isArrayBuffer:pr,isBuffer:ws,isFormData:Ds,isArrayBufferView:Ss,isString:Ts,isNumber:ur,isBoolean:Rs,isObject:Jt,isPlainObject:Gt,isReadableStream:Fs,isRequest:Ps,isResponse:Is,isHeaders:Bs,isUndefined:Tt,isDate:ks,isFile:Os,isBlob:_s,isRegExp:Js,isFunction:Ie,isStream:Cs,isURLSearchParams:js,isTypedArray:Ws,isFileList:As,forEach:Rt,merge:Fn,extend:Ls,trim:zs,stripBOM:Ms,inherits:$s,toFlatObject:Ns,kindOf:Yt,kindOfTest:ze,endsWith:qs,toArray:Us,forEachEntry:Vs,matchAll:Hs,isHTMLForm:Ys,hasOwnProperty:mr,hasOwnProp:mr,reduceDescriptors:xr,freezeMethods:Gs,toObjectSet:Xs,toCamelCase:Ks,noop:Zs,toFiniteNumber:Qs,findKey:dr,global:tt,isContextDefined:fr,ALPHABET:gr,generateString:ec,isSpecCompliantForm:tc,toJSONObject:nc,isAsyncFn:ic,isThenable:rc,setImmediate:hr,asap:oc};function U(e,t,i,n,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),i&&(this.config=i),n&&(this.request=n),r&&(this.response=r,this.status=r.status?r.status:null)}v.inherits(U,Error,{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:v.toJSONObject(this.config),code:this.code,status:this.status}}});const br=U.prototype,yr={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{yr[e]={value:e}}),Object.defineProperties(U,yr),Object.defineProperty(br,"isAxiosError",{value:!0}),U.from=(e,t,i,n,r,o)=>{const a=Object.create(br);return v.toFlatObject(e,a,function(c){return c!==Error.prototype},s=>s!=="isAxiosError"),U.call(a,e.message,t,i,n,r),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};const ac=null;function In(e){return v.isPlainObject(e)||v.isArray(e)}function Er(e){return v.endsWith(e,"[]")?e.slice(0,-2):e}function wr(e,t,i){return e?e.concat(t).map(function(r,o){return r=Er(r),!i&&o?"["+r+"]":r}).join(i?".":""):t}function sc(e){return v.isArray(e)&&!e.some(In)}const cc=v.toFlatObject(v,{},null,function(t){return/^is[A-Z]/.test(t)});function Xt(e,t,i){if(!v.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,i=v.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,y){return!v.isUndefined(y[g])});const n=i.metaTokens,r=i.visitor||l,o=i.dots,a=i.indexes,c=(i.Blob||typeof Blob<"u"&&Blob)&&v.isSpecCompliantForm(t);if(!v.isFunction(r))throw new TypeError("visitor must be a function");function p(x){if(x===null)return"";if(v.isDate(x))return x.toISOString();if(!c&&v.isBlob(x))throw new U("Blob is not supported. Use a Buffer instead.");return v.isArrayBuffer(x)||v.isTypedArray(x)?c&&typeof Blob=="function"?new Blob([x]):Buffer.from(x):x}function l(x,g,y){let h=x;if(x&&!y&&typeof x=="object"){if(v.endsWith(g,"{}"))g=n?g:g.slice(0,-2),x=JSON.stringify(x);else if(v.isArray(x)&&sc(x)||(v.isFileList(x)||v.endsWith(g,"[]"))&&(h=v.toArray(x)))return g=Er(g),h.forEach(function(C,k){!(v.isUndefined(C)||C===null)&&t.append(a===!0?wr([g],k,o):a===null?g:g+"[]",p(C))}),!1}return In(x)?!0:(t.append(wr(y,g,o),p(x)),!1)}const d=[],f=Object.assign(cc,{defaultVisitor:l,convertValue:p,isVisitable:In});function m(x,g){if(!v.isUndefined(x)){if(d.indexOf(x)!==-1)throw Error("Circular reference detected in "+g.join("."));d.push(x),v.forEach(x,function(h,A){(!(v.isUndefined(h)||h===null)&&r.call(t,h,v.isString(A)?A.trim():A,g,f))===!0&&m(h,g?g.concat(A):[A])}),d.pop()}}if(!v.isObject(e))throw new TypeError("data must be an object");return m(e),t}function Sr(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Bn(e,t){this._pairs=[],e&&Xt(e,this,t)}const Tr=Bn.prototype;Tr.append=function(t,i){this._pairs.push([t,i])},Tr.toString=function(t){const i=t?function(n){return t.call(this,n,Sr)}:Sr;return this._pairs.map(function(r){return i(r[0])+"="+i(r[1])},"").join("&")};function lc(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Rr(e,t,i){if(!t)return e;const n=i&&i.encode||lc;v.isFunction(i)&&(i={serialize:i});const r=i&&i.serialize;let o;if(r?o=r(t,i):o=v.isURLSearchParams(t)?t.toString():new Bn(t,i).toString(n),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class kr{constructor(){this.handlers=[]}use(t,i,n){return this.handlers.push({fulfilled:t,rejected:i,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){v.forEach(this.handlers,function(n){n!==null&&t(n)})}}const Or={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},pc={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Bn,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},zn=typeof window<"u"&&typeof document<"u",Ln=typeof navigator=="object"&&navigator||void 0,uc=zn&&(!Ln||["ReactNative","NativeScript","NS"].indexOf(Ln.product)<0),dc=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",fc=zn&&window.location.href||"http://localhost",_e={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:zn,hasStandardBrowserEnv:uc,hasStandardBrowserWebWorkerEnv:dc,navigator:Ln,origin:fc},Symbol.toStringTag,{value:"Module"})),...pc};function mc(e,t){return Xt(e,new _e.classes.URLSearchParams,Object.assign({visitor:function(i,n,r,o){return _e.isNode&&v.isBuffer(i)?(this.append(n,i.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function xc(e){return v.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function vc(e){const t={},i=Object.keys(e);let n;const r=i.length;let o;for(n=0;n<r;n++)o=i[n],t[o]=e[o];return t}function _r(e){function t(i,n,r,o){let a=i[o++];if(a==="__proto__")return!0;const s=Number.isFinite(+a),c=o>=i.length;return a=!a&&v.isArray(r)?r.length:a,c?(v.hasOwnProp(r,a)?r[a]=[r[a],n]:r[a]=n,!s):((!r[a]||!v.isObject(r[a]))&&(r[a]=[]),t(i,n,r[a],o)&&v.isArray(r[a])&&(r[a]=vc(r[a])),!s)}if(v.isFormData(e)&&v.isFunction(e.entries)){const i={};return v.forEachEntry(e,(n,r)=>{t(xc(n),r,i,0)}),i}return null}function gc(e,t,i){if(v.isString(e))try{return(t||JSON.parse)(e),v.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(0,JSON.stringify)(e)}const kt={transitional:Or,adapter:["xhr","http","fetch"],transformRequest:[function(t,i){const n=i.getContentType()||"",r=n.indexOf("application/json")>-1,o=v.isObject(t);if(o&&v.isHTMLForm(t)&&(t=new FormData(t)),v.isFormData(t))return r?JSON.stringify(_r(t)):t;if(v.isArrayBuffer(t)||v.isBuffer(t)||v.isStream(t)||v.isFile(t)||v.isBlob(t)||v.isReadableStream(t))return t;if(v.isArrayBufferView(t))return t.buffer;if(v.isURLSearchParams(t))return i.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return mc(t,this.formSerializer).toString();if((s=v.isFileList(t))||n.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Xt(s?{"files[]":t}:t,c&&new c,this.formSerializer)}}return o||r?(i.setContentType("application/json",!1),gc(t)):t}],transformResponse:[function(t){const i=this.transitional||kt.transitional,n=i&&i.forcedJSONParsing,r=this.responseType==="json";if(v.isResponse(t)||v.isReadableStream(t))return t;if(t&&v.isString(t)&&(n&&!this.responseType||r)){const a=!(i&&i.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?U.from(s,U.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:_e.classes.FormData,Blob:_e.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};v.forEach(["delete","get","head","post","put","patch"],e=>{kt.headers[e]={}});const hc=v.toObjectSet(["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"]),bc=e=>{const t={};let i,n,r;return e&&e.split(`
|
49
|
-
`).forEach(function(a){r=a.indexOf(":"),i=a.substring(0,r).trim().toLowerCase(),n=a.substring(r+1).trim(),!(!i||t[i]&&
|
50
|
-
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...i){const n=new this(t);return i.forEach(r=>n.set(r)),n}static accessor(t){const n=(this[Ar]=this[Ar]={accessors:{}}).accessors,r=this.prototype;function o(a){const s=Ot(a);n[s]||(Sc(r,a),n[s]=!0)}return v.isArray(t)?t.forEach(o):o(t),this}}Fe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),v.reduceDescriptors(Fe.prototype,({value:e},t)=>{let i=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[i]=n}}}),v.freezeMethods(Fe);function $n(e,t){const i=this||kt,n=t||i,r=Fe.from(n.headers);let o=n.data;return v.forEach(e,function(s){o=s.call(i,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function Cr(e){return!!(e&&e.__CANCEL__)}function ut(e,t,i){U.call(this,e??"canceled",U.ERR_CANCELED,t,i),this.name="CanceledError"}v.inherits(ut,U,{__CANCEL__:!0});function Dr(e,t,i){const n=i.config.validateStatus;!i.status||!n||n(i.status)?e(i):t(new U("Request failed with status code "+i.status,[U.ERR_BAD_REQUEST,U.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))}function Tc(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Rc(e,t){e=e||10;const i=new Array(e),n=new Array(e);let r=0,o=0,a;return t=t!==void 0?t:1e3,function(c){const p=Date.now(),l=n[o];a||(a=p),i[r]=c,n[r]=p;let d=o,f=0;for(;d!==r;)f+=i[d++],d=d%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),p-a<t)return;const m=l&&p-l;return m?Math.round(f*1e3/m):void 0}}function kc(e,t){let i=0,n=1e3/t,r,o;const a=(p,l=Date.now())=>{i=l,r=null,o&&(clearTimeout(o),o=null),e.apply(null,p)};return[(...p)=>{const l=Date.now(),d=l-i;d>=n?a(p,l):(r=p,o||(o=setTimeout(()=>{o=null,a(r)},n-d)))},()=>r&&a(r)]}const Qt=(e,t,i=3)=>{let n=0;const r=Rc(50,250);return kc(o=>{const a=o.loaded,s=o.lengthComputable?o.total:void 0,c=a-n,p=r(c),l=a<=s;n=a;const d={loaded:a,total:s,progress:s?a/s:void 0,bytes:c,rate:p||void 0,estimated:p&&s&&l?(s-a)/p:void 0,event:o,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(d)},i)},jr=(e,t)=>{const i=e!=null;return[n=>t[0]({lengthComputable:i,total:e,loaded:n}),t[1]]},Fr=e=>(...t)=>v.asap(()=>e(...t)),Oc=_e.hasStandardBrowserEnv?((e,t)=>i=>(i=new URL(i,_e.origin),e.protocol===i.protocol&&e.host===i.host&&(t||e.port===i.port)))(new URL(_e.origin),_e.navigator&&/(msie|trident)/i.test(_e.navigator.userAgent)):()=>!0,_c=_e.hasStandardBrowserEnv?{write(e,t,i,n,r,o){const a=[e+"="+encodeURIComponent(t)];v.isNumber(i)&&a.push("expires="+new Date(i).toGMTString()),v.isString(n)&&a.push("path="+n),v.isString(r)&&a.push("domain="+r),o===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Ac(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Cc(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Pr(e,t){return e&&!Ac(t)?Cc(e,t):t}const Ir=e=>e instanceof Fe?{...e}:e;function nt(e,t){t=t||{};const i={};function n(p,l,d,f){return v.isPlainObject(p)&&v.isPlainObject(l)?v.merge.call({caseless:f},p,l):v.isPlainObject(l)?v.merge({},l):v.isArray(l)?l.slice():l}function r(p,l,d,f){if(v.isUndefined(l)){if(!v.isUndefined(p))return n(void 0,p,d,f)}else return n(p,l,d,f)}function o(p,l){if(!v.isUndefined(l))return n(void 0,l)}function a(p,l){if(v.isUndefined(l)){if(!v.isUndefined(p))return n(void 0,p)}else return n(void 0,l)}function s(p,l,d){if(d in t)return n(p,l);if(d in e)return n(void 0,p)}const c={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(p,l,d)=>r(Ir(p),Ir(l),d,!0)};return v.forEach(Object.keys(Object.assign({},e,t)),function(l){const d=c[l]||r,f=d(e[l],t[l],l);v.isUndefined(f)&&d!==s||(i[l]=f)}),i}const Br=e=>{const t=nt({},e);let{data:i,withXSRFToken:n,xsrfHeaderName:r,xsrfCookieName:o,headers:a,auth:s}=t;t.headers=a=Fe.from(a),t.url=Rr(Pr(t.baseURL,t.url),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let c;if(v.isFormData(i)){if(_e.hasStandardBrowserEnv||_e.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((c=a.getContentType())!==!1){const[p,...l]=c?c.split(";").map(d=>d.trim()).filter(Boolean):[];a.setContentType([p||"multipart/form-data",...l].join("; "))}}if(_e.hasStandardBrowserEnv&&(n&&v.isFunction(n)&&(n=n(t)),n||n!==!1&&Oc(t.url))){const p=r&&o&&_c.read(o);p&&a.set(r,p)}return t},Dc=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(i,n){const r=Br(e);let o=r.data;const a=Fe.from(r.headers).normalize();let{responseType:s,onUploadProgress:c,onDownloadProgress:p}=r,l,d,f,m,x;function g(){m&&m(),x&&x(),r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener("abort",l)}let y=new XMLHttpRequest;y.open(r.method.toUpperCase(),r.url,!0),y.timeout=r.timeout;function h(){if(!y)return;const C=Fe.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders()),b={data:!s||s==="text"||s==="json"?y.responseText:y.response,status:y.status,statusText:y.statusText,headers:C,config:e,request:y};Dr(function(L){i(L),g()},function(L){n(L),g()},b),y=null}"onloadend"in y?y.onloadend=h:y.onreadystatechange=function(){!y||y.readyState!==4||y.status===0&&!(y.responseURL&&y.responseURL.indexOf("file:")===0)||setTimeout(h)},y.onabort=function(){y&&(n(new U("Request aborted",U.ECONNABORTED,e,y)),y=null)},y.onerror=function(){n(new U("Network Error",U.ERR_NETWORK,e,y)),y=null},y.ontimeout=function(){let k=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const b=r.transitional||Or;r.timeoutErrorMessage&&(k=r.timeoutErrorMessage),n(new U(k,b.clarifyTimeoutError?U.ETIMEDOUT:U.ECONNABORTED,e,y)),y=null},o===void 0&&a.setContentType(null),"setRequestHeader"in y&&v.forEach(a.toJSON(),function(k,b){y.setRequestHeader(b,k)}),v.isUndefined(r.withCredentials)||(y.withCredentials=!!r.withCredentials),s&&s!=="json"&&(y.responseType=r.responseType),p&&([f,x]=Qt(p,!0),y.addEventListener("progress",f)),c&&y.upload&&([d,m]=Qt(c),y.upload.addEventListener("progress",d),y.upload.addEventListener("loadend",m)),(r.cancelToken||r.signal)&&(l=C=>{y&&(n(!C||C.type?new ut(null,e,y):C),y.abort(),y=null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener("abort",l)));const A=Tc(r.url);if(A&&_e.protocols.indexOf(A)===-1){n(new U("Unsupported protocol "+A+":",U.ERR_BAD_REQUEST,e));return}y.send(o||null)})},jc=(e,t)=>{const{length:i}=e=e?e.filter(Boolean):[];if(t||i){let n=new AbortController,r;const o=function(p){if(!r){r=!0,s();const l=p instanceof Error?p:this.reason;n.abort(l instanceof U?l:new ut(l instanceof Error?l.message:l))}};let a=t&&setTimeout(()=>{a=null,o(new U(`timeout ${t} of ms exceeded`,U.ETIMEDOUT))},t);const s=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(p=>{p.unsubscribe?p.unsubscribe(o):p.removeEventListener("abort",o)}),e=null)};e.forEach(p=>p.addEventListener("abort",o));const{signal:c}=n;return c.unsubscribe=()=>v.asap(s),c}},Fc=function*(e,t){let i=e.byteLength;if(i<t){yield e;return}let n=0,r;for(;n<i;)r=n+t,yield e.slice(n,r),n=r},Pc=async function*(e,t){for await(const i of Ic(e))yield*Fc(i,t)},Ic=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:i,value:n}=await t.read();if(i)break;yield n}}finally{await t.cancel()}},zr=(e,t,i,n)=>{const r=Pc(e,t);let o=0,a,s=c=>{a||(a=!0,n&&n(c))};return new ReadableStream({async pull(c){try{const{done:p,value:l}=await r.next();if(p){s(),c.close();return}let d=l.byteLength;if(i){let f=o+=d;i(f)}c.enqueue(new Uint8Array(l))}catch(p){throw s(p),p}},cancel(c){return s(c),r.return()}},{highWaterMark:2})},en=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Lr=en&&typeof ReadableStream=="function",Bc=en&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Mr=(e,...t)=>{try{return!!e(...t)}catch{return!1}},zc=Lr&&Mr(()=>{let e=!1;const t=new Request(_e.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),$r=64*1024,Nn=Lr&&Mr(()=>v.isReadableStream(new Response("").body)),tn={stream:Nn&&(e=>e.body)};en&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!tn[t]&&(tn[t]=v.isFunction(e[t])?i=>i[t]():(i,n)=>{throw new U(`Response type '${t}' is not supported`,U.ERR_NOT_SUPPORT,n)})})})(new Response);const Lc=async e=>{if(e==null)return 0;if(v.isBlob(e))return e.size;if(v.isSpecCompliantForm(e))return(await new Request(_e.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(v.isArrayBufferView(e)||v.isArrayBuffer(e))return e.byteLength;if(v.isURLSearchParams(e)&&(e=e+""),v.isString(e))return(await Bc(e)).byteLength},Mc=async(e,t)=>{const i=v.toFiniteNumber(e.getContentLength());return i??Lc(t)},qn={http:ac,xhr:Dc,fetch:en&&(async e=>{let{url:t,method:i,data:n,signal:r,cancelToken:o,timeout:a,onDownloadProgress:s,onUploadProgress:c,responseType:p,headers:l,withCredentials:d="same-origin",fetchOptions:f}=Br(e);p=p?(p+"").toLowerCase():"text";let m=jc([r,o&&o.toAbortSignal()],a),x;const g=m&&m.unsubscribe&&(()=>{m.unsubscribe()});let y;try{if(c&&zc&&i!=="get"&&i!=="head"&&(y=await Mc(l,n))!==0){let b=new Request(t,{method:"POST",body:n,duplex:"half"}),D;if(v.isFormData(n)&&(D=b.headers.get("content-type"))&&l.setContentType(D),b.body){const[L,B]=jr(y,Qt(Fr(c)));n=zr(b.body,$r,L,B)}}v.isString(d)||(d=d?"include":"omit");const h="credentials"in Request.prototype;x=new Request(t,{...f,signal:m,method:i.toUpperCase(),headers:l.normalize().toJSON(),body:n,duplex:"half",credentials:h?d:void 0});let A=await fetch(x);const C=Nn&&(p==="stream"||p==="response");if(Nn&&(s||C&&g)){const b={};["status","statusText","headers"].forEach(W=>{b[W]=A[W]});const D=v.toFiniteNumber(A.headers.get("content-length")),[L,B]=s&&jr(D,Qt(Fr(s),!0))||[];A=new Response(zr(A.body,$r,L,()=>{B&&B(),g&&g()}),b)}p=p||"text";let k=await tn[v.findKey(tn,p)||"text"](A,e);return!C&&g&&g(),await new Promise((b,D)=>{Dr(b,D,{data:k,headers:Fe.from(A.headers),status:A.status,statusText:A.statusText,config:e,request:x})})}catch(h){throw g&&g(),h&&h.name==="TypeError"&&/fetch/i.test(h.message)?Object.assign(new U("Network Error",U.ERR_NETWORK,e,x),{cause:h.cause||h}):U.from(h,h&&h.code,e,x)}})};v.forEach(qn,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Nr=e=>`- ${e}`,$c=e=>v.isFunction(e)||e===null||e===!1,qr={getAdapter:e=>{e=v.isArray(e)?e:[e];const{length:t}=e;let i,n;const r={};for(let o=0;o<t;o++){i=e[o];let a;if(n=i,!$c(i)&&(n=qn[(a=String(i)).toLowerCase()],n===void 0))throw new U(`Unknown adapter '${a}'`);if(n)break;r[a||"#"+o]=n}if(!n){const o=Object.entries(r).map(([s,c])=>`adapter ${s} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=t?o.length>1?`since :
|
51
|
-
`+o.map(
|
52
|
-
`):" "+
|
53
|
-
`+o):n.stack=o}catch{}}throw n}}_request(t,i){typeof t=="string"?(i=i||{},i.url=t):i=t||{},i=
|
43
|
+
*/var bn,Di;function oa(){if(Di)return bn;Di=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function n(o){if(o==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(o)}function r(){try{if(!Object.assign)return!1;var o=new String("abc");if(o[5]="de",Object.getOwnPropertyNames(o)[0]==="5")return!1;for(var a={},s=0;s<10;s++)a["_"+String.fromCharCode(s)]=s;var c=Object.getOwnPropertyNames(a).map(function(l){return a[l]});if(c.join("")!=="0123456789")return!1;var p={};return"abcdefghijklmnopqrst".split("").forEach(function(l){p[l]=l}),Object.keys(Object.assign({},p)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return bn=r()?Object.assign:function(o,a){for(var s,c=n(o),p,l=1;l<arguments.length;l++){s=Object(arguments[l]);for(var u in s)t.call(s,u)&&(c[u]=s[u]);if(e){p=e(s);for(var f=0;f<p.length;f++)i.call(s,p[f])&&(c[p[f]]=s[p[f]])}}return c},bn}var yn,ji;function En(){if(ji)return yn;ji=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return yn=e,yn}var wn,Fi;function Pi(){return Fi||(Fi=1,wn=Function.call.bind(Object.prototype.hasOwnProperty)),wn}var Sn,Ii;function aa(){if(Ii)return Sn;Ii=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=En(),i={},n=Pi();e=function(o){var a="Warning: "+o;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function r(o,a,s,c,p){if(process.env.NODE_ENV!=="production"){for(var l in o)if(n(o,l)){var u;try{if(typeof o[l]!="function"){var f=Error((c||"React class")+": "+s+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw f.name="Invariant Violation",f}u=o[l](a,l,c,s,null,t)}catch(x){u=x}if(u&&!(u instanceof Error)&&e((c||"React class")+": type specification of "+s+" `"+l+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in i)){i[u.message]=!0;var m=p?p():"";e("Failed "+s+" type: "+u.message+(m??""))}}}}return r.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(i={})},Sn=r,Sn}var Rn,Bi;function sa(){if(Bi)return Rn;Bi=1;var e=Ci(),t=oa(),i=En(),n=Pi(),r=aa(),o=function(){};process.env.NODE_ENV!=="production"&&(o=function(s){var c="Warning: "+s;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}});function a(){return null}return Rn=function(s,c){var p=typeof Symbol=="function"&&Symbol.iterator,l="@@iterator";function u(S){var O=S&&(p&&S[p]||S[l]);if(typeof O=="function")return O}var f="<<anonymous>>",m={array:h("array"),bigint:h("bigint"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),string:h("string"),symbol:h("symbol"),any:A(),arrayOf:C,element:k(),elementType:b(),instanceOf:D,node:J(),objectOf:B,oneOf:L,oneOfType:W,shape:fe,exact:Z};function x(S,O){return S===O?S!==0||1/S===1/O:S!==S&&O!==O}function g(S,O){this.message=S,this.data=O&&typeof O=="object"?O:{},this.stack=""}g.prototype=Error.prototype;function y(S){if(process.env.NODE_ENV!=="production")var O={},z=0;function $(H,I,N,Y,G,M,xe){if(Y=Y||f,M=M||N,xe!==i){if(c){var E=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 E.name="Invariant Violation",E}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var K=Y+":"+N;!O[K]&&z<3&&(o("You are manually calling a React.PropTypes validation function for the `"+M+"` prop on `"+Y+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),O[K]=!0,z++)}}return I[N]==null?H?I[N]===null?new g("The "+G+" `"+M+"` is marked as required "+("in `"+Y+"`, but its value is `null`.")):new g("The "+G+" `"+M+"` is marked as required in "+("`"+Y+"`, but its value is `undefined`.")):null:S(I,N,Y,G,M)}var P=$.bind(null,!1);return P.isRequired=$.bind(null,!0),P}function h(S){function O(z,$,P,H,I,N){var Y=z[$],G=Se(Y);if(G!==S){var M=Re(Y);return new g("Invalid "+H+" `"+I+"` of type "+("`"+M+"` supplied to `"+P+"`, expected ")+("`"+S+"`."),{expectedType:S})}return null}return y(O)}function A(){return y(a)}function C(S){function O(z,$,P,H,I){if(typeof S!="function")return new g("Property `"+I+"` of component `"+P+"` has invalid PropType notation inside arrayOf.");var N=z[$];if(!Array.isArray(N)){var Y=Se(N);return new g("Invalid "+H+" `"+I+"` of type "+("`"+Y+"` supplied to `"+P+"`, expected an array."))}for(var G=0;G<N.length;G++){var M=S(N,G,P,H,I+"["+G+"]",i);if(M instanceof Error)return M}return null}return y(O)}function k(){function S(O,z,$,P,H){var I=O[z];if(!s(I)){var N=Se(I);return new g("Invalid "+P+" `"+H+"` of type "+("`"+N+"` supplied to `"+$+"`, expected a single ReactElement."))}return null}return y(S)}function b(){function S(O,z,$,P,H){var I=O[z];if(!e.isValidElementType(I)){var N=Se(I);return new g("Invalid "+P+" `"+H+"` of type "+("`"+N+"` supplied to `"+$+"`, expected a single ReactElement type."))}return null}return y(S)}function D(S){function O(z,$,P,H,I){if(!(z[$]instanceof S)){var N=S.name||f,Y=he(z[$]);return new g("Invalid "+H+" `"+I+"` of type "+("`"+Y+"` supplied to `"+P+"`, expected ")+("instance of `"+N+"`."))}return null}return y(O)}function L(S){if(!Array.isArray(S))return process.env.NODE_ENV!=="production"&&(arguments.length>1?o("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):o("Invalid argument supplied to oneOf, expected an array.")),a;function O(z,$,P,H,I){for(var N=z[$],Y=0;Y<S.length;Y++)if(x(N,S[Y]))return null;var G=JSON.stringify(S,function(xe,E){var K=Re(E);return K==="symbol"?String(E):E});return new g("Invalid "+H+" `"+I+"` of value `"+String(N)+"` "+("supplied to `"+P+"`, expected one of "+G+"."))}return y(O)}function B(S){function O(z,$,P,H,I){if(typeof S!="function")return new g("Property `"+I+"` of component `"+P+"` has invalid PropType notation inside objectOf.");var N=z[$],Y=Se(N);if(Y!=="object")return new g("Invalid "+H+" `"+I+"` of type "+("`"+Y+"` supplied to `"+P+"`, expected an object."));for(var G in N)if(n(N,G)){var M=S(N,G,P,H,I+"."+G,i);if(M instanceof Error)return M}return null}return y(O)}function W(S){if(!Array.isArray(S))return process.env.NODE_ENV!=="production"&&o("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var O=0;O<S.length;O++){var z=S[O];if(typeof z!="function")return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+be(z)+" at index "+O+"."),a}function $(P,H,I,N,Y){for(var G=[],M=0;M<S.length;M++){var xe=S[M],E=xe(P,H,I,N,Y,i);if(E==null)return null;E.data&&n(E.data,"expectedType")&&G.push(E.data.expectedType)}var K=G.length>0?", expected one of type ["+G.join(", ")+"]":"";return new g("Invalid "+N+" `"+Y+"` supplied to "+("`"+I+"`"+K+"."))}return y($)}function J(){function S(O,z,$,P,H){return V(O[z])?null:new g("Invalid "+P+" `"+H+"` supplied to "+("`"+$+"`, expected a ReactNode."))}return y(S)}function ae(S,O,z,$,P){return new g((S||"React class")+": "+O+" type `"+z+"."+$+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+P+"`.")}function fe(S){function O(z,$,P,H,I){var N=z[$],Y=Se(N);if(Y!=="object")return new g("Invalid "+H+" `"+I+"` of type `"+Y+"` "+("supplied to `"+P+"`, expected `object`."));for(var G in S){var M=S[G];if(typeof M!="function")return ae(P,H,I,G,Re(M));var xe=M(N,G,P,H,I+"."+G,i);if(xe)return xe}return null}return y(O)}function Z(S){function O(z,$,P,H,I){var N=z[$],Y=Se(N);if(Y!=="object")return new g("Invalid "+H+" `"+I+"` of type `"+Y+"` "+("supplied to `"+P+"`, expected `object`."));var G=t({},z[$],S);for(var M in G){var xe=S[M];if(n(S,M)&&typeof xe!="function")return ae(P,H,I,M,Re(xe));if(!xe)return new g("Invalid "+H+" `"+I+"` key `"+M+"` supplied to `"+P+"`.\nBad object: "+JSON.stringify(z[$],null," ")+`
|
44
|
+
Valid keys: `+JSON.stringify(Object.keys(S),null," "));var E=xe(N,M,P,H,I+"."+M,i);if(E)return E}return null}return y(O)}function V(S){switch(typeof S){case"number":case"string":case"undefined":return!0;case"boolean":return!S;case"object":if(Array.isArray(S))return S.every(V);if(S===null||s(S))return!0;var O=u(S);if(O){var z=O.call(S),$;if(O!==S.entries){for(;!($=z.next()).done;)if(!V($.value))return!1}else for(;!($=z.next()).done;){var P=$.value;if(P&&!V(P[1]))return!1}}else return!1;return!0;default:return!1}}function ce(S,O){return S==="symbol"?!0:O?O["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&O instanceof Symbol:!1}function Se(S){var O=typeof S;return Array.isArray(S)?"array":S instanceof RegExp?"object":ce(O,S)?"symbol":O}function Re(S){if(typeof S>"u"||S===null)return""+S;var O=Se(S);if(O==="object"){if(S instanceof Date)return"date";if(S instanceof RegExp)return"regexp"}return O}function be(S){var O=Re(S);switch(O){case"array":case"object":return"an "+O;case"boolean":case"date":case"regexp":return"a "+O;default:return O}}function he(S){return!S.constructor||!S.constructor.name?f:S.constructor.name}return m.checkPropTypes=r,m.resetWarningCache=r.resetWarningCache,m.PropTypes=m,m},Rn}var Tn,zi;function ca(){if(zi)return Tn;zi=1;var e=En();function t(){}function i(){}return i.resetWarningCache=t,Tn=function(){function n(a,s,c,p,l,u){if(u!==e){var f=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 f.name="Invariant Violation",f}}n.isRequired=n;function r(){return n}var o={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:r,element:n,elementType:n,instanceOf:r,node:n,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:i,resetWarningCache:t};return o.PropTypes=o,o},Tn}var Li;function la(){if(Li)return qt.exports;if(Li=1,process.env.NODE_ENV!=="production"){var e=Ci(),t=!0;qt.exports=sa()(e.isElement,t)}else qt.exports=ca()();return qt.exports}var pa=la();const se=Ge(pa);function tt(e,t,i,n){function r(o){return o instanceof i?o:new i(function(a){a(o)})}return new(i||(i=Promise))(function(o,a){function s(l){try{p(n.next(l))}catch(u){a(u)}}function c(l){try{p(n.throw(l))}catch(u){a(u)}}function p(l){l.done?o(l.value):r(l.value).then(s,c)}p((n=n.apply(e,t||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const da=new Map([["1km","application/vnd.1000minds.decision-model+xml"],["3dml","text/vnd.in3d.3dml"],["3ds","image/x-3ds"],["3g2","video/3gpp2"],["3gp","video/3gp"],["3gpp","video/3gpp"],["3mf","model/3mf"],["7z","application/x-7z-compressed"],["7zip","application/x-7z-compressed"],["123","application/vnd.lotus-1-2-3"],["aab","application/x-authorware-bin"],["aac","audio/x-acc"],["aam","application/x-authorware-map"],["aas","application/x-authorware-seg"],["abw","application/x-abiword"],["ac","application/vnd.nokia.n-gage.ac+xml"],["ac3","audio/ac3"],["acc","application/vnd.americandynamics.acc"],["ace","application/x-ace-compressed"],["acu","application/vnd.acucobol"],["acutc","application/vnd.acucorp"],["adp","audio/adpcm"],["aep","application/vnd.audiograph"],["afm","application/x-font-type1"],["afp","application/vnd.ibm.modcap"],["ahead","application/vnd.ahead.space"],["ai","application/pdf"],["aif","audio/x-aiff"],["aifc","audio/x-aiff"],["aiff","audio/x-aiff"],["air","application/vnd.adobe.air-application-installer-package+zip"],["ait","application/vnd.dvb.ait"],["ami","application/vnd.amiga.ami"],["amr","audio/amr"],["apk","application/vnd.android.package-archive"],["apng","image/apng"],["appcache","text/cache-manifest"],["application","application/x-ms-application"],["apr","application/vnd.lotus-approach"],["arc","application/x-freearc"],["arj","application/x-arj"],["asc","application/pgp-signature"],["asf","video/x-ms-asf"],["asm","text/x-asm"],["aso","application/vnd.accpac.simply.aso"],["asx","video/x-ms-asf"],["atc","application/vnd.acucorp"],["atom","application/atom+xml"],["atomcat","application/atomcat+xml"],["atomdeleted","application/atomdeleted+xml"],["atomsvc","application/atomsvc+xml"],["atx","application/vnd.antix.game-component"],["au","audio/x-au"],["avi","video/x-msvideo"],["avif","image/avif"],["aw","application/applixware"],["azf","application/vnd.airzip.filesecure.azf"],["azs","application/vnd.airzip.filesecure.azs"],["azv","image/vnd.airzip.accelerator.azv"],["azw","application/vnd.amazon.ebook"],["b16","image/vnd.pco.b16"],["bat","application/x-msdownload"],["bcpio","application/x-bcpio"],["bdf","application/x-font-bdf"],["bdm","application/vnd.syncml.dm+wbxml"],["bdoc","application/x-bdoc"],["bed","application/vnd.realvnc.bed"],["bh2","application/vnd.fujitsu.oasysprs"],["bin","application/octet-stream"],["blb","application/x-blorb"],["blorb","application/x-blorb"],["bmi","application/vnd.bmi"],["bmml","application/vnd.balsamiq.bmml+xml"],["bmp","image/bmp"],["book","application/vnd.framemaker"],["box","application/vnd.previewsystems.box"],["boz","application/x-bzip2"],["bpk","application/octet-stream"],["bpmn","application/octet-stream"],["bsp","model/vnd.valve.source.compiled-map"],["btif","image/prs.btif"],["buffer","application/octet-stream"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["c","text/x-c"],["c4d","application/vnd.clonk.c4group"],["c4f","application/vnd.clonk.c4group"],["c4g","application/vnd.clonk.c4group"],["c4p","application/vnd.clonk.c4group"],["c4u","application/vnd.clonk.c4group"],["c11amc","application/vnd.cluetrust.cartomobile-config"],["c11amz","application/vnd.cluetrust.cartomobile-config-pkg"],["cab","application/vnd.ms-cab-compressed"],["caf","audio/x-caf"],["cap","application/vnd.tcpdump.pcap"],["car","application/vnd.curl.car"],["cat","application/vnd.ms-pki.seccat"],["cb7","application/x-cbr"],["cba","application/x-cbr"],["cbr","application/x-cbr"],["cbt","application/x-cbr"],["cbz","application/x-cbr"],["cc","text/x-c"],["cco","application/x-cocoa"],["cct","application/x-director"],["ccxml","application/ccxml+xml"],["cdbcmsg","application/vnd.contact.cmsg"],["cda","application/x-cdf"],["cdf","application/x-netcdf"],["cdfx","application/cdfx+xml"],["cdkey","application/vnd.mediastation.cdkey"],["cdmia","application/cdmi-capability"],["cdmic","application/cdmi-container"],["cdmid","application/cdmi-domain"],["cdmio","application/cdmi-object"],["cdmiq","application/cdmi-queue"],["cdr","application/cdr"],["cdx","chemical/x-cdx"],["cdxml","application/vnd.chemdraw+xml"],["cdy","application/vnd.cinderella"],["cer","application/pkix-cert"],["cfs","application/x-cfs-compressed"],["cgm","image/cgm"],["chat","application/x-chat"],["chm","application/vnd.ms-htmlhelp"],["chrt","application/vnd.kde.kchart"],["cif","chemical/x-cif"],["cii","application/vnd.anser-web-certificate-issue-initiation"],["cil","application/vnd.ms-artgalry"],["cjs","application/node"],["cla","application/vnd.claymore"],["class","application/octet-stream"],["clkk","application/vnd.crick.clicker.keyboard"],["clkp","application/vnd.crick.clicker.palette"],["clkt","application/vnd.crick.clicker.template"],["clkw","application/vnd.crick.clicker.wordbank"],["clkx","application/vnd.crick.clicker"],["clp","application/x-msclip"],["cmc","application/vnd.cosmocaller"],["cmdf","chemical/x-cmdf"],["cml","chemical/x-cml"],["cmp","application/vnd.yellowriver-custom-menu"],["cmx","image/x-cmx"],["cod","application/vnd.rim.cod"],["coffee","text/coffeescript"],["com","application/x-msdownload"],["conf","text/plain"],["cpio","application/x-cpio"],["cpp","text/x-c"],["cpt","application/mac-compactpro"],["crd","application/x-mscardfile"],["crl","application/pkix-crl"],["crt","application/x-x509-ca-cert"],["crx","application/x-chrome-extension"],["cryptonote","application/vnd.rig.cryptonote"],["csh","application/x-csh"],["csl","application/vnd.citationstyles.style+xml"],["csml","chemical/x-csml"],["csp","application/vnd.commonspace"],["csr","application/octet-stream"],["css","text/css"],["cst","application/x-director"],["csv","text/csv"],["cu","application/cu-seeme"],["curl","text/vnd.curl"],["cww","application/prs.cww"],["cxt","application/x-director"],["cxx","text/x-c"],["dae","model/vnd.collada+xml"],["daf","application/vnd.mobius.daf"],["dart","application/vnd.dart"],["dataless","application/vnd.fdsn.seed"],["davmount","application/davmount+xml"],["dbf","application/vnd.dbf"],["dbk","application/docbook+xml"],["dcr","application/x-director"],["dcurl","text/vnd.curl.dcurl"],["dd2","application/vnd.oma.dd2+xml"],["ddd","application/vnd.fujixerox.ddd"],["ddf","application/vnd.syncml.dmddf+xml"],["dds","image/vnd.ms-dds"],["deb","application/x-debian-package"],["def","text/plain"],["deploy","application/octet-stream"],["der","application/x-x509-ca-cert"],["dfac","application/vnd.dreamfactory"],["dgc","application/x-dgc-compressed"],["dic","text/x-c"],["dir","application/x-director"],["dis","application/vnd.mobius.dis"],["disposition-notification","message/disposition-notification"],["dist","application/octet-stream"],["distz","application/octet-stream"],["djv","image/vnd.djvu"],["djvu","image/vnd.djvu"],["dll","application/octet-stream"],["dmg","application/x-apple-diskimage"],["dmn","application/octet-stream"],["dmp","application/vnd.tcpdump.pcap"],["dms","application/octet-stream"],["dna","application/vnd.dna"],["doc","application/msword"],["docm","application/vnd.ms-word.template.macroEnabled.12"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["dot","application/msword"],["dotm","application/vnd.ms-word.template.macroEnabled.12"],["dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"],["dp","application/vnd.osgi.dp"],["dpg","application/vnd.dpgraph"],["dra","audio/vnd.dra"],["drle","image/dicom-rle"],["dsc","text/prs.lines.tag"],["dssc","application/dssc+der"],["dtb","application/x-dtbook+xml"],["dtd","application/xml-dtd"],["dts","audio/vnd.dts"],["dtshd","audio/vnd.dts.hd"],["dump","application/octet-stream"],["dvb","video/vnd.dvb.file"],["dvi","application/x-dvi"],["dwd","application/atsc-dwd+xml"],["dwf","model/vnd.dwf"],["dwg","image/vnd.dwg"],["dxf","image/vnd.dxf"],["dxp","application/vnd.spotfire.dxp"],["dxr","application/x-director"],["ear","application/java-archive"],["ecelp4800","audio/vnd.nuera.ecelp4800"],["ecelp7470","audio/vnd.nuera.ecelp7470"],["ecelp9600","audio/vnd.nuera.ecelp9600"],["ecma","application/ecmascript"],["edm","application/vnd.novadigm.edm"],["edx","application/vnd.novadigm.edx"],["efif","application/vnd.picsel"],["ei6","application/vnd.pg.osasli"],["elc","application/octet-stream"],["emf","image/emf"],["eml","message/rfc822"],["emma","application/emma+xml"],["emotionml","application/emotionml+xml"],["emz","application/x-msmetafile"],["eol","audio/vnd.digital-winds"],["eot","application/vnd.ms-fontobject"],["eps","application/postscript"],["epub","application/epub+zip"],["es","application/ecmascript"],["es3","application/vnd.eszigno3+xml"],["esa","application/vnd.osgi.subsystem"],["esf","application/vnd.epson.esf"],["et3","application/vnd.eszigno3+xml"],["etx","text/x-setext"],["eva","application/x-eva"],["evy","application/x-envoy"],["exe","application/octet-stream"],["exi","application/exi"],["exp","application/express"],["exr","image/aces"],["ext","application/vnd.novadigm.ext"],["ez","application/andrew-inset"],["ez2","application/vnd.ezpix-album"],["ez3","application/vnd.ezpix-package"],["f","text/x-fortran"],["f4v","video/mp4"],["f77","text/x-fortran"],["f90","text/x-fortran"],["fbs","image/vnd.fastbidsheet"],["fcdt","application/vnd.adobe.formscentral.fcdt"],["fcs","application/vnd.isac.fcs"],["fdf","application/vnd.fdf"],["fdt","application/fdt+xml"],["fe_launch","application/vnd.denovo.fcselayout-link"],["fg5","application/vnd.fujitsu.oasysgp"],["fgd","application/x-director"],["fh","image/x-freehand"],["fh4","image/x-freehand"],["fh5","image/x-freehand"],["fh7","image/x-freehand"],["fhc","image/x-freehand"],["fig","application/x-xfig"],["fits","image/fits"],["flac","audio/x-flac"],["fli","video/x-fli"],["flo","application/vnd.micrografx.flo"],["flv","video/x-flv"],["flw","application/vnd.kde.kivio"],["flx","text/vnd.fmi.flexstor"],["fly","text/vnd.fly"],["fm","application/vnd.framemaker"],["fnc","application/vnd.frogans.fnc"],["fo","application/vnd.software602.filler.form+xml"],["for","text/x-fortran"],["fpx","image/vnd.fpx"],["frame","application/vnd.framemaker"],["fsc","application/vnd.fsc.weblaunch"],["fst","image/vnd.fst"],["ftc","application/vnd.fluxtime.clip"],["fti","application/vnd.anser-web-funds-transfer-initiation"],["fvt","video/vnd.fvt"],["fxp","application/vnd.adobe.fxp"],["fxpl","application/vnd.adobe.fxp"],["fzs","application/vnd.fuzzysheet"],["g2w","application/vnd.geoplan"],["g3","image/g3fax"],["g3w","application/vnd.geospace"],["gac","application/vnd.groove-account"],["gam","application/x-tads"],["gbr","application/rpki-ghostbusters"],["gca","application/x-gca-compressed"],["gdl","model/vnd.gdl"],["gdoc","application/vnd.google-apps.document"],["geo","application/vnd.dynageo"],["geojson","application/geo+json"],["gex","application/vnd.geometry-explorer"],["ggb","application/vnd.geogebra.file"],["ggt","application/vnd.geogebra.tool"],["ghf","application/vnd.groove-help"],["gif","image/gif"],["gim","application/vnd.groove-identity-message"],["glb","model/gltf-binary"],["gltf","model/gltf+json"],["gml","application/gml+xml"],["gmx","application/vnd.gmx"],["gnumeric","application/x-gnumeric"],["gpg","application/gpg-keys"],["gph","application/vnd.flographit"],["gpx","application/gpx+xml"],["gqf","application/vnd.grafeq"],["gqs","application/vnd.grafeq"],["gram","application/srgs"],["gramps","application/x-gramps-xml"],["gre","application/vnd.geometry-explorer"],["grv","application/vnd.groove-injector"],["grxml","application/srgs+xml"],["gsf","application/x-font-ghostscript"],["gsheet","application/vnd.google-apps.spreadsheet"],["gslides","application/vnd.google-apps.presentation"],["gtar","application/x-gtar"],["gtm","application/vnd.groove-tool-message"],["gtw","model/vnd.gtw"],["gv","text/vnd.graphviz"],["gxf","application/gxf"],["gxt","application/vnd.geonext"],["gz","application/gzip"],["gzip","application/gzip"],["h","text/x-c"],["h261","video/h261"],["h263","video/h263"],["h264","video/h264"],["hal","application/vnd.hal+xml"],["hbci","application/vnd.hbci"],["hbs","text/x-handlebars-template"],["hdd","application/x-virtualbox-hdd"],["hdf","application/x-hdf"],["heic","image/heic"],["heics","image/heic-sequence"],["heif","image/heif"],["heifs","image/heif-sequence"],["hej2","image/hej2k"],["held","application/atsc-held+xml"],["hh","text/x-c"],["hjson","application/hjson"],["hlp","application/winhlp"],["hpgl","application/vnd.hp-hpgl"],["hpid","application/vnd.hp-hpid"],["hps","application/vnd.hp-hps"],["hqx","application/mac-binhex40"],["hsj2","image/hsj2"],["htc","text/x-component"],["htke","application/vnd.kenameaapp"],["htm","text/html"],["html","text/html"],["hvd","application/vnd.yamaha.hv-dic"],["hvp","application/vnd.yamaha.hv-voice"],["hvs","application/vnd.yamaha.hv-script"],["i2g","application/vnd.intergeo"],["icc","application/vnd.iccprofile"],["ice","x-conference/x-cooltalk"],["icm","application/vnd.iccprofile"],["ico","image/x-icon"],["ics","text/calendar"],["ief","image/ief"],["ifb","text/calendar"],["ifm","application/vnd.shana.informed.formdata"],["iges","model/iges"],["igl","application/vnd.igloader"],["igm","application/vnd.insors.igm"],["igs","model/iges"],["igx","application/vnd.micrografx.igx"],["iif","application/vnd.shana.informed.interchange"],["img","application/octet-stream"],["imp","application/vnd.accpac.simply.imp"],["ims","application/vnd.ms-ims"],["in","text/plain"],["ini","text/plain"],["ink","application/inkml+xml"],["inkml","application/inkml+xml"],["install","application/x-install-instructions"],["iota","application/vnd.astraea-software.iota"],["ipfix","application/ipfix"],["ipk","application/vnd.shana.informed.package"],["irm","application/vnd.ibm.rights-management"],["irp","application/vnd.irepository.package+xml"],["iso","application/x-iso9660-image"],["itp","application/vnd.shana.informed.formtemplate"],["its","application/its+xml"],["ivp","application/vnd.immervision-ivp"],["ivu","application/vnd.immervision-ivu"],["jad","text/vnd.sun.j2me.app-descriptor"],["jade","text/jade"],["jam","application/vnd.jam"],["jar","application/java-archive"],["jardiff","application/x-java-archive-diff"],["java","text/x-java-source"],["jhc","image/jphc"],["jisp","application/vnd.jisp"],["jls","image/jls"],["jlt","application/vnd.hp-jlyt"],["jng","image/x-jng"],["jnlp","application/x-java-jnlp-file"],["joda","application/vnd.joost.joda-archive"],["jp2","image/jp2"],["jpe","image/jpeg"],["jpeg","image/jpeg"],["jpf","image/jpx"],["jpg","image/jpeg"],["jpg2","image/jp2"],["jpgm","video/jpm"],["jpgv","video/jpeg"],["jph","image/jph"],["jpm","video/jpm"],["jpx","image/jpx"],["js","application/javascript"],["json","application/json"],["json5","application/json5"],["jsonld","application/ld+json"],["jsonl","application/jsonl"],["jsonml","application/jsonml+json"],["jsx","text/jsx"],["jxr","image/jxr"],["jxra","image/jxra"],["jxrs","image/jxrs"],["jxs","image/jxs"],["jxsc","image/jxsc"],["jxsi","image/jxsi"],["jxss","image/jxss"],["kar","audio/midi"],["karbon","application/vnd.kde.karbon"],["kdb","application/octet-stream"],["kdbx","application/x-keepass2"],["key","application/x-iwork-keynote-sffkey"],["kfo","application/vnd.kde.kformula"],["kia","application/vnd.kidspiration"],["kml","application/vnd.google-earth.kml+xml"],["kmz","application/vnd.google-earth.kmz"],["kne","application/vnd.kinar"],["knp","application/vnd.kinar"],["kon","application/vnd.kde.kontour"],["kpr","application/vnd.kde.kpresenter"],["kpt","application/vnd.kde.kpresenter"],["kpxx","application/vnd.ds-keypoint"],["ksp","application/vnd.kde.kspread"],["ktr","application/vnd.kahootz"],["ktx","image/ktx"],["ktx2","image/ktx2"],["ktz","application/vnd.kahootz"],["kwd","application/vnd.kde.kword"],["kwt","application/vnd.kde.kword"],["lasxml","application/vnd.las.las+xml"],["latex","application/x-latex"],["lbd","application/vnd.llamagraphics.life-balance.desktop"],["lbe","application/vnd.llamagraphics.life-balance.exchange+xml"],["les","application/vnd.hhe.lesson-player"],["less","text/less"],["lgr","application/lgr+xml"],["lha","application/octet-stream"],["link66","application/vnd.route66.link66+xml"],["list","text/plain"],["list3820","application/vnd.ibm.modcap"],["listafp","application/vnd.ibm.modcap"],["litcoffee","text/coffeescript"],["lnk","application/x-ms-shortcut"],["log","text/plain"],["lostxml","application/lost+xml"],["lrf","application/octet-stream"],["lrm","application/vnd.ms-lrm"],["ltf","application/vnd.frogans.ltf"],["lua","text/x-lua"],["luac","application/x-lua-bytecode"],["lvp","audio/vnd.lucent.voice"],["lwp","application/vnd.lotus-wordpro"],["lzh","application/octet-stream"],["m1v","video/mpeg"],["m2a","audio/mpeg"],["m2v","video/mpeg"],["m3a","audio/mpeg"],["m3u","text/plain"],["m3u8","application/vnd.apple.mpegurl"],["m4a","audio/x-m4a"],["m4p","application/mp4"],["m4s","video/iso.segment"],["m4u","application/vnd.mpegurl"],["m4v","video/x-m4v"],["m13","application/x-msmediaview"],["m14","application/x-msmediaview"],["m21","application/mp21"],["ma","application/mathematica"],["mads","application/mads+xml"],["maei","application/mmt-aei+xml"],["mag","application/vnd.ecowin.chart"],["maker","application/vnd.framemaker"],["man","text/troff"],["manifest","text/cache-manifest"],["map","application/json"],["mar","application/octet-stream"],["markdown","text/markdown"],["mathml","application/mathml+xml"],["mb","application/mathematica"],["mbk","application/vnd.mobius.mbk"],["mbox","application/mbox"],["mc1","application/vnd.medcalcdata"],["mcd","application/vnd.mcd"],["mcurl","text/vnd.curl.mcurl"],["md","text/markdown"],["mdb","application/x-msaccess"],["mdi","image/vnd.ms-modi"],["mdx","text/mdx"],["me","text/troff"],["mesh","model/mesh"],["meta4","application/metalink4+xml"],["metalink","application/metalink+xml"],["mets","application/mets+xml"],["mfm","application/vnd.mfmp"],["mft","application/rpki-manifest"],["mgp","application/vnd.osgeo.mapguide.package"],["mgz","application/vnd.proteus.magazine"],["mid","audio/midi"],["midi","audio/midi"],["mie","application/x-mie"],["mif","application/vnd.mif"],["mime","message/rfc822"],["mj2","video/mj2"],["mjp2","video/mj2"],["mjs","application/javascript"],["mk3d","video/x-matroska"],["mka","audio/x-matroska"],["mkd","text/x-markdown"],["mks","video/x-matroska"],["mkv","video/x-matroska"],["mlp","application/vnd.dolby.mlp"],["mmd","application/vnd.chipnuts.karaoke-mmd"],["mmf","application/vnd.smaf"],["mml","text/mathml"],["mmr","image/vnd.fujixerox.edmics-mmr"],["mng","video/x-mng"],["mny","application/x-msmoney"],["mobi","application/x-mobipocket-ebook"],["mods","application/mods+xml"],["mov","video/quicktime"],["movie","video/x-sgi-movie"],["mp2","audio/mpeg"],["mp2a","audio/mpeg"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mp4a","audio/mp4"],["mp4s","application/mp4"],["mp4v","video/mp4"],["mp21","application/mp21"],["mpc","application/vnd.mophun.certificate"],["mpd","application/dash+xml"],["mpe","video/mpeg"],["mpeg","video/mpeg"],["mpg","video/mpeg"],["mpg4","video/mp4"],["mpga","audio/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["mpm","application/vnd.blueice.multipass"],["mpn","application/vnd.mophun.application"],["mpp","application/vnd.ms-project"],["mpt","application/vnd.ms-project"],["mpy","application/vnd.ibm.minipay"],["mqy","application/vnd.mobius.mqy"],["mrc","application/marc"],["mrcx","application/marcxml+xml"],["ms","text/troff"],["mscml","application/mediaservercontrol+xml"],["mseed","application/vnd.fdsn.mseed"],["mseq","application/vnd.mseq"],["msf","application/vnd.epson.msf"],["msg","application/vnd.ms-outlook"],["msh","model/mesh"],["msi","application/x-msdownload"],["msl","application/vnd.mobius.msl"],["msm","application/octet-stream"],["msp","application/octet-stream"],["msty","application/vnd.muvee.style"],["mtl","model/mtl"],["mts","model/vnd.mts"],["mus","application/vnd.musician"],["musd","application/mmt-usd+xml"],["musicxml","application/vnd.recordare.musicxml+xml"],["mvb","application/x-msmediaview"],["mvt","application/vnd.mapbox-vector-tile"],["mwf","application/vnd.mfer"],["mxf","application/mxf"],["mxl","application/vnd.recordare.musicxml"],["mxmf","audio/mobile-xmf"],["mxml","application/xv+xml"],["mxs","application/vnd.triscape.mxs"],["mxu","video/vnd.mpegurl"],["n-gage","application/vnd.nokia.n-gage.symbian.install"],["n3","text/n3"],["nb","application/mathematica"],["nbp","application/vnd.wolfram.player"],["nc","application/x-netcdf"],["ncx","application/x-dtbncx+xml"],["nfo","text/x-nfo"],["ngdat","application/vnd.nokia.n-gage.data"],["nitf","application/vnd.nitf"],["nlu","application/vnd.neurolanguage.nlu"],["nml","application/vnd.enliven"],["nnd","application/vnd.noblenet-directory"],["nns","application/vnd.noblenet-sealer"],["nnw","application/vnd.noblenet-web"],["npx","image/vnd.net-fpx"],["nq","application/n-quads"],["nsc","application/x-conference"],["nsf","application/vnd.lotus-notes"],["nt","application/n-triples"],["ntf","application/vnd.nitf"],["numbers","application/x-iwork-numbers-sffnumbers"],["nzb","application/x-nzb"],["oa2","application/vnd.fujitsu.oasys2"],["oa3","application/vnd.fujitsu.oasys3"],["oas","application/vnd.fujitsu.oasys"],["obd","application/x-msbinder"],["obgx","application/vnd.openblox.game+xml"],["obj","model/obj"],["oda","application/oda"],["odb","application/vnd.oasis.opendocument.database"],["odc","application/vnd.oasis.opendocument.chart"],["odf","application/vnd.oasis.opendocument.formula"],["odft","application/vnd.oasis.opendocument.formula-template"],["odg","application/vnd.oasis.opendocument.graphics"],["odi","application/vnd.oasis.opendocument.image"],["odm","application/vnd.oasis.opendocument.text-master"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogex","model/vnd.opengex"],["ogg","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["omdoc","application/omdoc+xml"],["onepkg","application/onenote"],["onetmp","application/onenote"],["onetoc","application/onenote"],["onetoc2","application/onenote"],["opf","application/oebps-package+xml"],["opml","text/x-opml"],["oprc","application/vnd.palm"],["opus","audio/ogg"],["org","text/x-org"],["osf","application/vnd.yamaha.openscoreformat"],["osfpvg","application/vnd.yamaha.openscoreformat.osfpvg+xml"],["osm","application/vnd.openstreetmap.data+xml"],["otc","application/vnd.oasis.opendocument.chart-template"],["otf","font/otf"],["otg","application/vnd.oasis.opendocument.graphics-template"],["oth","application/vnd.oasis.opendocument.text-web"],["oti","application/vnd.oasis.opendocument.image-template"],["otp","application/vnd.oasis.opendocument.presentation-template"],["ots","application/vnd.oasis.opendocument.spreadsheet-template"],["ott","application/vnd.oasis.opendocument.text-template"],["ova","application/x-virtualbox-ova"],["ovf","application/x-virtualbox-ovf"],["owl","application/rdf+xml"],["oxps","application/oxps"],["oxt","application/vnd.openofficeorg.extension"],["p","text/x-pascal"],["p7a","application/x-pkcs7-signature"],["p7b","application/x-pkcs7-certificates"],["p7c","application/pkcs7-mime"],["p7m","application/pkcs7-mime"],["p7r","application/x-pkcs7-certreqresp"],["p7s","application/pkcs7-signature"],["p8","application/pkcs8"],["p10","application/x-pkcs10"],["p12","application/x-pkcs12"],["pac","application/x-ns-proxy-autoconfig"],["pages","application/x-iwork-pages-sffpages"],["pas","text/x-pascal"],["paw","application/vnd.pawaafile"],["pbd","application/vnd.powerbuilder6"],["pbm","image/x-portable-bitmap"],["pcap","application/vnd.tcpdump.pcap"],["pcf","application/x-font-pcf"],["pcl","application/vnd.hp-pcl"],["pclxl","application/vnd.hp-pclxl"],["pct","image/x-pict"],["pcurl","application/vnd.curl.pcurl"],["pcx","image/x-pcx"],["pdb","application/x-pilot"],["pde","text/x-processing"],["pdf","application/pdf"],["pem","application/x-x509-user-cert"],["pfa","application/x-font-type1"],["pfb","application/x-font-type1"],["pfm","application/x-font-type1"],["pfr","application/font-tdpfr"],["pfx","application/x-pkcs12"],["pgm","image/x-portable-graymap"],["pgn","application/x-chess-pgn"],["pgp","application/pgp"],["php","application/x-httpd-php"],["php3","application/x-httpd-php"],["php4","application/x-httpd-php"],["phps","application/x-httpd-php-source"],["phtml","application/x-httpd-php"],["pic","image/x-pict"],["pkg","application/octet-stream"],["pki","application/pkixcmp"],["pkipath","application/pkix-pkipath"],["pkpass","application/vnd.apple.pkpass"],["pl","application/x-perl"],["plb","application/vnd.3gpp.pic-bw-large"],["plc","application/vnd.mobius.plc"],["plf","application/vnd.pocketlearn"],["pls","application/pls+xml"],["pm","application/x-perl"],["pml","application/vnd.ctc-posml"],["png","image/png"],["pnm","image/x-portable-anymap"],["portpkg","application/vnd.macports.portpkg"],["pot","application/vnd.ms-powerpoint"],["potm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["potx","application/vnd.openxmlformats-officedocument.presentationml.template"],["ppa","application/vnd.ms-powerpoint"],["ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"],["ppd","application/vnd.cups-ppd"],["ppm","image/x-portable-pixmap"],["pps","application/vnd.ms-powerpoint"],["ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],["ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"],["ppt","application/powerpoint"],["pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["pqa","application/vnd.palm"],["prc","application/x-pilot"],["pre","application/vnd.lotus-freelance"],["prf","application/pics-rules"],["provx","application/provenance+xml"],["ps","application/postscript"],["psb","application/vnd.3gpp.pic-bw-small"],["psd","application/x-photoshop"],["psf","application/x-font-linux-psf"],["pskcxml","application/pskc+xml"],["pti","image/prs.pti"],["ptid","application/vnd.pvi.ptid1"],["pub","application/x-mspublisher"],["pvb","application/vnd.3gpp.pic-bw-var"],["pwn","application/vnd.3m.post-it-notes"],["pya","audio/vnd.ms-playready.media.pya"],["pyv","video/vnd.ms-playready.media.pyv"],["qam","application/vnd.epson.quickanime"],["qbo","application/vnd.intu.qbo"],["qfx","application/vnd.intu.qfx"],["qps","application/vnd.publishare-delta-tree"],["qt","video/quicktime"],["qwd","application/vnd.quark.quarkxpress"],["qwt","application/vnd.quark.quarkxpress"],["qxb","application/vnd.quark.quarkxpress"],["qxd","application/vnd.quark.quarkxpress"],["qxl","application/vnd.quark.quarkxpress"],["qxt","application/vnd.quark.quarkxpress"],["ra","audio/x-realaudio"],["ram","audio/x-pn-realaudio"],["raml","application/raml+yaml"],["rapd","application/route-apd+xml"],["rar","application/x-rar"],["ras","image/x-cmu-raster"],["rcprofile","application/vnd.ipunplugged.rcprofile"],["rdf","application/rdf+xml"],["rdz","application/vnd.data-vision.rdz"],["relo","application/p2p-overlay+xml"],["rep","application/vnd.businessobjects"],["res","application/x-dtbresource+xml"],["rgb","image/x-rgb"],["rif","application/reginfo+xml"],["rip","audio/vnd.rip"],["ris","application/x-research-info-systems"],["rl","application/resource-lists+xml"],["rlc","image/vnd.fujixerox.edmics-rlc"],["rld","application/resource-lists-diff+xml"],["rm","audio/x-pn-realaudio"],["rmi","audio/midi"],["rmp","audio/x-pn-realaudio-plugin"],["rms","application/vnd.jcp.javame.midlet-rms"],["rmvb","application/vnd.rn-realmedia-vbr"],["rnc","application/relax-ng-compact-syntax"],["rng","application/xml"],["roa","application/rpki-roa"],["roff","text/troff"],["rp9","application/vnd.cloanto.rp9"],["rpm","audio/x-pn-realaudio-plugin"],["rpss","application/vnd.nokia.radio-presets"],["rpst","application/vnd.nokia.radio-preset"],["rq","application/sparql-query"],["rs","application/rls-services+xml"],["rsa","application/x-pkcs7"],["rsat","application/atsc-rsat+xml"],["rsd","application/rsd+xml"],["rsheet","application/urc-ressheet+xml"],["rss","application/rss+xml"],["rtf","text/rtf"],["rtx","text/richtext"],["run","application/x-makeself"],["rusd","application/route-usd+xml"],["rv","video/vnd.rn-realvideo"],["s","text/x-asm"],["s3m","audio/s3m"],["saf","application/vnd.yamaha.smaf-audio"],["sass","text/x-sass"],["sbml","application/sbml+xml"],["sc","application/vnd.ibm.secure-container"],["scd","application/x-msschedule"],["scm","application/vnd.lotus-screencam"],["scq","application/scvp-cv-request"],["scs","application/scvp-cv-response"],["scss","text/x-scss"],["scurl","text/vnd.curl.scurl"],["sda","application/vnd.stardivision.draw"],["sdc","application/vnd.stardivision.calc"],["sdd","application/vnd.stardivision.impress"],["sdkd","application/vnd.solent.sdkm+xml"],["sdkm","application/vnd.solent.sdkm+xml"],["sdp","application/sdp"],["sdw","application/vnd.stardivision.writer"],["sea","application/octet-stream"],["see","application/vnd.seemail"],["seed","application/vnd.fdsn.seed"],["sema","application/vnd.sema"],["semd","application/vnd.semd"],["semf","application/vnd.semf"],["senmlx","application/senml+xml"],["sensmlx","application/sensml+xml"],["ser","application/java-serialized-object"],["setpay","application/set-payment-initiation"],["setreg","application/set-registration-initiation"],["sfd-hdstx","application/vnd.hydrostatix.sof-data"],["sfs","application/vnd.spotfire.sfs"],["sfv","text/x-sfv"],["sgi","image/sgi"],["sgl","application/vnd.stardivision.writer-global"],["sgm","text/sgml"],["sgml","text/sgml"],["sh","application/x-sh"],["shar","application/x-shar"],["shex","text/shex"],["shf","application/shf+xml"],["shtml","text/html"],["sid","image/x-mrsid-image"],["sieve","application/sieve"],["sig","application/pgp-signature"],["sil","audio/silk"],["silo","model/mesh"],["sis","application/vnd.symbian.install"],["sisx","application/vnd.symbian.install"],["sit","application/x-stuffit"],["sitx","application/x-stuffitx"],["siv","application/sieve"],["skd","application/vnd.koan"],["skm","application/vnd.koan"],["skp","application/vnd.koan"],["skt","application/vnd.koan"],["sldm","application/vnd.ms-powerpoint.slide.macroenabled.12"],["sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"],["slim","text/slim"],["slm","text/slim"],["sls","application/route-s-tsid+xml"],["slt","application/vnd.epson.salt"],["sm","application/vnd.stepmania.stepchart"],["smf","application/vnd.stardivision.math"],["smi","application/smil"],["smil","application/smil"],["smv","video/x-smv"],["smzip","application/vnd.stepmania.package"],["snd","audio/basic"],["snf","application/x-font-snf"],["so","application/octet-stream"],["spc","application/x-pkcs7-certificates"],["spdx","text/spdx"],["spf","application/vnd.yamaha.smaf-phrase"],["spl","application/x-futuresplash"],["spot","text/vnd.in3d.spot"],["spp","application/scvp-vp-response"],["spq","application/scvp-vp-request"],["spx","audio/ogg"],["sql","application/x-sql"],["src","application/x-wais-source"],["srt","application/x-subrip"],["sru","application/sru+xml"],["srx","application/sparql-results+xml"],["ssdl","application/ssdl+xml"],["sse","application/vnd.kodak-descriptor"],["ssf","application/vnd.epson.ssf"],["ssml","application/ssml+xml"],["sst","application/octet-stream"],["st","application/vnd.sailingtracker.track"],["stc","application/vnd.sun.xml.calc.template"],["std","application/vnd.sun.xml.draw.template"],["stf","application/vnd.wt.stf"],["sti","application/vnd.sun.xml.impress.template"],["stk","application/hyperstudio"],["stl","model/stl"],["stpx","model/step+xml"],["stpxz","model/step-xml+zip"],["stpz","model/step+zip"],["str","application/vnd.pg.format"],["stw","application/vnd.sun.xml.writer.template"],["styl","text/stylus"],["stylus","text/stylus"],["sub","text/vnd.dvb.subtitle"],["sus","application/vnd.sus-calendar"],["susp","application/vnd.sus-calendar"],["sv4cpio","application/x-sv4cpio"],["sv4crc","application/x-sv4crc"],["svc","application/vnd.dvb.service"],["svd","application/vnd.svd"],["svg","image/svg+xml"],["svgz","image/svg+xml"],["swa","application/x-director"],["swf","application/x-shockwave-flash"],["swi","application/vnd.aristanetworks.swi"],["swidtag","application/swid+xml"],["sxc","application/vnd.sun.xml.calc"],["sxd","application/vnd.sun.xml.draw"],["sxg","application/vnd.sun.xml.writer.global"],["sxi","application/vnd.sun.xml.impress"],["sxm","application/vnd.sun.xml.math"],["sxw","application/vnd.sun.xml.writer"],["t","text/troff"],["t3","application/x-t3vm-image"],["t38","image/t38"],["taglet","application/vnd.mynfc"],["tao","application/vnd.tao.intent-module-archive"],["tap","image/vnd.tencent.tap"],["tar","application/x-tar"],["tcap","application/vnd.3gpp2.tcap"],["tcl","application/x-tcl"],["td","application/urc-targetdesc+xml"],["teacher","application/vnd.smart.teacher"],["tei","application/tei+xml"],["teicorpus","application/tei+xml"],["tex","application/x-tex"],["texi","application/x-texinfo"],["texinfo","application/x-texinfo"],["text","text/plain"],["tfi","application/thraud+xml"],["tfm","application/x-tex-tfm"],["tfx","image/tiff-fx"],["tga","image/x-tga"],["tgz","application/x-tar"],["thmx","application/vnd.ms-officetheme"],["tif","image/tiff"],["tiff","image/tiff"],["tk","application/x-tcl"],["tmo","application/vnd.tmobile-livetv"],["toml","application/toml"],["torrent","application/x-bittorrent"],["tpl","application/vnd.groove-tool-template"],["tpt","application/vnd.trid.tpt"],["tr","text/troff"],["tra","application/vnd.trueapp"],["trig","application/trig"],["trm","application/x-msterminal"],["ts","video/mp2t"],["tsd","application/timestamped-data"],["tsv","text/tab-separated-values"],["ttc","font/collection"],["ttf","font/ttf"],["ttl","text/turtle"],["ttml","application/ttml+xml"],["twd","application/vnd.simtech-mindmapper"],["twds","application/vnd.simtech-mindmapper"],["txd","application/vnd.genomatix.tuxedo"],["txf","application/vnd.mobius.txf"],["txt","text/plain"],["u8dsn","message/global-delivery-status"],["u8hdr","message/global-headers"],["u8mdn","message/global-disposition-notification"],["u8msg","message/global"],["u32","application/x-authorware-bin"],["ubj","application/ubjson"],["udeb","application/x-debian-package"],["ufd","application/vnd.ufdl"],["ufdl","application/vnd.ufdl"],["ulx","application/x-glulx"],["umj","application/vnd.umajin"],["unityweb","application/vnd.unity"],["uoml","application/vnd.uoml+xml"],["uri","text/uri-list"],["uris","text/uri-list"],["urls","text/uri-list"],["usdz","model/vnd.usdz+zip"],["ustar","application/x-ustar"],["utz","application/vnd.uiq.theme"],["uu","text/x-uuencode"],["uva","audio/vnd.dece.audio"],["uvd","application/vnd.dece.data"],["uvf","application/vnd.dece.data"],["uvg","image/vnd.dece.graphic"],["uvh","video/vnd.dece.hd"],["uvi","image/vnd.dece.graphic"],["uvm","video/vnd.dece.mobile"],["uvp","video/vnd.dece.pd"],["uvs","video/vnd.dece.sd"],["uvt","application/vnd.dece.ttml+xml"],["uvu","video/vnd.uvvu.mp4"],["uvv","video/vnd.dece.video"],["uvva","audio/vnd.dece.audio"],["uvvd","application/vnd.dece.data"],["uvvf","application/vnd.dece.data"],["uvvg","image/vnd.dece.graphic"],["uvvh","video/vnd.dece.hd"],["uvvi","image/vnd.dece.graphic"],["uvvm","video/vnd.dece.mobile"],["uvvp","video/vnd.dece.pd"],["uvvs","video/vnd.dece.sd"],["uvvt","application/vnd.dece.ttml+xml"],["uvvu","video/vnd.uvvu.mp4"],["uvvv","video/vnd.dece.video"],["uvvx","application/vnd.dece.unspecified"],["uvvz","application/vnd.dece.zip"],["uvx","application/vnd.dece.unspecified"],["uvz","application/vnd.dece.zip"],["vbox","application/x-virtualbox-vbox"],["vbox-extpack","application/x-virtualbox-vbox-extpack"],["vcard","text/vcard"],["vcd","application/x-cdlink"],["vcf","text/x-vcard"],["vcg","application/vnd.groove-vcard"],["vcs","text/x-vcalendar"],["vcx","application/vnd.vcx"],["vdi","application/x-virtualbox-vdi"],["vds","model/vnd.sap.vds"],["vhd","application/x-virtualbox-vhd"],["vis","application/vnd.visionary"],["viv","video/vnd.vivo"],["vlc","application/videolan"],["vmdk","application/x-virtualbox-vmdk"],["vob","video/x-ms-vob"],["vor","application/vnd.stardivision.writer"],["vox","application/x-authorware-bin"],["vrml","model/vrml"],["vsd","application/vnd.visio"],["vsf","application/vnd.vsf"],["vss","application/vnd.visio"],["vst","application/vnd.visio"],["vsw","application/vnd.visio"],["vtf","image/vnd.valve.source.texture"],["vtt","text/vtt"],["vtu","model/vnd.vtu"],["vxml","application/voicexml+xml"],["w3d","application/x-director"],["wad","application/x-doom"],["wadl","application/vnd.sun.wadl+xml"],["war","application/java-archive"],["wasm","application/wasm"],["wav","audio/x-wav"],["wax","audio/x-ms-wax"],["wbmp","image/vnd.wap.wbmp"],["wbs","application/vnd.criticaltools.wbs+xml"],["wbxml","application/wbxml"],["wcm","application/vnd.ms-works"],["wdb","application/vnd.ms-works"],["wdp","image/vnd.ms-photo"],["weba","audio/webm"],["webapp","application/x-web-app-manifest+json"],["webm","video/webm"],["webmanifest","application/manifest+json"],["webp","image/webp"],["wg","application/vnd.pmi.widget"],["wgt","application/widget"],["wks","application/vnd.ms-works"],["wm","video/x-ms-wm"],["wma","audio/x-ms-wma"],["wmd","application/x-ms-wmd"],["wmf","image/wmf"],["wml","text/vnd.wap.wml"],["wmlc","application/wmlc"],["wmls","text/vnd.wap.wmlscript"],["wmlsc","application/vnd.wap.wmlscriptc"],["wmv","video/x-ms-wmv"],["wmx","video/x-ms-wmx"],["wmz","application/x-msmetafile"],["woff","font/woff"],["woff2","font/woff2"],["word","application/msword"],["wpd","application/vnd.wordperfect"],["wpl","application/vnd.ms-wpl"],["wps","application/vnd.ms-works"],["wqd","application/vnd.wqd"],["wri","application/x-mswrite"],["wrl","model/vrml"],["wsc","message/vnd.wfa.wsc"],["wsdl","application/wsdl+xml"],["wspolicy","application/wspolicy+xml"],["wtb","application/vnd.webturbo"],["wvx","video/x-ms-wvx"],["x3d","model/x3d+xml"],["x3db","model/x3d+fastinfoset"],["x3dbz","model/x3d+binary"],["x3dv","model/x3d-vrml"],["x3dvz","model/x3d+vrml"],["x3dz","model/x3d+xml"],["x32","application/x-authorware-bin"],["x_b","model/vnd.parasolid.transmit.binary"],["x_t","model/vnd.parasolid.transmit.text"],["xaml","application/xaml+xml"],["xap","application/x-silverlight-app"],["xar","application/vnd.xara"],["xav","application/xcap-att+xml"],["xbap","application/x-ms-xbap"],["xbd","application/vnd.fujixerox.docuworks.binder"],["xbm","image/x-xbitmap"],["xca","application/xcap-caps+xml"],["xcs","application/calendar+xml"],["xdf","application/xcap-diff+xml"],["xdm","application/vnd.syncml.dm+xml"],["xdp","application/vnd.adobe.xdp+xml"],["xdssc","application/dssc+xml"],["xdw","application/vnd.fujixerox.docuworks"],["xel","application/xcap-el+xml"],["xenc","application/xenc+xml"],["xer","application/patch-ops-error+xml"],["xfdf","application/vnd.adobe.xfdf"],["xfdl","application/vnd.xfdl"],["xht","application/xhtml+xml"],["xhtml","application/xhtml+xml"],["xhvml","application/xv+xml"],["xif","image/vnd.xiff"],["xl","application/excel"],["xla","application/vnd.ms-excel"],["xlam","application/vnd.ms-excel.addin.macroEnabled.12"],["xlc","application/vnd.ms-excel"],["xlf","application/xliff+xml"],["xlm","application/vnd.ms-excel"],["xls","application/vnd.ms-excel"],["xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"],["xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xlt","application/vnd.ms-excel"],["xltm","application/vnd.ms-excel.template.macroEnabled.12"],["xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"],["xlw","application/vnd.ms-excel"],["xm","audio/xm"],["xml","application/xml"],["xns","application/xcap-ns+xml"],["xo","application/vnd.olpc-sugar"],["xop","application/xop+xml"],["xpi","application/x-xpinstall"],["xpl","application/xproc+xml"],["xpm","image/x-xpixmap"],["xpr","application/vnd.is-xpr"],["xps","application/vnd.ms-xpsdocument"],["xpw","application/vnd.intercon.formnet"],["xpx","application/vnd.intercon.formnet"],["xsd","application/xml"],["xsl","application/xml"],["xslt","application/xslt+xml"],["xsm","application/vnd.syncml+xml"],["xspf","application/xspf+xml"],["xul","application/vnd.mozilla.xul+xml"],["xvm","application/xv+xml"],["xvml","application/xv+xml"],["xwd","image/x-xwindowdump"],["xyz","chemical/x-xyz"],["xz","application/x-xz"],["yaml","text/yaml"],["yang","application/yang"],["yin","application/yin+xml"],["yml","text/yaml"],["ymp","text/x-suse-ymp"],["z","application/x-compress"],["z1","application/x-zmachine"],["z2","application/x-zmachine"],["z3","application/x-zmachine"],["z4","application/x-zmachine"],["z5","application/x-zmachine"],["z6","application/x-zmachine"],["z7","application/x-zmachine"],["z8","application/x-zmachine"],["zaz","application/vnd.zzazz.deck+xml"],["zip","application/zip"],["zir","application/vnd.zul"],["zirz","application/vnd.zul"],["zmm","application/vnd.handheld-entertainment+xml"],["zsh","text/x-scriptzsh"]]);function ut(e,t,i){const n=ua(e),{webkitRelativePath:r}=e,o=typeof t=="string"?t:typeof r=="string"&&r.length>0?r:`./${e.name}`;return typeof n.path!="string"&&Mi(n,"path",o),Mi(n,"relativePath",o),n}function ua(e){const{name:t}=e;if(t&&t.lastIndexOf(".")!==-1&&!e.type){const n=t.split(".").pop().toLowerCase(),r=da.get(n);r&&Object.defineProperty(e,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return e}function Mi(e,t,i){Object.defineProperty(e,t,{value:i,writable:!1,configurable:!1,enumerable:!0})}const fa=[".DS_Store","Thumbs.db"];function ma(e){return tt(this,void 0,void 0,function*(){return Wt(e)&&xa(e.dataTransfer)?ba(e.dataTransfer,e.type):va(e)?ga(e):Array.isArray(e)&&e.every(t=>"getFile"in t&&typeof t.getFile=="function")?ha(e):[]})}function xa(e){return Wt(e)}function va(e){return Wt(e)&&Wt(e.target)}function Wt(e){return typeof e=="object"&&e!==null}function ga(e){return kn(e.target.files).map(t=>ut(t))}function ha(e){return tt(this,void 0,void 0,function*(){return(yield Promise.all(e.map(i=>i.getFile()))).map(i=>ut(i))})}function ba(e,t){return tt(this,void 0,void 0,function*(){if(e.items){const i=kn(e.items).filter(r=>r.kind==="file");if(t!=="drop")return i;const n=yield Promise.all(i.map(ya));return $i(Ni(n))}return $i(kn(e.files).map(i=>ut(i)))})}function $i(e){return e.filter(t=>fa.indexOf(t.name)===-1)}function kn(e){if(e===null)return[];const t=[];for(let i=0;i<e.length;i++){const n=e[i];t.push(n)}return t}function ya(e){if(typeof e.webkitGetAsEntry!="function")return qi(e);const t=e.webkitGetAsEntry();return t&&t.isDirectory?Ui(t):qi(e,t)}function Ni(e){return e.reduce((t,i)=>[...t,...Array.isArray(i)?Ni(i):[i]],[])}function qi(e,t){return tt(this,void 0,void 0,function*(){var i;if(globalThis.isSecureContext&&typeof e.getAsFileSystemHandle=="function"){const o=yield e.getAsFileSystemHandle();if(o===null)throw new Error(`${e} is not a File`);if(o!==void 0){const a=yield o.getFile();return a.handle=o,ut(a)}}const n=e.getAsFile();if(!n)throw new Error(`${e} is not a File`);return ut(n,(i=t==null?void 0:t.fullPath)!==null&&i!==void 0?i:void 0)})}function Ea(e){return tt(this,void 0,void 0,function*(){return e.isDirectory?Ui(e):wa(e)})}function Ui(e){const t=e.createReader();return new Promise((i,n)=>{const r=[];function o(){t.readEntries(a=>tt(this,void 0,void 0,function*(){if(a.length){const s=Promise.all(a.map(Ea));r.push(s),o()}else try{const s=yield Promise.all(r);i(s)}catch(s){n(s)}}),a=>{n(a)})}o()})}function wa(e){return tt(this,void 0,void 0,function*(){return new Promise((t,i)=>{e.file(n=>{const r=ut(n,e.fullPath);t(r)},n=>{i(n)})})})}var Vt={},Wi;function Sa(){return Wi||(Wi=1,Vt.__esModule=!0,Vt.default=function(e,t){if(e&&t){var i=Array.isArray(t)?t:t.split(",");if(i.length===0)return!0;var n=e.name||"",r=(e.type||"").toLowerCase(),o=r.replace(/\/.*$/,"");return i.some(function(a){var s=a.trim().toLowerCase();return s.charAt(0)==="."?n.toLowerCase().endsWith(s):s.endsWith("/*")?o===s.replace(/\/.*$/,""):r===s})}return!0}),Vt}var Ra=Sa();const On=Ge(Ra);function Vi(e){return Oa(e)||ka(e)||Ji(e)||Ta()}function Ta(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
45
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ka(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Oa(e){if(Array.isArray(e))return _n(e)}function Hi(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),i.push.apply(i,n)}return i}function Yi(e){for(var t=1;t<arguments.length;t++){var i=arguments[t]!=null?arguments[t]:{};t%2?Hi(Object(i),!0).forEach(function(n){Ki(e,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):Hi(Object(i)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))})}return e}function Ki(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function Tt(e,t){return Ca(e)||Aa(e,t)||Ji(e,t)||_a()}function _a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
46
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ji(e,t){if(e){if(typeof e=="string")return _n(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);if(i==="Object"&&e.constructor&&(i=e.constructor.name),i==="Map"||i==="Set")return Array.from(e);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return _n(e,t)}}function _n(e,t){(t==null||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}function Aa(e,t){var i=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(i!=null){var n=[],r=!0,o=!1,a,s;try{for(i=i.call(e);!(r=(a=i.next()).done)&&(n.push(a.value),!(t&&n.length===t));r=!0);}catch(c){o=!0,s=c}finally{try{!r&&i.return!=null&&i.return()}finally{if(o)throw s}}return n}}function Ca(e){if(Array.isArray(e))return e}var Da=typeof On=="function"?On:On.default,ja="file-invalid-type",Fa="file-too-large",Pa="file-too-small",Ia="too-many-files",Ba=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",i=t.split(","),n=i.length>1?"one of ".concat(i.join(", ")):i[0];return{code:ja,message:"File type must be ".concat(n)}},Gi=function(t){return{code:Fa,message:"File is larger than ".concat(t," ").concat(t===1?"byte":"bytes")}},Xi=function(t){return{code:Pa,message:"File is smaller than ".concat(t," ").concat(t===1?"byte":"bytes")}},za={code:Ia,message:"Too many files"};function Zi(e,t){var i=e.type==="application/x-moz-file"||Da(e,t);return[i,i?null:Ba(t)]}function Qi(e,t,i){if(nt(e.size))if(nt(t)&&nt(i)){if(e.size>i)return[!1,Gi(i)];if(e.size<t)return[!1,Xi(t)]}else{if(nt(t)&&e.size<t)return[!1,Xi(t)];if(nt(i)&&e.size>i)return[!1,Gi(i)]}return[!0,null]}function nt(e){return e!=null}function La(e){var t=e.files,i=e.accept,n=e.minSize,r=e.maxSize,o=e.multiple,a=e.maxFiles,s=e.validator;return!o&&t.length>1||o&&a>=1&&t.length>a?!1:t.every(function(c){var p=Zi(c,i),l=Tt(p,1),u=l[0],f=Qi(c,n,r),m=Tt(f,1),x=m[0],g=s?s(c):null;return u&&x&&!g})}function Ht(e){return typeof e.isPropagationStopped=="function"?e.isPropagationStopped():typeof e.cancelBubble<"u"?e.cancelBubble:!1}function Yt(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(t){return t==="Files"||t==="application/x-moz-file"}):!!e.target&&!!e.target.files}function er(e){e.preventDefault()}function Ma(e){return e.indexOf("MSIE")!==-1||e.indexOf("Trident/")!==-1}function $a(e){return e.indexOf("Edge/")!==-1}function Na(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return Ma(e)||$a(e)}function Me(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),a=1;a<r;a++)o[a-1]=arguments[a];return t.some(function(s){return!Ht(n)&&s&&s.apply(void 0,[n].concat(o)),Ht(n)})}}function qa(){return"showOpenFilePicker"in window}function Ua(e){if(nt(e)){var t=Object.entries(e).filter(function(i){var n=Tt(i,2),r=n[0],o=n[1],a=!0;return tr(r)||(console.warn('Skipped "'.concat(r,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),a=!1),(!Array.isArray(o)||!o.every(nr))&&(console.warn('Skipped "'.concat(r,'" because an invalid file extension was provided.')),a=!1),a}).reduce(function(i,n){var r=Tt(n,2),o=r[0],a=r[1];return Yi(Yi({},i),{},Ki({},o,a))},{});return[{description:"Files",accept:t}]}return e}function Wa(e){if(nt(e))return Object.entries(e).reduce(function(t,i){var n=Tt(i,2),r=n[0],o=n[1];return[].concat(Vi(t),[r],Vi(o))},[]).filter(function(t){return tr(t)||nr(t)}).join(",")}function Va(e){return e instanceof DOMException&&(e.name==="AbortError"||e.code===e.ABORT_ERR)}function Ha(e){return e instanceof DOMException&&(e.name==="SecurityError"||e.code===e.SECURITY_ERR)}function tr(e){return e==="audio/*"||e==="video/*"||e==="image/*"||e==="text/*"||e==="application/*"||/\w+\/[-+.\w]+/g.test(e)}function nr(e){return/^.*\.[\w]+$/.test(e)}var Ya=["children"],Ka=["open"],Ja=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],Ga=["refKey","onChange","onClick"];function Xa(e){return es(e)||Qa(e)||ir(e)||Za()}function Za(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
47
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Qa(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function es(e){if(Array.isArray(e))return Cn(e)}function An(e,t){return is(e)||ns(e,t)||ir(e,t)||ts()}function ts(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
48
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ir(e,t){if(e){if(typeof e=="string")return Cn(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);if(i==="Object"&&e.constructor&&(i=e.constructor.name),i==="Map"||i==="Set")return Array.from(e);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Cn(e,t)}}function Cn(e,t){(t==null||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}function ns(e,t){var i=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(i!=null){var n=[],r=!0,o=!1,a,s;try{for(i=i.call(e);!(r=(a=i.next()).done)&&(n.push(a.value),!(t&&n.length===t));r=!0);}catch(c){o=!0,s=c}finally{try{!r&&i.return!=null&&i.return()}finally{if(o)throw s}}return n}}function is(e){if(Array.isArray(e))return e}function rr(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),i.push.apply(i,n)}return i}function ge(e){for(var t=1;t<arguments.length;t++){var i=arguments[t]!=null?arguments[t]:{};t%2?rr(Object(i),!0).forEach(function(n){Dn(e,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):rr(Object(i)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))})}return e}function Dn(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function Kt(e,t){if(e==null)return{};var i=rs(e,t),n,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function rs(e,t){if(e==null)return{};var i={},n=Object.keys(e),r,o;for(o=0;o<n.length;o++)r=n[o],!(t.indexOf(r)>=0)&&(i[r]=e[r]);return i}var jn=T.forwardRef(function(e,t){var i=e.children,n=Kt(e,Ya),r=ar(n),o=r.open,a=Kt(r,Ka);return T.useImperativeHandle(t,function(){return{open:o}},[o]),T.createElement(T.Fragment,null,i(ge(ge({},a),{},{open:o})))});jn.displayName="Dropzone";var or={disabled:!1,getFilesFromEvent:ma,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1,autoFocus:!1};jn.defaultProps=or,jn.propTypes={children:se.func,accept:se.objectOf(se.arrayOf(se.string)),multiple:se.bool,preventDropOnDocument:se.bool,noClick:se.bool,noKeyboard:se.bool,noDrag:se.bool,noDragEventsBubbling:se.bool,minSize:se.number,maxSize:se.number,maxFiles:se.number,disabled:se.bool,getFilesFromEvent:se.func,onFileDialogCancel:se.func,onFileDialogOpen:se.func,useFsAccessApi:se.bool,autoFocus:se.bool,onDragEnter:se.func,onDragLeave:se.func,onDragOver:se.func,onDrop:se.func,onDropAccepted:se.func,onDropRejected:se.func,onError:se.func,validator:se.func};var Fn={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function ar(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=ge(ge({},or),e),i=t.accept,n=t.disabled,r=t.getFilesFromEvent,o=t.maxSize,a=t.minSize,s=t.multiple,c=t.maxFiles,p=t.onDragEnter,l=t.onDragLeave,u=t.onDragOver,f=t.onDrop,m=t.onDropAccepted,x=t.onDropRejected,g=t.onFileDialogCancel,y=t.onFileDialogOpen,h=t.useFsAccessApi,A=t.autoFocus,C=t.preventDropOnDocument,k=t.noClick,b=t.noKeyboard,D=t.noDrag,L=t.noDragEventsBubbling,B=t.onError,W=t.validator,J=T.useMemo(function(){return Wa(i)},[i]),ae=T.useMemo(function(){return Ua(i)},[i]),fe=T.useMemo(function(){return typeof y=="function"?y:sr},[y]),Z=T.useMemo(function(){return typeof g=="function"?g:sr},[g]),V=T.useRef(null),ce=T.useRef(null),Se=T.useReducer(os,Fn),Re=An(Se,2),be=Re[0],he=Re[1],S=be.isFocused,O=be.isFileDialogActive,z=T.useRef(typeof window<"u"&&window.isSecureContext&&h&&qa()),$=function(){!z.current&&O&&setTimeout(function(){if(ce.current){var F=ce.current.files;F.length||(he({type:"closeDialog"}),Z())}},300)};T.useEffect(function(){return window.addEventListener("focus",$,!1),function(){window.removeEventListener("focus",$,!1)}},[ce,O,Z,z]);var P=T.useRef([]),H=function(F){V.current&&V.current.contains(F.target)||(F.preventDefault(),P.current=[])};T.useEffect(function(){return C&&(document.addEventListener("dragover",er,!1),document.addEventListener("drop",H,!1)),function(){C&&(document.removeEventListener("dragover",er),document.removeEventListener("drop",H))}},[V,C]),T.useEffect(function(){return!n&&A&&V.current&&V.current.focus(),function(){}},[V,A,n]);var I=T.useCallback(function(R){B?B(R):console.error(R)},[B]),N=T.useCallback(function(R){R.preventDefault(),R.persist(),Ce(R),P.current=[].concat(Xa(P.current),[R.target]),Yt(R)&&Promise.resolve(r(R)).then(function(F){if(!(Ht(R)&&!L)){var le=F.length,ue=le>0&&La({files:F,accept:J,minSize:a,maxSize:o,multiple:s,maxFiles:c,validator:W}),ke=le>0&&!ue;he({isDragAccept:ue,isDragReject:ke,isDragActive:!0,type:"setDraggedFiles"}),p&&p(R)}}).catch(function(F){return I(F)})},[r,p,I,L,J,a,o,s,c,W]),Y=T.useCallback(function(R){R.preventDefault(),R.persist(),Ce(R);var F=Yt(R);if(F&&R.dataTransfer)try{R.dataTransfer.dropEffect="copy"}catch{}return F&&u&&u(R),!1},[u,L]),G=T.useCallback(function(R){R.preventDefault(),R.persist(),Ce(R);var F=P.current.filter(function(ue){return V.current&&V.current.contains(ue)}),le=F.indexOf(R.target);le!==-1&&F.splice(le,1),P.current=F,!(F.length>0)&&(he({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),Yt(R)&&l&&l(R))},[V,l,L]),M=T.useCallback(function(R,F){var le=[],ue=[];R.forEach(function(ke){var Je=Zi(ke,J),We=An(Je,2),st=We[0],Ft=We[1],Pt=Qi(ke,a,o),gt=An(Pt,2),It=gt[0],Bt=gt[1],zt=W?W(ke):null;if(st&&It&&!zt)le.push(ke);else{var Lt=[Ft,Bt];zt&&(Lt=Lt.concat(zt)),ue.push({file:ke,errors:Lt.filter(function(Mt){return Mt})})}}),(!s&&le.length>1||s&&c>=1&&le.length>c)&&(le.forEach(function(ke){ue.push({file:ke,errors:[za]})}),le.splice(0)),he({acceptedFiles:le,fileRejections:ue,isDragReject:ue.length>0,type:"setFiles"}),f&&f(le,ue,F),ue.length>0&&x&&x(ue,F),le.length>0&&m&&m(le,F)},[he,s,J,a,o,c,f,m,x,W]),xe=T.useCallback(function(R){R.preventDefault(),R.persist(),Ce(R),P.current=[],Yt(R)&&Promise.resolve(r(R)).then(function(F){Ht(R)&&!L||M(F,R)}).catch(function(F){return I(F)}),he({type:"reset"})},[r,M,I,L]),E=T.useCallback(function(){if(z.current){he({type:"openDialog"}),fe();var R={multiple:s,types:ae};window.showOpenFilePicker(R).then(function(F){return r(F)}).then(function(F){M(F,null),he({type:"closeDialog"})}).catch(function(F){Va(F)?(Z(F),he({type:"closeDialog"})):Ha(F)?(z.current=!1,ce.current?(ce.current.value=null,ce.current.click()):I(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):I(F)});return}ce.current&&(he({type:"openDialog"}),fe(),ce.current.value=null,ce.current.click())},[he,fe,Z,h,M,I,ae,s]),K=T.useCallback(function(R){!V.current||!V.current.isEqualNode(R.target)||(R.key===" "||R.key==="Enter"||R.keyCode===32||R.keyCode===13)&&(R.preventDefault(),E())},[V,E]),de=T.useCallback(function(){he({type:"focus"})},[]),te=T.useCallback(function(){he({type:"blur"})},[]),Oe=T.useCallback(function(){k||(Na()?setTimeout(E,0):E())},[k,E]),Ae=function(F){return n?null:F},ve=function(F){return b?null:Ae(F)},me=function(F){return D?null:Ae(F)},Ce=function(F){L&&F.stopPropagation()},xt=T.useMemo(function(){return function(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},F=R.refKey,le=F===void 0?"ref":F,ue=R.role,ke=R.onKeyDown,Je=R.onFocus,We=R.onBlur,st=R.onClick,Ft=R.onDragEnter,Pt=R.onDragOver,gt=R.onDragLeave,It=R.onDrop,Bt=Kt(R,Ja);return ge(ge(Dn({onKeyDown:ve(Me(ke,K)),onFocus:ve(Me(Je,de)),onBlur:ve(Me(We,te)),onClick:Ae(Me(st,Oe)),onDragEnter:me(Me(Ft,N)),onDragOver:me(Me(Pt,Y)),onDragLeave:me(Me(gt,G)),onDrop:me(Me(It,xe)),role:typeof ue=="string"&&ue!==""?ue:"presentation"},le,V),!n&&!b?{tabIndex:0}:{}),Bt)}},[V,K,de,te,Oe,N,Y,G,xe,b,D,n]),Ke=T.useCallback(function(R){R.stopPropagation()},[]),vt=T.useMemo(function(){return function(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},F=R.refKey,le=F===void 0?"ref":F,ue=R.onChange,ke=R.onClick,Je=Kt(R,Ga),We=Dn({accept:J,multiple:s,type:"file",style:{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},onChange:Ae(Me(ue,xe)),onClick:Ae(Me(ke,Ke)),tabIndex:-1},le,ce);return ge(ge({},We),Je)}},[ce,i,s,xe,n]);return ge(ge({},be),{},{isFocused:S&&!n,getRootProps:xt,getInputProps:vt,rootRef:V,inputRef:ce,open:Ae(E)})}function os(e,t){switch(t.type){case"focus":return ge(ge({},e),{},{isFocused:!0});case"blur":return ge(ge({},e),{},{isFocused:!1});case"openDialog":return ge(ge({},Fn),{},{isFileDialogActive:!0});case"closeDialog":return ge(ge({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return ge(ge({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return ge(ge({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections,isDragReject:t.isDragReject});case"reset":return ge({},Fn);default:return e}}function sr(){}const as={WAV_MIME_TYPES:["audio/wav","audio/x-wav","audio/wave","audio/x-pn-wav"],MP3_MIME_TYPES:["audio/mpeg","audio/mp3","audio/x-mpeg","audio/x-mp3","audio/x-mpeg-3"],FLAC_MIME_TYPES:["audio/flac"]},ss=10*1e3,cr="[Audio.getDurationSeconds]",cs=async(e,{throwError:t}={})=>new Promise((i,n)=>{if(typeof window>"u")return n(new Error("getDurationSeconds is only usable in the browser"));const r=URL.createObjectURL(e),o=new Audio,a=()=>{o.src="",URL.revokeObjectURL(r)},s=setTimeout(()=>{a(),console.error(cr,"Timeout",e.name,e.size,e.type),i(0)},ss);o.addEventListener("loadedmetadata",()=>{const c=o.duration;clearTimeout(s),a(),i(c)},{once:!0}),o.addEventListener("error",c=>{clearTimeout(s),a(),t?(console.error(cr,"Error",e.name,e.size,e.type,c),n(e)):i(0)},{once:!0}),o.src=r}),ls=e=>{const t=new Map;return e.forEach(i=>{t.set(`${i.name}-${i.size}`,i)}),Array.from(t.values())},ps=e=>new Promise(t=>{const i=new FileReader;i.onloadend=n=>{var a;const r=new Uint8Array((a=n.target)==null?void 0:a.result),o=na.filetypemime(r);t(o)},i.readAsArrayBuffer(e)}),ds=async e=>{try{const t=await cs(e),i=e;return i.duration=t,i}catch{throw new Error(`Failed to get audio duration for ${e.name}`)}},us=e=>{for(const[t,i]of Object.entries(as)){const n=t.toLowerCase().split("_")[0];if(i.includes(e))return n}},fs=async e=>{var s;const t=await ps(e),i=((s=e==null?void 0:e.name)==null?void 0:s.split(".").pop())||"",n=t[0]||e.type,r=us(n);if(r===i||!n||!r)return e;const o=`${e.name.split(".").slice(0,-1).join(".")}.${r}`;return new File([e],o,{type:n})};class ms extends Error{constructor(){super("Max file size exceeded")}}class xs extends Error{constructor(){super("Min file size exceeded")}}class vs extends Error{constructor(){super("File duration too long")}}class gs extends Error{constructor(){super("Invalid file type")}}const hs=e=>({handleDurationError:t=>{var i;console.log("handleDurationError",t),(i=e.onError)==null||i.call(e,new vs)},handleMaxSizeError:t=>{var i;console.log("handleMaxSizeError",t),(i=e.onError)==null||i.call(e,new ms)},handleMinSizeError:t=>{var i;console.log("handleMinSizeError",t),(i=e.onError)==null||i.call(e,new xs)},handleUnknownError:t=>{var i;console.log("handleUnknownError",t),(i=e.onError)==null||i.call(e,new Error("Unknown error"))},handleInvalidTypeError:t=>{var i;console.log("handleInvalidTypeError",t),(i=e.onError)==null||i.call(e,new gs)}}),bs=e=>{const{handleDurationError:t,handleMaxSizeError:i,handleMinSizeError:n,handleUnknownError:r,handleInvalidTypeError:o}=hs(e);return{dropzone:ar({accept:{"audio/wav":[".wav"],"audio/mp3":[".mp3"],"audio/flac":[".flac"]},noClick:!0,minSize:e.minSizeBytes,maxSize:e.maxSizeBytes,onDropAccepted:async s=>{const c=await Promise.all(s.map(p=>fs(p)));try{const l=(await Promise.all(c.map(ds))).filter(x=>x.duration<=(e.maxDurationS??1/0)?!0:(t(x),!1)),u=e.files??[],f=ls([...u,...l]),m=f.slice(0,e.maxFileCount??f.length);e.onFileAccepted(m)}catch(p){r(p)}},onDropRejected:s=>{s.forEach(c=>{for(const p of c.errors)p.code==="file-too-large"&&i(c.file),p.code==="file-too-small"&&n(c.file),p.code==="file-invalid-type"&&o(c.file)})}}),...e}},lr=T.createContext({}),ys=()=>T.useContext(lr),Es=Qe(dt,{position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",width:"100%",gap:"8px",height:"100%"}),pr=({children:e,...t})=>{const i=bs(t),{files:n,onFileAccepted:r,onDelete:o,maxFileCount:a,maxSizeBytes:s,minSizeBytes:c,maxDurationS:p,onError:l,...u}=t;return Fe.jsx(lr.Provider,{value:i,children:Fe.jsxs(Es,{...u,...i.dropzone.getRootProps(),children:[Fe.jsx("input",{...i.dropzone.getInputProps()}),e]})})},ws=Qe(dt,{width:"100%",height:"100%",display:"flex",overflow:"hidden",borderRadius:"16px",background:"#ffffff10",flexDirection:"column",alignItems:"stretch",justifyContent:"center"}),Ss=Qe(dt,{paddingTop:"32px",display:"flex",justifyContent:"center",fontFamily:"inherit",lineHeight:"1.4",fontSize:"22px",fontWeight:600,color:"#ffffff"}),Rs=Qe(dt,{flex:1,display:"flex",alignItems:"center",justifyContent:"center",padding:"32px"}),Ts=Qe(dt,{borderTop:"1px solid #ffffff10",display:"flex",alignItems:"stretch",height:"60px"}),Pn=Qe(dt,{height:"252px",width:"222px",borderRadius:"8px",border:"1px solid #ffffff10",background:"#ffffff10",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"}),ks=()=>Fe.jsxs(ws,{children:[Fe.jsx(Ss,{children:Fe.jsx("span",{children:"Select a voice"})}),Fe.jsxs(Rs,{children:[Fe.jsx(Pn,{}),Fe.jsx(Pn,{}),Fe.jsx(Pn,{})]}),Fe.jsx(Ts,{children:Fe.jsx("span",{children:"Footer"})})]});function dr(e,t){return function(){return e.apply(t,arguments)}}const{toString:Os}=Object.prototype,{getPrototypeOf:In}=Object,Jt=(e=>t=>{const i=Os.call(t);return e[i]||(e[i]=i.slice(8,-1).toLowerCase())})(Object.create(null)),Le=e=>(e=e.toLowerCase(),t=>Jt(t)===e),Gt=e=>t=>typeof t===e,{isArray:ft}=Array,kt=Gt("undefined");function _s(e){return e!==null&&!kt(e)&&e.constructor!==null&&!kt(e.constructor)&&Be(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ur=Le("ArrayBuffer");function As(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ur(e.buffer),t}const Cs=Gt("string"),Be=Gt("function"),fr=Gt("number"),Xt=e=>e!==null&&typeof e=="object",Ds=e=>e===!0||e===!1,Zt=e=>{if(Jt(e)!=="object")return!1;const t=In(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},js=Le("Date"),Fs=Le("File"),Ps=Le("Blob"),Is=Le("FileList"),Bs=e=>Xt(e)&&Be(e.pipe),zs=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Be(e.append)&&((t=Jt(e))==="formdata"||t==="object"&&Be(e.toString)&&e.toString()==="[object FormData]"))},Ls=Le("URLSearchParams"),[Ms,$s,Ns,qs]=["ReadableStream","Request","Response","Headers"].map(Le),Us=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ot(e,t,{allOwnKeys:i=!1}={}){if(e===null||typeof e>"u")return;let n,r;if(typeof e!="object"&&(e=[e]),ft(e))for(n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else{const o=i?Object.getOwnPropertyNames(e):Object.keys(e),a=o.length;let s;for(n=0;n<a;n++)s=o[n],t.call(null,e[s],s,e)}}function mr(e,t){t=t.toLowerCase();const i=Object.keys(e);let n=i.length,r;for(;n-- >0;)if(r=i[n],t===r.toLowerCase())return r;return null}const it=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,xr=e=>!kt(e)&&e!==it;function Bn(){const{caseless:e}=xr(this)&&this||{},t={},i=(n,r)=>{const o=e&&mr(t,r)||r;Zt(t[o])&&Zt(n)?t[o]=Bn(t[o],n):Zt(n)?t[o]=Bn({},n):ft(n)?t[o]=n.slice():t[o]=n};for(let n=0,r=arguments.length;n<r;n++)arguments[n]&&Ot(arguments[n],i);return t}const Ws=(e,t,i,{allOwnKeys:n}={})=>(Ot(t,(r,o)=>{i&&Be(r)?e[o]=dr(r,i):e[o]=r},{allOwnKeys:n}),e),Vs=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Hs=(e,t,i,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),i&&Object.assign(e.prototype,i)},Ys=(e,t,i,n)=>{let r,o,a;const s={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),o=r.length;o-- >0;)a=r[o],(!n||n(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=i!==!1&&In(e)}while(e&&(!i||i(e,t))&&e!==Object.prototype);return t},Ks=(e,t,i)=>{e=String(e),(i===void 0||i>e.length)&&(i=e.length),i-=t.length;const n=e.indexOf(t,i);return n!==-1&&n===i},Js=e=>{if(!e)return null;if(ft(e))return e;let t=e.length;if(!fr(t))return null;const i=new Array(t);for(;t-- >0;)i[t]=e[t];return i},Gs=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&In(Uint8Array)),Xs=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},Zs=(e,t)=>{let i;const n=[];for(;(i=e.exec(t))!==null;)n.push(i);return n},Qs=Le("HTMLFormElement"),ec=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(i,n,r){return n.toUpperCase()+r}),vr=(({hasOwnProperty:e})=>(t,i)=>e.call(t,i))(Object.prototype),tc=Le("RegExp"),gr=(e,t)=>{const i=Object.getOwnPropertyDescriptors(e),n={};Ot(i,(r,o)=>{let a;(a=t(r,o,e))!==!1&&(n[o]=a||r)}),Object.defineProperties(e,n)},nc=e=>{gr(e,(t,i)=>{if(Be(e)&&["arguments","caller","callee"].indexOf(i)!==-1)return!1;const n=e[i];if(Be(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")})}})},ic=(e,t)=>{const i={},n=r=>{r.forEach(o=>{i[o]=!0})};return ft(e)?n(e):n(String(e).split(t)),i},rc=()=>{},oc=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,zn="abcdefghijklmnopqrstuvwxyz",hr="0123456789",br={DIGIT:hr,ALPHA:zn,ALPHA_DIGIT:zn+zn.toUpperCase()+hr},ac=(e=16,t=br.ALPHA_DIGIT)=>{let i="";const{length:n}=t;for(;e--;)i+=t[Math.random()*n|0];return i};function sc(e){return!!(e&&Be(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const cc=e=>{const t=new Array(10),i=(n,r)=>{if(Xt(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[r]=n;const o=ft(n)?[]:{};return Ot(n,(a,s)=>{const c=i(a,r+1);!kt(c)&&(o[s]=c)}),t[r]=void 0,o}}return n};return i(e,0)},lc=Le("AsyncFunction"),pc=e=>e&&(Xt(e)||Be(e))&&Be(e.then)&&Be(e.catch),yr=((e,t)=>e?setImmediate:t?((i,n)=>(it.addEventListener("message",({source:r,data:o})=>{r===it&&o===i&&n.length&&n.shift()()},!1),r=>{n.push(r),it.postMessage(i,"*")}))(`axios@${Math.random()}`,[]):i=>setTimeout(i))(typeof setImmediate=="function",Be(it.postMessage)),dc=typeof queueMicrotask<"u"?queueMicrotask.bind(it):typeof process<"u"&&process.nextTick||yr,v={isArray:ft,isArrayBuffer:ur,isBuffer:_s,isFormData:zs,isArrayBufferView:As,isString:Cs,isNumber:fr,isBoolean:Ds,isObject:Xt,isPlainObject:Zt,isReadableStream:Ms,isRequest:$s,isResponse:Ns,isHeaders:qs,isUndefined:kt,isDate:js,isFile:Fs,isBlob:Ps,isRegExp:tc,isFunction:Be,isStream:Bs,isURLSearchParams:Ls,isTypedArray:Gs,isFileList:Is,forEach:Ot,merge:Bn,extend:Ws,trim:Us,stripBOM:Vs,inherits:Hs,toFlatObject:Ys,kindOf:Jt,kindOfTest:Le,endsWith:Ks,toArray:Js,forEachEntry:Xs,matchAll:Zs,isHTMLForm:Qs,hasOwnProperty:vr,hasOwnProp:vr,reduceDescriptors:gr,freezeMethods:nc,toObjectSet:ic,toCamelCase:ec,noop:rc,toFiniteNumber:oc,findKey:mr,global:it,isContextDefined:xr,ALPHABET:br,generateString:ac,isSpecCompliantForm:sc,toJSONObject:cc,isAsyncFn:lc,isThenable:pc,setImmediate:yr,asap:dc};function U(e,t,i,n,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),i&&(this.config=i),n&&(this.request=n),r&&(this.response=r,this.status=r.status?r.status:null)}v.inherits(U,Error,{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:v.toJSONObject(this.config),code:this.code,status:this.status}}});const Er=U.prototype,wr={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{wr[e]={value:e}}),Object.defineProperties(U,wr),Object.defineProperty(Er,"isAxiosError",{value:!0}),U.from=(e,t,i,n,r,o)=>{const a=Object.create(Er);return v.toFlatObject(e,a,function(c){return c!==Error.prototype},s=>s!=="isAxiosError"),U.call(a,e.message,t,i,n,r),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};const uc=null;function Ln(e){return v.isPlainObject(e)||v.isArray(e)}function Sr(e){return v.endsWith(e,"[]")?e.slice(0,-2):e}function Rr(e,t,i){return e?e.concat(t).map(function(r,o){return r=Sr(r),!i&&o?"["+r+"]":r}).join(i?".":""):t}function fc(e){return v.isArray(e)&&!e.some(Ln)}const mc=v.toFlatObject(v,{},null,function(t){return/^is[A-Z]/.test(t)});function Qt(e,t,i){if(!v.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,i=v.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,y){return!v.isUndefined(y[g])});const n=i.metaTokens,r=i.visitor||l,o=i.dots,a=i.indexes,c=(i.Blob||typeof Blob<"u"&&Blob)&&v.isSpecCompliantForm(t);if(!v.isFunction(r))throw new TypeError("visitor must be a function");function p(x){if(x===null)return"";if(v.isDate(x))return x.toISOString();if(!c&&v.isBlob(x))throw new U("Blob is not supported. Use a Buffer instead.");return v.isArrayBuffer(x)||v.isTypedArray(x)?c&&typeof Blob=="function"?new Blob([x]):Buffer.from(x):x}function l(x,g,y){let h=x;if(x&&!y&&typeof x=="object"){if(v.endsWith(g,"{}"))g=n?g:g.slice(0,-2),x=JSON.stringify(x);else if(v.isArray(x)&&fc(x)||(v.isFileList(x)||v.endsWith(g,"[]"))&&(h=v.toArray(x)))return g=Sr(g),h.forEach(function(C,k){!(v.isUndefined(C)||C===null)&&t.append(a===!0?Rr([g],k,o):a===null?g:g+"[]",p(C))}),!1}return Ln(x)?!0:(t.append(Rr(y,g,o),p(x)),!1)}const u=[],f=Object.assign(mc,{defaultVisitor:l,convertValue:p,isVisitable:Ln});function m(x,g){if(!v.isUndefined(x)){if(u.indexOf(x)!==-1)throw Error("Circular reference detected in "+g.join("."));u.push(x),v.forEach(x,function(h,A){(!(v.isUndefined(h)||h===null)&&r.call(t,h,v.isString(A)?A.trim():A,g,f))===!0&&m(h,g?g.concat(A):[A])}),u.pop()}}if(!v.isObject(e))throw new TypeError("data must be an object");return m(e),t}function Tr(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Mn(e,t){this._pairs=[],e&&Qt(e,this,t)}const kr=Mn.prototype;kr.append=function(t,i){this._pairs.push([t,i])},kr.toString=function(t){const i=t?function(n){return t.call(this,n,Tr)}:Tr;return this._pairs.map(function(r){return i(r[0])+"="+i(r[1])},"").join("&")};function xc(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Or(e,t,i){if(!t)return e;const n=i&&i.encode||xc;v.isFunction(i)&&(i={serialize:i});const r=i&&i.serialize;let o;if(r?o=r(t,i):o=v.isURLSearchParams(t)?t.toString():new Mn(t,i).toString(n),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class _r{constructor(){this.handlers=[]}use(t,i,n){return this.handlers.push({fulfilled:t,rejected:i,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){v.forEach(this.handlers,function(n){n!==null&&t(n)})}}const Ar={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},vc={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Mn,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},$n=typeof window<"u"&&typeof document<"u",Nn=typeof navigator=="object"&&navigator||void 0,gc=$n&&(!Nn||["ReactNative","NativeScript","NS"].indexOf(Nn.product)<0),hc=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",bc=$n&&window.location.href||"http://localhost",_e={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:$n,hasStandardBrowserEnv:gc,hasStandardBrowserWebWorkerEnv:hc,navigator:Nn,origin:bc},Symbol.toStringTag,{value:"Module"})),...vc};function yc(e,t){return Qt(e,new _e.classes.URLSearchParams,Object.assign({visitor:function(i,n,r,o){return _e.isNode&&v.isBuffer(i)?(this.append(n,i.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Ec(e){return v.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function wc(e){const t={},i=Object.keys(e);let n;const r=i.length;let o;for(n=0;n<r;n++)o=i[n],t[o]=e[o];return t}function Cr(e){function t(i,n,r,o){let a=i[o++];if(a==="__proto__")return!0;const s=Number.isFinite(+a),c=o>=i.length;return a=!a&&v.isArray(r)?r.length:a,c?(v.hasOwnProp(r,a)?r[a]=[r[a],n]:r[a]=n,!s):((!r[a]||!v.isObject(r[a]))&&(r[a]=[]),t(i,n,r[a],o)&&v.isArray(r[a])&&(r[a]=wc(r[a])),!s)}if(v.isFormData(e)&&v.isFunction(e.entries)){const i={};return v.forEachEntry(e,(n,r)=>{t(Ec(n),r,i,0)}),i}return null}function Sc(e,t,i){if(v.isString(e))try{return(t||JSON.parse)(e),v.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(0,JSON.stringify)(e)}const _t={transitional:Ar,adapter:["xhr","http","fetch"],transformRequest:[function(t,i){const n=i.getContentType()||"",r=n.indexOf("application/json")>-1,o=v.isObject(t);if(o&&v.isHTMLForm(t)&&(t=new FormData(t)),v.isFormData(t))return r?JSON.stringify(Cr(t)):t;if(v.isArrayBuffer(t)||v.isBuffer(t)||v.isStream(t)||v.isFile(t)||v.isBlob(t)||v.isReadableStream(t))return t;if(v.isArrayBufferView(t))return t.buffer;if(v.isURLSearchParams(t))return i.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return yc(t,this.formSerializer).toString();if((s=v.isFileList(t))||n.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Qt(s?{"files[]":t}:t,c&&new c,this.formSerializer)}}return o||r?(i.setContentType("application/json",!1),Sc(t)):t}],transformResponse:[function(t){const i=this.transitional||_t.transitional,n=i&&i.forcedJSONParsing,r=this.responseType==="json";if(v.isResponse(t)||v.isReadableStream(t))return t;if(t&&v.isString(t)&&(n&&!this.responseType||r)){const a=!(i&&i.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?U.from(s,U.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:_e.classes.FormData,Blob:_e.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};v.forEach(["delete","get","head","post","put","patch"],e=>{_t.headers[e]={}});const Rc=v.toObjectSet(["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"]),Tc=e=>{const t={};let i,n,r;return e&&e.split(`
|
49
|
+
`).forEach(function(a){r=a.indexOf(":"),i=a.substring(0,r).trim().toLowerCase(),n=a.substring(r+1).trim(),!(!i||t[i]&&Rc[i])&&(i==="set-cookie"?t[i]?t[i].push(n):t[i]=[n]:t[i]=t[i]?t[i]+", "+n:n)}),t},Dr=Symbol("internals");function At(e){return e&&String(e).trim().toLowerCase()}function en(e){return e===!1||e==null?e:v.isArray(e)?e.map(en):String(e)}function kc(e){const t=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=i.exec(e);)t[n[1]]=n[2];return t}const Oc=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function qn(e,t,i,n,r){if(v.isFunction(n))return n.call(this,t,i);if(r&&(t=i),!!v.isString(t)){if(v.isString(n))return t.indexOf(n)!==-1;if(v.isRegExp(n))return n.test(t)}}function _c(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,i,n)=>i.toUpperCase()+n)}function Ac(e,t){const i=v.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+i,{value:function(r,o,a){return this[n].call(this,t,r,o,a)},configurable:!0})})}class Pe{constructor(t){t&&this.set(t)}set(t,i,n){const r=this;function o(s,c,p){const l=At(c);if(!l)throw new Error("header name must be a non-empty string");const u=v.findKey(r,l);(!u||r[u]===void 0||p===!0||p===void 0&&r[u]!==!1)&&(r[u||c]=en(s))}const a=(s,c)=>v.forEach(s,(p,l)=>o(p,l,c));if(v.isPlainObject(t)||t instanceof this.constructor)a(t,i);else if(v.isString(t)&&(t=t.trim())&&!Oc(t))a(Tc(t),i);else if(v.isHeaders(t))for(const[s,c]of t.entries())o(c,s,n);else t!=null&&o(i,t,n);return this}get(t,i){if(t=At(t),t){const n=v.findKey(this,t);if(n){const r=this[n];if(!i)return r;if(i===!0)return kc(r);if(v.isFunction(i))return i.call(this,r,n);if(v.isRegExp(i))return i.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,i){if(t=At(t),t){const n=v.findKey(this,t);return!!(n&&this[n]!==void 0&&(!i||qn(this,this[n],n,i)))}return!1}delete(t,i){const n=this;let r=!1;function o(a){if(a=At(a),a){const s=v.findKey(n,a);s&&(!i||qn(n,n[s],s,i))&&(delete n[s],r=!0)}}return v.isArray(t)?t.forEach(o):o(t),r}clear(t){const i=Object.keys(this);let n=i.length,r=!1;for(;n--;){const o=i[n];(!t||qn(this,this[o],o,t,!0))&&(delete this[o],r=!0)}return r}normalize(t){const i=this,n={};return v.forEach(this,(r,o)=>{const a=v.findKey(n,o);if(a){i[a]=en(r),delete i[o];return}const s=t?_c(o):String(o).trim();s!==o&&delete i[o],i[s]=en(r),n[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const i=Object.create(null);return v.forEach(this,(n,r)=>{n!=null&&n!==!1&&(i[r]=t&&v.isArray(n)?n.join(", "):n)}),i}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,i])=>t+": "+i).join(`
|
50
|
+
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...i){const n=new this(t);return i.forEach(r=>n.set(r)),n}static accessor(t){const n=(this[Dr]=this[Dr]={accessors:{}}).accessors,r=this.prototype;function o(a){const s=At(a);n[s]||(Ac(r,a),n[s]=!0)}return v.isArray(t)?t.forEach(o):o(t),this}}Pe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),v.reduceDescriptors(Pe.prototype,({value:e},t)=>{let i=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[i]=n}}}),v.freezeMethods(Pe);function Un(e,t){const i=this||_t,n=t||i,r=Pe.from(n.headers);let o=n.data;return v.forEach(e,function(s){o=s.call(i,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function jr(e){return!!(e&&e.__CANCEL__)}function mt(e,t,i){U.call(this,e??"canceled",U.ERR_CANCELED,t,i),this.name="CanceledError"}v.inherits(mt,U,{__CANCEL__:!0});function Fr(e,t,i){const n=i.config.validateStatus;!i.status||!n||n(i.status)?e(i):t(new U("Request failed with status code "+i.status,[U.ERR_BAD_REQUEST,U.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))}function Cc(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Dc(e,t){e=e||10;const i=new Array(e),n=new Array(e);let r=0,o=0,a;return t=t!==void 0?t:1e3,function(c){const p=Date.now(),l=n[o];a||(a=p),i[r]=c,n[r]=p;let u=o,f=0;for(;u!==r;)f+=i[u++],u=u%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),p-a<t)return;const m=l&&p-l;return m?Math.round(f*1e3/m):void 0}}function jc(e,t){let i=0,n=1e3/t,r,o;const a=(p,l=Date.now())=>{i=l,r=null,o&&(clearTimeout(o),o=null),e.apply(null,p)};return[(...p)=>{const l=Date.now(),u=l-i;u>=n?a(p,l):(r=p,o||(o=setTimeout(()=>{o=null,a(r)},n-u)))},()=>r&&a(r)]}const tn=(e,t,i=3)=>{let n=0;const r=Dc(50,250);return jc(o=>{const a=o.loaded,s=o.lengthComputable?o.total:void 0,c=a-n,p=r(c),l=a<=s;n=a;const u={loaded:a,total:s,progress:s?a/s:void 0,bytes:c,rate:p||void 0,estimated:p&&s&&l?(s-a)/p:void 0,event:o,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(u)},i)},Pr=(e,t)=>{const i=e!=null;return[n=>t[0]({lengthComputable:i,total:e,loaded:n}),t[1]]},Ir=e=>(...t)=>v.asap(()=>e(...t)),Fc=_e.hasStandardBrowserEnv?((e,t)=>i=>(i=new URL(i,_e.origin),e.protocol===i.protocol&&e.host===i.host&&(t||e.port===i.port)))(new URL(_e.origin),_e.navigator&&/(msie|trident)/i.test(_e.navigator.userAgent)):()=>!0,Pc=_e.hasStandardBrowserEnv?{write(e,t,i,n,r,o){const a=[e+"="+encodeURIComponent(t)];v.isNumber(i)&&a.push("expires="+new Date(i).toGMTString()),v.isString(n)&&a.push("path="+n),v.isString(r)&&a.push("domain="+r),o===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Ic(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Bc(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Br(e,t){return e&&!Ic(t)?Bc(e,t):t}const zr=e=>e instanceof Pe?{...e}:e;function rt(e,t){t=t||{};const i={};function n(p,l,u,f){return v.isPlainObject(p)&&v.isPlainObject(l)?v.merge.call({caseless:f},p,l):v.isPlainObject(l)?v.merge({},l):v.isArray(l)?l.slice():l}function r(p,l,u,f){if(v.isUndefined(l)){if(!v.isUndefined(p))return n(void 0,p,u,f)}else return n(p,l,u,f)}function o(p,l){if(!v.isUndefined(l))return n(void 0,l)}function a(p,l){if(v.isUndefined(l)){if(!v.isUndefined(p))return n(void 0,p)}else return n(void 0,l)}function s(p,l,u){if(u in t)return n(p,l);if(u in e)return n(void 0,p)}const c={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(p,l,u)=>r(zr(p),zr(l),u,!0)};return v.forEach(Object.keys(Object.assign({},e,t)),function(l){const u=c[l]||r,f=u(e[l],t[l],l);v.isUndefined(f)&&u!==s||(i[l]=f)}),i}const Lr=e=>{const t=rt({},e);let{data:i,withXSRFToken:n,xsrfHeaderName:r,xsrfCookieName:o,headers:a,auth:s}=t;t.headers=a=Pe.from(a),t.url=Or(Br(t.baseURL,t.url),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let c;if(v.isFormData(i)){if(_e.hasStandardBrowserEnv||_e.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((c=a.getContentType())!==!1){const[p,...l]=c?c.split(";").map(u=>u.trim()).filter(Boolean):[];a.setContentType([p||"multipart/form-data",...l].join("; "))}}if(_e.hasStandardBrowserEnv&&(n&&v.isFunction(n)&&(n=n(t)),n||n!==!1&&Fc(t.url))){const p=r&&o&&Pc.read(o);p&&a.set(r,p)}return t},zc=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(i,n){const r=Lr(e);let o=r.data;const a=Pe.from(r.headers).normalize();let{responseType:s,onUploadProgress:c,onDownloadProgress:p}=r,l,u,f,m,x;function g(){m&&m(),x&&x(),r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener("abort",l)}let y=new XMLHttpRequest;y.open(r.method.toUpperCase(),r.url,!0),y.timeout=r.timeout;function h(){if(!y)return;const C=Pe.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders()),b={data:!s||s==="text"||s==="json"?y.responseText:y.response,status:y.status,statusText:y.statusText,headers:C,config:e,request:y};Fr(function(L){i(L),g()},function(L){n(L),g()},b),y=null}"onloadend"in y?y.onloadend=h:y.onreadystatechange=function(){!y||y.readyState!==4||y.status===0&&!(y.responseURL&&y.responseURL.indexOf("file:")===0)||setTimeout(h)},y.onabort=function(){y&&(n(new U("Request aborted",U.ECONNABORTED,e,y)),y=null)},y.onerror=function(){n(new U("Network Error",U.ERR_NETWORK,e,y)),y=null},y.ontimeout=function(){let k=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const b=r.transitional||Ar;r.timeoutErrorMessage&&(k=r.timeoutErrorMessage),n(new U(k,b.clarifyTimeoutError?U.ETIMEDOUT:U.ECONNABORTED,e,y)),y=null},o===void 0&&a.setContentType(null),"setRequestHeader"in y&&v.forEach(a.toJSON(),function(k,b){y.setRequestHeader(b,k)}),v.isUndefined(r.withCredentials)||(y.withCredentials=!!r.withCredentials),s&&s!=="json"&&(y.responseType=r.responseType),p&&([f,x]=tn(p,!0),y.addEventListener("progress",f)),c&&y.upload&&([u,m]=tn(c),y.upload.addEventListener("progress",u),y.upload.addEventListener("loadend",m)),(r.cancelToken||r.signal)&&(l=C=>{y&&(n(!C||C.type?new mt(null,e,y):C),y.abort(),y=null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener("abort",l)));const A=Cc(r.url);if(A&&_e.protocols.indexOf(A)===-1){n(new U("Unsupported protocol "+A+":",U.ERR_BAD_REQUEST,e));return}y.send(o||null)})},Lc=(e,t)=>{const{length:i}=e=e?e.filter(Boolean):[];if(t||i){let n=new AbortController,r;const o=function(p){if(!r){r=!0,s();const l=p instanceof Error?p:this.reason;n.abort(l instanceof U?l:new mt(l instanceof Error?l.message:l))}};let a=t&&setTimeout(()=>{a=null,o(new U(`timeout ${t} of ms exceeded`,U.ETIMEDOUT))},t);const s=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(p=>{p.unsubscribe?p.unsubscribe(o):p.removeEventListener("abort",o)}),e=null)};e.forEach(p=>p.addEventListener("abort",o));const{signal:c}=n;return c.unsubscribe=()=>v.asap(s),c}},Mc=function*(e,t){let i=e.byteLength;if(i<t){yield e;return}let n=0,r;for(;n<i;)r=n+t,yield e.slice(n,r),n=r},$c=async function*(e,t){for await(const i of Nc(e))yield*Mc(i,t)},Nc=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:i,value:n}=await t.read();if(i)break;yield n}}finally{await t.cancel()}},Mr=(e,t,i,n)=>{const r=$c(e,t);let o=0,a,s=c=>{a||(a=!0,n&&n(c))};return new ReadableStream({async pull(c){try{const{done:p,value:l}=await r.next();if(p){s(),c.close();return}let u=l.byteLength;if(i){let f=o+=u;i(f)}c.enqueue(new Uint8Array(l))}catch(p){throw s(p),p}},cancel(c){return s(c),r.return()}},{highWaterMark:2})},nn=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",$r=nn&&typeof ReadableStream=="function",qc=nn&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Nr=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Uc=$r&&Nr(()=>{let e=!1;const t=new Request(_e.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),qr=64*1024,Wn=$r&&Nr(()=>v.isReadableStream(new Response("").body)),rn={stream:Wn&&(e=>e.body)};nn&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!rn[t]&&(rn[t]=v.isFunction(e[t])?i=>i[t]():(i,n)=>{throw new U(`Response type '${t}' is not supported`,U.ERR_NOT_SUPPORT,n)})})})(new Response);const Wc=async e=>{if(e==null)return 0;if(v.isBlob(e))return e.size;if(v.isSpecCompliantForm(e))return(await new Request(_e.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(v.isArrayBufferView(e)||v.isArrayBuffer(e))return e.byteLength;if(v.isURLSearchParams(e)&&(e=e+""),v.isString(e))return(await qc(e)).byteLength},Vc=async(e,t)=>{const i=v.toFiniteNumber(e.getContentLength());return i??Wc(t)},Vn={http:uc,xhr:zc,fetch:nn&&(async e=>{let{url:t,method:i,data:n,signal:r,cancelToken:o,timeout:a,onDownloadProgress:s,onUploadProgress:c,responseType:p,headers:l,withCredentials:u="same-origin",fetchOptions:f}=Lr(e);p=p?(p+"").toLowerCase():"text";let m=Lc([r,o&&o.toAbortSignal()],a),x;const g=m&&m.unsubscribe&&(()=>{m.unsubscribe()});let y;try{if(c&&Uc&&i!=="get"&&i!=="head"&&(y=await Vc(l,n))!==0){let b=new Request(t,{method:"POST",body:n,duplex:"half"}),D;if(v.isFormData(n)&&(D=b.headers.get("content-type"))&&l.setContentType(D),b.body){const[L,B]=Pr(y,tn(Ir(c)));n=Mr(b.body,qr,L,B)}}v.isString(u)||(u=u?"include":"omit");const h="credentials"in Request.prototype;x=new Request(t,{...f,signal:m,method:i.toUpperCase(),headers:l.normalize().toJSON(),body:n,duplex:"half",credentials:h?u:void 0});let A=await fetch(x);const C=Wn&&(p==="stream"||p==="response");if(Wn&&(s||C&&g)){const b={};["status","statusText","headers"].forEach(W=>{b[W]=A[W]});const D=v.toFiniteNumber(A.headers.get("content-length")),[L,B]=s&&Pr(D,tn(Ir(s),!0))||[];A=new Response(Mr(A.body,qr,L,()=>{B&&B(),g&&g()}),b)}p=p||"text";let k=await rn[v.findKey(rn,p)||"text"](A,e);return!C&&g&&g(),await new Promise((b,D)=>{Fr(b,D,{data:k,headers:Pe.from(A.headers),status:A.status,statusText:A.statusText,config:e,request:x})})}catch(h){throw g&&g(),h&&h.name==="TypeError"&&/fetch/i.test(h.message)?Object.assign(new U("Network Error",U.ERR_NETWORK,e,x),{cause:h.cause||h}):U.from(h,h&&h.code,e,x)}})};v.forEach(Vn,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ur=e=>`- ${e}`,Hc=e=>v.isFunction(e)||e===null||e===!1,Wr={getAdapter:e=>{e=v.isArray(e)?e:[e];const{length:t}=e;let i,n;const r={};for(let o=0;o<t;o++){i=e[o];let a;if(n=i,!Hc(i)&&(n=Vn[(a=String(i)).toLowerCase()],n===void 0))throw new U(`Unknown adapter '${a}'`);if(n)break;r[a||"#"+o]=n}if(!n){const o=Object.entries(r).map(([s,c])=>`adapter ${s} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=t?o.length>1?`since :
|
51
|
+
`+o.map(Ur).join(`
|
52
|
+
`):" "+Ur(o[0]):"as no adapter specified";throw new U("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return n},adapters:Vn};function Hn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new mt(null,e)}function Vr(e){return Hn(e),e.headers=Pe.from(e.headers),e.data=Un.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Wr.getAdapter(e.adapter||_t.adapter)(e).then(function(n){return Hn(e),n.data=Un.call(e,e.transformResponse,n),n.headers=Pe.from(n.headers),n},function(n){return jr(n)||(Hn(e),n&&n.response&&(n.response.data=Un.call(e,e.transformResponse,n.response),n.response.headers=Pe.from(n.response.headers))),Promise.reject(n)})}const Hr="1.7.9",on={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{on[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Yr={};on.transitional=function(t,i,n){function r(o,a){return"[Axios v"+Hr+"] Transitional option '"+o+"'"+a+(n?". "+n:"")}return(o,a,s)=>{if(t===!1)throw new U(r(a," has been removed"+(i?" in "+i:"")),U.ERR_DEPRECATED);return i&&!Yr[a]&&(Yr[a]=!0,console.warn(r(a," has been deprecated since v"+i+" and will be removed in the near future"))),t?t(o,a,s):!0}},on.spelling=function(t){return(i,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function Yc(e,t,i){if(typeof e!="object")throw new U("options must be an object",U.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let r=n.length;for(;r-- >0;){const o=n[r],a=t[o];if(a){const s=e[o],c=s===void 0||a(s,o,e);if(c!==!0)throw new U("option "+o+" must be "+c,U.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new U("Unknown option "+o,U.ERR_BAD_OPTION)}}const an={assertOptions:Yc,validators:on},$e=an.validators;class ot{constructor(t){this.defaults=t,this.interceptors={request:new _r,response:new _r}}async request(t,i){try{return await this._request(t,i)}catch(n){if(n instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const o=r.stack?r.stack.replace(/^.+\n/,""):"";try{n.stack?o&&!String(n.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(n.stack+=`
|
53
|
+
`+o):n.stack=o}catch{}}throw n}}_request(t,i){typeof t=="string"?(i=i||{},i.url=t):i=t||{},i=rt(this.defaults,i);const{transitional:n,paramsSerializer:r,headers:o}=i;n!==void 0&&an.assertOptions(n,{silentJSONParsing:$e.transitional($e.boolean),forcedJSONParsing:$e.transitional($e.boolean),clarifyTimeoutError:$e.transitional($e.boolean)},!1),r!=null&&(v.isFunction(r)?i.paramsSerializer={serialize:r}:an.assertOptions(r,{encode:$e.function,serialize:$e.function},!0)),an.assertOptions(i,{baseUrl:$e.spelling("baseURL"),withXsrfToken:$e.spelling("withXSRFToken")},!0),i.method=(i.method||this.defaults.method||"get").toLowerCase();let a=o&&v.merge(o.common,o[i.method]);o&&v.forEach(["delete","get","head","post","put","patch","common"],x=>{delete o[x]}),i.headers=Pe.concat(a,o);const s=[];let c=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(i)===!1||(c=c&&g.synchronous,s.unshift(g.fulfilled,g.rejected))});const p=[];this.interceptors.response.forEach(function(g){p.push(g.fulfilled,g.rejected)});let l,u=0,f;if(!c){const x=[Vr.bind(this),void 0];for(x.unshift.apply(x,s),x.push.apply(x,p),f=x.length,l=Promise.resolve(i);u<f;)l=l.then(x[u++],x[u++]);return l}f=s.length;let m=i;for(u=0;u<f;){const x=s[u++],g=s[u++];try{m=x(m)}catch(y){g.call(this,y);break}}try{l=Vr.call(this,m)}catch(x){return Promise.reject(x)}for(u=0,f=p.length;u<f;)l=l.then(p[u++],p[u++]);return l}getUri(t){t=rt(this.defaults,t);const i=Br(t.baseURL,t.url);return Or(i,t.params,t.paramsSerializer)}}v.forEach(["delete","get","head","options"],function(t){ot.prototype[t]=function(i,n){return this.request(rt(n||{},{method:t,url:i,data:(n||{}).data}))}}),v.forEach(["post","put","patch"],function(t){function i(n){return function(o,a,s){return this.request(rt(s||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:o,data:a}))}}ot.prototype[t]=i(),ot.prototype[t+"Form"]=i(!0)});class Yn{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let i;this.promise=new Promise(function(o){i=o});const n=this;this.promise.then(r=>{if(!n._listeners)return;let o=n._listeners.length;for(;o-- >0;)n._listeners[o](r);n._listeners=null}),this.promise.then=r=>{let o;const a=new Promise(s=>{n.subscribe(s),o=s}).then(r);return a.cancel=function(){n.unsubscribe(o)},a},t(function(o,a,s){n.reason||(n.reason=new mt(o,a,s),i(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const i=this._listeners.indexOf(t);i!==-1&&this._listeners.splice(i,1)}toAbortSignal(){const t=new AbortController,i=n=>{t.abort(n)};return this.subscribe(i),t.signal.unsubscribe=()=>this.unsubscribe(i),t.signal}static source(){let t;return{token:new Yn(function(r){t=r}),cancel:t}}}function Kc(e){return function(i){return e.apply(null,i)}}function Jc(e){return v.isObject(e)&&e.isAxiosError===!0}const Kn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Kn).forEach(([e,t])=>{Kn[t]=e});function Kr(e){const t=new ot(e),i=dr(ot.prototype.request,t);return v.extend(i,ot.prototype,t,{allOwnKeys:!0}),v.extend(i,t,null,{allOwnKeys:!0}),i.create=function(r){return Kr(rt(e,r))},i}const we=Kr(_t);we.Axios=ot,we.CanceledError=mt,we.CancelToken=Yn,we.isCancel=jr,we.VERSION=Hr,we.toFormData=Qt,we.AxiosError=U,we.Cancel=we.CanceledError,we.all=function(t){return Promise.all(t)},we.spread=Kc,we.isAxiosError=Jc,we.mergeConfig=rt,we.AxiosHeaders=Pe,we.formToJSON=e=>Cr(v.isHTMLForm(e)?new FormData(e):e),we.getAdapter=Wr.getAdapter,we.HttpStatusCode=Kn,we.default=we;var sn={exports:{}},Jn={};/**
|
54
54
|
* @license React
|
55
55
|
* use-sync-external-store-shim.production.min.js
|
56
56
|
*
|
@@ -58,7 +58,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
58
58
|
*
|
59
59
|
* This source code is licensed under the MIT license found in the
|
60
60
|
* LICENSE file in the root directory of this source tree.
|
61
|
-
*/var
|
61
|
+
*/var Jr;function Gc(){if(Jr)return Jn;Jr=1;var e=T;function t(u,f){return u===f&&(u!==0||1/u===1/f)||u!==u&&f!==f}var i=typeof Object.is=="function"?Object.is:t,n=e.useState,r=e.useEffect,o=e.useLayoutEffect,a=e.useDebugValue;function s(u,f){var m=f(),x=n({inst:{value:m,getSnapshot:f}}),g=x[0].inst,y=x[1];return o(function(){g.value=m,g.getSnapshot=f,c(g)&&y({inst:g})},[u,m,f]),r(function(){return c(g)&&y({inst:g}),u(function(){c(g)&&y({inst:g})})},[u]),a(m),m}function c(u){var f=u.getSnapshot;u=u.value;try{var m=f();return!i(u,m)}catch{return!0}}function p(u,f){return f()}var l=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?p:s;return Jn.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:l,Jn}var Gn={};/**
|
62
62
|
* @license React
|
63
63
|
* use-sync-external-store-shim.development.js
|
64
64
|
*
|
@@ -66,5 +66,5 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
66
66
|
*
|
67
67
|
* This source code is licensed under the MIT license found in the
|
68
68
|
* LICENSE file in the root directory of this source tree.
|
69
|
-
*/var Kr;function Vc(){return Kr||(Kr=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=R,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function i(C){{for(var k=arguments.length,b=new Array(k>1?k-1:0),D=1;D<k;D++)b[D-1]=arguments[D];n("error",C,b)}}function n(C,k,b){{var D=t.ReactDebugCurrentFrame,L=D.getStackAddendum();L!==""&&(k+="%s",b=b.concat([L]));var B=b.map(function(W){return String(W)});B.unshift("Warning: "+k),Function.prototype.apply.call(console[C],console,B)}}function r(C,k){return C===k&&(C!==0||1/C===1/k)||C!==C&&k!==k}var o=typeof Object.is=="function"?Object.is:r,a=e.useState,s=e.useEffect,c=e.useLayoutEffect,p=e.useDebugValue,l=!1,d=!1;function f(C,k,b){l||e.startTransition!==void 0&&(l=!0,i("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var D=k();if(!d){var L=k();o(D,L)||(i("The result of getSnapshot should be cached to avoid an infinite loop"),d=!0)}var B=a({inst:{value:D,getSnapshot:k}}),W=B[0].inst,J=B[1];return c(function(){W.value=D,W.getSnapshot=k,m(W)&&J({inst:W})},[C,D,k]),s(function(){m(W)&&J({inst:W});var ae=function(){m(W)&&J({inst:W})};return C(ae)},[C]),p(D),D}function m(C){var k=C.getSnapshot,b=C.value;try{var D=k();return!o(b,D)}catch{return!0}}function x(C,k,b){return k()}var g=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",y=!g,h=y?x:f,A=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:h;Yn.useSyncExternalStore=A,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Yn}var Jr;function Hc(){return Jr||(Jr=1,process.env.NODE_ENV==="production"?on.exports=Wc():on.exports=Vc()),on.exports}var Yc=Hc();const Ve=()=>{},Pe=Ve(),Kn=Object,ee=e=>e===Pe,$e=e=>typeof e=="function",He=(e,t)=>({...e,...t}),Kc=e=>$e(e.then),an=new WeakMap;let Jc=0;const _t=e=>{const t=typeof e,i=e&&e.constructor,n=i==Date;let r,o;if(Kn(e)===e&&!n&&i!=RegExp){if(r=an.get(e),r)return r;if(r=++Jc+"~",an.set(e,r),i==Array){for(r="@",o=0;o<e.length;o++)r+=_t(e[o])+",";an.set(e,r)}if(i==Kn){r="#";const a=Kn.keys(e).sort();for(;!ee(o=a.pop());)ee(e[o])||(r+=o+":"+_t(e[o])+",");an.set(e,r)}}else r=n?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return r},qe=new WeakMap,Jn={},sn={},Gn="undefined",cn=typeof window!=Gn,Xn=typeof document!=Gn,Gc=()=>cn&&typeof window.requestAnimationFrame!=Gn,Gr=(e,t)=>{const i=qe.get(e);return[()=>!ee(t)&&e.get(t)||Jn,n=>{if(!ee(t)){const r=e.get(t);t in sn||(sn[t]=r),i[5](t,He(r,n),r||Jn)}},i[6],()=>!ee(t)&&t in sn?sn[t]:!ee(t)&&e.get(t)||Jn]};let Zn=!0;const Xc=()=>Zn,[Qn,ei]=cn&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[Ve,Ve],Zc=()=>{const e=Xn&&document.visibilityState;return ee(e)||e!=="hidden"},Qc=e=>(Xn&&document.addEventListener("visibilitychange",e),Qn("focus",e),()=>{Xn&&document.removeEventListener("visibilitychange",e),ei("focus",e)}),el=e=>{const t=()=>{Zn=!0,e()},i=()=>{Zn=!1};return Qn("online",t),Qn("offline",i),()=>{ei("online",t),ei("offline",i)}},tl={isOnline:Xc,isVisible:Zc},nl={initFocus:Qc,initReconnect:el},Xr=!R.useId,At=!cn||"Deno"in window,il=e=>Gc()?window.requestAnimationFrame(e):setTimeout(e,1),ti=At?R.useEffect:R.useLayoutEffect,ni=typeof navigator<"u"&&navigator.connection,Zr=!At&&ni&&(["slow-2g","2g"].includes(ni.effectiveType)||ni.saveData),ii=e=>{if($e(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?_t(e):"",[e,t]};let rl=0;const ri=()=>++rl,Qr=0,eo=1,to=2;var Ct={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:Qr,MUTATE_EVENT:to,RECONNECT_EVENT:eo};async function no(...e){const[t,i,n,r]=e,o=He({populateCache:!0,throwOnError:!0},typeof r=="boolean"?{revalidate:r}:r||{});let a=o.populateCache;const s=o.rollbackOnError;let c=o.optimisticData;const p=f=>typeof s=="function"?s(f):s!==!1,l=o.throwOnError;if($e(i)){const f=i,m=[],x=t.keys();for(const g of x)!/^\$(inf|sub)\$/.test(g)&&f(t.get(g)._k)&&m.push(g);return Promise.all(m.map(d))}return d(i);async function d(f){const[m]=ii(f);if(!m)return;const[x,g]=Gr(t,m),[y,h,A,C]=qe.get(t),k=()=>{const Z=y[m];return($e(o.revalidate)?o.revalidate(x().data,f):o.revalidate!==!1)&&(delete A[m],delete C[m],Z&&Z[0])?Z[0](to).then(()=>x().data):x().data};if(e.length<3)return k();let b=n,D;const L=ri();h[m]=[L,0];const B=!ee(c),W=x(),J=W.data,ae=W._c,fe=ee(ae)?J:ae;if(B&&(c=$e(c)?c(fe,J):c,g({data:c,_c:fe})),$e(b))try{b=b(fe)}catch(Z){D=Z}if(b&&Kc(b))if(b=await b.catch(Z=>{D=Z}),L!==h[m][0]){if(D)throw D;return b}else D&&B&&p(D)&&(a=!0,g({data:fe,_c:Pe}));if(a&&!D)if($e(a)){const Z=a(b,fe);g({data:Z,error:Pe,_c:Pe})}else g({data:b,error:Pe,_c:Pe});if(h[m][1]=ri(),Promise.resolve(k()).then(()=>{g({_c:Pe})}),D){if(l)throw D;return}return b}}const io=(e,t)=>{for(const i in e)e[i][0]&&e[i][0](t)},ol=(e,t)=>{if(!qe.has(e)){const i=He(nl,t),n={},r=no.bind(Pe,e);let o=Ve;const a={},s=(l,d)=>{const f=a[l]||[];return a[l]=f,f.push(d),()=>f.splice(f.indexOf(d),1)},c=(l,d,f)=>{e.set(l,d);const m=a[l];if(m)for(const x of m)x(d,f)},p=()=>{if(!qe.has(e)&&(qe.set(e,[n,{},{},{},r,c,s]),!At)){const l=i.initFocus(setTimeout.bind(Pe,io.bind(Pe,n,Qr))),d=i.initReconnect(setTimeout.bind(Pe,io.bind(Pe,n,eo)));o=()=>{l&&l(),d&&d(),qe.delete(e)}}};return p(),[e,r,p,o]}return[e,qe.get(e)[4]]},al=(e,t,i,n,r)=>{const o=i.errorRetryCount,a=r.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*i.errorRetryInterval;!ee(o)&&a>o||setTimeout(n,s,r)},sl=(e,t)=>_t(e)==_t(t),[ro,cl]=ol(new Map),ll=He({onLoadingSlow:Ve,onSuccess:Ve,onError:Ve,onErrorRetry:al,onDiscarded:Ve,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Zr?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Zr?5e3:3e3,compare:sl,isPaused:()=>!1,cache:ro,mutate:cl,fallback:{}},tl),pl=(e,t)=>{const i=He(e,t);if(t){const{use:n,fallback:r}=e,{use:o,fallback:a}=t;n&&o&&(i.use=n.concat(o)),r&&a&&(i.fallback=He(r,a))}return i},ul=R.createContext({}),dl="$inf$",oo=cn&&window.__SWR_DEVTOOLS_USE__,fl=oo?window.__SWR_DEVTOOLS_USE__:[],ml=()=>{oo&&(window.__SWR_DEVTOOLS_REACT__=R)},xl=e=>$e(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],vl=()=>He(ll,R.useContext(ul)),gl=e=>(t,i,n)=>e(t,i&&((...o)=>{const[a]=ii(t),[,,,s]=qe.get(ro);if(a.startsWith(dl))return i(...o);const c=s[a];return ee(c)?i(...o):(delete s[a],c)}),n),hl=fl.concat(gl),bl=e=>function(...i){const n=vl(),[r,o,a]=xl(i),s=pl(n,a);let c=e;const{use:p}=s,l=(p||[]).concat(hl);for(let d=l.length;d--;)c=l[d](c);return c(r,o||s.fetcher||null,s)},yl=(e,t,i)=>{const n=t[e]||(t[e]=[]);return n.push(i),()=>{const r=n.indexOf(i);r>=0&&(n[r]=n[n.length-1],n.pop())}};ml();const ao=R.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)}),oi={dedupe:!0},El=bl((e,t,i)=>{const{cache:n,compare:r,suspense:o,fallbackData:a,revalidateOnMount:s,revalidateIfStale:c,refreshInterval:p,refreshWhenHidden:l,refreshWhenOffline:d,keepPreviousData:f}=i,[m,x,g,y]=qe.get(n),[h,A]=ii(e),C=R.useRef(!1),k=R.useRef(!1),b=R.useRef(h),D=R.useRef(t),L=R.useRef(i),B=()=>L.current,W=()=>B().isVisible()&&B().isOnline(),[J,ae,fe,Z]=Gr(n,h),V=R.useRef({}).current,ce=ee(a)?i.fallback[h]:a,Se=(E,K)=>{for(const ue in V){const te=ue;if(te==="data"){if(!r(E[te],K[te])&&(!ee(E[te])||!r(H,K[te])))return!1}else if(K[te]!==E[te])return!1}return!0},Te=R.useMemo(()=>{const E=!h||!t?!1:ee(s)?B().isPaused()||o?!1:ee(c)?!0:c:s,K=me=>{const Ce=He(me);return delete Ce._k,E?{isValidating:!0,isLoading:!0,...Ce}:Ce},ue=J(),te=Z(),Oe=K(ue),Ae=ue===te?Oe:K(te);let ve=Oe;return[()=>{const me=K(J());return Se(me,ve)?(ve.data=me.data,ve.isLoading=me.isLoading,ve.isValidating=me.isValidating,ve.error=me.error,ve):(ve=me,me)},()=>Ae]},[n,h]),be=Yc.useSyncExternalStore(R.useCallback(E=>fe(h,(K,ue)=>{Se(ue,K)||E()}),[n,h]),Te[0],Te[1]),he=!C.current,S=m[h]&&m[h].length>0,O=be.data,z=ee(O)?ce:O,$=be.error,P=R.useRef(z),H=f?ee(O)?P.current:O:z,I=S&&!ee($)?!1:he&&!ee(s)?s:B().isPaused()?!1:o?ee(z)?!1:c:ee(z)||c,N=!!(h&&t&&he&&I),Y=ee(be.isValidating)?N:be.isValidating,G=ee(be.isLoading)?N:be.isLoading,M=R.useCallback(async E=>{const K=D.current;if(!h||!K||k.current||B().isPaused())return!1;let ue,te,Oe=!0;const Ae=E||{},ve=!g[h]||!Ae.dedupe,me=()=>Xr?!k.current&&h===b.current&&C.current:h===b.current,Ce={isValidating:!1,isLoading:!1},dt=()=>{ae(Ce)},Ye=()=>{const T=g[h];T&&T[1]===te&&delete g[h]},ft={isValidating:!0};ee(J().data)&&(ft.isLoading=!0);try{if(ve&&(ae(ft),i.loadingTimeout&&ee(J().data)&&setTimeout(()=>{Oe&&me()&&B().onLoadingSlow(h,i)},i.loadingTimeout),g[h]=[K(A),ri()]),[ue,te]=g[h],ue=await ue,ve&&setTimeout(Ye,i.dedupingInterval),!g[h]||g[h][1]!==te)return ve&&me()&&B().onDiscarded(h),!1;Ce.error=Pe;const T=x[h];if(!ee(T)&&(te<=T[0]||te<=T[1]||T[1]===0))return dt(),ve&&me()&&B().onDiscarded(h),!1;const F=J().data;Ce.data=r(F,ue)?F:ue,ve&&me()&&B().onSuccess(ue,h,i)}catch(T){Ye();const F=B(),{shouldRetryOnError:le}=F;F.isPaused()||(Ce.error=T,ve&&me()&&(F.onError(T,h,F),(le===!0||$e(le)&&le(T))&&(!B().revalidateOnFocus||!B().revalidateOnReconnect||W())&&F.onErrorRetry(T,h,F,de=>{const ke=m[h];ke&&ke[0]&&ke[0](Ct.ERROR_REVALIDATE_EVENT,de)},{retryCount:(Ae.retryCount||0)+1,dedupe:!0})))}return Oe=!1,dt(),!0},[h,n]),xe=R.useCallback((...E)=>no(n,b.current,...E),[]);if(ti(()=>{D.current=t,L.current=i,ee(O)||(P.current=O)}),ti(()=>{if(!h)return;const E=M.bind(Pe,oi);let K=0;const te=yl(h,m,(Oe,Ae={})=>{if(Oe==Ct.FOCUS_EVENT){const ve=Date.now();B().revalidateOnFocus&&ve>K&&W()&&(K=ve+B().focusThrottleInterval,E())}else if(Oe==Ct.RECONNECT_EVENT)B().revalidateOnReconnect&&W()&&E();else{if(Oe==Ct.MUTATE_EVENT)return M();if(Oe==Ct.ERROR_REVALIDATE_EVENT)return M(Ae)}});return k.current=!1,b.current=h,C.current=!0,ae({_k:A}),I&&(ee(z)||At?E():il(E)),()=>{k.current=!0,te()}},[h]),ti(()=>{let E;function K(){const te=$e(p)?p(J().data):p;te&&E!==-1&&(E=setTimeout(ue,te))}function ue(){!J().error&&(l||B().isVisible())&&(d||B().isOnline())?M(oi).then(K):K()}return K(),()=>{E&&(clearTimeout(E),E=-1)}},[p,l,d,h]),R.useDebugValue(H),o&&ee(z)&&h){if(!Xr&&At)throw new Error("Fallback data is required when using suspense in SSR.");D.current=t,L.current=i,k.current=!1;const E=y[h];if(!ee(E)){const K=xe(E);ao(K)}if(ee($)){const K=M(oi);ee(H)||(K.status="fulfilled",K.value=!0),ao(K)}else throw $}return{mutate:xe,get data(){return V.data=!0,H},get error(){return V.error=!0,$},get isValidating(){return V.isValidating=!0,Y},get isLoading(){return V.isLoading=!0,G}}}),wl=we.create({baseURL:"https://arpeggi.io/api/v2/"}),Sl=async e=>{if(e===null)return null;const t=await wl.get(e);return console.log(t.data),t.data},Tl=e=>{const t=e>0;return El(t?`/ml-inference-jobs/${e}`:null,Sl,{refreshInterval:1e3})},Rl=()=>{const[e,t]=R.useState(null),[i,n]=R.useState(0),[r,o]=R.useState(0),{data:a,isLoading:s}=Tl(i);return{file:e,setFile:t,mlijId:i,setMlijId:n,voiceModelId:r,setVoiceModelId:o,data:a,isLoading:s}},so=R.createContext({}),co=()=>R.useContext(so),kl=({children:e})=>{const t=Rl();return bt.jsx(so.Provider,{value:t,children:e})},Ol=1,_l=100*1024*1024,Al=1,Cl=100,Dl=({children:e})=>{const{setFile:t}=co(),i=n=>t(n[0]);return bt.jsx(cr,{files:[],onFileAccepted:i,maxFileCount:Ol,maxSizeBytes:_l,minSizeBytes:Al,maxDurationS:Cl,children:e})};function ln(e,t,i){for(let n=0;n<e.length;++n)t[i+n]=e.charCodeAt(n)}function pn(e,t,i){e=Math.floor(e),t[i+0]=e&255,t[i+1]=e>>8&255}function rt(e,t,i){e=Math.floor(e),t[i+0]=e&255,t[i+1]=e>>8&255,t[i+2]=e>>16&255,t[i+3]=e>>24&255}function jl(e){const t=new ArrayBuffer(4);return new Float32Array(t)[0]=e,new Uint32Array(t)[0]|0}function Fl(e,t,i,n){let r=0,o=0;const a=e.length,s=e.numberOfChannels;let c,p;for(r=0;r<a;++r)for(o=0;o<s;++o)if(c=e.getChannelData(o),n===16)p=c[r]*32768,p=Math.max(-32768,Math.min(p,32767)),pn(p,t,i),i+=2;else if(n===32)p=jl(c[r]),rt(p,t,i),i+=4;else{console.log("Invalid bit depth for PCM encoding.");return}}async function Pl(e,t){let i=e instanceof Blob?e:new Blob(e);const n=URL.createObjectURL(i),o=await(await fetch(n)).arrayBuffer();return await new AudioContext(t).decodeAudioData(o)}async function Il(e,t=!1){const i=e.length,n=e.numberOfChannels,r=e.sampleRate,o=t?32:16,a=o/8,s=r*n*o/8,c=n*o/8,p=i*n*a,d=44+p,f=new Uint8Array(d),m=16,x=p,g=4+(8+m)+(8+x);return ln("RIFF",f,0),rt(g,f,4),ln("WAVE",f,8),ln("fmt ",f,12),rt(m,f,16),pn(t?3:1,f,20),pn(n,f,22),rt(r,f,24),rt(s,f,28),pn(c,f,32),rt(o,f,34),ln("data",f,36),rt(x,f,40),Fl(e,f,44,o),new Blob([f],{type:"audio/wave"})}async function Bl(e,t=!1,i){const n=await Pl(e,i);return Il(n,t)}const zl=128;class Ll{constructor(){dn(this,"mediaRecorder",null);dn(this,"stream",null);dn(this,"__data",null)}async checkMicrophonePermission(){var n;return!!(await((n=navigator==null?void 0:navigator.mediaDevices)==null?void 0:n.enumerateDevices())).find(r=>r.kind==="audioinput"&&!!r.label)}async startRecording(){var t;if(((t=this.mediaRecorder)==null?void 0:t.state)==="recording")return!0;try{this.stream=await navigator.mediaDevices.getUserMedia({audio:!0,video:!1}),this.mediaRecorder=new MediaRecorder(this.stream,{bitsPerSecond:zl*1e3}),this.mediaRecorder.ondataavailable=i=>this.__data=i.data}catch(i){return console.error(i),!1}return this.mediaRecorder.start(),!0}stopRecording(){return new Promise(t=>{var i;if(((i=this.mediaRecorder)==null?void 0:i.state)!=="recording"){t(!0);return}this.mediaRecorder.stop(),this.mediaRecorder.onstop=()=>{var n;(n=this.stream)==null||n.getTracks().forEach(r=>r.stop()),this.mediaRecorder=null,this.stream=null,t(!0)}})}async getWavBlob(){return this.__data?await Bl(this.__data):null}}const un=new Ll,lo="Recording.wav",po=1500,Ml=e=>{const[t,i]=R.useState(!1),[n,r]=R.useState(!1),[o,a]=R.useState(!1);return R.useEffect(()=>{var p;const c=async()=>{un.checkMicrophonePermission().then(i)};return c(),(p=navigator==null?void 0:navigator.mediaDevices)==null||p.addEventListener("devicechange",c),()=>{var l;return(l=navigator==null?void 0:navigator.mediaDevices)==null?void 0:l.removeEventListener("devicechange",c)}},[]),{hasMicAccess:t,isRecording:n,hasMinTimeElapsed:o,handleClick:async()=>{if(n){if(!o)return;r(!1),a(!1),await un.stopRecording();const p=await un.getWavBlob();if(!p){console.log("Failed to get audio blob",p);return}const l=new File([p],lo,{type:"audio/mpeg",lastModified:Date.now()});e.onFileUpdate(l);return}const c=await un.startRecording();r(c),setTimeout(()=>{a(!0)},po)}}};Ee.AudioFilePickerRoot=cr,Ee.FilePicker=Dl,Ee.GuestConvertProvider=kl,Ee.MIN_RECORDING_LENGTH_MS=po,Ee.RECORDED_AUDIO_NAME=lo,Ee.useAudioFilePickerContext=bs,Ee.useGuestConvertContext=co,Ee.useRecorder=Ml,Object.defineProperty(Ee,Symbol.toStringTag,{value:"Module"})});
|
69
|
+
*/var Gr;function Xc(){return Gr||(Gr=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=T,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function i(C){{for(var k=arguments.length,b=new Array(k>1?k-1:0),D=1;D<k;D++)b[D-1]=arguments[D];n("error",C,b)}}function n(C,k,b){{var D=t.ReactDebugCurrentFrame,L=D.getStackAddendum();L!==""&&(k+="%s",b=b.concat([L]));var B=b.map(function(W){return String(W)});B.unshift("Warning: "+k),Function.prototype.apply.call(console[C],console,B)}}function r(C,k){return C===k&&(C!==0||1/C===1/k)||C!==C&&k!==k}var o=typeof Object.is=="function"?Object.is:r,a=e.useState,s=e.useEffect,c=e.useLayoutEffect,p=e.useDebugValue,l=!1,u=!1;function f(C,k,b){l||e.startTransition!==void 0&&(l=!0,i("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var D=k();if(!u){var L=k();o(D,L)||(i("The result of getSnapshot should be cached to avoid an infinite loop"),u=!0)}var B=a({inst:{value:D,getSnapshot:k}}),W=B[0].inst,J=B[1];return c(function(){W.value=D,W.getSnapshot=k,m(W)&&J({inst:W})},[C,D,k]),s(function(){m(W)&&J({inst:W});var ae=function(){m(W)&&J({inst:W})};return C(ae)},[C]),p(D),D}function m(C){var k=C.getSnapshot,b=C.value;try{var D=k();return!o(b,D)}catch{return!0}}function x(C,k,b){return k()}var g=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",y=!g,h=y?x:f,A=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:h;Gn.useSyncExternalStore=A,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Gn}var Xr;function Zc(){return Xr||(Xr=1,process.env.NODE_ENV==="production"?sn.exports=Gc():sn.exports=Xc()),sn.exports}var Qc=Zc();const He=()=>{},Ie=He(),Xn=Object,ee=e=>e===Ie,Ne=e=>typeof e=="function",Ye=(e,t)=>({...e,...t}),el=e=>Ne(e.then),cn=new WeakMap;let tl=0;const Ct=e=>{const t=typeof e,i=e&&e.constructor,n=i==Date;let r,o;if(Xn(e)===e&&!n&&i!=RegExp){if(r=cn.get(e),r)return r;if(r=++tl+"~",cn.set(e,r),i==Array){for(r="@",o=0;o<e.length;o++)r+=Ct(e[o])+",";cn.set(e,r)}if(i==Xn){r="#";const a=Xn.keys(e).sort();for(;!ee(o=a.pop());)ee(e[o])||(r+=o+":"+Ct(e[o])+",");cn.set(e,r)}}else r=n?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return r},Ue=new WeakMap,Zn={},ln={},Qn="undefined",pn=typeof window!=Qn,ei=typeof document!=Qn,nl=()=>pn&&typeof window.requestAnimationFrame!=Qn,Zr=(e,t)=>{const i=Ue.get(e);return[()=>!ee(t)&&e.get(t)||Zn,n=>{if(!ee(t)){const r=e.get(t);t in ln||(ln[t]=r),i[5](t,Ye(r,n),r||Zn)}},i[6],()=>!ee(t)&&t in ln?ln[t]:!ee(t)&&e.get(t)||Zn]};let ti=!0;const il=()=>ti,[ni,ii]=pn&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[He,He],rl=()=>{const e=ei&&document.visibilityState;return ee(e)||e!=="hidden"},ol=e=>(ei&&document.addEventListener("visibilitychange",e),ni("focus",e),()=>{ei&&document.removeEventListener("visibilitychange",e),ii("focus",e)}),al=e=>{const t=()=>{ti=!0,e()},i=()=>{ti=!1};return ni("online",t),ni("offline",i),()=>{ii("online",t),ii("offline",i)}},sl={isOnline:il,isVisible:rl},cl={initFocus:ol,initReconnect:al},Qr=!T.useId,Dt=!pn||"Deno"in window,ll=e=>nl()?window.requestAnimationFrame(e):setTimeout(e,1),ri=Dt?T.useEffect:T.useLayoutEffect,oi=typeof navigator<"u"&&navigator.connection,eo=!Dt&&oi&&(["slow-2g","2g"].includes(oi.effectiveType)||oi.saveData),ai=e=>{if(Ne(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?Ct(e):"",[e,t]};let pl=0;const si=()=>++pl,to=0,no=1,io=2;var jt={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:to,MUTATE_EVENT:io,RECONNECT_EVENT:no};async function ro(...e){const[t,i,n,r]=e,o=Ye({populateCache:!0,throwOnError:!0},typeof r=="boolean"?{revalidate:r}:r||{});let a=o.populateCache;const s=o.rollbackOnError;let c=o.optimisticData;const p=f=>typeof s=="function"?s(f):s!==!1,l=o.throwOnError;if(Ne(i)){const f=i,m=[],x=t.keys();for(const g of x)!/^\$(inf|sub)\$/.test(g)&&f(t.get(g)._k)&&m.push(g);return Promise.all(m.map(u))}return u(i);async function u(f){const[m]=ai(f);if(!m)return;const[x,g]=Zr(t,m),[y,h,A,C]=Ue.get(t),k=()=>{const Z=y[m];return(Ne(o.revalidate)?o.revalidate(x().data,f):o.revalidate!==!1)&&(delete A[m],delete C[m],Z&&Z[0])?Z[0](io).then(()=>x().data):x().data};if(e.length<3)return k();let b=n,D;const L=si();h[m]=[L,0];const B=!ee(c),W=x(),J=W.data,ae=W._c,fe=ee(ae)?J:ae;if(B&&(c=Ne(c)?c(fe,J):c,g({data:c,_c:fe})),Ne(b))try{b=b(fe)}catch(Z){D=Z}if(b&&el(b))if(b=await b.catch(Z=>{D=Z}),L!==h[m][0]){if(D)throw D;return b}else D&&B&&p(D)&&(a=!0,g({data:fe,_c:Ie}));if(a&&!D)if(Ne(a)){const Z=a(b,fe);g({data:Z,error:Ie,_c:Ie})}else g({data:b,error:Ie,_c:Ie});if(h[m][1]=si(),Promise.resolve(k()).then(()=>{g({_c:Ie})}),D){if(l)throw D;return}return b}}const oo=(e,t)=>{for(const i in e)e[i][0]&&e[i][0](t)},dl=(e,t)=>{if(!Ue.has(e)){const i=Ye(cl,t),n={},r=ro.bind(Ie,e);let o=He;const a={},s=(l,u)=>{const f=a[l]||[];return a[l]=f,f.push(u),()=>f.splice(f.indexOf(u),1)},c=(l,u,f)=>{e.set(l,u);const m=a[l];if(m)for(const x of m)x(u,f)},p=()=>{if(!Ue.has(e)&&(Ue.set(e,[n,{},{},{},r,c,s]),!Dt)){const l=i.initFocus(setTimeout.bind(Ie,oo.bind(Ie,n,to))),u=i.initReconnect(setTimeout.bind(Ie,oo.bind(Ie,n,no)));o=()=>{l&&l(),u&&u(),Ue.delete(e)}}};return p(),[e,r,p,o]}return[e,Ue.get(e)[4]]},ul=(e,t,i,n,r)=>{const o=i.errorRetryCount,a=r.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*i.errorRetryInterval;!ee(o)&&a>o||setTimeout(n,s,r)},fl=(e,t)=>Ct(e)==Ct(t),[ao,ml]=dl(new Map),xl=Ye({onLoadingSlow:He,onSuccess:He,onError:He,onErrorRetry:ul,onDiscarded:He,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:eo?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:eo?5e3:3e3,compare:fl,isPaused:()=>!1,cache:ao,mutate:ml,fallback:{}},sl),vl=(e,t)=>{const i=Ye(e,t);if(t){const{use:n,fallback:r}=e,{use:o,fallback:a}=t;n&&o&&(i.use=n.concat(o)),r&&a&&(i.fallback=Ye(r,a))}return i},gl=T.createContext({}),hl="$inf$",so=pn&&window.__SWR_DEVTOOLS_USE__,bl=so?window.__SWR_DEVTOOLS_USE__:[],yl=()=>{so&&(window.__SWR_DEVTOOLS_REACT__=T)},El=e=>Ne(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],wl=()=>Ye(xl,T.useContext(gl)),Sl=e=>(t,i,n)=>e(t,i&&((...o)=>{const[a]=ai(t),[,,,s]=Ue.get(ao);if(a.startsWith(hl))return i(...o);const c=s[a];return ee(c)?i(...o):(delete s[a],c)}),n),Rl=bl.concat(Sl),Tl=e=>function(...i){const n=wl(),[r,o,a]=El(i),s=vl(n,a);let c=e;const{use:p}=s,l=(p||[]).concat(Rl);for(let u=l.length;u--;)c=l[u](c);return c(r,o||s.fetcher||null,s)},kl=(e,t,i)=>{const n=t[e]||(t[e]=[]);return n.push(i),()=>{const r=n.indexOf(i);r>=0&&(n[r]=n[n.length-1],n.pop())}};yl();const co=T.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)}),ci={dedupe:!0},Ol=Tl((e,t,i)=>{const{cache:n,compare:r,suspense:o,fallbackData:a,revalidateOnMount:s,revalidateIfStale:c,refreshInterval:p,refreshWhenHidden:l,refreshWhenOffline:u,keepPreviousData:f}=i,[m,x,g,y]=Ue.get(n),[h,A]=ai(e),C=T.useRef(!1),k=T.useRef(!1),b=T.useRef(h),D=T.useRef(t),L=T.useRef(i),B=()=>L.current,W=()=>B().isVisible()&&B().isOnline(),[J,ae,fe,Z]=Zr(n,h),V=T.useRef({}).current,ce=ee(a)?i.fallback[h]:a,Se=(E,K)=>{for(const de in V){const te=de;if(te==="data"){if(!r(E[te],K[te])&&(!ee(E[te])||!r(H,K[te])))return!1}else if(K[te]!==E[te])return!1}return!0},Re=T.useMemo(()=>{const E=!h||!t?!1:ee(s)?B().isPaused()||o?!1:ee(c)?!0:c:s,K=me=>{const Ce=Ye(me);return delete Ce._k,E?{isValidating:!0,isLoading:!0,...Ce}:Ce},de=J(),te=Z(),Oe=K(de),Ae=de===te?Oe:K(te);let ve=Oe;return[()=>{const me=K(J());return Se(me,ve)?(ve.data=me.data,ve.isLoading=me.isLoading,ve.isValidating=me.isValidating,ve.error=me.error,ve):(ve=me,me)},()=>Ae]},[n,h]),be=Qc.useSyncExternalStore(T.useCallback(E=>fe(h,(K,de)=>{Se(de,K)||E()}),[n,h]),Re[0],Re[1]),he=!C.current,S=m[h]&&m[h].length>0,O=be.data,z=ee(O)?ce:O,$=be.error,P=T.useRef(z),H=f?ee(O)?P.current:O:z,I=S&&!ee($)?!1:he&&!ee(s)?s:B().isPaused()?!1:o?ee(z)?!1:c:ee(z)||c,N=!!(h&&t&&he&&I),Y=ee(be.isValidating)?N:be.isValidating,G=ee(be.isLoading)?N:be.isLoading,M=T.useCallback(async E=>{const K=D.current;if(!h||!K||k.current||B().isPaused())return!1;let de,te,Oe=!0;const Ae=E||{},ve=!g[h]||!Ae.dedupe,me=()=>Qr?!k.current&&h===b.current&&C.current:h===b.current,Ce={isValidating:!1,isLoading:!1},xt=()=>{ae(Ce)},Ke=()=>{const R=g[h];R&&R[1]===te&&delete g[h]},vt={isValidating:!0};ee(J().data)&&(vt.isLoading=!0);try{if(ve&&(ae(vt),i.loadingTimeout&&ee(J().data)&&setTimeout(()=>{Oe&&me()&&B().onLoadingSlow(h,i)},i.loadingTimeout),g[h]=[K(A),si()]),[de,te]=g[h],de=await de,ve&&setTimeout(Ke,i.dedupingInterval),!g[h]||g[h][1]!==te)return ve&&me()&&B().onDiscarded(h),!1;Ce.error=Ie;const R=x[h];if(!ee(R)&&(te<=R[0]||te<=R[1]||R[1]===0))return xt(),ve&&me()&&B().onDiscarded(h),!1;const F=J().data;Ce.data=r(F,de)?F:de,ve&&me()&&B().onSuccess(de,h,i)}catch(R){Ke();const F=B(),{shouldRetryOnError:le}=F;F.isPaused()||(Ce.error=R,ve&&me()&&(F.onError(R,h,F),(le===!0||Ne(le)&&le(R))&&(!B().revalidateOnFocus||!B().revalidateOnReconnect||W())&&F.onErrorRetry(R,h,F,ue=>{const ke=m[h];ke&&ke[0]&&ke[0](jt.ERROR_REVALIDATE_EVENT,ue)},{retryCount:(Ae.retryCount||0)+1,dedupe:!0})))}return Oe=!1,xt(),!0},[h,n]),xe=T.useCallback((...E)=>ro(n,b.current,...E),[]);if(ri(()=>{D.current=t,L.current=i,ee(O)||(P.current=O)}),ri(()=>{if(!h)return;const E=M.bind(Ie,ci);let K=0;const te=kl(h,m,(Oe,Ae={})=>{if(Oe==jt.FOCUS_EVENT){const ve=Date.now();B().revalidateOnFocus&&ve>K&&W()&&(K=ve+B().focusThrottleInterval,E())}else if(Oe==jt.RECONNECT_EVENT)B().revalidateOnReconnect&&W()&&E();else{if(Oe==jt.MUTATE_EVENT)return M();if(Oe==jt.ERROR_REVALIDATE_EVENT)return M(Ae)}});return k.current=!1,b.current=h,C.current=!0,ae({_k:A}),I&&(ee(z)||Dt?E():ll(E)),()=>{k.current=!0,te()}},[h]),ri(()=>{let E;function K(){const te=Ne(p)?p(J().data):p;te&&E!==-1&&(E=setTimeout(de,te))}function de(){!J().error&&(l||B().isVisible())&&(u||B().isOnline())?M(ci).then(K):K()}return K(),()=>{E&&(clearTimeout(E),E=-1)}},[p,l,u,h]),T.useDebugValue(H),o&&ee(z)&&h){if(!Qr&&Dt)throw new Error("Fallback data is required when using suspense in SSR.");D.current=t,L.current=i,k.current=!1;const E=y[h];if(!ee(E)){const K=xe(E);co(K)}if(ee($)){const K=M(ci);ee(H)||(K.status="fulfilled",K.value=!0),co(K)}else throw $}return{mutate:xe,get data(){return V.data=!0,H},get error(){return V.error=!0,$},get isValidating(){return V.isValidating=!0,Y},get isLoading(){return V.isLoading=!0,G}}}),_l=we.create({baseURL:"https://arpeggi.io/api/v2/"}),Al=async e=>{if(e===null)return null;const t=await _l.get(e);return console.log(t.data),t.data},Cl=e=>{const t=e>0;return Ol(t?`/ml-inference-jobs/${e}`:null,Al,{refreshInterval:1e3})},Dl=()=>{const[e,t]=T.useState(null),[i,n]=T.useState(0),[r,o]=T.useState(0),{data:a,isLoading:s}=Cl(i);return{file:e,setFile:t,mlijId:i,setMlijId:n,voiceModelId:r,setVoiceModelId:o,data:a,isLoading:s}},lo=T.createContext({}),po=()=>T.useContext(lo),jl=({children:e})=>{const t=Dl();return Fe.jsx(lo.Provider,{value:t,children:e})},Fl=1,Pl=100*1024*1024,Il=1,Bl=100,zl=({children:e})=>{const{setFile:t}=po(),i=n=>t(n[0]);return Fe.jsx(pr,{files:[],onFileAccepted:i,maxFileCount:Fl,maxSizeBytes:Pl,minSizeBytes:Il,maxDurationS:Bl,children:e})};function dn(e,t,i){for(let n=0;n<e.length;++n)t[i+n]=e.charCodeAt(n)}function un(e,t,i){e=Math.floor(e),t[i+0]=e&255,t[i+1]=e>>8&255}function at(e,t,i){e=Math.floor(e),t[i+0]=e&255,t[i+1]=e>>8&255,t[i+2]=e>>16&255,t[i+3]=e>>24&255}function Ll(e){const t=new ArrayBuffer(4);return new Float32Array(t)[0]=e,new Uint32Array(t)[0]|0}function Ml(e,t,i,n){let r=0,o=0;const a=e.length,s=e.numberOfChannels;let c,p;for(r=0;r<a;++r)for(o=0;o<s;++o)if(c=e.getChannelData(o),n===16)p=c[r]*32768,p=Math.max(-32768,Math.min(p,32767)),un(p,t,i),i+=2;else if(n===32)p=Ll(c[r]),at(p,t,i),i+=4;else{console.log("Invalid bit depth for PCM encoding.");return}}async function $l(e,t){let i=e instanceof Blob?e:new Blob(e);const n=URL.createObjectURL(i),o=await(await fetch(n)).arrayBuffer();return await new AudioContext(t).decodeAudioData(o)}async function Nl(e,t=!1){const i=e.length,n=e.numberOfChannels,r=e.sampleRate,o=t?32:16,a=o/8,s=r*n*o/8,c=n*o/8,p=i*n*a,u=44+p,f=new Uint8Array(u),m=16,x=p,g=4+(8+m)+(8+x);return dn("RIFF",f,0),at(g,f,4),dn("WAVE",f,8),dn("fmt ",f,12),at(m,f,16),un(t?3:1,f,20),un(n,f,22),at(r,f,24),at(s,f,28),un(c,f,32),at(o,f,34),dn("data",f,36),at(x,f,40),Ml(e,f,44,o),new Blob([f],{type:"audio/wave"})}async function ql(e,t=!1,i){const n=await $l(e,i);return Nl(n,t)}const Ul=128;class Wl{constructor(){mn(this,"mediaRecorder",null);mn(this,"stream",null);mn(this,"__data",null)}async checkMicrophonePermission(){var n;return!!(await((n=navigator==null?void 0:navigator.mediaDevices)==null?void 0:n.enumerateDevices())).find(r=>r.kind==="audioinput"&&!!r.label)}async startRecording(){var t;if(((t=this.mediaRecorder)==null?void 0:t.state)==="recording")return!0;try{this.stream=await navigator.mediaDevices.getUserMedia({audio:!0,video:!1}),this.mediaRecorder=new MediaRecorder(this.stream,{bitsPerSecond:Ul*1e3}),this.mediaRecorder.ondataavailable=i=>this.__data=i.data}catch(i){return console.error(i),!1}return this.mediaRecorder.start(),!0}stopRecording(){return new Promise(t=>{var i;if(((i=this.mediaRecorder)==null?void 0:i.state)!=="recording"){t(!0);return}this.mediaRecorder.stop(),this.mediaRecorder.onstop=()=>{var n;(n=this.stream)==null||n.getTracks().forEach(r=>r.stop()),this.mediaRecorder=null,this.stream=null,t(!0)}})}async getWavBlob(){return this.__data?await ql(this.__data):null}}const fn=new Wl,uo="Recording.wav",fo=1500,Vl=e=>{const[t,i]=T.useState(!1),[n,r]=T.useState(!1),[o,a]=T.useState(!1);return T.useEffect(()=>{var p;const c=async()=>{fn.checkMicrophonePermission().then(i)};return c(),(p=navigator==null?void 0:navigator.mediaDevices)==null||p.addEventListener("devicechange",c),()=>{var l;return(l=navigator==null?void 0:navigator.mediaDevices)==null?void 0:l.removeEventListener("devicechange",c)}},[]),{hasMicAccess:t,isRecording:n,hasMinTimeElapsed:o,handleClick:async()=>{if(n){if(!o)return;r(!1),a(!1),await fn.stopRecording();const p=await fn.getWavBlob();if(!p){console.log("Failed to get audio blob",p);return}const l=new File([p],uo,{type:"audio/mpeg",lastModified:Date.now()});e.onFileUpdate(l);return}const c=await fn.startRecording();r(c),setTimeout(()=>{a(!0)},fo)}}};ye.AudioFilePickerRoot=pr,ye.ConvertStep=ks,ye.FilePicker=zl,ye.GuestConvertProvider=jl,ye.MIN_RECORDING_LENGTH_MS=fo,ye.RECORDED_AUDIO_NAME=uo,ye.useAudioFilePickerContext=ys,ye.useGuestConvertContext=po,ye.useRecorder=Vl,Object.defineProperty(ye,Symbol.toStringTag,{value:"Module"})});
|
70
70
|
//# sourceMappingURL=index.umd.js.map
|