8 lines
217 KiB
JavaScript
8 lines
217 KiB
JavaScript
|
function Mr(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={},_n=[],lt=()=>{},Xu=()=>!1,Zu=/^on[^a-z]/,cs=e=>Zu.test(e),Ur=e=>e.startsWith("onUpdate:"),Le=Object.assign,Nr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},$u=Object.prototype.hasOwnProperty,fe=(e,t)=>$u.call(e,t),ee=Array.isArray,wn=e=>io(e)==="[object Map]",Zl=e=>io(e)==="[object Set]",se=e=>typeof e=="function",ke=e=>typeof e=="string",ro=e=>typeof e=="symbol",we=e=>e!==null&&typeof e=="object",$l=e=>(we(e)||se(e))&&se(e.then)&&se(e.catch),ea=Object.prototype.toString,io=e=>ea.call(e),ef=e=>io(e).slice(8,-1),ta=e=>io(e)==="[object Object]",Dr=e=>ke(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Gn=Mr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),lo=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},tf=/-(\w)/g,At=lo(e=>e.replace(tf,(t,n)=>n?n.toUpperCase():"")),nf=/\B([A-Z])/g,an=lo(e=>e.replace(nf,"-$1").toLowerCase()),ao=lo(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ko=lo(e=>e?`on${ao(e)}`:""),rn=(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})},ir=e=>{const t=parseFloat(e);return isNaN(t)?e:t},na=e=>{const t=ke(e)?Number(e):NaN;return isNaN(t)?e:t};let Oi;const lr=()=>Oi||(Oi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Mt(e){if(ee(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=ke(s)?lf(s):Mt(s);if(o)for(const r in o)t[r]=o[r]}return t}else if(ke(e)||we(e))return e}const sf=/;(?![^(]*\))/g,of=/:([^]+)/,rf=/\/\*[^]*?\*\//g;function lf(e){const t={};return e.replace(rf,"").split(sf).forEach(n=>{if(n){const s=n.split(of);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ce(e){let t="";if(ke(e))t=e;else if(ee(e))for(let n=0;n<e.length;n++){const s=Ce(e[n]);s&&(t+=s+" ")}else if(we(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function af(e){if(!e)return null;let{class:t,style:n}=e;return t&&!ke(t)&&(e.class=Ce(t)),n&&(e.style=Mt(n)),e}const cf="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",uf=Mr(cf);function sa(e){return!!e||e===""}const $=e=>ke(e)?e:e==null?"":ee(e)||we(e)&&(e.toString===ea||!se(e.toString))?JSON.stringify(e,oa,2):String(e),oa=(e,t)=>t&&t.__v_isRef?oa(e,t.value):wn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:Zl(t)?{[`Set(${t.size})`]:[...t.values()]}:we(t)&&!ee(t)&&!ta(t)?String(t):t;let rt;class ra{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=rt,!t&&rt&&(this.index=(rt.scopes||(rt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=rt;try{return rt=this,t()}finally{rt=n}}}on(){rt=this}off(){rt=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 ff(e){return new ra(e)}function df(e,t=rt){t&&t.active&&t.effects.push(e)}function hf(){return rt}const Fr=e=>{const t=new Set(e);return t.w=0,t.n=0,t},ia=e=>(e.w&jt)>0,la=e=>(e.n&jt)>0,Af=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=jt},pf=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const o=t[s];ia(o)&&!la(o)?o.delete(e):t[n++]=o,o.w&=~jt,o.n&=~jt}t.length=n}},Ks=new WeakMap;let Jn=0,jt=1;const ar=30;let it;const sn=Symbol(""),cr=Symbol("");class jr{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,df(this,s)}run(){if(!this.active)return this.fn();let t=it,n=Ut;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]&&ug[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},ql=Symbol("internals");function Vn(e){return e&&String(e).trim().toLowerCase()}function Fs(e){return e===!1||e==null?e:E.isArray(e)?e.map(Fs):String(e)}function dg(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 hg=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function sr(e,t,n,s,o){if(E.isFunction(s))return s.call(this,t,n);if(o&&(t=n),!!E.isString(t)){if(E.isString(s))return t.indexOf(s)!==-1;if(E.isRegExp(s))return s.test(t)}}function Ag(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function pg(e,t){const n=E.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=Vn(f);if(!c)throw new Error("header name must be a non-empty string");const u=E.findKey(o,c);(!u||o[u]===void 0||l===!0||l===void 0&&o[u]!==!1)&&(o[u||f]=Fs(a))}const i=(a,f)=>E.forEach(a,(l,c)=>r(l,c,f));return E.isPlainObject(t)||t instanceof this.constructor?i(t,n):E.isString(t)&&(t=t.trim())&&!hg(t)?i(fg(t),n):t!=null&&r(n,t,s),this}get(t,n){if(t=Vn(t),t){const s=E.findKey(this,t);if(s){const o=this[s];if(!n)return o;if(n===!0)return dg(o);if(E.isFunction(n))return n.call(this,o,s);if(E.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Vn(t),t){const s=E.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||sr(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let o=!1;function r(i){if(i=Vn(i),i){const a=E.findKey(s,i);a&&(!n||sr(s,s[a],a,n))&&(delete s[a],o=!0)}}return E.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||sr(this,this[r],r,t,!0))&&(delete this[r],o=!0)}return o}normalize(t){const n=this,s={};return E.forEach(this,(o,r)=>{const i=E.findKey(s,r);if(i){n[i]=Fs(o),delete n[r];return}const a=t?Ag(r):String(r).trim();a!==r&&delete n[r],n[a]=Fs(o),s[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return E.forEach(this,(s,o)=>{s!=null&&s!==!1&&(n[o]=t&&E.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[ql]=this[ql]={accessors:{}}).accessors,o=this.prototype;function r(i){const a=Vn(i);s[a]||(pg(o,i),s[a]=!0)}return E.isArray(t)?t.forEach(r):r(t),this}}xo.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);E.reduceDescriptors(xo.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});E.freezeMethods(xo);const bt=xo;function or(e,t){const n=this||pi,s=t||n,o=bt.from(s.headers);let r=s.data;return E.forEach(e,function(a){r=a.call(n,r,o.normalize(),t?t.status:void 0)}),o.normalize(),r}function su(e){return!!(e&&e.__CANCEL__)}function hs(e,t,n){ue.call(this,e??"canceled",ue.ERR_CANCELED,t,n),this.name="CanceledError"}E.inherits(hs,ue,{__CANCEL__:!0});function mg(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new ue("Request failed with status code "+n.status,[ue.ERR_BAD_REQUEST,ue.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const gg=ht.hasStandardBrowserEnv?{write(e,t,n,s,o,r){const i=[e+"="+encodeURIComponent(t)];E.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),E.isString(s)&&i.push("path="+s),E.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 yg(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function vg(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function ou(e,t){return e&&!yg(t)?vg(e,t):t}const _g=ht.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=E.isString(i)?o(i):i;return a.protocol===s.protocol&&a.host===s.host}}():function(){return function(){return!0}}();function wg(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function bg(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,p=0;for(;u!==o;)p+=n[u++],u=u%e;if(o=(o+1)%e,o===r&&(r=(r+1)%e),l-i<t)return;const y=c&&l-c;return y?Math.round(p*1e3/y):void 0}}function Kl(e,t){let n=0;const s=bg(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 Cg=typeof XMLHttpRequest<"u",Eg=Cg&&function(e){return new Promise(function(n,s){let o=e.data;const r=bt.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(E.isFormData(o)){if(ht.hasStandardBrowserEnv||ht.hasStandardBrowserWebWorkerEnv)r.setContentType(!1);else if((c=r.getContentType())!==!1){const[w,...j]=c?c.split(";").map(J=>J.trim()).filter(Boolean):[];r.setContentType([w||"multipart/form-data",...j].join("; "))}}let u=new XMLHttpRequest;if(e.auth){const w=e.auth.username||"",j=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";r.set("Authorization","Basic "+btoa(w+":"+j))}const p=ou(e.baseURL,e.url);u.open(e.method.toUpperCase(),$c(p,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function y(){if(!u)return;const w=bt.from("getAllResponseHeaders"in u&&u.getAllResponseHea
|
||
|
`+r.map(Ql).join(`
|
||
|
`):" "+Ql(r[0]):"as no adapter specified";throw new ue("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return s},adapters:Pr};function rr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new hs(null,e)}function Wl(e){return rr(e),e.headers=bt.from(e.headers),e.data=or.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ru.getAdapter(e.adapter||pi.adapter)(e).then(function(s){return rr(e),s.data=or.call(e,e.transformResponse,s),s.headers=bt.from(s.headers),s},function(s){return su(s)||(rr(e),s&&s.response&&(s.response.data=or.call(e,e.transformResponse,s.response),s.response.headers=bt.from(s.response.headers))),Promise.reject(s)})}const Vl=e=>e instanceof bt?e.toJSON():e;function In(e,t){t=t||{};const n={};function s(l,c,u){return E.isPlainObject(l)&&E.isPlainObject(c)?E.merge.call({caseless:u},l,c):E.isPlainObject(c)?E.merge({},c):E.isArray(c)?c.slice():c}function o(l,c,u){if(E.isUndefined(c)){if(!E.isUndefined(l))return s(void 0,l,u)}else return s(l,c,u)}function r(l,c){if(!E.isUndefined(c))return s(void 0,c)}function i(l,c){if(E.isUndefined(c)){if(!E.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(Vl(l),Vl(c),!0)};return E.forEach(Object.keys(Object.assign({},e,t)),function(c){const u=f[c]||o,p=u(e[c],t[c],c);E.isUndefined(p)&&u!==a||(n[c]=p)}),n}const iu="1.6.2",mi={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{mi[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const Jl={};mi.transitional=function(t,n,s){function o(r,i){return"[Axios v"+iu+"] Transitional option '"+r+"'"+i+(s?". "+s:"")}return(r,i,a)=>{if(t===!1)throw new ue(o(i," has been removed"+(n?" in "+n:"")),ue.ERR_DEPRECATED);return n&&!Jl[i]&&(Jl[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 kg(e,t,n){if(typeof e!="object")throw new ue("options must be an object",ue.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 ue("option "+r+" must be "+f,ue.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ue("Unknown option "+r,ue.ERR_BAD_OPTION)}}const Br={assertOptions:kg,validators:mi},Pt=Br.validators;class oo{constructor(t){this.defaults=t,this.interceptors={request:new jl,response:new jl}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=In(this.defaults,n);const{transitional:s,paramsSerializer:o,headers:r}=n;s!==void 0&&Br.assertOptions(s,{silentJSONParsing:Pt.transitional(Pt.boolean),forcedJSONParsing:Pt.transitional(Pt.boolean),clarifyTimeoutError:Pt.transitional(Pt.boolean)},!1),o!=null&&(E.isFunction(o)?n.paramsSerializer={serialize:o}:Br.assertOptions(o,{encode:Pt.function,serialize:Pt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=r&&E.merge(r.common,r[n.method]);r&&E.forEach(["delete","get","head","post","put","patch","common"],v=>{delete r[v]}),n.headers=bt.concat(i,r);const a=[];let f=!0;this.interceptors.request.forEach(function(w){typeof w.runWhen=="function"&&w.runWhen(n)===!1||(f=f&&w.synchronous,a.unshift(w.fulfilled,w.rejected))});const l=[];this.interceptors.response.forEach(function(w){l.push(w.fulfilled,w.rejected)});let c,u=0,p;if(!f){const v=[Wl.bind(this),void 0];for(v.unshift.apply(v,a),v.push.apply(v,l),p=v.length,c=Promise.resolve(n);u<p;)c=c.then(v[u++],v[u++]);return c}p=a.length;let y=n;for(u=0;u<p;
|
||
|
`).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?Vi(()=>kl(()=>import("./error-404.89c5fdea.js"),["./error-404.89c5fdea.js","./error-404.7fc72018.css"],import.meta.url).then(u=>u.default||u)):Vi(()=>kl(()=>import("./error-500.26defbce.js"),["./error-500.26defbce.js","./error-500.c5df6088.css"],import.meta.url).then(u=>u.default||u));return(u,p)=>(L(),en(Pe(c),af(tc({statusCode:Pe(s),statusMessage:Pe(r),description:Pe(i),stack:Pe(a)})),null,16))}},vb=yb,_b={__name:"nuxt-root",setup(e){const t=()=>null,n=He(),s=n.deferHydration(),o=!1;qa(Pc,fi()),n.hooks.callHookWith(a=>a.map(f=>f()),"vue:setup");const r=ui();Da((a,f,l)=>{if(n.hooks.callHook("vue:error",a,f,l).catch(c=>console.error("[nuxt] Error in `vue:error` hook",c)),Dp(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>Up(a)),!1});const i=!1;return(a,f)=>(L(),en(td,{onResolve:Pe(s)},{default:zn(()=>[Pe(r)?(L(),en(Pe(vb),{key:0,error:Pe(r)},null,8,["error"])):Pe(i)?(L(),en(Pe(t),{key:1,context:Pe(i)},null,8,["context"])):Pe(o)?(L(),en(Zf(Pe(o)),{key:2})):(L(),en(Pe(gb),{key:3}))]),_:1},8,["onResolve"]))}},zl=_b;let Xl;{let e;Xl=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")?xh(zl):Eh(zl),o=SA({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 LA(o,am)}catch(f){r(f)}try{await o.hooks.callHook("app:created",s),await o.hooks.callHook("app:beforeMount",s),s.mount(Wp),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=Xl().catch(t=>{console.error("Error while mounting app:",t)})}export{_e as A,zn as B,ye as C,bb as D,Cb as E,Wg as _,Dc as a,Ml as b,Jd as c,Ao as d,Xr as e,kb as f,rc as g,yo as h,Eb as i,Hn as j,uc as k,dc as l,to as m,xb as n,Js as o,fs as p,He as q,W as r,jp as s,xp as t,vo as u,L as v,Cr as w,O as x,d as y,$ as z};
|