Files
pig-farm-controller/frontend/dist/assets/index.3aaa7f29.js

22 lines
101 KiB
JavaScript
Raw Normal View History

(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerpolicy&&(o.referrerPolicy=r.referrerpolicy),r.crossorigin==="use-credentials"?o.credentials="include":r.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/**
* @vue/shared v3.5.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function ws(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Q={},Rt=[],Ie=()=>{},Br=()=>!1,kn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Es=e=>e.startsWith("onUpdate:"),le=Object.assign,Cs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},fi=Object.prototype.hasOwnProperty,G=(e,t)=>fi.call(e,t),j=Array.isArray,Tt=e=>cn(e)==="[object Map]",Ln=e=>cn(e)==="[object Set]",zs=e=>cn(e)==="[object Date]",V=e=>typeof e=="function",re=e=>typeof e=="string",Ue=e=>typeof e=="symbol",ee=e=>e!==null&&typeof e=="object",Ur=e=>(ee(e)||V(e))&&V(e.then)&&V(e.catch),Kr=Object.prototype.toString,cn=e=>Kr.call(e),ai=e=>cn(e).slice(8,-1),Wr=e=>cn(e)==="[object Object]",Rs=e=>re(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ut=ws(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),jn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},di=/-\w/g,Pe=jn(e=>e.replace(di,t=>t.slice(1).toUpperCase())),hi=/\B([A-Z])/g,yt=jn(e=>e.replace(hi,"-$1").toLowerCase()),Hn=jn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Yn=jn(e=>e?`on${Hn(e)}`:""),ct=(e,t)=>!Object.is(e,t),vn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},qr=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},wn=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Js;const un=()=>Js||(Js=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ts(e){if(j(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=re(s)?vi(s):Ts(s);if(r)for(const o in r)t[o]=r[o]}return t}else if(re(e)||ee(e))return e}const pi=/;(?![^(]*\))/g,gi=/:([^]+)/,mi=/\/\*[^]*?\*\//g;function vi(e){const t={};return e.replace(mi,"").split(pi).forEach(n=>{if(n){const s=n.split(gi);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function At(e){let t="";if(re(e))t=e;else if(j(e))for(let n=0;n<e.length;n++){const s=At(e[n]);s&&(t+=s+" ")}else if(ee(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const _i="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",yi=ws(_i);function Gr(e){return!!e||e===""}function bi(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Vn(e[s],t[s]);return n}function Vn(e,t){if(e===t)return!0;let n=zs(e),s=zs(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=Ue(e),s=Ue(t),n||s)return e===t;if(n=j(e),s=j(t),n||s)return n&&s?bi(e,t):!1;if(n=ee(e),s=ee(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,o=Object.keys(t).length;if(r!==o)return!1;for(const i in e){const l=e.hasOwnProperty(i),c=t.hasOwnProperty(i);if(l&&!c||!l&&c||!Vn(e[i],t[i]))return!1}}return String(e)===String(t)}function Si(e,t){return e.findIndex(n=>Vn(n,t))}const zr=e=>!!(e&&e.__v_isRef===!0),ae=e=>re(e)?e:e==null?"":j(e)||ee(e)&&(e.toString===Kr||!V(e.toString))?zr(e)?ae(e.value):JSON.stringify(e,Jr,2):String(e),Jr=(e,t)=>zr(t)?Jr(e,t.value):Tt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[Qn(s,o)+" =>"]=r,n),{})}:Ln(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Qn(n))}:Ue(t)?Qn(t):ee(t)&&!j(t)&&!Wr(t)?String(t):t,Qn=(e,t="")=>{var n;return Ue(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
* @vue/reactivity v3.5.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let be;class xi{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=be,!t&&be&&(this.index=(be.scopes||(be.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=be;try{return be=this,t()}finally{be=n}}}on(){++this._on===1&&(this.prevScope=be,be=this)}off(){this._on>0&&--this._on===0&&(be=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function wi(){return be}let Z;const Xn=new WeakSet;class Yr{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,be&&be.active&&be.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Xn.has(this)&&(Xn.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Xr(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ys(this),Zr(this);const t=Z,n=De;Z=this,De=!0;try{return this.fn()}finally{eo(this),Z=t,De=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Os(t);this.deps=this.depsTail=void 0,Ys(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Xn.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){fs(this)&&this.run()}get dirty(){return fs(this)}}let Qr=0,Kt,Wt;function Xr(e,t=!1){if(e.flags|=8,t){e.next=Wt,Wt=e;return}e.next=Kt,Kt=e}function As(){Qr++}function Ps(){if(--Qr>0)return;if(Wt){let t=Wt;for(Wt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Kt;){let t=Kt;for(Kt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Zr(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function eo(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Os(s),Ei(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function fs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(to(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function to(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Xt)||(e.globalVersion=Xt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!fs(e))))return;e.flags|=2;const t=e.dep,n=Z,s=De;Z=e,De=!0;try{Zr(e);const r=e.fn(e._value);(t.version===0||ct(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{Z=n,De=s,eo(e),e.flags&=-3}}function Os(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)Os(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Ei(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let De=!0;const no=[];function Xe(){no.push(De),De=!1}function Ze(){const e=no.pop();De=e===void 0?!0:e}function Ys(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Z;Z=void 0;try{t()}finally{Z=n}}}let Xt=0;class Ci{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSu
* @vue/runtime-core v3.5.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function fn(e,t,n,s){try{return s?e(...s):e()}catch(r){Un(r,t,n)}}function Ke(e,t,n,s){if(V(e)){const r=fn(e,t,n,s);return r&&Ur(r)&&r.catch(o=>{Un(o,t,n)}),r}if(j(e)){const r=[];for(let o=0;o<e.length;o++)r.push(Ke(e[o],t,n,s));return r}}function Un(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||Q;if(t){let l=t.parent;const c=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const f=l.ec;if(f){for(let h=0;h<f.length;h++)if(f[h](e,c,d)===!1)return}l=l.parent}if(o){Xe(),fn(o,null,10,[e,c,d]),Ze();return}}Qi(e,n,r,s,i)}function Qi(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const ve=[];let $e=-1;const Mt=[];let ot=null,Et=0;const go=Promise.resolve();let Rn=null;function Ns(e){const t=Rn||go;return e?t.then(this?e.bind(this):e):t}function Xi(e){let t=$e+1,n=ve.length;for(;t<n;){const s=t+n>>>1,r=ve[s],o=en(r);o<e||o===e&&r.flags&2?t=s+1:n=s}return t}function ks(e){if(!(e.flags&1)){const t=en(e),n=ve[ve.length-1];!n||!(e.flags&2)&&t>=en(n)?ve.push(e):ve.splice(Xi(t),0,e),e.flags|=1,mo()}}function mo(){Rn||(Rn=go.then(_o))}function Zi(e){j(e)?Mt.push(...e):ot&&e.id===-1?ot.splice(Et+1,0,e):e.flags&1||(Mt.push(e),e.flags|=1),mo()}function Xs(e,t,n=$e+1){for(;n<ve.length;n++){const s=ve[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;ve.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function vo(e){if(Mt.length){const t=[...new Set(Mt)].sort((n,s)=>en(n)-en(s));if(Mt.length=0,ot){ot.push(...t);return}for(ot=t,Et=0;Et<ot.length;Et++){const n=ot[Et];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}ot=null,Et=0}}const en=e=>e.id==null?e.flags&2?-1:1/0:e.id;function _o(e){const t=Ie;try{for($e=0;$e<ve.length;$e++){const n=ve[$e];n&&!(n.flags&8)&&(n.flags&4&&(n.flags&=-2),fn(n,n.i,n.i?15:14),n.flags&4||(n.flags&=-2))}}finally{for(;$e<ve.length;$e++){const n=ve[$e];n&&(n.flags&=-2)}$e=-1,ve.length=0,vo(),Rn=null,(ve.length||Mt.length)&&_o()}}let Ce=null,yo=null;function Tn(e){const t=Ce;return Ce=e,yo=e&&e.type.__scopeId||null,t}function tn(e,t=Ce,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&On(-1);const o=Tn(t);let i;try{i=e(...r)}finally{Tn(o),s._d&&On(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function gt(e,t){if(Ce===null)return e;const n=Gn(Ce),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[o,i,l,c=Q]=t[r];o&&(V(o)&&(o={mounted:o,updated:o}),o.deep&&Ye(i),s.push({dir:o,instance:n,value:i,oldValue:void 0,arg:l,modifiers:c}))}return e}function dt(e,t,n,s){const r=e.dirs,o=t&&t.dirs;for(let i=0;i<r.length;i++){const l=r[i];o&&(l.oldValue=o[i].value);let c=l.dir[s];c&&(Xe(),Ke(c,n,8,[e.el,l,e,t]),Ze())}}const el=Symbol("_vte"),tl=e=>e.__isTeleport,nl=Symbol("_leaveCb");function Ls(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ls(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function bo(e,t){return V(e)?(()=>le({name:e.name},t,{setup:e}))():e}function So(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const An=new WeakMap;function qt(e,t,n,s,r=!1){if(j(e)){e.forEach((A,O)=>qt(A,t&&(j(t)?t[O]:t),n,s,r));return}if(Gt(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&qt(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?Gn(s.component):s.el,i=r?null:o,{i:l,r:c}=e,d=t&&t.r,f=l.refs===Q?l.refs={}:l.refs,h=l.setupState,g=q(h),m=h===Q?Br:A=>G(g,A);if(d!=null&&d!==c){if(Zs(t),re(d))f[d]=null,m(d)&&(h[d]=null);else if(pe(d)){d.value=null;const A=t;A.k&&(f[A.k]=null)}}if(V(c))fn(c,l,12,[i,f]);else{const A=re(c),O=pe(c);if(A||O){const $=()=>{if(e.f){const N=A?m(c)?h[c]:f[c]:c.value;if(r)j(N)&&Cs(N,o);else if(j(N))N.includes(o)||N.push(o);else if(A)f[c]=[o],m(c)&&(h[c]=f[c]);else{const M=[o];c.value=M,e.k&&(f[e.k]=M)}}else A?(f[c]=i,m(c)&&(h[c]=i)):O&&(c.value=i,e.k&&(f[e.k]=i))};if(i){const N=()=>{$(),An.delete(e)};N.id=-1,An.set(e,N),we(N,n)}else Zs(e),$()}}}function Zs(e){const t=An.get(e);t&&(t.flags|=8,An.delete(e))}un().requestIdleCallback;un().cancelIdleCallback;const Gt=e=>!!e.type.__
* @vue/runtime-dom v3.5.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let ys;const ar=typeof window<"u"&&window.trustedTypes;if(ar)try{ys=ar.createPolicy("vue",{createHTML:e=>e})}catch{}const Go=ys?e=>ys.createHTML(e):e=>e,fc="http://www.w3.org/2000/svg",ac="http://www.w3.org/1998/Math/MathML",ze=typeof document<"u"?document:null,dr=ze&&ze.createElement("template"),dc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?ze.createElementNS(fc,e):t==="mathml"?ze.createElementNS(ac,e):n?ze.createElement(e,{is:n}):ze.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},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,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{dr.innerHTML=Go(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=dr.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},hc=Symbol("_vtc");function pc(e,t,n){const s=e[hc];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const hr=Symbol("_vod"),gc=Symbol("_vsh"),mc=Symbol(""),vc=/(?:^|;)\s*display\s*:/;function _c(e,t,n){const s=e.style,r=re(n);let o=!1;if(n&&!r){if(t)if(re(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&xn(s,l,"")}else for(const i in t)n[i]==null&&xn(s,i,"");for(const i in n)i==="display"&&(o=!0),xn(s,i,n[i])}else if(r){if(t!==n){const i=s[mc];i&&(n+=";"+i),s.cssText=n,o=vc.test(n)}}else t&&e.removeAttribute("style");hr in e&&(e[hr]=o?s.display:"",e[gc]&&(s.display="none"))}const pr=/\s*!important$/;function xn(e,t,n){if(j(n))n.forEach(s=>xn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=yc(e,t);pr.test(n)?e.setProperty(yt(s),n.replace(pr,""),"important"):e[s]=n}}const gr=["Webkit","Moz","ms"],rs={};function yc(e,t){const n=rs[t];if(n)return n;let s=Pe(t);if(s!=="filter"&&s in e)return rs[t]=s;s=Hn(s);for(let r=0;r<gr.length;r++){const o=gr[r]+s;if(o in e)return rs[t]=o}return t}const mr="http://www.w3.org/1999/xlink";function vr(e,t,n,s,r,o=yi(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(mr,t.slice(6,t.length)):e.setAttributeNS(mr,t,n):n==null||o&&!Gr(n)?e.removeAttribute(t):e.setAttribute(t,o?"":Ue(n)?String(n):n)}function _r(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Go(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const l=o==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(l!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=Gr(n):n==null&&l==="string"?(n="",i=!0):l==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(r||t)}function vt(e,t,n,s){e.addEventListener(t,n,s)}function bc(e,t,n,s){e.removeEventListener(t,n,s)}const yr=Symbol("_vei");function Sc(e,t,n,s,r=null){const o=e[yr]||(e[yr]={}),i=o[t];if(s&&i)i.value=s;else{const[l,c]=xc(t);if(s){const d=o[t]=Cc(s,r);vt(e,l,d,c)}else i&&(bc(e,l,i,c),o[t]=void 0)}}const br=/(?:Once|Passive|Capture)$/;function xc(e){let t;if(br.test(e)){t={};let s;for(;s=e.match(br);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):yt(e.slice(2)),t]}let os=0;const wc=Promise.resolve(),Ec=()=>os||(wc.then(()=>os=0),os=Date.now());function Cc(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ke(Rc(s,n.value),t,5,[s])};return n.value=e,n.attached=Ec(),n}function Rc(e,t){if(j(t)){cons
* vue-router v4.5.1
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/const Ct=typeof document<"u";function Jo(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function $c(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Jo(e.default)}const W=Object.assign;function ls(e,t){const n={};for(const s in t){const r=t[s];n[s]=Fe(r)?r.map(e):e(r)}return n}const Yt=()=>{},Fe=Array.isArray,Yo=/#/g,Bc=/&/g,Uc=/\//g,Kc=/=/g,Wc=/\?/g,Qo=/\+/g,qc=/%5B/g,Gc=/%5D/g,Xo=/%5E/g,zc=/%60/g,Zo=/%7B/g,Jc=/%7C/g,ei=/%7D/g,Yc=/%20/g;function Us(e){return encodeURI(""+e).replace(Jc,"|").replace(qc,"[").replace(Gc,"]")}function Qc(e){return Us(e).replace(Zo,"{").replace(ei,"}").replace(Xo,"^")}function bs(e){return Us(e).replace(Qo,"%2B").replace(Yc,"+").replace(Yo,"%23").replace(Bc,"%26").replace(zc,"`").replace(Zo,"{").replace(ei,"}").replace(Xo,"^")}function Xc(e){return bs(e).replace(Kc,"%3D")}function Zc(e){return Us(e).replace(Yo,"%23").replace(Wc,"%3F")}function eu(e){return e==null?"":Zc(e).replace(Uc,"%2F")}function on(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const tu=/\/$/,nu=e=>e.replace(tu,"");function cs(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return l<c&&l>=0&&(c=-1),c>-1&&(s=t.slice(0,c),o=t.slice(c+1,l>-1?l:t.length),r=e(o)),l>-1&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=iu(s!=null?s:t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:on(i)}}function su(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Cr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function ru(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Nt(t.matched[s],n.matched[r])&&ti(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Nt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ti(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!ou(e[n],t[n]))return!1;return!0}function ou(e,t){return Fe(e)?Rr(e,t):Fe(t)?Rr(t,e):e===t}function Rr(e,t){return Fe(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function iu(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,l;for(i=0;i<s.length;i++)if(l=s[i],l!==".")if(l==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}const rt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var ln;(function(e){e.pop="pop",e.push="push"})(ln||(ln={}));var Qt;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Qt||(Qt={}));function lu(e){if(!e)if(Ct){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),nu(e)}const cu=/^[^#]+#/;function uu(e,t){return e.replace(cu,"#")+t}function fu(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Jn=()=>({left:window.scrollX,top:window.scrollY});function au(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=fu(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Tr(e,t){return(history.state?history.state.position-t:-1)+e}const Ss=new Map;function du(e,t){Ss.set(e,t)}function hu(e){const t=Ss.get(e);return Ss.delete(e),t}let pu=()=>location.protocol+"//"+location.host;function ni(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,c=r.slice(l);return c[0]!=="/"&&(c="/"+c),Cr(c,"")}return Cr(n,e)+s+r}function gu(e,t,n,s){let r=[],o=[],i=null;const l=({state:g})=>{const m=ni(e,location),A=n.value,O=t.value;let $=0;if(g){if(n.value=m,t.value=g,i&&i===A){i=null;return}$=O?g.po