1import{R as Y,T as Z,U as Q,V as K,W as k,a as R,X as ee,E as te,n as S,Y as ae,Z as ne,p as se,$ as x,a0 as re,c as ie,h as N,a1 as oe,A as B,a2 as I,a3 as q,a4 as ce,a5 as le}from"./CWXzWxAq.js";const ue={trailing:!0};function fe(n,a=25,e={}){if(e={...ue,...e},!Number.isFinite(a))throw new TypeError("Expected `wait` to be a finite number");let t,r,o=[],s,u;const y=(i,d)=>(s=de(n,i,d),s.finally(()=>{if(s=null,e.trailing&&u&&!r){const w=y(i,u);return u=null,w}}),s),l=function(...i){return e.trailing&&(u=i),s||new Promise(d=>{const w=!r&&e.leading;clearTimeout(r),r=setTimeout(()=>{r=null;const p=e.leading?t:y(this,i);u=null;for(const D of o)D(p);o=[]},a),w?(t=y(this,i),d(t)):o.push(d)})},f=i=>{i&&(clearTimeout(i),r=null)};return l.isPending=()=>!!r,l.cancel=()=>{f(r),o=[],u=null},l.flush=()=>{if(f(r),!u||s)return;const i=u;return u=null,y(this,i)},l}async function de(n,a,e){return await n.apply(a,e)}function he(n){return typeof n=="string"?`'${n}'`:new ye().serialize(n)}const ye=(function(){class n{#e=new Map;compare(e,t){const r=typeof e,o=typeof t;return r==="string"&&o==="string"?e.localeCompare(t):r==="number"&&o==="number"?e-t:String.prototype.localeCompare.call(this.serialize(e,!0),this.serialize(t,!0))}serialize(e,t){if(e===null)return"null";switch(typeof e){case"string":return t?e:`'${e}'`;case"bigint":return`${e}n`;case"object":return this.$object(e);case"function":return this.$function(e)}return String(e)}serializeObject(e){const t=Object.prototype.toString.call(e);if(t!=="[object Object]")return this.serializeBuiltInType(t.length<10?`unknown:${t}`:t.slice(8,-1),e);const r=e.constructor,o=r===Object||r===void 0?"":r.name;if(o!==""&&globalThis[o]===r)return this.serializeBuiltInType(o,e);
1if(typeof e.toJSON=="function"){const s=e.toJSON();return o+(s!==null&&typeof s=="object"?this.$object(s):`(${this.serialize(s)})`)}return this.serializeObjectEntries(o,Object.entries(e))}serializeBuiltInType(e,t){const r=this["$"+e];if(r)return r.call(this,t);if(typeof t?.entries=="function")return this.serializeObjectEntries(e,t.entries());throw new Error(`Cannot serialize ${e}`)}serializeObjectEntries(e,t){const r=Array.from(t).sort((s,u)=>this.compare(s[0],u[0]));let o=`${e}{`;for(let s=0;s<r.length;s++){const[u,y]=r[s];o+=`${this.serialize(u,!0)}:${this.serialize(y)}`,s<r.length-1&&(o+=",")}return o+"}"}$object(e){let t=this.#e.get(e);return t===void 0&&(this.#e.set(e,`#${this.#e.size}`),t=this.serializeObject(e),this.#e.set(e,t)),t}$function(e){const t=Function.prototype.toString.call(e);return t.slice(-15)==="[native code] }"?`${e.name||""}()[native]`:`${e.name}(${e.length})${t.replace(/\s*\n\s*/g,"")}`}$Array(e){let t="[";for(let r=0;r<e.length;r++)t+=this.serialize(e[r]),r<e.length-1&&(t+=",");return t+"]"}$Date(e){try{return`Date(${e.toISOString()})`}catch{return"Date(null)"}}$ArrayBuffer(e){return`ArrayBuffer[${new Uint8Array(e).join(",")}]`}$Set(e){return`Set${this.$Array(Array.from(e).sort((t,r)=>this.compare(t,r)))}`}$Map(e){return this.serializeObjectEntries("Map",e.entries())}}for(const a of["Error","RegExp","URL"])n.prototype["$"+a]=function(e){return`${a}(${e})`};for(const a of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])n.prototype["$"+a]=function(e){return`${a}[${e.join(",")}]`};for(const a of["BigInt64Array","BigUint64Array"])n.prototype["$"+a]=function(e){return`${a}[${e.join("n,")}${e.length>0?"n":""}]`};return n})(),_e=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],ge=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],be="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",C=[];class me{_data=new P;_hash=new P([..._e]);_nDataBytes=0;_minBufferSize=0;finalize(a){a&&this._append(a);const e=this._nDataBytes*8,t=this._data.sigBytes*8;return this._data.words[t>>>5]|=128<<24-t%32,this._data.words[(t+64>>>9<<4)+14]=Math.floor(e/4294967296),this._data.words[(t+64>>>9<<4)+15]=e,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}_doProcessBlock(a,e){const t=this._hash.words;let r=t[0],o=t[1],s=t[2],u=t[3],y=t[4],l=t[5],f=t[6],i=t[7];for(let d=0;d<64;d++){if(d<16)C[d]=a[e+d]|0;else{const c=C[d-15],h=(c<<25|c>>>7)^(c<<14|c>>>18)^c>>>3,m=C[d-2],E=(m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10;C[d]=h+C[d-7]+E+C[d-16]}const w=y&l^~y&f,p=r&o^r&s^o&s,D=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),$=(y<<26|y>>>6)^(y<<21|y>>>11)^(y<<7|y>>>25),g=i+$+w+ge[d]+C[d],_=D+p;i=f,f=l,l=y,y=u+g|0,u=s,s=o,o=r,r=g+_|0}t[0]=t[0]+r|0,t[1]=t[1]+o|0,t[2]=t[2]+s|0,t[3]=t[3]+u|0,t[4]=t[4]+y|0,t[5]=t[5]+l|0,t[6]=t[6]+f|0,t[7]=t[7]+i|0}_append(a){typeof a=="string"&&(a=P.fromUtf8(a)),this._data.concat(a),this._nDataBytes+=a.sigBytes}_process(a){let e,t=this._data.sigBytes/64;a?t=Math.ceil(t):t=Math.max((t|0)-this._minBufferSize,0);const r=t*16,o=Math.min(r*4,this._data.sigBytes);if(r){for(let s=0;s<r;s+=16)this._doProcessBlock(this._data.words,s);e=this._data.words.splice(0,r),this._data.sigBytes-=o}return new P(e,o)}}class P{words;sigBytes;constructor(a,e){a=this.words=a||[],this.sigBytes=e===void 0?a.length*4:e}static fromUtf8(a){const e=unescape(encodeURIComponent(a)),t=e.length,r=[];for(let o=0;o<t;o++)r[o>>>2]|=(e.charCodeAt(o)&255)<<24-o%4*8;return new P(r,t)}toBase64(){const a=[];for(let e=0;e<this.sigBytes;e+=3){const t=this.words[e>>>2]>>>24-e%4*8&255,r=this.words[e+1>>>2]>>>24-(e+1)%4*8&255,o=this.words[e+2>>>2]>>>24-(e+2)%4*8&255,s=t<<16|r<<8|o;for(let u=0;u<4&&e*8+u*6<this.sigBytes*8;u++)a.push(be.charAt(s>>>6*(3-u)&63))}return a.join("")}concat(a){if(this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4),this.sigBytes%4)for(let e=0;e<a.sigBytes;e++){const t=a.words[e>>>2]>>>24-e%4*8&255;this.words[this.sigBytes+e>>>2]|=t<<24-(this.sigBytes+e)%4*8}else for(let e=0;e<a.sigBytes;e+=4)this.words[this.sigBytes+e>>>2]=a.words[e>>>2];this.sigBytes+=a.sigBytes}}function De(n){return new me().finalize(n).toBase64()}function O(n){return De(he(n))}const ve=Symbol.for("nuxt:client-only");function V(n){return Object.defineProperty(function(){throw new Error(`[nuxt] \`${n.name}\` is a compiler macro and cannot be called at runtime.`)},"__nuxt_factory",{enumerable:!1,get:()=>n.factory})}const W=V({name:"createUseAsyncData",factory(n={}){function a(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;we(e[0],e[1])&&e.unshift(t);let[r,o,s={}]=e,u=!1;const y=te(r)||typeof r=="function",l=y?S(()=>B(r)):{value:r};if(!l.value||typeof l.value!="string")throw new TypeError("[nuxt] [useAsyncData] key must be a non-empty string.");if(typeof o!="function")throw new TypeError("[nuxt] [useAsyncData] handler must be a function.");const f=typeof n=="function",i=Y(),d=f?n(s):n;
1if(!f)for(const c in d)d[c]!==void 0&&s[c]===void 0&&(s[c]=d[c]);if(s.server??=!0,s.default??=Be,s.getCachedData??=G,s.lazy??=!1,s.immediate??=!0,s.deep??=Z.deep,s.dedupe??="cancel",f)for(const c in d)d[c]!==void 0&&(s[c]=d[c]);i._asyncData[l.value];function w(){const c={cause:"initial",dedupe:s.dedupe},h=i._asyncData[l.value];return h?._init?i._asyncDataPromises[l.value]&&(c.cachedData=h._initialCachedData):(c.cachedData=s.getCachedData(l.value,i,{cause:"initial"}),i._asyncData[l.value]=L(i,l.value,o,s,c.cachedData),i._asyncData[l.value]._initialCachedData=c.cachedData),()=>i._asyncData[l.value].execute(c)}const p=w(),D=i._asyncData[l.value];D._deps++;const $=s.server!==!1&&i.payload.serverRendered;{let c=function(b){const v=i._asyncData[b];v?._deps&&(v._deps--,v._deps===0&&v?._off())};const h=ae();if(h&&$&&s.immediate&&!h.sp&&(h.sp=[]),h&&!h._nuxtOnBeforeMountCbs){h._nuxtOnBeforeMountCbs=[];const b=h._nuxtOnBeforeMountCbs;Q(()=>{b.forEach(v=>{v()}),b.splice(0,b.length)}),K(()=>b.splice(0,b.length))}const m=h&&(h._nuxtClientOnly||k(ve,!1));$&&i.isHydrating&&(D.error.value||D.data.value!==void 0)?D.status.value=D.error.value?"error":"success":h&&(!m&&i.payload.serverRendered&&i.isHydrating||s.lazy)&&s.immediate?h._nuxtOnBeforeMountCbs.push(p):s.immediate&&D.status.value!=="success"&&p();const E=ne(),z=()=>{},F=y?R(l,(b,v)=>{if((b||v)&&b!==v){u=!0;const U=i._asyncData[v]?.data.value!==void 0,X=i._asyncDataPromises[v]!==void 0,T={cause:"initial",dedupe:s.dedupe};if(!i._asyncData[b]?._init){let j;v&&U?j=i._asyncData[v].data.value:(j=s.getCachedData(b,i,{cause:"initial"}),T.cachedData=j),i._asyncData[b]=L(i,b,o,s,j)}i._asyncData[b]._deps++,v&&c(v),s._keyTriggersExecute!==!1&&(s.immediate||U||X)&&i._asyncData[b].execute(T),I(()=>{u=!1})}},{flush:"sync"}):z,M=s.watch?R(s.watch,()=>{u||(i._asyncData[l.value]?._execute.isPending()&&I(()=>{i._asyncData[l.value]?._execute.flush()}),i._asyncData[l.value]?._execute({cause:"watch",dedupe:s.dedupe}))}):z;E&&ee(()=>{F(),M(),c(l.value)})}const g={data:A(()=>i._asyncData[l.value]?.data),pending:A(()=>i._asyncData[l.value]?.pending),status:A(()=>i._asyncData[l.value]?.status),error:A(()=>i._asyncData[l.value]?.error),refresh:(...c)=>i._asyncData[l.value]?._init?i._asyncData[l.value].execute(...c):w()(),execute:(...c)=>g.refresh(...c),clear:()=>{const c=i._asyncData[l.value];if(c?._abortController)try{c._abortController.abort(new DOMException("AsyncData aborted by user.","AbortError"))}finally{c._abortController=void 0}H(i,l.value)}},_=Promise.resolve(i._asyncDataPromises[l.value]).then(()=>g);return Object.assign(_,g),Object.defineProperties(_,{then:{enumerable:!0,value:_.then.bind(_)},catch:{enumerable:!0,value:_.catch.bind(_)},finally:{enumerable:!0,value:_.finally.bind(_)}}),_}return a}}),pe=W.__nuxt_factory();W.__nuxt_factory({lazy:!0,_functionName:"useLazyAsyncData"});function A(n){return S({get(){return n()?.value},set(a){const e=n();e&&(e.value=a)}})}function we(n,a){return!(typeof n=="string"||typeof n=="object"&&n!==null||typeof n=="function"&&typeof a=="function")}function H(n,a){a in n.payload.data&&(n.payload.data[a]=void 0),a in n.payload._errors&&(n.payload._errors[a]=void 0),n._asyncData[a]&&(n._asyncData[a].data.value=N(n._asyncData[a]._default()),n._asyncData[a].error.value=void 0,n._asyncData[a].status.value="idle",n._asyncData[a]._initialCachedData=void 0),a in n._asyncDataPromises&&(n._asyncDataPromises[a]=void 0)}function $e(n,a){const e={};for(const t of a)e[t]=n[t];return e}function L(n,a,e,t,r){n.payload._errors[a]??=void 0;const o=t.getCachedData!==G,s=e,u=t.deep?se:x,y=r!==void 0,l=n.hook("app:data:refresh",async i=>{(!i||i.includes(a))&&await f.execute({cause:"refresh:hook"})}),f={data:u(y?r:t.default()),pending:S(()=>f.status.value==="pending"),error:oe(n.payload._errors,a),status:x("idle"),execute:(...i)=>{const[d,w=void 0]=i,p=d&&w===void 0&&typeof d=="object"?d:{};if(n._asyncDataPromises[a]&&(p.dedupe??t.dedupe)==="defer")return n._asyncDataPromises[a];{const g="cachedData"in p?p.cachedData:t.getCachedData(a,n,{cause:p.cause??"refresh:manual"});if(g!==void 0)return n.payload.data[a]=f.data.value=g,f.error.value=void 0,f.status.value="success",Promise.resolve(g)}f._abortController&&f._abortController.abort(new DOMException("AsyncData request cancelled by deduplication","AbortError")),f._abortController=new AbortController,f.status.value="pending";const D=new AbortController,$=new Promise((g,_)=>{try{const c=p.timeout??t.timeout,h=Ce([f._abortController?.signal,p?.signal],D.signal,c);if(h.aborted){const m=h.reason;_(m instanceof Error?m:new DOMException(String(m??"Aborted"),"AbortError"));return}return h.addEventListener("abort",()=>{const m=h.reason;_(m instanceof Error?m:new DOMException(String(m??"Aborted"),"AbortError"))},{once:!0,signal:D.signal}),Promise.resolve(s(n,{signal:h})).then(g,_)}catch(c){_(c)}}).then(async g=>{if(n._asyncDataPromises[a]!==$)return;let _=g;t.transform&&(_=await t.transform(g)),t.pick&&(_=$e(_,t.pick)),n.payload.data[a]=_,f.data.value=_,f.error.value=void 0,f.status.value="success"}).catch(g=>{if(n._asyncDataPromises[a]!==$||f._abortController?.signal.aborted)return n._asyncDataPromises[a];if(typeof DOMException<"u"&&g instanceof DOMException&&g.name==="AbortError")return f.status.value="idle",n._asyncDataPromises[a];f.error.value=ie(g),f.data.value=N(t.default()),f.status.value="error"}).finally(()=>{D.abort(),n._asyncDataPromises[a]===$&&delete n._asyncDataPromises[a]});return n._asyncDataPromises[a]=$,n._asyncDataPromises[a]},_execute:fe((...i)=>f.execute(...i),0,{leading:!0}),_default:t.default,_deps:0,_init:!0,_hash:void 0,_off:()=>{l(),n._asyncData[a]?._init&&(n._asyncData[a]._init=!1),o||re(()=>{n._asyncData[a]?._init||(H(n,a),f.execute=()=>Promise.resolve())})}};return f}const Be=()=>{},G=(n,a,e)=>{if(a.isHydrating)return a.payload.data[n];if(e.cause!=="refresh:manual"&&e.cause!=="refresh:hook")return a.static.data[n]};function Ce(n,a,e){const t=n.filter(s=>!!s);if(typeof e=="number"&&e>=0){const s=AbortSignal.timeout?.(e);
1s&&t.push(s)}if(AbortSignal.any)return AbortSignal.any(t);const r=new AbortController;for(const s of t)if(s.aborted){const u=s.reason??new DOMException("Aborted","AbortError");try{r.abort(u)}catch{r.abort()}return r.signal}const o=()=>{const u=t.find(y=>y.aborted)?.reason??new DOMException("Aborted","AbortError");try{r.abort(u)}catch{r.abort()}};for(const s of t)s.addEventListener?.("abort",o,{once:!0,signal:a});return r.signal}function Ee(n){const a=[B(n.method)?.toUpperCase()||"GET",B(n.baseURL)];for(const e of[n.query||n.params]){const t=B(e);if(!t)continue;const r={};for(const[o,s]of Object.entries(t))r[B(o)]=B(s);a.push(r)}if(n.body){const e=B(n.body);if(!e)a.push(O(e));else if(e instanceof ArrayBuffer)a.push(O(Object.fromEntries([...new Uint8Array(e).entries()].map(([t,r])=>[t,r.toString()]))));else if(e instanceof FormData){const t=[];for(const r of e.entries()){const[o,s]=r;t.push([o,s instanceof File?`${s.name}:${s.size}:${s.lastModified}`:s])}a.push(O(t))}else if(le(e))a.push(O(q(e)));else try{a.push(O(e))}catch{console.warn("[useFetch] Failed to hash body",e)}}return a}const J=V({name:"createUseFetch",factory(n={}){function a(e,t,r){const[o={},s]=typeof t=="string"?[{},t]:[t,r],u=typeof n=="function"?n(o):n,{server:y,lazy:l,default:f,transform:i,pick:d,watch:w,immediate:p,getCachedData:D,deep:$,dedupe:g,timeout:_,...c}={...typeof n=="function"?{}:u,...o,...typeof n=="function"?u:{}},h=S(()=>B(e)),m=S(()=>B(c.key)||"$f"+O([s,typeof h.value=="string"?h.value:"",...Ee(c)]));if(!c.baseURL&&typeof h.value=="string"&&h.value[0]==="/"&&h.value[1]==="/")throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const E=q({...ce,...c,cache:typeof c.cache=="boolean"?void 0:c.cache}),z={server:y,lazy:l,default:f,transform:i,pick:d,immediate:p,getCachedData:D,deep:$,dedupe:g,timeout:_,watch:w===!1?[]:[...w||[],E]};return w===!1&&(z._keyTriggersExecute=!1),pe(m,(M,{signal:b})=>(c.$fetch||globalThis.$fetch)(h.value,{signal:b,...E}),z)}return a}}),ze=J.__nuxt_factory();J.__nuxt_factory({lazy:!0,_functionName:"useLazyFetch"});export{ze as u};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.