arpeggi-framer-components 0.0.2 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.umd.js CHANGED
@@ -1,4 +1,4 @@
1
- (function(g,y){typeof exports=="object"&&typeof module<"u"?module.exports=y(require("react")):typeof define=="function"&&define.amd?define(["react"],y):(g=typeof globalThis<"u"?globalThis:g||self,g["react-beautiful-timeline"]=y(g.React))})(this,function(g){"use strict";var y={exports:{}},j={};/**
1
+ (function(ze,_){typeof exports=="object"&&typeof module<"u"?_(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],_):(ze=typeof globalThis<"u"?globalThis:ze||self,_(ze["react-beautiful-timeline"]={},ze.React))})(this,function(ze,_){"use strict";function ni(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var zt={exports:{}},xt={};/**
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 Z;function Se(){if(Z)return j;Z=1;var h=g,b=Symbol.for("react.element"),D=Symbol.for("react.fragment"),O=Object.prototype.hasOwnProperty,W=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Y={key:!0,ref:!0,__self:!0,__source:!0};function F(_,l,w){var v,m={},T=null,L=null;w!==void 0&&(T=""+w),l.key!==void 0&&(T=""+l.key),l.ref!==void 0&&(L=l.ref);for(v in l)O.call(l,v)&&!Y.hasOwnProperty(v)&&(m[v]=l[v]);if(_&&_.defaultProps)for(v in l=_.defaultProps,l)m[v]===void 0&&(m[v]=l[v]);return{$$typeof:b,type:_,key:T,ref:L,props:m,_owner:W.current}}return j.Fragment=D,j.jsx=F,j.jsxs=F,j}var k={};/**
9
+ */var ii;function uo(){if(ii)return xt;ii=1;var e=_,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,d={},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)&&(d[l]=c[l]);if(s&&s.defaultProps)for(l in c=s.defaultProps,c)d[l]===void 0&&(d[l]=c[l]);return{$$typeof:t,type:s,key:f,ref:m,props:d,_owner:r.current}}return xt.Fragment=i,xt.jsx=a,xt.jsxs=a,xt}var vt={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,13 +14,57 @@
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 Q;function Pe(){return Q||(Q=1,process.env.NODE_ENV!=="production"&&function(){var h=g,b=Symbol.for("react.element"),D=Symbol.for("react.portal"),O=Symbol.for("react.fragment"),W=Symbol.for("react.strict_mode"),Y=Symbol.for("react.profiler"),F=Symbol.for("react.provider"),_=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),v=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),L=Symbol.for("react.offscreen"),te=Symbol.iterator,De="@@iterator";function Fe(e){if(e===null||typeof e!="object")return null;var r=te&&e[te]||e[De];return typeof r=="function"?r:null}var S=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function c(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];Ae("error",e,t)}}function Ae(e,r,t){{var n=S.ReactDebugCurrentFrame,i=n.getStackAddendum();i!==""&&(r+="%s",t=t.concat([i]));var u=t.map(function(o){return String(o)});u.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,u)}}var Ie=!1,We=!1,Ye=!1,Le=!1,Me=!1,ne;ne=Symbol.for("react.module.reference");function $e(e){return!!(typeof e=="string"||typeof e=="function"||e===O||e===Y||Me||e===W||e===w||e===v||Le||e===L||Ie||We||Ye||typeof e=="object"&&e!==null&&(e.$$typeof===T||e.$$typeof===m||e.$$typeof===F||e.$$typeof===_||e.$$typeof===l||e.$$typeof===ne||e.getModuleId!==void 0))}function Ne(e,r,t){var n=e.displayName;if(n)return n;var i=r.displayName||r.name||"";return i!==""?t+"("+i+")":t}function ae(e){return e.displayName||"Context"}function R(e){if(e==null)return null;if(typeof e.tag=="number"&&c("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case O:return"Fragment";case D:return"Portal";case Y:return"Profiler";case W:return"StrictMode";case w:return"Suspense";case v:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case _:var r=e;return ae(r)+".Consumer";case F:var t=e;return ae(t._context)+".Provider";case l:return Ne(e,e.render,"ForwardRef");case m:var n=e.displayName||null;return n!==null?n:R(e.type)||"Memo";case T:{var i=e,u=i._payload,o=i._init;try{return R(o(u))}catch{return null}}}return null}var C=Object.assign,A=0,oe,ie,ue,se,fe,le,ce;function de(){}de.__reactDisabledLog=!0;function Ve(){{if(A===0){oe=console.log,ie=console.info,ue=console.warn,se=console.error,fe=console.group,le=console.groupCollapsed,ce=console.groupEnd;var e={configurable:!0,enumerable:!0,value:de,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}A++}}function Ue(){{if(A--,A===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:C({},e,{value:oe}),info:C({},e,{value:ie}),warn:C({},e,{value:ue}),error:C({},e,{value:se}),group:C({},e,{value:fe}),groupCollapsed:C({},e,{value:le}),groupEnd:C({},e,{value:ce})})}A<0&&c("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var J=S.ReactCurrentDispatcher,B;function M(e,r,t){{if(B===void 0)try{throw Error()}catch(i){var n=i.stack.trim().match(/\n( *(at )?)/);B=n&&n[1]||""}return`
18
- `+B+e}}var G=!1,$;{var Je=typeof WeakMap=="function"?WeakMap:Map;$=new Je}function ve(e,r){if(!e||G)return"";{var t=$.get(e);if(t!==void 0)return t}var n;G=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var u;u=J.current,J.current=null,Ve();try{if(r){var o=function(){throw Error()};if(Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(E){n=E}Reflect.construct(e,[],o)}else{try{o.call()}catch(E){n=E}e.call(o.prototype)}}else{try{throw Error()}catch(E){n=E}e()}}catch(E){if(E&&n&&typeof E.stack=="string"){for(var a=E.stack.split(`
19
- `),d=n.stack.split(`
20
- `),s=a.length-1,f=d.length-1;s>=1&&f>=0&&a[s]!==d[f];)f--;for(;s>=1&&f>=0;s--,f--)if(a[s]!==d[f]){if(s!==1||f!==1)do if(s--,f--,f<0||a[s]!==d[f]){var p=`
21
- `+a[s].replace(" at new "," at ");return e.displayName&&p.includes("<anonymous>")&&(p=p.replace("<anonymous>",e.displayName)),typeof e=="function"&&$.set(e,p),p}while(s>=1&&f>=0);break}}}finally{G=!1,J.current=u,Ue(),Error.prepareStackTrace=i}var x=e?e.displayName||e.name:"",we=x?M(x):"";return typeof e=="function"&&$.set(e,we),we}function Be(e,r,t){return ve(e,!1)}function Ge(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function N(e,r,t){if(e==null)return"";if(typeof e=="function")return ve(e,Ge(e));if(typeof e=="string")return M(e);switch(e){case w:return M("Suspense");case v:return M("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case l:return Be(e.render);case m:return N(e.type,r,t);case T:{var n=e,i=n._payload,u=n._init;try{return N(u(i),r,t)}catch{}}}return""}var V=Object.prototype.hasOwnProperty,pe={},he=S.ReactDebugCurrentFrame;function U(e){if(e){var r=e._owner,t=N(e.type,e._source,r?r.type:null);he.setExtraStackFrame(t)}else he.setExtraStackFrame(null)}function qe(e,r,t,n,i){{var u=Function.call.bind(V);for(var o in e)if(u(e,o)){var a=void 0;try{if(typeof e[o]!="function"){var d=Error((n||"React class")+": "+t+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}a=e[o](r,o,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(s){a=s}a&&!(a instanceof Error)&&(U(i),c("%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).",n||"React class",t,o,typeof a),U(null)),a instanceof Error&&!(a.message in pe)&&(pe[a.message]=!0,U(i),c("Failed %s type: %s",t,a.message),U(null))}}}var ze=Array.isArray;function q(e){return ze(e)}function Ke(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function He(e){try{return be(e),!1}catch{return!0}}function be(e){return""+e}function ge(e){if(He(e))return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ke(e)),be(e)}var I=S.ReactCurrentOwner,Xe={key:!0,ref:!0,__self:!0,__source:!0},me,Re,z;z={};function Ze(e){if(V.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Qe(e){if(V.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function er(e,r){if(typeof e.ref=="string"&&I.current&&r&&I.current.stateNode!==r){var t=R(I.current.type);z[t]||(c('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',R(I.current.type),e.ref),z[t]=!0)}}function rr(e,r){{var t=function(){me||(me=!0,c("%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)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function tr(e,r){{var t=function(){Re||(Re=!0,c("%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)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var nr=function(e,r,t,n,i,u,o){var a={$$typeof:b,type:e,key:r,ref:t,props:o,_owner:u};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function ar(e,r,t,n,i){{var u,o={},a=null,d=null;t!==void 0&&(ge(t),a=""+t),Qe(r)&&(ge(r.key),a=""+r.key),Ze(r)&&(d=r.ref,er(r,i));for(u in r)V.call(r,u)&&!Xe.hasOwnProperty(u)&&(o[u]=r[u]);if(e&&e.defaultProps){var s=e.defaultProps;for(u in s)o[u]===void 0&&(o[u]=s[u])}if(a||d){var f=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&rr(o,f),d&&tr(o,f)}return nr(e,a,d,i,n,I.current,o)}}var K=S.ReactCurrentOwner,Ee=S.ReactDebugCurrentFrame;function P(e){if(e){var r=e._owner,t=N(e.type,e._source,r?r.type:null);Ee.setExtraStackFrame(t)}else Ee.setExtraStackFrame(null)}var H;H=!1;function X(e){return typeof e=="object"&&e!==null&&e.$$typeof===b}function ye(){{if(K.current){var e=R(K.current.type);if(e)return`
17
+ */var ri;function fo(){return ri||(ri=1,process.env.NODE_ENV!=="production"&&function(){var e=_,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"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),v=Symbol.iterator,g="@@iterator";function y(u){if(u===null||typeof u!="object")return null;var w=v&&u[v]||u[g];return typeof w=="function"?w:null}var h=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function A(u){{for(var w=arguments.length,O=new Array(w>1?w-1:0),q=1;q<w;q++)O[q-1]=arguments[q];C("error",u,O)}}function C(u,w,O){{var q=h.ReactDebugCurrentFrame,re=q.getStackAddendum();re!==""&&(w+="%s",O=O.concat([re]));var pe=O.map(function(Q){return String(Q)});pe.unshift("Warning: "+w),Function.prototype.apply.call(console[u],console,pe)}}var k=!1,b=!1,D=!1,L=!1,z=!1,W;W=Symbol.for("react.module.reference");function J(u){return!!(typeof u=="string"||typeof u=="function"||u===n||u===o||z||u===r||u===p||u===l||L||u===m||k||b||D||typeof u=="object"&&u!==null&&(u.$$typeof===f||u.$$typeof===d||u.$$typeof===a||u.$$typeof===s||u.$$typeof===c||u.$$typeof===W||u.getModuleId!==void 0))}function ae(u,w,O){var q=u.displayName;if(q)return q;var re=w.displayName||w.name||"";return re!==""?O+"("+re+")":O}function fe(u){return u.displayName||"Context"}function Z(u){if(u==null)return null;if(typeof u.tag=="number"&&A("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof u=="function")return u.displayName||u.name||null;if(typeof u=="string")return u;switch(u){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 u=="object")switch(u.$$typeof){case s:var w=u;return fe(w)+".Consumer";case a:var O=u;return fe(O._context)+".Provider";case c:return ae(u,u.render,"ForwardRef");case d:var q=u.displayName||null;return q!==null?q:Z(u.type)||"Memo";case f:{var re=u,pe=re._payload,Q=re._init;try{return Z(Q(pe))}catch{return null}}}return null}var V=Object.assign,ce=0,we,Se,be,he,S,R,B;function $(){}$.__reactDisabledLog=!0;function P(){{if(ce===0){we=console.log,Se=console.info,be=console.warn,he=console.error,S=console.group,R=console.groupCollapsed,B=console.groupEnd;var u={configurable:!0,enumerable:!0,value:$,writable:!0};Object.defineProperties(console,{info:u,log:u,warn:u,error:u,group:u,groupCollapsed:u,groupEnd:u})}ce++}}function H(){{if(ce--,ce===0){var u={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:V({},u,{value:we}),info:V({},u,{value:Se}),warn:V({},u,{value:be}),error:V({},u,{value:he}),group:V({},u,{value:S}),groupCollapsed:V({},u,{value:R}),groupEnd:V({},u,{value:B})})}ce<0&&A("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var I=h.ReactCurrentDispatcher,N;function Y(u,w,O){{if(N===void 0)try{throw Error()}catch(re){var q=re.stack.trim().match(/\n( *(at )?)/);N=q&&q[1]||""}return`
18
+ `+N+u}}var G=!1,M;{var xe=typeof WeakMap=="function"?WeakMap:Map;M=new xe}function E(u,w){if(!u||G)return"";{var O=M.get(u);if(O!==void 0)return O}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(We){q=We}Reflect.construct(u,[],Q)}else{try{Q.call()}catch(We){q=We}u.call(Q.prototype)}}else{try{throw Error()}catch(We){q=We}u()}}catch(We){if(We&&q&&typeof We.stack=="string"){for(var X=We.stack.split(`
19
+ `),De=q.stack.split(`
20
+ `),ye=X.length-1,Te=De.length-1;ye>=1&&Te>=0&&X[ye]!==De[Te];)Te--;for(;ye>=1&&Te>=0;ye--,Te--)if(X[ye]!==De[Te]){if(ye!==1||Te!==1)do if(ye--,Te--,Te<0||X[ye]!==De[Te]){var Ie=`
21
+ `+X[ye].replace(" at new "," at ");return u.displayName&&Ie.includes("<anonymous>")&&(Ie=Ie.replace("<anonymous>",u.displayName)),typeof u=="function"&&M.set(u,Ie),Ie}while(ye>=1&&Te>=0);break}}}finally{G=!1,I.current=pe,H(),Error.prepareStackTrace=re}var mt=u?u.displayName||u.name:"",po=mt?Y(mt):"";return typeof u=="function"&&M.set(u,po),po}function K(u,w,O){return E(u,!1)}function ue(u){var w=u.prototype;return!!(w&&w.isReactComponent)}function te(u,w,O){if(u==null)return"";if(typeof u=="function")return E(u,ue(u));if(typeof u=="string")return Y(u);switch(u){case p:return Y("Suspense");case l:return Y("SuspenseList")}if(typeof u=="object")switch(u.$$typeof){case c:return K(u.render);case d:return te(u.type,w,O);case f:{var q=u,re=q._payload,pe=q._init;try{return te(pe(re),w,O)}catch{}}}return""}var Re=Object.prototype.hasOwnProperty,_e={},ve=h.ReactDebugCurrentFrame;function me(u){if(u){var w=u._owner,O=te(u.type,u._source,w?w.type:null);ve.setExtraStackFrame(O)}else ve.setExtraStackFrame(null)}function Ae(u,w,O,q,re){{var pe=Function.call.bind(Re);for(var Q in u)if(pe(u,Q)){var X=void 0;try{if(typeof u[Q]!="function"){var De=Error((q||"React class")+": "+O+" type `"+Q+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof u[Q]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw De.name="Invariant Violation",De}X=u[Q](w,Q,q,O,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ye){X=ye}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",O,Q,typeof X),me(null)),X instanceof Error&&!(X.message in _e)&&(_e[X.message]=!0,me(re),A("Failed %s type: %s",O,X.message),me(null))}}}var pt=Array.isArray;function Ye(u){return pt(u)}function ut(u){{var w=typeof Symbol=="function"&&Symbol.toStringTag,O=w&&u[Symbol.toStringTag]||u.constructor.name||"Object";return O}}function T(u){try{return F(u),!1}catch{return!0}}function F(u){return""+u}function le(u){if(T(u))return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ut(u)),F(u)}var de=h.ReactCurrentOwner,ke={key:!0,ref:!0,__self:!0,__source:!0},Ke,Ue,it;it={};function At(u){if(Re.call(u,"ref")){var w=Object.getOwnPropertyDescriptor(u,"ref").get;if(w&&w.isReactWarning)return!1}return u.ref!==void 0}function Ct(u){if(Re.call(u,"key")){var w=Object.getOwnPropertyDescriptor(u,"key").get;if(w&&w.isReactWarning)return!1}return u.key!==void 0}function dt(u,w){if(typeof u.ref=="string"&&de.current&&w&&de.current.stateNode!==w){var O=Z(de.current.type);it[O]||(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(de.current.type),u.ref),it[O]=!0)}}function Dt(u,w){{var O=function(){Ke||(Ke=!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))};O.isReactWarning=!0,Object.defineProperty(u,"key",{get:O,configurable:!0})}}function jt(u,w){{var O=function(){Ue||(Ue=!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))};O.isReactWarning=!0,Object.defineProperty(u,"ref",{get:O,configurable:!0})}}var Ft=function(u,w,O,q,re,pe,Q){var X={$$typeof:t,type:u,key:w,ref:O,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 Pt(u,w,O,q,re){{var pe,Q={},X=null,De=null;O!==void 0&&(le(O),X=""+O),Ct(w)&&(le(w.key),X=""+w.key),At(w)&&(De=w.ref,dt(w,re));for(pe in w)Re.call(w,pe)&&!ke.hasOwnProperty(pe)&&(Q[pe]=w[pe]);if(u&&u.defaultProps){var ye=u.defaultProps;for(pe in ye)Q[pe]===void 0&&(Q[pe]=ye[pe])}if(X||De){var Te=typeof u=="function"?u.displayName||u.name||"Unknown":u;X&&Dt(Q,Te),De&&jt(Q,Te)}return Ft(u,X,De,re,q,de.current,Q)}}var It=h.ReactCurrentOwner,ro=h.ReactDebugCurrentFrame;function ft(u){if(u){var w=u._owner,O=te(u.type,u._source,w?w.type:null);ro.setExtraStackFrame(O)}else ro.setExtraStackFrame(null)}var ei;ei=!1;function ti(u){return typeof u=="object"&&u!==null&&u.$$typeof===t}function oo(){{if(It.current){var u=Z(It.current.type);if(u)return`
22
22
 
23
- Check the render method of \``+e+"`."}return""}}function or(e){return""}var _e={};function ir(e){{var r=ye();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
23
+ Check the render method of \``+u+"`."}return""}}function kl(u){return""}var ao={};function Rl(u){{var w=oo();if(!w){var O=typeof u=="string"?u:u.displayName||u.name;O&&(w=`
24
24
 
25
- Check the top-level render call using <`+t+">.")}return r}}function Te(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=ir(r);if(_e[t])return;_e[t]=!0;var n="";e&&e._owner&&e._owner!==K.current&&(n=" It was passed a child from "+R(e._owner.type)+"."),P(e),c('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),P(null)}}function Ce(e,r){{if(typeof e!="object")return;if(q(e))for(var t=0;t<e.length;t++){var n=e[t];X(n)&&Te(n,r)}else if(X(e))e._store&&(e._store.validated=!0);else if(e){var i=Fe(e);if(typeof i=="function"&&i!==e.entries)for(var u=i.call(e),o;!(o=u.next()).done;)X(o.value)&&Te(o.value,r)}}}function ur(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===l||r.$$typeof===m))t=r.propTypes;else return;if(t){var n=R(r);qe(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!H){H=!0;var i=R(r);c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",i||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function sr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){P(e),c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),P(null);break}}e.ref!==null&&(P(e),c("Invalid attribute `ref` supplied to `React.Fragment`."),P(null))}}function Oe(e,r,t,n,i,u){{var o=$e(e);if(!o){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" 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 d=or();d?a+=d:a+=ye();var s;e===null?s="null":q(e)?s="array":e!==void 0&&e.$$typeof===b?(s="<"+(R(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):s=typeof e,c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",s,a)}var f=ar(e,r,t,i,u);if(f==null)return f;if(o){var p=r.children;if(p!==void 0)if(n)if(q(p)){for(var x=0;x<p.length;x++)Ce(p[x],e);Object.freeze&&Object.freeze(p)}else c("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 Ce(p,e)}return e===O?sr(f):ur(f),f}}function fr(e,r,t){return Oe(e,r,t,!0)}function lr(e,r,t){return Oe(e,r,t,!1)}var cr=lr,dr=fr;k.Fragment=O,k.jsx=cr,k.jsxs=dr}()),k}var ee;function xe(){return ee||(ee=1,process.env.NODE_ENV==="production"?y.exports=Se():y.exports=Pe()),y.exports}var re=xe();const je=g.forwardRef((h,b)=>re.jsx("div",{ref:b,...h})),ke=()=>{const[h,b]=g.useState(null);return{mlijId:h,setMlijId:b}};return()=>{const{mlijId:h,setMlijId:b}=ke(),D=h?`MLIJ ${h}`:"MLIJ";return re.jsx(je,{className:"w-full h-full bg-red-500",onClick:()=>b(h??1),children:D})}});
25
+ Check the top-level render call using <`+O+">.")}return w}}function so(u,w){{if(!u._store||u._store.validated||u.key!=null)return;u._store.validated=!0;var O=Rl(w);if(ao[O])return;ao[O]=!0;var q="";u&&u._owner&&u._owner!==It.current&&(q=" It was passed a child from "+Z(u._owner.type)+"."),ft(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.',O,q),ft(null)}}function co(u,w){{if(typeof u!="object")return;if(Ye(u))for(var O=0;O<u.length;O++){var q=u[O];ti(q)&&so(q,w)}else if(ti(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;)ti(Q.value)&&so(Q.value,w)}}}function Ol(u){{var w=u.type;if(w==null||typeof w=="string")return;var O;if(typeof w=="function")O=w.propTypes;else if(typeof w=="object"&&(w.$$typeof===c||w.$$typeof===d))O=w.propTypes;else return;if(O){var q=Z(w);Ae(O,u.props,"prop",q,u)}else if(w.PropTypes!==void 0&&!ei){ei=!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 _l(u){{for(var w=Object.keys(u.props),O=0;O<w.length;O++){var q=w[O];if(q!=="children"&&q!=="key"){ft(u),A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",q),ft(null);break}}u.ref!==null&&(ft(u),A("Invalid attribute `ref` supplied to `React.Fragment`."),ft(null))}}function lo(u,w,O,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 De=kl();De?X+=De:X+=oo();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 Te=Pt(u,w,O,re,pe);if(Te==null)return Te;if(Q){var Ie=w.children;if(Ie!==void 0)if(q)if(Ye(Ie)){for(var mt=0;mt<Ie.length;mt++)co(Ie[mt],u);Object.freeze&&Object.freeze(Ie)}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 co(Ie,u)}return u===n?_l(Te):Ol(Te),Te}}function Al(u,w,O){return lo(u,w,O,!0)}function Cl(u,w,O){return lo(u,w,O,!1)}var Dl=Cl,jl=Al;vt.Fragment=n,vt.jsx=Dl,vt.jsxs=jl}()),vt}var oi;function mo(){return oi||(oi=1,process.env.NODE_ENV==="production"?zt.exports=uo():zt.exports=fo()),zt.exports}var gt=mo(),oe="colors",Ce="sizes",j="space",xo={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:Ce,minBlockSize:Ce,maxBlockSize:Ce,inlineSize:Ce,minInlineSize:Ce,maxInlineSize:Ce,width:Ce,minWidth:Ce,maxWidth:Ce,height:Ce,minHeight:Ce,maxHeight:Ce,flexBasis:Ce,gridTemplateColumns:Ce,gridTemplateRows:Ce,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"},vo=(e,t)=>typeof t=="function"?{"()":Function.prototype.toString.call(t)}:t,rt=()=>{const e=Object.create(null);return(t,i,...n)=>{const r=(o=>JSON.stringify(o,vo))(t);return r in e?e[r]:e[r]=i(t,...n)}},Je=Symbol.for("sxs.internal"),sn=(e,t)=>Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)),ai=e=>{for(const t in e)return!0;return!1},{hasOwnProperty:go}=Object.prototype,cn=e=>e.includes("-")?e:e.replace(/[A-Z]/g,t=>"-"+t.toLowerCase()),ho=/\s+(?![^()]*\))/,ot=e=>t=>e(...typeof t=="string"?String(t).split(ho):[t]),si={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:ot((e,t)=>({marginBlockStart:e,marginBlockEnd:t||e})),marginInline:ot((e,t)=>({marginInlineStart:e,marginInlineEnd:t||e})),maxSize:ot((e,t)=>({maxBlockSize:e,maxInlineSize:t||e})),minSize:ot((e,t)=>({minBlockSize:e,minInlineSize:t||e})),paddingBlock:ot((e,t)=>({paddingBlockStart:e,paddingBlockEnd:t||e})),paddingInline:ot((e,t)=>({paddingInlineStart:e,paddingInlineEnd:t||e}))},ln=/([\d.]+)([^]*)/,bo=(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,yo=(e,t)=>e in Eo&&typeof t=="string"?t.replace(/^((?:[^]*[^\w-])?)(fit-content|stretch)((?:[^\w-][^]*)?)$/,(i,n,r,o)=>n+(r==="stretch"?`-moz-available${o};${cn(e)}:${n}-webkit-fill-available`:`-moz-fit-content${o};${cn(e)}:${n}fit-content`)+o):String(t),Eo={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+"-":"",ci=(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")+")":"")),wo=/\s*,\s*(?![^()]*\))/,So=Object.prototype.toString,at=(e,t,i,n,r)=>{let o,a,s;const c=(p,l,d)=>{let f,m;const v=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===So&&(!n.utils[k]||!l.length);if(k in n.utils&&!b){const D=n.utils[k];if(D!==a){a=D,v(D(m)),a=null;continue}}else if(k in si){const D=si[k];if(D!==s){s=D,v(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,z,W,J,ae)=>{const fe=ln.test(L),Z=.0625*(fe?-1:1),[V,ce]=fe?[W,L]:[L,W];return"("+(z[0]==="="?"":z[0]===">"===fe?"max-":"min-")+V+":"+(z[0]!=="="&&z.length===1?ce.replace(ln,(we,Se,be)=>Number(Se)+Z*(z===">"?1:-1)+be):ce)+(J?") and ("+(J[0]===">"?"min-":"max-")+V+":"+(J.length===1?ae.replace(ln,(we,Se,be)=>Number(Se)+Z*(J===">"?-1:1)+be):ae):"")+")"})),b){const D=A?d.concat(f):[...d],L=A?[...l]:bo(l,f.split(wo));o!==void 0&&r(li(...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 To?String(m)+"px":String(m):ci(yo(k,m??""),n.prefix,n.themeMap[k]),o[0].push(`${A?`${f} `:`${cn(f)}:`}${m}`)}}var y,h};v(p),o!==void 0&&r(li(...o)),o=void 0};c(e,t,i)},li=(e,t,i)=>`${i.map(n=>`${n}{`).join("")}${t.length?`${t.join(",")}{`:""}${e.join(";")}${t.length?"}":""}${Array(i.length?i.length+1:0).join("}")}`,To={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},pi=e=>String.fromCharCode(e+(e>25?39:97)),Ge=e=>(t=>{let i,n="";for(i=Math.abs(t);i>52;i=i/52|0)n=pi(i%52)+n;return pi(i%52)+n})(((t,i)=>{let n=i.length;for(;n;)t=33*t^i.charCodeAt(--n);return t})(5381,JSON.stringify(e))>>>0),ht=["themed","global","styled","onevar","resonevar","allvar","inline"],ko=e=>{if(e.href&&!e.href.startsWith(location.origin))return!1;try{return!!e.cssRules}catch{return!1}},Ro=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(ko(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+/),v=ht[m[0]];v&&(t||(t={sheet:s,reset:n,rules:{},toString:i}),t.rules[v]={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=ht.length-1;s>=0;--s){const c=ht[s];if(!a[c]){const p=ht[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])}}Oo(a[c])}};return n(),t},Oo=e=>{const t=e.group;let i=t.cssRules.length;e.apply=n=>{try{t.insertRule(n,i),++i}catch{}}},bt=Symbol(),_o=rt(),ui=(e,t)=>_o(e,()=>(...i)=>{let n={type:null,composers:new Set};for(const r of i)if(r!=null)if(r[Je]){n.type==null&&(n.type=r[Je].type);for(const o of r[Je].composers)n.composers.add(o)}else r.constructor!==Object||r.$$typeof?n.type==null&&(n.type=r):n.composers.add(Ao(r,e));return n.type==null&&(n.type="span"),n.composers.size||n.composers.add(["PJLV",{},[],[],{},[]]),Co(e,n,t)}),Ao=({variants:e,compoundVariants:t,defaultVariants:i,...n},r)=>{const o=`${Ne(r.prefix)}c-${Ge(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,go.call(l,d)||(c[f]="undefined");const m=e[f];for(const v in m){const g={[f]:String(v)};String(v)==="undefined"&&p.push(f);const y=m[v],h=[g,y,!ai(y)];a.push(h)}}var l,d;if(typeof t=="object"&&t)for(const f of t){let{css:m,...v}=f;m=typeof m=="object"&&m||{};for(const y in v)v[y]=String(v[y]);const g=[v,m,!ai(m)];s.push(g)}return[o,n,a,s,c,p]},Co=(e,t,i)=>{const[n,r,o,a]=Do(t.composers),s=typeof t.type=="function"||t.type.$$typeof?(d=>{function f(){for(let m=0;m<f[bt].length;m++){const[v,g]=f[bt][m];d.rules[v].apply(g)}return f[bt]=[],null}return f[bt]=[],f.rules={},ht.forEach(m=>f.rules[m]={apply:v=>f[bt].push([m,v])}),f})(i):null,c=(s||i).rules,p=`.${n}${r.length>1?`:where(.${r.slice(1).join(".")})`:""}`,l=d=>{d=typeof d=="object"&&d||jo;const{css:f,...m}=d,v={};for(const h in o)if(delete m[h],h in d){let A=d[h];typeof A=="object"&&A?v[h]={"@initial":o[h],...A}:(A=String(A),v[h]=A!=="undefined"||a.has(h)?A:o[h])}else v[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),at(A,[`.${h}`],[],e,L=>{c.styled.apply(L)}));const b=di(C,v,e.media),D=di(k,v,e.media,!0);for(const L of b)if(L!==void 0)for(const[z,W,J]of L){const ae=`${h}-${Ge(W)}-${z}`;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),at(W,[`.${ae}`],[],e,V=>{Z.apply(V)}))}for(const L of D)if(L!==void 0)for(const[z,W]of L){const J=`${h}-${Ge(W)}-${z}`;g.add(J),i.rules.allvar.cache.has(J)||(i.rules.allvar.cache.add(J),at(W,[`.${J}`],[],e,ae=>{c.allvar.apply(ae)}))}}if(typeof f=="object"&&f){const h=`${n}-i${Ge(f)}-css`;g.add(h),i.rules.inline.cache.has(h)||(i.rules.inline.cache.add(h),at(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 sn(l,{className:n,selector:p,[Je]:t,toString:()=>(i.rules.styled.cache.has(n)||l(),n)})},Do=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)]},di=(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,v,g=0;for(const y in f){if(d===String(f[y])){if(y!=="@initial"){const h=y.slice(1);(v=v||[]).push(h in i?i[h]:y.replace(/^@media ?/,"")),l=!0}p+=g,m=!0}++g}if(v&&v.length&&(a={["@media "+v.join(", ")]:a}),!m)continue e}}}(r[p]=r[p]||[]).push([n?"cv":`${c}-${o[c]}`,a,l])}return r},jo={},Fo=rt(),Po=(e,t)=>Fo(e,()=>(...i)=>{const n=()=>{for(let r of i){r=typeof r=="object"&&r||{};let o=Ge(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"]}at(r,[],[],e,a=>{t.rules.global.apply(a)})}}return""};return sn(n,{toString:n})}),Io=rt(),zo=(e,t)=>Io(e,()=>i=>{const n=`${Ne(e.prefix)}k-${Ge(i)}`,r=()=>{if(!t.rules.global.cache.has(n)){t.rules.global.cache.add(n);const o=[];at(i,[],[],e,s=>o.push(s));const a=`@keyframes ${n}{${o.join("")}}`;t.rules.global.apply(a)}return n};return sn(r,{get name(){return r()},toString:r})}),Bo=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}},Lo=rt(),Mo=(e,t)=>Lo(e,()=>(i,n)=>{n=typeof i=="object"&&i||Object(n);const r=`.${i=(i=typeof i=="string"?i:"")||`${Ne(e.prefix)}t-${Ge(n)}`}`,o={},a=[];for(const c in n){o[c]={};for(const p in n[c]){const l=`--${Ne(e.prefix)}${c}-${p}`,d=ci(String(n[c][p]),e.prefix,c);o[c][p]=new Bo(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}}),$o=rt(),fi,No=rt(),qo=e=>{const t=(i=>{let n=!1;const r=$o(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||{...xo},utils:typeof o.utils=="object"&&o.utils||{}},d=Ro(c),f={css:ui(l,d),globalCss:Po(l,d),keyframes:zo(l,d),createTheme:Mo(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})=>No(i,()=>{const r=ui(i,n);return(...o)=>{const a=r(...o),s=a[Je].type,c=_.forwardRef((p,l)=>{const d=p&&p.as||s,{props:f,deferredInjector:m}=a(p);return delete f.as,f.ref=l,m?_.createElement(_.Fragment,null,_.createElement(d,f),_.createElement(m,null)):_.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[Je]=a[Je],c}}))(t),t},Uo=()=>fi||(fi=qo()),mi=(...e)=>Uo().styled(...e);const Wo=mi("div",{});var yt={},Bt={},Xe={},xi;function vi(){if(xi)return Xe;xi=1,Object.defineProperty(Xe,"__esModule",{value:!0}),Xe.fromHex=Xe.toHex=void 0;const e=n=>new Number(n).toString(16).toLowerCase(),t=n=>`0x${e(n).length===1?"0"+e(n):e(n)}`;Xe.toHex=t;const i=n=>new Number(n);return Xe.fromHex=i,Xe}var pn={},gi;function Vo(){return gi||(gi=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}(pn)),pn}var hi;function Ho(){if(hi)return Bt;hi=1,Object.defineProperty(Bt,"__esModule",{value:!0});const e=vi(),t=Vo();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"}),Bt.default=()=>i,Bt}var bi;function Yo(){return bi||(bi=1,function(e){var t=yt&&yt.__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(Ho()),n=vi(),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,v=[];for(;;){const g=n.toHex(d[l]);if(m.bytes["?"]&&!m.bytes[g]?m=m.bytes["?"]:m=m.bytes[g],!m)return v;m&&m.matches&&(v=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}(yt)),yt}var Ko=Yo(),Lt={exports:{}},Mt={exports:{}},ne={};/** @license React v16.13.1
26
+ * react-is.production.min.js
27
+ *
28
+ * Copyright (c) Facebook, Inc. and its affiliates.
29
+ *
30
+ * This source code is licensed under the MIT license found in the
31
+ * LICENSE file in the root directory of this source tree.
32
+ */var yi;function Jo(){if(yi)return ne;yi=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,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,v=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 d:return b;default:switch(b=b&&b.$$typeof,b){case s:case l:case v: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=v,ne.Memo=m,ne.Portal=i,ne.Profiler=o,ne.StrictMode=r,ne.Suspense=d,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)===v},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)===d},ne.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===n||b===p||b===o||b===r||b===d||b===f||typeof b=="object"&&b!==null&&(b.$$typeof===v||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
+ * react-is.development.js
34
+ *
35
+ * Copyright (c) Facebook, Inc. and its affiliates.
36
+ *
37
+ * This source code is licensed under the MIT license found in the
38
+ * LICENSE file in the root directory of this source tree.
39
+ */var Ei;function Go(){return Ei||(Ei=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,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,v=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===d||E===f||typeof E=="object"&&E!==null&&(E.$$typeof===v||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 ue=E.type;switch(ue){case c:case p:case n:case o:case r:case d:return ue;default:var te=ue&&ue.$$typeof;switch(te){case s:case l:case v:case m:case a:return te;default:return K}}case i:return K}}}var b=c,D=p,L=s,z=a,W=t,J=l,ae=n,fe=v,Z=m,V=i,ce=o,we=r,Se=d,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 R(E){return k(E)===s}function B(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)===v}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)===d}ie.AsyncMode=b,ie.ConcurrentMode=D,ie.ContextConsumer=L,ie.ContextProvider=z,ie.Element=W,ie.ForwardRef=J,ie.Fragment=ae,ie.Lazy=fe,ie.Memo=Z,ie.Portal=V,ie.Profiler=ce,ie.StrictMode=we,ie.Suspense=Se,ie.isAsyncMode=he,ie.isConcurrentMode=S,ie.isContextConsumer=R,ie.isContextProvider=B,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 wi;function Si(){return wi||(wi=1,process.env.NODE_ENV==="production"?Mt.exports=Jo():Mt.exports=Go()),Mt.exports}/*
40
+ object-assign
41
+ (c) Sindre Sorhus
42
+ @license MIT
43
+ */var un,Ti;function Xo(){if(Ti)return un;Ti=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 un=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 d in s)t.call(s,d)&&(c[d]=s[d]);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},un}var dn,ki;function fn(){if(ki)return dn;ki=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return dn=e,dn}var mn,Ri;function Oi(){return Ri||(Ri=1,mn=Function.call.bind(Object.prototype.hasOwnProperty)),mn}var xn,_i;function Zo(){if(_i)return xn;_i=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=fn(),i={},n=Oi();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 d;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}d=o[l](a,l,c,s,null,t)}catch(v){d=v}if(d&&!(d 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 d+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),d instanceof Error&&!(d.message in i)){i[d.message]=!0;var m=p?p():"";e("Failed "+s+" type: "+d.message+(m??""))}}}}return r.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(i={})},xn=r,xn}var vn,Ai;function Qo(){if(Ai)return vn;Ai=1;var e=Si(),t=Xo(),i=fn(),n=Oi(),r=Zo(),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 vn=function(s,c){var p=typeof Symbol=="function"&&Symbol.iterator,l="@@iterator";function d(S){var R=S&&(p&&S[p]||S[l]);if(typeof R=="function")return R}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:z,oneOf:L,oneOfType:W,shape:fe,exact:Z};function v(S,R){return S===R?S!==0||1/S===1/R:S!==S&&R!==R}function g(S,R){this.message=S,this.data=R&&typeof R=="object"?R:{},this.stack=""}g.prototype=Error.prototype;function y(S){if(process.env.NODE_ENV!=="production")var R={},B=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;!R[K]&&B<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."),R[K]=!0,B++)}}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 R(B,$,P,H,I,N){var Y=B[$],G=we(Y);if(G!==S){var M=Se(Y);return new g("Invalid "+H+" `"+I+"` of type "+("`"+M+"` supplied to `"+P+"`, expected ")+("`"+S+"`."),{expectedType:S})}return null}return y(R)}function A(){return y(a)}function C(S){function R(B,$,P,H,I){if(typeof S!="function")return new g("Property `"+I+"` of component `"+P+"` has invalid PropType notation inside arrayOf.");var N=B[$];if(!Array.isArray(N)){var Y=we(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(R)}function k(){function S(R,B,$,P,H){var I=R[B];if(!s(I)){var N=we(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(R,B,$,P,H){var I=R[B];if(!e.isValidElementType(I)){var N=we(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 R(B,$,P,H,I){if(!(B[$]instanceof S)){var N=S.name||f,Y=he(B[$]);return new g("Invalid "+H+" `"+I+"` of type "+("`"+Y+"` supplied to `"+P+"`, expected ")+("instance of `"+N+"`."))}return null}return y(R)}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 R(B,$,P,H,I){for(var N=B[$],Y=0;Y<S.length;Y++)if(v(N,S[Y]))return null;var G=JSON.stringify(S,function(xe,E){var K=Se(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(R)}function z(S){function R(B,$,P,H,I){if(typeof S!="function")return new g("Property `"+I+"` of component `"+P+"` has invalid PropType notation inside objectOf.");var N=B[$],Y=we(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(R)}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 R=0;R<S.length;R++){var B=S[R];if(typeof B!="function")return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+be(B)+" at index "+R+"."),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(R,B,$,P,H){return V(R[B])?null:new g("Invalid "+P+" `"+H+"` supplied to "+("`"+$+"`, expected a ReactNode."))}return y(S)}function ae(S,R,B,$,P){return new g((S||"React class")+": "+R+" type `"+B+"."+$+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+P+"`.")}function fe(S){function R(B,$,P,H,I){var N=B[$],Y=we(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,Se(M));var xe=M(N,G,P,H,I+"."+G,i);if(xe)return xe}return null}return y(R)}function Z(S){function R(B,$,P,H,I){var N=B[$],Y=we(N);if(Y!=="object")return new g("Invalid "+H+" `"+I+"` of type `"+Y+"` "+("supplied to `"+P+"`, expected `object`."));var G=t({},B[$],S);for(var M in G){var xe=S[M];if(n(S,M)&&typeof xe!="function")return ae(P,H,I,M,Se(xe));if(!xe)return new g("Invalid "+H+" `"+I+"` key `"+M+"` supplied to `"+P+"`.\nBad object: "+JSON.stringify(B[$],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(R)}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 R=d(S);if(R){var B=R.call(S),$;if(R!==S.entries){for(;!($=B.next()).done;)if(!V($.value))return!1}else for(;!($=B.next()).done;){var P=$.value;if(P&&!V(P[1]))return!1}}else return!1;return!0;default:return!1}}function ce(S,R){return S==="symbol"?!0:R?R["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&R instanceof Symbol:!1}function we(S){var R=typeof S;return Array.isArray(S)?"array":S instanceof RegExp?"object":ce(R,S)?"symbol":R}function Se(S){if(typeof S>"u"||S===null)return""+S;var R=we(S);if(R==="object"){if(S instanceof Date)return"date";if(S instanceof RegExp)return"regexp"}return R}function be(S){var R=Se(S);switch(R){case"array":case"object":return"an "+R;case"boolean":case"date":case"regexp":return"a "+R;default:return R}}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},vn}var gn,Ci;function ea(){if(Ci)return gn;Ci=1;var e=fn();function t(){}function i(){}return i.resetWarningCache=t,gn=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},gn}var Di;function ta(){if(Di)return Lt.exports;if(Di=1,process.env.NODE_ENV!=="production"){var e=Si(),t=!0;Lt.exports=Qo()(e.isElement,t)}else Lt.exports=ea()();return Lt.exports}var na=ta();const se=ni(na);function Ze(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 ia=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 st(e,t,i){const n=ra(e),{webkitRelativePath:r}=e,o=typeof t=="string"?t:typeof r=="string"&&r.length>0?r:`./${e.name}`;return typeof n.path!="string"&&ji(n,"path",o),ji(n,"relativePath",o),n}function ra(e){const{name:t}=e;if(t&&t.lastIndexOf(".")!==-1&&!e.type){const n=t.split(".").pop().toLowerCase(),r=ia.get(n);r&&Object.defineProperty(e,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return e}function ji(e,t,i){Object.defineProperty(e,t,{value:i,writable:!1,configurable:!1,enumerable:!0})}const oa=[".DS_Store","Thumbs.db"];function aa(e){return Ze(this,void 0,void 0,function*(){return $t(e)&&sa(e.dataTransfer)?ua(e.dataTransfer,e.type):ca(e)?la(e):Array.isArray(e)&&e.every(t=>"getFile"in t&&typeof t.getFile=="function")?pa(e):[]})}function sa(e){return $t(e)}function ca(e){return $t(e)&&$t(e.target)}function $t(e){return typeof e=="object"&&e!==null}function la(e){return hn(e.target.files).map(t=>st(t))}function pa(e){return Ze(this,void 0,void 0,function*(){return(yield Promise.all(e.map(i=>i.getFile()))).map(i=>st(i))})}function ua(e,t){return Ze(this,void 0,void 0,function*(){if(e.items){const i=hn(e.items).filter(r=>r.kind==="file");if(t!=="drop")return i;const n=yield Promise.all(i.map(da));return Fi(Pi(n))}return Fi(hn(e.files).map(i=>st(i)))})}function Fi(e){return e.filter(t=>oa.indexOf(t.name)===-1)}function hn(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 da(e){if(typeof e.webkitGetAsEntry!="function")return Ii(e);const t=e.webkitGetAsEntry();return t&&t.isDirectory?zi(t):Ii(e,t)}function Pi(e){return e.reduce((t,i)=>[...t,...Array.isArray(i)?Pi(i):[i]],[])}function Ii(e,t){return Ze(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,st(a)}}const n=e.getAsFile();if(!n)throw new Error(`${e} is not a File`);return st(n,(i=t==null?void 0:t.fullPath)!==null&&i!==void 0?i:void 0)})}function fa(e){return Ze(this,void 0,void 0,function*(){return e.isDirectory?zi(e):ma(e)})}function zi(e){const t=e.createReader();return new Promise((i,n)=>{const r=[];function o(){t.readEntries(a=>Ze(this,void 0,void 0,function*(){if(a.length){const s=Promise.all(a.map(fa));r.push(s),o()}else try{const s=yield Promise.all(r);i(s)}catch(s){n(s)}}),a=>{n(a)})}o()})}function ma(e){return Ze(this,void 0,void 0,function*(){return new Promise((t,i)=>{e.file(n=>{const r=st(n,e.fullPath);t(r)},n=>{i(n)})})})}var Nt={},Bi;function xa(){return Bi||(Bi=1,Nt.__esModule=!0,Nt.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}),Nt}var va=xa();const bn=ni(va);function Li(e){return ba(e)||ha(e)||qi(e)||ga()}function ga(){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 ha(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ba(e){if(Array.isArray(e))return yn(e)}function Mi(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 $i(e){for(var t=1;t<arguments.length;t++){var i=arguments[t]!=null?arguments[t]:{};t%2?Mi(Object(i),!0).forEach(function(n){Ni(e,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):Mi(Object(i)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))})}return e}function Ni(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function Et(e,t){return wa(e)||Ea(e,t)||qi(e,t)||ya()}function ya(){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 qi(e,t){if(e){if(typeof e=="string")return yn(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 yn(e,t)}}function yn(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 Ea(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 wa(e){if(Array.isArray(e))return e}var Sa=typeof bn=="function"?bn:bn.default,Ta="file-invalid-type",ka="file-too-large",Ra="file-too-small",Oa="too-many-files",_a=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:Ta,message:"File type must be ".concat(n)}},Ui=function(t){return{code:ka,message:"File is larger than ".concat(t," ").concat(t===1?"byte":"bytes")}},Wi=function(t){return{code:Ra,message:"File is smaller than ".concat(t," ").concat(t===1?"byte":"bytes")}},Aa={code:Oa,message:"Too many files"};function Vi(e,t){var i=e.type==="application/x-moz-file"||Sa(e,t);return[i,i?null:_a(t)]}function Hi(e,t,i){if(Qe(e.size))if(Qe(t)&&Qe(i)){if(e.size>i)return[!1,Ui(i)];if(e.size<t)return[!1,Wi(t)]}else{if(Qe(t)&&e.size<t)return[!1,Wi(t)];if(Qe(i)&&e.size>i)return[!1,Ui(i)]}return[!0,null]}function Qe(e){return e!=null}function Ca(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=Vi(c,i),l=Et(p,1),d=l[0],f=Hi(c,n,r),m=Et(f,1),v=m[0],g=s?s(c):null;return d&&v&&!g})}function qt(e){return typeof e.isPropagationStopped=="function"?e.isPropagationStopped():typeof e.cancelBubble<"u"?e.cancelBubble:!1}function Ut(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 Yi(e){e.preventDefault()}function Da(e){return e.indexOf("MSIE")!==-1||e.indexOf("Trident/")!==-1}function ja(e){return e.indexOf("Edge/")!==-1}function Fa(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return Da(e)||ja(e)}function Le(){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!qt(n)&&s&&s.apply(void 0,[n].concat(o)),qt(n)})}}function Pa(){return"showOpenFilePicker"in window}function Ia(e){if(Qe(e)){var t=Object.entries(e).filter(function(i){var n=Et(i,2),r=n[0],o=n[1],a=!0;return Ki(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(Ji))&&(console.warn('Skipped "'.concat(r,'" because an invalid file extension was provided.')),a=!1),a}).reduce(function(i,n){var r=Et(n,2),o=r[0],a=r[1];return $i($i({},i),{},Ni({},o,a))},{});return[{description:"Files",accept:t}]}return e}function za(e){if(Qe(e))return Object.entries(e).reduce(function(t,i){var n=Et(i,2),r=n[0],o=n[1];return[].concat(Li(t),[r],Li(o))},[]).filter(function(t){return Ki(t)||Ji(t)}).join(",")}function Ba(e){return e instanceof DOMException&&(e.name==="AbortError"||e.code===e.ABORT_ERR)}function La(e){return e instanceof DOMException&&(e.name==="SecurityError"||e.code===e.SECURITY_ERR)}function Ki(e){return e==="audio/*"||e==="video/*"||e==="image/*"||e==="text/*"||e==="application/*"||/\w+\/[-+.\w]+/g.test(e)}function Ji(e){return/^.*\.[\w]+$/.test(e)}var Ma=["children"],$a=["open"],Na=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],qa=["refKey","onChange","onClick"];function Ua(e){return Ha(e)||Va(e)||Gi(e)||Wa()}function Wa(){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 Va(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ha(e){if(Array.isArray(e))return wn(e)}function En(e,t){return Ja(e)||Ka(e,t)||Gi(e,t)||Ya()}function Ya(){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 Gi(e,t){if(e){if(typeof e=="string")return wn(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 wn(e,t)}}function wn(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 Ka(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 Ja(e){if(Array.isArray(e))return e}function Xi(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?Xi(Object(i),!0).forEach(function(n){Sn(e,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):Xi(Object(i)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))})}return e}function Sn(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function Wt(e,t){if(e==null)return{};var i=Ga(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 Ga(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 Tn=_.forwardRef(function(e,t){var i=e.children,n=Wt(e,Ma),r=Qi(n),o=r.open,a=Wt(r,$a);return _.useImperativeHandle(t,function(){return{open:o}},[o]),_.createElement(_.Fragment,null,i(ge(ge({},a),{},{open:o})))});Tn.displayName="Dropzone";var Zi={disabled:!1,getFilesFromEvent:aa,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};Tn.defaultProps=Zi,Tn.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 kn={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function Qi(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=ge(ge({},Zi),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,v=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,z=t.onError,W=t.validator,J=_.useMemo(function(){return za(i)},[i]),ae=_.useMemo(function(){return Ia(i)},[i]),fe=_.useMemo(function(){return typeof y=="function"?y:er},[y]),Z=_.useMemo(function(){return typeof g=="function"?g:er},[g]),V=_.useRef(null),ce=_.useRef(null),we=_.useReducer(Xa,kn),Se=En(we,2),be=Se[0],he=Se[1],S=be.isFocused,R=be.isFileDialogActive,B=_.useRef(typeof window<"u"&&window.isSecureContext&&h&&Pa()),$=function(){!B.current&&R&&setTimeout(function(){if(ce.current){var F=ce.current.files;F.length||(he({type:"closeDialog"}),Z())}},300)};_.useEffect(function(){return window.addEventListener("focus",$,!1),function(){window.removeEventListener("focus",$,!1)}},[ce,R,Z,B]);var P=_.useRef([]),H=function(F){V.current&&V.current.contains(F.target)||(F.preventDefault(),P.current=[])};_.useEffect(function(){return C&&(document.addEventListener("dragover",Yi,!1),document.addEventListener("drop",H,!1)),function(){C&&(document.removeEventListener("dragover",Yi),document.removeEventListener("drop",H))}},[V,C]),_.useEffect(function(){return!n&&A&&V.current&&V.current.focus(),function(){}},[V,A,n]);var I=_.useCallback(function(T){z?z(T):console.error(T)},[z]),N=_.useCallback(function(T){T.preventDefault(),T.persist(),Ae(T),P.current=[].concat(Ua(P.current),[T.target]),Ut(T)&&Promise.resolve(r(T)).then(function(F){if(!(qt(T)&&!L)){var le=F.length,de=le>0&&Ca({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=_.useCallback(function(T){T.preventDefault(),T.persist(),Ae(T);var F=Ut(T);if(F&&T.dataTransfer)try{T.dataTransfer.dropEffect="copy"}catch{}return F&&d&&d(T),!1},[d,L]),G=_.useCallback(function(T){T.preventDefault(),T.persist(),Ae(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}),Ut(T)&&l&&l(T))},[V,l,L]),M=_.useCallback(function(T,F){var le=[],de=[];T.forEach(function(ke){var Ke=Vi(ke,J),Ue=En(Ke,2),it=Ue[0],At=Ue[1],Ct=Hi(ke,a,o),dt=En(Ct,2),Dt=dt[0],jt=dt[1],Ft=W?W(ke):null;if(it&&Dt&&!Ft)le.push(ke);else{var Pt=[At,jt];Ft&&(Pt=Pt.concat(Ft)),de.push({file:ke,errors:Pt.filter(function(It){return It})})}}),(!s&&le.length>1||s&&c>=1&&le.length>c)&&(le.forEach(function(ke){de.push({file:ke,errors:[Aa]})}),le.splice(0)),he({acceptedFiles:le,fileRejections:de,isDragReject:de.length>0,type:"setFiles"}),f&&f(le,de,F),de.length>0&&v&&v(de,F),le.length>0&&m&&m(le,F)},[he,s,J,a,o,c,f,m,v,W]),xe=_.useCallback(function(T){T.preventDefault(),T.persist(),Ae(T),P.current=[],Ut(T)&&Promise.resolve(r(T)).then(function(F){qt(T)&&!L||M(F,T)}).catch(function(F){return I(F)}),he({type:"reset"})},[r,M,I,L]),E=_.useCallback(function(){if(B.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){Ba(F)?(Z(F),he({type:"closeDialog"})):La(F)?(B.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=_.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=_.useCallback(function(){he({type:"focus"})},[]),te=_.useCallback(function(){he({type:"blur"})},[]),Re=_.useCallback(function(){k||(Fa()?setTimeout(E,0):E())},[k,E]),_e=function(F){return n?null:F},ve=function(F){return b?null:_e(F)},me=function(F){return D?null:_e(F)},Ae=function(F){L&&F.stopPropagation()},pt=_.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,it=T.onClick,At=T.onDragEnter,Ct=T.onDragOver,dt=T.onDragLeave,Dt=T.onDrop,jt=Wt(T,Na);return ge(ge(Sn({onKeyDown:ve(Le(ke,K)),onFocus:ve(Le(Ke,ue)),onBlur:ve(Le(Ue,te)),onClick:_e(Le(it,Re)),onDragEnter:me(Le(At,N)),onDragOver:me(Le(Ct,Y)),onDragLeave:me(Le(dt,G)),onDrop:me(Le(Dt,xe)),role:typeof de=="string"&&de!==""?de:"presentation"},le,V),!n&&!b?{tabIndex:0}:{}),jt)}},[V,K,ue,te,Re,N,Y,G,xe,b,D,n]),Ye=_.useCallback(function(T){T.stopPropagation()},[]),ut=_.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=Wt(T,qa),Ue=Sn({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:_e(Le(de,xe)),onClick:_e(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:pt,getInputProps:ut,rootRef:V,inputRef:ce,open:_e(E)})}function Xa(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({},kn),{},{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({},kn);default:return e}}function er(){}const Za={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"]},Qa=10*1e3,tr="[Audio.getDurationSeconds]",es=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(tr,"Timeout",e.name,e.size,e.type),i(0)},Qa);o.addEventListener("loadedmetadata",()=>{const c=o.duration;clearTimeout(s),a(),i(c)},{once:!0}),o.addEventListener("error",c=>{clearTimeout(s),a(),t?(console.error(tr,"Error",e.name,e.size,e.type,c),n(e)):i(0)},{once:!0}),o.src=r}),ts=e=>{const t=new Map;return e.forEach(i=>{t.set(`${i.name}-${i.size}`,i)}),Array.from(t.values())},ns=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=Ko.filetypemime(r);t(o)},i.readAsArrayBuffer(e)}),is=async e=>{try{const t=await es(e),i=e;return i.duration=t,i}catch{throw new Error(`Failed to get audio duration for ${e.name}`)}},rs=e=>{for(const[t,i]of Object.entries(Za)){const n=t.toLowerCase().split("_")[0];if(i.includes(e))return n}},os=async e=>{var s;const t=await ns(e),i=((s=e==null?void 0:e.name)==null?void 0:s.split(".").pop())||"",n=t[0]||e.type,r=rs(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 as extends Error{constructor(){super("Max file size exceeded")}}class ss extends Error{constructor(){super("Min file size exceeded")}}class cs extends Error{constructor(){super("File duration too long")}}class ls extends Error{constructor(){super("Invalid file type")}}const ps=e=>({handleDurationError:t=>{var i;console.log("handleDurationError",t),(i=e.onError)==null||i.call(e,new cs)},handleMaxSizeError:t=>{var i;console.log("handleMaxSizeError",t),(i=e.onError)==null||i.call(e,new as)},handleMinSizeError:t=>{var i;console.log("handleMinSizeError",t),(i=e.onError)==null||i.call(e,new ss)},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 ls)}}),us=e=>{const{handleDurationError:t,handleMaxSizeError:i,handleMinSizeError:n,handleUnknownError:r,handleInvalidTypeError:o}=ps(e);return{dropzone:Qi({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=>os(p)));try{const l=(await Promise.all(c.map(is))).filter(v=>v.duration<=(e.maxDurationS??1/0)?!0:(t(v),!1)),d=e.files??[],f=ts([...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}},nr=_.createContext({}),ds=()=>_.useContext(nr),fs=mi(Wo,{position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",width:"100%",gap:"8px",height:"100%"}),ir=({children:e,...t})=>{const i=us(t),{files:n,onFileAccepted:r,onDelete:o,maxFileCount:a,maxSizeBytes:s,minSizeBytes:c,maxDurationS:p,onError:l,...d}=t;return gt.jsx(nr.Provider,{value:i,children:gt.jsxs(fs,{...d,...i.dropzone.getRootProps(),children:[gt.jsx("input",{...i.dropzone.getInputProps()}),e]})})};function rr(e,t){return function(){return e.apply(t,arguments)}}const{toString:ms}=Object.prototype,{getPrototypeOf:Rn}=Object,Vt=(e=>t=>{const i=ms.call(t);return e[i]||(e[i]=i.slice(8,-1).toLowerCase())})(Object.create(null)),Be=e=>(e=e.toLowerCase(),t=>Vt(t)===e),Ht=e=>t=>typeof t===e,{isArray:ct}=Array,wt=Ht("undefined");function xs(e){return e!==null&&!wt(e)&&e.constructor!==null&&!wt(e.constructor)&&Pe(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const or=Be("ArrayBuffer");function vs(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&or(e.buffer),t}const gs=Ht("string"),Pe=Ht("function"),ar=Ht("number"),Yt=e=>e!==null&&typeof e=="object",hs=e=>e===!0||e===!1,Kt=e=>{if(Vt(e)!=="object")return!1;const t=Rn(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},bs=Be("Date"),ys=Be("File"),Es=Be("Blob"),ws=Be("FileList"),Ss=e=>Yt(e)&&Pe(e.pipe),Ts=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Pe(e.append)&&((t=Vt(e))==="formdata"||t==="object"&&Pe(e.toString)&&e.toString()==="[object FormData]"))},ks=Be("URLSearchParams"),[Rs,Os,_s,As]=["ReadableStream","Request","Response","Headers"].map(Be),Cs=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function St(e,t,{allOwnKeys:i=!1}={}){if(e===null||typeof e>"u")return;let n,r;if(typeof e!="object"&&(e=[e]),ct(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 sr(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 et=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,cr=e=>!wt(e)&&e!==et;function On(){const{caseless:e}=cr(this)&&this||{},t={},i=(n,r)=>{const o=e&&sr(t,r)||r;Kt(t[o])&&Kt(n)?t[o]=On(t[o],n):Kt(n)?t[o]=On({},n):ct(n)?t[o]=n.slice():t[o]=n};for(let n=0,r=arguments.length;n<r;n++)arguments[n]&&St(arguments[n],i);return t}const Ds=(e,t,i,{allOwnKeys:n}={})=>(St(t,(r,o)=>{i&&Pe(r)?e[o]=rr(r,i):e[o]=r},{allOwnKeys:n}),e),js=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Fs=(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)},Ps=(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&&Rn(e)}while(e&&(!i||i(e,t))&&e!==Object.prototype);return t},Is=(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},zs=e=>{if(!e)return null;if(ct(e))return e;let t=e.length;if(!ar(t))return null;const i=new Array(t);for(;t-- >0;)i[t]=e[t];return i},Bs=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Rn(Uint8Array)),Ls=(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])}},Ms=(e,t)=>{let i;const n=[];for(;(i=e.exec(t))!==null;)n.push(i);return n},$s=Be("HTMLFormElement"),Ns=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(i,n,r){return n.toUpperCase()+r}),lr=(({hasOwnProperty:e})=>(t,i)=>e.call(t,i))(Object.prototype),qs=Be("RegExp"),pr=(e,t)=>{const i=Object.getOwnPropertyDescriptors(e),n={};St(i,(r,o)=>{let a;(a=t(r,o,e))!==!1&&(n[o]=a||r)}),Object.defineProperties(e,n)},Us=e=>{pr(e,(t,i)=>{if(Pe(e)&&["arguments","caller","callee"].indexOf(i)!==-1)return!1;const n=e[i];if(Pe(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+"'")})}})},Ws=(e,t)=>{const i={},n=r=>{r.forEach(o=>{i[o]=!0})};return ct(e)?n(e):n(String(e).split(t)),i},Vs=()=>{},Hs=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,_n="abcdefghijklmnopqrstuvwxyz",ur="0123456789",dr={DIGIT:ur,ALPHA:_n,ALPHA_DIGIT:_n+_n.toUpperCase()+ur},Ys=(e=16,t=dr.ALPHA_DIGIT)=>{let i="";const{length:n}=t;for(;e--;)i+=t[Math.random()*n|0];return i};function Ks(e){return!!(e&&Pe(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Js=e=>{const t=new Array(10),i=(n,r)=>{if(Yt(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[r]=n;const o=ct(n)?[]:{};return St(n,(a,s)=>{const c=i(a,r+1);!wt(c)&&(o[s]=c)}),t[r]=void 0,o}}return n};return i(e,0)},Gs=Be("AsyncFunction"),Xs=e=>e&&(Yt(e)||Pe(e))&&Pe(e.then)&&Pe(e.catch),fr=((e,t)=>e?setImmediate:t?((i,n)=>(et.addEventListener("message",({source:r,data:o})=>{r===et&&o===i&&n.length&&n.shift()()},!1),r=>{n.push(r),et.postMessage(i,"*")}))(`axios@${Math.random()}`,[]):i=>setTimeout(i))(typeof setImmediate=="function",Pe(et.postMessage)),Zs=typeof queueMicrotask<"u"?queueMicrotask.bind(et):typeof process<"u"&&process.nextTick||fr,x={isArray:ct,isArrayBuffer:or,isBuffer:xs,isFormData:Ts,isArrayBufferView:vs,isString:gs,isNumber:ar,isBoolean:hs,isObject:Yt,isPlainObject:Kt,isReadableStream:Rs,isRequest:Os,isResponse:_s,isHeaders:As,isUndefined:wt,isDate:bs,isFile:ys,isBlob:Es,isRegExp:qs,isFunction:Pe,isStream:Ss,isURLSearchParams:ks,isTypedArray:Bs,isFileList:ws,forEach:St,merge:On,extend:Ds,trim:Cs,stripBOM:js,inherits:Fs,toFlatObject:Ps,kindOf:Vt,kindOfTest:Be,endsWith:Is,toArray:zs,forEachEntry:Ls,matchAll:Ms,isHTMLForm:$s,hasOwnProperty:lr,hasOwnProp:lr,reduceDescriptors:pr,freezeMethods:Us,toObjectSet:Ws,toCamelCase:Ns,noop:Vs,toFiniteNumber:Hs,findKey:sr,global:et,isContextDefined:cr,ALPHABET:dr,generateString:Ys,isSpecCompliantForm:Ks,toJSONObject:Js,isAsyncFn:Gs,isThenable:Xs,setImmediate:fr,asap:Zs};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)}x.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:x.toJSONObject(this.config),code:this.code,status:this.status}}});const mr=U.prototype,xr={};["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=>{xr[e]={value:e}}),Object.defineProperties(U,xr),Object.defineProperty(mr,"isAxiosError",{value:!0}),U.from=(e,t,i,n,r,o)=>{const a=Object.create(mr);return x.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 Qs=null;function An(e){return x.isPlainObject(e)||x.isArray(e)}function vr(e){return x.endsWith(e,"[]")?e.slice(0,-2):e}function gr(e,t,i){return e?e.concat(t).map(function(r,o){return r=vr(r),!i&&o?"["+r+"]":r}).join(i?".":""):t}function ec(e){return x.isArray(e)&&!e.some(An)}const tc=x.toFlatObject(x,{},null,function(t){return/^is[A-Z]/.test(t)});function Jt(e,t,i){if(!x.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,i=x.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,y){return!x.isUndefined(y[g])});const n=i.metaTokens,r=i.visitor||l,o=i.dots,a=i.indexes,c=(i.Blob||typeof Blob<"u"&&Blob)&&x.isSpecCompliantForm(t);if(!x.isFunction(r))throw new TypeError("visitor must be a function");function p(v){if(v===null)return"";if(x.isDate(v))return v.toISOString();if(!c&&x.isBlob(v))throw new U("Blob is not supported. Use a Buffer instead.");return x.isArrayBuffer(v)||x.isTypedArray(v)?c&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function l(v,g,y){let h=v;if(v&&!y&&typeof v=="object"){if(x.endsWith(g,"{}"))g=n?g:g.slice(0,-2),v=JSON.stringify(v);else if(x.isArray(v)&&ec(v)||(x.isFileList(v)||x.endsWith(g,"[]"))&&(h=x.toArray(v)))return g=vr(g),h.forEach(function(C,k){!(x.isUndefined(C)||C===null)&&t.append(a===!0?gr([g],k,o):a===null?g:g+"[]",p(C))}),!1}return An(v)?!0:(t.append(gr(y,g,o),p(v)),!1)}const d=[],f=Object.assign(tc,{defaultVisitor:l,convertValue:p,isVisitable:An});function m(v,g){if(!x.isUndefined(v)){if(d.indexOf(v)!==-1)throw Error("Circular reference detected in "+g.join("."));d.push(v),x.forEach(v,function(h,A){(!(x.isUndefined(h)||h===null)&&r.call(t,h,x.isString(A)?A.trim():A,g,f))===!0&&m(h,g?g.concat(A):[A])}),d.pop()}}if(!x.isObject(e))throw new TypeError("data must be an object");return m(e),t}function hr(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Cn(e,t){this._pairs=[],e&&Jt(e,this,t)}const br=Cn.prototype;br.append=function(t,i){this._pairs.push([t,i])},br.toString=function(t){const i=t?function(n){return t.call(this,n,hr)}:hr;return this._pairs.map(function(r){return i(r[0])+"="+i(r[1])},"").join("&")};function nc(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function yr(e,t,i){if(!t)return e;const n=i&&i.encode||nc;x.isFunction(i)&&(i={serialize:i});const r=i&&i.serialize;let o;if(r?o=r(t,i):o=x.isURLSearchParams(t)?t.toString():new Cn(t,i).toString(n),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Er{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){x.forEach(this.handlers,function(n){n!==null&&t(n)})}}const wr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ic={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Cn,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Dn=typeof window<"u"&&typeof document<"u",jn=typeof navigator=="object"&&navigator||void 0,rc=Dn&&(!jn||["ReactNative","NativeScript","NS"].indexOf(jn.product)<0),oc=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",ac=Dn&&window.location.href||"http://localhost",Oe={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Dn,hasStandardBrowserEnv:rc,hasStandardBrowserWebWorkerEnv:oc,navigator:jn,origin:ac},Symbol.toStringTag,{value:"Module"})),...ic};function sc(e,t){return Jt(e,new Oe.classes.URLSearchParams,Object.assign({visitor:function(i,n,r,o){return Oe.isNode&&x.isBuffer(i)?(this.append(n,i.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function cc(e){return x.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function lc(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 Sr(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&&x.isArray(r)?r.length:a,c?(x.hasOwnProp(r,a)?r[a]=[r[a],n]:r[a]=n,!s):((!r[a]||!x.isObject(r[a]))&&(r[a]=[]),t(i,n,r[a],o)&&x.isArray(r[a])&&(r[a]=lc(r[a])),!s)}if(x.isFormData(e)&&x.isFunction(e.entries)){const i={};return x.forEachEntry(e,(n,r)=>{t(cc(n),r,i,0)}),i}return null}function pc(e,t,i){if(x.isString(e))try{return(t||JSON.parse)(e),x.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(0,JSON.stringify)(e)}const Tt={transitional:wr,adapter:["xhr","http","fetch"],transformRequest:[function(t,i){const n=i.getContentType()||"",r=n.indexOf("application/json")>-1,o=x.isObject(t);if(o&&x.isHTMLForm(t)&&(t=new FormData(t)),x.isFormData(t))return r?JSON.stringify(Sr(t)):t;if(x.isArrayBuffer(t)||x.isBuffer(t)||x.isStream(t)||x.isFile(t)||x.isBlob(t)||x.isReadableStream(t))return t;if(x.isArrayBufferView(t))return t.buffer;if(x.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 sc(t,this.formSerializer).toString();if((s=x.isFileList(t))||n.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Jt(s?{"files[]":t}:t,c&&new c,this.formSerializer)}}return o||r?(i.setContentType("application/json",!1),pc(t)):t}],transformResponse:[function(t){const i=this.transitional||Tt.transitional,n=i&&i.forcedJSONParsing,r=this.responseType==="json";if(x.isResponse(t)||x.isReadableStream(t))return t;if(t&&x.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:Oe.classes.FormData,Blob:Oe.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};x.forEach(["delete","get","head","post","put","patch"],e=>{Tt.headers[e]={}});const uc=x.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"]),dc=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]&&uc[i])&&(i==="set-cookie"?t[i]?t[i].push(n):t[i]=[n]:t[i]=t[i]?t[i]+", "+n:n)}),t},Tr=Symbol("internals");function kt(e){return e&&String(e).trim().toLowerCase()}function Gt(e){return e===!1||e==null?e:x.isArray(e)?e.map(Gt):String(e)}function fc(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 mc=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Fn(e,t,i,n,r){if(x.isFunction(n))return n.call(this,t,i);if(r&&(t=i),!!x.isString(t)){if(x.isString(n))return t.indexOf(n)!==-1;if(x.isRegExp(n))return n.test(t)}}function xc(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,i,n)=>i.toUpperCase()+n)}function vc(e,t){const i=x.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 je{constructor(t){t&&this.set(t)}set(t,i,n){const r=this;function o(s,c,p){const l=kt(c);if(!l)throw new Error("header name must be a non-empty string");const d=x.findKey(r,l);(!d||r[d]===void 0||p===!0||p===void 0&&r[d]!==!1)&&(r[d||c]=Gt(s))}const a=(s,c)=>x.forEach(s,(p,l)=>o(p,l,c));if(x.isPlainObject(t)||t instanceof this.constructor)a(t,i);else if(x.isString(t)&&(t=t.trim())&&!mc(t))a(dc(t),i);else if(x.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=kt(t),t){const n=x.findKey(this,t);if(n){const r=this[n];if(!i)return r;if(i===!0)return fc(r);if(x.isFunction(i))return i.call(this,r,n);if(x.isRegExp(i))return i.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,i){if(t=kt(t),t){const n=x.findKey(this,t);return!!(n&&this[n]!==void 0&&(!i||Fn(this,this[n],n,i)))}return!1}delete(t,i){const n=this;let r=!1;function o(a){if(a=kt(a),a){const s=x.findKey(n,a);s&&(!i||Fn(n,n[s],s,i))&&(delete n[s],r=!0)}}return x.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||Fn(this,this[o],o,t,!0))&&(delete this[o],r=!0)}return r}normalize(t){const i=this,n={};return x.forEach(this,(r,o)=>{const a=x.findKey(n,o);if(a){i[a]=Gt(r),delete i[o];return}const s=t?xc(o):String(o).trim();s!==o&&delete i[o],i[s]=Gt(r),n[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const i=Object.create(null);return x.forEach(this,(n,r)=>{n!=null&&n!==!1&&(i[r]=t&&x.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[Tr]=this[Tr]={accessors:{}}).accessors,r=this.prototype;function o(a){const s=kt(a);n[s]||(vc(r,a),n[s]=!0)}return x.isArray(t)?t.forEach(o):o(t),this}}je.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),x.reduceDescriptors(je.prototype,({value:e},t)=>{let i=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[i]=n}}}),x.freezeMethods(je);function Pn(e,t){const i=this||Tt,n=t||i,r=je.from(n.headers);let o=n.data;return x.forEach(e,function(s){o=s.call(i,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function kr(e){return!!(e&&e.__CANCEL__)}function lt(e,t,i){U.call(this,e??"canceled",U.ERR_CANCELED,t,i),this.name="CanceledError"}x.inherits(lt,U,{__CANCEL__:!0});function Rr(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 gc(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function hc(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 bc(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 Xt=(e,t,i=3)=>{let n=0;const r=hc(50,250);return bc(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)},Or=(e,t)=>{const i=e!=null;return[n=>t[0]({lengthComputable:i,total:e,loaded:n}),t[1]]},_r=e=>(...t)=>x.asap(()=>e(...t)),yc=Oe.hasStandardBrowserEnv?((e,t)=>i=>(i=new URL(i,Oe.origin),e.protocol===i.protocol&&e.host===i.host&&(t||e.port===i.port)))(new URL(Oe.origin),Oe.navigator&&/(msie|trident)/i.test(Oe.navigator.userAgent)):()=>!0,Ec=Oe.hasStandardBrowserEnv?{write(e,t,i,n,r,o){const a=[e+"="+encodeURIComponent(t)];x.isNumber(i)&&a.push("expires="+new Date(i).toGMTString()),x.isString(n)&&a.push("path="+n),x.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 wc(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Sc(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ar(e,t){return e&&!wc(t)?Sc(e,t):t}const Cr=e=>e instanceof je?{...e}:e;function tt(e,t){t=t||{};const i={};function n(p,l,d,f){return x.isPlainObject(p)&&x.isPlainObject(l)?x.merge.call({caseless:f},p,l):x.isPlainObject(l)?x.merge({},l):x.isArray(l)?l.slice():l}function r(p,l,d,f){if(x.isUndefined(l)){if(!x.isUndefined(p))return n(void 0,p,d,f)}else return n(p,l,d,f)}function o(p,l){if(!x.isUndefined(l))return n(void 0,l)}function a(p,l){if(x.isUndefined(l)){if(!x.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(Cr(p),Cr(l),d,!0)};return x.forEach(Object.keys(Object.assign({},e,t)),function(l){const d=c[l]||r,f=d(e[l],t[l],l);x.isUndefined(f)&&d!==s||(i[l]=f)}),i}const Dr=e=>{const t=tt({},e);let{data:i,withXSRFToken:n,xsrfHeaderName:r,xsrfCookieName:o,headers:a,auth:s}=t;t.headers=a=je.from(a),t.url=yr(Ar(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(x.isFormData(i)){if(Oe.hasStandardBrowserEnv||Oe.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(Oe.hasStandardBrowserEnv&&(n&&x.isFunction(n)&&(n=n(t)),n||n!==!1&&yc(t.url))){const p=r&&o&&Ec.read(o);p&&a.set(r,p)}return t},Tc=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(i,n){const r=Dr(e);let o=r.data;const a=je.from(r.headers).normalize();let{responseType:s,onUploadProgress:c,onDownloadProgress:p}=r,l,d,f,m,v;function g(){m&&m(),v&&v(),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=je.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};Rr(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||wr;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&&x.forEach(a.toJSON(),function(k,b){y.setRequestHeader(b,k)}),x.isUndefined(r.withCredentials)||(y.withCredentials=!!r.withCredentials),s&&s!=="json"&&(y.responseType=r.responseType),p&&([f,v]=Xt(p,!0),y.addEventListener("progress",f)),c&&y.upload&&([d,m]=Xt(c),y.upload.addEventListener("progress",d),y.upload.addEventListener("loadend",m)),(r.cancelToken||r.signal)&&(l=C=>{y&&(n(!C||C.type?new lt(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=gc(r.url);if(A&&Oe.protocols.indexOf(A)===-1){n(new U("Unsupported protocol "+A+":",U.ERR_BAD_REQUEST,e));return}y.send(o||null)})},kc=(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 lt(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=()=>x.asap(s),c}},Rc=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},Oc=async function*(e,t){for await(const i of _c(e))yield*Rc(i,t)},_c=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()}},jr=(e,t,i,n)=>{const r=Oc(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})},Zt=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Fr=Zt&&typeof ReadableStream=="function",Ac=Zt&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Pr=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Cc=Fr&&Pr(()=>{let e=!1;const t=new Request(Oe.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Ir=64*1024,In=Fr&&Pr(()=>x.isReadableStream(new Response("").body)),Qt={stream:In&&(e=>e.body)};Zt&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Qt[t]&&(Qt[t]=x.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 Dc=async e=>{if(e==null)return 0;if(x.isBlob(e))return e.size;if(x.isSpecCompliantForm(e))return(await new Request(Oe.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(x.isArrayBufferView(e)||x.isArrayBuffer(e))return e.byteLength;if(x.isURLSearchParams(e)&&(e=e+""),x.isString(e))return(await Ac(e)).byteLength},jc=async(e,t)=>{const i=x.toFiniteNumber(e.getContentLength());return i??Dc(t)},zn={http:Qs,xhr:Tc,fetch:Zt&&(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}=Dr(e);p=p?(p+"").toLowerCase():"text";let m=kc([r,o&&o.toAbortSignal()],a),v;const g=m&&m.unsubscribe&&(()=>{m.unsubscribe()});let y;try{if(c&&Cc&&i!=="get"&&i!=="head"&&(y=await jc(l,n))!==0){let b=new Request(t,{method:"POST",body:n,duplex:"half"}),D;if(x.isFormData(n)&&(D=b.headers.get("content-type"))&&l.setContentType(D),b.body){const[L,z]=Or(y,Xt(_r(c)));n=jr(b.body,Ir,L,z)}}x.isString(d)||(d=d?"include":"omit");const h="credentials"in Request.prototype;v=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(v);const C=In&&(p==="stream"||p==="response");if(In&&(s||C&&g)){const b={};["status","statusText","headers"].forEach(W=>{b[W]=A[W]});const D=x.toFiniteNumber(A.headers.get("content-length")),[L,z]=s&&Or(D,Xt(_r(s),!0))||[];A=new Response(jr(A.body,Ir,L,()=>{z&&z(),g&&g()}),b)}p=p||"text";let k=await Qt[x.findKey(Qt,p)||"text"](A,e);return!C&&g&&g(),await new Promise((b,D)=>{Rr(b,D,{data:k,headers:je.from(A.headers),status:A.status,statusText:A.statusText,config:e,request:v})})}catch(h){throw g&&g(),h&&h.name==="TypeError"&&/fetch/i.test(h.message)?Object.assign(new U("Network Error",U.ERR_NETWORK,e,v),{cause:h.cause||h}):U.from(h,h&&h.code,e,v)}})};x.forEach(zn,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const zr=e=>`- ${e}`,Fc=e=>x.isFunction(e)||e===null||e===!1,Br={getAdapter:e=>{e=x.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,!Fc(i)&&(n=zn[(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(zr).join(`
52
+ `):" "+zr(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:zn};function Bn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new lt(null,e)}function Lr(e){return Bn(e),e.headers=je.from(e.headers),e.data=Pn.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Br.getAdapter(e.adapter||Tt.adapter)(e).then(function(n){return Bn(e),n.data=Pn.call(e,e.transformResponse,n),n.headers=je.from(n.headers),n},function(n){return kr(n)||(Bn(e),n&&n.response&&(n.response.data=Pn.call(e,e.transformResponse,n.response),n.response.headers=je.from(n.response.headers))),Promise.reject(n)})}const Mr="1.7.9",en={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{en[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const $r={};en.transitional=function(t,i,n){function r(o,a){return"[Axios v"+Mr+"] 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&&!$r[a]&&($r[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}},en.spelling=function(t){return(i,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function Pc(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 tn={assertOptions:Pc,validators:en},Me=tn.validators;class nt{constructor(t){this.defaults=t,this.interceptors={request:new Er,response:new Er}}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=tt(this.defaults,i);const{transitional:n,paramsSerializer:r,headers:o}=i;n!==void 0&&tn.assertOptions(n,{silentJSONParsing:Me.transitional(Me.boolean),forcedJSONParsing:Me.transitional(Me.boolean),clarifyTimeoutError:Me.transitional(Me.boolean)},!1),r!=null&&(x.isFunction(r)?i.paramsSerializer={serialize:r}:tn.assertOptions(r,{encode:Me.function,serialize:Me.function},!0)),tn.assertOptions(i,{baseUrl:Me.spelling("baseURL"),withXsrfToken:Me.spelling("withXSRFToken")},!0),i.method=(i.method||this.defaults.method||"get").toLowerCase();let a=o&&x.merge(o.common,o[i.method]);o&&x.forEach(["delete","get","head","post","put","patch","common"],v=>{delete o[v]}),i.headers=je.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,d=0,f;if(!c){const v=[Lr.bind(this),void 0];for(v.unshift.apply(v,s),v.push.apply(v,p),f=v.length,l=Promise.resolve(i);d<f;)l=l.then(v[d++],v[d++]);return l}f=s.length;let m=i;for(d=0;d<f;){const v=s[d++],g=s[d++];try{m=v(m)}catch(y){g.call(this,y);break}}try{l=Lr.call(this,m)}catch(v){return Promise.reject(v)}for(d=0,f=p.length;d<f;)l=l.then(p[d++],p[d++]);return l}getUri(t){t=tt(this.defaults,t);const i=Ar(t.baseURL,t.url);return yr(i,t.params,t.paramsSerializer)}}x.forEach(["delete","get","head","options"],function(t){nt.prototype[t]=function(i,n){return this.request(tt(n||{},{method:t,url:i,data:(n||{}).data}))}}),x.forEach(["post","put","patch"],function(t){function i(n){return function(o,a,s){return this.request(tt(s||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:o,data:a}))}}nt.prototype[t]=i(),nt.prototype[t+"Form"]=i(!0)});class Ln{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 lt(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 Ln(function(r){t=r}),cancel:t}}}function Ic(e){return function(i){return e.apply(null,i)}}function zc(e){return x.isObject(e)&&e.isAxiosError===!0}const Mn={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(Mn).forEach(([e,t])=>{Mn[t]=e});function Nr(e){const t=new nt(e),i=rr(nt.prototype.request,t);return x.extend(i,nt.prototype,t,{allOwnKeys:!0}),x.extend(i,t,null,{allOwnKeys:!0}),i.create=function(r){return Nr(tt(e,r))},i}const Ee=Nr(Tt);Ee.Axios=nt,Ee.CanceledError=lt,Ee.CancelToken=Ln,Ee.isCancel=kr,Ee.VERSION=Mr,Ee.toFormData=Jt,Ee.AxiosError=U,Ee.Cancel=Ee.CanceledError,Ee.all=function(t){return Promise.all(t)},Ee.spread=Ic,Ee.isAxiosError=zc,Ee.mergeConfig=tt,Ee.AxiosHeaders=je,Ee.formToJSON=e=>Sr(x.isHTMLForm(e)?new FormData(e):e),Ee.getAdapter=Br.getAdapter,Ee.HttpStatusCode=Mn,Ee.default=Ee;var nn={exports:{}},$n={};/**
54
+ * @license React
55
+ * use-sync-external-store-shim.production.min.js
56
+ *
57
+ * Copyright (c) Facebook, Inc. and its affiliates.
58
+ *
59
+ * This source code is licensed under the MIT license found in the
60
+ * LICENSE file in the root directory of this source tree.
61
+ */var qr;function Bc(){if(qr)return $n;qr=1;var e=_;function t(d,f){return d===f&&(d!==0||1/d===1/f)||d!==d&&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(d,f){var m=f(),v=n({inst:{value:m,getSnapshot:f}}),g=v[0].inst,y=v[1];return o(function(){g.value=m,g.getSnapshot=f,c(g)&&y({inst:g})},[d,m,f]),r(function(){return c(g)&&y({inst:g}),d(function(){c(g)&&y({inst:g})})},[d]),a(m),m}function c(d){var f=d.getSnapshot;d=d.value;try{var m=f();return!i(d,m)}catch{return!0}}function p(d,f){return f()}var l=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?p:s;return $n.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:l,$n}var Nn={};/**
62
+ * @license React
63
+ * use-sync-external-store-shim.development.js
64
+ *
65
+ * Copyright (c) Facebook, Inc. and its affiliates.
66
+ *
67
+ * This source code is licensed under the MIT license found in the
68
+ * LICENSE file in the root directory of this source tree.
69
+ */var Ur;function Lc(){return Ur||(Ur=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=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 z=b.map(function(W){return String(W)});z.unshift("Warning: "+k),Function.prototype.apply.call(console[C],console,z)}}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 z=a({inst:{value:D,getSnapshot:k}}),W=z[0].inst,J=z[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 v(C,k,b){return k()}var g=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",y=!g,h=y?v:f,A=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:h;Nn.useSyncExternalStore=A,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Nn}var Wr;function Mc(){return Wr||(Wr=1,process.env.NODE_ENV==="production"?nn.exports=Bc():nn.exports=Lc()),nn.exports}var $c=Mc();const Ve=()=>{},Fe=Ve(),qn=Object,ee=e=>e===Fe,$e=e=>typeof e=="function",He=(e,t)=>({...e,...t}),Nc=e=>$e(e.then),rn=new WeakMap;let qc=0;const Rt=e=>{const t=typeof e,i=e&&e.constructor,n=i==Date;let r,o;if(qn(e)===e&&!n&&i!=RegExp){if(r=rn.get(e),r)return r;if(r=++qc+"~",rn.set(e,r),i==Array){for(r="@",o=0;o<e.length;o++)r+=Rt(e[o])+",";rn.set(e,r)}if(i==qn){r="#";const a=qn.keys(e).sort();for(;!ee(o=a.pop());)ee(e[o])||(r+=o+":"+Rt(e[o])+",");rn.set(e,r)}}else r=n?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return r},qe=new WeakMap,Un={},on={},Wn="undefined",an=typeof window!=Wn,Vn=typeof document!=Wn,Uc=()=>an&&typeof window.requestAnimationFrame!=Wn,Vr=(e,t)=>{const i=qe.get(e);return[()=>!ee(t)&&e.get(t)||Un,n=>{if(!ee(t)){const r=e.get(t);t in on||(on[t]=r),i[5](t,He(r,n),r||Un)}},i[6],()=>!ee(t)&&t in on?on[t]:!ee(t)&&e.get(t)||Un]};let Hn=!0;const Wc=()=>Hn,[Yn,Kn]=an&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[Ve,Ve],Vc=()=>{const e=Vn&&document.visibilityState;return ee(e)||e!=="hidden"},Hc=e=>(Vn&&document.addEventListener("visibilitychange",e),Yn("focus",e),()=>{Vn&&document.removeEventListener("visibilitychange",e),Kn("focus",e)}),Yc=e=>{const t=()=>{Hn=!0,e()},i=()=>{Hn=!1};return Yn("online",t),Yn("offline",i),()=>{Kn("online",t),Kn("offline",i)}},Kc={isOnline:Wc,isVisible:Vc},Jc={initFocus:Hc,initReconnect:Yc},Hr=!_.useId,Ot=!an||"Deno"in window,Gc=e=>Uc()?window.requestAnimationFrame(e):setTimeout(e,1),Jn=Ot?_.useEffect:_.useLayoutEffect,Gn=typeof navigator<"u"&&navigator.connection,Yr=!Ot&&Gn&&(["slow-2g","2g"].includes(Gn.effectiveType)||Gn.saveData),Xn=e=>{if($e(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?Rt(e):"",[e,t]};let Xc=0;const Zn=()=>++Xc,Kr=0,Jr=1,Gr=2;var _t={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:Kr,MUTATE_EVENT:Gr,RECONNECT_EVENT:Jr};async function Xr(...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=[],v=t.keys();for(const g of v)!/^\$(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]=Xn(f);if(!m)return;const[v,g]=Vr(t,m),[y,h,A,C]=qe.get(t),k=()=>{const Z=y[m];return($e(o.revalidate)?o.revalidate(v().data,f):o.revalidate!==!1)&&(delete A[m],delete C[m],Z&&Z[0])?Z[0](Gr).then(()=>v().data):v().data};if(e.length<3)return k();let b=n,D;const L=Zn();h[m]=[L,0];const z=!ee(c),W=v(),J=W.data,ae=W._c,fe=ee(ae)?J:ae;if(z&&(c=$e(c)?c(fe,J):c,g({data:c,_c:fe})),$e(b))try{b=b(fe)}catch(Z){D=Z}if(b&&Nc(b))if(b=await b.catch(Z=>{D=Z}),L!==h[m][0]){if(D)throw D;return b}else D&&z&&p(D)&&(a=!0,g({data:fe,_c:Fe}));if(a&&!D)if($e(a)){const Z=a(b,fe);g({data:Z,error:Fe,_c:Fe})}else g({data:b,error:Fe,_c:Fe});if(h[m][1]=Zn(),Promise.resolve(k()).then(()=>{g({_c:Fe})}),D){if(l)throw D;return}return b}}const Zr=(e,t)=>{for(const i in e)e[i][0]&&e[i][0](t)},Zc=(e,t)=>{if(!qe.has(e)){const i=He(Jc,t),n={},r=Xr.bind(Fe,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 v of m)v(d,f)},p=()=>{if(!qe.has(e)&&(qe.set(e,[n,{},{},{},r,c,s]),!Ot)){const l=i.initFocus(setTimeout.bind(Fe,Zr.bind(Fe,n,Kr))),d=i.initReconnect(setTimeout.bind(Fe,Zr.bind(Fe,n,Jr)));o=()=>{l&&l(),d&&d(),qe.delete(e)}}};return p(),[e,r,p,o]}return[e,qe.get(e)[4]]},Qc=(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)},el=(e,t)=>Rt(e)==Rt(t),[Qr,tl]=Zc(new Map),nl=He({onLoadingSlow:Ve,onSuccess:Ve,onError:Ve,onErrorRetry:Qc,onDiscarded:Ve,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Yr?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Yr?5e3:3e3,compare:el,isPaused:()=>!1,cache:Qr,mutate:tl,fallback:{}},Kc),il=(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},rl=_.createContext({}),ol="$inf$",eo=an&&window.__SWR_DEVTOOLS_USE__,al=eo?window.__SWR_DEVTOOLS_USE__:[],sl=()=>{eo&&(window.__SWR_DEVTOOLS_REACT__=_)},cl=e=>$e(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],ll=()=>He(nl,_.useContext(rl)),pl=e=>(t,i,n)=>e(t,i&&((...o)=>{const[a]=Xn(t),[,,,s]=qe.get(Qr);if(a.startsWith(ol))return i(...o);const c=s[a];return ee(c)?i(...o):(delete s[a],c)}),n),ul=al.concat(pl),dl=e=>function(...i){const n=ll(),[r,o,a]=cl(i),s=il(n,a);let c=e;const{use:p}=s,l=(p||[]).concat(ul);for(let d=l.length;d--;)c=l[d](c);return c(r,o||s.fetcher||null,s)},fl=(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())}};sl();const to=_.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)}),Qn={dedupe:!0},ml=dl((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,v,g,y]=qe.get(n),[h,A]=Xn(e),C=_.useRef(!1),k=_.useRef(!1),b=_.useRef(h),D=_.useRef(t),L=_.useRef(i),z=()=>L.current,W=()=>z().isVisible()&&z().isOnline(),[J,ae,fe,Z]=Vr(n,h),V=_.useRef({}).current,ce=ee(a)?i.fallback[h]:a,we=(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},Se=_.useMemo(()=>{const E=!h||!t?!1:ee(s)?z().isPaused()||o?!1:ee(c)?!0:c:s,K=me=>{const Ae=He(me);return delete Ae._k,E?{isValidating:!0,isLoading:!0,...Ae}:Ae},ue=J(),te=Z(),Re=K(ue),_e=ue===te?Re:K(te);let ve=Re;return[()=>{const me=K(J());return we(me,ve)?(ve.data=me.data,ve.isLoading=me.isLoading,ve.isValidating=me.isValidating,ve.error=me.error,ve):(ve=me,me)},()=>_e]},[n,h]),be=$c.useSyncExternalStore(_.useCallback(E=>fe(h,(K,ue)=>{we(ue,K)||E()}),[n,h]),Se[0],Se[1]),he=!C.current,S=m[h]&&m[h].length>0,R=be.data,B=ee(R)?ce:R,$=be.error,P=_.useRef(B),H=f?ee(R)?P.current:R:B,I=S&&!ee($)?!1:he&&!ee(s)?s:z().isPaused()?!1:o?ee(B)?!1:c:ee(B)||c,N=!!(h&&t&&he&&I),Y=ee(be.isValidating)?N:be.isValidating,G=ee(be.isLoading)?N:be.isLoading,M=_.useCallback(async E=>{const K=D.current;if(!h||!K||k.current||z().isPaused())return!1;let ue,te,Re=!0;const _e=E||{},ve=!g[h]||!_e.dedupe,me=()=>Hr?!k.current&&h===b.current&&C.current:h===b.current,Ae={isValidating:!1,isLoading:!1},pt=()=>{ae(Ae)},Ye=()=>{const T=g[h];T&&T[1]===te&&delete g[h]},ut={isValidating:!0};ee(J().data)&&(ut.isLoading=!0);try{if(ve&&(ae(ut),i.loadingTimeout&&ee(J().data)&&setTimeout(()=>{Re&&me()&&z().onLoadingSlow(h,i)},i.loadingTimeout),g[h]=[K(A),Zn()]),[ue,te]=g[h],ue=await ue,ve&&setTimeout(Ye,i.dedupingInterval),!g[h]||g[h][1]!==te)return ve&&me()&&z().onDiscarded(h),!1;Ae.error=Fe;const T=v[h];if(!ee(T)&&(te<=T[0]||te<=T[1]||T[1]===0))return pt(),ve&&me()&&z().onDiscarded(h),!1;const F=J().data;Ae.data=r(F,ue)?F:ue,ve&&me()&&z().onSuccess(ue,h,i)}catch(T){Ye();const F=z(),{shouldRetryOnError:le}=F;F.isPaused()||(Ae.error=T,ve&&me()&&(F.onError(T,h,F),(le===!0||$e(le)&&le(T))&&(!z().revalidateOnFocus||!z().revalidateOnReconnect||W())&&F.onErrorRetry(T,h,F,de=>{const ke=m[h];ke&&ke[0]&&ke[0](_t.ERROR_REVALIDATE_EVENT,de)},{retryCount:(_e.retryCount||0)+1,dedupe:!0})))}return Re=!1,pt(),!0},[h,n]),xe=_.useCallback((...E)=>Xr(n,b.current,...E),[]);if(Jn(()=>{D.current=t,L.current=i,ee(R)||(P.current=R)}),Jn(()=>{if(!h)return;const E=M.bind(Fe,Qn);let K=0;const te=fl(h,m,(Re,_e={})=>{if(Re==_t.FOCUS_EVENT){const ve=Date.now();z().revalidateOnFocus&&ve>K&&W()&&(K=ve+z().focusThrottleInterval,E())}else if(Re==_t.RECONNECT_EVENT)z().revalidateOnReconnect&&W()&&E();else{if(Re==_t.MUTATE_EVENT)return M();if(Re==_t.ERROR_REVALIDATE_EVENT)return M(_e)}});return k.current=!1,b.current=h,C.current=!0,ae({_k:A}),I&&(ee(B)||Ot?E():Gc(E)),()=>{k.current=!0,te()}},[h]),Jn(()=>{let E;function K(){const te=$e(p)?p(J().data):p;te&&E!==-1&&(E=setTimeout(ue,te))}function ue(){!J().error&&(l||z().isVisible())&&(d||z().isOnline())?M(Qn).then(K):K()}return K(),()=>{E&&(clearTimeout(E),E=-1)}},[p,l,d,h]),_.useDebugValue(H),o&&ee(B)&&h){if(!Hr&&Ot)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);to(K)}if(ee($)){const K=M(Qn);ee(H)||(K.status="fulfilled",K.value=!0),to(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}}}),xl=Ee.create({baseURL:"https://arpeggi.io/api/v2/"}),vl=async e=>{if(e===null)return null;const t=await xl.get(e);return console.log(t.data),t.data},gl=e=>{const t=e>0;return ml(t?`/ml-inference-jobs/${e}`:null,vl,{refreshInterval:1e3})},hl=()=>{const[e,t]=_.useState(null),[i,n]=_.useState(0),[r,o]=_.useState(0),{data:a,isLoading:s}=gl(i);return{file:e,setFile:t,mlijId:i,setMlijId:n,voiceModelId:r,setVoiceModelId:o,data:a,isLoading:s}},no=_.createContext({}),io=()=>_.useContext(no),bl=({children:e})=>{const t=hl();return gt.jsx(no.Provider,{value:t,children:e})},yl=1,El=100*1024*1024,wl=1,Sl=100,Tl=({children:e})=>{const{setFile:t}=io(),i=n=>t(n[0]);return gt.jsx(ir,{files:[],onFileAccepted:i,maxFileCount:yl,maxSizeBytes:El,minSizeBytes:wl,maxDurationS:Sl,children:e})};ze.AudioFilePickerRoot=ir,ze.FilePicker=Tl,ze.GuestConvertProvider=bl,ze.useAudioFilePickerContext=ds,ze.useGuestConvertContext=io,Object.defineProperty(ze,Symbol.toStringTag,{value:"Module"})});
26
70
  //# sourceMappingURL=index.umd.js.map