const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DlbdiMsR.js","./BUbYzdfN.js","./tRf4nuDL.js","./useContentItems.B-fgku1u.css","./AppFaq._y7Dv7Im.css","./C2tG9AKC.js","./AppLandingSection.B3lTNz37.css","./B4zHwJAZ.js","./TappInput.B_Hl5dYZ.css","./23fabm9e.js","./TawN8uf8.js","./TappAlert.Bj4hkwIr.css","./DzQpl8X5.js","./index.6AE4dihy.css","./CNPyjIw7.js","./D-BqDbg_.js","./C6D7DB6S.js","./BaseUspListDamWrapper.BadoPlsD.css","./BaseGrid.BHrvbjpm.css","./Dv9kAtTR.js","./BaseCover.QFkKP4Y3.css","./CWKtUHxF.js","./AppList.lwjdAf0s.css","./CmcO8KkR.js","./DHbTtGe7.js","./CRmo7KjY.js","./AppBlock.DJjkWZgv.css","./KmRxqZ-U.js","./CuvUFiVZ.js","./TappLabel.Dy8eaFUL.css","./DIn7NAhG.js","./BasePrice.CJ9cZNTX.css","./k962By65.js","./gdgW7mfK.js","./AppPhoneBlock.B42vPsNW.css","./DY0K6KNN.js","./AppArrowLink.gC7rztZa.css","./B1H8Y3ui.js","./abonnee.8xMewzAr.css","./rPwH2Q_W.js","./bedankt.Cg_hdISK.css","./DokyiLct.js","./BaQtSfZV.js","./AppStepper.DnjlvpP6.css","./Be0gm3Rf.js","./AppSubscriptionOverview.DFEgK4zZ.css","./DSDfADAV.js","./korting.VHMU--Zn.css","./C_HryBcj.js","./7xaW094F.js","./CFONhhkT.js","./TappRadio.D2AZFs0k.css","./D42S8EtZ.js","./leesvorm.DbCAmrBC.css","./CChEaAgo.js","./M8o3CINu.js","./BaseHeading.CP0nMWBh.css","./voltooien.CQOBPwTI.css","./BIoZbvOl.js","./B9X9h4qd.js","./TappSelectbox.CdTe6oy0.css","./BUJZQQfp.js","./AppHighlightUsp.CgHe5YpF.css","./BUhHPjX7.js","./TappLink.Z-ercpi1.css","./andere-titel.Dmhl5TNX.css","./hvRCaVgb.js","./DN8i9u7U.js","./C-DfEvtA.js","./TappOrderForm.e6yXdj1X.css","./useModificationGuard.CQWPGEuR.css","./periode.5RpOGByF.css","./DvzLJ_uJ.js","./controle.Ww6O9bjI.css","./pSFN6IiP.js","./XDGUAjrG.js","./_...DxY-0yt6.css","./heVd6uOD.js","./BlokAccessibilityPolicyDocument.BLwiBcqk.css","./C0bf8IdO.js","./RetLoginHeroBlok.Dsjx74dI.css","./CqZuitB0.js","./By3nA3KB.js","./branded.Cj4TUmaf.css","./DlfdgwPX.js","./error-layout.gJApNpy1.css","./DGNaBUUr.js","./InspectorContainer.B9uCvVQq.css"])))=>i.map(i=>d[i]); (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();/** * @vue/shared v3.5.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function Jd(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ht={},Wi=[],vr=()=>{},Av=()=>!1,Ra=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Qd=e=>e.startsWith("onUpdate:"),Zt=Object.assign,Zd=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},S2=Object.prototype.hasOwnProperty,_t=(e,t)=>S2.call(e,t),Oe=Array.isArray,Yi=e=>_s(e)==="[object Map]",vs=e=>_s(e)==="[object Set]",gh=e=>_s(e)==="[object Date]",A2=e=>_s(e)==="[object RegExp]",$e=e=>typeof e=="function",Pt=e=>typeof e=="string",br=e=>typeof e=="symbol",Rt=e=>e!==null&&typeof e=="object",$u=e=>(Rt(e)||$e(e))&&$e(e.then)&&$e(e.catch),Iv=Object.prototype.toString,_s=e=>Iv.call(e),I2=e=>_s(e).slice(8,-1),ep=e=>_s(e)==="[object Object]",tp=e=>Pt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Xi=Jd(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Bu=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},R2=/-\w/g,zn=Bu(e=>e.replace(R2,t=>t.slice(1).toUpperCase())),O2=/\B([A-Z])/g,vo=Bu(e=>e.replace(O2,"-$1").toLowerCase()),Hu=Bu(e=>e.charAt(0).toUpperCase()+e.slice(1)),$l=Bu(e=>e?`on${Hu(e)}`:""),Cn=(e,t)=>!Object.is(e,t),Ji=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},tu=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ov=e=>{const t=Pt(e)?Number(e):NaN;return isNaN(t)?e:t};let mh;const zu=()=>mh||(mh=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Si(e){if(Oe(e)){const t={};for(let n=0;n{if(n){const r=n.split(C2);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function er(e){let t="";if(Pt(e))t=e;else if(Oe(e))for(let n=0;nmi(n,t))}const Cv=e=>!!(e&&e.__v_isRef===!0),cr=e=>Pt(e)?e:e==null?"":Oe(e)||Rt(e)&&(e.toString===Iv||!$e(e.toString))?Cv(e)?cr(e.value):JSON.stringify(e,Nv,2):String(e),Nv=(e,t)=>Cv(t)?Nv(e,t.value):Yi(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],i)=>(n[Ac(r,i)+" =>"]=o,n),{})}:vs(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ac(n))}:br(t)?Ac(t):Rt(t)&&!Oe(t)&&!ep(t)?String(t):t,Ac=(e,t="")=>{var n;return br(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function M2(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:String(e)}/** * @vue/reactivity v3.5.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let yn;class Lv{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=yn,!t&&yn&&(this.index=(yn.scopes||(yn.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0&&--this._on===0&&(yn=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n0)return;if(Ys){let t=Ys;for(Ys=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Ws;){let t=Ws;for(Ws=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 Mv(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Fv(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),ip(r),F2(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function Nf(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Uv(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Uv(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ia)||(e.globalVersion=ia,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Nf(e))))return;e.flags|=2;const t=e.dep,n=Ct,r=_r;Ct=e,_r=!0;try{Mv(e);const o=e.fn(e._value);(t.version===0||Cn(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{Ct=n,_r=r,Fv(e),e.flags&=-3}}function ip(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.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)ip(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function F2(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let _r=!0;const jv=[];function co(){jv.push(_r),_r=!1}function fo(){const e=jv.pop();_r=e===void 0?!0:e}function yh(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ct;Ct=void 0;try{t()}finally{Ct=n}}}let ia=0;class U2{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 Gu{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(!Ct||!_r||Ct===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ct)n=this.activeLink=new U2(Ct,this),Ct.deps?(n.prevDep=Ct.depsTail,Ct.depsTail.nextDep=n,Ct.depsTail=n):Ct.deps=Ct.depsTail=n,Vv(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=Ct.depsTail,n.nextDep=void 0,Ct.depsTail.nextDep=n,Ct.depsTail=n,Ct.deps===n&&(Ct.deps=r)}return n}trigger(t){this.version++,ia++,this.notify(t)}notify(t){rp();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{op()}}}function Vv(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)Vv(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const nu=new WeakMap,ui=Symbol(""),Lf=Symbol(""),sa=Symbol("");function _n(e,t,n){if(_r&&Ct){let r=nu.get(e);r||nu.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new Gu),o.map=r,o.key=n),o.track()}}function to(e,t,n,r,o,i){const s=nu.get(e);if(!s){ia++;return}const a=l=>{l&&l.trigger()};if(rp(),t==="clear")s.forEach(a);else{const l=Oe(e),u=l&&tp(n);if(l&&n==="length"){const c=Number(r);s.forEach((f,d)=>{(d==="length"||d===sa||!br(d)&&d>=c)&&a(f)})}else switch((n!==void 0||s.has(void 0))&&a(s.get(n)),u&&a(s.get(sa)),t){case"add":l?u&&a(s.get("length")):(a(s.get(ui)),Yi(e)&&a(s.get(Lf)));break;case"delete":l||(a(s.get(ui)),Yi(e)&&a(s.get(Lf)));break;case"set":Yi(e)&&a(s.get(ui));break}}op()}function j2(e,t){const n=nu.get(e);return n&&n.get(t)}function Di(e){const t=ut(e);return t===e?t:(_n(t,"iterate",sa),ar(e)?t:t.map(un))}function qu(e){return _n(e=ut(e),"iterate",sa),e}const V2={__proto__:null,[Symbol.iterator](){return Rc(this,Symbol.iterator,un)},concat(...e){return Di(this).concat(...e.map(t=>Oe(t)?Di(t):t))},entries(){return Rc(this,"entries",e=>(e[1]=un(e[1]),e))},every(e,t){return Kr(this,"every",e,t,void 0,arguments)},filter(e,t){return Kr(this,"filter",e,t,n=>n.map(un),arguments)},find(e,t){return Kr(this,"find",e,t,un,arguments)},findIndex(e,t){return Kr(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Kr(this,"findLast",e,t,un,arguments)},findLastIndex(e,t){return Kr(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Kr(this,"forEach",e,t,void 0,arguments)},includes(...e){return Oc(this,"includes",e)},indexOf(...e){return Oc(this,"indexOf",e)},join(e){return Di(this).join(e)},lastIndexOf(...e){return Oc(this,"lastIndexOf",e)},map(e,t){return Kr(this,"map",e,t,void 0,arguments)},pop(){return Ls(this,"pop")},push(...e){return Ls(this,"push",e)},reduce(e,...t){return vh(this,"reduce",e,t)},reduceRight(e,...t){return vh(this,"reduceRight",e,t)},shift(){return Ls(this,"shift")},some(e,t){return Kr(this,"some",e,t,void 0,arguments)},splice(...e){return Ls(this,"splice",e)},toReversed(){return Di(this).toReversed()},toSorted(e){return Di(this).toSorted(e)},toSpliced(...e){return Di(this).toSpliced(...e)},unshift(...e){return Ls(this,"unshift",e)},values(){return Rc(this,"values",un)}};function Rc(e,t,n){const r=qu(e),o=r[t]();return r!==e&&!ar(e)&&(o._next=o.next,o.next=()=>{const i=o._next();return i.value&&(i.value=n(i.value)),i}),o}const $2=Array.prototype;function Kr(e,t,n,r,o,i){const s=qu(e),a=s!==e&&!ar(e),l=s[t];if(l!==$2[t]){const f=l.apply(e,i);return a?un(f):f}let u=n;s!==e&&(a?u=function(f,d){return n.call(this,un(f),d,e)}:n.length>2&&(u=function(f,d){return n.call(this,f,d,e)}));const c=l.call(s,u,r);return a&&o?o(c):c}function vh(e,t,n,r){const o=qu(e);let i=n;return o!==e&&(ar(e)?n.length>3&&(i=function(s,a,l){return n.call(this,s,a,l,e)}):i=function(s,a,l){return n.call(this,s,un(a),l,e)}),o[t](i,...r)}function Oc(e,t,n){const r=ut(e);_n(r,"iterate",sa);const o=r[t](...n);return(o===-1||o===!1)&&sp(n[0])?(n[0]=ut(n[0]),r[t](...n)):o}function Ls(e,t,n=[]){co(),rp();const r=ut(e)[t].apply(e,n);return op(),fo(),r}const B2=Jd("__proto__,__v_isRef,__isVue"),$v=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(br));function H2(e){br(e)||(e=String(e));const t=ut(this);return _n(t,"has",e),t.hasOwnProperty(e)}class Bv{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(o?i?Wv:Kv:i?qv:Gv).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const s=Oe(t);if(!o){let l;if(s&&(l=V2[n]))return l;if(n==="hasOwnProperty")return H2}const a=Reflect.get(t,n,At(t)?t:r);return(br(n)?$v.has(n):B2(n))||(o||_n(t,"get",n),i)?a:At(a)?s&&tp(n)?a:a.value:Rt(a)?o?Wu(a):dn(a):a}}class Hv extends Bv{constructor(t=!1){super(!1,t)}set(t,n,r,o){let i=t[n];if(!this._isShallow){const l=po(i);if(!ar(r)&&!po(r)&&(i=ut(i),r=ut(r)),!Oe(t)&&At(i)&&!At(r))return l||(i.value=r),!0}const s=Oe(t)&&tp(n)?Number(n)e,il=e=>Reflect.getPrototypeOf(e);function W2(e,t,n){return function(...r){const o=this.__v_raw,i=ut(o),s=Yi(i),a=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,u=o[e](...r),c=n?Df:t?ru:un;return!t&&_n(i,"iterate",l?Lf:ui),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:a?[c(f[0]),c(f[1])]:c(f),done:d}},[Symbol.iterator](){return this}}}}function sl(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Y2(e,t){const n={get(o){const i=this.__v_raw,s=ut(i),a=ut(o);e||(Cn(o,a)&&_n(s,"get",o),_n(s,"get",a));const{has:l}=il(s),u=t?Df:e?ru:un;if(l.call(s,o))return u(i.get(o));if(l.call(s,a))return u(i.get(a));i!==s&&i.get(o)},get size(){const o=this.__v_raw;return!e&&_n(ut(o),"iterate",ui),o.size},has(o){const i=this.__v_raw,s=ut(i),a=ut(o);return e||(Cn(o,a)&&_n(s,"has",o),_n(s,"has",a)),o===a?i.has(o):i.has(o)||i.has(a)},forEach(o,i){const s=this,a=s.__v_raw,l=ut(a),u=t?Df:e?ru:un;return!e&&_n(l,"iterate",ui),a.forEach((c,f)=>o.call(i,u(c),u(f),s))}};return Zt(n,e?{add:sl("add"),set:sl("set"),delete:sl("delete"),clear:sl("clear")}:{add(o){!t&&!ar(o)&&!po(o)&&(o=ut(o));const i=ut(this);return il(i).has.call(i,o)||(i.add(o),to(i,"add",o,o)),this},set(o,i){!t&&!ar(i)&&!po(i)&&(i=ut(i));const s=ut(this),{has:a,get:l}=il(s);let u=a.call(s,o);u||(o=ut(o),u=a.call(s,o));const c=l.call(s,o);return s.set(o,i),u?Cn(i,c)&&to(s,"set",o,i):to(s,"add",o,i),this},delete(o){const i=ut(this),{has:s,get:a}=il(i);let l=s.call(i,o);l||(o=ut(o),l=s.call(i,o)),a&&a.call(i,o);const u=i.delete(o);return l&&to(i,"delete",o,void 0),u},clear(){const o=ut(this),i=o.size!==0,s=o.clear();return i&&to(o,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=W2(o,e,t)}),n}function Ku(e,t){const n=Y2(e,t);return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(_t(n,o)&&o in r?n:r,o,i)}const X2={get:Ku(!1,!1)},J2={get:Ku(!1,!0)},Q2={get:Ku(!0,!1)},Z2={get:Ku(!0,!0)},Gv=new WeakMap,qv=new WeakMap,Kv=new WeakMap,Wv=new WeakMap;function eT(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function tT(e){return e.__v_skip||!Object.isExtensible(e)?0:eT(I2(e))}function dn(e){return po(e)?e:Yu(e,!1,z2,X2,Gv)}function Fr(e){return Yu(e,!1,q2,J2,qv)}function Wu(e){return Yu(e,!0,G2,Q2,Kv)}function U6(e){return Yu(e,!0,K2,Z2,Wv)}function Yu(e,t,n,r,o){if(!Rt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=tT(e);if(i===0)return e;const s=o.get(e);if(s)return s;const a=new Proxy(e,i===2?r:n);return o.set(e,a),a}function ci(e){return po(e)?ci(e.__v_raw):!!(e&&e.__v_isReactive)}function po(e){return!!(e&&e.__v_isReadonly)}function ar(e){return!!(e&&e.__v_isShallow)}function sp(e){return e?!!e.__v_raw:!1}function ut(e){const t=e&&e.__v_raw;return t?ut(t):e}function nT(e){return!_t(e,"__v_skip")&&Object.isExtensible(e)&&Rv(e,"__v_skip",!0),e}const un=e=>Rt(e)?dn(e):e,ru=e=>Rt(e)?Wu(e):e;function At(e){return e?e.__v_isRef===!0:!1}function Fe(e){return Yv(e,!1)}function Gn(e){return Yv(e,!0)}function Yv(e,t){return At(e)?e:new rT(e,t)}class rT{constructor(t,n){this.dep=new Gu,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ut(t),this._value=n?t:un(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||ar(t)||po(t);t=r?t:ut(t),Cn(t,n)&&(this._rawValue=t,this._value=r?t:un(t),this.dep.trigger())}}function Y(e){return At(e)?e.value:e}function ft(e){return $e(e)?e():Y(e)}const oT={get:(e,t,n)=>t==="__v_raw"?e:Y(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return At(o)&&!At(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Xv(e){return ci(e)?e:new Proxy(e,oT)}class iT{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Gu,{get:r,set:o}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=o}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Xu(e){return new iT(e)}function ou(e){const t=Oe(e)?new Array(e.length):{};for(const n in e)t[n]=Jv(e,n);return t}class sT{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return j2(ut(this._object),this._key)}}class aT{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 xa(e,t,n){return At(e)?e:$e(e)?new aT(e):Rt(e)&&arguments.length>1?Jv(e,t,n):Fe(e)}function Jv(e,t,n){const r=e[t];return At(r)?r:new sT(e,t,n)}class lT{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Gu(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ia-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Ct!==this)return Pv(this,!0),!0}get value(){const t=this.dep.track();return Uv(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function uT(e,t,n=!1){let r,o;return $e(e)?r=e:(r=e.get,o=e.set),new lT(r,o,n)}const al={},iu=new WeakMap;let ri;function cT(e,t=!1,n=ri){if(n){let r=iu.get(n);r||iu.set(n,r=[]),r.push(e)}}function fT(e,t,n=ht){const{immediate:r,deep:o,once:i,scheduler:s,augmentJob:a,call:l}=n,u=E=>o?E:ar(E)||o===!1||o===0?no(E,1):no(E);let c,f,d,p,h=!1,g=!1;if(At(e)?(f=()=>e.value,h=ar(e)):ci(e)?(f=()=>u(e),h=!0):Oe(e)?(g=!0,h=e.some(E=>ci(E)||ar(E)),f=()=>e.map(E=>{if(At(E))return E.value;if(ci(E))return u(E);if($e(E))return l?l(E,2):E()})):$e(e)?t?f=l?()=>l(e,2):e:f=()=>{if(d){co();try{d()}finally{fo()}}const E=ri;ri=c;try{return l?l(e,3,[p]):e(p)}finally{ri=E}}:f=vr,t&&o){const E=f,T=o===!0?1/0:o;f=()=>no(E(),T)}const m=Vo(),y=()=>{c.stop(),m&&m.active&&Zd(m.effects,c)};if(i&&t){const E=t;t=(...T)=>{E(...T),y()}}let b=g?new Array(e.length).fill(al):al;const v=E=>{if(!(!(c.flags&1)||!c.dirty&&!E))if(t){const T=c.run();if(o||h||(g?T.some((x,I)=>Cn(x,b[I])):Cn(T,b))){d&&d();const x=ri;ri=c;try{const I=[T,b===al?void 0:g&&b[0]===al?[]:b,p];b=T,l?l(t,3,I):t(...I)}finally{ri=x}}}else c.run()};return a&&a(v),c=new Dv(f),c.scheduler=s?()=>s(v,!1):v,p=E=>cT(E,!1,c),d=c.onStop=()=>{const E=iu.get(c);if(E){if(l)l(E,4);else for(const T of E)T();iu.delete(c)}},t?r?v(!0):b=c.run():s?s(v.bind(null,!0),!0):c.run(),y.pause=c.pause.bind(c),y.resume=c.resume.bind(c),y.stop=y,y}function no(e,t=1/0,n){if(t<=0||!Rt(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,At(e))no(e.value,t,n);else if(Oe(e))for(let r=0;r{no(r,t,n)});else if(ep(e)){for(const r in e)no(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&no(e[r],t,n)}return e}/** * @vue/runtime-core v3.5.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function Ca(e,t,n,r){try{return r?e(...r):e()}catch(o){bs(o,t,n)}}function Er(e,t,n,r){if($e(e)){const o=Ca(e,t,n,r);return o&&$u(o)&&o.catch(i=>{bs(i,t,n)}),o}if(Oe(e)){const o=[];for(let i=0;i>>1,o=Nn[r],i=aa(o);i=aa(n)?Nn.push(e):Nn.splice(pT(t),0,e),e.flags|=1,Zv()}}function Zv(){su||(su=Qv.then(e_))}function au(e){Oe(e)?Qi.push(...e):Ro&&e.id===-1?Ro.splice(ji+1,0,e):e.flags&1||(Qi.push(e),e.flags|=1),Zv()}function _h(e,t,n=Lr+1){for(;naa(n)-aa(r));if(Qi.length=0,Ro){Ro.push(...t);return}for(Ro=t,ji=0;jie.id==null?e.flags&2?-1:1/0:e.id;function e_(e){try{for(Lr=0;Lr{r._d&&hu(-1);const i=uu(t);let s;try{s=e(...o)}finally{uu(i),r._d&&hu(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function j6(e,t){if(fn===null)return e;const n=ec(fn),r=e.dirs||(e.dirs=[]);for(let o=0;oe.__isTeleport,Xs=e=>e&&(e.disabled||e.disabled===""),bh=e=>e&&(e.defer||e.defer===""),Eh=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Th=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,kf=(e,t)=>{const n=e&&e.to;return Pt(n)?t?t(n):null:n},o_={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,i,s,a,l,u){const{mc:c,pc:f,pbc:d,o:{insert:p,querySelector:h,createText:g,createComment:m}}=u,y=Xs(t.props);let{shapeFlag:b,children:v,dynamicChildren:E}=t;if(e==null){const T=t.el=g(""),x=t.anchor=g("");p(T,n,r),p(x,n,r);const I=(M,V)=>{b&16&&(o&&o.isCE&&(o.ce._teleportTarget=M),c(v,M,V,o,i,s,a,l))},P=()=>{const M=t.target=kf(t.props,h),V=i_(M,t,g,p);M&&(s!=="svg"&&Eh(M)?s="svg":s!=="mathml"&&Th(M)&&(s="mathml"),y||(I(M,V),Bl(t,!1)))};y&&(I(n,x),Bl(t,!0)),bh(t.props)?(t.el.__isMounted=!1,Qt(()=>{P(),delete t.el.__isMounted},i)):P()}else{if(bh(t.props)&&e.el.__isMounted===!1){Qt(()=>{o_.process(e,t,n,r,o,i,s,a,l,u)},i);return}t.el=e.el,t.targetStart=e.targetStart;const T=t.anchor=e.anchor,x=t.target=e.target,I=t.targetAnchor=e.targetAnchor,P=Xs(e.props),M=P?n:x,V=P?T:I;if(s==="svg"||Eh(x)?s="svg":(s==="mathml"||Th(x))&&(s="mathml"),E?(d(e.dynamicChildren,E,M,o,i,s,a),hp(e,t,!0)):l||f(e,t,M,V,o,i,s,a,!1),y)P?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):ll(t,n,T,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const H=t.target=kf(t.props,h);H&&ll(t,H,null,u,0)}else P&&ll(t,x,I,u,1);Bl(t,y)}},remove(e,t,n,{um:r,o:{remove:o}},i){const{shapeFlag:s,children:a,anchor:l,targetStart:u,targetAnchor:c,target:f,props:d}=e;if(f&&(o(u),o(c)),i&&o(l),s&16){const p=i||!Xs(d);for(let h=0;h{e.isMounted=!0}),Ai(()=>{e.isUnmounting=!0}),e}const or=[Function,Array],s_={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:or,onEnter:or,onAfterEnter:or,onEnterCancelled:or,onBeforeLeave:or,onLeave:or,onAfterLeave:or,onLeaveCancelled:or,onBeforeAppear:or,onAppear:or,onAfterAppear:or,onAppearCancelled:or},a_=e=>{const t=e.subTree;return t.component?a_(t.component):t},yT={name:"BaseTransition",props:s_,setup(e,{slots:t}){const n=Ot(),r=mT();return()=>{const o=t.default&&c_(t.default(),!0);if(!o||!o.length)return;const i=l_(o),s=ut(e),{mode:a}=s;if(r.isLeaving)return xc(i);const l=wh(i);if(!l)return xc(i);let u=Pf(l,s,r,n,f=>u=f);l.type!==Ht&&is(l,u);let c=n.subTree&&wh(n.subTree);if(c&&c.type!==Ht&&!yr(c,l)&&a_(n).type!==Ht){let f=Pf(c,s,r,n);if(is(c,f),a==="out-in"&&l.type!==Ht)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,c=void 0},xc(i);a==="in-out"&&l.type!==Ht?f.delayLeave=(d,p,h)=>{const g=u_(r,c);g[String(c.key)]=c,d[eo]=()=>{p(),d[eo]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{h(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return i}}};function l_(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ht){t=n;break}}return t}const vT=yT;function u_(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 Pf(e,t,n,r,o){const{appear:i,mode:s,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:d,onLeave:p,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:m,onAppear:y,onAfterAppear:b,onAppearCancelled:v}=t,E=String(e.key),T=u_(n,e),x=(M,V)=>{M&&Er(M,r,9,V)},I=(M,V)=>{const H=V[1];x(M,V),Oe(M)?M.every(B=>B.length<=1)&&H():M.length<=1&&H()},P={mode:s,persisted:a,beforeEnter(M){let V=l;if(!n.isMounted)if(i)V=m||l;else return;M[eo]&&M[eo](!0);const H=T[E];H&&yr(e,H)&&H.el[eo]&&H.el[eo](),x(V,[M])},enter(M){let V=u,H=c,B=f;if(!n.isMounted)if(i)V=y||u,H=b||c,B=v||f;else return;let ce=!1;const Te=M[ul]=ke=>{ce||(ce=!0,ke?x(B,[M]):x(H,[M]),P.delayedLeave&&P.delayedLeave(),M[ul]=void 0)};V?I(V,[M,Te]):Te()},leave(M,V){const H=String(e.key);if(M[ul]&&M[ul](!0),n.isUnmounting)return V();x(d,[M]);let B=!1;const ce=M[eo]=Te=>{B||(B=!0,V(),Te?x(g,[M]):x(h,[M]),M[eo]=void 0,T[H]===e&&delete T[H])};T[H]=e,p?I(p,[M,ce]):ce()},clone(M){const V=Pf(M,t,n,r,o);return o&&o(V),V}};return P}function xc(e){if(Na(e))return e=Qn(e),e.children=null,e}function wh(e){if(!Na(e))return r_(e.type)&&e.children?l_(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&&$e(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 c_(e,t=!1,n){let r=[],o=0;for(let i=0;i1)for(let i=0;iZi(h,t&&(Oe(t)?t[g]:t),n,r,o));return}if(ko(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Zi(e,t,n,r.component.subTree);return}const i=r.shapeFlag&4?ec(r.component):r.el,s=o?null:i,{i:a,r:l}=e,u=t&&t.r,c=a.refs===ht?a.refs={}:a.refs,f=a.setupState,d=ut(f),p=f===ht?Av:h=>_t(d,h);if(u!=null&&u!==l){if(Sh(t),Pt(u))c[u]=null,p(u)&&(f[u]=null);else if(At(u)){u.value=null;const h=t;h.k&&(c[h.k]=null)}}if($e(l))Ca(l,a,12,[s,c]);else{const h=Pt(l),g=At(l);if(h||g){const m=()=>{if(e.f){const y=h?p(l)?f[l]:c[l]:l.value;if(o)Oe(y)&&Zd(y,i);else if(Oe(y))y.includes(i)||y.push(i);else if(h)c[l]=[i],p(l)&&(f[l]=c[l]);else{const b=[i];l.value=b,e.k&&(c[e.k]=b)}}else h?(c[l]=s,p(l)&&(f[l]=s)):g&&(l.value=s,e.k&&(c[e.k]=s))};if(s){const y=()=>{m(),cu.delete(e)};y.id=-1,cu.set(e,y),Qt(y,n)}else Sh(e),m()}}}function Sh(e){const t=cu.get(e);t&&(t.flags|=8,cu.delete(e))}let Ah=!1;const ki=()=>{Ah||(console.error("Hydration completed but contains mismatches."),Ah=!0)},bT=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",ET=e=>e.namespaceURI.includes("MathML"),cl=e=>{if(e.nodeType===1){if(bT(e))return"svg";if(ET(e))return"mathml"}},zi=e=>e.nodeType===8;function TT(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:i,parentNode:s,remove:a,insert:l,createComment:u}}=e,c=(v,E)=>{if(!E.hasChildNodes()){n(null,v,E),lu(),E._vnode=v;return}f(E.firstChild,v,null,null,null),lu(),E._vnode=v},f=(v,E,T,x,I,P=!1)=>{P=P||!!E.dynamicChildren;const M=zi(v)&&v.data==="[",V=()=>g(v,E,T,x,I,M),{type:H,ref:B,shapeFlag:ce,patchFlag:Te}=E;let ke=v.nodeType;E.el=v,Te===-2&&(P=!1,E.dynamicChildren=null);let he=null;switch(H){case lo:ke!==3?E.children===""?(l(E.el=o(""),s(v),v),he=v):he=V():(v.data!==E.children&&(ki(),v.data=E.children),he=i(v));break;case Ht:b(v)?(he=i(v),y(E.el=v.content.firstChild,v,T)):ke!==8||M?he=V():he=i(v);break;case ts:if(M&&(v=i(v),ke=v.nodeType),ke===1||ke===3){he=v;const me=!E.children.length;for(let se=0;se{P=P||!!E.dynamicChildren;const{type:M,props:V,patchFlag:H,shapeFlag:B,dirs:ce,transition:Te}=E,ke=M==="input"||M==="option";if(ke||H!==-1){ce&&Dr(E,null,T,"created");let he=!1;if(b(v)){he=P_(null,Te)&&T&&T.vnode.props&&T.vnode.props.appear;const se=v.content.firstChild;if(he){const Ee=se.getAttribute("class");Ee&&(se.$cls=Ee),Te.beforeEnter(se)}y(se,v,T),E.el=v=se}if(B&16&&!(V&&(V.innerHTML||V.textContent))){let se=p(v.firstChild,E,v,T,x,I,P);for(;se;){fl(v,1)||ki();const Ee=se;se=se.nextSibling,a(Ee)}}else if(B&8){let se=E.children;se[0]===` `&&(v.tagName==="PRE"||v.tagName==="TEXTAREA")&&(se=se.slice(1)),v.textContent!==se&&(fl(v,0)||ki(),v.textContent=E.children)}if(V){if(ke||!P||H&48){const se=v.tagName.includes("-");for(const Ee in V)(ke&&(Ee.endsWith("value")||Ee==="indeterminate")||Ra(Ee)&&!Xi(Ee)||Ee[0]==="."||se)&&r(v,Ee,null,V[Ee],void 0,T)}else if(V.onClick)r(v,"onClick",null,V.onClick,void 0,T);else if(H&4&&ci(V.style))for(const se in V.style)V.style[se]}let me;(me=V&&V.onVnodeBeforeMount)&&Vn(me,T,E),ce&&Dr(E,null,T,"beforeMount"),((me=V&&V.onVnodeMounted)||ce||he)&&$_(()=>{me&&Vn(me,T,E),he&&Te.enter(v),ce&&Dr(E,null,T,"mounted")},x)}return v.nextSibling},p=(v,E,T,x,I,P,M)=>{M=M||!!E.dynamicChildren;const V=E.children,H=V.length;for(let B=0;B{const{slotScopeIds:M}=E;M&&(I=I?I.concat(M):M);const V=s(v),H=p(i(v),E,V,T,x,I,P);return H&&zi(H)&&H.data==="]"?i(E.anchor=H):(ki(),l(E.anchor=u("]"),V,H),H)},g=(v,E,T,x,I,P)=>{if(fl(v.parentElement,1)||ki(),E.el=null,P){const H=m(v);for(;;){const B=i(v);if(B&&B!==H)a(B);else break}}const M=i(v),V=s(v);return a(v),n(null,E,V,M,T,x,cl(V),I),T&&(T.vnode.el=E.el,Zu(T,E.el)),M},m=(v,E="[",T="]")=>{let x=0;for(;v;)if(v=i(v),v&&zi(v)&&(v.data===E&&x++,v.data===T)){if(x===0)return i(v);x--}return v},y=(v,E,T)=>{const x=E.parentNode;x&&x.replaceChild(v,E);let I=T;for(;I;)I.vnode.el===E&&(I.vnode.el=I.subTree.el=v),I=I.parent},b=v=>v.nodeType===1&&v.tagName==="TEMPLATE";return[c,f]}const Ih="data-allow-mismatch",wT={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function fl(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Ih);)e=e.parentElement;const n=e&&e.getAttribute(Ih);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:r.includes(wT[t])}}zu().requestIdleCallback;zu().cancelIdleCallback;function ST(e,t){if(zi(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(zi(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const ko=e=>!!e.type.__asyncLoader;function ho(e){$e(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,hydrate:i,timeout:s,suspensible:a=!0,onError:l}=e;let u=null,c,f=0;const d=()=>(f++,u=null,p()),p=()=>{let h;return u||(h=u=t().catch(g=>{if(g=g instanceof Error?g:new Error(String(g)),l)return new Promise((m,y)=>{l(g,()=>m(d()),()=>y(g),f+1)});throw g}).then(g=>h!==u&&u?u:(g&&(g.__esModule||g[Symbol.toStringTag]==="Module")&&(g=g.default),c=g,g)))};return De({name:"AsyncComponentWrapper",__asyncLoader:p,__asyncHydrate(h,g,m){let y=!1;(g.bu||(g.bu=[])).push(()=>y=!0);const b=()=>{y||m()},v=i?()=>{const E=i(b,T=>ST(h,T));E&&(g.bum||(g.bum=[])).push(E)}:b;c?v():p().then(()=>!g.isUnmounted&&v())},get __asyncResolved(){return c},setup(){const h=cn;if(lp(h),c)return()=>Cc(c,h);const g=v=>{u=null,bs(v,h,13,!r)};if(a&&h.suspense||ss)return p().then(v=>()=>Cc(v,h)).catch(v=>(g(v),()=>r?Me(r,{error:v}):null));const m=Fe(!1),y=Fe(),b=Fe(!!o);return o&&setTimeout(()=>{b.value=!1},o),s!=null&&setTimeout(()=>{if(!m.value&&!y.value){const v=new Error(`Async component timed out after ${s}ms.`);g(v),y.value=v}},s),p().then(()=>{m.value=!0,h.parent&&Na(h.parent.vnode)&&h.parent.update()}).catch(v=>{g(v),y.value=v}),()=>{if(m.value&&c)return Cc(c,h);if(y.value&&r)return Me(r,{error:y.value});if(n&&!b.value)return Me(n)}}})}function Cc(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,s=Me(e,r,o);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const Na=e=>e.type.__isKeepAlive,AT={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Ot(),r=n.ctx;if(!r.renderer)return()=>{const b=t.default&&t.default();return b&&b.length===1?b[0]:b};const o=new Map,i=new Set;let s=null;const a=n.suspense,{renderer:{p:l,m:u,um:c,o:{createElement:f}}}=r,d=f("div");r.activate=(b,v,E,T,x)=>{const I=b.component;u(b,v,E,0,a),l(I.vnode,b,v,E,I,a,T,b.slotScopeIds,x),Qt(()=>{I.isDeactivated=!1,I.a&&Ji(I.a);const P=b.props&&b.props.onVnodeMounted;P&&Vn(P,I.parent,b)},a)},r.deactivate=b=>{const v=b.component;du(v.m),du(v.a),u(b,d,null,1,a),Qt(()=>{v.da&&Ji(v.da);const E=b.props&&b.props.onVnodeUnmounted;E&&Vn(E,v.parent,b),v.isDeactivated=!0},a)};function p(b){Nc(b),c(b,n,a,!0)}function h(b){o.forEach((v,E)=>{const T=Gf(v.type);T&&!b(T)&&g(E)})}function g(b){const v=o.get(b);v&&(!s||!yr(v,s))?p(v):s&&Nc(s),o.delete(b),i.delete(b)}It(()=>[e.include,e.exclude],([b,v])=>{b&&h(E=>Hs(b,E)),v&&h(E=>!Hs(v,E))},{flush:"post",deep:!0});let m=null;const y=()=>{m!=null&&(pu(n.subTree.type)?Qt(()=>{o.set(m,dl(n.subTree))},n.subTree.suspense):o.set(m,dl(n.subTree)))};return pn(y),m_(y),Ai(()=>{o.forEach(b=>{const{subTree:v,suspense:E}=n,T=dl(v);if(b.type===T.type&&b.key===T.key){Nc(T);const x=T.component.da;x&&Qt(x,E);return}p(b)})}),()=>{if(m=null,!t.default)return s=null;const b=t.default(),v=b[0];if(b.length>1)return s=null,b;if(!vi(v)||!(v.shapeFlag&4)&&!(v.shapeFlag&128))return s=null,v;let E=dl(v);if(E.type===Ht)return s=null,E;const T=E.type,x=Gf(ko(E)?E.type.__asyncResolved||{}:T),{include:I,exclude:P,max:M}=e;if(I&&(!x||!Hs(I,x))||P&&x&&Hs(P,x))return E.shapeFlag&=-257,s=E,v;const V=E.key==null?T:E.key,H=o.get(V);return E.el&&(E=Qn(E),v.shapeFlag&128&&(v.ssContent=E)),m=V,H?(E.el=H.el,E.component=H.component,E.transition&&is(E,E.transition),E.shapeFlag|=512,i.delete(V),i.add(V)):(i.add(V),M&&i.size>parseInt(M,10)&&g(i.values().next().value)),E.shapeFlag|=256,s=E,pu(v.type)?v:E}}},IT=AT;function Hs(e,t){return Oe(e)?e.some(n=>Hs(n,t)):Pt(e)?e.split(",").includes(t):A2(e)?(e.lastIndex=0,e.test(t)):!1}function f_(e,t){p_(e,"a",t)}function d_(e,t){p_(e,"da",t)}function p_(e,t,n=cn){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Ju(t,r,n),n){let o=n.parent;for(;o&&o.parent;)Na(o.parent.vnode)&&RT(r,t,n,o),o=o.parent}}function RT(e,t,n,r){const o=Ju(t,e,r,!0);$o(()=>{Zd(r[t],o)},n)}function Nc(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function dl(e){return e.shapeFlag&128?e.ssContent:e}function Ju(e,t,n=cn,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...s)=>{co();const a=_i(n),l=Er(t,n,e,s);return a(),fo(),l});return r?o.unshift(i):o.push(i),i}}const _o=e=>(t,n=cn)=>{(!ss||e==="sp")&&Ju(e,(...r)=>t(...r),n)},h_=_o("bm"),pn=_o("m"),g_=_o("bu"),m_=_o("u"),Ai=_o("bum"),$o=_o("um"),OT=_o("sp"),xT=_o("rtg"),CT=_o("rtc");function y_(e,t=cn){Ju("ec",e,t)}const up="components",NT="directives";function Mf(e,t){return cp(up,e,!0,t)||e}const v_=Symbol.for("v-ndc");function fi(e){return Pt(e)?cp(up,e,!1)||e:e||v_}function V6(e){return cp(NT,e)}function cp(e,t,n=!0,r=!1){const o=fn||cn;if(o){const i=o.type;if(e===up){const a=Gf(i,!1);if(a&&(a===t||a===zn(t)||a===Hu(zn(t))))return i}const s=Rh(o[e]||i[e],t)||Rh(o.appContext[e],t);return!s&&r?i:s}}function Rh(e,t){return e&&(e[t]||e[zn(t)]||e[Hu(zn(t))])}function __(e,t,n,r){let o;const i=n,s=Oe(e);if(s||Pt(e)){const a=s&&ci(e);let l=!1,u=!1;a&&(l=!ar(e),u=po(e),e=qu(e)),o=new Array(e.length);for(let c=0,f=e.length;ct(a,l,void 0,i));else{const a=Object.keys(e);o=new Array(a.length);for(let l=0,u=a.length;l{const i=r.fn(...o);return i&&(i.key=r.key),i}:r.fn)}return e}function pt(e,t,n={},r,o){if(fn.ce||fn.parent&&ko(fn.parent)&&fn.parent.ce)return t!=="default"&&(n.name=t),ge(),Ge(Dt,null,[Me("slot",n,r&&r())],64);let i=e[t];i&&i._c&&(i._d=!1),ge();const s=i&&E_(i(n)),a=n.key||s&&s.key,l=Ge(Dt,{key:(a&&!br(a)?a:`_${t}`)+(!s&&r?"_fb":"")},s||(r?r():[]),s&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function E_(e){return e.some(t=>vi(t)?!(t.type===Ht||t.type===Dt&&!E_(t.children)):!0)?e:null}const Ff=e=>e?q_(e)?ec(e):Ff(e.parent):null,Js=Zt(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=>Ff(e.parent),$root:e=>Ff(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>S_(e),$forceUpdate:e=>e.f||(e.f=()=>{ap(e.update)}),$nextTick:e=>e.n||(e.n=rn.bind(e.proxy)),$watch:e=>ZT.bind(e)}),Lc=(e,t)=>e!==ht&&!e.__isScriptSetup&&_t(e,t),LT={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:i,accessCache:s,type:a,appContext:l}=e;let u;if(t[0]!=="$"){const p=s[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(Lc(r,t))return s[t]=1,r[t];if(o!==ht&&_t(o,t))return s[t]=2,o[t];if((u=e.propsOptions[0])&&_t(u,t))return s[t]=3,i[t];if(n!==ht&&_t(n,t))return s[t]=4,n[t];Uf&&(s[t]=0)}}const c=Js[t];let f,d;if(c)return t==="$attrs"&&_n(e.attrs,"get",""),c(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==ht&&_t(n,t))return s[t]=4,n[t];if(d=l.config.globalProperties,_t(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return Lc(o,t)?(o[t]=n,!0):r!==ht&&_t(r,t)?(r[t]=n,!0):_t(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:o,propsOptions:i,type:s}},a){let l,u;return!!(n[a]||e!==ht&&a[0]!=="$"&&_t(e,a)||Lc(t,a)||(l=i[0])&&_t(l,a)||_t(r,a)||_t(Js,a)||_t(o.config.globalProperties,a)||(u=s.__cssModules)&&u[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:_t(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function $6(){return T_().slots}function fp(){return T_().attrs}function T_(e){const t=Ot();return t.setupContext||(t.setupContext=W_(t))}function la(e){return Oe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function B6(e,t){const n=la(e);for(const r in t){if(r.startsWith("__skip"))continue;let o=n[r];o?Oe(o)||$e(o)?o=n[r]={type:o,default:t[r]}:o.default=t[r]:o===null&&(o=n[r]={default:t[r]}),o&&t[`__skip_${r}`]&&(o.skipFactory=!0)}return n}function DT(e,t){return!e||!t?e||t:Oe(e)&&Oe(t)?e.concat(t):Zt({},la(e),la(t))}function Qs(e){const t=Ot();let n=e();return Hf(),$u(n)&&(n=n.catch(r=>{throw _i(t),r})),[n,()=>_i(t)]}let Uf=!0;function kT(e){const t=S_(e),n=e.proxy,r=e.ctx;Uf=!1,t.beforeCreate&&Oh(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:s,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:p,updated:h,activated:g,deactivated:m,beforeDestroy:y,beforeUnmount:b,destroyed:v,unmounted:E,render:T,renderTracked:x,renderTriggered:I,errorCaptured:P,serverPrefetch:M,expose:V,inheritAttrs:H,components:B,directives:ce,filters:Te}=t;if(u&&PT(u,r,null),s)for(const me in s){const se=s[me];$e(se)&&(r[me]=se.bind(n))}if(o){const me=o.call(n,n);Rt(me)&&(e.data=dn(me))}if(Uf=!0,i)for(const me in i){const se=i[me],Ee=$e(se)?se.bind(n,n):$e(se.get)?se.get.bind(n,n):vr,tt=!$e(se)&&$e(se.set)?se.set.bind(n):vr,Se=te({get:Ee,set:tt});Object.defineProperty(r,me,{enumerable:!0,configurable:!0,get:()=>Se.value,set:Xe=>Se.value=Xe})}if(a)for(const me in a)w_(a[me],r,n,me);if(l){const me=$e(l)?l.call(n):l;Reflect.ownKeys(me).forEach(se=>{ao(se,me[se])})}c&&Oh(c,e,"c");function he(me,se){Oe(se)?se.forEach(Ee=>me(Ee.bind(n))):se&&me(se.bind(n))}if(he(h_,f),he(pn,d),he(g_,p),he(m_,h),he(f_,g),he(d_,m),he(y_,P),he(CT,x),he(xT,I),he(Ai,b),he($o,E),he(OT,M),Oe(V))if(V.length){const me=e.exposed||(e.exposed={});V.forEach(se=>{Object.defineProperty(me,se,{get:()=>n[se],set:Ee=>n[se]=Ee,enumerable:!0})})}else e.exposed||(e.exposed={});T&&e.render===vr&&(e.render=T),H!=null&&(e.inheritAttrs=H),B&&(e.components=B),ce&&(e.directives=ce),M&&lp(e)}function PT(e,t,n=vr){Oe(e)&&(e=jf(e));for(const r in e){const o=e[r];let i;Rt(o)?"default"in o?i=Ut(o.from||r,o.default,!0):i=Ut(o.from||r):i=Ut(o),At(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):t[r]=i}}function Oh(e,t,n){Er(Oe(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function w_(e,t,n,r){let o=r.includes(".")?F_(n,r):()=>n[r];if(Pt(e)){const i=t[e];$e(i)&&It(o,i)}else if($e(e))It(o,e.bind(n));else if(Rt(e))if(Oe(e))e.forEach(i=>w_(i,t,n,r));else{const i=$e(e.handler)?e.handler.bind(n):t[e.handler];$e(i)&&It(o,i,e)}}function S_(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(u=>fu(l,u,s,!0)),fu(l,t,s)),Rt(t)&&i.set(t,l),l}function fu(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&fu(e,i,n,!0),o&&o.forEach(s=>fu(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const a=MT[s]||n&&n[s];e[s]=a?a(e[s],t[s]):t[s]}return e}const MT={data:xh,props:Ch,emits:Ch,methods:zs,computed:zs,beforeCreate:Rn,created:Rn,beforeMount:Rn,mounted:Rn,beforeUpdate:Rn,updated:Rn,beforeDestroy:Rn,beforeUnmount:Rn,destroyed:Rn,unmounted:Rn,activated:Rn,deactivated:Rn,errorCaptured:Rn,serverPrefetch:Rn,components:zs,directives:zs,watch:UT,provide:xh,inject:FT};function xh(e,t){return t?e?function(){return Zt($e(e)?e.call(this,this):e,$e(t)?t.call(this,this):t)}:t:e}function FT(e,t){return zs(jf(e),jf(t))}function jf(e){if(Oe(e)){const t={};for(let n=0;n1)return n&&$e(t)?t.call(r&&r.proxy):t}}function bo(){return!!(Ot()||di)}const I_={},R_=()=>Object.create(I_),O_=e=>Object.getPrototypeOf(e)===I_;function $T(e,t,n,r=!1){const o={},i=R_();e.propsDefaults=Object.create(null),x_(e,t,o,i);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);n?e.props=r?o:Fr(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function BT(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:s}}=e,a=ut(o),[l]=e.propsOptions;let u=!1;if((r||s>0)&&!(s&16)){if(s&8){const c=e.vnode.dynamicProps;for(let f=0;f{l=!0;const[d,p]=C_(f,t,!0);Zt(s,d),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!l)return Rt(e)&&r.set(e,Wi),Wi;if(Oe(i))for(let c=0;ce==="_"||e==="_ctx"||e==="$stable",pp=e=>Oe(e)?e.map(Wn):[Wn(e)],zT=(e,t,n)=>{if(t._n)return t;const r=He((...o)=>pp(t(...o)),n);return r._c=!1,r},N_=(e,t,n)=>{const r=e._ctx;for(const o in e){if(dp(o))continue;const i=e[o];if($e(i))t[o]=zT(o,i,r);else if(i!=null){const s=pp(i);t[o]=()=>s}}},L_=(e,t)=>{const n=pp(t);e.slots.default=()=>n},D_=(e,t,n)=>{for(const r in t)(n||!dp(r))&&(e[r]=t[r])},GT=(e,t,n)=>{const r=e.slots=R_();if(e.vnode.shapeFlag&32){const o=t._;o?(D_(r,t,n),n&&Rv(r,"_",o,!0)):N_(t,r)}else t&&L_(e,t)},qT=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,s=ht;if(r.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:D_(o,t,n):(i=!t.$stable,N_(t,o)),s=t}else t&&(L_(e,t),s={default:1});if(i)for(const a in o)!dp(a)&&s[a]==null&&delete o[a]},Qt=$_;function KT(e){return k_(e)}function WT(e){return k_(e,TT)}function k_(e,t){const n=zu();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:s,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:p=vr,insertStaticContent:h}=e,g=(C,D,j,ne=null,X=null,R=null,N=void 0,U=null,q=!!D.dynamicChildren)=>{if(C===D)return;C&&!yr(C,D)&&(ne=J(C),Xe(C,X,R,!0),C=null),D.patchFlag===-2&&(q=!1,D.dynamicChildren=null);const{type:ee,ref:Z,shapeFlag:A}=D;switch(ee){case lo:m(C,D,j,ne);break;case Ht:y(C,D,j,ne);break;case ts:C==null&&b(D,j,ne,N);break;case Dt:B(C,D,j,ne,X,R,N,U,q);break;default:A&1?T(C,D,j,ne,X,R,N,U,q):A&6?ce(C,D,j,ne,X,R,N,U,q):(A&64||A&128)&&ee.process(C,D,j,ne,X,R,N,U,q,ve)}Z!=null&&X?Zi(Z,C&&C.ref,R,D||C,!D):Z==null&&C&&C.ref!=null&&Zi(C.ref,null,R,C,!0)},m=(C,D,j,ne)=>{if(C==null)r(D.el=a(D.children),j,ne);else{const X=D.el=C.el;D.children!==C.children&&u(X,D.children)}},y=(C,D,j,ne)=>{C==null?r(D.el=l(D.children||""),j,ne):D.el=C.el},b=(C,D,j,ne)=>{[C.el,C.anchor]=h(C.children,D,j,ne,C.el,C.anchor)},v=({el:C,anchor:D},j,ne)=>{let X;for(;C&&C!==D;)X=d(C),r(C,j,ne),C=X;r(D,j,ne)},E=({el:C,anchor:D})=>{let j;for(;C&&C!==D;)j=d(C),o(C),C=j;o(D)},T=(C,D,j,ne,X,R,N,U,q)=>{D.type==="svg"?N="svg":D.type==="math"&&(N="mathml"),C==null?x(D,j,ne,X,R,N,U,q):M(C,D,X,R,N,U,q)},x=(C,D,j,ne,X,R,N,U)=>{let q,ee;const{props:Z,shapeFlag:A,transition:L,dirs:G}=C;if(q=C.el=s(C.type,R,Z&&Z.is,Z),A&8?c(q,C.children):A&16&&P(C.children,q,null,ne,X,Dc(C,R),N,U),G&&Dr(C,null,ne,"created"),I(q,C,C.scopeId,N,ne),Z){for(const fe in Z)fe!=="value"&&!Xi(fe)&&i(q,fe,null,Z[fe],R,ne);"value"in Z&&i(q,"value",null,Z.value,R),(ee=Z.onVnodeBeforeMount)&&Vn(ee,ne,C)}G&&Dr(C,null,ne,"beforeMount");const re=P_(X,L);re&&L.beforeEnter(q),r(q,D,j),((ee=Z&&Z.onVnodeMounted)||re||G)&&Qt(()=>{ee&&Vn(ee,ne,C),re&&L.enter(q),G&&Dr(C,null,ne,"mounted")},X)},I=(C,D,j,ne,X)=>{if(j&&p(C,j),ne)for(let R=0;R{for(let ee=q;ee{const U=D.el=C.el;let{patchFlag:q,dynamicChildren:ee,dirs:Z}=D;q|=C.patchFlag&16;const A=C.props||ht,L=D.props||ht;let G;if(j&&Jo(j,!1),(G=L.onVnodeBeforeUpdate)&&Vn(G,j,D,C),Z&&Dr(D,C,j,"beforeUpdate"),j&&Jo(j,!0),(A.innerHTML&&L.innerHTML==null||A.textContent&&L.textContent==null)&&c(U,""),ee?V(C.dynamicChildren,ee,U,j,ne,Dc(D,X),R):N||se(C,D,U,null,j,ne,Dc(D,X),R,!1),q>0){if(q&16)H(U,A,L,j,X);else if(q&2&&A.class!==L.class&&i(U,"class",null,L.class,X),q&4&&i(U,"style",A.style,L.style,X),q&8){const re=D.dynamicProps;for(let fe=0;fe{G&&Vn(G,j,D,C),Z&&Dr(D,C,j,"updated")},ne)},V=(C,D,j,ne,X,R,N)=>{for(let U=0;U{if(D!==j){if(D!==ht)for(const R in D)!Xi(R)&&!(R in j)&&i(C,R,D[R],null,X,ne);for(const R in j){if(Xi(R))continue;const N=j[R],U=D[R];N!==U&&R!=="value"&&i(C,R,U,N,X,ne)}"value"in j&&i(C,"value",D.value,j.value,X)}},B=(C,D,j,ne,X,R,N,U,q)=>{const ee=D.el=C?C.el:a(""),Z=D.anchor=C?C.anchor:a("");let{patchFlag:A,dynamicChildren:L,slotScopeIds:G}=D;G&&(U=U?U.concat(G):G),C==null?(r(ee,j,ne),r(Z,j,ne),P(D.children||[],j,Z,X,R,N,U,q)):A>0&&A&64&&L&&C.dynamicChildren?(V(C.dynamicChildren,L,j,X,R,N,U),(D.key!=null||X&&D===X.subTree)&&hp(C,D,!0)):se(C,D,j,Z,X,R,N,U,q)},ce=(C,D,j,ne,X,R,N,U,q)=>{D.slotScopeIds=U,C==null?D.shapeFlag&512?X.ctx.activate(D,j,ne,N,q):Te(D,j,ne,X,R,N,q):ke(C,D,q)},Te=(C,D,j,ne,X,R,N)=>{const U=C.component=mw(C,ne,X);if(Na(C)&&(U.ctx.renderer=ve),yw(U,!1,N),U.asyncDep){if(X&&X.registerDep(U,he,N),!C.el){const q=U.subTree=Me(Ht);y(null,q,D,j),C.placeholder=q.el}}else he(U,C,D,j,X,R,N)},ke=(C,D,j)=>{const ne=D.component=C.component;if(sw(C,D,j))if(ne.asyncDep&&!ne.asyncResolved){me(ne,D,j);return}else ne.next=D,ne.update();else D.el=C.el,ne.vnode=D},he=(C,D,j,ne,X,R,N)=>{const U=()=>{if(C.isMounted){let{next:A,bu:L,u:G,parent:re,vnode:fe}=C;{const we=M_(C);if(we){A&&(A.el=fe.el,me(C,A,N)),we.asyncDep.then(()=>{C.isUnmounted||U()});return}}let _e=A,We;Jo(C,!1),A?(A.el=fe.el,me(C,A,N)):A=fe,L&&Ji(L),(We=A.props&&A.props.onVnodeBeforeUpdate)&&Vn(We,re,A,fe),Jo(C,!0);const nt=kc(C),Ue=C.subTree;C.subTree=nt,g(Ue,nt,f(Ue.el),J(Ue),C,X,R),A.el=nt.el,_e===null&&Zu(C,nt.el),G&&Qt(G,X),(We=A.props&&A.props.onVnodeUpdated)&&Qt(()=>Vn(We,re,A,fe),X)}else{let A;const{el:L,props:G}=D,{bm:re,m:fe,parent:_e,root:We,type:nt}=C,Ue=ko(D);if(Jo(C,!1),re&&Ji(re),!Ue&&(A=G&&G.onVnodeBeforeMount)&&Vn(A,_e,D),Jo(C,!0),L&&ze){const we=()=>{C.subTree=kc(C),ze(L,C.subTree,C,X,null)};Ue&&nt.__asyncHydrate?nt.__asyncHydrate(L,C,we):we()}else{We.ce&&We.ce._def.shadowRoot!==!1&&We.ce._injectChildStyle(nt);const we=C.subTree=kc(C);g(null,we,j,ne,C,X,R),D.el=we.el}if(fe&&Qt(fe,X),!Ue&&(A=G&&G.onVnodeMounted)){const we=D;Qt(()=>Vn(A,_e,we),X)}(D.shapeFlag&256||_e&&ko(_e.vnode)&&_e.vnode.shapeFlag&256)&&C.a&&Qt(C.a,X),C.isMounted=!0,D=j=ne=null}};C.scope.on();const q=C.effect=new Dv(U);C.scope.off();const ee=C.update=q.run.bind(q),Z=C.job=q.runIfDirty.bind(q);Z.i=C,Z.id=C.uid,q.scheduler=()=>ap(Z),Jo(C,!0),ee()},me=(C,D,j)=>{D.component=C;const ne=C.vnode.props;C.vnode=D,C.next=null,BT(C,D.props,ne,j),qT(C,D.children,j),co(),_h(C),fo()},se=(C,D,j,ne,X,R,N,U,q=!1)=>{const ee=C&&C.children,Z=C?C.shapeFlag:0,A=D.children,{patchFlag:L,shapeFlag:G}=D;if(L>0){if(L&128){tt(ee,A,j,ne,X,R,N,U,q);return}else if(L&256){Ee(ee,A,j,ne,X,R,N,U,q);return}}G&8?(Z&16&&ot(ee,X,R),A!==ee&&c(j,A)):Z&16?G&16?tt(ee,A,j,ne,X,R,N,U,q):ot(ee,X,R,!0):(Z&8&&c(j,""),G&16&&P(A,j,ne,X,R,N,U,q))},Ee=(C,D,j,ne,X,R,N,U,q)=>{C=C||Wi,D=D||Wi;const ee=C.length,Z=D.length,A=Math.min(ee,Z);let L;for(L=0;LZ?ot(C,X,R,!0,!1,A):P(D,j,ne,X,R,N,U,q,A)},tt=(C,D,j,ne,X,R,N,U,q)=>{let ee=0;const Z=D.length;let A=C.length-1,L=Z-1;for(;ee<=A&&ee<=L;){const G=C[ee],re=D[ee]=q?Oo(D[ee]):Wn(D[ee]);if(yr(G,re))g(G,re,j,null,X,R,N,U,q);else break;ee++}for(;ee<=A&&ee<=L;){const G=C[A],re=D[L]=q?Oo(D[L]):Wn(D[L]);if(yr(G,re))g(G,re,j,null,X,R,N,U,q);else break;A--,L--}if(ee>A){if(ee<=L){const G=L+1,re=GL)for(;ee<=A;)Xe(C[ee],X,R,!0),ee++;else{const G=ee,re=ee,fe=new Map;for(ee=re;ee<=L;ee++){const $t=D[ee]=q?Oo(D[ee]):Wn(D[ee]);$t.key!=null&&fe.set($t.key,ee)}let _e,We=0;const nt=L-re+1;let Ue=!1,we=0;const Tt=new Array(nt);for(ee=0;ee=nt){Xe($t,X,R,!0);continue}let gn;if($t.key!=null)gn=fe.get($t.key);else for(_e=re;_e<=L;_e++)if(Tt[_e-re]===0&&yr($t,D[_e])){gn=_e;break}gn===void 0?Xe($t,X,R,!0):(Tt[gn-re]=ee+1,gn>=we?we=gn:Ue=!0,g($t,D[gn],j,null,X,R,N,U,q),We++)}const Sn=Ue?YT(Tt):Wi;for(_e=Sn.length-1,ee=nt-1;ee>=0;ee--){const $t=re+ee,gn=D[$t],qo=D[$t+1],Gr=$t+1{const{el:R,type:N,transition:U,children:q,shapeFlag:ee}=C;if(ee&6){Se(C.component.subTree,D,j,ne);return}if(ee&128){C.suspense.move(D,j,ne);return}if(ee&64){N.move(C,D,j,ve);return}if(N===Dt){r(R,D,j);for(let A=0;AU.enter(R),X);else{const{leave:A,delayLeave:L,afterLeave:G}=U,re=()=>{C.ctx.isUnmounted?o(R):r(R,D,j)},fe=()=>{R._isLeaving&&R[eo](!0),A(R,()=>{re(),G&&G()})};L?L(R,re,fe):fe()}else r(R,D,j)},Xe=(C,D,j,ne=!1,X=!1)=>{const{type:R,props:N,ref:U,children:q,dynamicChildren:ee,shapeFlag:Z,patchFlag:A,dirs:L,cacheIndex:G}=C;if(A===-2&&(X=!1),U!=null&&(co(),Zi(U,null,j,C,!0),fo()),G!=null&&(D.renderCache[G]=void 0),Z&256){D.ctx.deactivate(C);return}const re=Z&1&&L,fe=!ko(C);let _e;if(fe&&(_e=N&&N.onVnodeBeforeUnmount)&&Vn(_e,D,C),Z&6)qe(C.component,j,ne);else{if(Z&128){C.suspense.unmount(j,ne);return}re&&Dr(C,null,D,"beforeUnmount"),Z&64?C.type.remove(C,D,j,ve,ne):ee&&!ee.hasOnce&&(R!==Dt||A>0&&A&64)?ot(ee,D,j,!1,!0):(R===Dt&&A&384||!X&&Z&16)&&ot(q,D,j),ne&&Be(C)}(fe&&(_e=N&&N.onVnodeUnmounted)||re)&&Qt(()=>{_e&&Vn(_e,D,C),re&&Dr(C,null,D,"unmounted")},j)},Be=C=>{const{type:D,el:j,anchor:ne,transition:X}=C;if(D===Dt){it(j,ne);return}if(D===ts){E(C);return}const R=()=>{o(j),X&&!X.persisted&&X.afterLeave&&X.afterLeave()};if(C.shapeFlag&1&&X&&!X.persisted){const{leave:N,delayLeave:U}=X,q=()=>N(j,R);U?U(C.el,R,q):q()}else R()},it=(C,D)=>{let j;for(;C!==D;)j=d(C),o(C),C=j;o(D)},qe=(C,D,j)=>{const{bum:ne,scope:X,job:R,subTree:N,um:U,m:q,a:ee}=C;du(q),du(ee),ne&&Ji(ne),X.stop(),R&&(R.flags|=8,Xe(N,C,D,j)),U&&Qt(U,D),Qt(()=>{C.isUnmounted=!0},D)},ot=(C,D,j,ne=!1,X=!1,R=0)=>{for(let N=R;N{if(C.shapeFlag&6)return J(C.component.subTree);if(C.shapeFlag&128)return C.suspense.next();const D=d(C.anchor||C.el),j=D&&D[n_];return j?d(j):D};let ie=!1;const ae=(C,D,j)=>{C==null?D._vnode&&Xe(D._vnode,null,null,!0):g(D._vnode||null,C,D,null,null,null,j),D._vnode=C,ie||(ie=!0,_h(),lu(),ie=!1)},ve={p:g,um:Xe,m:Se,r:Be,mt:Te,mc:P,pc:se,pbc:V,n:J,o:e};let Ke,ze;return t&&([Ke,ze]=t(ve)),{render:ae,hydrate:Ke,createApp:VT(ae,Ke)}}function Dc({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 Jo({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function P_(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function hp(e,t,n=!1){const r=e.children,o=t.children;if(Oe(r)&&Oe(o))for(let i=0;i>1,e[n[a]]0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=t[s];return n}function M_(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:M_(t)}function du(e){if(e)for(let t=0;tUt(XT);function go(e,t){return La(e,null,t)}function H6(e,t){return La(e,null,{flush:"post"})}function QT(e,t){return La(e,null,{flush:"sync"})}function It(e,t,n){return La(e,t,n)}function La(e,t,n=ht){const{immediate:r,deep:o,flush:i,once:s}=n,a=Zt({},n),l=t&&r||!t&&i!=="post";let u;if(ss){if(i==="sync"){const p=JT();u=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=vr,p.resume=vr,p.pause=vr,p}}const c=cn;a.call=(p,h,g)=>Er(p,c,h,g);let f=!1;i==="post"?a.scheduler=p=>{Qt(p,c&&c.suspense)}:i!=="sync"&&(f=!0,a.scheduler=(p,h)=>{h?p():ap(p)}),a.augmentJob=p=>{t&&(p.flags|=4),f&&(p.flags|=2,c&&(p.id=c.uid,p.i=c))};const d=fT(e,t,a);return ss&&(u?u.push(d):l&&d()),d}function ZT(e,t,n){const r=this.proxy,o=Pt(e)?e.includes(".")?F_(r,e):()=>r[e]:e.bind(r,r);let i;$e(t)?i=t:(i=t.handler,n=t);const s=_i(this),a=La(o,i.bind(r),n);return s(),a}function F_(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o{let c,f=ht,d;return QT(()=>{const p=e[o];Cn(c,p)&&(c=p,u())}),{get(){return l(),n.get?n.get(c):c},set(p){const h=n.set?n.set(p):p;if(!Cn(h,c)&&!(f!==ht&&Cn(p,f)))return;const g=r.vnode.props;g&&(t in g||o in g||i in g)&&(`onUpdate:${t}`in g||`onUpdate:${o}`in g||`onUpdate:${i}`in g)||(c=p,u()),r.emit(`update:${t}`,h),Cn(p,h)&&Cn(p,f)&&!Cn(h,d)&&u(),f=p,d=h}}});return a[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?s||ht:a,done:!1}:{done:!0}}}},a}const U_=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${zn(t)}Modifiers`]||e[`${vo(t)}Modifiers`];function tw(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ht;let o=n;const i=t.startsWith("update:"),s=i&&U_(r,t.slice(7));s&&(s.trim&&(o=n.map(c=>Pt(c)?c.trim():c)),s.number&&(o=n.map(tu)));let a,l=r[a=$l(t)]||r[a=$l(zn(t))];!l&&i&&(l=r[a=$l(vo(t))]),l&&Er(l,e,6,o);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Er(u,e,6,o)}}const nw=new WeakMap;function j_(e,t,n=!1){const r=n?nw:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const i=e.emits;let s={},a=!1;if(!$e(e)){const l=u=>{const c=j_(u,t,!0);c&&(a=!0,Zt(s,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!a?(Rt(e)&&r.set(e,null),null):(Oe(i)?i.forEach(l=>s[l]=null):Zt(s,i),Rt(e)&&r.set(e,s),s)}function Qu(e,t){return!e||!Ra(t)?!1:(t=t.slice(2).replace(/Once$/,""),_t(e,t[0].toLowerCase()+t.slice(1))||_t(e,vo(t))||_t(e,t))}function kc(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[i],slots:s,attrs:a,emit:l,render:u,renderCache:c,props:f,data:d,setupState:p,ctx:h,inheritAttrs:g}=e,m=uu(e);let y,b;try{if(n.shapeFlag&4){const E=o||r,T=E;y=Wn(u.call(T,E,c,f,p,d,h)),b=a}else{const E=t;y=Wn(E.length>1?E(f,{attrs:a,slots:s,emit:l}):E(f,null)),b=t.props?a:ow(a)}}catch(E){Zs.length=0,bs(E,e,1),y=Me(Ht)}let v=y;if(b&&g!==!1){const E=Object.keys(b),{shapeFlag:T}=v;E.length&&T&7&&(i&&E.some(Qd)&&(b=iw(b,i)),v=Qn(v,b,!1,!0))}return n.dirs&&(v=Qn(v,null,!1,!0),v.dirs=v.dirs?v.dirs.concat(n.dirs):n.dirs),n.transition&&is(v,n.transition),y=v,uu(m),y}function rw(e,t=!0){let n;for(let r=0;r{let t;for(const n in e)(n==="class"||n==="style"||Ra(n))&&((t||(t={}))[n]=e[n]);return t},iw=(e,t)=>{const n={};for(const r in e)(!Qd(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function sw(e,t,n){const{props:r,children:o,component:i}=e,{props:s,children:a,patchFlag:l}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Lh(r,s,u):!!s;if(l&8){const c=t.dynamicProps;for(let f=0;fe.__isSuspense;let $f=0;const aw={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,s,a,l,u){if(e==null)lw(t,n,r,o,i,s,a,l,u);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}uw(e,t,n,r,o,s,a,l,u)}},hydrate:cw,normalize:fw},gp=aw;function ua(e,t){const n=e.props&&e.props[t];$e(n)&&n()}function lw(e,t,n,r,o,i,s,a,l){const{p:u,o:{createElement:c}}=l,f=c("div"),d=e.suspense=V_(e,o,r,t,f,n,i,s,a,l);u(null,d.pendingBranch=e.ssContent,f,null,r,d,i,s),d.deps>0?(ua(e,"onPending"),ua(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,i,s),es(d,e.ssFallback)):d.resolve(!1,!0)}function uw(e,t,n,r,o,i,s,a,{p:l,um:u,o:{createElement:c}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,p=t.ssFallback,{activeBranch:h,pendingBranch:g,isInFallback:m,isHydrating:y}=f;if(g)f.pendingBranch=d,yr(g,d)?(l(g,d,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0?f.resolve():m&&(y||(l(h,p,n,r,o,null,i,s,a),es(f,p)))):(f.pendingId=$f++,y?(f.isHydrating=!1,f.activeBranch=g):u(g,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),m?(l(null,d,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0?f.resolve():(l(h,p,n,r,o,null,i,s,a),es(f,p))):h&&yr(h,d)?(l(h,d,n,r,o,f,i,s,a),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0&&f.resolve()));else if(h&&yr(h,d))l(h,d,n,r,o,f,i,s,a),es(f,d);else if(ua(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=$f++,l(null,d,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0)f.resolve();else{const{timeout:b,pendingId:v}=f;b>0?setTimeout(()=>{f.pendingId===v&&f.fallback(p)},b):b===0&&f.fallback(p)}}function V_(e,t,n,r,o,i,s,a,l,u,c=!1){const{p:f,m:d,um:p,n:h,o:{parentNode:g,remove:m}}=u;let y;const b=dw(e);b&&t&&t.pendingBranch&&(y=t.pendingId,t.deps++);const v=e.props?Ov(e.props.timeout):void 0,E=i,T={vnode:e,parent:t,parentComponent:n,namespace:s,container:r,hiddenContainer:o,deps:0,pendingId:$f++,timeout:typeof v=="number"?v:-1,activeBranch:null,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(x=!1,I=!1){const{vnode:P,activeBranch:M,pendingBranch:V,pendingId:H,effects:B,parentComponent:ce,container:Te}=T;let ke=!1;T.isHydrating?T.isHydrating=!1:x||(ke=M&&V.transition&&V.transition.mode==="out-in",ke&&(M.transition.afterLeave=()=>{H===T.pendingId&&(d(V,Te,i===E?h(M):i,0),au(B))}),M&&(g(M.el)===Te&&(i=h(M)),p(M,ce,T,!0)),ke||d(V,Te,i,0)),es(T,V),T.pendingBranch=null,T.isInFallback=!1;let he=T.parent,me=!1;for(;he;){if(he.pendingBranch){he.effects.push(...B),me=!0;break}he=he.parent}!me&&!ke&&au(B),T.effects=[],b&&t&&t.pendingBranch&&y===t.pendingId&&(t.deps--,t.deps===0&&!I&&t.resolve()),ua(P,"onResolve")},fallback(x){if(!T.pendingBranch)return;const{vnode:I,activeBranch:P,parentComponent:M,container:V,namespace:H}=T;ua(I,"onFallback");const B=h(P),ce=()=>{T.isInFallback&&(f(null,x,V,B,M,null,H,a,l),es(T,x))},Te=x.transition&&x.transition.mode==="out-in";Te&&(P.transition.afterLeave=ce),T.isInFallback=!0,p(P,M,null,!0),Te||ce()},move(x,I,P){T.activeBranch&&d(T.activeBranch,x,I,P),T.container=x},next(){return T.activeBranch&&h(T.activeBranch)},registerDep(x,I,P){const M=!!T.pendingBranch;M&&T.deps++;const V=x.vnode.el;x.asyncDep.catch(H=>{bs(H,x,0)}).then(H=>{if(x.isUnmounted||T.isUnmounted||T.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:B}=x;zf(x,H),V&&(B.el=V);const ce=!V&&x.subTree.el;I(x,B,g(V||x.subTree.el),V?null:h(x.subTree),T,s,P),ce&&m(ce),Zu(x,B.el),M&&--T.deps===0&&T.resolve()})},unmount(x,I){T.isUnmounted=!0,T.activeBranch&&p(T.activeBranch,n,x,I),T.pendingBranch&&p(T.pendingBranch,n,x,I)}};return T}function cw(e,t,n,r,o,i,s,a,l){const u=t.suspense=V_(t,r,n,e.parentNode,document.createElement("div"),null,o,i,s,a,!0),c=l(e,u.pendingBranch=t.ssContent,n,u,i,s);return u.deps===0&&u.resolve(!1,!0),c}function fw(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Dh(r?n.default:n),e.ssFallback=r?Dh(n.fallback):Me(Ht)}function Dh(e){let t;if($e(e)){const n=yi&&e._c;n&&(e._d=!1,ge()),e=e(),n&&(e._d=!0,t=En,B_())}return Oe(e)&&(e=rw(e)),e=Wn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function $_(e,t){t&&t.pendingBranch?Oe(e)?t.effects.push(...e):t.effects.push(e):au(e)}function es(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)t=t.component.subTree,o=t.el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,Zu(r,o))}function dw(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Dt=Symbol.for("v-fgt"),lo=Symbol.for("v-txt"),Ht=Symbol.for("v-cmt"),ts=Symbol.for("v-stc"),Zs=[];let En=null;function ge(e=!1){Zs.push(En=e?null:[])}function B_(){Zs.pop(),En=Zs[Zs.length-1]||null}let yi=1;function hu(e,t=!1){yi+=e,e<0&&En&&t&&(En.hasOnce=!0)}function H_(e){return e.dynamicChildren=yi>0?En||Wi:null,B_(),yi>0&&En&&En.push(e),e}function yt(e,t,n,r,o,i){return H_(St(e,t,n,r,o,i,!0))}function Ge(e,t,n,r,o){return H_(Me(e,t,n,r,o,!0))}function vi(e){return e?e.__v_isVNode===!0:!1}function yr(e,t){return e.type===t.type&&e.key===t.key}const z_=({key:e})=>e??null,Hl=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Pt(e)||At(e)||$e(e)?{i:fn,r:e,k:t,f:!!n}:e:null);function St(e,t=null,n=null,r=0,o=null,i=e===Dt?0:1,s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&z_(t),ref:t&&Hl(t),scopeId:t_,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:o,dynamicChildren:null,appContext:null,ctx:fn};return a?(mp(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=Pt(n)?8:16),yi>0&&!s&&En&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&En.push(l),l}const Me=pw;function pw(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===v_)&&(e=Ht),vi(e)){const a=Qn(e,t,!0);return n&&mp(a,n),yi>0&&!i&&En&&(a.shapeFlag&6?En[En.indexOf(e)]=a:En.push(a)),a.patchFlag=-2,a}if(bw(e)&&(e=e.__vccOpts),t){t=pi(t);let{class:a,style:l}=t;a&&!Pt(a)&&(t.class=er(a)),Rt(l)&&(sp(l)&&!Oe(l)&&(l=Zt({},l)),t.style=Si(l))}const s=Pt(e)?1:pu(e)?128:r_(e)?64:Rt(e)?4:$e(e)?2:0;return St(e,t,n,r,o,s,i,!0)}function pi(e){return e?sp(e)||O_(e)?Zt({},e):e:null}function Qn(e,t,n=!1,r=!1){const{props:o,ref:i,patchFlag:s,children:a,transition:l}=e,u=t?kt(o||{},t):o,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&z_(u),ref:t&&t.ref?n&&i?Oe(i)?i.concat(Hl(t)):[i,Hl(t)]:Hl(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Dt?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Qn(e.ssContent),ssFallback:e.ssFallback&&Qn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&is(c,l.clone(c)),c}function mo(e=" ",t=0){return Me(lo,null,e,t)}function G_(e,t){const n=Me(ts,null,e);return n.staticCount=t,n}function tn(e="",t=!1){return t?(ge(),Ge(Ht,null,e)):Me(Ht,null,e)}function Wn(e){return e==null||typeof e=="boolean"?Me(Ht):Oe(e)?Me(Dt,null,e.slice()):vi(e)?Oo(e):Me(lo,null,String(e))}function Oo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Qn(e)}function mp(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Oe(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),mp(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!O_(t)?t._ctx=fn:o===3&&fn&&(fn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else $e(t)?(t={default:t,_ctx:fn},n=32):(t=String(t),r&64?(n=16,t=[mo(t)]):n=8);e.children=t,e.shapeFlag|=n}function kt(...e){const t={};for(let n=0;ncn||fn;let gu,Bf;{const e=zu(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),i=>{o.length>1?o.forEach(s=>s(i)):o[0](i)}};gu=t("__VUE_INSTANCE_SETTERS__",n=>cn=n),Bf=t("__VUE_SSR_SETTERS__",n=>ss=n)}const _i=e=>{const t=cn;return gu(e),e.scope.on(),()=>{e.scope.off(),gu(t)}},Hf=()=>{cn&&cn.scope.off(),gu(null)};function q_(e){return e.vnode.shapeFlag&4}let ss=!1;function yw(e,t=!1,n=!1){t&&Bf(t);const{props:r,children:o}=e.vnode,i=q_(e);$T(e,r,i,t),GT(e,o,n||t);const s=i?vw(e,t):void 0;return t&&Bf(!1),s}function vw(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,LT);const{setup:r}=n;if(r){co();const o=e.setupContext=r.length>1?W_(e):null,i=_i(e),s=Ca(r,e,0,[e.props,o]),a=$u(s);if(fo(),i(),(a||e.sp)&&!ko(e)&&lp(e),a){if(s.then(Hf,Hf),t)return s.then(l=>{zf(e,l)}).catch(l=>{bs(l,e,0)});e.asyncDep=s}else zf(e,s)}else K_(e)}function zf(e,t,n){$e(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Rt(t)&&(e.setupState=Xv(t)),K_(e)}function K_(e,t,n){const r=e.type;e.render||(e.render=r.render||vr);{const o=_i(e);co();try{kT(e)}finally{fo(),o()}}}const _w={get(e,t){return _n(e,"get",""),e[t]}};function W_(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,_w),slots:e.slots,emit:e.emit,expose:t}}function ec(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Xv(nT(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Js)return Js[n](e)},has(t,n){return n in t||n in Js}})):e.proxy}function Gf(e,t=!0){return $e(e)?e.displayName||e.name:e.name||t&&e.__name}function bw(e){return $e(e)&&"__vccOpts"in e}const te=(e,t)=>uT(e,t,ss);function dt(e,t,n){const r=(i,s,a)=>{hu(-1);try{return Me(i,s,a)}finally{hu(1)}},o=arguments.length;return o===2?Rt(t)&&!Oe(t)?vi(t)?r(e,null,[t]):r(e,t):r(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&vi(n)&&(n=[n]),r(e,t,n))}function z6(e,t,n,r){const o=n[r];if(o&&Ew(o,e))return o;const i=t();return i.memo=e.slice(),i.cacheIndex=r,n[r]=i}function Ew(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r0&&En&&En.push(e),!0}const Tw="3.5.21";/** * @vue/runtime-dom v3.5.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let qf;const kh=typeof window<"u"&&window.trustedTypes;if(kh)try{qf=kh.createPolicy("vue",{createHTML:e=>e})}catch{}const Y_=qf?e=>qf.createHTML(e):e=>e,ww="http://www.w3.org/2000/svg",Sw="http://www.w3.org/1998/Math/MathML",Qr=typeof document<"u"?document:null,Ph=Qr&&Qr.createElement("template"),Aw={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 o=t==="svg"?Qr.createElementNS(ww,e):t==="mathml"?Qr.createElementNS(Sw,e):n?Qr.createElement(e,{is:n}):Qr.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Qr.createTextNode(e),createComment:e=>Qr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Qr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const s=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{Ph.innerHTML=Y_(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const a=Ph.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},To="transition",Ds="animation",ca=Symbol("_vtc"),X_={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},Iw=Zt({},s_,X_),Rw=e=>(e.displayName="Transition",e.props=Iw,e),Ow=Rw((e,{slots:t})=>dt(vT,xw(e),t)),Qo=(e,t=[])=>{Oe(e)?e.forEach(n=>n(...t)):e&&e(...t)},Mh=e=>e?Oe(e)?e.some(t=>t.length>1):e.length>1:!1;function xw(e){const t={};for(const B in e)B in X_||(t[B]=e[B]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:u=s,appearToClass:c=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=Cw(o),g=h&&h[0],m=h&&h[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:v,onLeave:E,onLeaveCancelled:T,onBeforeAppear:x=y,onAppear:I=b,onAppearCancelled:P=v}=t,M=(B,ce,Te,ke)=>{B._enterCancelled=ke,Zo(B,ce?c:a),Zo(B,ce?u:s),Te&&Te()},V=(B,ce)=>{B._isLeaving=!1,Zo(B,f),Zo(B,p),Zo(B,d),ce&&ce()},H=B=>(ce,Te)=>{const ke=B?I:b,he=()=>M(ce,B,Te);Qo(ke,[ce,he]),Fh(()=>{Zo(ce,B?l:i),Wr(ce,B?c:a),Mh(ke)||Uh(ce,r,g,he)})};return Zt(t,{onBeforeEnter(B){Qo(y,[B]),Wr(B,i),Wr(B,s)},onBeforeAppear(B){Qo(x,[B]),Wr(B,l),Wr(B,u)},onEnter:H(!1),onAppear:H(!0),onLeave(B,ce){B._isLeaving=!0;const Te=()=>V(B,ce);Wr(B,f),B._enterCancelled?(Wr(B,d),$h()):($h(),Wr(B,d)),Fh(()=>{B._isLeaving&&(Zo(B,f),Wr(B,p),Mh(E)||Uh(B,r,m,Te))}),Qo(E,[B,Te])},onEnterCancelled(B){M(B,!1,void 0,!0),Qo(v,[B])},onAppearCancelled(B){M(B,!0,void 0,!0),Qo(P,[B])},onLeaveCancelled(B){V(B),Qo(T,[B])}})}function Cw(e){if(e==null)return null;if(Rt(e))return[Pc(e.enter),Pc(e.leave)];{const t=Pc(e);return[t,t]}}function Pc(e){return Ov(e)}function Wr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ca]||(e[ca]=new Set)).add(t)}function Zo(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[ca];n&&(n.delete(t),n.size||(e[ca]=void 0))}function Fh(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Nw=0;function Uh(e,t,n,r){const o=e._endId=++Nw,i=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(i,n);const{type:s,timeout:a,propCount:l}=Lw(e,t);if(!s)return r();const u=s+"end";let c=0;const f=()=>{e.removeEventListener(u,d),i()},d=p=>{p.target===e&&++c>=l&&f()};setTimeout(()=>{c(n[h]||"").split(", "),o=r(`${To}Delay`),i=r(`${To}Duration`),s=jh(o,i),a=r(`${Ds}Delay`),l=r(`${Ds}Duration`),u=jh(a,l);let c=null,f=0,d=0;t===To?s>0&&(c=To,f=s,d=i.length):t===Ds?u>0&&(c=Ds,f=u,d=l.length):(f=Math.max(s,u),c=f>0?s>u?To:Ds:null,d=c?c===To?i.length:l.length:0);const p=c===To&&/\b(?:transform|all)(?:,|$)/.test(r(`${To}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:p}}function jh(e,t){for(;e.lengthVh(n)+Vh(e[r])))}function Vh(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function $h(){return document.body.offsetHeight}function Dw(e,t,n){const r=e[ca];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const mu=Symbol("_vod"),J_=Symbol("_vsh"),G6={name:"show",beforeMount(e,{value:t},{transition:n}){e[mu]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):ks(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),ks(e,!0),r.enter(e)):r.leave(e,()=>{ks(e,!1)}):ks(e,t))},beforeUnmount(e,{value:t}){ks(e,t)}};function ks(e,t){e.style.display=t?e[mu]:"none",e[J_]=!t}const Q_=Symbol("");function q6(e){const t=Ot();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>yu(i,o))},r=()=>{const o=e(t.proxy);t.ce?yu(t.ce,o):Kf(t.subTree,o),n(o)};g_(()=>{au(r)}),pn(()=>{It(r,vr,{flush:"post"});const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),$o(()=>o.disconnect())})}function Kf(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Kf(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)yu(e.el,t);else if(e.type===Dt)e.children.forEach(n=>Kf(n,t));else if(e.type===ts){let{el:n,anchor:r}=e;for(;n&&(yu(n,t),n!==r);)n=n.nextSibling}}function yu(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const o in t){const i=M2(t[o]);n.setProperty(`--${o}`,i),r+=`--${o}: ${i};`}n[Q_]=r}}const kw=/(?:^|;)\s*display\s*:/;function Pw(e,t,n){const r=e.style,o=Pt(n);let i=!1;if(n&&!o){if(t)if(Pt(t))for(const s of t.split(";")){const a=s.slice(0,s.indexOf(":")).trim();n[a]==null&&zl(r,a,"")}else for(const s in t)n[s]==null&&zl(r,s,"");for(const s in n)s==="display"&&(i=!0),zl(r,s,n[s])}else if(o){if(t!==n){const s=r[Q_];s&&(n+=";"+s),r.cssText=n,i=kw.test(n)}}else t&&e.removeAttribute("style");mu in e&&(e[mu]=i?r.display:"",e[J_]&&(r.display="none"))}const Bh=/\s*!important$/;function zl(e,t,n){if(Oe(n))n.forEach(r=>zl(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Mw(e,t);Bh.test(n)?e.setProperty(vo(r),n.replace(Bh,""),"important"):e[r]=n}}const Hh=["Webkit","Moz","ms"],Mc={};function Mw(e,t){const n=Mc[t];if(n)return n;let r=zn(t);if(r!=="filter"&&r in e)return Mc[t]=r;r=Hu(r);for(let o=0;oFc||(Vw.then(()=>Fc=0),Fc=Date.now());function Bw(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Er(Hw(r,n.value),t,5,[r])};return n.value=e,n.attached=$w(),n}function Hw(e,t){if(Oe(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const Yh=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,zw=(e,t,n,r,o,i)=>{const s=o==="svg";t==="class"?Dw(e,r,s):t==="style"?Pw(e,n,r):Ra(t)?Qd(t)||Uw(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Gw(e,t,r,s))?(qh(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Gh(e,t,r,s,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Pt(r))?qh(e,zn(t),r,i,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Gh(e,t,r,s))};function Gw(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Yh(t)&&$e(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Yh(t)&&Pt(n)?!1:t in e}const jo=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Oe(t)?n=>Ji(t,n):t};function qw(e){e.target.composing=!0}function Xh(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const lr=Symbol("_assign"),K6={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[lr]=jo(o);const i=r||o.props&&o.props.type==="number";ro(e,t?"change":"input",s=>{if(s.target.composing)return;let a=e.value;n&&(a=a.trim()),i&&(a=tu(a)),e[lr](a)}),n&&ro(e,"change",()=>{e.value=e.value.trim()}),t||(ro(e,"compositionstart",qw),ro(e,"compositionend",Xh),ro(e,"change",Xh))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:i}},s){if(e[lr]=jo(s),e.composing)return;const a=(i||e.type==="number")&&!/^0\d/.test(e.value)?tu(e.value):e.value,l=t??"";a!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||o&&e.value.trim()===l)||(e.value=l))}},W6={deep:!0,created(e,t,n){e[lr]=jo(n),ro(e,"change",()=>{const r=e._modelValue,o=as(e),i=e.checked,s=e[lr];if(Oe(r)){const a=np(r,o),l=a!==-1;if(i&&!l)s(r.concat(o));else if(!i&&l){const u=[...r];u.splice(a,1),s(u)}}else if(vs(r)){const a=new Set(r);i?a.add(o):a.delete(o),s(a)}else s(Z_(e,i))})},mounted:Jh,beforeUpdate(e,t,n){e[lr]=jo(n),Jh(e,t,n)}};function Jh(e,{value:t,oldValue:n},r){e._modelValue=t;let o;if(Oe(t))o=np(t,r.props.value)>-1;else if(vs(t))o=t.has(r.props.value);else{if(t===n)return;o=mi(t,Z_(e,!0))}e.checked!==o&&(e.checked=o)}const Y6={created(e,{value:t},n){e.checked=mi(t,n.props.value),e[lr]=jo(n),ro(e,"change",()=>{e[lr](as(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[lr]=jo(r),t!==n&&(e.checked=mi(t,r.props.value))}},X6={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=vs(t);ro(e,"change",()=>{const i=Array.prototype.filter.call(e.options,s=>s.selected).map(s=>n?tu(as(s)):as(s));e[lr](e.multiple?o?new Set(i):i:i[0]),e._assigning=!0,rn(()=>{e._assigning=!1})}),e[lr]=jo(r)},mounted(e,{value:t}){Qh(e,t)},beforeUpdate(e,t,n){e[lr]=jo(n)},updated(e,{value:t}){e._assigning||Qh(e,t)}};function Qh(e,t){const n=e.multiple,r=Oe(t);if(!(n&&!r&&!vs(t))){for(let o=0,i=e.options.length;oString(u)===String(a)):s.selected=np(t,a)>-1}else s.selected=t.has(a);else if(mi(as(s),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function as(e){return"_value"in e?e._value:e.value}function Z_(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Kw=["ctrl","shift","alt","meta"],Ww={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)=>Kw.some(n=>e[`${n}Key`]&&!t.includes(n))},J6=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((o,...i)=>{for(let s=0;s{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=(o=>{if(!("key"in o))return;const i=vo(o.key);if(t.some(s=>s===i||Yw[s]===i))return e(o)}))},e1=Zt({patchProp:zw},Aw);let ea,Zh=!1;function Xw(){return ea||(ea=KT(e1))}function Jw(){return ea=Zh?ea:WT(e1),Zh=!0,ea}const Qw=((...e)=>{const t=Xw().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=n1(r);if(!o)return;const i=t._component;!$e(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const s=n(o,!1,t1(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t}),Zw=((...e)=>{const t=Jw().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=n1(r);if(o)return n(o,!0,t1(o))},t});function t1(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function n1(e){return Pt(e)?document.querySelector(e):e}const eS=/"(?:_|\\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*:/,tS=/"(?: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*:/,nS=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function rS(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){oS(e);return}return t}function oS(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function ls(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(!nS.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(eS.test(e)||tS.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,rS)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const iS=/#/g,sS=/&/g,aS=/\//g,lS=/=/g,yp=/\+/g,uS=/%5e/gi,cS=/%60/gi,fS=/%7c/gi,dS=/%20/gi;function pS(e){return encodeURI(""+e).replace(fS,"|")}function Wf(e){return pS(typeof e=="string"?e:JSON.stringify(e)).replace(yp,"%2B").replace(dS,"+").replace(iS,"%23").replace(sS,"%26").replace(cS,"`").replace(uS,"^").replace(aS,"%2F")}function Uc(e){return Wf(e).replace(lS,"%3D")}function us(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function hS(e){return us(e.replace(yp," "))}function gS(e){return us(e.replace(yp," "))}function tc(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 o=hS(r[1]);if(o==="__proto__"||o==="constructor")continue;const i=gS(r[2]||"");t[o]===void 0?t[o]=i:Array.isArray(t[o])?t[o].push(i):t[o]=[t[o],i]}return t}function mS(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Uc(e)}=${Wf(n)}`).join("&"):`${Uc(e)}=${Wf(t)}`:Uc(e)}function yS(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>mS(t,e[t])).filter(Boolean).join("&")}const vS=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,_S=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,bS=/^([/\\]\s*){2,}[^/\\]/,ES=/^[\s\0]*(blob|data|javascript|vbscript):$/i,TS=/\/$|\/\?|\/#/,wS=/^\.?\//;function Dn(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?vS.test(e):_S.test(e)||(t.acceptRelative?bS.test(e):!1)}function r1(e){return!!e&&ES.test(e)}function Yf(e="",t){return t?TS.test(e):e.endsWith("/")}function bi(e="",t){if(!t)return(Yf(e)?e.slice(0,-1):e)||"/";if(!Yf(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");o!==-1&&(n=e.slice(0,o),r=e.slice(o));const[i,...s]=n.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(s.length>0?`?${s.join("?")}`:"")+r}function fa(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Yf(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");if(o!==-1&&(n=e.slice(0,o),r=e.slice(o),!n))return r;const[i,...s]=n.split("?");return i+"/"+(s.length>0?`?${s.join("?")}`:"")+r}function SS(e=""){return e.startsWith("/")}function Xf(e=""){return SS(e)?e:"/"+e}function o1(e,t){if(i1(t)||Dn(e))return e;const n=bi(t);return e.startsWith(n)?e:fr(n,e)}function eg(e,t){if(i1(t))return e;const n=bi(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function Da(e,t){const n=nc(e),r={...tc(n.search),...t};return n.search=yS(r),RS(n)}function i1(e){return!e||e==="/"}function AS(e){return e&&e!=="/"}function fr(e,...t){let n=e||"";for(const r of t.filter(o=>AS(o)))if(n){const o=r.replace(wS,"");n=fa(n)+o}else n=r;return n}function s1(...e){const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let o=0;for(const s of n)if(!(!s||s==="/")){for(const[a,l]of s.split(t).entries())if(!(!l||l===".")){if(l===".."){if(r.length===1&&Dn(r[0]))continue;r.pop(),o--;continue}if(a===1&&r[r.length-1]?.endsWith(":/")){r[r.length-1]+="/"+l;continue}r.push(l),o++}}let i=r.join("/");return o>=0?n[0]?.startsWith("/")&&!i.startsWith("/")?i="/"+i:n[0]?.startsWith("./")&&!i.startsWith("./")&&(i="./"+i):i="../".repeat(-1*o)+i,n[n.length-1]?.endsWith("/")&&!i.endsWith("/")&&(i+="/"),i}function IS(e,t){return us(bi(e))===us(bi(t))}function tg(e,t,n={}){return n.trailingSlash||(e=fa(e),t=fa(t)),n.leadingSlash||(e=Xf(e),t=Xf(t)),n.encoding||(e=us(e),t=us(t)),e===t}const a1=Symbol.for("ufo:protocolRelative");function nc(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,d=""]=n;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!Dn(e,{acceptRelative:!0}))return Jf(e);const[,r="",o,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,s="",a=""]=i.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:u,hash:c}=Jf(a);return{protocol:r.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:s,pathname:l,search:u,hash:c,[a1]:!r}}function Jf(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function RS(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",o=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[a1]?(e.protocol||"")+"//":"")+o+i+t+n+r}class OS extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function xS(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",r=e.request?.url||String(e.request)||"/",o=`[${n}] ${JSON.stringify(r)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"",s=`${o}: ${i}${t?` ${t}`:""}`,a=new OS(s,e.error?{cause:e.error}:void 0);for(const l of["request","options","response"])Object.defineProperty(a,l,{get(){return e[l]}});for(const[l,u]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,l,{get(){return e.response&&e.response[u]}});return a}const CS=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function ng(e="GET"){return CS.has(e.toUpperCase())}function NS(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?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const LS=new Set(["image/svg","application/xml","application/xhtml","application/html"]),DS=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function kS(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return DS.test(t)?"json":LS.has(t)||t.startsWith("text/")?"text":"blob"}function PS(e,t,n,r){const o=MS(t?.headers??e?.headers,n?.headers,r);let i;return(n?.query||n?.params||t?.params||t?.query)&&(i={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:i,params:i,headers:o}}function MS(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[o,i]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(o,i);return r}async function pl(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const FS=new Set([408,409,425,429,500,502,503,504]),US=new Set([101,204,205,304]);function l1(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function o(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let c;typeof a.options.retry=="number"?c=a.options.retry:c=ng(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(c>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):FS.has(f))){const d=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return d>0&&await new Promise(p=>setTimeout(p,d)),i(a.request,{...a.options,retry:c-1})}}const u=xS(a);throw Error.captureStackTrace&&Error.captureStackTrace(u,i),u}const i=async function(l,u={}){const c={request:l,options:PS(l,u,e.defaults,n),response:void 0,error:void 0};c.options.method&&(c.options.method=c.options.method.toUpperCase()),c.options.onRequest&&await pl(c,c.options.onRequest),typeof c.request=="string"&&(c.options.baseURL&&(c.request=o1(c.request,c.options.baseURL)),c.options.query&&(c.request=Da(c.request,c.options.query),delete c.options.query),"query"in c.options&&delete c.options.query,"params"in c.options&&delete c.options.params),c.options.body&&ng(c.options.method)&&(NS(c.options.body)?(c.options.body=typeof c.options.body=="string"?c.options.body:JSON.stringify(c.options.body),c.options.headers=new n(c.options.headers||{}),c.options.headers.has("content-type")||c.options.headers.set("content-type","application/json"),c.options.headers.has("accept")||c.options.headers.set("accept","application/json")):("pipeTo"in c.options.body&&typeof c.options.body.pipeTo=="function"||typeof c.options.body.pipe=="function")&&("duplex"in c.options||(c.options.duplex="half")));let f;if(!c.options.signal&&c.options.timeout){const p=new r;f=setTimeout(()=>{const h=new Error("[TimeoutError]: The operation was aborted due to timeout");h.name="TimeoutError",h.code=23,p.abort(h)},c.options.timeout),c.options.signal=p.signal}try{c.response=await t(c.request,c.options)}catch(p){return c.error=p,c.options.onRequestError&&await pl(c,c.options.onRequestError),await o(c)}finally{f&&clearTimeout(f)}if((c.response.body||c.response._bodyInit)&&!US.has(c.response.status)&&c.options.method!=="HEAD"){const p=(c.options.parseResponse?"json":c.options.responseType)||kS(c.response.headers.get("content-type")||"");switch(p){case"json":{const h=await c.response.text(),g=c.options.parseResponse||ls;c.response._data=g(h);break}case"stream":{c.response._data=c.response.body||c.response._bodyInit;break}default:c.response._data=await c.response[p]()}}return c.options.onResponse&&await pl(c,c.options.onResponse),!c.options.ignoreResponseError&&c.response.status>=400&&c.response.status<600?(c.options.onResponseError&&await pl(c,c.options.onResponseError),await o(c)):c.response},s=async function(l,u){return(await i(l,u))._data};return s.raw=i,s.native=(...a)=>t(...a),s.create=(a={},l={})=>l1({...e,...l,defaults:{...e.defaults,...l.defaults,...a}}),s}const vu=(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")})(),jS=vu.fetch?(...e)=>vu.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),VS=vu.Headers,$S=vu.AbortController,BS=l1({fetch:jS,Headers:VS,AbortController:$S}),HS=BS,zS=()=>window?.__NUXT__?.config||window?.useNuxtApp?.().payload?.config,vp=()=>zS().app,GS=()=>vp().baseURL,qS=()=>vp().buildAssetsDir,_p=(...e)=>s1(u1(),qS(),...e),u1=(...e)=>{const t=vp(),n=t.cdnURL||t.baseURL;return e.length?s1(n,...e):n};globalThis.__buildAssetsURL=_p,globalThis.__publicAssetsURL=u1;globalThis.$fetch||(globalThis.$fetch=HS.create({baseURL:GS()}));"global"in globalThis||(globalThis.global=globalThis);function Qf(e,t={},n){for(const r in e){const o=e[r],i=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Qf(o,t,i):typeof o=="function"&&(t[i]=o)}return t}const KS={run:e=>e()},WS=()=>KS,c1=typeof console.createTask<"u"?console.createTask:WS;function YS(e,t){const n=t.shift(),r=c1(n);return e.reduce((o,i)=>o.then(()=>r.run(()=>i(...t))),Promise.resolve())}function XS(e,t){const n=t.shift(),r=c1(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function jc(e,t){for(const n of[...e])n(t)}class JS{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 o=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!r.allowDeprecated){let s=i.message;s||(s=`${o} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}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,o=(...i)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...i));return r=this.hook(t,o),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 o of r)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Qf(t),r=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of r.splice(0,r.length))o()}}removeHooks(t){const n=Qf(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(YS,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(XS,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&jc(this._before,o);const i=t(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&o&&jc(this._after,o)}):(this._after&&o&&jc(this._after,o),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 f1(){return new JS}function QS(e={}){let t,n=!1;const r=s=>{if(t&&t!==s)throw new Error("Context conflict")};let o;if(e.asyncContext){const s=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;s?o=new s:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const i=()=>{if(o){const s=o.getStore();if(s!==void 0)return s}return t};return{use:()=>{const s=i();if(s===void 0)throw new Error("Context is not available");return s},tryUse:()=>i(),set:(s,a)=>{a||r(s),t=s,n=!0},unset:()=>{t=void 0,n=!1},call:(s,a)=>{r(s),t=s;try{return o?o.run(s,a):a()}finally{n||(t=void 0)}},async callAsync(s,a){t=s;const l=()=>{t=s},u=()=>t===s?l:void 0;Zf.add(u);try{const c=o?o.run(s,a):a();return n||(t=void 0),await c}finally{Zf.delete(u)}}}}function ZS(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=QS({...e,...r})),t[n]}}}const _u=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},rg="__unctx__",eA=_u[rg]||(_u[rg]=ZS()),bp=(e,t={})=>eA.get(e,t),og="__unctx_async_handlers__",Zf=_u[og]||(_u[og]=new Set);function Bn(e){const t=[];for(const o of Zf){const i=o();i&&t.push(i)}const n=()=>{for(const o of t)o()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(o=>{throw n(),o})),[r,n]}const tA=!1,ig=!1,nA=!1,sg={id:"__nuxt-loader"},rA={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},oA={deep:!1},iA={},sA="#__nuxt",rc="nuxt-app",ag=36e5,aA="vite:preloadError";function d1(e=rc){return bp(e,{asyncContext:!1})}const lA="__nuxt_plugin";function uA(e){let t=0;const n={_id:e.id||rc||"nuxt-app",_scope:Oa(),provide:void 0,versions:{get nuxt(){return"4.0.3"},get vue(){return n.vueApp.version}},payload:Fr({...e.ssrContext?.payload||{},data:Fr({}),state:dn({}),once:new Set,_errors:Fr({})}),static:{data:{}},runWithContext(o){return n._scope.active&&!Vo()?n._scope.run(()=>lg(n,o)):lg(n,o)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let o=!1;return()=>{if(!o&&(o=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:Fr({}),_payloadRevivers:{},...e};{const o=window.__NUXT__;if(o)for(const i in o)switch(i){case"data":case"state":case"_errors":Object.assign(n.payload[i],o[i]);break;default:n.payload[i]=o[i]}}n.hooks=f1(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,i)=>{const s="$"+o;hl(n,s,i),hl(n.vueApp.config.globalProperties,s,i)},hl(n.vueApp,"$nuxt",n),hl(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(aA,i=>{n.callHook("app:chunkError",{error:i.payload}),i.payload.message.includes("Unable to preload CSS")&&i.preventDefault()}),window.useNuxtApp||=Ve;const o=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",o)}const r=n.payload.config;return n.provide("config",r),n}function cA(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function fA(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 dA(e,t){const n=new Set,r=[],o=[];let i,s=0;async function a(l){const u=l.dependsOn?.filter(c=>t.some(f=>f._name===c)&&!n.has(c))??[];if(u.length>0)r.push([new Set(u),l]);else{const c=fA(e,l).then(async()=>{l._name&&(n.add(l._name),await Promise.all(r.map(async([f,d])=>{f.has(l._name)&&(f.delete(l._name),f.size===0&&(s++,await a(d)))})))}).catch(f=>{if(!l.parallel&&!e.payload.error)throw f;i||=f});l.parallel?o.push(c):await c}}for(const l of t)cA(e,l);for(const l of t)await a(l);if(await Promise.all(o),s)for(let l=0;l{}),e,{[lA]:!0,_name:t})}function lg(e,t,n){const r=()=>t();return d1(e._id).set(e),e.vueApp.runWithContext(r)}function p1(e){let t;return bo()&&(t=Ot()?.appContext.app.$nuxt),t||=d1(e).tryUse(),t||null}function Ve(e){const t=p1(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function Mt(e){return Ve().$config}function hl(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function pA(e,t){return{ctx:{table:e},matchAll:n=>g1(n,e)}}function h1(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,o])=>[r,h1(o)])):new Map(Object.entries(e[n]));return t}function hA(e){return pA(h1(e))}function g1(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[i,s]of ug(t.wildcard))(e===i||e.startsWith(i+"/"))&&r.push(s);for(const[i,s]of ug(t.dynamic))if(e.startsWith(i+"/")){const a="/"+e.slice(i.length).split("/").splice(2).join("/");r.push(...g1(a,s))}const o=t.static.get(e);return o&&r.push(o),r.filter(Boolean)}function ug(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function Vc(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 ed(e,t,n=".",r){if(!Vc(t))return ed(e,{},n,r);const o=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const s=e[i];s!=null&&(r&&r(o,i,s,n)||(Array.isArray(s)&&Array.isArray(o[i])?o[i]=[...s,...o[i]]:Vc(s)&&Vc(o[i])?o[i]=ed(s,o[i],(n?`${n}.`:"")+i.toString(),r):o[i]=s))}return o}function gA(e){return(...t)=>t.reduce((n,r)=>ed(n,r,"",e),{})}const ka=gA();function mA(e,t){try{return t in e}catch{return!1}}class cg extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(t,n={}){super(t,n),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:td(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=m1(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}function yA(e){if(typeof e=="string")return new cg(e);if(vA(e))return e;const t=new cg(e.message??e.statusMessage??"",{cause:e.cause||e});if(mA(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=td(e.statusCode,t.statusCode):e.status&&(t.statusCode=td(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;m1(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function vA(e){return e?.constructor?.__h3_error__===!0}const _A=/[^\u0009\u0020-\u007E]/g;function m1(e=""){return e.replace(_A,"")}function td(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const y1=Symbol("layout-meta"),Ei=Symbol("route"),Vt=()=>Ve()?.$router,Mn=()=>bo()?Ut(Ei,Ve()._route):Ve()._route;function Z6(e){return e}const bA=(e,t,n={})=>{const r=Ve(),o=n.global||typeof e!="string",i=t;if(!i){console.warn("[nuxt] No route middleware passed to `addRouteMiddleware`.",e);return}o?r._middleware.global.push(i):r._middleware.named[e]=i},EA=()=>{try{if(Ve()._processingMiddleware)return!0}catch{return!1}return!1},xo=(e,t)=>{e||="/";const n=typeof e=="string"?e:"path"in e?nd(e):Vt().resolve(e).href;if(t?.open){const{target:l="_blank",windowFeatures:u={}}=t.open,c=Object.entries(u).filter(([f,d])=>d!==void 0).map(([f,d])=>`${f.toLowerCase()}=${d}`).join(", ");return open(n,l,c),Promise.resolve()}const r=Dn(n,{acceptRelative:!0}),o=t?.external||r;if(o){if(!t?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:l}=new URL(n,window.location.href);if(l&&r1(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const i=EA();if(!o&&i){if(t?.replace){if(typeof e=="string"){const{pathname:l,search:u,hash:c}=nc(e);return{path:l,...u&&{query:tc(u)},...c&&{hash:c},replace:!0}}return{...e,replace:!0}}return e}const s=Vt(),a=Ve();return o?(a._scope.stop(),t?.replace?location.replace(n):location.href=n,i?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t?.replace?s.replace(e):s.push(e)};function nd(e){return Da(e.path||"",e.query||{})+(e.hash||"")}const v1="__nuxt_error",Pa=()=>xa(Ve().payload,"error"),oi=e=>{const t=Po(e);try{const n=Ve(),r=Pa();n.hooks.callHook("app:error",t),r.value||=t}catch{throw t}return t},TA=async(e={})=>{const t=Ve(),n=Pa();t.callHook("app:error:cleared",e),e.redirect&&await Vt().replace(e.redirect),n.value=void 0},_1=e=>!!e&&typeof e=="object"&&v1 in e,Po=e=>{const t=yA(e);return Object.defineProperty(t,v1,{value:!0,configurable:!1,writable:!1}),t};function fg(e){const t=SA(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let o=0;o>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const AA=-1,IA=-2,RA=-3,OA=-4,xA=-5,CA=-6;function NA(e,t){return LA(JSON.parse(e),t)}function LA(e,t){if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function o(i,s=!1){if(i===AA)return;if(i===RA)return NaN;if(i===OA)return 1/0;if(i===xA)return-1/0;if(i===CA)return-0;if(s)throw new Error("Invalid input");if(i in r)return r[i];const a=n[i];if(!a||typeof a!="object")r[i]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],u=t?.[l];if(u)return r[i]=u(o(a[1]));switch(l){case"Date":r[i]=new Date(a[1]);break;case"Set":const c=new Set;r[i]=c;for(let p=1;p`${r}:${String(o)}`).join(",")}`}function bu(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());let o;if(t&&(o=t(n,e)),Array.isArray(o))return o.map(i=>bu(i,t));if(o?.constructor===Object){const i={};for(const s of Object.keys(o))i[s]=bu(o[s],t,s);return i}return o}function BA(e,t){const n=e==="style"?new Map:new Set;function r(o){const i=o.trim();if(i)if(e==="style"){const[s,...a]=i.split(":").map(l=>l.trim());s&&a.length&&n.set(s,a.join(":"))}else i.split(" ").filter(Boolean).forEach(s=>n.add(s))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(o=>r(o)):t&&typeof t=="object"&&Object.entries(t).forEach(([o,i])=>{i&&i!=="false"&&(e==="style"?n.set(o.trim(),i):r(o))}),n}function E1(e,t){return e.props=e.props||{},t?e.tag==="templateParams"?(e.props=t,e):(Object.entries(t).forEach(([n,r])=>{if(r===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=BA(n,r);return}if(FA.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof r=="object"){let s=t.type;if(t.type||(s="application/json"),!s?.endsWith("json")&&s!=="speculationrules")return;t.type=s,e.props.type=s,e[n]=JSON.stringify(r)}else e[n]=r;return}const o=String(r),i=n.startsWith("data-");o==="true"||o===""?e.props[n]=i?o:!0:!r&&i&&o==="false"?e.props[n]="false":r!==void 0&&(e.props[n]=r)}),e):e}function HA(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=E1({tag:e,props:{}},n);return r.key&&DA.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(o=>({...r,props:{...r.props,content:o}})):r}function zA(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(o,i)=>{for(let s=0;s{if(i!==void 0)for(const s of Array.isArray(i)?i:[i])r.push(HA(o,s))}),r.flat()}const hg=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,gg={base:-10,title:10},GA={critical:-8,high:-1,low:2},mg={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}},qA=/@import/,Ps=e=>e===""||e===!0;function KA(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=GA[t.tagPriority]||0,o=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:mg;if(t.tag in gg)n=gg[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=mg.meta[i])}else t.tag==="link"&&t.props.rel?n=o.link[t.props.rel]:t.tag==="script"?Ps(t.props.async)?n=o.script.async:t.props.src&&!Ps(t.props.defer)&&!Ps(t.props.async)&&t.props.type!=="module"&&!t.props.type?.endsWith("json")?n=o.script.sync:Ps(t.props.defer)&&t.props.src&&!Ps(t.props.async)&&(n=o.script.defer):t.tag==="style"&&(n=t.innerHTML&&qA.test(t.innerHTML)?o.style.imported:o.style.sync);return(n||100)+r}function yg(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 WA(e={}){const t=f1();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,o=new Map,i=new Set,s={_entryCount:1,plugins:o,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:a=>yg(s,a),push(a,l){const u={...l||{}};delete u.head;const c=u._index??s._entryCount++,f={_i:c,input:a,options:u},d={_poll(p=!1){s.dirty=!0,!p&&i.add(c),t.callHook("entries:updated",s)},dispose(){r.delete(c)&&s.invalidate()},patch(p){(!u.mode||u.mode==="server"&&n||u.mode==="client"&&!n)&&(f.input=p,r.set(c,f),d._poll())}};return d.patch(a),d},async resolveTags(){const a={tagMap:new Map,tags:[],entries:[...s.entries.values()]};for(await t.callHook("entries:resolve",a);i.size;){const d=i.values().next().value;i.delete(d);const p=r.get(d);if(p){const h={tags:zA(p.input,e.propResolvers||[]).map(g=>Object.assign(g,p.options)),entry:p};await t.callHook("entries:normalize",h),p._tags=h.tags.map((g,m)=>(g._w=KA(s,g),g._p=(p._i<<10)+m,g._d=rd(g),g))}}let l=!1;a.entries.flatMap(d=>(d._tags||[]).map(p=>({...p,props:{...p.props}}))).sort(hg).reduce((d,p)=>{const h=String(p._d||p._p);if(!d.has(h))return d.set(h,p);const g=d.get(h);if((p?.tagDuplicateStrategy||(UA.has(p.tag)?"merge":null)||(p.key&&p.key===g.key?"merge":null))==="merge"){const y={...g.props};Object.entries(p.props).forEach(([b,v])=>y[b]=b==="style"?new Map([...g.props.style||new Map,...v]):b==="class"?new Set([...g.props.class||new Set,...v]):v),d.set(h,{...p,props:y})}else p._p>>10===g._p>>10&&p.tag==="meta"&&b1(h)?(d.set(h,Object.assign([...Array.isArray(g)?g:[g],p],p)),l=!0):(p._w===g._w?p._p>g._p:p?._wyg(s,a)),s.hooks.callHook("init",s),e.init?.forEach(a=>a&&s.push(a)),s}const YA=(e,t)=>At(t)?ft(t):t,Ep="usehead";function XA(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Ep,e)}}.install}function JA(){if(bo()){const e=Ut(Ep);if(!e)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function QA(e,t={}){const n=t.head||JA();return n.ssr?n.push(e||{},t):ZA(n,e,t)}function ZA(e,t,n={}){const r=Fe(!1);let o;return go(()=>{const s=r.value?{}:bu(t,YA);o?o.patch(s):o=e.push(s,n)}),Ot()&&(Ai(()=>{o.dispose()}),d_(()=>{r.value=!0}),f_(()=>{r.value=!1})),o}function eI(e){const t=e||Ve();return t.ssrContext?.head||t.runWithContext(()=>{if(bo()){const n=Ut(Ep);if(!n)throw new Error("[nuxt] [unhead] Missing Unhead instance.");return n}})}function Tp(e,t={}){const n=eI(t.nuxt);return QA(e,{head:n,...t})}const tI="modulepreload",nI=function(e,t){return new URL(e,t).href},vg={},oe=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){let u=function(c){return Promise.all(c.map(f=>Promise.resolve(f).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};const s=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=a?.nonce||a?.getAttribute("nonce");o=u(n.map(c=>{if(c=nI(c,r),c in vg)return;vg[c]=!0;const f=c.endsWith(".css"),d=f?'[rel="stylesheet"]':"";if(!!r)for(let g=s.length-1;g>=0;g--){const m=s[g];if(m.href===c&&(!f||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${d}`))return;const h=document.createElement("link");if(h.rel=f?"stylesheet":tI,f||(h.as="script"),h.crossOrigin="",h.href=c,l&&h.setAttribute("nonce",l),document.head.appendChild(h),f)return new Promise((g,m)=>{h.addEventListener("load",g),h.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return o.then(s=>{for(const a of s||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})};let Gl,ql;function rI(){return Gl=$fetch(_p(`builds/meta/${Mt().app.buildId}.json`),{responseType:"json"}),Gl.then(e=>{ql=hA(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),Gl}function oc(){return Gl||rI()}async function wp(e){const t=typeof e=="string"?e:e.path;if(await oc(),!ql)return console.error("[nuxt] Error creating app manifest matcher.",ql),{};try{return ka({},...ql.matchAll(t).reverse())}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function _g(e,t={}){if(!await w1(e))return null;const r=await iI(e,t);return await T1(r)||null}const oI="_payload.json";async function iI(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Dn(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=Mt(),o=t.hash||(t.fresh?Date.now():r.app.buildId),i=r.app.cdnURL,s=i&&await w1(e)?i:r.app.baseURL;return fr(s,n.pathname,oI+(o?`?${o}`:""))}async function T1(e){const t=fetch(e,{cache:"force-cache"}).then(n=>n.text().then(S1));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function w1(e=Mn().path){const t=Ve();return e=bi(e),(await oc()).prerendered.includes(e)?!0:t.runWithContext(async()=>{const r=await wp({path:e});return!!r.prerender&&!r.redirect})}let ei=null;async function sI(){if(ei)return ei;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await S1(e.textContent||""),n=e.dataset.src?await T1(e.dataset.src):void 0;return ei={...t,...n,...window.__NUXT__},ei.config?.public&&(ei.config.public=dn(ei.config.public)),ei}async function S1(e){return await NA(e,Ve()._payloadRevivers)}function aI(e,t){Ve()._payloadRevivers[e]=t}const lI=[["NuxtError",e=>Po(e)],["EmptyShallowRef",e=>Gn(e==="_"?void 0:e==="0n"?BigInt(0):ls(e))],["EmptyRef",e=>Fe(e==="_"?void 0:e==="0n"?BigInt(0):ls(e))],["ShallowRef",e=>Gn(e)],["ShallowReactive",e=>Fr(e)],["Ref",e=>Fe(e)],["Reactive",e=>dn(e)]],uI=zt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,o]of lI)aI(r,o);Object.assign(e.payload,([t,n]=Bn(()=>e.runWithContext(sI)),t=await t,n(),t)),delete window.__NUXT__}});async function Sp(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 o=>{const i=new Map,s=new Promise(p=>{e.resolveTags().then(h=>{p(h.map(g=>{const m=i.get(g._d)||0,y={tag:g,id:(m?`${g._d}:${m}`:g._d)||pg(g),shouldRender:!0};return g._d&&b1(g._d)&&i.set(g._d,m+1),y}))})});let a=e._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const p of["body","head"]){const h=n[p]?.children;for(const g of h){const m=g.tagName.toLowerCase();if(!dg.has(m))continue;const y=E1({tag:m,props:{}},{innerHTML:g.innerHTML,...g.getAttributeNames().reduce((b,v)=>(b[v]=g.getAttribute(v),b),{})||{}});if(y.key=g.getAttribute("data-hid")||void 0,y._d=rd(y)||pg(y),a.elMap.has(y._d)){let b=1,v=y._d;for(;a.elMap.has(v);)v=`${y._d}:${b++}`;a.elMap.set(v,g)}else a.elMap.set(y._d,g)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function l(p,h,g){const m=`${p}:${h}`;a.sideEffects[m]=g,delete a.pendingSideEffects[m]}function u({id:p,$el:h,tag:g}){const m=g.tag.endsWith("Attrs");a.elMap.set(p,h),m||(g.textContent&&g.textContent!==h.textContent&&(h.textContent=g.textContent),g.innerHTML&&g.innerHTML!==h.innerHTML&&(h.innerHTML=g.innerHTML),l(p,"el",()=>{h?.remove(),a.elMap.delete(p)}));for(const y in g.props){if(!Object.prototype.hasOwnProperty.call(g.props,y))continue;const b=g.props[y];if(y.startsWith("on")&&typeof b=="function"){const E=h?.dataset;if(E&&E[`${y}fired`]){const T=y.slice(0,-5);b.call(h,new Event(T.substring(2)))}h.getAttribute(`data-${y}`)!==""&&((g.tag==="bodyAttrs"?n.defaultView:h).addEventListener(y.substring(2),b.bind(h)),h.setAttribute(`data-${y}`,""));continue}const v=`attr:${y}`;if(y==="class"){if(!b)continue;for(const E of b)m&&l(p,`${v}:${E}`,()=>h.classList.remove(E)),!h.classList.contains(E)&&h.classList.add(E)}else if(y==="style"){if(!b)continue;for(const[E,T]of b)l(p,`${v}:${E}`,()=>{h.style.removeProperty(E)}),h.style.setProperty(E,T)}else b!==!1&&b!==null&&(h.getAttribute(y)!==b&&h.setAttribute(y,b===!0?"":String(b)),m&&l(p,v,()=>h.removeAttribute(y)))}}const c=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},d=await s;for(const p of d){const{tag:h,shouldRender:g,id:m}=p;if(g){if(h.tag==="title"){n.title=h.textContent,l("title","",()=>n.title=a.title);continue}p.$el=p.$el||a.elMap.get(m),p.$el?u(p):dg.has(h.tag)&&c.push(p)}}for(const p of c){const h=p.tag.tagPosition||"head";p.$el=n.createElement(p.tag.tag),u(p),f[h]=f[h]||n.createDocumentFragment(),f[h].appendChild(p.$el)}for(const p of d)await e.hooks.callHook("dom:renderTag",p,n,l);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 p in a.pendingSideEffects)a.pendingSideEffects[p]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:d}),o()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function cI(e={}){const t=e.domOptions?.render||Sp;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return WA({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function fI(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function dI(e={}){const t=cI({domOptions:{render:fI(()=>Sp(t),n=>setTimeout(n,0))},...e});return t.install=XA(t),t}const pI={disableDefaults:!0},hI=zt({name:"nuxt:head",enforce:"pre",setup(e){const t=dI(pI);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await Sp(t)};t.hooks.hook("dom:beforeRender",o=>{o.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)}}});/*! * vue-router v4.5.1 * (c) 2025 Eduardo San Martin Morote * @license MIT */const Vi=typeof document<"u";function A1(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function gI(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&A1(e.default)}const vt=Object.assign;function $c(e,t){const n={};for(const r in t){const o=t[r];n[r]=Tr(o)?o.map(e):e(o)}return n}const ta=()=>{},Tr=Array.isArray,I1=/#/g,mI=/&/g,yI=/\//g,vI=/=/g,_I=/\?/g,R1=/\+/g,bI=/%5B/g,EI=/%5D/g,O1=/%5E/g,TI=/%60/g,x1=/%7B/g,wI=/%7C/g,C1=/%7D/g,SI=/%20/g;function Ap(e){return encodeURI(""+e).replace(wI,"|").replace(bI,"[").replace(EI,"]")}function AI(e){return Ap(e).replace(x1,"{").replace(C1,"}").replace(O1,"^")}function od(e){return Ap(e).replace(R1,"%2B").replace(SI,"+").replace(I1,"%23").replace(mI,"%26").replace(TI,"`").replace(x1,"{").replace(C1,"}").replace(O1,"^")}function II(e){return od(e).replace(vI,"%3D")}function RI(e){return Ap(e).replace(I1,"%23").replace(_I,"%3F")}function OI(e){return e==null?"":RI(e).replace(yI,"%2F")}function da(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const xI=/\/$/,CI=e=>e.replace(xI,"");function Bc(e,t,n="/"){let r,o={},i="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(r=t.slice(0,l),i=t.slice(l+1,a>-1?a:t.length),o=e(i)),a>-1&&(r=r||t.slice(0,a),s=t.slice(a,t.length)),r=kI(r??t,n),{fullPath:r+(i&&"?")+i+s,path:r,query:o,hash:da(s)}}function NI(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function bg(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function LI(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&cs(t.matched[r],n.matched[o])&&N1(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function cs(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function N1(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!DI(e[n],t[n]))return!1;return!0}function DI(e,t){return Tr(e)?Eg(e,t):Tr(t)?Eg(t,e):e===t}function Eg(e,t){return Tr(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function kI(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let i=n.length-1,s,a;for(s=0;s1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(s).join("/")}const ir={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var pa;(function(e){e.pop="pop",e.push="push"})(pa||(pa={}));var na;(function(e){e.back="back",e.forward="forward",e.unknown=""})(na||(na={}));function PI(e){if(!e)if(Vi){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),CI(e)}const MI=/^[^#]+#/;function FI(e,t){return e.replace(MI,"#")+t}function UI(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 ic=()=>({left:window.scrollX,top:window.scrollY});function jI(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=UI(o,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 Tg(e,t){return(history.state?history.state.position-t:-1)+e}const id=new Map;function VI(e,t){id.set(e,t)}function $I(e){const t=id.get(e);return id.delete(e),t}let BI=()=>location.protocol+"//"+location.host;function L1(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){let a=o.includes(e.slice(i))?e.slice(i).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),bg(l,"")}return bg(n,e)+r+o}function HI(e,t,n,r){let o=[],i=[],s=null;const a=({state:d})=>{const p=L1(e,location),h=n.value,g=t.value;let m=0;if(d){if(n.value=p,t.value=d,s&&s===h){s=null;return}m=g?d.position-g.position:0}else r(p);o.forEach(y=>{y(n.value,h,{delta:m,type:pa.pop,direction:m?m>0?na.forward:na.back:na.unknown})})};function l(){s=n.value}function u(d){o.push(d);const p=()=>{const h=o.indexOf(d);h>-1&&o.splice(h,1)};return i.push(p),p}function c(){const{history:d}=window;d.state&&d.replaceState(vt({},d.state,{scroll:ic()}),"")}function f(){for(const d of i)d();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:l,listen:u,destroy:f}}function wg(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?ic():null}}function zI(e){const{history:t,location:n}=window,r={value:L1(e,n)},o={value:t.state};o.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:BI()+e+l;try{t[c?"replaceState":"pushState"](u,"",d),o.value=u}catch(p){console.error(p),n[c?"replace":"assign"](d)}}function s(l,u){const c=vt({},t.state,wg(o.value.back,l,o.value.forward,!0),u,{position:o.value.position});i(l,c,!0),r.value=l}function a(l,u){const c=vt({},o.value,t.state,{forward:l,scroll:ic()});i(c.current,c,!0);const f=vt({},wg(r.value,l,null),{position:c.position+1},u);i(l,f,!1),r.value=l}return{location:r,state:o,push:a,replace:s}}function GI(e){e=PI(e);const t=zI(e),n=HI(e,t.state,t.location,t.replace);function r(i,s=!0){s||n.pauseListeners(),history.go(i)}const o=vt({location:"",base:e,go:r,createHref:FI.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function qI(e){return typeof e=="string"||e&&typeof e=="object"}function D1(e){return typeof e=="string"||typeof e=="symbol"}const k1=Symbol("");var Sg;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Sg||(Sg={}));function fs(e,t){return vt(new Error,{type:e,[k1]:!0},t)}function Nr(e,t){return e instanceof Error&&k1 in e&&(t==null||!!(e.type&t))}const Ag="[^/]+?",KI={sensitive:!1,strict:!1,start:!0,end:!0},WI=/[.+*?^${}()[\]/\\]/g;function YI(e,t){const n=vt({},KI,t),r=[];let o=n.start?"^":"";const i=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(o+="/");for(let f=0;ft.length?t.length===1&&t[0]===80?1:-1:0}function P1(e,t){let n=0;const r=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const JI={type:0,value:""},QI=/[a-zA-Z0-9_]/;function ZI(e){if(!e)return[[]];if(e==="/")return[[JI]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${u}": ${p}`)}let n=0,r=n;const o=[];let i;function s(){i&&o.push(i),i=[]}let a=0,l,u="",c="";function f(){u&&(n===0?i.push({type:0,value:u}):n===1||n===2||n===3?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;a{s(v)}:ta}function s(f){if(D1(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(s),d.alias.forEach(s))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(s),f.alias.forEach(s))}}function a(){return n}function l(f){const d=oR(f,n);n.splice(d,0,f),f.record.name&&!xg(f)&&r.set(f.record.name,f)}function u(f,d){let p,h={},g,m;if("name"in f&&f.name){if(p=r.get(f.name),!p)throw fs(1,{location:f});m=p.record.name,h=vt(Rg(d.params,p.keys.filter(v=>!v.optional).concat(p.parent?p.parent.keys.filter(v=>v.optional):[]).map(v=>v.name)),f.params&&Rg(f.params,p.keys.map(v=>v.name))),g=p.stringify(h)}else if(f.path!=null)g=f.path,p=n.find(v=>v.re.test(g)),p&&(h=p.parse(g),m=p.record.name);else{if(p=d.name?r.get(d.name):n.find(v=>v.re.test(d.path)),!p)throw fs(1,{location:f,currentLocation:d});m=p.record.name,h=vt({},d.params,f.params),g=p.stringify(h)}const y=[];let b=p;for(;b;)y.unshift(b.record),b=b.parent;return{name:m,path:g,params:h,matched:y,meta:rR(y)}}e.forEach(f=>i(f));function c(){n.length=0,r.clear()}return{addRoute:i,resolve:u,removeRoute:s,clearRoutes:c,getRoutes:a,getRecordMatcher:o}}function Rg(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Og(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:nR(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 nR(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 xg(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function rR(e){return e.reduce((t,n)=>vt(t,n.meta),{})}function Cg(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function oR(e,t){let n=0,r=t.length;for(;n!==r;){const i=n+r>>1;P1(e,t[i])<0?r=i:n=i+1}const o=iR(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function iR(e){let t=e;for(;t=t.parent;)if(M1(t)&&P1(e,t)===0)return t}function M1({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function sR(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;oi&&od(i)):[r&&od(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function aR(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Tr(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const lR=Symbol(""),Lg=Symbol(""),Ip=Symbol(""),Rp=Symbol(""),sd=Symbol("");function Ms(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Co(e,t,n,r,o,i=s=>s()){const s=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const u=d=>{d===!1?l(fs(4,{from:n,to:t})):d instanceof Error?l(d):qI(d)?l(fs(2,{from:t,to:d})):(s&&r.enterCallbacks[o]===s&&typeof d=="function"&&s.push(d),a())},c=i(()=>e.call(r&&r.instances[o],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(d=>l(d))})}function Hc(e,t,n,r,o=i=>i()){const i=[];for(const s of e)for(const a in s.components){let l=s.components[a];if(!(t!=="beforeRouteEnter"&&!s.instances[a]))if(A1(l)){const c=(l.__vccOpts||l)[t];c&&i.push(Co(c,n,r,s,a,o))}else{let u=l();i.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${a}" at "${s.path}"`);const f=gI(c)?c.default:c;s.mods[a]=c,s.components[a]=f;const p=(f.__vccOpts||f)[t];return p&&Co(p,n,r,s,a,o)()}))}}return i}function Dg(e){const t=Ut(Ip),n=Ut(Rp),r=te(()=>{const l=Y(e.to);return t.resolve(l)}),o=te(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const d=f.findIndex(cs.bind(null,c));if(d>-1)return d;const p=kg(l[u-2]);return u>1&&kg(c)===p&&f[f.length-1].path!==p?f.findIndex(cs.bind(null,l[u-2])):d}),i=te(()=>o.value>-1&&pR(n.params,r.value.params)),s=te(()=>o.value>-1&&o.value===n.matched.length-1&&N1(n.params,r.value.params));function a(l={}){if(dR(l)){const u=t[Y(e.replace)?"replace":"push"](Y(e.to)).catch(ta);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:te(()=>r.value.href),isActive:i,isExactActive:s,navigate:a}}function uR(e){return e.length===1?e[0]:e}const cR=De({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:Dg,setup(e,{slots:t}){const n=dn(Dg(e)),{options:r}=Ut(Ip),o=te(()=>({[Pg(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Pg(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&uR(t.default(n));return e.custom?i:dt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},i)}}}),fR=cR;function dR(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 pR(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!Tr(o)||o.length!==r.length||r.some((i,s)=>i!==o[s]))return!1}return!0}function kg(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Pg=(e,t,n)=>e??t??n,hR=De({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ut(sd),o=te(()=>e.route||r.value),i=Ut(Lg,0),s=te(()=>{let u=Y(i);const{matched:c}=o.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),a=te(()=>o.value.matched[s.value]);ao(Lg,te(()=>s.value+1)),ao(lR,a),ao(sd,o);const l=Fe();return It(()=>[l.value,a.value,e.name],([u,c,f],[d,p,h])=>{c&&(c.instances[f]=u,p&&p!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=p.leaveGuards),c.updateGuards.size||(c.updateGuards=p.updateGuards))),u&&c&&(!p||!cs(c,p)||!d)&&(c.enterCallbacks[f]||[]).forEach(g=>g(u))},{flush:"post"}),()=>{const u=o.value,c=e.name,f=a.value,d=f&&f.components[c];if(!d)return Mg(n.default,{Component:d,route:u});const p=f.props[c],h=p?p===!0?u.params:typeof p=="function"?p(u):p:null,m=dt(d,vt({},h,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return Mg(n.default,{Component:m,route:u})||m}}});function Mg(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const F1=hR;function gR(e){const t=tR(e.routes,e),n=e.parseQuery||sR,r=e.stringifyQuery||Ng,o=e.history,i=Ms(),s=Ms(),a=Ms(),l=Gn(ir);let u=ir;Vi&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=$c.bind(null,J=>""+J),f=$c.bind(null,OI),d=$c.bind(null,da);function p(J,ie){let ae,ve;return D1(J)?(ae=t.getRecordMatcher(J),ve=ie):ve=J,t.addRoute(ve,ae)}function h(J){const ie=t.getRecordMatcher(J);ie&&t.removeRoute(ie)}function g(){return t.getRoutes().map(J=>J.record)}function m(J){return!!t.getRecordMatcher(J)}function y(J,ie){if(ie=vt({},ie||l.value),typeof J=="string"){const D=Bc(n,J,ie.path),j=t.resolve({path:D.path},ie),ne=o.createHref(D.fullPath);return vt(D,j,{params:d(j.params),hash:da(D.hash),redirectedFrom:void 0,href:ne})}let ae;if(J.path!=null)ae=vt({},J,{path:Bc(n,J.path,ie.path).path});else{const D=vt({},J.params);for(const j in D)D[j]==null&&delete D[j];ae=vt({},J,{params:f(D)}),ie.params=f(ie.params)}const ve=t.resolve(ae,ie),Ke=J.hash||"";ve.params=c(d(ve.params));const ze=NI(r,vt({},J,{hash:AI(Ke),path:ve.path})),C=o.createHref(ze);return vt({fullPath:ze,hash:Ke,query:r===Ng?aR(J.query):J.query||{}},ve,{redirectedFrom:void 0,href:C})}function b(J){return typeof J=="string"?Bc(n,J,l.value.path):vt({},J)}function v(J,ie){if(u!==J)return fs(8,{from:ie,to:J})}function E(J){return I(J)}function T(J){return E(vt(b(J),{replace:!0}))}function x(J){const ie=J.matched[J.matched.length-1];if(ie&&ie.redirect){const{redirect:ae}=ie;let ve=typeof ae=="function"?ae(J):ae;return typeof ve=="string"&&(ve=ve.includes("?")||ve.includes("#")?ve=b(ve):{path:ve},ve.params={}),vt({query:J.query,hash:J.hash,params:ve.path!=null?{}:J.params},ve)}}function I(J,ie){const ae=u=y(J),ve=l.value,Ke=J.state,ze=J.force,C=J.replace===!0,D=x(ae);if(D)return I(vt(b(D),{state:typeof D=="object"?vt({},Ke,D.state):Ke,force:ze,replace:C}),ie||ae);const j=ae;j.redirectedFrom=ie;let ne;return!ze&&LI(r,ve,ae)&&(ne=fs(16,{to:j,from:ve}),Se(ve,ve,!0,!1)),(ne?Promise.resolve(ne):V(j,ve)).catch(X=>Nr(X)?Nr(X,2)?X:tt(X):se(X,j,ve)).then(X=>{if(X){if(Nr(X,2))return I(vt({replace:C},b(X.to),{state:typeof X.to=="object"?vt({},Ke,X.to.state):Ke,force:ze}),ie||j)}else X=B(j,ve,!0,C,Ke);return H(j,ve,X),X})}function P(J,ie){const ae=v(J,ie);return ae?Promise.reject(ae):Promise.resolve()}function M(J){const ie=it.values().next().value;return ie&&typeof ie.runWithContext=="function"?ie.runWithContext(J):J()}function V(J,ie){let ae;const[ve,Ke,ze]=mR(J,ie);ae=Hc(ve.reverse(),"beforeRouteLeave",J,ie);for(const D of ve)D.leaveGuards.forEach(j=>{ae.push(Co(j,J,ie))});const C=P.bind(null,J,ie);return ae.push(C),ot(ae).then(()=>{ae=[];for(const D of i.list())ae.push(Co(D,J,ie));return ae.push(C),ot(ae)}).then(()=>{ae=Hc(Ke,"beforeRouteUpdate",J,ie);for(const D of Ke)D.updateGuards.forEach(j=>{ae.push(Co(j,J,ie))});return ae.push(C),ot(ae)}).then(()=>{ae=[];for(const D of ze)if(D.beforeEnter)if(Tr(D.beforeEnter))for(const j of D.beforeEnter)ae.push(Co(j,J,ie));else ae.push(Co(D.beforeEnter,J,ie));return ae.push(C),ot(ae)}).then(()=>(J.matched.forEach(D=>D.enterCallbacks={}),ae=Hc(ze,"beforeRouteEnter",J,ie,M),ae.push(C),ot(ae))).then(()=>{ae=[];for(const D of s.list())ae.push(Co(D,J,ie));return ae.push(C),ot(ae)}).catch(D=>Nr(D,8)?D:Promise.reject(D))}function H(J,ie,ae){a.list().forEach(ve=>M(()=>ve(J,ie,ae)))}function B(J,ie,ae,ve,Ke){const ze=v(J,ie);if(ze)return ze;const C=ie===ir,D=Vi?history.state:{};ae&&(ve||C?o.replace(J.fullPath,vt({scroll:C&&D&&D.scroll},Ke)):o.push(J.fullPath,Ke)),l.value=J,Se(J,ie,ae,C),tt()}let ce;function Te(){ce||(ce=o.listen((J,ie,ae)=>{if(!qe.listening)return;const ve=y(J),Ke=x(ve);if(Ke){I(vt(Ke,{replace:!0,force:!0}),ve).catch(ta);return}u=ve;const ze=l.value;Vi&&VI(Tg(ze.fullPath,ae.delta),ic()),V(ve,ze).catch(C=>Nr(C,12)?C:Nr(C,2)?(I(vt(b(C.to),{force:!0}),ve).then(D=>{Nr(D,20)&&!ae.delta&&ae.type===pa.pop&&o.go(-1,!1)}).catch(ta),Promise.reject()):(ae.delta&&o.go(-ae.delta,!1),se(C,ve,ze))).then(C=>{C=C||B(ve,ze,!1),C&&(ae.delta&&!Nr(C,8)?o.go(-ae.delta,!1):ae.type===pa.pop&&Nr(C,20)&&o.go(-1,!1)),H(ve,ze,C)}).catch(ta)}))}let ke=Ms(),he=Ms(),me;function se(J,ie,ae){tt(J);const ve=he.list();return ve.length?ve.forEach(Ke=>Ke(J,ie,ae)):console.error(J),Promise.reject(J)}function Ee(){return me&&l.value!==ir?Promise.resolve():new Promise((J,ie)=>{ke.add([J,ie])})}function tt(J){return me||(me=!J,Te(),ke.list().forEach(([ie,ae])=>J?ae(J):ie()),ke.reset()),J}function Se(J,ie,ae,ve){const{scrollBehavior:Ke}=e;if(!Vi||!Ke)return Promise.resolve();const ze=!ae&&$I(Tg(J.fullPath,0))||(ve||!ae)&&history.state&&history.state.scroll||null;return rn().then(()=>Ke(J,ie,ze)).then(C=>C&&jI(C)).catch(C=>se(C,J,ie))}const Xe=J=>o.go(J);let Be;const it=new Set,qe={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:m,getRoutes:g,resolve:y,options:e,push:E,replace:T,go:Xe,back:()=>Xe(-1),forward:()=>Xe(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:he.add,isReady:Ee,install(J){const ie=this;J.component("RouterLink",fR),J.component("RouterView",F1),J.config.globalProperties.$router=ie,Object.defineProperty(J.config.globalProperties,"$route",{enumerable:!0,get:()=>Y(l)}),Vi&&!Be&&l.value===ir&&(Be=!0,E(o.location).catch(Ke=>{}));const ae={};for(const Ke in ir)Object.defineProperty(ae,Ke,{get:()=>l.value[Ke],enumerable:!0});J.provide(Ip,ie),J.provide(Rp,Fr(ae)),J.provide(sd,l);const ve=J.unmount;it.add(J),J.unmount=function(){it.delete(J),it.size<1&&(u=ir,ce&&ce(),ce=null,l.value=ir,Be=!1,me=!1),ve()}}};function ot(J){return J.reduce((ie,ae)=>ie.then(()=>M(ae)),Promise.resolve())}return qe}function mR(e,t){const n=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;scs(u,a))?r.push(a):n.push(a));const l=e.matched[s];l&&(t.matched.find(u=>cs(u,l))||o.push(l))}return[n,r,o]}function U1(e){return Ut(Rp)}const yR=/(:\w+)\([^)]+\)/g,vR=/(:\w+)[?+*]/g,_R=/:\w+/g,bR=(e,t)=>t.path.replace(yR,"$1").replace(vR,"$1").replace(_R,n=>e.params[n.slice(1)]?.toString()||""),ad=(e,t)=>{const n=e.route.matched.find(o=>o.components?.default===e.Component.type),r=t??n?.meta.key??(n&&bR(e.route,n));return typeof r=="function"?r(e.route):r},ER=(e,t)=>({default:()=>e?dt(IT,e===!0?{}:e,t):t});function Op(e){return Array.isArray(e)?e:[e]}const zc=[{name:"index",path:"/",meta:{middleware:["auth-middleware"]},component:()=>oe(()=>import("./DlbdiMsR.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url)},{name:"abonnee",path:"/abonnee",meta:{middleware:["auth-middleware"]},component:()=>oe(()=>import("./CNPyjIw7.js"),__vite__mapDeps([14,15,16,2,3,17,18,10,11,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,1,4,37,38]),import.meta.url)},{name:"bedankt",path:"/bedankt",meta:{middleware:["auth-middleware"]},component:()=>oe(()=>import("./rPwH2Q_W.js"),__vite__mapDeps([39,25,26,40]),import.meta.url)},{name:"korting",path:"/korting",meta:{middleware:["auth-middleware"]},component:()=>oe(()=>import("./DokyiLct.js"),__vite__mapDeps([41,42,43,15,16,2,3,17,18,27,23,24,28,29,30,31,10,11,32,33,25,26,34,44,19,20,45,46,47]),import.meta.url)},{name:"mislukt",path:"/mislukt",meta:{middleware:["auth-middleware"]},component:()=>oe(()=>import("./C_HryBcj.js"),__vite__mapDeps([48,1,2,3,4,12]),import.meta.url)},{name:"leesvorm",path:"/leesvorm",meta:{middleware:["auth-middleware"]},component:()=>oe(()=>import("./7xaW094F.js"),__vite__mapDeps([49,42,43,28,29,16,2,3,17,30,31,50,51,19,20,24,10,11,52,46,53]),import.meta.url)},{name:"voltooien",path:"/voltooien",meta:{middleware:["auth-middleware"]},component:()=>oe(()=>import("./CChEaAgo.js"),__vite__mapDeps([54,35,36,55,56,24,25,26,57]),import.meta.url)},{name:"andere-titel",path:"/andere-titel",meta:{middleware:["auth-middleware"]},component:()=>oe(()=>import("./BIoZbvOl.js"),__vite__mapDeps([58,42,43,15,16,2,3,17,18,7,8,59,60,25,26,23,24,19,20,30,31,10,11,61,62,63,64,44,45,52,46,65]),import.meta.url)},{name:"slug-periode",path:"/:slug()/periode",meta:{middleware:["auth-middleware"]},component:()=>oe(()=>import("./hvRCaVgb.js"),__vite__mapDeps([66,42,43,30,31,67,32,16,2,3,17,68,9,50,51,44,15,18,19,20,25,26,45,59,60,7,8,69,10,11,70,71]),import.meta.url)},{name:"slug-controle",path:"/:slug()/controle",meta:{middleware:["auth-middleware"]},component:()=>oe(()=>import("./DvzLJ_uJ.js"),__vite__mapDeps([72,42,43,15,16,2,3,17,18,30,31,67,32,68,9,50,51,44,19,20,25,26,45,59,60,7,8,69,10,11,70,61,62,24,23,73]),import.meta.url)},{name:"ophalen-gegevens",path:"/ophalen-gegevens",meta:{middleware:["auth-middleware"]},component:()=>oe(()=>import("./pSFN6IiP.js"),__vite__mapDeps([74,1,2,3,4,37]),import.meta.url)},{name:"reden-reason",path:"/reden/:reason(.*)*",meta:{middleware:["auth-middleware"]},component:()=>oe(()=>import("./XDGUAjrG.js"),__vite__mapDeps([75,42,43,25,26,19,20,23,24,68,9,50,51,44,15,16,2,3,17,18,45,59,60,7,8,69,10,11,33,55,56,63,64,21,22,76]),import.meta.url)}],j1=(e,t)=>({default:()=>e?dt(Ow,e===!0?{}:e,t):t.default?.()}),TR=/(:\w+)\([^)]+\)/g,wR=/(:\w+)[?+*]/g,SR=/:\w+/g;function Fg(e){const t=e?.meta.key??e.path.replace(TR,"$1").replace(wR,"$1").replace(SR,n=>e.params[n.slice(1)]?.toString()||"");return typeof t=="function"?t(e):t}function AR(e,t){return e===t||t===ir?!1:Fg(e)!==Fg(t)?!0:!e.matched.every((r,o)=>r.components&&r.components.default===t.matched[o]?.components?.default)}function IR(e,t=!1){if(e){if(e.nodeName==="#comment"&&e.nodeValue==="[")return V1(e,[],t);if(t){const n=e.cloneNode(!0);return n.querySelectorAll("[data-island-slot]").forEach(r=>{r.innerHTML=""}),[n.outerHTML]}return[e.outerHTML]}}function V1(e,t=[],n=!1){if(e&&e.nodeName){if(OR(e))return t;if(!RR(e)){const r=e.cloneNode(!0);n&&r.querySelectorAll?.("[data-island-slot]").forEach(o=>{o.innerHTML=""}),t.push(r.outerHTML)}V1(e.nextSibling,t,n)}return t}function Gc(e,t){const n=e?IR(e):[t];return n?G_(n.join(""),n.length):dt("div")}function RR(e){return e.nodeName==="#comment"&&e.nodeValue==="["}function OR(e){return e.nodeName==="#comment"&&e.nodeValue==="]"}const xR={scrollBehavior(e,t,n){const r=Ve(),o=Vt().options?.scrollBehaviorType??"auto";if(e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:$1(e.hash),behavior:o}:!1;if((typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1)return!1;const s=r._runningTransition?"page:transition:finish":"page:loading:end";return new Promise(a=>{if(t===ir){a(Ug(e,t,n,o));return}r.hooks.hookOnce(s,()=>{requestAnimationFrame(()=>a(Ug(e,t,n,o)))})})}};function $1(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function Ug(e,t,n,r){if(n)return n;const o=AR(e,t);return e.hash?{el:e.hash,top:$1(e.hash),behavior:o?r:"instant"}:{left:0,top:0}}const CR={scrollBehaviorType:"smooth",hashMode:!1},wo={...CR,...xR},NR=async(e,t)=>{let n,r;if(!e.meta?.validate)return;const o=([n,r]=Bn(()=>Promise.resolve(e.meta.validate(e))),n=await n,r(),n);if(o===!0)return;const i=Po({fatal:!0,statusCode:o&&o.statusCode||404,statusMessage:o&&o.statusMessage||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}});return typeof window<"u"&&window.history.pushState({},"",t.fullPath),i};function LR(e){return Array.isArray(e)?e:[e]}function ld(e){return{}}var e4=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Es(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function DR(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){var o=!1;try{o=this instanceof r}catch{}return o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var qc,jg;function kR(){if(jg)return qc;jg=1;function e(y){this._maxSize=y,this.clear()}e.prototype.clear=function(){this._size=0,this._values=Object.create(null)},e.prototype.get=function(y){return this._values[y]},e.prototype.set=function(y,b){return this._size>=this._maxSize&&this.clear(),y in this._values||this._size++,this._values[y]=b};var t=/[^.^\]^[]+|(?=\[\]|\.\.)/g,n=/^\d+$/,r=/^\d/,o=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,i=/^\s*(['"]?)(.*?)(\1)\s*$/,s=512,a=new e(s),l=new e(s),u=new e(s);qc={Cache:e,split:f,normalizePath:c,setter:function(y){var b=c(y);return l.get(y)||l.set(y,function(E,T){for(var x=0,I=b.length,P=E;xc.match(e)||[],n=c=>c[0].toUpperCase()+c.slice(1),r=(c,f)=>t(c).join(f).toLowerCase(),o=c=>t(c).reduce((f,d)=>`${f}${f?d[0].toUpperCase()+d.slice(1).toLowerCase():d.toLowerCase()}`,"");return Kc={words:t,upperFirst:n,camelCase:o,pascalCase:c=>n(o(c)),snakeCase:c=>r(c,"_"),kebabCase:c=>r(c,"-"),sentenceCase:c=>n(r(c," ")),titleCase:c=>t(c).map(n).join(" ")},Kc}var Wc=PR(),gl={exports:{}},$g;function MR(){if($g)return gl.exports;$g=1,gl.exports=function(o){return e(t(o),o)},gl.exports.array=e;function e(o,i){var s=o.length,a=new Array(s),l={},u=s,c=n(i),f=r(o);for(i.forEach(function(p){if(!f.has(p[0])||!f.has(p[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")});u--;)l[u]||d(o[u],u,new Set);return a;function d(p,h,g){if(g.has(p)){var m;try{m=", node was:"+JSON.stringify(p)}catch{m=""}throw new Error("Cyclic dependency"+m)}if(!f.has(p))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(p));if(!l[h]){l[h]=!0;var y=c.get(p)||new Set;if(y=Array.from(y),h=y.length){g.add(p);do{var b=y[--h];d(b,f.get(b),g)}while(h);g.delete(p)}a[--s]=p}}}function t(o){for(var i=new Set,s=0,a=o.length;s"",HR=/^Symbol\((.*)\)(.*)$/;function zR(e){return e!=+e?"NaN":e===0&&1/e<0?"-0":""+e}function Bg(e,t=!1){if(e==null||e===!0||e===!1)return""+e;const n=typeof e;if(n==="number")return zR(e);if(n==="string")return t?`"${e}"`:e;if(n==="function")return"[Function "+(e.name||"anonymous")+"]";if(n==="symbol")return BR.call(e).replace(HR,"Symbol($1)");const r=jR.call(e).slice(8,-1);return r==="Date"?isNaN(e.getTime())?""+e:e.toISOString(e):r==="Error"||e instanceof Error?"["+VR.call(e)+"]":r==="RegExp"?$R.call(e):null}function uo(e,t){let n=Bg(e,t);return n!==null?n:JSON.stringify(e,function(r,o){let i=Bg(this[r],t);return i!==null?i:o},2)}function B1(e){return e==null?[]:[].concat(e)}let H1,z1,G1,GR=/\$\{\s*(\w+)\s*\}/g;H1=Symbol.toStringTag;class Hg{constructor(t,n,r,o){this.name=void 0,this.message=void 0,this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=void 0,this.inner=void 0,this[H1]="Error",this.name="ValidationError",this.value=n,this.path=r,this.type=o,this.errors=[],this.inner=[],B1(t).forEach(i=>{if(bn.isError(i)){this.errors.push(...i.errors);const s=i.inner.length?i.inner:[i];this.inner.push(...s)}else this.errors.push(i)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0]}}z1=Symbol.hasInstance;G1=Symbol.toStringTag;class bn extends Error{static formatError(t,n){const r=n.label||n.path||"this";return n=Object.assign({},n,{path:r,originalPath:n.path}),typeof t=="string"?t.replace(GR,(o,i)=>uo(n[i])):typeof t=="function"?t(n):t}static isError(t){return t&&t.name==="ValidationError"}constructor(t,n,r,o,i){const s=new Hg(t,n,r,o);if(i)return s;super(),this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=[],this.inner=[],this[G1]="Error",this.name=s.name,this.message=s.message,this.type=s.type,this.value=s.value,this.path=s.path,this.errors=s.errors,this.inner=s.inner,Error.captureStackTrace&&Error.captureStackTrace(this,bn)}static[z1](t){return Hg[Symbol.hasInstance](t)||super[Symbol.hasInstance](t)}}let kr={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:n,originalValue:r})=>{const o=r!=null&&r!==n?` (cast from the value \`${uo(r,!0)}\`).`:".";return t!=="mixed"?`${e} must be a \`${t}\` type, but the final value was: \`${uo(n,!0)}\``+o:`${e} must match the configured type. The validated value was: \`${uo(n,!0)}\``+o}},jn={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",datetime:"${path} must be a valid ISO date-time",datetime_precision:"${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",datetime_offset:'${path} must be a valid ISO date-time with UTC "Z" timezone',trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},qR={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},ud={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},cd={isValue:"${path} field must be ${value}"},Kl={noUnknown:"${path} field has unspecified keys: ${unknown}",exact:"${path} object contains unknown properties: ${properties}"},Wl={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},KR={notType:e=>{const{path:t,value:n,spec:r}=e,o=r.types.length;if(Array.isArray(n)){if(n.lengtho)return`${t} tuple value has too many items, expected a length of ${o} but got ${n.length} for value: \`${uo(n,!0)}\``}return bn.formatError(kr.notType,e)}};Object.assign(Object.create(null),{mixed:kr,string:jn,number:qR,date:ud,object:Kl,array:Wl,boolean:cd,tuple:KR});const Ma=e=>e&&e.__isYupSchema__;class Eu{static fromOptions(t,n){if(!n.then&&!n.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:r,then:o,otherwise:i}=n,s=typeof r=="function"?r:(...a)=>a.every(l=>l===r);return new Eu(t,(a,l)=>{var u;let c=s(...a)?o:i;return(u=c?.(l))!=null?u:l})}constructor(t,n){this.fn=void 0,this.refs=t,this.refs=t,this.fn=n}resolve(t,n){let r=this.refs.map(i=>i.getValue(n?.value,n?.parent,n?.context)),o=this.fn(r,t,n);if(o===void 0||o===t)return t;if(!Ma(o))throw new TypeError("conditions must return a schema object");return o.resolve(n)}}const ml={context:"$",value:"."};class Ii{constructor(t,n={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,typeof t!="string")throw new TypeError("ref must be a string, got: "+t);if(this.key=t.trim(),t==="")throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===ml.context,this.isValue=this.key[0]===ml.value,this.isSibling=!this.isContext&&!this.isValue;let r=this.isContext?ml.context:this.isValue?ml.value:"";this.path=this.key.slice(r.length),this.getter=this.path&&hi.getter(this.path,!0),this.map=n.map}getValue(t,n,r){let o=this.isContext?r:this.isValue?t:n;return this.getter&&(o=this.getter(o||{})),this.map&&(o=this.map(o)),o}cast(t,n){return this.getValue(t,n?.parent,n?.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(t){return t&&t.__isYupRef}}Ii.prototype.__isYupRef=!0;const oo=e=>e==null;function Pi(e){function t({value:n,path:r="",options:o,originalValue:i,schema:s},a,l){const{name:u,test:c,params:f,message:d,skipAbsent:p}=e;let{parent:h,context:g,abortEarly:m=s.spec.abortEarly,disableStackTrace:y=s.spec.disableStackTrace}=o;function b(H){return Ii.isRef(H)?H.getValue(n,h,g):H}function v(H={}){const B=Object.assign({value:n,originalValue:i,label:s.spec.label,path:H.path||r,spec:s.spec,disableStackTrace:H.disableStackTrace||y},f,H.params);for(const Te of Object.keys(B))B[Te]=b(B[Te]);const ce=new bn(bn.formatError(H.message||d,B),n,B.path,H.type||u,B.disableStackTrace);return ce.params=B,ce}const E=m?a:l;let T={path:r,parent:h,type:u,from:o.from,createError:v,resolve:b,options:o,originalValue:i,schema:s};const x=H=>{bn.isError(H)?E(H):H?l(null):E(v())},I=H=>{bn.isError(H)?E(H):a(H)};if(p&&oo(n))return x(!0);let M;try{var V;if(M=c.call(T,n,T),typeof((V=M)==null?void 0:V.then)=="function"){if(o.sync)throw new Error(`Validation test of type: "${T.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(M).then(x,I)}}catch(H){I(H);return}x(M)}return t.OPTIONS=e,t}function q1(e,t,n,r=n){let o,i,s;return t?(hi.forEach(t,(a,l,u)=>{let c=l?a.slice(1,a.length-1):a;e=e.resolve({context:r,parent:o,value:n});let f=e.type==="tuple",d=u?parseInt(c,10):0;if(e.innerType||f){if(f&&!u)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${s}" must contain an index to the tuple element, e.g. "${s}[0]"`);if(n&&d>=n.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${a}, in the path: ${t}. because there is no value at that index. `);o=n,n=n&&n[d],e=f?e.spec.types[d]:e.innerType}if(!u){if(!e.fields||!e.fields[c])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${s} which is a type: "${e.type}")`);o=n,n=n&&n[c],e=e.fields[c]}i=c,s=l?"["+a+"]":"."+a}),{schema:e,parent:o,parentPath:i}):{parent:o,parentPath:t,schema:e}}function t4(e,t,n,r){return q1(e,t,n,r).schema}class Tu extends Set{describe(){const t=[];for(const n of this.values())t.push(Ii.isRef(n)?n.describe():n);return t}resolveAll(t){let n=[];for(const r of this.values())n.push(t(r));return n}clone(){return new Tu(this.values())}merge(t,n){const r=this.clone();return t.forEach(o=>r.add(o)),n.forEach(o=>r.delete(o)),r}}function Gi(e,t=new Map){if(Ma(e)||!e||typeof e!="object")return e;if(t.has(e))return t.get(e);let n;if(e instanceof Date)n=new Date(e.getTime()),t.set(e,n);else if(e instanceof RegExp)n=new RegExp(e),t.set(e,n);else if(Array.isArray(e)){n=new Array(e.length),t.set(e,n);for(let r=0;r{this.typeError(kr.notType)}),this.type=t.type,this._typeCheck=t.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},t?.spec),this.withMutation(n=>{n.nonNullable()})}get _type(){return this.type}clone(t){if(this._mutate)return t&&Object.assign(this.spec,t),this;const n=Object.create(Object.getPrototypeOf(this));return n.type=this.type,n._typeCheck=this._typeCheck,n._whitelist=this._whitelist.clone(),n._blacklist=this._blacklist.clone(),n.internalTests=Object.assign({},this.internalTests),n.exclusiveTests=Object.assign({},this.exclusiveTests),n.deps=[...this.deps],n.conditions=[...this.conditions],n.tests=[...this.tests],n.transforms=[...this.transforms],n.spec=Gi(Object.assign({},this.spec,t)),n}label(t){let n=this.clone();return n.spec.label=t,n}meta(...t){if(t.length===0)return this.spec.meta;let n=this.clone();return n.spec.meta=Object.assign(n.spec.meta||{},t[0]),n}withMutation(t){let n=this._mutate;this._mutate=!0;let r=t(this);return this._mutate=n,r}concat(t){if(!t||t===this)return this;if(t.type!==this.type&&this.type!=="mixed")throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${t.type}`);let n=this,r=t.clone();const o=Object.assign({},n.spec,r.spec);return r.spec=o,r.internalTests=Object.assign({},n.internalTests,r.internalTests),r._whitelist=n._whitelist.merge(t._whitelist,t._blacklist),r._blacklist=n._blacklist.merge(t._blacklist,t._whitelist),r.tests=n.tests,r.exclusiveTests=n.exclusiveTests,r.withMutation(i=>{t.tests.forEach(s=>{i.test(s.OPTIONS)})}),r.transforms=[...n.transforms,...r.transforms],r}isType(t){return t==null?!!(this.spec.nullable&&t===null||this.spec.optional&&t===void 0):this._typeCheck(t)}resolve(t){let n=this;if(n.conditions.length){let r=n.conditions;n=n.clone(),n.conditions=[],n=r.reduce((o,i)=>i.resolve(o,t),n),n=n.resolve(t)}return n}resolveOptions(t){var n,r,o,i;return Object.assign({},t,{from:t.from||[],strict:(n=t.strict)!=null?n:this.spec.strict,abortEarly:(r=t.abortEarly)!=null?r:this.spec.abortEarly,recursive:(o=t.recursive)!=null?o:this.spec.recursive,disableStackTrace:(i=t.disableStackTrace)!=null?i:this.spec.disableStackTrace})}cast(t,n={}){let r=this.resolve(Object.assign({value:t},n)),o=n.assert==="ignore-optionality",i=r._cast(t,n);if(n.assert!==!1&&!r.isType(i)){if(o&&oo(i))return i;let s=uo(t),a=uo(i);throw new TypeError(`The value of ${n.path||"field"} could not be cast to a value that satisfies the schema type: "${r.type}". attempted value: ${s} `+(a!==s?`result of cast: ${a}`:""))}return i}_cast(t,n){let r=t===void 0?t:this.transforms.reduce((o,i)=>i.call(this,o,t,this),t);return r===void 0&&(r=this.getDefault(n)),r}_validate(t,n={},r,o){let{path:i,originalValue:s=t,strict:a=this.spec.strict}=n,l=t;a||(l=this._cast(l,Object.assign({assert:!1},n)));let u=[];for(let c of Object.values(this.internalTests))c&&u.push(c);this.runTests({path:i,value:l,originalValue:s,options:n,tests:u},r,c=>{if(c.length)return o(c,l);this.runTests({path:i,value:l,originalValue:s,options:n,tests:this.tests},r,o)})}runTests(t,n,r){let o=!1,{tests:i,value:s,originalValue:a,path:l,options:u}=t,c=g=>{o||(o=!0,n(g,s))},f=g=>{o||(o=!0,r(g,s))},d=i.length,p=[];if(!d)return f([]);let h={value:s,originalValue:a,path:l,options:u,schema:this};for(let g=0;gthis.resolve(c)._validate(u,c,d,p)}validate(t,n){var r;let o=this.resolve(Object.assign({},n,{value:t})),i=(r=n?.disableStackTrace)!=null?r:o.spec.disableStackTrace;return new Promise((s,a)=>o._validate(t,n,(l,u)=>{bn.isError(l)&&(l.value=u),a(l)},(l,u)=>{l.length?a(new bn(l,u,void 0,void 0,i)):s(u)}))}validateSync(t,n){var r;let o=this.resolve(Object.assign({},n,{value:t})),i,s=(r=n?.disableStackTrace)!=null?r:o.spec.disableStackTrace;return o._validate(t,Object.assign({},n,{sync:!0}),(a,l)=>{throw bn.isError(a)&&(a.value=l),a},(a,l)=>{if(a.length)throw new bn(a,t,void 0,void 0,s);i=l}),i}isValid(t,n){return this.validate(t,n).then(()=>!0,r=>{if(bn.isError(r))return!1;throw r})}isValidSync(t,n){try{return this.validateSync(t,n),!0}catch(r){if(bn.isError(r))return!1;throw r}}_getDefault(t){let n=this.spec.default;return n==null?n:typeof n=="function"?n.call(this,t):Gi(n)}getDefault(t){return this.resolve(t||{})._getDefault(t)}default(t){return arguments.length===0?this._getDefault():this.clone({default:t})}strict(t=!0){return this.clone({strict:t})}nullability(t,n){const r=this.clone({nullable:t});return r.internalTests.nullable=Pi({message:n,name:"nullable",test(o){return o===null?this.schema.spec.nullable:!0}}),r}optionality(t,n){const r=this.clone({optional:t});return r.internalTests.optionality=Pi({message:n,name:"optionality",test(o){return o===void 0?this.schema.spec.optional:!0}}),r}optional(){return this.optionality(!0)}defined(t=kr.defined){return this.optionality(!1,t)}nullable(){return this.nullability(!0)}nonNullable(t=kr.notNull){return this.nullability(!1,t)}required(t=kr.required){return this.clone().withMutation(n=>n.nonNullable(t).defined(t))}notRequired(){return this.clone().withMutation(t=>t.nullable().optional())}transform(t){let n=this.clone();return n.transforms.push(t),n}test(...t){let n;if(t.length===1?typeof t[0]=="function"?n={test:t[0]}:n=t[0]:t.length===2?n={name:t[0],test:t[1]}:n={name:t[0],message:t[1],test:t[2]},n.message===void 0&&(n.message=kr.default),typeof n.test!="function")throw new TypeError("`test` is a required parameters");let r=this.clone(),o=Pi(n),i=n.exclusive||n.name&&r.exclusiveTests[n.name]===!0;if(n.exclusive&&!n.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return n.name&&(r.exclusiveTests[n.name]=!!n.exclusive),r.tests=r.tests.filter(s=>!(s.OPTIONS.name===n.name&&(i||s.OPTIONS.test===o.OPTIONS.test))),r.tests.push(o),r}when(t,n){!Array.isArray(t)&&typeof t!="string"&&(n=t,t=".");let r=this.clone(),o=B1(t).map(i=>new Ii(i));return o.forEach(i=>{i.isSibling&&r.deps.push(i.key)}),r.conditions.push(typeof n=="function"?new Eu(o,n):Eu.fromOptions(o,n)),r}typeError(t){let n=this.clone();return n.internalTests.typeError=Pi({message:t,name:"typeError",skipAbsent:!0,test(r){return this.schema._typeCheck(r)?!0:this.createError({params:{type:this.schema.type}})}}),n}oneOf(t,n=kr.oneOf){let r=this.clone();return t.forEach(o=>{r._whitelist.add(o),r._blacklist.delete(o)}),r.internalTests.whiteList=Pi({message:n,name:"oneOf",skipAbsent:!0,test(o){let i=this.schema._whitelist,s=i.resolveAll(this.resolve);return s.includes(o)?!0:this.createError({params:{values:Array.from(i).join(", "),resolved:s}})}}),r}notOneOf(t,n=kr.notOneOf){let r=this.clone();return t.forEach(o=>{r._blacklist.add(o),r._whitelist.delete(o)}),r.internalTests.blacklist=Pi({message:n,name:"notOneOf",test(o){let i=this.schema._blacklist,s=i.resolveAll(this.resolve);return s.includes(o)?this.createError({params:{values:Array.from(i).join(", "),resolved:s}}):!0}}),r}strip(t=!0){let n=this.clone();return n.spec.strip=t,n}describe(t){const n=(t?this.resolve(t):this).clone(),{label:r,meta:o,optional:i,nullable:s}=n.spec;return{meta:o,label:r,optional:i,nullable:s,default:n.getDefault(t),type:n.type,oneOf:n._whitelist.describe(),notOneOf:n._blacklist.describe(),tests:n.tests.map(l=>({name:l.OPTIONS.name,params:l.OPTIONS.params})).filter((l,u,c)=>c.findIndex(f=>f.name===l.name)===u)}}}dr.prototype.__isYupSchema__=!0;for(const e of["validate","validateSync"])dr.prototype[`${e}At`]=function(t,n,r={}){const{parent:o,parentPath:i,schema:s}=q1(this,t,n,r.context);return s[e](o&&o[i],Object.assign({},r,{parent:o,path:t}))};for(const e of["equals","is"])dr.prototype[e]=dr.prototype.oneOf;for(const e of["not","nope"])dr.prototype[e]=dr.prototype.notOneOf;function WR(){return new K1}class K1 extends dr{constructor(){super({type:"boolean",check(t){return t instanceof Boolean&&(t=t.valueOf()),typeof t=="boolean"}}),this.withMutation(()=>{this.transform((t,n,r)=>{if(r.spec.coerce&&!r.isType(t)){if(/^(true|1)$/i.test(String(t)))return!0;if(/^(false|0)$/i.test(String(t)))return!1}return t})})}isTrue(t=cd.isValue){return this.test({message:t,name:"is-value",exclusive:!0,params:{value:"true"},test(n){return oo(n)||n===!0}})}isFalse(t=cd.isValue){return this.test({message:t,name:"is-value",exclusive:!0,params:{value:"false"},test(n){return oo(n)||n===!1}})}default(t){return super.default(t)}defined(t){return super.defined(t)}optional(){return super.optional()}required(t){return super.required(t)}notRequired(){return super.notRequired()}nullable(){return super.nullable()}nonNullable(t){return super.nonNullable(t)}strip(t){return super.strip(t)}}WR.prototype=K1.prototype;const YR=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function XR(e){const t=fd(e);if(!t)return Date.parse?Date.parse(e):Number.NaN;if(t.z===void 0&&t.plusMinus===void 0)return new Date(t.year,t.month,t.day,t.hour,t.minute,t.second,t.millisecond).valueOf();let n=0;return t.z!=="Z"&&t.plusMinus!==void 0&&(n=t.hourOffset*60+t.minuteOffset,t.plusMinus==="+"&&(n=0-n)),Date.UTC(t.year,t.month,t.day,t.hour,t.minute+n,t.second,t.millisecond)}function fd(e){var t,n;const r=YR.exec(e);return r?{year:Yr(r[1]),month:Yr(r[2],1)-1,day:Yr(r[3],1),hour:Yr(r[4]),minute:Yr(r[5]),second:Yr(r[6]),millisecond:r[7]?Yr(r[7].substring(0,3)):0,precision:(t=(n=r[7])==null?void 0:n.length)!=null?t:void 0,z:r[8]||void 0,plusMinus:r[9]||void 0,hourOffset:Yr(r[10]),minuteOffset:Yr(r[11])}:null}function Yr(e,t=0){return Number(e)||t}let JR=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,QR=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,ZR=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,eO="^\\d{4}-\\d{2}-\\d{2}",tO="\\d{2}:\\d{2}:\\d{2}",nO="(([+-]\\d{2}(:?\\d{2})?)|Z)",rO=new RegExp(`${eO}T${tO}(\\.\\d+)?${nO}$`),oO=e=>oo(e)||e===e.trim(),iO={}.toString();function sO(){return new W1}class W1 extends dr{constructor(){super({type:"string",check(t){return t instanceof String&&(t=t.valueOf()),typeof t=="string"}}),this.withMutation(()=>{this.transform((t,n,r)=>{if(!r.spec.coerce||r.isType(t)||Array.isArray(t))return t;const o=t!=null&&t.toString?t.toString():t;return o===iO?t:o})})}required(t){return super.required(t).withMutation(n=>n.test({message:t||kr.required,name:"required",skipAbsent:!0,test:r=>!!r.length}))}notRequired(){return super.notRequired().withMutation(t=>(t.tests=t.tests.filter(n=>n.OPTIONS.name!=="required"),t))}length(t,n=jn.length){return this.test({message:n,name:"length",exclusive:!0,params:{length:t},skipAbsent:!0,test(r){return r.length===this.resolve(t)}})}min(t,n=jn.min){return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(r){return r.length>=this.resolve(t)}})}max(t,n=jn.max){return this.test({name:"max",exclusive:!0,message:n,params:{max:t},skipAbsent:!0,test(r){return r.length<=this.resolve(t)}})}matches(t,n){let r=!1,o,i;return n&&(typeof n=="object"?{excludeEmptyString:r=!1,message:o,name:i}=n:o=n),this.test({name:i||"matches",message:o||jn.matches,params:{regex:t},skipAbsent:!0,test:s=>s===""&&r||s.search(t)!==-1})}email(t=jn.email){return this.matches(JR,{name:"email",message:t,excludeEmptyString:!0})}url(t=jn.url){return this.matches(QR,{name:"url",message:t,excludeEmptyString:!0})}uuid(t=jn.uuid){return this.matches(ZR,{name:"uuid",message:t,excludeEmptyString:!1})}datetime(t){let n="",r,o;return t&&(typeof t=="object"?{message:n="",allowOffset:r=!1,precision:o=void 0}=t:n=t),this.matches(rO,{name:"datetime",message:n||jn.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:n||jn.datetime_offset,params:{allowOffset:r},skipAbsent:!0,test:i=>{if(!i||r)return!0;const s=fd(i);return s?!!s.z:!1}}).test({name:"datetime_precision",message:n||jn.datetime_precision,params:{precision:o},skipAbsent:!0,test:i=>{if(!i||o==null)return!0;const s=fd(i);return s?s.precision===o:!1}})}ensure(){return this.default("").transform(t=>t===null?"":t)}trim(t=jn.trim){return this.transform(n=>n!=null?n.trim():n).test({message:t,name:"trim",test:oO})}lowercase(t=jn.lowercase){return this.transform(n=>oo(n)?n:n.toLowerCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>oo(n)||n===n.toLowerCase()})}uppercase(t=jn.uppercase){return this.transform(n=>oo(n)?n:n.toUpperCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>oo(n)||n===n.toUpperCase()})}}sO.prototype=W1.prototype;let Y1=new Date(""),aO=e=>Object.prototype.toString.call(e)==="[object Date]";function X1(){return new Fa}class Fa extends dr{constructor(){super({type:"date",check(t){return aO(t)&&!isNaN(t.getTime())}}),this.withMutation(()=>{this.transform((t,n,r)=>!r.spec.coerce||r.isType(t)||t===null?t:(t=XR(t),isNaN(t)?Fa.INVALID_DATE:new Date(t)))})}prepareParam(t,n){let r;if(Ii.isRef(t))r=t;else{let o=this.cast(t);if(!this._typeCheck(o))throw new TypeError(`\`${n}\` must be a Date or a value that can be \`cast()\` to a Date`);r=o}return r}min(t,n=ud.min){let r=this.prepareParam(t,"min");return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(o){return o>=this.resolve(r)}})}max(t,n=ud.max){let r=this.prepareParam(t,"max");return this.test({message:n,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(o){return o<=this.resolve(r)}})}}Fa.INVALID_DATE=Y1;X1.prototype=Fa.prototype;X1.INVALID_DATE=Y1;function lO(e,t=[]){let n=[],r=new Set,o=new Set(t.map(([s,a])=>`${s}-${a}`));function i(s,a){let l=hi.split(s)[0];r.add(l),o.has(`${a}-${l}`)||n.push([a,l])}for(const s of Object.keys(e)){let a=e[s];r.add(s),Ii.isRef(a)&&a.isSibling?i(a.path,s):Ma(a)&&"deps"in a&&a.deps.forEach(l=>i(l,s))}return UR.array(Array.from(r),n).reverse()}function zg(e,t){let n=1/0;return e.some((r,o)=>{var i;if((i=t.path)!=null&&i.includes(r))return n=o,!0}),n}function J1(e){return(t,n)=>zg(e,t)-zg(e,n)}const Q1=(e,t,n)=>{if(typeof e!="string")return e;let r=e;try{r=JSON.parse(e)}catch{}return n.isType(r)?r:e};function Yl(e){if("fields"in e){const t={};for(const[n,r]of Object.entries(e.fields))t[n]=Yl(r);return e.setFields(t)}if(e.type==="array"){const t=e.optional();return t.innerType&&(t.innerType=Yl(t.innerType)),t}return e.type==="tuple"?e.optional().clone({types:e.spec.types.map(Yl)}):"optional"in e?e.optional():e}const uO=(e,t)=>{const n=[...hi.normalizePath(t)];if(n.length===1)return n[0]in e;let r=n.pop(),o=hi.getter(hi.join(n),!0)(e);return!!(o&&r in o)};let Gg=e=>Object.prototype.toString.call(e)==="[object Object]";function qg(e,t){let n=Object.keys(e.fields);return Object.keys(t).filter(r=>n.indexOf(r)===-1)}const cO=J1([]);function fO(e){return new Z1(e)}class Z1 extends dr{constructor(t){super({type:"object",check(n){return Gg(n)||typeof n=="function"}}),this.fields=Object.create(null),this._sortErrors=cO,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{t&&this.shape(t)})}_cast(t,n={}){var r;let o=super._cast(t,n);if(o===void 0)return this.getDefault(n);if(!this._typeCheck(o))return o;let i=this.fields,s=(r=n.stripUnknown)!=null?r:this.spec.noUnknown,a=[].concat(this._nodes,Object.keys(o).filter(f=>!this._nodes.includes(f))),l={},u=Object.assign({},n,{parent:l,__validating:n.__validating||!1}),c=!1;for(const f of a){let d=i[f],p=f in o;if(d){let h,g=o[f];u.path=(n.path?`${n.path}.`:"")+f,d=d.resolve({value:g,context:n.context,parent:l});let m=d instanceof dr?d.spec:void 0,y=m?.strict;if(m!=null&&m.strip){c=c||f in o;continue}h=!n.__validating||!y?d.cast(o[f],u):o[f],h!==void 0&&(l[f]=h)}else p&&!s&&(l[f]=o[f]);(p!==f in l||l[f]!==o[f])&&(c=!0)}return c?l:o}_validate(t,n={},r,o){let{from:i=[],originalValue:s=t,recursive:a=this.spec.recursive}=n;n.from=[{schema:this,value:s},...i],n.__validating=!0,n.originalValue=s,super._validate(t,n,r,(l,u)=>{if(!a||!Gg(u)){o(l,u);return}s=s||u;let c=[];for(let f of this._nodes){let d=this.fields[f];!d||Ii.isRef(d)||c.push(d.asNestedTest({options:n,key:f,parent:u,parentPath:n.path,originalParent:s}))}this.runTests({tests:c,value:u,originalValue:s,options:n},r,f=>{o(f.sort(this._sortErrors).concat(l),u)})})}clone(t){const n=super.clone(t);return n.fields=Object.assign({},this.fields),n._nodes=this._nodes,n._excludedEdges=this._excludedEdges,n._sortErrors=this._sortErrors,n}concat(t){let n=super.concat(t),r=n.fields;for(let[o,i]of Object.entries(this.fields)){const s=r[o];r[o]=s===void 0?i:s}return n.withMutation(o=>o.setFields(r,[...this._excludedEdges,...t._excludedEdges]))}_getDefault(t){if("default"in this.spec)return super._getDefault(t);if(!this._nodes.length)return;let n={};return this._nodes.forEach(r=>{var o;const i=this.fields[r];let s=t;(o=s)!=null&&o.value&&(s=Object.assign({},s,{parent:s.value,value:s.value[r]})),n[r]=i&&"getDefault"in i?i.getDefault(s):void 0}),n}setFields(t,n){let r=this.clone();return r.fields=t,r._nodes=lO(t,n),r._sortErrors=J1(Object.keys(t)),n&&(r._excludedEdges=n),r}shape(t,n=[]){return this.clone().withMutation(r=>{let o=r._excludedEdges;return n.length&&(Array.isArray(n[0])||(n=[n]),o=[...r._excludedEdges,...n]),r.setFields(Object.assign(r.fields,t),o)})}partial(){const t={};for(const[n,r]of Object.entries(this.fields))t[n]="optional"in r&&r.optional instanceof Function?r.optional():r;return this.setFields(t)}deepPartial(){return Yl(this)}pick(t){const n={};for(const r of t)this.fields[r]&&(n[r]=this.fields[r]);return this.setFields(n,this._excludedEdges.filter(([r,o])=>t.includes(r)&&t.includes(o)))}omit(t){const n=[];for(const r of Object.keys(this.fields))t.includes(r)||n.push(r);return this.pick(n)}from(t,n,r){let o=hi.getter(t,!0);return this.transform(i=>{if(!i)return i;let s=i;return uO(i,t)&&(s=Object.assign({},i),r||delete s[t],s[n]=o(i)),s})}json(){return this.transform(Q1)}exact(t){return this.test({name:"exact",exclusive:!0,message:t||Kl.exact,test(n){if(n==null)return!0;const r=qg(this.schema,n);return r.length===0||this.createError({params:{properties:r.join(", ")}})}})}stripUnknown(){return this.clone({noUnknown:!0})}noUnknown(t=!0,n=Kl.noUnknown){typeof t!="boolean"&&(n=t,t=!0);let r=this.test({name:"noUnknown",exclusive:!0,message:n,test(o){if(o==null)return!0;const i=qg(this.schema,o);return!t||i.length===0||this.createError({params:{unknown:i.join(", ")}})}});return r.spec.noUnknown=t,r}unknown(t=!0,n=Kl.noUnknown){return this.noUnknown(!t,n)}transformKeys(t){return this.transform(n=>{if(!n)return n;const r={};for(const o of Object.keys(n))r[t(o)]=n[o];return r})}camelCase(){return this.transformKeys(Wc.camelCase)}snakeCase(){return this.transformKeys(Wc.snakeCase)}constantCase(){return this.transformKeys(t=>Wc.snakeCase(t).toUpperCase())}describe(t){const n=(t?this.resolve(t):this).clone(),r=super.describe(t);r.fields={};for(const[i,s]of Object.entries(n.fields)){var o;let a=t;(o=a)!=null&&o.value&&(a=Object.assign({},a,{parent:a.value,value:a.value[i]})),r.fields[i]=s.describe(a)}return r}}fO.prototype=Z1.prototype;function dO(e){return new eb(e)}class eb extends dr{constructor(t){super({type:"array",spec:{types:t},check(n){return Array.isArray(n)}}),this.innerType=void 0,this.innerType=t}_cast(t,n){const r=super._cast(t,n);if(!this._typeCheck(r)||!this.innerType)return r;let o=!1;const i=r.map((s,a)=>{const l=this.innerType.cast(s,Object.assign({},n,{path:`${n.path||""}[${a}]`}));return l!==s&&(o=!0),l});return o?i:r}_validate(t,n={},r,o){var i;let s=this.innerType,a=(i=n.recursive)!=null?i:this.spec.recursive;n.originalValue!=null&&n.originalValue,super._validate(t,n,r,(l,u)=>{var c;if(!a||!s||!this._typeCheck(u)){o(l,u);return}let f=new Array(u.length);for(let p=0;po(p.concat(l),u))})}clone(t){const n=super.clone(t);return n.innerType=this.innerType,n}json(){return this.transform(Q1)}concat(t){let n=super.concat(t);return n.innerType=this.innerType,t.innerType&&(n.innerType=n.innerType?n.innerType.concat(t.innerType):t.innerType),n}of(t){let n=this.clone();if(!Ma(t))throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: "+uo(t));return n.innerType=t,n.spec=Object.assign({},n.spec,{types:t}),n}length(t,n=Wl.length){return this.test({message:n,name:"length",exclusive:!0,params:{length:t},skipAbsent:!0,test(r){return r.length===this.resolve(t)}})}min(t,n){return n=n||Wl.min,this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(r){return r.length>=this.resolve(t)}})}max(t,n){return n=n||Wl.max,this.test({message:n,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(r){return r.length<=this.resolve(t)}})}ensure(){return this.default(()=>[]).transform((t,n)=>this._typeCheck(t)?t:n==null?[]:[].concat(n))}compact(t){let n=t?(r,o,i)=>!t(r,o,i):r=>!!r;return this.transform(r=>r!=null?r.filter(n):r)}describe(t){const n=(t?this.resolve(t):this).clone(),r=super.describe(t);if(n.innerType){var o;let i=t;(o=i)!=null&&o.value&&(i=Object.assign({},i,{parent:i.value,value:i.value[0]})),r.innerType=n.innerType.describe(i)}return r}}dO.prototype=eb.prototype;function n4(e){return new xp(e)}function Kg(e){try{return e()}catch(t){if(bn.isError(t))return Promise.reject(t);throw t}}class xp{constructor(t){this.type="lazy",this.__isYupSchema__=!0,this.spec=void 0,this._resolve=(n,r={})=>{let o=this.builder(n,r);if(!Ma(o))throw new TypeError("lazy() functions must return a valid schema");return this.spec.optional&&(o=o.optional()),o.resolve(r)},this.builder=t,this.spec={meta:void 0,optional:!1}}clone(t){const n=new xp(this.builder);return n.spec=Object.assign({},this.spec,t),n}optionality(t){return this.clone({optional:t})}optional(){return this.optionality(!0)}resolve(t){return this._resolve(t.value,t)}cast(t,n){return this._resolve(t,n).cast(t,n)}asNestedTest(t){let{key:n,index:r,parent:o,options:i}=t,s=o[r??n];return this._resolve(s,Object.assign({},i,{value:s,parent:o})).asNestedTest(t)}validate(t,n){return Kg(()=>this._resolve(t,n).validate(t,n))}validateSync(t,n){return this._resolve(t,n).validateSync(t,n)}validateAt(t,n,r){return Kg(()=>this._resolve(n,r).validateAt(t,n,r))}validateSyncAt(t,n,r){return this._resolve(n,r).validateSyncAt(t,n,r)}isValid(t,n){try{return this._resolve(t,n).isValid(t,n)}catch(r){if(bn.isError(r))return Promise.resolve(!1);throw r}}isValidSync(t,n){return this._resolve(t,n).isValidSync(t,n)}describe(t){return t?this.resolve(t).describe(t):{type:"lazy",meta:this.spec.meta,label:void 0}}meta(...t){if(t.length===0)return this.spec.meta;let n=this.clone();return n.spec.meta=Object.assign(n.spec.meta||{},t[0]),n}}function pO(e){const t=e.split(":")[0],n=t.split(".");return n.length>1?n.slice(-2).join("."):t}const hO={AD:{domain:"ad.nl",code:"AD",fullName:"AD"},ARI:{domain:"ariadneathome.nl",code:"ARI",fullName:"Ariadne at Home"},AUT:{domain:"autoweek.nl",code:"AUT",fullName:"AutoWeek"},ATR:{domain:"autoweek.nl/classiccars",code:"ATR",fullName:"AutoWeek Classics"},BD:{domain:"bd.nl",code:"BD",fullName:"Brabants Dagblad"},BFWO:{domain:"feelingwonen.be",code:"BFWO",fullName:"Feeling Wonen"},BS:{domain:"bndestem.nl",code:"BS",fullName:"BN DeStem"},BSVW:{domain:"stijlvol-wonen.be",code:"BSVW",fullName:"Stijlvol Wonen"},BVWO:{domain:"vtwonen.be",code:"BVWO",fullName:"vtwonen"},BWOL:{domain:"wonenlandelijkestijl.be",code:"BWOL",fullName:"Wonen Landelijke Stijl"},BDON:{domain:"",code:"BDON",fullName:"Donald Duck"},BFLN:{domain:"",code:"BFLN",fullName:"Flow"},BDAN:{domain:"",code:"BDAN",fullName:"Zo Zit Dat"},DA:{domain:"dagallemaal.be",code:"DA",fullName:"Dag Allemaal"},DAT:{domain:"zozitdat.nl",code:"DAT",fullName:"Zo Zit Dat"},DON:{domain:"donaldduck.nl",code:"DON",fullName:"Donald Duck"},DDJ:{domain:"donaldduck.nl",code:"DDJ",fullName:"Donald Duck Junior"},DG:{domain:"gelderlander.nl",code:"DG",fullName:"De Gelderlander"},DM:{domain:"demorgen.be",code:"DM",fullName:"De Morgen"},DONEX:{domain:"donaldduck.nl",code:"DONEX",fullName:"Donald Duck Extra"},DONPO:{domain:"donaldduck.nl",code:"DONPO",fullName:"Donald Duck Pocket"},ED:{domain:"ed.nl",code:"ED",fullName:"Eindhovens Dagblad"},EHI:{domain:"eigenhuiseninterieur.nl",code:"EHI",fullName:"Eigen Huis & Interieur"},FLR:{domain:"flair.nl",allDomains:["flaironline.nl","flair.nl"],code:"FLR",fullName:"Flair"},FLW:{domain:"flowmagazine.nl",code:"FLW",fullName:"Flow"},GG:{domain:"goedgevoel.be",code:"GG",fullName:"Goed Gevoel"},HL:{domain:"hln.be",code:"HL",fullName:"HLN"},HP:{domain:"parool.nl",code:"HP",fullName:"Het Parool"},HU:{domain:"humo.be",code:"HU",fullName:"HUMO"},KATRI:{domain:"donaldduck.nl",code:"KATRI",fullName:"Katrien Duck"},KWE:{domain:"kidsweek.nl",code:"KWE",fullName:"Kidsweek"},LIB:{domain:"libelle.nl",code:"LIB",fullName:"Libelle"},LIBBO:{domain:"libelle.nl",code:"LIBBO",fullName:"Libelle Bookazine"},LIBPZ:{domain:"libelle.nl",code:"LIBPZ",fullName:"Libelle Puzzelen"},LIBSP:{domain:"libelle.nl",code:"LIBSP",fullName:"Libelle Specials"},MAR:{domain:"margriet.nl",code:"MAR",fullName:"Margriet"},MARPZ:{domain:"margriet.nl",code:"MARPZ",fullName:"Margriet Puzzelen"},MARSP:{domain:"margriet.nl",code:"MARSP",fullName:"Margriet Specials"},NOU:{domain:"nouveau.nl",code:"NOU",fullName:"Nouveau"},OVN:{domain:"oudersvannu.nl",code:"OVN",fullName:"Ouders van Nu"},PAK12:{domain:"tijdschrift.nl",code:"PAK12",fullName:"Tijdschrift.nl"},PRIMO:{domain:"primo.be",code:"PRIMO",fullName:"Primo"},PZ:{domain:"pzc.nl",code:"PZ",fullName:"PZC"},ST:{domain:"destentor.nl",code:"ST",fullName:"De Stentor"},STO:{domain:"story.nl",code:"STO",fullName:"Story"},STORYBE:{domain:"story.be",code:"STORYBE",fullName:"Story"},SVW:{domain:"stijlvol-wonen.com",code:"SVW",fullName:"Stijlvol Wonen"},TNA:{domain:"tina.nl",code:"TNA",fullName:"Tina"},TR:{domain:"trouw.nl",code:"TR",fullName:"Trouw"},TSBE:{domain:"tijdschrift.be",code:"TSBE",fullName:"Tijdschrift.be"},TT:{domain:"tubantia.nl",code:"TT",fullName:"Tubantia"},TTA:{domain:"totaaltv.nl",code:"TTA",fullName:"Totaal TV"},TVBLAD:{domain:"teveblad.be",code:"TVBLAD",fullName:"TeVe Blad"},TVFAM:{domain:"tvfamilie.be",code:"TVFAM",fullName:"TV Familie"},VK:{domain:"volkskrant.nl",code:"VK",fullName:"De Volkskrant"},VRO:{domain:"veronicasuperguide.nl",allDomains:["superguide.nl","veronicasuperguide.nl","veronicamagazine.nl"],code:"VRO",fullName:"Veronica Superguide"},VTW:{domain:"vtwonen.nl",code:"VTW",fullName:"vtwonen"},WLS:{domain:"wonenlandelijkestijl.com",code:"WLS",fullName:"Wonen Landelijke Stijl"},KIOSK:{domain:"kiosk.nl",code:"KIOSK",fullName:"Kiosk"},KIOSKBE:{domain:"kiosk.be",code:"KIOSKBE",fullName:"Kiosk"}};function gO({brandCode:e,hostname:t}){return e?.toLowerCase()||mO(t)}function mO(e){const n=Object.values(hO).find(r=>r.domain.includes(e));return n?.domain?n?.code?.toLowerCase():void 0}function tb(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},r=t||{},o=r.decode||yO;let i=0;for(;ithis.compare(s[0],a[0]));let i=`${n}{`;for(let s=0;sthis.compare(r,o)))}`}$Map(n){return this.serializeObjectEntries("Map",n.entries())}}for(const t of["Error","RegExp","URL"])e.prototype["$"+t]=function(n){return`${t}(${n})`};for(const t of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])e.prototype["$"+t]=function(n){return`${t}[${n.join(",")}]`};for(const t of["BigInt64Array","BigUint64Array"])e.prototype["$"+t]=function(n){return`${t}[${n.join("n,")}${n.length>0?"n":""}]`};return e})();function nb(e,t){return e===t||dd(e)===dd(t)}const EO=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],TO=[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],wO="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",ti=[];let SO=class{_data=new qi;_hash=new qi([...EO]);_nDataBytes=0;_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 o=r[0],i=r[1],s=r[2],a=r[3],l=r[4],u=r[5],c=r[6],f=r[7];for(let d=0;d<64;d++){if(d<16)ti[d]=t[n+d]|0;else{const v=ti[d-15],E=(v<<25|v>>>7)^(v<<14|v>>>18)^v>>>3,T=ti[d-2],x=(T<<15|T>>>17)^(T<<13|T>>>19)^T>>>10;ti[d]=E+ti[d-7]+x+ti[d-16]}const p=l&u^~l&c,h=o&i^o&s^i&s,g=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),m=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),y=f+m+p+TO[d]+ti[d],b=g+h;f=c,c=u,u=l,l=a+y|0,a=s,s=i,i=o,o=y+b|0}r[0]=r[0]+o|0,r[1]=r[1]+i|0,r[2]=r[2]+s|0,r[3]=r[3]+a|0,r[4]=r[4]+l|0,r[5]=r[5]+u|0,r[6]=r[6]+c|0,r[7]=r[7]+f|0}_append(t){typeof t=="string"&&(t=qi.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 o=r*16,i=Math.min(o*4,this._data.sigBytes);if(o){for(let s=0;s>>2]|=(n.charCodeAt(i)&255)<<24-i%4*8;return new qi(o,r)}toBase64(){const t=[];for(let n=0;n>>2]>>>24-n%4*8&255,o=this.words[n+1>>>2]>>>24-(n+1)%4*8&255,i=this.words[n+2>>>2]>>>24-(n+2)%4*8&255,s=r<<16|o<<8|i;for(let a=0;a<4&&n*8+a*6>>6*(3-a)&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>>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>>2]=t.words[n>>>2];this.sigBytes+=t.sigBytes}}function AO(e){return new SO().finalize(e).toBase64()}function $i(e){return AO(dd(e))}function $n(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]=$n(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:$n(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=$n(e[t])}return n}if(r==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=$n(e[t]);return n}return r==="[object Set]"?(n=new Set,e.forEach(function(o){n.add($n(o))}),n):r==="[object Map]"?(n=new Map,e.forEach(function(o,i){n.set($n(i),$n(o))}),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($n(e.buffer)):r==="[object ArrayBuffer]"?e.slice(0):r.slice(-6)==="Array]"?new e.constructor(e):e}const IO={path:"/",watch:!0,decode:e=>ls(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},vl=window.cookieStore;function Ua(e,t){const n={...IO,...t};n.filter??=u=>u===e;const r=Wg(n)||{};let o;n.maxAge!==void 0?o=n.maxAge*1e3:n.expires&&(o=n.expires.getTime()-Date.now());const i=o!==void 0&&o<=0,s=i||r[e]===void 0||r[e]===null,a=$n(i?void 0:r[e]??n.default?.()),l=o&&!i?xO(a,o,n.watch&&n.watch!=="shallow"):Fe(a);{let u=null;try{!vl&&typeof BroadcastChannel<"u"&&(u=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const c=(h=!1)=>{!h&&(n.readonly||nb(l.value,r[e]))||(OO(e,l.value,n),r[e]=$n(l.value),u?.postMessage({value:n.encode(l.value)}))},f=h=>{const g=h.refresh?Wg(n)?.[e]:n.decode(h.value);d=!0,l.value=g,r[e]=$n(g),rn(()=>{d=!1})};let d=!1;const p=!!Vo();if(p&&Uo(()=>{d=!0,c(),u?.close()}),vl){const h=g=>{const m=g.changed.find(b=>b.name===e),y=g.deleted.find(b=>b.name===e);m&&f({value:m.value}),y&&f({value:null})};vl.addEventListener("change",h),p&&Uo(()=>vl.removeEventListener("change",h))}else u&&(u.onmessage=({data:h})=>f(h));n.watch&&It(l,()=>{d||c()},{deep:n.watch!=="shallow"}),s&&c(s)}return l}function Wg(e={}){return tb(document.cookie,e)}function RO(e,t,n={}){return t==null?wu(e,t,{...n,maxAge:-1}):wu(e,t,n)}function OO(e,t,n={}){document.cookie=RO(e,t,n)}const Yg=2147483647;function xO(e,t,n){let r,o,i=0;const s=n?Fe(e):{value:e};return Vo()&&Uo(()=>{o?.(),clearTimeout(r)}),Xu((a,l)=>{n&&(o=It(s,l));function u(){i=0,clearTimeout(r);const c=t-i,f=c{if(i+=f,i!1}).value}function CO(e,t){const n=Mt(),r=Mn(),i=n.public.IS_DRAFT||r.query.draft||sc()||rb()?"draft":"published";let s=t?.replace("formal","fm")||"nl-fm";s==="be"&&(s="nl-be");function a(l){return Array.isArray(l)?l.join(","):l}return{...e||{},version:i,language:s,...e?.resolve_relations&&{resolve_relations:a(e.resolve_relations)}}}function NO(){const e=Mt();return!["production","test"].includes(e.public.STAGE)||void 0||sc()}function sc(e){return!!Mn().query._storyblok}function Xl(){return window.top!==window.self&&sc()}const LO=e=>{};function DO(e=rc){return bp(e,{asyncContext:!1})}const kO="__nuxt_plugin";function PO(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[kO]:!0,_name:t})}function MO(e){let t;return bo()&&(t=Ot()?.appContext.app.$nuxt),t||=DO(e).tryUse(),t||null}function Ti(e){const t=MO(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function FO(e){return Ti().$config}const UO={trailing:!0};function jO(e,t=25,n={}){if(n={...UO,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let r,o,i=[],s,a;const l=(u,c)=>(s=VO(e,u,c),s.finally(()=>{if(s=null,n.trailing&&a&&!o){const f=l(u,a);return a=null,f}}),s);return function(...u){return s?(n.trailing&&(a=u),s):new Promise(c=>{const f=!o&&n.leading;clearTimeout(o),o=setTimeout(()=>{o=null;const d=n.leading?r:l(this,u);for(const p of i)p(d);i=[]},t),f?(r=l(this,u),c(r)):i.push(c)})}}async function VO(e,t,n){return await e.apply(t,n)}const Xg=()=>Ti()?.$router;const $O=()=>{try{if(Ti()._processingMiddleware)return!0}catch{return!1}return!1},BO=(e,t)=>{e||="/";const n=typeof e=="string"?e:"path"in e?HO(e):Xg().resolve(e).href;if(t?.open){const{target:i="_blank",windowFeatures:s={}}=t.open,a=Object.entries(s).filter(([l,u])=>u!==void 0).map(([l,u])=>`${l.toLowerCase()}=${u}`).join(", ");return open(n,i,a),Promise.resolve()}Dn(n,{acceptRelative:!0});{const{protocol:i}=new URL(n,window.location.href);if(i&&r1(i))throw new Error(`Cannot navigate to a URL with '${i}' protocol.`)}const r=$O();Xg();const o=Ti();return o._scope.stop(),t?.replace?location.replace(n):location.href=n,r?o.isHydrating?new Promise(()=>{}):!1:Promise.resolve()};function HO(e){return Da(e.path||"",e.query||{})+(e.hash||"")}const zO="$s";function ns(...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 o=zO+n,i=Ti(),s=xa(i.payload.state,o);if(s.value===void 0&&r){const a=r();if(At(a))return i.payload.state[o]=a,a;s.value=a}return s}function GO(e){return{}}const qO={path:"/",watch:!0,decode:e=>ls(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},_l=window.cookieStore;function Yc(e,t){const n={...qO,...t};n.filter??=u=>u===e;const r=Jg(n)||{};let o;n.maxAge!==void 0?o=n.maxAge*1e3:n.expires&&(o=n.expires.getTime()-Date.now());const i=o!==void 0&&o<=0,s=i||r[e]===void 0||r[e]===null,a=$n(i?void 0:r[e]??n.default?.()),l=o&&!i?YO(a,o,n.watch&&n.watch!=="shallow"):Fe(a);{let u=null;try{!_l&&typeof BroadcastChannel<"u"&&(u=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const c=(h=!1)=>{!h&&(n.readonly||nb(l.value,r[e]))||(WO(e,l.value,n),r[e]=$n(l.value),u?.postMessage({value:n.encode(l.value)}))},f=h=>{const g=h.refresh?Jg(n)?.[e]:n.decode(h.value);d=!0,l.value=g,r[e]=$n(g),rn(()=>{d=!1})};let d=!1;const p=!!Vo();if(p&&Uo(()=>{d=!0,c(),u?.close()}),_l){const h=g=>{const m=g.changed.find(b=>b.name===e),y=g.deleted.find(b=>b.name===e);m&&f({value:m.value}),y&&f({value:null})};_l.addEventListener("change",h),p&&Uo(()=>_l.removeEventListener("change",h))}else u&&(u.onmessage=({data:h})=>f(h));n.watch&&It(l,()=>{d||c()},{deep:n.watch!=="shallow"}),s&&c(s)}return l}function Jg(e={}){return tb(document.cookie,e)}function KO(e,t,n={}){return t==null?wu(e,t,{...n,maxAge:-1}):wu(e,t,n)}function WO(e,t,n={}){document.cookie=KO(e,t,n)}const Qg=2147483647;function YO(e,t,n){let r,o,i=0;const s=n?Fe(e):{value:e};return Vo()&&Uo(()=>{o?.(),clearTimeout(r)}),Xu((a,l)=>{n&&(o=It(s,l));function u(){i=0,clearTimeout(r);const c=t-i,f=c{if(i+=f,ie.includes(t))}const em={interaction_required:"interaction_required",login_required:"login_required",account_selection_required:"account_selection_required",consent_required:"consent_required",invalid_request_uri:"invalid_request_uri",invalid_request_object:"invalid_request_object",request_not_supported:"request_not_supported",request_uri_not_supported:"request_uri_not_supported",registration_not_supported:"registration_not_supported"},QO=async(e,t)=>{let n,r;try{return}catch(o){console.log({error:o}),Ti().$logger.log({title:"Token validation failed",error:o,metadata:{headers:GO()}})}},ZO=async e=>{let t,n;const r=([t,n]=Bn(()=>wp({path:e.path})),t=await t,n(),t);if(r.redirect)return Dn(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},ex=[NR,LO,QO,ZO],pd={"auth-middleware":()=>oe(()=>import("./cR7d4P8P.js"),[],import.meta.url)};function tx(e,t,n){const{pathname:r,search:o,hash:i}=t,s=e.indexOf("#");if(s>-1){const u=i.includes(e.slice(s))?e.slice(s).length:1;let c=i.slice(u);return c[0]!=="/"&&(c="/"+c),eg(c,"")}const a=eg(r,e),l=!n||IS(a,n)?a:n;return l+(l.includes("?")?"":o)+i}const nx=zt({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=Mt().app.baseURL;const o=wo.history?.(r)??GI(r),i=wo.routes?([t,n]=Bn(()=>wo.routes(zc)),t=await t,n(),t??zc):zc;let s;const a=gR({...wo,scrollBehavior:(m,y,b)=>{if(y===ir){s=b;return}if(wo.scrollBehavior){if(a.options.scrollBehavior=wo.scrollBehavior,"scrollRestoration"in window.history){const v=a.beforeEach(()=>{v(),window.history.scrollRestoration="manual"})}return wo.scrollBehavior(m,ir,s||b)}},history:o,routes:i});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const l=Gn(a.currentRoute.value);a.afterEach((m,y)=>{l.value=y}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const u=tx(r,window.location,e.payload.path),c=Gn(a.currentRoute.value),f=()=>{c.value=a.currentRoute.value};e.hook("page:finish",f),a.afterEach((m,y)=>{m.matched[0]?.components?.default===y.matched[0]?.components?.default&&f()});const d={};for(const m in c.value)Object.defineProperty(d,m,{get:()=>c.value[m],enumerable:!0});e._route=Fr(d),e._middleware||={global:[],named:{}};const p=Pa();a.afterEach(async(m,y,b)=>{delete e._processingMiddleware,!e.isHydrating&&p.value&&await e.runWithContext(TA),b&&await e.callHook("page:loading:end")});try{[t,n]=Bn(()=>a.isReady()),await t,n()}catch(m){[t,n]=Bn(()=>e.runWithContext(()=>oi(m))),await t,n()}const h=u!==a.currentRoute.value.fullPath?a.resolve(u):a.currentRoute.value;f();const g=e.payload.state._layout;return a.beforeEach(async(m,y)=>{await e.callHook("page:loading:start"),m.meta=dn(m.meta),e.isHydrating&&g&&!po(m.meta.layout)&&(m.meta.layout=g),e._processingMiddleware=!0;{const b=new Set([...ex,...e._middleware.global]);for(const v of m.matched){const E=v.meta.middleware;if(E)for(const T of Op(E))b.add(T)}{const v=await e.runWithContext(()=>wp({path:m.path}));if(v.appMiddleware)for(const E in v.appMiddleware)v.appMiddleware[E]?b.add(E):b.delete(E)}for(const v of b){const E=typeof v=="string"?e._middleware.named[v]||await pd[v]?.().then(T=>T.default||T):v;if(!E)throw new Error(`Unknown route middleware: '${v}'.`);try{const T=await e.runWithContext(()=>E(m,y));if(!e.payload.serverRendered&&e.isHydrating&&(T===!1||T instanceof Error)){const x=T||Po({statusCode:404,statusMessage:`Page Not Found: ${u}`});return await e.runWithContext(()=>oi(x)),!1}if(T===!0)continue;if(T===!1)return T;if(T)return _1(T)&&T.fatal&&await e.runWithContext(()=>oi(T)),T}catch(T){const x=Po(T);return x.fatal&&await e.runWithContext(()=>oi(x)),x}}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),a.afterEach(async(m,y)=>{m.matched.length===0&&await e.runWithContext(()=>oi(Po({statusCode:404,fatal:!1,statusMessage:`Page not found: ${m.fullPath}`,data:{path:m.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in h&&(h.name=void 0),await a.replace({...h,force:!0}),a.options.scrollBehavior=wo.scrollBehavior}catch(m){await e.runWithContext(()=>oi(m))}}),{provide:{router:a}}}}),hd=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),rx=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),ws=e=>{const t=Ve();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{hd(()=>e())}):hd(()=>e())},ox=zt({name:"nuxt:payload",setup(e){const t=new Set;Vt().beforeResolve(async(n,r)=>{if(n.path===r.path)return;const o=await _g(n.path);if(o){for(const i of t)delete e.static.data[i];for(const i in o.data)i in e.static.data||t.add(i),e.static.data[i]=o.data[i]}}),ws(()=>{e.hooks.hook("link:prefetch",async n=>{const{hostname:r}=new URL(n,window.location.href);r===window.location.hostname&&await _g(n).catch(()=>{console.warn("[nuxt] Error preloading payload for",n)})}),navigator.connection?.effectiveType!=="slow-2g"&&setTimeout(oc,1e3)})}}),ix=zt(()=>{const e=Vt();ws(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),sx=zt(e=>{let t;async function n(){const r=await oc();t&&clearTimeout(t),t=setTimeout(n,ag);try{const o=await $fetch(_p("builds/latest.json")+`?${Date.now()}`);o.id!==r.id&&e.hooks.callHook("app:manifest:update",o)}catch{}}ws(()=>{t=setTimeout(n,ag)})});function ax(e={}){const t=e.path||window.location.pathname;let n={};try{n=ls(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||n?.expires{r.clear()}),e.hook("app:chunkError",({error:i})=>{r.add(i)});function o(i){const s=fr(n.app.baseURL,i.fullPath);ax({path:s,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((i,s)=>{r.has(i)&&o(s)})}});/*! * shared v10.0.8 * (c) 2025 kazuya kawaguchi * Released under the MIT License. */function ux(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const ds=typeof window<"u",Fn=(e,t=!1)=>t?Symbol.for(e):Symbol(e),cx=(e,t,n)=>fx({l:e,k:t,s:n}),fx=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),jt=e=>typeof e=="number"&&isFinite(e),dx=e=>Cp(e)==="[object Date]",ps=e=>Cp(e)==="[object RegExp]",ja=e=>Qe(e)&&Object.keys(e).length===0,st=Object.assign,px=Object.create,Ze=(e=null)=>px(e);let tm;const Va=()=>tm||(tm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Ze());function nm(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function rm(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function hx(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(r,o,i)=>`${o}="${rm(i)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(r,o,i)=>`${o}='${rm(i)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(r=>{e=e.replace(r,"$1javascript:")}),e}const gx=Object.prototype.hasOwnProperty;function Ln(e,t){return gx.call(e,t)}const Et=Array.isArray,gt=e=>typeof e=="function",le=e=>typeof e=="string",bt=e=>typeof e=="boolean",Ye=e=>e!==null&&typeof e=="object",mx=e=>Ye(e)&>(e.then)&>(e.catch),ob=Object.prototype.toString,Cp=e=>ob.call(e),Qe=e=>Cp(e)==="[object Object]",yx=e=>e==null?"":Et(e)||Qe(e)&&e.toString===ob?JSON.stringify(e,null,2):String(e);function Np(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const bl=e=>!Ye(e)||Et(e);function $r(e,t){if(bl(e)||bl(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:o}=n.pop();Object.keys(r).forEach(i=>{i!=="__proto__"&&(Ye(r[i])&&!Ye(o[i])&&(o[i]=Array.isArray(r[i])?[]:Ze()),bl(o[i])||bl(r[i])?o[i]=r[i]:n.push({src:r[i],des:o[i]}))})}}const Mo=["nl","be","nl-formal","be-formal"],gd={nl:[],be:[],"nl-formal":[],"be-formal":[]},vx=[()=>oe(()=>import("./CzOpc30-.js"),[],import.meta.url),()=>oe(()=>import("./CFzuVH_X.js"),[],import.meta.url)],ac=[{language:"nl",code:"nl"},{language:"be",code:"be"},{language:"nl-formal",code:"nl-formal"},{language:"be-formal",code:"be-formal"}],ib="@nuxtjs/i18n",_x=!1,bx="i18n_redirected",Ex="nuxtI18nInternal",om="nuxt-i18n-slp",Tx=Symbol.for("nuxt:client-only"),El="
",Xc=new WeakMap;function wx(e){if(Xc.has(e))return Xc.get(e);const t={...e};return t.render?t.render=(n,r,o,i,s,a)=>{if(i.mounted$??n.mounted$){const l=e.render?.bind(n)(n,r,o,i,s,a);return l.children===null||typeof l.children=="string"?Qn(l):dt(l)}return Gc(n._.vnode.el,El)}:t.template&&=` `,t.setup=(n,r)=>{const o=Ve(),i=Gn(o.isHydrating===!1),s=Ot();if(o.isHydrating){const l={...s.attrs},u=Sx(s);for(const c in l)delete s.attrs[c];pn(()=>{Object.assign(s.attrs,l),s.vnode.dirs=u})}pn(()=>{i.value=!0});const a=e.setup?.(n,r)||{};return $u(a)?Promise.resolve(a).then(l=>typeof l!="function"?(l||={},l.mounted$=i,l):(...u)=>{if(i.value||!o.isHydrating){const c=l(...u);return c.children===null||typeof c.children=="string"?Qn(c):dt(c)}return Gc(s?.vnode.el,El)}):typeof a=="function"?(...l)=>{if(i.value){const u=a(...l),c=t.inheritAttrs!==!1?r.attrs:void 0;return u.children===null||typeof u.children=="string"?Qn(u,c):dt(u,c)}return Gc(s?.vnode.el,El)}:Object.assign(a,{mounted$:i})},Xc.set(e,t),t}function Sx(e){if(!e||!e.vnode.dirs)return null;const t=e.vnode.dirs;return e.vnode.dirs=null,t}function sb(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;Ax(e[0],e[1])&&e.unshift(t);let[n,r,o={}]=e;const i=te(()=>ft(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 s=Ve();o.server??=!0,o.default??=Rx,o.getCachedData??=lb,o.lazy??=!1,o.immediate??=!0,o.deep??=oA.deep,o.dedupe??="cancel",o._functionName,s._asyncData[i.value];const a={cause:"initial",dedupe:o.dedupe};s._asyncData[i.value]?._init||(a.cachedData=o.getCachedData(i.value,s,{cause:"initial"}),s._asyncData[i.value]=im(s,i.value,r,o,a.cachedData));const l=s._asyncData[i.value];l._deps++;const u=()=>s._asyncData[i.value].execute(a),c=o.server!==!1&&s.payload.serverRendered;{let p=function(b){const v=s._asyncData[b];v?._deps&&(v._deps--,v._deps===0&&v?._off())};const h=Ot();if(h&&c&&o.immediate&&!h.sp&&(h.sp=[]),h&&!h._nuxtOnBeforeMountCbs){h._nuxtOnBeforeMountCbs=[];const b=h._nuxtOnBeforeMountCbs;h_(()=>{b.forEach(v=>{v()}),b.splice(0,b.length)}),$o(()=>b.splice(0,b.length))}const g=h&&(h._nuxtClientOnly||Ut(Tx,!1));c&&s.isHydrating&&(l.error.value||l.data.value!==void 0)?l.status.value=l.error.value?"error":"success":h&&(!g&&s.payload.serverRendered&&s.isHydrating||o.lazy)&&o.immediate?h._nuxtOnBeforeMountCbs.push(u):o.immediate&&l.status.value!=="success"&&u();const m=Vo(),y=It([i,...o.watch||[]],([b],[v])=>{if((b||v)&&b!==v){const E=s._asyncData[v]?.data.value!==void 0,T=s._asyncDataPromises[v]!==void 0;v&&p(v);const x={cause:"initial",dedupe:o.dedupe};if(!s._asyncData[b]?._init){let I;v&&E?I=s._asyncData[v]?.data.value:(I=o.getCachedData(b,s,{cause:"initial"}),x.cachedData=I),s._asyncData[b]=im(s,b,r,o,I)}s._asyncData[b]._deps++,(o.immediate||E||T)&&s._asyncData[b].execute(x)}else l._execute({cause:"watch",dedupe:o.dedupe})},{flush:"sync"});m&&Uo(()=>{y(),p(i.value)})}const f={data:Tl(()=>s._asyncData[i.value]?.data),pending:Tl(()=>s._asyncData[i.value]?.pending),status:Tl(()=>s._asyncData[i.value]?.status),error:Tl(()=>s._asyncData[i.value]?.error),refresh:(...p)=>s._asyncData[i.value].execute(...p),execute:(...p)=>s._asyncData[i.value].execute(...p),clear:()=>ab(s,i.value)},d=Promise.resolve(s._asyncDataPromises[i.value]).then(()=>f);return Object.assign(d,f),d}function Tl(e){return te({get(){return e()?.value},set(t){const n=e();n&&(n.value=t)}})}function Ax(e,t){return!(typeof e=="string"||typeof e=="object"&&e!==null||typeof e=="function"&&typeof t=="function")}async function o4(e){await new Promise(n=>ws(n));const t=e?LR(e):void 0;await Ve().hooks.callHookParallel("app:data:refresh",t)}function ab(e,t){t in e.payload.data&&(e.payload.data[t]=void 0),t in e.payload._errors&&(e.payload._errors[t]=void 0),e._asyncData[t]&&(e._asyncData[t].data.value=Y(e._asyncData[t]._default()),e._asyncData[t].error.value=void 0,e._asyncData[t].status.value="idle"),t in e._asyncDataPromises&&(e._asyncDataPromises[t]&&(e._asyncDataPromises[t].cancelled=!0),e._asyncDataPromises[t]=void 0)}function Ix(e,t){const n={};for(const r of t)n[r]=e[r];return n}function im(e,t,n,r,o){e.payload._errors[t]??=void 0;const i=r.getCachedData!==lb,s=n,a=r.deep?Fe:Gn,l=o!==void 0,u=e.hook("app:data:refresh",async f=>{(!f||f.includes(t))&&await c.execute({cause:"refresh:hook"})}),c={data:a(l?o:r.default()),pending:te(()=>c.status.value==="pending"),error:xa(e.payload._errors,t),status:Gn("idle"),execute:(...f)=>{const[d,p=void 0]=f,h=d&&p===void 0&&typeof d=="object"?d:{};if(e._asyncDataPromises[t]){if((h.dedupe??r.dedupe)==="defer")return e._asyncDataPromises[t];e._asyncDataPromises[t].cancelled=!0}{const m="cachedData"in h?h.cachedData:r.getCachedData(t,e,{cause:h.cause??"refresh:manual"});if(m!==void 0)return e.payload.data[t]=c.data.value=m,c.error.value=void 0,c.status.value="success",Promise.resolve(m)}c.status.value="pending";const g=new Promise((m,y)=>{try{m(s(e))}catch(b){y(b)}}).then(async m=>{if(g.cancelled)return e._asyncDataPromises[t];let y=m;r.transform&&(y=await r.transform(m)),r.pick&&(y=Ix(y,r.pick)),e.payload.data[t]=y,c.data.value=y,c.error.value=void 0,c.status.value="success"}).catch(m=>{if(g.cancelled)return e._asyncDataPromises[t];c.error.value=Po(m),c.data.value=Y(r.default()),c.status.value="error"}).finally(()=>{g.cancelled||delete e._asyncDataPromises[t]});return e._asyncDataPromises[t]=g,e._asyncDataPromises[t]},_execute:jO((...f)=>c.execute(...f),0,{leading:!0}),_default:r.default,_deps:0,_init:!0,_hash:void 0,_off:()=>{u(),e._asyncData[t]?._init&&(e._asyncData[t]._init=!1),i||rn(()=>{e._asyncData[t]?._init||(ab(e,t),c.execute=()=>Promise.resolve())})}};return c}const Rx=()=>{},lb=(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]},Ox="$s";function mt(...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 o=Ox+n,i=Ve(),s=xa(i.payload.state,o);if(s.value===void 0&&r){const a=r();if(At(a))return i.payload.state[o]=a,a;s.value=a}return s}function ub(e,t,n){const[r={},o]=typeof t=="string"?[{},t]:[t,n],i=te(()=>ft(e)),s=te(()=>ft(r.key)||"$f"+$i([o,typeof i.value=="string"?i.value:"",...xx(r)]));if(!r.baseURL&&typeof i.value=="string"&&i.value[0]==="/"&&i.value[1]==="/")throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:a,lazy:l,default:u,transform:c,pick:f,watch:d,immediate:p,getCachedData:h,deep:g,dedupe:m,...y}=r,b=dn({...iA,...y,cache:typeof r.cache=="boolean"?void 0:r.cache}),v={server:a,lazy:l,default:u,transform:c,pick:f,immediate:p,getCachedData:h,deep:g,dedupe:m,watch:d===!1?[]:[...d||[],b]};let E;return sb(d===!1?s.value:s,()=>{E?.abort?.(new DOMException("Request aborted as another request to the same endpoint was initiated.","AbortError")),E=typeof AbortController<"u"?new AbortController:{};const x=ft(r.timeout);let I;return x&&(I=setTimeout(()=>E.abort(new DOMException("Request aborted due to timeout.","AbortError")),x),E.signal.onabort=()=>clearTimeout(I)),(r.$fetch||globalThis.$fetch)(i.value,{signal:E.signal,...b}).finally(()=>{clearTimeout(I)})},v)}function xx(e){const t=[ft(e.method)?.toUpperCase()||"GET",ft(e.baseURL)];for(const n of[e.params||e.query]){const r=ft(n);if(!r)continue;const o={};for(const[i,s]of Object.entries(r))o[ft(i)]=ft(s);t.push(o)}if(e.body){const n=ft(e.body);if(!n)t.push($i(n));else if(n instanceof ArrayBuffer)t.push($i(Object.fromEntries([...new Uint8Array(n).entries()].map(([r,o])=>[r,o.toString()]))));else if(n instanceof FormData){const r={};for(const o of n.entries()){const[i,s]=o;r[i]=s instanceof File?s.name:s}t.push($i(r))}else if(ep(n))t.push($i(dn(n)));else try{t.push($i(n))}catch{console.warn("[useFetch] Failed to hash body",n)}}return t}function Cx(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function cb(e,t=Vt()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||=new Set,t._routePreloaded.has(n)))return;const o=t._preloadPromises||=[];if(o.length>4)return Promise.all(o).then(()=>cb(e,t));t._routePreloaded.add(n);const i=r.map(s=>s.components?.default).filter(s=>typeof s=="function");for(const s of i){const a=Promise.resolve(s()).catch(()=>{}).finally(()=>o.splice(o.indexOf(a)));o.push(a)}await Promise.all(o)}function yo(e){return new URL(window.location.href)}const Nx=(...e)=>e.find(t=>t!==void 0);function Lx(e){const t=e.componentName||"NuxtLink";function n(i){return typeof i=="string"&&i.startsWith("#")}function r(i,s,a){const l=a??e.trailingSlash;if(!i||l!=="append"&&l!=="remove")return i;if(typeof i=="string")return wl(i,l);const u="path"in i&&i.path!==void 0?i.path:s(i).path;return{...i,name:void 0,path:wl(u,l)}}function o(i){const s=Vt(),a=Mt(),l=te(()=>!!i.target&&i.target!=="_self"),u=te(()=>{const m=i.to||i.href||"";return typeof m=="string"&&Dn(m,{acceptRelative:!0})}),c=Mf("RouterLink"),f=c&&typeof c!="string"?c.useLink:void 0,d=te(()=>{if(i.external)return!0;const m=i.to||i.href||"";return typeof m=="object"?!1:m===""||u.value}),p=te(()=>{const m=i.to||i.href||"";return d.value?m:r(m,s.resolve,i.trailingSlash)}),h=d.value?void 0:f?.({...i,to:p}),g=te(()=>{const m=i.trailingSlash??e.trailingSlash;if(!p.value||u.value||n(p.value))return p.value;if(d.value){const y=typeof p.value=="object"&&"path"in p.value?nd(p.value):p.value,b=typeof y=="object"?s.resolve(y).href:y;return wl(b,m)}return typeof p.value=="object"?s.resolve(p.value)?.href??null:wl(fr(a.app.baseURL,p.value),m)});return{to:p,hasTarget:l,isAbsoluteUrl:u,isExternal:d,href:g,isActive:h?.isActive??te(()=>p.value===s.currentRoute.value.path),isExactActive:h?.isExactActive??te(()=>p.value===s.currentRoute.value.path),route:h?.route??te(()=>s.resolve(p.value)),async navigate(m){await xo(g.value,{replace:i.replace,external:d.value||l.value})}}}return De({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:o,setup(i,{slots:s}){const a=Vt(),{to:l,href:u,navigate:c,isExternal:f,hasTarget:d,isAbsoluteUrl:p}=o(i),h=Gn(!1),g=Fe(null),m=v=>{g.value=i.custom?v?.$el?.nextElementSibling:v?.$el};function y(v){return!h.value&&(typeof i.prefetchOn=="string"?i.prefetchOn===v:i.prefetchOn?.[v]??e.prefetchOn?.[v])&&(i.prefetch??e.prefetch)!==!1&&i.noPrefetch!==!0&&i.target!=="_blank"&&!Px()}async function b(v=Ve()){if(h.value)return;h.value=!0;const E=typeof l.value=="string"?l.value:f.value?nd(l.value):a.resolve(l.value).fullPath,T=f.value?new URL(E,window.location.href).href:E;await Promise.all([v.hooks.callHook("link:prefetch",T).catch(()=>{}),!f.value&&!d.value&&cb(l.value,a).catch(()=>{})])}if(y("visibility")){const v=Ve();let E,T=null;pn(()=>{const x=Dx();ws(()=>{E=hd(()=>{g?.value?.tagName&&(T=x.observe(g.value,async()=>{T?.(),T=null,await b(v)}))})})}),Ai(()=>{E&&rx(E),T?.(),T=null})}return()=>{if(!f.value&&!d.value&&!n(l.value)){const T={ref:m,to:l.value,activeClass:i.activeClass||e.activeClass,exactActiveClass:i.exactActiveClass||e.exactActiveClass,replace:i.replace,ariaCurrentValue:i.ariaCurrentValue,custom:i.custom};return i.custom||(y("interaction")&&(T.onPointerenter=b.bind(null,void 0),T.onFocus=b.bind(null,void 0)),h.value&&(T.class=i.prefetchedClass||e.prefetchedClass),T.rel=i.rel||void 0),dt(Mf("RouterLink"),T,s.default)}const v=i.target||null,E=Nx(i.noRel?"":i.rel,e.externalRelAttribute,p.value||d.value?"noopener noreferrer":"")||null;return i.custom?s.default?s.default({href:u.value,navigate:c,prefetch:b,get route(){if(!u.value)return;const T=new URL(u.value,window.location.href);return{path:T.pathname,fullPath:T.pathname,get query(){return tc(T.search)},hash:T.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:u.value}},rel:E,target:v,isExternal:f.value||d.value,isActive:!1,isExactActive:!1}):null:dt("a",{ref:g,href:u.value||null,rel:E,target:v,onClick:T=>{if(!(f.value||d.value))return T.preventDefault(),i.replace?a.replace(u.value):a.push(u.value)}},s.default?.())}}})}const lc=Lx(rA);function wl(e,t){const n=t==="append"?fa:bi;return Dn(e)&&!e.startsWith("http")?e:n(e,!0)}function Dx(){const e=Ve();if(e._observer)return e._observer;let t=null;const n=new Map,r=(i,s)=>(t||=new IntersectionObserver(a=>{for(const l of a){const u=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&u&&u()}}),n.set(i,s),t.observe(i),()=>{n.delete(i),t?.unobserve(i),n.size===0&&(t?.disconnect(),t=null)});return e._observer={observe:r}}const kx=/2g/;function Px(){const e=navigator.connection;return!!(e&&(e.saveData||kx.test(e.effectiveType)))}function uc(e){return le(e)?e:e!=null?e.toString():"(null)"}function sm(e,t,n){const{defaultLocale:r,strategy:o,routesNameSeparator:i,defaultLocaleRouteNameSuffix:s,differentDomains:a}=n,l=o!=="no_prefix"||a,u=uc(e)+(l?i+t:"");return t===r&&o==="prefix_and_default"?u+i+s:u}function Mx(e,t){const n=[];for(const[r,o]of t.entries()){const i=e.find(s=>s.language?.toLowerCase()===o.toLowerCase());if(i){n.push({code:i.code,score:1-r/t.length});break}}for(const[r,o]of t.entries()){const i=o.split("-")[0].toLowerCase(),s=e.find(a=>a.language?.split("-")[0].toLowerCase()===i);if(s){n.push({code:s.code,score:.999-r/t.length});break}}return n}function Fx(e,t){return e.score===t.score?t.code.length-e.code.length:t.score-e.score}function Ux(e,t){const n=e.map(o=>({code:o.code,language:o.language||o.code})),r=Mx(n,t);return r.length===0?"":(r.length>1&&r.sort(Fx),r[0].code)}function fb(e){return new RegExp(`^/(${e.join("|")})(?:/|$)`,"i")}const jx=`(${Mo.join("|")})`,md=fb(Mo);function Vx(){const{routesNameSeparator:e,defaultLocaleRouteNameSuffix:t}=Mt().public.i18n,n=`(?:${e}${t})?`,r=new RegExp(`${e}${jx}${n}$`,"i");return o=>le(o)?o.match(md)?.[1]??"":o.name?uc(o.name).match(r)?.[1]??"":o.path?o.path.match(md)?.[1]??"":""}function $x(e){return e!=null&&"global"in e&&"mode"in e}function Bx(e){return e!=null&&!("__composer"in e)&&"locale"in e&&At(e.locale)}function db(e){return e!=null&&"__composer"in e}function Su(e){return $x(e)?e.global:e}function Gs(e){const t=Su(e);return Bx(t)?t:db(t)?t.__composer:t}function cc(){return window.location.host}function Hx(e,t,n){const r=cc();if(!r)return r;const o=le(n)?n:n.path,i=e.filter(a=>a.domain?(Dn(a.domain)?a.domain.replace(/(http|https):\/\//,""):a.domain)===r:Et(a?.domains)?a.domains.includes(r):!1);if(i.length===0)return"";if(i.length===1)return i[0]?.code??"";if(t==="no_prefix")return console.warn(gb("Multiple matching domains found! This is not supported for no_prefix strategy in combination with differentDomains!")),i[0]?.code??"";if(n&&o){const a=o.match(fb(i.map(l=>l.code)))?.at(1);if(a)return i.find(u=>u.code===a)?.code??""}return i.find(a=>a.defaultForDomains?.includes(r)??a.domainDefault)?.code??""}function pb(e){Ve();const t=cc(),{domainLocales:n}=Mt().public.i18n,r=ac.find(s=>s.code===e),o=n?.[e]?.domain||r?.domain||r?.domains?.find(s=>s===t);if(!o){console.warn(gb("Could not find domain name for locale "+e));return}return Dn(o,{strict:!0})?o:new URL(window.location.origin).protocol+"//"+o}function zx(e,t){const{multiDomainLocales:n,strategy:r,routesNameSeparator:o,defaultLocaleRouteNameSuffix:i}=e;if(!n||!(r==="prefix_except_default"||r==="prefix_and_default"))return;const s=Vt(),a=[o,i].join("");for(const l of s.getRoutes()){const u=uc(l.name);if(u.endsWith(a)){s.removeRoute(u);continue}const c=u.split(o)[1];c===t&&s.addRoute({...l,path:l.path===`/${c}`?"/":l.path.replace(`/${c}`,"")})}}function Gx(e){const{locales:t,defaultLocale:n,multiDomainLocales:r}=e;if(!r)return n||"";const o=cc();return t.some(i=>!le(i)&&i.defaultForDomains!=null)?t.find(s=>!le(s)&&!!s.defaultForDomains?.includes(o))?.code??"":n||""}const ra=new Map;async function qx(e,t){const n={messages:{}};for(const r of e){const{default:o}=await r(),i=gt(o)?await t.runWithContext(()=>o()):o;$r(i,n)}return n}function hb(e,t){if(e===!1)return[];if(Et(e))return e;let n=[];if(le(e))return t.every(o=>o!==e)&&n.push(e),n;const r=[...t,"default"];for(const o of r)o in e&&(n=[...n,...e[o].filter(Boolean)]);return n}async function Kx(e,{key:t,load:n},r){let o=null;try{const i=await n().then(s=>"default"in s?s.default:s);gt(i)?o=await r.runWithContext(()=>i(e)):(o=i,o!=null&&ra&&ra.set(t,o))}catch(i){console.error("Failed locale loading: "+i.message)}return o}async function yd(e,t,n,r){const o=t[e];if(o==null)return;const i={};for(const s of o){let a=null;ra&&ra.has(s.key)&&s.cache?a=ra.get(s.key):a=await r.runWithContext(()=>Kx(e,s,r)),a!=null&&$r(a,i)}n(e,i)}function hs(e,t){const n=Y(t),r=Ye(n)?n?.name:n;if(!(n==null||!r))return uc(r).split(e.runtimeConfig.public.i18n.routesNameSeparator)[0]}function Lp(e,t,n){if(le(t)&&Dn(t,{acceptRelative:!0}))return t;const r=Dp(e,t,n);return r==null?"":r.redirectedFrom?.fullPath||r.fullPath}function fc(e,t,n){return Dp(e,t,n)??void 0}function Wx(e){if(!le(e))return st({},e);if(e[0]==="/"){const{pathname:t,search:n,hash:r}=Jf(e);return{path:t,query:tc(n),hash:r}}return{name:e}}const Yx=e=>!!e.path&&!e.name;function Xx(e,t,n){const r=e.runtimeConfig.public.i18n;if(Yx(t)){const i=Qx(e,t,n),s=hs(e,i);return s?(i.name=sm(s,n,r),i):(!r.differentDomains&&tC(n,r.defaultLocale,r.strategy)&&(t.path="/"+n+t.path),t.path=(r.trailingSlash?fa:bi)(t.path,!0),t)}t.name||=hs(e,e.router.currentRoute.value);const o=sm(t.name,n,r);return e.router.hasRoute(o)&&(t.name=o),t}function Dp(e,t,n){try{const r=n||Y(Su(e.i18n).locale),o=Wx(t),i=e.router.resolve(Xx(e,o,r));return i.name?i:e.router.resolve(t)}catch(r){if(Nr(r,1))return null}}function Jx(e,t){if(e.runtimeConfig.public.i18n.experimental.switchLocalePathLinkSSR)return Y(e.metaState.value);const n=t.meta||{};return Y(n)?.[Ex]||{}}function kp(e,t,n){const r=n??e.router.currentRoute.value,o=hs(e,r);if(!o)return"";const i=Jx(e,r)[t],s={name:o,params:st({},r.params,i),fullPath:r.fullPath,query:r.query,hash:r.hash,path:r.path,meta:r.meta},a=Lp(e,s,t);if(e.runtimeConfig.public.i18n.differentDomains){const l=pb(t);return l&&fr(l,a)||a}return a}function Qx(e,t,n){if(e.runtimeConfig.public.i18n.strategy==="no_prefix")return t;if(e.runtimeConfig.public.i18n.strategy!=="prefix")return e.router.resolve(t);const r=t.path.slice(1),o=t.path[0]+n+(r&&"/"+r),i=e.router.options.routes.find(s=>s.path===o);return i==null?t:e.router.resolve(st({},t,i,{path:o}))}function gb(e){return`[${ib}]: ${e}`}function mb(e){return{i18n:e??Ve().$i18n,router:Vt(),runtimeConfig:Mt(),metaState:mt("nuxt-i18n-meta",()=>({}))}}async function yb(e,t=!1){const n=Ve(),{differentDomains:r,skipSettingLocaleOnNavigate:o}=n.$config.public.i18n,i=$a(),s=Y(n.$i18n.locale),a=Y(n.$i18n.localeCodes);function l(d=s){i===!1||!i.useCookie||o||n.$i18n.setLocaleCookie(d)}const u=await n.$i18n.onBeforeLanguageSwitch(s,e,t,n);if(u&&a.includes(u)){if(s===u)return l(),!1;e=u}if(!e||!t&&r||s===e)return l(),!1;const c=Y(n.$i18n.fallbackLocale),f=n.$i18n.mergeLocaleMessage.bind(n.$i18n);if(c){const d=hb(c,[e]);await Promise.all(d.map(p=>yd(p,gd,f,n)))}return await yd(e,gd,f,n),o?!1:(l(e),n._vueI18n.__setLocale(e),await n.$i18n.onLanguageSwitched(s,e),!0)}function Zx(e,t,n,r){const o=Ve(),{strategy:i,defaultLocale:s,differentDomains:a,multiDomainLocales:l}=o.$config.public.i18n,u=$a(),c=aC(e,r,n);if(c.locale&&c.from!=null&&Mo.includes(c.locale))return c.locale;let f="";a||l?f||=Hx(ac,i,e):i!=="no_prefix"&&(f||=t);const d=(Mo.includes(c.locale)||r&&Mo.includes(r))&&u&&u.useCookie&&r;return f||=d||n||s||"",f}function vb({to:e,from:t,locale:n,routeLocale:r},o=!1){if(r===n||Ve().$i18n.strategy==="no_prefix")return"";const i=mb();let s=kp(i,n,e);return o&&!s&&(s=Lp(i,e.fullPath,n)),tg(s,e.fullPath)||t&&tg(s,t.fullPath)?"":s}const eC=()=>mt(ib+":redirect",()=>"");async function _b({nuxt:e,locale:t,route:n,redirectPath:r},o=!1){const{rootRedirect:i,differentDomains:s,multiDomainLocales:a,skipSettingLocaleOnNavigate:l,locales:u,strategy:c}=e.$config.public.i18n;if(n.path==="/"&&i)return le(i)?r="/"+i:(r="/"+i.path,i.statusCode),r=e.$localePath(r,t),xo(r,{});if(!(l&&(e._vueI18n.__pendingLocale=t,e._vueI18n.__pendingLocalePromise=new Promise(f=>{e._vueI18n.__resolvePendingLocalePromise=()=>f()}),!o))){if(a&&c==="prefix_except_default"){const f=cc(),d=u.find(h=>{if(!le(h))return h.defaultForDomains?.find(g=>g===f)}),p=le(d)?void 0:d?.code;if(n.path.startsWith(`/${p}`))return xo(n.path.replace(`/${p}`,""));if(!n.path.startsWith(`/${t}`)&&t!==p){const h=e._vueI18n.__localeFromRoute(n.path);return xo(h!==""?`/${t+n.path.replace(`/${h}`,"")}`:`/${t+(n.path==="/"?"":n.path)}`)}return r&&n.path!==r?xo(r):void 0}if(s){const f=eC();f.value&&f.value!==r&&(f.value="",window.location.assign(r))}else if(r)return xo(r)}}function tC(e,t,n){return n!=="no_prefix"&&!(e===t&&(n==="prefix_and_default"||n==="prefix_except_default"))}function nC(e){const{baseUrl:t,defaultLocale:n,differentDomains:r}=e.$config.public.i18n;if(gt(t))return()=>t(e);const o=gt(n)?n():n;return()=>{if(r&&o){const i=pb(o);if(i)return i}return t??""}}function rC(e){return Et(e)?e:[e]}function wi(e,t=mb()){return(...n)=>e(t,...n)}function oC(){const e=navigator.languages;return Ux(ac,e)||void 0}function iC(){const e=$a(),t=e&&e.cookieKey||bx,n=new Date,r={path:"/",readonly:!1,expires:new Date(n.setDate(n.getDate()+365)),sameSite:e&&e.cookieCrossOrigin?"none":"lax",domain:e&&e.cookieDomain||void 0,secure:e&&e.cookieCrossOrigin||e&&e.cookieSecure};return Ua(t,r)}function sC(e,t,n){if(t===!1||!t.useCookie)return;const r=e.value??void 0;if(r!=null){if(Mo.includes(r))return r;if(n)return e.value=n,n;e.value=void 0}}function aC(e,t,n=""){const r=$a();if(!r)return{locale:"",error:"disabled"};const o=Ve(),i=o.$i18n.strategy;if(!o._vueI18n.__firstAccess)return{locale:i==="no_prefix"?n:"",error:"first_access_only"};if(i!=="no_prefix"){const u=le(e)?e:e.path;if(r.redirectOn==="root"&&u!=="/")return{locale:"",error:"not_redirect_on_root"};if(r.redirectOn==="no prefix"&&!r.alwaysRedirect&&u.match(md))return{locale:"",error:"not_redirect_on_no_prefix"}}const a=r.useCookie&&t||void 0;if(a)return{locale:a,from:"cookie"};const l=o.$i18n.getBrowserLocale();return l?{locale:l,from:"navigator_or_header"}:{locale:r.fallbackLocale||"",from:"fallback"}}function $a(e=Mt().public.i18n){return e?.detectBrowserLanguage===!1?!1:e?.detectBrowserLanguage}function lC(e){const t=Ve(),n=Y(t.$i18n.locale),r=Y(t.$i18n.locales).map(a=>le(a)?{code:a}:a),o=r.find(a=>a.code===n)||{code:n},i=fr(Y(Gs(t.$i18n).baseUrl),t.$config.app.baseURL),s=t.$config.public.i18n;return i||console.warn("I18n `baseUrl` is required to generate valid SEO tag links."),{dir:e.dir,lang:e.lang,key:e.key,seo:e.seo,locale:n,locales:r,currentDir:o.dir||s.defaultDirection,currentLocale:o,currentLanguage:o.language,baseUrl:i,runtimeI18n:s}}function uC(e,{dir:t=!0,lang:n=!0,seo:r=!0,key:o="hid"}){return cC(e,{dir:t,lang:n,seo:r,key:o})}function cC(e,t){const n={htmlAttrs:{},link:[],meta:[]},r=lC(t);return r.baseUrl==null||(r.dir&&(n.htmlAttrs.dir=r.currentDir),r.lang&&r.currentLanguage&&(n.htmlAttrs.lang=r.currentLanguage),r.seo&&(n.link=n.link.concat(fC(e,r),dC(e,r)),n.meta=n.meta.concat(pC(e,r),hC(r),gC(r)))),n}function fC(e,t){const{defaultLocale:n,strategy:r,differentDomains:o}=t.runtimeI18n,i=[];if(r==="no_prefix"&&!o)return i;const s=new Map;for(const u of t.locales){if(!u.language){console.warn("Locale `language` ISO code is required to generate alternate link");continue}const[c,f]=u.language.split("-");c&&f&&(u.isCatchallLocale||!s.has(c))&&s.set(c,u),s.set(u.language,u)}const a=t.runtimeI18n.experimental.alternateLinkCanonicalQueries===!0,l=a?e.router.resolve({query:{}}):void 0;!t.runtimeI18n.experimental.switchLocalePathLinkSSR&&a&&(l.meta=e.router.currentRoute.value.meta);for(const[u,c]of s.entries()){const f=kp(e,c.code,l);if(!f)continue;const d=o&&c.domain?f:fr(t.baseUrl,f),p=Da(d,a?Eb(e,t):{});i.push({[t.key]:`i18n-alt-${u}`,rel:"alternate",href:p,hreflang:u}),n&&n===c.code&&i.unshift({[t.key]:"i18n-xd",rel:"alternate",href:p,hreflang:"x-default"})}return i}function bb(e,t){const n=e.router.currentRoute.value,r=fc(e,st({},n,{path:void 0,name:hs(e,n)}));return r?Da(fr(t.baseUrl,r.path),Eb(e,t)):""}function dC(e,t){const n=bb(e,t);return n?[{[t.key]:"i18n-can",rel:"canonical",href:n}]:[]}function Eb(e,t){const n=e.router.currentRoute.value,r=fc(e,st({},n,{path:void 0,name:hs(e,n)})),o=Ye(t.seo)&&t.seo?.canonicalQueries||[],i=r?.query||{},s={};for(const a of o.filter(l=>l in i)){s[a]??=[];for(const l of rC(i[a]))s[a].push(l||"")}return s}function pC(e,t){const n=bb(e,t);return n?[{[t.key]:"i18n-og-url",property:"og:url",content:n}]:[]}function hC(e){return e.currentLanguage?[{[e.key]:"i18n-og",property:"og:locale",content:Tb(e.currentLanguage)}]:[]}function gC(e){return e.locales.filter(n=>n.language&&n.language!==e.currentLanguage).map(n=>({[e.key]:`i18n-og-alt-${n.language}`,property:"og:locale:alternate",content:Tb(n.language)}))}function Tb(e=""){return e.replace(/-/g,"_")}/*! * message-compiler v11.1.11 * (c) 2025 kazuya kawaguchi * Released under the MIT License. */function mC(e,t,n){return{line:e,column:t,offset:n}}function vd(e,t,n){return{start:e,end:t}}const wt={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14},yC=17;function Ba(e,t,n={}){const{domain:r,messages:o,args:i}=n,s=e,a=new SyntaxError(String(s));return a.code=e,t&&(a.location=t),a.domain=r,a}function vC(e){throw e}const Xr=" ",_C="\r",xn=` `,bC="\u2028",EC="\u2029";function TC(e){const t=e;let n=0,r=1,o=1,i=0;const s=I=>t[I]===_C&&t[I+1]===xn,a=I=>t[I]===xn,l=I=>t[I]===EC,u=I=>t[I]===bC,c=I=>s(I)||a(I)||l(I)||u(I),f=()=>n,d=()=>r,p=()=>o,h=()=>i,g=I=>s(I)||l(I)||u(I)?xn:t[I],m=()=>g(n),y=()=>g(n+i);function b(){return i=0,c(n)&&(r++,o=0),s(n)&&n++,n++,o++,t[n]}function v(){return s(n+i)&&i++,i++,t[n+i]}function E(){n=0,r=1,o=1,i=0}function T(I=0){i=I}function x(){const I=n+i;for(;I!==n;)b();i=0}return{index:f,line:d,column:p,peekOffset:h,charAt:g,currentChar:m,currentPeek:y,next:b,peek:v,reset:E,resetPeek:T,skipToPeek:x}}const So=void 0,wC=".",am="'",SC="tokenizer";function AC(e,t={}){const n=t.location!==!1,r=TC(e),o=()=>r.index(),i=()=>mC(r.line(),r.column(),r.index()),s=i(),a=o(),l={currentType:13,offset:a,startLoc:s,endLoc:s,lastType:13,lastOffset:a,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},u=()=>l,{onError:c}=t;function f(R,N,U,...q){const ee=u();if(N.column+=U,N.offset+=U,c){const Z=n?vd(ee.startLoc,N):null,A=Ba(R,Z,{domain:SC,args:q});c(A)}}function d(R,N,U){R.endLoc=i(),R.currentType=N;const q={type:N};return n&&(q.loc=vd(R.startLoc,R.endLoc)),U!=null&&(q.value=U),q}const p=R=>d(R,13);function h(R,N){return R.currentChar()===N?(R.next(),N):(f(wt.EXPECTED_TOKEN,i(),0,N),"")}function g(R){let N="";for(;R.currentPeek()===Xr||R.currentPeek()===xn;)N+=R.currentPeek(),R.peek();return N}function m(R){const N=g(R);return R.skipToPeek(),N}function y(R){if(R===So)return!1;const N=R.charCodeAt(0);return N>=97&&N<=122||N>=65&&N<=90||N===95}function b(R){if(R===So)return!1;const N=R.charCodeAt(0);return N>=48&&N<=57}function v(R,N){const{currentType:U}=N;if(U!==2)return!1;g(R);const q=y(R.currentPeek());return R.resetPeek(),q}function E(R,N){const{currentType:U}=N;if(U!==2)return!1;g(R);const q=R.currentPeek()==="-"?R.peek():R.currentPeek(),ee=b(q);return R.resetPeek(),ee}function T(R,N){const{currentType:U}=N;if(U!==2)return!1;g(R);const q=R.currentPeek()===am;return R.resetPeek(),q}function x(R,N){const{currentType:U}=N;if(U!==7)return!1;g(R);const q=R.currentPeek()===".";return R.resetPeek(),q}function I(R,N){const{currentType:U}=N;if(U!==8)return!1;g(R);const q=y(R.currentPeek());return R.resetPeek(),q}function P(R,N){const{currentType:U}=N;if(!(U===7||U===11))return!1;g(R);const q=R.currentPeek()===":";return R.resetPeek(),q}function M(R,N){const{currentType:U}=N;if(U!==9)return!1;const q=()=>{const Z=R.currentPeek();return Z==="{"?y(R.peek()):Z==="@"||Z==="|"||Z===":"||Z==="."||Z===Xr||!Z?!1:Z===xn?(R.peek(),q()):H(R,!1)},ee=q();return R.resetPeek(),ee}function V(R){g(R);const N=R.currentPeek()==="|";return R.resetPeek(),N}function H(R,N=!0){const U=(ee=!1,Z="")=>{const A=R.currentPeek();return A==="{"||A==="@"||!A?ee:A==="|"?!(Z===Xr||Z===xn):A===Xr?(R.peek(),U(!0,Xr)):A===xn?(R.peek(),U(!0,xn)):!0},q=U();return N&&R.resetPeek(),q}function B(R,N){const U=R.currentChar();return U===So?So:N(U)?(R.next(),U):null}function ce(R){const N=R.charCodeAt(0);return N>=97&&N<=122||N>=65&&N<=90||N>=48&&N<=57||N===95||N===36}function Te(R){return B(R,ce)}function ke(R){const N=R.charCodeAt(0);return N>=97&&N<=122||N>=65&&N<=90||N>=48&&N<=57||N===95||N===36||N===45}function he(R){return B(R,ke)}function me(R){const N=R.charCodeAt(0);return N>=48&&N<=57}function se(R){return B(R,me)}function Ee(R){const N=R.charCodeAt(0);return N>=48&&N<=57||N>=65&&N<=70||N>=97&&N<=102}function tt(R){return B(R,Ee)}function Se(R){let N="",U="";for(;N=se(R);)U+=N;return U}function Xe(R){let N="";for(;;){const U=R.currentChar();if(U==="{"||U==="}"||U==="@"||U==="|"||!U)break;if(U===Xr||U===xn)if(H(R))N+=U,R.next();else{if(V(R))break;N+=U,R.next()}else N+=U,R.next()}return N}function Be(R){m(R);let N="",U="";for(;N=he(R);)U+=N;return R.currentChar()===So&&f(wt.UNTERMINATED_CLOSING_BRACE,i(),0),U}function it(R){m(R);let N="";return R.currentChar()==="-"?(R.next(),N+=`-${Se(R)}`):N+=Se(R),R.currentChar()===So&&f(wt.UNTERMINATED_CLOSING_BRACE,i(),0),N}function qe(R){return R!==am&&R!==xn}function ot(R){m(R),h(R,"'");let N="",U="";for(;N=B(R,qe);)N==="\\"?U+=J(R):U+=N;const q=R.currentChar();return q===xn||q===So?(f(wt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),q===xn&&(R.next(),h(R,"'")),U):(h(R,"'"),U)}function J(R){const N=R.currentChar();switch(N){case"\\":case"'":return R.next(),`\\${N}`;case"u":return ie(R,N,4);case"U":return ie(R,N,6);default:return f(wt.UNKNOWN_ESCAPE_SEQUENCE,i(),0,N),""}}function ie(R,N,U){h(R,N);let q="";for(let ee=0;ee{const q=R.currentChar();return q==="{"||q==="@"||q==="|"||q==="("||q===")"||!q||q===Xr?U:(U+=q,R.next(),N(U))};return N("")}function C(R){m(R);const N=h(R,"|");return m(R),N}function D(R,N){let U=null;switch(R.currentChar()){case"{":return N.braceNest>=1&&f(wt.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),R.next(),U=d(N,2,"{"),m(R),N.braceNest++,U;case"}":return N.braceNest>0&&N.currentType===2&&f(wt.EMPTY_PLACEHOLDER,i(),0),R.next(),U=d(N,3,"}"),N.braceNest--,N.braceNest>0&&m(R),N.inLinked&&N.braceNest===0&&(N.inLinked=!1),U;case"@":return N.braceNest>0&&f(wt.UNTERMINATED_CLOSING_BRACE,i(),0),U=j(R,N)||p(N),N.braceNest=0,U;default:{let ee=!0,Z=!0,A=!0;if(V(R))return N.braceNest>0&&f(wt.UNTERMINATED_CLOSING_BRACE,i(),0),U=d(N,1,C(R)),N.braceNest=0,N.inLinked=!1,U;if(N.braceNest>0&&(N.currentType===4||N.currentType===5||N.currentType===6))return f(wt.UNTERMINATED_CLOSING_BRACE,i(),0),N.braceNest=0,ne(R,N);if(ee=v(R,N))return U=d(N,4,Be(R)),m(R),U;if(Z=E(R,N))return U=d(N,5,it(R)),m(R),U;if(A=T(R,N))return U=d(N,6,ot(R)),m(R),U;if(!ee&&!Z&&!A)return U=d(N,12,ve(R)),f(wt.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,U.value),m(R),U;break}}return U}function j(R,N){const{currentType:U}=N;let q=null;const ee=R.currentChar();switch((U===7||U===8||U===11||U===9)&&(ee===xn||ee===Xr)&&f(wt.INVALID_LINKED_FORMAT,i(),0),ee){case"@":return R.next(),q=d(N,7,"@"),N.inLinked=!0,q;case".":return m(R),R.next(),d(N,8,".");case":":return m(R),R.next(),d(N,9,":");default:return V(R)?(q=d(N,1,C(R)),N.braceNest=0,N.inLinked=!1,q):x(R,N)||P(R,N)?(m(R),j(R,N)):I(R,N)?(m(R),d(N,11,Ke(R))):M(R,N)?(m(R),ee==="{"?D(R,N)||q:d(N,10,ze(R))):(U===7&&f(wt.INVALID_LINKED_FORMAT,i(),0),N.braceNest=0,N.inLinked=!1,ne(R,N))}}function ne(R,N){let U={type:13};if(N.braceNest>0)return D(R,N)||p(N);if(N.inLinked)return j(R,N)||p(N);switch(R.currentChar()){case"{":return D(R,N)||p(N);case"}":return f(wt.UNBALANCED_CLOSING_BRACE,i(),0),R.next(),d(N,3,"}");case"@":return j(R,N)||p(N);default:{if(V(R))return U=d(N,1,C(R)),N.braceNest=0,N.inLinked=!1,U;if(H(R))return d(N,0,Xe(R));break}}return U}function X(){const{currentType:R,offset:N,startLoc:U,endLoc:q}=l;return l.lastType=R,l.lastOffset=N,l.lastStartLoc=U,l.lastEndLoc=q,l.offset=o(),l.startLoc=i(),r.currentChar()===So?d(l,13):ne(r,l)}return{nextToken:X,currentOffset:o,currentPosition:i,context:u}}const IC="parser",RC=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function OC(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function xC(e={}){const t=e.location!==!1,{onError:n}=e;function r(y,b,v,E,...T){const x=y.currentPosition();if(x.offset+=E,x.column+=E,n){const I=t?vd(v,x):null,P=Ba(b,I,{domain:IC,args:T});n(P)}}function o(y,b,v){const E={type:y};return t&&(E.start=b,E.end=b,E.loc={start:v,end:v}),E}function i(y,b,v,E){t&&(y.end=b,y.loc&&(y.loc.end=v))}function s(y,b){const v=y.context(),E=o(3,v.offset,v.startLoc);return E.value=b,i(E,y.currentOffset(),y.currentPosition()),E}function a(y,b){const v=y.context(),{lastOffset:E,lastStartLoc:T}=v,x=o(5,E,T);return x.index=parseInt(b,10),y.nextToken(),i(x,y.currentOffset(),y.currentPosition()),x}function l(y,b){const v=y.context(),{lastOffset:E,lastStartLoc:T}=v,x=o(4,E,T);return x.key=b,y.nextToken(),i(x,y.currentOffset(),y.currentPosition()),x}function u(y,b){const v=y.context(),{lastOffset:E,lastStartLoc:T}=v,x=o(9,E,T);return x.value=b.replace(RC,OC),y.nextToken(),i(x,y.currentOffset(),y.currentPosition()),x}function c(y){const b=y.nextToken(),v=y.context(),{lastOffset:E,lastStartLoc:T}=v,x=o(8,E,T);return b.type!==11?(r(y,wt.UNEXPECTED_EMPTY_LINKED_MODIFIER,v.lastStartLoc,0),x.value="",i(x,E,T),{nextConsumeToken:b,node:x}):(b.value==null&&r(y,wt.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,xr(b)),x.value=b.value||"",i(x,y.currentOffset(),y.currentPosition()),{node:x})}function f(y,b){const v=y.context(),E=o(7,v.offset,v.startLoc);return E.value=b,i(E,y.currentOffset(),y.currentPosition()),E}function d(y){const b=y.context(),v=o(6,b.offset,b.startLoc);let E=y.nextToken();if(E.type===8){const T=c(y);v.modifier=T.node,E=T.nextConsumeToken||y.nextToken()}switch(E.type!==9&&r(y,wt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,xr(E)),E=y.nextToken(),E.type===2&&(E=y.nextToken()),E.type){case 10:E.value==null&&r(y,wt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,xr(E)),v.key=f(y,E.value||"");break;case 4:E.value==null&&r(y,wt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,xr(E)),v.key=l(y,E.value||"");break;case 5:E.value==null&&r(y,wt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,xr(E)),v.key=a(y,E.value||"");break;case 6:E.value==null&&r(y,wt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,xr(E)),v.key=u(y,E.value||"");break;default:{r(y,wt.UNEXPECTED_EMPTY_LINKED_KEY,b.lastStartLoc,0);const T=y.context(),x=o(7,T.offset,T.startLoc);return x.value="",i(x,T.offset,T.startLoc),v.key=x,i(v,T.offset,T.startLoc),{nextConsumeToken:E,node:v}}}return i(v,y.currentOffset(),y.currentPosition()),{node:v}}function p(y){const b=y.context(),v=b.currentType===1?y.currentOffset():b.offset,E=b.currentType===1?b.endLoc:b.startLoc,T=o(2,v,E);T.items=[];let x=null;do{const M=x||y.nextToken();switch(x=null,M.type){case 0:M.value==null&&r(y,wt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,xr(M)),T.items.push(s(y,M.value||""));break;case 5:M.value==null&&r(y,wt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,xr(M)),T.items.push(a(y,M.value||""));break;case 4:M.value==null&&r(y,wt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,xr(M)),T.items.push(l(y,M.value||""));break;case 6:M.value==null&&r(y,wt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,xr(M)),T.items.push(u(y,M.value||""));break;case 7:{const V=d(y);T.items.push(V.node),x=V.nextConsumeToken||null;break}}}while(b.currentType!==13&&b.currentType!==1);const I=b.currentType===1?b.lastOffset:y.currentOffset(),P=b.currentType===1?b.lastEndLoc:y.currentPosition();return i(T,I,P),T}function h(y,b,v,E){const T=y.context();let x=E.items.length===0;const I=o(1,b,v);I.cases=[],I.cases.push(E);do{const P=p(y);x||(x=P.items.length===0),I.cases.push(P)}while(T.currentType!==13);return x&&r(y,wt.MUST_HAVE_MESSAGES_IN_PLURAL,v,0),i(I,y.currentOffset(),y.currentPosition()),I}function g(y){const b=y.context(),{offset:v,startLoc:E}=b,T=p(y);return b.currentType===13?T:h(y,v,E,T)}function m(y){const b=AC(y,st({},e)),v=b.context(),E=o(0,v.offset,v.startLoc);return t&&E.loc&&(E.loc.source=y),E.body=g(b),e.onCacheKey&&(E.cacheKey=e.onCacheKey(y)),v.currentType!==13&&r(b,wt.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,y[v.offset]||""),i(E,b.currentOffset(),b.currentPosition()),E}return{parse:m}}function xr(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function CC(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function lm(e,t){for(let n=0;num(n)),e}function um(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;ns;function l(g,m){s.code+=g}function u(g,m=!0){const y=m?r:"";l(o?y+" ".repeat(g):y)}function c(g=!0){const m=++s.indentLevel;g&&u(m)}function f(g=!0){const m=--s.indentLevel;g&&u(m)}function d(){u(s.indentLevel)}return{context:a,push:l,indent:c,deindent:f,newline:d,helper:g=>`_${g}`,needIndent:()=>s.needIndent}}function kC(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),gs(e,t.key),t.modifier?(e.push(", "),gs(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function PC(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const o=t.items.length;for(let i=0;i1){e.push(`${n("plural")}([`),e.indent(r());const o=t.cases.length;for(let i=0;i{const n=le(t.mode)?t.mode:"normal",r=le(t.filename)?t.filename:"message.intl";t.sourceMap;const o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` `,i=t.needIndent?t.needIndent:n!=="arrow",s=e.helpers||[],a=DC(e,{filename:r,breakLineCode:o,needIndent:i});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(i),s.length>0&&(a.push(`const { ${Np(s.map(c=>`${c}: _${c}`),", ")} } = ctx`),a.newline()),a.push("return "),gs(a,e),a.deindent(i),a.push("}"),delete e.helpers;const{code:l,map:u}=a.context();return{ast:e,code:l,map:u?u.toJSON():void 0}};function jC(e,t={}){const n=st({},t),r=!!n.jit,o=!!n.minify,i=n.optimize==null?!0:n.optimize,a=xC(n).parse(e);return r?(i&&LC(a),o&&Bi(a),{ast:a,code:""}):(NC(a,n),UC(a,n))}/*! * core-base v10.0.8 * (c) 2025 kazuya kawaguchi * Released under the MIT License. */function VC(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Va().__INTLIFY_PROD_DEVTOOLS__=!1)}function Hn(e){return Ye(e)&&Mp(e)===0&&(Ln(e,"b")||Ln(e,"body"))}const wb=["b","body"];function $C(e){return Bo(e,wb)}const Sb=["c","cases"];function BC(e){return Bo(e,Sb,[])}const Ab=["s","static"];function HC(e){return Bo(e,Ab)}const Ib=["i","items"];function zC(e){return Bo(e,Ib,[])}const Rb=["t","type"];function Mp(e){return Bo(e,Rb)}const Ob=["v","value"];function Sl(e,t){const n=Bo(e,Ob);if(n!=null)return n;throw ha(t)}const xb=["m","modifier"];function GC(e){return Bo(e,xb)}const Cb=["k","key"];function qC(e){const t=Bo(e,Cb);if(t)return t;throw ha(6)}function Bo(e,t,n){for(let r=0;rKC(n,e)}function KC(e,t){const n=$C(t);if(n==null)throw ha(0);if(Mp(n)===1){const i=BC(n);return e.plural(i.reduce((s,a)=>[...s,cm(e,a)],[]))}else return cm(e,n)}function cm(e,t){const n=HC(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=zC(t).reduce((o,i)=>[...o,_d(e,i)],[]);return e.normalize(r)}}function _d(e,t){const n=Mp(t);switch(n){case 3:return Sl(t,n);case 9:return Sl(t,n);case 4:{const r=t;if(Ln(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(Ln(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw ha(n)}case 5:{const r=t;if(Ln(r,"i")&&jt(r.i))return e.interpolate(e.list(r.i));if(Ln(r,"index")&&jt(r.index))return e.interpolate(e.list(r.index));throw ha(n)}case 6:{const r=t,o=GC(r),i=qC(r);return e.linked(_d(e,i),o?_d(e,o):void 0,e.type)}case 7:return Sl(t,n);case 8:return Sl(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const WC=e=>e;let Al=Ze();function YC(e,t={}){let n=!1;const r=t.onError||vC;return t.onError=o=>{n=!0,r(o)},{...jC(e,t),detectError:n}}function Nb(e,t){if(le(e)){bt(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||WC)(e),o=Al[r];if(o)return o;const{ast:i,detectError:s}=YC(e,{...t,location:!1,jit:!0}),a=Jc(i);return s?a:Al[r]=a}else{const n=e.cacheKey;if(n){const r=Al[n];return r||(Al[n]=Jc(e))}else return Jc(e)}}let ga=null;function Lb(e){ga=e}function XC(e,t,n){ga&&ga.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const JC=QC("function:translate");function QC(e){return t=>ga&&ga.emit(e,t)}const io={INVALID_ARGUMENT:yC,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},Db=24;function so(e){return Ba(e,null,void 0)}function Up(e,t){return t.locale!=null?fm(t.locale):fm(e.locale)}let Qc;function fm(e){if(le(e))return e;if(gt(e)){if(e.resolvedOnce&&Qc!=null)return Qc;if(e.constructor.name==="Function"){const t=e();if(mx(t))throw so(io.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Qc=t}else throw so(io.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw so(io.NOT_SUPPORT_LOCALE_TYPE)}function ZC(e,t,n){return[...new Set([n,...Et(t)?t:Ye(t)?Object.keys(t):le(t)?[t]:[n]])]}function dc(e,t,n){const r=le(n)?n:ma,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let i=o.__localeChainCache.get(r);if(!i){i=[];let s=[n];for(;Et(s);)s=dm(i,s,t);const a=Et(t)||!Qe(t)?t:t.default?t.default:null;s=le(a)?[a]:a,Et(s)&&dm(i,s,!1),o.__localeChainCache.set(r,i)}return i}function dm(e,t,n){let r=!0;for(let o=0;o{s===void 0?s=a:s+=a},d[1]=()=>{s!==void 0&&(t.push(s),s=void 0)},d[2]=()=>{d[0](),o++},d[3]=()=>{if(o>0)o--,r=4,d[0]();else{if(o=0,s===void 0||(s=sN(s),s===!1))return!1;d[1]()}};function p(){const h=e[n+1];if(r===5&&h==="'"||r===6&&h==='"')return n++,a="\\"+h,d[0](),!0}for(;r!==null;)if(n++,i=e[n],!(i==="\\"&&p())){if(l=iN(i),f=Ho[r],u=f[l]||f.l||8,u===8||(r=u[0],u[1]!==void 0&&(c=d[u[1]],c&&(a=i,c()===!1))))return;if(r===7)return t}}const pm=new Map;function lN(e,t){return Ye(e)?e[t]:null}function kb(e,t){if(!Ye(e))return null;let n=pm.get(t);if(n||(n=aN(t),n&&pm.set(t,n)),!n)return null;const r=n.length;let o=e,i=0;for(;i`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function cN(){return{upper:(e,t)=>t==="text"&&le(e)?e.toUpperCase():t==="vnode"&&Ye(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&le(e)?e.toLowerCase():t==="vnode"&&Ye(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&le(e)?hm(e):t==="vnode"&&Ye(e)&&"__v_isVNode"in e?hm(e.children):e}}let Pb;function Mb(e){Pb=e}let Fb;function Ub(e){Fb=e}let jb;function Vb(e){jb=e}let $b=null;const Bb=e=>{$b=e},fN=()=>$b;let Hb=null;const Iu=e=>{Hb=e},zb=()=>Hb;let gm=0;function Gb(e={}){const t=gt(e.onWarn)?e.onWarn:ux,n=le(e.version)?e.version:uN,r=le(e.locale)||gt(e.locale)?e.locale:ma,o=gt(r)?ma:r,i=Et(e.fallbackLocale)||Qe(e.fallbackLocale)||le(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,s=Qe(e.messages)?e.messages:Zc(o),a=Qe(e.datetimeFormats)?e.datetimeFormats:Zc(o),l=Qe(e.numberFormats)?e.numberFormats:Zc(o),u=st(Ze(),e.modifiers,cN()),c=e.pluralRules||Ze(),f=gt(e.missing)?e.missing:null,d=bt(e.missingWarn)||ps(e.missingWarn)?e.missingWarn:!0,p=bt(e.fallbackWarn)||ps(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,g=!!e.unresolving,m=gt(e.postTranslation)?e.postTranslation:null,y=Qe(e.processor)?e.processor:null,b=bt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter,E=gt(e.messageCompiler)?e.messageCompiler:Pb,T=gt(e.messageResolver)?e.messageResolver:Fb||lN,x=gt(e.localeFallbacker)?e.localeFallbacker:jb||ZC,I=Ye(e.fallbackContext)?e.fallbackContext:void 0,P=e,M=Ye(P.__datetimeFormatters)?P.__datetimeFormatters:new Map,V=Ye(P.__numberFormatters)?P.__numberFormatters:new Map,H=Ye(P.__meta)?P.__meta:{};gm++;const B={version:n,cid:gm,locale:r,fallbackLocale:i,messages:s,modifiers:u,pluralRules:c,missing:f,missingWarn:d,fallbackWarn:p,fallbackFormat:h,unresolving:g,postTranslation:m,processor:y,warnHtmlMessage:b,escapeParameter:v,messageCompiler:E,messageResolver:T,localeFallbacker:x,fallbackContext:I,onWarn:t,__meta:H};return B.datetimeFormats=a,B.numberFormats=l,B.__datetimeFormatters=M,B.__numberFormatters=V,__INTLIFY_PROD_DEVTOOLS__&&XC(B,n,H),B}const Zc=e=>({[e]:Ze()});function jp(e,t,n,r,o){const{missing:i,onWarn:s}=e;if(i!==null){const a=i(e,n,t,o);return le(a)?a:t}else return t}function Mr(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function dN(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function pN(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r{Vp.includes(l)?s[l]=n[l]:i[l]=n[l]}),le(r)?i.locale=r:Qe(r)&&(s=r),Qe(o)&&(s=o),[i.key||"",a,i,s]}function Ou(e,t,n){const r=e;for(const o in n){const i=`${t}__${o}`;r.__datetimeFormatters.has(i)&&r.__datetimeFormatters.delete(i)}}function xu(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:i,localeFallbacker:s}=e,{__numberFormatters:a}=e,[l,u,c,f]=va(...t),d=bt(c.missingWarn)?c.missingWarn:e.missingWarn;bt(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const p=!!c.part,h=Up(e,c),g=s(e,o,h);if(!le(l)||l==="")return new Intl.NumberFormat(h,f).format(u);let m={},y,b=null;const v="number format";for(let x=0;x{$p.includes(l)?s[l]=n[l]:i[l]=n[l]}),le(r)?i.locale=r:Qe(r)&&(s=r),Qe(o)&&(s=o),[i.key||"",a,i,s]}function Cu(e,t,n){const r=e;for(const o in n){const i=`${t}__${o}`;r.__numberFormatters.has(i)&&r.__numberFormatters.delete(i)}}const hN=e=>e,gN=e=>"",mN="text",yN=e=>e.length===0?"":Np(e),vN=yx;function mm(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function _N(e){const t=jt(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(jt(e.named.count)||jt(e.named.n))?jt(e.named.count)?e.named.count:jt(e.named.n)?e.named.n:t:t}function bN(e,t){t.count||(t.count=e),t.n||(t.n=e)}function EN(e={}){const t=e.locale,n=_N(e),r=Ye(e.pluralRules)&&le(t)&>(e.pluralRules[t])?e.pluralRules[t]:mm,o=Ye(e.pluralRules)&&le(t)&>(e.pluralRules[t])?mm:void 0,i=y=>y[r(n,y.length,o)],s=e.list||[],a=y=>s[y],l=e.named||Ze();jt(e.pluralIndex)&&bN(n,l);const u=y=>l[y];function c(y,b){const v=gt(e.messages)?e.messages(y,!!b):Ye(e.messages)?e.messages[y]:!1;return v||(e.parent?e.parent.message(y):gN)}const f=y=>e.modifiers?e.modifiers[y]:hN,d=Qe(e.processor)&>(e.processor.normalize)?e.processor.normalize:yN,p=Qe(e.processor)&>(e.processor.interpolate)?e.processor.interpolate:vN,h=Qe(e.processor)&&le(e.processor.type)?e.processor.type:mN,m={list:a,named:u,plural:i,linked:(y,...b)=>{const[v,E]=b;let T="text",x="";b.length===1?Ye(v)?(x=v.modifier||x,T=v.type||T):le(v)&&(x=v||x):b.length===2&&(le(v)&&(x=v||x),le(E)&&(T=E||T));const I=c(y,!0)(m),P=T==="vnode"&&Et(I)&&x?I[0]:I;return x?f(x)(P,T):P},message:c,type:h,interpolate:p,normalize:d,values:st(Ze(),s,l)};return m}const ym=()=>"",Yn=e=>gt(e);function Nu(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:i,fallbackLocale:s,messages:a}=e,[l,u]=_a(...t),c=bt(u.missingWarn)?u.missingWarn:e.missingWarn,f=bt(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,d=bt(u.escapeParameter)?u.escapeParameter:e.escapeParameter,p=!!u.resolvedMessage,h=le(u.default)||bt(u.default)?bt(u.default)?i?l:()=>l:u.default:n?i?l:()=>l:null,g=n||h!=null&&(le(h)||gt(h)),m=Up(e,u);d&&TN(u);let[y,b,v]=p?[l,m,a[m]||Ze()]:qb(e,l,m,s,f,c),E=y,T=l;if(!p&&!(le(E)||Hn(E)||Yn(E))&&g&&(E=h,T=E),!p&&(!(le(E)||Hn(E)||Yn(E))||!le(b)))return o?Ha:l;let x=!1;const I=()=>{x=!0},P=Yn(E)?E:Kb(e,l,b,E,T,I);if(x)return E;const M=AN(e,b,v,u),V=EN(M),H=wN(e,P,V);let B=r?r(H,l):H;if(d&&le(B)&&(B=hx(B)),__INTLIFY_PROD_DEVTOOLS__){const ce={timestamp:Date.now(),key:le(l)?l:Yn(E)?E.key:"",locale:b||(Yn(E)?E.locale:""),format:le(E)?E:Yn(E)?E.source:"",message:B};ce.meta=st({},e.__meta,fN()||{}),JC(ce)}return B}function TN(e){Et(e.list)?e.list=e.list.map(t=>le(t)?nm(t):t):Ye(e.named)&&Object.keys(e.named).forEach(t=>{le(e.named[t])&&(e.named[t]=nm(e.named[t]))})}function qb(e,t,n,r,o,i){const{messages:s,onWarn:a,messageResolver:l,localeFallbacker:u}=e,c=u(e,r,n);let f=Ze(),d,p=null;const h="translate";for(let g=0;gr);return u.locale=n,u.key=t,u}const l=s(r,SN(e,n,o,r,a,i));return l.locale=n,l.key=t,l.source=r,l}function wN(e,t,n){return t(n)}function _a(...e){const[t,n,r]=e,o=Ze();if(!le(t)&&!jt(t)&&!Yn(t)&&!Hn(t))throw so(io.INVALID_ARGUMENT);const i=jt(t)?String(t):(Yn(t),t);return jt(n)?o.plural=n:le(n)?o.default=n:Qe(n)&&!ja(n)?o.named=n:Et(n)&&(o.list=n),jt(r)?o.plural=r:le(r)?o.default=r:Qe(r)&&st(o,r),[i,o]}function SN(e,t,n,r,o,i){return{locale:t,key:n,warnHtmlMessage:o,onError:s=>{throw i&&i(s),s},onCacheKey:s=>cx(t,n,s)}}function AN(e,t,n,r){const{modifiers:o,pluralRules:i,messageResolver:s,fallbackLocale:a,fallbackWarn:l,missingWarn:u,fallbackContext:c}=e,d={locale:t,modifiers:o,pluralRules:i,messages:(p,h)=>{let g=s(n,p);if(g==null&&(c||h)){const[,,m]=qb(c||e,p,t,a,l,u);g=s(m,p)}if(le(g)||Hn(g)){let m=!1;const b=Kb(e,p,t,g,p,()=>{m=!0});return m?ym:b}else return Yn(g)?g:ym}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),jt(r.plural)&&(d.pluralIndex=r.plural),d}VC();/*! * vue-i18n v10.0.8 * (c) 2025 kazuya kawaguchi * Released under the MIT License. */const IN="10.0.8";function RN(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Va().__INTLIFY_PROD_DEVTOOLS__=!1)}const pr={UNEXPECTED_RETURN_TYPE:Db,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function wr(e,...t){return Ba(e,null,void 0)}const bd=Fn("__translateVNode"),Ed=Fn("__datetimeParts"),Td=Fn("__numberParts"),ON=Fn("__setPluralRules"),xN=Fn("__injectWithOption"),wd=Fn("__dispose");function ba(e){if(!Ye(e)||Hn(e))return e;for(const t in e)if(Ln(e,t))if(!t.includes("."))Ye(e[t])&&ba(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,i=!1;for(let s=0;s{if("locale"in a&&"resource"in a){const{locale:l,resource:u}=a;l?(s[l]=s[l]||Ze(),$r(u,s[l])):$r(u,s)}else le(a)&&$r(JSON.parse(a),s)}),o==null&&i)for(const a in s)Ln(s,a)&&ba(s[a]);return s}function Yb(e){return e.type}function CN(e,t,n){let r=Ye(t.messages)?t.messages:Ze();"__i18nGlobal"in n&&(r=Wb(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(i=>{e.mergeLocaleMessage(i,r[i])});{if(Ye(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(Ye(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function vm(e){return Me(lo,null,e,0)}const _m="__INTLIFY_META__",bm=()=>[],NN=()=>!1;let Em=0;function Tm(e){return((t,n,r,o)=>e(n,r,Ot()||void 0,o))}const LN=()=>{const e=Ot();let t=null;return e&&(t=Yb(e)[_m])?{[_m]:t}:null};function Xb(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,o=e.flatJson,i=ds?Fe:Gn;let s=bt(e.inheritLocale)?e.inheritLocale:!0;const a=i(t&&s?t.locale.value:le(e.locale)?e.locale:ma),l=i(t&&s?t.fallbackLocale.value:le(e.fallbackLocale)||Et(e.fallbackLocale)||Qe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),u=i(Wb(a.value,e)),c=i(Qe(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),f=i(Qe(e.numberFormats)?e.numberFormats:{[a.value]:{}});let d=t?t.missingWarn:bt(e.missingWarn)||ps(e.missingWarn)?e.missingWarn:!0,p=t?t.fallbackWarn:bt(e.fallbackWarn)||ps(e.fallbackWarn)?e.fallbackWarn:!0,h=t?t.fallbackRoot:bt(e.fallbackRoot)?e.fallbackRoot:!0,g=!!e.fallbackFormat,m=gt(e.missing)?e.missing:null,y=gt(e.missing)?Tm(e.missing):null,b=gt(e.postTranslation)?e.postTranslation:null,v=t?t.warnHtmlMessage:bt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter;const T=t?t.modifiers:Qe(e.modifiers)?e.modifiers:{};let x=e.pluralRules||t&&t.pluralRules,I;I=(()=>{r&&Iu(null);const A={version:IN,locale:a.value,fallbackLocale:l.value,messages:u.value,modifiers:T,pluralRules:x,missing:y===null?void 0:y,missingWarn:d,fallbackWarn:p,fallbackFormat:g,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:v,escapeParameter:E,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};A.datetimeFormats=c.value,A.numberFormats=f.value,A.__datetimeFormatters=Qe(I)?I.__datetimeFormatters:void 0,A.__numberFormatters=Qe(I)?I.__numberFormatters:void 0;const L=Gb(A);return r&&Iu(L),L})(),Mr(I,a.value,l.value);function M(){return[a.value,l.value,u.value,c.value,f.value]}const V=te({get:()=>a.value,set:A=>{a.value=A,I.locale=a.value}}),H=te({get:()=>l.value,set:A=>{l.value=A,I.fallbackLocale=l.value,Mr(I,a.value,A)}}),B=te(()=>u.value),ce=te(()=>c.value),Te=te(()=>f.value);function ke(){return gt(b)?b:null}function he(A){b=A,I.postTranslation=A}function me(){return m}function se(A){A!==null&&(y=Tm(A)),m=A,I.missing=y}const Ee=(A,L,G,re,fe,_e)=>{M();let We;try{__INTLIFY_PROD_DEVTOOLS__,r||(I.fallbackContext=t?zb():void 0),We=A(I)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(I.fallbackContext=void 0)}if(G!=="translate exists"&&jt(We)&&We===Ha||G==="translate exists"&&!We){const[nt,Ue]=L();return t&&h?re(t):fe(nt)}else{if(_e(We))return We;throw wr(pr.UNEXPECTED_RETURN_TYPE)}};function tt(...A){return Ee(L=>Reflect.apply(Nu,null,[L,...A]),()=>_a(...A),"translate",L=>Reflect.apply(L.t,L,[...A]),L=>L,L=>le(L))}function Se(...A){const[L,G,re]=A;if(re&&!Ye(re))throw wr(pr.INVALID_ARGUMENT);return tt(L,G,st({resolvedMessage:!0},re||{}))}function Xe(...A){return Ee(L=>Reflect.apply(Ru,null,[L,...A]),()=>ya(...A),"datetime format",L=>Reflect.apply(L.d,L,[...A]),()=>Au,L=>le(L))}function Be(...A){return Ee(L=>Reflect.apply(xu,null,[L,...A]),()=>va(...A),"number format",L=>Reflect.apply(L.n,L,[...A]),()=>Au,L=>le(L))}function it(A){return A.map(L=>le(L)||jt(L)||bt(L)?vm(String(L)):L)}const ot={normalize:it,interpolate:A=>A,type:"vnode"};function J(...A){return Ee(L=>{let G;const re=L;try{re.processor=ot,G=Reflect.apply(Nu,null,[re,...A])}finally{re.processor=null}return G},()=>_a(...A),"translate",L=>L[bd](...A),L=>[vm(L)],L=>Et(L))}function ie(...A){return Ee(L=>Reflect.apply(xu,null,[L,...A]),()=>va(...A),"number format",L=>L[Td](...A),bm,L=>le(L)||Et(L))}function ae(...A){return Ee(L=>Reflect.apply(Ru,null,[L,...A]),()=>ya(...A),"datetime format",L=>L[Ed](...A),bm,L=>le(L)||Et(L))}function ve(A){x=A,I.pluralRules=x}function Ke(A,L){return Ee(()=>{if(!A)return!1;const G=le(L)?L:a.value,re=D(G),fe=I.messageResolver(re,A);return Hn(fe)||Yn(fe)||le(fe)},()=>[A],"translate exists",G=>Reflect.apply(G.te,G,[A,L]),NN,G=>bt(G))}function ze(A){let L=null;const G=dc(I,l.value,a.value);for(let re=0;re{s&&(a.value=A,I.locale=A,Mr(I,a.value,l.value))}),It(t.fallbackLocale,A=>{s&&(l.value=A,I.fallbackLocale=A,Mr(I,a.value,l.value))}));const Z={id:Em,locale:V,fallbackLocale:H,get inheritLocale(){return s},set inheritLocale(A){s=A,A&&t&&(a.value=t.locale.value,l.value=t.fallbackLocale.value,Mr(I,a.value,l.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:B,get modifiers(){return T},get pluralRules(){return x||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(A){d=A,I.missingWarn=d},get fallbackWarn(){return p},set fallbackWarn(A){p=A,I.fallbackWarn=p},get fallbackRoot(){return h},set fallbackRoot(A){h=A},get fallbackFormat(){return g},set fallbackFormat(A){g=A,I.fallbackFormat=g},get warnHtmlMessage(){return v},set warnHtmlMessage(A){v=A,I.warnHtmlMessage=A},get escapeParameter(){return E},set escapeParameter(A){E=A,I.escapeParameter=A},t:tt,getLocaleMessage:D,setLocaleMessage:j,mergeLocaleMessage:ne,getPostTranslationHandler:ke,setPostTranslationHandler:he,getMissingHandler:me,setMissingHandler:se,[ON]:ve};return Z.datetimeFormats=ce,Z.numberFormats=Te,Z.rt=Se,Z.te=Ke,Z.tm=C,Z.d=Xe,Z.n=Be,Z.getDateTimeFormat=X,Z.setDateTimeFormat=R,Z.mergeDateTimeFormat=N,Z.getNumberFormat=U,Z.setNumberFormat=q,Z.mergeNumberFormat=ee,Z[xN]=n,Z[bd]=J,Z[Ed]=ae,Z[Td]=ie,Z}const Bp={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function DN({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===Dt?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},Ze())}function Jb(){return Dt}const kN=De({name:"i18n-t",props:st({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>jt(e)||!isNaN(e)}},Bp),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||Hp({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter(f=>f!=="_"),s=Ze();e.locale&&(s.locale=e.locale),e.plural!==void 0&&(s.plural=le(e.plural)?+e.plural:e.plural);const a=DN(t,i),l=o[bd](e.keypath,a,s),u=st(Ze(),r),c=le(e.tag)||Ye(e.tag)?e.tag:Jb();return dt(c,u,l)}}}),wm=kN;function PN(e){return Et(e)&&!le(e[0])}function Qb(e,t,n,r){const{slots:o,attrs:i}=t;return()=>{const s={part:!0};let a=Ze();e.locale&&(s.locale=e.locale),le(e.format)?s.key=e.format:Ye(e.format)&&(le(e.format.key)&&(s.key=e.format.key),a=Object.keys(e.format).reduce((d,p)=>n.includes(p)?st(Ze(),d,{[p]:e.format[p]}):d,Ze()));const l=r(e.value,s,a);let u=[s.key];Et(l)?u=l.map((d,p)=>{const h=o[d.type],g=h?h({[d.type]:d.value,index:p,parts:l}):[d.value];return PN(g)&&(g[0].key=`${d.type}-${p}`),g}):le(l)&&(u=[l]);const c=st(Ze(),i),f=le(e.tag)||Ye(e.tag)?e.tag:Jb();return dt(f,c,u)}}const MN=De({name:"i18n-n",props:st({value:{type:Number,required:!0},format:{type:[String,Object]}},Bp),setup(e,t){const n=e.i18n||Hp({useScope:e.scope,__useComponent:!0});return Qb(e,t,$p,(...r)=>n[Td](...r))}}),Sm=MN,FN=De({name:"i18n-d",props:st({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Bp),setup(e,t){const n=e.i18n||Hp({useScope:e.scope,__useComponent:!0});return Qb(e,t,Vp,(...r)=>n[Ed](...r))}}),Am=FN;function UN(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function jN(e){const t=s=>{const{instance:a,value:l}=s;if(!a||!a.$)throw wr(pr.UNEXPECTED_ERROR);const u=UN(e,a.$),c=Im(l);return[Reflect.apply(u.t,u,[...Rm(c)]),u]};return{created:(s,a)=>{const[l,u]=t(a);ds&&e.global===u&&(s.__i18nWatcher=It(u.locale,()=>{a.instance&&a.instance.$forceUpdate()})),s.__composer=u,s.textContent=l},unmounted:s=>{ds&&s.__i18nWatcher&&(s.__i18nWatcher(),s.__i18nWatcher=void 0,delete s.__i18nWatcher),s.__composer&&(s.__composer=void 0,delete s.__composer)},beforeUpdate:(s,{value:a})=>{if(s.__composer){const l=s.__composer,u=Im(a);s.textContent=Reflect.apply(l.t,l,[...Rm(u)])}},getSSRProps:s=>{const[a]=t(s);return{textContent:a}}}}function Im(e){if(le(e))return{path:e};if(Qe(e)){if(!("path"in e))throw wr(pr.REQUIRED_VALUE,"path");return e}else throw wr(pr.INVALID_VALUE)}function Rm(e){const{path:t,locale:n,args:r,choice:o,plural:i}=e,s={},a=r||{};return le(n)&&(s.locale=n),jt(o)&&(s.plural=o),jt(i)&&(s.plural=i),[t,a,s]}function VN(e,t,...n){const r=Qe(n[0])?n[0]:{};(bt(r.globalInstall)?r.globalInstall:!0)&&([wm.name,"I18nT"].forEach(i=>e.component(i,wm)),[Sm.name,"I18nN"].forEach(i=>e.component(i,Sm)),[Am.name,"I18nD"].forEach(i=>e.component(i,Am))),e.directive("t",jN(t))}const $N=Fn("global-vue-i18n");function BN(e={},t){const n=bt(e.globalInjection)?e.globalInjection:!0,r=new Map,[o,i]=HN(e),s=Fn("");function a(f){return r.get(f)||null}function l(f,d){r.set(f,d)}function u(f){r.delete(f)}const c={get mode(){return"composition"},async install(f,...d){if(f.__VUE_I18N_SYMBOL__=s,f.provide(f.__VUE_I18N_SYMBOL__,c),Qe(d[0])){const g=d[0];c.__composerExtend=g.__composerExtend,c.__vueI18nExtend=g.__vueI18nExtend}let p=null;n&&(p=JN(f,c.global)),VN(f,c,...d);const h=f.unmount;f.unmount=()=>{p&&p(),c.dispose(),h()}},get global(){return i},dispose(){o.stop()},__instances:r,__getInstance:a,__setInstance:l,__deleteInstance:u};return c}function Hp(e={}){const t=Ot();if(t==null)throw wr(pr.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw wr(pr.NOT_INSTALLED);const n=zN(t),r=qN(n),o=Yb(t),i=GN(e,o);if(i==="global")return CN(r,e,o),r;if(i==="parent"){let l=KN(n,t,e.__useComponent);return l==null&&(l=r),l}const s=n;let a=s.__getInstance(t);if(a==null){const l=st({},e);"__i18n"in o&&(l.__i18n=o.__i18n),r&&(l.__root=r),a=Xb(l),s.__composerExtend&&(a[wd]=s.__composerExtend(a)),YN(s,t,a),s.__setInstance(t,a)}return a}function HN(e,t,n){const r=Oa(),o=r.run(()=>Xb(e));if(o==null)throw wr(pr.UNEXPECTED_ERROR);return[r,o]}function zN(e){const t=Ut(e.isCE?$N:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw wr(e.isCE?pr.NOT_INSTALLED_WITH_PROVIDE:pr.UNEXPECTED_ERROR);return t}function GN(e,t){return ja(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function qN(e){return e.mode==="composition"?e.global:e.global.__composer}function KN(e,t,n=!1){let r=null;const o=t.root;let i=WN(t,n);for(;i!=null;){const s=e;if(e.mode==="composition"&&(r=s.__getInstance(i)),r!=null||o===i)break;i=i.parent}return r}function WN(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function YN(e,t,n){pn(()=>{},t),$o(()=>{const r=n;e.__deleteInstance(t);const o=r[wd];o&&(o(),delete r[wd])},t)}const XN=["locale","fallbackLocale","availableLocales"],Om=["t","rt","d","n","tm","te"];function JN(e,t){const n=Object.create(null);return XN.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i)throw wr(pr.UNEXPECTED_ERROR);const s=At(i.value)?{get(){return i.value.value},set(a){i.value.value=a}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,o,s)}),e.config.globalProperties.$i18n=n,Om.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i||!i.value)throw wr(pr.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,i)}),()=>{delete e.config.globalProperties.$i18n,Om.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}RN();Mb(Nb);Ub(kb);Vb(dc);if(__INTLIFY_PROD_DEVTOOLS__){const e=Va();e.__INTLIFY__=!0,Lb(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}function QN(){return wi(hs)}function ZN(){return wi(Lp)}function eL(){return wi(fc)}function tL(){return wi(fc)}function Zb(){return wi(kp)}const nL=zt({name:"i18n:plugin:switch-locale-path-ssr",dependsOn:["i18n:plugin"],setup(){const e=Ve();if(e.$config.public.i18n.experimental.switchLocalePathLinkSSR!==!0)return;const t=Zb(),n=new RegExp([``,".+?",``].join(""),"g");e.hook("app:rendered",r=>{r.renderResult?.html!=null&&(r.renderResult.html=r.renderResult.html.replaceAll(n,(o,i)=>o.replace(/href="([^"]+)"/,`href="${encodeURI(t(i??""))}"`)))})}}),rL=zt({name:"i18n:plugin:route-locale-detect",dependsOn:["i18n:plugin"],async setup(){let e,t;const n=Ve(),r=n.$router.currentRoute;async function o(s){let a=Zx(s,n._vueI18n.__localeFromRoute(s),Y(n.$i18n.locale),n.$i18n.getLocaleCookie());if(n._vueI18n.__firstAccess){n._vueI18n.__setLocale(a);const u=hb(Y(n._vueI18n.global.fallbackLocale),[a]);await Promise.all(u.map(c=>n.$i18n.loadLocaleMessages(c))),await n.$i18n.loadLocaleMessages(a)}return await n.runWithContext(()=>yb(a,n._vueI18n.__firstAccess))&&(a=Y(n.$i18n.locale)),a}[e,t]=Bn(()=>o(r.value)),await e,t(),bA("locale-changing",async(s,a)=>{let l,u;const c=([l,u]=Bn(()=>n.runWithContext(()=>o(s))),l=await l,u(),l),f=([l,u]=Bn(()=>n.runWithContext(()=>vb({to:s,from:a,locale:c,routeLocale:n._vueI18n.__localeFromRoute(s)},!0))),l=await l,u(),l);return n._vueI18n.__firstAccess=!1,[l,u]=Bn(()=>n.runWithContext(()=>_b({nuxt:n,redirectPath:f,locale:c,route:s}))),l=await l,u(),l},{global:!0})}});function oL(e,{extendComposer:t,extendComposerInstance:n}){const r=Oa(),o=e.install.bind(e);e.install=(i,...s)=>{const a=st({},s[0]);a.__composerExtend=u=>(n(u,Gs(e)),()=>{}),e.mode==="legacy"&&(a.__vueI18nExtend=u=>(n(u,Gs(u)),()=>{})),Reflect.apply(o,e,[i,a]);const l=Gs(e);if(r.run(()=>{t(l),e.mode==="legacy"&&db(e.global)&&n(e.global,Gs(e.global))}),e.mode==="composition"&&i.config.globalProperties.$i18n!=null&&n(i.config.globalProperties.$i18n,l),i.unmount){const u=i.unmount.bind(i);i.unmount=()=>{r.stop(),u()}}}}const iL=zt({name:"i18n:plugin",parallel:_x,async setup(){let e,t;const n=Ve(),r=n.$config.public.i18n,o=Gx(r);zx(r,o),n.$config.public.i18n.defaultLocale=o;const i={...r,defaultLocale:o,baseUrl:nC(n)},s=([e,t]=Bn(()=>qx(vx,Ve())),e=await e,t(),e);s.messages||={},s.fallbackLocale??=!1,o&&(s.locale=o);for(const c of Mo)s.messages[c]??={};const a=BN(s);n._vueI18n=a,a.__localeFromRoute=Vx(),a.__firstAccess=!0,a.__setLocale=c=>{const f=Su(a);At(f.locale)?f.locale.value=c:f.locale=c};const l=iC(),u=$a();return oL(a,{extendComposer(c){const f=Fe(i.locales);c.locales=te(()=>f.value);const d=Fe(Mo);c.localeCodes=te(()=>d.value);const p=Fe(i.baseUrl());c.baseUrl=te(()=>p.value),It(c.locale,()=>p.value=i.baseUrl()),c.strategy=i.strategy,c.localeProperties=te(()=>ac.find(h=>h.code===c.locale.value)||{code:c.locale.value}),c.setLocale=async h=>{if(await yb(h,a.__firstAccess),c.strategy==="no_prefix"){await c.loadLocaleMessages(h),a.__setLocale(h);return}const g=n.$router.currentRoute.value,m=await n.runWithContext(()=>vb({to:g,locale:h,routeLocale:a.__localeFromRoute(g)}));await n.runWithContext(()=>_b({nuxt:n,redirectPath:m,locale:h,route:g},!0))},c.loadLocaleMessages=async h=>await yd(h,gd,c.mergeLocaleMessage.bind(c),n),c.differentDomains=i.differentDomains,c.defaultLocale=i.defaultLocale,c.getBrowserLocale=()=>oC(),c.getLocaleCookie=()=>sC(l,u,c.defaultLocale),c.setLocaleCookie=h=>{!u||!u.useCookie||(l.value=h)},c.onBeforeLanguageSwitch=(h,g,m,y)=>n.callHook("i18n:beforeLocaleSwitch",{oldLocale:h,newLocale:g,initialSetup:m,context:y}),c.onLanguageSwitched=(h,g)=>n.callHook("i18n:localeSwitched",{oldLocale:h,newLocale:g}),c.finalizePendingLocaleChange=async()=>{a.__pendingLocale&&(a.__setLocale(a.__pendingLocale),a.__resolvePendingLocalePromise?.(),a.__pendingLocale=void 0)},c.waitForPendingLocaleChange=async()=>{a.__pendingLocale&&a.__pendingLocalePromise&&await a.__pendingLocalePromise}},extendComposerInstance(c,f){const d=[["locales",()=>f.locales],["localeCodes",()=>f.localeCodes],["baseUrl",()=>f.baseUrl],["strategy",()=>f.strategy],["localeProperties",()=>f.localeProperties],["setLocale",()=>async p=>Reflect.apply(f.setLocale,f,[p])],["loadLocaleMessages",()=>async p=>Reflect.apply(f.loadLocaleMessages,f,[p])],["differentDomains",()=>f.differentDomains],["defaultLocale",()=>f.defaultLocale],["getBrowserLocale",()=>()=>Reflect.apply(f.getBrowserLocale,f,[])],["getLocaleCookie",()=>()=>Reflect.apply(f.getLocaleCookie,f,[])],["setLocaleCookie",()=>p=>Reflect.apply(f.setLocaleCookie,f,[p])],["onBeforeLanguageSwitch",()=>(p,h,g,m)=>Reflect.apply(f.onBeforeLanguageSwitch,f,[p,h,g,m])],["onLanguageSwitched",()=>(p,h)=>Reflect.apply(f.onLanguageSwitched,f,[p,h])],["finalizePendingLocaleChange",()=>()=>Reflect.apply(f.finalizePendingLocaleChange,f,[])],["waitForPendingLocaleChange",()=>()=>Reflect.apply(f.waitForPendingLocaleChange,f,[])]];for(const[p,h]of d)Object.defineProperty(c,p,{get:h})}}),n.vueApp.use(a),Object.defineProperty(n,"$i18n",{get:()=>Su(a)}),{provide:{localeHead:wi(uC),localePath:ZN(),localeRoute:eL(),getRouteBaseName:QN(),switchLocalePath:Zb(),resolveRoute:wi(Dp),localeLocation:tL()}}}}),sL=ho(()=>oe(()=>import("./heVd6uOD.js"),__vite__mapDeps([77,78]),import.meta.url).then(e=>e.default||e.default||e)),aL=ho(()=>oe(()=>import("./DfFn2CDq.js"),[],import.meta.url).then(e=>e.default||e.default||e)),lL=ho(()=>oe(()=>import("./DiGHyfyx.js"),[],import.meta.url).then(e=>e.default||e.default||e)),uL=ho(()=>oe(()=>import("./C0bf8IdO.js"),__vite__mapDeps([79,19,20,5,6,80]),import.meta.url).then(e=>e.default||e.default||e)),cL=[["BlokAccessibilityPolicyDocument",sL],["BlokTappButton",aL],["StoryblokInspectorOnly",lL],["RetLoginHeroBlok",uL]],fL=zt({name:"nuxt:global-components",setup(e){for(const[t,n]of cL)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),Lo={branded:ho(()=>oe(()=>import("./CqZuitB0.js"),__vite__mapDeps([81,82,83]),import.meta.url).then(e=>e.default||e)),"error-layout":ho(()=>oe(()=>import("./DlfdgwPX.js"),__vite__mapDeps([84,82,85]),import.meta.url).then(e=>e.default||e))},dL=zt({name:"nuxt:prefetch",setup(e){const t=Vt();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof Lo[r]=="function"&&await Lo[r]()})}),e.hooks.hook("link:prefetch",n=>{if(Dn(n))return;const r=t.resolve(n);if(!r)return;const o=r.meta.layout;let i=Op(r.meta.middleware);i=i.filter(s=>typeof s=="string");for(const s of i)typeof pd[s]=="function"&&pd[s]();typeof o=="string"&&o in Lo&&Cx(Lo[o])})}}),xm=128,e0=1024,Cm=1e4,t0=1e3,Nm=1e4,n0=128,Lm=1e3,pL={attributeStringValueLimit:e0,attributeArrayLengthLimit:t0,attributeCountLimit:n0},hL={attributeStringValueLimit:1/0,attributeArrayLengthLimit:1/0,attributeCountLimit:1/0},Ki=e=>e===!0||e===!1,Sr=e=>!!e&&typeof e=="object"&&!Array.isArray(e),Ur=e=>typeof e=="number"&&Number.isFinite(e)&&!Number.isNaN(e),pc=e=>typeof e=="string",rs=e=>pc(e)&&e.length>0,gL=e=>Sr(e)&&typeof e.debug=="function"&&typeof e.info=="function"&&typeof e.warn=="function"&&typeof e.error=="function",mL=e=>Array.isArray(e)&&e.every(rs),yL=e=>Array.isArray(e)&&e.every(t=>rs(t)||t instanceof RegExp);function vL(e){return Sr(e)&&Ur(e.value)&&Ur(e.time)}const _L=e=>Sr(e)&&typeof e.id=="string"&&typeof e.traceId=="string"&&typeof e.isValid=="function",bL=e=>Sr(e)&&typeof e.id=="string"&&typeof e.traceId=="string";function EL(e){return Ur(e)||e instanceof Date}function TL(e){return Sr(e)&&typeof e.configure=="function"}function wL(e){return Array.isArray(e)&&e.every(t=>TL(t))}function SL(e){return Array.isArray(e)&&e.every(t=>typeof t=="function")}function AL(e,t){const n=e.length,r=e.slice(0,t),o=r.length;return`${r} *** ${n-o} CHARS TRUNCATED`}class r0{get droppedAttributesCount(){return this._droppedAttributesCount}constructor(t,n,r,o){this._droppedAttributesCount=0,this.attributes=t,this.spanAttributeLimits=n,this.spanName=r,this.logger=o}validateAttribute(t,n){if(typeof n=="string"&&n.length>this.spanAttributeLimits.attributeStringValueLimit&&(this.attributes.set(t,AL(n,this.spanAttributeLimits.attributeStringValueLimit)),this.logger.warn(`Span attribute ${t} in span ${this.spanName} was truncated as the string exceeds the ${this.spanAttributeLimits.attributeStringValueLimit} character limit set by attributeStringValueLimit.`)),Array.isArray(n)&&n.length>this.spanAttributeLimits.attributeArrayLengthLimit){const r=n.slice(0,this.spanAttributeLimits.attributeArrayLengthLimit);this.attributes.set(t,r),this.logger.warn(`Span attribute ${t} in span ${this.spanName} was truncated as the array exceeds the ${this.spanAttributeLimits.attributeArrayLengthLimit} element limit set by attributeArrayLengthLimit.`)}}set(t,n){typeof t=="string"&&(typeof n=="string"||typeof n=="boolean"||Ur(n)||Array.isArray(n))&&this.attributes.set(t,n)}setCustom(t,n){if(typeof t=="string"&&(typeof n=="string"||typeof n=="boolean"||Ur(n)||Array.isArray(n))){if(!this.attributes.has(t)&&this.attributes.size>=this.spanAttributeLimits.attributeCountLimit){this._droppedAttributesCount++,this.logger.warn(`Span attribute ${t} in span ${this.spanName} was dropped as the number of attributes exceeds the ${this.spanAttributeLimits.attributeCountLimit} attribute limit set by attributeCountLimit.`);return}if(t.length>xm){this._droppedAttributesCount++,this.logger.warn(`Span attribute ${t} in span ${this.spanName} was dropped as the key length exceeds the ${xm} character fixed limit.`);return}this.attributes.set(t,n)}}remove(t){this.attributes.delete(t)}toJson(){return Array.from(this.attributes).forEach(([t,n])=>{this.validateAttribute(t,n)}),Array.from(this.attributes).map(([t,n])=>xL(t,n))}toObject(){return Object.fromEntries(this.attributes)}}class IL extends r0{constructor(t,n,r,o,i,s){const a=new Map([["deployment.environment",t],["telemetry.sdk.name",o],["telemetry.sdk.version",i],["service.name",r]]);n.length>0&&a.set("service.version",n),super(a,hL,"resource-attributes",s)}}function RL(e){switch(typeof e){case"number":return Number.isNaN(e)||!Number.isFinite(e)?void 0:Number.isInteger(e)?{intValue:`${e}`}:{doubleValue:e};case"boolean":return{boolValue:e};case"string":return{stringValue:e}}}function OL(e){return e.map(t=>RL(t)).filter(t=>typeof t<"u")}function xL(e,t){switch(typeof t){case"number":return Number.isNaN(t)||!Number.isFinite(t)?void 0:e!=="bugsnag.sampling.p"&&Number.isInteger(t)?{key:e,value:{intValue:`${t}`}}:{key:e,value:{doubleValue:t}};case"boolean":return{key:e,value:{boolValue:t}};case"string":return{key:e,value:{stringValue:t}};case"object":if(Array.isArray(t)){const n=OL(t);return{key:e,value:{arrayValue:n.length>0?{values:n}:{}}}}return;default:return}}const CL=1e6;function o0(e){return Math.round(e*CL)}const Sd={appVersion:{defaultValue:"",message:"should be a string",validate:rs},endpoint:{defaultValue:"https://otlp.bugsnag.com/v1/traces",message:"should be a string",validate:rs},apiKey:{defaultValue:"",message:"should be a 32 character hexadecimal string",validate:e=>pc(e)&&/^[a-f0-9]{32}$/.test(e)},logger:{defaultValue:{debug(e){console.debug(e)},info(e){console.info(e)},warn(e){console.warn(e)},error(e){console.error(e)}},message:"should be a Logger object",validate:gL},releaseStage:{defaultValue:"production",message:"should be a string",validate:rs},enabledReleaseStages:{defaultValue:null,message:"should be an array of strings",validate:e=>e===null||mL(e)},plugins:{defaultValue:[],message:"should be an array of plugin objects",validate:wL},bugsnag:{defaultValue:void 0,message:"should be an instance of Bugsnag",validate:e=>Sr(e)&&typeof e.addOnError=="function"},samplingProbability:{defaultValue:void 0,message:"should be a number between 0 and 1",validate:e=>e===void 0||Ur(e)&&e>=0&&e<=1},onSpanEnd:{defaultValue:void 0,message:"should be an array of functions",validate:SL},attributeStringValueLimit:{defaultValue:e0,message:`should be a number between 1 and ${Cm}`,validate:e=>Ur(e)&&e>0&&e<=Cm},attributeArrayLengthLimit:{defaultValue:t0,message:`should be a number between 1 and ${Nm}`,validate:e=>Ur(e)&&e>0&&e<=Nm},attributeCountLimit:{defaultValue:n0,message:`should be a number between 1 and ${Lm}`,validate:e=>Ur(e)&&e>0&&e<=Lm}};function NL(e,t){if(typeof e=="string"&&(e={apiKey:e}),!Sr(e)||!pc(e.apiKey)||e.apiKey.length===0)throw new Error("No Bugsnag API Key set");let n="";const r={};for(const o of Object.keys(t))Object.prototype.hasOwnProperty.call(e,o)?t[o].validate(e[o])?r[o]=e[o]:(n+=` - ${o} ${t[o].message}, got ${typeof e[o]}`,r[o]=t[o].defaultValue):r[o]=t[o].defaultValue;return r.apiKey=e.apiKey,r.maximumBatchSize=e.maximumBatchSize||100,r.batchInactivityTimeoutMs=e.batchInactivityTimeoutMs||30*1e3,n.length>0&&r.logger.warn(`Invalid configuration${n}`),r}class LL{constructor(){this.events=[]}add(t,n){this.events.push({name:t,time:n})}toJson(t){return this.events.map(({name:n,time:r})=>({name:n,timeUnixNano:t.toUnixTimestampNanoseconds(r)}))}}function i0(e){let t=0;for(let n=0;n>>0}return t}const DL=3600*1e3;function kL(e,t){return{name:e.name,kind:e.kind,spanId:e.id,traceId:e.traceId,parentSpanId:e.parentSpanId,...e.attributes.droppedAttributesCount>0?{droppedAttributesCount:e.attributes.droppedAttributesCount}:{},startTimeUnixNano:t.toUnixTimestampNanoseconds(e.startTime),endTimeUnixNano:t.toUnixTimestampNanoseconds(e.endTime),attributes:e.attributes.toJson(),events:e.events.toJson(t)}}function PL(e){return{get id(){return e.id},get traceId(){return e.traceId},get samplingRate(){return e.samplingRate},get name(){return e.name},isValid:()=>!1,end:()=>{},setAttribute:(t,n)=>{e.attributes.setCustom(t,n)}}}async function ML(e,t,n){if(!n)return!0;const r=PL(e),o=performance.now();let i=!0;for(const s of n)try{let a=s(r);if(typeof a.then=="function"&&(a=await a),a===!1){i=!1;break}}catch(a){t.error("Error in onSpanEnd callback: "+a)}if(i){const s=o0(performance.now()-o);r.setAttribute("bugsnag.span.callbacks_duration",s)}return i}class FL{constructor(t,n,r,o,i,s,a){this.kind=3,this.events=new LL,this.id=t,this.traceId=n,this.parentSpanId=a,this.name=r,this.startTime=o,this.attributes=i,this.samplingRate=i0(this.traceId),this.clock=s}addEvent(t,n){this.events.add(t,n)}setAttribute(t,n){this.attributes.set(t,n)}setCustomAttribute(t,n){this.attributes.setCustom(t,n)}end(t,n){this.endTime=t;let r=n;return this.attributes.set("bugsnag.sampling.p",r.raw),{id:this.id,name:this.name,kind:this.kind,traceId:this.traceId,startTime:this.startTime,attributes:this.attributes,events:this.events,samplingRate:this.samplingRate,endTime:t,get samplingProbability(){return r},set samplingProbability(o){r=o,this.attributes.set("bugsnag.sampling.p",r.raw)},parentSpanId:this.parentSpanId}}isValid(){return this.endTime===void 0&&this.startTime>this.clock.now()-DL}}const s0={startTime:{message:"should be a number or Date",getDefaultValue:()=>{},validate:EL},parentContext:{message:"should be a SpanContext",getDefaultValue:()=>{},validate:e=>e===null||_L(e)},makeCurrentContext:{message:"should be true|false",getDefaultValue:()=>{},validate:Ki},isFirstClass:{message:"should be true|false",getDefaultValue:()=>{},validate:Ki}};class UL{constructor(t,n,r,o,i,s){this.spans=[],this.timeout=null,this.flushQueue=Promise.resolve(),this.delivery=t,this.configuration=n,this.retryQueue=r,this.sampler=o,this.probabilityManager=i,this.encoder=s,this.flush=this.flush.bind(this)}stop(){this.timeout!==null&&(clearTimeout(this.timeout),this.timeout=null)}start(){this.stop(),this.timeout=setTimeout(this.flush,this.configuration.batchInactivityTimeoutMs)}add(t){this.configuration.enabledReleaseStages&&!this.configuration.enabledReleaseStages.includes(this.configuration.releaseStage)||(this.spans.push(t),this.spans.length>=this.configuration.maximumBatchSize?this.flush():this.start())}async flush(){this.stop(),this.flushQueue=this.flushQueue.then(async()=>{const t=await this.prepareBatch();if(!t)return;const n=await this.encoder.encode(t),r=Date.now();try{const o=await this.delivery.send(n);switch(o.samplingProbability!==void 0&&this.probabilityManager.setProbability(o.samplingProbability),o.state){case"success":this.retryQueue.flush();break;case"failure-discard":this.configuration.logger.warn("delivery failed");break;case"failure-retryable":this.configuration.logger.info("delivery failed, adding to retry queue"),this.retryQueue.add(n,r);break;default:o.state}}catch{this.configuration.logger.warn("delivery failed")}}),await this.flushQueue}async prepareBatch(){if(this.spans.length===0)return;await this.probabilityManager.ensureFreshProbability();const t=[],n=this.sampler.spanProbability;for(const r of this.spans)r.samplingProbability.raw>n.raw&&(r.samplingProbability=n),this.sampler.sample(r)&&await ML(r,this.configuration.logger,this.configuration.onSpanEnd)&&t.push(r);if(this.spans=[],t.length!==0)return t}}class jL{constructor(t,n,r){this.clock=t,this.configuration=n,this.resourceAttributeSource=r}async encode(t){const n=await this.resourceAttributeSource(this.configuration),r=Array(t.length);for(let i=0;i=200&&e<300?"success":e>=400&&e<500&&!VL.has(e)?"failure-discard":"failure-retryable"}class zp{static async create(t,n){return t.probability=n,new zp(t,n)}constructor(t,n){this.sampler=t,this.samplingProbability=n}setProbability(t){return Promise.resolve()}ensureFreshProbability(){return Promise.resolve()}}const BL=30*1e3;class HL{constructor(t,n){this.delivery=t,this.payload={body:{resourceSpans:[]},headers:{"Bugsnag-Api-Key":n,"Content-Type":"application/json","Bugsnag-Span-Sampling":"1.0:0"}}}async getNewProbability(){for(;;){const t=await this.delivery.send(this.payload);if(t.samplingProbability!==void 0)return t.samplingProbability;await this.timeBetweenRetries()}}timeBetweenRetries(){return new Promise(t=>{setTimeout(t,BL)})}}const Dm=1440*60*1e3;class Gp{static async create(t,n,r){const o=await t.load("bugsnag-sampling-probability");let i;return o===void 0?(n.probability=1,i=0):(o.time=Dm?(this.outstandingFreshnessCheck=this.probabilityFetcher.getNewProbability().then(t=>{this.setProbability(t),this.outstandingFreshnessCheck=void 0}),this.outstandingFreshnessCheck):Promise.resolve()}}class zL{constructor(){this.spans=[]}add(t){this.spans.push(t)}}function km(e){return Math.floor(e*4294967295)}class GL{constructor(t){this._probability=t,this.scaledProbability=km(t)}get probability(){return this._probability}set probability(t){this._probability=t,this.scaledProbability=km(t)}get spanProbability(){return{raw:this._probability,scaled:this.scaledProbability}}sample(t){return t.samplingRate<=t.samplingProbability.scaled}shouldSample(t){return t<=this.spanProbability.scaled}}function qL(e,t){return e===t?!0:e!==void 0&&t!==void 0?e.id===t.id&&e.traceId===t.traceId:!1}class KL{constructor(t,n=[]){this.isInForeground=!0,this.onBackgroundStateChange=r=>{this.isInForeground=r==="in-foreground",this.contextStack.length=0},this.contextStack=n,t.onStateChange(this.onBackgroundStateChange)}*[Symbol.iterator](){for(let t=this.contextStack.length-1;t>=0;--t)yield this.contextStack[t]}push(t){t.isValid()&&this.isInForeground&&this.contextStack.push(t)}pop(t){qL(t,this.current)&&this.contextStack.pop(),this.removeClosedContexts()}get first(){return this.removeClosedContexts(),this.contextStack.length>0?this.contextStack[0]:void 0}get current(){return this.removeClosedContexts(),this.contextStack.length>0?this.contextStack[this.contextStack.length-1]:void 0}removeClosedContexts(){for(;this.contextStack.length>0&&this.contextStack[this.contextStack.length-1].isValid()===!1;)this.contextStack.pop()}}function Ad(e,t){return Ur(t)?t:t instanceof Date?e.convert(t):e.now()}const Pm=-1;class WL{constructor(t,n,r,o,i,s,a,l){this.spanAttributeLimits=pL,this.openSpans=new WeakSet,this.isInForeground=!0,this.onBackgroundStateChange=u=>{this.isInForeground=u==="in-foreground",this.openSpans=new WeakSet},this.processor=t,this.sampler=n,this.idGenerator=r,this.spanAttributesSource=o,this.clock=i,this.logger=a,this.spanContextStorage=l,s.onStateChange(this.onBackgroundStateChange)}startSpan(t,n){n.parentContext=bL(n.parentContext)||n.parentContext===null?n.parentContext:this.spanContextStorage.current;const r=new r0(new Map,this.spanAttributeLimits,t,this.logger);typeof n.isFirstClass=="boolean"&&r.set("bugsnag.span.first_class",n.isFirstClass);const o=this.createSpanInternal(t,n,r);return this.isInForeground&&(this.openSpans.add(o),n.makeCurrentContext!==!1&&this.spanContextStorage.push(o)),o}createSpanInternal(t,n,r){const o=Ad(this.clock,n.startTime),i=this.idGenerator.generate(64),s=n.parentContext?n.parentContext.id:void 0,a=n.parentContext?n.parentContext.traceId:this.idGenerator.generate(128);return new FL(i,a,t,o,r,this.clock,s)}startNetworkSpan(t){const n=`[HTTP/${t.method.toUpperCase()}]`,r=this.validateSpanOptions(n,t),o=this.startSpan(r.name,{...r.options,makeCurrentContext:!1});return o.setAttribute("bugsnag.span.category","network"),o.setAttribute("http.method",t.method),o.setAttribute("http.url",t.url),o}configure(t){this.logger=t.logger,this.spanAttributeLimits={attributeArrayLengthLimit:t.attributeArrayLengthLimit,attributeCountLimit:t.attributeCountLimit,attributeStringValueLimit:t.attributeStringValueLimit},this.onSpanEndCallbacks=t.onSpanEnd}reprocessEarlySpans(t){for(const n of this.processor.spans)t.add(n);this.processor=t}endSpan(t,n,r){this.spanContextStorage.pop(t);const o=!this.openSpans.delete(t),i=t.isValid();if(o&&!i&&this.logger.warn("Attempted to end a Span which is no longer valid."),o||!i||n===Pm){this.discardSpan(t);return}for(const[s,a]of Object.entries(r||{}))t.setAttribute(s,a);this.spanAttributesSource.requestAttributes(t),this.sendForProcessing(t,n)}discardSpan(t){t.end(Pm,this.sampler.spanProbability)}sendForProcessing(t,n){const r=t.end(n,this.sampler.spanProbability);this.sampler.sample(r)&&this.processor.add(r)}toPublicApi(t){return{get id(){return t.id},get traceId(){return t.traceId},get samplingRate(){return t.samplingRate},get name(){return t.name},isValid:()=>t.isValid(),setAttribute:(n,r)=>{t.setCustomAttribute(n,r)},end:n=>{const r=Ad(this.clock,n);this.endSpan(t,r)}}}validateSpanOptions(t,n,r=s0){let o="";const i={};if(typeof t!="string"&&(o+=` - name should be a string, got ${typeof t}`,t=String(t)),n!==void 0&&!Sr(n))o+=` - options is not an object`;else{const s=n||{};for(const a of Object.keys(r))Object.prototype.hasOwnProperty.call(s,a)&&s[a]!==void 0?r[a].validate(s[a])?i[a]=s[a]:(o+=` - ${a} ${r[a].message}, got ${typeof s[a]}`,i[a]=r[a].getDefaultValue(s[a])):i[a]=r[a].getDefaultValue(s[a])}return o.length>0&&this.logger.warn(`Invalid span options${o}`),{name:t,options:i}}}function YL(e){const t=new zL,n=e.spanContextStorage||new KL(e.backgroundingListener);let r=e.schema.logger.defaultValue;const o=new GL(1),i=e.spanFactory||WL,s=new i(t,o,e.idGenerator,e.spanAttributesSource,e.clock,e.backgroundingListener,r,n),a=e.plugins(s,n);return{start:l=>{const u=NL(l,e.schema);if(u.endpoint===Sd.endpoint.defaultValue&&(u.endpoint=u.endpoint.replace("https://",`https://${u.apiKey}.`)),u.bugsnag&&typeof u.bugsnag.Event.prototype.setTraceCorrelation=="function"&&u.bugsnag.Client){const d=u.bugsnag.Client.prototype._notify;u.bugsnag.Client.prototype._notify=function(...p){const h=n.current;h&&typeof p[0].setTraceCorrelation=="function"&&p[0].setTraceCorrelation(h.traceId,h.id),d.apply(this,p)}}const c=e.deliveryFactory(u.endpoint);e.spanAttributesSource.configure(u),s.configure(u),(u.samplingProbability===void 0?Gp.create(e.persistence,o,new HL(c,u.apiKey)):zp.create(o,u.samplingProbability)).then(d=>{const p=new UL(c,u,e.retryQueueFactory(c,u.retryQueueMaxSize),o,d,new jL(e.clock,u,e.resourceAttributesSource));s.reprocessEarlySpans(p),e.backgroundingListener.onStateChange(h=>{p.flush(),h==="in-foreground"&&d.ensureFreshProbability()}),r=u.logger});for(const d of u.plugins)a.push(d);for(const d of a)d.configure(u,s)},startSpan:(l,u)=>{const c=s.validateSpanOptions(l,u),f=s.startSpan(c.name,c.options);return f.setAttribute("bugsnag.span.category","custom"),s.toPublicApi(f)},startNetworkSpan:l=>{const u=s.startNetworkSpan(l);return{...s.toPublicApi(u),end:d=>{s.endSpan(u,Ad(e.clock,d.endTime),{"http.status_code":d.status})}}},getPlugin:l=>{for(const u of a)if(u instanceof l)return u},get currentSpanContext(){return n.current},...e.platformExtensions&&e.platformExtensions(s,n)}}function XL(){const e=()=>{};return{start:e,startSpan:()=>({id:"",traceId:"",end:e,isValid:()=>!1}),currentSpanContext:void 0}}var ef,Mm;function a0(){return Mm||(Mm=1,ef=function(t,n){var r="000000000"+t;return r.substr(r.length-n)}),ef}var tf,Fm;function JL(){if(Fm)return tf;Fm=1;var e=a0(),t=typeof window=="object"?window:self,n=0;for(var r in t)Object.hasOwnProperty.call(t,r)&&n++;var o=navigator.mimeTypes?navigator.mimeTypes.length:0,i=e((o+navigator.userAgent.length).toString(36)+n.toString(36),4);return tf=function(){return i},tf}var nf,Um;function QL(){return Um||(Um=1,nf=function(t){return typeof t=="string"&&/^c[a-z0-9]{20,32}$/.test(t)}),nf}var rf,jm;function ZL(){if(jm)return rf;jm=1;var e=JL(),t=QL(),n=a0(),r=0,o=4,i=36,s=Math.pow(i,o);function a(){return n((Math.random()*s<<0).toString(i),o)}function l(){return r=ro+Vm(i),0);for(;r>this.retryQueueMaxSize;){const o=this.payloads.shift();if(!o)break;r-=Vm(o.payload)}}async flush(){if(this.payloads.length===0)return;const t=this.payloads;this.payloads=[],this.requestQueue=this.requestQueue.then(async()=>{for(const{payload:n,time:r}of t)if(!(Date.now()>=r+oD))try{const{state:o}=await this.delivery.send(n);switch(o){case"success":case"failure-discard":break;case"failure-retryable":this.add(n,r);break;default:}}catch{}}),await this.requestQueue}}function Vm(e){let t=0;for(let n=0;n1))return n}function aD(e,t,n){let r=!1;return n&&n.onStateChange(o=>{r=o==="in-background"}),function(i){return{async send(s){const a=JSON.stringify(s.body);s.headers["Bugsnag-Sent-At"]=t.date().toISOString();try{const l=await e(i,{method:"POST",keepalive:r,body:a,headers:s.headers});return{state:$L(l.status),samplingProbability:sD(l.headers)}}catch{return a.length>1e6?{state:"failure-discard"}:{state:"failure-retryable"}}}}}}function u0(e){return e}function lD(e){return typeof e=="function"}let c0=class{constructor(){this.callbacks=[]}onStart(t){this.callbacks.push(t)}start(t){const n=[];for(const r of this.callbacks){const o=r(t);o&&n.push(o)}return{onRequestEnd:r=>{for(const o of n)o&&o.onRequestEnd&&o.onRequestEnd(r)},extraRequestHeaders:n.map(r=>{if(r&&r.extraRequestHeaders)return r.extraRequestHeaders}).filter(uD)}}};function uD(e){return e!==void 0}function qp(e,t){if(e.indexOf("https://")===0||e.indexOf("http://")===0)return e;try{const n=new URL(e,t).href;return!e.endsWith("/")&&n.endsWith("/")?n.slice(0,-1):n}catch{return e}}function cD(e,t,n,r){const o=f0(t),i=o?t.url:String(t),s=!!n&&n.method||o&&t.method||"GET";return{url:qp(i,r),method:s,startTime:e,type:"fetch"}}function f0(e){return!!e&&typeof e=="object"&&!(e instanceof URL)}function fD(e){return!!e&&typeof e=="object"&&e instanceof Headers}function dD(e,t){const n=new c0,r=e.fetch;return e.fetch=function(i,s){const a=cD(t.now(),i,s,e.document&&e.document.baseURI),{onRequestEnd:l,extraRequestHeaders:u}=n.start(a),c=pD(i,s,u);return r.call(this,c[0],c[1]).then(f=>(l({status:f.status,endTime:t.now(),state:"success"}),f)).catch(f=>{throw l({error:f,endTime:t.now(),state:"error"}),f})},n}function pD(e,t,n){if(!n)return[e,t];const r=n.reduce((o,i)=>({...o,...i}),{});return f0(e)&&(!t||!t.headers)?hD(r,e):t=gD(r,t),[e,t]}function hD(e,t){for(const[n,r]of Object.entries(e))t.headers.has(n)||t.headers.set(n,r)}function gD(e,t){if(t||(t={}),fD(t.headers)){for(const[n,r]of Object.entries(e))t.headers.has(n)||t.headers.set(n,r);return t}else return{...t,headers:{...e,...t.headers}}}function mD(e,t,n){const r=new c0,o=new WeakMap,i=new WeakMap,s=e.prototype.open;e.prototype.open=function(u,c,...f){o.set(this,{method:u,url:qp(String(c),n&&n.baseURI)}),s.call(this,u,c,...f)};const a=e.prototype.send;return e.prototype.send=function(u){const c=o.get(this);if(c){const f=i.get(this);f&&this.removeEventListener("readystatechange",f);const{onRequestEnd:d,extraRequestHeaders:p}=r.start({type:"xmlhttprequest",method:c.method,url:c.url,startTime:t.now()});if(p)for(const g of p)for(const[m,y]of Object.entries(g))this.setRequestHeader(m,y);const h=g=>{if(this.readyState===e.DONE&&d){const m=this.status>0?{endTime:t.now(),status:this.status,state:"success"}:{endTime:t.now(),state:"error"};d(m)}};this.addEventListener("readystatechange",h),i.set(this,h)}a.call(this,u)},r}const Kp={referrer:!0,title:!0,url:!0};function d0(e){return{...Kp,...e}}function yD(e){const t=["undefined","boolean"],n=Object.keys(Kp);return Sr(e)&&n.every(r=>t.includes(typeof e[r]))}function vD(e,t){return e===void 0||t===void 0||e===0&&t===0}const _D=(e,t,n,r)=>{function o(a,l,u){if(vD(l,u))return;const c=e.startSpan(`[PageLoadPhase/${a}]${n}`,{startTime:l,parentContext:r,makeCurrentContext:!1});c.setAttribute("bugsnag.span.category","page_load_phase"),c.setAttribute("bugsnag.phase",a),e.endSpan(c,u)}const i=t.getEntriesByType("navigation"),s=Array.isArray(i)&&i[0];if(s){o("Unload",s.unloadEventStart,s.unloadEventEnd),o("Redirect",s.redirectStart,s.redirectEnd),o("LoadFromCache",s.fetchStart,s.domainLookupStart),o("DNSLookup",s.domainLookupStart,s.domainLookupEnd);const a=s.secureConnectionStart||s.connectEnd;o("TCPHandshake",s.connectStart,a),o("TLS",s.secureConnectionStart,s.connectEnd),o("HTTPRequest",s.requestStart,s.responseStart),o("HTTPResponse",s.responseStart,s.responseEnd),o("DomContentLoadedEvent",s.domContentLoadedEventStart,s.domContentLoadedEventEnd),o("LoadEvent",s.loadEventStart,s.loadEventEnd)}},os=e=>e.pathname||"/",bD=()=>class{constructor(t=os){this.resolveRoute=t}listenForRouteChanges(t){}},ED=(e,t)=>class{constructor(r=os){this.resolveRoute=r}listenForRouteChanges(r){addEventListener("popstate",i=>{const s=new URL(t.href),a=r(s,"popstate");e(l=>{a.end(l)})});const o=history.pushState;history.pushState=function(...i){const s=i[2];if(s){const a=new URL(qp(s.toString(),document.baseURI)),l=r(a,"pushState");e(u=>{l.end(u)})}o.apply(this,i)}}};class TD{constructor(t,n,r,o,i,s,a){this.wasBackgrounded=!1,this.document=t,this.location=n,this.spanFactory=r,this.webVitals=o,this.onSettle=i,this.performance=a,s.onStateChange(l=>{!this.wasBackgrounded&&l==="in-background"&&(this.wasBackgrounded=!0)})}configure(t){if(!t.autoInstrumentFullPageLoads||this.wasBackgrounded)return;let n=null;const r=document.querySelector('meta[name="traceparent"]');if(r!==null&&r.getAttribute("content")){const a=r.getAttribute("content"),[,l,u]=a.split("-");n={traceId:l,id:u}}const o=this.spanFactory.startSpan("[FullPageLoad]",{startTime:0,parentContext:n}),i=d0(t.sendPageAttributes),s=new URL(this.location.href);this.onSettle(a=>{if(this.wasBackgrounded)return;const l=t.routingProvider.resolveRoute(s)||os(s);o.name+=l,_D(this.spanFactory,this.performance,l,o),o.setAttribute("bugsnag.span.category","full_page_load"),o.setAttribute("bugsnag.browser.page.route",l),i.referrer&&o.setAttribute("bugsnag.browser.page.referrer",this.document.referrer),i.title&&o.setAttribute("bugsnag.browser.page.title",this.document.title),i.url&&o.setAttribute("bugsnag.browser.page.url",s.toString()),this.webVitals.attachTo(o),this.spanFactory.endSpan(o,a)})}}const wD=["http://","https://","/","./","../"];class SD{constructor(t,n,r,o){this.spanFactory=t,this.spanContextStorage=n,this.fetchTracker=r,this.xhrTracker=o,this.configEndpoint="",this.networkRequestCallback=u0,this.logger={debug:console.debug,warn:console.warn,info:console.info,error:console.error},this.trackRequest=i=>{if(!this.shouldTrackRequest(i))return;const s=!1,a={url:i.url,type:i.type,propagateTraceContext:s},l=this.networkRequestCallback(a);if(!l)return{onRequestEnd:void 0,extraRequestHeaders:void 0};if(l.propagateTraceContext===void 0&&(l.propagateTraceContext=s),!l.url)return{onRequestEnd:void 0,extraRequestHeaders:l.propagateTraceContext?this.getExtraRequestHeaders():void 0};if(typeof l.url!="string"){this.logger.warn(`expected url to be a string following network request callback, got ${typeof l.url}`);return}const u=this.spanFactory.startNetworkSpan({method:i.method,startTime:i.startTime,url:l.url});return{onRequestEnd:c=>{c.state==="success"&&this.spanFactory.endSpan(u,c.endTime,{"http.status_code":c.status})},extraRequestHeaders:l.propagateTraceContext?this.getExtraRequestHeaders(u):void 0}}}configure(t){this.logger=t.logger,t.autoInstrumentNetworkRequests&&(this.configEndpoint=t.endpoint,this.xhrTracker.onStart(this.trackRequest),this.fetchTracker.onStart(this.trackRequest),this.networkRequestCallback=t.networkRequestCallback)}shouldTrackRequest(t){return t.url!==this.configEndpoint&&wD.some(n=>t.url.startsWith(n))}getExtraRequestHeaders(t){const n={};if(t){const r=t.traceId,o=t.id,i=this.spanFactory.sampler.shouldSample(t.samplingRate);n.traceparent=$m(r,o,i),n.tracestate=Bm(r)}else if(this.spanContextStorage.current){const r=this.spanContextStorage.current,o=r.traceId,i=r.id,s=this.spanFactory.sampler.shouldSample(r.samplingRate);n.traceparent=$m(o,i,s),n.tracestate=Bm(o)}return n}}function $m(e,t,n){return`00-${e}-${t}-${n?"01":"00"}`}function Bm(e){return`sb=v:1;r32:${i0(e)}`}function AD(e){switch(e){case"":return;case"http/1.0":return"1.0";case"http/1.1":return"1.1";case"h2":case"h2c":return"2.0";case"h3":return"3.0";case"spdy/1":case"spdy/2":case"spdy/3":return"SPDY";default:return e}}function ID(e){return e&&Array.isArray(e.supportedEntryTypes)&&e.supportedEntryTypes.includes("resource")}class RD{constructor(t,n,r){this.spanFactory=t,this.spanContextStorage=n,this.PerformanceObserverClass=r}configure(t){if(!ID(this.PerformanceObserverClass))return;const n=new this.PerformanceObserverClass(r=>{const o=r.getEntries();for(const i of o){if(i.initiatorType==="fetch"||i.initiatorType==="xmlhttprequest")continue;const s=this.spanContextStorage.first;if(s){const a=t.networkRequestCallback({url:i.name,type:i.initiatorType});if(!a)return;if(typeof a.url!="string"){t.logger.warn(`expected url to be a string following network request callback, got ${typeof a.url}`);return}let l="";try{const f=new URL(a.url);f.search="",l=f.href}catch{t.logger.warn(`Unable to parse URL returned from networkRequestCallback: ${a.url}`);return}const u=this.spanFactory.startSpan(`[ResourceLoad]${l}`,{parentContext:s,startTime:i.startTime,makeCurrentContext:!1});u.setAttribute("bugsnag.span.category","resource_load"),u.setAttribute("http.url",a.url);const c=AD(i.nextHopProtocol);c&&u.setAttribute("http.flavor",c),i.encodedBodySize&&i.decodedBodySize&&(u.setAttribute("http.response_content_length",i.encodedBodySize),u.setAttribute("http.response_content_length_uncompressed",i.decodedBodySize)),i.responseStatus&&u.setAttribute("http.status_code",i.responseStatus),this.spanFactory.endSpan(u,i.responseEnd)}}});try{n.observe({type:"resource",buffered:!0})}catch{t.logger.warn("Unable to get previous resource loads as buffered observer not supported, only showing resource loads from this point on"),n.observe({entryTypes:["resource"]})}}}const{startTime:OD,parentContext:xD,makeCurrentContext:CD}=s0,ND={startTime:OD,parentContext:xD,makeCurrentContext:CD,trigger:{getDefaultValue:e=>String(e),message:"should be a string",validate:pc}};class LD{constructor(t,n,r){this.spanFactory=t,this.location=n,this.document=r}configure(t){if(!t.autoInstrumentRouteChanges)return;const n=new URL(this.location.href);let r=t.routingProvider.resolveRoute(n)||os(n);const o=d0(t.sendPageAttributes);t.routingProvider.listenForRouteChanges((i,s,a)=>{let l;if(i instanceof URL)l=i;else try{const p=String(i);l=new URL(p)}catch{return t.logger.warn(`Invalid span options - url should be a URL`),{id:"",name:"",traceId:"",samplingRate:0,isValid:()=>!1,setAttribute:()=>{},end:()=>{}}}const u={...a,trigger:s},c=this.spanFactory.validateSpanOptions("[RouteChange]",u,ND),f=t.routingProvider.resolveRoute(l)||os(l);c.name+=f;const d=this.spanFactory.startSpan(c.name,c.options);return d.setAttribute("bugsnag.span.category","route_change"),d.setAttribute("bugsnag.browser.page.route",f),d.setAttribute("bugsnag.browser.page.previous_route",r),d.setAttribute("bugsnag.browser.page.route_change.trigger",c.options.trigger),o.url&&d.setAttribute("bugsnag.browser.page.url",i.toString()),r=f,{get id(){return d.id},get traceId(){return d.traceId},get samplingRate(){return d.samplingRate},get name(){return d.name},isValid:d.isValid,setAttribute:d.setAttribute,end:p=>{const h=Sr(p)?p:{endTime:p};if(o.title&&d.setAttribute("bugsnag.browser.page.title",this.document.title),h.url){const g=DD(h.url),m=t.routingProvider.resolveRoute(g)||os(g);d.name=`[RouteChange]${m}`,d.setAttribute("bugsnag.browser.page.route",m),r=m,o.url&&d.setAttribute("bugsnag.browser.page.url",g.toString())}this.spanFactory.toPublicApi(d).end(h.endTime)}}})}}function DD(e){return typeof e=="string"?new URL(e):e}function kD(e){const t=[];let n=e.document.visibilityState==="hidden"?"in-background":"in-foreground";const r={onStateChange(i){t.push(i),n==="in-background"&&i(n)}},o=i=>{if(n!==i){n=i;for(const s of t)s(n)}};return e.document.addEventListener("visibilitychange",function(){const i=e.document.visibilityState==="hidden"?"in-background":"in-foreground";o(i)}),e.addEventListener("pagehide",function(){o("in-background")}),e.addEventListener("pageshow",function(){o("in-foreground")}),r}const PD=3e5;function Hm(e,t){return Math.abs(Date.now()-(e+t.now()))>PD?Date.now()-t.now():e}function MD(e,t){const n=e.timeOrigin===void 0?e.timing.navigationStart:e.timeOrigin;let r=Hm(n,e);return t.onStateChange(o=>{o==="in-foreground"&&(r=Hm(r,e))}),{now:()=>e.now(),date:()=>new Date(r+e.now()),convert:o=>o.getTime()-r,toUnixTimestampNanoseconds:o=>o0(r+o).toString()}}const FD=e=>Sr(e)&&typeof e.resolveRoute=="function"&&typeof e.listenForRouteChanges=="function";function UD(e,t){return{...Sd,releaseStage:{...Sd.releaseStage,defaultValue:e==="localhost"?"development":"production"},autoInstrumentFullPageLoads:{defaultValue:!0,message:"should be true|false",validate:Ki},autoInstrumentNetworkRequests:{defaultValue:!0,message:"should be true|false",validate:Ki},autoInstrumentRouteChanges:{defaultValue:!0,message:"should be true|false",validate:Ki},generateAnonymousId:{defaultValue:!0,message:"should be true|false",validate:Ki},routingProvider:{defaultValue:t,message:"should be a routing provider",validate:FD},settleIgnoreUrls:{defaultValue:[],message:"should be an array of string|RegExp",validate:yL},networkRequestCallback:{defaultValue:u0,message:"should be a function",validate:lD},sendPageAttributes:{defaultValue:Kp,message:"should be an object",validate:yD},serviceName:{defaultValue:"unknown_service",message:"should be a string",validate:rs}}}function jD(e){const t=e.toString(16);return t.length===1?"0"+t:t}const VD={generate(e){const t=new Uint8Array(e/8),n=window.crypto.getRandomValues(t);return Array.from(n).map(jD).join("")}};class hc{constructor(t){this.settled=!1,this.callbacks=new Set,this.clock=t}subscribe(t){this.callbacks.add(t),this.isSettled()&&t(this.clock.now())}unsubscribe(t){this.callbacks.delete(t)}isSettled(){return this.settled}settle(t){this.settled=!0;for(const n of this.callbacks)n(t)}}class $D extends hc{constructor(t,n){super(t),this.timeout=void 0,new MutationObserver(()=>{this.restart()}).observe(n,{subtree:!0,childList:!0,characterData:!0}),this.restart()}restart(){clearTimeout(this.timeout),this.settled=!1;const t=this.clock.now();this.timeout=setTimeout(()=>{this.settle(t)},100)}}function BD(e){return!!e&&e.entryType==="navigation"}class HD extends hc{constructor(t,n,r,o){super(t),o.readyState==="complete"?setTimeout(()=>{this.settleUsingPerformance(r)},0):n("load",()=>{setTimeout(()=>{this.settleUsingPerformance(r)},0)})}settleUsingPerformance(t){const n=this.clock.now(),r=typeof t.getEntriesByType=="function"?t.getEntriesByType("navigation")[0]:void 0;let o=0;BD(r)?o=r.loadEventEnd:t.timing&&(o=t.timing.loadEventEnd-t.timing.navigationStart),(o<=0||o>n)&&(o=n),this.settle(o)}}class zm extends hc{constructor(t,n){super(t),this.timeout=void 0,this.urlsToIgnore=[],this.outstandingRequests=0,this.settled=!0,n.onStart(this.onRequestStart.bind(this))}setUrlsToIgnore(t){this.urlsToIgnore=t}onRequestStart(t){if(!this.shouldIgnoreUrl(t.url))return clearTimeout(this.timeout),this.settled=!1,++this.outstandingRequests,{onRequestEnd:n=>{if(--this.outstandingRequests===0){const r=this.clock.now();this.timeout=setTimeout(()=>{this.settle(r)},100)}}}}shouldIgnoreUrl(t){return this.urlsToIgnore.some(n=>n.test(t))}}class zD extends hc{constructor(t,n){super(t),this.settlers=n;for(const r of n)r.subscribe(o=>{this.settlersAreSettled()?this.settle(o):this.settled=!1})}isSettled(){return super.isSettled()&&this.settlersAreSettled()}settlersAreSettled(){for(const t of this.settlers)if(!t.isSettled())return!1;return!0}}const GD=60*1e3;function qD(){const e=()=>{};return e.configure=()=>{},e}function KD(e,t,n,r,o){const i=new $D(e,t.document),s=new zm(e,n),a=new zm(e,r),l=new HD(e,t.addEventListener,o,t.document),u=new zD(e,[i,l,s,a]);function c(f){const d=m=>{clearTimeout(p),u.unsubscribe(d),f(m)},p=setTimeout(()=>{const m=e.now();u.unsubscribe(d),f(m)},GD),h=u.isSettled()?100:0,g=e.now();setTimeout(()=>{u.isSettled()?d(g):u.subscribe(d)},h)}return c.configure=function(f){const d=f.settleIgnoreUrls.map(p=>typeof p=="string"?RegExp(p):p).concat(RegExp(f.endpoint));s.setUrlsToIgnore(d),a.setUrlsToIgnore(d)},c}function WD(e){try{if(e.localStorage)return new XD(e.localStorage)}catch{}return new nD}function YD(e,t){switch(e){case"bugsnag-sampling-probability":return JSON.stringify(t);case"bugsnag-anonymous-id":return t;default:return e}}class XD{constructor(t){this.storage=t}async load(t){try{const n=this.storage.getItem(t);if(n)return rD(t,n)}catch{}}async save(t,n){try{this.storage.setItem(t,YD(t,n))}catch{}}}function JD(e,t){let n,r;return function(i){const s=new IL(i.releaseStage,i.appVersion,i.serviceName,"bugsnag.performance.browser","2.11.0",i.logger);if(s.set("browser.user_agent",e.userAgent),e.userAgentData&&(s.set("browser.platform",e.userAgentData.platform),s.set("browser.mobile",e.userAgentData.mobile)),i.generateAnonymousId)if(n||(n=t.load("bugsnag-anonymous-id").then(a=>{const l=a||l0();return a||t.save("bugsnag-anonymous-id",l),r=l,r})),r)s.set("device.id",r);else return n.then(a=>(s.set("device.id",a),s));return Promise.resolve(s)}}const QD=e=>{const t={url:{name:"bugsnag.browser.page.url",getValue:()=>e.location.href,permitted:!1},title:{name:"bugsnag.browser.page.title",getValue:()=>e.title,permitted:!1}};return{configure(n){t.title.permitted=n.sendPageAttributes.title||!1,t.url.permitted=n.sendPageAttributes.url||!1},requestAttributes(n){for(const r of Object.values(t))r.permitted&&n.setAttribute(r.name,r.getValue())}}};class ZD{constructor(t,n,r){if(this.performance=t,this.clock=n,this.observers=[],r&&Array.isArray(r.supportedEntryTypes)){const o=r.supportedEntryTypes;o.includes("largest-contentful-paint")&&this.observeLargestContentfulPaint(r),o.includes("layout-shift")&&this.observeLayoutShift(r)}}attachTo(t){const n=this.firstContentfulPaint();n&&t.addEvent("fcp",n);const r=this.timeToFirstByte();r&&t.addEvent("ttfb",r);const o=this.firstInputDelay();o&&(t.addEvent("fid_start",o.start),t.addEvent("fid_end",o.end)),this.cumulativeLayoutShift&&t.setAttribute("bugsnag.metrics.cls",this.cumulativeLayoutShift),this.largestContentfulPaint&&t.addEvent("lcp",this.largestContentfulPaint);for(const i of this.observers)i.disconnect()}firstContentfulPaint(){const t=this.performance.getEntriesByName("first-contentful-paint","paint"),n=Array.isArray(t)&&t[0];if(n)return n.startTime}timeToFirstByte(){const t=this.performance.getEntriesByType("navigation"),n=Array.isArray(t)&&t[0];let r;if(n?r=n.responseStart:r=this.performance.timing.responseStart-this.performance.timing.navigationStart,r>0&&r<=this.clock.now())return r}firstInputDelay(){const t=this.performance.getEntriesByType("first-input"),n=Array.isArray(t)&&t[0];if(n)return{start:n.startTime,end:n.processingStart}}observeLargestContentfulPaint(t){const n=new t(r=>{const o=r.getEntries();o.length>0&&(this.largestContentfulPaint=o[o.length-1].startTime)});n.observe({type:"largest-contentful-paint",buffered:!0}),this.observers.push(n)}observeLayoutShift(t){let n;const r=new t(o=>{for(const i of o.getEntries())i.hadRecentInput||(n&&i.startTime-n.previousStartTime<1e3&&i.startTime-n.firstStartTime<5e3?(n.value+=i.value,n.previousStartTime=i.startTime):n={value:i.value,firstStartTime:i.startTime,previousStartTime:i.startTime});n&&(this.cumulativeLayoutShift===void 0||n.value>this.cumulativeLayoutShift)&&(this.cumulativeLayoutShift=n.value)});r.observe({type:"layout-shift",buffered:!0}),this.observers.push(r)}}let Hi,of,Id;if(typeof window>"u"||typeof document>"u")Hi=qD(),of=bD(),Id=XL();else{const e=kD(window),t=QD(document),n=MD(performance,e),r=WD(window),o=JD(navigator,r),i=dD(window,n),s=mD(XMLHttpRequest,n,document),a=new ZD(performance,n,window.PerformanceObserver);Hi=KD(n,window,i,s,performance),of=ED(Hi,window.location),Id=YL({backgroundingListener:e,clock:n,resourceAttributesSource:o,spanAttributesSource:t,deliveryFactory:aD(window.fetch,n,e),idGenerator:VD,schema:UD(window.location.hostname,new of),plugins:(l,u)=>[Hi,new TD(document,window.location,l,a,Hi,e,performance),new RD(l,u,window.PerformanceObserver),new SD(l,u,i,s),new LD(l,window.location,document)],persistence:r,retryQueueFactory:(l,u)=>new iD(l,u)})}const ek=Id;class tk{constructor(t,n){this.router=t;const r=!n||n==="/"?"":n;function o(i){var s;return((s=t.resolve({path:i.pathname.replace(r??"","")}).matched.pop())===null||s===void 0?void 0:s.path)||"no-route-found"}this.resolveRoute=o}listenForRouteChanges(t){this.router.beforeResolve((n,r)=>{if(!r.name)return;const o=new URL(n.path,document.baseURI),i=t(o,"beforeResolve");Hi(s=>{i.end(s)})})}}const nk=zt(e=>{const n=Mt().public.bugsnag,r=Vt();n.performanceConfig.routingProvider=new tk(r);const o=ek.start(n);return e.vueApp.provide("bugsnag-performance",o),{provide:{bugsnagPerformance:o}}});var sf={exports:{}},Gm;function rk(){return Gm||(Gm=1,(function(e,t){(function(n){e.exports=n()})(function(){var n=["navigation","request","process","log","user","state","error","manual"],r=function(_,w,O){for(var S=O,k=0,z=_.length;k=_&&O<=w}},f=function(_){return typeof _=="function"||s(_)&&o(_,function(w){return typeof w=="function"}).length===_.length},d=function(_){return typeof _=="string"&&!!_.length},p={},h=function(){return{unhandledExceptions:!0,unhandledRejections:!0}};p.schema={apiKey:{defaultValue:function(){return null},message:"is required",validate:d},appVersion:{defaultValue:function(){},message:"should be a string",validate:function(_){return _===void 0||d(_)}},appType:{defaultValue:function(){},message:"should be a string",validate:function(_){return _===void 0||d(_)}},autoDetectErrors:{defaultValue:function(){return!0},message:"should be true|false",validate:function(_){return _===!0||_===!1}},enabledErrorTypes:{defaultValue:function(){return h()},message:"should be an object containing the flags { unhandledExceptions:true|false, unhandledRejections:true|false }",allowPartialObject:!0,validate:function(_){if(typeof _!="object"||!_)return!1;var w=u(_),O=u(h());return!(o(w,function(S){return i(O,S)}).length0)}},onError:{defaultValue:function(){return[]},message:"should be a function or array of functions",validate:f},onSession:{defaultValue:function(){return[]},message:"should be a function or array of functions",validate:f},onBreadcrumb:{defaultValue:function(){return[]},message:"should be a function or array of functions",validate:f},endpoints:{defaultValue:function(_){return typeof _>"u"?{notify:"https://notify.bugsnag.com",sessions:"https://sessions.bugsnag.com"}:{notify:null,sessions:null}},message:"should be an object containing endpoint URLs { notify, sessions }",validate:function(_){return _&&typeof _=="object"&&d(_.notify)&&d(_.sessions)&&o(u(_),function(w){return!i(["notify","sessions"],w)}).length===0}},autoTrackSessions:{defaultValue:function(_){return!0},message:"should be true|false",validate:function(_){return _===!0||_===!1}},enabledReleaseStages:{defaultValue:function(){return null},message:"should be an array of strings",validate:function(_){return _===null||s(_)&&o(_,function(w){return typeof w=="string"}).length===_.length}},releaseStage:{defaultValue:function(){return"production"},message:"should be a string",validate:function(_){return typeof _=="string"&&_.length}},maxBreadcrumbs:{defaultValue:function(){return 25},message:"should be a number ≤100",validate:function(_){return c(0,100)(_)}},enabledBreadcrumbTypes:{defaultValue:function(){return n},message:"should be null or a list of available breadcrumb types ("+n.join(",")+")",validate:function(_){return _===null||s(_)&&r(_,function(w,O){return w===!1?w:i(n,O)},!0)}},context:{defaultValue:function(){},message:"should be a string",validate:function(_){return _===void 0||typeof _=="string"}},user:{defaultValue:function(){return{}},message:"should be an object with { id, email, name } properties",validate:function(_){return _===null||_&&r(u(_),function(w,O){return w&&i(["id","email","name"],O)},!0)}},metadata:{defaultValue:function(){return{}},message:"should be an object",validate:function(_){return typeof _=="object"&&_!==null}},logger:{defaultValue:function(){},message:"should be null or an object with methods { debug, info, warn, error }",validate:function(_){return!_||_&&r(["debug","info","warn","error"],function(w,O){return w&&typeof _[O]=="function"},!0)}},redactedKeys:{defaultValue:function(){return["password"]},message:"should be an array of strings|regexes",validate:function(_){return s(_)&&_.length===o(_,function(w){return typeof w=="string"||w&&typeof w.test=="function"}).length}},plugins:{defaultValue:function(){return[]},message:"should be an array of plugin objects",validate:function(_){return s(_)&&_.length===o(_,function(w){return w&&typeof w=="object"&&typeof w.load=="function"}).length}},featureFlags:{defaultValue:function(){return[]},message:'should be an array of objects that have a "name" property',validate:function(_){return s(_)&&_.length===o(_,function(w){return w&&typeof w=="object"&&typeof w.name=="string"}).length}},reportUnhandledPromiseRejectionsAsHandled:{defaultValue:function(){return!1},message:"should be true|false",validate:function(_){return _===!0||_===!1}},sendPayloadChecksums:{defaultValue:function(){return!1},message:"should be true|false",validate:function(_){return _===!0||_===!1}}};var g=function(_){for(var w=1;w-1&&(Q=Q.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));var pe=Q.replace(/^\s+/,"").replace(/\(eval code/g,"("),ye=pe.match(/ (\((.+):(\d+):(\d+)\)$)/);pe=ye?pe.replace(ye[0],""):pe;var Ce=pe.split(/\s+/).slice(1),Ne=this.extractLocation(ye?ye[1]:Ce.pop()),Ie=Ce.join(" ")||void 0,je=["eval",""].indexOf(Ne[0])>-1?void 0:Ne[0];return new w({functionName:Ie,fileName:je,lineNumber:Ne[1],columnNumber:Ne[2],source:Q})},this)},parseFFOrSafari:function($){var ue=$.stack.split(` `).filter(function(Q){return!Q.match(k)},this);return ue.map(function(Q){if(Q.indexOf(" > eval")>-1&&(Q=Q.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),Q.indexOf("@")===-1&&Q.indexOf(":")===-1)return new w({functionName:Q});var pe=/((.*".+"[^@]*)?[^@]*)(?:@)/,ye=Q.match(pe),Ce=ye&&ye[1]?ye[1]:void 0,Ne=this.extractLocation(Q.replace(pe,""));return new w({functionName:Ce,fileName:Ne[0],lineNumber:Ne[1],columnNumber:Ne[2],source:Q})},this)},parseOpera:function($){return!$.stacktrace||$.message.indexOf(` `)>-1&&$.message.split(` `).length>$.stacktrace.split(` `).length?this.parseOpera9($):$.stack?this.parseOpera11($):this.parseOpera10($)},parseOpera9:function($){for(var ue=/Line (\d+).*script (?:in )?(\S+)/i,Q=$.message.split(` `),pe=[],ye=2,Ce=Q.length;ye/,"$2").replace(/\([^)]*\)/g,"")||void 0,Ie;Ce.match(/\(([^)]*)\)/)&&(Ie=Ce.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var je=Ie===void 0||Ie==="[arguments not available]"?void 0:Ie.split(",");return new w({functionName:Ne,args:je,fileName:ye[0],lineNumber:ye[1],columnNumber:ye[2],source:Q})},this)}}});var V=M,H=function(_,w,O,S){var k=S&&S.redactedKeys?S.redactedKeys:[],z=S&&S.redactedPaths?S.redactedPaths:[];return JSON.stringify(Be(_,k,z),w,O)},B=20,ce=25e3,Te=8,ke="...";function he(_){return _ instanceof Error||/^\[object (Error|(Dom)?Exception)\]$/.test(Object.prototype.toString.call(_))}function me(_){return"[Throws: "+(_?_.message:"?")+"]"}function se(_,w){for(var O=0,S=_.length;OTe&&k>ce}if(k++,ue.length>B||Q())return ke;if($===null||typeof $!="object")return $;if(se(S,$))return"[Circular]";if(S.push($),typeof $.toJSON=="function")try{k--;var pe=z($.toJSON(),ue);return S.pop(),pe}catch(et){return me(et)}var ye=he($);if(ye){k--;var Ce=z({name:$.name,message:$.message},ue);return S.pop(),Ce}if(Se($)){for(var Ne=[],Ie=0,je=$.length;Ie-1&&!w.file&&!w.method&&(w.file="global code"),w},U=function(_){return/^global code$/i.test(_)?"global code":_},q=function(){return{unhandled:!1,severity:"warning",severityReason:{type:"handledException"}}},ee=function(_){return typeof _=="string"?_:""};function Z(_,w,O,S){return{errorClass:ee(_),errorMessage:ee(w),type:O,stacktrace:r(S,function(k,z){var $=N(z);try{return JSON.stringify($)==="{}"?k:k.concat($)}catch{return k}},[])}}function A(_){return _.cause?[_].concat(A(_.cause)):[_]}R.getStacktrace=function(_,w,O){if(ae(_))return V.parse(_).slice(w);try{return o(P.backtrace(),function(S){return(S.functionName||"").indexOf("StackGenerator$$")===-1}).slice(1+O)}catch{return[]}},R.create=function(_,w,O,S,k,z){k===void 0&&(k=0);var $=G(_,w,S,z),ue=$[0],Q=$[1],pe;try{var ye=R.getStacktrace(ue,Q>0?1+Q+k:0,1+k);pe=new R(ue.name,ue.message,ye,O,_)}catch{pe=new R(ue.name,ue.message,[],O,_)}if(ue.name==="InvalidError"&&pe.addMetadata(""+S,"non-error parameter",L(_)),ue.cause){var Ce,Ne=A(ue).slice(1),Ie=m(Ne,function(je){var at=ze(je)&&ae(je)?V.parse(je):[],Pe=G(je,!0,"error cause"),et=Pe[0];return et.name==="InvalidError"&&pe.addMetadata("error cause",L(je)),Z(et.name,et.message,R.__type,at)});(Ce=pe.errors).push.apply(Ce,Ie)}return pe};var L=function(_){return _===null?"null":_===void 0?"undefined":_},G=function(_,w,O,S){var k,z=0,$=function(ue){var Q=O==="error cause"?"was":"received";S&&S.warn(O+" "+Q+' a non-error: "'+ue+'"');var pe=new Error(O+" "+Q+' a non-error. See "'+O+'" tab for more detail.');return pe.name="InvalidError",pe};if(!w)ze(_)?k=_:(k=$(typeof _),z+=2);else switch(typeof _){case"string":case"number":case"boolean":k=new Error(String(_)),z+=1;break;case"function":k=$("function"),z+=2;break;case"object":_!==null&&ze(_)?k=_:_!==null&&re(_)?(k=new Error(_.message||_.errorMessage),k.name=_.name||_.errorClass,z+=1):(k=$(_===null?"null":"unsupported object"),z+=2);break;default:k=$("nothing"),z+=2}if(!ae(k))try{throw k}catch(ue){ae(ue)&&(k=ue,z=1)}return[k,z]};R.__type="browserjs";var re=function(_){return(typeof _.name=="string"||typeof _.errorClass=="string")&&(typeof _.message=="string"||typeof _.errorMessage=="string")},fe=R,_e=function(_,w,O){var S=0,k=function(){if(S>=_.length)return O(null,!0);w(_[S],function(z,$){if(z)return O(z);if($===!1)return O(null,!1);S++,k()})};k()},We=function(_,w,O,S){var k=function(z,$){if(typeof z!="function")return $(null);try{if(z.length!==2){var ue=z(w);return ue&&typeof ue.then=="function"?ue.then(function(Q){return setTimeout(function(){return $(null,Q)})},function(Q){setTimeout(function(){return O(Q),$(null,!0)})}):$(null,ue)}z(w,function(Q,pe){if(Q)return O(Q),$(null);$(null,pe)})}catch(Q){O(Q),$(null)}};_e(_,k,S)},nt=function(_,w,O,S){for(var k=!1,z=_.slice();!k&&z.length;)try{k=z.pop()(w)===!1}catch($){S.error("Error occurred in "+O+" callback, continuing anyway…"),S.error($)}return k},Ue=function(w,O){var S="000000000"+w;return S.substr(S.length-O)},we=typeof window=="object"?window:self,Tt=0;for(var Sn in we)Object.hasOwnProperty.call(we,Sn)&&Tt++;var $t=navigator.mimeTypes?navigator.mimeTypes.length:0,gn=Ue(($t+navigator.userAgent.length).toString(36)+Tt.toString(36),4),qo=function(){return gn},Gr=function(w){return typeof w=="string"&&/^c[a-z0-9]{20,32}$/.test(w)},Ar=0,Is=4,Ir=36,Ka=Math.pow(Ir,Is);function Wa(){return Ue((Math.random()*Ka<<0).toString(Ir),Is)}function Gt(){return Ar=Arthis._config.maxBreadcrumbs&&(this._breadcrumbs=this._breadcrumbs.slice(this._breadcrumbs.length-this._config.maxBreadcrumbs))}},w._isBreadcrumbTypeEnabled=function(S){var k=this._config.enabledBreadcrumbTypes;return k===null||i(k,S)},w.notify=function(S,k,z){z===void 0&&(z=Yt);var $=fe.create(S,!0,void 0,"notify()",this._depth+1,this._logger);this._notify($,k,z)},w._notify=function(S,k,z){var $=this;if(z===void 0&&(z=Yt),S.app=g({},S.app,{releaseStage:this._config.releaseStage,version:this._config.appVersion,type:this._config.appType}),S.context=S.context||this._context,S._metadata=g({},S._metadata,this._metadata),S._user=g({},S._user,this._user),S.breadcrumbs=this._breadcrumbs.slice(),Rs(S._features,this._features,S._featuresIndex),this._config.enabledReleaseStages!==null&&!i(this._config.enabledReleaseStages,this._config.releaseStage))return this._logger.warn("Event not sent due to releaseStage/enabledReleaseStages configuration"),z(null,S);var ue=S.severity,Q=function(ye){$._logger.error("Error occurred in onError callback, continuing anyway…"),$._logger.error(ye)},pe=[].concat(this._cbs.e).concat(k);We(pe,S,Q,function(ye,Ce){if(ye&&Q(ye),!Ce)return $._logger.debug("Event not sent due to onError callback"),z(null,S);$._isBreadcrumbTypeEnabled("error")&&_.prototype.leaveBreadcrumb.call($,S.errors[0].errorClass,{errorClass:S.errors[0].errorClass,errorMessage:S.errors[0].errorMessage,severity:S.severity},"error"),ue!==S.severity&&(S._handledState.severityReason={type:"userCallbackSetSeverity"}),S.unhandled!==S._handledState.unhandled&&(S._handledState.severityReason.unhandledOverridden=!0,S._handledState.unhandled=S.unhandled),$._session&&($._session._track(S),S._session=$._session),$._delivery.sendEvent({apiKey:S.apiKey||$._config.apiKey,notifier:$._notifier,events:[S]},function(Ne){return z(Ne,S)})})},_})(),Za=function(_,w){var O=new Error(`Invalid configuration `+m(u(_),function(S){return" - "+S+" "+_[S]+", got "+el(w[S])}).join(` `));return O},el=function(_){switch(typeof _){case"string":case"number":case"object":return JSON.stringify(_);default:return String(_)}},Wo=Ci,qr={},nr=["events.[].metaData","events.[].breadcrumbs.[].metaData","events.[].request"];qr.event=function(_,w){var O=H(_,null,null,{redactedPaths:nr,redactedKeys:w});return O.length>1e6&&(_.events[0]._metadata={notifier:`WARNING! Serialized payload was `+O.length/1e6+`MB (limit = 1MB) metadata was removed`},O=H(_,null,null,{redactedPaths:nr,redactedKeys:w})),O},qr.session=function(_,w){var O=H(_,null,null);return O};var Ni={};Ni=function(_,w){return w===void 0&&(w=window),{sendEvent:function(O,S){if(S===void 0&&(S=function(){}),_._config.endpoints.notify===null){var k=new Error("Event not sent due to incomplete endpoint configuration");return S(k)}var z=Os(_._config,"notify","4",w),$=qr.event(O,_._config.redactedKeys),ue=new w.XDomainRequest;ue.onload=function(){S(null)},ue.onerror=function(){var Q=new Error("Event failed to send");_._logger.error("Event failed to send…",Q),$.length>1e6&&_._logger.warn("Event oversized ("+($.length/1e6).toFixed(2)+" MB)"),S(Q)},ue.open("POST",z),setTimeout(function(){try{ue.send($)}catch(Q){_._logger.error(Q),S(Q)}},0)},sendSession:function(O,S){if(S===void 0&&(S=function(){}),_._config.endpoints.sessions===null){var k=new Error("Session not sent due to incomplete endpoint configuration");return S(k)}var z=Os(_._config,"sessions","1",w),$=new w.XDomainRequest;$.onload=function(){S(null)},$.open("POST",z),setTimeout(function(){try{$.send(qr.session(O,_._config.redactedKeys))}catch(ue){_._logger.error(ue),S(ue)}},0)}}};var Os=function(_,w,O,S){var k=JSON.parse(JSON.stringify(new Date)),z=tl(_.endpoints[w],S.location.protocol);return z+"?apiKey="+encodeURIComponent(_.apiKey)+"&payloadVersion="+O+"&sentAt="+encodeURIComponent(k)},tl=Ni._matchPageProtocol=function(_,w){return w==="http:"?_.replace(/^https:/,"http:"):_};function xs(_,w){if(_.isSecureContext&&_.crypto&&_.crypto.subtle&&_.crypto.subtle.digest&&typeof TextEncoder=="function"){var O=new TextEncoder().encode(w);return _.crypto.subtle.digest("SHA-1",O).then(function(S){var k=Array.from(new Uint8Array(S)),z=k.map(function($){return $.toString(16).padStart(2,"0")}).join("");return"sha1 "+z})}return Promise.resolve()}var Ec=function(_,w){return w===void 0&&(w=window),{sendEvent:function(O,S){S===void 0&&(S=function(){});try{var k=_._config.endpoints.notify;if(k===null){var z=new Error("Event not sent due to incomplete endpoint configuration");return S(z)}var $=new w.XMLHttpRequest,ue=qr.event(O,_._config.redactedKeys);$.onreadystatechange=function(){if($.readyState===w.XMLHttpRequest.DONE){var Q=$.status;if(Q===0||Q>=400){var pe=new Error("Request failed with status "+Q);_._logger.error("Event failed to send…",pe),ue.length>1e6&&_._logger.warn("Event oversized ("+(ue.length/1e6).toFixed(2)+" MB)"),S(pe)}else S(null)}},$.open("POST",k),$.setRequestHeader("Content-Type","application/json"),$.setRequestHeader("Bugsnag-Api-Key",O.apiKey||_._config.apiKey),$.setRequestHeader("Bugsnag-Payload-Version","4"),$.setRequestHeader("Bugsnag-Sent-At",new Date().toISOString()),_._config.sendPayloadChecksums&&typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1?xs(w,ue).then(function(Q){Q&&$.setRequestHeader("Bugsnag-Integrity",Q),$.send(ue)}).catch(function(Q){_._logger.error(Q),$.send(ue)}):$.send(ue)}catch(Q){_._logger.error(Q)}},sendSession:function(O,S){S===void 0&&(S=function(){});try{var k=_._config.endpoints.sessions;if(k===null){var z=new Error("Session not sent due to incomplete endpoint configuration");return S(z)}var $=new w.XMLHttpRequest,ue=qr.session(O,_._config.redactedKeys);$.onreadystatechange=function(){if($.readyState===w.XMLHttpRequest.DONE){var Q=$.status;if(Q===0||Q>=400){var pe=new Error("Request failed with status "+Q);_._logger.error("Session failed to send…",pe),S(pe)}else S(null)}},$.open("POST",k),$.setRequestHeader("Content-Type","application/json"),$.setRequestHeader("Bugsnag-Api-Key",_._config.apiKey),$.setRequestHeader("Bugsnag-Payload-Version","1"),$.setRequestHeader("Bugsnag-Sent-At",new Date().toISOString()),_._config.sendPayloadChecksums&&typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1?xs(w,ue).then(function(Q){Q&&$.setRequestHeader("Bugsnag-Integrity",Q),$.send(ue)}).catch(function(Q){_._logger.error(Q),$.send(ue)}):$.send(ue)}catch(Q){_._logger.error(Q)}}}},xe=new Date,F=function(){xe=new Date},de={name:"appDuration",load:function(_){return _.addOnError(function(w){var O=new Date;w.app.duration=O-xe},!0),{reset:F}}},Ae=function(_){return _===void 0&&(_=window),{load:function(w){w.addOnError(function(O){O.context===void 0&&(O.context=_.location.pathname)},!0)}}},xt="bugsnag-anonymous-id",en=function(_){try{var w=_.localStorage,O=w.getItem(xt);return O&&/^c[a-z0-9]{20,32}$/.test(O)||(O=Ya(),w.setItem(xt,O)),O}catch{}},Xt=function(_,w){return _===void 0&&(_=navigator),w===void 0&&(w=window),{load:function(O){var S={locale:_.browserLanguage||_.systemLanguage||_.userLanguage||_.language,userAgent:_.userAgent};w&&w.screen&&w.screen.orientation&&w.screen.orientation.type?S.orientation=w.screen.orientation.type:w&&w.document&&(S.orientation=w.document.documentElement.clientWidth>w.document.documentElement.clientHeight?"landscape":"portrait"),O._config.generateAnonymousId&&(S.id=en(w)),O.addOnSession(function(k){k.device=g({},k.device,S),O._config.collectUserIp||on(k)}),O.addOnError(function(k){k.device=g({},k.device,S,{time:new Date}),O._config.collectUserIp||on(k)},!0)},configSchema:{generateAnonymousId:{validate:function(O){return O===!0||O===!1},defaultValue:function(){return!0},message:"should be true|false"}}}},on=function(_){var w=_.getUser();(!w||!w.id)&&_.setUser(_.device.id)},rr=function(_){return _===void 0&&(_=window),{load:function(w){w.addOnError(function(O){O.request&&O.request.url||(O.request=g({},O.request,{url:_.location.href}))},!0)}}},Yo={load:function(_){_._sessionDelegate=sn}},sn={startSession:function(_,w){var O=_;return O._session=w,O._pausedSession=null,O._config.enabledReleaseStages!==null&&!i(O._config.enabledReleaseStages,O._config.releaseStage)?(O._logger.warn("Session not sent due to releaseStage/enabledReleaseStages configuration"),O):(O._delivery.sendSession({notifier:O._notifier,device:w.device,app:w.app,sessions:[{id:w.id,startedAt:w.startedAt,user:w._user}]}),O)},resumeSession:function(_){return _._session?_:_._pausedSession?(_._session=_._pausedSession,_._pausedSession=null,_):_.startSession()},pauseSession:function(_){_._pausedSession=_._session,_._session=null}},nl={load:function(_){_._config.collectUserIp||_.addOnError(function(w){w._user&&typeof w._user.id>"u"&&delete w._user.id,w._user=g({id:"[REDACTED]"},w._user),w.request=g({clientIp:"[REDACTED]"},w.request)})},configSchema:{collectUserIp:{defaultValue:function(){return!0},message:"should be true|false",validate:function(_){return _===!0||_===!1}}}},Cs={};Cs.load=function(_){var w=/^(local-)?dev(elopment)?$/.test(_._config.releaseStage);w||!_._isBreadcrumbTypeEnabled("log")||m(a2,function(O){var S=console[O];console[O]=function(){for(var k=arguments.length,z=new Array(k),$=0;$"].concat(k.split(` `)),Bt=Pe-1,Nt=Math.max(Bt-3,0),Jt=Math.min(Bt+3,et.length);return r(et.slice(Nt,Jt),function(Lt,Or,Ns){return Lt[Nt+1+Ns]=Or.length<=ah?Or:Or.substr(0,ah),Lt},{})};O.addOnError(function(Pe){Pe.errors[0].stacktrace=o(Pe.errors[0].stacktrace,function(Lt){return!/__trace__$/.test(Lt.method)});var et=Pe.errors[0].stacktrace[0],Bt=function(Lt){return Lt.replace(/#.*$/,"").replace(/\?.*$/,"")};if(!(et&&et.file&&Bt(et.file)!==Bt(S))){var Nt=Ce();if(Nt){var Jt=Nt.innerHTML;Pe.addMetadata("script","content",Jt.length<=lh?Jt:Jt.substr(0,lh)),et&&et.lineNumber&&(et.code=Ne(et.lineNumber))}}},!0);var Ie=m(["setTimeout","setInterval","setImmediate","requestAnimationFrame"],function(Pe){return Tc(w,Pe,function(et){return at(et,function(Bt){return{get:function(){return Bt[0]},replace:function(Nt){Bt[0]=Nt}}})})}),je=Ie[0];m(["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],function(Pe){!w[Pe]||!w[Pe].prototype||!Object.prototype.hasOwnProperty.call(w[Pe].prototype,"addEventListener")||(Tc(w[Pe].prototype,"addEventListener",function(et){return at(et,uh)}),Tc(w[Pe].prototype,"removeEventListener",function(et){return at(et,uh,!0)}))});function at(Pe,et,Bt){return Bt===void 0&&(Bt=!1),function(){var Nt=[].slice.call(arguments);try{var Jt=et(Nt),Lt=Jt.get();if(Bt&&Pe.apply(this,Nt),typeof Lt!="function")return Pe.apply(this,Nt);if(Lt.__trace__)Jt.replace(Lt.__trace__);else{var Or=Ce();Lt.__trace__=function(){ye(Or),je(function(){ye(null)},0);var w2=Lt.apply(this,arguments);return ye(null),w2},Lt.__trace__.__trace__=Lt.__trace__,Jt.replace(Lt.__trace__)}}catch{}if(Pe.apply)return Pe.apply(this,Nt);switch(Nt.length){case 1:return Pe(Nt[0]);case 2:return Pe(Nt[0],Nt[1]);default:return Pe()}}}},configSchema:{trackInlineScripts:{validate:function(O){return O===!0||O===!1},defaultValue:function(){return!0},message:"should be true|false"}}}};function Tc(_,w,O){var S=_[w];if(!S)return S;var k=O(S);return _[w]=k,S}function uh(_){var w=!!_[1]&&typeof _[1].handleEvent=="function";return{get:function(){return w?_[1].handleEvent:_[1]},replace:function(O){w?_[1].handleEvent=O:_[1]=O}}}var u2=function(_){return _===void 0&&(_=window),{load:function(w){"addEventListener"in _&&w._isBreadcrumbTypeEnabled("user")&&_.addEventListener("click",function(O){var S,k;try{S=f2(O.target),k=ch(O.target,_)}catch{S="[hidden]",k="[hidden]",w._logger.error("Cross domain error when tracking click event. See docs: https://tinyurl.com/yy3rn63z")}w.leaveBreadcrumb("UI click",{targetText:S,targetSelector:k},"user")},!0)}}},c2=/^\s*([^\s][\s\S]{0,139}[^\s])?\s*/;function f2(_){var w=_.textContent||_.innerText||"";return!w&&(_.type==="submit"||_.type==="button")&&(w=_.value),w=w.replace(c2,"$1"),w.length>140?w.slice(0,135)+"(...)":w}function ch(_,w){var O=[_.tagName];if(_.id&&O.push("#"+_.id),_.className&&_.className.length&&O.push("."+_.className.split(" ").join(".")),!w.document.querySelectorAll||!Array.prototype.indexOf)return O.join("");try{if(w.document.querySelectorAll(O.join("")).length===1)return O.join("")}catch{return O.join("")}if(_.parentNode.childNodes.length>1){var S=Array.prototype.indexOf.call(_.parentNode.childNodes,_)+1;O.push(":nth-child("+S+")")}return w.document.querySelectorAll(O.join("")).length===1?O.join(""):_.parentNode?ch(_.parentNode,w)+" > "+O.join(""):O.join("")}var fh={};fh=function(_){_===void 0&&(_=window);var w={load:function(O){if("addEventListener"in _&&O._isBreadcrumbTypeEnabled("navigation")){var S=function(k){return function(){return O.leaveBreadcrumb(k,{},"navigation")}};_.addEventListener("pagehide",S("Page hidden"),!0),_.addEventListener("pageshow",S("Page shown"),!0),_.addEventListener("load",S("Page loaded"),!0),_.document.addEventListener("DOMContentLoaded",S("DOMContentLoaded"),!0),_.addEventListener("load",function(){return _.addEventListener("popstate",S("Navigated back"),!0)}),_.addEventListener("hashchange",function(k){var z=k.oldURL?{from:rl(k.oldURL,_),to:rl(k.newURL,_),state:ph(_)}:{to:rl(_.location.href,_)};O.leaveBreadcrumb("Hash changed",z,"navigation")},!0),_.history.pushState&&dh(O,_.history,"pushState",_,!0),_.history.replaceState&&dh(O,_.history,"replaceState",_)}}};return w};var rl=function(_,w){var O=w.document.createElement("A");return O.href=_,""+O.pathname+O.search+O.hash},d2=function(_,w,O,S){var k=rl(_.location.href,_);return{title:O,state:w,prevState:ph(_),to:S||k,from:k}},dh=function(_,w,O,S,k){k===void 0&&(k=!1);var z=w[O];w[O]=function($,ue,Q){_.leaveBreadcrumb("History "+O,d2(S,$,ue,Q),"navigation"),k&&typeof _.resetEventCount=="function"&&_.resetEventCount(),z.apply(w,[$,ue].concat(Q!==void 0?Q:[]))}},ph=function(_){try{return _.history.state}catch{}},Li="request",p2=function(_,w){_===void 0&&(_=[]),w===void 0&&(w=window);var O={load:function(S){if(!S._isBreadcrumbTypeEnabled("request"))return;var k=[S._config.endpoints.notify,S._config.endpoints.sessions].concat(_);z(),Q();function z(){if(!(!("addEventListener"in w.XMLHttpRequest.prototype)||!("WeakMap"in w))){var Ce=new WeakMap,Ne=new WeakMap,Ie=w.XMLHttpRequest.prototype.open;w.XMLHttpRequest.prototype.open=function(Pe,et){this&&Ce.set(this,{method:Pe,url:et}),Ie.apply(this,arguments)};var je=w.XMLHttpRequest.prototype.send;w.XMLHttpRequest.prototype.send=function(Pe){var et=this,Bt=Ce.get(this);if(Bt){var Nt=Ne.get(this);Nt&&(this.removeEventListener("load",Nt.load),this.removeEventListener("error",Nt.error));var Jt=new Date,Lt=function(){return ue(Bt.method,Bt.url,ol(Jt))},Or=function(){return $(Bt.method,Bt.url,et.status,ol(Jt))};this.addEventListener("load",Or),this.addEventListener("error",Lt),this&&Ne.set(this,{load:Or,error:Lt})}je.apply(this,arguments)}}}function $(Ce,Ne,Ie,je){if(Ne===void 0){S._logger.warn("The request URL is no longer present on this XMLHttpRequest. A breadcrumb cannot be left for this request.");return}if(!(typeof Ne=="string"&&i(k,Ne.replace(/\?.*$/,"")))){var at={status:Ie,method:String(Ce),url:String(Ne),duration:je};Ie>=400?S.leaveBreadcrumb("XMLHttpRequest failed",at,Li):S.leaveBreadcrumb("XMLHttpRequest succeeded",at,Li)}}function ue(Ce,Ne,Ie){if(Ne===void 0){S._logger.warn("The request URL is no longer present on this XMLHttpRequest. A breadcrumb cannot be left for this request.");return}typeof Ne=="string"&&i(k,Ne.replace(/\?.*$/,""))||S.leaveBreadcrumb("XMLHttpRequest error",{method:String(Ce),url:String(Ne),duration:Ie},Li)}function Q(){if(!(!("fetch"in w)||w.fetch.polyfill)){var Ce=w.fetch;w.fetch=function(){var Ie=arguments,je=arguments[0],at=arguments[1],Pe,et=null;return je&&typeof je=="object"?(et=je.url,at&&"method"in at?Pe=at.method:je&&"method"in je&&(Pe=je.method)):(et=je,at&&"method"in at&&(Pe=at.method)),Pe===void 0&&(Pe="GET"),new Promise(function(Bt,Nt){var Jt=new Date;Ce.apply(void 0,Ie).then(function(Lt){pe(Lt,Pe,et,ol(Jt)),Bt(Lt)}).catch(function(Lt){ye(Pe,et,ol(Jt)),Nt(Lt)})})}}}var pe=function(Ce,Ne,Ie,je){var at={method:String(Ne),status:Ce.status,url:String(Ie),duration:je};Ce.status>=400?S.leaveBreadcrumb("fetch() failed",at,Li):S.leaveBreadcrumb("fetch() succeeded",at,Li)},ye=function(Ce,Ne,Ie){S.leaveBreadcrumb("fetch() error",{method:String(Ce),url:String(Ne),duration:Ie},Li)}}};return O},ol=function(_){return _&&new Date-_},h2={load:function(_){var w=0;_.addOnError(function(O){if(w>=_._config.maxEvents)return _._logger.warn("Cancelling event send due to maxEvents per session limit of "+_._config.maxEvents+" being reached"),!1;w++}),_.resetEventCount=function(){w=0}},configSchema:{maxEvents:{defaultValue:function(){return 10},message:"should be a positive integer ≤100",validate:function(_){return c(1,100)(_)}}}},wc={};wc={load:function(_){_.addOnError(function(w){var O=r(w.errors,function(S,k){return S.concat(k.stacktrace)},[]);m(O,function(S){S.file=g2(S.file)})})}};var g2=wc._strip=function(_){return typeof _=="string"?_.replace(/\?.*$/,"").replace(/#.*$/,""):_},m2=function(_,w){return _===void 0&&(_=window),w===void 0&&(w="window onerror"),{load:function(O){if(!O._config.autoDetectErrors||!O._config.enabledErrorTypes.unhandledExceptions)return;function S(z,$,ue,Q,pe){if(ue===0&&/Script error\.?/.test(z))O._logger.warn("Ignoring cross-domain or eval script error. See docs: https://tinyurl.com/yy3rn63z");else{var ye={severity:"error",unhandled:!0,severityReason:{type:"unhandledException"}},Ce;if(pe)Ce=O.Event.create(pe,!0,ye,w,1),hh(Ce.errors[0].stacktrace,$,ue,Q);else if(typeof z=="object"&&z!==null&&(!$||typeof $!="string")&&!ue&&!Q&&!pe){var Ne=z.type?"Event: "+z.type:"Error",Ie=z.message||z.detail||"";Ce=O.Event.create({name:Ne,message:Ie},!0,ye,w,1),Ce.originalError=z,Ce.addMetadata(w,{event:z,extraParameters:$})}else Ce=O.Event.create(z,!0,ye,w,1),hh(Ce.errors[0].stacktrace,$,ue,Q);O._notify(Ce)}typeof k=="function"&&k.apply(this,arguments)}var k=_.onerror;_.onerror=S}}},hh=function(_,w,O,S){_[0]||_.push({});var k=_[0];!k.file&&typeof w=="string"&&(k.file=w),!k.lineNumber&&Sc(O)&&(k.lineNumber=O),k.columnNumber||(Sc(S)?k.columnNumber=S:window.event&&Sc(window.event.errorCharacter)&&(k.columnNumber=window.event.errorCharacter))},Sc=function(_){return typeof _=="number"&&String.call(_)!=="NaN"},y2=function(_){_===void 0&&(_=window);var w={load:function(O){if(!(!O._config.autoDetectErrors||!O._config.enabledErrorTypes.unhandledRejections)){var S=function(k){var z=k.reason,$=!1;try{k.detail&&k.detail.reason&&(z=k.detail.reason,$=!0)}catch{}var ue=!O._config.reportUnhandledPromiseRejectionsAsHandled,Q=O.Event.create(z,!1,{severity:"error",unhandled:ue,severityReason:{type:"unhandledPromiseRejection"}},"unhandledrejection handler",1,O._logger);$&&m(Q.errors[0].stacktrace,v2(z)),O._notify(Q,function(pe){if(ze(pe.originalError)&&!pe.originalError.stack){var ye;pe.addMetadata("unhandledRejection handler",(ye={},ye[Object.prototype.toString.call(pe.originalError)]={name:pe.originalError.name,message:pe.originalError.message,code:pe.originalError.code},ye))}})};"addEventListener"in _?_.addEventListener("unhandledrejection",S):_.onunhandledrejection=function(k,z){S({detail:{reason:k,promise:z}})}}}};return w},v2=function(_){return function(w){w.file!==_.toString()&&w.method&&(w.method=w.method.replace(/^\s+/,""))}},Xo={},_2="Bugsnag JavaScript",b2="8.2.0",E2="https://github.com/bugsnag/bugsnag-js",T2=g({},p.schema,v),An={_client:null,createClient:function(_){typeof _=="string"&&(_={apiKey:_}),_||(_={});var w=[de,Xt(),Ae(),rr(),h2,Yo,nl,wc,m2(),y2(),fh(),u2(),p2(),Cs,l2()],O=new Wo(_,T2,w,{name:_2,version:b2,url:E2});return O._setDelivery(window.XDomainRequest?Ni:Ec),O._logger.debug("Loaded!"),O.leaveBreadcrumb("Bugsnag loaded",{},"state"),O._config.autoTrackSessions?O.startSession():O},start:function(_){return An._client?(An._client._logger.warn("Bugsnag.start() was called more than once. Ignoring."),An._client):(An._client=An.createClient(_),An._client)},isStarted:function(){return An._client!=null}};return m(["resetEventCount"].concat(u(Wo.prototype)),function(_){/^_/.test(_)||(An[_]=function(){if(!An._client)return console.log("Bugsnag."+_+"() was called before Bugsnag.start()");An._client._depth+=1;var w=An._client[_].apply(An._client,arguments);return An._client._depth-=1,w})}),Xo=An,Xo.Client=Wo,Xo.Event=fe,Xo.Session=Ko,Xo.Breadcrumb=x,Xo.default=An,Xo})})(sf)),sf.exports}var af,qm;function ok(){return qm||(qm=1,af=rk()),af}var ik=ok();const lf=Es(ik);var uf={exports:{}},Km;function sk(){return Km||(Km=1,(function(e,t){(function(n){e.exports=n()})(function(){var n=this,r,o=function(h,g){var m=h.config.errorHandler,y=function(b,v,E){var T={severity:"error",unhandled:!0,severityReason:{type:"unhandledException"}},x=g.Event.create(b,!0,T,"vue error handler",1),I=typeof E=="string"&&E.indexOf("runtime-")>0?E.split("runtime-")[1]:E,P=l[I]||E;x.addMetadata("vue",{errorInfo:P,component:v?i(v):void 0,props:v&&v.$options?v.$options.propsData:void 0}),g._notify(x),typeof console<"u"&&typeof console.error=="function"&&console.error(b),typeof m=="function"&&m.call(n,b,v,E)};h.config.errorHandler=y};function i(h){return h.$parent===null?"App":h.$options&&h.$options.name?h.$options.name:"Anonymous"}var s={BEFORE_CREATE:"bc",CREATED:"c",BEFORE_MOUNT:"bm",MOUNTED:"m",BEFORE_UPDATE:"bu",UPDATED:"u",BEFORE_UNMOUNT:"bum",UNMOUNTED:"um",DEACTIVATED:"da",ACTIVATED:"a",RENDER_TRIGGERED:"rtg",RENDER_TRACKED:"rtc",ERROR_CAPTURED:"ec",SERVER_PREFETCH:"sp"},a={SETUP_FUNCTION:0,RENDER_FUNCTION:1,WATCH_GETTER:2,WATCH_CALLBACK:3,WATCH_CLEANUP:4,NATIVE_EVENT_HANDLER:5,COMPONENT_EVENT_HANDLER:6,VNODE_HOOK:7,DIRECTIVE_HOOK:8,TRANSITION_HOOK:9,APP_ERROR_HANDLER:10,APP_WARN_HANDLER:11,FUNCTION_REF:12,ASYNC_COMPONENT_LOADER:13,SCHEDULER:14},l=(r={},r[s.SERVER_PREFETCH]="serverPrefetch hook",r[s.BEFORE_CREATE]="beforeCreate hook",r[s.CREATED]="created hook",r[s.BEFORE_MOUNT]="beforeMount hook",r[s.MOUNTED]="mounted hook",r[s.BEFORE_UPDATE]="beforeUpdate hook",r[s.UPDATED]="updated",r[s.BEFORE_UNMOUNT]="beforeUnmount hook",r[s.UNMOUNTED]="unmounted hook",r[s.ACTIVATED]="activated hook",r[s.DEACTIVATED]="deactivated hook",r[s.ERROR_CAPTURED]="errorCaptured hook",r[s.RENDER_TRACKED]="renderTracked hook",r[s.RENDER_TRIGGERED]="renderTriggered hook",r[a.SETUP_FUNCTION]="setup function",r[a.RENDER_FUNCTION]="render function",r[a.WATCH_GETTER]="watcher getter",r[a.WATCH_CALLBACK]="watcher callback",r[a.WATCH_CLEANUP]="watcher cleanup function",r[a.NATIVE_EVENT_HANDLER]="native event handler",r[a.COMPONENT_EVENT_HANDLER]="component event handler",r[a.VNODE_HOOK]="vnode hook",r[a.DIRECTIVE_HOOK]="directive hook",r[a.TRANSITION_HOOK]="transition hook",r[a.APP_ERROR_HANDLER]="app errorHandler",r[a.APP_WARN_HANDLER]="app warnHandler",r[a.FUNCTION_REF]="ref function",r[a.ASYNC_COMPONENT_LOADER]="async component loader",r[a.SCHEDULER]="scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core .",r),u={},c=this;u=function(h,g){var m=h.config.errorHandler,y=function(b,v,E){var T={severity:"error",unhandled:!0,severityReason:{type:"unhandledException"}},x=g.Event.create(b,!0,T,"vue error handler",1);x.addMetadata("vue",{errorInfo:E,component:v?f(v,!0):void 0,props:v?v.$options.propsData:void 0}),g._notify(x),typeof console<"u"&&typeof console.error=="function"&&console.error(b),typeof m=="function"&&m.call(c,b,v,E)};h.config.errorHandler=y};var f=function(h,g){if(h.$root===h)return"";var m=typeof h=="function"&&h.cid!=null?h.options:h._isVue?h.$options||h.constructor.options:h||{},y=m.name||m._componentTag,b=m.__file;if(!y&&b){var v=b.match(/([^/\\]+)\.vue$/);y=v&&v[1]}return(y?"<"+d(y)+">":"")+(b&&g!==!1?" at "+b:"")},d=u.classify=function(h){return h.replace(/(?:^|[-_])(\w)/g,function(g){return g.toUpperCase()}).replace(/[-_]/g,"")},p={};return p=(function(){function h(){var m=typeof window<"u"&&window.Vue;if(this.name="vue",this.lazy=arguments.length===0&&!m,!this.lazy&&(this.Vue=(arguments.length<=0?void 0:arguments[0])||m,!this.Vue))throw new Error("@bugsnag/plugin-vue reference to `Vue` was undefined")}var g=h.prototype;return g.load=function(y){return this.Vue&&this.Vue.config?(u(this.Vue,y),{installVueErrorHandler:function(){return y._logger.warn("installVueErrorHandler() was called unnecessarily")}}):{install:function(b){b||y._logger.error(new Error("@bugsnag/plugin-vue reference to Vue `app` was undefined")),o(b,y)},installVueErrorHandler:function(b){b||y._logger.error(new Error("@bugsnag/plugin-vue reference to `Vue` was undefined")),u(b,y)}}},h})(),p.default=p,p})})(uf)),uf.exports}var ak=sk();const lk=Es(ak);function uk(e){const t={...e};return t.plugins=[...t.plugins||[],new lk],t.onError=n=>{n.errors[0].stacktrace=n.errors[0].stacktrace.map(r=>(r.file=r.file.replace("file://",""),r))},t}function ck(...e){throw new Error(e)}const fk={notify:ck},dk=zt(e=>{const n=uk(Mt().public.bugsnag);let r=lf._client;if(r===null)try{r=lf.start(n)}catch{return console.log("[Bugsnag] started in mock mode"),{provide:{bugsnag:fk}}}e.vueApp.provide("bugsnag-client",r);const o=lf.getPlugin("vue");return o!==void 0&&e.vueApp.use(o),{provide:{bugsnag:r}}}),pk=new RegExp(/Googlebot\/|Googlebot-Mobile|Googlebot-Image|Googlebot-News|Googlebot-Video|AdsBot-Google([^-]|$)|AdsBot-Google-Mobile|Feedfetcher-Google|Mediapartners-Google|Mediapartners \(Googlebot\)|APIs-Google|Google-InspectionTool|Storebot-Google|GoogleOther|bingbot|Slurp|[wW]get|LinkedInBot|Python-urllib|python-requests|aiohttp|httpx|libwww-perl|httpunit|Nutch|Go-http-client|phpcrawl|msnbot|jyxobot|FAST-WebCrawler|FAST Enterprise Crawler|BIGLOTRON|Teoma|convera|seekbot|Gigabot|Gigablast|exabot|ia_archiver|GingerCrawler|webmon |HTTrack|grub\.org|UsineNouvelleCrawler|antibot|netresearchserver|speedy|fluffy|findlink|msrbot|panscient|yacybot|AISearchBot|ips-agent|tagoobot|MJ12bot|woriobot|yanga|buzzbot|mlbot|yandex\.com\/bots|purebot|Linguee Bot|CyberPatrol|voilabot|Baiduspider|citeseerxbot|spbot|twengabot|postrank|Turnitin|scribdbot|page2rss|sitebot|linkdex|Adidxbot|ezooms|dotbot|Mail\.RU_Bot|discobot|heritrix|findthatfile|europarchive\.org|NerdByNature\.Bot|(sistrix|SISTRIX) [cC]rawler|Ahrefs(Bot|SiteAudit)|fuelbot|CrunchBot|IndeedBot|mappydata|woobot|ZoominfoBot|PrivacyAwareBot|Multiviewbot|SWIMGBot|Grobbot|eright|Apercite|semanticbot|Aboundex|domaincrawler|wbsearchbot|summify|CCBot|edisterbot|SeznamBot|ec2linkfinder|gslfbot|aiHitBot|intelium_bot|facebookexternalhit|Yeti|RetrevoPageAnalyzer|lb-spider|Sogou|lssbot|careerbot|wotbox|wocbot|ichiro|DuckDuckBot|lssrocketcrawler|drupact|webcompanycrawler|acoonbot|openindexspider|gnam gnam spider|web-archive-net\.com\.bot|backlinkcrawler|coccoc|integromedb|content crawler spider|toplistbot|it2media-domain-crawler|ip-web-crawler\.com|siteexplorer\.info|elisabot|proximic|changedetection|arabot|WeSEE:Search|niki-bot|CrystalSemanticsBot|rogerbot|360Spider|psbot|InterfaxScanBot|CC Metadata Scaper|g00g1e\.net|GrapeshotCrawler|urlappendbot|brainobot|fr-crawler|binlar|SimpleCrawler|Twitterbot|cXensebot|smtbot|bnf\.fr_bot|A6-Indexer|ADmantX|Facebot|OrangeBot\/|memorybot|AdvBot|MegaIndex|SemanticScholarBot|ltx71|nerdybot|xovibot|BUbiNG|Qwantify|archive\.org_bot|Applebot|TweetmemeBot|crawler4j|findxbot|S[eE][mM]rushBot|yoozBot|lipperhey|Y!J|Domain Re-Animator Bot|AddThis|Screaming Frog SEO Spider|MetaURI|Scrapy|Livelap[bB]ot|OpenHoseBot|CapsuleChecker|collection@infegy\.com|IstellaBot|DeuSu\/|betaBot|Cliqzbot\/|MojeekBot\/|netEstate NE Crawler|SafeSearch microdata crawler|Gluten Free Crawler\/|Sonic|Sysomos|Trove|deadlinkchecker|Slack-ImgProxy|Embedly|RankActiveLinkBot|iskanie|SafeDNSBot|SkypeUriPreview|Veoozbot|Slackbot|redditbot|datagnionbot|Google-Adwords-Instant|adbeat_bot|WhatsApp|contxbot|pinterest\.com\/bot|electricmonk|GarlikCrawler|BingPreview\/|vebidoobot|FemtosearchBot|Yahoo Link Preview|MetaJobBot|DomainStatsBot|mindUpBot|Daum\/|Jugendschutzprogramm-Crawler|Xenu Link Sleuth|Pcore-HTTP|moatbot|KosmioBot|[pP]ingdom|AppInsights|PhantomJS|Gowikibot|PiplBot|Discordbot|TelegramBot|Jetslide|newsharecounts|James BOT|Bark[rR]owler|TinEye|SocialRankIOBot|trendictionbot|Ocarinabot|epicbot|Primalbot|DuckDuckGo-Favicons-Bot|GnowitNewsbot|Leikibot|LinkArchiver|YaK\/|PaperLiBot|Digg Deeper|dcrawl|Snacktory|AndersPinkBot|Fyrebot|EveryoneSocialBot|Mediatoolkitbot|Luminator-robots|ExtLinksBot|SurveyBot|NING\/|okhttp|Nuzzel|omgili|PocketParser|YisouSpider|um-LN|ToutiaoSpider|MuckRack|Jamie's Spider|AHC\/|NetcraftSurveyAgent|Laserlikebot|^Apache-HttpClient|AppEngine-Google|Jetty|Upflow|Thinklab|Traackr\.com|Twurly|Mastodon|http_get|DnyzBot|botify|007ac9 Crawler|BehloolBot|BrandVerity|check_http|BDCbot|ZumBot|EZID|ICC-Crawler|ArchiveBot|^LCC |filterdb\.iss\.net\/crawler|BLP_bbot|BomboraBot|Buck\/|Companybook-Crawler|Genieo|magpie-crawler|MeltwaterNews|Moreover|newspaper\/|ScoutJet|(^| )sentry\/|StorygizeBot|UptimeRobot|OutclicksBot|seoscanners|Hatena|Google Web Preview|MauiBot|AlphaBot|SBL-BOT|IAS crawler|adscanner|Netvibes|acapbot|Baidu-YunGuanCe|bitlybot|blogmuraBot|Bot\.AraTurka\.com|bot-pge\.chlooe\.com|BoxcarBot|BTWebClient|ContextAd Bot|Digincore bot|Disqus|Feedly|Fetch\/|Fever|Flamingo_SearchEngine|FlipboardProxy|g2reader-bot|G2 Web Services|imrbot|K7MLWCBot|Kemvibot|Landau-Media-Spider|linkapediabot|vkShare|Siteimprove\.com|BLEXBot\/|DareBoost|ZuperlistBot\/|Miniflux\/|Feedspot|Diffbot\/|SEOkicks|tracemyfile|Nimbostratus-Bot|zgrab|PR-CY\.RU|AdsTxtCrawler|Datafeedwatch|Zabbix|TangibleeBot|google-xrawler|axios|Amazon CloudFront|Pulsepoint|CloudFlare-AlwaysOnline|Google-Structured-Data-Testing-Tool|WordupInfoSearch|WebDataStats|HttpUrlConnection|ZoomBot|VelenPublicWebCrawler|MoodleBot|jpg-newsbot|outbrain|W3C_Validator|Validator\.nu|W3C-checklink|W3C-mobileOK|W3C_I18n-Checker|FeedValidator|W3C_CSS_Validator|W3C_Unicorn|Google-PhysicalWeb|Blackboard|ICBot\/|BazQux|Twingly|Rivva|Experibot|awesomecrawler|Dataprovider\.com|GroupHigh\/|theoldreader\.com|AnyEvent|Uptimebot\.org|Nmap Scripting Engine|2ip\.ru|Clickagy|Caliperbot|MBCrawler|online-webceo-bot|B2B Bot|AddSearchBot|Google Favicon|HubSpot|Chrome-Lighthouse|HeadlessChrome|CheckMarkNetwork\/|www\.uptime\.com|Streamline3Bot\/|serpstatbot\/|MixnodeCache\/|^curl|SimpleScraper|RSSingBot|Jooblebot|fedoraplanet|Friendica|NextCloud|Tiny Tiny RSS|RegionStuttgartBot|Bytespider|Datanyze|Google-Site-Verification|TrendsmapResolver|tweetedtimes|NTENTbot|Gwene|SimplePie|SearchAtlas|Superfeedr|feedbot|UT-Dorkbot|Amazonbot|SerendeputyBot|Eyeotabot|officestorebot|Neticle Crawler|SurdotlyBot|LinkisBot|AwarioSmartBot|AwarioRssBot|RyteBot|FreeWebMonitoring SiteChecker|AspiegelBot|NAVER Blog Rssbot|zenback bot|SentiBot|Domains Project\/|Pandalytics|VKRobot|bidswitchbot|tigerbot|NIXStatsbot|Atom Feed Robot|[Cc]urebot|PagePeeker\/|Vigil\/|rssbot\/|startmebot\/|JobboerseBot|seewithkids|NINJA bot|Cutbot|BublupBot|BrandONbot|RidderBot|Taboolabot|Dubbotbot|FindITAnswersbot|infoobot|Refindbot|BlogTraffic\/\d\.\d+ Feed-Fetcher|SeobilityBot|Cincraw|Dragonbot|VoluumDSP-content-bot|FreshRSS|BitBot|^PHP-Curl-Class|Google-Certificates-Bridge|centurybot|Viber|e\.ventures Investment Crawler|evc-batch|PetalBot|virustotal|(^| )PTST\/|minicrawler|Cookiebot|trovitBot|seostar\.co|IonCrawl|Uptime-Kuma|Seekport|FreshpingBot|Feedbin|CriteoBot|Snap URL Preview Service|Better Uptime Bot|RuxitSynthetic|Google-Read-Aloud|Valve\/Steam|OdklBot\/|GPTBot|ChatGPT-User|YandexRenderResourcesBot\/|LightspeedSystemsCrawler|ev-crawler\/|BitSightBot\/|woorankreview\/|Google-Safety|AwarioBot|DataForSeoBot|Linespider|WellKnownBot|A Patent Crawler|StractBot|search\.marginalia\.nu|YouBot|Nicecrawler|Neevabot|BrightEdge Crawler|SiteCheckerBotCrawler|TombaPublicWebCrawler|CrawlyProjectCrawler|KomodiaBot|KStandBot|CISPA Webcrawler|MTRobot|hyscore\.io|AlexandriaOrgBot|2ip bot|Yellowbrandprotectionbot|SEOlizer|vuhuvBot|INETDEX-BOT|Synapse|t3versionsBot|deepnoc|Cocolyzebot|hypestat|ReverseEngineeringBot|sempi\.tech|Iframely|MetaInspector|node-fetch|lkxscan|python-opengraph|OpenGraphCheck|developers\.google\.com\/\+\/web\/snippet|SenutoBot|MaCoCu|NewsBlur|inoreader|NetSystemsResearch|PageThing|WordPress\/|PhxBot|ImagesiftBot|Expanse|InternetMeasurement|^BW\/|GeedoBot|Audisto Crawler|PerplexityBot\/|[cC]laude[bB]ot|Monsidobot|GroupMeBot|Vercelbot|vercel-screenshot/),hk=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|FBAN|FBAV|fennec|hiptop|iemobile|ip(hone|od)|Instagram|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,gk=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,mk=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|FBAN|FBAV|fennec|hiptop|iemobile|ip(hone|od)|Instagram|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,yk=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i;function vk(e){return hk.test(e)||gk.test(e.slice(0,4))}function _k(e){return mk.test(e)||yk.test(e.slice(0,4))}function bk(e){return/iPad|iPhone|iPod/.test(e)}function Ek(e){return/android/i.test(e)}function Tk(e){return/Windows/.test(e)}function wk(e){return/Mac OS X/.test(e)}const Sk=[{name:"Samsung",regex:/SamsungBrowser/i},{name:"Edge",regex:/edg(?:[ea]|ios)?\//i},{name:"Firefox",regex:/firefox|iceweasel|fxios/i},{name:"Chrome",regex:/chrome|crios|crmo/i},{name:"Safari",regex:/safari|applewebkit/i}];function Ak(e){for(const t of Sk)if(t.regex.test(e))return t.name;return""}function Wm(e,t={}){let n=!1,r=!1,o=!1,i=!1;if(e==="Amazon CloudFront")t["cloudfront-is-mobile-viewer"]==="true"&&(n=!0,r=!0),t["cloudfront-is-tablet-viewer"]==="true"&&(n=!1,r=!0),t["cloudfront-is-desktop-viewer"]==="true"&&(n=!1,r=!1),t["cloudfront-is-ios-viewer"]==="true"&&(o=!0),t["cloudfront-is-android-viewer"]==="true"&&(i=!0);else if(t&&t["cf-device-type"])switch(t["cf-device-type"]){case"mobile":n=!0,r=!0;break;case"tablet":n=!1,r=!0;break;case"desktop":n=!1,r=!1;break}else n=vk(e),r=_k(e),o=bk(e),i=Ek(e);const s=Tk(e),a=wk(e),l=Ak(e),u=l==="Safari",c=l==="Firefox",f=l==="Edge",d=l==="Chrome",p=l==="Samsung",h=pk.test(e);return{userAgent:e,isMobile:n,isMobileOrTablet:r,isTablet:!n&&r,isDesktop:!r,isIos:o,isAndroid:i,isWindows:s,isMacOS:a,isApple:a||o,isDesktopOrTablet:!n,isSafari:u,isFirefox:c,isEdge:f,isChrome:d,isSamsung:p,isCrawler:h}}const Ik=zt(()=>{const e=Mt(),t=e.public.device.defaultUserAgent;let n;{const r=navigator.userAgent||t;n=dn(Wm(r)),e.public.device.refreshOnResize&&window.addEventListener("resize",()=>{setTimeout(()=>{const o=Wm(navigator.userAgent||r);Object.entries(o).forEach(([i,s])=>{n[i]=s})},50)})}return{provide:{device:n}}});let Ym=!1;const Xm=[],Rk=e=>new Promise((t,n)=>{if(typeof window>"u"||(window.storyblokRegisterEvent=o=>{if(window.location===window.parent.location){console.warn("You are not in Draft Mode or in the Visual Editor.");return}Ym?o():Xm.push(o)},document.getElementById("storyblok-javascript-bridge")))return;const r=document.createElement("script");r.async=!0,r.src=e,r.id="storyblok-javascript-bridge",r.onerror=o=>n(o),r.onload=o=>{Xm.forEach(i=>i()),Ym=!0,t(o)},document.getElementsByTagName("head")[0].appendChild(r)});var Ok=Object.defineProperty,xk=(e,t,n)=>t in e?Ok(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ct=(e,t,n)=>xk(e,typeof t!="symbol"?t+"":t,n);class Ck extends Error{constructor(t){super(t),this.name="AbortError"}}function Nk(e,t,n){if(!Number.isFinite(t))throw new TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(n))throw new TypeError("Expected `interval` to be a finite number");const r=[];let o=[],i=0,s=!1;const a=async()=>{i++;const u=r.shift();if(u)try{const f=await e(...u.args);u.resolve(f)}catch(f){u.reject(f)}const c=setTimeout(()=>{i--,r.length>0&&a(),o=o.filter(f=>f!==c)},n);o.includes(c)||o.push(c)},l=(...u)=>s?Promise.reject(new Error("Throttled function is already aborted and not accepting new promises")):new Promise((c,f)=>{r.push({resolve:c,reject:f,args:u}),i{s=!0,o.forEach(clearTimeout),o=[],r.forEach(u=>u.reject(()=>new Ck("Throttle function aborted"))),r.length=0},l}class Lu{constructor(){ct(this,"isCDNUrl",(t="")=>t.includes("/cdn/")),ct(this,"getOptionsPage",(t,n=25,r=1)=>({...t,per_page:n,page:r})),ct(this,"delay",t=>new Promise(n=>setTimeout(n,t))),ct(this,"arrayFrom",(t=0,n)=>Array.from({length:t},n)),ct(this,"range",(t=0,n=t)=>{const r=Math.abs(n-t)||0,o=ts*o+t)}),ct(this,"asyncMap",async(t,n)=>Promise.all(t.map(n))),ct(this,"flatMap",(t=[],n)=>t.map(n).reduce((r,o)=>[...r,...o],[])),ct(this,"escapeHTML",function(t){const n={"&":"&","<":"<",">":">",'"':""","'":"'"},r=/[&<>"']/g,o=new RegExp(r.source);return t&&o.test(t)?t.replace(r,i=>n[i]):t})}stringify(t,n,r){const o=[];for(const i in t){if(!Object.prototype.hasOwnProperty.call(t,i))continue;const s=t[i],a=r?"":encodeURIComponent(i);let l;typeof s=="object"?l=this.stringify(s,n?n+encodeURIComponent(`[${a}]`):a,Array.isArray(s)):l=`${n?n+encodeURIComponent(`[${a}]`):a}=${encodeURIComponent(s)}`,o.push(l)}return o.join("&")}getRegionURL(t){const n="api.storyblok.com",r="api-us.storyblok.com",o="app.storyblokchina.cn",i="api-ap.storyblok.com",s="api-ca.storyblok.com";switch(t){case"us":return r;case"cn":return o;case"ap":return i;case"ca":return s;default:return n}}}const Lk=function(e,t){const n={};for(const r in e){const o=e[r];t.includes(r)&&o!==null&&(n[r]=o)}return n},Dk=e=>e==="email",kk=()=>({singleTag:"hr"}),Pk=()=>({tag:"blockquote"}),Mk=()=>({tag:"ul"}),Fk=e=>({tag:["pre",{tag:"code",attrs:e.attrs}]}),Uk=()=>({singleTag:"br"}),jk=e=>({tag:`h${e.attrs.level}`}),Vk=e=>({singleTag:[{tag:"img",attrs:Lk(e.attrs,["src","alt","title"])}]}),$k=()=>({tag:"li"}),Bk=()=>({tag:"ol"}),Hk=()=>({tag:"p"}),zk=e=>({tag:[{tag:"span",attrs:{"data-type":"emoji","data-name":e.attrs.name,emoji:e.attrs.emoji}}]}),Gk=()=>({tag:"b"}),qk=()=>({tag:"s"}),Kk=()=>({tag:"u"}),Wk=()=>({tag:"strong"}),Yk=()=>({tag:"code"}),Xk=()=>({tag:"i"}),Jk=e=>{if(!e.attrs)return{tag:""};const t=new Lu().escapeHTML,n={...e.attrs},{linktype:r="url"}=e.attrs;if(delete n.linktype,n.href&&(n.href=t(e.attrs.href||"")),Dk(r)&&(n.href=`mailto:${n.href}`),n.anchor&&(n.href=`${n.href}#${n.anchor}`,delete n.anchor),n.custom){for(const o in n.custom)n[o]=n.custom[o];delete n.custom}return{tag:[{tag:"a",attrs:n}]}},Qk=e=>({tag:[{tag:"span",attrs:e.attrs}]}),Zk=()=>({tag:"sub"}),eP=()=>({tag:"sup"}),tP=e=>({tag:[{tag:"span",attrs:e.attrs}]}),nP=e=>{var t;return(t=e.attrs)!=null&&t.color?{tag:[{tag:"span",attrs:{style:`background-color:${e.attrs.color};`}}]}:{tag:""}},rP=e=>{var t;return(t=e.attrs)!=null&&t.color?{tag:[{tag:"span",attrs:{style:`color:${e.attrs.color}`}}]}:{tag:""}},oP={nodes:{horizontal_rule:kk,blockquote:Pk,bullet_list:Mk,code_block:Fk,hard_break:Uk,heading:jk,image:Vk,list_item:$k,ordered_list:Bk,paragraph:Hk,emoji:zk},marks:{bold:Gk,strike:qk,underline:Kk,strong:Wk,code:Yk,italic:Xk,link:Jk,styled:Qk,subscript:Zk,superscript:eP,anchor:tP,highlight:nP,textStyle:rP}},iP=function(e){const t={"&":"&","<":"<",">":">",'"':""","'":"'"},n=/[&<>"']/g,r=new RegExp(n.source);return e&&r.test(e)?e.replace(n,o=>t[o]):e};let Jm=!1;class sP{constructor(t){ct(this,"marks"),ct(this,"nodes"),t||(t=oP),this.marks=t.marks||[],this.nodes=t.nodes||[]}addNode(t,n){this.nodes[t]=n}addMark(t,n){this.marks[t]=n}render(t,n={optimizeImages:!1},r=!0){if(!Jm&&r&&(console.warn("Warning ⚠️: The RichTextResolver class is deprecated and will be removed in the next major release. Please use the `@storyblok/richtext` package instead. https://github.com/storyblok/richtext/"),Jm=!0),t&&t.content&&Array.isArray(t.content)){let o="";return t.content.forEach(i=>{o+=this.renderNode(i)}),n.optimizeImages?this.optimizeImages(o,n.optimizeImages):o}return console.warn(`The render method must receive an Object with a "content" field. The "content" field must be an array of nodes as the type ISbRichtext. ISbRichtext: content?: ISbRichtext[] marks?: ISbRichtext[] attrs?: any text?: string type: string Example: { content: [ { content: [ { text: 'Hello World', type: 'text' } ], type: 'paragraph' } ], type: 'doc' }`),""}optimizeImages(t,n){let r=0,o=0,i="",s="";typeof n!="boolean"&&(typeof n.width=="number"&&n.width>0&&(i+=`width="${n.width}" `,r=n.width),typeof n.height=="number"&&n.height>0&&(i+=`height="${n.height}" `,o=n.height),(n.loading==="lazy"||n.loading==="eager")&&(i+=`loading="${n.loading}" `),typeof n.class=="string"&&n.class.length>0&&(i+=`class="${n.class}" `),n.filters&&(typeof n.filters.blur=="number"&&n.filters.blur>=0&&n.filters.blur<=100&&(s+=`:blur(${n.filters.blur})`),typeof n.filters.brightness=="number"&&n.filters.brightness>=-100&&n.filters.brightness<=100&&(s+=`:brightness(${n.filters.brightness})`),n.filters.fill&&(n.filters.fill.match(/[0-9A-F]{6}/gi)||n.filters.fill==="transparent")&&(s+=`:fill(${n.filters.fill})`),n.filters.format&&["webp","png","jpeg"].includes(n.filters.format)&&(s+=`:format(${n.filters.format})`),typeof n.filters.grayscale=="boolean"&&n.filters.grayscale&&(s+=":grayscale()"),typeof n.filters.quality=="number"&&n.filters.quality>=0&&n.filters.quality<=100&&(s+=`:quality(${n.filters.quality})`),n.filters.rotate&&[90,180,270].includes(n.filters.rotate)&&(s+=`:rotate(${n.filters.rotate})`),s.length>0&&(s=`/filters${s}`))),i.length>0&&(t=t.replace(/0||o>0||s.length>0?`${r}x${o}${s}`:"";return t=t.replace(/a.storyblok.com\/f\/(\d+)\/([^.]+)\.(gif|jpg|jpeg|png|tif|bmp)/g,`a.storyblok.com/f/$1/$2.$3/m/${a}`),typeof n!="boolean"&&(n.sizes||n.srcset)&&(t=t.replace(/{var u,c;const f=l.match(/a.storyblok.com\/f\/(\d+)\/([^.]+)\.(gif|jpg|jpeg|png|tif|bmp)/g);if(f&&f.length>0){const d={srcset:(u=n.srcset)==null?void 0:u.map(h=>{if(typeof h=="number")return`//${f}/m/${h}x0${s} ${h}w`;if(typeof h=="object"&&h.length===2){let g=0,m=0;return typeof h[0]=="number"&&(g=h[0]),typeof h[1]=="number"&&(m=h[1]),`//${f}/m/${g}x${m}${s} ${g}w`}return""}).join(", "),sizes:(c=n.sizes)==null?void 0:c.map(h=>h).join(", ")};let p="";return d.srcset&&(p+=`srcset="${d.srcset}" `),d.sizes&&(p+=`sizes="${d.sizes}" `),l.replace(/{const i=this.getMatchingMark(o);i&&i.tag!==""&&n.push(this.renderOpeningTag(i.tag))});const r=this.getMatchingNode(t);return r&&r.tag&&n.push(this.renderOpeningTag(r.tag)),t.content?t.content.forEach(o=>{n.push(this.renderNode(o))}):t.text?n.push(iP(t.text)):r&&r.singleTag?n.push(this.renderTag(r.singleTag," /")):r&&r.html?n.push(r.html):t.type==="emoji"&&n.push(this.renderEmoji(t)),r&&r.tag&&n.push(this.renderClosingTag(r.tag)),t.marks&&t.marks.slice(0).reverse().forEach(o=>{const i=this.getMatchingMark(o);i&&i.tag!==""&&n.push(this.renderClosingTag(i.tag))}),n.join("")}renderTag(t,n){return t.constructor===String?`<${t}${n}>`:t.map(r=>{if(r.constructor===String)return`<${r}${n}>`;{let o=`<${r.tag}`;if(r.attrs){for(const i in r.attrs)if(Object.prototype.hasOwnProperty.call(r.attrs,i)){const s=r.attrs[i];s!==null&&(o+=` ${i}="${s}"`)}}return`${o}${n}>`}}).join("")}renderOpeningTag(t){return this.renderTag(t,"")}renderClosingTag(t){return t.constructor===String?``:t.slice(0).reverse().map(n=>n.constructor===String?``:``).join("")}getMatchingNode(t){const n=this.nodes[t.type];if(typeof n=="function")return n(t)}getMatchingMark(t){const n=this.marks[t.type];if(typeof n=="function")return n(t)}renderEmoji(t){if(t.attrs.emoji)return t.attrs.emoji;const n=[{tag:"img",attrs:{src:t.attrs.fallbackImage,draggable:"false",loading:"lazy",align:"absmiddle"}}];return this.renderTag(n," /")}}const Du=sP;class aP{constructor(t){ct(this,"baseURL"),ct(this,"timeout"),ct(this,"headers"),ct(this,"responseInterceptor"),ct(this,"fetch"),ct(this,"ejectInterceptor"),ct(this,"url"),ct(this,"parameters"),ct(this,"fetchOptions"),this.baseURL=t.baseURL,this.headers=t.headers||new Headers,this.timeout=t!=null&&t.timeout?t.timeout*1e3:0,this.responseInterceptor=t.responseInterceptor,this.fetch=(...n)=>t.fetch?t.fetch(...n):fetch(...n),this.ejectInterceptor=!1,this.url="",this.parameters={},this.fetchOptions={}}get(t,n){return this.url=t,this.parameters=n,this._methodHandler("get")}post(t,n){return this.url=t,this.parameters=n,this._methodHandler("post")}put(t,n){return this.url=t,this.parameters=n,this._methodHandler("put")}delete(t,n){return this.url=t,this.parameters=n??{},this._methodHandler("delete")}async _responseHandler(t){const n=[],r={data:{},headers:{},status:0,statusText:""};t.status!==204&&await t.json().then(o=>{r.data=o});for(const o of t.headers.entries())n[o[0]]=o[1];return r.headers={...n},r.status=t.status,r.statusText=t.statusText,r}async _methodHandler(t){let n=`${this.baseURL}${this.url}`,r=null;if(t==="get"){const l=new Lu;n=`${this.baseURL}${this.url}?${l.stringify(this.parameters)}`}else r=JSON.stringify(this.parameters);const o=new URL(n),i=new AbortController,{signal:s}=i;let a;this.timeout&&(a=setTimeout(()=>i.abort(),this.timeout));try{const l=await this.fetch(`${o}`,{method:t,headers:this.headers,body:r,signal:s,...this.fetchOptions});this.timeout&&clearTimeout(a);const u=await this._responseHandler(l);return this.responseInterceptor&&!this.ejectInterceptor?this._statusHandler(this.responseInterceptor(u)):this._statusHandler(u)}catch(l){return{message:l}}}setFetchOptions(t={}){Object.keys(t).length>0&&"method"in t&&delete t.method,this.fetchOptions={...t}}eject(){this.ejectInterceptor=!0}_statusHandler(t){const n=/20[0-6]/g;return new Promise((r,o)=>{if(n.test(`${t.status}`))return r(t);const i={message:t.statusText,status:t.status,response:Array.isArray(t.data)?t.data[0]:t.data.error||t.data.slug};o(i)})}}const lP=aP,Qm="SB-Agent",cf={defaultAgentName:"SB-JS-CLIENT",defaultAgentVersion:"SB-Agent-Version",packageVersion:"6.0.0"};let Il={};const ni={};class uP{constructor(t,n){ct(this,"client"),ct(this,"maxRetries"),ct(this,"retriesDelay"),ct(this,"throttle"),ct(this,"accessToken"),ct(this,"cache"),ct(this,"helpers"),ct(this,"resolveCounter"),ct(this,"relations"),ct(this,"links"),ct(this,"richTextResolver"),ct(this,"resolveNestedRelations"),ct(this,"stringifiedStoriesCache");let r=t.endpoint||n;if(!r){const s=new Lu().getRegionURL,a=t.https===!1?"http":"https";t.oauthToken?r=`${a}://${s(t.region)}/v1`:r=`${a}://${s(t.region)}/v2`}const o=new Headers;o.set("Content-Type","application/json"),o.set("Accept","application/json"),t.headers&&(t.headers.constructor.name==="Headers"?t.headers.entries().toArray():Object.entries(t.headers)).forEach(([s,a])=>{o.set(s,a)}),o.has(Qm)||(o.set(Qm,cf.defaultAgentName),o.set(cf.defaultAgentVersion,cf.packageVersion));let i=5;t.oauthToken&&(o.set("Authorization",t.oauthToken),i=3),t.rateLimit&&(i=t.rateLimit),t.richTextSchema?this.richTextResolver=new Du(t.richTextSchema):this.richTextResolver=new Du,t.componentResolver&&this.setComponentResolver(t.componentResolver),this.maxRetries=t.maxRetries||10,this.retriesDelay=300,this.throttle=Nk(this.throttledRequest.bind(this),i,1e3),this.accessToken=t.accessToken||"",this.relations={},this.links={},this.cache=t.cache||{clear:"manual"},this.helpers=new Lu,this.resolveCounter=0,this.resolveNestedRelations=t.resolveNestedRelations||!0,this.stringifiedStoriesCache={},this.client=new lP({baseURL:r,timeout:t.timeout||0,headers:o,responseInterceptor:t.responseInterceptor,fetch:t.fetch})}setComponentResolver(t){this.richTextResolver.addNode("blok",n=>{let r="";return n.attrs.body&&n.attrs.body.forEach(o=>{r+=t(o.component,o)}),{html:r}})}parseParams(t){return t.token||(t.token=this.getToken()),t.cv||(t.cv=ni[t.token]),Array.isArray(t.resolve_relations)&&(t.resolve_relations=t.resolve_relations.join(",")),typeof t.resolve_relations<"u"&&(t.resolve_level=2),t}factoryParamOptions(t,n){return this.helpers.isCDNUrl(t)?this.parseParams(n):n}makeRequest(t,n,r,o,i){const s=this.factoryParamOptions(t,this.helpers.getOptionsPage(n,r,o));return this.cacheResponse(t,s,void 0,i)}get(t,n,r){n||(n={});const o=`/${t}`,i=this.factoryParamOptions(o,n);return this.cacheResponse(o,i,void 0,r)}async getAll(t,n,r,o){const i=n?.per_page||25,s=`/${t}`.replace(/\/$/,""),a=r??s.substring(s.lastIndexOf("/")+1),l=1,u=await this.makeRequest(s,n,i,l,o),c=u.total?Math.ceil(u.total/i):1,f=await this.helpers.asyncMap(this.helpers.range(l,c),d=>this.makeRequest(s,n,i,d+1,o));return this.helpers.flatMap([u,...f],d=>Object.values(d.data[a]))}post(t,n,r){const o=`/${t}`;return Promise.resolve(this.throttle("post",o,n,r))}put(t,n,r){const o=`/${t}`;return Promise.resolve(this.throttle("put",o,n,r))}delete(t,n,r){n||(n={});const o=`/${t}`;return Promise.resolve(this.throttle("delete",o,n,r))}getStories(t,n){return this._addResolveLevel(t),this.get("cdn/stories",t,n)}getStory(t,n,r){return this._addResolveLevel(n),this.get(`cdn/stories/${t}`,n,r)}getToken(){return this.accessToken}ejectInterceptor(){this.client.eject()}_addResolveLevel(t){typeof t.resolve_relations<"u"&&(t.resolve_level=2)}_cleanCopy(t){return JSON.parse(JSON.stringify(t))}_insertLinks(t,n,r){const o=t[n];o&&o.fieldtype==="multilink"&&o.linktype==="story"&&typeof o.id=="string"&&this.links[r][o.id]?o.story=this._cleanCopy(this.links[r][o.id]):o&&o.linktype==="story"&&typeof o.uuid=="string"&&this.links[r][o.uuid]&&(o.story=this._cleanCopy(this.links[r][o.uuid]))}getStoryReference(t,n){return this.relations[t][n]?JSON.parse(this.stringifiedStoriesCache[n]||JSON.stringify(this.relations[t][n])):n}_resolveField(t,n,r){const o=t[n];typeof o=="string"?t[n]=this.getStoryReference(r,o):Array.isArray(o)&&(t[n]=o.map(i=>this.getStoryReference(r,i)).filter(Boolean))}_insertRelations(t,n,r,o){if(Array.isArray(r)?r.find(s=>s.endsWith(`.${n}`)):r.endsWith(`.${n}`)){this._resolveField(t,n,o);return}const i=t.component?`${t.component}.${n}`:n;(Array.isArray(r)?r.includes(i):r===i)&&this._resolveField(t,n,o)}iterateTree(t,n,r){const o=(i,s="")=>{if(!(!i||i._stopResolving)){if(Array.isArray(i))i.forEach((a,l)=>o(a,`${s}[${l}]`));else if(typeof i=="object")for(const a in i){const l=s?`${s}.${a}`:a;(i.component&&i._uid||i.type==="link")&&(this._insertRelations(i,a,n,r),this._insertLinks(i,a,r)),o(i[a],l)}}};o(t.content)}async resolveLinks(t,n,r){let o=[];if(t.link_uuids){const i=t.link_uuids.length,s=[],a=50;for(let l=0;l{o.push(u)})}else o=t.links;o.forEach(i=>{this.links[r][i.uuid]={...i,_stopResolving:!0}})}async resolveRelations(t,n,r){let o=[];if(t.rel_uuids){const i=t.rel_uuids.length,s=[],a=50;for(let l=0;l{o.push(u)})}else o=t.rels;o&&o.length>0&&o.forEach(i=>{this.relations[r][i.uuid]={...i,_stopResolving:!0}})}async resolveStories(t,n,r){var o,i;let s=[];if(this.links[r]={},this.relations[r]={},typeof n.resolve_relations<"u"&&n.resolve_relations.length>0&&(typeof n.resolve_relations=="string"&&(s=n.resolve_relations.split(",")),await this.resolveRelations(t,n,r)),n.resolve_links&&["1","story","url","link"].includes(n.resolve_links)&&((o=t.links)!=null&&o.length||(i=t.link_uuids)!=null&&i.length)&&await this.resolveLinks(t,n,r),this.resolveNestedRelations)for(const a in this.relations[r])this.iterateTree(this.relations[r][a],s,r);t.story?this.iterateTree(t.story,s,r):t.stories.forEach(a=>{this.iterateTree(a,s,r)}),this.stringifiedStoriesCache={},delete this.links[r],delete this.relations[r]}async cacheResponse(t,n,r,o){const i=this.helpers.stringify({url:t,params:n}),s=this.cacheProvider();if(this.cache.clear==="auto"&&n.version==="draft"&&await this.flushCache(),n.version==="published"&&t!=="/cdn/spaces/me"){const a=await s.get(i);if(a)return Promise.resolve(a)}return new Promise(async(a,l)=>{var u;try{const c=await this.throttle("get",t,n,o);if(c.status!==200)return l(c);let f={data:c.data,headers:c.headers};if((u=c.headers)!=null&&u["per-page"]&&(f=Object.assign({},f,{perPage:c.headers["per-page"]?Number.parseInt(c.headers["per-page"]):0,total:c.headers["per-page"]?Number.parseInt(c.headers.total):0})),f.data.story||f.data.stories){const d=this.resolveCounter=++this.resolveCounter%1e3;await this.resolveStories(f.data,n,`${d}`)}return n.version==="published"&&t!=="/cdn/spaces/me"&&await s.set(i,f),f.data.cv&&n.token&&ni[n.token]!==f.data.cv&&(await this.flushCache(),ni[n.token]=f.data.cv),a(f)}catch(c){if(c.response&&c.status===429&&(r=typeof r>"u"?0:r+1,r{const{apiOptions:t}=e;if(!t||!t.accessToken){console.error("You need to provide an access token to interact with Storyblok API. Read https://www.storyblok.com/docs/api/content-delivery#topics/authentication");return}return{storyblokApi:new uP(t)}},fP=e=>{if(typeof e!="object"||typeof e._editable>"u")return{};try{const t=JSON.parse(e._editable.replace(/^$/,""));return t?{"data-blok-c":JSON.stringify(t),"data-blok-uid":`${t.id}-${t.uid}`}:{}}catch{return{}}};function dP(e,t){if(!t)return{src:e,attrs:{}};let n=0,r=0;const o={},i=[];function s(l,u,c,f,d){typeof l!="number"||l<=u||l>=c?console.warn(`[StoryblokRichText] - ${f.charAt(0).toUpperCase()+f.slice(1)} value must be a number between ${u} and ${c} (inclusive)`):d.push(`${f}(${l})`)}if(typeof t=="object"){if(typeof t.width=="number"&&t.width>0?(o.width=t.width,n=t.width):console.warn("[StoryblokRichText] - Width value must be a number greater than 0"),t.height&&typeof t.height=="number"&&t.height>0?(o.height=t.height,r=t.height):console.warn("[StoryblokRichText] - Height value must be a number greater than 0"),t.loading&&["lazy","eager"].includes(t.loading)&&(o.loading=t.loading),t.class&&(o.class=t.class),t.filters){const{filters:l}=t||{},{blur:u,brightness:c,fill:f,format:d,grayscale:p,quality:h,rotate:g}=l||{};u&&s(u,0,100,"blur",i),h&&s(h,0,100,"quality",i),c&&s(c,0,100,"brightness",i),f&&i.push(`fill(${f})`),p&&i.push("grayscale()"),g&&[0,90,180,270].includes(t.filters.rotate||0)&&i.push(`rotate(${g})`),d&&["webp","png","jpeg"].includes(d)&&i.push(`format(${d})`)}t.srcset&&(o.srcset=t.srcset.map(l=>{if(typeof l=="number")return`${e}/m/${l}x0/${i.length>0?`filters:${i.join(":")}`:""} ${l}w`;if(Array.isArray(l)&&l.length===2){const[u,c]=l;return`${e}/m/${u}x${c}/${i.length>0?`filters:${i.join(":")}`:""} ${u}w`}else{console.warn("[StoryblokRichText] - srcset entry must be a number or a tuple of two numbers");return}}).join(", ")),t.sizes&&(o.sizes=t.sizes.join(", "))}let a=`${e}/m/`;return n>0&&r>0&&(a=`${a}${n}x${r}/`),i.length>0&&(a=`${a}filters:${i.join(":")}`),{src:a,attrs:o}}var On=(e=>(e.DOCUMENT="doc",e.HEADING="heading",e.PARAGRAPH="paragraph",e.QUOTE="blockquote",e.OL_LIST="ordered_list",e.UL_LIST="bullet_list",e.LIST_ITEM="list_item",e.CODE_BLOCK="code_block",e.HR="horizontal_rule",e.BR="hard_break",e.IMAGE="image",e.EMOJI="emoji",e.COMPONENT="blok",e))(On||{}),qn=(e=>(e.BOLD="bold",e.STRONG="strong",e.STRIKE="strike",e.UNDERLINE="underline",e.ITALIC="italic",e.CODE="code",e.LINK="link",e.ANCHOR="anchor",e.STYLED="styled",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript",e.TEXT_STYLE="textStyle",e.HIGHLIGHT="highlight",e))(qn||{}),p0=(e=>(e.TEXT="text",e))(p0||{}),qs=(e=>(e.URL="url",e.STORY="story",e.ASSET="asset",e.EMAIL="email",e))(qs||{});const pP=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"],hP=(e={})=>Object.keys(e).map(t=>`${t}="${e[t]}"`).join(" "),gP=(e={})=>Object.keys(e).map(t=>`${t}: ${e[t]}`).join("; ");function mP(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const Zm=e=>Object.fromEntries(Object.entries(e).filter(([t,n])=>n!==void 0));function ey(e,t={},n){const r=hP(t),o=r?`${e} ${r}`:e,i=Array.isArray(n)?n.join(""):n||"";if(e){if(pP.includes(e))return`<${o}>`}else return i;return`<${o}>${i}`}function yP(e={}){let t=0;const{renderFn:n=ey,textFn:r=mP,resolvers:o={},optimizeImages:i=!1,keyedResolvers:s=!1}=e,a=n!==ey,l=T=>x=>{const I=x.attrs||{};return s&&(I.key=`${T}-${t}`),n(T,I,x.children||null)},u=T=>{const{src:x,alt:I,title:P,srcset:M,sizes:V}=T.attrs||{};let H=x,B={};if(i){const{src:Te,attrs:ke}=dP(x,i);H=Te,B=ke}s&&(B={...B,key:`img-${t}`});const ce={src:H,alt:I,title:P,srcset:M,sizes:V,...B};return n("img",Zm(ce))},c=T=>{const{level:x,...I}=T.attrs||{},P={...I};return s&&(P.key=`h${x}-${t}`),n(`h${x}`,P,T.children)},f=T=>{var x,I,P,M;const V=n("img",{src:(x=T.attrs)==null?void 0:x.fallbackImage,alt:(I=T.attrs)==null?void 0:I.alt,style:"width: 1.25em; height: 1.25em; vertical-align: text-top",draggable:"false",loading:"lazy"}),H={"data-type":"emoji","data-name":(P=T.attrs)==null?void 0:P.name,"data-emoji":(M=T.attrs)==null?void 0:M.emoji};return s&&(H.key=`emoji-${t}`),n("span",H,V)},d=T=>n("pre",{...T.attrs,key:`code-${t}`},n("code",{key:`code-${t}`},T.children||"")),p=(T,x=!1)=>({text:I,attrs:P})=>{const{class:M,id:V,...H}=P||{},B=x?{class:M,id:V,style:gP(H)||void 0}:P||{};return s&&(B.key=`${T}-${t}`),n(T,Zm(B),I)},h=T=>E(T),g=T=>{const{marks:x,...I}=T;return"text"in T?x?x.reduce((P,M)=>h({...M,text:P}),h({...I,children:I.children})):r(I.text):""},m=T=>{const{linktype:x,href:I,anchor:P,...M}=T.attrs||{};let V="";switch(x){case qs.ASSET:case qs.URL:V=I;break;case qs.EMAIL:V=`mailto:${I}`;break;case qs.STORY:V=I,P&&(V=`${V}#${P}`);break;default:V=I;break}const H={...M};return V&&(H.href=V),s&&(H.key=`a-${t}`),n("a",H,T.text)},y=T=>{var x,I;return console.warn("[StoryblokRichtText] - BLOK resolver is not available for vanilla usage"),n("span",{blok:(x=T?.attrs)==null?void 0:x.body[0],id:(I=T.attrs)==null?void 0:I.id,key:`component-${t}`,style:"display: none"})},b=new Map([[On.DOCUMENT,l("")],[On.HEADING,c],[On.PARAGRAPH,l("p")],[On.UL_LIST,l("ul")],[On.OL_LIST,l("ol")],[On.LIST_ITEM,l("li")],[On.IMAGE,u],[On.EMOJI,f],[On.CODE_BLOCK,d],[On.HR,l("hr")],[On.BR,l("br")],[On.QUOTE,l("blockquote")],[On.COMPONENT,y],[p0.TEXT,g],[qn.LINK,m],[qn.ANCHOR,m],[qn.STYLED,p("span",!0)],[qn.BOLD,p("strong")],[qn.TEXT_STYLE,p("span",!0)],[qn.ITALIC,p("em")],[qn.UNDERLINE,p("u")],[qn.STRIKE,p("s")],[qn.CODE,p("code")],[qn.SUPERSCRIPT,p("sup")],[qn.SUBSCRIPT,p("sub")],[qn.HIGHLIGHT,p("mark")],...Object.entries(o).map(([T,x])=>[T,x])]);function v(T){t+=1;const x=b.get(T.type);if(!x)return console.error("",`No resolver found for node type ${T.type}`),"";if(T.type==="text")return x(T);const I=T.content?T.content.map(E):void 0;return x({...T,children:I})}function E(T){return T.type==="doc"?a?T.content.map(v):T.content.map(v).join(""):Array.isArray(T)?T.map(v):v(T)}return{render:E}}let Rd,ty="https://app.storyblok.com/f/storyblok-v2-latest.js";const h0=(e,t)=>{e.addNode("blok",n=>{let r="";return n.attrs.body.forEach(o=>{r+=t(o.component,o)}),{html:r}})},vP=(e={})=>{var t,n;const{bridge:r,accessToken:o,use:i=[],apiOptions:s={},richText:a={},bridgeUrl:l}=e;s.accessToken=s.accessToken||o;const u={bridge:r,apiOptions:s};let c={};i.forEach(d=>{c={...c,...d(u)}}),l&&(ty=l);const f=!(typeof window>"u")&&((n=(t=window.location)==null?void 0:t.search)==null?void 0:n.includes("_storyblok_tk"));return r!==!1&&f&&Rk(ty),Rd=new Du(a.schema),a.resolver&&h0(Rd,a.resolver),c},_P=e=>{var t;return!e||!((t=e?.content)!=null&&t.some(n=>n.content||n.type==="blok"||n.type==="horizontal_rule"))},l4=(e,t,n)=>{let r=n||Rd;if(!r){console.error("Please initialize the Storyblok SDK before calling the renderRichText function");return}return _P(e)?"":(t&&(r=new Du(t.schema),t.resolver&&h0(r,t.resolver)),r.render(e,{},!1))},g0=De({__name:"StoryblokComponent",props:{blok:{}},setup(e,{expose:t}){const n=e,r=Fe();t({value:r});const o=typeof fi(n.blok.component)!="string",i=Ut("VueSDKOptions"),s=Fe(n.blok.component);return!o&&i&&(i.enableFallbackComponent?(s.value=i.customFallbackComponent??"FallbackComponent",typeof fi(s.value)=="string"&&console.error(`Is the Fallback component "${s.value}" registered properly?`)):console.error(`Component could not be found for blok "${n.blok.component}"! Is it defined in main.ts as "app.component("${n.blok.component}", ${n.blok.component});"?`)),(a,l)=>(ge(),Ge(fi(s.value),kt({ref_key:"blokRef",ref:r},{...a.$props,...a.$attrs}),null,16))}}),bP=e=>{var t,n;return dt(g0,{blok:(t=e?.attrs)==null?void 0:t.body[0],id:(n=e.attrs)==null?void 0:n.id},e.children)};function EP(e){const t={renderFn:dt,textFn:mo,keyedResolvers:!0,resolvers:{[On.COMPONENT]:bP,...e.resolvers}};return yP(t)}const TP=De({__name:"StoryblokRichText",props:{doc:{},resolvers:{}},setup(e){const t=e,n=Fe(),r=()=>n.value;return It([()=>t.doc,()=>t.resolvers],([o,i])=>{const{render:s}=EP({resolvers:i??{}});n.value=s(o)},{immediate:!0,deep:!0}),(o,i)=>(ge(),Ge(r))}}),wP={beforeMount(e,t){if(t.value){const n=fP(t.value);Object.keys(n).length>0&&(e.setAttribute("data-blok-c",n["data-blok-c"]),e.setAttribute("data-blok-uid",n["data-blok-uid"]),e.classList.add("storyblok__outline"))}}},SP={install(e,t={}){e.directive("editable",wP),e.component("StoryblokComponent",g0),e.component("StoryblokRichText",TP),t.enableFallbackComponent&&!t.customFallbackComponent&&e.component("FallbackComponent",ho(()=>oe(()=>import("./iSpZW9dX.js"),[],import.meta.url)));const{storyblokApi:n}=vP(t);e.provide("VueSDKOptions",t)}},AP=zt(({vueApp:e})=>{let{storyblok:t}=Mt().public;t=JSON.parse(JSON.stringify(t)),e.use(SP,{...t,use:[cP]})}),IP=e=>{if(typeof e!="object"||typeof e._editable>"u")return{};try{const t=JSON.parse(e._editable.replace(/^$/,""));return t?{"data-blok-c":JSON.stringify(t),"data-blok-uid":`${t.id}-${t.uid}`}:{}}catch{return{}}},RP=(e,t,n={})=>{var r;const o=!(typeof window>"u")&&typeof window.storyblokRegisterEvent<"u",i=new URL((r=window.location)==null?void 0:r.href).searchParams.get("_storyblok"),s=i!==null&&+i===e;if(!(!o||!s)){if(!e){console.warn("Story ID is not defined. Please provide a valid ID.");return}window.storyblokRegisterEvent(()=>{new window.StoryblokBridge(n).on(["input","published","change"],a=>{var l;a&&(a.action==="input"&&((l=a.story)==null?void 0:l.id)===e?t(a.story):(a.action==="change"||a.action==="published")&&a.storyId===e&&window.location.reload())})})}},OP="301263",ny="sbEditLink",xP=zt(e=>{if(!(Xl()||rb()))return;const t=n=>{try{return JSON.parse(IP(n)?.["data-blok-c"])}catch{return{}}};Tp({style:[{innerHTML:` [data-sb-id] { outline: 1px dashed #aaa; } .sb-edit-link { position: absolute; color: #fff; border: none; font-size: 12px; border-radius: 4px; cursor: pointer; z-index: 50; padding: 4px 8px; background-color: #00b3b0; top: anchor(top); right: anchor(right); } `}]}),e.vueApp.directive("editable",{mounted(n,r){const{id:o,uid:i}=t(r?.value),s=new URLSearchParams(window.location.search).get("_storyblok");if(o&&i){const a=`${o}-${i}-${crypto.randomUUID()}`;n.setAttribute("data-sb-id",a);const l=`--storyblok-${a}`;n.style.anchorName=l;const u=document.createElement("a");u.classList.add("sb-edit-link"),u.id=`${ny}-${a}`,u.textContent=Xl()&&s!==o?"Edit ⤴️":"Edit",u.target=Xl()&&s===o?"_parent":"_blank",u.href=`https://app.storyblok.com/#/me/spaces/${OP}/stories/0/0/${o}/blok/${i}`,u.style.setProperty("position-anchor",l),document.body.appendChild(u)}},unmounted(n){const r=n.getAttribute("data-sb-id");document.getElementById(`${ny}-${r}`)?.remove()}})});let Rl;const CP=new Uint8Array(16);function NP(){if(!Rl&&(Rl=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Rl))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Rl(CP)}const an=[];for(let e=0;e<256;++e)an.push((e+256).toString(16).slice(1));function LP(e,t=0){return an[e[t+0]]+an[e[t+1]]+an[e[t+2]]+an[e[t+3]]+"-"+an[e[t+4]]+an[e[t+5]]+"-"+an[e[t+6]]+an[e[t+7]]+"-"+an[e[t+8]]+an[e[t+9]]+"-"+an[e[t+10]]+an[e[t+11]]+an[e[t+12]]+an[e[t+13]]+an[e[t+14]]+an[e[t+15]]}const DP=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),ry={randomUUID:DP};function kP(e,t,n){if(ry.randomUUID&&!e)return ry.randomUUID();e=e||{};const r=e.random||(e.rng||NP)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,LP(r)}var Jl={exports:{}},PP=Jl.exports,oy;function MP(){return oy||(oy=1,(function(e){(function(t,n){e.exports?e.exports=n():t.jsonSchema=n()})(PP,function(){var t=r;t.Integer={type:"integer"};var n={String,Boolean,Number,Object,Array,Date};t.validate=r;function r(o,i){return r(o,i,{changing:!1})}t.checkPropertyChange=function(o,i,s){return r(o,i,{changing:s||"property"})};var r=t._validate=function(o,i,s){s||(s={});var a=s.changing;function l(d){return d.type||n[d.name]==d&&d.name.toLowerCase()}var u=[];function c(d,p,h,g){var m;h+=h?typeof g=="number"?"["+g+"]":typeof g>"u"?"":"."+g:g;function y(P){u.push({property:h,message:P})}if((typeof p!="object"||p instanceof Array)&&(h||typeof p!="function")&&!(p&&l(p)))return typeof p=="function"?d instanceof p||y("is not an instance of the class/constructor "+p.name):p&&y("Invalid schema/property definition "+p),null;a&&p.readonly&&y("is a readonly field, it can not be changed"),p.extends&&c(d,p.extends,h,g);function b(P,M){if(P){if(typeof P=="string"&&P!="any"&&(P=="null"?M!==null:typeof M!=P)&&!(M instanceof Array&&P=="array")&&!(M instanceof Date&&P=="date")&&!(P=="integer"&&M%1===0))return[{property:h,message:M+" - "+typeof M+" value found, but a "+P+" is required"}];if(P instanceof Array){for(var V=[],H=0;Hp.maxItems&&y("There must be a maximum of "+p.maxItems+" in the array")}else(p.properties||p.additionalProperties)&&u.concat(f(d,p.properties,h,p.additionalProperties));if(p.pattern&&typeof d=="string"&&!d.match(p.pattern)&&y("does not match the regex pattern "+p.pattern),p.maxLength&&typeof d=="string"&&d.length>p.maxLength&&y("may only be "+p.maxLength+" characters long"),p.minLength&&typeof d=="string"&&d.lengthd&&y("must have a minimum value of "+p.minimum),typeof p.maximum<"u"&&typeof d==typeof p.maximum&&p.maximumnew TextEncoder().encode(i);function n(i,s){typeof i=="string"&&(i=t(i));let a=i.length,l=s^a,u=0,c;for(;a>=4;)c=i[u]&255|(i[++u]&255)<<8|(i[++u]&255)<<16|(i[++u]&255)<<24,c=(c&65535)*1540483477+(((c>>>16)*1540483477&65535)<<16),c^=c>>>24,c=(c&65535)*1540483477+(((c>>>16)*1540483477&65535)<<16),l=(l&65535)*1540483477+(((l>>>16)*1540483477&65535)<<16)^c,a-=4,++u;switch(a){case 3:l^=(i[u+2]&255)<<16;case 2:l^=(i[u+1]&255)<<8;case 1:l^=i[u]&255,l=(l&65535)*1540483477+(((l>>>16)*1540483477&65535)<<16)}return l^=l>>>13,l=(l&65535)*1540483477+(((l>>>16)*1540483477&65535)<<16),l^=l>>>15,l>>>0}function r(i,s){typeof i=="string"&&(i=t(i));let a,l,u,c,f,d,p,h;for(a=i.length&3,l=i.length-a,u=s,f=3432918353,d=461845907,h=0;h>>16)*f&65535)<<16)&4294967295,p=p<<15|p>>>17,p=(p&65535)*d+(((p>>>16)*d&65535)<<16)&4294967295,u^=p,u=u<<13|u>>>19,c=(u&65535)*5+(((u>>>16)*5&65535)<<16)&4294967295,u=(c&65535)+27492+(((c>>>16)+58964&65535)<<16);switch(p=0,a){case 3:p^=(i[h+2]&255)<<16;case 2:p^=(i[h+1]&255)<<8;case 1:p^=i[h]&255,p=(p&65535)*f+(((p>>>16)*f&65535)<<16)&4294967295,p=p<<15|p>>>17,p=(p&65535)*d+(((p>>>16)*d&65535)<<16)&4294967295,u^=p}return u^=i.length,u^=u>>>16,u=(u&65535)*2246822507+(((u>>>16)*2246822507&65535)<<16)&4294967295,u^=u>>>13,u=(u&65535)*3266489909+(((u>>>16)*3266489909&65535)<<16)&4294967295,u^=u>>>16,u>>>0}const o=r;o.v2=n,o.v3=r,e.exports=o})()})(ff)),ff.exports}var jP=UP();const VP=Es(jP);var Ks={exports:{}},$P=Ks.exports,sy;function BP(){return sy||(sy=1,(function(e,t){(function(n,r){var o="1.0.40",i="",s="?",a="function",l="undefined",u="object",c="string",f="major",d="model",p="name",h="type",g="vendor",m="version",y="architecture",b="console",v="mobile",E="tablet",T="smarttv",x="wearable",I="embedded",P=500,M="Amazon",V="Apple",H="ASUS",B="BlackBerry",ce="Browser",Te="Chrome",ke="Edge",he="Firefox",me="Google",se="Huawei",Ee="LG",tt="Microsoft",Se="Motorola",Xe="Opera",Be="Samsung",it="Sharp",qe="Sony",ot="Xiaomi",J="Zebra",ie="Facebook",ae="Chromium OS",ve="Mac OS",Ke=" Browser",ze=function(G,re){var fe={};for(var _e in G)re[_e]&&re[_e].length%2===0?fe[_e]=re[_e].concat(G[_e]):fe[_e]=G[_e];return fe},C=function(G){for(var re={},fe=0;fe0?Ue.length===2?typeof Ue[1]==a?this[Ue[0]]=Ue[1].call(this,Tt):this[Ue[0]]=Ue[1]:Ue.length===3?typeof Ue[1]===a&&!(Ue[1].exec&&Ue[1].test)?this[Ue[0]]=Tt?Ue[1].call(this,Tt,Ue[2]):r:this[Ue[0]]=Tt?Tt.replace(Ue[1],Ue[2]):r:Ue.length===4&&(this[Ue[0]]=Tt?Ue[3].call(this,Tt.replace(Ue[1],Ue[2])):r):this[Ue]=Tt||r;fe+=2}},N=function(G,re){for(var fe in re)if(typeof re[fe]===u&&re[fe].length>0){for(var _e=0;_e2&&(we[d]="iPad",we[h]=E),we},this.getEngine=function(){var we={};return we[p]=r,we[m]=r,R.call(we,_e,nt.engine),we},this.getOS=function(){var we={};return we[p]=r,we[m]=r,R.call(we,_e,nt.os),Ue&&!we[p]&&We&&We.platform&&We.platform!="Unknown"&&(we[p]=We.platform.replace(/chrome os/i,ae).replace(/macos/i,ve)),we},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return _e},this.setUA=function(we){return _e=typeof we===c&&we.length>P?X(we,P):we,this},this.setUA(_e),this};Z.VERSION=o,Z.BROWSER=C([p,m,f]),Z.CPU=C([y]),Z.DEVICE=C([d,g,h,b,v,T,E,x,I]),Z.ENGINE=Z.OS=C([p,m]),e.exports&&(t=e.exports=Z),t.UAParser=Z;var A=typeof n!==l&&(n.jQuery||n.Zepto);if(A&&!A.ua){var L=new Z;A.ua=L.getResult(),A.ua.get=function(){return L.getUA()},A.ua.set=function(G){L.setUA(G);var re=L.getResult();for(var fe in re)A.ua[fe]=re[fe]}}})(typeof window=="object"?window:$P)})(Ks,Ks.exports)),Ks.exports}var HP=BP(),Od=function(e,t){return Od=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},Od(e,t)};function Ri(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Od(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var Zn=function(){return Zn=Object.assign||function(t){for(var n,r=1,o=arguments.length;r0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]=this.logLevel},e.prototype.getLogLevelName=function(t){switch(t){case Re.DEBUG:return"DEBUG";case Re.INFO:return"INFO ";case Re.WARNING:return"WARN ";case Re.ERROR:return"ERROR";default:return"NOTSET"}},e.prototype.consoleLog=function(t,n){switch(t){case Re.DEBUG:console.log.apply(console,n);break;case Re.INFO:console.info.apply(console,n);break;case Re.WARNING:console.warn.apply(console,n);break;case Re.ERROR:console.error.apply(console,n);break;default:console.log.apply(console,n)}},e})(),xd=Re.NOTSET,Cd=null,ly=(function(){function e(t){t===void 0&&(t={}),this.messagePrefix="",t.messagePrefix&&(this.messagePrefix=t.messagePrefix)}return e.prototype.log=function(t,n){for(var r=[],o=2;o=this.maxQueueSize&&this.flush()},e.prototype.flush=function(){this.sink(this.buffer),this.buffer=[],this.timer.stop()},e})(),K={NOTSET:0,DEBUG:1,INFO:2,WARNING:3,ERROR:4},be={BROWSER_ODP_MANAGER_INITIALIZATION_FAILED:"%s: Error initializing Browser ODP Manager.",CONDITION_EVALUATOR_ERROR:"%s: Error evaluating audience condition of type %s: %s",DATAFILE_AND_SDK_KEY_MISSING:"%s: You must provide at least one of sdkKey or datafile. Cannot start Optimizely",EXPERIMENT_KEY_NOT_IN_DATAFILE:"%s: Experiment key %s is not in datafile.",FEATURE_NOT_IN_DATAFILE:"%s: Feature key %s is not in datafile.",FETCH_SEGMENTS_FAILED_NETWORK_ERROR:"%s: Audience segments fetch failed. (network error)",FETCH_SEGMENTS_FAILED_DECODE_ERROR:"%s: Audience segments fetch failed. (decode error)",IMPROPERLY_FORMATTED_EXPERIMENT:"%s: Experiment key %s is improperly formatted.",INVALID_ATTRIBUTES:"%s: Provided attributes are in an invalid format.",INVALID_BUCKETING_ID:"%s: Unable to generate hash for bucketing ID %s: %s",INVALID_DATAFILE:"%s: Datafile is invalid - property %s: %s",INVALID_DATAFILE_MALFORMED:"%s: Datafile is invalid because it is malformed.",INVALID_CONFIG:"%s: Provided Optimizely config is in an invalid format.",INVALID_JSON:"%s: JSON object is not valid.",INVALID_ERROR_HANDLER:'%s: Provided "errorHandler" is in an invalid format.',INVALID_EVENT_DISPATCHER:'%s: Provided "eventDispatcher" is in an invalid format.',INVALID_EVENT_TAGS:"%s: Provided event tags are in an invalid format.",INVALID_EXPERIMENT_KEY:"%s: Experiment key %s is not in datafile. It is either invalid, paused, or archived.",INVALID_EXPERIMENT_ID:"%s: Experiment ID %s is not in datafile.",INVALID_GROUP_ID:"%s: Group ID %s is not in datafile.",INVALID_LOGGER:'%s: Provided "logger" is in an invalid format.',INVALID_ROLLOUT_ID:"%s: Invalid rollout ID %s attached to feature %s",INVALID_USER_ID:"%s: Provided user ID is in an invalid format.",INVALID_USER_PROFILE_SERVICE:"%s: Provided user profile service instance is in an invalid format: %s.",LOCAL_STORAGE_DOES_NOT_EXIST:"Error accessing window localStorage.",MISSING_INTEGRATION_KEY:"%s: Integration key missing from datafile. All integrations should include a key.",NO_DATAFILE_SPECIFIED:"%s: No datafile specified. Cannot start optimizely.",NO_JSON_PROVIDED:"%s: No JSON object to validate against schema.",NO_VARIATION_FOR_EXPERIMENT_KEY:"%s: No variation key %s defined in datafile for experiment %s.",ODP_CONFIG_NOT_AVAILABLE:"%s: ODP is not integrated to the project.",ODP_EVENT_FAILED:"ODP event send failed.",ODP_FETCH_QUALIFIED_SEGMENTS_SEGMENTS_MANAGER_MISSING:"%s: ODP unable to fetch qualified segments (Segments Manager not initialized).",ODP_IDENTIFY_FAILED_EVENT_MANAGER_MISSING:"%s: ODP identify event %s is not dispatched (Event Manager not instantiated).",ODP_INITIALIZATION_FAILED:"%s: ODP failed to initialize.",ODP_INVALID_DATA:"%s: ODP data is not valid",ODP_EVENT_FAILED_ODP_MANAGER_MISSING:"%s: ODP Event failed to send. (ODP Manager not initialized).",ODP_FETCH_QUALIFIED_SEGMENTS_FAILED_ODP_MANAGER_MISSING:"%s: ODP failed to Fetch Qualified Segments. (ODP Manager not initialized).",ODP_IDENTIFY_USER_FAILED_ODP_MANAGER_MISSING:"%s: ODP failed to Identify User. (ODP Manager not initialized).",ODP_IDENTIFY_USER_FAILED_USER_CONTEXT_INITIALIZATION:"%s: ODP failed to Identify User. (Failed during User Context Initialization).",ODP_MANAGER_UPDATE_SETTINGS_FAILED_EVENT_MANAGER_MISSING:"%s: ODP Manager failed to update OdpConfig settings for internal event manager. (Event Manager not initialized).",ODP_MANAGER_UPDATE_SETTINGS_FAILED_SEGMENTS_MANAGER_MISSING:"%s: ODP Manager failed to update OdpConfig settings for internal segments manager. (Segments Manager not initialized).",ODP_NOT_ENABLED:"ODP is not enabled",ODP_NOT_INTEGRATED:"%s: ODP is not integrated",ODP_SEND_EVENT_FAILED_EVENT_MANAGER_MISSING:"%s: ODP send event %s was not dispatched (Event Manager not instantiated).",ODP_SEND_EVENT_FAILED_UID_MISSING:"%s: ODP send event %s was not dispatched (No valid user identifier provided).",ODP_SEND_EVENT_FAILED_VUID_MISSING:"%s: ODP send event %s was not dispatched (Unable to fetch VUID).",ODP_VUID_INITIALIZATION_FAILED:"%s: ODP VUID initialization failed.",ODP_VUID_REGISTRATION_FAILED:"%s: ODP VUID failed to be registered.",ODP_VUID_REGISTRATION_FAILED_EVENT_MANAGER_MISSING:"%s: ODP register vuid failed. (Event Manager not instantiated).",UNDEFINED_ATTRIBUTE:"%s: Provided attribute: %s has an undefined value.",UNRECOGNIZED_ATTRIBUTE:"%s: Unrecognized attribute %s provided. Pruning before sending event to Optimizely.",UNABLE_TO_CAST_VALUE:"%s: Unable to cast value %s to type %s, returning null.",USER_NOT_IN_FORCED_VARIATION:"%s: User %s is not in the forced variation map. Cannot remove their forced variation.",USER_PROFILE_LOOKUP_ERROR:'%s: Error while looking up user profile for user ID "%s": %s.',USER_PROFILE_SAVE_ERROR:'%s: Error while saving user profile for user ID "%s": %s.',VARIABLE_KEY_NOT_IN_DATAFILE:'%s: Variable with key "%s" associated with feature with key "%s" is not in datafile.',VARIATION_ID_NOT_IN_DATAFILE:"%s: No variation ID %s defined in datafile for experiment %s.",VARIATION_ID_NOT_IN_DATAFILE_NO_EXPERIMENT:"%s: Variation ID %s is not in the datafile.",INVALID_INPUT_FORMAT:"%s: Provided %s is in an invalid format.",INVALID_DATAFILE_VERSION:"%s: This version of the JavaScript SDK does not support the given datafile version: %s",INVALID_VARIATION_KEY:"%s: Provided variation key is in an invalid format."},W={ACTIVATE_USER:"%s: Activating user %s in experiment %s.",DISPATCH_CONVERSION_EVENT:"%s: Dispatching conversion event to URL %s with params %s.",DISPATCH_IMPRESSION_EVENT:"%s: Dispatching impression event to URL %s with params %s.",DEPRECATED_EVENT_VALUE:"%s: Event value is deprecated in %s call.",EVENT_KEY_NOT_FOUND:"%s: Event key %s is not in datafile.",EXPERIMENT_NOT_RUNNING:"%s: Experiment %s is not running.",FEATURE_ENABLED_FOR_USER:"%s: Feature %s is enabled for user %s.",FEATURE_NOT_ENABLED_FOR_USER:"%s: Feature %s is not enabled for user %s.",FEATURE_HAS_NO_EXPERIMENTS:"%s: Feature %s is not attached to any experiments.",FAILED_TO_PARSE_VALUE:'%s: Failed to parse event value "%s" from event tags.',FAILED_TO_PARSE_REVENUE:'%s: Failed to parse revenue value "%s" from event tags.',FORCED_BUCKETING_FAILED:"%s: Variation key %s is not in datafile. Not activating user %s.",INVALID_OBJECT:"%s: Optimizely object is not valid. Failing %s.",INVALID_CLIENT_ENGINE:"%s: Invalid client engine passed: %s. Defaulting to node-sdk.",INVALID_DEFAULT_DECIDE_OPTIONS:"%s: Provided default decide options is not an array.",INVALID_DECIDE_OPTIONS:"%s: Provided decide options is not an array. Using default decide options.",INVALID_VARIATION_ID:"%s: Bucketed into an invalid variation ID. Returning null.",NOTIFICATION_LISTENER_EXCEPTION:"%s: Notification listener for (%s) threw exception: %s",NO_ROLLOUT_EXISTS:"%s: There is no rollout of feature %s.",NOT_ACTIVATING_USER:"%s: Not activating user %s for experiment %s.",NOT_TRACKING_USER:"%s: Not tracking user %s.",ODP_DISABLED:"ODP Disabled.",ODP_IDENTIFY_FAILED_ODP_DISABLED:"%s: ODP identify event for user %s is not dispatched (ODP disabled).",ODP_IDENTIFY_FAILED_ODP_NOT_INTEGRATED:"%s: ODP identify event %s is not dispatched (ODP not integrated).",ODP_SEND_EVENT_IDENTIFIER_CONVERSION_FAILED:"%s: sendOdpEvent failed to parse through and convert fs_user_id aliases",PARSED_REVENUE_VALUE:'%s: Parsed revenue value "%s" from event tags.',PARSED_NUMERIC_VALUE:'%s: Parsed event value "%s" from event tags.',RETURNING_STORED_VARIATION:'%s: Returning previously activated variation "%s" of experiment "%s" for user "%s" from user profile.',ROLLOUT_HAS_NO_EXPERIMENTS:"%s: Rollout of feature %s has no experiments",SAVED_VARIATION:'%s: Saved variation "%s" of experiment "%s" for user "%s".',SAVED_VARIATION_NOT_FOUND:"%s: User %s was previously bucketed into variation with ID %s for experiment %s, but no matching variation was found.",SHOULD_NOT_DISPATCH_ACTIVATE:'%s: Experiment %s is not in "Running" state. Not activating user.',SKIPPING_JSON_VALIDATION:"%s: Skipping JSON schema validation.",TRACK_EVENT:"%s: Tracking event %s for user %s.",UNRECOGNIZED_DECIDE_OPTION:"%s: Unrecognized decide option %s provided.",USER_ASSIGNED_TO_EXPERIMENT_BUCKET:"%s: Assigned bucket %s to user with bucketing ID %s.",USER_BUCKETED_INTO_EXPERIMENT_IN_GROUP:"%s: User %s is in experiment %s of group %s.",USER_BUCKETED_INTO_TARGETING_RULE:"%s: User %s bucketed into targeting rule %s.",USER_IN_FEATURE_EXPERIMENT:"%s: User %s is in variation %s of experiment %s on the feature %s.",USER_IN_ROLLOUT:"%s: User %s is in rollout of feature %s.",USER_NOT_BUCKETED_INTO_EVERYONE_TARGETING_RULE:"%s: User %s not bucketed into everyone targeting rule due to traffic allocation.",USER_NOT_BUCKETED_INTO_EXPERIMENT_IN_GROUP:"%s: User %s is not in experiment %s of group %s.",USER_NOT_BUCKETED_INTO_ANY_EXPERIMENT_IN_GROUP:"%s: User %s is not in any experiment of group %s.",USER_NOT_BUCKETED_INTO_TARGETING_RULE:"%s User %s not bucketed into targeting rule %s due to traffic allocation. Trying everyone rule.",USER_NOT_IN_FEATURE_EXPERIMENT:"%s: User %s is not in any experiment on the feature %s.",USER_NOT_IN_ROLLOUT:"%s: User %s is not in rollout of feature %s.",USER_FORCED_IN_VARIATION:"%s: User %s is forced in variation %s.",USER_MAPPED_TO_FORCED_VARIATION:"%s: Set variation %s for experiment %s and user %s in the forced variation map.",USER_DOESNT_MEET_CONDITIONS_FOR_TARGETING_RULE:"%s: User %s does not meet conditions for targeting rule %s.",USER_MEETS_CONDITIONS_FOR_TARGETING_RULE:"%s: User %s meets conditions for targeting rule %s.",USER_HAS_VARIATION:"%s: User %s is in variation %s of experiment %s.",USER_HAS_FORCED_DECISION_WITH_RULE_SPECIFIED:"Variation (%s) is mapped to flag (%s), rule (%s) and user (%s) in the forced decision map.",USER_HAS_FORCED_DECISION_WITH_NO_RULE_SPECIFIED:"Variation (%s) is mapped to flag (%s) and user (%s) in the forced decision map.",USER_HAS_FORCED_DECISION_WITH_RULE_SPECIFIED_BUT_INVALID:"Invalid variation is mapped to flag (%s), rule (%s) and user (%s) in the forced decision map.",USER_HAS_FORCED_DECISION_WITH_NO_RULE_SPECIFIED_BUT_INVALID:"Invalid variation is mapped to flag (%s) and user (%s) in the forced decision map.",USER_HAS_FORCED_VARIATION:"%s: Variation %s is mapped to experiment %s and user %s in the forced variation map.",USER_HAS_NO_VARIATION:"%s: User %s is in no variation of experiment %s.",USER_HAS_NO_FORCED_VARIATION:"%s: User %s is not in the forced variation map.",USER_HAS_NO_FORCED_VARIATION_FOR_EXPERIMENT:"%s: No experiment %s mapped to user %s in the forced variation map.",USER_NOT_IN_ANY_EXPERIMENT:"%s: User %s is not in any experiment of group %s.",USER_NOT_IN_EXPERIMENT:"%s: User %s does not meet conditions to be in experiment %s.",USER_RECEIVED_DEFAULT_VARIABLE_VALUE:'%s: User "%s" is not in any variation or rollout rule. Returning default value for variable "%s" of feature flag "%s".',FEATURE_NOT_ENABLED_RETURN_DEFAULT_VARIABLE_VALUE:'%s: Feature "%s" is not enabled for user %s. Returning the default variable value "%s".',VARIABLE_NOT_USED_RETURN_DEFAULT_VARIABLE_VALUE:'%s: Variable "%s" is not used in variation "%s". Returning default value.',USER_RECEIVED_VARIABLE_VALUE:'%s: Got variable value "%s" for variable "%s" of feature flag "%s"',VALID_DATAFILE:"%s: Datafile is valid.",VALID_USER_PROFILE_SERVICE:"%s: Valid user profile service provided.",VARIATION_REMOVED_FOR_USER:"%s: Variation mapped to experiment %s has been removed for user %s.",VARIABLE_REQUESTED_WITH_WRONG_TYPE:'%s: Requested variable type "%s", but variable is of type "%s". Use correct API to retrieve value. Returning None.',VALID_BUCKETING_ID:'%s: BucketingId is valid: "%s"',BUCKETING_ID_NOT_STRING:"%s: BucketingID attribute is not a string. Defaulted to userId",EVALUATING_AUDIENCE:'%s: Starting to evaluate audience "%s" with conditions: %s.',EVALUATING_AUDIENCES_COMBINED:'%s: Evaluating audiences for %s "%s": %s.',AUDIENCE_EVALUATION_RESULT:'%s: Audience "%s" evaluated to %s.',AUDIENCE_EVALUATION_RESULT_COMBINED:"%s: Audiences for %s %s collectively evaluated to %s.",MISSING_ATTRIBUTE_VALUE:'%s: Audience condition %s evaluated to UNKNOWN because no value was passed for user attribute "%s".',UNEXPECTED_CONDITION_VALUE:"%s: Audience condition %s evaluated to UNKNOWN because the condition value is not supported.",UNEXPECTED_TYPE:'%s: Audience condition %s evaluated to UNKNOWN because a value of type "%s" was passed for user attribute "%s".',UNEXPECTED_TYPE_NULL:'%s: Audience condition %s evaluated to UNKNOWN because a null value was passed for user attribute "%s".',UNKNOWN_CONDITION_TYPE:"%s: Audience condition %s has an unknown condition type. You may need to upgrade to a newer release of the Optimizely SDK.",UNKNOWN_MATCH_TYPE:"%s: Audience condition %s uses an unknown match type. You may need to upgrade to a newer release of the Optimizely SDK.",UPDATED_OPTIMIZELY_CONFIG:"%s: Updated Optimizely config to revision %s (project id %s)",OUT_OF_BOUNDS:'%s: Audience condition %s evaluated to UNKNOWN because the number value for user attribute "%s" is not in the range [-2^53, +2^53].',UNABLE_TO_ATTACH_UNLOAD:'%s: unable to bind optimizely.close() to page unload event: "%s"'},jr={BOT_FILTERING:"$opt_bot_filtering",BUCKETING_ID:"$opt_bucketing_id",STICKY_BUCKETING_KEY:"$opt_experiment_bucket_map",USER_AGENT:"$opt_user_agent",FORCED_DECISION_NULL_RULE_KEY:"$opt_null_rule_key"},Xp="javascript-sdk",w0="node-sdk",sM="react-sdk",aM="react-native-sdk",lM="react-native-js-sdk",Jp="5.3.5",ii={AB_TEST:"ab-test",FEATURE:"feature",FEATURE_TEST:"feature-test",FEATURE_VARIABLE:"feature-variable",ALL_FEATURE_VARIABLES:"all-feature-variables",FLAG:"flag"},ln={FEATURE_TEST:"feature-test",ROLLOUT:"rollout",EXPERIMENT:"experiment"},Nd={RULE:"rule",EXPERIMENT:"experiment"},Xn={BOOLEAN:"boolean",DOUBLE:"double",INTEGER:"integer",STRING:"string",JSON:"json"},Ql={V2:"2",V3:"3",V4:"4"},Ld={SDK_NOT_READY:"Optimizely SDK not configured properly yet.",FLAG_KEY_INVALID:'No flag was found for key "%s".',VARIABLE_VALUE_INVALID:'Variable value for key "%s" is invalid or wrong type.'},vn;(function(e){e.ACTIVATE="ACTIVATE:experiment, user_id,attributes, variation, event",e.DECISION="DECISION:type, userId, attributes, decisionInfo",e.LOG_EVENT="LOG_EVENT:logEvent",e.OPTIMIZELY_CONFIG_UPDATE="OPTIMIZELY_CONFIG_UPDATE",e.TRACK="TRACK:event_key, user_id, attributes, event_tags, event"})(vn||(vn={}));var S0=60*1e3,A0=10*1e3,I0=10*1e3,ur;(function(e){e.VUID="vuid",e.FS_USER_ID="fs_user_id"})(ur||(ur={}));var R0="fs-user-id",Pu="fullstack",Ea;(function(e){e.IDENTIFIED="identified",e.INITIALIZED="client_initialized"})(Ea||(Ea={}));var Ta=Object.freeze({__proto__:null,LOG_LEVEL:K,ERROR_MESSAGES:be,LOG_MESSAGES:W,CONTROL_ATTRIBUTES:jr,JAVASCRIPT_CLIENT_ENGINE:Xp,NODE_CLIENT_ENGINE:w0,REACT_CLIENT_ENGINE:sM,REACT_NATIVE_CLIENT_ENGINE:aM,REACT_NATIVE_JS_CLIENT_ENGINE:lM,CLIENT_VERSION:Jp,DECISION_NOTIFICATION_TYPES:ii,DECISION_SOURCES:ln,AUDIENCE_EVALUATION_TYPES:Nd,FEATURE_VARIABLE_TYPES:Xn,DATAFILE_VERSIONS:Ql,DECISION_MESSAGES:Ld,get NOTIFICATION_TYPES(){return vn},REQUEST_TIMEOUT_MS:S0,REQUEST_TIMEOUT_ODP_SEGMENTS_MS:A0,REQUEST_TIMEOUT_ODP_EVENTS_MS:I0,get ODP_USER_KEY(){return ur},FS_USER_ID_ALIAS:R0,ODP_DEFAULT_EVENT_TYPE:Pu,get ODP_EVENT_ACTION(){return Ea}}),Dd=3e4,kd=10,O0=Wt("EventProcessor");function uM(e){return e<=0&&(O0.warn("Invalid flushInterval ".concat(e,", defaulting to ").concat(Dd)),e=Dd),e}function cM(e){return e=Math.floor(e),e<1&&(O0.warn("Invalid batchSize ".concat(e,", defaulting to ").concat(kd)),e=kd),e=Math.max(1,e),e}function fM(e,t,n,r,o){var i;return e>1?i=new iM({flushInterval:t,maxQueueSize:e,sink:r,closingSink:o,batchComparator:n}):i=new oM({sink:r}),i}function dM(e,t){e&&e.sendNotifications(vn.LOG_EVENT,t)}var uy=Wt("EventProcessor"),pM=(function(){function e(t){var n=t.key,r=t.maxValues,o=r===void 0?1e3:r;this.LS_KEY=n,this.maxValues=o}return e.prototype.get=function(t){return this.getMap()[t]||null},e.prototype.set=function(t,n){var r=this.getMap();r[t]=n,this.replace(r)},e.prototype.remove=function(t){var n=this.getMap();delete n[t],this.replace(n)},e.prototype.values=function(){return Br(this.getMap())},e.prototype.clear=function(){this.replace({})},e.prototype.replace=function(t){try{typeof window<"u"?window&&window.localStorage&&localStorage.setItem(this.LS_KEY,JSON.stringify(t)):localStorage.setItem(this.LS_KEY,JSON.stringify(t)),this.clean()}catch(n){uy.error(String(n))}},e.prototype.clean=function(){var t=this.getMap(),n=Object.keys(t),r=n.length-this.maxValues;if(!(r<1)){var o=n.map(function(s){return{key:s,value:t[s]}});o.sort(function(s,a){return s.value.timestamp-a.value.timestamp});for(var i=0;i=1:!1},PM=function(e){return typeof e=="number"&&Ft.isSafeInteger(e)?e>0:!1},my={validateEventBatchSize:kM,validateEventFlushInterval:PM},MM="NOTIFICATION_CENTER",FM=(function(){function e(t){var n=this;this.logger=t.logger,this.errorHandler=t.errorHandler,this.notificationListeners={},Br(vn).forEach(function(r){n.notificationListeners[r]=[]}),this.listenerId=1}return e.prototype.addNotificationListener=function(t,n){try{var r=Br(vn),o=r.indexOf(t)>-1;if(!o)return-1;this.notificationListeners[t]||(this.notificationListeners[t]=[]);var i=!1;if((this.notificationListeners[t]||[]).forEach(function(a){if(a.callback===n){i=!0;return}}),i)return-1;this.notificationListeners[t].push({id:this.listenerId,callback:n});var s=this.listenerId;return this.listenerId+=1,s}catch(a){return this.logger.log(K.ERROR,a.message),this.errorHandler.handleError(a),-1}},e.prototype.removeNotificationListener=function(t){var n=this;try{var r,o;if(Object.keys(this.notificationListeners).some(function(i){var s=n.notificationListeners[i];return(s||[]).every(function(a,l){return a.id===t?(r=l,o=i,!1):!0}),r!==void 0&&o!==void 0}),r!==void 0&&o!==void 0)return this.notificationListeners[o].splice(r,1),!0}catch(i){this.logger.log(K.ERROR,i.message),this.errorHandler.handleError(i)}return!1},e.prototype.clearAllNotificationListeners=function(){var t=this;try{Br(vn).forEach(function(n){t.notificationListeners[n]=[]})}catch(n){this.logger.log(K.ERROR,n.message),this.errorHandler.handleError(n)}},e.prototype.clearNotificationListeners=function(t){try{this.notificationListeners[t]=[]}catch(n){this.logger.log(K.ERROR,n.message),this.errorHandler.handleError(n)}},e.prototype.sendNotifications=function(t,n){var r=this;try{(this.notificationListeners[t]||[]).forEach(function(o){var i=o.callback;try{i(n)}catch(s){r.logger.log(K.ERROR,W.NOTIFICATION_LISTENER_EXCEPTION,MM,t,s.message)}})}catch(o){this.logger.log(K.ERROR,o.message),this.errorHandler.handleError(o)}},e})();function k0(e){return new FM(e)}function UM(){for(var e=[],t=0;t-1){var s=o.slice(0,i),a=o.slice(i+2);a.length>0&&(r[s]=a)}}),r}function XM(e,t){Object.keys(e).forEach(function(n){var r=e[n];t.setRequestHeader(n,r)})}function JM(e,t){var n=new XMLHttpRequest,r=new Promise(function(o,i){n.open(KM,e,!0),XM(t,n),n.onreadystatechange=function(){if(n.readyState===WM){var s=n.status;if(s===0){i(new Error("Request error"));return}var a=YM(n),l={statusCode:n.status,body:n.responseText,headers:a};o(l)}},n.timeout=GM,n.ontimeout=function(){qM.error("Request timed out")},n.send()});return{responsePromise:r,abort:function(){n.abort()}}}var QM=(function(){function e(){this.listeners={},this.listenerId=1}return e.prototype.on=function(t,n){var r=this;this.listeners[t]||(this.listeners[t]={});var o=String(this.listenerId);return this.listenerId++,this.listeners[t][o]=n,function(){r.listeners[t]&&delete r.listeners[t][o]}},e.prototype.emit=function(t,n){var r=this.listeners[t];r&&Object.keys(r).forEach(function(o){var i=r[o];i(n)})},e.prototype.removeAllListeners=function(){this.listeners={}},e})();function ZM(){return Math.round(Math.random()*1e3)}var eF=(function(){function e(){this.errorCount=0}return e.prototype.getDelay=function(){if(this.errorCount===0)return 0;var t=df[Math.min(df.length-1,this.errorCount)];return t*1e3+ZM()},e.prototype.countError=function(){this.errorCount=200&&e<400}var nF={get:function(){return Promise.resolve(void 0)},set:function(){return Promise.resolve()},contains:function(){return Promise.resolve(!1)},remove:function(){return Promise.resolve(!1)}},rF=(function(){function e(t){var n=this,r=Zn(Zn({},this.getConfigDefaults()),t),o=r.datafile,i=r.autoUpdate,s=i===void 0?!1:i,a=r.sdkKey,l=r.updateInterval,u=l===void 0?$M:l,c=r.urlTemplate,f=c===void 0?zM:c,d=r.cache,p=d===void 0?nF:d;this.cache=p,this.cacheKey="opt-datafile-"+a,this.sdkKey=a,this.isReadyPromiseSettled=!1,this.readyPromiseResolver=function(){},this.readyPromiseRejecter=function(){},this.readyPromise=new Promise(function(h,g){n.readyPromiseResolver=h,n.readyPromiseRejecter=g}),o?(this.currentDatafile=o,a||this.resolveReadyPromise()):this.currentDatafile="",this.isStarted=!1,this.datafileUrl=lt(f,a),this.emitter=new QM,this.autoUpdate=s,this.updateInterval=u,this.updateInterval"u"||t.statusCode===304?"":vy(t.statusCode)?t.body:(Un.error("Datafile fetch request failed with status: ".concat(t.statusCode)),"")},e.prototype.trySavingLastModified=function(t){var n=t["last-modified"]||t["Last-Modified"];typeof n<"u"&&(this.lastResponseLastModified=n,Un.debug("Saved last modified header value from response: %s",this.lastResponseLastModified))},e.prototype.setDatafileFromCacheIfAvailable=function(){var t=this;this.cache.get(this.cacheKey).then(function(n){t.isStarted&&!t.isReadyPromiseSettled&&n&&(Un.debug("Using datafile from cache"),t.currentDatafile=n,t.resolveReadyPromise())})},e})(),oF=(function(e){Ri(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.makeGetRequest=function(n,r){return JM(n,r)},t.prototype.getConfigDefaults=function(){return{autoUpdate:!1}},t})(rF),iF=(function(){function e(t,n,r,o){this.apiKey=t,this.apiHost=n,this.pixelUrl=r,this.segmentsToCheck=o}return e.prototype.equals=function(t){return this.apiHost===t.apiHost&&this.apiKey===t.apiKey&&this.pixelUrl===t.pixelUrl&&E0(this.segmentsToCheck,t.segmentsToCheck)},e})(),sF=function(e,t){return e.integrated!==t.integrated?!1:e.integrated&&t.integrated?e.odpConfig.equals(t.odpConfig):!0},F0="Running",_y="$opt_",nn="PROJECT_CONFIG";function aF(e){var t,n,r=sr({},e);return r.audiences=(e.audiences||[]).map(function(o){return sr({},o)}),r.experiments=(e.experiments||[]).map(function(o){return sr({},o)}),r.featureFlags=(e.featureFlags||[]).map(function(o){return sr({},o)}),r.groups=(e.groups||[]).map(function(o){var i=sr({},o);return i.experiments=(o.experiments||[]).map(function(s){return sr({},s)}),i}),r.rollouts=(e.rollouts||[]).map(function(o){var i=sr({},o);return i.experiments=(o.experiments||[]).map(function(s){return sr({},s)}),i}),r.environmentKey=(t=e.environmentKey)!==null&&t!==void 0?t:"",r.sdkKey=(n=e.sdkKey)!==null&&n!==void 0?n:"",r}var lF=function(e,t){t===void 0&&(t=null);var n=aF(e);n.__datafileStr=t===null?JSON.stringify(e):t,(n.audiences||[]).forEach(function(c){c.conditions=JSON.parse(c.conditions)}),n.audiencesById=mn(n.audiences,"id"),sr(n.audiencesById,mn(n.typedAudiences,"id")),n.attributeKeyMap=mn(n.attributes,"key"),n.eventKeyMap=mn(n.events,"key"),n.groupIdMap=mn(n.groups,"id");var r;Object.keys(n.groupIdMap||{}).forEach(function(c){r=n.groupIdMap[c].experiments,(r||[]).forEach(function(f){n.experiments.push(sr(f,{groupId:c}))})}),n.rolloutIdMap=mn(n.rollouts||[],"id"),Br(n.rolloutIdMap||{}).forEach(function(c){(c.experiments||[]).forEach(function(f){f.isRollout=!0,n.experiments.push(f),f.variationKeyMap=mn(f.variations,"key")})});var o=new Set;Object.keys(n.audiencesById).map(function(c){return uF(n.audiencesById[c])}).forEach(function(c){c.forEach(function(f){o.add(f)})});var i=Array.from(o),s=!1,a="",l="",u="";return n.integrations&&(n.integrationKeyMap=mn(n.integrations,"key"),n.integrations.forEach(function(c){if(!("key"in c))throw new Error(lt(be.MISSING_INTEGRATION_KEY,nn));c.key==="odp"&&(s=!0,l=l||c.publicKey||"",a=a||c.host||"",u=u||c.pixelUrl||"")})),s?n.odpIntegrationConfig={integrated:!0,odpConfig:new iF(l,a,u,i)}:n.odpIntegrationConfig={integrated:!1},n.experimentKeyMap=mn(n.experiments,"key"),n.experimentIdMap=mn(n.experiments,"id"),n.variationIdMap={},n.variationVariableUsageMap={},(n.experiments||[]).forEach(function(c){c.variationKeyMap=mn(c.variations,"key"),sr(n.variationIdMap,mn(c.variations,"id")),Br(c.variationKeyMap||{}).forEach(function(f){f.variables&&(n.variationVariableUsageMap[f.id]=mn(f.variables,"id"))})}),n.experimentFeatureMap={},n.featureKeyMap=mn(n.featureFlags||[],"key"),Br(n.featureKeyMap||{}).forEach(function(c){c.variables.forEach(function(f){f.type===Xn.STRING&&f.subType===Xn.JSON&&(f.type=Xn.JSON,delete f.subType)}),c.variableKeyMap=mn(c.variables,"key"),(c.experimentIds||[]).forEach(function(f){n.experimentFeatureMap[f]?n.experimentFeatureMap[f].push(c.id):n.experimentFeatureMap[f]=[c.id]})}),n.flagRulesMap={},(n.featureFlags||[]).forEach(function(c){var f=[];c.experimentIds.forEach(function(p){var h=n.experimentIdMap[p];h&&f.push(h)});var d=n.rolloutIdMap[c.rolloutId];d&&f.push.apply(f,d.experiments),n.flagRulesMap[c.key]=f}),n.flagVariationsMap={},_0(n.flagRulesMap||{}).forEach(function(c){var f=c[0],d=c[1],p=[];d.forEach(function(h){h.variations.forEach(function(g){Wp(p,function(m){return m.id===g.id})||p.push(g)})}),n.flagVariationsMap[f]=p}),n},uF=function(e){return e.conditions?U0(e.conditions):[]},U0=function(e){var t=[];return cF(e)?[]:(Array.isArray(e)?e.forEach(function(n){return t.push.apply(t,U0(n))}):e.match==="qualified"&&t.push(e.value),t)};function cF(e){return["and","or","not"].includes(e)}var j0=function(e,t){var n=e.experimentIdMap[t];if(!n)throw new Error(lt(be.INVALID_EXPERIMENT_ID,nn,t));return n.layerId},V0=function(e,t,n){var r=e.attributeKeyMap[t],o=t.indexOf(_y)===0;return r?(o&&n.log(K.WARNING,"Attribute %s unexpectedly has reserved prefix %s; using attribute ID instead of reserved attribute name.",t,_y),r.id):o?t:(n.log(K.DEBUG,be.UNRECOGNIZED_ATTRIBUTE,nn,t),null)},$0=function(e,t){var n=e.eventKeyMap[t];return n?n.id:null},B0=function(e,t){var n=e.experimentKeyMap[t];if(!n)throw new Error(lt(be.INVALID_EXPERIMENT_KEY,nn,t));return n.status},fF=function(e,t){return B0(e,t)===F0},dF=function(e,t){return B0(e,t)===F0},pF=function(e,t){var n=e.experimentIdMap[t];if(!n)throw new Error(lt(be.INVALID_EXPERIMENT_ID,nn,t));return n.audienceConditions||n.audienceIds},H0=function(e,t){return e.variationIdMap.hasOwnProperty(t)?e.variationIdMap[t].key:null},hF=function(e,t){return e.variationIdMap.hasOwnProperty(t)?e.variationIdMap[t]:null},gF=function(e,t,n){var r=e.experimentKeyMap[t];return r.variationKeyMap.hasOwnProperty(n)?r.variationKeyMap[n].id:null},Pd=function(e,t){if(e.experimentKeyMap.hasOwnProperty(t)){var n=e.experimentKeyMap[t];if(n)return n}throw new Error(lt(be.EXPERIMENT_KEY_NOT_IN_DATAFILE,nn,t))},mF=function(e,t){var n=e.experimentIdMap[t];if(!n)throw new Error(lt(be.INVALID_EXPERIMENT_ID,nn,t));return n.trafficAllocation},yF=function(e,t,n){if(e.experimentIdMap.hasOwnProperty(t)){var r=e.experimentIdMap[t];if(r)return r}return n.log(K.ERROR,be.INVALID_EXPERIMENT_ID,nn,t),null},by=function(e,t,n){if(!e)return null;var r=e.flagVariationsMap[t],o=Wp(r,function(i){return i.key===n});return o||null},pf=function(e,t,n){if(e.featureKeyMap.hasOwnProperty(t)){var r=e.featureKeyMap[t];if(r)return r}return n.log(K.ERROR,be.FEATURE_NOT_IN_DATAFILE,nn,t),null},vF=function(e,t,n,r){var o=e.featureKeyMap[t];if(!o)return r.log(K.ERROR,be.FEATURE_NOT_IN_DATAFILE,nn,t),null;var i=o.variableKeyMap[n];return i||(r.log(K.ERROR,be.VARIABLE_KEY_NOT_IN_DATAFILE,nn,n,t),null)},_F=function(e,t,n,r){if(!t||!n)return null;if(!e.variationVariableUsageMap.hasOwnProperty(n.id))return r.log(K.ERROR,be.VARIATION_ID_NOT_IN_DATAFILE_NO_EXPERIMENT,nn,n.id),null;var o=e.variationVariableUsageMap[n.id],i=o[t.id];return i?i.value:null},bF=function(e,t,n){var r;switch(t){case Xn.BOOLEAN:e!=="true"&&e!=="false"?(n.log(K.ERROR,be.UNABLE_TO_CAST_VALUE,nn,e,t),r=null):r=e==="true";break;case Xn.INTEGER:r=parseInt(e,10),isNaN(r)&&(n.log(K.ERROR,be.UNABLE_TO_CAST_VALUE,nn,e,t),r=null);break;case Xn.DOUBLE:r=parseFloat(e),isNaN(r)&&(n.log(K.ERROR,be.UNABLE_TO_CAST_VALUE,nn,e,t),r=null);break;case Xn.JSON:try{r=JSON.parse(e)}catch{n.log(K.ERROR,be.UNABLE_TO_CAST_VALUE,nn,e,t),r=null}break;default:r=e;break}return r},EF=function(e){return e.audiencesById},TF=function(e,t){return e.eventKeyMap.hasOwnProperty(t)},wF=function(e,t){return e.experimentFeatureMap.hasOwnProperty(t)},z0=function(e){return e.__datafileStr},G0=function(e){var t;try{t=C0.validateDatafile(e.datafile)}catch(o){return{configObj:null,error:o}}if(e.jsonSchemaValidator)try{e.jsonSchemaValidator.validate(t),e.logger.log(K.INFO,W.VALID_DATAFILE,nn)}catch(o){return{configObj:null,error:o}}else e.logger.log(K.INFO,W.SKIPPING_JSON_VALIDATION,nn);var n=[t];typeof e.datafile=="string"&&n.push(e.datafile);var r=lF.apply(void 0,n);return{configObj:r,error:null}},Ey=function(e){return!!e.sendFlagDecisions};function SF(e,t,n,r){var o={sdkKey:e};if((r===void 0||typeof r=="object"&&r!==null)&&Ft.assign(o,r),n){var i=G0({datafile:n,jsonSchemaValidator:void 0,logger:t}),s=i.configObj,a=i.error;a&&t.error(a),s&&(o.datafile=z0(s))}return new oF(o)}var Ty=(function(){function e(t,n){n===void 0&&(n=S0),this.logger=t,this.timeout=n}return e.prototype.makeRequest=function(t,n,r,o){var i=this,s=new XMLHttpRequest,a=new Promise(function(l,u){s.open(r,t,!0),i.setHeadersInXhr(n,s),s.onreadystatechange=function(){if(s.readyState===XMLHttpRequest.DONE){var c=s.status;if(c===0){u(new Error("Request error"));return}var f=i.parseHeadersFromXhr(s),d={statusCode:s.status,body:s.responseText,headers:f};l(d)}},s.timeout=i.timeout,s.ontimeout=function(){i.logger.log(Re.WARNING,"Request timed out")},s.send(o)});return{responsePromise:a,abort:function(){s.abort()}}},e.prototype.setHeadersInXhr=function(t,n){Object.keys(t).forEach(function(r){var o=t[r];typeof o=="string"&&n.setRequestHeader(r,o)})},e.prototype.parseHeadersFromXhr=function(t){var n=this,r=t.getAllResponseHeaders();if(r===null)return{};var o=r.split(`\r `),i={};return o.forEach(function(s){try{var a=s.indexOf(": ");if(a>-1){var l=s.slice(0,a),u=s.slice(a+2);l&&u&&(i[l]=u)}}catch{n.logger.log(Re.WARNING,"Unable to parse & skipped header item '".concat(s,"'"))}}),i},e})(),Ol=function(e){var t=e.browserCallback,n=e.nonBrowserCallback;return typeof window<"u"?t(window?.localStorage):n()},AF=(function(){function e(){this.logger=Wt()}return e.prototype.contains=function(t){return qt(this,void 0,void 0,function(){var n=this;return Kt(this,function(r){return[2,Ol({browserCallback:function(o){return o?.getItem(t)!==null},nonBrowserCallback:function(){return n.logger.error(be.LOCAL_STORAGE_DOES_NOT_EXIST),!1}})]})})},e.prototype.get=function(t){return qt(this,void 0,void 0,function(){var n=this;return Kt(this,function(r){return[2,Ol({browserCallback:function(o){return o?.getItem(t)||void 0},nonBrowserCallback:function(){n.logger.error(be.LOCAL_STORAGE_DOES_NOT_EXIST)}})]})})},e.prototype.remove=function(t){return qt(this,void 0,void 0,function(){var n=this;return Kt(this,function(r){switch(r.label){case 0:return[4,this.contains(t)];case 1:return r.sent()?(Ol({browserCallback:function(o){o?.removeItem(t)},nonBrowserCallback:function(){n.logger.error(be.LOCAL_STORAGE_DOES_NOT_EXIST)}}),[2,!0]):[2,!1]}})})},e.prototype.set=function(t,n){return qt(this,void 0,void 0,function(){var r=this;return Kt(this,function(o){return[2,Ol({browserCallback:function(i){i?.setItem(t,n)},nonBrowserCallback:function(){r.logger.error(be.LOCAL_STORAGE_DOES_NOT_EXIST)}})]})})},e})(),IF=(function(){function e(t){t===void 0&&(t=null),this._value=t,this._time=Date.now()}return Object.defineProperty(e.prototype,"value",{get:function(){return this._value},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"time",{get:function(){return this._time},enumerable:!1,configurable:!0}),e.prototype.is_stale=function(t){return t<=0?!1:Date.now()-this._time>=t},e})(),q0=(function(){function e(t){var n=t.maxSize,r=t.timeout;this._map=new Map;var o=Wt();o.debug("Provisioning cache with maxSize of ".concat(n)),o.debug("Provisioning cache with timeout of ".concat(r)),this._maxSize=n,this._timeout=r}return Object.defineProperty(e.prototype,"map",{get:function(){return this._map},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"maxSize",{get:function(){return this._maxSize},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"timeout",{get:function(){return this._timeout},enumerable:!1,configurable:!0}),e.prototype.lookup=function(t){if(this._maxSize<=0)return null;var n=this._map.get(t);return n?n.is_stale(this._timeout)?(this._map.delete(t),null):(this._map.delete(t),this._map.set(t,n),n.value):null},e.prototype.save=function(t){var n=t.key,r=t.value;if(!(this._maxSize<=0)){var o=this._map.get(n);if(o&&this._map.delete(n),this._map.set(n,new IF(r)),this._map.size>this._maxSize){var i=this._map.keys().next().value;this._map.delete(i)}}},e.prototype.reset=function(){this._maxSize<=0||this._map.clear()},e.prototype.peek=function(t){var n;if(this._maxSize<=0)return null;var r=this._map.get(t);return(n=r?.value)!==null&&n!==void 0?n:null},e})(),wy={DEFAULT_CAPACITY:100,DEFAULT_TIMEOUT_SECS:600},RF=(function(e){Ri(t,e);function t(n){var r,o;return e.call(this,{maxSize:(r=n?.maxSize)!==null&&r!==void 0?r:wy.DEFAULT_CAPACITY,timeout:(o=n?.timeout)!==null&&o!==void 0?o:wy.DEFAULT_TIMEOUT_SECS*1e3})||this}return t})(q0),Sy={DEFAULT_CAPACITY:1e4,DEFAULT_TIMEOUT_SECS:600};(function(e){Ri(t,e);function t(n){var r,o;return e.call(this,{maxSize:(r=n?.maxSize)!==null&&r!==void 0?r:Sy.DEFAULT_CAPACITY,timeout:(o=n?.timeout)!==null&&o!==void 0?o:Sy.DEFAULT_TIMEOUT_SECS*1e3})||this}return t})(q0);var oa=(function(){function e(){this._keyForVuid="optimizely-vuid",this._vuid=""}return Object.defineProperty(e.prototype,"vuid",{get:function(){return this._vuid},enumerable:!1,configurable:!0}),e.instance=function(t){return qt(this,void 0,void 0,function(){return Kt(this,function(n){switch(n.label){case 0:return this._instance||(this._instance=new e),this._instance._vuid?[3,2]:[4,this._instance.load(t)];case 1:n.sent(),n.label=2;case 2:return[2,this._instance]}})})},e.prototype.load=function(t){return qt(this,void 0,void 0,function(){var n;return Kt(this,function(r){switch(r.label){case 0:return[4,t.get(this._keyForVuid)];case 1:return n=r.sent(),n&&e.isVuid(n)?(this._vuid=n,[3,4]):[3,2];case 2:return this._vuid=this.makeVuid(),[4,this.save(this._vuid,t)];case 3:r.sent(),r.label=4;case 4:return[2,this._vuid]}})})},e.prototype.makeVuid=function(){var t=32,n=gc(),r=n.replace(/-/g,"").toLowerCase(),o="".concat(e.vuid_prefix).concat(r);return o.length<=t?o:o.substring(0,t)},e.prototype.save=function(t,n){return qt(this,void 0,void 0,function(){return Kt(this,function(r){switch(r.label){case 0:return[4,n.set(this._keyForVuid,t)];case 1:return r.sent(),[2]}})})},e._reset=function(){this._instance._vuid=""},e.vuid_prefix="vuid_",e.isVuid=function(t){return t?.startsWith(e.vuid_prefix)||!1},e})();function K0(e){var t=["string","number","boolean"],n=!1;return e.forEach(function(r){!t.includes(typeof r)&&r!==null&&(n=!0)}),n}var Fu=(function(){function e(t,n,r,o){this.type=t,this.action=n,this.identifiers=r??new Map,this.data=o??new Map}return e})(),Ay=function(){};function OF(){var e=Ay,t=Ay,n=new Promise(function(r,o){e=r,t=o});return{promise:n,resolve:e,reject:t,then:n.then.bind(n)}}var Zr;(function(e){e[e.Running=0]="Running",e[e.Stopped=1]="Stopped"})(Zr||(Zr={}));var xF=(function(){function e(t){var n=t.odpIntegrationConfig,r=t.segmentManager,o=t.eventManager,i=t.logger,s=this;this.ready=!1,this.status=Zr.Stopped,this.segmentManager=r,this.eventManager=o,this.logger=i,this.configPromise=OF();var a=[this.configPromise];this.isVuidEnabled()&&a.push(this.initializeVuid()),this.initPromise=Promise.all(a),this.onReady().then(function(){s.ready=!0,s.isVuidEnabled()&&s.status===Zr.Running&&s.registerVuid()}),n&&this.updateSettings(n)}return e.prototype.getStatus=function(){return this.status},e.prototype.start=function(){return qt(this,void 0,void 0,function(){return Kt(this,function(t){return this.status===Zr.Running?[2]:this.odpIntegrationConfig?this.odpIntegrationConfig.integrated?(this.status=Zr.Running,this.segmentManager.updateSettings(this.odpIntegrationConfig.odpConfig),this.eventManager.updateSettings(this.odpIntegrationConfig.odpConfig),this.eventManager.start(),[2,Promise.resolve()]):[2,Promise.reject(new Error("start() called when ODP is not integrated"))]:[2,Promise.reject(new Error("cannot start without ODP config"))]})})},e.prototype.stop=function(){return qt(this,void 0,void 0,function(){return Kt(this,function(t){switch(t.label){case 0:return this.status===Zr.Stopped?[2]:(this.status=Zr.Stopped,[4,this.eventManager.stop()]);case 1:return t.sent(),[2]}})})},e.prototype.onReady=function(){return this.initPromise},e.prototype.isReady=function(){return this.ready},e.prototype.updateSettings=function(t){return this.configPromise.resolve(),this.odpIntegrationConfig&&sF(this.odpIntegrationConfig,t)?!1:(this.odpIntegrationConfig=t,t.integrated?this.status===Zr.Running?(this.segmentManager.updateSettings(t.odpConfig),this.eventManager.updateSettings(t.odpConfig)):this.start():this.stop(),!0)},e.prototype.fetchQualifiedSegments=function(t,n){return n===void 0&&(n=[]),qt(this,void 0,void 0,function(){return Kt(this,function(r){return this.odpIntegrationConfig?this.odpIntegrationConfig.integrated?oa.isVuid(t)?[2,this.segmentManager.fetchQualifiedSegments(ur.VUID,t,n)]:[2,this.segmentManager.fetchQualifiedSegments(ur.FS_USER_ID,t,n)]:(this.logger.log(Re.ERROR,be.ODP_NOT_INTEGRATED),[2,null]):(this.logger.log(Re.ERROR,be.ODP_CONFIG_NOT_AVAILABLE),[2,null])})})},e.prototype.identifyUser=function(t,n){if(!this.odpIntegrationConfig){this.logger.log(Re.ERROR,be.ODP_CONFIG_NOT_AVAILABLE);return}if(!this.odpIntegrationConfig.integrated){this.logger.log(Re.INFO,be.ODP_NOT_INTEGRATED);return}if(t&&oa.isVuid(t)){this.eventManager.identifyUser(void 0,t);return}this.eventManager.identifyUser(t,n)},e.prototype.sendEvent=function(t){var n=t.type,r=t.action,o=t.identifiers,i=t.data,s=n;if((typeof s!="string"||s==="")&&(s="fullstack"),!this.odpIntegrationConfig){this.logger.log(Re.ERROR,be.ODP_CONFIG_NOT_AVAILABLE);return}if(!this.odpIntegrationConfig.integrated){this.logger.log(Re.ERROR,be.ODP_NOT_INTEGRATED);return}if(K0(i))throw new Error(be.ODP_INVALID_DATA);if(typeof r!="string"||r==="")throw new Error("ODP action is not valid (cannot be empty).");this.eventManager.sendEvent(new Fu(s,r,o,i))},e.prototype.initializeVuid=function(){return Promise.resolve()},e.prototype.registerVuid=function(){if(!this.odpIntegrationConfig){this.logger.log(Re.ERROR,be.ODP_CONFIG_NOT_AVAILABLE);return}if(!this.odpIntegrationConfig.integrated){this.logger.log(Re.INFO,be.ODP_NOT_INTEGRATED);return}var t=this.getVuid();if(t)try{this.eventManager.registerVuid(t)}catch{this.logger.log(Re.ERROR,be.ODP_VUID_REGISTRATION_FAILED)}},e})(),hf="ODP event send failed",CF=(function(){function e(t,n){this.requestHandler=t,this.logger=n}return e.prototype.getLogger=function(){return this.logger},e.prototype.sendEvents=function(t,n){var r;return qt(this,void 0,void 0,function(){var o,i,s,a,l,u,c,f,d,p,h;return Kt(this,function(g){switch(g.label){case 0:if(o=!1,n.length===0)return this.logger.log(Re.ERROR,"".concat(hf," (no events)")),[2,o];if(!this.shouldSendEvents(n))return[2,o];i=this.generateRequestData(t,n),s=i.method,a=i.endpoint,l=i.headers,u=i.data,c=0,g.label=1;case 1:return g.trys.push([1,3,,4]),f=this.requestHandler.makeRequest(a,l,s,u),[4,f.responsePromise];case 2:return d=g.sent(),c=(r=d.statusCode)!==null&&r!==void 0?r:c,[3,4];case 3:return p=g.sent(),h="network error",p instanceof Error&&(h=p.message),this.logger.log(Re.ERROR,"".concat(hf," (").concat(h,")")),o=!0,[3,4];case 4:return c>=400&&this.logger.log(Re.ERROR,"".concat(hf," (").concat(c,")")),c>=500&&(o=!0),[2,o]}})})},e})(),NF="ODP event send failed",LF="v2/zaius.gif",DF=(function(e){Ri(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.shouldSendEvents=function(n){return n.length<=1?!0:(this.getLogger().log(Re.ERROR,"".concat(NF," (browser only supports batch size 1)")),!1)},t.prototype.getPixelApiEndpoint=function(n){var r=n.pixelUrl,o=new URL(LF,r).href;return o},t.prototype.generateRequestData=function(n,r){var o=this.getPixelApiEndpoint(n),i=n.apiKey,s="GET",a=r[0],l=new URL(o);a.identifiers.forEach(function(c,f){l.searchParams.append(f,c)}),a.data.forEach(function(c,f){l.searchParams.append(f,c)}),l.searchParams.append("tracker_id",i),l.searchParams.append("event_type",a.type),l.searchParams.append("vdl_action",a.action);var u=l.toString();return{method:s,endpoint:u,headers:{},data:""}},t})(CF),W0=function(e){typeof queueMicrotask=="function"?queueMicrotask(e):setTimeout(e)},kF=3,No;(function(e){e[e.Stopped=0]="Stopped",e[e.Running=1]="Running"})(No||(No={}));var PF=(function(){function e(t){var n=t.odpConfig,r=t.apiManager,o=t.logger,i=t.clientEngine,s=t.clientVersion,a=t.queueSize,l=t.batchSize,u=t.flushInterval,c=t.userAgentParser,f=t.retries;if(this.status=No.Stopped,this.queue=new Array,this.apiManager=r,this.logger=o,this.clientEngine=i,this.clientVersion=s,this.initParams(l,a,u),this.status=No.Stopped,this.userAgentParser=c,this.retries=f||kF,c){var d=c.parseUserAgentInfo(),p=d.os,h=d.device,g={os:p.name,os_version:p.version,device_type:h.type,model:h.model};this.userAgentData=new Map(Object.entries(g).filter(function(m){m[0];var y=m[1];return y!=null&&y!=null}))}n&&this.updateSettings(n)}return e.prototype.updateSettings=function(t){this.odpConfig&&this.odpConfig.equals(t)||(this.flush(),this.odpConfig=t)},e.prototype.flush=function(){this.processQueue(!0)},e.prototype.start=function(){if(!this.odpConfig){this.logger.log(Re.ERROR,be.ODP_CONFIG_NOT_AVAILABLE);return}this.status=No.Running,this.batchSize>1&&this.setNewTimeout()},e.prototype.stop=function(){return qt(this,void 0,void 0,function(){return Kt(this,function(t){return this.logger.log(Re.DEBUG,"Stop requested."),this.flush(),this.clearCurrentTimeout(),this.status=No.Stopped,this.logger.log(Re.DEBUG,"Stopped. Queue Count: %s",this.queue.length),[2]})})},e.prototype.registerVuid=function(t){var n=new Map;n.set(ur.VUID,t);var r=new Fu(Pu,Ea.INITIALIZED,n);this.sendEvent(r)},e.prototype.identifyUser=function(t,n){var r=new Map;if(!t&&!n){this.logger.log(Re.ERROR,be.ODP_SEND_EVENT_FAILED_UID_MISSING);return}n&&r.set(ur.VUID,n),t&&r.set(ur.FS_USER_ID,t);var o=new Fu(Pu,Ea.IDENTIFIED,r);this.sendEvent(o)},e.prototype.sendEvent=function(t){K0(t.data)?this.logger.log(Re.ERROR,"Event data found to be invalid."):(t.data=this.augmentCommonData(t.data),this.enqueue(t))},e.prototype.enqueue=function(t){if(this.status===No.Stopped){this.logger.log(Re.WARNING,"Failed to Process ODP Event. ODPEventManager is not running.");return}if(!this.hasNecessaryIdentifiers(t)){this.logger.log(Re.ERROR,"ODP events should have at least one key-value pair in identifiers.");return}if(this.queue.length>=this.queueSize){this.logger.log(Re.WARNING,"Failed to Process ODP Event. Event Queue full. queueSize = %s.",this.queue.length);return}this.queue.push(t),this.processQueue()},e.prototype.processQueue=function(t){if(t===void 0&&(t=!1),this.status===No.Running){if(t)for(this.clearCurrentTimeout();this.queueContainsItems();)this.makeAndSend1Batch();else if(this.queueHasBatches())for(this.clearCurrentTimeout();this.queueHasBatches();)this.makeAndSend1Batch();this.batchSize>1&&this.setNewTimeout()}},e.prototype.clearCurrentTimeout=function(){clearTimeout(this.timeoutId),this.timeoutId=void 0},e.prototype.setNewTimeout=function(){var t=this;this.timeoutId===void 0&&(this.timeoutId=setTimeout(function(){return t.processQueue(!0)},this.flushInterval))},e.prototype.makeAndSend1Batch=function(){var t=this;if(this.odpConfig){var n=this.queue.splice(0,this.batchSize),r=this.odpConfig;n.length>0&&W0(function(){return qt(t,void 0,void 0,function(){var o,i;return Kt(this,function(s){switch(s.label){case 0:i=0,s.label=1;case 1:return[4,this.apiManager.sendEvents(r,n)];case 2:o=s.sent(),i+=1,s.label=3;case 3:if(o&&i0},e.prototype.augmentCommonData=function(t){var n=new Map(this.userAgentData);return n.set("idempotence_id",gc()),n.set("data_source_type","sdk"),n.set("data_source",this.clientEngine),n.set("data_source_version",this.clientVersion),t.forEach(function(r,o){return n.set(o,r)}),n},e.prototype.getLogger=function(){return this.logger},e.prototype.getQueue=function(){return this.queue},e})(),MF=100,FF=(function(e){Ri(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.hasNecessaryIdentifiers=function(r){return r.identifiers.size>=0},n}return t.prototype.initParams=function(n,r,o){this.queueSize=r||MF,this.batchSize=1,this.flushInterval=0,typeof n<"u"&&n!==1&&this.getLogger().log(Re.WARNING,"ODP event batch size must be 1 in the browser."),typeof o<"u"&&o!==0&&this.getLogger().log(Re.WARNING,"ODP event flush interval must be 0 in the browser.")},t.prototype.discardEventsIfNeeded=function(){this.getLogger().log(Re.DEBUG,"ODPConfig not ready. Leaving events in queue.")},t})(PF),UF=(function(){function e(t,n,r,o){this.odpConfig=o,this._segmentsCache=t,this.odpSegmentApiManager=n,this.logger=r||Wt("OdpSegmentManager")}return Object.defineProperty(e.prototype,"segmentsCache",{get:function(){return this._segmentsCache},enumerable:!1,configurable:!0}),e.prototype.fetchQualifiedSegments=function(t,n,r){return qt(this,void 0,void 0,function(){var o,i,s,a,l,u;return Kt(this,function(c){switch(c.label){case 0:if(!this.odpConfig)return this.logger.log(Re.WARNING,be.ODP_CONFIG_NOT_AVAILABLE),[2,null];if(o=this.odpConfig.segmentsToCheck,!o||o.length<=0)return this.logger.log(Re.DEBUG,"No segments are used in the project. Returning an empty list."),[2,[]];if(i=this.makeCacheKey(t,n),s=r.includes(Mu.IGNORE_CACHE),a=r.includes(Mu.RESET_CACHE),a&&this.reset(),!s&&!a){if(l=this._segmentsCache.lookup(i),l)return this.logger.log(Re.DEBUG,'ODP cache hit. Returning segments from cache "%s".',i),[2,l];this.logger.log(Re.DEBUG,"ODP cache miss.")}return this.logger.log(Re.DEBUG,"Making a call to ODP server."),[4,this.odpSegmentApiManager.fetchSegments(this.odpConfig.apiKey,this.odpConfig.apiHost,t,n,o)];case 1:return u=c.sent(),u&&!s&&this._segmentsCache.save({key:i,value:u}),[2,u]}})})},e.prototype.reset=function(){this._segmentsCache.reset()},e.prototype.makeCacheKey=function(t,n){return"".concat(t,"-$-").concat(n)},e.prototype.updateSettings=function(t){this.odpConfig=t,this.reset()},e})(),jF={$schema:"http://json-schema.org/draft-04/schema#",title:"Project Config JSON Schema",type:"object",properties:{projectId:{type:"string",required:!0},accountId:{type:"string",required:!0},groups:{type:"array",items:{type:"object",properties:{id:{type:"string",required:!0},policy:{type:"string",required:!0},trafficAllocation:{type:"array",items:{type:"object",properties:{entityId:{type:"string",required:!0},endOfRange:{type:"integer",required:!0}}},required:!0},experiments:{type:"array",items:{type:"object",properties:{id:{type:"string",required:!0},key:{type:"string",required:!0},status:{type:"string",required:!0},layerId:{type:"string",required:!0},variations:{type:"array",items:{type:"object",properties:{id:{type:"string",required:!0},key:{type:"string",required:!0}}},required:!0},trafficAllocation:{type:"array",items:{type:"object",properties:{entityId:{type:"string",required:!0},endOfRange:{type:"integer",required:!0}}},required:!0},audienceIds:{type:"array",items:{type:"string"},required:!0},forcedVariations:{type:"object",required:!0}}},required:!0}}},required:!0},experiments:{type:"array",items:{type:"object",properties:{id:{type:"string",required:!0},key:{type:"string",required:!0},status:{type:"string",required:!0},layerId:{type:"string",required:!0},variations:{type:"array",items:{type:"object",properties:{id:{type:"string",required:!0},key:{type:"string",required:!0}}},required:!0},trafficAllocation:{type:"array",items:{type:"object",properties:{entityId:{type:"string",required:!0},endOfRange:{type:"integer",required:!0}}},required:!0},audienceIds:{type:"array",items:{type:"string"},required:!0},forcedVariations:{type:"object",required:!0}}},required:!0},events:{type:"array",items:{type:"object",properties:{key:{type:"string",required:!0},experimentIds:{type:"array",items:{type:"string",required:!0}},id:{type:"string",required:!0}}},required:!0},audiences:{type:"array",items:{type:"object",properties:{id:{type:"string",required:!0},name:{type:"string",required:!0},conditions:{type:"string",required:!0}}},required:!0},attributes:{type:"array",items:{type:"object",properties:{id:{type:"string",required:!0},key:{type:"string",required:!0}}},required:!0},version:{type:"string",required:!0},revision:{type:"string",required:!0},integrations:{type:"array",items:{type:"object",properties:{key:{type:"string",required:!0},host:{type:"string"},publicKey:{type:"string"},pixelUrl:{type:"string"}}}}}},VF=jF,$F="JSON_SCHEMA_VALIDATOR";function BF(e,t,n){t===void 0&&(t=VF);var r="".concat($F," (").concat(t.title,")");if(typeof e!="object"||e===null)throw new Error(lt(be.NO_JSON_PROVIDED,r));var o=FP.validate(e,t);return!!o.valid}var HF={$schema:"https://json-schema.org/draft/2019-09/schema",$id:"https://example.com/example.json",title:"ODP Response Schema",type:"object",required:["data"],properties:{data:{title:"The data Schema",type:"object",required:["customer"],properties:{customer:{title:"The customer Schema",type:"object",required:[],properties:{audiences:{title:"The audiences Schema",type:"object",required:["edges"],properties:{edges:{title:"The edges Schema",type:"array",items:{title:"A Schema",type:"object",required:["node"],properties:{node:{title:"The node Schema",type:"object",required:["name","state"],properties:{name:{title:"The name Schema",type:"string",examples:["has_email","has_email_opted_in"]},state:{title:"The state Schema",type:"string",examples:["qualified"]}},examples:[]}},examples:[]},examples:[]}},examples:[]}},examples:[]}},examples:[]},errors:{title:"The errors Schema",type:"array",default:[],items:{title:"A Schema",type:"object",required:["message","locations","extensions"],properties:{message:{title:"The message Schema",type:"string",examples:["Exception while fetching data (/customer) : java.lang.RuntimeException: could not resolve _fs_user_id = asdsdaddddd"]},locations:{title:"The locations Schema",type:"array",items:{title:"A Schema",type:"object",required:["line","column"],properties:{line:{title:"The line Schema",type:"integer",examples:[2]},column:{title:"The column Schema",type:"integer",examples:[3]}},examples:[]},examples:[]},path:{title:"The path Schema",type:"array",items:{title:"A Schema",type:"string",examples:["customer"]},examples:[]},extensions:{title:"The extensions Schema",type:"object",required:["classification"],properties:{classification:{title:"The classification Schema",type:"string",examples:["InvalidIdentifierException"]}},examples:[]}},examples:[]},examples:[]}},examples:[]},zF="qualified",GF=[],Iy=null,Mi="Audience segments fetch failed",qF=(function(){function e(t,n){this.toGraphQLJson=function(r,o,i){return ms(ms(['{"query" : "query {customer',"(".concat(r,' : \\"').concat(o,'\\") '),"{audiences","(subset: ["],i?.map(function(s,a){return'\\"'.concat(s,'\\"').concat(a0?(h=p.errors[0].extensions,g=h.code,m=h.classification,g=="INVALID_IDENTIFIER_EXCEPTION"?this.logger.log(Re.ERROR,"".concat(Mi," (invalid identifier)")):this.logger.log(Re.ERROR,"".concat(Mi," (").concat(m,")")),[2,null]):(y=(u=(l=(a=p?.data)===null||a===void 0?void 0:a.customer)===null||l===void 0?void 0:l.audiences)===null||u===void 0?void 0:u.edges,y?[2,y.filter(function(v){return v.node.state==zF}).map(function(v){return v.node.name})]:(this.logger.log(Re.ERROR,"".concat(Mi," (decode error)")),[2,null])):(this.logger.log(Re.ERROR,"".concat(Mi," (decode error)")),[2,null])):(this.logger.log(Re.ERROR,"".concat(Mi," (network error)")),[2,null])}})})},e.prototype.querySegments=function(t,n,r,o,i){return qt(this,void 0,void 0,function(){var s,a,l,u,c;return Kt(this,function(f){switch(f.label){case 0:s="POST",a=n,l={"Content-Type":"application/json","x-api-key":t},f.label=1;case 1:return f.trys.push([1,3,,4]),c=this.requestHandler.makeRequest(a,l,s,i),[4,c.responsePromise];case 2:return u=f.sent(),[3,4];case 3:return f.sent(),[2,null];case 4:return[2,u.body]}})})},e.prototype.parseSegmentsResponseJson=function(t){var n={};try{n=JSON.parse(t)}catch{return Iy}return BF(n,HF)?n:Iy},e})(),KF=(function(e){Ri(t,e);function t(n){return e.call(this,n)||this}return t.createInstance=function(n){var r=n.logger,o=n.odpOptions,i=n.odpIntegrationConfig,s=n.clientEngine,a=n.clientVersion;r=r||Wt(),s=s||Xp,a=a||Jp;var l=void 0;i?.integrated&&(l=i.odpConfig);var u;o?.segmentsRequestHandler?u=o.segmentsRequestHandler:u=new Ty(r,o?.segmentsApiTimeout||A0);var c;o?.segmentManager?c=o.segmentManager:c=new UF(o?.segmentsCache||new RF({maxSize:o?.segmentsCacheSize,timeout:o?.segmentsCacheTimeout}),new qF(u,r),r,l);var f;o?.eventRequestHandler?f=o.eventRequestHandler:f=new Ty(r,o?.eventApiTimeout||I0);var d;return o?.eventManager?d=o.eventManager:d=new FF({odpConfig:l,apiManager:new DF(f,r),logger:r,clientEngine:s,clientVersion:a,flushInterval:o?.eventFlushInterval,batchSize:o?.eventBatchSize,queueSize:o?.eventQueueSize,userAgentParser:o?.userAgentParser}),new t({odpIntegrationConfig:i,segmentManager:c,eventManager:d,logger:r})},t.prototype.initializeVuid=function(){return qt(this,void 0,void 0,function(){var n;return Kt(this,function(r){switch(r.label){case 0:return[4,oa.instance(t.cache)];case 1:return n=r.sent(),this.vuid=n.vuid,[2]}})})},t.prototype.identifyUser=function(n,r){if(n&&oa.isVuid(n)){e.prototype.identifyUser.call(this,void 0,n);return}if(n&&r&&oa.isVuid(r)){e.prototype.identifyUser.call(this,n,r);return}e.prototype.identifyUser.call(this,n,r||this.vuid)},t.prototype.sendEvent=function(n){var r=n.type,o=n.action,i=n.identifiers,s=n.data,a=new Map(i);if(!i.has(ur.VUID))if(this.vuid)a.set(ur.VUID,this.vuid);else throw new Error(be.ODP_SEND_EVENT_FAILED_VUID_MISSING);e.prototype.sendEvent.call(this,{type:r,action:o,identifiers:a,data:s})},t.prototype.isVuidEnabled=function(){return!0},t.prototype.getVuid=function(){return this.vuid},t.cache=new AF,t})(xF);function Ry(e,t,n){return{variationKey:null,enabled:!1,variables:{},ruleKey:null,flagKey:e,userContext:t,reasons:n}}var Oy=(function(){function e(t){var n=t.optimizely,r=t.userId,o=t.attributes,i=t.shouldIdentifyUser,s=i===void 0?!0:i,a=this,l;this._qualifiedSegments=null,this.optimizely=n,this.userId=r,this.attributes=(l=Zn({},o))!==null&&l!==void 0?l:{},this.forcedDecisionsMap={},s&&n.readyPromise.then(function(u){var c=u.success;c&&n.isOdpIntegrated()&&a.identifyUser()})}return e.prototype.identifyUser=function(){this.optimizely.identifyUser(this.userId)},e.prototype.setAttribute=function(t,n){this.attributes[t]=n},e.prototype.getUserId=function(){return this.userId},e.prototype.getAttributes=function(){return Zn({},this.attributes)},e.prototype.getOptimizely=function(){return this.optimizely},Object.defineProperty(e.prototype,"qualifiedSegments",{get:function(){return this._qualifiedSegments},set:function(t){this._qualifiedSegments=t},enumerable:!1,configurable:!0}),e.prototype.decide=function(t,n){return n===void 0&&(n=[]),this.optimizely.decide(this.cloneUserContext(),t,n)},e.prototype.decideForKeys=function(t,n){return n===void 0&&(n=[]),this.optimizely.decideForKeys(this.cloneUserContext(),t,n)},e.prototype.decideAll=function(t){return t===void 0&&(t=[]),this.optimizely.decideAll(this.cloneUserContext(),t)},e.prototype.trackEvent=function(t,n){this.optimizely.track(t,this.userId,this.attributes,n)},e.prototype.setForcedDecision=function(t,n){var r,o=t.flagKey,i=(r=t.ruleKey)!==null&&r!==void 0?r:jr.FORCED_DECISION_NULL_RULE_KEY,s=n.variationKey,a={variationKey:s};return this.forcedDecisionsMap[o]||(this.forcedDecisionsMap[o]={}),this.forcedDecisionsMap[o][i]=a,!0},e.prototype.getForcedDecision=function(t){return this.findForcedDecision(t)},e.prototype.removeForcedDecision=function(t){var n,r=(n=t.ruleKey)!==null&&n!==void 0?n:jr.FORCED_DECISION_NULL_RULE_KEY,o=t.flagKey,i=!1;if(this.forcedDecisionsMap.hasOwnProperty(o)){var s=this.forcedDecisionsMap[o];s.hasOwnProperty(r)&&(delete this.forcedDecisionsMap[o][r],i=!0),Object.keys(this.forcedDecisionsMap[o]).length===0&&delete this.forcedDecisionsMap[o]}return i},e.prototype.removeAllForcedDecisions=function(){return this.forcedDecisionsMap={},!0},e.prototype.findForcedDecision=function(t){var n,r,o=(n=t.ruleKey)!==null&&n!==void 0?n:jr.FORCED_DECISION_NULL_RULE_KEY,i=t.flagKey;if(this.forcedDecisionsMap.hasOwnProperty(t.flagKey)){var s=this.forcedDecisionsMap[i];if(s.hasOwnProperty(o))return r=s[o].variationKey,{variationKey:r}}return null},e.prototype.cloneUserContext=function(){var t=new e({shouldIdentifyUser:!1,optimizely:this.getOptimizely(),userId:this.getUserId(),attributes:this.getAttributes()});return Object.keys(this.forcedDecisionsMap).length>0&&(t.forcedDecisionsMap=Zn({},this.forcedDecisionsMap)),t._qualifiedSegments=this._qualifiedSegments,t},e.prototype.fetchQualifiedSegments=function(t){return qt(this,void 0,void 0,function(){var n;return Kt(this,function(r){switch(r.label){case 0:return[4,this.optimizely.fetchQualifiedSegments(this.userId,t)];case 1:return n=r.sent(),this.qualifiedSegments=n,[2,n!==null]}})})},e.prototype.isQualifiedFor=function(t){return this._qualifiedSegments?this._qualifiedSegments.indexOf(t)>-1:!1},e})(),Y0="and",X0="or",J0="not",Q0=[Y0,X0,J0];function wa(e,t){if(Array.isArray(e)){var n=e[0],r=e.slice(1);switch(typeof n=="string"&&Q0.indexOf(n)===-1&&(n=X0,r=e),n){case Y0:return WF(r,t);case J0:return YF(r,t);default:return XF(r,t)}}var o=e;return t(o)}function WF(e,t){var n=!1;if(Array.isArray(e)){for(var r=0;r0){var n=wa(e[0],t);return n===null?null:!n}return null}function XF(e,t){var n=!1;if(Array.isArray(e)){for(var r=0;r-1)o=i.toUpperCase();else{var a=n[i]?n[i].name:i;r||o==="NOT"?(o=o===""?"OR":o,r===""?r="".concat(o,' "').concat(n[i].name,'"'):r=r.concat(" ".concat(o,' "').concat(a,'"'))):r='"'.concat(a,'"')}s!==""&&(r!==""||o==="NOT"?(o=o===""?"OR":o,r===""?r="".concat(o," ").concat(s):r=r.concat(" ".concat(o," ").concat(s))):r=r.concat(s))})}return r},e.getExperimentAudiences=function(t,n){return t.audienceConditions?e.getSerializedAudiences(t.audienceConditions,n.audiencesById):""},e.mergeFeatureVariables=function(t,n,r,o,i){var s=(t[r]||[]).reduce(function(a,l){return a[l.key]={id:l.id,key:l.key,type:l.type,value:l.defaultValue},a},{});return(o||[]).forEach(function(a){var l=n[a.id],u={id:a.id,key:l.key,type:l.type,value:i?a.value:l.defaultValue};s[l.key]=u}),s},e.getVariationsMap=function(t,n,r,o){var i={};return i=t.reduce(function(s,a){var l=e.mergeFeatureVariables(n,r,o,a.variables,a.featureEnabled);return s[a.key]={id:a.id,key:a.key,featureEnabled:a.featureEnabled,variablesMap:l},s},{}),i},e.getVariableIdMap=function(t){var n={};return n=(t.featureFlags||[]).reduce(function(r,o){return o.variables.forEach(function(i){r[i.id]=i}),r},{}),n},e.getDeliveryRules=function(t,n,r,o,i){return o.map(function(s){return{id:s.id,key:s.key,audiences:e.getExperimentAudiences(s,t),variationsMap:e.getVariationsMap(s.variations,n,i,r)}})},e.getRolloutExperimentIds=function(t){var n=[];return(t||[]).forEach(function(r){r.experiments.forEach(function(o){n.push(o.id)})}),n},e.getExperimentsMap=function(t,n,r,o){var i=this.getRolloutExperimentIds(t.rollouts),s={},a={},l=t.experiments||[];return l.forEach(function(u){if(i.indexOf(u.id)===-1){var c=t.experimentFeatureMap[u.id],f="";c&&c.length>0&&(f=c[0]);var d=e.getVariationsMap(u.variations,n,r,f.toString()),p={id:u.id,key:u.key,audiences:e.getExperimentAudiences(u,t),variationsMap:d};s[u.id]=p,a[u.key]&&o&&o.warn("Duplicate experiment keys found in datafile: ".concat(u.key)),a[u.key]=p}}),{experimentsMapById:s,experimentsMapByKey:a}},e.getExperimentsKeyMap=function(t){var n={};for(var r in t){var o=t[r];n[o.key]=o}return n},e.getFeaturesMap=function(t,n,r,o){var i={};return t.featureFlags.forEach(function(s){var a={},l=[];s.experimentIds.forEach(function(d){var p=r[d];p&&(a[p.key]=p),l.push(r[d])});var u=(s.variables||[]).reduce(function(d,p){return d[p.key]={id:p.id,key:p.key,type:p.type,value:p.defaultValue},d},{}),c=[],f=t.rolloutIdMap[s.rolloutId];f&&(c=e.getDeliveryRules(t,n,s.id,f.experiments,o)),i[s.key]={id:s.id,key:s.key,experimentRules:l,deliveryRules:c,experimentsMap:a,variablesMap:u}}),i},e})();function QF(e,t,n){return new JF(e,t,n)}var Fs=Wt(),ZF="PROJECT_CONFIG_MANAGER";function Fi(e,t){return e instanceof Error?e.message:t||"Unknown error"}var eU=(function(){function e(t){this.updateListeners=[],this.configObj=null,this.optimizelyConfigObj=null,this.datafileManager=null;try{if(this.jsonSchemaValidator=t.jsonSchemaValidator,!t.datafile&&!t.sdkKey){var n=new Error(lt(be.DATAFILE_AND_SDK_KEY_MISSING,ZF));this.readyPromise=Promise.resolve({success:!1,reason:Fi(n)}),Fs.error(n);return}var r=null;t.datafile&&(r=this.handleNewDatafile(t.datafile)),t.sdkKey&&t.datafileManager?(this.datafileManager=t.datafileManager,this.datafileManager.start(),this.readyPromise=this.datafileManager.onReady().then(this.onDatafileManagerReadyFulfill.bind(this),this.onDatafileManagerReadyReject.bind(this)),this.datafileManager.on("update",this.onDatafileManagerUpdate.bind(this))):this.configObj?this.readyPromise=Promise.resolve({success:!0}):this.readyPromise=Promise.resolve({success:!1,reason:Fi(r,"Invalid datafile")})}catch(o){Fs.error(o),this.readyPromise=Promise.resolve({success:!1,reason:Fi(o,"Error in initialize")})}}return e.prototype.onDatafileManagerReadyFulfill=function(){if(this.datafileManager){var t=this.handleNewDatafile(this.datafileManager.get());return t?{success:!1,reason:Fi(t)}:{success:!0}}return{success:!1,reason:Fi(null,"Datafile manager is not provided")}},e.prototype.onDatafileManagerReadyReject=function(t){return{success:!1,reason:Fi(t,"Failed to become ready")}},e.prototype.onDatafileManagerUpdate=function(){this.datafileManager&&this.handleNewDatafile(this.datafileManager.get())},e.prototype.handleNewDatafile=function(t){var n=this,r=G0({datafile:t,jsonSchemaValidator:this.jsonSchemaValidator,logger:Fs}),o=r.configObj,i=r.error;if(i)Fs.error(i);else{var s=this.configObj?this.configObj.revision:"null";o&&s!==o.revision&&(this.configObj=o,this.optimizelyConfigObj=null,W0(function(){n.updateListeners.forEach(function(a){return a(o)})}))}return i},e.prototype.getConfig=function(){return this.configObj},e.prototype.getOptimizelyConfig=function(){return!this.optimizelyConfigObj&&this.configObj&&(this.optimizelyConfigObj=QF(this.configObj,z0(this.configObj),Fs)),this.optimizelyConfigObj},e.prototype.onReady=function(){return this.readyPromise},e.prototype.onUpdate=function(t){var n=this;return this.updateListeners.push(t),function(){var r=n.updateListeners.indexOf(t);r>-1&&n.updateListeners.splice(r,1)}},e.prototype.stop=function(){this.datafileManager&&this.datafileManager.stop(),this.updateListeners=[]},e})();function tU(e){return new eU(e)}var nU=1,rU=Math.pow(2,32),oU=1e4,Kn="BUCKETER",iU="random",xy=function(e){var t=[],n=e.experimentIdMap[e.experimentId],r=n.groupId;if(r){var o=e.groupIdMap[r];if(!o)throw new Error(lt(be.INVALID_GROUP_ID,Kn,r));if(o.policy===iU){var i=sU(o,e.bucketingId,e.userId,e.logger);if(i===null)return e.logger.log(K.INFO,W.USER_NOT_IN_ANY_EXPERIMENT,Kn,e.userId,r),t.push([W.USER_NOT_IN_ANY_EXPERIMENT,Kn,e.userId,r]),{result:null,reasons:t};if(i!==e.experimentId)return e.logger.log(K.INFO,W.USER_NOT_BUCKETED_INTO_EXPERIMENT_IN_GROUP,Kn,e.userId,e.experimentKey,r),t.push([W.USER_NOT_BUCKETED_INTO_EXPERIMENT_IN_GROUP,Kn,e.userId,e.experimentKey,r]),{result:null,reasons:t};e.logger.log(K.INFO,W.USER_BUCKETED_INTO_EXPERIMENT_IN_GROUP,Kn,e.userId,e.experimentKey,r),t.push([W.USER_BUCKETED_INTO_EXPERIMENT_IN_GROUP,Kn,e.userId,e.experimentKey,r])}}var s="".concat(e.bucketingId).concat(e.experimentId),a=eE(s);e.logger.log(K.DEBUG,W.USER_ASSIGNED_TO_EXPERIMENT_BUCKET,Kn,a,e.userId),t.push([W.USER_ASSIGNED_TO_EXPERIMENT_BUCKET,Kn,a,e.userId]);var l=Z0(a,e.trafficAllocationConfig);return l!==null&&!e.variationIdMap[l]?(l&&(e.logger.log(K.WARNING,W.INVALID_VARIATION_ID,Kn),t.push([W.INVALID_VARIATION_ID,Kn])),{result:null,reasons:t}):{result:l,reasons:t}},sU=function(e,t,n,r){var o="".concat(t).concat(e.id),i=eE(o);r.log(K.DEBUG,W.USER_ASSIGNED_TO_EXPERIMENT_BUCKET,Kn,i,n);var s=e.trafficAllocation,a=Z0(i,s);return a},Z0=function(e,t){for(var n=0;n2)return Cl.warn(W.UNKNOWN_MATCH_TYPE,xl,e),null;var o=t.split(".");if(o.length!=r+1)return Cl.warn(W.UNKNOWN_MATCH_TYPE,xl,e),null;for(var i=0,s=o;ia)return 1;if(sr[i])return!Ao(e)&&Ao(t)?-1:1}}return Ao(t)&&!Ao(e)?-1:0}var Tn="CUSTOM_ATTRIBUTE_CONDITION_EVALUATOR",wn=Wt(),rE="exact",Zp="exists",oE="ge",iE="gt",sE="le",aE="lt",lE="semver_eq",uE="semver_ge",cE="semver_gt",fE="semver_le",dE="semver_lt",pE="substring",uU=[rE,Zp,iE,oE,aE,sE,pE,lE,dE,fE,cE,uE],tr={};tr[rE]=Md;tr[Zp]=fU;tr[iE]=dU;tr[oE]=pU;tr[aE]=hU;tr[sE]=gU;tr[pE]=mU;tr[lE]=yU;tr[cE]=vU;tr[uE]=bU;tr[dE]=_U;tr[fE]=EU;function cU(e,t){var n=t.getAttributes(),r=e.match;if(typeof r<"u"&&uU.indexOf(r)===-1)return wn.warn(W.UNKNOWN_MATCH_TYPE,Tn,JSON.stringify(e)),null;var o=e.name;if(!n.hasOwnProperty(o)&&r!=Zp)return wn.debug(W.MISSING_ATTRIBUTE_VALUE,Tn,JSON.stringify(e),o),null;var i;return r?i=tr[r]||Md:i=Md,i(e,t)}function Ny(e){return typeof e=="string"||typeof e=="boolean"||Ft.isNumber(e)}function Md(e,t){var n=t.getAttributes(),r=e.value,o=typeof r,i=e.name,s=n[i],a=typeof s;return!Ny(r)||Ft.isNumber(r)&&!Ft.isSafeInteger(r)?(wn.warn(W.UNEXPECTED_CONDITION_VALUE,Tn,JSON.stringify(e)),null):s===null?(wn.debug(W.UNEXPECTED_TYPE_NULL,Tn,JSON.stringify(e),i),null):!Ny(s)||o!==a?(wn.warn(W.UNEXPECTED_TYPE,Tn,JSON.stringify(e),a,i),null):Ft.isNumber(s)&&!Ft.isSafeInteger(s)?(wn.warn(W.OUT_OF_BOUNDS,Tn,JSON.stringify(e),i),null):r===s}function fU(e,t){var n=t.getAttributes(),r=n[e.name];return typeof r<"u"&&r!==null}function mc(e,t){var n=t.getAttributes(),r=e.name,o=n[r],i=typeof o,s=e.value;return s===null||!Ft.isSafeInteger(s)?(wn.warn(W.UNEXPECTED_CONDITION_VALUE,Tn,JSON.stringify(e)),!1):o===null?(wn.debug(W.UNEXPECTED_TYPE_NULL,Tn,JSON.stringify(e),r),!1):Ft.isNumber(o)?Ft.isSafeInteger(o)?!0:(wn.warn(W.OUT_OF_BOUNDS,Tn,JSON.stringify(e),r),!1):(wn.warn(W.UNEXPECTED_TYPE,Tn,JSON.stringify(e),i,r),!1)}function dU(e,t){var n=t.getAttributes(),r=n[e.name],o=e.value;return!mc(e,t)||o===null?null:r>o}function pU(e,t){var n=t.getAttributes(),r=n[e.name],o=e.value;return!mc(e,t)||o===null?null:r>=o}function hU(e,t){var n=t.getAttributes(),r=n[e.name],o=e.value;return!mc(e,t)||o===null?null:r0}function _U(e,t){var n=za(e,t);return n===null?null:n<0}function bU(e,t){var n=za(e,t);return n===null?null:n>=0}function EU(e,t){var n=za(e,t);return n===null?null:n<=0}var TU=Object.freeze({__proto__:null,evaluate:cU}),wU="ODP_SEGMENT_CONDITION_EVALUATOR",SU=Wt(),hE="qualified",AU=[hE],gE={};gE[hE]=Fd;function IU(e,t){var n=e.match;if(typeof n<"u"&&AU.indexOf(n)===-1)return SU.warn(W.UNKNOWN_MATCH_TYPE,wU,JSON.stringify(e)),null;var r;return n?r=gE[n]||Fd:r=Fd,r(e,t)}function Fd(e,t){return t.isQualifiedFor(e.value)}var RU=Object.freeze({__proto__:null,evaluate:IU}),Nl=Wt(),Ll="AUDIENCE_EVALUATOR",OU=(function(){function e(t){this.typeToEvaluatorMap=Ft.assign({},t,{custom_attribute:TU,third_party_dimension:RU})}return e.prototype.evaluate=function(t,n,r){var o=this;if(!t||t.length===0)return!0;var i=function(s){var a=n[s];if(a){Nl.log(K.DEBUG,W.EVALUATING_AUDIENCE,Ll,s,JSON.stringify(a.conditions));var l=wa(a.conditions,o.evaluateConditionWithUserAttributes.bind(o,r)),u=l===null?"UNKNOWN":l.toString().toUpperCase();return Nl.log(K.DEBUG,W.AUDIENCE_EVALUATION_RESULT,Ll,s,u),l}return null};return!!wa(t,i)},e.prototype.evaluateConditionWithUserAttributes=function(t,n){var r=this.typeToEvaluatorMap[n.type];if(!r)return Nl.log(K.WARNING,W.UNKNOWN_CONDITION_TYPE,Ll,JSON.stringify(n)),null;try{return r.evaluate(n,t)}catch(o){Nl.log(K.ERROR,be.CONDITION_EVALUATOR_ERROR,Ll,n.type,o.message)}return null},e})(),xU=function(e){return new OU(e)};function mE(e){return typeof e=="string"&&e!==""}var Le="DECISION_SERVICE",CU=(function(){function e(t){this.audienceEvaluator=xU(t.UNSTABLE_conditionEvaluators),this.forcedVariationMap={},this.logger=t.logger,this.userProfileService=t.userProfileService||null}return e.prototype.getVariation=function(t,n,r,o){o===void 0&&(o={});var i=r.getUserId(),s=r.getAttributes(),a=this.getBucketingId(i,s),l=[],u=n.key;if(!this.checkIfExperimentIsActive(t,u))return this.logger.log(K.INFO,W.EXPERIMENT_NOT_RUNNING,Le,u),l.push([W.EXPERIMENT_NOT_RUNNING,Le,u]),{result:null,reasons:l};var c=this.getForcedVariation(t,u,i);l.push.apply(l,c.reasons);var f=c.result;if(f)return{result:f,reasons:l};var d=this.getWhitelistedVariation(n,i);l.push.apply(l,d.reasons);var p=d.result;if(p)return{result:p.key,reasons:l};var h=o[Pr.IGNORE_USER_PROFILE_SERVICE],g=this.resolveExperimentBucketMap(i,s);if(!h&&(p=this.getStoredVariation(t,n,i,g),p))return this.logger.log(K.INFO,W.RETURNING_STORED_VARIATION,Le,p.key,u,i),l.push([W.RETURNING_STORED_VARIATION,Le,p.key,u,i]),{result:p.key,reasons:l};var m=this.checkIfUserIsInAudience(t,n,Nd.EXPERIMENT,r,"");if(l.push.apply(l,m.reasons),!m.result)return this.logger.log(K.INFO,W.USER_NOT_IN_EXPERIMENT,Le,i,u),l.push([W.USER_NOT_IN_EXPERIMENT,Le,i,u]),{result:null,reasons:l};var y=this.buildBucketerParams(t,n,a,i),b=xy(y);l.push.apply(l,b.reasons);var v=b.result;return v&&(p=t.variationIdMap[v]),p?(this.logger.log(K.INFO,W.USER_HAS_VARIATION,Le,i,p.key,u),l.push([W.USER_HAS_VARIATION,Le,i,p.key,u]),h||this.saveUserProfile(n,p,i,g),{result:p.key,reasons:l}):(this.logger.log(K.DEBUG,W.USER_HAS_NO_VARIATION,Le,i,u),l.push([W.USER_HAS_NO_VARIATION,Le,i,u]),{result:null,reasons:l})},e.prototype.resolveExperimentBucketMap=function(t,n){n=n||{};var r=this.getUserProfile(t)||{},o=n[jr.STICKY_BUCKETING_KEY];return Ft.assign({},r.experiment_bucket_map,o)},e.prototype.checkIfExperimentIsActive=function(t,n){return fF(t,n)},e.prototype.getWhitelistedVariation=function(t,n){var r=[];if(t.forcedVariations&&t.forcedVariations.hasOwnProperty(n)){var o=t.forcedVariations[n];return t.variationKeyMap.hasOwnProperty(o)?(this.logger.log(K.INFO,W.USER_FORCED_IN_VARIATION,Le,n,o),r.push([W.USER_FORCED_IN_VARIATION,Le,n,o]),{result:t.variationKeyMap[o],reasons:r}):(this.logger.log(K.ERROR,W.FORCED_BUCKETING_FAILED,Le,o,n),r.push([W.FORCED_BUCKETING_FAILED,Le,o,n]),{result:null,reasons:r})}return{result:null,reasons:r}},e.prototype.checkIfUserIsInAudience=function(t,n,r,o,i){var s=[],a=pF(t,n.id),l=EF(t);this.logger.log(K.DEBUG,W.EVALUATING_AUDIENCES_COMBINED,Le,r,i||n.key,JSON.stringify(a)),s.push([W.EVALUATING_AUDIENCES_COMBINED,Le,r,i||n.key,JSON.stringify(a)]);var u=this.audienceEvaluator.evaluate(a,l,o);return this.logger.log(K.INFO,W.AUDIENCE_EVALUATION_RESULT_COMBINED,Le,r,i||n.key,u.toString().toUpperCase()),s.push([W.AUDIENCE_EVALUATION_RESULT_COMBINED,Le,r,i||n.key,u.toString().toUpperCase()]),{result:u,reasons:s}},e.prototype.buildBucketerParams=function(t,n,r,o){return{bucketingId:r,experimentId:n.id,experimentKey:n.key,experimentIdMap:t.experimentIdMap,experimentKeyMap:t.experimentKeyMap,groupIdMap:t.groupIdMap,logger:this.logger,trafficAllocationConfig:mF(t,n.id),userId:o,variationIdMap:t.variationIdMap}},e.prototype.getStoredVariation=function(t,n,r,o){if(o.hasOwnProperty(n.id)){var i=o[n.id],s=i.variation_id;if(t.variationIdMap.hasOwnProperty(s))return t.variationIdMap[i.variation_id];this.logger.log(K.INFO,W.SAVED_VARIATION_NOT_FOUND,Le,r,s,n.key)}return null},e.prototype.getUserProfile=function(t){var n={user_id:t,experiment_bucket_map:{}};if(!this.userProfileService)return n;try{return this.userProfileService.lookup(t)}catch(r){this.logger.log(K.ERROR,be.USER_PROFILE_LOOKUP_ERROR,Le,t,r.message)}return null},e.prototype.saveUserProfile=function(t,n,r,o){if(this.userProfileService)try{o[t.id]={variation_id:n.id},this.userProfileService.save({user_id:r,experiment_bucket_map:o}),this.logger.log(K.INFO,W.SAVED_VARIATION,Le,n.key,t.key,r)}catch(i){this.logger.log(K.ERROR,be.USER_PROFILE_SAVE_ERROR,Le,r,i.message)}},e.prototype.getVariationForFeature=function(t,n,r,o){o===void 0&&(o={});var i=[],s=this.getVariationForFeatureExperiment(t,n,r,o);i.push.apply(i,s.reasons);var a=s.result;if(a.variation!==null)return{result:a,reasons:i};var l=this.getVariationForRollout(t,n,r);i.push.apply(i,l.reasons);var u=l.result,c=r.getUserId();return u.variation?(this.logger.log(K.DEBUG,W.USER_IN_ROLLOUT,Le,c,n.key),i.push([W.USER_IN_ROLLOUT,Le,c,n.key]),{result:u,reasons:i}):(this.logger.log(K.DEBUG,W.USER_NOT_IN_ROLLOUT,Le,c,n.key),i.push([W.USER_NOT_IN_ROLLOUT,Le,c,n.key]),{result:u,reasons:i})},e.prototype.getVariationForFeatureExperiment=function(t,n,r,o){o===void 0&&(o={});var i=[],s=null,a,l,u;if(n.experimentIds.length>0)for(l=0;l"u")throw new Error(lt(be.UNDEFINED_ATTRIBUTE,Ly,t))}),!0;throw new Error(lt(be.INVALID_ATTRIBUTES,Ly))}function _E(e,t){return typeof e=="string"&&(typeof t=="string"||typeof t=="boolean"||Ft.isNumber(t)&&Ft.isSafeInteger(t))}var PU="campaign_activated",Dy="custom",bE="https://logx.optimizely.com/v1/events",EE="POST";function TE(e){var t=e.attributes,n=e.userId,r=e.clientEngine,o=e.clientVersion,i=e.configObj,s=e.logger,a=i.anonymizeIP?i.anonymizeIP:!1,l=i.botFiltering,u={snapshots:[],visitor_id:n,attributes:[]},c={account_id:i.accountId,project_id:i.projectId,visitors:[u],revision:i.revision,client_name:r,client_version:o,anonymize_ip:a,enrich_decisions:!0};return t&&Object.keys(t||{}).forEach(function(f){var d=t[f];if(_E(f,d)){var p=V0(i,f,s);p&&c.visitors[0].attributes.push({entity_id:p,key:f,type:Dy,value:d})}}),typeof l=="boolean"&&c.visitors[0].attributes.push({entity_id:jr.BOT_FILTERING,key:jr.BOT_FILTERING,type:Dy,value:l}),c}function MU(e,t,n,r,o,i,s){var a=t?j0(e,t):null,l=n?H0(e,n):null;l=l||"";var u={decisions:[{campaign_id:a,experiment_id:t,variation_id:n,metadata:{flag_key:i,rule_key:r,rule_type:o,variation_key:l,enabled:s}}],events:[{entity_id:a,timestamp:Ft.currentTimestamp(),key:PU,uuid:Ft.uuid()}]};return u}function FU(e,t,n,r){var o={events:[]},i={entity_id:$0(e,t),timestamp:Ft.currentTimestamp(),uuid:Ft.uuid(),key:t};if(r){var s=yE(r,n);s!==null&&(i.revenue=s);var a=vE(r,n);a!==null&&(i.value=a),i.tags=r}return o.events.push(i),o}function UU(e){var t=TE(e),n=MU(e.configObj,e.experimentId,e.variationId,e.ruleKey,e.ruleType,e.flagKey,e.enabled);t.visitors[0].snapshots.push(n);var r={httpVerb:EE,url:bE,params:t};return r}function jU(e){var t=TE(e),n=FU(e.configObj,e.eventKey,e.logger,e.eventTags);t.visitors[0].snapshots=[n];var r={httpVerb:EE,url:bE,params:t};return r}function Ud(e){var t,n;return(n=(t=e.experiment)===null||t===void 0?void 0:t.key)!==null&&n!==void 0?n:""}function jd(e){var t,n;return(n=(t=e.variation)===null||t===void 0?void 0:t.key)!==null&&n!==void 0?n:""}function Dl(e){var t,n;return(n=(t=e.variation)===null||t===void 0?void 0:t.featureEnabled)!==null&&n!==void 0?n:!1}function wE(e){var t,n;return(n=(t=e.experiment)===null||t===void 0?void 0:t.id)!==null&&n!==void 0?n:null}function SE(e){var t,n;return(n=(t=e.variation)===null||t===void 0?void 0:t.id)!==null&&n!==void 0?n:null}var Vd=Wt("EVENT_BUILDER"),VU=function(e){var t=e.configObj,n=e.decisionObj,r=e.userId,o=e.flagKey,i=e.enabled,s=e.userAttributes,a=e.clientEngine,l=e.clientVersion,u=n.decisionSource,c=Ud(n),f=wE(n),d=jd(n),p=SE(n),h=f!==null?j0(t,f):null;return{type:"impression",timestamp:Ft.currentTimestamp(),uuid:Ft.uuid(),user:{id:r,attributes:AE(t,s)},context:{accountId:t.accountId,projectId:t.projectId,revision:t.revision,clientName:a,clientVersion:l,anonymizeIP:t.anonymizeIP||!1,botFiltering:t.botFiltering},layer:{id:h},experiment:{id:f,key:c},variation:{id:p,key:d},ruleKey:c,flagKey:o,ruleType:u,enabled:i}},$U=function(e){var t=e.configObj,n=e.userId,r=e.userAttributes,o=e.clientEngine,i=e.clientVersion,s=e.eventKey,a=e.eventTags,l=$0(t,s),u=a?yE(a,Vd):null,c=a?vE(a,Vd):null;return{type:"conversion",timestamp:Ft.currentTimestamp(),uuid:Ft.uuid(),user:{id:n,attributes:AE(t,r)},context:{accountId:t.accountId,projectId:t.projectId,revision:t.revision,clientName:o,clientVersion:i,anonymizeIP:t.anonymizeIP||!1,botFiltering:t.botFiltering},event:{id:l,key:s},revenue:u,value:c,tags:a}};function AE(e,t){var n=[];return t&&Object.keys(t||{}).forEach(function(r){var o=t[r];if(_E(r,o)){var i=V0(e,r,Vd);i&&n.push({entityId:i,key:r,value:o})}}),n}var BU="EVENT_TAGS_VALIDATOR";function HU(e){if(typeof e=="object"&&!Array.isArray(e)&&e!==null)return!0;throw new Error(lt(be.INVALID_EVENT_TAGS,BU))}var gf="USER_PROFILE_SERVICE_VALIDATOR";function zU(e){if(typeof e=="object"&&e!==null){if(typeof e.lookup!="function")throw new Error(lt(be.INVALID_USER_PROFILE_SERVICE,gf,"Missing function 'lookup'"));if(typeof e.save!="function")throw new Error(lt(be.INVALID_USER_PROFILE_SERVICE,gf,"Missing function 'save'"));return!0}throw new Error(lt(be.INVALID_USER_PROFILE_SERVICE,gf))}var Je="OPTIMIZELY",GU=3e4,qU=(function(){function e(t){var n=this,r,o=t.clientEngine;o||(t.logger.log(K.INFO,W.INVALID_CLIENT_ENGINE,Je,o),o=w0),this.clientEngine=o,this.clientVersion=t.clientVersion||Jp,this.errorHandler=t.errorHandler,this.isOptimizelyConfigValid=t.isValidInstance,this.logger=t.logger,this.odpManager=t.odpManager;var i=(r=t.defaultDecideOptions)!==null&&r!==void 0?r:[];Array.isArray(i)||(this.logger.log(K.DEBUG,W.INVALID_DEFAULT_DECIDE_OPTIONS,Je),i=[]);var s={};i.forEach(function(c){Pr[c]?s[c]=!0:n.logger.log(K.WARNING,W.UNRECOGNIZED_DECIDE_OPTION,Je,c)}),this.defaultDecideOptions=s,this.projectConfigManager=tU({datafile:t.datafile,jsonSchemaValidator:t.jsonSchemaValidator,sdkKey:t.sdkKey,datafileManager:t.datafileManager}),this.disposeOnUpdate=this.projectConfigManager.onUpdate(function(c){n.logger.log(K.INFO,W.UPDATED_OPTIMIZELY_CONFIG,Je,c.revision,c.projectId),n.notificationCenter.sendNotifications(vn.OPTIMIZELY_CONFIG_UPDATE),n.updateOdpSettings()});var a=this.projectConfigManager.onReady(),l=null;if(t.userProfileService)try{zU(t.userProfileService)&&(l=t.userProfileService,this.logger.log(K.INFO,W.VALID_USER_PROFILE_SERVICE,Je))}catch(c){this.logger.log(K.WARNING,c.message)}this.decisionService=NU({userProfileService:l,logger:this.logger,UNSTABLE_conditionEvaluators:t.UNSTABLE_conditionEvaluators}),this.notificationCenter=t.notificationCenter,this.eventProcessor=t.eventProcessor;var u=this.eventProcessor.start();this.readyPromise=Promise.all([a,u,t.odpManager?t.odpManager.onReady():Promise.resolve()]).then(function(c){return c[0]}),this.readyTimeouts={},this.nextReadyTimeoutId=0}return e.prototype.getProjectConfig=function(){return this.projectConfigManager.getConfig()},e.prototype.isValidInstance=function(){return this.isOptimizelyConfigValid&&!!this.projectConfigManager.getConfig()},e.prototype.activate=function(t,n,r){try{if(!this.isValidInstance())return this.logger.log(K.ERROR,W.INVALID_OBJECT,Je,"activate"),null;if(!this.validateInputs({experiment_key:t,user_id:n},r))return this.notActivatingExperiment(t,n);var o=this.projectConfigManager.getConfig();if(!o)return null;try{var i=this.getVariation(t,n,r);if(i===null)return this.notActivatingExperiment(t,n);if(!dF(o,t))return this.logger.log(K.DEBUG,W.SHOULD_NOT_DISPATCH_ACTIVATE,Je,t),i;var s=Pd(o,t),a=s.variationKeyMap[i],l={experiment:s,variation:a,decisionSource:ln.EXPERIMENT};return this.sendImpressionEvent(l,"",n,!0,r),i}catch(u){return this.logger.log(K.ERROR,u.message),this.logger.log(K.INFO,W.NOT_ACTIVATING_USER,Je,n,t),this.errorHandler.handleError(u),null}}catch(u){return this.logger.log(K.ERROR,u.message),this.errorHandler.handleError(u),null}},e.prototype.sendImpressionEvent=function(t,n,r,o,i){var s=this.projectConfigManager.getConfig();if(s){var a=VU({decisionObj:t,flagKey:n,enabled:o,userId:r,userAttributes:i,clientEngine:this.clientEngine,clientVersion:this.clientVersion,configObj:s});this.eventProcessor.process(a),this.emitNotificationCenterActivate(t,n,r,o,i)}},e.prototype.emitNotificationCenterActivate=function(t,n,r,o,i){var s=this.projectConfigManager.getConfig();if(s){var a=t.decisionSource,l=Ud(t),u=wE(t),c=jd(t),f=SE(t),d;u!==null&&c!==""&&(d=s.experimentIdMap[u]);var p={attributes:i,clientEngine:this.clientEngine,clientVersion:this.clientVersion,configObj:s,experimentId:u,ruleKey:l,flagKey:n,ruleType:a,userId:r,enabled:o,variationId:f,logger:this.logger},h=UU(p),g;d&&d.variationKeyMap&&c!==""&&(g=d.variationKeyMap[c]),this.notificationCenter.sendNotifications(vn.ACTIVATE,{experiment:d,userId:r,attributes:i,variation:g,logEvent:h})}},e.prototype.track=function(t,n,r,o){try{if(!this.isValidInstance()){this.logger.log(K.ERROR,W.INVALID_OBJECT,Je,"track");return}if(!this.validateInputs({user_id:n,event_key:t},r,o))return;var i=this.projectConfigManager.getConfig();if(!i)return;if(!TF(i,t)){this.logger.log(K.WARNING,W.EVENT_KEY_NOT_FOUND,Je,t),this.logger.log(K.WARNING,W.NOT_TRACKING_USER,Je,n);return}o=this.filterEmptyValues(o);var s=$U({eventKey:t,eventTags:o,userId:n,userAttributes:r,clientEngine:this.clientEngine,clientVersion:this.clientVersion,configObj:i});this.logger.log(K.INFO,W.TRACK_EVENT,Je,t,n),this.eventProcessor.process(s),this.emitNotificationCenterTrack(t,n,r,o)}catch(a){this.logger.log(K.ERROR,a.message),this.errorHandler.handleError(a),this.logger.log(K.ERROR,W.NOT_TRACKING_USER,Je,n)}},e.prototype.emitNotificationCenterTrack=function(t,n,r,o){try{var i=this.projectConfigManager.getConfig();if(!i)return;var s={attributes:r,clientEngine:this.clientEngine,clientVersion:this.clientVersion,configObj:i,eventKey:t,eventTags:o,logger:this.logger,userId:n},a=jU(s);this.notificationCenter.sendNotifications(vn.TRACK,{eventKey:t,userId:n,attributes:r,eventTags:o,logEvent:a})}catch(l){this.logger.log(K.ERROR,l.message),this.errorHandler.handleError(l)}},e.prototype.getVariation=function(t,n,r){try{if(!this.isValidInstance())return this.logger.log(K.ERROR,W.INVALID_OBJECT,Je,"getVariation"),null;try{if(!this.validateInputs({experiment_key:t,user_id:n},r))return null;var o=this.projectConfigManager.getConfig();if(!o)return null;var i=o.experimentKeyMap[t];if(!i||i.isRollout)return this.logger.log(K.DEBUG,be.INVALID_EXPERIMENT_KEY,Je,t),null;var s=this.decisionService.getVariation(o,i,this.createInternalUserContext(n,r)).result,a=wF(o,i.id)?ii.FEATURE_TEST:ii.AB_TEST;return this.notificationCenter.sendNotifications(vn.DECISION,{type:a,userId:n,attributes:r||{},decisionInfo:{experimentKey:t,variationKey:s}}),s}catch(l){return this.logger.log(K.ERROR,l.message),this.errorHandler.handleError(l),null}}catch(l){return this.logger.log(K.ERROR,l.message),this.errorHandler.handleError(l),null}},e.prototype.setForcedVariation=function(t,n,r){if(!this.validateInputs({experiment_key:t,user_id:n}))return!1;var o=this.projectConfigManager.getConfig();if(!o)return!1;try{return this.decisionService.setForcedVariation(o,t,n,r)}catch(i){return this.logger.log(K.ERROR,i.message),this.errorHandler.handleError(i),!1}},e.prototype.getForcedVariation=function(t,n){if(!this.validateInputs({experiment_key:t,user_id:n}))return null;var r=this.projectConfigManager.getConfig();if(!r)return null;try{return this.decisionService.getForcedVariation(r,t,n).result}catch(o){return this.logger.log(K.ERROR,o.message),this.errorHandler.handleError(o),null}},e.prototype.validateInputs=function(t,n,r){try{if(t.hasOwnProperty("user_id")){var o=t.user_id;if(typeof o!="string"||o===null||o==="undefined")throw new Error(lt(be.INVALID_INPUT_FORMAT,Je,"user_id"));delete t.user_id}return Object.keys(t).forEach(function(i){if(!mE(t[i]))throw new Error(lt(be.INVALID_INPUT_FORMAT,Je,i))}),n&&kU(n),r&&HU(r),!0}catch(i){return this.logger.log(K.ERROR,i.message),this.errorHandler.handleError(i),!1}},e.prototype.notActivatingExperiment=function(t,n){return this.logger.log(K.INFO,W.NOT_ACTIVATING_USER,Je,n,t),null},e.prototype.filterEmptyValues=function(t){for(var n in t)t.hasOwnProperty(n)&&(t[n]===null||t[n]===void 0)&&delete t[n];return t},e.prototype.isFeatureEnabled=function(t,n,r){try{if(!this.isValidInstance())return this.logger.log(K.ERROR,W.INVALID_OBJECT,Je,"isFeatureEnabled"),!1;if(!this.validateInputs({feature_key:t,user_id:n},r))return!1;var o=this.projectConfigManager.getConfig();if(!o)return!1;var i=pf(o,t,this.logger);if(!i)return!1;var s={},a=this.createInternalUserContext(n,r),l=this.decisionService.getVariationForFeature(o,i,a).result,u=l.decisionSource,c=Ud(l),f=jd(l),d=Dl(l);u===ln.FEATURE_TEST&&(s={experimentKey:c,variationKey:f}),(u===ln.FEATURE_TEST||u===ln.ROLLOUT&&Ey(o))&&this.sendImpressionEvent(l,i.key,n,d,r),d===!0?this.logger.log(K.INFO,W.FEATURE_ENABLED_FOR_USER,Je,t,n):(this.logger.log(K.INFO,W.FEATURE_NOT_ENABLED_FOR_USER,Je,t,n),d=!1);var p={featureKey:t,featureEnabled:d,source:l.decisionSource,sourceInfo:s};return this.notificationCenter.sendNotifications(vn.DECISION,{type:ii.FEATURE,userId:n,attributes:r||{},decisionInfo:p}),d}catch(h){return this.logger.log(K.ERROR,h.message),this.errorHandler.handleError(h),!1}},e.prototype.getEnabledFeatures=function(t,n){var r=this;try{var o=[];if(!this.isValidInstance())return this.logger.log(K.ERROR,W.INVALID_OBJECT,Je,"getEnabledFeatures"),o;if(!this.validateInputs({user_id:t}))return o;var i=this.projectConfigManager.getConfig();return i&&Br(i.featureKeyMap).forEach(function(s){r.isFeatureEnabled(s.key,t,n)&&o.push(s.key)}),o}catch(s){return this.logger.log(K.ERROR,s.message),this.errorHandler.handleError(s),[]}},e.prototype.getFeatureVariable=function(t,n,r,o){try{return this.isValidInstance()?this.getFeatureVariableForType(t,n,null,r,o):(this.logger.log(K.ERROR,W.INVALID_OBJECT,Je,"getFeatureVariable"),null)}catch(i){return this.logger.log(K.ERROR,i.message),this.errorHandler.handleError(i),null}},e.prototype.getFeatureVariableForType=function(t,n,r,o,i){if(!this.validateInputs({feature_key:t,variable_key:n,user_id:o},i))return null;var s=this.projectConfigManager.getConfig();if(!s)return null;var a=pf(s,t,this.logger);if(!a)return null;var l=vF(s,t,n,this.logger);if(!l)return null;if(r&&l.type!==r)return this.logger.log(K.WARNING,W.VARIABLE_REQUESTED_WITH_WRONG_TYPE,Je,r,l.type),null;var u=this.createInternalUserContext(o,i),c=this.decisionService.getVariationForFeature(s,a,u).result,f=Dl(c),d=this.getFeatureVariableValueFromVariation(t,f,c.variation,l,o),p={};return c.decisionSource===ln.FEATURE_TEST&&c.experiment!==null&&c.variation!==null&&(p={experimentKey:c.experiment.key,variationKey:c.variation.key}),this.notificationCenter.sendNotifications(vn.DECISION,{type:ii.FEATURE_VARIABLE,userId:o,attributes:i||{},decisionInfo:{featureKey:t,featureEnabled:f,source:c.decisionSource,variableKey:n,variableValue:d,variableType:l.type,sourceInfo:p}}),d},e.prototype.getFeatureVariableValueFromVariation=function(t,n,r,o,i){var s=this.projectConfigManager.getConfig();if(!s)return null;var a=o.defaultValue;if(r!==null){var l=_F(s,o,r,this.logger);l!==null?n?(a=l,this.logger.log(K.INFO,W.USER_RECEIVED_VARIABLE_VALUE,Je,a,o.key,t)):this.logger.log(K.INFO,W.FEATURE_NOT_ENABLED_RETURN_DEFAULT_VARIABLE_VALUE,Je,t,i,a):this.logger.log(K.INFO,W.VARIABLE_NOT_USED_RETURN_DEFAULT_VARIABLE_VALUE,Je,o.key,r.key)}else this.logger.log(K.INFO,W.USER_RECEIVED_DEFAULT_VARIABLE_VALUE,Je,i,o.key,t);return bF(a,o.type,this.logger)},e.prototype.getFeatureVariableBoolean=function(t,n,r,o){try{return this.isValidInstance()?this.getFeatureVariableForType(t,n,Xn.BOOLEAN,r,o):(this.logger.log(K.ERROR,W.INVALID_OBJECT,Je,"getFeatureVariableBoolean"),null)}catch(i){return this.logger.log(K.ERROR,i.message),this.errorHandler.handleError(i),null}},e.prototype.getFeatureVariableDouble=function(t,n,r,o){try{return this.isValidInstance()?this.getFeatureVariableForType(t,n,Xn.DOUBLE,r,o):(this.logger.log(K.ERROR,W.INVALID_OBJECT,Je,"getFeatureVariableDouble"),null)}catch(i){return this.logger.log(K.ERROR,i.message),this.errorHandler.handleError(i),null}},e.prototype.getFeatureVariableInteger=function(t,n,r,o){try{return this.isValidInstance()?this.getFeatureVariableForType(t,n,Xn.INTEGER,r,o):(this.logger.log(K.ERROR,W.INVALID_OBJECT,Je,"getFeatureVariableInteger"),null)}catch(i){return this.logger.log(K.ERROR,i.message),this.errorHandler.handleError(i),null}},e.prototype.getFeatureVariableString=function(t,n,r,o){try{return this.isValidInstance()?this.getFeatureVariableForType(t,n,Xn.STRING,r,o):(this.logger.log(K.ERROR,W.INVALID_OBJECT,Je,"getFeatureVariableString"),null)}catch(i){return this.logger.log(K.ERROR,i.message),this.errorHandler.handleError(i),null}},e.prototype.getFeatureVariableJSON=function(t,n,r,o){try{return this.isValidInstance()?this.getFeatureVariableForType(t,n,Xn.JSON,r,o):(this.logger.log(K.ERROR,W.INVALID_OBJECT,Je,"getFeatureVariableJSON"),null)}catch(i){return this.logger.log(K.ERROR,i.message),this.errorHandler.handleError(i),null}},e.prototype.getAllFeatureVariables=function(t,n,r){var o=this;try{if(!this.isValidInstance())return this.logger.log(K.ERROR,W.INVALID_OBJECT,Je,"getAllFeatureVariables"),null;if(!this.validateInputs({feature_key:t,user_id:n},r))return null;var i=this.projectConfigManager.getConfig();if(!i)return null;var s=pf(i,t,this.logger);if(!s)return null;var a=this.createInternalUserContext(n,r),l=this.decisionService.getVariationForFeature(i,s,a).result,u=Dl(l),c={};s.variables.forEach(function(d){c[d.key]=o.getFeatureVariableValueFromVariation(t,u,l.variation,d,n)});var f={};return l.decisionSource===ln.FEATURE_TEST&&l.experiment!==null&&l.variation!==null&&(f={experimentKey:l.experiment.key,variationKey:l.variation.key}),this.notificationCenter.sendNotifications(vn.DECISION,{type:ii.ALL_FEATURE_VARIABLES,userId:n,attributes:r||{},decisionInfo:{featureKey:t,featureEnabled:u,source:l.decisionSource,variableValues:c,sourceInfo:f}}),c}catch(d){return this.logger.log(K.ERROR,d.message),this.errorHandler.handleError(d),null}},e.prototype.getOptimizelyConfig=function(){try{var t=this.projectConfigManager.getConfig();return t?this.projectConfigManager.getOptimizelyConfig():null}catch(n){return this.logger.log(K.ERROR,n.message),this.errorHandler.handleError(n),null}},e.prototype.close=function(){var t=this,n;try{this.odpManager&&this.odpManager.stop(),this.notificationCenter.clearAllNotificationListeners();var r=(n=this.projectConfigManager.getConfig())===null||n===void 0?void 0:n.sdkKey;r&&M0.removeNotificationCenter(r);var o=this.eventProcessor.stop();return this.disposeOnUpdate&&(this.disposeOnUpdate(),this.disposeOnUpdate=null),this.projectConfigManager&&this.projectConfigManager.stop(),Object.keys(this.readyTimeouts).forEach(function(i){var s=t.readyTimeouts[i];clearTimeout(s.readyTimeout),s.onClose()}),this.readyTimeouts={},o.then(function(){return{success:!0}},function(i){return{success:!1,reason:String(i)}})}catch(i){return this.logger.log(K.ERROR,i.message),this.errorHandler.handleError(i),Promise.resolve({success:!1,reason:String(i)})}},e.prototype.onReady=function(t){var n=this,r;typeof t=="object"&&t!==null&&t.timeout!==void 0&&(r=t.timeout),Ft.isSafeInteger(r)||(r=GU);var o,i=new Promise(function(c){o=c}),s=this.nextReadyTimeoutId;this.nextReadyTimeoutId++;var a=function(){delete n.readyTimeouts[s],o({success:!1,reason:lt("onReady timeout expired after %s ms",r)})},l=setTimeout(a,r),u=function(){o({success:!1,reason:"Instance closed"})};return this.readyTimeouts[s]={readyTimeout:l,onClose:u},this.readyPromise.then(function(){clearTimeout(l),delete n.readyTimeouts[s],o({success:!0})}),Promise.race([this.readyPromise,i])},e.prototype.createUserContext=function(t,n){var r,o=t??((r=this.odpManager)===null||r===void 0?void 0:r.getVuid());return o===void 0||!this.validateInputs({user_id:o},n)?null:new Oy({optimizely:this,userId:o,attributes:n,shouldIdentifyUser:!0})},e.prototype.createInternalUserContext=function(t,n){return new Oy({optimizely:this,userId:t,attributes:n,shouldIdentifyUser:!1})},e.prototype.decide=function(t,n,r){var o=this,i,s,a,l;r===void 0&&(r=[]);var u=t.getUserId(),c=t.getAttributes(),f=this.projectConfigManager.getConfig(),d=[],p;if(!this.isValidInstance()||!f)return this.logger.log(K.INFO,W.INVALID_OBJECT,Je,"decide"),Ry(n,t,[Ld.SDK_NOT_READY]);var h=f.featureKeyMap[n];if(!h)return this.logger.log(K.ERROR,be.FEATURE_NOT_IN_DATAFILE,Je,n),Ry(n,t,[lt(Ld.FLAG_KEY_INVALID,n)]);var g=this.getAllDecideOptions(r),m=this.decisionService.findValidatedForcedDecision(f,t,n);d.push.apply(d,m.reasons);var y=m.result;if(y)p={experiment:null,variation:y,decisionSource:ln.FEATURE_TEST};else{var b=this.decisionService.getVariationForFeature(f,h,t,g);d.push.apply(d,b.reasons),p=b.result}var v=p.decisionSource,E=(s=(i=p.experiment)===null||i===void 0?void 0:i.key)!==null&&s!==void 0?s:null,T=(l=(a=p.variation)===null||a===void 0?void 0:a.key)!==null&&l!==void 0?l:null,x=Dl(p);x===!0?this.logger.log(K.INFO,W.FEATURE_ENABLED_FOR_USER,Je,n,u):this.logger.log(K.INFO,W.FEATURE_NOT_ENABLED_FOR_USER,Je,n,u);var I={},P=!1;g[Pr.EXCLUDE_VARIABLES]||h.variables.forEach(function(B){I[B.key]=o.getFeatureVariableValueFromVariation(n,x,p.variation,B,u)}),!g[Pr.DISABLE_DECISION_EVENT]&&(v===ln.FEATURE_TEST||v===ln.ROLLOUT&&Ey(f))&&(this.sendImpressionEvent(p,n,u,x,c),P=!0);var M=g[Pr.INCLUDE_REASONS],V=[];M&&(V=d.map(function(B){return lt.apply(void 0,ms([B[0]],B.slice(1),!1))}));var H={flagKey:n,enabled:x,variationKey:T,ruleKey:E,variables:I,reasons:V,decisionEventDispatched:P};return this.notificationCenter.sendNotifications(vn.DECISION,{type:ii.FLAG,userId:u,attributes:c,decisionInfo:H}),{variationKey:T,enabled:x,variables:I,ruleKey:E,flagKey:n,userContext:t,reasons:V}},e.prototype.getAllDecideOptions=function(t){var n=this,r=Zn({},this.defaultDecideOptions);return Array.isArray(t)?t.forEach(function(o){Pr[o]?r[o]=!0:n.logger.log(K.WARNING,W.UNRECOGNIZED_DECIDE_OPTION,Je,o)}):this.logger.log(K.DEBUG,W.INVALID_DECIDE_OPTIONS,Je),r},e.prototype.decideForKeys=function(t,n,r){var o=this;r===void 0&&(r=[]);var i={};if(!this.isValidInstance())return this.logger.log(K.ERROR,W.INVALID_OBJECT,Je,"decideForKeys"),i;if(n.length===0)return i;var s=this.getAllDecideOptions(r);return n.forEach(function(a){var l=o.decide(t,a,r);(!s[Pr.ENABLED_FLAGS_ONLY]||l.enabled)&&(i[a]=l)}),i},e.prototype.decideAll=function(t,n){n===void 0&&(n=[]);var r=this.projectConfigManager.getConfig(),o={};if(!this.isValidInstance()||!r)return this.logger.log(K.ERROR,W.INVALID_OBJECT,Je,"decideAll"),o;var i=Object.keys(r.featureKeyMap);return this.decideForKeys(t,i,n)},e.prototype.updateOdpSettings=function(){var t=this.projectConfigManager.getConfig();t&&this.odpManager&&this.odpManager.updateSettings(t.odpIntegrationConfig)},e.prototype.sendOdpEvent=function(t,n,r,o){if(!this.odpManager){this.logger.error(be.ODP_EVENT_FAILED_ODP_MANAGER_MISSING);return}var i=n??Pu,s=new Map(r);if(r&&r.size>0)try{r.forEach(function(l,u){(R0===u.toLowerCase()||ur.FS_USER_ID===u.toLowerCase())&&(s.delete(u),s.set(ur.FS_USER_ID,l))})}catch{this.logger.warn(W.ODP_SEND_EVENT_IDENTIFIER_CONVERSION_FAILED)}try{var a=new Fu(i,t,s,o);this.odpManager.sendEvent(a)}catch(l){this.logger.error(be.ODP_EVENT_FAILED,l)}},e.prototype.isOdpIntegrated=function(){var t,n,r;return(r=(n=(t=this.projectConfigManager.getConfig())===null||t===void 0?void 0:t.odpIntegrationConfig)===null||n===void 0?void 0:n.integrated)!==null&&r!==void 0?r:!1},e.prototype.identifyUser=function(t){this.odpManager&&this.isOdpIntegrated()&&this.odpManager.identifyUser(t)},e.prototype.fetchQualifiedSegments=function(t,n){return qt(this,void 0,void 0,function(){return Kt(this,function(r){switch(r.label){case 0:return this.odpManager?[4,this.odpManager.fetchQualifiedSegments(t,n)]:[2,null];case 1:return[2,r.sent()]}})})},e.prototype.getVuid=function(){var t;if(!this.odpManager){(t=this.logger)===null||t===void 0||t.error("Unable to get VUID - ODP Manager is not instantiated yet.");return}if(!this.odpManager.isVuidEnabled()){this.logger.log(K.WARNING,"getVuid() unavailable for this platform",Je);return}return this.odpManager.getVuid()},e})(),KU={parseUserAgentInfo:function(){var e=new HP.UAParser,t=e.getResult(),n=t.os,r=t.device;return{os:n,device:r}}};function WU(){return KU}var YU=Object.freeze({__proto__:null,get LogLevel(){return Re},getLogger:Wt,setLogHandler:T0,LOG_LEVEL:K,createLogger:Qp}),Cr=Wt();gi.setLogHandler(Qp());gi.setLogLevel(Re.INFO);var XU="INDEX_BROWSER",ky=10,Py=1e3,JU=1e4,$d=!1,IE=function(e){var t;try{var n=!1;e.errorHandler&&GP(e.errorHandler),e.logger&&(gi.setLogHandler(e.logger),gi.setLogLevel(Re.NOTSET)),e.logLevel!==void 0&&gi.setLogLevel(e.logLevel);try{C0.validate(e),n=!0}catch(m){Cr.error(m)}var r=void 0;e.eventDispatcher==null?(r=new x0({eventDispatcher:N0}),$d||(r.sendPendingEvents(),$d=!0)):r=e.eventDispatcher;var o=e.closingEventDispatcher;!e.eventDispatcher&&!o&&window.navigator&&"sendBeacon"in window.navigator&&(o=L0);var i=e.eventBatchSize,s=e.eventFlushInterval;my.validateEventBatchSize(e.eventBatchSize)||(Cr.warn("Invalid eventBatchSize %s, defaulting to %s",e.eventBatchSize,ky),i=ky),my.validateEventFlushInterval(e.eventFlushInterval)||(Cr.warn("Invalid eventFlushInterval %s, defaulting to %s",e.eventFlushInterval,Py),s=Py);var a=y0(),l=k0({logger:Cr,errorHandler:a}),u={dispatcher:r,closingDispatcher:o,flushInterval:s,batchSize:i,maxQueueSize:e.eventMaxQueueSize||JU,notificationCenter:l},c=((t=e.odpOptions)===null||t===void 0?void 0:t.disabled)===!0;c&&Cr.info(W.ODP_DISABLED);var f=e.clientEngine,d=e.clientVersion,p=Zn(Zn({clientEngine:Xp},e),{eventProcessor:jM.createEventProcessor(u),logger:Cr,errorHandler:a,datafileManager:e.sdkKey?SF(e.sdkKey,Cr,e.datafile,e.datafileOptions):void 0,notificationCenter:l,isValidInstance:n,odpManager:c?void 0:KF.createInstance({logger:Cr,odpOptions:e.odpOptions,clientEngine:f,clientVersion:d})}),h=new qU(p);try{if(typeof window.addEventListener=="function"){var g="onpagehide"in window?"pagehide":"unload";window.addEventListener(g,function(){h.close()},!1)}}catch(m){Cr.error(W.UNABLE_TO_ATTACH_UNLOAD,XU,m.message)}return h}catch(m){return Cr.error(m),null}},QU=function(){$d=!1},ZU=gi.setLogHandler,ej=gi.setLogLevel;Zn(Zn({},YU),{logging:DM,errorHandler:RM,eventDispatcher:N0,sendBeaconEventDispatcher:L0,enums:Ta,setLogger:ZU,setLogLevel:ej,createInstance:IE,__internalResetRetryState:QU,OptimizelyDecideOption:Pr,getUserAgentParser:WU});function tj(e=rc){return bp(e,{asyncContext:!1})}const nj="__nuxt_plugin";function rj(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[nj]:!0,_name:t})}function oj(e){let t;return bo()&&(t=Ot()?.appContext.app.$nuxt),t||=tj(e).tryUse(),t||null}function ju(e){const t=oj(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function ij(e){return ju().$config}const sj=Symbol("route"),aj=()=>bo()?Ut(sj,ju()._route):ju()._route,lj="$s";function My(...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 o=lj+n,i=ju(),s=xa(i.payload.state,o);if(s.value===void 0&&r){const a=r();if(At(a))return i.payload.state[o]=a,a;s.value=a}return s}const uj=e=>({shops:["CAM-wxvanx|TCH-5g6nol|TCO-gm2vex|CTY-5g6nol|CCO-5g6nol|PRG-gkq9zg","CAM-wxvanx|TCH-5g6nol|TCO-x2mwkg|CTY-5g6nol|CCO-5g6nol|PRG-gkq9zg"]}[Mt().public.APPLICATION]||[]).includes(e),cj=rj(async()=>{const e=ij(),t=aj(),n=My("activeMid",()=>""),r=uj(n.value),o=(void 0??"").toLowerCase();return r||t.query.disable_optimizely==="true"||e.public.DISABLE_OPTIMIZELY==="true"||o.includes("tapp/ci")||o.includes("googlebot")?{provide:{optimizely:null}}:{provide:{optimizely:IE({datafile:My("optimizely-datafile").value,logLevel:t.query.optimizely_log==="true"?Ta.LOG_LEVEL.DEBUG:e.public.optimizelyLogLevel||Ta.LOG_LEVEL.INFO})}}}),fj=zt(()=>{const{$optimizely:e}=Ve();if(!e){console.warn("Optimizely is not initialized");return}e.notificationCenter.addNotificationListener(Ta.NOTIFICATION_TYPES.DECISION,t=>{ws(()=>{pj(t,e)})})});function dj(e){const t=Mt().public.stage!=="production",n=`"${e}" is missing Optimizely dimension number.`;if(t)throw new Error(n)}function pj({type:e,decisionInfo:t},n){const r=n.getOptimizelyConfig();if(e!==Ta.DECISION_NOTIFICATION_TYPES.ALL_FEATURE_VARIABLES||!r)return;const{variableValues:o,sourceInfo:i}=t,s=i.experimentKey,a=i.variationKey;if(!r.experimentsMap[s])return;const l=r.experimentsMap[s].id,u=r.experimentsMap[s]?.variationsMap?.[a]?.id,c=o?o["optimizely-dimension-number"]:void 0;if(!c){dj(s);return}if(c&&a&&l)return window?.dataLayer?.find(d=>d.event==="campaign-decided"&&d["optimizely-dimension-value"]===`${s} (${l}):${a} (${u})`&&d["optimizely-dimension-number"]===c)?void 0:(!Array.isArray(window.dataLayer)&&typeof window.dataLayer>"u"&&(window.dataLayer=[]),window.dataLayer.push({event:"campaign-decided","optimizely-dimension-value":`${s} (${l}):${a} (${u})`,"optimizely-dimension-number":c}))}const hj=(e="")=>{const t="^CAM-[a-z0-9]{6}\\|TCH-[a-z0-9]{6}\\|TCO-[a-z0-9]{6}\\|CTY-[a-z0-9]{6}\\|CCO-[a-z0-9]{6}\\|PRG-[a-z0-9]{6}$";return new RegExp(t,"i").test(e)},gj=({activeMid:e,midFromUrl:t,defaultMid:n})=>t||e||n;function Oi(){const e=mt("activeMid",()=>"");try{const t=Mn(),n=Mt(),r=typeof t.query.mid=="string"?t.query.mid:"",o=hj(r)?r:null,i=typeof n.public.DEFAULT_MID=="string"?n.public.DEFAULT_MID:"",s=gj({activeMid:e.value,midFromUrl:o,defaultMid:i});s!==e.value&&(e.value=s)}catch{}return e.value}const mj=zt(()=>{globalThis.$fetch=$fetch.create({onRequest:({options:e,request:t})=>{if(!p1())return;const r=Vt(),o=Oi();Ve();const i=ld(),s=r.currentRoute.value.path,a=new Headers(e.headers);Object.entries(i).forEach(([l,u])=>{a.set(l,u)}),a.set("X-Mid-Token",e.headers.get("X-Mid-Token")||o),a.set("X-Client-Path",s||""),e.headers=a},onResponse(){}})});/*! @license DOMPurify 3.2.4 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.4/LICENSE */const{entries:RE,setPrototypeOf:Fy,isFrozen:yj,getPrototypeOf:vj,getOwnPropertyDescriptor:_j}=Object;let{freeze:kn,seal:hr,create:OE}=Object,{apply:Bd,construct:Hd}=typeof Reflect<"u"&&Reflect;kn||(kn=function(t){return t});hr||(hr=function(t){return t});Bd||(Bd=function(t,n,r){return t.apply(n,r)});Hd||(Hd=function(t,n){return new t(...n)});const kl=Pn(Array.prototype.forEach),bj=Pn(Array.prototype.lastIndexOf),Uy=Pn(Array.prototype.pop),Us=Pn(Array.prototype.push),Ej=Pn(Array.prototype.splice),Zl=Pn(String.prototype.toLowerCase),mf=Pn(String.prototype.toString),jy=Pn(String.prototype.match),js=Pn(String.prototype.replace),Tj=Pn(String.prototype.indexOf),wj=Pn(String.prototype.trim),mr=Pn(Object.prototype.hasOwnProperty),In=Pn(RegExp.prototype.test),Vs=Sj(TypeError);function Pn(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o2&&arguments[2]!==void 0?arguments[2]:Zl;Fy&&Fy(e,null);let r=t.length;for(;r--;){let o=t[r];if(typeof o=="string"){const i=n(o);i!==o&&(yj(t)||(t[r]=i),o=i)}e[o]=!0}return e}function Aj(e){for(let t=0;t/gm),Cj=hr(/\$\{[\w\W]*/gm),Nj=hr(/^data-[\-\w.\u00B7-\uFFFF]+$/),Lj=hr(/^aria-[\-\w]+$/),xE=hr(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Dj=hr(/^(?:\w+script|data):/i),kj=hr(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),CE=hr(/^html$/i),Pj=hr(/^[a-z][.\w]*(-[.\w]+)+$/i);var zy=Object.freeze({__proto__:null,ARIA_ATTR:Lj,ATTR_WHITESPACE:kj,CUSTOM_ELEMENT:Pj,DATA_ATTR:Nj,DOCTYPE_NAME:CE,ERB_EXPR:xj,IS_ALLOWED_URI:xE,IS_SCRIPT_OR_DATA:Dj,MUSTACHE_EXPR:Oj,TMPLIT_EXPR:Cj});const Bs={element:1,text:3,progressingInstruction:7,comment:8,document:9},Mj=function(){return typeof window>"u"?null:window},Fj=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null;const o="data-tt-policy-suffix";n&&n.hasAttribute(o)&&(r=n.getAttribute(o));const i="dompurify"+(r?"#"+r:"");try{return t.createPolicy(i,{createHTML(s){return s},createScriptURL(s){return s}})}catch{return console.warn("TrustedTypes policy "+i+" could not be created."),null}},Gy=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function NE(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Mj();const t=xe=>NE(xe);if(t.version="3.2.4",t.removed=[],!e||!e.document||e.document.nodeType!==Bs.document||!e.Element)return t.isSupported=!1,t;let{document:n}=e;const r=n,o=r.currentScript,{DocumentFragment:i,HTMLTemplateElement:s,Node:a,Element:l,NodeFilter:u,NamedNodeMap:c=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:f,DOMParser:d,trustedTypes:p}=e,h=l.prototype,g=$s(h,"cloneNode"),m=$s(h,"remove"),y=$s(h,"nextSibling"),b=$s(h,"childNodes"),v=$s(h,"parentNode");if(typeof s=="function"){const xe=n.createElement("template");xe.content&&xe.content.ownerDocument&&(n=xe.content.ownerDocument)}let E,T="";const{implementation:x,createNodeIterator:I,createDocumentFragment:P,getElementsByTagName:M}=n,{importNode:V}=r;let H=Gy();t.isSupported=typeof RE=="function"&&typeof v=="function"&&x&&x.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:B,ERB_EXPR:ce,TMPLIT_EXPR:Te,DATA_ATTR:ke,ARIA_ATTR:he,IS_SCRIPT_OR_DATA:me,ATTR_WHITESPACE:se,CUSTOM_ELEMENT:Ee}=zy;let{IS_ALLOWED_URI:tt}=zy,Se=null;const Xe=rt({},[...Vy,...yf,...vf,..._f,...$y]);let Be=null;const it=rt({},[...By,...bf,...Hy,...Pl]);let qe=Object.seal(OE(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ot=null,J=null,ie=!0,ae=!0,ve=!1,Ke=!0,ze=!1,C=!0,D=!1,j=!1,ne=!1,X=!1,R=!1,N=!1,U=!0,q=!1;const ee="user-content-";let Z=!0,A=!1,L={},G=null;const re=rt({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let fe=null;const _e=rt({},["audio","video","img","source","image","track"]);let We=null;const nt=rt({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ue="http://www.w3.org/1998/Math/MathML",we="http://www.w3.org/2000/svg",Tt="http://www.w3.org/1999/xhtml";let Sn=Tt,$t=!1,gn=null;const qo=rt({},[Ue,we,Tt],mf);let Gr=rt({},["mi","mo","mn","ms","mtext"]),Ar=rt({},["annotation-xml"]);const Is=rt({},["title","style","font","a","script"]);let Ir=null;const Ka=["application/xhtml+xml","text/html"],Wa="text/html";let Gt=null,Rr=null;const Ya=n.createElement("form"),Xa=function(F){return F instanceof RegExp||F instanceof Function},Ko=function(){let F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Rr&&Rr===F)){if((!F||typeof F!="object")&&(F={}),F=si(F),Ir=Ka.indexOf(F.PARSER_MEDIA_TYPE)===-1?Wa:F.PARSER_MEDIA_TYPE,Gt=Ir==="application/xhtml+xml"?mf:Zl,Se=mr(F,"ALLOWED_TAGS")?rt({},F.ALLOWED_TAGS,Gt):Xe,Be=mr(F,"ALLOWED_ATTR")?rt({},F.ALLOWED_ATTR,Gt):it,gn=mr(F,"ALLOWED_NAMESPACES")?rt({},F.ALLOWED_NAMESPACES,mf):qo,We=mr(F,"ADD_URI_SAFE_ATTR")?rt(si(nt),F.ADD_URI_SAFE_ATTR,Gt):nt,fe=mr(F,"ADD_DATA_URI_TAGS")?rt(si(_e),F.ADD_DATA_URI_TAGS,Gt):_e,G=mr(F,"FORBID_CONTENTS")?rt({},F.FORBID_CONTENTS,Gt):re,ot=mr(F,"FORBID_TAGS")?rt({},F.FORBID_TAGS,Gt):{},J=mr(F,"FORBID_ATTR")?rt({},F.FORBID_ATTR,Gt):{},L=mr(F,"USE_PROFILES")?F.USE_PROFILES:!1,ie=F.ALLOW_ARIA_ATTR!==!1,ae=F.ALLOW_DATA_ATTR!==!1,ve=F.ALLOW_UNKNOWN_PROTOCOLS||!1,Ke=F.ALLOW_SELF_CLOSE_IN_ATTR!==!1,ze=F.SAFE_FOR_TEMPLATES||!1,C=F.SAFE_FOR_XML!==!1,D=F.WHOLE_DOCUMENT||!1,X=F.RETURN_DOM||!1,R=F.RETURN_DOM_FRAGMENT||!1,N=F.RETURN_TRUSTED_TYPE||!1,ne=F.FORCE_BODY||!1,U=F.SANITIZE_DOM!==!1,q=F.SANITIZE_NAMED_PROPS||!1,Z=F.KEEP_CONTENT!==!1,A=F.IN_PLACE||!1,tt=F.ALLOWED_URI_REGEXP||xE,Sn=F.NAMESPACE||Tt,Gr=F.MATHML_TEXT_INTEGRATION_POINTS||Gr,Ar=F.HTML_INTEGRATION_POINTS||Ar,qe=F.CUSTOM_ELEMENT_HANDLING||{},F.CUSTOM_ELEMENT_HANDLING&&Xa(F.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(qe.tagNameCheck=F.CUSTOM_ELEMENT_HANDLING.tagNameCheck),F.CUSTOM_ELEMENT_HANDLING&&Xa(F.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(qe.attributeNameCheck=F.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),F.CUSTOM_ELEMENT_HANDLING&&typeof F.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(qe.allowCustomizedBuiltInElements=F.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ze&&(ae=!1),R&&(X=!0),L&&(Se=rt({},$y),Be=[],L.html===!0&&(rt(Se,Vy),rt(Be,By)),L.svg===!0&&(rt(Se,yf),rt(Be,bf),rt(Be,Pl)),L.svgFilters===!0&&(rt(Se,vf),rt(Be,bf),rt(Be,Pl)),L.mathMl===!0&&(rt(Se,_f),rt(Be,Hy),rt(Be,Pl))),F.ADD_TAGS&&(Se===Xe&&(Se=si(Se)),rt(Se,F.ADD_TAGS,Gt)),F.ADD_ATTR&&(Be===it&&(Be=si(Be)),rt(Be,F.ADD_ATTR,Gt)),F.ADD_URI_SAFE_ATTR&&rt(We,F.ADD_URI_SAFE_ATTR,Gt),F.FORBID_CONTENTS&&(G===re&&(G=si(G)),rt(G,F.FORBID_CONTENTS,Gt)),Z&&(Se["#text"]=!0),D&&rt(Se,["html","head","body"]),Se.table&&(rt(Se,["tbody"]),delete ot.tbody),F.TRUSTED_TYPES_POLICY){if(typeof F.TRUSTED_TYPES_POLICY.createHTML!="function")throw Vs('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof F.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Vs('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');E=F.TRUSTED_TYPES_POLICY,T=E.createHTML("")}else E===void 0&&(E=Fj(p,o)),E!==null&&typeof T=="string"&&(T=E.createHTML(""));kn&&kn(F),Rr=F}},Ja=rt({},[...yf,...vf,...Ij]),Qa=rt({},[..._f,...Rj]),Rs=function(F){let de=v(F);(!de||!de.tagName)&&(de={namespaceURI:Sn,tagName:"template"});const Ae=Zl(F.tagName),xt=Zl(de.tagName);return gn[F.namespaceURI]?F.namespaceURI===we?de.namespaceURI===Tt?Ae==="svg":de.namespaceURI===Ue?Ae==="svg"&&(xt==="annotation-xml"||Gr[xt]):!!Ja[Ae]:F.namespaceURI===Ue?de.namespaceURI===Tt?Ae==="math":de.namespaceURI===we?Ae==="math"&&Ar[xt]:!!Qa[Ae]:F.namespaceURI===Tt?de.namespaceURI===we&&!Ar[xt]||de.namespaceURI===Ue&&!Gr[xt]?!1:!Qa[Ae]&&(Is[Ae]||!Ja[Ae]):!!(Ir==="application/xhtml+xml"&&gn[F.namespaceURI]):!1},Yt=function(F){Us(t.removed,{element:F});try{v(F).removeChild(F)}catch{m(F)}},Ci=function(F,de){try{Us(t.removed,{attribute:de.getAttributeNode(F),from:de})}catch{Us(t.removed,{attribute:null,from:de})}if(de.removeAttribute(F),F==="is")if(X||R)try{Yt(de)}catch{}else try{de.setAttribute(F,"")}catch{}},Za=function(F){let de=null,Ae=null;if(ne)F=""+F;else{const Xt=jy(F,/^[\r\n\t ]+/);Ae=Xt&&Xt[0]}Ir==="application/xhtml+xml"&&Sn===Tt&&(F=''+F+"");const xt=E?E.createHTML(F):F;if(Sn===Tt)try{de=new d().parseFromString(xt,Ir)}catch{}if(!de||!de.documentElement){de=x.createDocument(Sn,"template",null);try{de.documentElement.innerHTML=$t?T:xt}catch{}}const en=de.body||de.documentElement;return F&&Ae&&en.insertBefore(n.createTextNode(Ae),en.childNodes[0]||null),Sn===Tt?M.call(de,D?"html":"body")[0]:D?de.documentElement:en},el=function(F){return I.call(F.ownerDocument||F,F,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},Wo=function(F){return F instanceof f&&(typeof F.nodeName!="string"||typeof F.textContent!="string"||typeof F.removeChild!="function"||!(F.attributes instanceof c)||typeof F.removeAttribute!="function"||typeof F.setAttribute!="function"||typeof F.namespaceURI!="string"||typeof F.insertBefore!="function"||typeof F.hasChildNodes!="function")},qr=function(F){return typeof a=="function"&&F instanceof a};function nr(xe,F,de){kl(xe,Ae=>{Ae.call(t,F,de,Rr)})}const Ni=function(F){let de=null;if(nr(H.beforeSanitizeElements,F,null),Wo(F))return Yt(F),!0;const Ae=Gt(F.nodeName);if(nr(H.uponSanitizeElement,F,{tagName:Ae,allowedTags:Se}),F.hasChildNodes()&&!qr(F.firstElementChild)&&In(/<[/\w]/g,F.innerHTML)&&In(/<[/\w]/g,F.textContent)||F.nodeType===Bs.progressingInstruction||C&&F.nodeType===Bs.comment&&In(/<[/\w]/g,F.data))return Yt(F),!0;if(!Se[Ae]||ot[Ae]){if(!ot[Ae]&&tl(Ae)&&(qe.tagNameCheck instanceof RegExp&&In(qe.tagNameCheck,Ae)||qe.tagNameCheck instanceof Function&&qe.tagNameCheck(Ae)))return!1;if(Z&&!G[Ae]){const xt=v(F)||F.parentNode,en=b(F)||F.childNodes;if(en&&xt){const Xt=en.length;for(let on=Xt-1;on>=0;--on){const rr=g(en[on],!0);rr.__removalCount=(F.__removalCount||0)+1,xt.insertBefore(rr,y(F))}}}return Yt(F),!0}return F instanceof l&&!Rs(F)||(Ae==="noscript"||Ae==="noembed"||Ae==="noframes")&&In(/<\/no(script|embed|frames)/i,F.innerHTML)?(Yt(F),!0):(ze&&F.nodeType===Bs.text&&(de=F.textContent,kl([B,ce,Te],xt=>{de=js(de,xt," ")}),F.textContent!==de&&(Us(t.removed,{element:F.cloneNode()}),F.textContent=de)),nr(H.afterSanitizeElements,F,null),!1)},Os=function(F,de,Ae){if(U&&(de==="id"||de==="name")&&(Ae in n||Ae in Ya))return!1;if(!(ae&&!J[de]&&In(ke,de))){if(!(ie&&In(he,de))){if(!Be[de]||J[de]){if(!(tl(F)&&(qe.tagNameCheck instanceof RegExp&&In(qe.tagNameCheck,F)||qe.tagNameCheck instanceof Function&&qe.tagNameCheck(F))&&(qe.attributeNameCheck instanceof RegExp&&In(qe.attributeNameCheck,de)||qe.attributeNameCheck instanceof Function&&qe.attributeNameCheck(de))||de==="is"&&qe.allowCustomizedBuiltInElements&&(qe.tagNameCheck instanceof RegExp&&In(qe.tagNameCheck,Ae)||qe.tagNameCheck instanceof Function&&qe.tagNameCheck(Ae))))return!1}else if(!We[de]){if(!In(tt,js(Ae,se,""))){if(!((de==="src"||de==="xlink:href"||de==="href")&&F!=="script"&&Tj(Ae,"data:")===0&&fe[F])){if(!(ve&&!In(me,js(Ae,se,"")))){if(Ae)return!1}}}}}}return!0},tl=function(F){return F!=="annotation-xml"&&jy(F,Ee)},xs=function(F){nr(H.beforeSanitizeAttributes,F,null);const{attributes:de}=F;if(!de||Wo(F))return;const Ae={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Be,forceKeepAttr:void 0};let xt=de.length;for(;xt--;){const en=de[xt],{name:Xt,namespaceURI:on,value:rr}=en,Yo=Gt(Xt);let sn=Xt==="value"?rr:wj(rr);if(Ae.attrName=Yo,Ae.attrValue=sn,Ae.keepAttr=!0,Ae.forceKeepAttr=void 0,nr(H.uponSanitizeAttribute,F,Ae),sn=Ae.attrValue,q&&(Yo==="id"||Yo==="name")&&(Ci(Xt,F),sn=ee+sn),C&&In(/((--!?|])>)|<\/(style|title)/i,sn)){Ci(Xt,F);continue}if(Ae.forceKeepAttr||(Ci(Xt,F),!Ae.keepAttr))continue;if(!Ke&&In(/\/>/i,sn)){Ci(Xt,F);continue}ze&&kl([B,ce,Te],Cs=>{sn=js(sn,Cs," ")});const nl=Gt(F.nodeName);if(Os(nl,Yo,sn)){if(E&&typeof p=="object"&&typeof p.getAttributeType=="function"&&!on)switch(p.getAttributeType(nl,Yo)){case"TrustedHTML":{sn=E.createHTML(sn);break}case"TrustedScriptURL":{sn=E.createScriptURL(sn);break}}try{on?F.setAttributeNS(on,Xt,sn):F.setAttribute(Xt,sn),Wo(F)?Yt(F):Uy(t.removed)}catch{}}}nr(H.afterSanitizeAttributes,F,null)},Ec=function xe(F){let de=null;const Ae=el(F);for(nr(H.beforeSanitizeShadowDOM,F,null);de=Ae.nextNode();)nr(H.uponSanitizeShadowNode,de,null),Ni(de),xs(de),de.content instanceof i&&xe(de.content);nr(H.afterSanitizeShadowDOM,F,null)};return t.sanitize=function(xe){let F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},de=null,Ae=null,xt=null,en=null;if($t=!xe,$t&&(xe=""),typeof xe!="string"&&!qr(xe))if(typeof xe.toString=="function"){if(xe=xe.toString(),typeof xe!="string")throw Vs("dirty is not a string, aborting")}else throw Vs("toString is not a function");if(!t.isSupported)return xe;if(j||Ko(F),t.removed=[],typeof xe=="string"&&(A=!1),A){if(xe.nodeName){const rr=Gt(xe.nodeName);if(!Se[rr]||ot[rr])throw Vs("root node is forbidden and cannot be sanitized in-place")}}else if(xe instanceof a)de=Za(""),Ae=de.ownerDocument.importNode(xe,!0),Ae.nodeType===Bs.element&&Ae.nodeName==="BODY"||Ae.nodeName==="HTML"?de=Ae:de.appendChild(Ae);else{if(!X&&!ze&&!D&&xe.indexOf("<")===-1)return E&&N?E.createHTML(xe):xe;if(de=Za(xe),!de)return X?null:N?T:""}de&&ne&&Yt(de.firstChild);const Xt=el(A?xe:de);for(;xt=Xt.nextNode();)Ni(xt),xs(xt),xt.content instanceof i&&Ec(xt.content);if(A)return xe;if(X){if(R)for(en=P.call(de.ownerDocument);de.firstChild;)en.appendChild(de.firstChild);else en=de;return(Be.shadowroot||Be.shadowrootmode)&&(en=V.call(r,en,!0)),en}let on=D?de.outerHTML:de.innerHTML;return D&&Se["!doctype"]&&de.ownerDocument&&de.ownerDocument.doctype&&de.ownerDocument.doctype.name&&In(CE,de.ownerDocument.doctype.name)&&(on=" `+on),ze&&kl([B,ce,Te],rr=>{on=js(on,rr," ")}),E&&N?E.createHTML(on):on},t.setConfig=function(){let xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ko(xe),j=!0},t.clearConfig=function(){Rr=null,j=!1},t.isValidAttribute=function(xe,F,de){Rr||Ko({});const Ae=Gt(xe),xt=Gt(F);return Os(Ae,xt,de)},t.addHook=function(xe,F){typeof F=="function"&&Us(H[xe],F)},t.removeHook=function(xe,F){if(F!==void 0){const de=bj(H[xe],F);return de===-1?void 0:Ej(H[xe],de,1)[0]}return Uy(H[xe])},t.removeHooks=function(xe){H[xe]=[]},t.removeAllHooks=function(){H=Gy()},t}var Uj=NE();function jj(e,t){const n=e.hooks??{};let r;for(r in n){const o=n[r];o!==void 0&&t.addHook(r,o)}}function LE(){return Uj()}function Vj(e={},t=LE){const n=t();jj(e,n);const r=function(o,i){const s=i.value;if(i.oldValue===s)return;const a=`${s}`,l=i.arg,u=e.namedConfigurations,c=e.default??{};if(u&&l!==void 0){o.innerHTML=n.sanitize(a,u[l]??c);return}o.innerHTML=n.sanitize(a,c)};return{mounted:r,updated:r}}const $j={install(e,t={},n=LE){e.directive("dompurify-html",Vj(t,n))}},Bj=zt(e=>{e.vueApp.use($j)}),Hj=zt({name:"i18n:plugin:ssg-detect",dependsOn:["i18n:plugin","i18n:plugin:route-locale-detect"],enforce:"post",setup(){Ve()}}),zj=["data","password","rekeningnummer","iban","wachtwoord","password","geslacht","voorletters","initial","initials","voornaam","tussenvoegsel","middle_name","last_name","achternaam","birth_date","geboortedatum","gender","house_number","phone","phone_number","zip_code","addition","country","email","street","city","leadq_proposition_id","leadq_propositie_id","snowplow_id","snowplow_cookie","parent_id","promotion_code","cookie","postcode","huisnummer","toevoeging","straat","plaats","telefoon","emailadres","Authorization","authorization","akamai-origin-shielding"],Ml={"👨🏻‍💻 🔥":"👨🏻‍💻 🔥","👨🏻‍💻 ㏒":"👨🏻‍💻 ㏒","👨🏻‍💻 ⚠️":"👨🏻‍💻 ⚠️"},Gj=e=>{switch(e){case"error":return Ml["👨🏻‍💻 🔥"];case"info":return Ml["👨🏻‍💻 ㏒"];case"warning":return Ml["👨🏻‍💻 ⚠️"];default:return Ml["👨🏻‍💻 🔥"]}},qj=(e,{title:t,logLevel:n="error",report:r,name:o,message:i,metadata:s})=>{const a="Client",l=`${Gj(n)} ${a} - ${o||""}`,u=i||r?.message||"",c=`${n} - ${a} - ${o} - ${t}`;r&&e.addMetadata("report",r),s&&Object.keys(s).length&&Object.keys(s).forEach(f=>{e.addMetadata(f,s[f])}),e.severity=n,e.context=t,e.groupingHash=c,e.errors&&e.errors[0]&&(e.errors[0].errorClass=l,e.errors[0].errorMessage=u)};function Kj(e,t){const{whitelistedRedactedKeys:n}=e;if(n){let r=[...t._config.redactedKeys];n.forEach(o=>{r=r.filter(i=>i===o)}),t._config.redactedKeys=r}return t}function Wj(e,t){if(!t)return;t=Kj(e,t);const n=e.error instanceof Error?e.error:e.title||"Unknown Error from logParams";t.notify(n,r=>qj(r,e)),t._config.redactedKeys=zj}const Yj=({name:e,message:t,title:n,logLevel:r})=>{r==="error"&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"error",error_id:e,error_description:t,error_title:n}))};var Xj={};function Jj(e){return e.logLevel||(e.logLevel="warning"),e.error&&(e.logLevel="error"),e}function Qj(e){return e.error?.name&&!e.name&&(e.name=e.error.name),e}function Zj(e){return e.error?.message&&!e.message&&(e.message=e.error.message),e}function e3(e,t){return e}function t3(e,t){return e}function n3(e,t){return e.ignore=t,e}function r3(e){const t=e.ignore?.headers||[];return t.length?Object.keys(e.metadata?.request?.headers||{}).some(r=>t.includes(r)):!1}function qy(e){e=Qj(e),e=Zj(e),e=Jj(e),e=t3(e,this.log.prototype.requestUrl),e=e3(e,this.log.prototype.requestHeaders),e=n3(e,this.log.prototype.ignoreOptions),!r3(e)&&(Xj.STAGE!=="production"&&console.log(e),Wj(e,this.log.prototype.bugsnagClient),Yj(e))}const o3=PO({enforce:"post",setup(e){return qy.prototype.bugsnagClient=e.$bugsnag,{provide:{logger:{log:qy}}}}}),i3=[uI,hI,nx,ox,ix,sx,lx,nL,rL,iL,fL,dL,nk,dk,Ik,AP,xP,cj,fj,mj,Bj,Hj,o3];async function s3(e,t){return await a3(t).catch(r=>(console.error("Failed to get image meta for "+t,r+""),{width:0,height:0,ratio:0}))}async function a3(e){if(typeof Image>"u")throw new TypeError("Image not supported");return new Promise((t,n)=>{const r=new Image;r.onload=()=>{const o={width:r.width,height:r.height,ratio:r.width/r.height};t(o)},r.onerror=o=>n(o),r.src=e})}function Ky(e){return t=>t?e[t]||t:e.missingValue}function l3({formatter:e,keyMap:t,joinWith:n="/",valueMap:r}={}){e||(e=(i,s)=>`${i}=${s}`),t&&typeof t!="function"&&(t=Ky(t));const o=r||{};return Object.keys(o).forEach(i=>{typeof o[i]!="function"&&(o[i]=Ky(o[i]))}),(i={})=>Object.entries(i).filter(([a,l])=>typeof l<"u").map(([a,l])=>{const u=o[a];return typeof u=="function"&&(l=u(i[a])),a=typeof t=="function"?t(a):a,e(a,l)}).join(n)}function Vr(e=""){if(typeof e=="number")return e;if(typeof e=="string"&&e.replace("px","").match(/^\d+$/g))return Number.parseInt(e,10)}function u3(e=""){if(e===void 0||!e.length)return[];const t=new Set;for(const n of e.split(" ")){const r=Number.parseInt(n.replace("x",""));r&&t.add(r)}return Array.from(t)}function c3(e){if(e.length===0)throw new Error("`densities` must not be empty, configure to `1` to render regular size only (DPR 1.0)")}function f3(e){const t={};if(typeof e=="string")for(const n of e.split(/[\s,]+/).filter(r=>r)){const r=n.split(":");r.length!==2?t["1px"]=r[0].trim():t[r[0].trim()]=r[1].trim()}else Object.assign(t,e);return t}function d3(e){const t={options:e},n=(o,i={})=>DE(t,o,i),r=(o,i={},s={})=>n(o,{...s,modifiers:ka(i,s.modifiers||{})}).url;for(const o in e.presets)r[o]=(i,s,a)=>r(i,s,{...e.presets[o],...a});return r.options=e,r.getImage=n,r.getMeta=(o,i)=>p3(t,o,i),r.getSizes=(o,i)=>m3(t,o,i),t.$img=r,r}async function p3(e,t,n){const r=DE(e,t,{...n});return typeof r.getMeta=="function"?await r.getMeta():await s3(e,r.url)}function DE(e,t,n){if(t&&typeof t!="string")throw new TypeError(`input must be a string (received ${typeof t}: ${JSON.stringify(t)})`);if(!t||t.startsWith("data:"))return{url:t};const{provider:r,defaults:o}=h3(e,n.provider||e.options.provider),i=g3(e,n.preset);if(t=Dn(t)?t:Xf(t),!r.supportsAlias){for(const u in e.options.alias)if(t.startsWith(u)){const c=e.options.alias[u];c&&(t=fr(c,t.slice(u.length)))}}if(r.validateDomains&&Dn(t)){const u=nc(t).host;if(!e.options.domains.find(c=>c===u))return{url:t}}const s=ka(n,i,o);s.modifiers={...s.modifiers};const a=s.modifiers.format;s.modifiers?.width&&(s.modifiers.width=Vr(s.modifiers.width)),s.modifiers?.height&&(s.modifiers.height=Vr(s.modifiers.height));const l=r.getImage(t,s,e);return l.format=l.format||a||"",l}function h3(e,t){const n=e.options.providers[t];if(!n)throw new Error("Unknown provider: "+t);return n}function g3(e,t){if(!t)return{};if(!e.options.presets[t])throw new Error("Unknown preset: "+t);return e.options.presets[t]}function m3(e,t,n){const r=Vr(n.modifiers?.width),o=Vr(n.modifiers?.height),i=f3(n.sizes),s=n.densities?.trim()?u3(n.densities.trim()):e.options.densities;c3(s);const a=r&&o?o/r:0,l=[],u=[];if(Object.keys(i).length>=1){for(const h in i){const g=Wy(h,String(i[h]),o,a,e);if(g!==void 0){l.push({size:g.size,screenMaxWidth:g.screenMaxWidth,media:`(max-width: ${g.screenMaxWidth}px)`});for(const m of s)u.push({width:g._cWidth*m,src:Yy(e,t,n,g,m)})}}y3(l)}else for(const h of s){const g=Object.keys(i)[0];let m=g?Wy(g,String(i[g]),o,a,e):void 0;m===void 0&&(m={size:"",screenMaxWidth:0,_cWidth:n.modifiers?.width,_cHeight:n.modifiers?.height}),u.push({width:h,src:Yy(e,t,n,m,h)})}v3(u);const c=u[u.length-1],f=l.length?l.map(h=>`${h.media?h.media+" ":""}${h.size}`).join(", "):void 0,d=f?"w":"x",p=u.map(h=>`${h.src} ${h.width}${d}`).join(", ");return{sizes:f,srcset:p,src:c?.src}}function Wy(e,t,n,r,o){const i=o.options.screens&&o.options.screens[e]||Number.parseInt(e),s=t.endsWith("vw");if(!s&&/^\d+$/.test(t)&&(t=t+"px"),!s&&!t.endsWith("px"))return;let a=Number.parseInt(t);if(!i||!a)return;s&&(a=Math.round(a/100*i));const l=r?Math.round(a*r):n;return{size:t,screenMaxWidth:i,_cWidth:a,_cHeight:l}}function Yy(e,t,n,r,o){return e.$img(t,{...n.modifiers,width:r._cWidth?r._cWidth*o:void 0,height:r._cHeight?r._cHeight*o:void 0},n)}function y3(e){e.sort((n,r)=>n.screenMaxWidth-r.screenMaxWidth);let t=null;for(let n=e.length-1;n>=0;n--){const r=e[n];r.media===t&&e.splice(n,1),t=r.media}for(let n=0;nn.width-r.width);let t=null;for(let n=e.length-1;n>=0;n--){const r=e[n];r.width===t&&e.splice(n,1),t=r.width}}const _3=l3({joinWith:"&"}),b3=(e,{modifiers:t={},baseURL:n}={})=>{const r={mode:"fill"};n||(n=Mt().public.siteUrl),t.height!==void 0&&(r.height=String(t.height)),t.width!==void 0&&(r.width=String(t.width));const o=_3(r);return{url:fr(n,e+(o?"?"+o:""))}},E3=Object.freeze(Object.defineProperty({__proto__:null,getImage:b3},Symbol.toStringTag,{value:"Module"})),T3="https://a.storyblok.com",w3=(e,{modifiers:t={},baseURL:n=T3}={})=>{const{fit:r,smart:o,width:i="0",height:s="0",filters:a={},format:l,quality:u}=t,c=e.endsWith(".svg"),f=!c&&(i!=="0"||s!=="0");c||(l&&(a.format=l+""),u&&(a.quality=u+""));const d=Object.entries(a||{}).map(y=>`${y[0]}(${y[1]})`).join(":"),p=fr(r?`fit-${r}`:"",f?`${i}x${s}`:"",o?"smart":"",d?"filters:"+d:""),{pathname:h}=nc(e);return{url:o1(fr(h,p?"/m/":"",p),n)}},S3=Object.freeze(Object.defineProperty({__proto__:null,getImage:w3},Symbol.toStringTag,{value:"Module"})),kE={screens:{xs:320,sm:640,md:768,lg:1024,xl:1280,xxl:1536,"2xl":1536,lower:320,lhm:411,lhd:1349,upper:1537},presets:{},provider:"akamai",domains:[],alias:{},densities:[1,2],format:["webp"]};kE.providers={akamai:{provider:E3,defaults:{}},storyblok:{provider:S3,defaults:void 0}};const PE=()=>{const e=Mt(),t=Ve();return t.$img||t._img||(t._img=d3({...kE,nuxt:{baseURL:e.app.baseURL},runtimeConfig:e}))};function A3(e){performance?.mark?.("mark_feature_usage",{detail:{feature:e}})}const I3={src:{type:String,required:!1},format:{type:String,required:!1},quality:{type:[Number,String],required:!1},background:{type:String,required:!1},fit:{type:String,required:!1},modifiers:{type:Object,required:!1},preset:{type:String,required:!1},provider:{type:String,required:!1},sizes:{type:[Object,String],required:!1},densities:{type:String,required:!1},preload:{type:[Boolean,Object],required:!1},width:{type:[String,Number],required:!1},height:{type:[String,Number],required:!1},alt:{type:String,required:!1},referrerpolicy:{type:String,required:!1},usemap:{type:String,required:!1},longdesc:{type:String,required:!1},ismap:{type:Boolean,required:!1},loading:{type:String,required:!1,validator:e=>["lazy","eager"].includes(e)},crossorigin:{type:[Boolean,String],required:!1,validator:e=>["anonymous","use-credentials","",!0,!1].includes(e)},decoding:{type:String,required:!1,validator:e=>["async","auto","sync"].includes(e)},nonce:{type:[String],required:!1}},R3=e=>{const t=te(()=>({provider:e.provider,preset:e.preset})),n=te(()=>({width:Vr(e.width),height:Vr(e.height),alt:e.alt,referrerpolicy:e.referrerpolicy,usemap:e.usemap,longdesc:e.longdesc,ismap:e.ismap,crossorigin:e.crossorigin===!0?"anonymous":e.crossorigin||void 0,loading:e.loading,decoding:e.decoding,nonce:e.nonce})),r=PE(),o=te(()=>({...e.modifiers,width:Vr(e.width),height:Vr(e.height),format:e.format,quality:e.quality||r.options.quality,background:e.background,fit:e.fit}));return{options:t,attrs:n,modifiers:o}},O3={...I3,placeholder:{type:[Boolean,String,Number,Array],required:!1},placeholderClass:{type:String,required:!1},custom:{type:Boolean,required:!1}},x3=["src"],C3=De({__name:"NuxtImg",props:O3,emits:["load","error"],setup(e,{emit:t}){const n=e,r=fp(),o=t,i=!1,s=PE(),a=R3(n),l=Fe(!1),u=Fe(),c=te(()=>s.getSizes(n.src,{...a.options.value,sizes:n.sizes,densities:n.densities,modifiers:{...a.modifiers.value,width:Vr(n.width),height:Vr(n.height)}})),f=te(()=>{const y={...a.attrs.value,"data-nuxt-img":""};return(!n.placeholder||l.value)&&(y.sizes=c.value.sizes,y.srcset=c.value.srcset),y}),d=te(()=>{let y=n.placeholder;if(y===""&&(y=!0),!y||l.value)return!1;if(typeof y=="string")return y;const b=Array.isArray(y)?y:typeof y=="number"?[y,y]:[10,10];return s(n.src,{...a.modifiers.value,width:b[0],height:b[1],quality:b[2]||50,blur:b[3]||3},a.options.value)}),p=te(()=>n.sizes?c.value.src:s(n.src,a.modifiers.value,a.options.value)),h=te(()=>d.value?d.value:p.value),m=Ve().isHydrating;return pn(()=>{if(d.value||n.custom){const y=new Image;p.value&&(y.src=p.value),n.sizes&&(y.sizes=c.value.sizes||"",y.srcset=c.value.srcset),y.onload=b=>{l.value=!0,o("load",b)},y.onerror=b=>{o("error",b)},A3("nuxt-image");return}u.value&&(u.value.complete&&m&&(u.value.getAttribute("data-error")?o("error",new Event("error")):o("load",new Event("load"))),u.value.onload=y=>{o("load",y)},u.value.onerror=y=>{o("error",y)})}),(y,b)=>y.custom?pt(y.$slots,"default",li(kt({key:1},{...Y(i)?{onerror:"this.setAttribute('data-error', 1)"}:{},imgAttrs:{...f.value,...Y(r)},isLoaded:l.value,src:h.value}))):(ge(),yt("img",kt({key:0,ref_key:"imgEl",ref:u,class:n.placeholder&&!l.value?n.placeholderClass:void 0},{...Y(i)?{onerror:"this.setAttribute('data-error', 1)"}:{},...f.value,...Y(r)},{src:h.value}),null,16,x3))}}),N3=Object.assign(C3,{__name:"NuxtImg"}),ME={0:{open:-1,closed:-1},1:{open:9,closed:21},2:{open:9,closed:21},3:{open:9,closed:21},4:{open:9,closed:21},5:{open:9,closed:17},6:{open:10,closed:16}};function L3({date:e=new Date,hours:t=ME}={}){const n=e.getDay(),r=e.getHours();return r>=t[n].open&&r<=t[n].closed-1}({...ME});const D3={key:0},k3=["innerHTML"],P3=["href","data-analytics-label","data-analytics-property","textContent"],M3={key:1},F3=["innerHTML"],U3={key:2},j3=["href"],V3=De({__name:"BaseCustomerServiceWidget",props:{variant:{default:"default"},avatar:{default:""},phoneNumber:{default:"088-0505014"},customerServiceLink:{default:""},businessHourContent:{default:"Telefonisch bestellen of opzeggen?
Bel ons:"},isBusinessHour:{type:Boolean,default:!1},closedContent:{default:"Helaas is onze klantenservice gesloten.
Vanaf 09:00 zijn wij weer telefonisch bereikbaar."}},setup(e){return(t,n)=>{const r=N3;return ge(),yt("div",{class:er(["customer-service",`customer-service--${t.variant}`]),"data-test-id":"customer-service"},[St("div",{class:er(["customer-service__content",{"customer-service__content--text-inline":t.variant==="minimalistic"}])},[("isBusinessHour"in t?t.isBusinessHour:Y(L3))&&t.businessHourContent?(ge(),yt("span",D3,[St("span",{innerHTML:t.businessHourContent},null,8,k3),t.phoneNumber?(ge(),yt("a",{key:0,class:"customer-service__phone-number",href:`tel:${t.phoneNumber}`,"data-test-id":"phoneNumber","data-analytics-category":"navigation","data-analytics-action":"top_bar_click","data-analytics-label":t.phoneNumber,"data-analytics-property":`tel:${t.phoneNumber}`,textContent:cr(t.phoneNumber)},null,8,P3)):tn("",!0),n[0]||(n[0]=St("br",null,null,-1))])):t.closedContent?(ge(),yt("span",M3,[St("span",{innerHTML:t.closedContent},null,8,F3),n[1]||(n[1]=St("br",null,null,-1))])):tn("",!0),t.customerServiceLink?(ge(),yt("span",U3,[St("a",{href:t.customerServiceLink,class:"customer-service__link","data-analytics-category":"navigation","data-analytics-action":"top_bar_click","data-analytics-label":"Abonnement beheren"},cr(t.$t("components.baseCustomerServiceWidget.customerServiceLink")),9,j3)])):tn("",!0)],2),t.avatar?(ge(),Ge(r,{key:0,src:t.avatar,class:"customer-service__avatar",width:120,height:120,alt:"Foto van klantenservice medewerker"},null,8,["src"])):tn("",!0)],2)}}}),hn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},$3=Object.assign(hn(V3,[["__scopeId","data-v-896a27b4"]]),{__name:"BaseCustomerServiceWidget"}),B3={props:{isAuth:{type:Boolean,required:!1}}},H3={class:"base-auth-icon",width:"32",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},z3={key:0,d:"M28.166 4.125 24.73 7.563 23.166 6",stroke:"#ffffff","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},G3={key:1,d:"m27.541 4.125-3.75 3.75M23.791 4.125l3.75 3.75",stroke:"#ffffff","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"};function q3(e,t,n,r,o,i){return ge(),yt("svg",H3,[t[0]||(t[0]=St("path",{class:"base-auth-icon__icon",d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2M12 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8Z","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)),St("g",null,[St("circle",{class:er(["base-auth-icon__circle",{"base-auth-icon__circle--is-auth":n.isAuth}]),cx:"25.666",cy:"6",r:"6"},null,2),n.isAuth?(ge(),yt("path",z3)):(ge(),yt("path",G3))])])}const K3=Object.assign(hn(B3,[["render",q3],["__scopeId","data-v-bacae087"]]),{__name:"BaseAuthIcon"});var eu={exports:{}},W3=eu.exports,Xy;function Y3(){return Xy||(Xy=1,(function(e,t){(function(r,o){e.exports=o()})(typeof self<"u"?self:W3,function(){return(function(n){var r={};function o(i){if(r[i])return r[i].exports;var s=r[i]={i,l:!1,exports:{}};return n[i].call(s.exports,s,s.exports,o),s.l=!0,s.exports}return o.m=n,o.c=r,o.d=function(i,s,a){o.o(i,s)||Object.defineProperty(i,s,{configurable:!1,enumerable:!0,get:a})},o.r=function(i){Object.defineProperty(i,"__esModule",{value:!0})},o.n=function(i){var s=i&&i.__esModule?function(){return i.default}:function(){return i};return o.d(s,"a",s),s},o.o=function(i,s){return Object.prototype.hasOwnProperty.call(i,s)},o.p="",o(o.s=0)})({"./dist/icons.json":(function(n){n.exports={activity:'',airplay:'',"alert-circle":'',"alert-octagon":'',"alert-triangle":'',"align-center":'',"align-justify":'',"align-left":'',"align-right":'',anchor:'',aperture:'',archive:'',"arrow-down-circle":'',"arrow-down-left":'',"arrow-down-right":'',"arrow-down":'',"arrow-left-circle":'',"arrow-left":'',"arrow-right-circle":'',"arrow-right":'',"arrow-up-circle":'',"arrow-up-left":'',"arrow-up-right":'',"arrow-up":'',"at-sign":'',award:'',"bar-chart-2":'',"bar-chart":'',"battery-charging":'',battery:'',"bell-off":'',bell:'',bluetooth:'',bold:'',"book-open":'',book:'',bookmark:'',box:'',briefcase:'',calendar:'',"camera-off":'',camera:'',cast:'',"check-circle":'',"check-square":'',check:'',"chevron-down":'',"chevron-left":'',"chevron-right":'',"chevron-up":'',"chevrons-down":'',"chevrons-left":'',"chevrons-right":'',"chevrons-up":'',chrome:'',circle:'',clipboard:'',clock:'',"cloud-drizzle":'',"cloud-lightning":'',"cloud-off":'',"cloud-rain":'',"cloud-snow":'',cloud:'',code:'',codepen:'',codesandbox:'',coffee:'',columns:'',command:'',compass:'',copy:'',"corner-down-left":'',"corner-down-right":'',"corner-left-down":'',"corner-left-up":'',"corner-right-down":'',"corner-right-up":'',"corner-up-left":'',"corner-up-right":'',cpu:'',"credit-card":'',crop:'',crosshair:'',database:'',delete:'',disc:'',"divide-circle":'',"divide-square":'',divide:'',"dollar-sign":'',"download-cloud":'',download:'',dribbble:'',droplet:'',"edit-2":'',"edit-3":'',edit:'',"external-link":'',"eye-off":'',eye:'',facebook:'',"fast-forward":'',feather:'',figma:'',"file-minus":'',"file-plus":'',"file-text":'',file:'',film:'',filter:'',flag:'',"folder-minus":'',"folder-plus":'',folder:'',framer:'',frown:'',gift:'',"git-branch":'',"git-commit":'',"git-merge":'',"git-pull-request":'',github:'',gitlab:'',globe:'',grid:'',"hard-drive":'',hash:'',headphones:'',heart:'',"help-circle":'',hexagon:'',home:'',image:'',inbox:'',info:'',instagram:'',italic:'',key:'',layers:'',layout:'',"life-buoy":'',"link-2":'',link:'',linkedin:'',list:'',loader:'',lock:'',"log-in":'',"log-out":'',mail:'',"map-pin":'',map:'',"maximize-2":'',maximize:'',meh:'',menu:'',"message-circle":'',"message-square":'',"mic-off":'',mic:'',"minimize-2":'',minimize:'',"minus-circle":'',"minus-square":'',minus:'',monitor:'',moon:'',"more-horizontal":'',"more-vertical":'',"mouse-pointer":'',move:'',music:'',"navigation-2":'',navigation:'',octagon:'',package:'',paperclip:'',"pause-circle":'',pause:'',"pen-tool":'',percent:'',"phone-call":'',"phone-forwarded":'',"phone-incoming":'',"phone-missed":'',"phone-off":'',"phone-outgoing":'',phone:'',"pie-chart":'',"play-circle":'',play:'',"plus-circle":'',"plus-square":'',plus:'',pocket:'',power:'',printer:'',radio:'',"refresh-ccw":'',"refresh-cw":'',repeat:'',rewind:'',"rotate-ccw":'',"rotate-cw":'',rss:'',save:'',scissors:'',search:'',send:'',server:'',settings:'',"share-2":'',share:'',"shield-off":'',shield:'',"shopping-bag":'',"shopping-cart":'',shuffle:'',sidebar:'',"skip-back":'',"skip-forward":'',slack:'',slash:'',sliders:'',smartphone:'',smile:'',speaker:'',square:'',star:'',"stop-circle":'',sun:'',sunrise:'',sunset:'',table:'',tablet:'',tag:'',target:'',terminal:'',thermometer:'',"thumbs-down":'',"thumbs-up":'',"toggle-left":'',"toggle-right":'',tool:'',"trash-2":'',trash:'',trello:'',"trending-down":'',"trending-up":'',triangle:'',truck:'',tv:'',twitch:'',twitter:'',type:'',umbrella:'',underline:'',unlock:'',"upload-cloud":'',upload:'',"user-check":'',"user-minus":'',"user-plus":'',"user-x":'',user:'',users:'',"video-off":'',video:'',voicemail:'',"volume-1":'',"volume-2":'',"volume-x":'',volume:'',watch:'',"wifi-off":'',wifi:'',wind:'',"x-circle":'',"x-octagon":'',"x-square":'',x:'',youtube:'',"zap-off":'',zap:'',"zoom-in":'',"zoom-out":''}}),"./node_modules/classnames/dedupe.js":(function(n,r,o){var i,s;/*! Copyright (c) 2016 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */(function(){var a=(function(){function l(){}l.prototype=Object.create(null);function u(y,b){for(var v=b.length,E=0;E1?arguments[1]:void 0,b=y!==void 0,v=0,E=f(h),T,x,I,P;if(b&&(y=i(y,m>2?arguments[2]:void 0,2)),E!=null&&!(g==Array&&l(E)))for(P=E.call(h),x=new g;!(I=P.next()).done;v++)c(x,v,b?a(P,y,[I.value,v],!0):I.value);else for(T=u(h.length),x=new g(T);T>v;v++)c(x,v,b?y(h[v],v):h[v]);return x.length=v,x}}),"./node_modules/core-js/internals/array-includes.js":(function(n,r,o){var i=o("./node_modules/core-js/internals/to-indexed-object.js"),s=o("./node_modules/core-js/internals/to-length.js"),a=o("./node_modules/core-js/internals/to-absolute-index.js");n.exports=function(l){return function(u,c,f){var d=i(u),p=s(d.length),h=a(f,p),g;if(l&&c!=c){for(;p>h;)if(g=d[h++],g!=g)return!0}else for(;p>h;h++)if((l||h in d)&&d[h]===c)return l||h||0;return!l&&-1}}}),"./node_modules/core-js/internals/bind-context.js":(function(n,r,o){var i=o("./node_modules/core-js/internals/a-function.js");n.exports=function(s,a,l){if(i(s),a===void 0)return s;switch(l){case 0:return function(){return s.call(a)};case 1:return function(u){return s.call(a,u)};case 2:return function(u,c){return s.call(a,u,c)};case 3:return function(u,c,f){return s.call(a,u,c,f)}}return function(){return s.apply(a,arguments)}}}),"./node_modules/core-js/internals/call-with-safe-iteration-closing.js":(function(n,r,o){var i=o("./node_modules/core-js/internals/an-object.js");n.exports=function(s,a,l,u){try{return u?a(i(l)[0],l[1]):a(l)}catch(f){var c=s.return;throw c!==void 0&&i(c.call(s)),f}}}),"./node_modules/core-js/internals/check-correctness-of-iteration.js":(function(n,r,o){var i=o("./node_modules/core-js/internals/well-known-symbol.js"),s=i("iterator"),a=!1;try{var l=0,u={next:function(){return{done:!!l++}},return:function(){a=!0}};u[s]=function(){return this},Array.from(u,function(){throw 2})}catch{}n.exports=function(c,f){if(!f&&!a)return!1;var d=!1;try{var p={};p[s]=function(){return{next:function(){return{done:d=!0}}}},c(p)}catch{}return d}}),"./node_modules/core-js/internals/classof-raw.js":(function(n,r){var o={}.toString;n.exports=function(i){return o.call(i).slice(8,-1)}}),"./node_modules/core-js/internals/classof.js":(function(n,r,o){var i=o("./node_modules/core-js/internals/classof-raw.js"),s=o("./node_modules/core-js/internals/well-known-symbol.js"),a=s("toStringTag"),l=i((function(){return arguments})())=="Arguments",u=function(c,f){try{return c[f]}catch{}};n.exports=function(c){var f,d,p;return c===void 0?"Undefined":c===null?"Null":typeof(d=u(f=Object(c),a))=="string"?d:l?i(f):(p=i(f))=="Object"&&typeof f.callee=="function"?"Arguments":p}}),"./node_modules/core-js/internals/copy-constructor-properties.js":(function(n,r,o){var i=o("./node_modules/core-js/internals/has.js"),s=o("./node_modules/core-js/internals/own-keys.js"),a=o("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),l=o("./node_modules/core-js/internals/object-define-property.js");n.exports=function(u,c){for(var f=s(c),d=l.f,p=a.f,h=0;h",T="java"+v+":",x;for(m.style.display="none",u.appendChild(m),m.src=String(T),x=m.contentWindow.document,x.open(),x.write(b+v+E+"document.F=Object"+b+"/"+v+E),x.close(),g=x.F;y--;)delete g[p][a[y]];return g()};n.exports=Object.create||function(y,b){var v;return y!==null?(h[p]=i(y),v=new h,h[p]=null,v[d]=y):v=g(),b===void 0?v:s(v,b)},l[d]=!0}),"./node_modules/core-js/internals/object-define-properties.js":(function(n,r,o){var i=o("./node_modules/core-js/internals/descriptors.js"),s=o("./node_modules/core-js/internals/object-define-property.js"),a=o("./node_modules/core-js/internals/an-object.js"),l=o("./node_modules/core-js/internals/object-keys.js");n.exports=i?Object.defineProperties:function(c,f){a(c);for(var d=l(f),p=d.length,h=0,g;p>h;)s.f(c,g=d[h++],f[g]);return c}}),"./node_modules/core-js/internals/object-define-property.js":(function(n,r,o){var i=o("./node_modules/core-js/internals/descriptors.js"),s=o("./node_modules/core-js/internals/ie8-dom-define.js"),a=o("./node_modules/core-js/internals/an-object.js"),l=o("./node_modules/core-js/internals/to-primitive.js"),u=Object.defineProperty;r.f=i?u:function(f,d,p){if(a(f),d=l(d,!0),a(p),s)try{return u(f,d,p)}catch{}if("get"in p||"set"in p)throw TypeError("Accessors not supported");return"value"in p&&(f[d]=p.value),f}}),"./node_modules/core-js/internals/object-get-own-property-descriptor.js":(function(n,r,o){var i=o("./node_modules/core-js/internals/descriptors.js"),s=o("./node_modules/core-js/internals/object-property-is-enumerable.js"),a=o("./node_modules/core-js/internals/create-property-descriptor.js"),l=o("./node_modules/core-js/internals/to-indexed-object.js"),u=o("./node_modules/core-js/internals/to-primitive.js"),c=o("./node_modules/core-js/internals/has.js"),f=o("./node_modules/core-js/internals/ie8-dom-define.js"),d=Object.getOwnPropertyDescriptor;r.f=i?d:function(h,g){if(h=l(h),g=u(g,!0),f)try{return d(h,g)}catch{}if(c(h,g))return a(!s.f.call(h,g),h[g])}}),"./node_modules/core-js/internals/object-get-own-property-names.js":(function(n,r,o){var i=o("./node_modules/core-js/internals/object-keys-internal.js"),s=o("./node_modules/core-js/internals/enum-bug-keys.js"),a=s.concat("length","prototype");r.f=Object.getOwnPropertyNames||function(u){return i(u,a)}}),"./node_modules/core-js/internals/object-get-own-property-symbols.js":(function(n,r){r.f=Object.getOwnPropertySymbols}),"./node_modules/core-js/internals/object-get-prototype-of.js":(function(n,r,o){var i=o("./node_modules/core-js/internals/has.js"),s=o("./node_modules/core-js/internals/to-object.js"),a=o("./node_modules/core-js/internals/shared-key.js"),l=o("./node_modules/core-js/internals/correct-prototype-getter.js"),u=a("IE_PROTO"),c=Object.prototype;n.exports=l?Object.getPrototypeOf:function(f){return f=s(f),i(f,u)?f[u]:typeof f.constructor=="function"&&f instanceof f.constructor?f.constructor.prototype:f instanceof Object?c:null}}),"./node_modules/core-js/internals/object-keys-internal.js":(function(n,r,o){var i=o("./node_modules/core-js/internals/has.js"),s=o("./node_modules/core-js/internals/to-indexed-object.js"),a=o("./node_modules/core-js/internals/array-includes.js"),l=o("./node_modules/core-js/internals/hidden-keys.js"),u=a(!1);n.exports=function(c,f){var d=s(c),p=0,h=[],g;for(g in d)!i(l,g)&&i(d,g)&&h.push(g);for(;f.length>p;)i(d,g=f[p++])&&(~u(h,g)||h.push(g));return h}}),"./node_modules/core-js/internals/object-keys.js":(function(n,r,o){var i=o("./node_modules/core-js/internals/object-keys-internal.js"),s=o("./node_modules/core-js/internals/enum-bug-keys.js");n.exports=Object.keys||function(l){return i(l,s)}}),"./node_modules/core-js/internals/object-property-is-enumerable.js":(function(n,r,o){var i={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,a=s&&!i.call({1:2},1);r.f=a?function(u){var c=s(this,u);return!!c&&c.enumerable}:i}),"./node_modules/core-js/internals/object-set-prototype-of.js":(function(n,r,o){var i=o("./node_modules/core-js/internals/validate-set-prototype-of-arguments.js");n.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var s=!1,a={},l;try{l=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,l.call(a,[]),s=a instanceof Array}catch{}return function(c,f){return i(c,f),s?l.call(c,f):c.__proto__=f,c}})():void 0)}),"./node_modules/core-js/internals/own-keys.js":(function(n,r,o){var i=o("./node_modules/core-js/internals/global.js"),s=o("./node_modules/core-js/internals/object-get-own-property-names.js"),a=o("./node_modules/core-js/internals/object-get-own-property-symbols.js"),l=o("./node_modules/core-js/internals/an-object.js"),u=i.Reflect;n.exports=u&&u.ownKeys||function(f){var d=s.f(l(f)),p=a.f;return p?d.concat(p(f)):d}}),"./node_modules/core-js/internals/path.js":(function(n,r,o){n.exports=o("./node_modules/core-js/internals/global.js")}),"./node_modules/core-js/internals/redefine.js":(function(n,r,o){var i=o("./node_modules/core-js/internals/global.js"),s=o("./node_modules/core-js/internals/shared.js"),a=o("./node_modules/core-js/internals/hide.js"),l=o("./node_modules/core-js/internals/has.js"),u=o("./node_modules/core-js/internals/set-global.js"),c=o("./node_modules/core-js/internals/function-to-string.js"),f=o("./node_modules/core-js/internals/internal-state.js"),d=f.get,p=f.enforce,h=String(c).split("toString");s("inspectSource",function(g){return c.call(g)}),(n.exports=function(g,m,y,b){var v=b?!!b.unsafe:!1,E=b?!!b.enumerable:!1,T=b?!!b.noTargetGet:!1;if(typeof y=="function"&&(typeof m=="string"&&!l(y,"name")&&a(y,"name",m),p(y).source=h.join(typeof m=="string"?m:"")),g===i){E?g[m]=y:u(m,y);return}else v?!T&&g[m]&&(E=!0):delete g[m];E?g[m]=y:a(g,m,y)})(Function.prototype,"toString",function(){return typeof this=="function"&&d(this).source||c.call(this)})}),"./node_modules/core-js/internals/require-object-coercible.js":(function(n,r){n.exports=function(o){if(o==null)throw TypeError("Can't call method on "+o);return o}}),"./node_modules/core-js/internals/set-global.js":(function(n,r,o){var i=o("./node_modules/core-js/internals/global.js"),s=o("./node_modules/core-js/internals/hide.js");n.exports=function(a,l){try{s(i,a,l)}catch{i[a]=l}return l}}),"./node_modules/core-js/internals/set-to-string-tag.js":(function(n,r,o){var i=o("./node_modules/core-js/internals/object-define-property.js").f,s=o("./node_modules/core-js/internals/has.js"),a=o("./node_modules/core-js/internals/well-known-symbol.js"),l=a("toStringTag");n.exports=function(u,c,f){u&&!s(u=f?u:u.prototype,l)&&i(u,l,{configurable:!0,value:c})}}),"./node_modules/core-js/internals/shared-key.js":(function(n,r,o){var i=o("./node_modules/core-js/internals/shared.js"),s=o("./node_modules/core-js/internals/uid.js"),a=i("keys");n.exports=function(l){return a[l]||(a[l]=s(l))}}),"./node_modules/core-js/internals/shared.js":(function(n,r,o){var i=o("./node_modules/core-js/internals/global.js"),s=o("./node_modules/core-js/internals/set-global.js"),a=o("./node_modules/core-js/internals/is-pure.js"),l="__core-js_shared__",u=i[l]||s(l,{});(n.exports=function(c,f){return u[c]||(u[c]=f!==void 0?f:{})})("versions",[]).push({version:"3.1.3",mode:a?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}),"./node_modules/core-js/internals/string-at.js":(function(n,r,o){var i=o("./node_modules/core-js/internals/to-integer.js"),s=o("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(a,l,u){var c=String(s(a)),f=i(l),d=c.length,p,h;return f<0||f>=d?u?"":void 0:(p=c.charCodeAt(f),p<55296||p>56319||f+1===d||(h=c.charCodeAt(f+1))<56320||h>57343?u?c.charAt(f):p:u?c.slice(f,f+2):(p-55296<<10)+(h-56320)+65536)}}),"./node_modules/core-js/internals/to-absolute-index.js":(function(n,r,o){var i=o("./node_modules/core-js/internals/to-integer.js"),s=Math.max,a=Math.min;n.exports=function(l,u){var c=i(l);return c<0?s(c+u,0):a(c,u)}}),"./node_modules/core-js/internals/to-indexed-object.js":(function(n,r,o){var i=o("./node_modules/core-js/internals/indexed-object.js"),s=o("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(a){return i(s(a))}}),"./node_modules/core-js/internals/to-integer.js":(function(n,r){var o=Math.ceil,i=Math.floor;n.exports=function(s){return isNaN(s=+s)?0:(s>0?i:o)(s)}}),"./node_modules/core-js/internals/to-length.js":(function(n,r,o){var i=o("./node_modules/core-js/internals/to-integer.js"),s=Math.min;n.exports=function(a){return a>0?s(i(a),9007199254740991):0}}),"./node_modules/core-js/internals/to-object.js":(function(n,r,o){var i=o("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(s){return Object(i(s))}}),"./node_modules/core-js/internals/to-primitive.js":(function(n,r,o){var i=o("./node_modules/core-js/internals/is-object.js");n.exports=function(s,a){if(!i(s))return s;var l,u;if(a&&typeof(l=s.toString)=="function"&&!i(u=l.call(s))||typeof(l=s.valueOf)=="function"&&!i(u=l.call(s))||!a&&typeof(l=s.toString)=="function"&&!i(u=l.call(s)))return u;throw TypeError("Can't convert object to primitive value")}}),"./node_modules/core-js/internals/uid.js":(function(n,r){var o=0,i=Math.random();n.exports=function(s){return"Symbol(".concat(s===void 0?"":s,")_",(++o+i).toString(36))}}),"./node_modules/core-js/internals/validate-set-prototype-of-arguments.js":(function(n,r,o){var i=o("./node_modules/core-js/internals/is-object.js"),s=o("./node_modules/core-js/internals/an-object.js");n.exports=function(a,l){if(s(a),!i(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype")}}),"./node_modules/core-js/internals/well-known-symbol.js":(function(n,r,o){var i=o("./node_modules/core-js/internals/global.js"),s=o("./node_modules/core-js/internals/shared.js"),a=o("./node_modules/core-js/internals/uid.js"),l=o("./node_modules/core-js/internals/native-symbol.js"),u=i.Symbol,c=s("wks");n.exports=function(f){return c[f]||(c[f]=l&&u[f]||(l?u:a)("Symbol."+f))}}),"./node_modules/core-js/modules/es.array.from.js":(function(n,r,o){var i=o("./node_modules/core-js/internals/export.js"),s=o("./node_modules/core-js/internals/array-from.js"),a=o("./node_modules/core-js/internals/check-correctness-of-iteration.js"),l=!a(function(u){Array.from(u)});i({target:"Array",stat:!0,forced:l},{from:s})}),"./node_modules/core-js/modules/es.string.iterator.js":(function(n,r,o){var i=o("./node_modules/core-js/internals/string-at.js"),s=o("./node_modules/core-js/internals/internal-state.js"),a=o("./node_modules/core-js/internals/define-iterator.js"),l="String Iterator",u=s.set,c=s.getterFor(l);a(String,"String",function(f){u(this,{type:l,string:String(f),index:0})},function(){var d=c(this),p=d.string,h=d.index,g;return h>=p.length?{value:void 0,done:!0}:(g=i(p,h,!0),d.index+=g.length,{value:g,done:!1})})}),"./node_modules/webpack/buildin/global.js":(function(n,r){var o;o=(function(){return this})();try{o=o||Function("return this")()||(0,eval)("this")}catch{typeof window=="object"&&(o=window)}n.exports=o}),"./src/default-attrs.json":(function(n){n.exports={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"}}),"./src/icon.js":(function(n,r,o){Object.defineProperty(r,"__esModule",{value:!0});var i=Object.assign||function(g){for(var m=1;m2&&arguments[2]!==void 0?arguments[2]:[];d(this,g),this.name=m,this.contents=y,this.tags=b,this.attrs=i({},c.default,{class:"feather feather-"+m})}return s(g,[{key:"toSvg",value:function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},b=i({},this.attrs,y,{class:(0,l.default)(this.attrs.class,y.class)});return""+this.contents+""}},{key:"toString",value:function(){return this.contents}}]),g})();function h(g){return Object.keys(g).map(function(m){return m+'="'+g[m]+'"'}).join(" ")}r.default=p}),"./src/icons.js":(function(n,r,o){Object.defineProperty(r,"__esModule",{value:!0});var i=o("./src/icon.js"),s=f(i),a=o("./dist/icons.json"),l=f(a),u=o("./src/tags.json"),c=f(u);function f(d){return d&&d.__esModule?d:{default:d}}r.default=Object.keys(l.default).map(function(d){return new s.default(d,l.default[d],c.default[d])}).reduce(function(d,p){return d[p.name]=p,d},{})}),"./src/index.js":(function(n,r,o){var i=o("./src/icons.js"),s=f(i),a=o("./src/to-svg.js"),l=f(a),u=o("./src/replace.js"),c=f(u);function f(d){return d&&d.__esModule?d:{default:d}}n.exports={icons:s.default,toSvg:l.default,replace:c.default}}),"./src/replace.js":(function(n,r,o){Object.defineProperty(r,"__esModule",{value:!0});var i=Object.assign||function(h){for(var g=1;g0&&arguments[0]!==void 0?arguments[0]:{};if(typeof document>"u")throw new Error("`feather.replace()` only works in a browser environment.");var g=document.querySelectorAll("[data-feather]");Array.from(g).forEach(function(m){return d(m,h)})}function d(h){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},m=p(h),y=m["data-feather"];if(delete m["data-feather"],u.default[y]===void 0){console.warn("feather: '"+y+"' is not a valid icon");return}var b=u.default[y].toSvg(i({},g,m,{class:(0,a.default)(g.class,m.class)})),v=new DOMParser().parseFromString(b,"image/svg+xml"),E=v.querySelector("svg");h.parentNode.replaceChild(E,h)}function p(h){return Array.from(h.attributes).reduce(function(g,m){return g[m.name]=m.value,g},{})}r.default=f}),"./src/tags.json":(function(n){n.exports={activity:["pulse","health","action","motion"],airplay:["stream","cast","mirroring"],"alert-circle":["warning","alert","danger"],"alert-octagon":["warning","alert","danger"],"alert-triangle":["warning","alert","danger"],"align-center":["text alignment","center"],"align-justify":["text alignment","justified"],"align-left":["text alignment","left"],"align-right":["text alignment","right"],anchor:[],archive:["index","box"],"at-sign":["mention","at","email","message"],award:["achievement","badge"],aperture:["camera","photo"],"bar-chart":["statistics","diagram","graph"],"bar-chart-2":["statistics","diagram","graph"],battery:["power","electricity"],"battery-charging":["power","electricity"],bell:["alarm","notification","sound"],"bell-off":["alarm","notification","silent"],bluetooth:["wireless"],"book-open":["read","library"],book:["read","dictionary","booklet","magazine","library"],bookmark:["read","clip","marker","tag"],box:["cube"],briefcase:["work","bag","baggage","folder"],calendar:["date"],camera:["photo"],cast:["chromecast","airplay"],"chevron-down":["expand"],"chevron-up":["collapse"],circle:["off","zero","record"],clipboard:["copy"],clock:["time","watch","alarm"],"cloud-drizzle":["weather","shower"],"cloud-lightning":["weather","bolt"],"cloud-rain":["weather"],"cloud-snow":["weather","blizzard"],cloud:["weather"],codepen:["logo"],codesandbox:["logo"],code:["source","programming"],coffee:["drink","cup","mug","tea","cafe","hot","beverage"],columns:["layout"],command:["keyboard","cmd","terminal","prompt"],compass:["navigation","safari","travel","direction"],copy:["clone","duplicate"],"corner-down-left":["arrow","return"],"corner-down-right":["arrow"],"corner-left-down":["arrow"],"corner-left-up":["arrow"],"corner-right-down":["arrow"],"corner-right-up":["arrow"],"corner-up-left":["arrow"],"corner-up-right":["arrow"],cpu:["processor","technology"],"credit-card":["purchase","payment","cc"],crop:["photo","image"],crosshair:["aim","target"],database:["storage","memory"],delete:["remove"],disc:["album","cd","dvd","music"],"dollar-sign":["currency","money","payment"],droplet:["water"],edit:["pencil","change"],"edit-2":["pencil","change"],"edit-3":["pencil","change"],eye:["view","watch"],"eye-off":["view","watch","hide","hidden"],"external-link":["outbound"],facebook:["logo","social"],"fast-forward":["music"],figma:["logo","design","tool"],"file-minus":["delete","remove","erase"],"file-plus":["add","create","new"],"file-text":["data","txt","pdf"],film:["movie","video"],filter:["funnel","hopper"],flag:["report"],"folder-minus":["directory"],"folder-plus":["directory"],folder:["directory"],framer:["logo","design","tool"],frown:["emoji","face","bad","sad","emotion"],gift:["present","box","birthday","party"],"git-branch":["code","version control"],"git-commit":["code","version control"],"git-merge":["code","version control"],"git-pull-request":["code","version control"],github:["logo","version control"],gitlab:["logo","version control"],globe:["world","browser","language","translate"],"hard-drive":["computer","server","memory","data"],hash:["hashtag","number","pound"],headphones:["music","audio","sound"],heart:["like","love","emotion"],"help-circle":["question mark"],hexagon:["shape","node.js","logo"],home:["house","living"],image:["picture"],inbox:["email"],instagram:["logo","camera"],key:["password","login","authentication","secure"],layers:["stack"],layout:["window","webpage"],"life-buoy":["help","life ring","support"],link:["chain","url"],"link-2":["chain","url"],linkedin:["logo","social media"],list:["options"],lock:["security","password","secure"],"log-in":["sign in","arrow","enter"],"log-out":["sign out","arrow","exit"],mail:["email","message"],"map-pin":["location","navigation","travel","marker"],map:["location","navigation","travel"],maximize:["fullscreen"],"maximize-2":["fullscreen","arrows","expand"],meh:["emoji","face","neutral","emotion"],menu:["bars","navigation","hamburger"],"message-circle":["comment","chat"],"message-square":["comment","chat"],"mic-off":["record","sound","mute"],mic:["record","sound","listen"],minimize:["exit fullscreen","close"],"minimize-2":["exit fullscreen","arrows","close"],minus:["subtract"],monitor:["tv","screen","display"],moon:["dark","night"],"more-horizontal":["ellipsis"],"more-vertical":["ellipsis"],"mouse-pointer":["arrow","cursor"],move:["arrows"],music:["note"],navigation:["location","travel"],"navigation-2":["location","travel"],octagon:["stop"],package:["box","container"],paperclip:["attachment"],pause:["music","stop"],"pause-circle":["music","audio","stop"],"pen-tool":["vector","drawing"],percent:["discount"],"phone-call":["ring"],"phone-forwarded":["call"],"phone-incoming":["call"],"phone-missed":["call"],"phone-off":["call","mute"],"phone-outgoing":["call"],phone:["call"],play:["music","start"],"pie-chart":["statistics","diagram"],"play-circle":["music","start"],plus:["add","new"],"plus-circle":["add","new"],"plus-square":["add","new"],pocket:["logo","save"],power:["on","off"],printer:["fax","office","device"],radio:["signal"],"refresh-cw":["synchronise","arrows"],"refresh-ccw":["arrows"],repeat:["loop","arrows"],rewind:["music"],"rotate-ccw":["arrow"],"rotate-cw":["arrow"],rss:["feed","subscribe"],save:["floppy disk"],scissors:["cut"],search:["find","magnifier","magnifying glass"],send:["message","mail","email","paper airplane","paper aeroplane"],settings:["cog","edit","gear","preferences"],"share-2":["network","connections"],shield:["security","secure"],"shield-off":["security","insecure"],"shopping-bag":["ecommerce","cart","purchase","store"],"shopping-cart":["ecommerce","cart","purchase","store"],shuffle:["music"],"skip-back":["music"],"skip-forward":["music"],slack:["logo"],slash:["ban","no"],sliders:["settings","controls"],smartphone:["cellphone","device"],smile:["emoji","face","happy","good","emotion"],speaker:["audio","music"],star:["bookmark","favorite","like"],"stop-circle":["media","music"],sun:["brightness","weather","light"],sunrise:["weather","time","morning","day"],sunset:["weather","time","evening","night"],tablet:["device"],tag:["label"],target:["logo","bullseye"],terminal:["code","command line","prompt"],thermometer:["temperature","celsius","fahrenheit","weather"],"thumbs-down":["dislike","bad","emotion"],"thumbs-up":["like","good","emotion"],"toggle-left":["on","off","switch"],"toggle-right":["on","off","switch"],tool:["settings","spanner"],trash:["garbage","delete","remove","bin"],"trash-2":["garbage","delete","remove","bin"],triangle:["delta"],truck:["delivery","van","shipping","transport","lorry"],tv:["television","stream"],twitch:["logo"],twitter:["logo","social"],type:["text"],umbrella:["rain","weather"],unlock:["security"],"user-check":["followed","subscribed"],"user-minus":["delete","remove","unfollow","unsubscribe"],"user-plus":["new","add","create","follow","subscribe"],"user-x":["delete","remove","unfollow","unsubscribe","unavailable"],user:["person","account"],users:["group"],"video-off":["camera","movie","film"],video:["camera","movie","film"],voicemail:["phone"],volume:["music","sound","mute"],"volume-1":["music","sound"],"volume-2":["music","sound"],"volume-x":["music","sound","mute"],watch:["clock","time"],"wifi-off":["disabled"],wifi:["connection","signal","wireless"],wind:["weather","air"],"x-circle":["cancel","close","delete","remove","times","clear"],"x-octagon":["delete","stop","alert","warning","times","clear"],"x-square":["cancel","close","delete","remove","times","clear"],x:["cancel","close","delete","remove","times","clear"],youtube:["logo","video","play"],"zap-off":["flash","camera","lightning"],zap:["flash","camera","lightning"],"zoom-in":["magnifying glass"],"zoom-out":["magnifying glass"]}}),"./src/to-svg.js":(function(n,r,o){Object.defineProperty(r,"__esModule",{value:!0});var i=o("./src/icons.js"),s=a(i);function a(u){return u&&u.__esModule?u:{default:u}}function l(u){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(console.warn("feather.toSvg() is deprecated. Please use feather.icons[name].toSvg() instead."),!u)throw new Error("The required `key` (icon name) parameter is missing.");if(!s.default[u])throw new Error("No icon matching '"+u+"'. See the complete list of icons at https://feathericons.com");return s.default[u].toSvg(c)}r.default=l}),0:(function(n,r,o){o("./node_modules/core-js/es/array/from.js"),n.exports=o("./src/index.js")})})})})(eu)),eu.exports}var Jy=Y3();const X3=["innerHTML"],J3=De({__name:"TappIcon",props:{color:{default:"currentColor"},size:{default:()=>{}},icon:{default:"loader"}},setup(e){const t=te(()=>Jy.icons[e.icon]?.contents),n=te(()=>({...fp(),...Jy.icons[e.icon]?.attrs??{},width:e.size??24,height:e.size??24,...e.color&&{stroke:e.color}}));return(r,o)=>(ge(),yt("svg",kt(n.value,{style:{fontSize:r.size?`${r.size}px`:"inherit"},innerHTML:t.value}),null,16,X3))}}),yc=Object.assign(hn(J3,[["__scopeId","data-v-2f4b60e3"]]),{__name:"TappIcon"}),Q3={"aria-label":"Account",class:"base-account-btn","data-testid":"base-account-btn","data-analytics-action":"top_bar_click","data-analytics-category":"navigation","data-analytics-label":"Account","data-analytics-property":""},Z3={key:0,class:"base-account-btn__label"},e5=De({__name:"BaseAccountBtn",props:{isAuth:{type:Boolean,default:!1},showLabel:{type:Boolean,default:!0},isOpen:{type:Boolean,default:!1},user:{default:null}},setup(e){const t=e;return(n,r)=>{const o=K3,i=yc;return ge(),yt("button",Q3,[Me(o,{"is-auth":t.isAuth},null,8,["is-auth"]),t.showLabel?(ge(),yt("span",Z3,cr(n.user||"Account"),1)):tn("",!0),Me(i,{icon:`chevron-${n.isOpen?"up":"down"}`,size:16,class:"base-account-btn__icon"},null,8,["icon"])])}}}),t5=Object.assign(hn(e5,[["__scopeId","data-v-12a991b2"]]),{__name:"BaseAccountBtn"}),n5=["button","span","NuxtLink","a"],r5=["default","small","large"],o5=["primary","secondary","tertiary","ghost","text"],i5=De({__name:"TappButton",props:{disabled:{default:()=>{}},tag:{default:()=>n5[0]},size:{default:()=>r5[0]},variant:{default:()=>o5[0]},fullWidth:{type:Boolean},fullWidthMobile:{type:Boolean},loading:{type:Boolean},pill:{type:Boolean},text:{default:()=>{}},label:{default:()=>{}}},setup(e){const t=fp(),n=te(()=>t.to?lc:e.tag);return(r,o)=>{const i=yc;return ge(),Ge(fi(Y(n)),{class:er(["tapp-button",[`tapp-button--${r.size}`,`tapp-button--${r.variant}`,{"tapp-button--full-width":r.fullWidth},{"tapp-button--full-width-mobile":r.fullWidthMobile},{"tapp-button--pill":r.pill},{"tapp-button--loading":r.loading}]]),"aria-label":r.label||r.text,disabled:r.disabled},{default:He(()=>[pt(r.$slots,"default",{},()=>[mo(cr(r.text),1)],!0),r.loading?(ge(),Ge(i,{key:0,icon:"loader",class:"tapp-button__icon",size:24})):tn("",!0)]),_:3},8,["aria-label","class","disabled"])}}}),FE=Object.assign(hn(i5,[["__scopeId","data-v-fc8264e4"]]),{__name:"TappButton"});function u4(e,t){var n;const r=Gn();return go(()=>{r.value=e()},{...t,flush:(n=void 0)!=null?n:"sync"}),Wu(r)}function Ga(e){return Vo()?(Uo(e),!0):!1}function c4(){const e=new Set,t=i=>{e.delete(i)};return{on:i=>{e.add(i);const s=()=>t(i);return Ga(s),{off:s}},off:t,trigger:(...i)=>Promise.all(Array.from(e).map(s=>s(...i))),clear:()=>{e.clear()}}}function s5(e){let t=!1,n;const r=Oa(!0);return(...o)=>(t||(n=r.run(()=>e(...o)),t=!0),n)}const Ef=new WeakMap,a5=(...e)=>{var t;const n=e[0],r=(t=Ot())==null?void 0:t.proxy;if(r==null&&!bo())throw new Error("injectLocal must be called in setup");return r&&Ef.has(r)&&n in Ef.get(r)?Ef.get(r)[n]:Ut(...e)};function l5(e){let t=0,n,r;const o=()=>{t-=1,r&&t<=0&&(r.stop(),n=void 0,r=void 0)};return(...i)=>(t+=1,r||(r=Oa(!0),n=r.run(()=>e(...i))),Ga(o),n)}function u5(e){if(!At(e))return dn(e);const t=new Proxy({},{get(n,r,o){return Y(Reflect.get(e.value,r,o))},set(n,r,o){return At(e.value[r])&&!At(o)?e.value[r].value=o:e.value[r]=o,!0},deleteProperty(n,r){return Reflect.deleteProperty(e.value,r)},has(n,r){return Reflect.has(e.value,r)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return dn(t)}function c5(e){return u5(te(e))}function f4(e,...t){const n=t.flat(),r=n[0];return c5(()=>Object.fromEntries(typeof r=="function"?Object.entries(ou(e)).filter(([o,i])=>!r(ft(i),o)):Object.entries(ou(e)).filter(o=>!n.includes(o[0]))))}const zo=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const f5=e=>typeof e<"u",d5=Object.prototype.toString,p5=e=>d5.call(e)==="[object Object]",Tf=()=>{},zd=h5();function h5(){var e,t;return zo&&((e=window?.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window?.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function Qy(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function UE(e){return Ot()}function wf(e){return Array.isArray(e)?e:[e]}function d4(e,t=1e4){return Xu((n,r)=>{let o=ft(e),i;const s=()=>setTimeout(()=>{o=ft(e),r()},ft(t));return Ga(()=>{clearTimeout(i)}),{get(){return n(),o},set(a){o=a,r(),clearTimeout(i),i=s()}}})}const p4=ft;function g5(e,t){UE()&&Ai(e,t)}function m5(e,t=!0,n){UE()?pn(e,n):t?e():rn(e)}function h4(e,t,n={}){const{immediate:r=!0}=n,o=Fe(!1);let i=null;function s(){i&&(clearTimeout(i),i=null)}function a(){o.value=!1,s()}function l(...u){s(),o.value=!0,i=setTimeout(()=>{o.value=!1,i=null,e(...u)},ft(t))}return r&&(o.value=!0,zo&&l()),Ga(a),{isPending:Wu(o),start:l,stop:a}}function y5(e,t,n){return It(e,t,{...n,immediate:!0})}const Ss=zo?window:void 0;function Do(e){var t;const n=ft(e);return(t=n?.$el)!=null?t:n}function Jn(...e){const t=[],n=()=>{t.forEach(a=>a()),t.length=0},r=(a,l,u,c)=>(a.addEventListener(l,u,c),()=>a.removeEventListener(l,u,c)),o=te(()=>{const a=wf(ft(e[0])).filter(l=>l!=null);return a.every(l=>typeof l!="string")?a:void 0}),i=y5(()=>{var a,l;return[(l=(a=o.value)==null?void 0:a.map(u=>Do(u)))!=null?l:[Ss].filter(u=>u!=null),wf(ft(o.value?e[1]:e[0])),wf(Y(o.value?e[2]:e[1])),ft(o.value?e[3]:e[2])]},([a,l,u,c])=>{if(n(),!a?.length||!l?.length||!u?.length)return;const f=p5(c)?{...c}:c;t.push(...a.flatMap(d=>l.flatMap(p=>u.map(h=>r(d,p,h,f)))))},{flush:"post"}),s=()=>{i(),n()};return Ga(n),s}let Zy=!1;function v5(e,t,n={}){const{window:r=Ss,ignore:o=[],capture:i=!0,detectIframe:s=!1}=n;if(!r)return Tf;if(zd&&!Zy){Zy=!0;const g={passive:!0};Array.from(r.document.body.children).forEach(m=>Jn(m,"click",Tf,g)),Jn(r.document.documentElement,"click",Tf,g)}let a=!0;const l=g=>ft(o).some(m=>{if(typeof m=="string")return Array.from(r.document.querySelectorAll(m)).some(y=>y===g.target||g.composedPath().includes(y));{const y=Do(m);return y&&(g.target===y||g.composedPath().includes(y))}});function u(g){const m=ft(g);return m&&m.$.subTree.shapeFlag===16}function c(g,m){const y=ft(g),b=y.$.subTree&&y.$.subTree.children;return b==null||!Array.isArray(b)?!1:b.some(v=>v.el===m.target||m.composedPath().includes(v.el))}const f=g=>{const m=Do(e);if(g.target!=null&&!(!(m instanceof Element)&&u(e)&&c(e,g))&&!(!m||m===g.target||g.composedPath().includes(m))){if(g.detail===0&&(a=!l(g)),!a){a=!0;return}t(g)}};let d=!1;const p=[Jn(r,"click",g=>{d||(d=!0,setTimeout(()=>{d=!1},0),f(g))},{passive:!0,capture:i}),Jn(r,"pointerdown",g=>{const m=Do(e);a=!l(g)&&!!(m&&!g.composedPath().includes(m))},{passive:!0}),s&&Jn(r,"blur",g=>{setTimeout(()=>{var m;const y=Do(e);((m=r.document.activeElement)==null?void 0:m.tagName)==="IFRAME"&&!y?.contains(r.document.activeElement)&&t(g)},0)},{passive:!0})].filter(Boolean);return()=>p.forEach(g=>g())}function jE(){const e=Fe(!1),t=Ot();return t&&pn(()=>{e.value=!0},t),e}function _5(e){const t=jE();return te(()=>(t.value,!!e()))}function b5(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function VE(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:o=Ss,eventName:i="keydown",passive:s=!1,dedupe:a=!1}=r,l=b5(t);return Jn(o,i,c=>{c.repeat&&ft(a)||l(c)&&n(c)},s)}const E5=Symbol("vueuse-ssr-width");function T5(){const e=bo()?a5(E5,null):null;return typeof e=="number"?e:void 0}function w5(e,t={}){const{window:n=Ss,ssrWidth:r=T5()}=t,o=_5(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=Fe(typeof r=="number"),s=Gn(),a=Fe(!1),l=u=>{a.value=u.matches};return go(()=>{if(i.value){i.value=!o.value;const u=ft(e).split(",");a.value=u.some(c=>{const f=c.includes("not all"),d=c.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),p=c.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let h=!!(d||p);return d&&h&&(h=r>=Qy(d[1])),p&&h&&(h=r<=Qy(p[1])),f?!h:h});return}o.value&&(s.value=n.matchMedia(ft(e)),a.value=s.value.matches)}),Jn(s,"change",l,{passive:!0}),te(()=>a.value)}function S5(e){return JSON.parse(JSON.stringify(e))}function g4(e,t={}){const{threshold:n=50,onSwipe:r,onSwipeEnd:o,onSwipeStart:i,passive:s=!0}=t,a=dn({x:0,y:0}),l=dn({x:0,y:0}),u=te(()=>a.x-l.x),c=te(()=>a.y-l.y),{max:f,abs:d}=Math,p=te(()=>f(d(u.value),d(c.value))>=n),h=Fe(!1),g=te(()=>p.value?d(u.value)>d(c.value)?u.value>0?"left":"right":c.value>0?"up":"down":"none"),m=I=>[I.touches[0].clientX,I.touches[0].clientY],y=(I,P)=>{a.x=I,a.y=P},b=(I,P)=>{l.x=I,l.y=P},v={passive:s,capture:!s},E=I=>{h.value&&o?.(I,g.value),h.value=!1},T=[Jn(e,"touchstart",I=>{if(I.touches.length!==1)return;const[P,M]=m(I);y(P,M),b(P,M),i?.(I)},v),Jn(e,"touchmove",I=>{if(I.touches.length!==1)return;const[P,M]=m(I);b(P,M),v.capture&&!v.passive&&Math.abs(u.value)>Math.abs(c.value)&&I.preventDefault(),!h.value&&p.value&&(h.value=!0),h.value&&r?.(I)},v),Jn(e,["touchend","touchcancel"],E,v)];return{isSwiping:h,direction:g,coordsStart:a,coordsEnd:l,lengthX:u,lengthY:c,stop:()=>T.forEach(I=>I()),isPassiveEventSupported:!0}}function A5(e,t,n,r={}){var o,i,s;const{clone:a=!1,passive:l=!1,eventName:u,deep:c=!1,defaultValue:f,shouldEmit:d}=r,p=Ot(),h=n||p?.emit||((o=p?.$emit)==null?void 0:o.bind(p))||((s=(i=p?.proxy)==null?void 0:i.$emit)==null?void 0:s.bind(p?.proxy));let g=u;t||(t="modelValue"),g=g||`update:${t.toString()}`;const m=v=>a?typeof a=="function"?a(v):S5(v):v,y=()=>f5(e[t])?m(e[t]):f,b=v=>{d?d(v)&&h(g,v):h(g,v)};if(l){const v=y(),E=Fe(v);let T=!1;return It(()=>e[t],x=>{T||(T=!0,E.value=m(x),rn(()=>T=!1))}),It(E,x=>{!T&&(x!==e[t]||c)&&b(x)},{deep:c}),E}else return te({get(){return y()},set(v){b(v)}})}function m4(e={}){const{window:t=Ss,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:o=!0,includeScrollbar:i=!0,type:s="inner"}=e,a=Fe(n),l=Fe(r),u=()=>{if(t)if(s==="outer")a.value=t.outerWidth,l.value=t.outerHeight;else if(s==="visual"&&t.visualViewport){const{width:f,height:d,scale:p}=t.visualViewport;a.value=Math.round(f*p),l.value=Math.round(d*p)}else i?(a.value=t.innerWidth,l.value=t.innerHeight):(a.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight)};u(),m5(u);const c={passive:!0};if(Jn("resize",u,c),t&&s==="visual"&&t.visualViewport&&Jn(t.visualViewport,"resize",u,c),o){const f=w5("(orientation: portrait)");It(f,()=>u())}return{width:a,height:l}}const I5=De({__name:"AccountDropdownItem",props:{label:{default:"Item"},to:{},icon:{default:"alert-triangle"},tag:{default:"NuxtLink"},onClick:{}},setup(e){const t=e,n=te(()=>t.to?lc:["a","button"].includes(t.tag)?t.tag:Mf(t.tag));function r(o){t.onClick&&(o.preventDefault(),t.onClick())}return(o,i)=>{const s=yc;return ge(),yt("div",null,[o.$slots.default?pt(o.$slots,"default",{key:0},void 0,!0):(ge(),Ge(fi(Y(n)),{key:1,to:t.to,class:"tapp-dropdown-item","data-analytics-category":"navigation","data-analytics-action":"dropdown_button_click","data-analytics-label":t.label,onClick:r},{default:He(()=>[t.icon?(ge(),Ge(s,{key:0,icon:t.icon,size:20},null,8,["icon"])):tn("",!0),mo(" "+cr(t.label),1)]),_:1},8,["to","data-analytics-label"]))])}}}),R5=Object.assign(hn(I5,[["__scopeId","data-v-ee966fe9"]]),{__name:"BaseAccountDropdownItem"}),O5={class:"base-dropdown"},x5={key:0,class:"base-dropdown__inner"},C5={class:"base-dropdown__footer"},N5=De({__name:"AccountDropdown",props:{items:{default:void 0}},setup(e){const t=e,n=Fe(!1),r=Fe(null);function o(){n.value=!n.value}return v5(r,()=>{n.value=!1}),(i,s)=>(ge(),yt("div",O5,[St("div",{ref_key:"dropdownRef",ref:r,class:"base-dropdown__trigger","data-testid":"base-dropdown-trigger",onClick:o},[pt(i.$slots,"trigger",{isOpen:Y(n)},void 0,!0)],512),Y(n)?(ge(),yt("div",x5,[i.$slots.default?pt(i.$slots,"default",{key:0},void 0,!0):(ge(!0),yt(Dt,{key:1},__(t.items,a=>(ge(),Ge(R5,kt({ref_for:!0},a,{key:a.label}),null,16))),128)),St("div",C5,[pt(i.$slots,"footer",{},void 0,!0)])])):tn("",!0)]))}}),L5=Object.assign(hn(N5,[["__scopeId","data-v-6ed54cba"]]),{__name:"BaseAccountDropdown"}),D5=De({__name:"BaseAccountMenu",props:{isAuth:{type:Boolean},user:{},items:{}},emits:["logout","login"],setup(e,{emit:t}){const n=t,r=e,o=te(()=>r.isAuth&&r.items?[...r.items,{label:"Uitloggen",icon:"log-out",tag:"button",onClick:()=>n("logout")}]:r.items);return(i,s)=>{const a=t5,l=FE,u=L5;return ge(),Ge(u,{items:Y(o)},b_({trigger:He(({isOpen:c})=>[Me(a,{"is-auth":r.isAuth,"is-open":c,"show-label":!0,user:i.user},null,8,["is-auth","is-open","user"])]),_:2},[r?.isAuth?void 0:{name:"footer",fn:He(()=>[Me(l,{"data-testid":"dropdown-login-button","full-width":"",label:"Login",size:"large",onClick:s[0]||(s[0]=c=>n("login"))},{default:He(()=>[mo(cr(i.$t("components.baseAccountMenu.login")),1)]),_:1})]),key:"0"}]),1032,["items"])}}}),k5=Object.assign(hn(D5,[["__scopeId","data-v-5882a6a4"]]),{__name:"BaseAccountMenu"}),$E=e=>typeof e=="object"&&e!==null,ev=e=>$E(e)&&!(e instanceof RegExp)&&!(e instanceof Error)&&!(e instanceof Date),P5=Symbol("mapObjectSkip"),Gd=(e,t,n,r=new WeakMap)=>{if(n={deep:!1,target:{},...n},r.has(e))return r.get(e);r.set(e,n.target);const{target:o}=n;delete n.target;const i=s=>s.map(a=>ev(a)?Gd(a,t,n,r):a);if(Array.isArray(e))return i(e);for(const[s,a]of Object.entries(e)){const l=t(s,a,e);if(l===P5)continue;let[u,c,{shouldRecurse:f=!0}={}]=l;u!=="__proto__"&&(n.deep&&f&&ev(c)&&(c=Array.isArray(c)?i(c):Gd(c,t,n,r)),o[u]=c)}return o};function tv(e,t,n){if(!$E(e))throw new TypeError(`Expected an object, got \`${e}\` (${typeof e})`);return Gd(e,t,n)}const M5=/[\p{Lu}]/u,F5=/[\p{Ll}]/u,nv=/^[\p{Lu}](?![\p{Lu}])/gu,BE=/([\p{Alpha}\p{N}_]|$)/u,eh=/[_.\- ]+/,U5=new RegExp("^"+eh.source),rv=new RegExp(eh.source+BE.source,"gu"),ov=new RegExp("\\d+"+BE.source,"gu"),j5=(e,t,n,r)=>{let o=!1,i=!1,s=!1,a=!1;for(let l=0;l2?e[l-3]==="-":!0,o&&M5.test(u)?(e=e.slice(0,l)+"-"+e.slice(l),o=!1,s=i,i=!0,l++):i&&s&&F5.test(u)&&(!a||r)?(e=e.slice(0,l-1)+"-"+e.slice(l-1),s=i,i=!1,o=!0):(o=t(u)===u&&n(u)!==u,s=i,i=n(u)===u&&t(u)!==u)}return e},V5=(e,t)=>(nv.lastIndex=0,e.replaceAll(nv,n=>t(n))),$5=(e,t)=>(rv.lastIndex=0,ov.lastIndex=0,e.replaceAll(ov,(n,r,o)=>["_","-"].includes(e.charAt(o+n.length))?n:t(n)).replaceAll(rv,(n,r)=>t(r)));function B5(e,t){if(!(typeof e=="string"||Array.isArray(e)))throw new TypeError("Expected the input to be `string | string[]`");if(t={pascalCase:!1,preserveConsecutiveUppercase:!1,...t},Array.isArray(e)?e=e.map(i=>i.trim()).filter(i=>i.length).join("-"):e=e.trim(),e.length===0)return"";const n=t.locale===!1?i=>i.toLowerCase():i=>i.toLocaleLowerCase(t.locale),r=t.locale===!1?i=>i.toUpperCase():i=>i.toLocaleUpperCase(t.locale);return e.length===1?eh.test(e)?"":t.pascalCase?r(e):n(e):(e!==n(e)&&(e=j5(e,n,r,t.preserveConsecutiveUppercase)),e=e.replace(U5,""),e=t.preserveConsecutiveUppercase?V5(e,n):n(e),t.pascalCase&&(e=r(e.charAt(0))+e.slice(1)),$5(e,r))}class H5 extends Map{constructor(t={}){if(super(),!(t.maxSize&&t.maxSize>0))throw new TypeError("`maxSize` must be a number greater than 0");if(typeof t.maxAge=="number"&&t.maxAge===0)throw new TypeError("`maxAge` must be a number greater than 0");this.maxSize=t.maxSize,this.maxAge=t.maxAge||Number.POSITIVE_INFINITY,this.onEviction=t.onEviction,this.cache=new Map,this.oldCache=new Map,this._size=0}_emitEvictions(t){if(typeof this.onEviction=="function")for(const[n,r]of t)this.onEviction(n,r.value)}_deleteIfExpired(t,n){return typeof n.expiry=="number"&&n.expiry<=Date.now()?(typeof this.onEviction=="function"&&this.onEviction(t,n.value),this.delete(t)):!1}_getOrDeleteIfExpired(t,n){if(this._deleteIfExpired(t,n)===!1)return n.value}_getItemValue(t,n){return n.expiry?this._getOrDeleteIfExpired(t,n):n.value}_peek(t,n){const r=n.get(t);return this._getItemValue(t,r)}_set(t,n){this.cache.set(t,n),this._size++,this._size>=this.maxSize&&(this._size=0,this._emitEvictions(this.oldCache),this.oldCache=this.cache,this.cache=new Map)}_moveToRecent(t,n){this.oldCache.delete(t),this._set(t,n)}*_entriesAscending(){for(const t of this.oldCache){const[n,r]=t;this.cache.has(n)||this._deleteIfExpired(n,r)===!1&&(yield t)}for(const t of this.cache){const[n,r]=t;this._deleteIfExpired(n,r)===!1&&(yield t)}}get(t){if(this.cache.has(t)){const n=this.cache.get(t);return this._getItemValue(t,n)}if(this.oldCache.has(t)){const n=this.oldCache.get(t);if(this._deleteIfExpired(t,n)===!1)return this._moveToRecent(t,n),n.value}}set(t,n,{maxAge:r=this.maxAge}={}){const o=typeof r=="number"&&r!==Number.POSITIVE_INFINITY?Date.now()+r:void 0;return this.cache.has(t)?this.cache.set(t,{value:n,expiry:o}):this._set(t,{value:n,expiry:o}),this}has(t){return this.cache.has(t)?!this._deleteIfExpired(t,this.cache.get(t)):this.oldCache.has(t)?!this._deleteIfExpired(t,this.oldCache.get(t)):!1}peek(t){if(this.cache.has(t))return this._peek(t,this.cache);if(this.oldCache.has(t))return this._peek(t,this.oldCache)}delete(t){const n=this.cache.delete(t);return n&&this._size--,this.oldCache.delete(t)||n}clear(){this.cache.clear(),this.oldCache.clear(),this._size=0}resize(t){if(!(t&&t>0))throw new TypeError("`maxSize` must be a number greater than 0");const n=[...this._entriesAscending()],r=n.length-t;r<0?(this.cache=new Map(n),this.oldCache=new Map,this._size=n.length):(r>0&&this._emitEvictions(n.slice(0,r)),this.oldCache=new Map(n.slice(r)),this.cache=new Map,this._size=0),this.maxSize=t}*keys(){for(const[t]of this)yield t}*values(){for(const[,t]of this)yield t}*[Symbol.iterator](){for(const t of this.cache){const[n,r]=t;this._deleteIfExpired(n,r)===!1&&(yield[n,r.value])}for(const t of this.oldCache){const[n,r]=t;this.cache.has(n)||this._deleteIfExpired(n,r)===!1&&(yield[n,r.value])}}*entriesDescending(){let t=[...this.cache];for(let n=t.length-1;n>=0;--n){const r=t[n],[o,i]=r;this._deleteIfExpired(o,i)===!1&&(yield[o,i.value])}t=[...this.oldCache];for(let n=t.length-1;n>=0;--n){const r=t[n],[o,i]=r;this.cache.has(o)||this._deleteIfExpired(o,i)===!1&&(yield[o,i.value])}}*entriesAscending(){for(const[t,n]of this._entriesAscending())yield[t,n.value]}get size(){if(!this._size)return this.oldCache.size;let t=0;for(const n of this.oldCache.keys())this.cache.has(n)||t++;return Math.min(this._size+t,this.maxSize)}entries(){return this.entriesAscending()}forEach(t,n=this){for(const[r,o]of this.entriesAscending())t.call(n,o,r,this)}get[Symbol.toStringTag](){return JSON.stringify([...this.entriesAscending()])}}const z5=(e,t)=>e.some(n=>typeof n=="string"?n===t:(n.lastIndex=0,n.test(t))),Sf=new H5({maxSize:1e5}),iv=e=>typeof e=="object"&&e!==null&&!(e instanceof RegExp)&&!(e instanceof Error)&&!(e instanceof Date),sv=(e,t={})=>{if(!iv(e))return e;const{exclude:n,pascalCase:r=!1,stopPaths:o,deep:i=!1,preserveConsecutiveUppercase:s=!1}=t,a=new Set(o),l=u=>(c,f)=>{if(i&&iv(f)){const d=u===void 0?c:`${u}.${c}`;a.has(d)||(f=tv(f,l(d)))}if(!(n&&z5(n,c))){const d=r?`${c}_`:c;if(Sf.has(d))c=Sf.get(d);else{const p=B5(c,{pascalCase:r,locale:!1,preserveConsecutiveUppercase:s});c.length<100&&Sf.set(d,p),c=p}}return[c,f]};return tv(e,l(void 0))};function HE(e,t){return Array.isArray(e)?Object.keys(e).map(n=>sv(e[n],t)):sv(e,t)}var Fl={exports:{}},av;function G5(){if(av)return Fl.exports;av=1;const e=o=>typeof o=="object"&&o!==null,t=Symbol("skip"),n=o=>e(o)&&!(o instanceof RegExp)&&!(o instanceof Error)&&!(o instanceof Date),r=(o,i,s,a=new WeakMap)=>{if(s={deep:!1,target:{},...s},a.has(o))return a.get(o);a.set(o,s.target);const{target:l}=s;delete s.target;const u=c=>c.map(f=>n(f)?r(f,i,s,a):f);if(Array.isArray(o))return u(o);for(const[c,f]of Object.entries(o)){const d=i(c,f,o);if(d===t)continue;let[p,h,{shouldRecurse:g=!0}={}]=d;p!=="__proto__"&&(s.deep&&g&&n(h)&&(h=Array.isArray(h)?u(h):r(h,i,s,a)),l[p]=h)}return l};return Fl.exports=(o,i,s)=>{if(!e(o))throw new TypeError(`Expected an object, got \`${o}\` (${typeof o})`);return r(o,i,s)},Fl.exports.mapObjectSkip=t,Fl.exports}var Vu=function(){return Vu=Object.assign||function(t){for(var n,r=1,o=arguments.length;r{const n=typeof e=="string"?e:e.url,r=typeof e=="string"?t?.method||"get":e.method,o=typeof e=="string"?t?.body:e.data,i=await $fetch(n,{...o?{body:Sa(o,{deep:!0})}:{},...typeof e!="string"&&e?.params&&{params:Sa(e?.params,{exclude:["includes[]"]})},method:r,...t,headers:{...t?.headers}});return HE(i,{deep:!0})},nV=(e,t,n)=>Eo({url:`/front-office/v1/business-hours/${e}/${t}`,method:"GET"},n),rV=(e,t)=>Eo({url:"/front-office/v1/tokens/replace",method:"POST",headers:{"Content-Type":"application/json"},data:e},t),oV=(e,t)=>Eo({url:"/front-office/v2/brand-data",method:"GET",params:e},t),iV=(e,t)=>Eo({url:"/front-office/v1/magazine/subscription",method:"GET",params:e},t),sV=(e,t)=>Eo({url:"/front-office/v1/subscriptions/cancel",method:"PUT",headers:{"Content-Type":"application/json"},data:e},t),y4=(e,t)=>Eo({url:"/front-office/v1/subscriptions/modify",method:"PUT",headers:{"Content-Type":"application/json"},data:e},t),aV=(e,t)=>Eo({url:"/front-office/v2/account/subscriptions",method:"GET",params:e},t),v4=(e,t)=>Eo({url:"/front-office/v4/retention-propositions",method:"POST",headers:{"Content-Type":"application/json"},data:e},t),lV=(e,t)=>Eo({url:"/front-office/v4/propositions",method:"GET",params:e},t);function If(e){return Array.isArray(e)?e[0]??"":e||""}function As(){const{public:e}=Mt(),t=Vt(),n=If(t.currentRoute.value.params.brandCode),r=Object.fromEntries(Object.entries(t.currentRoute.value.query).map(([u,c])=>[u.toLowerCase(),c])),o=e.STAGE!=="production"?If(r.brandcode):void 0,i=pO(void 0||""),a=If(r.brandcodebe)||o||n,l=gO({brandCode:a,hostname:i});return mt("brandCode",()=>l||"")}function Hr(){const e=As(),t=mt("$63l50zpAsJ"),{$logger:n}=Ve();async function r(){if(e.value&&!t.value)try{const d=await oV({title:e.value});if(t.value=d.find(p=>p.code===e.value),!t.value)throw new Error("[getBrandDataV2] brand could not be found")}catch(d){n.log({error:d,title:"Error fetching brand"})}}const o=te(()=>t.value?.formal===!0),i=te(()=>t.value?.type),s=te(()=>i.value==="magazine"),a=te(()=>o.value&&t.value?.country==="be"?"be-formal":t.value?.country==="be"?"be":o.value&&t.value?.country==="nl"?"nl-formal":"nl"),l=te(()=>t.value?.domain||""),u=te(()=>t.value?.name),c=te(()=>t.value),f=te(()=>o.value?"formal":"informal");return{brand:c,fetchCurrentBrand:r,brandCode:e,brandIsFormal:o,brandType:i,brandIsMagazine:s,brandLocale:a,brandDomain:l,brandName:u,formality:f}}function th(){yo();const e=Vt(),{path:t}=e.currentRoute.value;let n;return n=new URL(window.location.href),n.search="",n.hash="",n.pathname.includes(t)&&t.length>1&&t!=="/"&&(n.pathname=n.pathname.replace(t,"")),{baseURL:n.href.endsWith("/")?n.href.slice(0,-1):n.href}}function uV(e,t){e=e||window.location.href;const r=`https://account.${Ts(window.location.host)}/login?callback_url=${encodeURIComponent(e)}&login_hint=${encodeURIComponent(t||"")}${t?"&prompt=login":""}`;window.location.href=r}function cV({callbackUrl:e,email:t}){const n=yo().host;return`https://account.${Ts(n)}/login?callback_url=${encodeURIComponent(e)}&login_hint=${encodeURIComponent(t||"")}${t?"&prompt=login":""}`}function fV(e){e=e||window.location.href;const n=`https://account.${Ts(window.location.host)}/logout?callback_url=${encodeURIComponent(e)}`;window.ssoLogout?window.ssoLogout.logout({logoutUrl:n,logoUrl:""}):window.location.href=n}function dV(e){const t=yo().host;return`https://account.${Ts(t)}/logout?callback_url=${encodeURIComponent(e)}`}function pV({country:e,type:t}){if(e==="nl"){if(t==="magazine")return"NL-Magazines";if(t==="paper")return"NL-Newspaper"}return e==="be"?t==="paper"?"BE-Newspaper":"BE-TV/Radio":"NL-Newspaper"}function hV(e){if(!window.ssoDetection)return;e={loggedInEmail:"",intraSsoEnabled:!0,automaticLoginEnabled:!0,multipleSessionsPopupEnabled:!0,callBacks:{},...e};const{country:t,type:n,loggedInEmail:r,intraSsoEnabled:o,automaticLoginEnabled:i,multipleSessionsPopupEnabled:s,callBacks:a}=e,l=Ts(window.location.host),u=XO(window.location.host);if(![".nl",".be"].includes(u))return;const c=pV({country:t,type:n}),f={loggedInEmail:r,intraSsoEnabled:o,automaticLoginEnabled:i,multipleSessionsPopupEnabled:s,authorizeUrl:()=>`https://account.${l}/login?callback_url=${encodeURIComponent(window.location.href)}`,topLevelDomain:u,bannerConfig:c,...a};window.ssoDetection.trigger(f)}function gV(e){switch(!0){case(e==="m"||e==="male"):return"M";case(e==="f"||e==="female"):return"F";default:return"U"}}function nh(){const e=ns("userinfo"),t=ns("isAuth",()=>!1),n=ns("isPipDisabled");return{initSso:hV,login:uV,getLoginUrl:cV,logout:fV,getLogoutUrl:dV,userinfo:e,isAuth:t,isPipDisabled:n,normalizeGender:gV}}function zE(){const e=mt("abonIban4"),{$logger:t}=Ve();async function n({abon:o,iban4:i}){try{await $fetch("/api/storeAbonIban4",{method:"GET",query:{abon:o,iban4:i}}),e.value={abon:o,iban4:i}}catch(s){t.log({error:s,message:"Failed to store abonIban4",title:"Error storing abonIban4"})}}async function r(){await $fetch("/api/deleteAbonIban4",{method:"GET"})}return{abonIban4:e,storeAbonIban4:n,deleteAbonIban4:r}}function mV(){const{baseURL:e}=th(),t=mt("callbackDestination"),n=te(()=>`${e}/abonnee?loginType=pip`),r=mt("isMagazineLoginModalOpen");function o({path:a,switchType:l,href:u}){r.value=!0,t.value={path:a,switchType:l,href:u}}function i(){r.value=!0}function s(){r.value=!1}return{callbackDestination:t,fallbackDestination:n,isModalOpen:r,openModal:i,startMagazineLoginFlow:o,closeModal:s}}function vc(){const{brandIsMagazine:e}=Hr(),{baseURL:t}=th(),n=nh(),{abonIban4:r,deleteAbonIban4:o}=zE(),{openModal:i}=mV();function s(p,h){for(const g in h){const m=h[g];Array.isArray(m)?m.forEach(y=>p.searchParams.append(g,y||"")):p.searchParams.append(g,m||"")}return p}function a({email:p}){const h=yo().search,g=h?Object.fromEntries(new URLSearchParams(h).entries()):{},m=s(new URL(`${t}/abonnee?loginType=pip`),g);return n.getLoginUrl({email:p,callbackUrl:m.href})}async function l(){const p=yo().href;r.value&&(await o(),window.location.reload()),n.isAuth.value&&n.logout(p)}const u=te(()=>!!(n.isAuth.value||r.value)),c=te(()=>{if(n.isAuth.value)return"pip";if(r.value)return"abonnr"});function f(){e.value?i():xo(a({email:""}),{external:!0})}function d(){const p=document.querySelector("#landing-other-options input");p?.scrollIntoView({behavior:"smooth",inline:"nearest"}),p&&p.focus()}return{isAuth:u,loginType:c,logout:l,getPipLoginUrl:a,handleLoginBtnClick:f,scrollToMagazineLoginBlock:d}}function qa(){const e=As(),t=mt("phoneNumber"),n=Oi(),r=Vt();async function o(){const{data:i}=await $fetch("/front-office/v2/phone-numbers",{method:"GET",query:{mid:n,title:e.value},headers:{"X-Client-Path":r.currentRoute.value.path}});t.value=i?.[0]}return{fetchPhoneNumber:o,phoneNumber:t}}/*! * vue-i18n v10.0.8 * (c) 2025 kazuya kawaguchi * Released under the MIT License. */const yV="10.0.8";function vV(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Va().__INTLIFY_PROD_DEVTOOLS__=!1)}const ys={UNEXPECTED_RETURN_TYPE:Db,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function Aa(e,...t){return Ba(e,null,void 0)}const qd=Fn("__translateVNode"),Kd=Fn("__datetimeParts"),Wd=Fn("__numberParts"),_V=Fn("__setPluralRules"),bV=Fn("__injectWithOption"),Yd=Fn("__dispose");function Ia(e){if(!Ye(e)||Hn(e))return e;for(const t in e)if(Ln(e,t))if(!t.includes("."))Ye(e[t])&&Ia(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,i=!1;for(let s=0;s{if("locale"in a&&"resource"in a){const{locale:l,resource:u}=a;l?(s[l]=s[l]||Ze(),$r(u,s[l])):$r(u,s)}else le(a)&&$r(JSON.parse(a),s)}),o==null&&i)for(const a in s)Ln(s,a)&&Ia(s[a]);return s}function qE(e){return e.type}function EV(e,t,n){let r=Ye(t.messages)?t.messages:Ze();"__i18nGlobal"in n&&(r=GE(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(i=>{e.mergeLocaleMessage(i,r[i])});{if(Ye(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(Ye(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function cv(e){return Me(lo,null,e,0)}const fv="__INTLIFY_META__",dv=()=>[],TV=()=>!1;let pv=0;function hv(e){return((t,n,r,o)=>e(n,r,Ot()||void 0,o))}const wV=()=>{const e=Ot();let t=null;return e&&(t=qE(e)[fv])?{[fv]:t}:null};function SV(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,o=e.flatJson,i=ds?Fe:Gn;let s=bt(e.inheritLocale)?e.inheritLocale:!0;const a=i(t&&s?t.locale.value:le(e.locale)?e.locale:ma),l=i(t&&s?t.fallbackLocale.value:le(e.fallbackLocale)||Et(e.fallbackLocale)||Qe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),u=i(GE(a.value,e)),c=i(Qe(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),f=i(Qe(e.numberFormats)?e.numberFormats:{[a.value]:{}});let d=t?t.missingWarn:bt(e.missingWarn)||ps(e.missingWarn)?e.missingWarn:!0,p=t?t.fallbackWarn:bt(e.fallbackWarn)||ps(e.fallbackWarn)?e.fallbackWarn:!0,h=t?t.fallbackRoot:bt(e.fallbackRoot)?e.fallbackRoot:!0,g=!!e.fallbackFormat,m=gt(e.missing)?e.missing:null,y=gt(e.missing)?hv(e.missing):null,b=gt(e.postTranslation)?e.postTranslation:null,v=t?t.warnHtmlMessage:bt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter;const T=t?t.modifiers:Qe(e.modifiers)?e.modifiers:{};let x=e.pluralRules||t&&t.pluralRules,I;I=(()=>{r&&Iu(null);const A={version:yV,locale:a.value,fallbackLocale:l.value,messages:u.value,modifiers:T,pluralRules:x,missing:y===null?void 0:y,missingWarn:d,fallbackWarn:p,fallbackFormat:g,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:v,escapeParameter:E,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};A.datetimeFormats=c.value,A.numberFormats=f.value,A.__datetimeFormatters=Qe(I)?I.__datetimeFormatters:void 0,A.__numberFormatters=Qe(I)?I.__numberFormatters:void 0;const L=Gb(A);return r&&Iu(L),L})(),Mr(I,a.value,l.value);function M(){return[a.value,l.value,u.value,c.value,f.value]}const V=te({get:()=>a.value,set:A=>{a.value=A,I.locale=a.value}}),H=te({get:()=>l.value,set:A=>{l.value=A,I.fallbackLocale=l.value,Mr(I,a.value,A)}}),B=te(()=>u.value),ce=te(()=>c.value),Te=te(()=>f.value);function ke(){return gt(b)?b:null}function he(A){b=A,I.postTranslation=A}function me(){return m}function se(A){A!==null&&(y=hv(A)),m=A,I.missing=y}const Ee=(A,L,G,re,fe,_e)=>{M();let We;try{__INTLIFY_PROD_DEVTOOLS__,r||(I.fallbackContext=t?zb():void 0),We=A(I)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(I.fallbackContext=void 0)}if(G!=="translate exists"&&jt(We)&&We===Ha||G==="translate exists"&&!We){const[nt,Ue]=L();return t&&h?re(t):fe(nt)}else{if(_e(We))return We;throw Aa(ys.UNEXPECTED_RETURN_TYPE)}};function tt(...A){return Ee(L=>Reflect.apply(Nu,null,[L,...A]),()=>_a(...A),"translate",L=>Reflect.apply(L.t,L,[...A]),L=>L,L=>le(L))}function Se(...A){const[L,G,re]=A;if(re&&!Ye(re))throw Aa(ys.INVALID_ARGUMENT);return tt(L,G,st({resolvedMessage:!0},re||{}))}function Xe(...A){return Ee(L=>Reflect.apply(Ru,null,[L,...A]),()=>ya(...A),"datetime format",L=>Reflect.apply(L.d,L,[...A]),()=>Au,L=>le(L))}function Be(...A){return Ee(L=>Reflect.apply(xu,null,[L,...A]),()=>va(...A),"number format",L=>Reflect.apply(L.n,L,[...A]),()=>Au,L=>le(L))}function it(A){return A.map(L=>le(L)||jt(L)||bt(L)?cv(String(L)):L)}const ot={normalize:it,interpolate:A=>A,type:"vnode"};function J(...A){return Ee(L=>{let G;const re=L;try{re.processor=ot,G=Reflect.apply(Nu,null,[re,...A])}finally{re.processor=null}return G},()=>_a(...A),"translate",L=>L[qd](...A),L=>[cv(L)],L=>Et(L))}function ie(...A){return Ee(L=>Reflect.apply(xu,null,[L,...A]),()=>va(...A),"number format",L=>L[Wd](...A),dv,L=>le(L)||Et(L))}function ae(...A){return Ee(L=>Reflect.apply(Ru,null,[L,...A]),()=>ya(...A),"datetime format",L=>L[Kd](...A),dv,L=>le(L)||Et(L))}function ve(A){x=A,I.pluralRules=x}function Ke(A,L){return Ee(()=>{if(!A)return!1;const G=le(L)?L:a.value,re=D(G),fe=I.messageResolver(re,A);return Hn(fe)||Yn(fe)||le(fe)},()=>[A],"translate exists",G=>Reflect.apply(G.te,G,[A,L]),TV,G=>bt(G))}function ze(A){let L=null;const G=dc(I,l.value,a.value);for(let re=0;re{s&&(a.value=A,I.locale=A,Mr(I,a.value,l.value))}),It(t.fallbackLocale,A=>{s&&(l.value=A,I.fallbackLocale=A,Mr(I,a.value,l.value))}));const Z={id:pv,locale:V,fallbackLocale:H,get inheritLocale(){return s},set inheritLocale(A){s=A,A&&t&&(a.value=t.locale.value,l.value=t.fallbackLocale.value,Mr(I,a.value,l.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:B,get modifiers(){return T},get pluralRules(){return x||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(A){d=A,I.missingWarn=d},get fallbackWarn(){return p},set fallbackWarn(A){p=A,I.fallbackWarn=p},get fallbackRoot(){return h},set fallbackRoot(A){h=A},get fallbackFormat(){return g},set fallbackFormat(A){g=A,I.fallbackFormat=g},get warnHtmlMessage(){return v},set warnHtmlMessage(A){v=A,I.warnHtmlMessage=A},get escapeParameter(){return E},set escapeParameter(A){E=A,I.escapeParameter=A},t:tt,getLocaleMessage:D,setLocaleMessage:j,mergeLocaleMessage:ne,getPostTranslationHandler:ke,setPostTranslationHandler:he,getMissingHandler:me,setMissingHandler:se,[_V]:ve};return Z.datetimeFormats=ce,Z.numberFormats=Te,Z.rt=Se,Z.te=Ke,Z.tm=C,Z.d=Xe,Z.n=Be,Z.getDateTimeFormat=X,Z.setDateTimeFormat=R,Z.mergeDateTimeFormat=N,Z.getNumberFormat=U,Z.setNumberFormat=q,Z.mergeNumberFormat=ee,Z[bV]=n,Z[qd]=J,Z[Kd]=ae,Z[Wd]=ie,Z}const rh={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function AV({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===Dt?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},Ze())}function KE(){return Dt}st({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>jt(e)||!isNaN(e)}},rh);function IV(e){return Et(e)&&!le(e[0])}function WE(e,t,n,r){const{slots:o,attrs:i}=t;return()=>{const s={part:!0};let a=Ze();e.locale&&(s.locale=e.locale),le(e.format)?s.key=e.format:Ye(e.format)&&(le(e.format.key)&&(s.key=e.format.key),a=Object.keys(e.format).reduce((d,p)=>n.includes(p)?st(Ze(),d,{[p]:e.format[p]}):d,Ze()));const l=r(e.value,s,a);let u=[s.key];Et(l)?u=l.map((d,p)=>{const h=o[d.type],g=h?h({[d.type]:d.value,index:p,parts:l}):[d.value];return IV(g)&&(g[0].key=`${d.type}-${p}`),g}):le(l)&&(u=[l]);const c=st(Ze(),i),f=le(e.tag)||Ye(e.tag)?e.tag:KE();return dt(f,c,u)}}st({value:{type:Number,required:!0},format:{type:[String,Object]}},rh);st({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},rh);const RV=Fn("global-vue-i18n");function xi(e={}){const t=Ot();if(t==null)throw Aa(ys.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Aa(ys.NOT_INSTALLED);const n=OV(t),r=CV(n),o=qE(t),i=xV(e,o);if(i==="global")return EV(r,e,o),r;if(i==="parent"){let l=NV(n,t,e.__useComponent);return l==null&&(l=r),l}const s=n;let a=s.__getInstance(t);if(a==null){const l=st({},e);"__i18n"in o&&(l.__i18n=o.__i18n),r&&(l.__root=r),a=SV(l),s.__composerExtend&&(a[Yd]=s.__composerExtend(a)),DV(s,t,a),s.__setInstance(t,a)}return a}function OV(e){const t=Ut(e.isCE?RV:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Aa(e.isCE?ys.NOT_INSTALLED_WITH_PROVIDE:ys.UNEXPECTED_ERROR);return t}function xV(e,t){return ja(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function CV(e){return e.mode==="composition"?e.global:e.global.__composer}function NV(e,t,n=!1){let r=null;const o=t.root;let i=LV(t,n);for(;i!=null;){const s=e;if(e.mode==="composition"&&(r=s.__getInstance(i)),r!=null||o===i)break;i=i.parent}return r}function LV(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function DV(e,t,n){pn(()=>{},t),$o(()=>{const r=n;e.__deleteInstance(t);const o=r[Yd];o&&(o(),delete r[Yd])},t)}vV();Mb(Nb);Ub(kb);Vb(dc);if(__INTLIFY_PROD_DEVTOOLS__){const e=Va();e.__INTLIFY__=!0,Lb(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}function kV(e){const n=`?${new URLSearchParams({utm_medium:"interne_referral",utm_content:"dropdown",utm_source:e.code||"",otag:"t2ejen"}).toString()}`,r=(l,u="")=>{const c=new URL(`https://${l}.${e.domain||""}`);return c.pathname=u,c.search=n,c.toString()},o=(l,u,c)=>({label:l,to:u,icon:c}),i=e.country==="be"?`https://kiosk.be${n}`:`https://kiosk.nl${n}`,s=[o("Mijn account",r("mijnomgeving","/account"),"user"),o("Mijn abonnement(en)",r("mijnomgeving","/abonnementen"),"book-open")];e.country==="nl"&&e.type!=="magazine"&&s.push(o("Abonnement wijzigen",r("wijzigen"),"repeat"),o("Abonnement opzeggen",r("opzeggen"),"minus-circle"));const a=[o("Klantenservice",r("mijnomgeving"),"message-circle"),o("Kiosk",i,"shopping-bag"),o("Abonneren",r("abonnement"),"check-circle")];return[...s,...a]}const PV=De({__name:"AppAccountMenu",setup(e){const{isAuth:t,logout:n,handleLoginBtnClick:r}=vc(),{userinfo:o}=nh(),{phoneNumber:i}=qa(),{brand:s}=Hr(),{t:a}=xi(),l=te(()=>{const u=[];return s.value&&(s.value.type==="magazine"&&u.push({label:a("labels.callUsPhoneNumber",[i.value]),to:`tel:${i.value}`,icon:"phone"}),u.push(...kV(s.value))),u});return(u,c)=>{const f=k5;return ge(),Ge(f,{"is-auth":Y(t),user:Y(o)?.given_name,items:Y(l),onLogin:Y(r),onLogout:Y(n)},null,8,["is-auth","user","items","onLogin","onLogout"])}}}),MV=Object.assign(PV,{__name:"AppAccountMenu"}),FV={class:"tapp-logo"},UV=["innerHTML"],jV=De({__name:"TappLogo",props:{brandCode:{},width:{},height:{}},async setup(e){let t,n;const r=e,o=Fe(""),i=Object.fromEntries(Object.entries(Object.assign({"./logos/dpgmedia--inverted.svg":()=>oe(()=>import("./CUAWVUPq.js"),[],import.meta.url).then(a=>a.default),"./logos/dpgmedia_alt.svg":()=>oe(()=>import("./DWTek9Ep.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-ad.svg":()=>oe(()=>import("./CLJ8SFq7.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-ari.svg":()=>oe(()=>import("./CrxqDb-g.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-atr.svg":()=>oe(()=>import("./CpsEnzTA.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-aut-tall.svg":()=>oe(()=>import("./C7JMZS7k.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-aut.svg":()=>oe(()=>import("./B2l37zGx.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-bd.svg":()=>oe(()=>import("./AaHu-igX.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-bdan.svg":()=>oe(()=>import("./AT8gfoQt.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-bdon.svg":()=>oe(()=>import("./DFFkmLFY.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-bfln.svg":()=>oe(()=>import("./BYbB7Pn3.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-bfwo.svg":()=>oe(()=>import("./DIlG0VBb.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-bs.svg":()=>oe(()=>import("./CtgioQBk.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-bsvw.svg":()=>oe(()=>import("./C5FI29nx.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-bvwo.svg":()=>oe(()=>import("./Bh_rb-2d.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-bwol.svg":()=>oe(()=>import("./BWbogTaW.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-da.svg":()=>oe(()=>import("./Co__gOKt.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-dat.svg":()=>oe(()=>import("./DoURaScW.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-dde.svg":()=>oe(()=>import("./Dp0Mi1VW.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-ddj.svg":()=>oe(()=>import("./zYByzD3I.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-dg.svg":()=>oe(()=>import("./1ZhA3Lh0.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-dm.svg":()=>oe(()=>import("./C13mVn87.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-don-secundair.svg":()=>oe(()=>import("./CNYUQdP2.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-don.svg":()=>oe(()=>import("./BEBjweF5.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-donex-secundair.svg":()=>oe(()=>import("./DaPLtMw8.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-donex.svg":()=>oe(()=>import("./DbvkWbT7.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-donpo.svg":()=>oe(()=>import("./COVLy8wZ.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-dpg.svg":()=>oe(()=>import("./nj5sjVlA.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-ed.svg":()=>oe(()=>import("./BRIr6qhM.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-ehi.svg":()=>oe(()=>import("./D7BHtbNI.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-flr.svg":()=>oe(()=>import("./D2ztyh8y.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-flw.svg":()=>oe(()=>import("./DwtLuXHs.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-flwonbe.svg":()=>oe(()=>import("./DHetJW-q.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-gg.svg":()=>oe(()=>import("./DW-dPOxb.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-hl-light.svg":()=>oe(()=>import("./D-gP14a9.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-hl.svg":()=>oe(()=>import("./BVZOfHQz.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-hp-light.svg":()=>oe(()=>import("./CGGyfNky.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-hp-secundair.svg":()=>oe(()=>import("./C29Fdw7o.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-hp.svg":()=>oe(()=>import("./BaTIzbEp.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-hu.svg":()=>oe(()=>import("./BO4Ijuo4.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-katri.svg":()=>oe(()=>import("./CkUeHudu.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-kek.svg":()=>oe(()=>import("./BJdjBVd4.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-kiosk.svg":()=>oe(()=>import("./Dp8zKeXu.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-kioskbe.svg":()=>oe(()=>import("./0acCxaBD.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-kwe.svg":()=>oe(()=>import("./VwkHYpSS.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-lib.svg":()=>oe(()=>import("./D12mQnNV.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-libbo-secundair.svg":()=>oe(()=>import("./9zn_rXqk.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-libbo.svg":()=>oe(()=>import("./BQ7n1y4R.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-libpz.svg":()=>oe(()=>import("./Dhq02cuo.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-libsp-secundair.svg":()=>oe(()=>import("./BZ0yrVvJ.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-libsp.svg":()=>oe(()=>import("./DBRNpiqQ.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-mar.svg":()=>oe(()=>import("./DJ9sCT8_.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-marbk-secundair.svg":()=>oe(()=>import("./du6YQnz1.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-marbk.svg":()=>oe(()=>import("./DFqa9FT7.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-marpz.svg":()=>oe(()=>import("./Bp223K-8.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-marsp-secundair.svg":()=>oe(()=>import("./BvFjCOuA.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-marsp.svg":()=>oe(()=>import("./pPgvDKHk.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-nl-titles.svg":()=>oe(()=>import("./CHBD5lwc.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-nou.svg":()=>oe(()=>import("./CIpsm9Z9.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-ovn.svg":()=>oe(()=>import("./yyiwyzxe.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-pak12.svg":()=>oe(()=>import("./C0GKKLCb.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-primo.svg":()=>oe(()=>import("./DnpERUxK.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-pz.svg":()=>oe(()=>import("./i1KiJvSC.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-st-backup.svg":()=>oe(()=>import("./BpP1cxuX.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-st.svg":()=>oe(()=>import("./WDvxPqAG.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-sto.svg":()=>oe(()=>import("./C_lvriPp.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-storybe.svg":()=>oe(()=>import("./D1FBWUo1.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-svw-dark.svg":()=>oe(()=>import("./BOQHtt91.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-svw-secundair.svg":()=>oe(()=>import("./5zg2ctF1.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-svw.svg":()=>oe(()=>import("./CVHI8Ezv.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-svwonbe.svg":()=>oe(()=>import("./Drm-a63O.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-tna.svg":()=>oe(()=>import("./Df1KcO8R.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-tr-light.svg":()=>oe(()=>import("./DsKIETop.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-tr.svg":()=>oe(()=>import("./BE7Knrx5.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-tsbe.svg":()=>oe(()=>import("./BCxCdNBg.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-tt.svg":()=>oe(()=>import("./PCq9vEZP.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-tta.svg":()=>oe(()=>import("./BOHksM0X.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-tvblad.svg":()=>oe(()=>import("./DMASOfat.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-tvfam.svg":()=>oe(()=>import("./DCwlu005.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-vk-light.svg":()=>oe(()=>import("./CnIiP8ma.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-vk.svg":()=>oe(()=>import("./BfnoN2Ms.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-vro-dark.svg":()=>oe(()=>import("./tkMmWuCh.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-vro.svg":()=>oe(()=>import("./DhlNTOPV.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-vtw.svg":()=>oe(()=>import("./AID2pleg.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-vtwonbe.svg":()=>oe(()=>import("./zssmb1db.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-wls.svg":()=>oe(()=>import("./B8Ey7uU1.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-wlstybe.svg":()=>oe(()=>import("./CT4kjAEq.js"),[],import.meta.url).then(a=>a.default)})).map(([a,l])=>[a.split("/").pop().split(".").shift(),l]));async function s(){const a=r.brandCode?`logo-${r.brandCode}`:"logo-dpg";i&&a&&typeof i[a]=="function"&&(o.value=await i[a]())}return[t,n]=Qs(()=>s()),await t,n(),(a,l)=>(ge(),yt("span",FV,[St("span",{class:"tapp-logo__inner",style:Si({width:a.width,height:a.height}),innerHTML:Y(o)},null,12,UV)]))}}),oh=Object.assign(hn(jV,[["__scopeId","data-v-b5475dea"]]),{__name:"TappLogo"}),VV=De({__name:"BaseContainer",props:{noMobilePadding:{type:Boolean,default:!1},size:{default:"base"}},setup(e){return(t,n)=>(ge(),yt("div",{class:er(["base-container",{"base-container--no-mobile-padding":t.noMobilePadding}])},[St("div",{class:er(["base-container__inner",[`base-container__inner--size-${t.size}`]])},[pt(t.$slots,"default",{},void 0,!0)],2)],2))}}),_c=Object.assign(hn(VV,[["__scopeId","data-v-58b79a6a"]]),{__name:"BaseContainer"});function $V(){const e={"katrien-duck":"katri","donald-duck-junior":"ddj"},t=Mn(),n=As();return te(()=>{const o=t.params.specialProduct,i=typeof o=="string",s=typeof o=="string"?o.toLowerCase():"";return i&&e[s]?e[s]:n.value})}const BV={class:"top-bar"},HV={class:"top-bar__logo"},zV={key:0,class:"top-bar__service"},GV={class:"top-bar__actions"},qV=De({__name:"BrandedTopbar",props:{logoLink:{},variant:{default:"long"}},setup(e){const t=$V();return(n,r)=>{const o=oh,i=lc,s=_c;return ge(),yt("nav",BV,[Me(s,null,{default:He(()=>[St("div",{class:er(["top-bar__inner",{"top-bar__inner--long":n.variant==="long"&&n.$slots.service}])},[St("div",HV,[n.logoLink?(ge(),Ge(i,kt({key:0},n.logoLink,{"aria-label":"Abonnementen overzicht"}),{default:He(()=>[Me(o,{"brand-code":Y(t)},null,8,["brand-code"])]),_:1},16)):(ge(),Ge(o,{key:1,"brand-code":Y(t)},null,8,["brand-code"]))]),n.$slots.service?(ge(),yt("div",zV,[pt(n.$slots,"service",{},void 0,!0)])):tn("",!0),n.$slots.service?(ge(),yt("hr",{key:1,class:er(["top-bar__divider",{"top-bar__divider--long":n.variant==="long"}])},null,2)):tn("",!0),St("div",GV,[pt(n.$slots,"actions",{},void 0,!0)])],2)]),_:3})])}}}),KV=Object.assign(hn(qV,[["__scopeId","data-v-c79c0b94"]]),{__name:"BrandedTopbar"});function YE(){const{$logger:e}=Ve(),t=mt("isBusinessHour",()=>!1);async function n(o,i){try{const{isBusinessHour:s}=await nV(o,i);return s}catch(s){e.log({error:s,title:"Error with fetching business hours"})}}async function r(o,i){t.value=await n(o,i)||!1}return{isBusinessHour:t,setBusinessHour:r}}function WV(){const{brandCode:e}=Hr(),{phoneNumber:t}=qa(),n=[{international:"+31880561521",local:"088-0561521",title:"Algemeen Dagblad",brandCode:"ad",variation:"variation_1"},{international:"+31880561522",local:"088-0561522",title:"BN De Stem",brandCode:"bs",variation:"variation_1"},{international:"+31880561523",local:"088-0561523",title:"Brabants Dagblad",brandCode:"bd",variation:"variation_1"},{international:"+31880561524",local:"088-0561524",title:"De Gelderlander",brandCode:"dg",variation:"variation_1"},{international:"+31880561526",local:"088-0561526",title:"De Stentor",brandCode:"st",variation:"variation_1"},{international:"+31880561527",local:"088-0561527",title:"De Volkskrant",brandCode:"vk",variation:"variation_1"},{international:"+31880561528",local:"088-0561528",title:"Eindhovens Dagblad",brandCode:"ed",variation:"variation_1"},{international:"+31880561529",local:"088-0561529",title:"Het Parool",brandCode:"hp",variation:"variation_1"},{international:"+31880561531",local:"088-0561531",title:"PZC",brandCode:"pz",variation:"variation_1"},{international:"+31880561532",local:"088-0561532",title:"Trouw",brandCode:"tr",variation:"variation_1"},{international:"+31880561534",local:"088-0561534",title:"Tubantia",brandCode:"tt",variation:"variation_1"},{international:"+31885500221",local:"088-5500221",title:"Donald Duck",brandCode:"don",variation:"variation_1"},{international:"+31885500222",local:"088-5500222",title:"Libelle",brandCode:"lib",variation:"variation_1"},{international:"+31885500223",local:"088-5500223",title:"Margriet",brandCode:"mar",variation:"variation_1"},{international:"+31885500224",local:"088-5500224",title:"Veronica",brandCode:"vro",variation:"variation_1"},{international:"+31885500231",local:"088-5500231",title:"VTwonen",brandCode:"vtw",variation:"variation_1"}],r=[{international:"+31880561506",local:"088-0561506",title:"Algemeen Dagblad",brandCode:"ad",variation:"variation_2"},{international:"+31880561507",local:"088-0561507",title:"BN De Stem",brandCode:"bs",variation:"variation_2"},{international:"+31880561508",local:"088-0561508",title:"Brabants Dagblad",brandCode:"bd",variation:"variation_2"},{international:"+31880561509",local:"088-0561509",title:"De Gelderlander",brandCode:"dg",variation:"variation_2"},{international:"+31880561511",local:"088-0561511",title:"De Stentor",brandCode:"st",variation:"variation_2"},{international:"+31880561512",local:"088-0561512",title:"De Volkskrant",brandCode:"vk",variation:"variation_2"},{international:"+31880561513",local:"088-0561513",title:"Eindhovens Dagblad",brandCode:"ed",variation:"variation_2"},{international:"+31880561514",local:"088-0561514",title:"Het Parool",brandCode:"hp",variation:"variation_2"},{international:"+31880561516",local:"088-0561516",title:"PZC",brandCode:"pz",variation:"variation_2"},{international:"+31880561517",local:"088-0561517",title:"Trouw",brandCode:"tr",variation:"variation_2"},{international:"+31880561518",local:"088-0561518",title:"Tubantia",brandCode:"tt",variation:"variation_2"},{international:"+31885500212",local:"088-5500212",title:"Donald Duck",brandCode:"don",variation:"variation_2"},{international:"+31885500213",local:"088-5500213",title:"Libelle",brandCode:"lib",variation:"variation_2"},{international:"+31885500214",local:"088-5500214",title:"Margriet",brandCode:"mar",variation:"variation_2"},{international:"+31885500215",local:"088-5500215",title:"Veronica",brandCode:"vro",variation:"variation_2"},{international:"+31885500216",local:"088-5500216",title:"VTwonen",brandCode:"vtw",variation:"variation_2"}],o=te(()=>n.find(s=>s.brandCode===e.value)?.local||""),i=te(()=>r.find(s=>s.brandCode===e.value)?.local||"");return{variation1PhoneNumber:o,variation2PhoneNumber:i,controlPhoneNumber:t}}function YV(e){const t=e.split(":")[0]??"",n=t.split(".");return n.length>1?n.slice(-2).join("."):t}function XV(){const e=mt("optimizely-user-id-state",()=>"");if(e.value&&typeof e.value=="string")return e;const t=YV(yo().host),n=Ua("optimizely-user-id",{sameSite:"lax",maxAge:3600*24*365*2,domain:t});if(n.value&&typeof n.value=="string")return n;if(!e.value){const r=crypto.randomUUID();e.value=r,n.value=r}return n}function JV(){const{host:e,href:t}=yo(),n=Mt().public,r=Mn().query,o=typeof r.otag=="string"?r.otag:"",i=typeof r.mid=="string"?r.mid:"",s=mt("otag",()=>o),a=mt("activeMid",()=>i);return{channel:"",title:mt("brandCode").value?.toUpperCase()||"",otag:s.value??"",mid:a.value,flowStep:r.flowStep??"",campaign:"",returning:"",productType:"",magazines:!1,host:e,url:t,environment:n.APPLICATION,country:"",$opt_user_agent:void 0??""}}const QV=e=>{const t=Ua(e,{sameSite:"lax",maxAge:5184e3});if(t.value)return`${t.value}`;t.value="1"};function ZV({experimentKey:e,userId:t,userAttributes:n,query:r,optimizely:o}){const i=Mt().public.STAGE==="production",s=r[`optimizely_force_variation[${e}]`],a=typeof s=="string"?s:null;if(a)return a;{const l=QV(e);return o[i&&l!=="1"?"activate":"getVariation"](e,t,n)}}function e8({experimentKey:e,attributes:t,featureKey:n}){const r=Mn(),{$optimizely:o}=Ve(),i=XV(),s=mt("optimizely",()=>({}));if(!o)return{variation:null,variables:null};const a={...JV(),...t};a.title&&(a.title=a.title.toUpperCase());const l=ZV({experimentKey:e,userId:i.value,userAttributes:a,query:r.query,optimizely:o}),u=n&&o.getAllFeatureVariables(n,i.value,a);return s.value[e]={variation:l,variables:u},{variation:l,variables:u}}function t8({experimentKey:e,featureKey:t,attributes:n}){const{brandCode:r}=Hr();return e8({experimentKey:e,featureKey:t,attributes:{title:r.value.toUpperCase(),...n}})}const n8={abonneevoordeel__cta_onder_aanbod:{experimentKey:"abonneevoordeel__cta_onder_aanbod",featureKey:"abonneevoordeel__cta_onder_aanbod"},abonneevoordeel_linken_naar_webshop:{experimentKey:"abonneevoordeel_linken_naar_webshop",featureKey:"abonneevoordeel_linken_naar_webshop"},abonneevoordeel_greyed_out_usps:{experimentKey:"abonneevoordeel_greyed_out_usps",featureKey:"abonneevoordeel_greyed_out_usps"},ga_verder_cta_abonneevoordeel:{experimentKey:"ga_verder_cta_abonneevoordeel",featureKey:"ga_verder_cta_abonneevoordeel"},aantallen_tonen_overzicht_pagina:{experimentKey:"aantallen_tonen_overzicht_pagina",featureKey:"aantallen_tonen_overzicht_pagina"}},r8={pijltje_in_cta_kiosk:{experimentKey:"pijltje_in_cta_kiosk",featureKey:"pijltje_in_cta_kiosk"},sticky_usp_bar:{experimentKey:"sticky_usp_bar",featureKey:"sticky_usp_bar"}},o8={oofowf__usps_benefit_vs_feature:{experimentKey:"oofowf__usps_benefit_vs_feature",featureKey:"oofowf__usps_benefit_vs_feature"},oofowf__andere_behoudsflows_in_verlengaanbod:{experimentKey:"oofowf__andere_behoudsflows_in_verlengaanbod",featureKey:"oofowf__andere_behoudsflows_in_verlengaanbod"},oofowf__alfred_offers_op_homepage:{experimentKey:"oofowf__alfred_offers_op_homepage",featureKey:"oofowf__alfred_offers_op_homepage"},oof__behoud_boven_opzeggen:{experimentKey:"oof__behoud_boven_opzeggen",featureKey:"oof__behoud_boven_opzeggen"},owf__categorien_bij_switch:{experimentKey:"owf__categorien_bij_switch",featureKey:"owf__categorien_bij_switch"},oof__aanbod_na_opzegging:{experimentKey:"oof__aanbod_na_opzegging",featureKey:"oof__aanbod_na_opzegging"},oofowf__huidige_leesvorm_met_radiobuttons:{experimentKey:"oofowf__huidige_leesvorm_met_radiobuttons",featureKey:"oofowf__huidige_leesvorm_met_radiobuttons"},oof__gemakkelijk_opzeggen__sneller_terug_klant_long_term_test:{experimentKey:"oof__gemakkelijk_opzeggen__sneller_terug_klant_long_term_test",featureKey:"oof__gemakkelijk_opzeggen__sneller_terug_klant_long_term_test"},owf__gekozen_abonnement:{experimentKey:"owf__gekozen_abonnement",featureKey:"owf__gekozen_abonnement"},remove_owf:{experimentKey:"remove_owf",featureKey:"remove_owf"},owf__switch_zonder_filter:{experimentKey:"owf__switch_zonder_filter",featureKey:"owf__switch_zonder_filter"},oof__opzeggen_bij_molinks_telnr_test:{experimentKey:"oof__opzeggen_bij_molinks_telnr_test",featureKey:"oof__opzeggen_bij_molinks_telnr_test"},owf__dwingendere_copy_kortingsflow:{experimentKey:"owf__dwingendere_copy_kortingsflow",featureKey:"owf__dwingendere_copy_kortingsflow"},owf__bestelformulier_overige_flows_bij_kortingsflow_ops:{experimentKey:"owf__bestelformulier_overige_flows_bij_kortingsflow_ops",featureKey:"owf__bestelformulier_overige_flows_bij_kortingsflow_ops"},oof__loss_aversion_popup_opzegflow:{experimentKey:"oof__loss_aversion_popup_opzegflow",featureKey:"oof__loss_aversion_popup_opzegflow"},oof__loss_aversion_popup_opzegflow__benefit:{experimentKey:"oof__loss_aversion_popup_opzegflow__benefit",featureKey:"oof__loss_aversion_popup_opzegflow__benefit"}},i8={wijziging_progress_bar_shops:{experimentKey:"wijziging_progress_bar_shops",featureKey:"wijziging_progress_bar_shops"},upsell_visueel_verminderen_shops:{experimentKey:"upsell_visueel_verminderen_shops",featureKey:"upsell_visueel_verminderen_shops"},label_op_looptijden_toevoegen:{experimentKey:"label_op_looptijden_toevoegen",featureKey:"label_op_looptijden_toevoegen"},tekst_onder_kortingsperiode_testen:{experimentKey:"tekst_onder_kortingsperiode_testen",featureKey:"tekst_onder_kortingsperiode_testen"},uitleg_3pv_adhv_faq_test:{experimentKey:"uitleg_3pv_adhv_faq",featureKey:"uitleg_3pv_adhv_faq"},"4d_digitaal_pagina_test":{experimentKey:"4d_digitaal_pagina_test",featureKey:"4d_digitaal_pagina_test"},plus_veel_meer:{experimentKey:"plus_veel_meer",featureKey:"plus_veel_meer"},donald_duck_pricing:{experimentKey:"donald_duck_pricing",featureKey:"donald_duck_pricing"},digitaal_basis_benaming_test:{experimentKey:"digitaal_basis_benaming_test",featureKey:"digitaal_basis_benaming_test"},usps_boven_en_onder_checkout_test:{experimentKey:"usps_boven_en_onder_checkout",featureKey:"usps_boven_en_onder_checkout"},pijltje_in_cta_bestelformulier_:{experimentKey:"pijltje_in_cta_bestelformulier_",featureKey:"pijltje_in_cta_bestelformulier_"},mobile_inklappen_overzicht_bestelformulier_shops_test:{experimentKey:"mobile_inklappen_overzicht_bestelformulier_shops",featureKey:"mobile_inklappen_overzicht_bestelformulier_shops"},mobile_navigatie_shops_onderaan:{experimentKey:"mobile_navigatie_shops_onderaan",featureKey:"mobile_navigatie_shops_onderaan"},sticky_usp_bar:{experimentKey:"sticky_usp_bar",featureKey:"sticky_usp_bar"}},s8={...n8,...r8,...o8,...i8};function a8(e){const t={...e};return delete t.loginType,delete t.reason1,delete t.reason2,delete t.reason3,delete t.switchType,delete t.propositionUuid,delete t.propositionGroup,delete t.productCode,t}function l8({t:e,phoneNumber:t,brand:n,isBusinessHour:r}){return{avatar:"https://cdn-03.tapp.dpgmedia.cloud/touchpoints/shops/landing/kcc-medewerker.jpg",variant:"default",businessHourContent:e("businessHourContent.open"),customerServiceLink:`https://mijnomgeving.${n?.domain}?utm_medium=interne_referral&utm_source=${n?.code}&otag=t2ejen&utm_content=klantenserviceblok`,phoneNumber:t,closedContent:e("businessHourContent.closed"),isBusinessHour:r}}const u8=De({__name:"AppTopbar",setup(e){const{isAuth:t}=vc(),{phoneNumber:n}=qa(),r=Mn(),{brand:o}=Hr(),{isBusinessHour:i}=YE(),{t:s}=xi(),{controlPhoneNumber:a,variation1PhoneNumber:l,variation2PhoneNumber:u}=WV(),{variation:c}=t8(s8.oof__opzeggen_bij_molinks_telnr_test),f=te(()=>({to:{path:t.value?"/abonnee":"/",query:a8(r.query)}})),d=te(()=>{if(!o.value)return;const p=te(()=>{switch(c){case"variation_1":return l.value;case"variation_2":return u.value;default:return a.value}}),h=l8({isBusinessHour:i.value,phoneNumber:r.path==="/abonnee"?p.value:n.value,t:s,brand:o.value});return{avatar:h.avatar,isBusinessHour:h.isBusinessHour,phoneNumber:h.phoneNumber,businessHourContent:s("components.appTopbar.businessHourContent")}});return(p,h)=>{const g=$3,m=MV,y=KV;return ge(),Ge(y,{"logo-link":Y(f),variant:Y(t)?"long":"short"},b_({actions:He(()=>[Me(m)]),_:2},[Y(t)&&Y(d)?{name:"service",fn:He(()=>[Me(g,li(pi(Y(d))),null,16)]),key:"0"}:void 0]),1032,["logo-link","variant"])}}}),c8=Object.assign(u8,{__name:"AppTopbar"}),XE=(e="RouteProvider")=>De({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,o={};for(const i in t.route)Object.defineProperty(o,i,{get:()=>n===t.renderKey?t.route[i]:r[i],enumerable:!0});return ao(Ei,Fr(o)),()=>t.vnode?dt(t.vnode,{ref:t.vnodeRef}):t.vnode}}),f8=XE(),gv=new WeakMap,d8=De({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 o=Ve(),i=Fe(),s=Ut(Ei,null);let a;r({pageRef:i});const l=Ut(y1,null);let u;const c=o.deferHydration();if(o.isHydrating){const d=o.hooks.hookOnce("app:error",c);Vt().beforeEach(d)}e.pageKey&&It(()=>e.pageKey,(d,p)=>{d!==p&&o.callHook("page:loading:start")});let f=!1;{const d=Vt().beforeResolve(()=>{f=!1});Ai(()=>{d()})}return()=>dt(F1,{name:e.name,route:e.route,...t},{default:d=>{const p=h8(s,d.route,d.Component),h=s&&s.matched.length===d.route.matched.length;if(!d.Component){if(u&&!h)return u;c();return}if(u&&l&&!l.isCurrent(d.route))return u;if(p&&s&&(!l||l?.isCurrent(s)))return h?u:null;const g=ad(d,e.pageKey),m=g8(s,d.route,d.Component);!o.isHydrating&&a===g&&!m&&rn(()=>{f=!0,o.callHook("page:loading:end")}),a=g;const y=!!(e.transition??d.route.meta.pageTransition??ig),b=y&&p8([e.transition,d.route.meta.pageTransition,ig,{onAfterLeave(){delete o._runningTransition,o.callHook("page:transition:finish",d.Component)}}]),v=e.keepalive??d.route.meta.keepalive??nA;return u=j1(y&&b,ER(v,dt(gp,{suspensible:!0,onPending:()=>{y&&(o._runningTransition=!0),o.callHook("page:start",d.Component)},onResolve:()=>{rn(()=>o.callHook("page:finish",d.Component).then(()=>{if(!f&&!m)return f=!0,o.callHook("page:loading:end")}).finally(c))}},{default:()=>{const E={key:g||void 0,vnode:n.default?m8(n.default,d):d.Component,route:d.route,renderKey:g||void 0,trackRootNodes:y,vnodeRef:i};if(!v)return dt(f8,E);const T=d.Component.type,x=T;let I=gv.get(x);return I||(I=XE(T.name||T.__name),gv.set(x,I)),dt(I,E)}}))).default(),u}})}});function p8(e){const t=e.filter(Boolean).map(n=>({...n,onAfterLeave:n.onAfterLeave?Op(n.onAfterLeave):void 0}));return ka(...t)}function h8(e,t,n){if(!e)return!1;const r=t.matched.findIndex(o=>o.components?.default===n?.type);return!r||r===-1?!1:t.matched.slice(0,r).some((o,i)=>o.components?.default!==e.matched[i]?.components?.default)||n&&ad({route:t,Component:n})!==ad({route:e,Component:n})}function g8(e,t,n){return e?t.matched.findIndex(o=>o.components?.default===n?.type){const o=oh,i=_c;return ge(),yt("div",{id:"footer-navigation",class:er(`footer-navigation footer-navigation--${Y(t)}`)},[Me(i,null,{default:He(()=>[St("div",y8,[St("span",v8,[Me(o,{"brand-code":Y(t)},null,8,["brand-code"])]),St("nav",_8,[St("ul",b8,[pt(n.$slots,"default",{},void 0,!0)])])])]),_:3})],2)}}}),T8=Object.assign(hn(E8,[["__scopeId","data-v-199e6138"]]),{__name:"BaseFooterLinkBar"}),w8={id:"footer",class:"footer"},S8={class:"footer__fine-print"},A8=["innerHTML"],I8=De({__name:"BaseDPGFooter",props:{footerText:{}},setup(e){const t=e;return(n,r)=>{const o=oh,i=_c;return ge(),yt("div",w8,[Me(i,null,{default:He(()=>[Me(o,{"brand-code":"dpg",height:"48px"}),St("div",S8,[St("span",{innerHTML:t.footerText},null,8,A8)])]),_:1})])}}}),R8=Object.assign(hn(I8,[["__scopeId","data-v-34c34b37"]]),{__name:"BaseDPGFooter"}),O8=De({__name:"BrandedFooter",props:{items:{default:()=>[]}},setup(e){const t=te(()=>e.items.map(({tag:n,...r})=>n==="NuxtLink"?{...r,tag:lc}:{tag:n,...r}));return(n,r)=>{const o=T8,i=R8;return ge(),yt(Dt,null,[Me(o,null,{default:He(()=>[(ge(!0),yt(Dt,null,__(Y(t),({tag:s,label:a,...l},u)=>(ge(),yt("li",{key:u},[(ge(),Ge(fi(s),kt({class:"branded-footer__item","data-analytics-action":"footer_link_click","data-analytics-category":"navigation","data-analytics-lvl1":"nav","data-analytics-lvl2":"footer-link"},{ref_for:!0},l),{default:He(()=>[mo(cr(a),1)]),_:2},1040))]))),128))]),_:1}),Me(i,{"footer-text":n.$t("dpg.footerText",[new Date().getFullYear()])},null,8,["footer-text"])],64)}}}),x8=Object.assign(hn(O8,[["__scopeId","data-v-9c545b69"]]),{__name:"BrandedFooter"});function JE(e,t){const n=typeof e=="string"&&!t?`${e}Context`:t,r=Symbol(n);return[s=>{const a=Ut(r,s);if(a||a===null)return a;throw new Error(`Injection \`${r.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(", ")}`:`\`${e}\``}`)},s=>(ao(r,s),s)]}function Fo(){let e=document.activeElement;if(e==null)return null;for(;e!=null&&e.shadowRoot!=null&&e.shadowRoot.activeElement!=null;)e=e.shadowRoot.activeElement;return e}function QE(e,t,n){const r=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),r.dispatchEvent(o)}function ih(e){return e?e.flatMap(t=>t.type===Dt?ih(t.children):[t]):[]}const[C8,_4]=JE("ConfigProvider"),N8=l5(()=>{const e=Fe(new Map),t=Fe(),n=te(()=>{for(const s of e.value.values())if(s)return!0;return!1}),r=C8({scrollBody:Fe(!0)});let o=null;const i=()=>{document.body.style.paddingRight="",document.body.style.marginRight="",document.body.style.pointerEvents="",document.documentElement.style.removeProperty("--scrollbar-width"),document.body.style.overflow=t.value??"",zd&&o?.(),t.value=void 0};return It(n,(s,a)=>{if(!zo)return;if(!s){a&&i();return}t.value===void 0&&(t.value=document.body.style.overflow);const l=window.innerWidth-document.documentElement.clientWidth,u={padding:l,margin:0},c=r.scrollBody?.value?typeof r.scrollBody.value=="object"?ka({padding:r.scrollBody.value.padding===!0?l:r.scrollBody.value.padding,margin:r.scrollBody.value.margin===!0?l:r.scrollBody.value.margin},u):u:{padding:0,margin:0};l>0&&(document.body.style.paddingRight=typeof c.padding=="number"?`${c.padding}px`:String(c.padding),document.body.style.marginRight=typeof c.margin=="number"?`${c.margin}px`:String(c.margin),document.documentElement.style.setProperty("--scrollbar-width",`${l}px`),document.body.style.overflow="hidden"),zd&&(o=Jn(document,"touchmove",f=>D8(f),{passive:!1})),rn(()=>{document.body.style.pointerEvents="none",document.body.style.overflow="hidden"})},{immediate:!0,flush:"sync"}),e});function L8(e){const t=Math.random().toString(36).substring(2,7),n=N8();n.value.set(t,e??!1);const r=te({get:()=>n.value.get(t)??!1,set:o=>n.value.set(t,o)});return g5(()=>{n.value.delete(t)}),r}function ZE(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.cancelable&&t.preventDefault(),!1)}function sh(e){const t=Ot(),n=t?.type.emits,r={};return n?.length||console.warn(`No emitted event found. Please check component: ${t?.type.__name}`),n?.forEach(o=>{r[$l(zn(o))]=(...i)=>e(o,...i)}),r}function gr(){const e=Ot(),t=Fe(),n=te(()=>["#text","#comment"].includes(t.value?.$el.nodeName)?t.value?.$el.nextElementSibling:Do(t)),r=Object.assign({},e.exposed),o={};for(const s in e.props)Object.defineProperty(o,s,{enumerable:!0,configurable:!0,get:()=>e.props[s]});if(Object.keys(r).length>0)for(const s in r)Object.defineProperty(o,s,{enumerable:!0,configurable:!0,get:()=>r[s]});Object.defineProperty(o,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=o;function i(s){t.value=s,s&&(Object.defineProperty(o,"$el",{enumerable:!0,configurable:!0,get:()=>s instanceof Element?s:s.$el}),e.exposed=o)}return{forwardRef:i,currentRef:t,currentElement:n}}var k8=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Ui=new WeakMap,Ul=new WeakMap,jl={},Rf=0,e2=function(e){return e&&(e.host||e2(e.parentNode))},P8=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=e2(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},M8=function(e,t,n,r){var o=P8(t,Array.isArray(e)?e:[e]);jl[n]||(jl[n]=new WeakMap);var i=jl[n],s=[],a=new Set,l=new Set(o),u=function(f){!f||a.has(f)||(a.add(f),u(f.parentNode))};o.forEach(u);var c=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(d){if(a.has(d))c(d);else try{var p=d.getAttribute(r),h=p!==null&&p!=="false",g=(Ui.get(d)||0)+1,m=(i.get(d)||0)+1;Ui.set(d,g),i.set(d,m),s.push(d),g===1&&h&&Ul.set(d,!0),m===1&&d.setAttribute(n,"true"),h||d.setAttribute(r,"true")}catch(y){console.error("aria-hidden: cannot operate on ",d,y)}})};return c(t),a.clear(),Rf++,function(){s.forEach(function(f){var d=Ui.get(f)-1,p=i.get(f)-1;Ui.set(f,d),i.set(f,p),d||(Ul.has(f)||f.removeAttribute(r),Ul.delete(f)),p||f.removeAttribute(n)}),Rf--,Rf||(Ui=new WeakMap,Ui=new WeakMap,Ul=new WeakMap,jl={})}},F8=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=k8(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),M8(r,o,n,"aria-hidden")):function(){return null}};function U8(e){let t;It(()=>Do(e),n=>{n?t=F8(n):t&&t()}),$o(()=>{t&&t()})}function Xd(e,t="reka"){return`${t}-${_T?.()}`}function j8(e,t){const n=Fe(e);function r(i){return t[n.value][i]??n.value}return{state:n,dispatch:i=>{n.value=r(i)}}}function V8(e,t){const n=Fe({}),r=Fe("none"),o=Fe(e),i=e.value?"mounted":"unmounted";let s;const a=t.value?.ownerDocument.defaultView??Ss,{state:l,dispatch:u}=j8(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),c=m=>{if(zo){const y=new CustomEvent(m,{bubbles:!1,cancelable:!1});t.value?.dispatchEvent(y)}};It(e,async(m,y)=>{const b=y!==m;if(await rn(),b){const v=r.value,E=Vl(t.value);m?(u("MOUNT"),c("enter"),E==="none"&&c("after-enter")):E==="none"||E==="undefined"||n.value?.display==="none"?(u("UNMOUNT"),c("leave"),c("after-leave")):y&&v!==E?(u("ANIMATION_OUT"),c("leave")):(u("UNMOUNT"),c("after-leave"))}},{immediate:!0});const f=m=>{const y=Vl(t.value),b=y.includes(m.animationName),v=l.value==="mounted"?"enter":"leave";if(m.target===t.value&&b&&(c(`after-${v}`),u("ANIMATION_END"),!o.value)){const E=t.value.style.animationFillMode;t.value.style.animationFillMode="forwards",s=a?.setTimeout(()=>{t.value?.style.animationFillMode==="forwards"&&(t.value.style.animationFillMode=E)})}m.target===t.value&&y==="none"&&u("ANIMATION_END")},d=m=>{m.target===t.value&&(r.value=Vl(t.value))},p=It(t,(m,y)=>{m?(n.value=getComputedStyle(m),m.addEventListener("animationstart",d),m.addEventListener("animationcancel",f),m.addEventListener("animationend",f)):(u("ANIMATION_END"),s!==void 0&&a?.clearTimeout(s),y?.removeEventListener("animationstart",d),y?.removeEventListener("animationcancel",f),y?.removeEventListener("animationend",f))},{immediate:!0}),h=It(l,()=>{const m=Vl(t.value);r.value=l.value==="mounted"?m:"none"});return $o(()=>{p(),h()}),{isPresent:te(()=>["mounted","unmountSuspended"].includes(l.value))}}function Vl(e){return e&&getComputedStyle(e).animationName||"none"}var t2=De({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:t,expose:n}){const{present:r,forceMount:o}=ou(e),i=Fe(),{isPresent:s}=V8(r,i);n({present:s});let a=t.default({present:s.value});a=ih(a||[]);const l=Ot();if(a&&a?.length>1){const u=l?.parent?.type.name?`<${l.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${u}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(c=>` - ${c}`).join(` `)].join(` `))}return()=>o.value||r.value||s.value?dt(t.default({present:s.value})[0],{ref:u=>{const c=Do(u);return typeof c?.hasAttribute>"u"||(c?.hasAttribute("data-reka-popper-content-wrapper")?i.value=c.firstElementChild:i.value=c),c}}):null}});const $8=De({name:"PrimitiveSlot",inheritAttrs:!1,setup(e,{attrs:t,slots:n}){return()=>{if(!n.default)return null;const r=ih(n.default()),o=r.findIndex(l=>l.type!==Ht);if(o===-1)return r;const i=r[o];delete i.props?.ref;const s=i.props?kt(t,i.props):t,a=Qn({...i,props:{}},s);return r.length===1?a:(r[o]=a,r)}}}),B8=["area","img","input"],Go=De({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(e,{attrs:t,slots:n}){const r=e.asChild?"template":e.as;return typeof r=="string"&&B8.includes(r)?()=>dt(r,t):r!=="template"?()=>dt(e.as,t,{default:n.default}):()=>dt($8,t,{default:n.default})}}),[zr,H8]=JE("DialogRoot");var z8=De({inheritAttrs:!1,__name:"DialogRoot",props:{open:{type:Boolean,required:!1,default:void 0},defaultOpen:{type:Boolean,required:!1,default:!1},modal:{type:Boolean,required:!1,default:!0}},emits:["update:open"],setup(e,{emit:t}){const n=e,o=A5(n,"open",t,{defaultValue:n.defaultOpen,passive:n.open===void 0}),i=Fe(),s=Fe(),{modal:a}=ou(n);return H8({open:o,modal:a,openModal:()=>{o.value=!0},onOpenChange:l=>{o.value=l},onOpenToggle:()=>{o.value=!o.value},contentId:"",titleId:"",descriptionId:"",triggerElement:i,contentElement:s}),(l,u)=>pt(l.$slots,"default",{open:Y(o),close:()=>o.value=!1})}}),G8=z8,q8=De({__name:"DialogClose",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e;gr();const n=zr();return(r,o)=>(ge(),Ge(Y(Go),kt(t,{type:r.as==="button"?"button":void 0,onClick:o[0]||(o[0]=i=>Y(n).onOpenChange(!1))}),{default:He(()=>[pt(r.$slots,"default")]),_:3},16,["type"]))}}),K8=q8;const W8="dismissableLayer.pointerDownOutside",Y8="dismissableLayer.focusOutside";function n2(e,t){const n=t.closest("[data-dismissable-layer]"),r=e.dataset.dismissableLayer===""?e:e.querySelector("[data-dismissable-layer]"),o=Array.from(e.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(n&&(r===n||o.indexOf(r){});return go(s=>{if(!zo||!ft(n))return;const a=async u=>{const c=u.target;if(!(!t?.value||!c)){if(n2(t.value,c)){o.value=!1;return}if(u.target&&!o.value){let d=function(){QE(W8,e,f)};const f={originalEvent:u};u.pointerType==="touch"?(r.removeEventListener("click",i.value),i.value=d,r.addEventListener("click",i.value,{once:!0})):d()}else r.removeEventListener("click",i.value);o.value=!1}},l=window.setTimeout(()=>{r.addEventListener("pointerdown",a)},0);s(()=>{window.clearTimeout(l),r.removeEventListener("pointerdown",a),r.removeEventListener("click",i.value)})}),{onPointerDownCapture:()=>{ft(n)&&(o.value=!0)}}}function J8(e,t,n=!0){const r=t?.value?.ownerDocument??globalThis?.document,o=Fe(!1);return go(i=>{if(!zo||!ft(n))return;const s=async a=>{if(!t?.value)return;await rn(),await rn();const l=a.target;!t.value||!l||n2(t.value,l)||a.target&&!o.value&&QE(Y8,e,{originalEvent:a})};r.addEventListener("focusin",s),i(()=>r.removeEventListener("focusin",s))}),{onFocusCapture:()=>{ft(n)&&(o.value=!0)},onBlurCapture:()=>{ft(n)&&(o.value=!1)}}}const Jr=dn({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set});var Q8=De({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(e,{emit:t}){const n=e,r=t,{forwardRef:o,currentElement:i}=gr(),s=te(()=>i.value?.ownerDocument??globalThis.document),a=te(()=>Jr.layersRoot),l=te(()=>i.value?Array.from(a.value).indexOf(i.value):-1),u=te(()=>Jr.layersWithOutsidePointerEventsDisabled.size>0),c=te(()=>{const h=Array.from(a.value),[g]=[...Jr.layersWithOutsidePointerEventsDisabled].slice(-1),m=h.indexOf(g);return l.value>=m}),f=X8(async h=>{const g=[...Jr.branches].some(m=>m?.contains(h.target));!c.value||g||(r("pointerDownOutside",h),r("interactOutside",h),await rn(),h.defaultPrevented||r("dismiss"))},i),d=J8(h=>{[...Jr.branches].some(m=>m?.contains(h.target))||(r("focusOutside",h),r("interactOutside",h),h.defaultPrevented||r("dismiss"))},i);VE("Escape",h=>{l.value===a.value.size-1&&(r("escapeKeyDown",h),h.defaultPrevented||r("dismiss"))});let p;return go(h=>{i.value&&(n.disableOutsidePointerEvents&&(Jr.layersWithOutsidePointerEventsDisabled.size===0&&(p=s.value.body.style.pointerEvents,s.value.body.style.pointerEvents="none"),Jr.layersWithOutsidePointerEventsDisabled.add(i.value)),a.value.add(i.value),h(()=>{n.disableOutsidePointerEvents&&Jr.layersWithOutsidePointerEventsDisabled.size===1&&(s.value.body.style.pointerEvents=p)}))}),go(h=>{h(()=>{i.value&&(a.value.delete(i.value),Jr.layersWithOutsidePointerEventsDisabled.delete(i.value))})}),(h,g)=>(ge(),Ge(Y(Go),{ref:Y(o),"as-child":h.asChild,as:h.as,"data-dismissable-layer":"",style:Si({pointerEvents:u.value?c.value?"auto":"none":void 0}),onFocusCapture:Y(d).onFocusCapture,onBlurCapture:Y(d).onBlurCapture,onPointerdownCapture:Y(f).onPointerDownCapture},{default:He(()=>[pt(h.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}}),Z8=Q8;const e$=s5(()=>Fe([]));function t$(){const e=e$();return{add(t){const n=e.value[0];t!==n&&n?.pause(),e.value=mv(e.value,t),e.value.unshift(t)},remove(t){e.value=mv(e.value,t),e.value[0]?.resume()}}}function mv(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function n$(e){return e.filter(t=>t.tagName!=="A")}const Of="focusScope.autoFocusOnMount",xf="focusScope.autoFocusOnUnmount",yv={bubbles:!1,cancelable:!0};function r$(e,{select:t=!1}={}){const n=Fo();for(const r of e)if(Io(r,{select:t}),Fo()!==n)return!0}function o$(e){const t=r2(e),n=vv(t,e),r=vv(t.reverse(),e);return[n,r]}function r2(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function vv(e,t){for(const n of e)if(!i$(n,{upTo:t}))return n}function i$(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function s$(e){return e instanceof HTMLInputElement&&"select"in e}function Io(e,{select:t=!1}={}){if(e&&e.focus){const n=Fo();e.focus({preventScroll:!0}),e!==n&&s$(e)&&t&&e.select()}}var a$=De({__name:"FocusScope",props:{loop:{type:Boolean,required:!1,default:!1},trapped:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["mountAutoFocus","unmountAutoFocus"],setup(e,{emit:t}){const n=e,r=t,{currentRef:o,currentElement:i}=gr(),s=Fe(null),a=t$(),l=dn({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});go(c=>{if(!zo)return;const f=i.value;if(!n.trapped)return;function d(m){if(l.paused||!f)return;const y=m.target;f.contains(y)?s.value=y:Io(s.value,{select:!0})}function p(m){if(l.paused||!f)return;const y=m.relatedTarget;y!==null&&(f.contains(y)||Io(s.value,{select:!0}))}function h(m){f.contains(s.value)||Io(f)}document.addEventListener("focusin",d),document.addEventListener("focusout",p);const g=new MutationObserver(h);f&&g.observe(f,{childList:!0,subtree:!0}),c(()=>{document.removeEventListener("focusin",d),document.removeEventListener("focusout",p),g.disconnect()})}),go(async c=>{const f=i.value;if(await rn(),!f)return;a.add(l);const d=Fo();if(!f.contains(d)){const h=new CustomEvent(Of,yv);f.addEventListener(Of,g=>r("mountAutoFocus",g)),f.dispatchEvent(h),h.defaultPrevented||(r$(n$(r2(f)),{select:!0}),Fo()===d&&Io(f))}c(()=>{f.removeEventListener(Of,m=>r("mountAutoFocus",m));const h=new CustomEvent(xf,yv),g=m=>{r("unmountAutoFocus",m)};f.addEventListener(xf,g),f.dispatchEvent(h),setTimeout(()=>{h.defaultPrevented||Io(d??document.body,{select:!0}),f.removeEventListener(xf,g),a.remove(l)},0)})});function u(c){if(!n.loop&&!n.trapped||l.paused)return;const f=c.key==="Tab"&&!c.altKey&&!c.ctrlKey&&!c.metaKey,d=Fo();if(f&&d){const p=c.currentTarget,[h,g]=o$(p);h&&g?!c.shiftKey&&d===g?(c.preventDefault(),n.loop&&Io(h,{select:!0})):c.shiftKey&&d===h&&(c.preventDefault(),n.loop&&Io(g,{select:!0})):d===p&&c.preventDefault()}}return(c,f)=>(ge(),Ge(Y(Go),{ref_key:"currentRef",ref:o,tabindex:"-1","as-child":c.asChild,as:c.as,onKeydown:u},{default:He(()=>[pt(c.$slots,"default")]),_:3},8,["as-child","as"]))}}),l$=a$;function u$(e){return e?"open":"closed"}var c$=De({__name:"DialogContentImpl",props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,r=t,o=zr(),{forwardRef:i,currentElement:s}=gr();return o.titleId||=Xd(void 0,"reka-dialog-title"),o.descriptionId||=Xd(void 0,"reka-dialog-description"),pn(()=>{o.contentElement=s,Fo()!==document.body&&(o.triggerElement.value=Fo())}),(a,l)=>(ge(),Ge(Y(l$),{"as-child":"",loop:"",trapped:n.trapFocus,onMountAutoFocus:l[5]||(l[5]=u=>r("openAutoFocus",u)),onUnmountAutoFocus:l[6]||(l[6]=u=>r("closeAutoFocus",u))},{default:He(()=>[Me(Y(Z8),kt({id:Y(o).contentId,ref:Y(i),as:a.as,"as-child":a.asChild,"disable-outside-pointer-events":a.disableOutsidePointerEvents,role:"dialog","aria-describedby":Y(o).descriptionId,"aria-labelledby":Y(o).titleId,"data-state":Y(u$)(Y(o).open.value)},a.$attrs,{onDismiss:l[0]||(l[0]=u=>Y(o).onOpenChange(!1)),onEscapeKeyDown:l[1]||(l[1]=u=>r("escapeKeyDown",u)),onFocusOutside:l[2]||(l[2]=u=>r("focusOutside",u)),onInteractOutside:l[3]||(l[3]=u=>r("interactOutside",u)),onPointerDownOutside:l[4]||(l[4]=u=>r("pointerDownOutside",u))}),{default:He(()=>[pt(a.$slots,"default")]),_:3},16,["id","as","as-child","disable-outside-pointer-events","aria-describedby","aria-labelledby","data-state"])]),_:3},8,["trapped"]))}}),o2=c$,f$=De({__name:"DialogContentModal",props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,r=t,o=zr(),i=sh(r),{forwardRef:s,currentElement:a}=gr();return U8(a),(l,u)=>(ge(),Ge(o2,kt({...n,...Y(i)},{ref:Y(s),"trap-focus":Y(o).open.value,"disable-outside-pointer-events":!0,onCloseAutoFocus:u[0]||(u[0]=c=>{c.defaultPrevented||(c.preventDefault(),Y(o).triggerElement.value?.focus())}),onPointerDownOutside:u[1]||(u[1]=c=>{const f=c.detail.originalEvent,d=f.button===0&&f.ctrlKey===!0;(f.button===2||d)&&c.preventDefault()}),onFocusOutside:u[2]||(u[2]=c=>{c.preventDefault()})}),{default:He(()=>[pt(l.$slots,"default")]),_:3},16,["trap-focus"]))}}),d$=f$,p$=De({__name:"DialogContentNonModal",props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=sh(t);gr();const i=zr(),s=Fe(!1),a=Fe(!1);return(l,u)=>(ge(),Ge(o2,kt({...n,...Y(o)},{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:u[0]||(u[0]=c=>{c.defaultPrevented||(s.value||Y(i).triggerElement.value?.focus(),c.preventDefault()),s.value=!1,a.value=!1}),onInteractOutside:u[1]||(u[1]=c=>{c.defaultPrevented||(s.value=!0,c.detail.originalEvent.type==="pointerdown"&&(a.value=!0));const f=c.target;Y(i).triggerElement.value?.contains(f)&&c.preventDefault(),c.detail.originalEvent.type==="focusin"&&a.value&&c.preventDefault()})}),{default:He(()=>[pt(l.$slots,"default")]),_:3},16))}}),h$=p$,g$=De({__name:"DialogContent",props:{forceMount:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,r=t,o=zr(),i=sh(r),{forwardRef:s}=gr();return(a,l)=>(ge(),Ge(Y(t2),{present:a.forceMount||Y(o).open.value},{default:He(()=>[Y(o).modal.value?(ge(),Ge(d$,kt({key:0,ref:Y(s)},{...n,...Y(i),...a.$attrs}),{default:He(()=>[pt(a.$slots,"default")]),_:3},16)):(ge(),Ge(h$,kt({key:1,ref:Y(s)},{...n,...Y(i),...a.$attrs}),{default:He(()=>[pt(a.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),m$=g$,y$=De({__name:"DialogDescription",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"p"}},setup(e){const t=e;gr();const n=zr();return(r,o)=>(ge(),Ge(Y(Go),kt(t,{id:Y(n).descriptionId}),{default:He(()=>[pt(r.$slots,"default")]),_:3},16,["id"]))}}),v$=y$,_$=De({__name:"DialogOverlayImpl",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=zr();return L8(!0),gr(),(n,r)=>(ge(),Ge(Y(Go),{as:n.as,"as-child":n.asChild,"data-state":Y(t).open.value?"open":"closed",style:{"pointer-events":"auto"}},{default:He(()=>[pt(n.$slots,"default")]),_:3},8,["as","as-child","data-state"]))}}),b$=_$,E$=De({__name:"DialogOverlay",props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=zr(),{forwardRef:n}=gr();return(r,o)=>Y(t)?.modal.value?(ge(),Ge(Y(t2),{key:0,present:r.forceMount||Y(t).open.value},{default:He(()=>[Me(b$,kt(r.$attrs,{ref:Y(n),as:r.as,"as-child":r.asChild}),{default:He(()=>[pt(r.$slots,"default")]),_:3},16,["as","as-child"])]),_:3},8,["present"])):tn("v-if",!0)}}),T$=E$,w$=De({__name:"Teleport",props:{to:{type:null,required:!1,default:"body"},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=jE();return(n,r)=>Y(t)||n.forceMount?(ge(),Ge(gT,{key:0,to:n.to,disabled:n.disabled,defer:n.defer},[pt(n.$slots,"default")],8,["to","disabled","defer"])):tn("v-if",!0)}}),S$=w$,A$=De({__name:"DialogPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=e;return(n,r)=>(ge(),Ge(Y(S$),li(pi(t)),{default:He(()=>[pt(n.$slots,"default")]),_:3},16))}}),I$=A$,R$=De({__name:"DialogTitle",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"h2"}},setup(e){const t=e,n=zr();return gr(),(r,o)=>(ge(),Ge(Y(Go),kt(t,{id:Y(n).titleId}),{default:He(()=>[pt(r.$slots,"default")]),_:3},16,["id"]))}}),O$=R$,x$=De({__name:"DialogTrigger",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e,n=zr(),{forwardRef:r,currentElement:o}=gr();return n.contentId||=Xd(void 0,"reka-dialog-content"),pn(()=>{n.triggerElement.value=o.value}),(i,s)=>(ge(),Ge(Y(Go),kt(t,{ref:Y(r),type:i.as==="button"?"button":void 0,"aria-haspopup":"dialog","aria-expanded":Y(n).open.value||!1,"aria-controls":Y(n).open.value?Y(n).contentId:void 0,"data-state":Y(n).open.value?"open":"closed",onClick:Y(n).onOpenToggle}),{default:He(()=>[pt(i.$slots,"default")]),_:3},16,["type","aria-expanded","aria-controls","data-state","onClick"]))}}),C$=x$,N$=De({__name:"VisuallyHidden",props:{feature:{type:String,required:!1,default:"focusable"},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){return(t,n)=>(ge(),Ge(Y(Go),{as:t.as,"as-child":t.asChild,"aria-hidden":t.feature==="focusable"?"true":void 0,"data-hidden":t.feature==="fully-hidden"?"":void 0,tabindex:t.feature==="fully-hidden"?"-1":void 0,style:{position:"absolute",border:0,width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",whiteSpace:"nowrap",wordWrap:"normal"}},{default:He(()=>[pt(t.$slots,"default")]),_:3},8,["as","as-child","aria-hidden","data-hidden","tabindex"]))}}),_v=N$;const L$={class:"tapp-modal__inner"},D$=["windowed","always-windowed","fullscreen"],k$=De({__name:"TappModal",props:DT({variant:{default:()=>D$[0]},accessibleTitle:{},accessibleDescription:{},reka:{}},{open:{type:Boolean},openModifiers:{}}),emits:["update:open"],setup(e){const t=ew(e,"open");return(n,r)=>{const o=yc;return ge(),Ge(Y(G8),kt(n.reka?.root,{open:t.value,"onUpdate:open":r[0]||(r[0]=i=>t.value=i)}),{default:He(()=>[Me(Y(C$),kt({"as-child":""},n.reka?.trigger),{default:He(()=>[pt(n.$slots,"trigger")]),_:3},16),Me(Y(I$),li(pi(n.reka?.portal)),{default:He(()=>[Me(Y(T$),kt({class:"tapp-modal-overlay"},n.reka?.overlay),null,16),Me(Y(m$),kt({class:["tapp-modal",`tapp-modal--${n.variant}`],"data-testid":"tapp-modal"},n.reka?.content),{default:He(()=>[Me(Y(_v),{"as-child":""},{default:He(()=>[Me(Y(O$),li(pi(n.reka?.title)),{default:He(()=>[mo(cr(n.accessibleTitle),1)]),_:1},16)]),_:1}),Me(Y(_v),{"as-child":""},{default:He(()=>[Me(Y(v$),li(pi(n.reka?.description)),{default:He(()=>[mo(cr(n.accessibleDescription),1)]),_:1},16)]),_:1}),St("div",L$,[pt(n.$slots,"default")]),Me(Y(K8),kt({class:"tapp-modal__close","aria-label":"Sluit deze pop-up","data-testid":"tapp-modal-close","data-analytics-category":"modal","data-analytics-action":"modal_close","data-analytics-label":n.accessibleTitle},n.reka?.close),{default:He(()=>[Me(o,{icon:"x",size:24})]),_:1},16,["data-analytics-label"])]),_:3},16,["class"])]),_:3},16)]),_:3},16,["open"])}}}),P$=Object.assign(k$,{__name:"TappModal"});function bc(){return{flowType:yo().host?.includes("opzeggen")?"opzeggen":"wijzigen"}}const M$=ho(()=>oe(()=>import("./heVd6uOD.js"),__vite__mapDeps([77,78]),import.meta.url).then(e=>e.default||e)),F$={class:"app-accessibility-policy-modal"},U$=De({__name:"AppAccessibilityPolicyModal",setup(e){const t=mt("isAccessibilityPolicyModalOpen",()=>!1),n=bc().flowType,{brandCode:r}=Hr();return(o,i)=>{const s=M$,a=P$;return ge(),Ge(a,{open:Y(t),"onUpdate:open":i[0]||(i[0]=l=>At(t)?t.value=l:null),"accessible-title":"Accessibility Policy","accessible-description":"Read our accessibility policy for the kiosk app"},{default:He(()=>[St("div",F$,[Y(t)?(ge(),Ge(s,{key:0,"app-slug":Y(n),locale:"nl",title:Y(r)},null,8,["app-slug","title"])):tn("",!0)])]),_:1},8,["open"])}}}),j$=Object.assign(hn(U$,[["__scopeId","data-v-3e74358d"]]),{__name:"AppAccessibilityPolicyModal"}),i2={gender:"U",firstName:"John",middleName:"van",lastName:"Doe",address:{postalCode:"1010TR",houseNumber:"1"},phone:"0612345678",dateOfBirth:"1990-04-19",email:"developmentwerving-dpn+6@persgroep.net",iban:"NL13TEST0123456789",ideal:"ABNANL2A"},V$={...i2,middleName:null,address:{postalCode:"1500",houseNumber:"1"},phone:"0482455642"};function $$(e){try{const t=document.querySelector(`input[data-testid="${e}"]`);if(!t)throw new Error(`No element found for key: ${e}`);t.checked=!0,t.dispatchEvent(new Event("change"))}catch(t){console.warn(`[TAPP Inspector] ${t}`)}}function bv(e,t){try{const n=document.querySelector(`input[data-testid="${e}"]`);if(!t)throw new Error(`No value for element ${e}`);if(!n)throw new Error(`No element found for key: ${e} with value: ${t}`);n.value=t,n.dispatchEvent(new Event("input")),n.dispatchEvent(new Event("blur"))}catch(n){console.warn(`[TAPP Inspector] ${n}`)}}function B$(){const e=window.location.host.endsWith("be"),{address:t,...n}=e?V$:i2;Object.entries(t).forEach(([r,o])=>bv(r,o)),Object.entries(n).forEach(([r,o])=>bv(r,o)),["newsletter","terms","18_years_old"].forEach(r=>{$$(r)})}const H$=ho(()=>oe(()=>import("./DGNaBUUr.js"),__vite__mapDeps([86,7,8,59,60,87]),import.meta.url).then(e=>e.default||e)),z$=De({__name:"InspectorBase.client",setup(e){const t=Ua("inspector-enabled",{default:()=>!1});return VE(({ctrlKey:n,key:r,shiftKey:o})=>{n&&o&&r==="I"&&(t.value=!t.value),n&&o&&r==="F"&&B$()}),(n,r)=>{const o=H$;return Y(t)?(ge(),Ge(o,{key:0})):tn("",!0)}}}),G$=Object.assign(z$,{__name:"InspectorBase"}),q$=De({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>dt(Lo[e.name],e.layoutProps,t.slots)}}),K$={name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},s2=De({name:"NuxtLayout",inheritAttrs:!1,props:K$,setup(e,t){const n=Ve(),r=Ut(Ei),i=!r||r===Mn()?U1():r,s=te(()=>{let c=Y(e.name)??i?.meta.layout??"default";return c&&!(c in Lo)&&e.fallback&&(c=Y(e.fallback)),c}),a=Gn();t.expose({layoutRef:a});const l=n.deferHydration();if(n.isHydrating){const c=n.hooks.hookOnce("app:error",l);Vt().beforeEach(c)}let u;return()=>{const c=s.value&&s.value in Lo,f=i?.meta.layoutTransition??tA,d=u;return u=s.value,j1(c&&f,{default:()=>dt(gp,{suspensible:!0,onResolve:()=>{rn(l)}},{default:()=>dt(W$,{layoutProps:kt(t.attrs,{ref:a}),key:s.value||void 0,name:s.value,shouldProvide:!e.name,isRenderingNewLayout:p=>p!==d&&p===s.value,hasTransition:!!f},t.slots)})}).default()}}}),W$=De({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&&ao(y1,{isCurrent:i=>n===(i.meta.layout??"default")});const r=Ut(Ei);if(r&&r===Mn()){const i=U1(),s={};for(const a in i){const l=a;Object.defineProperty(s,l,{enumerable:!0,get:()=>e.isRenderingNewLayout(e.name)?i[l]:r[l]})}ao(Ei,Fr(s))}return()=>!n||typeof n=="string"&&!(n in Lo)?t.slots.default?.():dt(q$,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}});function Y$(){const e=FO(),{isSsoEnabled:t,loadSsoScriptDeferred:n}=e.public.pip;t&&Tp({script:[{id:"ssoscript",src:"https://login-static.dpgmedia.net/ssosession/main.js",async:!0,defer:n}]})}function Ev(e){return Object.fromEntries(Object.entries(e).filter(([t,n])=>n!==void 0))}function X$(e){return/bot|crawl|spider|google|bing|yahoo|yandex|baidu|duckduckgo|facebookexternalhit|twitterbot|linkedinbot|slackbot|telegrambot|applebot|pingdom|tumblr|slurp|archiver|archive|curl|python|java|wget|ruby|scrapy|nutch|selenium|phantomjs|headlesschrome|pinterest|instagram|whatsapp|skypeuripreview|outbrain|adidxbot|alexabot|findlinks|msnbot|mj12bot|ahrefsbot|semrushbot|dotbot|exabot|gigabot|qwantify|sogou|exalead|ia_archiver|ltx71|mail\.ru|viber|wordpress|panscient|applebot|twitterbot|discordbot|slackbot|telegrambot|pinterestbot|showyoubot|addthis|feedfetcher|kaspersky|bitlybot|flipboard|tencent|baiduspider|blexbot|zoominfo|mp3bot|grabber|sistrix|serpstatbot|finbot|brandsmonitor|serpstatbot|lipperhey|ccbot|admantx|ahoy|dataminr|ubermetrics|spyonweb|ranksonic|acoonbot|linkdex|startmebot|deusu|privacyawarebot|genieo|msrbot|niki-bot|cloudflare|archive\.org_bot|megaindex|semrush|petalbot|aspiegelbot|avira|safedns|safebrowsing|virustotal|sucuri|unshorten|urlresolver|validator|voyager|w3c_validator|yacy|yandeximages|yeti|yisouspider|zumbot|zyborg|applebot|googlebot-image|googlebot-news|googlebot-video|adsbot-google|api[\w-]+|[\w-]*[sS]craper/i.test(e??"")}function J$(){const e=Mt(),t=e.public.GTM||"GTM-W9WWJW",n=e.public.STAGE==="production",r=Mn(),o=`${e.app.baseURL==="/"?"":e.app.baseURL}`,i=r.query.forceGtm==="true"||r.query.gtm==="true",s=r.query.gtm==="false"||sc();if(!n&&!i||s||X$(void 0??"")&&!i)return;pn(()=>{a()});function a(){if(document.getElementById("gtm-init"))return;const l=document.createElement("script");l.id="gtm-init",l.async=!0,l.defer=!0,l.innerHTML=` (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= '${o}/misc/ptm?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','${t}'); `,document.head.appendChild(l);const u=document.createElement("noscript");u.innerHTML=``,document.body.appendChild(u)}}function b4(e,t){if(!e.includes("TUTOYEREN"))return e;const n=e.match(/(\{%.*?%\})+/g),r=e.match(t?/(ATTR_T.*?%)+/g:/(ATTR_F.*?%)+/g);return!n||!r||n.forEach((o,i)=>{const s=r[i].replace(t?/ATTR_T|=|%/g:/ATTR_F|=|%/g,"").trim();e=e.replace(o,s)}),e}function Q$(e){return e?new Date(e).toLocaleDateString("nl-NL",{year:"numeric",month:"long",day:"numeric"}):""}function Z$(e){return e&&e.charAt(0).toUpperCase()+e.slice(1)}function E4(e=""){const t=/<\/?(div|p|blockquote|pre|table|h[1-6]|ul|ol|li|dl|dt|dd|figure|figcaption|form|fieldset|section|article|aside|header|footer|nav|main|figure|figcaption|hr)[^>]*>/g;return e.replace(t,"")}function e6(){const e=As(),t=mt("userSubscriptions",()=>[]),n=mt("currentSubscription"),r=mt("cancellationFeedback"),o=te(()=>n.value?.customer),i=te(()=>n.value?.prices?.find(P=>P.default)),s=te(()=>n.value?.subscription?n.value?.subscription.processingState||n.value?.subscription.isTerminated||n.value?.subscription.isDunning||!n.value?.subscription.isCancellable||!n.value?.subscription.isModifiable:!1);function a(P){t.value=P}function l(P){n.value=P}function u(P,M){const V=M.subscription[P];return Q$(V||void 0)}const c=te(()=>n.value?u("effectiveModifyDate",n.value):void 0),f=te(()=>n.value?u("effectiveCancelDate",n.value):void 0),d=te(()=>n.value?.subscription?.propositionType||""),p=te(()=>!!n.value?.customer.address?.houseNumber&&!!n.value?.customer.address?.zipCode),h=te(()=>n.value?.subscription.isModifiable),g=te(()=>n.value?.subscription.isCancellable),m=te(()=>{const P=n.value?.subscription.propositionType||"";return!!["ARIBR"].includes(P)}),y=te(()=>!(!n.value||!h.value||m.value)),b=te(()=>!(!n.value||!h.value||["FLOW","TINA"].includes(n.value.subscription.propositionType||""))),v=te(()=>["PAK12"].includes(n.value?.subscription.propositionType||"")||n.value?.subscription.isDigital||!1);async function E({subscriptionNumber:P,lastIbanDigits:M,brandCode:V,zipCode:H}){const B=ld(),{abonId:ce,iban4:Te,zipcode:ke,title:he}=Ev({abonId:P,iban4:M,zipcode:H,title:V}),me=await iV({title:he,subscriptionId:ce,iban4:Te,zipcode:ke},{headers:B});return a([me]),l(me),me}async function T(){const{title:P}=Ev({title:e.value});if(!P||typeof P!="string")throw new Error("Brand code is required");const M=ld(),V=await aV({title:P},{headers:M});return V.status==="fulfilled"&&(a(V.active),V.active.length>0&&l(V.active[0])),V.status}async function x(P){let M=0,V=0;for(;MsetTimeout(B,V)))}throw new Error("Polling exceeded maximum attempts without reaching fulfilled status")}async function I({reasonCode:P,reason:M,reasonSlug:V,email:H,endDate:B}){if(!n.value?.subscription)throw new Error("No subscription to cancel");const ce=e.value,Te=n.value.subscription.subsId,ke=n.value?.subscription.idEncrypted;await sV({reasonCode:P,reason:M,endDate:B,subscriptionIdEncrypted:ke,title:ce,subsId:Te,email:H,reasonSlug:V})}return{cancelDate:f,cancellationFeedback:r,currentProductCode:d,currentSubscription:n,defaultPrice:i,isDiscountExtendable:y,isLegacyAndNotDiscountExtendable:m,isSwitchable:b,isModifiable:h,isCancellable:g,isDigital:v,customer:o,modifyDate:c,showSubscriptionCallOuts:s,userHasAddress:p,userSubscriptions:t,cancelUserSubscription:I,fetchAccountSubscriptions:T,pollFetchAccountSubscriptions:x,fetchMagazineSubscription:E,setCurrentSubscription:l}}function t6(e,t){const n={};return e.forEach(r=>{const o=`${r.brandId}-${r.formula.code}`,i=r.discount.percentage??0,s=n[o]?.discount.percentage??0,a=r.includes.brand.code===t;(a&&!n[o]||s{const r=n.brandId,o=n.discount.differencePerYear??0,i=t[r]?.discount.differencePerYear??0;(!t[r]||o>i)&&(t[r]=n)}),Object.values(t)}function n6(e){const t={};return e.forEach(n=>{const r=n.includes.product.uuid,o=n.discount.percentage??0,i=t[r]?.discount.percentage??0;(!t[r]||i{const r=`${n.brandId}-${n.productUuid}-${n.formula.code}`,o=n.discount.percentage??0,i=t[r]?.discount.percentage??0;(!t[r]||it.includes.product.categories).filter((t,n,r)=>r.findIndex(o=>t.uuid===o.uuid)===n):[]}const Cf="fallback";function o6(){const{$logger:e}=Ve(),t=mt("brandCode",()=>""),n=mt("selectedPropositionUuid"),r=mt("propositionGroup",()=>Cf),o=mt("propositions",()=>({})),i=mt("propositionsMap",()=>new Map),s=mt("brandsMap",()=>new Map),a=mt("brandsMapByCode",()=>new Map),l=mt("productsMap",()=>new Map);function u(se,Ee){const tt=Ee||Cf,{data:Se,meta:Xe}=se;if(!Se||!Xe)return;const Be=s.value,it=a.value,qe=l.value,ot=i.value;Se.brands.forEach(ie=>{Be.set(ie.id,ie),it.set(ie.code,ie)}),Se.products.forEach(ie=>{ie.uuid&&qe.set(ie.uuid,ie)});const J=Se.propositions.reduce((ie,ae)=>{if(!ae.productUuid)return ie;const ve=Be.get(ae.brandId),Ke=qe.get(ae.productUuid),ze=c({proposition:ae,brand:ve,product:Ke,meta:Xe});return ze&&(ot.set(ae.uuid,ze),ie.push(ze)),ie},[]);o.value[tt]=J}function c({proposition:se,brand:Ee,product:tt,meta:Se}){return!Ee||!tt?null:{...se,includes:{brand:Ee,product:tt},meta:Se}}async function f({brandCodes:se,productCodes:Ee,formulas:tt,brandSlug:Se,countryCode:Xe,group:Be,mid:it,brandType:qe}={}){const ot=it||Oi(),J=Be||Cf;if(ot)try{const ie=await lV({brandCodes:se,productCodes:Ee,brandType:qe,brandSlug:Se,countryCode:Xe,formulas:tt},{headers:{"X-Mid-Token":ot}});return ie?(u(ie,J),ie):void 0}catch(ie){e.log({title:"Error fetching catalogData [useCatalog]",error:ie,metadata:{params:{brandCode:t.value,brandCodes:se,productCodes:Ee,formulas:tt,brandSlug:Se,countryCode:Xe,group:Be,mid:it,brandType:qe,midToken:ot,propGroup:J}}})}}function d(se,Ee,tt){return se.filter(Se=>Se.productCode?.toLocaleLowerCase()===Ee.toLocaleLowerCase()&&Se.brandCode===tt)}const p=te(()=>o.value[r.value]),h=te(()=>Array.from(i.value.values())),g=te(()=>i.value.get(n.value)),m=te(()=>t6(p.value,t.value)),y=te(()=>r6(p.value)),b=te(()=>n6(p.value)),v=te(()=>g.value?d(p.value,g.value?.productCode,g.value?.includes.brand.code):[]),E=te(()=>a.value.get(t.value)),T=te(()=>E.value?.type),x=te(()=>E.value?.domain),I=te(()=>E.value?.name),P=te(()=>E.value?.formal===!0),M=te(()=>E.value?.country==="be"),V=te(()=>M.value&&P.value?"be-formal":M.value?"be":P.value?"nl-formal":"nl"),H=te(()=>T.value==="magazine"),B=te(()=>Array.from(s.value.values())),ce=te(()=>{if(!g.value)return"";const se=g.value.formula.label||g.value.formula.code;let Ee="";return g.value.includes.brand.type==="paper"&&(Ee=g.value.includes.brand.name.default+" "),Ee+se});function Te(){n.value=""}function ke(se){n.value=se}function he(se){r.value=se}const me=te(()=>[...new Set(p.value.map(({premiumCode:se})=>se).filter(se=>se!==null))]);return{fetchCatalog:f,brands:B,brand:E,brandCode:t,brandDomain:x,brandIsBelgium:M,brandIsFormal:P,brandIsMagazine:H,brandName:I,brandType:T,brandLocale:V,allCatalogPropositions:h,catalogPropositions:p,catalogPropositionsByFormula:m,catalogPropositionsBySelectedProduct:v,getPropositionsByProductCode:d,catalogPropositionsByProductCode:y,catalogPropositionsByProduct:b,propositionsMap:i,productsMap:l,propositions:o,propositionGroup:r,setCatalogData:u,selectedProposition:g,selectedPropositionUuid:n,selectedPropositionLabel:ce,setSelectedPropositionUuid:ke,resetSelectedPropositionUuid:Te,setPropositionGroup:he,availablePremiums:me}}function i6(){const{brand:e}=o6(),t=mt("isAccessibilityPolicyModalOpen");function n(){t.value=!0}const r=e.value?.country==="be"?"https://privacy.dpgmedia.be/nl/document/ABONNEMENTSVOORWAARDEN-ALGEMEEN-DPGMEDIA-BE":"https://privacy.dpgmedia.nl/nl/document/ABONNEMENTSVOORWAARDEN-ALGEMEEN-DPGMEDIA-NL";return{items:te(()=>{const i=[];return i.push({tag:"NuxtLink",label:"Privacy Statement",to:"https://privacy.dpgmedia.nl/nl/document/privacy-policy",target:"_blank"},{tag:"NuxtLink",label:"Abonnementsvoorwaarden",to:r,target:"_blank"},{tag:"button",label:"Privacy instellingen",onClick:()=>window._privacy?.openModal()},{tag:"button",onClick:n,label:"Toegankelijkheid"}),i}).value}}const s6=async(e,t)=>{const n=typeof e=="string"?e:e.url,r=typeof e=="string"?t?.method||"get":e.method,o=typeof e=="string"?t?.body:e.data,i=mt("activeMid",()=>""),s=t?.headers?.["X-Mid-Token"]??i.value,a=Vt();return ub(n,{deep:!1,...o?{body:Sa(o,{deep:!0})}:{},...typeof e!="string"&&e?.params&&{params:Sa(e?.params,{exclude:["includes[]"]})},method:r,onRequest({request:l}){},onResponse(){},transform:l=>HE(l,{deep:!0}),getCachedData(l,u,{cause:c}){if(c!=="refresh:hook"&&!(r?.toUpperCase()!=="GET"&&!n.includes("template-assets")))return u.payload.data[l]||void 0},...t,headers:{"X-Mid-Token":s,"X-Client-Path":a.currentRoute.value.path,...t?.headers}},"$9u3m_v97Wk")},a6=()=>mt("contentMap",()=>new Map);async function l6(e){function t(){const i=e.templates.map(s=>{const a=Object.entries(s.tags||[]).map(([u,c])=>`${u}-${c?.toString()}`).join("-");return`${s.template_id.substring(0,2)}-${a}`}).join("-");return`${e.title}-dam-${i}`}const n=Oi(),r=a6(),o=[];for(const i of e.templates){const s=Sa({title:e.title,...i}),a={"X-Mid-Token":n};async function l(){try{const u=await $fetch("/front-office/v1/template-assets",{method:"POST",body:s,headers:a});r.value.set(i.template_id,u.data)}catch(u){console.error("error",u)}}o.push(l())}await sb(t(),()=>Promise.all(o),"$r2NGbtsbe4")}const Tv={highlightUsp:"617141f4-918a-4cb9-a0d4-f4ff083849ab",usps:"6c596889-0b39-4269-832d-09cbfba1ac22",faqs:"3adf7bbd-ee3d-43ef-af89-348e8ef010fc",productDescription:"0d3d3f65-e34f-4d8d-bd96-ae096a479925"},u6=(e,t)=>{if(!e.length)return;const n=e.map(r=>{const o=Object.entries(r.tags||[]).map(([i,s])=>`${i}-${s?.toString()}`).join("-");return`${r.template_id}-${o}`}).join("-");return`${t}-dam-${n}`},c6=()=>mt("contentMap",()=>new Map);async function f6(e,t){const n=Oi(),r=c6();if(t?.parallel)return await l6(e);const{data:o}=await s6({url:"/front-office/v2/template-assets",method:"post"},{body:e,key:u6(e.templates,e.title),transform:void 0,lazy:!1,headers:{"X-Mid-Token":n},...t});o.value&&Object.entries(o.value.data).forEach(([i,s])=>{const a=s.map(l=>({...l,content:l.content}));r.value.set(i,a)})}async function d6(){const{brandCode:e}=Hr(),{flowType:t}=bc(),n=e.value,r=t,o={title:n,templates:[{template_id:Tv.faqs,sort:{mode:"sortOrderTag",direction:"asc"},tags:{slug:r}},{template_id:Tv.usps,filters:["touch_point_content"],tags:{slug:r}}]};await f6(o)}const p6=/%[A-Z][A-Z0-9_]{3,}%/;async function h6({path:e,params:t,locale:n,metaData:r},o={}){const i=Mn(),s=`/front-office/v3/storyblok/cdn/get/stories${e||"/"+i.query.url}`,a=NO(),l=ub(s,{method:"POST",body:{meta:r},params:CO(t,n),headers:{...a&&{"X-Storyblok-No-Cache":"true"}},onRequest({request:d}){},onResponse(){},getCachedData(d,p,{cause:h}){if(h!=="refresh:hook")return p.payload.data[d]||void 0},key:o.key||`storyblok-${s}-${JSON.stringify(r)}`,...o},"$1GRqE5cICe");if(!Xl())return l;const u=await l,c=u.data.value,f=Fe(c||void 0);return c&&RP(c.data.story.id,async function(p){const h=JSON.stringify(p),g=p6.test(h);let m=p;if(g){const y=await rV({input:h,...r});m=JSON.parse(y.output)}f.value={headers:c.headers,data:{...c.data,story:m}}},{resolveRelations:t?.resolve_relations}),{...u,data:te(()=>f.value||c)}}function g6({domain:e,siteName:t,siteDescription:n,pageName:r}){return{"@context":"https://schema.org","@graph":[{"@id":`${e}/#website`,"@type":"WebSite",description:n,inLanguage:"nl",name:t,url:`${e}/`},{"@id":`${e}/#webpage`,"@type":"WebPage",description:n,name:r,url:`${e}`,isPartOf:{"@id":`${e}/#website`},potentialAction:[{"@type":"ReadAction",target:[`${e}`]}]}]}}function m6({siteDescription:e,siteName:t,pageName:n,domain:r,image:o,title:i,description:s,path:a}){const l=[{name:"description",content:()=>s,tagPriority:-10},{property:"og:url",content:()=>r,tagPriority:-10},{property:"og:site_name",content:()=>t,tagPriority:-10},{property:"og:type",content:()=>"website",tagPriority:-10},{property:"og:title",content:()=>i,tagPriority:-10},{property:"og:description",content:()=>s,tagPriority:-10},{property:"og:locale",content:()=>"nl_NL",tagPriority:-10}];o&&l.push({property:"og:image",content:()=>o,tagPriority:-10}),Tp({title:{textContent:()=>i,tagPriority:-10},link:[{rel:"canonical",href:`${r}${a}`,tagPriority:-10}],script:[{type:"application/ld+json",innerHTML:JSON.stringify(g6({domain:r,siteName:t,siteDescription:e,pageName:n}))}],meta:l})}function y6({brandCode:e,productType:t,issueYear:n,issueNumber:r,variation:o}){let i="https://cdn-03.tapp.dpgmedia.cloud/packshot";return i+=`/${e.toLowerCase()}`,t&&(i+=`/${t.toLowerCase()}`),r&&n?i+=`/${n}-${r}`:i+=`/${o||"latest"}`,`${i}.png`}async function v6({pageName:e}={}){const{$logger:t}=Ve(),{brand:n,brandCode:r}=Hr(),{flowType:o}=bc();if(!n.value){t.log({title:"Retention SEO",message:"Brand not found"});return}const{locale:i}=xi(),s=yo(),l=`https://${s.hostname}`,u=`${n.value.name.default}`,c=`/retention/${o}/index/${n.value.type}`,{data:f}=await h6({locale:i.value,path:c,metaData:{title:r.value}},{key:"ret-login-page"});m6({title:f.value?.data.story.content.seo_meta[0].title||r.value,description:f.value?.data.story.content.seo_meta[0].metaDescription||"",siteDescription:`Online kunt u 24/7 gemakkelijk uw abonnement op ${n.value.name.withArticle} opzeggen of wijzigen.`,siteName:u,pageName:e??u,domain:l??"",image:y6({brandCode:n.value.code}),path:s.pathname})}const _6=wx(G$),b6={class:"app-footer"},E6=De({__name:"app",async setup(e){let t,n;Oi(),Y$(),J$();const{setLocale:r}=xi();e6();const o=Mn(),{fetchCurrentBrand:i,brandCode:s,brandLocale:a,brandType:l}=Hr();vc(),zE();const{fetchPhoneNumber:u}=qa();th();const{setBusinessHour:c}=YE(),f=i6();[t,n]=Qs(()=>Promise.all([u(),d6(),c("retention",s.value)])),await t,n(),[t,n]=Qs(()=>r(a.value||"nl")),await t,n(),[t,n]=Qs(()=>v6()),await t,n();const{initSso:d,userinfo:p}=nh();return pn(()=>{d({country:"nl",loggedInEmail:p.value?.email||"",type:l.value})}),(h,g)=>{const m=c8,y=d8,b=_c,v=x8,E=j$,T=_6,x=s2;return ge(),Ge(x,{name:"branded","background-levels":"",style:Si(Y(o).path==="/"&&{backgroundColor:"var(--colors-white)"})},{top:He(()=>[Me(m)]),footer:He(()=>[St("div",b6,[Me(v,li(pi(Y(f))),null,16),Me(E)])]),default:He(()=>[Me(b,null,{default:He(()=>[Me(y)]),_:1}),Me(T)]),_:1},8,["style"])}}}),T6={},w6={class:"w-full h-auto",viewBox:"0 0 255 211",version:"1.1",xmlns:"http://www.w3.org/2000/svg"};function S6(e,t){return ge(),yt("svg",w6,[...t[0]||(t[0]=[G_('',1)])])}const A6=Object.assign(hn(T6,[["render",S6],["__scopeId","data-v-c2723994"]]),{__name:"AppLoader"}),I6={class:"app-system-page"},R6={key:0},O6={key:2,class:"app-system-page__description"},x6={class:"app-system-page__buttons"},C6={class:"app-system-page__faqs"},N6=De({__name:"AppSystemPage",props:{title:{},description:{},showLoader:{type:Boolean}},setup(e){return(t,n)=>{const r=A6;return ge(),yt("div",I6,[t.title?(ge(),yt("h2",R6,cr(t.title),1)):tn("",!0),t.showLoader?(ge(),Ge(r,{key:1,class:"app-system-page__loader","data-test-id":"dpg-loader"})):tn("",!0),t.description?(ge(),yt("p",O6,cr(t.description),1)):tn("",!0),pt(t.$slots,"default",{},void 0,!0),St("div",x6,[pt(t.$slots,"buttons",{},void 0,!0)]),St("div",C6,[pt(t.$slots,"faqs",{},void 0,!0)])])}}}),L6=Object.assign(hn(N6,[["__scopeId","data-v-5ced5cf9"]]),{__name:"AppSystemPage"});function D6(e){return!Array.isArray(window.dataLayer)&&typeof window.dataLayer>"u"&&(window.dataLayer=[]),window.dataLayer.push(e)}function k6({appId:e,brandShort:t,campaign:n,mid:r,pageType:o,siteCountry:i,siteType:s,stepDescription:a,stepNumber:l,title:u,version:c,virtualPageTitle:f,virtualPageUrl:d,accountId:p}){const h=Mt();D6({event:"screen_info",user:{account_id:p},page:{app_id:e||h.public.SNOWPLOW_APP_ID,brand_short:t||"Krant",campaign:n||"abonnementen",mid:r||Oi(),page_type:o||"abonnementen",site_type:s||"Dagblad",step_description:a,step_number:l},brand:{viewed_title:u,language:`${i||"NL"}-nl`},web_version:c||h.public.VERSION,content:{virtual_page_title:f,virtual_page_view:d}})}function P6({trackOnMounted:e=!0}={}){const t=As(),n=Mn(),{flowType:r}=bc();function o(){let s="";const{location:a}=window,l="/abonnementen",u=`/${t.value}`;return s=a.pathname.toLowerCase(),s.includes(l+l)&&(s=s.replace(l,"")),s.includes(u)&&(s=s.replace(u,"")),s}function i({routeName:s,flowType:a}){const l=s.replace(/^opzeggen-titel-?/g,"").replace(/^wijzigen-titel-?/g,"")||"landing",u=l.replace(/-/g," "),c=Z$(a),f=`${a}-${l}-pagina`,d=t.value,p=`${c} ${u} pagina`;return{stepDescription:f,title:d,virtualPageTitle:p}}return e&&pn(()=>{if(!n.name||typeof n.name!="string")return;const{stepDescription:s,title:a,virtualPageTitle:l}=i({routeName:n.name,flowType:r});k6({stepDescription:s,title:a,virtualPageTitle:l,virtualPageUrl:o()})}),{getPageViewConfig:i}}const M6=De({__name:"error",async setup(e){let t,n;const r=Pa(),o=Hr(),{isAuth:i,logout:s}=vc(),{phoneNumber:a,fetchPhoneNumber:l}=qa(),{$logger:u}=Ve();P6(),r?.value?.statusCode===404||u.log({title:r.value?.name||r.value?.message||"[No error name or message] Application error",name:r.value?.name||"[No error name] General error",message:r.value?.message||"[No error message] An error occurred",error:r.value,metadata:{cause:r.value?.cause,data:r.value?.data,fatal:r.value?.fatal,message:r.value?.message,statusMessage:r.value?.statusMessage,statusCode:r.value?.statusCode,name:r.value?.name}});try{[t,n]=Qs(()=>l()),await t,n()}catch(d){u.log({title:"Error fetching phone number on 404 page",error:d})}return(d,p)=>{const h=FE,g=L6,m=s2;return ge(),Ge(m,{brand:Y(o),name:"error-layout","show-login":"","is-auth":Y(i),onLogout:Y(s)},{default:He(()=>[Me(g,{title:d.$t("pages.error.title"),description:d.$t("pages.error.description")},{buttons:He(()=>[Me(h,{tag:"a","data-testid":"call-us-button",href:"/abonnee",text:"Abonnement beheren","data-analytics-category":"element_tracking","data-analytics-action":"button_click","data-analytics-label":"Abonnement beheren","full-width-mobile":"",size:"large"}),Y(a)?(ge(),Ge(h,{key:0,tag:"a","data-testid":"call-us-button",href:`tel:${Y(a)}`,text:d.$t("labels.callPhoneNumber",[Y(a)]),"data-analytics-category":"element_tracking","data-analytics-action":"button_click","data-analytics-label":"404 Pagina - bel ons","full-width-mobile":"",size:"large"},null,8,["href","text"])):tn("",!0)]),_:1},8,["title","description"])]),_:1},8,["brand","is-auth","onLogout"])}}}),F6={key:0},wv={__name:"nuxt-root",setup(e){const t=()=>null,n=Ve(),r=n.deferHydration();if(n.isHydrating){const u=n.hooks.hookOnce("app:error",r);Vt().beforeEach(u)}const o=!1;ao(Ei,Mn()),n.hooks.callHookWith(u=>u.map(c=>c()),"vue:setup");const i=Pa(),s=!1,a=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;y_((u,c,f)=>{if(n.hooks.callHook("vue:error",u,c,f).catch(d=>console.error("[nuxt] Error in `vue:error` hook",d)),a.test(navigator.userAgent))return n.hooks.callHook("app:error",u),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,u),!1;if(_1(u)&&(u.fatal||u.unhandled))return n.runWithContext(()=>oi(u)),!1});const l=!1;return(u,c)=>(ge(),Ge(gp,{onResolve:Y(r)},{default:He(()=>[Y(s)?(ge(),yt("div",F6)):Y(i)?(ge(),Ge(Y(M6),{key:1,error:Y(i)},null,8,["error"])):Y(l)?(ge(),Ge(Y(t),{key:2,context:Y(l)},null,8,["context"])):Y(o)?(ge(),Ge(fi(Y(o)),{key:3})):(ge(),Ge(Y(E6),{key:4}))]),_:1},8,["onResolve"]))}};let Sv;{let e;Sv=async function(){if(e)return e;const n=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true"),r=n?Zw(wv):Qw(wv),o=uA({vueApp:r});async function i(s){await o.callHook("app:error",s),o.payload.error||=Po(s)}r.config.errorHandler=i,o.hook("app:suspense:resolve",()=>{r.config.errorHandler===i&&(r.config.errorHandler=void 0)}),!n&&sg.id&&o.hook("app:suspense:resolve",()=>{document.getElementById(sg.id)?.remove()});try{await dA(o,i3)}catch(s){i(s)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(sA),await o.hooks.callHook("app:mounted",r),await rn()}catch(s){i(s)}return r},e=Sv().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{li as $,zE as A,Vt as B,tn as C,Dt as D,mo as E,OS as F,qa as G,Hr as H,bc as I,Qs as J,Tv as K,__ as L,P$ as M,h6 as N,f6 as O,Mf as P,P6 as Q,E4 as R,q6 as S,pn as T,Ai as U,yc as V,Mt as W,Mn as X,lc as Y,Ei as Z,FE as _,As as a,Ot as a$,pi as a0,s8 as a1,th as a2,Si as a3,b_ as a4,o6 as a5,If as a6,er as a7,WV as a8,e8 as a9,K6 as aA,fp as aB,$6 as aC,Eo as aD,nb as aE,ka as aF,C8 as aG,p4 as aH,Do as aI,d4 as aJ,Fo as aK,ou as aL,A5 as aM,JE as aN,Go as aO,Q6 as aP,nT as aQ,dt as aR,$8 as aS,_v as aT,gr as aU,c4 as aV,QT as aW,$o as aX,Xd as aY,z6 as aZ,QE as a_,L6 as aa,DT as ab,ew as ac,It as ad,Vo as ae,Uo as af,ft as ag,At as ah,oh as ai,Z$ as aj,mt as ak,go as al,m4 as am,rn as an,j6 as ao,G6 as ap,w4 as aq,a8 as ar,N3 as as,Y6 as at,vc as au,y4 as av,Ut as aw,ao as ax,Tp as ay,k6 as az,Ve as b,L8 as b0,U8 as b1,Z8 as b2,t2 as b3,s6 as b4,Wu as b5,xa as b6,Fr as b7,G_ as b8,X1 as b9,V6 as bA,rb as bB,b4 as bC,PE as bD,y6 as bE,$V as bF,l8 as bG,kV as bH,$3 as bI,KV as bJ,x8 as bK,oe as bL,DR as bM,e4 as bN,yo as bO,h4 as bP,B$ as bQ,o4 as bR,W6 as bS,WR as ba,dO as bb,t4 as bc,n4 as bd,Ua as be,dn as bf,Gn as bg,zo as bh,zn as bi,sh as bj,H6 as bk,U6 as bl,B6 as bm,u4 as bn,f4 as bo,l$ as bp,S$ as bq,X6 as br,Oi as bs,n6 as bt,T4 as bu,v4 as bv,g4 as bw,Z6 as bx,Bn as by,l4 as bz,sO as c,De as d,mV as e,te as f,fO as g,yt as h,St as i,Me as j,Y as k,He as l,hn as m,xo as n,ge as o,D6 as p,Ge as q,Fe as r,pt as s,cr as t,nh as u,kt as v,J6 as w,fi as x,e6 as y,xi as z}; //# sourceMappingURL=D3yeoG_9.js.map