var Hd=Object.defineProperty;var Ud=(e,t,n)=>t in e?Hd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ds=(e,t,n)=>(Ud(e,typeof t!="symbol"?t+"":t,n),n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();/**
* @vue/shared v3.4.15
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function jo(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const Re={},Gn=[],dt=()=>{},Gd=()=>!1,Fi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),$o=e=>e.startsWith("onUpdate:"),Ue=Object.assign,Vo=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},zd=Object.prototype.hasOwnProperty,fe=(e,t)=>zd.call(e,t),te=Array.isArray,zn=e=>ji(e)==="[object Map]",Zc=e=>ji(e)==="[object Set]",ie=e=>typeof e=="function",je=e=>typeof e=="string",or=e=>typeof e=="symbol",Ce=e=>e!==null&&typeof e=="object",Xc=e=>(Ce(e)||ie(e))&&ie(e.then)&&ie(e.catch),eu=Object.prototype.toString,ji=e=>eu.call(e),Wd=e=>ji(e).slice(8,-1),tu=e=>ji(e)==="[object Object]",qo=e=>je(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,fi=jo(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),$i=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Kd=/-(\w)/g,Nt=$i(e=>e.replace(Kd,(t,n)=>n?n.toUpperCase():"")),Yd=/\B([A-Z])/g,ar=$i(e=>e.replace(Yd,"-$1").toLowerCase()),Vi=$i(e=>e.charAt(0).toUpperCase()+e.slice(1)),hs=$i(e=>e?`on${Vi(e)}`:""),cn=(e,t)=>!Object.is(e,t),ps=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},wi=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Jd=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Zd=e=>{const t=je(e)?Number(e):NaN;return isNaN(t)?e:t};let Qa;const Bo=()=>Qa||(Qa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Qo(e){if(te(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=je(r)?nh(r):Qo(r);if(i)for(const s in i)t[s]=i[s]}return t}else if(je(e)||Ce(e))return e}const Xd=/;(?![^(]*\))/g,eh=/:([^]+)/,th=/\/\*[^]*?\*\//g;function nh(e){const t={};return e.replace(th,"").split(Xd).forEach(n=>{if(n){const r=n.split(eh);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function qt(e){let t="";if(je(e))t=e;else if(te(e))for(let n=0;n<e.length;n++){const r=qt(e[n]);r&&(t+=r+" ")}else if(Ce(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const rh="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ih=jo(rh);function nu(e){return!!e||e===""}const Pe=e=>je(e)?e:e==null?"":te(e)||Ce(e)&&(e.toString===eu||!ie(e.toString))?JSON.stringify(e,ru,2):String(e),ru=(e,t)=>t&&t.__v_isRef?ru(e,t.value):zn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i],s)=>(n[ms(r,s)+" =>"]=i,n),{})}:Zc(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ms(n))}:or(t)?ms(t):Ce(t)&&!te(t)&&!tu(t)?String(t):t,ms=(e,t="")=>{var n;return or(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
* @vue/reactivity v3.4.15
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Et;class sh{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Et,!t&&Et&&(this.index=(Et.scopes||(Et.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Et;try{return Et=this,t()}finally{Et=n}}}on(){Et=this}off(){Et=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this._active=!1}}}function oh(e,t=Et){t&&t.active&&t.effects.push(e)}function ah(){return Et}let Sn;class Ho{constructor(t,n,r,i){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=2,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,oh(this,i)}get dirty(){if(this._dirtyLevel===1){Pn();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(lh(n.computed),this._dirtyLevel>=2))break}this._dirtyLevel<2&&(this._dirtyLevel=0),Rn()}return this._dirtyLevel>=2}set dirty(t){this._dirtyLevel=t?2:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=an,n=Sn;try{return an=!0,Sn=this,this._runnings++,Ha(this),this.fn()}finally{Ua(this),this._runnings--,Sn=n,an=t}}stop(){var t;this.active&&(Ha(this),Ua(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function lh(e){return e.value}function Ha(e){e._trackId++,e._depsLength=0}function Ua(e){if(e.deps&&e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)iu(e.deps[t],e);e.deps.length=e._depsLength}}function iu(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let an=!0,Hs=0;const su=[];function Pn(){su.push(an),an=!1}function Rn(){const e=su.pop();an=e===void 0?!0:e}function Uo(){Hs++}function Go(){for(Hs--;!Hs&&Us.length;)Us.shift()()}function ou(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&iu(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Us=[];function au(e,t,n){Uo();for(const r of e.keys())if(r._dirtyLevel<t&&e.get(r)===r._trackId){const i=r._dirtyLevel;r._dirtyLevel=t,i===0&&(r._shouldSchedule=!0,r.trigger())}lu(e),Go()}function lu(e){for(const t of e.keys())t.scheduler&&t._shouldSchedule&&(!t._runnings||t.allowRecurse)&&e.get(t)===t._trackId&&(t._shouldSchedule=!1,Us.push(t.scheduler))}const cu=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Gs=new WeakMap,In=Symbol(""),zs=Symbol("");function ot(e,t,n){if(an&&Sn){let r=Gs.get(e);r||Gs.set(e,r=new Map);let i=r.get(n);i||r.set(n,i=cu(()=>r.delete(n))),ou(Sn,i)}}function Qt(e,t,n,r,i,s){const o=Gs.get(e);if(!o)return;let a=[];if(t==="clear")a=[...o.values()];else if(n==="length"&&te(e)){const l=Number(r);o.forEach((c,u)=>{(u==="length"||!or(u)&&u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(o.get(n)),t){case"add":te(e)?qo(n)&&a.push(o.get("length")):(a.push(o.get(In)),zn(e)&&a.push(o.get(zs)));break;case"delete":te(e)||(a.push(o.get(In)),zn(e)&&a.push(o.get(zs)));break;case"set":zn(e)&&a.push(o.get(In));break}Uo();for(const l of a)l&&au(l,2);Go()}const ch=jo("__proto__,__v_isRef,__isVue"),uu=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(or)),Ga=uh();function uh(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=pe(this);for(let s=0,o=this.length;s<o;s++)ot(r,"get",s+"");const i=r[t](...n);return i===-1||i===!1?r[t](...n.map(pe)):i}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Pn(),Uo();const r=pe(this)[t].apply(this,n);return Go(),Rn(),r}}),e}function fh(e){const t=pe(this);return ot(t,"has",e),t.hasOwnProperty(e)}class fu{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,r){const i=this._isReadonly,s=this._shallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(i?s?xh:mu:s?pu:hu).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=te(t);if(!i){if(o&&fe(Ga,n))return Reflect.get(Ga,n,r);if(n==="hasOwnProperty")return fh}const a=Reflect.get(t,n,r);return(or(n)?uu.has(n):ch(n))||(i||ot(t,"get",n),s)?a:at(a)?o&&qo(n)?a:a.value:Ce(a)?i?vu(a):Qr(a):a}}class du extends fu{constructor(t=!1){super(!1,t)}set(t,n,r,i){let s=t[n];if(!this._shallow){const l=Xn(s);if(!Ti(r)&&!Xn(r)&&(s=pe(s),r=pe(r)),!te(t)&&at(s)&&!at(r))return l?!1:(s.value=r,!0)}const o=te(t)&&qo(n)?Number(n)<t.length:fe(t,n),a=Reflect.set(t,n,r,i);return t===pe(i)&&(o?cn(r,s)&&Qt(t,"set",n,r):Qt(t,"add",n,r)),a}deleteProperty(t,n){const r=fe(t,n);t[n];const i=Reflect.deleteProperty(t,n);return i&&r&&Qt(t,"delete",n,void 0),i}has(t,n){const r=Reflect.has(t,n);return(!or(n)||!uu.has(n))&&ot(t,"has",n),r}ownKeys(t){return ot(t,"iterate",te(t)?"length":In),Reflect.ownKeys(t)}}class dh extends fu{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const hh=new du,ph=new dh,mh=new du(!0),zo=e=>e,qi=e=>Reflect.getPrototypeOf(e);function Jr(e,t,n=!1,r=!1){e=e.__v_raw;const i=pe(e),s=pe(t);n||(cn(t,s)&&ot(i,"get",t),ot(i,"get",s));const{has:o}=qi(i),a=r?zo:n?Yo:Ar;if(o.call(i,t))return a(e.get(t));if(o.call(i,s))return a(e.get(s));e!==i&&e.get(t)}function Zr(e,t=!1){const n=this.__v_raw,r=pe(n),i=pe(e);return t||(cn(e,i)&&ot(r,"has",e),ot(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function Xr(e,t=!1){return e=e.__v_raw,!t&&ot(pe(e),"iterate",In),Reflect.get(e,"size",e)}function za(e){e=pe(e);const t=pe(this);return qi(t).has.call(t,e)||(t.add(e),Qt(t,"add",e,e)),this}function Wa(e,t){t=pe(t);const n=pe(this),{has:r,get:i}=qi(n);let s=r.call(n,e);s||(e=pe(e),s=r.call(n,e));const o=i.call(n,e);return n.set(e,t),s?cn(t,o)&&Qt(n,"set",e,t):Qt(n,"add",e,t),this}function Ka(e){const t=pe(this),{has:n,get:r}=qi(t);let i=n.call(t,e);i||(e=pe(e),i=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return i&&Qt(t,"delete",e,void 0),s}function Ya(){const e=pe(this),t=e.size!==0,n=e.clear();return t&&Qt(e,"clear",void 0,void 0),n}function ei(e,t){return function(r,i){const s=this,o=s.__v_raw,a=pe(o),l=t?zo:e?Yo:Ar;return!e&&ot(a,"iterate",In),o.forEach((c,u)=>r.call(i,l(c),l(u),s))}}function ti(e,t,n){return function(...r){const i=this.__v_raw,s=pe(i),o=zn(s),a=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,c=i[e](...r),u=n?zo:t?Yo:Ar;return!t&&ot(s,"iterate",l?zs:In),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function Wt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function vh(){const e={get(s){return Jr(this,s)},get size(){return Xr(this)},has:Zr,add:za,set:Wa,delete:Ka,clear:Ya,forEach:ei(!1,!1)},t={get(s){return Jr(this,s,!1,!0)},get size(){return Xr(this)},has:Zr,add:za,set:Wa,delete:Ka,clear:Ya,forEach:ei(!1,!0)},n={get(s){return Jr(this,s,!0)},get size(){return Xr(this,!0)},has(s){return Zr.call(this,s,!0)},add:Wt("add"),set:Wt("set"),delete:Wt("delete"),clear:Wt("clear"),forEach:ei(!0,!1)},r={get(s){return Jr(this,s,!0,!0)},get size(){return Xr(this,!0)},has(s){return Zr.call(this,s,!0)},add:Wt("add"),set:Wt("set"),delete:Wt("delete"),clear:Wt("clear"),forEach:ei(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=ti(s,!1,!1),n[s]=ti(s,!0,!1),t[s]=ti(s,!1,!0),r[s]=ti(s,!0,!0)}),[e,n,t,r]}const[yh,gh,bh,_h]=vh();function Wo(e,t){const n=t?e?_h:bh:e?gh:yh;return(r,i,s)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(fe(n,i)&&i in r?n:r,i,s)}const Eh={get:Wo(!1,!1)},wh={get:Wo(!1,!0)},Th={get:Wo(!0,!1)},hu=new WeakMap,pu=new WeakMap,mu=new WeakMap,xh=new WeakMap;function Oh(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Sh(e){return e.__v_skip||!Object.isExtensible(e)?0:Oh(Wd(e))}function Qr(e){return Xn(e)?e:Ko(e,!1,hh,Eh,hu)}function Ih(e){return Ko(e,!1,mh,wh,pu)}function vu(e){return Ko(e,!0,ph,Th,mu)}function Ko(e,t,n,r,i){if(!Ce(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=i.get(e);if(s)return s;const o=Sh(e);if(o===0)return e;const a=new Proxy(e,o===2?r:n);return i.set(e,a),a}function Wn(e){return Xn(e)?Wn(e.__v_raw):!!(e&&e.__v_isReactive)}function Xn(e){return!!(e&&e.__v_isReadonly)}function Ti(e){return!!(e&&e.__v_isShallow)}function yu(e){return Wn(e)||Xn(e)}function pe(e){const t=e&&e.__v_raw;return t?pe(t):e}function gu(e){return wi(e,"__v_skip",!0),e}const Ar=e=>Ce(e)?Qr(e):e,Yo=e=>Ce(e)?vu(e):e;class bu{constructor(t,n,r,i){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Ho(()=>t(this._value),()=>di(this,1),()=>this.dep&&lu(this.dep)),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const t=pe(this);return(!t._cacheable||t.effect.dirty)&&cn(t._value,t._value=t.effect.run())&&di(t,2),_u(t),t.effect._dirtyLevel>=1&&di(t,1),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function kh(e,t,n=!1){let r,i;const s=ie(e);return s?(r=e,i=dt):(r=e.get,i=e.set),new bu(r,i,s||!i,n)}function _u(e){an&&Sn&&(e=pe(e),ou(Sn,e.dep||(e.dep=cu(()=>e.dep=void 0,e instanceof bu?e:void 0))))}function di(e,t=2,n){e=pe(e);const r=e.dep;r&&au(r,t)}function at(e){return!!(e&&e.__v_isRef===!0)}function he(e){return Eu(e,!1)}function Ch(e){return Eu(e,!0)}function Eu(e,t){return at(e)?e:new Ah(e,t)}class Ah{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:pe(t),this._value=n?t:Ar(t)}get value(){return _u(this),this._value}set value(t){const n=this.__v_isShallow||Ti(t)||Xn(t);t=n?t:pe(t),cn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Ar(t),di(this,2))}}function ut(e){return at(e)?e.value:e}const Dh={get:(e,t,n)=>ut(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return at(i)&&!at(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function wu(e){return Wn(e)?e:new Proxy(e,Dh)}/**
* @vue/runtime-core v3.4.15
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function ln(e,t,n,r){let i;try{i=r?e(...r):e()}catch(s){Bi(s,t,n)}return i}function vt(e,t,n,r){if(ie(e)){const s=ln(e,t,n,r);return s&&Xc(s)&&s.catch(o=>{Bi(o,t,n)}),s}const i=[];for(let s=0;s<e.length;s++)i.push(vt(e[s],t,n,r));return i}function Bi(e,t,n,r=!0){const i=t?t.vnode:null;if(t){let s=t.parent;const o=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const c=s.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,o,a)===!1)return}s=s.parent}const l=t.appContext.config.errorHandler;if(l){ln(l,null,10,[e,o,a]);return}}Ph(e,n,i,r)}function Ph(e,t,n,r=!0){console.error(e)}let Dr=!1,Ws=!1;const Ze=[];let Pt=0;const Kn=[];let Xt=null,En=0;const Tu=Promise.resolve();let Jo=null;function Rt(e){const t=Jo||Tu;return e?t.then(this?e.bind(this):e):t}function Rh(e){let t=Pt+1,n=Ze.length;for(;t<n;){const r=t+n>>>1,i=Ze[r],s=Pr(i);s<e||s===e&&i.pre?t=r+1:n=r}return t}function Zo(e){(!Ze.length||!Ze.includes(e,Dr&&e.allowRecurse?Pt+1:Pt))&&(e.id==null?Ze.push(e):Ze.splice(Rh(e.id),0,e),xu())}function xu(){!Dr&&!Ws&&(Ws=!0,Jo=Tu.then(Su))}function Nh(e){const t=Ze.indexOf(e);t>Pt&&Ze.splice(t,1)}function Mh(e){te(e)?Kn.push(...e):(!Xt||!Xt.includes(e,e.allowRecurse?En+1:En))&&Kn.push(e),xu()}function Ja(e,t,n=Dr?Pt+1:0){for(;n<Ze.length;n++){const r=Ze[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;Ze.splice(n,1),n--,r()}}}function Ou(e){if(Kn.length){const t=[...new Set(Kn)].sort((n,r)=>Pr(n)-Pr(r));if(Kn.length=0,Xt){Xt.push(...t);return}for(Xt=t,En=0;En<Xt.length;En++)Xt[En]();Xt=null,En=0}}const Pr=e=>e.id==null?1/0:e.id,Lh=(e,t)=>{const n=Pr(e)-Pr(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Su(e){Ws=!1,Dr=!0,Ze.sort(Lh);const t=dt;try{for(Pt=0;Pt<Ze.length;Pt++){const n=Ze[Pt];n&&n.active!==!1&&ln(n,null,14)}}finally{Pt=0,Ze.length=0,Ou(),Dr=!1,Jo=null,(Ze.length||Kn.length)&&Su()}}function Fh(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Re;let i=n;const s=t.startsWith("update:"),o=s&&t.slice(7);if(o&&o in r){const u=`${o==="modelValue"?"model":o}Modifiers`,{number:f,trim:d}=r[u]||Re;d&&(i=n.map(h=>je(h)?h.trim():h)),f&&(i=n.map(Jd))}let a,l=r[a=hs(t)]||r[a=hs(Nt(t))];!l&&s&&(l=r[a=hs(ar(t))]),l&&vt(l,e,6,i);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,vt(c,e,6,i)}}function Iu(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const s=e.emits;let o={},a=!1;if(!ie(e)){const l=c=>{const u=Iu(c,t,!0);u&&(a=!0,Ue(o,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(Ce(e)&&r.set(e,null),null):(te(s)?s.forEach(l=>o[l]=null):Ue(o,s),Ce(e)&&r.set(e,o),o)}function Qi(e,t){return!e||!Fi(t)?!1:(t=t.slice(2).replace(/Once$/,""),fe(e,t[0].toLowerCase()+t.slice(1))||fe(e,ar(t))||fe(e,t))}let Xe=null,ku=null;function xi(e){const t=Xe;return Xe=e,ku=e&&e.type.__scopeId||null,t}function Oe(e,t=Xe,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&hl(-1);const s=xi(t);let o;try{o=e(...i)}finally{xi(s),r._d&&hl(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function vs(e){const{type:t,vnode:n,proxy:r,withProxy:i,props:s,propsOptions:[o],slots:a,attrs:l,emit:c,render:u,renderCache:f,data:d,setupState:h,ctx:p,inheritAttrs:m}=e;let g,v;const E=xi(e);try{if(n.shapeFlag&4){const T=i||r,S=T;g=Dt(u.call(S,T,f,s,h,d,p)),v=l}else{const T=t;g=Dt(T.length>1?T(s,{attrs:l,slots:a,emit:c}):T(s,null)),v=t.props?l:jh(l)}}catch(T){xr.length=0,Bi(T,e,1),g=oe(yt)}let b=g;if(v&&m!==!1){const T=Object.keys(v),{shapeFlag:S}=b;T.length&&S&7&&(o&&T.some($o)&&(v=$h(v,o)),b=Ht(b,v))}return n.dirs&&(b=Ht(b),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),g=b,xi(E),g}const jh=e=>{let t;for(const n in e)(n==="class"||n==="style"||Fi(n))&&((t||(t={}))[n]=e[n]);return t},$h=(e,t)=>{const n={};for(const r in e)(!$o(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Vh(e,t,n){const{props:r,children:i,component:s}=e,{props:o,children:a,patchFlag:l}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Za(r,o,c):!!o;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(o[d]!==r[d]&&!Qi(c,d))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:r===o?!1:r?o?Za(r,o,c):!0:!!o;return!1}function Za(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){const s=r[i];if(t[s]!==e[s]&&!Qi(n,s))return!0}return!1}function qh({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 Xo="components";function tt(e,t){return Au(Xo,e,!0,t)||e}const Cu=Symbol.for("v-ndc");function Xa(e){return je(e)?Au(Xo,e,!1)||e:e||Cu}function Au(e,t,n=!0,r=!1){const i=Xe||Ye;if(i){const s=i.type;if(e===Xo){const a=Fp(s,!1);if(a&&(a===t||a===Nt(t)||a===Vi(Nt(t))))return s}const o=el(i[e]||s[e],t)||el(i.appContext[e],t);return!o&&r?s:o}}function el(e,t){return e&&(e[t]||e[Nt(t)]||e[Vi(Nt(t))])}const Bh=e=>e.__isSuspense;function Qh(e,t){t&&t.pendingBranch?te(e)?t.effects.push(...e):t.effects.push(e):Mh(e)}const Hh=Symbol.for("v-scx"),Uh=()=>Je(Hh);function It(e,t){return ea(e,null,t)}const ni={};function _r(e,t,n){return ea(e,t,n)}function ea(e,t,{immediate:n,deep:r,flush:i,once:s,onTrack:o,onTrigger:a}=Re){if(t&&s){const w=t;t=(...P)=>{w(...P),S()}}const l=Ye,c=w=>r===!0?w:Bn(w,r===!1?1:void 0);let u,f=!1,d=!1;if(at(e)?(u=()=>e.value,f=Ti(e)):Wn(e)?(u=()=>c(e),f=!0):te(e)?(d=!0,f=e.some(w=>Wn(w)||Ti(w)),u=()=>e.map(w=>{if(at(w))return w.value;if(Wn(w))return c(w);if(ie(w))return ln(w,l,2)})):ie(e)?t?u=()=>ln(e,l,2):u=()=>(h&&h(),vt(e,l,3,[p])):u=dt,t&&r){const w=u;u=()=>Bn(w())}let h,p=w=>{h=b.onStop=()=>{ln(w,l,4),h=b.onStop=void 0}},m;if(Wi)if(p=dt,t?n&&vt(t,l,3,[u(),d?[]:void 0,p]):u(),i==="sync"){const w=Uh();m=w.__watcherHandles||(w.__watcherHandles=[])}else return dt;let g=d?new Array(e.length).fill(ni):ni;const v=()=>{if(!(!b.active||!b.dirty))if(t){const w=b.run();(r||f||(d?w.some((P,k)=>cn(P,g[k])):cn(w,g)))&&(h&&h(),vt(t,l,3,[w,g===ni?void 0:d&&g[0]===ni?[]:g,p]),g=w)}else b.run()};v.allowRecurse=!!t;let E;i==="sync"?E=v:i==="post"?E=()=>st(v,l&&l.suspense):(v.pre=!0,l&&(v.id=l.uid),E=()=>Zo(v));const b=new Ho(u,dt,E),T=ah(),S=()=>{b.stop(),T&&Vo(T.effects,b)};return t?n?v():g=b.run():i==="post"?st(b.run.bind(b),l&&l.suspense):b.run(),m&&m.push(S),S}function Gh(e,t,n){const r=this.proxy,i=je(e)?e.includes(".")?Du(r,e):()=>r[e]:e.bind(r,r);let s;ie(t)?s=t:(s=t.handler,n=t);const o=Hr(this),a=ea(i,s.bind(r),n);return o(),a}function Du(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i<n.length&&r;i++)r=r[n[i]];return r}}function Bn(e,t,n=0,r){if(!Ce(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),at(e))Bn(e.value,t,n,r);else if(te(e))for(let i=0;i<e.length;i++)Bn(e[i],t,n,r);else if(Zc(e)||zn(e))e.forEach(i=>{Bn(i,t,n,r)});else if(tu(e))for(const i in e)Bn(e[i],t,n,r);return e}function yn(e,t,n,r){const i=e.dirs,s=t&&t.dirs;for(let o=0;o<i.length;o++){const a=i[o];s&&(a.oldValue=s[o].value);let l=a.dir[r];l&&(Pn(),vt(l,n,8,[e.el,a,e,t]),Rn())}}const en=Symbol("_leaveCb"),ri=Symbol("_enterCb");function zh(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Rr(()=>{e.isMounted=!0}),ta(()=>{e.isUnmounting=!0}),e}const mt=[Function,Array],Pu={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:mt,onEnter:mt,onAfterEnter:mt,onEnterCancelled:mt,onBeforeLeave:mt,onLeave:mt,onAfterLeave:mt,onLeaveCancelled:mt,onBeforeAppear:mt,onAppear:mt,onAfterAppear:mt,onAppearCancelled:mt},Wh={name:"BaseTransition",props:Pu,setup(e,{slots:t}){const n=aa(),r=zh();let i;return()=>{const s=t.default&&Nu(t.default(),!0);if(!s||!s.length)return;let o=s[0];if(s.length>1){for(const m of s)if(m.type!==yt){o=m;break}}const a=pe(e),{mode:l}=a;if(r.isLeaving)return ys(o);const c=tl(o);if(!c)return ys(o);const u=Ks(c,a,r,n);Ys(c,u);const f=n.subTree,d=f&&tl(f);let h=!1;const{getTransitionKey:p}=c.type;if(p){const m=p();i===void 0?i=m:m!==i&&(i=m,h=!0)}if(d&&d.type!==yt&&(!wn(c,d)||h)){const m=Ks(d,a,r,n);if(Ys(d,m),l==="out-in")return r.isLeaving=!0,m.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},ys(o);l==="in-out"&&c.type!==yt&&(m.delayLeave=(g,v,E)=>{const b=Ru(r,d);b[String(d.key)]=d,g[en]=()=>{v(),g[en]=void 0,delete u.delayedLeave},u.delayedLeave=E})}return o}}},Kh=Wh;function Ru(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Ks(e,t,n,r){const{appear:i,mode:s,persisted:o=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:h,onLeaveCancelled:p,onBeforeAppear:m,onAppear:g,onAfterAppear:v,onAppearCancelled:E}=t,b=String(e.key),T=Ru(n,e),S=(k,B)=>{k&&vt(k,r,9,B)},w=(k,B)=>{const K=B[1];S(k,B),te(k)?k.every(X=>X.length<=1)&&K():k.length<=1&&K()},P={mode:s,persisted:o,beforeEnter(k){let B=a;if(!n.isMounted)if(i)B=m||a;else return;k[en]&&k[en](!0);const K=T[b];K&&wn(e,K)&&K.el[en]&&K.el[en](),S(B,[k])},enter(k){let B=l,K=c,X=u;if(!n.isMounted)if(i)B=g||l,K=v||c,X=E||u;else return;let $=!1;const ge=k[ri]=$e=>{$||($=!0,$e?S(X,[k]):S(K,[k]),P.delayedLeave&&P.delayedLeave(),k[ri]=void 0)};B?w(B,[k,ge]):ge()},leave(k,B){const K=String(e.key);if(k[ri]&&k[ri](!0),n.isUnmounting)return B();S(f,[k]);let X=!1;const $=k[en]=ge=>{X||(X=!0,B(),ge?S(p,[k]):S(h,[k]),k[en]=void 0,T[K]===e&&delete T[K])};T[K]=e,d?w(d,[k,$]):$()},clone(k){return Ks(k,t,n,r)}};return P}function ys(e){if(Hi(e))return e=Ht(e),e.children=null,e}function tl(e){return Hi(e)?e.children?e.children[0]:void 0:e}function Ys(e,t){e.shapeFlag&6&&e.component?Ys(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Nu(e,t=!1,n){let r=[],i=0;for(let s=0;s<e.length;s++){let o=e[s];const a=n==null?o.key:String(n)+String(o.key!=null?o.key:s);o.type===ye?(o.patchFlag&128&&i++,r=r.concat(Nu(o.children,t,a))):(t||o.type!==yt)&&r.push(a!=null?Ht(o,{key:a}):o)}if(i>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function He(e,t){return ie(e)?(()=>Ue({name:e.name},t,{setup:e}))():e}const Er=e=>!!e.type.__asyncLoader,Hi=e=>e.type.__isKeepAlive;function Mu(e,t){Fu(e,"a",t)}function Lu(e,t){Fu(e,"da",t)}function Fu(e,t,n=Ye){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Ui(t,r,n),n){let i=n.parent;for(;i&&i.parent;)Hi(i.parent.vnode)&&Yh(r,t,n,i),i=i.parent}}function Yh(e,t,n,r){const i=Ui(t,e,r,!0);na(()=>{Vo(r[t],i)},n)}function Ui(e,t,n=Ye,r=!1){if(n){const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Pn();const a=Hr(n),l=vt(t,n,e,o);return a(),Rn(),l});return r?i.unshift(s):i.push(s),s}}const Gt=e=>(t,n=Ye)=>(!Wi||e==="sp")&&Ui(e,(...r)=>t(...r),n),Jh=Gt("bm"),Rr=Gt("m"),Zh=Gt("bu"),Xh=Gt("u"),ta=Gt("bum"),na=Gt("um"),ep=Gt("sp"),tp=Gt("rtg"),np=Gt("rtc");function rp(e,t=Ye){Ui("ec",e,t)}function ct(e,t,n,r){let i;const s=n&&n[r];if(te(e)||je(e)){i=new Array(e.length);for(let o=0,a=e.length;o<a;o++)i[o]=t(e[o],o,void 0,s&&s[o])}else if(typeof e=="number"){i=new Array(e);for(let o=0;o<e;o++)i[o]=t(o+1,o,void 0,s&&s[o])}else if(Ce(e))if(e[Symbol.iterator])i=Array.from(e,(o,a)=>t(o,a,void 0,s&&s[a]));else{const o=Object.keys(e);i=new Array(o.length);for(let a=0,l=o.length;a<l;a++){const c=o[a];i[a]=t(e[c],c,a,s&&s[a])}}else i=[];return n&&(n[r]=i),i}function nl(e,t,n={},r,i){if(Xe.isCE||Xe.parent&&Er(Xe.parent)&&Xe.parent.isCE)return t!=="default"&&(n.name=t),oe("slot",n,r&&r());let s=e[t];s&&s._c&&(s._d=!1),j();const o=s&&ju(s(n)),a=nt(ye,{key:n.key||o&&o.key||`_${t}`},o||(r?r():[]),o&&e._===1?64:-2);return!i&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),s&&s._c&&(s._d=!0),a}function ju(e){return e.some(t=>Ii(t)?!(t.type===yt||t.type===ye&&!ju(t.children)):!0)?e:null}const Js=e=>e?Yu(e)?la(e)||e.proxy:Js(e.parent):null,wr=Ue(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=>Js(e.parent),$root:e=>Js(e.root),$emit:e=>e.emit,$options:e=>ra(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Zo(e.update)}),$nextTick:e=>e.n||(e.n=Rt.bind(e.proxy)),$watch:e=>Gh.bind(e)}),gs=(e,t)=>e!==Re&&!e.__isScriptSetup&&fe(e,t),ip={get({_:e},t){const{ctx:n,setupState:r,data:i,props:s,accessCache:o,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const h=o[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return s[t]}else{if(gs(r,t))return o[t]=1,r[t];if(i!==Re&&fe(i,t))return o[t]=2,i[t];if((c=e.propsOptions[0])&&fe(c,t))return o[t]=3,s[t];if(n!==Re&&fe(n,t))return o[t]=4,n[t];Zs&&(o[t]=0)}}const u=wr[t];let f,d;if(u)return t==="$attrs"&&ot(e,"get",t),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==Re&&fe(n,t))return o[t]=4,n[t];if(d=l.config.globalProperties,fe(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return gs(i,t)?(i[t]=n,!0):r!==Re&&fe(r,t)?(r[t]=n,!0):fe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:s}},o){let a;return!!n[o]||e!==Re&&fe(e,o)||gs(t,o)||(a=s[0])&&fe(a,o)||fe(r,o)||fe(wr,o)||fe(i.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:fe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function rl(e){return te(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Zs=!0;function sp(e){const t=ra(e),n=e.proxy,r=e.ctx;Zs=!1,t.beforeCreate&&il(t.beforeCreate,e,"bc");const{data:i,computed:s,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:p,activated:m,deactivated:g,beforeDestroy:v,beforeUnmount:E,destroyed:b,unmounted:T,render:S,renderTracked:w,renderTriggered:P,errorCaptured:k,serverPrefetch:B,expose:K,inheritAttrs:X,components:$,directives:ge,filters:$e}=t;if(c&&op(c,r,null),o)for(const be in o){const me=o[be];ie(me)&&(r[be]=me.bind(n))}if(i){const be=i.call(n,n);Ce(be)&&(e.data=Qr(be))}if(Zs=!0,s)for(const be in s){const me=s[be],Ae=ie(me)?me.bind(n,n):ie(me.get)?me.get.bind(n,n):dt,$t=!ie(me)&&ie(me.set)?me.set.bind(n):dt,it=de({get:Ae,set:$t});Object.defineProperty(r,be,{enumerable:!0,configurable:!0,get:()=>it.value,set:Ve=>it.value=Ve})}if(a)for(const be in a)$u(a[be],r,n,be);if(l){const be=ie(l)?l.call(n):l;Reflect.ownKeys(be).forEach(me=>{xt(me,be[me])})}u&&il(u,e,"c");function Se(be,me){te(me)?me.forEach(Ae=>be(Ae.bind(n))):me&&be(me.bind(n))}if(Se(Jh,f),Se(Rr,d),Se(Zh,h),Se(Xh,p),Se(Mu,m),Se(Lu,g),Se(rp,k),Se(np,w),Se(tp,P),Se(ta,E),Se(na,T),Se(ep,B),te(K))if(K.length){const be=e.exposed||(e.exposed={});K.forEach(me=>{Object.defineProperty(be,me,{get:()=>n[me],set:Ae=>n[me]=Ae})})}else e.exposed||(e.exposed={});S&&e.render===dt&&(e.render=S),X!=null&&(e.inheritAttrs=X),$&&(e.components=$),ge&&(e.directives=ge)}function op(e,t,n=dt){te(e)&&(e=Xs(e));for(const r in e){const i=e[r];let s;Ce(i)?"default"in i?s=Je(i.from||r,i.default,!0):s=Je(i.from||r):s=Je(i),at(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:o=>s.value=o}):t[r]=s}}function il(e,t,n){vt(te(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function $u(e,t,n,r){const i=r.includes(".")?Du(n,r):()=>n[r];if(je(e)){const s=t[e];ie(s)&&_r(i,s)}else if(ie(e))_r(i,e.bind(n));else if(Ce(e))if(te(e))e.forEach(s=>$u(s,t,n,r));else{const s=ie(e.handler)?e.handler.bind(n):t[e.handler];ie(s)&&_r(i,s,e)}}function ra(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:s,config:{optionMergeStrategies:o}}=e.appContext,a=s.get(t);let l;return a?l=a:!i.length&&!n&&!r?l=t:(l={},i.length&&i.forEach(c=>Oi(l,c,o,!0)),Oi(l,t,o)),Ce(t)&&s.set(t,l),l}function Oi(e,t,n,r=!1){const{mixins:i,extends:s}=t;s&&Oi(e,s,n,!0),i&&i.forEach(o=>Oi(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const a=ap[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const ap={data:sl,props:ol,emits:ol,methods:gr,computed:gr,beforeCreate:et,created:et,beforeMount:et,mounted:et,beforeUpdate:et,updated:et,beforeDestroy:et,beforeUnmount:et,destroyed:et,unmounted:et,activated:et,deactivated:et,errorCaptured:et,serverPrefetch:et,components:gr,directives:gr,watch:cp,provide:sl,inject:lp};function sl(e,t){return t?e?function(){return Ue(ie(e)?e.call(this,this):e,ie(t)?t.call(this,this):t)}:t:e}function lp(e,t){return gr(Xs(e),Xs(t))}function Xs(e){if(te(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function et(e,t){return e?[...new Set([].concat(e,t))]:t}function gr(e,t){return e?Ue(Object.create(null),e,t):t}function ol(e,t){return e?te(e)&&te(t)?[...new Set([...e,...t])]:Ue(Object.create(null),rl(e),rl(t??{})):t}function cp(e,t){if(!e)return t;if(!t)return e;const n=Ue(Object.create(null),e);for(const r in t)n[r]=et(e[r],t[r]);return n}function Vu(){return{app:null,config:{isNativeTag:Gd,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 up=0;function fp(e,t){return function(r,i=null){ie(r)||(r=Ue({},r)),i!=null&&!Ce(i)&&(i=null);const s=Vu(),o=new WeakSet;let a=!1;const l=s.app={_uid:up++,_component:r,_props:i,_container:null,_context:s,_instance:null,version:ca,get config(){return s.config},set config(c){},use(c,...u){return o.has(c)||(c&&ie(c.install)?(o.add(c),c.install(l,...u)):ie(c)&&(o.add(c),c(l,...u))),l},mixin(c){return s.mixins.includes(c)||s.mixins.push(c),l},component(c,u){return u?(s.components[c]=u,l):s.components[c]},directive(c,u){return u?(s.directives[c]=u,l):s.directives[c]},mount(c,u,f){if(!a){const d=oe(r,i);return d.appContext=s,f===!0?f="svg":f===!1&&(f=void 0),u&&t?t(d,c):e(d,c,f),a=!0,l._container=c,c.__vue_app__=l,la(d.component)||d.component.proxy}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(c,u){return s.provides[c]=u,l},runWithContext(c){Si=l;try{return c()}finally{Si=null}}};return l}}let Si=null;function xt(e,t){if(Ye){let n=Ye.provides;const r=Ye.parent&&Ye.parent.provides;r===n&&(n=Ye.provides=Object.create(r)),n[e]=t}}function Je(e,t,n=!1){const r=Ye||Xe;if(r||Si){const i=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Si._context.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&ie(t)?t.call(r&&r.proxy):t}}function dp(e,t,n,r=!1){const i={},s={};wi(s,zi,1),e.propsDefaults=Object.create(null),qu(e,t,i,s);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);n?e.props=r?i:Ih(i):e.type.props?e.props=i:e.props=s,e.attrs=s}function hp(e,t,n,r){const{props:i,attrs:s,vnode:{patchFlag:o}}=e,a=pe(i),[l]=e.propsOptions;let c=!1;if((r||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Qi(e.emitsOptions,d))continue;const h=t[d];if(l)if(fe(s,d))h!==s[d]&&(s[d]=h,c=!0);else{const p=Nt(d);i[p]=eo(l,a,p,h,e,!1)}else h!==s[d]&&(s[d]=h,c=!0)}}}else{qu(e,t,i,s)&&(c=!0);let u;for(const f in a)(!t||!fe(t,f)&&((u=ar(f))===f||!fe(t,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(i[f]=eo(l,a,f,void 0,e,!0)):delete i[f]);if(s!==a)for(const f in s)(!t||!fe(t,f))&&(delete s[f],c=!0)}c&&Qt(e,"set","$attrs")}function qu(e,t,n,r){const[i,s]=e.propsOptions;let o=!1,a;if(t)for(let l in t){if(fi(l))continue;const c=t[l];let u;i&&fe(i,u=Nt(l))?!s||!s.includes(u)?n[u]=c:(a||(a={}))[u]=c:Qi(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,o=!0)}if(s){const l=pe(n),c=a||Re;for(let u=0;u<s.length;u++){const f=s[u];n[f]=eo(i,l,f,c[f],e,!fe(c,f))}}return o}function eo(e,t,n,r,i,s){const o=e[n];if(o!=null){const a=fe(o,"default");if(a&&r===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&ie(l)){const{propsDefaults:c}=i;if(n in c)r=c[n];else{const u=Hr(i);r=c[n]=l.call(null,t),u()}}else r=l}o[0]&&(s&&!a?r=!1:o[1]&&(r===""||r===ar(n))&&(r=!0))}return r}function Bu(e,t,n=!1){const r=t.propsCache,i=r.get(e);if(i)return i;const s=e.props,o={},a=[];let l=!1;if(!ie(e)){const u=f=>{l=!0;const[d,h]=Bu(f,t,!0);Ue(o,d),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!l)return Ce(e)&&r.set(e,Gn),Gn;if(te(s))for(let u=0;u<s.length;u++){const f=Nt(s[u]);al(f)&&(o[f]=Re)}else if(s)for(const u in s){const f=Nt(u);if(al(f)){const d=s[u],h=o[f]=te(d)||ie(d)?{type:d}:Ue({},d);if(h){const p=ul(Boolean,h.type),m=ul(String,h.type);h[0]=p>-1,h[1]=m<0||p<m,(p>-1||fe(h,"default"))&&a.push(f)}}}const c=[o,a];return Ce(e)&&r.set(e,c),c}function al(e){return e[0]!=="$"}function ll(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function cl(e,t){return ll(e)===ll(t)}function ul(e,t){return te(t)?t.findIndex(n=>cl(n,e)):ie(t)&&cl(t,e)?0:-1}const Qu=e=>e[0]==="_"||e==="$stable",ia=e=>te(e)?e.map(Dt):[Dt(e)],pp=(e,t,n)=>{if(t._n)return t;const r=Oe((...i)=>ia(t(...i)),n);return r._c=!1,r},Hu=(e,t,n)=>{const r=e._ctx;for(const i in e){if(Qu(i))continue;const s=e[i];if(ie(s))t[i]=pp(i,s,r);else if(s!=null){const o=ia(s);t[i]=()=>o}}},Uu=(e,t)=>{const n=ia(t);e.slots.default=()=>n},mp=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=pe(t),wi(t,"_",n)):Hu(t,e.slots={})}else e.slots={},t&&Uu(e,t);wi(e.slots,zi,1)},vp=(e,t,n)=>{const{vnode:r,slots:i}=e;let s=!0,o=Re;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:(Ue(i,t),!n&&a===1&&delete i._):(s=!t.$stable,Hu(t,i)),o=t}else t&&(Uu(e,t),o={default:1});if(s)for(const a in i)!Qu(a)&&o[a]==null&&delete i[a]};function to(e,t,n,r,i=!1){if(te(e)){e.forEach((d,h)=>to(d,t&&(te(t)?t[h]:t),n,r,i));return}if(Er(r)&&!i)return;const s=r.shapeFlag&4?la(r.component)||r.component.proxy:r.el,o=i?null:s,{i:a,r:l}=e,c=t&&t.r,u=a.refs===Re?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==l&&(je(c)?(u[c]=null,fe(f,c)&&(f[c]=null)):at(c)&&(c.value=null)),ie(l))ln(l,a,12,[o,u]);else{const d=je(l),h=at(l),p=e.f;if(d||h){const m=()=>{if(p){const g=d?fe(f,l)?f[l]:u[l]:l.value;i?te(g)&&Vo(g,s):te(g)?g.includes(s)||g.push(s):d?(u[l]=[s],fe(f,l)&&(f[l]=u[l])):(l.value=[s],e.k&&(u[e.k]=l.value))}else d?(u[l]=o,fe(f,l)&&(f[l]=o)):h&&(l.value=o,e.k&&(u[e.k]=o))};i||p?m():(m.id=-1,st(m,n))}}}function yp(){typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__!="boolean"&&(Bo().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!1)}const st=Qh;function gp(e){return bp(e)}function bp(e,t){yp();const n=Bo();n.__VUE__=!0;const{insert:r,remove:i,patchProp:s,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=dt,insertStaticContent:p}=e,m=(y,_,O,A=null,D=null,L=null,q=void 0,M=null,F=!!_.dynamicChildren)=>{if(y===_)return;y&&!wn(y,_)&&(A=V(y),Ve(y,D,L,!0),y=null),_.patchFlag===-2&&(F=!1,_.dynamicChildren=null);const{type:R,ref:H,shapeFlag:Z}=_;switch(R){case Gi:g(y,_,O,A);break;case yt:v(y,_,O,A);break;case hi:y==null&&E(_,O,A,q);break;case ye:$(y,_,O,A,D,L,q,M,F);break;default:Z&1?S(y,_,O,A,D,L,q,M,F):Z&6?ge(y,_,O,A,D,L,q,M,F):(Z&64||Z&128)&&R.process(y,_,O,A,D,L,q,M,F,Ie)}H!=null&&D&&to(H,y&&y.ref,L,_||y,!_)},g=(y,_,O,A)=>{if(y==null)r(_.el=a(_.children),O,A);else{const D=_.el=y.el;_.children!==y.children&&c(D,_.children)}},v=(y,_,O,A)=>{y==null?r(_.el=l(_.children||""),O,A):_.el=y.el},E=(y,_,O,A)=>{[y.el,y.anchor]=p(y.children,_,O,A,y.el,y.anchor)},b=({el:y,anchor:_},O,A)=>{let D;for(;y&&y!==_;)D=d(y),r(y,O,A),y=D;r(_,O,A)},T=({el:y,anchor:_})=>{let O;for(;y&&y!==_;)O=d(y),i(y),y=O;i(_)},S=(y,_,O,A,D,L,q,M,F)=>{_.type==="svg"?q="svg":_.type==="math"&&(q="mathml"),y==null?w(_,O,A,D,L,q,M,F):B(y,_,D,L,q,M,F)},w=(y,_,O,A,D,L,q,M)=>{let F,R;const{props:H,shapeFlag:Z,transition:J,dirs:ne}=y;if(F=y.el=o(y.type,L,H&&H.is,H),Z&8?u(F,y.children):Z&16&&k(y.children,F,null,A,D,bs(y,L),q,M),ne&&yn(y,null,A,"created"),P(F,y,y.scopeId,q,A),H){for(const Te in H)Te!=="value"&&!fi(Te)&&s(F,Te,null,H[Te],L,y.children,A,D,Q);"value"in H&&s(F,"value",null,H.value,L),(R=H.onVnodeBeforeMount)&&At(R,A,y)}ne&&yn(y,null,A,"beforeMount");const ce=_p(D,J);ce&&J.beforeEnter(F),r(F,_,O),((R=H&&H.onVnodeMounted)||ce||ne)&&st(()=>{R&&At(R,A,y),ce&&J.enter(F),ne&&yn(y,null,A,"mounted")},D)},P=(y,_,O,A,D)=>{if(O&&h(y,O),A)for(let L=0;L<A.length;L++)h(y,A[L]);if(D){let L=D.subTree;if(_===L){const q=D.vnode;P(y,q,q.scopeId,q.slotScopeIds,D.parent)}}},k=(y,_,O,A,D,L,q,M,F=0)=>{for(let R=F;R<y.length;R++){const H=y[R]=M?tn(y[R]):Dt(y[R]);m(null,H,_,O,A,D,L,q,M)}},B=(y,_,O,A,D,L,q)=>{const M=_.el=y.el;let{patchFlag:F,dynamicChildren:R,dirs:H}=_;F|=y.patchFlag&16;const Z=y.props||Re,J=_.props||Re;let ne;if(O&&gn(O,!1),(ne=J.onVnodeBeforeUpdate)&&At(ne,O,_,y),H&&yn(_,y,O,"beforeUpdate"),O&&gn(O,!0),R?K(y.dynamicChildren,R,M,O,A,bs(_,D),L):q||me(y,_,M,null,O,A,bs(_,D),L,!1),F>0){if(F&16)X(M,_,Z,J,O,A,D);else if(F&2&&Z.class!==J.class&&s(M,"class",null,J.class,D),F&4&&s(M,"style",Z.style,J.style,D),F&8){const ce=_.dynamicProps;for(let Te=0;Te<ce.length;Te++){const De=ce[Te],Ge=Z[De],bt=J[De];(bt!==Ge||De==="value")&&s(M,De,Ge,bt,D,y.children,O,A,Q)}}F&1&&y.children!==_.children&&u(M,_.children)}else!q&&R==null&&X(M,_,Z,J,O,A,D);((ne=J.onVnodeUpdated)||H)&&st(()=>{ne&&At(ne,O,_,y),H&&yn(_,y,O,"updated")},A)},K=(y,_,O,A,D,L,q)=>{for(let M=0;M<_.length;M++){const F=y[M],R=_[M],H=F.el&&(F.type===ye||!wn(F,R)||F.shapeFlag&70)?f(F.el):O;m(F,R,H,null,A,D,L,q,!0)}},X=(y,_,O,A,D,L,q)=>{if(O!==A){if(O!==Re)for(const M in O)!fi(M)&&!(M in A)&&s(y,M,O[M],null,q,_.children,D,L,Q);for(const M in A){if(fi(M))continue;const F=A[M],R=O[M];F!==R&&M!=="value"&&s(y,M,R,F,q,_.children,D,L,Q)}"value"in A&&s(y,"value",O.value,A.value,q)}},$=(y,_,O,A,D,L,q,M,F)=>{const R=_.el=y?y.el:a(""),H=_.anchor=y?y.anchor:a("");let{patchFlag:Z,dynamicChildren:J,slotScopeIds:ne}=_;ne&&(M=M?M.concat(ne):ne),y==null?(r(R,O,A),r(H,O,A),k(_.children||[],O,H,D,L,q,M,F)):Z>0&&Z&64&&J&&y.dynamicChildren?(K(y.dynamicChildren,J,O,D,L,q,M),(_.key!=null||D&&_===D.subTree)&&sa(y,_,!0)):me(y,_,O,H,D,L,q,M,F)},ge=(y,_,O,A,D,L,q,M,F)=>{_.slotScopeIds=M,y==null?_.shapeFlag&512?D.ctx.activate(_,O,A,q,F):$e(_,O,A,D,L,q,F):pt(y,_,F)},$e=(y,_,O,A,D,L,q)=>{const M=y.component=Pp(y,A,D);if(Hi(y)&&(M.ctx.renderer=Ie),Rp(M),M.asyncDep){if(D&&D.registerDep(M,Se),!y.el){const F=M.subTree=oe(yt);v(null,F,_,O)}}else Se(M,y,_,O,D,L,q)},pt=(y,_,O)=>{const A=_.component=y.component;if(Vh(y,_,O))if(A.asyncDep&&!A.asyncResolved){be(A,_,O);return}else A.next=_,Nh(A.update),A.effect.dirty=!0,A.update();else _.el=y.el,A.vnode=_},Se=(y,_,O,A,D,L,q)=>{const M=()=>{if(y.isMounted){let{next:H,bu:Z,u:J,parent:ne,vnode:ce}=y;{const Mn=Gu(y);if(Mn){H&&(H.el=ce.el,be(y,H,q)),Mn.asyncDep.then(()=>{y.isUnmounted||M()});return}}let Te=H,De;gn(y,!1),H?(H.el=ce.el,be(y,H,q)):H=ce,Z&&ps(Z),(De=H.props&&H.props.onVnodeBeforeUpdate)&&At(De,ne,H,ce),gn(y,!0);const Ge=vs(y),bt=y.subTree;y.subTree=Ge,m(bt,Ge,f(bt.el),V(bt),y,D,L),H.el=Ge.el,Te===null&&qh(y,Ge.el),J&&st(J,D),(De=H.props&&H.props.onVnodeUpdated)&&st(()=>At(De,ne,H,ce),D)}else{let H;const{el:Z,props:J}=_,{bm:ne,m:ce,parent:Te}=y,De=Er(_);if(gn(y,!1),ne&&ps(ne),!De&&(H=J&&J.onVnodeBeforeMount)&&At(H,Te,_),gn(y,!0),Z&&re){const Ge=()=>{y.subTree=vs(y),re(Z,y.subTree,y,D,null)};De?_.type.__asyncLoader().then(()=>!y.isUnmounted&&Ge()):Ge()}else{const Ge=y.subTree=vs(y);m(null,Ge,O,A,y,D,L),_.el=Ge.el}if(ce&&st(ce,D),!De&&(H=J&&J.onVnodeMounted)){const Ge=_;st(()=>At(H,Te,Ge),D)}(_.shapeFlag&256||Te&&Er(Te.vnode)&&Te.vnode.shapeFlag&256)&&y.a&&st(y.a,D),y.isMounted=!0,_=O=A=null}},F=y.effect=new Ho(M,dt,()=>Zo(R),y.scope),R=y.update=()=>{F.dirty&&F.run()};R.id=y.uid,gn(y,!0),R()},be=(y,_,O)=>{_.component=y;const A=y.vnode.props;y.vnode=_,y.next=null,hp(y,_.props,A,O),vp(y,_.children,O),Pn(),Ja(y),Rn()},me=(y,_,O,A,D,L,q,M,F=!1)=>{const R=y&&y.children,H=y?y.shapeFlag:0,Z=_.children,{patchFlag:J,shapeFlag:ne}=_;if(J>0){if(J&128){$t(R,Z,O,A,D,L,q,M,F);return}else if(J&256){Ae(R,Z,O,A,D,L,q,M,F);return}}ne&8?(H&16&&Q(R,D,L),Z!==R&&u(O,Z)):H&16?ne&16?$t(R,Z,O,A,D,L,q,M,F):Q(R,D,L,!0):(H&8&&u(O,""),ne&16&&k(Z,O,A,D,L,q,M,F))},Ae=(y,_,O,A,D,L,q,M,F)=>{y=y||Gn,_=_||Gn;const R=y.length,H=_.length,Z=Math.min(R,H);let J;for(J=0;J<Z;J++){const ne=_[J]=F?tn(_[J]):Dt(_[J]);m(y[J],ne,O,null,D,L,q,M,F)}R>H?Q(y,D,L,!0,!1,Z):k(_,O,A,D,L,q,M,F,Z)},$t=(y,_,O,A,D,L,q,M,F)=>{let R=0;const H=_.length;let Z=y.length-1,J=H-1;for(;R<=Z&&R<=J;){const ne=y[R],ce=_[R]=F?tn(_[R]):Dt(_[R]);if(wn(ne,ce))m(ne,ce,O,null,D,L,q,M,F);else break;R++}for(;R<=Z&&R<=J;){const ne=y[Z],ce=_[J]=F?tn(_[J]):Dt(_[J]);if(wn(ne,ce))m(ne,ce,O,null,D,L,q,M,F);else break;Z--,J--}if(R>Z){if(R<=J){const ne=J+1,ce=ne<H?_[ne].el:A;for(;R<=J;)m(null,_[R]=F?tn(_[R]):Dt(_[R]),O,ce,D,L,q,M,F),R++}}else if(R>J)for(;R<=Z;)Ve(y[R],D,L,!0),R++;else{const ne=R,ce=R,Te=new Map;for(R=ce;R<=J;R++){const lt=_[R]=F?tn(_[R]):Dt(_[R]);lt.key!=null&&Te.set(lt.key,R)}let De,Ge=0;const bt=J-ce+1;let Mn=!1,Va=0;const cr=new Array(bt);for(R=0;R<bt;R++)cr[R]=0;for(R=ne;R<=Z;R++){const lt=y[R];if(Ge>=bt){Ve(lt,D,L,!0);continue}let Ct;if(lt.key!=null)Ct=Te.get(lt.key);else for(De=ce;De<=J;De++)if(cr[De-ce]===0&&wn(lt,_[De])){Ct=De;break}Ct===void 0?Ve(lt,D,L,!0):(cr[Ct-ce]=R+1,Ct>=Va?Va=Ct:Mn=!0,m(lt,_[Ct],O,null,D,L,q,M,F),Ge++)}const qa=Mn?Ep(cr):Gn;for(De=qa.length-1,R=bt-1;R>=0;R--){const lt=ce+R,Ct=_[lt],Ba=lt+1<H?_[lt+1].el:A;cr[R]===0?m(null,Ct,O,Ba,D,L,q,M,F):Mn&&(De<0||R!==qa[De]?it(Ct,O,Ba,2):De--)}}},it=(y,_,O,A,D=null)=>{const{el:L,type:q,transition:M,children:F,shapeFlag:R}=y;if(R&6){it(y.component.subTree,_,O,A);return}if(R&128){y.suspense.move(_,O,A);return}if(R&64){q.move(y,_,O,Ie);return}if(q===ye){r(L,_,O);for(let Z=0;Z<F.length;Z++)it(F[Z],_,O,A);r(y.anchor,_,O);return}if(q===hi){b(y,_,O);return}if(A!==2&&R&1&&M)if(A===0)M.beforeEnter(L),r(L,_,O),st(()=>M.enter(L),D);else{const{leave:Z,delayLeave:J,afterLeave:ne}=M,ce=()=>r(L,_,O),Te=()=>{Z(L,()=>{ce(),ne&&ne()})};J?J(L,ce,Te):Te()}else r(L,_,O)},Ve=(y,_,O,A=!1,D=!1)=>{const{type:L,props:q,ref:M,children:F,dynamicChildren:R,shapeFlag:H,patchFlag:Z,dirs:J}=y;if(M!=null&&to(M,null,O,y,!0),H&256){_.ctx.deactivate(y);return}const ne=H&1&&J,ce=!Er(y);let Te;if(ce&&(Te=q&&q.onVnodeBeforeUnmount)&&At(Te,_,y),H&6)C(y.component,O,A);else{if(H&128){y.suspense.unmount(O,A);return}ne&&yn(y,null,_,"beforeUnmount"),H&64?y.type.remove(y,_,O,D,Ie,A):R&&(L!==ye||Z>0&&Z&64)?Q(R,_,O,!1,!0):(L===ye&&Z&384||!D&&H&16)&&Q(F,_,O),A&&kt(y)}(ce&&(Te=q&&q.onVnodeUnmounted)||ne)&&st(()=>{Te&&At(Te,_,y),ne&&yn(y,null,_,"unmounted")},O)},kt=y=>{const{type:_,el:O,anchor:A,transition:D}=y;if(_===ye){vn(O,A);return}if(_===hi){T(y);return}const L=()=>{i(O),D&&!D.persisted&&D.afterLeave&&D.afterLeave()};if(y.shapeFlag&1&&D&&!D.persisted){const{leave:q,delayLeave:M}=D,F=()=>q(O,L);M?M(y.el,L,F):F()}else L()},vn=(y,_)=>{let O;for(;y!==_;)O=d(y),i(y),y=O;i(_)},C=(y,_,O)=>{const{bum:A,scope:D,update:L,subTree:q,um:M}=y;A&&ps(A),D.stop(),L&&(L.active=!1,Ve(q,y,_,O)),M&&st(M,_),st(()=>{y.isUnmounted=!0},_),_&&_.pendingBranch&&!_.isUnmounted&&y.asyncDep&&!y.asyncResolved&&y.suspenseId===_.pendingId&&(_.deps--,_.deps===0&&_.resolve())},Q=(y,_,O,A=!1,D=!1,L=0)=>{for(let q=L;q<y.length;q++)Ve(y[q],_,O,A,D)},V=y=>y.shapeFlag&6?V(y.component.subTree):y.shapeFlag&128?y.suspense.next():d(y.anchor||y.el);let Y=!1;const _e=(y,_,O)=>{y==null?_._vnode&&Ve(_._vnode,null,null,!0):m(_._vnode||null,y,_,null,null,null,O),Y||(Y=!0,Ja(),Ou(),Y=!1),_._vnode=y},Ie={p:m,um:Ve,m:it,r:kt,mt:$e,mc:k,pc:me,pbc:K,n:V,o:e};let le,re;return t&&([le,re]=t(Ie)),{render:_e,hydrate:le,createApp:fp(_e,le)}}function bs({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 gn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function _p(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function sa(e,t,n=!1){const r=e.children,i=t.children;if(te(r)&&te(i))for(let s=0;s<r.length;s++){const o=r[s];let a=i[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[s]=tn(i[s]),a.el=o.el),n||sa(o,a)),a.type===Gi&&(a.el=o.el)}}function Ep(e){const t=e.slice(),n=[0];let r,i,s,o,a;const l=e.length;for(r=0;r<l;r++){const c=e[r];if(c!==0){if(i=n[n.length-1],e[i]<c){t[r]=i,n.push(r);continue}for(s=0,o=n.length-1;s<o;)a=s+o>>1,e[n[a]]<c?s=a+1:o=a;c<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,o=n[s-1];s-- >0;)n[s]=o,o=t[o];return n}function Gu(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Gu(t)}const wp=e=>e.__isTeleport,Tr=e=>e&&(e.disabled||e.disabled===""),fl=e=>typeof SVGElement<"u"&&e instanceof SVGElement,dl=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,no=(e,t)=>{const n=e&&e.to;return je(n)?t?t(n):null:n},Tp={name:"Teleport",__isTeleport:!0,process(e,t,n,r,i,s,o,a,l,c){const{mc:u,pc:f,pbc:d,o:{insert:h,querySelector:p,createText:m,createComment:g}}=c,v=Tr(t.props);let{shapeFlag:E,children:b,dynamicChildren:T}=t;if(e==null){const S=t.el=m(""),w=t.anchor=m("");h(S,n,r),h(w,n,r);const P=t.target=no(t.props,p),k=t.targetAnchor=m("");P&&(h(k,P),o==="svg"||fl(P)?o="svg":(o==="mathml"||dl(P))&&(o="mathml"));const B=(K,X)=>{E&16&&u(b,K,X,i,s,o,a,l)};v?B(n,w):P&&B(P,k)}else{t.el=e.el;const S=t.anchor=e.anchor,w=t.target=e.target,P=t.targetAnchor=e.targetAnchor,k=Tr(e.props),B=k?n:w,K=k?S:P;if(o==="svg"||fl(w)?o="svg":(o==="mathml"||dl(w))&&(o="mathml"),T?(d(e.dynamicChildren,T,B,i,s,o,a),sa(e,t,!0)):l||f(e,t,B,K,i,s,o,a,!1),v)k?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):ii(t,n,S,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const X=t.target=no(t.props,p);X&&ii(t,X,null,c,0)}else k&&ii(t,w,P,c,1)}zu(t)},remove(e,t,n,r,{um:i,o:{remove:s}},o){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:f,props:d}=e;if(f&&s(u),o&&s(c),a&16){const h=o||!Tr(d);for(let p=0;p<l.length;p++){const m=l[p];i(m,t,n,h,!!m.dynamicChildren)}}},move:ii,hydrate:xp};function ii(e,t,n,{o:{insert:r},m:i},s=2){s===0&&r(e.targetAnchor,t,n);const{el:o,anchor:a,shapeFlag:l,children:c,props:u}=e,f=s===2;if(f&&r(o,t,n),(!f||Tr(u))&&l&16)for(let d=0;d<c.length;d++)i(c[d],t,n,2);f&&r(a,t,n)}function xp(e,t,n,r,i,s,{o:{nextSibling:o,parentNode:a,querySelector:l}},c){const u=t.target=no(t.props,l);if(u){const f=u._lpa||u.firstChild;if(t.shapeFlag&16)if(Tr(t.props))t.anchor=c(o(e),t,a(e),n,r,i,s),t.targetAnchor=f;else{t.anchor=o(e);let d=f;for(;d;)if(d=o(d),d&&d.nodeType===8&&d.data==="teleport anchor"){t.targetAnchor=d,u._lpa=t.targetAnchor&&o(t.targetAnchor);break}c(f,t,u,n,r,i,s)}zu(t)}return t.anchor&&o(t.anchor)}const WE=Tp;function zu(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n&&n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const ye=Symbol.for("v-fgt"),Gi=Symbol.for("v-txt"),yt=Symbol.for("v-cmt"),hi=Symbol.for("v-stc"),xr=[];let Tt=null;function j(e=!1){xr.push(Tt=e?null:[])}function Op(){xr.pop(),Tt=xr[xr.length-1]||null}let Nr=1;function hl(e){Nr+=e}function Wu(e){return e.dynamicChildren=Nr>0?Tt||Gn:null,Op(),Nr>0&&Tt&&Tt.push(e),e}function W(e,t,n,r,i,s){return Wu(N(e,t,n,r,i,s,!0))}function nt(e,t,n,r,i){return Wu(oe(e,t,n,r,i,!0))}function Ii(e){return e?e.__v_isVNode===!0:!1}function wn(e,t){return e.type===t.type&&e.key===t.key}const zi="__vInternal",Ku=({key:e})=>e??null,pi=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?je(e)||at(e)||ie(e)?{i:Xe,r:e,k:t,f:!!n}:e:null);function N(e,t=null,n=null,r=0,i=null,s=e===ye?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ku(t),ref:t&&pi(t),scopeId:ku,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Xe};return a?(oa(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=je(n)?8:16),Nr>0&&!o&&Tt&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Tt.push(l),l}const oe=Sp;function Sp(e,t=null,n=null,r=0,i=null,s=!1){if((!e||e===Cu)&&(e=yt),Ii(e)){const a=Ht(e,t,!0);return n&&oa(a,n),Nr>0&&!s&&Tt&&(a.shapeFlag&6?Tt[Tt.indexOf(e)]=a:Tt.push(a)),a.patchFlag|=-2,a}if(jp(e)&&(e=e.__vccOpts),t){t=Ip(t);let{class:a,style:l}=t;a&&!je(a)&&(t.class=qt(a)),Ce(l)&&(yu(l)&&!te(l)&&(l=Ue({},l)),t.style=Qo(l))}const o=je(e)?1:Bh(e)?128:wp(e)?64:Ce(e)?4:ie(e)?2:0;return N(e,t,n,r,i,o,s,!0)}function Ip(e){return e?yu(e)||zi in e?Ue({},e):e:null}function Ht(e,t,n=!1){const{props:r,ref:i,patchFlag:s,children:o}=e,a=t?Cp(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Ku(a),ref:t&&t.ref?n&&i?te(i)?i.concat(pi(t)):[i,pi(t)]:pi(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ye?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ht(e.ssContent),ssFallback:e.ssFallback&&Ht(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Qe(e=" ",t=0){return oe(Gi,null,e,t)}function kp(e,t){const n=oe(hi,null,e);return n.staticCount=t,n}function Le(e="",t=!1){return t?(j(),nt(yt,null,e)):oe(yt,null,e)}function Dt(e){return e==null||typeof e=="boolean"?oe(yt):te(e)?oe(ye,null,e.slice()):typeof e=="object"?tn(e):oe(Gi,null,String(e))}function tn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ht(e)}function oa(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(te(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),oa(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!(zi in t)?t._ctx=Xe:i===3&&Xe&&(Xe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ie(t)?(t={default:t,_ctx:Xe},n=32):(t=String(t),r&64?(n=16,t=[Qe(t)]):n=8);e.children=t,e.shapeFlag|=n}function Cp(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const i in r)if(i==="class")t.class!==r.class&&(t.class=qt([t.class,r.class]));else if(i==="style")t.style=Qo([t.style,r.style]);else if(Fi(i)){const s=t[i],o=r[i];o&&s!==o&&!(te(s)&&s.includes(o))&&(t[i]=s?[].concat(s,o):o)}else i!==""&&(t[i]=r[i])}return t}function At(e,t,n,r=null){vt(e,t,7,[n,r])}const Ap=Vu();let Dp=0;function Pp(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||Ap,s={uid:Dp++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new sh(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Bu(r,i),emitsOptions:Iu(r,i),emit:null,emitted:null,propsDefaults:Re,inheritAttrs:r.inheritAttrs,ctx:Re,data:Re,props:Re,attrs:Re,slots:Re,refs:Re,setupState:Re,setupContext:null,attrsProxy:null,slotsProxy: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 s.ctx={_:s},s.root=t?t.root:s,s.emit=Fh.bind(null,s),e.ce&&e.ce(s),s}let Ye=null;const aa=()=>Ye||Xe;let ki,ro;{const e=Bo(),t=(n,r)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(r),s=>{i.length>1?i.forEach(o=>o(s)):i[0](s)}};ki=t("__VUE_INSTANCE_SETTERS__",n=>Ye=n),ro=t("__VUE_SSR_SETTERS__",n=>Wi=n)}const Hr=e=>{const t=Ye;return ki(e),e.scope.on(),()=>{e.scope.off(),ki(t)}},pl=()=>{Ye&&Ye.scope.off(),ki(null)};function Yu(e){return e.vnode.shapeFlag&4}let Wi=!1;function Rp(e,t=!1){t&&ro(t);const{props:n,children:r}=e.vnode,i=Yu(e);dp(e,n,i,t),mp(e,r);const s=i?Np(e,t):void 0;return t&&ro(!1),s}function Np(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=gu(new Proxy(e.ctx,ip));const{setup:r}=n;if(r){const i=e.setupContext=r.length>1?Lp(e):null,s=Hr(e);Pn();const o=ln(r,e,0,[e.props,i]);if(Rn(),s(),Xc(o)){if(o.then(pl,pl),t)return o.then(a=>{ml(e,a,t)}).catch(a=>{Bi(a,e,0)});e.asyncDep=o}else ml(e,o,t)}else Ju(e,t)}function ml(e,t,n){ie(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ce(t)&&(e.setupState=wu(t)),Ju(e,n)}let vl;function Ju(e,t,n){const r=e.type;if(!e.render){if(!t&&vl&&!r.render){const i=r.template||ra(e).template;if(i){const{isCustomElement:s,compilerOptions:o}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,c=Ue(Ue({isCustomElement:s,delimiters:a},o),l);r.render=vl(i,c)}}e.render=r.render||dt}{const i=Hr(e);Pn();try{sp(e)}finally{Rn(),i()}}}function Mp(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return ot(e,"get","$attrs"),t[n]}}))}function Lp(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Mp(e)},slots:e.slots,emit:e.emit,expose:t}}function la(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(wu(gu(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in wr)return wr[n](e)},has(t,n){return n in t||n in wr}}))}function Fp(e,t=!0){return ie(e)?e.displayName||e.name:e.name||t&&e.__name}function jp(e){return ie(e)&&"__vccOpts"in e}const de=(e,t)=>kh(e,t,Wi);function qe(e,t,n){const r=arguments.length;return r===2?Ce(t)&&!te(t)?Ii(t)?oe(e,null,[t]):oe(e,t):oe(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Ii(n)&&(n=[n]),oe(e,t,n))}const ca="3.4.15";/**
* @vue/runtime-dom v3.4.15
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const $p="http://www.w3.org/2000/svg",Vp="http://www.w3.org/1998/Math/MathML",nn=typeof document<"u"?document:null,yl=nn&&nn.createElement("template"),qp={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 i=t==="svg"?nn.createElementNS($p,e):t==="mathml"?nn.createElementNS(Vp,e):nn.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>nn.createTextNode(e),createComment:e=>nn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>nn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,s){const o=n?n.previousSibling:t.lastChild;if(i&&(i===s||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===s||!(i=i.nextSibling)););else{yl.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const a=yl.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Kt="transition",ur="animation",Mr=Symbol("_vtc"),Lr=(e,{slots:t})=>qe(Kh,Bp(e),t);Lr.displayName="Transition";const Zu={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Lr.props=Ue({},Pu,Zu);const bn=(e,t=[])=>{te(e)?e.forEach(n=>n(...t)):e&&e(...t)},gl=e=>e?te(e)?e.some(t=>t.length>1):e.length>1:!1;function Bp(e){const t={};for(const $ in e)$ in Zu||(t[$]=e[$]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:s=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:c=o,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,p=Qp(i),m=p&&p[0],g=p&&p[1],{onBeforeEnter:v,onEnter:E,onEnterCancelled:b,onLeave:T,onLeaveCancelled:S,onBeforeAppear:w=v,onAppear:P=E,onAppearCancelled:k=b}=t,B=($,ge,$e)=>{_n($,ge?u:a),_n($,ge?c:o),$e&&$e()},K=($,ge)=>{$._isLeaving=!1,_n($,f),_n($,h),_n($,d),ge&&ge()},X=$=>(ge,$e)=>{const pt=$?P:E,Se=()=>B(ge,$,$e);bn(pt,[ge,Se]),bl(()=>{_n(ge,$?l:s),Yt(ge,$?u:a),gl(pt)||_l(ge,r,m,Se)})};return Ue(t,{onBeforeEnter($){bn(v,[$]),Yt($,s),Yt($,o)},onBeforeAppear($){bn(w,[$]),Yt($,l),Yt($,c)},onEnter:X(!1),onAppear:X(!0),onLeave($,ge){$._isLeaving=!0;const $e=()=>K($,ge);Yt($,f),Gp(),Yt($,d),bl(()=>{$._isLeaving&&(_n($,f),Yt($,h),gl(T)||_l($,r,g,$e))}),bn(T,[$,$e])},onEnterCancelled($){B($,!1),bn(b,[$])},onAppearCancelled($){B($,!0),bn(k,[$])},onLeaveCancelled($){K($),bn(S,[$])}})}function Qp(e){if(e==null)return null;if(Ce(e))return[_s(e.enter),_s(e.leave)];{const t=_s(e);return[t,t]}}function _s(e){return Zd(e)}function Yt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Mr]||(e[Mr]=new Set)).add(t)}function _n(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Mr];n&&(n.delete(t),n.size||(e[Mr]=void 0))}function bl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Hp=0;function _l(e,t,n,r){const i=e._endId=++Hp,s=()=>{i===e._endId&&r()};if(n)return setTimeout(s,n);const{type:o,timeout:a,propCount:l}=Up(e,t);if(!o)return r();const c=o+"end";let u=0;const f=()=>{e.removeEventListener(c,d),s()},d=h=>{h.target===e&&++u>=l&&f()};setTimeout(()=>{u<l&&f()},a+1),e.addEventListener(c,d)}function Up(e,t){const n=window.getComputedStyle(e),r=p=>(n[p]||"").split(", "),i=r(`${Kt}Delay`),s=r(`${Kt}Duration`),o=El(i,s),a=r(`${ur}Delay`),l=r(`${ur}Duration`),c=El(a,l);let u=null,f=0,d=0;t===Kt?o>0&&(u=Kt,f=o,d=s.length):t===ur?c>0&&(u=ur,f=c,d=l.length):(f=Math.max(o,c),u=f>0?o>c?Kt:ur:null,d=u?u===Kt?s.length:l.length:0);const h=u===Kt&&/\b(transform|all)(,|$)/.test(r(`${Kt}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:h}}function El(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>wl(n)+wl(e[r])))}function wl(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Gp(){return document.body.offsetHeight}function zp(e,t,n){const r=e[Mr];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Wp=Symbol("_vod"),Kp=Symbol("");function Yp(e,t,n){const r=e.style,i=r.display,s=je(n);if(n&&!s){if(t&&!je(t))for(const o in t)n[o]==null&&io(r,o,"");for(const o in n)io(r,o,n[o])}else if(s){if(t!==n){const o=r[Kp];o&&(n+=";"+o),r.cssText=n}}else t&&e.removeAttribute("style");Wp in e&&(r.display=i)}const Tl=/\s*!important$/;function io(e,t,n){if(te(n))n.forEach(r=>io(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Jp(e,t);Tl.test(n)?e.setProperty(ar(r),n.replace(Tl,""),"important"):e[r]=n}}const xl=["Webkit","Moz","ms"],Es={};function Jp(e,t){const n=Es[t];if(n)return n;let r=Nt(t);if(r!=="filter"&&r in e)return Es[t]=r;r=Vi(r);for(let i=0;i<xl.length;i++){const s=xl[i]+r;if(s in e)return Es[t]=s}return t}const Ol="http://www.w3.org/1999/xlink";function Zp(e,t,n,r,i){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Ol,t.slice(6,t.length)):e.setAttributeNS(Ol,t,n);else{const s=ih(t);n==null||s&&!nu(n)?e.removeAttribute(t):e.setAttribute(t,s?"":n)}}function Xp(e,t,n,r,i,s,o){if(t==="innerHTML"||t==="textContent"){r&&o(r,i,s),e[t]=n??"";return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){e._value=n;const c=a==="OPTION"?e.getAttribute("value"):e.value,u=n??"";c!==u&&(e.value=u),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=nu(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function em(e,t,n,r){e.addEventListener(t,n,r)}function tm(e,t,n,r){e.removeEventListener(t,n,r)}const Sl=Symbol("_vei");function nm(e,t,n,r,i=null){const s=e[Sl]||(e[Sl]={}),o=s[t];if(r&&o)o.value=r;else{const[a,l]=rm(t);if(r){const c=s[t]=om(r,i);em(e,a,c,l)}else o&&(tm(e,a,o,l),s[t]=void 0)}}const Il=/(?:Once|Passive|Capture)$/;function rm(e){let t;if(Il.test(e)){t={};let r;for(;r=e.match(Il);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):ar(e.slice(2)),t]}let ws=0;const im=Promise.resolve(),sm=()=>ws||(im.then(()=>ws=0),ws=Date.now());function om(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;vt(am(r,n.value),t,5,[r])};return n.value=e,n.attached=sm(),n}function am(e,t){if(te(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>i=>!i._stopped&&r&&r(i))}else return t}const kl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,lm=(e,t,n,r,i,s,o,a,l)=>{const c=i==="svg";t==="class"?zp(e,r,c):t==="style"?Yp(e,n,r):Fi(t)?$o(t)||nm(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):cm(e,t,r,c))?Xp(e,t,r,s,o,a,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Zp(e,t,r,c))};function cm(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&kl(t)&&ie(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return kl(t)&&je(n)?!1:t in e}const um=Ue({patchProp:lm},qp);let Cl;function fm(){return Cl||(Cl=gp(um))}const dm=(...e)=>{const t=fm().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=pm(r);if(!i)return;const s=t._component;!ie(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.innerHTML="";const o=n(i,!1,hm(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t};function hm(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function pm(e){return je(e)?document.querySelector(e):e}function Ot(e,t,...n){if(e in t){let i=t[e];return typeof i=="function"?i(...n):i}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(i=>`"${i}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Ot),r}var An=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(An||{}),mm=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(mm||{});function gt({visible:e=!0,features:t=0,ourProps:n,theirProps:r,...i}){var s;let o=vm(r,n),a=Object.assign(i,{props:o});if(e||t&2&&o.static)return Ts(a);if(t&1){let l=(s=o.unmount)==null||s?0:1;return Ot(l,{0(){return null},1(){return Ts({...i,props:{...o,hidden:!0,style:{display:"none"}}})}})}return Ts(a)}function Ts({props:e,attrs:t,slots:n,slot:r,name:i}){var s;let{as:o,...a}=ef(e,["unmount","static"]),l=(s=n.default)==null?void 0:s.call(n,r),c={};if(r){let u=!1,f=[];for(let[d,h]of Object.entries(r))typeof h=="boolean"&&(u=!0),h===!0&&f.push(d);u&&(c["data-headlessui-state"]=f.join(" "))}if(o==="template"){if(l=Xu(l??[]),Object.keys(a).length>0||Object.keys(t).length>0){let[u,...f]=l??[];if(!ym(u)||f.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${i} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(a).concat(Object.keys(t)).sort((d,h)=>d.localeCompare(h)).map(d=>`  - ${d}`).join(`
`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(d=>`  - ${d}`).join(`
`)].join(`
`));return Ht(u,Object.assign({},a,c))}return Array.isArray(l)&&l.length===1?l[0]:l}return qe(o,Object.assign({},a,c),l)}function Xu(e){return e.flatMap(t=>t.type===ye?Xu(t.children):[t])}function vm(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let i in r)i.startsWith("on")&&typeof r[i]=="function"?(n[i]!=null||(n[i]=[]),n[i].push(r[i])):t[i]=r[i];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(r=>[r,void 0])));for(let r in n)Object.assign(t,{[r](i,...s){let o=n[r];for(let a of o){if(i instanceof Event&&i.defaultPrevented)return;a(i,...s)}}});return t}function KE(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function ef(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function ym(e){return e==null?!1:typeof e.type=="string"||typeof e.type=="object"||typeof e.type=="function"}let gm=0;function bm(){return++gm}function Mt(){return bm()}var we=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(we||{});function _m(e){throw new Error("Unexpected object: "+e)}var ht=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(ht||{});function Em(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),i=r??-1,s=(()=>{switch(e.focus){case 0:return n.findIndex(o=>!t.resolveDisabled(o));case 1:{let o=n.slice().reverse().findIndex((a,l,c)=>i!==-1&&c.length-l-1>=i?!1:!t.resolveDisabled(a));return o===-1?o:n.length-1-o}case 2:return n.findIndex((o,a)=>a<=i?!1:!t.resolveDisabled(o));case 3:{let o=n.slice().reverse().findIndex(a=>!t.resolveDisabled(a));return o===-1?o:n.length-1-o}case 4:return n.findIndex(o=>t.resolveId(o)===e.id);case 5:return null;default:_m(e)}})();return s===-1?r:s}function G(e){var t;return e==null||e.value==null?null:(t=e.value.$el)!=null?t:e.value}let tf=Symbol("Context");var Lt=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Lt||{});function YE(){return Ki()!==null}function Ki(){return Je(tf,null)}function ua(e){xt(tf,e)}function Al(e,t){if(e)return e;let n=t??"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function fa(e,t){let n=he(Al(e.value.type,e.value.as));return Rr(()=>{n.value=Al(e.value.type,e.value.as)}),It(()=>{var r;n.value||!G(t)||G(t)instanceof HTMLButtonElement&&!((r=G(t))!=null&&r.hasAttribute("type"))&&(n.value="button")}),n}const Yi=typeof window>"u"||typeof document>"u";function Nn(e){if(Yi)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty("value")){let t=G(e);if(t)return t.ownerDocument}return document}function wm({container:e,accept:t,walk:n,enabled:r}){It(()=>{let i=e.value;if(!i||r!==void 0&&!r.value)return;let s=Nn(e);if(!s)return;let o=Object.assign(l=>t(l),{acceptNode:t}),a=s.createTreeWalker(i,NodeFilter.SHOW_ELEMENT,o,!1);for(;a.nextNode();)n(a.currentNode)})}let so=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var Bt=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(Bt||{}),Tm=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Tm||{}),xm=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(xm||{});function Ji(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(so))}var Zi=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Zi||{});function Xi(e,t=0){var n;return e===((n=Nn(e))==null?void 0:n.body)?!1:Ot(t,{0(){return e.matches(so)},1(){let r=e;for(;r!==null;){if(r.matches(so))return!0;r=r.parentElement}return!1}})}function nf(e){let t=Nn(e);Rt(()=>{t&&!Xi(t.activeElement,0)&&Om(e)})}function Om(e){e==null||e.focus({preventScroll:!0})}let Sm=["textarea","input"].join(",");function Im(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,Sm))!=null?n:!1}function rf(e,t=n=>n){return e.slice().sort((n,r)=>{let i=t(n),s=t(r);if(i===null||s===null)return 0;let o=i.compareDocumentPosition(s);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function km(e,t){return xn(Ji(),t,!0,e)}function xn(e,t,n=!0,r=null){var i;let s=(i=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e==null?void 0:e.ownerDocument)!=null?i:document,o=Array.isArray(e)?n?rf(e):e:Ji(e);r=r??s.activeElement;let a=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,o.indexOf(r))-1;if(t&4)return Math.max(0,o.indexOf(r))+1;if(t&8)return o.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=t&32?{preventScroll:!0}:{},u=0,f=o.length,d;do{if(u>=f||u+f<=0)return 0;let h=l+u;if(t&16)h=(h+f)%f;else{if(h<0)return 3;if(h>=f)return 1}d=o[h],d==null||d.focus(c),u+=a}while(d!==s.activeElement);return t&6&&Im(d)&&d.select(),d.hasAttribute("tabindex")||d.setAttribute("tabindex","0"),2}function xs(e,t,n){Yi||It(r=>{document.addEventListener(e,t,n),r(()=>document.removeEventListener(e,t,n))})}function sf(e,t,n=de(()=>!0)){function r(s,o){if(!n.value||s.defaultPrevented)return;let a=o(s);if(a===null||!a.ownerDocument.documentElement.contains(a))return;let l=function c(u){return typeof u=="function"?c(u()):Array.isArray(u)||u instanceof Set?u:[u]}(e);for(let c of l){if(c===null)continue;let u=c instanceof HTMLElement?c:G(c);if(u!=null&&u.contains(a))return}return!Xi(a,Zi.Loose)&&a.tabIndex!==-1&&s.preventDefault(),t(s,a)}let i=he(null);xs("mousedown",s=>{var o,a;n.value&&(i.value=((a=(o=s.composedPath)==null?void 0:o.call(s))==null?void 0:a[0])||s.target)},!0),xs("click",s=>{!i.value||(r(s,()=>i.value),i.value=null)},!0),xs("blur",s=>r(s,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}var Ci=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Ci||{});let oo=He({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(e,{slots:t,attrs:n}){return()=>{let{features:r,...i}=e,s={"aria-hidden":(r&2)===2?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(r&4)===4&&(r&2)!==2&&{display:"none"}}};return gt({ourProps:s,theirProps:i,slot:{},attrs:n,slots:t,name:"Hidden"})}}});function Cm(e,t,n){Yi||It(r=>{window.addEventListener(e,t,n),r(()=>window.removeEventListener(e,t,n))})}var On=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(On||{});function of(){let e=he(0);return Cm("keydown",t=>{t.key==="Tab"&&(e.value=t.shiftKey?1:0)}),e}function Am(e,t,n,r){Yi||It(i=>{e=e??window,e.addEventListener(t,n,r),i(()=>e.removeEventListener(t,n,r))})}var Dm=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Dm||{});let af=Symbol("DisclosureContext");function da(e){let t=Je(af,null);if(t===null){let n=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,da),n}return t}let lf=Symbol("DisclosurePanelContext");function Pm(){return Je(lf,null)}let Rm=He({name:"Disclosure",props:{as:{type:[Object,String],default:"template"},defaultOpen:{type:[Boolean],default:!1}},setup(e,{slots:t,attrs:n}){let r=`headlessui-disclosure-button-${Mt()}`,i=`headlessui-disclosure-panel-${Mt()}`,s=he(e.defaultOpen?0:1),o=he(null),a=he(null),l={buttonId:r,panelId:i,disclosureState:s,panel:o,button:a,toggleDisclosure(){s.value=Ot(s.value,{0:1,1:0})},closeDisclosure(){s.value!==1&&(s.value=1)},close(c){l.closeDisclosure();let u=(()=>c?c instanceof HTMLElement?c:c.value instanceof HTMLElement?G(c):G(l.button):G(l.button))();u==null||u.focus()}};return xt(af,l),ua(de(()=>Ot(s.value,{0:Lt.Open,1:Lt.Closed}))),()=>{let{defaultOpen:c,...u}=e,f={open:s.value===0,close:l.close};return gt({theirProps:u,ourProps:{},slot:f,slots:t,attrs:n,name:"Disclosure"})}}}),Nm=He({name:"DisclosureButton",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1}},setup(e,{attrs:t,slots:n,expose:r}){let i=da("DisclosureButton"),s=Pm(),o=s===null?!1:s===i.panelId,a=he(null);r({el:a,$el:a}),o||It(()=>{i.button.value=a.value});let l=fa(de(()=>({as:e.as,type:t.type})),a);function c(){var d;e.disabled||(o?(i.toggleDisclosure(),(d=G(i.button))==null||d.focus()):i.toggleDisclosure())}function u(d){var h;if(!e.disabled)if(o)switch(d.key){case we.Space:case we.Enter:d.preventDefault(),d.stopPropagation(),i.toggleDisclosure(),(h=G(i.button))==null||h.focus();break}else switch(d.key){case we.Space:case we.Enter:d.preventDefault(),d.stopPropagation(),i.toggleDisclosure();break}}function f(d){switch(d.key){case we.Space:d.preventDefault();break}}return()=>{let d={open:i.disclosureState.value===0},h=o?{ref:a,type:l.value,onClick:c,onKeydown:u}:{id:i.buttonId,ref:a,type:l.value,"aria-expanded":e.disabled?void 0:i.disclosureState.value===0,"aria-controls":G(i.panel)?i.panelId:void 0,disabled:e.disabled?!0:void 0,onClick:c,onKeydown:u,onKeyup:f};return gt({ourProps:h,theirProps:e,slot:d,attrs:t,slots:n,name:"DisclosureButton"})}}}),Mm=He({name:"DisclosurePanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0}},setup(e,{attrs:t,slots:n,expose:r}){let i=da("DisclosurePanel");r({el:i.panel,$el:i.panel}),xt(lf,i.panelId);let s=Ki(),o=de(()=>s!==null?s.value===Lt.Open:i.disclosureState.value===0);return()=>{let a={open:i.disclosureState.value===0,close:i.close},l={id:i.panelId,ref:i.panel};return gt({ourProps:l,theirProps:e,slot:a,attrs:t,slots:n,features:An.RenderStrategy|An.Static,visible:o.value,name:"DisclosurePanel"})}}});var Lm=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Lm||{}),Fm=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Fm||{});function jm(e){requestAnimationFrame(()=>requestAnimationFrame(e))}let cf=Symbol("MenuContext");function es(e){let t=Je(cf,null);if(t===null){let n=new Error(`<${e} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,es),n}return t}let $m=He({name:"Menu",props:{as:{type:[Object,String],default:"template"}},setup(e,{slots:t,attrs:n}){let r=he(1),i=he(null),s=he(null),o=he([]),a=he(""),l=he(null),c=he(1);function u(d=h=>h){let h=l.value!==null?o.value[l.value]:null,p=rf(d(o.value.slice()),g=>G(g.dataRef.domRef)),m=h?p.indexOf(h):null;return m===-1&&(m=null),{items:p,activeItemIndex:m}}let f={menuState:r,buttonRef:i,itemsRef:s,items:o,searchQuery:a,activeItemIndex:l,activationTrigger:c,closeMenu:()=>{r.value=1,l.value=null},openMenu:()=>r.value=0,goToItem(d,h,p){let m=u(),g=Em(d===ht.Specific?{focus:ht.Specific,id:h}:{focus:d},{resolveItems:()=>m.items,resolveActiveIndex:()=>m.activeItemIndex,resolveId:v=>v.id,resolveDisabled:v=>v.dataRef.disabled});a.value="",l.value=g,c.value=p??1,o.value=m.items},search(d){let h=a.value!==""?0:1;a.value+=d.toLowerCase();let p=(l.value!==null?o.value.slice(l.value+h).concat(o.value.slice(0,l.value+h)):o.value).find(g=>g.dataRef.textValue.startsWith(a.value)&&!g.dataRef.disabled),m=p?o.value.indexOf(p):-1;m===-1||m===l.value||(l.value=m,c.value=1)},clearSearch(){a.value=""},registerItem(d,h){let p=u(m=>[...m,{id:d,dataRef:h}]);o.value=p.items,l.value=p.activeItemIndex,c.value=1},unregisterItem(d){let h=u(p=>{let m=p.findIndex(g=>g.id===d);return m!==-1&&p.splice(m,1),p});o.value=h.items,l.value=h.activeItemIndex,c.value=1}};return sf([i,s],(d,h)=>{var p;f.closeMenu(),Xi(h,Zi.Loose)||(d.preventDefault(),(p=G(i))==null||p.focus())},de(()=>r.value===0)),xt(cf,f),ua(de(()=>Ot(r.value,{0:Lt.Open,1:Lt.Closed}))),()=>{let d={open:r.value===0};return gt({ourProps:{},theirProps:e,slot:d,slots:t,attrs:n,name:"Menu"})}}}),Vm=He({name:"MenuButton",props:{disabled:{type:Boolean,default:!1},as:{type:[Object,String],default:"button"}},setup(e,{attrs:t,slots:n,expose:r}){let i=es("MenuButton"),s=`headlessui-menu-button-${Mt()}`;r({el:i.buttonRef,$el:i.buttonRef});function o(u){switch(u.key){case we.Space:case we.Enter:case we.ArrowDown:u.preventDefault(),u.stopPropagation(),i.openMenu(),Rt(()=>{var f;(f=G(i.itemsRef))==null||f.focus({preventScroll:!0}),i.goToItem(ht.First)});break;case we.ArrowUp:u.preventDefault(),u.stopPropagation(),i.openMenu(),Rt(()=>{var f;(f=G(i.itemsRef))==null||f.focus({preventScroll:!0}),i.goToItem(ht.Last)});break}}function a(u){switch(u.key){case we.Space:u.preventDefault();break}}function l(u){e.disabled||(i.menuState.value===0?(i.closeMenu(),Rt(()=>{var f;return(f=G(i.buttonRef))==null?void 0:f.focus({preventScroll:!0})})):(u.preventDefault(),i.openMenu(),jm(()=>{var f;return(f=G(i.itemsRef))==null?void 0:f.focus({preventScroll:!0})})))}let c=fa(de(()=>({as:e.as,type:t.type})),i.buttonRef);return()=>{var u;let f={open:i.menuState.value===0},d={ref:i.buttonRef,id:s,type:c.value,"aria-haspopup":!0,"aria-controls":(u=G(i.itemsRef))==null?void 0:u.id,"aria-expanded":e.disabled?void 0:i.menuState.value===0,onKeydown:o,onKeyup:a,onClick:l};return gt({ourProps:d,theirProps:e,slot:f,attrs:t,slots:n,name:"MenuButton"})}}}),qm=He({name:"MenuItems",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0}},setup(e,{attrs:t,slots:n,expose:r}){let i=es("MenuItems"),s=`headlessui-menu-items-${Mt()}`,o=he(null);r({el:i.itemsRef,$el:i.itemsRef}),wm({container:de(()=>G(i.itemsRef)),enabled:de(()=>i.menuState.value===0),accept(f){return f.getAttribute("role")==="menuitem"?NodeFilter.FILTER_REJECT:f.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(f){f.setAttribute("role","none")}});function a(f){var d;switch(o.value&&clearTimeout(o.value),f.key){case we.Space:if(i.searchQuery.value!=="")return f.preventDefault(),f.stopPropagation(),i.search(f.key);case we.Enter:if(f.preventDefault(),f.stopPropagation(),i.activeItemIndex.value!==null){let h=i.items.value[i.activeItemIndex.value];(d=G(h.dataRef.domRef))==null||d.click()}i.closeMenu(),nf(G(i.buttonRef));break;case we.ArrowDown:return f.preventDefault(),f.stopPropagation(),i.goToItem(ht.Next);case we.ArrowUp:return f.preventDefault(),f.stopPropagation(),i.goToItem(ht.Previous);case we.Home:case we.PageUp:return f.preventDefault(),f.stopPropagation(),i.goToItem(ht.First);case we.End:case we.PageDown:return f.preventDefault(),f.stopPropagation(),i.goToItem(ht.Last);case we.Escape:f.preventDefault(),f.stopPropagation(),i.closeMenu(),Rt(()=>{var h;return(h=G(i.buttonRef))==null?void 0:h.focus({preventScroll:!0})});break;case we.Tab:f.preventDefault(),f.stopPropagation(),i.closeMenu(),Rt(()=>km(G(i.buttonRef),f.shiftKey?Bt.Previous:Bt.Next));break;default:f.key.length===1&&(i.search(f.key),o.value=setTimeout(()=>i.clearSearch(),350));break}}function l(f){switch(f.key){case we.Space:f.preventDefault();break}}let c=Ki(),u=de(()=>c!==null?c.value===Lt.Open:i.menuState.value===0);return()=>{var f,d;let h={open:i.menuState.value===0},p={"aria-activedescendant":i.activeItemIndex.value===null||(f=i.items.value[i.activeItemIndex.value])==null?void 0:f.id,"aria-labelledby":(d=G(i.buttonRef))==null?void 0:d.id,id:s,onKeydown:a,onKeyup:l,role:"menu",tabIndex:0,ref:i.itemsRef};return gt({ourProps:p,theirProps:e,slot:h,attrs:t,slots:n,features:An.RenderStrategy|An.Static,visible:u.value,name:"MenuItems"})}}}),Bm=He({name:"MenuItem",props:{as:{type:[Object,String],default:"template"},disabled:{type:Boolean,default:!1}},setup(e,{slots:t,attrs:n,expose:r}){let i=es("MenuItem"),s=`headlessui-menu-item-${Mt()}`,o=he(null);r({el:o,$el:o});let a=de(()=>i.activeItemIndex.value!==null?i.items.value[i.activeItemIndex.value].id===s:!1),l=de(()=>({disabled:e.disabled,textValue:"",domRef:o}));Rr(()=>{var h,p;let m=(p=(h=G(o))==null?void 0:h.textContent)==null?void 0:p.toLowerCase().trim();m!==void 0&&(l.value.textValue=m)}),Rr(()=>i.registerItem(s,l)),na(()=>i.unregisterItem(s)),It(()=>{i.menuState.value===0&&(!a.value||i.activationTrigger.value!==0&&Rt(()=>{var h,p;return(p=(h=G(o))==null?void 0:h.scrollIntoView)==null?void 0:p.call(h,{block:"nearest"})}))});function c(h){if(e.disabled)return h.preventDefault();i.closeMenu(),nf(G(i.buttonRef))}function u(){if(e.disabled)return i.goToItem(ht.Nothing);i.goToItem(ht.Specific,s)}function f(){e.disabled||a.value||i.goToItem(ht.Specific,s,0)}function d(){e.disabled||!a.value||i.goToItem(ht.Nothing)}return()=>{let{disabled:h}=e,p={active:a.value,disabled:h};return gt({ourProps:{id:s,ref:o,role:"menuitem",tabIndex:h===!0?void 0:-1,"aria-disabled":h===!0?!0:void 0,onClick:c,onFocus:u,onPointermove:f,onMousemove:f,onPointerleave:d,onMouseleave:d},theirProps:e,slot:p,attrs:n,slots:t,name:"MenuItem"})}}});var Qm=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Qm||{});let uf=Symbol("PopoverContext");function ha(e){let t=Je(uf,null);if(t===null){let n=new Error(`<${e} /> is missing a parent <${pf.name} /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,ha),n}return t}let ff=Symbol("PopoverGroupContext");function df(){return Je(ff,null)}let hf=Symbol("PopoverPanelContext");function Hm(){return Je(hf,null)}let pf=He({name:"Popover",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:n,expose:r}){var i;let s=`headlessui-popover-button-${Mt()}`,o=`headlessui-popover-panel-${Mt()}`,a=he(null);r({el:a,$el:a});let l=he(1),c=he(null),u=he(null),f=he(null),d=he(null),h=de(()=>Nn(a)),p=de(()=>{var T,S;if(!G(c)||!G(d))return!1;for(let $ of document.querySelectorAll("body > *"))if(Number($==null?void 0:$.contains(G(c)))^Number($==null?void 0:$.contains(G(d))))return!0;let w=Ji(),P=w.indexOf(G(c)),k=(P+w.length-1)%w.length,B=(P+1)%w.length,K=w[k],X=w[B];return!((T=G(d))!=null&&T.contains(K))&&!((S=G(d))!=null&&S.contains(X))}),m={popoverState:l,buttonId:s,panelId:o,panel:d,button:c,isPortalled:p,beforePanelSentinel:u,afterPanelSentinel:f,togglePopover(){l.value=Ot(l.value,{0:1,1:0})},closePopover(){l.value!==1&&(l.value=1)},close(T){m.closePopover();let S=(()=>T?T instanceof HTMLElement?T:T.value instanceof HTMLElement?G(T):G(m.button):G(m.button))();S==null||S.focus()}};xt(uf,m),ua(de(()=>Ot(l.value,{0:Lt.Open,1:Lt.Closed})));let g={buttonId:s,panelId:o,close(){m.closePopover()}},v=df(),E=v==null?void 0:v.registerPopover;function b(){var T,S,w,P;return(P=v==null?void 0:v.isFocusWithinPopoverGroup())!=null?P:((T=h.value)==null?void 0:T.activeElement)&&(((S=G(c))==null?void 0:S.contains(h.value.activeElement))||((w=G(d))==null?void 0:w.contains(h.value.activeElement)))}return It(()=>E==null?void 0:E(g)),Am((i=h.value)==null?void 0:i.defaultView,"focus",T=>{var S,w;l.value===0&&(b()||!c||!d||(S=G(m.beforePanelSentinel))!=null&&S.contains(T.target)||(w=G(m.afterPanelSentinel))!=null&&w.contains(T.target)||m.closePopover())},!0),sf([c,d],(T,S)=>{var w;m.closePopover(),Xi(S,Zi.Loose)||(T.preventDefault(),(w=G(c))==null||w.focus())},de(()=>l.value===0)),()=>{let T={open:l.value===0,close:m.close};return gt({theirProps:e,ourProps:{ref:a},slot:T,slots:t,attrs:n,name:"Popover"})}}}),Um=He({name:"PopoverButton",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let i=ha("PopoverButton"),s=de(()=>Nn(i.button));r({el:i.button,$el:i.button});let o=df(),a=o==null?void 0:o.closeOthers,l=Hm(),c=l===null?!1:l===i.panelId,u=he(null),f=`headlessui-focus-sentinel-${Mt()}`;c||It(()=>{i.button.value=u.value});let d=fa(de(()=>({as:e.as,type:t.type})),u);function h(v){var E,b,T,S,w;if(c){if(i.popoverState.value===1)return;switch(v.key){case we.Space:case we.Enter:v.preventDefault(),(b=(E=v.target).click)==null||b.call(E),i.closePopover(),(T=G(i.button))==null||T.focus();break}}else switch(v.key){case we.Space:case we.Enter:v.preventDefault(),v.stopPropagation(),i.popoverState.value===1&&(a==null||a(i.buttonId)),i.togglePopover();break;case we.Escape:if(i.popoverState.value!==0)return a==null?void 0:a(i.buttonId);if(!G(i.button)||(S=s.value)!=null&&S.activeElement&&!((w=G(i.button))!=null&&w.contains(s.value.activeElement)))return;v.preventDefault(),v.stopPropagation(),i.closePopover();break}}function p(v){c||v.key===we.Space&&v.preventDefault()}function m(v){var E,b;e.disabled||(c?(i.closePopover(),(E=G(i.button))==null||E.focus()):(v.preventDefault(),v.stopPropagation(),i.popoverState.value===1&&(a==null||a(i.buttonId)),i.togglePopover(),(b=G(i.button))==null||b.focus()))}function g(v){v.preventDefault(),v.stopPropagation()}return()=>{let v=i.popoverState.value===0,E={open:v},b=c?{ref:u,type:d.value,onKeydown:h,onClick:m}:{ref:u,id:i.buttonId,type:d.value,"aria-expanded":e.disabled?void 0:i.popoverState.value===0,"aria-controls":G(i.panel)?i.panelId:void 0,disabled:e.disabled?!0:void 0,onKeydown:h,onKeyup:p,onClick:m,onMousedown:g},T=of();function S(){let w=G(i.panel);if(!w)return;function P(){Ot(T.value,{[On.Forwards]:()=>xn(w,Bt.First),[On.Backwards]:()=>xn(w,Bt.Last)})}P()}return qe(ye,[gt({ourProps:b,theirProps:{...t,...e},slot:E,attrs:t,slots:n,name:"PopoverButton"}),v&&!c&&i.isPortalled.value&&qe(oo,{id:f,features:Ci.Focusable,as:"button",type:"button",onFocus:S})])}}}),Gm=He({name:"PopoverPanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},focus:{type:Boolean,default:!1}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let{focus:i}=e,s=ha("PopoverPanel"),o=de(()=>Nn(s.panel)),a=`headlessui-focus-sentinel-before-${Mt()}`,l=`headlessui-focus-sentinel-after-${Mt()}`;r({el:s.panel,$el:s.panel}),xt(hf,s.panelId),It(()=>{var g,v;if(!i||s.popoverState.value!==0||!s.panel)return;let E=(g=o.value)==null?void 0:g.activeElement;(v=G(s.panel))!=null&&v.contains(E)||xn(G(s.panel),Bt.First)});let c=Ki(),u=de(()=>c!==null?c.value===Lt.Open:s.popoverState.value===0);function f(g){var v,E;switch(g.key){case we.Escape:if(s.popoverState.value!==0||!G(s.panel)||o.value&&!((v=G(s.panel))!=null&&v.contains(o.value.activeElement)))return;g.preventDefault(),g.stopPropagation(),s.closePopover(),(E=G(s.button))==null||E.focus();break}}function d(g){var v,E,b,T,S;let w=g.relatedTarget;!w||!G(s.panel)||(v=G(s.panel))!=null&&v.contains(w)||(s.closePopover(),((b=(E=G(s.beforePanelSentinel))==null?void 0:E.contains)!=null&&b.call(E,w)||(S=(T=G(s.afterPanelSentinel))==null?void 0:T.contains)!=null&&S.call(T,w))&&w.focus({preventScroll:!0}))}let h=of();function p(){let g=G(s.panel);if(!g)return;function v(){Ot(h.value,{[On.Forwards]:()=>{xn(g,Bt.Next)},[On.Backwards]:()=>{var E;(E=G(s.button))==null||E.focus({preventScroll:!0})}})}v()}function m(){let g=G(s.panel);if(!g)return;function v(){Ot(h.value,{[On.Forwards]:()=>{var E,b;let T=G(s.button),S=G(s.panel);if(!T)return;let w=Ji(),P=w.indexOf(T),k=w.slice(0,P+1),B=[...w.slice(P+1),...k];for(let K of B.slice())if((b=(E=K==null?void 0:K.id)==null?void 0:E.startsWith)!=null&&b.call(E,"headlessui-focus-sentinel-")||S!=null&&S.contains(K)){let X=B.indexOf(K);X!==-1&&B.splice(X,1)}xn(B,Bt.First,!1)},[On.Backwards]:()=>xn(g,Bt.Previous)})}v()}return()=>{let g={open:s.popoverState.value===0,close:s.close},v={ref:s.panel,id:s.panelId,onKeydown:f,onFocusout:i&&s.popoverState.value===0?d:void 0,tabIndex:-1};return gt({ourProps:v,theirProps:{...t,...ef(e,["focus"])},attrs:t,slot:g,slots:{...n,default:(...E)=>{var b;return[qe(ye,[u.value&&s.isPortalled.value&&qe(oo,{id:a,ref:s.beforePanelSentinel,features:Ci.Focusable,as:"button",type:"button",onFocus:p}),(b=n.default)==null?void 0:b.call(n,...E),u.value&&s.isPortalled.value&&qe(oo,{id:l,ref:s.afterPanelSentinel,features:Ci.Focusable,as:"button",type:"button",onFocus:m})])]}},features:An.RenderStrategy|An.Static,visible:u.value,name:"PopoverPanel"})}}}),zm=He({name:"PopoverGroup",props:{as:{type:[Object,String],default:"div"}},setup(e,{attrs:t,slots:n,expose:r}){let i=he(null),s=he([]),o=de(()=>Nn(i));r({el:i,$el:i});function a(f){let d=s.value.indexOf(f);d!==-1&&s.value.splice(d,1)}function l(f){return s.value.push(f),()=>{a(f)}}function c(){var f;let d=o.value;if(!d)return!1;let h=d.activeElement;return(f=G(i))!=null&&f.contains(h)?!0:s.value.some(p=>{var m,g;return((m=d.getElementById(p.buttonId))==null?void 0:m.contains(h))||((g=d.getElementById(p.panelId))==null?void 0:g.contains(h))})}function u(f){for(let d of s.value)d.buttonId!==f&&d.close()}return xt(ff,{registerPopover:l,unregisterPopover:a,isFocusWithinPopoverGroup:c,closeOthers:u}),()=>gt({ourProps:{ref:i},theirProps:e,slot:{},attrs:t,slots:n,name:"PopoverGroup"})}});const pa=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},Wm={name:"NavItem",components:{Menu:$m,MenuButton:Vm,MenuItem:Bm,MenuItems:qm},props:{path:String,dropdownItems:{type:Array,required:!1},route:{type:Object,required:!0}}},Km={key:0,class:"flex items-center -mr-2"},Ym=N("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",class:"w-5 h-5"},[N("path",{"fill-rule":"evenodd",d:"M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z","clip-rule":"evenodd"})],-1),Jm={class:"rounded-lg"},Zm={class:"relative lg:grid gap-6 bg-white lg:px-2 lg:py-3 sm:gap-2",MenuItem:"",as:"div"},Xm=["href","aria-label"],ev=N("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",class:"w-5 h-5"},[N("path",{"fill-rule":"evenodd",d:"M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z","clip-rule":"evenodd"})],-1),tv=["href","aria-label"],nv={key:1,class:"nav-item"};function rv(e,t,n,r,i,s){const o=tt("MenuButton"),a=tt("MenuItem"),l=tt("MenuItems"),c=tt("Menu");return j(),W("div",null,[n.dropdownItems&&n.dropdownItems.length>0?(j(),W("div",Km,[oe(c,{as:"div",class:"relative"},{default:Oe(()=>[oe(o,{class:"group flex gap-x-1 nav-item"},{default:Oe(()=>[nl(e.$slots,"default"),Ym]),_:3}),oe(Lr,{"enter-active-class":"transition ease-out duration-200","enter-from-class":"opacity-0 translate-y-1","enter-to-class":"opacity-100 translate-y-0","leave-active-class":"transition ease-in duration-150","leave-from-class":"opacity-100 translate-y-0","leave-to-class":"opacity-0 translate-y-1"},{default:Oe(()=>[oe(l,{class:"lg:absolute lg:right-0 mt-3 lg:shadow-lg lg:ring-1 lg:ring-black lg:ring-opacity-5 transform z-10 px-2 w-screen max-w-max sm:px-0 lg:ml-0 lg:left-1/2 lg:-translate-x-1/2"},{default:Oe(()=>[N("div",Jm,[N("div",Zm,[(j(!0),W(ye,null,ct(n.dropdownItems,u=>(j(),W("div",{key:u.displayText},[u.menuItemsList==null||u.menuItemsList!=null&&u.menuItemsList.menuItems.length==0?(j(),W("a",{href:u.linkMenuItem.url,key:u.displayText,"aria-label":"Navigate to "+u.displayText,class:"px-2 lg:px-3 py-1 flex items-start rounded-lg transition cursor-pointer text-zinc-900 font-medium hover:bg-gray-50 hover:text-accent"},Pe(u.displayText),9,Xm)):(j(),nt(c,{key:1,as:"div",class:"relative inline-block text-left"},{default:Oe(()=>[N("div",null,[oe(o,{class:"flex px-2 lg:px-3 py-1 items-center rounded-lg transition cursor-pointer text-zinc-900 font-medium hover:bg-gray-50 hover:text-accent"},{default:Oe(()=>[Qe(Pe(u.displayText)+" ",1),ev]),_:2},1024)]),oe(Lr,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:Oe(()=>[oe(l,{class:"absolute left-full top-0 z-10 w-56 origin-left bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none"},{default:Oe(()=>[(j(!0),W(ye,null,ct(u.menuItemsList.menuItems,f=>(j(),nt(a,{key:f.displayText},{default:Oe(()=>[(j(),W("a",{href:f.linkMenuItem.url,key:f.displayText,"aria-label":"Navigate to "+f.displayText,class:"px-2 lg:px-3 py-1 flex items-start rounded-lg transition cursor-pointer text-zinc-900 font-medium hover:bg-gray-50 hover:text-accent"},Pe(f.displayText),9,tv))]),_:2},1024))),128))]),_:2},1024)]),_:2},1024)]),_:2},1024))]))),128))])])]),_:1})]),_:1})]),_:3})])):(j(),W("div",nv,[N("a",{onClick:t[0]||(t[0]=u=>e.$router.push({path:n.route.linkMenuItem.url}))},[nl(e.$slots,"default")])]))])}const iv=pa(Wm,[["render",rv]]),sv="modulepreload",ov=function(e){return"/"+e},Dl={},se=function(t,n,r){if(!n||n.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(n.map(s=>{if(s=ov(s),s in Dl)return;Dl[s]=!0;const o=s.endsWith(".css"),a=o?'[rel="stylesheet"]':"";if(!!r)for(let u=i.length-1;u>=0;u--){const f=i[u];if(f.href===s&&(!o||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${a}`))return;const c=document.createElement("link");if(c.rel=o?"stylesheet":sv,o||(c.as="script",c.crossOrigin=""),c.href=s,document.head.appendChild(c),o)return new Promise((u,f)=>{c.addEventListener("load",u),c.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>t()).catch(s=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=s,window.dispatchEvent(o),!o.defaultPrevented)throw s})},mf=[{path:"/",label:"home",name:"home",component:()=>se(()=>import("./index-6304b0a5.js"),["assets/index-6304b0a5.js","assets/Container-399c160b.js","assets/Split-8a53adb0.js","assets/v-lazy-image-183f20e1.js","assets/aos-95496368.js","assets/SplitCTA-89e0277a.js","assets/SimpleBrandCTA-5baba710.js","assets/SectionTitle-8691b197.js","assets/BlogThreeColumnCards-b075ffe2.js","assets/Filters-59ab0bab.js","assets/ChevronLeftIcon-b33fe0f3.js","assets/ChevronDownIcon-2577d679.js","assets/moment-a9aaa855.js"]),meta:{title:"Home"}},{path:"/home",label:"homepage",name:"homepage",component:()=>se(()=>import("./index-6304b0a5.js"),["assets/index-6304b0a5.js","assets/Container-399c160b.js","assets/Split-8a53adb0.js","assets/v-lazy-image-183f20e1.js","assets/aos-95496368.js","assets/SplitCTA-89e0277a.js","assets/SimpleBrandCTA-5baba710.js","assets/SectionTitle-8691b197.js","assets/BlogThreeColumnCards-b075ffe2.js","assets/Filters-59ab0bab.js","assets/ChevronLeftIcon-b33fe0f3.js","assets/ChevronDownIcon-2577d679.js","assets/moment-a9aaa855.js"]),meta:{title:"homepage"}},{path:"/about",label:"about",name:"about",component:()=>se(()=>import("./index-a0dabed0.js"),["assets/index-a0dabed0.js","assets/Header-7d12f5cc.js","assets/Container-399c160b.js","assets/Split-8a53adb0.js","assets/v-lazy-image-183f20e1.js","assets/aos-95496368.js","assets/SplitCTA-89e0277a.js","assets/SimpleBrandCTA-5baba710.js"]),meta:{title:"About"}},{path:"/about/overview",label:"Overview",name:"Overview",component:()=>se(()=>import("./index-a0dabed0.js"),["assets/index-a0dabed0.js","assets/Header-7d12f5cc.js","assets/Container-399c160b.js","assets/Split-8a53adb0.js","assets/v-lazy-image-183f20e1.js","assets/aos-95496368.js","assets/SplitCTA-89e0277a.js","assets/SimpleBrandCTA-5baba710.js"]),meta:{title:"Overview"}},{path:"/about/history",label:"History",name:"History",component:()=>se(()=>import("./index-258f4a04.js"),["assets/index-258f4a04.js","assets/Header-7d12f5cc.js","assets/Container-399c160b.js","assets/aos-95496368.js"]),meta:{title:"History"}},{path:"/about/:id",label:"Generic",name:"Generic",component:()=>se(()=>import("./index-6a608add.js"),["assets/index-6a608add.js","assets/Header-7d12f5cc.js","assets/Container-399c160b.js","assets/Split-8a53adb0.js","assets/v-lazy-image-183f20e1.js","assets/aos-95496368.js","assets/SplitCTA-89e0277a.js","assets/PlusSmallIcon-dc3740b2.js"]),meta:{title:"Generic"}},{path:"/about/national-presidents-from-ontario",label:"national-presidents-from-ontario",name:"national-presidents-from-ontario",component:()=>se(()=>import("./index-43fa7324.js"),["assets/index-43fa7324.js","assets/Header-7d12f5cc.js","assets/Container-399c160b.js","assets/Split-8a53adb0.js","assets/v-lazy-image-183f20e1.js","assets/aos-95496368.js"]),meta:{title:"national-presidents-from-ontario"}},{path:"/about/opc-chairpersons",label:"opc-chairpersons",name:"opc-chairpersons",component:()=>se(()=>import("./chairs-d40595ed.js"),["assets/chairs-d40595ed.js","assets/Header-7d12f5cc.js","assets/Container-399c160b.js","assets/Split-8a53adb0.js","assets/v-lazy-image-183f20e1.js","assets/aos-95496368.js"]),meta:{title:"opc-chairpersons"}},{path:"/activities/summer-training/:id",label:"Generic 2",name:"Generic2",component:()=>se(()=>import("./index-6a608add.js"),["assets/index-6a608add.js","assets/Header-7d12f5cc.js","assets/Container-399c160b.js","assets/Split-8a53adb0.js","assets/v-lazy-image-183f20e1.js","assets/aos-95496368.js","assets/SplitCTA-89e0277a.js","assets/PlusSmallIcon-dc3740b2.js"]),meta:{title:"Generic2"}},{path:"/activities/summer-training/basic-courses",label:"Generic sm",name:"Genericsm",component:()=>se(()=>import("./genericsm-8858c7bc.js"),["assets/genericsm-8858c7bc.js","assets/Header-7d12f5cc.js","assets/Container-399c160b.js","assets/v-lazy-image-183f20e1.js","assets/aos-95496368.js"]),meta:{title:"Genericsm"}},{path:"/activities/national-courses/:id",label:"Generic 3",name:"Generic3",component:()=>se(()=>import("./index-6a608add.js"),["assets/index-6a608add.js","assets/Header-7d12f5cc.js","assets/Container-399c160b.js","assets/Split-8a53adb0.js","assets/v-lazy-image-183f20e1.js","assets/aos-95496368.js","assets/SplitCTA-89e0277a.js","assets/PlusSmallIcon-dc3740b2.js"]),meta:{title:"Generic3"}},{path:"/resources/ranks-and-appointments",label:"Ranks & Appointments",name:"Ranks & Appointments",component:()=>se(()=>import("./ranks-1d278379.js"),["assets/ranks-1d278379.js","assets/Header-7d12f5cc.js","assets/Container-399c160b.js","assets/Split-8a53adb0.js","assets/v-lazy-image-183f20e1.js","assets/aos-95496368.js"]),meta:{title:"Ranks & Appointments"}},{path:"/resources/cadet-awards-and-recognition",label:"Cadet Awards & Recognition",name:"Cadet Awards & Recognition",component:()=>se(()=>import("./awards-3bc7b1b5.js"),["assets/awards-3bc7b1b5.js","assets/Header-7d12f5cc.js","assets/Container-399c160b.js","assets/Split-8a53adb0.js","assets/v-lazy-image-183f20e1.js","assets/aos-95496368.js"]),meta:{title:"Cadet Awards & Recognition"}},{path:"/resources/cadet-training-centres",label:"Cadet Training",name:"Cadet Training",component:()=>se(()=>import("./training-524da1d4.js"),["assets/training-524da1d4.js","assets/Header-7d12f5cc.js","assets/Container-399c160b.js","assets/Split-8a53adb0.js","assets/v-lazy-image-183f20e1.js","assets/aos-95496368.js"]),meta:{title:"Cadet Training"}},{path:"/resources/:id",label:"Generic 4",name:"Generic4",component:()=>se(()=>import("./index-6a608add.js"),["assets/index-6a608add.js","assets/Header-7d12f5cc.js","assets/Container-399c160b.js","assets/Split-8a53adb0.js","assets/v-lazy-image-183f20e1.js","assets/aos-95496368.js","assets/SplitCTA-89e0277a.js","assets/PlusSmallIcon-dc3740b2.js"]),meta:{title:"Generic4"}},{path:"/resources/library",label:"Library",name:"Library",component:()=>se(()=>import("./index-87cf521d.js"),["assets/index-87cf521d.js","assets/Header-7d12f5cc.js","assets/Container-399c160b.js","assets/Filters-59ab0bab.js","assets/ChevronLeftIcon-b33fe0f3.js","assets/ChevronDownIcon-2577d679.js"]),meta:{title:"Library"}},{path:"/resources/library/:id",label:"Generic 12",name:"Generic12",component:()=>se(()=>import("./index-6a608add.js"),["assets/index-6a608add.js","assets/Header-7d12f5cc.js","assets/Container-399c160b.js","assets/Split-8a53adb0.js","assets/v-lazy-image-183f20e1.js","assets/aos-95496368.js","assets/SplitCTA-89e0277a.js","assets/PlusSmallIcon-dc3740b2.js"]),meta:{title:"Generic12"}},{path:"/resources/library/newsletters",label:"Newsletters",name:"Newsletters",component:()=>se(()=>import("./index-11d59ae8.js"),["assets/index-11d59ae8.js","assets/Header-7d12f5cc.js","assets/Container-399c160b.js","assets/moment-a9aaa855.js","assets/ChevronLeftIcon-b33fe0f3.js","assets/ChevronDownIcon-2577d679.js"]),meta:{title:"Newsletters"}},{path:"/join-us/:id",label:"Generic 5",name:"Generic5",component:()=>se(()=>import("./index-6a608add.js"),["assets/index-6a608add.js","assets/Header-7d12f5cc.js","assets/Container-399c160b.js","assets/Split-8a53adb0.js","assets/v-lazy-image-183f20e1.js","assets/aos-95496368.js","assets/SplitCTA-89e0277a.js","assets/PlusSmallIcon-dc3740b2.js"]),meta:{title:"Generic5"}},{path:"/join-us/:param/:id",label:"Generic6",name:"Generic6",component:()=>se(()=>import("./index-6a608add.js"),["assets/index-6a608add.js","assets/Header-7d12f5cc.js","assets/Container-399c160b.js","assets/Split-8a53adb0.js","assets/v-lazy-image-183f20e1.js","assets/aos-95496368.js","assets/SplitCTA-89e0277a.js","assets/PlusSmallIcon-dc3740b2.js"]),meta:{title:"Generic6"}},{path:"/:page/:id",label:"Generic7",name:"Generic7",component:()=>se(()=>import("./index-6a608add.js"),["assets/index-6a608add.js","assets/Header-7d12f5cc.js","assets/Container-399c160b.js","assets/Split-8a53adb0.js","assets/v-lazy-image-183f20e1.js","assets/aos-95496368.js","assets/SplitCTA-89e0277a.js","assets/PlusSmallIcon-dc3740b2.js"]),meta:{title:"Generic7"}},{path:"/about/faq",label:"FAQs",name:"FAQs",component:()=>se(()=>import("./index-8d80c83f.js"),["assets/index-8d80c83f.js","assets/Header-7d12f5cc.js","assets/Container-399c160b.js","assets/SectionTitle-8691b197.js","assets/SplitCTA-89e0277a.js","assets/v-lazy-image-183f20e1.js","assets/PlusSmallIcon-dc3740b2.js"]),meta:{title:"Frequently Asked Questions"}},{path:"/about/team",label:"Our Team",name:"Our Team",component:()=>se(()=>import("./index-261df41b.js"),["assets/index-261df41b.js","assets/Header-7d12f5cc.js","assets/Container-399c160b.js","assets/v-lazy-image-183f20e1.js","assets/Filters-59ab0bab.js","assets/ChevronLeftIcon-b33fe0f3.js","assets/ChevronDownIcon-2577d679.js","assets/SplitCTA-89e0277a.js"]),meta:{title:"Our Team"}},{path:"/about/team/:id",label:"Team Member",name:"Team Member",component:()=>se(()=>import("./index-d959a202.js"),["assets/index-d959a202.js","assets/Container-399c160b.js","assets/Header-7d12f5cc.js","assets/Split-8a53adb0.js","assets/v-lazy-image-183f20e1.js","assets/aos-95496368.js"]),meta:{title:"Team Member"}},{path:"/blog",label:"Blog",name:"Blog",component:()=>se(()=>import("./index-d2051ecd.js"),["assets/index-d2051ecd.js","assets/Header-7d12f5cc.js","assets/Container-399c160b.js","assets/BlogThreeColumnCards-b075ffe2.js","assets/v-lazy-image-183f20e1.js","assets/Filters-59ab0bab.js","assets/ChevronLeftIcon-b33fe0f3.js","assets/ChevronDownIcon-2577d679.js","assets/moment-a9aaa855.js"]),meta:{title:"Blog"}},{path:"/blog/:id",label:"blog post",name:"blog post",component:()=>se(()=>import("./index-91256c52.js"),["assets/index-91256c52.js","assets/Header-7d12f5cc.js","assets/Container-399c160b.js","assets/moment-a9aaa855.js"]),meta:{title:"blog post"},hidden:"true"},{path:"/products",label:"products",name:"products",component:()=>se(()=>import("./index-cab99940.js"),["assets/index-cab99940.js","assets/Header-7d12f5cc.js","assets/Container-399c160b.js","assets/XMarkIcon-4059afae.js","assets/description-c05796e5.js","assets/ChevronDownIcon-2577d679.js"]),meta:{title:"Products"}},{path:"/image-gallery",label:"Image Gallery",name:"Image Gallery",component:()=>se(()=>import("./index-d0fbbce2.js"),["assets/index-d0fbbce2.js","assets/Header-7d12f5cc.js","assets/Container-399c160b.js","assets/Gallery-9b5a155a.js","assets/v-lazy-image-183f20e1.js","assets/Filters-59ab0bab.js","assets/ChevronLeftIcon-b33fe0f3.js","assets/ChevronDownIcon-2577d679.js","assets/XMarkIcon-4059afae.js","assets/description-c05796e5.js"]),meta:{title:"Image Gallery"}},{path:"/video-gallery",label:"Video Gallery",name:"Video Gallery",component:()=>se(()=>import("./index-37977866.js"),["assets/index-37977866.js","assets/Header-7d12f5cc.js","assets/Container-399c160b.js","assets/Gallery-9b5a155a.js","assets/v-lazy-image-183f20e1.js","assets/Filters-59ab0bab.js","assets/ChevronLeftIcon-b33fe0f3.js","assets/ChevronDownIcon-2577d679.js","assets/XMarkIcon-4059afae.js","assets/description-c05796e5.js"]),meta:{title:"Video Gallery"}},{path:"/services",label:"Services",name:"Services",component:()=>se(()=>import("./index-f1140567.js"),["assets/index-f1140567.js","assets/Header-7d12f5cc.js","assets/Container-399c160b.js","assets/Split-8a53adb0.js","assets/v-lazy-image-183f20e1.js","assets/aos-95496368.js","assets/SplitCTA-89e0277a.js"]),meta:{title:"Services"}},{path:"/services/:id",label:"Services Details",name:"Services Details",component:()=>se(()=>import("./index-9f930077.js"),["assets/index-9f930077.js","assets/Header-7d12f5cc.js","assets/Container-399c160b.js","assets/Split-8a53adb0.js","assets/v-lazy-image-183f20e1.js","assets/aos-95496368.js","assets/SplitCTA-89e0277a.js"]),meta:{title:"Services Details"}},{path:"/products/:id",label:"products template",name:"products template",component:()=>se(()=>import("./template-720a2e0d.js"),["assets/template-720a2e0d.js","assets/Container-399c160b.js","assets/Header-7d12f5cc.js","assets/description-c05796e5.js"]),meta:{title:"Products Template"}},{path:"/news",label:"News",name:"News",component:()=>se(()=>import("./index-20ae1399.js"),["assets/index-20ae1399.js","assets/Header-7d12f5cc.js","assets/Container-399c160b.js","assets/BlogThreeColumnCards-b075ffe2.js","assets/v-lazy-image-183f20e1.js","assets/Filters-59ab0bab.js","assets/ChevronLeftIcon-b33fe0f3.js","assets/ChevronDownIcon-2577d679.js","assets/moment-a9aaa855.js"]),meta:{title:"News"}},{path:"/news/:id",label:"News post",name:"News post",component:()=>se(()=>import("./index-6f77a2f6.js"),["assets/index-6f77a2f6.js","assets/Header-7d12f5cc.js","assets/Container-399c160b.js","assets/moment-a9aaa855.js"]),meta:{title:"News post"},hidden:"true"},{path:"/contact",label:"Contact",name:"Contact",component:()=>se(()=>import("./index-4a88ee72.js"),["assets/index-4a88ee72.js","assets/Header-7d12f5cc.js","assets/Container-399c160b.js","assets/Split-8a53adb0.js","assets/v-lazy-image-183f20e1.js","assets/aos-95496368.js"]),meta:{title:"Contact"}},{path:"/:id",label:"Members",name:"Members",component:()=>se(()=>import("./index-6a608add.js"),["assets/index-6a608add.js","assets/Header-7d12f5cc.js","assets/Container-399c160b.js","assets/Split-8a53adb0.js","assets/v-lazy-image-183f20e1.js","assets/aos-95496368.js","assets/SplitCTA-89e0277a.js","assets/PlusSmallIcon-dc3740b2.js"]),meta:{title:"Members"}},{path:"/privacy",label:"Privacy Policy",name:"Privacy Policy",component:()=>se(()=>import("./privacy-d1d62bc6.js"),["assets/privacy-d1d62bc6.js","assets/Header-7d12f5cc.js","assets/Container-399c160b.js"]),meta:{title:"Privacy Policy"},hidden:!0},{path:"/terms",label:"Terms & Conditions",name:"Terms & Conditions",component:()=>se(()=>import("./terms-0b066283.js"),["assets/terms-0b066283.js","assets/Header-7d12f5cc.js","assets/Container-399c160b.js"]),meta:{title:"Terms & Conditions"},hidden:!0},{path:"/cookie-policy",label:"Cookie Policy",name:"Cookie Policy",component:()=>se(()=>import("./cookies-7f460957.js"),["assets/cookies-7f460957.js","assets/Header-7d12f5cc.js","assets/Container-399c160b.js"]),meta:{title:"Cookie Policy"},hidden:!0}],av=e=>[...e.map(t=>({path:t.path,component:t.component,name:t.name,href:t.href,meta:{...t.meta}})),{path:"/:path(.*)",component:()=>se(()=>import("./NotFound-3e2890c7.js"),[])},{path:"/",redirect:"/"}],lv=e=>{const t=[];for(const n of e){if(n.hidden)continue;const r=n.path.split("/")[1],i=t.findIndex(s=>s.path===`/${r}`);if(i===-1)t.push({path:`/${r}`,label:n.label,href:n.href,french:n.french,dropdownItems:[],fake:n.fake,name:n.name});else if(!n.path.includes(":")){const s=n.path.split("/").length-1;if(s===2)t[i].dropdownItems.push({path:n.path,label:n.label,href:n.href,french:n.french,dropdownItems:[],fake:n.fake,name:n.name});else if(s===3){const o=n.path.substring(0,n.path.lastIndexOf("/")),a=t[i].dropdownItems.findIndex(l=>l.path===o);a===-1?console.error("ERROR: parentIndex === -1",n.path,o):t[i].dropdownItems[a].dropdownItems.push({path:n.path,label:n.label,href:n.href,french:n.french,dropdownItems:[],fake:n.fake,name:n.name})}else if(s===4){const o=n.path.substring(0,n.path.lastIndexOf("/")),a=o.substring(0,o.lastIndexOf("/")),l=t[i].dropdownItems.findIndex(u=>u.path===a),c=t[i].dropdownItems[l].dropdownItems.findIndex(u=>u.path===o);c===-1?console.error("ERROR: parentIndex === -1",n.path,o):t[i].dropdownItems[l].dropdownItems[c].dropdownItems.push({path:n.path,label:n.label,href:n.href,french:n.french,dropdownItems:[],fake:n.fake,name:n.name})}}}return t},cv=av(mf),uv=lv(mf);function fv(e,t){return j(),W("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true"},[N("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M13.5 4.5L21 12m0 0l-7.5 7.5M21 12H3"})])}function dv(e,t){return j(),W("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true"},[N("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"})])}function hv(e,t){return j(),W("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true"},[N("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 8.25l-7.5 7.5-7.5-7.5"})])}function pv(e,t){return j(),W("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true"},[N("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4.5 15.75l7.5-7.5 7.5 7.5"})])}function mv(e,t){return j(),W("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},[N("path",{d:"M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z"})])}var ao=function(e,t){return ao=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},ao(e,t)};function jt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");ao(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var x=function(){return x=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},x.apply(this,arguments)};function un(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function rn(e,t,n,r){function i(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function a(u){try{c(r.next(u))}catch(f){o(f)}}function l(u){try{c(r.throw(u))}catch(f){o(f)}}function c(u){u.done?s(u.value):i(u.value).then(a,l)}c((r=r.apply(e,t||[])).next())})}function sn(e,t){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,i,s,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(c){return function(u){return l([c,u])}}function l(c){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,c[0]&&(n=0)),n;)try{if(r=1,i&&(s=c[0]&2?i.return:c[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,c[1])).done)return s;switch(i=0,s&&(c=[c[0]&2,s.value]),c[0]){case 0:case 1:s=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,i=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(s=n.trys,!(s=s.length>0&&s[s.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!s||c[1]>s[0]&&c[1]<s[3])){n.label=c[1];break}if(c[0]===6&&n.label<s[1]){n.label=s[1],s=c;break}if(s&&n.label<s[2]){n.label=s[2],n.ops.push(c);break}s[2]&&n.ops.pop(),n.trys.pop();continue}c=t.call(e,n)}catch(u){c=[6,u],i=0}finally{r=s=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function kn(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,s;r<i;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))}var Os="Invariant Violation",Pl=Object.setPrototypeOf,vv=Pl===void 0?function(e,t){return e.__proto__=t,e}:Pl,vf=function(e){jt(t,e);function t(n){n===void 0&&(n=Os);var r=e.call(this,typeof n=="number"?Os+": "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name=Os,vv(r,t.prototype),r}return t}(Error);function Tn(e,t){if(!e)throw new vf(t)}var yf=["debug","log","warn","error","silent"],yv=yf.indexOf("log");function si(e){return function(){if(yf.indexOf(e)>=yv){var t=console[e]||console.log;return t.apply(console,arguments)}}}(function(e){e.debug=si("debug"),e.log=si("log"),e.warn=si("warn"),e.error=si("error")})(Tn||(Tn={}));var ma="3.8.10";function wt(e){try{return e()}catch{}}const Rl=wt(function(){return globalThis})||wt(function(){return window})||wt(function(){return self})||wt(function(){return global})||wt(function(){return wt.constructor("return this")()});var Nl=new Map;function lo(e){var t=Nl.get(e)||1;return Nl.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}function gf(e,t){t===void 0&&(t=0);var n=lo("stringifyForDisplay");return JSON.stringify(e,function(r,i){return i===void 0?n:i},t).split(JSON.stringify(n)).join("<undefined>")}function oi(e){return function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];if(typeof t=="number"){var i=t;t=va(i),t||(t=ya(i,n),n=[])}e.apply(void 0,[t].concat(n))}}var ee=Object.assign(function(t,n){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];t||Tn(t,va(n,r)||ya(n,r))},{debug:oi(Tn.debug),log:oi(Tn.log),warn:oi(Tn.warn),error:oi(Tn.error)});function rt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new vf(va(e,t)||ya(e,t))}var Ml=Symbol.for("ApolloErrorMessageHandler_"+ma);function bf(e){return typeof e=="string"?e:gf(e,2).slice(0,1e3)}function va(e,t){if(t===void 0&&(t=[]),!!e)return Rl[Ml]&&Rl[Ml](e,t.map(bf))}function ya(e,t){if(t===void 0&&(t=[]),!!e)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:ma,message:e,args:t.map(bf)})))}function mi(e,t){if(!!!e)throw new Error(t)}function gv(e){return typeof e=="object"&&e!==null}function bv(e,t){if(!!!e)throw new Error(t??"Unexpected invariant triggered.")}const _v=/\r\n|[\n\r]/g;function co(e,t){let n=0,r=1;for(const i of e.body.matchAll(_v)){if(typeof i.index=="number"||bv(!1),i.index>=t)break;n=i.index+i[0].length,r+=1}return{line:r,column:t+1-n}}function Ev(e){return _f(e.source,co(e.source,e.start))}function _f(e,t){const n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,s=e.locationOffset.line-1,o=t.line+s,a=t.line===1?n:0,l=t.column+a,c=`${e.name}:${o}:${l}
`,u=r.split(/\r\n|[\n\r]/g),f=u[i];if(f.length>120){const d=Math.floor(l/80),h=l%80,p=[];for(let m=0;m<f.length;m+=80)p.push(f.slice(m,m+80));return c+Ll([[`${o} |`,p[0]],...p.slice(1,d+1).map(m=>["|",m]),["|","^".padStart(h)],["|",p[d+1]]])}return c+Ll([[`${o-1} |`,u[i-1]],[`${o} |`,f],["|","^".padStart(l)],[`${o+1} |`,u[i+1]]])}function Ll(e){const t=e.filter(([r,i])=>i!==void 0),n=Math.max(...t.map(([r])=>r.length));return t.map(([r,i])=>r.padStart(n)+(i?" "+i:"")).join(`
`)}function wv(e){const t=e[0];return t==null||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}class ga extends Error{constructor(t,...n){var r,i,s;const{nodes:o,source:a,positions:l,path:c,originalError:u,extensions:f}=wv(n);super(t),this.name="GraphQLError",this.path=c??void 0,this.originalError=u??void 0,this.nodes=Fl(Array.isArray(o)?o:o?[o]:void 0);const d=Fl((r=this.nodes)===null||r===void 0?void 0:r.map(p=>p.loc).filter(p=>p!=null));this.source=a??(d==null||(i=d[0])===null||i===void 0?void 0:i.source),this.positions=l??(d==null?void 0:d.map(p=>p.start)),this.locations=l&&a?l.map(p=>co(a,p)):d==null?void 0:d.map(p=>co(p.source,p.start));const h=gv(u==null?void 0:u.extensions)?u==null?void 0:u.extensions:void 0;this.extensions=(s=f??h)!==null&&s!==void 0?s:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),u!=null&&u.stack?Object.defineProperty(this,"stack",{value:u.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,ga):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let t=this.message;if(this.nodes)for(const n of this.nodes)n.loc&&(t+=`

`+Ev(n.loc));else if(this.source&&this.locations)for(const n of this.locations)t+=`

`+_f(this.source,n);return t}toJSON(){const t={message:this.message};return this.locations!=null&&(t.locations=this.locations),this.path!=null&&(t.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(t.extensions=this.extensions),t}}function Fl(e){return e===void 0||e.length===0?void 0:e}function We(e,t,n){return new ga(`Syntax Error: ${n}`,{source:e,positions:[t]})}class Tv{constructor(t,n,r){this.start=t.start,this.end=n.end,this.startToken=t,this.endToken=n,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class Ef{constructor(t,n,r,i,s,o){this.kind=t,this.start=n,this.end=r,this.line=i,this.column=s,this.value=o,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const wf={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},xv=new Set(Object.keys(wf));function jl(e){const t=e==null?void 0:e.kind;return typeof t=="string"&&xv.has(t)}var Qn;(function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"})(Qn||(Qn={}));var uo;(function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"})(uo||(uo={}));var U;(function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"})(U||(U={}));function fo(e){return e===9||e===32}function Fr(e){return e>=48&&e<=57}function Tf(e){return e>=97&&e<=122||e>=65&&e<=90}function xf(e){return Tf(e)||e===95}function Ov(e){return Tf(e)||Fr(e)||e===95}function Sv(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,i=-1;for(let o=0;o<e.length;++o){var s;const a=e[o],l=Iv(a);l!==a.length&&(r=(s=r)!==null&&s!==void 0?s:o,i=o,o!==0&&l<n&&(n=l))}return e.map((o,a)=>a===0?o:o.slice(n)).slice((t=r)!==null&&t!==void 0?t:0,i+1)}function Iv(e){let t=0;for(;t<e.length&&fo(e.charCodeAt(t));)++t;return t}function kv(e,t){const n=e.replace(/"""/g,'\\"""'),r=n.split(/\r\n|[\n\r]/g),i=r.length===1,s=r.length>1&&r.slice(1).every(h=>h.length===0||fo(h.charCodeAt(0))),o=n.endsWith('\\"""'),a=e.endsWith('"')&&!o,l=e.endsWith("\\"),c=a||l,u=!(t!=null&&t.minimize)&&(!i||e.length>70||c||s||o);let f="";const d=i&&fo(e.charCodeAt(0));return(u&&!d||s)&&(f+=`
`),f+=n,(u||c)&&(f+=`
`),'"""'+f+'"""'}var I;(function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"})(I||(I={}));class Cv{constructor(t){const n=new Ef(I.SOF,0,0,0,0);this.source=t,this.lastToken=n,this.token=n,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let t=this.token;if(t.kind!==I.EOF)do if(t.next)t=t.next;else{const n=Dv(this,t.end);t.next=n,n.prev=t,t=n}while(t.kind===I.COMMENT);return t}}function Av(e){return e===I.BANG||e===I.DOLLAR||e===I.AMP||e===I.PAREN_L||e===I.PAREN_R||e===I.SPREAD||e===I.COLON||e===I.EQUALS||e===I.AT||e===I.BRACKET_L||e===I.BRACKET_R||e===I.BRACE_L||e===I.PIPE||e===I.BRACE_R}function lr(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function ts(e,t){return Of(e.charCodeAt(t))&&Sf(e.charCodeAt(t+1))}function Of(e){return e>=55296&&e<=56319}function Sf(e){return e>=56320&&e<=57343}function Dn(e,t){const n=e.source.body.codePointAt(t);if(n===void 0)return I.EOF;if(n>=32&&n<=126){const r=String.fromCodePoint(n);return r==='"'?`'"'`:`"${r}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function Be(e,t,n,r,i){const s=e.line,o=1+n-e.lineStart;return new Ef(t,n,r,s,o,i)}function Dv(e,t){const n=e.source.body,r=n.length;let i=t;for(;i<r;){const s=n.charCodeAt(i);switch(s){case 65279:case 9:case 32:case 44:++i;continue;case 10:++i,++e.line,e.lineStart=i;continue;case 13:n.charCodeAt(i+1)===10?i+=2:++i,++e.line,e.lineStart=i;continue;case 35:return Pv(e,i);case 33:return Be(e,I.BANG,i,i+1);case 36:return Be(e,I.DOLLAR,i,i+1);case 38:return Be(e,I.AMP,i,i+1);case 40:return Be(e,I.PAREN_L,i,i+1);case 41:return Be(e,I.PAREN_R,i,i+1);case 46:if(n.charCodeAt(i+1)===46&&n.charCodeAt(i+2)===46)return Be(e,I.SPREAD,i,i+3);break;case 58:return Be(e,I.COLON,i,i+1);case 61:return Be(e,I.EQUALS,i,i+1);case 64:return Be(e,I.AT,i,i+1);case 91:return Be(e,I.BRACKET_L,i,i+1);case 93:return Be(e,I.BRACKET_R,i,i+1);case 123:return Be(e,I.BRACE_L,i,i+1);case 124:return Be(e,I.PIPE,i,i+1);case 125:return Be(e,I.BRACE_R,i,i+1);case 34:return n.charCodeAt(i+1)===34&&n.charCodeAt(i+2)===34?jv(e,i):Nv(e,i)}if(Fr(s)||s===45)return Rv(e,i,s);if(xf(s))return $v(e,i);throw We(e.source,i,s===39?`Unexpected single quote character ('), did you mean to use a double quote (")?`:lr(s)||ts(n,i)?`Unexpected character: ${Dn(e,i)}.`:`Invalid character: ${Dn(e,i)}.`)}return Be(e,I.EOF,r,r)}function Pv(e,t){const n=e.source.body,r=n.length;let i=t+1;for(;i<r;){const s=n.charCodeAt(i);if(s===10||s===13)break;if(lr(s))++i;else if(ts(n,i))i+=2;else break}return Be(e,I.COMMENT,t,i,n.slice(t+1,i))}function Rv(e,t,n){const r=e.source.body;let i=t,s=n,o=!1;if(s===45&&(s=r.charCodeAt(++i)),s===48){if(s=r.charCodeAt(++i),Fr(s))throw We(e.source,i,`Invalid number, unexpected digit after 0: ${Dn(e,i)}.`)}else i=Ss(e,i,s),s=r.charCodeAt(i);if(s===46&&(o=!0,s=r.charCodeAt(++i),i=Ss(e,i,s),s=r.charCodeAt(i)),(s===69||s===101)&&(o=!0,s=r.charCodeAt(++i),(s===43||s===45)&&(s=r.charCodeAt(++i)),i=Ss(e,i,s),s=r.charCodeAt(i)),s===46||xf(s))throw We(e.source,i,`Invalid number, expected digit but got: ${Dn(e,i)}.`);return Be(e,o?I.FLOAT:I.INT,t,i,r.slice(t,i))}function Ss(e,t,n){if(!Fr(n))throw We(e.source,t,`Invalid number, expected digit but got: ${Dn(e,t)}.`);const r=e.source.body;let i=t+1;for(;Fr(r.charCodeAt(i));)++i;return i}function Nv(e,t){const n=e.source.body,r=n.length;let i=t+1,s=i,o="";for(;i<r;){const a=n.charCodeAt(i);if(a===34)return o+=n.slice(s,i),Be(e,I.STRING,t,i+1,o);if(a===92){o+=n.slice(s,i);const l=n.charCodeAt(i+1)===117?n.charCodeAt(i+2)===123?Mv(e,i):Lv(e,i):Fv(e,i);o+=l.value,i+=l.size,s=i;continue}if(a===10||a===13)break;if(lr(a))++i;else if(ts(n,i))i+=2;else throw We(e.source,i,`Invalid character within String: ${Dn(e,i)}.`)}throw We(e.source,i,"Unterminated string.")}function Mv(e,t){const n=e.source.body;let r=0,i=3;for(;i<12;){const s=n.charCodeAt(t+i++);if(s===125){if(i<5||!lr(r))break;return{value:String.fromCodePoint(r),size:i}}if(r=r<<4|br(s),r<0)break}throw We(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+i)}".`)}function Lv(e,t){const n=e.source.body,r=$l(n,t+2);if(lr(r))return{value:String.fromCodePoint(r),size:6};if(Of(r)&&n.charCodeAt(t+6)===92&&n.charCodeAt(t+7)===117){const i=$l(n,t+8);if(Sf(i))return{value:String.fromCodePoint(r,i),size:12}}throw We(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}function $l(e,t){return br(e.charCodeAt(t))<<12|br(e.charCodeAt(t+1))<<8|br(e.charCodeAt(t+2))<<4|br(e.charCodeAt(t+3))}function br(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function Fv(e,t){const n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:`
`,size:2};case 114:return{value:"\r",size:2};case 116:return{value:"	",size:2}}throw We(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function jv(e,t){const n=e.source.body,r=n.length;let i=e.lineStart,s=t+3,o=s,a="";const l=[];for(;s<r;){const c=n.charCodeAt(s);if(c===34&&n.charCodeAt(s+1)===34&&n.charCodeAt(s+2)===34){a+=n.slice(o,s),l.push(a);const u=Be(e,I.BLOCK_STRING,t,s+3,Sv(l).join(`
`));return e.line+=l.length-1,e.lineStart=i,u}if(c===92&&n.charCodeAt(s+1)===34&&n.charCodeAt(s+2)===34&&n.charCodeAt(s+3)===34){a+=n.slice(o,s),o=s+1,s+=4;continue}if(c===10||c===13){a+=n.slice(o,s),l.push(a),c===13&&n.charCodeAt(s+1)===10?s+=2:++s,a="",o=s,i=s;continue}if(lr(c))++s;else if(ts(n,s))s+=2;else throw We(e.source,s,`Invalid character within String: ${Dn(e,s)}.`)}throw We(e.source,s,"Unterminated string.")}function $v(e,t){const n=e.source.body,r=n.length;let i=t+1;for(;i<r;){const s=n.charCodeAt(i);if(Ov(s))++i;else break}return Be(e,I.NAME,t,i,n.slice(t,i))}const Vv=10,If=2;function ba(e){return ns(e,[])}function ns(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return qv(e,t);default:return String(e)}}function qv(e,t){if(e===null)return"null";if(t.includes(e))return"[Circular]";const n=[...t,e];if(Bv(e)){const r=e.toJSON();if(r!==e)return typeof r=="string"?r:ns(r,n)}else if(Array.isArray(e))return Hv(e,n);return Qv(e,n)}function Bv(e){return typeof e.toJSON=="function"}function Qv(e,t){const n=Object.entries(e);return n.length===0?"{}":t.length>If?"["+Uv(e)+"]":"{ "+n.map(([i,s])=>i+": "+ns(s,t)).join(", ")+" }"}function Hv(e,t){if(e.length===0)return"[]";if(t.length>If)return"[Array]";const n=Math.min(Vv,e.length),r=e.length-n,i=[];for(let s=0;s<n;++s)i.push(ns(e[s],t));return r===1?i.push("... 1 more item"):r>1&&i.push(`... ${r} more items`),"["+i.join(", ")+"]"}function Uv(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if(t==="Object"&&typeof e.constructor=="function"){const n=e.constructor.name;if(typeof n=="string"&&n!=="")return n}return t}const Gv=globalThis.process?function(t,n){return t instanceof n}:function(t,n){if(t instanceof n)return!0;if(typeof t=="object"&&t!==null){var r;const i=n.prototype[Symbol.toStringTag],s=Symbol.toStringTag in t?t[Symbol.toStringTag]:(r=t.constructor)===null||r===void 0?void 0:r.name;if(i===s){const o=ba(t);throw new Error(`Cannot use ${i} "${o}" from another module or realm.

Ensure that there is only one instance of "graphql" in the node_modules
directory. If different versions of "graphql" are the dependencies of other
relied on modules, use "resolutions" to ensure only one version is installed.

https://yarnpkg.com/en/docs/selective-version-resolutions

Duplicate "graphql" modules cannot be used at the same time since different
versions may have different capabilities and behavior. The data from one
version used in the function from another could produce confusing and
spurious results.`)}}return!1};class kf{constructor(t,n="GraphQL request",r={line:1,column:1}){typeof t=="string"||mi(!1,`Body must be a string. Received: ${ba(t)}.`),this.body=t,this.name=n,this.locationOffset=r,this.locationOffset.line>0||mi(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||mi(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function zv(e){return Gv(e,kf)}function Wv(e,t){return new Kv(e,t).parseDocument()}class Kv{constructor(t,n={}){const r=zv(t)?t:new kf(t);this._lexer=new Cv(r),this._options=n,this._tokenCounter=0}parseName(){const t=this.expectToken(I.NAME);return this.node(t,{kind:U.NAME,value:t.value})}parseDocument(){return this.node(this._lexer.token,{kind:U.DOCUMENT,definitions:this.many(I.SOF,this.parseDefinition,I.EOF)})}parseDefinition(){if(this.peek(I.BRACE_L))return this.parseOperationDefinition();const t=this.peekDescription(),n=t?this._lexer.lookahead():this._lexer.token;if(n.kind===I.NAME){switch(n.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(t)throw We(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(n.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(n)}parseOperationDefinition(){const t=this._lexer.token;if(this.peek(I.BRACE_L))return this.node(t,{kind:U.OPERATION_DEFINITION,operation:Qn.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const n=this.parseOperationType();let r;return this.peek(I.NAME)&&(r=this.parseName()),this.node(t,{kind:U.OPERATION_DEFINITION,operation:n,name:r,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const t=this.expectToken(I.NAME);switch(t.value){case"query":return Qn.QUERY;case"mutation":return Qn.MUTATION;case"subscription":return Qn.SUBSCRIPTION}throw this.unexpected(t)}parseVariableDefinitions(){return this.optionalMany(I.PAREN_L,this.parseVariableDefinition,I.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:U.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(I.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(I.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const t=this._lexer.token;return this.expectToken(I.DOLLAR),this.node(t,{kind:U.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:U.SELECTION_SET,selections:this.many(I.BRACE_L,this.parseSelection,I.BRACE_R)})}parseSelection(){return this.peek(I.SPREAD)?this.parseFragment():this.parseField()}parseField(){const t=this._lexer.token,n=this.parseName();let r,i;return this.expectOptionalToken(I.COLON)?(r=n,i=this.parseName()):i=n,this.node(t,{kind:U.FIELD,alias:r,name:i,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(I.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(t){const n=t?this.parseConstArgument:this.parseArgument;return this.optionalMany(I.PAREN_L,n,I.PAREN_R)}parseArgument(t=!1){const n=this._lexer.token,r=this.parseName();return this.expectToken(I.COLON),this.node(n,{kind:U.ARGUMENT,name:r,value:this.parseValueLiteral(t)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const t=this._lexer.token;this.expectToken(I.SPREAD);const n=this.expectOptionalKeyword("on");return!n&&this.peek(I.NAME)?this.node(t,{kind:U.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(t,{kind:U.INLINE_FRAGMENT,typeCondition:n?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const t=this._lexer.token;return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(t,{kind:U.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(t,{kind:U.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(t){const n=this._lexer.token;switch(n.kind){case I.BRACKET_L:return this.parseList(t);case I.BRACE_L:return this.parseObject(t);case I.INT:return this.advanceLexer(),this.node(n,{kind:U.INT,value:n.value});case I.FLOAT:return this.advanceLexer(),this.node(n,{kind:U.FLOAT,value:n.value});case I.STRING:case I.BLOCK_STRING:return this.parseStringLiteral();case I.NAME:switch(this.advanceLexer(),n.value){case"true":return this.node(n,{kind:U.BOOLEAN,value:!0});case"false":return this.node(n,{kind:U.BOOLEAN,value:!1});case"null":return this.node(n,{kind:U.NULL});default:return this.node(n,{kind:U.ENUM,value:n.value})}case I.DOLLAR:if(t)if(this.expectToken(I.DOLLAR),this._lexer.token.kind===I.NAME){const r=this._lexer.token.value;throw We(this._lexer.source,n.start,`Unexpected variable "$${r}" in constant value.`)}else throw this.unexpected(n);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const t=this._lexer.token;return this.advanceLexer(),this.node(t,{kind:U.STRING,value:t.value,block:t.kind===I.BLOCK_STRING})}parseList(t){const n=()=>this.parseValueLiteral(t);return this.node(this._lexer.token,{kind:U.LIST,values:this.any(I.BRACKET_L,n,I.BRACKET_R)})}parseObject(t){const n=()=>this.parseObjectField(t);return this.node(this._lexer.token,{kind:U.OBJECT,fields:this.any(I.BRACE_L,n,I.BRACE_R)})}parseObjectField(t){const n=this._lexer.token,r=this.parseName();return this.expectToken(I.COLON),this.node(n,{kind:U.OBJECT_FIELD,name:r,value:this.parseValueLiteral(t)})}parseDirectives(t){const n=[];for(;this.peek(I.AT);)n.push(this.parseDirective(t));return n}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(t){const n=this._lexer.token;return this.expectToken(I.AT),this.node(n,{kind:U.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(t)})}parseTypeReference(){const t=this._lexer.token;let n;if(this.expectOptionalToken(I.BRACKET_L)){const r=this.parseTypeReference();this.expectToken(I.BRACKET_R),n=this.node(t,{kind:U.LIST_TYPE,type:r})}else n=this.parseNamedType();return this.expectOptionalToken(I.BANG)?this.node(t,{kind:U.NON_NULL_TYPE,type:n}):n}parseNamedType(){return this.node(this._lexer.token,{kind:U.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(I.STRING)||this.peek(I.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("schema");const r=this.parseConstDirectives(),i=this.many(I.BRACE_L,this.parseOperationTypeDefinition,I.BRACE_R);return this.node(t,{kind:U.SCHEMA_DEFINITION,description:n,directives:r,operationTypes:i})}parseOperationTypeDefinition(){const t=this._lexer.token,n=this.parseOperationType();this.expectToken(I.COLON);const r=this.parseNamedType();return this.node(t,{kind:U.OPERATION_TYPE_DEFINITION,operation:n,type:r})}parseScalarTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("scalar");const r=this.parseName(),i=this.parseConstDirectives();return this.node(t,{kind:U.SCALAR_TYPE_DEFINITION,description:n,name:r,directives:i})}parseObjectTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("type");const r=this.parseName(),i=this.parseImplementsInterfaces(),s=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(t,{kind:U.OBJECT_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:s,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(I.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(I.BRACE_L,this.parseFieldDefinition,I.BRACE_R)}parseFieldDefinition(){const t=this._lexer.token,n=this.parseDescription(),r=this.parseName(),i=this.parseArgumentDefs();this.expectToken(I.COLON);const s=this.parseTypeReference(),o=this.parseConstDirectives();return this.node(t,{kind:U.FIELD_DEFINITION,description:n,name:r,arguments:i,type:s,directives:o})}parseArgumentDefs(){return this.optionalMany(I.PAREN_L,this.parseInputValueDef,I.PAREN_R)}parseInputValueDef(){const t=this._lexer.token,n=this.parseDescription(),r=this.parseName();this.expectToken(I.COLON);const i=this.parseTypeReference();let s;this.expectOptionalToken(I.EQUALS)&&(s=this.parseConstValueLiteral());const o=this.parseConstDirectives();return this.node(t,{kind:U.INPUT_VALUE_DEFINITION,description:n,name:r,type:i,defaultValue:s,directives:o})}parseInterfaceTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("interface");const r=this.parseName(),i=this.parseImplementsInterfaces(),s=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(t,{kind:U.INTERFACE_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:s,fields:o})}parseUnionTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("union");const r=this.parseName(),i=this.parseConstDirectives(),s=this.parseUnionMemberTypes();return this.node(t,{kind:U.UNION_TYPE_DEFINITION,description:n,name:r,directives:i,types:s})}parseUnionMemberTypes(){return this.expectOptionalToken(I.EQUALS)?this.delimitedMany(I.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("enum");const r=this.parseName(),i=this.parseConstDirectives(),s=this.parseEnumValuesDefinition();return this.node(t,{kind:U.ENUM_TYPE_DEFINITION,description:n,name:r,directives:i,values:s})}parseEnumValuesDefinition(){return this.optionalMany(I.BRACE_L,this.parseEnumValueDefinition,I.BRACE_R)}parseEnumValueDefinition(){const t=this._lexer.token,n=this.parseDescription(),r=this.parseEnumValueName(),i=this.parseConstDirectives();return this.node(t,{kind:U.ENUM_VALUE_DEFINITION,description:n,name:r,directives:i})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw We(this._lexer.source,this._lexer.token.start,`${ai(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("input");const r=this.parseName(),i=this.parseConstDirectives(),s=this.parseInputFieldsDefinition();return this.node(t,{kind:U.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:r,directives:i,fields:s})}parseInputFieldsDefinition(){return this.optionalMany(I.BRACE_L,this.parseInputValueDef,I.BRACE_R)}parseTypeSystemExtension(){const t=this._lexer.lookahead();if(t.kind===I.NAME)switch(t.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(t)}parseSchemaExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const n=this.parseConstDirectives(),r=this.optionalMany(I.BRACE_L,this.parseOperationTypeDefinition,I.BRACE_R);if(n.length===0&&r.length===0)throw this.unexpected();return this.node(t,{kind:U.SCHEMA_EXTENSION,directives:n,operationTypes:r})}parseScalarTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const n=this.parseName(),r=this.parseConstDirectives();if(r.length===0)throw this.unexpected();return this.node(t,{kind:U.SCALAR_TYPE_EXTENSION,name:n,directives:r})}parseObjectTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),s=this.parseFieldsDefinition();if(r.length===0&&i.length===0&&s.length===0)throw this.unexpected();return this.node(t,{kind:U.OBJECT_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:s})}parseInterfaceTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),s=this.parseFieldsDefinition();if(r.length===0&&i.length===0&&s.length===0)throw this.unexpected();return this.node(t,{kind:U.INTERFACE_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:s})}parseUnionTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:U.UNION_TYPE_EXTENSION,name:n,directives:r,types:i})}parseEnumTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:U.ENUM_TYPE_EXTENSION,name:n,directives:r,values:i})}parseInputObjectTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:U.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:r,fields:i})}parseDirectiveDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("directive"),this.expectToken(I.AT);const r=this.parseName(),i=this.parseArgumentDefs(),s=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const o=this.parseDirectiveLocations();return this.node(t,{kind:U.DIRECTIVE_DEFINITION,description:n,name:r,arguments:i,repeatable:s,locations:o})}parseDirectiveLocations(){return this.delimitedMany(I.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const t=this._lexer.token,n=this.parseName();if(Object.prototype.hasOwnProperty.call(uo,n.value))return n;throw this.unexpected(t)}node(t,n){return this._options.noLocation!==!0&&(n.loc=new Tv(t,this._lexer.lastToken,this._lexer.source)),n}peek(t){return this._lexer.token.kind===t}expectToken(t){const n=this._lexer.token;if(n.kind===t)return this.advanceLexer(),n;throw We(this._lexer.source,n.start,`Expected ${Cf(t)}, found ${ai(n)}.`)}expectOptionalToken(t){return this._lexer.token.kind===t?(this.advanceLexer(),!0):!1}expectKeyword(t){const n=this._lexer.token;if(n.kind===I.NAME&&n.value===t)this.advanceLexer();else throw We(this._lexer.source,n.start,`Expected "${t}", found ${ai(n)}.`)}expectOptionalKeyword(t){const n=this._lexer.token;return n.kind===I.NAME&&n.value===t?(this.advanceLexer(),!0):!1}unexpected(t){const n=t??this._lexer.token;return We(this._lexer.source,n.start,`Unexpected ${ai(n)}.`)}any(t,n,r){this.expectToken(t);const i=[];for(;!this.expectOptionalToken(r);)i.push(n.call(this));return i}optionalMany(t,n,r){if(this.expectOptionalToken(t)){const i=[];do i.push(n.call(this));while(!this.expectOptionalToken(r));return i}return[]}many(t,n,r){this.expectToken(t);const i=[];do i.push(n.call(this));while(!this.expectOptionalToken(r));return i}delimitedMany(t,n){this.expectOptionalToken(t);const r=[];do r.push(n.call(this));while(this.expectOptionalToken(t));return r}advanceLexer(){const{maxTokens:t}=this._options,n=this._lexer.advance();if(t!==void 0&&n.kind!==I.EOF&&(++this._tokenCounter,this._tokenCounter>t))throw We(this._lexer.source,n.start,`Document contains more that ${t} tokens. Parsing aborted.`)}}function ai(e){const t=e.value;return Cf(e.kind)+(t!=null?` "${t}"`:"")}function Cf(e){return Av(e)?`"${e}"`:e}function Yv(e){return`"${e.replace(Jv,Zv)}"`}const Jv=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function Zv(e){return Xv[e.charCodeAt(0)]}const Xv=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"],_a=Object.freeze({});function Ut(e,t,n=wf){const r=new Map;for(const v of Object.values(U))r.set(v,ey(t,v));let i,s=Array.isArray(e),o=[e],a=-1,l=[],c=e,u,f;const d=[],h=[];do{a++;const v=a===o.length,E=v&&l.length!==0;if(v){if(u=h.length===0?void 0:d[d.length-1],c=f,f=h.pop(),E)if(s){c=c.slice();let T=0;for(const[S,w]of l){const P=S-T;w===null?(c.splice(P,1),T++):c[P]=w}}else{c=Object.defineProperties({},Object.getOwnPropertyDescriptors(c));for(const[T,S]of l)c[T]=S}a=i.index,o=i.keys,l=i.edits,s=i.inArray,i=i.prev}else if(f){if(u=s?a:o[a],c=f[u],c==null)continue;d.push(u)}let b;if(!Array.isArray(c)){var p,m;jl(c)||mi(!1,`Invalid AST Node: ${ba(c)}.`);const T=v?(p=r.get(c.kind))===null||p===void 0?void 0:p.leave:(m=r.get(c.kind))===null||m===void 0?void 0:m.enter;if(b=T==null?void 0:T.call(t,c,u,f,d,h),b===_a)break;if(b===!1){if(!v){d.pop();continue}}else if(b!==void 0&&(l.push([u,b]),!v))if(jl(b))c=b;else{d.pop();continue}}if(b===void 0&&E&&l.push([u,c]),v)d.pop();else{var g;i={inArray:s,index:a,keys:o,edits:l,prev:i},s=Array.isArray(c),o=s?c:(g=n[c.kind])!==null&&g!==void 0?g:[],a=-1,l=[],f&&h.push(f),f=c}}while(i!==void 0);return l.length!==0?l[l.length-1][1]:e}function ey(e,t){const n=e[t];return typeof n=="object"?n:typeof n=="function"?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}function ty(e){return Ut(e,ry)}const ny=80,ry={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>z(e.definitions,`

`)},OperationDefinition:{leave(e){const t=ue("(",z(e.variableDefinitions,", "),")"),n=z([e.operation,z([e.name,t]),z(e.directives," ")]," ");return(n==="query"?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r})=>e+": "+t+ue(" = ",n)+ue(" ",z(r," "))},SelectionSet:{leave:({selections:e})=>_t(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:i}){const s=ue("",e,": ")+t;let o=s+ue("(",z(n,", "),")");return o.length>ny&&(o=s+ue(`(
`,vi(z(n,`
`)),`
)`)),z([o,z(r," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+ue(" ",z(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>z(["...",ue("on ",e),z(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:i})=>`fragment ${e}${ue("(",z(n,", "),")")} on ${t} ${ue("",z(r," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?kv(e):Yv(e)},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+z(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+z(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+ue("(",z(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>ue("",e,`
`)+z(["schema",z(t," "),_t(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>ue("",e,`
`)+z(["scalar",t,z(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>ue("",e,`
`)+z(["type",t,ue("implements ",z(n," & ")),z(r," "),_t(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:i})=>ue("",e,`
`)+t+(Vl(n)?ue(`(
`,vi(z(n,`
`)),`
)`):ue("(",z(n,", "),")"))+": "+r+ue(" ",z(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:i})=>ue("",e,`
`)+z([t+": "+n,ue("= ",r),z(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>ue("",e,`
`)+z(["interface",t,ue("implements ",z(n," & ")),z(r," "),_t(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>ue("",e,`
`)+z(["union",t,z(n," "),ue("= ",z(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>ue("",e,`
`)+z(["enum",t,z(n," "),_t(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>ue("",e,`
`)+z([t,z(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>ue("",e,`
`)+z(["input",t,z(n," "),_t(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:r,locations:i})=>ue("",e,`
`)+"directive @"+t+(Vl(n)?ue(`(
`,vi(z(n,`
`)),`
)`):ue("(",z(n,", "),")"))+(r?" repeatable":"")+" on "+z(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>z(["extend schema",z(e," "),_t(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>z(["extend scalar",e,z(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>z(["extend type",e,ue("implements ",z(t," & ")),z(n," "),_t(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>z(["extend interface",e,ue("implements ",z(t," & ")),z(n," "),_t(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>z(["extend union",e,z(t," "),ue("= ",z(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>z(["extend enum",e,z(t," "),_t(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>z(["extend input",e,z(t," "),_t(n)]," ")}};function z(e,t=""){var n;return(n=e==null?void 0:e.filter(r=>r).join(t))!==null&&n!==void 0?n:""}function _t(e){return ue(`{
`,vi(z(e,`
`)),`
}`)}function ue(e,t,n=""){return t!=null&&t!==""?e+t+n:""}function vi(e){return ue("  ",e.replace(/\n/g,`
  `))}function Vl(e){var t;return(t=e==null?void 0:e.some(n=>n.includes(`
`)))!==null&&t!==void 0?t:!1}function ql(e){return e.kind===U.FIELD||e.kind===U.FRAGMENT_SPREAD||e.kind===U.INLINE_FRAGMENT}function Ur(e,t){var n=e.directives;return!n||!n.length?!0:oy(n).every(function(r){var i=r.directive,s=r.ifArgument,o=!1;return s.value.kind==="Variable"?(o=t&&t[s.value.name.value],ee(o!==void 0,66,i.name.value)):o=s.value.value,i.name.value==="skip"?!o:o})}function jr(e,t,n){var r=new Set(e),i=r.size;return Ut(t,{Directive:function(s){if(r.delete(s.name.value)&&(!n||!r.size))return _a}}),n?!r.size:r.size<i}function iy(e){return e&&jr(["client","export"],e,!0)}function sy(e){var t=e.name.value;return t==="skip"||t==="include"}function oy(e){var t=[];return e&&e.length&&e.forEach(function(n){if(sy(n)){var r=n.arguments,i=n.name.value;ee(r&&r.length===1,67,i);var s=r[0];ee(s.name&&s.name.value==="if",68,i);var o=s.value;ee(o&&(o.kind==="Variable"||o.kind==="BooleanValue"),69,i),t.push({directive:n,ifArgument:s})}}),t}const ay=()=>Object.create(null),{forEach:ly,slice:Bl}=Array.prototype,{hasOwnProperty:cy}=Object.prototype;let Gr=class Af{constructor(t=!0,n=ay){this.weakness=t,this.makeData=n}lookup(){return this.lookupArray(arguments)}lookupArray(t){let n=this;return ly.call(t,r=>n=n.getChildTrie(r)),cy.call(n,"data")?n.data:n.data=this.makeData(Bl.call(t))}peek(){return this.peekArray(arguments)}peekArray(t){let n=this;for(let r=0,i=t.length;n&&r<i;++r){const s=n.mapFor(t[r],!1);n=s&&s.get(t[r])}return n&&n.data}remove(){return this.removeArray(arguments)}removeArray(t){let n;if(t.length){const r=t[0],i=this.mapFor(r,!1),s=i&&i.get(r);s&&(n=s.removeArray(Bl.call(t,1)),!s.data&&!s.weak&&!(s.strong&&s.strong.size)&&i.delete(r))}else n=this.data,delete this.data;return n}getChildTrie(t){const n=this.mapFor(t,!0);let r=n.get(t);return r||n.set(t,r=new Af(this.weakness,this.makeData)),r}mapFor(t,n){return this.weakness&&uy(t)?this.weak||(n?this.weak=new WeakMap:void 0):this.strong||(n?this.strong=new Map:void 0)}};function uy(e){switch(typeof e){case"object":if(e===null)break;case"function":return!0}return!1}var zt=typeof WeakMap=="function"&&wt(function(){return navigator.product})!=="ReactNative",Df=typeof WeakSet=="function",Pf=typeof Symbol=="function"&&typeof Symbol.for=="function",rs=Pf&&Symbol.asyncIterator;wt(function(){return window.document.createElement});wt(function(){return navigator.userAgent.indexOf("jsdom")>=0});function Ne(e){return e!==null&&typeof e=="object"}function fy(e,t){var n=t,r=[];e.definitions.forEach(function(s){if(s.kind==="OperationDefinition")throw rt(70,s.operation,s.name?" named '".concat(s.name.value,"'"):"");s.kind==="FragmentDefinition"&&r.push(s)}),typeof n>"u"&&(ee(r.length===1,71,r.length),n=r[0].name.value);var i=x(x({},e),{definitions:kn([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions,!0)});return i}function is(e){e===void 0&&(e=[]);var t={};return e.forEach(function(n){t[n.name.value]=n}),t}function ss(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":{var n=e.name.value;if(typeof t=="function")return t(n);var r=t&&t[n];return ee(r,72,n),r||null}default:return null}}function Yn(e){return{__ref:String(e)}}function ve(e){return!!(e&&typeof e=="object"&&typeof e.__ref=="string")}function dy(e){return Ne(e)&&e.kind==="Document"&&Array.isArray(e.definitions)}function hy(e){return e.kind==="StringValue"}function py(e){return e.kind==="BooleanValue"}function my(e){return e.kind==="IntValue"}function vy(e){return e.kind==="FloatValue"}function yy(e){return e.kind==="Variable"}function gy(e){return e.kind==="ObjectValue"}function by(e){return e.kind==="ListValue"}function _y(e){return e.kind==="EnumValue"}function Ey(e){return e.kind==="NullValue"}function er(e,t,n,r){if(my(n)||vy(n))e[t.value]=Number(n.value);else if(py(n)||hy(n))e[t.value]=n.value;else if(gy(n)){var i={};n.fields.map(function(o){return er(i,o.name,o.value,r)}),e[t.value]=i}else if(yy(n)){var s=(r||{})[n.name.value];e[t.value]=s}else if(by(n))e[t.value]=n.values.map(function(o){var a={};return er(a,t,o,r),a[t.value]});else if(_y(n))e[t.value]=n.value;else if(Ey(n))e[t.value]=null;else throw rt(81,t.value,n.kind)}function wy(e,t){var n=null;e.directives&&(n={},e.directives.forEach(function(i){n[i.name.value]={},i.arguments&&i.arguments.forEach(function(s){var o=s.name,a=s.value;return er(n[i.name.value],o,a,t)})}));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach(function(i){var s=i.name,o=i.value;return er(r,s,o,t)})),Ea(e.name.value,r,n)}var Ty=["connection","include","skip","client","rest","export","nonreactive"],Ea=Object.assign(function(e,t,n){if(t&&n&&n.connection&&n.connection.key)if(n.connection.filter&&n.connection.filter.length>0){var r=n.connection.filter?n.connection.filter:[];r.sort();var i={};return r.forEach(function(a){i[a]=t[a]}),"".concat(n.connection.key,"(").concat(fr(i),")")}else return n.connection.key;var s=e;if(t){var o=fr(t);s+="(".concat(o,")")}return n&&Object.keys(n).forEach(function(a){Ty.indexOf(a)===-1&&(n[a]&&Object.keys(n[a]).length?s+="@".concat(a,"(").concat(fr(n[a]),")"):s+="@".concat(a))}),s},{setStringify:function(e){var t=fr;return fr=e,t}}),fr=function(t){return JSON.stringify(t,xy)};function xy(e,t){return Ne(t)&&!Array.isArray(t)&&(t=Object.keys(t).sort().reduce(function(n,r){return n[r]=t[r],n},{})),t}function os(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach(function(r){var i=r.name,s=r.value;return er(n,i,s,t)}),n}return null}function fn(e){return e.alias?e.alias.value:e.name.value}function ho(e,t,n){for(var r,i=0,s=t.selections;i<s.length;i++){var o=s[i];if(dn(o)){if(o.name.value==="__typename")return e[fn(o)]}else r?r.push(o):r=[o]}if(typeof e.__typename=="string")return e.__typename;if(r)for(var a=0,l=r;a<l.length;a++){var o=l[a],c=ho(e,ss(o,n).selectionSet,n);if(typeof c=="string")return c}}function dn(e){return e.kind==="Field"}function Oy(e){return e.kind==="InlineFragment"}function zr(e){ee(e&&e.kind==="Document",73);var t=e.definitions.filter(function(n){return n.kind!=="FragmentDefinition"}).map(function(n){if(n.kind!=="OperationDefinition")throw rt(74,n.kind);return n});return ee(t.length<=1,75,t.length),e}function Wr(e){return zr(e),e.definitions.filter(function(t){return t.kind==="OperationDefinition"})[0]}function po(e){return e.definitions.filter(function(t){return t.kind==="OperationDefinition"&&!!t.name}).map(function(t){return t.name.value})[0]||null}function as(e){return e.definitions.filter(function(t){return t.kind==="FragmentDefinition"})}function Rf(e){var t=Wr(e);return ee(t&&t.operation==="query",76),t}function Sy(e){ee(e.kind==="Document",77),ee(e.definitions.length<=1,78);var t=e.definitions[0];return ee(t.kind==="FragmentDefinition",79),t}function Kr(e){zr(e);for(var t,n=0,r=e.definitions;n<r.length;n++){var i=r[n];if(i.kind==="OperationDefinition"){var s=i.operation;if(s==="query"||s==="mutation"||s==="subscription")return i}i.kind==="FragmentDefinition"&&!t&&(t=i)}if(t)return t;throw rt(80)}function wa(e){var t=Object.create(null),n=e&&e.variableDefinitions;return n&&n.length&&n.forEach(function(r){r.defaultValue&&er(t,r.variable.name,r.defaultValue)}),t}function Iy(e){return e}var Nf=function(){function e(t,n){n===void 0&&(n=Object.create(null)),this.resultCache=Df?new WeakSet:new Set,this.transform=t,n.getCacheKey&&(this.getCacheKey=n.getCacheKey),n.cache!==!1&&(this.stableCacheKeys=new Gr(zt,function(r){return{key:r}}))}return e.prototype.getCacheKey=function(t){return[t]},e.identity=function(){return new e(Iy,{cache:!1})},e.split=function(t,n,r){return r===void 0&&(r=e.identity()),new e(function(i){var s=t(i)?n:r;return s.transformDocument(i)},{cache:!1})},e.prototype.transformDocument=function(t){if(this.resultCache.has(t))return t;var n=this.getStableCacheEntry(t);if(n&&n.value)return n.value;zr(t);var r=this.transform(t);return this.resultCache.add(r),n&&(n.value=r),r},e.prototype.concat=function(t){var n=this;return new e(function(r){return t.transformDocument(n.transformDocument(r))},{cache:!1})},e.prototype.getStableCacheEntry=function(t){if(this.stableCacheKeys){var n=this.getCacheKey(t);if(n)return ee(Array.isArray(n),65),this.stableCacheKeys.lookupArray(n)}},e}(),Ln=zt?new WeakMap:void 0,Mf=function(e){var t;return t=Ln==null?void 0:Ln.get(e),t||(t=ty(e),Ln==null||Ln.set(e,t)),t},Fe=Array.isArray;function Ft(e){return Array.isArray(e)&&e.length>0}var Ql={kind:U.FIELD,name:{kind:U.NAME,value:"__typename"}};function Lf(e,t){return!e||e.selectionSet.selections.every(function(n){return n.kind===U.FRAGMENT_SPREAD&&Lf(t[n.name.value],t)})}function ky(e){return Lf(Wr(e)||Sy(e),is(as(e)))?null:e}function Cy(e){var t=new Map,n=new Map;return e.forEach(function(r){r&&(r.name?t.set(r.name,r):r.test&&n.set(r.test,r))}),function(r){var i=t.get(r.name.value);return!i&&n.size&&n.forEach(function(s,o){o(r)&&(i=s)}),i}}function Hl(e){var t=new Map;return function(r){r===void 0&&(r=e);var i=t.get(r);return i||t.set(r,i={variables:new Set,fragmentSpreads:new Set}),i}}function Ff(e,t){zr(t);for(var n=Hl(""),r=Hl(""),i=function(v){for(var E=0,b=void 0;E<v.length&&(b=v[E]);++E)if(!Fe(b)){if(b.kind===U.OPERATION_DEFINITION)return n(b.name&&b.name.value);if(b.kind===U.FRAGMENT_DEFINITION)return r(b.name.value)}return globalThis.__DEV__!==!1&&ee.error(82),null},s=0,o=t.definitions.length-1;o>=0;--o)t.definitions[o].kind===U.OPERATION_DEFINITION&&++s;var a=Cy(e),l=function(v){return Ft(v)&&v.map(a).some(function(E){return E&&E.remove})},c=new Map,u=!1,f={enter:function(v){if(l(v.directives))return u=!0,null}},d=Ut(t,{Field:f,InlineFragment:f,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(v,E,b,T,S){var w=i(S);w&&w.variables.add(v.name.value)}},FragmentSpread:{enter:function(v,E,b,T,S){if(l(v.directives))return u=!0,null;var w=i(S);w&&w.fragmentSpreads.add(v.name.value)}},FragmentDefinition:{enter:function(v,E,b,T){c.set(JSON.stringify(T),v)},leave:function(v,E,b,T){var S=c.get(JSON.stringify(T));if(v===S)return v;if(s>0&&v.selectionSet.selections.every(function(w){return w.kind===U.FIELD&&w.name.value==="__typename"}))return r(v.name.value).removed=!0,u=!0,null}},Directive:{leave:function(v){if(a(v))return u=!0,null}}});if(!u)return t;var h=function(v){return v.transitiveVars||(v.transitiveVars=new Set(v.variables),v.removed||v.fragmentSpreads.forEach(function(E){h(r(E)).transitiveVars.forEach(function(b){v.transitiveVars.add(b)})})),v},p=new Set;d.definitions.forEach(function(v){v.kind===U.OPERATION_DEFINITION?h(n(v.name&&v.name.value)).fragmentSpreads.forEach(function(E){p.add(E)}):v.kind===U.FRAGMENT_DEFINITION&&s===0&&!r(v.name.value).removed&&p.add(v.name.value)}),p.forEach(function(v){h(r(v)).fragmentSpreads.forEach(function(E){p.add(E)})});var m=function(v){return!!(!p.has(v)||r(v).removed)},g={enter:function(v){if(m(v.name.value))return null}};return ky(Ut(d,{FragmentSpread:g,FragmentDefinition:g,OperationDefinition:{leave:function(v){if(v.variableDefinitions){var E=h(n(v.name&&v.name.value)).transitiveVars;if(E.size<v.variableDefinitions.length)return x(x({},v),{variableDefinitions:v.variableDefinitions.filter(function(b){return E.has(b.variable.name.value)})})}}}}))}var Ta=Object.assign(function(e){return Ut(e,{SelectionSet:{enter:function(t,n,r){if(!(r&&r.kind===U.OPERATION_DEFINITION)){var i=t.selections;if(i){var s=i.some(function(a){return dn(a)&&(a.name.value==="__typename"||a.name.value.lastIndexOf("__",0)===0)});if(!s){var o=r;if(!(dn(o)&&o.directives&&o.directives.some(function(a){return a.name.value==="export"})))return x(x({},t),{selections:kn(kn([],i,!0),[Ql],!1)})}}}}}})},{added:function(e){return e===Ql}});function Ay(e){var t=Kr(e),n=t.operation;if(n==="query")return e;var r=Ut(e,{OperationDefinition:{enter:function(i){return x(x({},i),{operation:"query"})}}});return r}function jf(e){zr(e);var t=Ff([{test:function(n){return n.name.value==="client"},remove:!0}],e);return t}var Dy=Object.prototype.hasOwnProperty;function Ul(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return xa(e)}function xa(e){var t=e[0]||{},n=e.length;if(n>1)for(var r=new hn,i=1;i<n;++i)t=r.merge(t,e[i]);return t}var Py=function(e,t,n){return this.merge(e[n],t[n])},hn=function(){function e(t){t===void 0&&(t=Py),this.reconciler=t,this.isObject=Ne,this.pastCopies=new Set}return e.prototype.merge=function(t,n){for(var r=this,i=[],s=2;s<arguments.length;s++)i[s-2]=arguments[s];return Ne(n)&&Ne(t)?(Object.keys(n).forEach(function(o){if(Dy.call(t,o)){var a=t[o];if(n[o]!==a){var l=r.reconciler.apply(r,kn([t,n,o],i,!1));l!==a&&(t=r.shallowCopyForMerge(t),t[o]=l)}}else t=r.shallowCopyForMerge(t),t[o]=n[o]}),t):n},e.prototype.shallowCopyForMerge=function(t){return Ne(t)&&(this.pastCopies.has(t)||(Array.isArray(t)?t=t.slice(0):t=x({__proto__:Object.getPrototypeOf(t)},t),this.pastCopies.add(t))),t},e}();function Ry(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Ny(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ny(e,t){if(e){if(typeof e=="string")return Gl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Gl(e,t)}}function Gl(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function zl(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Oa(e,t,n){return t&&zl(e.prototype,t),n&&zl(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var Sa=function(){return typeof Symbol=="function"},Ia=function(e){return Sa()&&!!Symbol[e]},ka=function(e){return Ia(e)?Symbol[e]:"@@"+e};Sa()&&!Ia("observable")&&(Symbol.observable=Symbol("observable"));var My=ka("iterator"),mo=ka("observable"),$f=ka("species");function Ai(e,t){var n=e[t];if(n!=null){if(typeof n!="function")throw new TypeError(n+" is not a function");return n}}function dr(e){var t=e.constructor;return t!==void 0&&(t=t[$f],t===null&&(t=void 0)),t!==void 0?t:ke}function Ly(e){return e instanceof ke}function tr(e){tr.log?tr.log(e):setTimeout(function(){throw e})}function yi(e){Promise.resolve().then(function(){try{e()}catch(t){tr(t)}})}function Vf(e){var t=e._cleanup;if(t!==void 0&&(e._cleanup=void 0,!!t))try{if(typeof t=="function")t();else{var n=Ai(t,"unsubscribe");n&&n.call(t)}}catch(r){tr(r)}}function vo(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function Fy(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var n=0;n<t.length&&(qf(e,t[n].type,t[n].value),e._state!=="closed");++n);}}function qf(e,t,n){e._state="running";var r=e._observer;try{var i=Ai(r,t);switch(t){case"next":i&&i.call(r,n);break;case"error":if(vo(e),i)i.call(r,n);else throw n;break;case"complete":vo(e),i&&i.call(r);break}}catch(s){tr(s)}e._state==="closed"?Vf(e):e._state==="running"&&(e._state="ready")}function Is(e,t,n){if(e._state!=="closed"){if(e._state==="buffering"){e._queue.push({type:t,value:n});return}if(e._state!=="ready"){e._state="buffering",e._queue=[{type:t,value:n}],yi(function(){return Fy(e)});return}qf(e,t,n)}}var jy=function(){function e(n,r){this._cleanup=void 0,this._observer=n,this._queue=void 0,this._state="initializing";var i=new $y(this);try{this._cleanup=r.call(void 0,i)}catch(s){i.error(s)}this._state==="initializing"&&(this._state="ready")}var t=e.prototype;return t.unsubscribe=function(){this._state!=="closed"&&(vo(this),Vf(this))},Oa(e,[{key:"closed",get:function(){return this._state==="closed"}}]),e}(),$y=function(){function e(n){this._subscription=n}var t=e.prototype;return t.next=function(r){Is(this._subscription,"next",r)},t.error=function(r){Is(this._subscription,"error",r)},t.complete=function(){Is(this._subscription,"complete")},Oa(e,[{key:"closed",get:function(){return this._subscription._state==="closed"}}]),e}(),ke=function(){function e(n){if(!(this instanceof e))throw new TypeError("Observable cannot be called as a function");if(typeof n!="function")throw new TypeError("Observable initializer must be a function");this._subscriber=n}var t=e.prototype;return t.subscribe=function(r){return(typeof r!="object"||r===null)&&(r={next:r,error:arguments[1],complete:arguments[2]}),new jy(r,this._subscriber)},t.forEach=function(r){var i=this;return new Promise(function(s,o){if(typeof r!="function"){o(new TypeError(r+" is not a function"));return}function a(){l.unsubscribe(),s()}var l=i.subscribe({next:function(c){try{r(c,a)}catch(u){o(u),l.unsubscribe()}},error:o,complete:s})})},t.map=function(r){var i=this;if(typeof r!="function")throw new TypeError(r+" is not a function");var s=dr(this);return new s(function(o){return i.subscribe({next:function(a){try{a=r(a)}catch(l){return o.error(l)}o.next(a)},error:function(a){o.error(a)},complete:function(){o.complete()}})})},t.filter=function(r){var i=this;if(typeof r!="function")throw new TypeError(r+" is not a function");var s=dr(this);return new s(function(o){return i.subscribe({next:function(a){try{if(!r(a))return}catch(l){return o.error(l)}o.next(a)},error:function(a){o.error(a)},complete:function(){o.complete()}})})},t.reduce=function(r){var i=this;if(typeof r!="function")throw new TypeError(r+" is not a function");var s=dr(this),o=arguments.length>1,a=!1,l=arguments[1],c=l;return new s(function(u){return i.subscribe({next:function(f){var d=!a;if(a=!0,!d||o)try{c=r(c,f)}catch(h){return u.error(h)}else c=f},error:function(f){u.error(f)},complete:function(){if(!a&&!o)return u.error(new TypeError("Cannot reduce an empty sequence"));u.next(c),u.complete()}})})},t.concat=function(){for(var r=this,i=arguments.length,s=new Array(i),o=0;o<i;o++)s[o]=arguments[o];var a=dr(this);return new a(function(l){var c,u=0;function f(d){c=d.subscribe({next:function(h){l.next(h)},error:function(h){l.error(h)},complete:function(){u===s.length?(c=void 0,l.complete()):f(a.from(s[u++]))}})}return f(r),function(){c&&(c.unsubscribe(),c=void 0)}})},t.flatMap=function(r){var i=this;if(typeof r!="function")throw new TypeError(r+" is not a function");var s=dr(this);return new s(function(o){var a=[],l=i.subscribe({next:function(u){if(r)try{u=r(u)}catch(d){return o.error(d)}var f=s.from(u).subscribe({next:function(d){o.next(d)},error:function(d){o.error(d)},complete:function(){var d=a.indexOf(f);d>=0&&a.splice(d,1),c()}});a.push(f)},error:function(u){o.error(u)},complete:function(){c()}});function c(){l.closed&&a.length===0&&o.complete()}return function(){a.forEach(function(u){return u.unsubscribe()}),l.unsubscribe()}})},t[mo]=function(){return this},e.from=function(r){var i=typeof this=="function"?this:e;if(r==null)throw new TypeError(r+" is not an object");var s=Ai(r,mo);if(s){var o=s.call(r);if(Object(o)!==o)throw new TypeError(o+" is not an object");return Ly(o)&&o.constructor===i?o:new i(function(a){return o.subscribe(a)})}if(Ia("iterator")&&(s=Ai(r,My),s))return new i(function(a){yi(function(){if(!a.closed){for(var l=Ry(s.call(r)),c;!(c=l()).done;){var u=c.value;if(a.next(u),a.closed)return}a.complete()}})});if(Array.isArray(r))return new i(function(a){yi(function(){if(!a.closed){for(var l=0;l<r.length;++l)if(a.next(r[l]),a.closed)return;a.complete()}})});throw new TypeError(r+" is not observable")},e.of=function(){for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];var o=typeof this=="function"?this:e;return new o(function(a){yi(function(){if(!a.closed){for(var l=0;l<i.length;++l)if(a.next(i[l]),a.closed)return;a.complete()}})})},Oa(e,null,[{key:$f,get:function(){return this}}]),e}();Sa()&&Object.defineProperty(ke,Symbol("extensions"),{value:{symbol:mo,hostReportError:tr},configurable:!0});function Vy(e){var t,n=e.Symbol;if(typeof n=="function")if(n.observable)t=n.observable;else{typeof n.for=="function"?t=n.for("https://github.com/benlesh/symbol-observable"):t=n("https://github.com/benlesh/symbol-observable");try{n.observable=t}catch{}}else t="@@observable";return t}var $n;typeof self<"u"?$n=self:typeof window<"u"?$n=window:typeof global<"u"?$n=global:typeof module<"u"?$n=module:$n=Function("return this")();Vy($n);var Wl=ke.prototype,Kl="@@observable";Wl[Kl]||(Wl[Kl]=function(){return this});var qy=Object.prototype.toString;function Bf(e){return yo(e)}function yo(e,t){switch(qy.call(e)){case"[object Array]":{if(t=t||new Map,t.has(e))return t.get(e);var n=e.slice(0);return t.set(e,n),n.forEach(function(i,s){n[s]=yo(i,t)}),n}case"[object Object]":{if(t=t||new Map,t.has(e))return t.get(e);var r=Object.create(Object.getPrototypeOf(e));return t.set(e,r),Object.keys(e).forEach(function(i){r[i]=yo(e[i],t)}),r}default:return e}}function By(e){var t=new Set([e]);return t.forEach(function(n){Ne(n)&&Qy(n)===n&&Object.getOwnPropertyNames(n).forEach(function(r){Ne(n[r])&&t.add(n[r])})}),e}function Qy(e){if(globalThis.__DEV__!==!1&&!Object.isFrozen(e))try{Object.freeze(e)}catch(t){if(t instanceof TypeError)return null;throw t}return e}function go(e){return globalThis.__DEV__!==!1&&By(e),e}function Or(e,t,n){var r=[];e.forEach(function(i){return i[t]&&r.push(i)}),r.forEach(function(i){return i[t](n)})}function ks(e,t,n){return new ke(function(r){var i={then:function(l){return new Promise(function(c){return c(l())})}};function s(l,c){return function(u){if(l){var f=function(){return r.closed?0:l(u)};i=i.then(f,f).then(function(d){return r.next(d)},function(d){return r.error(d)})}else r[c](u)}}var o={next:s(t,"next"),error:s(n,"error"),complete:function(){i.then(function(){return r.complete()})}},a=e.subscribe(o);return function(){return a.unsubscribe()}})}function Qf(e){function t(n){Object.defineProperty(e,n,{value:ke})}return Pf&&Symbol.species&&t(Symbol.species),t("@@species"),e}function Yl(e){return e&&typeof e.then=="function"}var Vn=function(e){jt(t,e);function t(n){var r=e.call(this,function(i){return r.addObserver(i),function(){return r.removeObserver(i)}})||this;return r.observers=new Set,r.promise=new Promise(function(i,s){r.resolve=i,r.reject=s}),r.handlers={next:function(i){r.sub!==null&&(r.latest=["next",i],r.notify("next",i),Or(r.observers,"next",i))},error:function(i){var s=r.sub;s!==null&&(s&&setTimeout(function(){return s.unsubscribe()}),r.sub=null,r.latest=["error",i],r.reject(i),r.notify("error",i),Or(r.observers,"error",i))},complete:function(){var i=r,s=i.sub,o=i.sources,a=o===void 0?[]:o;if(s!==null){var l=a.shift();l?Yl(l)?l.then(function(c){return r.sub=c.subscribe(r.handlers)}):r.sub=l.subscribe(r.handlers):(s&&setTimeout(function(){return s.unsubscribe()}),r.sub=null,r.latest&&r.latest[0]==="next"?r.resolve(r.latest[1]):r.resolve(),r.notify("complete"),Or(r.observers,"complete"))}}},r.nextResultListeners=new Set,r.cancel=function(i){r.reject(i),r.sources=[],r.handlers.complete()},r.promise.catch(function(i){}),typeof n=="function"&&(n=[new ke(n)]),Yl(n)?n.then(function(i){return r.start(i)},r.handlers.error):r.start(n),r}return t.prototype.start=function(n){this.sub===void 0&&(this.sources=Array.from(n),this.handlers.complete())},t.prototype.deliverLastMessage=function(n){if(this.latest){var r=this.latest[0],i=n[r];i&&i.call(n,this.latest[1]),this.sub===null&&r==="next"&&n.complete&&n.complete()}},t.prototype.addObserver=function(n){this.observers.has(n)||(this.deliverLastMessage(n),this.observers.add(n))},t.prototype.removeObserver=function(n){this.observers.delete(n)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(n,r){var i=this.nextResultListeners;i.size&&(this.nextResultListeners=new Set,i.forEach(function(s){return s(n,r)}))},t.prototype.beforeNext=function(n){var r=!1;this.nextResultListeners.add(function(i,s){r||(r=!0,n(i,s))})},t}(ke);Qf(Vn);function Jn(e){return"incremental"in e}function Hy(e){return"hasNext"in e&&"data"in e}function Uy(e){return Jn(e)||Hy(e)}function Gy(e){return Ne(e)&&"payload"in e}function Hf(e,t){var n=e,r=new hn;return Jn(t)&&Ft(t.incremental)&&t.incremental.forEach(function(i){for(var s=i.data,o=i.path,a=o.length-1;a>=0;--a){var l=o[a],c=!isNaN(+l),u=c?[]:{};u[l]=s,s=u}n=r.merge(n,s)}),n}function gi(e){var t=bo(e);return Ft(t)}function bo(e){var t=Ft(e.errors)?e.errors.slice(0):[];return Jn(e)&&Ft(e.incremental)&&e.incremental.forEach(function(n){n.errors&&t.push.apply(t,n.errors)}),t}function nr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Object.create(null);return e.forEach(function(r){r&&Object.keys(r).forEach(function(i){var s=r[i];s!==void 0&&(n[i]=s)})}),n}function Cs(e,t){return nr(e,t,t.variables&&{variables:nr(x(x({},e&&e.variables),t.variables))})}function As(e){return new ke(function(t){t.error(e)})}var Uf=function(e,t,n){var r=new Error(n);throw r.name="ServerError",r.response=e,r.statusCode=e.status,r.result=t,r};function zy(e){for(var t=["query","operationName","variables","extensions","context"],n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];if(t.indexOf(i)<0)throw rt(43,i)}return e}function Wy(e,t){var n=x({},e),r=function(s){typeof s=="function"?n=x(x({},n),s(n)):n=x(x({},n),s)},i=function(){return x({},n)};return Object.defineProperty(t,"setContext",{enumerable:!1,value:r}),Object.defineProperty(t,"getContext",{enumerable:!1,value:i}),t}function Ky(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName=typeof t.query!="string"?po(t.query)||void 0:""),t}function Yy(e,t){var n=x({},e),r=new Set(Object.keys(e));return Ut(t,{Variable:function(i,s,o){o&&o.kind!=="VariableDefinition"&&r.delete(i.name.value)}}),r.forEach(function(i){delete n[i]}),n}function Jl(e,t){return t?t(e):ke.of()}function hr(e){return typeof e=="function"?new Yr(e):e}function li(e){return e.request.length<=1}var Yr=function(){function e(t){t&&(this.request=t)}return e.empty=function(){return new e(function(){return ke.of()})},e.from=function(t){return t.length===0?e.empty():t.map(hr).reduce(function(n,r){return n.concat(r)})},e.split=function(t,n,r){var i=hr(n),s=hr(r||new e(Jl));return li(i)&&li(s)?new e(function(o){return t(o)?i.request(o)||ke.of():s.request(o)||ke.of()}):new e(function(o,a){return t(o)?i.request(o,a)||ke.of():s.request(o,a)||ke.of()})},e.execute=function(t,n){return t.request(Wy(n.context,Ky(zy(n))))||ke.of()},e.concat=function(t,n){var r=hr(t);if(li(r))return globalThis.__DEV__!==!1&&ee.warn(35,r),r;var i=hr(n);return li(i)?new e(function(s){return r.request(s,function(o){return i.request(o)||ke.of()})||ke.of()}):new e(function(s,o){return r.request(s,function(a){return i.request(a,o)||ke.of()})||ke.of()})},e.prototype.split=function(t,n,r){return this.concat(e.split(t,n,r||new e(Jl)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(t,n){throw rt(36)},e.prototype.onError=function(t,n){if(n&&n.error)return n.error(t),!1;throw t},e.prototype.setOnError=function(t){return this.onError=t,this},e}(),_o=Yr.execute;function Jy(e){var t,n=e[Symbol.asyncIterator]();return t={next:function(){return n.next()}},t[Symbol.asyncIterator]=function(){return this},t}function Zy(e){var t=null,n=null,r=!1,i=[],s=[];function o(f){if(!n){if(s.length){var d=s.shift();if(Array.isArray(d)&&d[0])return d[0]({value:f,done:!1})}i.push(f)}}function a(f){n=f;var d=s.slice();d.forEach(function(h){h[1](f)}),!t||t()}function l(){r=!0;var f=s.slice();f.forEach(function(d){d[0]({value:void 0,done:!0})}),!t||t()}t=function(){t=null,e.removeListener("data",o),e.removeListener("error",a),e.removeListener("end",l),e.removeListener("finish",l),e.removeListener("close",l)},e.on("data",o),e.on("error",a),e.on("end",l),e.on("finish",l),e.on("close",l);function c(){return new Promise(function(f,d){if(n)return d(n);if(i.length)return f({value:i.shift(),done:!1});if(r)return f({value:void 0,done:!0});s.push([f,d])})}var u={next:function(){return c()}};return rs&&(u[Symbol.asyncIterator]=function(){return this}),u}function Xy(e){var t=!1,n={next:function(){return t?Promise.resolve({value:void 0,done:!0}):(t=!0,new Promise(function(r,i){e.then(function(s){r({value:s,done:!1})}).catch(i)}))}};return rs&&(n[Symbol.asyncIterator]=function(){return this}),n}function Zl(e){var t={next:function(){return e.read()}};return rs&&(t[Symbol.asyncIterator]=function(){return this}),t}function eg(e){return!!e.body}function tg(e){return!!e.getReader}function ng(e){return!!(rs&&e[Symbol.asyncIterator])}function rg(e){return!!e.stream}function ig(e){return!!e.arrayBuffer}function sg(e){return!!e.pipe}function og(e){var t=e;if(eg(e)&&(t=e.body),ng(t))return Jy(t);if(tg(t))return Zl(t.getReader());if(rg(t))return Zl(t.stream().getReader());if(ig(t))return Xy(t.arrayBuffer());if(sg(t))return Zy(t);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var Ca=Symbol();function ag(e){return e.extensions?Array.isArray(e.extensions[Ca]):!1}function lg(e){return e.hasOwnProperty("graphQLErrors")}var cg=function(e){var t=kn(kn(kn([],e.graphQLErrors,!0),e.clientErrors,!0),e.protocolErrors,!0);return e.networkError&&t.push(e.networkError),t.map(function(n){return Ne(n)&&n.message||"Error message not found."}).join(`
`)},Fn=function(e){jt(t,e);function t(n){var r=n.graphQLErrors,i=n.protocolErrors,s=n.clientErrors,o=n.networkError,a=n.errorMessage,l=n.extraInfo,c=e.call(this,a)||this;return c.name="ApolloError",c.graphQLErrors=r||[],c.protocolErrors=i||[],c.clientErrors=s||[],c.networkError=o||null,c.message=a||cg(c),c.extraInfo=l,c.__proto__=t.prototype,c}return t}(Error),Xl=Object.prototype.hasOwnProperty;function ug(e,t){var n;return rn(this,void 0,void 0,function(){var r,i,s,o,a,l,c,u,f,d,h,p,m,g,v,E,b,T,S,w,P,k,B;return sn(this,function(K){switch(K.label){case 0:if(TextDecoder===void 0)throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");r=new TextDecoder("utf-8"),i=(n=e.headers)===null||n===void 0?void 0:n.get("content-type"),s="boundary=",o=i!=null&&i.includes(s)?i==null?void 0:i.substring((i==null?void 0:i.indexOf(s))+s.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",a=`\r
--`.concat(o),l="",c=og(e),u=!0,K.label=1;case 1:return u?[4,c.next()]:[3,3];case 2:for(f=K.sent(),d=f.value,h=f.done,p=typeof d=="string"?d:r.decode(d),m=l.length-a.length+1,u=!h,l+=p,g=l.indexOf(a,m);g>-1;){if(v=void 0,k=[l.slice(0,g),l.slice(g+a.length)],v=k[0],l=k[1],E=v.indexOf(`\r
\r
`),b=fg(v.slice(0,E)),T=b["content-type"],T&&T.toLowerCase().indexOf("application/json")===-1)throw new Error("Unsupported patch content type: application/json is required.");if(S=v.slice(E),S){if(w=Gf(e,S),Object.keys(w).length>1||"data"in w||"incremental"in w||"errors"in w||"payload"in w)Gy(w)?(P={},"payload"in w&&(P=x({},w.payload)),"errors"in w&&(P=x(x({},P),{extensions:x(x({},"extensions"in P?P.extensions:null),(B={},B[Ca]=w.errors,B))})),t(P)):t(w);else if(Object.keys(w).length===1&&"hasNext"in w&&!w.hasNext)return[2]}g=l.indexOf(a)}return[3,1];case 3:return[2]}})})}function fg(e){var t={};return e.split(`
`).forEach(function(n){var r=n.indexOf(":");if(r>-1){var i=n.slice(0,r).trim().toLowerCase(),s=n.slice(r+1).trim();t[i]=s}}),t}function Gf(e,t){if(e.status>=300){var n=function(){try{return JSON.parse(t)}catch{return t}};Uf(e,n(),"Response not successful: Received status code ".concat(e.status))}try{return JSON.parse(t)}catch(i){var r=i;throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,r}}function dg(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}function hg(e){return function(t){return t.text().then(function(n){return Gf(t,n)}).then(function(n){return!Array.isArray(n)&&!Xl.call(n,"data")&&!Xl.call(n,"errors")&&Uf(t,n,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(r){return r.operationName}):e.operationName,"'.")),n})}}var Eo=function(e,t){var n;try{n=JSON.stringify(e)}catch(i){var r=rt(39,t,i.message);throw r.parseError=i,r}return n},pg={includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},mg={accept:"*/*","content-type":"application/json"},vg={method:"POST"},yg={http:pg,headers:mg,options:vg},gg=function(e,t){return t(e)};function bg(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={},s={};n.forEach(function(f){i=x(x(x({},i),f.options),{headers:x(x({},i.headers),f.headers)}),f.credentials&&(i.credentials=f.credentials),s=x(x({},s),f.http)}),i.headers&&(i.headers=_g(i.headers,s.preserveHeaderCase));var o=e.operationName,a=e.extensions,l=e.variables,c=e.query,u={operationName:o,variables:l};return s.includeExtensions&&(u.extensions=a),s.includeQuery&&(u.query=t(c,Mf)),{options:i,body:u}}function _g(e,t){if(!t){var n=Object.create(null);return Object.keys(Object(e)).forEach(function(s){n[s.toLowerCase()]=e[s]}),n}var r=Object.create(null);Object.keys(Object(e)).forEach(function(s){r[s.toLowerCase()]={originalName:s,value:e[s]}});var i=Object.create(null);return Object.keys(r).forEach(function(s){i[r[s].originalName]=r[s].value}),i}var Eg=function(e){if(!e&&typeof fetch>"u")throw rt(37)},wg=function(e,t){var n=e.getContext(),r=n.uri;return r||(typeof t=="function"?t(e):t||"/graphql")};function Tg(e,t){var n=[],r=function(f,d){n.push("".concat(f,"=").concat(encodeURIComponent(d)))};if("query"in t&&r("query",t.query),t.operationName&&r("operationName",t.operationName),t.variables){var i=void 0;try{i=Eo(t.variables,"Variables map")}catch(f){return{parseError:f}}r("variables",i)}if(t.extensions){var s=void 0;try{s=Eo(t.extensions,"Extensions map")}catch(f){return{parseError:f}}r("extensions",s)}var o="",a=e,l=e.indexOf("#");l!==-1&&(o=e.substr(l),a=e.substr(0,l));var c=a.indexOf("?")===-1?"?":"&",u=a+c+n.join("&")+o;return{newURI:u}}var ec=wt(function(){return fetch}),xg=function(e){e===void 0&&(e={});var t=e.uri,n=t===void 0?"/graphql":t,r=e.fetch,i=e.print,s=i===void 0?gg:i,o=e.includeExtensions,a=e.preserveHeaderCase,l=e.useGETForQueries,c=e.includeUnusedVariables,u=c===void 0?!1:c,f=un(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);globalThis.__DEV__!==!1&&Eg(r||ec);var d={http:{includeExtensions:o,preserveHeaderCase:a},options:f.fetchOptions,credentials:f.credentials,headers:f.headers};return new Yr(function(h){var p=wg(h,n),m=h.getContext(),g={};if(m.clientAwareness){var v=m.clientAwareness,E=v.name,b=v.version;E&&(g["apollographql-client-name"]=E),b&&(g["apollographql-client-version"]=b)}var T=x(x({},g),m.headers),S={http:m.http,options:m.fetchOptions,credentials:m.credentials,headers:T};if(jr(["client"],h.query)){var w=jf(h.query);if(!w)return As(new Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));h.query=w}var P=bg(h,s,yg,d,S),k=P.options,B=P.body;B.variables&&!u&&(B.variables=Yy(B.variables,h.query));var K;!k.signal&&typeof AbortController<"u"&&(K=new AbortController,k.signal=K.signal);var X=function(Ae){return Ae.kind==="OperationDefinition"&&Ae.operation==="mutation"},$=function(Ae){return Ae.kind==="OperationDefinition"&&Ae.operation==="subscription"},ge=$(Kr(h.query)),$e=jr(["defer"],h.query);if(l&&!h.query.definitions.some(X)&&(k.method="GET"),$e||ge){k.headers=k.headers||{};var pt="multipart/mixed;";ge&&$e&&globalThis.__DEV__!==!1&&ee.warn(38),ge?pt+="boundary=graphql;subscriptionSpec=1.0,application/json":$e&&(pt+="deferSpec=20220824,application/json"),k.headers.accept=pt}if(k.method==="GET"){var Se=Tg(p,B),be=Se.newURI,me=Se.parseError;if(me)return As(me);p=be}else try{k.body=Eo(B,"Payload")}catch(Ae){return As(Ae)}return new ke(function(Ae){var $t=r||wt(function(){return fetch})||ec,it=Ae.next.bind(Ae);return $t(p,k).then(function(Ve){var kt;h.setContext({response:Ve});var vn=(kt=Ve.headers)===null||kt===void 0?void 0:kt.get("content-type");return vn!==null&&/^multipart\/mixed/i.test(vn)?ug(Ve,it):hg(h)(Ve).then(it)}).then(function(){K=void 0,Ae.complete()}).catch(function(Ve){K=void 0,dg(Ve,Ae)}),function(){K&&K.abort()}})})},Og=function(e){jt(t,e);function t(n){n===void 0&&(n={});var r=e.call(this,xg(n).request)||this;return r.options=n,r}return t}(Yr);const{toString:tc,hasOwnProperty:Sg}=Object.prototype,nc=Function.prototype.toString,wo=new Map;function Me(e,t){try{return To(e,t)}finally{wo.clear()}}function To(e,t){if(e===t)return!0;const n=tc.call(e),r=tc.call(t);if(n!==r)return!1;switch(n){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":{if(ic(e,t))return!0;const i=rc(e),s=rc(t),o=i.length;if(o!==s.length)return!1;for(let a=0;a<o;++a)if(!Sg.call(t,i[a]))return!1;for(let a=0;a<o;++a){const l=i[a];if(!To(e[l],t[l]))return!1}return!0}case"[object Error]":return e.name===t.name&&e.message===t.message;case"[object Number]":if(e!==e)return t!==t;case"[object Boolean]":case"[object Date]":return+e==+t;case"[object RegExp]":case"[object String]":return e==`${t}`;case"[object Map]":case"[object Set]":{if(e.size!==t.size)return!1;if(ic(e,t))return!0;const i=e.entries(),s=n==="[object Map]";for(;;){const o=i.next();if(o.done)break;const[a,l]=o.value;if(!t.has(a)||s&&!To(l,t.get(a)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":e=new Uint8Array(e),t=new Uint8Array(t);case"[object DataView]":{let i=e.byteLength;if(i===t.byteLength)for(;i--&&e[i]===t[i];);return i===-1}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{const i=nc.call(e);return i!==nc.call(t)?!1:!Cg(i,kg)}}return!1}function rc(e){return Object.keys(e).filter(Ig,e)}function Ig(e){return this[e]!==void 0}const kg="{ [native code] }";function Cg(e,t){const n=e.length-t.length;return n>=0&&e.indexOf(t,n)===n}function ic(e,t){let n=wo.get(e);if(n){if(n.has(t))return!0}else wo.set(e,n=new Set);return n.add(t),!1}const Ag=()=>Object.create(null),{forEach:Dg,slice:Pg}=Array.prototype,{hasOwnProperty:Rg}=Object.prototype;class Aa{constructor(t=!0,n=Ag){this.weakness=t,this.makeData=n}lookup(...t){return this.lookupArray(t)}lookupArray(t){let n=this;return Dg.call(t,r=>n=n.getChildTrie(r)),Rg.call(n,"data")?n.data:n.data=this.makeData(Pg.call(t))}peek(...t){return this.peekArray(t)}peekArray(t){let n=this;for(let r=0,i=t.length;n&&r<i;++r){const s=this.weakness&&sc(t[r])?n.weak:n.strong;n=s&&s.get(t[r])}return n&&n.data}getChildTrie(t){const n=this.weakness&&sc(t)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map);let r=n.get(t);return r||n.set(t,r=new Aa(this.weakness,this.makeData)),r}}function sc(e){switch(typeof e){case"object":if(e===null)break;case"function":return!0}return!1}function Ng(){}class Mg{constructor(t=1/0,n=Ng){this.max=t,this.dispose=n,this.map=new Map,this.newest=null,this.oldest=null}has(t){return this.map.has(t)}get(t){const n=this.getNode(t);return n&&n.value}get size(){return this.map.size}getNode(t){const n=this.map.get(t);if(n&&n!==this.newest){const{older:r,newer:i}=n;i&&(i.older=r),r&&(r.newer=i),n.older=this.newest,n.older.newer=n,n.newer=null,this.newest=n,n===this.oldest&&(this.oldest=i)}return n}set(t,n){let r=this.getNode(t);return r?r.value=n:(r={key:t,value:n,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(t,r),r.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(t){const n=this.map.get(t);return n?(n===this.newest&&(this.newest=n.older),n===this.oldest&&(this.oldest=n.newer),n.newer&&(n.newer.older=n.older),n.older&&(n.older.newer=n.newer),this.map.delete(t),this.dispose(n.value,t),!0):!1}}let Ke=null;const oc={};let Lg=1;const Fg=()=>class{constructor(){this.id=["slot",Lg++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let t=Ke;t;t=t.parent)if(this.id in t.slots){const n=t.slots[this.id];if(n===oc)break;return t!==Ke&&(Ke.slots[this.id]=n),!0}return Ke&&(Ke.slots[this.id]=oc),!1}getValue(){if(this.hasValue())return Ke.slots[this.id]}withValue(t,n,r,i){const s={__proto__:null,[this.id]:t},o=Ke;Ke={parent:o,slots:s};try{return n.apply(i,r)}finally{Ke=o}}static bind(t){const n=Ke;return function(){const r=Ke;try{return Ke=n,t.apply(this,arguments)}finally{Ke=r}}}static noContext(t,n,r){if(Ke){const i=Ke;try{return Ke=null,t.apply(r,n)}finally{Ke=i}}else return t.apply(r,n)}};function ac(e){try{return e()}catch{}}const Ds="@wry/context:Slot",jg=ac(()=>globalThis)||ac(()=>global)||Object.create(null),lc=jg,zf=lc[Ds]||Array[Ds]||function(e){try{Object.defineProperty(lc,Ds,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(Fg()),ls=new zf,{hasOwnProperty:$g}=Object.prototype,Da=Array.from||function(e){const t=[];return e.forEach(n=>t.push(n)),t};function Di(e){const{unsubscribe:t}=e;typeof t=="function"&&(e.unsubscribe=void 0,t())}const $r=[],Vg=100;function rr(e,t){if(!e)throw new Error(t||"assertion failure")}function Wf(e,t){const n=e.length;return n>0&&n===t.length&&e[n-1]===t[n-1]}function Kf(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}function Yf(e){return e.slice(0)}class cs{constructor(t){this.fn=t,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++cs.count}peek(){if(this.value.length===1&&!pn(this))return cc(this),this.value[0]}recompute(t){return rr(!this.recomputing,"already recomputing"),cc(this),pn(this)?qg(this,t):Kf(this.value)}setDirty(){this.dirty||(this.dirty=!0,Jf(this),Di(this))}dispose(){this.setDirty(),nd(this),Pa(this,(t,n)=>{t.setDirty(),rd(t,this)})}forget(){this.dispose()}dependOn(t){t.add(this),this.deps||(this.deps=$r.pop()||new Set),this.deps.add(t)}forgetDeps(){this.deps&&(Da(this.deps).forEach(t=>t.delete(this)),this.deps.clear(),$r.push(this.deps),this.deps=null)}}cs.count=0;function cc(e){const t=ls.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),pn(e)?Xf(t,e):ed(t,e),t}function qg(e,t){return nd(e),ls.withValue(e,Bg,[e,t]),Hg(e,t)&&Qg(e),Kf(e.value)}function Bg(e,t){e.recomputing=!0;const{normalizeResult:n}=e;let r;n&&e.value.length===1&&(r=Yf(e.value)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),n&&r&&!Wf(r,e.value))try{e.value[0]=n(e.value[0],r[0])}catch{}}catch(i){e.value[1]=i}e.recomputing=!1}function pn(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}function Qg(e){e.dirty=!1,!pn(e)&&Zf(e)}function Jf(e){Pa(e,Xf)}function Zf(e){Pa(e,ed)}function Pa(e,t){const n=e.parents.size;if(n){const r=Da(e.parents);for(let i=0;i<n;++i)t(r[i],e)}}function Xf(e,t){rr(e.childValues.has(t)),rr(pn(t));const n=!pn(e);if(!e.dirtyChildren)e.dirtyChildren=$r.pop()||new Set;else if(e.dirtyChildren.has(t))return;e.dirtyChildren.add(t),n&&Jf(e)}function ed(e,t){rr(e.childValues.has(t)),rr(!pn(t));const n=e.childValues.get(t);n.length===0?e.childValues.set(t,Yf(t.value)):Wf(n,t.value)||e.setDirty(),td(e,t),!pn(e)&&Zf(e)}function td(e,t){const n=e.dirtyChildren;n&&(n.delete(t),n.size===0&&($r.length<Vg&&$r.push(n),e.dirtyChildren=null))}function nd(e){e.childValues.size>0&&e.childValues.forEach((t,n)=>{rd(e,n)}),e.forgetDeps(),rr(e.dirtyChildren===null)}function rd(e,t){t.parents.delete(e),e.childValues.delete(t),td(e,t)}function Hg(e,t){if(typeof e.subscribe=="function")try{Di(e),e.unsubscribe=e.subscribe.apply(null,t)}catch{return e.setDirty(),!1}return!0}const Ug={setDirty:!0,dispose:!0,forget:!0};function id(e){const t=new Map,n=e&&e.subscribe;function r(i){const s=ls.getValue();if(s){let o=t.get(i);o||t.set(i,o=new Set),s.dependOn(o),typeof n=="function"&&(Di(o),o.unsubscribe=n(i))}}return r.dirty=function(s,o){const a=t.get(s);if(a){const l=o&&$g.call(Ug,o)?o:"setDirty";Da(a).forEach(c=>c[l]()),t.delete(s),Di(a)}},r}let uc;function Gg(...e){return(uc||(uc=new Aa(typeof WeakMap=="function"))).lookupArray(e)}const Ps=new Set;function Pi(e,{max:t=Math.pow(2,16),keyArgs:n,makeCacheKey:r=Gg,normalizeResult:i,subscribe:s,cache:o=Mg}=Object.create(null)){const a=typeof o=="function"?new o(t,d=>d.dispose()):o,l=function(){const d=r.apply(null,n?n.apply(null,arguments):arguments);if(d===void 0)return e.apply(null,arguments);let h=a.get(d);h||(a.set(d,h=new cs(e)),h.normalizeResult=i,h.subscribe=s,h.forget=()=>a.delete(d));const p=h.recompute(Array.prototype.slice.call(arguments));return a.set(d,h),Ps.add(a),ls.hasValue()||(Ps.forEach(m=>m.clean()),Ps.clear()),p};Object.defineProperty(l,"size",{get:()=>a.size,configurable:!1,enumerable:!1}),Object.freeze(l.options={max:t,keyArgs:n,makeCacheKey:r,normalizeResult:i,subscribe:s,cache:a});function c(d){const h=d&&a.get(d);h&&h.setDirty()}l.dirtyKey=c,l.dirty=function(){c(r.apply(null,arguments))};function u(d){const h=d&&a.get(d);if(h)return h.peek()}l.peekKey=u,l.peek=function(){return u(r.apply(null,arguments))};function f(d){return d?a.delete(d):!1}return l.forgetKey=f,l.forget=function(){return f(r.apply(null,arguments))},l.makeCacheKey=r,l.getKey=n?function(){return r.apply(null,n.apply(null,arguments))}:r,Object.freeze(l)}var zg=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=Pi(fy)}return e.prototype.batch=function(t){var n=this,r=typeof t.optimistic=="string"?t.optimistic:t.optimistic===!1?null:void 0,i;return this.performTransaction(function(){return i=t.update(n)},r),i},e.prototype.recordOptimisticTransaction=function(t,n){this.performTransaction(t,n)},e.prototype.transformDocument=function(t){return t},e.prototype.transformForLink=function(t){return t},e.prototype.identify=function(t){},e.prototype.gc=function(){return[]},e.prototype.modify=function(t){return!1},e.prototype.readQuery=function(t,n){return n===void 0&&(n=!!t.optimistic),this.read(x(x({},t),{rootId:t.id||"ROOT_QUERY",optimistic:n}))},e.prototype.readFragment=function(t,n){return n===void 0&&(n=!!t.optimistic),this.read(x(x({},t),{query:this.getFragmentDoc(t.fragment,t.fragmentName),rootId:t.id,optimistic:n}))},e.prototype.writeQuery=function(t){var n=t.id,r=t.data,i=un(t,["id","data"]);return this.write(Object.assign(i,{dataId:n||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(t){var n=t.id,r=t.data,i=t.fragment,s=t.fragmentName,o=un(t,["id","data","fragment","fragmentName"]);return this.write(Object.assign(o,{query:this.getFragmentDoc(i,s),dataId:n,result:r}))},e.prototype.updateQuery=function(t,n){return this.batch({update:function(r){var i=r.readQuery(t),s=n(i);return s==null?i:(r.writeQuery(x(x({},t),{data:s})),s)}})},e.prototype.updateFragment=function(t,n){return this.batch({update:function(r){var i=r.readFragment(t),s=n(i);return s==null?i:(r.writeFragment(x(x({},t),{data:s})),s)}})},e}(),sd=function(e){jt(t,e);function t(n,r,i,s){var o,a=e.call(this,n)||this;if(a.message=n,a.path=r,a.query=i,a.variables=s,Array.isArray(a.path)){a.missing=a.message;for(var l=a.path.length-1;l>=0;--l)a.missing=(o={},o[a.path[l]]=a.missing,o)}else a.missing=a.path;return a.__proto__=t.prototype,a}return t}(Error),ze=Object.prototype.hasOwnProperty;function pr(e){return e==null}function od(e,t){var n=e.__typename,r=e.id,i=e._id;if(typeof n=="string"&&(t&&(t.keyObject=pr(r)?pr(i)?void 0:{_id:i}:{id:r}),pr(r)&&!pr(i)&&(r=i),!pr(r)))return"".concat(n,":").concat(typeof r=="number"||typeof r=="string"?r:JSON.stringify(r))}var ad={dataIdFromObject:od,addTypename:!0,resultCaching:!0,canonizeResults:!1};function Wg(e){return nr(ad,e)}function ld(e){var t=e.canonizeResults;return t===void 0?ad.canonizeResults:t}function Kg(e,t){return ve(t)?e.get(t.__ref,"__typename"):t&&t.__typename}var cd=/^[_a-z][_0-9a-z]*/i;function mn(e){var t=e.match(cd);return t?t[0]:e}function xo(e,t,n){return Ne(t)?Fe(t)?t.every(function(r){return xo(e,r,n)}):e.selections.every(function(r){if(dn(r)&&Ur(r,n)){var i=fn(r);return ze.call(t,i)&&(!r.selectionSet||xo(r.selectionSet,t[i],n))}return!0}):!1}function Hn(e){return Ne(e)&&!ve(e)&&!Fe(e)}function Yg(){return new hn}function ud(e,t){var n=is(as(e));return{fragmentMap:n,lookupFragment:function(r){var i=n[r];return!i&&t&&(i=t.lookup(r)),i||null}}}var bi=Object.create(null),Rs=function(){return bi},fc=Object.create(null),Vr=function(){function e(t,n){var r=this;this.policies=t,this.group=n,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(i,s){return go(ve(i)?r.get(i.__ref,s):i&&i[s])},this.canRead=function(i){return ve(i)?r.has(i.__ref):typeof i=="object"},this.toReference=function(i,s){if(typeof i=="string")return Yn(i);if(ve(i))return i;var o=r.policies.identify(i)[0];if(o){var a=Yn(o);return s&&r.merge(o,i),a}}}return e.prototype.toObject=function(){return x({},this.data)},e.prototype.has=function(t){return this.lookup(t,!0)!==void 0},e.prototype.get=function(t,n){if(this.group.depend(t,n),ze.call(this.data,t)){var r=this.data[t];if(r&&ze.call(r,n))return r[n]}if(n==="__typename"&&ze.call(this.policies.rootTypenamesById,t))return this.policies.rootTypenamesById[t];if(this instanceof Zt)return this.parent.get(t,n)},e.prototype.lookup=function(t,n){if(n&&this.group.depend(t,"__exists"),ze.call(this.data,t))return this.data[t];if(this instanceof Zt)return this.parent.lookup(t,n);if(this.policies.rootTypenamesById[t])return Object.create(null)},e.prototype.merge=function(t,n){var r=this,i;ve(t)&&(t=t.__ref),ve(n)&&(n=n.__ref);var s=typeof t=="string"?this.lookup(i=t):t,o=typeof n=="string"?this.lookup(i=n):n;if(o){ee(typeof i=="string",1);var a=new hn(Zg).merge(s,o);if(this.data[i]=a,a!==s&&(delete this.refs[i],this.group.caching)){var l=Object.create(null);s||(l.__exists=1),Object.keys(o).forEach(function(c){if(!s||s[c]!==a[c]){l[c]=1;var u=mn(c);u!==c&&!r.policies.hasKeyArgs(a.__typename,u)&&(l[u]=1),a[c]===void 0&&!(r instanceof Zt)&&delete a[c]}}),l.__typename&&!(s&&s.__typename)&&this.policies.rootTypenamesById[i]===a.__typename&&delete l.__typename,Object.keys(l).forEach(function(c){return r.group.dirty(i,c)})}}},e.prototype.modify=function(t,n){var r=this,i=this.lookup(t);if(i){var s=Object.create(null),o=!1,a=!0,l={DELETE:bi,INVALIDATE:fc,isReference:ve,toReference:this.toReference,canRead:this.canRead,readField:function(c,u){return r.policies.readField(typeof c=="string"?{fieldName:c,from:u||Yn(t)}:c,{store:r})}};if(Object.keys(i).forEach(function(c){var u=mn(c),f=i[c];if(f!==void 0){var d=typeof n=="function"?n:n[c]||n[u];if(d){var h=d===Rs?bi:d(go(f),x(x({},l),{fieldName:u,storeFieldName:c,storage:r.getStorage(t,c)}));if(h===fc)r.group.dirty(t,c);else if(h===bi&&(h=void 0),h!==f&&(s[c]=h,o=!0,f=h,globalThis.__DEV__!==!1)){var p=function(S){if(r.lookup(S.__ref)===void 0)return globalThis.__DEV__!==!1&&ee.warn(2,S),!0};if(ve(h))p(h);else if(Array.isArray(h))for(var m=!1,g=void 0,v=0,E=h;v<E.length;v++){var b=E[v];if(ve(b)){if(m=!0,p(b))break}else if(typeof b=="object"&&b){var T=r.policies.identify(b)[0];T&&(g=b)}if(m&&g!==void 0){globalThis.__DEV__!==!1&&ee.warn(3,g);break}}}}f!==void 0&&(a=!1)}}),o)return this.merge(t,s),a&&(this instanceof Zt?this.data[t]=void 0:delete this.data[t],this.group.dirty(t,"__exists")),!0}return!1},e.prototype.delete=function(t,n,r){var i,s=this.lookup(t);if(s){var o=this.getFieldValue(s,"__typename"),a=n&&r?this.policies.getStoreFieldName({typename:o,fieldName:n,args:r}):n;return this.modify(t,a?(i={},i[a]=Rs,i):Rs)}return!1},e.prototype.evict=function(t,n){var r=!1;return t.id&&(ze.call(this.data,t.id)&&(r=this.delete(t.id,t.fieldName,t.args)),this instanceof Zt&&this!==n&&(r=this.parent.evict(t,n)||r),(t.fieldName||r)&&this.group.dirty(t.id,t.fieldName||"__exists")),r},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var t=this,n=this.toObject(),r=[];return this.getRootIdSet().forEach(function(i){ze.call(t.policies.rootTypenamesById,i)||r.push(i)}),r.length&&(n.__META={extraRootIds:r.sort()}),n},e.prototype.replace=function(t){var n=this;if(Object.keys(this.data).forEach(function(s){t&&ze.call(t,s)||n.delete(s)}),t){var r=t.__META,i=un(t,["__META"]);Object.keys(i).forEach(function(s){n.merge(s,i[s])}),r&&r.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(t){return this.rootIds[t]=(this.rootIds[t]||0)+1},e.prototype.release=function(t){if(this.rootIds[t]>0){var n=--this.rootIds[t];return n||delete this.rootIds[t],n}return 0},e.prototype.getRootIdSet=function(t){return t===void 0&&(t=new Set),Object.keys(this.rootIds).forEach(t.add,t),this instanceof Zt?this.parent.getRootIdSet(t):Object.keys(this.policies.rootTypenamesById).forEach(t.add,t),t},e.prototype.gc=function(){var t=this,n=this.getRootIdSet(),r=this.toObject();n.forEach(function(o){ze.call(r,o)&&(Object.keys(t.findChildRefIds(o)).forEach(n.add,n),delete r[o])});var i=Object.keys(r);if(i.length){for(var s=this;s instanceof Zt;)s=s.parent;i.forEach(function(o){return s.delete(o)})}return i},e.prototype.findChildRefIds=function(t){if(!ze.call(this.refs,t)){var n=this.refs[t]=Object.create(null),r=this.data[t];if(!r)return n;var i=new Set([r]);i.forEach(function(s){ve(s)&&(n[s.__ref]=!0),Ne(s)&&Object.keys(s).forEach(function(o){var a=s[o];Ne(a)&&i.add(a)})})}return this.refs[t]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),fd=function(){function e(t,n){n===void 0&&(n=null),this.caching=t,this.parent=n,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?id():null,this.keyMaker=new Gr(zt)},e.prototype.depend=function(t,n){if(this.d){this.d(Ns(t,n));var r=mn(n);r!==n&&this.d(Ns(t,r)),this.parent&&this.parent.depend(t,n)}},e.prototype.dirty=function(t,n){this.d&&this.d.dirty(Ns(t,n),n==="__exists"?"forget":"setDirty")},e}();function Ns(e,t){return t+"#"+e}function dc(e,t){Sr(e)&&e.group.depend(t,"__exists")}(function(e){var t=function(n){jt(r,n);function r(i){var s=i.policies,o=i.resultCaching,a=o===void 0?!0:o,l=i.seed,c=n.call(this,s,new fd(a))||this;return c.stump=new Jg(c),c.storageTrie=new Gr(zt),l&&c.replace(l),c}return r.prototype.addLayer=function(i,s){return this.stump.addLayer(i,s)},r.prototype.removeLayer=function(){return this},r.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},r}(e);e.Root=t})(Vr||(Vr={}));var Zt=function(e){jt(t,e);function t(n,r,i,s){var o=e.call(this,r.policies,s)||this;return o.id=n,o.parent=r,o.replay=i,o.group=s,i(o),o}return t.prototype.addLayer=function(n,r){return new t(n,this,r,this.group)},t.prototype.removeLayer=function(n){var r=this,i=this.parent.removeLayer(n);return n===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(s){var o=r.data[s],a=i.lookup(s);a?o?o!==a&&Object.keys(o).forEach(function(l){Me(o[l],a[l])||r.group.dirty(s,l)}):(r.group.dirty(s,"__exists"),Object.keys(a).forEach(function(l){r.group.dirty(s,l)})):r.delete(s)}),i):i===this.parent?this:i.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return x(x({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(n){var r=this.parent.findChildRefIds(n);return ze.call(this.data,n)?x(x({},r),e.prototype.findChildRefIds.call(this,n)):r},t.prototype.getStorage=function(){for(var n=this.parent;n.parent;)n=n.parent;return n.getStorage.apply(n,arguments)},t}(Vr),Jg=function(e){jt(t,e);function t(n){return e.call(this,"EntityStore.Stump",n,function(){},new fd(n.group.caching,n.group))||this}return t.prototype.removeLayer=function(){return this},t.prototype.merge=function(n,r){return this.parent.merge(n,r)},t}(Zt);function Zg(e,t,n){var r=e[n],i=t[n];return Me(r,i)?r:i}function Sr(e){return!!(e instanceof Vr&&e.group.caching)}function Xg(e){return Ne(e)?Fe(e)?e.slice(0):x({__proto__:Object.getPrototypeOf(e)},e):e}var Oo=function(){function e(){this.known=new(Df?WeakSet:Set),this.pool=new Gr(zt),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(t){return Ne(t)&&this.known.has(t)},e.prototype.pass=function(t){if(Ne(t)){var n=Xg(t);return this.passes.set(n,t),n}return t},e.prototype.admit=function(t){var n=this;if(Ne(t)){var r=this.passes.get(t);if(r)return r;var i=Object.getPrototypeOf(t);switch(i){case Array.prototype:{if(this.known.has(t))return t;var s=t.map(this.admit,this),o=this.pool.lookupArray(s);return o.array||(this.known.add(o.array=s),globalThis.__DEV__!==!1&&Object.freeze(s)),o.array}case null:case Object.prototype:{if(this.known.has(t))return t;var a=Object.getPrototypeOf(t),l=[a],c=this.sortedKeys(t);l.push(c.json);var u=l.length;c.sorted.forEach(function(h){l.push(n.admit(t[h]))});var o=this.pool.lookupArray(l);if(!o.object){var f=o.object=Object.create(a);this.known.add(f),c.sorted.forEach(function(h,p){f[h]=l[u+p]}),globalThis.__DEV__!==!1&&Object.freeze(f)}return o.object}}}return t},e.prototype.sortedKeys=function(t){var n=Object.keys(t),r=this.pool.lookupArray(n);if(!r.keys){n.sort();var i=JSON.stringify(n);(r.keys=this.keysByJSON.get(i))||this.keysByJSON.set(i,r.keys={sorted:n,json:i})}return r.keys},e}(),Cn=Object.assign(function(e){if(Ne(e)){So===void 0&&hc();var t=So.admit(e),n=Io.get(t);return n===void 0&&Io.set(t,n=JSON.stringify(t)),n}return JSON.stringify(e)},{reset:hc}),So,Io;function hc(){So=new Oo,Io=new(zt?WeakMap:Map)}function pc(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var e0=function(){function e(t){var n=this;this.knownResults=new(zt?WeakMap:Map),this.config=nr(t,{addTypename:t.addTypename!==!1,canonizeResults:ld(t)}),this.canon=t.canon||new Oo,this.executeSelectionSet=Pi(function(r){var i,s=r.context.canonizeResults,o=pc(r);o[3]=!s;var a=(i=n.executeSelectionSet).peek.apply(i,o);return a?s?x(x({},a),{result:n.canon.admit(a.result)}):a:(dc(r.context.store,r.enclosingRef.__ref),n.execSelectionSetImpl(r))},{max:this.config.resultCacheMaxSize,keyArgs:pc,makeCacheKey:function(r,i,s,o){if(Sr(s.store))return s.store.makeCacheKey(r,ve(i)?i.__ref:i,s.varString,o)}}),this.executeSubSelectedArray=Pi(function(r){return dc(r.context.store,r.enclosingRef.__ref),n.execSubSelectedArrayImpl(r)},{max:this.config.resultCacheMaxSize,makeCacheKey:function(r){var i=r.field,s=r.array,o=r.context;if(Sr(o.store))return o.store.makeCacheKey(i,s,o.varString)}})}return e.prototype.resetCanon=function(){this.canon=new Oo},e.prototype.diffQueryAgainstStore=function(t){var n=t.store,r=t.query,i=t.rootId,s=i===void 0?"ROOT_QUERY":i,o=t.variables,a=t.returnPartialData,l=a===void 0?!0:a,c=t.canonizeResults,u=c===void 0?this.config.canonizeResults:c,f=this.config.cache.policies;o=x(x({},wa(Rf(r))),o);var d=Yn(s),h=this.executeSelectionSet({selectionSet:Kr(r).selectionSet,objectOrReference:d,enclosingRef:d,context:x({store:n,query:r,policies:f,variables:o,varString:Cn(o),canonizeResults:u},ud(r,this.config.fragments))}),p;if(h.missing&&(p=[new sd(t0(h.missing),h.missing,r,o)],!l))throw p[0];return{result:h.result,complete:!p,missing:p}},e.prototype.isFresh=function(t,n,r,i){if(Sr(i.store)&&this.knownResults.get(t)===r){var s=this.executeSelectionSet.peek(r,n,i,this.canon.isKnown(t));if(s&&t===s.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(t){var n=this,r=t.selectionSet,i=t.objectOrReference,s=t.enclosingRef,o=t.context;if(ve(i)&&!o.policies.rootTypenamesById[i.__ref]&&!o.store.has(i.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(i.__ref," object")};var a=o.variables,l=o.policies,c=o.store,u=c.getFieldValue(i,"__typename"),f=[],d,h=new hn;this.config.addTypename&&typeof u=="string"&&!l.rootIdsByTypename[u]&&f.push({__typename:u});function p(b,T){var S;return b.missing&&(d=h.merge(d,(S={},S[T]=b.missing,S))),b.result}var m=new Set(r.selections);m.forEach(function(b){var T,S;if(Ur(b,a))if(dn(b)){var w=l.readField({fieldName:b.name.value,field:b,variables:o.variables,from:i},o),P=fn(b);w===void 0?Ta.added(b)||(d=h.merge(d,(T={},T[P]="Can't find field '".concat(b.name.value,"' on ").concat(ve(i)?i.__ref+" object":"object "+JSON.stringify(i,null,2)),T))):Fe(w)?w=p(n.executeSubSelectedArray({field:b,array:w,enclosingRef:s,context:o}),P):b.selectionSet?w!=null&&(w=p(n.executeSelectionSet({selectionSet:b.selectionSet,objectOrReference:w,enclosingRef:ve(w)?w:s,context:o}),P)):o.canonizeResults&&(w=n.canon.pass(w)),w!==void 0&&f.push((S={},S[P]=w,S))}else{var k=ss(b,o.lookupFragment);if(!k&&b.kind===U.FRAGMENT_SPREAD)throw rt(9,b.name.value);k&&l.fragmentMatches(k,u)&&k.selectionSet.selections.forEach(m.add,m)}});var g=xa(f),v={result:g,missing:d},E=o.canonizeResults?this.canon.admit(v):go(v);return E.result&&this.knownResults.set(E.result,r),E},e.prototype.execSubSelectedArrayImpl=function(t){var n=this,r=t.field,i=t.array,s=t.enclosingRef,o=t.context,a,l=new hn;function c(u,f){var d;return u.missing&&(a=l.merge(a,(d={},d[f]=u.missing,d))),u.result}return r.selectionSet&&(i=i.filter(o.store.canRead)),i=i.map(function(u,f){return u===null?null:Fe(u)?c(n.executeSubSelectedArray({field:r,array:u,enclosingRef:s,context:o}),f):r.selectionSet?c(n.executeSelectionSet({selectionSet:r.selectionSet,objectOrReference:u,enclosingRef:ve(u)?u:s,context:o}),f):(globalThis.__DEV__!==!1&&n0(o.store,r,u),u)}),{result:o.canonizeResults?this.canon.admit(i):i,missing:a}},e}();function t0(e){try{JSON.stringify(e,function(t,n){if(typeof n=="string")throw n;return n})}catch(t){return t}}function n0(e,t,n){if(!t.selectionSet){var r=new Set([n]);r.forEach(function(i){Ne(i)&&(ee(!ve(i),10,Kg(e,i),t.name.value),Object.values(i).forEach(r.add,r))})}}var Ra=new zf,mc=new WeakMap;function Ir(e){var t=mc.get(e);return t||mc.set(e,t={vars:new Set,dep:id()}),t}function vc(e){Ir(e).vars.forEach(function(t){return t.forgetCache(e)})}function r0(e){Ir(e).vars.forEach(function(t){return t.attachCache(e)})}function i0(e){var t=new Set,n=new Set,r=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach(function(l){Ir(l).dep.dirty(r),s0(l)});var o=Array.from(n);n.clear(),o.forEach(function(l){return l(e)})}}else{var a=Ra.getValue();a&&(i(a),Ir(a).dep(r))}return e};r.onNextChange=function(s){return n.add(s),function(){n.delete(s)}};var i=r.attachCache=function(s){return t.add(s),Ir(s).vars.add(r),r};return r.forgetCache=function(s){return t.delete(s)},r}function s0(e){e.broadcastWatches&&e.broadcastWatches()}var yc=Object.create(null);function Na(e){var t=JSON.stringify(e);return yc[t]||(yc[t]=Object.create(null))}function gc(e){var t=Na(e);return t.keyFieldsFn||(t.keyFieldsFn=function(n,r){var i=function(o,a){return r.readField(a,o)},s=r.keyObject=Ma(e,function(o){var a=Zn(r.storeObject,o,i);return a===void 0&&n!==r.storeObject&&ze.call(n,o[0])&&(a=Zn(n,o,hd)),ee(a!==void 0,4,o.join("."),n),a});return"".concat(r.typename,":").concat(JSON.stringify(s))})}function bc(e){var t=Na(e);return t.keyArgsFn||(t.keyArgsFn=function(n,r){var i=r.field,s=r.variables,o=r.fieldName,a=Ma(e,function(c){var u=c[0],f=u.charAt(0);if(f==="@"){if(i&&Ft(i.directives)){var d=u.slice(1),h=i.directives.find(function(v){return v.name.value===d}),p=h&&os(h,s);return p&&Zn(p,c.slice(1))}return}if(f==="$"){var m=u.slice(1);if(s&&ze.call(s,m)){var g=c.slice(0);return g[0]=m,Zn(s,g)}return}if(n)return Zn(n,c)}),l=JSON.stringify(a);return(n||l!=="{}")&&(o+=":"+l),o})}function Ma(e,t){var n=new hn;return dd(e).reduce(function(r,i){var s,o=t(i);if(o!==void 0){for(var a=i.length-1;a>=0;--a)o=(s={},s[i[a]]=o,s);r=n.merge(r,o)}return r},Object.create(null))}function dd(e){var t=Na(e);if(!t.paths){var n=t.paths=[],r=[];e.forEach(function(i,s){Fe(i)?(dd(i).forEach(function(o){return n.push(r.concat(o))}),r.length=0):(r.push(i),Fe(e[s+1])||(n.push(r.slice(0)),r.length=0))})}return t.paths}function hd(e,t){return e[t]}function Zn(e,t,n){return n=n||hd,pd(t.reduce(function r(i,s){return Fe(i)?i.map(function(o){return r(o,s)}):i&&n(i,s)},e))}function pd(e){return Ne(e)?Fe(e)?e.map(pd):Ma(Object.keys(e).sort(),function(t){return Zn(e,t)}):e}Ea.setStringify(Cn);function ko(e){return e.args!==void 0?e.args:e.field?os(e.field,e.variables):null}var o0=function(){},_c=function(e,t){return t.fieldName},Ec=function(e,t,n){var r=n.mergeObjects;return r(e,t)},wc=function(e,t){return t},a0=function(){function e(t){this.config=t,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=x({dataIdFromObject:od},t),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),t.possibleTypes&&this.addPossibleTypes(t.possibleTypes),t.typePolicies&&this.addTypePolicies(t.typePolicies)}return e.prototype.identify=function(t,n){var r,i=this,s=n&&(n.typename||((r=n.storeObject)===null||r===void 0?void 0:r.__typename))||t.__typename;if(s===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var o=n&&n.storeObject||t,a=x(x({},n),{typename:s,storeObject:o,readField:n&&n.readField||function(){var d=La(arguments,o);return i.readField(d,{store:i.cache.data,variables:d.variables})}}),l,c=s&&this.getTypePolicy(s),u=c&&c.keyFn||this.config.dataIdFromObject;u;){var f=u(x(x({},t),o),a);if(Fe(f))u=gc(f);else{l=f;break}}return l=l?String(l):void 0,a.keyObject?[l,a.keyObject]:[l]},e.prototype.addTypePolicies=function(t){var n=this;Object.keys(t).forEach(function(r){var i=t[r],s=i.queryType,o=i.mutationType,a=i.subscriptionType,l=un(i,["queryType","mutationType","subscriptionType"]);s&&n.setRootTypename("Query",r),o&&n.setRootTypename("Mutation",r),a&&n.setRootTypename("Subscription",r),ze.call(n.toBeAdded,r)?n.toBeAdded[r].push(l):n.toBeAdded[r]=[l]})},e.prototype.updateTypePolicy=function(t,n){var r=this,i=this.getTypePolicy(t),s=n.keyFields,o=n.fields;function a(l,c){l.merge=typeof c=="function"?c:c===!0?Ec:c===!1?wc:l.merge}a(i,n.merge),i.keyFn=s===!1?o0:Fe(s)?gc(s):typeof s=="function"?s:i.keyFn,o&&Object.keys(o).forEach(function(l){var c=r.getFieldPolicy(t,l,!0),u=o[l];if(typeof u=="function")c.read=u;else{var f=u.keyArgs,d=u.read,h=u.merge;c.keyFn=f===!1?_c:Fe(f)?bc(f):typeof f=="function"?f:c.keyFn,typeof d=="function"&&(c.read=d),a(c,h)}c.read&&c.merge&&(c.keyFn=c.keyFn||_c)})},e.prototype.setRootTypename=function(t,n){n===void 0&&(n=t);var r="ROOT_"+t.toUpperCase(),i=this.rootTypenamesById[r];n!==i&&(ee(!i||i===t,5,t),i&&delete this.rootIdsByTypename[i],this.rootIdsByTypename[n]=r,this.rootTypenamesById[r]=n)},e.prototype.addPossibleTypes=function(t){var n=this;this.usingPossibleTypes=!0,Object.keys(t).forEach(function(r){n.getSupertypeSet(r,!0),t[r].forEach(function(i){n.getSupertypeSet(i,!0).add(r);var s=i.match(cd);(!s||s[0]!==i)&&n.fuzzySubtypes.set(i,new RegExp(i))})})},e.prototype.getTypePolicy=function(t){var n=this;if(!ze.call(this.typePolicies,t)){var r=this.typePolicies[t]=Object.create(null);r.fields=Object.create(null);var i=this.supertypeMap.get(t);!i&&this.fuzzySubtypes.size&&(i=this.getSupertypeSet(t,!0),this.fuzzySubtypes.forEach(function(o,a){if(o.test(t)){var l=n.supertypeMap.get(a);l&&l.forEach(function(c){return i.add(c)})}})),i&&i.size&&i.forEach(function(o){var a=n.getTypePolicy(o),l=a.fields,c=un(a,["fields"]);Object.assign(r,c),Object.assign(r.fields,l)})}var s=this.toBeAdded[t];return s&&s.length&&s.splice(0).forEach(function(o){n.updateTypePolicy(t,o)}),this.typePolicies[t]},e.prototype.getFieldPolicy=function(t,n,r){if(t){var i=this.getTypePolicy(t).fields;return i[n]||r&&(i[n]=Object.create(null))}},e.prototype.getSupertypeSet=function(t,n){var r=this.supertypeMap.get(t);return!r&&n&&this.supertypeMap.set(t,r=new Set),r},e.prototype.fragmentMatches=function(t,n,r,i){var s=this;if(!t.typeCondition)return!0;if(!n)return!1;var o=t.typeCondition.name.value;if(n===o)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(o))for(var a=this.getSupertypeSet(n,!0),l=[a],c=function(p){var m=s.getSupertypeSet(p,!1);m&&m.size&&l.indexOf(m)<0&&l.push(m)},u=!!(r&&this.fuzzySubtypes.size),f=!1,d=0;d<l.length;++d){var h=l[d];if(h.has(o))return a.has(o)||(f&&globalThis.__DEV__!==!1&&ee.warn(6,n,o),a.add(o)),!0;h.forEach(c),u&&d===l.length-1&&xo(t.selectionSet,r,i)&&(u=!1,f=!0,this.fuzzySubtypes.forEach(function(p,m){var g=n.match(p);g&&g[0]===n&&c(m)}))}return!1},e.prototype.hasKeyArgs=function(t,n){var r=this.getFieldPolicy(t,n,!1);return!!(r&&r.keyFn)},e.prototype.getStoreFieldName=function(t){var n=t.typename,r=t.fieldName,i=this.getFieldPolicy(n,r,!1),s,o=i&&i.keyFn;if(o&&n)for(var a={typename:n,fieldName:r,field:t.field||null,variables:t.variables},l=ko(t);o;){var c=o(l,a);if(Fe(c))o=bc(c);else{s=c||r;break}}return s===void 0&&(s=t.field?wy(t.field,t.variables):Ea(r,ko(t))),s===!1?r:r===mn(s)?s:r+":"+s},e.prototype.readField=function(t,n){var r=t.from;if(r){var i=t.field||t.fieldName;if(i){if(t.typename===void 0){var s=n.store.getFieldValue(r,"__typename");s&&(t.typename=s)}var o=this.getStoreFieldName(t),a=mn(o),l=n.store.getFieldValue(r,o),c=this.getFieldPolicy(t.typename,a,!1),u=c&&c.read;if(u){var f=Tc(this,r,t,n,n.store.getStorage(ve(r)?r.__ref:r,o));return Ra.withValue(this.cache,u,[l,f])}return l}}},e.prototype.getReadFunction=function(t,n){var r=this.getFieldPolicy(t,n,!1);return r&&r.read},e.prototype.getMergeFunction=function(t,n,r){var i=this.getFieldPolicy(t,n,!1),s=i&&i.merge;return!s&&r&&(i=this.getTypePolicy(r),s=i&&i.merge),s},e.prototype.runMergeFunction=function(t,n,r,i,s){var o=r.field,a=r.typename,l=r.merge;return l===Ec?md(i.store)(t,n):l===wc?n:(i.overwrite&&(t=void 0),l(t,n,Tc(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:i.variables},i,s||Object.create(null))))},e}();function Tc(e,t,n,r,i){var s=e.getStoreFieldName(n),o=mn(s),a=n.variables||r.variables,l=r.store,c=l.toReference,u=l.canRead;return{args:ko(n),field:n.field||null,fieldName:o,storeFieldName:s,variables:a,isReference:ve,toReference:c,storage:i,cache:e.cache,canRead:u,readField:function(){return e.readField(La(arguments,t,a),r)},mergeObjects:md(r.store)}}function La(e,t,n){var r=e[0],i=e[1],s=e.length,o;return typeof r=="string"?o={fieldName:r,from:s>1?i:t}:(o=x({},r),ze.call(o,"from")||(o.from=t)),globalThis.__DEV__!==!1&&o.from===void 0&&globalThis.__DEV__!==!1&&ee.warn(7,gf(Array.from(e))),o.variables===void 0&&(o.variables=n),o}function md(e){return function(n,r){if(Fe(n)||Fe(r))throw rt(8);if(Ne(n)&&Ne(r)){var i=e.getFieldValue(n,"__typename"),s=e.getFieldValue(r,"__typename"),o=i&&s&&i!==s;if(o)return r;if(ve(n)&&Hn(r))return e.merge(n.__ref,r),n;if(Hn(n)&&ve(r))return e.merge(n,r.__ref),r;if(Hn(n)&&Hn(r))return x(x({},n),r)}return r}}function Ms(e,t,n){var r="".concat(t).concat(n),i=e.flavors.get(r);return i||e.flavors.set(r,i=e.clientOnly===t&&e.deferred===n?e:x(x({},e),{clientOnly:t,deferred:n})),i}var l0=function(){function e(t,n,r){this.cache=t,this.reader=n,this.fragments=r}return e.prototype.writeToStore=function(t,n){var r=this,i=n.query,s=n.result,o=n.dataId,a=n.variables,l=n.overwrite,c=Wr(i),u=Yg();a=x(x({},wa(c)),a);var f=x(x({store:t,written:Object.create(null),merge:function(h,p){return u.merge(h,p)},variables:a,varString:Cn(a)},ud(i,this.fragments)),{overwrite:!!l,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),d=this.processSelectionSet({result:s||Object.create(null),dataId:o,selectionSet:c.selectionSet,mergeTree:{map:new Map},context:f});if(!ve(d))throw rt(11,s);return f.incomingById.forEach(function(h,p){var m=h.storeObject,g=h.mergeTree,v=h.fieldNodeSet,E=Yn(p);if(g&&g.map.size){var b=r.applyMerges(g,E,m,f);if(ve(b))return;m=b}if(globalThis.__DEV__!==!1&&!f.overwrite){var T=Object.create(null);v.forEach(function(P){P.selectionSet&&(T[P.name.value]=!0)});var S=function(P){return T[mn(P)]===!0},w=function(P){var k=g&&g.map.get(P);return!!(k&&k.info&&k.info.merge)};Object.keys(m).forEach(function(P){S(P)&&!w(P)&&c0(E,m,P,f.store)})}t.merge(p,m)}),t.retain(d.__ref),d},e.prototype.processSelectionSet=function(t){var n=this,r=t.dataId,i=t.result,s=t.selectionSet,o=t.context,a=t.mergeTree,l=this.cache.policies,c=Object.create(null),u=r&&l.rootTypenamesById[r]||ho(i,s,o.fragmentMap)||r&&o.store.get(r,"__typename");typeof u=="string"&&(c.__typename=u);var f=function(){var b=La(arguments,c,o.variables);if(ve(b.from)){var T=o.incomingById.get(b.from.__ref);if(T){var S=l.readField(x(x({},b),{from:T.storeObject}),o);if(S!==void 0)return S}}return l.readField(b,o)},d=new Set;this.flattenFields(s,i,o,u).forEach(function(b,T){var S,w=fn(T),P=i[w];if(d.add(T),P!==void 0){var k=l.getStoreFieldName({typename:u,fieldName:T.name.value,field:T,variables:b.variables}),B=xc(a,k),K=n.processFieldValue(P,T,T.selectionSet?Ms(b,!1,!1):b,B),X=void 0;T.selectionSet&&(ve(K)||Hn(K))&&(X=f("__typename",K));var $=l.getMergeFunction(u,T.name.value,X);$?B.info={field:T,typename:u,merge:$}:Oc(a,k),c=b.merge(c,(S={},S[k]=K,S))}else globalThis.__DEV__!==!1&&!b.clientOnly&&!b.deferred&&!Ta.added(T)&&!l.getReadFunction(u,T.name.value)&&globalThis.__DEV__!==!1&&ee.error(12,fn(T),i)});try{var h=l.identify(i,{typename:u,selectionSet:s,fragmentMap:o.fragmentMap,storeObject:c,readField:f}),p=h[0],m=h[1];r=r||p,m&&(c=o.merge(c,m))}catch(b){if(!r)throw b}if(typeof r=="string"){var g=Yn(r),v=o.written[r]||(o.written[r]=[]);if(v.indexOf(s)>=0||(v.push(s),this.reader&&this.reader.isFresh(i,g,s,o)))return g;var E=o.incomingById.get(r);return E?(E.storeObject=o.merge(E.storeObject,c),E.mergeTree=Co(E.mergeTree,a),d.forEach(function(b){return E.fieldNodeSet.add(b)})):o.incomingById.set(r,{storeObject:c,mergeTree:Ri(a)?void 0:a,fieldNodeSet:d}),g}return c},e.prototype.processFieldValue=function(t,n,r,i){var s=this;return!n.selectionSet||t===null?globalThis.__DEV__!==!1?Bf(t):t:Fe(t)?t.map(function(o,a){var l=s.processFieldValue(o,n,r,xc(i,a));return Oc(i,a),l}):this.processSelectionSet({result:t,selectionSet:n.selectionSet,context:r,mergeTree:i})},e.prototype.flattenFields=function(t,n,r,i){i===void 0&&(i=ho(n,t,r.fragmentMap));var s=new Map,o=this.cache.policies,a=new Gr(!1);return function l(c,u){var f=a.lookup(c,u.clientOnly,u.deferred);f.visited||(f.visited=!0,c.selections.forEach(function(d){if(Ur(d,r.variables)){var h=u.clientOnly,p=u.deferred;if(!(h&&p)&&Ft(d.directives)&&d.directives.forEach(function(v){var E=v.name.value;if(E==="client"&&(h=!0),E==="defer"){var b=os(v,r.variables);(!b||b.if!==!1)&&(p=!0)}}),dn(d)){var m=s.get(d);m&&(h=h&&m.clientOnly,p=p&&m.deferred),s.set(d,Ms(r,h,p))}else{var g=ss(d,r.lookupFragment);if(!g&&d.kind===U.FRAGMENT_SPREAD)throw rt(13,d.name.value);g&&o.fragmentMatches(g,i,n,r.variables)&&l(g.selectionSet,Ms(r,h,p))}}}))}(t,r),s},e.prototype.applyMerges=function(t,n,r,i,s){var o,a=this;if(t.map.size&&!ve(r)){var l=!Fe(r)&&(ve(n)||Hn(n))?n:void 0,c=r;l&&!s&&(s=[ve(l)?l.__ref:l]);var u,f=function(d,h){return Fe(d)?typeof h=="number"?d[h]:void 0:i.store.getFieldValue(d,String(h))};t.map.forEach(function(d,h){var p=f(l,h),m=f(c,h);if(m!==void 0){s&&s.push(h);var g=a.applyMerges(d,p,m,i,s);g!==m&&(u=u||new Map,u.set(h,g)),s&&ee(s.pop()===h)}}),u&&(r=Fe(c)?c.slice(0):x({},c),u.forEach(function(d,h){r[h]=d}))}return t.info?this.cache.policies.runMergeFunction(n,r,t.info,i,s&&(o=i.store).getStorage.apply(o,s)):r},e}(),vd=[];function xc(e,t){var n=e.map;return n.has(t)||n.set(t,vd.pop()||{map:new Map}),n.get(t)}function Co(e,t){if(e===t||!t||Ri(t))return e;if(!e||Ri(e))return t;var n=e.info&&t.info?x(x({},e.info),t.info):e.info||t.info,r=e.map.size&&t.map.size,i=r?new Map:e.map.size?e.map:t.map,s={info:n,map:i};if(r){var o=new Set(t.map.keys());e.map.forEach(function(a,l){s.map.set(l,Co(a,t.map.get(l))),o.delete(l)}),o.forEach(function(a){s.map.set(a,Co(t.map.get(a),e.map.get(a)))})}return s}function Ri(e){return!e||!(e.info||e.map.size)}function Oc(e,t){var n=e.map,r=n.get(t);r&&Ri(r)&&(vd.push(r),n.delete(t))}var Sc=new Set;function c0(e,t,n,r){var i=function(f){var d=r.getFieldValue(f,n);return typeof d=="object"&&d},s=i(e);if(s){var o=i(t);if(o&&!ve(s)&&!Me(s,o)&&!Object.keys(s).every(function(f){return r.getFieldValue(o,f)!==void 0})){var a=r.getFieldValue(e,"__typename")||r.getFieldValue(t,"__typename"),l=mn(n),c="".concat(a,".").concat(l);if(!Sc.has(c)){Sc.add(c);var u=[];!Fe(s)&&!Fe(o)&&[s,o].forEach(function(f){var d=r.getFieldValue(f,"__typename");typeof d=="string"&&!u.includes(d)&&u.push(d)}),globalThis.__DEV__!==!1&&ee.warn(14,l,a,u.length?"either ensure all objects of type "+u.join(" and ")+" have an ID or a custom merge function, or ":"",c,s,o)}}}}var u0=function(e){jt(t,e);function t(n){n===void 0&&(n={});var r=e.call(this)||this;return r.watches=new Set,r.addTypenameTransform=new Nf(Ta),r.assumeImmutableResults=!0,r.makeVar=i0,r.txCount=0,r.config=Wg(n),r.addTypename=!!r.config.addTypename,r.policies=new a0({cache:r,dataIdFromObject:r.config.dataIdFromObject,possibleTypes:r.config.possibleTypes,typePolicies:r.config.typePolicies}),r.init(),r}return t.prototype.init=function(){var n=this.data=new Vr.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=n.stump,this.resetResultCache()},t.prototype.resetResultCache=function(n){var r=this,i=this.storeReader,s=this.config.fragments;this.storeWriter=new l0(this,this.storeReader=new e0({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:ld(this.config),canon:n?void 0:i&&i.canon,fragments:s}),s),this.maybeBroadcastWatch=Pi(function(o,a){return r.broadcastWatch(o,a)},{max:this.config.resultCacheMaxSize,makeCacheKey:function(o){var a=o.optimistic?r.optimisticData:r.data;if(Sr(a)){var l=o.optimistic,c=o.id,u=o.variables;return a.makeCacheKey(o.query,o.callback,Cn({optimistic:l,id:c,variables:u}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(o){return o.resetCaching()})},t.prototype.restore=function(n){return this.init(),n&&this.data.replace(n),this},t.prototype.extract=function(n){return n===void 0&&(n=!1),(n?this.optimisticData:this.data).extract()},t.prototype.read=function(n){var r=n.returnPartialData,i=r===void 0?!1:r;try{return this.storeReader.diffQueryAgainstStore(x(x({},n),{store:n.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:i})).result||null}catch(s){if(s instanceof sd)return null;throw s}},t.prototype.write=function(n){try{return++this.txCount,this.storeWriter.writeToStore(this.data,n)}finally{!--this.txCount&&n.broadcast!==!1&&this.broadcastWatches()}},t.prototype.modify=function(n){if(ze.call(n,"id")&&!n.id)return!1;var r=n.optimistic?this.optimisticData:this.data;try{return++this.txCount,r.modify(n.id||"ROOT_QUERY",n.fields)}finally{!--this.txCount&&n.broadcast!==!1&&this.broadcastWatches()}},t.prototype.diff=function(n){return this.storeReader.diffQueryAgainstStore(x(x({},n),{store:n.optimistic?this.optimisticData:this.data,rootId:n.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(n){var r=this;return this.watches.size||r0(this),this.watches.add(n),n.immediate&&this.maybeBroadcastWatch(n),function(){r.watches.delete(n)&&!r.watches.size&&vc(r),r.maybeBroadcastWatch.forget(n)}},t.prototype.gc=function(n){Cn.reset();var r=this.optimisticData.gc();return n&&!this.txCount&&(n.resetResultCache?this.resetResultCache(n.resetResultIdentities):n.resetResultIdentities&&this.storeReader.resetCanon()),r},t.prototype.retain=function(n,r){return(r?this.optimisticData:this.data).retain(n)},t.prototype.release=function(n,r){return(r?this.optimisticData:this.data).release(n)},t.prototype.identify=function(n){if(ve(n))return n.__ref;try{return this.policies.identify(n)[0]}catch(r){globalThis.__DEV__!==!1&&ee.warn(r)}},t.prototype.evict=function(n){if(!n.id){if(ze.call(n,"id"))return!1;n=x(x({},n),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(n,this.data)}finally{!--this.txCount&&n.broadcast!==!1&&this.broadcastWatches()}},t.prototype.reset=function(n){var r=this;return this.init(),Cn.reset(),n&&n.discardWatches?(this.watches.forEach(function(i){return r.maybeBroadcastWatch.forget(i)}),this.watches.clear(),vc(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(n){var r=this.optimisticData.removeLayer(n);r!==this.optimisticData&&(this.optimisticData=r,this.broadcastWatches())},t.prototype.batch=function(n){var r=this,i=n.update,s=n.optimistic,o=s===void 0?!0:s,a=n.removeOptimistic,l=n.onWatchUpdated,c,u=function(d){var h=r,p=h.data,m=h.optimisticData;++r.txCount,d&&(r.data=r.optimisticData=d);try{return c=i(r)}finally{--r.txCount,r.data=p,r.optimisticData=m}},f=new Set;return l&&!this.txCount&&this.broadcastWatches(x(x({},n),{onWatchUpdated:function(d){return f.add(d),!1}})),typeof o=="string"?this.optimisticData=this.optimisticData.addLayer(o,u):o===!1?u(this.data):u(),typeof a=="string"&&(this.optimisticData=this.optimisticData.removeLayer(a)),l&&f.size?(this.broadcastWatches(x(x({},n),{onWatchUpdated:function(d,h){var p=l.call(this,d,h);return p!==!1&&f.delete(d),p}})),f.size&&f.forEach(function(d){return r.maybeBroadcastWatch.dirty(d)})):this.broadcastWatches(n),c},t.prototype.performTransaction=function(n,r){return this.batch({update:n,optimistic:r||r!==null})},t.prototype.transformDocument=function(n){return this.addTypenameToDocument(this.addFragmentsToDocument(n))},t.prototype.broadcastWatches=function(n){var r=this;this.txCount||this.watches.forEach(function(i){return r.maybeBroadcastWatch(i,n)})},t.prototype.addFragmentsToDocument=function(n){var r=this.config.fragments;return r?r.transform(n):n},t.prototype.addTypenameToDocument=function(n){return this.addTypename?this.addTypenameTransform.transformDocument(n):n},t.prototype.broadcastWatch=function(n,r){var i=n.lastDiff,s=this.diff(n);r&&(n.optimistic&&typeof r.optimistic=="string"&&(s.fromOptimisticTransaction=!0),r.onWatchUpdated&&r.onWatchUpdated.call(this,n,s,i)===!1)||(!i||!Me(i.result,s.result))&&n.callback(n.lastDiff=s,i)},t}(zg),xe;(function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"})(xe||(xe={}));function qr(e){return e?e<7:!1}function f0(e,t,n,r){var i=t.data,s=un(t,["data"]),o=n.data,a=un(n,["data"]);return Me(s,a)&&_i(Kr(e).selectionSet,i,o,{fragmentMap:is(as(e)),variables:r})}function _i(e,t,n,r){if(t===n)return!0;var i=new Set;return e.selections.every(function(s){if(i.has(s)||(i.add(s),!Ur(s,r.variables))||Ic(s))return!0;if(dn(s)){var o=fn(s),a=t&&t[o],l=n&&n[o],c=s.selectionSet;if(!c)return Me(a,l);var u=Array.isArray(a),f=Array.isArray(l);if(u!==f)return!1;if(u&&f){var d=a.length;if(l.length!==d)return!1;for(var h=0;h<d;++h)if(!_i(c,a[h],l[h],r))return!1;return!0}return _i(c,a,l,r)}else{var p=ss(s,r.fragmentMap);if(p)return Ic(p)?!0:_i(p.selectionSet,t,n,r)}})}function Ic(e){return!!e.directives&&e.directives.some(d0)}function d0(e){return e.name.value==="nonreactive"}var kc=Object.assign,h0=Object.hasOwnProperty,Ao=function(e){jt(t,e);function t(n){var r=n.queryManager,i=n.queryInfo,s=n.options,o=e.call(this,function(g){try{var v=g._subscription._observer;v&&!v.error&&(v.error=p0)}catch{}var E=!o.observers.size;o.observers.add(g);var b=o.last;return b&&b.error?g.error&&g.error(b.error):b&&b.result&&g.next&&g.next(b.result),E&&o.reobserve().catch(function(){}),function(){o.observers.delete(g)&&!o.observers.size&&o.tearDownQuery()}})||this;o.observers=new Set,o.subscriptions=new Set,o.queryInfo=i,o.queryManager=r,o.waitForOwnResult=Ls(s.fetchPolicy),o.isTornDown=!1;var a=r.defaultOptions.watchQuery,l=a===void 0?{}:a,c=l.fetchPolicy,u=c===void 0?"cache-first":c,f=s.fetchPolicy,d=f===void 0?u:f,h=s.initialFetchPolicy,p=h===void 0?d==="standby"?u:d:h;o.options=x(x({},s),{initialFetchPolicy:p,fetchPolicy:d}),o.queryId=i.queryId||r.generateQueryId();var m=Wr(o.query);return o.queryName=m&&m.name&&m.name.value,o}return Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var n=this;return new Promise(function(r,i){var s={next:function(a){r(a),n.observers.delete(s),n.observers.size||n.queryManager.removeQuery(n.queryId),setTimeout(function(){o.unsubscribe()},0)},error:i},o=n.subscribe(s)})},t.prototype.getCurrentResult=function(n){n===void 0&&(n=!0);var r=this.getLastResult(!0),i=this.queryInfo.networkStatus||r&&r.networkStatus||xe.ready,s=x(x({},r),{loading:qr(i),networkStatus:i}),o=this.options.fetchPolicy,a=o===void 0?"cache-first":o;if(!(Ls(a)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers))if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var l=this.queryInfo.getDiff();(l.complete||this.options.returnPartialData)&&(s.data=l.result),Me(s.data,{})&&(s.data=void 0),l.complete?(delete s.partial,l.complete&&s.networkStatus===xe.loading&&(a==="cache-first"||a==="cache-only")&&(s.networkStatus=xe.ready,s.loading=!1)):s.partial=!0,globalThis.__DEV__!==!1&&!l.complete&&!this.options.partialRefetch&&!s.loading&&!s.data&&!s.error&&gd(l.missing)}return n&&this.updateLastResult(s),s},t.prototype.isDifferentFromLastResult=function(n,r){if(!this.last)return!0;var i=this.queryManager.getDocumentInfo(this.query).hasNonreactiveDirective?!f0(this.query,this.last.result,n,this.variables):!Me(this.last.result,n);return i||r&&!Me(this.last.variables,r)},t.prototype.getLast=function(n,r){var i=this.last;if(i&&i[n]&&(!r||Me(i.variables,this.variables)))return i[n]},t.prototype.getLastResult=function(n){return this.getLast("result",n)},t.prototype.getLastError=function(n){return this.getLast("error",n)},t.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(n){var r,i={pollInterval:0},s=this.options.fetchPolicy;if(s==="cache-and-network"?i.fetchPolicy=s:s==="no-cache"?i.fetchPolicy="no-cache":i.fetchPolicy="network-only",globalThis.__DEV__!==!1&&n&&h0.call(n,"variables")){var o=Rf(this.query),a=o.variableDefinitions;(!a||!a.some(function(l){return l.variable.name.value==="variables"}))&&globalThis.__DEV__!==!1&&ee.warn(20,n,((r=o.name)===null||r===void 0?void 0:r.value)||o)}return n&&!Me(this.options.variables,n)&&(i.variables=this.options.variables=x(x({},this.options.variables),n)),this.queryInfo.resetLastWrite(),this.reobserve(i,xe.refetch)},t.prototype.fetchMore=function(n){var r=this,i=x(x({},n.query?n:x(x(x(x({},this.options),{query:this.options.query}),n),{variables:x(x({},this.options.variables),n.variables)})),{fetchPolicy:"no-cache"});i.query=this.transformDocument(i.query);var s=this.queryManager.generateQueryId();this.lastQuery=n.query?this.transformDocument(this.options.query):i.query;var o=this.queryInfo,a=o.networkStatus;o.networkStatus=xe.fetchMore,i.notifyOnNetworkStatusChange&&this.observe();var l=new Set;return this.queryManager.fetchQuery(s,i,xe.fetchMore).then(function(c){return r.queryManager.removeQuery(s),o.networkStatus===xe.fetchMore&&(o.networkStatus=a),r.queryManager.cache.batch({update:function(u){var f=n.updateQuery;f?u.updateQuery({query:r.query,variables:r.variables,returnPartialData:!0,optimistic:!1},function(d){return f(d,{fetchMoreResult:c.data,variables:i.variables})}):u.writeQuery({query:i.query,variables:i.variables,data:c.data})},onWatchUpdated:function(u){l.add(u.query)}}),c}).finally(function(){l.has(r.query)||yd(r)})},t.prototype.subscribeToMore=function(n){var r=this,i=this.queryManager.startGraphQLSubscription({query:n.document,variables:n.variables,context:n.context}).subscribe({next:function(s){var o=n.updateQuery;o&&r.updateQuery(function(a,l){var c=l.variables;return o(a,{subscriptionData:s,variables:c})})},error:function(s){if(n.onError){n.onError(s);return}globalThis.__DEV__!==!1&&ee.error(21,s)}});return this.subscriptions.add(i),function(){r.subscriptions.delete(i)&&i.unsubscribe()}},t.prototype.setOptions=function(n){return this.reobserve(n)},t.prototype.silentSetOptions=function(n){var r=nr(this.options,n||{});kc(this.options,r)},t.prototype.setVariables=function(n){return Me(this.variables,n)?this.observers.size?this.result():Promise.resolve():(this.options.variables=n,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:n},xe.setVariables):Promise.resolve())},t.prototype.updateQuery=function(n){var r=this.queryManager,i=r.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,s=n(i,{variables:this.variables});s&&(r.cache.writeQuery({query:this.options.query,data:s,variables:this.variables}),r.broadcastQueries())},t.prototype.startPolling=function(n){this.options.pollInterval=n,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(n,r){if(r.nextFetchPolicy){var i=r.fetchPolicy,s=i===void 0?"cache-first":i,o=r.initialFetchPolicy,a=o===void 0?s:o;s==="standby"||(typeof r.nextFetchPolicy=="function"?r.fetchPolicy=r.nextFetchPolicy(s,{reason:n,options:r,observable:this,initialFetchPolicy:a}):n==="variables-changed"?r.fetchPolicy=a:r.fetchPolicy=r.nextFetchPolicy)}return r.fetchPolicy},t.prototype.fetch=function(n,r,i){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,n,r,i)},t.prototype.updatePolling=function(){var n=this;if(!this.queryManager.ssrMode){var r=this,i=r.pollingInfo,s=r.options.pollInterval;if(!s){i&&(clearTimeout(i.timeout),delete this.pollingInfo);return}if(!(i&&i.interval===s)){ee(s,22);var o=i||(this.pollingInfo={});o.interval=s;var a=function(){n.pollingInfo&&(qr(n.queryInfo.networkStatus)?l():n.reobserve({fetchPolicy:n.options.initialFetchPolicy==="no-cache"?"no-cache":"network-only"},xe.poll).then(l,l))},l=function(){var c=n.pollingInfo;c&&(clearTimeout(c.timeout),c.timeout=setTimeout(a,c.interval))};l()}}},t.prototype.updateLastResult=function(n,r){r===void 0&&(r=this.variables);var i=this.getLastError();return i&&this.last&&!Me(r,this.last.variables)&&(i=void 0),this.last=x({result:this.queryManager.assumeImmutableResults?n:Bf(n),variables:r},i?{error:i}:null)},t.prototype.reobserveAsConcast=function(n,r){var i=this;this.isTornDown=!1;var s=r===xe.refetch||r===xe.fetchMore||r===xe.poll,o=this.options.variables,a=this.options.fetchPolicy,l=nr(this.options,n||{}),c=s?l:kc(this.options,l),u=this.transformDocument(c.query);this.lastQuery=u,s||(this.updatePolling(),n&&n.variables&&!Me(n.variables,o)&&c.fetchPolicy!=="standby"&&c.fetchPolicy===a&&(this.applyNextFetchPolicy("variables-changed",c),r===void 0&&(r=xe.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=Ls(c.fetchPolicy));var f=function(){i.concast===p&&(i.waitForOwnResult=!1)},d=c.variables&&x({},c.variables),h=this.fetch(c,r,u),p=h.concast,m=h.fromLink,g={next:function(v){f(),i.reportResult(v,d)},error:function(v){f(),i.reportError(v,d)}};return!s&&(m||!this.concast)&&(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=p,this.observer=g),p.addObserver(g),p},t.prototype.reobserve=function(n,r){return this.reobserveAsConcast(n,r).promise},t.prototype.resubscribeAfterError=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=this.last;this.resetLastResults();var s=this.subscribe.apply(this,n);return this.last=i,s},t.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},t.prototype.reportResult=function(n,r){var i=this.getLastError(),s=this.isDifferentFromLastResult(n,r);(i||!n.partial||this.options.returnPartialData)&&this.updateLastResult(n,r),(i||s)&&Or(this.observers,"next",n)},t.prototype.reportError=function(n,r){var i=x(x({},this.getLastResult()),{error:n,errors:n.graphQLErrors,networkStatus:xe.error,loading:!1});this.updateLastResult(i,r),Or(this.observers,"error",this.last.error=n)},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(n){return n.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t.prototype.transformDocument=function(n){return this.queryManager.transform(n)},t}(ke);Qf(Ao);function yd(e){var t=e.options,n=t.fetchPolicy,r=t.nextFetchPolicy;return n==="cache-and-network"||n==="network-only"?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(i,s){return this.nextFetchPolicy=r,typeof this.nextFetchPolicy=="function"?this.nextFetchPolicy(i,s):n}}):e.reobserve()}function p0(e){globalThis.__DEV__!==!1&&ee.error(23,e.message,e.stack)}function gd(e){globalThis.__DEV__!==!1&&e&&globalThis.__DEV__!==!1&&ee.debug(24,e)}function Ls(e){return e==="network-only"||e==="no-cache"||e==="standby"}var bd=function(){function e(t){var n=t.cache,r=t.client,i=t.resolvers,s=t.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=n,r&&(this.client=r),i&&this.addResolvers(i),s&&this.setFragmentMatcher(s)}return e.prototype.addResolvers=function(t){var n=this;this.resolvers=this.resolvers||{},Array.isArray(t)?t.forEach(function(r){n.resolvers=Ul(n.resolvers,r)}):this.resolvers=Ul(this.resolvers,t)},e.prototype.setResolvers=function(t){this.resolvers={},this.addResolvers(t)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(t){var n=t.document,r=t.remoteResult,i=t.context,s=t.variables,o=t.onlyRunForcedResolvers,a=o===void 0?!1:o;return rn(this,void 0,void 0,function(){return sn(this,function(l){return n?[2,this.resolveDocument(n,r.data,i,s,this.fragmentMatcher,a).then(function(c){return x(x({},r),{data:c.result})})]:[2,r]})})},e.prototype.setFragmentMatcher=function(t){this.fragmentMatcher=t},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(t){return jr(["client"],t)&&this.resolvers?t:null},e.prototype.serverQuery=function(t){return jf(t)},e.prototype.prepareContext=function(t){var n=this.cache;return x(x({},t),{cache:n,getCacheKey:function(r){return n.identify(r)}})},e.prototype.addExportedVariables=function(t,n,r){return n===void 0&&(n={}),r===void 0&&(r={}),rn(this,void 0,void 0,function(){return sn(this,function(i){return t?[2,this.resolveDocument(t,this.buildRootValueFromCache(t,n)||{},this.prepareContext(r),n).then(function(s){return x(x({},n),s.exportedVariables)})]:[2,x({},n)]})})},e.prototype.shouldForceResolvers=function(t){var n=!1;return Ut(t,{Directive:{enter:function(r){if(r.name.value==="client"&&r.arguments&&(n=r.arguments.some(function(i){return i.name.value==="always"&&i.value.kind==="BooleanValue"&&i.value.value===!0}),n))return _a}}}),n},e.prototype.buildRootValueFromCache=function(t,n){return this.cache.diff({query:Ay(t),variables:n,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(t,n,r,i,s,o){return r===void 0&&(r={}),i===void 0&&(i={}),s===void 0&&(s=function(){return!0}),o===void 0&&(o=!1),rn(this,void 0,void 0,function(){var a,l,c,u,f,d,h,p,m,g,v;return sn(this,function(E){return a=Kr(t),l=as(t),c=is(l),u=this.collectSelectionsToResolve(a,c),f=a.operation,d=f?f.charAt(0).toUpperCase()+f.slice(1):"Query",h=this,p=h.cache,m=h.client,g={fragmentMap:c,context:x(x({},r),{cache:p,client:m}),variables:i,fragmentMatcher:s,defaultOperationType:d,exportedVariables:{},selectionsToResolve:u,onlyRunForcedResolvers:o},v=!1,[2,this.resolveSelectionSet(a.selectionSet,v,n,g).then(function(b){return{result:b,exportedVariables:g.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(t,n,r,i){return rn(this,void 0,void 0,function(){var s,o,a,l,c,u=this;return sn(this,function(f){return s=i.fragmentMap,o=i.context,a=i.variables,l=[r],c=function(d){return rn(u,void 0,void 0,function(){var h,p;return sn(this,function(m){return!n&&!i.selectionsToResolve.has(d)?[2]:Ur(d,a)?dn(d)?[2,this.resolveField(d,n,r,i).then(function(g){var v;typeof g<"u"&&l.push((v={},v[fn(d)]=g,v))})]:(Oy(d)?h=d:(h=s[d.name.value],ee(h,18,d.name.value)),h&&h.typeCondition&&(p=h.typeCondition.name.value,i.fragmentMatcher(r,p,o))?[2,this.resolveSelectionSet(h.selectionSet,n,r,i).then(function(g){l.push(g)})]:[2]):[2]})})},[2,Promise.all(t.selections.map(c)).then(function(){return xa(l)})]})})},e.prototype.resolveField=function(t,n,r,i){return rn(this,void 0,void 0,function(){var s,o,a,l,c,u,f,d,h,p=this;return sn(this,function(m){return r?(s=i.variables,o=t.name.value,a=fn(t),l=o!==a,c=r[a]||r[o],u=Promise.resolve(c),(!i.onlyRunForcedResolvers||this.shouldForceResolvers(t))&&(f=r.__typename||i.defaultOperationType,d=this.resolvers&&this.resolvers[f],d&&(h=d[l?o:a],h&&(u=Promise.resolve(Ra.withValue(this.cache,h,[r,os(t,s),i.context,{field:t,fragmentMap:i.fragmentMap}]))))),[2,u.then(function(g){var v,E;if(g===void 0&&(g=c),t.directives&&t.directives.forEach(function(T){T.name.value==="export"&&T.arguments&&T.arguments.forEach(function(S){S.name.value==="as"&&S.value.kind==="StringValue"&&(i.exportedVariables[S.value.value]=g)})}),!t.selectionSet||g==null)return g;var b=(E=(v=t.directives)===null||v===void 0?void 0:v.some(function(T){return T.name.value==="client"}))!==null&&E!==void 0?E:!1;if(Array.isArray(g))return p.resolveSubSelectedArray(t,n||b,g,i);if(t.selectionSet)return p.resolveSelectionSet(t.selectionSet,n||b,g,i)})]):[2,null]})})},e.prototype.resolveSubSelectedArray=function(t,n,r,i){var s=this;return Promise.all(r.map(function(o){if(o===null)return null;if(Array.isArray(o))return s.resolveSubSelectedArray(t,n,o,i);if(t.selectionSet)return s.resolveSelectionSet(t.selectionSet,n,o,i)}))},e.prototype.collectSelectionsToResolve=function(t,n){var r=function(o){return!Array.isArray(o)},i=this.selectionsToResolveCache;function s(o){if(!i.has(o)){var a=new Set;i.set(o,a),Ut(o,{Directive:function(l,c,u,f,d){l.name.value==="client"&&d.forEach(function(h){r(h)&&ql(h)&&a.add(h)})},FragmentSpread:function(l,c,u,f,d){var h=n[l.name.value];ee(h,19,l.name.value);var p=s(h);p.size>0&&(d.forEach(function(m){r(m)&&ql(m)&&a.add(m)}),a.add(l),p.forEach(function(m){a.add(m)}))}})}return i.get(o)}return s(t)},e}(),Un=new(zt?WeakMap:Map);function Fs(e,t){var n=e[t];typeof n=="function"&&(e[t]=function(){return Un.set(e,(Un.get(e)+1)%1e15),n.apply(this,arguments)})}function Cc(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var js=function(){function e(t,n){n===void 0&&(n=t.generateQueryId()),this.queryId=n,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var r=this.cache=t.cache;Un.has(r)||(Un.set(r,0),Fs(r,"evict"),Fs(r,"modify"),Fs(r,"reset"))}return e.prototype.init=function(t){var n=t.networkStatus||xe.loading;return this.variables&&this.networkStatus!==xe.loading&&!Me(this.variables,t.variables)&&(n=xe.setVariables),Me(t.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:t.document,variables:t.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:n}),t.observableQuery&&this.setObservableQuery(t.observableQuery),t.lastRequestId&&(this.lastRequestId=t.lastRequestId),this},e.prototype.reset=function(){Cc(this),this.dirty=!1},e.prototype.getDiff=function(){var t=this.getDiffOptions();if(this.lastDiff&&Me(t,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var n=this.observableQuery;if(n&&n.options.fetchPolicy==="no-cache")return{complete:!1};var r=this.cache.diff(t);return this.updateLastDiff(r,t),r},e.prototype.updateLastDiff=function(t,n){this.lastDiff=t?{diff:t,options:n||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(t){var n;return t===void 0&&(t=this.variables),{query:this.document,variables:t,returnPartialData:!0,optimistic:!0,canonizeResults:(n=this.observableQuery)===null||n===void 0?void 0:n.options.canonizeResults}},e.prototype.setDiff=function(t){var n=this,r=this.lastDiff&&this.lastDiff.diff;this.updateLastDiff(t),!this.dirty&&!Me(r&&r.result,t&&t.result)&&(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return n.notify()},0)))},e.prototype.setObservableQuery=function(t){var n=this;t!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=t,t?(t.queryInfo=this,this.listeners.add(this.oqListener=function(){var r=n.getDiff();r.fromOptimisticTransaction?t.observe():yd(t)})):delete this.oqListener)},e.prototype.notify=function(){var t=this;Cc(this),this.shouldNotify()&&this.listeners.forEach(function(n){return n(t)}),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if(qr(this.networkStatus)&&this.observableQuery){var t=this.observableQuery.options.fetchPolicy;if(t!=="cache-only"&&t!=="cache-and-network")return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel;var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(t){var n=this;t===void 0&&(t=this.variables);var r=this.observableQuery;if(!(r&&r.options.fetchPolicy==="no-cache")){var i=x(x({},this.getDiffOptions(t)),{watcher:this,callback:function(s){return n.setDiff(s)}});(!this.lastWatch||!Me(i,this.lastWatch))&&(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=i))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(t,n){var r=this.lastWrite;return!(r&&r.dmCount===Un.get(this.cache)&&Me(n,r.variables)&&Me(t.data,r.result.data))},e.prototype.markResult=function(t,n,r,i){var s=this,o=new hn,a=Ft(t.errors)?t.errors.slice(0):[];if(this.reset(),"incremental"in t&&Ft(t.incremental)){var l=Hf(this.getDiff().result,t);t.data=l}else if("hasNext"in t&&t.hasNext){var c=this.getDiff();t.data=o.merge(c.result,t.data)}this.graphQLErrors=a,r.fetchPolicy==="no-cache"?this.updateLastDiff({result:t.data,complete:!0},this.getDiffOptions(r.variables)):i!==0&&(Do(t,r.errorPolicy)?this.cache.performTransaction(function(u){if(s.shouldWrite(t,r.variables))u.writeQuery({query:n,data:t.data,variables:r.variables,overwrite:i===1}),s.lastWrite={result:t,variables:r.variables,dmCount:Un.get(s.cache)};else if(s.lastDiff&&s.lastDiff.diff.complete){t.data=s.lastDiff.diff.result;return}var f=s.getDiffOptions(r.variables),d=u.diff(f);!s.stopped&&Me(s.variables,r.variables)&&s.updateWatch(r.variables),s.updateLastDiff(d,f),d.complete&&(t.data=d.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=xe.ready},e.prototype.markError=function(t){return this.networkStatus=xe.error,this.lastWrite=void 0,this.reset(),t.graphQLErrors&&(this.graphQLErrors=t.graphQLErrors),t.networkError&&(this.networkError=t.networkError),t},e}();function Do(e,t){t===void 0&&(t="none");var n=t==="ignore"||t==="all",r=!gi(e);return!r&&n&&e.data&&(r=!0),r}var m0=Object.prototype.hasOwnProperty,v0=function(){function e(t){var n=t.cache,r=t.link,i=t.defaultOptions,s=t.documentTransform,o=t.queryDeduplication,a=o===void 0?!1:o,l=t.onBroadcast,c=t.ssrMode,u=c===void 0?!1:c,f=t.clientAwareness,d=f===void 0?{}:f,h=t.localState,p=t.assumeImmutableResults,m=p===void 0?!!n.assumeImmutableResults:p,g=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(zt?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map;var v=new Nf(function(E){return g.cache.transformDocument(E)},{cache:!1});this.cache=n,this.link=r,this.defaultOptions=i||Object.create(null),this.queryDeduplication=a,this.clientAwareness=d,this.localState=h||new bd({cache:n}),this.ssrMode=u,this.assumeImmutableResults=m,this.documentTransform=s?v.concat(s).concat(v):v,(this.onBroadcast=l)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var t=this;this.queries.forEach(function(n,r){t.stopQueryNoBroadcast(r)}),this.cancelPendingFetches(rt(25))},e.prototype.cancelPendingFetches=function(t){this.fetchCancelFns.forEach(function(n){return n(t)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(t){var n,r,i=t.mutation,s=t.variables,o=t.optimisticResponse,a=t.updateQueries,l=t.refetchQueries,c=l===void 0?[]:l,u=t.awaitRefetchQueries,f=u===void 0?!1:u,d=t.update,h=t.onQueryUpdated,p=t.fetchPolicy,m=p===void 0?((n=this.defaultOptions.mutate)===null||n===void 0?void 0:n.fetchPolicy)||"network-only":p,g=t.errorPolicy,v=g===void 0?((r=this.defaultOptions.mutate)===null||r===void 0?void 0:r.errorPolicy)||"none":g,E=t.keepRootFields,b=t.context;return rn(this,void 0,void 0,function(){var T,S,w,P;return sn(this,function(k){switch(k.label){case 0:return ee(i,26),ee(m==="network-only"||m==="no-cache",27),T=this.generateMutationId(),i=this.cache.transformForLink(this.transform(i)),S=this.getDocumentInfo(i).hasClientExports,s=this.getVariables(i,s),S?[4,this.localState.addExportedVariables(i,s,b)]:[3,2];case 1:s=k.sent(),k.label=2;case 2:return w=this.mutationStore&&(this.mutationStore[T]={mutation:i,variables:s,loading:!0,error:null}),o&&this.markMutationOptimistic(o,{mutationId:T,document:i,variables:s,fetchPolicy:m,errorPolicy:v,context:b,updateQueries:a,update:d,keepRootFields:E}),this.broadcastQueries(),P=this,[2,new Promise(function(B,K){return ks(P.getObservableFromLink(i,x(x({},b),{optimisticResponse:o}),s,!1),function(X){if(gi(X)&&v==="none")throw new Fn({graphQLErrors:bo(X)});w&&(w.loading=!1,w.error=null);var $=x({},X);return typeof c=="function"&&(c=c($)),v==="ignore"&&gi($)&&delete $.errors,P.markMutationResult({mutationId:T,result:$,document:i,variables:s,fetchPolicy:m,errorPolicy:v,context:b,update:d,updateQueries:a,awaitRefetchQueries:f,refetchQueries:c,removeOptimistic:o?T:void 0,onQueryUpdated:h,keepRootFields:E})}).subscribe({next:function(X){P.broadcastQueries(),(!("hasNext"in X)||X.hasNext===!1)&&B(X)},error:function(X){w&&(w.loading=!1,w.error=X),o&&P.cache.removeOptimistic(T),P.broadcastQueries(),K(X instanceof Fn?X:new Fn({networkError:X}))}})})]}})})},e.prototype.markMutationResult=function(t,n){var r=this;n===void 0&&(n=this.cache);var i=t.result,s=[],o=t.fetchPolicy==="no-cache";if(!o&&Do(i,t.errorPolicy)){if(Jn(i)||s.push({result:i.data,dataId:"ROOT_MUTATION",query:t.document,variables:t.variables}),Jn(i)&&Ft(i.incremental)){var a=n.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(t.document).asQuery,variables:t.variables,optimistic:!1,returnPartialData:!0}),l=void 0;a.result&&(l=Hf(a.result,i)),typeof l<"u"&&(i.data=l,s.push({result:l,dataId:"ROOT_MUTATION",query:t.document,variables:t.variables}))}var c=t.updateQueries;c&&this.queries.forEach(function(f,d){var h=f.observableQuery,p=h&&h.queryName;if(!(!p||!m0.call(c,p))){var m=c[p],g=r.queries.get(d),v=g.document,E=g.variables,b=n.diff({query:v,variables:E,returnPartialData:!0,optimistic:!1}),T=b.result,S=b.complete;if(S&&T){var w=m(T,{mutationResult:i,queryName:v&&po(v)||void 0,queryVariables:E});w&&s.push({result:w,dataId:"ROOT_QUERY",query:v,variables:E})}}})}if(s.length>0||t.refetchQueries||t.update||t.onQueryUpdated||t.removeOptimistic){var u=[];if(this.refetchQueries({updateCache:function(f){o||s.forEach(function(m){return f.write(m)});var d=t.update,h=!Uy(i)||Jn(i)&&!i.hasNext;if(d){if(!o){var p=f.diff({id:"ROOT_MUTATION",query:r.getDocumentInfo(t.document).asQuery,variables:t.variables,optimistic:!1,returnPartialData:!0});p.complete&&(i=x(x({},i),{data:p.result}),"incremental"in i&&delete i.incremental,"hasNext"in i&&delete i.hasNext)}h&&d(f,i,{context:t.context,variables:t.variables})}!o&&!t.keepRootFields&&h&&f.modify({id:"ROOT_MUTATION",fields:function(m,g){var v=g.fieldName,E=g.DELETE;return v==="__typename"?m:E}})},include:t.refetchQueries,optimistic:!1,removeOptimistic:t.removeOptimistic,onQueryUpdated:t.onQueryUpdated||null}).forEach(function(f){return u.push(f)}),t.awaitRefetchQueries||t.onQueryUpdated)return Promise.all(u).then(function(){return i})}return Promise.resolve(i)},e.prototype.markMutationOptimistic=function(t,n){var r=this,i=typeof t=="function"?t(n.variables):t;return this.cache.recordOptimisticTransaction(function(s){try{r.markMutationResult(x(x({},n),{result:{data:i}}),s)}catch(o){globalThis.__DEV__!==!1&&ee.error(o)}},n.mutationId)},e.prototype.fetchQuery=function(t,n,r){return this.fetchConcastWithInfo(t,n,r).concast.promise},e.prototype.getQueryStore=function(){var t=Object.create(null);return this.queries.forEach(function(n,r){t[r]={variables:n.variables,networkStatus:n.networkStatus,networkError:n.networkError,graphQLErrors:n.graphQLErrors}}),t},e.prototype.resetErrors=function(t){var n=this.queries.get(t);n&&(n.networkError=void 0,n.graphQLErrors=[])},e.prototype.transform=function(t){return this.documentTransform.transformDocument(t)},e.prototype.getDocumentInfo=function(t){var n=this.transformCache;if(!n.has(t)){var r={hasClientExports:iy(t),hasForcedResolvers:this.localState.shouldForceResolvers(t),hasNonreactiveDirective:jr(["nonreactive"],t),clientQuery:this.localState.clientQuery(t),serverQuery:Ff([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"}],t),defaultVars:wa(Wr(t)),asQuery:x(x({},t),{definitions:t.definitions.map(function(i){return i.kind==="OperationDefinition"&&i.operation!=="query"?x(x({},i),{operation:"query"}):i})})};n.set(t,r)}return n.get(t)},e.prototype.getVariables=function(t,n){return x(x({},this.getDocumentInfo(t).defaultVars),n)},e.prototype.watchQuery=function(t){var n=this.transform(t.query);t=x(x({},t),{variables:this.getVariables(n,t.variables)}),typeof t.notifyOnNetworkStatusChange>"u"&&(t.notifyOnNetworkStatusChange=!1);var r=new js(this),i=new Ao({queryManager:this,queryInfo:r,options:t});return i.lastQuery=n,this.queries.set(i.queryId,r),r.init({document:n,observableQuery:i,variables:i.variables}),i},e.prototype.query=function(t,n){var r=this;return n===void 0&&(n=this.generateQueryId()),ee(t.query,28),ee(t.query.kind==="Document",29),ee(!t.returnPartialData,30),ee(!t.pollInterval,31),this.fetchQuery(n,x(x({},t),{query:this.transform(t.query)})).finally(function(){return r.stopQuery(n)})},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(t){this.stopQueryInStoreNoBroadcast(t),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(t){var n=this.queries.get(t);n&&n.stop()},e.prototype.clearStore=function(t){return t===void 0&&(t={discardWatches:!0}),this.cancelPendingFetches(rt(32)),this.queries.forEach(function(n){n.observableQuery?n.networkStatus=xe.loading:n.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(t)},e.prototype.getObservableQueries=function(t){var n=this;t===void 0&&(t="active");var r=new Map,i=new Map,s=new Set;return Array.isArray(t)&&t.forEach(function(o){typeof o=="string"?i.set(o,!1):dy(o)?i.set(n.transform(o),!1):Ne(o)&&o.query&&s.add(o)}),this.queries.forEach(function(o,a){var l=o.observableQuery,c=o.document;if(l){if(t==="all"){r.set(a,l);return}var u=l.queryName,f=l.options.fetchPolicy;if(f==="standby"||t==="active"&&!l.hasObservers())return;(t==="active"||u&&i.has(u)||c&&i.has(c))&&(r.set(a,l),u&&i.set(u,!0),c&&i.set(c,!0))}}),s.size&&s.forEach(function(o){var a=lo("legacyOneTimeQuery"),l=n.getQuery(a).init({document:o.query,variables:o.variables}),c=new Ao({queryManager:n,queryInfo:l,options:x(x({},o),{fetchPolicy:"network-only"})});ee(c.queryId===a),l.setObservableQuery(c),r.set(a,c)}),globalThis.__DEV__!==!1&&i.size&&i.forEach(function(o,a){o||globalThis.__DEV__!==!1&&ee.warn(typeof a=="string"?33:34,a)}),r},e.prototype.reFetchObservableQueries=function(t){var n=this;t===void 0&&(t=!1);var r=[];return this.getObservableQueries(t?"all":"active").forEach(function(i,s){var o=i.options.fetchPolicy;i.resetLastResults(),(t||o!=="standby"&&o!=="cache-only")&&r.push(i.refetch()),n.getQuery(s).setDiff(null)}),this.broadcastQueries(),Promise.all(r)},e.prototype.setObservableQuery=function(t){this.getQuery(t.queryId).setObservableQuery(t)},e.prototype.startGraphQLSubscription=function(t){var n=this,r=t.query,i=t.fetchPolicy,s=t.errorPolicy,o=s===void 0?"none":s,a=t.variables,l=t.context,c=l===void 0?{}:l;r=this.transform(r),a=this.getVariables(r,a);var u=function(d){return n.getObservableFromLink(r,c,d).map(function(h){i!=="no-cache"&&(Do(h,o)&&n.cache.write({query:r,result:h.data,dataId:"ROOT_SUBSCRIPTION",variables:d}),n.broadcastQueries());var p=gi(h),m=ag(h);if(p||m){var g={};if(p&&(g.graphQLErrors=h.errors),m&&(g.protocolErrors=h.extensions[Ca]),o==="none"||m)throw new Fn(g)}return o==="ignore"&&delete h.errors,h})};if(this.getDocumentInfo(r).hasClientExports){var f=this.localState.addExportedVariables(r,a,c).then(u);return new ke(function(d){var h=null;return f.then(function(p){return h=p.subscribe(d)},d.error),function(){return h&&h.unsubscribe()}})}return u(a)},e.prototype.stopQuery=function(t){this.stopQueryNoBroadcast(t),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(t){this.stopQueryInStoreNoBroadcast(t),this.removeQuery(t)},e.prototype.removeQuery=function(t){this.fetchCancelFns.delete(t),this.queries.has(t)&&(this.getQuery(t).stop(),this.queries.delete(t))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(t){return t.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(t,n,r,i){var s=this,o;i===void 0&&(i=(o=n==null?void 0:n.queryDeduplication)!==null&&o!==void 0?o:this.queryDeduplication);var a,l=this.getDocumentInfo(t),c=l.serverQuery,u=l.clientQuery;if(c){var f=this,d=f.inFlightLinkObservables,h=f.link,p={query:c,variables:r,operationName:po(c)||void 0,context:this.prepareContext(x(x({},n),{forceFetch:!i}))};if(n=p.context,i){var m=Mf(c),g=d.get(m)||new Map;d.set(m,g);var v=Cn(r);if(a=g.get(v),!a){var E=new Vn([_o(h,p)]);g.set(v,a=E),E.beforeNext(function(){g.delete(v)&&g.size<1&&d.delete(m)})}}else a=new Vn([_o(h,p)])}else a=new Vn([ke.of({data:{}})]),n=this.prepareContext(n);return u&&(a=ks(a,function(b){return s.localState.runResolvers({document:u,remoteResult:b,context:n,variables:r})})),a},e.prototype.getResultsFromLink=function(t,n,r){var i=t.lastRequestId=this.generateRequestId(),s=this.cache.transformForLink(r.query);return ks(this.getObservableFromLink(s,r.context,r.variables),function(o){var a=bo(o),l=a.length>0;if(i>=t.lastRequestId){if(l&&r.errorPolicy==="none")throw t.markError(new Fn({graphQLErrors:a}));t.markResult(o,s,r,n),t.markReady()}var c={data:o.data,loading:!1,networkStatus:xe.ready};return l&&r.errorPolicy!=="ignore"&&(c.errors=a,c.networkStatus=xe.error),c},function(o){var a=lg(o)?o:new Fn({networkError:o});throw i>=t.lastRequestId&&t.markError(a),a})},e.prototype.fetchConcastWithInfo=function(t,n,r,i){var s=this;r===void 0&&(r=xe.loading),i===void 0&&(i=n.query);var o=this.getVariables(i,n.variables),a=this.getQuery(t),l=this.defaultOptions.watchQuery,c=n.fetchPolicy,u=c===void 0?l&&l.fetchPolicy||"cache-first":c,f=n.errorPolicy,d=f===void 0?l&&l.errorPolicy||"none":f,h=n.returnPartialData,p=h===void 0?!1:h,m=n.notifyOnNetworkStatusChange,g=m===void 0?!1:m,v=n.context,E=v===void 0?{}:v,b=Object.assign({},n,{query:i,variables:o,fetchPolicy:u,errorPolicy:d,returnPartialData:p,notifyOnNetworkStatusChange:g,context:E}),T=function(B){b.variables=B;var K=s.fetchQueryByPolicy(a,b,r);return b.fetchPolicy!=="standby"&&K.sources.length>0&&a.observableQuery&&a.observableQuery.applyNextFetchPolicy("after-fetch",n),K},S=function(){return s.fetchCancelFns.delete(t)};this.fetchCancelFns.set(t,function(B){S(),setTimeout(function(){return w.cancel(B)})});var w,P;if(this.getDocumentInfo(b.query).hasClientExports)w=new Vn(this.localState.addExportedVariables(b.query,b.variables,b.context).then(T).then(function(B){return B.sources})),P=!0;else{var k=T(b.variables);P=k.fromLink,w=new Vn(k.sources)}return w.promise.then(S,S),{concast:w,fromLink:P}},e.prototype.refetchQueries=function(t){var n=this,r=t.updateCache,i=t.include,s=t.optimistic,o=s===void 0?!1:s,a=t.removeOptimistic,l=a===void 0?o?lo("refetchQueries"):void 0:a,c=t.onQueryUpdated,u=new Map;i&&this.getObservableQueries(i).forEach(function(d,h){u.set(h,{oq:d,lastDiff:n.getQuery(h).getDiff()})});var f=new Map;return r&&this.cache.batch({update:r,optimistic:o&&l||!1,removeOptimistic:l,onWatchUpdated:function(d,h,p){var m=d.watcher instanceof js&&d.watcher.observableQuery;if(m){if(c){u.delete(m.queryId);var g=c(m,h,p);return g===!0&&(g=m.refetch()),g!==!1&&f.set(m,g),g}c!==null&&u.set(m.queryId,{oq:m,lastDiff:p,diff:h})}}}),u.size&&u.forEach(function(d,h){var p=d.oq,m=d.lastDiff,g=d.diff,v;if(c){if(!g){var E=p.queryInfo;E.reset(),g=E.getDiff()}v=c(p,g,m)}(!c||v===!0)&&(v=p.refetch()),v!==!1&&f.set(p,v),h.indexOf("legacyOneTimeQuery")>=0&&n.stopQueryNoBroadcast(h)}),l&&this.cache.removeOptimistic(l),f},e.prototype.fetchQueryByPolicy=function(t,n,r){var i=this,s=n.query,o=n.variables,a=n.fetchPolicy,l=n.refetchWritePolicy,c=n.errorPolicy,u=n.returnPartialData,f=n.context,d=n.notifyOnNetworkStatusChange,h=t.networkStatus;t.init({document:s,variables:o,networkStatus:r});var p=function(){return t.getDiff()},m=function(T,S){S===void 0&&(S=t.networkStatus||xe.loading);var w=T.result;globalThis.__DEV__!==!1&&!u&&!Me(w,{})&&gd(T.missing);var P=function(k){return ke.of(x({data:k,loading:qr(S),networkStatus:S},T.complete?null:{partial:!0}))};return w&&i.getDocumentInfo(s).hasForcedResolvers?i.localState.runResolvers({document:s,remoteResult:{data:w},context:f,variables:o,onlyRunForcedResolvers:!0}).then(function(k){return P(k.data||void 0)}):c==="none"&&S===xe.refetch&&Array.isArray(T.missing)?P(void 0):P(w)},g=a==="no-cache"?0:r===xe.refetch&&l!=="merge"?1:2,v=function(){return i.getResultsFromLink(t,g,{query:s,variables:o,context:f,fetchPolicy:a,errorPolicy:c})},E=d&&typeof h=="number"&&h!==r&&qr(r);switch(a){default:case"cache-first":{var b=p();return b.complete?{fromLink:!1,sources:[m(b,t.markReady())]}:u||E?{fromLink:!0,sources:[m(b),v()]}:{fromLink:!0,sources:[v()]}}case"cache-and-network":{var b=p();return b.complete||u||E?{fromLink:!0,sources:[m(b),v()]}:{fromLink:!0,sources:[v()]}}case"cache-only":return{fromLink:!1,sources:[m(p(),t.markReady())]};case"network-only":return E?{fromLink:!0,sources:[m(p()),v()]}:{fromLink:!0,sources:[v()]};case"no-cache":return E?{fromLink:!0,sources:[m(t.getDiff()),v()]}:{fromLink:!0,sources:[v()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getQuery=function(t){return t&&!this.queries.has(t)&&this.queries.set(t,new js(this,t)),this.queries.get(t)},e.prototype.prepareContext=function(t){t===void 0&&(t={});var n=this.localState.prepareContext(t);return x(x({},n),{clientAwareness:this.clientAwareness})},e}(),Ac=!1,y0=function(){function e(t){var n=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!t.cache)throw rt(15);var r=t.uri,i=t.credentials,s=t.headers,o=t.cache,a=t.documentTransform,l=t.ssrMode,c=l===void 0?!1:l,u=t.ssrForceFetchDelay,f=u===void 0?0:u,d=t.connectToDevTools,h=d===void 0?typeof window=="object"&&!window.__APOLLO_CLIENT__&&globalThis.__DEV__!==!1:d,p=t.queryDeduplication,m=p===void 0?!0:p,g=t.defaultOptions,v=t.assumeImmutableResults,E=v===void 0?o.assumeImmutableResults:v,b=t.resolvers,T=t.typeDefs,S=t.fragmentMatcher,w=t.name,P=t.version,k=t.link;k||(k=r?new Og({uri:r,credentials:i,headers:s}):Yr.empty()),this.link=k,this.cache=o,this.disableNetworkFetches=c||f>0,this.queryDeduplication=m,this.defaultOptions=g||Object.create(null),this.typeDefs=T,f&&setTimeout(function(){return n.disableNetworkFetches=!1},f),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=ma,this.localState=new bd({cache:o,client:this,resolvers:b,fragmentMatcher:S}),this.queryManager=new v0({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,documentTransform:a,queryDeduplication:m,ssrMode:c,clientAwareness:{name:w,version:P},localState:this.localState,assumeImmutableResults:E,onBroadcast:h?function(){n.devToolsHookCb&&n.devToolsHookCb({action:{},state:{queries:n.queryManager.getQueryStore(),mutations:n.queryManager.mutationStore||{}},dataWithOptimisticResults:n.cache.extract(!0)})}:void 0}),h&&this.connectToDevTools()}return e.prototype.connectToDevTools=function(){if(typeof window=="object"){var t=window,n=Symbol.for("apollo.devtools");(t[n]=t[n]||[]).push(this),t.__APOLLO_CLIENT__=this}!Ac&&globalThis.__DEV__!==!1&&(Ac=!0,setTimeout(function(){if(typeof window<"u"&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var r=window.navigator,i=r&&r.userAgent,s=void 0;typeof i=="string"&&(i.indexOf("Chrome/")>-1?s="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":i.indexOf("Firefox/")>-1&&(s="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),s&&globalThis.__DEV__!==!1&&ee.log("Download the Apollo DevTools for a better development experience: %s",s)}},1e4))},Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(t){return this.defaultOptions.watchQuery&&(t=Cs(this.defaultOptions.watchQuery,t)),this.disableNetworkFetches&&(t.fetchPolicy==="network-only"||t.fetchPolicy==="cache-and-network")&&(t=x(x({},t),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(t)},e.prototype.query=function(t){return this.defaultOptions.query&&(t=Cs(this.defaultOptions.query,t)),ee(t.fetchPolicy!=="cache-and-network",16),this.disableNetworkFetches&&t.fetchPolicy==="network-only"&&(t=x(x({},t),{fetchPolicy:"cache-first"})),this.queryManager.query(t)},e.prototype.mutate=function(t){return this.defaultOptions.mutate&&(t=Cs(this.defaultOptions.mutate,t)),this.queryManager.mutate(t)},e.prototype.subscribe=function(t){return this.queryManager.startGraphQLSubscription(t)},e.prototype.readQuery=function(t,n){return n===void 0&&(n=!1),this.cache.readQuery(t,n)},e.prototype.readFragment=function(t,n){return n===void 0&&(n=!1),this.cache.readFragment(t,n)},e.prototype.writeQuery=function(t){var n=this.cache.writeQuery(t);return t.broadcast!==!1&&this.queryManager.broadcastQueries(),n},e.prototype.writeFragment=function(t){var n=this.cache.writeFragment(t);return t.broadcast!==!1&&this.queryManager.broadcastQueries(),n},e.prototype.__actionHookForDevTools=function(t){this.devToolsHookCb=t},e.prototype.__requestRaw=function(t){return _o(this.link,t)},e.prototype.resetStore=function(){var t=this;return Promise.resolve().then(function(){return t.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(t.resetStoreCallbacks.map(function(n){return n()}))}).then(function(){return t.reFetchObservableQueries()})},e.prototype.clearStore=function(){var t=this;return Promise.resolve().then(function(){return t.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(t.clearStoreCallbacks.map(function(n){return n()}))})},e.prototype.onResetStore=function(t){var n=this;return this.resetStoreCallbacks.push(t),function(){n.resetStoreCallbacks=n.resetStoreCallbacks.filter(function(r){return r!==t})}},e.prototype.onClearStore=function(t){var n=this;return this.clearStoreCallbacks.push(t),function(){n.clearStoreCallbacks=n.clearStoreCallbacks.filter(function(r){return r!==t})}},e.prototype.reFetchObservableQueries=function(t){return this.queryManager.reFetchObservableQueries(t)},e.prototype.refetchQueries=function(t){var n=this.queryManager.refetchQueries(t),r=[],i=[];n.forEach(function(o,a){r.push(a),i.push(o)});var s=Promise.all(i);return s.queries=r,s.results=i,s.catch(function(o){globalThis.__DEV__!==!1&&ee.debug(17,o)}),s},e.prototype.getObservableQueries=function(t){return t===void 0&&(t="active"),this.queryManager.getObservableQueries(t)},e.prototype.extract=function(t){return this.cache.extract(t)},e.prototype.restore=function(t){return this.cache.restore(t)},e.prototype.addResolvers=function(t){this.localState.addResolvers(t)},e.prototype.setResolvers=function(t){this.localState.setResolvers(t)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(t){this.localState.setFragmentMatcher(t)},e.prototype.setLink=function(t){this.link=this.queryManager.link=t},e}(),Ei=new Map,Po=new Map,_d=!0,Ni=!1;function Ed(e){return e.replace(/[\s,]+/g," ").trim()}function g0(e){return Ed(e.source.body.substring(e.start,e.end))}function b0(e){var t=new Set,n=[];return e.definitions.forEach(function(r){if(r.kind==="FragmentDefinition"){var i=r.name.value,s=g0(r.loc),o=Po.get(i);o&&!o.has(s)?_d&&console.warn("Warning: fragment with name "+i+` already exists.
graphql-tag enforces all fragment names across your application to be unique; read more about
this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`):o||Po.set(i,o=new Set),o.add(s),t.has(s)||(t.add(s),n.push(r))}else n.push(r)}),x(x({},e),{definitions:n})}function _0(e){var t=new Set(e.definitions);t.forEach(function(r){r.loc&&delete r.loc,Object.keys(r).forEach(function(i){var s=r[i];s&&typeof s=="object"&&t.add(s)})});var n=e.loc;return n&&(delete n.startToken,delete n.endToken),e}function E0(e){var t=Ed(e);if(!Ei.has(t)){var n=Wv(e,{experimentalFragmentVariables:Ni,allowLegacyFragmentVariables:Ni});if(!n||n.kind!=="Document")throw new Error("Not a valid GraphQL document.");Ei.set(t,_0(b0(n)))}return Ei.get(t)}function ae(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];typeof e=="string"&&(e=[e]);var r=e[0];return t.forEach(function(i,s){i&&i.kind==="Document"?r+=i.loc.source.body:r+=i,r+=e[s+1]}),E0(r)}function w0(){Ei.clear(),Po.clear()}function T0(){_d=!1}function x0(){Ni=!0}function O0(){Ni=!1}var mr={gql:ae,resetCaches:w0,disableFragmentWarnings:T0,enableExperimentalFragmentVariables:x0,disableExperimentalFragmentVariables:O0};(function(e){e.gql=mr.gql,e.resetCaches=mr.resetCaches,e.disableFragmentWarnings=mr.disableFragmentWarnings,e.enableExperimentalFragmentVariables=mr.enableExperimentalFragmentVariables,e.disableExperimentalFragmentVariables=mr.disableExperimentalFragmentVariables})(ae||(ae={}));ae.default=ae;he(0),he(0),he(0);const Dc=ae`
query MyQuery ($pagename: String) {
    page(where: {path: $pagename}) {
      flow {
        widgets {
          ... on HeroImage {
            displayText
            button1Info {
              text
              url
            }
            button2Info {
              text
              url
            }
            content {
              html
            }
            contentType
            image {
              paths
            }
            imageAltText
            imageCredit
          }
        }
      }
    }
  }
`,S0=ae`
query MyQuery ($pagename: String) {
  page(where: {path: $pagename}) {
    flow {
      widgets {
        ... on SectionContent {
          displayText
          button1Info {
            text
            url
          }
          button2Info {
            text
            url
          }
          button3Info {
            text
            url
          }
          content {
            html
          }
          contentType
          image {
            paths
          }
          imageAltText
          imageCredit
          collapsible
        }
      }
    }
  }
}
  `,I0=ae`
query MyQuery ($pagename: String) {
  page(where: {path: $pagename}) {
    flow {
      widgets {
        ... on CTA {
          displayText
          button1Info {
            text
            url
          }
          content {
            html
          }
          contentType
          image {
            paths
          }
          imageAltText
          imageCredit
        }
      }
    }
  }
}
  `,k0=ae`
  query MyQuery ($pagename: String) {
    page(where: {path_contains: $pagename}) {
      flow {
        widgets {
          ... on FormEmbed {
            displayText
            embed {
              html
            }
            javascript {
              html
            }
            
            contentType
          }
        }
      }
    }
  }
    `,C0=ae`
  query MyQuery {
    globalSEO {
      seoMeta {
        metaDescription
        metaKeywords
        pageTitle
      }
    }
  }
`,A0=ae`
  query MyQuery {
    services {
      displayText
      list {
        contentItems {
          ... on Service {
            displayText
            content {
              html
            }
            image {
              paths(first: 10)
            }
            imageAltText
            path
            buttonText
          }
        }
      }
    }
  }
  
`,D0=ae`
  query MyQuery ($pagename: String){
    service(where: {path: $pagename}) {
      displayText
      seoMeta {
        pageTitle
        metaDescription
        metaKeywords
      }
      flow {
        widgets {
          ... on SectionContent {
            displayText
            button2Info {
              text
              url
            }
            button1Info {
              text
              url
            }
            content {
              html
            }
            image {
              paths(first: 10)
            }
            imageAltText
            imageCredit
            contentType
            collapsible
          }
        }
      }
    }
  }  
`,P0=ae`
query MyQuery ($pagename: String){
  page(where: {path: $pagename}) {
    seoMeta {
      metaKeywords
      pageTitle
      metaDescription
    }
  }
}
`,R0=ae`
  query MyQuery {
    news {
      displayText
      imageAltText
      seoMeta {
        metaKeywords
        metaDescription
        pageTitle
      }
      list {
        contentItems(first: 500) {
          ... on NewsPost {
            displayText
            category {
              contentItems {
                displayText
              }
            }
            date
            image {
              paths(first: 10)
            }
            imageAltText
            summary {
              html
            }
            path
          }
        }
      }
    }
  }
  
  `,N0=ae`
  query MyQuery ($pagename: String){
    newsPost(where: {path: $pagename}) {
      displayText
      
    
            button1Info {
              url
              text
            }
    date
    imageAltText
    path
    image {
      paths(first: 10)
    }
    content {
      html
    }
    category {
      contentItems {
        displayText
      }
    }
    }
  }
  `,M0=ae`
  query MyQuery {
    fAQs {
      list {
        contentItems {
          ... on FAQ {
            displayText
            content {
              html
            }
          }
        }
      }
    }
  }
  `,L0=ae`
  query MyQuery {
    team {
      displayText
      list {
        contentItems(first: 100) {
          ... on TeamMember {
            displayText
            firstName
            lastName
            category {
              contentItems {
                displayText
              }
            }
            image {
              paths
            }
            content {
              html
            }
            path
            role
          }
        }
      }
    }
  }  
  `,F0=ae`
  query MyQuery ($pagename: String){
    teamMember(where: {path: $pagename}) {
      displayText
            category {
              contentItems {
                displayText
              }
            }
            image {
              paths
            }
            content {
              html
            }
            path
            role
    }
  }
  `,j0=ae`
  query MyQuery {
    blog {
      displayText
      imageAltText
      seoMeta {
        metaKeywords
        metaDescription
        pageTitle
      }
      list {
        contentItems(first: 500) {
          ... on BlogPost {
            displayText
            category {
              contentItems {
                displayText
              }
            }
            date
            image {
              paths(first: 10)
            }
            imageAltText
            summary {
              html
            }
            path
          }
        }
      }
    }
  }
  
  `,$0=ae`
  query MyQuery ($pagename: String){
    blogPost(where: {path: $pagename}) {
    
            button1Info {
              url
              text
            }
    displayText
    date
    imageAltText
    path
    image {
      paths(first: 10)
    }
    content {
      html
    }
    category {
      contentItems {
        displayText
      }
    }
    }
  }
  `,V0=ae`
  query MyQuery {
    event(first: 500) {
      blogAuthor
      category {
        contentItems {
          displayText
        }
      }
      content {
        html
      }
      date
      displayText
      image {
        paths
      }
      imageAltText
      imageSubtext
      path
      summary {
        html
      }
    }
  }  
  `,q0=ae`
  query MyQuery ($pagename: String){
    event(where: {path: $pagename}) {
      blogAuthor
      category {
        contentItems {
          displayText
        }
      }
      content {
        html
      }
      date
      displayText
      image {
        paths
      }
      imageAltText
      imageSubtext
      path
      time
      address
      summary {
        html
      }
    }
  }
  `,B0=ae`
  query MyQuery {
    localization {
      content {
        html
      }
      key
      displayText
    }
  }  
  `,Q0=ae`
  query MyQuery {
    companyBrand {
      footerLogo {
        paths(first: 10)
      }
      headerLogo {
        paths(first: 10)
      }
      displayText
      tagline
    }
  }
  
  `,H0=ae`
  query MyQuery {
    announcements {
      list {
        contentItems(first: 1) {
          ... on Announcement {
            displayText
            link {
              text
              url
            }
            content {
              html
            }
          }
        }
      }
    }
  }  
  `,U0=ae`
  query MyQuery ($pagename: String) {
      galleries (where: {displayText: $pagename}){
        displayText
        list {
          contentItems {
            ... on Gallery {
              category {
                  contentItems {
                    displayText
                  }
                }
              displayText
              image {
                paths
              }
              imageAltText
              youTubeVideoID
              vimeoVideoID
            }
          }
        }
      }
    }  
  `,G0=ae`
  query MyQuery ($pagename: String){
    logoCloud (where: {displayText: $pagename}) {
      displayText
      list {
        contentItems {
          ... on Logo {
            displayText
            imageAltText
            image {
              paths(first: 10)
            }
            link {
              text
              url
            }
          }
        }
      }
    }
  }
  `,z0=ae`
  query MyQuery {
    cTAs {
      displayText
      list {
        contentItems(first: 1) {
          ... on CTA {
            displayText
            button1Info {
              url
              text
            }
            image {
              paths
            }
            imageAltText
            imageCredit
            content {
              html
            }
          }
        }
      }
    }
  }  
  
  `,W0=ae`
  query MyQuery {
    newsletters(first: 100) {
      displayText
      list {
        contentItems(first: 100) {
          ... on Newsletter {
            displayText
            date
            mediaFile {
              paths(first: 10)
            }
          }
        }
      }
    }
  }
  
  `,K0=ae`
  query MyQuery {
    timeline(orderBy: {createdUtc: ASC}) {
      displayText
      list {
        contentItems {
          ... on TimelineItem {
            displayText
            content {
              html
            }
          }
        }
      }
    }
  }
  `,Y0=ae`
  query MyQuery {
    contentList(orderBy: {createdUtc: ASC}) {
      displayText
      list {
        contentItems {
          ... on RankAppointment {
            displayText
            abbreviation
            insignia {
              paths(first: 10)
            }
          }
        }
      }
    }
  }
  `,J0=ae`
  query MyQuery {
    presidents(where: {displayText: "National Presidents from Ontario"}) {
      displayText
      list {
        contentItems(first:1000) {
          ... on President {
            displayText
            deceased
            yearsActive
            linkToBio {
              contentItems {
                ... on TeamMember {
                  modifiedUtc
                  path
                }
              }
            }
          }
        }
      }
    }
  }
  
  `,Z0=ae`
  query MyQuery {
    presidents(where: {displayText: "OPC Chairpersons"}) {
      displayText
      list {
        contentItems (first:1000) {
          ... on President {
            displayText
            deceased
            yearsActive
            linkToBio {
              contentItems {
                ... on TeamMember {
                  modifiedUtc
                  path
                }
              }
            }
          }
        }
      }
    }
  }
  
  
  `,X0=ae`
  query MyQuery {
    awards {
      displayText
      list {
        contentItems {
          ... on Award {
            displayText
            image {
              paths(first: 10)
            }
            imageAltText
            content {
              html
            }
          }
        }
      }
    }
  }
  
  `,eb=ae`
  query MyQuery {
    locations {
      displayText
      list {
        contentItems {
          ... on Location {
            displayText
            fax
            content {
              html
            }
            link {
              text
              url
            }
            image {
              paths(first: 10)
            }
            secondaryPhone
            phone
          }
        }
      }
    }
  }
  
  `,tb=ae`
  query MyQuery {
    menu(where: {alias: {alias: "main-navigation"}}) {
      displayText
      modifiedUtc
      publishedUtc
      createdUtc
      render
      menuItemsList {
        menuItems {
          ... on LinkMenuItem {
            displayText
            linkMenuItem {
              name
              url
            }
            menuItemsList {
              menuItems {
                ... on LinkMenuItem {
                  displayText
                  linkMenuItem {
                    name
                    url
                  }
                  menuItemsList {
                    menuItems {
                      ... on LinkMenuItem {
                        displayText
                        linkMenuItem {
                          name
                          url
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  
  `,nb=ae`
  query MyQuery {
    menu(where: {alias: {alias: "top-bar"}}) {
      displayText
      modifiedUtc
      publishedUtc
      createdUtc
      render
      menuItemsList {
        menuItems {
          ... on LinkMenuItem {
            displayText
            linkMenuItem {
              name
              url
            }
          }
        }
      }
    }
  }
  
  `,rb=ae`
  query MyQuery {
    menu(where: {alias: {alias: "footer-navigation"}}) {
      displayText
      modifiedUtc
      publishedUtc
      createdUtc
      render
      menuItemsList {
        menuItems {
          ... on LinkMenuItem {
            displayText
            linkMenuItem {
              name
              url
            }
          }
          menuItemsList {
            menuItems {
              ... on LinkMenuItem {
                displayText
                linkMenuItem {
                  name
                  url
                }
              }
            }
          }
        }
      }
    }
  }  
  `,ib=ae`
 query MyQuery {
  resource(orderBy: {displayText: ASC}, first: 300) {
    displayText
            modifiedUtc
            uRL
            file {
              paths(first: 10)
            }
            category {
              contentItems(first: 100) {
                displayText
              }
            }
  }
}
  `;class ft{static async fetchPageData(t,n){let r=null;if(t&&n){var i=Dc;switch(n){case"HeroImage":i=Dc;break;case"FormEmbed":i=k0;break;case"CTA":i=I0;break;case"SectionContent":i=S0;break}r=this.defaultClient.query({query:i,variables:{pagename:t}}).then(s=>s.data.page[0].flow.widgets.filter(o=>o.contentType==n))}return r}static formatImage(t){return"https://cms.aircadetsontario.ca/media/"+t}static async fetchMeta(){return this.defaultClient.query({query:C0}).then(n=>n.data)}static async fetchTimeline(){return this.defaultClient.query({query:K0}).then(n=>n.data)}static async fetchRanks(){return this.defaultClient.query({query:Y0}).then(n=>n.data)}static async fetchPresidents(){return this.defaultClient.query({query:J0}).then(n=>n.data)}static async fetchChairs(){return this.defaultClient.query({query:Z0}).then(n=>n.data)}static async fetchAwards(){return this.defaultClient.query({query:X0}).then(n=>n.data)}static async fetchLocations(){return this.defaultClient.query({query:eb}).then(n=>n.data)}static async fetchNewsletters(){return this.defaultClient.query({query:W0}).then(n=>n.data)}static async fetchPageSeo(t){return this.defaultClient.query({query:P0,variables:{pagename:t}}).then(r=>r.data)}static async fetchNews(){return this.defaultClient.query({query:R0}).then(n=>n.data)}static async fetchAlerts(){return this.defaultClient.query({query:H0}).then(n=>n.data)}static async fetchServices(){return this.defaultClient.query({query:A0}).then(n=>n.data)}static async fetchServiceData(t){return this.defaultClient.query({query:D0,variables:{pagename:t}}).then(r=>r.data)}static async fetchLocalization(){return this.defaultClient.query({query:B0}).then(n=>n.data)}static async fetchResources(){return this.defaultClient.query({query:ib}).then(n=>n.data)}static async fetchNewsInfo(t){return this.defaultClient.query({query:N0,variables:{pagename:t}}).then(r=>r.data)}static async fetchFAQ(){return this.defaultClient.query({query:M0}).then(n=>n.data)}static async fetchBrand(){return this.defaultClient.query({query:Q0}).then(n=>n.data)}static async fetchGlobalCTA(){return this.defaultClient.query({query:z0}).then(n=>n.data)}static async fetchTeam(){return this.defaultClient.query({query:L0}).then(n=>n.data)}static async fetchTeamInfo(t){return this.defaultClient.query({query:F0,variables:{pagename:t}}).then(r=>r.data)}static async fetchBlog(){return this.defaultClient.query({query:j0}).then(n=>n.data)}static async fetchBlogInfo(t){return this.defaultClient.query({query:$0,variables:{pagename:t}}).then(r=>r.data)}static async fetchEvents(){return this.defaultClient.query({query:V0}).then(n=>n.data)}static async fetchEventsInfo(t){return this.defaultClient.query({query:q0,variables:{pagename:t}}).then(r=>r.data)}static async fetchGallery(t){return this.defaultClient.query({query:U0,variables:{pagename:t}}).then(r=>r.data)}static async fetchLogoCloud(t){return this.defaultClient.query({query:G0,variables:{pagename:t}}).then(r=>r.data)}static async fetchNav(){return this.defaultClient.query({query:tb}).then(n=>n.data)}static async fetchTopNav(){return this.defaultClient.query({query:nb}).then(n=>n.data)}static async fetchFooterNav(){return this.defaultClient.query({query:rb}).then(n=>n.data)}}ds(ft,"defaultClient",new y0({uri:"https://cms.aircadetsontario.ca/api/graphql/",cache:new u0})),ds(ft,"response");const sb={components:{Popover:pf,PopoverButton:Um,PopoverGroup:zm,PopoverPanel:Gm,Bars3Icon:dv,XMarkIcon:mv,NavItem:iv,ArrowRightIcon:fv},setup(){return{navigation:uv}},data(){return{showAnnouncement:!0,top:!0,mainNavigation:null,announcement:null,topNav:null}},async created(){await this.fetchOcData()},watch:{$route(){this.$route.name!=="home"?this.top=!1:this.top=window.scrollY<50}},methods:{async fetchOcData(){this.brand=await ft.fetchBrand(),this.brand=this.brand.companyBrand[0],this.mainNavigation=await ft.fetchNav(),this.mainNavigation=this.mainNavigation.menu[0].menuItemsList.menuItems,this.topNav=await ft.fetchTopNav(),this.topNav=this.topNav.menu[0].menuItemsList.menuItems,this.announcement=await ft.fetchAlerts(),this.announcement=this.announcement.announcements[0].list.contentItems},toggleAlert(){this.showAnnouncement=!this.showAnnouncement},formatOcImage(e){return ft.formatImage(e)}}},ob=N("div",{class:"shadow-xl absolute inset-0 h-full w-full opacity-25 bg-transparent pointer-events-none","aria-hidden":"true"},null,-1),ab={key:0,class:"flex items-center gap-x-6 bg-accent-yellow px-6 py-2.5 sm:px-3.5 sm:before:flex-1"},lb={class:"text-sm leading-6 text-black items-center flex gap-2"},cb=["innerHTML"],ub=N("svg",{viewBox:"0 0 2 2",class:"mx-2 inline h-1 w-1 fill-current","aria-hidden":"true"},[N("circle",{cx:"1",cy:"1",r:"1"})],-1),fb=["href"],db={class:"font-semibold"},hb=N("span",{"aria-hidden":"true",class:"inline-block text-base transition group-hover:!translate-x-2"},"→",-1),pb={class:"flex flex-1 justify-end"},mb=N("span",{class:"sr-only"},"Dismiss",-1),vb={key:1,class:"text-white bg-accent-dark px-6 py-2.5 sm:px-4 text-base"},yb={class:"max-w-7xl mx-auto px-4 sm:px-6 flex justify-end gap-4"},gb={class:"max-w-7xl mx-auto px-4 sm:px-6"},bb={class:"flex justify-between items-center py-6 md:justify-start md:space-x-5 relative"},_b={class:"flex justify-start items-center lg:w-0 flex-1"},Eb=N("span",{class:"sr-only"},"Company Name",-1),wb={class:"flex items-center"},Tb={key:0,class:"h-40"},xb=["src","alt"],Ob={class:"-mr-2 -my-2 md:hidden"},Sb=N("span",{class:"sr-only"},"Open menu",-1),Ib=["href"],kb=N("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",class:"w-5 h-5 ml-2"},[N("path",{"fill-rule":"evenodd",d:"M4.25 5.5a.75.75 0 0 0-.75.75v8.5c0 .414.336.75.75.75h8.5a.75.75 0 0 0 .75-.75v-4a.75.75 0 0 1 1.5 0v4A2.25 2.25 0 0 1 12.75 17h-8.5A2.25 2.25 0 0 1 2 14.75v-8.5A2.25 2.25 0 0 1 4.25 4h5a.75.75 0 0 1 0 1.5h-5Z","clip-rule":"evenodd"}),N("path",{"fill-rule":"evenodd",d:"M6.194 12.753a.75.75 0 0 0 1.06.053L16.5 4.44v2.81a.75.75 0 0 0 1.5 0v-4.5a.75.75 0 0 0-.75-.75h-4.5a.75.75 0 0 0 0 1.5h2.553l-9.056 8.194a.75.75 0 0 0-.053 1.06Z","clip-rule":"evenodd"})],-1),Cb={class:"rounded-lg shadow-lg ring-1 ring-black ring-opacity-5 bg-white divide-y-2 divide-gray-50"},Ab={class:"pt-5 pb-6 px-5"},Db={class:"flex items-center justify-between"},Pb=["src","alt"],Rb={class:"-mr-2"},Nb=N("span",{class:"sr-only"},"Close menu",-1),Mb={class:"mt-6"},Lb={class:""},Fb=["href"],jb=N("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",class:"w-5 h-5 ml-2"},[N("path",{"fill-rule":"evenodd",d:"M4.25 5.5a.75.75 0 0 0-.75.75v8.5c0 .414.336.75.75.75h8.5a.75.75 0 0 0 .75-.75v-4a.75.75 0 0 1 1.5 0v4A2.25 2.25 0 0 1 12.75 17h-8.5A2.25 2.25 0 0 1 2 14.75v-8.5A2.25 2.25 0 0 1 4.25 4h5a.75.75 0 0 1 0 1.5h-5Z","clip-rule":"evenodd"}),N("path",{"fill-rule":"evenodd",d:"M6.194 12.753a.75.75 0 0 0 1.06.053L16.5 4.44v2.81a.75.75 0 0 0 1.5 0v-4.5a.75.75 0 0 0-.75-.75h-4.5a.75.75 0 0 0 0 1.5h2.553l-9.056 8.194a.75.75 0 0 0-.053 1.06Z","clip-rule":"evenodd"})],-1);function $b(e,t,n,r,i,s){const o=tt("XMarkIcon"),a=tt("router-link"),l=tt("Bars3Icon"),c=tt("PopoverButton"),u=tt("NavItem"),f=tt("PopoverGroup"),d=tt("PopoverPanel"),h=tt("Popover");return j(),nt(h,{class:"left-0 top-0 w-full z-20 bg-white sticky"},{default:Oe(()=>[ob,i.showAnnouncement&&i.announcement&&i.announcement.length>0?(j(),W("div",ab,[N("p",lb,[N("span",{innerHTML:i.announcement[0].content.html},null,8,cb),ub,i.announcement[0].link&&i.announcement[0].link.text!=null?(j(),W("a",{key:0,class:"group",href:i.announcement[0].link.url},[N("strong",db,Pe(i.announcement[0].link.text),1),Qe(" "),hb],8,fb)):Le("",!0)]),N("div",pb,[N("button",{type:"button",class:"-m-3 p-3 focus-visible:outline-offset-[-4px]",onClick:t[0]||(t[0]=p=>i.showAnnouncement=!1)},[mb,oe(o,{class:"h-5 w-5 text-black","aria-hidden":"true"})])])])):Le("",!0),i.topNav?(j(),W("div",vb,[N("div",yb,[(j(!0),W(ye,null,ct(i.topNav,p=>(j(),nt(a,{to:p.linkMenuItem.url,key:p,class:"accent-link !decoration-white !decoration-1 text-white hover:text-white"},{default:Oe(()=>[Qe(Pe(p.displayText),1)]),_:2},1032,["to"]))),128))])])):Le("",!0),N("div",gb,[N("div",bb,[N("div",_b,[oe(a,{to:{name:"home"}},{default:Oe(()=>[Eb,N("div",wb,[e.brand?Le("",!0):(j(),W("div",Tb)),e.brand?(j(),W("img",{key:1,width:"110",height:"121",class:"h-40 w-auto object-contain absolute left-0 top-1/2 -translate-y-1/2 flex items-center",src:s.formatOcImage(e.brand.headerLogo.paths[0]),alt:e.brand.displayText+" logo"},null,8,xb)):Le("",!0)])]),_:1})]),N("div",Ob,[oe(c,{class:"rounded-md p-2 inline-flex items-center justify-center text-white hover:text-gray-500 transition hover:bg-white"},{default:Oe(()=>[Sb,oe(l,{class:"h-6 w-6 text-accent","aria-hidden":"true"})]),_:1})]),i.mainNavigation?(j(),nt(f,{key:0,as:"nav",id:"main-nav",class:"hidden items-center md:flex space-x-6 xl:space-x-7"},{default:Oe(()=>[(j(!0),W(ye,null,ct(i.mainNavigation.filter(p=>p.displayText.toLowerCase()!="find a squadron"),p=>(j(),nt(u,{key:p,route:p,path:p.linkMenuItem.url!=null?p.linkMenuItem.url:"#",dropdownItems:p.menuItemsList&&p.menuItemsList.menuItems},{default:Oe(()=>[Qe(Pe(p.displayText),1)]),_:2},1032,["route","path","dropdownItems"]))),128)),(j(!0),W(ye,null,ct(i.mainNavigation.filter(p=>p.displayText.toLowerCase()==="find a squadron"),p=>(j(),W("a",{class:"btn",target:"_blank",href:p.linkMenuItem.url!=null?p.linkMenuItem.url:"#",key:p.displayText},[Qe(Pe(p.displayText)+" ",1),kb],8,Ib))),128))]),_:1})):Le("",!0)])]),oe(Lr,{"enter-active-class":"duration-200 ease-out","enter-from-class":"opacity-0 scale-95","enter-to-class":"opacity-100 scale-100","leave-active-class":"duration-100 ease-in","leave-from-class":"opacity-100 scale-100","leave-to-class":"opacity-0 scale-95"},{default:Oe(()=>[oe(d,{focus:"",class:"absolute top-0 inset-x-0 z-10 p-2 transition transform origin-top-right md:hidden"},{default:Oe(()=>[N("div",Cb,[N("div",Ab,[N("div",Db,[oe(a,{to:{name:"home"}},{default:Oe(()=>[e.brand?(j(),W("img",{key:0,class:"h-20 w-auto flex items-center",src:s.formatOcImage(e.brand.headerLogo.paths[0]),alt:e.brand.displayText+" logo"},null,8,Pb)):Le("",!0)]),_:1}),N("div",Rb,[oe(c,{class:"rounded-md p-2 inline-flex items-center justify-center transition hover:bg-accent-lightest"},{default:Oe(()=>[Nb,oe(o,{class:"h-6 w-6 text-accent","aria-hidden":"true"})]),_:1})])]),N("div",Mb,[N("nav",Lb,[oe(c,{class:"space-y-2 text-left"},{default:Oe(()=>[(j(!0),W(ye,null,ct(i.mainNavigation.filter(p=>p.displayText.toLowerCase()!="find a squadron"),p=>(j(),nt(u,{key:p,route:p,path:p.linkMenuItem.url!=null?p.linkMenuItem.url:"#",dropdownItems:p.menuItemsList&&p.menuItemsList.menuItems},{default:Oe(()=>[Qe(Pe(p.displayText),1)]),_:2},1032,["route","path","dropdownItems"]))),128)),(j(!0),W(ye,null,ct(i.mainNavigation.filter(p=>p.displayText.toLowerCase()==="find a squadron"),p=>(j(),W("a",{class:"btn",target:"_blank",href:p.linkMenuItem.url!=null?p.linkMenuItem.url:"#",key:p.displayText},[Qe(Pe(p.displayText)+" ",1),jb],8,Fb))),128))]),_:1})])])])])]),_:1})]),_:1})]),_:1})}const Vb=pa(sb,[["render",$b]]),qb={key:0,class:"fixed inset-x-0 bottom-0 flex flex-col justify-between gap-x-8 gap-y-4 bg-white p-6 ring-1 ring-gray-900/10 md:flex-row md:items-center lg:px-8 z-30"},Bb={class:"max-w-4xl text-sm leading-6"},Qb={class:"flex flex-none items-center gap-x-5"},Hb={key:1,class:"bg-gray-100"},Ub=kp('<div class="mx-auto max-w-7xl px-6 pb-8 pt-16 sm:py-24 lg:px-8"><div class="lg:flex lg:items-center gap-6 lg:justify-between"><div class="content-section"><h3 class="">Subscribe to our Newsletter</h3><p class="mt-2 text-lg lg:max-w-2xl"> Whether you&#39;re a proud supporter, a dedicated volunteer, or a Cadet, our newsletter will help you stay connected with the vibrant Air Cadet community. </p><p class="mt-2 text-lg lg:max-w-2xl"> Don&#39;t miss your chance to be part of something truly special. Subscribe now and be part of the adventure! </p></div><form class="mt-6 lg:max-w-md lg:mt-0"><div class="sm:flex"><label for="email-address" class="sr-only">Email address</label><input type="email" name="email-address" id="email-address" autocomplete="email" required="" class="w-full min-w-0 appearance-none rounded-md border-0 bg-white px-3 py-1.5 text-base text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-accent sm:w-56 sm:text-sm sm:leading-6" placeholder="Enter your email"><div class="mt-4 sm:ml-4 sm:mt-0 sm:flex-shrink-0"><button type="submit" class="flex w-full btn">Subscribe</button></div></div><label for="accept" class="flex items-start mt-4 border-accent-lightest"><div class="flex items-center h-5"><input type="checkbox" id="accept" class="h-4 w-4 top-1 relative rounded border-gray-300 text-accent focus:ring-accent"></div><div class="ml-3"><p> I agree to receive email correspondance from Air Cadet League of Canada </p></div></label></form></div></div>',1),Gb=[Ub],zb={class:"bg-[#497eb3] border-t","aria-labelledby":"footer-heading"},Wb=N("h2",{id:"footer-heading",class:"sr-only"},"Footer",-1),Kb={class:"mx-auto max-w-7xl px-6 pb-8 pt-16 sm:pt-24 lg:px-8"},Yb={class:"xl:grid xl:grid-cols-4 xl:gap-8"},Jb={class:"space-y-8"},Zb=["src","alt"],Xb={class:"mx-auto max-w-4xl divide-y divide-gray-900/10 md:hidden"},e_={key:0,class:"space-y-6 divide-y divide-gray-900/10"},t_={class:"text-lg font-semibold leading-7 h4"},n_={class:"ml-6 flex h-7 items-center"},r_={role:"list",class:"mt-6 !pl-0 space-y-4 unstyled"},i_=["href"],s_=N("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",class:"w-4 h-4"},[N("path",{d:"M2.5 3A1.5 1.5 0 0 0 1 4.5v.793c.026.009.051.02.076.032L7.674 8.51c.206.1.446.1.652 0l6.598-3.185A.755.755 0 0 1 15 5.293V4.5A1.5 1.5 0 0 0 13.5 3h-11Z"}),N("path",{d:"M15 6.954 8.978 9.86a2.25 2.25 0 0 1-1.956 0L1 6.954V11.5A1.5 1.5 0 0 0 2.5 13h11a1.5 1.5 0 0 0 1.5-1.5V6.954Z"})],-1),o_=["href"],a_=N("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",class:"w-4 h-4"},[N("path",{d:"M7.25 11.5a.75.75 0 0 0 0 1.5h1.5a.75.75 0 0 0 0-1.5h-1.5Z"}),N("path",{"fill-rule":"evenodd",d:"M6 1a2.5 2.5 0 0 0-2.5 2.5v9A2.5 2.5 0 0 0 6 15h4a2.5 2.5 0 0 0 2.5-2.5v-9A2.5 2.5 0 0 0 10 1H6Zm4 1.5h-.5V3a.5.5 0 0 1-.5.5H7a.5.5 0 0 1-.5-.5v-.5H6a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1v-9a1 1 0 0 0-1-1Z","clip-rule":"evenodd"})],-1),l_=["href","target"],c_={key:0,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",class:"w-4 h-4 ml-2"},u_=N("path",{"fill-rule":"evenodd",d:"M4.25 5.5a.75.75 0 0 0-.75.75v8.5c0 .414.336.75.75.75h8.5a.75.75 0 0 0 .75-.75v-4a.75.75 0 0 1 1.5 0v4A2.25 2.25 0 0 1 12.75 17h-8.5A2.25 2.25 0 0 1 2 14.75v-8.5A2.25 2.25 0 0 1 4.25 4h5a.75.75 0 0 1 0 1.5h-5Z","clip-rule":"evenodd"},null,-1),f_=N("path",{"fill-rule":"evenodd",d:"M6.194 12.753a.75.75 0 0 0 1.06.053L16.5 4.44v2.81a.75.75 0 0 0 1.5 0v-4.5a.75.75 0 0 0-.75-.75h-4.5a.75.75 0 0 0 0 1.5h2.553l-9.056 8.194a.75.75 0 0 0-.053 1.06Z","clip-rule":"evenodd"},null,-1),d_=[u_,f_],h_={key:0,class:"flex gap-4 mt-4"},p_=["href"],m_={class:"sr-only"},v_={class:"text-lg text-black font-semibold leading-6 tracking-wide"},y_={role:"list",class:"mt-6 space-y-4 unstyled"},g_=["href"],b_=N("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",class:"h-4 w-4 flex-none"},[N("path",{d:"M3 4a2 2 0 0 0-2 2v1.161l8.441 4.221a1.25 1.25 0 0 0 1.118 0L19 7.162V6a2 2 0 0 0-2-2H3Z"}),Qe(),N("path",{d:"m19 8.839-7.77 3.885a2.75 2.75 0 0 1-2.46 0L1 8.839V14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8.839Z"})],-1),__=["href"],E_=N("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",class:"w-4 h-4"},[N("path",{d:"M7.25 11.5a.75.75 0 0 0 0 1.5h1.5a.75.75 0 0 0 0-1.5h-1.5Z"}),N("path",{"fill-rule":"evenodd",d:"M6 1a2.5 2.5 0 0 0-2.5 2.5v9A2.5 2.5 0 0 0 6 15h4a2.5 2.5 0 0 0 2.5-2.5v-9A2.5 2.5 0 0 0 10 1H6Zm4 1.5h-.5V3a.5.5 0 0 1-.5.5H7a.5.5 0 0 1-.5-.5v-.5H6a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1v-9a1 1 0 0 0-1-1Z","clip-rule":"evenodd"})],-1),w_=["href","target"],T_={key:0,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",class:"w-4 h-4 ml-2"},x_=N("path",{"fill-rule":"evenodd",d:"M4.25 5.5a.75.75 0 0 0-.75.75v8.5c0 .414.336.75.75.75h8.5a.75.75 0 0 0 .75-.75v-4a.75.75 0 0 1 1.5 0v4A2.25 2.25 0 0 1 12.75 17h-8.5A2.25 2.25 0 0 1 2 14.75v-8.5A2.25 2.25 0 0 1 4.25 4h5a.75.75 0 0 1 0 1.5h-5Z","clip-rule":"evenodd"},null,-1),O_=N("path",{"fill-rule":"evenodd",d:"M6.194 12.753a.75.75 0 0 0 1.06.053L16.5 4.44v2.81a.75.75 0 0 0 1.5 0v-4.5a.75.75 0 0 0-.75-.75h-4.5a.75.75 0 0 0 0 1.5h2.553l-9.056 8.194a.75.75 0 0 0-.053 1.06Z","clip-rule":"evenodd"},null,-1),S_=[x_,O_],I_={key:0,class:"flex gap-4 mt-4"},k_=["href"],C_={class:"sr-only"},A_={key:1,class:"mt-6 -mb-12 text-black lg:col-span-4"},D_=["innerHTML"],P_={key:0,class:"leading-5 text-center text-black"},R_={data(){return{footerNavigation:null,brand:null,localization:null}},async created(){await this.fetchOcData()},methods:{async fetchOcData(){this.brand=await ft.fetchBrand(),this.brand=this.brand.companyBrand[0],this.footerNavigation=await ft.fetchFooterNav(),this.footerNavigation=this.footerNavigation.menu[0].menuItemsList.menuItems,this.localization=await ft.fetchLocalization(),this.localization=this.localization.localization},fetchLocalziation(e){return this.localization.filter(t=>t.key==e)},formatOcImage(e){return ft.formatImage(e)}}},N_=Object.assign(R_,{__name:"Footer",props:{newsletter:Boolean,cookiePolicy:Boolean},setup(e){const t=he(!0),n={solutions:[{name:"Solutions"},{name:"Marketing",href:"#"},{name:"Analytics",href:"#"},{name:"Commerce",href:"#"},{name:"Insights",href:"#"}],support:[{name:"Support"},{name:"Pricing",href:"#"},{name:"Documentation",href:"#"},{name:"Guides",href:"#"},{name:"API Status",href:"#"}],company:[{name:"Company"},{name:"About",href:"#"},{name:"Blog",href:"#"},{name:"Jobs",href:"#"},{name:"Press",href:"#"},{name:"Partners",href:"#"}],legal:[{name:"Legal"},{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"}],social:[{name:"Social"},{name:"Facebook",href:"#",icon:He({render:()=>qe("svg",{fill:"currentColor",viewBox:"0 0 24 24"},[qe("path",{"fill-rule":"evenodd",d:"M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.878v-6.987h-2.54V12h2.54V9.797c0-2.506 1.492-3.89 3.777-3.89 1.094 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.562V12h2.773l-.443 2.89h-2.33v6.988C18.343 21.128 22 16.991 22 12z","clip-rule":"evenodd"})])})},{name:"Instagram",href:"#",icon:He({render:()=>qe("svg",{fill:"currentColor",viewBox:"0 0 24 24"},[qe("path",{"fill-rule":"evenodd",d:"M12.315 2c2.43 0 2.784.013 3.808.06 1.064.049 1.791.218 2.427.465a4.902 4.902 0 011.772 1.153 4.902 4.902 0 011.153 1.772c.247.636.416 1.363.465 2.427.048 1.067.06 1.407.06 4.123v.08c0 2.643-.012 2.987-.06 4.043-.049 1.064-.218 1.791-.465 2.427a4.902 4.902 0 01-1.153 1.772 4.902 4.902 0 01-1.772 1.153c-.636.247-1.363.416-2.427.465-1.067.048-1.407.06-4.123.06h-.08c-2.643 0-2.987-.012-4.043-.06-1.064-.049-1.791-.218-2.427-.465a4.902 4.902 0 01-1.772-1.153 4.902 4.902 0 01-1.153-1.772c-.247-.636-.416-1.363-.465-2.427-.047-1.024-.06-1.379-.06-3.808v-.63c0-2.43.013-2.784.06-3.808.049-1.064.218-1.791.465-2.427a4.902 4.902 0 011.153-1.772A4.902 4.902 0 015.45 2.525c.636-.247 1.363-.416 2.427-.465C8.901 2.013 9.256 2 11.685 2h.63zm-.081 1.802h-.468c-2.456 0-2.784.011-3.807.058-.975.045-1.504.207-1.857.344-.467.182-.8.398-1.15.748-.35.35-.566.683-.748 1.15-.137.353-.3.882-.344 1.857-.047 1.023-.058 1.351-.058 3.807v.468c0 2.456.011 2.784.058 3.807.045.975.207 1.504.344 1.857.182.466.399.8.748 1.15.35.35.683.566 1.15.748.353.137.882.3 1.857.344 1.054.048 1.37.058 4.041.058h.08c2.597 0 2.917-.01 3.96-.058.976-.045 1.505-.207 1.858-.344.466-.182.8-.398 1.15-.748.35-.35.566-.683.748-1.15.137-.353.3-.882.344-1.857.048-1.055.058-1.37.058-4.041v-.08c0-2.597-.01-2.917-.058-3.96-.045-.976-.207-1.505-.344-1.858a3.097 3.097 0 00-.748-1.15 3.098 3.098 0 00-1.15-.748c-.353-.137-.882-.3-1.857-.344-1.023-.047-1.351-.058-3.807-.058zM12 6.865a5.135 5.135 0 110 10.27 5.135 5.135 0 010-10.27zm0 1.802a3.333 3.333 0 100 6.666 3.333 3.333 0 000-6.666zm5.338-3.205a1.2 1.2 0 110 2.4 1.2 1.2 0 010-2.4z","clip-rule":"evenodd"})])})},{name:"Twitter",href:"#",icon:He({render:()=>qe("svg",{fill:"currentColor",viewBox:"0 0 1200 1227"},[qe("path",{d:"M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z"})])})},{name:"LinkedIn",href:"#",icon:He({render:()=>qe("svg",{fill:"currentColor",viewBox:"0 0 30 30"},[qe("path",{"fill-rule":"evenodd",d:"M24,4H6C4.895,4,4,4.895,4,6v18c0,1.105,0.895,2,2,2h18c1.105,0,2-0.895,2-2V6C26,4.895,25.105,4,24,4z M10.954,22h-2.95 v-9.492h2.95V22z M9.449,11.151c-0.951,0-1.72-0.771-1.72-1.72c0-0.949,0.77-1.719,1.72-1.719c0.948,0,1.719,0.771,1.719,1.719 C11.168,10.38,10.397,11.151,9.449,11.151z M22.004,22h-2.948v-4.616c0-1.101-0.02-2.517-1.533-2.517 c-1.535,0-1.771,1.199-1.771,2.437V22h-2.948v-9.492h2.83v1.297h0.04c0.394-0.746,1.356-1.533,2.791-1.533 c2.987,0,3.539,1.966,3.539,4.522V22z","clip-rule":"evenodd"})])})},{name:"GitHub",href:"#",icon:He({render:()=>qe("svg",{fill:"currentColor",viewBox:"0 0 24 24"},[qe("path",{"fill-rule":"evenodd",d:"M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z","clip-rule":"evenodd"})])})},{name:"YouTube",href:"#",icon:He({render:()=>qe("svg",{fill:"currentColor",viewBox:"0 0 24 24"},[qe("path",{"fill-rule":"evenodd",d:"M19.812 5.418c.861.23 1.538.907 1.768 1.768C21.998 8.746 22 12 22 12s0 3.255-.418 4.814a2.504 2.504 0 0 1-1.768 1.768c-1.56.419-7.814.419-7.814.419s-6.255 0-7.814-.419a2.505 2.505 0 0 1-1.768-1.768C2 15.255 2 12 2 12s0-3.255.417-4.814a2.507 2.507 0 0 1 1.768-1.768C5.744 5 11.998 5 11.998 5s6.255 0 7.814.418ZM15.194 12 10 15V9l5.194 3Z","clip-rule":"evenodd"})])})}]};return(r,i)=>{const s=tt("router-link");return j(),W(ye,null,[e.cookiePolicy&&t.value?(j(),W("div",qb,[N("p",Bb,[Qe(" This website uses cookies to supplement a balanced diet and provide a much deserved reward to the senses after consuming bland but nutritious meals. Accepting our cookies is optional but recommended, as they are delicious. See our "),oe(s,{to:"/cookie-policy",class:"font-semibold text-accent accent-link"},{default:Oe(()=>[Qe("cookie policy")]),_:1}),Qe(". ")]),N("div",Qb,[N("button",{onClick:i[0]||(i[0]=o=>t.value=!1),type:"button",class:"rounded-md bg-gray-900 px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg-gray-700 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-gray-900"}," Accept all "),N("button",{onClick:i[1]||(i[1]=o=>t.value=!1),type:"button",class:"text-sm font-semibold leading-6 text-gray-900 hover:text-red-600 hover:decoration-red-600 accent-link"}," Reject all ")])])):Le("",!0),e.newsletter?(j(),W("div",Hb,Gb)):Le("",!0),N("footer",zb,[Wb,N("div",Kb,[N("div",Yb,[N("div",Jb,[r.brand?(j(),W("img",{key:0,class:"h-48 w-auto object-contain",width:"110",height:"121",src:r.formatOcImage(r.brand.footerLogo.paths[0]),alt:r.brand.displayText+" logo"},null,8,Zb)):Le("",!0)]),N("div",Xb,[r.footerNavigation?(j(),W("dl",e_,[(j(!0),W(ye,null,ct(r.footerNavigation.filter(o=>o.displayText!="Social"),o=>(j(),nt(ut(Rm),{as:"div",key:o.displayText,class:"pt-6"},{default:Oe(({open:a})=>[N("dt",null,[oe(ut(Nm),{class:"flex w-full items-start justify-between text-left text-black group"},{default:Oe(()=>[N("span",t_,Pe(o.displayText),1),N("span",n_,[a?(j(),nt(ut(pv),{key:1,class:"h-6 w-6 group-hover:text-accent group-focus:text-accent","aria-hidden":"true"})):(j(),nt(ut(hv),{key:0,class:"h-6 w-6 group-hover:text-accent group-focus:text-accent","aria-hidden":"true"}))])]),_:2},1024)]),oe(ut(Mm),{as:"dd",class:"mt-6 content-section"},{default:Oe(()=>[N("ul",r_,[(j(!0),W(ye,null,ct(o.menuItemsList.menuItems,l=>(j(),W("li",{key:l.displayText},[l.displayText=="Email"?(j(),W("a",{key:0,href:"mailto:"+l.linkMenuItem.url,class:"text-base !text-black leading-6 accent-link flex gap-2 items-center"},[s_,Qe(" "+Pe(l.linkMenuItem.url),1)],8,i_)):l.displayText=="Phone"?(j(),W("a",{key:1,href:"tel:"+l.linkMenuItem.url,class:"text-base !text-black leading-6 accent-link flex gap-2 items-center"},[a_,Qe(" "+Pe(l.linkMenuItem.url),1)],8,o_)):(j(),W("a",{key:2,href:l.linkMenuItem.url,target:l.linkMenuItem.url.includes("http")?"_blank":"_self",class:"text-base !text-black leading-6 accent-link flex items-center"},[Qe(Pe(l.displayText)+" ",1),l.linkMenuItem.url.includes("http")?(j(),W("svg",c_,d_)):Le("",!0)],8,l_))]))),128))]),r.footerNavigation&&o.displayText=="Contact"?(j(),W("div",h_,[(j(!0),W(ye,null,ct(r.footerNavigation.filter(l=>l.displayText=="Social")[0].menuItemsList.menuItems,l=>(j(),W("a",{key:l.displayText,href:l.linkMenuItem.url,class:"text-whtie !text-black hover:!text-accent transition-all",target:"_blank"},[N("span",m_,Pe(l.displayText),1),(j(),nt(Xa(n.social.filter(c=>c.name==l.displayText)[0].icon),{class:qt(l.displayText!="Twitter"?"h-6 w-6":"h-[1.2rem] w-[1.2rem] relative top-0.5"),"aria-hidden":"true"},null,8,["class"]))],8,p_))),128))])):Le("",!0)]),_:2},1024)]),_:2},1024))),128))])):Le("",!0)]),r.footerNavigation?(j(),W("div",{key:0,class:qt(["hidden mt-16 md:grid gap-8 xl:col-span-3 xl:mt-0",r.footerNavigation.length>4?"grid-cols-4":"grid-cols-"+r.footerNavigation.length])},[(j(!0),W(ye,null,ct(r.footerNavigation.filter(o=>o.displayText!="Social"),o=>(j(),W("div",{key:o.displayText},[N("h3",v_,Pe(o.displayText),1),N("ul",y_,[(j(!0),W(ye,null,ct(o.menuItemsList.menuItems,a=>(j(),W("li",{key:a.displayText},[a.displayText=="Email"?(j(),W("a",{key:0,href:"mailto:"+a.linkMenuItem.url,class:"text-base leading-6 accent-link !text-black flex gap-2 items-center decoration-white"},[b_,Qe(" "+Pe(a.linkMenuItem.url),1)],8,g_)):a.displayText=="Phone"?(j(),W("a",{key:1,href:"tel:"+a.linkMenuItem.url,class:"text-base !text-black leading-6 accent-link flex gap-2 items-center"},[E_,Qe(" "+Pe(a.linkMenuItem.url),1)],8,__)):(j(),W("a",{key:2,href:a.linkMenuItem.url,target:a.linkMenuItem.url.includes("http")?"_blank":"_self",class:"text-base !text-black leading-6 accent-link flex items-center"},[Qe(Pe(a.displayText)+" ",1),a.linkMenuItem.url.includes("http")?(j(),W("svg",T_,S_)):Le("",!0)],8,w_))]))),128))]),r.footerNavigation&&o.displayText=="Contact"?(j(),W("div",I_,[(j(!0),W(ye,null,ct(r.footerNavigation.filter(a=>a.displayText=="Social")[0].menuItemsList.menuItems,a=>(j(),W("a",{key:a.displayText,href:a.linkMenuItem.url,class:"text-whtie !text-black hover:!text-accent transition-all",target:"_blank"},[N("span",C_,Pe(a.displayText),1),(j(),nt(Xa(n.social.filter(l=>l.name==a.displayText)[0].icon),{class:qt(a.displayText!="Twitter"?"h-6 w-6":"h-[1.2rem] w-[1.2rem] relative top-0.5"),"aria-hidden":"true"},null,8,["class"]))],8,k_))),128))])):Le("",!0)]))),128))],2)):Le("",!0),r.localization?(j(),W("div",A_,[N("p",null,[N("strong",null,Pe(r.fetchLocalziation("content.acknowledgement")[0].displayText),1)]),N("div",{innerHTML:r.fetchLocalziation("content.acknowledgement")[0].content.html,class:"content-section"},null,8,D_)])):Le("",!0)]),N("div",{class:qt(["border-t border-black pt-8",e.newsletter?"mt-8":"lg:mt-24 sm:mt-20 mt-16"])},[r.brand?(j(),W("p",P_," © "+Pe(new Date().getFullYear())+" "+Pe(r.brand.displayText)+" All rights reserved. ",1)):Le("",!0)],2)])])],64)}}});function Ro(e,t={},n){for(const r in e){const i=e[r],s=n?`${n}:${r}`:r;typeof i=="object"&&i!==null?Ro(i,t,s):typeof i=="function"&&(t[s]=i)}return t}const M_={run:e=>e()},L_=()=>M_,wd=typeof console.createTask<"u"?console.createTask:L_;function F_(e,t){const n=t.shift(),r=wd(n);return e.reduce((i,s)=>i.then(()=>r.run(()=>s(...t))),Promise.resolve())}function j_(e,t){const n=t.shift(),r=wd(n);return Promise.all(e.map(i=>r.run(()=>i(...t))))}function $s(e,t){for(const n of[...e])n(t)}class $_{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const i=t;let s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!r.allowDeprecated){let o=s.message;o||(o=`${i} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(o)||(console.warn(o),this._deprecatedMessages.add(o))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,i=(...s)=>(typeof r=="function"&&r(),r=void 0,i=void 0,n(...s));return r=this.hook(t,i),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const i of r)this.hook(t,i)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Ro(t),r=Object.keys(n).map(i=>this.hook(i,n[i]));return()=>{for(const i of r.splice(0,r.length))i()}}removeHooks(t){const n=Ro(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(F_,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(j_,t,...n)}callHookWith(t,n,...r){const i=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&$s(this._before,i);const s=t(n in this._hooks?[...this._hooks[n]]:[],r);return s instanceof Promise?s.finally(()=>{this._after&&i&&$s(this._after,i)}):(this._after&&i&&$s(this._after,i),s)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function V_(){return new $_}function q_(e){return Array.isArray(e)?e:[e]}const Td=["title","script","style","noscript"],xd=["base","meta","link","style","script","noscript"],B_=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],Q_=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],H_=["tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent"];function Od(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function No(e){return Od(`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function U_(e){let t=9;for(const n of e)for(let r=0;r<n.length;)t=Math.imul(t^n.charCodeAt(r++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function Sd(e,t){const{props:n,tag:r}=e;if(Q_.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const i=["id"];r==="meta"&&i.push("name","property","http-equiv");for(const s of i)if(typeof n[s]<"u"){const o=String(n[s]);return t&&!t(o)?!1:`${r}:${s}:${o}`}return!1}function Pc(e,t){return e==null?t||null:typeof e=="function"?e(t):e}function ci(e,t=!1,n){const{tag:r,$el:i}=e;i&&(Object.entries(r.props).forEach(([s,o])=>{o=String(o);const a=`attr:${s}`;if(s==="class"){if(!o)return;for(const l of o.split(" ")){const c=`${a}:${l}`;n&&n(e,c,()=>i.classList.remove(l)),i.classList.contains(l)||i.classList.add(l)}return}n&&!s.startsWith("data-h-")&&n(e,a,()=>i.removeAttribute(s)),(t||i.getAttribute(s)!==o)&&i.setAttribute(s,o)}),Td.includes(r.tag)&&(r.textContent&&r.textContent!==i.textContent?i.textContent=r.textContent:r.innerHTML&&r.innerHTML!==i.innerHTML&&(i.innerHTML=r.innerHTML)))}let vr=!1;async function Id(e,t={}){var d,h;const n={shouldRender:!0};if(await e.hooks.callHook("dom:beforeRender",n),!n.shouldRender)return;const r=t.document||e.resolvedOptions.document||window.document,i=(await e.resolveTags()).map(a);if(e.resolvedOptions.experimentalHashHydration&&(vr=vr||e._hash||!1,vr)){const p=U_(i.map(m=>m.tag._h));if(vr===p)return;vr=p}const s=e._popSideEffectQueue();e.headEntries().map(p=>p._sde).forEach(p=>{Object.entries(p).forEach(([m,g])=>{s[m]=g})});const o=(p,m,g)=>{m=`${p.renderId}:${m}`,p.entry&&(p.entry._sde[m]=g),delete s[m]};function a(p){const m=e.headEntries().find(v=>v._i===p._e),g={renderId:p._d||No(p),$el:null,shouldRender:!0,tag:p,entry:m,markSideEffect:(v,E)=>o(g,v,E)};return g}const l=[],c={body:[],head:[]},u=p=>{e._elMap[p.renderId]=p.$el,l.push(p),o(p,"el",()=>{var m;(m=p.$el)==null||m.remove(),delete e._elMap[p.renderId]})};for(const p of i){if(await e.hooks.callHook("dom:beforeRenderTag",p),!p.shouldRender)continue;const{tag:m}=p;if(m.tag==="title"){r.title=m.textContent||"",l.push(p);continue}if(m.tag==="htmlAttrs"||m.tag==="bodyAttrs"){p.$el=r[m.tag==="htmlAttrs"?"documentElement":"body"],ci(p,!1,o),l.push(p);continue}if(p.$el=e._elMap[p.renderId],!p.$el&&m.key&&(p.$el=r.querySelector(`${(d=m.tagPosition)!=null&&d.startsWith("body")?"body":"head"} > ${m.tag}[data-h-${m._h}]`)),p.$el){p.tag._d&&ci(p),u(p);continue}c[(h=m.tagPosition)!=null&&h.startsWith("body")?"body":"head"].push(p)}const f={bodyClose:void 0,bodyOpen:void 0,head:void 0};Object.entries(c).forEach(([p,m])=>{var v;if(!m.length)return;const g=(v=r==null?void 0:r[p])==null?void 0:v.children;if(g){for(const E of[...g].reverse()){const b=E.tagName.toLowerCase();if(!xd.includes(b))continue;const T=E.getAttributeNames().reduce((k,B)=>({...k,[B]:E.getAttribute(B)}),{}),S={tag:b,props:T};E.innerHTML&&(S.innerHTML=E.innerHTML);const w=No(S);let P=m.findIndex(k=>(k==null?void 0:k.renderId)===w);if(P===-1){const k=Sd(S);P=m.findIndex(B=>(B==null?void 0:B.tag._d)&&B.tag._d===k)}if(P!==-1){const k=m[P];k.$el=E,ci(k),u(k),delete m[P]}}m.forEach(E=>{const b=E.tag.tagPosition||"head";f[b]=f[b]||r.createDocumentFragment(),E.$el||(E.$el=r.createElement(E.tag.tag),ci(E,!0)),f[b].appendChild(E.$el),u(E)})}}),f.head&&r.head.appendChild(f.head),f.bodyOpen&&r.body.insertBefore(f.bodyOpen,r.body.firstChild),f.bodyClose&&r.body.appendChild(f.bodyClose);for(const p of l)await e.hooks.callHook("dom:renderTag",p);Object.values(s).forEach(p=>p())}let Vs=null;async function kd(e,t={}){function n(){return Vs=null,Id(e,t)}const r=t.delayFn||(i=>setTimeout(i,10));return Vs=Vs||new Promise(i=>r(()=>i(n())))}function G_(e){return{hooks:{"entries:updated":function(t){if(typeof(e==null?void 0:e.document)>"u"&&typeof window>"u")return;let n=e==null?void 0:e.delayFn;!n&&typeof requestAnimationFrame<"u"&&(n=requestAnimationFrame),kd(t,{document:(e==null?void 0:e.document)||window.document,delayFn:n})}}}}function z_(e){var t;return((t=e==null?void 0:e.head.querySelector('meta[name="unhead:ssr"]'))==null?void 0:t.getAttribute("content"))||!1}const Rc={critical:2,high:9,low:12,base:-1,title:1,meta:10};function Nc(e){if(typeof e.tagPriority=="number")return e.tagPriority;if(e.tag==="meta"){if(e.props.charset)return-2;if(e.props["http-equiv"]==="content-security-policy")return 0}const t=e.tagPriority||e.tag;return t in Rc?Rc[t]:10}const W_=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}];function K_(){return{hooks:{"tags:resolve":e=>{const t=n=>{var r;return(r=e.tags.find(i=>i._d===n))==null?void 0:r._p};for(const{prefix:n,offset:r}of W_)for(const i of e.tags.filter(s=>typeof s.tagPriority=="string"&&s.tagPriority.startsWith(n))){const s=t(i.tagPriority.replace(n,""));typeof s<"u"&&(i._p=s+r)}e.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>Nc(n)-Nc(r))}}}}function Y_(){return{hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(i=>i.tag==="titleTemplate");const r=t.findIndex(i=>i.tag==="title");if(r!==-1&&n!==-1){const i=Pc(t[n].textContent,t[r].textContent);i!==null?t[r].textContent=i||t[r].textContent:delete t[r]}else if(n!==-1){const i=Pc(t[n].textContent);i!==null&&(t[n].textContent=i,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}}}function J_(){return{hooks:{"tag:normalise":function({tag:e}){typeof e.props.body<"u"&&(e.tagPosition="bodyClose",delete e.props.body)}}}}const Z_=["link","style","script","noscript"];function X_(){return{hooks:{"tag:normalise":({tag:e,resolvedOptions:t})=>{t.experimentalHashHydration===!0&&(e._h=No(e)),e.key&&Z_.includes(e.tag)&&(e._h=Od(e.key),e.props[`data-h-${e._h}`]="")}}}}const Mc=["script","link","bodyAttrs"];function e1(){const e=(t,n)=>{const r={},i={};Object.entries(n.props).forEach(([o,a])=>{o.startsWith("on")&&typeof a=="function"?i[o]=a:r[o]=a});let s;return t==="dom"&&n.tag==="script"&&typeof r.src=="string"&&typeof i.onload<"u"&&(s=r.src,delete r.src),{props:r,eventHandlers:i,delayedSrc:s}};return{hooks:{"ssr:render":function(t){t.tags=t.tags.map(n=>(!Mc.includes(n.tag)||!Object.entries(n.props).find(([r,i])=>r.startsWith("on")&&typeof i=="function")||(n.props=e("ssr",n).props),n))},"dom:beforeRenderTag":function(t){if(!Mc.includes(t.tag.tag)||!Object.entries(t.tag.props).find(([s,o])=>s.startsWith("on")&&typeof o=="function"))return;const{props:n,eventHandlers:r,delayedSrc:i}=e("dom",t.tag);Object.keys(r).length&&(t.tag.props=n,t.tag._eventHandlers=r,t.tag._delayedSrc=i)},"dom:renderTag":function(t){const n=t.$el;if(!t.tag._eventHandlers||!n)return;const r=t.tag.tag==="bodyAttrs"&&typeof window<"u"?window:n;Object.entries(t.tag._eventHandlers).forEach(([i,s])=>{const o=`${t.tag._d||t.tag._p}:${i}`,a=i.slice(2).toLowerCase(),l=`data-h-${a}`;if(t.markSideEffect(o,()=>{}),n.hasAttribute(l))return;const c=s;n.setAttribute(l,""),r.addEventListener(a,c),t.entry&&(t.entry._sde[o]=()=>{r.removeEventListener(a,c),n.removeAttribute(l)})}),t.tag._delayedSrc&&n.setAttribute("src",t.tag._delayedSrc)}}}}const t1=["templateParams","htmlAttrs","bodyAttrs"];function n1(){return{hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(r=>{e.props[r]&&(e.key=e.props[r],delete e.props[r])});const n=Sd(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(r=>{const i=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,s=t[i];if(s){let a=r==null?void 0:r.tagDuplicateStrategy;if(!a&&t1.includes(r.tag)&&(a="merge"),a==="merge"){const l=s.props;["class","style"].forEach(c=>{r.props[c]&&l[c]&&(c==="style"&&!l[c].endsWith(";")&&(l[c]+=";"),r.props[c]=`${l[c]} ${r.props[c]}`)}),t[i].props={...l,...r.props};return}else if(r._e===s._e){s._duped=s._duped||[],r._d=`${s._d}:${s._duped.length+1}`,s._duped.push(r);return}}const o=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(xd.includes(r.tag)&&o===0){delete t[i];return}t[i]=r});const n=[];Object.values(t).forEach(r=>{const i=r._duped;delete r._duped,n.push(r),i&&n.push(...i)}),e.tags=n}}}}function ui(e,t){function n(s){if(["s","pageTitle"].includes(s))return t.pageTitle;let o;return s.includes(".")?o=s.split(".").reduce((a,l)=>a&&a[l]||void 0,t):o=t[s],typeof o<"u"?o||"":!1}let r=e;try{r=decodeURI(e)}catch{}return(r.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(s=>{const o=n(s.slice(1));typeof o=="string"&&(e=e.replace(new RegExp(`\\${s}(\\W|$)`,"g"),`${o}$1`).trim())}),t.separator&&(e.endsWith(t.separator)&&(e=e.slice(0,-t.separator.length).trim()),e.startsWith(t.separator)&&(e=e.slice(t.separator.length).trim()),e=e.replace(new RegExp(`\\${t.separator}\\s*\\${t.separator}`,"g"),t.separator)),e}function r1(){return{hooks:{"tags:resolve":e=>{var s;const{tags:t}=e,n=(s=t.find(o=>o.tag==="title"))==null?void 0:s.textContent,r=t.findIndex(o=>o.tag==="templateParams"),i=r!==-1?t[r].props:{};i.pageTitle=i.pageTitle||n||"";for(const o of t)if(["titleTemplate","title"].includes(o.tag)&&typeof o.textContent=="string")o.textContent=ui(o.textContent,i);else if(o.tag==="meta"&&typeof o.props.content=="string")o.props.content=ui(o.props.content,i);else if(o.tag==="link"&&typeof o.props.href=="string")o.props.href=ui(o.props.href,i);else if(o.tag==="script"&&["application/json","application/ld+json"].includes(o.props.type)&&typeof o.innerHTML=="string")try{o.innerHTML=JSON.stringify(JSON.parse(o.innerHTML),(a,l)=>typeof l=="string"?ui(l,i):l)}catch{}e.tags=t.filter(o=>o.tag!=="templateParams")}}}}const i1=typeof window<"u";let Cd;function s1(e){return Cd=e}function o1(){return Cd}async function a1(e,t){const n={tag:e,props:{}};return e==="templateParams"?(n.props=t,n):["title","titleTemplate"].includes(e)?(n.textContent=t instanceof Promise?await t:t,n):typeof t=="string"?["script","noscript","style"].includes(e)?(e==="script"&&(/^(https?:)?\/\//.test(t)||t.startsWith("/"))?n.props.src=t:n.innerHTML=t,n):!1:(n.props=await c1(e,{...t}),n.props.children&&(n.props.innerHTML=n.props.children),delete n.props.children,Object.keys(n.props).filter(r=>H_.includes(r)).forEach(r=>{(!["innerHTML","textContent"].includes(r)||Td.includes(n.tag))&&(n[r]=n.props[r]),delete n.props[r]}),["innerHTML","textContent"].forEach(r=>{if(n.tag==="script"&&typeof n[r]=="string"&&["application/ld+json","application/json"].includes(n.props.type))try{n[r]=JSON.parse(n[r])}catch{n[r]=""}typeof n[r]=="object"&&(n[r]=JSON.stringify(n[r]))}),n.props.class&&(n.props.class=l1(n.props.class)),n.props.content&&Array.isArray(n.props.content)?n.props.content.map(r=>({...n,props:{...n.props,content:r}})):n)}function l1(e){return typeof e=="object"&&!Array.isArray(e)&&(e=Object.keys(e).filter(t=>e[t])),(Array.isArray(e)?e.join(" "):e).split(" ").filter(t=>t.trim()).filter(Boolean).join(" ")}async function c1(e,t){for(const n of Object.keys(t)){const r=n.startsWith("data-");t[n]instanceof Promise&&(t[n]=await t[n]),String(t[n])==="true"?t[n]=r?"true":"":String(t[n])==="false"&&(r?t[n]="false":delete t[n])}return t}const u1=10;async function f1(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&B_.includes(n)).forEach(([n,r])=>{const i=q_(r);t.push(...i.map(s=>a1(n,s)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,r)=>(n._e=e._i,n._p=(e._i<<u1)+r,n))}function d1(){return[n1(),K_(),r1(),Y_(),X_(),e1(),J_()]}function h1(e={}){return[G_({document:e==null?void 0:e.document,delayFn:e==null?void 0:e.domDelayFn})]}function p1(e={}){const t=m1({...e,plugins:[...h1(e),...(e==null?void 0:e.plugins)||[]]});return e.experimentalHashHydration&&t.resolvedOptions.document&&(t._hash=z_(t.resolvedOptions.document)),s1(t),t}function m1(e={}){let t=[],n={},r=0;const i=V_();e!=null&&e.hooks&&i.addHooks(e.hooks),e.plugins=[...d1(),...(e==null?void 0:e.plugins)||[]],e.plugins.forEach(a=>a.hooks&&i.addHooks(a.hooks)),e.document=e.document||(i1?document:void 0);const s=()=>i.callHook("entries:updated",o),o={resolvedOptions:e,headEntries(){return t},get hooks(){return i},use(a){a.hooks&&i.addHooks(a.hooks)},push(a,l){const c={_i:r++,input:a,_sde:{}};return l!=null&&l.mode&&(c._m=l==null?void 0:l.mode),l!=null&&l.transform&&(c._t=l==null?void 0:l.transform),t.push(c),s(),{dispose(){t=t.filter(u=>u._i!==c._i?!0:(n={...n,...u._sde||{}},u._sde={},s(),!1))},patch(u){t=t.map(f=>(f._i===c._i&&(c.input=f.input=u,s()),f))}}},async resolveTags(){const a={tags:[],entries:[...t]};await i.callHook("entries:resolve",a);for(const l of a.entries){const c=l._t||(u=>u);if(l.resolvedInput=c(l.resolvedInput||l.input),l.resolvedInput)for(const u of await f1(l)){const f={tag:u,entry:l,resolvedOptions:o.resolvedOptions};await i.callHook("tag:normalise",f),a.tags.push(f.tag)}}return await i.callHook("tags:resolve",a),a.tags},_popSideEffectQueue(){const a={...n};return n={},a},_elMap:{}};return o.hooks.callHook("init",o),o}function v1(e){return typeof e=="function"?e():ut(e)}function Mi(e,t=""){if(e instanceof Promise)return e;const n=v1(e);return!e||!n?n:Array.isArray(n)?n.map(r=>Mi(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,i])=>r==="titleTemplate"||r.startsWith("on")?[r,ut(i)]:[r,Mi(i,r)])):n}const y1=ca.startsWith("3"),g1=typeof window<"u",Ad="usehead";function Fa(){return aa()&&Je(Ad)||o1()}function b1(e){return{install(n){y1&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Ad,e))}}.install}function _1(e={}){const t=p1({...e,domDelayFn:n=>setTimeout(()=>Rt(()=>n()),10),plugins:[E1(),...(e==null?void 0:e.plugins)||[]]});return t.install=b1(t),t}function E1(){return{hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=Mi(t.input)}}}}function w1(e,t={}){const n=Fa(),r=he(!1),i=he({});It(()=>{i.value=r.value?{}:Mi(e)});const s=n.push(i.value,t);return _r(i,a=>{s.patch(a)}),aa()&&(ta(()=>{s.dispose()}),Lu(()=>{r.value=!0}),Mu(()=>{r.value=!1})),s}function T1(e,t={}){return Fa().push(e,t)}function Dd(e,t={}){var r;const n=Fa();if(n){const i=g1||!!((r=n.resolvedOptions)!=null&&r.document);return t.mode==="server"&&i||t.mode==="client"&&!i?void 0:i?w1(e,t):T1(e,t)}}function x1(e,t){const n=_1(t||{}),r={unhead:n,install(i){ca.startsWith("3")&&(i.config.globalProperties.$head=n,i.provide("usehead",n))},use(i){n.use(i)},resolveTags(){return n.resolveTags()},headEntries(){return n.headEntries()},headTags(){return n.resolveTags()},push(i,s){return n.push(i,s)},addEntry(i,s){return n.push(i,s)},addHeadObjs(i,s){return n.push(i,s)},addReactiveEntry(i,s){const o=Dd(i,s);return typeof o<"u"?o.dispose:()=>{}},removeHeadObjs(){},updateDOM(i,s){s?Id(n,{document:i}):kd(n,{delayFn:o=>setTimeout(()=>o(),50),document:i})},internalHooks:n.hooks,hooks:{"before:dom":[],"resolved:tags":[],"resolved:entries":[]}};return n.addHeadObjs=r.addHeadObjs,n.updateDOM=r.updateDOM,n.hooks.hook("dom:beforeRender",i=>{for(const s of r.hooks["before:dom"])s()===!1&&(i.shouldRender=!1)}),e&&r.addHeadObjs(e),r}const O1={props:{title:{type:String},description:{type:String},keywords:{type:String}},async created(){await this.fetchOcData(),this.setMetaData()},data(){return{globalSeo:null}},methods:{async fetchOcData(){this.globalSeo=await ft.fetchMeta()},async setMetaData(){Dd({title:this.title!=null?this.title+" | "+this.globalSeo.globalSEO[0].seoMeta.pageTitle:this.globalSeo.globalSEO[0].seoMeta.pageTitle,meta:[{name:"description",content:this.description!=null?this.description:this.globalSeo.globalSEO[0].seoMeta.metaDescription},{name:"keywords",content:this.keywords!=null?this.keywords:this.globalSeo.globalSEO[0].seoMeta.metaKeywords}]})}}};function S1(e,t,n,r,i,s){return null}const Pd=pa(O1,[["render",S1]]),I1={class:"min-h-screen overflow-hidden"},k1={__name:"App",setup(e){return(t,n)=>{const r=tt("router-view");return j(),W(ye,null,[oe(Vb),N("div",I1,[oe(r)]),oe(N_),oe(Pd)],64)}}};/*!
  * vue-router v4.1.6
  * (c) 2022 Eduardo San Martin Morote
  * @license MIT
  */const qn=typeof window<"u";function C1(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Ee=Object.assign;function qs(e,t){const n={};for(const r in t){const i=t[r];n[r]=St(i)?i.map(e):e(i)}return n}const kr=()=>{},St=Array.isArray,A1=/\/$/,D1=e=>e.replace(A1,"");function Bs(e,t,n="/"){let r,i={},s="",o="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),s=t.slice(l+1,a>-1?a:t.length),i=e(s)),a>-1&&(r=r||t.slice(0,a),o=t.slice(a,t.length)),r=M1(r??t,n),{fullPath:r+(s&&"?")+s+o,path:r,query:i,hash:o}}function P1(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Lc(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function R1(e,t,n){const r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&ir(t.matched[r],n.matched[i])&&Rd(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function ir(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Rd(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!N1(e[n],t[n]))return!1;return!0}function N1(e,t){return St(e)?Fc(e,t):St(t)?Fc(t,e):e===t}function Fc(e,t){return St(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function M1(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let i=n.length-1,s,o;for(s=0;s<r.length;s++)if(o=r[s],o!==".")if(o==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(s-(s===r.length?1:0)).join("/")}var Br;(function(e){e.pop="pop",e.push="push"})(Br||(Br={}));var Cr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Cr||(Cr={}));function L1(e){if(!e)if(qn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),D1(e)}const F1=/^[^#]+#/;function j1(e,t){return e.replace(F1,"#")+t}function $1(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 us=()=>({left:window.pageXOffset,top:window.pageYOffset});function V1(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=$1(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function jc(e,t){return(history.state?history.state.position-t:-1)+e}const Mo=new Map;function q1(e,t){Mo.set(e,t)}function B1(e){const t=Mo.get(e);return Mo.delete(e),t}let Q1=()=>location.protocol+"//"+location.host;function Nd(e,t){const{pathname:n,search:r,hash:i}=t,s=e.indexOf("#");if(s>-1){let a=i.includes(e.slice(s))?e.slice(s).length:1,l=i.slice(a);return l[0]!=="/"&&(l="/"+l),Lc(l,"")}return Lc(n,e)+r+i}function H1(e,t,n,r){let i=[],s=[],o=null;const a=({state:d})=>{const h=Nd(e,location),p=n.value,m=t.value;let g=0;if(d){if(n.value=h,t.value=d,o&&o===p){o=null;return}g=m?d.position-m.position:0}else r(h);i.forEach(v=>{v(n.value,p,{delta:g,type:Br.pop,direction:g?g>0?Cr.forward:Cr.back:Cr.unknown})})};function l(){o=n.value}function c(d){i.push(d);const h=()=>{const p=i.indexOf(d);p>-1&&i.splice(p,1)};return s.push(h),h}function u(){const{history:d}=window;d.state&&d.replaceState(Ee({},d.state,{scroll:us()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u),{pauseListeners:l,listen:c,destroy:f}}function $c(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?us():null}}function U1(e){const{history:t,location:n}=window,r={value:Nd(e,n)},i={value:t.state};i.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(l,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:Q1()+e+l;try{t[u?"replaceState":"pushState"](c,"",d),i.value=c}catch(h){console.error(h),n[u?"replace":"assign"](d)}}function o(l,c){const u=Ee({},t.state,$c(i.value.back,l,i.value.forward,!0),c,{position:i.value.position});s(l,u,!0),r.value=l}function a(l,c){const u=Ee({},i.value,t.state,{forward:l,scroll:us()});s(u.current,u,!0);const f=Ee({},$c(r.value,l,null),{position:u.position+1},c);s(l,f,!1),r.value=l}return{location:r,state:i,push:a,replace:o}}function G1(e){e=L1(e);const t=U1(e),n=H1(e,t.state,t.location,t.replace);function r(s,o=!0){o||n.pauseListeners(),history.go(s)}const i=Ee({location:"",base:e,go:r,createHref:j1.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function z1(e){return typeof e=="string"||e&&typeof e=="object"}function Md(e){return typeof e=="string"||typeof e=="symbol"}const Jt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Ld=Symbol("");var Vc;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Vc||(Vc={}));function sr(e,t){return Ee(new Error,{type:e,[Ld]:!0},t)}function Vt(e,t){return e instanceof Error&&Ld in e&&(t==null||!!(e.type&t))}const qc="[^/]+?",W1={sensitive:!1,strict:!1,start:!0,end:!0},K1=/[.+*?^${}()[\]/\\]/g;function Y1(e,t){const n=Ee({},W1,t),r=[];let i=n.start?"^":"";const s=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(i+="/");for(let f=0;f<c.length;f++){const d=c[f];let h=40+(n.sensitive?.25:0);if(d.type===0)f||(i+="/"),i+=d.value.replace(K1,"\\$&"),h+=40;else if(d.type===1){const{value:p,repeatable:m,optional:g,regexp:v}=d;s.push({name:p,repeatable:m,optional:g});const E=v||qc;if(E!==qc){h+=10;try{new RegExp(`(${E})`)}catch(T){throw new Error(`Invalid custom RegExp for param "${p}" (${E}): `+T.message)}}let b=m?`((?:${E})(?:/(?:${E}))*)`:`(${E})`;f||(b=g&&c.length<2?`(?:/${b})`:"/"+b),g&&(b+="?"),i+=b,h+=20,g&&(h+=-8),m&&(h+=-20),E===".*"&&(h+=-50)}u.push(h)}r.push(u)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(i+="/?"),n.end?i+="$":n.strict&&(i+="(?:/|$)");const o=new RegExp(i,n.sensitive?"":"i");function a(c){const u=c.match(o),f={};if(!u)return null;for(let d=1;d<u.length;d++){const h=u[d]||"",p=s[d-1];f[p.name]=h&&p.repeatable?h.split("/"):h}return f}function l(c){let u="",f=!1;for(const d of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const h of d)if(h.type===0)u+=h.value;else if(h.type===1){const{value:p,repeatable:m,optional:g}=h,v=p in c?c[p]:"";if(St(v)&&!m)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const E=St(v)?v.join("/"):v;if(!E)if(g)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);u+=E}}return u||"/"}return{re:o,score:r,keys:s,parse:a,stringify:l}}function J1(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]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function Z1(e,t){let n=0;const r=e.score,i=t.score;for(;n<r.length&&n<i.length;){const s=J1(r[n],i[n]);if(s)return s;n++}if(Math.abs(i.length-r.length)===1){if(Bc(r))return 1;if(Bc(i))return-1}return i.length-r.length}function Bc(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const X1={type:0,value:""},eE=/[a-zA-Z0-9_]/;function tE(e){if(!e)return[[]];if(e==="/")return[[X1]];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 i=[];let s;function o(){s&&i.push(s),s=[]}let a=0,l,c="",u="";function f(){c&&(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(c&&f(),o()):l===":"?(f(),n=1):d();break;case 4:d(),n=r;break;case 1:l==="("?n=2:eE.test(l)?d():(f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),f(),o(),i}function nE(e,t,n){const r=Y1(tE(e.path),n),i=Ee(r,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function rE(e,t){const n=[],r=new Map;t=Uc({strict:!1,end:!0,sensitive:!1},t);function i(u){return r.get(u)}function s(u,f,d){const h=!d,p=iE(u);p.aliasOf=d&&d.record;const m=Uc(t,u),g=[p];if("alias"in u){const b=typeof u.alias=="string"?[u.alias]:u.alias;for(const T of b)g.push(Ee({},p,{components:d?d.record.components:p.components,path:T,aliasOf:d?d.record:p}))}let v,E;for(const b of g){const{path:T}=b;if(f&&T[0]!=="/"){const S=f.record.path,w=S[S.length-1]==="/"?"":"/";b.path=f.record.path+(T&&w+T)}if(v=nE(b,f,m),d?d.alias.push(v):(E=E||v,E!==v&&E.alias.push(v),h&&u.name&&!Hc(v)&&o(u.name)),p.children){const S=p.children;for(let w=0;w<S.length;w++)s(S[w],v,d&&d.children[w])}d=d||v,(v.record.components&&Object.keys(v.record.components).length||v.record.name||v.record.redirect)&&l(v)}return E?()=>{o(E)}:kr}function o(u){if(Md(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(o),f.alias.forEach(o))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(o),u.alias.forEach(o))}}function a(){return n}function l(u){let f=0;for(;f<n.length&&Z1(u,n[f])>=0&&(u.record.path!==n[f].record.path||!Fd(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!Hc(u)&&r.set(u.record.name,u)}function c(u,f){let d,h={},p,m;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw sr(1,{location:u});m=d.record.name,h=Ee(Qc(f.params,d.keys.filter(E=>!E.optional).map(E=>E.name)),u.params&&Qc(u.params,d.keys.map(E=>E.name))),p=d.stringify(h)}else if("path"in u)p=u.path,d=n.find(E=>E.re.test(p)),d&&(h=d.parse(p),m=d.record.name);else{if(d=f.name?r.get(f.name):n.find(E=>E.re.test(f.path)),!d)throw sr(1,{location:u,currentLocation:f});m=d.record.name,h=Ee({},f.params,u.params),p=d.stringify(h)}const g=[];let v=d;for(;v;)g.unshift(v.record),v=v.parent;return{name:m,path:p,params:h,matched:g,meta:oE(g)}}return e.forEach(u=>s(u)),{addRoute:s,resolve:c,removeRoute:o,getRoutes:a,getRecordMatcher:i}}function Qc(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function iE(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:sE(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function sE(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=="boolean"?n:n[r];return t}function Hc(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function oE(e){return e.reduce((t,n)=>Ee(t,n.meta),{})}function Uc(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Fd(e,t){return t.children.some(n=>n===e||Fd(e,n))}const jd=/#/g,aE=/&/g,lE=/\//g,cE=/=/g,uE=/\?/g,$d=/\+/g,fE=/%5B/g,dE=/%5D/g,Vd=/%5E/g,hE=/%60/g,qd=/%7B/g,pE=/%7C/g,Bd=/%7D/g,mE=/%20/g;function ja(e){return encodeURI(""+e).replace(pE,"|").replace(fE,"[").replace(dE,"]")}function vE(e){return ja(e).replace(qd,"{").replace(Bd,"}").replace(Vd,"^")}function Lo(e){return ja(e).replace($d,"%2B").replace(mE,"+").replace(jd,"%23").replace(aE,"%26").replace(hE,"`").replace(qd,"{").replace(Bd,"}").replace(Vd,"^")}function yE(e){return Lo(e).replace(cE,"%3D")}function gE(e){return ja(e).replace(jd,"%23").replace(uE,"%3F")}function bE(e){return e==null?"":gE(e).replace(lE,"%2F")}function Li(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function _E(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;i<r.length;++i){const s=r[i].replace($d," "),o=s.indexOf("="),a=Li(o<0?s:s.slice(0,o)),l=o<0?null:Li(s.slice(o+1));if(a in t){let c=t[a];St(c)||(c=t[a]=[c]),c.push(l)}else t[a]=l}return t}function Gc(e){let t="";for(let n in e){const r=e[n];if(n=yE(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(St(r)?r.map(s=>s&&Lo(s)):[r&&Lo(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function EE(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=St(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return t}const wE=Symbol(""),zc=Symbol(""),$a=Symbol(""),Qd=Symbol(""),Fo=Symbol("");function yr(){let e=[];function t(r){return e.push(r),()=>{const i=e.indexOf(r);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function on(e,t,n,r,i){const s=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((o,a)=>{const l=f=>{f===!1?a(sr(4,{from:n,to:t})):f instanceof Error?a(f):z1(f)?a(sr(2,{from:t,to:f})):(s&&r.enterCallbacks[i]===s&&typeof f=="function"&&s.push(f),o())},c=e.call(r&&r.instances[i],t,n,l);let u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch(f=>a(f))})}function Qs(e,t,n,r){const i=[];for(const s of e)for(const o in s.components){let a=s.components[o];if(!(t!=="beforeRouteEnter"&&!s.instances[o]))if(TE(a)){const c=(a.__vccOpts||a)[t];c&&i.push(on(c,n,r,s,o))}else{let l=a();i.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${s.path}"`));const u=C1(c)?c.default:c;s.components[o]=u;const d=(u.__vccOpts||u)[t];return d&&on(d,n,r,s,o)()}))}}return i}function TE(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Wc(e){const t=Je($a),n=Je(Qd),r=de(()=>t.resolve(ut(e.to))),i=de(()=>{const{matched:l}=r.value,{length:c}=l,u=l[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(ir.bind(null,u));if(d>-1)return d;const h=Kc(l[c-2]);return c>1&&Kc(u)===h&&f[f.length-1].path!==h?f.findIndex(ir.bind(null,l[c-2])):d}),s=de(()=>i.value>-1&&IE(n.params,r.value.params)),o=de(()=>i.value>-1&&i.value===n.matched.length-1&&Rd(n.params,r.value.params));function a(l={}){return SE(l)?t[ut(e.replace)?"replace":"push"](ut(e.to)).catch(kr):Promise.resolve()}return{route:r,href:de(()=>r.value.href),isActive:s,isExactActive:o,navigate:a}}const xE=He({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"}},useLink:Wc,setup(e,{slots:t}){const n=Qr(Wc(e)),{options:r}=Je($a),i=de(()=>({[Yc(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Yc(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:qe("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},s)}}}),OE=xE;function SE(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 IE(e,t){for(const n in t){const r=t[n],i=e[n];if(typeof r=="string"){if(r!==i)return!1}else if(!St(i)||i.length!==r.length||r.some((s,o)=>s!==i[o]))return!1}return!0}function Kc(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Yc=(e,t,n)=>e??t??n,kE=He({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Je(Fo),i=de(()=>e.route||r.value),s=Je(zc,0),o=de(()=>{let c=ut(s);const{matched:u}=i.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=de(()=>i.value.matched[o.value]);xt(zc,de(()=>o.value+1)),xt(wE,a),xt(Fo,i);const l=he();return _r(()=>[l.value,a.value,e.name],([c,u,f],[d,h,p])=>{u&&(u.instances[f]=c,h&&h!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!ir(u,h)||!d)&&(u.enterCallbacks[f]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=i.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return Jc(n.default,{Component:d,route:c});const h=f.props[u],p=h?h===!0?c.params:typeof h=="function"?h(c):h:null,g=qe(d,Ee({},p,t,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return Jc(n.default,{Component:g,route:c})||g}}});function Jc(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const CE=kE;function AE(e){const t=rE(e.routes,e),n=e.parseQuery||_E,r=e.stringifyQuery||Gc,i=e.history,s=yr(),o=yr(),a=yr(),l=Ch(Jt);let c=Jt;qn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=qs.bind(null,C=>""+C),f=qs.bind(null,bE),d=qs.bind(null,Li);function h(C,Q){let V,Y;return Md(C)?(V=t.getRecordMatcher(C),Y=Q):Y=C,t.addRoute(Y,V)}function p(C){const Q=t.getRecordMatcher(C);Q&&t.removeRoute(Q)}function m(){return t.getRoutes().map(C=>C.record)}function g(C){return!!t.getRecordMatcher(C)}function v(C,Q){if(Q=Ee({},Q||l.value),typeof C=="string"){const re=Bs(n,C,Q.path),y=t.resolve({path:re.path},Q),_=i.createHref(re.fullPath);return Ee(re,y,{params:d(y.params),hash:Li(re.hash),redirectedFrom:void 0,href:_})}let V;if("path"in C)V=Ee({},C,{path:Bs(n,C.path,Q.path).path});else{const re=Ee({},C.params);for(const y in re)re[y]==null&&delete re[y];V=Ee({},C,{params:f(C.params)}),Q.params=f(Q.params)}const Y=t.resolve(V,Q),_e=C.hash||"";Y.params=u(d(Y.params));const Ie=P1(r,Ee({},C,{hash:vE(_e),path:Y.path})),le=i.createHref(Ie);return Ee({fullPath:Ie,hash:_e,query:r===Gc?EE(C.query):C.query||{}},Y,{redirectedFrom:void 0,href:le})}function E(C){return typeof C=="string"?Bs(n,C,l.value.path):Ee({},C)}function b(C,Q){if(c!==C)return sr(8,{from:Q,to:C})}function T(C){return P(C)}function S(C){return T(Ee(E(C),{replace:!0}))}function w(C){const Q=C.matched[C.matched.length-1];if(Q&&Q.redirect){const{redirect:V}=Q;let Y=typeof V=="function"?V(C):V;return typeof Y=="string"&&(Y=Y.includes("?")||Y.includes("#")?Y=E(Y):{path:Y},Y.params={}),Ee({query:C.query,hash:C.hash,params:"path"in Y?{}:C.params},Y)}}function P(C,Q){const V=c=v(C),Y=l.value,_e=C.state,Ie=C.force,le=C.replace===!0,re=w(V);if(re)return P(Ee(E(re),{state:typeof re=="object"?Ee({},_e,re.state):_e,force:Ie,replace:le}),Q||V);const y=V;y.redirectedFrom=Q;let _;return!Ie&&R1(r,Y,V)&&(_=sr(16,{to:y,from:Y}),$t(Y,Y,!0,!1)),(_?Promise.resolve(_):B(y,Y)).catch(O=>Vt(O)?Vt(O,2)?O:Ae(O):be(O,y,Y)).then(O=>{if(O){if(Vt(O,2))return P(Ee({replace:le},E(O.to),{state:typeof O.to=="object"?Ee({},_e,O.to.state):_e,force:Ie}),Q||y)}else O=X(y,Y,!0,le,_e);return K(y,Y,O),O})}function k(C,Q){const V=b(C,Q);return V?Promise.reject(V):Promise.resolve()}function B(C,Q){let V;const[Y,_e,Ie]=DE(C,Q);V=Qs(Y.reverse(),"beforeRouteLeave",C,Q);for(const re of Y)re.leaveGuards.forEach(y=>{V.push(on(y,C,Q))});const le=k.bind(null,C,Q);return V.push(le),jn(V).then(()=>{V=[];for(const re of s.list())V.push(on(re,C,Q));return V.push(le),jn(V)}).then(()=>{V=Qs(_e,"beforeRouteUpdate",C,Q);for(const re of _e)re.updateGuards.forEach(y=>{V.push(on(y,C,Q))});return V.push(le),jn(V)}).then(()=>{V=[];for(const re of C.matched)if(re.beforeEnter&&!Q.matched.includes(re))if(St(re.beforeEnter))for(const y of re.beforeEnter)V.push(on(y,C,Q));else V.push(on(re.beforeEnter,C,Q));return V.push(le),jn(V)}).then(()=>(C.matched.forEach(re=>re.enterCallbacks={}),V=Qs(Ie,"beforeRouteEnter",C,Q),V.push(le),jn(V))).then(()=>{V=[];for(const re of o.list())V.push(on(re,C,Q));return V.push(le),jn(V)}).catch(re=>Vt(re,8)?re:Promise.reject(re))}function K(C,Q,V){for(const Y of a.list())Y(C,Q,V)}function X(C,Q,V,Y,_e){const Ie=b(C,Q);if(Ie)return Ie;const le=Q===Jt,re=qn?history.state:{};V&&(Y||le?i.replace(C.fullPath,Ee({scroll:le&&re&&re.scroll},_e)):i.push(C.fullPath,_e)),l.value=C,$t(C,Q,V,le),Ae()}let $;function ge(){$||($=i.listen((C,Q,V)=>{if(!vn.listening)return;const Y=v(C),_e=w(Y);if(_e){P(Ee(_e,{replace:!0}),Y).catch(kr);return}c=Y;const Ie=l.value;qn&&q1(jc(Ie.fullPath,V.delta),us()),B(Y,Ie).catch(le=>Vt(le,12)?le:Vt(le,2)?(P(le.to,Y).then(re=>{Vt(re,20)&&!V.delta&&V.type===Br.pop&&i.go(-1,!1)}).catch(kr),Promise.reject()):(V.delta&&i.go(-V.delta,!1),be(le,Y,Ie))).then(le=>{le=le||X(Y,Ie,!1),le&&(V.delta&&!Vt(le,8)?i.go(-V.delta,!1):V.type===Br.pop&&Vt(le,20)&&i.go(-1,!1)),K(Y,Ie,le)}).catch(kr)}))}let $e=yr(),pt=yr(),Se;function be(C,Q,V){Ae(C);const Y=pt.list();return Y.length?Y.forEach(_e=>_e(C,Q,V)):console.error(C),Promise.reject(C)}function me(){return Se&&l.value!==Jt?Promise.resolve():new Promise((C,Q)=>{$e.add([C,Q])})}function Ae(C){return Se||(Se=!C,ge(),$e.list().forEach(([Q,V])=>C?V(C):Q()),$e.reset()),C}function $t(C,Q,V,Y){const{scrollBehavior:_e}=e;if(!qn||!_e)return Promise.resolve();const Ie=!V&&B1(jc(C.fullPath,0))||(Y||!V)&&history.state&&history.state.scroll||null;return Rt().then(()=>_e(C,Q,Ie)).then(le=>le&&V1(le)).catch(le=>be(le,C,Q))}const it=C=>i.go(C);let Ve;const kt=new Set,vn={currentRoute:l,listening:!0,addRoute:h,removeRoute:p,hasRoute:g,getRoutes:m,resolve:v,options:e,push:T,replace:S,go:it,back:()=>it(-1),forward:()=>it(1),beforeEach:s.add,beforeResolve:o.add,afterEach:a.add,onError:pt.add,isReady:me,install(C){const Q=this;C.component("RouterLink",OE),C.component("RouterView",CE),C.config.globalProperties.$router=Q,Object.defineProperty(C.config.globalProperties,"$route",{enumerable:!0,get:()=>ut(l)}),qn&&!Ve&&l.value===Jt&&(Ve=!0,T(i.location).catch(_e=>{}));const V={};for(const _e in Jt)V[_e]=de(()=>l.value[_e]);C.provide($a,Q),C.provide(Qd,Qr(V)),C.provide(Fo,l);const Y=C.unmount;kt.add(C),C.unmount=function(){kt.delete(C),kt.size<1&&(c=Jt,$&&$(),$=null,l.value=Jt,Ve=!1,Se=!1),Y()}}};return vn}function jn(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function DE(e,t){const n=[],r=[],i=[],s=Math.max(t.matched.length,e.matched.length);for(let o=0;o<s;o++){const a=t.matched[o];a&&(e.matched.find(c=>ir(c,a))?r.push(a):n.push(a));const l=e.matched[o];l&&(t.matched.find(c=>ir(c,l))||i.push(l))}return[n,r,i]}const PE=["href","aria-label"],RE={key:0,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",class:"w-5 h-5 ml-2"},NE=N("path",{d:"M10.75 2.75a.75.75 0 0 0-1.5 0v8.614L6.295 8.235a.75.75 0 1 0-1.09 1.03l4.25 4.5a.75.75 0 0 0 1.09 0l4.25-4.5a.75.75 0 0 0-1.09-1.03l-2.955 3.129V2.75Z"},null,-1),ME=N("path",{d:"M3.5 12.75a.75.75 0 0 0-1.5 0v2.5A2.75 2.75 0 0 0 4.75 18h10.5A2.75 2.75 0 0 0 18 15.25v-2.5a.75.75 0 0 0-1.5 0v2.5c0 .69-.56 1.25-1.25 1.25H4.75c-.69 0-1.25-.56-1.25-1.25v-2.5Z"},null,-1),LE=[NE,ME],FE={key:1,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",class:"w-5 h-5 ml-2"},jE=N("path",{"fill-rule":"evenodd",d:"M4.25 5.5a.75.75 0 0 0-.75.75v8.5c0 .414.336.75.75.75h8.5a.75.75 0 0 0 .75-.75v-4a.75.75 0 0 1 1.5 0v4A2.25 2.25 0 0 1 12.75 17h-8.5A2.25 2.25 0 0 1 2 14.75v-8.5A2.25 2.25 0 0 1 4.25 4h5a.75.75 0 0 1 0 1.5h-5Z","clip-rule":"evenodd"},null,-1),$E=N("path",{"fill-rule":"evenodd",d:"M6.194 12.753a.75.75 0 0 0 1.06.053L16.5 4.44v2.81a.75.75 0 0 0 1.5 0v-4.5a.75.75 0 0 0-.75-.75h-4.5a.75.75 0 0 0 0 1.5h2.553l-9.056 8.194a.75.75 0 0 0-.053 1.06Z","clip-rule":"evenodd"},null,-1),VE=[jE,$E],qE={key:2,class:"h-full w-full inset-0 absolute","aria-hidden":"true"},BE={key:0,class:"h-full w-full inset-0 absolute","aria-hidden":"true"},QE={methods:{formatOcImage(e){return ft.formatImage(e)}}},HE=Object.assign(QE,{__name:"Button",props:{text:String,path:String,style:String,label:String,absolute:Boolean},setup(e){return(t,n)=>{const r=tt("router-link");return e.path&&(e.path.includes("http")||e.path.includes(".pdf"))?(j(),W("a",{key:0,target:"_blank",href:e.path.includes(".pdf")&&!e.path.includes("http")?t.formatOcImage(e.path):e.path,class:qt(["btn group",e.style]),"aria-label":e.label},[Qe(Pe(e.text)+" ",1),e.path.includes(".pdf")?(j(),W("svg",RE,LE)):Le("",!0),!e.path.includes(".pdf")&&e.path.includes("http")?(j(),W("svg",FE,VE)):Le("",!0),e.absolute?(j(),W("span",qE)):Le("",!0)],10,PE)):(j(),nt(r,{key:1,to:e.path,class:qt(["btn group",e.style]),"aria-label":e.label},{default:Oe(()=>[Qe(Pe(e.text)+" ",1),e.absolute?(j(),W("span",BE)):Le("",!0)]),_:1},8,["to","class","aria-label"]))}}});const fs=dm(k1),UE=x1(),GE=AE({history:G1(),base:"/",routes:cv,scrollBehavior:function(e,t,n){return n||{left:0,top:0}}});fs.component("Meta",Pd);fs.component("Button",HE);fs.use(GE,UE);fs.mount("#app");export{Mt as $,Rm as A,_r as B,na as C,G as D,Om as E,ye as F,Nm as G,xn as H,Vm as I,Mm as J,Bt as K,Am as L,Pd as M,Tm as N,ft as O,gt as P,Ot as Q,On as R,Bm as S,Lr as T,It as U,xt as V,Je as W,WE as X,Qr as Y,Ki as Z,HE as _,N as a,sf as a0,Rt as a1,Lt as a2,An as a3,we as a4,YE as a5,ua as a6,ef as a7,mm as a8,kp as a9,pe as aa,rf as ab,wm as ac,KE as ad,fa as ae,Xa as af,ta as ag,nl as ah,nt as b,W as c,Qe as d,Le as e,oe as f,ct as g,Rr as h,Qo as i,qm as j,he as k,pa as l,He as m,qt as n,j as o,de as p,Nn as q,tt as r,of as s,Pe as t,ut as u,$m as v,Oe as w,qe as x,oo as y,Ci as z};
