Stirling-PDF/frontend/dist/assets/index-DAILjWej.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

100 lines
1.0 MiB
JavaScript
Raw Normal View History

2025-05-28 21:43:02 +01:00
var og=Object.defineProperty;var gp=e=>{throw TypeError(e)};var sg=(e,t,i)=>t in e?og(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;var Pt=(e,t,i)=>sg(e,typeof t!="symbol"?t+"":t,i),Jl=(e,t,i)=>t.has(e)||gp("Cannot "+i);var j=(e,t,i)=>(Jl(e,t,"read from private field"),i?i.call(e):t.get(e)),Se=(e,t,i)=>t.has(e)?gp("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),Ce=(e,t,i,o)=>(Jl(e,t,"write to private field"),o?o.call(e,i):t.set(e,i),i),me=(e,t,i)=>(Jl(e,t,"access private method"),i);var fi=(e,t,i,o)=>({set _(s){Ce(e,t,s,i)},get _(){return j(e,t,o)}});function _mergeNamespaces(e,t){for(var i=0;i<t.length;i++){const o=t[i];if(typeof o!="string"&&!Array.isArray(o)){for(const s in o)if(s!=="default"&&!(s in e)){const c=Object.getOwnPropertyDescriptor(o,s);c&&Object.defineProperty(e,s,c.get?c:{enumerable:!0,get:()=>o[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))o(s);new MutationObserver(s=>{for(const c of s)if(c.type==="childList")for(const d of c.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&o(d)}).observe(document,{childList:!0,subtree:!0});function i(s){const c={};return s.integrity&&(c.integrity=s.integrity),s.referrerPolicy&&(c.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?c.credentials="include":s.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function o(s){if(s.ep)return;s.ep=!0;const c=i(s);fetch(s.href,c)}})();function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function getAugmentedNamespace(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var i=function o(){return this instanceof o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};i.prototype=t.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var s=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(i,o,s.get?s:{enumerable:!0,get:function(){return e[o]}})}),i}var jsxRuntime={exports:{}},reactJsxRuntime_production={};/**
* @license React
* react-jsx-runtime.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var hasRequiredReactJsxRuntime_production;function requireReactJsxRuntime_production(){if(hasRequiredReactJsxRuntime_production)return reactJsxRuntime_production;hasRequiredReactJsxRuntime_production=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function i(o,s,c){var d=null;if(c!==void 0&&(d=""+c),s.key!==void 0&&(d=""+s.key),"key"in s){c={};for(var p in s)p!=="key"&&(c[p]=s[p])}else c=s;return s=c.ref,{$$typeof:e,type:o,key:d,ref:s!==void 0?s:null,props:c}}return reactJsxRuntime_production.Fragment=t,reactJsxRuntime_production.jsx=i,reactJsxRuntime_production.jsxs=i,reactJsxRuntime_production}var hasRequiredJsxRuntime;function requireJsxRuntime(){return hasRequiredJsxRuntime||(hasRequiredJsxRuntime=1,jsxRuntime.exports=requireReactJsxRuntime_production()),jsxRuntime.exports}var jsxRuntimeExports=requireJsxRuntime(),react={exports:{}},react_production={};/**
* @license React
* react.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var hasRequiredReact_production;function requireReact_production(){if(hasRequiredReact_production)return react_production;hasRequiredReact_production=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),d=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),v=Symbol.iterator;function y($){return $===null||typeof $!="object"?null:($=v&&$[v]||$["@@iterator"],typeof $=="function"?$:null)}var x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b=Object.assign,S={};function A($,Y,z){this.props=$,this.context=Y,this.refs=S,this.updater=z||x}A.prototype.isReactComponent={},A.prototype.setState=function($,Y){if(typeof $!="object"&&typeof $!="function"&&$!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,$,Y,"setState")},A.prototype.forceUpdate=function($){this.updater.enqueueForceUpdate(this,$,"forceUpdate")};function C(){}C.prototype=A.prototype;function T($,Y,z){this.props=$,this.context=Y,this.refs=S,this.updater=z||x}var k=T.prototype=new C;k.constructor=T,b(k,A.prototype),k.isPureReactComponent=!0;var D=Array.isArray,w={H:null,A:null,T:null,S:null,V:null},R=Object.prototype.hasOwnProperty;function _($,Y,z,O,F,H){return z=H.ref,{$$typeof:e,type:$,key:Y,ref:z!==void 0?z:null,props:H}}function M($,Y){return _($.type,Y,void 0,void 0,void 0,$.props)}function N($){return typeof $=="object"&&$!==null&&$.$$typeof===e}function P($){var Y={"=":"=0",":":"=2"};return"$"+$.replace(/[=:]/g,function(z){return Y[z]})}var L=/\/+/g;function I($,Y){return typeof $=="object"&&$!==null&&$.key!=null?P(""+$.key):Y.toString(36)}function W(){}function ae($){switch($.status){case"fulfilled":return $.value;case"rejected":throw $.reason;default:switch(typeof $.status=="string"?$.then(W,W):($.status="pending",$.then(function(Y){$.status==="pending"&&($.status="fulfilled",$.value=Y)},function(Y){$.status==="pending"&&($.status="rejected",$.reason=Y)})),$.status){case"fulfilled":return $.value;case"rejected":throw $.reason}}throw $}function Q($,Y,z,O,F){var H=typeof $;(H==="undefined"||H==="boolean")&&($=null);var X=!1;if($===null)X=!0;else switch(H){case"bigint":case"string":case"number":X=!0;break;case"object":switch($.$$typeof){case e:case t:X=!0;break;case h:return X=$._init,Q(X($._payload),Y,z,O,F)}}if(X)return F=F($),X=O===""?"."+I($,0):O,D(F)?(z="",X!=null&&(z=X.replace(L,"$&/")+"/"),Q(F,Y,z,"",function(ce){return ce})):F!=null&&(N(F)&&(F=M(F,z+(F.key==null||$&&$.key===F.key?"":(""+F.key).replace(L,"$&/")+"/")+X)),Y.push(F)),1;X=0;var te=O===""?".":O+":";if(D($))for(var J=0;J<$.length;J++)O=$[J],H=te+I(O,J),X+=Q(O,Y,z,H,F);else if(J=y($),typeof J=="function")for($=J.call($),J=0;!(O=$.next()).done;)O=O.value,H=te+I(O,J++),X+=Q(O,Y,z,H,F);else if(H==="object"){if(typeof $.then=="function")return Q(ae($),Y,z,O,F);throw Y=String($),Error("Objects are not valid as a React child (found: "+(Y==="[object Object]"?"object with keys {"+Object.keys($).join(", ")+"}":Y)+"). If you meant to render a collection of children, use an array instead.")}return X}function B($,Y,z){if($==null)return $;var O=[],F=0;return Q($,O,"","",function(H){return Y.call(z,H,F++)}),O}function q($){if($._status===-1){var Y=$._result;Y=Y(),Y.then(function(z){($._status===0||$._status===-1)&&($._status=1,$._result=z)},function(z){($._status===0||$._status===-1)&&($._status=2,$._result=z)}),$._status===-1&&($._status=0,$._result=Y)}if($._status===1)return $._result.default;throw $._result}var K=typeof reportError=="function"?reportError:function($){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Y=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof $=="object"&&$!==null&&typeof $.message=="string"?String($.message):Str
* @license React
* scheduler.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var hasRequiredScheduler_production;function requireScheduler_production(){return hasRequiredScheduler_production||(hasRequiredScheduler_production=1,function(e){function t(B,q){var K=B.length;B.push(q);e:for(;0<K;){var U=K-1>>>1,$=B[U];if(0<s($,q))B[U]=q,B[K]=$,K=U;else break e}}function i(B){return B.length===0?null:B[0]}function o(B){if(B.length===0)return null;var q=B[0],K=B.pop();if(K!==q){B[0]=K;e:for(var U=0,$=B.length,Y=$>>>1;U<Y;){var z=2*(U+1)-1,O=B[z],F=z+1,H=B[F];if(0>s(O,K))F<$&&0>s(H,O)?(B[U]=H,B[F]=K,U=F):(B[U]=O,B[z]=K,U=z);else if(F<$&&0>s(H,K))B[U]=H,B[F]=K,U=F;else break e}}return q}function s(B,q){var K=B.sortIndex-q.sortIndex;return K!==0?K:B.id-q.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var c=performance;e.unstable_now=function(){return c.now()}}else{var d=Date,p=d.now();e.unstable_now=function(){return d.now()-p}}var m=[],f=[],h=1,v=null,y=3,x=!1,b=!1,S=!1,A=!1,C=typeof setTimeout=="function"?setTimeout:null,T=typeof clearTimeout=="function"?clearTimeout:null,k=typeof setImmediate<"u"?setImmediate:null;function D(B){for(var q=i(f);q!==null;){if(q.callback===null)o(f);else if(q.startTime<=B)o(f),q.sortIndex=q.expirationTime,t(m,q);else break;q=i(f)}}function w(B){if(S=!1,D(B),!b)if(i(m)!==null)b=!0,R||(R=!0,I());else{var q=i(f);q!==null&&Q(w,q.startTime-B)}}var R=!1,_=-1,M=5,N=-1;function P(){return A?!0:!(e.unstable_now()-N<M)}function L(){if(A=!1,R){var B=e.unstable_now();N=B;var q=!0;try{e:{b=!1,S&&(S=!1,T(_),_=-1),x=!0;var K=y;try{t:{for(D(B),v=i(m);v!==null&&!(v.expirationTime>B&&P());){var U=v.callback;if(typeof U=="function"){v.callback=null,y=v.priorityLevel;var $=U(v.expirationTime<=B);if(B=e.unstable_now(),typeof $=="function"){v.callback=$,D(B),q=!0;break t}v===i(m)&&o(m),D(B)}else o(m);v=i(m)}if(v!==null)q=!0;else{var Y=i(f);Y!==null&&Q(w,Y.startTime-B),q=!1}}break e}finally{v=null,y=K,x=!1}q=void 0}}finally{q?I():R=!1}}}var I;if(typeof k=="function")I=function(){k(L)};else if(typeof MessageChannel<"u"){var W=new MessageChannel,ae=W.port2;W.port1.onmessage=L,I=function(){ae.postMessage(null)}}else I=function(){C(L,0)};function Q(B,q){_=C(function(){B(e.unstable_now())},q)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(B){B.callback=null},e.unstable_forceFrameRate=function(B){0>B||125<B?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<B?Math.floor(1e3/B):5},e.unstable_getCurrentPriorityLevel=function(){return y},e.unstable_next=function(B){switch(y){case 1:case 2:case 3:var q=3;break;default:q=y}var K=y;y=q;try{return B()}finally{y=K}},e.unstable_requestPaint=function(){A=!0},e.unstable_runWithPriority=function(B,q){switch(B){case 1:case 2:case 3:case 4:case 5:break;default:B=3}var K=y;y=B;try{return q()}finally{y=K}},e.unstable_scheduleCallback=function(B,q,K){var U=e.unstable_now();switch(typeof K=="object"&&K!==null?(K=K.delay,K=typeof K=="number"&&0<K?U+K:U):K=U,B){case 1:var $=-1;break;case 2:$=250;break;case 5:$=1073741823;break;case 4:$=1e4;break;default:$=5e3}return $=K+$,B={id:h++,callback:q,priorityLevel:B,startTime:K,expirationTime:$,sortIndex:-1},K>U?(B.sortIndex=K,t(f,B),i(m)===null&&B===i(f)&&(S?(T(_),_=-1):S=!0,Q(w,K-U))):(B.sortIndex=$,t(m,B),b||x||(b=!0,R||(R=!0,I()))),B},e.unstable_shouldYield=P,e.unstable_wrapCallback=function(B){var q=y;return function(){var K=y;y=q;try{return B.apply(this,arguments)}finally{y=K}}}}(scheduler_production)),scheduler_production}var hasRequiredScheduler;function requireScheduler(){return hasRequiredScheduler||(hasRequiredScheduler=1,scheduler.exports=requireScheduler_production()),scheduler.exports}var reactDom={exports:{}},reactDom_production={};/**
* @license React
* react-dom.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var hasRequiredReactDom_production;function requireReactDom_production(){if(hasRequiredReactDom_production)return reactDom_production;hasRequiredReactDom_production=1;var e=requireReact();function t(m){var f="https://react.dev/errors/"+m;if(1<arguments.length){f+="?args[]="+encodeURIComponent(arguments[1]);for(var h=2;h<arguments.length;h++)f+="&args[]="+encodeURIComponent(arguments[h])}return"Minified React error #"+m+"; visit "+f+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(){}var o={d:{f:i,r:function(){throw Error(t(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},s=Symbol.for("react.portal");function c(m,f,h){var v=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:v==null?null:""+v,children:m,containerInfo:f,implementation:h}}var d=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function p(m,f){if(m==="font")return"";if(typeof f=="string")return f==="use-credentials"?f:""}return reactDom_production.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,reactDom_production.createPortal=function(m,f){var h=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!f||f.nodeType!==1&&f.nodeType!==9&&f.nodeType!==11)throw Error(t(299));return c(m,f,null,h)},reactDom_production.flushSync=function(m){var f=d.T,h=o.p;try{if(d.T=null,o.p=2,m)return m()}finally{d.T=f,o.p=h,o.d.f()}},reactDom_production.preconnect=function(m,f){typeof m=="string"&&(f?(f=f.crossOrigin,f=typeof f=="string"?f==="use-credentials"?f:"":void 0):f=null,o.d.C(m,f))},reactDom_production.prefetchDNS=function(m){typeof m=="string"&&o.d.D(m)},reactDom_production.preinit=function(m,f){if(typeof m=="string"&&f&&typeof f.as=="string"){var h=f.as,v=p(h,f.crossOrigin),y=typeof f.integrity=="string"?f.integrity:void 0,x=typeof f.fetchPriority=="string"?f.fetchPriority:void 0;h==="style"?o.d.S(m,typeof f.precedence=="string"?f.precedence:void 0,{crossOrigin:v,integrity:y,fetchPriority:x}):h==="script"&&o.d.X(m,{crossOrigin:v,integrity:y,fetchPriority:x,nonce:typeof f.nonce=="string"?f.nonce:void 0})}},reactDom_production.preinitModule=function(m,f){if(typeof m=="string")if(typeof f=="object"&&f!==null){if(f.as==null||f.as==="script"){var h=p(f.as,f.crossOrigin);o.d.M(m,{crossOrigin:h,integrity:typeof f.integrity=="string"?f.integrity:void 0,nonce:typeof f.nonce=="string"?f.nonce:void 0})}}else f==null&&o.d.M(m)},reactDom_production.preload=function(m,f){if(typeof m=="string"&&typeof f=="object"&&f!==null&&typeof f.as=="string"){var h=f.as,v=p(h,f.crossOrigin);o.d.L(m,h,{crossOrigin:v,integrity:typeof f.integrity=="string"?f.integrity:void 0,nonce:typeof f.nonce=="string"?f.nonce:void 0,type:typeof f.type=="string"?f.type:void 0,fetchPriority:typeof f.fetchPriority=="string"?f.fetchPriority:void 0,referrerPolicy:typeof f.referrerPolicy=="string"?f.referrerPolicy:void 0,imageSrcSet:typeof f.imageSrcSet=="string"?f.imageSrcSet:void 0,imageSizes:typeof f.imageSizes=="string"?f.imageSizes:void 0,media:typeof f.media=="string"?f.media:void 0})}},reactDom_production.preloadModule=function(m,f){if(typeof m=="string")if(f){var h=p(f.as,f.crossOrigin);o.d.m(m,{as:typeof f.as=="string"&&f.as!=="script"?f.as:void 0,crossOrigin:h,integrity:typeof f.integrity=="string"?f.integrity:void 0})}else o.d.m(m)},reactDom_production.requestFormReset=function(m){o.d.r(m)},reactDom_production.unstable_batchedUpdates=function(m,f){return m(f)},reactDom_production.useFormState=function(m,f,h){return d.H.useFormState(m,f,h)},reactDom_production.useFormStatus=function(){return d.H.useHostTransitionStatus()},reactDom_production.version="19.1.0",reactDom_production}var hasRequiredReactDom;function requireReactDom(){if(hasRequiredReactDom)return reactDom.exports;hasRequiredReactDom=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),reactDom.exports=requireReactDom_production(),reactDom.e
* @license React
* react-dom-client.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var hasRequiredReactDomClient_production;function requireReactDomClient_production(){if(hasRequiredReactDomClient_production)return reactDomClient_production;hasRequiredReactDomClient_production=1;var e=requireScheduler(),t=requireReact(),i=requireReactDom();function o(n){var a="https://react.dev/errors/"+n;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)a+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+n+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function c(n){var a=n,l=n;if(n.alternate)for(;a.return;)a=a.return;else{n=a;do a=n,(a.flags&4098)!==0&&(l=a.return),n=a.return;while(n)}return a.tag===3?l:null}function d(n){if(n.tag===13){var a=n.memoizedState;if(a===null&&(n=n.alternate,n!==null&&(a=n.memoizedState)),a!==null)return a.dehydrated}return null}function p(n){if(c(n)!==n)throw Error(o(188))}function m(n){var a=n.alternate;if(!a){if(a=c(n),a===null)throw Error(o(188));return a!==n?null:n}for(var l=n,u=a;;){var g=l.return;if(g===null)break;var E=g.alternate;if(E===null){if(u=g.return,u!==null){l=u;continue}break}if(g.child===E.child){for(E=g.child;E;){if(E===l)return p(g),n;if(E===u)return p(g),a;E=E.sibling}throw Error(o(188))}if(l.return!==u.return)l=g,u=E;else{for(var V=!1,Z=g.child;Z;){if(Z===l){V=!0,l=g,u=E;break}if(Z===u){V=!0,u=g,l=E;break}Z=Z.sibling}if(!V){for(Z=E.child;Z;){if(Z===l){V=!0,l=E,u=g;break}if(Z===u){V=!0,u=E,l=g;break}Z=Z.sibling}if(!V)throw Error(o(189))}}if(l.alternate!==u)throw Error(o(190))}if(l.tag!==3)throw Error(o(188));return l.stateNode.current===l?n:a}function f(n){var a=n.tag;if(a===5||a===26||a===27||a===6)return n;for(n=n.child;n!==null;){if(a=f(n),a!==null)return a;n=n.sibling}return null}var h=Object.assign,v=Symbol.for("react.element"),y=Symbol.for("react.transitional.element"),x=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),T=Symbol.for("react.consumer"),k=Symbol.for("react.context"),D=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),R=Symbol.for("react.suspense_list"),_=Symbol.for("react.memo"),M=Symbol.for("react.lazy"),N=Symbol.for("react.activity"),P=Symbol.for("react.memo_cache_sentinel"),L=Symbol.iterator;function I(n){return n===null||typeof n!="object"?null:(n=L&&n[L]||n["@@iterator"],typeof n=="function"?n:null)}var W=Symbol.for("react.client.reference");function ae(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===W?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case b:return"Fragment";case A:return"Profiler";case S:return"StrictMode";case w:return"Suspense";case R:return"SuspenseList";case N:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case x:return"Portal";case k:return(n.displayName||"Context")+".Provider";case T:return(n._context.displayName||"Context")+".Consumer";case D:var a=n.render;return n=n.displayName,n||(n=a.displayName||a.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case _:return a=n.displayName||null,a!==null?a:ae(n.type)||"Memo";case M:a=n._payload,n=n._init;try{return ae(n(a))}catch{}}return null}var Q=Array.isArray,B=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,q=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,K={pending:!1,data:null,method:null,action:null},U=[],$=-1;function Y(n){return{current:n}}function z(n){0>$||(n.current=U[$],U[$]=null,$--)}function O(n,a){$++,U[$]=n.current,n.current=a}var F=Y(null),H=Y(null),X=Y(null),te=Y(null);function J(n,a){switch(O(X,a),O(H,n),O(F,null),a.nodeType){case 9:case 11:n=(n=a.documentElement)&&(n=n.namespaceURI)?Vf(n):0;break;default:if(n=a.tagName,a=a.namespaceURI)a=Vf(a),n=qf(a,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}z(F),O(F,n)}function ce(){z(F),z(H),z(X)}function ue(n){n.memoizedState!==null&&O(te,n);var a=
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Go+n+Nc}var Wo=!1;function Yo(n,a){if(!n||Wo)return"";Wo=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var u={DetermineComponentFrameRoot:function(){try{if(a){var Ve=function(){throw Error()};if(Object.defineProperty(Ve.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ve,[])}catch(ze){var Fe=ze}Reflect.construct(n,[],Ve)}else{try{Ve.call()}catch(ze){Fe=ze}n.call(Ve.prototype)}}else{try{throw Error()}catch(ze){Fe=ze}(Ve=n())&&typeof Ve.catch=="function"&&Ve.catch(function(){})}}catch(ze){if(ze&&Fe&&typeof ze.stack=="string")return[ze.stack,Fe.stack]}return[null,null]}};u.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var g=Object.getOwnPropertyDescriptor(u.DetermineComponentFrameRoot,"name");g&&g.configurable&&Object.defineProperty(u.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var E=u.DetermineComponentFrameRoot(),V=E[0],Z=E[1];if(V&&Z){var fe=V.split(`
`),Oe=Z.split(`
`);for(g=u=0;u<fe.length&&!fe[u].includes("DetermineComponentFrameRoot");)u++;for(;g<Oe.length&&!Oe[g].includes("DetermineComponentFrameRoot");)g++;if(u===fe.length||g===Oe.length)for(u=fe.length-1,g=Oe.length-1;1<=u&&0<=g&&fe[u]!==Oe[g];)g--;for(;1<=u&&0<=g;u--,g--)if(fe[u]!==Oe[g]){if(u!==1||g!==1)do if(u--,g--,0>g||fe[u]!==Oe[g]){var Ue=`
`+fe[u].replace(" at new "," at ");return n.displayName&&Ue.includes("<anonymous>")&&(Ue=Ue.replace("<anonymous>",n.displayName)),Ue}while(1<=u&&0<=g);break}}}finally{Wo=!1,Error.prepareStackTrace=l}return(l=n?n.displayName||n.name:"")?Lr(l):""}function Jp(n){switch(n.tag){case 26:case 27:case 5:return Lr(n.type);case 16:return Lr("Lazy");case 13:return Lr("Suspense");case 19:return Lr("SuspenseList");case 0:case 15:return Yo(n.type,!1);case 11:return Yo(n.type.render,!1);case 1:return Yo(n.type,!0);case 31:return Lr("Activity");default:return""}}function Fc(n){try{var a="";do a+=Jp(n),n=n.return;while(n);return a}catch(l){return`
Error generating stack: `+l.message+`
`+l.stack}}function gn(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function $c(n){var a=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function eh(n){var a=$c(n)?"checked":"value",l=Object.getOwnPropertyDescriptor(n.constructor.prototype,a),u=""+n[a];if(!n.hasOwnProperty(a)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var g=l.get,E=l.set;return Object.defineProperty(n,a,{configurable:!0,get:function(){return g.call(this)},set:function(V){u=""+V,E.call(this,V)}}),Object.defineProperty(n,a,{enumerable:l.enumerable}),{getValue:function(){return u},setValue:function(V){u=""+V},stopTracking:function(){n._valueTracker=null,delete n[a]}}}}function Ai(n){n._valueTracker||(n._valueTracker=eh(n))}function Ic(n){if(!n)return!1;var a=n._valueTracker;if(!a)return!0;var l=a.getValue(),u="";return n&&(u=$c(n)?n.checked?"true":"false":n.value),n=u,n!==l?(a.setValue(n),!0):!1}function Ci(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}var th=/[\n"\\]/g;function vn(n){return n.replace(th,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function Xo(n,a,l,u,g,E,V,Z){n.name="",V!=null&&typeof V!="function"&&typeof V!="symbol"&&typeof V!="boolean"?n.type=V:n.removeAttribute("type"),a!=null?V==="number"?(a===0&&n.value===""||n.value!=a)&&(n.value=""+gn(a)):n.value!==""+gn(a)&&(n.value=""+gn(a)):V!=="submit"&&V!=="reset"||n.removeAttribute("value"),a!=null?Ko(n,V,gn(a)):l!=null?Ko(n,V,gn(l)):u!=null&&n.removeAttribute("value"),g==null&&E!=null&&(n.defaultChecked=!!E),g!=null&&(n.checked=g&&typeof g!="function"&&typeof g!="symbol"),Z!=null&&typeof Z!="function"&&typeof Z!="symbol"&&typeof Z!="boolean"?n.name=""+gn(Z):n.removeAttribute("name")}function zc(n,a,l,u,g,E,V,Z){if(E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"&&(n.type=E),a!=null||l!=null){if(!(E!=="submit"&&E!=="reset"||a!=null))return;l=l!=null?""+gn(l):"",a=a!=null?""+gn(a):l,Z||a===n.value||(n.value=a),n.defaultValue=a}u=u??g,u=typeof u!="function"&&typeof u!="symbol"&&!!u,n.checked=Z?n.checked:!!u,n.defaultChecked=!!u,V!=null&&typeof V!="function"&&typeof V!="symbol"&&typeof V!="boolean"&&(n.name=V)}function Ko(n,a,l){a==="number"&&Ci(n.ownerDocument)===n||n.defaultValue===""+l||(n.defaultValue=""+l)}function Nr(n,a,l,u){if(n=n.options,a){a={};for(var g=0;g<l.length;g++)a["$"+l[g]]=!0;for(l=0;l<n.length;l++)g=a.hasOwnProperty("$"+n[l].value),n[l].selected!==g&&(n[l].selected=g),g&&u&&(n[l].defaultSelected=!0)}else{for(l=""+gn(l),a=null,g=0;g<n.length;g++){if(n[g].value===l){n[g].selected=!0,u&&(n[g].defaultSelected=!0);return}a!==null||n[g].disabled||(a=n[g])}a!==null&&(a.selected=!0)}}function Bc(n,a,l){if(a!=null&&(a=""+gn(a),a!==n.value&&(n.value=a),l==null)){n.defaultValue!==a&&(n.defaultValue=a);return}n.defaultValue=l!=null?""+gn(l):""}function Uc(n,a,l,u){if(a==null){if(u!=null){if(l!=null)throw Error(o(92));if(Q(u)){if(1<u.length)throw Error(o(93));u=u[0]}l=u}l==null&&(l=""),a=l}l=gn(a),n.defaultValue=l,u=n.textContent,u===l&&u!==""&&u!==null&&(n.value=u)}function Fr(n,a){if(a){var l=n.firstChild;if(l&&l===n.lastChild&&l.nodeType===3){l.nodeValue=a;return}}n.textContent=a}var nh=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGri
`).replace(Tm,"")}function Hf(n,a){return a=Uf(a),Uf(n)===a}function bo(){}function Mt(n,a,l,u,g,E){switch(l){case"children":typeof u=="string"?a==="body"||a==="textarea"&&u===""||Fr(n,u):(typeof u=="number"||typeof u=="bigint")&&a!=="body"&&Fr(n,""+u);break;case"className":Ei(n,"class",u);break;case"tabIndex":Ei(n,"tabindex",u);break;case"dir":case"role":case"viewBox":case"width":case"height":Ei(n,l,u);break;case"style":Vc(n,u,E);break;case"data":if(a!=="object"){Ei(n,"data",u);break}case"src":case"href":if(u===""&&(a!=="a"||l!=="href")){n.removeAttribute(l);break}if(u==null||typeof u=="function"||typeof u=="symbol"||typeof u=="boolean"){n.removeAttribute(l);break}u=wi(""+u),n.setAttribute(l,u);break;case"action":case"formAction":if(typeof u=="function"){n.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof E=="function"&&(l==="formAction"?(a!=="input"&&Mt(n,a,"name",g.name,g,null),Mt(n,a,"formEncType",g.formEncType,g,null),Mt(n,a,"formMethod",g.formMethod,g,null),Mt(n,a,"formTarget",g.formTarget,g,null)):(Mt(n,a,"encType",g.encType,g,null),Mt(n,a,"method",g.method,g,null),Mt(n,a,"target",g.target,g,null)));if(u==null||typeof u=="symbol"||typeof u=="boolean"){n.removeAttribute(l);break}u=wi(""+u),n.setAttribute(l,u);break;case"onClick":u!=null&&(n.onclick=bo);break;case"onScroll":u!=null&&Ct("scroll",n);break;case"onScrollEnd":u!=null&&Ct("scrollend",n);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(o(61));if(l=u.__html,l!=null){if(g.children!=null)throw Error(o(60));n.innerHTML=l}}break;case"multiple":n.multiple=u&&typeof u!="function"&&typeof u!="symbol";break;case"muted":n.muted=u&&typeof u!="function"&&typeof u!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(u==null||typeof u=="function"||typeof u=="boolean"||typeof u=="symbol"){n.removeAttribute("xlink:href");break}l=wi(""+u),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":u!=null&&typeof u!="function"&&typeof u!="symbol"?n.setAttribute(l,""+u):n.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":u&&typeof u!="function"&&typeof u!="symbol"?n.setAttribute(l,""):n.removeAttribute(l);break;case"capture":case"download":u===!0?n.setAttribute(l,""):u!==!1&&u!=null&&typeof u!="function"&&typeof u!="symbol"?n.setAttribute(l,u):n.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":u!=null&&typeof u!="function"&&typeof u!="symbol"&&!isNaN(u)&&1<=u?n.setAttribute(l,u):n.removeAttribute(l);break;case"rowSpan":case"start":u==null||typeof u=="function"||typeof u=="symbol"||isNaN(u)?n.removeAttribute(l):n.setAttribute(l,u);break;case"popover":Ct("beforetoggle",n),Ct("toggle",n),Si(n,"popover",u);break;case"xlinkActuate":jn(n,"http://www.w3.org/1999/xlink","xlink:actuate",u);break;case"xlinkArcrole":jn(n,"http://www.w3.org/1999/xlink","xlink:arcrole",u);break;case"xlinkRole":jn(n,"http://www.w3.org/1999/xlink","xlink:role",u);break;case"xlinkShow":jn(n,"http://www.w3.org/1999/xlink","xlink:show",u);break;case"xlinkTitle":jn(n,"http://www.w3.org/1999/xlink","xlink:title",u);break;case"xlinkType":jn(n,"http://www.w3.org/1999/xlink","xlink:type",u);break;case"xmlBase":jn(n,"http://www.w3.org/XML/1998/nam
${e}[data-mantine-color-scheme="dark"] { --mantine-color-scheme: dark; }
${e}[data-mantine-color-scheme="light"] { --mantine-color-scheme: light; }
`}function MantineCssVariables({cssVariablesSelector:e,deduplicateCssVariables:t}){const i=useMantineTheme(),o=useMantineStyleNonce(),s=useMantineCssVariablesResolver(),c=getMergedVariables({theme:i,generator:s}),d=e===":root"&&t,p=d?removeDefaultVariables(c):c,m=convertCssVariables(p,e);return m?jsxRuntimeExports.jsx("style",{"data-mantine-styles":!0,nonce:o==null?void 0:o(),dangerouslySetInnerHTML:{__html:`${m}${d?"":getColorSchemeCssVariables(e)}`}}):null}MantineCssVariables.displayName="@mantine/CssVariables";function setColorSchemeAttribute(e,t){var s,c;const i=typeof window<"u"&&"matchMedia"in window&&((s=window.matchMedia("(prefers-color-scheme: dark)"))==null?void 0:s.matches),o=e!=="auto"?e:i?"dark":"light";(c=t())==null||c.setAttribute("data-mantine-color-scheme",o)}function useProviderColorScheme({manager:e,defaultColorScheme:t,getRootElement:i,forceColorScheme:o}){const s=reactExports.useRef(null),[c,d]=reactExports.useState(()=>e.get(t)),p=o||c,m=reactExports.useCallback(h=>{o||(setColorSchemeAttribute(h,i),d(h),e.set(h))},[e.set,p,o]),f=reactExports.useCallback(()=>{d(t),setColorSchemeAttribute(t,i),e.clear()},[e.clear,t]);return reactExports.useEffect(()=>(e.subscribe(m),e.unsubscribe),[e.subscribe,e.unsubscribe]),useIsomorphicEffect(()=>{setColorSchemeAttribute(e.get(t),i)},[]),reactExports.useEffect(()=>{var v;if(o)return setColorSchemeAttribute(o,i),()=>{};o===void 0&&setColorSchemeAttribute(c,i),typeof window<"u"&&"matchMedia"in window&&(s.current=window.matchMedia("(prefers-color-scheme: dark)"));const h=y=>{c==="auto"&&setColorSchemeAttribute(y.matches?"dark":"light",i)};return(v=s.current)==null||v.addEventListener("change",h),()=>{var y;return(y=s.current)==null?void 0:y.removeEventListener("change",h)}},[c,o]),{colorScheme:p,setColorScheme:m,clearColorScheme:f}}function useRespectReduceMotion({respectReducedMotion:e,getRootElement:t}){useIsomorphicEffect(()=>{var i;e&&((i=t())==null||i.setAttribute("data-respect-reduced-motion","true"))},[e])}function MantineProvider({theme:e,children:t,getStyleNonce:i,withStaticClasses:o=!0,withGlobalClasses:s=!0,deduplicateCssVariables:c=!0,withCssVariables:d=!0,cssVariablesSelector:p=":root",classNamesPrefix:m="mantine",colorSchemeManager:f=localStorageColorSchemeManager(),defaultColorScheme:h="light",getRootElement:v=()=>document.documentElement,cssVariablesResolver:y,forceColorScheme:x,stylesTransform:b,env:S}){const{colorScheme:A,setColorScheme:C,clearColorScheme:T}=useProviderColorScheme({defaultColorScheme:h,forceColorScheme:x,manager:f,getRootElement:v});return useRespectReduceMotion({respectReducedMotion:(e==null?void 0:e.respectReducedMotion)||!1,getRootElement:v}),jsxRuntimeExports.jsx(MantineContext.Provider,{value:{colorScheme:A,setColorScheme:C,clearColorScheme:T,getRootElement:v,classNamesPrefix:m,getStyleNonce:i,cssVariablesResolver:y,cssVariablesSelector:p,withStaticClasses:o,stylesTransform:b,env:S},children:jsxRuntimeExports.jsxs(MantineThemeProvider,{theme:e,children:[d&&jsxRuntimeExports.jsx(MantineCssVariables,{cssVariablesSelector:p,deduplicateCssVariables:c}),s&&jsxRuntimeExports.jsx(MantineClasses,{}),t]})})}MantineProvider.displayName="@mantine/core/MantineProvider";function useResolvedStylesApi({classNames:e,styles:t,props:i,stylesCtx:o}){const s=useMantineTheme();return{resolvedClassNames:resolveClassNames({theme:s,classNames:e,props:i,stylesCtx:o||void 0}),resolvedStyles:resolveStyles({theme:s,styles:t,props:i,stylesCtx:o||void 0})}}const FOCUS_CLASS_NAMES={always:"mantine-focus-always",auto:"mantine-focus-auto",never:"mantine-focus-never"};function getGlobalClassNames({theme:e,options:t,unstyled:i}){return clsx((t==null?void 0:t.focusable)&&!i&&(e.focusClassName||FOCUS_CLASS_NAMES[e.focusRing]),(t==null?void 0:t.active)&&!i&&e.activeClassName)}function getOptionsClassNames({selector:e,stylesCtx:t,options:i,props:o,theme:s}){return resolveClassNames({theme:s,classNames:i==null?void 0:i.classNames,props:(i==null?void 0:i.props)||o,stylesCtx:t})[e]}function getResolvedClassNames({selector:e,stylesCtx:t,theme:i,classNames:o,props:s}){re
var _colorScheme = window.localStorage.getItem("${t}");
var colorScheme = _colorScheme === "light" || _colorScheme === "dark" || _colorScheme === "auto" ? _colorScheme : "${e}";
var computedColorScheme = colorScheme !== "auto" ? colorScheme : window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
document.documentElement.setAttribute("data-mantine-color-scheme", computedColorScheme);
} catch (e) {}
`;function ColorSchemeScript({defaultColorScheme:e="light",localStorageKey:t="mantine-color-scheme-value",forceColorScheme:i,...o}){const s=["light","dark","auto"].includes(e)?e:"light";return jsxRuntimeExports.jsx("script",{...o,"data-mantine-script":!0,dangerouslySetInnerHTML:{__html:getScript({defaultColorScheme:s,localStorageKey:t,forceColorScheme:i})}})}function useProps(e,t,i){var d;const o=useMantineTheme(),s=(d=o.components[e])==null?void 0:d.defaultProps,c=typeof s=="function"?s(o):s;return{...t,...c,...filterProps(i)}}function cssObjectToString(e){return keys(e).reduce((t,i)=>e[i]!==void 0?`${t}${camelToKebabCase(i)}:${e[i]};`:t,"").trim()}function stylesToString({selector:e,styles:t,media:i,container:o}){const s=t?cssObjectToString(t):"",c=Array.isArray(i)?i.map(p=>`@media${p.query}{${e}{${cssObjectToString(p.styles)}}}`):[],d=Array.isArray(o)?o.map(p=>`@container ${p.query}{${e}{${cssObjectToString(p.styles)}}}`):[];return`${s?`${e}{${s}}`:""}${c.join("")}${d.join("")}`.trim()}function InlineStyles(e){const t=useMantineStyleNonce();return jsxRuntimeExports.jsx("style",{"data-mantine-styles":"inline",nonce:t==null?void 0:t(),dangerouslySetInnerHTML:{__html:stylesToString(e)}})}function extractStyleProps(e){const{m:t,mx:i,my:o,mt:s,mb:c,ml:d,mr:p,me:m,ms:f,p:h,px:v,py:y,pt:x,pb:b,pl:S,pr:A,pe:C,ps:T,bd:k,bg:D,c:w,opacity:R,ff:_,fz:M,fw:N,lts:P,ta:L,lh:I,fs:W,tt:ae,td:Q,w:B,miw:q,maw:K,h:U,mih:$,mah:Y,bgsz:z,bgp:O,bgr:F,bga:H,pos:X,top:te,left:J,bottom:ce,right:ue,inset:Ae,display:Ee,flex:Me,hiddenFrom:je,visibleFrom:ke,lightHidden:ge,darkHidden:oe,sx:G,...ee}=e;return{styleProps:filterProps({m:t,mx:i,my:o,mt:s,mb:c,ml:d,mr:p,me:m,ms:f,p:h,px:v,py:y,pt:x,pb:b,pl:S,pr:A,pe:C,ps:T,bd:k,bg:D,c:w,opacity:R,ff:_,fz:M,fw:N,lts:P,ta:L,lh:I,fs:W,tt:ae,td:Q,w:B,miw:q,maw:K,h:U,mih:$,mah:Y,bgsz:z,bgp:O,bgr:F,bga:H,pos:X,top:te,left:J,bottom:ce,right:ue,inset:Ae,display:Ee,flex:Me,hiddenFrom:je,visibleFrom:ke,lightHidden:ge,darkHidden:oe,sx:G}),rest:ee}}const STYlE_PROPS_DATA={m:{type:"spacing",property:"margin"},mt:{type:"spacing",property:"marginTop"},mb:{type:"spacing",property:"marginBottom"},ml:{type:"spacing",property:"marginLeft"},mr:{type:"spacing",property:"marginRight"},ms:{type:"spacing",property:"marginInlineStart"},me:{type:"spacing",property:"marginInlineEnd"},mx:{type:"spacing",property:"marginInline"},my:{type:"spacing",property:"marginBlock"},p:{type:"spacing",property:"padding"},pt:{type:"spacing",property:"paddingTop"},pb:{type:"spacing",property:"paddingBottom"},pl:{type:"spacing",property:"paddingLeft"},pr:{type:"spacing",property:"paddingRight"},ps:{type:"spacing",property:"paddingInlineStart"},pe:{type:"spacing",property:"paddingInlineEnd"},px:{type:"spacing",property:"paddingInline"},py:{type:"spacing",property:"paddingBlock"},bd:{type:"border",property:"border"},bg:{type:"color",property:"background"},c:{type:"textColor",property:"color"},opacity:{type:"identity",property:"opacity"},ff:{type:"fontFamily",property:"fontFamily"},fz:{type:"fontSize",property:"fontSize"},fw:{type:"identity",property:"fontWeight"},lts:{type:"size",property:"letterSpacing"},ta:{type:"identity",property:"textAlign"},lh:{type:"lineHeight",property:"lineHeight"},fs:{type:"identity",property:"fontStyle"},tt:{type:"identity",property:"textTransform"},td:{type:"identity",property:"textDecoration"},w:{type:"spacing",property:"width"},miw:{type:"spacing",property:"minWidth"},maw:{type:"spacing",property:"maxWidth"},h:{type:"spacing",property:"height"},mih:{type:"spacing",property:"minHeight"},mah:{type:"spacing",property:"maxHeight"},bgsz:{type:"size",property:"backgroundSize"},bgp:{type:"identity",property:"backgroundPosition"},bgr:{type:"identity",property:"backgroundRepeat"},bga:{type:"identity",property:"backgroundAttachment"},pos:{type:"identity",property:"position"},top:{type:"size",property:"top"},left:{type:"size",property:"left"},bottom:{type:"size",property:"bottom"},right:{type:"size",property:"right"},inset:{type:"size",property:"inset"},display:{type:"identity",property:"display"},flex:{type:"identity",property:"fl
Decimal separator can't be same as thousand separator.
thousandSeparator: `+i+` (thousandSeparator = {true} is same as thousandSeparator = ",")
decimalSeparator: `+o+` (default value for decimalSeparator is .)
`);return s.startsWith("-")&&c&&(console.error(`
Prefix can't start with '-' when allowNegative is true.
prefix: `+s+`
allowNegative: `+c+`
`),c=!1),Object.assign(Object.assign({},e),{allowNegative:c})}function useNumericFormat(e){e=validateAndUpdateProps(e),e.decimalSeparator,e.allowedDecimalSeparators,e.thousandsGroupStyle;var t=e.suffix,i=e.allowNegative,o=e.allowLeadingZeros,s=e.onKeyDown;s===void 0&&(s=noop$2);var c=e.onBlur;c===void 0&&(c=noop$2);var d=e.thousandSeparator,p=e.decimalScale,m=e.fixedDecimalScale,f=e.prefix;f===void 0&&(f="");var h=e.defaultValue,v=e.value,y=e.valueIsNumericString,x=e.onValueChange,b=__rest(e,["decimalSeparator","allowedDecimalSeparators","thousandsGroupStyle","suffix","allowNegative","allowLeadingZeros","onKeyDown","onBlur","thousandSeparator","decimalScale","fixedDecimalScale","prefix","defaultValue","value","valueIsNumericString","onValueChange"]),S=getSeparators(e),A=S.decimalSeparator,C=S.allowedDecimalSeparators,T=function(B){return format(B,e)},k=function(B,q){return removeFormatting(B,q,e)},D=isNil(v)?h:v,w=y??isNumericString(D,f,t);isNil(v)?isNil(h)||(w=w||typeof h=="number"):w=w||typeof v=="number";var R=function(B){return isNotValidValue(B)?B:(typeof B=="number"&&(B=toNumericString(B)),w&&typeof p=="number"?roundToPrecision(B,p,!!m):B)},_=useInternalValues(R(v),R(h),!!w,T,k,x),M=_[0],N=M.numAsString,P=M.formattedValue,L=_[1],I=function(B){var q=B.target,K=B.key,U=q.selectionStart,$=q.selectionEnd,Y=q.value;if(Y===void 0&&(Y=""),(K==="Backspace"||K==="Delete")&&$<f.length){B.preventDefault();return}if(U!==$){s(B);return}K==="Backspace"&&Y[0]==="-"&&U===f.length+1&&i&&setCaretPosition(q,1),p&&m&&(K==="Backspace"&&Y[U-1]===A?(setCaretPosition(q,U-1),B.preventDefault()):K==="Delete"&&Y[U]===A&&B.preventDefault()),C!=null&&C.includes(K)&&Y[U]===A&&setCaretPosition(q,U+1);var z=d===!0?",":d;K==="Backspace"&&Y[U-1]===z&&setCaretPosition(q,U-1),K==="Delete"&&Y[U]===z&&setCaretPosition(q,U+1),s(B)},W=function(B){var q=N;if(q.match(/\d/g)||(q=""),o||(q=fixLeadingZero(q)),m&&p&&(q=roundToPrecision(q,p,m)),q!==N){var K=format(q,e);L({formattedValue:K,value:q,floatValue:parseFloat(q)},{event:B,source:SourceType.event})}c(B)},ae=function(B){return B===A?!0:charIsNumber(B)},Q=function(B){var q=B.currentValue,K=B.lastValue,U=B.formattedValue,$=B.currentValueIndex,Y=B.formattedValueIndex,z=q[$],O=U[Y],F=findChangeRange(K,q),H=F.to,X=function(te){return k(te).indexOf(".")+f.length};return v===0&&m&&p&&q[H.start]===A&&X(q)<$&&X(U)>Y?!1:$>=H.start&&$<H.end&&C&&C.includes(z)&&O===A?!0:z===O};return Object.assign(Object.assign({},b),{value:P,valueIsNumericString:!1,isValidInputCharacter:ae,isCharacterSame:Q,onValueChange:L,format:T,removeFormatting:k,getCaretBoundary:function(B){return getCaretBoundary(B,e)},onKeyDown:I,onBlur:W})}function NumericFormat(e){var t=useNumericFormat(e);return React.createElement(NumberFormatBase,Object.assign({},t))}function NumberInputChevron({direction:e,style:t,...i}){return jsxRuntimeExports.jsx("svg",{style:{width:"var(--ni-chevron-size)",height:"var(--ni-chevron-size)",transform:e==="up"?"rotate(180deg)":void 0,...t},viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:jsxRuntimeExports.jsx("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}var classes$6={root:"m_e2f5cd4e",controls:"m_95e17d22",control:"m_80b4b171"};const leadingDecimalZeroPattern=/^(0\.0*|-0(\.0*)?)$/,leadingZerosPattern=/^-?0\d+(\.\d+)?\.?$/;function isNumberString(e){return typeof e=="string"&&e!==""&&!Number.isNaN(Number(e))}function canIncrement(e){return typeof e=="number"?e<Number.MAX_SAFE_INTEGER:e===""||isNumberString(e)&&Number(e)<Number.MAX_SAFE_INTEGER}function getDecimalPlaces(e){return e.toString().replace(".","").length}function isValidNumber(e,t){return(typeof e=="number"?e<Number.MAX_SAFE_INTEGER:!Number.isNaN(Number(e)))&&!Number.isNaN(e)&&getDecima
Please change the parent <Route path="${T}"> to <Route path="${T==="/"?"*":`${T}/*`}">.`)}let y=useLocation(),x;x=y;let b=x.pathname||"/",S=b;if(h!=="/"){let T=h.replace(/^\//,"").split("/");S="/"+b.replace(/^\//,"").split("/").slice(T.length).join("/")}let A=!c&&i&&i.matches&&i.matches.length>0?i.matches:matchRoutes(e,{pathname:S});return warning(v||A!=null,`No routes matched location "${x.pathname}${x.search}${x.hash}" `),warning(A==null||A[A.length-1].route.element!==void 0||A[A.length-1].route.Component!==void 0||A[A.length-1].route.lazy!==void 0,`Matched leaf route at location "${x.pathname}${x.search}${x.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`),_renderMatches(A&&A.map(T=>Object.assign({},T,{params:Object.assign({},m,T.params),pathname:joinPaths([h,s.encodeLocation?s.encodeLocation(T.pathname).pathname:T.pathname]),pathnameBase:T.pathnameBase==="/"?h:joinPaths([h,s.encodeLocation?s.encodeLocation(T.pathnameBase).pathname:T.pathnameBase])})),d,i,o)}function DefaultErrorComponent(){let e=useRouteError(),t=isRouteErrorResponse(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),i=e instanceof Error?e.stack:null,o="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:o},c={padding:"2px 4px",backgroundColor:o},d=null;return console.error("Error handled by React Router default ErrorBoundary:",e),d=reactExports.createElement(reactExports.Fragment,null,reactExports.createElement("p",null,"💿 Hey developer 👋"),reactExports.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",reactExports.createElement("code",{style:c},"ErrorBoundary")," or"," ",reactExports.createElement("code",{style:c},"errorElement")," prop on your route.")),reactExports.createElement(reactExports.Fragment,null,reactExports.createElement("h2",null,"Unexpected Application Error!"),reactExports.createElement("h3",{style:{fontStyle:"italic"}},t),i?reactExports.createElement("pre",{style:s},i):null,d)}var defaultErrorElement=reactExports.createElement(DefaultErrorComponent,null),RenderErrorBoundary=class extends reactExports.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error!==void 0?reactExports.createElement(RouteContext.Provider,{value:this.props.routeContext},reactExports.createElement(RouteErrorContext.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function RenderedRoute({routeContext:e,match:t,children:i}){let o=reactExports.useContext(DataRouterContext);return o&&o.static&&o.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=t.route.id),reactExports.createElement(RouteContext.Provider,{value:e},i)}function _renderMatches(e,t=[],i=null,o=null){if(e==null){if(!i)return null;if(i.errors)e=i.matches;else if(t.length===0&&!i.initialized&&i.matches.length>0)e=i.matches;else return null}let s=e,c=i==null?void 0:i.errors;if(c!=null){let m=s.findIndex(f=>f.route.id&&(c==null?void 0:c[f.route.id])!==void 0);invariant(m>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(c).join(",")}`),s=s.slice(0,Math.min(s.length,m+1))}let d=!1,p=-1;if(i)for(let m=0;m<s.length;m++){let f=s[m];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(p=m),f.route.id){let{loaderData:h,errors:v}=i,y=f.route.loader&&!h.hasOwnProperty(f.route.id)&&(!v||v[f.route.id]===void 0);if(f.route.lazy||y){d=!0,p>=0?s=s.slice(0,p+1):s=[s[0]];brea
* @license React
* react-is.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var hasRequiredReactIs_production;function requireReactIs_production(){if(hasRequiredReactIs_production)return reactIs_production;hasRequiredReactIs_production=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),d=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),y=Symbol.for("react.view_transition"),x=Symbol.for("react.client.reference");function b(S){if(typeof S=="object"&&S!==null){var A=S.$$typeof;switch(A){case e:switch(S=S.type,S){case i:case s:case o:case m:case f:case y:return S;default:switch(S=S&&S.$$typeof,S){case d:case p:case v:case h:return S;case c:return S;default:return A}}case t:return A}}}return reactIs_production.ContextConsumer=c,reactIs_production.ContextProvider=d,reactIs_production.Element=e,reactIs_production.ForwardRef=p,reactIs_production.Fragment=i,reactIs_production.Lazy=v,reactIs_production.Memo=h,reactIs_production.Portal=t,reactIs_production.Profiler=s,reactIs_production.StrictMode=o,reactIs_production.Suspense=m,reactIs_production.SuspenseList=f,reactIs_production.isContextConsumer=function(S){return b(S)===c},reactIs_production.isContextProvider=function(S){return b(S)===d},reactIs_production.isElement=function(S){return typeof S=="object"&&S!==null&&S.$$typeof===e},reactIs_production.isForwardRef=function(S){return b(S)===p},reactIs_production.isFragment=function(S){return b(S)===i},reactIs_production.isLazy=function(S){return b(S)===v},reactIs_production.isMemo=function(S){return b(S)===h},reactIs_production.isPortal=function(S){return b(S)===t},reactIs_production.isProfiler=function(S){return b(S)===s},reactIs_production.isStrictMode=function(S){return b(S)===o},reactIs_production.isSuspense=function(S){return b(S)===m},reactIs_production.isSuspenseList=function(S){return b(S)===f},reactIs_production.isValidElementType=function(S){return typeof S=="string"||typeof S=="function"||S===i||S===s||S===o||S===m||S===f||typeof S=="object"&&S!==null&&(S.$$typeof===v||S.$$typeof===h||S.$$typeof===d||S.$$typeof===c||S.$$typeof===p||S.$$typeof===x||S.getModuleId!==void 0)},reactIs_production.typeOf=b,reactIs_production}var hasRequiredReactIs;function requireReactIs(){return hasRequiredReactIs||(hasRequiredReactIs=1,reactIs.exports=requireReactIs_production()),reactIs.exports}var reactIsExports=requireReactIs();function isPlainObject$1(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function deepClone(e){if(reactExports.isValidElement(e)||reactIsExports.isValidElementType(e)||!isPlainObject$1(e))return e;const t={};return Object.keys(e).forEach(i=>{t[i]=deepClone(e[i])}),t}function deepmerge(e,t,i={clone:!0}){const o=i.clone?{...e}:e;return isPlainObject$1(e)&&isPlainObject$1(t)&&Object.keys(t).forEach(s=>{reactExports.isValidElement(t[s])||reactIsExports.isValidElementType(t[s])?o[s]=t[s]:isPlainObject$1(t[s])&&Object.prototype.hasOwnProperty.call(e,s)&&isPlainObject$1(e[s])?o[s]=deepmerge(e[s],t[s],i):i.clone?o[s]=isPlainObject$1(t[s])?deepClone(t[s]):t[s]:o[s]=t[s]}),o}function merge$1(e,t){return t?deepmerge(e,t,{clone:!1}):e}function sortContainerQueries(e,t){if(!e.containerQueries)return t;const i=Object.keys(t).filter(o=>o.startsWith("@container")).sort((o,s)=>{var d,p;const c=/min-width:\s*([0-9.]+)/;return+(((d=o.match(c))==null?void 0:d[1])||0)-+(((p=s.match(c))==null?void 0:p[1])||0)});return i.length?i.reduce((o,s)=>{const c=t[s];return delete o[s],o[s]=c,o},{...t}):t}function isCqShorthand(e,t){return t==="@"||t.startsWith("@")&&(e.some(i=>t.startsWith(`@${i}`))||!!t.match(/^@\d/))}function getContainerQuery(e,t){const i=t.match(/^@([^/]+)?\/?(.+)?$/);if(!i)return null;const[,o,s]=i,c=Number.isNaN(+o)?o||0:+o;return e.containerQueries(s).up(c)}func
const theme = ${JSON.stringify(t,null,2)};
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
theme.transitions = createTransitions(theme.transitions || {});
export default theme;`}function createThemeNoVars(e={},...t){const{breakpoints:i,mixins:o={},spacing:s,palette:c={},transitions:d={},typography:p={},shape:m,...f}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(formatMuiErrorMessage(20));const h=createPalette(c),v=createTheme$1(e);let y=deepmerge(v,{mixins:createMixins(v.breakpoints,o),palette:h,shadows:shadows.slice(),typography:createTypography(h,p),transitions:createTransitions(d),zIndex:{...zIndex}});return y=deepmerge(y,f),y=t.reduce((x,b)=>deepmerge(x,b),y),y.unstable_sxConfig={...defaultSxConfig,...f==null?void 0:f.unstable_sxConfig},y.unstable_sx=function(b){return styleFunctionSx({sx:b,theme:this})},y.toRuntimeSource=stringifyTheme,y}function getOverlayAlpha(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const defaultDarkOverlays=[...Array(25)].map((e,t)=>{if(t===0)return"none";const i=getOverlayAlpha(t);return`linear-gradient(rgba(255 255 255 / ${i}), rgba(255 255 255 / ${i}))`});function getOpacity(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function getOverlays(e){return e==="dark"?defaultDarkOverlays:[]}function createColorScheme(e){const{palette:t={mode:"light"},opacity:i,overlays:o,...s}=e,c=createPalette(t);return{palette:c,opacity:{...getOpacity(c.mode),...i},overlays:o||getOverlays(c.mode),...s}}function shouldSkipGeneratingVar(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const excludeVariablesFromRoot=e=>[...[...Array(25)].map((t,i)=>`--${e?`${e}-`:""}overlays-${i}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],defaultGetSelector=e=>(t,i)=>{const o=e.rootSelector||":root",s=e.colorSchemeSelector;let c=s;if(s==="class"&&(c=".%s"),s==="data"&&(c="[data-%s]"),s!=null&&s.startsWith("data-")&&!s.includes("%s")&&(c=`[${s}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const d={};return excludeVariablesFromRoot(e.cssVarPrefix).forEach(p=>{d[p]=i[p],delete i[p]}),c==="media"?{[o]:i,"@media (prefers-color-scheme: dark)":{[o]:d}}:c?{[c.replace("%s",t)]:d,[`${o}, ${c.replace("%s",t)}`]:i}:{[o]:{...i,...d}}}if(c&&c!=="media")return`${o}, ${c.replace("%s",String(t))}`}else if(t){if(c==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[o]:i}};if(c)return c.replace("%s",String(t))}return o};function assignNode(e,t){t.forEach(i=>{e[i]||(e[i]={})})}function setColor(e,t,i){!e[t]&&i&&(e[t]=i)}function toRgb(e){return typeof e!="string"||!e.startsWith("hsl")?e:hslToRgb(e)}function setColorChannel(e,t){`${t}Channel`in e||(e[`${t}Channel`]=private_safeColorChannel(toRgb(e[t])))}function getSpacingVal(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const silent=e=>{try{return e()}catch{}},createGetCssVar=(e="mui")=>createGetCssVar$1(e);function attachColorScheme$1(e,t,i,o){if(!t)return;t=t===!0?{}:t;const s=o==="dark"?"dark":"light";if(!i){e[o]=createColorScheme({...t,palette:{mode:s,...t==null?void 0:t.palette}});return}const{palette:c,...d}=createThemeNoVars({...i,palette:{mode:s,...t==null?void 0:t.palette}});return e[o]={...t,palette:c,opacity:{...getOpacity(s),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||getOverlays(s)},d}function createThemeWithVars(e={},...t){const{colorSchemes:i={light:!0},defaultColorScheme:o,disableCssColorScheme:s=!1,cssVarPrefix:c="mui",shouldSkipGeneratingVar:d=shouldSkipGeneratingVar,colorSchemeSelector:p=i.light&&i.dark?"media":void 0,rootSelector:m=":root",...f}=e,h=Object.keys(i)[0],v=o||(i.light&&h!=="light"?"light":h),y=createGetCssVar(c),{[v]:x,light:b,dark:S,...A}=i,C={...A};let T=x;if((v==="dark"&&!("dark"in i)||v==="light"&&!("light"in i))&&(T=!0),!T)throw new Error(formatMuiErrorMessage(21,v));const k=attachColorScheme$1(C,T,f,v);b&&!C.light&&attachColorScheme$
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _iterableToArray$1(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function _arrayWithoutHoles$1(e){if(Array.isArray(e))return _arrayLikeToArray$1(e)}function ownKeys$1(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),i.push.apply(i,o)}return i}function _objectSpread$1(e){for(var t=1;t<arguments.length;t++){var i=arguments[t]!=null?arguments[t]:{};t%2?ownKeys$1(Object(i),!0).forEach(function(o){_defineProperty$1(e,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):ownKeys$1(Object(i)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(i,o))})}return e}function _defineProperty$1(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function _slicedToArray$1(e,t){return _arrayWithHoles$1(e)||_iterableToArrayLimit$1(e,t)||_unsupportedIterableToArray$1(e,t)||_nonIterableRest$1()}function _nonIterableRest$1(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$1(e,t){if(e){if(typeof e=="string")return _arrayLikeToArray$1(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 _arrayLikeToArray$1(e,t)}}function _arrayLikeToArray$1(e,t){(t==null||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}function _iterableToArrayLimit$1(e,t){var i=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(i!=null){var o=[],s=!0,c=!1,d,p;try{for(i=i.call(e);!(s=(d=i.next()).done)&&(o.push(d.value),!(t&&o.length===t));s=!0);}catch(m){c=!0,p=m}finally{try{!s&&i.return!=null&&i.return()}finally{if(c)throw p}}return o}}function _arrayWithHoles$1(e){if(Array.isArray(e))return e}var accepts=typeof _accepts=="function"?_accepts:_accepts.default,FILE_INVALID_TYPE="file-invalid-type",FILE_TOO_LARGE="file-too-large",FILE_TOO_SMALL="file-too-small",TOO_MANY_FILES="too-many-files",getInvalidTypeRejectionErr=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",i=t.split(","),o=i.length>1?"one of ".concat(i.join(", ")):i[0];return{code:FILE_INVALID_TYPE,message:"File type must be ".concat(o)}},getTooLargeRejectionErr=function(t){return{code:FILE_TOO_LARGE,message:"File is larger than ".concat(t," ").concat(t===1?"byte":"bytes")}},getTooSmallRejectionErr=function(t){return{code:FILE_TOO_SMALL,message:"File is smaller than ".concat(t," ").concat(t===1?"byte":"bytes")}},TOO_MANY_FILES_REJECTION={code:TOO_MANY_FILES,message:"Too many files"};function fileAccepted(e,t){var i=e.type==="application/x-moz-file"||accepts(e,t);return[i,i?null:getInvalidTypeRejectionErr(t)]}function fileMatchSize(e,t,i){if(isDefined(e.size))if(isDefined(t)&&isDefined(i)){if(e.size>i)return[!1,getTooLargeRejectionErr(i)];if(e.size<t)return[!1,getTooSmallRejectionErr(t)]}else{if(isDefined(t)&&e.size<t)return[!1,getTooSmallRejectionErr(t)];if(isDefined(i)&&e.size>i)return[!1,getTooLargeRejectionErr(i)]}return[!0,null]}function isDefined(e){return e!=null}function allFilesAccepted(e){var t=e.files,i=e.accept,o=e.minSize,s=e.maxSize,c=e.multiple,d=e.maxFiles,p=e.validator;return!c&&t.length>1||c&&d>=1&&t.length>d?!1:t.every(function(m){var f=fileAccepted(m,i),h=_slicedToArray$1(f,1),v=h[0],y=fileMatchSize(m,o,s),x=_slicedToArray$1(y,1),b=x[0],S=p?p(m):null;return v&&b&&!S})}function isPropagationStopped(e){return typeof e.isPropagationStopped=="function"?e.isPropagationStopped():typeof e.cancelBubble<"u"?e.cancelBubble:!1}function isEvtWithFiles(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 onDocumentDragOver(e){e.preventDefault()}function isIe(e){return e.indexOf("MSIE")!==-1||e.indexOf("Trident/")!==-1}function isEdge(e){return e.indexOf("Edge/")!==-1}function isIeOrEdge(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return isIe(e)||isEdge(e)}function composeEventHandlers(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return function(o){for(var s=arguments.length,c=new Array(s>1?s-1:0),d=1;d<s;d++)c[d-1]=arguments[d];return t.some(function(p){return!isPropagationStopped(o)&&p&&p.apply(void 0,[o].concat(c)),isPropagationStopped(o)})}}function canUseFileSystemAccessAPI(){return"showOpenFilePicker"in window}function pickerOptionsFromAccept(e){if(isDefined(e)){var t=Object.entries(e).filter(function(i){var o=_slicedToArray$1(i,2),s=o[0],c=o[1],d=!0;return isMIMEType(s)||(console.warn('Skipped "'.concat(s,'" 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.')),d=!1),(!Array.isArray(c)||!c.every(isExt))&&(console.warn('Skipped "'.concat(s,'" because an invalid file extension wa
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _iterableToArray(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray(e,t){if(e){if(typeof e=="string")return _arrayLikeToArray(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 _arrayLikeToArray(e,t)}}function _arrayLikeToArray(e,t){(t==null||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}function _iterableToArrayLimit(e,t){var i=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(i!=null){var o=[],s=!0,c=!1,d,p;try{for(i=i.call(e);!(s=(d=i.next()).done)&&(o.push(d.value),!(t&&o.length===t));s=!0);}catch(m){c=!0,p=m}finally{try{!s&&i.return!=null&&i.return()}finally{if(c)throw p}}return o}}function _arrayWithHoles(e){if(Array.isArray(e))return e}function ownKeys(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),i.push.apply(i,o)}return i}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var i=arguments[t]!=null?arguments[t]:{};t%2?ownKeys(Object(i),!0).forEach(function(o){_defineProperty(e,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):ownKeys(Object(i)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(i,o))})}return e}function _defineProperty(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function _objectWithoutProperties(e,t){if(e==null)return{};var i=_objectWithoutPropertiesLoose(e,t),o,s;if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(s=0;s<c.length;s++)o=c[s],!(t.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(i[o]=e[o])}return i}function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var i={},o=Object.keys(e),s,c;for(c=0;c<o.length;c++)s=o[c],!(t.indexOf(s)>=0)&&(i[s]=e[s]);return i}var Dropzone$2=reactExports.forwardRef(function(e,t){var i=e.children,o=_objectWithoutProperties(e,_excluded),s=useDropzone(o),c=s.open,d=_objectWithoutProperties(s,_excluded2);return reactExports.useImperativeHandle(t,function(){return{open:c}},[c]),React.createElement(reactExports.Fragment,null,i(_objectSpread(_objectSpread({},d),{},{open:c})))});Dropzone$2.displayName="Dropzone";var defaultProps$2={disabled:!1,getFilesFromEvent:fromEvent,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};Dropzone$2.defaultProps=defaultProps$2;Dropzone$2.propTypes={children:PropTypes.func,accept:PropTypes.objectOf(PropTypes.arrayOf(PropTypes.string)),multiple:PropTypes.bool,preventDropOnDocument:PropTypes.bool,noClick:PropTypes.bool,noKeyboard:PropTypes.bool,noDrag:PropTypes.bool,noDragEventsBubbling:PropTypes.bool,minSize:PropTypes.number,maxSize:PropTypes.number,maxFiles:PropTypes.number,disabled:PropTypes.bool,getFilesFromEvent:PropTypes.func,onFileDialogCancel:PropTypes.func,onFileDialogOpen:PropTypes.func,useFsAccessApi:PropTypes.bool,autoFocus:PropTypes.bool,onDragEnter:PropTypes.func,onDragLeave:PropTypes.func,onDragOver:PropTypes.func,onDrop:PropTypes.func,onDropAccepted:PropTypes.func,onDropRejected:PropTypes.func,onError:PropTypes.func,validator:PropTypes.func};var initialState={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function useDropzone(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=_objectSpread(_objectSpread({},defaultProps$2),e),i=t.accept,o=t.disabled,s=t.getFilesFromEvent,c=t.maxSize,d=t.minSize,p=t.multiple,m=t.maxFiles,f=t.onDragEnter,h=t.onDragLeave,v=t.onDragOver,y=t.onDrop,x=t.onDropAccepted,b=t.onDropRejected,S=t.onFileDialogCancel,A=t.onFileDialogOpen,C=t.useFsAccessApi,T=t.autoFocus,
`);return oe.join("")}}t.StatTimer=k;function D(ge,oe){try{const{protocol:G}=oe?new URL(ge,oe):new URL(ge);return G==="http:"||G==="https:"}catch{return!1}}function w(ge){ge.preventDefault()}function R(ge,oe=!1){return new Promise((G,ee)=>{const de=document.createElement("script");de.src=ge,de.onload=function(pe){oe&&de.remove(),G(pe)},de.onerror=function(){ee(new Error(`Cannot load script at: ${de.src}`))},(document.head||document.documentElement).append(de)})}function _(ge){console.log("Deprecated API usage: "+ge)}let M;class N{static toDateObject(oe){if(!oe||typeof oe!="string")return null;M||(M=new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?"));const G=M.exec(oe);if(!G)return null;const ee=parseInt(G[1],10);let de=parseInt(G[2],10);de=de>=1&&de<=12?de-1:0;let pe=parseInt(G[3],10);pe=pe>=1&&pe<=31?pe:1;let ve=parseInt(G[4],10);ve=ve>=0&&ve<=23?ve:0;let Te=parseInt(G[5],10);Te=Te>=0&&Te<=59?Te:0;let se=parseInt(G[6],10);se=se>=0&&se<=59?se:0;const re=G[7]||"Z";let $e=parseInt(G[8],10);$e=$e>=0&&$e<=23?$e:0;let Le=parseInt(G[9],10)||0;return Le=Le>=0&&Le<=59?Le:0,re==="-"?(ve+=$e,Te+=Le):re==="+"&&(ve-=$e,Te-=Le),new Date(Date.UTC(ee,de,pe,ve,Te,se))}}t.PDFDateString=N;function P(ge,{scale:oe=1,rotation:G=0}){const{width:ee,height:de}=ge.attributes.style,pe=[0,0,parseInt(ee),parseInt(de)];return new x({viewBox:pe,scale:oe,rotation:G})}function L(ge){if(ge.startsWith("#")){const oe=parseInt(ge.slice(1),16);return[(oe&16711680)>>16,(oe&65280)>>8,oe&255]}return ge.startsWith("rgb(")?ge.slice(4,-1).split(",").map(oe=>parseInt(oe)):ge.startsWith("rgba(")?ge.slice(5,-1).split(",").map(oe=>parseInt(oe)).slice(0,3):((0,s.warn)(`Not a valid color format: "${ge}"`),[0,0,0])}function I(ge){const oe=document.createElement("span");oe.style.visibility="hidden",document.body.append(oe);for(const G of ge.keys()){oe.style.color=G;const ee=window.getComputedStyle(oe).color;ge.set(G,L(ee))}oe.remove()}function W(ge){const{a:oe,b:G,c:ee,d:de,e:pe,f:ve}=ge.getTransform();return[oe,G,ee,de,pe,ve]}function ae(ge){const{a:oe,b:G,c:ee,d:de,e:pe,f:ve}=ge.getTransform().invertSelf();return[oe,G,ee,de,pe,ve]}function Q(ge,oe,G=!1,ee=!0){if(oe instanceof x){const{pageWidth:de,pageHeight:pe}=oe.rawDims,{style:ve}=ge,Te=s.FeatureTest.isCSSRoundSupported,se=`var(--scale-factor) * ${de}px`,re=`var(--scale-factor) * ${pe}px`,$e=Te?`round(${se}, 1px)`:`calc(${se})`,Le=Te?`round(${re}, 1px)`:`calc(${re})`;!G||oe.rotation%180===0?(ve.width=$e,ve.height=Le):(ve.width=Le,ve.height=$e)}ee&&ge.setAttribute("data-main-rotation",oe.rotation)}},(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BaseStandardFontDataFactory=t.BaseSVGFactory=t.BaseFilterFactory=t.BaseCanvasFactory=t.BaseCMapReaderFactory=void 0;var o=i(1);class s{constructor(){this.constructor===s&&(0,o.unreachable)("Cannot initialize BaseFilterFactory.")}addFilter(h){return"none"}addHCMFilter(h,v){return"none"}addHighlightHCMFilter(h,v,y,x){return"none"}destroy(h=!1){}}t.BaseFilterFactory=s;class c{constructor(){this.constructor===c&&(0,o.unreachable)("Cannot initialize BaseCanvasFactory.")}create(h,v){if(h<=0||v<=0)throw new Error("Invalid canvas size");const y=this._createCanvas(h,v);return{canvas:y,context:y.getContext("2d")}}reset(h,v,y){if(!h.canvas)throw new Error("Canvas is not specified");if(v<=0||y<=0)throw new Error("Invalid canvas size");h.canvas.width=v,h.canvas.height=y}destroy(h){if(!h.canvas)throw new Error("Canvas is not specified");h.canvas.width=0,h.canvas.height=0,h.canvas=null,h.context=null}_createCanvas(h,v){(0,o.unreachable)("Abstract method `_createCanvas` called.")}}t.BaseCanvasFactory=c;class d{constructor({baseUrl:h=null,isCompressed:v=!0}){this.constructor===d&&(0,o.unreachable)("Cannot initialize BaseCMapReaderFactory."),this.baseUrl=h,this.isCompressed=v}async fetch({name:h}){if(!this.baseUrl)throw new Error('The CMap "baseUrl" parameter must be specified, ensure that the "cMapUrl" and "cMapPacked" API parameters are provided.');if(!h)throw new Error("CMap name must be specified.");const v=this.baseUrl+h+(
`)}return this.compiledGlyphs[f]=new Function("c","size",v.join(""))}return this.compiledGlyphs[f]=function(v,y){for(const x of h)x.cmd==="scale"&&(x.args=[y,-y]),v[x.cmd].apply(v,x.args)}}}t.FontFaceObject=c},(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NodeStandardFontDataFactory=t.NodeFilterFactory=t.NodeCanvasFactory=t.NodeCMapReaderFactory=void 0;var o=i(7);i(1);const s=function(f){return new Promise((h,v)=>{require$$5.readFile(f,(x,b)=>{if(x||!b){v(new Error(x));return}h(new Uint8Array(b))})})};class c extends o.BaseFilterFactory{}t.NodeFilterFactory=c;class d extends o.BaseCanvasFactory{_createCanvas(h,v){return require$$5.createCanvas(h,v)}}t.NodeCanvasFactory=d;class p extends o.BaseCMapReaderFactory{_fetchData(h,v){return s(h).then(y=>({cMapData:y,compressionType:v}))}}t.NodeCMapReaderFactory=p;class m extends o.BaseStandardFontDataFactory{_fetchData(h){return s(h)}}t.NodeStandardFontDataFactory=m},(e,t,i)=>{var K,hc,mc;Object.defineProperty(t,"__esModule",{value:!0}),t.CanvasGraphics=void 0;var o=i(1),s=i(6),c=i(12),d=i(13);const p=16,m=100,f=4096,h=15,v=10,y=1e3,x=16;function b(z,O){if(z._removeMirroring)throw new Error("Context is already forwarding operations.");z.__originalSave=z.save,z.__originalRestore=z.restore,z.__originalRotate=z.rotate,z.__originalScale=z.scale,z.__originalTranslate=z.translate,z.__originalTransform=z.transform,z.__originalSetTransform=z.setTransform,z.__originalResetTransform=z.resetTransform,z.__originalClip=z.clip,z.__originalMoveTo=z.moveTo,z.__originalLineTo=z.lineTo,z.__originalBezierCurveTo=z.bezierCurveTo,z.__originalRect=z.rect,z.__originalClosePath=z.closePath,z.__originalBeginPath=z.beginPath,z._removeMirroring=()=>{z.save=z.__originalSave,z.restore=z.__originalRestore,z.rotate=z.__originalRotate,z.scale=z.__originalScale,z.translate=z.__originalTranslate,z.transform=z.__originalTransform,z.setTransform=z.__originalSetTransform,z.resetTransform=z.__originalResetTransform,z.clip=z.__originalClip,z.moveTo=z.__originalMoveTo,z.lineTo=z.__originalLineTo,z.bezierCurveTo=z.__originalBezierCurveTo,z.rect=z.__originalRect,z.closePath=z.__originalClosePath,z.beginPath=z.__originalBeginPath,delete z._removeMirroring},z.save=function(){O.save(),this.__originalSave()},z.restore=function(){O.restore(),this.__originalRestore()},z.translate=function(H,X){O.translate(H,X),this.__originalTranslate(H,X)},z.scale=function(H,X){O.scale(H,X),this.__originalScale(H,X)},z.transform=function(H,X,te,J,ce,ue){O.transform(H,X,te,J,ce,ue),this.__originalTransform(H,X,te,J,ce,ue)},z.setTransform=function(H,X,te,J,ce,ue){O.setTransform(H,X,te,J,ce,ue),this.__originalSetTransform(H,X,te,J,ce,ue)},z.resetTransform=function(){O.resetTransform(),this.__originalResetTransform()},z.rotate=function(H){O.rotate(H),this.__originalRotate(H)},z.clip=function(H){O.clip(H),this.__originalClip(H)},z.moveTo=function(F,H){O.moveTo(F,H),this.__originalMoveTo(F,H)},z.lineTo=function(F,H){O.lineTo(F,H),this.__originalLineTo(F,H)},z.bezierCurveTo=function(F,H,X,te,J,ce){O.bezierCurveTo(F,H,X,te,J,ce),this.__originalBezierCurveTo(F,H,X,te,J,ce)},z.rect=function(F,H,X,te){O.rect(F,H,X,te),this.__originalRect(F,H,X,te)},z.closePath=function(){O.closePath(),this.__originalClosePath()},z.beginPath=function(){O.beginPath(),this.__originalBeginPath()}}class S{constructor(O){this.canvasFactory=O,this.cache=Object.create(null)}getCanvas(O,F,H){let X;return this.cache[O]!==void 0?(X=this.cache[O],this.canvasFactory.reset(X,F,H)):(X=this.canvasFactory.create(F,H),this.cache[O]=X),X}delete(O){delete this.cache[O]}clear(){for(const O in this.cache){const F=this.cache[O];this.canvasFactory.destroy(F),delete this.cache[O]}}}function A(z,O,F,H,X,te,J,ce,ue,Ae){const[Ee,Me,je,ke,ge,oe]=(0,s.getCurrentTransform)(z);if(Me===0&&je===0){const de=J*Ee+ge,pe=Math.round(de),ve=ce*ke+oe,Te=Math.round(ve),se=(J+ue)*Ee+ge,re=Math.abs(Math.round(se)-pe)||1,$e=(ce+Ae)*ke+oe,Le=Math.abs(Math.round($e)-Te)||1;return z.setTransform(Math.sign(Ee),0,0,Math.sign(ke),pe,Te),z.drawImage(O,F,H,X,te,0,0,re,Le),z.setTransform(Ee,Me,je,ke,ge,oe)
`}setFont(w){const R=this.current,_=this.commonObjs.get(w[0]);let M=w[1];R.font=_,this.embedFonts&&!_.missingFile&&!this.embeddedFonts[_.loadedName]&&(this.addFontStyle(_),this.embeddedFonts[_.loadedName]=_),R.fontMatrix=_.fontMatrix||s.FONT_IDENTITY_MATRIX;let N="normal";_.black?N="900":_.bold&&(N="bold");const P=_.italic?"italic":"normal";M<0?(M=-M,R.fontDirection=-1):R.fontDirection=1,R.fontSize=M,R.fontFamily=_.loadedName,R.fontWeight=N,R.fontStyle=P,R.tspan=this.svgFactory.createElement("svg:tspan"),R.tspan.setAttributeNS(null,"y",b(-R.y)),R.xcoords=[],R.ycoords=[]}endText(){var R;const w=this.current;w.textRenderingMode&s.TextRenderingMode.ADD_TO_PATH_FLAG&&((R=w.txtElement)!=null&&R.hasChildNodes())&&(w.element=w.txtElement,this.clip("nonzero"),this.endPath())}setLineWidth(w){w>0&&(this.current.lineWidth=w)}setLineCap(w){this.current.lineCap=m[w]}setLineJoin(w){this.current.lineJoin=f[w]}setMiterLimit(w){this.current.miterLimit=w}setStrokeAlpha(w){this.current.strokeAlpha=w}setStrokeRGBColor(w,R,_){this.current.strokeColor=s.Util.makeHexColor(w,R,_)}setFillAlpha(w){this.current.fillAlpha=w}setFillRGBColor(w,R,_){this.current.fillColor=s.Util.makeHexColor(w,R,_),this.current.tspan=this.svgFactory.createElement("svg:tspan"),this.current.xcoords=[],this.current.ycoords=[]}setStrokeColorN(w){this.current.strokeColor=this._makeColorN_Pattern(w)}setFillColorN(w){this.current.fillColor=this._makeColorN_Pattern(w)}shadingFill(w){const{width:R,height:_}=this.viewport,M=s.Util.inverseTransform(this.transformMatrix),[N,P,L,I]=s.Util.getAxialAlignedBoundingBox([0,0,R,_],M),W=this.svgFactory.createElement("svg:rect");W.setAttributeNS(null,"x",N),W.setAttributeNS(null,"y",P),W.setAttributeNS(null,"width",L-N),W.setAttributeNS(null,"height",I-P),W.setAttributeNS(null,"fill",this._makeShadingPattern(w)),this.current.fillAlpha<1&&W.setAttributeNS(null,"fill-opacity",this.current.fillAlpha),this._ensureTransformGroup().append(W)}_makeColorN_Pattern(w){return w[0]==="TilingPattern"?this._makeTilingPattern(w):this._makeShadingPattern(w)}_makeTilingPattern(w){const R=w[1],_=w[2],M=w[3]||s.IDENTITY_MATRIX,[N,P,L,I]=w[4],W=w[5],ae=w[6],Q=w[7],B=`shading${T++}`,[q,K,U,$]=s.Util.normalizeRect([...s.Util.applyTransform([N,P],M),...s.Util.applyTransform([L,I],M)]),[Y,z]=s.Util.singularValueDecompose2dScale(M),O=W*Y,F=ae*z,H=this.svgFactory.createElement("svg:pattern");H.setAttributeNS(null,"id",B),H.setAttributeNS(null,"patternUnits","userSpaceOnUse"),H.setAttributeNS(null,"width",O),H.setAttributeNS(null,"height",F),H.setAttributeNS(null,"x",`${q}`),H.setAttributeNS(null,"y",`${K}`);const X=this.svg,te=this.transformMatrix,J=this.current.fillColor,ce=this.current.strokeColor,ue=this.svgFactory.create(U-q,$-K);if(this.svg=ue,this.transformMatrix=M,Q===2){const Ae=s.Util.makeHexColor(...R);this.current.fillColor=Ae,this.current.strokeColor=Ae}return this.executeOpTree(this.convertOpList(_)),this.svg=X,this.transformMatrix=te,this.current.fillColor=J,this.current.strokeColor=ce,H.append(ue.childNodes[0]),this.defs.append(H),`url(#${B})`}_makeShadingPattern(w){switch(typeof w=="string"&&(w=this.objs.get(w)),w[0]){case"RadialAxial":const R=`shading${T++}`,_=w[3];let M;switch(w[1]){case"axial":const N=w[4],P=w[5];M=this.svgFactory.createElement("svg:linearGradient"),M.setAttributeNS(null,"id",R),M.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),M.setAttributeNS(null,"x1",N[0]),M.setAttributeNS(null,"y1",N[1]),M.setAttributeNS(null,"x2",P[0]),M.setAttributeNS(null,"y2",P[1]);break;case"radial":const L=w[4],I=w[5],W=w[6],ae=w[7];M=this.svgFactory.createElement("svg:radialGradient"),M.setAttributeNS(null,"id",R),M.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),M.setAttributeNS(null,"cx",I[0]),M.setAttributeNS(null,"cy",I[1]),M.setAttributeNS(null,"r",ae),M.setAttributeNS(null,"fx",L[0]),M.setAttributeNS(null,"fy",L[1]),M.setAttributeNS(null,"fr",W);break;default:throw new Error(`Unknown RadialAxial type: ${w[1]}`)}for(const N of _){const P=this.svgFactory.createElement("svg:stop");P.setAttributeNS(null,"offset",N[0]),P.setAttributeNS(
`),position:O,pageIndex:F-1,rect:U,rotation:$,id:Y,deleted:!1}}const B=super.deserialize(I,W,ae);return Ce(B,S,I.fontSize),Ce(B,y,o.Util.makeHexColor(...I.color)),Ce(B,x,I.value),B.annotationElementId=I.id||null,Ce(B,A,Q),B}serialize(I=!1){if(this.isEmpty())return null;if(this.deleted)return{pageIndex:this.pageIndex,id:this.annotationElementId,deleted:!0};const W=N._internalPadding*this.parentScale,ae=this.getRect(W,W),Q=c.AnnotationEditor._colorManager.convert(this.isAttachedToDOM?getComputedStyle(this.editorDiv).color:j(this,y)),B={annotationType:o.AnnotationEditorType.FREETEXT,color:Q,fontSize:j(this,S),value:j(this,x),pageIndex:this.pageIndex,rect:ae,rotation:this.rotation,structTreeParentId:this._structTreeParentId};return I?B:this.annotationElementId&&!me(this,C,Dp).call(this,B)?null:(B.id=this.annotationElementId,B)}};m=new WeakMap,f=new WeakMap,h=new WeakMap,v=new WeakMap,y=new WeakMap,x=new WeakMap,b=new WeakMap,S=new WeakMap,A=new WeakMap,C=new WeakSet,Tp=function(I){const W=Q=>{this.editorDiv.style.fontSize=`calc(${Q}px * var(--scale-factor))`,this.translate(0,-(Q-j(this,S))*this.parentScale),Ce(this,S,Q),me(this,C,vi).call(this)},ae=j(this,S);this.addCommands({cmd:()=>{W(I)},undo:()=>{W(ae)},mustExec:!0,type:o.AnnotationEditorParamsType.FREETEXT_SIZE,overwriteIfSameType:!0,keepUndo:!0})},kp=function(I){const W=j(this,y);this.addCommands({cmd:()=>{Ce(this,y,this.editorDiv.style.color=I)},undo:()=>{Ce(this,y,this.editorDiv.style.color=W)},mustExec:!0,type:o.AnnotationEditorParamsType.FREETEXT_COLOR,overwriteIfSameType:!0,keepUndo:!0})},Pp=function(){const I=this.editorDiv.getElementsByTagName("div");if(I.length===0)return this.editorDiv.innerText;const W=[];for(const ae of I)W.push(ae.innerText.replace(/\r\n?|\n/,""));return W.join(`
`)},vi=function(){const[I,W]=this.parentDimensions;let ae;if(this.isAttachedToDOM)ae=this.div.getBoundingClientRect();else{const{currentLayer:Q,div:B}=this,q=B.style.display;B.style.display="hidden",Q.div.append(this.div),ae=B.getBoundingClientRect(),B.remove(),B.style.display=q}this.rotation%180===this.parentRotation%180?(this.width=ae.width/I,this.height=ae.height/W):(this.width=ae.height/I,this.height=ae.width/W),this.fixAndSetPosition()},xc=function(){if(this.editorDiv.replaceChildren(),!!j(this,x))for(const I of j(this,x).split(`
`)){const W=document.createElement("div");W.append(I?document.createTextNode(I):document.createElement("br")),this.editorDiv.append(W)}},Dp=function(I){const{value:W,fontSize:ae,color:Q,rect:B,pageIndex:q}=j(this,A);return I.value!==W||I.fontSize!==ae||I.rect.some((K,U)=>Math.abs(K-B[U])>=1)||I.color.some((K,U)=>K!==Q[U])||I.pageIndex!==q},Sc=function(I=!1){if(!this.annotationElementId)return;if(me(this,C,vi).call(this),!I&&(this.width===0||this.height===0)){setTimeout(()=>me(this,C,Sc).call(this,!0),0);return}const W=N._internalPadding*this.parentScale;j(this,A).rect=this.getRect(W,W)},Pt(N,"_freeTextDefaultContent",""),Pt(N,"_internalPadding",0),Pt(N,"_defaultColor",null),Pt(N,"_defaultFontSize",10),Pt(N,"_type","freetext");let p=N;t.FreeTextEditor=p},(e,t,i)=>{var H,te,jr,Mp,ue,Ae,Ee,Me,je,ke,ge,oe,G,ee,de,pe,ve,Te,se,re,$e,Le,Op,Io,Ec,Ac,Je,ct,st,De,be,xe,Qe,Cc,ht,le,Ne,Ge,jp,wc;Object.defineProperty(t,"__esModule",{value:!0}),t.StampAnnotationElement=t.InkAnnotationElement=t.FreeTextAnnotationElement=t.AnnotationLayer=void 0;var o=i(1),s=i(6),c=i(3),d=i(30),p=i(31),m=i(32);const f=1e3,h=9,v=new WeakSet;function y(Ke){return{width:Ke[2]-Ke[0],height:Ke[3]-Ke[1]}}class x{static create(ie){switch(ie.data.annotationType){case o.AnnotationType.LINK:return new S(ie);case o.AnnotationType.TEXT:return new A(ie);case o.AnnotationType.WIDGET:switch(ie.data.fieldType){case"Tx":return new T(ie);case"Btn":return ie.data.radioButton?new w(ie):ie.data.checkBox?new D(ie):new R(ie);case"Ch":return new _(ie);case"Sig":return new k(ie)}return new C(ie);case o.AnnotationType.POPUP:return new M(ie);case o.AnnotationType.FREETEXT:return new P(ie);case o.AnnotationType.LINE:return new L(ie);case o.AnnotationType.SQUARE:return new I(ie);case o.AnnotationType.CIRCLE:return new W(ie);case o.AnnotationType.POLYLINE:return new ae(ie);case o.AnnotationType.CARET:return new B(ie);case o.AnnotationType.INK:return new q(ie);case o.AnnotationType.POLYGON:return new Q(ie);case o.AnnotationType.HIGHLIGHT:return new K(ie);case o.AnnotationType.UNDERLINE:return new U(ie);case o.AnnotationType.SQUIGGLY:return new $(ie);case o.AnnotationType.STRIKEOUT:return new Y(ie);case o.AnnotationType.STAMP:return new z(ie);case o.AnnotationType.FILEATTACHMENT:return new O(ie);default:return new b(ie)}}}const X=class X{constructor(ie,{isRenderable:ne=!1,ignoreBorder:he=!1,createQuadrilaterals:_e=!1}={}){Se(this,H,!1);this.isRenderable=ne,this.data=ie.data,this.layer=ie.layer,this.linkService=ie.linkService,this.downloadManager=ie.downloadManager,this.imageResourcesPath=ie.imageResourcesPath,this.renderForms=ie.renderForms,this.svgFactory=ie.svgFactory,this.annotationStorage=ie.annotationStorage,this.enableScripting=ie.enableScripting,this.hasJSActions=ie.hasJSActions,this._fieldObjects=ie.fieldObjects,this.parent=ie.parent,ne&&(this.container=this._createContainer(he)),_e&&this._createQuadrilaterals()}static _hasPopupData({titleObj:ie,contentsObj:ne,richText:he}){return!!(ie!=null&&ie.str||ne!=null&&ne.str||he!=null&&he.str)}get hasPopupData(){return X._hasPopupData(this.data)}_createContainer(ie){const{data:ne,parent:{page:he,viewport:_e}}=this,Re=document.createElement("section");Re.setAttribute("data-annotation-id",ne.id),this instanceof C||(Re.tabIndex=f),Re.style.zIndex=this.parent.zIndex++,this.data.popupRef&&Re.setAttribute("aria-haspopup","dialog"),ne.noRotate&&Re.classList.add("norotate");const{pageWidth:Ie,pageHeight:Be,pageX:et,pageY:tt}=_e.rawDims;if(!ne.rect||this instanceof M){const{rotation:ot}=ne;return!ne.hasOwnCanvas&&ot!==0&&this.setRotation(ot,Re),Re}const{width:Ye,height:ut}=y(ne.rect),Ze=o.Util.normalizeRect([ne.rect[0],he.view[3]-ne.rect[1]+he.view[1],ne.rect[2],he.view[3]-ne.rect[3]+he.view[1]]);if(!ie&&ne.borderStyle.width>0){Re.style.borderWidth=`${ne.borderStyle.width}px`;const ot=ne.borderStyle.horizontalCornerRadius,ft=ne.borderStyle.verticalCornerRadius;if(ot>0||ft>0){const xt=`calc(${ot}px * var(--scale-factor)) / calc(${ft}px * var(--scale-factor))`;Re.style.borderRadius=xt}else if(this instanceof w){const xt=`calc(${Ye}px * var(--sc
`))||null;tt&&this.data.comb&&(tt=tt.replaceAll(/\s+/g,""));const Ye={userValue:Be,formattedValue:tt,lastCommittedValue:null,commitKey:1,focused:!1};this.data.multiLine?(he=document.createElement("textarea"),he.textContent=tt??Be,this.data.doNotScroll&&(he.style.overflowY="hidden")):(he=document.createElement("input"),he.type="text",he.setAttribute("value",tt??Be),this.data.doNotScroll&&(he.style.overflowX="hidden")),this.data.hasOwnCanvas&&(he.hidden=!0),v.add(he),he.setAttribute("data-element-id",ne),he.disabled=this.data.readOnly,he.name=this.data.fieldName,he.tabIndex=f,this._setRequired(he,this.data.required),et&&(he.maxLength=et),he.addEventListener("input",Ze=>{ie.setValue(ne,{value:Ze.target.value}),this.setPropertyOnSiblings(he,"value",Ze.target.value,"value"),Ye.formattedValue=null}),he.addEventListener("resetform",Ze=>{const rt=this.data.defaultFieldValue??"";he.value=Ye.userValue=rt,Ye.formattedValue=null});let ut=Ze=>{const{formattedValue:rt}=Ye;rt!=null&&(Ze.target.value=rt),Ze.target.scrollLeft=0};if(this.enableScripting&&this.hasJSActions){he.addEventListener("focus",rt=>{if(Ye.focused)return;const{target:ot}=rt;Ye.userValue&&(ot.value=Ye.userValue),Ye.lastCommittedValue=ot.value,Ye.commitKey=1,Ye.focused=!0}),he.addEventListener("updatefromsandbox",rt=>{this.showElementAndHideCanvas(rt.target);const ot={value(ft){Ye.userValue=ft.detail.value??"",ie.setValue(ne,{value:Ye.userValue.toString()}),ft.target.value=Ye.userValue},formattedValue(ft){const{formattedValue:bt}=ft.detail;Ye.formattedValue=bt,bt!=null&&ft.target!==document.activeElement&&(ft.target.value=bt),ie.setValue(ne,{formattedValue:bt})},selRange(ft){ft.target.setSelectionRange(...ft.detail.selRange)},charLimit:ft=>{var Lt;const{charLimit:bt}=ft.detail,{target:xt}=ft;if(bt===0){xt.removeAttribute("maxLength");return}xt.setAttribute("maxLength",bt);let Et=Ye.userValue;!Et||Et.length<=bt||(Et=Et.slice(0,bt),xt.value=Ye.userValue=Et,ie.setValue(ne,{value:Et}),(Lt=this.linkService.eventBus)==null||Lt.dispatch("dispatcheventinsandbox",{source:this,detail:{id:ne,name:"Keystroke",value:Et,willCommit:!0,commitKey:1,selStart:xt.selectionStart,selEnd:xt.selectionEnd}}))}};this._dispatchEventFromSandbox(ot,rt)}),he.addEventListener("keydown",rt=>{var bt;Ye.commitKey=1;let ot=-1;if(rt.key==="Escape"?ot=0:rt.key==="Enter"&&!this.data.multiLine?ot=2:rt.key==="Tab"&&(Ye.commitKey=3),ot===-1)return;const{value:ft}=rt.target;Ye.lastCommittedValue!==ft&&(Ye.lastCommittedValue=ft,Ye.userValue=ft,(bt=this.linkService.eventBus)==null||bt.dispatch("dispatcheventinsandbox",{source:this,detail:{id:ne,name:"Keystroke",value:ft,willCommit:!0,commitKey:ot,selStart:rt.target.selectionStart,selEnd:rt.target.selectionEnd}}))});const Ze=ut;ut=null,he.addEventListener("blur",rt=>{var ft;if(!Ye.focused||!rt.relatedTarget)return;Ye.focused=!1;const{value:ot}=rt.target;Ye.userValue=ot,Ye.lastCommittedValue!==ot&&((ft=this.linkService.eventBus)==null||ft.dispatch("dispatcheventinsandbox",{source:this,detail:{id:ne,name:"Keystroke",value:ot,willCommit:!0,commitKey:Ye.commitKey,selStart:rt.target.selectionStart,selEnd:rt.target.selectionEnd}})),Ze(rt)}),(Re=this.data.actions)!=null&&Re.Keystroke&&he.addEventListener("beforeinput",rt=>{var Jt;Ye.lastCommittedValue=null;const{data:ot,target:ft}=rt,{value:bt,selectionStart:xt,selectionEnd:Et}=ft;let Lt=xt,mn=Et;switch(rt.inputType){case"deleteWordBackward":{const tn=bt.substring(0,xt).match(/\w*[^\w]*$/);tn&&(Lt-=tn[0].length);break}case"deleteWordForward":{const tn=bt.substring(xt).match(/^[^\w]*\w*/);tn&&(mn+=tn[0].length);break}case"deleteContentBackward":xt===Et&&(Lt-=1);break;case"deleteContentForward":xt===Et&&(mn+=1);break}rt.preventDefault(),(Jt=this.linkService.eventBus)==null||Jt.dispatch("dispatcheventinsandbox",{source:this,detail:{id:ne,name:"Keystroke",value:bt,change:ot||"",willCommit:!1,selStart:Lt,selEnd:mn}})}),this._setEventListeners(he,Ye,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],rt=>rt.target.value)}if(ut&&he.addE
`).forEach(function(d){s=d.indexOf(":"),i=d.substring(0,s).trim().toLowerCase(),o=d.substring(s+1).trim(),!(!i||t[i]&&ignoreDuplicateOf[i])&&(i==="set-cookie"?t[i]?t[i].push(o):t[i]=[o]:t[i]=t[i]?t[i]+", "+o:o)}),t},$internals=Symbol("internals");function normalizeHeader(e){return e&&String(e).trim().toLowerCase()}function normalizeValue(e){return e===!1||e==null?e:utils$1.isArray(e)?e.map(normalizeValue):String(e)}function parseTokens(e){const t=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=i.exec(e);)t[o[1]]=o[2];return t}const isValidHeaderName=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function matchHeaderValue(e,t,i,o,s){if(utils$1.isFunction(o))return o.call(this,t,i);if(s&&(t=i),!!utils$1.isString(t)){if(utils$1.isString(o))return t.indexOf(o)!==-1;if(utils$1.isRegExp(o))return o.test(t)}}function formatHeader(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,i,o)=>i.toUpperCase()+o)}function buildAccessors(e,t){const i=utils$1.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+i,{value:function(s,c,d){return this[o].call(this,t,s,c,d)},configurable:!0})})}let AxiosHeaders$1=class{constructor(t){t&&this.set(t)}set(t,i,o){const s=this;function c(p,m,f){const h=normalizeHeader(m);if(!h)throw new Error("header name must be a non-empty string");const v=utils$1.findKey(s,h);(!v||s[v]===void 0||f===!0||f===void 0&&s[v]!==!1)&&(s[v||m]=normalizeValue(p))}const d=(p,m)=>utils$1.forEach(p,(f,h)=>c(f,h,m));if(utils$1.isPlainObject(t)||t instanceof this.constructor)d(t,i);else if(utils$1.isString(t)&&(t=t.trim())&&!isValidHeaderName(t))d(parseHeaders(t),i);else if(utils$1.isObject(t)&&utils$1.isIterable(t)){let p={},m,f;for(const h of t){if(!utils$1.isArray(h))throw TypeError("Object iterator must return a key-value pair");p[f=h[0]]=(m=p[f])?utils$1.isArray(m)?[...m,h[1]]:[m,h[1]]:h[1]}d(p,i)}else t!=null&&c(i,t,o);return this}get(t,i){if(t=normalizeHeader(t),t){const o=utils$1.findKey(this,t);if(o){const s=this[o];if(!i)return s;if(i===!0)return parseTokens(s);if(utils$1.isFunction(i))return i.call(this,s,o);if(utils$1.isRegExp(i))return i.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,i){if(t=normalizeHeader(t),t){const o=utils$1.findKey(this,t);return!!(o&&this[o]!==void 0&&(!i||matchHeaderValue(this,this[o],o,i)))}return!1}delete(t,i){const o=this;let s=!1;function c(d){if(d=normalizeHeader(d),d){const p=utils$1.findKey(o,d);p&&(!i||matchHeaderValue(o,o[p],p,i))&&(delete o[p],s=!0)}}return utils$1.isArray(t)?t.forEach(c):c(t),s}clear(t){const i=Object.keys(this);let o=i.length,s=!1;for(;o--;){const c=i[o];(!t||matchHeaderValue(this,this[c],c,t,!0))&&(delete this[c],s=!0)}return s}normalize(t){const i=this,o={};return utils$1.forEach(this,(s,c)=>{const d=utils$1.findKey(o,c);if(d){i[d]=normalizeValue(s),delete i[c];return}const p=t?formatHeader(c):String(c).trim();p!==c&&delete i[c],i[p]=normalizeValue(s),o[p]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const i=Object.create(null);return utils$1.forEach(this,(o,s)=>{o!=null&&o!==!1&&(i[s]=t&&utils$1.isArray(o)?o.join(", "):o)}),i}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,i])=>t+": "+i).join(`
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...i){const o=new this(t);return i.forEach(s=>o.set(s)),o}static accessor(t){const o=(this[$internals]=this[$internals]={accessors:{}}).accessors,s=this.prototype;function c(d){const p=normalizeHeader(d);o[p]||(buildAccessors(s,d),o[p]=!0)}return utils$1.isArray(t)?t.forEach(c):c(t),this}};AxiosHeaders$1.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);utils$1.reduceDescriptors(AxiosHeaders$1.prototype,({value:e},t)=>{let i=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[i]=o}}});utils$1.freezeMethods(AxiosHeaders$1);function transformData(e,t){const i=this||defaults,o=t||i,s=AxiosHeaders$1.from(o.headers);let c=o.data;return utils$1.forEach(e,function(p){c=p.call(i,c,s.normalize(),t?t.status:void 0)}),s.normalize(),c}function isCancel$1(e){return!!(e&&e.__CANCEL__)}function CanceledError$1(e,t,i){AxiosError$1.call(this,e??"canceled",AxiosError$1.ERR_CANCELED,t,i),this.name="CanceledError"}utils$1.inherits(CanceledError$1,AxiosError$1,{__CANCEL__:!0});function settle(e,t,i){const o=i.config.validateStatus;!i.status||!o||o(i.status)?e(i):t(new AxiosError$1("Request failed with status code "+i.status,[AxiosError$1.ERR_BAD_REQUEST,AxiosError$1.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))}function parseProtocol(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function speedometer(e,t){e=e||10;const i=new Array(e),o=new Array(e);let s=0,c=0,d;return t=t!==void 0?t:1e3,function(m){const f=Date.now(),h=o[c];d||(d=f),i[s]=m,o[s]=f;let v=c,y=0;for(;v!==s;)y+=i[v++],v=v%e;if(s=(s+1)%e,s===c&&(c=(c+1)%e),f-d<t)return;const x=h&&f-h;return x?Math.round(y*1e3/x):void 0}}function throttle(e,t){let i=0,o=1e3/t,s,c;const d=(f,h=Date.now())=>{i=h,s=null,c&&(clearTimeout(c),c=null),e.apply(null,f)};return[(...f)=>{const h=Date.now(),v=h-i;v>=o?d(f,h):(s=f,c||(c=setTimeout(()=>{c=null,d(s)},o-v)))},()=>s&&d(s)]}const progressEventReducer=(e,t,i=3)=>{let o=0;const s=speedometer(50,250);return throttle(c=>{const d=c.loaded,p=c.lengthComputable?c.total:void 0,m=d-o,f=s(m),h=d<=p;o=d;const v={loaded:d,total:p,progress:p?d/p:void 0,bytes:m,rate:f||void 0,estimated:f&&p&&h?(p-d)/f:void 0,event:c,lengthComputable:p!=null,[t?"download":"upload"]:!0};e(v)},i)},progressEventDecorator=(e,t)=>{const i=e!=null;return[o=>t[0]({lengthComputable:i,total:e,loaded:o}),t[1]]},asyncDecorator=e=>(...t)=>utils$1.asap(()=>e(...t)),isURLSameOrigin=platform.hasStandardBrowserEnv?((e,t)=>i=>(i=new URL(i,platform.origin),e.protocol===i.protocol&&e.host===i.host&&(t||e.port===i.port)))(new URL(platform.origin),platform.navigator&&/(msie|trident)/i.test(platform.navigator.userAgent)):()=>!0,cookies=platform.hasStandardBrowserEnv?{write(e,t,i,o,s,c){const d=[e+"="+encodeURIComponent(t)];utils$1.isNumber(i)&&d.push("expires="+new Date(i).toGMTString()),utils$1.isString(o)&&d.push("path="+o),utils$1.isString(s)&&d.push("domain="+s),c===!0&&d.push("secure"),document.cookie=d.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 isAbsoluteURL(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function combineURLs(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function buildFullPath(e,t,i){let o=!isAbsoluteURL(t);return e&&(o||i==!1)?combineURLs(e,t):t}const headersToObject=e=>e instanceof AxiosHeaders$1?{...e}:e;function mergeConfig$1(e,t){t=t||{};const i={};function o(f,h,v,y){return utils$1.isPlainObject(f)&&utils$1.isPlainObject(h)?utils$1.merge.call({caseless:y},f,h):utils$1.isPlainObject(h)?utils$1.merge({},h):utils$1.isArray(h)?h.slice():h}function s(f,h,v,y){if(utils$1.isUndefined(h)){if(!utils$1.isUndefined(f))return o(void 0,f,v,y)}else return o(f,h,v,y)}function c(f,h){if(!utils$1.isUndefined(h))return o(void 0,
`+c.map(renderReason).join(`
`):" "+renderReason(c[0]):"as no adapter specified";throw new AxiosError$1("There is no suitable adapter to dispatch the request "+d,"ERR_NOT_SUPPORT")}return o},adapters:knownAdapters};function throwIfCancellationRequested(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new CanceledError$1(null,e)}function dispatchRequest(e){return throwIfCancellationRequested(e),e.headers=AxiosHeaders$1.from(e.headers),e.data=transformData.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),adapters.getAdapter(e.adapter||defaults.adapter)(e).then(function(o){return throwIfCancellationRequested(e),o.data=transformData.call(e,e.transformResponse,o),o.headers=AxiosHeaders$1.from(o.headers),o},function(o){return isCancel$1(o)||(throwIfCancellationRequested(e),o&&o.response&&(o.response.data=transformData.call(e,e.transformResponse,o.response),o.response.headers=AxiosHeaders$1.from(o.response.headers))),Promise.reject(o)})}const VERSION$1="1.9.0",validators$1={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{validators$1[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const deprecatedWarnings={};validators$1.transitional=function e(t,i,o){function s(c,d){return"[Axios v"+VERSION$1+"] Transitional option '"+c+"'"+d+(o?". "+o:"")}return(c,d,p)=>{if(t===!1)throw new AxiosError$1(s(d," has been removed"+(i?" in "+i:"")),AxiosError$1.ERR_DEPRECATED);return i&&!deprecatedWarnings[d]&&(deprecatedWarnings[d]=!0,console.warn(s(d," has been deprecated since v"+i+" and will be removed in the near future"))),t?t(c,d,p):!0}};validators$1.spelling=function e(t){return(i,o)=>(console.warn(`${o} is likely a misspelling of ${t}`),!0)};function assertOptions(e,t,i){if(typeof e!="object")throw new AxiosError$1("options must be an object",AxiosError$1.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let s=o.length;for(;s-- >0;){const c=o[s],d=t[c];if(d){const p=e[c],m=p===void 0||d(p,c,e);if(m!==!0)throw new AxiosError$1("option "+c+" must be "+m,AxiosError$1.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new AxiosError$1("Unknown option "+c,AxiosError$1.ERR_BAD_OPTION)}}const validator={assertOptions,validators:validators$1},validators=validator.validators;let Axios$1=class{constructor(t){this.defaults=t||{},this.interceptors={request:new InterceptorManager,response:new InterceptorManager}}async request(t,i){try{return await this._request(t,i)}catch(o){if(o instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const c=s.stack?s.stack.replace(/^.+\n/,""):"";try{o.stack?c&&!String(o.stack).endsWith(c.replace(/^.+\n.+\n/,""))&&(o.stack+=`
`+c):o.stack=c}catch{}}throw o}}_request(t,i){typeof t=="string"?(i=i||{},i.url=t):i=t||{},i=mergeConfig$1(this.defaults,i);const{transitional:o,paramsSerializer:s,headers:c}=i;o!==void 0&&validator.assertOptions(o,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},!1),s!=null&&(utils$1.isFunction(s)?i.paramsSerializer={serialize:s}:validator.assertOptions(s,{encode:validators.function,serialize:validators.function},!0)),i.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?i.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:i.allowAbsoluteUrls=!0),validator.assertOptions(i,{baseUrl:validators.spelling("baseURL"),withXsrfToken:validators.spelling("withXSRFToken")},!0),i.method=(i.method||this.defaults.method||"get").toLowerCase();let d=c&&utils$1.merge(c.common,c[i.method]);c&&utils$1.forEach(["delete","get","head","post","put","patch","common"],b=>{delete c[b]}),i.headers=AxiosHeaders$1.concat(d,c);const p=[];let m=!0;this.interceptors.request.forEach(function(S){typeof S.runWhen=="function"&&S.runWhen(i)===!1||(m=m&&S.synchronous,p.unshift(S.fulfilled,S.rejected))});const f=[];this.interceptors.response.forEach(function(S){f.push(S.fulfilled,S.rejected)});let h,v=0,y;if(!m){const b=[dispatchRequest.bind(this),void 0];for(b.unshift.apply(b,p),b.push.apply(b,f),y=b.length,h=Promise.resolve(i);v<y;)h=h.then(b[v++],b[v++]);return h}y=p.length;let x=i;for(v=0;v<y;){const b=p[v++],S=p[v++];try{x=b(x)}catch(A){S.call(this,A);break}}try{h=dispatchRequest.call(this,x)}catch(b){return Promise.reject(b)}for(v=0,y=f.length;v<y;)h=h.then(f[v++],f[v++]);return h}getUri(t){t=mergeConfig$1(this.defaults,t);const i=buildFullPath(t.baseURL,t.url,t.allowAbsoluteUrls);return buildURL(i,t.params,t.paramsSerializer)}};utils$1.forEach(["delete","get","head","options"],function e(t){Axios$1.prototype[t]=function(i,o){return this.request(mergeConfig$1(o||{},{method:t,url:i,data:(o||{}).data}))}});utils$1.forEach(["post","put","patch"],function e(t){function i(o){return function(c,d,p){return this.request(mergeConfig$1(p||{},{method:t,headers:o?{"Content-Type":"multipart/form-data"}:{},url:c,data:d}))}}Axios$1.prototype[t]=i(),Axios$1.prototype[t+"Form"]=i(!0)});let CancelToken$1=class Qp{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let i;this.promise=new Promise(function(c){i=c});const o=this;this.promise.then(s=>{if(!o._listeners)return;let c=o._listeners.length;for(;c-- >0;)o._listeners[c](s);o._listeners=null}),this.promise.then=s=>{let c;const d=new Promise(p=>{o.subscribe(p),c=p}).then(s);return d.cancel=function(){o.unsubscribe(c)},d},t(function(c,d,p){o.reason||(o.reason=new CanceledError$1(c,d,p),i(o.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=o=>{t.abort(o)};return this.subscribe(i),t.signal.unsubscribe=()=>this.unsubscribe(i),t.signal}static source(){let t;return{token:new Qp(function(s){t=s}),cancel:t}}};function spread$1(e){return function(i){return e.apply(null,i)}}function isAxiosError$1(e){return utils$1.isObject(e)&&e.isAxiosError===!0}const HttpStatusCode$1={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,Preconditio