1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./D4YZsm9e.js","./DLIAIzcc.js","./C99cWjbS.js","./D7y0uV3X.js","./DTH9LUWW.js","./Cy8lejMi.js","./BA6lE9DS.js","./B0T_wjLL.js","./svxqPPdm.js","./CurRMwu_.js","./Cj1tqzcC.js","./CjIrz_Wk.js","./DKKuvACR.js","./CbOwmG4L.js","./BJE0Uq5Q.js","./BxBnZgDM.js","./BF47rmO7.js","./z6JJ_IKm.js","./DYrQ6k_5.js"])))=>i.map(i=>d[i]); 2var EE=Object.defineProperty;var cg=e=>{throw TypeError(e)};var TE=(e,t,n)=>t in e?EE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var le=(e,t,n)=>TE(e,typeof t!="symbol"?t+"":t,n),ug=(e,t,n)=>t.has(e)||cg("Cannot "+n);var M=(e,t,n)=>(ug(e,t,"read from private field"),n?n.call(e):t.get(e)),ve=(e,t,n)=>t.has(e)?cg("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),be=(e,t,n,r)=>(ug(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"cc23b9efe23e18f652a132a619d36fefd975aacd"};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f2b0db69-85d8-4148-9327-f157054ca373",e._sentryDebugIdIdentifier="sentry-dbid-f2b0db69-85d8-4148-9327-f157054ca373")}catch{}})();(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();/** 3* @vue/shared v3.5.34 4* (c) 2018-present Yuxi (Evan) You and Vue contributors 5* @license MIT
vendor: 13,392 bytes, lines 6-10
6**/function kh(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Ve={},hi=[],jn=()=>{},Y_=()=>!1,ja=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),sl=e=>e.startsWith("onUpdate:"),ht=Object.assign,Ih=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},CE=Object.prototype.hasOwnProperty,De=(e,t)=>CE.call(e,t),me=Array.isArray,pi=e=>Qi(e)==="[object Map]",il=e=>Qi(e)==="[object Set]",lg=e=>Qi(e)==="[object Date]",AE=e=>Qi(e)==="[object RegExp]",Se=e=>typeof e=="function",Ye=e=>typeof e=="string",en=e=>typeof e=="symbol",Me=e=>e!==null&&typeof e=="object",$h=e=>(Me(e)||Se(e))&&Se(e.then)&&Se(e.catch),J_=Object.prototype.toString,Qi=e=>J_.call(e),kE=e=>Qi(e).slice(8,-1),X_=e=>Qi(e)==="[object Object]",ol=e=>Ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Rs=kh(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),al=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},IE=/-\w/g,Dt=al(e=>e.replace(IE,t=>t.slice(1).toUpperCase())),$E=/\B([A-Z])/g,ds=al(e=>e.replace($E,"-$1").toLowerCase()),cl=al(e=>e.charAt(0).toUpperCase()+e.slice(1)),sf=al(e=>e?`on${cl(e)}`:""),Nn=(e,t)=>!Object.is(e,t),gi=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Q_=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Rh=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Z_=e=>{const t=Ye(e)?Number(e):NaN;return isNaN(t)?e:t};let fg;const ul=()=>fg||(fg=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ll(e){if(me(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Ye(r)?xE(r):ll(r);if(s)for(const i in s)t[i]=s[i]}return t}else if(Ye(e)||Me(e))return e}const RE=/;(?![^(]*\))/g,PE=/:([^]+)/,OE=/\/\*[^]*?\*\//g;function xE(e){const t={};return e.replace(OE,"").split(RE).forEach(n=>{if(n){const r=n.split(PE);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ge(e){let t="";if(Ye(e))t=e;else if(me(e))for(let n=0;n<e.length;n++){const r=Ge(e[n]);r&&(t+=r+" ")}else if(Me(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const LE="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ME=kh(LE);function ev(e){return!!e||e===""}function NE(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Vs(e[r],t[r]);return n}function Vs(e,t){if(e===t)return!0;let n=lg(e),r=lg(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=en(e),r=en(t),n||r)return e===t;if(n=me(e),r=me(t),n||r)return n&&r?NE(e,t):!1;if(n=Me(e),r=Me(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,i=Object.keys(t).length;if(s!==i)return!1;for(const o in e){const c=e.hasOwnProperty(o),a=t.hasOwnProperty(o);if(c&&!a||!c&&a||!Vs(e[o],t[o]))return!1}}return String(e)===String(t)}function tv(e,t){return e.findIndex(n=>Vs(n,t))}const nv=e=>!!(e&&e.__v_isRef===!0),K=e=>Ye(e)?e:e==null?"":me(e)||Me(e)&&(e.toString===J_||!Se(e.toString))?nv(e)?K(e.value):JSON.stringify(e,rv,2):String(e),rv=(e,t)=>nv(t)?rv(e,t.value):pi(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],i)=>(n[of(r,i)+" =>"]=s,n),{})}:il(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>of(n))}:en(t)?of(t):Me(t)&&!me(t)&&!X_(t)?String(t):t,of=(e,t="")=>{var n;return en(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** 7* @vue/reactivity v3.5.34 8* (c) 2018-present Yuxi (Evan) You and Vue contributors 9* @license MIT 10**/let _t;class sv{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&_t&&(_t.active?(this.parent=_t,this.index=(_t.scopes||(_t.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=_t;try{return _t=this,t()}finally{_t=n}}}on(){++this._on===1&&(this.prevScope=_t,_t=this)}off(){if(this._on>0&&--this._on===0){if(_t===this)_t=this.prevScope;else{let t=_t;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function DE(e){return new sv(e)}function Fa(){return _t}function du(e,t=!1){_t&&_t.cleanups.push(e)}let ze;const af=new WeakSet;class iv{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,_t&&(_t.active?_t.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,af.has(this)&&(af.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||av(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,dg(this),cv(this);const t=ze,n=_n;ze=this,_n=!0;try{return this.fn()}finally{uv(this),ze=t,_n=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)xh(t);this.deps=this.depsTail=void 0,dg(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?af.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){yd(this)&&this.run()}get dirty(){return yd(this)}}let ov=0,Oo,xo;function av(e,t=!1){if(e.flags|=8,t){e.next=xo,xo=e;return}e.next=Oo,Oo=e}function Ph(){ov++}function Oh(){if(--ov>0)return;if(xo){let t=xo;for(xo=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Oo;){let t=Oo;for(Oo=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function cv(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function uv(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),xh(r),jE(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function yd(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(lv(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function lv(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Qo)||(e.globalVersion=Qo,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!yd(e))))return;e.flags|=2;const t=e.dep,n=ze,r=_n;ze=e,_n=!0;try{cv(e);const s=e.fn(e._value);(t.version===0||Nn(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{ze=n,_n=r,uv(e),e.flags&=-3}}function xh(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)xh(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function jE(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let _n=!0;const fv=[];function Ir(){fv.push(_n),_n=!1}function $r(){const e=fv.pop();_n=e===void 0?!0:e}function dg(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ze;ze=void 0;try{t()}finally{ze=n}}}let Qo=0;class FE{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class fl{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!ze||!_n||ze===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ze)n=this.activeLink=new FE(ze,this),ze.deps?(n.prevDep=ze.depsTail,ze.depsTail.nextDep=n,ze.depsTail=n):ze.deps=ze.depsTail=n,dv(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=ze.depsTail,n.nextDep=void 0,ze.depsTail.nextDep=n,ze.depsTail=n,ze.deps===n&&(ze.deps=r)}return n}trigger(t){this.version++,Qo++,this.notify(t)}notify(t){Ph();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Oh()}}}function dv(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)dv(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const hu=new WeakMap,Ps=Symbol(""),_d=Symbol(""),Zo=Symbol("");function kt(e,t,n){if(_n&&ze){let r=hu.get(e);r||hu.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new fl),s.map=r,s.key=n),s.track()}}function yr(e,t,n,r,s,i){const o=hu.get(e);if(!o){Qo++;return}const c=a=>{a&&a.trigger()};if(Ph(),t==="clear")o.forEach(c);else{const a=me(e),u=a&&ol(n);if(a&&n==="length"){const l=Number(r);o.forEach((f,h)=>{(h==="length"||h===Zo||!en(h)&&h>=l)&&c(f)})}else switch((n!==void 0||o.has(void 0))&&c(o.get(n)),u&&c(o.get(Zo)),t){case"add":a?u&&c(o.get("length")):(c(o.get(Ps)),pi(e)&&c(o.get(_d)));break;case"delete":a||(c(o.get(Ps)),pi(e)&&c(o.get(_d)));break;case"set":pi(e)&&c(o.get(Ps));break}}Oh()}function HE(e,t){const n=hu.get(e);return n&&n.get(t)}function ti(e){const t=$e(e);return t===e?t:(kt(t,"iterate",Zo),Qt(e)?t:t.map(vn))}function dl(e){return kt(e=$e(e),"iterate",Zo),e}function Ln(e,t){return Bn(e)?Mi(es(e)?vn(t):t):vn(t)}const UE={__proto__:null,[Symbol.iterator](){return cf(this,Symbol.iterator,e=>Ln(this,e))},concat(...e){return ti(this).concat(...e.map(t=>me(t)?ti(t):t))},entries(){return cf(this,"entries",e=>(e[1]=Ln(this,e[1]),e))},every(e,t){return sr(this,"every",e,t,void 0,arguments)},filter(e,t){return sr(this,"filter",e,t,n=>n.map(r=>Ln(this,r)),arguments)},find(e,t){return sr(this,"find",e,t,n=>Ln(this,n),arguments)},findIndex(e,t){return sr(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return sr(this,"findLast",e,t,n=>Ln(this,n),arguments)},findLastIndex(e,t){return sr(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return sr(this,"forEach",e,t,void 0,arguments)},includes(...e){return uf(this,"includes",e)},indexOf(...e){return uf(this,"indexOf",e)},join(e){return ti(this).join(e)},lastIndexOf(...e){return uf(this,"lastIndexOf",e)},map(e,t){return sr(this,"map",e,t,void 0,arguments)},pop(){return yo(this,"pop")},push(...e){return yo(this,"push",e)},reduce(e,...t){return hg(this,"reduce",e,t)},reduceRight(e,...t){return hg(this,"reduceRight",e,t)},shift(){return yo(this,"shift")},some(e,t){return sr(this,"some",e,t,void 0,arguments)},splice(...e){return yo(this,"splice",e)},toReversed(){return ti(this).toReversed()},toSorted(e){return ti(this).toSorted(e)},toSpliced(...e){return ti(this).toSpliced(...e)},unshift(...e){return yo(this,"unshift",e)},values(){return cf(this,"values",e=>Ln(this,e))}};function cf(e,t,n){const r=dl(e),s=r[t]();return r!==e&&!Qt(e)&&(s._next=s.next,s.next=()=>{const i=s._next();return i.done||(i.value=n(i.value)),i}),s}const VE=Array.prototype;function sr(e,t,n,r,s,i){const o=dl(e),c=o!==e&&!Qt(e),a=o[t];if(a!==VE[t]){const f=a.apply(e,i);return c?vn(f):f}let u=n;o!==e&&(c?u=function(f,h){return n.call(this,Ln(e,f),h,e)}:n.length>2&&(u=function(f,h){return n.call(this,f,h,e)}));const l=a.call(o,u,r);return c&&s?s(l):l}function hg(e,t,n,r){const s=dl(e),i=s!==e&&!Qt(e);let o=n,c=!1;s!==e&&(i?(c=r.length===0,o=function(u,l,f){return c&&(c=!1,u=Ln(e,u)),n.call(this,u,Ln(e,l),f,e)}):n.length>3&&(o=function(u,l,f){return n.call(this,u,l,f,e)}));const a=s[t](o,...r);return c?Ln(e,a):a}function uf(e,t,n){const r=$e(e);kt(r,"iterate",Zo);const s=r[t](...n);return(s===-1||s===!1)&&hl(n[0])?(n[0]=$e(n[0]),r[t](...n)):s}function yo(e,t,n=[]){Ir(),Ph();const r=$e(e)[t].apply(e,n);return Oh(),$r(),r}const BE=kh("__proto__,__v_isRef,__isVue"),hv=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(en));function qE(e){en(e)||(e=String(e));const t=$e(this);return kt(t,"has",e),t.hasOwnProperty(e)}class pv{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(s?i?eT:_v:i?yv:mv).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=me(t);if(!s){let a;if(o&&(a=UE[n]))return a;if(n==="hasOwnProperty")return qE}const c=Reflect.get(t,n,Be(t)?t:r);if((en(n)?hv.has(n):BE(n))||(s||kt(t,"get",n),i))return c;if(Be(c)){const a=o&&ol(n)?c:c.value;return s&&Me(a)?bd(a):a}return Me(c)?s?bd(c):Jn(c):c}}class gv extends pv{constructor(t=!1){super(!1,t)}set(t,n,r,s){let i=t[n];const o=me(t)&&ol(n);if(!this._isShallow){const u=Bn(i);if(!Qt(r)&&!Bn(r)&&(i=$e(i),r=$e(r)),!o&&Be(i)&&!Be(r))return u||(i.value=r),!0}const c=o?Number(n)<t.length:De(t,n),a=Reflect.set(t,n,r,Be(t)?t:s);
vendor: 6,094 bytes, line 10
10return t===$e(s)&&(c?Nn(r,i)&&yr(t,"set",n,r):yr(t,"add",n,r)),a}deleteProperty(t,n){const r=De(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&yr(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!en(n)||!hv.has(n))&&kt(t,"has",n),r}ownKeys(t){return kt(t,"iterate",me(t)?"length":Ps),Reflect.ownKeys(t)}}class WE extends pv{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const zE=new gv,KE=new WE,GE=new gv(!0);const vd=e=>e,Sc=e=>Reflect.getPrototypeOf(e);function YE(e,t,n){return function(...r){const s=this.__v_raw,i=$e(s),o=pi(i),c=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,u=s[e](...r),l=n?vd:t?Mi:vn;return!t&&kt(i,"iterate",a?_d:Ps),ht(Object.create(u),{next(){const{value:f,done:h}=u.next();return h?{value:f,done:h}:{value:c?[l(f[0]),l(f[1])]:l(f),done:h}}})}}function Ec(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function JE(e,t){const n={get(s){const i=this.__v_raw,o=$e(i),c=$e(s);e||(Nn(s,c)&&kt(o,"get",s),kt(o,"get",c));const{has:a}=Sc(o),u=t?vd:e?Mi:vn;if(a.call(o,s))return u(i.get(s));if(a.call(o,c))return u(i.get(c));i!==o&&i.get(s)},get size(){const s=this.__v_raw;return!e&&kt($e(s),"iterate",Ps),s.size},has(s){const i=this.__v_raw,o=$e(i),c=$e(s);return e||(Nn(s,c)&&kt(o,"has",s),kt(o,"has",c)),s===c?i.has(s):i.has(s)||i.has(c)},forEach(s,i){const o=this,c=o.__v_raw,a=$e(c),u=t?vd:e?Mi:vn;return!e&&kt(a,"iterate",Ps),c.forEach((l,f)=>s.call(i,u(l),u(f),o))}};return ht(n,e?{add:Ec("add"),set:Ec("set"),delete:Ec("delete"),clear:Ec("clear")}:{add(s){const i=$e(this),o=Sc(i),c=$e(s),a=!t&&!Qt(s)&&!Bn(s)?c:s;return o.has.call(i,a)||Nn(s,a)&&o.has.call(i,s)||Nn(c,a)&&o.has.call(i,c)||(i.add(a),yr(i,"add",a,a)),this},set(s,i){!t&&!Qt(i)&&!Bn(i)&&(i=$e(i));const o=$e(this),{has:c,get:a}=Sc(o);let u=c.call(o,s);u||(s=$e(s),u=c.call(o,s));const l=a.call(o,s);return o.set(s,i),u?Nn(i,l)&&yr(o,"set",s,i):yr(o,"add",s,i),this},delete(s){const i=$e(this),{has:o,get:c}=Sc(i);let a=o.call(i,s);a||(s=$e(s),a=o.call(i,s)),c&&c.call(i,s);const u=i.delete(s);return a&&yr(i,"delete",s,void 0),u},clear(){const s=$e(this),i=s.size!==0,o=s.clear();return i&&yr(s,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=YE(s,e,t)}),n}function Lh(e,t){const n=JE(e,t);return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(De(n,s)&&s in r?n:r,s,i)}const XE={get:Lh(!1,!1)},QE={get:Lh(!1,!0)},ZE={get:Lh(!0,!1)};const mv=new WeakMap,yv=new WeakMap,_v=new WeakMap,eT=new WeakMap;function tT(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function nT(e){return e.__v_skip||!Object.isExtensible(e)?0:tT(kE(e))}function Jn(e){return Bn(e)?e:Mh(e,!1,zE,XE,mv)}function Dn(e){return Mh(e,!1,GE,QE,yv)}function bd(e){return Mh(e,!0,KE,ZE,_v)}function Mh(e,t,n,r,s){if(!Me(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=nT(e);if(i===0)return e;const o=s.get(e);if(o)return o;const c=new Proxy(e,i===2?r:n);return s.set(e,c),c}function es(e){return Bn(e)?es(e.__v_raw):!!(e&&e.__v_isReactive)}function Bn(e){return!!(e&&e.__v_isReadonly)}function Qt(e){return!!(e&&e.__v_isShallow)}function hl(e){return e?!!e.__v_raw:!1}function $e(e){const t=e&&e.__v_raw;return t?$e(t):e}function rT(e){return!De(e,"__v_skip")&&Object.isExtensible(e)&&Q_(e,"__v_skip",!0),e}const vn=e=>Me(e)?Jn(e):e,Mi=e=>Me(e)?bd(e):e;function Be(e){return e?e.__v_isRef===!0:!1}function tt(e){return vv(e,!1)}function Fn(e){return vv(e,!0)}function vv(e,t){return Be(e)?e:new sT(e,t)}class sT{constructor(t,n){this.dep=new fl,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:$e(t),this._value=n?t:vn(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Qt(t)||Bn(t);t=r?t:$e(t),Nn(t,n)&&(this._rawValue=t,this._value=r?t:vn(t),this.dep.trigger())}}function re(e){return Be(e)?e.value:e}function Nh(e){return Se(e)?e():re(e)}const iT={get:(e,t,n)=>t==="__v_raw"?e:re(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Be(s)&&!Be(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function bv(e){return es(e)?e:new Proxy(e,iT)}class oT{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new fl,{get:r,set:s}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=s}get value(){return this._value=this._get()}set value(t){this._set(t)}}function aT(e){return new oT(e)}class cT{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=en(n)?n:String(n),this._raw=$e(t);let s=!0,i=t;if(!me(t)||en(this._key)||!ol(this._key))do s=!hl(i)||Qt(i);while(s&&(i=i.__v_raw));this._shallow=s}get value(){let t=this._object[this._key];return this._shallow&&(t=re(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Be(this._raw[this._key])){const n=this._object[this._key];if(Be(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return HE(this._raw,this._key)}}class uT{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Dh(e,t,n){return Be(e)?e:Se(e)?new uT(e):Me(e)&&arguments.length>1?lT(e,t,n):tt(e)}function lT(e,t,n){return new cT(e,t,n)}class fT{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new fl(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Qo-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&ze!==this)return av(this,!0),!0}get value(){const t=this.dep.track();return lv(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function dT(e,t,n=!1){let r,s;return Se(e)?r=e:(r=e.get,s=e.set),new fT(r,s,n)}const Tc={},pu=new WeakMap;let Ss;function hT(e,t=!1,n=Ss){if(n){let r=pu.get(n);r||pu.set(n,r=[]),r.push(e)}}function pT(e,t,n=Ve){const{immediate:r,deep:s,once:i,scheduler:o,augmentJob:c,call:a}=n,u=b=>
vendor: 1,585 bytes, lines 10-13
10s?b:Qt(b)||s===!1||s===0?_r(b,1):_r(b);let l,f,h,p,d=!1,g=!1;if(Be(e)?(f=()=>e.value,d=Qt(e)):es(e)?(f=()=>u(e),d=!0):me(e)?(g=!0,d=e.some(b=>es(b)||Qt(b)),f=()=>e.map(b=>{if(Be(b))return b.value;if(es(b))return u(b);if(Se(b))return a?a(b,2):b()})):Se(e)?t?f=a?()=>a(e,2):e:f=()=>{if(h){Ir();try{h()}finally{$r()}}const b=Ss;Ss=l;try{return a?a(e,3,[p]):e(p)}finally{Ss=b}}:f=jn,t&&s){const b=f,E=s===!0?1/0:s;f=()=>_r(b(),E)}const v=Fa(),_=()=>{l.stop(),v&&v.active&&Ih(v.effects,l)};if(i&&t){const b=t;t=(...E)=>{b(...E),_()}}let y=g?new Array(e.length).fill(Tc):Tc;const m=b=>{if(!(!(l.flags&1)||!l.dirty&&!b))if(t){const E=l.run();if(s||d||(g?E.some(($,A)=>Nn($,y[A])):Nn(E,y))){h&&h();const $=Ss;Ss=l;try{const A=[E,y===Tc?void 0:g&&y[0]===Tc?[]:y,p];y=E,a?a(t,3,A):t(...A)}finally{Ss=$}}}else l.run()};return c&&c(m),l=new iv(f),l.scheduler=o?()=>o(m,!1):m,p=b=>hT(b,!1,l),h=l.onStop=()=>{const b=pu.get(l);if(b){if(a)a(b,4);else for(const E of b)E();pu.delete(l)}},t?r?m(!0):y=l.run():o?o(m.bind(null,!0),!0):l.run(),_.pause=l.pause.bind(l),_.resume=l.resume.bind(l),_.stop=_,_}function _r(e,t=1/0,n){if(t<=0||!Me(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Be(e))_r(e.value,t,n);else if(me(e))for(let r=0;r<e.length;r++)_r(e[r],t,n);else if(il(e)||pi(e))e.forEach(r=>{_r(r,t,n)});else if(X_(e)){for(const r in e)_r(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&_r(e[r],t,n)}return e}/** 11* @vue/runtime-core v3.5.34 12* (c) 2018-present Yuxi (Evan) You and Vue contributors 13* @license MIT
14**/function Ha(e,t,n,r){try{return r?e(...r):e()}catch(s){Ua(s,t,n)}}function bn(e,t,n,r){if(Se(e)){const s=Ha(e,t,n,r);return s&&$h(s)&&s.catch(i=>{Ua(i,t,n)}),s}if(me(e)){const s=[];for(let i=0;i<e.length;i++)s.push(bn(e[i],t,n,r));return s}}function Ua(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||Ve;if(t){let c=t.parent;const a=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;c;){const l=c.ec;if(l){for(let f=0;f<l.length;f++)if(l[f](e,a,u)===!1)return}c=c.parent}if(i){Ir(),Ha(i,null,10,[e,a,u]),$r();return}}gT(e,n,s,r,o)}function gT(e,t,n,r=!0,s=!1){if(s)throw e}const Nt=[];let $n=-1;const mi=[];let Kr=null,oi=0;const wv=Promise.resolve();let gu=null;function qn(e){const t=gu||wv;return e?t.then(this?e.bind(this):e):t}function mT(e){let t=$n+1,n=Nt.length;for(;t<n;){const r=t+n>>>1,s=Nt[r],i=ea(s);i<e||i===e&&s.flags&2?t=r+1:n=r}return t}function jh(e){if(!(e.flags&1)){const t=ea(e),n=Nt[Nt.length-1];!n||!(e.flags&2)&&t>=ea(n)?Nt.push(e):Nt.splice(mT(t),0,e),e.flags|=1,Sv()}}function Sv(){gu||(gu=wv.then(Ev))}function wd(e){me(e)?mi.push(...e):Kr&&e.id===-1?Kr.splice(oi+1,0,e):e.flags&1||(mi.push(e),e.flags|=1),Sv()}function pg(e,t,n=$n+1){for(;n<Nt.length;n++){const r=Nt[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Nt.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function mu(e){if(mi.length){const t=[...new Set(mi)].sort((n,r)=>ea(n)-ea(r));if(mi.length=0,Kr){Kr.push(...t);return}for(Kr=t,oi=0;oi<Kr.length;oi++){const n=Kr[oi];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Kr=null,oi=0}}const ea=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Ev(e){try{for($n=0;$n<Nt.length;$n++){const t=Nt[$n];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Ha(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;$n<Nt.length;$n++){const t=Nt[$n];t&&(t.flags&=-2)}$n=-1,Nt.length=0,mu(),gu=null,(Nt.length||mi.length)&&Ev()}}let St=null,Tv=null;function yu(e){const t=St;return St=e,Tv=e&&e.type.__scopeId||null,t}function je(e,t=St,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Su(-1);const i=yu(t);let o;try{o=e(...s)}finally{yu(i),r._d&&Su(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Xn(e,t){if(St===null)return e;const n=bl(St),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[i,o,c,a=Ve]=t[s];i&&(Se(i)&&(i={mounted:i,updated:i}),i.deep&&_r(o),r.push({dir:i,instance:n,value:o,oldValue:void 0,arg:c,modifiers:a}))}return e}function Rn(e,t,n,r){const s=e.dirs,i=t&&t.dirs;for(let o=0;o<s.length;o++){const c=s[o];i&&(c.oldValue=i[o].value);let a=c.dir[r];a&&(Ir(),bn(a,n,8,[e.el,c,e,t]),$r())}}function Hn(e,t){if(It){let n=It.provides;const r=It.parent&&It.parent.provides;r===n&&(n=It.provides=Object.create(r)),n[e]=t}}function ut(e,t,n=!1){const r=wn();if(r||Os){let s=Os?Os._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&Se(t)?t.call(r&&r.proxy):t}}function pl(){return!!(wn()||Os)}const yT=Symbol.for("v-scx"),_T=()=>ut(yT);function vT(e,t){return Fh(e,null,t)}function Zt(e,t,n){return Fh(e,t,n)}function Fh(e,t,n=Ve){const{immediate:r,deep:s,flush:i,once:o}=n,c=ht({},n),a=t&&r||!t&&i!=="post";let u;if(Di){if(i==="sync"){const p=_T();u=p.__watcherHandles||(p.__watcherHandles=[])}else if(!a){const p=()=>{};return p.stop=jn,p.resume=jn,p.pause=jn,p}}const l=It;c.call=(p,d,g)=>bn(p,l,d,g);let f=!1;
14i==="post"?c.scheduler=p=>{vt(p,l&&l.suspense)}:i!=="sync"&&(f=!0,c.scheduler=(p,d)=>{d?p():jh(p)}),c.augmentJob=p=>{t&&(p.flags|=4),f&&(p.flags|=2,l&&(p.id=l.uid,p.i=l))};const h=pT(e,t,c);return Di&&(u?u.push(h):a&&h()),h}function bT(e,t,n){const r=this.proxy,s=Ye(e)?e.includes(".")?Cv(r,e):()=>r[e]:e.bind(r,r);let i;Se(t)?i=t:(i=t.handler,n=t);const o=to(this),c=Fh(s,i.bind(r),n);return o(),c}function Cv(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}const wT=Symbol("_vte"),Av=e=>e.__isTeleport,Pn=Symbol("_leaveCb"),_o=Symbol("_enterCb");function kv(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return jr(()=>{e.isMounted=!0}),Zi(()=>{e.isUnmounting=!0}),e}const tn=[Function,Array],Iv={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:tn,onEnter:tn,onAfterEnter:tn,onEnterCancelled:tn,onBeforeLeave:tn,onLeave:tn,onAfterLeave:tn,onLeaveCancelled:tn,onBeforeAppear:tn,onAppear:tn,onAfterAppear:tn,onAppearCancelled:tn},$v=e=>{const t=e.subTree;return t.component?$v(t.component):t},ST={name:"BaseTransition",props:Iv,setup(e,{slots:t}){const n=wn(),r=kv();return()=>{const s=t.default&&Hh(t.default(),!0),i=s&&s.length?Rv(s):n.subTree?he():void 0;if(!i)return;const o=$e(e),{mode:c}=o;if(r.isLeaving)return lf(i);const a=gg(i);if(!a)return lf(i);let u=ta(a,o,r,n,f=>u=f);a.type!==dt&&is(a,u);let l=n.subTree&&gg(n.subTree);if(l&&l.type!==dt&&!mn(l,a)&&$v(n).type!==dt){let f=ta(l,o,r,n);if(is(l,f),c==="out-in"&&a.type!==dt)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,l=void 0},lf(i);c==="in-out"&&a.type!==dt?f.delayLeave=(h,p,d)=>{const g=Pv(r,l);g[String(l.key)]=l,h[Pn]=()=>{p(),h[Pn]=void 0,delete u.delayedLeave,l=void 0},u.delayedLeave=()=>{d(),delete u.delayedLeave,l=void 0}}:l=void 0}else l&&(l=void 0);return i}}};function Rv(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==dt){t=n;break}}return t}const ET=ST;function Pv(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 ta(e,t,n,r,s){const{appear:i,mode:o,persisted:c=!1,onBeforeEnter:a,onEnter:u,onAfterEnter:l,onEnterCancelled:f,onBeforeLeave:h,onLeave:p,onAfterLeave:d,onLeaveCancelled:g,onBeforeAppear:v,onAppear:_,onAfterAppear:y,onAppearCancelled:m}=t,b=String(e.key),E=Pv(n,e),$=(H,B)=>{H&&bn(H,r,9,B)},A=(H,B)=>{const V=B[1];$(H,B),me(H)?H.every(C=>C.length<=1)&&V():H.length<=1&&V()},D={mode:o,persisted:c,beforeEnter(H){let B=a;if(!n.isMounted)if(i)B=v||a;else return;H[Pn]&&H[Pn](!0);const V=E[b];V&&mn(e,V)&&V.el[Pn]&&V.el[Pn](),$(B,[H])},enter(H){if(E[b]===e)return;let B=u,V=l,C=f;if(!n.isMounted)if(i)B=_||u,V=y||l,C=m||f;else return;let P=!1;H[_o]=k=>{P||(P=!0,k?$(C,[H]):$(V,[H]),D.delayedLeave&&D.delayedLeave(),H[_o]=void 0)};const R=H[_o].bind(null,!1);B?A(B,[H,R]):R()},leave(H,B){const V=String(e.key);if(H[_o]&&H[_o](!0),n.isUnmounting)return B();$(h,[H]);let C=!1;H[Pn]=R=>{C||(C=!0,B(),R?$(g,[H]):$(d,[H]),H[Pn]=void 0,E[V]===e&&delete E[V])};const P=H[Pn].bind(null,!1);E[V]=e,p?A(p,[H,P]):P()},clone(H){const B=ta(H,t,n,r,s);return s&&s(B),B}};return D}function lf(e){if(gl(e))return e=Rr(e),e.children=null,e}function gg(e){if(!gl(e))return Av(e.type)&&e.children?Rv(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Se(n.default))return n.default()}}function is(e,t){e.shapeFlag&6&&e.component?(e.transition=t,is(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 Hh(e,t=!1,n){let r=[],s=0;for(let i=0;i<e.length;i++){let o=e[i];const c=n==null?o.key:String(n)+String(o.key!=null?o.key:i);o.type===ce?(o.patchFlag&128&&s++,r=r.concat(Hh(o.children,t,c))):(t||o.type!==dt)&&r.push(c!=null?Rr(o,{key:c}):o)}if(s>1)for(let i=0;i<r.length;i++)r[i].patchFlag=-2;return r}function Qn(e,t){return Se(e)?ht({name:e.name},t,{setup:e}):e}function Ov(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function mg(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const _u=new WeakMap;function yi(e,t,n,r,s=!1){if(me(e)){e.forEach((g,v)=>yi(g,t&&(me(t)?t[v]:t),n,r,s));return}if(Sr(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&yi(e,t,n,r.component.subTree);return}const i=r.shapeFlag&4?bl(r.component):r.el,o=s?null:i,{i:c,r:a}=e,u=t&&t.r,l=c.refs===Ve?c.refs={}:c.refs,f=c.setupState,h=$e(f),p=f===Ve?Y_:g=>mg(l,g)?!1:De(h,g),d=(g,v)=>!(v&&mg(l,v));if(u!=null&&u!==a){if(yg(t),Ye(u))l[u]=null,p(u)&&(f[u]=null);else if(Be(u)){const g=t;d(u,g.k)&&(u.value=null),g.k&&(l[g.k]=null)}}if(Se(a))Ha(a,c,12,[o,l]);else{const g=Ye(a),v=Be(a);if(g||v){const _=()=>{if(e.f){const y=g?p(a)?f[a]:l[a]:d()||!e.k?a.value:l[e.k];if(s)me(y)&&Ih(y,i);else if(me(y))y.includes(i)||y.push(i);else if(g)l[a]=[i],p(a)&&(f[a]=l[a]);else{const m=[i];d(a,e.k)&&(a.value=m),e.k&&(l[e.k]=m)}}else g?(l[a]=o,p(a)&&(f[a]=o)):v&&(d(a,e.k)&&(a.value=o),e.k&&(l[e.k]=o))};if(o){const y=()=>{_(),_u.delete(e)};y.id=-1,_u.set(e,y),vt(y,n)}else yg(e),_()}}}function yg(e){const t=_u.get(e);t&&(t.flags|=8,_u.delete(e))}let _g=!1;const ni=()=>{_g||(_g=!0)},TT=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",CT=e=>
vendor: 4,369 bytes, lines 14-16
14e.namespaceURI.includes("MathML"),Cc=e=>{if(e.nodeType===1){if(TT(e))return"svg";if(CT(e))return"mathml"}},Ac=e=>e.nodeType===8;function AT(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:i,parentNode:o,remove:c,insert:a,createComment:u}}=e,l=(m,b)=>{if(!b.hasChildNodes()){n(null,m,b),mu(),b._vnode=m;return}f(b.firstChild,m,null,null,null),mu(),b._vnode=m},f=(m,b,E,$,A,D=!1)=>{D=D||!!b.dynamicChildren;const H=Ac(m)&&m.data==="[",B=()=>g(m,b,E,$,A,H),{type:V,ref:C,shapeFlag:P,patchFlag:R}=b;let k=m.nodeType;b.el=m,R===-2&&(D=!1,b.dynamicChildren=null);let T=null;switch(V){case xs:k!==3?b.children===""?(a(b.el=s(""),o(m),m),T=m):T=B():(m.data!==b.children&&(ni(),m.data=b.children),T=i(m));break;case dt:y(m)?(T=i(m),_(b.el=m.content.firstChild,m,E)):k!==8||H?T=B():T=i(m);break;case Mo:if(H&&(m=i(m),k=m.nodeType),k===1||k===3){T=m;const O=!b.children.length;for(let I=0;I<b.staticCount;I++)O&&(b.children+=T.nodeType===1?T.outerHTML:T.data),I===b.staticCount-1&&(b.anchor=T),T=i(T);return H?i(T):T}else B();break;case ce:H?T=d(m,b,E,$,A,D):T=B();break;default:if(P&1)(k!==1||b.type.toLowerCase()!==m.tagName.toLowerCase())&&!y(m)?T=B():T=h(m,b,E,$,A,D);else if(P&6){b.slotScopeIds=A;const O=o(m);if(H?T=v(m):Ac(m)&&m.data==="teleport start"?T=v(m,m.data,"teleport end"):T=i(m),t(b,O,null,E,$,Cc(O),D),Sr(b)&&!b.type.__asyncResolved){let I;H?(I=de(ce),I.anchor=T?T.previousSibling:O.lastChild):I=m.nodeType===3?it(""):de("div"),I.el=m,b.component.subTree=I}}else P&64?k!==8?T=B():T=b.type.hydrate(m,b,E,$,A,D,e,p):P&128&&(T=b.type.hydrate(m,b,E,$,Cc(o(m)),A,D,e,f))}return C!=null&&yi(C,null,$,b),T},h=(m,b,E,$,A,D)=>{D=D||!!b.dynamicChildren;const{type:H,props:B,patchFlag:V,shapeFlag:C,dirs:P,transition:R}=b,k=H==="input"||H==="option";if(k||V!==-1){P&&Rn(b,null,E,"created");let T=!1;if(y(m)){T=nb(null,R)&&E&&E.vnode.props&&E.vnode.props.appear;const I=m.content.firstChild;if(T){const j=I.getAttribute("class");j&&(I.$cls=j),R.beforeEnter(I)}_(I,m,E),b.el=m=I}if(C&16&&!(B&&(B.innerHTML||B.textContent))){let I=p(m.firstChild,b,m,E,$,A,D);for(;I;){kc(m,1)||ni();const j=I;I=I.nextSibling,c(j)}}else if(C&8){let I=b.children;I[0]===` 15`&&(m.tagName==="PRE"||m.tagName==="TEXTAREA")&&(I=I.slice(1));const{textContent:j}=m;j!==I&&j!==I.replace(/\r\n|\r/g,` 16`)&&(kc(m,0)||ni(),m.textContent=b.children)}if(B){if(k||!D||V&48){const I=m.tagName.includes("-");for(const j in B)(k&&(j.endsWith("value")||j==="indeterminate")||ja(j)&&!Rs(j)||j[0]==="."||I&&!Rs(j))&&r(m,j,null,B[j],void 0,E)}else if(B.onClick)r(m,"onClick",null,B.onClick,void 0,E);else if(V&4&&es(B.style))for(const I in B.style)B.style[I]}let O;(O=B&&B.onVnodeBeforeMount)&&qt(O,E,b),P&&Rn(b,null,E,"beforeMount"),((O=B&&B.onVnodeMounted)||P||T)&&ab(()=>{O&&qt(O,E,b),T&&R.enter(m),P&&Rn(b,null,E,"mounted")},$)}return m.nextSibling},p=(m,b,E,$,A,D,H)=>{H=H||!!b.dynamicChildren;const B=b.children,V=B.length;for(let C=0;C<V;C++){const P=H?B[C]:B[C]=Xt(B[C]),R=P.type===xs;m?(R&&!H&&C+1<V&&Xt(B[C+1]).type===xs&&(a(s(m.data.slice(P.children.length)),E,i(m)),m.data=P.children),m=f(m,P,$,A,D,H)):R&&!P.children?a(P.el=s(""),E):(kc(E,1)||ni(),n(null,P,E,null,$,A,Cc(E),D))}return m},d=(m,b,E,$,A,D)=>{const{slotScopeIds:H}=b;H&&(A=A?A.concat(H):H);const B=o(m),V=p(i(m),b,B,E,$,A,D);return V&&Ac(V)&&V.data==="]"?i(b.anchor=V):(ni(),a(b.anchor=u("]"),B,V),V)},g=(m,b,E,$,A,D)=>{if(kc(m.parentElement,1)||ni(),b.el=null,D){const V=v(m);for(;;){const C=i(m);if(C&&C!==V)c(C);else break}}const H=i(m),B=o(m);return c(m),n(null,b,B,H,E,$,Cc(B),A),E&&(E.vnode.el=b.el,vl(E,b.el)),H},v=(m,b="[",E="]")=>{let $=0;for(;m;)if(m=i(m),m&&Ac(m)&&(m.data===b&&$++,m.data===E)){if($===0)return i(m);$--}return m},_=(m,b,E)=>{const $=b.parentNode;$&&$.replaceChild(m,b);let A=E;for(;A;)A.vnode.el===b&&(A.vnode.el=A.subTree.el=m),A=A.parent},y=m=>m.nodeType===1&&m.tagName==="TEMPLATE";return[l,f]}const vg="data-allow-mismatch",kT={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function kc(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(vg);)e=e.parentElement;const n=e&&e.getAttribute(vg);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:r.includes(kT[t])}}ul().requestIdleCallback;ul().cancelIdleCallback;const Sr=e=>!!e.type.__asyncLoader,gl=e=>e.type.__isKeepAlive,IT={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array
vendor: 3,345 bytes, line 16
16],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=wn(),r=n.ctx;if(!r.renderer)return()=>{const y=t.default&&t.default();return y&&y.length===1?y[0]:y};const s=new Map,i=new Set;let o=null;const c=n.suspense,{renderer:{p:a,m:u,um:l,o:{createElement:f}}}=r,h=f("div");r.activate=(y,m,b,E,$)=>{const A=y.component;u(y,m,b,0,c),a(A.vnode,y,m,b,A,c,E,y.slotScopeIds,$),vt(()=>{A.isDeactivated=!1,A.a&&gi(A.a);const D=y.props&&y.props.onVnodeMounted;D&&qt(D,A.parent,y)},c)},r.deactivate=y=>{const m=y.component;bu(m.m),bu(m.a),u(y,h,null,1,c),vt(()=>{m.da&&gi(m.da);const b=y.props&&y.props.onVnodeUnmounted;b&&qt(b,m.parent,y),m.isDeactivated=!0},c)};function p(y){ff(y),l(y,n,c,!0)}function d(y){s.forEach((m,b)=>{const E=$d(Sr(m)?m.type.__asyncResolved||{}:m.type);E&&!y(E)&&g(b)})}function g(y){const m=s.get(y);m&&(!o||!mn(m,o))?p(m):o&&ff(o),s.delete(y),i.delete(y)}Zt(()=>[e.include,e.exclude],([y,m])=>{y&&d(b=>To(y,b)),m&&d(b=>!To(m,b))},{flush:"post",deep:!0});let v=null;const _=()=>{v!=null&&(wu(n.subTree.type)?vt(()=>{s.set(v,Ic(n.subTree))},n.subTree.suspense):s.set(v,Ic(n.subTree)))};return jr(_),Uh(_),Zi(()=>{s.forEach(y=>{const{subTree:m,suspense:b}=n,E=Ic(m);if(y.type===E.type&&y.key===E.key){ff(E);const $=E.component.da;$&&vt($,b);return}p(y)})}),()=>{if(v=null,!t.default)return o=null;const y=t.default(),m=y[0];if(y.length>1)return o=null,y;if(!Bs(m)||!(m.shapeFlag&4)&&!(m.shapeFlag&128))return o=null,m;let b=Ic(m);if(b.type===dt)return o=null,b;const E=b.type,$=$d(Sr(b)?b.type.__asyncResolved||{}:E),{include:A,exclude:D,max:H}=e;if(A&&(!$||!To(A,$))||D&&$&&To(D,$))return b.shapeFlag&=-257,o=b,m;const B=b.key==null?E:b.key,V=s.get(B);return b.el&&(b=Rr(b),m.shapeFlag&128&&(m.ssContent=b)),v=B,V?(b.el=V.el,b.component=V.component,b.transition&&is(b,b.transition),b.shapeFlag|=512,i.delete(B),i.add(B)):(i.add(B),H&&i.size>parseInt(H,10)&&g(i.values().next().value)),b.shapeFlag|=256,o=b,wu(m.type)?m:b}}},$T=IT;function To(e,t){return me(e)?e.some(n=>To(n,t)):Ye(e)?e.split(",").includes(t):AE(e)?(e.lastIndex=0,e.test(t)):!1}function xv(e,t){Mv(e,"a",t)}function Lv(e,t){Mv(e,"da",t)}function Mv(e,t,n=It){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(ml(t,r,n),n){let s=n.parent;for(;s&&s.parent;)gl(s.parent.vnode)&&RT(r,t,n,s),s=s.parent}}function RT(e,t,n,r){const s=ml(t,e,r,!0);yl(()=>{Ih(r[t],s)},n)}function ff(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Ic(e){return e.shapeFlag&128?e.ssContent:e}function ml(e,t,n=It,r=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{Ir();const c=to(n),a=bn(t,n,e,o);return c(),$r(),a});return r?s.unshift(i):s.push(i),i}}const Dr=e=>(t,n=It)=>{(!Di||e==="sp")&&ml(e,(...r)=>t(...r),n)},Nv=Dr("bm"),jr=Dr("m"),PT=Dr("bu"),Uh=Dr("u"),Zi=Dr("bum"),yl=Dr("um"),OT=Dr("sp"),xT=Dr("rtg"),LT=Dr("rtc");function Dv(e,t=It){ml("ec",e,t)}const jv="components";function Sd(e,t){return Hv(jv,e,!0,t)||e}const Fv=Symbol.for("v-ndc");function Va(e){return Ye(e)?Hv(jv,e,!1)||e:e||Fv}function Hv(e,t,n=!0,r=!1){const s=St||It;if(s){const i=s.type;{const c=$d(i,!1);if(c&&(c===t||c===Dt(t)||c===cl(Dt(t))))return i}const o=bg(s[e]||i[e],t)||bg(s.appContext[e],t);return!o&&r?i:o}}function bg(e,t){return e&&(e[t]||e[Dt(t)]||e[cl(Dt(t))])}function Ae(e,t,n,r){let s;const i=n,o=me(e);
vendor: 4,588 bytes, line 16
16if(o||Ye(e)){const c=o&&es(e);let a=!1,u=!1;c&&(a=!Qt(e),u=Bn(e),e=dl(e)),s=new Array(e.length);for(let l=0,f=e.length;l<f;l++)s[l]=t(a?u?Mi(vn(e[l])):vn(e[l]):e[l],l,void 0,i)}else if(typeof e=="number"){s=new Array(e);for(let c=0;c<e;c++)s[c]=t(c+1,c,void 0,i)}else if(Me(e))if(e[Symbol.iterator])s=Array.from(e,(c,a)=>t(c,a,void 0,i));else{const c=Object.keys(e);s=new Array(c.length);for(let a=0,u=c.length;a<u;a++){const l=c[a];s[a]=t(e[l],l,a,i)}}else s=[];return s}function $c(e,t,n={},r,s){if(St.ce||St.parent&&Sr(St.parent)&&St.parent.ce){const u=Object.keys(n).length>0;return L(),Oe(ce,null,[de("slot",n,r)],u?-2:64)}let i=e[t];i&&i._c&&(i._d=!1),L();const o=i&&Uv(i(n)),c=n.key||o&&o.key,a=Oe(ce,{key:(c&&!en(c)?c:`_${t}`)+(!o&&r?"_fb":"")},o||[],o&&e._===1?64:-2);return a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function Uv(e){return e.some(t=>Bs(t)?!(t.type===dt||t.type===ce&&!Uv(t.children)):!0)?e:null}const Ed=e=>e?fb(e)?bl(e):Ed(e.parent):null,Lo=ht(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=>Ed(e.parent),$root:e=>Ed(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Bv(e),$forceUpdate:e=>e.f||(e.f=()=>{jh(e.update)}),$nextTick:e=>e.n||(e.n=qn.bind(e.proxy)),$watch:e=>bT.bind(e)}),df=(e,t)=>e!==Ve&&!e.__isScriptSetup&&De(e,t),MT={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:i,accessCache:o,type:c,appContext:a}=e;if(t[0]!=="$"){const h=o[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(df(r,t))return o[t]=1,r[t];if(s!==Ve&&De(s,t))return o[t]=2,s[t];if(De(i,t))return o[t]=3,i[t];if(n!==Ve&&De(n,t))return o[t]=4,n[t];Td&&(o[t]=0)}}const u=Lo[t];let l,f;if(u)return t==="$attrs"&&kt(e.attrs,"get",""),u(e);if((l=c.__cssModules)&&(l=l[t]))return l;if(n!==Ve&&De(n,t))return o[t]=4,n[t];if(f=a.config.globalProperties,De(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return df(s,t)?(s[t]=n,!0):r!==Ve&&De(r,t)?(r[t]=n,!0):De(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,props:i,type:o}},c){let a;return!!(n[c]||e!==Ve&&c[0]!=="$"&&De(e,c)||df(t,c)||De(i,c)||De(r,c)||De(Lo,c)||De(s.config.globalProperties,c)||(a=o.__cssModules)&&a[c])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:De(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function NT(){return DT().slots}function DT(e){const t=wn();return t.setupContext||(t.setupContext=hb(t))}function wg(e){return me(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Wn(e){const t=wn(),n=Di;let r=e();ra(),n&&vi(!1);const s=()=>{to(t),n&&vi(!0)},i=()=>{wn()!==t&&t.scope.off(),ra(),n&&vi(!1)};return $h(r)&&(r=r.catch(o=>{throw s(),Promise.resolve().then(()=>Promise.resolve().then(i)),o})),[r,()=>{s(),Promise.resolve().then(i)}]}let Td=!0;function jT(e){const t=Bv(e),n=e.proxy,r=e.ctx;Td=!1,t.beforeCreate&&Sg(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:c,provide:a,inject:u,created:l,beforeMount:f,mounted:h,beforeUpdate:p,updated:d,activated:g,deactivated:v,beforeDestroy:_,beforeUnmount:y,destroyed:m,unmounted:b,render:E,renderTracked:$,renderTriggered:A,errorCaptured:D,serverPrefetch:H,expose:B,inheritAttrs:V,components:C,directives:P,filters:R}=t;if(u&&FT(u,r,null),o)for(const O in o){const I=o[O];Se(I)&&(r[O]=I.bind(n))}if(s){const O=s.call(n,n);Me(O)&&(e.data=Jn(O))}if(Td=!0,i)for(const O in i){const I=i[O],j=Se(I)?I.bind(n,n):Se(I.get)?I.get.bind(n,n):jn,U=!Se(I)&&Se(I.set)?I.set.bind(n):jn,q=we({get:j,set:U});Object.defineProperty(r,O,{enumerable:!0,configurable:!0,get:()=>q.value,set:z=>q.value=z})}if(c)for(const O in c)Vv(c[O],r,n,O);if(a){const O=Se(a)?a.call(n):a;Reflect.ownKeys(O).forEach(I=>{Hn(I,O[I])})}l&&Sg(l,e,"c");function T(O,I){me(I)?I.forEach(j=>O(j.bind(n))):I&&O(I.bind(n))}if(T(Nv,f),T(jr,h),T(PT,p),T(Uh,d),T(xv,g),T(Lv,v),T(Dv,D),T(LT,$),T(xT,A),T(Zi,y),T(yl,b),T(OT,H),me(B))if(B.length){const O=e.exposed||(e.exposed={});B.forEach(I=>{Object.defineProperty(O,I,{get:()=>n[I],set:j=>n[I]=j,enumerable:!0})})}else e.exposed||(e.exposed={});E&&e.render===jn&&(e.render=E),V!=null&&(e.inheritAttrs=V),C&&(e.components=C),P&&(e.directives=P),H&&Ov(e)}function FT(e,t,n=jn){me(e)&&(e=Cd(e));for(const r in e){const s=e[r];let i;Me(s)?"default"in s?i=ut(s.from||r,s.default,!0):i=ut(s.from||r):i=ut(s),Be(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[r]=i}}
vendor: 4,932 bytes, line 16
16function Sg(e,t,n){bn(me(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Vv(e,t,n,r){let s=r.includes(".")?Cv(n,r):()=>n[r];if(Ye(e)){const i=t[e];Se(i)&&Zt(s,i)}else if(Se(e))Zt(s,e.bind(n));else if(Me(e))if(me(e))e.forEach(i=>Vv(i,t,n,r));else{const i=Se(e.handler)?e.handler.bind(n):t[e.handler];Se(i)&&Zt(s,i,e)}}function Bv(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,c=i.get(t);let a;return c?a=c:!s.length&&!n&&!r?a=t:(a={},s.length&&s.forEach(u=>vu(a,u,o,!0)),vu(a,t,o)),Me(t)&&i.set(t,a),a}function vu(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&vu(e,i,n,!0),s&&s.forEach(o=>vu(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const c=HT[o]||n&&n[o];e[o]=c?c(e[o],t[o]):t[o]}return e}const HT={data:Eg,props:Tg,emits:Tg,methods:Co,computed:Co,beforeCreate:xt,created:xt,beforeMount:xt,mounted:xt,beforeUpdate:xt,updated:xt,beforeDestroy:xt,beforeUnmount:xt,destroyed:xt,unmounted:xt,activated:xt,deactivated:xt,errorCaptured:xt,serverPrefetch:xt,components:Co,directives:Co,watch:VT,provide:Eg,inject:UT};function Eg(e,t){return t?e?function(){return ht(Se(e)?e.call(this,this):e,Se(t)?t.call(this,this):t)}:t:e}function UT(e,t){return Co(Cd(e),Cd(t))}function Cd(e){if(me(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function xt(e,t){return e?[...new Set([].concat(e,t))]:t}function Co(e,t){return e?ht(Object.create(null),e,t):t}function Tg(e,t){return e?me(e)&&me(t)?[...new Set([...e,...t])]:ht(Object.create(null),wg(e),wg(t??{})):t}function VT(e,t){if(!e)return t;if(!t)return e;const n=ht(Object.create(null),e);for(const r in t)n[r]=xt(e[r],t[r]);return n}function qv(){return{app:null,config:{isNativeTag:Y_,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 BT=0;function qT(e,t){return function(r,s=null){Se(r)||(r=ht({},r)),s!=null&&!Me(s)&&(s=null);const i=qv(),o=new WeakSet,c=[];let a=!1;const u=i.app={_uid:BT++,_component:r,_props:s,_container:null,_context:i,_instance:null,version:S2,get config(){return i.config},set config(l){},use(l,...f){return o.has(l)||(l&&Se(l.install)?(o.add(l),l.install(u,...f)):Se(l)&&(o.add(l),l(u,...f))),u},mixin(l){return i.mixins.includes(l)||i.mixins.push(l),u},component(l,f){return f?(i.components[l]=f,u):i.components[l]},directive(l,f){return f?(i.directives[l]=f,u):i.directives[l]},mount(l,f,h){if(!a){const p=u._ceVNode||de(r,s);return p.appContext=i,h===!0?h="svg":h===!1&&(h=void 0),f&&t?t(p,l):e(p,l,h),a=!0,u._container=l,l.__vue_app__=u,bl(p.component)}},onUnmount(l){c.push(l)},unmount(){a&&(bn(c,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(l,f){return i.provides[l]=f,u},runWithContext(l){const f=Os;Os=u;try{return l()}finally{Os=f}}};return u}}let Os=null;const WT=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Dt(t)}Modifiers`]||e[`${ds(t)}Modifiers`];function zT(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ve;let s=n;const i=t.startsWith("update:"),o=i&&WT(r,t.slice(7));o&&(o.trim&&(s=n.map(l=>Ye(l)?l.trim():l)),o.number&&(s=n.map(Rh)));let c,a=r[c=sf(t)]||r[c=sf(Dt(t))];!a&&i&&(a=r[c=sf(ds(t))]),a&&bn(a,e,6,s);const u=r[c+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,bn(u,e,6,s)}}const KT=new WeakMap;function Wv(e,t,n=!1){const r=n?KT:t.emitsCache,s=r.get(e);if(s!==void 0)return s;const i=e.emits;let o={},c=!1;if(!Se(e)){const a=u=>{const l=Wv(u,t,!0);l&&(c=!0,ht(o,l))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!c?(Me(e)&&r.set(e,null),null):(me(i)?i.forEach(a=>o[a]=null):ht(o,i),Me(e)&&r.set(e,o),o)}function _l(e,t){return!e||!ja(t)?!1:(t=t.slice(2).replace(/Once$/,""),De(e,t[0].toLowerCase()+t.slice(1))||De(e,ds(t))||De(e,t))}function hf(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[i],slots:o,attrs:c,emit:a,render:u,renderCache:l,props:f,data:h,setupState:p,ctx:d,inheritAttrs:g}=e,v=yu(e);let _,y;try{if(n.shapeFlag&4){const b=s||r,E=b;_=Xt(u.call(E,b,l,f,p,h,d)),y=c}else{const b=t;_=Xt(b.length>1?b(f,{attrs:c,slots:o,emit:a}):b(f,null)),y=t.props?c:YT(c)}}catch(b){No.length=0,Ua(b,e,1),_=de(dt)}let m=_;if(y&&g!==!1){const b=Object.keys(y),{shapeFlag:E}=m;b.length&&E&7&&(i&&b.some(sl)&&(y=JT(y,i)),m=Rr(m,y,!1,!0))}return n.dirs&&(m=Rr(m,null,!1,!0),m.dirs=m.dirs?m.dirs.concat(n.dirs):n.dirs),n.transition&&is(m,n.transition),_=m,yu(v),_}function GT(e,t=!0){let n;for(let r=0;r<e.length;r++){const s=e[r];if(Bs(s)){if(s.type!==dt||s.children==="v-if"){if(n)return;n=s}}else return}return n}const YT=e=>{let t;for(const n in e)(n==="class"||n==="style"||ja(n))&&((t||(t={}))[n]=e[n]);return t},JT=(e,t)=>
vendor: 3,763 bytes, line 16
16{const n={};for(const r in e)(!sl(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function XT(e,t,n){const{props:r,children:s,component:i}=e,{props:o,children:c,patchFlag:a}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?Cg(r,o,u):!!o;if(a&8){const l=t.dynamicProps;for(let f=0;f<l.length;f++){const h=l[f];if(zv(o,r,h)&&!_l(u,h))return!0}}}else return(s||c)&&(!c||!c.$stable)?!0:r===o?!1:r?o?Cg(r,o,u):!0:!!o;return!1}function Cg(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const i=r[s];if(zv(t,e,i)&&!_l(n,i))return!0}return!1}function zv(e,t,n){const r=e[n],s=t[n];return n==="style"&&Me(r)&&Me(s)?!Vs(r,s):r!==s}function vl({vnode:e,parent:t,suspense:n},r){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.suspense.vnode.el=s.el=r,e=s),s===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}const Kv={},Gv=()=>Object.create(Kv),Yv=e=>Object.getPrototypeOf(e)===Kv;function QT(e,t,n,r=!1){const s={},i=Gv();e.propsDefaults=Object.create(null),Jv(e,t,s,i);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=r?s:Dn(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function ZT(e,t,n,r){const{props:s,attrs:i,vnode:{patchFlag:o}}=e,c=$e(s),[a]=e.propsOptions;let u=!1;if((r||o>0)&&!(o&16)){if(o&8){const l=e.vnode.dynamicProps;for(let f=0;f<l.length;f++){let h=l[f];if(_l(e.emitsOptions,h))continue;const p=t[h];if(a)if(De(i,h))p!==i[h]&&(i[h]=p,u=!0);else{const d=Dt(h);s[d]=Ad(a,c,d,p,e,!1)}else p!==i[h]&&(i[h]=p,u=!0)}}}else{Jv(e,t,s,i)&&(u=!0);let l;for(const f in c)(!t||!De(t,f)&&((l=ds(f))===f||!De(t,l)))&&(a?n&&(n[f]!==void 0||n[l]!==void 0)&&(s[f]=Ad(a,c,f,void 0,e,!0)):delete s[f]);if(i!==c)for(const f in i)(!t||!De(t,f))&&(delete i[f],u=!0)}u&&yr(e.attrs,"set","")}function Jv(e,t,n,r){const[s,i]=e.propsOptions;let o=!1,c;if(t)for(let a in t){if(Rs(a))continue;const u=t[a];let l;s&&De(s,l=Dt(a))?!i||!i.includes(l)?n[l]=u:(c||(c={}))[l]=u:_l(e.emitsOptions,a)||(!(a in r)||u!==r[a])&&(r[a]=u,o=!0)}if(i){const a=$e(n),u=c||Ve;for(let l=0;l<i.length;l++){const f=i[l];n[f]=Ad(s,a,f,u[f],e,!De(u,f))}}return o}function Ad(e,t,n,r,s,i){const o=e[n];if(o!=null){const c=De(o,"default");if(c&&r===void 0){const a=o.default;if(o.type!==Function&&!o.skipFactory&&Se(a)){const{propsDefaults:u}=s;if(n in u)r=u[n];else{const l=to(s);r=u[n]=a.call(null,t),l()}}else r=a;s.ce&&s.ce._setProp(n,r)}o[0]&&(i&&!c?r=!1:o[1]&&(r===""||r===ds(n))&&(r=!0))}return r}const e2=new WeakMap;function Xv(e,t,n=!1){const r=n?e2:t.propsCache,s=r.get(e);if(s)return s;const i=e.props,o={},c=[];let a=!1;if(!Se(e)){const l=f=>{a=!0;const[h,p]=Xv(f,t,!0);ht(o,h),p&&c.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}if(!i&&!a)return Me(e)&&r.set(e,hi),hi;if(me(i))for(let l=0;l<i.length;l++){const f=Dt(i[l]);Ag(f)&&(o[f]=Ve)}else if(i)for(const l in i){const f=Dt(l);if(Ag(f)){const h=i[l],p=o[f]=me(h)||Se(h)?{type:h}:ht({},h),d=p.type;let g=!1,v=!0;if(me(d))for(let _=0;_<d.length;++_){const y=d[_],m=Se(y)&&y.name;if(m==="Boolean"){g=!0;break}else m==="String"&&(v=!1)}else g=Se(d)&&d.name==="Boolean";p[0]=g,p[1]=v,(g||De(p,"default"))&&c.push(f)}}const u=[o,c];return Me(e)&&r.set(e,u),u}function Ag(e){return e[0]!=="$"&&!Rs(e)}const Vh=e=>e==="_"||e==="_ctx"||e==="$stable",Bh=e=>me(e)?e.map(Xt):[Xt(e)],t2=(e,t,n)=>{if(t._n)return t;const r=je((...s)=>Bh(t(...s)),n);return r._c=!1,r},Qv=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Vh(s))continue;const i=e[s];if(Se(i))t[s]=t2(s,i,r);else if(i!=null){const o=Bh(i);t[s]=()=>o}}},Zv=(e,t)=>{const n=Bh(t);e.slots.default=()=>n},eb=(e,t,n)=>{for(const r in t)(n||!Vh(r))&&(e[r]=t[r])}
vendor: 4,908 bytes, line 16
16,n2=(e,t,n)=>{const r=e.slots=Gv();if(e.vnode.shapeFlag&32){const s=t._;s?(eb(r,t,n),n&&Q_(r,"_",s,!0)):Qv(t,r)}else t&&Zv(e,t)},r2=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,o=Ve;if(r.shapeFlag&32){const c=t._;c?n&&c===1?i=!1:eb(s,t,n):(i=!t.$stable,Qv(t,s)),o=t}else t&&(Zv(e,t),o={default:1});if(i)for(const c in s)!Vh(c)&&o[c]==null&&delete s[c]},vt=ab;function s2(e){return tb(e)}function i2(e){return tb(e,AT)}function tb(e,t){const n=ul();n.__VUE__=!0;const{insert:r,remove:s,patchProp:i,createElement:o,createText:c,createComment:a,setText:u,setElementText:l,parentNode:f,nextSibling:h,setScopeId:p=jn,insertStaticContent:d}=e,g=(S,x,W,ee=null,Y=null,te=null,ue=void 0,ae=null,ie=!!x.dynamicChildren)=>{if(S===x)return;S&&!mn(S,x)&&(ee=F(S),z(S,Y,te,!0),S=null),x.patchFlag===-2&&(ie=!1,x.dynamicChildren=null);const{type:ne,ref:_e,shapeFlag:fe}=x;switch(ne){case xs:v(S,x,W,ee);break;case dt:_(S,x,W,ee);break;case Mo:S==null&&y(x,W,ee,ue);break;case ce:C(S,x,W,ee,Y,te,ue,ae,ie);break;default:fe&1?E(S,x,W,ee,Y,te,ue,ae,ie):fe&6?P(S,x,W,ee,Y,te,ue,ae,ie):(fe&64||fe&128)&&ne.process(S,x,W,ee,Y,te,ue,ae,ie,Q)}_e!=null&&Y?yi(_e,S&&S.ref,te,x||S,!x):_e==null&&S&&S.ref!=null&&yi(S.ref,null,te,S,!0)},v=(S,x,W,ee)=>{if(S==null)r(x.el=c(x.children),W,ee);else{const Y=x.el=S.el;x.children!==S.children&&u(Y,x.children)}},_=(S,x,W,ee)=>{S==null?r(x.el=a(x.children||""),W,ee):x.el=S.el},y=(S,x,W,ee)=>{[S.el,S.anchor]=d(S.children,x,W,ee,S.el,S.anchor)},m=({el:S,anchor:x},W,ee)=>{let Y;for(;S&&S!==x;)Y=h(S),r(S,W,ee),S=Y;r(x,W,ee)},b=({el:S,anchor:x})=>{let W;for(;S&&S!==x;)W=h(S),s(S),S=W;s(x)},E=(S,x,W,ee,Y,te,ue,ae,ie)=>{if(x.type==="svg"?ue="svg":x.type==="math"&&(ue="mathml"),S==null)$(x,W,ee,Y,te,ue,ae,ie);else{const ne=S.el&&S.el._isVueCE?S.el:null;try{ne&&ne._beginPatch(),H(S,x,Y,te,ue,ae,ie)}finally{ne&&ne._endPatch()}}},$=(S,x,W,ee,Y,te,ue,ae)=>{let ie,ne;const{props:_e,shapeFlag:fe,transition:ge,dirs:Ee}=S;if(ie=S.el=o(S.type,te,_e&&_e.is,_e),fe&8?l(ie,S.children):fe&16&&D(S.children,ie,null,ee,Y,pf(S,te),ue,ae),Ee&&Rn(S,null,ee,"created"),A(ie,S,S.scopeId,ue,ee),_e){for(const He in _e)He!=="value"&&!Rs(He)&&i(ie,He,null,_e[He],te,ee);"value"in _e&&i(ie,"value",null,_e.value,te),(ne=_e.onVnodeBeforeMount)&&qt(ne,ee,S)}Ee&&Rn(S,null,ee,"beforeMount");const Re=nb(Y,ge);Re&&ge.beforeEnter(ie),r(ie,x,W),((ne=_e&&_e.onVnodeMounted)||Re||Ee)&&vt(()=>{try{ne&&qt(ne,ee,S),Re&&ge.enter(ie),Ee&&Rn(S,null,ee,"mounted")}finally{}},Y)},A=(S,x,W,ee,Y)=>{if(W&&p(S,W),ee)for(let te=0;te<ee.length;te++)p(S,ee[te]);if(Y){let te=Y.subTree;if(x===te||wu(te.type)&&(te.ssContent===x||te.ssFallback===x)){const ue=Y.vnode;A(S,ue,ue.scopeId,ue.slotScopeIds,Y.parent)}}},D=(S,x,W,ee,Y,te,ue,ae,ie=0)=>{for(let ne=ie;ne<S.length;ne++){const _e=S[ne]=ae?ur(S[ne]):Xt(S[ne]);g(null,_e,x,W,ee,Y,te,ue,ae)}},H=(S,x,W,ee,Y,te,ue)=>{const ae=x.el=S.el;let{patchFlag:ie,dynamicChildren:ne,dirs:_e}=x;ie|=S.patchFlag&16;const fe=S.props||Ve,ge=x.props||Ve;let Ee;if(W&&ys(W,!1),(Ee=ge.onVnodeBeforeUpdate)&&qt(Ee,W,x,S),_e&&Rn(x,S,W,"beforeUpdate"),W&&ys(W,!0),(fe.innerHTML&&ge.innerHTML==null||fe.textContent&&ge.textContent==null)&&l(ae,""),ne?B(S.dynamicChildren,ne,ae,W,ee,pf(x,Y),te):ue||I(S,x,ae,null,W,ee,pf(x,Y),te,!1),ie>0){if(ie&16)V(ae,fe,ge,W,Y);else if(ie&2&&fe.class!==ge.class&&i(ae,"class",null,ge.class,Y),ie&4&&i(ae,"style",fe.style,ge.style,Y),ie&8){const Re=x.dynamicProps;for(let He=0;He<Re.length;He++){const We=Re[He],ft=fe[We],pt=ge[We];(pt!==ft||We==="value")&&i(ae,We,ft,pt,Y,W)}}ie&1&&S.children!==x.children&&l(ae,x.children)}else!ue&&ne==null&&V(ae,fe,ge,W,Y);((Ee=ge.onVnodeUpdated)||_e)&&vt(()=>{Ee&&qt(Ee,W,x,S),_e&&Rn(x,S,W,"updated")},ee)},B=(S,x,W,ee,Y,te,ue)=>{for(let ae=0;ae<x.length;ae++){const ie=S[ae],ne=x[ae],_e=ie.el&&(ie.type===ce||!mn(ie,ne)||ie.shapeFlag&198)?f(ie.el):W;g(ie,ne,_e,null,ee,Y,te,ue,!0)}},V=(S,x,W,ee,Y)=>{if(x!==W){if(x!==Ve)for(const te in x)!Rs(te)&&!(te in W)&&i(S,te,x[te],null,Y,ee);for(const te in W){if(Rs(te))continue;const ue=W[te],ae=x[te];ue!==ae&&te!=="value"&&i(S,te,ae,ue,Y,ee)}"value"in W&&i(S,"value",x.value,W.value,Y)}},C=(S,x,W,ee,Y,te,ue,ae,ie)=>{const ne=x.el=S?S.el:c(""),_e=x.anchor=S?S.anchor:c("");let{patchFlag:fe,dynamicChildren:ge,slotScopeIds:Ee}=x;Ee&&(ae=ae?ae.concat(Ee):Ee),S==null?(r(ne,W,ee),r(_e,W,ee),D(x.children||[],W,_e,Y,te,ue,ae,ie)):fe>0&&fe&64&&ge&&S.dynamicChildren&&S.dynamicChildren.length===ge.length?(B(S.dynamicChildren,ge,W,Y,te,ue,ae),(x.key!=null||Y&&x===Y.subTree)&&rb(S,x,!0)):I(S,x,W,_e,Y,te,ue,ae,ie)},P=(S,x,W,ee,Y,te,ue,ae,ie)=>{x.slotScopeIds=ae,S==null?x.shapeFlag&512?Y.ctx.activate(x,W,ee,ue,ie):R(x,W,ee,Y,te,ue,ie):k(S,x,ie)},R=(S,x,W,ee,Y,te,ue)=>{const ae=S.component=y2(S,ee,Y);if(gl(S)&&(ae.ctx.renderer=Q),_2(ae,!1,ue),ae.asyncDep){if(Y&&Y.registerDep(ae,T,ue),!S.el){const ie=ae.subTree=de(dt);_(null,ie,x,W),S.placeholder=ie.el}}else T(ae,S,x,W,Y,te,ue)},k=(S,x,W)=>
vendor: 18,468 bytes, lines 16-19
16{const ee=x.component=S.component;if(XT(S,x,W))if(ee.asyncDep&&!ee.asyncResolved){O(ee,x,W);return}else ee.next=x,ee.update();else x.el=S.el,ee.vnode=x},T=(S,x,W,ee,Y,te,ue)=>{const ae=()=>{if(S.isMounted){let{next:fe,bu:ge,u:Ee,parent:Re,vnode:He}=S;{const Yt=sb(S);if(Yt){fe&&(fe.el=He.el,O(S,fe,ue)),Yt.asyncDep.then(()=>{vt(()=>{S.isUnmounted||ne()},Y)});return}}let We=fe,ft;ys(S,!1),fe?(fe.el=He.el,O(S,fe,ue)):fe=He,ge&&gi(ge),(ft=fe.props&&fe.props.onVnodeBeforeUpdate)&&qt(ft,Re,fe,He),ys(S,!0);const pt=hf(S),dn=S.subTree;S.subTree=pt,g(dn,pt,f(dn.el),F(dn),S,Y,te),fe.el=pt.el,We===null&&vl(S,pt.el),Ee&&vt(Ee,Y),(ft=fe.props&&fe.props.onVnodeUpdated)&&vt(()=>qt(ft,Re,fe,He),Y)}else{let fe;const{el:ge,props:Ee}=x,{bm:Re,m:He,parent:We,root:ft,type:pt}=S,dn=Sr(x);if(ys(S,!1),Re&&gi(Re),!dn&&(fe=Ee&&Ee.onVnodeBeforeMount)&&qt(fe,We,x),ys(S,!0),ge&&Te){const Yt=()=>{S.subTree=hf(S),Te(ge,S.subTree,S,Y,null)};dn&&pt.__asyncHydrate?pt.__asyncHydrate(ge,S,Yt):Yt()}else{ft.ce&&ft.ce._hasShadowRoot()&&ft.ce._injectChildStyle(pt,S.parent?S.parent.type:void 0);const Yt=S.subTree=hf(S);g(null,Yt,W,ee,S,Y,te),x.el=Yt.el}if(He&&vt(He,Y),!dn&&(fe=Ee&&Ee.onVnodeMounted)){const Yt=x;vt(()=>qt(fe,We,Yt),Y)}(x.shapeFlag&256||We&&Sr(We.vnode)&&We.vnode.shapeFlag&256)&&S.a&&vt(S.a,Y),S.isMounted=!0,x=W=ee=null}};S.scope.on();const ie=S.effect=new iv(ae);S.scope.off();const ne=S.update=ie.run.bind(ie),_e=S.job=ie.runIfDirty.bind(ie);_e.i=S,_e.id=S.uid,ie.scheduler=()=>jh(_e),ys(S,!0),ne()},O=(S,x,W)=>{x.component=S;const ee=S.vnode.props;S.vnode=x,S.next=null,ZT(S,x.props,ee,W),r2(S,x.children,W),Ir(),pg(S),$r()},I=(S,x,W,ee,Y,te,ue,ae,ie=!1)=>{const ne=S&&S.children,_e=S?S.shapeFlag:0,fe=x.children,{patchFlag:ge,shapeFlag:Ee}=x;if(ge>0){if(ge&128){U(ne,fe,W,ee,Y,te,ue,ae,ie);return}else if(ge&256){j(ne,fe,W,ee,Y,te,ue,ae,ie);return}}Ee&8?(_e&16&&G(ne,Y,te),fe!==ne&&l(W,fe)):_e&16?Ee&16?U(ne,fe,W,ee,Y,te,ue,ae,ie):G(ne,Y,te,!0):(_e&8&&l(W,""),Ee&16&&D(fe,W,ee,Y,te,ue,ae,ie))},j=(S,x,W,ee,Y,te,ue,ae,ie)=>{S=S||hi,x=x||hi;const ne=S.length,_e=x.length,fe=Math.min(ne,_e);let ge;for(ge=0;ge<fe;ge++){const Ee=x[ge]=ie?ur(x[ge]):Xt(x[ge]);g(S[ge],Ee,W,null,Y,te,ue,ae,ie)}ne>_e?G(S,Y,te,!0,!1,fe):D(x,W,ee,Y,te,ue,ae,ie,fe)},U=(S,x,W,ee,Y,te,ue,ae,ie)=>{let ne=0;const _e=x.length;let fe=S.length-1,ge=_e-1;for(;ne<=fe&&ne<=ge;){const Ee=S[ne],Re=x[ne]=ie?ur(x[ne]):Xt(x[ne]);if(mn(Ee,Re))g(Ee,Re,W,null,Y,te,ue,ae,ie);else break;ne++}for(;ne<=fe&&ne<=ge;){const Ee=S[fe],Re=x[ge]=ie?ur(x[ge]):Xt(x[ge]);if(mn(Ee,Re))g(Ee,Re,W,null,Y,te,ue,ae,ie);else break;fe--,ge--}if(ne>fe){if(ne<=ge){const Ee=ge+1,Re=Ee<_e?x[Ee].el:ee;for(;ne<=ge;)g(null,x[ne]=ie?ur(x[ne]):Xt(x[ne]),W,Re,Y,te,ue,ae,ie),ne++}}else if(ne>ge)for(;ne<=fe;)z(S[ne],Y,te,!0),ne++;else{const Ee=ne,Re=ne,He=new Map;for(ne=Re;ne<=ge;ne++){const Jt=x[ne]=ie?ur(x[ne]):Xt(x[ne]);Jt.key!=null&&He.set(Jt.key,ne)}let We,ft=0;const pt=ge-Re+1;let dn=!1,Yt=0;const mo=new Array(pt);for(ne=0;ne<pt;ne++)mo[ne]=0;for(ne=Ee;ne<=fe;ne++){const Jt=S[ne];if(ft>=pt){z(Jt,Y,te,!0);continue}let An;if(Jt.key!=null)An=He.get(Jt.key);else for(We=Re;We<=ge;We++)if(mo[We-Re]===0&&mn(Jt,x[We])){An=We;break}An===void 0?z(Jt,Y,te,!0):(mo[An-Re]=ne+1,An>=Yt?Yt=An:dn=!0,g(Jt,x[An],W,null,Y,te,ue,ae,ie),ft++)}const ig=dn?o2(mo):hi;for(We=ig.length-1,ne=pt-1;ne>=0;ne--){const Jt=Re+ne,An=x[Jt],og=x[Jt+1],ag=Jt+1<_e?og.el||ib(og):ee;mo[ne]===0?g(null,An,W,ag,Y,te,ue,ae,ie):dn&&(We<0||ne!==ig[We]?q(An,W,ag,2):We--)}}},q=(S,x,W,ee,Y=null)=>{const{el:te,type:ue,transition:ae,children:ie,shapeFlag:ne}=S;if(ne&6){q(S.component.subTree,x,W,ee);return}if(ne&128){S.suspense.move(x,W,ee);return}if(ne&64){ue.move(S,x,W,Q);return}if(ue===ce){r(te,x,W);for(let fe=0;fe<ie.length;fe++)q(ie[fe],x,W,ee);r(S.anchor,x,W);return}if(ue===Mo){m(S,x,W);return}if(ee!==2&&ne&1&&ae)if(ee===0)ae.beforeEnter(te),r(te,x,W),vt(()=>ae.enter(te),Y);else{const{leave:fe,delayLeave:ge,afterLeave:Ee}=ae,Re=()=>{S.ctx.isUnmounted?s(te):r(te,x,W)},He=()=>{te._isLeaving&&te[Pn](!0),fe(te,()=>{Re(),Ee&&Ee()})};ge?ge(te,Re,He):He()}else r(te,x,W)},z=(S,x,W,ee=!1,Y=!1)=>{const{type:te,props:ue,ref:ae,children:ie,dynamicChildren:ne,shapeFlag:_e,patchFlag:fe,dirs:ge,cacheIndex:Ee,memo:Re}=S;if(fe===-2&&(Y=!1),ae!=null&&(Ir(),yi(ae,null,W,S,!0),$r()),Ee!=null&&(x.renderCache[Ee]=void 0),_e&256){x.ctx.deactivate(S);return}const He=_e&1&&ge,We=!Sr(S);let ft;if(We&&(ft=ue&&ue.onVnodeBeforeUnmount)&&qt(ft,x,S),_e&6)oe(S.component,W,ee);else{if(_e&128){S.suspense.unmount(W,ee);return}He&&Rn(S,null,x,"beforeUnmount"),_e&64?S.type.remove(S,x,W,Q,ee):ne&&!ne.hasOnce&&(te!==ce||fe>0&&fe&64)?G(ne,x,W,!1,!0):(te===ce&&fe&384||!Y&&_e&16)&&G(ie,x,W),ee&&X(S)}const pt=Re!=null&&Ee==null;(We&&(ft=ue&&ue.onVnodeUnmounted)||He||pt)&&vt(()=>{ft&&qt(ft,x,S),He&&Rn(S,null,x,"unmounted"),pt&&(S.el=null)},W)},X=S=>{const{type:x,el:W,anchor:ee,transition:Y}=S;if(x===ce){se(W,ee);return}if(x===Mo){b(S);return}const te=()=>{s(W),Y&&!Y.persisted&&Y.afterLeave&&Y.afterLeave()};if(S.shapeFlag&1&&Y&&!Y.persisted){const{leave:ue,delayLeave:ae}=Y,ie=()=>ue(W,te);ae?ae(S.el,te,ie):ie()}else te()},se=(S,x)=>{let W;for(;S!==x;)W=h(S),s(S),S=W;s(x)},oe=(S,x,W)=>{const{bum:ee,scope:Y,job:te,subTree:ue,um:ae,m:ie,a:ne}=S;bu(ie),bu(ne),ee&&gi(ee),Y.stop(),te&&(te.flags|=8,z(ue,S,x,W)),ae&&vt(ae,x),vt(()=>{S.isUnmounted=!0},x)},G=(S,x,W,ee=!1,Y=!1,te=0)=>{for(let ue=te;ue<S.length;ue++)z(S[ue],x,W,ee,Y)},F=S=>{if(S.shapeFlag&6)return F(S.component.subTree);if(S.shapeFlag&128)return S.suspense.next();const x=h(S.anchor||S.el),W=x&&x[wT];return W?h(W):x};let Z=!1;const J=(S,x,W)=>{let ee;S==null?x._vnode&&(z(x._vnode,null,null,!0),ee=x._vnode.component):g(x._vnode||null,S,x,null,null,null,W),x._vnode=S,Z||(Z=!0,pg(ee),mu(),Z=!1)},Q={p:g,um:z,m:q,r:X,mt:R,mc:D,pc:I,pbc:B,n:F,o:e};let pe,Te;return t&&([pe,Te]=t(Q)),{render:J,hydrate:pe,createApp:qT(J,pe)}}function pf({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 ys({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function nb(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function rb(e,t,n=!1){const r=e.children,s=t.children;if(me(r)&&me(s))for(let i=0;i<r.length;i++){const o=r[i];let c=s[i];c.shapeFlag&1&&!c.dynamicChildren&&((c.patchFlag<=0||c.patchFlag===32)&&(c=s[i]=ur(s[i]),c.el=o.el),!n&&c.patchFlag!==-2&&rb(o,c)),c.type===xs&&(c.patchFlag===-1&&(c=s[i]=ur(c)),c.el=o.el),c.type===dt&&!c.el&&(c.el=o.el)}}function o2(e){const t=e.slice(),n=[0];let r,s,i,o,c;const a=e.length;for(r=0;r<a;r++){const u=e[r];if(u!==0){if(s=n[n.length-1],e[s]<u){t[r]=s,n.push(r);continue}for(i=0,o=n.length-1;i<o;)c=i+o>>1,e[n[c]]<u?i=c+1:o=c;u<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function sb(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:sb(t)}function bu(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function ib(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?ib(t.subTree):null}const wu=e=>e.__isSuspense;let kd=0;const a2={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,i,o,c,a,u){if(e==null)c2(t,n,r,s,i,o,c,a,u);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}u2(e,t,n,r,s,o,c,a,u)}},hydrate:l2,normalize:f2},qh=a2;function na(e,t){const n=e.props&&e.props[t];Se(n)&&n()}function c2(e,t,n,r,s,i,o,c,a){const{p:u,o:{createElement:l}}=a,f=l("div"),h=e.suspense=ob(e,s,r,t,f,n,i,o,c,a);u(null,h.pendingBranch=e.ssContent,f,null,r,h,i,o),h.deps>0?(na(e,"onPending"),na(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,i,o),_i(h,e.ssFallback)):h.resolve(!1,!0)}function u2(e,t,n,r,s,i,o,c,{p:a,um:u,o:{createElement:l}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const h=t.ssContent,p=t.ssFallback,{activeBranch:d,pendingBranch:g,isInFallback:v,isHydrating:_}=f;if(g)f.pendingBranch=h,mn(g,h)?(a(g,h,f.hiddenContainer,null,s,f,i,o,c),f.deps<=0?f.resolve():v&&(_||(a(d,p,n,r,s,null,i,o,c),_i(f,p)))):(f.pendingId=kd++,_?(f.isHydrating=!1,f.activeBranch=g):u(g,s,f),f.deps=0,f.effects.length=0,f.hiddenContainer=l("div"),v?(a(null,h,f.hiddenContainer,null,s,f,i,o,c),f.deps<=0?f.resolve():(a(d,p,n,r,s,null,i,o,c),_i(f,p))):d&&mn(d,h)?(a(d,h,n,r,s,f,i,o,c),f.resolve(!0)):(a(null,h,f.hiddenContainer,null,s,f,i,o,c),f.deps<=0&&f.resolve()));else if(d&&mn(d,h))a(d,h,n,r,s,f,i,o,c),_i(f,h);else if(na(t,"onPending"),f.pendingBranch=h,h.shapeFlag&512?f.pendingId=h.component.suspenseId:f.pendingId=kd++,a(null,h,f.hiddenContainer,null,s,f,i,o,c),f.deps<=0)f.resolve();else{const{timeout:y,pendingId:m}=f;y>0?setTimeout(()=>{f.pendingId===m&&f.fallback(p)},y):y===0&&f.fallback(p)}}function ob(e,t,n,r,s,i,o,c,a,u,l=!1){const{p:f,m:h,um:p,n:d,o:{parentNode:g,remove:v}}=u;let _;const y=d2(e);y&&t&&t.pendingBranch&&(_=t.pendingId,t.deps++);const m=e.props?Z_(e.props.timeout):void 0,b=i,E={vnode:e,parent:t,parentComponent:n,namespace:o,container:r,hiddenContainer:s,deps:0,pendingId:kd++,timeout:typeof m=="number"?m:-1,activeBranch:null,isFallbackMountPending:!1,pendingBranch:null,isInFallback:!l,isHydrating:l,isUnmounted:!1,effects:[],resolve($=!1,A=!1){const{vnode:D,activeBranch:H,pendingBranch:B,pendingId:V,effects:C,parentComponent:P,container:R,isInFallback:k}=E;let T=!1;if(E.isHydrating)E.isHydrating=!1;else if(!$){T=H&&B.transition&&B.transition.mode==="out-in";let j=!1;T&&(H.transition.afterLeave=()=>{V===E.pendingId&&(h(B,R,i===b&&!j?d(H):i,0),wd(C),k&&D.ssFallback&&(D.ssFallback.el=null))}),H&&!E.isFallbackMountPending&&(g(H.el)===R&&(i=d(H),j=!0),p(H,P,E,!0),!T&&k&&D.ssFallback&&vt(()=>D.ssFallback.el=null,E)),T||h(B,R,i,0)}E.isFallbackMountPending=!1,_i(E,B),E.pendingBranch=null,E.isInFallback=!1;let O=E.parent,I=!1;for(;O;){if(O.pendingBranch){O.effects.push(...C),I=!0;break}O=O.parent}!I&&!T&&wd(C),E.effects=[],y&&t&&t.pendingBranch&&_===t.pendingId&&(t.deps--,t.deps===0&&!A&&t.resolve()),na(D,"onResolve")},fallback($){if(!E.pendingBranch)return;const{vnode:A,activeBranch:D,parentComponent:H,container:B,namespace:V}=E;na(A,"onFallback");const C=d(D),P=()=>{E.isFallbackMountPending=!1,E.isInFallback&&(f(null,$,B,C,H,null,V,c,a),_i(E,$))},R=$.transition&&$.transition.mode==="out-in";R&&(E.isFallbackMountPending=!0,D.transition.afterLeave=P),E.isInFallback=!0,p(D,H,null,!0),R||P()},move($,A,D){E.activeBranch&&h(E.activeBranch,$,A,D),E.container=$},next(){return E.activeBranch&&d(E.activeBranch)},registerDep($,A,D){const H=!!E.pendingBranch;H&&E.deps++;const B=$.vnode.el;$.asyncDep.catch(V=>{Ua(V,$,0)}).then(V=>{if($.isUnmounted||E.isUnmounted||E.pendingId!==$.suspenseId)return;ra(),$.asyncResolved=!0;const{vnode:C}=$;Id($,V),B&&(C.el=B);const P=!B&&$.subTree.el;A($,C,g(B||$.subTree.el),B?null:d($.subTree),E,o,D),P&&(C.placeholder=null,v(P)),vl($,C.el),H&&--E.deps===0&&E.resolve()})},unmount($,A){E.isUnmounted=!0,E.activeBranch&&p(E.activeBranch,n,$,A),E.pendingBranch&&p(E.pendingBranch,n,$,A)}};return E}function l2(e,t,n,r,s,i,o,c,a){const u=t.suspense=ob(t,r,n,e.parentNode,document.createElement("div"),null,s,i,o,c,!0),l=a(e,u.pendingBranch=t.ssContent,n,u,i,o);return u.deps===0&&u.resolve(!1,!0),l}function f2(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=kg(r?n.default:n),e.ssFallback=r?kg(n.fallback):de(dt)}function kg(e){let t;if(Se(e)){const n=Ni&&e._c;n&&(e._d=!1,L()),e=e(),n&&(e._d=!0,t=Wt,cb())}return me(e)&&(e=GT(e)),e=Xt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function ab(e,t){t&&t.pendingBranch?me(e)?t.effects.push(...e):t.effects.push(e):wd(e)}function _i(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let s=t.el;for(;!s&&t.component;)t=t.component.subTree,s=t.el;n.el=s,r&&r.subTree===n&&(r.vnode.el=s,vl(r,s))}function d2(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const ce=Symbol.for("v-fgt"),xs=Symbol.for("v-txt"),dt=Symbol.for("v-cmt"),Mo=Symbol.for("v-stc"),No=[];let Wt=null;function L(e=!1){No.push(Wt=e?null:[])}function cb(){No.pop(),Wt=No[No.length-1]||null}let Ni=1;function Su(e,t=!1){Ni+=e,e<0&&Wt&&t&&(Wt.hasOnce=!0)}function ub(e){return e.dynamicChildren=Ni>0?Wt||hi:null,cb(),Ni>0&&Wt&&Wt.push(e),e}function N(e,t,n,r,s,i){return ub(w(e,t,n,r,s,i,!0))}function Oe(e,t,n,r,s){return ub(de(e,t,n,r,s,!0))}function Bs(e){return e?e.__v_isVNode===!0:!1}function mn(e,t){return e.type===t.type&&e.key===t.key}const lb=({key:e})=>e??null,Yc=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ye(e)||Be(e)||Se(e)?{i:St,r:e,k:t,f:!!n}:e:null);function w(e,t=null,n=null,r=0,s=null,i=e===ce?0:1,o=!1,c=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&lb(t),ref:t&&Yc(t),scopeId:Tv,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:St};return c?(Wh(a,n),i&128&&e.normalize(a)):n&&(a.shapeFlag|=Ye(n)?8:16),Ni>0&&!o&&Wt&&(a.patchFlag>0||i&6)&&a.patchFlag!==32&&Wt.push(a),a}const de=h2;function h2(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===Fv)&&(e=dt),Bs(e)){const c=Rr(e,t,!0);return n&&Wh(c,n),Ni>0&&!i&&Wt&&(c.shapeFlag&6?Wt[Wt.indexOf(e)]=c:Wt.push(c)),c.patchFlag=-2,c}if(w2(e)&&(e=e.__vccOpts),t){t=p2(t);let{class:c,style:a}=t;c&&!Ye(c)&&(t.class=Ge(c)),Me(a)&&(hl(a)&&!me(a)&&(a=ht({},a)),t.style=ll(a))}const o=Ye(e)?1:wu(e)?128:Av(e)?64:Me(e)?4:Se(e)?2:0;return w(e,t,n,r,s,o,i,!0)}function p2(e){return e?hl(e)||Yv(e)?ht({},e):e:null}function Rr(e,t,n=!1,r=!1){const{props:s,ref:i,patchFlag:o,children:c,transition:a}=e,u=t?eo(s||{},t):s,l={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&lb(u),ref:t&&t.ref?n&&i?me(i)?i.concat(Yc(t)):[i,Yc(t)]:Yc(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ce?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Rr(e.ssContent),ssFallback:e.ssFallback&&Rr(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&r&&is(l,a.clone(l)),l}function it(e=" ",t=0){return de(xs,null,e,t)}function Ig(e,t){const n=de(Mo,null,e);return n.staticCount=t,n}function he(e="",t=!1){return t?(L(),Oe(dt,null,e)):de(dt,null,e)}function Xt(e){return e==null||typeof e=="boolean"?de(dt):me(e)?de(ce,null,e.slice()):Bs(e)?ur(e):de(xs,null,String(e))}function ur(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Rr(e)}function Wh(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(me(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Wh(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Yv(t)?t._ctx=St:s===3&&St&&(St.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Se(t)?(t={default:t,_ctx:St},n=32):(t=String(t),r&64?(n=16,t=[it(t)]):n=8);e.children=t,e.shapeFlag|=n}function eo(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=Ge([t.class,r.class]));else if(s==="style")t.style=ll([t.style,r.style]);else if(ja(s)){const i=t[s],o=r[s];o&&i!==o&&!(me(i)&&i.includes(o))?t[s]=i?[].concat(i,o):o:o==null&&i==null&&!sl(s)&&(t[s]=o)}else s!==""&&(t[s]=r[s])}return t}function qt(e,t,n,r=null){bn(e,t,7,[n,r])}const g2=qv();let m2=0;function y2(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||g2,i={uid:m2++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new sv(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Xv(r,s),emitsOptions:Wv(r,s),emit:null,emitted:null,propsDefaults:Ve,inheritAttrs:r.inheritAttrs,ctx:Ve,data:Ve,props:Ve,attrs:Ve,slots:Ve,refs:Ve,setupState:Ve,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=zT.bind(null,i),e.ce&&e.ce(i),i}let It=null;const wn=()=>It||St;let Eu,vi;{const e=ul(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),i=>{s.length>1?s.forEach(o=>o(i)):s[0](i)}};Eu=t("__VUE_INSTANCE_SETTERS__",n=>It=n),vi=t("__VUE_SSR_SETTERS__",n=>Di=n)}const to=e=>{const t=It;return Eu(e),e.scope.on(),()=>{e.scope.off(),Eu(t)}},ra=()=>{It&&It.scope.off(),Eu(null)};function fb(e){return e.vnode.shapeFlag&4}let Di=!1;function _2(e,t=!1,n=!1){t&&vi(t);const{props:r,children:s}=e.vnode,i=fb(e);QT(e,r,i,t),n2(e,s,n||t);const o=i?v2(e,t):void 0;return t&&vi(!1),o}function v2(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,MT);const{setup:r}=n;if(r){Ir();const s=e.setupContext=r.length>1?hb(e):null,i=to(e),o=Ha(r,e,0,[e.props,s]),c=$h(o);if($r(),i(),(c||e.sp)&&!Sr(e)&&Ov(e),c){if(o.then(ra,ra),t)return o.then(a=>{Id(e,a)}).catch(a=>{Ua(a,e,0)});e.asyncDep=o}else Id(e,o)}else db(e)}function Id(e,t,n){Se(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Me(t)&&(e.setupState=bv(t)),db(e)}function db(e,t,n){const r=e.type;e.render||(e.render=r.render||jn);{const s=to(e);Ir();try{jT(e)}finally{$r(),s()}}}const b2={get(e,t){return kt(e,"get",""),e[t]}};function hb(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,b2),slots:e.slots,emit:e.emit,expose:t}}function bl(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(bv(rT(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Lo)return Lo[n](e)},has(t,n){return n in t||n in Lo}})):e.proxy}function $d(e,t=!0){return Se(e)?e.displayName||e.name:e.name||t&&e.__name}function w2(e){return Se(e)&&"__vccOpts"in e}const we=(e,t)=>dT(e,t,Di);function Qe(e,t,n){try{Su(-1);const r=arguments.length;return r===2?Me(t)&&!me(t)?Bs(t)?de(e,null,[t]):de(e,t):de(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Bs(n)&&(n=[n]),de(e,t,n))}finally{Su(1)}}const S2="3.5.34";/** 17* @vue/runtime-dom v3.5.34 18* (c) 2018-present Yuxi (Evan) You and Vue contributors 19* @license MIT
20**/let Rd;const $g=typeof window<"u"&&window.trustedTypes;if($g)try{Rd=$g.createPolicy("vue",{createHTML:e=>e})}catch{}const pb=Rd?e=>Rd.createHTML(e):e=>e,E2="http://www.w3.org/2000/svg",T2="http://www.w3.org/1998/Math/MathML",ar=typeof document<"u"?document:null,Rg=ar&&ar.createElement("template"),C2={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?ar.createElementNS(E2,e):t==="mathml"?ar.createElementNS(T2,e):n?ar.createElement(e,{is:n}):ar.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>ar.createTextNode(e),createComment:e=>ar.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ar.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,i){const o=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{Rg.innerHTML=pb(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const c=Rg.content;if(r==="svg"||r==="mathml"){const a=c.firstChild;for(;a.firstChild;)c.appendChild(a.firstChild);c.removeChild(a)}t.insertBefore(c,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Vr="transition",vo="animation",ji=Symbol("_vtc"),gb={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},mb=ht({},Iv,gb),A2=e=>(e.displayName="Transition",e.props=mb,e),k2=A2((e,{slots:t})=>Qe(ET,yb(e),t)),_s=(e,t=[])=>{me(e)?e.forEach(n=>n(...t)):e&&e(...t)},Pg=e=>e?me(e)?e.some(t=>t.length>1):e.length>1:!1;function yb(e){const t={};for(const C in e)C in gb||(t[C]=e[C]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:c=`${n}-enter-to`,appearFromClass:a=i,appearActiveClass:u=o,appearToClass:l=c,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,d=I2(s),g=d&&d[0],v=d&&d[1],{onBeforeEnter:_,onEnter:y,onEnterCancelled:m,onLeave:b,onLeaveCancelled:E,onBeforeAppear:$=_,onAppear:A=y,onAppearCancelled:D=m}=t,H=(C,P,R,k)=>{C._enterCancelled=k,zr(C,P?l:c),zr(C,P?u:o),R&&R()},B=(C,P)=>{C._isLeaving=!1,zr(C,f),zr(C,p),zr(C,h),P&&P()},V=C=>(P,R)=>{const k=C?A:y,T=()=>H(P,C,R);_s(k,[P,T]),Og(()=>{zr(P,C?a:i),In(P,C?l:c),Pg(k)||xg(P,r,g,T)})};return ht(t,{onBeforeEnter(C){_s(_,[C]),In(C,i),In(C,o)},onBeforeAppear(C){_s($,[C]),In(C,a),In(C,u)},onEnter:V(!1),onAppear:V(!0),onLeave(C,P){C._isLeaving=!0;const R=()=>B(C,P);In(C,f),C._enterCancelled?(In(C,h),Pd(C)):(Pd(C),In(C,h)),Og(()=>{C._isLeaving&&(zr(C,f),In(C,p),Pg(b)||xg(C,r,v,R))}),_s(b,[C,R])},onEnterCancelled(C){H(C,!1,void 0,!0),_s(m,[C])},onAppearCancelled(C){H(C,!0,void 0,!0),_s(D,[C])},onLeaveCancelled(C){B(C),_s(E,[C])}})}function I2(e){if(e==null)return null;if(Me(e))return[gf(e.enter),gf(e.leave)];{const t=gf(e);return[t,t]}}function gf(e){return Z_(e)}function In(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ji]||(e[ji]=new Set)).add(t)}function zr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[ji];n&&(n.delete(t),n.size||(e[ji]=void 0))}function Og(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let $2=0;function xg(e,t,n,r){const s=e._endId=++$2,i=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:c,propCount:a}=_b(e,t);if(!o)return r();const u=o+"end";let l=0;const f=()=>{e.removeEventListener(u,h),i()},h=p=>{p.target===e&&++l>=a&&f()};setTimeout(()=>{l<a&&f()},c+1),e.addEventListener(u,h)}function _b(e,t){const n=window.getComputedStyle(e),r=d=>(n[d]||"").split(", "),s=r(`${Vr}Delay`),i=r(`${Vr}Duration`),o=Lg(s,i),c=r(`${vo}Delay`),a=r(`${vo}Duration`),u=Lg(c,a);let l=null,f=0,h=0;t===Vr?o>0&&(l=Vr,f=o,h=i.length):t===vo?u>0&&(l=vo,f=u,h=a.length):(f=Math.max(o,u),l=f>0?o>u?Vr:vo:null,h=l?l===Vr?i.length:a.length:0);const p=l===Vr&&/\b(?:transform|all)(?:,|$)/.test(r(`${Vr}Property`).toString());return{type:l,timeout:f,propCount:h,hasTransform:p}}function Lg(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Mg(n)+Mg(e[r])))}function Mg(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Pd(e){return(e?e.ownerDocument:document).body.offsetHeight}function R2(e,t,n){const r=e[ji];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ng=Symbol("_vod"),P2=Symbol("_vsh"),O2=Symbol(""),x2=/(?:^|;)\s*display\s*:/;function L2(e,t,n){const r=e.style,s=Ye(n);let i=!1;if(n&&!s){if(t)if(Ye(t))for(const o of t.split(";")){const c=o.slice(0,o.indexOf(":")).trim();n[c]==null&&Ao(r,c,"")}else for(const o in t)n[o]==null&&Ao(r,o,"");for(const o in n){o==="display"&&(i=!0);const c=n[o];c!=null?N2(e,o,!Ye(t)&&t?t[o]:void 0,c)||Ao(r,o,c):Ao(r,o,"")}}else if(s){if(t!==n){const o=r[O2];o&&(n+=";"+o),r.cssText=n,i=x2.test(n)}}else t&&e.removeAttribute("style");
vendor: 4,158 bytes, line 20
20Ng in e&&(e[Ng]=i?r.display:"",e[P2]&&(r.display="none"))}const Dg=/\s*!important$/;function Ao(e,t,n){if(me(n))n.forEach(r=>Ao(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=M2(e,t);Dg.test(n)?e.setProperty(ds(r),n.replace(Dg,""),"important"):e[r]=n}}const jg=["Webkit","Moz","ms"],mf={};function M2(e,t){const n=mf[t];if(n)return n;let r=Dt(t);if(r!=="filter"&&r in e)return mf[t]=r;r=cl(r);for(let s=0;s<jg.length;s++){const i=jg[s]+r;if(i in e)return mf[t]=i}return t}function N2(e,t,n,r){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&Ye(r)&&n===r}const Fg="http://www.w3.org/1999/xlink";function Hg(e,t,n,r,s,i=ME(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Fg,t.slice(6,t.length)):e.setAttributeNS(Fg,t,n):n==null||i&&!ev(n)?e.removeAttribute(t):e.setAttribute(t,i?"":en(n)?String(n):n)}function Ug(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?pb(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const c=i==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(c!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=ev(n):n==null&&c==="string"?(n="",o=!0):c==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(s||t)}function Yr(e,t,n,r){e.addEventListener(t,n,r)}function D2(e,t,n,r){e.removeEventListener(t,n,r)}const Vg=Symbol("_vei");function j2(e,t,n,r,s=null){const i=e[Vg]||(e[Vg]={}),o=i[t];if(r&&o)o.value=r;else{const[c,a]=F2(t);if(r){const u=i[t]=V2(r,s);Yr(e,c,u,a)}else o&&(D2(e,c,o,a),i[t]=void 0)}}const Bg=/(?:Once|Passive|Capture)$/;function F2(e){let t;if(Bg.test(e)){t={};let r;for(;r=e.match(Bg);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):ds(e.slice(2)),t]}let yf=0;const H2=Promise.resolve(),U2=()=>yf||(H2.then(()=>yf=0),yf=Date.now());function V2(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;bn(B2(r,n.value),t,5,[r])};return n.value=e,n.attached=U2(),n}function B2(e,t){if(me(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const qg=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,q2=(e,t,n,r,s,i)=>{const o=s==="svg";t==="class"?R2(e,r,o):t==="style"?L2(e,n,r):ja(t)?sl(t)||j2(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):W2(e,t,r,o))?(Ug(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Hg(e,t,r,o,i,t!=="value")):e._isVueCE&&(z2(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Ye(r)))?Ug(e,Dt(t),r,i,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Hg(e,t,r,o))};function W2(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&qg(t)&&Se(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return qg(t)&&Ye(n)?!1:t in e}function z2(e,t){const n=e._def.props;if(!n)return!1;const r=Dt(t);return Array.isArray(n)?n.some(s=>Dt(s)===r):Object.keys(n).some(s=>Dt(s)===r)}const vb=new WeakMap,bb=new WeakMap,Tu=Symbol("_moveCb"),Wg=Symbol("_enterCb"),K2=e=>(delete e.props.mode,e),G2=K2({name:"TransitionGroup",props:ht({},mb,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=wn(),r=kv();let s,i;return Uh(()=>{if(!s.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!Z2(s[0].el,n.vnode.el,o)){s=[];return}s.forEach(J2),s.forEach(X2);const c=s.filter(Q2);Pd(n.vnode.el),c.forEach(a=>{const u=a.el,l=u.style;In(u,o),l.transform=l.webkitTransform=l.transitionDuration="";const f=u[Tu]=h=>{h&&h.target!==u||(!h||h.propertyName.endsWith("transform"))&&(u.removeEventListener("transitionend",f),u[Tu]=null,zr(u,o))};u.addEventListener("transitionend",f)}),s=[]}
20),()=>{const o=$e(e),c=yb(o);let a=o.tag||ce;if(s=[],i)for(let u=0;u<i.length;u++){const l=i[u];l.el&&l.el instanceof Element&&(s.push(l),is(l,ta(l,c,r,n)),vb.set(l,wb(l.el)))}i=t.default?Hh(t.default()):[];for(let u=0;u<i.length;u++){const l=i[u];l.key!=null&&is(l,ta(l,c,r,n))}return de(a,null,i)}}}),Y2=G2;function J2(e){const t=e.el;t[Tu]&&t[Tu](),t[Wg]&&t[Wg]()}function X2(e){bb.set(e,wb(e.el))}function Q2(e){const t=vb.get(e),n=bb.get(e),r=t.left-n.left,s=t.top-n.top;if(r||s){const i=e.el,o=i.style,c=i.getBoundingClientRect();let a=1,u=1;return i.offsetWidth&&(a=c.width/i.offsetWidth),i.offsetHeight&&(u=c.height/i.offsetHeight),(!Number.isFinite(a)||a===0)&&(a=1),(!Number.isFinite(u)||u===0)&&(u=1),Math.abs(a-1)<.01&&(a=1),Math.abs(u-1)<.01&&(u=1),o.transform=o.webkitTransform=`translate(${r/a}px,${s/u}px)`,o.transitionDuration="0s",e}}function wb(e){const t=e.getBoundingClientRect();return{left:t.left,top:t.top}}function Z2(e,t,n){const r=e.cloneNode(),s=e[ji];s&&s.forEach(c=>{c.split(/\s+/).forEach(a=>a&&r.classList.remove(a))}),n.split(/\s+/).forEach(c=>c&&r.classList.add(c)),r.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(r);const{hasTransform:o}=_b(r);return i.removeChild(r),o}const Fi=e=>{const t=e.props["onUpdate:modelValue"]||!1;return me(t)?n=>gi(t,n):t};function eC(e){e.target.composing=!0}function zg(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Er=Symbol("_assign");function Kg(e,t,n){return t&&(e=e.trim()),n&&(e=Rh(e)),e}const Ks={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[Er]=Fi(s);const i=r||s.props&&s.props.type==="number";Yr(e,t?"change":"input",o=>{o.target.composing||e[Er](Kg(e.value,n,i))}),(n||i)&&Yr(e,"change",()=>{e.value=Kg(e.value,n,i)}),t||(Yr(e,"compositionstart",eC),Yr(e,"compositionend",zg),Yr(e,"change",zg))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:i}},o){if(e[Er]=Fi(o),e.composing)return;const c=(i||e.type==="number")&&!/^0\d/.test(e.value)?Rh(e.value):e.value,a=t??"";if(c===a)return;const u=e.getRootNode();(u instanceof Document||u instanceof ShadowRoot)&&u.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===a)||(e.value=a)}},Sb={deep:!0,created(e,t,n){e[Er]=Fi(n),Yr(e,"change",()=>{const r=e._modelValue,s=Eb(e),i=e.checked,o=e[Er];if(me(r)){const c=tv(r,s),a=c!==-1;if(i&&!a)o(r.concat(s));else if(!i&&a){const u=[...r];u.splice(c,1),o(u)}}else if(il(r)){const c=new Set(r);i?c.add(s):c.delete(s),o(c)}else o(Tb(e,i))})},mounted:Gg,beforeUpdate(e,t,n){e[Er]=Fi(n),Gg(e,t,n)}};function Gg(e,{value:t,oldValue:n},r){e._modelValue=t;let s;if(me(t))s=tv(t,r.props.value)>-1;else if(il(t))s=t.has(r.props.value);else{if(t===n)return;s=Vs(t,Tb(e,!0))}e.checked!==s&&(e.checked=s)}const tC={created(e,{value:t},n){e.checked=Vs(t,n.props.value),e[Er]=Fi(n),Yr(e,"change",()=>{e[Er](Eb(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Er]=Fi(r),t!==n&&(e.checked=Vs(t,r.props.value))}};function Eb(e){return"_value"in e?e._value:e.value}function Tb(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const nC=["ctrl","shift","alt","meta"],rC={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>nC.some(n=>e[`${n}Key`]&&!t.includes(n))},bi=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((s,...i)=>{for(let o=0;o<t.length;o++){const c=rC[t[o]];if(c&&c(s,t))return}return e(s,...i)}))},sC={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Fr=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=(s=>{if(!("key"in s))return;const i=ds(s.key);if(t.some(o=>o===i||sC[o]===i))return e(s)}))},Cb=ht({patchProp:q2},C2);let Do,Yg=!1;function iC(){return Do||(Do=s2(Cb))}function oC(){return Do=Yg?Do:i2(Cb),Yg=!0,Do}const aC=((...e)=>{const t=iC().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=kb(r);if(!s)return;const i=t._component;!Se(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const o=n(s,!1,Ab(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t}),cC=((...e)=>{const t=oC().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=kb(r);if(s)return n(s,!0,Ab(s))},t});function Ab(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function kb(e){return Ye(e)?document.querySelector(e):e}const uC=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,lC=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,fC=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function dC(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){return}return t}function sa(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!fC.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}
20try{if(uC.test(e)||lC.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,dC)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const hC=/#/g,pC=/&/g,gC=/\//g,mC=/=/g,zh=/\+/g,yC=/%5e/gi,_C=/%60/gi,vC=/%7c/gi,bC=/%20/gi;function wC(e){return encodeURI(""+e).replace(vC,"|")}function Od(e){return wC(typeof e=="string"?e:JSON.stringify(e)).replace(zh,"%2B").replace(bC,"+").replace(hC,"%23").replace(pC,"%26").replace(_C,"`").replace(yC,"^").replace(gC,"%2F")}function _f(e){return Od(e).replace(mC,"%3D")}function Cu(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function SC(e){return Cu(e.replace(zh," "))}function EC(e){return Cu(e.replace(zh," "))}function Kh(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const s=SC(r[1]);if(s==="__proto__"||s==="constructor")continue;const i=EC(r[2]||"");t[s]===void 0?t[s]=i:Array.isArray(t[s])?t[s].push(i):t[s]=[t[s],i]}return t}function TC(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${_f(e)}=${Od(n)}`).join("&"):`${_f(e)}=${Od(t)}`:_f(e)}function CC(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>TC(t,e[t])).filter(Boolean).join("&")}const AC=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Ib=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,kC=/^([/\\]\s*){2,}[^/\\]/,IC=/^[\s\0]*(blob|data|javascript|vbscript):$/i,$C=/\/$|\/\?|\/#/,RC=/^\.?\//;function Zn(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?AC.test(e):Ib.test(e)||(t.acceptRelative?kC.test(e):!1)}function PC(e){return!!e&&IC.test(e)}function xd(e="",t){return t?$C.test(e):e.endsWith("/")}function Hi(e="",t){if(!t)return(xd(e)?e.slice(0,-1):e)||"/";if(!xd(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");s!==-1&&(n=e.slice(0,s),r=e.slice(s));const[i,...o]=n.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(o.length>0?`?${o.join("?")}`:"")+r}function $b(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(xd(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");if(s!==-1&&(n=e.slice(0,s),r=e.slice(s),!n))return r;const[i,...o]=n.split("?");return i+"/"+(o.length>0?`?${o.join("?")}`:"")+r}function OC(e,t){if(Pb(t)||Zn(e))return e;const n=Hi(t);if(e.startsWith(n)){const r=e[n.length];if(!r||r==="/"||r==="?")return e}return wl(n,e)}function Jg(e,t){if(Pb(t))return e;const n=Hi(t);if(!e.startsWith(n))return e;const r=e[n.length];return r&&r!=="/"&&r!=="?"?e:"/"+e.slice(n.length).replace(/^\/+/,"")}function Rb(e,t){const n=Lb(e),r={...Kh(n.search),...t};return n.search=CC(r),DC(n)}function Pb(e){return!e||e==="/"}function xC(e){return e&&e!=="/"}function wl(e,...t){let n=e||"";for(const r of t.filter(s=>xC(s)))if(n){const s=r.replace(RC,"");n=$b(n)+s}else n=r;return n}function Ob(...e){var o,c,a,u;const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let s=0;for(const l of n)if(!(!l||l==="/")){for(const[f,h]of l.split(t).entries())if(!(!h||h===".")){if(h===".."){if(r.length===1&&Zn(r[0]))continue;r.pop(),s--;continue}if(f===1&&((o=r[r.length-1])!=null&&o.endsWith(":/"))){r[r.length-1]+="/"+h;continue}r.push(h),s++}}let i=r.join("/");return s>=0?(c=n[0])!=null&&c.startsWith("/")&&!i.startsWith("/")?i="/"+i:(a=n[0])!=null&&a.startsWith("./")&&!i.startsWith("./")&&(i="./"+i):i="../".repeat(-1*s)+i,(u=n[n.length-1])!=null&&u.endsWith("/")&&!i.endsWith("/")&&(i+="/"),i}function LC(e){return MC(e,"https://")}function MC(e,t){let n=e.match(Ib);return n||(n=e.match(/^\/{2,}/)),n?t+e.slice(n[0].length):t+e}function NC(e,t){return Cu(Hi(e))===Cu(Hi(t))}const xb=Symbol.for("ufo:protocolRelative");
20function Lb(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,h=""]=n;return{protocol:f.toLowerCase(),pathname:h,href:f+h,auth:"",host:"",search:"",hash:""}}if(!Zn(e,{acceptRelative:!0}))return Xg(e);const[,r="",s,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,o="",c=""]=i.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(c=c.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:a,search:u,hash:l}=Xg(c);return{protocol:r.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:o,pathname:a,search:u,hash:l,[xb]:!r}}function Xg(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function DC(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",s=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[xb]?(e.protocol||"")+"//":"")+s+i+t+n+r}class jC extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function FC(e){var a,u,l,f,h;const t=((a=e.error)==null?void 0:a.message)||((u=e.error)==null?void 0:u.toString())||"",n=((l=e.request)==null?void 0:l.method)||((f=e.options)==null?void 0:f.method)||"GET",r=((h=e.request)==null?void 0:h.url)||String(e.request)||"/",s=`[${n}] ${JSON.stringify(r)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",o=`${s}: ${i}${t?` ${t}`:""}`,c=new jC(o,e.error?{cause:e.error}:void 0);for(const p of["request","options","response"])Object.defineProperty(c,p,{get(){return e[p]}});for(const[p,d]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(c,p,{get(){return e.response&&e.response[d]}});return c}const HC=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Qg(e="GET"){return HC.has(e.toUpperCase())}function UC(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer||e instanceof FormData||e instanceof URLSearchParams?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const VC=new Set(["image/svg","application/xml","application/xhtml","application/html"]),BC=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function qC(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return BC.test(t)?"json":t==="text/event-stream"?"stream":VC.has(t)||t.startsWith("text/")?"text":"blob"}function WC(e,t,n,r){const s=zC((t==null?void 0:t.headers)??(e==null?void 0:e.headers),n==null?void 0:n.headers,r);let i;return(n!=null&&n.query||n!=null&&n.params||t!=null&&t.params||t!=null&&t.query)&&(i={...n==null?void 0:n.params,...n==null?void 0:n.query,...t==null?void 0:t.params,...t==null?void 0:t.query}),{...n,...t,query:i,params:i,headers:s}}function zC(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[s,i]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(s,i);return r}async function Rc(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const KC=new Set([408,409,425,429,500,502,503,504]),GC=new Set([101,204,205,304]);function Mb(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function s(c){const a=c.error&&c.error.name==="AbortError"&&!c.options.timeout||!1;if(c.options.retry!==!1&&!a){let l;typeof c.options.retry=="number"?l=c.options.retry:l=Qg(c.options.method)?0:1;const f=c.response&&c.response.status||500;if(l>0&&(Array.isArray(c.options.retryStatusCodes)?c.options.retryStatusCodes.includes(f):KC.has(f))){const h=typeof c.options.retryDelay=="function"?c.options.retryDelay(c):c.options.retryDelay||0;return h>0&&await new Promise(p=>setTimeout(p,h)),i(c.request,{...c.options,retry:l-1})}}const u=FC(c);throw Error.captureStackTrace&&Error.captureStackTrace(u,i),u}const i=async function(a,u={}){const l={request:a,options:WC(a,u,e.defaults,n),response:void 0,error:void 0};if(l.options.method&&(l.options.method=l.options.method.toUpperCase()),l.options.onRequest&&(await Rc(l,l.options.onRequest),l.options.headers instanceof n||(l.options.headers=new n(l.options.headers||{}))),typeof l.request=="string"&&(l.options.baseURL&&(l.request=OC(l.request,l.options.baseURL)),l.options.query&&(l.request=Rb(l.request,l.options.query),delete l.options.query),"query"in l.options&&delete l.options.query,"params"in l.options&&delete l.options.params),l.options.body&&Qg(l.options.method))if(UC(l.options.body)){const p=l.options.headers.get("content-type");typeof l.options.body!="string"&&(l.options.body=p==="application/x-www-form-urlencoded"?new URLSearchParams(l.options.body).toString():JSON.stringify(l.options.body)),p||l.options.headers.set("content-type","application/json"),l.options.headers.has("accept")||l.options.headers.set("accept","application/json")}else("pipeTo"in l.options.body&&typeof l.options.body.pipeTo=="function"||typeof l.options.body.pipe=="function")&&("duplex"in l.options||(l.options.duplex="half"));let f;if(!l.options.signal&&l.options.timeout){const p=new r;f=setTimeout(()=>{const d=new Error("[TimeoutError]: The operation was aborted due to timeout");d.name="TimeoutError",d.code=23,p.abort(d)}
20,l.options.timeout),l.options.signal=p.signal}try{l.response=await t(l.request,l.options)}catch(p){return l.error=p,l.options.onRequestError&&await Rc(l,l.options.onRequestError),await s(l)}finally{f&&clearTimeout(f)}if((l.response.body||l.response._bodyInit)&&!GC.has(l.response.status)&&l.options.method!=="HEAD"){const p=(l.options.parseResponse?"json":l.options.responseType)||qC(l.response.headers.get("content-type")||"");switch(p){case"json":{const d=await l.response.text(),g=l.options.parseResponse||sa;l.response._data=g(d);break}case"stream":{l.response._data=l.response.body||l.response._bodyInit;break}default:l.response._data=await l.response[p]()}}return l.options.onResponse&&await Rc(l,l.options.onResponse),!l.options.ignoreResponseError&&l.response.status>=400&&l.response.status<600?(l.options.onResponseError&&await Rc(l,l.options.onResponseError),await s(l)):l.response},o=async function(a,u){return(await i(a,u))._data};return o.raw=i,o.native=(...c)=>t(...c),o.create=(c={},a={})=>Mb({...e,...a,defaults:{...e.defaults,...a.defaults,...c}}),o}const Au=(function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")})(),YC=Au.fetch?(...e)=>Au.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),JC=Au.Headers,XC=Au.AbortController,QC=Mb({fetch:YC,Headers:JC,AbortController:XC}),ZC=QC,eA=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},Gh=()=>eA().app,tA=()=>Gh().baseURL,nA=()=>Gh().buildAssetsDir,Yh=(...e)=>Ob(Nb(),nA(),...e),Nb=(...e)=>{const t=Gh(),n=t.cdnURL||t.baseURL;return e.length?Ob(n,...e):n};globalThis.__buildAssetsURL=Yh,globalThis.__publicAssetsURL=Nb;globalThis.$fetch||(globalThis.$fetch=ZC.create({baseURL:tA()}));"global"in globalThis||(globalThis.global=globalThis);function Ld(e,t={},n){for(const r in e){const s=e[r],i=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?Ld(s,t,i):typeof s=="function"&&(t[i]=s)}return t}const rA={run:e=>e()},sA=()=>rA,Db=typeof console.createTask<"u"?console.createTask:sA;function iA(e,t){const n=t.shift(),r=Db(n);return e.reduce((s,i)=>s.then(()=>r.run(()=>i(...t))),Promise.resolve())}function oA(e,t){const n=t.shift(),r=Db(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function vf(e,t){for(const n of[...e])n(t)}let aA=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 s=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!r.allowDeprecated){let o=i.message;o||(o=`${s} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(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,s=(...i)=>(typeof r=="function"&&r(),r=void 0,s=void 0,n(...i));return r=this.hook(t,s),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 s of r)this.hook(t,s)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Ld(t),r=Object.keys(n).map(s=>this.hook(s,n[s]));return()=>{for(const s of r.splice(0,r.length))s()}}removeHooks(t){const n=Ld(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(iA,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(oA,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;
20this._before&&vf(this._before,s);const i=t(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&s&&vf(this._after,s)}):(this._after&&s&&vf(this._after,s),i)}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 cA(){return new aA}function uA(e={}){let t,n=!1;const r=o=>{if(t&&t!==o)throw new Error("Context conflict")};let s;if(e.asyncContext){const o=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;o&&(s=new o)}const i=()=>{if(s){const o=s.getStore();if(o!==void 0)return o}return t};return{use:()=>{const o=i();if(o===void 0)throw new Error("Context is not available");return o},tryUse:()=>i(),set:(o,c)=>{c||r(o),t=o,n=!0},unset:()=>{t=void 0,n=!1},call:(o,c)=>{r(o),t=o;try{return s?s.run(o,c):c()}finally{n||(t=void 0)}},async callAsync(o,c){t=o;const a=()=>{t=o},u=()=>t===o?a:void 0;Md.add(u);try{const l=s?s.run(o,c):c();return n||(t=void 0),await l}finally{Md.delete(u)}}}}function lA(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=uA({...e,...r})),t[n]}}}const ku=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Zg="__unctx__",fA=ku[Zg]||(ku[Zg]=lA()),dA=(e,t={})=>fA.get(e,t),em="__unctx_async_handlers__",Md=ku[em]||(ku[em]=new Set);function Ls(e){const t=[];for(const s of Md){const i=s();i&&t.push(i)}const n=()=>{for(const s of t)s()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(s=>{throw n(),s})),[r,n]}const hA=!1,tm=!1,pA=!1,gA={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},vr={value:null,errorValue:null,deep:!0},mA=null,yA="#__nuxt",jb="nuxt-app",nm=36e5,_A="vite:preloadError";function Fb(e=jb){return dA(e,{asyncContext:!1})}const vA="__nuxt_plugin";function bA(e){var s;let t=0;const n={_id:e.id||jb||"nuxt-app",_scope:DE(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.17.7"},get vue(){return n.vueApp.version}},payload:Dn({...((s=e.ssrContext)==null?void 0:s.payload)||{},data:Dn({}),state:Jn({}),once:new Set,_errors:Dn({})}),static:{data:{}},runWithContext(i){return n._scope.active&&!Fa()?n._scope.run(()=>rm(n,i)):rm(n,i)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let i=!1;return()=>{if(!i&&(i=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:Dn({}),_payloadRevivers:{},...e};{const i=window.__NUXT__;if(i)for(const o in i)switch(o){case"data":case"state":case"_errors":Object.assign(n.payload[o],i[o]);break;default:n.payload[o]=i[o]}}n.hooks=cA(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(i,o)=>{const c="$"+i;Pc(n,c,o),Pc(n.vueApp.config.globalProperties,c,o)},Pc(n.vueApp,"$nuxt",n),Pc(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(_A,o=>{n.callHook("app:chunkError",{error:o.payload}),o.payload.message.includes("Unable to preload CSS")&&o.preventDefault()}),window.useNuxtApp||(window.useNuxtApp=qe);const i=n.hook("app:error",(...o)=>{});n.hook("app:mounted",i)}const r=n.payload.config;return n.provide("config",r),n}function wA(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function SA(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function EA(e,t){const n=new Set,r=[],s=[],i=[];let o=0;async function c(a){var l;const u=((l=a.dependsOn)==null?void 0:l.filter(f=>t.some(h=>h._name===f)&&!n.has(f)))??[];if(u.length>0)r.push([new Set(u),a]);else{const f=SA(e,a).then(async()=>{a._name&&(n.add(a._name),await Promise.all(r.map(async([h,p])=>{h.has(a._name)&&(h.delete(a._name),h.size===0&&(o++,await c(p)))})))});a.parallel?s.push(f.catch(h=>i.push(h))):await f}}for(const a of t)wA(e,a);for(const a of t)await c(a);if(await Promise.all(s),o)for(let a=0;a<o;a++)await Promise.all(s);if(i.length)throw i[0]}function Ct(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[vA]:!0,_name:t})}function rm(e,t,n){const r=()=>t();return Fb(e._id).set(e),e.vueApp.runWithContext(r)}function Hb(e){var n;let t;return pl()&&(t=(n=wn())==null?void 0:n.appContext.app.$nuxt),t||(t=Fb(e).tryUse()),t||null}function qe(e){const t=Hb(e);
20if(!t)throw new Error("[nuxt] instance unavailable");return t}function Gs(e){return qe().$config}function Pc(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function TA(e,t){return{ctx:{table:e},matchAll:n=>Vb(n,e)}}function Ub(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,s])=>[r,Ub(s)])):new Map(Object.entries(e[n]));return t}function CA(e){return TA(Ub(e))}function Vb(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[i,o]of sm(t.wildcard))(e===i||e.startsWith(i+"/"))&&r.push(o);for(const[i,o]of sm(t.dynamic))if(e.startsWith(i+"/")){const c="/"+e.slice(i.length).split("/").splice(2).join("/");r.push(...Vb(c,o))}const s=t.static.get(e);return s&&r.push(s),r.filter(Boolean)}function sm(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function bf(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Nd(e,t,n=".",r){if(!bf(t))return Nd(e,{},n,r);const s={...t};for(const i of Object.keys(e)){if(i==="__proto__"||i==="constructor")continue;const o=e[i];o!=null&&(r&&r(s,i,o,n)||(Array.isArray(o)&&Array.isArray(s[i])?s[i]=[...o,...s[i]]:bf(o)&&bf(s[i])?s[i]=Nd(o,s[i],(n?`${n}.`:"")+i.toString(),r):s[i]=o))}return s}function AA(e){return(...t)=>t.reduce((n,r)=>Nd(n,r,"",e),{})}const Ba=AA();function kA(e,t){try{return t in e}catch{return!1}}class Dd extends Error{constructor(n,r={}){super(n,r);le(this,"statusCode",500);le(this,"fatal",!1);le(this,"unhandled",!1);le(this,"statusMessage");le(this,"data");le(this,"cause");r.cause&&!this.cause&&(this.cause=r.cause)}toJSON(){const n={message:this.message,statusCode:jd(this.statusCode,500)};return this.statusMessage&&(n.statusMessage=Bb(this.statusMessage)),this.data!==void 0&&(n.data=this.data),n}}le(Dd,"__h3_error__",!0);function IA(e){if(typeof e=="string")return new Dd(e);if($A(e))return e;const t=new Dd(e.message??e.statusMessage??"",{cause:e.cause||e});if(kA(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=jd(e.statusCode,t.statusCode):e.status&&(t.statusCode=jd(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage,r=Bb(t.statusMessage)}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function $A(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const RA=/[^\u0009\u0020-\u007E]/g;function Bb(e=""){return e.replace(RA,"")}function jd(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const qb=Symbol("layout-meta"),qs=Symbol("route"),Tt=()=>{var e;return(e=qe())==null?void 0:e.$router},Sl=()=>pl()?ut(qs,qe()._route):qe()._route;const PA=()=>{try{if(qe()._processingMiddleware)return!0}catch{return!1}return!1},Wb=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:"path"in e?Fd(e):Tt().resolve(e).href;if(t!=null&&t.open){const{target:a="_blank",windowFeatures:u={}}=t.open,l=Object.entries(u).filter(([f,h])=>h!==void 0).map(([f,h])=>`${f.toLowerCase()}=${h}`).join(", ");return open(n,a,l),Promise.resolve()}const r=Zn(n,{acceptRelative:!0}),s=(t==null?void 0:t.external)||r;if(s){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:a}=new URL(n,window.location.href);
20if(a&&PC(a))throw new Error(`Cannot navigate to a URL with '${a}' protocol.`)}const i=PA();if(!s&&i){if(t!=null&&t.replace){if(typeof e=="string"){const{pathname:a,search:u,hash:l}=Lb(e);return{path:a,...u&&{query:Kh(u)},...l&&{hash:l},replace:!0}}return{...e,replace:!0}}return e}const o=Tt(),c=qe();return s?(c._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,i?c.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?o.replace(e):o.push(e)};function Fd(e){return Rb(e.path||"",e.query||{})+(e.hash||"")}const zb="__nuxt_error",qa=()=>Dh(qe().payload,"error"),Es=e=>{const t=ts(e);try{const n=qe(),r=qa();n.hooks.callHook("app:error",t),r.value||(r.value=t)}catch{throw t}return t},OA=async(e={})=>{const t=qe(),n=qa();t.callHook("app:error:cleared",e),e.redirect&&await Tt().replace(e.redirect),n.value=mA},Jh=e=>!!e&&typeof e=="object"&&zb in e,ts=e=>{const t=IA(e);return Object.defineProperty(t,zb,{value:!0,configurable:!1,writable:!1}),t},xA=-1,LA=-2,MA=-3,NA=-4,DA=-5,jA=-6,FA=-7,Kb=2**32-1,Hd=Kb-1;function HA(e){return!(!Number.isInteger(e)||e<0||e>Hd)}function UA(e){return!(!Number.isInteger(e)||e<0||e>Kb)}function VA(e){return Uint8Array.fromBase64(e).buffer}function BA(e){return Uint8Array.from(Buffer.from(e,"base64")).buffer}function qA(e){const t=atob(e),n=t.length,r=new Uint8Array(n);for(let s=0;s<n;s++)r[s]=t.charCodeAt(s);return r.buffer}const WA=typeof Uint8Array.fromBase64=="function";var K_;const zA=typeof process=="object"&&((K_=process.versions)==null?void 0:K_.node)!==void 0,KA=WA?VA:zA?BA:qA;function GA(e,t){return YA(JSON.parse(e),t)}function YA(e,t){if(typeof e=="number")return i(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);let s=null;function i(o,c=!1){if(o===xA)return;if(o===MA)return NaN;if(o===NA)return 1/0;if(o===DA)return-1/0;if(o===jA)return-0;if(c||typeof o!="number")throw new Error("Invalid input");if(o in r)return r[o];const a=n[o];if(!a||typeof a!="object")r[o]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const u=a[0],l=t&&Object.hasOwn(t,u)?t[u]:void 0;if(l){let f=a[1];if(typeof f!="number"&&(f=n.push(a[1])-1),s??(s=new Set),s.has(f))throw new Error("Invalid circular reference");return s.add(f),r[o]=l(i(f)),s.delete(f),r[o]}switch(u){case"Date":r[o]=new Date(a[1]);break;case"Set":const f=new Set;r[o]=f;for(let d=1;d<a.length;d+=1)f.add(i(a[d]));break;case"Map":const h=new Map;r[o]=h;for(let d=1;d<a.length;d+=2)h.set(i(a[d]),i(a[d+1]));break;case"RegExp":r[o]=new RegExp(a[1],a[2]);break;case"Object":{const d=a[1];if(typeof n[d]=="object"&&n[d][0]!=="BigInt")throw new Error("Invalid input");r[o]=Object(i(d));break}case"BigInt":r[o]=BigInt(a[1]);break;case"null":const p=Object.create(null);r[o]=p;for(let d=1;d<a.length;d+=2){if(a[d]==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");p[a[d]]=i(a[d+1])}break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Float16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":case"DataView":{if(n[a[1]][0]!=="ArrayBuffer")throw new Error("Invalid data");const d=globalThis[u],g=i(a[1]);r[o]=a[2]!==void 0?new d(g,a[2],a[3]):new d(g);break}case"ArrayBuffer":{const d=a[1];if(typeof d!="string")throw new Error("Invalid ArrayBuffer encoding");const g=KA(d);r[o]=g;break}case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{const d=u.slice(9);r[o]=Temporal[d].from(a[1]);break}case"URL":{const d=new URL(a[1]);r[o]=d;break}case"URLSearchParams":{const d=new URLSearchParams(a[1]);r[o]=d;break}default:throw new Error(`Unknown type ${u}`)}}else if(a[0]===FA){const u=a[1];if(!UA(u))throw new Error("Invalid input");const l=[];r[o]=l,l[Hd]=void 0,delete l[Hd];for(let f=2;f<a.length;f+=2){const h=a[f];if(!HA(h)||h>=u)throw new Error("Invalid input");l[h]=i(a[f+1])}l.length=u}else{const u=new Array(a.length);r[o]=u;for(let l=0;l<a.length;l+=1){const f=a[l];f!==LA&&(u[l]=i(f))}}else{const u={};r[o]=u;for(const l of Object.keys(a)){if(l==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");const f=a[l];u[l]=i(f)}}return r[o]}return i(0)}const JA=new Set(["link","style","script","noscript"]),XA=new Set(["title","titleTemplate","script","style","noscript"]),Ud=new Set(["base","meta","link","style","script","noscript"]),QA=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),ZA=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),ek=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),tk=new Set(["templateParams","htmlAttrs","bodyAttrs"]),nk=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]);function Vd(e,t={},n){for(const r in e){const s=e[r],i=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?Vd(s,t,i):typeof s=="function"&&(t[i]=s)}return t}const Gb=(()=>
20{if(console.createTask)return console.createTask;const e={run:t=>t()};return()=>e})();function Yb(e,t,n,r){for(let s=n;s<e.length;s+=1)try{const i=r?r.run(()=>e[s](...t)):e[s](...t);if(i&&typeof i.then=="function")return Promise.resolve(i).then(()=>Yb(e,t,s+1,r))}catch(i){return Promise.reject(i)}}function rk(e,t,n){if(e.length>0)return Yb(e,t,0,Gb(n))}function sk(e,t,n){if(e.length>0){const r=Gb(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}}function wf(e,t){for(const n of[...e])n(t)}var ik=class{constructor(){le(this,"_hooks");le(this,"_before");le(this,"_after");le(this,"_deprecatedHooks");le(this,"_deprecatedMessages");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(e,t,n={}){if(!e||typeof t!="function")return()=>{};const r=e;let s;for(;this._deprecatedHooks[e];)s=this._deprecatedHooks[e],e=s.to;if(s&&!n.allowDeprecated){let i=s.message;i||(i=`${r} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||this._deprecatedMessages.add(i)}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let n,r=(...s)=>(typeof n=="function"&&n(),n=void 0,r=void 0,t(...s));return n=this.hook(e,r),n}removeHook(e,t){const n=this._hooks[e];if(n){const r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}clearHook(e){this._hooks[e]=void 0}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t=="string"?{to:t}:t;const n=this._hooks[e]||[];this._hooks[e]=void 0;for(const r of n)this.hook(e,r)}deprecateHooks(e){for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=Vd(e),n=Object.keys(t).map(r=>this.hook(r,t[r]));return()=>{for(const r of n)r();n.length=0}}removeHooks(e){const t=Vd(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(rk,e,t)}callHookParallel(e,...t){return this.callHookWith(sk,e,t)}callHookWith(e,t,n){const r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&wf(this._before,r);const s=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return s instanceof Promise?s.finally(()=>{this._after&&r&&wf(this._after,r)}):(this._after&&r&&wf(this._after,r),s)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function ok(){return new ik}const ak=["name","property","http-equiv"],ck=new Set(["viewport","description","keywords","robots"]);function Jb(e){const t=e.split(":");return t.length?nk.has(t[1]):!1}function Bd(e){const{props:t,tag:n}=e;if(ZA.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(n==="link"&&t.rel==="alternate"){if(t.hreflang)return`alternate:${t.hreflang}`;if(t.type)return`alternate:${t.type}:${t.href||""}`}if(t.charset)return"charset";if(e.tag==="meta"){for(const r of ak)if(t[r]!==void 0){const s=t[r],i=s&&typeof s=="string"&&s.includes(":"),o=s&&ck.has(s),a=!(i||o)&&e.key?`:key:${e.key}`:"";return`${n}:${s}${a}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(n==="link"&&t.rel==="alternate")return`alternate:${t.href||""}`;if(XA.has(n)){const r=e.textContent||e.innerHTML;if(r)return`${n}:content:${r}`}}function Xb(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([r,s])=>`${r}:${String(s)}`).join(",")}`}function Iu(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());const s=t?t(n,e):e;if(Array.isArray(s))return s.map(i=>Iu(i,t));if((s==null?void 0:s.constructor)===Object){const i={};for(const o of Object.keys(s))i[o]=Iu(s[o],t,o);return i}return s}function uk(e,t){const n=e==="style"?new Map:new Set;function r(s){if(s==null||s===void 0)return;const i=String(s).trim();if(i)if(e==="style"){const[o,...c]=i.split(":").map(a=>a?a.trim():"");o&&c.length&&n.set(o,c.join(":"))}
20else i.split(" ").filter(Boolean).forEach(o=>n.add(o))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(s=>r(s)):t&&typeof t=="object"&&Object.entries(t).forEach(([s,i])=>{i&&i!=="false"&&(e==="style"?n.set(String(s).trim(),String(i)):r(s))}),n}function Qb(e,t){if(e.props=e.props||{},!t)return e;if(e.tag==="templateParams")return e.props=t,e;const n=Ud.has(e.tag)||e.tag==="htmlAttrs"||e.tag==="bodyAttrs";return Object.entries(t).forEach(([r,s])=>{if(r==="__proto__"||r==="constructor"||r==="prototype")return;if(s===null){e.props[r]=null;return}if(r==="class"||r==="style"){e.props[r]=uk(r,s);return}if(ek.has(r)){if((r==="textContent"||r==="innerHTML")&&typeof s=="object"){let u=t.type;if(t.type||(u="application/json"),!(u!=null&&u.endsWith("json"))&&u!=="speculationrules")return;t.type=u,e.props.type=u,e[r]=JSON.stringify(s)}else e[r]=s;return}const i=r.startsWith("data-"),o=n&&!i?r.toLowerCase():r,c=String(s),a=e.tag==="meta"&&o==="content";c==="true"||c===""?e.props[o]=i||a?c:!0:!s&&i&&c==="false"?e.props[o]="false":s!==void 0&&(e.props[o]=s)}),e}function lk(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=Qb({tag:e,props:{}},n);return r.key&&JA.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(s=>({...r,props:{...r.props,content:s}})):r}function fk(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(s,i)=>{for(let o=0;o<t.length;o++)i=t[o](s,i);return i};e=n(void 0,e);const r=[];return e=Iu(e,n),Object.entries(e||{}).forEach(([s,i])=>{if(i!==void 0)for(const o of Array.isArray(i)?i:[i])r.push(lk(s,o))}),r.flat()}const qd=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,im={base:-10,title:10},dk={critical:-8,high:-1,low:2},om={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},hk=/@import/,bo=e=>e===""||e===!0;function pk(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=dk[t.tagPriority]||0,s=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:om;if(t.tag in im)n=im[t.tag];else if(t.tag==="meta"){const i=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;i&&(n=om.meta[i])}else if(t.tag==="link"&&t.props.rel)n=s.link[t.props.rel];else if(t.tag==="script"){const i=String(t.props.type);bo(t.props.async)?n=s.script.async:t.props.src&&!bo(t.props.defer)&&!bo(t.props.async)&&i!=="module"&&!i.endsWith("json")||t.innerHTML&&!i.endsWith("json")?n=s.script.sync:(bo(t.props.defer)&&t.props.src&&!bo(t.props.async)||i==="module")&&(n=s.script.defer)}else t.tag==="style"&&(n=t.innerHTML&&hk.test(t.innerHTML)?s.style.imported:s.style.sync);return(n||100)+r}function am(e,t){const n=typeof t=="function"?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}function gk(e={}){var c;const t=ok();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,s=new Map,i=new Set,o={_entryCount:1,plugins:s,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:a=>am(o,a),push(a,u){const l={...u||{}};delete l.head;const f=l._index??o._entryCount++,h={_i:f,input:a,options:l},p={_poll(d=!1){o.dirty=!0,!d&&i.add(f),t.callHook("entries:updated",o)},dispose(){r.delete(f)&&o.invalidate()},patch(d){(!l.mode||l.mode==="server"&&n||l.mode==="client"&&!n)&&(h.input=d,r.set(f,h),p._poll())}};return p.patch(a),p},async resolveTags(){const a={tagMap:new Map,tags:[],entries:[...o.entries.values()]};for(await t.callHook("entries:resolve",a);i.size;){const p=i.values().next().value;i.delete(p);const d=r.get(p);if(d){const g={tags:fk(d.input,e.propResolvers||[]).map(v=>Object.assign(v,d.options)),entry:d};await t.callHook("entries:normalize",g),d._tags=g.tags.map((v,_)=>(v._w=pk(o,v),v._p=(d._i<<10)+_,v._d=Bd(v),v._d||(v._h=Xb(v)),v))}}let u=!1;a.entries.flatMap(p=>(p._tags||[]).map(d=>({...d,props:{...d.props}}))).sort(qd).reduce((p,d)=>{const g=d._d||d._h;if(!p.has(g))return p.set(g,d);const v=p.get(g);if(((d==null?void 0:d.tagDuplicateStrategy)||(tk.has(d.tag)?"merge":null)||(d.key&&d.key===v.ke
20y?"merge":null))==="merge"){const y={...v.props};Object.entries(d.props).forEach(([m,b])=>y[m]=m==="style"?new Map([...v.props.style||new Map,...b]):m==="class"?new Set([...v.props.class||new Set,...b]):b),p.set(g,{...d,props:y})}else d._p>>10===v._p>>10&&d.tag==="meta"&&Jb(g)?(p.set(g,Object.assign([...Array.isArray(v)?v:[v],d],d)),u=!0):(d._w===v._w?d._p>v._p:(d==null?void 0:d._w)<(v==null?void 0:v._w))&&p.set(g,d);return p},a.tagMap);const l=a.tagMap.get("title"),f=a.tagMap.get("titleTemplate");if(o._title=l==null?void 0:l.textContent,f){const p=f==null?void 0:f.textContent;if(o._titleTemplate=p,p){let d=typeof p=="function"?p(l==null?void 0:l.textContent):p;typeof d=="string"&&!o.plugins.has("template-params")&&(d=d.replace("%s",(l==null?void 0:l.textContent)||"")),l?d===null?a.tagMap.delete("title"):a.tagMap.set("title",{...l,textContent:d}):(f.tag="title",f.textContent=d)}}a.tags=Array.from(a.tagMap.values()),u&&(a.tags=a.tags.flat().sort(qd)),await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a);const h=[];for(const p of a.tags){const{innerHTML:d,tag:g,props:v}=p;if(QA.has(g)&&!(Object.keys(v).length===0&&!p.innerHTML&&!p.textContent)&&!(g==="meta"&&!v.content&&!v["http-equiv"]&&!v.charset)){if(g==="script"&&d){if(String(v.type).endsWith("json")){const _=typeof d=="string"?d:JSON.stringify(d);p.innerHTML=_.replace(/</g,"\\u003C")}else typeof d=="string"&&(p.innerHTML=d.replace(new RegExp(`</${g}`,"g"),`<\\/${g}`));p._d=Bd(p)}h.push(p)}}return h},invalidate(){for(const a of r.values())i.add(a._i);o.dirty=!0,t.callHook("entries:updated",o)}};return((e==null?void 0:e.plugins)||[]).forEach(a=>am(o,a)),o.hooks.callHook("init",o),(c=e.init)==null||c.forEach(a=>a&&o.push(a)),o}const Sf="%separator";function mk(e,t,n=!1){var s;let r;if(t==="s"||t==="pageTitle")r=e.pageTitle;else if(t.includes(".")){const i=t.indexOf(".");r=(s=e[t.substring(0,i)])==null?void 0:s[t.substring(i+1)]}else r=e[t];if(r!==void 0)return n?(r||"").replace(/\\/g,"\\\\").replace(/</g,"\\u003C").replace(/"/g,'\\"'):r||""}function Oc(e,t,n,r=!1){if(typeof e!="string"||!e.includes("%"))return e;let s=e;try{s=decodeURI(e)}catch{}const i=s.match(/%\w+(?:\.\w+)?/g);if(!i)return e;const o=e.includes(Sf);return e=e.replace(/%\w+(?:\.\w+)?/g,c=>{if(c===Sf||!i.includes(c))return c;const a=mk(t,c.slice(1),r);return a!==void 0?a:c}).trim(),o&&(e=e.split(Sf).map(c=>c.trim()).filter(c=>c!=="").join(n?` ${n} `:" ")),e}const cm=e=>e.includes(":key")?e:e.split(":").join(":key:"),yk={key:"aliasSorting",hooks:{"tags:resolve":e=>{let t=!1;for(const n of e.tags){const r=n.tagPriority;if(!r)continue;const s=String(r);if(s.startsWith("before:")){const i=cm(s.slice(7)),o=e.tagMap.get(i);o&&(typeof o.tagPriority=="number"&&(n.tagPriority=o.tagPriority),n._p=o._p-1,t=!0)}else if(s.startsWith("after:")){const i=cm(s.slice(6)),o=e.tagMap.get(i);o&&(typeof o.tagPriority=="number"&&(n.tagPriority=o.tagPriority),n._p=o._p+1,t=!0)}}t&&(e.tags=e.tags.sort(qd))}}},_k={key:"deprecations",hooks:{"entries:normalize":({tags:e})=>{for(const t of e)t.props.children&&(t.innerHTML=t.props.children,delete t.props.children),t.props.hid&&(t.key=t.props.hid,delete t.props.hid),t.props.vmid&&(t.key=t.props.vmid,delete t.props.vmid),t.props.body&&(t.tagPosition="bodyClose",delete t.props.body)}}};async function Wd(e){if(typeof e==="function")return e;if(e instanceof Promise)return await e;if(Array.isArray(e))return await Promise.all(e.map(n=>Wd(n)));if((e==null?void 0:e.constructor)===Object){const n={};for(const r of Object.keys(e))n[r]=await Wd(e[r]);return n}return e}const vk={key:"promises",hooks:{"entries:resolve":async e=>{const t=[];for(const n in e.entries)e.entries[n]._promisesProcessed||t.push(Wd(e.entries[n].input).then(r=>{e.entries[n].input=r,e.entries[n]._promisesProcessed=!0}));await Promise.all(t)}}},bk={meta:"content",link:"href",htmlAttrs:"lang"},wk=["innerHTML","textContent"],Sk=e=>({key:"template-params",hooks:{"entries:normalize":t=>{var r,s,i;const n=((s=(r=t.tags.filter(o=>o.tag==="templateParams"&&o.mode==="server"))==null?void 0:r[0])==null?void 0:s.props)||{};Object.keys(n).length&&(e._ssrPayload={templateParams:{...((i=e._ssrPayload)==null?void 0:i.templateParams)||{},...n}})},"tags:resolve":({tagMap:t,tags:n})=>{var i;const r=((i=t.get("templateParams"))==null?void 0:i.props)||{},s=r.separator||"|";delete r.separator,r.pageTitle=Oc(r.pageTitle||e._title||"",r,s);for(const o of n){if(o.processTemplateParams===!1)continue;const c=bk[o.tag];if(c&&typeof o.props[c]=="string")o.props[c]=Oc(o.props[c],r,s);else if(o.processTemplateParams||o.tag==="titleTemplate"||o.tag==="title")for(const a of wk)typeof o[a]=="string"&&(o[a]=Oc(o[a],r,s,o.tag==="script"&&o.props.type.endsWith("json")))}e._templateParams=r,e._separator=s},"tags:afterResolve":({tagMap:t})=>{const n=t.get("title");n!=null&&n.textContent&&n.processTemplateParams!==!1&&(n.textContent=Oc(n.textContent,e._templateParams,e._separator))}}}),Ek=(e,t)=>Be(t)?Nh(t):t,Xh="usehead";function Tk(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Xh,e)}}.install}function Ck(){if(pl()){const e=ut(Xh);if(e)return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function Ak(e,t={}){const n=t.head||Ck();return n.ssr?n.push(e||{},t):kk(n,e,t)}function kk(e,t,n={}){const r=tt(!1);let s;return vT(()=>{const o=r.value?{}:Iu(t,Ek);s?s.patch(o):s=e.push(o,n)}),wn()&&(Zi(()=>{s.dispose()}),Lv(()=>{r.value=!0}),xv(()=>{r.value=!1})),s}function Ik(e){var n;const t=e||Hb();return((n=t==null?void 0:t.ssrContext)==null?void 0:n.head)||(t==null?void 0:t.runWithContext(()=>{if(pl())return ut(Xh)}
20))}function Zb(e,t={}){const n=Ik(t.nuxt);if(n)return Ak(e,{head:n,...t})}const $k="modulepreload",Rk=function(e,t){return new URL(e,t).href},um={},yt=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){let o=function(l){return Promise.all(l.map(f=>Promise.resolve(f).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};const c=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),u=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));s=o(n.map(l=>{if(l=Rk(l,r),l in um)return;um[l]=!0;const f=l.endsWith(".css"),h=f?'[rel="stylesheet"]':"";if(!!r)for(let g=c.length-1;g>=0;g--){const v=c[g];if(v.href===l&&(!f||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${h}`))return;const d=document.createElement("link");if(d.rel=f?"stylesheet":$k,f||(d.as="script"),d.crossOrigin="",d.href=l,u&&d.setAttribute("nonce",u),document.head.appendChild(d),f)return new Promise((g,v)=>{d.addEventListener("load",g),d.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${l}`)))})}))}function i(o){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=o,window.dispatchEvent(c),!c.defaultPrevented)throw o}return s.then(o=>{for(const c of o||[])c.status==="rejected"&&i(c.reason);return t().catch(i)})};let Jc,zd;function Pk(){return Jc=$fetch(Yh(`builds/meta/${Gs().app.buildId}.json`),{responseType:"json"}),Jc.then(e=>{zd=CA(e.matcher)}).catch(e=>{}),Jc}function El(){return Jc||Pk()}async function Qh(e){const t=typeof e=="string"?e:e.path;if(await El(),!zd)return{};try{return Ba({},...zd.matchAll(t).reverse())}catch{return{}}}async function lm(e,t={}){if(!await t0(e))return null;const r=await xk(e,t);return await e0(r)||null}const Ok="_payload.json";async function xk(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Zn(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=Gs(),s=t.hash||(t.fresh?Date.now():r.app.buildId),i=r.app.cdnURL,o=i&&await t0(e)?i:r.app.baseURL;return wl(o,n.pathname,Ok+(s?`?${s}`:""))}async function e0(e){const t=fetch(e,{cache:"force-cache"}).then(n=>n.text().then(n0));try{return await t}catch{}return null}async function t0(e=Sl().path){const t=qe();return e=Hi(e),(await El()).prerendered.includes(e)?!0:t.runWithContext(async()=>{const r=await Qh({path:e});return!!r.prerender&&!r.redirect})}let vs=null;async function Lk(){var r;if(vs)return vs;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await n0(e.textContent||""),n=e.dataset.src?await e0(e.dataset.src):void 0;return vs={...t,...n,...window.__NUXT__},(r=vs.config)!=null&&r.public&&(vs.config.public=Jn(vs.config.public)),vs}async function n0(e){return await GA(e,qe()._payloadRevivers)}function Mk(e,t){qe()._payloadRevivers[e]=t}const Nk=[["NuxtError",e=>ts(e)],["EmptyShallowRef",e=>Fn(e==="_"?void 0:e==="0n"?BigInt(0):sa(e))],["EmptyRef",e=>tt(e==="_"?void 0:e==="0n"?BigInt(0):sa(e))],["ShallowRef",e=>Fn(e)],["ShallowReactive",e=>Dn(e)],["Ref",e=>tt(e)],["Reactive",e=>Jn(e)]],Dk=Ct({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,s]of Nk)Mk(r,s);Object.assign(e.payload,([t,n]=Ls(()=>e.runWithContext(Lk)),t=await t,n(),t)),window.__NUXT__=e.payload}});async function Zh(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async s=>{var p;const i=new Map,o=new Promise(d=>{e.resolveTags().then(g=>{d(g.map(v=>{const _=i.get(v._d)||0,y={tag:v,id:(_?`${v._d}:${_}`:v._d)||v._h,shouldRender:!0};return v._d&&Jb(v._d)&&i.set(v._d,_+1),y}))})});let c=e._dom;if(!c){c={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const d of["body","head"]){const g=(p=n[d])==null?void 0:p.children;for(const v of g){const _=v.tagName.toLowerCase();if(!Ud.has(_))continue;const y=Qb({tag:_,props:{}},{innerHTML:v.innerHTML,...v.getAttributeNames().reduce((m,b)=>(m[b]=v.getAttribute(b),m),{})||{}});if(y.key=v.getAttribute("data-hid")||void 0,y._d=Bd(y)||Xb(y),c.elMap.has(y._d)){let m=1,b=y._d;for(;c.elMap.has(b);)b=`${y._d}:${m++}`;c.elMap.set(b,v)}else c.elMap.set(y._d,v)}}}c.pendingSideEffects={...c.sideEffects},c.sideEffects={};function a(d,g,v){const _=`${d}:${g}`;c.sideEffects[_]=v,delete c.pendingSideEffects[_]}function u({id:d,$el:g,tag:v}){const _=v.tag.endsWith("Attrs");c.elMap.set(d,g),_||(v.textContent&&v.textContent!==g.textContent&&(g.textContent=v.textContent),v.innerHTML&&v.innerHTML!==g.innerHTML&&(g.innerHTML=v.innerHTML),a(d,"el",()=>
20{g==null||g.remove(),c.elMap.delete(d)}));for(const y in v.props){if(!Object.prototype.hasOwnProperty.call(v.props,y))continue;const m=v.props[y];if(y.startsWith("on")&&typeof m=="function"){const E=g==null?void 0:g.dataset;if(E&&E[`${y}fired`]){const $=y.slice(0,-5);m.call(g,new Event($.substring(2)))}g.getAttribute(`data-${y}`)!==""&&((v.tag==="bodyAttrs"?n.defaultView:g).addEventListener(y.substring(2),m.bind(g)),g.setAttribute(`data-${y}`,""));continue}const b=`attr:${y}`;if(y==="class"){if(!m)continue;for(const E of m)_&&a(d,`${b}:${E}`,()=>g.classList.remove(E)),!g.classList.contains(E)&&g.classList.add(E)}else if(y==="style"){if(!m)continue;for(const[E,$]of m)a(d,`${b}:${E}`,()=>{g.style.removeProperty(E)}),g.style.setProperty(E,$)}else m!==!1&&m!==null&&(g.getAttribute(y)!==m&&g.setAttribute(y,m===!0?"":String(m)),_&&a(d,b,()=>g.removeAttribute(y)))}}const l=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},h=await o;for(const d of h){const{tag:g,shouldRender:v,id:_}=d;if(v){if(g.tag==="title"){n.title=g.textContent,a("title","",()=>n.title=c.title);continue}d.$el=d.$el||c.elMap.get(_),d.$el?u(d):Ud.has(g.tag)&&l.push(d)}}for(const d of l){const g=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),u(d),f[g]=f[g]||n.createDocumentFragment(),f[g].appendChild(d.$el)}for(const d of h)await e.hooks.callHook("dom:renderTag",d,n,a);f.head&&n.head.appendChild(f.head),f.bodyOpen&&n.body.insertBefore(f.bodyOpen,n.body.firstChild),f.bodyClose&&n.body.appendChild(f.bodyClose);for(const d in c.pendingSideEffects)c.pendingSideEffects[d]();e._dom=c,await e.hooks.callHook("dom:rendered",{renders:h}),s()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function jk(e={}){var r,s,i;const t=((r=e.domOptions)==null?void 0:r.render)||Zh;e.document=e.document||(typeof window<"u"?document:void 0);const n=((i=(s=e.document)==null?void 0:s.head.querySelector('script[id="unhead:payload"]'))==null?void 0:i.innerHTML)||!1;return gk({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function Fk(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function Hk(e={}){const t=jk({domOptions:{render:Fk(()=>Zh(t),n=>setTimeout(n,0))},...e});return t.install=Tk(t),t}const Uk={disableDefaults:!0,disableCapoSorting:!1,plugins:[_k,vk,Sk,yk]},Vk=Ct({name:"nuxt:head",enforce:"pre",setup(e){const t=Hk(Uk);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await Zh(t)};t.hooks.hook("dom:beforeRender",s=>{s.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}});/*! 21 * vue-router v4.6.4 22 * (c) 2025 Eduardo San Martin Morote 23 * @license MIT 24 */const ai=typeof document<"u";function r0(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Bk(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&r0(e.default)}const Ne=Object.assign;function Ef(e,t){const n={};for(const r in t){const s=t[r];n[r]=Sn(s)?s.map(e):e(s)}return n}const jo=()=>{},Sn=Array.isArray;function fm(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const s0=/#/g,qk=/&/g,Wk=/\//g,zk=/=/g,Kk=/\?/g,i0=/\+/g,Gk=/%5B/g,Yk=/%5D/g,o0=/%5E/g,Jk=/%60/g,a0=/%7B/g,Xk=/%7C/g,c0=/%7D/g,Qk=/%20/g;function ep(e){return e==null?"":encodeURI(""+e).replace(Xk,"|").replace(Gk,"[").replace(Yk,"]")}function Zk(e){return ep(e).replace(a0,"{").replace(c0,"}").replace(o0,"^")}function Kd(e){return ep(e).replace(i0,"%2B").replace(Qk,"+").replace(s0,"%23").replace(qk,"%26").replace(Jk,"`").replace(a0,"{").replace(c0,"}").replace(o0,"^")}function eI(e){return Kd(e).replace(zk,"%3D")}function tI(e){return ep(e).replace(s0,"%23").replace(Kk,"%3F")}function nI(e){return tI(e).replace(Wk,"%2F")}function ia(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const rI=/\/$/,sI=e=>e.replace(rI,"");function Tf(e,t,n="/"){let r,s={},i="",o="";const c=t.indexOf("#");let a=t.indexOf("?");return a=c>=0&&a>c?-1:a,a>=0&&(r=t.slice(0,a),i=t.slice(a,c>0?c:t.length),s=e(i.slice(1))),c>=0&&(r=r||t.slice(0,c),o=t.slice(c,t.length)),r=cI(r??t,n),{fullPath:r+i+o,path:r,query:s,hash:ia(o)}}function iI(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function dm(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}
vendor: 22,900 bytes, lines 24-28
24function oI(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Ui(t.matched[r],n.matched[s])&&u0(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Ui(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function u0(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!aI(e[n],t[n]))return!1;return!0}function aI(e,t){return Sn(e)?hm(e,t):Sn(t)?hm(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function hm(e,t){return Sn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function cI(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let i=n.length-1,o,c;for(o=0;o<r.length;o++)if(c=r[o],c!==".")if(c==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(o).join("/")}const rn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Gd=(function(e){return e.pop="pop",e.push="push",e})({}),Cf=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function uI(e){if(!e)if(ai){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),sI(e)}const lI=/^[^#]+#/;function fI(e,t){return e.replace(lI,"#")+t}function dI(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 Tl=()=>({left:window.scrollX,top:window.scrollY});function hI(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=dI(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function pm(e,t){return(history.state?history.state.position-t:-1)+e}const Yd=new Map;function pI(e,t){Yd.set(e,t)}function gI(e){const t=Yd.get(e);return Yd.delete(e),t}function mI(e){return typeof e=="string"||e&&typeof e=="object"}function l0(e){return typeof e=="string"||typeof e=="symbol"}let st=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const f0=Symbol("");st.MATCHER_NOT_FOUND+"",st.NAVIGATION_GUARD_REDIRECT+"",st.NAVIGATION_ABORTED+"",st.NAVIGATION_CANCELLED+"",st.NAVIGATION_DUPLICATED+"";function Vi(e,t){return Ne(new Error,{type:e,[f0]:!0},t)}function ir(e,t){return e instanceof Error&&f0 in e&&(t==null||!!(e.type&t))}const yI=["params","query","hash"];function _I(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of yI)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function vI(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const s=n[r].replace(i0," "),i=s.indexOf("="),o=ia(i<0?s:s.slice(0,i)),c=i<0?null:ia(s.slice(i+1));if(o in t){let a=t[o];Sn(a)||(a=t[o]=[a]),a.push(c)}else t[o]=c}return t}function gm(e){let t="";for(let n in e){const r=e[n];if(n=eI(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Sn(r)?r.map(s=>s&&Kd(s)):[r&&Kd(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function bI(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Sn(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const wI=Symbol(""),mm=Symbol(""),tp=Symbol(""),np=Symbol(""),Jd=Symbol("");function wo(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Gr(e,t,n,r,s,i=o=>o()){const o=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((c,a)=>{const u=h=>{h===!1?a(Vi(st.NAVIGATION_ABORTED,{from:n,to:t})):h instanceof Error?a(h):mI(h)?a(Vi(st.NAVIGATION_GUARD_REDIRECT,{from:t,to:h})):(o&&r.enterCallbacks[s]===o&&typeof h=="function"&&o.push(h),c())},l=i(()=>e.call(r&&r.instances[s],t,n,u));let f=Promise.resolve(l);e.length<3&&(f=f.then(u)),f.catch(h=>a(h))})}function Af(e,t,n,r,s=i=>i()){const i=[];for(const o of e)for(const c in o.components){let a=o.components[c];if(!(t!=="beforeRouteEnter"&&!o.instances[c]))if(r0(a)){const u=(a.__vccOpts||a)[t];u&&i.push(Gr(u,n,r,o,c,s))}else{let u=a();i.push(()=>u.then(l=>{if(!l)throw new Error(`Couldn't resolve component "${c}" at "${o.path}"`);const f=Bk(l)?l.default:l;o.mods[c]=l,o.components[c]=f;const h=(f.__vccOpts||f)[t];return h&&Gr(h,n,r,o,c,s)()}))}}return i}function SI(e,t){const n=[],r=[],s=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const c=t.matched[o];c&&(e.matched.find(u=>Ui(u,c))?r.push(c):n.push(c));const a=e.matched[o];a&&(t.matched.find(u=>Ui(u,a))||s.push(a))}return[n,r,s]}/*! 25 * vue-router v4.6.4 26 * (c) 2025 Eduardo San Martin Morote 27 * @license MIT 28 */let EI=()=>location.protocol+"//"+location.host;function d0(e,t){const{pathname:n,search:r,hash:s}=t,i=e.indexOf("#");if(i>-1){let o=s.includes(e.slice(i))?e.slice(i).length:1,c=s.slice(o);return c[0]!=="/"&&(c="/"+c),dm(c,"")}return dm(n,e)+r+s}function TI(e,t,n,r){let s=[],i=[],o=null;const c=({state:h})=>{const p=d0(e,location),d=n.value,g=t.value;let v=0;if(h){if(n.value=p,t.value=h,o&&o===d){o=null;return}v=g?h.position-g.position:0}else r(p);s.forEach(_=>{_(n.value,d,{delta:v,type:Gd.pop,direction:v?v>0?Cf.forward:Cf.back:Cf.unknown})})};function a(){o=n.value}function u(h){s.push(h);const p=()=>{const d=s.indexOf(h);d>-1&&s.splice(d,1)};return i.push(p),p}function l(){if(document.visibilityState==="hidden"){const{history:h}=window;if(!h.state)return;h.replaceState(Ne({},h.state,{scroll:Tl()}),"")}}function f(){for(const h of i)h();i=[],window.removeEventListener("popstate",c),window.removeEventListener("pagehide",l),document.removeEventListener("visibilitychange",l)}return window.addEventListener("popstate",c),window.addEventListener("pagehide",l),document.addEventListener("visibilitychange",l),{pauseListeners:a,listen:u,destroy:f}}function ym(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Tl():null}}function CI(e){const{history:t,location:n}=window,r={value:d0(e,n)},s={value:t.state};s.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(a,u,l){const f=e.indexOf("#"),h=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+a:EI()+e+a;try{t[l?"replaceState":"pushState"](u,"",h),s.value=u}catch{n[l?"replace":"assign"](h)}}function o(a,u){i(a,Ne({},t.state,ym(s.value.back,a,s.value.forward,!0),u,{position:s.value.position}),!0),r.value=a}function c(a,u){const l=Ne({},s.value,t.state,{forward:a,scroll:Tl()});i(l.current,l,!0),i(a,Ne({},ym(r.value,a,null),{position:l.position+1},u),!1),r.value=a}return{location:r,state:s,push:c,replace:o}}function AI(e){e=uI(e);const t=CI(e),n=TI(e,t.state,t.location,t.replace);function r(i,o=!0){o||n.pauseListeners(),history.go(i)}const s=Ne({location:"",base:e,go:r,createHref:fI.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}let Ts=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var gt=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(gt||{});const kI={type:Ts.Static,value:""},II=/[a-zA-Z0-9_]/;function $I(e){if(!e)return[[]];if(e==="/")return[[kI]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${u}": ${p}`)}let n=gt.Static,r=n;const s=[];let i;function o(){i&&s.push(i),i=[]}let c=0,a,u="",l="";function f(){u&&(n===gt.Static?i.push({type:Ts.Static,value:u}):n===gt.Param||n===gt.ParamRegExp||n===gt.ParamRegExpEnd?(i.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:Ts.Param,value:u,regexp:l,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),u="")}function h(){u+=a}for(;c<e.length;){if(a=e[c++],a==="\\"&&n!==gt.ParamRegExp){r=n,n=gt.EscapeNext;continue}switch(n){case gt.Static:a==="/"?(u&&f(),o()):a===":"?(f(),n=gt.Param):h();break;case gt.EscapeNext:h(),n=r;break;case gt.Param:a==="("?n=gt.ParamRegExp:II.test(a)?h():(f(),n=gt.Static,a!=="*"&&a!=="?"&&a!=="+"&&c--);break;case gt.ParamRegExp:a===")"?l[l.length-1]=="\\"?l=l.slice(0,-1)+a:n=gt.ParamRegExpEnd:l+=a;break;case gt.ParamRegExpEnd:f(),n=gt.Static,a!=="*"&&a!=="?"&&a!=="+"&&c--,l="";break;default:t("Unknown state");break}}return n===gt.ParamRegExp&&t(`Unfinished custom RegExp for param "${u}"`),f(),o(),s}const _m="[^/]+?",RI={sensitive:!1,strict:!1,start:!0,end:!0};var Mt=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(Mt||{});const PI=/[.+*?^${}()[\]/\\]/g;function OI(e,t){const n=Ne({},RI,t),r=[];let s=n.start?"^":"";const i=[];for(const u of e){const l=u.length?[]:[Mt.Root];n.strict&&!u.length&&(s+="/");for(let f=0;f<u.length;f++){const h=u[f];let p=Mt.Segment+(n.sensitive?Mt.BonusCaseSensitive:0);if(h.type===Ts.Static)f||(s+="/"),s+=h.value.replace(PI,"\\$&"),p+=Mt.Static;else if(h.type===Ts.Param){const{value:d,repeatable:g,optional:v,regexp:_}=h;i.push({name:d,repeatable:g,optional:v});const y=_||_m;if(y!==_m){p+=Mt.BonusCustomRegExp;try{`${y}`}catch(b){throw new Error(`Invalid custom RegExp for param "${d}" (${y}): `+b.message)}}let m=g?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;f||(m=v&&u.length<2?`(?:/${m})`:"/"+m),v&&(m+="?"),s+=m,p+=Mt.Dynamic,v&&(p+=Mt.BonusOptional),g&&(p+=Mt.BonusRepeatable),y===".*"&&(p+=Mt.BonusWildcard)}l.push(p)}r.push(l)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=Mt.BonusStrict}n.strict||(s+="/?"),n.end?s+="$":n.strict&&!s.endsWith("/")&&(s+="(?:/|$)");const o=new RegExp(s,n.sensitive?"":"i");function c(u){const l=u.match(o),f={};if(!l)return null;for(let h=1;h<l.length;h++){const p=l[h]||"",d=i[h-1];f[d.name]=p&&d.repeatable?p.split("/"):p}return f}function a(u){let l="",f=!1;for(const h of e){(!f||!l.endsWith("/"))&&(l+="/"),f=!1;for(const p of h)if(p.type===Ts.Static)l+=p.value;else if(p.type===Ts.Param){const{value:d,repeatable:g,optional:v}=p,_=d in u?u[d]:"";if(Sn(_)&&!g)throw new Error(`Provided param "${d}" is an array but it is not repeatable (* or + modifiers)`);const y=Sn(_)?_.join("/"):_;if(!y)if(v)h.length<2&&(l.endsWith("/")?l=l.slice(0,-1):f=!0);else throw new Error(`Missing required param "${d}"`);l+=y}}return l||"/"}return{re:o,score:r,keys:i,parse:c,stringify:a}}function xI(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]===Mt.Static+Mt.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===Mt.Static+Mt.Segment?1:-1:0}function h0(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const i=xI(r[n],s[n]);if(i)return i;n++}if(Math.abs(s.length-r.length)===1){if(vm(r))return 1;if(vm(s))return-1}return s.length-r.length}function vm(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const LI={strict:!1,end:!0,sensitive:!1};function MI(e,t,n){const r=OI($I(e.path),n),s=Ne(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function NI(e,t){const n=[],r=new Map;t=fm(LI,t);function s(f){return r.get(f)}function i(f,h,p){const d=!p,g=wm(f);g.aliasOf=p&&p.record;const v=fm(t,f),_=[g];if("alias"in f){const b=typeof f.alias=="string"?[f.alias]:f.alias;for(const E of b)_.push(wm(Ne({},g,{components:p?p.record.components:g.components,path:E,aliasOf:p?p.record:g})))}let y,m;for(const b of _){const{path:E}=b;if(h&&E[0]!=="/"){const $=h.record.path,A=$[$.length-1]==="/"?"":"/";b.path=h.record.path+(E&&A+E)}if(y=MI(b,h,v),p?p.alias.push(y):(m=m||y,m!==y&&m.alias.push(y),d&&f.name&&!Sm(y)&&o(f.name)),p0(y)&&a(y),g.children){const $=g.children;for(let A=0;A<$.length;A++)i($[A],y,p&&p.children[A])}p=p||y}return m?()=>{o(m)}:jo}function o(f){if(l0(f)){const h=r.get(f);h&&(r.delete(f),n.splice(n.indexOf(h),1),h.children.forEach(o),h.alias.forEach(o))}else{const h=n.indexOf(f);h>-1&&(n.splice(h,1),f.record.name&&r.delete(f.record.name),f.children.forEach(o),f.alias.forEach(o))}}function c(){return n}function a(f){const h=FI(f,n);n.splice(h,0,f),f.record.name&&!Sm(f)&&r.set(f.record.name,f)}function u(f,h){let p,d={},g,v;if("name"in f&&f.name){if(p=r.get(f.name),!p)throw Vi(st.MATCHER_NOT_FOUND,{location:f});v=p.record.name,d=Ne(bm(h.params,p.keys.filter(m=>!m.optional).concat(p.parent?p.parent.keys.filter(m=>m.optional):[]).map(m=>m.name)),f.params&&bm(f.params,p.keys.map(m=>m.name))),g=p.stringify(d)}else if(f.path!=null)g=f.path,p=n.find(m=>m.re.test(g)),p&&(d=p.parse(g),v=p.record.name);else{if(p=h.name?r.get(h.name):n.find(m=>m.re.test(h.path)),!p)throw Vi(st.MATCHER_NOT_FOUND,{location:f,currentLocation:h});v=p.record.name,d=Ne({},h.params,f.params),g=p.stringify(d)}const _=[];let y=p;for(;y;)_.unshift(y.record),y=y.parent;return{name:v,path:g,params:d,matched:_,meta:jI(_)}}e.forEach(f=>i(f));function l(){n.length=0,r.clear()}return{addRoute:i,resolve:u,removeRoute:o,clearRoutes:l,getRoutes:c,getRecordMatcher:s}}function bm(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function wm(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:DI(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function DI(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Sm(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function jI(e){return e.reduce((t,n)=>Ne(t,n.meta),{})}function FI(e,t){let n=0,r=t.length;for(;n!==r;){const i=n+r>>1;h0(e,t[i])<0?r=i:n=i+1}const s=HI(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function HI(e){let t=e;for(;t=t.parent;)if(p0(t)&&h0(e,t)===0)return t}function p0({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Em(e){const t=ut(tp),n=ut(np),r=we(()=>{const a=re(e.to);return t.resolve(a)}),s=we(()=>{const{matched:a}=r.value,{length:u}=a,l=a[u-1],f=n.matched;if(!l||!f.length)return-1;const h=f.findIndex(Ui.bind(null,l));if(h>-1)return h;const p=Tm(a[u-2]);return u>1&&Tm(l)===p&&f[f.length-1].path!==p?f.findIndex(Ui.bind(null,a[u-2])):h}),i=we(()=>s.value>-1&&WI(n.params,r.value.params)),o=we(()=>s.value>-1&&s.value===n.matched.length-1&&u0(n.params,r.value.params));function c(a={}){if(qI(a)){const u=t[re(e.replace)?"replace":"push"](re(e.to)).catch(jo);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:we(()=>r.value.href),isActive:i,isExactActive:o,navigate:c}}function UI(e){return e.length===1?e[0]:e}const VI=Qn({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Em,setup(e,{slots:t}){const n=Jn(Em(e)),{options:r}=ut(tp),s=we(()=>({[Cm(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Cm(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&UI(t.default(n));return e.custom?i:Qe("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},i)}}}),BI=VI;function qI(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 WI(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!Sn(s)||s.length!==r.length||r.some((i,o)=>i.valueOf()!==s[o].valueOf()))return!1}return!0}function Tm(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Cm=(e,t,n)=>e??t??n,zI=Qn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=ut(Jd),s=we(()=>e.route||r.value),i=ut(mm,0),o=we(()=>{let u=re(i);const{matched:l}=s.value;let f;for(;(f=l[u])&&!f.components;)u++;return u}),c=we(()=>s.value.matched[o.value]);Hn(mm,we(()=>o.value+1)),Hn(wI,c),Hn(Jd,s);const a=tt();return Zt(()=>[a.value,c.value,e.name],([u,l,f],[h,p,d])=>{l&&(l.instances[f]=u,p&&p!==l&&u&&u===h&&(l.leaveGuards.size||(l.leaveGuards=p.leaveGuards),l.updateGuards.size||(l.updateGuards=p.updateGuards))),u&&l&&(!p||!Ui(l,p)||!h)&&(l.enterCallbacks[f]||[]).forEach(g=>g(u))},{flush:"post"}),()=>{const u=s.value,l=e.name,f=c.value,h=f&&f.components[l];if(!h)return Am(n.default,{Component:h,route:u});const p=f.props[l],d=p?p===!0?u.params:typeof p=="function"?p(u):p:null,v=Qe(h,Ne({},d,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(f.instances[l]=null)},ref:a}));return Am(n.default,{Component:v,route:u})||v}}});function Am(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const g0=zI;function KI(e){const t=NI(e.routes,e),n=e.parseQuery||vI,r=e.stringifyQuery||gm,s=e.history,i=wo(),o=wo(),c=wo(),a=Fn(rn);let u=rn;ai&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const l=Ef.bind(null,F=>""+F),f=Ef.bind(null,nI),h=Ef.bind(null,ia);function p(F,Z){let J,Q;return l0(F)?(J=t.getRecordMatcher(F),Q=Z):Q=F,t.addRoute(Q,J)}function d(F){const Z=t.getRecordMatcher(F);Z&&t.removeRoute(Z)}function g(){return t.getRoutes().map(F=>F.record)}function v(F){return!!t.getRecordMatcher(F)}function _(F,Z){if(Z=Ne({},Z||a.value),typeof F=="string"){const x=Tf(n,F,Z.path),W=t.resolve({path:x.path},Z),ee=s.createHref(x.fullPath);return Ne(x,W,{params:h(W.params),hash:ia(x.hash),redirectedFrom:void 0,href:ee})}let J;if(F.path!=null)J=Ne({},F,{path:Tf(n,F.path,Z.path).path});else{const x=Ne({},F.params);for(const W in x)x[W]==null&&delete x[W];J=Ne({},F,{params:f(x)}),Z.params=f(Z.params)}const Q=t.resolve(J,Z),pe=F.hash||"";Q.params=l(h(Q.params));const Te=iI(r,Ne({},F,{hash:Zk(pe),path:Q.path})),S=s.createHref(Te);return Ne({fullPath:Te,hash:pe,query:r===gm?bI(F.query):F.query||{}},Q,{redirectedFrom:void 0,href:S})}function y(F){return typeof F=="string"?Tf(n,F,a.value.path):Ne({},F)}function m(F,Z){if(u!==F)return Vi(st.NAVIGATION_CANCELLED,{from:Z,to:F})}function b(F){return A(F)}function E(F){return b(Ne(y(F),{replace:!0}))}function $(F,Z){const J=F.matched[F.matched.length-1];if(J&&J.redirect){const{redirect:Q}=J;let pe=typeof Q=="function"?Q(F,Z):Q;return typeof pe=="string"&&(pe=pe.includes("?")||pe.includes("#")?pe=y(pe):{path:pe},pe.params={}),Ne({query:F.query,hash:F.hash,params:pe.path!=null?{}:F.params},pe)}}function A(F,Z){const J=u=_(F),Q=a.value,pe=F.state,Te=F.force,S=F.replace===!0,x=$(J,Q);if(x)return A(Ne(y(x),{state:typeof x=="object"?Ne({},pe,x.state):pe,force:Te,replace:S}),Z||J);const W=J;W.redirectedFrom=Z;let ee;return!Te&&oI(r,Q,J)&&(ee=Vi(st.NAVIGATION_DUPLICATED,{to:W,from:Q}),q(Q,Q,!0,!1)),(ee?Promise.resolve(ee):B(W,Q)).catch(Y=>ir(Y)?ir(Y,st.NAVIGATION_GUARD_REDIRECT)?Y:U(Y):I(Y,W,Q)).then(Y=>{if(Y){if(ir(Y,st.NAVIGATION_GUARD_REDIRECT))return A(Ne({replace:S},y(Y.to),{state:typeof Y.to=="object"?Ne({},pe,Y.to.state):pe,force:Te}),Z||W)}else Y=C(W,Q,!0,S,pe);return V(W,Q,Y),Y})}function D(F,Z){const J=m(F,Z);return J?Promise.reject(J):Promise.resolve()}function H(F){const Z=se.values().next().value;return Z&&typeof Z.runWithContext=="function"?Z.runWithContext(F):F()}function B(F,Z){let J;const[Q,pe,Te]=SI(F,Z);J=Af(Q.reverse(),"beforeRouteLeave",F,Z);for(const x of Q)x.leaveGuards.forEach(W=>{J.push(Gr(W,F,Z))});const S=D.bind(null,F,Z);return J.push(S),G(J).then(()=>{J=[];for(const x of i.list())J.push(Gr(x,F,Z));return J.push(S),G(J)}).then(()=>{J=Af(pe,"beforeRouteUpdate",F,Z);for(const x of pe)x.updateGuards.forEach(W=>{J.push(Gr(W,F,Z))});return J.push(S),G(J)}).then(()=>{J=[];for(const x of Te)if(x.beforeEnter)if(Sn(x.beforeEnter))for(const W of x.beforeEnter)J.push(Gr(W,F,Z));else J.push(Gr(x.beforeEnter,F,Z));return J.push(S),G(J)}).then(()=>(F.matched.forEach(x=>x.enterCallbacks={}),J=Af(Te,"beforeRouteEnter",F,Z,H),J.push(S),G(J))).then(()=>{J=[];for(const x of o.list())J.push(Gr(x,F,Z));return J.push(S),G(J)}).catch(x=>ir(x,st.NAVIGATION_CANCELLED)?x:Promise.reject(x))}function V(F,Z,J){c.list().forEach(Q=>H(()=>Q(F,Z,J)))}function C(F,Z,J,Q,pe){const Te=m(F,Z);if(Te)return Te;const S=Z===rn,x=ai?history.state:{};J&&(Q||S?s.replace(F.fullPath,Ne({scroll:S&&x&&x.scroll},pe)):s.push(F.fullPath,pe)),a.value=F,q(F,Z,J,S),U()}let P;function R(){P||(P=s.listen((F,Z,J)=>{if(!oe.listening)return;const Q=_(F),pe=$(Q,oe.currentRoute.value);if(pe){A(Ne(pe,{replace:!0,force:!0}),Q).catch(jo);return}u=Q;const Te=a.value;ai&&pI(pm(Te.fullPath,J.delta),Tl()),B(Q,Te).catch(S=>ir(S,st.NAVIGATION_ABORTED|st.NAVIGATION_CANCELLED)?S:ir(S,st.NAVIGATION_GUARD_REDIRECT)?(A(Ne(y(S.to),{force:!0}),Q).then(x=>{ir(x,st.NAVIGATION_ABORTED|st.NAVIGATION_DUPLICATED)&&!J.delta&&J.type===Gd.pop&&s.go(-1,!1)}).catch(jo),Promise.reject()):(J.delta&&s.go(-J.delta,!1),I(S,Q,Te))).then(S=>{S=S||C(Q,Te,!1),S&&(J.delta&&!ir(S,st.NAVIGATION_CANCELLED)?s.go(-J.delta,!1):J.type===Gd.pop&&ir(S,st.NAVIGATION_ABORTED|st.NAVIGATION_DUPLICATED)&&s.go(-1,!1)),V(Q,Te,S)}).catch(jo)}))}let k=wo(),T=wo(),O;function I(F,Z,J){U(F);const Q=T.list();return Q.length&&Q.forEach(pe=>pe(F,Z,J)),Promise.reject(F)}function j(){return O&&a.value!==rn?Promise.resolve():new Promise((F,Z)=>{k.add([F,Z])})}function U(F){return O||(O=!F,R(),k.list().forEach(([Z,J])=>F?J(F):Z()),k.reset()),F}function q(F,Z,J,Q){const{scrollBehavior:pe}=e;if(!ai||!pe)return Promise.resolve();
28const Te=!J&&gI(pm(F.fullPath,0))||(Q||!J)&&history.state&&history.state.scroll||null;return qn().then(()=>pe(F,Z,Te)).then(S=>S&&hI(S)).catch(S=>I(S,F,Z))}const z=F=>s.go(F);let X;const se=new Set,oe={currentRoute:a,listening:!0,addRoute:p,removeRoute:d,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:g,resolve:_,options:e,push:b,replace:E,go:z,back:()=>z(-1),forward:()=>z(1),beforeEach:i.add,beforeResolve:o.add,afterEach:c.add,onError:T.add,isReady:j,install(F){F.component("RouterLink",BI),F.component("RouterView",g0),F.config.globalProperties.$router=oe,Object.defineProperty(F.config.globalProperties,"$route",{enumerable:!0,get:()=>re(a)}),ai&&!X&&a.value===rn&&(X=!0,b(s.location).catch(Q=>{}));const Z={};for(const Q in rn)Object.defineProperty(Z,Q,{get:()=>a.value[Q],enumerable:!0});F.provide(tp,oe),F.provide(np,Dn(Z)),F.provide(Jd,a);const J=F.unmount;se.add(F),F.unmount=function(){se.delete(F),se.size<1&&(u=rn,P&&P(),P=null,a.value=rn,X=!1,O=!1),J()}}};function G(F){return F.reduce((Z,J)=>Z.then(()=>H(J)),Promise.resolve())}return oe}function m0(e){return ut(np)}const GI=/(:\w+)\([^)]+\)/g,YI=/(:\w+)[?+*]/g,JI=/:\w+/g,XI=(e,t)=>t.path.replace(GI,"$1").replace(YI,"$1").replace(JI,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),Xd=(e,t)=>{const n=e.route.matched.find(s=>{var i;return((i=s.components)==null?void 0:i.default)===e.Component.type}),r=t??(n==null?void 0:n.meta.key)??(n&&XI(e.route,n));return typeof r=="function"?r(e.route):r},QI=(e,t)=>({default:()=>e?Qe($T,e===!0?{}:e,t):t});function rp(e){return Array.isArray(e)?e:[e]}const kf=null,ZI={},If=[{name:"index",path:"/",component:()=>yt(()=>import("./D4YZsm9e.js"),__vite__mapDeps([0,1]),import.meta.url)},{name:"search",path:"/search",component:()=>yt(()=>import("./C99cWjbS.js"),__vite__mapDeps([2,1]),import.meta.url)},{name:"slug",path:"/:slug(.*)*",component:()=>yt(()=>import("./D7y0uV3X.js"),__vite__mapDeps([3,1]),import.meta.url)},{name:"about-us",path:"/about-us",component:()=>yt(()=>import("./DTH9LUWW.js"),__vite__mapDeps([4,1]),import.meta.url)},{name:"products",path:"/products",component:()=>yt(()=>import("./Cy8lejMi.js"),__vite__mapDeps([5,1]),import.meta.url)},{name:"services",path:"/services",component:()=>yt(()=>import("./BA6lE9DS.js"),__vite__mapDeps([6,1]),import.meta.url)},{name:"about-us-slug",path:"/about-us/:slug()",component:()=>yt(()=>import("./B0T_wjLL.js"),__vite__mapDeps([7,1]),import.meta.url)},{name:"expertise",path:"/expertise",component:()=>yt(()=>import("./svxqPPdm.js"),__vite__mapDeps([8,1]),import.meta.url)},{name:"products-slug",path:"/products/:slug()",component:()=>yt(()=>import("./CurRMwu_.js"),__vite__mapDeps([9,1]),import.meta.url)},{name:"services-slug",path:"/services/:slug()",component:()=>yt(()=>import("./Cj1tqzcC.js"),__vite__mapDeps([10,1]),import.meta.url)},{name:"expertise-slug",path:"/expertise/:slug()",component:()=>yt(()=>import("./CjIrz_Wk.js"),__vite__mapDeps([11,1]),import.meta.url)},{name:"about-us-team",path:"/about-us/team",component:()=>yt(()=>import("./DKKuvACR.js"),__vite__mapDeps([12,13,1]),import.meta.url)},{name:"about-us-team-slug",path:"/about-us/team/:slug()",component:()=>yt(()=>import("./BJE0Uq5Q.js"),__vite__mapDeps([14,13,1]),import.meta.url)},{name:"insights-events",path:"/insights-events",component:()=>yt(()=>import("./BxBnZgDM.js"),__vite__mapDeps([15,1]),import.meta.url)},{name:"insights-events-slug",path:"/insights-events/:slug()",component:()=>yt(()=>import("./BF47rmO7.js"),__vite__mapDeps([16,1]),import.meta.url)},{name:kf==null?void 0:kf.name,path:"/sitemap.xml",component:ZI}],y0=(e,t)=>({default:()=>{var n;return e?Qe(k2,e===!0?{}:e,t):(n=t.default)==null?void 0:n.call(t)}}),e3=/(:\w+)\([^)]+\)/g,t3=/(:\w+)[?+*]/g,n3=/:\w+/g;function km(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(e3,"$1").replace(t3,"$1").replace(n3,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""});return typeof t=="function"?t(e):t}function r3(e,t){return e===t||t===rn?!1:km(e)!==km(t)?!0:!e.matched.every((r,s)=>{var i,o;return r.components&&r.components.default===((o=(i=t.matched[s])==null?void 0:i.components)==null?void 0:o.default)})}const s3={scrollBehavior(e,t,n){var c;const r=qe(),s=((c=Tt().options)==null?void 0:c.scrollBehaviorType)??"auto";if(e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:_0(e.hash),behavior:s}:!1;if((typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1)return!1;const o=r._runningTransition?"page:transition:finish":"page:loading:end";return new Promise(a=>{if(t===rn){a(Im(e,t,n,s));return}r.hooks.hookOnce(o,()=>{requestAnimationFrame(()=>a(Im(e,t,n,s)))})})}};function _0(e){try{const t=document.querySelector(e);
28if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function Im(e,t,n,r){if(n)return n;const s=r3(e,t);return e.hash?{el:e.hash,top:_0(e.hash),behavior:s?r:"instant"}:{left:0,top:0,behavior:s?r:"instant"}}const i3={hashMode:!1,scrollBehaviorType:"auto"},kn={...i3,...s3},o3=async(e,t)=>{var o;let n,r;if(!((o=e.meta)!=null&&o.validate))return;const s=([n,r]=Ls(()=>Promise.resolve(e.meta.validate(e))),n=await n,r(),n);if(s===!0)return;const i=ts({fatal:!0,statusCode:s&&s.statusCode||404,statusMessage:s&&s.statusMessage||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}});return typeof window<"u"&&window.history.pushState({},"",t.fullPath),i},a3=async e=>{let t,n;const r=([t,n]=Ls(()=>Qh({path:e.path})),t=await t,n(),t);if(r.redirect)return Zn(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},c3=[o3,a3],Fo={};function u3(e,t,n){const{pathname:r,search:s,hash:i}=t,o=e.indexOf("#");if(o>-1){const u=i.includes(e.slice(o))?e.slice(o).length:1;let l=i.slice(u);return l[0]!=="/"&&(l="/"+l),Jg(l,"")}const c=Jg(r,e),a=!n||NC(c,n)?c:n;return a+(a.includes("?")?"":s)+i}const l3=Ct({name:"nuxt:router",enforce:"pre",async setup(e){var v;let t,n,r=Gs().app.baseURL;const s=((v=kn.history)==null?void 0:v.call(kn,r))??AI(r),i=kn.routes?([t,n]=Ls(()=>kn.routes(If)),t=await t,n(),t??If):If;let o;const c=KI({...kn,scrollBehavior:(_,y,m)=>{if(y===rn){o=m;return}if(kn.scrollBehavior){if(c.options.scrollBehavior=kn.scrollBehavior,"scrollRestoration"in window.history){const b=c.beforeEach(()=>{b(),window.history.scrollRestoration="manual"})}return kn.scrollBehavior(_,rn,o||m)}},history:s,routes:i});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(c);const a=Fn(c.currentRoute.value);c.afterEach((_,y)=>{a.value=y}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>a.value});const u=u3(r,window.location,e.payload.path),l=Fn(c.currentRoute.value),f=()=>{l.value=c.currentRoute.value};e.hook("page:finish",f),c.afterEach((_,y)=>{var m,b,E,$;((b=(m=_.matched[0])==null?void 0:m.components)==null?void 0:b.default)===(($=(E=y.matched[0])==null?void 0:E.components)==null?void 0:$.default)&&f()});const h={};for(const _ in l.value)Object.defineProperty(h,_,{get:()=>l.value[_],enumerable:!0});e._route=Dn(h),e._middleware||(e._middleware={global:[],named:{}});const p=qa();c.afterEach(async(_,y,m)=>{delete e._processingMiddleware,!e.isHydrating&&p.value&&await e.runWithContext(OA),m&&await e.callHook("page:loading:end")});try{[t,n]=Ls(()=>c.isReady()),await t,n()}catch(_){[t,n]=Ls(()=>e.runWithContext(()=>Es(_))),await t,n()}const d=u!==c.currentRoute.value.fullPath?c.resolve(u):c.currentRoute.value;f();const g=e.payload.state._layout;return c.beforeEach(async(_,y)=>{var m;await e.callHook("page:loading:start"),_.meta=Jn(_.meta),e.isHydrating&&g&&!Bn(_.meta.layout)&&(_.meta.layout=g),e._processingMiddleware=!0;{const b=new Set([...c3,...e._middleware.global]);for(const E of _.matched){const $=E.meta.middleware;if($)for(const A of rp($))b.add(A)}{const E=await e.runWithContext(()=>Qh({path:_.path}));if(E.appMiddleware)for(const $ in E.appMiddleware)E.appMiddleware[$]?b.add($):b.delete($)}for(const E of b){const $=typeof E=="string"?e._middleware.named[E]||await((m=Fo[E])==null?void 0:m.call(Fo).then(A=>A.default||A)):E;if(!$)throw new Error(`Unknown route middleware: '${E}'.`);try{const A=await e.runWithContext(()=>$(_,y));if(!e.payload.serverRendered&&e.isHydrating&&(A===!1||A instanceof Error)){const D=A||ts({statusCode:404,statusMessage:`Page Not Found: ${u}`});return await e.runWithContext(()=>Es(D)),!1}if(A===!0)continue;if(A===!1)return A;if(A)return Jh(A)&&A.fatal&&await e.runWithContext(()=>Es(A)),A}catch(A){const D=ts(A);return D.fatal&&await e.runWithContext(()=>Es(D)),D}}}}),c.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),c.afterEach(async(_,y)=>{_.matched.length===0&&await e.runWithContext(()=>Es(ts({statusCode:404,fatal:!1,statusMessage:`Page not found: ${_.fullPath}`,data:{path:_.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in d&&(d.name=void 0),await c.replace({...d,force:!0}),c.options.scrollBehavior=kn.scrollBehavior}catch(_){await e.runWithContext(()=>Es(_))}}),{provide:{router:c}}}});function Qd(e){return typeof e=="string"?`'${e}'`:new f3().serialize(e)}const f3=(function(){var t;class e{constructor(){ve(this,t,new Map)}compare(r,s){const i=typeof r,o=typeof s;
28return i==="string"&&o==="string"?r.localeCompare(s):i==="number"&&o==="number"?r-s:String.prototype.localeCompare.call(this.serialize(r,!0),this.serialize(s,!0))}serialize(r,s){if(r===null)return"null";switch(typeof r){case"string":return s?r:`'${r}'`;case"bigint":return`${r}n`;case"object":return this.$object(r);case"function":return this.$function(r)}return String(r)}serializeObject(r){const s=Object.prototype.toString.call(r);if(s!=="[object Object]")return this.serializeBuiltInType(s.length<10?`unknown:${s}`:s.slice(8,-1),r);const i=r.constructor,o=i===Object||i===void 0?"":i.name;if(o!==""&&globalThis[o]===i)return this.serializeBuiltInType(o,r);if(typeof r.toJSON=="function"){const c=r.toJSON();return o+(c!==null&&typeof c=="object"?this.$object(c):`(${this.serialize(c)})`)}return this.serializeObjectEntries(o,Object.entries(r))}serializeBuiltInType(r,s){const i=this["$"+r];if(i)return i.call(this,s);if(typeof(s==null?void 0:s.entries)=="function")return this.serializeObjectEntries(r,s.entries());throw new Error(`Cannot serialize ${r}`)}serializeObjectEntries(r,s){const i=Array.from(s).sort((c,a)=>this.compare(c[0],a[0]));let o=`${r}{`;for(let c=0;c<i.length;c++){const[a,u]=i[c];o+=`${this.serialize(a,!0)}:${this.serialize(u)}`,c<i.length-1&&(o+=",")}return o+"}"}$object(r){let s=M(this,t).get(r);return s===void 0&&(M(this,t).set(r,`#${M(this,t).size}`),s=this.serializeObject(r),M(this,t).set(r,s)),s}$function(r){const s=Function.prototype.toString.call(r);return s.slice(-15)==="[native code] }"?`${r.name||""}()[native]`:`${r.name}(${r.length})${s.replace(/\s*\n\s*/g,"")}`}$Array(r){let s="[";for(let i=0;i<r.length;i++)s+=this.serialize(r[i]),i<r.length-1&&(s+=",");return s+"]"}$Date(r){try{return`Date(${r.toISOString()})`}catch{return"Date(null)"}}$ArrayBuffer(r){return`ArrayBuffer[${new Uint8Array(r).join(",")}]`}$Set(r){return`Set${this.$Array(Array.from(r).sort((s,i)=>this.compare(s,i)))}`}$Map(r){return this.serializeObjectEntries("Map",r.entries())}}t=new WeakMap;for(const n of["Error","RegExp","URL"])e.prototype["$"+n]=function(r){return`${n}(${r})`};for(const n of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])e.prototype["$"+n]=function(r){return`${n}[${r.join(",")}]`};for(const n of["BigInt64Array","BigUint64Array"])e.prototype["$"+n]=function(r){return`${n}[${r.join("n,")}${r.length>0?"n":""}]`};return e})();function d3(e,t){return e===t||Qd(e)===Qd(t)}const h3=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],p3=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],g3="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bs=[];class m3{constructor(){le(this,"_data",new xc);le(this,"_hash",new xc([...h3]));le(this,"_nDataBytes",0);le(this,"_minBufferSize",0)}finalize(t){t&&this._append(t);const n=this._nDataBytes*8,r=this._data.sigBytes*8;return this._data.words[r>>>5]|=128<<24-r%32,this._data.words[(r+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(r+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}_doProcessBlock(t,n){const r=this._hash.words;let s=r[0],i=r[1],o=r[2],c=r[3],a=r[4],u=r[5],l=r[6],f=r[7];for(let h=0;h<64;h++){if(h<16)bs[h]=t[n+h]|0;else{const m=bs[h-15],b=(m<<25|m>>>7)^(m<<14|m>>>18)^m>>>3,E=bs[h-2],$=(E<<15|E>>>17)^(E<<13|E>>>19)^E>>>10;bs[h]=b+bs[h-7]+$+bs[h-16]}const p=a&u^~a&l,d=s&i^s&o^i&o,g=(s<<30|s>>>2)^(s<<19|s>>>13)^(s<<10|s>>>22),v=(a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25),_=f+v+p+p3[h]+bs[h],y=g+d;f=l,l=u,u=a,a=c+_|0,c=o,o=i,i=s,s=_+y|0}r[0]=r[0]+s|0,r[1]=r[1]+i|0,r[2]=r[2]+o|0,r[3]=r[3]+c|0,r[4]=r[4]+a|0,r[5]=r[5]+u|0,r[6]=r[6]+l|0,r[7]=r[7]+f|0}_append(t){typeof t=="string"&&(t=xc.fromUtf8(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_process(t){let n,r=this._data.sigBytes/64;t?r=Math.ceil(r):r=Math.max((r|0)-this._minBufferSize,0);const s=r*16,i=Math.min(s*4,this._data.sigBytes);if(s){for(let o=0;o<s;o+=16)this._doProcessBlock(this._data.words,o);n=this._data.words.splice(0,s),this._data.sigBytes-=i}return new xc(n,i)}}let xc=class v0{constructor(t,n){le(this,"words");le(this,"sigBytes");t=this.words=t||[],this.sigBytes=n===void 0?t.length*4:n}static fromUtf8(t){const n=unescape(encodeURIComponent(t)),r=n.length,s=[];for(let i=0;i<r;i++)s[i>>>2]|=(n.charCodeAt(i)&255)<<24-i%4*8;return new v0(s,r)}toBase64(){const t=[];for(let n=0;n<this.sigBytes;n+=3){const r=this.words[n>>>2]>>>24-n%4*8&255,s=this.words[n+1>>>2]>>>24-(n+1)%4*8&255,i=this.words[n+2>>>2]>>>24-(n+2)%4*8&255,o=r<<16|s<<8|i;for(let c=0;c<4&&n*8+c*6<this.sigBytes*8;c++)t.push(g3.charAt(o>>>6*(3-c)&63))}return t.join("")}concat(t){if(this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4),this.sigBytes%4)for(let n=0;n<t.sigBytes;n++){const r=t.words[n>>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=r<<24-(this.sigBytes+n)%4*8}else for(let n=0;n<t.sigBytes;n+=4)this.words[this.sigBytes+n>>>2]=t.words[n>>>2];this.sigBytes+=t.sigBytes}};function y3(e){return new m3().finalize(e).toBase64()}function _3(e){return y3(Qd(e))}const v3={trailing:!0};
28function b3(e,t=25,n={}){if(n={...v3,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let r,s,i=[],o,c;const a=(u,l)=>(o=w3(e,u,l),o.finally(()=>{if(o=null,n.trailing&&c&&!s){const f=a(u,c);return c=null,f}}),o);return function(...u){return o?(n.trailing&&(c=u),o):new Promise(l=>{const f=!s&&n.leading;clearTimeout(s),s=setTimeout(()=>{s=null;const h=n.leading?r:a(this,u);for(const p of i)p(h);i=[]},t),f?(r=a(this,u),l(r)):i.push(l)})}}async function w3(e,t,n){return await e.apply(t,n)}function S3(e){return Array.isArray(e)?e:[e]}const E3=Symbol.for("nuxt:client-only"),Zd=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),T3=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Wa=e=>{const t=qe();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Zd(()=>e())}):Zd(()=>e())},C3=e=>e==="defer"||e===!1;function A3(...e){var p;const t=typeof e[e.length-1]=="string"?e.pop():void 0;k3(e[0],e[1])&&e.unshift(t);let[n,r,s={}]=e;const i=we(()=>Nh(n));if(typeof i.value!="string")throw new TypeError("[nuxt] [useAsyncData] key must be a string.");if(typeof r!="function")throw new TypeError("[nuxt] [useAsyncData] handler must be a function.");const o=qe();s.server??(s.server=!0),s.default??(s.default=R3),s.getCachedData??(s.getCachedData=w0),s.lazy??(s.lazy=!1),s.immediate??(s.immediate=!0),s.deep??(s.deep=vr.deep),s.dedupe??(s.dedupe="cancel"),s._functionName,o._asyncData[i.value];const c={cause:"initial",dedupe:s.dedupe};(p=o._asyncData[i.value])!=null&&p._init||(c.cachedData=s.getCachedData(i.value,o,{cause:"initial"}),o._asyncData[i.value]=$m(o,i.value,r,s,c.cachedData));const a=o._asyncData[i.value];a._deps++;const u=()=>o._asyncData[i.value].execute(c),l=s.server!==!1&&o.payload.serverRendered;{let d=function(m){const b=o._asyncData[m];b!=null&&b._deps&&(b._deps--,b._deps===0&&(b==null||b._off()))};const g=wn();if(g&&l&&s.immediate&&!g.sp&&(g.sp=[]),g&&!g._nuxtOnBeforeMountCbs){g._nuxtOnBeforeMountCbs=[];const m=g._nuxtOnBeforeMountCbs;Nv(()=>{m.forEach(b=>{b()}),m.splice(0,m.length)}),yl(()=>m.splice(0,m.length))}const v=g&&(g._nuxtClientOnly||ut(E3,!1));l&&o.isHydrating&&(a.error.value||a.data.value!=null)?(a.pending.value=!1,a.status.value=a.error.value?"error":"success"):g&&(!v&&o.payload.serverRendered&&o.isHydrating||s.lazy)&&s.immediate?g._nuxtOnBeforeMountCbs.push(u):s.immediate&&u();const _=Fa(),y=Zt([i,...s.watch||[]],([m],[b])=>{var E,$;if((m||b)&&m!==b){const A=((E=o._asyncData[b])==null?void 0:E.data.value)!==vr.value,D=o._asyncDataPromises[b]!==void 0;b&&d(b);const H={cause:"initial",dedupe:s.dedupe};($=o._asyncData[m])!=null&&$._init||(H.cachedData=s.getCachedData(m,o,{cause:"initial"}),o._asyncData[m]=$m(o,m,r,s,H.cachedData)),o._asyncData[m]._deps++,(s.immediate||A||D)&&o._asyncData[m].execute(H)}else a._execute({cause:"watch",dedupe:s.dedupe})},{flush:"sync"});_&&du(()=>{y(),d(i.value)})}const f={data:Lc(()=>{var d;return(d=o._asyncData[i.value])==null?void 0:d.data}),pending:Lc(()=>{var d;return(d=o._asyncData[i.value])==null?void 0:d.pending}),status:Lc(()=>{var d;return(d=o._asyncData[i.value])==null?void 0:d.status}),error:Lc(()=>{var d;return(d=o._asyncData[i.value])==null?void 0:d.error}),refresh:(...d)=>o._asyncData[i.value].execute(...d),execute:(...d)=>o._asyncData[i.value].execute(...d),clear:()=>b0(o,i.value)},h=Promise.resolve(o._asyncDataPromises[i.value]).then(()=>f);return Object.assign(h,f),h}function Lc(e){return we({get(){var t;return(t=e())==null?void 0:t.value},set(t){const n=e();n&&(n.value=t)}})}function k3(e,t){return!(typeof e=="string"||typeof e=="object"&&e!==null||typeof e=="function"&&typeof t=="function")}async function I3(e){await new Promise(n=>Wa(n));const t=e?S3(e):void 0;await qe().hooks.callHookParallel("app:data:refresh",t)}function b0(e,t){t in e.payload.data&&(e.payload.data[t]=void 0),t in e.payload._errors&&(e.payload._errors[t]=vr.errorValue),e._asyncData[t]&&(e._asyncData[t].data.value=void 0,e._asyncData[t].error.value=vr.errorValue,e._asyncData[t].pending.value=!1,e._asyncData[t].status.value="idle"),t in e._asyncDataPromises&&(e._asyncDataPromises[t]&&(e._asyncDataPromises[t].cancelled=!0),e._asyncDataPromises[t]=void 0)}function $3(e,t){const n={};for(const r of t)n[r]=e[r];return n}
28function $m(e,t,n,r,s){var f;(f=e.payload._errors)[t]??(f[t]=vr.errorValue);const i=r.getCachedData!==w0,o=n,c=r.deep?tt:Fn,a=s!=null,u=e.hook("app:data:refresh",async h=>{(!h||h.includes(t))&&await l.execute({cause:"refresh:hook"})}),l={data:c(a?s:r.default()),pending:Fn(!a),error:Dh(e.payload._errors,t),status:Fn("idle"),execute:(...h)=>{const[p,d=void 0]=h,g=p&&d===void 0&&typeof p=="object"?p:{};if(e._asyncDataPromises[t]){if(C3(g.dedupe??r.dedupe))return e._asyncDataPromises[t];e._asyncDataPromises[t].cancelled=!0}if(g.cause==="initial"||e.isHydrating){const _="cachedData"in g?g.cachedData:r.getCachedData(t,e,{cause:g.cause??"refresh:manual"});if(_!=null)return e.payload.data[t]=l.data.value=_,l.error.value=vr.errorValue,l.status.value="success",Promise.resolve(_)}l.pending.value=!0,l.status.value="pending";const v=new Promise((_,y)=>{try{_(o(e))}catch(m){y(m)}}).then(async _=>{if(v.cancelled)return e._asyncDataPromises[t];let y=_;r.transform&&(y=await r.transform(_)),r.pick&&(y=$3(y,r.pick)),e.payload.data[t]=y,l.data.value=y,l.error.value=vr.errorValue,l.status.value="success"}).catch(_=>{if(v.cancelled)return e._asyncDataPromises[t];l.error.value=ts(_),l.data.value=re(r.default()),l.status.value="error"}).finally(()=>{v.cancelled||(l.pending.value=!1,delete e._asyncDataPromises[t])});return e._asyncDataPromises[t]=v,e._asyncDataPromises[t]},_execute:b3((...h)=>l.execute(...h),0,{leading:!0}),_default:r.default,_deps:0,_init:!0,_hash:void 0,_off:()=>{var h;u(),(h=e._asyncData[t])!=null&&h._init&&(e._asyncData[t]._init=!1),i||qn(()=>{var p;(p=e._asyncData[t])!=null&&p._init||(b0(e,t),l.execute=()=>Promise.resolve(),l.data.value=vr.value)})}};return l}const R3=()=>vr.value,w0=(e,t,n)=>{if(t.isHydrating)return t.payload.data[e];if(n.cause!=="refresh:manual"&&n.cause!=="refresh:hook")return t.static.data[e]},P3="$s";function Cl(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const s=P3+n,i=qe(),o=Dh(i.payload.state,s);if(o.value===void 0&&r){const c=r();if(Be(c))return i.payload.state[s]=c,c;o.value=c}return o}const O3=(()=>{const e=function(){};return e.prototype=Object.create(null),e})();function x3(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n=new O3,r=t||{},s=r.decode||L3;let i=0;for(;i<e.length;){const o=e.indexOf("=",i);if(o===-1)break;let c=e.indexOf(";",i);if(c===-1)c=e.length;else if(c<o){i=e.lastIndexOf(";",o-1)+1;continue}const a=e.slice(i,o).trim();if(r!=null&&r.filter&&!(r!=null&&r.filter(a))){i=c+1;continue}if(n[a]===void 0){let u=e.slice(o+1,c).trim();u.codePointAt(0)===34&&(u=u.slice(1,-1)),n[a]=M3(u,s)}i=c+1}return n}function L3(e){return e.includes("%")?decodeURIComponent(e):e}function M3(e,t){try{return t(e)}catch{return e}}const Mc=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function Rm(e,t,n){const r=n||{},s=r.encode||encodeURIComponent;if(typeof s!="function")throw new TypeError("option encode is invalid");if(!Mc.test(e))throw new TypeError("argument name is invalid");const i=s(t);if(i&&!Mc.test(i))throw new TypeError("argument val is invalid");let o=e+"="+i;if(r.maxAge!==void 0&&r.maxAge!==null){const c=r.maxAge-0;if(Number.isNaN(c)||!Number.isFinite(c))throw new TypeError("option maxAge is invalid");o+="; Max-Age="+Math.floor(c)}if(r.domain){if(!Mc.test(r.domain))throw new TypeError("option domain is invalid");o+="; Domain="+r.domain}if(r.path){if(!Mc.test(r.path))throw new TypeError("option path is invalid");o+="; Path="+r.path}if(r.expires){if(!N3(r.expires)||Number.isNaN(r.expires.valueOf()))throw new TypeError("option expires is invali
28d");o+="; Expires="+r.expires.toUTCString()}if(r.httpOnly&&(o+="; HttpOnly"),r.secure&&(o+="; Secure"),r.priority)switch(typeof r.priority=="string"?r.priority.toLowerCase():r.priority){case"low":{o+="; Priority=Low";break}case"medium":{o+="; Priority=Medium";break}case"high":{o+="; Priority=High";break}default:throw new TypeError("option priority is invalid")}if(r.sameSite)switch(typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite){case!0:{o+="; SameSite=Strict";break}case"lax":{o+="; SameSite=Lax";break}case"strict":{o+="; SameSite=Strict";break}case"none":{o+="; SameSite=None";break}default:throw new TypeError("option sameSite is invalid")}return r.partitioned&&(o+="; Partitioned"),o}function N3(e){return Object.prototype.toString.call(e)==="[object Date]"||e instanceof Date}function pn(e){if(typeof e!="object")return e;var t,n,r=Object.prototype.toString.call(e);if(r==="[object Object]"){if(e.constructor!==Object&&typeof e.constructor=="function"){n=new e.constructor;for(t in e)e.hasOwnProperty(t)&&n[t]!==e[t]&&(n[t]=pn(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:pn(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=pn(e[t])}return n}if(r==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=pn(e[t]);return n}return r==="[object Set]"?(n=new Set,e.forEach(function(s){n.add(pn(s))}),n):r==="[object Map]"?(n=new Map,e.forEach(function(s,i){n.set(pn(i),pn(s))}),n):r==="[object Date]"?new Date(+e):r==="[object RegExp]"?(n=new RegExp(e.source,e.flags),n.lastIndex=e.lastIndex,n):r==="[object DataView]"?new e.constructor(pn(e.buffer)):r==="[object ArrayBuffer]"?e.slice(0):r.slice(-6)==="Array]"?new e.constructor(e):e}const D3={path:"/",watch:!0,decode:e=>sa(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},Nc=window.cookieStore;function j3(e,t){var u;const n={...D3,...t};n.filter??(n.filter=l=>l===e);const r=Pm(n)||{};let s;n.maxAge!==void 0?s=n.maxAge*1e3:n.expires&&(s=n.expires.getTime()-Date.now());const i=s!==void 0&&s<=0,o=i||r[e]===void 0||r[e]===null,c=pn(i?void 0:r[e]??((u=n.default)==null?void 0:u.call(n))),a=s&&!i?U3(c,s,n.watch&&n.watch!=="shallow"):tt(c);{let l=null;try{!Nc&&typeof BroadcastChannel<"u"&&(l=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const f=(g=!1)=>{!g&&(n.readonly||d3(a.value,r[e]))||(H3(e,a.value,n),r[e]=pn(a.value),l==null||l.postMessage({value:n.encode(a.value)}))},h=g=>{var _;const v=g.refresh?(_=Pm(n))==null?void 0:_[e]:n.decode(g.value);p=!0,a.value=v,r[e]=pn(v),qn(()=>{p=!1})};let p=!1;const d=!!Fa();if(d&&du(()=>{p=!0,f(),l==null||l.close()}),Nc){const g=v=>{const _=v.changed.find(m=>m.name===e),y=v.deleted.find(m=>m.name===e);_&&h({value:_.value}),y&&h({value:null})};Nc.addEventListener("change",g),d&&du(()=>Nc.removeEventListener("change",g))}else l&&(l.onmessage=({data:g})=>h(g));n.watch&&Zt(a,()=>{p||f()},{deep:n.watch!=="shallow"}),o&&f(o)}return a}function Pm(e={}){return x3(document.cookie,e)}function F3(e,t,n={}){return t==null?Rm(e,t,{...n,maxAge:-1}):Rm(e,t,n)}function H3(e,t,n={}){document.cookie=F3(e,t,n)}const Om=2147483647;function U3(e,t,n){let r,s,i=0;const o=n?tt(e):{value:e};return Fa()&&du(()=>{s==null||s(),clearTimeout(r)}),aT((c,a)=>{n&&(s=Zt(o,a));function u(){i=0,clearTimeout(r);const l=t-i,f=l<Om?l:Om;r=setTimeout(()=>{if(i+=f,i<t)return u();o.value=void 0,a()},f)}return{get(){return c(),o.value},set(l){u(),o.value=l,a()}}})}function V3(e){if(e!=null&&e.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function S0(e,t=Tt()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const s=t._preloadPromises||(t._preloadPromises=[]);if(s.length>4)return Promise.all(s).then(()=>S0(e,t));t._routePreloaded.add(n);const i=r.map(o=>{var c;return(c=o.components)==null?void 0:c.default}).filter(o=>typeof o=="function");for(const o of i){const c=Promise.resolve(o()).catch(()=>{}).finally(()=>s.splice(s.indexOf(c)));s.push(c)}await Promise.all(s)}function B3(e={}){const t=e.path||window.location.pathname;let n={};try{n=sa(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires)<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:qe().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}function q3(e){return new URL(window.location.href)}const W3=(...e)=>e.find(t=>t!==void 0);function z3(e){const t=e.componentName||"NuxtLink";function n(i){return typeof i=="string"&&i.startsWith("#")}function r(i,o,c){const a=c??e.trailingSlash;if(!i||a!=="append"&&a!=="remove")return i;if(typeof i=="string")return Dc(i,a);const u="path"in i&&i.path!==void 0?i.path:o(i).path;return{...i,name:void 0,path:Dc(u,a)}}function s(i){const o=Tt(),c=Gs(),a=we(()=>!!i.target&&i.target!=="_self"),u=we(()=>{const v=i.to||i.href||"";return typeof v=="string"&&Zn(v,{acceptRelative:!0})}),l=Sd("RouterLink"),f=l&&typeof l!="string"?l.useLink:void 0,h=we(()=>{if(i.external)return!0;const v=i.to||i.href||"";return typeof v=="object"?!1:v===""||u.value}),p=we(()=>{const v=i.to||i.href||"";return h.value?v:r(v,o.resolve,i.trailingSlash)}),d=h.value||f==null?void 0:f({...i,to:p}),g=we(()=>{var _;const v=i.trailingSlash??e.trailingSlash;if(!p.value||u.value||n(p.value))return p.value;if(h.value){const y=typeof p.value=="object"&&"path"in p.value?Fd(p.value):p.value,m=typeof y=="object"?o.resolve(y).href:y;return Dc(m,v)}return typeof p.value=="object"?((_=o.resolve(p.value))==null?void 0:_.href)??null:Dc(wl(c.app.baseURL,p.value),v)});
28return{to:p,hasTarget:a,isAbsoluteUrl:u,isExternal:h,href:g,isActive:(d==null?void 0:d.isActive)??we(()=>p.value===o.currentRoute.value.path),isExactActive:(d==null?void 0:d.isExactActive)??we(()=>p.value===o.currentRoute.value.path),route:(d==null?void 0:d.route)??we(()=>o.resolve(p.value)),async navigate(v){await Wb(g.value,{replace:i.replace,external:h.value||a.value})}}}return Qn({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:s,setup(i,{slots:o}){const c=Tt(),{to:a,href:u,navigate:l,isExternal:f,hasTarget:h,isAbsoluteUrl:p}=s(i),d=Fn(!1),g=tt(null),v=m=>{var b;g.value=i.custom?(b=m==null?void 0:m.$el)==null?void 0:b.nextElementSibling:m==null?void 0:m.$el};function _(m){var b,E;return!d.value&&(typeof i.prefetchOn=="string"?i.prefetchOn===m:((b=i.prefetchOn)==null?void 0:b[m])??((E=e.prefetchOn)==null?void 0:E[m]))&&(i.prefetch??e.prefetch)!==!1&&i.noPrefetch!==!0&&i.target!=="_blank"&&!Y3()}async function y(m=qe()){if(d.value)return;d.value=!0;const b=typeof a.value=="string"?a.value:f.value?Fd(a.value):c.resolve(a.value).fullPath,E=f.value?new URL(b,window.location.href).href:b;await Promise.all([m.hooks.callHook("link:prefetch",E).catch(()=>{}),!f.value&&!h.value&&S0(a.value,c).catch(()=>{})])}if(_("visibility")){const m=qe();let b,E=null;jr(()=>{const $=K3();Wa(()=>{b=Zd(()=>{var A;(A=g==null?void 0:g.value)!=null&&A.tagName&&(E=$.observe(g.value,async()=>{E==null||E(),E=null,await y(m)}))})})}),Zi(()=>{b&&T3(b),E==null||E(),E=null})}return()=>{var E;if(!f.value&&!h.value&&!n(a.value)){const $={ref:v,to:a.value,activeClass:i.activeClass||e.activeClass,exactActiveClass:i.exactActiveClass||e.exactActiveClass,replace:i.replace,ariaCurrentValue:i.ariaCurrentValue,custom:i.custom};
28return i.custom||(_("interaction")&&($.onPointerenter=y.bind(null,void 0),$.onFocus=y.bind(null,void 0)),d.value&&($.class=i.prefetchedClass||e.prefetchedClass),$.rel=i.rel||void 0),Qe(Sd("RouterLink"),$,o.default)}const m=i.target||null,b=W3(i.noRel?"":i.rel,e.externalRelAttribute,p.value||h.value?"noopener noreferrer":"")||null;return i.custom?o.default?o.default({href:u.value,navigate:l,prefetch:y,get route(){if(!u.value)return;const $=new URL(u.value,window.location.href);return{path:$.pathname,fullPath:$.pathname,get query(){return Kh($.search)},hash:$.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:u.value}},rel:b,target:m,isExternal:f.value||h.value,isActive:!1,isExactActive:!1}):null:Qe("a",{ref:g,href:u.value||null,rel:b,target:m,onClick:$=>{if(!(f.value||h.value))return $.preventDefault(),i.replace?c.replace(u.value):c.push(u.value)}},(E=o.default)==null?void 0:E.call(o))}}})}const Ys=z3(gA);function Dc(e,t){const n=t==="append"?$b:Hi;return Zn(e)&&!e.startsWith("http")?e:n(e,!0)}function K3(){const e=qe();if(e._observer)return e._observer;let t=null;const n=new Map,r=(i,o)=>(t||(t=new IntersectionObserver(c=>{for(const a of c){const u=n.get(a.target);(a.isIntersecting||a.intersectionRatio>0)&&u&&u()}})),n.set(i,o),t.observe(i),()=>{n.delete(i),t==null||t.unobserve(i),n.size===0&&(t==null||t.disconnect(),t=null)});return e._observer={observe:r}}const G3=/2g/;function Y3(){const e=navigator.connection;return!!(e&&(e.saveData||G3.test(e.effectiveType)))}function J3(e){typeof e.indexable<"u"&&(e.indexable=String(e.indexable)!=="false"),typeof e.trailingSlash<"u"&&!e.trailingSlash&&(e.trailingSlash=String(e.trailingSlash)!=="false"),e.url&&!Zn(String(e.url),{acceptRelative:!0,strict:!1})&&(e.url=LC(String(e.url)));const t=Object.keys(e).sort((r,s)=>r.localeCompare(s)),n={};for(const r of t)n[r]=e[r];return n}function X3(e){const n=[];function r(i){if(!i||typeof i!="object"||Object.keys(i).length===0)return()=>{};i._context;const o={};for(const c in i){const a=i[c];typeof a<"u"&&a!==""&&(o[c]=a)}return Object.keys(o).filter(c=>!c.startsWith("_")).length===0?()=>{}:(n.push(o),()=>{const c=n.indexOf(o);c!==-1&&n.splice(c,1)})}function s(i){var c;const o={};i!=null&&i.debug&&(o._context={}),o._priority={};for(const a in n.sort((u,l)=>(u._priority||0)-(l._priority||0)))for(const u in n[a]){const l=u,f=i!=null&&i.resolveRefs?Nh(n[a][u]):n[a][u];!u.startsWith("_")&&typeof f<"u"&&f!==""&&(o[u]=f,typeof n[a]._priority<"u"&&n[a]._priority!==-1&&(o._priority[l]=n[a]._priority),i!=null&&i.debug&&(o._context[l]=((c=n[a]._context)==null?void 0:c[l])||n[a]._context||"anonymous"))}return i!=null&&i.skipNormalize?o:J3(o)}return{stack:n,push:r,get:s}}const Q3=Ct({name:"nuxt-site-config:init",enforce:"pre",async setup(e){var r;const t=X3(),n=Cl("site-config");{const s=n.value||window.__NUXT_SITE_CONFIG__||{};for(const i in s)i[0]!=="_"&&t.push({[i]:s[i],_priority:((r=s._priority)==null?void 0:r[i])||-1})}return{provide:{nuxtSiteConfig:t}}}}),Z3=Ct({name:"nuxt:payload",setup(e){const t=new Set;Tt().beforeResolve(async(n,r)=>{if(n.path===r.path)return;const s=await lm(n.path);if(s){for(const i of t)delete e.static.data[i];for(const i in s.data)i in e.static.data||t.add(i),e.static.data[i]=s.data[i]}}),Wa(()=>{var n;e.hooks.hook("link:prefetch",async r=>{const{hostname:s}=new URL(r,window.location.href);s===window.location.hostname&&await lm(r).catch(()=>{})}),((n=navigator.connection)==null?void 0:n.effectiveType)!=="slow-2g"&&setTimeout(El,1e3)})}}),e$=Ct(()=>{const e=Tt();Wa(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),t$=Ct(e=>{let t;async function n(){const r=await El();t&&clearTimeout(t),t=setTimeout(n,nm);try{const s=await $fetch(Yh("builds/latest.json")+`?${Date.now()}`);s.id!==r.id&&e.hooks.callHook("app:manifest:update",s)}catch{}}Wa(()=>{t=setTimeout(n,nm)})}),n$=Ct({name:"nuxt:chunk-reload",setup(e){const t=Tt(),n=Gs(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:i})=>{r.add(i)});function s(i){const o=wl(n.app.baseURL,i.fullPath);B3({path:o,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((i,o)=>{r.has(i)&&s(o)})}}),r$=Ct({name:"nuxt:global-components"}),Xr={},s$=Ct({name:"nuxt:prefetch",setup(e){const t=Tt();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var s;const r=(s=n==null?void 0:n.meta)==null?void 0:s.layout;r&&typeof Xr[r]=="function"&&await Xr[r]()})}),e.hooks.hook("link:prefetch",n=>{if(Zn(n))return;const r=t.resolve(n);if(!r)return;const s=r.meta.layout;let i=rp(r.meta.middleware);
28i=i.filter(o=>typeof o=="string");for(const o of i)typeof Fo[o]=="function"&&Fo[o]();typeof s=="string"&&s in Xr&&V3(Xr[s])})}}),i$=Ct({name:"sentry-client-config",async setup(){let e,t;[e,t]=Ls(()=>yt(()=>import("./BlRW1lmw.js"),[],import.meta.url)),await e,t()}}),o$=Ct(()=>{{const e=async()=>{const t=document.createElement("link");t.rel="stylesheet",t.href="https://unpkg.com/[email protected]/dist/aos.css",document.head.appendChild(t);const n=document.createElement("script");n.src="https://unpkg.com/[email protected]/dist/aos.js",n.onload=()=>{window.AOS&&window.AOS.init({duration:1e3,once:!0,offset:120})},document.head.appendChild(n)};qn(()=>{e()})}}),a$=Ct(()=>({provide:{formatDate:t=>{if(!t)return"";const n=t.includes("T")?t:t+"T00:00:00.0";return new Date(n).toLocaleDateString("en-GB",{weekday:"long",day:"numeric",month:"long",year:"numeric",localeMatcher:"best fit"}).replace(",","")}}})),c$=["href","target"],u$={key:2,class:"disabled-link"},l$={key:3},Gt={__name:"contentLink",props:{contentLink:{type:Object},contentId:{type:String}},setup(e){var f,h,p;const t=e;let n=t!=null&&t.contentLink?(h=(f=t==null?void 0:t.contentLink)==null?void 0:f.contentPicker)==null?void 0:h._ref:t==null?void 0:t.contentId,r=(p=t==null?void 0:t.contentLink)!=null&&p.externalLink?"_blank":"";const s=ut("contentMap",tt(new Map)),i=we(()=>n&&(s!=null&&s.value)?s.value.get(n):null),o=we(()=>{var g;let d=t==null?void 0:t.contentLink;return d&&d.title&&d.title!=""?d.title:(g=i.value)==null?void 0:g.title}),c=we(()=>{var d,g;if(i.value){const v=i.value._type;let _="";if(!["services","products","expertise","articles"].includes(v))if(v=="contentPage"){let y=i.value.parentPage,m=[];for(;y;)m.push(y.slug.current),y=y.parentPage;_=m.reverse().join("/")}else v=="article"?_="insights-events":v=="expertiseItem"?_="expertise":v=="team"?_="about-us":v=="bio"?_="about-us/team":_=v+"s";return"/"+_+(_==""?"":"/")+((d=i.value.slug)==null?void 0:d.current)}return(g=t==null?void 0:t.contentLink)==null?void 0:g.externalLink}),a=we(()=>{var d;return(d=t==null?void 0:t.contentLink)!=null&&d.externalLink||r==="_blank"?!0:c.value?c.value.startsWith("http")||c.value.startsWith("mailto:")||c.value.startsWith("tel:")||c.value.startsWith("//"):!1}),u=NT(),l=we(()=>{var g;const d=(g=u.default)==null?void 0:g.call(u);return!!(d&&(d!=null&&d.length))});return(d,g)=>{const v=Ys;return re(c)&&re(a)?(L(),N("a",{key:0,href:re(c),target:re(r)},[re(l)?$c(d.$slots,"default",{key:0}):(L(),N(ce,{key:1},[it(K(re(o)),1)],64))],8,c$)):re(c)&&re(c)!=="#"?(L(),Oe(v,{key:1,to:re(c)},{default:je(()=>[re(l)?$c(d.$slots,"default",{key:0}):(L(),N(ce,{key:1},[it(K(re(o)),1)],64))]),_:3},8,["to"])):re(c)==="#"?(L(),N("span",u$,[re(l)?$c(d.$slots,"default",{key:0}):(L(),N(ce,{key:1},[it(K(re(o)),1)],64))])):(L(),N("div",l$,[re(l)?$c(d.$slots,"default",{key:0}):(L(),N(ce,{key:1},[it(K(re(o)),1)],64))]))}}}
28,f$=["innerHTML"],er={__name:"svginline",props:{url:{type:String}},setup(e){const t=e,n=tt(""),r=tt({});return jr(()=>{fetch(t.url).then(s=>s.text()).then(s=>{const c=new DOMParser().parseFromString(s,"image/svg+xml").documentElement;for(let u of c.attributes)r.value[u.name]=u.value;if(c.hasAttribute("viewBox")){const u=c.getAttribute("viewBox").split(" ");u.length===4&&(r.value.width=u[2])}const a=c.querySelector("defs");if(a){const u=a.querySelector("style");if(u){const f=u.textContent.match(/[^{]+\{[^}]+\}/g)||[],h={};for(const d of f){const[g,v]=d.split("{");if(g&&v){const _=g.trim().replace(".","").replace(/:.+/,""),y=v.replace("}","").trim().split(";").filter(Boolean);h[_]={};for(const m of y){const[b,E]=m.split(":");b&&E&&(h[_][b.trim()]=E.trim())}}}Object.keys(h).forEach(d=>{c.querySelectorAll("."+d).forEach(v=>{Object.entries(h[d]).forEach(([_,y])=>{v.setAttribute(_,y)}),d.split(",").forEach(_=>{const y=_.trim().replace(".","");y&&v.classList.remove(y)})})}),u.remove();let p=null;Object.values(h).forEach(d=>{d.fill&&!p&&(p=d.fill)}),p&&c.querySelectorAll("path, rect, circle, ellipse, polygon, polyline").forEach(g=>{!g.hasAttribute("fill")&&!g.style.fill&&g.setAttribute("fill",p)})}}n.value=c.innerHTML})}),(s,i)=>(L(),N("svg",eo({innerHTML:re(n)},re(r)),null,16,f$))}},d$=["src","alt"],E0={__name:"ImageMedia",props:{asset:{type:Object},media:{type:Object}},setup(e){const t=e,{$getMediaUrl:n}=qe(),r=we(()=>n({_type:"image",asset:t==null?void 0:t.asset},800)),s=we(()=>r==null?void 0:r.value.includes(".svg"));return(i,o)=>{const c=er;return L(),N("figure",null,[re(s)?(L(),Oe(c,{key:0,url:re(r)},null,8,["url"])):(L(),N("img",{key:1,src:re(r),alt:i.$getAltText({_type:"image",asset:t==null?void 0:t.asset})},null,8,d$))])}}},h$={class:"popup__content"},p$=["src"],T0={__name:"popup",props:{videoUrl:{type:String},open:{type:Boolean}},setup(e){const t=e,n=we(()=>{const s=(t.videoUrl||"").match(/(?:https?:\/\/)?(?:www\.)?youtu(?:\.be\/|be\.com\/(?:watch\?v=|embed\/|v\/))([a-zA-Z0-9_-]{11})/);return s?s[1]:""});return(r,s)=>(L(),N("div",{class:Ge(["popup",{active:e.open}])},[w("div",h$,[w("iframe",{width:"100%",style:{"aspect-ratio":"16/9"},src:`https://www.youtube-nocookie.com/embed/${re(n)}`,frameborder:"0",referrerpolicy:"strict-origin-when-cross-origin",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:""},null,8,p$)]),(L(),N("svg",{class:"popup__close",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",onClick:s[0]||(s[0]=i=>r.$emit("close"))},[...s[1]||(s[1]=[w("path",{d:"M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c-9.4 9.4-9.4 24.6 0 33.9l47 47-47 47c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l47-47 47 47c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-47-47 47-47c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-47 47-47-47c-9.4-9.4-24.6-9.4-33.9 0z"},null,-1)])]))],2))}},g$=["data-menu"],m$=["href"],y$={key:2,class:"header__menu-link disabled-link"},_$={class:"container"},v$={class:"megamenu__layout"},b$={class:"megamenu__main"},w$={class:"megamenu__cols"},S$={key:0,class:"megamenu__aside"},E$={class:"megamenu__heading"},T$={class:"megamenu__text"},C$={key:0,class:"megamenu__action"},A$=["href"],k$={key:2,class:"link disabled-link"},I$={__name:"dropNav",props:{title:{type:String},columns:{type:Array},navStory:{type:Object}},setup(e){const t=e,n=we(()=>{var u,l,f,h,p,d,g,v,_,y;if((f=(l=(u=t.navStory)==null?void 0:u.contentLink)==null?void 0:l.contentPicker)!=null&&f.parentPage&&!((p=(h=t.navStory)==null?void 0:h.contentLink)!=null&&p.externalLink))return"#";if((g=(d=t.navStory)==null?void 0:d.contentLink)!=null&&g.externalLink)return t.navStory.contentLink.externalLink;const a=(y=(_=(v=t.navStory)==null?void 0:v.contentLink)==null?void 0:_.contentPicker)==null?void 0:y.slug;return a?a.startsWith("/")?a:`/${a}`:"#"}),r=we(()=>{var a,u;return n.value&&(n.value.startsWith("http")||n.value.startsWith("mailto:")||n.value.startsWith("tel:")||((u=(a=t.navStory)==null?void 0:a.contentLink)==null?void 0:u.externalLink))}),s=tt(!1),i=Tt(),o=()=>{s.value=!0},c=()=>{s.value=!1};return Zt(()=>i.currentRoute.value.path,()=>{c()}
28),window.closeAllMenus||(window.closeAllMenus=()=>{document.querySelectorAll(".header__menu-item.is-menu-open").forEach(u=>{const l=new CustomEvent("closemenu");u.dispatchEvent(l)})}),jr(()=>{const a=document.querySelector(`[data-menu="${t.title}"]`);a&&a.addEventListener("closemenu",c)}),(a,u)=>{const l=Ys;return L(),N("li",{class:Ge(["header__menu-item has-megamenu",{"is-menu-open":re(s)}]),"data-menu":e.title,onMouseenter:o,onMouseleave:c},[re(r)?(L(),N("a",{key:0,class:"header__menu-link",href:re(n),target:"_blank"},[w("span",null,K(e.title),1)],8,m$)):re(n)&&re(n)!=="#"?(L(),Oe(l,{key:1,class:"header__menu-link",to:re(n)},{default:je(()=>[w("span",null,K(e.title),1)]),_:1},8,["to"])):(L(),N("span",y$,[w("span",null,K(e.title),1)])),w("div",{class:Ge(["megamenu",{"is-open":re(s)}])},[w("div",_$,[w("div",v$,[w("div",b$,[w("div",w$,[(L(!0),N(ce,null,Ae(e.columns,f=>(L(),Oe(Va(a.$getComponentType(f._type)),eo({ref_for:!0},f),null,16))),256))])])]),e.navStory?(L(),N("div",S$,[w("h3",E$,K(e.navStory.navStoryItem.title),1),w("div",T$,[w("p",null,K(e.navStory.navStoryItem.description),1)]),e.navStory.contentLink?(L(),N("div",C$,[re(r)?(L(),N("a",{key:0,class:"link",href:re(n),target:"_blank"},[w("span",null,K(e.navStory.contentLink.title),1)],8,A$)):re(n)&&re(n)!=="#"?(L(),Oe(l,{key:1,class:"link",to:re(n)},{default:je(()=>[w("span",null,K(e.navStory.contentLink.title),1)]),_:1},8,["to"])):(L(),N("span",k$,[w("span",null,K(e.navStory.contentLink.title),1)]))])):he("",!0)])):he("",!0)])],2)],42,g$)}}},$$={class:"header__menu-item"},R$={__name:"directNav",props:{contentLink:Object},setup(e){return(t,n)=>{const r=Gt;return L(),N("li",$$,[de(r,{class:"header__menu-link","content-link":e.contentLink},null,8,["content-link"])])}}},P$={class:"megamenu__col"},O$={class:"megamenu__heading"},x$={class:"megamenu__list"},L$={class:"megamenu__item"},M$={__name:"linksColumn",props:{title:{type:String},dropNavLinks:{type:Array}},setup(e){const t=e;return(n,r)=>{const s=Gt;return L(),N("div",P$,[w("h3",O$,K(t==null?void 0:t.title),1),w("ul",x$,[(L(!0),N(ce,null,Ae(t==null?void 0:t.dropNavLinks,i=>(L(),N("li",L$,[de(s,{class:"megamenu__link","content-id":i.contentPicker._ref},null,8,["content-id"])]))),256))])])}}},N$={class:"section approach","data-aos":"fade-up"},D$={class:"container"},j$={class:"head head--centered"},F$={class:"h2"},H$={class:"h3 text-slate"},U$={class:"approach__steps"},V$={class:"approach__steps-inner"},B$={class:"approach__steps-head"},q$={class:"approach__steps-items"},W$={class:"approach__steps-item"},z$={class:"approach__steps-content"},K$={class:"approach__steps-title"},G$={class:"approach__steps-list"},Y$={__name:"approachBlock",props:{title:{type:String},subtitle:{type:String},stepsTitle:{type:String},steps:{type:Array,default:()=>[]}},setup(e){const t=e;return(n,r)=>(L(),N("section",N$,[w("div",D$,[w("div",j$,[w("h2",F$,K(t.title),1),w("h3",H$,K(t.subtitle),1)]),w("div",U$,[w("div",V$,[w("div",B$,K(t.stepsTitle),1),w("div",q$,[(L(!0),N(ce,null,Ae(t.steps,s=>(L(),N("div",W$,[w("div",z$,[w("div",K$,K(s.title),1),w("ul",G$,[(L(!0),N(ce,null,Ae(s.services,i=>(L(),N("li",null,K(i),1))),256))])])]))),256))])])])])]))}},J$=["src"],X$={__name:"YouTubeEmbed",props:{url:{type:String}},setup(e){const t=e,n=we(()=>{const s=(t.url||"").match(/(?:https?:\/\/)?(?:www\.)?youtu(?:\.be\/|be\.com\/(?:watch\?v=|embed\/|v\/))([a-zA-Z0-9_-]{11})/);return s?s[1]:""});return(r,s)=>(L(),N("iframe",{width:"100%",style:{"aspect-ratio":"16/9"},referrerpolicy:"strict-origin-when-cross-origin",src:`https://www.youtube-nocookie.com/embed/${re(n)}`,frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:""},null,8,J$))}},Q$=e=>e._type==="span",Z$={types:{span:"span",image:"img"},marks:{strong:"strong",em:"em",link:"a"},styles:{h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",normal:"p",blockquote:"blockquote"},listItem:"li",container:"div"},eR=["abbr","accesskey","accessKey","action","alt","autocomplete","autofocus","autoplay","charset","checked","cite","class","cols","colspan","command","content","datetime","default","disabled","download","draggable","dropzone","headers","height","hidden","href","hreflang","id","maxlength","minlength","muted","placeholder","preload","radiogroup","readonly","required","role","selected","src","srcdoc","srcset","tabindex","title","value","width","wrap"];function tR(e,t){return e!=null&&e.listItem&&e._type!=="list"?t.listItem||"li":e!=null&&e._type?t.types[e._type]||t.marks[e._type]:void 0}function nR(e,t,n){const r=e.style&&t.styles[e.style],i=A0(e,typeof r=="string");return!e.listItem&&e.style&&r?Qe(r,i,{default:n}):n==null?void 0:n()}function rR(e,t){return th(t,e,()=>(e.children||[]).map(n=>Q$(n)?eh(n.text,n.marks,t,e.markDefs):th(t,n,()=>eh(n.text,n.marks,t,e.markDefs))))}function eh(e,[t,...n]=[],r,s=[]){if(!t)return e;const i=t in r.marks?{_type:t,_key:""}:s.find(o=>o._key===t);
28return th(r,i,()=>eh(e,n,r,s))}function C0(e,t){if(!t.listItem)return e.push(t),e;const n=e[e.length-1]||{};return n._type!=="list"||!n.children||t.level===1&&t.listItem!==n.listItem?(e.push({_type:"list",listItem:t.listItem,level:t.level,children:[t]}),e):t.level===n.level&&t.listItem===n.listItem?(n.children.push(t),e):(C0(n.children,t),e)}function th(e,t,n){const r=tR(t,e);if(!r)return n==null?void 0:n();if(!t)return;const s=typeof r=="string",i=A0(t,s);return s?Qe(r,i,n==null?void 0:n()):Qe(r,i,{default:()=>n==null?void 0:n()})}function A0(e,t){return Object.fromEntries(Object.entries(e).filter(([n])=>n!=="_type"&&n!=="markDefs").map(([n,r])=>n==="_key"?["key",r||null]:!t||eR.includes(n)?[n,r]:[]))}function nh(e,t){return e.map(n=>nR(n,t,()=>rR(n,t)))}const sR=Qn({name:"SanityContent",inheritAttrs:!1,props:{blocks:{type:Array,default:()=>[]},serializers:{type:Object,default:()=>({})}},setup(e){const t=Ba(e.serializers,Z$);return t.types.list=t.types.list||iR(t),()=>{var n;return nh(((n=e.blocks)==null?void 0:n.reduce(C0,[]))||[],t)}}}),iR=e=>Qn({name:"ListComponent",inheritAttrs:!1,props:{children:{type:Array,default:()=>[]},level:{type:Number,default:1}},setup(t){return()=>{var r;const n=((r=t.children[0])==null?void 0:r.listItem)==="number";return t.level>1?Qe(e.listItem||"li",[Qe(n?"ol":"ul",{},{default:()=>nh(t.children,e)})]):Qe(n?"ol":"ul",{},{default:()=>nh(t.children,e)})}}}),Al={__name:"Generic",props:{content:{type:Object,required:!0}},setup(e){const t={types:{image:E0,youtubeEmbed:X$}};return(n,r)=>{const s=sR;return L(),Oe(s,{blocks:e.content,serializers:t},null,8,["blocks"])}}},oR={class:"section section--z-index","data-aos":"fade-up"},aR={class:"container"},cR={key:0,class:"head head--centered"},uR={class:"h2"},lR={class:"rte"},fR={key:1,class:"section-grid"},dR={class:"section-grid__cell"},hR={class:"h3"},pR={class:"section-grid__cell rte"},gR={__name:"introBlock",props:{alternateLayout:{type:Boolean},title:{type:String},description:{type:Array},contentLink:{type:Object}},setup(e){const t=e;return(n,r)=>{const s=Gt,i=Al;return L(),N("section",oR,[w("div",aR,[t!=null&&t.alternateLayout?(L(),N("div",cR,[w("h2",uR,K(t.title),1),t!=null&&t.contentLink?(L(),Oe(s,{key:0,class:"button button--lg","content-link":t==null?void 0:t.contentLink},{default:je(()=>{var o;return[r[0]||(r[0]=w("svg",{width:"36",height:"37",viewBox:"0 0 36 37",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[w("mask",{id:"mask0_357_32434",style:{"mask-type":"luminance"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"36",height:"37"},[w("path",{d:"M35.375 0.143311H0V36.1179H35.375V0.143311Z",fill:"white"})]),w("g",{mask:"url(#mask0_357_32434)"},[w("path",{d:"M4.86254 25.9875C4.79179 25.9875 4.68802 25.9875 4.61727 25.954C4.33899 25.8484 4.16447 25.599 4.16447 25.2777V22.3229H3.98995C2.2778 22.3229 0.876953 20.8983 0.876953 19.1188V9.68387C0.876953 7.90433 2.2778 6.47974 3.98995 6.47974H22.3236C24.0358 6.47974 25.4366 7.90433 25.4366 9.68387C25.4366 9.9333 25.2244 10.1108 25.0169 10.1108C24.8093 10.1108 24.5971 9.89492 24.5971 9.68387C24.5971 8.40318 23.583 7.37191 22.3567 7.37191H3.95222C2.72589 7.37191 1.7118 8.40318 1.7118 9.68387V19.0804C1.7118 20.3611 2.72589 21.3924 3.95222 21.3924H5.00404V24.8076L7.94252 21.3924H11.1593C11.4046 21.3924 11.6121 21.6082 11.6121 21.8193C11.6121 22.0303 11.3998 22.2462 11.1593 22.2462H8.3623L5.3908 25.6998C5.2493 25.8772 5.04177 25.9827 4.86725 25.9827",fill:"currentColor"}),w("path",{d:"M32.1541 12.0342H15.9901C14.5185 12.0342 13.2969 13.2813 13.2969 14.773V23.6372C13.2969 25.1673 14.4855 26.376 15.9901 26.376H28.3383L31.4513 29.9735C31.6258 30.151 31.9041 30.0455 31.9041 29.796V26.3808H32.1824C33.654 26.3808 34.8756 25.1337 34.8756 23.642V14.8162C34.8426 13.2861 33.6493 12.039 32.1447 12.039",fill:"currentColor"})])],-1)),it(" "+K((o=t==null?void 0:t.contentLink)==null?void 0:o.title),1)]}),_:1},8,["content-link"])):he("",!0),w("div",lR,[de(i,{content:t==null?void 0:t.description},null,8,["content"])])])):(L(),N("div",fR,[w("div",dR,[w("h2",hR,K(t.title),1)]),w("div",pR,[de(i,{content:t==null?void 0:t.description},null,8,["content"])])]))])])}}},mR={class:"container"},yR={class:"head head--centered"},_R={class:"h2"},vR={class:"head__description"},bR={class:"motto"},wR={class:"motto__cell"},SR=["src"],ER={__name:"ethosBlock",props:{noTopPadding:{type:Boolean},noBottomPadding:{type:Boolean},title:{type:String,required:!0},description:{type:String},steps:{type:Array}
28,contentLink:{type:Object}},setup(e){const t=e;return(n,r)=>{const s=Gt;return L(),N("section",{class:Ge(["section",[{ntp:t==null?void 0:t.noTopPadding},{nbp:t==null?void 0:t.noBottomPadding}]]),"data-aos":"fade-up"},[w("div",mR,[w("div",yR,[w("h2",_R,K(t.title),1),w("div",vR,[w("p",null,K(t==null?void 0:t.description),1)]),w("div",bR,[(L(!0),N(ce,null,Ae(t==null?void 0:t.steps,i=>(L(),N("div",wR,[w("img",{src:n.$getMediaUrl(i==null?void 0:i.image),alt:"Step Image"},null,8,SR),w("span",null,K(i.subtitle),1)]))),256))]),de(s,{class:"button button--sm","content-link":t==null?void 0:t.contentLink},{default:je(()=>{var i;return[it(K((i=t==null?void 0:t.contentLink)==null?void 0:i.title),1)]}),_:1},8,["content-link"])])])],2)}}},TR={class:"section","data-aos":"fade-up"},CR={class:"container"},AR={class:"head head--centered"},kR={class:"h2"},IR={class:"head__text"},$R={class:"lead"},RR={class:"workflow"},PR={class:"workflow__list"},OR={class:"workflow__title"},xR={class:"workflow__text"},LR={key:0,class:"workflow__action"},MR={__name:"workflowBlock",props:{title:{type:String},subtitle:{type:String},steps:{type:Array,default:()=>[]},contentLink:{type:Object}},setup(e){const t=e;return(n,r)=>{const s=Gt;return L(),N("section",TR,[w("div",CR,[w("div",AR,[w("h2",kR,K(t==null?void 0:t.title),1),w("div",IR,[w("p",$R,K(t==null?void 0:t.subtitle),1)])]),w("div",RR,[w("ul",PR,[(L(!0),N(ce,null,Ae(t==null?void 0:t.steps,i=>(L(),N("li",{class:"workflow__item",key:i._key},[w("h3",OR,K(i.title),1),w("div",xR,K(i.subTitle),1)]))),128))]),t!=null&&t.contentLink?(L(),N("div",LR,[de(s,{"content-link":t==null?void 0:t.contentLink},{default:je(()=>{var i;return[it(K((i=t==null?void 0:t.contentLink)==null?void 0:i.title),1)]}),_:1},8,["content-link"])])):he("",!0)])])])}}};function NR(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 DR(e,t,n){return t&&NR(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}/*! 29 * Splide.js 30 * Version : 4.1.4 31 * License : MIT 32 * Copyright: 2022 Naotoshi Fujita 33 */var xm="(prefers-reduced-motion: reduce)",li=1,jR=2,Bi=3,no=4,za=5,Xc=6,$u=7,FR={CREATED:li,MOUNTED:jR,IDLE:Bi,MOVING:no,SCROLLING:za,DRAGGING:Xc,DESTROYED:$u};function Pr(e){e.length=0}function hs(e,t,n){return Array.prototype.slice.call(e,t,n)}function Ke(e){return e.bind.apply(e,[null].concat(hs(arguments,1)))}var k0=setTimeout,rh=function(){};function Lm(e){return requestAnimationFrame(e)}function kl(e,t){return typeof t===e}function oa(e){return!ip(e)&&kl("object",e)}var sp=Array.isArray,I0=Ke(kl,"function"),os=Ke(kl,"string"),Ka=Ke(kl,"undefined");function ip(e){return e===null}function $0(e){try{return e instanceof(e.ownerDocument.defaultView||window).HTMLElement}catch{return!1}}function Ga(e){return sp(e)?e:[e]}function un(e,t){Ga(e).forEach(t)}function op(e,t){return e.indexOf(t)>-1}function Qc(e,t){return e.push.apply(e,Ga(t)),e}function br(e,t,n){e&&un(t,function(r){r&&e.classList[n?"add":"remove"](r)})}function zn(e,t){br(e,os(t)?t.split(" "):t,!0)}function Ya(e,t){un(t,e.appendChild.bind(e))}function ap(e,t){un(e,function(n){var r=(t||n).parentNode;r&&r.insertBefore(n,t)})}function aa(e,t){return $0(e)&&(e.msMatchesSelector||e.matches).call(e,t)}function R0(e,t){var n=e?hs(e.children):[];return t?n.filter(function(r){return aa(r,t)}):n}function Ja(e,t){return t?R0(e,t)[0]:e.firstElementChild}var ca=Object.keys;function Ms(e,t,n){return e&&(n?ca(e).reverse():ca(e)).forEach(function(r){r!=="__proto__"&&t(e[r],r)}),e}function ua(e){return hs(arguments,1).forEach(function(t){Ms(t,function(n,r){e[r]=t[r]})}),e}function Qr(e){return hs(arguments,1).forEach(function(t){Ms(t,function(n,r){sp(n)?e[r]=n.slice():oa(n)?e[r]=Qr({},oa(e[r])?e[r]:{},n):e[r]=n})}),e}function Mm(e,t){un(t||ca(e),function(n){delete e[n]})}function Kn(e,t){un(e,function(n){un(t,function(r){n&&n.removeAttribute(r)})})}function Ce(e,t,n){oa(t)?Ms(t,function(r,s){Ce(e,s,r)}):un(e,function(r){ip(n)||n===""?Kn(r,t):r.setAttribute(t,String(n))})}function wi(e,t,n){var r=document.createElement(e);return t&&(os(t)?zn(r,t):Ce(r,t)),n&&Ya(n,r),r}function gn(e,t,n){if(Ka(n))return getComputedStyle(e)[t];ip(n)||(e.style[t]=""+n)}function la(e,t){gn(e,"display",t)}function P0(e){e.setActive&&e.setActive()||e.focus({preventScroll:!0})}function yn(e,t){return e.getAttribute(t)}function Nm(e,t){return e&&e.classList.contains(t)}function sn(e){return e.getBoundingClientRect()}function Ws(e){un(e,function(t){t&&t.parentNode&&t.parentNode.removeChild(t)})}function O0(e){return Ja(new DOMParser().parseFromString(e,"text/html").body)}function lr(e,t){e.preventDefault(),t&&(e.stopPropagation(),e.stopImmediatePropagation())}function x0(e,t){return e&&e.querySelector(t)}function cp(e,t){return t?hs(e.querySelectorAll(t)):[]}function wr(e,t){br(e,t,!1)}function sh(e){return e.timeStamp}function ws(e){return os(e)?e:e?e+"px":""}var Xa="splide",up="data-"+Xa;function Ho(e,t){if(!e)throw new Error("["+Xa+"] "+(t||""))}var as=Math.min,Ru=Math.max,Pu=Math.floor,fa=Math.ceil,zt=Math.abs;function L0(e,t,n){return zt(e-t)<n}function Zc(e,t,n,r){var s=as(t,n),i=Ru(t,n);return r?s<e&&e<i:s<=e&&e<=i}function ci(e,t,n){var r=as(t,n),s=Ru(t,n);return as(Ru(r,e),s)}function ih(e){return+(e>0)-+(e<0)}function oh(e,t){return un(t,function(n){e=e.replace("%s",""+n)}),e}function lp(e){return e<10?"0"+e:""+e}var Dm={};function HR(e){return""+e+lp(Dm[e]=(Dm[e]||0)+1)}function M0(){var e=[];function t(o,c,a,u){s(o,c,function(l,f,h){var p="addEventListener"in l,d=p?l.removeEventListener.bind(l,f,a,u):l.removeListener.bind(l,a);p?l.addEventListener(f,a,u):l.addListener(a),e.push([l,f,h,a,d])})}function n(o,c,a){s(o,c,function(u,l,f){e=e.filter(function(h){return h[0]===u&&h[1]===l&&h[2]===f&&(!a||h[3]===a)?(h[4](),!1):!0})})}function r(o,c,a){var u,l=!0;return typeof CustomEvent=="function"?u=new CustomEvent(c,{bubbles:l,detail:a}):(u=document.createEvent("CustomEvent"),u.initCustomEvent(c,l,!1,a)),o.dispatchEvent(u),u}function s(o,c,a){un(o,function(u){u&&un(c,function(l){l.split(" ").forEach(function(f){var h=f.split(".");a(u,h[0],h[1])})})})}function i(){e.forEach(function(o){o[4]()}),Pr(e)}return{bind:t,unbind:n,dispatch:r,destroy:i}}var Js="mounted",jm="ready",cs="move",Qa="moved",N0="click",UR="active",VR="inactive",BR="visible",qR="hidden",bt="refresh",Kt="updated",da="resize",fp="resized",WR="drag",zR="dragging",KR="dragged",dp="scroll",ro="scrolled",GR="overflow",D0="destroy",YR="arrows:mounted",JR="arrows:updated",XR="pagination:mounted",QR="pagination:updated",j0="navigation:mounted",F0="autoplay:play",ZR="autoplay:playing",H0="autoplay:pause",U0="lazyload:loaded",V0="sk",B0="sh",Ou="ei";function nt(e){var t=e?e.event.bus:document.createDocumentFragment(),n=M0();function r(i,o){n.bind(t,Ga(i).join(" "),function(c){o.apply(o,sp(c.detail)?c.detail:[])})}
vendor: 5,028 bytes, line 33
33function s(i){n.dispatch(t,i,hs(arguments,1))}return e&&e.event.on(D0,n.destroy),ua(n,{bus:t,on:r,off:Ke(n.unbind,t),emit:s})}function Il(e,t,n,r){var s=Date.now,i,o=0,c,a=!0,u=0;function l(){if(!a){if(o=e?as((s()-i)/e,1):1,n&&n(o),o>=1&&(t(),i=s(),r&&++u>=r))return h();c=Lm(l)}}function f(_){_||d(),i=s()-(_?o*e:0),a=!1,c=Lm(l)}function h(){a=!0}function p(){i=s(),o=0,n&&n(o)}function d(){c&&cancelAnimationFrame(c),o=0,c=0,a=!0}function g(_){e=_}function v(){return a}return{start:f,rewind:p,pause:h,cancel:d,set:g,isPaused:v}}function e4(e){var t=e;function n(s){t=s}function r(s){return op(Ga(s),t)}return{set:n,is:r}}function t4(e,t){var n=Il(0,e,null,1);return function(){n.isPaused()&&n.start()}}function n4(e,t,n){var r=e.state,s=n.breakpoints||{},i=n.reducedMotion||{},o=M0(),c=[];function a(){var d=n.mediaQuery==="min";ca(s).sort(function(g,v){return d?+g-+v:+v-+g}).forEach(function(g){l(s[g],"("+(d?"min":"max")+"-width:"+g+"px)")}),l(i,xm),f()}function u(d){d&&o.destroy()}function l(d,g){var v=matchMedia(g);o.bind(v,"change",f),c.push([d,v])}function f(){var d=r.is($u),g=n.direction,v=c.reduce(function(_,y){return Qr(_,y[1].matches?y[0]:{})},{});Mm(n),p(v),n.destroy?e.destroy(n.destroy==="completely"):d?(u(!0),e.mount()):g!==n.direction&&e.refresh()}function h(d){matchMedia(xm).matches&&(d?Qr(n,i):Mm(n,ca(i)))}function p(d,g,v){Qr(n,d),g&&Qr(Object.getPrototypeOf(n),d),(v||!r.is(li))&&e.emit(Kt,n)}return{setup:a,destroy:u,reduce:h,set:p}}var $l="Arrow",Rl=$l+"Left",Pl=$l+"Right",q0=$l+"Up",W0=$l+"Down",Fm="rtl",Ol="ttb",$f={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[q0,Pl],ArrowRight:[W0,Rl]};function r4(e,t,n){function r(i,o,c){c=c||n.direction;var a=c===Fm&&!o?1:c===Ol?0:-1;return $f[i]&&$f[i][a]||i.replace(/width|left|right/i,function(u,l){var f=$f[u.toLowerCase()][a]||u;return l>0?f.charAt(0).toUpperCase()+f.slice(1):f})}function s(i){return i*(n.direction===Fm?1:-1)}return{resolve:r,orient:s}}var Tr="role",Si="tabindex",s4="disabled",Tn="aria-",Za=Tn+"controls",z0=Tn+"current",Hm=Tn+"selected",on=Tn+"label",hp=Tn+"labelledby",K0=Tn+"hidden",pp=Tn+"orientation",ha=Tn+"roledescription",Um=Tn+"live",Vm=Tn+"busy",Bm=Tn+"atomic",gp=[Tr,Si,s4,Za,z0,on,hp,K0,pp,ha],tr=Xa+"__",ps="is-",Rf=Xa,qm=tr+"track",i4=tr+"list",xl=tr+"slide",G0=xl+"--clone",o4=xl+"__container",mp=tr+"arrows",Ll=tr+"arrow",Y0=Ll+"--prev",J0=Ll+"--next",Ml=tr+"pagination",X0=Ml+"__page",a4=tr+"progress",c4=a4+"__bar",u4=tr+"toggle",l4=tr+"spinner",f4=tr+"sr",d4=ps+"initialized",zs=ps+"active",Q0=ps+"prev",Z0=ps+"next",ah=ps+"visible",ch=ps+"loading",e1=ps+"focus-in",t1=ps+"overflow",h4=[zs,ah,Q0,Z0,ch,e1,t1],p4={slide:xl,clone:G0,arrows:mp,arrow:Ll,prev:Y0,next:J0,pagination:Ml,page:X0,spinner:l4};function g4(e,t){if(I0(e.closest))return e.closest(t);for(var n=e;n&&n.nodeType===1&&!aa(n,t);)n=n.parentElement;return n}var m4=5,Wm=200,n1="touchstart mousedown",Pf="touchmove mousemove",Of="touchend touchcancel mouseup click";function y4(e,t,n){var r=nt(e),s=r.on,i=r.bind,o=e.root,c=n.i18n,a={},u=[],l=[],f=[],h,p,d;function g(){m(),b(),y()}function v(){s(bt,_),s(bt,g),s(Kt,y),i(document,n1+" keydown",function(A){d=A.type==="keydown"},{capture:!0}),i(o,"focusin",function(){br(o,e1,!!d)})}function _(A){var D=gp.concat("style");Pr(u),wr(o,l),wr(h,f),Kn([h,p],D),Kn(o,A?D:["style",ha])}function y(){wr(o,l),wr(h,f),l=$(Rf),f=$(qm),zn(o,l),zn(h,f),Ce(o,on,n.label),Ce(o,hp,n.labelledby)}function m(){h=E("."+qm),p=Ja(h,"."+i4),Ho(h&&p,"A track/list element is missing."),Qc(u,R0(p,"."+xl+":not(."+G0+")")),Ms({arrows:mp,pagination:Ml,prev:Y0,next:J0,bar:c4,toggle:u4},function(A,D){a[D]=E("."+A)}),ua(a,{root:o,track:h,list:p,slides:u})}function b(){var A=o.id||HR(Xa),D=n.role;o.id=A,h.id=h.id||A+"-track",p.id=p.id||A+"-list",!yn(o,Tr)&&o.tagName!=="SECTION"&&D&&Ce(o,Tr,D),Ce(o,ha,c.carousel),Ce(p,Tr,"presentation")}function E(A){var D=x0(o,A);return D&&g4(D,"."+Rf)===o?D:void 0}function $(A){return[A+"--"+n.type,A+"--"+n.direction,n.drag&&A+"--draggable",n.isNavigation&&A+"--nav",A===Rf&&zs]}return ua(a,{setup:g,mount:v,destroy:_})}var qi="slide",so="loop",ec="fade";function _4(e,t,n,r){var s=nt(e),i=s.on,o=s.emit,c=s.bind,a=e.Components,u=e.root,l=e.options,f=l.isNavigation,h=l.updateOnMove,p=l.i18n,d=l.pagination,g=l.slideFocus,v=a.Direction.resolve,_=yn(r,"style"),y=yn(r,on),m=n>-1,b=Ja(r,"."+o4),E;function $(){m||(r.id=u.id+"-slide"+lp(t+1),Ce(r,Tr,d?"tabpanel":"group"),Ce(r,ha,p.slide),Ce(r,on,y||oh(p.slideLabel,[t+1,e.length]))),A()}function A(){c(r,"click",Ke(o,N0,I)),c(r,"keydown",Ke(o,V0,I)),i([Qa,B0,ro],V),i(j0,H),h&&i(cs,B)}function D(){E=!0,s.destroy(),wr(r,h4),Kn(r,gp),Ce(r,"style",_),Ce(r,on,y||"")}function H(){var j=e.splides.map(function(U){var q=U.splide.Components.Slides.getAt(t);return q?q.slide.id:""}).join(" ");Ce(r,on,oh(p.slideX,(m?n:t)+1)),Ce(r,Za,j),Ce(r,Tr,g?"button":""),g&&Kn(r,ha)}function B(){E||V()}function V(){if(!E){var j=e.index;C(),P(),br(r,Q0,t===j-1),br(r,Z0,t===j+1)}}function C(){var j=k();
vendor: 13,175 bytes, line 33
33j!==Nm(r,zs)&&(br(r,zs,j),Ce(r,z0,f&&j||""),o(j?UR:VR,I))}function P(){var j=T(),U=!j&&(!k()||m);if(e.state.is([no,za])||Ce(r,K0,U||""),Ce(cp(r,l.focusableNodes||""),Si,U?-1:""),g&&Ce(r,Si,U?-1:0),j!==Nm(r,ah)&&(br(r,ah,j),o(j?BR:qR,I)),!j&&document.activeElement===r){var q=a.Slides.getAt(e.index);q&&P0(q.slide)}}function R(j,U,q){gn(q&&b||r,j,U)}function k(){var j=e.index;return j===t||l.cloneStatus&&j===n}function T(){if(e.is(ec))return k();var j=sn(a.Elements.track),U=sn(r),q=v("left",!0),z=v("right",!0);return Pu(j[q])<=fa(U[q])&&Pu(U[z])<=fa(j[z])}function O(j,U){var q=zt(j-t);return!m&&(l.rewind||e.is(so))&&(q=as(q,e.length-q)),q<=U}var I={index:t,slideIndex:n,slide:r,container:b,isClone:m,mount:$,destroy:D,update:V,style:R,isWithin:O};return I}function v4(e,t,n){var r=nt(e),s=r.on,i=r.emit,o=r.bind,c=t.Elements,a=c.slides,u=c.list,l=[];function f(){h(),s(bt,p),s(bt,h)}function h(){a.forEach(function(V,C){g(V,C,-1)})}function p(){E(function(V){V.destroy()}),Pr(l)}function d(){E(function(V){V.update()})}function g(V,C,P){var R=_4(e,C,P,V);R.mount(),l.push(R),l.sort(function(k,T){return k.index-T.index})}function v(V){return V?$(function(C){return!C.isClone}):l}function _(V){var C=t.Controller,P=C.toIndex(V),R=C.hasFocus()?1:n.perPage;return $(function(k){return Zc(k.index,P,P+R-1)})}function y(V){return $(V)[0]}function m(V,C){un(V,function(P){if(os(P)&&(P=O0(P)),$0(P)){var R=a[C];R?ap(P,R):Ya(u,P),zn(P,n.classes.slide),D(P,Ke(i,da))}}),i(bt)}function b(V){Ws($(V).map(function(C){return C.slide})),i(bt)}function E(V,C){v(C).forEach(V)}function $(V){return l.filter(I0(V)?V:function(C){return os(V)?aa(C.slide,V):op(Ga(V),C.index)})}function A(V,C,P){E(function(R){R.style(V,C,P)})}function D(V,C){var P=cp(V,"img"),R=P.length;R?P.forEach(function(k){o(k,"load error",function(){--R||C()})}):C()}function H(V){return V?a.length:l.length}function B(){return l.length>n.perPage}return{mount:f,destroy:p,update:d,register:g,get:v,getIn:_,getAt:y,add:m,remove:b,forEach:E,filter:$,style:A,getLength:H,isEnough:B}}function b4(e,t,n){var r=nt(e),s=r.on,i=r.bind,o=r.emit,c=t.Slides,a=t.Direction.resolve,u=t.Elements,l=u.root,f=u.track,h=u.list,p=c.getAt,d=c.style,g,v,_;function y(){m(),i(window,"resize load",t4(Ke(o,da))),s([Kt,bt],m),s(da,b)}function m(){g=n.direction===Ol,gn(l,"maxWidth",ws(n.width)),gn(f,a("paddingLeft"),E(!1)),gn(f,a("paddingRight"),E(!0)),b(!0)}function b(I){var j=sn(l);(I||v.width!==j.width||v.height!==j.height)&&(gn(f,"height",$()),d(a("marginRight"),ws(n.gap)),d("width",D()),d("height",H(),!0),v=j,o(fp),_!==(_=O())&&(br(l,t1,_),o(GR,_)))}function E(I){var j=n.padding,U=a(I?"right":"left");return j&&ws(j[U]||(oa(j)?0:j))||"0px"}function $(){var I="";return g&&(I=A(),Ho(I,"height or heightRatio is missing."),I="calc("+I+" - "+E(!1)+" - "+E(!0)+")"),I}function A(){return ws(n.height||sn(h).width*n.heightRatio)}function D(){return n.autoWidth?null:ws(n.fixedWidth)||(g?"":B())}function H(){return ws(n.fixedHeight)||(g?n.autoHeight?null:B():A())}function B(){var I=ws(n.gap);return"calc((100%"+(I&&" + "+I)+")/"+(n.perPage||1)+(I&&" - "+I)+")"}function V(){return sn(h)[a("width")]}function C(I,j){var U=p(I||0);return U?sn(U.slide)[a("width")]+(j?0:k()):0}function P(I,j){var U=p(I);if(U){var q=sn(U.slide)[a("right")],z=sn(h)[a("left")];return zt(q-z)+(j?0:k())}return 0}function R(I){return P(e.length-1)-P(0)+C(0,I)}function k(){var I=p(0);return I&&parseFloat(gn(I.slide,a("marginRight")))||0}function T(I){return parseFloat(gn(f,a("padding"+(I?"Right":"Left"))))||0}function O(){return e.is(ec)||R(!0)>V()}return{mount:y,resize:b,listSize:V,slideSize:C,sliderSize:R,totalSize:P,getPadding:T,isOverflow:O}}var w4=2;function S4(e,t,n){var r=nt(e),s=r.on,i=t.Elements,o=t.Slides,c=t.Direction.resolve,a=[],u;function l(){s(bt,f),s([Kt,da],p),(u=v())&&(d(u),t.Layout.resize(!0))}function f(){h(),l()}function h(){Ws(a),Pr(a),r.destroy()}function p(){var _=v();u!==_&&(u<_||!_)&&r.emit(bt)}function d(_){var y=o.get().slice(),m=y.length;if(m){for(;y.length<_;)Qc(y,y);Qc(y.slice(-_),y.slice(0,_)).forEach(function(b,E){var $=E<_,A=g(b.slide,E);$?ap(A,y[0].slide):Ya(i.list,A),Qc(a,A),o.register(A,E-_+($?0:m),b.index)})}}function g(_,y){var m=_.cloneNode(!0);return zn(m,n.classes.clone),m.id=e.root.id+"-clone"+lp(y+1),m}function v(){var _=n.clones;if(!e.is(so))_=0;else if(Ka(_)){var y=n[c("fixedWidth")]&&t.Layout.slideSize(0),m=y&&fa(sn(i.track)[c("width")]/y);_=m||n[c("autoWidth")]&&e.length||n.perPage*w4}return _}return{mount:l,destroy:h}}function E4(e,t,n){var r=nt(e),s=r.on,i=r.emit,o=e.state.set,c=t.Layout,a=c.slideSize,u=c.getPadding,l=c.totalSize,f=c.listSize,h=c.sliderSize,p=t.Direction,d=p.resolve,g=p.orient,v=t.Elements,_=v.list,y=v.track,m;function b(){m=t.Transition,s([Js,fp,Kt,bt],E)}function E(){t.Controller.isBusy()||(t.Scroll.cancel(),A(e.index),t.Slides.update())}function $(U,q,z,X){U!==q&&I(U>z)&&(V(),D(B(R(),U>z),!0)),o(no),i(cs,q,z,U),m.start(q,function(){o(Bi),i(Qa,q,z,U),X&&X()})}function A(U){D(P(U,!0))}function D(U,q){if(!e.is(ec)){var z=q?U:H(U);gn(_,"transform","translate"+d("X")+"("+z+"px)"),U!==z&&i(B0)}}function H(U){if(e.is(so)){var q=C(U),z=q>t.Controller.getEnd(),X=q<0;(X||z)&&(U=B(U,z))}return U}function B(U,q){var z=U-O(q),X=h();return U-=g(X*(fa(zt(z)/X)||1))*(q?1:-1),U}function V(){D(R(),!0),m.cancel()}function C(U){for(var q=t.Slides.get(),z=0,X=1/0,se=0;se<q.length;se++){var oe=q[se].index,G=zt(P(oe,!0)-U);if(G<=X)X=G,z=oe;else break}return z}function P(U,q){var z=g(l(U-1)-T(U));return q?k(z):z}function R(){var U=d("left");return sn(_)[U]-sn(y)[U]+g(u(!1))}function k(U){return n.trimSpace&&e.is(qi)&&(U=ci(U,0,g(h(!0)-f()))),U}function T(U){var q=n.focus;return q==="center"?(f()-a(U,!0))/2:+q*a(U)||0}function O(U){return P(U?t.Controller.getEnd():0,!!n.trimSpace)}function I(U){var q=g(B(R(),U));return U?q>=0:q<=_[d("scrollWidth")]-sn(y)[d("width")]}function j(U,q){q=Ka(q)?R():q;var z=U!==!0&&g(q)<g(O(!1)),X=U!==!1&&g(q)>g(O(!0));return z||X}return{mount:b,move:$,jump:A,translate:D,shift:B,cancel:V,toIndex:C,toPosition:P,getPosition:R,getLimit:O,exceededLimit:j,reposition:E}}function T4(e,t,n){var r=nt(e),s=r.on,i=r.emit,o=t.Move,c=o.getPosition,a=o.getLimit,u=o.toPosition,l=t.Slides,f=l.isEnough,h=l.getLength,p=n.omitEnd,d=e.is(so),g=e.is(qi),v=Ke(R,!1),_=Ke(R,!0),y=n.start||0,m,b=y,E,$,A;function D(){H(),s([Kt,bt,Ou],H),s(fp,B)}function H(){E=h(!0),$=n.perMove,A=n.perPage,m=I();var G=ci(y,0,p?m:E-1);G!==y&&(y=G,o.reposition())}function B(){m!==I()&&i(Ou)}function V(G,F,Z){if(!oe()){var J=P(G),Q=O(J);Q>-1&&(F||Q!==y)&&(z(Q),o.move(J,Q,b,Z))}}function C(G,F,Z,J){t.Scroll.scroll(G,F,Z,function(){var Q=O(o.toIndex(c()));z(p?as(Q,m):Q),J&&J()})}function P(G){var F=y;if(os(G)){var Z=G.match(/([+\-<>])(\d+)?/)||[],J=Z[1],Q=Z[2];J==="+"||J==="-"?F=k(y+ +(""+J+(+Q||1)),y):J===">"?F=Q?j(+Q):v(!0):J==="<"&&(F=_(!0))}else F=d?G:ci(G,0,m);return F}function R(G,F){var Z=$||(se()?1:A),J=k(y+Z*(G?-1:1),y,!($||se()));return J===-1&&g&&!L0(c(),a(!G),1)?G?0:m:F?J:O(J)}function k(G,F,Z){if(f()||se()){var J=T(G);J!==G&&(F=G,G=J,Z=!1),G<0||G>m?!$&&(Zc(0,G,F,!0)||Zc(m,F,G,!0))?G=j(U(G)):d?G=Z?G<0?-(E%A||A):E:G:n.rewind?G=G<0?m:0:G=-1:Z&&G!==F&&(G=j(U(F)+(G<F?-1:1)))}else G=-1;return G}function T(G){if(g&&n.trimSpace==="move"&&G!==y)for(var F=c();F===u(G,!0)&&Zc(G,0,e.length-1,!n.rewind);)G<y?--G:++G;return G}function O(G){return d?(G+E)%E||0:G}function I(){for(var G=E-(se()||d&&$?1:A);p&&G-- >0;)if(u(E-1,!0)!==u(G,!0)){G++;break}return ci(G,0,E-1)}function j(G){return ci(se()?G:A*G,0,m)}function U(G){return se()?as(G,m):Pu((G>=m?E-1:G)/A)}function q(G){var F=o.toIndex(G);return g?ci(F,0,m):F}function z(G){G!==y&&(b=y,y=G)}function X(G){return G?b:y}function se(){return!Ka(n.focus)||n.isNavigation}function oe(){return e.state.is([no,za])&&!!n.waitForTransition}return{mount:D,go:V,scroll:C,getNext:v,getPrev:_,getAdjacent:R,getEnd:I,setIndex:z,getIndex:X,toIndex:j,toPage:U,toDest:q,hasFocus:se,isBusy:oe}}var C4="http://www.w3.org/2000/svg",A4="m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z",jc=40;function k4(e,t,n){var r=nt(e),s=r.on,i=r.bind,o=r.emit,c=n.classes,a=n.i18n,u=t.Elements,l=t.Controller,f=u.arrows,h=u.track,p=f,d=u.prev,g=u.next,v,_,y={};function m(){E(),s(Kt,b)}function b(){$(),m()}function E(){var C=n.arrows;C&&!(d&&g)&&H(),d&&g&&(ua(y,{prev:d,next:g}),la(p,C?"":"none"),zn(p,_=mp+"--"+n.direction),C&&(A(),V(),Ce([d,g],Za,h.id),o(YR,d,g)))}function $(){r.destroy(),wr(p,_),v?(Ws(f?[d,g]:p),d=g=null):Kn([d,g],gp)}function A(){s([Js,Qa,bt,ro,Ou],V),i(g,"click",Ke(D,">")),i(d,"click",Ke(D,"<"))}function D(C){l.go(C,!0)}function H(){p=f||wi("div",c.arrows),d=B(!0),g=B(!1),v=!0,Ya(p,[d,g]),!f&&ap(p,h)}function B(C){var P='<button class="'+c.arrow+" "+(C?c.prev:c.next)+'" type="button"><svg xmlns="'+C4+'" viewBox="0 0 '+jc+" "+jc+'" width="'+jc+'" height="'+jc+'" focusable="false"><path d="'+(n.arrowPath||A4)+'" />';return O0(P)}function V(){if(d&&g){var C=e.index,P=l.getPrev(),R=l.getNext(),k=P>-1&&C<P?a.last:a.prev,T=R>-1&&C>R?a.first:a.next;d.disabled=P<0,g.disabled=R<0,Ce(d,on,k),Ce(g,on,T),o(JR,d,g,P,R)}}return{arrows:y,mount:m,destroy:$,update:V}}var I4=up+"-interval";function $4(e,t,n){var r=nt(e),s=r.on,i=r.bind,o=r.emit,c=Il(n.interval,e.go.bind(e,">"),A),a=c.isPaused,u=t.Elements,l=t.Elements,f=l.root,h=l.toggle,p=n.autoplay,d,g,v=p==="pause";function _(){p&&(y(),h&&Ce(h,Za,u.track.id),v||m(),$())}function y(){n.pauseOnHover&&i(f,"mouseenter mouseleave",function(H){d=H.type==="mouseenter",E()}),n.pauseOnFocus&&i(f,"focusin focusout",function(H){g=H.type==="focusin",E()}),h&&i(h,"click",function(){v?m():b(!0)}),s([cs,dp,bt],c.rewind),s(cs,D)}function m(){a()&&t.Slides.isEnough()&&(c.start(!n.resetProgress),g=d=v=!1,$(),o(F0))}function b(H){H===void 0&&(H=!0),v=!!H,$(),a()||(c.pause(),o(H0))}function E(){v||(d||g?b(!1):m())}function $(){h&&(br(h,zs,!v),Ce(h,on,n.i18n[v?"play":"pause"]))}function A(H){var B=u.bar;B&&gn(B,"width",H*100+"%"),o(ZR,H)}function D(H){var B=t.Slides.getAt(H);c.set(B&&+yn(B.slide,I4)||n.interval)}return{mount:_,destroy:c.cancel,play:m,pause:b,isPaused:a}}function R4(e,t,n){var r=nt(e),s=r.on;function i(){n.cover&&(s(U0,Ke(c,!0)),s([Js,Kt,bt],Ke(o,!0)))}function o(a){t.Slides.forEach(function(u){var l=Ja(u.container||u.slide,"img");l&&l.src&&c(a,l,u)})}function c(a,u,l){l.style("background",a?'center/cover no-repeat url("'+u.src+'")':"",!0),la(u,a?"none":"")}return{mount:i,destroy:Ke(o,!1)}}var P4=10,O4=600,x4=.6,L4=1.5,M4=800;function N4(e,t,n){var r=nt(e),s=r.on,i=r.emit,o=e.state.set,c=t.Move,a=c.getPosition,u=c.getLimit,l=c.exceededLimit,f=c.translate,h=e.is(qi),p,d,g=1;function v(){s(cs,b),s([Kt,bt],E)}function _(A,D,H,B,V){var C=a();if(b(),H&&(!h||!l())){var P=t.Layout.sliderSize(),R=ih(A)*P*Pu(zt(A)/P)||0;A=c.toPosition(t.Controller.toDest(A%P))+R}var k=L0(C,A,1);g=1,D=k?0:D||Ru(zt(A-C)/L4,M4),d=B,p=Il(D,y,Ke(m,C,A,V),1),o(za),i(dp),p.start()}function y(){o(Bi),d&&d(),i(ro)}function m(A,D,H,B){var V=a(),C=A+(D-A)*$(B),P=(C-V)*g;f(V+P),h&&!H&&l()&&(g*=x4,zt(P)<P4&&_(u(l(!0)),O4,!1,d,!0))}function b(){p&&p.cancel()}function E(){p&&!p.isPaused()&&(b(),y())}function $(A){var D=n.easingFunc;return D?D(A):1-Math.pow(1-A,4)}return{mount:v,destroy:b,scroll:_,cancel:E}}var ui={passive:!1,capture:!0};function D4(e,t,n){var r=nt(e),s=r.on,i=r.emit,o=r.bind,c=r.unbind,a=e.state,u=t.Move,l=t.Scroll,f=t.Controller,h=t.Elements.track,p=t.Media.reduce,d=t.Direction,g=d.resolve,v=d.orient,_=u.getPosition,y=u.exceededLimit,m,b,E,$,A,D=!1,H,B,V;function C(){o(h,Pf,rh,ui),o(h,Of,rh,ui),o(h,n1,R,ui),o(h,"click",O,{capture:!0}),o(h,"dragstart",lr),s([Js,Kt],P)}function P(){var S=n.drag;Te(!S),$=S==="free"}function R(S){if(H=!1,!B){var x=Q(S);J(S.target)&&(x||!S.button)&&(f.isBusy()?lr(S,!0):(V=x?h:window,A=a.is([no,za]),E=null,o(V,Pf,k,ui),o(V,Of,T,ui),u.cancel(),l.cancel(),I(S)))}}function k(S){if(a.is(Xc)||(a.set(Xc),i(WR)),S.cancelable)if(A){u.translate(m+Z(se(S)));var x=oe(S)>Wm,W=D!==(D=y());(x||W)&&I(S),H=!0,i(zR),lr(S)}else q(S)&&(A=U(S),lr(S))}function T(S){a.is(Xc)&&(a.set(Bi),i(KR)),A&&(j(S),lr(S)),c(V,Pf,k),c(V,Of,T),A=!1}function O(S){!B&&H&&lr(S,!0)}function I(S){E=b,b=S,m=_()}function j(S){var x=z(S),W=X(x),ee=n.rewind&&n.rewindByDrag;p(!1),$?f.scroll(W,0,n.snap):e.is(ec)?f.go(v(ih(x))<0?ee?"<":"-":ee?">":"+"):e.is(qi)&&D&&ee?f.go(y(!0)?">":"<"):f.go(f.toDest(W),!0),p(!0)}function U(S){var x=n.dragMinThreshold,W=oa(x),ee=W&&x.mouse||0,Y=(W?x.touch:+x)||10;return zt(se(S))>(Q(S)?Y:ee)}function q(S){return zt(se(S))>zt(se(S,!0))}function z(S){if(e.is(so)||!D){var x=oe(S);if(x&&x<Wm)return se(S)/x}return 0}function X(S){return _()+ih(S)*as(zt(S)*(n.flickPower||600),$?1/0:t.Layout.listSize()*(n.flickMaxPages||1))}function se(S,x){return F(S,x)-F(G(S),x)}function oe(S){return sh(S)-sh(G(S))}function G(S){return b===S&&E||b}function F(S,x){return(Q(S)?S.changedTouches[0]:S)["page"+g(x?"Y":"X")]}function Z(S){return S/(D&&e.is(qi)?m4:1)}function J(S){var x=n.noDrag;return!aa(S,"."+X0+", ."+Ll)&&(!x||!aa(S,x))}function Q(S){return typeof TouchEvent<"u"&&S instanceof TouchEvent}function pe(){return A}function Te(S){B=S}return{mount:C,disable:Te,isDragging:pe}}
vendor: 5,143 bytes, line 33
33var j4={Spacebar:" ",Right:Pl,Left:Rl,Up:q0,Down:W0};function yp(e){return e=os(e)?e:e.key,j4[e]||e}var zm="keydown";function F4(e,t,n){var r=nt(e),s=r.on,i=r.bind,o=r.unbind,c=e.root,a=t.Direction.resolve,u,l;function f(){h(),s(Kt,p),s(Kt,h),s(cs,g)}function h(){var _=n.keyboard;_&&(u=_==="global"?window:c,i(u,zm,v))}function p(){o(u,zm)}function d(_){l=_}function g(){var _=l;l=!0,k0(function(){l=_})}function v(_){if(!l){var y=yp(_);y===a(Rl)?e.go("<"):y===a(Pl)&&e.go(">")}}return{mount:f,destroy:p,disable:d}}var Uo=up+"-lazy",eu=Uo+"-srcset",H4="["+Uo+"], ["+eu+"]";function U4(e,t,n){var r=nt(e),s=r.on,i=r.off,o=r.bind,c=r.emit,a=n.lazyLoad==="sequential",u=[Qa,ro],l=[];function f(){n.lazyLoad&&(h(),s(bt,h))}function h(){Pr(l),p(),a?_():(i(u),s(u,d),d())}function p(){t.Slides.forEach(function(y){cp(y.slide,H4).forEach(function(m){var b=yn(m,Uo),E=yn(m,eu);if(b!==m.src||E!==m.srcset){var $=n.classes.spinner,A=m.parentElement,D=Ja(A,"."+$)||wi("span",$,A);l.push([m,y,D]),m.src||la(m,"none")}})})}function d(){l=l.filter(function(y){var m=n.perPage*((n.preloadPages||1)+1)-1;return y[1].isWithin(e.index,m)?g(y):!0}),l.length||i(u)}function g(y){var m=y[0];zn(y[1].slide,ch),o(m,"load error",Ke(v,y)),Ce(m,"src",yn(m,Uo)),Ce(m,"srcset",yn(m,eu)),Kn(m,Uo),Kn(m,eu)}function v(y,m){var b=y[0],E=y[1];wr(E.slide,ch),m.type!=="error"&&(Ws(y[2]),la(b,""),c(U0,b,E),c(da)),a&&_()}function _(){l.length&&g(l.shift())}return{mount:f,destroy:Ke(Pr,l),check:d}}function V4(e,t,n){var r=nt(e),s=r.on,i=r.emit,o=r.bind,c=t.Slides,a=t.Elements,u=t.Controller,l=u.hasFocus,f=u.getIndex,h=u.go,p=t.Direction.resolve,d=a.pagination,g=[],v,_;function y(){m(),s([Kt,bt,Ou],y);var B=n.pagination;d&&la(d,B?"":"none"),B&&(s([cs,dp,ro],H),b(),H(),i(XR,{list:v,items:g},D(e.index)))}function m(){v&&(Ws(d?hs(v.children):v),wr(v,_),Pr(g),v=null),r.destroy()}function b(){var B=e.length,V=n.classes,C=n.i18n,P=n.perPage,R=l()?u.getEnd()+1:fa(B/P);v=d||wi("ul",V.pagination,a.track.parentElement),zn(v,_=Ml+"--"+A()),Ce(v,Tr,"tablist"),Ce(v,on,C.select),Ce(v,pp,A()===Ol?"vertical":"");for(var k=0;k<R;k++){var T=wi("li",null,v),O=wi("button",{class:V.page,type:"button"},T),I=c.getIn(k).map(function(U){return U.slide.id}),j=!l()&&P>1?C.pageX:C.slideX;o(O,"click",Ke(E,k)),n.paginationKeyboard&&o(O,"keydown",Ke($,k)),Ce(T,Tr,"presentation"),Ce(O,Tr,"tab"),Ce(O,Za,I.join(" ")),Ce(O,on,oh(j,k+1)),Ce(O,Si,-1),g.push({li:T,button:O,page:k})}}function E(B){h(">"+B,!0)}function $(B,V){var C=g.length,P=yp(V),R=A(),k=-1;P===p(Pl,!1,R)?k=++B%C:P===p(Rl,!1,R)?k=(--B+C)%C:P==="Home"?k=0:P==="End"&&(k=C-1);var T=g[k];T&&(P0(T.button),h(">"+k),lr(V,!0))}function A(){return n.paginationDirection||n.direction}function D(B){return g[u.toPage(B)]}function H(){var B=D(f(!0)),V=D(f());if(B){var C=B.button;wr(C,zs),Kn(C,Hm),Ce(C,Si,-1)}if(V){var P=V.button;zn(P,zs),Ce(P,Hm,!0),Ce(P,Si,"")}i(QR,{list:v,items:g},B,V)}return{items:g,mount:y,destroy:m,getAt:D,update:H}}var B4=[" ","Enter"];function q4(e,t,n){var r=n.isNavigation,s=n.slideFocus,i=[];function o(){e.splides.forEach(function(d){d.isParent||(u(e,d.splide),u(d.splide,e))}),r&&l()}function c(){i.forEach(function(d){d.destroy()}),Pr(i)}function a(){c(),o()}function u(d,g){var v=nt(d);v.on(cs,function(_,y,m){g.go(g.is(so)?m:_)}),i.push(v)}function l(){var d=nt(e),g=d.on;g(N0,h),g(V0,p),g([Js,Kt],f),i.push(d),d.emit(j0,e.splides)}function f(){Ce(t.Elements.list,pp,n.direction===Ol?"vertical":"")}function h(d){e.go(d.index)}function p(d,g){op(B4,yp(g))&&(h(d),lr(g))}return{setup:Ke(t.Media.set,{slideFocus:Ka(s)?r:s},!0),mount:o,destroy:c,remount:a}}function W4(e,t,n){var r=nt(e),s=r.bind,i=0;function o(){n.wheel&&s(t.Elements.track,"wheel",c,ui)}function c(u){if(u.cancelable){var l=u.deltaY,f=l<0,h=sh(u),p=n.wheelMinThreshold||0,d=n.wheelSleep||0;zt(l)>p&&h-i>d&&(e.go(f?"<":">"),i=h),a(f)&&lr(u)}}function a(u){return!n.releaseWheel||e.state.is(no)||t.Controller.getAdjacent(u)!==-1}return{mount:o}}var z4=90;function K4(e,t,n){var r=nt(e),s=r.on,i=t.Elements.track,o=n.live&&!n.isNavigation,c=wi("span",f4),a=Il(z4,Ke(l,!1));function u(){o&&(h(!t.Autoplay.isPaused()),Ce(i,Bm,!0),c.textContent="…",s(F0,Ke(h,!0)),s(H0,Ke(h,!1)),s([Qa,ro],Ke(l,!0)))}function l(p){Ce(i,Vm,p),p?(Ya(i,c),a.start()):(Ws(c),a.cancel())}function f(){Kn(i,[Um,Bm,Vm]),Ws(c)}function h(p){o&&Ce(i,Um,p?"off":"polite")}return{mount:u,disable:h,destroy:f}}var G4=Object.freeze({__proto__:null,Media:n4,Direction:r4,Elements:y4,Slides:v4,Layout:b4,Clones:S4,Move:E4,Controller:T4,Arrows:k4,Autoplay:$4,Cover:R4,Scroll:N4,Drag:D4,Keyboard:F4,LazyLoad:U4,Pagination:V4,Sync:q4,Wheel:W4,Live:K4}),Y4={prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},J4={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace
33:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:p4,i18n:Y4,reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function X4(e,t,n){var r=t.Slides;function s(){nt(e).on([Js,bt],i)}function i(){r.forEach(function(c){c.style("transform","translateX(-"+100*c.index+"%)")})}function o(c,a){r.style("transition","opacity "+n.speed+"ms "+n.easing),k0(a)}return{mount:s,start:o,cancel:rh}}function Q4(e,t,n){var r=t.Move,s=t.Controller,i=t.Scroll,o=t.Elements.list,c=Ke(gn,o,"transition"),a;function u(){nt(e).bind(o,"transitionend",function(p){p.target===o&&a&&(f(),a())})}function l(p,d){var g=r.toPosition(p,!0),v=r.getPosition(),_=h(p);zt(g-v)>=1&&_>=1?n.useScroll?i.scroll(g,_,!1,d):(c("transform "+_+"ms "+n.easing),r.translate(g,!0),a=d):(r.jump(p),d())}function f(){c(""),i.cancel()}function h(p){var d=n.rewindSpeed;if(e.is(qi)&&d){var g=s.getIndex(!0),v=s.getEnd();if(g===0&&p>=v||g>=v&&p===0)return d}return n.speed}return{mount:u,start:l,cancel:f}}var Z4=(function(){function e(n,r){this.event=nt(),this.Components={},this.state=e4(li),this.splides=[],this._o={},this._E={};var s=os(n)?x0(document,n):n;Ho(s,s+" is invalid."),this.root=s,r=Qr({label:yn(s,on)||"",labelledby:yn(s,hp)||""},J4,e.defaults,r||{});try{Qr(r,JSON.parse(yn(s,up)))}catch{Ho(!1,"Invalid JSON")}this._o=Object.create(Qr({},r))}var t=e.prototype;return t.mount=function(r,s){var i=this,o=this.state,c=this.Components;Ho(o.is([li,$u]),"Already mounted!"),o.set(li),this._C=c,this._T=s||this._T||(this.is(ec)?X4:Q4),this._E=r||this._E;var a=ua({},G4,this._E,{Transition:this._T});return Ms(a,function(u,l){var f=u(i,c,i._o);c[l]=f,f.setup&&f.setup()}),Ms(c,function(u){u.mount&&u.mount()}),this.emit(Js),zn(this.root,d4),o.set(Bi),this.emit(jm),this},t.sync=function(r){return this.splides.push({splide:r}),r.splides.push({splide:this,isParent:!0}),this.state.is(Bi)&&(this._C.Sync.remount(),r.Components.Sync.remount()),this},t.go=function(r){return this._C.Controller.go(r),this},t.on=function(r,s){return this.event.on(r,s),this},t.off=function(r){return this.event.off(r),this},t.emit=function(r){var s;return(s=this.event).emit.apply(s,[r].concat(hs(arguments,1))),this},t.add=function(r,s){return this._C.Slides.add(r,s),this},t.remove=function(r){return this._C.Slides.remove(r),this},t.is=function(r){return this._o.type===r},t.refresh=function(){return this.emit(bt),this},t.destroy=function(r){r===void 0&&(r=!0);var s=this.event,i=this.state;return i.is(li)?nt(this).on(jm,this.destroy.bind(this,r)):(Ms(this._C,function(o){o.destroy&&o.destroy(r)},!0),s.emit(D0),s.destroy(),r&&Pr(this.splides),i.set($u)),this},DR(e,[{key:"options",get:function(){return this._o},set:function(r){this._C.Media.set(r,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}]),e})(),tc=Z4;tc.defaults={};tc.STATES=FR;function eP(){return Cl("sanity-preview-environment",()=>"checking")}function tP(){const e=eP();return we(()=>e.value==="checking"?null:["presentation-iframe","presentation-window"].includes(e.value))}const nc=()=>Ba({},Gs().public.sanity),nP=e=>{if(!e)return;const t=new Map;return{notify(n,r){t.forEach(s=>{const i=()=>{s.lastLiveEventId=r};s.callback(n,i)})},subscribe(n,r){return t.set(n,{lastLiveEventId:void 0,callback:r}),{getLastLiveEventId:()=>{var s;return(s=t.get(n))==null?void 0:s.lastLiveEventId},unsubscribe:()=>{t.delete(n)}}}}};var xf={},Lf,Km;function rP(){if(Km)return Lf;Km=1;const e=Symbol("values"),t=Symbol("kStorage"),n=Symbol("kStorages"),r=Symbol("kTransformer"),s=Symbol("kTTL"),i=Symbol("kOnDedupe"),o=Symbol("kOnError"),c=Symbol("kOnHit"),a=Symbol("kOnMiss"),u=Symbol("kStale");return Lf={kValues:e,kStorage:t,kStorages:n,kTransfromer:r,kTTL:s,kOnDedupe:i,kOnError:o,kOnHit:c,kOnMiss:a,kStale:u},Lf}var Mf={exports:{}},Gm;function r1(){return Gm||(Gm=1,(function(e,t){const{hasOwnProperty:n}=Object.prototype,r=_();r.configure=_,r.stringify=r,r.default=r,t.stringify=r,t.configure=_,e.exports=r;const s=/[\u0000-\u001f\u0022\u005c\ud800-\udfff]/;function i(y){return y.length<5e3&&!s.test(y)?`"${y}"`:JSON.stringify(y)}function o(y,m){if(y.length>200||m)return y.sort(m);for(let b=1;b<y.length;b++){const E=y[b];let $=b;for(;$!==0&&y[$-1]>E;)y[$]=y[$-1],$--;y[$]=E}return y}const c=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Object.getPrototypeOf(new Int8Array)),Symbol.toStringTag).get;function a(y){return c.call(y)!==void 0&&y.length!==0}function u(y,m,b){y.length<b&&(b=y.length);const E=m===","?"":" ";let $=`"0":${E}${y[0]}`;for(let A=1;A<b;A++)$+=`${m}"${A}":${E}${y[A]}`;return $}function l(y){if(n.call(y,"circularValue")){const m=y.circularValue;if(typeof m=="string")return`"${m}"`;if(m==null)return m;if(m===Error||m===TypeError)return{toString(){throw new TypeError("Converting circular structure to JSON")}};
33throw new TypeError('The "circularValue" argument must be of type string or the value null or undefined')}return'"[Circular]"'}function f(y){let m;if(n.call(y,"deterministic")&&(m=y.deterministic,typeof m!="boolean"&&typeof m!="function"))throw new TypeError('The "deterministic" argument must be of type boolean or comparator function');return m===void 0?!0:m}function h(y,m){let b;if(n.call(y,m)&&(b=y[m],typeof b!="boolean"))throw new TypeError(`The "${m}" argument must be of type boolean`);return b===void 0?!0:b}function p(y,m){let b;if(n.call(y,m)){if(b=y[m],typeof b!="number")throw new TypeError(`The "${m}" argument must be of type number`);if(!Number.isInteger(b))throw new TypeError(`The "${m}" argument must be an integer`);if(b<1)throw new RangeError(`The "${m}" argument must be >= 1`)}return b===void 0?1/0:b}function d(y){return y===1?"1 item":`${y} items`}function g(y){const m=new Set;for(const b of y)(typeof b=="string"||typeof b=="number")&&m.add(String(b));return m}function v(y){if(n.call(y,"strict")){const m=y.strict;if(typeof m!="boolean")throw new TypeError('The "strict" argument must be of type boolean');if(m)return b=>{let E=`Object can not safely be stringified. Received type ${typeof b}`;throw typeof b!="function"&&(E+=` (${b.toString()})`),new Error(E)}}}function _(y){y={...y};const m=v(y);m&&(y.bigint===void 0&&(y.bigint=!1),"circularValue"in y||(y.circularValue=Error));const b=l(y),E=h(y,"bigint"),$=f(y),A=typeof $=="function"?$:void 0,D=p(y,"maximumDepth"),H=p(y,"maximumBreadth");function B(k,T,O,I,j,U){let q=T[k];switch(typeof q=="object"&&q!==null&&typeof q.toJSON=="function"&&(q=q.toJSON(k)),q=I.call(T,k,q),typeof q){case"string":return i(q);case"object":{if(q===null)return"null";if(O.indexOf(q)!==-1)return b;let z="",X=",";const se=U;if(Array.isArray(q)){if(q.length===0)return"[]";if(D<O.length+1)return'"[Array]"';O.push(q),j!==""&&(U+=j,z+=` 34${U}`,X=`, 35${U}`);const Q=Math.min(q.length,H);let pe=0;for(;pe<Q-1;pe++){const S=B(String(pe),q,O,I,j,U);z+=S!==void 0?S:"null",z+=X}const Te=B(String(pe),q,O,I,j,U);if(z+=Te!==void 0?Te:"null",q.length-1>H){const S=q.length-H-1;z+=`${X}"... ${d(S)} not stringified"`}return j!==""&&(z+=` 36${se}`),O.pop(),`[${z}]`}let oe=Object.keys(q);const G=oe.length;if(G===0)return"{}";if(D<O.length+1)return'"[Object]"';let F="",Z="";j!==""&&(U+=j,X=`, 37${U}`,F=" ");const J=Math.min(G,H);$&&!a(q)&&(oe=o(oe,A)),O.push(q);for(let Q=0;Q<J;Q++){const pe=oe[Q],Te=B(pe,q,O,I,j,U);Te!==void 0&&(z+=`${Z}${i(pe)}:${F}${Te}`,Z=X)}if(G>H){const Q=G-H;z+=`${Z}"...":${F}"${d(Q)} not stringified"`,Z=X}return j!==""&&Z.length>1&&(z=` 38${U}${z} 39${se}`),O.pop(),`{${z}}`}case"number":return isFinite(q)?String(q):m?m(q):"null";case"boolean":return q===!0?"true":"false";case"undefined":return;case"bigint":if(E)return String(q);default:return m?m(q):void 0}}function V(k,T,O,I,j,U){switch(typeof T=="object"&&T!==null&&typeof T.toJSON=="function"&&(T=T.toJSON(k)),typeof T){case"string":return i(T);case"object":{if(T===null)return"null";if(O.indexOf(T)!==-1)return b;const q=U;let z="",X=",";if(Array.isArray(T)){if(T.length===0)return"[]";if(D<O.length+1)return'"[Array]"';O.push(T),j!==""&&(U+=j,z+=` 40${U}`,X=`, 41${U}`);const G=Math.min(T.length,H);let F=0;for(;F<G-1;F++){const J=V(String(F),T[F],O,I,j,U);z+=J!==void 0?J:"null",z+=X}const Z=V(String(F),T[F],O,I,j,U);if(z+=Z!==void 0?Z:"null",T.length-1>H){const J=T.length-H-1;z+=`${X}"... ${d(J)} not stringified"`}return j!==""&&(z+=` 42${q}`),O.pop(),`[${z}]`}O.push(T);let se="";j!==""&&(U+=j,X=`, 43${U}`,se=" ");let oe="";for(const G of I){const F=V(G,T[G],O,I,j,U);F!==void 0&&(z+=`${oe}${i(G)}:${se}${F}`,oe=X)}return j!==""&&oe.length>1&&(z=` 44${U}${z} 45${q}`),O.pop(),`{${z}}`}case"number":return isFinite(T)?String(T):m?m(T):"null";case"boolean":return T===!0?"true":"false";case"undefined":return;case"bigint":if(E)return String(T);default:return m?m(T):void 0}}function C(k,T,O,I,j){switch(typeof T){case"string":return i(T);case"object":{if(T===null)return"null";if(typeof T.toJSON=="function"){if(T=T.toJSON(k),typeof T!="object")return C(k,T,O,I,j);if(T===null)return"null"}if(O.indexOf(T)!==-1)return b;const U=j;if(Array.isArray(T)){if(T.length===0)return"[]";if(D<O.length+1)return'"[Array]"';O.push(T),j+=I;let F=` 46${j}`;const Z=`, 47${j}`,J=Math.min(T.length,H);let Q=0;for(;Q<J-1;Q++){const Te=C(String(Q),T[Q],O,I,j);F+=Te!==void 0?Te:"null",F+=Z}const pe=C(String(Q),T[Q],O,I,j);if(F+=pe!==void 0?pe:"null",T.length-1>H){const Te=T.length-H-1;F+=`${Z}"... ${d(Te)} not stringified"`}return F+=` 48${U}`,O.pop(),`[${F}]`}let q=Object.keys(T);const z=q.length;if(z===0)return"{}";if(D<O.length+1)return'"[Object]"';j+=I;const X=`, 49${j}`;let se="",oe="",G=Math.min(z,H);a(T)&&(se+=u(T,X,H),q=q.slice(T.length),G-=T.length,oe=X),$&&(q=o(q,A)),O.push(T);for(let F=0;F<G;F++){const Z=q[F],J=C(Z,T[Z],O,I,j);J!==void 0&&(se+=`${oe}${i(Z)}: ${J}`,oe=X)}if(z>H){const F=z-H;se+=`${oe}"...": "${d(F)} not stringified"`,oe=X}return oe!==""&&(se=` 50${j}${se} 51${U}`),O.pop(),`{${se}}`}case"number":return isFinite(T)?String(T):m?m(T):"null";case"boolean":return T===!0?"true":"false";case"undefined":return;case"bigint":if(E)return String(T);default:return m?m(T):void 0}}function P(k,T,O){switch(typeof T){case"string":return i(T);case"object":{if(T===null)return"null";if(typeof T.toJSON=="function"){if(T=T.toJSON(k),typeof T!="object")return P(k,T,O);
51if(T===null)return"null"}if(O.indexOf(T)!==-1)return b;let I="";const j=T.length!==void 0;if(j&&Array.isArray(T)){if(T.length===0)return"[]";if(D<O.length+1)return'"[Array]"';O.push(T);const se=Math.min(T.length,H);let oe=0;for(;oe<se-1;oe++){const F=P(String(oe),T[oe],O);I+=F!==void 0?F:"null",I+=","}const G=P(String(oe),T[oe],O);if(I+=G!==void 0?G:"null",T.length-1>H){const F=T.length-H-1;I+=`,"... ${d(F)} not stringified"`}return O.pop(),`[${I}]`}let U=Object.keys(T);const q=U.length;if(q===0)return"{}";if(D<O.length+1)return'"[Object]"';let z="",X=Math.min(q,H);j&&a(T)&&(I+=u(T,",",H),U=U.slice(T.length),X-=T.length,z=","),$&&(U=o(U,A)),O.push(T);for(let se=0;se<X;se++){const oe=U[se],G=P(oe,T[oe],O);G!==void 0&&(I+=`${z}${i(oe)}:${G}`,z=",")}if(q>H){const se=q-H;I+=`${z}"...":"${d(se)} not stringified"`}return O.pop(),`{${I}}`}case"number":return isFinite(T)?String(T):m?m(T):"null";case"boolean":return T===!0?"true":"false";case"undefined":return;case"bigint":if(E)return String(T);default:return m?m(T):void 0}}function R(k,T,O){if(arguments.length>1){let I="";if(typeof O=="number"?I=" ".repeat(Math.min(O,10)):typeof O=="string"&&(I=O.slice(0,10)),T!=null){if(typeof T=="function")return B("",{"":k},[],T,I,"");if(Array.isArray(T))return V("",k,[],g(T),I,"")}if(I.length!==0)return C("",k,[],I,"")}return P("",k,[])}return R}})(Mf,Mf.exports)),Mf.exports}var Nf,Ym;function xu(){if(Ym)return Nf;Ym=1;function e(a,u){const l=[];let f=0;for(let h=0;h<a.length;h++)for(let p=f;p<u.length;p++)a[h]===u[p]&&(l.push(p),f=p+1);return l}function t(a,u){const l=[];let f=0;for(let h=0;h<a.length;h++)for(let p=f;p<u.length;p++)a[h]!==u[p]&&(l.push(u[p]),f=p+1);return l}function n(a,u){let l=0,f=a.length-1;for(;l<=f;){const h=(l+f)/2|0;if(a[h]===u)return h;a[h]<u?l=h+1:f=h-1}return-1}function r(a){return a*Math.random()|0}function s(a,u){return a=Math.floor(a),u=Math.floor(u),a+r(1+u-a)}function i(a,u){if(a.length<1||u<1)return[];const l=Math.min(a.length,u),f=s(1,l),h=new Set;for(let d=0;d<f;d++)h.add(r(a.length));const p=[];for(const d of h)p.push(a[d]);return p}function o(a,u){if(a==="*"||a.length===u.length&&a===u)return!0;let l=0,f=0;for(;l<a.length&&f<u.length;){if(a[l]===u[f]){l++,f++;continue}if(a[l]==="*"){if(a[l+1]===u[f]){l++;continue}f++;continue}return!1}return l>=a.length-1}function c(){const a=()=>{};return{fatal:a,error:a,warn:a,info:a,debug:a,trace:a}}return Nf={findNotMatching:t,findMatchingIndexes:e,bsearchIndex:n,wildcardMatch:o,randomSubset:i,abstractLogging:c,isServerSide:typeof window>"u"},Nf}var Df,Jm;function s1(){if(Jm)return Df;Jm=1;class e{constructor(n){this.options=n}async get(n){throw new Error("storage get method not implemented")}async set(n,r,s,i){throw new Error("storage set method not implemented")}async remove(n){throw new Error("storage remove method not implemented")}async invalidate(n){throw new Error("storage invalidate method not implemented")}async clear(n){throw new Error("storage clear method not implemented")}async refresh(){throw new Error("storage refresh method not implemented")}}return Df=e,Df}var jf,Xm;function sP(){if(Xm)return jf;Xm=1;const e=r1(),t=s1(),{findNotMatching:n,randomSubset:r,abstractLogging:s}=xu(),i=64,o=64,c=60;class a extends t{constructor(l={}){if(!l.client||typeof l.client!="object")throw new Error("Redis client is required");if(super(l),l.invalidation&&l.invalidation.referencesTTL&&(typeof l.invalidation.referencesTTL!="number"||l.invalidation.referencesTTL<1))throw new Error("invalidation.referencesTTL must be a positive integer greater than 1");this.log=l.log||s(),this.store=l.client,this.invalidation=!!l.invalidation,this.referencesTTL=l.invalidation&&l.invalidation.referencesTTL||c}getReferenceKeyLabel(l){return`r:${l}`}getKeyReferenceLabel(l){return`k:${l}`}async get(l){this.log.debug({msg:"acd/storage/redis.get",key:l});try{const f=await this.store.get(l);if(!f){if(!this.invalidation)return;this.clearReferences(l);return}return JSON.parse(f)}catch(f){this.log.error({msg:"acd/storage/redis.get error",err:f,key:l})}}async getTTL(l){this.log.debug({msg:"acd/storage/memory.getTTL",key:l});let f=await this.store.pttl(l);return f<0?0:(f=Math.ceil(f/1e3),f)}async set(l,f,h,p){if(this.log.debug({msg:"acd/storage/redis.set key",key:l,value:f,ttl:h,references:p}
51),h=Number(h),!(!h||h<0))try{if(await this.store.set(l,e(f),"EX",h),!p||p.length<1)return;if(!this.invalidation){this.log.warn({msg:"acd/storage/redis.set, invalidation is disabled, references are useless",key:l,references:p});return}const d=[],g=await this.store.smembers(this.getKeyReferenceLabel(l));if(this.log.debug({msg:"acd/storage/redis.set current references",key:l,currentReferences:g}),g.length>1){g.sort(),p.sort();const y=n(p,g);for(const m of y)d.push(["srem",this.getReferenceKeyLabel(m),l]);d.push(["del",this.getKeyReferenceLabel(l)])}const v=g.length>1?n(g,p):p;this.log.debug({msg:"acd/storage/redis.set references to add",key:l,referencesToAdd:v});for(let y=0;y<v.length;y++){const m=v[y],b=this.getReferenceKeyLabel(m);d.push(["sadd",b,l]),d.push(["expire",b,this.referencesTTL])}const _=this.getKeyReferenceLabel(l);d.push(["sadd",_,p]),d.push(["expire",_,h]),this.log.debug({msg:"acd/storage/redis.set references writes",writes:d}),await this.store.pipeline(d).exec()}catch(d){this.log.error({msg:"acd/storage/redis.set error",err:d,key:l,ttl:h,references:p})}}async remove(l){this.log.debug({msg:"acd/storage/redis.remove",key:l});try{const f=await this.store.del(l)>0;return f&&this.invalidation&&await this.clearReferences(l),f}catch(f){this.log.error({msg:"acd/storage/redis.remove error",err:f,key:l})}}async invalidate(l){if(!this.invalidation)return this.log.warn({msg:"acd/storage/redis.invalidate, exit due invalidation is disabled"}),[];this.log.debug({msg:"acd/storage/redis.invalidate",references:l});try{return Array.isArray(l)?await this._invalidateReferences(l):await this._invalidateReference(l)}catch(f){return this.log.error({msg:"acd/storage/redis.invalidate error",err:f,references:l}),[]}}async _invalidateReferences(l,f=!0){const h=l.map(v=>["smembers",f?this.getReferenceKeyLabel(v):v]),p=await this.store.pipeline(h).exec();this.log.debug({msg:"acd/storage/redis._invalidateReferences keys",keys:p});const d=[],g=[];for(let v=0;v<p.length;v++){const _=p[v][1];if(_){this.log.debug({msg:"acd/storage/redis._invalidateReferences got keys to be invalidated",keys:_});for(let y=0;y<_.length;y++){const m=_[y];this.log.debug({msg:"acd/storage/redis._invalidateReferences del key"+m}),g.push(m),d.push(["del",m])}}}return await this.store.pipeline(d).exec(),await this.clearReferences(g),g}async _invalidateReference(l){let f;if(l.includes("*")){const d=await this.store.keys(this.getReferenceKeyLabel(l));return this._invalidateReferences(d,!1)}else f=await this.store.smembers(this.getReferenceKeyLabel(l));this.log.debug({msg:"acd/storage/redis._invalidateReference keys",keys:f});const h=[],p=[];for(let d=0;d<f.length;d++){const g=f[d];this.log.debug({msg:"acd/storage/redis._invalidateReference del key"+g}),p.push(g),h.push(["del",g])}return await this.store.pipeline(h).exec(),await this.clearReferences(p),p}async clear(l){this.log.debug({msg:"acd/storage/redis.clear",name:l});try{if(!l){await this.store.flushall();return}const f=await this.store.keys(`${l}*`);this.log.debug({msg:"acd/storage/redis.clear keys",keys:f});const h=f.map(p=>["del",p]);if(await this.store.pipeline(h).exec(),!this.invalidation)return;await this.clearReferences(f)}catch(f){this.log.error({msg:"acd/storage/redis.clear error",err:f,name:l})}}async refresh(){try{await this.store.flushall()}catch(l){this.log.error({msg:"acd/storage/redis.refresh error",err:l})}}async clearReferences(l){try{if(!l){this.log.warn({msg:"acd/storage/redis.clearReferences invalid call due to empty key"});return}Array.isArray(l)||(l=[l]);const f=l.map(d=>["smembers",this.getKeyReferenceLabel(d)]),h=await this.store.pipeline(f).exec();this.log.debug({msg:"acd/storage/redis.clearReferences references",keys:l,referencesKeys:h});const p={};for(let d=0;d<l.length;d++){for(let v=0;v<h[d][1].length;v++){const _=this.getReferenceKeyLabel(h[d][1][v]);p[_]||(p[_]=["srem",_,l])}const g=this.getKeyReferenceLabel(l[d]);p[g]=["del",g]}this.log.debug({msg:"acd/storage/redis.clearReferences writes pipeline",writes:p}),await this.store.pipeline(Object.values(p)).exec()}catch(f){this.log.error({msg:"acd/storage/redis.clearReferences error",err:f})}}async gc(l="lazy",f={}){if(this.log.debug({msg:"acd/storage/redis.gc",mode:l,options:f}),!this.invalidation){this.log.warn({msg:"acd/storage/redis.gc does not run due to invali
51dation is disabled"});return}l!=="strict"&&l!=="lazy"&&(l="lazy");const h={references:{scanned:[],removed:[]},keys:{scanned:new Set,removed:new Set},loops:0,cursor:0,error:null};try{let p=0,d=o;if(f.chunk&&(typeof f.chunk!="number"||f.chunk<1))return h.error=new Error("chunk must be a positive integer greater than 1"),h;if(f.lazy){if(f.lazy.chunk){if(typeof f.lazy.chunk!="number"||f.lazy.chunk<1)return h.error=new Error("lazy.chunk must be a positive integer greater than 1"),h;d=f.lazy.chunk}if(f.lazy.cursor){if(typeof f.lazy.cursor!="number"||f.lazy.cursor<0)return h.error=new Error("lazy.cursor must be a positive integer greater than 0"),h;p=f.lazy.cursor}}const g=f.chunk||i,v=Math.min(d,g),_=p;let y=-1,m=-1;do{h.loops++;const b=await this.store.scan(p,"match","r:*","count",v);p=Number(b[0]),y=b[1].length;const E=l==="lazy"?r(b[1],d):b[1];h.references.scanned=h.references.scanned.concat(E);let $=[];for(let k=0;k<E.length;k++){const T=E[k];$.push(["smembers",T])}const A=await this.store.pipeline($).exec(),D={},H={};for(let k=0;k<A.length;k++){const T=A[k],O=E[k];H[O]=T[1];for(let I=0;I<T[1].length;I++){const j=T[1][I];D[j]?D[j].push(O):D[j]=[O],h.keys.scanned.add(j)}}const B=Object.keys(D);$=B.map(k=>["exists",k]);const V=await this.store.pipeline($).exec(),C={};for(let k=0;k<B.length;k++){const T=B[k];if(V[k][1]!==1)for(let O=0;O<D[T].length;O++){const I=D[T][O];C[I]?C[I].push(T):C[I]=[T],h.keys.removed.add(T)}}const P=Object.keys(C),R=[];for(let k=0;k<P.length;k++){const T=P[k];H[T].length===C[T].length?(R.push(["del",T]),h.references.removed.push(T)):R.push(["srem",T,C[T]])}if(await this.store.pipeline(R).exec(),m=R.length,l==="lazy"&&h.references.scanned.length>=d)break}while(_!==p&&y>0&&m>0);h.cursor=p,h.keys.scanned=Array.from(h.keys.scanned),h.keys.removed=Array.from(h.keys.removed)}catch(p){this.log.error({msg:"acd/storage/redis.gc error",err:p}),h.error=p}return h}}return jf=a,jf}var Ff,Qm;function iP(){if(Qm)return Ff;Qm=1;function e(t){if(typeof t!="function")throw new Error("obliterator/iterator: expecting a function!");this.next=t}return typeof Symbol<"u"&&(e.prototype[Symbol.iterator]=function(){return this}),e.of=function(){var t=arguments,n=t.length,r=0;return new e(function(){return r>=n?{done:!0}:{done:!1,value:t[r++]}})},e.empty=function(){var t=new e(function(){return{done:!0}});return t},e.fromSequence=function(t){var n=0,r=t.length;return new e(function(){return n>=r?{done:!0}:{done:!1,value:t[n++]}})},e.is=function(t){return t instanceof e?!0:typeof t=="object"&&t!==null&&typeof t.next=="function"},Ff=e,Ff}var Hf={},Zm;function oP(){return Zm||(Zm=1,Hf.ARRAY_BUFFER_SUPPORT=typeof ArrayBuffer<"u",Hf.SYMBOL_SUPPORT=typeof Symbol<"u"),Hf}var Uf,ey;function i1(){if(ey)return Uf;ey=1;var e=oP(),t=e.ARRAY_BUFFER_SUPPORT,n=e.SYMBOL_SUPPORT;return Uf=function(r,s){var i,o,c,a,u;if(!r)throw new Error("obliterator/forEach: invalid iterable.");if(typeof s!="function")throw new Error("obliterator/forEach: expecting a callback.");if(Array.isArray(r)||t&&ArrayBuffer.isView(r)||typeof r=="string"||r.toString()==="[object Arguments]"){for(c=0,a=r.length;c<a;c++)s(r[c],c);return}if(typeof r.forEach=="function"){r.forEach(s);return}if(n&&Symbol.iterator in r&&typeof r.next!="function"&&(r=r[Symbol.iterator]()),typeof r.next=="function"){for(i=r,c=0;u=i.next(),u.done!==!0;)s(u.value,c),c++;return}for(o in r)r.hasOwnProperty(o)&&s(r[o],o)},Uf}var ty={},ny;function o1(){return ny||(ny=1,(function(e){var t=Math.pow(2,8)-1,n=Math.pow(2,16)-1,r=Math.pow(2,32)-1,s=Math.pow(2,7)-1,i=Math.pow(2,15)-1,o=Math.pow(2,31)-1;e.getPointerArray=function(a){var u=a-1;if(u<=t)return Uint8Array;
51if(u<=n)return Uint16Array;if(u<=r)return Uint32Array;throw new Error("mnemonist: Pointer Array of size > 4294967295 is not supported.")},e.getSignedPointerArray=function(a){var u=a-1;return u<=s?Int8Array:u<=i?Int16Array:u<=o?Int32Array:Float64Array},e.getNumberType=function(a){return a===(a|0)?Math.sign(a)===-1?a<=127&&a>=-128?Int8Array:a<=32767&&a>=-32768?Int16Array:Int32Array:a<=255?Uint8Array:a<=65535?Uint16Array:Uint32Array:Float64Array};var c={Uint8Array:1,Int8Array:2,Uint16Array:3,Int16Array:4,Uint32Array:5,Int32Array:6,Float32Array:7,Float64Array:8};e.getMinimalRepresentation=function(a,u){var l=null,f=0,h,p,d,g,v;for(g=0,v=a.length;g<v;g++)d=u?u(a[g]):a[g],p=e.getNumberType(d),h=c[p.name],h>f&&(f=h,l=p);return l},e.isTypedArray=function(a){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView(a)},e.concat=function(){var a=0,u,l,f;for(u=0,f=arguments.length;u<f;u++)a+=arguments[u].length;var h=new arguments[0].constructor(a);for(u=0,l=0;u<f;u++)h.set(arguments[u],l),l+=arguments[u].length;return h},e.indices=function(a){for(var u=e.getPointerArray(a),l=new u(a),f=0;f<a;f++)l[f]=f;return l}})(ty)),ty}var ri={},ry;function aP(){if(ry)return ri;ry=1;var e=i1(),t=o1();function n(o){return Array.isArray(o)||t.isTypedArray(o)}function r(o){if(typeof o.length=="number")return o.length;if(typeof o.size=="number")return o.size}function s(o){var c=r(o),a=typeof c=="number"?new Array(c):[],u=0;return e(o,function(l){a[u++]=l}),a}function i(o){var c=r(o),a=typeof c=="number"?t.getPointerArray(c):Array,u=typeof c=="number"?new Array(c):[],l=typeof c=="number"?new a(c):[],f=0;return e(o,function(h){u[f]=h,l[f]=f++}),[u,l]}return ri.isArrayLike=n,ri.guessLength=r,ri.toArray=s,ri.toArrayWithIndices=i,ri}var Vf,sy;function cP(){if(sy)return Vf;sy=1;var e=iP(),t=i1(),n=o1(),r=aP();function s(i,o,c){if(arguments.length<2&&(c=i,i=null,o=null),this.capacity=c,typeof this.capacity!="number"||this.capacity<=0)throw new Error("mnemonist/lru-cache: capacity should be positive number.");if(!isFinite(this.capacity)||Math.floor(this.capacity)!==this.capacity)throw new Error("mnemonist/lru-cache: capacity should be a finite positive integer.");var a=n.getPointerArray(c);this.forward=new a(c),this.backward=new a(c),this.K=typeof i=="function"?new i(c):new Array(c),this.V=typeof o=="function"?new o(c):new Array(c),this.size=0,this.head=0,this.tail=0,this.items={}}return s.prototype.clear=function(){this.size=0,this.head=0,this.tail=0,this.items={}},s.prototype.splayOnTop=function(i){var o=this.head;if(this.head===i)return this;var c=this.backward[i],a=this.forward[i];return this.tail===i?this.tail=c:this.backward[a]=c,this.forward[c]=a,this.backward[o]=i,this.head=i,this.forward[i]=o,this},s.prototype.set=function(i,o){var c=this.items[i];if(typeof c<"u"){this.splayOnTop(c),this.V[c]=o;return}this.size<this.capacity?c=this.size++:(c=this.tail,this.tail=this.backward[c],delete this.items[this.K[c]]),this.items[i]=c,this.K[c]=i,this.V[c]=o,this.forward[c]=this.head,this.backward[this.head]=c,this.head=c},s.prototype.setpop=function(i,o){var c=null,a=null,u=this.items[i];return typeof u<"u"?(this.splayOnTop(u),c=this.V[u],this.V[u]=o,{evicted:!1,key:i,value:c}):(this.size<this.capacity?u=this.size++:(u=this.tail,this.tail=this.backward[u],c=this.V[u],a=this.K[u],delete this.items[a]),this.items[i]=u,this.K[u]=i,this.V[u]=o,this.forward[u]=this.head,this.backward[this.head]=u,this.head=u,a?{evicted:!0,key:a,value:c}:null)},s.prototype.has=function(i){return i in this.items},s.prototype.get=function(i){var o=this.items[i];if(!(typeof o>"u"))return this.splayOnTop(o),this.V[o]},s.prototype.peek=function(i){var o=this.items[i];if(!(typeof o>"u"))return this.V[o]},s.prototype.forEach=function(i,o){o=arguments.length>1?o:this;for(var c=0,a=this.size,u=this.head,l=this.K,f=this.V,h=this.forward;c<a;)i.call(o,f[u],l[u],this),u=h[u],c++},s.prototype.keys=function(){var i=0,o=this.size,c=this.head,a=this.K,u=this.forward;return new e(function(){if(i>=o)return{done:!0};var l=a[c];return i++,i<o&&(c=u[c]),{done:!1,value:l}})},s.prototype.values=function(){var i=0,o=this.size,c=this.head,a=this.V,u=this.forward;return new e(function(){if(i>=o)return{done:!0};var l=a[c];return i++,i<o&&(c=u[c]),{done:!1,value:l}})},s.prototype.entries=function(){var i=0,o=this.size,c=this.head,a=this.K,u=this.V,l=this.forward;return new e(function(){if(i>=o)return{done:!0};var f=a[c],h=u[c];return i++,i<o&&(c=l[c]),{done:!1,value:[f,h]}})},typeof Symbol<"u"&&(s.prototype[Symbol.iterator]=s.prototype.entries),s.prototype.inspect=function(){for(var i=new Map,o=this.entries(),c;c=o.next(),!c.done;)i.set(c.value[0],c.value[1]);return Object.defineProperty(i,"constructor",{value:s,enumerable:!1}),i},typeof Symbol<"u"&&(s.prototype[Symbol.for("nodejs.util.inspect.custom")]=s.prototype.inspect),s.from=function(i,o,c,a){if(arguments.length<2){if(a=r.guessLength(i),typeof a!="number")throw new Error("mnemonist/lru-cache.from: could not guess iterable length. Please provide desired capacity as last argument.")}else arguments.length===2&&(a=o,o=null,c=null);var u=new s(o,c,a);return t(i,function(l,f){u.set(f,l)}),u},Vf=s,Vf}var Bf,iy;
51function uP(){if(iy)return Bf;iy=1;const e=cP(),{abstractLogging:t}=xu(),n=s1(),{findMatchingIndexes:r,findNotMatching:s,bsearchIndex:i,wildcardMatch:o}=xu(),c=typeof globalThis.setImmediate<"u"?globalThis.setImmediate:(p,...d)=>setTimeout(p,0,...d),a=1024;class u extends n{constructor(d={}){if(d.size&&(typeof d.size!="number"||d.size<1))throw new Error("size must be a positive integer greater than 0");super(d),this.size=d.size||a,this.log=d.log||t(),this.invalidation=d.invalidation||!1,this.init()}init(){this.store=new e(this.size),this.invalidation&&(this.keysReferences=new Map,this.referencesKeys=new Map)}get(d){this.log.debug({msg:"acd/storage/memory.get",key:d});const g=this.store.get(d);if(g){if(this.log.debug({msg:"acd/storage/memory.get, entry",entry:g,now:f()}),g.start+g.ttl>f())return this.log.debug({msg:"acd/storage/memory.get, key is NOT expired",key:d,entry:g}),g.value;this.log.debug({msg:"acd/storage/memory.get, key is EXPIRED",key:d,entry:g}),c(()=>this.remove(d))}}getTTL(d){this.log.debug({msg:"acd/storage/memory.getTTL",key:d});const g=this.store.peek(d);let v=0;return g&&(v=g.start+g.ttl-f(),v<0&&(v=0)),v}set(d,g,v,_){if(this.log.debug({msg:"acd/storage/memory.set",key:d,value:g,ttl:v,references:_}),v=Number(v),!v||v<0)return;const y=this.store.has(d),m=this.store.setpop(d,{value:g,ttl:v,start:f()});if(this.log.debug({msg:"acd/storage/memory.set, evicted",removed:m}),m&&m.evicted&&(this.log.debug({msg:"acd/storage/memory.set, remove evicted key",key:m.key}),this._removeReferences([m.key])),!_||_.length<1)return;if(!this.invalidation){this.log.warn({msg:"acd/storage/memory.set, invalidation is disabled, references are useless"});return}_=[...new Set(_)];let b;if(y&&(b=this.keysReferences.get(d),this.log.debug({msg:"acd/storage/memory.set, current keys-references",key:d,references:b}),b)){b.sort(),_.sort();const $=s(_,b);for(const A of $){const D=this.referencesKeys.get(A);if(!D)continue;const H=i(D,d);if(!(H<0)){if(D.splice(H,1),D.length<1){this.referencesKeys.delete(A);continue}this.referencesKeys.set(A,D)}}}const E=b?s(b,_):_;for(let $=0;$<E.length;$++){const A=E[$];let D=this.referencesKeys.get(A);D?(this.log.debug({msg:"acd/storage/memory.set, add reference-key",key:d,reference:A}),D.push(d)):D=[d],this.log.debug({msg:"acd/storage/memory.set, set reference-keys",keys:D,reference:A}),this.referencesKeys.set(A,D)}this.keysReferences.set(d,_)}remove(d){this.log.debug({msg:"acd/storage/memory.remove",key:d});const g=this._removeKey(d);return this._removeReferences([d]),g}_removeKey(d){return this.log.debug({msg:"acd/storage/memory._removeKey",key:d}),this.store.has(d)?(this.store.set(d,void 0),!0):!1}_removeReferences(d){if(!this.invalidation)return;this.log.debug({msg:"acd/storage/memory._removeReferences",keys:d});const g=new Set;for(let v=0;v<d.length;v++){const _=d[v],y=this.keysReferences.get(_);if(y){for(let m=0;m<y.length;m++)g.add(y[m]);this.log.debug({msg:"acd/storage/memory._removeReferences, delete key-references",key:_}),this.keysReferences.delete(_)}}this._removeReferencesKeys([...g],d)}_removeReferencesKeys(d,g){g.sort(),this.log.debug({msg:"acd/storage/memory._removeReferencesKeys",references:d,keys:g});for(let v=0;v<d.length;v++){const _=d[v],y=this.referencesKeys.get(_);if(this.log.debug({msg:"acd/storage/memory._removeReferencesKeys, get reference-key",reference:_,keys:g,referencesKeys:y}),!y)continue;const m=r(g,y);if(this.log.debug({msg:"acd/storage/memory._removeReferencesKeys, removing",reference:_,referencesToRemove:m,referencesKeys:y}),m.length===y.length){this.log.debug({msg:"acd/storage/memory._removeReferencesKeys, delete",reference:_}),this.referencesKeys.delete(_);continue}for(let b=m.length-1;b>=0;b--)this.log.debug({msg:"acd/storage/memory._removeReferencesKeys, remove",reference:_,referencesKeys:y,at:m[b]}),y.splice(m[b],1)}}invalidate(d){return this.invalidation?(this.log.debug({msg:"acd/storage/memory.invalidate",references:d}),Array.isArray(d)?this._invalidateReferences(d):this._invalidateReference(d)):(this.log.warn({msg:"acd/storage/memory.invalidate, exit due invalidation is disabled"}),[])}_invalidateReferences(d){const g=[];for(let v=0;v<d.length;v++){const _=d[v],y=this.referencesKeys.get(_);if(this.log.debug({msg:"acd/storage/memory._invalidateReferences, remove keys on reference",reference:_,keys:y}
51),!!y){for(let m=0;m<y.length;m++){const b=y[m];this.log.debug({msg:"acd/storage/memory._invalidateReferences, remove key on reference",reference:_,key:b}),this._removeKey(b)&&g.push(b)}this.log.debug({msg:"acd/storage/memory._invalidateReferences, remove references of",reference:_,keys:y}),this._removeReferences([...y])}}return g}_invalidateReference(d){if(d.includes("*")){const _=[];for(const y of this.referencesKeys.keys())o(d,y)&&_.push(y);return this._invalidateReferences(_)}const g=this.referencesKeys.get(d),v=[];if(this.log.debug({msg:"acd/storage/memory._invalidateReference, remove keys on reference",reference:d,keys:g}),!g)return v;for(let _=0;_<g.length;_++){const y=g[_];this.log.debug({msg:"acd/storage/memory._invalidateReference, remove key on reference",reference:d,key:y}),this._removeKey(y)&&v.push(y)}return this.log.debug({msg:"acd/storage/memory._invalidateReference, remove references of",reference:d,keys:g}),this._removeReferences([...g]),v}clear(d){if(this.log.debug({msg:"acd/storage/memory.clear",name:d}),!d){if(this.store.clear(),!this.invalidation)return;this.referencesKeys.clear(),this.keysReferences.clear();return}const g=[];this.store.forEach((_,y)=>{this.log.debug({msg:"acd/storage/memory.clear, iterate key",key:y}),y.indexOf(d)===0&&(this.log.debug({msg:"acd/storage/memory.clear, remove key",key:y}),g.push(y))});const v=[];for(let _=0;_<g.length;_++)this._removeKey(g[_])&&v.push(g[_]);return this._removeReferences(v),v}refresh(){this.log.debug({msg:"acd/storage/memory.refresh"}),this.init()}}let l;function f(){if(l!==void 0)return l;l=Math.floor(Date.now()/1e3);const p=setTimeout(h,1e3);return typeof p.unref=="function"&&p.unref(),l}function h(){l=void 0}return Bf=u,Bf}var qf,oy;function a1(){if(oy)return qf;oy=1;const{isServerSide:e}=xu();let t;e&&(t=sP());const n=uP(),r={redis:"redis"};function s(i,o){if(!e&&i===r.redis)throw new Error("Redis storage is not supported in the browser");return i===r.redis?new t(o):new n(o)}return qf=s,qf}var ay;function lP(){if(ay)return xf;ay=1;const{kValues:e,kStorage:t,kStorages:n,kTransfromer:r,kTTL:s,kOnDedupe:i,kOnError:o,kOnHit:c,kOnMiss:a,kStale:u}=rP(),l=r1(),f=a1();class h{constructor(_={}){if(!_.storage)throw new Error("storage is required");if(_.ttl&&typeof _.ttl=="number"&&(_.ttl<0||!Number.isInteger(_.ttl)))throw new Error("ttl must be a positive integer greater than 0");if(_.onDedupe&&typeof _.onDedupe!="function")throw new Error("onDedupe must be a function");if(_.onError&&typeof _.onError!="function")throw new Error("onError must be a function");if(_.onHit&&typeof _.onHit!="function")throw new Error("onHit must be a function");if(_.onMiss&&typeof _.onMiss!="function")throw new Error("onMiss must be a function");if(typeof _.stale=="number"&&!(Math.floor(_.stale)===_.stale&&_.stale>=0))throw new Error("stale must be an integer greater or equal to 0");this[e]={},this[t]=_.storage,this[n]=new Map,this[n].set("_default",_.storage),this[r]=_.transformer,this[s]=_.ttl||0,this[i]=_.onDedupe||g,this[o]=_.onError||g,this[c]=_.onHit||g,this[a]=_.onMiss||g,this[u]=_.stale||0}define(_,y,m){if(typeof y=="function"&&(m=y,y={}),_&&this[_])throw new Error(`${_} is already defined in the cache or it is a forbidden name`);if(y=y||{},typeof m!="function")throw new TypeError(`Missing the function parameter for '${_}'`);const b=y.serialize;if(b&&typeof b!="function")throw new TypeError("serialize must be a function");const E=y.references;if(E&&typeof E!="function")throw new TypeError("references must be a function");if(typeof y.ttl!="function"&&y.ttl&&(typeof y.ttl!="number"||y.ttl<0||!Number.isInteger(y.ttl)))throw new Error("ttl must be a positive integer greater than 0");let $;y.storage?($=f(y.storage.type,y.storage.options),this[n].set(_,$)):$=this[t];const A=y.ttl!==void 0?y.ttl:this[s],D=y.stale!==void 0?y.stale:this[u],H=y.onDedupe||this[i],B=y.onError||this[o],V=y.onHit||this[c],C=y.onMiss||this[a],P=y.transformer||this[r],R=new p(m,_,b,E,$,P,A,H,B,V,C,D);return this[e][_]=R,this[_]=R.add.bind(R),this}async clear(_,y){if(_){if(!this[e][_])throw new Error(`${_} is not defined in the cache`);await this[e][_].clear(y);return}const m=[];for(const b of Object.values(this[e]))m.push(b.clear());await Promise.all(m)}async get(_,y){if(!this[e][_])throw new Error(`${_} is not defined in the cache`);return this[e][_].get(y)}async set(_,y,m,b,E){if(!this[e][_])throw new Error(`${_} is not defined in the cache`);return this[e][_].set(y,m,b,E)}
51async invalidate(_,y){if(!this[e][_])throw new Error(`${_} is not defined in the cache`);return this[e][_].invalidate(y)}async invalidateAll(_,y="_default"){if(!this[n].has(y))throw new Error(`${y} storage is not defined in the cache`);await this[n].get(y).invalidate(_)}}class p{constructor(_,y,m,b,E,$,A,D,H,B,V,C){this.dedupes=new Map,this.func=_,this.name=y,this.serialize=m,this.references=b,this.storage=E,this.transformer=$,this.ttl=A,this.onDedupe=D,this.onError=H,this.onHit=B,this.onMiss=V,this.stale=C}getKey(_){const y=this.serialize?this.serialize(_):_;return typeof y=="string"?y:l(y)}getStorageKey(_){return`${this.name}~${_}`}getStorageName(){return`${this.name}~`}add(_){try{const y=this.getKey(_);let m=this.dedupes.get(y);return m?this.onDedupe(y):(m=new d,this.buildPromise(m,_,y),this.dedupes.set(y,m)),m.promise}catch(y){this.onError(y)}}async wrapFunction(_,y){const m=this.getStorageKey(y);if(this.ttl>0||typeof this.ttl=="function"){const b=await this.get(m);if(b!==void 0){this.onHit(y);const E=typeof this.stale=="function"?this.stale(b):this.stale;return E>0&&await this.storage.getTTL(m)<=E&&this._wrapFunction(m,_,y).catch(g),b}else this.onMiss(y)}return this._wrapFunction(m,_,y)}async _wrapFunction(_,y,m){const b=await this.func(y,m),E=typeof this.stale=="function"?this.stale(b):this.stale;let $=typeof this.ttl=="function"?this.ttl(b):this.ttl;if($==null||typeof $!="number"||!Number.isInteger($))return this.onError(new Error("ttl must be an integer")),b;if($+=E,$<1)return b;if(!this.references)return await this.set(_,b,$),b;try{let A=this.references(y,m,b),D=b;A&&typeof A.then=="function"&&(A=await A),this.transformer&&(D=this.transformer.serialize(b)),await this.storage.set(_,D,$,A)}catch(A){this.onError(A)}return b}buildPromise(_,y,m){_.promise=this.wrapFunction(y,m),_.promise.then(b=>(this.dedupes.delete(m),b)).catch(b=>{this.onError(b),this.dedupes.delete(m);const E=this.storage.remove(this.getStorageKey(m));E&&typeof E.catch=="function"&&E.catch(g)})}async clear(_){if(_){const y=this.getKey(_);this.dedupes.delete(y),await this.storage.remove(this.getStorageKey(y));return}await this.storage.clear(this.getStorageName()),this.dedupes.clear()}async get(_){const y=await this.storage.get(_);return this.transformer&&y?await this.transformer.deserialize(y):y}async set(_,y,m,b){return this.transformer&&(y=this.transformer.serialize(y)),this.storage.set(_,y,m,b)}async invalidate(_){return this.storage.invalidate(_)}}class d{constructor(){this.promise=null}}function g(){}return xf.Cache=h,xf}var Wf,cy;function fP(){if(cy)return Wf;cy=1;const{Cache:e}=lP(),t=a1();function n(r){r?r.storage||(r.storage={type:"memory"}):r={storage:{type:"memory"}};const s=t(r.storage.type,r.storage.options);return new e({...r,storage:s})}return Wf={Cache:e,createCache:n,createStorage:t},Wf}var dP=fP();let zf=0,uy=[];function hP(){return zf+=1,()=>{if(zf-=1,zf===0){let e=uy;uy=[];for(let t of e)t()}}}let hn=[],Br=0;const Fc=4;let c1=e=>{let t=[],n={get(){return n.lc||n.listen(()=>{})(),n.value},lc:0,listen(r){return n.lc=t.push(r),()=>{for(let i=Br+Fc;i<hn.length;)hn[i]===r?hn.splice(i,Fc):i+=Fc;let s=t.indexOf(r);~s&&(t.splice(s,1),--n.lc||n.off())}},notify(r,s){let i=!hn.length;for(let o of t)hn.push(o,n.value,r,s);if(i){for(Br=0;Br<hn.length;Br+=Fc)hn[Br](hn[Br+1],hn[Br+2],hn[Br+3]);hn.length=0}},off(){},set(r){let s=n.value;s!==r&&(n.value=r,n.notify(s))},subscribe(r){let s=n.listen(r);return r(n.value),s},value:e};return n};const pP=5,Hc=6,Uc=10;let gP=(e,t,n,r)=>(e.events=e.events||{},e.events[n+Uc]||(e.events[n+Uc]=r(s=>{e.events[n].reduceRight((i,o)=>(o(i),i),{shared:{},...s})})),e.events[n]=e.events[n]||[],e.events[n].push(t),()=>{let s=e.events[n],i=s.indexOf(t);s.splice(i,1),s.length||(delete e.events[n],e.events[n+Uc](),delete e.events[n+Uc])}),mP=1e3,yP=(e,t)=>gP(e,n=>{let r=t(n);r&&e.events[Hc].push(r)},pP,n=>{let r=e.listen;e.listen=(...i)=>(!e.lc&&!e.active&&(e.active=!0,n()),r(...i));let s=e.off;return e.events[Hc]=[],e.off=()=>{s(),setTimeout(()=>{if(e.active&&!e.lc){e.active=!1;for(let i of e.events[Hc])i();e.events[Hc]=[]}},mP)},()=>{e.listen=r,e.off=s}}),_P=(e={})=>{let t=c1(e);return t.setKey=function(n,r){let s=t.value;typeof r>"u"&&n in t.value?(t.value={...t.value},delete t.value[n],t.notify(s,n)):t.value[n]!==r&&(t.value={...t.value,[n]:r},t.notify(s,n))},t};const uh=typeof document>
51"u"?"server":"browser",vP=e=>{const{ssr:t,setFetcher:n}=e;return r=>{if(uh==="server")throw new Error("Live mode is not supported in server environments");if(t&&!r.client)throw new Error("The `client` option in `enableLiveMode` is required");const s=r.client||e.client||void 0,i=new AbortController;let o;return yt(async()=>{const{enableLiveMode:c}=await import("./z6JJ_IKm.js");return{enableLiveMode:c}},__vite__mapDeps([17,18]),import.meta.url).then(({enableLiveMode:c})=>{i.signal.aborted||(o=c({...r,client:s,setFetcher:n,ssr:t}))}),()=>{i.abort(),o==null||o()}}};function ly(e){return e.withConfig({allowReconfigure:!1})}const bP=e=>{const{ssr:t=!1,tag:n="core-loader"}=e;if(t&&e.client)throw new TypeError("`client` option is not allowed when `ssr: true`, use `setServerClient` from your server entry point instead");if(!t&&e.client===!1)throw new TypeError("You must set `ssr: true` when `client: false` is used");if(!t&&!e.client)throw new TypeError("`client` is required");let r=t?void 0:ly(e.client);function s(f){return dP.createCache().define("fetch",async h=>{if(!f)throw new Error("You have to set the Sanity client with `setServerClient` before any data fetching is done");const{query:p,params:d={},perspective:g,useCdn:v,stega:_}=JSON.parse(h),{result:y,resultSourceMap:m}=await f.fetch(p,d,{tag:n,filterResponse:!1,perspective:g,useCdn:v,stega:_});return{result:y,resultSourceMap:m}})}function i(){const f=(r==null?void 0:r.config().perspective)||"published";return o.instance=s(r),{hydrate:(h,p,d)=>({loading:(d==null?void 0:d.data)===void 0||(d==null?void 0:d.sourceMap)===void 0,error:void 0,data:d==null?void 0:d.data,sourceMap:d==null?void 0:d.sourceMap,perspective:f}),fetch:(h,p,d,g)=>{if(g.signal.aborted)return;const v=hP();d.setKey("loading",!0),d.setKey("error",void 0),o.instance.fetch(JSON.stringify({query:h,params:p})).then(_=>{g.signal.aborted||(d.setKey("data",_.result),d.setKey("sourceMap",_.resultSourceMap),d.setKey("perspective",f))}).catch(_=>{d.setKey("error",_)}).finally(()=>{d.setKey("loading",!1),v()})}}}const o={instance:s(r)},c=c1(r?i():void 0),a=vP({client:r||void 0,ssr:t,setFetcher:f=>{const h=c.get();return c.set(f),()=>c.set(h)}}),u=(f,h={},p)=>{const d=c.get(),g=_P(d?d.hydrate(f,h,p):{loading:!1,error:typeof(p==null?void 0:p.data)>"u"?new Error("The `initial` option is required when `ssr: true`"):void 0,data:p==null?void 0:p.data,sourceMap:p==null?void 0:p.sourceMap,perspective:p==null?void 0:p.perspective});return yP(g,()=>{let v=new AbortController;const _=c.subscribe(y=>{!y||v.signal.aborted||(v.abort(),v=new AbortController,y.fetch(f,h,g,v))});return()=>{v.abort(),_()}}),g},l={instance:void 0,canPreviewDrafts:!1};return{createFetcherStore:u,enableLiveMode:a,setServerClient:f=>{if(uh!=="server")throw new Error("`setServerClient` can only be called in server environments, detected: "+JSON.stringify(uh));if(!t)throw new Error("`setServerClient` can only be called when `ssr: true`");l.instance=r=ly(f),l.canPreviewDrafts=!!r.config().token,c.set(i())},unstable__cache:o,unstable__serverClient:l}},fy=(e,t,n)=>e?bP({tag:"nuxt-loader",client:!1,ssr:!0}):void 0,u1=!(typeof navigator>"u")&&navigator.product==="ReactNative",l1={timeout:u1?6e4:12e4},wP=function(e){const t={...l1,...typeof e=="string"?{url:e}:e};if(t.timeout=f1(t.timeout),t.query){const{url:n,searchParams:r}=(function(s){const i=s.indexOf("?");if(i===-1)return{url:s,searchParams:new URLSearchParams};const o=s.slice(0,i),c=s.slice(i+1);if(!u1)return{url:o,searchParams:new URLSearchParams(c)};if(typeof decodeURIComponent!="function")throw new Error("Broken `URLSearchParams` implementation, and `decodeURIComponent` is not defined");const a=new URLSearchParams;for(const u of c.split("&")){const[l,f]=u.split("=");l&&a.append(dy(l),dy(f||""))}return{url:o,searchParams:a}})(t.url);for(const[s,i]of Object.entries(t.query)){if(i!==void 0)if(Array.isArray(i))for(const c of i)r.append(s,c);else r.append(s,i);const o=r.toString();o&&(t.url=`${n}?${o}`)}}return t.method=t.body&&!t.method?"POST":(t.method||"GET").toUpperCase(),t};function dy(e){return decodeURIComponent(e.replace(/\+/g," "))}function f1(e){if(e===!1||e===0)return!1;if(e.connect||e.socket)return e;const t=Number(e);return isNaN(t)?f1(l1.timeout):{connect:t,socket:t}}const SP=/^https?:\/\//i,EP=function(e){if(!SP.test(e.url))throw new Error(`"${e.url}" is not a valid URL`)};
51function d1(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}const TP=["request","response","progress","error","abort"],hy=["processOptions","validateOptions","interceptRequest","finalizeOptions","onRequest","onResponse","onError","onReturn","onHeaders"];function h1(e,t){const n=[],r=hy.reduce((i,o)=>(i[o]=i[o]||[],i),{processOptions:[wP],validateOptions:[EP]});function s(i){const o=TP.reduce((p,d)=>(p[d]=(function(){const g=Object.create(null);let v=0;return{publish:function(_){for(const y in g)g[y](_)},subscribe:function(_){const y=v++;return g[y]=_,function(){delete g[y]}}}})(),p),{}),c=(p=>function(d,g,...v){const _=d==="onError";let y=g;for(let m=0;m<p[d].length&&(y=(0,p[d][m])(y,...v),!_||y);m++);return y})(r),a=c("processOptions",i);c("validateOptions",a);const u={options:a,channels:o,applyMiddleware:c};let l;const f=o.request.subscribe(p=>{l=t(p,(d,g)=>((v,_,y)=>{let m=v,b=_;if(!m)try{b=c("onResponse",_,y)}catch(E){b=null,m=E}m=m&&c("onError",m,y),m?o.error.publish(m):b&&o.response.publish(b)})(d,g,p))});o.abort.subscribe(()=>{f(),l&&l.abort()});const h=c("onReturn",o,u);return h===o&&o.request.publish(u),h}return s.use=function(i){if(!i)throw new Error("Tried to add middleware that resolved to falsey value");if(typeof i=="function")throw new Error("Tried to add middleware that was a function. It probably expects you to pass options to it.");if(i.onReturn&&r.onReturn.length>0)throw new Error("Tried to add new middleware with `onReturn` handler, but another handler has already been registered for this event");return hy.forEach(o=>{i[o]&&r[o].push(i[o])}),n.push(i),s},s.clone=()=>h1(n,t),e.forEach(s.use),s}var py,gy,CP=d1((function(){if(gy)return py;gy=1;var e=function(n){return n.replace(/^\s+|\s+$/g,"")},t=function(n){return Object.prototype.toString.call(n)==="[object Array]"};return py=function(n){if(!n)return{};for(var r=Object.create(null),s=e(n).split(` 52`),i=0;i<s.length;i++){var o=s[i],c=o.indexOf(":"),a=e(o.slice(0,c)).toLowerCase(),u=e(o.slice(c+1));typeof r[a]>"u"?r[a]=u:t(r[a])?r[a].push(u):r[a]=[r[a],u]}return r}})()),Sa,Ea,ki,Ta,fr,Ca,Aa,G_;let lh=(G_=class{constructor(){le(this,"onabort");le(this,"onerror");le(this,"onreadystatechange");le(this,"ontimeout");le(this,"readyState",0);le(this,"response");le(this,"responseText","");le(this,"responseType","");le(this,"status");le(this,"statusText");le(this,"withCredentials");ve(this,Sa);ve(this,Ea);ve(this,ki);ve(this,Ta,{});ve(this,fr);ve(this,Ca,{});ve(this,Aa)}open(t,n,r){var s;be(this,Sa,t),be(this,Ea,n),be(this,ki,""),this.readyState=1,(s=this.onreadystatechange)==null||s.call(this),be(this,fr,void 0)}abort(){M(this,fr)&&M(this,fr).abort()}getAllResponseHeaders(){return M(this,ki)}setRequestHeader(t,n){M(this,Ta)[t]=n}setInit(t,n=!0){be(this,Ca,t),be(this,Aa,n)}send(t){const n=this.responseType!=="arraybuffer",r={...M(this,Ca),method:M(this,Sa),headers:M(this,Ta),body:t};typeof AbortController=="function"&&M(this,Aa)&&(be(this,fr,new AbortController),typeof EventTarget<"u"&&M(this,fr).signal instanceof EventTarget&&(r.signal=M(this,fr).signal)),typeof document<"u"&&(r.credentials=this.withCredentials?"include":"omit"),fetch(M(this,Ea),r).then(s=>{var i;return s.headers.forEach((o,c)=>{be(this,ki,M(this,ki)+`${c}: ${o}\r 53`)}),this.status=s.status,this.statusText=s.statusText,this.readyState=3,(i=this.onreadystatechange)==null||i.call(this),n?s.text():s.arrayBuffer()}).then(s=>{var i;typeof s=="string"?this.responseText=s:this.response=s,this.readyState=4,(i=this.onreadystatechange)==null||i.call(this)}).catch(s=>{var i,o;s.name!=="AbortError"?(i=this.onerror)==null||i.call(this,s):(o=this.onabort)==null||o.call(this)})}},Sa=new WeakMap,Ea=new WeakMap,ki=new WeakMap,Ta=new WeakMap,fr=new WeakMap,Ca=new WeakMap,Aa=new WeakMap,G_);const fh=typeof XMLHttpRequest=="function"?"xhr":"fetch",AP=fh==="xhr"?XMLHttpRequest:lh,kP=(e,t)=>{const n=e.options,r=e.applyMiddleware("finalizeOptions",n),s={},i=e.applyMiddleware("interceptRequest",void 0,{adapter:fh,context:e});if(i){const g=setTimeout(t,0,null,i);return{abort:()=>clearTimeout(g)}}let o=new AP;o instanceof lh&&typeof r.fetch=="object"&&o.setInit(r.fetch,r.useAbortSignal??!0);const c=r.headers,a=r.timeout;let u=!1,l=!1,f=!1;if(o.onerror=g=>{d(o instanceof lh?g instanceof Error?g:new Error(`Request error while attempting to reach is ${r.url}`,{cause:g}):new Error(`Request error while attempting to reach is ${r.url}${g.lengthComputable?`(${g.loaded} of ${g.total} bytes transferred)`:""}`))},o.ontimeout=g=>{d(new Error(`Request timeout while attempting to reach ${r.url}${g.lengthComputable?`(${g.loaded} of ${g.total} bytes transferred)`:""}`))},o.onabort=()=>{p(!0),u=!0},o.onreadystatechange=function(){a&&(p(),s.socket=setTimeout(()=>h("ESOCKETTIMEDOUT"),a.socket)),!u&&o&&o.readyState===4&&o.status!==0&&(function(){if(!(u||l||f)){if(o.status===0)return void d(new Error("Unknown XHR error"));p(),l=!0,t(null,{body:o.response||(o.responseType===""||o.responseType==="text"?o.responseText:""),url:r.url,method:r.method,headers:CP(o.getAllResponseHeaders()),statusCode:o.status,statusMessage:o.statusText})}})()},o.open(r.method,r.url,!0),o.withCredentials=!!r.withCredentials,c&&o.setRequestHeader)for(const g in c)c.hasOwnProperty(g)&&o.setRequestHeader(g,c[g]);return r.rawBody&&(o.responseType="arraybuffer"),e.applyMiddleware("onRequest",{options:r,adapter:fh,request:o,context:e}),o.send(r.body||null),a&&(s.connect=setTimeout(()=>h("ETIMEDOUT"),a.connect)),{abort:function(){u=!0,o&&o.abort()}};function h(g){f=!0,o.abort();const v=new Error(g==="ESOCKETTIMEDOUT"?`Socket timed out on request to ${r.url}`:`Connection timed out on request to ${r.url}`);v.code=g,e.channels.error.publish(v)}function p(g){(g||u||o&&o.readyState>=2&&s.connect)&&clearTimeout(s.connect),s.socket&&clearTimeout(s.socket)}function d(g){if(l)return;p(!0),l=!0,o=null;const v=g||new Error(`Network error while attempting to reach ${r.url}`);v.isNetworkError=!0,v.request=r,t(v)}},IP=(e=[],t=kP)=>h1(e,t);var $P={},my,yy,_y,vy,by,Kf={exports:{}};by||(by=1,(function(e,t){t.formatArgs=function(r){if(r[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+r[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const s="color: "+this.color;r.splice(1,0,s,"color: inherit");let i=0,o=0;r[0].replace(/%[a-zA-Z%]/g,c=>
53{c!=="%%"&&(i++,c==="%c"&&(o=i))}),r.splice(o,0,s)},t.save=function(r){try{r?t.storage.setItem("debug",r):t.storage.removeItem("debug")}catch{}},t.load=function(){let r;try{r=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch{}return!r&&typeof process<"u"&&"env"in process&&(r=$P.DEBUG),r},t.useColors=function(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let r;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(r=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(r[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=(function(){try{return localStorage}catch{}})(),t.destroy=(()=>{let r=!1;return()=>{r||(r=!0)}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=(vy?_y:(vy=1,_y=function(r){function s(c){let a,u,l,f=null;function h(...p){if(!h.enabled)return;const d=h,g=Number(new Date),v=g-(a||g);d.diff=v,d.prev=a,d.curr=g,a=g,p[0]=s.coerce(p[0]),typeof p[0]!="string"&&p.unshift("%O");let _=0;p[0]=p[0].replace(/%([a-zA-Z%])/g,(y,m)=>{if(y==="%%")return"%";_++;const b=s.formatters[m];if(typeof b=="function"){const E=p[_];y=b.call(d,E),p.splice(_,1),_--}return y}),s.formatArgs.call(d,p),(d.log||s.log).apply(d,p)}return h.namespace=c,h.useColors=s.useColors(),h.color=s.selectColor(c),h.extend=i,h.destroy=s.destroy,Object.defineProperty(h,"enabled",{enumerable:!0,configurable:!1,get:()=>f!==null?f:(u!==s.namespaces&&(u=s.namespaces,l=s.enabled(c)),l),set:p=>{f=p}}),typeof s.init=="function"&&s.init(h),h}function i(c,a){const u=s(this.namespace+(typeof a>"u"?":":a)+c);return u.log=this.log,u}function o(c,a){let u=0,l=0,f=-1,h=0;for(;u<c.length;)if(l<a.length&&(a[l]===c[u]||a[l]==="*"))a[l]==="*"?(f=l,h=u,l++):(u++,l++);else{if(f===-1)return!1;l=f+1,h++,u=h}for(;l<a.length&&a[l]==="*";)l++;return l===a.length}return s.debug=s,s.default=s,s.coerce=function(c){return c instanceof Error?c.stack||c.message:c},s.disable=function(){const c=[...s.names,...s.skips.map(a=>"-"+a)].join(",");return s.enable(""),c},s.enable=function(c){s.save(c),s.namespaces=c,s.names=[],s.skips=[];const a=(typeof c=="string"?c:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const u of a)u[0]==="-"?s.skips.push(u.slice(1)):s.names.push(u)},s.enabled=function(c){for(const a of s.skips)if(o(c,a))return!1;for(const a of s.names)if(o(c,a))return!0;return!1},s.humanize=(function(){if(yy)return my;yy=1;var c=1e3,a=60*c,u=60*a,l=24*u,f=7*l;function h(p,d,g,v){var _=d>=1.5*g;return Math.round(p/g)+" "+v+(_?"s":"")}return my=function(p,d){d=d||{};var g,v,_=typeof p;if(_==="string"&&p.length>0)return(function(y){if(!((y=String(y)).length>100)){var m=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(y);if(m){var b=parseFloat(m[1]);switch((m[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*b;case"weeks":case"week":case"w":return b*f;case"days":case"day":case"d":return b*l;case"hours":case"hour":case"hrs":case"hr":case"h":return b*u;case"minutes":case"minute":case"mins":case"min":case"m":return b*a;case"seconds":case"second":case"secs":case"sec":case"s":return b*c;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return b;default:return}}}})(p);if(_==="number"&&isFinite(p))return d.long?(g=p,(v=Math.abs(g))>=l?h(g,v,l,"day"):v>=u?h(g,v,u,"hour"):v>=a?h(g,v,a,"minute"):v>=c?h(g,v,c,"second"):g+" ms"):(function(y){var m=Math.abs(y);return m>=l?Math.round(y/l)+"d":m>=u?Math.round(y/u)+"h":m>=a?Math.round(y/a)+"m":m>=c?Math.round(y/c)+"s":y+"ms"})(p);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(p))}})(),s.destroy=function(){},Object.keys(r).forEach(c=>{s[c]=r[c]}),s.names=[],s.skips=[],s.formatters={},s.selectColor=function(c){let a=0;for(let u=0;u<c.length;u++)a=(a<<5)-a+c.charCodeAt(u),a|=0;return s.colors[Math.abs(a)%s.colors.length]},s.enable(s.load()),s}))(t);const{formatters:n}=e.exports;n.j=function(r){try{return JSON.stringify(r)}catch(s){return"[UnexpectedJSONParseError]: "+s.message}}})(Kf,Kf.exports)),Kf.exports;const RP=typeof Buffer>"u"?()=>!1:e=>Buffer.isBuffer(e);function wy(e){return Object.prototype.toString.call(e)==="[object Object]"}function PP(e){if(wy(e)===!1)return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(wy(n)===!1||n.hasOwnProperty("isPrototypeOf")===!1)}const OP=["boolean","string","number"];function xP(){return{processOptions:e=>{const t=e.body;return!t||typeof t.pipe=="function"||RP(t)||OP.indexOf(typeof t)===-1&&!Array.isArray(t)&&!PP(t)?e:Object.assign({},e,{body:JSON.stringify(e.body),headers:Object.assign({},e.headers,{"Content-Type":"application/json"})})}}}function LP(e){return{onResponse:n=>{const r=n.headers["content-type"]||"",s=e&&e.force||r.indexOf("application/json")!==-1;return n.body&&r&&s?Object.assign({},n,{body:t(n.body)}):n},processOptions:n=>Object.assign({},n,{headers:Object.assign({Accept:"application/json"},n.headers)})};function t(n){try{return JSON.parse(n)}catch(r){throw r.message=`Failed to parsed response body as JSON: ${r.message}`,r}}}let ko={};typeof globalThis<"u"?ko=globalThis:typeof window<"u"?ko=window:typeof global<"u"?ko=global:typeof self<"u"&&(ko=self);var MP=ko;function NP(e={}){const t=e.implementation||MP.Observable;if(!t)throw new Error("`Observable` is not available in global scope, and n
53o implementation was passed");return{onReturn:(n,r)=>new t(s=>(n.error.subscribe(i=>s.error(i)),n.progress.subscribe(i=>s.next(Object.assign({type:"progress"},i))),n.response.subscribe(i=>{s.next(Object.assign({type:"response"},i)),s.complete()}),n.request.publish(r),()=>n.abort.publish()))}}function DP(){return{onRequest:e=>{if(e.adapter!=="xhr")return;const t=e.request,n=e.context;function r(s){return i=>{const o=i.lengthComputable?i.loaded/i.total*100:-1;n.channels.progress.publish({stage:s,percent:o,total:i.total,loaded:i.loaded,lengthComputable:i.lengthComputable})}}"upload"in t&&"onprogress"in t.upload&&(t.upload.onprogress=r("upload")),"onprogress"in t&&(t.onprogress=r("download"))}}}var p1=(e,t,n)=>(n.method==="GET"||n.method==="HEAD")&&(e.isNetworkError||!1);function jP(e){return 100*Math.pow(2,e)+100*Math.random()}const _p=(e={})=>(t=>{const n=t.maxRetries||5,r=t.retryDelay||jP,s=t.shouldRetry;return{onError:(i,o)=>{const c=o.options,a=c.maxRetries||n,u=c.retryDelay||r,l=c.shouldRetry||s,f=c.attemptNumber||0;if((h=c.body)!==null&&typeof h=="object"&&typeof h.pipe=="function"||!l(i,f,c)||f>=a)return i;var h;const p=Object.assign({},o,{options:Object.assign({},c,{attemptNumber:f+1})});return setTimeout(()=>o.channels.request.publish(p),u(f)),null}}})({shouldRetry:p1,...e});_p.shouldRetry=p1;var dh=function(e,t){return dh=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&
vendor: 4,805 bytes, lines 53-55
53(n[s]=r[s])},dh(e,t)};function Hr(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");dh(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}function FP(e,t,n,r){function s(i){return i instanceof n?i:new n(function(o){o(i)})}return new(n||(n=Promise))(function(i,o){function c(l){try{u(r.next(l))}catch(f){o(f)}}function a(l){try{u(r.throw(l))}catch(f){o(f)}}function u(l){l.done?i(l.value):s(l.value).then(c,a)}u((r=r.apply(e,t||[])).next())})}function g1(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,s,i,o=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return o.next=c(0),o.throw=c(1),o.return=c(2),typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(u){return function(l){return a([u,l])}}function a(u){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(n=0)),n;)try{if(r=1,s&&(i=u[0]&2?s.return:u[0]?s.throw||((i=s.return)&&i.call(s),0):s.next)&&!(i=i.call(s,u[1])).done)return i;switch(s=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,s=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){n.label=u[1];break}if(u[0]===6&&n.label<i[1]){n.label=i[1],i=u;break}if(i&&n.label<i[2]){n.label=i[2],n.ops.push(u);break}i[2]&&n.ops.pop(),n.trys.pop();continue}u=t.call(e,n)}catch(l){u=[6,l],s=0}finally{r=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function Wi(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Or(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),s,i=[],o;try{for(;(t===void 0||t-- >0)&&!(s=r.next()).done;)i.push(s.value)}catch(c){o={error:c}}finally{try{s&&!s.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return i}function xr(e,t,n){if(n||arguments.length===2)for(var r=0,s=t.length,i;r<s;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}function Ei(e){return this instanceof Ei?(this.v=e,this):new Ei(e)}function HP(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),s,i=[];return s=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),c("next"),c("throw"),c("return",o),s[Symbol.asyncIterator]=function(){return this},s;function o(p){return function(d){return Promise.resolve(d).then(p,f)}}function c(p,d){r[p]&&(s[p]=function(g){return new Promise(function(v,_){i.push([p,g,v,_])>1||a(p,g)})},d&&(s[p]=d(s[p])))}function a(p,d){try{u(r[p](d))}catch(g){h(i[0][3],g)}}function u(p){p.value instanceof Ei?Promise.resolve(p.value.v).then(l,f):h(i[0][2],p)}function l(p){a("next",p)}function f(p){a("throw",p)}function h(p,d){p(d),i.shift(),i.length&&a(i[0][0],i[0][1])}}function UP(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Wi=="function"?Wi(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(o){return new Promise(function(c,a){o=e[i](o),s(c,a,o.done,o.value)})}}function s(i,o,c,a){Promise.resolve(a).then(function(u){i({value:u,done:c})},o)}}function Ze(e){return typeof e=="function"}function vp(e){var t=function(r){Error.call(r),r.stack=new Error().stack},n=e(t);return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Gf=vp(function(e){return function(n){e(this),this.message=n?n.length+` errors occurred during unsubscription: 54`+n.map(function(r,s){return s+1+") "+r.toString()}).join(` 55 `):"",this.name="UnsubscriptionError",this.errors=n}});function Lu(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var rc=(function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,n,r,s,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var c=Wi(o),a=c.next();!a.done;a=c.next()){var u=a.value;u.remove(this)}}catch(g){t={error:g}}finally{try{a&&!a.done&&(n=c.return)&&n.call(c)}finally{if(t)throw t.error}}else o.remove(this);var l=this.initialTeardown;
vendor: 4,840 bytes, line 55
55if(Ze(l))try{l()}catch(g){i=g instanceof Gf?g.errors:[g]}var f=this._finalizers;if(f){this._finalizers=null;try{for(var h=Wi(f),p=h.next();!p.done;p=h.next()){var d=p.value;try{Sy(d)}catch(g){i=i??[],g instanceof Gf?i=xr(xr([],Or(i)),Or(g.errors)):i.push(g)}}}catch(g){r={error:g}}finally{try{p&&!p.done&&(s=h.return)&&s.call(h)}finally{if(r)throw r.error}}}if(i)throw new Gf(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)Sy(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}},e.prototype._hasParent=function(t){var n=this._parentage;return n===t||Array.isArray(n)&&n.includes(t)},e.prototype._addParent=function(t){var n=this._parentage;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t},e.prototype._removeParent=function(t){var n=this._parentage;n===t?this._parentage=null:Array.isArray(n)&&Lu(n,t)},e.prototype.remove=function(t){var n=this._finalizers;n&&Lu(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=(function(){var t=new e;return t.closed=!0,t})(),e})(),m1=rc.EMPTY;function y1(e){return e instanceof rc||e&&"closed"in e&&Ze(e.remove)&&Ze(e.add)&&Ze(e.unsubscribe)}function Sy(e){Ze(e)?e():e.unsubscribe()}var VP={Promise:void 0},BP={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return setTimeout.apply(void 0,xr([e,t],Or(n)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function _1(e){BP.setTimeout(function(){throw e})}function Ey(){}function tu(e){e()}var bp=(function(e){Hr(t,e);function t(n){var r=e.call(this)||this;return r.isStopped=!1,n?(r.destination=n,y1(n)&&n.add(r)):r.destination=zP,r}return t.create=function(n,r,s){return new zi(n,r,s)},t.prototype.next=function(n){this.isStopped||this._next(n)},t.prototype.error=function(n){this.isStopped||(this.isStopped=!0,this._error(n))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(n){this.destination.next(n)},t.prototype._error=function(n){try{this.destination.error(n)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t})(rc),qP=(function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var n=this.partialObserver;if(n.next)try{n.next(t)}catch(r){Vc(r)}},e.prototype.error=function(t){var n=this.partialObserver;if(n.error)try{n.error(t)}catch(r){Vc(r)}else Vc(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(n){Vc(n)}},e})(),zi=(function(e){Hr(t,e);function t(n,r,s){var i=e.call(this)||this,o;return Ze(n)||!n?o={next:n??void 0,error:r??void 0,complete:s??void 0}:o=n,i.destination=new qP(o),i}return t})(bp);function Vc(e){_1(e)}function WP(e){throw e}var zP={closed:!0,next:Ey,error:WP,complete:Ey},wp=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})();function Nl(e){return e}function KP(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return v1(e)}function v1(e){return e.length===0?Nl:e.length===1?e[0]:function(n){return e.reduce(function(r,s){return s(r)},n)}}var at=(function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(t,n,r){var s=this,i=YP(t)?t:new zi(t,n,r);return tu(function(){var o=s,c=o.operator,a=o.source;i.add(c?c.call(i,a):a?s._subscribe(i):s._trySubscribe(i))}),i},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(n){t.error(n)}},e.prototype.forEach=function(t,n){var r=this;return n=Ty(n),new n(function(s,i){var o=new zi({next:function(c){try{t(c)}catch(a){i(a),o.unsubscribe()}},error:i,complete:s});r.subscribe(o)})},e.prototype._subscribe=function(t){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(t)},e.prototype[wp]=function(){return this},e.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return v1(t)(this)},e.prototype.toPromise=function(t){var n=this;return t=Ty(t),new t(function(r,s){var i;n.subscribe(function(o){return i=o},function(o){return s(o)},function(){return r(i)})})},e.create=function(t){return new e(t)},e})();function Ty(e){var t;return(t=e??VP.Promise)!==null&&t!==void 0?t:Promise}function GP(e){return e&&Ze(e.next)&&Ze(e.error)&&Ze(e.complete)}function YP(e){return e&&e instanceof bp||GP(e)&&y1(e)}function JP(e){return Ze(e==null?void 0:e.lift)}function nr(e){return function(t){if(JP(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}
55function us(e,t,n,r,s){return new XP(e,t,n,r,s)}var XP=(function(e){Hr(t,e);function t(n,r,s,i,o,c){var a=e.call(this,n)||this;return a.onFinalize=o,a.shouldUnsubscribe=c,a._next=r?function(u){try{r(u)}catch(l){n.error(l)}}:e.prototype._next,a._error=i?function(u){try{i(u)}catch(l){n.error(l)}finally{this.unsubscribe()}}:e.prototype._error,a._complete=s?function(){try{s()}catch(u){n.error(u)}finally{this.unsubscribe()}}:e.prototype._complete,a}return t.prototype.unsubscribe=function(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;e.prototype.unsubscribe.call(this),!r&&((n=this.onFinalize)===null||n===void 0||n.call(this))}},t})(bp),QP=vp(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Sp=(function(e){Hr(t,e);function t(){var n=e.call(this)||this;return n.closed=!1,n.currentObservers=null,n.observers=[],n.isStopped=!1,n.hasError=!1,n.thrownError=null,n}return t.prototype.lift=function(n){var r=new Cy(this,this);return r.operator=n,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new QP},t.prototype.next=function(n){var r=this;tu(function(){var s,i;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var o=Wi(r.currentObservers),c=o.next();!c.done;c=o.next()){var a=c.value;a.next(n)}}catch(u){s={error:u}}finally{try{c&&!c.done&&(i=o.return)&&i.call(o)}finally{if(s)throw s.error}}}})},t.prototype.error=function(n){var r=this;tu(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=n;for(var s=r.observers;s.length;)s.shift().error(n)}})},t.prototype.complete=function(){var n=this;tu(function(){if(n._throwIfClosed(),!n.isStopped){n.isStopped=!0;for(var r=n.observers;r.length;)r.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(n){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,n)},t.prototype._subscribe=function(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)},t.prototype._innerSubscribe=function(n){var r=this,s=this,i=s.hasError,o=s.isStopped,c=s.observers;return i||o?m1:(this.currentObservers=null,c.push(n),new rc(function(){r.currentObservers=null,Lu(c,n)}))},t.prototype._checkFinalizedStatuses=function(n){var r=this,s=r.hasError,i=r.thrownError,o=r.isStopped;s?n.error(i):o&&n.complete()},t.prototype.asObservable=function(){var n=new at;return n.source=this,n},t.create=function(n,r){return new Cy(n,r)},t})(at),Cy=(function(e){Hr(t,e);function t(n,r){var s=e.call(this)||this;return s.destination=n,s.source=r,s}return t.prototype.next=function(n){var r,s;(s=(r=this.destination)===null||r===void 0?void 0:r.next)===null||s===void 0||s.call(r,n)},t.prototype.error=function(n){var r,s;(s=(r=this.destination)===null||r===void 0?void 0:r.error)===null||s===void 0||s.call(r,n)},t.prototype.complete=function(){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||r===void 0||r.call(n)},t.prototype._subscribe=function(n){var r,s;return(s=(r=this.source)===null||r===void 0?void 0:r.subscribe(n))!==null&&s!==void 0?s:m1},t})(Sp),Ep={now:function(){return(Ep.delegate||Date).now()},delegate:void 0},ZP=(function(e){Hr(t,e);function t(n,r,s){n===void 0&&(n=1/0),r===void 0&&(r=1/0),s===void 0&&(s=Ep);var i=e.call(this)||this;return i._bufferSize=n,i._windowTime=r,i._timestampProvider=s,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=r===1/0,i._bufferSize=Math.max(1,n),i._windowTime=Math.max(1,r),i}return t.prototype.next=function(n){var r=this,s=r.isStopped,i=r._buffer,o=r._infiniteTimeWindow,c=r._timestampProvider,a=r._windowTime;s||(i.push(n),!o&&i.push(c.now()+a)),this._trimBuffer(),e.prototype.next.call(this,n)},t.prototype._subscribe=function(n){this._throwIfClosed(),this._trimBuffer();for(var r=this._innerSubscribe(n),s=this,i=s._infiniteTimeWindow,o=s._buffer,c=o.slice(),a=0;a<c.length&&!n.closed;a+=i?1:2)n.next(c[a]);return this._checkFinalizedStatuses(n),r},t.prototype._trimBuffer=function(){var n=this,r=n._bufferSize,s=n._timestampProvider,i=n._buffer,o=n._infiniteTimeWindow,c=(o?1:2)*r;if(r<1/0&&c<i.length&&i.splice(0,i.length-c),!o){for(var a=s.now(),u=0,l=1;l<i.length&&i[l]<=a;l+=2)u=l;u&&i.splice(0,u+1)}},t})(Sp),eO=(function(e){Hr(t,e);function t(n,r){return e.call(this)||this}return t.prototype.schedule=function(n,r){return this},t})(rc),Ay={setInterval:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return setInterval.apply(void 0,xr([e,t],Or(n)))},clearInterval:function(e){return clearInterval(e)},delegate:void 0},tO=(function(e){Hr(t,e);function t(n,r){var s=e.call(this,n,r)||this;
vendor: 1,494 bytes, line 55
55return s.scheduler=n,s.work=r,s.pending=!1,s}return t.prototype.schedule=function(n,r){var s;if(r===void 0&&(r=0),this.closed)return this;this.state=n;var i=this.id,o=this.scheduler;return i!=null&&(this.id=this.recycleAsyncId(o,i,r)),this.pending=!0,this.delay=r,this.id=(s=this.id)!==null&&s!==void 0?s:this.requestAsyncId(o,this.id,r),this},t.prototype.requestAsyncId=function(n,r,s){return s===void 0&&(s=0),Ay.setInterval(n.flush.bind(n,this),s)},t.prototype.recycleAsyncId=function(n,r,s){if(s===void 0&&(s=0),s!=null&&this.delay===s&&this.pending===!1)return r;r!=null&&Ay.clearInterval(r)},t.prototype.execute=function(n,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var s=this._execute(n,r);if(s)return s;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(n,r){var s=!1,i;try{this.work(n)}catch(o){s=!0,i=o||new Error("Scheduled action threw falsy error")}if(s)return this.unsubscribe(),i},t.prototype.unsubscribe=function(){if(!this.closed){var n=this,r=n.id,s=n.scheduler,i=s.actions;this.work=this.state=this.scheduler=null,this.pending=!1,Lu(i,this),r!=null&&(this.id=this.recycleAsyncId(s,r,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t})(eO),ky=(function(){function e(t,n){n===void 0&&(n=e.now),this.schedulerActionCtor=t,this.now=n}return e.prototype.schedule=function(t,n,r){return n===void 0&&(n=0),new this.schedulerActionCtor(this,t).schedule(r,n)}
vendor: 6,261 bytes, line 55
55,e.now=Ep.now,e})(),nO=(function(e){Hr(t,e);function t(n,r){r===void 0&&(r=ky.now);var s=e.call(this,n,r)||this;return s.actions=[],s._active=!1,s}return t.prototype.flush=function(n){var r=this.actions;if(this._active){r.push(n);return}var s;this._active=!0;do if(s=n.execute(n.state,n.delay))break;while(n=r.shift());if(this._active=!1,s){for(;n=r.shift();)n.unsubscribe();throw s}},t})(ky),rO=new nO(tO),sO=rO,iO=new at(function(e){return e.complete()});function oO(e){return e&&Ze(e.schedule)}function Tp(e){return e[e.length-1]}function aO(e){return Ze(Tp(e))?e.pop():void 0}function Cp(e){return oO(Tp(e))?e.pop():void 0}function cO(e,t){return typeof Tp(e)=="number"?e.pop():t}var b1=(function(e){return e&&typeof e.length=="number"&&typeof e!="function"});function w1(e){return Ze(e==null?void 0:e.then)}function S1(e){return Ze(e[wp])}function E1(e){return Symbol.asyncIterator&&Ze(e==null?void 0:e[Symbol.asyncIterator])}function T1(e){return new TypeError("You provided "+(e!==null&&typeof e=="object"?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function uO(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var C1=uO();function A1(e){return Ze(e==null?void 0:e[C1])}function k1(e){return HP(this,arguments,function(){var n,r,s,i;return g1(this,function(o){switch(o.label){case 0:n=e.getReader(),o.label=1;case 1:o.trys.push([1,,9,10]),o.label=2;case 2:return[4,Ei(n.read())];case 3:return r=o.sent(),s=r.value,i=r.done,i?[4,Ei(void 0)]:[3,5];case 4:return[2,o.sent()];case 5:return[4,Ei(s)];case 6:return[4,o.sent()];case 7:return o.sent(),[3,2];case 8:return[3,10];case 9:return n.releaseLock(),[7];case 10:return[2]}})})}function I1(e){return Ze(e==null?void 0:e.getReader)}function rr(e){if(e instanceof at)return e;if(e!=null){if(S1(e))return lO(e);if(b1(e))return fO(e);if(w1(e))return dO(e);if(E1(e))return $1(e);if(A1(e))return hO(e);if(I1(e))return pO(e)}throw T1(e)}function lO(e){return new at(function(t){var n=e[wp]();if(Ze(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function fO(e){return new at(function(t){for(var n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function dO(e){return new at(function(t){e.then(function(n){t.closed||(t.next(n),t.complete())},function(n){return t.error(n)}).then(null,_1)})}function hO(e){return new at(function(t){var n,r;try{for(var s=Wi(e),i=s.next();!i.done;i=s.next()){var o=i.value;if(t.next(o),t.closed)return}}catch(c){n={error:c}}finally{try{i&&!i.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}t.complete()})}function $1(e){return new at(function(t){gO(e,t).catch(function(n){return t.error(n)})})}function pO(e){return $1(k1(e))}function gO(e,t){var n,r,s,i;return FP(this,void 0,void 0,function(){var o,c;return g1(this,function(a){switch(a.label){case 0:a.trys.push([0,5,6,11]),n=UP(e),a.label=1;case 1:return[4,n.next()];case 2:if(r=a.sent(),!!r.done)return[3,4];if(o=r.value,t.next(o),t.closed)return[2];a.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return c=a.sent(),s={error:c},[3,11];case 6:return a.trys.push([6,,9,10]),r&&!r.done&&(i=n.return)?[4,i.call(n)]:[3,8];case 7:a.sent(),a.label=8;case 8:return[3,10];case 9:if(s)throw s.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})})}function Ns(e,t,n,r,s){r===void 0&&(r=0),s===void 0&&(s=!1);var i=t.schedule(function(){n(),s?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!s)return i}function R1(e,t){return t===void 0&&(t=0),nr(function(n,r){n.subscribe(us(r,function(s){return Ns(r,e,function(){return r.next(s)},t)},function(){return Ns(r,e,function(){return r.complete()},t)},function(s){return Ns(r,e,function(){return r.error(s)},t)}))})}function P1(e,t){return t===void 0&&(t=0),nr(function(n,r){r.add(e.schedule(function(){return n.subscribe(r)},t))})}function mO(e,t){return rr(e).pipe(P1(t),R1(t))}function yO(e,t){return rr(e).pipe(P1(t),R1(t))}function _O(e,t){return new at(function(n){var r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function vO(e,t){return new at(function(n){var r;return Ns(n,t,function(){r=e[C1](),Ns(n,t,function(){var s,i,o;try{s=r.next(),i=s.value,o=s.done}catch(c){n.error(c);return}o?n.complete():n.next(i)},0,!0)}),function(){return Ze(r==null?void 0:r.return)&&r.return()}})}function O1(e,t){if(!e)throw new Error("Iterable cannot be null");return new at(function(n){Ns(n,t,function(){var r=e[Symbol.asyncIterator]();Ns(n,t,function(){r.next().then(function(s){s.done?n.complete():n.next(s.value)})},0,!0)})})}function bO(e,t){return O1(k1(e),t)}function wO(e,t){if(e!=null){if(S1(e))return mO(e,t);if(b1(e))return _O(e,t);if(w1(e))return yO(e,t);if(E1(e))return O1(e,t);if(A1(e))return vO(e,t);if(I1(e))return bO(e,t)}throw T1(e)}function sc(e,t){return t?wO(e,t):rr(e)}function Ti(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Cp(e);return sc(e,n)}function x1(e,t){var n=Ze(e)?e:function(){return e},r=function(s){return s.error(n())};return new at(r)}function SO(e){return!!e&&(e instanceof at||Ze(e.lift)&&Ze(e.subscribe))}var L1=vp(function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}});function ke(e,t){return new Promise(function(n,r){var s=!1,i;e.subscribe({next:function(o){i=o,s=!0},error:r,complete:function(){s?n(i):r(new L1)}})})}function Yf(e,t){return new Promise(function(n,r){var s=new zi({next:function(i){n(i),s.unsubscribe()},error:r,complete:function(){r(new L1)}});e.subscribe(s)})}function EO(e){return e instanceof Date&&!isNaN(e)}function Rt(e,t){return nr(function(n,r){var s=0;n.subscribe(us(r,function(i){r.next(e.call(t,i,s++))}))})}var TO=Array.isArray;function CO(e,t){return TO(t)?e.apply(void 0,xr([],Or(t))):e(t)}function AO(e){return Rt(function(t){return CO(e,t)})}function kO(e,t,n){return n===void 0&&(n=Nl),function(r){Iy(t,function(){for(var s=e.length,i=new Array(s),o=s,c=s,a=function(l){Iy(t,function(){var f=sc(e[l],t),h=!1;f.subscribe(us(r,function(p){i[l]=p,h||(h=!0,c--),c||r.next(n(i.slice()))},function(){--o||r.complete()}
55))},r)},u=0;u<s;u++)a(u)})}}function Iy(e,t,n){t()}function IO(e,t,n,r,s,i,o,c){var a=[],u=0,l=0,f=!1,h=function(){f&&!a.length&&!u&&t.complete()},p=function(g){return u<r?d(g):a.push(g)},d=function(g){u++;var v=!1;rr(n(g,l++)).subscribe(us(t,function(_){t.next(_)},function(){v=!0},void 0,function(){if(v)try{u--;for(var _=function(){var y=a.shift();o||d(y)};a.length&&u<r;)_();h()}catch(y){t.error(y)}}))};return e.subscribe(us(t,p,function(){f=!0,h()})),function(){}}function Ds(e,t,n){return n===void 0&&(n=1/0),Ze(t)?Ds(function(r,s){return Rt(function(i,o){return t(r,i,s,o)})(rr(e(r,s)))},n):(typeof t=="number"&&(n=t),nr(function(r,s){return IO(r,s,e,n)}))}function M1(e){return e===void 0&&(e=1/0),Ds(Nl,e)}function $O(){return M1(1)}function RO(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return $O()(sc(e,Cp(e)))}function N1(e){return new at(function(t){rr(e()).subscribe(t)})}function PO(e,t,n){return n===void 0&&(n=sO),new at(function(r){var s=EO(e)?+e-n.now():e;s<0&&(s=0);var i=0;return n.schedule(function(){r.closed||(r.next(i++),r.complete())},s)})}function OO(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Cp(e),r=cO(e,1/0),s=e;return s.length?s.length===1?rr(s[0]):M1(r)(sc(s,n)):iO}var xO=Array.isArray;function LO(e){return e.length===1&&xO(e[0])?e[0]:e}function io(e,t){return nr(function(n,r){var s=0;n.subscribe(us(r,function(i){return e.call(t,i,s++)&&r.next(i)}))})}function Mu(e){return nr(function(t,n){var r=null,s=!1,i;r=t.subscribe(us(n,void 0,void 0,function(o){i=rr(e(o,Mu(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):s=!0})),s&&(r.unsubscribe(),r=null,i.subscribe(n))})}function D1(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=aO(e);return n?KP(D1.apply(void 0,xr([],Or(e))),AO(n)):nr(function(r,s){kO(xr([r],Or(LO(e))))(s)})}function MO(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return D1.apply(void 0,xr([],Or(e)))}function j1(e){return nr(function(t,n){try{t.subscribe(n)}finally{n.add(e)}})}function F1(e){e===void 0&&(e={});var t=e.connector,n=t===void 0?function(){return new Sp}:t,r=e.resetOnError,s=r===void 0?!0:r,i=e.resetOnComplete,o=i===void 0?!0:i,c=e.resetOnRefCountZero,a=c===void 0?!0:c;return function(u){var l,f,h,p=0,d=!1,g=!1,v=function(){f==null||f.unsubscribe(),f=void 0},_=function(){v(),l=h=void 0,d=g=!1},y=function(){var m=l;_(),m==null||m.unsubscribe()};return nr(function(m,b){p++,!g&&!d&&v();var E=h=h??n();b.add(function(){p--,p===0&&!g&&!d&&(f=Jf(y,a))}),E.subscribe(b),!l&&p>0&&(l=new zi({next:function($){return E.next($)},error:function($){g=!0,v(),f=Jf(_,s,$),E.error($)},complete:function(){d=!0,v(),f=Jf(_,o),E.complete()}}),rr(m).subscribe(l))})(u)}}function Jf(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];if(t===!0){e();return}if(t!==!1){var s=new zi({next:function(){s.unsubscribe(),e()}});return rr(t.apply(void 0,xr([],Or(n)))).subscribe(s)}}function NO(e,t,n){var r,s=!1;return r=e,F1({connector:function(){return new ZP(r,t,n)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:s})}function DO(e,t,n){var r=Ze(e)||t||n?{next:e,error:t,complete:n}:e;return r?nr(function(s,i){var o;(o=r.subscribe)===null||o===void 0||o.call(r);var c=!0;s.subscribe(us(i,function(a){var u;(u=r.next)===null||u===void 0||u.call(r,a),i.next(a)},function(){var a;c=!1,(a=r.complete)===null||a===void 0||a.call(r),i.complete()},function(a){var u;c=!1,(u=r.error)===null||u===void 0||u.call(r,a),i.error(a)},function(){var a,u;c&&((a=r.unsubscribe)===null||a===void 0||a.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):Nl}function H1(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}var U1={0:8203,1:8204,2:8205,3:8290,4:8291,5:8288,6:65279,7:8289,8:119155,9:119156,a:119157,b:119158,c:119159,d:119160,e:119161,f:119162},Io={0:8203,1:8204,2:8205,3:65279},$o={0:String.fromCodePoint(Io[0]),1:String.fromCodePoint(Io[1]),2:String.fromCodePoint(Io[2]),3:String.fromCodePoint(Io[3])},jO=new Array(4).fill(String.fromCodePoint(Io[0])).join("");function FO(e){let t=JSON.stringify(e),n=new TextEncoder().encode(t),r="";for(let s=0;s<n.length;s++){let i=n[s];r+=$o[i>>6&3]+$o[i>>4&3]+$o[i>>2&3]+$o[i&3]}return jO+r}function HO(e){return!Number.isNaN(Number(e))||/[a-z]/i.test(e)&&!/\d+(?:[-:\/]\d+){2}(?:T\d+(?:[-:\/]\d+){1,2}(\.\d+)?Z?)?/.test(e)?!1:!!Date.parse(e)}function UO(e){try{new URL(e,e.startsWith("/")?"https://acme.com":void 0)}catch{return!1}return!0}function cB(e,t,n="auto"){return n===!0||n==="auto"&&(HO(e)||UO(e))?e:`${e}${FO(t)}`}Object.fromEntries(Object.entries($o).map(e=>[e[1],+e[0]]));Object.fromEntries(Object.entries(U1).map(e=>e.reverse()));var VO=`${Object.values(U1).map(e=>`\\u{${e.toString(16)}}`).join("")}`,$y=new RegExp(`[${VO}]{4,}`,"gu");function BO(e){var t;return{cleaned:e.replace($y,""),encoded:((t=e.match($y))==null?void 0:t[0])||""}}function qO(e){return e&&JSON.parse(BO(JSON.stringify(e)).cleaned)}function WO(e){return qO(e)}const zO=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ap=/_key\s*==\s*['"](.*)['"]/,KO=/^\d*:\d*$/;function kp(e){return typeof e=="number"||typeof e=="string"&&/^\[\d+\]$/.test(e)}function Dl(e){return typeof e=="string"?Ap.test(e.trim()):typeof e=="object"&&"_key"in e}function V1(e){if(typeof e=="string"&&KO.test(e))return!0;
55if(!Array.isArray(e)||e.length!==2)return!1;const[t,n]=e;return(typeof t=="number"||t==="")&&(typeof n=="number"||n==="")}function GO(e,t,n){const r=typeof t=="string"?Ip(t):t;if(!Array.isArray(r))throw new Error("Path must be an array or a string");let s=e;for(let i=0;i<r.length;i++){const o=r[i];if(kp(o)){if(!Array.isArray(s))return n;s=s[o]}if(Dl(o)){if(!Array.isArray(s))return n;s=s.find(c=>c._key===o._key)}if(typeof o=="string"&&(s=typeof s=="object"&&s!==null?s[o]:void 0),typeof s>"u")return n}return s}function YO(e){if(!Array.isArray(e))throw new Error("Path is not an array");return e.reduce((t,n,r)=>{const s=typeof n;if(s==="number")return`${t}[${n}]`;if(s==="string")return`${t}${r===0?"":"."}${n}`;if(Dl(n)&&n._key)return`${t}[_key=="${n._key}"]`;if(Array.isArray(n)){const[i,o]=n;return`${t}[${i}:${o}]`}throw new Error(`Unsupported path segment \`${JSON.stringify(n)}\``)},"")}function Ip(e){if(typeof e!="string")throw new Error("Path is not a string");const t=e.match(zO);if(!t)throw new Error("Invalid path string");return t.map(JO)}function JO(e){return kp(e)?XO(e):Dl(e)?QO(e):V1(e)?ZO(e):e}function XO(e){return Number(e.replace(/[^\d]/g,""))}function QO(e){return{_key:e.match(Ap)[1]}}function ZO(e){const[t,n]=e.split(":").map(r=>r===""?r:Number(r));return[t,n]}var $p=Object.freeze({__proto__:null,fromString:Ip,get:GO,isIndexSegment:kp,isIndexTuple:V1,isKeySegment:Dl,reKeySegment:Ap,toString:YO});const ex="drafts",tx="versions",Ki=".",Nu=`${ex}${Ki}`,B1=`${tx}${Ki}`;function jl(e){return e.startsWith(Nu)}function Fl(e){return e.startsWith(B1)}function q1(e){if(Fl(e)){const t=oc(e);return Nu+t}return jl(e)?e:Nu+e}function ic(e,t){if(t==="drafts"||t==="published")throw new Error('Version can not be "published" or "drafts"');return`${B1}${t}${Ki}${oc(e)}`}function W1(e){if(!Fl(e))return;const[t,n]=e.split(Ki);return n}function oc(e){return Fl(e)?e.split(Ki).slice(2).join(Ki):jl(e)?e.slice(Nu.length):e}const Du={"\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","'":"\\'","\\":"\\\\"},Ry={"\\f":"\f","\\n":` 56`,"\\r":"\r","\\t":" ","\\'":"'","\\\\":"\\"};function nx(e){return`$${e.map(t=>typeof t=="string"?`['${t.replace(/[\f\n\r\t'\\]/g,n=>Du[n])}']`:typeof t=="number"?`[${t}]`:t._key!==""?`[?(@._key=='${t._key.replace(/['\\]/g,n=>Du[n])}')]`:`[${t._index}]`).join("")}`}function rx(e){return e.map(t=>typeof t=="string"?`['${t.replace(/[\f\n\r\t'\\]/g,n=>Du[n])}']`:typeof t=="number"?`[${t}]`:t._key!==""?`[?(@._key=='${t._key.replace(/['\\]/g,n=>Du[n])}')]`:`[${t._index}]`)}function sx(e){const t=[],n=/\['(.*?)'\]|\[(\d+)\]|\[\?\(@\._key=='(.*?)'\)\]/g;let r;for(;(r=n.exec(e))!==null;){if(r[1]!==void 0){const s=r[1].replace(/\\(\\|f|n|r|t|')/g,i=>Ry[i]);t.push(s);continue}if(r[2]!==void 0){t.push(parseInt(r[2],10));continue}if(r[3]!==void 0){const s=r[3].replace(/\\(\\')/g,i=>Ry[i]);t.push({_key:s,_index:-1});continue}}return t}function ix(e){return e.map(t=>{if(typeof t=="string"||typeof t=="number")return t;if(t._key!=="")return{_key:t._key};if(t._index!==-1)return t._index;throw new Error(`invalid segment:${JSON.stringify(t)}`)})}function ox(e){return(typeof e=="string"?Ip(e):e).map(t=>{if(typeof t=="string"||typeof t=="number")return t;if(Array.isArray(t))throw new Error(`IndexTuple segments aren't supported:${JSON.stringify(t)}`);if(ax(t))return t;if(t._key)return{_key:t._key,_index:-1};throw new Error(`invalid segment:${JSON.stringify(t)}`)})}function ax(e){return typeof e=="object"&&"_key"in e&&"_index"in e}function Py(e){return e.map(t=>{if(typeof t=="string"||typeof t=="number")return t;if(t._index!==-1)return t._index;throw new Error(`invalid segment:${JSON.stringify(t)}`)})}function cx(e,t){if(!(t!=null&&t.mappings))return;const n=nx(Py(e));if(t.mappings[n]!==void 0)return{mapping:t.mappings[n],matchedPath:n,pathSuffix:""};const r=rx(Py(e));for(let s=r.length-1;s>=0;s--){const i=`$${r.slice(0,s).join("")}`,o=t.mappings[i];if(o){const c=n.substring(i.length);return{mapping:o,matchedPath:i,pathSuffix:c}}}}function ux(e){const{resultSourceMap:t,resultPath:n}=e,{mapping:r,pathSuffix:s}=cx(n,t)||{};if(!r||r.source.type==="literal"||r.source.type==="unknown")return;const i=t.documents[r.source.document],o=t.paths[r.source.path];if(i&&o){const{baseUrl:c,workspace:a,tool:u}=lx(typeof e.studioUrl=="function"?e.studioUrl(i):e.studioUrl);if(!c)return;const{_id:l,_type:f,_projectId:h,_dataset:p}=i;return{baseUrl:c,workspace:a,tool:u,id:l,type:f,path:sx(o+s),projectId:h,dataset:p}}}function lx(e){let t=typeof e=="string"?e:e.baseUrl;return t!=="/"&&(t=t.replace(/\/$/,"")),typeof e=="string"?{baseUrl:t}:{...e,baseUrl:t}}let fx=e=>crypto.getRandomValues(new Uint8Array(e)),dx=(e,t,n)=>{let r=(2<<Math.log(e.length-1)/Math.LN2)-1,s=-~(1.6*r*t/e.length);return(i=t)=>{let o="";for(;;){let c=n(s),a=s|0;for(;a--;)if(o+=e[c[a]&r]||"",o.length===i)return o}}},hx=(e,t=21)=>dx(e,t,fx);const Oy=/\r\n|[\n\r\u2028\u2029]/;
56function px(e,t,n){const r=e.split(Oy),s={start:xy(t.start,r),end:t.end?xy(t.end,r):void 0},{start:i,end:o,markerLines:c}=gx(s,r),a=`${o}`.length;return e.split(Oy,o).slice(i,o).map((u,l)=>{const f=i+1+l,h=` ${` ${f}`.slice(-a)} |`,p=c[f],d=!c[f+1];if(!p)return` ${h}${u.length>0?` ${u}`:""}`;let g="";if(Array.isArray(p)){const v=u.slice(0,Math.max(p[0]-1,0)).replace(/[^\t]/g," "),_=p[1]||1;g=[` 57 `,h.replace(/\d/g," ")," ",v,"^".repeat(_)].join(""),d&&n&&(g+=" "+n)}return[">",h,u.length>0?` ${u}`:"",g].join("")}).join(` 58`)}function gx(e,t){const n={...e.start},r={...n,...e.end},s=2,i=3,o=n.line??-1,c=n.column??0,a=r.line,u=r.column;let l=Math.max(o-(s+1),0),f=Math.min(t.length,a+i);o===-1&&(l=0),a===-1&&(f=t.length);const h=a-o,p={};if(h)for(let d=0;d<=h;d++){const g=d+o;if(!c)p[g]=!0;else if(d===0){const v=t[g-1].length;p[g]=[c,v-c+1]}else if(d===h)p[g]=[0,u];else{const v=t[g-d].length;p[g]=[0,v]}}else c===u?c?p[o]=[c,0]:p[o]=!0:p[o]=[c,u-c];return{start:l,end:f,markerLines:p}}function xy(e,t){var r;let n=0;for(let s=0;s<t.length;s++){const i=t[s].length+1;if(n+i>e)return{line:s+1,column:e-n};n+=i}return{line:t.length,column:((r=t[t.length-1])==null?void 0:r.length)??0}}const Xf=5;class mx extends Error{constructor(n,r){const s=z1(n,r);super(s.message);le(this,"response");le(this,"statusCode",400);le(this,"responseBody");le(this,"traceId");le(this,"details");Object.assign(this,s)}}class yx extends Error{constructor(n){const r=z1(n);super(r.message);le(this,"response");le(this,"statusCode",500);le(this,"responseBody");le(this,"traceId");le(this,"details");Object.assign(this,r)}}function z1(e,t){var i,o;const n=e.body,r={response:e,statusCode:e.statusCode,responseBody:wx(n,e),traceId:bx(e),message:"",details:void 0};if(!H1(n))return r.message=`${Qf(e,n)}${qr(r.traceId)}`,r;const s=n.error;if(typeof s=="string"&&typeof n.message=="string")return r.message=`${s} - ${n.message}${qr(r.traceId)}`,r;if(typeof s!="object"||s===null)return typeof s=="string"?r.message=`${s}${qr(r.traceId)}`:typeof n.message=="string"?r.message=`${n.message}${qr(r.traceId)}`:r.message=`${Qf(e,n)}${qr(r.traceId)}`,r;if(_x(s)||vx(s)){const c=s.items||[],a=c.slice(0,Xf).map(l=>{var f;return(f=l.error)==null?void 0:f.description}).filter(Boolean);let u=a.length?`: 59- ${a.join(` 60- `)}`:"";return c.length>Xf&&(u+=` 61...and ${c.length-Xf} more`),r.message=`${s.description}${qr(r.traceId)}${u}`,r.details=n.error,r}if(K1(s)){const c=(o=(i=t==null?void 0:t.options)==null?void 0:i.query)==null?void 0:o.tag;return r.message=G1(s,c,r.traceId),r.details=n.error,r}return"description"in s&&typeof s.description=="string"?(r.message=`${s.description}${qr(r.traceId)}`,r.details=s,r):(r.message=`${Qf(e,n)}${qr(r.traceId)}`,r)}function _x(e){return"type"in e&&e.type==="mutationError"&&"description"in e&&typeof e.description=="string"}function vx(e){return"type"in e&&e.type==="actionError"&&"description"in e&&typeof e.description=="string"}function K1(e){return H1(e)&&e.type==="queryParseError"&&typeof e.query=="string"&&typeof e.start=="number"&&typeof e.end=="number"}function G1(e,t,n){const{query:r,start:s,end:i,description:o}=e,c=n?` 62(traceId: ${n})`:"";if(!r||typeof s>"u")return`GROQ query parse error: ${o}${c}`;const a=t?` 63 64Tag: ${t}`:"";return`GROQ query parse error: 65${px(r,{start:s,end:i},o)}${a}${c}`}function Qf(e,t){const n=typeof t=="string"?` (${Sx(t,100)})`:"",r=e.statusMessage?` ${e.statusMessage}`:"";return`${e.method}-request to ${e.url} resulted in HTTP ${e.statusCode}${r}${n}`}function bx(e){var n;const t=(n=e==null?void 0:e.headers)==null?void 0:n.traceparent;if(t)return t.split("-")[1]}function wx(e,t){return(t.headers["content-type"]||"").toLowerCase().indexOf("application/json")!==-1?JSON.stringify(e,null,2):e}function qr(e){return e?` (traceId: ${e})`:""}function Sx(e,t){return e.length>t?`${e.slice(0,t)}…`:e}class Ex extends Error{constructor({projectId:n}){super("CorsOriginError");le(this,"projectId");le(this,"addOriginUrl");this.name="CorsOriginError",this.projectId=n;const r=new URL(`https://sanity.io/manage/project/${n}/api`);if(typeof location<"u"){const{origin:s}=location;r.searchParams.set("cors","add"),r.searchParams.set("origin",s),this.addOriginUrl=r,this.message=`The current origin
65is not allowed to connect to the Live Content API. Add it here: ${r}`}else this.message=`The current origin is not allowed to connect to the Live Content API. Change your configuration here: ${r}`}}const Tx={onResponse:(e,t)=>{if(e.statusCode>=500)throw new yx(e);if(e.statusCode>=400)throw new mx(e,t);return e}};function Cx(e={}){const t={},n=r=>e.ignoreWarnings===void 0?!1:(Array.isArray(e.ignoreWarnings)?e.ignoreWarnings:[e.ignoreWarnings]).some(s=>typeof s=="string"?r.includes(s):s instanceof RegExp?s.test(r):!1);return{onResponse:r=>{const s=r.headers["x-sanity-warning"],i=Array.isArray(s)?s:[s];for(const o of i)!o||t[o]||n(o)||(t[o]=!0);return r}}}function Ly(e,t={}){return IP([_p({shouldRetry:Ax}),...e,Cx(t),xP(),LP(),DP(),Tx,NP({implementation:at})])}function Ax(e,t,n){if(n.maxRetries===0)return!1;const r=n.method==="GET"||n.method==="HEAD",s=(n.uri||n.url).startsWith("/data/query"),i=e.response&&(e.response.statusCode===429||e.response.statusCode===502||e.response.statusCode===503);return(r||s)&&i?!0:_p.shouldRetry(e,t,n)}const kx="https://www.sanity.io/help/";function Rp(e){return kx+e}const My=["image","file"],Ny=["before","after","replace"],Gi=e=>{if(!/^(~[a-z0-9]{1}[-\w]{0,63}|[a-z0-9]{1}[-\w]{0,63})$/.test(e))throw new Error("Datasets can only contain lowercase characters, numbers, underscores and dashes, and start with tilde, and be maximum 64 characters")},Ix=e=>{if(!/^[-a-z0-9]+$/i.test(e))throw new Error("`projectId` can only contain only a-z, 0-9 and dashes")},$x=e=>{if(My.indexOf(e)===-1)throw new Error(`Invalid asset type: ${e}. Must be one of ${My.join(", ")}`)},Vo=(e,t)=>{if(t===null||typeof t!="object"||Array.isArray(t))throw new Error(`${e}() takes an object of properties`)},ju=(e,t)=>{if(typeof t!="string"||!/^[a-z0-9_][a-z0-9_.-]{0,127}$/i.test(t)||t.includes(".."))throw new Error(`${e}(): "${t}" is not a valid document ID`)},Yi=(e,t)=>{if(!t._id)throw new Error(`${e}() requires that the document contains an ID ("_id" property)`);ju(e,t._id)},Rx=(e,t)=>{if(typeof t!="string")throw new Error(`\`${e}()\`: \`${t}\` is not a valid document type`)},Y1=(e,t)=>{if(!t._type)throw new Error(`\`${e}()\` requires that the document contains a type (\`_type\` property)`);Rx(e,t._type)},Px=(e,t)=>{if(t._id&&t._id!==e)throw new Error(`The provided document ID (\`${t._id}\`) does not match the generated version ID (\`${e}\`)`)},Ox=(e,t,n)=>{const r="insert(at, selector, items)";if(Ny.indexOf(e)===-1){const s=Ny.map(i=>`"${i}"`).join(", ");throw new Error(`${r} takes an "at"-argument which is one of: ${s}`)}if(typeof t!="string")throw new Error(`${r} takes a "selector"-argument which must be a string`);if(!Array.isArray(n))throw new Error(`${r} takes an "items"-argument which must be an array`)},Xs=e=>{if(e.dataset)return e.dataset;const t=e.resource;if(t&&t.type==="dataset"){const n=t.id.split(".");if(n.length!==2)throw new Error('Dataset resource ID must be in the format "project.dataset"');return n[1]}throw new Error("`dataset` must be provided to perform queries")},J1=e=>{if(typeof e!="string"||!/^[a-z0-9._-]{1,75}$/i.test(e))throw new Error("Tag can only contain alphanumeric characters, underscores, dashes and dots, and be between one and 75 characters long.");return e},X1=e=>{const t=e.resource;if(!t)throw new Error("`resource` must be provided to perform resource queries");const{type:n,id:r}=t;switch(n){case"dataset":{if(r.split(".").length!==2)throw new Error('Dataset resource ID must be in the format "project.dataset"');return}case"dashboard":case"media-library":case"canvas":return;default:throw new Error(`Unsupported resource type: ${n.toString()}`)}},Mn=(e,t)=>{if(t.resource)throw new Error(`\`${e}\` does not support resource-based operations`)};function xx(e){let t=!1,n;return(...r)=>(t||(n=e(...r),t=!0),n)}const Ur=e=>xx((...t)=>{}),Lx=Ur(["Because you set `withCredentials` to true, we will override your `useCdn`","setting to be false since (cookie-based) credentials are never set on the CDN"]),Mx=Ur(["Since you haven't set a value for `useCdn`, we will deliver content using our","global, edge-cached API-CDN. If you wish to have content delivered faster, set","`useCdn: false` to use the Live API. Note: You may incur higher costs using the live API."]),Nx=Ur(["The Sanity client is configured with the `perspective` set to `drafts` or `previewDrafts`, which doesn't support the API-CDN.","The Live API will be used instead. Set `useCdn: false` in your configuration to hide this warning."]),Dx=Ur(["The `previewDrafts` perspective has been renamed to `drafts` and will be removed in a future API version"]),jx=Ur(["You have configured Sanity client to use a token in the browser. This may cause unintentional security issues.",`See ${Rp("js-client-browser-token")} for more information and how to hide this warning.`]),Fx=Ur(["You have configured Sanity client to use a token, but also provided `withCredentials: true`.","This is no longer supported - only token will be used - remove `withCredentials: true`."]),Hx=Ur(["Using the Sanity client without specifying an API version is deprecated.",`See ${Rp("js-client-api-version")}`]),Ux=Ur(["You have called `createVersion()` with a defined `document`. The recommended approach is to provide a `baseId` and `releaseId` instead."]),Vx=Ur(["The `~experimental_resource` configuration property has been renamed to `resource`.","Please update your client configuration to use `resource` instead. Support for `~experimental_resource` will be removed in a future version."]),Bx="apicdn.sanity.io",Bo={apiHost:"https://api.sanity.io",apiVersion:"1",useProjectHostname:!0,stega:{enabled:!1}},qx=["localhost","127.0.0.1","0.0.0.0"],Wx=e=>qx.indexOf(e)!==-1;function zx(e){if(e==="1"||e==="X")return;const t=new Date(e);if(!(/^\d{4}-\d{2}-\d{2}$/.test(e)&&t instanceof Date&&t.getTime()>0))throw new Error("Invalid API version string, expected `1` or date in format `YYYY-MM-DD`")}function Hl(e){if(Array.isArray(e)&&e.length>1&&e.includes("raw"))throw new TypeError('Invalid API perspective value: "raw". The raw-perspective can not be combined with other perspectives')}const Q1=(e,t)=>{const n={...t,...e,stega:{...typeof t.stega=="boolean"?{enabled:t.stega}:t.stega||Bo.stega,...typeof e.stega=="boolean"?{enabled:e.stega}:e.stega||{}}};n.apiVersion||Hx();const r={...Bo,...n};r["~experimental_resource"]&&!r.resource&&(Vx(),r.resource=r["~experimental_resource"]);const s=r.resource,i=r.useProjectHostname&&!s;if(typeof Promise>"u"){const p=Rp("js-client-promise-polyfill");throw new Error(`No native Promise-implementation found, polyfill needed - see ${p}`)}if(i&&!r.projectId)throw new Error("Configuration must contain `projectId`");if(s&&X1(r),typeof r.perspective<"u"&&Hl(r.perspective),"encodeSourceMap"in r)throw new Error("It looks like you're using options meant for '@sanity/preview-kit/client'. 'encodeSourceMap' is not supported in '@sanity/client'. Did you mean 'stega.enabled'?");if("encodeSourceMapAtPath"in r)throw new Error("It looks like you're using options meant for '@sanity/preview-kit/client'. 'encodeSourceMapAtPath' is not supported in '@sanity/client'. Did you mean 'stega.filter'?");
65if(typeof r.stega.enabled!="boolean")throw new Error(`stega.enabled must be a boolean, received ${r.stega.enabled}`);if(r.stega.enabled&&r.stega.studioUrl===void 0)throw new Error("stega.studioUrl must be defined when stega.enabled is true");if(r.stega.enabled&&typeof r.stega.studioUrl!="string"&&typeof r.stega.studioUrl!="function")throw new Error(`stega.studioUrl must be a string or a function, received ${r.stega.studioUrl}`);const o=typeof window<"u"&&window.location&&window.location.hostname,c=o&&Wx(window.location.hostname),a=!!r.token;r.withCredentials&&a&&(Fx(),r.withCredentials=!1),o&&c&&a&&r.ignoreBrowserTokenWarning!==!0?jx():typeof r.useCdn>"u"&&Mx(),i&&Ix(r.projectId),r.dataset&&Gi(r.dataset),"requestTagPrefix"in r&&(r.requestTagPrefix=r.requestTagPrefix?J1(r.requestTagPrefix).replace(/\.+$/,""):void 0),r.apiVersion=`${r.apiVersion}`.replace(/^v/,""),r.isDefaultApi=r.apiHost===Bo.apiHost,r.useCdn===!0&&r.withCredentials&&Lx(),r.useCdn=r.useCdn!==!1&&!r.withCredentials,zx(r.apiVersion);const u=r.apiHost.split("://",2),l=u[0],f=u[1],h=r.isDefaultApi?Bx:f;return i?(r.url=`${l}://${r.projectId}.${f}/v${r.apiVersion}`,r.cdnUrl=`${l}://${r.projectId}.${h}/v${r.apiVersion}`):(r.url=`${r.apiHost}/v${r.apiVersion}`,r.cdnUrl=r.url),r};
65class Z1 extends Error{constructor(){super(...arguments);le(this,"name","ConnectionFailedError")}}class Kx extends Error{constructor(n,r,s={}){super(n,s);le(this,"name","DisconnectError");le(this,"reason");this.reason=r}}class Gx extends Error{constructor(n,r){super(n);le(this,"name","ChannelError");le(this,"data");this.data=r}}class Yx extends Error{constructor(n,r,s={}){super(n,s);le(this,"name","MessageError");le(this,"data");this.data=r}}class Dy extends Error{constructor(){super(...arguments);le(this,"name","MessageParseError")}}const Jx=["channelError","disconnect"];function ew(e,t){return N1(()=>{const n=e();return SO(n)?n:Ti(n)}).pipe(Ds(n=>Xx(n,t)))}function Xx(e,t){return new at(n=>{const r=t.includes("open"),s=t.includes("reconnect");function i(u){if("data"in u){const[l,f]=jy(u);n.error(l?new Dy("Unable to parse EventSource error message",{cause:f}):new Yx((f==null?void 0:f.data).message,f));return}e.readyState===e.CLOSED?n.error(new Z1("EventSource connection failed")):s&&n.next({type:"reconnect"})}function o(){n.next({type:"open"})}function c(u){var h;const[l,f]=jy(u);if(l){n.error(new Dy("Unable to parse EventSource message",{cause:l}));return}if(u.type==="channelError"){const p=new URL(e.url).searchParams.get("tag");n.error(new Gx(Qx(f==null?void 0:f.data,p),f.data));return}if(u.type==="disconnect"){n.error(new Kx(`Server disconnected client: ${((h=f.data)==null?void 0:h.reason)||"unknown error"}`));return}n.next({type:u.type,id:u.lastEventId,...f.data?{data:f.data}:{}})}e.addEventListener("error",i),r&&e.addEventListener("open",o);const a=[...new Set([...Jx,...t])].filter(u=>u!=="error"&&u!=="open"&&u!=="reconnect");return a.forEach(u=>e.addEventListener(u,c)),()=>{e.removeEventListener("error",i),r&&e.removeEventListener("open",o),a.forEach(u=>e.removeEventListener(u,c)),e.close()}})}function jy(e){try{const t=typeof e.data=="string"&&JSON.parse(e.data);return[null,{type:e.type,id:e.lastEventId,...Zx(t)?{}:{data:t}}]}catch(t){return[t,null]}}function Qx(e,t){const n=e.error;return n?K1(n)?G1(n,t):n.description?n.description:typeof n=="string"?n:JSON.stringify(n,null,2):e.message||"Unknown listener error"}function Zx(e){for(const t in e)return!1;return!0}function tw(e){if(typeof e=="string")return{id:e};if(Array.isArray(e))return{query:"*[_id in $ids]",params:{ids:e}};if(typeof e=="object"&&e!==null&&"query"in e&&typeof e.query=="string")return"params"in e&&typeof e.params=="object"&&e.params!==null?{query:e.query,params:e.params}:{query:e.query};const t=["* Document ID (<docId>)","* Array of document IDs","* Object containing `query`"].join(` 66`);throw new Error(`Unknown selection - must be one of: 67 68${t}`)}class nw{constructor(t,n={}){le(this,"selection");le(this,"operations");this.selection=t,this.operations=n}set(t){return this._assign("set",t)}setIfMissing(t){return this._assign("setIfMissing",t)}diffMatchPatch(t){return Vo("diffMatchPatch",t),this._assign("diffMatchPatch",t)}unset(t){if(!Array.isArray(t))throw new Error("unset(attrs) takes an array of attributes to unset, non-array given");return this.operations=Object.assign({},this.operations,{unset:t}),this}inc(t){return this._assign("inc",t)}dec(t){return this._assign("dec",t)}insert(t,n,r){return Ox(t,n,r),this._assign("insert",{[t]:n,items:r})}append(t,n){return this.insert("after",`${t}[-1]`,n)}prepend(t,n){return this.insert("before",`${t}[0]`,n)}splice(t,n,r,s){const i=typeof r>"u"||r===-1,o=n<0?n-1:n,c=i?-1:Math.max(0,n+r),a=o<0&&c>=0?"":c,u=`${t}[${o}:${a}]`;return this.insert("replace",u,s||[])}ifRevisionId(t){return this.operations.ifRevisionID=t,this}serialize(){return{...tw(this.selection),...this.operations}}toJSON(){return this.serialize()}reset(){return this.operations={},this}_assign(t,n,r=!0){return Vo(t,n),this.operations=Object.assign({},this.operations,{[t]:Object.assign({},r&&this.operations[t]||{},n)}),this}_set(t,n){return this._assign(t,n,!1)}}var Cs;const tg=class tg extends nw{constructor(n,r,s){super(n,r);ve(this,Cs);be(this,Cs,s)}clone(){return new tg(this.selection,{...this.operations},M(this,Cs))}commit(n){if(!M(this,Cs))throw new Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");
68const r=typeof this.selection=="string",s=Object.assign({returnFirst:r,returnDocuments:!0},n);return M(this,Cs).mutate({patch:this.serialize()},s)}};Cs=new WeakMap;let js=tg;var As;const ng=class ng extends nw{constructor(n,r,s){super(n,r);ve(this,As);be(this,As,s)}clone(){return new ng(this.selection,{...this.operations},M(this,As))}commit(n){if(!M(this,As))throw new Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");const r=typeof this.selection=="string",s=Object.assign({returnFirst:r,returnDocuments:!0},n);return M(this,As).mutate({patch:this.serialize()},s)}};As=new WeakMap;let Zr=ng;const rw={returnDocuments:!1};class sw{constructor(t=[],n){le(this,"operations");le(this,"trxId");this.operations=t,this.trxId=n}create(t){return Vo("create",t),this._add({create:t})}createIfNotExists(t){const n="createIfNotExists";return Vo(n,t),Yi(n,t),this._add({[n]:t})}createOrReplace(t){const n="createOrReplace";return Vo(n,t),Yi(n,t),this._add({[n]:t})}delete(t){return ju("delete",t),this._add({delete:{id:t}})}transactionId(t){return t?(this.trxId=t,this):this.trxId}serialize(){return[...this.operations]}toJSON(){return this.serialize()}reset(){return this.operations=[],this}_add(t){return this.operations.push(t),this}}var dr;const rg=class rg extends sw{constructor(n,r,s){super(n,s);ve(this,dr);be(this,dr,r)}clone(){return new rg([...this.operations],M(this,dr),this.trxId)}commit(n){if(!M(this,dr))throw new Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return M(this,dr).mutate(this.serialize(),Object.assign({transactionId:this.trxId},rw,n||{}))}patch(n,r){const s=typeof r=="function",i=typeof n!="string"&&n instanceof Zr,o=typeof n=="object"&&("query"in n||"id"in n);if(i)return this._add({patch:n.serialize()});if(s){const c=r(new Zr(n,{},M(this,dr)));if(!(c instanceof Zr))throw new Error("function passed to `patch()` must return the patch");return this._add({patch:c.serialize()})}if(o){const c=new Zr(n,r||{},M(this,dr));return this._add({patch:c.serialize()})}return this._add({patch:{id:n,...r}})}};dr=new WeakMap;let Fu=rg;var Jr;const sg=class sg extends sw{constructor(n,r,s){super(n,s);ve(this,Jr);
68be(this,Jr,r)}clone(){return new sg([...this.operations],M(this,Jr),this.trxId)}commit(n){if(!M(this,Jr))throw new Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return M(this,Jr).mutate(this.serialize(),Object.assign({transactionId:this.trxId},rw,n||{}))}patch(n,r){const s=typeof r=="function";if(typeof n!="string"&&n instanceof js)return this._add({patch:n.serialize()});if(s){const i=r(new js(n,{},M(this,Jr)));if(!(i instanceof js))throw new Error("function passed to `patch()` must return the patch");return this._add({patch:i.serialize()})}return this._add({patch:{id:n,...r}})}};Jr=new WeakMap;let Hu=sg;const e5="X-Sanity-Project-ID";function t5(e,t={}){const n={};e.headers&&Object.assign(n,e.headers);const r=t.token||e.token;r&&(n.Authorization=`Bearer ${r}`),!t.useGlobalApi&&!e.useProjectHostname&&e.projectId&&(n[e5]=e.projectId);const s=!!(typeof t.withCredentials>"u"?e.withCredentials:t.withCredentials),i=typeof t.timeout>"u"?e.timeout:t.timeout;return Object.assign({},t,{headers:Object.assign({},n,t.headers||{}),timeout:typeof i>"u"?300*1e3:i,proxy:t.proxy||e.proxy,json:!0,withCredentials:s,fetch:typeof t.fetch=="object"&&typeof e.fetch=="object"?{...e.fetch,...t.fetch}:t.fetch||e.fetch})}const iw=({query:e,params:t={},options:n={}})=>{const r=new URLSearchParams,{tag:s,includeMutations:i,returnQuery:o,...c}=n;s&&r.append("tag",s),r.append("query",e);for(const[a,u]of Object.entries(t))u!==void 0&&r.append(`$${a}`,JSON.stringify(u));for(const[a,u]of Object.entries(c))u&&r.append(a,`${u}`);return o===!1&&r.append("returnQuery","false"),i===!1&&r.append("includeMutations","false"),`?${r}`},n5=(e,t)=>e===!1?void 0:typeof e>"u"?t:e,r5=(e={})=>({dryRun:e.dryRun,returnIds:!0,returnDocuments:n5(e.returnDocuments,!0),visibility:e.visibility||"sync",autoGenerateArrayKeys:e.autoGenerateArrayKeys,skipCrossDatasetReferenceValidation:e.skipCrossDatasetReferenceValidation}),Pp=e=>e.type==="response",s5=e=>e.body,i5=(e,t)=>e.reduce((n,r)=>(n[t(r)]=r,n),Object.create(null)),o5=11264;function ow(e,t,n,r,s={},i={}){const o="stega"in i?{...n||{},...typeof i.stega=="boolean"?{enabled:i.stega}:i.stega||{}}:n,c=o.enabled?WO(s):s,a=i.filterResponse===!1?d=>d:d=>d.result,{cache:u,next:l,...f}={useAbortSignal:typeof i.signal<"u",resultSourceMap:o.enabled?"withKeyArraySelector":i.resultSourceMap,...i,returnQuery:i.filterResponse===!1&&i.returnQuery!==!1},h=typeof u<"u"||typeof l<"u"?{...f,fetch:{cache:u,next:l}}:f,p=Qs(e,t,"query",{query:r,params:c},h);return o.enabled?p.pipe(MO(sc(yt(()=>import("./DYrQ6k_5.js"),[],import.meta.url).then(function(d){return d.stegaEncodeSourceMap$1}).then(({stegaEncodeSourceMap:d})=>d))),Rt(([d,g])=>{const v=g(d.result,d.resultSourceMap,o);return a({...d,result:v})})):p.pipe(Rt(a))}function Ji(e,t,n,r={}){const s=(()=>{if(!r.releaseId)return n;const o=W1(n);if(!o){if(jl(n))throw new Error(`The document ID (\`${n}\`) is a draft, but \`options.releaseId\` is set as \`${r.releaseId}\``);return ic(n,r.releaseId)}if(o!==r.releaseId)throw new Error(`The document ID (\`${n}\`) is already a version of \`${o}\` release, but this does not match the provided \`options.releaseId\` (\`${r.releaseId}\`)`);return n})(),i={uri:fn(e,"doc",s),json:!0,tag:r.tag,signal:r.signal,query:r.includeAllVersions!==void 0?{includeAllVersions:r.includeAllVersions}:void 0};return cc(e,t,i).pipe(io(Pp),Rt(o=>{const c=o.body.documents;return c?r.includeAllVersions?c:c[0]:r.includeAllVersions?[]:void 0}))}function aw(e,t,n,r={}){const s={uri:fn(e,"doc",n.join(",")),json:!0,tag:r.tag,signal:r.signal};return cc(e,t,s).pipe(io(Pp),Rt(i=>{const o=i5(i.body.documents||[],c=>c._id);return n.map(c=>o[c]||null)}))}function cw(e,t,n,r={}){return Qs(e,t,"query",{query:"*[sanity::partOfRelease($releaseId)]",params:{releaseId:n}},r)}function uw(e,t,n,r){return Yi("createIfNotExists",n),Ul(e,t,n,"createIfNotExists",r)}function lw(e,t,n,r){return Yi("createOrReplace",n),Ul(e,t,n,"createOrReplace",r)}function fw(e,t,n,r,s){return Yi("createVersion",n),Y1("createVersion",n),Ux(),et(e,t,{actionType:"sanity.action.document.version.create",publishedId:r,document:n},s)}function dw(e,t,n,r,s,i,o){if(!r)throw new Error("`createVersion()` requires `baseId` when no `document` is provided");
68if(!n)throw new Error("`createVersion()` requires `publishedId` when `baseId` is provided");ju("createVersion",r),ju("createVersion",n);const c={actionType:"sanity.action.document.version.create",publishedId:n,baseId:r,versionId:s?ic(n,s):q1(n),ifBaseRevisionId:i};return et(e,t,c,o)}function hw(e,t,n,r){return Qs(e,t,"mutate",{mutations:[{delete:tw(n)}]},r)}function pw(e,t,n,r=!1,s){return et(e,t,{actionType:"sanity.action.document.version.discard",versionId:n,purge:r},s)}function gw(e,t,n,r){return Yi("replaceVersion",n),Y1("replaceVersion",n),et(e,t,{actionType:"sanity.action.document.version.replace",document:n},r)}function mw(e,t,n,r,s){return et(e,t,{actionType:"sanity.action.document.version.unpublish",versionId:n,publishedId:r},s)}function yw(e,t,n,r){let s;n instanceof Zr||n instanceof js?s={patch:n.serialize()}:n instanceof Fu||n instanceof Hu?s=n.serialize():s=n;const i=Array.isArray(s)?s:[s],o=r&&r.transactionId||void 0;return Qs(e,t,"mutate",{mutations:i,transactionId:o},r)}function et(e,t,n,r){const s=Array.isArray(n)?n:[n],i=r&&r.transactionId||void 0,o=r&&r.skipCrossDatasetReferenceValidation||void 0,c=r&&r.dryRun||void 0;return Qs(e,t,"actions",{actions:s,transactionId:i,skipCrossDatasetReferenceValidation:o,dryRun:c},r)}function Qs(e,t,n,r,s={}){const i=n==="mutate",o=n==="actions",c=n==="query",a=i||o?"":iw(r),u=!i&&!o&&a.length<o5,l=u?a:"",f=s.returnFirst,{timeout:h,token:p,tag:d,headers:g,returnQuery:v,lastLiveEventId:_,cacheMode:y}=s,m=fn(e,n,l),b={method:u?"GET":"POST",uri:m,json:!0,body:u?void 0:r,query:i&&r5(s),timeout:h,headers:g,token:p,tag:d,returnQuery:v,perspective:s.perspective,resultSourceMap:s.resultSourceMap,lastLiveEventId:Array.isArray(_)?_[0]:_,cacheMode:y,canUseCdn:c,signal:s.signal,fetch:s.fetch,useAbortSignal:s.useAbortSignal,useCdn:s.useCdn};return cc(e,t,b).pipe(io(Pp),Rt(s5),Rt(E=>{if(!i)return E;const $=E.results||[];if(s.returnDocuments)return f?$[0]&&$[0].document:$.map(H=>H.document);const A=f?"documentId":"documentIds",D=f?$[0]&&$[0].id:$.map(H=>H.id);return{transactionId:E.transactionId,results:$,[A]:D}}))}function Ul(e,t,n,r,s={}){const i={[r]:n},o=Object.assign({returnFirst:!0,returnDocuments:!0},s);return Qs(e,t,"mutate",{mutations:[i]},o)}const ac=e=>{const t=e.config();return t.dataset!==void 0&&t.projectId!==void 0||t.resource!==void 0},_w=(e,t)=>ac(e)&&t.startsWith(fn(e,"query")),a5=(e,t)=>ac(e)&&t.startsWith(fn(e,"mutate")),c5=(e,t)=>ac(e)&&t.startsWith(fn(e,"doc","")),u5=(e,t)=>ac(e)&&t.startsWith(fn(e,"listen")),l5=(e,t)=>ac(e)&&t.startsWith(fn(e,"history","")),f5=(e,t)=>t.startsWith("/data/")||_w(e,t)||a5(e,t)||c5(e,t)||u5(e,t)||l5(e,t);function cc(e,t,n){const r=n.url||n.uri,s=e.config(),i=typeof n.canUseCdn>"u"?["GET","HEAD"].indexOf(n.method||"GET")>=0&&f5(e,r):n.canUseCdn;let o=(n.useCdn??s.useCdn)&&i;const c=n.tag&&s.requestTagPrefix?[s.requestTagPrefix,n.tag].join("."):n.tag||s.requestTagPrefix;if(c&&n.tag!==null&&(n.query={tag:J1(c),...n.query}),["GET","HEAD","POST"].indexOf(n.method||"GET")>=0&&_w(e,r)){const l=n.resultSourceMap??s.resultSourceMap;l!==void 0&&l!==!1&&(n.query={resultSourceMap:l,...n.query});const f=n.perspective||s.perspective;typeof f<"u"&&(f==="previewDrafts"&&Dx(),Hl(f),n.query={perspective:Array.isArray(f)?f.join(","):f,...n.query},(Array.isArray(f)&&f.length>0||f==="previewDrafts"||f==="drafts")&&o&&(o=!1,Nx())),n.lastLiveEventId&&(n.query={...n.query,lastLiveEventId:n.lastLiveEventId}),n.returnQuery===!1&&(n.query={returnQuery:"false",...n.query}),o&&n.cacheMode=="noStale"&&(n.query={cacheMode:"noStale",...n.query})}const a=t5(s,Object.assign({},n,{url:Op(e,r,o)})),u=new at(l=>t(a,s.requester).subscribe(l));return n.signal?u.pipe(d5(n.signal)):u}function lt(e,t,n){return cc(e,t,n).pipe(io(r=>r.type==="response"),Rt(r=>r.body))}function fn(e,t,n){const r=e.config();if(r.resource){X1(r);const o=g5(r),c=n!==void 0?`${t}/${n}`:t;return`${o}/${c}`.replace(/\/($|\?)/,"$1")}const s=Xs(r),i=`/${t}/${s}`;return`/data${n!==void 0?`${i}/${n}`:i}`.replace(/\/($|\?)/,"$1")}function Op(e,t,n=!1){const{url:r,cdnUrl:s}=e.config();return`${n?s:r}/${t.replace(/^\//,"")}`}function d5(e){return t=>new at(n=>{const r=()=>n.error(p5(e));if(e&&e.aborted){r();return}const s=t.subscribe(n);return e.addEventListener("abort",r),()=>{e.removeEventListener("abort",r),s.unsubscribe()}})}const h5=!!globalThis.DOMException;function p5(e){if(h5)return new DOMException((e==null?void 0:e.reason)??"The operation was aborted.","AbortError");const t=new Error((e==null?void 0:e.reason)??"The operation was aborted.");return t.name="AbortError",t}const g5=e=>{const t=e.resource;if(!t)throw new Error("`resource` must be provided to perform resource queries");const{type:n,id:r}=t;switch(n){case"dataset":{const s=r.split(".");if(s.length!==2)throw new Error('Dataset ID must be in the format "project.dataset"');return`/projects/${s[0]}/datasets/${s[1]}`}case"canvas":return`/canvases/${r}`;case"media-library":return`/media-libraries/${r}`;case"dashboard":return`/dashboards/${r}`;default:throw new Error(`Unsupported resource type: ${n.toString()}`)}};
68function vw(e,t,n){const r=Xs(e.config());return lt(e,t,{method:"POST",uri:`/agent/action/generate/${r}`,body:n})}function m5(e,t,n){const r=Xs(e.config());return lt(e,t,{method:"POST",uri:`/agent/action/patch/${r}`,body:n})}function y5(e,t,n){const r=Xs(e.config());return lt(e,t,{method:"POST",uri:`/agent/action/prompt/${r}`,body:n})}function bw(e,t,n){const r=Xs(e.config());return lt(e,t,{method:"POST",uri:`/agent/action/transform/${r}`,body:n})}function ww(e,t,n){const r=Xs(e.config());return lt(e,t,{method:"POST",uri:`/agent/action/translate/${r}`,body:n})}var ks,Is;class _5{constructor(t,n){ve(this,ks);ve(this,Is);be(this,ks,t),be(this,Is,n)}generate(t){return vw(M(this,ks),M(this,Is),t)}transform(t){return bw(M(this,ks),M(this,Is),t)}translate(t){return ww(M(this,ks),M(this,Is),t)}}ks=new WeakMap,Is=new WeakMap;var hr,pr;class v5{constructor(t,n){ve(this,hr);ve(this,pr);be(this,hr,t),be(this,pr,n)}generate(t){return ke(vw(M(this,hr),M(this,pr),t))}transform(t){return ke(bw(M(this,hr),M(this,pr),t))}translate(t){return ke(ww(M(this,hr),M(this,pr),t))}prompt(t){return ke(y5(M(this,hr),M(this,pr),t))}patch(t){return ke(m5(M(this,hr),M(this,pr),t))}}hr=new WeakMap,pr=new WeakMap;var ka,Ia;class b5{constructor(t,n){ve(this,ka);ve(this,Ia);be(this,ka,t),be(this,Ia,n)}upload(t,n,r){return Sw(M(this,ka),M(this,Ia),t,n,r)}}ka=new WeakMap,Ia=new WeakMap;var $a,Ra;class w5{constructor(t,n){ve(this,$a);ve(this,Ra);be(this,$a,t),be(this,Ra,n)}upload(t,n,r){const s=Sw(M(this,$a),M(this,Ra),t,n,r);return ke(s.pipe(io(i=>i.type==="response"),Rt(i=>i.body.document)))}}$a=new WeakMap,Ra=new WeakMap;function Sw(e,t,n,r,s={}){var _;$x(n);let i=s.extract||void 0;i&&!i.length&&(i=["none"]);const o=e.config(),c=E5(s,r),{tag:a,label:u,title:l,description:f,creditLine:h,filename:p,source:d}=c,g=((_=o.resource)==null?void 0:_.type)==="media-library",v=g?{title:l,filename:p}:{label:u,title:l,description:f,filename:p,meta:i,creditLine:h};return d&&!g&&(v.sourceId=d.id,v.sourceName=d.name,v.sourceUrl=d.url),cc(e,t,{tag:a,method:"POST",timeout:c.timeout||0,uri:S5(o,n),headers:c.contentType?{"Content-Type":c.contentType}:{},query:v,body:r})}function S5(e,t){const n=t==="image"?"images":"files",r=e.resource;if(r){const{type:i,id:o}=r;switch(i){case"dataset":throw new Error("Assets are not supported for dataset resources, yet. Configure the client with `{projectId: <projectId>, dataset: <datasetId>}` instead.");case"canvas":return`/canvases/${o}/assets/${n}`;case"media-library":return`/media-libraries/${o}/upload`;case"dashboard":return`/dashboards/${o}/assets/${n}`;default:throw new Error(`Unsupported resource type: ${i.toString()}`)}}const s=Xs(e);return`assets/${n}/${s}`}function E5(e,t){return typeof File>"u"||!(t instanceof File)?e:Object.assign({filename:e.preserveFilename===!1?void 0:t.name,contentType:t.type},e)}var T5=(e,t)=>Object.keys(t).concat(Object.keys(e)).reduce((n,r)=>(n[r]=typeof e[r]>"u"?t[r]:e[r],n),{});const C5=(e,t)=>t.reduce((n,r)=>(typeof e[r]>"u"||(n[r]=e[r]),n),{}),Ew=N1(()=>yt(()=>import("./DFr8pWKU.js").then(e=>e.b),[],import.meta.url)).pipe(Rt(({default:e})=>e),NO(1));function Tw(){return function(e){return e.pipe(Mu((t,n)=>t instanceof Z1?RO(Ti({type:"reconnect"}),PO(1e3).pipe(Ds(()=>n))):x1(()=>t)))}}const A5=14800,k5=["includePreviousRevision","includeResult","includeMutations","includeAllVersions","visibility","effectFormat","enableResume","tag"],I5={includeResult:!0};function Cw(e,t,n={}){const{url:r,token:s,withCredentials:i,requestTagPrefix:o,headers:c}=this.config(),a=n.tag&&o?[o,n.tag].join("."):n.tag,u={...T5(n,I5),tag:a},l=C5(u,k5),f=iw({query:e,params:t,options:{tag:a,...l}}),h=`${r}${fn(this,"listen",f)}`;if(h.length>A5)return x1(()=>new Error("Query too large for listener"));const p=u.events?u.events:["mutation"],d={};return i&&(d.withCredentials=!0),(s||c)&&(d.headers={},s&&(d.headers.Authorization=`Bearer ${s}`),c&&Object.assign(d.headers,c)),ew(()=>(typeof EventSource>"u"||d.headers?Ew:Ti(EventSource)).pipe(Rt(g=>new g(h,d))),p).pipe(Tw(),io(g=>p.includes(g.type)),Rt(g=>({type:g.type,..."data"in g?g.data:{}})))}function $5(e,t){return R5(typeof e=="function"?{predicate:e,...t}:e)}function R5(e){return t=>{let n,r=!1;const{predicate:s,...i}=e,o=t.pipe(DO(a=>
68{e.predicate(a)&&(r=!0,n=a)}),j1(()=>{r=!1,n=void 0}),F1(i)),c=new at(a=>{r&&a.next(n),a.complete()});return OO(o,c)}}const Fy="2021-03-25";var $s;class Aw{constructor(t){ve(this,$s);be(this,$s,t)}events({includeDrafts:t=!1,tag:n,waitFor:r}={}){const{projectId:s,apiVersion:i,token:o,withCredentials:c,requestTagPrefix:a,headers:u}=M(this,$s).config(),l=i.replace(/^v/,"");if(l!=="X"&&l<Fy)throw new Error(`The live events API requires API version ${Fy} or later. The current API version is ${l}. Please update your API version to use this feature.`);if(t&&!o&&!c)throw new Error("The live events API requires a token or withCredentials when 'includeDrafts: true'. Please update your client configuration. The token should have the lowest possible access role.");const f=fn(M(this,$s),"live/events"),h=new URL(M(this,$s).getUrl(f,!1)),p=n&&a?[a,n].join("."):n;p&&h.searchParams.set("tag",p),t&&h.searchParams.set("includeDrafts","true"),r&&h.searchParams.set("waitFor",r);const d={};t&&c&&(d.withCredentials=!0),(t&&o||u)&&(d.headers={},t&&o&&(d.headers.Authorization=`Bearer ${o}`),u&&Object.assign(d.headers,u));const g=`${h.href}::${JSON.stringify(d)}`,v=Zf.get(g);if(v)return v;const _=ew(()=>(typeof EventSource>"u"||d.headers?Ew:Ti(EventSource)).pipe(Rt(b=>new b(h.href,d))),["message","restart","welcome","reconnect","goaway"]),y=P5(h,{method:"OPTIONS",mode:"cors",credentials:d.withCredentials?"include":"omit",headers:d.headers}).pipe(Mu(()=>{throw new Ex({projectId:s})})),m=_.pipe(Tw(),Ds(b=>b.type==="reconnect"?y.pipe(Ds(()=>Ti(b))):Ti(b)),Mu(b=>y.pipe(Ds(()=>{throw b}))),Rt(b=>{if(b.type==="message"){const{data:E,...$}=b;return{...$,tags:E.tags}}return b})).pipe(j1(()=>Zf.delete(g)),$5({predicate:b=>b.type==="welcome"}));return Zf.set(g,m),m}}$s=new WeakMap;function P5(e,t){return new at(n=>{const r=new AbortController,s=r.signal;return fetch(e,{...t,signal:r.signal}).then(i=>{n.next(i),n.complete()},i=>{s.aborted||n.error(i)}),()=>r.abort()})}const Zf=new Map;var At,On;class O5{constructor(t,n){ve(this,At);ve(this,On);be(this,At,t),be(this,On,n)}create(t,n){return Ci(M(this,At),M(this,On),"PUT",t,n)}edit(t,n){return Ci(M(this,At),M(this,On),"PATCH",t,n)}delete(t){return Ci(M(this,At),M(this,On),"DELETE",t)}list(){Mn("dataset",M(this,At).config());const t=M(this,At).config(),n=t.projectId;let r="/datasets";return t.useProjectHostname===!1&&(r=`/projects/${n}/datasets`),lt(M(this,At),M(this,On),{uri:r,tag:null})}getEmbeddingsSettings(t){return Mn("dataset",M(this,At).config()),Gi(t),lt(M(this,At),M(this,On),{uri:Uu(M(this,At),t),tag:null})}editEmbeddingsSettings(t,n){return Mn("dataset",M(this,At).config()),Gi(t),lt(M(this,At),M(this,On),{method:"PUT",uri:Uu(M(this,At),t),body:n,tag:null})}}At=new WeakMap,On=new WeakMap;var mt,xn;class x5{constructor(t,n){ve(this,mt);ve(this,xn);be(this,mt,t),be(this,xn,n)}create(t,n){return Mn("dataset",M(this,mt).config()),ke(Ci(M(this,mt),M(this,xn),"PUT",t,n))}edit(t,n){return Mn("dataset",M(this,mt).config()),ke(Ci(M(this,mt),M(this,xn),"PATCH",t,n))}delete(t){return Mn("dataset",M(this,mt).config()),ke(Ci(M(this,mt),M(this,xn),"DELETE",t))}list(){Mn("dataset",M(this,mt).config());const t=M(this,mt).config(),n=t.projectId;let r="/datasets";return t.useProjectHostname===!1&&(r=`/projects/${n}/datasets`),ke(lt(M(this,mt),M(this,xn),{uri:r,tag:null}))}getEmbeddingsSettings(t){return Mn("dataset",M(this,mt).config()),Gi(t),ke(lt(M(this,mt),M(this,xn),{uri:Uu(M(this,mt),t),tag:null}))}editEmbeddingsSettings(t,n){return Mn("dataset",M(this,mt).config()),Gi(t),ke(lt(M(this,mt),M(this,xn),{method:"PUT",uri:Uu(M(this,mt),t),body:n,tag:null}))}}mt=new WeakMap,xn=new WeakMap;function Uu(e,t){const n=e.config();return n.useProjectHostname===!1?`/projects/${n.projectId}/datasets/${t}/settings/embeddings`:`/datasets/${t}/settings/embeddings`}function Ci(e,t,n,r,s){return Mn("dataset",e.config()),Gi(r),lt(e,t,{method:n,uri:`/datasets/${r}`,body:s,tag:null})}var Ii,Pa;class kw{constructor(t,n){ve(this,Ii);ve(this,Pa);be(this,Ii,t),be(this,Pa,n)}getPlaybackInfo(t,n={}){var l;const r=M(this,Ii).config(),s=(l=r.resource||r["~experimental_resource"])==null?void 0:l.id,{instanceId:i,library
68Id:o}=D5(t),c=o||s;if(!c)throw new Error("Could not determine Media Library ID - you need to provide a valid Media Library ID in the client config or a Media Library GDR");const a=j5(i,c),u=F5(n);return lt(M(this,Ii),M(this,Pa),{method:"GET",uri:a,query:u})}}Ii=new WeakMap,Pa=new WeakMap;var Oa,xa;class L5{constructor(t,n){ve(this,Oa);ve(this,xa);be(this,Oa,t),be(this,xa,n)}getPlaybackInfo(t,n={}){return ke(new kw(M(this,Oa).observable,M(this,xa)).getPlaybackInfo(t,n))}}Oa=new WeakMap,xa=new WeakMap;const M5=/^media-library:(ml[^:]+):([^:]+)$/;function N5(e){return typeof e=="object"&&"_ref"in e}function D5(e){const t=N5(e)?e._ref:e,n=M5.exec(t);if(n){const[,r,s]=n;return{libraryId:r,instanceId:s}}if(typeof e=="string"&&e.startsWith("video-"))return{instanceId:e};throw new Error(`Invalid video asset instance identifier "${t}": must be a valid video instance id or a Global Dataset Reference (GDR) to the video asset in the Media Library`)}function j5(e,t){return`/media-libraries/${t}/video/${e}/playback-info`}function F5(e){const t={};if(e.transformations){const{thumbnail:n,animated:r,storyboard:s}=e.transformations;n&&(n.width&&(t.thumbnailWidth=n.width),n.height&&(t.thumbnailHeight=n.height),n.time!==void 0&&(t.thumbnailTime=n.time),n.fit&&(t.thumbnailFit=n.fit),n.format&&(t.thumbnailFormat=n.format)),r&&(r.width&&(t.animatedWidth=r.width),r.height&&(t.animatedHeight=r.height),r.start!==void 0&&(t.animatedStart=r.start),r.end!==void 0&&(t.animatedEnd=r.end),r.fps&&(t.animatedFps=r.fps),r.format&&(t.animatedFormat=r.format)),s&&s.format&&(t.storyboardFormat=s.format)}return e.expiration&&(t.expiration=e.expiration),t}var $i,Ri;class H5{constructor(t,n){ve(this,$i);ve(this,Ri);be(this,$i,t),be(this,Ri,n)}list(t){const n={},r="/projects";return(t==null?void 0:t.includeMembers)===!1&&(n.includeMembers="false"),(t==null?void 0:t.includeFeatures)===!1&&(n.includeFeatures="false"),t!=null&&t.organizationId&&(n.organizationId=t.organizationId),t!=null&&t.onlyExplicitMembership&&(n.onlyExplicitMembership="true"),lt(M(this,$i),M(this,Ri),{uri:r,query:n})}getById(t){return lt(M(this,$i),M(this,Ri),{uri:`/projects/${t}`})}}$i=new WeakMap,Ri=new WeakMap;var Pi,Oi;class U5{constructor(t,n){ve(this,Pi);ve(this,Oi);be(this,Pi,t),be(this,Oi,n)}list(t){const n={},r="/projects";return(t==null?void 0:t.includeMembers)===!1&&(n.includeMembers="false"),(t==null?void 0:t.includeFeatures)===!1&&(n.includeFeatures="false"),t!=null&&t.organizationId&&(n.organizationId=t.organizationId),t!=null&&t.onlyExplicitMembership&&(n.onlyExplicitMembership="true"),ke(lt(M(this,Pi),M(this,Oi),{uri:r,query:n}))}getById(t){return ke(lt(M(this,Pi),M(this,Oi),{uri:`/projects/${t}`}))}}Pi=new WeakMap,Oi=new WeakMap;const Hy=hx("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",8),Vu=(e,t)=>t?ic(e,t):q1(e);function Bu(e,{releaseId:t,publishedId:n,document:r}){if(n&&r._id){const s=Vu(n,t);return Px(s,r),s}if(r._id){const s=jl(r._id),i=Fl(r._id);if(!s&&!i)throw new Error(`\`${e}()\` requires a document with an \`_id\` that is a version or draft ID`);if(t){if(s)throw new Error(`\`${e}()\` was called with a document ID (\`${r._id}\`) that is a draft ID, but a release ID (\`${t}\`) was also provided.`);const o=W1(r._id);if(o!==t)throw new Error(`\`${e}()\` was called with a document ID (\`${r._id}\`) that is a version ID, but the release ID (\`${t}\`) does not match the document's version ID (\`${o}\`).`)}return r._id}if(n)return Vu(n,t);throw new Error(`\`${e}()\` requires either a publishedId or a document with an \`_id\``)}const V5=(e,t)=>{if(typeof e=="object"&&e!==null&&("releaseId"in e||"metadata"in e)){const{releaseId:n=Hy(),metadata:r={}}=e;return[n,r,t]}return[Hy(),{},e]},Iw=(e,t)=>{const[n,r,s]=V5(e,t),i={...r,releaseType:r.releaseType||"undecided"};return{action:{actionType:"sanity.action.release.create",releaseId:n,metadata:i},options:s}};var Ht,Ut;class B5{constructor(t,n){ve(this,Ht);ve(this,Ut);be(this,Ht,t),be(this,Ut,n)}get({releaseId:t},n){return Ji(M(this,Ht),M(this,Ut),`_.releases.${t}`,n)}create(t,n){const{action:r,options:s}=Iw(t,n),{releaseId:i,metadata:o}=r;return et(M(this,Ht),M(this,Ut),r,s).pipe(Rt(c=>({...c,releaseId:i,metadata:o})))}edit({releaseId:t,patch:n},r){const s={actionType:"sanity.action.release.edit",releaseId:t,patch:n};return et(M(this,Ht),M(this,Ut),s,r)}publish({releaseId:t},n){const r={actionType:"sanity.action.release.publish",releaseId:t};return et(M(this,Ht),M(this,Ut),r,n)}archive({releaseId:t},n){const r={actionType:"sanity.action.release.archive",releaseId:t};return et(M(this,Ht),M(this,Ut),r,n)}unarchive({releaseId:t},n){const r={actionType:"sanity.action.release.unarchive",releaseId:t};return et(M(this,Ht),M(this,Ut),r,n)}schedule({releaseId:t,publishAt:n},r){const s={actionType:"sanity.action.release.schedule",releaseId:t,publishAt:n};return et(M(this,Ht),M(this,Ut),s,r)}unschedule({releaseId:t},n){const r={actionType:"sanity.action.release.unschedule",releaseId:t};return et(M(this,Ht),M(this,Ut),r,n)}delete({releaseId:t},n){const r={actionType:"sanity.action.release.delete",releaseId:t};return et(M(this,Ht),M(this,Ut),r,n)}fetchDocuments({releaseId:t},n){return cw(M(this,Ht),M(this,Ut),t,n)}}
68Ht=new WeakMap,Ut=new WeakMap;var Vt,Bt;class q5{constructor(t,n){ve(this,Vt);ve(this,Bt);be(this,Vt,t),be(this,Bt,n)}get({releaseId:t},n){return ke(Ji(M(this,Vt),M(this,Bt),`_.releases.${t}`,n))}async create(t,n){const{action:r,options:s}=Iw(t,n),{releaseId:i,metadata:o}=r;return{...await ke(et(M(this,Vt),M(this,Bt),r,s)),releaseId:i,metadata:o}}edit({releaseId:t,patch:n},r){const s={actionType:"sanity.action.release.edit",releaseId:t,patch:n};return ke(et(M(this,Vt),M(this,Bt),s,r))}publish({releaseId:t},n){const r={actionType:"sanity.action.release.publish",releaseId:t};return ke(et(M(this,Vt),M(this,Bt),r,n))}archive({releaseId:t},n){const r={actionType:"sanity.action.release.archive",releaseId:t};return ke(et(M(this,Vt),M(this,Bt),r,n))}unarchive({releaseId:t},n){const r={actionType:"sanity.action.release.unarchive",releaseId:t};return ke(et(M(this,Vt),M(this,Bt),r,n))}schedule({releaseId:t,publishAt:n},r){const s={actionType:"sanity.action.release.schedule",releaseId:t,publishAt:n};return ke(et(M(this,Vt),M(this,Bt),s,r))}unschedule({releaseId:t},n){const r={actionType:"sanity.action.release.unschedule",releaseId:t};return ke(et(M(this,Vt),M(this,Bt),r,n))}delete({releaseId:t},n){const r={actionType:"sanity.action.release.delete",releaseId:t};return ke(et(M(this,Vt),M(this,Bt),r,n))}fetchDocuments({releaseId:t},n){return ke(cw(M(this,Vt),M(this,Bt),t,n))}}Vt=new WeakMap,Bt=new WeakMap;var La,Ma;class W5{constructor(t,n){ve(this,La);ve(this,Ma);be(this,La,t),be(this,Ma,n)}getById(t){return lt(M(this,La),M(this,Ma),{uri:`/users/${t}`})}}La=new WeakMap,Ma=new WeakMap;var Na,Da;class z5{constructor(t,n){ve(this,Na);ve(this,Da);be(this,Na,t),be(this,Da,n)}getById(t){return ke(lt(M(this,Na),M(this,Da),{uri:`/users/${t}`}))}}Na=new WeakMap,Da=new WeakMap;var gr,xi,Ue;const rl=class rl{constructor(t,n=Bo){le(this,"assets");le(this,"datasets");le(this,"live");le(this,"mediaLibrary");le(this,"projects");le(this,"users");le(this,"agent");le(this,"releases");ve(this,gr);ve(this,xi);ve(this,Ue);le(this,"listen",Cw);this.config(n),be(this,xi,t);const r=n._requestHandler;be(this,Ue,r?(()=>{let s;return(i,o)=>{const c=i;return s||(s=new qu(t,{...n,_requestHandler:void 0})),r(c,a=>t(a,o),s)}})():t),this.assets=new b5(this,M(this,Ue)),this.datasets=new O5(this,M(this,Ue)),this.live=new Aw(this),this.mediaLibrary={video:new kw(this,M(this,Ue))},this.projects=new H5(this,M(this,Ue)),this.users=new W5(this,M(this,Ue)),this.agent={action:new _5(this,M(this,Ue))},this.releases=new B5(this,M(this,Ue))}clone(){return new rl(M(this,xi),this.config())}config(t){if(t===void 0)return{...M(this,gr)};if(M(this,gr)&&M(this,gr).allowReconfigure===!1)throw new Error("Existing client instance cannot be reconfigured - use `withConfig(newConfig)` to return a new client");return be(this,gr,Q1(t,M(this,gr)||{})),this}withConfig(t){const n=this.config();return new rl(M(this,xi),{...n,...t,stega:{...n.stega||{},...typeof(t==null?void 0:t.stega)=="boolean"?{enabled:t.stega}:(t==null?void 0:t.stega)||{}}})}fetch(t,n,r){return ow(this,M(this,Ue),M(this,gr).stega,t,n,r)}getDocument(t,n){if((n==null?void 0:n.includeAllVersions)===!0)return Ji(this,M(this,Ue),t,{...n,includeAllVersions:!0});const r={signal:n==null?void 0:n.signal,tag:n==null?void 0:n.tag,releaseId:n==null?void 0:n.releaseId,...n&&"includeAllVersions"in n?{includeAllVersions:!1}:{}};return Ji(this,M(this,Ue),t,r)}getDocuments(t,n){return aw(this,M(this,Ue),t,n)}create(t,n){return Ul(this,M(this,Ue),t,"create",n)}createIfNotExists(t,n){return uw(this,M(this,Ue),t,n)}createOrReplace(t,n){return lw(this,M(this,Ue),t,n)}createVersion({document:t,publishedId:n,releaseId:r,baseId:s,ifBaseRevisionId:i},o){if(!t)return dw(this,M(this,Ue),n,s,r,i,o);const c=Bu("createVersion",{document:t,publishedId:n,releaseId:r}),a={...t,_id:c},u=n||oc(t._id);return fw(this,M(this,Ue),a,u,o)}delete(t,n){return hw(this,M(this,Ue),t,n)}discardVersion({releaseId:t,publishedId:n},r,s){const i=Vu(n,t);return pw(this,M(this,Ue),i,r,s)}replaceVersion({document:t,publishedId:n,releaseId:r},s){const i=Bu("replaceVersion",{document:t,publishedId:n,releaseId:r}),o={...t,_id:i};return gw(this,M(this,Ue),o,s)}unpublishVersion({releaseId:t,publishedId:n},r){const s=ic(n,t);return mw(this,M(this,Ue),s,n,r)}mutate(t,n){return yw(this,M(this,Ue),t,n)}patch(t,n){return new js(t,n,this)}transaction(t){return new Hu(t,this)}action(t,n){return et(this,M(this,Ue),t,n)}request(t){return lt(this,M(this,Ue),t)}getUrl(t,n){return Op(this,t,n)}getDataUrl(t,n){return fn(this,t,n)}};gr=new WeakMap,xi=new WeakMap,Ue=new WeakMap;let hh=rl;var mr,Li,Fe;const Xo=class Xo{constructor(t,n=Bo){le(this,"assets");le(this,"datasets");le(this,"live");le(this,"mediaLibrary");le(this,"projects");le(this,"users");le(this,"agent");le(this,"releases");le(this,"observable");ve(this,mr);ve(this,Li);ve(this,Fe);le(this,"listen",Cw);this.config(n),be(this,Li,t);const r=n._requestHandler;be(this,Fe,r?(()=>{let s;return(i,o)=>{const c=i;return s||(s=new Xo(t,{...n,_requestHandler:void 0})),r(c,a=>t(a,o),s)}})():t),this.assets=new w5(this,M(this,Fe)),this.datasets=new x5(this,M(this,Fe)),this.live=new Aw(this),this.mediaLibrary={video:new L5(this,M(this,Fe))},this.projects=new U5(this,M(this,Fe)),this.users=new z5(this,M(this,Fe)),this.agent={action:new v5(this,M(this,Fe))},this.releases=new q5(this,M(this,Fe)),this.observable=new hh(t,n)}clone(){return new Xo(M(this,Li),this.config())}config(t){if(t===void 0)return{...M(this,mr)};if(M(this,mr)&&M(this,mr).allowReconfigure===!1)throw new Error("Existing client instance cannot be reconfigured - use `withConfig(newConfig)` to return a new client");return this.observable&&this.observable.config(t),be(this,mr,Q1(t,M(this,mr)||{})),this}withConfig(t){const n=this.config();return new Xo(M(this,Li),{...n,...t,stega:{...n.stega||{},...typeof(t==null?void 0:t.stega)=="boolean"?{enabled:t.stega}:(t==null?void 0:t.stega)||{}}})}
68fetch(t,n,r){return ke(ow(this,M(this,Fe),M(this,mr).stega,t,n,r))}getDocument(t,n){if((n==null?void 0:n.includeAllVersions)===!0)return ke(Ji(this,M(this,Fe),t,{...n,includeAllVersions:!0}));const r={signal:n==null?void 0:n.signal,tag:n==null?void 0:n.tag,releaseId:n==null?void 0:n.releaseId,...n&&"includeAllVersions"in n?{includeAllVersions:!1}:{}};return ke(Ji(this,M(this,Fe),t,r))}getDocuments(t,n){return ke(aw(this,M(this,Fe),t,n))}create(t,n){return ke(Ul(this,M(this,Fe),t,"create",n))}createIfNotExists(t,n){return ke(uw(this,M(this,Fe),t,n))}createOrReplace(t,n){return ke(lw(this,M(this,Fe),t,n))}createVersion({document:t,publishedId:n,releaseId:r,baseId:s,ifBaseRevisionId:i},o){if(!t)return Yf(dw(this,M(this,Fe),n,s,r,i,o));const c=Bu("createVersion",{document:t,publishedId:n,releaseId:r}),a={...t,_id:c},u=n||oc(t._id);return Yf(fw(this,M(this,Fe),a,u,o))}delete(t,n){return ke(hw(this,M(this,Fe),t,n))}discardVersion({releaseId:t,publishedId:n},r,s){const i=Vu(n,t);return ke(pw(this,M(this,Fe),i,r,s))}replaceVersion({document:t,publishedId:n,releaseId:r},s){const i=Bu("replaceVersion",{document:t,publishedId:n,releaseId:r}),o={...t,_id:i};return Yf(gw(this,M(this,Fe),o,s))}unpublishVersion({releaseId:t,publishedId:n},r){const s=ic(n,t);return ke(mw(this,M(this,Fe),s,n,r))}mutate(t,n){return ke(yw(this,M(this,Fe),t,n))}patch(t,n){return new Zr(t,n,this)}transaction(t){return new Fu(t,this)}action(t,n){return ke(et(this,M(this,Fe),t,n))}request(t){return ke(lt(this,M(this,Fe),t))}dataRequest(t,n,r){return ke(Qs(this,M(this,Fe),t,n,r))}getUrl(t,n){return Op(this,t,n)}getDataUrl(t,n){return fn(this,t,n)}};mr=new WeakMap,Li=new WeakMap,Fe=new WeakMap;let qu=Xo;function K5(e,t){return{requester:Ly(e),createClient:n=>{const r=Ly(e,{ignoreWarnings:n.ignoreWarnings});return new t((s,i)=>(i||r)({maxRedirects:0,maxRetries:n.maxRetries,retryDelay:n.retryDelay,lineage:n.lineage,...s}),n)}}}var G5=[];const Y5=K5(G5,qu),Uy=Y5.createClient,Vy=e=>{const t=nc(),n={...e};let r=Uy(n),s=fy(t.visualEditing);const i=nP(t.liveContent);return{client:r,config:n,fetch:(...o)=>r.fetch(...o),liveStore:i,queryStore:s,setToken(o){n.token=o,r=Uy(n),s&&t.visualEditing&&(s=fy(t.visualEditing))}}};function nu(e,t){var u;const n=typeof e=="string"?e:"default",r=qe();if((u=r._sanity)!=null&&u[n])return r._sanity[n];r._sanity=r._sanity||{};const s=nc(),{additionalClients:i={},liveContent:o,visualEditing:c,...a}=s;return!a.disableSmartCdn&&r.$preview?a.useCdn=!1:!a.useCdn&&!a.token&&(a.useCdn=!0),n==="default"?(r._sanity.default=Vy(a),r._sanity.default):(r._sanity[n]=Vy(Ba(i[n],a)),r._sanity[n])}const J5="sanity-preview-perspective",$w=()=>{const{visualEditing:e}=nc();if(!e)return;const t=Cl("sanity-preview",()=>!1),n=we({get(){return e.previewMode===!1?!0:t.value},set(s){t.value=s}});return Jn({enabled:n,inFrame:!!(window.self!==window.top||window.opener),token:e.token,previewMode:e.previewMode,previewModeId:e.previewModeId})},X5=(e,t)=>{const n=typeof e=="string"&&e.includes(",")?e.split(","):e;try{return Hl(n),n==="raw"?t:n}catch{return t}},Q5=e=>{const t=$w(),n=j3(J5,{default:()=>null,sameSite:"none",secure:!0,path:"/"});return we({get(){return e||(t!=null&&t.enabled?X5(n.value,"previewDrafts"):"published")},set(r){try{Hl(r),n.value=r}catch{n.value=null}}})},Z5={lang:void 0,message:void 0,abortEarly:void 0,abortPipeEarly:void 0};function eL(e){return Z5}let ed;function tL(e){return ed==null?void 0:ed.get(e)}let td;function nL(e){return td==null?void 0:td.get(e)}let nd;function rL(e,t){var n;return(n=nd==null?void 0:nd.get(e))==null?void 0:n.get(t)}function sL(e){var n,r;const t=typeof e;return t==="string"?`"${e}"`:t==="number"||t==="bigint"||t==="boolean"?`${e}`:t==="object"||t==="function"?(e&&((r=(n=Object.getPrototypeOf(e))==null?void 0:n.constructor)==null?void 0:r.name))??"null":t}function Wu(e,t,n,r,s){const i=s&&"input"in s?s.input:n.value,o=(s==null?void 0:s.expected)??e.expects??null,c=(s==null?void 0:s.received)??sL(i),a={kind:e.kind,type:e.type,input:i,expected:o,received:c,message:`Invalid ${t}: ${o?`Expected ${o} but r`:"R"}eceived ${c}`,requirement:e.requirement,path:s==null?void 0:s.path,issues:s==null?void 0:s.issues,lang:r.lang,abortEarly:r.abortEarly,abortPipeEarly:r.abortPipeEarly},u=e.kind==="schema",l=(s==null?void 0:s.message)??e.message??rL(e.reference,a.lang)??(u?nL(a.lang):null)??r.message??tL(a.lang);l!==void 0&&(a.message=typeof l=="function"?l(a):l),u&&(n.typed=!1),n.issues?n.issues.push(a):n.issues=[a]}const By=new WeakMap;function uc(e){let t=By.get(e);return t||(t={version:1,vendor:"valibot",validate(n){return e["~run"]({value:n},eL())}},By.set(e,t)),t}
68function Rw(e,t){return{kind:"validation",type:"min_length",reference:Rw,async:!1,expects:`>=${e}`,requirement:e,message:t,"~run"(n,r){return n.typed&&n.value.length<this.requirement&&Wu(this,"length",n,r,{received:`${n.value.length}`}),n}}}const iL={abortEarly:!0};function Pw(e,t,n){return typeof e.fallback=="function"?e.fallback(t,n):e.fallback}function oL(e,t){return{...e,fallback:t,get"~standard"(){return uc(this)},"~run"(n,r){const s=e["~run"](n,r);return s.issues?{typed:!0,value:Pw(this,s,r)}:s}}}function Ow(e,t,n){return typeof e.default=="function"?e.default(t,n):e.default}function aL(e,t){return!e["~run"]({value:t},iL).issues}function xw(e,t){return{kind:"schema",type:"object",reference:xw,expects:"Object",async:!1,entries:e,message:t,get"~standard"(){return uc(this)},"~run"(n,r){var i;const s=n.value;if(s&&typeof s=="object"){n.typed=!0,n.value={};for(const o in this.entries){const c=this.entries[o];if(o in s||(c.type==="exact_optional"||c.type==="optional"||c.type==="nullish")&&c.default!==void 0){const a=o in s?s[o]:Ow(c),u=c["~run"]({value:a},r);if(u.issues){const l={type:"object",origin:"value",input:s,key:o,value:a};for(const f of u.issues)f.path?f.path.unshift(l):f.path=[l],(i=n.issues)==null||i.push(f);if(n.issues||(n.issues=u.issues),r.abortEarly){n.typed=!1;break}}u.typed||(n.typed=!1),n.value[o]=u.value}else if(c.fallback!==void 0)n.value[o]=Pw(c);else if(c.type!=="exact_optional"&&c.type!=="optional"&&c.type!=="nullish"&&(Wu(this,"key",n,r,{input
68:void 0,expected:`"${o}"`,path:[{type:"object",origin:"key",input:s,key:o,value:s[o]}]}),r.abortEarly))break}}else Wu(this,"type",n,r);return n}}}function Lw(e,t){return{kind:"schema",type:"optional",reference:Lw,expects:`(${e.expects} | undefined)`,async:!1,wrapped:e,default:t,get"~standard"(){return uc(this)},"~run"(n,r){return n.value===void 0&&(this.default!==void 0&&(n.value=Ow(this,n,r)),n.value===void 0)?(n.typed=!0,n):this.wrapped["~run"](n,r)}}}function xp(e){return{kind:"schema",type:"string",reference:xp,expects:"string",async:!1,message:e,get"~standard"(){return uc(this)},"~run"(t,n){return typeof t.value=="string"?t.typed=!0:Wu(this,"type",t,n),t}}}function cL(...e){return{...e[0],pipe:e,get"~standard"(){return uc(this)},"~run"(t,n){for(const r of e)if(r.kind!=="metadata"){if(t.issues&&(r.kind==="schema"||r.kind==="transformation")){t.typed=!1;break}(!t.issues||!n.abortEarly&&!n.abortPipeEarly)&&(t=r["~run"](t,n))}return t}}}const ru=cL(xp(),Rw(1)),So=Lw(ru),uL=xw({baseUrl:ru,dataset:So,id:ru,path:ru,projectId:So,tool:So,type:So,workspace:So,perspective:oL(xp(),"drafts")});function lL(e){return aL(uL,e)}function fL(e){return e!==null&&Array.isArray(e)}function dL(e){let t="";for(const n of e){if(typeof n=="string"){t&&(t+="."),t+=n;continue}if(typeof n=="number"){t&&(t+=":"),t+=`${n}`;continue}if(fL(n)){t&&(t+=":"),t+=`${n.join(",")}}`;continue}if(n._key){t&&(t+=":"),t+=`${n._key}`;continue}}return t}function hL(e){const{id:t,path:n,baseUrl:r,tool:s,workspace:i,type:o}=e;return lL(e)?[["id",oc(t)],["type",o],["path",dL($p.fromString(n))],["base",encodeURIComponent(r)],["workspace",i],["tool",s]].filter(([,c])=>!!c).map(c=>c.join("=")).join(";"):void 0}const pL=(e,t,n,r)=>{if(!t||!n)return;const s=ox(r),i=ux({resultPath:s,resultSourceMap:t,studioUrl:n});if(i)return hL({baseUrl:i.baseUrl,workspace:i.workspace,tool:i.tool,type:i.type,id:i.id,path:typeof i.path=="string"?i.path:$p.toString(ix(i.path))})};function Mw(e,t,n,r){const s=o=>o?typeof o=="string"?$p.fromString(o):o:[],i=s(r);return Object.assign(o=>pL(e,t,n,[...i,...s(o)]),{scope:o=>Mw(e,t,n,[...i,...s(o)])})}const gL=()=>{const e=nc();return{fetch:(t,n,r)=>{var s;if(!e.visualEditing)throw new Error("Visual editing is not configured");return $fetch((s=e.visualEditing)==null?void 0:s.proxyEndpoint,{method:"POST",body:{query:t,params:n,options:r}})}}},mL=({client:e,queryKey:t,liveStore:n})=>{const r=Cl(`tags:${t}`,()=>[]);let s=()=>{},i=()=>{};if(n){const c=n.subscribe(t,(a,u)=>{const l=new Set(a);r.value.some(f=>l.has(f))&&(u(),I3(t))});s=c.unsubscribe,i=c.getLastLiveEventId}return{fetchTags:async(c,a,u)=>{const{syncTags:l}=await e.fetch(c,a,{...u,resultSourceMap:!1,returnQuery:!1,stega:!1,tag:["fetch-sync-tags"].filter(Boolean).join(".")});r.value=(l==null?void 0:l.map(f=>`sanity:${f}`))||[]},getLastLiveEventId:i,unsubscribe:s}},yL=({onSnapshot:e,params:t,query:n,queryStore:r})=>{let s=()=>{};if(r){const i=o=>r.createFetcherStore(n,t?JSON.parse(JSON.stringify(t)):void 0,void 0).subscribe(u=>{u.data&&e(u.data,u.sourceMap)});s=i(),t&&Zt(t,(o,c,a)=>{a(()=>s()),s=i()})}return{unsubscribe:s}},_L=({config:e,client:t,perspective:n})=>{var r;if(n==="published")return t.config().token||void 0;if((r=e.liveContent)!=null&&r.serverToken)return e.liveContent.serverToken;if(e.visualEditing)return e.visualEditing.token};function Gn(e,t,n={}){var D;const{client:r,perspective:s,stega:i,...o}=n,c=nu(r),a=nc(),u=$w(),l=c.client.config(),f=t?Jn(t):void 0,h="sanity-"+_3(e+(f?JSON.stringify(f):"")),p=Q5(s),d=i??(((D=l.stega)==null?void 0:D.enabled)&&typeof l.stega.studioUrl<"u"&&(u==null?void 0:u.enabled));o.watch=o.watch||[],o.watch.push(p),f&&o.watch.push(f);const g=tt(null),v=tt(null),_=tt(()=>{}),y=(H,B)=>{var V;g.value=H,v.value=B||null,_.value=Mw(H,B,(V=a.visualEditing)==null?void 0:V.studioUrl)},m=p.value==="published"?c.client:gL();let b,E;const $=tP();Zt($,(H,B,V)=>{var P;V(()=>{var R;(R=E==null?void 0:E.unsubscribe)==null||R.call(E),b==null||b.unsubscribe()});const C=!!(u!=null&&u.enabled&&((P=a.visualEditing)==null?void 0:P.mode)==="live-visual-editing"&&H===!0);if(C){E=yL({onSnapshot:y,params:f,query:e,queryStore:c.queryStore});return}a.liveContent&&!C&&(b=mL({client:m,liveStore:c.liveStore,queryKey:h}))},{immediate:!0});const A=A3(h,async()=>{const H=p.value==="published",B=_L({config:a,client:m,perspective:p.value}),V={cacheMode:H?"noStale":void 0,filterResponse:!1,lastLiveEventId:b==null?void 0:b.getLastLiveEventId(),perspective:p.value,resultSourceMap:"withKeyArraySelector",stega:d,token:B,useCdn:H};await(b==null?void 0:b.fetchTags(e,f,V));const{result:C,resultSourceMap:P}=await m.fetch(e,f||{},V);return y(C,P),{data:C,sourceMap:P}},o);return Object.assign(new Promise(H=>{A.then(B=>{y(B.data.value.data,B.data.value.sourceMap),H({...A,data:g,sourceMap:v,encodeDataAttribute:_})})}),{...A,data:g,sourceMap:v,encodeDataAttribute:_})}
68function Nw(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}const vL={key:0,class:"section section--with-decor","data-aos":"fade-up"},bL={class:"container"},wL={class:"head head--centered head--mb2"},SL={class:"overline"},EL={key:0,class:"h2"},TL={class:"services"},CL=["id"],AL={class:"splide__track"},kL={class:"splide__list"},IL={class:"services__item"},$L={class:"services__icon"},RL={class:"services__title"},PL={class:"services__text"},OL={key:1,class:"section","data-aos":"fade-up"},xL={class:"container"},LL={class:"head head--centered"},ML={class:"overline"},NL={key:0,class:"h2"},DL={class:"services services--with-decor"},jL={class:"services__list"},FL={class:"services__icon"},HL={class:"services__title"},UL={class:"services__text"},VL={__name:"servicesBlock",props:{_key:{type:String},title:{type:String},subtitle:{type:String},carousel:{type:Boolean},services:{type:Array}},async setup(e){let t,n;const r=e,{data:s}=(r==null?void 0:r.services)==null||(r==null?void 0:r.services.length)===0?([t,n]=Wn(()=>Gn("*[_type == 'service'] | order(order asc)")),t=await t,n(),t):([t,n]=Wn(()=>Gn("*[_type == 'service' && _id in $serviceIds] | order(order asc)",{serviceIds:r==null?void 0:r.services.map(i=>i._ref)})),t=await t,n(),t);return jr(()=>{r!=null&&r.carousel&&new tc("#_"+r._key,{perPage:1,perMove:1,gap:24,arrows:!1,pagination:!1,drag:"free",mediaQuery:"min",breakpoints:{640:{perPage:2},1280:{perPage:4}}}).mount()}),(i,o)=>{const c=er,a=Ys;return r!=null&&r.carousel?(L(),N("section",vL,[w("div",bL,[w("div",wL,[w("div",SL,K(r==null?void 0:r.title),1),r!=null&&r.subtitle?(L(),N("h2",EL,K(r==null?void 0:r.subtitle),1)):he("",!0)]),w("div",TL,[w("div",{class:"splide",id:"_"+r._key,"aria-label":"Services Carousel"},[w("div",AL,[w("div",kL,[(L(!0),N(ce,null,Ae(re(s),u=>{var l;return L(),N("div",{class:"splide__slide",key:u._id},[w("div",IL,[de(a,{class:"services__link",to:"/services/"+((l=u.slug)==null?void 0:l.current)},{default:je(()=>[w("div",$L,[de(c,{url:i.$getMediaUrl(u.icon)}
68,null,8,["url"])]),w("h3",RL,K(u.title),1),w("div",PL,K(u.subtitle),1)]),_:2},1032,["to"])])])}),128))])])],8,CL)])])])):(L(),N("section",OL,[w("div",xL,[w("div",LL,[w("div",ML,K(r==null?void 0:r.title),1),r!=null&&r.subtitle?(L(),N("h2",NL,K(r==null?void 0:r.subtitle),1)):he("",!0)]),w("div",DL,[w("div",jL,[(L(!0),N(ce,null,Ae(re(s),u=>{var l;return L(),N("div",{class:"services__item",key:u._id},[de(a,{class:"services__link",to:"/services/"+((l=u.slug)==null?void 0:l.current)},{default:je(()=>[w("div",FL,[de(c,{url:i.$getMediaUrl(u.icon)},null,8,["url"])]),w("h3",HL,K(u.title),1),w("div",UL,K(u.intro),1)]),_:2},1032,["to"])])}),128))])])])]))}}},BL={class:"container"},qL={key:0,class:"head head--centered"},WL={class:"overline"},zL={class:"h2"},KL={class:"features"},GL={class:"features__list"},YL={class:"features__item"},JL={class:"features__icon"},XL={class:"features__title"},QL={class:"features__text"},ZL={__name:"featuresBlock",props:{noTopPadding:{type:Boolean},noBottomPadding:{type:Boolean},tagTitle:{type:String},title:{type:String},items:{type:Array}},setup(e){const t=e;return(n,r)=>{const s=er;return L(),N("section",{class:Ge(["section",[{ntp:t==null?void 0:t.noTopPadding},{nbp:t==null?void 0:t.noBottomPadding}]]),"data-aos":"fade-up"},[w("div",BL,[t!=null&&t.title||t!=null&&t.tagTitle?(L(),N("div",qL,[w("div",WL,K(t==null?void 0:t.tagTitle),1),w("h2",zL,K(t==null?void 0:t.title),1)])):he("",!0),w("div",KL,[w("ul",GL,[(L(!0),N(ce,null,Ae(t==null?void 0:t.items,i=>(L(),N("li",YL,[w("div",JL,[de(s,{url:n.$getMediaUrl(i.icon)},null,8,["url"])]),w("h3",XL,K(i==null?void 0:i.title),1),w("div",QL,K(i.description),1)]))),256))])])])],2)}}},e6={class:"section","data-aos":"zoom-in-up","data-aos-anchor-placement":"top-center"},t6={class:"container"},n6={class:"video"},r6={class:"video__label"},s6=["src"],i6={__name:"videoBlock",props:{title:{type:String},poster:{type:Object},url:{type:String}},setup(e){const t=e,n=r=>{const s=r.match(/(?:youtu\.be\/|youtube\.com\/(?:watch\?v=|embed\/|v\/|shorts\/))([\w-]{11})/);return s&&s[1]?`https://www.youtube-nocookie.com/embed/${s[1]}`:""};return(r,s)=>(L(),N("section",e6,[w("div",t6,[w("div",n6,[w("div",r6,[s[0]||(s[0]=w("svg",{width:"19",height:"18",viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[w("path",{d:"M14.7266 2.25H4.22656C3.39814 2.25 2.72656 2.92157 2.72656 3.75V14.25C2.72656 15.0784 3.39814 15.75 4.22656 15.75H14.7266C15.555 15.75 16.2266 15.0784 16.2266 14.25V3.75C16.2266 2.92157 15.555 2.25 14.7266 2.25Z",stroke:"black","stroke-linecap":"round","stroke-linejoin":"round"}),w("path",{d:"M7.22656 6L11.7266 9L7.22656 12V6Z",stroke:"black","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),it(" "+K(t.title),1)]),w("iframe",{class:"video__embed",src:n(t==null?void 0:t.url),frameborder:"0",referrerpolicy:"strict-origin-when-cross-origin",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:""},null,8,s6)])])]))}};/*! 69 * @splidejs/splide-extension-auto-scroll 70 * Version : 0.5.3 71 * License : MIT 72 * Copyright: 2022 Naotoshi Fujita 73 */function o6(e){e.length=0}
vendor: 4,434 bytes, line 73
73function Lp(e,t,n){return Array.prototype.slice.call(e,t,n)}function Vl(e){return e.bind.apply(e,[null].concat(Lp(arguments,1)))}function qy(e){return requestAnimationFrame(e)}function Mp(e,t){return typeof t===e}var Dw=Array.isArray;Vl(Mp,"function");Vl(Mp,"string");Vl(Mp,"undefined");function jw(e){return Dw(e)?e:[e]}function Wy(e,t){jw(e).forEach(t)}var a6=Object.keys;function c6(e,t,n){if(e){var r=a6(e);r=r;for(var s=0;s<r.length;s++){var i=r[s];if(i!=="__proto__"&&t(e[i],i)===!1)break}}return e}function u6(e){return Lp(arguments,1).forEach(function(t){c6(t,function(n,r){e[r]=t[r]})}),e}var l6=Math.min;function f6(){var e=[];function t(o,c,a,u){s(o,c,function(l,f,h){var p="addEventListener"in l,d=p?l.removeEventListener.bind(l,f,a,u):l.removeListener.bind(l,a);p?l.addEventListener(f,a,u):l.addListener(a),e.push([l,f,h,a,d])})}function n(o,c,a){s(o,c,function(u,l,f){e=e.filter(function(h){return h[0]===u&&h[1]===l&&h[2]===f&&(!a||h[3]===a)?(h[4](),!1):!0})})}function r(o,c,a){var u,l=!0;return typeof CustomEvent=="function"?u=new CustomEvent(c,{bubbles:l,detail:a}):(u=document.createEvent("CustomEvent"),u.initCustomEvent(c,l,!1,a)),o.dispatchEvent(u),u}function s(o,c,a){Wy(o,function(u){u&&Wy(c,function(l){l.split(" ").forEach(function(f){var h=f.split(".");a(u,h[0],h[1])})})})}function i(){e.forEach(function(o){o[4]()}),o6(e)}return{bind:t,unbind:n,dispatch:r,destroy:i}}var zy="move",Ky="moved",d6="updated",Gy="drag",h6="dragged",Yy="scroll",Jy="scrolled",p6="destroy";function g6(e){var t=e?e.event.bus:document.createDocumentFragment(),n=f6();function r(i,o){n.bind(t,jw(i).join(" "),function(c){o.apply(o,Dw(c.detail)?c.detail:[])})}function s(i){n.dispatch(t,i,Lp(arguments,1))}return e&&e.event.on(p6,n.destroy),u6(n,{bus:t,on:r,off:Vl(n.unbind,t),emit:s})}function Fw(e,t,n,r){var s=Date.now,i,o=0,c,a=!0,u=0;function l(){if(!a){if(o=e?l6((s()-i)/e,1):1,n&&n(o),o>=1&&(t(),i=s(),r&&++u>=r))return h();qy(l)}}function f(_){!_&&d(),i=s()-(_?o*e:0),a=!1,qy(l)}function h(){a=!0}function p(){i=s(),o=0,n&&n(o)}function d(){c&&cancelAnimationFrame(c),o=0,c=0,a=!0}function g(_){e=_}function v(){return a}return{start:f,rewind:p,pause:h,cancel:d,set:g,isPaused:v}}function m6(e,t){var n;function r(){n||(n=Fw(t,function(){e(),n=null},null,1),n.start())}return r}var y6="is-active",_6="slide",v6="fade";function Hw(e,t,n){return Array.prototype.slice.call(e,t,n)}function Np(e){return e.bind(null,...Hw(arguments,1))}function Bl(e,t){return typeof t===e}function ph(e){return!Uw(e)&&Bl("object",e)}const b6=Array.isArray;Np(Bl,"function");Np(Bl,"string");const w6=Np(Bl,"undefined");function Uw(e){return e===null}function S6(e){return b6(e)?e:[e]}function zu(e,t){S6(e).forEach(t)}function E6(e,t,n){e&&zu(t,r=>{r&&e.classList[n?"add":"remove"](r)})}const T6=Object.keys;function Vw(e,t,n){if(e){let r=T6(e);r=r;for(let s=0;s<r.length;s++){const i=r[s];if(i!=="__proto__"&&t(e[i],i)===!1)break}}return e}function Xy(e){return Hw(arguments,1).forEach(t=>{Vw(t,(n,r)=>{e[r]=t[r]})}),e}function C6(e,t){zu(e,n=>{zu(t,r=>{n&&n.removeAttribute(r)})})}function Bw(e,t,n){ph(t)?Vw(t,(r,s)=>{Bw(e,s,r)}):zu(e,r=>{Uw(n)||n===""?C6(r,t):r.setAttribute(t,String(n))})}const{min:Qy,max:Zy}=Math;function A6(e,t,n){const r=Qy(t,n),s=Zy(t,n);return Qy(Zy(r,e),s)}const k6={speed:1,autoStart:!0,pauseOnHover:!0,pauseOnFocus:!0},I6={startScroll:"Start auto scroll",pauseScroll:"Pause auto scroll"};function $6(e,t,n){const{on:r,off:s,bind:i,unbind:o}=g6(e),{translate:c,getPosition:a,toIndex:u,getLimit:l}=t.Move,{setIndex:f,getIndex:h}=t.Controller,{orient:p}=t.Direction,{toggle:d}=t.Elements,{Live:g}=t,{root:v}=e,_=m6(t.Arrows.update,500);let y={},m,b,E,$,A,D;function H(){const{autoScroll:X}=n;y=Xy({},k6,ph(X)?X:{})}function B(){e.is(v6)||!m&&n.autoScroll!==!1&&(m=Fw(0,I),C(),R())}function V(){m&&(m.cancel(),m=null,D=void 0,s([zy,Gy,Yy,Ky,Jy]),o(v,"mouseenter mouseleave focusin focusout"),o(d,"click"))}function C(){y.pauseOnHover&&i(v,"mouseenter mouseleave",X=>{E=X.type==="mouseenter",O()}),y.pauseOnFocus&&i(v,"focusin focusout",X=>{$=X.type==="focusin",O()}),y.useToggleButton&&i(d,"click",()=>{b?k():T()}),r(d6,P),r([zy,Gy,Yy],()=>{A=!0,T(!1)}),r([Ky,h6,Jy],()=>{A=!1,O()})}function P(){const{autoScroll:X}=n;X!==!1?(y=Xy({},y,ph(X)?X:{}),B()):V(),m&&!w6(D)&&c(D)}function R(){y.autoStart&&(document.readyState==="complete"?k():i(window,"load",k))}function k(){z()&&(m.start(!0),g.disable(!0),$=E=b=!1,q())}
73function T(X=!0){b||(b=X,q(),z()||(m.pause(),g.disable(!1)))}function O(){b||(E||$||A?T(!1):k())}function I(){const X=a(),se=j(X);X!==se?(c(se),U(D=a())):(T(!1),y.rewind&&e.go(y.speed>0?0:t.Controller.getEnd())),_()}function j(X){const se=y.speed||1;return X+=p(se),e.is(_6)&&(X=A6(X,l(!1),l(!0))),X}function U(X){const{length:se}=e,oe=(u(X)+se)%se;oe!==h()&&(f(oe),t.Slides.update(),t.Pagination.update(),n.lazyLoad==="nearby"&&t.LazyLoad.check())}function q(){if(d){const X=b?"startScroll":"pauseScroll";E6(d,y6,!b),Bw(d,"aria-label",n.i18n[X]||I6[X])}}function z(){return!m||m.isPaused()}return{setup:H,mount:B,destroy:V,play:k,pause:T,isPaused:z}}const R6={class:"section tech","data-aos":"fade-up"},P6={class:"container"},O6={class:"head head--centered"},x6={class:"h3"},L6={class:"tech__slides"},M6={class:"splide",id:"tech-carousel","aria-label":"Tech Carousel"},N6={class:"splide__track"},D6={class:"splide__list"},j6={class:"splide__slide"},F6=["href"],H6=["src","alt"],U6={mounted(){new tc("#tech-carousel",{gap:80,arrows:!1,pagination:!1,type:"loop",drag:"free",focus:"center",autoWidth:!0,autoScroll:{speed:.5,pauseOnFocus:!1}}).mount({AutoScroll:$6})}},V6=Object.assign(U6,{__name:"techBlock",props:{title:{type:String},technologies:{type:Array},contentLink:{type:Object}},setup(e){const t=e;return(n,r)=>{const s=Gt;return L(),N("section",R6,[w("div",P6,[w("div",O6,[w("h2",x6,K(t==null?void 0:t.title),1),de(s,{class:"btn","content-link":t==null?void 0:t.contentLink},{default:je(()=>{var i;return[it(K((i=t==null?void 0:t.contentLink)==null?void 0:i.title),1)]}),_:1},8,["content-link"]),w("div",L6,[w("div",M6,[w("div",N6,[w("div",D6,[(L(!0),N(ce,null,Ae(e.technologies,i=>(L(),N("div",j6,[w("a",{href:i.url,target:"_blank"},[w("img",{src:n.$getMediaUrl(i.logo,null,null,"webp"),alt:i.name+" Logo"},null,8,H6)],8,F6)]))),256))])])])])])])])}}}),B6={class:"outcomes section--z-index","data-aos":"fade-up"},q6={class:"container"},W6={class:"head head--centered"},z6={class:"h2"},K6={class:"h3"},G6={class:"outcomes__list"},Y6={class:"outcomes__item"},J6={class:"outcomes__icon"},X6={class:"outcomes__heading"},Q6={class:"outcomes__text"},Z6={__name:"outcomesBlock",props:{contentLink:{type:Object},title:{type:String},subtitle:{type:String},items:{type:Array}},setup(e){const t=e;return(n,r)=>{const s=Gt,i=er;return L(),N("section",B6,[w("div",q6,[w("div",W6,[de(s,{class:"button button--lg button--w
73hite","content-link":t==null?void 0:t.contentLink},{default:je(()=>{var o;return[r[0]||(r[0]=w("svg",{width:"36",height:"37",viewBox:"0 0 36 37",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[w("mask",{id:"mask0_357_32434",style:{"mask-type":"luminance"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"36",height:"37"},[w("path",{d:"M35.375 0.143311H0V36.1179H35.375V0.143311Z",fill:"white"})]),w("g",{mask:"url(#mask0_357_32434)"},[w("path",{d:"M4.86254 25.9875C4.79179 25.9875 4.68802 25.9875 4.61727 25.954C4.33899 25.8484 4.16447 25.599 4.16447 25.2777V22.3229H3.98995C2.2778 22.3229 0.876953 20.8983 0.876953 19.1188V9.68387C0.876953 7.90433 2.2778 6.47974 3.98995 6.47974H22.3236C24.0358 6.47974 25.4366 7.90433 25.4366 9.68387C25.4366 9.9333 25.2244 10.1108 25.0169 10.1108C24.8093 10.1108 24.5971 9.89492 24.5971 9.68387C24.5971 8.40318 23.583 7.37191 22.3567 7.37191H3.95222C2.72589 7.37191 1.7118 8.40318 1.7118 9.68387V19.0804C1.7118 20.3611 2.72589 21.3924 3.95222 21.3924H5.00404V24.8076L7.94252 21.3924H11.1593C11.4046 21.3924 11.6121 21.6082 11.6121 21.8193C11.6121 22.0303 11.3998 22.2462 11.1593 22.2462H8.3623L5.3908 25.6998C5.2493 25.8772 5.04177 25.9827 4.86725 25.9827",fill:"currentColor"}),w("path",{d:"M32.1541 12.0342H15.9901C14.5185 12.0342 13.2969 13.2813 13.2969 14.773V23.6372C13.2969 25.1673 14.4855 26.376 15.9901 26.376H28.3383L31.4513 29.9735C31.6258 30.151 31.9041 30.0455 31.9041 29.796V26.3808H32.1824C33.654 26.3808 34.8756 25.1337 34.8756 23.642V14.8162C34.8426 13.2861 33.6493 12.039 32.1447 12.039",fill:"currentColor"})])],-1)),it(" "+K((o=t==null?void 0:t.contentLink)==null?void 0:o.title),1)]}),_:1},8,["content-link"]),w("h2",z6,K(t==null?void 0:t.title),1),w("h3",K6,K(t==null?void 0:t.subtitle),1)]),w("ul",G6,[(L(!0),N(ce,null,Ae(t==null?void 0:t.items,o=>(L(),N("li",Y6,[w("div",J6,[de(i,{url:n.$getMediaUrl(o.icon)},null,8,["url"])]),w("h4",X6,K(o.title),1),w("div",Q6,K(o.description),1)]))),256))])])])}}},e8={key:0,class:"section section--with-decor","data-aos":"fade-up"},t8={class:"container"},n8={class:"head head--centered head--mb2"},r8={class:"overline"},s8={key:0,class:"h2"},i8={class:"services"},o8=["id"],a8={class:"splide__track"},c8={class:"splide__list"},u8={class:"services__item"},l8={class:"services__icon"},f8={class:"services__title"},d8={class:"services__text"},h8={key:1,class:"section","data-aos":"fade-up"},p8={class:"container"},g8={class:"head head--centered"},m8={class:"overline"},y8={key:0,class:"h2"},_8={class:"services services--with-decor"},v8={class:"services__list"},b8={class:"services__icon"},w8={class:"services__title"},S8={class:"services__text"},E8={__name:"productsBlock",props:{_key:{type:String},title:{type:String},subtitle:{type:String},carousel:{type:Boolean},products:{type:Array}},async setup(e){let t,n;const r=e,{data:s}=(r==null?void 0:r.products)==null||(r==null?void 0:r.products.length)===0?([t,n]=Wn(()=>Gn("*[_type == 'product'] | order(order asc)")),t=await t,n(),t):([t,n]=Wn(()=>Gn("*[_type == 'product' && _id in $productIds] | order(order asc)",{productIds:r==null?void 0:r.products.map(i=>i._ref)})),t=await t,n(),t);return jr(()=>{r!=null&&r.carousel&&new tc("#_"+r._key,{perPage:1,perMove:1,gap:24,arrows:!1,pagination:!1,drag:"free",mediaQuery:"min",breakpoints:{640:{perPage:2},1280:{perPage:4}}}).mount()}),(i,o)=>{const c=er,a=Ys;return r!=null&&r.carousel?(L(),N("section",e8,[w("div",t8,[w("div",n8,[w("div",r8,K(r==null?void 0:r.title),1),r!=null&&r.subtitle?(L(),N("h2",s8,K(r==null?void 0:r.subtitle),1)):he("",!0)]),w("div",i8,[w("div",{class:"splide",id:"_"+r._key,"aria-label":"Products Carousel"},[w("div",a8,[w("div",c8,[(L(!0),N(ce,null,Ae(re(s),u=>{var l;return L(),N("div",{class:"splide__slide",key:u._id},[w("div",u8,[de(a,{class:"services__link",to:"/products/"+((l=u.slug)==null?void 0:l.current)},{default:je(()=>[w("div",l8,[de(c,{url:i.$getMediaUrl(u.icon)},null,8,["url"])]),w("h3",f8,K(u.title),1),w("div",d8,K(u.subtitle),1)]),_:2},1032,["to"])])])}),128))])])],8,o8)])])])):(L(),N("section",h8,[w("div",p8,[w("div",g8,[w("div",m8,K(r==null?void 0:r.title),
731),r!=null&&r.subtitle?(L(),N("h2",y8,K(r==null?void 0:r.subtitle),1)):he("",!0)]),w("div",_8,[w("div",v8,[(L(!0),N(ce,null,Ae(re(s),u=>{var l;return L(),N("div",{class:"services__item",key:u._id},[de(a,{class:"services__link",to:"/products/"+((l=u.slug)==null?void 0:l.current)},{default:je(()=>[w("div",b8,[de(c,{url:i.$getMediaUrl(u.icon)},null,8,["url"])]),w("h3",w8,K(u.title),1),w("div",S8,K(u.intro),1)]),_:2},1032,["to"])])}),128))])])])]))}}},T8={class:"section","data-aos":"fade-up"},C8={class:"container"},A8={class:"head head--centered"},k8={class:"overline"},I8={key:0,class:"h2"},$8={class:"services services--with-decor"},R8={class:"services__list"},P8={class:"services__item"},O8={class:"services__icon"},x8={class:"services__title"},L8={class:"services__text"},M8={__name:"cardsBlock",props:{title:{type:String},subtitle:{type:String},items:{type:Array}},setup(e){const t=e;return(n,r)=>{const s=er,i=Gt;return L(),N("section",T8,[w("div",C8,[w("div",A8,[w("div",k8,K(t==null?void 0:t.title),1),t!=null&&t.subtitle?(L(),N("h2",I8,K(t==null?void 0:t.subtitle),1)):he("",!0)]),w("div",$8,[w("div",R8,[(L(!0),N(ce,null,Ae(e.items,o=>(L(),N("div",P8,[de(i,{class:Ge(o.contentLink?"services__link":"services__box"),"content-link":o.contentLink},{default:je(()=>[w("div",O8,[de(s,{url:n.$getMediaUrl(o.icon)},null,8,["url"])]),w("h3",x8,K(o.title),1),w("div",L8,K(o.description),1)]),_:2},1032,["class","content-link"])]))),256))])])])])}}},N8={class:"solutions","data-aos":"fade-up"},D8={class:"container"},j8={class:"solutions__main"},F8={class:"solutions__head"},H8={class:"solutions__heading"},U8={class:"solutions__heading-cell"},V8={key:0,class:"solutions__description rte"},B8={class:"solutions__items"},q8={class:"solutions__item"},W8={class:"solutions__icon"},z8={class:"solutions__title"},K8={class:"solutions__text"},G8={__name:"solutionsBlock",props:{contentLink:{type:Object},background:{type:Object},title:{type:Array},subtitle:{type:Array,required:!1},items:{type:Array}},setup(e){const t=e;return(n,r)=>{const s=Al,i=Gt,o=er;return L(),N("section",N8,[w("div",D8,[w("div",{class:"solutions__bg",style:ll("background-image: url('"+n.$getMediaUrl(e.background,2e3,985)+"')")},null,4),w("div",j8,[w("div",F8,[w("h2",H8,[(L(!0),N(ce,null,Ae(t==null?void 0:t.title,c=>(L(),N("span",U8,K(c),1))),256))]),e.subtitle?(L(),N("div",V8,[de(s,{content:e.subtitle},null,8,["content"])])):he("",!0),de(i,{class:"button button--lg button--w
73hite","content-link":e.contentLink},{default:je(()=>[...r[0]||(r[0]=[w("svg",{width:"36",height:"37",viewBox:"0 0 36 37",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[w("mask",{id:"mask0_357_32434",style:{"mask-type":"luminance"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"36",height:"37"},[w("path",{d:"M35.375 0.143311H0V36.1179H35.375V0.143311Z",fill:"white"})]),w("g",{mask:"url(#mask0_357_32434)"},[w("path",{d:"M4.86254 25.9875C4.79179 25.9875 4.68802 25.9875 4.61727 25.954C4.33899 25.8484 4.16447 25.599 4.16447 25.2777V22.3229H3.98995C2.2778 22.3229 0.876953 20.8983 0.876953 19.1188V9.68387C0.876953 7.90433 2.2778 6.47974 3.98995 6.47974H22.3236C24.0358 6.47974 25.4366 7.90433 25.4366 9.68387C25.4366 9.9333 25.2244 10.1108 25.0169 10.1108C24.8093 10.1108 24.5971 9.89492 24.5971 9.68387C24.5971 8.40318 23.583 7.37191 22.3567 7.37191H3.95222C2.72589 7.37191 1.7118 8.40318 1.7118 9.68387V19.0804C1.7118 20.3611 2.72589 21.3924 3.95222 21.3924H5.00404V24.8076L7.94252 21.3924H11.1593C11.4046 21.3924 11.6121 21.6082 11.6121 21.8193C11.6121 22.0303 11.3998 22.2462 11.1593 22.2462H8.3623L5.3908 25.6998C5.2493 25.8772 5.04177 25.9827 4.86725 25.9827",fill:"currentColor"}),w("path",{d:"M32.1541 12.0342H15.9901C14.5185 12.0342 13.2969 13.2813 13.2969 14.773V23.6372C13.2969 25.1673 14.4855 26.376 15.9901 26.376H28.3383L31.4513 29.9735C31.6258 30.151 31.9041 30.0455 31.9041 29.796V26.3808H32.1824C33.654 26.3808 34.8756 25.1337 34.8756 23.642V14.8162C34.8426 13.2861 33.6493 12.039 32.1447 12.039",fill:"currentColor"})])],-1),it(" Talk to an advisor ",-1)])]),_:1},8,["content-link"])]),w("ul",B8,[(L(!0),N(ce,null,Ae(t==null?void 0:t.items,c=>(L(),N("li",q8,[w("div",W8,[de(o,{url:n.$getMediaUrl(c.icon)},null,8,["url"])]),w("h3",z8,K(c.title),1),w("div",K8,K(c.description),1)]))),256))])])])])}}},Y8={class:"section","data-aos":"fade-up"},J8={class:"container"},X8={class:"layout"},Q8={key:0,class:"layout__aside"},Z8={class:"toc"},eM={class:"toc__list"},tM={class:"toc__item"},nM=["href"],rM={class:"layout__main"},sM={key:0,class:"lead"},iM={class:"section-group"},oM=["id"],aM={class:"h3"},cM={__name:"textSectionBlock",props:{intro:{type:String},sections:{type:Array}},setup(e){return(t,n)=>{const r=Al;return L(),N("section",Y8,[w("div",J8,[w("div",X8,[e.sections.length>1?(L(),N("div",Q8,[w("div",Z8,[n[0]||(n[0]=w("div",{class:"toc__head micro"},"On This Page",-1)),w("ul",eM,[(L(!0),N(ce,null,Ae(e.sections,s=>(L(),N("li",tM,[w("a",{class:"toc__link",href:"#"+s._key},K(s.title),9,nM)]))),256))])])])):he("",!0),w("div",rM,[e.intro?(L(),N("p",sM,K(e.intro),1)):he("",!0),w("div",iM,[(L(!0),N(ce,null,Ae(e.sections,s=>(L(),N("div",{class:"section-group__item rte",id:s._key},[w("h3",aM,K(s.title),1),de(r,{content:s.copy},null,8,["content"])],8,oM))),256))])])])])])}}},uM={class:"promo","data-aos":"fade-up"},lM={class:"container"},fM={class:"promo__media"},dM=["src","alt"],hM={class:"promo__content"},pM={class:"overline overline--with-dash"},gM={class:"h2"},mM={class:"promo__actions"},yM={__name:"promoBlock",props:{tagText:{type:String},title:{type:String},subtitle:{type:String},links:{type:Array},media:{type:Object},videoUrl:{type:String}},setup(e){const t=e,n=we(()=>{var i;return(i=t==null?void 0:t.links)==null?void 0:i[0]}),r=we(()=>{var i;return(i=t==null?void 0:t.links)==null?void 0:i[1]});let s=tt(!1);return(i,o)=>{const c=Gt,a=T0;return L(),N("section",uM,[w("div",lM,[w("div",fM,[o[2]||(o[2]=w("div",{class:"promo__figure"},null,-1)),w("img",{src:i.$getMediaUrl(e.media,1e3,650),alt:i.$getAltText(e.media)},null,8,dM),t!=null&&t.videoUrl?(L(),N("span",{key:0,class:"play-button",onClick:o[0]||(o[0]=u=>Be(s)?s.value=!0:s=!0)})):he("",!0)]),w("div",hM,[w("div",pM,K(e.tagText),1),w("h2",gM,K(e.title),1),w("p",null,K(e.subtitle),1),w("div",mM,[n.value?(L(),Oe(c,{key:0,class:"button button--lg","content-link":n.value,title:n.value.title},null,8,["content-link","title"])):he("",!0),r.value?(L(),Oe(c,{key:1,class:"button button--lg button--w
73hite","content-link":r.value},{default:je(()=>{var u;return[o[3]||(o[3]=w("svg",{width:"36",height:"37",viewBox:"0 0 36 37",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[w("mask",{id:"mask0_357_32434",style:{"mask-type":"luminance"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"36",height:"37"},[w("path",{d:"M35.375 0.143311H0V36.1179H35.375V0.143311Z",fill:"white"})]),w("g",{mask:"url(#mask0_357_32434)"},[w("path",{d:"M4.86254 25.9875C4.79179 25.9875 4.68802 25.9875 4.61727 25.954C4.33899 25.8484 4.16447 25.599 4.16447 25.2777V22.3229H3.98995C2.2778 22.3229 0.876953 20.8983 0.876953 19.1188V9.68387C0.876953 7.90433 2.2778 6.47974 3.98995 6.47974H22.3236C24.0358 6.47974 25.4366 7.90433 25.4366 9.68387C25.4366 9.9333 25.2244 10.1108 25.0169 10.1108C24.8093 10.1108 24.5971 9.89492 24.5971 9.68387C24.5971 8.40318 23.583 7.37191 22.3567 7.37191H3.95222C2.72589 7.37191 1.7118 8.40318 1.7118 9.68387V19.0804C1.7118 20.3611 2.72589 21.3924 3.95222 21.3924H5.00404V24.8076L7.94252 21.3924H11.1593C11.4046 21.3924 11.6121 21.6082 11.6121 21.8193C11.6121 22.0303 11.3998 22.2462 11.1593 22.2462H8.3623L5.3908 25.6998C5.2493 25.8772 5.04177 25.9827 4.86725 25.9827",fill:"currentColor"}),w("path",{d:"M32.1541 12.0342H15.9901C14.5185 12.0342 13.2969 13.2813 13.2969 14.773V23.6372C13.2969 25.1673 14.4855 26.376 15.9901 26.376H28.3383L31.4513 29.9735C31.6258 30.151 31.9041 30.0455 31.9041 29.796V26.3808H32.1824C33.654 26.3808 34.8756 25.1337 34.8756 23.642V14.8162C34.8426 13.2861 33.6493 12.039 32.1447 12.039",fill:"currentColor"}
73)])],-1)),it(" "+K((u=r.value)==null?void 0:u.title),1)]}),_:1},8,["content-link"])):he("",!0)])])]),t!=null&&t.videoUrl?(L(),Oe(a,{key:0,open:re(s),onClose:o[1]||(o[1]=u=>Be(s)?s.value=!1:s=!1),videoUrl:t.videoUrl},null,8,["open","videoUrl"])):he("",!0)])}}},_M={class:"latest","data-aos":"fade-up"},vM={class:"container"},bM={class:"latest__head"},wM={class:"h4"},SM={class:"grid"},EM={class:"blogcard"},TM={class:"blogcard__media"},CM=["src","alt"],AM={class:"blogcard__body"},kM={key:0,width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},IM={class:"blogcard__title"},$M={class:"blogcard__text"},RM={key:0,class:"blogcard__details"},PM={class:"blogcard__action"},OM={class:"blogcard__date"},xM={__name:"articlesBlock",props:{title:{type:String},itemCount:{type:Number},articles:{type:Array},articleType:{type:Object},onPageId:{type:String}},async setup(e){var f;let t,n;const r=e,i=`{...,author->,type->, heroMedia[]{..., asset->{ ..., altText, } }, body[]{..., asset->{ ..., altText, } }} | order(date desc) [0..${(r!=null&&r.itemCount?r==null?void 0:r.itemCount:3)-1}]`;let o="",c={};r!=null&&r.articleType?(o=`*[_type == 'article' && type._ref == $ref && _id != $id]${i}`,c={ref:(f=r==null?void 0:r.articleType)==null?void 0:f._id,id:r==null?void 0:r.onPageId}):(r==null?void 0:r.articles)==null||(r==null?void 0:r.articles.length)===0?o=`*[_type == 'article']${i}`:(o=`*[_type == 'article' && _id in $articleIds]${i}`,c={articleIds:r==null?void 0:r.articles.map(h=>h._ref)});const{data:a}=([t,n]=Wn(()=>Gn(`{ 74 "articleList": *[_type == 'articles'][0], 75 "articles": ${o} 76}`,c)),t=await t,n(),t),u=we(()=>{var h;return(h=a.value)==null?void 0:h.articleList}),l=we(()=>{var h;return((h=a.value)==null?void 0:h.articles)||[]});
76return(h,p)=>{var g,v;const d=Ys;return L(),N("section",_M,[w("div",vM,[w("div",bM,[w("h2",wM,K(e.title),1),(v=(g=re(u))==null?void 0:g.slug)!=null&&v.current?(L(),Oe(d,{key:0,class:"link",to:"/"+re(u).slug.current},{default:je(()=>[...p[0]||(p[0]=[it("View All",-1)])]),_:1},8,["to"])):he("",!0)]),w("div",SM,[(L(!0),N(ce,null,Ae(re(l),_=>{var y,m,b,E,$,A,D;return L(),N("div",{class:"grid__cell",key:_._id},[w("div",EM,[w("div",TM,[de(d,{to:"/insights-events/"+((y=_.slug)==null?void 0:y.current)},{default:je(()=>[w("img",{src:h.$getMediaUrl(_.heroMedia,520,200),alt:h.$getAltText(_.heroMedia)},null,8,CM)]),_:2},1032,["to"])]),w("div",AM,[w("div",{class:Ge("badge badge--"+((b=(m=_.type)==null?void 0:m.title)==null?void 0:b.toLowerCase().replace(" ","")))},[_.isEvent?(L(),N("svg",kM,[...p[1]||(p[1]=[w("g",{"clip-path":"url(#clip0_390_5481)"},[w("path",{d:"M4.66667 1.1958V3.52913M9.33333 1.1958V3.52913M1.75 5.86247H12.25M4.66667 8.1958H4.6725M7 8.1958H7.00583M9.33333 8.1958H9.33917M4.66667 10.5291H4.6725M7 10.5291H7.00583M9.33333 10.5291H9.33917M2.91667 2.36247H11.0833C11.7277 2.36247 12.25 2.8848 12.25 3.52913V11.6958C12.25 12.3401 11.7277 12.8625 11.0833 12.8625H2.91667C2.27233 12.8625 1.75 12.3401 1.75 11.6958V3.52913C1.75 2.8848 2.27233 2.36247 2.91667 2.36247Z",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round"})],-1),w("defs",null,[w("clipPath",{id:"clip0_390_5481"},[w("rect",{width:"14",height:"14",fill:"white",transform:"translate(0 0.0292969)"})])],-1)])])):he("",!0),it(" "+K((E=_.type)==null?void 0:E.title),1)],2),w("h2",IM,[de(d,{to:"/insights-events/"+(($=_.slug)==null?void 0:$.current)},{default:je(()=>[it(K(_.title),1)]),_:2},1032,["to"])]),w("div",$M,[w("p",null,K(_.subtitle),1)]),_.isEvent?(L(),N("div",RM,[w("p",null,K(h.$formatDate(_.eventDate)),1),w("p",null,K(_.eventLocation),1)])):he("",!0),w("div",PM,[_.isEvent?(L(),Oe(d,{key:0,class:"button button--sm button--green",to:"/insights-events/"+((A=_.slug)==null?void 0:A.current)},{default:je(()=>[...p[2]||(p[2]=[it("Register",-1)])]),_:1},8,["to"])):(L(),N(ce,{key:1},[w("div",OM,K(h.$formatDate(_.date)),1),de(d,{class:"blogcard__arrow",to:"/insights-events/"+((D=_.slug)==null?void 0:D.current)},{default:je(()=>[...p[3]||(p[3]=[w("i",null,null,-1)])]),_:1},8,["to"])],64))])])])])}),128))])])])}}};var su={exports:{}},LM=su.exports,e_;function MM(){return e_||(e_=1,(function(e,t){(function(n,r){e.exports=r()})(LM,(function(){var n=1e3,r=6e4,s=36e5,i="millisecond",o="second",c="minute",a="hour",u="day",l="week",f="month",h="quarter",p="year",d="date",g="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,_=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(R){var k=["th","st","nd","rd"],T=R%100;return"["+R+(k[(T-20)%10]||k[T]||k[0])+"]"}},m=function(R,k,T){var O=String(R);return!O||O.length>=k?R:""+Array(k+1-O.length).join(T)+R},b={s:m,z:function(R){var k=-R.utcOffset(),T=Math.abs(k),O=Math.floor(T/60),I=T%60;return(k<=0?"+":"-")+m(O,2,"0")+":"+m(I,2,"0")},m:function R(k,T){if(k.date()<T.date())return-R(T,k);var O=12*(T.year()-k.year())+(T.month()-k.month()),I=k.clone().add(O,f),j=T-I<0,U=k.clone().add(O+(j?-1:1),f);return+(-(O+(T-I)/(j?I-U:U-I))||0)},a:function(R){return R<0?Math.ceil(R)||0:Math.floor(R)},p:function(R){return{M:f,y:p,w:l,d:u,D:d,h:a,m:c,s:o,ms:i,Q:h}[R]||String(R||"").toLowerCase().replace(/s$/,"")},u:function(R){return R===void 0}},E="en",$={};$[E]=y;var A="$isDayjsObject",D=function(R){return R instanceof C||!(!R||!R[A])},H=function R(k,T,O){var I;if(!k)return E;if(typeof k=="string"){var j=k.toLowerCase();$[j]&&(I=j),T&&($[j]=T,I=j);var U=k.split("-");if(!I&&U.length>1)return R(U[0])}else{var q=k.name;$[q]=k,I=q}return!O&&I&&(E=I),I||!O&&E},B=function(R,k){if(D(R))return R.clone();var T=typeof k=="object"?k:{};return T.date=R,T.args=arguments,new C(T)},V=b;V.l=H,V.i=D,V.w=function(R,k){return B(R,{locale:k.$L,utc:k.$u,x:k.$x,$offset:k.$offset})};var C=(function(){function R(T){this.$L=H(T.locale,null,!0),this.parse(T),this.$x=this.$x||T.x||{},this[A]=!0}var k=R.prototype;return k.parse=function(T){this.$d=(function(O){var I=O.date,j=O.utc;if(I===null)return new Date(NaN);if(V.u(I))return new Date;if(I instanceof Date)return new Date(I);
vendor: 4,694 bytes, line 76
76if(typeof I=="string"&&!/Z$/i.test(I)){var U=I.match(v);if(U){var q=U[2]-1||0,z=(U[7]||"0").substring(0,3);return j?new Date(Date.UTC(U[1],q,U[3]||1,U[4]||0,U[5]||0,U[6]||0,z)):new Date(U[1],q,U[3]||1,U[4]||0,U[5]||0,U[6]||0,z)}}return new Date(I)})(T),this.init()},k.init=function(){var T=this.$d;this.$y=T.getFullYear(),this.$M=T.getMonth(),this.$D=T.getDate(),this.$W=T.getDay(),this.$H=T.getHours(),this.$m=T.getMinutes(),this.$s=T.getSeconds(),this.$ms=T.getMilliseconds()},k.$utils=function(){return V},k.isValid=function(){return this.$d.toString()!==g},k.isSame=function(T,O){var I=B(T);return this.startOf(O)<=I&&I<=this.endOf(O)},k.isAfter=function(T,O){return B(T)<this.startOf(O)},k.isBefore=function(T,O){return this.endOf(O)<B(T)},k.$g=function(T,O,I){return V.u(T)?this[O]:this.set(I,T)},k.unix=function(){return Math.floor(this.valueOf()/1e3)},k.valueOf=function(){return this.$d.getTime()},k.startOf=function(T,O){var I=this,j=!!V.u(O)||O,U=V.p(T),q=function(J,Q){var pe=V.w(I.$u?Date.UTC(I.$y,Q,J):new Date(I.$y,Q,J),I);return j?pe:pe.endOf(u)},z=function(J,Q){return V.w(I.toDate()[J].apply(I.toDate("s"),(j?[0,0,0,0]:[23,59,59,999]).slice(Q)),I)},X=this.$W,se=this.$M,oe=this.$D,G="set"+(this.$u?"UTC":"");switch(U){case p:return j?q(1,0):q(31,11);case f:return j?q(1,se):q(0,se+1);case l:var F=this.$locale().weekStart||0,Z=(X<F?X+7:X)-F;return q(j?oe-Z:oe+(6-Z),se);case u:case d:return z(G+"Hours",0);case a:return z(G+"Minutes",1);case c:return z(G+"Seconds",2);case o:return z(G+"Milliseconds",3);default:return this.clone()}},k.endOf=function(T){return this.startOf(T,!1)},k.$set=function(T,O){var I,j=V.p(T),U="set"+(this.$u?"UTC":""),q=(I={},I[u]=U+"Date",I[d]=U+"Date",I[f]=U+"Month",I[p]=U+"FullYear",I[a]=U+"Hours",I[c]=U+"Minutes",I[o]=U+"Seconds",I[i]=U+"Milliseconds",I)[j],z=j===u?this.$D+(O-this.$W):O;if(j===f||j===p){var X=this.clone().set(d,1);X.$d[q](z),X.init(),this.$d=X.set(d,Math.min(this.$D,X.daysInMonth())).$d}else q&&this.$d[q](z);return this.init(),this},k.set=function(T,O){return this.clone().$set(T,O)},k.get=function(T){return this[V.p(T)]()},k.add=function(T,O){var I,j=this;T=Number(T);var U=V.p(O),q=function(se){var oe=B(j);return V.w(oe.date(oe.date()+Math.round(se*T)),j)};if(U===f)return this.set(f,this.$M+T);if(U===p)return this.set(p,this.$y+T);if(U===u)return q(1);if(U===l)return q(7);var z=(I={},I[c]=r,I[a]=s,I[o]=n,I)[U]||1,X=this.$d.getTime()+T*z;return V.w(X,this)},k.subtract=function(T,O){return this.add(-1*T,O)},k.format=function(T){var O=this,I=this.$locale();if(!this.isValid())return I.invalidDate||g;var j=T||"YYYY-MM-DDTHH:mm:ssZ",U=V.z(this),q=this.$H,z=this.$m,X=this.$M,se=I.weekdays,oe=I.months,G=I.meridiem,F=function(Q,pe,Te,S){return Q&&(Q[pe]||Q(O,j))||Te[pe].slice(0,S)},Z=function(Q){return V.s(q%12||12,Q,"0")},J=G||function(Q,pe,Te){var S=Q<12?"AM":"PM";return Te?S.toLowerCase():S};return j.replace(_,(function(Q,pe){return pe||(function(Te){switch(Te){case"YY":return String(O.$y).slice(-2);case"YYYY":return V.s(O.$y,4,"0");case"M":return X+1;case"MM":return V.s(X+1,2,"0");case"MMM":return F(I.monthsShort,X,oe,3);case"MMMM":return F(oe,X);case"D":return O.$D;case"DD":return V.s(O.$D,2,"0");case"d":return String(O.$W);case"dd":return F(I.weekdaysMin,O.$W,se,2);case"ddd":return F(I.weekdaysShort,O.$W,se,3);case"dddd":return se[O.$W];case"H":return String(q);case"HH":return V.s(q,2,"0");case"h":return Z(1);case"hh":return Z(2);case"a":return J(q,z,!0);case"A":return J(q,z,!1);case"m":return String(z);case"mm":return V.s(z,2,"0");case"s":return String(O.$s);case"ss":return V.s(O.$s,2,"0");case"SSS":return V.s(O.$ms,3,"0");case"Z":return U}return null})(Q)||U.replace(":","")}))},k.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},k.diff=function(T,O,I){var j,U=this,q=V.p(O),z=B(T),X=(z.utcOffset()-this.utcOffset())*r,se=this-z,oe=function(){return V.m(U,z)};switch(q){case p:j=oe()/12;break;case f:j=oe();break;case h:j=oe()/3;break;case l:j=(se-X)/6048e5;break;case u:j=(se-X)/864e5;break;case a:j=se/s;break;case c:j=se/r;break;case o:j=se/n;break;default:j=se}return I?j:V.a(j)},k.daysInMonth=function(){return this.endOf(f).$D},k.$locale=function(){return $[this.$L]},k.locale=function(T,O){if(!T)return this.$L;var I=this.clone(),j=H(T,O,!0);return j&&(I.$L=j),I},k.clone=function(){return V.w(this.$d,this)},k.toDate=function(){return new Date(this.valueOf())},k.toJSON=function(){return this.isValid()?this.toISOString():null},k.toISOString=function(){return this.$d.toISOString()},k.toString=function(){return this.$d.toUTCString()},R})(),P=C.prototype;return B.prototype=P,[["$ms",i],["$s",o],["$m",c],["$H",a],["$W",u],["$M",f],["$y",p],["$D",d]].forEac
76h((function(R){P[R[1]]=function(k){return this.$g(k,R[0],R[1])}})),B.extend=function(R,k){return R.$i||(R(k,C,B),R.$i=!0),B},B.locale=H,B.isDayjs=D,B.unix=function(R){return B(1e3*R)},B.en=$[E],B.Ls=$,B.p={},B}))})(su)),su.exports}var NM=MM();const Bc=Nw(NM),Cn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},DM={inject:["errors"],props:{modelValue:{type:String,default:""},placeholder:String},data:function(){return{val:this.modelValue}},methods:{enterKey(){this.$emit("enter-key")},onFocus(){this.$emit("focus")}},watch:{modelValue(e){e!==this.val&&(this.val=e)},val:function(){this.$emit("update:modelValue",this.val)}}},jM={class:"nformr-form-field-input"},FM=["placeholder","id"],HM={key:0,class:"nformr-form-field-error"};function UM(e,t,n,r,s,i){return L(),N("div",jM,[Xn(w("input",{onFocus:t[0]||(t[0]=(...o)=>i.onFocus&&i.onFocus(...o)),type:"text","onUpdate:modelValue":t[1]||(t[1]=o=>e.val=o),placeholder:n.placeholder,id:e.$attrs.name,onKeydown:t[2]||(t[2]=Fr((...o)=>i.enterKey&&i.enterKey(...o),["enter"]))},null,40,FM),[[Ks,e.val]]),i.errors.has(e.$attrs.name)?(L(),N("p",HM,K(i.errors.first(e.$attrs.name)),1)):he("",!0)])}const VM=Cn(DM,[["render",UM]]),BM={inject:["errors"],props:{modelValue:String,placeholder:String},data:function(){return{val:this.modelValue}},methods:{enterKey(e){(e.ctrlKey||e.shiftKey)&&this.$emit("enter-key")},onFocus(){this.$emit("focus")}},watch:{modelValue(e){e!==this.val&&(this.val=e)},val:function(){this.$emit("update:modelValue",this.val)}}},qM={class:"nformr-form-field-textarea"},WM=["placeholder","id"],zM={key:0,class:"nformr-form-field-error"};function KM(e,t,n,r,s,i){return L(),N("div",qM,[Xn(w("textarea",{onFocus:t[0]||(t[0]=(...o)=>i.onFocus&&i.onFocus(...o)),"onUpdate:modelValue":t[1]||(t[1]=o=>e.val=o),type:"textarea",rows:"5",placeholder:n.placeholder,id:e.$attrs.name,onKeydown:t[2]||(t[2]=Fr((...o)=>i.enterKey&&i.enterKey(...o),["enter"]))},null,40,WM),[[Ks,e.val]]),i.errors.has(e.$attrs.name)?(L(),N("p",zM,K(i.errors.first(e.$attrs.name)),1)):he("",!0)])}const GM=Cn(BM,[["render",KM]]),YM={inject:["errors"],props:{modelValue:{type:String,default:""},placeholder:String},data:function(){return{val:this.modelValue}},methods:{enterKey(){this.$emit("enter-key")},onFocus(){this.$emit("focus")}},watch:{modelValue(e){e!==this.val&&(this.val=e)},val:function(){this.$emit("update:modelValue",this.val)}}},JM={class:"nformr-form-field-input"},XM=["placeholder","id"],QM={key:0,class:"nformr-form-field-error"};function ZM(e,t,n,r,s,i){return L(),N("div",JM,[Xn(w("input",{onFocus:t[0]||(t[0]=(...o)=>i.onFocus&&i.onFocus(...o)),type:"number","onUpdate:modelValue":t[1]||(t[1]=o=>e.val=o),placeholder:n.placeholder,id:e.$attrs.name,onKeydown:t[2]||(t[2]=Fr((...o)=>i.enterKey&&i.enterKey(...o),["enter"]))},null,40,XM),[[Ks,e.val]]),i.errors.has(e.$attrs.name)?(L(),N("p",QM,K(i.errors.first(e.$attrs.name)),1)):he("",!0)])}const eN=Cn(YM,[["render",ZM]]),tN={inject:["errors"],props:{modelValue:{type:String,default:""}},data:function(){return{val:this.modelValue}},methods:{enterKey(){this.$emit("enter-key")},onFocus(){this.$emit("focus")}},watch:{modelValue(e){e!==this.val&&(this.val=e)},val:function(){this.$emit("update:modelValue",this.val)}}},nN={class:"nformr-form-field-input"},rN=["id"],sN={key:0,class:"nformr-form-field-error"};function iN(e,t,n,r,s,i){return L(),N("div",nN,[Xn(w("input",{onFocus:t[0]||(t[0]=(...o)=>i.onFocus&&i.onFocus(...o)),type:"date","onUpdate:modelValue":t[1]||(t[1]=o=>e.val=o),id:e.$attrs.name,onKeydown:t[2]||(t[2]=Fr((...o)=>i.enterKey&&i.enterKey(...o),["enter"]))},null,40,rN),[[Ks,e.val]]),i.errors.has(e.$attrs.name)?(L(),N("p",sN,K(i.errors.first(e.$attrs.name)),1)):he("",!0)])}const oN=Cn(tN,[["render",iN]]),aN={inject:["errors"],props:{modelValue:{type:String,default:"false"},labelHtml:String},data:function(){return{checked:this.modelValue==="true"}},methods:{enterKey(){this.$emit("enter-key")},onFocus(){this.$emit("focus")}},computed:{val(){return this.checked?"true":"false"}},watch:{modelValue(e){e!==this.val&&(this.checked=e==="true")},checked:function(){this.$emit("update:modelValue",this.val)}}},cN={class:"nformr-form-field-check"},uN=["id","name"],lN=["for","innerHTML"],fN={key:0,class:"nformr-form-field-error"};function dN(e,t,n,r,s,i){return L(),N("div",cN,[w("div",{class:"nformr-checkbox",onKeydown:t[2]||(t[2]=Fr((...o)=>i.enterKey&&i.enterKey(...o),["enter"]))},[Xn((L(),N("input",{onFocus:t[0]||(t[0]=(...o)=>i.onFocus&&i.onFocus(...o)),id:e.$attrs.name,name:e.$attrs.name,type:"checkbox","onUpdate:modelValue":t[1]||(t[1]=o=>e.checked=o),key:e.$attrs.name},null,40,uN)),[[Sb,e.checked]]),w("label",{for:e.$attrs.name,innerHTML:n.labelHtml},null,8,lN)],32),i.errors.has(e.$attrs.name)?(L(),N("p",fN,K(i.errors.first(e.$attrs.name)),1)):he("",!0)])}const hN=Cn(aN,[["render",dN]]),pN={inject:["errors"],props:{modelValue:{type:String,default:""},options:Array},emits:["update:modelValue","enter-key","input","focus"],data(){return{selectedItems:this.modelValue?this.modelValue.split("|"):[]}},methods:{enterKey(){this.$emit("enter-key")},onFocus(){this.$emit("focus")}},computed:{val(){return this.selectedItems.filter(e=>e!=null&&e!="").join("|")}},watch:{modelValue(e){e!==this.val&&(this.selectedItems=e?e.split("|"):[])},selectedItems(){this.$emit("update:modelValue",this.val),this.$emit("input",this.val)}}},gN={class:"nformr-form-field-checks"},mN=["id","name","value"],yN=["for"],_N={key:0,class:"nformr-form-field-error"};function vN(e,t,n,r,s,i){return L(),N("div",gN,[(L(!0),N(ce,null,Ae(n.options,o=>(L(),N("div",{class:"nformr-checkbox",onKeydown:t[2]||(t[2]=Fr((...c)=>i.enterKey&&i.enterKey(...c),["enter"]))},[Xn((L(),N("input",{onFocus:t[0]||(t[0]=(...c)=>i.onFocus&&i.onFocus(...c)),id:e.$attrs.name+o.id,name:e.$attrs.name+o.id,type:"checkbox","onUpdate:modelValue":t[1]||(t[1]=c=>s.selectedItems=c),value:o.name,key:o.id},null,40,mN)),[[Sb,s.selectedItems]]),w("label",{for:e.$attrs.name+o.id},K(o.name),9,yN)],32))),256)),i.errors.has(e.$attrs.name)?(L(),N("p",_N,K(i.errors.first(e.$attrs.name)),1)):he("",!0)])}const bN=Cn(pN,[["render",vN]]),wN={inject:["errors"],props:{modelValue:{type:String,default:""},options:Array,placeholder:String},emits:["update:modelValue","enter-key","input","focus"],methods:{handleChange(e){const t=e.target.value;this.$emit("update:modelValue",t),this.$emit("input",t)},onFocus(){this.$emit("focus")}}},SN={class:"nformr-form-field-select"},EN=["id","value"],TN={value:""},CN=["value"],AN={key:0,class:"nformr-form-field-error"};function kN(e,t,n,r,s,i){return L(),N("div",SN,[w("select",{onFocus:t[0]||(t[0]=(...o)=>i.onFocus&&i.onFocus(...o)),id:e.$attrs.name,value:n.modelValue,onChange:t[1]||(t[1]=(...o)=>i.handleChange&&i.handleChange(...o)),onKeydown:t[2]||(t[2]=Fr(bi(o=>e.$emit("enter-key"),["prevent"]),["enter"]))},[w("option",TN,K(n.placeholder),1),(L(!0),N(ce,null,Ae(n.options,o=>(L(),N("option",{key:o.id,value:o.name},K(o.name),9,CN))),128))],40,EN),i.errors.has(e.$attrs.name)?(L(),N("p",AN,K(i.errors.first(e.$attrs.name)),1)):he("",!0)])}const IN=Cn(wN,[["render",kN]]),$N={inject:["errors"],props:{modelValue:{type:String,default:""},options:Array},data:function(){return{val:this.modelValue}},methods:{enterKey(){this.$emit("enter-key")},onFocus(){this.$emit("focus")}},watch:{modelValue(e){e!==this.val&&(this.val=e)},val:function(){this.$emit("update:modelValue",this.val)}}},RN={class:"nformr-radiobutton"}
76,PN=["id","name","value"],ON=["for"],xN={key:0,class:"nformr-form-field-error"};function LN(e,t,n,r,s,i){return L(),N("div",{class:"nformr-form-field-radios",onKeydown:t[2]||(t[2]=Fr((...o)=>i.enterKey&&i.enterKey(...o),["enter"]))},[(L(!0),N(ce,null,Ae(n.options,o=>(L(),N("div",RN,[Xn((L(),N("input",{onFocus:t[0]||(t[0]=(...c)=>i.onFocus&&i.onFocus(...c)),id:e.$attrs.name+o.id,name:e.$attrs.name+o.id,type:"radio","onUpdate:modelValue":t[1]||(t[1]=c=>e.val=c),value:o.name,key:o.id},null,40,PN)),[[tC,e.val]]),w("label",{for:e.$attrs.name+o.id},K(o.name),9,ON)]))),256)),i.errors.has(e.$attrs.name)?(L(),N("p",xN,K(i.errors.first(e.$attrs.name)),1)):he("",!0)],32)}const MN=Cn($N,[["render",LN]]),NN={inject:["errors"],props:{files:Array},data(){return{acceptList:[".jpg",".jpeg",".png",".gif",".webp",".pdf",".doc",".docx",".xls",".xlsx",".csv",".txt",".rtf"],disallowed:[]}},computed:{accept(){return this.acceptList.join(",")}},methods:{filesChanged(e){var t=this;t.disallowed.splice(0);for(var n=0;n<e.target.files.length;n++)t.checkFilename(e.target.files[n].name)?t.files.push(e.target.files[n]):t.disallowed.push(e.target.files[n].name);for(var r=[],n=0;n<t.files.length;n++)r.push(`${n}_${t.files[n].name}`);t.$emit("update:modelValue",r.join("|"))},clearFiles(){this.disallowed.splice(0),this.files.splice(0),this.$refs[this.$attrs.name].value=null,this.$emit("update:modelValue","")},checkFilename(e){var t=new RegExp(/^[0-9a-zA-Z\^\&\'\@\{\}\[\]\,\$\=\!\-\#\(\)\.\%\+\~\_ ]+$/);if(!t.test(e))return!1;const n="."+e.split(".").pop().toLowerCase();return this.acceptList.includes(n)},getSize(e){var t=e,n="b";return t>1e6?(t=t/1e6,n="mb"):t>1e3&&(t=t/1e3,n="kb"),t=Math.round(t*100)/100,`${t.toLocaleString(void 0,{minimumFractionDigits:0})} ${n}`}}},DN={class:"nformr-form-field-upload"},jN=["for"],FN={class:"nformr-form-field-upload-button"},HN={key:0},UN=["id","accept"],VN={key:1,class:"nformr-form-field-error"},BN={key:2,class:"nformr-form-field-error"};function qN(e,t,n,r,s,i){return L(),N("div",DN,[w("label",{for:e.$attrs.name},[w("span",FN,[(L(!0),N(ce,null,Ae(n.files,o=>(L(),N("span",null,K(o.name)+" "+K(i.getSize(o.size)),1))),256)),n.files.length==0?(L(),N("span",HN,"Select File")):he("",!0)]),w("input",{ref:e.$attrs.name,id:e.$attrs.name,type:"file",multiple:"",onChange:t[0]||(t[0]=(...o)=>i.filesChanged&&i.filesChanged(...o)),accept:i.accept,style:{display:"none"}},null,40,UN)],8,jN),n.files.length>0?(L(),N("a",{key:0,class:"nformr-form-field-upload-clear",onClick:t[1]||(t[1]=(...o)=>i.clearFiles&&i.clearFiles(...o))},"Clear")):he("",!0),i.errors.has(e.$attrs.name)?(L(),N("p",VN,K(i.errors.first(e.$attrs.name)),1)):he("",!0),s.disallowed.length?(L(),N("p",BN,K(s.disallowed.join(", "))+" not allowed",1)):he("",!0)])}const WN=Cn(NN,[["render",qN]]),zN={inject:["errors","registerBeforeSubmit"],props:{modelValue:String},data(){return{val:this.modelValue}},methods:{emit(){this.$emit("update:modelValue",document.title)}},watch:{modelValue(e){e!==this.val&&(this.val=e)},val:function(){this.emit()}},mounted(){this.registerBeforeSubmit(this.emit)}};function KN(e,t,n,r,s,i){return Xn((L(),N("input",{type:"hidden","onUpdate:modelValue":t[0]||(t[0]=o=>s.val=o)},null,512)),[[Ks,s.val]])}const GN=Cn(zN,[["render",KN]]),YN={components:{ninput:VM,nnumber:eN,ndate:oN,ncheck:hN,nchecks:bN,nselect:IN,nradios:MN,ntextarea:GM,nupload:WN,npagetitle:GN},props:{fkey:String},data(){return{form:{pages:[{fields:[],conditions:{items:[]}}]},submitting:!1,submitResult:null,honey:"",page:0,transitionDirection:"next",formJson:"",startTime:null,endTime:null,beforeSubmits:[],interactions:{input:0,keydown:0,click:0,focus:0,mousemove:0,touchstart:0}}},methods:{next(){var e=this;e.form.pages[e.page].fields.map(t=>t.dirty=!0),e.errors.any()||(e.page=e.nextVisPage)},back(){var e=this;e.page=e.prevVisPage},pageEnter(){this.$emit("paged",this.page),this.setFocus()},setFocus(){var e=this;e.$nextTick(()=>{var t=e.$refs[e.firstFocusableFieldRef][0].$el.querySelectorAll("input,select,textarea");t.length>0&&t[0].focus(),document.querySelector(`.f_${e.fkey}`).scrollIntoView({behavior:"smooth",block:"start"})})},registerBeforeSubmit(e){typeof e=="function"&&this.beforeSubmits.push(e)},beforeSubmit(){for(const e of this.beforeSubmits)if(e()===!1)return!1;return!0},submit(){var e=this;if(e.allFields.forEach(r=>{r.dirty=!0}),e.endTime=new Date,e.submitResult=null,!e.errors.any()&&e.honey==""&&e.isHuman){if(e.submitting=!0,!e.beforeSubmit()){e.submitting=!1;return}e.$emit("submit");var t=e.getUploads();t.append("key",e.fkey),t.append("antiBotJson",JSON.stringify({honey:e.honey,timeTaken:e.timeTaken,interactions:e.interactions}));var n=e.visFields.map(function(r){return{type:r.type,guid:r.guid,value:r.value,mailerName:r.mailerName}});t.append("fieldsJson",JSON.stringify(n)),e.doPost("https://nformr.co/api/submit",t,!1,function(r){e.submitting=!1,e.submitResult=JSON.parse(r),e.submitResult.success&&(e.formJson=JSON.stringify(e.form),e.$nextTick(function(){typeof e.onSuccess=="function"&&e.onSuccess(),e.form.successUrl!=""?window.location.href=e.form.successUrl:document.querySelector(".nformr-form").scrollIntoView({behavior:"smooth",block:"start"})}))})}},getUploads(){for(var e=this,t=e.visFields.filter(i=>i.type=="upload"),n=new FormData,r=0;r<t.length;r++)for(var s=0;s<t[r].files.length;s++)n.append(`${t[r].guid}_${s}`,t[r].files[s]);return n},getValue(e){var t=this.allFields.filter(s=>s.guid==e),n=t.length==1?t[0]:null,r=n==null||n.value==null?"":n.value;return n.type=="number"&&r!=""?parseFloat(r):r},show(e,t=-1){if(t>-1&&this.page!=t)return!1;if(e.conditions.items.length==0)return!0;var n=e.conditions.items.filter(r=>this.conditionPasses(r)).length;return e.conditions.type==0&&n>0||n==e.conditions.items.length},conditionPasses(e){return e.conditionOperator==0?this.fieldEmpty(e.conditionField):e.conditionOperator==1?!this.fieldEmpty(e.conditionField):e.conditionOperator==2||e.conditionOperator==4?this.fieldContains(e.conditionField,e.conditionTest):e.conditionOperator==3||e.conditionOperator==5?!this.fieldContains(e.conditionField,e.conditionTest):e.conditionOperator==10?this.getValue(e.conditionField)=="true":e.conditionOperator==11?this.getValue(e.conditionField)=="false":e.conditionOperator==12?this.getValue(e.conditionField)<e.conditionTest:e.conditionOperator==13||e.conditionOperator==15?this.getValue(e.conditionField)==e.conditionTest:e.conditionOperator==14?this.getValue(e.conditionField)>e.conditionTest:!0},fieldEmpty(e){return this.getValue(e)==""},fieldContains(e,t){return this.getValue(e).indexOf(t)>-1},getErrors(e){for(var t=[],n=0;n<e.validations.length;n++){var r=e.validations[n],s=this.getValue(e.guid);switch(r){case"required":if((s===""||s==="false")&&t.push("This field is required"),e.type=="date")try{var o=Bc(s);o.toDate().getFullYear()==1&&t.push("This field is required")}catch{t.push("This field is required")}break;case"email":var i=/^[a-z0-9](\.?[a-z0-9_%+-])*@[a-z0-9-]+(\.[a-z0-9-]+)*\.[a-z]{2,}$/i;s!=""&&!i.test(s)&&t.push("Must be a valid email address");break;case"url":try{const u=new URL(s);u.protocol!="http:"&&u.protocol!="https:"&&t.push("Must be a valid URL")}catch{t.push("Must be a valid URL")}break;case"noturl":var i=new RegExp(/^https?:\/\/[a-z0-9-.]+.[a-z]{2,}$/i);s!=""&&i.test(s)&&t.push("URL not allowed");break;case"match":var i=new RegExp(e.customValidation);s!=""&&!i.test(s)&&t.push("Must match the specified pattern");break;case"notmatch":var i=new RegExp(e.customValidation);s!=""&&i.test(s)&&t.push("Invalid pattern");break;case"beforetoday":var o=Bc(s).toDate();o>=new Date&&t.push("Must be before today");break;case"aftertoday":var o=Bc(s).toDate();o<=new Date&&t.push("Must be after today");break;case"atleast18":var o=Bc(s).toDate(),c=new Date;c.setFullYear(c.getFullYear()-18),o>=c&&t.push("Must be at least 18 years ago");break}}if(e.type=="upload"){for(var a=0,n=0;n<e.files.length;n++)a+=e.files[n].size;a>1e7&&t.push("Total upload size must be below 10mb")}return t},doPost(e,t,n,r){var s=new XMLHttpRequest;s.open("POST",e,!0),n&&s.setRequestHeader("Content-Type","application/json; charset=UTF-8"),s.onload=function(){r(s.response)},s.onerror=function(i){r(JSON.stringify({success:!1,message:"Server error. Try again in a few moments."}))},s.ontimeout=function(){r(JSON.stringify({success:!1,message:"Server timed out. Try again in a few moments."}))},s.send(t)}},computed:{errors(){var e=this,t=e.form.pages[e.page].fields.filter(n=>n.dirty&&e.show(n)).map(n=>({field:n.guid,errors:e.getErrors(n)}));return{items:t,get(n){var r=e.errors.items.filter(s=>s.field==n);return r.length==1?r[0]:null},has(n){var r=e.errors.get(n);return r!=null&&r.errors.length>0},first(n){var r=e.errors.get(n);return r!=null&&r.errors.length>0?r.errors[0]:null},any(){return e.errors.items.filter(n=>n.errors.length>0).length>0}}},timeTaken(){return this.startTime==null||this.endTime==null?null:this.endTime-this.startTime},totalInputs(){let e=this;return e.interactions.input+e.interactions.keydown+e.interactions.click+e.interactions.focus+e.interactions.mousemove+e.interactions.touchstart},isHuman(){let e=this;return e.timeTaken==null||e.timeTaken<3e3?!1:e.interactions.input>0&&(e.interactions.keydown>0||e.interactions.click>0||e.interactions.focus>0||e.interactions.mousemove>0||e.interactions.touchstart>0)&&e.totalInputs>e.visFields.length*2},allFields(){for(var e=this,t=[],n=0;n<e.form.pages.length;n++)for(var r=0;r<e.form.pages[n].fields.length;r++)t.push(e.form.pages[n].fields[r]);return t},visFields(){for(var e=this,t=[],n=0;n<e.form.pages.length;n++)if(e.show(e.form.pages[n]))for(var r=0;r<e.form.pages[n].fields.length;r++)e.show(e.form.pages[n].fields[r])&&t.push(e.form.pages[n].fields[r]);return t},firstFocusableFieldRef(){for(var e=this,t=0;t<e.form.pages[e.page].fields.length;t++)if(e.show(e.form.pages[e.page].fields[t])&&e.form.pages[e.page].fields[t].type!="label")return`p${e.page}_f${t}`},isLastVisPage(){return this.nextVisPage==this.page},nextVisPage(){var e=this;if(e.page==e.form.pages.length-1)return e.page;for(var t=e.page+1;t<e.form.pages.length;t++)if(e.show(e.form.pages[t]))return t;return e.page},prevVisPage(){var e=this;if(e.page==0)return e.page;for(var t=e.page-1;t>=0;t--)if(e.show(e.form.pages[t]))return t},dirty(){var e=JSON.stringify(this.form);return e!=this.formJson}},provide(){return{errors:this.errors,registerBeforeSubmit:this.registerBeforeSubmit}},updated(){this.$nextTick(()=>{let e=new Event("nformr-updated",{bubbles:!0});window.dispatchEvent(e)})},watch:{dirty(){this.dirty?(window.onbeforeunload=function(){return!0},this.startTime==null&&(this.startTime=new Date)):window.onbeforeunload=null},page(e,t){e>t?this.transitionDirection="next":this.transitionDirection="prev"}},mounted(){var e=this;e.doPost("https://nformr.co/api/form",JSON.stringify({key:e.fkey}),!0,function(t){var n=JSON.parse(t);n.pages.map(r=>r.fields.filter(s=>s.type=="check").map(s=>s.value="false")),e.form=n,e.$nextTick(function(){e.formJson=JSON.stringify(e.form)})})}},JN={key:0},XN=["innerHTML"],QN=["for","innerHTML"],ZN={key:0,class:"nformr-form-actions"},e9=["aria-label","disabled"],t9={key:2,class:"nformr-form-field-error"},n9={key:1,class:"nformr-form-submit-message"};function r9(e,t,n,r,s,i){const o=Sd("nupload");return L(),N("div",{class:Ge(["nformr-form",["f_"+n.fkey,"direction-"+s.transitionDirection,{submitting:s.submitting}]]),style:{position:"relative"}}
76,[(s.submitResult==null||s.submitResult.success===!1)&&s.form.pages.length>0?(L(),N(ce,{key:0},[de(Y2,{name:"nformr-page-transition",onAfterEnter:i.pageEnter},{default:je(()=>[(L(!0),N(ce,null,Ae(s.form.pages,(c,a)=>(L(),N(ce,{key:"page_"+a},[i.show(c,a)?(L(),N("div",{key:0,class:"nformr-form-page",onMousemove:t[3]||(t[3]=u=>s.interactions.mousemove++),onTouchstart:t[4]||(t[4]=u=>s.interactions.touchstart++)},[c.showOnForm?(L(),N("h2",JN,K(c.name),1)):he("",!0),(L(!0),N(ce,null,Ae(c.fields,(u,l)=>(L(),N(ce,null,[i.show(u,a)?(L(),N("div",{key:0,class:Ge(["nformr-form-field",[{error:i.errors.has(u.guid)},"nformr-field-alias-"+u.alias]])},[u.type=="label"?(L(),N("p",{key:0,innerHTML:u.labelHtml},null,8,XN)):(L(),N(ce,{key:1},[u.labelEnabled&&u.label!=""&&u.type!="check"&&u.type!="pagetitle"?(L(),N("label",{key:0,for:u.guid,class:"nformr-form-field-label",innerHTML:u.labelHtml},null,8,QN)):he("",!0),u.type=="upload"?(L(),Oe(o,{ref_for:!0,ref:"p"+a+"_f"+l,key:u.guid,name:u.guid,files:u.files,"label-html":u.labelHtml,modelValue:u.value,"onUpdate:modelValue":f=>u.value=f,onInput:f=>u.dirty=!0},null,8,["name","files","label-html","modelValue","onUpdate:modelValue","onInput"])):(L(),Oe(Va("n"+u.type),{ref_for:!0,ref:"p"+a+"_f"+l,key:u.guid,name:u.guid,placeholder:u.placeholderEnabled?u.placeholder:null,"label-html":u.labelHtml,options:u.options,modelValue:u.value,"onUpdate:modelValue":f=>u.value=f,onInput:f=>{u.dirty=!0,s.interactions.input++},onFocus:t[0]||(t[0]=f=>s.interactions.focus++),onKeydown:t[1]||(t[1]=Fr(f=>s.interactions.keydown++,["native"])),onClick:t[2]||(t[2]=f=>s.interactions.click++),onEnterKey:i.next},null,40,["name","placeholder","label-html","options","modelValue","onUpdate:modelValue","onInput","onEnterKey"]))],64))],2)):he("",!0)],64))),256))],32)):he("",!0)],64))),128))]),_:1},8,["onAfterEnter"]),s.form.messageOnly?he("",!0):(L(),N("div",ZN,[s.form.pages.length>1?(L(),N(ce,{key:0},[s.page>0?(L(),N("button",{key:0,"aria-label":"Back",type:"button",onClick:t[5]||(t[5]=bi((...c)=>i.back&&i.back(...c),["prevent"]))},"Back")):he("",!0),i.isLastVisPage?he("",!0):(L(),N("button",{key:1,"aria-label":"Next",type:"button",onClick:t[6]||(t[6]=bi((...c)=>i.next&&i.next(...c),["prevent"]))},"Next"))],64)):he("",!0),i.isLastVisPage?(L(),N("button",{key:1,"aria-label":s.form.buttonText,type:"button",onClick:t[7]||(t[7]=bi((...c)=>i.submit&&i.submit(...c),["prevent"])),disabled:s.submitting},K(s.form.buttonText),9,e9)):he("",!0),i.errors.any()?(L(),N("p",t9,"Please fix validation errors")):he("",!0),Xn(w("input",{type:"text",name:"yenoh","aria-label":"yenoh",style:{width:"0!important",height:"0!important",opacity:"0!important",visibility:"hidden!important",position:"absolute!important","z-index":"-9!important"},tabindex:"-1",autocomplete:"no","onUpdate:modelValue":t[8]||(t[8]=c=>s.honey=c)},null,512),[[Ks,s.honey]])]))],64)):he("",!0),s.submitResult!=null?(L(),N("p",n9,[s.submitResult.success?(L(),N(ce,{key:0},[it(K(s.form.submitMessage),1)],64)):(L(),N(ce,{key:1},[it(K(s.submitResult.message),1)],64))])):he("",!0)],2)}const qo=Cn(YN,[["render",r9]]);qo.install=e=>{e.component(qo.name||"nform",qo)};const s9={class:"section section--with-border aos-init aos-animate","data-aos":"fade-up"},i9={class:"container"},o9={class:"form"},a9={class:"form__grid"},c9={class:"form__cell"},u9={class:"h3"},l9={class:"form__cell"},f9={__name:"contactBlock",props:{title:{type:String,required:!0}},setup(e){const t=e;return(n,r)=>(L(),N("section",s9,[w("div",i9,[w("div",o9,[w("div",a9,[w("div",c9,[w("h2",u9,K(t.title),1)]),w("div",l9,[de(re(qo),{fkey:"db7bb612-6d37-4906-aa67-d1572dc6549c"})])])])])]))}},d9={class:"section aos-init aos-animate","data-aos":"fade-up"},h9={class:"container"},p9={class:"locations"},g9={class:"overline"},m9={class:"locations__grid"},y9={class:"location"},_9={class:"location__media"},v9=["src","alt"],b9={class:"location__body"},w9={class:"h3"},S9=["href"],E9={__name:"locationsBlock",props:{title:{type:String}},setup(e){const t=e,n=ut("settings");return(r,s)=>{var i;return L(),N("section",d9,[w("div",h9,[w("div",p9,[w("h2",g9,K(t.title),
761),w("div",m9,[(L(!0),N(ce,null,Ae((i=re(n))==null?void 0:i.locations,o=>(L(),N("div",y9,[w("div",_9,[w("img",{src:r.$getMediaUrl(o.image,500,200),alt:o.title+" Photo"},null,8,v9)]),w("div",b9,[w("h3",w9,K(o.title),1),w("p",null,K(o.address),1),w("p",null,[s[0]||(s[0]=it("E: ",-1)),w("a",{href:"mailto:"+o.email},K(o.email),9,S9)])])]))),256))])])])])}}},T9={class:"cta__main"},C9={class:"container"},A9={class:"cta__head"},k9={key:0,class:"cta__icon"},I9={class:"cta__title"},$9={class:"cta__subtitle"},R9={class:"cta__form"},P9={__name:"subscribeBlock",props:{icon:{type:Object},title:{type:String},subtitle:{type:String},noOverflow:{type:Boolean,default:!1}},setup(e){const t=e;return(n,r)=>{const s=er;return L(),N("section",{class:Ge(["cta",{"no-overflow":t.noOverflow}]),"data-aos":"fade-up"},[w("div",T9,[w("div",C9,[w("div",A9,[t.icon?(L(),N("div",k9,[de(s,{url:n.$getMediaUrl(t.icon)},null,8,["url"])])):he("",!0),w("div",I9,K(t.title),1),w("div",$9,K(t.subtitle),1)]),w("div",R9,[de(re(qo),{fkey:"2073fb7d-b544-4dd1-bbc8-81210d4ac2b6"})])])])],2)}}},O9={class:"casecards aos-init aos-animate","data-aos":"fade-up"},x9={class:"casecard__media"},L9=["src","alt"],M9={class:"casecard__body"},N9={class:"casecard__content"},D9={class:"overline"},j9={class:"casecard__title"},F9={class:"casecard__text"},H9={__name:"casestudyBlock",props:{itemCount:{type:Number},articles:{type:Array}},async setup(e){let t,n;const r=e,s=r!=null&&r.itemCount?r==null?void 0:r.itemCount:3,{data:i}=(r==null?void 0:r.articles)==null||(r==null?void 0:r.articles.length)===0?([t,n]=Wn(()=>Gn(`*[_type == 'article' && type._ref == '4e4da901-d348-40e2-8122-7b38ac02df4d']{...,type->} | order(date desc) [0..${s-1}]`)),t=await t,n(),t):([t,n]=Wn(()=>Gn(`*[_type == 'article' && type._ref == '4e4da901-d348-40e2-8122-7b38ac02df4d' && _id in $articleIds]{...,type->} | order(date desc) [0..${s-1}]`,{articleIds:r==null?void 0:r.articles.map(o=>o._ref)})),t=await t,n(),t);return(o,c)=>{const a=Ys;return L(),N("section",O9,[(L(!0),N(ce,null,Ae(re(i),u=>{var l;return L(),N("div",{class:"casecard",key:u._id},[de(a,{class:"casecard__link",to:"/insights-events/"+((l=u.slug)==null?void 0:l.current)},{default:je(()=>{var f;return[w("div",x9,[w("img",{src:o.$getMediaUrl(u.heroMedia,1e3,700),alt:o.$getAltText(u.heroMedia)},null,8,L9)]),w("div",M9,[w("div",N9,[w("div",D9,K((f=u.type)==null?void 0:f.title),1),w("h2",j9,K(u.title),1),w("div",F9,[w("p",null,K(u.subtitle),1)])])])]}),_:2},1032,["to"])])}),128))])}}},U9={class:"container"},V9={class:"halfimage__row"},B9={class:"halfimage__media"},q9=["src","alt"],W9={class:"halfimage__main"},z9={class:"halfimage__content"},K9={__name:"mediaCopyBlock",props:{media:{type:Object},copy:{type:Array},reverse:{type:Boolean}},setup(e){return(t,n)=>{const r=Al;return L(),N("section",{class:Ge(["section halfimage aos-init aos-animate",{"halfimage--reverse":e.reverse}]),"data-aos":"fade-up"},[w("div",U9,[w("div",V9,[w("div",B9,[w("img",{src:t.$getMediaUrl(e.media,800,800),alt:t.$getAltText(e.media)},null,8,q9)]),w("div",W9,[w("div",z9,[de(r,{content:e.copy},null,8,["content"])])])])])],2)}}},G9={ContentLink:Gt,SvgInline:er,ImageMedia:E0,Popup:T0,DropNav:I$,DirectNav:R$,LinksColumn:M$,ApproachBlock:Y$,IntroBlock:gR,EthosBlock:ER,WorkflowBlock:MR,ServicesBlock:VL,FeaturesBlock:ZL,VideoBlock:i6,TechBlock:V6,OutcomesBlock:Z6,ProductsBlock:E8,CardsBlock:M8,SolutionsBlock:G8,TextSectionBlock:cM,PromoBlock:yM,ArticlesBlock:xM,ContactBlock:f9,LocationsBlock:E9,SubscribeBlock:P9,CasestudyBlock:H9,MediaCopyBlock:K9},Y9=Ct(()=>{const e={...G9};return{provide:{getComponentType:n=>{if(!n)return"div";const r=n.charAt(0).toUpperCase()+n.slice(1);return e[r]||"div"}}}});var iu={exports:{}},J9=iu.exports,t_;function X9(){return t_||(t_=1,(function(e,t){(function(n,r){e.exports=r()})(J9,(function(){function n(C,P){(P==null||P>C.length)&&(P=C.length);for(var R=0,k=Array(P);R<P;R++)k[R]=C[R];return k}function r(C,P){var R=typeof Symbol<"u"&&C[Symbol.iterator]||C["@@iterator"];if(R)return(R=R.call(C)).next.bind(R);if(Array.isArray(C)||(R=i(C))||P){R&&(C=R);var k=0;return function(){return k>=C.length?{done:!0}:{done:!1,value:C[k++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. 77In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function s(){return s=Object.assign?Object.assign.bind():function(C){for(var P=1;P<arguments.length;P++){var R=arguments[P];for(var k in R)({}).hasOwnProperty.call(R,k)&&(C[k]=R[k])}return C},s.apply(null,arguments)}function i(C,P){if(C){if(typeof C=="string")return n(C,P);var R={}.toString.call(C).slice(8,-1);return R==="Object"&&C.constructor&&(R=C.constructor.name),R==="Map"||R==="Set"?Array.from(C):R==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(R)?n(C,P):void 0}}var o="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function c(C){var P=C.split("-"),R=P[1],k=P[2],T=P[3];if(!R||!k||!T)throw new Error("Malformed asset _ref '"+C+`'. Expected an id like "`+
77o+'".');var O=k.split("x"),I=O[0],j=O[1],U=+I,q=+j,z=isFinite(U)&&isFinite(q);if(!z)throw new Error("Malformed asset _ref '"+C+`'. Expected an id like "`+o+'".');return{id:R,width:U,height:q,format:T}}var a=function(P){var R=P;return R?typeof R._ref=="string":!1},u=function(P){var R=P;return R?typeof R._id=="string":!1},l=function(P){var R=P;return R&&R.asset?typeof R.asset.url=="string":!1},f=function(P){if(typeof P=="object"&&P!==null){var R=P;return R._upload&&(!R.asset||!R.asset._ref)}return!1};function h(C){if(!C)return null;var P;if(typeof C=="string"&&p(C))P={asset:{_ref:d(C)}};else if(typeof C=="string")P={asset:{_ref:C}};else if(a(C))P={asset:C};else if(u(C))P={asset:{_ref:C._id||""}};else if(l(C))P={asset:{_ref:d(C.asset.url)}};else if(typeof C.asset=="object")P=s({},C);else return null;var R=C;return R.crop&&(P.crop=R.crop),R.hotspot&&(P.hotspot=R.hotspot),g(P)}function p(C){return/^https?:\/\//.test(""+C)}function d(C){var P=C.split("/").slice(-1);return("image-"+P[0]).replace(/\.([a-z]+)$/,"-$1")}function g(C){if(C.crop&&C.hotspot)return C;var P=s({},C);return P.crop||(P.crop={left:0,top:0,bottom:0,right:0}),P.hotspot||(P.hotspot={x:.5,y:.5,height:1,width:1}),P}var v=[["width","w"],["height","h"],["format","fm"],["download","dl"],["blur","blur"],["sharpen","sharp"],["invert","invert"],["orientation","or"],["minHeight","min-h"],["maxHeight","max-h"],["minWidth","min-w"],["maxWidth","max-w"],["quality","q"],["fit","fit"],["crop","crop"],["saturation","sat"],["auto","auto"],["dpr","dpr"],["pad","pad"],["frame","frame"]];function _(C){var P=s({},C||{}),R=P.source;delete P.source;var k=h(R);if(!k){if(R&&f(R))return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8HwQACfsD/QNViZkAAAAASUVORK5CYII=";throw new Error("Unable to resolve image URL from source ("+JSON.stringify(R)+")")}var T=k.asset._ref||k.asset._id||"",O=c(T),I=Math.round(k.crop.left*O.width),j=Math.round(k.crop.top*O.height),U={left:I,top:j,width:Math.round(O.width-k.crop.right*O.width-I),height:Math.round(O.height-k.crop.bottom*O.height-j)},q=k.hotspot.height*O.height/2,z=k.hotspot.width*O.width/2,X=k.hotspot.x*O.width,se=k.hotspot.y*O.height,oe={left:X-z,top:se-q,right:X+z,bottom:se+q};return P.rect||P.focalPoint||P.ignoreImageParams||P.crop||(P=s({},P,m({crop:U,hotspot:oe},P))),y(s({},P,{asset:O}))}function y(C){var P=(C.baseUrl||"https://cdn.sanity.io").replace(/\/+$/,""),R=C.vanityName?"/"+C.vanityName:"",k=C.asset.id+"-"+C.asset.width+"x"+C.asset.height+"."+C.asset.format+R,T=P+"/images/"+C.projectId+"/"+C.dataset+"/"+k,O=[];if(C.rect){var I=C.rect,j=I.left,U=I.top,q=I.width,z=I.height,X=j!==0||U!==0||z!==C.asset.height||q!==C.asset.width;X&&O.push("rect="+j+","+U+","+q+","+z)}C.bg&&O.push("bg="+C.bg),C.focalPoint&&(O.push("fp-x="+C.focalPoint.x),O.push("fp-y="+C.focalPoint.y));var se=[C.flipHorizontal&&"h",C.flipVertical&&"v"].filter(Boolean).join("");return se&&O.push("flip="+se),v.forEach(function(oe){var G=oe[0],F=oe[1];typeof C[G]<"u"?O.push(F+"="+encodeURIComponent(C[G])):typeof C[F]<"u"&&O.push(F+"="+encodeURIComponent(C[F]))}),O.length===0?T:T+"?"+O.join("&")}function m(C,P){var R,k=P.width,T=P.height;if(!(k&&T))return{width:k,height:T,rect:C.crop};var O=C.crop,I=C.hotspot,j=k/T,U=O.width/O.height;if(U>j){var q=Math.round(O.height),z=Math.round(q*j),X=Math.max(0,Math.round(O.top)),se=Math.round((I.right-I.left)/2+I.left),oe=Math.max(0,Math.round(se-z/2));oe<O.left?oe=O.left:oe+z>O.left+O.width&&(oe=O.left+O.width-z),R={left:oe,top:X,width:z,height:q}}else{var G=O.width,F=Math.round(G/j),Z=Math.max(0,Math.round(O.left)),J=Math.round((I.bottom-I.top)/2+I.top),Q=Math.max(0,Math.round(J-F/2));Q<O.top?Q=O.top:Q+F>O.top+O.height&&(Q=O.top+O.height-F),R={left:Z,top:Q,width:G,height:F}}return{width:k,height:T,rect:R}}var b=["clip","crop","fill","fillmax","max","scale","min"],E=["top","bottom","left","right","center","focalpoint","entropy"],$=["format"];function A(C){return C&&"config"in C?typeof C.config=="function":!1}function D(C){return C&&"clientConfig"in C?typeof C.clientConfig=="object":!1}function H(C){for(var P=v,R=r(P),k;!(k=R()).done;){var T=k.value,O=T[0],I=T[1];if(C===O||C===I)return O}return C}function B(C){if(A(C)){var P=C.config(),R=P.apiHost,k=P.projectId,T=P.dataset,O=R||"https://api.sanity.io";return new V(null,{baseUrl:O.replace(/^https:\/\/api\./,"https://cdn."),projectId:k,dataset:T})}
77if(D(C)){var I=C.clientConfig,j=I.apiHost,U=I.projectId,q=I.dataset,z=j||"https://api.sanity.io";return new V(null,{baseUrl:z.replace(/^https:\/\/api\./,"https://cdn."),projectId:U,dataset:q})}return new V(null,C||{})}var V=(function(){function C(R,k){this.options=void 0,this.options=R?s({},R.options||{},k||{}):s({},k||{})}var P=C.prototype;return P.withOptions=function(k){var T=k.baseUrl||this.options.baseUrl,O={baseUrl:T};for(var I in k)if(k.hasOwnProperty(I)){var j=H(I);O[j]=k[I]}return new C(this,s({baseUrl:T},O))},P.image=function(k){return this.withOptions({source:k})},P.dataset=function(k){return this.withOptions({dataset:k})},P.projectId=function(k){return this.withOptions({projectId:k})},P.bg=function(k){return this.withOptions({bg:k})},P.dpr=function(k){return this.withOptions(k&&k!==1?{dpr:k}:{})},P.width=function(k){return this.withOptions({width:k})},P.height=function(k){return this.withOptions({height:k})},P.focalPoint=function(k,T){return this.withOptions({focalPoint:{x:k,y:T}})},P.maxWidth=function(k){return this.withOptions({maxWidth:k})},P.minWidth=function(k){return this.withOptions({minWidth:k})},P.maxHeight=function(k){return this.withOptions({maxHeight:k})},P.minHeight=function(k){return this.withOptions({minHeight:k})},P.size=function(k,T){return this.withOptions({width:k,height:T})},P.blur=function(k){return this.withOptions({blur:k})},P.sharpen=function(k){return this.withOptions({sharpen:k})},P.rect=function(k,T,O,I){return this.withOptions({rect:{left:k,top:T,width:O,height:I}})},P.format=function(k){return this.withOptions({format:k})},P.invert=function(k){return this.withOptions({invert:k})},P.orientation=function(k){return this.withOptions({orientation:k})},P.quality=function(k){return this.withOptions({quality:k})},P.forceDownload=function(k){return this.withOptions({download:k})},P.flipHorizontal=function(){return this.withOptions({flipHorizontal:!0})},P.flipVertical=function(){return this.withOptions({flipVertical:!0})},P.ignoreImageParams=function(){return this.withOptions({ignoreImageParams:!0})},P.fit=function(k){if(b.indexOf(k)===-1)throw new Error('Invalid fit mode "'+k+'"');return this.withOptions({fit:k})},P.crop=function(k){if(E.indexOf(k)===-1)throw new Error('Invalid crop mode "'+k+'"');return this.withOptions({crop:k})},P.saturation=function(k){return this.withOptions({saturation:k})},P.auto=function(k){if($.indexOf(k)===-1)throw new Error('Invalid auto mode "'+k+'"');return this.withOptions({auto:k})},P.pad=function(k){return this.withOptions({pad:k})},P.vanityName=function(k){return this.withOptions({vanityName:k})},P.frame=function(k){if(k!==1)throw new Error('Invalid frame value "'+k+'"');return this.withOptions({frame:k})},P.url=function(){return _(this.options)},P.toString=function(){return this.url()},C})();return B}))})(iu)),iu.exports}var Q9=X9();const Z9=Nw(Q9),Wo="https://cdn.sanity.io",e7=/^https:\/\/cdn\.sanity\./,t7=/^https:\/\/cdn\.[^/]+\/(images|files)\/[^/]+\/.*?[a-zA-Z0-9_]{24,40}.*$/,n7=/^([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+\.[a-z0-9]+$/,r7=/^file-([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-[a-z0-9]+$/,s7=/^([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})-\d+x\d+\.[a-z0-9]+$/,ql=/^(images|files)\/([a-z0-9]+)\/([a-z0-9][-\w]*)\//,qw=/^(?:image-(?:[a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-\d+x\d+-[a-z0-9]+|file-(?:[a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-[a-z0-9]+)$/,i7="sanity.fileAsset",Ww="upload-in-progress-placeholder",o7="upload-in-progress",a7="tmp";class pa extends Error{constructor(t,n="Failed to resolve asset ID from source"){super(n),this.unresolvable=!0,this.input=t}}function c7(e){const t=e;return!!(t.unresolvable&&"input"in t)}function u7(e){return(...t)=>{try{return e(...t)}catch(n){if(c7(n))return;throw n}}}function Zs(e){return e!==null&&!Array.isArray(e)&&typeof e=="object"}function zw(e){return Zs(e)&&typeof e._ref=="string"}function l7(e){return Zs(e)&&typeof e._id=="string"}function Kw(e){return Zs(e)&&typeof e.path=="string"}function Gw(e){return Zs(e)&&typeof e.url=="string"}function f7(e){return Zs(e)&&e._type==="sanity.fileAsset"}function Yw(e){const t=e;return Zs(t)&&!!t.asset&&typeof t.asset=="object"}function Jw(e){const t=e;return Zs(t)&&!!t._upload&&!("asset"in t)}function Xw(e){return e7.test(e)||t7.test(e)}function Qw(e,t){const n=(t==null?void 0:t.projectId)||e.projectId,r=(t==null?void 0:t.dataset)||e.dataset;if(!n||!r)throw new Error("Project details (projectId and dataset) required to resolve path for file");const s="originalFilename"in e?e.originalFilename:void 0,{assetId:i,extension:o,vanityFilename:c}=e,a=g7(s,c,t);return`files/${n}/${r}/${i}.${o}${a}`}function d7(e,t){return`${(t==null?void 0:t.baseUrl)||Wo}/${Qw(e,t)}`}function h7(e){return ql.test(p7(e)||"")}function Zw(e){if(Yw(e))return Zw(e.asset);if(!zw(e)){if(typeof e=="string")return h7(e)?Ku(e):void 0;if(Kw(e))return e.path;if(Gw(e))return Ku(e.url)}}function Ku(e){if(ql.test(e))return e;if(!Xw(e))throw new pa(`Failed to resolve path from URL "${e}"`);return new URL(e).pathname.replace(/^\/+/,"")}const p7=u7(Ku);function g7(e,t,n){const r=t||e;return(n==null?void 0:n.useVanityName)===!1||!r?"":`/${r}`}const m7="file-027401f31c3ac1e6d78c5d539ccd1beff72b9b11-pdf";function y7(e){if(!r7.test(e))throw new Error(`Malformed file asset ID '${e}'. Expected an id like "${m7}"`);const[,t,n]=e.split("-");return{type:"file",assetId:t,extension:n}}function _7(e,t){if(Jw(e))return{assetId:o7,_id:Ww,_type:i7,extension:a7,metadata:{},url:"",path:""};const n={...t||w7(e),useVanityName:!1},r=v7(e),s=e.asset||e,{assetId:i,extension:o}=y7(r),c={...f7(e)?e:{},_id:r,_type:"sanity.fileAsset",assetId:i,extension:o,metadata:s.metadata||{},url:"",path:""};return{...c,path:Qw(c,n),url:d7(c,n)}}function v7(e){if(Jw(e))return Ww;const t=Yw(e)?e.asset:e;let n="";if(typeof t=="string"?n=b7(t):zw(t)?n=t._ref:l7(t)?n=t._id:Kw(t)?n=fi(`${Wo}/${t.path}`):Gw(t)&&(n=fi(t.url)),!(n&&qw.test(n)))throw new pa(e);return n}function b7(e){if(qw.test(e))return e;const t=Xw(e)?new URL(e).pathname:e;if(t.indexOf("/images")===0||t.indexOf("/files")===0)return fi(e);if(ql.test(e))return fi(`${Wo}/${e}`);if(E7(e))return fi(`${Wo}/files/a/b/${e}`);if(S7(e))return fi(`${Wo}/images/a/b/${e}`);throw new pa(e)}function fi(e){const t=Ku(e),[n,,,r]=t.split("/");return`${n.replace(/s$/,"")}-${r.replace(/\./g,"-")}`}function w7(e){const t=Zw(e);if(!t)throw new pa(e,"Failed to resolve project ID and dataset from source");const[,,n,r]=t.match(ql)||[];if(!n||!r)throw new pa(e,"Failed to resolve project ID and dataset from source");return{projectId:n,dataset:r}}function S7(e){return s7.test(e)}function E7(e){return n7.test(e)}const T7=Ct(()=>{const e=Z9(nu().config);function t(a){return _7(a,{projectId:nu().config.projectId,dataset:nu().config.dataset})}function n(a){return e.image(a).auto("format")}function r(a){if(!a||typeof a!="string")return a;try{const u=new URL(a);if(u.hostname==="cdn.sanity.io"){const l=u.pathname.split("/"),f=l[l.length-1],h=u.search;return`/api/media/${f}${h}`}}catch{}return a}const s=["c5-media.tpagency.com"];function i(a){if(!a||typeof a!="string")return a;try{const u=new URL(a);if(s.includes(u.hostname)||u.hostname.endsWith(".r2.dev"))return`/api/r2/${u.pathname.replace(/^\/+/,"")}${u.search||""}`}catch{}return a}return{provide:{getMediaUrl:(a,u=0,l=0,f)=>{var p,d;Array.isArray(a)&&(a=a==null?void 0:a[0]);const h=a==null?void 0:a._type;if(h=="image"){const g=((p=a==null?void 0:a.asset)==null?void 0:p._ref)||((d=a==null?void 0:a.asset)==null?void 0:d._id)||"";if(!g)return;const v=g.endsWith("-svg");let _=n(a);return v||(u>0&&(_=_.width(u)),l>0&&(_=_.height(l)),f&&(_=_.format("webp")),_=_.auto("format")),r(_.url())}else if(h=="file"){const g=t(a).url;return r(g)}},getAltText:a=>{Array.isArray(a)&&(a=a==null?void 0:a[0]);const u=a==null?void 0:a._type;if(u=="image")return a.asset.altText;if(u=="file")return""},proxyUrl:r,proxyR2Url:i}}}),C7=Ct(()=>{var t,n;((n=(t=Gs().public.sanity)==null?void 0:t.visualEditing)==null?void 0:n.previewMode)===!1&&(document.cookie.split(";").some(r=>r.trim().startsWith("sanity-preview-id="))||(document.cookie="sanity-preview-id=; path=/; SameSite=Lax"))}),Pe=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Le=globalThis,zo="10.53.1";function ei(){return Wl(Le),Le}function Wl(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||zo,t[zo]=t[zo]||{}}function zl(e,t,n=Le){const r=n.__SENTRY__=n.__SENTRY__||{},s=r[zo]=r[zo]||{};return s[e]||(s[e]=t())}const uB=["debug","info","warn","error","log","assert","trace"],A7="Sentry Logger ",n_={};function oo(e){if(!("console"in Le))return e();const t=Le.console,n={},r=Object.keys(n_);r.forEach(s=>{const i=n_[s];n[s]=t[s],t[s]=i});try{return e()}finally{r.forEach(s=>{t[s]=n[s]})}}function k7(){jp().enabled=!0}function I7(){jp().enabled=!1}function eS(){return jp().enabled}function $7(...e){Dp("log",...e)}function R7(...e){Dp("warn",...e)}function P7(...e){Dp("error",...e)}function Dp(e,...t){Pe&&eS()&&oo(()=>{Le.console[e](`${A7}[${e}]:`,...t)})}function jp(){return Pe?zl("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const ye={enable:k7,disable:I7,isEnabled:eS,log:$7,warn:R7,error:P7},tS=50,O7="?",r_=/\(error: (.*)\)/,s_=/captureMessage|captureException/;function x7(...e){const t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0,s=0)=>{const i=[],o=n.split(` 78`);for(let c=r;c<o.length;c++){let a=o[c];a.length>1024&&(a=a.slice(0,1024));const u=r_.test(a)?a.replace(r_,"$1"):a;if(!u.includes("Error: ")){for(const l of t){const f=l(u);if(f){i.push(f);break}}if(i.length>=tS+s)break}}return L7(i.slice(s))}}function lB(e){return Array.isArray(e)?x7(...e):e}function L7(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(qc(t).function||"")&&t.pop(),t.reverse(),s_.test(qc(t).function||"")&&(t.pop(),s_.test(qc(t).function||"")&&t.pop()),t.slice(0,tS).map(n=>({...n,filename:n.filename||qc(t).filename,function:n.function||O7}))}function qc(e){return e[e.length-1]||{}}const rd="<anonymous>";function Fp(e){try{return!e||typeof e!="function"?rd:e.name||rd}catch{return rd}}function fB(e){const t=e.exception;if(t){const n=[];
78try{return t.values.forEach(r=>{r.stacktrace.frames&&n.push(...r.stacktrace.frames)}),n}catch{return}}}function nS(e){return"__v_isVNode"in e&&e.__v_isVNode?"[VueVNode]":"[VueViewModel]"}const Ro={},i_={};function ao(e,t){return Ro[e]=Ro[e]||[],Ro[e].push(t),()=>{const n=Ro[e];if(n){const r=n.indexOf(t);r!==-1&&n.splice(r,1)}}}function co(e,t){if(!i_[e]){i_[e]=!0;try{t()}catch(n){Pe&&ye.error(`Error while instrumenting ${e}`,n)}}}function Un(e,t){const n=e&&Ro[e];if(n)for(const r of n)try{r(t)}catch(s){Pe&&ye.error(`Error while triggering instrumentation handler. 79Type: ${e} 80Name: ${Fp(r)} 81Error:`,s)}}let sd=null;function M7(e){const t="error";ao(t,e),co(t,N7)}function N7(){sd=Le.onerror,Le.onerror=function(e,t,n,r,s){return Un("error",{column:r,error:s,line:n,msg:e,url:t}),sd?sd.apply(this,arguments):!1},Le.onerror.__SENTRY_INSTRUMENTED__=!0}let id=null;function D7(e){const t="unhandledrejection";ao(t,e),co(t,j7)}function j7(){id=Le.onunhandledrejection,Le.onunhandledrejection=function(e){return Un("unhandledrejection",e),id?id.apply(this,arguments):!0},Le.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const rS=Object.prototype.toString;function sS(e){switch(rS.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return lo(e,Error)}}function uo(e,t){return rS.call(e)===`[object ${t}]`}function dB(e){return uo(e,"ErrorEvent")}function hB(e){return uo(e,"DOMError")}function pB(e){return uo(e,"DOMException")}function ns(e){return uo(e,"String")}function F7(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function o_(e){return e===null||F7(e)||typeof e!="object"&&typeof e!="function"}function iS(e){return uo(e,"Object")}function H7(e){return typeof Event<"u"&&lo(e,Event)}function U7(e){return typeof Element<"u"&&lo(e,Element)}function V7(e){return uo(e,"RegExp")}function Kl(e){return!!(e!=null&&e.then&&typeof e.then=="function")}function B7(e){return iS(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function lo(e,t){try{return e instanceof t}catch{return!1}}function oS(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue||e.__v_isVNode))}function Hp(e){return typeof Request<"u"&&lo(e,Request)}const Up=Le,q7=80;function Pt(e,t={}){if(!e)return"<unknown>";try{let n=e;const r=5,s=[];let i=0,o=0;const c=" > ",a=c.length;let u;const l=Array.isArray(t)?t:t.keyAttrs,f=!Array.isArray(t)&&t.maxStringLength||q7;for(;n&&i++<r&&(u=W7(n,l),!(u==="html"||i>1&&o+s.length*a+u.length>=f));)s.push(u),o+=u.length,n=n.parentNode;return s.reverse().join(c)}catch{return"<unknown>"}}function W7(e,t){const n=e,r=[];if(!(n!=null&&n.tagName))return"";if(Up.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());const s=t!=null&&t.length?t.filter(i=>n.getAttribute(i)).map(i=>[i,n.getAttribute(i)]):null;if(s!=null&&s.length)s.forEach(i=>{r.push(`[${i[0]}="${i[1]}"]`)});else{n.id&&r.push(`#${n.id}`);const i=n.className;if(i&&ns(i)){const o=i.split(/\s+/);for(const c of o)r.push(`.${c}`)}}for(const i of["aria-label","type","name","title","alt"]){const o=n.getAttribute(i);o&&r.push(`[${i}="${o}"]`)}return r.join("")}function Vp(){try{return Up.document.location.href}catch{return""}}function z7(e,t=5){if(!Up.HTMLElement)return null;let n=e;for(let r=0;r<t;r++){if(!n)return null;if(n instanceof HTMLElement){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}n=n.parentNode}return null}function gh(e,t,n){if(!(t in e))return;const r=e[t];if(typeof r!="function")return;const s=n(r);typeof s=="function"&&aS(s,r);try{e[t]=s}catch{Pe&&ye.log(`Failed to replace method "${t}" in object`,e)}}
81function ln(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{Pe&&ye.log(`Failed to add non-enumerable property "${String(t)}" to object`,e)}}function aS(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,ln(e,"__sentry_original__",t)}catch{}}function K7(e){return e.__sentry_original__}function cS(e){if(sS(e))return{message:e.message,name:e.name,stack:e.stack,...c_(e)};if(H7(e)){const t={type:e.type,target:a_(e.target),currentTarget:a_(e.currentTarget),...c_(e)};return typeof CustomEvent<"u"&&lo(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function a_(e){try{return U7(e)?Pt(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function c_(e){return typeof e=="object"&&e!==null?Object.fromEntries(Object.entries(e)):{}}function gB(e){const t=Object.keys(cS(e));return t.sort(),t[0]?t.join(", "):"[object has no keys]"}let si;function lc(e){if(si!==void 0)return si?si(e):e();const t=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),n=Le;return t in n&&typeof n[t]=="function"?(si=n[t],si(e)):(si=null,e())}function Fs(){return lc(()=>Math.random())}function uS(){return lc(()=>Date.now())}function mh(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function mB(e,t){if(!Array.isArray(e))return"";const n=[];for(let r=0;r<e.length;r++){const s=e[r];try{oS(s)?n.push(nS(s)):n.push(String(s))}catch{n.push("[value cannot be serialized]")}}return n.join(t)}function Ko(e,t,n=!1){return ns(e)?V7(t)?t.test(e):ns(t)?n?e===t:e.includes(t):typeof t=="function"?t(e):!1:!1}function ou(e,t=[],n=!1){for(const r of t)if(Ko(e,r,n))return!0;return!1}function G7(){const e=Le;return e.crypto||e.msCrypto}let od;function Y7(){return Fs()*16}function rs(e=G7()){try{if(e!=null&&e.randomUUID)return lc(()=>e.randomUUID()).replace(/-/g,"")}catch{}return od||(od="10000000100040008000"+1e11),od.replace(/[018]/g,t=>(t^(Y7()&15)>>t/4).toString(16))}function lS(e){var t,n;return(n=(t=e.exception)==null?void 0:t.values)==null?void 0:n[0]}function yB(e){const{message:t,event_id:n}=e;if(t)return t;const r=lS(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function J7(e,t,n){const r=e.exception=e.exception||{},s=r.values=r.values||[],i=s[0]=s[0]||{};i.value||(i.value=t||""),i.type||(i.type="Error")}function fS(e,t){const n=lS(e);if(!n)return;const r={type:"generic",handled:!0},s=n.mechanism;if(n.mechanism={...r,...s,...t},t&&"data"in t){const i={...s==null?void 0:s.data,...t.data};n.mechanism.data=i}}function _B(e){if(X7(e))return!0;try{ln(e,"__sentry_captured__",!0)}catch{}return!1}function X7(e){try{return e.__sentry_captured__}catch{}}const dS=1e3;function fc(){return uS()/dS}function Q7(){const{performance:e}=Le;if(!(e!=null&&e.now)||!e.timeOrigin)return fc;const t=e.timeOrigin;return()=>(t+lc(()=>e.now()))/dS}let u_;function ot(){return(u_??(u_=Q7()))()}let ad=null;function Z7(){var o;const{performance:e}=Le;if(!(e!=null&&e.now))return;const t=3e5,n=lc(()=>e.now()),r=uS(),s=e.timeOrigin;if(typeof s=="number"&&Math.abs(s+n-r)<t)return s;const i=(o=e.timing)==null?void 0:o.navigationStart;return typeof i=="number"&&Math.abs(i+n-r)<t?i:r-n}function Ot(){return ad===null&&(ad=Z7()),ad}function eD(e){const t=ot(),n={sid:rs(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>nD(n)};return e&&Gl(n,e),n}function Gl(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||ot(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:rs()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{const n=e.timestamp-e.started;e.duration=n>=0?n:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),t
vendor: 6,421 bytes, line 81
81ypeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function tD(e,t){let n={};e.status==="ok"&&(n={status:"exited"}),Gl(e,n)}function nD(e){return{sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}function Yl(e,t,n=2){if(!t||typeof t!="object"||n<=0)return t;if(e&&Object.keys(t).length===0)return e;const r={...e};for(const s in t)Object.prototype.hasOwnProperty.call(t,s)&&(r[s]=Yl(r[s],t[s],n-1));return r}function Lr(){return rs()}function Cr(){return rs().substring(16)}const yh="_sentrySpan";function ga(e,t){t?ln(e,yh,t):delete e[yh]}function Gu(e){return e[yh]}const rD=100;class Yn{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:Lr(),sampleRand:Fs()}}clone(){const t=new Yn;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._attributes={...this._attributes},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,t._conversationId=this._conversationId,ga(t,Gu(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&Gl(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(t){return this._conversationId=t||void 0,this._notifyScopeListeners(),this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,n){return this.setTags({[t]:n})}setAttributes(t){return this._attributes={...this._attributes,...t},this._notifyScopeListeners(),this}setAttribute(t,n){return this.setAttributes({[t]:n})}removeAttribute(t){return t in this._attributes&&(delete this._attributes[t],this._notifyScopeListeners()),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,n){return this._extra={...this._extra,[t]:n},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,n){return n===null?delete this._contexts[t]:this._contexts[t]=n,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;const n=typeof t=="function"?t(this):t,r=n instanceof Yn?n.getScopeData():iS(n)?t:void 0,{tags:s,attributes:i,extra:o,user:c,contexts:a,level:u,fingerprint:l=[],propagationContext:f,conversationId:h}=r||{};return this._tags={...this._tags,...s},this._attributes={...this._attributes,...i},this._extra={...this._extra,...o},this._contexts={...this._contexts,...a},c&&Object.keys(c).length&&(this._user=c),u&&(this._level=u),l.length&&(this._fingerprint=l),f&&(this._propagationContext=f),h&&(this._conversationId=h),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,ga(this,void 0),this._attachments=[],this.setPropagationContext({traceId:Lr(),sampleRand:Fs()}),this._notifyScopeListeners(),this}addBreadcrumb(t,n){var i;const r=typeof n=="number"?n:rD;if(r<=0)return this;const s={timestamp:fc(),...t,message:t.message?mh(t.message,2048):t.message};return this._breadcrumbs.push(s),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r),(i=this._client)==null||i.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:Gu(this),conversationId:this._conversationId}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=Yl(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,n){const r=(n==null?void 0:n.event_id)||rs();if(!this._client)return Pe&&ye.warn("No client configured on scope - will not capture exception!"),r;const s=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:s,...n,event_id:r},this),r}captureMessage(t,n,r){const s=(r==null?void 0:r.event_id)||rs();if(!this._client)return Pe&&ye.warn("No client configured on scope - will not capture message!"),s;const i=(r==null?void 0:r.syntheticException)??new Error(t);return this._client.captureMessage(t,n,{originalException:t,syntheticException:i,...r,event_id:s},this),s}
81captureEvent(t,n){const r=t.event_id||(n==null?void 0:n.event_id)||rs();return this._client?(this._client.captureEvent(t,{...n,event_id:r},this),r):(Pe&&ye.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}}function sD(){return zl("defaultCurrentScope",()=>new Yn)}function iD(){return zl("defaultIsolationScope",()=>new Yn)}const l_=e=>e instanceof Promise&&!e[hS],hS=Symbol("chained PromiseLike"),oD=(e,t,n)=>{const r=e.then(s=>(t(s),s),s=>{throw n(s),s});return l_(r)&&l_(e)?r:aD(e,r)},aD=(e,t)=>{if(!t)return e;let n=!1;for(const r in e){if(r in t)continue;n=!0;const s=e[r];typeof s=="function"?Object.defineProperty(t,r,{value:(...i)=>s.apply(e,i),enumerable:!0,configurable:!0,writable:!0}):t[r]=s}return n&&Object.assign(t,{[hS]:!0}),t};class cD{constructor(t,n){let r;t?r=t:r=new Yn;let s;n?s=n:s=new Yn,this._stack=[{scope:r}],this._isolationScope=s}withScope(t){const n=this._pushScope();let r;try{r=t(n)}catch(s){throw this._popScope(),s}return Kl(r)?oD(r,()=>this._popScope(),()=>this._popScope()):(this._popScope(),r)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}}function Xi(){const e=ei(),t=Wl(e);return t.stack=t.stack||new cD(sD(),iD())}function uD(e){return Xi().withScope(e)}function lD(e,t){const n=Xi();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function f_(e){return Xi().withScope(()=>e(Xi().getIsolationScope()))}function fD(){return{withIsolationScope:f_,withScope:uD,withSetScope:lD,withSetIsolationScope:(e,t)=>f_(t),getCurrentScope:()=>Xi().getScope(),getIsolationScope:()=>Xi().getIsolationScope()}}function fo(e){const t=Wl(e);return t.acs?t.acs:fD()}function dD(e){return typeof e=="object"&&e!=null&&!Array.isArray(e)&&Object.keys(e).includes("value")}function hD(e,t){const{value:n,unit:r}=dD(e)?e:{value:e,unit:void 0},s=pD(n),i=r&&typeof r=="string"?{unit:r}:{};if(s)return{...s,...i};if(!t||t==="skip-undefined"&&n===void 0)return;let o="";try{o=JSON.stringify(n)??""}catch{}return{value:o,type:"string",...i}}function d_(e,t=!1){const n={};for(const[r,s]of Object.entries(e??{})){const i=hD(s,t);i&&(n[r]=i)}return n}function pD(e){const t=typeof e=="string"?"string":typeof e=="boolean"?"boolean":typeof e=="number"&&!Number.isNaN(e)?Number.isInteger(e)?"integer":"double":null;if(t)return{value:e,type:t}}function Je(){const e=ei();return fo(e).getCurrentScope()}function dc(){const e=ei();return fo(e).getIsolationScope()}function gD(){return zl("globalScope",()=>new Yn)}function Bp(...e){const t=ei(),n=fo(t);if(e.length===2){const[r,s]=e;return r?n.withSetScope(r,s):n.withScope(s)}return n.withScope(e[0])}function ct(){return Je().getClient()}function vB(e){const t=e.getPropagationContext(),{traceId:n,parentSpanId:r,propagationSpanId:s}=t,i={trace_id:n,span_id:s||Cr()};return r&&(i.parent_span_id=r),i}const an="sentry.source",qp="sentry.sample_rate",pS="sentry.previous_trace_sample_rate",En="sentry.op",rt="sentry.origin",ma="sentry.idle_span_finish_reason",hc="sentry.measurement_unit",pc="sentry.measurement_value",h_="sentry.custom_span_name",mD="sentry.profile_id",ho="sentry.exclusive_time",yD="sentry.link.type",bB="gen_ai.conversation.id",gS=0,Jl=1,wt=2;function _D(e){if(e<400&&e>=100)return{code:Jl};if(e>=400&&e<500)switch(e){case 401:return{code:wt,message:"unauthenticated"};case 403:return{code:wt,message:"permission_denied"};case 404:return{code:wt,message:"not_found"};case 409:return{code:wt,message:"already_exists"};case 413:return{code:wt,message:"failed_precondition"};case 429:return{code:wt,message:"resource_exhausted"};case 499:return{code:wt,message:"cancelled"};default:return{code:wt,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:wt,message:"unimplemented"};case 503:return{code:wt,message:"unavailable"};case 504:return{code:wt,message:"deadline_exceeded"};default:return{code:wt,message:"internal_error"}}return{code:wt,message:"internal_error"}}function mS(e,t){e.setAttribute("http.response.status_code",t);const n=_D(t);n.message!=="unknown_error"&&e.setStatus(n)}function vD(e){try{const t=Le.WeakRef;if(typeof t=="function")return new t(e)}catch{}return e}function bD(e){if(e){if(typeof e=="object"&&"deref"in e&&typeof e.deref=="function")try{return e.deref()}catch{return}return e}}const yS="_sentryScope",_S="_sentryIsolationScope";function wD(e,t,n){e&&(ln(e,_S,vD(n)),ln(e,yS,t))}function Yu(e){const t=e;return{scope:t[yS],isolationScope:bD(t[_S])}}const Ju="sentry-",SD=8192;function vS(e){const t=TD(e);if(!t)return;const n=Object.entries(t).reduce((r,[s,i])=>{if(s.startsWith(Ju)){const o=s.slice(Ju.length);r[o]=i}return r},{});if(Object.keys(n).length>0)return n}function ED(e){if(!e)return;const t=Object.entries(e).reduce((n,[r,s])=>(s&&(n[`${Ju}${r}`]=s),n),{});return CD(t)}function TD(e){if(!(!e||!ns(e)&&!Array.isArray(e)))return Array.isArray(e)?e.reduce((t,n)=>{const r=p_(n);return Object.entries(r).forEach(([s,i])=>{t[s]=i}),t},{}):p_(e)}function p_(e){return e.split(",").map(t=>{const n=t.indexOf("=");if(n===-1)return[];const r=t.slice(0,n),s=t.slice(n+1);return[r,s].map(i=>{try{return decodeURIComponent(i.trim())}catch{return}})}).reduce((t,[n,r])=>(n&&r&&(t[n]=r),t),{})}function CD(e){if(Object.keys(e).length!==0)return Object.entries(e).reduce((t,[n,r],s)=>{const i=`${encodeURIComponent(n)}=${encodeURIComponent(r)}`,o=s===0?i:`${t},${i}`;return o.length>SD?(Pe&&ye.warn(`Not adding key: ${n} with val: ${r} to baggage header due to exceeding baggage size limits.`),t):o},"")}const AD=/^o(\d+)\./,kD=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function ID(e){return e==="http"||e==="https"}function Wp(e,t=!1){const{host:n,path:r,pass:s,port:i,projectId:o,protocol:c,publicKey:a}=e;return`${c}://${a}${t&&s?`:${s}`:""}@${n}${i?`:${i}`:""}/${r&&`${r}/`}${o}`}function $D(e){const t=kD.exec(e);if(!t){oo(()=>{});return}const[n,r,s="",i="",o="",c=""]=t.slice(1);let a="",u=c;const l=u.split("/");if(l.length>1&&(a=l.slice(0,-1).join("/"),u=l.pop()),u){const f=u.match(/^\d+/);f&&(u=f[0])}return bS({host:i,pass:s,path:a,projectId:u,port:o,protocol:n,publicKey:r})}function bS(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function RD(e){if(!Pe)return!0;const{port:t,projectId:n,protocol:r}=e;return["protocol","publicKey","host","projectId"].find(o=>e[o]?!1:(ye.error(`Invalid Sentry Dsn: ${o} missing`),!0))?!1:n.match(/^\d+$/)?ID(r)?t&&isNaN(parseInt(t,10))?(ye.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(ye.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(ye.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function PD(e){const t=e.match(AD);return t==null?void 0:t[1]}function OD(e){const t=e.getOptions(),{host:n}=e.getDsn()||{};let r;return t.orgId?r=String(t.orgId):n&&(r=PD(n)),r}function wB(e){const t=typeof e=="string"?$D(e):bS(e);if(!(!t||!RD(t)))return t}function Xu(e){if(typeof e=="boolean")return Number(e);const t=typeof e=="string"?parseFloat(e):e;if(!(typeof t!="number"||isNaN(t)||t<0||t>1))return t}const wS=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function xD(e){if(!e)return;const t=e.match(wS);if(!t)return;let n;return t[3]==="1"?n=!0:t[3]==="0"&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}function LD(e,t){const n=xD(e),r=vS(t);if(!(n!=null&&n.traceId))return{traceId:Lr(),sampleRand:Fs()};const s=MD(n,r);r&&(r.sample_rand=s.toString());const{traceId:i,parentSpanId:o,parentSampled:c}=n;return{traceId:i,parentSpanId:o,sampled:c,dsc:r||{},sampleRand:s}}function SS(e=Lr(),t=Cr(),n){let r="";return n!==void 0&&(r=n?"-1":"-0"),`${e}-${t}${r}`}function ES(e=Lr(),t=Cr(),n){return`00-${e}-${t}-${n?"01":"00"}`}function MD(e,t){const n=Xu(t==null?void 0:t.sample_rand);if(n!==void 0)return n;const r=Xu(t==null?void 0:t.sample_rate);return r&&(e==null?void 0:e.parentSampled)!==void 0?e.parentSampled?Fs()*r:r+Fs()*(1-r):Fs()}const TS=0,Xl=1;let g_=!1;function ND(e){const{spanId:t,traceId:n}=e.spanContext(),{data:r,op:s,parent_span_id:i,status:o,origin:c,links:a}=xe(e);return{parent_span_id:i,span_id:t,trace_id:n,data:r,op:s,status:o,origin:c,links:a}}function DD(e){const{spanId:t,traceId:n,isRemote:r}=e.spanContext(),s=r?t:xe(e).parent_span_id,i=Yu(e).scope,o=r?(i==null?void 0:i.getPropagationContext().propagationSpanId)||Cr():t;return{parent_span_id:s,span_id:o,trace_id:n}}function jD(e){const{traceId:t,spanId:n}=e.spanContext(),r=gs(e);return SS(t,n,r)}function FD(e){const{traceId:t,spanId:n}=e.spanContext(),r=gs(e);return ES(t,n,r)}function CS(e){if(e&&e.length>0)return e.map(({context:{spanId:t,traceId:n,traceFlags:r,...s},attributes:i})=>({span_id:t,trace_id:n,sampled:r===Xl,attributes:i,...s}))}function AS(e){if(e!=null&&e.length)return e.map(({context:{spanId:t,traceId:n,traceFlags:r},attributes:s})=>({span_id:t,trace_id:n,sampled:r===Xl,attributes:s}))}function Ar(e){return typeof e=="number"?m_(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?m_(e.getTime()):ot()}function m_(e){return e>9999999999?e/1e3:e}function xe(e){if(RS(e))return e.getSpanJSON();const{spanId:t,traceId:n}=e.spanContext();if($S(e)){const{attributes:r,startTime:s,name:i,endTime:o,status:c,links:a}=e;return{span_id:t,trace_id:n,data:r,description:i,parent_span_id:IS(e),start_timestamp:Ar(s),timestamp:Ar(o)||void 0,status:PS(c),op:r[En],origin:r[rt],links:CS(a)}}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function kS(e){if(RS(e))return e.getStreamedSpanJSON();const{spanId:t,traceId:n}=e.spanContext();if($S(e)){const{attributes:r,startTime:s,name:i,endTime:o,status:c,links:a}=e;return{name:i,span_id:t,trace_id:n,parent_span_id:IS(e),start_timestamp:Ar(s),end_timestamp:Ar(o),is_segment:e===vh(e),status:OS(c),attributes:r,links:AS(a)}}return{span_id:t,trace_id:n,start_timestamp:0,name:"",end_timestamp:0,status:"ok",is_segment:e===vh(e)}}function IS(e){var t;return"parentSpanId"in e?e.parentSpanId:"parentSpanContext"in e?(t=e.parentSpanContext)==null?void 0:t.spanId:void 0}function SB(e){var t;return{...e,attributes:d_(e.attributes),links:(t=e.links)==null?void 0:t.map(n=>({...n,attributes:d_(n.attributes)}))}}function $S(e){const t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function RS(e){return typeof e.getSpanJSON=="function"}function gs(e){const{traceFlags:t}=e.spanContext();return t===Xl}function PS(e){if(!(!e||e.code===gS))return e.code===Jl?"ok":e.message||"internal_error"}function OS(e){return!e||e.code===Jl||e.code===gS||e.message==="cancelled"?"ok":"error"}const Hs="_sentryChildSpans",_h="_sentryRootSpan";function xS(e,t){const n=e[_h]||e;
81ln(t,_h,n),e[Hs]?e[Hs].add(t):ln(e,Hs,new Set([t]))}function HD(e,t){e[Hs]&&e[Hs].delete(t)}function au(e){const t=new Set;function n(r){if(!t.has(r)&&gs(r)){t.add(r);const s=r[Hs]?Array.from(r[Hs]):[];for(const i of s)n(i)}}return n(e),Array.from(t)}const Et=vh;function vh(e){return e[_h]||e}function jt(){const e=ei(),t=fo(e);return t.getActiveSpan?t.getActiveSpan():Gu(Je())}function UD(){g_||(oo(()=>{}),g_=!0)}let y_=!1;function VD(){if(y_)return;function e(){const t=jt(),n=t&&Et(t);if(n){const r="internal_error";Pe&&ye.log(`[Tracing] Root span: ${r} -> Global error occurred`),n.setStatus({code:wt,message:r})}}e.tag="sentry_tracingErrorCallback",y_=!0,M7(e),D7(e)}function cn(e){var n;if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const t=e||((n=ct())==null?void 0:n.getOptions());return!!t&&(t.tracesSampleRate!=null||!!t.tracesSampler)}function __(e){ye.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function zp(e,t){if(!(t!=null&&t.length))return!1;for(const n of t){if(qD(n)){if(e.description&&Ko(e.description,n))return Pe&&__(e),!0;continue}const r=!!n.attributes&&Object.keys(n.attributes).length>0;if(!n.name&&!n.op&&!r)continue;const s=n.name?e.description&&Ko(e.description,n.name):!0,i=n.op?e.op&&Ko(e.op,n.op):!0,o=n.attributes?Object.entries(n.attributes).every(([c,a])=>{var u;return BD((u=e.attributes)==null?void 0:u[c],a)}):!0;if(s&&i&&o)return Pe&&__(e),!0}return!1}function BD(e,t){return typeof e=="string"&&(typeof t=="string"||t instanceof RegExp)?Ko(e,t):Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e===t}function EB(e,t){const n=t.parent_span_id,r=t.span_id;if(n)for(const s of e)s.parent_span_id===r&&(s.parent_span_id=n)}function qD(e){return typeof e=="string"||e instanceof RegExp}const LS="production",MS="_frozenDsc";function cu(e,t){ln(e,MS,t)}function NS(e,t){const n=t.getOptions(),{publicKey:r}=t.getDsn()||{},s={environment:n.environment||LS,release:n.release,public_key:r,trace_id:e,org_id:OD(t)};return t.emit("createDsc",s),s}function WD(e,t){const n=t.getPropagationContext();return n.dsc||NS(n.traceId,e)}function ls(e){var d;const t=ct();if(!t)return{};const n=Et(e),r=xe(n),s=r.data,i=n.spanContext().traceState,o=(i==null?void 0:i.get("sentry.sample_rate"))??s[qp]??s[pS];function c(g){return(typeof o=="number"||typeof o=="string")&&(g.sample_rate=`${o}`),g}const a=n[MS];if(a)return c(a);const u=i==null?void 0:i.get("sentry.dsc"),l=u&&vS(u);if(l)return c(l);const f=NS(e.spanContext().traceId,t),h=s[an]??s["sentry.span.source"],p=r.description;return h!=="url"&&p&&(f.transaction=p),cn()&&(f.sampled=String(gs(n)),f.sample_rand=(i==null?void 0:i.get("sentry.sample_rand"))??((d=Yu(n).scope)==null?void 0:d.getPropagationContext().sampleRand.toString())),c(f),t.emit("createDsc",f,n),f}class Vn{constructor(t={}){this._traceId=t.traceId||Lr(),this._spanId=t.spanId||Cr(),this.dropReason=t.dropReason}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:TS}}end(t){}setAttribute(t,n){return this}setAttributes(t){return this}setStatus(t){return this}updateName(t){return this}isRecording(){return!1}addEvent(t,n,r){return this}addLink(t){return this}addLinks(t){return this}recordException(t,n){}}function zD(e){return!!e&&typeof e=="function"&&"_streamed"in e&&!!e._streamed}const KD=Symbol.for("sentry.skipNormalization"),GD=Symbol.for("sentry.overrideNormalizationDepth");function YD(e){return!!e[KD]}function JD(e){const t=e[GD];return typeof t=="number"?t:void 0}function cr(e,t=100,n=1/0){try{return bh("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function XD(e,t=3,n=100*1024){const r=cr(e,t);return tj(r)>n?XD(e,t-1,n):r}function bh(e,t,n=1/0,r=1/0,s=nj()){const[i,o]=s;if(t==null||["boolean","string"].includes(typeof t)||typeof t=="number"&&Number.isFinite(t))return t;const c=QD(e,t);if(!c.startsWith("[object "))return c;if(YD(t))return t;const a=JD(t),u=a!==void 0?a:n;if(u===0)return c.replace("object ","");if(i(t))return"[Circular ~]";const l=t;if(l&&typeof l.toJSON=="function")try{const d=l.toJSON();return bh("",d,u-1,r,s)}catch{}const f=Array.isArray(t)?[]:{};let h=0;const p=cS(t);for(const d in p){if(!Object.prototype.hasOwnProperty.call(p,d))continue;if(h>=r){f[d]="[MaxProperties ~]";break}const g=p[d];f[d]=bh(d,g,u-1,r,s),h++}return o(t),f}function QD(e,t){try{if(e==="domain"&&t&&typeof t=="object"&&t._events)return"[Domain]";if(e==="domainEmitter")return"[DomainEmitter]";if(typeof global<"u"&&t===global)return"[Global]";if(typeof window<"u"&&t===window)return"[Window]";if(typeof document<"u"&&t===document)return"[Document]";if(oS(t))return nS(t);if(B7(t))return"[SyntheticEvent]";if(typeof t=="number"&&!Number.isFinite(t))return`[${t}]`;if(typeof t=="function")return`[Function: ${Fp(t)}]`;if(typeof t=="symbol")return`[${String(t)}]`;if(typeof t=="bigint")return`[BigInt: ${String(t)}]`;const n=ZD(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}function ZD(e){const t=Object.getPrototypeOf(e);return t!=null&&t.constructor?t.constructor.name:"null prototype"}function ej(e){return~-encodeURI(e).split(/%..|./).length}function tj(e){return ej(JSON.stringify(e))}function nj(){const e=new WeakSet;function t(r){return e.has(r)?!0:(e.add(r),!1)}function n(r){e.delete(r)}return[t,n]}function Kp(e,t=[]){return[e,t]}function TB(e,t){const[n,r]=e;return[n,[...r,t]]}function rj(e,t){const n=e[1];for(const r of n){const s=r[0].type;if(t(r,s))return!0}return!1}function CB(e,t){return rj(e,(n,r)=>t.includes(r))}function wh(e){const t=Wl(Le);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function AB(e){const[t,n]=e;let r=JSON.stringify(t);function s(i){typeof r=="string"?r=typeof i=="string"?r+i:[wh(r),i]:r.push(typeof i=="string"?wh(i):i)}for(const i of n){const[o,c]=i;if(s(` 82${JSON.stringify(o)} 83`),typeof c=="string"||c instanceof Uint8Array)s(c);else{let a;try{a=JSON.stringify(c)}catch{a=JSON.stringify(cr(c))}s(a)}}return typeof r=="string"?r:sj(r)}function sj(e){const t=e.reduce((s,i)=>s+i.length,0),n=new Uint8Array(t);let r=0;for(const s of e)n.set(s,r),r+=s.length;return n}function ij(e){return[{type:"span"},e]}
83function kB(e){const t=typeof e.data=="string"?wh(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}const DS={sessions:"session",event:"error",client_report:"internal",user_report:"default",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",raw_security:"security",log:"log_item",trace_metric:"metric"};function oj(e){return e in DS}function IB(e){return oj(e)?DS[e]:e}function jS(e){if(!(e!=null&&e.sdk))return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function aj(e,t,n,r){var i;const s=(i=e.sdkProcessingMetadata)==null?void 0:i.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:Wp(r)},...s&&{trace:s}}}function cj(e,t){var r,s,i,o;if(!t)return e;const n=e.sdk||{};return e.sdk={...n,name:n.name||t.name,version:n.version||t.version,integrations:[...((r=e.sdk)==null?void 0:r.integrations)||[],...t.integrations||[]],packages:[...((s=e.sdk)==null?void 0:s.packages)||[],...t.packages||[]],settings:(i=e.sdk)!=null&&i.settings||t.settings?{...(o=e.sdk)==null?void 0:o.settings,...t.settings}:void 0},e}function $B(e,t,n,r){const s=jS(n),i={sent_at:new Date().toISOString(),...s&&{sdk:s},...!!r&&t&&{dsn:Wp(t)}},o="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return Kp(i,[o])}function RB(e,t,n,r){const s=jS(n),i=e.type&&e.type!=="replay_event"?e.type:"event";cj(e,n==null?void 0:n.sdk);const o=aj(e,s,r,t);return delete e.sdkProcessingMetadata,Kp(o,[[{type:i},e]])}function uj(e,t){function n(p){return!!p.trace_id&&!!p.public_key}const r=ls(e[0]),s=t==null?void 0:t.getDsn(),i=t==null?void 0:t.getOptions().tunnel,o={sent_at:new Date().toISOString(),...n(r)&&{trace:r},...!!i&&s&&{dsn:Wp(s)}},{beforeSendSpan:c,ignoreSpans:a}=(t==null?void 0:t.getOptions())||{},u=a!=null&&a.length?e.filter(p=>{const d=xe(p);return!zp({description:d.description,op:d.op,attributes:d.data},a)}):e,l=e.length-u.length;l&&(t==null||t.recordDroppedEvent("before_send","span",l));const f=c?p=>{const d=xe(p),g=zD(c)?d:c(d);return g||(UD(),d)}:xe,h=[];for(const p of u){const d=f(p);d&&h.push(ij(d))}return Kp(o,h)}function lj(e){if(!Pe)return;const{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:r}=xe(e),{spanId:s}=e.spanContext(),i=gs(e),o=Et(e),c=o===e,a=`[Tracing] Starting ${i?"sampled":"unsampled"} ${c?"root ":""}span`,u=[`op: ${n}`,`name: ${t}`,`ID: ${s}`];if(r&&u.push(`parent ID: ${r}`),!c){const{op:l,description:f}=xe(o);u.push(`root ID: ${o.spanContext().spanId}`),l&&u.push(`root op: ${l}`),f&&u.push(`root description: ${f}`)}ye.log(`${a} 84 ${u.join(` 85 `)}`)}function fj(e){if(!Pe)return;const{description:t="< unknown name >",op:n="< unknown op >"}=xe(e),{spanId:r}=e.spanContext(),i=Et(e)===e,o=`[Tracing] Finishing "${n}" ${i?"root ":""}span "${t}" with ID ${r}`;ye.log(o)}function dj(e,t,n,r=jt()){const s=r&&Et(r);s&&(Pe&&ye.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${n}`),s.addEvent(e,{[pc]:t,[hc]:n}))}function v_(e){if(!e||e.length===0)return;const t={};return e.forEach(n=>{const r=n.attributes||{},s=r[hc],i=r[pc];typeof s=="string"&&typeof i=="number"&&(t[n.name]={value:i,unit:s})}),t}function Mr(e){return e.getOptions().traceLifecycle==="stream"}const b_=1e3;class Ql{constructor(t={}){this._traceId=t.traceId||Lr(),this._spanId=t.spanId||Cr(),this._startTime=t.startTimestamp||ot(),this._links=t.links,this._attributes={},this.setAttributes({[rt]:"manual",[En]:t.op,...t.attributes}),this._name=t.name,t.parentSpanId&&(this._parentSpanId=t.parentSpanId),"sampled"in t&&(this._sampled=t.sampled),t.endTimestamp&&(this._endTime=t.endTimestamp),this._events=[],this._isStandaloneSpan=t.isStandalone,this._endTime&&this._onSpanEnded()}addLink(t){return this._links?this._links.push(t):this._links=[t],this}addLinks(t){return this._links?this._links.push(...t):this._links=t,this}recordException(t,n){}spanContext(){const{_spanId:t,_traceId:n,_sampled:r}=this;return{spanId:t,traceId:n,traceFlags:r?Xl:TS}}setAttribute(t,n){return n===void 0?delete this._attributes[t]:this._attributes[t]=n,this}setAttributes(t){return Object.keys(t).forEach(n=>this.setAttribute(n,t[n])),this}updateStartTime(t){this._startTime=Ar(t)}setStatus(t){return this._status=t,this}updateName(t){return this._name=t,this.setAttribute(an,"custom"),this}end(t){this._endTime||(this._endTime=Ar(t),fj(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[En],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:PS(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[rt],profile_id:this._attributes[mD],exclusive_time:this._attributes[ho],measurements:v_(this._events),is_segment:this._isStandaloneSpan&&Et(this)===this||void 0,segment_id:this._isStandaloneSpan?Et(this).spanContext().spanId:void 0,links:CS(this._links)}}getStreamedSpanJSON(){return{name:this._name??"",span_id:this._spanId,trace_id:this._traceId,parent_span_id:this._parentSpanId,start_timestamp:this._startTime,end_timestamp:this._endTime??this._startTime,is_segment:this._isStandaloneSpan||this===Et(this),status:OS(this._status),attributes:this._attributes,links:AS(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,n,r){Pe&&ye.log("[Tracing] Adding an event to span:",t);const s=w_(n)?n:r||ot(),i=w_(n)?{}:n||{},o={name:t,time:Ar(s),attributes:i};return this._events.push(o),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const t=ct();if(t&&(t.emit("spanEnd",this),this._isStandaloneSpan||t.emit("afterSpanEnd",this)),!(this._isStandaloneSpan||this===Et(this)))return;if(this._isStandaloneSpan){this._sampled?pj(uj([this],t)):(Pe&&ye.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),t&&t.recordDroppedEvent("sample_rate","span"));return}else if(t&&Mr(t)){t.emit("afterSegmentSpanEnd",this);return}const r=this._convertSpanToTransaction();r&&(Yu(this).scope||Je()).captureEvent(r)}_convertSpanToTransaction(){var f;if(!S_(xe(this)))return;this._name||(Pe&&ye.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");const{scope:t,isolationScope:n}=Yu(this),r=(f=t==null?void 0:t.getScopeData().sdkProcessingMetadata)==null?void 0:f.normalizedRequest;if(this._sampled!==!0)return;const i=au(this).filter(h=>h!==this&&!hj(h)).map(h=>xe(h)).filter(S_),o=this._attributes[an];delete this._attributes[h_];let c=!1;
85i.forEach(h=>{var p;delete h.data[h_],(p=h.op)!=null&&p.startsWith("gen_ai.")&&(c=!0)});const a={contexts:{trace:ND(this)},spans:i.length>b_?i.sort((h,p)=>h.start_timestamp-p.start_timestamp).slice(0,b_):i,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:n,dynamicSamplingContext:ls(this),hasGenAiSpans:c},request:r,...o&&{transaction_info:{source:o}}},u=v_(this._events);return u&&Object.keys(u).length&&(Pe&&ye.log("[Measurements] Adding measurements to transaction event",JSON.stringify(u,void 0,2)),a.measurements=u),a}}function w_(e){return e&&typeof e=="number"||e instanceof Date||Array.isArray(e)}function S_(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function hj(e){return e instanceof Ql&&e.isStandaloneSpan()}function pj(e){const t=ct();if(!t)return;const n=e[1];if(!n||n.length===0){t.recordDroppedEvent("before_send","span");return}t.sendEnvelope(e)}function gj(e,t,n){if(!cn(e))return[!1];let r,s;typeof e.tracesSampler=="function"?(s=e.tracesSampler({...t,inheritOrSampleWith:c=>typeof t.parentSampleRate=="number"?t.parentSampleRate:typeof t.parentSampled=="boolean"?Number(t.parentSampled):c}),r=!0):t.parentSampled!==void 0?s=t.parentSampled:typeof e.tracesSampleRate<"u"&&(s=e.tracesSampleRate,r=!0);const i=Xu(s);if(i===void 0)return Pe&&ye.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(s)} of type ${JSON.stringify(typeof s)}.`),[!1];if(!i)return Pe&&ye.log(`[Tracing] Discarding transaction because ${typeof e.tracesSampler=="function"?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,i,r];const o=n<i;return o||Pe&&ye.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(s)})`),[o,i,r]}const mj="__SENTRY_SUPPRESS_TRACING__";function Nr(e){const t=HS();if(t.startInactiveSpan)return t.startInactiveSpan(e);const n=_j(e),{forceTransaction:r,parentSpan:s}=e;return(e.scope?o=>Bp(e.scope,o):s!==void 0?o=>FS(s,o):o=>o())(()=>{const o=Je(),c=bj(o,s),a=ct();return e.onlyIfParent&&!c?(a==null||a.recordDroppedEvent("no_parent_span","span"),new Vn):yj({parentSpan:c,spanArguments:n,forceTransaction:r,scope:o})})}function FS(e,t){const n=HS();return n.withActiveSpan?n.withActiveSpan(e,t):Bp(r=>(ga(r,e||void 0),t(r)))}function yj({parentSpan:e,spanArguments:t,forceTransaction:n,scope:r}){if(!cn()){const c=new Vn;if(n||!e){const a={sampled:"false",sample_rate:"0",transaction:t.name,...ls(c)};cu(c,a)}return c}const s=ct();if(wj(s,t))return Gp(r)||s==null||s.recordDroppedEvent("ignored","span"),new Vn({dropReason:"ignored",traceId:(e==null?void 0:e.spanContext().traceId)??r.getPropagationContext().traceId});const i=dc();let o;if(e&&!n)o=vj(e,r,t),xS(e,o);else if(e){const c=ls(e),{traceId:a,spanId:u}=e.spanContext(),l=gs(e);o=E_({traceId:a,parentSpanId:u,...t},r,l),cu(o,c)}else{const{traceId:c,dsc:a,parentSpanId:u,sampled:l}={...i.getPropagationContext(),...r.getPropagationContext()};o=E_({traceId:c,parentSpanId:u,...t},r,l),a&&cu(o,a)}return lj(o),wD(o,r,i),o}function _j(e){const n={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){const r={...n};return r.startTimestamp=Ar(e.startTime),delete r.startTime,r}return n}function HS(){const e=ei();return fo(e)}function E_(e,t,n){var g;const r=ct(),s=(r==null?void 0:r.getOptions())||{},{name:i=""}=e,o={spanAttributes:{...e.attributes},spanName:i,parentSampled:n};r==null||r.emit("beforeSampling",o,{decision:!1});const c=o.parentSampled??n,a=o.spanAttributes,u=t.getPropagationContext(),l=Gp(t),[f,h,p]=l?[!1]:gj(s,{name:i,parentSampled:c,attributes:a,parentSampleRate:Xu((g=u.dsc)==null?void 0:g.sample_rate)},u.sampleRand),d=new Ql({...e,attributes:{[an]:"custom",[qp]:h!==void 0&&p?h:void 0,...a},sampled:f});return!f&&r&&!l&&(Pe&&ye.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),r.recordDroppedEvent("sample_rate",Mr(r)?"span":"transaction")),r&&r.emit("spanStart",d),d}
85function vj(e,t,n){const{spanId:r,traceId:s}=e.spanContext(),i=Gp(t),o=i?!1:gs(e),c=o?new Ql({...n,parentSpanId:r,traceId:s,sampled:o}):new Vn({traceId:s});xS(e,c);const a=ct();return a&&(Mr(a)&&c instanceof Vn&&(e instanceof Vn&&e.dropReason?(c.dropReason=e.dropReason,a.recordDroppedEvent(e.dropReason,"span")):i||(c.dropReason="sample_rate",a.recordDroppedEvent("sample_rate","span"))),a.emit("spanStart",c),n.endTimestamp&&(a.emit("spanEnd",c),a.emit("afterSpanEnd",c))),c}function bj(e,t){if(t)return t;if(t===null)return;const n=Gu(e);if(!n)return;const r=ct();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?Et(n):n}function wj(e,t){var r;const n=e==null?void 0:e.getOptions().ignoreSpans;return!e||!Mr(e)||!(n!=null&&n.length)?!1:zp({description:t.name||"",op:((r=t.attributes)==null?void 0:r[En])||t.op,attributes:t.attributes},n)}function Gp(e){return e.getScopeData().sdkProcessingMetadata[mj]===!0}const uu={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3},Sj="heartbeatFailed",Ej="idleTimeout",Tj="finalTimeout",Cj="externalFinish";function US(e,t={}){const n=new Map;let r=!1,s,i=Cj,o=!t.disableAutoFinish;const c=[],{idleTimeout:a=uu.idleTimeout,finalTimeout:u=uu.finalTimeout,childSpanTimeout:l=uu.childSpanTimeout,beforeSpanEnd:f,trimIdleSpanEndTimestamp:h=!0}=t,p=ct();if(!p||!cn()){const A=new Vn,D={sample_rate:"0",sampled:"false",...ls(A)};return cu(A,D),A}const d=Je(),g=jt(),v=Aj(e);v.end=new Proxy(v.end,{apply(A,D,H){if(f&&f(v),D instanceof Vn)return;const[B,...V]=H,C=B||ot(),P=Ar(C),R=au(v).filter(U=>U!==v),k=xe(v);if(!R.length||!h)return $(P),Reflect.apply(A,D,[P,...V]);const T=p.getOptions().ignoreSpans,O=R==null?void 0:R.reduce((U,q)=>{const z=xe(q);return!z.timestamp||T&&zp({description:z.description,op:z.op,attributes:z.data},T)?U:U?Math.max(U,z.timestamp):z.timestamp},void 0),I=k.start_timestamp,j=Math.min(I?I+u/1e3:1/0,Math.max(I||-1/0,Math.min(P,O||1/0)));return $(j),Reflect.apply(A,D,[j,...V])}});function _(){s&&(clearTimeout(s),s=void 0)}function y(A){_(),s=setTimeout(()=>{!r&&n.size===0&&o&&(i=Ej,v.end(A))},a)}function m(A){s=setTimeout(()=>{!r&&o&&(i=Sj,v.end(A))},l)}function b(A){_(),n.set(A,!0);const D=ot();m(D+l/1e3)}function E(A){if(n.has(A)&&n.delete(A),n.size===0){const D=ot();y(D+a/1e3)}}function $(A){r=!0,n.clear(),c.forEach(R=>R()),ga(d,g);const D=xe(v),{start_timestamp:H}=D;if(!H)return;D.data[ma]||v.setAttribute(ma,i);const V=D.status;(!V||V==="unknown")&&v.setStatus({code:Jl}),ye.log(`[Tracing] Idle span "${D.op}" finished`);const C=au(v).filter(R=>R!==v);let P=0;C.forEach(R=>{R.isRecording()&&(R.setStatus({code:wt,message:"cancelled"}),R.end(A),Pe&&ye.log("[Tracing] Cancelling span since span ended early",JSON.stringify(R,void 0,2)));const k=xe(R),{timestamp:T=0,start_timestamp:O=0}=k,I=O<=A,j=(u+a)/1e3,U=T-O<=j;if(Pe){const q=JSON.stringify(R,void 0,2);I?U||ye.log("[Tracing] Discarding span since it finished after idle span final timeout",q):ye.log("[Tracing] Discarding span since it happened after idle span was finished",q)}(!U||!I)&&(HD(v,R),P++)}),P>0&&v.setAttribute("sentry.idle_span_discarded_spans",P)}return c.push(p.on("spanStart",A=>{if(r||A===v||xe(A).timestamp||A instanceof Ql&&A.isStandaloneSpan())return;au(v).includes(A)&&b(A.spanContext().spanId)})),c.push(p.on("spanEnd",A=>{r||E(A.spanContext().spanId)})),c.push(p.on("idleSpanEnableAutoFinish",A=>{A===v&&(o=!0,y(),n.size&&m())})),t.disableAutoFinish||y(),setTimeout(()=>{r||(v.setStatus({code:wt,message:"deadline_exceeded"}),i=Tj,v.end())},u),v}function Aj(e){const t=Nr(e);return ga(Je(),t),Pe&&ye.log("[Tracing] Started span is an idle span"),t}function kj(e,t){const{fingerprint:n,span:r,breadcrumbs:s,sdkProcessingMetadata:i}=t;Ij(e,t),r&&Pj(e,r),Oj(e,n),$j(e,s),Rj(e,i)}function T_(e,t){const{extra:n,tags:r,attributes:s,user:i,contexts:o,level:c,sdkProcessingMetadata:a,breadcrumbs:u,fingerprint:l,eventProcessors:f,attachments:h,propagationContext:p,transactionName:d,span:g}=t;Eo(e,"extra",n),Eo(e,"tags",r),Eo(e,"attributes",s),Eo(e,"user",i),Eo(e,"contexts",o),e.sdkProcessingMetadata=Yl(e.sdkProcessingMetadata,a,2),c&&
85(e.level=c),d&&(e.transactionName=d),g&&(e.span=g),u.length&&(e.breadcrumbs=[...e.breadcrumbs,...u]),l.length&&(e.fingerprint=[...e.fingerprint,...l]),f.length&&(e.eventProcessors=[...e.eventProcessors,...f]),h.length&&(e.attachments=[...e.attachments,...h]),e.propagationContext={...e.propagationContext,...p}}function Eo(e,t,n){e[t]=Yl(e[t],n,1)}function VS(e,t){const n=gD().getScopeData();return e&&T_(n,e.getScopeData()),t&&T_(n,t.getScopeData()),n}function Ij(e,t){const{extra:n,tags:r,user:s,contexts:i,level:o,transactionName:c}=t;Object.keys(n).length&&(e.extra={...n,...e.extra}),Object.keys(r).length&&(e.tags={...r,...e.tags}),Object.keys(s).length&&(e.user={...s,...e.user}),Object.keys(i).length&&(e.contexts={...i,...e.contexts}),o&&(e.level=o),c&&e.type!=="transaction"&&(e.transaction=c)}function $j(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function Rj(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function Pj(e,t){e.contexts={trace:DD(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:ls(t),...e.sdkProcessingMetadata};const n=Et(t),r=xe(n).description;r&&!e.transaction&&e.type==="transaction"&&(e.transaction=r)}function Oj(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint.length||delete e.fingerprint}const xj="thismessage:/";function BS(e){return"isRelative"in e}function qS(e,t){const n=e.indexOf("://")<=0&&e.indexOf("//")!==0,r=n?xj:void 0;try{if("canParse"in URL&&!URL.canParse(e,r))return;const s=new URL(e,r);return n?{isRelative:n,pathname:s.pathname,search:s.search,hash:s.hash}:s}catch{}}function Lj(e){if(BS(e))return e.pathname;const t=new URL(e);return t.search="",t.hash="",["80","443"].includes(t.port)&&(t.port=""),t.password&&(t.password="%filtered%"),t.username&&(t.username="%filtered%"),t.toString()}function Qu(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function Mj(e){return e.split(/[?#]/,1)[0]}function Us(e,t=!0){if(e.startsWith("data:")){const n=e.match(/^data:([^;,]+)/),r=n?n[1]:"text/plain",s=e.includes(";base64,"),i=e.indexOf(",");let o="";if(t&&i!==-1){const c=e.slice(i+1);o=c.length>10?`${c.slice(0,10)}... [truncated]`:c}return`data:${r}${s?",base64":""}${o?`,${o}`:""}`}return e}const cd=0,C_=1,A_=2;function WS(e){return new ya(t=>{t(e)})}function Nj(e){return new ya((t,n)=>{n(e)})}class ya{constructor(t){this._state=cd,this._handlers=[],this._runExecutor(t)}then(t,n){return new ya((r,s)=>{this._handlers.push([!1,i=>{if(!t)r(i);else try{r(t(i))}catch(o){s(o)}},i=>{if(!n)s(i);else try{r(n(i))}catch(o){s(o)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new ya((n,r)=>{let s,i;return this.then(o=>{i=!1,s=o,t&&t()},o=>{i=!0,s=o,t&&t()}).then(()=>{if(i){r(s);return}n(s)})})}_executeHandlers(){if(this._state===cd)return;const t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===C_&&n[1](this._value),this._state===A_&&n[2](this._value),n[0]=!0)})}_runExecutor(t){const n=(i,o)=>{if(this._state===cd){if(Kl(o)){o.then(r,s);return}this._state=i,this._value=o,this._executeHandlers()}},r=i=>{n(C_,i)},s=i=>{n(A_,i)};try{t(r,s)}catch(i){s(i)}}}function Dj(e,t,n,r=0){try{const s=Sh(t,n,e,r);return Kl(s)?s:WS(s)}catch(s){return Nj(s)}}function Sh(e,t,n,r){const s=n[r];if(!e||!s)return e;const i=s({...e},t);return Pe&&i===null&&ye.log(`Event processor "${s.id||"?"}" dropped event`),Kl(i)?i.then(o=>Sh(o,t,n,r+1)):Sh(i,t,n,r+1)}let or,k_,I_,Wr;function jj(e){const t=Le._sentryDebugIds,n=Le._debugIds;if(!t&&!n)return{};const r=t?Object.keys(t):[],s=n?Object.keys(n):[];if(Wr&&r.length===k_&&s.length===I_)return Wr;k_=r.length,I_=s.length,Wr={},or||(or={});const i=(o,c)=>{for(const a of o){const u=c[a],l=or==null?void 0:or[a];if(l&&Wr&&u)Wr[l[0]]=u,or&&(or[a]=[l[0],u]);else if(u){const f=e(a);for(let h=f.length-1;h>=0;h--){const p=f[h],d=p==null?void 0:p.filename;if(d&&Wr&&or){Wr[d]=u,or[a]=[d,u];break}}}}};return t&&i(r,t),n&&i(s,n),Wr}function PB(e,t,n,r,s,i){const{normalizeDepth:o=3,normalizeMaxBreadth:c=1e3}=e,a={...t,event_id:t.event_id||n.event_id||rs(),timestamp:t.timestamp||fc()},u=n.integrations||e.integrations.map(_=>_.name);Fj(a,e),Vj(a,u),s&&s.emit("applyFrameMetadata",t),t.type===void 0&&Hj(a,e.stackParser);const l=qj(r,n.captureContext);n.mechanism&&fS(a,n.mechanism);const f=s?s.getEventProcessors():[],h=VS(i,l),p=[...n.attachments||[],...h.attachments];p.length&&(n.attachments=p),kj(a,h);const d=[...f,...h.eventProcessors];return(n.data&&n.data.__sentry__===!0?WS(a):Dj(d,a,n)).then(_=>(_&&Uj(_),typeof o=="number"&&o>0?Bj(_,o,c):_))}function Fj(e,t){var c,a;const{environment:n,release:r,dist:s,maxValueLength:i}=t;e.environment=e.environment||n||LS,!e.release&&r&&(e.release=r),!e.dist&&s&&(e.dist=s);const o=e.request;o!=null&&o.url&&i&&(o.url=mh(o.url,i)),i&&((a=(c=e.exception)==null?void 0:c.values)==null||a.forEach(u=>{u.value&&(u.value=mh(u.value,i))}))}function Hj(e,t){var r,s;const n=jj(t);
85(s=(r=e.exception)==null?void 0:r.values)==null||s.forEach(i=>{var o,c;(c=(o=i.stacktrace)==null?void 0:o.frames)==null||c.forEach(a=>{a.filename&&(a.debug_id=n[a.filename])})})}function Uj(e){var r,s;const t={};if((s=(r=e.exception)==null?void 0:r.values)==null||s.forEach(i=>{var o,c;(c=(o=i.stacktrace)==null?void 0:o.frames)==null||c.forEach(a=>{a.debug_id&&(a.abs_path?t[a.abs_path]=a.debug_id:a.filename&&(t[a.filename]=a.debug_id),delete a.debug_id)})}),Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.entries(t).forEach(([i,o])=>{n.push({type:"sourcemap",code_file:i,debug_id:o})})}function Vj(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function Bj(e,t,n){var s,i;if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(o=>({...o,...o.data&&{data:cr(o.data,t,n)}}))},...e.user&&{user:cr(e.user,t,n)},...e.contexts&&{contexts:cr(e.contexts,t,n)},...e.extra&&{extra:cr(e.extra,t,n)}};return(s=e.contexts)!=null&&s.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=cr(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(o=>({...o,...o.data&&{data:cr(o.data,t,n)}}))),(i=e.contexts)!=null&&i.flags&&r.contexts&&(r.contexts.flags=cr(e.contexts.flags,3,n)),r}function qj(e,t){if(!t)return e;const n=e?e.clone():new Yn;return n.update(t),n}function Wj(e){if(e)return zj(e)?{captureContext:e}:Gj(e)?{captureContext:e}:e}function zj(e){return e instanceof Yn||typeof e=="function"}const Kj=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function Gj(e){return Object.keys(e).some(t=>Kj.includes(t))}function Zl(e,t){return Je().captureException(e,Wj(t))}function OB(e,t){return Je().captureEvent(e,t)}function Yj(){const e=ct();return(e==null?void 0:e.getOptions().enabled)!==!1&&!!(e!=null&&e.getTransport())}function xB(e){const t=dc(),{user:n}=VS(t,Je()),{userAgent:r}=Le.navigator||{},s=eD({user:n,...r&&{userAgent:r},...e}),i=t.getSession();return(i==null?void 0:i.status)==="ok"&&Gl(i,{status:"exited"}),zS(),t.setSession(s),s}function zS(){const e=dc(),n=Je().getSession()||e.getSession();n&&tD(n),KS(),e.setSession()}function KS(){const e=dc(),t=ct(),n=e.getSession();n&&t&&t.captureSession(n)}function LB(e=!1){if(e){zS();return}KS()}const $_=[];function Jj(e){const t={};return e.forEach(n=>{const{name:r}=n,s=t[r];s&&!s.isDefaultInstance&&n.isDefaultInstance||(t[r]=n)}),Object.values(t)}function MB(e){const t=e.defaultIntegrations||[],n=e.integrations;t.forEach(s=>{s.isDefaultInstance=!0});let r;if(Array.isArray(n))r=[...t,...n];else if(typeof n=="function"){const s=n(t);r=Array.isArray(s)?s:[s]}else r=t;return Jj(r)}function NB(e,t){const n={};return t.forEach(r=>{r!=null&&r.beforeSetup&&r.beforeSetup(e)}),t.forEach(r=>{r&&Xj(e,r,n)}),n}function DB(e,t){for(const n of t)n!=null&&n.afterAllSetup&&n.afterAllSetup(e)}function Xj(e,t,n){if(n[t.name]){Pe&&ye.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,!$_.includes(t.name)&&typeof t.setupOnce=="function"&&(t.setupOnce(),$_.push(t.name)),t.setup&&typeof t.setup=="function"&&t.setup(e),typeof t.preprocessEvent=="function"){const r=t.preprocessEvent.bind(t);e.on("preprocessEvent",(s,i)=>r(s,i,e))}if(typeof t.processEvent=="function"){const r=t.processEvent.bind(t),s=Object.assign((i,o)=>r(i,o,e),{id:t.name});e.addEventProcessor(s)}["processSpan","processSegmentSpan"].forEach(r=>{const s=t[r];typeof s=="function"&&e.on(r,i=>s.call(t,i,e))}),Pe&&ye.log(`Integration installed: ${t.name}`)}function jB(e){return e}function Qj(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function FB(){return"npm"}function Zj(){return!Qj()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function eF(){return typeof window<"u"&&(!Zj()||tF())}function tF(){const e=Le.process;return(e==null?void 0:e.type)==="renderer"}function GS(e={}){const t=e.client||ct();if(!Yj()||!t)return{};const n=ei(),r=fo(n);if(r.getTraceData)return r.getTraceData(e);const s=e.scope||Je(),i=e.span||jt(),o=i?jD(i):nF(s),c=i?ls(i):WD(t,s),a=ED(c);if(!wS.test(o))return ye.warn("Invalid sentry-trace data. Cannot generate trace data"),{};const l={"sentry-trace":o,baggage:a};return e.propagateTraceparent&&(l.traceparent=i?FD(i):rF(s)),l}function nF(e){const{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return SS(t,r,n)}function rF(e){const{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return ES(t,r,n)}
85function sF(e,t,n,r,s){if(!e.fetchData)return;const{method:i,url:o}=e.fetchData,c=cn()&&t(o);if(e.endTimestamp){const d=e.fetchData.__span;if(!d)return;const g=r[d];g&&(c&&(aF(g,e),iF(g,e,s)),delete r[d]);return}const{spanOrigin:a="auto.http.browser",propagateTraceparent:u=!1}=typeof s=="object"?s:{spanOrigin:s},l=ct(),h=!!jt()||!!l&&Mr(l),p=c&&h?Nr(lF(o,i,a)):new Vn;if(c&&!h&&(l==null||l.recordDroppedEvent("no_parent_span","span")),e.fetchData.__span=p.spanContext().spanId,r[p.spanContext().spanId]=p,n(e.fetchData.url)){const d=e.args[0],g={...e.args[1]||{}},v=oF(d,g,cn()&&h?p:void 0,u);v&&(e.args[1]=g,g.headers=v)}if(l){const d={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};l.emit("beforeOutgoingRequestSpan",p,d)}return p}function iF(e,t,n){var s;const r=typeof n=="object"&&n!==null?n.onRequestSpanEnd:void 0;r==null||r(e,{headers:(s=t.response)==null?void 0:s.headers,error:t.error})}function oF(e,t,n,r){const s=GS({span:n,propagateTraceparent:r}),i=s["sentry-trace"],o=s.baggage,c=s.traceparent;if(!i)return;const a=t.headers||(Hp(e)?e.headers:void 0);if(a)if(cF(a)){const u=new Headers(a);if(u.get("sentry-trace")||u.set("sentry-trace",i),r&&c&&!u.get("traceparent")&&u.set("traceparent",c),o){const l=u.get("baggage");l?Wc(l)||u.set("baggage",`${l},${o}`):u.set("baggage",o)}return u}else if(uF(a)){const u=[...a];u.find(f=>f[0]==="sentry-trace")||u.push(["sentry-trace",i]),r&&c&&!u.find(f=>f[0]==="traceparent")&&u.push(["traceparent",c]);const l=a.find(f=>f[0]==="baggage"&&typeof f[1]=="string"&&Wc(f[1]));return o&&!l&&u.push(["baggage",o]),u}else{const u="sentry-trace"in a?a["sentry-trace"]:void 0,l="traceparent"in a?a.traceparent:void 0,f="baggage"in a?a.baggage:void 0,h=f?Array.isArray(f)?[...f]:[f]:[],p=f&&(Array.isArray(f)?f.find(g=>Wc(g)):Wc(f));o&&!p&&h.push(o);const d=Object.assign({},a,{"sentry-trace":u??i,baggage:h.length>0?h.join(","):void 0});return r&&c&&!l&&(d.traceparent=c),d}else return{...s}}function aF(e,t){var n,r;if(t.response){mS(e,t.response.status);const s=(r=(n=t.response)==null?void 0:n.headers)==null?void 0:r.get("content-length");if(s){const i=parseInt(s);i>0&&e.setAttribute("http.response_content_length",i)}}else t.error&&e.setStatus({code:wt,message:"internal_error"});e.end()}function Wc(e){return typeof e!="string"?!1:e.split(",").some(t=>t.trim().startsWith(Ju))}function cF(e){return typeof Headers<"u"&&lo(e,Headers)}function uF(e){return Array.isArray(e)?e.every(t=>Array.isArray(t)&&t.length===2&&typeof t[0]=="string"):!1}function lF(e,t,n){if(e.startsWith("data:")){const i=Us(e);return{name:`${t} ${i}`,attributes:R_(e,void 0,t,n)}}const r=qS(e),s=r?Lj(r):e;return{name:`${t} ${s}`,attributes:R_(e,r,t,n)}}function R_(e,t,n,r){const s={url:Us(e),type:"fetch","http.method":n,[rt]:r,[En]:"http.client"};return t&&(BS(t)||(s["http.url"]=Us(t.href),s["server.address"]=t.host),t.search&&(s["http.query"]=t.search),t.hash&&(s["http.fragment"]=t.hash)),s}const _a=Le;function fF(){return"history"in _a&&!!_a.history}function dF(){if(!("fetch"in _a))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}function P_(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function hF(){var n;if(typeof EdgeRuntime=="string")return!0;if(!dF())return!1;if(P_(_a.fetch))return!0;let e=!1;const t=_a.document;if(t&&typeof t.createElement=="function")try{const r=t.createElement("iframe");r.hidden=!0,t.head.appendChild(r),(n=r.contentWindow)!=null&&n.fetch&&(e=P_(r.contentWindow.fetch)),t.head.removeChild(r)}catch(r){Pe&&ye.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",r)}return e}function pF(e,t){const n="fetch",r=ao(n,e);return co(n,()=>YS(void 0,t)),r}function gF(e){const t="fetch-body-resolved",n=ao(t,e);return co(t,()=>YS(yF)),n}function YS(e,t=!1){t&&!hF()||gh(Le,"fetch",function(n){return function(...r){const s=new Error,{method:i,url:o}=_F(r),c={args:r,fetchData:{method:i,url:o},startTimestamp:ot()*1e3,virtualError:s,headers:vF(r)};return e||Un("fetch",{...c}),n.apply(Le,r).then(async a=>
85(e?e(a):Un("fetch",{...c,endTimestamp:ot()*1e3,response:a}),a),a=>{Un("fetch",{...c,endTimestamp:ot()*1e3,error:a}),sS(a)&&a.stack===void 0&&(a.stack=s.stack,ln(a,"framesToPop",1));const u=ct(),l=(u==null?void 0:u.getOptions().enhanceFetchErrorMessages)??"always";if(l!==!1&&a instanceof TypeError&&(a.message==="Failed to fetch"||a.message==="Load failed"||a.message==="NetworkError when attempting to fetch resource."))try{const p=new URL(c.fetchData.url).host;l==="always"?a.message=`${a.message} (${p})`:ln(a,"__sentry_fetch_url_host__",p)}catch{}throw a})}})}async function mF(e,t){if(e!=null&&e.body){const n=e.body,r=n.getReader(),s=setTimeout(()=>{n.cancel().then(null,()=>{})},90*1e3);let i=!0;for(;i;){let o;try{o=setTimeout(()=>{n.cancel().then(null,()=>{})},5e3);const{done:c}=await r.read();clearTimeout(o),c&&(t(),i=!1)}catch{i=!1}finally{clearTimeout(o)}}clearTimeout(s),r.releaseLock(),n.cancel().then(null,()=>{})}}function yF(e){let t;try{t=e.clone()}catch{return}mF(t,()=>{Un("fetch-body-resolved",{endTimestamp:ot()*1e3,response:e})})}function lu(e,t){return!!e&&typeof e=="object"&&!!e[t]}function O_(e){return typeof e=="string"?e:e?lu(e,"url")?e.url:e.toString?e.toString():"":""}function _F(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[n,r]=e;return{url:O_(n),method:lu(r,"method")?String(r.method).toUpperCase():Hp(n)&&lu(n,"method")?String(n.method).toUpperCase():"GET"}}const t=e[0];return{url:O_(t),method:lu(t,"method")?String(t.method).toUpperCase():"GET"}}function vF(e){const[t,n]=e;try{if(typeof n=="object"&&n!==null&&"headers"in n&&n.headers)return new Headers(n.headers);if(Hp(t))return new Headers(t.headers)}catch{}}const $t=Le;let Eh=0;function HB(){return Eh>0}function bF(){Eh++,setTimeout(()=>{Eh--})}function wF(e,t={}){function n(s){return typeof s=="function"}if(!n(e))return e;try{const s=e.__sentry_wrapped__;if(s)return typeof s=="function"?s:e;if(K7(e))return e}catch{return e}const r=function(...s){try{const i=s.map(o=>wF(o,t));return e.apply(this,i)}catch(i){throw bF(),Bp(o=>{o.addEventProcessor(c=>(t.mechanism&&(J7(c,void 0),fS(c,t.mechanism)),c.extra={...c.extra,arguments:s},c)),Zl(i)}),i}};try{for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(r[s]=e[s])}catch{}aS(r,e),ln(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}function JS(){const e=Vp(),{referrer:t}=$t.document||{},{userAgent:n}=$t.navigator||{},r={...t&&{Referer:t},...n&&{"User-Agent":n}};return{url:e,headers:r}}const ms=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Ie=Le,SF=(e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good",gc=(e,t,n,r)=>{let s,i;return o=>{t.value>=0&&(o||r)&&(i=t.value-(s??0),(i||s===void 0)&&(s=t.value,t.delta=i,t.rating=SF(t.value,n),e(t)))}},mc=(e=!0)=>{var n,r;const t=(r=(n=Ie.performance)==null?void 0:n.getEntriesByType)==null?void 0:r.call(n,"navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t},po=()=>{const e=mc();return(e==null?void 0:e.activationStart)??0};function ss(e,t,n){Ie.document&&Ie.addEventListener(e,t,n)}function Zu(e,t,n){Ie.document&&Ie.removeEventListener(e,t,n)}let Ai=-1;const XS=new Set,EF=()=>{var e,t;return((e=Ie.document)==null?void 0:e.visibilityState)==="hidden"&&!((t=Ie.document)!=null&&t.prerendering)?0:1/0},fu=e=>{if(TF(e)&&Ai>-1){if(e.type==="visibilitychange"||e.type==="pagehide")for(const t of XS)t();isFinite(Ai)||(Ai=e.type==="visibilitychange"?e.timeStamp:0,Zu("prerenderingchange",fu,!0))}},yc=()=>{var e;if(Ie.document&&Ai<0){const t=po();Ai=(Ie.document.prerendering||(e=globalThis.performance.getEntriesByType("visibility-state").filter(r=>r.name==="hidden"&&r.startTime>t)[0])==null?void 0:e.startTime)??EF(),ss("visibilitychange",fu,!0),ss("pagehide",fu,!0),ss("prerenderingchange",fu,!0)}return{get firstHiddenTime(){return Ai},onHidden(t){XS.add(t)}}};function TF(e){var t;return e.type==="pagehide"||((t=Ie.document)==null?void 0:t.visibilityState)==="hidden"}const CF=()=>`v5-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,_c=(e,t=-1)=>{var i,o;const n=mc();let r="navigate";return n&&((i=Ie.document)!=null&&i.prerendering||po()>0?r="prerender":(o=Ie.document)!=null&&o.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:t,rating:"good",delta:0,entries:[],id:CF(),navigationType:r}},ud=new WeakMap;function Yp(e,t){try{return ud.get(e)||ud.set(e,new t),ud.get(e)}catch{return new t}}
85class el{constructor(){el.prototype.__init.call(this),el.prototype.__init2.call(this)}__init(){this._sessionValue=0}__init2(){this._sessionEntries=[]}_processEntry(t){var s;if(t.hadRecentInput)return;const n=this._sessionEntries[0],r=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&n&&r&&t.startTime-r.startTime<1e3&&t.startTime-n.startTime<5e3?(this._sessionValue+=t.value,this._sessionEntries.push(t)):(this._sessionValue=t.value,this._sessionEntries=[t]),(s=this._onAfterProcessingUnexpectedShift)==null||s.call(this,t)}}const go=(e,t,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver(s=>{Promise.resolve().then(()=>{t(s.getEntries())})});return r.observe({type:e,buffered:!0,...n}),r}}catch{}},Jp=e=>{let t=!1;return()=>{t||(e(),t=!0)}},ef=e=>{var t;(t=Ie.document)!=null&&t.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},AF=[1800,3e3],kF=(e,t={})=>{ef(()=>{const n=yc(),r=_c("FCP");let s;const o=go("paint",c=>{for(const a of c)a.name==="first-contentful-paint"&&(o.disconnect(),a.startTime<n.firstHiddenTime&&(r.value=Math.max(a.startTime-po(),0),r.entries.push(a),s(!0)))});o&&(s=gc(e,r,AF,t.reportAllChanges))})},IF=[.1,.25],$F=(e,t={})=>{kF(Jp(()=>{var a;const n=_c("CLS",0);let r;const s=yc(),i=Yp(t,el),o=u=>{for(const l of u)i._processEntry(l);i._sessionValue>n.value&&(n.value=i._sessionValue,n.entries=i._sessionEntries,r())},c=go("layout-shift",o);c&&(r=gc(e,n,IF,t.reportAllChanges),s.onHidden(()=>{o(c.takeRecords()),r(!0)}),(a=Ie==null?void 0:Ie.setTimeout)==null||a.call(Ie,r))}))};let QS=0,ld=1/0,zc=0;const RF=e=>{e.forEach(t=>{t.interactionId&&(ld=Math.min(ld,t.interactionId),zc=Math.max(zc,t.interactionId),QS=zc?(zc-ld)/7+1:0)})};let Th;const ZS=()=>Th?QS:performance.interactionCount||0,PF=()=>{"interactionCount"in performance||Th||(Th=go("event",RF,{type:"event",buffered:!0,durationThreshold:0}))},fd=10;let eE=0;const OF=()=>ZS()-eE;class tl{constructor(){tl.prototype.__init.call(this),tl.prototype.__init2.call(this)}__init(){this._longestInteractionList=[]}__init2(){this._longestInteractionMap=new Map}_resetInteractions(){eE=ZS(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){const t=Math.min(this._longestInteractionList.length-1,Math.floor(OF()/50));return this._longestInteractionList[t]}_processEntry(t){var s,i;if((s=this._onBeforeProcessingEntry)==null||s.call(this,t),!(t.interactionId||t.entryType==="first-input"))return;const n=this._longestInteractionList.at(-1);let r=this._longestInteractionMap.get(t.interactionId);if(r||this._longestInteractionList.length<fd||t.duration>n._latency){if(r?t.duration>r._latency?(r.entries=[t],r._latency=t.duration):t.duration===r._latency&&t.startTime===r.entries[0].startTime&&r.entries.push(t):(r={id:t.interactionId,entries:[t],_latency:t.duration},this._longestInteractionMap.set(r.id,r),this._longestInteractionList.push(r)),this._longestInteractionList.sort((o,c)=>c._latency-o._latency),this._longestInteractionList.length>fd){const o=this._longestInteractionList.splice(fd);for(const c of o)this._longestInteractionMap.delete(c.id)}(i=this._onAfterProcessingINPCandidate)==null||i.call(this,r)}}}const tE=e=>{var n;const t=Ie.requestIdleCallback||Ie.setTimeout;((n=Ie.document)==null?void 0:n.visibilityState)==="hidden"?e():(e=Jp(e),ss("visibilitychange",e,{once:!0,capture:!0}),ss("pagehide",e,{once:!0,capture:!0}),t(()=>{e(),Zu("visibilitychange",e,{capture:!0}),Zu("pagehide",e,{capture:!0})}))},xF=[200,500],LF=40,MF=(e,t={})=>{if(!(globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return;const n=yc();ef(()=>{PF();const r=_c("INP");let s;const i=Yp(t,tl),o=a=>{tE(()=>{for(const l of a)i._processEntry(l);const u=i._estimateP98LongestInteraction();u&&u._latency!==r.value&&(r.value=u._latency,r.entries=u.entries,s())})},c=go("event",o,{durationThreshold:t.durationThreshold??LF});s=gc(e,r,xF,t.reportAllChanges),c&&(c.observe({type:"first-input",buffered:!0}),n.onHidden(()=>{o(c.takeRecords()),s(!0)}))})};class NF{_processEntry(t){var n;
85(n=this._onBeforeProcessingEntry)==null||n.call(this,t)}}const DF=[2500,4e3],jF=(e,t={})=>{ef(()=>{const n=yc(),r=_c("LCP");let s;const i=Yp(t,NF),o=a=>{t.reportAllChanges||(a=a.slice(-1));for(const u of a)i._processEntry(u),u.startTime<n.firstHiddenTime&&(r.value=Math.max(u.startTime-po(),0),r.entries=[u],s())},c=go("largest-contentful-paint",o);if(c){s=gc(e,r,DF,t.reportAllChanges);const a=Jp(()=>{o(c.takeRecords()),c.disconnect(),s(!0)}),u=l=>{l.isTrusted&&(tE(a),Zu(l.type,u,{capture:!0}))};for(const l of["keydown","click","visibilitychange"])ss(l,u,{capture:!0})}})},FF=[800,1800],Ch=e=>{var t,n;(t=Ie.document)!=null&&t.prerendering?ef(()=>Ch(e)):((n=Ie.document)==null?void 0:n.readyState)!=="complete"?addEventListener("load",()=>Ch(e),!0):setTimeout(e)},HF=(e,t={})=>{const n=_c("TTFB"),r=gc(e,n,FF,t.reportAllChanges);Ch(()=>{const s=mc();s&&(n.value=Math.max(s.responseStart-po(),0),n.entries=[s],r(!0))})},Go={},nl={};let nE,rE,sE,iE;function Xp(e,t=!1){return tf("cls",e,VF,nE,t)}function Qp(e,t=!1){return tf("lcp",e,BF,rE,t)}function UF(e){return tf("ttfb",e,qF,sE)}function oE(e){return tf("inp",e,WF,iE)}function va(e,t){return aE(e,t),nl[e]||(zF(e),nl[e]=!0),cE(e,t)}function vc(e,t){const n=Go[e];if(n!=null&&n.length)for(const r of n)try{r(t)}catch(s){ms&&ye.error(`Error while triggering instrumentation handler. 86Type: ${e} 87Name: ${Fp(r)} 88Error:`,s)}}function VF(){return $F(e=>{vc("cls",{metric:e}),nE=e},{reportAllChanges:!0})}function BF(){return jF(e=>{vc("lcp",{metric:e}),rE=e},{reportAllChanges:!0})}function qF(){return HF(e=>{vc("ttfb",{metric:e}),sE=e})}function WF(){return MF(e=>{vc("inp",{metric:e}),iE=e})}function tf(e,t,n,r,s=!1){aE(e,t);let i;return nl[e]||(i=n(),nl[e]=!0),r&&t({metric:r}),cE(e,t,s?i:void 0)}function zF(e){const t={};e==="event"&&(t.durationThreshold=0),go(e,n=>{vc(e,{entries:n})},t)}function aE(e,t){Go[e]=Go[e]||[],Go[e].push(t)}function cE(e,t,n){return()=>{n&&n();const r=Go[e];if(!r)return;const s=r.indexOf(t);s!==-1&&r.splice(s,1)}}function KF(e){return"duration"in e}const GF=e=>{const t=n=>{var r;(n.type==="pagehide"||((r=Ie.document)==null?void 0:r.visibilityState)==="hidden")&&e(n)};ss("visibilitychange",t,{capture:!0,once:!0}),ss("pagehide",t,{capture:!0,once:!0})};function dd(e){return typeof e=="number"&&isFinite(e)}function fs(e,t,n,{...r}){const s=xe(e).start_timestamp;return s&&s>t&&typeof e.updateStartTime=="function"&&e.updateStartTime(t),FS(e,()=>{const i=Nr({startTime:t,...r});return i&&i.end(n),i})}function Zp(e){var v;const t=ct();if(!t)return;const{name:n,transaction:r,attributes:s,startTime:i}=e,{release:o,environment:c,sendDefaultPii:a}=t.getOptions(),u=t.getIntegrationByName("Replay"),l=u==null?void 0:u.getReplayId(),f=Je(),h=f.getUser(),p=h!==void 0?h.email||h.id||h.ip_address:void 0;let d;try{d=f.getScopeData().contexts.profile.profile_id}catch{}const g={release:o,environment:c,user:p||void 0,profile_id:d||void 0,replay_id:l||void 0,transaction:r,"user_agent.original":(v=Ie.navigator)==null?void 0:v.userAgent,"client.address":a?"{{auto}}":void 0,...s};return Nr({name:n,attributes:g,startTime:i,experimental:{standalone:!0}})}function bc(){return Ie.addEventListener&&Ie.performance}function Xe(e){return e/1e3}function YF(e){let t="unknown",n="unknown",r="";for(const s of e){if(s==="/"){[t,n]=e.split("/");break}if(!isNaN(Number(s))){t=r==="h"?"http":r,n=e.split(r)[1];break}r+=s}return r===e&&(t=r),{name:t,version:n}}function nf(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch{return!1}}function rf(e,t){let n,r=!1;function s(c){!r&&n&&t(c,n.spanContext().spanId,n),r=!0}GF(()=>{s("pagehide")});const i=e.on("beforeStartNavigationSpan",(c,a)=>{a!=null&&a.isRedirect||(s("navigation"),i(),o())}),o=e.on("afterStartPageLoadSpan",c=>{n=c,o()})}function JF(e){let t=0,n;if(!nf("layout-shift"))return;const r=Xp(({metric:s})=>{const i=s.entries[s.entries.length-1];i&&(t=s.value,n=i)},!0);rf(e,(s,i)=>{XF(t,n,i,s),r()})}function XF(e,t,n,r){var u;ms&&ye.log(`Sending CLS span (${e})`);const s=t?Xe((Ot()||0)+t.startTime):ot(),i=Je().getScopeData().transactionName,o=t?Pt((u=t.sources[0])==null?void 0:u.node):"Layout shift",c={[rt]:"auto.http.browser.cls",[En]:"ui.webvital.cls",[ho]:0,"sentry.pageload.span_id":n,"sentry.report_event":r};
88t!=null&&t.sources&&t.sources.forEach((l,f)=>{c[`cls.source.${f+1}`]=Pt(l.node)});const a=Zp({name:o,transaction:i,attributes:c,startTime:s});a&&(a.addEvent("cls",{[hc]:"",[pc]:e}),a.end(s))}const QF=6e4;function wc(e){return e!=null&&e>0&&e<=QF}function ZF(e){let t=0,n;if(!nf("largest-contentful-paint"))return;const r=Qp(({metric:s})=>{const i=s.entries[s.entries.length-1];!i||!wc(s.value)||(t=s.value,n=i)},!0);rf(e,(s,i)=>{eH(t,n,i,s),r()})}function eH(e,t,n,r){if(!wc(e))return;ms&&ye.log(`Sending LCP span (${e})`);const s=Xe((Ot()||0)+((t==null?void 0:t.startTime)||0)),i=Je().getScopeData().transactionName,o=t?Pt(t.element):"Largest contentful paint",c={[rt]:"auto.http.browser.lcp",[En]:"ui.webvital.lcp",[ho]:0,"sentry.pageload.span_id":n,"sentry.report_event":r};t&&(t.element&&(c["lcp.element"]=Pt(t.element)),t.id&&(c["lcp.id"]=t.id),t.url&&(c["lcp.url"]=t.url),t.loadTime!=null&&(c["lcp.loadTime"]=t.loadTime),t.renderTime!=null&&(c["lcp.renderTime"]=t.renderTime),t.size!=null&&(c["lcp.size"]=t.size));const a=Zp({name:o,transaction:i,attributes:c,startTime:s});a&&(a.addEvent("lcp",{[hc]:"millisecond",[pc]:e}),a.end(s))}function nn(e){return e&&((Ot()||performance.timeOrigin)+e)/1e3}function uE(e){var n;const t={};if(e.nextHopProtocol!=null){const{name:r,version:s}=YF(e.nextHopProtocol);t["network.protocol.version"]=s,t["network.protocol.name"]=r}return Ot()||(n=bc())!=null&&n.timeOrigin?tH({...t,"http.request.redirect_start":nn(e.redirectStart),"http.request.redirect_end":nn(e.redirectEnd),"http.request.worker_start":nn(e.workerStart),"http.request.fetch_start":nn(e.fetchStart),"http.request.domain_lookup_start":nn(e.domainLookupStart),"http.request.domain_lookup_end":nn(e.domainLookupEnd),"http.request.connect_start":nn(e.connectStart),"http.request.secure_connection_start":nn(e.secureConnectionStart),"http.request.connection_end":nn(e.connectEnd),"http.request.request_start":nn(e.requestStart),"http.request.response_start":nn(e.responseStart),"http.request.response_end":nn(e.responseEnd),"http.request.time_to_first_byte":e.responseStart!=null?e.responseStart/1e3:void 0}):t}function tH(e){return Object.fromEntries(Object.entries(e).filter(([,t])=>t!=null))}const nH=2147483647;let x_=0,Lt={},Ft,di;function rH({recordClsStandaloneSpans:e,recordLcpStandaloneSpans:t,client:n}){const r=bc();if(r&&Ot()){r.mark&&Ie.performance.mark("sentry-tracing-init");const s=t?ZF(n):t===!1?cH():void 0,i=e?JF(n):e===!1?aH():void 0,o=uH();return()=>{o(),s==null||s(),i==null||i()}}return()=>{}}function sH(){va("longtask",({entries:e})=>{const t=jt();if(!t)return;const{op:n,start_timestamp:r}=xe(t);for(const s of e){const i=Xe(Ot()+s.startTime),o=Xe(s.duration);n==="navigation"&&r&&i<r||fs(t,i,i+o,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[rt]:"auto.ui.browser.metrics"}})}})}function iH(){new PerformanceObserver(t=>{const n=jt();if(n)for(const r of t.getEntries()){if(!r.scripts[0])continue;const s=Xe(Ot()+r.startTime),{start_timestamp:i,op:o}=xe(n);if(o==="navigation"&&i&&s<i)continue;const c=Xe(r.duration),a={[rt]:"auto.ui.browser.metrics"},u=r.scripts[0],{invoker:l,invokerType:f,sourceURL:h,sourceFunctionName:p,sourceCharPosition:d}=u;a["browser.script.invoker"]=l,a["browser.script.invoker_type"]=f,h&&(a["code.filepath"]=h),p&&(a["code.function"]=p),d!==-1&&(a["browser.script.source_char_position"]=d),fs(n,s,s+c,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:a})}}).observe({type:"long-animation-frame",buffered:!0})}function oH(){va("event",({entries:e})=>{const t=jt();if(t){for(const n of e)if(n.name==="click"){const r=Xe(Ot()+n.startTime),s=Xe(n.duration),i={name:Pt(n.target),op:`ui.interaction.${n.name}`,startTime:r,attributes:{[rt]:"auto.ui.browser.metrics"}},o=z7(n.target);o&&(i.attributes["ui.component_name"]=o),fs(t,r,r+s,i)}}})}function aH(){return Xp(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(Lt.cls={value:e.value,unit:""},di=t)},!0)}function cH(){return Qp(({metric:e})=>{const t=e.entries[e.entries.length-1];!t||!wc(e.value)||(Lt.lcp={value:e.value,unit:"millisecond"},Ft=t)},!0)}function uH(){return UF(({metric:e})=>{e.entries[e.entries.length-1]&&(Lt.ttfb={value:e.value,unit:"millisecond"})})}function lH(e,t){const n=bc(),r=Ot();if(!(n!=null&&n.getEntries)||!r)return;const{spanStreamingEnabled:s,ignorePerformanceApiSpans:i,ignoreResourceSpans:o,recordClsOnPageloadSpan:c,recordLcpOnPageloadSpan:a}=t,u=Xe(r),l=n.getEntries(),{op:f,start_timestamp:h}=xe(e);if(l.slice(x_).forEach(p=>{const d=Xe(p.startTime),g=Xe(Math.max(0,p.duration));if(!(f==="navigation"&&h&&u+d<h))switch(p.entryType){case"navigation":{pH(e,p,u);break}case"mark":case"paint":case"measure":{dH(e,p,d,g,u,i);const v=yc(),_=p.startTime<v.firstHiddenTime;p.name==="first-paint"&&_&&(Lt.fp={value:p.startTime,unit:"millisecond"}),p.name==="first-contentful-paint"&&_&&(Lt.fcp={value:p.startTime,unit:"millisecond"});break}case"resource":{yH(e,p,p.name,d,g,u,o);break}}}),x_=Math.max(l.length-1,0),_H(e,s),f==="pageload"){if(wH(Lt),s){const p=(d,g,v)=>{const _=v??`browser.web_vital.${d}.value`;e.setAttribute(_,g),ms&&ye.log("Setting web vital attribute",{[_]:g},"on pageload span")};["ttfb","fp","fcp"].forEach(d=>{Lt[d]&&p(d,Lt[d].value)}),Lt["ttfb.requestTime"]&&p("ttfb.requestTime",Lt["ttfb.requestTime"].value,"browser.web_vital.ttfb.request_time")}else c||delete Lt.cls,a||delete Lt.lcp,Object.entries(Lt).forEach(([p,d])=>{dj(p,d.value,d.unit)}),vH(e,t);e.setAttribute(s?"browser.performance.time_origin":"performance.timeOrigin",u),e.setAttribute(s?"browser.performance.navigation.activation_start":"performance.activationStart",po())}Ft=void 0,di=void 0,Lt={}}function fH(e){if((e==null?void 0:e.entryType)==="measure")try{return e.detail.devtools.track==="Components ⚛"}catch{return}}function dH(e,t,n,r,s,i){if(fH(t)||["mark","measure"].includes(t.entryType)&&ou(t.name,i))return;const o=mc(!1),c=Xe(o?o.requestStart:0),a=s+Math.max(n,c),u=s+n,l=u+r,f={[rt]:"auto.resource.browser.metrics"};a!==u&&(f["sentry.browser.measure_happened_before_request"]=!0,f["sentry.browser.measure_start_time"]=a),hH(f,t),a<=l&&fs(e,a,l,{name:t.name,op:t.entryType,attributes:f})}function hH(e,t){try{const n=t.detail;if(!n)return;if(typeof n=="object"){for(const[r,s]of Object.entries(n))if(s&&o_(s))e[`sentry.browser.measure.detail.${r}`]=s;else if(s!==void 0)try{e[`sentry.browser.measure.detail.${r}`]=JSON.stringify(s)}catch{}return}if(o_(n)){e["sentry.browser.measure.detail"]=n;return}try{e["sentry.browser.measure.detail"]=JSON.stringify(n)}catch{}}catch{}}function pH(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{Kc(e,t,r,n)}),Kc(e,t,"secureConnection",n,"TLS/SSL"),Kc(e,t,"fetch",n,"cache"),Kc(e,t,"domainLookup",n,"DNS"),mH(e,t,n)}function Kc(e,t,n,r,s=n){const i=gH(n),o=t[i],c=t[`${n}Start`];!c||!o||fs(e,r+Xe(c),r+Xe(o),{op:`browser.${s}`,name:t.name,attributes:{[rt]:"auto.ui.browser.metrics",...n==="redirect"&&t.redirectCount!=null?{"http.redirect_count":t.redirectCount}:{}}})}function gH(e){return e==="secureConnection"?"connectEnd":e==="fetch"?"domainLookupStart":`${e}End`}function mH(e,t,n){const r=n+Xe(t.requestStart),s=n+Xe(t.responseEnd),i=n+Xe(t.responseStart);t.responseEnd&&(fs(e,r,s,{op:"browser.request",name:t.name,attributes:{[rt]:"auto.ui.browser.metrics"}}),fs(e,i,s,{op:"browser.response",name:t.name,attributes:{[rt]:"auto.ui.browser.metrics"}}))}function yH(e,t,n,r,s,i,o){if(t.initiatorType==="xmlhttprequest"||t.initiatorType==="fetch")return;const c=t.initiatorType?`resource.${t.initiatorType}`:"resource.other";if(o!=null&&o.includes(c))return;const a={[rt]:"auto.resource.browser.metrics"},u=Qu(n);u.protocol&&(a["url.scheme"]=u.protocol.split(":").pop()),u.host&&(a["server.address"]=u.host),a["url.same_origin"]=n.includes(Ie.location.origin),bH(t,a,[["responseStatus","http.response.status_code"],["transferSize","http.response_transfer_size"],["encodedBodySize","http.response_content_length"],["decodedBodySize","http.decoded_response_content_length"],["renderBlockingStatus","resource.render_blocking_status"],["deliveryType","http.response_delivery_type"]]);const l={...a,...uE(t)},f=i+r,h=f+s;fs(e,f,h,{name:n.replace(Ie.location.origin,""),op:c,attributes:l})}function _H(e,t){const n=Ie.navigator;if(!n)return;const r=n.connection;r&&(r.effectiveType&&e.setAttribute(t?"network.connection.effective_type":"effectiveConnectionType",r.effectiveType),r.type&&e.setAttribute(t?"network.connection.type":"connectionType",r.type),dd(r.rtt)&&(Lt["connection.rtt"]={value:r.rtt,unit:"millisecond"},t&&e.setAttribute("network.connection.rtt",r.rtt))),dd(n.deviceMemory)&&(t?e.setAttribute("device.memory.estimated_capacity",n.deviceMemory):e.setAttribute("deviceMemory",`${n.deviceMemory} GB`)),dd(n.hardwareConcurrency)&&(t?e.setAttribute("device.processor_count",n.hardwareConcurrency):e.setAttribute("hardwareConcurrency",String(n.hardwareConcurrency)))}function vH(e,t){Ft&&t.recordLcpOnPageloadSpan&&(Ft.element&&e.setAttribute("lcp.element",Pt(Ft.element)),Ft.id&&e.setAttribute("lcp.id",Ft.id),Ft.url&&e.setAttribute("lcp.url",Ft.url.trim().slice(0,200)),Ft.loadTime!=null&&e.setAttribute("lcp.loadTime",Ft.loadTime),Ft.renderTime!=null&&e.setAttribute("lcp.renderTime",Ft.renderTime),e.setAttribute("lcp.size",Ft.size)),di!=null&&di.sources&&t.recordClsOnPageloadSpan&&di.sources.forEac
88h((n,r)=>e.setAttribute(`cls.source.${r+1}`,Pt(n.node)))}function bH(e,t,n){n.forEach(([r,s])=>{const i=e[r];i!=null&&(typeof i=="number"&&i<nH||typeof i=="string")&&(t[s]=i)})}function wH(e){const t=mc(!1);if(!t)return;const{responseStart:n,requestStart:r}=t;r<=n&&(e["ttfb.requestTime"]={value:n-r,unit:"millisecond"})}const hd=[],Yo=new Map,ii=new Map,lE=60;function SH(){if(bc()&&Ot()){const t=EH();return()=>{t()}}return()=>{}}const ba={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};function EH(){return oE(TH)}const TH=({metric:e})=>{if(e.value==null)return;const t=Xe(e.value);if(t>lE)return;const n=e.entries.find(d=>d.duration===e.value&&ba[d.name]);if(!n)return;const{interactionId:r}=n,s=ba[n.name],i=Xe(Ot()+n.startTime),o=jt(),c=o?Et(o):void 0,a=r!=null?Yo.get(r):void 0,u=(a==null?void 0:a.span)||c,l=u?xe(u).description:Je().getScopeData().transactionName,f=(a==null?void 0:a.elementName)||Pt(n.target),h={[rt]:"auto.http.browser.inp",[En]:`ui.interaction.${s}`,[ho]:n.duration},p=Zp({name:f,transaction:l,attributes:h,startTime:i});p&&(p.addEvent("inp",{[hc]:"millisecond",[pc]:e.value}),p.end(i+t))};function CH(e){return e!=null?Yo.get(e):void 0}function AH(){const e=Object.keys(ba);eF()&&e.forEach(s=>{Ie.addEventListener(s,t,{capture:!0,passive:!0})});function t(s){const i=s.target;if(!i)return;const o=Pt(i),c=Math.round(s.timeStamp);if(ii.set(c,o),ii.size>50){const a=ii.keys().next().value;a!==void 0&&ii.delete(a)}}function n(s){const i=Math.round(s.startTime);let o=ii.get(i);if(!o)for(let c=-5;c<=5;c++){const a=ii.get(i+c);if(a){o=a;break}}return o||"<unknown>"}const r=({entries:s})=>{const i=jt(),o=i&&Et(i);s.forEach(c=>{if(!KF(c))return;const a=c.interactionId;if(a==null||Yo.has(a))return;const u=c.target?Pt(c.target):n(c);if(hd.length>10){const l=hd.shift();Yo.delete(l)}hd.push(a),Yo.set(a,{span:o,elementName:u})})};va("event",r),va("first-input",r)}function eg(e){var d,g;const{name:t,op:n,origin:r,metricName:s,value:i,attributes:o,parentSpan:c,reportEvent:a,startTime:u,endTime:l}=e,f=Je().getScopeData().transactionName,h={[rt]:r,[En]:n,[ho]:0,[`browser.web_vital.${s}.value`]:i,"sentry.transaction":f,"user_agent.original":(d=Ie.navigator)==null?void 0:d.userAgent,...o};c&&((g=kS(c).attributes)==null?void 0:g[En])==="pageload"&&(h["sentry.pageload.span_id"]=c.spanContext().spanId),a&&(h[`browser.web_vital.${s}.report_event`]=a);const p=Nr({name:t,attributes:h,startTime:u,parentSpan:c});p&&p.end(l??u)}function kH(e){let t=0,n;if(!nf("largest-contentful-paint"))return;const r=Qp(({metric:s})=>{const i=s.entries[s.entries.length-1];!i||!wc(s.value)||(t=s.value,n=i)},!0);rf(e,(s,i,o)=>{IH(t,n,o,s),r()})}function IH(e,t,n,r){if(!wc(e))return;ms&&ye.log(`Sending LCP span (${e})`);const s=Ot()||0,i=Xe(s),o=Xe(s+((t==null?void 0:t.startTime)||0)),c=t?Pt(t.element):"Largest contentful paint",a={};t!=null&&t.element&&(a["browser.web_vital.lcp.element"]=Pt(t.element)),t!=null&&t.id&&(a["browser.web_vital.lcp.id"]=t.id),t!=null&&t.url&&(a["browser.web_vital.lcp.url"]=t.url),(t==null?void 0:t.loadTime)!=null&&(a["browser.web_vital.lcp.load_time"]=t.loadTime),(t==null?void 0:t.renderTime)!=null&&(a["browser.web_vital.lcp.render_time"]=t.renderTime),(t==null?void 0:t.size)!=null&&(a["browser.web_vital.lcp.size"]=t.size),eg({name:c,op:"ui.webvital.lcp",origin:"auto.http.browser.lcp",metricName:"lcp",value:e,attributes:a,parentSpan:n,reportEvent:r,startTime:i,endTime:o})}function $H(e){let t=0,n;if(!nf("layout-shift"))return;const r=Xp(({metric:s})=>{const i=s.entries[s.entries.length-1];i&&(t=s.value,n=i)},!0);rf(e,(s,i,o)=>{RH(t,n,o,s),r()})}function RH(e,t,n,r){var c;ms&&ye.log(`Sending CLS span (${e})`);
88const s=t?Xe((Ot()||0)+t.startTime):ot(),i=t?Pt((c=t.sources[0])==null?void 0:c.node):"Layout shift",o={};t!=null&&t.sources&&t.sources.forEach((a,u)=>{o[`browser.web_vital.cls.source.${u+1}`]=Pt(a.node)}),eg({name:i,op:"ui.webvital.cls",origin:"auto.http.browser.cls",metricName:"cls",value:e,attributes:o,parentSpan:n,reportEvent:r,startTime:s})}function PH(){if(!bc()||!Ot())return;oE(({metric:n})=>{if(n.value==null||Xe(n.value)>lE)return;const s=n.entries.find(i=>i.duration===n.value&&ba[i.name]);s&&OH(n.value,s)})}function OH(e,t){ms&&ye.log(`Sending INP span (${e})`);const n=Xe(Ot()+t.startTime),r=Xe(e),s=ba[t.name],i=CH(t.interactionId),o=jt(),c=o?Et(o):void 0,a=(i==null?void 0:i.span)||c,u=a?kS(a).name:Je().getScopeData().transactionName,l=(i==null?void 0:i.elementName)||Pt(t.target);eg({name:l,op:`ui.interaction.${s}`,origin:"auto.http.browser.inp",metricName:"inp",value:e,attributes:{[ho]:t.duration,"sentry.transaction":u},startTime:n,endTime:n+r,parentSpan:a})}let Gc;function xH(e){const t="history";ao(t,e),co(t,LH)}function LH(){if(Ie.addEventListener("popstate",()=>{const t=Ie.location.href,n=Gc;if(Gc=t,n===t)return;Un("history",{from:n,to:t})}),!fF())return;function e(t){return function(...n){const r=n.length>2?n[2]:void 0;if(r){const s=Gc,i=MH(String(r));if(Gc=i,s===i)return t.apply(this,n);Un("history",{from:s,to:i})}return t.apply(this,n)}}gh(Ie.history,"pushState",e),gh(Ie.history,"replaceState",e)}function MH(e){try{return new URL(e,Ie.location.origin).toString()}catch{return e}}const Po="__sentry_xhr_v3__";function NH(e){ao("xhr",e),co("xhr",DH)}function DH(){if(!Ie.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(t,n,r){const s=new Error,i=ot()*1e3,o=ns(r[0])?r[0].toUpperCase():void 0,c=jH(r[1]);if(!o||!c)return t.apply(n,r);n[Po]={method:o,url:c,request_headers:{}},o==="POST"&&c.match(/sentry_key/)&&(n.__sentry_own_request__=!0);const a=()=>{const u=n[Po];if(u&&n.readyState===4){try{u.status_code=n.status}catch{}const l={endTimestamp:ot()*1e3,startTimestamp:i,xhr:n,virtualError:s};Un("xhr",l)}
88};return"onreadystatechange"in n&&typeof n.onreadystatechange=="function"?n.onreadystatechange=new Proxy(n.onreadystatechange,{apply(u,l,f){return a(),u.apply(l,f)}}):n.addEventListener("readystatechange",a),n.setRequestHeader=new Proxy(n.setRequestHeader,{apply(u,l,f){const[h,p]=f,d=l[Po];return d&&ns(h)&&ns(p)&&(d.request_headers[h.toLowerCase()]=p),u.apply(l,f)}}),t.apply(n,r)}}),e.send=new Proxy(e.send,{apply(t,n,r){const s=n[Po];if(!s)return t.apply(n,r);r[0]!==void 0&&(s.body=r[0]);const i={startTimestamp:ot()*1e3,xhr:n};return Un("xhr",i),t.apply(n,r)}})}function jH(e){if(ns(e))return e;try{return e.toString()}catch{}}function FH(e){let t;try{t=e.getAllResponseHeaders()}catch(n){return ms&&ye.error(n,"Failed to get xhr response headers",e),{}}return t?t.split(`\r 89`).reduce((n,r)=>{const[s,i]=r.split(": ");return i&&(n[s.toLowerCase()]=i),n},{}):{}}const kr=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function HH(e){return e.split(",").some(t=>t.trim().startsWith("sentry-"))}function fE(e){try{return new URL(e,$t.location.origin).href}catch{return}}function UH(e){return e.entryType==="resource"&&"initiatorType"in e&&typeof e.nextHopProtocol=="string"&&(e.initiatorType==="fetch"||e.initiatorType==="xmlhttprequest")}function dE(e){try{return new Headers(e)}catch{return}}const L_=new WeakMap,pd=new Map,hE={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function VH(e,t){const{traceFetch:n,traceXHR:r,trackFetchStreamPerformance:s,shouldCreateSpanForRequest:i,enableHTTPTimings:o,tracePropagationTargets:c,onRequestSpanStart:a,onRequestSpanEnd:u}={...hE,...t},l=typeof i=="function"?i:d=>!0,f=d=>qH(d,c),h={},p=e.getOptions().propagateTraceparent;n&&(e.addEventProcessor(d=>(d.type==="transaction"&&d.spans&&d.spans.forEach(g=>{if(g.op==="http.client"){const v=pd.get(g.span_id);v&&(g.timestamp=v/1e3,pd.delete(g.span_id))}}),d)),s&&gF(d=>{if(d.response){const g=L_.get(d.response);g&&d.endTimestamp&&pd.set(g,d.endTimestamp)}}),pF(d=>{const g=sF(d,l,f,h,{propagateTraceparent:p,onRequestSpanEnd:u});if(d.response&&d.fetchData.__span&&L_.set(d.response,d.fetchData.__span),g){const v=fE(d.fetchData.url),_=v?Qu(v).host:void 0;g.setAttributes({"http.url":v?Us(v):void 0,"server.address":_}),o&&M_(g,e),a==null||a(g,{headers:d.headers})}})),r&&NH(d=>{var v;const g=WH(d,l,f,h,p,u);g&&(o&&M_(g,e),a==null||a(g,{headers:dE((v=d.xhr.__sentry_xhr_v3__)==null?void 0:v.request_headers)}))})}const BH=300;function M_(e,t){const{url:n}=xe(e).data;if(!n||typeof n!="string")return;let r=()=>void setTimeout(s);if(Mr(t)){const i=e.end.bind(e);e.end=o=>{const c=o??ot();let a=!1;const u=()=>{a||(a=!0,setTimeout(s),i(c),clearTimeout(l))};r=u;const l=setTimeout(u,BH)}}const s=va("resource",({entries:i})=>{i.forEach(o=>{UH(o)&&o.name.endsWith(n)&&(e.setAttributes(uE(o)),r())})})}function qH(e,t){const n=Vp();if(n){let r,s;try{r=new URL(e,n),s=new URL(n).origin}catch{return!1}const i=r.origin===s;return t?ou(r.toString(),t)||i&&ou(r.pathname,t):i}else{const r=!!e.match(/^\/(?!\/)/);return t?ou(e,t):r}}function WH(e,t,n,r,s,i){const o=e.xhr,c=o==null?void 0:o[Po];if(!o||o.__sentry_own_request__||!c)return;const{url:a,method:u}=c,l=cn()&&t(a);if(e.endTimestamp){const y=o.__sentry_xhr_span_id__;if(!y)return;const m=r[y];m&&(l&&c.status_code!==void 0&&(mS(m,c.status_code),m.end(),i==null||i(m,{headers:dE(FH(o)),error:e.error})),delete r[y]);return}const f=fE(a),h=Qu(f||a),p=Us(Mj(a)),d=ct(),v=!!jt()||!!d&&Mr(d),_=l&&v?Nr({name:`${u} ${p}`,attributes:{url:Us(a),type:"xhr","http.method":u,"http.url":f?Us(f):void 0,"server.address":h==null?void 0:h.host,[rt]:"auto.http.browser",[En]:"http.client",...(h==null?void 0:h.search)&&{"http.query":h==null?void 0:h.search},...(h==null?void 0:h.hash)&&{"http.fragment":h==null?void 0:h.hash}}}):new Vn;return l&&!v&&(d==null||d.recordDroppedEvent("no_parent_span","span")),o.__sentry_xhr_span_id__=_.spanContext().spanId,r[o.__sentry_xhr_span_id__]=_,n(a)&&zH(o,cn()&&v?_:void 0,s),d&&d.emit("beforeOutgoingRequestSpan",_,e),_}function zH(e,t,n){const{"sentry-trace":r,baggage:s,traceparent:i}=GS({span:t,propagateTraceparent:n});r&&KH(e,r,s,i)}function KH(e,t,n,r){var i;const s=(i=e.__sentry_xhr_v3__)==null?void 0:i.request_headers;if(!(s!=null&&s["sentry-trace"]||!e.setRequestHeader))try{if(e.setRequestHeader("sentry-trace",t),r&&!(s!=null&&s.traceparent)&&e.setRequestHeader("traceparent",r),n){const o=s==null?void 0:s.baggage;(!o||!HH(o))&&e.setRequestHeader("baggage",n)}}catch{}}function GH(){$t.document?$t.document.addEventListener("visibilitychange",()=>{const e=jt();if(!e)return;const t=Et(e);if($t.document.hidden&&t){const n="cancelled",{op:r,status:s}=xe(t);kr&&ye.log(`[Tracing] Transaction: ${n} -> since tab moved to the background, op: ${r}`),s||t.setStatus({code:wt,message:n}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):kr&&ye.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const YH=3600,pE="sentry_previous_trace",JH="sentry.previous_trace";function XH(e,{linkPreviousTrace:t,consistentTraceSampling:n}){const r=t==="session-storage";let s=r?eU():void 0;e.on("spanStart",o=>{if(Et(o)!==o)return;const c=Je().getPropagationContext();s=QH(s,o,c),r&&ZH(s)});let i=!0;n&&e.on("beforeSampling",o=>{if(!s)return;const c=Je(),a=c.getPropagationContext();if(i&&a.parentSpanId){i=!1;return}c.setPropagationContext({...a,dsc:{...a.dsc,sample_rate:String(s.sampleRate),sampled:String(Ah(s.spanContext))},sampleRand:s.sampleRand}),o.parentSampled=Ah(s.spanContext),o.parentSampleRate=s.sampleRate,o.spanAttributes={...o.spanAttributes,[pS]:s.sampleRate}})}function QH(e,t,n){const r=xe(t);function s(){var c,a;try{return Number((c=n.dsc)==null?void 0:c.sample_rate)??Number((a=r.data)==null?void 0:a[qp])}catch{return 0}}const i={spanContext:t.spanContext(),startTimestamp:r.start_timestamp,sampleRate:s(),sampleRand:n.sampleRand};if(!e)return i;const o=e.spanContext;return o.traceId===r.trace_id?e:(Date.now()/1e3-e.startTimestamp<=YH&&(kr&&ye.log(`Adding previous_trace \`${JSON.stringify(o)}\` link to span \`${JSON.stringify({op:r.op,...t.spanContext()})}\``),t.addLink({context:o,attributes:{[yD]:"previous_trace"}}),t.setAttribute(JH,`${o.traceId}-${o.spanId}-${Ah(o)?1:0}
89`)),i)}function ZH(e){try{$t.sessionStorage.setItem(pE,JSON.stringify(e))}catch(t){kr&&ye.warn("Could not store previous trace in sessionStorage",t)}}function eU(){var e;try{const t=(e=$t.sessionStorage)==null?void 0:e.getItem(pE);return JSON.parse(t)}catch{return}}function Ah(e){return e.traceFlags===1}const tU="BrowserTracing",nU=/Googlebot|Google-InspectionTool|Storebot-Google|Bingbot|Slurp|DuckDuckBot|Baiduspider|YandexBot|Facebot|facebookexternalhit|LinkedInBot|Twitterbot|Applebot/i;function rU(){const e=$t.navigator;return e!=null&&e.userAgent?nU.test(e.userAgent):!1}const sU={...uu,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{},...hE},N_=((e={})=>{"enableElementTiming"in e&&oo(()=>{});const t={name:void 0,source:void 0},n=$t.document,{enableInp:r,enableLongTask:s,enableLongAnimationFrame:i,_experiments:{enableInteractions:o,enableStandaloneClsSpans:c,enableStandaloneLcpSpans:a},beforeStartSpan:u,idleTimeout:l,finalTimeout:f,childSpanTimeout:h,markBackgroundSpan:p,traceFetch:d,traceXHR:g,trackFetchStreamPerformance:v,shouldCreateSpanForRequest:_,enableHTTPTimings:y,ignoreResourceSpans:m,ignorePerformanceApiSpans:b,instrumentPageLoad:E,instrumentNavigation:$,detectRedirects:A,linkPreviousTrace:D,consistentTraceSampling:H,enableReportPageLoaded:B,onRequestSpanStart:V,onRequestSpanEnd:C}={...sU,...e},P=rU();let R,k,T;function O(I,j,U=!0){const q=j.op==="pageload",z=j.name,X=u?u(j):j,se=X.attributes||{};if(z!==X.name&&(se[an]="custom",X.attributes=se),!U){const F=fc();Nr({...X,startTime:F}).end(F);return}t.name=X.name,t.source=se[an];const oe=US(X,{idleTimeout:l,finalTimeout:f,childSpanTimeout:h,disableAutoFinish:q,beforeSpanEnd:F=>{R==null||R();const Z=Mr(I);lH(F,{recordClsOnPageloadSpan:!Z&&!c,recordLcpOnPageloadSpan:!Z&&!a,ignoreResourceSpans:m,ignorePerformanceApiSpans:b,spanStreamingEnabled:Z}),F_(I,void 0);const J=Je(),Q=J.getPropagationContext();J.setPropagationContext({...Q,traceId:oe.spanContext().traceId,sampled:gs(oe),dsc:ls(F)}),q&&(T=void 0)},trimIdleSpanEndTimestamp:!B});q&&B&&(T=oe),F_(I,oe);function G(){n&&["interactive","complete"].includes(n.readyState)&&I.emit("idleSpanEnableAutoFinish",oe)}q&&!B&&n&&(n.addEventListener("readystatechange",()=>{G()}),G())}return{name:tU,setup(I){var q;if(P){kr&&ye.log("[Tracing] Skipping browserTracingIntegration setup for bot user agent.");return}VD();const j=Mr(I);if(R=rH({recordClsStandaloneSpans:j?void 0:c||!1,recordLcpStandaloneSpans:j?void 0:a||!1,client:I}),j?(kH(I),$H(I),r&&PH()):r&&SH(),i&&Le.PerformanceObserver&&((q=PerformanceObserver.supportedEntryTypes)!=null&&q.includes("long-animation-frame"))?iH():s&&sH(),o&&oH(),A&&n){const z=()=>{k=ot()};addEventListener("click",z,{capture:!0}),addEventListener("keydown",z,{capture:!0,passive:!0})}function U(){const z=wa(I);z&&!xe(z).timestamp&&(kr&&ye.log(`[Tracing] Finishing current active span with op: ${xe(z).op}`),z.setAttribute(ma,"cancelled"),z.end())}I.on("startNavigationSpan",(z,X)=>{if(ct()!==I)return;if(X!=null&&X.isRedirect){kr&&ye.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),O(I,{op:"navigation.redirect",...z},!1);return}k=void 0,U(),dc().setPropagationContext({traceId:Lr(),sampleRand:Math.random(),propagationSpanId:cn()?void 0:Cr()});const se=Je();se.setPropagationContext({traceId:Lr(),sampleRand:Math.random(),propagationSpanId:cn()?void 0:Cr()}),se.setSDKProcessingMetadata({normalizedRequest:void 0}),O(I,{op:"navigation",...z,parentSpan:null,forceTransaction:!0})}),I.on("startPageLoadSpan",(z,X={})=>{if(ct()!==I)return;U();const se=X.sentryTrace||D_("sentry-trace")||j_("sentry-trace"),oe=X.baggage||D_("baggage")||j_("baggage"),G=LD(se,oe),F=Je();F.setPropagationContext(G),cn()||(F.getPropagationContext().propagationSpanId=Cr()),F.setSDKProcessingMetadata({normalizedRequest:JS()}),O(I,{op:"pageload",...z})}),I.on("endPageloadSpan",()=>{B&&T&&(T.setAttribute(ma,"reportPageLoaded"),T.end())})},afterAllSetup(I){if(P)return;let j=Vp();if(D!=="off"&&XH(I,{linkPreviousTrace:D,consistentTraceSampling:H}),$t.location){if(E){const U=Ot();iU(I,{name:$t.location.pathname,startTime:U?U/1e3:void 0,attributes:{[an]:"url",[rt]:"auto.pageload.browser"}})}$&&xH(({to:U,from:q})=>
89{if(q===void 0&&(j==null?void 0:j.indexOf(U))!==-1){j=void 0;return}j=void 0;const z=qS(U),X=wa(I),se=X&&A&&aU(X,k);gE(I,{name:(z==null?void 0:z.pathname)||$t.location.pathname,attributes:{[an]:"url",[rt]:"auto.navigation.browser"}},{url:U,isRedirect:se})})}p&&GH(),o&&oU(I,l,f,h,t),r&&AH(),VH(I,{traceFetch:d,traceXHR:g,trackFetchStreamPerformance:v,tracePropagationTargets:I.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:_,enableHTTPTimings:y,onRequestSpanStart:V,onRequestSpanEnd:C})}}});function iU(e,t,n){e.emit("startPageLoadSpan",t,n),Je().setTransactionName(t.name);const r=wa(e);return r&&e.emit("afterStartPageLoadSpan",r),r}function gE(e,t,n){const{url:r,isRedirect:s}=n||{};e.emit("beforeStartNavigationSpan",t,{isRedirect:s}),e.emit("startNavigationSpan",t,{isRedirect:s});const i=Je();return i.setTransactionName(t.name),r&&!s&&i.setSDKProcessingMetadata({normalizedRequest:{...JS(),url:r}}),wa(e)}function D_(e){const t=$t.document,n=t==null?void 0:t.querySelector(`meta[name=${e}]`);return(n==null?void 0:n.getAttribute("content"))||void 0}function j_(e){var r,s,i;const t=(s=(r=$t.performance)==null?void 0:r.getEntriesByType)==null?void 0:s.call(r,"navigation")[0],n=(i=t==null?void 0:t.serverTiming)==null?void 0:i.find(o=>o.name===e);return n==null?void 0:n.description}function oU(e,t,n,r,s){const i=$t.document;let o;const c=()=>{const a="ui.action.click",u=wa(e);if(u){const l=xe(u).op;if(["navigation","pageload"].includes(l)){kr&&ye.warn(`[Tracing] Did not create ${a} span because a pageload or navigation span is in progress.`);return}}if(o&&(o.setAttribute(ma,"interactionInterrupted"),o.end(),o=void 0),!s.name){kr&&ye.warn(`[Tracing] Did not create ${a} transaction because _latestRouteName is missing.`);return}o=US({name:s.name,op:a,attributes:{[an]:s.source||"url"}},{idleTimeout:t,finalTimeout:n,childSpanTimeout:r})};i&&addEventListener("click",c,{capture:!0})}const mE="_sentry_idleSpan";function wa(e){return e[mE]}function F_(e,t){ln(e,mE,t)}const H_=1.5;function aU(e,t){const n=xe(e),r=fc(),s=n.start_timestamp;return!(r-s>H_||t&&r-t<=H_)}const yE=["activate","mount"],_E=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,cU=/(?:^|[-_])(\w)/g,uU=e=>e.replace(cU,t=>t.toUpperCase()).replace(/[-_]/g,""),lU="<Root>",gd="<Anonymous>",fU=(e,t)=>e.repeat(t),Jo=(e,t)=>{if(!e)return gd;if(e.$root===e)return lU;if(!e.$options)return gd;const n=e.$options;let r=n.name||n._componentTag||n.__name;const s=n.__file;if(!r&&s){const i=s.match(/([^/\\]+)\.vue$/);i&&(r=i[1])}return(r?`<${uU(r)}>`:gd)+(s&&t!==!1?` at ${s}`:"")},dU=e=>{if(e&&(e._isVue||e.__isVue)&&e.$parent){const t=[];let n=0;for(;e;){if(t.length>0){const s=t[t.length-1];if(s.constructor===e.constructor){n++,e=e.$parent;continue}else n>0&&(t[t.length-1]=[s,n],n=0)}t.push(e),e=e.$parent}return` 90 91found in 92 93${t.map((s,i)=>`${(i===0?"---> ":fU(" ",5+i*2))+(Array.isArray(s)?`${Jo(s[0])}... (${s[1]} recursive calls)`:Jo(s))}`).join(` 94`)}`}return` 95 96(found in ${Jo(e)})`},hU=(e,t)=>{const{errorHandler:n}=e.config;e.config.errorHandler=(r,s,i)=>{var u;const o=Jo(s,!1),c=s?dU(s):"",a={componentName:o,lifecycleHook:i,trace:c};if((t==null?void 0:t.attachProps)!==!1&&s&&((u=s.$options)!=null&&u.propsData?a.propsData=s.$options.propsData:s.$props&&(a.propsData=s.$props)),setTimeout(()=>{Zl(r,{captureContext:{contexts:{vue:a}},mechanism:{handled:!!n,type:"auto.function.vue.error_handler"}})}),typeof n=="function"&&e.config.errorHandler)n.call(e,r,s,i);else throw r}},U_="ui.vue",pU={activate:["activated","deactivated"],create:["beforeCreate","created"],unmount:["beforeUnmount","unmounted"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]};function md(e,t,n){e.$_sentryRootComponentSpanTimer&&clearTimeout(e.$_sentryRootComponentSpanTimer),e.$_sentryRootComponentSpanTimer=setTimeout(()=>{var r;(r=e.$root)!=null&&r.$_sentryRootComponentSpan&&(e.$root.$_sentryRootComponentSpan.end(t),e.$root.$_sentryRootComponentSpan=void 0)},n)}function gU(e,t){function n(s){return s.replace(/^<([^\s]*)>(?: at [^\s]*)?$/,"$1")}return e.some(s=>n(t)===n(s))}const mU=(e={})=>{const t=(e.hooks||[]).concat(yE).filter((s,i,o)=>o.indexOf(s)===i),n={},r=e.timeout||2e3;for(const s of t){const i=pU[s];if(!i){_E&&ye.warn(`Unknown hook: ${s}`);continue}for(const o of i)n[o]=function(){var h;const c=this.$root===this;c&&(this.$_sentryRootComponentSpan=this.$_sentryRootComponentSpan||Nr({name:"Application Render",op:`${U_}.render`,attributes:{[rt]:"auto.ui.vue"},onlyIfParent:!0}),md(this,ot(),r));const a=Jo(this,!1);if(!(c||(Array.isArray(e.trackComponents)?gU(e.trackComponents,a):e.trackComponents))){md(this,ot(),r);return}this.$_sentryComponentSpans=this.$_sentryComponentSpans||{};const l=o===i[0],f=((h=this.$root)==null?void 0:h.$_sentryRootComponentSpan)||jt();if(l){if(f){const p=this.$_sentryComponentSpans[s];p&&p.end(),this.$_sentryComponentSpans[s]=Nr({name:`Vue ${a}`,op:`${U_}.${s}`,attributes:{[rt]:"auto.ui.vue"},onlyIfParent:!0})}}else{const p=this.$_sentryComponentSpans[s];if(!p)return;p.end(),md(this,ot(),r)}}}return n},yU=Le,_U={Vue:yU.Vue,attachProps:!0,attachErrorHandler:!0,tracingOptions:{hooks:yE,timeout:2e3,trackComponents:!1}},vU="Vue",bU=(e={})=>({name:vU,setup(t){const n={..._U,...t.getOptions(),...e};if(!n.Vue&&!n.app){oo(()=>{});return}
96n.app?(Array.isArray(n.app)?n.app:[n.app]).forEach(s=>V_(s,n)):n.Vue&&V_(n.Vue,n)}}),V_=(e,t)=>{var n;_E&&((n=e._instance)==null?void 0:n.isMounted)===!0&&oo(()=>{}),t.attachErrorHandler&&hU(e,t),cn(t)&&e.mixin(mU(t.tracingOptions))};function wU(e,t,n){let r=!1;const s="mode"in e;e.onError(i=>Zl(i,{mechanism:{handled:!1}})),e.beforeEach((i,o,...c)=>{const a=r?void 0:SU(),u={};for(const h of Object.keys(i.params))u[`url.path.parameter.${h}`]=i.params[h],u[`params.${h}`]=i.params[h];for(const h of Object.keys(i.query)){const p=i.query[h];p&&(u[`query.${h}`]=p)}let l=i.path,f="url";if(i.name&&t.routeLabel!=="path")l=i.name.toString(),f="custom";else if(i.matched.length>0){const h=i.matched.length-1;l=i.matched[h].path,f="route"}if(Je().setTransactionName(l),t.instrumentPageLoad&&a&&(xe(a).data[an]!=="custom"&&(a.updateName(l),a.setAttribute(an,f)),a.setAttributes({...u,[rt]:"auto.pageload.vue"}),r=!0),t.instrumentNavigation&&!a&&n({name:l,op:"navigation",attributes:{...u,[rt]:"auto.navigation.vue",[an]:f}}),s){const h=c[0];typeof h=="function"&&h()}})}function SU(){const e=jt(),t=e&&Et(e);return t&&xe(t).op==="pageload"?t:void 0}function EU(e={}){if(!e.router)return N_(e);const t=N_({...e,instrumentNavigation:!1}),{router:n,instrumentNavigation:r=!0,instrumentPageLoad:s=!0,routeLabel:i="name"}=e;return{...t,afterAllSetup(o){t.afterAllSetup(o),wU(n,{routeLabel:i,instrumentNavigation:r,instrumentPageLoad:s},a=>{gE(o,a)})}}}function B_(e){const{error:t,instance:n,info:r}=e,s={info:r};if(n!=null&&n.$props){const i=ct(),o=i?i.getOptions():null;o!=null&&o.attachProps&&n.$props!==!1&&(s.propsData=n.$props)}setTimeout(()=>{Zl(t,{captureContext:{contexts:{nuxt:s}},mechanism:{handled:!1,type:`auto.function.nuxt.${n?"vue":"app"}-error`}})})}const TU=Ct({dependsOn:["sentry-client-config"],async setup(e){if(typeof __SENTRY_TRACING__>"u"||__SENTRY_TRACING__){const t=ct();t&&"$router"in e&&t.addIntegration(EU({router:e.$router,routeLabel:"path"}))}e.hook("app:created",t=>{const n=ct();n&&n.addIntegration(bU({...Le._sentryNuxtVueIntegrationOptions,app:t,attachErrorHandler:!1}))}),e.hook("app:error",t=>{Jh(t)&&t!=null&&t.statusCode&&t.statusCode>=300&&t.statusCode<500||B_({error:t})}),e.hook("vue:error",(t,n,r)=>{B_({error:t,instance:n,info:r})})}}),CU=[Dk,Vk,l3,Q3,Z3,e$,t$,n$,r$,s$,i$,o$,a$,Y9,T7,C7,TU],vE=(e="RouteProvider")=>Qn({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(t){const n=t.renderKey,r=t.route,s={};for(const i in t.route)Object.defineProperty(s,i,{get:()=>n===t.renderKey?t.route[i]:r[i],enumerable:!0});return Hn(qs,Dn(s)),()=>t.vnode?Qe(t.vnode,{ref:t.vnodeRef}):t.vnode}}),AU=vE(),q_=new WeakMap,kU=Qn({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:r}){const s=qe(),i=tt(),o=ut(qs,null);let c;r({pageRef:i});const a=ut(qb,null);let u;const l=s.deferHydration();if(s.isHydrating){const h=s.hooks.hookOnce("app:error",l);Tt().beforeEach(h)}e.pageKey&&Zt(()=>e.pageKey,(h,p)=>{h!==p&&s.callHook("page:loading:start")});let f=!1;{const h=Tt().beforeResolve(()=>{f=!1});Zi(()=>{h()})}return()=>Qe(g0,{name:e.name,route:e.route,...t},{default:h=>{const p=$U(o,h.route,h.Component),d=o&&o.matched.length===h.route.matched.length;if(!h.Component){if(u&&!d)return u;l();return}if(u&&a&&!a.isCurrent(h.route))return u;if(p&&o&&(!a||a!=null&&a.isCurrent(o)))return d?u:null;const g=Xd(h,e.pageKey),v=RU(o,h.route,h.Component);!s.isHydrating&&c===g&&!v&&qn(()=>{f=!0,s.callHook("page:loading:end")}),c=g;const _=!!(e.transition??h.route.meta.pageTransition??tm),y=_&&IU([e.transition,h.route.meta.pageTransition,tm,{onAfterLeave(){delete s._runningTransition,s.callHook("page:transition:finish",h.Component)}}]),m=e.keepalive??h.route.meta.keepalive??pA;return u=y0(_&&y,QI(m,Qe(qh,{suspensible:!0,onPending:()=>{_&&(s._runningTransition=!0),s.callHook("page:start",h.Component)}
96,onResolve:()=>{qn(()=>s.callHook("page:finish",h.Component).then(()=>{if(!f&&!v)return f=!0,s.callHook("page:loading:end")}).finally(l))}},{default:()=>{const b={key:g||void 0,vnode:n.default?PU(n.default,h):h.Component,route:h.route,renderKey:g||void 0,trackRootNodes:_,vnodeRef:i};if(!m)return Qe(AU,b);const E=h.Component.type,$=E;let A=q_.get($);return A||(A=vE(E.name||E.__name),q_.set($,A)),Qe(A,b)}}))).default(),u}})}});function IU(e){const t=e.filter(Boolean).map(n=>({...n,onAfterLeave:n.onAfterLeave?rp(n.onAfterLeave):void 0}));return Ba(...t)}function $U(e,t,n){if(!e)return!1;const r=t.matched.findIndex(s=>{var i;return((i=s.components)==null?void 0:i.default)===(n==null?void 0:n.type)});return!r||r===-1?!1:t.matched.slice(0,r).some((s,i)=>{var o,c,a;return((o=s.components)==null?void 0:o.default)!==((a=(c=e.matched[i])==null?void 0:c.components)==null?void 0:a.default)})||n&&Xd({route:t,Component:n})!==Xd({route:e,Component:n})}function RU(e,t,n){return e?t.matched.findIndex(s=>{var i;return((i=s.components)==null?void 0:i.default)===(n==null?void 0:n.type)})<t.matched.length-1:!1}function PU(e,t){const n=e(t);return n.length===1?Qe(n[0]):Qe(ce,void 0,n)}const OU=Qn({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>Qe(Xr[e.name],e.layoutProps,t.slots)}}),xU={name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},bE=Qn({name:"NuxtLayout",inheritAttrs:!1,props:xU,setup(e,t){const n=qe(),r=ut(qs),i=!r||r===Sl()?m0():r,o=we(()=>{let l=re(e.name)??(i==null?void 0:i.meta.layout)??"default";return l&&!(l in Xr)&&e.fallback&&(l=re(e.fallback)),l}),c=Fn();t.expose({layoutRef:c});const a=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",a);Tt().beforeEach(l)}let u;return()=>{const l=o.value&&o.value in Xr,f=(i==null?void 0:i.meta.layoutTransition)??hA,h=u;return u=o.value,y0(l&&f,{default:()=>Qe(qh,{suspensible:!0,onResolve:()=>{qn(a)}},{default:()=>Qe(LU,{layoutProps:eo(t.attrs,{ref:c}),key:o.value||void 0,name:o.value,shouldProvide:!e.name,isRenderingNewLayout:p=>p!==h&&p===o.value,hasTransition:!!f},t.slots)})}).default()}}}),LU=Qn({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean},isRenderingNewLayout:{type:Function,required:!0}},setup(e,t){const n=e.name;e.shouldProvide&&Hn(qb,{isCurrent:i=>n===(i.meta.layout??"default")});const r=ut(qs);if(r&&r===Sl()){const i=m0(),o={};for(const c in i){const a=c;Object.defineProperty(o,a,{enumerable:!0,get:()=>e.isRenderingNewLayout(e.name)?i[a]:r[a]})}Hn(qs,Dn(o))}return()=>{var i,o;return!n||typeof n=="string"&&!(n in Xr)?(o=(i=t.slots).default)==null?void 0:o.call(i):Qe(OU,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}}),MU={class:"footer"},NU={class:"container"},DU={class:"footer__locations"},jU={class:"footer__location"},FU={class:"footer__location-subhead"},HU={key:0,class:"footer__emails"},UU={class:"footer__email"},VU={class:"footer__email-header"},BU=["href"],qU={class:"footer__menu"},WU={class:"footer__menu-list"},zU={class:"footer__menu-item"},KU={class:"footer__socials"},GU=["href"],YU=["href"],JU=["href"],XU={class:"footer__legal"},QU={class:"footer__logo"},ZU=["src"],wE={__name:"footerPartial",props:{settings:{type:Object}},setup(e){const t=e,n=we(()=>{var s,i;if(!((i=(s=t.settings)==null?void 0:s.contactEmails)!=null&&i.length))return[];const r=[];for(let o=0;o<t.settings.contactEmails.length;o+=2)r.push(t.settings.contactEmails.slice(o,o+2));return r});return(r,s)=>{var o,c,a,u,l;const i=Gt;return L(),N(ce,null,[w("footer",MU,[w("div",NU,[w("div",DU,[w("div",jU,[s[0]||(s[0]=w("div",{class:"footer__location-head"},"Get in Touch",-1)),w("div",FU,K((o=e.settings.locations)!=null&&o.length?e.settings.locations.map(f=>f.title).join(" | "):""),1)]),(c=re(n))!=null&&c.length?(L(!0),N(ce,{key:0},Ae(re(n),f=>(L(),N(ce,null,[f!=null&&f.length?(L(),N("div",HU,[(L(!0),N(ce,null,Ae(f,h=>(L(),N("div",UU,[w("div",VU,K(h.title),1),w("a",{class:"footer__email-link",href:`mailto:${h.email}`,target:"_blank"},K(h.email),9,BU)]))),256))])):he("",!0)],64))),256)):he("",!0)]),w("div",qU,[w("ul",WU,[(L(!0),N(ce,null,Ae(e.settings.footerNav,f=>(L(),N("li",zU,[de(i,{class:"footer__menu-link","content-link":f},null,8,["content-link"])]))),256))])]),w("div",KU,[e.settings.youtubeUrl?(L(),N("a",{key:0,class:"footer__social",href:e.settings.youtubeUrl,target:"_blank","aria-label":"Go to our YouTube channel (opens in a new tab)"},[...s[1]||(s[1]=[w("svg",{width:"30",height:"31",viewBox:"0 0 30 31",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[w("path",{d:"M3.12562 21.833C2.2524 17.7121 2.2524 13.4539 3.12562 9.33301C3.24035 8.91452 3.46204 8.5331 3.76888 8.22627C4.07571 7.91943 4.45713 7.69774 4.87562 7.58301C11.5799 6.47233 18.4213 6.47233 25.1256 7.58301C25.5441 7.69774 25.9255 7.91943 26.2324 8.22627C26.5392 8.5331 26.7609 8.91452 26.8756 9.33301C27.7488 13.4539 27.7488 17.7121 26.8756 21.833C26.7609 22.2515 26.5392 22.6329 26.2324 22.9397C25.9255 23.2466 25.5441 23.4683 25.1256 23.583C18.4213 24.6939 11.5
96799 24.6939 4.87562 23.583C4.45713 23.4683 4.07571 23.2466 3.76888 22.9397C3.46204 22.6329 3.24035 22.2515 3.12562 21.833Z",stroke:"white","stroke-width":"1.25","stroke-linecap":"round","stroke-linejoin":"round"}),w("path",{d:"M12.5006 19.333L18.7506 15.583L12.5006 11.833V19.333Z",stroke:"white","stroke-width":"1.25","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],8,GU)):he("",!0),e.settings.facebookUrl?(L(),N("a",{key:1,class:"footer__social",href:e.settings.facebookUrl,target:"_blank","aria-label":"Go to our Facebook page (opens in a new tab)"},[...s[2]||(s[2]=[w("svg",{width:"30",height:"31",viewBox:"0 0 30 31",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[w("path",{d:"M22.5 3.08301H18.75C17.0924 3.08301 15.5027 3.74149 14.3306 4.91359C13.1585 6.08569 12.5 7.6754 12.5 9.33301V13.083H8.75V18.083H12.5V28.083H17.5V18.083H21.25L22.5 13.083H17.5V9.33301C17.5 9.00149 17.6317 8.68354 17.8661 8.44912C18.1005 8.2147 18.4185 8.08301 18.75 8.08301H22.5V3.08301Z",stroke:"white","stroke-width":"1.25","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],8,YU)):he("",!0),e.settings.linkedInUrl?(L(),N("a",{key:2,class:"footer__social",href:e.settings.linkedInUrl,target:"_blank","aria-label":"Go to our LinkedIn page (opens in a new tab)"},[...s[3]||(s[3]=[w("svg",{width:"30",height:"31",viewBox:"0 0 30 31",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[w("path",{d:"M20 10.583C21.9891 10.583 23.8968 11.3732 25.3033 12.7797C26.7098 14.1862 27.5 16.0939 27.5 18.083V26.833H22.5V18.083C22.5 17.42 22.2366 16.7841 21.7678 16.3152C21.2989 15.8464 20.663 15.583 20 15.583C19.337 15.583 18.7011 15.8464 18.2322 16.3152C17.7634 16.7841 17.5 17.42 17.5 18.083V26.833H12.5V18.083C12.5 16.0939 13.2902 14.1862 14.6967 12.7797C16.1032 11.3732 18.0109 10.583 20 10.583Z",stroke:"white","stroke-width":"1.25","stroke-linecap":"round","stroke-linejoin":"round"}),w("path",{d:"M7.5 11.833H2.5V26.833H7.5V11.833Z",stroke:"white","stroke-width":"1.25","stroke-linecap":"round","stroke-linejoin":"round"}),w("path",{d:"M5 8.08301C6.38071 8.08301 7.5 6.96372 7.5 5.58301C7.5 4.2023 6.38071 3.08301 5 3.08301C3.61929 3.08301 2.5 4.2023 2.5 5.58301C2.5 6.96372 3.61929 8.08301 5 8.08301Z",stroke:"white","stroke-width":"1.25","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],8,JU)):he("",!0)]),w("div",XU,[(L(!0),N(ce,null,Ae(e.settings.footerSubNav,f=>(L(),Oe(i,{"content-link":f},null,8,["content-link"]))),256))]),w("div",QU,[w("img",{src:r.$getMediaUrl((a=e.settings)==null?void 0:a.footerLogo),alt:"C5 Alliance Logo"},null,8,ZU)])])]),!t.hideCta&&((u=e.settings)!=null&&u.heroLink)?(L(),Oe(i,{key:0,"content-link":(l=e.settings)==null?void 0:l.heroLink,class:"chat-button"},{default:je(()=>{var f;return[w("span",null,K((f=e.settings)==null?void 0:f.heroLink.title),1)]}),_:1},8,["content-link"])):he("",!0)],64)}}},eV=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},tV={class:"header__menu-item search-toggle"},nV=["tabindex"],rV=["tabindex"],sV=["tabindex"],iV={__name:"SearchToggle",setup(e){const t=tt(!1),n=tt(""),r=tt(null),s=()=>{t.value=!t.value,t.value&&qn(()=>{var a;(a=r.value)==null||a.focus()})},i=()=>{t.value=!1,n.value=""},o=()=>{if(n.value.trim()){const a=n.value.trim();i(),Wb(`/search?q=${encodeURIComponent(a)}`)}},c=a=>{a.key==="Escape"&&i()};return jr(()=>{document.addEventListener("keydown",c)}),yl(()=>{document.removeEventListener("keydown",c)}),(a,u)=>(L(),N("li",tV,[w("form",{class:Ge(["search-toggle__form",{"search-toggle__form--expanded":re(t)}]),onSubmit:bi(o,["prevent"]),action:"/search",method:"GET",role:"search"},[Xn(w("input",{ref_key:"searchInput",ref:r,"onUpdate:modelValue":u[0]||(u[0]=l=>Be(n)?n.value=l:null),class:"search-toggle__input",type:"search",name:"q","aria-label":"Search",placeholder:"Search...",tabindex:re(t)?"0":"-1"},null,8,nV),[[Ks,re(n)]]),w("button",{type:"submit",class:"search-toggle__submit","aria-label":"Submit search",tabindex:re(t)?"0":"-1"},[...u[1]||(u[1]=[w("svg",{width:"20",height:"20",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[w("path",{d:"M21.3982 20.9425L16.5814 16.1256C17.955 14.5459 18.6616 12.4947 18.5523 10.4042C18.4429 8.31371 17.5262 6.34733 15.9954 4.91955C14.4645 3.49178 12.4391 2.71416 10.3461 2.75062C8.25305 2.78707 6.25594 3.63475 4.77573 5.11496C3.29551 6.59518 2.44784 8.59229 2.41138 10.6853C2.37493 12.7783 3.15255 14.8038 4.58032 16.3346C6.00809 17.8655 7.97447 18.7822 10.065 18.8915C12.1554 19.0008 14.2067 18.2942 15.7864 16.9206L20.6032 21.7375C20.7099 21.8368 20.8509 21.8909 20.9966 21.8884C21.1424 21.8858 21.2814 21.8267 21.3845 21.7237C21.4875 21.6206 21.5465 21.4816 21.5491 21.3359C21.5517 21.1901 21.4976 21.0491 21.3982 20.9425ZM3.56324 10.84C3.56324 9.46786 3.97011 8.12657 4.73242 6.9857C5.49472 5.84484 6.57821 4.95564 7.84587 4.43056C9.11353 3.90547 10.5084 3.76809 11.8542 4.03577C13.1999 4.30346 14.4361 4.96419 15.4063 5.93442C16.3765 6.90464 17.0372 8.14079 17.3049 9.48653C17.5726 10.8323 17.4352 12.2272 16.9102 13.4948C16.3851 14.7625 15.4959 15.846 14.355 16.6083C13.2141 17.3706 11.8728 17.7775 10.5007 17.7775C8.66148 17.7752 6.8982 17.0436 5.59765 15.7431C4.2971 14.4425 3.56547 12.6792 3.56324 10.84Z",fill:"black"})],-1)])],8,rV),w("button",{type:"button",class:"search-toggle__close",onClick:i,"aria-label":"Close search",tabindex:re(t)?"0":"-1"},[...u[2]||(u[2]=[w("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[w("path",{d:"M13 1L1 13M1 1L13 13",fill:"none",stroke:"black","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],8,sV)],34),w("a",{class:"header__menu-link search-toggle__button",onClick:bi(s,["prevent"]),href:"/search","aria-label":"Toggle search"},[...u[3]||(u[3]=[w("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[w("path",{d:"M21.3982 20.9425L16.5814 16.1256C17.955 14.5459 18.6616 12.4947 18.5523 10.4042C18.4429 8.31371 17.5262 6.34733 15.9954 4.91955C14.4645 3.49178 12.4391 2.71416 10.3461 2.75062C8.25305 2.78707 6.25594 3.63475 4.77573 5.11496C3.29551 6.59518 2.44784 8.59229 2.41138 10.6853C2.37493 12.7783 3.15255 14.8038 4.58032 16.3346C6.00809 17.8655 7.97447 18.7822 10.065 18.8915C12.1554 19.0008 14.2067 18.2942 15.7864 16.9206L20.6032 21.7375C20.7099 21.8368 20.8509 21.8909 20.9966 21.8884C21.1424 21.8858 21.2814 21.8267 21.3845 21.7237C21.4875 21.6206 21.5465 21.4816 21.5491 21.3359C21.5517 21.1901 21.4976 21.0491 21.3982 20.9425ZM3.56324 10.84C3.56324 9.46786 3.97011 8.12657 4.73242 6.9857C5.49472 5.84484 6.57821 4.95564 7.84587 4.43056C9.11353 3.90547 10.5084 3.76809 11.8542 4.03577C13.1999 4.30346 14.4361 4.96419 15.4063 5.93442C16.3765 6.90464 17.0372 8.14079 17.3049 9.48653C17.5726 10.8323 17.4352 12.2272 16.9102 13.4948C16.3851 14.7625 15.4959 15.846 14.355 16.6083C13.2141 17.3706 11.8728 17.7775 10.5007 17.7775C8.66148 17.7752 6.8982 17.0436 5.59765 15.7431C4.2971 14.4425 3.56547 12.6792 3.56324 10.84Z",fill:"black"})],-1)])])]))}},oV=eV(iV,[["__scopeId","data-v-620b7da2"]]),aV={class:"header"},cV={class:"container"},uV=["src"],lV={class:"header__nav"},fV={class:"header__menu"},dV={class:"header__menu-list"},hV={class:"header__secondary"},pV={class:"header__secondary-list"},gV=["onMouseenter","onMouseleave"],mV={key:0,class:"header__secondary-drop"},yV={class:"mobilenav__container"},_V={class:"container"},vV={class:"mobilenav__menu"},bV={class:"mobilenav__menu-list"},wV=["href"],SV={key:2,class:"mobilenav__menu-link disabled-link"},EV={class:"mobilenav__submenu"},TV={class:"mobilenav__submenu-group"},CV={class:"mobilenav__submenu-title"},AV={class:"mobilenav__submenu-list"},kV={class:"mobilenav__submenu-item"},IV={class:"mobilenav__links"},$V={key:0,class:"secondary"},SE={__name:"headerPartial",props:{settings:{type:Object}},async setup(e){let t,n;const{data:r}=([t,n]=Wn(()=>Gn("*[parentPage != null]")),t=await t,n(),t),s=p=>r==null?void 0:r.value.filter(d=>d.parentPage._ref==(p==null?void 0:p.contentPicker._ref)),i=p=>{var g,v,_,y,m,b,E,$,A,D;if((_=(v=(g=p.navStory)==null?void 0:g.contentLink)==null?void 0:v.contentPicker)!=null&&_.parentPage&&!((m=(y=p.navStory)==null?void 0:y.contentLink)!=null&&m.externalLink))return"#";if((E=(b=p.navStory)==null?void 0:b.contentLink)!=null&&E.externalLink)return p.navStory.contentLink.externalLink;const d=(D=(A=($=p.navStory)==null?void 0:$.contentLink)==null?void 0:A.contentPicker)==null?void 0:D.slug;return d?d.startsWith("/")?d:`/${d}`:"#"},o=p=>{var g,v;const d=i(p);return d&&(d.startsWith("http")||d.startsWith("mailto:")||d.startsWith("tel:")||((v=(g=p.navStory)==null?void 0:g.contentLink)==null?void 0:v.externalLink))};let c=tt(!1);
96const a=tt(new Set),u=Tt(),l=p=>{a.value.has(p)?a.value.delete(p):a.value.add(p)},f=p=>{a.value.delete(p)},h=()=>{a.value.clear()};return Zt(()=>u.currentRoute.value.path,()=>{h(),c.value=!1}),(p,d)=>{var y,m,b,E,$;const g=Ys,v=oV,_=Gt;return L(),N(ce,null,[w("header",aV,[w("div",cV,[de(g,{class:"header__logo",to:"/"},{default:je(()=>{var A;return[w("img",{src:p.$getMediaUrl((A=e.settings)==null?void 0:A.mainLogo),alt:"C5 Alliance Logo"},null,8,uV)]}),_:1}),w("div",lV,[w("nav",fV,[w("ul",dV,[(L(!0),N(ce,null,Ae((m=(y=e.settings)==null?void 0:y.mainNav)==null?void 0:m.items,A=>(L(),Oe(Va(p.$getComponentType(A._type)),eo({ref_for:!0},A),null,16))),256)),de(v)])]),w("nav",hV,[w("ul",pV,[(L(!0),N(ce,null,Ae((b=e.settings)==null?void 0:b.secondaryNav,A=>(L(),N("li",{class:Ge(["header__secondary-item",{"is-dropdown-open":re(a).has(A.title||A.name)}]),onMouseenter:D=>s(A).length&&l(A.title||A.name),onMouseleave:D=>f(A.title||A.name)},[de(_,{class:"header__secondary-link","content-link":A},null,8,["content-link"]),s(A).length?(L(),N("ul",mV,[(L(!0),N(ce,null,Ae(s(A),D=>(L(),N("li",null,[de(_,{"content-id":D._id},null,8,["content-id"])]))),256))])):he("",!0)],42,gV))),256))])])]),w("button",{class:"header__burger js-togglemobilenav",type:"button","aria-label":"Toggle mobile menu",onClick:d[0]||(d[0]=A=>Be(c)?c.value=!re(c):c=!re(c))},[...d[3]||(d[3]=[w("span",null,null,-1),w("span",null,null,-1),w("span",null,null,-1)])])])]),w("div",{class:Ge(["mobilenav js-mobilenav",{"is-active":re(c)}]),tabindex:"0"},[w("div",yV,[w("div",_V,[d[4]||(d[4]=w("form",{class:"mobilenav__search",action:"/search",method:"GET",role:"search"},[w("input",{class:"mobilenav__search-input","aria-label":"Search",type:"search",name:"q",placeholder:"Search"}),w("button",{class:"mobilenav__search-button",type:"submit","aria-label":"Search Sumbit Button"},[w("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},[w("path",{d:"M21.3975 20.6025L16.5806 15.7856C17.9542 14.206 18.6608 12.1547 18.5515 10.0642C18.4422 7.97373 17.5255 6.00735 15.9946 4.57958C14.4638 3.15181 12.4384 2.37419 10.3453 2.41064C8.25232 2.4471 6.25521 3.29477 4.775 4.77499C3.29478 6.2552 2.4471 8.25231 2.41065 10.3453C2.3742 12.4384 3.15182 14.4638 4.57959 15.9946C6.00736 17.5255 7.97374 18.4422 10.0642 18.5515C12.1547 18.6608 14.206 17.9542 15.7856 16.5806L20.6025 21.3975C20.7091 21.4969 20.8502 21.5509 20.9959 21.5484C21.1416 21.5458 21.2807 21.4868 21.3837 21.3837C21.4868 21.2807 21.5458 21.1416 21.5484 20.9959C21.551 20.8502 21.4969 20.7091 21.3975 20.6025ZM3.5625 10.5C3.5625 9.12789 3.96938 7.78659 4.73168 6.64573C5.49399 5.50486 6.57748 4.61567 7.84514 4.09058C9.1128 3.5655 10.5077 3.42811 11.8534 3.6958C13.1992 3.96348 14.4353 4.62422 15.4056 5.59444C16.3758 6.56467 17.0365 7.80081 17.3042 9.14656C17.5719 10.4923 17.4345 11.8872 16.9094 13.1549C16.3843 14.4225 15.4951 15.506 14.3543 16.2683C13.2134 17.0306 11.8721 17.4375 10.5 17.4375C8.66075 17.4353 6.89747 16.7036 5.59692 15.4031C4.29637 14.1025 3.56474 12.3393 3.5625 10.5Z",fill:"black"})])])],-1)),w("div",vV,[w("ul",bV,[(L(!0),N(ce,null,Ae(($=(E=e.settings)==null?void 0:E.mainNav)==null?void 0:$.items,A=>(L(),N("li",{class:Ge(A._type==="dropNav"?"mobilenav__menu-item has-submenu":"mobilenav__menu-item")},[A._type==="directNav"?(L(),Oe(_,{key:0,class:"mobilenav__menu-link","content-link":A.contentLink},null,8,["content-link"])):(L(),N(ce,{key:1},[o(A)?(L(),N("a",{key:0,class:"mobilenav__menu-link",href:i(A),target:"_blank",onClick:d[1]||(d[1]=D=>Be(c)?c.value=!1:c=!1)},K(A.title),9,wV)):i(A)&&i(A)!=="#"?(L(),Oe(g,{key:1,class:"mobilenav__menu-link",to:i(A),onClick:d[2]||(d[2]=D=>Be(c)?c.value=!1:c=!1)},{default:je(()=>[it(K(A.title),1)]),_:2},1032,["to"])):(L(),N("span",SV,K(A.title),1)),w("div",EV,[(L(!0),N(ce,null,Ae(A.columns,D=>(L(),N("div",TV,[w("div",CV,K(D.title),1),w("ul",AV,[(L(!0),N(ce,null,Ae(D.dropNavLinks,H=>(L(),N("li",kV,[de(_,{class:"mobilenav__submenu-link","content-link":H},null,8,["content-link"])]))),256))])]))),256))])],64))],2))),256))])]),w("div",IV,[w("ul",null,[(L(!0),N(ce,null,Ae(e.settings.secondaryNav,A=>(L(),N("li",null,[de(_,{"content-link":A},null,8,["content-link"]),s(A).length?(L(),N("ul",$V,[(L(!0),N(ce,null,Ae(s(A),D=>(L(),N("li",null,[de(_,{"content-id":D._id},null,8,["content-id"])]))),256))])):he("",!0)]))),256))])])])])],2)],64)}}},RV={class:"page"},PV={class:"main"},OV={__name:"app",async setup(e){let t,n;const{data:r}=([t,n]=Wn(()=>Gn(`{ 97 "content": *[defined(slug)]{ 98 _id, 99 _type, 100 slug, 101 title, 102 parentPage->{ 103 slug, 104 parentPage->{ 105 slug, 106 parentPage->{ 107 slug, 108 parentPage 109 } 110 } 111 } 112 }, 113 "settings": *[_id == 'settings'][0]{ 114 ..., 115 mainNav{ 116 items[]{ 117 ..., 118 navStory { 119 ..., 120 contentLink { 121 ..., 122 contentPicker->{ 123 "slug": slug.current, 124 parentPage 125 } 126 } 127 } 128 } 129 } 130 } 131}`)),t=await t,n(),t),s=we(()=>{var a;return((a=r.value)==null?void 0:a.content)||[]}),i=we(()=>{var a;return((a=r.value)==null?void 0:a.settings)||{}}),o=we(()=>{const a=new Map;return s.value&&Array.isArray(s.value)&&s.value.forEach(u=>{u&&u._id&&a.set(u._id,u)}),a});Hn("contentMap",o),Hn("settings",i);const c=a=>a.replace(/[\u200B-\u200F\u2028\u2029\u202A-\u202E\u2060-\u206F\uFEFF]/g,"");return Zb(()=>{var a;return(a=i.value)!=null&&a.headScripts?{script:[{hid:"sanity-custom-script",innerHTML:c(i.value.headScripts),type:"text/javascript"}],__dangerouslyDisableSanitizers:["script"]}:{script:[]}}),(a,u)=>{const l=kU,f=bE,h=wE;return L(),N("div",RV,[de(SE,{settings:re(i)},null,8,["settings"]),w("main",PV,[de(f,null,{default:je(()=>[de(l)]),_:1})]),de(h,{settings:re(i)},null,8,["settings"])])}}},xV={key:0,class:"hero__cover"},LV=["poster"],MV=["src"],NV=["poster"],DV=["src"],jV=["src","alt"],FV={class:"hero__main"},HV={class:"container"},UV={class:"hero__content"},VV={key:0,class:"overline overline--with-dash"},BV={class:"hero__heading"},qV={class:"hero__title"},WV={class:"h4"},zV={key:1,class:"hero__heading-grid"},KV={class:"hero__heading-cell"},GV={class:"hero__title"},YV={class:"hero__heading-cell"},JV={class:"h4"},XV={__name:"heroBlock",props:{isHome:{type:Boolean},heroMedia:{type:Array},heroVideo:{type:Object},heroVideoPoster:{type:Object},area:{type:String},title:{type:String},subtitle:{type:String},usps:{type:Array},hideCta:{type:Boolean}},setup(e){const t=ut("settings"),n=e,r=we(()=>{var i;return(n==null?void 0:n.heroVideo)||((i=n==null?void 0:n.heroMedia)==null?void 0:i.length)}),s=we(()=>{var i;return(i=n==null?void 0:n.usps)!=null&&i.some(o=>o.icon)?"usp":"stat"});return(i,o)=>{var u,l,f,h,p;const c=Gt,a=er;return L(),N("div",{class:Ge(["hero",[n!=null&&n.isHome?"hero--home":"",r.value?"":"hero--clear"]]),"data-aos":"fade"},[r.value?(L(),N("div",xV,[n!=null&&n.heroVideo?(L(),N("video",{key:0,playsinline:"playsinline",loop:"loop",autoplay:"autoplay",muted:"muted",preload:"metadata",poster:i.$getMediaUrl(n==null?void 0:n.heroVideoPoster,2e3,n!=null&&n.isHome?580:700)},[w("source",{type:"video/mp4",preload:"metadata",src:i.$proxyR2Url(n.heroVideo.fileURL)},null,8,MV)],8,LV)):((l=(u=n==null?void 0:n.heroMedia)==null?void 0:u[0])==null?void 0:l._type)=="file"?(L(),N("video",{key:1,playsinline:"playsinline",loop:"loop",autoplay:"autoplay",muted:"muted",preload:"metadata",poster:i.$getMediaUrl(n==null?void 0:n.heroVideoPoster,2e3,n!=null&&n.isHome?580:700)},[w("source",{type:"video/mp4",preload:"metadata",src:i.$getMediaUrl(n==null?void 0:n.heroMedia)},null,8,DV)],8,NV)):(L(),N("img",{key:2,src:i.$getMediaUrl(n==null?void 0:n.heroMedia,2e3,n!=null&&n.isHome?580:700),alt:i.$getAltText(n==null?void 0:n.heroMedia)},null,8,jV))])):he("",!0),!n.hideCta&&((f=re(t))!=null&&f.heroLink)?(L(),Oe(c,{key:1,"content-link":(h=re(t))==null?void 0:h.heroLink,class:"hero__cta"},{default:je(()=>{var d;return[w("span",null,K((d=re(t))==null?void 0:d.heroLink.title),1)]}),_:1},8,["content-link"])):he("",!0),w("div",FV,[w("div",HV,[w("div",UV,[n!=null&&n.area?(L(),N("div",VV,K(n==null?void 0:n.area),1)):he("",!0),w("div",BV,[n!=null&&n.isHome?(L(),N(ce,{key:0},[w("h1",qV,K(n==null?void 0:n.title),1),w("h2",WV,K(n==null?void 0:n.subtitle),
1311)],64)):(L(),N("div",zV,[w("div",KV,[w("h1",GV,K(n==null?void 0:n.title),1)]),w("div",YV,[w("h2",JV,K(n==null?void 0:n.subtitle),1)])]))])]),(p=n==null?void 0:n.usps)!=null&&p.length?(L(),N("div",{key:0,class:Ge("hero__"+s.value+"s")},[(L(!0),N(ce,null,Ae(n==null?void 0:n.usps,d=>(L(),N("div",{class:Ge("hero__"+s.value)},[d.icon?(L(),N("div",{key:0,class:Ge("hero__"+s.value+"-icon")},[de(a,{url:i.$getMediaUrl(d.icon)},null,8,["url"])],2)):he("",!0),d.title?(L(),N("div",{key:1,class:Ge("hero__"+s.value+"-title")},K(d.title),3)):he("",!0),w("div",{class:Ge("hero__"+s.value+"-subtitle")},K(d.subTitle),3),w("div",{class:Ge("hero__"+s.value+"-text")},K(d.description),3)],2))),256))],2)):he("",!0)])])],2)}}},QV={__name:"blocks",props:{blocks:{type:Array}},setup(e){const t=e;return(n,r)=>e.blocks?(L(!0),N(ce,{key:0},Ae(t==null?void 0:t.blocks,s=>(L(),Oe(Va(n.$getComponentType(s._type)),eo({key:s._key},{ref_for:!0},s),null,16))),128)):he("",!0)}},ZV={class:"page"},eB={key:1,class:"header"},tB={class:"main"},nB={key:3,class:"footer"},rB={__name:"error",async setup(e){var l;let t,n;const r=qa(),s=q3(),i=` 132 { 133 "page": *[slug.current == "${(l=r.value)==null?void 0:l.statusCode}"]{...,parentPage->{title,parentPage->{title,parentPage->{title,parentPage}}}}[0], 134 "settings": *[_id == 'settings'][0] 135 } 136`;let o=null;try{o=([t,n]=Wn(()=>Gn(i)),t=await t,n(),t).data}catch{}const c=we(()=>{var f;return(f=o==null?void 0:o.value)==null?void 0:f.page}),a=we(()=>{var f;return(f=o==null?void 0:o.value)==null?void 0:f.settings});Zb(()=>({link:[{rel:"canonical",href:`${s.origin}/${r.value.statusCode}`}]}));function u(f){switch(f){case 404:return"We're sorry, but the page you were looking for could not be found.";case 500:return"We're experiencing technical difficulties. Please try again later.";case 403:return"You don't have permission to access this page.";case 401:return"You need to be authenticated to access this page.";default:return"Something went wrong. Our team has been notified and is working to fix the issue."}}return(f,h)=>{const p=SE,d=XV,g=QV,v=bE,_=wE;return L(),N("div",ZV,[re(a)?(L(),Oe(p,{key:0,settings:re(a)},null,8,["settings"])):(L(),N("header",eB,[...h[0]||(h[0]=[Ig('<div class="container"><a class="header__logo" href="/"><img src="https://cdn.sanity.io/images/x3xdnshu/production/9ec1b8178a9ba57c008cc4bf1d64a6384f2a5141-115x104.svg?fm=webp&auto=format" alt="C5 Alliance Logo"></a><div class="header__nav"><nav class="header__menu"><ul class="header__menu-list"><li class="header__menu-item"><a href="/services" class="header__menu-link">Services</a></li><li class="header__menu-item"><a href="/products" class="header__menu-link">Products</a></li><li class="header__menu-item"><a href="/expertise" class="header__menu-link">Expertise</a></li><li class="header__menu-item"><a class="header__menu-link" href="/search" aria-label="Search"><svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M21.3982 20.9425L16.5814 16.1256C17.955 14.5459 18.6616 12.4947 18.5523 10.4042C18.4429 8.31371 17.5262 6.34733 15.9954 4.91955C14.4645 3.49178 12.4391 2.71416 10.3461 2.75062C8.25305 2.78707 6.25594 3.63475 4.77573 5.11496C3.29551 6.59518 2.44784 8.59229 2.41138 10.6853C2.37493 12.7783 3.15255 14.8038 4.58032 16.3346C6.00809 17.8655 7.97447 18.7822 10.065 18.8915C12.1554 19.0008 14.2067 18.2942 15.7864 16.9206L20.6032 21.7375C20.7099 21.8368 20.8509 21.8909 20.9966 21.8884C21.1424 21.8858 21.2814 21.8267 21.3845 21.7237C21.4875 21.6206 21.5465 21.4816 21.5491 21.3359C21.5517 21.1901 21.4976 21.0491 21.3982 20.9425ZM3.56324 10.84C3.56324 9.46786 3.97011 8.12657 4.73242 6.9857C5.49472 5.84484 6.57821 4.95564 7.84587 4.43056C9.11353 3.90547 10.5084 3.76809 11.8542 4.03577C13.1999 4.30346 14.4361 4.96419 15.4063 5.93442C16.3765 6.90464 17.0372 8.14079 17.3049 9.48653C17.5726 10.8323 17.4352 12.2272 16.9102 13.4948C16.3851 14.7625 15.4959 15.846 14.355 16.6083C13.2141 17.3706 11.8728 17.7775 10.5007 17.7775C8.66148 17.7752 6.8982 17.0436 5.59765 15.7431C4.2971 14.4425 3.56547 12.6792 3.56324 10.84Z" fill="black"></path></svg></a></li></ul></nav><nav class="header__secondary"><ul class="header__secondary-list"><li class="header__secondary-item"><a href="/insights-events" class="header__secondary-link">Insights & Events</a></li><li class="header__secondary-item"><a href="/about-us" class="header__secondary-link">About Us</a></li><li class="header__secondary-item"><a href="/careers" class="header__secondary-link">Careers</a></li></ul></nav></div><button class="header__burger js-togglemobilenav" type="button" aria-label="Toggle mobile menu"><span></span><span></span><span></span></button></div>',1)])])),w("main",tB,[de(v,null,{default:je(()=>{var y,m,b,E,$;return[re(c)?(L(),N(ce,{key:0},[de(d,{"is-home":!1,area:"Home","hero-media":(y=re(c))==null?void 0:y.heroMedia,title:(m=re(c))==null?void 0:m.title,subtitle:(b=re(c))==null?void 0:b.subtitle,usps:(E=re(c))==null?void 0:E.usps},null,8,["hero-media","title","subtitle","usps"]),de(g,{blocks:($=re(c))==null?void 0:$.blocks},null,8,["blocks"])],64)):(L(),N(ce,{key:1},[de(d,{"is-home":!1,area:"Error",title:`Error ${re(r).statusCode}`,subtitle:u(re(r).statusCode)},null,8,["title","subtitle"]),h[1]||(h[1]=w("section",{class:"section"},[w("div",{class:"container",style:{"min-height":"30vh"}})],-1))],64))]}),_:1})]),re(a)?(L(),Oe(_,{key:2,settings:re(a)},null,8,["settings"])):(L(),N("footer",nB,[...h[2]||(h[2]=[Ig('<div class="container"><div class="footer__locations"><div class="footer__location"><h3 class="footer__location-head">Guernsey</h3><a href="mailto:[email protected]" class="footer__location-email">[email protected]</a></div><div class="footer__location"><h3 class="footer__location-head">Jersey</h3><a href="mailto:[email protected]" class="footer__location-email">[email protected]</a></div></div><div class="footer__menu"><nav><ul class="footer__menu-list"><li><a href="/team">Team</a></li><li><a href="/careers">Careers</a></li><li><a href="/contact-us">Contact Us</a></li><li><a href="/services">Services</a></li><li><a href="/products">Products</a></li></ul></nav></div></div>',1)])]))])}}},sB={key:0},W_={__name:"nuxt-root",setup(e){const t=()=>null,n=qe(),r=n.deferHydration();if(n.isHydrating){const u=n.hooks.hookOnce("app:error",r);Tt().beforeEach(u)}const s=!1;Hn(qs,Sl()),n.hooks.callHookWith(u=>u.map(l=>l()),"vue:setup");const i=qa(),o=!1,c=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;Dv((u,l,f)=>{if(n.hooks.callHook("vue:error",u,l,f).catch(h=>{}),c.test(navigator.userAgent))return n.hooks.callHook("app:error",u),!1;if(Jh(u)&&(u.fatal||u.unhandled))return n.runWithContext(()=>Es(u)),!1});const a=!1;return(u,l)=>(L(),Oe(qh,{onResolve:re(r)},{default:je(()=>[re(o)?(L(),N("div",sB)):re(i)?(L(),Oe(re(rB),{key:1,error:re(i)},null,8,["error"])):re(a)?(L(),Oe(re(t),{key:2,context:re(a)},null,8,["context"])):re(s)?(L(),Oe(Va(re(s)),{key:3})):(L(),Oe(re(OV),{key:4}))]),_:1},8,["onResolve"]))}};let z_;{let e;z_=async function(){var o,c;if(e)return e;const r=!!(((o=window.__NUXT__)==null?void 0:o.serverRendered)??((c=document.getElementById("__NUXT_DATA__"))==null?void 0:c.dataset.ssr)==="true")?cC(W_):aC(W_),s=bA({vueApp:r});async function i(a){var u;await s.callHook("app:error",a),(u=s.payload).error||(u.error=ts(a))}r.config.errorHandler=i,s.hook("app:suspense:resolve",()=>{r.config.errorHandler===i&&(r.config.errorHandler=void 0)});try{await EA(s,CU)}catch(a){i(a)}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount(yA),await s.hooks.callHook("app:mounted",r),await qn()}catch(a){i(a)}return r}
136,e=z_().catch(t=>{throw t})}export{us as $,NH as A,DB as B,uB as C,Pe as D,iO as E,ce as F,bB as G,Lu as H,c1 as I,OB as J,LB as K,_B as L,we as M,oo as N,at as O,kB as P,w as Q,Oe as R,zo as S,he as T,O7 as U,N as V,$t as W,Kp as X,ts as Y,RB as Z,Ys as _,ms as a,nr as a$,$B as a0,x7 as a1,it as a2,de as a3,fc as a4,ye as a5,N1 as a6,jB as a7,Wp as a8,CB as a9,eF as aA,hB as aB,pB as aC,sS as aD,dB as aE,H7 as aF,Ze as aG,lo as aH,P_ as aI,F7 as aJ,iS as aK,o_ as aL,H1 as aM,Be as aN,zD as aO,ns as aP,Kl as aQ,wB as aR,Rt as aS,AO as aT,co as aU,Yl as aV,Ds as aW,Ey as aX,Ge as aY,XD as aZ,L as a_,IB as aa,gB as ab,gh as ac,io as ad,rj as ae,ct as af,z7 as ag,Je as ah,Nw as ai,WD as aj,yB as ak,fB as al,Fp as am,zl as an,JS as ao,MB as ap,dc as aq,Vp as ar,K7 as as,FB as at,vB as au,Mr as av,Pt as aw,ut as ax,rr as ay,b1 as az,kr as b,n_ as b0,Xu as b1,Qu as b2,KP as b3,PB as b4,Nb as b5,tt as b6,Nj as b7,Ae as b8,EB as b9,rs as bA,Ks as bB,Hl as bC,Zt as bD,Wn as bE,je as bF,Xn as bG,bi as bH,wF as bI,cB as bJ,WS as ba,uS as bb,mB as bc,Fs as bd,AB as be,Xj as bf,NB as bg,HB as bh,zp as bi,UD as bj,xe as bk,lB as bl,xB as bm,SB as bn,ou as bo,Us as bp,K as bq,Un as br,re as bs,Gl as bt,Zb as bu,qe as bv,Sl as bw,Tt as bx,Gs as by,Gn as bz,LS as c,Le as d,ho as e,mD as f,Po as g,Ie as h,Or as i,Wi as j,XV as k,QV as l,er as m,Al as n,xM as o,P9 as p,Gt as q,fS as r,J7 as s,pF as t,M7 as u,D7 as v,ao as w,xH as x,TB as y,ln as z};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.