8 lines
236 KiB
JavaScript
8 lines
236 KiB
JavaScript
|
function qr(e,t){const n=Object.create(null),s=e.split(",");for(let o=0;o<s.length;o++)n[s[o]]=!0;return t?o=>!!n[o.toLowerCase()]:o=>!!n[o]}const be={},wn=[],ct=()=>{},yf=()=>!1,vf=/^on[^a-z]/,as=e=>vf.test(e),jr=e=>e.startsWith("onUpdate:"),Te=Object.assign,Qr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},wf=Object.prototype.hasOwnProperty,Ae=(e,t)=>wf.call(e,t),te=Array.isArray,bn=e=>lo(e)==="[object Map]",ua=e=>lo(e)==="[object Set]",se=e=>typeof e=="function",ke=e=>typeof e=="string",io=e=>typeof e=="symbol",we=e=>e!==null&&typeof e=="object",fa=e=>(we(e)||se(e))&&se(e.then)&&se(e.catch),da=Object.prototype.toString,lo=e=>da.call(e),bf=e=>lo(e).slice(8,-1),Aa=e=>lo(e)==="[object Object]",Kr=e=>ke(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Gn=qr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ao=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},_f=/-(\w)/g,mt=ao(e=>e.replace(_f,(t,n)=>n?n.toUpperCase():"")),Cf=/\B([A-Z])/g,un=ao(e=>e.replace(Cf,"-$1").toLowerCase()),co=ao(e=>e.charAt(0).toUpperCase()+e.slice(1)),Go=ao(e=>e?`on${co(e)}`:""),an=(e,t)=>!Object.is(e,t),Ps=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Qs=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},fr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ha=e=>{const t=ke(e)?Number(e):NaN;return isNaN(t)?e:t};let Qi;const dr=()=>Qi||(Qi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ct(e){if(te(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=ke(s)?Sf(s):Ct(s);if(o)for(const r in o)t[r]=o[r]}return t}else if(ke(e)||we(e))return e}const Ef=/;(?![^(]*\))/g,kf=/:([^]+)/,xf=/\/\*[^]*?\*\//g;function Sf(e){const t={};return e.replace(xf,"").split(Ef).forEach(n=>{if(n){const s=n.split(kf);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function _e(e){let t="";if(ke(e))t=e;else if(te(e))for(let n=0;n<e.length;n++){const s=_e(e[n]);s&&(t+=s+" ")}else if(we(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Tf(e){if(!e)return null;let{class:t,style:n}=e;return t&&!ke(t)&&(e.class=_e(t)),n&&(e.style=Ct(n)),e}const Rf="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Lf=qr(Rf);function pa(e){return!!e||e===""}const $=e=>ke(e)?e:e==null?"":te(e)||we(e)&&(e.toString===da||!se(e.toString))?JSON.stringify(e,ma,2):String(e),ma=(e,t)=>t&&t.__v_isRef?ma(e,t.value):bn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:ua(t)?{[`Set(${t.size})`]:[...t.values()]}:we(t)&&!te(t)&&!Aa(t)?String(t):t;let lt;class ga{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=lt,!t&<&&(this.index=(lt.scopes||(lt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=lt;try{return lt=this,t()}finally{lt=n}}}on(){lt=this}off(){lt=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].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 Bf(e){return new ga(e)}function If(e,t=lt){t&&t.active&&t.effects.push(e)}function Of(){return lt}const Wr=e=>{const t=new Set(e);return t.w=0,t.n=0,t},ya=e=>(e.w&jt)>0,va=e=>(e.n&jt)>0,Pf=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=jt},Uf=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const o=t[s];ya(o)&&!va(o)?o.delete(e):t[n++]=o,o.w&=~jt,o.n&=~jt}t.length=n}},Ks=new WeakMap;let Yn=0,jt=1;const Ar=30;let at;const rn=Symbol(""),hr=Symbol("");class Yr{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,If(this,s)}run(){if(!this.active)return this.fn();let t=at,n=Nt;for(;t;){if(t===this)return;t=t.parent}try{return
|
||
|
`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),s=i.substring(o+1).trim(),!(!n||t[n]&&Lg[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},$l=Symbol("internals");function Wn(e){return e&&String(e).trim().toLowerCase()}function qs(e){return e===!1||e==null?e:k.isArray(e)?e.map(qs):String(e)}function Ig(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const Og=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ar(e,t,n,s,o){if(k.isFunction(s))return s.call(this,t,n);if(o&&(t=n),!!k.isString(t)){if(k.isString(s))return t.indexOf(s)!==-1;if(k.isRegExp(s))return s.test(t)}}function Pg(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function Ug(e,t){const n=k.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(o,r,i){return this[s].call(this,t,o,r,i)},configurable:!0})})}class xo{constructor(t){t&&this.set(t)}set(t,n,s){const o=this;function r(a,f,l){const c=Wn(f);if(!c)throw new Error("header name must be a non-empty string");const u=k.findKey(o,c);(!u||o[u]===void 0||l===!0||l===void 0&&o[u]!==!1)&&(o[u||f]=qs(a))}const i=(a,f)=>k.forEach(a,(l,c)=>r(l,c,f));return k.isPlainObject(t)||t instanceof this.constructor?i(t,n):k.isString(t)&&(t=t.trim())&&!Og(t)?i(Bg(t),n):t!=null&&r(n,t,s),this}get(t,n){if(t=Wn(t),t){const s=k.findKey(this,t);if(s){const o=this[s];if(!n)return o;if(n===!0)return Ig(o);if(k.isFunction(n))return n.call(this,o,s);if(k.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Wn(t),t){const s=k.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||ar(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let o=!1;function r(i){if(i=Wn(i),i){const a=k.findKey(s,i);a&&(!n||ar(s,s[a],a,n))&&(delete s[a],o=!0)}}return k.isArray(t)?t.forEach(r):r(t),o}clear(t){const n=Object.keys(this);let s=n.length,o=!1;for(;s--;){const r=n[s];(!t||ar(this,this[r],r,t,!0))&&(delete this[r],o=!0)}return o}normalize(t){const n=this,s={};return k.forEach(this,(o,r)=>{const i=k.findKey(s,r);if(i){n[i]=qs(o),delete n[r];return}const a=t?Pg(r):String(r).trim();a!==r&&delete n[r],n[a]=qs(o),s[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return k.forEach(this,(s,o)=>{s!=null&&s!==!1&&(n[o]=t&&k.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
||
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(o=>s.set(o)),s}static accessor(t){const s=(this[$l]=this[$l]={accessors:{}}).accessors,o=this.prototype;function r(i){const a=Wn(i);s[a]||(Ug(o,i),s[a]=!0)}return k.isArray(t)?t.forEach(r):r(t),this}}xo.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);k.reduceDescriptors(xo.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});k.freezeMethods(xo);const kt=xo;function cr(e,t){const n=this||wi,s=t||n,o=kt.from(s.headers);let r=s.data;return k.forEach(e,function(a){r=a.call(n,r,o.normalize(),t?t.status:void 0)}),o.normalize(),r}function pu(e){return!!(e&&e.__CANCEL__)}function ds(e,t,n){de.call(this,e??"canceled",de.ERR_CANCELED,t,n),this.name="CanceledError"}k.inherits(ds,de,{__CANCEL__:!0});function Mg(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new de("Request failed with status code "+n.status,[de.ERR_BAD_REQUEST,de.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Hg=pt.hasStandardBrowserEnv?{write(e,t,n,s,o,r){const i=[e+"="+encodeURIComponent(t)];k.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),k.isString(s)&&i.push("path="+s),k.isString(o)&&i.push("domain="+o),r===!0&&i.push("secure"),document.cookie=i.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 Ng(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Dg(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function mu(e,t){return e&&!Ng(t)?Dg(e,t):t}const Fg=pt.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let s;function o(r){let i=r;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return s=o(window.location.href),function(i){const a=k.isString(i)?o(i):i;return a.protocol===s.protocol&&a.host===s.host}}():function(){return function(){return!0}}();function qg(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function jg(e,t){e=e||10;const n=new Array(e),s=new Array(e);let o=0,r=0,i;return t=t!==void 0?t:1e3,function(f){const l=Date.now(),c=s[r];i||(i=l),n[o]=f,s[o]=l;let u=r,h=0;for(;u!==o;)h+=n[u++],u=u%e;if(o=(o+1)%e,o===r&&(r=(r+1)%e),l-i<t)return;const g=c&&l-c;return g?Math.round(h*1e3/g):void 0}}function ea(e,t){let n=0;const s=jg(50,250);return o=>{const r=o.loaded,i=o.lengthComputable?o.total:void 0,a=r-n,f=s(a),l=r<=i;n=r;const c={loaded:r,total:i,progress:i?r/i:void 0,bytes:a,rate:f||void 0,estimated:f&&i&&l?(i-r)/f:void 0,event:o};c[t?"download":"upload"]=!0,e(c)}}const Qg=typeof XMLHttpRequest<"u",Kg=Qg&&function(e){return new Promise(function(n,s){let o=e.data;const r=kt.from(e.headers).normalize();let{responseType:i,withXSRFToken:a}=e,f;function l(){e.cancelToken&&e.cancelToken.unsubscribe(f),e.signal&&e.signal.removeEventListener("abort",f)}let c;if(k.isFormData(o)){if(pt.hasStandardBrowserEnv||pt.hasStandardBrowserWebWorkerEnv)r.setContentType(!1);else if((c=r.getContentType())!==!1){const[_,...q]=c?c.split(";").map(z=>z.trim()).filter(Boolean):[];r.setContentType([_||"multipart/form-data",...q].join("; "))}}let u=new XMLHttpRequest;if(e.auth){const _=e.auth.username||"",q=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";r.set("Authorization","Basic "+btoa(_+":"+q))}const h=mu(e.baseURL,e.url);u.open(e.method.toUpperCase(),fu(h,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function g(){if(!u)return;const _=kt.from("getAllResponseHeaders"in u&&u.getAllResponseHea
|
||
|
`+r.map(ta).join(`
|
||
|
`):" "+ta(r[0]):"as no adapter specified";throw new de("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return s},adapters:Nr};function ur(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ds(null,e)}function na(e){return ur(e),e.headers=kt.from(e.headers),e.data=cr.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),gu.getAdapter(e.adapter||wi.adapter)(e).then(function(s){return ur(e),s.data=cr.call(e,e.transformResponse,s),s.headers=kt.from(s.headers),s},function(s){return pu(s)||(ur(e),s&&s.response&&(s.response.data=cr.call(e,e.transformResponse,s.response),s.response.headers=kt.from(s.response.headers))),Promise.reject(s)})}const sa=e=>e instanceof kt?e.toJSON():e;function Bn(e,t){t=t||{};const n={};function s(l,c,u){return k.isPlainObject(l)&&k.isPlainObject(c)?k.merge.call({caseless:u},l,c):k.isPlainObject(c)?k.merge({},c):k.isArray(c)?c.slice():c}function o(l,c,u){if(k.isUndefined(c)){if(!k.isUndefined(l))return s(void 0,l,u)}else return s(l,c,u)}function r(l,c){if(!k.isUndefined(c))return s(void 0,c)}function i(l,c){if(k.isUndefined(c)){if(!k.isUndefined(l))return s(void 0,l)}else return s(void 0,c)}function a(l,c,u){if(u in t)return s(l,c);if(u in e)return s(void 0,l)}const f={url:r,method:r,data:r,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(l,c)=>o(sa(l),sa(c),!0)};return k.forEach(Object.keys(Object.assign({},e,t)),function(c){const u=f[c]||o,h=u(e[c],t[c],c);k.isUndefined(h)&&u!==a||(n[c]=h)}),n}const yu="1.6.2",bi={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{bi[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const oa={};bi.transitional=function(t,n,s){function o(r,i){return"[Axios v"+yu+"] Transitional option '"+r+"'"+i+(s?". "+s:"")}return(r,i,a)=>{if(t===!1)throw new de(o(i," has been removed"+(n?" in "+n:"")),de.ERR_DEPRECATED);return n&&!oa[i]&&(oa[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(r,i,a):!0}};function Yg(e,t,n){if(typeof e!="object")throw new de("options must be an object",de.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let o=s.length;for(;o-- >0;){const r=s[o],i=t[r];if(i){const a=e[r],f=a===void 0||i(a,r,e);if(f!==!0)throw new de("option "+r+" must be "+f,de.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new de("Unknown option "+r,de.ERR_BAD_OPTION)}}const Dr={assertOptions:Yg,validators:bi},Ut=Dr.validators;class ro{constructor(t){this.defaults=t,this.interceptors={request:new Zl,response:new Zl}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Bn(this.defaults,n);const{transitional:s,paramsSerializer:o,headers:r}=n;s!==void 0&&Dr.assertOptions(s,{silentJSONParsing:Ut.transitional(Ut.boolean),forcedJSONParsing:Ut.transitional(Ut.boolean),clarifyTimeoutError:Ut.transitional(Ut.boolean)},!1),o!=null&&(k.isFunction(o)?n.paramsSerializer={serialize:o}:Dr.assertOptions(o,{encode:Ut.function,serialize:Ut.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=r&&k.merge(r.common,r[n.method]);r&&k.forEach(["delete","get","head","post","put","patch","common"],v=>{delete r[v]}),n.headers=kt.concat(i,r);const a=[];let f=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(n)===!1||(f=f&&_.synchronous,a.unshift(_.fulfilled,_.rejected))});const l=[];this.interceptors.response.forEach(function(_){l.push(_.fulfilled,_.rejected)});let c,u=0,h;if(!f){const v=[na.bind(this),void 0];for(v.unshift.apply(v,a),v.push.apply(v,l),h=v.length,c=Promise.resolve(n);u<h;)c=c.then(v[u++],v[u++]);return c}h=a.length;let g=n;for(u=0;u<h;
|
||
|
`).splice(1).map(u=>({text:u.replace("webpack:/","").replace(".vue",".js").trim(),internal:u.includes("node_modules")&&!u.includes(".cache")||u.includes("internal")||u.includes("new Promise")})).map(u=>`<span class="stack${u.internal?" internal":""}">${u.text}</span>`).join(`
|
||
|
`);const s=Number(n.statusCode||500),o=s===404,r=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),a=void 0,c=o?sl(()=>Hl(()=>import("./error-404.eb99afb2.js"),["./error-404.eb99afb2.js","./error-404.7fc72018.css"],import.meta.url).then(u=>u.default||u)):sl(()=>Hl(()=>import("./error-500.a72ffb41.js"),["./error-500.a72ffb41.js","./error-500.c5df6088.css"],import.meta.url).then(u=>u.default||u));return(u,h)=>(x(),nn(Le(c),Tf(Ac({statusCode:Le(s),statusMessage:Le(r),description:Le(i),stack:Le(a)})),null,16))}},v_=y_,w_={__name:"nuxt-root",setup(e){const t=()=>null,n=Ie(),s=n.deferHydration(),o=!1;ec(Wc,mi()),n.hooks.callHookWith(a=>a.map(f=>f()),"vue:setup");const r=pi();Xa((a,f,l)=>{if(n.hooks.callHook("vue:error",a,f,l).catch(c=>console.error("[nuxt] Error in `vue:error` hook",c)),rm(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>sm(a)),!1});const i=!1;return(a,f)=>(x(),nn(bd,{onResolve:Le(s)},{default:Jn(()=>[Le(r)?(x(),nn(Le(v_),{key:0,error:Le(r)},null,8,["error"])):Le(i)?(x(),nn(Le(t),{key:1,context:Le(i)},null,8,["context"])):Le(o)?(x(),nn(yd(Le(o)),{key:2})):(x(),nn(Le(g_),{key:3}))]),_:1},8,["onResolve"]))}},aa=w_;let ca;{let e;ca=async function(){var i,a;if(e)return e;const s=!!((i=window.__NUXT__)!=null&&i.serverRendered||((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?WA(aa):KA(aa),o=Gh({vueApp:s});async function r(f){await o.callHook("app:error",f),o.payload.error=o.payload.error||f}s.config.errorHandler=r;try{await zh(o,Tm)}catch(f){r(f)}try{await o.hooks.callHook("app:created",s),await o.hooks.callHook("app:beforeMount",s),s.mount(fm),await o.hooks.callHook("app:mounted",s),await En()}catch(f){r(f)}return s.config.errorHandler===r&&(s.config.errorHandler=void 0),s},e=ca().catch(t=>{console.error("Error while mounting app:",t)})}export{ve as A,Jn as B,ce as C,b_ as D,__ as E,hy as _,Xc as a,Vl as b,AA as c,po as d,ni as e,k_ as f,gc as g,vo as h,C_ as i,Un as j,_c as k,Ec as l,no as m,E_ as n,Gs as o,us as p,Ie as q,W as r,lm as s,Wp as t,wo as u,x as v,Tr as w,R as x,d as y,$ as z};
|