file-viewer-demo/public/dist/assets/index-be50c070.js

28 lines
130 KiB
JavaScript
Raw Permalink Normal View History

2024-01-30 00:54:29 +00:00
var aa=Object.defineProperty;var ca=(e,t,r)=>t in e?aa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var oi=(e,t,r)=>(ca(e,typeof t!="symbol"?t+"":t,r),r);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function r(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(o){if(o.ep)return;o.ep=!0;const i=r(o);fetch(o.href,i)}})();/**
* @vue/shared v3.4.15
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function go(e,t){const r=new Set(e.split(","));return t?n=>r.has(n.toLowerCase()):n=>r.has(n)}const z={},Ct=[],Ee=()=>{},ua=()=>!1,Yr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),vo=e=>e.startsWith("onUpdate:"),ae=Object.assign,bo=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},fa=Object.prototype.hasOwnProperty,H=(e,t)=>fa.call(e,t),M=Array.isArray,Ft=e=>Zr(e)==="[object Map]",Es=e=>Zr(e)==="[object Set]",L=e=>typeof e=="function",ee=e=>typeof e=="string",Ht=e=>typeof e=="symbol",J=e=>e!==null&&typeof e=="object",xs=e=>(J(e)||L(e))&&L(e.then)&&L(e.catch),Os=Object.prototype.toString,Zr=e=>Os.call(e),da=e=>Zr(e).slice(8,-1),As=e=>Zr(e)==="[object Object]",_o=e=>ee(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Fr=go(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),en=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},pa=/-(\w)/g,Ve=en(e=>e.replace(pa,(t,r)=>r?r.toUpperCase():"")),ha=/\B([A-Z])/g,Vt=en(e=>e.replace(ha,"-$1").toLowerCase()),tn=en(e=>e.charAt(0).toUpperCase()+e.slice(1)),_n=en(e=>e?`on${tn(e)}`:""),ot=(e,t)=>!Object.is(e,t),Ir=(e,t)=>{for(let r=0;r<e.length;r++)e[r](t)},Hr=(e,t,r)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},Wn=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let ii;const Ps=()=>ii||(ii=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function wo(e){if(M(e)){const t={};for(let r=0;r<e.length;r++){const n=e[r],o=ee(n)?va(n):wo(n);if(o)for(const i in o)t[i]=o[i]}return t}else if(ee(e)||J(e))return e}const ya=/;(?![^(]*\))/g,ma=/:([^]+)/,ga=/\/\*[^]*?\*\//g;function va(e){const t={};return e.replace(ga,"").split(ya).forEach(r=>{if(r){const n=r.split(ma);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function rn(e){let t="";if(ee(e))t=e;else if(M(e))for(let r=0;r<e.length;r++){const n=rn(e[r]);n&&(t+=n+" ")}else if(J(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}const ba="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",_a=go(ba);function Rs(e){return!!e||e===""}const yt=e=>ee(e)?e:e==null?"":M(e)||J(e)&&(e.toString===Os||!L(e.toString))?JSON.stringify(e,Ts,2):String(e),Ts=(e,t)=>t&&t.__v_isRef?Ts(e,t.value):Ft(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,o],i)=>(r[wn(n,i)+" =>"]=o,r),{})}:Es(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>wn(r))}:Ht(t)?wn(t):J(t)&&!M(t)&&!As(t)?String(t):t,wn=(e,t="")=>{var r;return Ht(e)?`Symbol(${(r=e.description)!=null?r:t})`:e};/**
* @vue/reactivity v3.4.15
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Re;class wa{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Re,!t&&Re&&(this.index=(Re.scopes||(Re.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const r=Re;try{return Re=this,t()}finally{Re=r}}}on(){Re=this}off(){Re=this.parent}stop(t){if(this._active){let r,n;for(r=0,n=this.effects.length;r<n;r++)this.effects[r].stop();for(r=0,n=this.cleanups.length;r<n;r++)this.cleanups[r]();if(this.scopes)for(r=0,n=this.scopes.length;r<n;r++)this.scopes[r].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function Sa(e,t=Re){t&&t.active&&t.effects.push(e)}function Ea(){return Re}let mt;class So{constructor(t,r,n,o){this.fn=t,this.trigger=r,this.scheduler=n,this.active=!0,this.deps=[],this._dirtyLevel=2,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,Sa(this,o)}get dirty(){if(this._dirtyLevel===1){_t();for(let t=0;t<this._depsLength;t++){const r=this.deps[t];if(r.computed&&(xa(r.computed),this._dirtyLevel>=2))break}this._dirtyLevel<2&&(this._dirtyLevel=0),wt()}return this._dirtyLevel>=2}set dirty(t){this._dirtyLevel=t?2:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=rt,r=mt;try{return rt=!0,mt=this,this._runnings++,si(this),this.fn()}finally{li(this),this._runnings--,mt=r,rt=t}}stop(){var t;this.active&&(si(this),li(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function xa(e){return e.value}function si(e){e._trackId++,e._depsLength=0}function li(e){if(e.deps&&e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Cs(e.deps[t],e);e.deps.length=e._depsLength}}function Cs(e,t){const r=e.get(t);r!==void 0&&t._trackId!==r&&(e.delete(t),e.size===0&&e.cleanup())}let rt=!0,kn=0;const Fs=[];function _t(){Fs.push(rt),rt=!1}function wt(){const e=Fs.pop();rt=e===void 0?!0:e}function Eo(){kn++}function xo(){for(kn--;!kn&&qn.length;)qn.shift()()}function Is(e,t,r){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&Cs(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const qn=[];function Ns(e,t,r){Eo();for(const n of e.keys())if(n._dirtyLevel<t&&e.get(n)===n._trackId){const o=n._dirtyLevel;n._dirtyLevel=t,o===0&&(n._shouldSchedule=!0,n.trigger())}$s(e),xo()}function $s(e){for(const t of e.keys())t.scheduler&&t._shouldSchedule&&(!t._runnings||t.allowRecurse)&&e.get(t)===t._trackId&&(t._shouldSchedule=!1,qn.push(t.scheduler))}const Ms=(e,t)=>{const r=new Map;return r.cleanup=e,r.computed=t,r},zn=new WeakMap,gt=Symbol(""),Kn=Symbol("");function ve(e,t,r){if(rt&&mt){let n=zn.get(e);n||zn.set(e,n=new Map);let o=n.get(r);o||n.set(r,o=Ms(()=>n.delete(r))),Is(mt,o)}}function ze(e,t,r,n,o,i){const s=zn.get(e);if(!s)return;let l=[];if(t==="clear")l=[...s.values()];else if(r==="length"&&M(e)){const a=Number(n);s.forEach((c,u)=>{(u==="length"||!Ht(u)&&u>=a)&&l.push(c)})}else switch(r!==void 0&&l.push(s.get(r)),t){case"add":M(e)?_o(r)&&l.push(s.get("length")):(l.push(s.get(gt)),Ft(e)&&l.push(s.get(Kn)));break;case"delete":M(e)||(l.push(s.get(gt)),Ft(e)&&l.push(s.get(Kn)));break;case"set":Ft(e)&&l.push(s.get(gt));break}Eo();for(const a of l)a&&Ns(a,2);xo()}const Oa=go("__proto__,__v_isRef,__isVue"),Ls=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ht)),ai=Aa();function Aa(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...r){const n=V(this);for(let i=0,s=this.length;i<s;i++)ve(n,"get",i+"");const o=n[t](...r);return o===-1||o===!1?n[t](...r.map(V)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...r){_t(),Eo();const n=V(this)[t].apply(this,r);return xo(),wt(),n}}),e}function Pa(e){const t=V(this);return ve(t,"has",e),t.hasOwnProperty(e)}class Bs{constructor(t=!1,r=!1){this._isReadonly=t,this._shallow=r}get(t,r,n){const o=this._isReadonly,i=this._shallow;if(r==="__v_isReactive")return!o;if(r==="__v_isReadonly")retur
* @vue/runtime-core v3.4.15
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function nt(e,t,r,n){let o;try{o=n?e(...n):e()}catch(i){fr(i,t,r)}return o}function Ce(e,t,r,n){if(L(e)){const i=nt(e,t,r,n);return i&&xs(i)&&i.catch(s=>{fr(s,t,r)}),i}const o=[];for(let i=0;i<e.length;i++)o.push(Ce(e[i],t,r,n));return o}function fr(e,t,r,n=!0){const o=t?t.vnode:null;if(t){let i=t.parent;const s=t.proxy,l=`https://vuejs.org/error-reference/#runtime-${r}`;for(;i;){const c=i.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,s,l)===!1)return}i=i.parent}const a=t.appContext.config.errorHandler;if(a){nt(a,null,10,[e,s,l]);return}}Ja(e,r,o,n)}function Ja(e,t,r,n=!0){console.error(e)}let lr=!1,Gn=!1;const fe=[];let je=0;const Nt=[];let Xe=null,dt=0;const Gs=Promise.resolve();let Co=null;function Qa(e){const t=Co||Gs;return e?t.then(this?e.bind(this):e):t}function Xa(e){let t=je+1,r=fe.length;for(;t<r;){const n=t+r>>>1,o=fe[n],i=ar(o);i<e||i===e&&o.pre?t=n+1:r=n}return t}function on(e){(!fe.length||!fe.includes(e,lr&&e.allowRecurse?je+1:je))&&(e.id==null?fe.push(e):fe.splice(Xa(e.id),0,e),Js())}function Js(){!lr&&!Gn&&(Gn=!0,Co=Gs.then(Xs))}function Ya(e){const t=fe.indexOf(e);t>je&&fe.splice(t,1)}function Za(e){M(e)?Nt.push(...e):(!Xe||!Xe.includes(e,e.allowRecurse?dt+1:dt))&&Nt.push(e),Js()}function pi(e,t,r=lr?je+1:0){for(;r<fe.length;r++){const n=fe[r];if(n&&n.pre){if(e&&n.id!==e.uid)continue;fe.splice(r,1),r--,n()}}}function Qs(e){if(Nt.length){const t=[...new Set(Nt)].sort((r,n)=>ar(r)-ar(n));if(Nt.length=0,Xe){Xe.push(...t);return}for(Xe=t,dt=0;dt<Xe.length;dt++)Xe[dt]();Xe=null,dt=0}}const ar=e=>e.id==null?1/0:e.id,ec=(e,t)=>{const r=ar(e)-ar(t);if(r===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return r};function Xs(e){Gn=!1,lr=!0,fe.sort(ec);const t=Ee;try{for(je=0;je<fe.length;je++){const r=fe[je];r&&r.active!==!1&&nt(r,null,14)}}finally{je=0,fe.length=0,Qs(),lr=!1,Co=null,(fe.length||Nt.length)&&Xs()}}function tc(e,t,...r){if(e.isUnmounted)return;const n=e.vnode.props||z;let o=r;const i=t.startsWith("update:"),s=i&&t.slice(7);if(s&&s in n){const u=`${s==="modelValue"?"model":s}Modifiers`,{number:d,trim:h}=n[u]||z;h&&(o=r.map(w=>ee(w)?w.trim():w)),d&&(o=r.map(Wn))}let l,a=n[l=_n(t)]||n[l=_n(Ve(t))];!a&&i&&(a=n[l=_n(Vt(t))]),a&&Ce(a,e,6,o);const c=n[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ce(c,e,6,o)}}function Ys(e,t,r=!1){const n=t.emitsCache,o=n.get(e);if(o!==void 0)return o;const i=e.emits;let s={},l=!1;if(!L(e)){const a=c=>{const u=Ys(c,t,!0);u&&(l=!0,ae(s,u))};!r&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!l?(J(e)&&n.set(e,null),null):(M(i)?i.forEach(a=>s[a]=null):ae(s,i),J(e)&&n.set(e,s),s)}function sn(e,t){return!e||!Yr(t)?!1:(t=t.slice(2).replace(/Once$/,""),H(e,t[0].toLowerCase()+t.slice(1))||H(e,Vt(t))||H(e,t))}let ie=null,ln=null;function Wr(e){const t=ie;return ie=e,ln=e&&e.type.__scopeId||null,t}function rc(e){ln=e}function nc(){ln=null}function oc(e,t=ie,r){if(!t||e._n)return e;const n=(...o)=>{n._d&&xi(-1);const i=Wr(t);let s;try{s=e(...o)}finally{Wr(i),n._d&&xi(1)}return s};return n._n=!0,n._c=!0,n._d=!0,n}function Sn(e){const{type:t,vnode:r,proxy:n,withProxy:o,props:i,propsOptions:[s],slots:l,attrs:a,emit:c,render:u,renderCache:d,data:h,setupState:w,ctx:y,inheritAttrs:_}=e;let T,A;const I=Wr(e);try{if(r.shapeFlag&4){const k=o||n,te=k;T=De(u.call(te,k,d,i,w,h,y)),A=a}else{const k=t;T=De(k.length>1?k(i,{attrs:a,slots:l,emit:c}):k(i,null)),A=t.props?a:ic(a)}}catch(k){tr.length=0,fr(k,e,1),T=X(it)}let N=T;if(A&&_!==!1){const k=Object.keys(A),{shapeFlag:te}=N;k.length&&te&7&&(s&&k.some(vo)&&(A=sc(A,s)),N=Lt(N,A))}return r.dirs&&(N=Lt(N),N.dirs=N.dirs?N.dirs.concat(r.dirs):r.dirs),r.transition&&(N.transition=r.transition),T=N,Wr(I),T}const ic=e=>{let t;for(const r in e)(r==="class"||r==="style"||Yr(r))&&((t||(t={}))[r]=e[r]);return t},sc=(e,t)=>{const r={};for(const n in e)(!vo(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function lc(e,t,r){const{props:n,children:o,component:i}=e,{props:s,children:l,patchFlag:a}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&a>=0){
* @vue/runtime-dom v3.4.15
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const uu="http://www.w3.org/2000/svg",fu="http://www.w3.org/1998/Math/MathML",Ze=typeof document<"u"?document:null,Ri=Ze&&Ze.createElement("template"),du={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,n)=>{const o=t==="svg"?Ze.createElementNS(uu,e):t==="mathml"?Ze.createElementNS(fu,e):Ze.createElement(e,r?{is:r}:void 0);return e==="select"&&n&&n.multiple!=null&&o.setAttribute("multiple",n.multiple),o},createText:e=>Ze.createTextNode(e),createComment:e=>Ze.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ze.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,n,o,i){const s=r?r.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),r),!(o===i||!(o=o.nextSibling)););else{Ri.innerHTML=n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e;const l=Ri.content;if(n==="svg"||n==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,r)}return[s?s.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},pu=Symbol("_vtc");function hu(e,t,r){const n=e[pu];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}const Bo=Symbol("_vod"),Ti={beforeMount(e,{value:t},{transition:r}){e[Bo]=e.style.display==="none"?"":e.style.display,r&&t?r.beforeEnter(e):Gt(e,t)},mounted(e,{value:t},{transition:r}){r&&t&&r.enter(e)},updated(e,{value:t,oldValue:r},{transition:n}){!t!=!r&&(n?t?(n.beforeEnter(e),Gt(e,!0),n.enter(e)):n.leave(e,()=>{Gt(e,!1)}):Gt(e,t))},beforeUnmount(e,{value:t}){Gt(e,t)}};function Gt(e,t){e.style.display=t?e[Bo]:"none"}const yu=Symbol("");function mu(e,t,r){const n=e.style,o=n.display,i=ee(r);if(r&&!i){if(t&&!ee(t))for(const s in t)r[s]==null&&ro(n,s,"");for(const s in r)ro(n,s,r[s])}else if(i){if(t!==r){const s=n[yu];s&&(r+=";"+s),n.cssText=r}}else t&&e.removeAttribute("style");Bo in e&&(n.display=o)}const Ci=/\s*!important$/;function ro(e,t,r){if(M(r))r.forEach(n=>ro(e,t,n));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=gu(e,t);Ci.test(r)?e.setProperty(Vt(n),r.replace(Ci,""),"important"):e[n]=r}}const Fi=["Webkit","Moz","ms"],Pn={};function gu(e,t){const r=Pn[t];if(r)return r;let n=Ve(t);if(n!=="filter"&&n in e)return Pn[t]=n;n=tn(n);for(let o=0;o<Fi.length;o++){const i=Fi[o]+n;if(i in e)return Pn[t]=i}return t}const Ii="http://www.w3.org/1999/xlink";function vu(e,t,r,n,o){if(n&&t.startsWith("xlink:"))r==null?e.removeAttributeNS(Ii,t.slice(6,t.length)):e.setAttributeNS(Ii,t,r);else{const i=_a(t);r==null||i&&!Rs(r)?e.removeAttribute(t):e.setAttribute(t,i?"":r)}}function bu(e,t,r,n,o,i,s){if(t==="innerHTML"||t==="textContent"){n&&s(n,o,i),e[t]=r??"";return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){e._value=r;const c=l==="OPTION"?e.getAttribute("value"):e.value,u=r??"";c!==u&&(e.value=u),r==null&&e.removeAttribute(t);return}let a=!1;if(r===""||r==null){const c=typeof e[t];c==="boolean"?r=Rs(r):r==null&&c==="string"?(r="",a=!0):c==="number"&&(r=0,a=!0)}try{e[t]=r}catch{}a&&e.removeAttribute(t)}function Rt(e,t,r,n){e.addEventListener(t,r,n)}function _u(e,t,r,n){e.removeEventListener(t,r,n)}const Ni=Symbol("_vei");function wu(e,t,r,n,o=null){const i=e[Ni]||(e[Ni]={}),s=i[t];if(n&&s)s.value=n;else{const[l,a]=Su(t);if(n){const c=i[t]=Ou(n,o);Rt(e,l,c,a)}else s&&(_u(e,l,s,a),i[t]=void 0)}}const $i=/(?:Once|Passive|Capture)$/;function Su(e){let t;if($i.test(e)){t={};let n;for(;n=e.match($i);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Vt(e.slice(2)),t]}let Rn=0;const Eu=Promise.resolve(),xu=()=>Rn||(Eu.then(()=>Rn=0),Rn=Date.now());function Ou(e,t){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;Ce(Au(n,r.value),t,5,[n])};return r.value=e,r.attached=xu(),r}function Au(e,t){if(M(t)){const r=e.stopImmediatePropagation;return e.stopImmedi
`)>=0)return!1;return!0}function rd(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=Ue.call(Array(e.indent+1)," ");else return null;return{base:r,prev:Ue.call(Array(t+1),r)}}function co(e,t){if(e.length===0)return"";var r=`
`+t.prev+t.base;return r+Ue.call(e,","+r)+`
`+t.prev}function Pr(e,t){var r=ao(e),n=[];if(r){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=et(e,o)?t(e[o],e):""}var i=typeof $n=="function"?$n(e):[],s;if(Dt){s={};for(var l=0;l<i.length;l++)s["$"+i[l]]=i[l]}for(var a in e)et(e,a)&&(r&&String(Number(a))===a&&a<e.length||Dt&&s["$"+a]instanceof Symbol||(Al.call(/[^\w$]/,a)?n.push(t(a,e)+": "+t(e[a],e)):n.push(a+": "+t(e[a],e))));if(typeof $n=="function")for(var c=0;c<i.length;c++)Pl.call(e,i[c])&&n.push("["+t(i[c])+"]: "+t(e[i[c]],e));return n}var Wo=Et,Wt=Of,nd=Df,od=Wo("%TypeError%"),Rr=Wo("%WeakMap%",!0),Tr=Wo("%Map%",!0),id=Wt("WeakMap.prototype.get",!0),sd=Wt("WeakMap.prototype.set",!0),ld=Wt("WeakMap.prototype.has",!0),ad=Wt("Map.prototype.get",!0),cd=Wt("Map.prototype.set",!0),ud=Wt("Map.prototype.has",!0),ko=function(e,t){for(var r=e,n;(n=r.next)!==null;r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n},fd=function(e,t){var r=ko(e,t);return r&&r.value},dd=function(e,t,r){var n=ko(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},pd=function(e,t){return!!ko(e,t)},hd=function(){var t,r,n,o={assert:function(i){if(!o.has(i))throw new od("Side channel does not contain "+nd(i))},get:function(i){if(Rr&&i&&(typeof i=="object"||typeof i=="function")){if(t)return id(t,i)}else if(Tr){if(r)return ad(r,i)}else if(n)return fd(n,i)},has:function(i){if(Rr&&i&&(typeof i=="object"||typeof i=="function")){if(t)return ld(t,i)}else if(Tr){if(r)return ud(r,i)}else if(n)return pd(n,i);return!1},set:function(i,s){Rr&&i&&(typeof i=="object"||typeof i=="function")?(t||(t=new Rr),sd(t,i,s)):Tr?(r||(r=new Tr),cd(r,i,s)):(n||(n={key:{},next:null}),dd(n,i,s))}};return o},yd=String.prototype.replace,md=/%20/g,Ln={RFC1738:"RFC1738",RFC3986:"RFC3986"},qo={default:Ln.RFC3986,formatters:{RFC1738:function(e){return yd.call(e,md,"+")},RFC3986:function(e){return String(e)}},RFC1738:Ln.RFC1738,RFC3986:Ln.RFC3986},gd=qo,Bn=Object.prototype.hasOwnProperty,pt=Array.isArray,Le=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),vd=function(t){for(;t.length>1;){var r=t.pop(),n=r.obj[r.prop];if(pt(n)){for(var o=[],i=0;i<n.length;++i)typeof n[i]<"u"&&o.push(n[i]);r.obj[r.prop]=o}}},Il=function(t,r){for(var n=r&&r.plainObjects?Object.create(null):{},o=0;o<t.length;++o)typeof t[o]<"u"&&(n[o]=t[o]);return n},bd=function e(t,r,n){if(!r)return t;if(typeof r!="object"){if(pt(t))t.push(r);else if(t&&typeof t=="object")(n&&(n.plainObjects||n.allowPrototypes)||!Bn.call(Object.prototype,r))&&(t[r]=!0);else return[t,r];return t}if(!t||typeof t!="object")return[t].concat(r);var o=t;return pt(t)&&!pt(r)&&(o=Il(t,n)),pt(t)&&pt(r)?(r.forEach(function(i,s){if(Bn.call(t,s)){var l=t[s];l&&typeof l=="object"&&i&&typeof i=="object"?t[s]=e(l,i,n):t.push(i)}else t[s]=i}),t):Object.keys(r).reduce(function(i,s){var l=r[s];return Bn.call(i,s)?i[s]=e(i[s],l,n):i[s]=l,i},o)},_d=function(t,r){return Object.keys(r).reduce(function(n,o){return n[o]=r[o],n},t)},wd=function(e,t,r){var n=e.replace(/\+/g," ");if(r==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},Sd=function(t,r,n,o,i){if(t.length===0)return t;var s=t;if(typeof t=="symbol"?s=Symbol.prototype.toString.call(t):typeof t!="string"&&(s=String(t)),n==="iso-8859-1")return escape(s).replace(/%u[0-9a-f]{4}/gi,function(u){return"%26%23"+parseInt(u.slice(2),16)+"%3B"});for(var l="",a=0;a<s.length;++a){var c=s.charCodeAt(a);if(c===45||c===46||c===95||c===126||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||i===gd.RFC1738&&(c===40||c===41)){l+=s.charAt(a);continue}if(c<128){l=l+Le[c];continue}if(c<2048){l=l+(Le[192|c>>6]+Le[128|c&63]);continue}if(c<55296||c>=57344){l=l+(Le[224|c>>12]+Le[128|c>>6&63]+Le[128|c&63]);continue}a+=1,c=65536+((c&1023)<<10|s.charCodeAt(a)&1023),l+=Le[240|c>>18]+Le[128|c>>12&63]+Le[128|c>>6&63]+Le[128|c&63]}return l},Ed=function(t){for(var r=[{obj:{o:t},prop:"o"}],n=[],o=0;o<r.length;++o)for(var i=r[o],s=i.obj[i.prop],l=Object.keys(s),a=0;a<l.length;++a){var c=l[a],u=s[c];typeof u=="object"&&u!==null&&n.indexOf(u)===-1&&(r.push({obj:s
`,1))}});const Ep=zo(Sp,[["__scopeId","data-v-3be501eb"]]);async function xp(e,t){const r=await Bl(e),n=St({render:()=>X(Ep,{value:r},null)});return n.mount(t),n}function Op(e,t){const r=document.createElement("video");r.width=840,r.height=480,r.controls=!0;const n=document.createElement("source");n.src=URL.createObjectURL(new Blob([e])),r.appendChild(n),t.appendChild(r)}const Cr=e=>({$el:e,unmount(){}}),Ap=[{accepts:["docx"],handler:async(e,t)=>(await cp(e,t),window.dispatchEvent(new Event("resize")),Cr(t))},{accepts:["pptx"],handler:async(e,t)=>(await fp(e,t),window.dispatchEvent(new Event("resize")),Cr(t))},{accepts:["xlsx"],handler:async(e,t)=>us(e,t,"xml")},{accepts:["xlsm","xlsb","xls","csv","ods","fods","numbers"],handler:async(e,t)=>us(e,t,"binary")},{accepts:["pdf"],handler:async(e,t)=>hp(e,t)},{accepts:["gif","jpg","jpeg","bmp","tiff","tif","png","svg"],handler:async(e,t)=>vp(e,t)},{accepts:["md","markdown"],handler:async(e,t)=>_p(e,t)},{accepts:["txt","json","js","css","java","py","html","jsx","ts","tsx","xml","log"],handler:async(e,t)=>xp(e,t)},{accepts:["mp4"],handler:async(e,t)=>(Op(e,t),Cr(t))},{accepts:["error"],handler:async(e,t,r)=>(t.innerHTML=`<div style='text-align: center; margin-top: 80px'>不支持.${r}格式的在线预览请下载后预览或转换为支持的格式</div>
<div style='text-align: center'>支持docx, xlsx, pptx, pdf, 以及纯文本格式和各种图片格式的在线预览</div>`,Cr(t))}],Dl=Ap.reduce((e,{accepts:t,handler:r})=>(t.forEach(n=>e.set(n,r)),e),new Map),fs=Dl.get("error");function Pp(e){const t=e.lastIndexOf(".");return e.substring(t+1)}async function Rp(e,t,r){const n=Dl.get(t.toLowerCase());if(n)return n(e,r);if(fs)return fs(e,r,t)}function Ul(e,t){return function(){return e.apply(t,arguments)}}const{toString:Tp}=Object.prototype,{getPrototypeOf:Ko}=Object,dn=(e=>t=>{const r=Tp.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),We=e=>(e=e.toLowerCase(),t=>dn(t)===e),pn=e=>t=>typeof t===e,{isArray:qt}=Array,ur=pn("undefined");function Cp(e){return e!==null&&!ur(e)&&e.constructor!==null&&!ur(e.constructor)&&Oe(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const jl=We("ArrayBuffer");function Fp(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&jl(e.buffer),t}const Ip=pn("string"),Oe=pn("function"),Hl=pn("number"),hn=e=>e!==null&&typeof e=="object",Np=e=>e===!0||e===!1,Dr=e=>{if(dn(e)!=="object")return!1;const t=Ko(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},$p=We("Date"),Mp=We("File"),Lp=We("Blob"),Bp=We("FileList"),Dp=e=>hn(e)&&Oe(e.pipe),Up=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Oe(e.append)&&((t=dn(e))==="formdata"||t==="object"&&Oe(e.toString)&&e.toString()==="[object FormData]"))},jp=We("URLSearchParams"),Hp=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function gr(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,o;if(typeof e!="object"&&(e=[e]),qt(e))for(n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else{const i=r?Object.getOwnPropertyNames(e):Object.keys(e),s=i.length;let l;for(n=0;n<s;n++)l=i[n],t.call(null,e[l],l,e)}}function Vl(e,t){t=t.toLowerCase();const r=Object.keys(e);let n=r.length,o;for(;n-- >0;)if(o=r[n],t===o.toLowerCase())return o;return null}const Wl=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),kl=e=>!ur(e)&&e!==Wl;function fo(){const{caseless:e}=kl(this)&&this||{},t={},r=(n,o)=>{const i=e&&Vl(t,o)||o;Dr(t[i])&&Dr(n)?t[i]=fo(t[i],n):Dr(n)?t[i]=fo({},n):qt(n)?t[i]=n.slice():t[i]=n};for(let n=0,o=arguments.length;n<o;n++)arguments[n]&&gr(arguments[n],r);return t}const Vp=(e,t,r,{allOwnKeys:n}={})=>(gr(t,(o,i)=>{r&&Oe(o)?e[i]=Ul(o,r):e[i]=o},{allOwnKeys:n}),e),Wp=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),kp=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},qp=(e,t,r,n)=>{let o,i,s;const l={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)s=o[i],(!n||n(s,e,t))&&!l[s]&&(t[s]=e[s],l[s]=!0);e=r!==!1&&Ko(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},zp=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},Kp=e=>{if(!e)return null;if(qt(e))return e;let t=e.length;if(!Hl(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Gp=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ko(Uint8Array)),Jp=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=n.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},Qp=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},Xp=We("HTMLFormElement"),Yp=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,o){return n.toUpperCase()+o}),ds=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Zp=We("RegExp"),ql=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};gr(r,(o,i)=>{let s;(s=t(o,i,e))!==!1&&(n[i]=s||o)}),Object.defineProperties(e,n)},eh=e=>{ql(e,(t,r)=>{if(Oe(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(Oe(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can n
`).forEach(function(s){o=s.indexOf(":"),r=s.substring(0,o).trim().toLowerCase(),n=s.substring(o+1).trim(),!(!r||t[r]&&Oh[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},gs=Symbol("internals");function Qt(e){return e&&String(e).trim().toLowerCase()}function Ur(e){return e===!1||e==null?e:g.isArray(e)?e.map(Ur):String(e)}function Ph(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const Rh=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function jn(e,t,r,n,o){if(g.isFunction(n))return n.call(this,t,r);if(o&&(t=r),!!g.isString(t)){if(g.isString(n))return t.indexOf(n)!==-1;if(g.isRegExp(n))return n.test(t)}}function Th(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function Ch(e,t){const r=g.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(o,i,s){return this[n].call(this,t,o,i,s)},configurable:!0})})}class mn{constructor(t){t&&this.set(t)}set(t,r,n){const o=this;function i(l,a,c){const u=Qt(a);if(!u)throw new Error("header name must be a non-empty string");const d=g.findKey(o,u);(!d||o[d]===void 0||c===!0||c===void 0&&o[d]!==!1)&&(o[d||a]=Ur(l))}const s=(l,a)=>g.forEach(l,(c,u)=>i(c,u,a));return g.isPlainObject(t)||t instanceof this.constructor?s(t,r):g.isString(t)&&(t=t.trim())&&!Rh(t)?s(Ah(t),r):t!=null&&i(r,t,n),this}get(t,r){if(t=Qt(t),t){const n=g.findKey(this,t);if(n){const o=this[n];if(!r)return o;if(r===!0)return Ph(o);if(g.isFunction(r))return r.call(this,o,n);if(g.isRegExp(r))return r.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=Qt(t),t){const n=g.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||jn(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let o=!1;function i(s){if(s=Qt(s),s){const l=g.findKey(n,s);l&&(!r||jn(n,n[l],l,r))&&(delete n[l],o=!0)}}return g.isArray(t)?t.forEach(i):i(t),o}clear(t){const r=Object.keys(this);let n=r.length,o=!1;for(;n--;){const i=r[n];(!t||jn(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const r=this,n={};return g.forEach(this,(o,i)=>{const s=g.findKey(n,i);if(s){r[s]=Ur(o),delete r[i];return}const l=t?Th(i):String(i).trim();l!==i&&delete r[i],r[l]=Ur(o),n[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return g.forEach(this,(n,o)=>{n!=null&&n!==!1&&(r[o]=t&&g.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(o=>n.set(o)),n}static accessor(t){const n=(this[gs]=this[gs]={accessors:{}}).accessors,o=this.prototype;function i(s){const l=Qt(s);n[l]||(Ch(o,s),n[l]=!0)}return g.isArray(t)?t.forEach(i):i(t),this}}mn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);g.reduceDescriptors(mn.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});g.freezeMethods(mn);const Ke=mn;function Hn(e,t){const r=this||Qo,n=t||r,o=Ke.from(n.headers);let i=n.data;return g.forEach(e,function(l){i=l.call(r,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function ta(e){return!!(e&&e.__CANCEL__)}function vr(e,t,r){j.call(this,e??"canceled",j.ERR_CANCELED,t,r),this.name="CanceledError"}g.inherits(vr,j,{__CANCEL__:!0});function Fh(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new j("Request failed with status code "+r.status,[j.ERR_BAD_REQUEST,j.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const Ih=He.hasStandardBrowserEnv?{write(e,t,r,n,o,i){const s=[e+"="+encodeURIComponent(t)];g.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),g.isString(n)&&s.push("path="+n),g.isString(o)&&s.push("domain="+o),i===!0&&s.push("secure"),document.cookie=s.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 Nh(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function $h(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function ra(e,t){return e&&!Nh(t)?$h(e,t):t}const Mh=He.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let n;function o(i){let s=i;return t&&(r.setAttribute("href",s),s=r.href),r.setAttribute("href",s),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=o(window.location.href),function(s){const l=g.isString(s)?o(s):s;return l.protocol===n.protocol&&l.host===n.host}}():function(){return function(){return!0}}();function Lh(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Bh(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o=0,i=0,s;return t=t!==void 0?t:1e3,function(a){const c=Date.now(),u=n[i];s||(s=c),r[o]=a,n[o]=c;let d=i,h=0;for(;d!==o;)h+=r[d++],d=d%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),c-s<t)return;const w=u&&c-u;return w?Math.round(h*1e3/w):void 0}}function vs(e,t){let r=0;const n=Bh(50,250);return o=>{const i=o.loaded,s=o.lengthComputable?o.total:void 0,l=i-r,a=n(l),c=i<=s;r=i;const u={loaded:i,total:s,progress:s?i/s:void 0,bytes:l,rate:a||void 0,estimated:a&&s&&c?(s-i)/a:void 0,event:o};u[t?"download":"upload"]=!0,e(u)}}const Dh=typeof XMLHttpRequest<"u",Uh=Dh&&function(e){return new Promise(function(r,n){let o=e.data;const i=Ke.from(e.headers).normalize();let{responseType:s,withXSRFToken:l}=e,a;function c(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}let u;if(g.isFormData(o)){if(He.hasStandardBrowserEnv||He.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((u=i.getContentType())!==!1){const[_,...T]=u?u.split(";").map(A=>A.trim()).filter(Boolean):[];i.setContentType([_||"multipart/form-data",...T].join("; "))}}let d=new XMLHttpRequest;if(e.auth){const _=e.auth.username||"",T=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(_+":"+T))}const h=ra(e.baseURL,e.url);d.open(e.method.toUpperCase(),Xl(h,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function w(){if(!d)return;const _=Ke.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders
`+i.map(bs).join(`
`):" "+bs(i[0]):"as no adapter specified";throw new j("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return n},adapters:ho};function Vn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new vr(null,e)}function _s(e){return Vn(e),e.headers=Ke.from(e.headers),e.data=Hn.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),na.getAdapter(e.adapter||Qo.adapter)(e).then(function(n){return Vn(e),n.data=Hn.call(e,e.transformResponse,n),n.headers=Ke.from(n.headers),n},function(n){return ta(n)||(Vn(e),n&&n.response&&(n.response.data=Hn.call(e,e.transformResponse,n.response),n.response.headers=Ke.from(n.response.headers))),Promise.reject(n)})}const ws=e=>e instanceof Ke?e.toJSON():e;function jt(e,t){t=t||{};const r={};function n(c,u,d){return g.isPlainObject(c)&&g.isPlainObject(u)?g.merge.call({caseless:d},c,u):g.isPlainObject(u)?g.merge({},u):g.isArray(u)?u.slice():u}function o(c,u,d){if(g.isUndefined(u)){if(!g.isUndefined(c))return n(void 0,c,d)}else return n(c,u,d)}function i(c,u){if(!g.isUndefined(u))return n(void 0,u)}function s(c,u){if(g.isUndefined(u)){if(!g.isUndefined(c))return n(void 0,c)}else return n(void 0,u)}function l(c,u,d){if(d in t)return n(c,u);if(d in e)return n(void 0,c)}const a={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l,headers:(c,u)=>o(ws(c),ws(u),!0)};return g.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=a[u]||o,h=d(e[u],t[u],u);g.isUndefined(h)&&d!==l||(r[u]=h)}),r}const oa="1.6.7",Xo={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Xo[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Ss={};Xo.transitional=function(t,r,n){function o(i,s){return"[Axios v"+oa+"] Transitional option '"+i+"'"+s+(n?". "+n:"")}return(i,s,l)=>{if(t===!1)throw new j(o(s," has been removed"+(r?" in "+r:"")),j.ERR_DEPRECATED);return r&&!Ss[s]&&(Ss[s]=!0,console.warn(o(s," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,s,l):!0}};function Hh(e,t,r){if(typeof e!="object")throw new j("options must be an object",j.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const i=n[o],s=t[i];if(s){const l=e[i],a=l===void 0||s(l,i,e);if(a!==!0)throw new j("option "+i+" must be "+a,j.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new j("Unknown option "+i,j.ERR_BAD_OPTION)}}const yo={assertOptions:Hh,validators:Xo},Qe=yo.validators;class Xr{constructor(t){this.defaults=t,this.interceptors={request:new ms,response:new ms}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";n.stack?i&&!String(n.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(n.stack+=`
`+i):n.stack=i}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=jt(this.defaults,r);const{transitional:n,paramsSerializer:o,headers:i}=r;n!==void 0&&yo.assertOptions(n,{silentJSONParsing:Qe.transitional(Qe.boolean),forcedJSONParsing:Qe.transitional(Qe.boolean),clarifyTimeoutError:Qe.transitional(Qe.boolean)},!1),o!=null&&(g.isFunction(o)?r.paramsSerializer={serialize:o}:yo.assertOptions(o,{encode:Qe.function,serialize:Qe.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let s=i&&g.merge(i.common,i[r.method]);i&&g.forEach(["delete","get","head","post","put","patch","common"],y=>{delete i[y]}),r.headers=Ke.concat(s,i);const l=[];let a=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(r)===!1||(a=a&&_.synchronous,l.unshift(_.fulfilled,_.rejected))});const c=[];this.interceptors.response.forEach(function(_){c.push(_.fulfilled,_.rejected)});let u,d=0,h;if(!a){const y=[_s.bind(this),void 0];for(y.unshift.apply(y,l),y.push.apply(y,c),h=y.length,u=Promise.resolve(r);d<h;)u=u.then(y[d++],y[d++]);return u}h=l.length;let w=r;for(d=0;d<h;){const y=l[d++],_=l[d++];try{w=y(w)}catch(T){_.call(this,T);break}}try{u=_s.call(this,w)}catch(y){return Promise.reject(y)}for(d=0,h=c.length;d<h;)u=u.then(c[d++],c[d++]);return u}getUri(t){t=jt(this.defaults,t);const r=ra(t.baseURL,t.url);return Xl(r,t.params,t.paramsSerializer)}}g.forEach(["delete","get","head","options"],function(t){Xr.prototype[t]=function(r,n){return this.request(jt(n||{},{method:t,url:r,data:(n||{}).data}))}});g.forEach(["post","put","patch"],function(t){function r(n){return function(i,s,l){return this.request(jt(l||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}Xr.prototype[t]=r(),Xr.prototype[t+"Form"]=r(!0)});const jr=Xr;class Yo{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(i){r=i});const n=this;this.promise.then(o=>{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](o);n._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(l=>{n.subscribe(l),i=l}).then(o);return s.cancel=function(){n.unsubscribe(i)},s},t(function(i,s,l){n.reason||(n.reason=new vr(i,s,l),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new Yo(function(o){t=o}),cancel:t}}}const Vh=Yo;function Wh(e){return function(r){return e.apply(null,r)}}function kh(e){return g.isObject(e)&&e.isAxiosError===!0}const mo={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(mo).forEach(([e,t])=>{mo[t]=e});const qh=mo;function ia(e){const t=new jr(e),r=Ul(jr.prototype.requ