39 lines
194 KiB
JavaScript
Raw Normal View History

2025-06-02 21:36:36 +08:00
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.ver
* @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(
* @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
* 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
`).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,cancelTo
`+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,RequestHeaderFieldsToo
]))+`;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.len
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&&!A