mirror of
https://gitee.com/myxzgzs/boyuehasfj-vue3-html.git
synced 2025-08-07 22:52:42 +08:00
39 lines
194 KiB
JavaScript
39 lines
194 KiB
JavaScript
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/LawListView-DfvmjveR.js","assets/Pagination-B3o8MPEa.js","assets/Pagination-wcAoWHYR.css","assets/LawListView-Te234Z7M.css","assets/CaseListView-2AeSN89n.js","assets/CaseListView-bDxC-yBk.css","assets/FormListView-CAzcl-Z3.js","assets/FormListView-aeZL7PcF.css","assets/QRCodesView-TqtFwfb7.js","assets/QRCodesView-Y6kV9Tb7.css","assets/SearchResultsView-D_jfK11c.js","assets/SearchResultsView-DwFS11Nn.css"])))=>i.map(i=>d[i]);
|
||
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();/**
|
||
* @vue/shared v3.5.15
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**//*! #__NO_SIDE_EFFECTS__ */function to(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const de={},en=[],ut=()=>{},ic=()=>!1,wr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),no=e=>e.startsWith("onUpdate:"),xe=Object.assign,ro=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},lc=Object.prototype.hasOwnProperty,ce=(e,t)=>lc.call(e,t),Q=Array.isArray,tn=e=>fn(e)==="[object Map]",vr=e=>fn(e)==="[object Set]",xo=e=>fn(e)==="[object Date]",ac=e=>fn(e)==="[object RegExp]",ee=e=>typeof e=="function",_e=e=>typeof e=="string",ft=e=>typeof e=="symbol",me=e=>e!==null&&typeof e=="object",hl=e=>(me(e)||ee(e))&&ee(e.then)&&ee(e.catch),pl=Object.prototype.toString,fn=e=>pl.call(e),cc=e=>fn(e).slice(8,-1),gl=e=>fn(e)==="[object Object]",so=e=>_e(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,En=to(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),_r=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},uc=/-(\w)/g,Qe=_r(e=>e.replace(uc,(t,n)=>n?n.toUpperCase():"")),fc=/\B([A-Z])/g,Vt=_r(e=>e.replace(fc,"-$1").toLowerCase()),br=_r(e=>e.charAt(0).toUpperCase()+e.slice(1)),Kr=_r(e=>e?`on${br(e)}`:""),Lt=(e,t)=>!Object.is(e,t),nn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},ml=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},rr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Oo;const Er=()=>Oo||(Oo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function oo(e){if(Q(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=_e(r)?gc(r):oo(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(_e(e)||me(e))return e}const dc=/;(?![^(]*\))/g,hc=/:([^]+)/,pc=/\/\*[^]*?\*\//g;function gc(e){const t={};return e.replace(pc,"").split(dc).forEach(n=>{if(n){const r=n.split(hc);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function He(e){let t="";if(_e(e))t=e;else if(Q(e))for(let n=0;n<e.length;n++){const r=He(e[n]);r&&(t+=r+" ")}else if(me(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const mc="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",yc=to(mc);function yl(e){return!!e||e===""}function wc(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Ar(e[r],t[r]);return n}function Ar(e,t){if(e===t)return!0;let n=xo(e),r=xo(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=ft(e),r=ft(t),n||r)return e===t;if(n=Q(e),r=Q(t),n||r)return n&&r?wc(e,t):!1;if(n=me(e),r=me(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,o=Object.keys(t).length;if(s!==o)return!1;for(const i in e){const l=e.hasOwnProperty(i),a=t.hasOwnProperty(i);if(l&&!a||!l&&a||!Ar(e[i],t[i]))return!1}}return String(e)===String(t)}function vc(e,t){return e.findIndex(n=>Ar(n,t))}const wl=e=>!!(e&&e.__v_isRef===!0),we=e=>_e(e)?e:e==null?"":Q(e)||me(e)&&(e.toString===pl||!ee(e.toString))?wl(e)?we(e.value):JSON.stringify(e,vl,2):String(e),vl=(e,t)=>wl(t)?vl(e,t.value):tn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[zr(r,o)+" =>"]=s,n),{})}:vr(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>zr(n))}:ft(t)?zr(t):me(t)&&!Q(t)&&!gl(t)?String(t):t,zr=(e,t="")=>{var n;return ft(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
||
* @vue/reactivity v3.5.15
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let De;class _l{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=De,!t&&De&&(this.index=(De.scopes||(De.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=De;try{return De=this,t()}finally{De=n}}}on(){++this._on===1&&(this.prevScope=De,De=this)}off(){this._on>0&&--this._on===0&&(De=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function _c(e){return new _l(e)}function bc(){return De}let pe;const Wr=new WeakSet;class bl{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,De&&De.active&&De.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Wr.has(this)&&(Wr.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Al(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,No(this),Rl(this);const t=pe,n=Xe;pe=this,Xe=!0;try{return this.fn()}finally{Sl(this),pe=t,Xe=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)ao(t);this.deps=this.depsTail=void 0,No(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Wr.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ms(this)&&this.run()}get dirty(){return Ms(this)}}let El=0,An,Rn;function Al(e,t=!1){if(e.flags|=8,t){e.next=Rn,Rn=e;return}e.next=An,An=e}function io(){El++}function lo(){if(--El>0)return;if(Rn){let t=Rn;for(Rn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;An;){let t=An;for(An=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Rl(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Sl(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),ao(r),Ec(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function Ms(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Cl(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Cl(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===On)||(e.globalVersion=On,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ms(e))))return;e.flags|=2;const t=e.dep,n=pe,r=Xe;pe=e,Xe=!0;try{Rl(e);const s=e.fn(e._value);(t.version===0||Lt(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{pe=n,Xe=r,Sl(e),e.flags&=-3}}function ao(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)ao(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Ec(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Xe=!0;const Tl=[];function _t(){Tl.push(Xe),Xe=!1}function bt(){const e=Tl.pop();Xe=e===void 0?!0:e}function No(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=pe;pe=void 0;try{t()}finally{pe=n}}}let On=0;class Ac{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class co{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!pe||!Xe||pe===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==pe)n=this.activeLink=new Ac(pe,this),pe.deps?(n.prevDep=pe.depsTail,pe.depsTail.nextDep=n,pe.depsTail=n):pe.deps=pe.depsTail=n,Pl(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=pe.depsTail,n.nextDep=void 0,pe.depsTail.nextDep=n,pe.depsTail=n,pe.deps===n&&(pe.deps=r)}return n}trigger(t){this.version++,On++,this.notify(t)}notify(t){io();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{lo()}}}function Pl(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Pl(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const $s=new WeakMap,kt=Symbol(""),Bs=Symbol(""),Nn=Symbol("");function Te(e,t,n){if(Xe&&pe){let r=$s.get(e);r||$s.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new co),s.map=r,s.key=n),s.track()}}function yt(e,t,n,r,s,o){const i=$s.get(e);if(!i){On++;return}const l=a=>{a&&a.trigger()};if(io(),t==="clear")i.forEach(l);else{const a=Q(e),c=a&&so(n);if(a&&n==="length"){const f=Number(r);i.forEach((u,d)=>{(d==="length"||d===Nn||!ft(d)&&d>=f)&&l(u)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),c&&l(i.get(Nn)),t){case"add":a?c&&l(i.get("length")):(l(i.get(kt)),tn(e)&&l(i.get(Bs)));break;case"delete":a||(l(i.get(kt)),tn(e)&&l(i.get(Bs)));break;case"set":tn(e)&&l(i.get(kt));break}}lo()}function Jt(e){const t=ae(e);return t===e?t:(Te(t,"iterate",Nn),Je(e)?t:t.map(Re))}function Rr(e){return Te(e=ae(e),"iterate",Nn),e}const Rc={__proto__:null,[Symbol.iterator](){return Jr(this,Symbol.iterator,Re)},concat(...e){return Jt(this).concat(...e.map(t=>Q(t)?Jt(t):t))},entries(){return Jr(this,"entries",e=>(e[1]=Re(e[1]),e))},every(e,t){return pt(this,"every",e,t,void 0,arguments)},filter(e,t){return pt(this,"filter",e,t,n=>n.map(Re),arguments)},find(e,t){return pt(this,"find",e,t,Re,arguments)},findIndex(e,t){return pt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return pt(this,"findLast",e,t,Re,arguments)},findLastIndex(e,t){return pt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return pt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Gr(this,"includes",e)},indexOf(...e){return Gr(this,"indexOf",e)},join(e){return Jt(this).join(e)},lastIndexOf(...e){return Gr(this,"lastIndexOf",e)},map(e,t){return pt(this,"map",e,t,void 0,arguments)},pop(){return gn(this,"pop")},push(...e){return gn(this,"push",e)},reduce(e,...t){return Lo(this,"reduce",e,t)},reduceRight(e,...t){return Lo(this,"reduceRight",e,t)},shift(){return gn(this,"shift")},some(e,t){return pt(this,"some",e,t,void 0,arguments)},splice(...e){return gn(this,"splice",e)},toReversed(){return Jt(this).toReversed()},toSorted(e){return Jt(this).toSorted(e)},toSpliced(...e){return Jt(this).toSpliced(...e)},unshift(...e){return gn(this,"unshift",e)},values(){return Jr(this,"values",Re)}};function Jr(e,t,n){const r=Rr(e),s=r[t]();return r!==e&&!Je(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.value&&(o.value=n(o.value)),o}),s}const Sc=Array.prototype;function pt(e,t,n,r,s,o){const i=Rr(e),l=i!==e&&!Je(e),a=i[t];if(a!==Sc[t]){const u=a.apply(e,o);return l?Re(u):u}let c=n;i!==e&&(l?c=function(u,d){return n.call(this,Re(u),d,e)}:n.length>2&&(c=function(u,d){return n.call(this,u,d,e)}));const f=a.call(i,c,r);return l&&s?s(f):f}function Lo(e,t,n,r){const s=Rr(e);let o=n;return s!==e&&(Je(e)?n.length>3&&(o=function(i,l,a){return n.call(this,i,l,a,e)}):o=function(i,l,a){return n.call(this,i,Re(l),a,e)}),s[t](o,...r)}function Gr(e,t,n){const r=ae(e);Te(r,"iterate",Nn);const s=r[t](...n);return(s===-1||s===!1)&&ho(n[0])?(n[0]=ae(n[0]),r[t](...n)):s}function gn(e,t,n=[]){_t(),io();const r=ae(e)[t].apply(e,n);return lo(),bt(),r}const Cc=to("__proto__,__v_isRef,__isVue"),Il=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ft));function Tc(e){ft(e)||(e=String(e));const t=ae(this);return Te(t,"has",e),t.hasOwnProperty(e)}class xl{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?Dc:Ml:o?Ll:Nl).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=Q(t);if(!s){let a;if(i&&(a=Rc[n]))return a;if(n==="hasOwnProperty")return Tc}const l=Reflect.get(t,n,Ie(t)?t:r);return(ft(n)?Il.has(n):Cc(n))||(s||Te(t,"get",n),o)?l:Ie(l)?i&&so(n)?l:l.value:me(l)?s?Bl(l):Sr(l):l}}class Ol extends xl{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._isShallow){const a=Mt(o);if(!Je(r)&&!Mt(r)&&(o=ae(o),r=ae(r)),!Q(t)&&Ie(o)&&!Ie(r))return a?!1:(o.value=r,!0)}const i=Q(t)&&so(n)?Number(n)<t.length:ce(t,n),l=Reflect.set(t,n,r,Ie(t)?t:s);return t===ae(s)&&(i?Lt(r,o)&&yt(t,"set",n,r):yt(t,"add",n,r)),l}deleteProperty(t,n){const r=ce(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&yt(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!ft(n)||!Il.has(n))&&Te(t,"has",n),r}ownKeys(t){return Te(t,"iterate",Q(t)?"length":kt),Reflect.ownKeys(t)}}class Pc extends xl{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Ic=new Ol,xc=new Pc,Oc=new Ol(!0);const Ds=e=>e,Kn=e=>Reflect.getPrototypeOf(e);function Nc(e,t,n){return function(...r){const s=this.__v_raw,o=ae(s),i=tn(o),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,c=s[e](...r),f=n?Ds:t?sr:Re;return!t&&Te(o,"iterate",a?Bs:kt),{next(){const{value:u,done:d}=c.next();return d?{value:u,done:d}:{value:l?[f(u[0]),f(u[1])]:f(u),done:d}},[Symbol.iterator](){return this}}}}function zn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Lc(e,t){const n={get(s){const o=this.__v_raw,i=ae(o),l=ae(s);e||(Lt(s,l)&&Te(i,"get",s),Te(i,"get",l));const{has:a}=Kn(i),c=t?Ds:e?sr:Re;if(a.call(i,s))return c(o.get(s));if(a.call(i,l))return c(o.get(l));o!==i&&o.get(s)},get size(){const s=this.__v_raw;return!e&&Te(ae(s),"iterate",kt),Reflect.get(s,"size",s)},has(s){const o=this.__v_raw,i=ae(o),l=ae(s);return e||(Lt(s,l)&&Te(i,"has",s),Te(i,"has",l)),s===l?o.has(s):o.has(s)||o.has(l)},forEach(s,o){const i=this,l=i.__v_raw,a=ae(l),c=t?Ds:e?sr:Re;return!e&&Te(a,"iterate",kt),l.forEach((f,u)=>s.call(o,c(f),c(u),i))}};return xe(n,e?{add:zn("add"),set:zn("set"),delete:zn("delete"),clear:zn("clear")}:{add(s){!t&&!Je(s)&&!Mt(s)&&(s=ae(s));const o=ae(this);return Kn(o).has.call(o,s)||(o.add(s),yt(o,"add",s,s)),this},set(s,o){!t&&!Je(o)&&!Mt(o)&&(o=ae(o));const i=ae(this),{has:l,get:a}=Kn(i);let c=l.call(i,s);c||(s=ae(s),c=l.call(i,s));const f=a.call(i,s);return i.set(s,o),c?Lt(o,f)&&yt(i,"set",s,o):yt(i,"add",s,o),this},delete(s){const o=ae(this),{has:i,get:l}=Kn(o);let a=i.call(o,s);a||(s=ae(s),a=i.call(o,s)),l&&l.call(o,s);const c=o.delete(s);return a&&yt(o,"delete",s,void 0),c},clear(){const s=ae(this),o=s.size!==0,i=s.clear();return o&&yt(s,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=Nc(s,e,t)}),n}function uo(e,t){const n=Lc(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(ce(n,s)&&s in r?n:r,s,o)}const Mc={get:uo(!1,!1)},$c={get:uo(!1,!0)},Bc={get:uo(!0,!1)};const Nl=new WeakMap,Ll=new WeakMap,Ml=new WeakMap,Dc=new WeakMap;function Fc(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Uc(e){return e.__v_skip||!Object.isExtensible(e)?0:Fc(cc(e))}function Sr(e){return Mt(e)?e:fo(e,!1,Ic,Mc,Nl)}function $l(e){return fo(e,!1,Oc,$c,Ll)}function Bl(e){return fo(e,!0,xc,Bc,Ml)}function fo(e,t,n,r,s){if(!me(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=Uc(e);if(o===0)return e;const i=s.get(e);if(i)return i;const l=new Proxy(e,o===2?r:n);return s.set(e,l),l}function rn(e){return Mt(e)?rn(e.__v_raw):!!(e&&e.__v_isReactive)}function Mt(e){return!!(e&&e.__v_isReadonly)}function Je(e){return!!(e&&e.__v_isShallow)}function ho(e){return e?!!e.__v_raw:!1}function ae(e){const t=e&&e.__v_raw;return t?ae(t):e}function Dl(e){return!ce(e,"__v_skip")&&Object.isExtensible(e)&&ml(e,"__v_skip",!0),e}const Re=e=>me(e)?Sr(e):e,sr=e=>me(e)?Bl(e):e;function Ie(e){return e?e.__v_isRef===!0:!1}function ge(e){return Fl(e,!1)}function kc(e){return Fl(e,!0)}function Fl(e,t){return Ie(e)?e:new jc(e,t)}class jc{constructor(t,n){this.dep=new co,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ae(t),this._value=n?t:Re(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Je(t)||Mt(t);t=r?t:ae(t),Lt(t,n)&&(this._rawValue=t,this._value=r?t:Re(t),this.dep.trigger())}}function vt(e){return Ie(e)?e.value:e}const qc={get:(e,t,n)=>t==="__v_raw"?e:vt(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Ie(s)&&!Ie(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Ul(e){return rn(e)?e:new Proxy(e,qc)}class Hc{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new co(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=On-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&pe!==this)return Al(this,!0),!0}get value(){const t=this.dep.track();return Cl(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Vc(e,t,n=!1){let r,s;return ee(e)?r=e:(r=e.get,s=e.set),new Hc(r,s,n)}const Wn={},or=new WeakMap;let Dt;function Kc(e,t=!1,n=Dt){if(n){let r=or.get(n);r||or.set(n,r=[]),r.push(e)}}function zc(e,t,n=de){const{immediate:r,deep:s,once:o,scheduler:i,augmentJob:l,call:a}=n,c=_=>s?_:Je(_)||s===!1||s===0?wt(_,1):wt(_);let f,u,d,h,m=!1,w=!1;if(Ie(e)?(u=()=>e.value,m=Je(e)):rn(e)?(u=()=>c(e),m=!0):Q(e)?(w=!0,m=e.some(_=>rn(_)||Je(_)),u=()=>e.map(_=>{if(Ie(_))return _.value;if(rn(_))return c(_);if(ee(_))return a?a(_,2):_()})):ee(e)?t?u=a?()=>a(e,2):e:u=()=>{if(d){_t();try{d()}finally{bt()}}const _=Dt;Dt=f;try{return a?a(e,3,[h]):e(h)}finally{Dt=_}}:u=ut,t&&s){const _=u,O=s===!0?1/0:s;u=()=>wt(_(),O)}const S=bc(),C=()=>{f.stop(),S&&S.active&&ro(S.effects,f)};if(o&&t){const _=t;t=(...O)=>{_(...O),C()}}let v=w?new Array(e.length).fill(Wn):Wn;const b=_=>{if(!(!(f.flags&1)||!f.dirty&&!_))if(t){const O=f.run();if(s||m||(w?O.some((R,P)=>Lt(R,v[P])):Lt(O,v))){d&&d();const R=Dt;Dt=f;try{const P=[O,v===Wn?void 0:w&&v[0]===Wn?[]:v,h];v=O,a?a(t,3,P):t(...P)}finally{Dt=R}}}else f.run()};return l&&l(b),f=new bl(u),f.scheduler=i?()=>i(b,!1):b,h=_=>Kc(_,!1,f),d=f.onStop=()=>{const _=or.get(f);if(_){if(a)a(_,4);else for(const O of _)O();or.delete(f)}},t?r?b(!0):v=f.run():i?i(b.bind(null,!0),!0):f.run(),C.pause=f.pause.bind(f),C.resume=f.resume.bind(f),C.stop=C,C}function wt(e,t=1/0,n){if(t<=0||!me(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Ie(e))wt(e.value,t,n);else if(Q(e))for(let r=0;r<e.length;r++)wt(e[r],t,n);else if(vr(e)||tn(e))e.forEach(r=>{wt(r,t,n)});else if(gl(e)){for(const r in e)wt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&wt(e[r],t,n)}return e}/**
|
||
* @vue/runtime-core v3.5.15
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/function kn(e,t,n,r){try{return r?e(...r):e()}catch(s){Cr(s,t,n)}}function dt(e,t,n,r){if(ee(e)){const s=kn(e,t,n,r);return s&&hl(s)&&s.catch(o=>{Cr(o,t,n)}),s}if(Q(e)){const s=[];for(let o=0;o<e.length;o++)s.push(dt(e[o],t,n,r));return s}}function Cr(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||de;if(t){let l=t.parent;const a=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const f=l.ec;if(f){for(let u=0;u<f.length;u++)if(f[u](e,a,c)===!1)return}l=l.parent}if(o){_t(),kn(o,null,10,[e,a,c]),bt();return}}Wc(e,n,s,r,i)}function Wc(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const $e=[];let at=-1;const sn=[];let It=null,Yt=0;const kl=Promise.resolve();let ir=null;function po(e){const t=ir||kl;return e?t.then(this?e.bind(this):e):t}function Jc(e){let t=at+1,n=$e.length;for(;t<n;){const r=t+n>>>1,s=$e[r],o=Ln(s);o<e||o===e&&s.flags&2?t=r+1:n=r}return t}function go(e){if(!(e.flags&1)){const t=Ln(e),n=$e[$e.length-1];!n||!(e.flags&2)&&t>=Ln(n)?$e.push(e):$e.splice(Jc(t),0,e),e.flags|=1,jl()}}function jl(){ir||(ir=kl.then(Hl))}function Gc(e){Q(e)?sn.push(...e):It&&e.id===-1?It.splice(Yt+1,0,e):e.flags&1||(sn.push(e),e.flags|=1),jl()}function Mo(e,t,n=at+1){for(;n<$e.length;n++){const r=$e[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;$e.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function ql(e){if(sn.length){const t=[...new Set(sn)].sort((n,r)=>Ln(n)-Ln(r));if(sn.length=0,It){It.push(...t);return}for(It=t,Yt=0;Yt<It.length;Yt++){const n=It[Yt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}It=null,Yt=0}}const Ln=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Hl(e){try{for(at=0;at<$e.length;at++){const t=$e[at];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),kn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;at<$e.length;at++){const t=$e[at];t&&(t.flags&=-2)}at=-1,$e.length=0,ql(),ir=null,($e.length||sn.length)&&Hl()}}let Fe=null,Vl=null;function lr(e){const t=Fe;return Fe=e,Vl=e&&e.type.__scopeId||null,t}function ve(e,t=Fe,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Ho(-1);const o=lr(t);let i;try{i=e(...s)}finally{lr(o),r._d&&Ho(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Qc(e,t){if(Fe===null)return e;const n=Nr(Fe),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[o,i,l,a=de]=t[s];o&&(ee(o)&&(o={mounted:o,updated:o}),o.deep&&wt(i),r.push({dir:o,instance:n,value:i,oldValue:void 0,arg:l,modifiers:a}))}return e}function $t(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const l=s[i];o&&(l.oldValue=o[i].value);let a=l.dir[r];a&&(_t(),dt(a,n,8,[e.el,l,e,t]),bt())}}const Yc=Symbol("_vte"),Xc=e=>e.__isTeleport;function Tr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Tr(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function ht(e,t){return ee(e)?xe({name:e.name},t,{setup:e}):e}function Kl(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function ar(e,t,n,r,s=!1){if(Q(e)){e.forEach((m,w)=>ar(m,t&&(Q(t)?t[w]:t),n,r,s));return}if(on(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&ar(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?Nr(r.component):r.el,i=s?null:o,{i:l,r:a}=e,c=t&&t.r,f=l.refs===de?l.refs={}:l.refs,u=l.setupState,d=ae(u),h=u===de?()=>!1:m=>ce(d,m);if(c!=null&&c!==a&&(_e(c)?(f[c]=null,h(c)&&(u[c]=null)):Ie(c)&&(c.value=null)),ee(a))kn(a,l,12,[i,f]);else{const m=_e(a),w=Ie(a);if(m||w){const S=()=>{if(e.f){const C=m?h(a)?u[a]:f[a]:a.value;s?Q(C)&&ro(C,o):Q(C)?C.includes(o)||C.push(o):m?(f[a]=[o],h(a)&&(u[a]=f[a])):(a.value=[o],e.k&&(f[e.k]=a.value))}else m?(f[a]=i,h(a)&&(u[a]=i)):w&&(a.value=i,e.k&&(f[e.k]=i))};i?(S.id=-1,Ae(S,n)):S()}}}Er().requestIdleCallback;Er().cancelIdleCallback;const on=e=>!!e.type.__asyncLoader,zl=e=>e.type.__isKeepAlive,Zc={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Ju(),r=n.ctx;if(!r.renderer)return()=>{const v=t.default&&t.default();return v&&v.length===1?v[0]:v};const s=new Map,o=new Set;let i=null;const l=n.suspense,{renderer:{p:a,m:c,um:f,o:{createElement:u}}}=r,d=u("div");r.activate=(v,b,_,O,R)=>{const P=v.component;c(v,b,_,0,l),a(P.vnode,v,b,_,P,l,O,v.slotScopeIds,R),Ae(()=>{P.isDeactivated=!1,P.a&&nn(P.a);const M=v.props&&v.props.onVnodeMounted;M&&ze(M,P.parent,v)},l)},r.deactivate=v=>{const b=v.component;ur(b.m),ur(b.a),c(v,d,null,1,l),Ae(()=>{b.da&&nn(b.da);const _=v.props&&v.props.onVnodeUnmounted;_&&ze(_,b.parent,v),b.isDeactivated=!0},l)};function h(v){Qr(v),f(v,n,l,!0)}function m(v){s.forEach((b,_)=>{const O=Hs(b.type);O&&!v(O)&&w(_)})}function w(v){const b=s.get(v);b&&(!i||!Xt(b,i))?h(b):i&&Qr(i),s.delete(v),o.delete(v)}Cn(()=>[e.include,e.exclude],([v,b])=>{v&&m(_=>_n(v,_)),b&&m(_=>!_n(b,_))},{flush:"post",deep:!0});let S=null;const C=()=>{S!=null&&(fr(n.subTree.type)?Ae(()=>{s.set(S,Jn(n.subTree))},n.subTree.suspense):s.set(S,Jn(n.subTree)))};return Rt(C),Jl(C),Gl(()=>{s.forEach(v=>{const{subTree:b,suspense:_}=n,O=Jn(b);if(v.type===O.type&&v.key===O.key){Qr(O);const R=O.component.da;R&&Ae(R,_);return}h(v)})}),()=>{if(S=null,!t.default)return i=null;const v=t.default(),b=v[0];if(v.length>1)return i=null,v;if(!$n(b)||!(b.shapeFlag&4)&&!(b.shapeFlag&128))return i=null,b;let _=Jn(b);if(_.type===Et)return i=null,_;const O=_.type,R=Hs(on(_)?_.type.__asyncResolved||{}:O),{include:P,exclude:M,max:j}=e;if(P&&(!R||!_n(P,R))||M&&R&&_n(M,R))return _.shapeFlag&=-257,i=_,b;const $=_.key==null?O:_.key,U=s.get($);return _.el&&(_=qt(_),b.shapeFlag&128&&(b.ssContent=_)),S=$,U?(_.el=U.el,_.component=U.component,_.transition&&Tr(_,_.transition),_.shapeFlag|=512,o.delete($),o.add($)):(o.add($),j&&o.size>parseInt(j,10)&&w(o.values().next().value)),_.shapeFlag|=256,i=_,fr(b.type)?b:_}}},eu=Zc;function _n(e,t){return Q(e)?e.some(n=>_n(n,t)):_e(e)?e.split(",").includes(t):ac(e)?(e.lastIndex=0,e.test(t)):!1}function tu(e,t){Wl(e,"a",t)}function nu(e,t){Wl(e,"da",t)}function Wl(e,t,n=Ce){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Pr(t,r,n),n){let s=n.parent;for(;s&&s.parent;)zl(s.parent.vnode)&&ru(r,t,n,s),s=s.parent}}function ru(e,t,n,r){const s=Pr(t,e,r,!0);Ir(()=>{ro(r[t],s)},n)}function Qr(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Jn(e){return e.shapeFlag&128?e.ssContent:e}function Pr(e,t,n=Ce,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{_t();const l=qn(n),a=dt(t,n,e,i);return l(),bt(),a});return r?s.unshift(o):s.push(o),o}}const At=e=>(t,n=Ce)=>{(!Bn||e==="sp")&&Pr(e,(...r)=>t(...r),n)},su=At("bm"),Rt=At("m"),ou=At("bu"),Jl=At("u"),Gl=At("bum"),Ir=At("um"),iu=At("sp"),lu=At("rtg"),au=At("rtc");function cu(e,t=Ce){Pr("ec",e,t)}const uu="components";function jn(e,t){return du(uu,e,!0,t)||e}const fu=Symbol.for("v-ndc");function du(e,t,n=!0,r=!1){const s=Fe||Ce;if(s){const o=s.type;{const l=Hs(o,!1);if(l&&(l===t||l===Qe(t)||l===br(Qe(t))))return o}const i=$o(s[e]||o[e],t)||$o(s.appContext[e],t);return!i&&r?o:i}}function $o(e,t){return e&&(e[t]||e[Qe(t)]||e[br(Qe(t))])}function xt(e,t,n,r){let s;const o=n,i=Q(e);if(i||_e(e)){const l=i&&rn(e);let a=!1,c=!1;l&&(a=!Je(e),c=Mt(e),e=Rr(e)),s=new Array(e.length);for(let f=0,u=e.length;f<u;f++)s[f]=t(a?c?sr(Re(e[f])):Re(e[f]):e[f],f,void 0,o)}else if(typeof e=="number"){s=new Array(e);for(let l=0;l<e;l++)s[l]=t(l+1,l,void 0,o)}else if(me(e))if(e[Symbol.iterator])s=Array.from(e,(l,a)=>t(l,a,void 0,o));else{const l=Object.keys(e);s=new Array(l.length);for(let a=0,c=l.length;a<c;a++){const f=l[a];s[a]=t(e[f],f,a,o)}}else s=[];return s}const Fs=e=>e?ha(e)?Nr(e):Fs(e.parent):null,Sn=xe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Fs(e.parent),$root:e=>Fs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Yl(e),$forceUpdate:e=>e.f||(e.f=()=>{go(e.update)}),$nextTick:e=>e.n||(e.n=po.bind(e.proxy)),$watch:e=>Lu.bind(e)}),Yr=(e,t)=>e!==de&&!e.__isScriptSetup&&ce(e,t),hu={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:l,appContext:a}=e;let c;if(t[0]!=="$"){const h=i[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(Yr(r,t))return i[t]=1,r[t];if(s!==de&&ce(s,t))return i[t]=2,s[t];if((c=e.propsOptions[0])&&ce(c,t))return i[t]=3,o[t];if(n!==de&&ce(n,t))return i[t]=4,n[t];Us&&(i[t]=0)}}const f=Sn[t];let u,d;if(f)return t==="$attrs"&&Te(e.attrs,"get",""),f(e);if((u=l.__cssModules)&&(u=u[t]))return u;if(n!==de&&ce(n,t))return i[t]=4,n[t];if(d=a.config.globalProperties,ce(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return Yr(s,t)?(s[t]=n,!0):r!==de&&ce(r,t)?(r[t]=n,!0):ce(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let l;return!!n[i]||e!==de&&ce(e,i)||Yr(t,i)||(l=o[0])&&ce(l,i)||ce(r,i)||ce(Sn,i)||ce(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ce(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Bo(e){return Q(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Us=!0;function pu(e){const t=Yl(e),n=e.proxy,r=e.ctx;Us=!1,t.beforeCreate&&Do(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:l,provide:a,inject:c,created:f,beforeMount:u,mounted:d,beforeUpdate:h,updated:m,activated:w,deactivated:S,beforeDestroy:C,beforeUnmount:v,destroyed:b,unmounted:_,render:O,renderTracked:R,renderTriggered:P,errorCaptured:M,serverPrefetch:j,expose:$,inheritAttrs:U,components:z,directives:K,filters:X}=t;if(c&&gu(c,r,null),i)for(const ie in i){const se=i[ie];ee(se)&&(r[ie]=se.bind(n))}if(s){const ie=s.call(n,n);me(ie)&&(e.data=Sr(ie))}if(Us=!0,o)for(const ie in o){const se=o[ie],Ye=ee(se)?se.bind(n,n):ee(se.get)?se.get.bind(n,n):ut,Ke=!ee(se)&&ee(se.set)?se.set.bind(n):ut,Ne=We({get:Ye,set:Ke});Object.defineProperty(r,ie,{enumerable:!0,configurable:!0,get:()=>Ne.value,set:Ee=>Ne.value=Ee})}if(l)for(const ie in l)Ql(l[ie],r,n,ie);if(a){const ie=ee(a)?a.call(n):a;Reflect.ownKeys(ie).forEach(se=>{Qn(se,ie[se])})}f&&Do(f,e,"c");function ye(ie,se){Q(se)?se.forEach(Ye=>ie(Ye.bind(n))):se&&ie(se.bind(n))}if(ye(su,u),ye(Rt,d),ye(ou,h),ye(Jl,m),ye(tu,w),ye(nu,S),ye(cu,M),ye(au,R),ye(lu,P),ye(Gl,v),ye(Ir,_),ye(iu,j),Q($))if($.length){const ie=e.exposed||(e.exposed={});$.forEach(se=>{Object.defineProperty(ie,se,{get:()=>n[se],set:Ye=>n[se]=Ye})})}else e.exposed||(e.exposed={});O&&e.render===ut&&(e.render=O),U!=null&&(e.inheritAttrs=U),z&&(e.components=z),K&&(e.directives=K),j&&Kl(e)}function gu(e,t,n=ut){Q(e)&&(e=ks(e));for(const r in e){const s=e[r];let o;me(s)?"default"in s?o=Ze(s.from||r,s.default,!0):o=Ze(s.from||r):o=Ze(s),Ie(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function Do(e,t,n){dt(Q(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ql(e,t,n,r){let s=r.includes(".")?ca(n,r):()=>n[r];if(_e(e)){const o=t[e];ee(o)&&Cn(s,o)}else if(ee(e))Cn(s,e.bind(n));else if(me(e))if(Q(e))e.forEach(o=>Ql(o,t,n,r));else{const o=ee(e.handler)?e.handler.bind(n):t[e.handler];ee(o)&&Cn(s,o,e)}}function Yl(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let a;return l?a=l:!s.length&&!n&&!r?a=t:(a={},s.length&&s.forEach(c=>cr(a,c,i,!0)),cr(a,t,i)),me(t)&&o.set(t,a),a}function cr(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&cr(e,o,n,!0),s&&s.forEach(i=>cr(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const l=mu[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const mu={data:Fo,props:Uo,emits:Uo,methods:bn,computed:bn,beforeCreate:Me,created:Me,beforeMount:Me,mounted:Me,beforeUpdate:Me,updated:Me,beforeDestroy:Me,beforeUnmount:Me,destroyed:Me,unmounted:Me,activated:Me,deactivated:Me,errorCaptured:Me,serverPrefetch:Me,components:bn,directives:bn,watch:wu,provide:Fo,inject:yu};function Fo(e,t){return t?e?function(){return xe(ee(e)?e.call(this,this):e,ee(t)?t.call(this,this):t)}:t:e}function yu(e,t){return bn(ks(e),ks(t))}function ks(e){if(Q(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Me(e,t){return e?[...new Set([].concat(e,t))]:t}function bn(e,t){return e?xe(Object.create(null),e,t):t}function Uo(e,t){return e?Q(e)&&Q(t)?[...new Set([...e,...t])]:xe(Object.create(null),Bo(e),Bo(t??{})):t}function wu(e,t){if(!e)return t;if(!t)return e;const n=xe(Object.create(null),e);for(const r in t)n[r]=Me(e[r],t[r]);return n}function Xl(){return{app:null,config:{isNativeTag:ic,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let vu=0;function _u(e,t){return function(r,s=null){ee(r)||(r=xe({},r)),s!=null&&!me(s)&&(s=null);const o=Xl(),i=new WeakSet,l=[];let a=!1;const c=o.app={_uid:vu++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:ef,get config(){return o.config},set config(f){},use(f,...u){return i.has(f)||(f&&ee(f.install)?(i.add(f),f.install(c,...u)):ee(f)&&(i.add(f),f(c,...u))),c},mixin(f){return o.mixins.includes(f)||o.mixins.push(f),c},component(f,u){return u?(o.components[f]=u,c):o.components[f]},directive(f,u){return u?(o.directives[f]=u,c):o.directives[f]},mount(f,u,d){if(!a){const h=c._ceVNode||ne(r,s);return h.appContext=o,d===!0?d="svg":d===!1&&(d=void 0),e(h,f,d),a=!0,c._container=f,f.__vue_app__=c,Nr(h.component)}},onUnmount(f){l.push(f)},unmount(){a&&(dt(l,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(f,u){return o.provides[f]=u,c},runWithContext(f){const u=ln;ln=c;try{return f()}finally{ln=u}}};return c}}let ln=null;function Qn(e,t){if(Ce){let n=Ce.provides;const r=Ce.parent&&Ce.parent.provides;r===n&&(n=Ce.provides=Object.create(r)),n[e]=t}}function Ze(e,t,n=!1){const r=Ce||Fe;if(r||ln){let s=ln?ln._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&ee(t)?t.call(r&&r.proxy):t}}const Zl={},ea=()=>Object.create(Zl),ta=e=>Object.getPrototypeOf(e)===Zl;function bu(e,t,n,r=!1){const s={},o=ea();e.propsDefaults=Object.create(null),na(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:$l(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function Eu(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,l=ae(s),[a]=e.propsOptions;let c=!1;if((r||i>0)&&!(i&16)){if(i&8){const f=e.vnode.dynamicProps;for(let u=0;u<f.length;u++){let d=f[u];if(xr(e.emitsOptions,d))continue;const h=t[d];if(a)if(ce(o,d))h!==o[d]&&(o[d]=h,c=!0);else{const m=Qe(d);s[m]=js(a,l,m,h,e,!1)}else h!==o[d]&&(o[d]=h,c=!0)}}}else{na(e,t,s,o)&&(c=!0);let f;for(const u in l)(!t||!ce(t,u)&&((f=Vt(u))===u||!ce(t,f)))&&(a?n&&(n[u]!==void 0||n[f]!==void 0)&&(s[u]=js(a,l,u,void 0,e,!0)):delete s[u]);if(o!==l)for(const u in o)(!t||!ce(t,u))&&(delete o[u],c=!0)}c&&yt(e.attrs,"set","")}function na(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,l;if(t)for(let a in t){if(En(a))continue;const c=t[a];let f;s&&ce(s,f=Qe(a))?!o||!o.includes(f)?n[f]=c:(l||(l={}))[f]=c:xr(e.emitsOptions,a)||(!(a in r)||c!==r[a])&&(r[a]=c,i=!0)}if(o){const a=ae(n),c=l||de;for(let f=0;f<o.length;f++){const u=o[f];n[u]=js(s,a,u,c[u],e,!ce(c,u))}}return i}function js(e,t,n,r,s,o){const i=e[n];if(i!=null){const l=ce(i,"default");if(l&&r===void 0){const a=i.default;if(i.type!==Function&&!i.skipFactory&&ee(a)){const{propsDefaults:c}=s;if(n in c)r=c[n];else{const f=qn(s);r=c[n]=a.call(null,t),f()}}else r=a;s.ce&&s.ce._setProp(n,r)}i[0]&&(o&&!l?r=!1:i[1]&&(r===""||r===Vt(n))&&(r=!0))}return r}const Au=new WeakMap;function ra(e,t,n=!1){const r=n?Au:t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},l=[];let a=!1;if(!ee(e)){const f=u=>{a=!0;const[d,h]=ra(u,t,!0);xe(i,d),h&&l.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!o&&!a)return me(e)&&r.set(e,en),en;if(Q(o))for(let f=0;f<o.length;f++){const u=Qe(o[f]);ko(u)&&(i[u]=de)}else if(o)for(const f in o){const u=Qe(f);if(ko(u)){const d=o[f],h=i[u]=Q(d)||ee(d)?{type:d}:xe({},d),m=h.type;let w=!1,S=!0;if(Q(m))for(let C=0;C<m.length;++C){const v=m[C],b=ee(v)&&v.name;if(b==="Boolean"){w=!0;break}else b==="String"&&(S=!1)}else w=ee(m)&&m.name==="Boolean";h[0]=w,h[1]=S,(w||ce(h,"default"))&&l.push(u)}}const c=[i,l];return me(e)&&r.set(e,c),c}function ko(e){return e[0]!=="$"&&!En(e)}const mo=e=>e[0]==="_"||e==="$stable",yo=e=>Q(e)?e.map(ct):[ct(e)],Ru=(e,t,n)=>{if(t._n)return t;const r=ve((...s)=>yo(t(...s)),n);return r._c=!1,r},sa=(e,t,n)=>{const r=e._ctx;for(const s in e){if(mo(s))continue;const o=e[s];if(ee(o))t[s]=Ru(s,o,r);else if(o!=null){const i=yo(o);t[s]=()=>i}}},oa=(e,t)=>{const n=yo(t);e.slots.default=()=>n},ia=(e,t,n)=>{for(const r in t)(n||!mo(r))&&(e[r]=t[r])},Su=(e,t,n)=>{const r=e.slots=ea();if(e.vnode.shapeFlag&32){const s=t._;s?(ia(r,t,n),n&&ml(r,"_",s,!0)):sa(t,r)}else t&&oa(e,t)},Cu=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=de;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:ia(s,t,n):(o=!t.$stable,sa(t,s)),i=t}else t&&(oa(e,t),i={default:1});if(o)for(const l in s)!mo(l)&&i[l]==null&&delete s[l]},Ae=ku;function Tu(e){return Pu(e)}function Pu(e,t){const n=Er();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:l,createComment:a,setText:c,setElementText:f,parentNode:u,nextSibling:d,setScopeId:h=ut,insertStaticContent:m}=e,w=(p,g,y,I=null,N=null,x=null,q=void 0,F=null,B=!!g.dynamicChildren)=>{if(p===g)return;p&&!Xt(p,g)&&(I=T(p),Ee(p,N,x,!0),p=null),g.patchFlag===-2&&(B=!1,g.dynamicChildren=null);const{type:L,ref:J,shapeFlag:H}=g;switch(L){case Or:S(p,g,y,I);break;case Et:C(p,g,y,I);break;case Zr:p==null&&v(g,y,I,q);break;case Se:z(p,g,y,I,N,x,q,F,B);break;default:H&1?O(p,g,y,I,N,x,q,F,B):H&6?K(p,g,y,I,N,x,q,F,B):(H&64||H&128)&&L.process(p,g,y,I,N,x,q,F,B,V)}J!=null&&N&&ar(J,p&&p.ref,x,g||p,!g)},S=(p,g,y,I)=>{if(p==null)r(g.el=l(g.children),y,I);else{const N=g.el=p.el;g.children!==p.children&&c(N,g.children)}},C=(p,g,y,I)=>{p==null?r(g.el=a(g.children||""),y,I):g.el=p.el},v=(p,g,y,I)=>{[p.el,p.anchor]=m(p.children,g,y,I,p.el,p.anchor)},b=({el:p,anchor:g},y,I)=>{let N;for(;p&&p!==g;)N=d(p),r(p,y,I),p=N;r(g,y,I)},_=({el:p,anchor:g})=>{let y;for(;p&&p!==g;)y=d(p),s(p),p=y;s(g)},O=(p,g,y,I,N,x,q,F,B)=>{g.type==="svg"?q="svg":g.type==="math"&&(q="mathml"),p==null?R(g,y,I,N,x,q,F,B):j(p,g,N,x,q,F,B)},R=(p,g,y,I,N,x,q,F)=>{let B,L;const{props:J,shapeFlag:H,transition:W,dirs:Z}=p;if(B=p.el=i(p.type,x,J&&J.is,J),H&8?f(B,p.children):H&16&&M(p.children,B,null,I,N,Xr(p,x),q,F),Z&&$t(p,null,I,"created"),P(B,p,p.scopeId,q,I),J){for(const he in J)he!=="value"&&!En(he)&&o(B,he,null,J[he],x,I);"value"in J&&o(B,"value",null,J.value,x),(L=J.onVnodeBeforeMount)&&ze(L,I,p)}Z&&$t(p,null,I,"beforeMount");const re=Iu(N,W);re&&W.beforeEnter(B),r(B,g,y),((L=J&&J.onVnodeMounted)||re||Z)&&Ae(()=>{L&&ze(L,I,p),re&&W.enter(B),Z&&$t(p,null,I,"mounted")},N)},P=(p,g,y,I,N)=>{if(y&&h(p,y),I)for(let x=0;x<I.length;x++)h(p,I[x]);if(N){let x=N.subTree;if(g===x||fr(x.type)&&(x.ssContent===g||x.ssFallback===g)){const q=N.vnode;P(p,q,q.scopeId,q.slotScopeIds,N.parent)}}},M=(p,g,y,I,N,x,q,F,B=0)=>{for(let L=B;L<p.length;L++){const J=p[L]=F?Ot(p[L]):ct(p[L]);w(null,J,g,y,I,N,x,q,F)}},j=(p,g,y,I,N,x,q)=>{const F=g.el=p.el;let{patchFlag:B,dynamicChildren:L,dirs:J}=g;B|=p.patchFlag&16;const H=p.props||de,W=g.props||de;let Z;if(y&&Bt(y,!1),(Z=W.onVnodeBeforeUpdate)&&ze(Z,y,g,p),J&&$t(g,p,y,"beforeUpdate"),y&&Bt(y,!0),(H.innerHTML&&W.innerHTML==null||H.textContent&&W.textContent==null)&&f(F,""),L?$(p.dynamicChildren,L,F,y,I,Xr(g,N),x):q||se(p,g,F,null,y,I,Xr(g,N),x,!1),B>0){if(B&16)U(F,H,W,y,N);else if(B&2&&H.class!==W.class&&o(F,"class",null,W.class,N),B&4&&o(F,"style",H.style,W.style,N),B&8){const re=g.dynamicProps;for(let he=0;he<re.length;he++){const ue=re[he],je=H[ue],Be=W[ue];(Be!==je||ue==="value")&&o(F,ue,je,Be,N,y)}}B&1&&p.children!==g.children&&f(F,g.children)}else!q&&L==null&&U(F,H,W,y,N);((Z=W.onVnodeUpdated)||J)&&Ae(()=>{Z&&ze(Z,y,g,p),J&&$t(g,p,y,"updated")},I)},$=(p,g,y,I,N,x,q)=>{for(let F=0;F<g.length;F++){const B=p[F],L=g[F],J=B.el&&(B.type===Se||!Xt(B,L)||B.shapeFlag&198)?u(B.el):y;w(B,L,J,null,I,N,x,q,!0)}},U=(p,g,y,I,N)=>{if(g!==y){if(g!==de)for(const x in g)!En(x)&&!(x in y)&&o(p,x,g[x],null,N,I);for(const x in y){if(En(x))continue;const q=y[x],F=g[x];q!==F&&x!=="value"&&o(p,x,F,q,N,I)}"value"in y&&o(p,"value",g.value,y.value,N)}},z=(p,g,y,I,N,x,q,F,B)=>{const L=g.el=p?p.el:l(""),J=g.anchor=p?p.anchor:l("");let{patchFlag:H,dynamicChildren:W,slotScopeIds:Z}=g;Z&&(F=F?F.concat(Z):Z),p==null?(r(L,y,I),r(J,y,I),M(g.children||[],y,J,N,x,q,F,B)):H>0&&H&64&&W&&p.dynamicChildren?($(p.dynamicChildren,W,y,N,x,q,F),(g.key!=null||N&&g===N.subTree)&&la(p,g,!0)):se(p,g,y,J,N,x,q,F,B)},K=(p,g,y,I,N,x,q,F,B)=>{g.slotScopeIds=F,p==null?g.shapeFlag&512?N.ctx.activate(g,y,I,q,B):X(g,y,I,N,x,q,B):Oe(p,g,B)},X=(p,g,y,I,N,x,q)=>{const F=p.component=Wu(p,I,N);if(zl(p)&&(F.ctx.renderer=V),Gu(F,!1,q),F.asyncDep){if(N&&N.registerDep(F,ye,q),!p.el){const B=F.subTree=ne(Et);C(null,B,g,y)}}else ye(F,p,g,y,N,x,q)},Oe=(p,g,y)=>{const I=g.component=p.component;if(Fu(p,g,y))if(I.asyncDep&&!I.asyncResolved){ie(I,g,y);return}else I.next=g,I.update();else g.el=p.el,I.vnode=g},ye=(p,g,y,I,N,x,q)=>{const F=()=>{if(p.isMounted){let{next:H,bu:W,u:Z,parent:re,vnode:he}=p;{const st=aa(p);if(st){H&&(H.el=he.el,ie(p,H,q)),st.asyncDep.then(()=>{p.isUnmounted||F()});return}}let ue=H,je;Bt(p,!1),H?(H.el=he.el,ie(p,H,q)):H=he,W&&nn(W),(je=H.props&&H.props.onVnodeBeforeUpdate)&&ze(je,re,H,he),Bt(p,!0);const Be=jo(p),rt=p.subTree;p.subTree=Be,w(rt,Be,u(rt.el),T(rt),p,N,x),H.el=Be.el,ue===null&&Uu(p,Be.el),Z&&Ae(Z,N),(je=H.props&&H.props.onVnodeUpdated)&&Ae(()=>ze(je,re,H,he),N)}else{let H;const{el:W,props:Z}=g,{bm:re,m:he,parent:ue,root:je,type:Be}=p,rt=on(g);Bt(p,!1),re&&nn(re),!rt&&(H=Z&&Z.onVnodeBeforeMount)&&ze(H,ue,g),Bt(p,!0);{je.ce&&je.ce._injectChildStyle(Be);const st=p.subTree=jo(p);w(null,st,y,I,p,N,x),g.el=st.el}if(he&&Ae(he,N),!rt&&(H=Z&&Z.onVnodeMounted)){const st=g;Ae(()=>ze(H,ue,st),N)}(g.shapeFlag&256||ue&&on(ue.vnode)&&ue.vnode.shapeFlag&256)&&p.a&&Ae(p.a,N),p.isMounted=!0,g=y=I=null}};p.scope.on();const B=p.effect=new bl(F);p.scope.off();const L=p.update=B.run.bind(B),J=p.job=B.runIfDirty.bind(B);J.i=p,J.id=p.uid,B.scheduler=()=>go(J),Bt(p,!0),L()},ie=(p,g,y)=>{g.component=p;const I=p.vnode.props;p.vnode=g,p.next=null,Eu(p,g.props,I,y),Cu(p,g.children,y),_t(),Mo(p),bt()},se=(p,g,y,I,N,x,q,F,B=!1)=>{const L=p&&p.children,J=p?p.shapeFlag:0,H=g.children,{patchFlag:W,shapeFlag:Z}=g;if(W>0){if(W&128){Ke(L,H,y,I,N,x,q,F,B);return}else if(W&256){Ye(L,H,y,I,N,x,q,F,B);return}}Z&8?(J&16&&Le(L,N,x),H!==L&&f(y,H)):J&16?Z&16?Ke(L,H,y,I,N,x,q,F,B):Le(L,N,x,!0):(J&8&&f(y,""),Z&16&&M(H,y,I,N,x,q,F,B))},Ye=(p,g,y,I,N,x,q,F,B)=>{p=p||en,g=g||en;const L=p.length,J=g.length,H=Math.min(L,J);let W;for(W=0;W<H;W++){const Z=g[W]=B?Ot(g[W]):ct(g[W]);w(p[W],Z,y,null,N,x,q,F,B)}L>J?Le(p,N,x,!0,!1,H):M(g,y,I,N,x,q,F,B,H)},Ke=(p,g,y,I,N,x,q,F,B)=>{let L=0;const J=g.length;let H=p.length-1,W=J-1;for(;L<=H&&L<=W;){const Z=p[L],re=g[L]=B?Ot(g[L]):ct(g[L]);if(Xt(Z,re))w(Z,re,y,null,N,x,q,F,B);else break;L++}for(;L<=H&&L<=W;){const Z=p[H],re=g[W]=B?Ot(g[W]):ct(g[W]);if(Xt(Z,re))w(Z,re,y,null,N,x,q,F,B);else break;H--,W--}if(L>H){if(L<=W){const Z=W+1,re=Z<J?g[Z].el:I;for(;L<=W;)w(null,g[L]=B?Ot(g[L]):ct(g[L]),y,re,N,x,q,F,B),L++}}else if(L>W)for(;L<=H;)Ee(p[L],N,x,!0),L++;else{const Z=L,re=L,he=new Map;for(L=re;L<=W;L++){const qe=g[L]=B?Ot(g[L]):ct(g[L]);qe.key!=null&&he.set(qe.key,L)}let ue,je=0;const Be=W-re+1;let rt=!1,st=0;const pn=new Array(Be);for(L=0;L<Be;L++)pn[L]=0;for(L=Z;L<=H;L++){const qe=p[L];if(je>=Be){Ee(qe,N,x,!0);continue}let ot;if(qe.key!=null)ot=he.get(qe.key);else for(ue=re;ue<=W;ue++)if(pn[ue-re]===0&&Xt(qe,g[ue])){ot=ue;break}ot===void 0?Ee(qe,N,x,!0):(pn[ot-re]=L+1,ot>=st?st=ot:rt=!0,w(qe,g[ot],y,null,N,x,q,F,B),je++)}const Po=rt?xu(pn):en;for(ue=Po.length-1,L=Be-1;L>=0;L--){const qe=re+L,ot=g[qe],Io=qe+1<J?g[qe+1].el:I;pn[L]===0?w(null,ot,y,Io,N,x,q,F,B):rt&&(ue<0||L!==Po[ue]?Ne(ot,y,Io,2):ue--)}}},Ne=(p,g,y,I,N=null)=>{const{el:x,type:q,transition:F,children:B,shapeFlag:L}=p;if(L&6){Ne(p.component.subTree,g,y,I);return}if(L&128){p.suspense.move(g,y,I);return}if(L&64){q.move(p,g,y,V);return}if(q===Se){r(x,g,y);for(let H=0;H<B.length;H++)Ne(B[H],g,y,I);r(p.anchor,g,y);return}if(q===Zr){b(p,g,y);return}if(I!==2&&L&1&&F)if(I===0)F.beforeEnter(x),r(x,g,y),Ae(()=>F.enter(x),N);else{const{leave:H,delayLeave:W,afterLeave:Z}=F,re=()=>{p.ctx.isUnmounted?s(x):r(x,g,y)},he=()=>{H(x,()=>{re(),Z&&Z()})};W?W(x,re,he):he()}else r(x,g,y)},Ee=(p,g,y,I=!1,N=!1)=>{const{type:x,props:q,ref:F,children:B,dynamicChildren:L,shapeFlag:J,patchFlag:H,dirs:W,cacheIndex:Z}=p;if(H===-2&&(N=!1),F!=null&&(_t(),ar(F,null,y,p,!0),bt()),Z!=null&&(g.renderCache[Z]=void 0),J&256){g.ctx.deactivate(p);return}const re=J&1&&W,he=!on(p);let ue;if(he&&(ue=q&&q.onVnodeBeforeUnmount)&&ze(ue,g,p),J&6)Ct(p.component,y,I);else{if(J&128){p.suspense.unmount(y,I);return}re&&$t(p,null,g,"beforeUnmount"),J&64?p.type.remove(p,g,y,V,I):L&&!L.hasOnce&&(x!==Se||H>0&&H&64)?Le(L,g,y,!1,!0):(x===Se&&H&384||!N&&J&16)&&Le(B,g,y),I&&nt(p)}(he&&(ue=q&&q.onVnodeUnmounted)||re)&&Ae(()=>{ue&&ze(ue,g,p),re&&$t(p,null,g,"unmounted")},y)},nt=p=>{const{type:g,el:y,anchor:I,transition:N}=p;if(g===Se){St(y,I);return}if(g===Zr){_(p);return}const x=()=>{s(y),N&&!N.persisted&&N.afterLeave&&N.afterLeave()};if(p.shapeFlag&1&&N&&!N.persisted){const{leave:q,delayLeave:F}=N,B=()=>q(y,x);F?F(p.el,x,B):B()}else x()},St=(p,g)=>{let y;for(;p!==g;)y=d(p),s(p),p=y;s(g)},Ct=(p,g,y)=>{const{bum:I,scope:N,job:x,subTree:q,um:F,m:B,a:L,parent:J,slots:{__:H}}=p;ur(B),ur(L),I&&nn(I),J&&Q(H)&&H.forEach(W=>{J.renderCache[W]=void 0}),N.stop(),x&&(x.flags|=8,Ee(q,p,g,y)),F&&Ae(F,g),Ae(()=>{p.isUnmounted=!0},g),g&&g.pendingBranch&&!g.isUnmounted&&p.asyncDep&&!p.asyncResolved&&p.suspenseId===g.pendingId&&(g.deps--,g.deps===0&&g.resolve())},Le=(p,g,y,I=!1,N=!1,x=0)=>{for(let q=x;q<p.length;q++)Ee(p[q],g,y,I,N)},T=p=>{if(p.shapeFlag&6)return T(p.component.subTree);if(p.shapeFlag&128)return p.suspense.next();const g=d(p.anchor||p.el),y=g&&g[Yc];return y?d(y):g};let k=!1;const D=(p,g,y)=>{p==null?g._vnode&&Ee(g._vnode,null,null,!0):w(g._vnode||null,p,g,null,null,null,y),g._vnode=p,k||(k=!0,Mo(),ql(),k=!1)},V={p:w,um:Ee,m:Ne,r:nt,mt:X,mc:M,pc:se,pbc:$,n:T,o:e};return{render:D,hydrate:void 0,createApp:_u(D)}}function Xr({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Bt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Iu(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function la(e,t,n=!1){const r=e.children,s=t.children;if(Q(r)&&Q(s))for(let o=0;o<r.length;o++){const i=r[o];let l=s[o];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=s[o]=Ot(s[o]),l.el=i.el),!n&&l.patchFlag!==-2&&la(i,l)),l.type===Or&&(l.el=i.el),l.type===Et&&!l.el&&(l.el=i.el)}}function xu(e){const t=e.slice(),n=[0];let r,s,o,i,l;const a=e.length;for(r=0;r<a;r++){const c=e[r];if(c!==0){if(s=n[n.length-1],e[s]<c){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)l=o+i>>1,e[n[l]]<c?o=l+1:i=l;c<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function aa(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:aa(t)}function ur(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Ou=Symbol.for("v-scx"),Nu=()=>Ze(Ou);function km(e,t){return wo(e,null,t)}function Cn(e,t,n){return wo(e,t,n)}function wo(e,t,n=de){const{immediate:r,deep:s,flush:o,once:i}=n,l=xe({},n),a=t&&r||!t&&o!=="post";let c;if(Bn){if(o==="sync"){const h=Nu();c=h.__watcherHandles||(h.__watcherHandles=[])}else if(!a){const h=()=>{};return h.stop=ut,h.resume=ut,h.pause=ut,h}}const f=Ce;l.call=(h,m,w)=>dt(h,f,m,w);let u=!1;o==="post"?l.scheduler=h=>{Ae(h,f&&f.suspense)}:o!=="sync"&&(u=!0,l.scheduler=(h,m)=>{m?h():go(h)}),l.augmentJob=h=>{t&&(h.flags|=4),u&&(h.flags|=2,f&&(h.id=f.uid,h.i=f))};const d=zc(e,t,l);return Bn&&(c?c.push(d):a&&d()),d}function Lu(e,t,n){const r=this.proxy,s=_e(e)?e.includes(".")?ca(r,e):()=>r[e]:e.bind(r,r);let o;ee(t)?o=t:(o=t.handler,n=t);const i=qn(this),l=wo(s,o.bind(r),n);return i(),l}function ca(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}const Mu=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Qe(t)}Modifiers`]||e[`${Vt(t)}Modifiers`];function $u(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||de;let s=n;const o=t.startsWith("update:"),i=o&&Mu(r,t.slice(7));i&&(i.trim&&(s=n.map(f=>_e(f)?f.trim():f)),i.number&&(s=n.map(rr)));let l,a=r[l=Kr(t)]||r[l=Kr(Qe(t))];!a&&o&&(a=r[l=Kr(Vt(t))]),a&&dt(a,e,6,s);const c=r[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,dt(c,e,6,s)}}function ua(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},l=!1;if(!ee(e)){const a=c=>{const f=ua(c,t,!0);f&&(l=!0,xe(i,f))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!o&&!l?(me(e)&&r.set(e,null),null):(Q(o)?o.forEach(a=>i[a]=null):xe(i,o),me(e)&&r.set(e,i),i)}function xr(e,t){return!e||!wr(t)?!1:(t=t.slice(2).replace(/Once$/,""),ce(e,t[0].toLowerCase()+t.slice(1))||ce(e,Vt(t))||ce(e,t))}function jo(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:l,emit:a,render:c,renderCache:f,props:u,data:d,setupState:h,ctx:m,inheritAttrs:w}=e,S=lr(e);let C,v;try{if(n.shapeFlag&4){const _=s||r,O=_;C=ct(c.call(O,_,f,u,h,d,m)),v=l}else{const _=t;C=ct(_.length>1?_(u,{attrs:l,slots:i,emit:a}):_(u,null)),v=t.props?l:Bu(l)}}catch(_){Tn.length=0,Cr(_,e,1),C=ne(Et)}let b=C;if(v&&w!==!1){const _=Object.keys(v),{shapeFlag:O}=b;_.length&&O&7&&(o&&_.some(no)&&(v=Du(v,o)),b=qt(b,v,!1,!0))}return n.dirs&&(b=qt(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&Tr(b,n.transition),C=b,lr(S),C}const Bu=e=>{let t;for(const n in e)(n==="class"||n==="style"||wr(n))&&((t||(t={}))[n]=e[n]);return t},Du=(e,t)=>{const n={};for(const r in e)(!no(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Fu(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:l,patchFlag:a}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?qo(r,i,c):!!i;if(a&8){const f=t.dynamicProps;for(let u=0;u<f.length;u++){const d=f[u];if(i[d]!==r[d]&&!xr(c,d))return!0}}}else return(s||l)&&(!l||!l.$stable)?!0:r===i?!1:r?i?qo(r,i,c):!0:!!i;return!1}function qo(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(t[o]!==e[o]&&!xr(n,o))return!0}return!1}function Uu({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const fr=e=>e.__isSuspense;function ku(e,t){t&&t.pendingBranch?Q(e)?t.effects.push(...e):t.effects.push(e):Gc(e)}const Se=Symbol.for("v-fgt"),Or=Symbol.for("v-txt"),Et=Symbol.for("v-cmt"),Zr=Symbol.for("v-stc"),Tn=[];let Ve=null;function G(e=!1){Tn.push(Ve=e?null:[])}function ju(){Tn.pop(),Ve=Tn[Tn.length-1]||null}let Mn=1;function Ho(e,t=!1){Mn+=e,e<0&&Ve&&t&&(Ve.hasOnce=!0)}function fa(e){return e.dynamicChildren=Mn>0?Ve||en:null,ju(),Mn>0&&Ve&&Ve.push(e),e}function Y(e,t,n,r,s,o){return fa(E(e,t,n,r,s,o,!0))}function Pn(e,t,n,r,s){return fa(ne(e,t,n,r,s,!0))}function $n(e){return e?e.__v_isVNode===!0:!1}function Xt(e,t){return e.type===t.type&&e.key===t.key}const da=({key:e})=>e??null,Yn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?_e(e)||Ie(e)||ee(e)?{i:Fe,r:e,k:t,f:!!n}:e:null);function E(e,t=null,n=null,r=0,s=null,o=e===Se?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&da(t),ref:t&&Yn(t),scopeId:Vl,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Fe};return l?(vo(a,n),o&128&&e.normalize(a)):n&&(a.shapeFlag|=_e(n)?8:16),Mn>0&&!i&&Ve&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&Ve.push(a),a}const ne=qu;function qu(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===fu)&&(e=Et),$n(e)){const l=qt(e,t,!0);return n&&vo(l,n),Mn>0&&!o&&Ve&&(l.shapeFlag&6?Ve[Ve.indexOf(e)]=l:Ve.push(l)),l.patchFlag=-2,l}if(Zu(e)&&(e=e.__vccOpts),t){t=Hu(t);let{class:l,style:a}=t;l&&!_e(l)&&(t.class=He(l)),me(a)&&(ho(a)&&!Q(a)&&(a=xe({},a)),t.style=oo(a))}const i=_e(e)?1:fr(e)?128:Xc(e)?64:me(e)?4:ee(e)?2:0;return E(e,t,n,r,s,i,o,!0)}function Hu(e){return e?ho(e)||ta(e)?xe({},e):e:null}function qt(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:l,transition:a}=e,c=t?Vu(s||{},t):s,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&da(c),ref:t&&t.ref?n&&o?Q(o)?o.concat(Yn(t)):[o,Yn(t)]:Yn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Se?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&qt(e.ssContent),ssFallback:e.ssFallback&&qt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&r&&Tr(f,a.clone(f)),f}function oe(e=" ",t=0){return ne(Or,null,e,t)}function dr(e="",t=!1){return t?(G(),Pn(Et,null,e)):ne(Et,null,e)}function ct(e){return e==null||typeof e=="boolean"?ne(Et):Q(e)?ne(Se,null,e.slice()):$n(e)?Ot(e):ne(Or,null,String(e))}function Ot(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:qt(e)}function vo(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Q(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),vo(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!ta(t)?t._ctx=Fe:s===3&&Fe&&(Fe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ee(t)?(t={default:t,_ctx:Fe},n=32):(t=String(t),r&64?(n=16,t=[oe(t)]):n=8);e.children=t,e.shapeFlag|=n}function Vu(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=He([t.class,r.class]));else if(s==="style")t.style=oo([t.style,r.style]);else if(wr(s)){const o=t[s],i=r[s];i&&o!==i&&!(Q(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function ze(e,t,n,r=null){dt(e,t,7,[n,r])}const Ku=Xl();let zu=0;function Wu(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||Ku,o={uid:zu++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new _l(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ra(r,s),emitsOptions:ua(r,s),emit:null,emitted:null,propsDefaults:de,inheritAttrs:r.inheritAttrs,ctx:de,data:de,props:de,attrs:de,slots:de,refs:de,setupState:de,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=$u.bind(null,o),e.ce&&e.ce(o),o}let Ce=null;const Ju=()=>Ce||Fe;let hr,qs;{const e=Er(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};hr=t("__VUE_INSTANCE_SETTERS__",n=>Ce=n),qs=t("__VUE_SSR_SETTERS__",n=>Bn=n)}const qn=e=>{const t=Ce;return hr(e),e.scope.on(),()=>{e.scope.off(),hr(t)}},Vo=()=>{Ce&&Ce.scope.off(),hr(null)};function ha(e){return e.vnode.shapeFlag&4}let Bn=!1;function Gu(e,t=!1,n=!1){t&&qs(t);const{props:r,children:s}=e.vnode,o=ha(e);bu(e,r,o,t),Su(e,s,n||t);const i=o?Qu(e,t):void 0;return t&&qs(!1),i}function Qu(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,hu);const{setup:r}=n;if(r){_t();const s=e.setupContext=r.length>1?Xu(e):null,o=qn(e),i=kn(r,e,0,[e.props,s]),l=hl(i);if(bt(),o(),(l||e.sp)&&!on(e)&&Kl(e),l){if(i.then(Vo,Vo),t)return i.then(a=>{Ko(e,a)}).catch(a=>{Cr(a,e,0)});e.asyncDep=i}else Ko(e,i)}else pa(e)}function Ko(e,t,n){ee(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:me(t)&&(e.setupState=Ul(t)),pa(e)}function pa(e,t,n){const r=e.type;e.render||(e.render=r.render||ut);{const s=qn(e);_t();try{pu(e)}finally{bt(),s()}}}const Yu={get(e,t){return Te(e,"get",""),e[t]}};function Xu(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Yu),slots:e.slots,emit:e.emit,expose:t}}function Nr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ul(Dl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Sn)return Sn[n](e)},has(t,n){return n in t||n in Sn}})):e.proxy}function Hs(e,t=!0){return ee(e)?e.displayName||e.name:e.name||t&&e.__name}function Zu(e){return ee(e)&&"__vccOpts"in e}const We=(e,t)=>Vc(e,t,Bn);function ga(e,t,n){const r=arguments.length;return r===2?me(t)&&!Q(t)?$n(t)?ne(e,null,[t]):ne(e,t):ne(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&$n(n)&&(n=[n]),ne(e,t,n))}const ef="3.5.15";/**
|
||
* @vue/runtime-dom v3.5.15
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let Vs;const zo=typeof window<"u"&&window.trustedTypes;if(zo)try{Vs=zo.createPolicy("vue",{createHTML:e=>e})}catch{}const ma=Vs?e=>Vs.createHTML(e):e=>e,tf="http://www.w3.org/2000/svg",nf="http://www.w3.org/1998/Math/MathML",mt=typeof document<"u"?document:null,Wo=mt&&mt.createElement("template"),rf={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?mt.createElementNS(tf,e):t==="mathml"?mt.createElementNS(nf,e):n?mt.createElement(e,{is:n}):mt.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>mt.createTextNode(e),createComment:e=>mt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>mt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{Wo.innerHTML=ma(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const l=Wo.content;if(r==="svg"||r==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},sf=Symbol("_vtc");function of(e,t,n){const r=e[sf];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Jo=Symbol("_vod"),lf=Symbol("_vsh"),af=Symbol(""),cf=/(^|;)\s*display\s*:/;function uf(e,t,n){const r=e.style,s=_e(n);let o=!1;if(n&&!s){if(t)if(_e(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&Xn(r,l,"")}else for(const i in t)n[i]==null&&Xn(r,i,"");for(const i in n)i==="display"&&(o=!0),Xn(r,i,n[i])}else if(s){if(t!==n){const i=r[af];i&&(n+=";"+i),r.cssText=n,o=cf.test(n)}}else t&&e.removeAttribute("style");Jo in e&&(e[Jo]=o?r.display:"",e[lf]&&(r.display="none"))}const Go=/\s*!important$/;function Xn(e,t,n){if(Q(n))n.forEach(r=>Xn(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=ff(e,t);Go.test(n)?e.setProperty(Vt(r),n.replace(Go,""),"important"):e[r]=n}}const Qo=["Webkit","Moz","ms"],es={};function ff(e,t){const n=es[t];if(n)return n;let r=Qe(t);if(r!=="filter"&&r in e)return es[t]=r;r=br(r);for(let s=0;s<Qo.length;s++){const o=Qo[s]+r;if(o in e)return es[t]=o}return t}const Yo="http://www.w3.org/1999/xlink";function Xo(e,t,n,r,s,o=yc(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Yo,t.slice(6,t.length)):e.setAttributeNS(Yo,t,n):n==null||o&&!yl(n)?e.removeAttribute(t):e.setAttribute(t,o?"":ft(n)?String(n):n)}function Zo(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?ma(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const l=o==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(l!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=yl(n):n==null&&l==="string"?(n="",i=!0):l==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(s||t)}function Ft(e,t,n,r){e.addEventListener(t,n,r)}function df(e,t,n,r){e.removeEventListener(t,n,r)}const ei=Symbol("_vei");function hf(e,t,n,r,s=null){const o=e[ei]||(e[ei]={}),i=o[t];if(r&&i)i.value=r;else{const[l,a]=pf(t);if(r){const c=o[t]=yf(r,s);Ft(e,l,c,a)}else i&&(df(e,l,i,a),o[t]=void 0)}}const ti=/(?:Once|Passive|Capture)$/;function pf(e){let t;if(ti.test(e)){t={};let r;for(;r=e.match(ti);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Vt(e.slice(2)),t]}let ts=0;const gf=Promise.resolve(),mf=()=>ts||(gf.then(()=>ts=0),ts=Date.now());function yf(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;dt(wf(r,n.value),t,5,[r])};return n.value=e,n.attached=mf(),n}function wf(e,t){if(Q(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const ni=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,vf=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?of(e,r,i):t==="style"?uf(e,n,r):wr(t)?no(t)||hf(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):_f(e,t,r,i))?(Zo(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Xo(e,t,r,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!_e(r))?Zo(e,Qe(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Xo(e,t,r,i))};function _f(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&ni(t)&&ee(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return ni(t)&&_e(n)?!1:t in e}const pr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Q(t)?n=>nn(t,n):t};function bf(e){e.target.composing=!0}function ri(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const an=Symbol("_assign"),Ef={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[an]=pr(s);const o=r||s.props&&s.props.type==="number";Ft(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=rr(l)),e[an](l)}),n&&Ft(e,"change",()=>{e.value=e.value.trim()}),t||(Ft(e,"compositionstart",bf),Ft(e,"compositionend",ri),Ft(e,"change",ri))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},i){if(e[an]=pr(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?rr(e.value):e.value,a=t??"";l!==a&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===a)||(e.value=a))}},jm={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=vr(t);Ft(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?rr(gr(i)):gr(i));e[an](e.multiple?s?new Set(o):o:o[0]),e._assigning=!0,po(()=>{e._assigning=!1})}),e[an]=pr(r)},mounted(e,{value:t}){si(e,t)},beforeUpdate(e,t,n){e[an]=pr(n)},updated(e,{value:t}){e._assigning||si(e,t)}};function si(e,t){const n=e.multiple,r=Q(t);if(!(n&&!r&&!vr(t))){for(let s=0,o=e.options.length;s<o;s++){const i=e.options[s],l=gr(i);if(n)if(r){const a=typeof l;a==="string"||a==="number"?i.selected=t.some(c=>String(c)===String(l)):i.selected=vc(t,l)>-1}else i.selected=t.has(l);else if(Ar(gr(i),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function gr(e){return"_value"in e?e._value:e.value}const Af=["ctrl","shift","alt","meta"],Rf={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Af.some(n=>e[`${n}Key`]&&!t.includes(n))},ns=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...o)=>{for(let i=0;i<t.length;i++){const l=Rf[t[i]];if(l&&l(s,t))return}return e(s,...o)})},Sf=xe({patchProp:vf},rf);let oi;function Cf(){return oi||(oi=Tu(Sf))}const Tf=(...e)=>{const t=Cf().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=If(r);if(!s)return;const o=t._component;!ee(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=n(s,!1,Pf(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t};function Pf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function If(e){return _e(e)?document.querySelector(e):e}/*!
|
||
* pinia v3.0.2
|
||
* (c) 2025 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/const xf=Symbol();var ii;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(ii||(ii={}));function Of(){const e=_c(!0),t=e.run(()=>ge({}));let n=[],r=[];const s=Dl({install(o){s._a=o,o.provide(xf,s),o.config.globalProperties.$pinia=s,r.forEach(i=>n.push(i)),r=[]},use(o){return this._a?n.push(o):r.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}/*!
|
||
* vue-router v4.5.1
|
||
* (c) 2025 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/const Zt=typeof document<"u";function ya(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Nf(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&ya(e.default)}const le=Object.assign;function rs(e,t){const n={};for(const r in t){const s=t[r];n[r]=et(s)?s.map(e):e(s)}return n}const In=()=>{},et=Array.isArray,wa=/#/g,Lf=/&/g,Mf=/\//g,$f=/=/g,Bf=/\?/g,va=/\+/g,Df=/%5B/g,Ff=/%5D/g,_a=/%5E/g,Uf=/%60/g,ba=/%7B/g,kf=/%7C/g,Ea=/%7D/g,jf=/%20/g;function _o(e){return encodeURI(""+e).replace(kf,"|").replace(Df,"[").replace(Ff,"]")}function qf(e){return _o(e).replace(ba,"{").replace(Ea,"}").replace(_a,"^")}function Ks(e){return _o(e).replace(va,"%2B").replace(jf,"+").replace(wa,"%23").replace(Lf,"%26").replace(Uf,"`").replace(ba,"{").replace(Ea,"}").replace(_a,"^")}function Hf(e){return Ks(e).replace($f,"%3D")}function Vf(e){return _o(e).replace(wa,"%23").replace(Bf,"%3F")}function Kf(e){return e==null?"":Vf(e).replace(Mf,"%2F")}function Dn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const zf=/\/$/,Wf=e=>e.replace(zf,"");function ss(e,t,n="/"){let r,s={},o="",i="";const l=t.indexOf("#");let a=t.indexOf("?");return l<a&&l>=0&&(a=-1),a>-1&&(r=t.slice(0,a),o=t.slice(a+1,l>-1?l:t.length),s=e(o)),l>-1&&(r=r||t.slice(0,l),i=t.slice(l,t.length)),r=Yf(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:Dn(i)}}function Jf(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function li(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Gf(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&cn(t.matched[r],n.matched[s])&&Aa(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function cn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Aa(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Qf(e[n],t[n]))return!1;return!0}function Qf(e,t){return et(e)?ai(e,t):et(t)?ai(t,e):e===t}function ai(e,t){return et(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Yf(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,l;for(i=0;i<r.length;i++)if(l=r[i],l!==".")if(l==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}const Tt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Fn;(function(e){e.pop="pop",e.push="push"})(Fn||(Fn={}));var xn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(xn||(xn={}));function Xf(e){if(!e)if(Zt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Wf(e)}const Zf=/^[^#]+#/;function ed(e,t){return e.replace(Zf,"#")+t}function td(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Lr=()=>({left:window.scrollX,top:window.scrollY});function nd(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=td(s,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 ci(e,t){return(history.state?history.state.position-t:-1)+e}const zs=new Map;function rd(e,t){zs.set(e,t)}function sd(e){const t=zs.get(e);return zs.delete(e),t}let od=()=>location.protocol+"//"+location.host;function Ra(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let l=s.includes(e.slice(o))?e.slice(o).length:1,a=s.slice(l);return a[0]!=="/"&&(a="/"+a),li(a,"")}return li(n,e)+r+s}function id(e,t,n,r){let s=[],o=[],i=null;const l=({state:d})=>{const h=Ra(e,location),m=n.value,w=t.value;let S=0;if(d){if(n.value=h,t.value=d,i&&i===m){i=null;return}S=w?d.position-w.position:0}else r(h);s.forEach(C=>{C(n.value,m,{delta:S,type:Fn.pop,direction:S?S>0?xn.forward:xn.back:xn.unknown})})};function a(){i=n.value}function c(d){s.push(d);const h=()=>{const m=s.indexOf(d);m>-1&&s.splice(m,1)};return o.push(h),h}function f(){const{history:d}=window;d.state&&d.replaceState(le({},d.state,{scroll:Lr()}),"")}function u(){for(const d of o)d();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",f,{passive:!0}),{pauseListeners:a,listen:c,destroy:u}}function ui(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Lr():null}}function ld(e){const{history:t,location:n}=window,r={value:Ra(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(a,c,f){const u=e.indexOf("#"),d=u>-1?(n.host&&document.querySelector("base")?e:e.slice(u))+a:od()+e+a;try{t[f?"replaceState":"pushState"](c,"",d),s.value=c}catch(h){console.error(h),n[f?"replace":"assign"](d)}}function i(a,c){const f=le({},t.state,ui(s.value.back,a,s.value.forward,!0),c,{position:s.value.position});o(a,f,!0),r.value=a}function l(a,c){const f=le({},s.value,t.state,{forward:a,scroll:Lr()});o(f.current,f,!0);const u=le({},ui(r.value,a,null),{position:f.position+1},c);o(a,u,!1),r.value=a}return{location:r,state:s,push:l,replace:i}}function ad(e){e=Xf(e);const t=ld(e),n=id(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=le({location:"",base:e,go:r,createHref:ed.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function cd(e){return typeof e=="string"||e&&typeof e=="object"}function Sa(e){return typeof e=="string"||typeof e=="symbol"}const Ca=Symbol("");var fi;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(fi||(fi={}));function un(e,t){return le(new Error,{type:e,[Ca]:!0},t)}function gt(e,t){return e instanceof Error&&Ca in e&&(t==null||!!(e.type&t))}const di="[^/]+?",ud={sensitive:!1,strict:!1,start:!0,end:!0},fd=/[.+*?^${}()[\]/\\]/g;function dd(e,t){const n=le({},ud,t),r=[];let s=n.start?"^":"";const o=[];for(const c of e){const f=c.length?[]:[90];n.strict&&!c.length&&(s+="/");for(let u=0;u<c.length;u++){const d=c[u];let h=40+(n.sensitive?.25:0);if(d.type===0)u||(s+="/"),s+=d.value.replace(fd,"\\$&"),h+=40;else if(d.type===1){const{value:m,repeatable:w,optional:S,regexp:C}=d;o.push({name:m,repeatable:w,optional:S});const v=C||di;if(v!==di){h+=10;try{new RegExp(`(${v})`)}catch(_){throw new Error(`Invalid custom RegExp for param "${m}" (${v}): `+_.message)}}let b=w?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;u||(b=S&&c.length<2?`(?:/${b})`:"/"+b),S&&(b+="?"),s+=b,h+=20,S&&(h+=-8),w&&(h+=-20),v===".*"&&(h+=-50)}f.push(h)}r.push(f)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&!s.endsWith("/")&&(s+="(?:/|$)");const i=new RegExp(s,n.sensitive?"":"i");function l(c){const f=c.match(i),u={};if(!f)return null;for(let d=1;d<f.length;d++){const h=f[d]||"",m=o[d-1];u[m.name]=h&&m.repeatable?h.split("/"):h}return u}function a(c){let f="",u=!1;for(const d of e){(!u||!f.endsWith("/"))&&(f+="/"),u=!1;for(const h of d)if(h.type===0)f+=h.value;else if(h.type===1){const{value:m,repeatable:w,optional:S}=h,C=m in c?c[m]:"";if(et(C)&&!w)throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);const v=et(C)?C.join("/"):C;if(!v)if(S)d.length<2&&(f.endsWith("/")?f=f.slice(0,-1):u=!0);else throw new Error(`Missing required param "${m}"`);f+=v}}return f||"/"}return{re:i,score:r,keys:o,parse:l,stringify:a}}function hd(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function Ta(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=hd(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(hi(r))return 1;if(hi(s))return-1}return s.length-r.length}function hi(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const pd={type:0,value:""},gd=/[a-zA-Z0-9_]/;function md(e){if(!e)return[[]];if(e==="/")return[[pd]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let l=0,a,c="",f="";function u(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:f,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=a}for(;l<e.length;){if(a=e[l++],a==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:a==="/"?(c&&u(),i()):a===":"?(u(),n=1):d();break;case 4:d(),n=r;break;case 1:a==="("?n=2:gd.test(a)?d():(u(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&l--);break;case 2:a===")"?f[f.length-1]=="\\"?f=f.slice(0,-1)+a:n=3:f+=a;break;case 3:u(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&l--,f="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),u(),i(),s}function yd(e,t,n){const r=dd(md(e.path),n),s=le(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function wd(e,t){const n=[],r=new Map;t=yi({strict:!1,end:!0,sensitive:!1},t);function s(u){return r.get(u)}function o(u,d,h){const m=!h,w=gi(u);w.aliasOf=h&&h.record;const S=yi(t,u),C=[w];if("alias"in u){const _=typeof u.alias=="string"?[u.alias]:u.alias;for(const O of _)C.push(gi(le({},w,{components:h?h.record.components:w.components,path:O,aliasOf:h?h.record:w})))}let v,b;for(const _ of C){const{path:O}=_;if(d&&O[0]!=="/"){const R=d.record.path,P=R[R.length-1]==="/"?"":"/";_.path=d.record.path+(O&&P+O)}if(v=yd(_,d,S),h?h.alias.push(v):(b=b||v,b!==v&&b.alias.push(v),m&&u.name&&!mi(v)&&i(u.name)),Pa(v)&&a(v),w.children){const R=w.children;for(let P=0;P<R.length;P++)o(R[P],v,h&&h.children[P])}h=h||v}return b?()=>{i(b)}:In}function i(u){if(Sa(u)){const d=r.get(u);d&&(r.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,1),u.record.name&&r.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function l(){return n}function a(u){const d=bd(u,n);n.splice(d,0,u),u.record.name&&!mi(u)&&r.set(u.record.name,u)}function c(u,d){let h,m={},w,S;if("name"in u&&u.name){if(h=r.get(u.name),!h)throw un(1,{location:u});S=h.record.name,m=le(pi(d.params,h.keys.filter(b=>!b.optional).concat(h.parent?h.parent.keys.filter(b=>b.optional):[]).map(b=>b.name)),u.params&&pi(u.params,h.keys.map(b=>b.name))),w=h.stringify(m)}else if(u.path!=null)w=u.path,h=n.find(b=>b.re.test(w)),h&&(m=h.parse(w),S=h.record.name);else{if(h=d.name?r.get(d.name):n.find(b=>b.re.test(d.path)),!h)throw un(1,{location:u,currentLocation:d});S=h.record.name,m=le({},d.params,u.params),w=h.stringify(m)}const C=[];let v=h;for(;v;)C.unshift(v.record),v=v.parent;return{name:S,path:w,params:m,matched:C,meta:_d(C)}}e.forEach(u=>o(u));function f(){n.length=0,r.clear()}return{addRoute:o,resolve:c,removeRoute:i,clearRoutes:f,getRoutes:l,getRecordMatcher:s}}function pi(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function gi(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:vd(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function vd(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function mi(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function _d(e){return e.reduce((t,n)=>le(t,n.meta),{})}function yi(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function bd(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;Ta(e,t[o])<0?r=o:n=o+1}const s=Ed(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function Ed(e){let t=e;for(;t=t.parent;)if(Pa(t)&&Ta(e,t)===0)return t}function Pa({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Ad(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<r.length;++s){const o=r[s].replace(va," "),i=o.indexOf("="),l=Dn(i<0?o:o.slice(0,i)),a=i<0?null:Dn(o.slice(i+1));if(l in t){let c=t[l];et(c)||(c=t[l]=[c]),c.push(a)}else t[l]=a}return t}function wi(e){let t="";for(let n in e){const r=e[n];if(n=Hf(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(et(r)?r.map(o=>o&&Ks(o)):[r&&Ks(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Rd(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=et(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const Sd=Symbol(""),vi=Symbol(""),Mr=Symbol(""),bo=Symbol(""),Ws=Symbol("");function mn(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Nt(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((l,a)=>{const c=d=>{d===!1?a(un(4,{from:n,to:t})):d instanceof Error?a(d):cd(d)?a(un(2,{from:t,to:d})):(i&&r.enterCallbacks[s]===i&&typeof d=="function"&&i.push(d),l())},f=o(()=>e.call(r&&r.instances[s],t,n,c));let u=Promise.resolve(f);e.length<3&&(u=u.then(c)),u.catch(d=>a(d))})}function os(e,t,n,r,s=o=>o()){const o=[];for(const i of e)for(const l in i.components){let a=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(ya(a)){const f=(a.__vccOpts||a)[t];f&&o.push(Nt(f,n,r,i,l,s))}else{let c=a();o.push(()=>c.then(f=>{if(!f)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const u=Nf(f)?f.default:f;i.mods[l]=f,i.components[l]=u;const h=(u.__vccOpts||u)[t];return h&&Nt(h,n,r,i,l,s)()}))}}return o}function _i(e){const t=Ze(Mr),n=Ze(bo),r=We(()=>{const a=vt(e.to);return t.resolve(a)}),s=We(()=>{const{matched:a}=r.value,{length:c}=a,f=a[c-1],u=n.matched;if(!f||!u.length)return-1;const d=u.findIndex(cn.bind(null,f));if(d>-1)return d;const h=bi(a[c-2]);return c>1&&bi(f)===h&&u[u.length-1].path!==h?u.findIndex(cn.bind(null,a[c-2])):d}),o=We(()=>s.value>-1&&xd(n.params,r.value.params)),i=We(()=>s.value>-1&&s.value===n.matched.length-1&&Aa(n.params,r.value.params));function l(a={}){if(Id(a)){const c=t[vt(e.replace)?"replace":"push"](vt(e.to)).catch(In);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:r,href:We(()=>r.value.href),isActive:o,isExactActive:i,navigate:l}}function Cd(e){return e.length===1?e[0]:e}const Td=ht({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:_i,setup(e,{slots:t}){const n=Sr(_i(e)),{options:r}=Ze(Mr),s=We(()=>({[Ei(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Ei(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&Cd(t.default(n));return e.custom?o:ga("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),Pd=Td;function Id(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function xd(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!et(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function bi(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ei=(e,t,n)=>e??t??n,Od=ht({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ze(Ws),s=We(()=>e.route||r.value),o=Ze(vi,0),i=We(()=>{let c=vt(o);const{matched:f}=s.value;let u;for(;(u=f[c])&&!u.components;)c++;return c}),l=We(()=>s.value.matched[i.value]);Qn(vi,We(()=>i.value+1)),Qn(Sd,l),Qn(Ws,s);const a=ge();return Cn(()=>[a.value,l.value,e.name],([c,f,u],[d,h,m])=>{f&&(f.instances[u]=c,h&&h!==f&&c&&c===d&&(f.leaveGuards.size||(f.leaveGuards=h.leaveGuards),f.updateGuards.size||(f.updateGuards=h.updateGuards))),c&&f&&(!h||!cn(f,h)||!d)&&(f.enterCallbacks[u]||[]).forEach(w=>w(c))},{flush:"post"}),()=>{const c=s.value,f=e.name,u=l.value,d=u&&u.components[f];if(!d)return Ai(n.default,{Component:d,route:c});const h=u.props[f],m=h?h===!0?c.params:typeof h=="function"?h(c):h:null,S=ga(d,le({},m,t,{onVnodeUnmounted:C=>{C.component.isUnmounted&&(u.instances[f]=null)},ref:a}));return Ai(n.default,{Component:S,route:c})||S}}});function Ai(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Ia=Od;function Nd(e){const t=wd(e.routes,e),n=e.parseQuery||Ad,r=e.stringifyQuery||wi,s=e.history,o=mn(),i=mn(),l=mn(),a=kc(Tt);let c=Tt;Zt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=rs.bind(null,T=>""+T),u=rs.bind(null,Kf),d=rs.bind(null,Dn);function h(T,k){let D,V;return Sa(T)?(D=t.getRecordMatcher(T),V=k):V=T,t.addRoute(V,D)}function m(T){const k=t.getRecordMatcher(T);k&&t.removeRoute(k)}function w(){return t.getRoutes().map(T=>T.record)}function S(T){return!!t.getRecordMatcher(T)}function C(T,k){if(k=le({},k||a.value),typeof T=="string"){const y=ss(n,T,k.path),I=t.resolve({path:y.path},k),N=s.createHref(y.fullPath);return le(y,I,{params:d(I.params),hash:Dn(y.hash),redirectedFrom:void 0,href:N})}let D;if(T.path!=null)D=le({},T,{path:ss(n,T.path,k.path).path});else{const y=le({},T.params);for(const I in y)y[I]==null&&delete y[I];D=le({},T,{params:u(y)}),k.params=u(k.params)}const V=t.resolve(D,k),fe=T.hash||"";V.params=f(d(V.params));const p=Jf(r,le({},T,{hash:qf(fe),path:V.path})),g=s.createHref(p);return le({fullPath:p,hash:fe,query:r===wi?Rd(T.query):T.query||{}},V,{redirectedFrom:void 0,href:g})}function v(T){return typeof T=="string"?ss(n,T,a.value.path):le({},T)}function b(T,k){if(c!==T)return un(8,{from:k,to:T})}function _(T){return P(T)}function O(T){return _(le(v(T),{replace:!0}))}function R(T){const k=T.matched[T.matched.length-1];if(k&&k.redirect){const{redirect:D}=k;let V=typeof D=="function"?D(T):D;return typeof V=="string"&&(V=V.includes("?")||V.includes("#")?V=v(V):{path:V},V.params={}),le({query:T.query,hash:T.hash,params:V.path!=null?{}:T.params},V)}}function P(T,k){const D=c=C(T),V=a.value,fe=T.state,p=T.force,g=T.replace===!0,y=R(D);if(y)return P(le(v(y),{state:typeof y=="object"?le({},fe,y.state):fe,force:p,replace:g}),k||D);const I=D;I.redirectedFrom=k;let N;return!p&&Gf(r,V,D)&&(N=un(16,{to:I,from:V}),Ne(V,V,!0,!1)),(N?Promise.resolve(N):$(I,V)).catch(x=>gt(x)?gt(x,2)?x:Ke(x):se(x,I,V)).then(x=>{if(x){if(gt(x,2))return P(le({replace:g},v(x.to),{state:typeof x.to=="object"?le({},fe,x.to.state):fe,force:p}),k||I)}else x=z(I,V,!0,g,fe);return U(I,V,x),x})}function M(T,k){const D=b(T,k);return D?Promise.reject(D):Promise.resolve()}function j(T){const k=St.values().next().value;return k&&typeof k.runWithContext=="function"?k.runWithContext(T):T()}function $(T,k){let D;const[V,fe,p]=Ld(T,k);D=os(V.reverse(),"beforeRouteLeave",T,k);for(const y of V)y.leaveGuards.forEach(I=>{D.push(Nt(I,T,k))});const g=M.bind(null,T,k);return D.push(g),Le(D).then(()=>{D=[];for(const y of o.list())D.push(Nt(y,T,k));return D.push(g),Le(D)}).then(()=>{D=os(fe,"beforeRouteUpdate",T,k);for(const y of fe)y.updateGuards.forEach(I=>{D.push(Nt(I,T,k))});return D.push(g),Le(D)}).then(()=>{D=[];for(const y of p)if(y.beforeEnter)if(et(y.beforeEnter))for(const I of y.beforeEnter)D.push(Nt(I,T,k));else D.push(Nt(y.beforeEnter,T,k));return D.push(g),Le(D)}).then(()=>(T.matched.forEach(y=>y.enterCallbacks={}),D=os(p,"beforeRouteEnter",T,k,j),D.push(g),Le(D))).then(()=>{D=[];for(const y of i.list())D.push(Nt(y,T,k));return D.push(g),Le(D)}).catch(y=>gt(y,8)?y:Promise.reject(y))}function U(T,k,D){l.list().forEach(V=>j(()=>V(T,k,D)))}function z(T,k,D,V,fe){const p=b(T,k);if(p)return p;const g=k===Tt,y=Zt?history.state:{};D&&(V||g?s.replace(T.fullPath,le({scroll:g&&y&&y.scroll},fe)):s.push(T.fullPath,fe)),a.value=T,Ne(T,k,D,g),Ke()}let K;function X(){K||(K=s.listen((T,k,D)=>{if(!Ct.listening)return;const V=C(T),fe=R(V);if(fe){P(le(fe,{replace:!0,force:!0}),V).catch(In);return}c=V;const p=a.value;Zt&&rd(ci(p.fullPath,D.delta),Lr()),$(V,p).catch(g=>gt(g,12)?g:gt(g,2)?(P(le(v(g.to),{force:!0}),V).then(y=>{gt(y,20)&&!D.delta&&D.type===Fn.pop&&s.go(-1,!1)}).catch(In),Promise.reject()):(D.delta&&s.go(-D.delta,!1),se(g,V,p))).then(g=>{g=g||z(V,p,!1),g&&(D.delta&&!gt(g,8)?s.go(-D.delta,!1):D.type===Fn.pop&>(g,20)&&s.go(-1,!1)),U(V,p,g)}).catch(In)}))}let Oe=mn(),ye=mn(),ie;function se(T,k,D){Ke(T);const V=ye.list();return V.length?V.forEach(fe=>fe(T,k,D)):console.error(T),Promise.reject(T)}function Ye(){return ie&&a.value!==Tt?Promise.resolve():new Promise((T,k)=>{Oe.add([T,k])})}function Ke(T){return ie||(ie=!T,X(),Oe.list().forEach(([k,D])=>T?D(T):k()),Oe.reset()),T}function Ne(T,k,D,V){const{scrollBehavior:fe}=e;if(!Zt||!fe)return Promise.resolve();const p=!D&&sd(ci(T.fullPath,0))||(V||!D)&&history.state&&history.state.scroll||null;return po().then(()=>fe(T,k,p)).then(g=>g&&nd(g)).catch(g=>se(g,T,k))}const Ee=T=>s.go(T);let nt;const St=new Set,Ct={currentRoute:a,listening:!0,addRoute:h,removeRoute:m,clearRoutes:t.clearRoutes,hasRoute:S,getRoutes:w,resolve:C,options:e,push:_,replace:O,go:Ee,back:()=>Ee(-1),forward:()=>Ee(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:ye.add,isReady:Ye,install(T){const k=this;T.component("RouterLink",Pd),T.component("RouterView",Ia),T.config.globalProperties.$router=k,Object.defineProperty(T.config.globalProperties,"$route",{enumerable:!0,get:()=>vt(a)}),Zt&&!nt&&a.value===Tt&&(nt=!0,_(s.location).catch(fe=>{}));const D={};for(const fe in Tt)Object.defineProperty(D,fe,{get:()=>a.value[fe],enumerable:!0});T.provide(Mr,k),T.provide(bo,$l(D)),T.provide(Ws,a);const V=T.unmount;St.add(T),T.unmount=function(){St.delete(T),St.size<1&&(c=Tt,K&&K(),K=null,a.value=Tt,nt=!1,ie=!1),V()}}};function Le(T){return T.reduce((k,D)=>k.then(()=>j(D)),Promise.resolve())}return Ct}function Ld(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const l=t.matched[i];l&&(e.matched.find(c=>cn(c,l))?r.push(l):n.push(l));const a=e.matched[i];a&&(t.matched.find(c=>cn(c,a))||s.push(a))}return[n,r,s]}function Md(){return Ze(Mr)}function Eo(e){return Ze(bo)}const $d=ht({__name:"App",setup(e){return(t,n)=>(G(),Pn(eu,null,[ne(vt(Ia))],1024))}}),Bd="modulepreload",Dd=function(e){return"/"+e},Ri={},yn=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){let i=function(c){return Promise.all(c.map(f=>Promise.resolve(f).then(u=>({status:"fulfilled",value:u}),u=>({status:"rejected",reason:u}))))};document.getElementsByTagName("link");const l=document.querySelector("meta[property=csp-nonce]"),a=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));s=i(n.map(c=>{if(c=Dd(c),c in Ri)return;Ri[c]=!0;const f=c.endsWith(".css"),u=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${u}`))return;const d=document.createElement("link");if(d.rel=f?"stylesheet":Bd,f||(d.as="script"),d.crossOrigin="",d.href=c,a&&d.setAttribute("nonce",a),document.head.appendChild(d),f)return new Promise((h,m)=>{d.addEventListener("load",h),d.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return s.then(i=>{for(const l of i||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})};function xa(e,t){return function(){return e.apply(t,arguments)}}const{toString:Fd}=Object.prototype,{getPrototypeOf:Ao}=Object,{iterator:$r,toStringTag:Oa}=Symbol,Br=(e=>t=>{const n=Fd.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),tt=e=>(e=e.toLowerCase(),t=>Br(t)===e),Dr=e=>t=>typeof t===e,{isArray:dn}=Array,Un=Dr("undefined");function Ud(e){return e!==null&&!Un(e)&&e.constructor!==null&&!Un(e.constructor)&&Ue(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Na=tt("ArrayBuffer");function kd(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Na(e.buffer),t}const jd=Dr("string"),Ue=Dr("function"),La=Dr("number"),Fr=e=>e!==null&&typeof e=="object",qd=e=>e===!0||e===!1,Zn=e=>{if(Br(e)!=="object")return!1;const t=Ao(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Oa in e)&&!($r in e)},Hd=tt("Date"),Vd=tt("File"),Kd=tt("Blob"),zd=tt("FileList"),Wd=e=>Fr(e)&&Ue(e.pipe),Jd=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Ue(e.append)&&((t=Br(e))==="formdata"||t==="object"&&Ue(e.toString)&&e.toString()==="[object FormData]"))},Gd=tt("URLSearchParams"),[Qd,Yd,Xd,Zd]=["ReadableStream","Request","Response","Headers"].map(tt),eh=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Hn(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),dn(e))for(r=0,s=e.length;r<s;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let l;for(r=0;r<i;r++)l=o[r],t.call(null,e[l],l,e)}}function Ma(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,s;for(;r-- >0;)if(s=n[r],t===s.toLowerCase())return s;return null}const Ut=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,$a=e=>!Un(e)&&e!==Ut;function Js(){const{caseless:e}=$a(this)&&this||{},t={},n=(r,s)=>{const o=e&&Ma(t,s)||s;Zn(t[o])&&Zn(r)?t[o]=Js(t[o],r):Zn(r)?t[o]=Js({},r):dn(r)?t[o]=r.slice():t[o]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&Hn(arguments[r],n);return t}const th=(e,t,n,{allOwnKeys:r}={})=>(Hn(t,(s,o)=>{n&&Ue(s)?e[o]=xa(s,n):e[o]=s},{allOwnKeys:r}),e),nh=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),rh=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},sh=(e,t,n,r)=>{let s,o,i;const l={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)i=s[o],(!r||r(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&Ao(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},oh=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},ih=e=>{if(!e)return null;if(dn(e))return e;let t=e.length;if(!La(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},lh=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ao(Uint8Array)),ah=(e,t)=>{const r=(e&&e[$r]).call(e);let s;for(;(s=r.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},ch=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},uh=tt("HTMLFormElement"),fh=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),Si=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),dh=tt("RegExp"),Ba=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Hn(n,(s,o)=>{let i;(i=t(s,o,e))!==!1&&(r[o]=i||s)}),Object.defineProperties(e,r)},hh=e=>{Ba(e,(t,n)=>{if(Ue(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Ue(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},ph=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return dn(e)?r(e):r(String(e).split(t)),n},gh=()=>{},mh=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function yh(e){return!!(e&&Ue(e.append)&&e[Oa]==="FormData"&&e[$r])}const wh=e=>{const t=new Array(10),n=(r,s)=>{if(Fr(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const o=dn(r)?[]:{};return Hn(r,(i,l)=>{const a=n(i,s+1);!Un(a)&&(o[l]=a)}),t[s]=void 0,o}}return r};return n(e,0)},vh=tt("AsyncFunction"),_h=e=>e&&(Fr(e)||Ue(e))&&Ue(e.then)&&Ue(e.catch),Da=((e,t)=>e?setImmediate:t?((n,r)=>(Ut.addEventListener("message",({source:s,data:o})=>{s===Ut&&o===n&&r.length&&r.shift()()},!1),s=>{r.push(s),Ut.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Ue(Ut.postMessage)),bh=typeof queueMicrotask<"u"?queueMicrotask.bind(Ut):typeof process<"u"&&process.nextTick||Da,Eh=e=>e!=null&&Ue(e[$r]),A={isArray:dn,isArrayBuffer:Na,isBuffer:Ud,isFormData:Jd,isArrayBufferView:kd,isString:jd,isNumber:La,isBoolean:qd,isObject:Fr,isPlainObject:Zn,isReadableStream:Qd,isRequest:Yd,isResponse:Xd,isHeaders:Zd,isUndefined:Un,isDate:Hd,isFile:Vd,isBlob:Kd,isRegExp:dh,isFunction:Ue,isStream:Wd,isURLSearchParams:Gd,isTypedArray:lh,isFileList:zd,forEach:Hn,merge:Js,extend:th,trim:eh,stripBOM:nh,inherits:rh,toFlatObject:sh,kindOf:Br,kindOfTest:tt,endsWith:oh,toArray:ih,forEachEntry:ah,matchAll:ch,isHTMLForm:uh,hasOwnProperty:Si,hasOwnProp:Si,reduceDescriptors:Ba,freezeMethods:hh,toObjectSet:ph,toCamelCase:fh,noop:gh,toFiniteNumber:mh,findKey:Ma,global:Ut,isContextDefined:$a,isSpecCompliantForm:yh,toJSONObject:wh,isAsyncFn:vh,isThenable:_h,setImmediate:Da,asap:bh,isIterable:Eh};function te(e,t,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s,this.status=s.status?s.status:null)}A.inherits(te,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:A.toJSONObject(this.config),code:this.code,status:this.status}}});const Fa=te.prototype,Ua={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Ua[e]={value:e}});Object.defineProperties(te,Ua);Object.defineProperty(Fa,"isAxiosError",{value:!0});te.from=(e,t,n,r,s,o)=>{const i=Object.create(Fa);return A.toFlatObject(e,i,function(a){return a!==Error.prototype},l=>l!=="isAxiosError"),te.call(i,e.message,t,n,r,s),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const Ah=null;function Gs(e){return A.isPlainObject(e)||A.isArray(e)}function ka(e){return A.endsWith(e,"[]")?e.slice(0,-2):e}function Ci(e,t,n){return e?e.concat(t).map(function(s,o){return s=ka(s),!n&&o?"["+s+"]":s}).join(n?".":""):t}function Rh(e){return A.isArray(e)&&!e.some(Gs)}const Sh=A.toFlatObject(A,{},null,function(t){return/^is[A-Z]/.test(t)});function Ur(e,t,n){if(!A.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=A.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(w,S){return!A.isUndefined(S[w])});const r=n.metaTokens,s=n.visitor||f,o=n.dots,i=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&A.isSpecCompliantForm(t);if(!A.isFunction(s))throw new TypeError("visitor must be a function");function c(m){if(m===null)return"";if(A.isDate(m))return m.toISOString();if(!a&&A.isBlob(m))throw new te("Blob is not supported. Use a Buffer instead.");return A.isArrayBuffer(m)||A.isTypedArray(m)?a&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function f(m,w,S){let C=m;if(m&&!S&&typeof m=="object"){if(A.endsWith(w,"{}"))w=r?w:w.slice(0,-2),m=JSON.stringify(m);else if(A.isArray(m)&&Rh(m)||(A.isFileList(m)||A.endsWith(w,"[]"))&&(C=A.toArray(m)))return w=ka(w),C.forEach(function(b,_){!(A.isUndefined(b)||b===null)&&t.append(i===!0?Ci([w],_,o):i===null?w:w+"[]",c(b))}),!1}return Gs(m)?!0:(t.append(Ci(S,w,o),c(m)),!1)}const u=[],d=Object.assign(Sh,{defaultVisitor:f,convertValue:c,isVisitable:Gs});function h(m,w){if(!A.isUndefined(m)){if(u.indexOf(m)!==-1)throw Error("Circular reference detected in "+w.join("."));u.push(m),A.forEach(m,function(C,v){(!(A.isUndefined(C)||C===null)&&s.call(t,C,A.isString(v)?v.trim():v,w,d))===!0&&h(C,w?w.concat(v):[v])}),u.pop()}}if(!A.isObject(e))throw new TypeError("data must be an object");return h(e),t}function Ti(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Ro(e,t){this._pairs=[],e&&Ur(e,this,t)}const ja=Ro.prototype;ja.append=function(t,n){this._pairs.push([t,n])};ja.toString=function(t){const n=t?function(r){return t.call(this,r,Ti)}:Ti;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function Ch(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function qa(e,t,n){if(!t)return e;const r=n&&n.encode||Ch;A.isFunction(n)&&(n={serialize:n});const s=n&&n.serialize;let o;if(s?o=s(t,n):o=A.isURLSearchParams(t)?t.toString():new Ro(t,n).toString(r),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Pi{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){A.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Ha={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Th=typeof URLSearchParams<"u"?URLSearchParams:Ro,Ph=typeof FormData<"u"?FormData:null,Ih=typeof Blob<"u"?Blob:null,xh={isBrowser:!0,classes:{URLSearchParams:Th,FormData:Ph,Blob:Ih},protocols:["http","https","file","blob","url","data"]},So=typeof window<"u"&&typeof document<"u",Qs=typeof navigator=="object"&&navigator||void 0,Oh=So&&(!Qs||["ReactNative","NativeScript","NS"].indexOf(Qs.product)<0),Nh=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Lh=So&&window.location.href||"http://localhost",Mh=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:So,hasStandardBrowserEnv:Oh,hasStandardBrowserWebWorkerEnv:Nh,navigator:Qs,origin:Lh},Symbol.toStringTag,{value:"Module"})),Pe={...Mh,...xh};function $h(e,t){return Ur(e,new Pe.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,o){return Pe.isNode&&A.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Bh(e){return A.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Dh(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r<s;r++)o=n[r],t[o]=e[o];return t}function Va(e){function t(n,r,s,o){let i=n[o++];if(i==="__proto__")return!0;const l=Number.isFinite(+i),a=o>=n.length;return i=!i&&A.isArray(s)?s.length:i,a?(A.hasOwnProp(s,i)?s[i]=[s[i],r]:s[i]=r,!l):((!s[i]||!A.isObject(s[i]))&&(s[i]=[]),t(n,r,s[i],o)&&A.isArray(s[i])&&(s[i]=Dh(s[i])),!l)}if(A.isFormData(e)&&A.isFunction(e.entries)){const n={};return A.forEachEntry(e,(r,s)=>{t(Bh(r),s,n,0)}),n}return null}function Fh(e,t,n){if(A.isString(e))try{return(t||JSON.parse)(e),A.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Vn={transitional:Ha,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,o=A.isObject(t);if(o&&A.isHTMLForm(t)&&(t=new FormData(t)),A.isFormData(t))return s?JSON.stringify(Va(t)):t;if(A.isArrayBuffer(t)||A.isBuffer(t)||A.isStream(t)||A.isFile(t)||A.isBlob(t)||A.isReadableStream(t))return t;if(A.isArrayBufferView(t))return t.buffer;if(A.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return $h(t,this.formSerializer).toString();if((l=A.isFileList(t))||r.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return Ur(l?{"files[]":t}:t,a&&new a,this.formSerializer)}}return o||s?(n.setContentType("application/json",!1),Fh(t)):t}],transformResponse:[function(t){const n=this.transitional||Vn.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(A.isResponse(t)||A.isReadableStream(t))return t;if(t&&A.isString(t)&&(r&&!this.responseType||s)){const i=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?te.from(l,te.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Pe.classes.FormData,Blob:Pe.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};A.forEach(["delete","get","head","post","put","patch"],e=>{Vn.headers[e]={}});const Uh=A.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),kh=e=>{const t={};let n,r,s;return e&&e.split(`
|
||
`).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),r=i.substring(s+1).trim(),!(!n||t[n]&&Uh[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Ii=Symbol("internals");function wn(e){return e&&String(e).trim().toLowerCase()}function er(e){return e===!1||e==null?e:A.isArray(e)?e.map(er):String(e)}function jh(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const qh=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function is(e,t,n,r,s){if(A.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!A.isString(t)){if(A.isString(r))return t.indexOf(r)!==-1;if(A.isRegExp(r))return r.test(t)}}function Hh(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Vh(e,t){const n=A.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,i){return this[r].call(this,t,s,o,i)},configurable:!0})})}let ke=class{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(l,a,c){const f=wn(a);if(!f)throw new Error("header name must be a non-empty string");const u=A.findKey(s,f);(!u||s[u]===void 0||c===!0||c===void 0&&s[u]!==!1)&&(s[u||a]=er(l))}const i=(l,a)=>A.forEach(l,(c,f)=>o(c,f,a));if(A.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(A.isString(t)&&(t=t.trim())&&!qh(t))i(kh(t),n);else if(A.isObject(t)&&A.isIterable(t)){let l={},a,c;for(const f of t){if(!A.isArray(f))throw TypeError("Object iterator must return a key-value pair");l[c=f[0]]=(a=l[c])?A.isArray(a)?[...a,f[1]]:[a,f[1]]:f[1]}i(l,n)}else t!=null&&o(n,t,r);return this}get(t,n){if(t=wn(t),t){const r=A.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return jh(s);if(A.isFunction(n))return n.call(this,s,r);if(A.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=wn(t),t){const r=A.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||is(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(i){if(i=wn(i),i){const l=A.findKey(r,i);l&&(!n||is(r,r[l],l,n))&&(delete r[l],s=!0)}}return A.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||is(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return A.forEach(this,(s,o)=>{const i=A.findKey(r,o);if(i){n[i]=er(s),delete n[o];return}const l=t?Hh(o):String(o).trim();l!==o&&delete n[o],n[l]=er(s),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return A.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&A.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
||
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[Ii]=this[Ii]={accessors:{}}).accessors,s=this.prototype;function o(i){const l=wn(i);r[l]||(Vh(s,i),r[l]=!0)}return A.isArray(t)?t.forEach(o):o(t),this}};ke.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);A.reduceDescriptors(ke.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});A.freezeMethods(ke);function ls(e,t){const n=this||Vn,r=t||n,s=ke.from(r.headers);let o=r.data;return A.forEach(e,function(l){o=l.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function Ka(e){return!!(e&&e.__CANCEL__)}function hn(e,t,n){te.call(this,e??"canceled",te.ERR_CANCELED,t,n),this.name="CanceledError"}A.inherits(hn,te,{__CANCEL__:!0});function za(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new te("Request failed with status code "+n.status,[te.ERR_BAD_REQUEST,te.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Kh(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function zh(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,i;return t=t!==void 0?t:1e3,function(a){const c=Date.now(),f=r[o];i||(i=c),n[s]=a,r[s]=c;let u=o,d=0;for(;u!==s;)d+=n[u++],u=u%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),c-i<t)return;const h=f&&c-f;return h?Math.round(d*1e3/h):void 0}}function Wh(e,t){let n=0,r=1e3/t,s,o;const i=(c,f=Date.now())=>{n=f,s=null,o&&(clearTimeout(o),o=null),e.apply(null,c)};return[(...c)=>{const f=Date.now(),u=f-n;u>=r?i(c,f):(s=c,o||(o=setTimeout(()=>{o=null,i(s)},r-u)))},()=>s&&i(s)]}const mr=(e,t,n=3)=>{let r=0;const s=zh(50,250);return Wh(o=>{const i=o.loaded,l=o.lengthComputable?o.total:void 0,a=i-r,c=s(a),f=i<=l;r=i;const u={loaded:i,total:l,progress:l?i/l:void 0,bytes:a,rate:c||void 0,estimated:c&&l&&f?(l-i)/c:void 0,event:o,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(u)},n)},xi=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Oi=e=>(...t)=>A.asap(()=>e(...t)),Jh=Pe.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Pe.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Pe.origin),Pe.navigator&&/(msie|trident)/i.test(Pe.navigator.userAgent)):()=>!0,Gh=Pe.hasStandardBrowserEnv?{write(e,t,n,r,s,o){const i=[e+"="+encodeURIComponent(t)];A.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),A.isString(r)&&i.push("path="+r),A.isString(s)&&i.push("domain="+s),o===!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 Qh(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Yh(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Wa(e,t,n){let r=!Qh(t);return e&&(r||n==!1)?Yh(e,t):t}const Ni=e=>e instanceof ke?{...e}:e;function Ht(e,t){t=t||{};const n={};function r(c,f,u,d){return A.isPlainObject(c)&&A.isPlainObject(f)?A.merge.call({caseless:d},c,f):A.isPlainObject(f)?A.merge({},f):A.isArray(f)?f.slice():f}function s(c,f,u,d){if(A.isUndefined(f)){if(!A.isUndefined(c))return r(void 0,c,u,d)}else return r(c,f,u,d)}function o(c,f){if(!A.isUndefined(f))return r(void 0,f)}function i(c,f){if(A.isUndefined(f)){if(!A.isUndefined(c))return r(void 0,c)}else return r(void 0,f)}function l(c,f,u){if(u in t)return r(c,f);if(u in e)return r(void 0,c)}const a={url:o,method:o,data:o,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:l,headers:(c,f,u)=>s(Ni(c),Ni(f),u,!0)};return A.forEach(Object.keys(Object.assign({},e,t)),function(f){const u=a[f]||s,d=u(e[f],t[f],f);A.isUndefined(d)&&u!==l||(n[f]=d)}),n}const Ja=e=>{const t=Ht({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:s,xsrfCookieName:o,headers:i,auth:l}=t;t.headers=i=ke.from(i),t.url=qa(Wa(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&i.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let a;if(A.isFormData(n)){if(Pe.hasStandardBrowserEnv||Pe.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((a=i.getContentType())!==!1){const[c,...f]=a?a.split(";").map(u=>u.trim()).filter(Boolean):[];i.setContentType([c||"multipart/form-data",...f].join("; "))}}if(Pe.hasStandardBrowserEnv&&(r&&A.isFunction(r)&&(r=r(t)),r||r!==!1&&Jh(t.url))){const c=s&&o&&Gh.read(o);c&&i.set(s,c)}return t},Xh=typeof XMLHttpRequest<"u",Zh=Xh&&function(e){return new Promise(function(n,r){const s=Ja(e);let o=s.data;const i=ke.from(s.headers).normalize();let{responseType:l,onUploadProgress:a,onDownloadProgress:c}=s,f,u,d,h,m;function w(){h&&h(),m&&m(),s.cancelToken&&s.cancelToken.unsubscribe(f),s.signal&&s.signal.removeEventListener("abort",f)}let S=new XMLHttpRequest;S.open(s.method.toUpperCase(),s.url,!0),S.timeout=s.timeout;function C(){if(!S)return;const b=ke.from("getAllResponseHeaders"in S&&S.getAllResponseHeaders()),O={data:!l||l==="text"||l==="json"?S.responseText:S.response,status:S.status,statusText:S.statusText,headers:b,config:e,request:S};za(function(P){n(P),w()},function(P){r(P),w()},O),S=null}"onloadend"in S?S.onloadend=C:S.onreadystatechange=function(){!S||S.readyState!==4||S.status===0&&!(S.responseURL&&S.responseURL.indexOf("file:")===0)||setTimeout(C)},S.onabort=function(){S&&(r(new te("Request aborted",te.ECONNABORTED,e,S)),S=null)},S.onerror=function(){r(new te("Network Error",te.ERR_NETWORK,e,S)),S=null},S.ontimeout=function(){let _=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const O=s.transitional||Ha;s.timeoutErrorMessage&&(_=s.timeoutErrorMessage),r(new te(_,O.clarifyTimeoutError?te.ETIMEDOUT:te.ECONNABORTED,e,S)),S=null},o===void 0&&i.setContentType(null),"setRequestHeader"in S&&A.forEach(i.toJSON(),function(_,O){S.setRequestHeader(O,_)}),A.isUndefined(s.withCredentials)||(S.withCredentials=!!s.withCredentials),l&&l!=="json"&&(S.responseType=s.responseType),c&&([d,m]=mr(c,!0),S.addEventListener("progress",d)),a&&S.upload&&([u,h]=mr(a),S.upload.addEventListener("progress",u),S.upload.addEventListener("loadend",h)),(s.cancelToken||s.signal)&&(f=b=>{S&&(r(!b||b.type?new hn(null,e,S):b),S.abort(),S=null)},s.cancelToken&&s.cancelToken.subscribe(f),s.signal&&(s.signal.aborted?f():s.signal.addEventListener("abort",f)));const v=Kh(s.url);if(v&&Pe.protocols.indexOf(v)===-1){r(new te("Unsupported protocol "+v+":",te.ERR_BAD_REQUEST,e));return}S.send(o||null)})},ep=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,s;const o=function(c){if(!s){s=!0,l();const f=c instanceof Error?c:this.reason;r.abort(f instanceof te?f:new hn(f instanceof Error?f.message:f))}};let i=t&&setTimeout(()=>{i=null,o(new te(`timeout ${t} of ms exceeded`,te.ETIMEDOUT))},t);const l=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(o):c.removeEventListener("abort",o)}),e=null)};e.forEach(c=>c.addEventListener("abort",o));const{signal:a}=r;return a.unsubscribe=()=>A.asap(l),a}},tp=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,s;for(;r<n;)s=r+t,yield e.slice(r,s),r=s},np=async function*(e,t){for await(const n of rp(e))yield*tp(n,t)},rp=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},Li=(e,t,n,r)=>{const s=np(e,t);let o=0,i,l=a=>{i||(i=!0,r&&r(a))};return new ReadableStream({async pull(a){try{const{done:c,value:f}=await s.next();if(c){l(),a.close();return}let u=f.byteLength;if(n){let d=o+=u;n(d)}a.enqueue(new Uint8Array(f))}catch(c){throw l(c),c}},cancel(a){return l(a),s.return()}},{highWaterMark:2})},kr=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Ga=kr&&typeof ReadableStream=="function",sp=kr&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Qa=(e,...t)=>{try{return!!e(...t)}catch{return!1}},op=Ga&&Qa(()=>{let e=!1;const t=new Request(Pe.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Mi=64*1024,Ys=Ga&&Qa(()=>A.isReadableStream(new Response("").body)),yr={stream:Ys&&(e=>e.body)};kr&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!yr[t]&&(yr[t]=A.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new te(`Response type '${t}' is not supported`,te.ERR_NOT_SUPPORT,r)})})})(new Response);const ip=async e=>{if(e==null)return 0;if(A.isBlob(e))return e.size;if(A.isSpecCompliantForm(e))return(await new Request(Pe.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(A.isArrayBufferView(e)||A.isArrayBuffer(e))return e.byteLength;if(A.isURLSearchParams(e)&&(e=e+""),A.isString(e))return(await sp(e)).byteLength},lp=async(e,t)=>{const n=A.toFiniteNumber(e.getContentLength());return n??ip(t)},ap=kr&&(async e=>{let{url:t,method:n,data:r,signal:s,cancelToken:o,timeout:i,onDownloadProgress:l,onUploadProgress:a,responseType:c,headers:f,withCredentials:u="same-origin",fetchOptions:d}=Ja(e);c=c?(c+"").toLowerCase():"text";let h=ep([s,o&&o.toAbortSignal()],i),m;const w=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let S;try{if(a&&op&&n!=="get"&&n!=="head"&&(S=await lp(f,r))!==0){let O=new Request(t,{method:"POST",body:r,duplex:"half"}),R;if(A.isFormData(r)&&(R=O.headers.get("content-type"))&&f.setContentType(R),O.body){const[P,M]=xi(S,mr(Oi(a)));r=Li(O.body,Mi,P,M)}}A.isString(u)||(u=u?"include":"omit");const C="credentials"in Request.prototype;m=new Request(t,{...d,signal:h,method:n.toUpperCase(),headers:f.normalize().toJSON(),body:r,duplex:"half",credentials:C?u:void 0});let v=await fetch(m);const b=Ys&&(c==="stream"||c==="response");if(Ys&&(l||b&&w)){const O={};["status","statusText","headers"].forEach(j=>{O[j]=v[j]});const R=A.toFiniteNumber(v.headers.get("content-length")),[P,M]=l&&xi(R,mr(Oi(l),!0))||[];v=new Response(Li(v.body,Mi,P,()=>{M&&M(),w&&w()}),O)}c=c||"text";let _=await yr[A.findKey(yr,c)||"text"](v,e);return!b&&w&&w(),await new Promise((O,R)=>{za(O,R,{data:_,headers:ke.from(v.headers),status:v.status,statusText:v.statusText,config:e,request:m})})}catch(C){throw w&&w(),C&&C.name==="TypeError"&&/Load failed|fetch/i.test(C.message)?Object.assign(new te("Network Error",te.ERR_NETWORK,e,m),{cause:C.cause||C}):te.from(C,C&&C.code,e,m)}}),Xs={http:Ah,xhr:Zh,fetch:ap};A.forEach(Xs,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const $i=e=>`- ${e}`,cp=e=>A.isFunction(e)||e===null||e===!1,Ya={getAdapter:e=>{e=A.isArray(e)?e:[e];const{length:t}=e;let n,r;const s={};for(let o=0;o<t;o++){n=e[o];let i;if(r=n,!cp(n)&&(r=Xs[(i=String(n)).toLowerCase()],r===void 0))throw new te(`Unknown adapter '${i}'`);if(r)break;s[i||"#"+o]=r}if(!r){const o=Object.entries(s).map(([l,a])=>`adapter ${l} `+(a===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since :
|
||
`+o.map($i).join(`
|
||
`):" "+$i(o[0]):"as no adapter specified";throw new te("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:Xs};function as(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new hn(null,e)}function Bi(e){return as(e),e.headers=ke.from(e.headers),e.data=ls.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ya.getAdapter(e.adapter||Vn.adapter)(e).then(function(r){return as(e),r.data=ls.call(e,e.transformResponse,r),r.headers=ke.from(r.headers),r},function(r){return Ka(r)||(as(e),r&&r.response&&(r.response.data=ls.call(e,e.transformResponse,r.response),r.response.headers=ke.from(r.response.headers))),Promise.reject(r)})}const Xa="1.9.0",jr={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{jr[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Di={};jr.transitional=function(t,n,r){function s(o,i){return"[Axios v"+Xa+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,l)=>{if(t===!1)throw new te(s(i," has been removed"+(n?" in "+n:"")),te.ERR_DEPRECATED);return n&&!Di[i]&&(Di[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,l):!0}};jr.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function up(e,t,n){if(typeof e!="object")throw new te("options must be an object",te.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],i=t[o];if(i){const l=e[o],a=l===void 0||i(l,o,e);if(a!==!0)throw new te("option "+o+" must be "+a,te.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new te("Unknown option "+o,te.ERR_BAD_OPTION)}}const tr={assertOptions:up,validators:jr},it=tr.validators;let jt=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Pi,response:new Pi}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const o=s.stack?s.stack.replace(/^.+\n/,""):"";try{r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
||
`+o):r.stack=o}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ht(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&tr.assertOptions(r,{silentJSONParsing:it.transitional(it.boolean),forcedJSONParsing:it.transitional(it.boolean),clarifyTimeoutError:it.transitional(it.boolean)},!1),s!=null&&(A.isFunction(s)?n.paramsSerializer={serialize:s}:tr.assertOptions(s,{encode:it.function,serialize:it.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),tr.assertOptions(n,{baseUrl:it.spelling("baseURL"),withXsrfToken:it.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&A.merge(o.common,o[n.method]);o&&A.forEach(["delete","get","head","post","put","patch","common"],m=>{delete o[m]}),n.headers=ke.concat(i,o);const l=[];let a=!0;this.interceptors.request.forEach(function(w){typeof w.runWhen=="function"&&w.runWhen(n)===!1||(a=a&&w.synchronous,l.unshift(w.fulfilled,w.rejected))});const c=[];this.interceptors.response.forEach(function(w){c.push(w.fulfilled,w.rejected)});let f,u=0,d;if(!a){const m=[Bi.bind(this),void 0];for(m.unshift.apply(m,l),m.push.apply(m,c),d=m.length,f=Promise.resolve(n);u<d;)f=f.then(m[u++],m[u++]);return f}d=l.length;let h=n;for(u=0;u<d;){const m=l[u++],w=l[u++];try{h=m(h)}catch(S){w.call(this,S);break}}try{f=Bi.call(this,h)}catch(m){return Promise.reject(m)}for(u=0,d=c.length;u<d;)f=f.then(c[u++],c[u++]);return f}getUri(t){t=Ht(this.defaults,t);const n=Wa(t.baseURL,t.url,t.allowAbsoluteUrls);return qa(n,t.params,t.paramsSerializer)}};A.forEach(["delete","get","head","options"],function(t){jt.prototype[t]=function(n,r){return this.request(Ht(r||{},{method:t,url:n,data:(r||{}).data}))}});A.forEach(["post","put","patch"],function(t){function n(r){return function(o,i,l){return this.request(Ht(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}jt.prototype[t]=n(),jt.prototype[t+"Form"]=n(!0)});let fp=class Za{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(s=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listeners=null}),this.promise.then=s=>{let o;const i=new Promise(l=>{r.subscribe(l),o=l}).then(s);return i.cancel=function(){r.unsubscribe(o)},i},t(function(o,i,l){r.reason||(r.reason=new hn(o,i,l),n(r.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 n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Za(function(s){t=s}),cancel:t}}};function dp(e){return function(n){return e.apply(null,n)}}function hp(e){return A.isObject(e)&&e.isAxiosError===!0}const Zs={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(Zs).forEach(([e,t])=>{Zs[t]=e});function ec(e){const t=new jt(e),n=xa(jt.prototype.request,t);return A.extend(n,jt.prototype,t,{allOwnKeys:!0}),A.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return ec(Ht(e,s))},n}const be=ec(Vn);be.Axios=jt;be.CanceledError=hn;be.CancelToken=fp;be.isCancel=Ka;be.VERSION=Xa;be.toFormData=Ur;be.AxiosError=te;be.Cancel=be.CanceledError;be.all=function(t){return Promise.all(t)};be.spread=dp;be.isAxiosError=hp;be.mergeConfig=Ht;be.AxiosHeaders=ke;be.formToJSON=e=>Va(A.isHTMLForm(e)?new FormData(e):e);be.getAdapter=Ya.getAdapter;be.HttpStatusCode=Zs;be.default=be;const{Axios:Vm,AxiosError:Km,CanceledError:zm,isCancel:Wm,CancelToken:Jm,VERSION:Gm,all:Qm,Cancel:Ym,isAxiosError:Xm,spread:Zm,toFormData:e0,AxiosHeaders:t0,HttpStatusCode:n0,formToJSON:r0,getAdapter:s0,mergeConfig:o0}=be,Ge=be.create({baseURL:"",timeout:15e3,headers:{"Content-Type":"application/json",Accept:"application/json"}});Ge.interceptors.request.use(e=>(console.log("API请求:",{url:e.url,method:e.method,params:e.params,data:e.data,baseURL:e.baseURL}),e),e=>(console.error("请求拦截器错误:",e),Promise.reject(e)));Ge.interceptors.response.use(e=>(console.log("API响应成功:",{url:e.config.url,status:e.status,data:e.data}),e),e=>{var t,n;return console.error("API响应错误:",{url:(t=e.config)==null?void 0:t.url,message:e.message,response:(n=e.response)==null?void 0:n.data}),Promise.reject(e)});const Gt={laws:[{id:1,formatId:"law001",title:"企业设立登记管理条例",pageType:"law",content:"内容...",description:"相关条例内容"},{id:2,formatId:"law002",title:"公司法",pageType:"law",content:"内容...",description:"公司法相关规定"},{id:3,formatId:"law003",title:"民法典",pageType:"law",content:"内容...",description:"民法典内容"}],cases:[{id:4,formatId:"case001",title:"某公司合同纠纷案例",pageType:"case",content:"内容...",description:"合同纠纷案例"},{id:5,formatId:"case002",title:"劳动争议典型案例",pageType:"case",content:"内容...",description:"劳动争议案例"}],forms:[{id:6,formatId:"form001",title:"公司设立登记申请表",pageType:"form",content:"内容...",description:"设立登记表"},{id:7,formatId:"form002",title:"法定代表人登记表",pageType:"form",content:"内容...",description:"法定代表人登记表"}]},qr=async(e,t)=>{try{console.log(`开始请求${e}详情,formatId:`,t);const n="/hasfj/hasfjpages/list",r={pageType:e,formatId:t,pageNum:1,pageSize:10};console.log("请求详情URL:",n,"参数:",r);const s=await Ge.get(n,{params:r});if(console.log("获取详情响应:",s),s.status===200&&s.data){console.log(`获取${e}详情成功:`,s.data);let o=null;if(Array.isArray(s.data)){const i=s.data.find(l=>l.formatId===t&&(!l.pageType||l.pageType===e));i&&(console.log(`找到匹配的${e}数据:`,i),o=i)}else if(s.data.rows&&Array.isArray(s.data.rows)){const i=s.data.rows.find(l=>l.formatId===t&&(!l.pageType||l.pageType===e));i&&(console.log(`找到匹配的${e}数据:`,i),o=i)}else s.data.formatId===t&&(o=s.data);return o?o.pageType&&o.pageType!==e?(console.warn(`API返回了错误的内容类型: 请求${e}但返回${o.pageType}`),await cs(e,t)):{code:200,msg:"获取成功",data:o}:(console.error(`未找到匹配的${e}数据,formatId:`,t),await cs(e,t))}else throw console.error(`获取${e}详情失败:`,s),new Error(`获取详情失败,状态码: ${s.status}`)}catch(n){return console.error(`获取${e}详情失败:`,n),await cs(e,t)}};async function cs(e,t){try{console.log("尝试使用明确指定类型的API路径");const r="/hasfj/hasfjpages/list",s={pageType:e,pageNum:1,pageSize:100},o=await Ge.get(r,{params:s});if(o.status===200&&o.data){let c=[];Array.isArray(o.data)?c=o.data:o.data.rows&&Array.isArray(o.data.rows)?c=o.data.rows:o.data.data&&Array.isArray(o.data.data)&&(c=o.data.data),c=c.filter(u=>!u.pageType||u.pageType===e);const f=c.find(u=>u.formatId===t);if(f)return console.log(`成功找到匹配的${e}数据:`,f),{code:200,msg:"获取成功",data:f};if(c.length>0)return console.log(`未找到formatId为${t}的${e}数据,返回该类型的第一条数据:`,c[0]),{code:200,msg:"获取成功",data:c[0]}}console.log("尝试使用备用API路径获取详情");const i="/api/hasfj/hasfjpages/list",l={pageType:e,pageNum:1,pageSize:10},a=await Ge.get(i,{params:l});if(a.status===200&&a.data){let c=[];if(Array.isArray(a.data)?c=a.data:a.data.rows&&Array.isArray(a.data.rows)?c=a.data.rows:a.data.data&&Array.isArray(a.data.data)&&(c=a.data.data),c=c.filter(f=>!f.pageType||f.pageType===e),c.length>0)return console.log("备用API成功,返回该类型的第一条数据:",c[0]),{code:200,msg:"获取成功",data:c[0]}}}catch(r){console.error("所有获取详情方法都失败:",r)}console.log("所有API方法失败,使用模拟数据");let n;return e==="law"?n=Gt.laws.find(r=>r.formatId===t)||Gt.laws[0]:e==="case"?n=Gt.cases.find(r=>r.formatId===t)||Gt.cases[0]:e==="form"&&(n=Gt.forms.find(r=>r.formatId===t)||Gt.forms[0]),n?{code:200,msg:"获取成功(模拟数据)",data:n}:{code:500,msg:`获取${e}详情失败,请稍后重试`,data:null}}const nr=async(e,t=1,n=6)=>{try{console.log(`开始请求${e}列表,页码:${t},每页数量:${n}`);const r="/hasfj/hasfjpages/list",s={pageType:e,pageNum:t,pageSize:n};console.log(`请求URL: ${r},参数:`,s);const o=await Ge.get(r,{params:s});if(console.log("API响应原始数据:",o),o.status===200){if(console.log(`获取${e}列表成功,数据类型:`,typeof o.data,Array.isArray(o.data)),!o.data)return console.error("响应数据为空"),{code:500,msg:"响应数据为空",rows:[],total:0};let i;if(o.data.code!==void 0)console.log("使用标准格式数据:",o.data),i=o.data;else if(Array.isArray(o.data)){console.log("使用数组格式数据:",o.data);const l=o.data.filter(a=>!a.pageType||a.pageType===e);i={code:200,msg:"操作成功",rows:l,total:l.length}}else if(o.data.rows){console.log("使用rows字段数据:",o.data.rows);const l=Array.isArray(o.data.rows)?o.data.rows.filter(a=>!a.pageType||a.pageType===e):o.data.rows;i={code:200,msg:"操作成功",rows:l,total:o.data.total||l.length}}else if(o.data.data){console.log("使用data字段数据:",o.data.data);const l=Array.isArray(o.data.data)?o.data.data.filter(a=>!a.pageType||a.pageType===e):o.data.data;i={code:200,msg:"操作成功",rows:l,total:o.data.total||l.length}}else console.log("使用响应数据本身:",o.data),i={code:200,msg:"操作成功",rows:[o.data],total:1};return Array.isArray(i.rows)&&(i.rows=i.rows.filter(l=>!l.pageType||l.pageType===e),i.total=i.rows.length),i}else return console.error(`获取${e}列表失败:`,o),{code:o.status,msg:"获取数据失败",rows:[],total:0}}catch(r){console.error(`获取${e}列表失败:`,r);try{console.log("尝试使用POST请求");const s="/hasfj/hasfjpages/list",o={pageType:e,pageNum:t,pageSize:n},i=await Ge.post(s,o);if(i.status===200&&i.data){console.log("POST请求成功:",i.data);let l;if(Array.isArray(i.data)){const a=i.data.filter(c=>!c.pageType||c.pageType===e);l={code:200,msg:"操作成功",rows:a,total:a.length}}else if(i.data.rows){const a=Array.isArray(i.data.rows)?i.data.rows.filter(c=>!c.pageType||c.pageType===e):i.data.rows;l={code:200,msg:"操作成功",rows:a,total:i.data.total||a.length}}else if(i.data.data){const a=Array.isArray(i.data.data)?i.data.data.filter(c=>!c.pageType||c.pageType===e):i.data.data;l={code:200,msg:"操作成功",rows:a,total:i.data.total||a.length}}if(l)return l}}catch(s){console.error("POST请求失败:",s);try{console.log("尝试使用备用API路径");const o=`/hasfj/hasfjpages/listByType/${e}`,i={pageNum:t,pageSize:n},l=await Ge.get(o,{params:i});if(l.status===200&&l.data){console.log("备用API成功:",l.data);let a;if(Array.isArray(l.data)){const c=l.data.filter(f=>!f.pageType||f.pageType===e);a={code:200,msg:"操作成功",rows:c,total:c.length}}else{const c=l.data.rows||l.data.data||[],f=Array.isArray(c)?c.filter(u=>!u.pageType||u.pageType===e):c;a={code:200,msg:"操作成功",rows:f,total:l.data.total||f.length}}if(a)return a}}catch(o){console.error("备用API也失败:",o)}}return{code:500,msg:`获取${e}列表失败,请稍后重试`,rows:[],total:0}}},eo=async(e,t,n=!1)=>{try{console.log(`开始搜索内容,关键词:${e},类型:${t||"全部"},仅标题:${n}`),(e==="search"||e.toLowerCase()==="search"||e==="如何"||e.includes("?")||e.includes("?"))&&console.log("检测到特殊关键词:",e);let s=e;/^\d+$/.test(s)&&console.log("检测到纯数字关键词:",e);const i=["/api/hasfj/search-api","/hasfj/hasfjpages/search-api","/api/hasfj/search-text","/hasfj/hasfjpages/search"];let l=null;for(const c of i)try{console.log(`尝试API路径: ${c}`);const f={keyword:s};t&&(f.type=t,f.pageType=t),n&&(f.titleOnly="true",f.searchField="title"),c.includes("/search")&&(f.stringQuery="true");const u=await Ge.get(c,{params:f});if(u.status===200){console.log(`API路径 ${c} 成功:`,u.data);let d;if(u.data.code===200){if(n&&u.data.data){const h=Array.isArray(u.data.data)?u.data.data.filter(m=>m.title&&m.title.toLowerCase().includes(e.toLowerCase())):u.data.data;u.data.data=h,u.data.total&&(u.data.total=h.length)}return u.data}else if(Array.isArray(u.data)){let h=u.data;return n&&(h=u.data.filter(m=>m.title&&m.title.toLowerCase().includes(e.toLowerCase()))),d={code:200,msg:"搜索成功",data:h,total:h.length},d}else if(u.data.rows){let h=u.data.rows;return n&&Array.isArray(h)&&(h=h.filter(m=>m.title&&m.title.toLowerCase().includes(e.toLowerCase()))),d={code:200,msg:"搜索成功",data:h,total:u.data.total||h.length},d}else if(u.data.data){let h=u.data.data;return n&&Array.isArray(h)&&(h=h.filter(m=>m.title&&m.title.toLowerCase().includes(e.toLowerCase()))),d={code:200,msg:"搜索成功",data:h,total:u.data.total||h.length},d}else if(u.data.code!==200){console.warn(`API返回错误码: ${u.data.code}, ${u.data.msg}`),l=u.data;continue}}}catch(f){console.warn(`API路径 ${c} 失败:`,f),l=f}try{console.log("尝试使用fetch API作为最后手段");const c=new URLSearchParams;c.append("keyword",encodeURIComponent(s)),t&&c.append("type",t),n&&c.append("titleOnly","true");const f=`/hasfj/hasfjpages/search-api?${c.toString()}`,u=await fetch(f);if(u.ok){const d=await u.json();if(console.log("fetch API成功:",d),d.code===200){if(n&&d.data){const h=Array.isArray(d.data)?d.data.filter(m=>m.title&&m.title.toLowerCase().includes(e.toLowerCase())):d.data;d.data=h,d.total&&(d.total=h.length)}return d}else if(Array.isArray(d)){let h=d;return n&&(h=d.filter(m=>m.title&&m.title.toLowerCase().includes(e.toLowerCase()))),{code:200,msg:"搜索成功",data:h,total:h.length}}else if(d.rows){let h=d.rows;return n&&Array.isArray(h)&&(h=h.filter(m=>m.title&&m.title.toLowerCase().includes(e.toLowerCase()))),{code:200,msg:"搜索成功",data:h,total:d.total||h.length}}else if(d.data){let h=d.data;return n&&Array.isArray(h)&&(h=h.filter(m=>m.title&&m.title.toLowerCase().includes(e.toLowerCase()))),{code:200,msg:"搜索成功",data:h,total:d.total||h.length}}}}catch(c){console.error("fetch API也失败:",c),l=c}console.error("所有搜索方法都失败,使用临时模拟数据");const a=Fi(e,t,n);return{code:200,msg:"搜索成功(临时数据)",data:a,total:a.length}}catch(r){console.error("搜索内容失败:",r);const s=Fi(e,t,n);return{code:200,msg:"搜索成功(临时数据)",data:s,total:s.length}}};function Fi(e,t,n=!1){console.log(`生成与"${e}"相关的模拟搜索结果,类型: ${t||"全部"},仅标题: ${n}`);const r={laws:[{id:1,formatId:"law001",title:"企业设立登记管理条例",pageType:"law",content:"内容...",description:"相关条例内容"},{id:2,formatId:"law002",title:"公司法",pageType:"law",content:"内容...",description:"公司法相关规定"},{id:3,formatId:"law003",title:"民法典",pageType:"law",content:"内容...",description:"民法典内容"}],cases:[{id:4,formatId:"case001",title:"某公司合同纠纷案例",pageType:"case",content:"内容...",description:"合同纠纷案例"},{id:5,formatId:"case002",title:"劳动争议典型案例",pageType:"case",content:"内容...",description:"劳动争议案例"}],forms:[{id:6,formatId:"form001",title:"公司设立登记申请表",pageType:"form",content:"内容...",description:"设立登记表"},{id:7,formatId:"form002",title:"法定代表人登记表",pageType:"form",content:"内容...",description:"法定代表人登记表"}]},s=e.toLowerCase(),o=m=>m.toLowerCase().includes(s)?m:`关于${e}的${m}`,i=[{id:8,formatId:"law004",title:o("法律规定"),pageType:"law",content:"内容...",description:"相关法律规定"},{id:9,formatId:"law005",title:o("管理办法"),pageType:"law",content:"内容...",description:"相关管理办法"}],l=[{id:10,formatId:"case003",title:o("典型案例"),pageType:"case",content:"内容...",description:"相关典型案例"},{id:11,formatId:"case004",title:o("法律案例"),pageType:"case",content:"内容...",description:"相关法律案例"}],a=[{id:12,formatId:"form003",title:o("申请表"),pageType:"form",content:"内容...",description:"相关申请表"},{id:13,formatId:"form004",title:o("登记表"),pageType:"form",content:"内容...",description:"相关登记表"}],c=[...r.laws,...i],f=[...r.cases,...l],u=[...r.forms,...a],d=m=>n?m.filter(w=>w.title.toLowerCase().includes(s)):m;let h=[];return t==="law"?h=d(c):t==="case"?h=d(f):t==="form"?h=d(u):h=d([...c,...f,...u]),h.length===0&&h.push({id:999,formatId:"default001",title:`${e}相关内容`,pageType:t||"law",content:"暂无详细内容",description:`与${e}相关的信息`}),h}const pp=async(e,t=1,n=10)=>{try{const r=await Ge.get("/hasfj/hasfjpages/qrcodes",{params:{type:e,pageNum:t,pageSize:n}});if(r.status===200){if(console.log("获取二维码数据成功:",r.data),r.data.code!==void 0)return r.data;if(Array.isArray(r.data))return{code:200,msg:"操作成功",rows:r.data,total:r.data.length};{const s=r.data.data||r.data.rows||[],o=r.data.total||s.length;return{code:200,msg:"操作成功",rows:s,total:o}}}else return console.error("获取二维码数据失败:",r),{code:r.status,msg:"获取二维码数据失败",rows:[],total:0}}catch(r){return console.error("获取二维码数据失败:",r),{code:500,msg:"获取二维码数据失败,请稍后重试",rows:[],total:0}}},tc=()=>{const e=window.location.protocol,t=window.location.host;return`${e}//${t}`},Hr=async(e,t)=>{try{console.log(`开始更新${e}浏览量,formatId:`,t);const n="/hasfj/hasfjpages/updateViewCount",r={pageType:e,formatId:t};let s;try{s=await Ge.get(n,{params:r}),console.log("更新浏览量响应:",s)}catch(o){console.warn("更新浏览量API可能不存在,尝试使用页面详情API:",o),s=await Ge.get("/hasfj/hasfjpages/get",{params:{pageType:e,formatId:t}})}return s.status===200?{code:200,msg:"更新成功"}:(console.error("更新浏览量失败:",s),{code:s.status,msg:"更新失败"})}catch(n){return console.error("更新浏览量失败:",n),{code:500,msg:"更新浏览量失败"}}},i0=Object.freeze(Object.defineProperty({__proto__:null,getBaseUrl:tc,getPageDetail:qr,getPageList:nr,getQRCodes:pp,searchContent:eo,updateViewCount:Hr},Symbol.toStringTag,{value:"Module"}));function gp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Qt={},us,Ui;function mp(){return Ui||(Ui=1,us=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),us}var fs={},Pt={},ki;function Kt(){if(ki)return Pt;ki=1;let e;const t=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return Pt.getSymbolSize=function(r){if(!r)throw new Error('"version" cannot be null or undefined');if(r<1||r>40)throw new Error('"version" should be in range from 1 to 40');return r*4+17},Pt.getSymbolTotalCodewords=function(r){return t[r]},Pt.getBCHDigit=function(n){let r=0;for(;n!==0;)r++,n>>>=1;return r},Pt.setToSJISFunction=function(r){if(typeof r!="function")throw new Error('"toSJISFunc" is not a valid function.');e=r},Pt.isKanjiModeEnabled=function(){return typeof e<"u"},Pt.toSJIS=function(r){return e(r)},Pt}var ds={},ji;function Co(){return ji||(ji=1,function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+n)}}e.isValid=function(r){return r&&typeof r.bit<"u"&&r.bit>=0&&r.bit<4},e.from=function(r,s){if(e.isValid(r))return r;try{return t(r)}catch{return s}}}(ds)),ds}var hs,qi;function yp(){if(qi)return hs;qi=1;function e(){this.buffer=[],this.length=0}return e.prototype={get:function(t){const n=Math.floor(t/8);return(this.buffer[n]>>>7-t%8&1)===1},put:function(t,n){for(let r=0;r<n;r++)this.putBit((t>>>n-r-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){const n=Math.floor(this.length/8);this.buffer.length<=n&&this.buffer.push(0),t&&(this.buffer[n]|=128>>>this.length%8),this.length++}},hs=e,hs}var ps,Hi;function wp(){if(Hi)return ps;Hi=1;function e(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}return e.prototype.set=function(t,n,r,s){const o=t*this.size+n;this.data[o]=r,s&&(this.reservedBit[o]=!0)},e.prototype.get=function(t,n){return this.data[t*this.size+n]},e.prototype.xor=function(t,n,r){this.data[t*this.size+n]^=r},e.prototype.isReserved=function(t,n){return this.reservedBit[t*this.size+n]},ps=e,ps}var gs={},Vi;function vp(){return Vi||(Vi=1,function(e){const t=Kt().getSymbolSize;e.getRowColCoords=function(r){if(r===1)return[];const s=Math.floor(r/7)+2,o=t(r),i=o===145?26:Math.ceil((o-13)/(2*s-2))*2,l=[o-7];for(let a=1;a<s-1;a++)l[a]=l[a-1]-i;return l.push(6),l.reverse()},e.getPositions=function(r){const s=[],o=e.getRowColCoords(r),i=o.length;for(let l=0;l<i;l++)for(let a=0;a<i;a++)l===0&&a===0||l===0&&a===i-1||l===i-1&&a===0||s.push([o[l],o[a]]);return s}}(gs)),gs}var ms={},Ki;function _p(){if(Ki)return ms;Ki=1;const e=Kt().getSymbolSize,t=7;return ms.getPositions=function(r){const s=e(r);return[[0,0],[s-t,0],[0,s-t]]},ms}var ys={},zi;function bp(){return zi||(zi=1,function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(s){return s!=null&&s!==""&&!isNaN(s)&&s>=0&&s<=7},e.from=function(s){return e.isValid(s)?parseInt(s,10):void 0},e.getPenaltyN1=function(s){const o=s.size;let i=0,l=0,a=0,c=null,f=null;for(let u=0;u<o;u++){l=a=0,c=f=null;for(let d=0;d<o;d++){let h=s.get(u,d);h===c?l++:(l>=5&&(i+=t.N1+(l-5)),c=h,l=1),h=s.get(d,u),h===f?a++:(a>=5&&(i+=t.N1+(a-5)),f=h,a=1)}l>=5&&(i+=t.N1+(l-5)),a>=5&&(i+=t.N1+(a-5))}return i},e.getPenaltyN2=function(s){const o=s.size;let i=0;for(let l=0;l<o-1;l++)for(let a=0;a<o-1;a++){const c=s.get(l,a)+s.get(l,a+1)+s.get(l+1,a)+s.get(l+1,a+1);(c===4||c===0)&&i++}return i*t.N2},e.getPenaltyN3=function(s){const o=s.size;let i=0,l=0,a=0;for(let c=0;c<o;c++){l=a=0;for(let f=0;f<o;f++)l=l<<1&2047|s.get(c,f),f>=10&&(l===1488||l===93)&&i++,a=a<<1&2047|s.get(f,c),f>=10&&(a===1488||a===93)&&i++}return i*t.N3},e.getPenaltyN4=function(s){let o=0;const i=s.data.length;for(let a=0;a<i;a++)o+=s.data[a];return Math.abs(Math.ceil(o*100/i/5)-10)*t.N4};function n(r,s,o){switch(r){case e.Patterns.PATTERN000:return(s+o)%2===0;case e.Patterns.PATTERN001:return s%2===0;case e.Patterns.PATTERN010:return o%3===0;case e.Patterns.PATTERN011:return(s+o)%3===0;case e.Patterns.PATTERN100:return(Math.floor(s/2)+Math.floor(o/3))%2===0;case e.Patterns.PATTERN101:return s*o%2+s*o%3===0;case e.Patterns.PATTERN110:return(s*o%2+s*o%3)%2===0;case e.Patterns.PATTERN111:return(s*o%3+(s+o)%2)%2===0;default:throw new Error("bad maskPattern:"+r)}}e.applyMask=function(s,o){const i=o.size;for(let l=0;l<i;l++)for(let a=0;a<i;a++)o.isReserved(a,l)||o.xor(a,l,n(s,a,l))},e.getBestMask=function(s,o){const i=Object.keys(e.Patterns).length;let l=0,a=1/0;for(let c=0;c<i;c++){o(c),e.applyMask(c,s);const f=e.getPenaltyN1(s)+e.getPenaltyN2(s)+e.getPenaltyN3(s)+e.getPenaltyN4(s);e.applyMask(c,s),f<a&&(a=f,l=c)}return l}}(ys)),ys}var Gn={},Wi;function nc(){if(Wi)return Gn;Wi=1;const e=Co(),t=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],n=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];return Gn.getBlocksCount=function(s,o){switch(o){case e.L:return t[(s-1)*4+0];case e.M:return t[(s-1)*4+1];case e.Q:return t[(s-1)*4+2];case e.H:return t[(s-1)*4+3];default:return}},Gn.getTotalCodewordsCount=function(s,o){switch(o){case e.L:return n[(s-1)*4+0];case e.M:return n[(s-1)*4+1];case e.Q:return n[(s-1)*4+2];case e.H:return n[(s-1)*4+3];default:return}},Gn}var ws={},vn={},Ji;function Ep(){if(Ji)return vn;Ji=1;const e=new Uint8Array(512),t=new Uint8Array(256);return function(){let r=1;for(let s=0;s<255;s++)e[s]=r,t[r]=s,r<<=1,r&256&&(r^=285);for(let s=255;s<512;s++)e[s]=e[s-255]}(),vn.log=function(r){if(r<1)throw new Error("log("+r+")");return t[r]},vn.exp=function(r){return e[r]},vn.mul=function(r,s){return r===0||s===0?0:e[t[r]+t[s]]},vn}var Gi;function Ap(){return Gi||(Gi=1,function(e){const t=Ep();e.mul=function(r,s){const o=new Uint8Array(r.length+s.length-1);for(let i=0;i<r.length;i++)for(let l=0;l<s.length;l++)o[i+l]^=t.mul(r[i],s[l]);return o},e.mod=function(r,s){let o=new Uint8Array(r);for(;o.length-s.length>=0;){const i=o[0];for(let a=0;a<s.length;a++)o[a]^=t.mul(s[a],i);let l=0;for(;l<o.length&&o[l]===0;)l++;o=o.slice(l)}return o},e.generateECPolynomial=function(r){let s=new Uint8Array([1]);for(let o=0;o<r;o++)s=e.mul(s,new Uint8Array([1,t.exp(o)]));return s}}(ws)),ws}var vs,Qi;function Rp(){if(Qi)return vs;Qi=1;const e=Ap();function t(n){this.genPoly=void 0,this.degree=n,this.degree&&this.initialize(this.degree)}return t.prototype.initialize=function(r){this.degree=r,this.genPoly=e.generateECPolynomial(this.degree)},t.prototype.encode=function(r){if(!this.genPoly)throw new Error("Encoder not initialized");const s=new Uint8Array(r.length+this.degree);s.set(r);const o=e.mod(s,this.genPoly),i=this.degree-o.length;if(i>0){const l=new Uint8Array(this.degree);return l.set(o,i),l}return o},vs=t,vs}var _s={},bs={},Es={},Yi;function rc(){return Yi||(Yi=1,Es.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}),Es}var lt={},Xi;function sc(){if(Xi)return lt;Xi=1;const e="[0-9]+",t="[A-Z $%*+\\-./:]+";let n="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";n=n.replace(/u/g,"\\u");const r="(?:(?![A-Z0-9 $%*+\\-./:]|"+n+`)(?:.|[\r
|
||
]))+`;lt.KANJI=new RegExp(n,"g"),lt.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),lt.BYTE=new RegExp(r,"g"),lt.NUMERIC=new RegExp(e,"g"),lt.ALPHANUMERIC=new RegExp(t,"g");const s=new RegExp("^"+n+"$"),o=new RegExp("^"+e+"$"),i=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return lt.testKanji=function(a){return s.test(a)},lt.testNumeric=function(a){return o.test(a)},lt.testAlphanumeric=function(a){return i.test(a)},lt}var Zi;function zt(){return Zi||(Zi=1,function(e){const t=rc(),n=sc();e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(o,i){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!t.isValid(i))throw new Error("Invalid version: "+i);return i>=1&&i<10?o.ccBits[0]:i<27?o.ccBits[1]:o.ccBits[2]},e.getBestModeForData=function(o){return n.testNumeric(o)?e.NUMERIC:n.testAlphanumeric(o)?e.ALPHANUMERIC:n.testKanji(o)?e.KANJI:e.BYTE},e.toString=function(o){if(o&&o.id)return o.id;throw new Error("Invalid mode")},e.isValid=function(o){return o&&o.bit&&o.ccBits};function r(s){if(typeof s!="string")throw new Error("Param is not a string");switch(s.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+s)}}e.from=function(o,i){if(e.isValid(o))return o;try{return r(o)}catch{return i}}}(bs)),bs}var el;function Sp(){return el||(el=1,function(e){const t=Kt(),n=nc(),r=Co(),s=zt(),o=rc(),i=7973,l=t.getBCHDigit(i);function a(d,h,m){for(let w=1;w<=40;w++)if(h<=e.getCapacity(w,m,d))return w}function c(d,h){return s.getCharCountIndicator(d,h)+4}function f(d,h){let m=0;return d.forEach(function(w){const S=c(w.mode,h);m+=S+w.getBitsLength()}),m}function u(d,h){for(let m=1;m<=40;m++)if(f(d,m)<=e.getCapacity(m,h,s.MIXED))return m}e.from=function(h,m){return o.isValid(h)?parseInt(h,10):m},e.getCapacity=function(h,m,w){if(!o.isValid(h))throw new Error("Invalid QR Code version");typeof w>"u"&&(w=s.BYTE);const S=t.getSymbolTotalCodewords(h),C=n.getTotalCodewordsCount(h,m),v=(S-C)*8;if(w===s.MIXED)return v;const b=v-c(w,h);switch(w){case s.NUMERIC:return Math.floor(b/10*3);case s.ALPHANUMERIC:return Math.floor(b/11*2);case s.KANJI:return Math.floor(b/13);case s.BYTE:default:return Math.floor(b/8)}},e.getBestVersionForData=function(h,m){let w;const S=r.from(m,r.M);if(Array.isArray(h)){if(h.length>1)return u(h,S);if(h.length===0)return 1;w=h[0]}else w=h;return a(w.mode,w.getLength(),S)},e.getEncodedBits=function(h){if(!o.isValid(h)||h<7)throw new Error("Invalid QR Code version");let m=h<<12;for(;t.getBCHDigit(m)-l>=0;)m^=i<<t.getBCHDigit(m)-l;return h<<12|m}}(_s)),_s}var As={},tl;function Cp(){if(tl)return As;tl=1;const e=Kt(),t=1335,n=21522,r=e.getBCHDigit(t);return As.getEncodedBits=function(o,i){const l=o.bit<<3|i;let a=l<<10;for(;e.getBCHDigit(a)-r>=0;)a^=t<<e.getBCHDigit(a)-r;return(l<<10|a)^n},As}var Rs={},Ss,nl;function Tp(){if(nl)return Ss;nl=1;const e=zt();function t(n){this.mode=e.NUMERIC,this.data=n.toString()}return t.getBitsLength=function(r){return 10*Math.floor(r/3)+(r%3?r%3*3+1:0)},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(r){let s,o,i;for(s=0;s+3<=this.data.length;s+=3)o=this.data.substr(s,3),i=parseInt(o,10),r.put(i,10);const l=this.data.length-s;l>0&&(o=this.data.substr(s),i=parseInt(o,10),r.put(i,l*3+1))},Ss=t,Ss}var Cs,rl;function Pp(){if(rl)return Cs;rl=1;const e=zt(),t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function n(r){this.mode=e.ALPHANUMERIC,this.data=r}return n.getBitsLength=function(s){return 11*Math.floor(s/2)+6*(s%2)},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(s){let o;for(o=0;o+2<=this.data.length;o+=2){let i=t.indexOf(this.data[o])*45;i+=t.indexOf(this.data[o+1]),s.put(i,11)}this.data.length%2&&s.put(t.indexOf(this.data[o]),6)},Cs=n,Cs}var Ts,sl;function Ip(){if(sl)return Ts;sl=1;const e=zt();function t(n){this.mode=e.BYTE,typeof n=="string"?this.data=new TextEncoder().encode(n):this.data=new Uint8Array(n)}return t.getBitsLength=function(r){return r*8},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(n){for(let r=0,s=this.data.length;r<s;r++)n.put(this.data[r],8)},Ts=t,Ts}var Ps,ol;function xp(){if(ol)return Ps;ol=1;const e=zt(),t=Kt();function n(r){this.mode=e.KANJI,this.data=r}return n.getBitsLength=function(s){return s*13},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(r){let s;for(s=0;s<this.data.length;s++){let o=t.toSJIS(this.data[s]);if(o>=33088&&o<=40956)o-=33088;else if(o>=57408&&o<=60351)o-=49472;else throw new Error("Invalid SJIS character: "+this.data[s]+`
|
||
Make sure your charset is UTF-8`);o=(o>>>8&255)*192+(o&255),r.put(o,13)}},Ps=n,Ps}var Is={exports:{}},il;function Op(){return il||(il=1,function(e){var t={single_source_shortest_paths:function(n,r,s){var o={},i={};i[r]=0;var l=t.PriorityQueue.make();l.push(r,0);for(var a,c,f,u,d,h,m,w,S;!l.empty();){a=l.pop(),c=a.value,u=a.cost,d=n[c]||{};for(f in d)d.hasOwnProperty(f)&&(h=d[f],m=u+h,w=i[f],S=typeof i[f]>"u",(S||w>m)&&(i[f]=m,l.push(f,m),o[f]=c))}if(typeof s<"u"&&typeof i[s]>"u"){var C=["Could not find a path from ",r," to ",s,"."].join("");throw new Error(C)}return o},extract_shortest_path_from_predecessor_list:function(n,r){for(var s=[],o=r;o;)s.push(o),n[o],o=n[o];return s.reverse(),s},find_path:function(n,r,s){var o=t.single_source_shortest_paths(n,r,s);return t.extract_shortest_path_from_predecessor_list(o,s)},PriorityQueue:{make:function(n){var r=t.PriorityQueue,s={},o;n=n||{};for(o in r)r.hasOwnProperty(o)&&(s[o]=r[o]);return s.queue=[],s.sorter=n.sorter||r.default_sorter,s},default_sorter:function(n,r){return n.cost-r.cost},push:function(n,r){var s={value:n,cost:r};this.queue.push(s),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t}(Is)),Is.exports}var ll;function Np(){return ll||(ll=1,function(e){const t=zt(),n=Tp(),r=Pp(),s=Ip(),o=xp(),i=sc(),l=Kt(),a=Op();function c(C){return unescape(encodeURIComponent(C)).length}function f(C,v,b){const _=[];let O;for(;(O=C.exec(b))!==null;)_.push({data:O[0],index:O.index,mode:v,length:O[0].length});return _}function u(C){const v=f(i.NUMERIC,t.NUMERIC,C),b=f(i.ALPHANUMERIC,t.ALPHANUMERIC,C);let _,O;return l.isKanjiModeEnabled()?(_=f(i.BYTE,t.BYTE,C),O=f(i.KANJI,t.KANJI,C)):(_=f(i.BYTE_KANJI,t.BYTE,C),O=[]),v.concat(b,_,O).sort(function(P,M){return P.index-M.index}).map(function(P){return{data:P.data,mode:P.mode,length:P.length}})}function d(C,v){switch(v){case t.NUMERIC:return n.getBitsLength(C);case t.ALPHANUMERIC:return r.getBitsLength(C);case t.KANJI:return o.getBitsLength(C);case t.BYTE:return s.getBitsLength(C)}}function h(C){return C.reduce(function(v,b){const _=v.length-1>=0?v[v.length-1]:null;return _&&_.mode===b.mode?(v[v.length-1].data+=b.data,v):(v.push(b),v)},[])}function m(C){const v=[];for(let b=0;b<C.length;b++){const _=C[b];switch(_.mode){case t.NUMERIC:v.push([_,{data:_.data,mode:t.ALPHANUMERIC,length:_.length},{data:_.data,mode:t.BYTE,length:_.length}]);break;case t.ALPHANUMERIC:v.push([_,{data:_.data,mode:t.BYTE,length:_.length}]);break;case t.KANJI:v.push([_,{data:_.data,mode:t.BYTE,length:c(_.data)}]);break;case t.BYTE:v.push([{data:_.data,mode:t.BYTE,length:c(_.data)}])}}return v}function w(C,v){const b={},_={start:{}};let O=["start"];for(let R=0;R<C.length;R++){const P=C[R],M=[];for(let j=0;j<P.length;j++){const $=P[j],U=""+R+j;M.push(U),b[U]={node:$,lastCount:0},_[U]={};for(let z=0;z<O.length;z++){const K=O[z];b[K]&&b[K].node.mode===$.mode?(_[K][U]=d(b[K].lastCount+$.length,$.mode)-d(b[K].lastCount,$.mode),b[K].lastCount+=$.length):(b[K]&&(b[K].lastCount=$.length),_[K][U]=d($.length,$.mode)+4+t.getCharCountIndicator($.mode,v))}}O=M}for(let R=0;R<O.length;R++)_[O[R]].end=0;return{map:_,table:b}}function S(C,v){let b;const _=t.getBestModeForData(C);if(b=t.from(v,_),b!==t.BYTE&&b.bit<_.bit)throw new Error('"'+C+'" cannot be encoded with mode '+t.toString(b)+`.
|
||
Suggested mode is: `+t.toString(_));switch(b===t.KANJI&&!l.isKanjiModeEnabled()&&(b=t.BYTE),b){case t.NUMERIC:return new n(C);case t.ALPHANUMERIC:return new r(C);case t.KANJI:return new o(C);case t.BYTE:return new s(C)}}e.fromArray=function(v){return v.reduce(function(b,_){return typeof _=="string"?b.push(S(_,null)):_.data&&b.push(S(_.data,_.mode)),b},[])},e.fromString=function(v,b){const _=u(v,l.isKanjiModeEnabled()),O=m(_),R=w(O,b),P=a.find_path(R.map,"start","end"),M=[];for(let j=1;j<P.length-1;j++)M.push(R.table[P[j]].node);return e.fromArray(h(M))},e.rawSplit=function(v){return e.fromArray(u(v,l.isKanjiModeEnabled()))}}(Rs)),Rs}var al;function Lp(){if(al)return fs;al=1;const e=Kt(),t=Co(),n=yp(),r=wp(),s=vp(),o=_p(),i=bp(),l=nc(),a=Rp(),c=Sp(),f=Cp(),u=zt(),d=Np();function h(R,P){const M=R.size,j=o.getPositions(P);for(let $=0;$<j.length;$++){const U=j[$][0],z=j[$][1];for(let K=-1;K<=7;K++)if(!(U+K<=-1||M<=U+K))for(let X=-1;X<=7;X++)z+X<=-1||M<=z+X||(K>=0&&K<=6&&(X===0||X===6)||X>=0&&X<=6&&(K===0||K===6)||K>=2&&K<=4&&X>=2&&X<=4?R.set(U+K,z+X,!0,!0):R.set(U+K,z+X,!1,!0))}}function m(R){const P=R.size;for(let M=8;M<P-8;M++){const j=M%2===0;R.set(M,6,j,!0),R.set(6,M,j,!0)}}function w(R,P){const M=s.getPositions(P);for(let j=0;j<M.length;j++){const $=M[j][0],U=M[j][1];for(let z=-2;z<=2;z++)for(let K=-2;K<=2;K++)z===-2||z===2||K===-2||K===2||z===0&&K===0?R.set($+z,U+K,!0,!0):R.set($+z,U+K,!1,!0)}}function S(R,P){const M=R.size,j=c.getEncodedBits(P);let $,U,z;for(let K=0;K<18;K++)$=Math.floor(K/3),U=K%3+M-8-3,z=(j>>K&1)===1,R.set($,U,z,!0),R.set(U,$,z,!0)}function C(R,P,M){const j=R.size,$=f.getEncodedBits(P,M);let U,z;for(U=0;U<15;U++)z=($>>U&1)===1,U<6?R.set(U,8,z,!0):U<8?R.set(U+1,8,z,!0):R.set(j-15+U,8,z,!0),U<8?R.set(8,j-U-1,z,!0):U<9?R.set(8,15-U-1+1,z,!0):R.set(8,15-U-1,z,!0);R.set(j-8,8,1,!0)}function v(R,P){const M=R.size;let j=-1,$=M-1,U=7,z=0;for(let K=M-1;K>0;K-=2)for(K===6&&K--;;){for(let X=0;X<2;X++)if(!R.isReserved($,K-X)){let Oe=!1;z<P.length&&(Oe=(P[z]>>>U&1)===1),R.set($,K-X,Oe),U--,U===-1&&(z++,U=7)}if($+=j,$<0||M<=$){$-=j,j=-j;break}}}function b(R,P,M){const j=new n;M.forEach(function(X){j.put(X.mode.bit,4),j.put(X.getLength(),u.getCharCountIndicator(X.mode,R)),X.write(j)});const $=e.getSymbolTotalCodewords(R),U=l.getTotalCodewordsCount(R,P),z=($-U)*8;for(j.getLengthInBits()+4<=z&&j.put(0,4);j.getLengthInBits()%8!==0;)j.putBit(0);const K=(z-j.getLengthInBits())/8;for(let X=0;X<K;X++)j.put(X%2?17:236,8);return _(j,R,P)}function _(R,P,M){const j=e.getSymbolTotalCodewords(P),$=l.getTotalCodewordsCount(P,M),U=j-$,z=l.getBlocksCount(P,M),K=j%z,X=z-K,Oe=Math.floor(j/z),ye=Math.floor(U/z),ie=ye+1,se=Oe-ye,Ye=new a(se);let Ke=0;const Ne=new Array(z),Ee=new Array(z);let nt=0;const St=new Uint8Array(R.buffer);for(let D=0;D<z;D++){const V=D<X?ye:ie;Ne[D]=St.slice(Ke,Ke+V),Ee[D]=Ye.encode(Ne[D]),Ke+=V,nt=Math.max(nt,V)}const Ct=new Uint8Array(j);let Le=0,T,k;for(T=0;T<nt;T++)for(k=0;k<z;k++)T<Ne[k].length&&(Ct[Le++]=Ne[k][T]);for(T=0;T<se;T++)for(k=0;k<z;k++)Ct[Le++]=Ee[k][T];return Ct}function O(R,P,M,j){let $;if(Array.isArray(R))$=d.fromArray(R);else if(typeof R=="string"){let Oe=P;if(!Oe){const ye=d.rawSplit(R);Oe=c.getBestVersionForData(ye,M)}$=d.fromString(R,Oe||40)}else throw new Error("Invalid data");const U=c.getBestVersionForData($,M);if(!U)throw new Error("The amount of data is too big to be stored in a QR Code");if(!P)P=U;else if(P<U)throw new Error(`
|
||
The chosen QR Code version cannot contain this amount of data.
|
||
Minimum version required to store current data is: `+U+`.
|
||
`);const z=b(P,M,$),K=e.getSymbolSize(P),X=new r(K);return h(X,P),m(X),w(X,P),C(X,M,0),P>=7&&S(X,P),v(X,z),isNaN(j)&&(j=i.getBestMask(X,C.bind(null,X,M))),i.applyMask(j,X),C(X,M,j),{modules:X,version:P,errorCorrectionLevel:M,maskPattern:j,segments:$}}return fs.create=function(P,M){if(typeof P>"u"||P==="")throw new Error("No input text");let j=t.M,$,U;return typeof M<"u"&&(j=t.from(M.errorCorrectionLevel,t.M),$=c.from(M.version),U=i.from(M.maskPattern),M.toSJISFunc&&e.setToSJISFunction(M.toSJISFunc)),O(P,$,j,U)},fs}var xs={},Os={},cl;function oc(){return cl||(cl=1,function(e){function t(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");let r=n.slice().replace("#","").split("");if(r.length<3||r.length===5||r.length>8)throw new Error("Invalid hex color: "+n);(r.length===3||r.length===4)&&(r=Array.prototype.concat.apply([],r.map(function(o){return[o,o]}))),r.length===6&&r.push("F","F");const s=parseInt(r.join(""),16);return{r:s>>24&255,g:s>>16&255,b:s>>8&255,a:s&255,hex:"#"+r.slice(0,6).join("")}}e.getOptions=function(r){r||(r={}),r.color||(r.color={});const s=typeof r.margin>"u"||r.margin===null||r.margin<0?4:r.margin,o=r.width&&r.width>=21?r.width:void 0,i=r.scale||4;return{width:o,scale:o?4:i,margin:s,color:{dark:t(r.color.dark||"#000000ff"),light:t(r.color.light||"#ffffffff")},type:r.type,rendererOpts:r.rendererOpts||{}}},e.getScale=function(r,s){return s.width&&s.width>=r+s.margin*2?s.width/(r+s.margin*2):s.scale},e.getImageWidth=function(r,s){const o=e.getScale(r,s);return Math.floor((r+s.margin*2)*o)},e.qrToImageData=function(r,s,o){const i=s.modules.size,l=s.modules.data,a=e.getScale(i,o),c=Math.floor((i+o.margin*2)*a),f=o.margin*a,u=[o.color.light,o.color.dark];for(let d=0;d<c;d++)for(let h=0;h<c;h++){let m=(d*c+h)*4,w=o.color.light;if(d>=f&&h>=f&&d<c-f&&h<c-f){const S=Math.floor((d-f)/a),C=Math.floor((h-f)/a);w=u[l[S*i+C]?1:0]}r[m++]=w.r,r[m++]=w.g,r[m++]=w.b,r[m]=w.a}}}(Os)),Os}var ul;function Mp(){return ul||(ul=1,function(e){const t=oc();function n(s,o,i){s.clearRect(0,0,o.width,o.height),o.style||(o.style={}),o.height=i,o.width=i,o.style.height=i+"px",o.style.width=i+"px"}function r(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}e.render=function(o,i,l){let a=l,c=i;typeof a>"u"&&(!i||!i.getContext)&&(a=i,i=void 0),i||(c=r()),a=t.getOptions(a);const f=t.getImageWidth(o.modules.size,a),u=c.getContext("2d"),d=u.createImageData(f,f);return t.qrToImageData(d.data,o,a),n(u,c,f),u.putImageData(d,0,0),c},e.renderToDataURL=function(o,i,l){let a=l;typeof a>"u"&&(!i||!i.getContext)&&(a=i,i=void 0),a||(a={});const c=e.render(o,i,a),f=a.type||"image/png",u=a.rendererOpts||{};return c.toDataURL(f,u.quality)}}(xs)),xs}var Ns={},fl;function $p(){if(fl)return Ns;fl=1;const e=oc();function t(s,o){const i=s.a/255,l=o+'="'+s.hex+'"';return i<1?l+" "+o+'-opacity="'+i.toFixed(2).slice(1)+'"':l}function n(s,o,i){let l=s+o;return typeof i<"u"&&(l+=" "+i),l}function r(s,o,i){let l="",a=0,c=!1,f=0;for(let u=0;u<s.length;u++){const d=Math.floor(u%o),h=Math.floor(u/o);!d&&!c&&(c=!0),s[u]?(f++,u>0&&d>0&&s[u-1]||(l+=c?n("M",d+i,.5+h+i):n("m",a,0),a=0,c=!1),d+1<o&&s[u+1]||(l+=n("h",f),f=0)):a++}return l}return Ns.render=function(o,i,l){const a=e.getOptions(i),c=o.modules.size,f=o.modules.data,u=c+a.margin*2,d=a.color.light.a?"<path "+t(a.color.light,"fill")+' d="M0 0h'+u+"v"+u+'H0z"/>':"",h="<path "+t(a.color.dark,"stroke")+' d="'+r(f,c,a.margin)+'"/>',m='viewBox="0 0 '+u+" "+u+'"',S='<svg xmlns="http://www.w3.org/2000/svg" '+(a.width?'width="'+a.width+'" height="'+a.width+'" ':"")+m+' shape-rendering="crispEdges">'+d+h+`</svg>
|
||
`;return typeof l=="function"&&l(null,S),S},Ns}var dl;function Bp(){if(dl)return Qt;dl=1;const e=mp(),t=Lp(),n=Mp(),r=$p();function s(o,i,l,a,c){const f=[].slice.call(arguments,1),u=f.length,d=typeof f[u-1]=="function";if(!d&&!e())throw new Error("Callback required as last argument");if(d){if(u<2)throw new Error("Too few arguments provided");u===2?(c=l,l=i,i=a=void 0):u===3&&(i.getContext&&typeof c>"u"?(c=a,a=void 0):(c=a,a=l,l=i,i=void 0))}else{if(u<1)throw new Error("Too few arguments provided");return u===1?(l=i,i=a=void 0):u===2&&!i.getContext&&(a=l,l=i,i=void 0),new Promise(function(h,m){try{const w=t.create(l,a);h(o(w,i,a))}catch(w){m(w)}})}try{const h=t.create(l,a);c(null,o(h,i,a))}catch(h){c(h)}}return Qt.create=t.create,Qt.toCanvas=s.bind(null,n.render),Qt.toDataURL=s.bind(null,n.renderToDataURL),Qt.toString=s.bind(null,function(o,i,l){return r.render(o,l)}),Qt}var Dp=Bp();const Fp=gp(Dp),Up={class:"qrcode-item"},kp={class:"qrcode-wrapper"},jp={key:0,class:"loading-overlay"},qp={key:1,class:"qrcode"},Hp=["src","alt"],Vp={class:"qrcode-info"},Kp={class:"qr-url-hint"},zp={class:"qrcode-controls"},Wp={class:"id-container"},Jp=["title"],Gp=["title"],Qp=ht({__name:"QRCodeDisplay",props:{title:{type:String,required:!0},url:{type:String,required:!0},id:{type:String,required:!0}},setup(e){const t=e;ge(null);const n=ge(""),r=ge(!0),s=i=>{try{const l=new URL(i);return i}catch{return i}};Rt(async()=>{try{r.value=!0,n.value=await Fp.toDataURL(t.url,{width:180,margin:1,errorCorrectionLevel:"H",color:{dark:"#000000",light:"#ffffff"}})}catch(i){console.error("生成二维码失败:",i),n.value=`https://api.qrserver.com/v1/create-qr-code/?size=180x180&data=${encodeURIComponent(t.url)}`}finally{r.value=!1}});const o=()=>{try{if(!n.value)throw new Error("二维码图片不存在");const i=document.createElement("a");i.download=`${t.title}-${t.id}.png`,i.href=n.value,document.body.appendChild(i),i.click(),document.body.removeChild(i)}catch(i){console.error("下载二维码失败:",i),alert("下载二维码失败,请稍后重试")}};return(i,l)=>(G(),Y("div",Up,[E("div",kp,[r.value?(G(),Y("div",jp,l[0]||(l[0]=[E("div",{class:"spinner"},null,-1)]))):(G(),Y("div",qp,[E("img",{src:n.value,alt:e.title},null,8,Hp)]))]),E("div",Vp,[E("h4",null,we(e.title),1),E("div",Kp,we(s(e.url)),1),E("div",zp,[E("div",Wp,[l[1]||(l[1]=E("span",{class:"id-label"},"编号:",-1)),E("span",{class:"id-value",title:e.id},we(e.id),9,Jp)]),E("button",{onClick:o,class:"btn-download",title:`下载${e.title}二维码`},l[2]||(l[2]=[E("span",{class:"icon-download"},null,-1)]),8,Gp)])])]))}}),Wt=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Ls=Wt(Qp,[["__scopeId","data-v-86ba8901"]]),Yp=["disabled"],Xp={key:0,class:"search-icon"},Zp={key:1,class:"loading-icon"},eg={class:"search-results-content"},tg=["onMousedown","onTouchend"],ng={class:"result-content"},rg={class:"result-title"},sg={class:"result-type"},og={class:"search-results-content"},ig={class:"no-results"},lg=ht({__name:"SearchBar",props:{isMobile:{type:Boolean,default:!1},isHomePage:{type:Boolean,default:!1}},setup(e){const t=e,n=Md(),r=ge(""),s=ge([]),o=ge([]),i=ge(!1),l=ge(!1),a=ge("");async function c(){if(!r.value||r.value.trim()===""){o.value=[],i.value=!1,a.value="";return}try{l.value=!0,a.value="";const O=new AbortController,R=setTimeout(()=>O.abort(),15e3),P=r.value.trim(),M=P==="search"||P.toLowerCase()==="search"||P==="如何"||P.includes("?")||P.includes("?");M&&console.log('检测到特殊关键词: "'+P+'",将使用专用搜索API');const j=/^\d+$/.test(P);j&&console.log("警告: 搜索关键词是纯数字,将使用专用搜索API"),console.log("开始搜索,关键词:",P,j?"(纯数字)":M?"(特殊关键词)":"");try{const $=await eo(P,void 0,!0);if(clearTimeout(R),$&&$.code===200){let U=[];if($.data&&Array.isArray($.data)?(U=$.data,console.log("使用data字段数据:",U.length)):$.rows&&Array.isArray($.rows)?(U=$.rows,console.log("使用rows字段数据:",U.length)):$.data&&!Array.isArray($.data)?(U=[$.data],console.log("使用单个对象数据")):$.rows&&!Array.isArray($.rows)&&(U=[$.rows],console.log("使用单个对象数据")),U.length===0){i.value=!0,a.value="未找到相关内容",l.value=!1;return}if(s.value=U,o.value=U,console.log("处理后的搜索结果:",o.value.length),t.isHomePage){i.value=!0,l.value=!1;return}if(U.length>1){i.value=!1,f(P,U);return}else if(U.length===1){i.value=!1,h(U[0]);return}}else o.value=[],i.value=!0,$&&$.msg?a.value=$.msg:a.value="搜索服务暂时不可用,请稍后重试"}catch($){console.error("搜索方法失败:",$),a.value="搜索服务不可用,请稍后重试"}l.value=!1}catch(O){console.error("搜索失败:",O),O instanceof DOMException&&O.name==="AbortError"?a.value="搜索请求超时,请稍后重试":a.value="搜索服务暂时不可用,请稍后重试",l.value=!1}}function f(O,R){d(O,R)}function u(){if(r.value&&r.value.trim()!==""){l.value=!0;const O=r.value.trim();o.value.length>0?d(O,o.value):eo(O,void 0,!0).then(R=>{if(R&&R.code===200){let P=[];R.data&&Array.isArray(R.data)?P=R.data:R.rows&&Array.isArray(R.rows)?P=R.rows:R.data&&!Array.isArray(R.data)?P=[R.data]:R.rows&&!Array.isArray(R.rows)&&(P=[R.rows]),P.length===1?h(P[0]):d(O,P)}else n.push(`/search-results?keyword=${encodeURIComponent(O)}`);l.value=!1}).catch(R=>{console.error("搜索失败:",R),n.push(`/search-results?keyword=${encodeURIComponent(O)}`),l.value=!1})}}function d(O,R){const P={law:R.filter(M=>M.pageType==="law"),case:R.filter(M=>M.pageType==="case"),form:R.filter(M=>M.pageType==="form"),other:R.filter(M=>!["law","case","form"].includes(M.pageType))};sessionStorage.setItem("searchKeyword",O),sessionStorage.setItem("searchResults",JSON.stringify(R)),sessionStorage.setItem("categorizedResults",JSON.stringify(P)),n.push(`/search-results?keyword=${encodeURIComponent(O)}`)}function h(O){let R="/";switch(O.pageType){case"law":R=`/show.html?Id=${O.formatId}`;break;case"case":R=`/showcase.html?Id=${O.formatId}`;break;case"form":R=`/table.html?Id=${O.formatId}`;break}r.value="",i.value=!1,a.value="",n.push(R)}function m(){r.value.length===0&&(o.value=[],i.value=!1,a.value="")}function w(){t.isHomePage&&t.isMobile&&setTimeout(b,100)}function S(){setTimeout(()=>{i.value=!1},200)}function C(O){O.key==="Enter"&&u()}function v(){const O=document.querySelector(".search-input");O&&O.blur()}function b(){const O=document.querySelector(".search-bar");O&&O.getBoundingClientRect()}function _(){a.value="",c()}return Rt(()=>{const O=document.querySelector(".search-results");O&&O.addEventListener("touchend",R=>{R.stopPropagation()})}),Ir(()=>{}),(O,R)=>(G(),Y("div",{class:He(["search-container",{mobile:e.isMobile,"home-search":e.isHomePage}])},[E("form",{class:"search-bar",onSubmit:ns(u,["prevent"])},[Qc(E("input",{type:"search","onUpdate:modelValue":R[0]||(R[0]=P=>r.value=P),onInput:m,onFocus:w,onBlur:S,onKeyup:C,placeholder:"搜索法律规定、典型案例或表单...",class:"search-input",inputmode:"search",autocomplete:"off"},null,544),[[Ef,r.value]]),E("button",{type:"submit",class:"search-button",onClick:u,disabled:l.value},[l.value?(G(),Y("span",Zp)):(G(),Y("span",Xp))],8,Yp)],32),i.value&&o.value.length>0?(G(),Y("div",{key:0,class:He(["search-results",{"mobile-results":e.isMobile,"home-page-results":e.isHomePage}])},[E("div",eg,[E("ul",null,[(G(!0),Y(Se,null,xt(o.value,P=>(G(),Y("li",{key:P.id,onMousedown:ns(M=>h(P),["prevent"]),onTouchend:ns(M=>{h(P),v()},["prevent"]),class:"search-result-item"},[E("div",ng,[E("span",rg,we(P.title),1),E("span",sg,we(P.pageType==="law"?"法律规定":P.pageType==="case"?"典型案例":"表单下载"),1)])],40,tg))),128))])])],2)):i.value&&r.value&&(o.value.length===0||a.value)?(G(),Y("div",{key:1,class:He(["search-results",{"mobile-results":e.isMobile,"home-page-results":e.isHomePage}])},[E("div",og,[E("div",ig,[E("p",null,we(a.value||"未找到相关内容"),1),a.value?(G(),Y("button",{key:0,onClick:_,class:"retry-button"},"重试")):dr("",!0)])])],2)):dr("",!0)],2))}}),ag=Wt(lg,[["__scopeId","data-v-60a512e9"]]),cg={class:"container"},ug={class:"navbar-content"},fg={class:"navbar-nav"},dg={class:"nav-item"},hg={class:"nav-item"},pg={class:"nav-item"},gg={class:"nav-item"},mg=ht({__name:"TheNavbar",setup(e){const t=ge(!1),n=ge(!1),r=globalThis.window,s=()=>{t.value=!t.value,t.value?r.innerWidth<=768&&(document.body.style.overflow="hidden"):document.body.style.overflow=""},o=()=>{t.value&&(t.value=!1,document.body.style.overflow="")},i=()=>{n.value=r.scrollY>60};return Rt(()=>{r.addEventListener("scroll",i),r.addEventListener("resize",o),document.body.style.overflow=""}),Ir(()=>{r.removeEventListener("scroll",i),r.removeEventListener("resize",o),document.body.style.overflow=""}),(l,a)=>{const c=jn("router-link");return G(),Y("nav",{class:He(["navbar",{scrolled:n.value}])},[E("div",cg,[E("div",ug,[ne(c,{to:"/",class:"navbar-brand",onClick:o},{default:ve(()=>a[0]||(a[0]=[oe(" 淮安市司法局百问百答 ")])),_:1,__:[0]}),E("div",{class:He(["search-wrapper",{"mobile-search":vt(r).innerWidth<=768}])},[ne(ag,{isMobile:vt(r).innerWidth<=768},null,8,["isMobile"])],2),E("button",{class:"menu-toggle",onClick:s,"aria-label":"菜单"},[E("span",{class:He(["bar",{open:t.value}])},null,2),E("span",{class:He(["bar",{open:t.value}])},null,2),E("span",{class:He(["bar",{open:t.value}])},null,2)]),E("div",{class:He(["navbar-collapse",{show:t.value}])},[E("ul",fg,[E("li",dg,[ne(c,{to:"/",class:"nav-link",onClick:o},{default:ve(()=>a[1]||(a[1]=[oe("首页")])),_:1,__:[1]})]),E("li",hg,[ne(c,{to:"/hasfjlaw",class:"nav-link",onClick:o},{default:ve(()=>a[2]||(a[2]=[oe("法律规定")])),_:1,__:[2]})]),E("li",pg,[ne(c,{to:"/hasfjcase",class:"nav-link",onClick:o},{default:ve(()=>a[3]||(a[3]=[oe("典型案例")])),_:1,__:[3]})]),E("li",gg,[ne(c,{to:"/hasfjform",class:"nav-link",onClick:o},{default:ve(()=>a[4]||(a[4]=[oe("表单下载")])),_:1,__:[4]})])])],2)])])],2)}}}),Vr=Wt(mg,[["__scopeId","data-v-d5adcd78"]]),yg={class:"home"},wg={class:"container main-container"},vg={class:"content-row"},_g={class:"content-card"},bg={class:"card-header"},Eg={key:0,class:"loading"},Ag={key:1,class:"empty"},Rg={key:2,class:"content-list"},Sg={class:"date"},Cg={class:"content-card"},Tg={class:"card-header"},Pg={key:0,class:"loading"},Ig={key:1,class:"empty"},xg={key:2,class:"content-list"},Og={class:"date"},Ng={class:"content-card"},Lg={class:"card-header"},Mg={key:0,class:"loading"},$g={key:1,class:"empty"},Bg={key:2,class:"content-list"},Dg={class:"date"},Fg={class:"qrcode-section"},Ug={class:"section-header"},kg={class:"qrcode-list"},jg={class:"qrcode-group"},qg={class:"qrcode-container"},Hg={class:"qrcode-group"},Vg={class:"qrcode-container"},Kg={class:"qrcode-group"},zg={class:"qrcode-container"},Wg=ht({__name:"HomeView",setup(e){const t=ge([]),n=ge([]),r=ge([]),s=ge({law:!0,case:!0,form:!0}),o=(a,c)=>{const f=tc();let u="";return c==="law"?u=`/show.html?Id=${a}`:c==="case"?u=`/showcase.html?Id=${a}`:c==="form"?u=`/table.html?Id=${a}`:u=`/show.html?Id=${a}`,`${f}${u}`},i={law:[{id:"000001",title:"法律规定1",url:o("000001","law")},{id:"000002",title:"法律规定2",url:o("000002","law")},{id:"000003",title:"法律规定3",url:o("000003","law")}],case:[{id:"000001",title:"典型案例1",url:o("000001","case")},{id:"000002",title:"典型案例2",url:o("000002","case")},{id:"000003",title:"典型案例3",url:o("000003","case")}],form:[{id:"000001",title:"表单下载1",url:o("000001","form")},{id:"000002",title:"表单下载2",url:o("000002","form")},{id:"000003",title:"表单下载3",url:o("000003","form")}]},l=a=>{if(!a)return"--/--";try{const c=new Date(a);return isNaN(c.getTime())?"--/--":`${c.getMonth()+1}/${c.getDate()}`}catch(c){return console.error("日期格式化错误:",c),"--/--"}};return Rt(async()=>{try{console.log("开始请求法律规定列表...");const a=await nr("law",1,6);if(console.log("法律规定列表请求结果:",a),!a){console.error("法律规定请求结果为空");return}console.log("法律规定返回数据类型:",typeof a),console.log("法律规定返回数据结构:",Object.keys(a)),a&&a.code===200?Array.isArray(a.rows)&&a.rows.length>0?(t.value=a.rows,console.log("成功获取法律规定数据:",t.value)):(console.warn("法律规定数据为空或格式不正确:",a),console.warn("rows是否为数组:",Array.isArray(a.rows)),console.warn("rows长度:",a.rows?a.rows.length:0),a.data&&Array.isArray(a.data)?(t.value=a.data,console.log("从data字段获取法律规定数据:",t.value)):a.list&&Array.isArray(a.list)?(t.value=a.list,console.log("从list字段获取法律规定数据:",t.value)):Array.isArray(a)&&(t.value=a,console.log("直接使用结果数组作为法律规定数据:",t.value))):console.error("请求法律规定列表失败:",(a==null?void 0:a.msg)||"未知错误")}catch(a){console.error("获取法律规定列表失败:",a)}finally{s.value.law=!1}try{console.log("开始请求典型案例列表...");const a=await nr("case",1,6);if(console.log("典型案例列表请求结果:",a),!a){console.error("典型案例请求结果为空");return}console.log("典型案例返回数据类型:",typeof a),console.log("典型案例返回数据结构:",Object.keys(a)),a&&a.code===200?Array.isArray(a.rows)&&a.rows.length>0?(n.value=a.rows,console.log("成功获取典型案例数据:",n.value)):(console.warn("典型案例数据为空或格式不正确:",a),console.warn("rows是否为数组:",Array.isArray(a.rows)),console.warn("rows长度:",a.rows?a.rows.length:0),a.data&&Array.isArray(a.data)?(n.value=a.data,console.log("从data字段获取典型案例数据:",n.value)):a.list&&Array.isArray(a.list)?(n.value=a.list,console.log("从list字段获取典型案例数据:",n.value)):Array.isArray(a)&&(n.value=a,console.log("直接使用结果数组作为典型案例数据:",n.value))):console.error("请求典型案例列表失败:",(a==null?void 0:a.msg)||"未知错误")}catch(a){console.error("获取典型案例列表失败:",a)}finally{s.value.case=!1}try{console.log("开始请求表单下载列表...");const a=await nr("form",1,6);if(console.log("表单下载列表请求结果:",a),!a){console.error("表单下载请求结果为空");return}console.log("表单下载返回数据类型:",typeof a),console.log("表单下载返回数据结构:",Object.keys(a)),a&&a.code===200?Array.isArray(a.rows)&&a.rows.length>0?(r.value=a.rows,console.log("成功获取表单下载数据:",r.value)):(console.warn("表单下载数据为空或格式不正确:",a),console.warn("rows是否为数组:",Array.isArray(a.rows)),console.warn("rows长度:",a.rows?a.rows.length:0),a.data&&Array.isArray(a.data)?(r.value=a.data,console.log("从data字段获取表单下载数据:",r.value)):a.list&&Array.isArray(a.list)?(r.value=a.list,console.log("从list字段获取表单下载数据:",r.value)):Array.isArray(a)&&(r.value=a,console.log("直接使用结果数组作为表单下载数据:",r.value))):console.error("请求表单下载列表失败:",(a==null?void 0:a.msg)||"未知错误")}catch(a){console.error("获取表单下载列表失败:",a)}finally{s.value.form=!1}try{t.value.length>0&&(i.law=t.value.slice(0,3).map(a=>({id:a.formatId,title:a.title,url:o(a.formatId,"law")}))),n.value.length>0&&(i.case=n.value.slice(0,3).map(a=>({id:a.formatId,title:a.title,url:o(a.formatId,"case")}))),r.value.length>0&&(i.form=r.value.slice(0,3).map(a=>({id:a.formatId,title:a.title,url:o(a.formatId,"form")}))),console.log("二维码链接已更新:",i)}catch(a){console.error("更新二维码链接失败:",a)}}),(a,c)=>{const f=jn("router-link");return G(),Y("div",yg,[ne(Vr),c[17]||(c[17]=E("header",{class:"header"},[E("div",{class:"container"},[E("h1",null,"淮安市司法局百问百答"),E("p",{class:"subtitle"},"法律法规、典型案例、表单下载")])],-1)),E("div",wg,[E("div",vg,[E("div",_g,[E("div",bg,[c[1]||(c[1]=E("h2",null,[E("i",{class:"card-icon law-icon"}),oe("法律规定")],-1)),ne(f,{to:"/hasfjlaw",class:"view-more"},{default:ve(()=>c[0]||(c[0]=[oe("查看更多")])),_:1,__:[0]})]),s.value.law?(G(),Y("div",Eg,c[2]||(c[2]=[E("div",{class:"spinner"},null,-1),E("span",null,"加载中...",-1)]))):t.value.length===0?(G(),Y("div",Ag,"暂无法律规定")):(G(),Y("ul",Rg,[(G(!0),Y(Se,null,xt(t.value.slice(0,6),u=>(G(),Y("li",{key:u.formatId},[ne(f,{to:`/show.html?Id=${u.formatId}`,class:"list-item-link"},{default:ve(()=>[c[3]||(c[3]=E("span",{class:"item-dot"},null,-1)),oe(" "+we(u.title),1)]),_:2,__:[3]},1032,["to"]),E("span",Sg,we(l(u.createTime)),1)]))),128))]))]),E("div",Cg,[E("div",Tg,[c[5]||(c[5]=E("h2",null,[E("i",{class:"card-icon case-icon"}),oe("典型案例")],-1)),ne(f,{to:"/hasfjcase",class:"view-more"},{default:ve(()=>c[4]||(c[4]=[oe("查看更多")])),_:1,__:[4]})]),s.value.case?(G(),Y("div",Pg,c[6]||(c[6]=[E("div",{class:"spinner"},null,-1),E("span",null,"加载中...",-1)]))):n.value.length===0?(G(),Y("div",Ig,"暂无典型案例")):(G(),Y("ul",xg,[(G(!0),Y(Se,null,xt(n.value.slice(0,6),u=>(G(),Y("li",{key:u.formatId},[ne(f,{to:`/showcase.html?Id=${u.formatId}`,class:"list-item-link"},{default:ve(()=>[c[7]||(c[7]=E("span",{class:"item-dot"},null,-1)),oe(" "+we(u.title),1)]),_:2,__:[7]},1032,["to"]),E("span",Og,we(l(u.createTime)),1)]))),128))]))]),E("div",Ng,[E("div",Lg,[c[9]||(c[9]=E("h2",null,[E("i",{class:"card-icon form-icon"}),oe("表单下载")],-1)),ne(f,{to:"/hasfjform",class:"view-more"},{default:ve(()=>c[8]||(c[8]=[oe("查看更多")])),_:1,__:[8]})]),s.value.form?(G(),Y("div",Mg,c[10]||(c[10]=[E("div",{class:"spinner"},null,-1),E("span",null,"加载中...",-1)]))):r.value.length===0?(G(),Y("div",$g,"暂无表单")):(G(),Y("ul",Bg,[(G(!0),Y(Se,null,xt(r.value.slice(0,6),u=>(G(),Y("li",{key:u.formatId},[ne(f,{to:`/table.html?Id=${u.formatId}`,class:"list-item-link"},{default:ve(()=>[c[11]||(c[11]=E("span",{class:"item-dot"},null,-1)),oe(" "+we(u.title),1)]),_:2,__:[11]},1032,["to"]),E("span",Dg,we(l(u.createTime)),1)]))),128))]))])]),E("div",Fg,[E("div",Ug,[c[13]||(c[13]=E("h2",null,[E("i",{class:"section-icon qrcode-icon"}),oe("二维码入口")],-1)),ne(f,{to:"/qrcodes",class:"view-more"},{default:ve(()=>c[12]||(c[12]=[oe("查看更多")])),_:1,__:[12]})]),E("div",kg,[E("div",jg,[c[14]||(c[14]=E("h3",null,"法律规定",-1)),E("div",qg,[(G(!0),Y(Se,null,xt(i.law,u=>(G(),Pn(Ls,{key:u.id,url:u.url,title:u.title,id:u.id},null,8,["url","title","id"]))),128))])]),E("div",Hg,[c[15]||(c[15]=E("h3",null,"典型案例",-1)),E("div",Vg,[(G(!0),Y(Se,null,xt(i.case,u=>(G(),Pn(Ls,{key:u.id,url:u.url,title:u.title,id:u.id},null,8,["url","title","id"]))),128))])]),E("div",Kg,[c[16]||(c[16]=E("h3",null,"表单下载",-1)),E("div",zg,[(G(!0),Y(Se,null,xt(i.form,u=>(G(),Pn(Ls,{key:u.id,url:u.url,title:u.title,id:u.id},null,8,["url","title","id"]))),128))])])])])]),c[18]||(c[18]=E("footer",{class:"footer"},[E("div",{class:"container"},[E("p",null,"© 2025 博越科技. 版权所有.")])],-1))])}}}),Jg=Wt(Wg,[["__scopeId","data-v-4fd05d34"]]),Gg={class:"law-container"},Qg={key:0,class:"loading"},Yg={key:1,class:"error"},Xg={class:"container"},Zg={key:2,class:"content"},em={class:"container"},tm={class:"content-card"},nm={class:"header"},rm={class:"meta"},sm=["innerHTML"],om={class:"footer"},im=ht({__name:"LawView",setup(e){const t=Eo(),n=ge(!0),r=ge(!1),s=ge(null);Rt(async()=>{try{const i=t.query.Id;if(!i){console.error("缺少必要的formatId参数"),r.value=!0,n.value=!1;return}console.log("开始获取法律规定详情,formatId:",i);const l=await qr("law",i);if(console.log("法律规定详情请求结果:",l),l&&l.code===200&&l.data){s.value=l.data,console.log("成功获取法律规定详情:",s.value);try{await Hr("law",i),s.value.viewCount!==void 0&&(s.value.viewCount=Number(s.value.viewCount)+1)}catch(a){console.error("更新浏览量失败:",a)}if(s.value.pageType&&s.value.pageType!=="law"){console.error(`错误: 请求的是法律规定(law),但返回的是${s.value.pageType}类型的内容`),r.value=!0,n.value=!1;return}if(s.value.title&&/\\u|%/.test(s.value.title))try{s.value.title=decodeURIComponent(s.value.title)}catch(a){console.error("标题解码失败:",a)}if(s.value.content){if(console.log("内容类型:",typeof s.value.content),console.log("内容前50个字符:",s.value.content.substring(0,50)),/\\u|%/.test(s.value.content))try{s.value.content=decodeURIComponent(s.value.content)}catch(a){console.error("内容解码失败:",a)}if(typeof s.value.content!="string")try{s.value.content=JSON.stringify(s.value.content)}catch(a){console.error("内容格式转换失败:",a)}}else console.warn("页面内容为空"),s.value.content="<p>暂无内容</p>";document.title=`${s.value.title||"法律规定详情"} - 法律规定`}else console.error("获取法律规定详情失败:",(l==null?void 0:l.msg)||"未知错误"),r.value=!0}catch(i){console.error("获取法律规定详情异常:",i),r.value=!0}finally{n.value=!1}});const o=i=>{if(!i)return"未知日期";try{const l=new Date(i);return isNaN(l.getTime())?"未知日期":l.toLocaleDateString("zh-CN",{year:"numeric",month:"2-digit",day:"2-digit"})}catch(l){return console.error("日期格式化错误:",l),"未知日期"}};return(i,l)=>{const a=jn("router-link");return G(),Y("div",Gg,[ne(Vr),n.value?(G(),Y("div",Qg,l[0]||(l[0]=[E("div",{class:"spinner"},null,-1),E("p",null,"加载中...",-1)]))):r.value?(G(),Y("div",Yg,[E("div",Xg,[l[2]||(l[2]=E("h3",null,"内容加载失败",-1)),l[3]||(l[3]=E("p",null,"无法找到该法律规定内容或发生网络错误",-1)),ne(a,{to:"/",class:"btn-home"},{default:ve(()=>l[1]||(l[1]=[oe("返回首页")])),_:1,__:[1]})])])):(G(),Y("div",Zg,[E("div",em,[E("div",tm,[E("div",nm,[l[6]||(l[6]=E("div",{class:"law-category"},"法律规定",-1)),E("h2",null,we(s.value.title),1),E("div",rm,[E("span",null,[l[4]||(l[4]=E("i",{class:"icon-time"},null,-1)),oe(we(o(s.value.createTime)),1)]),E("span",null,[l[5]||(l[5]=E("i",{class:"icon-eye"},null,-1)),oe("浏览次数: "+we(s.value.viewCount),1)])])]),E("div",{class:"body",innerHTML:s.value.content},null,8,sm),E("div",om,[ne(a,{to:"/hasfjlaw",class:"btn-more"},{default:ve(()=>l[7]||(l[7]=[oe("查看更多法律规定")])),_:1,__:[7]}),ne(a,{to:"/",class:"btn-home"},{default:ve(()=>l[8]||(l[8]=[oe("返回首页")])),_:1,__:[8]})])])])]))])}}}),lm=Wt(im,[["__scopeId","data-v-6f2a9396"]]),am={class:"case-container"},cm={key:0,class:"loading"},um={key:1,class:"error"},fm={class:"container"},dm={key:2,class:"content"},hm={class:"container"},pm={class:"content-card"},gm={class:"header"},mm={class:"meta"},ym=["innerHTML"],wm={class:"footer"},vm=ht({__name:"CaseView",setup(e){const t=Eo(),n=ge(!0),r=ge(!1),s=ge(null);Rt(async()=>{try{const i=t.query.Id;if(!i){console.error("缺少必要的formatId参数"),r.value=!0,n.value=!1;return}console.log("开始获取典型案例详情,formatId:",i);const l=await qr("case",i);if(console.log("典型案例详情请求结果:",l),l&&l.code===200&&l.data){s.value=l.data,console.log("成功获取典型案例详情:",s.value);try{await Hr("case",i),s.value.viewCount!==void 0&&(s.value.viewCount=Number(s.value.viewCount)+1)}catch(a){console.error("更新浏览量失败:",a)}if(s.value.pageType&&s.value.pageType!=="case"){console.error(`错误: 请求的是典型案例(case),但返回的是${s.value.pageType}类型的内容`),r.value=!0,n.value=!1;return}if(s.value.title&&/\\u|%/.test(s.value.title))try{s.value.title=decodeURIComponent(s.value.title)}catch(a){console.error("标题解码失败:",a)}if(s.value.content){if(console.log("内容类型:",typeof s.value.content),console.log("内容前50个字符:",s.value.content.substring(0,50)),/\\u|%/.test(s.value.content))try{s.value.content=decodeURIComponent(s.value.content)}catch(a){console.error("内容解码失败:",a)}if(typeof s.value.content!="string")try{s.value.content=JSON.stringify(s.value.content)}catch(a){console.error("内容格式转换失败:",a)}}else console.warn("页面内容为空"),s.value.content="<p>暂无内容</p>";document.title=`${s.value.title||"典型案例详情"} - 典型案例`}else console.error("获取典型案例详情失败:",(l==null?void 0:l.msg)||"未知错误"),r.value=!0}catch(i){console.error("获取典型案例详情异常:",i),r.value=!0}finally{n.value=!1}});const o=i=>{if(!i)return"未知日期";try{const l=new Date(i);return isNaN(l.getTime())?"未知日期":l.toLocaleDateString("zh-CN",{year:"numeric",month:"2-digit",day:"2-digit"})}catch(l){return console.error("日期格式化错误:",l),"未知日期"}};return(i,l)=>{const a=jn("router-link");return G(),Y("div",am,[ne(Vr),n.value?(G(),Y("div",cm,l[0]||(l[0]=[E("div",{class:"spinner"},null,-1),E("p",null,"加载中...",-1)]))):r.value?(G(),Y("div",um,[E("div",fm,[l[2]||(l[2]=E("h3",null,"内容加载失败",-1)),l[3]||(l[3]=E("p",null,"无法找到该典型案例内容或发生网络错误",-1)),ne(a,{to:"/",class:"btn-home"},{default:ve(()=>l[1]||(l[1]=[oe("返回首页")])),_:1,__:[1]})])])):(G(),Y("div",dm,[E("div",hm,[E("div",pm,[E("div",gm,[l[6]||(l[6]=E("div",{class:"case-category"},"典型案例",-1)),E("h2",null,we(s.value.title),1),E("div",mm,[E("span",null,[l[4]||(l[4]=E("i",{class:"icon-time"},null,-1)),oe(we(o(s.value.createTime)),1)]),E("span",null,[l[5]||(l[5]=E("i",{class:"icon-eye"},null,-1)),oe("浏览次数: "+we(s.value.viewCount),1)])])]),E("div",{class:"body",innerHTML:s.value.content},null,8,ym),E("div",wm,[ne(a,{to:"/hasfjcase",class:"btn-more"},{default:ve(()=>l[7]||(l[7]=[oe("查看更多典型案例")])),_:1,__:[7]}),ne(a,{to:"/",class:"btn-home"},{default:ve(()=>l[8]||(l[8]=[oe("返回首页")])),_:1,__:[8]})])])])]))])}}}),_m=Wt(vm,[["__scopeId","data-v-57ad5174"]]),bm={class:"form-container"},Em={key:0,class:"loading"},Am={key:1,class:"error"},Rm={class:"container"},Sm={key:2,class:"content"},Cm={class:"container"},Tm={class:"content-card"},Pm={class:"header"},Im={class:"meta"},xm={key:0},Om=["innerHTML"],Nm={key:0,class:"attachments"},Lm={class:"attachment-list"},Mm={class:"attachment-name"},$m=["href"],Bm={class:"footer"},Dm=ht({__name:"FormView",setup(e){const t=Eo(),n=ge(!0),r=ge(!1),s=ge(null),o=We(()=>{if(!s.value||!s.value.multiAttachments)return[];try{const u=JSON.parse(s.value.multiAttachments);return Array.isArray(u)?u.filter(d=>d&&(d.url||d.name)):[]}catch(u){return console.error("解析附件列表失败:",u),[]}});Rt(async()=>{try{const u=t.query.Id;if(!u){console.error("缺少必要的formatId参数"),r.value=!0,n.value=!1;return}console.log("开始获取表单详情,formatId:",u);const d=await qr("form",u);if(console.log("表单详情请求结果:",d),d&&d.code===200&&d.data){s.value=d.data,console.log("成功获取表单详情:",s.value);try{await Hr("form",u),s.value.viewCount!==void 0&&(s.value.viewCount=Number(s.value.viewCount)+1)}catch(h){console.error("更新浏览量失败:",h)}if(s.value.pageType&&s.value.pageType!=="form"){console.error(`错误: 请求的是表单(form),但返回的是${s.value.pageType}类型的内容`),r.value=!0,n.value=!1;return}if(s.value.title&&/\\u|%/.test(s.value.title))try{s.value.title=decodeURIComponent(s.value.title)}catch(h){console.error("标题解码失败:",h)}if(s.value.content){if(console.log("内容类型:",typeof s.value.content),console.log("内容前50个字符:",s.value.content.substring(0,50)),/\\u|%/.test(s.value.content))try{s.value.content=decodeURIComponent(s.value.content)}catch(h){console.error("内容解码失败:",h)}if(typeof s.value.content!="string")try{s.value.content=JSON.stringify(s.value.content)}catch(h){console.error("内容格式转换失败:",h)}}else console.warn("页面内容为空"),s.value.content="<p>暂无内容</p>";if(s.value.attachmentUrl&&(console.log("附件URL:",s.value.attachmentUrl),/\\u|%/.test(s.value.attachmentUrl)))try{s.value.attachmentUrl=decodeURIComponent(s.value.attachmentUrl)}catch(h){console.error("附件URL解码失败:",h)}if(s.value.multiAttachments)try{let h=s.value.multiAttachments;if(/\\u|%/.test(h))try{h=decodeURIComponent(h)}catch(w){console.error("多附件数据解码失败:",w)}const m=JSON.parse(h);console.log("多附件数据:",m),Array.isArray(m)&&(m.forEach((w,S)=>{if(w.url&&/\\u|%/.test(w.url))try{w.url=decodeURIComponent(w.url)}catch(C){console.error(`附件${S}URL解码失败:`,C)}}),s.value.multiAttachments=JSON.stringify(m))}catch(h){console.error("解析多附件数据失败:",h)}document.title=`${s.value.title||"表单详情"} - 表单下载`}else console.error("获取表单详情失败:",(d==null?void 0:d.msg)||"未知错误"),r.value=!0}catch(u){console.error("获取表单详情异常:",u),r.value=!0}finally{n.value=!1}});function i(u){if(!u)return"未知";const d=new Date(u);return`${d.getFullYear()}-${l(d.getMonth()+1)}-${l(d.getDate())}`}function l(u){return u<10?`0${u}`:`${u}`}function a(u){var h;if(!u)return"icon-file";switch(((h=u.split(".").pop())==null?void 0:h.toLowerCase())||""){case"pdf":return"icon-pdf";case"doc":case"docx":return"icon-word";case"xls":case"xlsx":return"icon-excel";case"ppt":case"pptx":return"icon-ppt";case"zip":case"rar":return"icon-archive";case"png":case"jpg":case"jpeg":case"gif":return"icon-image";default:return"icon-file"}}function c(u){return u&&u.split("/").pop()||"未知文件"}function f(u){return u?u.startsWith("http://")||u.startsWith("https://")?u:`undefined${u}`:"#"}return(u,d)=>{const h=jn("router-link");return G(),Y("div",bm,[ne(Vr),n.value?(G(),Y("div",Em,d[0]||(d[0]=[E("div",{class:"spinner"},null,-1),E("p",null,"加载中...",-1)]))):r.value?(G(),Y("div",Am,[E("div",Rm,[d[2]||(d[2]=E("h3",null,"内容加载失败",-1)),d[3]||(d[3]=E("p",null,"无法找到该表单内容或发生网络错误",-1)),ne(h,{to:"/",class:"btn-home"},{default:ve(()=>d[1]||(d[1]=[oe("返回首页")])),_:1,__:[1]})])])):(G(),Y("div",Sm,[E("div",Cm,[E("div",Tm,[E("div",Pm,[d[7]||(d[7]=E("div",{class:"form-category"},"表单下载",-1)),E("h2",null,we(s.value.title),1),E("div",Im,[E("span",null,[d[4]||(d[4]=E("i",{class:"icon-time"},null,-1)),oe(we(i(s.value.createTime)),1)]),E("span",null,[d[5]||(d[5]=E("i",{class:"icon-eye"},null,-1)),oe("浏览次数: "+we(s.value.viewCount),1)]),s.value.author?(G(),Y("span",xm,[d[6]||(d[6]=E("i",{class:"icon-user"},null,-1)),oe("作者: "+we(s.value.author),1)])):dr("",!0)])]),E("div",{class:"body",innerHTML:s.value.content},null,8,Om),o.value.length>0?(G(),Y("div",Nm,[d[8]||(d[8]=E("h3",{class:"attachments-title"},"附件下载",-1)),E("ul",Lm,[(G(!0),Y(Se,null,xt(o.value,(m,w)=>(G(),Y("li",{key:w,class:"attachment-item"},[E("span",{class:He(["attachment-icon",a(m.name||m.url)])},null,2),E("span",Mm,we(m.name||c(m.url)),1),E("a",{href:f(m.url),class:"download-btn",target:"_blank"},"下载",8,$m)]))),128))])])):dr("",!0),E("div",Bm,[ne(h,{to:"/hasfjform",class:"btn-more"},{default:ve(()=>d[9]||(d[9]=[oe("查看更多表单")])),_:1,__:[9]}),ne(h,{to:"/",class:"btn-home"},{default:ve(()=>d[10]||(d[10]=[oe("返回首页")])),_:1,__:[10]})])])])]))])}}}),Fm=Wt(Dm,[["__scopeId","data-v-56990612"]]),Um=Nd({history:ad("/"),routes:[{path:"/",name:"home",component:Jg},{path:"/show.html",name:"law",component:lm},{path:"/showcase.html",name:"case",component:_m},{path:"/table.html",name:"form",component:Fm},{path:"/hasfjlaw",name:"lawList",component:()=>yn(()=>import("./LawListView-DfvmjveR.js"),__vite__mapDeps([0,1,2,3]))},{path:"/hasfjcase",name:"caseList",component:()=>yn(()=>import("./CaseListView-2AeSN89n.js"),__vite__mapDeps([4,1,2,5]))},{path:"/hasfjform",name:"formList",component:()=>yn(()=>import("./FormListView-CAzcl-Z3.js"),__vite__mapDeps([6,1,2,7]))},{path:"/qrcodes",name:"qrcodeList",component:()=>yn(()=>import("./QRCodesView-TqtFwfb7.js"),__vite__mapDeps([8,1,2,9]))},{path:"/search-results",name:"searchResults",component:()=>yn(()=>import("./SearchResultsView-D_jfK11c.js"),__vite__mapDeps([10,11]))}]}),To=Tf($d);To.use(Of());To.use(Um);To.mount("#app");export{Eo as A,Md as B,i0 as C,Se as F,Ls as Q,ag as S,Vr as T,Wt as _,tu as a,ne as b,Y as c,ht as d,E as e,ve as f,jn as g,xt as h,nr as i,oe as j,G as k,dr as l,pp as m,He as n,Rt as o,tc as p,Pn as q,ge as r,We as s,we as t,Qc as u,jm as v,Cn as w,km as x,Ir as y,yn as z};
|