var W=Object.defineProperty;var F=a=>{throw TypeError(a)};var X=(a,t,s)=>t in a?W(a,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):a[t]=s;var P=(a,t,s)=>X(a,typeof t!="symbol"?t+"":t,s),Y=(a,t,s)=>t.has(a)||F("Cannot "+s);var L=(a,t,s)=>(Y(a,t,"read from private field"),s?s.call(a):t.get(a)),q=(a,t,s)=>t.has(a)?F("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(a):t.set(a,s);import{J as Z,L as M,q as k,a3 as V,a4 as K,Q as ee,c as te,a2 as ae,z as N,a5 as p,M as ne,a6 as b,a7 as se,y as ie,a8 as re,g as R,a9 as oe,r as ce,aa as le,v as ue,ab as fe,i as de,ac as he,ad as H,ae as ge,af as ye}from"./Ut7OTq26.js";const me={trailing:!0};function _e(a,t=25,s={}){if(s={...me,...s},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let e,n,i=[],r,o;const l=(g,f)=>(r=De(a,g,f),r.finally(()=>{if(r=null,s.trailing&&o&&!n){const D=l(g,o);return o=null,D}}),r);return function(...g){return r?(s.trailing&&(o=g),r):new Promise(f=>{const D=!n&&s.leading;clearTimeout(n),n=setTimeout(()=>{n=null;const c=s.leading?e:l(this,g);for(const _ of i)_(c);i=[]},t),D?(e=l(this,g),f(e)):i.push(f)})}}async function De(a,t,s){return await a.apply(t,s)}function ve(a){return typeof a=="string"?`'${a}'`:new pe().serialize(a)}const pe=function(){var t;class a{constructor(){q(this,t,new Map)}compare(e,n){const i=typeof e,r=typeof n;return i==="string"&&r==="string"?e.localeCompare(n):i==="number"&&r==="number"?e-n:String.prototype.localeCompare.call(this.serialize(e,!0),this.serialize(n,!0))}serialize(e,n){if(e===null)return"null";switch(typeof e){case"string":return n?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 n=Object.prototype.toString.call(e);if(n!=="[object Object]")return this.serializeBuiltInType(n.length<10?`unknown:${n}`:n.slice(8,-1),e);const i=e.constructor,r=i===Object||i===void 0?"":i.name;if(r!==""&&globalThis[r]===i)return this.serializeBuiltInType(r,e);if(typeof e.toJSON=="function"){const o=e.toJSON();return r+(o!==null&&typeof o=="object"?this.$object(o):`(${this.serialize(o)})`)}return this.serializeObjectEntries(r,Object.entries(e))}serializeBuiltInType(e,n){const i=this["$"+e];if(i)return i.call(this,n);if(typeof(n==null?void 0:n.entries)=="function")return this.serializeObjectEntries(e,n.entries());throw new Error(`Cannot serialize ${e}`)}serializeObjectEntries(e,n){const i=Array.from(n).sort((o,l)=>this.compare(o[0],l[0]));let r=`${e}{`;for(let o=0;o<i.length;o++){const[l,g]=i[o];r+=`${this.serialize(l,!0)}:${this.serialize(g)}`,o<i.length-1&&(r+=",")}return r+"}"}$object(e){let n=L(this,t).get(e);return n===void 0&&(L(this,t).set(e,`#${L(this,t).size}`),n=this.serializeObject(e),L(this,t).set(e,n)),n}$function(e){const n=Function.prototype.toString.call(e);return n.slice(-15)==="[native code] }"?`${e.name||""}()[native]`:`${e.name}(${e.length})${n.replace(/\s*\n\s*/g,"")}`}$Array(e){let n="[";for(let i=0;i<e.length;i++)n+=this.serialize(e[i]),i<e.length-1&&(n+=",");return n+"]"}$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((n,i)=>this.compare(n,i)))}`}$Map(e){return this.serializeObjectEntries("Map",e.entries())}}t=new WeakMap;for(const s of["Error","RegExp","URL"])a.prototype["$"+s]=function(e){return`${s}(${e})`};for(const s of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])a.prototype["$"+s]=function(e){return`${s}[${e.join(",")}]`};for(const s of["BigInt64Array","BigUint64Array"])a.prototype["$"+s]=function(e){return`${s}[${e.join("n,")}${e.length>0?"n":""}]`};return a}(),we=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],be=[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],$e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",C=[];class Be{constructor(){P(this,"_data",new S);P(this,"_hash",new S([...we]));P(this,"_nDataBytes",0);P(this,"_minBufferSize",0)}finalize(t){t&&this._append(t);const s=this._nDataBytes*8,e=this._data.sigBytes*8;return this._data.words[e>>>5]|=128<<24-e%32,this._data.words[(e+64>>>9<<4)+14]=Math.floor(s/4294967296),this._data.words[(e+64>>>9<<4)+15]=s,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}_doProcessBlock(t,s){const e=this._hash.words;let n=e[0],i=e[1],r=e[2],o=e[3],l=e[4],g=e[5],f=e[6],D=e[7];for(let c=0;c<64;c++){if(c<16)C[c]=t[s+c]|0;else{const y=C[c-15],d=(y<<25|y>>>7)^(y<<14|y>>>18)^y>>>3,w=C[c-2],v=(w<<15|w>>>17)^(w<<13|w>>>19)^w>>>10;C[c]=d+C[c-7]+v+C[c-16]}const _=l&g^~l&f,u=n&i^n&r^i&r,m=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),$=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),I=D+$+_+be[c]+C[c],B=m+u;D=f,f=g,g=l,l=o+I|0,o=r,r=i,i=n,n=I+B|0}e[0]=e[0]+n|0,e[1]=e[1]+i|0,e[2]=e[2]+r|0,e[3]=e[3]+o|0,e[4]=e[4]+l|0,e[5]=e[5]+g|0,e[6]=e[6]+f|0,e[7]=e[7]+D|0}_append(t){typeof t=="string"&&(t=S.fromUtf8(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_process(t){let s,e=this._data.sigBytes/64;t?e=Math.ceil(e):e=Math.max((e|0)-this._minBufferSize,0);const n=e*16,i=Math.min(n*4,this._data.sigBytes);if(n){for(let r=0;r<n;r+=16)this._doProcessBlock(this._data.words,r);s=this._data.words.splice(0,n),this._data.sigBytes-=i}return new S(s,i)}}class S{constructor(t,s){P(this,"words");P(this,"sigBytes");t=this.words=t||[],this.sigBytes=s===void 0?t.length*4:s}static fromUtf8(t){const s=unescape(encodeURIComponent(t)),e=s.length,n=[];for(let i=0;i<e;i++)n[i>>>2]|=(s.charCodeAt(i)&255)<<24-i%4*8;return new S(n,e)}toBase64(){const t=[];for(let s=0;s<this.sigBytes;s+=3){const e=this.words[s>>>2]>>>24-s%4*8&255,n=this.words[s+1>>>2]>>>24-(s+1)%4*8&255,i=this.words[s+2>>>2]>>>24-(s+2)%4*8&255,r=e<<16|n<<8|i;for(let o=0;o<4&&s*8+o*6<this.sigBytes*8;o++)t.push($e.charAt(r>>>6*(3-o)&63))}return t.join("")}concat(t){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 s=0;s<t.sigBytes;s++){const e=t.words[s>>>2]>>>24-s%4*8&255;this.words[this.sigBytes+s>>>2]|=e<<24-(this.sigBytes+s)%4*8}else for(let s=0;s<t.sigBytes;s+=4)this.words[this.sigBytes+s>>>2]=t.words[s>>>2];this.sigBytes+=t.sigBytes}}function Pe(a){return new Be().finalize(a).toBase64()}function x(a){return Pe(ve(a))}const J=Symbol.for("nuxt:client-only"),Ee=Z({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(a,{slots:t,attrs:s}){const e=M(!1);k(()=>{e.value=!0});const n=V();return n&&(n._nuxtClientOnly=!0),ae(J,!0),()=>{var l;if(e.value){const g=(l=t.default)==null?void 0:l.call(t);return g&&g.length===1?[K(g[0],s)]:g}const i=t.fallback||t.placeholder;if(i)return ee(i);const r=a.fallback||a.placeholder||"",o=a.fallbackTag||a.placeholderTag||"span";return te(o,s,r)}}}),Ce=a=>a==="defer"||a===!1;function Ie(...a){var _;const t=typeof a[a.length-1]=="string"?a.pop():void 0;Oe(a[0],a[1])&&a.unshift(t);let[s,e,n={}]=a;const i=N(()=>p(s));if(typeof i.value!="string")throw new TypeError("[nuxt] [useAsyncData] key must be a string.");if(typeof e!="function")throw new TypeError("[nuxt] [useAsyncData] handler must be a function.");const r=ne();n.server??(n.server=!0),n.default??(n.default=Se),n.getCachedData??(n.getCachedData=Q),n.lazy??(n.lazy=!1),n.immediate??(n.immediate=!0),n.deep??(n.deep=b.deep),n.dedupe??(n.dedupe="cancel"),n._functionName,r._asyncData[i.value];const o={cause:"initial",dedupe:n.dedupe};(_=r._asyncData[i.value])!=null&&_._init||(o.cachedData=n.getCachedData(i.value,r,{cause:"initial"}),r._asyncData[i.value]=A(r,i.value,e,n,o.cachedData));const l=r._asyncData[i.value];l._deps++;const g=()=>r._asyncData[i.value].execute(o),f=n.server!==!1&&r.payload.serverRendered;{let u=function(y){const d=r._asyncData[y];d!=null&&d._deps&&(d._deps--,d._deps===0&&(d==null||d._off()))};const m=V();if(m&&f&&n.immediate&&!m.sp&&(m.sp=[]),m&&!m._nuxtOnBeforeMountCbs){m._nuxtOnBeforeMountCbs=[];const y=m._nuxtOnBeforeMountCbs;se(()=>{y.forEach(d=>{d()}),y.splice(0,y.length)}),ie(()=>y.splice(0,y.length))}const $=m&&(m._nuxtClientOnly||re(J,!1));f&&r.isHydrating&&(l.error.value||l.data.value!=null)?(l.pending.value=!1,l.status.value=l.error.value?"error":"success"):m&&(!$&&r.payload.serverRendered&&r.isHydrating||n.lazy)&&n.immediate?m._nuxtOnBeforeMountCbs.push(g):n.immediate&&g();const I=he(),B=R([i,...n.watch||[]],([y],[d])=>{var w,v;if((y||d)&&y!==d){const z=((w=r._asyncData[d])==null?void 0:w.data.value)!==b.value,U=r._asyncDataPromises[d]!==void 0;d&&u(d);const O={cause:"initial",dedupe:n.dedupe};(v=r._asyncData[y])!=null&&v._init||(O.cachedData=n.getCachedData(y,r,{cause:"initial"}),r._asyncData[y]=A(r,y,e,n,O.cachedData)),r._asyncData[y]._deps++,(n.immediate||z||U)&&r._asyncData[y].execute(O)}else l._execute({cause:"watch",dedupe:n.dedupe})},{flush:"sync"});I&&oe(()=>{B(),u(i.value)})}const D={data:T(()=>{var u;return(u=r._asyncData[i.value])==null?void 0:u.data}),pending:T(()=>{var u;return(u=r._asyncData[i.value])==null?void 0:u.pending}),status:T(()=>{var u;return(u=r._asyncData[i.value])==null?void 0:u.status}),error:T(()=>{var u;return(u=r._asyncData[i.value])==null?void 0:u.error}),refresh:(...u)=>r._asyncData[i.value].execute(...u),execute:(...u)=>r._asyncData[i.value].execute(...u),clear:()=>G(r,i.value)},c=Promise.resolve(r._asyncDataPromises[i.value]).then(()=>D);return Object.assign(c,D),c}function T(a){return N({get(){var t;return(t=a())==null?void 0:t.value},set(t){const s=a();s&&(s.value=t)}})}function Oe(a,t){return!(typeof a=="string"||typeof a=="object"&&a!==null||typeof a=="function"&&typeof t=="function")}function G(a,t){t in a.payload.data&&(a.payload.data[t]=void 0),t in a.payload._errors&&(a.payload._errors[t]=b.errorValue),a._asyncData[t]&&(a._asyncData[t].data.value=void 0,a._asyncData[t].error.value=b.errorValue,a._asyncData[t].pending.value=!1,a._asyncData[t].status.value="idle"),t in a._asyncDataPromises&&(a._asyncDataPromises[t]&&(a._asyncDataPromises[t].cancelled=!0),a._asyncDataPromises[t]=void 0)}function xe(a,t){const s={};for(const e of t)s[e]=a[e];return s}function A(a,t,s,e,n){var D;(D=a.payload._errors)[t]??(D[t]=b.errorValue);const i=e.getCachedData!==Q,r=s,o=e.deep?ce:M,l=n!=null,g=a.hook("app:data:refresh",async c=>{(!c||c.includes(t))&&await f.execute({cause:"refresh:hook"})}),f={data:o(l?n:e.default()),pending:M(!l),error:le(a.payload._errors,t),status:M("idle"),execute:(c={})=>{if(a._asyncDataPromises[t]){if(Ce(c.dedupe??e.dedupe))return a._asyncDataPromises[t];a._asyncDataPromises[t].cancelled=!0}if(c.cause==="initial"||a.isHydrating){const u="cachedData"in c?c.cachedData:e.getCachedData(t,a,{cause:c.cause??"refresh:manual"});if(u!=null)return a.payload.data[t]=f.data.value=u,f.error.value=b.errorValue,f.status.value="success",Promise.resolve(u)}f.pending.value=!0,f.status.value="pending";const _=new Promise((u,m)=>{try{u(r(a))}catch($){m($)}}).then(async u=>{if(_.cancelled)return a._asyncDataPromises[t];let m=u;e.transform&&(m=await e.transform(u)),e.pick&&(m=xe(m,e.pick)),a.payload.data[t]=m,f.data.value=m,f.error.value=b.errorValue,f.status.value="success"}).catch(u=>{if(_.cancelled)return a._asyncDataPromises[t];f.error.value=fe(u),f.data.value=de(e.default()),f.status.value="error"}).finally(()=>{_.cancelled||(f.pending.value=!1,delete a._asyncDataPromises[t])});return a._asyncDataPromises[t]=_,a._asyncDataPromises[t]},_execute:_e((...c)=>f.execute(...c),0,{leading:!0}),_default:e.default,_deps:0,_init:!0,_hash:void 0,_off:()=>{var c;g(),(c=a._asyncData[t])!=null&&c._init&&(a._asyncData[t]._init=!1),i||ue(()=>{var _;(_=a._asyncData[t])!=null&&_._init||(G(a,t),f.execute=()=>Promise.resolve(),f.data.value=b.value)})}};return f}const Se=()=>b.value,Q=(a,t,s)=>{if(t.isHydrating)return t.payload.data[a];if(s.cause!=="refresh:manual"&&s.cause!=="refresh:hook")return t.static.data[a]};function j(a,t,s){const[e={},n]=typeof t=="string"?[{},t]:[t,s],i=N(()=>p(a)),r=N(()=>p(e.key)||"$f"+x([n,typeof i.value=="string"?i.value:"",...ze(e)]));if(!e.baseURL&&typeof i.value=="string"&&i.value[0]==="/"&&i.value[1]==="/")throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:o,lazy:l,default:g,transform:f,pick:D,watch:c,immediate:_,getCachedData:u,deep:m,dedupe:$,...I}=e,B=H({...ge,...I,cache:typeof e.cache=="boolean"?void 0:e.cache}),y={server:o,lazy:l,default:g,transform:f,pick:D,immediate:_,getCachedData:u,deep:m,dedupe:$,watch:c===!1?[]:[...c||[],B]};if(!_){let v=function(){y.immediate=!0};R(r,v,{flush:"sync",once:!0}),R([...c||[],B],v,{flush:"sync",once:!0})}let d;return Ie(c===!1?r.value:r,()=>{var O;(O=d==null?void 0:d.abort)==null||O.call(d,new DOMException("Request aborted as another request to the same endpoint was initiated.","AbortError")),d=typeof AbortController<"u"?new AbortController:{};const v=p(e.timeout);let z;return v&&(z=setTimeout(()=>d.abort(new DOMException("Request aborted due to timeout.","AbortError")),v),d.signal.onabort=()=>clearTimeout(z)),(e.$fetch||globalThis.$fetch)(i.value,{signal:d.signal,...B}).finally(()=>{clearTimeout(z)})},y)}function ze(a){var s;const t=[((s=p(a.method))==null?void 0:s.toUpperCase())||"GET",p(a.baseURL)];for(const e of[a.params||a.query]){const n=p(e);if(!n)continue;const i={};for(const[r,o]of Object.entries(n))i[p(r)]=p(o);t.push(i)}if(a.body){const e=p(a.body);if(!e)t.push(x(e));else if(e instanceof ArrayBuffer)t.push(x(Object.fromEntries([...new Uint8Array(e).entries()].map(([n,i])=>[n,i.toString()]))));else if(e instanceof FormData){const n={};for(const i of e.entries()){const[r,o]=i;n[r]=o instanceof File?o.name:o}t.push(x(n))}else if(ye(e))t.push(x(H(e)));else try{t.push(x(e))}catch{console.warn("[useFetch] Failed to hash body",e)}}return t}const Te=""+new URL("banquan.m3FiVF2L.png",import.meta.url).href,h="http://www.zazy.cn/prod-api",Me={getIndexTopLink:`${h}/official/index/getIndexTopLink`,getIndexNav:`${h}/official/index/getIndexNav`,getIndexBanner:`${h}/official/index/getIndexBanner`,getIndexNews:`${h}/official/index/getIndexNews`,getIndexNotice:`${h}/official/index/getIndexNotice`,getIndexLearn:`${h}/official/index/getIndexLearn`,getIndexDept:`${h}/official/index/getIndexDept`,getNewsBanner:`${h}/official/news/getNewsBanner`,getNews:`${h}/official/news/getNews`,getNotice:`${h}/official/news/getNotice`,getDept:`${h}/official/news/getDept`,getLearn:`${h}/official/news/getLearn`,getMedia:`${h}/official/news/getMedia`,getDetail:`${h}/official/contentDetail/detail`,getPrevNext:`${h}/official/contentDetail/prevNext`,getCountingCampus:`${h}/official/schoolProfile/getCountingCampus`,getCurrentLeaders:`${h}/official/schoolProfile/getCurrentLeaders`,getPreviousLeaders:`${h}/official/schoolProfile/getPreviousLeaders`,getLightShadowCampus:`${h}/official/index/getLightShadowCampus`,getModuleListByIndex:`${h}/official/contentModule/getModuleListByIndex`,getListByParam:`${h}/official/contentList/getListByParam`,getSpecialListByParam:`${h}/official/contentList/getSpecialListByParam`,getPartyInfo:`${h}/official/organization/getPartyInfo`,getDeptInfo:`${h}/official/organization/getDeptInfo`},E={getBottomlink:h+"/official/index/getIndexLink",getvideoimg:h+"/official/index/getLightShadowCampus",getmatrix:h+"/official/index/getIndexMediaMatrix",getspecial:h+"/official/index/getIndexSpecial",getinthemedia:h+"/official/index/getIndexMedia"};function Ne(a){return j(E.getBottomlink,{method:"POST",data:a},"$L-QqWzJXu1")}function Re(a){return j(E.getvideoimg,{method:"POST",data:a},"$4tq1hPa1V2")}function Ue(a){return j(E.getmatrix,{method:"POST"},"$yDuIo6khG4")}function Fe(a){return j(E.getspecial,{method:"POST"},"$RYXvegrpqo")}function qe(a){return j(E.getinthemedia,{method:"POST"},"$rEfEBvsAKH")}export{Me as A,Ee as _,Fe as a,Ue as b,Re as c,Te as d,Ne as e,qe as g,j as u};
