const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Be5NOw4p.js","./CcBIMsHM.js","./DSU8t9ft.js","./useContentItems.B-fgku1u.css","./AppFaq._y7Dv7Im.css","./B3TJSbpd.js","./AppLandingSection.B3lTNz37.css","./C1GjbExY.js","./TappInput.B_Hl5dYZ.css","./mpyo7n-t.js","./BMmwfXzG.js","./TappAlert.Bj4hkwIr.css","./DzQpl8X5.js","./index.6AE4dihy.css","./CBzEh_4e.js","./CFuYNP5q.js","./SudYCDms.js","./BaseUspListDamWrapper.BadoPlsD.css","./BaseGrid.BHrvbjpm.css","./kvZJ5qW1.js","./AppBlock.DJjkWZgv.css","./CJ9pLa4J.js","./C1O1Dp0S.js","./x6YIWJUm.js","./BaseCover.QFkKP4Y3.css","./CJ3id6r3.js","./AppList.lwjdAf0s.css","./DkWDQUQk.js","./CqA3-wkd.js","./TappLabel.Dy8eaFUL.css","./IKpD_QGa.js","./BasePrice.CJ9cZNTX.css","./Bm1wYVey.js","./sYxMIPUn.js","./AppPhoneBlock.CGh0gfm1.css","./DdExMOWj.js","./AppArrowLink.gC7rztZa.css","./DUvmlSeS.js","./abonnee.CPzDBa3J.css","./Cqq8hgTo.js","./bedankt.Cg_hdISK.css","./BT8pWkjz.js","./CPeJiaIK.js","./AppStepper.DnjlvpP6.css","./C6xINZ6h.js","./AppSubscriptionOverview.ttHuNSCj.css","./CeN8L9Y6.js","./korting.VHMU--Zn.css","./Dh7cbpmz.js","./RdwHJ8mb.js","./BK9a3VRg.js","./TappRadio.D2AZFs0k.css","./_L_KrdHQ.js","./leesvorm.DbCAmrBC.css","./BwpbzUjg.js","./Pu0m2jO6.js","./BaseHeading.CP0nMWBh.css","./voltooien.CQOBPwTI.css","./Ck6WkzQq.js","./Dseayvd7.js","./TappSelectbox.Bt7oZIPR.css","./BSsPBgMC.js","./AppHighlightUsp.CgHe5YpF.css","./BOYAvYhK.js","./TappLink.Z-ercpi1.css","./andere-titel.BWg120fe.css","./DCHhAK44.js","./CXr1dxvF.js","./Bpka_plP.js","./TappOrderForm.BHm8Mgc9.css","./useModificationGuard.BbWSanL5.css","./periode.5RpOGByF.css","./DoxRHYJP.js","./controle.Ww6O9bjI.css","./CkGcREfy.js","./V47PEXrh.js","./_...DVGiXgxO.css","./BQqlrMdc.js","./BlokAccessibilityPolicyDocument.BLwiBcqk.css","./DeMOzvJM.js","./RetLoginHeroBlok.Dsjx74dI.css","./CSt9jABI.js","./Bir664i4.js","./branded.Cj4TUmaf.css","./DriQATnI.js","./error-layout.gJApNpy1.css","./DbY56O8J.js","./InspectorContainer.CXuofpYq.css"])))=>i.map(i=>d[i]); var xT=Object.defineProperty;var Zh=e=>{throw TypeError(e)};var CT=(e,t,n)=>t in e?xT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Vn=(e,t,n)=>CT(e,typeof t!="symbol"?t+"":t,n),NT=(e,t,n)=>t.has(e)||Zh("Cannot "+n);var Vs=(e,t,n)=>(NT(e,t,"read from private field"),n?n.call(e):t.get(e)),eg=(e,t,n)=>t.has(e)?Zh("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n);(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.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **//*! #__NO_SIDE_EFFECTS__ */function ac(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const st={},ts=[],fr=()=>{},LT=()=>!1,$a=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Sp=e=>e.startsWith("onUpdate:"),Nt=Object.assign,Ap=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},PT=Object.prototype.hasOwnProperty,vt=(e,t)=>PT.call(e,t),Se=Array.isArray,ns=e=>Rs(e)==="[object Map]",Ci=e=>Rs(e)==="[object Set]",tg=e=>Rs(e)==="[object Date]",DT=e=>Rs(e)==="[object RegExp]",$e=e=>typeof e=="function",Dt=e=>typeof e=="string",Sr=e=>typeof e=="symbol",Ot=e=>e!==null&&typeof e=="object",Rp=e=>(Ot(e)||$e(e))&&$e(e.then)&&$e(e.catch),f_=Object.prototype.toString,Rs=e=>f_.call(e),kT=e=>Rs(e).slice(8,-1),lc=e=>Rs(e)==="[object Object]",Ip=e=>Dt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,rs=ac(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),uc=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},MT=/-(\w)/g,on=uc(e=>e.replace(MT,(t,n)=>n?n.toUpperCase():"")),FT=/\B([A-Z])/g,Kn=uc(e=>e.replace(FT,"-$1").toLowerCase()),Ba=uc(e=>e.charAt(0).toUpperCase()+e.slice(1)),os=uc(e=>e?`on${Ba(e)}`:""),Pn=(e,t)=>!Object.is(e,t),is=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},bu=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Eu=e=>{const t=Dt(e)?Number(e):NaN;return isNaN(t)?e:t};let ng;const cc=()=>ng||(ng=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),UT="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",jT=ac(UT);function Qo(e){if(Se(e)){const t={};for(let n=0;n{if(n){const r=n.split($T);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Xn(e){let t="";if(Dt(e))t=e;else if(Se(e))for(let n=0;nXo(n,t))}const p_=e=>!!(e&&e.__v_isRef===!0),or=e=>Dt(e)?e:e==null?"":Se(e)||Ot(e)&&(e.toString===f_||!$e(e.toString))?p_(e)?or(e.value):JSON.stringify(e,h_,2):String(e),h_=(e,t)=>p_(t)?h_(e,t.value):ns(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],i)=>(n[Yc(r,i)+" =>"]=o,n),{})}:Ci(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Yc(n))}:Sr(t)?Yc(t):Ot(t)&&!Se(t)&&!lc(t)?String(t):t,Yc=(e,t="")=>{var n;return Sr(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function qT(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:String(e)}/** * @vue/reactivity v3.5.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let vn;class Op{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=vn,!t&&vn&&(this.index=(vn.scopes||(vn.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&&(vn=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(oa){let t=oa;for(oa=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;ra;){let t=ra;for(ra=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 y_(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function v_(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),Np(r),WT(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function td(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(__(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function __(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ma)||(e.globalVersion=ma,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!td(e))))return;e.flags|=2;const t=e.dep,n=Lt,r=wr;Lt=e,wr=!0;try{y_(e);const o=e.fn(e._value);(t.version===0||Pn(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{Lt=n,wr=r,v_(e),e.flags&=-3}}function Np(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)Np(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function WT(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function YT(e,t){e.effect instanceof ga&&(e=e.effect.fn);const n=new ga(e);t&&Nt(n,t);try{n.run()}catch(o){throw n.stop(),o}const r=n.run.bind(n);return r.effect=n,r}function XT(e){e.effect.stop()}let wr=!0;const b_=[];function vo(){b_.push(wr),wr=!1}function _o(){const e=b_.pop();wr=e===void 0?!0:e}function rg(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Lt;Lt=void 0;try{t()}finally{Lt=n}}}let ma=0;class JT{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 dc{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(!Lt||!wr||Lt===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Lt)n=this.activeLink=new JT(Lt,this),Lt.deps?(n.prevDep=Lt.depsTail,Lt.depsTail.nextDep=n,Lt.depsTail=n):Lt.deps=Lt.depsTail=n,E_(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=Lt.depsTail,n.nextDep=void 0,Lt.depsTail.nextDep=n,Lt.depsTail=n,Lt.deps===n&&(Lt.deps=r)}return n}trigger(t){this.version++,ma++,this.notify(t)}notify(t){xp();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Cp()}}}function E_(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)E_(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Tu=new WeakMap,_i=Symbol(""),nd=Symbol(""),ya=Symbol("");function bn(e,t,n){if(wr&&Lt){let r=Tu.get(e);r||Tu.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new dc),o.map=r,o.key=n),o.track()}}function uo(e,t,n,r,o,i){const s=Tu.get(e);if(!s){ma++;return}const a=l=>{l&&l.trigger()};if(xp(),t==="clear")s.forEach(a);else{const l=Se(e),u=l&&Ip(n);if(l&&n==="length"){const c=Number(r);s.forEach((f,d)=>{(d==="length"||d===ya||!Sr(d)&&d>=c)&&a(f)})}else switch((n!==void 0||s.has(void 0))&&a(s.get(n)),u&&a(s.get(ya)),t){case"add":l?u&&a(s.get("length")):(a(s.get(_i)),ns(e)&&a(s.get(nd)));break;case"delete":l||(a(s.get(_i)),ns(e)&&a(s.get(nd)));break;case"set":ns(e)&&a(s.get(_i));break}}Cp()}function QT(e,t){const n=Tu.get(e);return n&&n.get(t)}function ji(e){const t=at(e);return t===e?t:(bn(t,"iterate",ya),nr(e)?t:t.map(dn))}function pc(e){return bn(e=at(e),"iterate",ya),e}const ZT={__proto__:null,[Symbol.iterator](){return Jc(this,Symbol.iterator,dn)},concat(...e){return ji(this).concat(...e.map(t=>Se(t)?ji(t):t))},entries(){return Jc(this,"entries",e=>(e[1]=dn(e[1]),e))},every(e,t){return ro(this,"every",e,t,void 0,arguments)},filter(e,t){return ro(this,"filter",e,t,n=>n.map(dn),arguments)},find(e,t){return ro(this,"find",e,t,dn,arguments)},findIndex(e,t){return ro(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ro(this,"findLast",e,t,dn,arguments)},findLastIndex(e,t){return ro(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ro(this,"forEach",e,t,void 0,arguments)},includes(...e){return Qc(this,"includes",e)},indexOf(...e){return Qc(this,"indexOf",e)},join(e){return ji(this).join(e)},lastIndexOf(...e){return Qc(this,"lastIndexOf",e)},map(e,t){return ro(this,"map",e,t,void 0,arguments)},pop(){return $s(this,"pop")},push(...e){return $s(this,"push",e)},reduce(e,...t){return og(this,"reduce",e,t)},reduceRight(e,...t){return og(this,"reduceRight",e,t)},shift(){return $s(this,"shift")},some(e,t){return ro(this,"some",e,t,void 0,arguments)},splice(...e){return $s(this,"splice",e)},toReversed(){return ji(this).toReversed()},toSorted(e){return ji(this).toSorted(e)},toSpliced(...e){return ji(this).toSpliced(...e)},unshift(...e){return $s(this,"unshift",e)},values(){return Jc(this,"values",dn)}};function Jc(e,t,n){const r=pc(e),o=r[t]();return r!==e&&!nr(e)&&(o._next=o.next,o.next=()=>{const i=o._next();return i.value&&(i.value=n(i.value)),i}),o}const ew=Array.prototype;function ro(e,t,n,r,o,i){const s=pc(e),a=s!==e&&!nr(e),l=s[t];if(l!==ew[t]){const f=l.apply(e,i);return a?dn(f):f}let u=n;s!==e&&(a?u=function(f,d){return n.call(this,dn(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 og(e,t,n,r){const o=pc(e);let i=n;return o!==e&&(nr(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,dn(a),l,e)}),o[t](i,...r)}function Qc(e,t,n){const r=at(e);bn(r,"iterate",ya);const o=r[t](...n);return(o===-1||o===!1)&&mc(n[0])?(n[0]=at(n[0]),r[t](...n)):o}function $s(e,t,n=[]){vo(),xp();const r=at(e)[t].apply(e,n);return Cp(),_o(),r}const tw=ac("__proto__,__v_isRef,__isVue"),T_=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Sr));function nw(e){Sr(e)||(e=String(e));const t=at(this);return bn(t,"has",e),t.hasOwnProperty(e)}class w_{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?x_:O_:i?I_:R_).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const s=Se(t);if(!o){let l;if(s&&(l=ZT[n]))return l;if(n==="hasOwnProperty")return nw}const a=Reflect.get(t,n,It(t)?t:r);return(Sr(n)?T_.has(n):tw(n))||(o||bn(t,"get",n),i)?a:It(a)?s&&Ip(n)?a:a.value:Ot(a)?o?Ha(a):sn(a):a}}class S_ extends w_{constructor(t=!1){super(!1,t)}set(t,n,r,o){let i=t[n];if(!this._isShallow){const l=Xr(i);if(!nr(r)&&!Xr(r)&&(i=at(i),r=at(r)),!Se(t)&&It(i)&&!It(r))return l?!1:(i.value=r,!0)}const s=Se(t)&&Ip(n)?Number(n)e,El=e=>Reflect.getPrototypeOf(e);function aw(e,t,n){return function(...r){const o=this.__v_raw,i=at(o),s=ns(i),a=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,u=o[e](...r),c=n?rd:t?wu:dn;return!t&&bn(i,"iterate",l?nd:_i),{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 Tl(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function lw(e,t){const n={get(o){const i=this.__v_raw,s=at(i),a=at(o);e||(Pn(o,a)&&bn(s,"get",o),bn(s,"get",a));const{has:l}=El(s),u=t?rd:e?wu:dn;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&&bn(at(o),"iterate",_i),Reflect.get(o,"size",o)},has(o){const i=this.__v_raw,s=at(i),a=at(o);return e||(Pn(o,a)&&bn(s,"has",o),bn(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=at(a),u=t?rd:e?wu:dn;return!e&&bn(l,"iterate",_i),a.forEach((c,f)=>o.call(i,u(c),u(f),s))}};return Nt(n,e?{add:Tl("add"),set:Tl("set"),delete:Tl("delete"),clear:Tl("clear")}:{add(o){!t&&!nr(o)&&!Xr(o)&&(o=at(o));const i=at(this);return El(i).has.call(i,o)||(i.add(o),uo(i,"add",o,o)),this},set(o,i){!t&&!nr(i)&&!Xr(i)&&(i=at(i));const s=at(this),{has:a,get:l}=El(s);let u=a.call(s,o);u||(o=at(o),u=a.call(s,o));const c=l.call(s,o);return s.set(o,i),u?Pn(i,c)&&uo(s,"set",o,i):uo(s,"add",o,i),this},delete(o){const i=at(this),{has:s,get:a}=El(i);let l=s.call(i,o);l||(o=at(o),l=s.call(i,o)),a&&a.call(i,o);const u=i.delete(o);return l&&uo(i,"delete",o,void 0),u},clear(){const o=at(this),i=o.size!==0,s=o.clear();return i&&uo(o,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=aw(o,e,t)}),n}function hc(e,t){const n=lw(e,t);return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(vt(n,o)&&o in r?n:r,o,i)}const uw={get:hc(!1,!1)},cw={get:hc(!1,!0)},fw={get:hc(!0,!1)},dw={get:hc(!0,!0)},R_=new WeakMap,I_=new WeakMap,O_=new WeakMap,x_=new WeakMap;function pw(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function hw(e){return e.__v_skip||!Object.isExtensible(e)?0:pw(kT(e))}function sn(e){return Xr(e)?e:gc(e,!1,rw,uw,R_)}function Tr(e){return gc(e,!1,iw,cw,I_)}function Ha(e){return gc(e,!0,ow,fw,O_)}function gw(e){return gc(e,!0,sw,dw,x_)}function gc(e,t,n,r,o){if(!Ot(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=hw(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 Ho(e){return Xr(e)?Ho(e.__v_raw):!!(e&&e.__v_isReactive)}function Xr(e){return!!(e&&e.__v_isReadonly)}function nr(e){return!!(e&&e.__v_isShallow)}function mc(e){return e?!!e.__v_raw:!1}function at(e){const t=e&&e.__v_raw;return t?at(t):e}function C_(e){return!vt(e,"__v_skip")&&Object.isExtensible(e)&&ed(e,"__v_skip",!0),e}const dn=e=>Ot(e)?sn(e):e,wu=e=>Ot(e)?Ha(e):e;function It(e){return e?e.__v_isRef===!0:!1}function Fe(e){return N_(e,!1)}function An(e){return N_(e,!0)}function N_(e,t){return It(e)?e:new mw(e,t)}class mw{constructor(t,n){this.dep=new dc,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:at(t),this._value=n?t:dn(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||nr(t)||Xr(t);t=r?t:at(t),Pn(t,n)&&(this._rawValue=t,this._value=r?t:dn(t),this.dep.trigger())}}function yw(e){e.dep&&e.dep.trigger()}function W(e){return It(e)?e.value:e}function gt(e){return $e(e)?e():W(e)}const vw={get:(e,t,n)=>t==="__v_raw"?e:W(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return It(o)&&!It(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Lp(e){return Ho(e)?e:new Proxy(e,vw)}class _w{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new dc,{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 za(e){return new _w(e)}function va(e){const t=Se(e)?new Array(e.length):{};for(const n in e)t[n]=L_(e,n);return t}class bw{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 QT(at(this._object),this._key)}}class Ew{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 Ga(e,t,n){return It(e)?e:$e(e)?new Ew(e):Ot(e)&&arguments.length>1?L_(e,t,n):Fe(e)}function L_(e,t,n){const r=e[t];return It(r)?r:new bw(e,t,n)}class Tw{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new dc(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ma-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Lt!==this)return m_(this,!0),!0}get value(){const t=this.dep.track();return __(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function ww(e,t,n=!1){let r,o;return $e(e)?r=e:(r=e.get,o=e.set),new Tw(r,o,n)}const Sw={GET:"get",HAS:"has",ITERATE:"iterate"},Aw={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},wl={},Su=new WeakMap;let Po;function Rw(){return Po}function P_(e,t=!1,n=Po){if(n){let r=Su.get(n);r||Su.set(n,r=[]),r.push(e)}}function Iw(e,t,n=st){const{immediate:r,deep:o,once:i,scheduler:s,augmentJob:a,call:l}=n,u=_=>o?_:nr(_)||o===!1||o===0?co(_,1):co(_);let c,f,d,p,h=!1,g=!1;if(It(e)?(f=()=>e.value,h=nr(e)):Ho(e)?(f=()=>u(e),h=!0):Se(e)?(g=!0,h=e.some(_=>Ho(_)||nr(_)),f=()=>e.map(_=>{if(It(_))return _.value;if(Ho(_))return u(_);if($e(_))return l?l(_,2):_()})):$e(e)?t?f=l?()=>l(e,2):e:f=()=>{if(d){vo();try{d()}finally{_o()}}const _=Po;Po=c;try{return l?l(e,3,[p]):e(p)}finally{Po=_}}:f=fr,t&&o){const _=f,T=o===!0?1/0:o;f=()=>co(_(),T)}const v=So(),m=()=>{c.stop(),v&&v.active&&Ap(v.effects,c)};if(i&&t){const _=t;t=(...T)=>{_(...T),m()}}let E=g?new Array(e.length).fill(wl):wl;const y=_=>{if(!(!(c.flags&1)||!c.dirty&&!_))if(t){const T=c.run();if(o||h||(g?T.some((A,S)=>Pn(A,E[S])):Pn(T,E))){d&&d();const A=Po;Po=c;try{const S=[T,E===wl?void 0:g&&E[0]===wl?[]:E,p];E=T,l?l(t,3,S):t(...S)}finally{Po=A}}}else c.run()};return a&&a(y),c=new ga(f),c.scheduler=s?()=>s(y,!1):y,p=_=>P_(_,!1,c),d=c.onStop=()=>{const _=Su.get(c);if(_){if(l)l(_,4);else for(const T of _)T();Su.delete(c)}},t?r?y(!0):E=c.run():s?s(y.bind(null,!0),!0):c.run(),m.pause=c.pause.bind(c),m.resume=c.resume.bind(c),m.stop=m,m}function co(e,t=1/0,n){if(t<=0||!Ot(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,It(e))co(e.value,t,n);else if(Se(e))for(let r=0;r{co(r,t,n)});else if(lc(e)){for(const r in e)co(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&co(e[r],t,n)}return e}/** * @vue/runtime-core v3.5.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const D_=[];function Ow(e){D_.push(e)}function xw(){D_.pop()}function Cw(e,t){}const Nw={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},Lw={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function Os(e,t,n,r){try{return r?e(...r):e()}catch(o){Ni(o,t,n)}}function hr(e,t,n,r){if($e(e)){const o=Os(e,t,n,r);return o&&Rp(o)&&o.catch(i=>{Ni(i,t,n)}),o}if(Se(e)){const o=[];for(let i=0;i>>1,o=Dn[r],i=ba(o);i=ba(n)?Dn.push(e):Dn.splice(Dw(t),0,e),e.flags|=1,M_()}}function M_(){Au||(Au=k_.then(F_))}function _a(e){Se(e)?ss.push(...e):Do&&e.id===-1?Do.splice(Gi+1,0,e):e.flags&1||(ss.push(e),e.flags|=1),M_()}function ig(e,t,n=Fr+1){for(;nba(n)-ba(r));if(ss.length=0,Do){Do.push(...t);return}for(Do=t,Gi=0;Gie.id==null?e.flags&2?-1:1/0:e.id;function F_(e){try{for(Fr=0;FrKi.emit(o,...i)),Sl=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{U_(i,t)}),setTimeout(()=>{Ki||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Sl=[])},3e3)):Sl=[]}let hn=null,yc=null;function Ea(e){const t=hn;return hn=e,yc=e&&e.type.__scopeId||null,t}function kw(e){yc=e}function Mw(){yc=null}const Fw=e=>Ve;function Ve(e,t=hn,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&fd(-1);const i=Ea(t);let s;try{s=e(...o)}finally{Ea(i),r._d&&fd(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function Uw(e,t){if(hn===null)return e;const n=Wa(hn),r=e.dirs||(e.dirs=[]);for(let o=0;oe.__isTeleport,ia=e=>e&&(e.disabled||e.disabled===""),sg=e=>e&&(e.defer||e.defer===""),ag=e=>typeof SVGElement<"u"&&e instanceof SVGElement,lg=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,od=(e,t)=>{const n=e&&e.to;return Dt(n)?t?t(n):null:n},$_={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:v}}=u,m=ia(t.props);let{shapeFlag:E,children:y,dynamicChildren:_}=t;if(e==null){const T=t.el=g(""),A=t.anchor=g("");p(T,n,r),p(A,n,r);const S=(M,j)=>{E&16&&(o&&o.isCE&&(o.ce._teleportTarget=M),c(y,M,j,o,i,s,a,l))},D=()=>{const M=t.target=od(t.props,h),j=H_(M,t,g,p);M&&(s!=="svg"&&ag(M)?s="svg":s!=="mathml"&&lg(M)&&(s="mathml"),m||(S(M,j),iu(t,!1)))};m&&(S(n,A),iu(t,!0)),sg(t.props)?(t.el.__isMounted=!1,en(()=>{D(),delete t.el.__isMounted},i)):D()}else{if(sg(t.props)&&e.el.__isMounted===!1){en(()=>{$_.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,A=t.target=e.target,S=t.targetAnchor=e.targetAnchor,D=ia(e.props),M=D?n:A,j=D?T:S;if(s==="svg"||ag(A)?s="svg":(s==="mathml"||lg(A))&&(s="mathml"),_?(d(e.dynamicChildren,_,M,o,i,s,a),Xp(e,t,!0)):l||f(e,t,M,j,o,i,s,a,!1),m)D?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Al(t,n,T,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const B=t.target=od(t.props,h);B&&Al(t,B,null,u,0)}else D&&Al(t,A,S,u,1);iu(t,m)}},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||!ia(d);for(let h=0;h{e.isMounted=!0}),Zo(()=>{e.isUnmounting=!0}),e}const lr=[Function,Array],kp={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:lr,onEnter:lr,onAfterEnter:lr,onEnterCancelled:lr,onBeforeLeave:lr,onLeave:lr,onAfterLeave:lr,onLeaveCancelled:lr,onBeforeAppear:lr,onAppear:lr,onAfterAppear:lr,onAppearCancelled:lr},z_=e=>{const t=e.subTree;return t.component?z_(t.component):t},Vw={name:"BaseTransition",props:kp,setup(e,{slots:t}){const n=yt(),r=Dp();return()=>{const o=t.default&&vc(t.default(),!0);if(!o||!o.length)return;const i=G_(o),s=at(e),{mode:a}=s;if(r.isLeaving)return Zc(i);const l=ug(i);if(!l)return Zc(i);let u=ps(l,s,r,n,f=>u=f);l.type!==zt&&bo(l,u);let c=n.subTree&&ug(n.subTree);if(c&&c.type!==zt&&!Er(l,c)&&z_(n).type!==zt){let f=ps(c,s,r,n);if(bo(c,f),a==="out-in"&&l.type!==zt)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,c=void 0},Zc(i);a==="in-out"&&l.type!==zt?f.delayLeave=(d,p,h)=>{const g=q_(r,c);g[String(c.key)]=c,d[ko]=()=>{p(),d[ko]=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 G_(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==zt){t=n;break}}return t}const K_=Vw;function q_(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 ps(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:v,onAppear:m,onAfterAppear:E,onAppearCancelled:y}=t,_=String(e.key),T=q_(n,e),A=(M,j)=>{M&&hr(M,r,9,j)},S=(M,j)=>{const B=j[1];A(M,j),Se(M)?M.every(H=>H.length<=1)&&B():M.length<=1&&B()},D={mode:s,persisted:a,beforeEnter(M){let j=l;if(!n.isMounted)if(i)j=v||l;else return;M[ko]&&M[ko](!0);const B=T[_];B&&Er(e,B)&&B.el[ko]&&B.el[ko](),A(j,[M])},enter(M){let j=u,B=c,H=f;if(!n.isMounted)if(i)j=m||u,B=E||c,H=y||f;else return;let le=!1;const Te=M[Rl]=ke=>{le||(le=!0,ke?A(H,[M]):A(B,[M]),D.delayedLeave&&D.delayedLeave(),M[Rl]=void 0)};j?S(j,[M,Te]):Te()},leave(M,j){const B=String(e.key);if(M[Rl]&&M[Rl](!0),n.isUnmounting)return j();A(d,[M]);let H=!1;const le=M[ko]=Te=>{H||(H=!0,j(),Te?A(g,[M]):A(h,[M]),M[ko]=void 0,T[B]===e&&delete T[B])};T[B]=e,p?S(p,[M,le]):le()},clone(M){const j=ps(M,t,n,r,o);return o&&o(j),j}};return D}function Zc(e){if(Ka(e))return e=Wn(e),e.children=null,e}function ug(e){if(!Ka(e))return V_(e.type)&&e.children?G_(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 bo(e,t){e.shapeFlag&6&&e.component?(e.transition=t,bo(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 vc(e,t=!1,n){let r=[],o=0;for(let i=0;i1)for(let i=0;in.value,set:i=>n.value=i})}return n}function as(e,t,n,r,o=!1){if(Se(e)){e.forEach((h,g)=>as(h,t&&(Se(t)?t[g]:t),n,r,o));return}if(zo(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&as(e,t,n,r.component.subTree);return}const i=r.shapeFlag&4?Wa(r.component):r.el,s=o?null:i,{i:a,r:l}=e,u=t&&t.r,c=a.refs===st?a.refs={}:a.refs,f=a.setupState,d=at(f),p=f===st?()=>!1:h=>vt(d,h);if(u!=null&&u!==l&&(Dt(u)?(c[u]=null,p(u)&&(f[u]=null)):It(u)&&(u.value=null)),$e(l))Os(l,a,12,[s,c]);else{const h=Dt(l),g=It(l);if(h||g){const v=()=>{if(e.f){const m=h?p(l)?f[l]:c[l]:l.value;o?Se(m)&&Ap(m,i):Se(m)?m.includes(i)||m.push(i):h?(c[l]=[i],p(l)&&(f[l]=c[l])):(l.value=[i],e.k&&(c[e.k]=l.value))}else h?(c[l]=s,p(l)&&(f[l]=s)):g&&(l.value=s,e.k&&(c[e.k]=s))};s?(v.id=-1,en(v,n)):v()}}}let cg=!1;const Vi=()=>{cg||(console.error("Hydration completed but contains mismatches."),cg=!0)},Bw=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Hw=e=>e.namespaceURI.includes("MathML"),Il=e=>{if(e.nodeType===1){if(Bw(e))return"svg";if(Hw(e))return"mathml"}},Ji=e=>e.nodeType===8;function zw(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:i,parentNode:s,remove:a,insert:l,createComment:u}}=e,c=(y,_)=>{if(!_.hasChildNodes()){n(null,y,_),Ru(),_._vnode=y;return}f(_.firstChild,y,null,null,null),Ru(),_._vnode=y},f=(y,_,T,A,S,D=!1)=>{D=D||!!_.dynamicChildren;const M=Ji(y)&&y.data==="[",j=()=>g(y,_,T,A,S,M),{type:B,ref:H,shapeFlag:le,patchFlag:Te}=_;let ke=y.nodeType;_.el=y,Te===-2&&(D=!1,_.dynamicChildren=null);let pe=null;switch(B){case Kr:ke!==3?_.children===""?(l(_.el=o(""),s(y),y),pe=y):pe=j():(y.data!==_.children&&(Vi(),y.data=_.children),pe=i(y));break;case zt:E(y)?(pe=i(y),m(_.el=y.content.firstChild,y,T)):ke!==8||M?pe=j():pe=i(y);break;case Ei:if(M&&(y=i(y),ke=y.nodeType),ke===1||ke===3){pe=y;const ge=!_.children.length;for(let re=0;re<_.staticCount;re++)ge&&(_.children+=pe.nodeType===1?pe.outerHTML:pe.data),re===_.staticCount-1&&(_.anchor=pe),pe=i(pe);return M?i(pe):pe}else j();break;case Ct:M?pe=h(y,_,T,A,S,D):pe=j();break;default:if(le&1)(ke!==1||_.type.toLowerCase()!==y.tagName.toLowerCase())&&!E(y)?pe=j():pe=d(y,_,T,A,S,D);else if(le&6){_.slotScopeIds=S;const ge=s(y);if(M?pe=v(y):Ji(y)&&y.data==="teleport start"?pe=v(y,y.data,"teleport end"):pe=i(y),t(_,ge,null,T,A,Il(ge),D),zo(_)&&!_.type.__asyncResolved){let re;M?(re=xe(Ct),re.anchor=pe?pe.previousSibling:ge.lastChild):re=y.nodeType===3?Qr(""):xe("div"),re.el=y,_.component.subTree=re}}else le&64?ke!==8?pe=j():pe=_.type.hydrate(y,_,T,A,S,D,e,p):le&128&&(pe=_.type.hydrate(y,_,T,A,Il(s(y)),S,D,e,f))}return H!=null&&as(H,null,A,_),pe},d=(y,_,T,A,S,D)=>{D=D||!!_.dynamicChildren;const{type:M,props:j,patchFlag:B,shapeFlag:H,dirs:le,transition:Te}=_,ke=M==="input"||M==="option";if(ke||B!==-1){le&&Ur(_,null,T,"created");let pe=!1;if(E(y)){pe=g1(null,Te)&&T&&T.vnode.props&&T.vnode.props.appear;const re=y.content.firstChild;if(pe){const _e=re.getAttribute("class");_e&&(re.$cls=_e),Te.beforeEnter(re)}m(re,y,T),_.el=y=re}if(H&16&&!(j&&(j.innerHTML||j.textContent))){let re=p(y.firstChild,_,y,T,A,S,D);for(;re;){Ol(y,1)||Vi();const _e=re;re=re.nextSibling,a(_e)}}else if(H&8){let re=_.children;re[0]===` `&&(y.tagName==="PRE"||y.tagName==="TEXTAREA")&&(re=re.slice(1)),y.textContent!==re&&(Ol(y,0)||Vi(),y.textContent=_.children)}if(j){if(ke||!D||B&48){const re=y.tagName.includes("-");for(const _e in j)(ke&&(_e.endsWith("value")||_e==="indeterminate")||$a(_e)&&!rs(_e)||_e[0]==="."||re)&&r(y,_e,null,j[_e],void 0,T)}else if(j.onClick)r(y,"onClick",null,j.onClick,void 0,T);else if(B&4&&Ho(j.style))for(const re in j.style)j.style[re]}let ge;(ge=j&&j.onVnodeBeforeMount)&&Hn(ge,T,_),le&&Ur(_,null,T,"beforeMount"),((ge=j&&j.onVnodeMounted)||le||pe)&&A1(()=>{ge&&Hn(ge,T,_),pe&&Te.enter(y),le&&Ur(_,null,T,"mounted")},A)}return y.nextSibling},p=(y,_,T,A,S,D,M)=>{M=M||!!_.dynamicChildren;const j=_.children,B=j.length;for(let H=0;H{const{slotScopeIds:M}=_;M&&(S=S?S.concat(M):M);const j=s(y),B=p(i(y),_,j,T,A,S,D);return B&&Ji(B)&&B.data==="]"?i(_.anchor=B):(Vi(),l(_.anchor=u("]"),j,B),B)},g=(y,_,T,A,S,D)=>{if(Ol(y.parentElement,1)||Vi(),_.el=null,D){const B=v(y);for(;;){const H=i(y);if(H&&H!==B)a(H);else break}}const M=i(y),j=s(y);return a(y),n(null,_,j,M,T,A,Il(j),S),T&&(T.vnode.el=_.el,wc(T,_.el)),M},v=(y,_="[",T="]")=>{let A=0;for(;y;)if(y=i(y),y&&Ji(y)&&(y.data===_&&A++,y.data===T)){if(A===0)return i(y);A--}return y},m=(y,_,T)=>{const A=_.parentNode;A&&A.replaceChild(y,_);let S=T;for(;S;)S.vnode.el===_&&(S.vnode.el=S.subTree.el=y),S=S.parent},E=y=>y.nodeType===1&&y.tagName==="TEMPLATE";return[c,f]}const fg="data-allow-mismatch",Gw={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Ol(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(fg);)e=e.parentElement;const n=e&&e.getAttribute(fg);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:r.includes(Gw[t])}}const Kw=cc().requestIdleCallback||(e=>setTimeout(e,1)),qw=cc().cancelIdleCallback||(e=>clearTimeout(e)),Ww=(e=1e4)=>t=>{const n=Kw(t,{timeout:e});return()=>qw(n)};function Yw(e){const{top:t,left:n,bottom:r,right:o}=e.getBoundingClientRect(),{innerHeight:i,innerWidth:s}=window;return(t>0&&t0&&r0&&n0&&o(t,n)=>{const r=new IntersectionObserver(o=>{for(const i of o)if(i.isIntersecting){r.disconnect(),t();break}},e);return n(o=>{if(o instanceof Element){if(Yw(o))return t(),r.disconnect(),!1;r.observe(o)}}),()=>r.disconnect()},Jw=e=>t=>{if(e){const n=matchMedia(e);if(n.matches)t();else return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t)}},Qw=(e=[])=>(t,n)=>{Dt(e)&&(e=[e]);let r=!1;const o=s=>{r||(r=!0,i(),t(),s.target.dispatchEvent(new s.constructor(s.type,s)))},i=()=>{n(s=>{for(const a of e)s.removeEventListener(a,o)})};return n(s=>{for(const a of e)s.addEventListener(a,o,{once:!0})}),i};function Zw(e,t){if(Ji(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(Ji(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const zo=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Eo(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((v,m)=>{l(g,()=>v(d()),()=>m(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 Ce({name:"AsyncComponentWrapper",__asyncLoader:p,__asyncHydrate(h,g,v){let m=!1;(g.bu||(g.bu=[])).push(()=>m=!0);const E=()=>{m||v()},y=i?()=>{const _=i(E,T=>Zw(h,T));_&&(g.bum||(g.bum=[])).push(_)}:E;c?y():p().then(()=>!g.isUnmounted&&y())},get __asyncResolved(){return c},setup(){const h=pn;if(Mp(h),c)return()=>ef(c,h);const g=y=>{u=null,Ni(y,h,13,!r)};if(a&&h.suspense||hs)return p().then(y=>()=>ef(y,h)).catch(y=>(g(y),()=>r?xe(r,{error:y}):null));const v=Fe(!1),m=Fe(),E=Fe(!!o);return o&&setTimeout(()=>{E.value=!1},o),s!=null&&setTimeout(()=>{if(!v.value&&!m.value){const y=new Error(`Async component timed out after ${s}ms.`);g(y),m.value=y}},s),p().then(()=>{v.value=!0,h.parent&&Ka(h.parent.vnode)&&h.parent.update()}).catch(y=>{g(y),m.value=y}),()=>{if(v.value&&c)return ef(c,h);if(m.value&&r)return xe(r,{error:m.value});if(n&&!E.value)return xe(n)}}})}function ef(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,s=xe(e,r,o);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const Ka=e=>e.type.__isKeepAlive,eS={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=yt(),r=n.ctx;if(!r.renderer)return()=>{const E=t.default&&t.default();return E&&E.length===1?E[0]:E};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=(E,y,_,T,A)=>{const S=E.component;u(E,y,_,0,a),l(S.vnode,E,y,_,S,a,T,E.slotScopeIds,A),en(()=>{S.isDeactivated=!1,S.a&&is(S.a);const D=E.props&&E.props.onVnodeMounted;D&&Hn(D,S.parent,E)},a)},r.deactivate=E=>{const y=E.component;xu(y.m),xu(y.a),u(E,d,null,1,a),en(()=>{y.da&&is(y.da);const _=E.props&&E.props.onVnodeUnmounted;_&&Hn(_,y.parent,E),y.isDeactivated=!0},a)};function p(E){tf(E),c(E,n,a,!0)}function h(E){o.forEach((y,_)=>{const T=md(y.type);T&&!E(T)&&g(_)})}function g(E){const y=o.get(E);y&&(!s||!Er(y,s))?p(y):s&&tf(s),o.delete(E),i.delete(E)}St(()=>[e.include,e.exclude],([E,y])=>{E&&h(_=>Qs(E,_)),y&&h(_=>!Qs(y,_))},{flush:"post",deep:!0});let v=null;const m=()=>{v!=null&&(Cu(n.subTree.type)?en(()=>{o.set(v,xl(n.subTree))},n.subTree.suspense):o.set(v,xl(n.subTree)))};return an(m),bc(m),Zo(()=>{o.forEach(E=>{const{subTree:y,suspense:_}=n,T=xl(y);if(E.type===T.type&&E.key===T.key){tf(T);const A=T.component.da;A&&en(A,_);return}p(E)})}),()=>{if(v=null,!t.default)return s=null;const E=t.default(),y=E[0];if(E.length>1)return s=null,E;if(!To(y)||!(y.shapeFlag&4)&&!(y.shapeFlag&128))return s=null,y;let _=xl(y);if(_.type===zt)return s=null,_;const T=_.type,A=md(zo(_)?_.type.__asyncResolved||{}:T),{include:S,exclude:D,max:M}=e;if(S&&(!A||!Qs(S,A))||D&&A&&Qs(D,A))return _.shapeFlag&=-257,s=_,y;const j=_.key==null?T:_.key,B=o.get(j);return _.el&&(_=Wn(_),y.shapeFlag&128&&(y.ssContent=_)),v=j,B?(_.el=B.el,_.component=B.component,_.transition&&bo(_,_.transition),_.shapeFlag|=512,i.delete(j),i.add(j)):(i.add(j),M&&i.size>parseInt(M,10)&&g(i.values().next().value)),_.shapeFlag|=256,s=_,Cu(y.type)?y:_}}},W_=eS;function Qs(e,t){return Se(e)?e.some(n=>Qs(n,t)):Dt(e)?e.split(",").includes(t):DT(e)?(e.lastIndex=0,e.test(t)):!1}function Fp(e,t){Y_(e,"a",t)}function Up(e,t){Y_(e,"da",t)}function Y_(e,t,n=pn){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(_c(t,r,n),n){let o=n.parent;for(;o&&o.parent;)Ka(o.parent.vnode)&&tS(r,t,n,o),o=o.parent}}function tS(e,t,n,r){const o=_c(t,e,r,!0);Ro(()=>{Ap(r[t],o)},n)}function tf(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function xl(e){return e.shapeFlag&128?e.ssContent:e}function _c(e,t,n=pn,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...s)=>{vo();const a=Ai(n),l=hr(t,n,e,s);return a(),_o(),l});return r?o.unshift(i):o.push(i),i}}const Ao=e=>(t,n=pn)=>{(!hs||e==="sp")&&_c(e,(...r)=>t(...r),n)},jp=Ao("bm"),an=Ao("m"),Vp=Ao("bu"),bc=Ao("u"),Zo=Ao("bum"),Ro=Ao("um"),X_=Ao("sp"),J_=Ao("rtg"),Q_=Ao("rtc");function $p(e,t=pn){_c("ec",e,t)}const Bp="components",nS="directives";function Iu(e,t){return Hp(Bp,e,!0,t)||e}const Z_=Symbol.for("v-ndc");function Go(e){return Dt(e)?Hp(Bp,e,!1)||e:e||Z_}function rS(e){return Hp(nS,e)}function Hp(e,t,n=!0,r=!1){const o=hn||pn;if(o){const i=o.type;if(e===Bp){const a=md(i,!1);if(a&&(a===t||a===on(t)||a===Ba(on(t))))return i}const s=dg(o[e]||i[e],t)||dg(o.appContext[e],t);return!s&&r?i:s}}function dg(e,t){return e&&(e[t]||e[on(t)]||e[Ba(on(t))])}function zp(e,t,n,r){let o;const i=n&&n[r],s=Se(e);if(s||Dt(e)){const a=s&&Ho(e);let l=!1,u=!1;a&&(l=!nr(e),u=Xr(e),e=pc(e)),o=new Array(e.length);for(let c=0,f=e.length;ct(a,l,void 0,i&&i[l]));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(hn.ce||hn.parent&&zo(hn.parent)&&hn.parent.ce)return t!=="default"&&(n.name=t),me(),Ge(Ct,null,[xe("slot",n,r&&r())],64);let i=e[t];i&&i._c&&(i._d=!1),me();const s=i&&Kp(i(n)),a=n.key||s&&s.key,l=Ge(Ct,{key:(a&&!Sr(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 Kp(e){return e.some(t=>To(t)?!(t.type===zt||t.type===Ct&&!Kp(t.children)):!0)?e:null}function oS(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:os(r)]=e[r];return n}const id=e=>e?C1(e)?Wa(e):id(e.parent):null,sa=Nt(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=>id(e.parent),$root:e=>id(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>qp(e),$forceUpdate:e=>e.f||(e.f=()=>{Pp(e.update)}),$nextTick:e=>e.n||(e.n=Yt.bind(e.proxy)),$watch:e=>NS.bind(e)}),nf=(e,t)=>e!==st&&!e.__isScriptSetup&&vt(e,t),sd={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(nf(r,t))return s[t]=1,r[t];if(o!==st&&vt(o,t))return s[t]=2,o[t];if((u=e.propsOptions[0])&&vt(u,t))return s[t]=3,i[t];if(n!==st&&vt(n,t))return s[t]=4,n[t];ad&&(s[t]=0)}}const c=sa[t];let f,d;if(c)return t==="$attrs"&&bn(e.attrs,"get",""),c(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==st&&vt(n,t))return s[t]=4,n[t];if(d=l.config.globalProperties,vt(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return nf(o,t)?(o[t]=n,!0):r!==st&&vt(r,t)?(r[t]=n,!0):vt(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}},s){let a;return!!n[s]||e!==st&&vt(e,s)||nf(t,s)||(a=i[0])&&vt(a,s)||vt(r,s)||vt(sa,s)||vt(o.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:vt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},iS=Nt({},sd,{get(e,t){if(t!==Symbol.unscopables)return sd.get(e,t,e)},has(e,t){return t[0]!=="_"&&!jT(t)}});function sS(){return null}function aS(){return null}function lS(e){}function uS(e){}function cS(){return null}function fS(){}function dS(e,t){return null}function pS(){return e1().slots}function Ec(){return e1().attrs}function e1(e){const t=yt();return t.setupContext||(t.setupContext=P1(t))}function Ta(e){return Se(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function hS(e,t){const n=Ta(e);for(const r in t){if(r.startsWith("__skip"))continue;let o=n[r];o?Se(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 t1(e,t){return!e||!t?e||t:Se(e)&&Se(t)?e.concat(t):Nt({},Ta(e),Ta(t))}function gS(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function ls(e){const t=yt();let n=e();return pd(),Rp(n)&&(n=n.catch(r=>{throw Ai(t),r})),[n,()=>Ai(t)]}let ad=!0;function mS(e){const t=qp(e),n=e.proxy,r=e.ctx;ad=!1,t.beforeCreate&&pg(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:v,beforeDestroy:m,beforeUnmount:E,destroyed:y,unmounted:_,render:T,renderTracked:A,renderTriggered:S,errorCaptured:D,serverPrefetch:M,expose:j,inheritAttrs:B,components:H,directives:le,filters:Te}=t;if(u&&yS(u,r,null),s)for(const ge in s){const re=s[ge];$e(re)&&(r[ge]=re.bind(n))}if(o){const ge=o.call(n,n);Ot(ge)&&(e.data=sn(ge))}if(ad=!0,i)for(const ge in i){const re=i[ge],_e=$e(re)?re.bind(n,n):$e(re.get)?re.get.bind(n,n):fr,tt=!$e(re)&&$e(re.set)?re.set.bind(n):fr,Ae=te({get:_e,set:tt});Object.defineProperty(r,ge,{enumerable:!0,configurable:!0,get:()=>Ae.value,set:Ke=>Ae.value=Ke})}if(a)for(const ge in a)n1(a[ge],r,n,ge);if(l){const ge=$e(l)?l.call(n):l;Reflect.ownKeys(ge).forEach(re=>{Gr(re,ge[re])})}c&&pg(c,e,"c");function pe(ge,re){Se(re)?re.forEach(_e=>ge(_e.bind(n))):re&&ge(re.bind(n))}if(pe(jp,f),pe(an,d),pe(Vp,p),pe(bc,h),pe(Fp,g),pe(Up,v),pe($p,D),pe(Q_,A),pe(J_,S),pe(Zo,E),pe(Ro,_),pe(X_,M),Se(j))if(j.length){const ge=e.exposed||(e.exposed={});j.forEach(re=>{Object.defineProperty(ge,re,{get:()=>n[re],set:_e=>n[re]=_e,enumerable:!0})})}else e.exposed||(e.exposed={});T&&e.render===fr&&(e.render=T),B!=null&&(e.inheritAttrs=B),H&&(e.components=H),le&&(e.directives=le),M&&Mp(e)}function yS(e,t,n=fr){Se(e)&&(e=ld(e));for(const r in e){const o=e[r];let i;Ot(o)?"default"in o?i=jt(o.from||r,o.default,!0):i=jt(o.from||r):i=jt(o),It(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):t[r]=i}}function pg(e,t,n){hr(Se(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function n1(e,t,n,r){let o=r.includes(".")?b1(n,r):()=>n[r];if(Dt(e)){const i=t[e];$e(i)&&St(o,i)}else if($e(e))St(o,e.bind(n));else if(Ot(e))if(Se(e))e.forEach(i=>n1(i,t,n,r));else{const i=$e(e.handler)?e.handler.bind(n):t[e.handler];$e(i)&&St(o,i,e)}}function qp(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=>Ou(l,u,s,!0)),Ou(l,t,s)),Ot(t)&&i.set(t,l),l}function Ou(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&Ou(e,i,n,!0),o&&o.forEach(s=>Ou(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const a=vS[s]||n&&n[s];e[s]=a?a(e[s],t[s]):t[s]}return e}const vS={data:hg,props:gg,emits:gg,methods:Zs,computed:Zs,beforeCreate:Cn,created:Cn,beforeMount:Cn,mounted:Cn,beforeUpdate:Cn,updated:Cn,beforeDestroy:Cn,beforeUnmount:Cn,destroyed:Cn,unmounted:Cn,activated:Cn,deactivated:Cn,errorCaptured:Cn,serverPrefetch:Cn,components:Zs,directives:Zs,watch:bS,provide:hg,inject:_S};function hg(e,t){return t?e?function(){return Nt($e(e)?e.call(this,this):e,$e(t)?t.call(this,this):t)}:t:e}function _S(e,t){return Zs(ld(e),ld(t))}function ld(e){if(Se(e)){const t={};for(let n=0;n1)return n&&$e(t)?t.call(r&&r.proxy):t}}function ei(){return!!(yt()||bi)}const o1={},i1=()=>Object.create(o1),s1=e=>Object.getPrototypeOf(e)===o1;function wS(e,t,n,r=!1){const o={},i=i1();e.propsDefaults=Object.create(null),a1(e,t,o,i);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);n?e.props=r?o:Tr(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function SS(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:s}}=e,a=at(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]=l1(f,t,!0);Nt(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 Ot(e)&&r.set(e,ts),ts;if(Se(i))for(let c=0;ce==="_"||e==="__"||e==="_ctx"||e==="$stable",Yp=e=>Se(e)?e.map(Gn):[Gn(e)],RS=(e,t,n)=>{if(t._n)return t;const r=Ve((...o)=>Yp(t(...o)),n);return r._c=!1,r},u1=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Wp(o))continue;const i=e[o];if($e(i))t[o]=RS(o,i,r);else if(i!=null){const s=Yp(i);t[o]=()=>s}}},c1=(e,t)=>{const n=Yp(t);e.slots.default=()=>n},f1=(e,t,n)=>{for(const r in t)(n||!Wp(r))&&(e[r]=t[r])},IS=(e,t,n)=>{const r=e.slots=i1();if(e.vnode.shapeFlag&32){const o=t.__;o&&ed(r,"__",o,!0);const i=t._;i?(f1(r,t,n),n&&ed(r,"_",i,!0)):u1(t,r)}else t&&c1(e,t)},OS=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,s=st;if(r.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:f1(o,t,n):(i=!t.$stable,u1(t,o)),s=t}else t&&(c1(e,t),s={default:1});if(i)for(const a in o)!Wp(a)&&s[a]==null&&delete o[a]},en=A1;function d1(e){return h1(e)}function p1(e){return h1(e,zw)}function h1(e,t){const n=cc();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=fr,insertStaticContent:h}=e,g=(C,L,V,ne=null,X=null,O=null,N=void 0,U=null,K=!!L.dynamicChildren)=>{if(C===L)return;C&&!Er(C,L)&&(ne=J(C),Ke(C,X,O,!0),C=null),L.patchFlag===-2&&(K=!1,L.dynamicChildren=null);const{type:ee,ref:Q,shapeFlag:I}=L;switch(ee){case Kr:v(C,L,V,ne);break;case zt:m(C,L,V,ne);break;case Ei:C==null&&E(L,V,ne,N);break;case Ct:H(C,L,V,ne,X,O,N,U,K);break;default:I&1?T(C,L,V,ne,X,O,N,U,K):I&6?le(C,L,V,ne,X,O,N,U,K):(I&64||I&128)&&ee.process(C,L,V,ne,X,O,N,U,K,ve)}Q!=null&&X?as(Q,C&&C.ref,O,L||C,!L):Q==null&&C&&C.ref!=null&&as(C.ref,null,O,C,!0)},v=(C,L,V,ne)=>{if(C==null)r(L.el=a(L.children),V,ne);else{const X=L.el=C.el;L.children!==C.children&&u(X,L.children)}},m=(C,L,V,ne)=>{C==null?r(L.el=l(L.children||""),V,ne):L.el=C.el},E=(C,L,V,ne)=>{[C.el,C.anchor]=h(C.children,L,V,ne,C.el,C.anchor)},y=({el:C,anchor:L},V,ne)=>{let X;for(;C&&C!==L;)X=d(C),r(C,V,ne),C=X;r(L,V,ne)},_=({el:C,anchor:L})=>{let V;for(;C&&C!==L;)V=d(C),o(C),C=V;o(L)},T=(C,L,V,ne,X,O,N,U,K)=>{L.type==="svg"?N="svg":L.type==="math"&&(N="mathml"),C==null?A(L,V,ne,X,O,N,U,K):M(C,L,X,O,N,U,K)},A=(C,L,V,ne,X,O,N,U)=>{let K,ee;const{props:Q,shapeFlag:I,transition:P,dirs:G}=C;if(K=C.el=s(C.type,O,Q&&Q.is,Q),I&8?c(K,C.children):I&16&&D(C.children,K,null,ne,X,rf(C,O),N,U),G&&Ur(C,null,ne,"created"),S(K,C,C.scopeId,N,ne),Q){for(const fe in Q)fe!=="value"&&!rs(fe)&&i(K,fe,null,Q[fe],O,ne);"value"in Q&&i(K,"value",null,Q.value,O),(ee=Q.onVnodeBeforeMount)&&Hn(ee,ne,C)}G&&Ur(C,null,ne,"beforeMount");const oe=g1(X,P);oe&&P.beforeEnter(K),r(K,L,V),((ee=Q&&Q.onVnodeMounted)||oe||G)&&en(()=>{ee&&Hn(ee,ne,C),oe&&P.enter(K),G&&Ur(C,null,ne,"mounted")},X)},S=(C,L,V,ne,X)=>{if(V&&p(C,V),ne)for(let O=0;O{for(let ee=K;ee{const U=L.el=C.el;let{patchFlag:K,dynamicChildren:ee,dirs:Q}=L;K|=C.patchFlag&16;const I=C.props||st,P=L.props||st;let G;if(V&&ci(V,!1),(G=P.onVnodeBeforeUpdate)&&Hn(G,V,L,C),Q&&Ur(L,C,V,"beforeUpdate"),V&&ci(V,!0),(I.innerHTML&&P.innerHTML==null||I.textContent&&P.textContent==null)&&c(U,""),ee?j(C.dynamicChildren,ee,U,V,ne,rf(L,X),O):N||re(C,L,U,null,V,ne,rf(L,X),O,!1),K>0){if(K&16)B(U,I,P,V,X);else if(K&2&&I.class!==P.class&&i(U,"class",null,P.class,X),K&4&&i(U,"style",I.style,P.style,X),K&8){const oe=L.dynamicProps;for(let fe=0;fe{G&&Hn(G,V,L,C),Q&&Ur(L,C,V,"updated")},ne)},j=(C,L,V,ne,X,O,N)=>{for(let U=0;U{if(L!==V){if(L!==st)for(const O in L)!rs(O)&&!(O in V)&&i(C,O,L[O],null,X,ne);for(const O in V){if(rs(O))continue;const N=V[O],U=L[O];N!==U&&O!=="value"&&i(C,O,U,N,X,ne)}"value"in V&&i(C,"value",L.value,V.value,X)}},H=(C,L,V,ne,X,O,N,U,K)=>{const ee=L.el=C?C.el:a(""),Q=L.anchor=C?C.anchor:a("");let{patchFlag:I,dynamicChildren:P,slotScopeIds:G}=L;G&&(U=U?U.concat(G):G),C==null?(r(ee,V,ne),r(Q,V,ne),D(L.children||[],V,Q,X,O,N,U,K)):I>0&&I&64&&P&&C.dynamicChildren?(j(C.dynamicChildren,P,V,X,O,N,U),(L.key!=null||X&&L===X.subTree)&&Xp(C,L,!0)):re(C,L,V,Q,X,O,N,U,K)},le=(C,L,V,ne,X,O,N,U,K)=>{L.slotScopeIds=U,C==null?L.shapeFlag&512?X.ctx.activate(L,V,ne,N,K):Te(L,V,ne,X,O,N,K):ke(C,L,K)},Te=(C,L,V,ne,X,O,N)=>{const U=C.component=x1(C,ne,X);if(Ka(C)&&(U.ctx.renderer=ve),N1(U,!1,N),U.asyncDep){if(X&&X.registerDep(U,pe,N),!C.el){const K=U.subTree=xe(zt);m(null,K,L,V),C.placeholder=K.el}}else pe(U,C,L,V,X,O,N)},ke=(C,L,V)=>{const ne=L.component=C.component;if(MS(C,L,V))if(ne.asyncDep&&!ne.asyncResolved){ge(ne,L,V);return}else ne.next=L,ne.update();else L.el=C.el,ne.vnode=L},pe=(C,L,V,ne,X,O,N)=>{const U=()=>{if(C.isMounted){let{next:I,bu:P,u:G,parent:oe,vnode:fe}=C;{const we=m1(C);if(we){I&&(I.el=fe.el,ge(C,I,N)),we.asyncDep.then(()=>{C.isUnmounted||U()});return}}let be=I,Ye;ci(C,!1),I?(I.el=fe.el,ge(C,I,N)):I=fe,P&&is(P),(Ye=I.props&&I.props.onVnodeBeforeUpdate)&&Hn(Ye,oe,I,fe),ci(C,!0);const nt=au(C),Ue=C.subTree;C.subTree=nt,g(Ue,nt,f(Ue.el),J(Ue),C,X,O),I.el=nt.el,be===null&&wc(C,nt.el),G&&en(G,X),(Ye=I.props&&I.props.onVnodeUpdated)&&en(()=>Hn(Ye,oe,I,fe),X)}else{let I;const{el:P,props:G}=L,{bm:oe,m:fe,parent:be,root:Ye,type:nt}=C,Ue=zo(L);if(ci(C,!1),oe&&is(oe),!Ue&&(I=G&&G.onVnodeBeforeMount)&&Hn(I,be,L),ci(C,!0),P&&ze){const we=()=>{C.subTree=au(C),ze(P,C.subTree,C,X,null)};Ue&&nt.__asyncHydrate?nt.__asyncHydrate(P,C,we):we()}else{Ye.ce&&Ye.ce._def.shadowRoot!==!1&&Ye.ce._injectChildStyle(nt);const we=C.subTree=au(C);g(null,we,V,ne,C,X,O),L.el=we.el}if(fe&&en(fe,X),!Ue&&(I=G&&G.onVnodeMounted)){const we=L;en(()=>Hn(I,be,we),X)}(L.shapeFlag&256||be&&zo(be.vnode)&&be.vnode.shapeFlag&256)&&C.a&&en(C.a,X),C.isMounted=!0,L=V=ne=null}};C.scope.on();const K=C.effect=new ga(U);C.scope.off();const ee=C.update=K.run.bind(K),Q=C.job=K.runIfDirty.bind(K);Q.i=C,Q.id=C.uid,K.scheduler=()=>Pp(Q),ci(C,!0),ee()},ge=(C,L,V)=>{L.component=C;const ne=C.vnode.props;C.vnode=L,C.next=null,SS(C,L.props,ne,V),OS(C,L.children,V),vo(),ig(C),_o()},re=(C,L,V,ne,X,O,N,U,K=!1)=>{const ee=C&&C.children,Q=C?C.shapeFlag:0,I=L.children,{patchFlag:P,shapeFlag:G}=L;if(P>0){if(P&128){tt(ee,I,V,ne,X,O,N,U,K);return}else if(P&256){_e(ee,I,V,ne,X,O,N,U,K);return}}G&8?(Q&16&&ot(ee,X,O),I!==ee&&c(V,I)):Q&16?G&16?tt(ee,I,V,ne,X,O,N,U,K):ot(ee,X,O,!0):(Q&8&&c(V,""),G&16&&D(I,V,ne,X,O,N,U,K))},_e=(C,L,V,ne,X,O,N,U,K)=>{C=C||ts,L=L||ts;const ee=C.length,Q=L.length,I=Math.min(ee,Q);let P;for(P=0;PQ?ot(C,X,O,!0,!1,I):D(L,V,ne,X,O,N,U,K,I)},tt=(C,L,V,ne,X,O,N,U,K)=>{let ee=0;const Q=L.length;let I=C.length-1,P=Q-1;for(;ee<=I&&ee<=P;){const G=C[ee],oe=L[ee]=K?Mo(L[ee]):Gn(L[ee]);if(Er(G,oe))g(G,oe,V,null,X,O,N,U,K);else break;ee++}for(;ee<=I&&ee<=P;){const G=C[I],oe=L[P]=K?Mo(L[P]):Gn(L[P]);if(Er(G,oe))g(G,oe,V,null,X,O,N,U,K);else break;I--,P--}if(ee>I){if(ee<=P){const G=P+1,oe=GP)for(;ee<=I;)Ke(C[ee],X,O,!0),ee++;else{const G=ee,oe=ee,fe=new Map;for(ee=oe;ee<=P;ee++){const Bt=L[ee]=K?Mo(L[ee]):Gn(L[ee]);Bt.key!=null&&fe.set(Bt.key,ee)}let be,Ye=0;const nt=P-oe+1;let Ue=!1,we=0;const At=new Array(nt);for(ee=0;ee=nt){Ke(Bt,X,O,!0);continue}let mn;if(Bt.key!=null)mn=fe.get(Bt.key);else for(be=oe;be<=P;be++)if(At[be-oe]===0&&Er(Bt,L[be])){mn=be;break}mn===void 0?Ke(Bt,X,O,!0):(At[mn-oe]=ee+1,mn>=we?we=mn:Ue=!0,g(Bt,L[mn],V,null,X,O,N,U,K),Ye++)}const In=Ue?xS(At):ts;for(be=In.length-1,ee=nt-1;ee>=0;ee--){const Bt=oe+ee,mn=L[Bt],ii=L[Bt+1],to=Bt+1{const{el:O,type:N,transition:U,children:K,shapeFlag:ee}=C;if(ee&6){Ae(C.component.subTree,L,V,ne);return}if(ee&128){C.suspense.move(L,V,ne);return}if(ee&64){N.move(C,L,V,ve);return}if(N===Ct){r(O,L,V);for(let I=0;IU.enter(O),X);else{const{leave:I,delayLeave:P,afterLeave:G}=U,oe=()=>{C.ctx.isUnmounted?o(O):r(O,L,V)},fe=()=>{I(O,()=>{oe(),G&&G()})};P?P(O,oe,fe):fe()}else r(O,L,V)},Ke=(C,L,V,ne=!1,X=!1)=>{const{type:O,props:N,ref:U,children:K,dynamicChildren:ee,shapeFlag:Q,patchFlag:I,dirs:P,cacheIndex:G}=C;if(I===-2&&(X=!1),U!=null&&(vo(),as(U,null,V,C,!0),_o()),G!=null&&(L.renderCache[G]=void 0),Q&256){L.ctx.deactivate(C);return}const oe=Q&1&&P,fe=!zo(C);let be;if(fe&&(be=N&&N.onVnodeBeforeUnmount)&&Hn(be,L,C),Q&6)qe(C.component,V,ne);else{if(Q&128){C.suspense.unmount(V,ne);return}oe&&Ur(C,null,L,"beforeUnmount"),Q&64?C.type.remove(C,L,V,ve,ne):ee&&!ee.hasOnce&&(O!==Ct||I>0&&I&64)?ot(ee,L,V,!1,!0):(O===Ct&&I&384||!X&&Q&16)&&ot(K,L,V),ne&&He(C)}(fe&&(be=N&&N.onVnodeUnmounted)||oe)&&en(()=>{be&&Hn(be,L,C),oe&&Ur(C,null,L,"unmounted")},V)},He=C=>{const{type:L,el:V,anchor:ne,transition:X}=C;if(L===Ct){it(V,ne);return}if(L===Ei){_(C);return}const O=()=>{o(V),X&&!X.persisted&&X.afterLeave&&X.afterLeave()};if(C.shapeFlag&1&&X&&!X.persisted){const{leave:N,delayLeave:U}=X,K=()=>N(V,O);U?U(C.el,O,K):K()}else O()},it=(C,L)=>{let V;for(;C!==L;)V=d(C),o(C),C=V;o(L)},qe=(C,L,V)=>{const{bum:ne,scope:X,job:O,subTree:N,um:U,m:K,a:ee,parent:Q,slots:{__:I}}=C;xu(K),xu(ee),ne&&is(ne),Q&&Se(I)&&I.forEach(P=>{Q.renderCache[P]=void 0}),X.stop(),O&&(O.flags|=8,Ke(N,C,L,V)),U&&en(U,L),en(()=>{C.isUnmounted=!0},L),L&&L.pendingBranch&&!L.isUnmounted&&C.asyncDep&&!C.asyncResolved&&C.suspenseId===L.pendingId&&(L.deps--,L.deps===0&&L.resolve())},ot=(C,L,V,ne=!1,X=!1,O=0)=>{for(let N=O;N{if(C.shapeFlag&6)return J(C.component.subTree);if(C.shapeFlag&128)return C.suspense.next();const L=d(C.anchor||C.el),V=L&&L[j_];return V?d(V):L};let se=!1;const ae=(C,L,V)=>{C==null?L._vnode&&Ke(L._vnode,null,null,!0):g(L._vnode||null,C,L,null,null,null,V),L._vnode=C,se||(se=!0,ig(),Ru(),se=!1)},ve={p:g,um:Ke,m:Ae,r:He,mt:Te,mc:D,pc:re,pbc:j,n:J,o:e};let We,ze;return t&&([We,ze]=t(ve)),{render:ae,hydrate:We,createApp:TS(ae,We)}}function rf({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 ci({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function g1(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Xp(e,t,n=!1){const r=e.children,o=t.children;if(Se(r)&&Se(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 m1(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:m1(t)}function xu(e){if(e)for(let t=0;tjt(y1);function Jr(e,t){return qa(e,null,t)}function CS(e,t){return qa(e,null,{flush:"post"})}function _1(e,t){return qa(e,null,{flush:"sync"})}function St(e,t,n){return qa(e,t,n)}function qa(e,t,n=st){const{immediate:r,deep:o,flush:i,once:s}=n,a=Nt({},n),l=t&&r||!t&&i!=="post";let u;if(hs){if(i==="sync"){const p=v1();u=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=fr,p.resume=fr,p.pause=fr,p}}const c=pn;a.call=(p,h,g)=>hr(p,c,h,g);let f=!1;i==="post"?a.scheduler=p=>{en(p,c&&c.suspense)}:i!=="sync"&&(f=!0,a.scheduler=(p,h)=>{h?p():Pp(p)}),a.augmentJob=p=>{t&&(p.flags|=4),f&&(p.flags|=2,c&&(p.id=c.uid,p.i=c))};const d=Iw(e,t,a);return hs&&(u?u.push(d):l&&d()),d}function NS(e,t,n){const r=this.proxy,o=Dt(e)?e.includes(".")?b1(r,e):()=>r[e]:e.bind(r,r);let i;$e(t)?i=t:(i=t.handler,n=t);const s=Ai(this),a=qa(o,i.bind(r),n);return s(),a}function b1(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o{let c,f=st,d;return _1(()=>{const p=e[o];Pn(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(!Pn(h,c)&&!(f!==st&&Pn(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),Pn(p,h)&&Pn(p,f)&&!Pn(h,d)&&u(),f=p,d=h}}});return a[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?s||st:a,done:!1}:{done:!0}}}},a}const T1=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${on(t)}Modifiers`]||e[`${Kn(t)}Modifiers`];function LS(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||st;let o=n;const i=t.startsWith("update:"),s=i&&T1(r,t.slice(7));s&&(s.trim&&(o=n.map(c=>Dt(c)?c.trim():c)),s.number&&(o=n.map(bu)));let a,l=r[a=os(t)]||r[a=os(on(t))];!l&&i&&(l=r[a=os(Kn(t))]),l&&hr(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,hr(u,e,6,o)}}function w1(e,t,n=!1){const r=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=w1(u,t,!0);c&&(a=!0,Nt(s,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!a?(Ot(e)&&r.set(e,null),null):(Se(i)?i.forEach(l=>s[l]=null):Nt(s,i),Ot(e)&&r.set(e,s),s)}function Tc(e,t){return!e||!$a(t)?!1:(t=t.slice(2).replace(/Once$/,""),vt(e,t[0].toLowerCase()+t.slice(1))||vt(e,Kn(t))||vt(e,t))}function au(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,v=Ea(e);let m,E;try{if(n.shapeFlag&4){const _=o||r,T=_;m=Gn(u.call(T,_,c,f,p,d,h)),E=a}else{const _=t;m=Gn(_.length>1?_(f,{attrs:a,slots:s,emit:l}):_(f,null)),E=t.props?a:DS(a)}}catch(_){aa.length=0,Ni(_,e,1),m=xe(zt)}let y=m;if(E&&g!==!1){const _=Object.keys(E),{shapeFlag:T}=y;_.length&&T&7&&(i&&_.some(Sp)&&(E=kS(E,i)),y=Wn(y,E,!1,!0))}return n.dirs&&(y=Wn(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&bo(y,n.transition),m=y,Ea(v),m}function PS(e,t=!0){let n;for(let r=0;r{let t;for(const n in e)(n==="class"||n==="style"||$a(n))&&((t||(t={}))[n]=e[n]);return t},kS=(e,t)=>{const n={};for(const r in e)(!Sp(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function MS(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?yg(r,s,u):!!s;if(l&8){const c=t.dynamicProps;for(let f=0;fe.__isSuspense;let cd=0;const FS={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,s,a,l,u){if(e==null)US(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}jS(e,t,n,r,o,s,a,l,u)}},hydrate:VS,normalize:$S},Sc=FS;function wa(e,t){const n=e.props&&e.props[t];$e(n)&&n()}function US(e,t,n,r,o,i,s,a,l){const{p:u,o:{createElement:c}}=l,f=c("div"),d=e.suspense=S1(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?(wa(e,"onPending"),wa(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,i,s),us(d,e.ssFallback)):d.resolve(!1,!0)}function jS(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:v,isHydrating:m}=f;if(g)f.pendingBranch=d,Er(d,g)?(l(g,d,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0?f.resolve():v&&(m||(l(h,p,n,r,o,null,i,s,a),us(f,p)))):(f.pendingId=cd++,m?(f.isHydrating=!1,f.activeBranch=g):u(g,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),v?(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),us(f,p))):h&&Er(d,h)?(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&&Er(d,h))l(h,d,n,r,o,f,i,s,a),us(f,d);else if(wa(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=cd++,l(null,d,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0)f.resolve();else{const{timeout:E,pendingId:y}=f;E>0?setTimeout(()=>{f.pendingId===y&&f.fallback(p)},E):E===0&&f.fallback(p)}}function S1(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:v}}=u;let m;const E=BS(e);E&&t&&t.pendingBranch&&(m=t.pendingId,t.deps++);const y=e.props?Eu(e.props.timeout):void 0,_=i,T={vnode:e,parent:t,parentComponent:n,namespace:s,container:r,hiddenContainer:o,deps:0,pendingId:cd++,timeout:typeof y=="number"?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(A=!1,S=!1){const{vnode:D,activeBranch:M,pendingBranch:j,pendingId:B,effects:H,parentComponent:le,container:Te}=T;let ke=!1;T.isHydrating?T.isHydrating=!1:A||(ke=M&&j.transition&&j.transition.mode==="out-in",ke&&(M.transition.afterLeave=()=>{B===T.pendingId&&(d(j,Te,i===_?h(M):i,0),_a(H))}),M&&(g(M.el)===Te&&(i=h(M)),p(M,le,T,!0)),ke||d(j,Te,i,0)),us(T,j),T.pendingBranch=null,T.isInFallback=!1;let pe=T.parent,ge=!1;for(;pe;){if(pe.pendingBranch){pe.effects.push(...H),ge=!0;break}pe=pe.parent}!ge&&!ke&&_a(H),T.effects=[],E&&t&&t.pendingBranch&&m===t.pendingId&&(t.deps--,t.deps===0&&!S&&t.resolve()),wa(D,"onResolve")},fallback(A){if(!T.pendingBranch)return;const{vnode:S,activeBranch:D,parentComponent:M,container:j,namespace:B}=T;wa(S,"onFallback");const H=h(D),le=()=>{T.isInFallback&&(f(null,A,j,H,M,null,B,a,l),us(T,A))},Te=A.transition&&A.transition.mode==="out-in";Te&&(D.transition.afterLeave=le),T.isInFallback=!0,p(D,M,null,!0),Te||le()},move(A,S,D){T.activeBranch&&d(T.activeBranch,A,S,D),T.container=A},next(){return T.activeBranch&&h(T.activeBranch)},registerDep(A,S,D){const M=!!T.pendingBranch;M&&T.deps++;const j=A.vnode.el;A.asyncDep.catch(B=>{Ni(B,A,0)}).then(B=>{if(A.isUnmounted||T.isUnmounted||T.pendingId!==A.suspenseId)return;A.asyncResolved=!0;const{vnode:H}=A;hd(A,B,!1),j&&(H.el=j);const le=!j&&A.subTree.el;S(A,H,g(j||A.subTree.el),j?null:h(A.subTree),T,s,D),le&&v(le),wc(A,H.el),M&&--T.deps===0&&T.resolve()})},unmount(A,S){T.isUnmounted=!0,T.activeBranch&&p(T.activeBranch,n,A,S),T.pendingBranch&&p(T.pendingBranch,n,A,S)}};return T}function VS(e,t,n,r,o,i,s,a,l){const u=t.suspense=S1(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 $S(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=vg(r?n.default:n),e.ssFallback=r?vg(n.fallback):xe(zt)}function vg(e){let t;if($e(e)){const n=Si&&e._c;n&&(e._d=!1,me()),e=e(),n&&(e._d=!0,t=Tn,R1())}return Se(e)&&(e=PS(e)),e=Gn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function A1(e,t){t&&t.pendingBranch?Se(e)?t.effects.push(...e):t.effects.push(e):_a(e)}function us(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,wc(r,o))}function BS(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Ct=Symbol.for("v-fgt"),Kr=Symbol.for("v-txt"),zt=Symbol.for("v-cmt"),Ei=Symbol.for("v-stc"),aa=[];let Tn=null;function me(e=!1){aa.push(Tn=e?null:[])}function R1(){aa.pop(),Tn=aa[aa.length-1]||null}let Si=1;function fd(e,t=!1){Si+=e,e<0&&Tn&&t&&(Tn.hasOnce=!0)}function I1(e){return e.dynamicChildren=Si>0?Tn||ts:null,R1(),Si>0&&Tn&&Tn.push(e),e}function mt(e,t,n,r,o,i){return I1(Tt(e,t,n,r,o,i,!0))}function Ge(e,t,n,r,o){return I1(xe(e,t,n,r,o,!0))}function To(e){return e?e.__v_isVNode===!0:!1}function Er(e,t){return e.type===t.type&&e.key===t.key}function HS(e){}const O1=({key:e})=>e??null,lu=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Dt(e)||It(e)||$e(e)?{i:hn,r:e,k:t,f:!!n}:e:null);function Tt(e,t=null,n=null,r=0,o=null,i=e===Ct?0:1,s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&O1(t),ref:t&&lu(t),scopeId:yc,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:hn};return a?(Qp(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=Dt(n)?8:16),Si>0&&!s&&Tn&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&Tn.push(l),l}const xe=zS;function zS(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===Z_)&&(e=zt),To(e)){const a=Wn(e,t,!0);return n&&Qp(a,n),Si>0&&!i&&Tn&&(a.shapeFlag&6?Tn[Tn.indexOf(e)]=a:Tn.push(a)),a.patchFlag=-2,a}if(JS(e)&&(e=e.__vccOpts),t){t=Ko(t);let{class:a,style:l}=t;a&&!Dt(a)&&(t.class=Xn(a)),Ot(l)&&(mc(l)&&!Se(l)&&(l=Nt({},l)),t.style=Qo(l))}const s=Dt(e)?1:Cu(e)?128:V_(e)?64:Ot(e)?4:$e(e)?2:0;return Tt(e,t,n,r,o,s,i,!0)}function Ko(e){return e?mc(e)||s1(e)?Nt({},e):e:null}function Wn(e,t,n=!1,r=!1){const{props:o,ref:i,patchFlag:s,children:a,transition:l}=e,u=t?Pt(o||{},t):o,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&O1(u),ref:t&&t.ref?n&&i?Se(i)?i.concat(lu(t)):[i,lu(t)]:lu(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!==Ct?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&&Wn(e.ssContent),ssFallback:e.ssFallback&&Wn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&bo(c,l.clone(c)),c}function Qr(e=" ",t=0){return xe(Kr,null,e,t)}function Jp(e,t){const n=xe(Ei,null,e);return n.staticCount=t,n}function tn(e="",t=!1){return t?(me(),Ge(zt,null,e)):xe(zt,null,e)}function Gn(e){return e==null||typeof e=="boolean"?xe(zt):Se(e)?xe(Ct,null,e.slice()):To(e)?Mo(e):xe(Kr,null,String(e))}function Mo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Wn(e)}function Qp(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Se(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Qp(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!s1(t)?t._ctx=hn:o===3&&hn&&(hn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else $e(t)?(t={default:t,_ctx:hn},n=32):(t=String(t),r&64?(n=16,t=[Qr(t)]):n=8);e.children=t,e.shapeFlag|=n}function Pt(...e){const t={};for(let n=0;npn||hn;let Nu,dd;{const e=cc(),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)}};Nu=t("__VUE_INSTANCE_SETTERS__",n=>pn=n),dd=t("__VUE_SSR_SETTERS__",n=>hs=n)}const Ai=e=>{const t=pn;return Nu(e),e.scope.on(),()=>{e.scope.off(),Nu(t)}},pd=()=>{pn&&pn.scope.off(),Nu(null)};function C1(e){return e.vnode.shapeFlag&4}let hs=!1;function N1(e,t=!1,n=!1){t&&dd(t);const{props:r,children:o}=e.vnode,i=C1(e);wS(e,r,i,t),IS(e,o,n||t);const s=i?qS(e,t):void 0;return t&&dd(!1),s}function qS(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,sd);const{setup:r}=n;if(r){vo();const o=e.setupContext=r.length>1?P1(e):null,i=Ai(e),s=Os(r,e,0,[e.props,o]),a=Rp(s);if(_o(),i(),(a||e.sp)&&!zo(e)&&Mp(e),a){if(s.then(pd,pd),t)return s.then(l=>{hd(e,l,t)}).catch(l=>{Ni(l,e,0)});e.asyncDep=s}else hd(e,s,t)}else L1(e,t)}function hd(e,t,n){$e(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ot(t)&&(e.setupState=Lp(t)),L1(e,n)}let Lu,gd;function WS(e){Lu=e,gd=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,iS))}}const YS=()=>!Lu;function L1(e,t,n){const r=e.type;if(!e.render){if(!t&&Lu&&!r.render){const o=r.template||qp(e).template;if(o){const{isCustomElement:i,compilerOptions:s}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,u=Nt(Nt({isCustomElement:i,delimiters:a},s),l);r.render=Lu(o,u)}}e.render=r.render||fr,gd&&gd(e)}{const o=Ai(e);vo();try{mS(e)}finally{_o(),o()}}}const XS={get(e,t){return bn(e,"get",""),e[t]}};function P1(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,XS),slots:e.slots,emit:e.emit,expose:t}}function Wa(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Lp(C_(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in sa)return sa[n](e)},has(t,n){return n in t||n in sa}})):e.proxy}function md(e,t=!0){return $e(e)?e.displayName||e.name:e.name||t&&e.__name}function JS(e){return $e(e)&&"__vccOpts"in e}const te=(e,t)=>ww(e,t,hs);function dt(e,t,n){const r=arguments.length;return r===2?Ot(t)&&!Se(t)?To(t)?xe(e,null,[t]):xe(e,t):xe(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&To(n)&&(n=[n]),xe(e,t,n))}function QS(){}function ZS(e,t,n,r){const o=n[r];if(o&&D1(o,e))return o;const i=t();return i.memo=e.slice(),i.cacheIndex=r,n[r]=i}function D1(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r0&&Tn&&Tn.push(e),!0}const k1="3.5.18",eA=fr,tA=Lw,nA=Ki,rA=U_,oA={createComponentInstance:x1,setupComponent:N1,renderComponentRoot:au,setCurrentRenderingInstance:Ea,isVNode:To,normalizeVNode:Gn,getComponentPublicInstance:Wa,ensureValidVNode:Kp,pushWarningContext:Ow,popWarningContext:xw},iA=oA,sA=null,aA=null,lA=null;/** * @vue/runtime-dom v3.5.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let yd;const _g=typeof window<"u"&&window.trustedTypes;if(_g)try{yd=_g.createPolicy("vue",{createHTML:e=>e})}catch{}const M1=yd?e=>yd.createHTML(e):e=>e,uA="http://www.w3.org/2000/svg",cA="http://www.w3.org/1998/Math/MathML",ao=typeof document<"u"?document:null,bg=ao&&ao.createElement("template"),fA={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"?ao.createElementNS(uA,e):t==="mathml"?ao.createElementNS(cA,e):n?ao.createElement(e,{is:n}):ao.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>ao.createTextNode(e),createComment:e=>ao.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ao.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{bg.innerHTML=M1(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const a=bg.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]}},Oo="transition",Bs="animation",gs=Symbol("_vtc"),F1={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},U1=Nt({},kp,F1),dA=e=>(e.displayName="Transition",e.props=U1,e),j1=dA((e,{slots:t})=>dt(K_,V1(e),t)),fi=(e,t=[])=>{Se(e)?e.forEach(n=>n(...t)):e&&e(...t)},Eg=e=>e?Se(e)?e.some(t=>t.length>1):e.length>1:!1;function V1(e){const t={};for(const H in e)H in F1||(t[H]=e[H]);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=pA(o),g=h&&h[0],v=h&&h[1],{onBeforeEnter:m,onEnter:E,onEnterCancelled:y,onLeave:_,onLeaveCancelled:T,onBeforeAppear:A=m,onAppear:S=E,onAppearCancelled:D=y}=t,M=(H,le,Te,ke)=>{H._enterCancelled=ke,Co(H,le?c:a),Co(H,le?u:s),Te&&Te()},j=(H,le)=>{H._isLeaving=!1,Co(H,f),Co(H,p),Co(H,d),le&&le()},B=H=>(le,Te)=>{const ke=H?S:E,pe=()=>M(le,H,Te);fi(ke,[le,pe]),Tg(()=>{Co(le,H?l:i),kr(le,H?c:a),Eg(ke)||wg(le,r,g,pe)})};return Nt(t,{onBeforeEnter(H){fi(m,[H]),kr(H,i),kr(H,s)},onBeforeAppear(H){fi(A,[H]),kr(H,l),kr(H,u)},onEnter:B(!1),onAppear:B(!0),onLeave(H,le){H._isLeaving=!0;const Te=()=>j(H,le);kr(H,f),H._enterCancelled?(kr(H,d),vd()):(vd(),kr(H,d)),Tg(()=>{H._isLeaving&&(Co(H,f),kr(H,p),Eg(_)||wg(H,r,v,Te))}),fi(_,[H,Te])},onEnterCancelled(H){M(H,!1,void 0,!0),fi(y,[H])},onAppearCancelled(H){M(H,!0,void 0,!0),fi(D,[H])},onLeaveCancelled(H){j(H),fi(T,[H])}})}function pA(e){if(e==null)return null;if(Ot(e))return[of(e.enter),of(e.leave)];{const t=of(e);return[t,t]}}function of(e){return Eu(e)}function kr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[gs]||(e[gs]=new Set)).add(t)}function Co(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[gs];n&&(n.delete(t),n.size||(e[gs]=void 0))}function Tg(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let hA=0;function wg(e,t,n,r){const o=e._endId=++hA,i=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(i,n);const{type:s,timeout:a,propCount:l}=$1(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(`${Oo}Delay`),i=r(`${Oo}Duration`),s=Sg(o,i),a=r(`${Bs}Delay`),l=r(`${Bs}Duration`),u=Sg(a,l);let c=null,f=0,d=0;t===Oo?s>0&&(c=Oo,f=s,d=i.length):t===Bs?u>0&&(c=Bs,f=u,d=l.length):(f=Math.max(s,u),c=f>0?s>u?Oo:Bs:null,d=c?c===Oo?i.length:l.length:0);const p=c===Oo&&/\b(transform|all)(,|$)/.test(r(`${Oo}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:p}}function Sg(e,t){for(;e.lengthAg(n)+Ag(e[r])))}function Ag(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function vd(){return document.body.offsetHeight}function gA(e,t,n){const r=e[gs];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Pu=Symbol("_vod"),B1=Symbol("_vsh"),H1={beforeMount(e,{value:t},{transition:n}){e[Pu]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Hs(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),Hs(e,!0),r.enter(e)):r.leave(e,()=>{Hs(e,!1)}):Hs(e,t))},beforeUnmount(e,{value:t}){Hs(e,t)}};function Hs(e,t){e.style.display=t?e[Pu]:"none",e[B1]=!t}function mA(){H1.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const z1=Symbol("");function yA(e){const t=yt();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>Du(i,o))},r=()=>{const o=e(t.proxy);t.ce?Du(t.ce,o):_d(t.subTree,o),n(o)};Vp(()=>{_a(r)}),an(()=>{St(r,fr,{flush:"post"});const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),Ro(()=>o.disconnect())})}function _d(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{_d(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Du(e.el,t);else if(e.type===Ct)e.children.forEach(n=>_d(n,t));else if(e.type===Ei){let{el:n,anchor:r}=e;for(;n&&(Du(n,t),n!==r);)n=n.nextSibling}}function Du(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const o in t){const i=qT(t[o]);n.setProperty(`--${o}`,i),r+=`--${o}: ${i};`}n[z1]=r}}const vA=/(^|;)\s*display\s*:/;function _A(e,t,n){const r=e.style,o=Dt(n);let i=!1;if(n&&!o){if(t)if(Dt(t))for(const s of t.split(";")){const a=s.slice(0,s.indexOf(":")).trim();n[a]==null&&uu(r,a,"")}else for(const s in t)n[s]==null&&uu(r,s,"");for(const s in n)s==="display"&&(i=!0),uu(r,s,n[s])}else if(o){if(t!==n){const s=r[z1];s&&(n+=";"+s),r.cssText=n,i=vA.test(n)}}else t&&e.removeAttribute("style");Pu in e&&(e[Pu]=i?r.display:"",e[B1]&&(r.display="none"))}const Rg=/\s*!important$/;function uu(e,t,n){if(Se(n))n.forEach(r=>uu(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=bA(e,t);Rg.test(n)?e.setProperty(Kn(r),n.replace(Rg,""),"important"):e[r]=n}}const Ig=["Webkit","Moz","ms"],sf={};function bA(e,t){const n=sf[t];if(n)return n;let r=on(t);if(r!=="filter"&&r in e)return sf[t]=r;r=Ba(r);for(let o=0;oaf||(SA.then(()=>af=0),af=Date.now());function RA(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;hr(IA(r,n.value),t,5,[r])};return n.value=e,n.attached=AA(),n}function IA(e,t){if(Se(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 Pg=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,OA=(e,t,n,r,o,i)=>{const s=o==="svg";t==="class"?gA(e,r,s):t==="style"?_A(e,n,r):$a(t)?Sp(t)||TA(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):xA(e,t,r,s))?(Cg(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&xg(e,t,r,s,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Dt(r))?Cg(e,on(t),r,i,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),xg(e,t,r,s))};function xA(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Pg(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 Pg(t)&&Dt(n)?!1:t in e}const Dg={};/*! #__NO_SIDE_EFFECTS__ */function G1(e,t,n){const r=Ce(e,t);lc(r)&&Nt(r,t);class o extends Ac{constructor(s){super(r,s,n)}}return o.def=r,o}/*! #__NO_SIDE_EFFECTS__ */const CA=(e,t)=>G1(e,t,th),NA=typeof HTMLElement<"u"?HTMLElement:class{};class Ac extends NA{constructor(t,n={},r=Fu){super(),this._def=t,this._props=n,this._createApp=r,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&r!==Fu?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof Ac){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,Yt(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)})}_resolveDef(){if(this._pendingResolve)return;for(let r=0;r{for(const o of r)this._setAttr(o.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(r,o=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:i,styles:s}=r;let a;if(i&&!Se(i))for(const l in i){const u=i[l];(u===Number||u&&u.type===Number)&&(l in this._props&&(this._props[l]=Eu(this._props[l])),(a||(a=Object.create(null)))[on(l)]=!0)}this._numberProps=a,this._resolveProps(r),this.shadowRoot&&this._applyStyles(s),this._mount(r)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(r=>{r.configureApp=this._def.configureApp,t(this._def=r,!0)}):t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const r in n)vt(this,r)||Object.defineProperty(this,r,{get:()=>W(n[r])})}_resolveProps(t){const{props:n}=t,r=Se(n)?n:Object.keys(n||{});for(const o of Object.keys(this))o[0]!=="_"&&r.includes(o)&&this._setProp(o,this[o]);for(const o of r.map(on))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(i){this._setProp(o,i,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let r=n?this.getAttribute(t):Dg;const o=on(t);n&&this._numberProps&&this._numberProps[o]&&(r=Eu(r)),this._setProp(o,r,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,o=!1){if(n!==this._props[t]&&(n===Dg?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),o&&this._instance&&this._update(),r)){const i=this._ob;i&&i.disconnect(),n===!0?this.setAttribute(Kn(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Kn(t),n+""):n||this.removeAttribute(Kn(t)),i&&i.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),nb(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=xe(this._def,Nt(t,this._props));return this._instance||(n.ce=r=>{this._instance=r,r.ce=this,r.isCE=!0;const o=(i,s)=>{this.dispatchEvent(new CustomEvent(i,lc(s[0])?Nt({detail:s},s[0]):{detail:s}))};r.emit=(i,...s)=>{o(i,s),Kn(i)!==i&&o(Kn(i),s)},this._setParent()}),n}_applyStyles(t,n){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const r=this._nonce;for(let o=t.length-1;o>=0;o--){const i=document.createElement("style");r&&i.setAttribute("nonce",r),i.textContent=t[o],this.shadowRoot.prepend(i)}}_parseSlots(){const t=this._slots={};let n;for(;n=this.firstChild;){const r=n.nodeType===1&&n.getAttribute("slot")||"default";(t[r]||(t[r]=[])).push(n),this.removeChild(n)}}_renderSlots(){const t=(this._teleportTarget||this).querySelectorAll("slot"),n=this._instance.type.__scopeId;for(let r=0;r(delete e.props.mode,e),kA=DA({name:"TransitionGroup",props:Nt({},U1,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=yt(),r=Dp();let o,i;return bc(()=>{if(!o.length)return;const s=e.moveClass||`${e.name||"v"}-move`;if(!VA(o[0].el,n.vnode.el,s)){o=[];return}o.forEach(FA),o.forEach(UA);const a=o.filter(jA);vd(),a.forEach(l=>{const u=l.el,c=u.style;kr(u,s),c.transform=c.webkitTransform=c.transitionDuration="";const f=u[ku]=d=>{d&&d.target!==u||(!d||/transform$/.test(d.propertyName))&&(u.removeEventListener("transitionend",f),u[ku]=null,Co(u,s))};u.addEventListener("transitionend",f)}),o=[]}),()=>{const s=at(e),a=V1(s);let l=s.tag||Ct;if(o=[],i)for(let u=0;u{a.split(/\s+/).forEach(l=>l&&r.classList.remove(l))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(r);const{hasTransform:s}=$1(r);return i.removeChild(r),s}const Jo=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Se(t)?n=>is(t,n):t};function $A(e){e.target.composing=!0}function Mg(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const dr=Symbol("_assign"),Mu={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[dr]=Jo(o);const i=r||o.props&&o.props.type==="number";fo(e,t?"change":"input",s=>{if(s.target.composing)return;let a=e.value;n&&(a=a.trim()),i&&(a=bu(a)),e[dr](a)}),n&&fo(e,"change",()=>{e.value=e.value.trim()}),t||(fo(e,"compositionstart",$A),fo(e,"compositionend",Mg),fo(e,"change",Mg))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:i}},s){if(e[dr]=Jo(s),e.composing)return;const a=(i||e.type==="number")&&!/^0\d/.test(e.value)?bu(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))}},Zp={deep:!0,created(e,t,n){e[dr]=Jo(n),fo(e,"change",()=>{const r=e._modelValue,o=ms(e),i=e.checked,s=e[dr];if(Se(r)){const a=fc(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(Ci(r)){const a=new Set(r);i?a.add(o):a.delete(o),s(a)}else s(X1(e,i))})},mounted:Fg,beforeUpdate(e,t,n){e[dr]=Jo(n),Fg(e,t,n)}};function Fg(e,{value:t,oldValue:n},r){e._modelValue=t;let o;if(Se(t))o=fc(t,r.props.value)>-1;else if(Ci(t))o=t.has(r.props.value);else{if(t===n)return;o=Xo(t,X1(e,!0))}e.checked!==o&&(e.checked=o)}const eh={created(e,{value:t},n){e.checked=Xo(t,n.props.value),e[dr]=Jo(n),fo(e,"change",()=>{e[dr](ms(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[dr]=Jo(r),t!==n&&(e.checked=Xo(t,r.props.value))}},Y1={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=Ci(t);fo(e,"change",()=>{const i=Array.prototype.filter.call(e.options,s=>s.selected).map(s=>n?bu(ms(s)):ms(s));e[dr](e.multiple?o?new Set(i):i:i[0]),e._assigning=!0,Yt(()=>{e._assigning=!1})}),e[dr]=Jo(r)},mounted(e,{value:t}){Ug(e,t)},beforeUpdate(e,t,n){e[dr]=Jo(n)},updated(e,{value:t}){e._assigning||Ug(e,t)}};function Ug(e,t){const n=e.multiple,r=Se(t);if(!(n&&!r&&!Ci(t))){for(let o=0,i=e.options.length;oString(u)===String(a)):s.selected=fc(t,a)>-1}else s.selected=t.has(a);else if(Xo(ms(s),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function ms(e){return"_value"in e?e._value:e.value}function X1(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const J1={created(e,t,n){Cl(e,t,n,null,"created")},mounted(e,t,n){Cl(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Cl(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Cl(e,t,n,r,"updated")}};function Q1(e,t){switch(e){case"SELECT":return Y1;case"TEXTAREA":return Mu;default:switch(t){case"checkbox":return Zp;case"radio":return eh;default:return Mu}}}function Cl(e,t,n,r,o){const s=Q1(e.tagName,n.props&&n.props.type)[o];s&&s(e,t,n,r)}function BA(){Mu.getSSRProps=({value:e})=>({value:e}),eh.getSSRProps=({value:e},t)=>{if(t.props&&Xo(t.props.value,e))return{checked:!0}},Zp.getSSRProps=({value:e},t)=>{if(Se(e)){if(t.props&&fc(e,t.props.value)>-1)return{checked:!0}}else if(Ci(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},J1.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Q1(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const HA=["ctrl","shift","alt","meta"],zA={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)=>HA.some(n=>e[`${n}Key`]&&!t.includes(n))},GA=(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=Kn(o.key);if(t.some(s=>s===i||KA[s]===i))return e(o)})},Z1=Nt({patchProp:OA},fA);let la,jg=!1;function eb(){return la||(la=d1(Z1))}function tb(){return la=jg?la:p1(Z1),jg=!0,la}const nb=(...e)=>{eb().render(...e)},WA=(...e)=>{tb().hydrate(...e)},Fu=(...e)=>{const t=eb().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=ob(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,rb(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t},th=(...e)=>{const t=tb().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=ob(r);if(o)return n(o,!0,rb(o))},t};function rb(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ob(e){return Dt(e)?document.querySelector(e):e}let Vg=!1;const YA=()=>{Vg||(Vg=!0,BA(),mA())};/** * vue v3.5.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const XA=()=>{},JA=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:K_,BaseTransitionPropsValidators:kp,Comment:zt,DeprecationTypes:lA,EffectScope:Op,ErrorCodes:Nw,ErrorTypeStrings:tA,Fragment:Ct,KeepAlive:W_,ReactiveEffect:ga,Static:Ei,Suspense:Sc,Teleport:B_,Text:Kr,TrackOpTypes:Sw,Transition:j1,TransitionGroup:MA,TriggerOpTypes:Aw,VueElement:Ac,assertNumber:Cw,callWithAsyncErrorHandling:hr,callWithErrorHandling:Os,camelize:on,capitalize:Ba,cloneVNode:Wn,compatUtils:aA,compile:XA,computed:te,createApp:Fu,createBlock:Ge,createCommentVNode:tn,createElementBlock:mt,createElementVNode:Tt,createHydrationRenderer:p1,createPropsRestProxy:gS,createRenderer:d1,createSSRApp:th,createSlots:Gp,createStaticVNode:Jp,createTextVNode:Qr,createVNode:xe,customRef:za,defineAsyncComponent:Eo,defineComponent:Ce,defineCustomElement:G1,defineEmits:aS,defineExpose:lS,defineModel:fS,defineOptions:uS,defineProps:sS,defineSSRCustomElement:CA,defineSlots:cS,devtools:nA,effect:YT,effectScope:Is,getCurrentInstance:yt,getCurrentScope:So,getCurrentWatcher:Rw,getTransitionRawChildren:vc,guardReactiveProps:Ko,h:dt,handleError:Ni,hasInjectionContext:ei,hydrate:WA,hydrateOnIdle:Ww,hydrateOnInteraction:Qw,hydrateOnMediaQuery:Jw,hydrateOnVisible:Xw,initCustomFormatter:QS,initDirectivesForSSR:YA,inject:jt,isMemoSame:D1,isProxy:mc,isReactive:Ho,isReadonly:Xr,isRef:It,isRuntimeOnly:YS,isShallow:nr,isVNode:To,markRaw:C_,mergeDefaults:hS,mergeModels:t1,mergeProps:Pt,nextTick:Yt,normalizeClass:Xn,normalizeProps:Bo,normalizeStyle:Qo,onActivated:Fp,onBeforeMount:jp,onBeforeUnmount:Zo,onBeforeUpdate:Vp,onDeactivated:Up,onErrorCaptured:$p,onMounted:an,onRenderTracked:Q_,onRenderTriggered:J_,onScopeDispose:Yr,onServerPrefetch:X_,onUnmounted:Ro,onUpdated:bc,onWatcherCleanup:P_,openBlock:me,popScopeId:Mw,provide:Gr,proxyRefs:Lp,pushScopeId:kw,queuePostFlushCb:_a,reactive:sn,readonly:Ha,ref:Fe,registerRuntimeCompiler:WS,render:nb,renderList:zp,renderSlot:pt,resolveComponent:Iu,resolveDirective:rS,resolveDynamicComponent:Go,resolveFilter:sA,resolveTransitionHooks:ps,setBlockTracking:fd,setDevtoolsHook:rA,setTransitionHooks:bo,shallowReactive:Tr,shallowReadonly:gw,shallowRef:An,ssrContextKey:y1,ssrUtils:iA,stop:XT,toDisplayString:or,toHandlerKey:os,toHandlers:oS,toRaw:at,toRef:Ga,toRefs:va,toValue:gt,transformVNodeArgs:HS,triggerRef:yw,unref:W,useAttrs:Ec,useCssModule:PA,useCssVars:yA,useHost:K1,useId:su,useModel:E1,useSSRContext:v1,useShadowRoot:LA,useSlots:pS,useTemplateRef:$w,useTransitionState:Dp,vModelCheckbox:Zp,vModelDynamic:J1,vModelRadio:eh,vModelSelect:Y1,vModelText:Mu,vShow:H1,version:k1,warn:eA,watch:St,watchEffect:Jr,watchPostEffect:CS,watchSyncEffect:_1,withAsyncContext:ls,withCtx:Ve,withDefaults:dS,withDirectives:Uw,withKeys:qA,withMemo:ZS,withModifiers:GA,withScopeId:Fw},Symbol.toStringTag,{value:"Module"})),QA=/"(?:_|\\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*:/,ZA=/"(?: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*:/,eR=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function tR(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){nR(e);return}return t}function nR(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function rR(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const r=n.toLowerCase();if(r==="true")return!0;if(r==="false")return!1;if(r==="undefined")return;if(r==="null")return null;if(r==="nan")return Number.NaN;if(r==="infinity")return Number.POSITIVE_INFINITY;if(r==="-infinity")return Number.NEGATIVE_INFINITY}if(!eR.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(QA.test(e)||ZA.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,tR)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const oR=/#/g,iR=/&/g,sR=/\//g,aR=/=/g,nh=/\+/g,lR=/%5e/gi,uR=/%60/gi,cR=/%7c/gi,fR=/%20/gi;function dR(e){return encodeURI(""+e).replace(cR,"|")}function bd(e){return dR(typeof e=="string"?e:JSON.stringify(e)).replace(nh,"%2B").replace(fR,"+").replace(oR,"%23").replace(iR,"%26").replace(uR,"`").replace(lR,"^").replace(sR,"%2F")}function lf(e){return bd(e).replace(aR,"%3D")}function ys(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function pR(e){return ys(e.replace(nh," "))}function hR(e){return ys(e.replace(nh," "))}function Rc(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=pR(r[1]);if(o==="__proto__"||o==="constructor")continue;const i=hR(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 gR(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${lf(e)}=${bd(n)}`).join("&"):`${lf(e)}=${bd(t)}`:lf(e)}function mR(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>gR(t,e[t])).filter(Boolean).join("&")}const yR=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,vR=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,_R=/^([/\\]\s*){2,}[^/\\]/,bR=/^[\s\0]*(blob|data|javascript|vbscript):$/i,ER=/\/$|\/\?|\/#/,TR=/^\.?\//;function Mn(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?yR.test(e):vR.test(e)||(t.acceptRelative?_R.test(e):!1)}function ib(e){return!!e&&bR.test(e)}function Ed(e="",t){return t?ER.test(e):e.endsWith("/")}function Ri(e="",t){if(!t)return(Ed(e)?e.slice(0,-1):e)||"/";if(!Ed(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 Sa(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Ed(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 wR(e=""){return e.startsWith("/")}function Td(e=""){return wR(e)?e:"/"+e}function sb(e,t){if(ab(t)||Mn(e))return e;const n=Ri(t);return e.startsWith(n)?e:gr(n,e)}function $g(e,t){if(ab(t))return e;const n=Ri(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function Ya(e,t){const n=Ic(e),r={...Rc(n.search),...t};return n.search=mR(r),RR(n)}function ab(e){return!e||e==="/"}function SR(e){return e&&e!=="/"}function gr(e,...t){let n=e||"";for(const r of t.filter(o=>SR(o)))if(n){const o=r.replace(TR,"");n=Sa(n)+o}else n=r;return n}function lb(...e){var s,a,l,u;const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let o=0;for(const c of n)if(!(!c||c==="/")){for(const[f,d]of c.split(t).entries())if(!(!d||d===".")){if(d===".."){if(r.length===1&&Mn(r[0]))continue;r.pop(),o--;continue}if(f===1&&((s=r[r.length-1])!=null&&s.endsWith(":/"))){r[r.length-1]+="/"+d;continue}r.push(d),o++}}let i=r.join("/");return o>=0?(a=n[0])!=null&&a.startsWith("/")&&!i.startsWith("/")?i="/"+i:(l=n[0])!=null&&l.startsWith("./")&&!i.startsWith("./")&&(i="./"+i):i="../".repeat(-1*o)+i,(u=n[n.length-1])!=null&&u.endsWith("/")&&!i.endsWith("/")&&(i+="/"),i}function AR(e,t){return ys(Ri(e))===ys(Ri(t))}function Bg(e,t,n={}){return n.trailingSlash||(e=Sa(e),t=Sa(t)),n.leadingSlash||(e=Td(e),t=Td(t)),n.encoding||(e=ys(e),t=ys(t)),e===t}const ub=Symbol.for("ufo:protocolRelative");function Ic(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(!Mn(e,{acceptRelative:!0}))return wd(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}=wd(a);return{protocol:r.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:s,pathname:l,search:u,hash:c,[ub]:!r}}function wd(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function RR(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[ub]?(e.protocol||"")+"//":"")+o+i+t+n+r}class IR extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function OR(e){var l,u,c,f,d;const t=((l=e.error)==null?void 0:l.message)||((u=e.error)==null?void 0:u.toString())||"",n=((c=e.request)==null?void 0:c.method)||((f=e.options)==null?void 0:f.method)||"GET",r=((d=e.request)==null?void 0:d.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 IR(s,e.error?{cause:e.error}:void 0);for(const p of["request","options","response"])Object.defineProperty(a,p,{get(){return e[p]}});for(const[p,h]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,p,{get(){return e.response&&e.response[h]}});return a}const xR=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Hg(e="GET"){return xR.has(e.toUpperCase())}function CR(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 NR=new Set(["image/svg","application/xml","application/xhtml","application/html"]),LR=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function PR(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return LR.test(t)?"json":NR.has(t)||t.startsWith("text/")?"text":"blob"}function DR(e,t,n,r){const o=kR((t==null?void 0:t.headers)??(e==null?void 0:e.headers),n==null?void 0:n.headers,r);let i;return(n!=null&&n.query||n!=null&&n.params||t!=null&&t.params||t!=null&&t.query)&&(i={...n==null?void 0:n.params,...n==null?void 0:n.query,...t==null?void 0:t.params,...t==null?void 0:t.query}),{...n,...t,query:i,params:i,headers:o}}function kR(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 Nl(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const MR=new Set([408,409,425,429,500,502,503,504]),FR=new Set([101,204,205,304]);function cb(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=Hg(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):MR.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=OR(a);throw Error.captureStackTrace&&Error.captureStackTrace(u,i),u}const i=async function(l,u={}){const c={request:l,options:DR(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 Nl(c,c.options.onRequest),typeof c.request=="string"&&(c.options.baseURL&&(c.request=sb(c.request,c.options.baseURL)),c.options.query&&(c.request=Ya(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&&Hg(c.options.method)&&(CR(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 Nl(c,c.options.onRequestError),await o(c)}finally{f&&clearTimeout(f)}if((c.response.body||c.response._bodyInit)&&!FR.has(c.response.status)&&c.options.method!=="HEAD"){const p=(c.options.parseResponse?"json":c.options.responseType)||PR(c.response.headers.get("content-type")||"");switch(p){case"json":{const h=await c.response.text(),g=c.options.parseResponse||rR;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 Nl(c,c.options.onResponse),!c.options.ignoreResponseError&&c.response.status>=400&&c.response.status<600?(c.options.onResponseError&&await Nl(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={})=>cb({...e,...l,defaults:{...e.defaults,...l.defaults,...a}}),s}const Uu=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")}(),UR=Uu.fetch?(...e)=>Uu.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),jR=Uu.Headers,VR=Uu.AbortController,$R=cb({fetch:UR,Headers:jR,AbortController:VR}),BR=$R,HR=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},ju=HR().app,zR=()=>ju.baseURL,GR=()=>ju.buildAssetsDir,rh=(...e)=>lb(fb(),GR(),...e),fb=(...e)=>{const t=ju.cdnURL||ju.baseURL;return e.length?lb(t,...e):t};globalThis.__buildAssetsURL=rh,globalThis.__publicAssetsURL=fb;globalThis.$fetch||(globalThis.$fetch=BR.create({baseURL:zR()}));"global"in globalThis||(globalThis.global=globalThis);function Sd(e,t={},n){for(const r in e){const o=e[r],i=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Sd(o,t,i):typeof o=="function"&&(t[i]=o)}return t}const KR={run:e=>e()},qR=()=>KR,db=typeof console.createTask<"u"?console.createTask:qR;function WR(e,t){const n=t.shift(),r=db(n);return e.reduce((o,i)=>o.then(()=>r.run(()=>i(...t))),Promise.resolve())}function YR(e,t){const n=t.shift(),r=db(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function uf(e,t){for(const n of[...e])n(t)}class XR{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=Sd(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=Sd(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(WR,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(YR,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&uf(this._before,o);const i=t(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&o&&uf(this._after,o)}):(this._after&&o&&uf(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 pb(){return new XR}function JR(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;Ad.add(u);try{const c=o?o.run(s,a):a();return n||(t=void 0),await c}finally{Ad.delete(u)}}}}function QR(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=JR({...e,...r})),t[n]}}}const Vu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},zg="__unctx__",ZR=Vu[zg]||(Vu[zg]=QR()),hb=(e,t={})=>ZR.get(e,t),Gg="__unctx_async_handlers__",Ad=Vu[Gg]||(Vu[Gg]=new Set);function qn(e){const t=[];for(const o of Ad){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 eI=!1,Kg=!1,tI=!1,qg={id:"__nuxt-loader"},nI={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},po={deep:!1},rI=void 0,oI={},iI="#__nuxt",oh="nuxt-app",Wg=36e5,sI="vite:preloadError";function gb(e=oh){return hb(e,{asyncContext:!1})}const aI="__nuxt_plugin";function lI(e){var o;let t=0;const n={_id:e.id||oh||"nuxt-app",_scope:Is(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.17.4"},get vue(){return n.vueApp.version}},payload:Tr({...((o=e.ssrContext)==null?void 0:o.payload)||{},data:Tr({}),state:sn({}),once:new Set,_errors:Tr({})}),static:{data:{}},runWithContext(i){return n._scope.active&&!So()?n._scope.run(()=>Yg(n,i)):Yg(n,i)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let i=!1;return()=>{if(!i&&(i=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:Tr({}),_payloadRevivers:{},...e};{const i=window.__NUXT__;if(i)for(const s in i)switch(s){case"data":case"state":case"_errors":Object.assign(n.payload[s],i[s]);break;default:n.payload[s]=i[s]}}n.hooks=pb(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(i,s)=>{const a="$"+i;Ll(n,a,s),Ll(n.vueApp.config.globalProperties,a,s)},Ll(n.vueApp,"$nuxt",n),Ll(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(sI,s=>{n.callHook("app:chunkError",{error:s.payload}),s.payload.message.includes("Unable to preload CSS")&&s.preventDefault()}),window.useNuxtApp||(window.useNuxtApp=Be);const i=n.hook("app:error",(...s)=>{console.error("[nuxt] error caught during app initialization",...s)});n.hook("app:mounted",i)}const r=n.payload.config;return n.provide("config",r),n}function uI(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function cI(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 fI(e,t){const n=new Set,r=[],o=[],i=[];let s=0;async function a(l){var c;const u=((c=l.dependsOn)==null?void 0:c.filter(f=>t.some(d=>d._name===f)&&!n.has(f)))??[];if(u.length>0)r.push([new Set(u),l]);else{const f=cI(e,l).then(async()=>{l._name&&(n.add(l._name),await Promise.all(r.map(async([d,p])=>{d.has(l._name)&&(d.delete(l._name),d.size===0&&(s++,await a(p)))})))});l.parallel?o.push(f.catch(d=>i.push(d))):await f}}for(const l of t)uI(e,l);for(const l of t)await a(l);if(await Promise.all(o),s)for(let l=0;l{}),e,{[aI]:!0,_name:t})}function Yg(e,t,n){const r=()=>t();return gb(e._id).set(e),e.vueApp.runWithContext(r)}function dI(e){var n;let t;return ei()&&(t=(n=yt())==null?void 0:n.appContext.app.$nuxt),t||(t=gb(e).tryUse()),t||null}function Be(e){const t=dI(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function kt(e){return Be().$config}function Ll(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function pI(e,t){return{ctx:{table:e},matchAll:n=>yb(n,e)}}function mb(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,o])=>[r,mb(o)])):new Map(Object.entries(e[n]));return t}function hI(e){return pI(mb(e))}function yb(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[i,s]of Xg(t.wildcard))(e===i||e.startsWith(i+"/"))&&r.push(s);for(const[i,s]of Xg(t.dynamic))if(e.startsWith(i+"/")){const a="/"+e.slice(i.length).split("/").splice(2).join("/");r.push(...yb(a,s))}const o=t.static.get(e);return o&&r.push(o),r.filter(Boolean)}function Xg(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}const gI=/"(?:_|\\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*:/,mI=/"(?: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*:/,yI=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function vI(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){_I(e);return}return t}function _I(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Aa(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(!yI.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(gI.test(e)||mI.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,vI)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}function cf(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 Rd(e,t,n=".",r){if(!cf(t))return Rd(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]]:cf(s)&&cf(o[i])?o[i]=Rd(s,o[i],(n?`${n}.`:"")+i.toString(),r):o[i]=s))}return o}function bI(e){return(...t)=>t.reduce((n,r)=>Rd(n,r,"",e),{})}const Xa=bI();function EI(e,t){try{return t in e}catch{return!1}}class Id extends Error{constructor(n,r={}){super(n,r);Vn(this,"statusCode",500);Vn(this,"fatal",!1);Vn(this,"unhandled",!1);Vn(this,"statusMessage");Vn(this,"data");Vn(this,"cause");r.cause&&!this.cause&&(this.cause=r.cause)}toJSON(){const n={message:this.message,statusCode:Od(this.statusCode,500)};return this.statusMessage&&(n.statusMessage=vb(this.statusMessage)),this.data!==void 0&&(n.data=this.data),n}}Vn(Id,"__h3_error__",!0);function TI(e){if(typeof e=="string")return new Id(e);if(wI(e))return e;const t=new Id(e.message??e.statusMessage??"",{cause:e.cause||e});if(EI(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=Od(e.statusCode,t.statusCode):e.status&&(t.statusCode=Od(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;vb(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 wI(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const SI=/[^\u0009\u0020-\u007E]/g;function vb(e=""){return e.replace(SI,"")}function Od(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const _b=Symbol("layout-meta"),Ii=Symbol("route"),$t=()=>{var e;return(e=Be())==null?void 0:e.$router},Rn=()=>ei()?jt(Ii,Be()._route):Be()._route;function wB(e){return e}const AI=(e,t,n={})=>{const r=Be(),o=n.global||!1,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},RI=()=>{try{if(Be()._processingMiddleware)return!0}catch{return!1}return!1},Fo=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:"path"in e?xd(e):$t().resolve(e).href;if(t!=null&&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=Mn(n,{acceptRelative:!0}),o=(t==null?void 0:t.external)||r;if(o){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:l}=new URL(n,window.location.href);if(l&&ib(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const i=RI();if(!o&&i){if(t!=null&&t.replace){if(typeof e=="string"){const{pathname:l,search:u,hash:c}=Ic(e);return{path:l,...u&&{query:Rc(u)},...c&&{hash:c},replace:!0}}return{...e,replace:!0}}return e}const s=$t(),a=Be();return o?(a._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,i?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?s.replace(e):s.push(e)};function xd(e){return Ya(e.path||"",e.query||{})+(e.hash||"")}const bb="__nuxt_error",Ja=()=>Ga(Be().payload,"error"),gi=e=>{const t=qo(e);try{const n=Be(),r=Ja();n.hooks.callHook("app:error",t),r.value||(r.value=t)}catch{throw t}return t},II=async(e={})=>{const t=Be(),n=Ja();t.callHook("app:error:cleared",e),e.redirect&&await $t().replace(e.redirect),n.value=rI},Eb=e=>!!e&&typeof e=="object"&&bb in e,qo=e=>{const t=TI(e);return Object.defineProperty(t,bb,{value:!0,configurable:!1,writable:!1}),t};function Jg(e){const t=xI(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 CI=-1,NI=-2,LI=-3,PI=-4,DI=-5,kI=-6;function MI(e,t){return FI(JSON.parse(e),t)}function FI(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===CI)return;if(i===LI)return NaN;if(i===PI)return 1/0;if(i===DI)return-1/0;if(i===kI)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==null?void 0: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 $u(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=>$u(i,t));if((o==null?void 0:o.constructor)===Object){const i={};for(const s of Object.keys(o))i[s]=$u(o[s],t,s);return i}return o}function KI(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 wb(e,t){return e.props=e.props||{},t&&Object.entries(t).forEach(([n,r])=>{if(r===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=KI(n,r);return}if(BI.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof r=="object"){let s=t.type;if(t.type||(s="application/json"),!(s!=null&&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}function qI(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=wb({tag:e,props:{}},n);return r.key&&UI.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 WI(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(qI(o,s))}),r.flat()}const em=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,tm={base:-10,title:10},YI={critical:-8,high:-1,low:2},nm={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}},XI=/@import/,zs=e=>e===""||e===!0;function JI(e,t){var i;if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=YI[t.tagPriority]||0,o=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:nm;if(t.tag in tm)n=tm[t.tag];else if(t.tag==="meta"){const s=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;s&&(n=nm.meta[s])}else t.tag==="link"&&t.props.rel?n=o.link[t.props.rel]:t.tag==="script"?zs(t.props.async)?n=o.script.async:t.props.src&&!zs(t.props.defer)&&!zs(t.props.async)&&t.props.type!=="module"&&!((i=t.props.type)!=null&&i.endsWith("json"))?n=o.script.sync:zs(t.props.defer)&&t.props.src&&!zs(t.props.async)&&(n=o.script.defer):t.tag==="style"&&(n=t.innerHTML&&XI.test(t.innerHTML)?o.style.imported:o.style.sync);return(n||100)+r}function rm(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 QI(e={}){var a;const t=pb();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,o=new Map,i=[],s={_entryCount:1,plugins:o,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:l=>rm(s,l),push(l,u){const c={...u||{}};delete c.head;const f=c._index??s._entryCount++,d={_i:f,input:l,options:c},p={_poll(h=!1){s.dirty=!0,!h&&i.push(f),t.callHook("entries:updated",s)},dispose(){r.delete(f)&&p._poll(!0)},patch(h){(!c.mode||c.mode==="server"&&n||c.mode==="client"&&!n)&&(d.input=h,r.set(f,d),p._poll())}};return p.patch(l),p},async resolveTags(){var p;const l={tagMap:new Map,tags:[],entries:[...s.entries.values()]};for(await t.callHook("entries:resolve",l);i.length;){const h=i.shift(),g=r.get(h);if(g){const v={tags:WI(g.input,e.propResolvers||[]).map(m=>Object.assign(m,g.options)),entry:g};await t.callHook("entries:normalize",v),g._tags=v.tags.map((m,E)=>(m._w=JI(s,m),m._p=(g._i<<10)+E,m._d=Cd(m),m))}}let u=!1;l.entries.flatMap(h=>(h._tags||[]).map(g=>({...g,props:{...g.props}}))).sort(em).reduce((h,g)=>{const v=String(g._d||g._p);if(!h.has(v))return h.set(v,g);const m=h.get(v);if(((g==null?void 0:g.tagDuplicateStrategy)||(HI.has(g.tag)?"merge":null)||(g.key&&g.key===m.key?"merge":null))==="merge"){const y={...m.props};Object.entries(g.props).forEach(([_,T])=>y[_]=_==="style"?new Map([...m.props.style||new Map,...T]):_==="class"?new Set([...m.props.class||new Set,...T]):T),h.set(v,{...g,props:y})}else g._p>>10===m._p>>10&&g.tag==="meta"&&Tb(v)?(h.set(v,Object.assign([...Array.isArray(m)?m:[m],g],g)),u=!0):(g._w===m._w?g._p>m._p:(g==null?void 0:g._w)<(m==null?void 0:m._w))&&h.set(v,g);return h},l.tagMap);const c=l.tagMap.get("title"),f=l.tagMap.get("titleTemplate");if(s._title=c==null?void 0:c.textContent,f){const h=f==null?void 0:f.textContent;if(s._titleTemplate=h,h){let g=typeof h=="function"?h(c==null?void 0:c.textContent):h;typeof g=="string"&&!s.plugins.has("template-params")&&(g=g.replace("%s",(c==null?void 0:c.textContent)||"")),c?g===null?l.tagMap.delete("title"):l.tagMap.set("title",{...c,textContent:g}):(f.tag="title",f.textContent=g)}}l.tags=Array.from(l.tagMap.values()),u&&(l.tags=l.tags.flat().sort(em)),await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l);const d=[];for(const h of l.tags){const{innerHTML:g,tag:v,props:m}=h;if(VI.has(v)&&!(Object.keys(m).length===0&&!h.innerHTML&&!h.textContent)&&!(v==="meta"&&!m.content&&!m["http-equiv"]&&!m.charset)){if(v==="script"&&g){if((p=m.type)!=null&&p.endsWith("json")){const E=typeof g=="string"?g:JSON.stringify(g);h.innerHTML=E.replace(/rm(s,l)),s.hooks.callHook("init",s),(a=e.init)==null||a.forEach(l=>l&&s.push(l)),s}const ZI=(e,t)=>It(t)?gt(t):t,ih="usehead";function eO(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(ih,e)}}.install}function tO(){if(ei()){const e=jt(ih);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 nO(e,t={}){const n=t.head||tO();return n.ssr?n.push(e||{},t):rO(n,e,t)}function rO(e,t,n={}){const r=Fe(!1);let o;return Jr(()=>{const s=r.value?{}:$u(t,ZI);o?o.patch(s):o=e.push(s,n)}),yt()&&(Zo(()=>{o.dispose()}),Up(()=>{r.value=!0}),Fp(()=>{r.value=!1})),o}function oO(e){var n;const t=e||Be();return((n=t.ssrContext)==null?void 0:n.head)||t.runWithContext(()=>{if(ei()){const r=jt(ih);if(!r)throw new Error("[nuxt] [unhead] Missing Unhead instance.");return r}})}function sh(e,t={}){const n=oO(t.nuxt);return nO(e,{head:n,...t})}const iO="modulepreload",sO=function(e,t){return new URL(e,t).href},om={},ie=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){let s=function(c){return Promise.all(c.map(f=>Promise.resolve(f).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};const a=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),u=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));o=s(n.map(c=>{if(c=sO(c,r),c in om)return;om[c]=!0;const f=c.endsWith(".css"),d=f?'[rel="stylesheet"]':"";if(!!r)for(let g=a.length-1;g>=0;g--){const v=a[g];if(v.href===c&&(!f||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${d}`))return;const h=document.createElement("link");if(h.rel=f?"stylesheet":iO,f||(h.as="script"),h.crossOrigin="",h.href=c,u&&h.setAttribute("nonce",u),document.head.appendChild(h),f)return new Promise((g,v)=>{h.addEventListener("load",g),h.addEventListener("error",()=>v(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 cu,fu;function aO(){return cu=$fetch(rh(`builds/meta/${kt().app.buildId}.json`),{responseType:"json"}),cu.then(e=>{fu=hI(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),cu}function Oc(){return cu||aO()}async function ah(e){const t=typeof e=="string"?e:e.path;if(await Oc(),!fu)return console.error("[nuxt] Error creating app manifest matcher.",fu),{};try{return Xa({},...fu.matchAll(t).reverse())}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function im(e,t={}){if(!await Ab(e))return null;const r=await uO(e,t);return await Sb(r)||null}const lO="_payload.json";async function uO(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Mn(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=kt(),o=t.hash||(t.fresh?Date.now():r.app.buildId),i=r.app.cdnURL,s=i&&await Ab(e)?i:r.app.baseURL;return gr(s,n.pathname,lO+(o?`?${o}`:""))}async function Sb(e){const t=fetch(e,{cache:"force-cache"}).then(n=>n.text().then(Rb));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function Ab(e=Rn().path){const t=Be();return e=Ri(e),(await Oc()).prerendered.includes(e)?!0:t.runWithContext(async()=>{const r=await ah({path:e});return!!r.prerender&&!r.redirect})}let di=null;async function cO(){var r;if(di)return di;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await Rb(e.textContent||""),n=e.dataset.src?await Sb(e.dataset.src):void 0;return di={...t,...n,...window.__NUXT__},(r=di.config)!=null&&r.public&&(di.config.public=sn(di.config.public)),di}async function Rb(e){return await MI(e,Be()._payloadRevivers)}function fO(e,t){Be()._payloadRevivers[e]=t}const dO=[["NuxtError",e=>qo(e)],["EmptyShallowRef",e=>An(e==="_"?void 0:e==="0n"?BigInt(0):Aa(e))],["EmptyRef",e=>Fe(e==="_"?void 0:e==="0n"?BigInt(0):Aa(e))],["ShallowRef",e=>An(e)],["ShallowReactive",e=>Tr(e)],["Ref",e=>Fe(e)],["Reactive",e=>sn(e)]],pO=Gt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,o]of dO)fO(r,o);Object.assign(e.payload,([t,n]=qn(()=>e.runWithContext(cO)),t=await t,n(),t)),window.__NUXT__=e.payload}});async function lh(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=>{var p;const i=new Map,s=new Promise(h=>{e.resolveTags().then(g=>{h(g.map(v=>{const m=i.get(v._d)||0,E={tag:v,id:(m?`${v._d}:${m}`:v._d)||Zg(v),shouldRender:!0};return v._d&&Tb(v._d)&&i.set(v._d,m+1),E}))})});let a=e._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const h of["body","head"]){const g=(p=n[h])==null?void 0:p.children;for(const v of g){const m=v.tagName.toLowerCase();if(!Qg.has(m))continue;const E=wb({tag:m,props:{}},{innerHTML:v.innerHTML,...v.getAttributeNames().reduce((y,_)=>(y[_]=v.getAttribute(_),y),{})||{}});if(E.key=v.getAttribute("data-hid")||void 0,E._d=Cd(E)||Zg(E),a.elMap.has(E._d)){let y=1,_=E._d;for(;a.elMap.has(_);)_=`${E._d}:${y++}`;a.elMap.set(_,v)}else a.elMap.set(E._d,v)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function l(h,g,v){const m=`${h}:${g}`;a.sideEffects[m]=v,delete a.pendingSideEffects[m]}function u({id:h,$el:g,tag:v}){const m=v.tag.endsWith("Attrs");a.elMap.set(h,g),m||(v.textContent&&v.textContent!==g.textContent&&(g.textContent=v.textContent),v.innerHTML&&v.innerHTML!==g.innerHTML&&(g.innerHTML=v.innerHTML),l(h,"el",()=>{g==null||g.remove(),a.elMap.delete(h)}));for(const E in v.props){if(!Object.prototype.hasOwnProperty.call(v.props,E))continue;const y=v.props[E];if(E.startsWith("on")&&typeof y=="function"){const T=g==null?void 0:g.dataset;if(T&&T[`${E}fired`]){const A=E.slice(0,-5);y.call(g,new Event(A.substring(2)))}g.getAttribute(`data-${E}`)!==""&&((v.tag==="bodyAttrs"?n.defaultView:g).addEventListener(E.substring(2),y.bind(g)),g.setAttribute(`data-${E}`,""));continue}const _=`attr:${E}`;if(E==="class"){if(!y)continue;for(const T of y)m&&l(h,`${_}:${T}`,()=>g.classList.remove(T)),!g.classList.contains(T)&&g.classList.add(T)}else if(E==="style"){if(!y)continue;for(const[T,A]of y)l(h,`${_}:${T}`,()=>{g.style.removeProperty(T)}),g.style.setProperty(T,A)}else y!==!1&&y!==null&&(g.getAttribute(E)!==y&&g.setAttribute(E,y===!0?"":String(y)),m&&l(h,_,()=>g.removeAttribute(E)))}}const c=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},d=await s;for(const h of d){const{tag:g,shouldRender:v,id:m}=h;if(v){if(g.tag==="title"){n.title=g.textContent,l("title","",()=>n.title=a.title);continue}h.$el=h.$el||a.elMap.get(m),h.$el?u(h):Qg.has(g.tag)&&c.push(h)}}for(const h of c){const g=h.tag.tagPosition||"head";h.$el=n.createElement(h.tag.tag),u(h),f[g]=f[g]||n.createDocumentFragment(),f[g].appendChild(h.$el)}for(const h of d)await e.hooks.callHook("dom:renderTag",h,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 h in a.pendingSideEffects)a.pendingSideEffects[h]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:d}),o()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function hO(e={}){var r,o,i;const t=((r=e.domOptions)==null?void 0:r.render)||lh;e.document=e.document||(typeof window<"u"?document:void 0);const n=((i=(o=e.document)==null?void 0:o.head.querySelector('script[id="unhead:payload"]'))==null?void 0:i.innerHTML)||!1;return QI({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function gO(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function mO(e={}){const t=hO({domOptions:{render:gO(()=>lh(t),n=>setTimeout(n,0))},...e});return t.install=eO(t),t}const yO={disableDefaults:!0},vO=Gt({name:"nuxt:head",enforce:"pre",setup(e){const t=mO(yO);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await lh(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 qi=typeof document<"u";function Ib(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function _O(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Ib(e.default)}const bt=Object.assign;function ff(e,t){const n={};for(const r in t){const o=t[r];n[r]=Ar(o)?o.map(e):e(o)}return n}const ua=()=>{},Ar=Array.isArray,Ob=/#/g,bO=/&/g,EO=/\//g,TO=/=/g,wO=/\?/g,xb=/\+/g,SO=/%5B/g,AO=/%5D/g,Cb=/%5E/g,RO=/%60/g,Nb=/%7B/g,IO=/%7C/g,Lb=/%7D/g,OO=/%20/g;function uh(e){return encodeURI(""+e).replace(IO,"|").replace(SO,"[").replace(AO,"]")}function xO(e){return uh(e).replace(Nb,"{").replace(Lb,"}").replace(Cb,"^")}function Nd(e){return uh(e).replace(xb,"%2B").replace(OO,"+").replace(Ob,"%23").replace(bO,"%26").replace(RO,"`").replace(Nb,"{").replace(Lb,"}").replace(Cb,"^")}function CO(e){return Nd(e).replace(TO,"%3D")}function NO(e){return uh(e).replace(Ob,"%23").replace(wO,"%3F")}function LO(e){return e==null?"":NO(e).replace(EO,"%2F")}function Ra(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const PO=/\/$/,DO=e=>e.replace(PO,"");function df(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=UO(r??t,n),{fullPath:r+(i&&"?")+i+s,path:r,query:o,hash:Ra(s)}}function kO(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function sm(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function MO(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&vs(t.matched[r],n.matched[o])&&Pb(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function vs(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Pb(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!FO(e[n],t[n]))return!1;return!0}function FO(e,t){return Ar(e)?am(e,t):Ar(t)?am(t,e):e===t}function am(e,t){return Ar(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function UO(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 ur={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Ia;(function(e){e.pop="pop",e.push="push"})(Ia||(Ia={}));var ca;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ca||(ca={}));function jO(e){if(!e)if(qi){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),DO(e)}const VO=/^[^#]+#/;function $O(e,t){return e.replace(VO,"#")+t}function BO(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 xc=()=>({left:window.scrollX,top:window.scrollY});function HO(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=BO(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 lm(e,t){return(history.state?history.state.position-t:-1)+e}const Ld=new Map;function zO(e,t){Ld.set(e,t)}function GO(e){const t=Ld.get(e);return Ld.delete(e),t}let KO=()=>location.protocol+"//"+location.host;function Db(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),sm(l,"")}return sm(n,e)+r+o}function qO(e,t,n,r){let o=[],i=[],s=null;const a=({state:d})=>{const p=Db(e,location),h=n.value,g=t.value;let v=0;if(d){if(n.value=p,t.value=d,s&&s===h){s=null;return}v=g?d.position-g.position:0}else r(p);o.forEach(m=>{m(n.value,h,{delta:v,type:Ia.pop,direction:v?v>0?ca.forward:ca.back:ca.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(bt({},d.state,{scroll:xc()}),"")}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 um(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?xc():null}}function WO(e){const{history:t,location:n}=window,r={value:Db(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:KO()+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=bt({},t.state,um(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=bt({},o.value,t.state,{forward:l,scroll:xc()});i(c.current,c,!0);const f=bt({},um(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 kb(e){e=jO(e);const t=WO(e),n=qO(e,t.state,t.location,t.replace);function r(i,s=!0){s||n.pauseListeners(),history.go(i)}const o=bt({location:"",base:e,go:r,createHref:$O.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 YO(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),kb(e)}function XO(e){return typeof e=="string"||e&&typeof e=="object"}function Mb(e){return typeof e=="string"||typeof e=="symbol"}const Fb=Symbol("");var cm;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(cm||(cm={}));function _s(e,t){return bt(new Error,{type:e,[Fb]:!0},t)}function Mr(e,t){return e instanceof Error&&Fb in e&&(t==null||!!(e.type&t))}const fm="[^/]+?",JO={sensitive:!1,strict:!1,start:!0,end:!0},QO=/[.+*?^${}()[\]/\\]/g;function ZO(e,t){const n=bt({},JO,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 Ub(e,t){let n=0;const r=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const tx={type:0,value:""},nx=/[a-zA-Z0-9_]/;function rx(e){if(!e)return[[]];if(e==="/")return[[tx]];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(y)}:ua}function s(f){if(Mb(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=lx(f,n);n.splice(d,0,f),f.record.name&&!gm(f)&&r.set(f.record.name,f)}function u(f,d){let p,h={},g,v;if("name"in f&&f.name){if(p=r.get(f.name),!p)throw _s(1,{location:f});v=p.record.name,h=bt(pm(d.params,p.keys.filter(y=>!y.optional).concat(p.parent?p.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),f.params&&pm(f.params,p.keys.map(y=>y.name))),g=p.stringify(h)}else if(f.path!=null)g=f.path,p=n.find(y=>y.re.test(g)),p&&(h=p.parse(g),v=p.record.name);else{if(p=d.name?r.get(d.name):n.find(y=>y.re.test(d.path)),!p)throw _s(1,{location:f,currentLocation:d});v=p.record.name,h=bt({},d.params,f.params),g=p.stringify(h)}const m=[];let E=p;for(;E;)m.unshift(E.record),E=E.parent;return{name:v,path:g,params:h,matched:m,meta:ax(m)}}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 pm(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function hm(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:sx(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 sx(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 gm(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function ax(e){return e.reduce((t,n)=>bt(t,n.meta),{})}function mm(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function lx(e,t){let n=0,r=t.length;for(;n!==r;){const i=n+r>>1;Ub(e,t[i])<0?r=i:n=i+1}const o=ux(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function ux(e){let t=e;for(;t=t.parent;)if(jb(t)&&Ub(e,t)===0)return t}function jb({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function cx(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;oi&&Nd(i)):[r&&Nd(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function fx(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Ar(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const dx=Symbol(""),vm=Symbol(""),ch=Symbol(""),fh=Symbol(""),Pd=Symbol("");function Gs(){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 Uo(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(_s(4,{from:n,to:t})):d instanceof Error?l(d):XO(d)?l(_s(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 pf(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(Ib(l)){const c=(l.__vccOpts||l)[t];c&&i.push(Uo(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=_O(c)?c.default:c;s.mods[a]=c,s.components[a]=f;const p=(f.__vccOpts||f)[t];return p&&Uo(p,n,r,s,a,o)()}))}}return i}function _m(e){const t=jt(ch),n=jt(fh),r=te(()=>{const l=W(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(vs.bind(null,c));if(d>-1)return d;const p=bm(l[u-2]);return u>1&&bm(c)===p&&f[f.length-1].path!==p?f.findIndex(vs.bind(null,l[u-2])):d}),i=te(()=>o.value>-1&&yx(n.params,r.value.params)),s=te(()=>o.value>-1&&o.value===n.matched.length-1&&Pb(n.params,r.value.params));function a(l={}){if(mx(l)){const u=t[W(e.replace)?"replace":"push"](W(e.to)).catch(ua);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 px(e){return e.length===1?e[0]:e}const hx=Ce({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:_m,setup(e,{slots:t}){const n=sn(_m(e)),{options:r}=jt(ch),o=te(()=>({[Em(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Em(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&px(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)}}}),gx=hx;function mx(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 yx(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(!Ar(o)||o.length!==r.length||r.some((i,s)=>i!==o[s]))return!1}return!0}function bm(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Em=(e,t,n)=>e??t??n,vx=Ce({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=jt(Pd),o=te(()=>e.route||r.value),i=jt(vm,0),s=te(()=>{let u=W(i);const{matched:c}=o.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),a=te(()=>o.value.matched[s.value]);Gr(vm,te(()=>s.value+1)),Gr(dx,a),Gr(Pd,o);const l=Fe();return St(()=>[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||!vs(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 Tm(n.default,{Component:d,route:u});const p=f.props[c],h=p?p===!0?u.params:typeof p=="function"?p(u):p:null,v=dt(d,bt({},h,t,{onVnodeUnmounted:m=>{m.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return Tm(n.default,{Component:v,route:u})||v}}});function Tm(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Vb=vx;function _x(e){const t=ix(e.routes,e),n=e.parseQuery||cx,r=e.stringifyQuery||ym,o=e.history,i=Gs(),s=Gs(),a=Gs(),l=An(ur);let u=ur;qi&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=ff.bind(null,J=>""+J),f=ff.bind(null,LO),d=ff.bind(null,Ra);function p(J,se){let ae,ve;return Mb(J)?(ae=t.getRecordMatcher(J),ve=se):ve=J,t.addRoute(ve,ae)}function h(J){const se=t.getRecordMatcher(J);se&&t.removeRoute(se)}function g(){return t.getRoutes().map(J=>J.record)}function v(J){return!!t.getRecordMatcher(J)}function m(J,se){if(se=bt({},se||l.value),typeof J=="string"){const L=df(n,J,se.path),V=t.resolve({path:L.path},se),ne=o.createHref(L.fullPath);return bt(L,V,{params:d(V.params),hash:Ra(L.hash),redirectedFrom:void 0,href:ne})}let ae;if(J.path!=null)ae=bt({},J,{path:df(n,J.path,se.path).path});else{const L=bt({},J.params);for(const V in L)L[V]==null&&delete L[V];ae=bt({},J,{params:f(L)}),se.params=f(se.params)}const ve=t.resolve(ae,se),We=J.hash||"";ve.params=c(d(ve.params));const ze=kO(r,bt({},J,{hash:xO(We),path:ve.path})),C=o.createHref(ze);return bt({fullPath:ze,hash:We,query:r===ym?fx(J.query):J.query||{}},ve,{redirectedFrom:void 0,href:C})}function E(J){return typeof J=="string"?df(n,J,l.value.path):bt({},J)}function y(J,se){if(u!==J)return _s(8,{from:se,to:J})}function _(J){return S(J)}function T(J){return _(bt(E(J),{replace:!0}))}function A(J){const se=J.matched[J.matched.length-1];if(se&&se.redirect){const{redirect:ae}=se;let ve=typeof ae=="function"?ae(J):ae;return typeof ve=="string"&&(ve=ve.includes("?")||ve.includes("#")?ve=E(ve):{path:ve},ve.params={}),bt({query:J.query,hash:J.hash,params:ve.path!=null?{}:J.params},ve)}}function S(J,se){const ae=u=m(J),ve=l.value,We=J.state,ze=J.force,C=J.replace===!0,L=A(ae);if(L)return S(bt(E(L),{state:typeof L=="object"?bt({},We,L.state):We,force:ze,replace:C}),se||ae);const V=ae;V.redirectedFrom=se;let ne;return!ze&&MO(r,ve,ae)&&(ne=_s(16,{to:V,from:ve}),Ae(ve,ve,!0,!1)),(ne?Promise.resolve(ne):j(V,ve)).catch(X=>Mr(X)?Mr(X,2)?X:tt(X):re(X,V,ve)).then(X=>{if(X){if(Mr(X,2))return S(bt({replace:C},E(X.to),{state:typeof X.to=="object"?bt({},We,X.to.state):We,force:ze}),se||V)}else X=H(V,ve,!0,C,We);return B(V,ve,X),X})}function D(J,se){const ae=y(J,se);return ae?Promise.reject(ae):Promise.resolve()}function M(J){const se=it.values().next().value;return se&&typeof se.runWithContext=="function"?se.runWithContext(J):J()}function j(J,se){let ae;const[ve,We,ze]=bx(J,se);ae=pf(ve.reverse(),"beforeRouteLeave",J,se);for(const L of ve)L.leaveGuards.forEach(V=>{ae.push(Uo(V,J,se))});const C=D.bind(null,J,se);return ae.push(C),ot(ae).then(()=>{ae=[];for(const L of i.list())ae.push(Uo(L,J,se));return ae.push(C),ot(ae)}).then(()=>{ae=pf(We,"beforeRouteUpdate",J,se);for(const L of We)L.updateGuards.forEach(V=>{ae.push(Uo(V,J,se))});return ae.push(C),ot(ae)}).then(()=>{ae=[];for(const L of ze)if(L.beforeEnter)if(Ar(L.beforeEnter))for(const V of L.beforeEnter)ae.push(Uo(V,J,se));else ae.push(Uo(L.beforeEnter,J,se));return ae.push(C),ot(ae)}).then(()=>(J.matched.forEach(L=>L.enterCallbacks={}),ae=pf(ze,"beforeRouteEnter",J,se,M),ae.push(C),ot(ae))).then(()=>{ae=[];for(const L of s.list())ae.push(Uo(L,J,se));return ae.push(C),ot(ae)}).catch(L=>Mr(L,8)?L:Promise.reject(L))}function B(J,se,ae){a.list().forEach(ve=>M(()=>ve(J,se,ae)))}function H(J,se,ae,ve,We){const ze=y(J,se);if(ze)return ze;const C=se===ur,L=qi?history.state:{};ae&&(ve||C?o.replace(J.fullPath,bt({scroll:C&&L&&L.scroll},We)):o.push(J.fullPath,We)),l.value=J,Ae(J,se,ae,C),tt()}let le;function Te(){le||(le=o.listen((J,se,ae)=>{if(!qe.listening)return;const ve=m(J),We=A(ve);if(We){S(bt(We,{replace:!0,force:!0}),ve).catch(ua);return}u=ve;const ze=l.value;qi&&zO(lm(ze.fullPath,ae.delta),xc()),j(ve,ze).catch(C=>Mr(C,12)?C:Mr(C,2)?(S(bt(E(C.to),{force:!0}),ve).then(L=>{Mr(L,20)&&!ae.delta&&ae.type===Ia.pop&&o.go(-1,!1)}).catch(ua),Promise.reject()):(ae.delta&&o.go(-ae.delta,!1),re(C,ve,ze))).then(C=>{C=C||H(ve,ze,!1),C&&(ae.delta&&!Mr(C,8)?o.go(-ae.delta,!1):ae.type===Ia.pop&&Mr(C,20)&&o.go(-1,!1)),B(ve,ze,C)}).catch(ua)}))}let ke=Gs(),pe=Gs(),ge;function re(J,se,ae){tt(J);const ve=pe.list();return ve.length?ve.forEach(We=>We(J,se,ae)):console.error(J),Promise.reject(J)}function _e(){return ge&&l.value!==ur?Promise.resolve():new Promise((J,se)=>{ke.add([J,se])})}function tt(J){return ge||(ge=!J,Te(),ke.list().forEach(([se,ae])=>J?ae(J):se()),ke.reset()),J}function Ae(J,se,ae,ve){const{scrollBehavior:We}=e;if(!qi||!We)return Promise.resolve();const ze=!ae&&GO(lm(J.fullPath,0))||(ve||!ae)&&history.state&&history.state.scroll||null;return Yt().then(()=>We(J,se,ze)).then(C=>C&&HO(C)).catch(C=>re(C,J,se))}const Ke=J=>o.go(J);let He;const it=new Set,qe={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:g,resolve:m,options:e,push:_,replace:T,go:Ke,back:()=>Ke(-1),forward:()=>Ke(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:pe.add,isReady:_e,install(J){const se=this;J.component("RouterLink",gx),J.component("RouterView",Vb),J.config.globalProperties.$router=se,Object.defineProperty(J.config.globalProperties,"$route",{enumerable:!0,get:()=>W(l)}),qi&&!He&&l.value===ur&&(He=!0,_(o.location).catch(We=>{}));const ae={};for(const We in ur)Object.defineProperty(ae,We,{get:()=>l.value[We],enumerable:!0});J.provide(ch,se),J.provide(fh,Tr(ae)),J.provide(Pd,l);const ve=J.unmount;it.add(J),J.unmount=function(){it.delete(J),it.size<1&&(u=ur,le&&le(),le=null,l.value=ur,He=!1,ge=!1),ve()}}};function ot(J){return J.reduce((se,ae)=>se.then(()=>M(ae)),Promise.resolve())}return qe}function bx(e,t){const n=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;svs(u,a))?r.push(a):n.push(a));const l=e.matched[s];l&&(t.matched.find(u=>vs(u,l))||o.push(l))}return[n,r,o]}function $b(e){return jt(fh)}const Ex=/(:\w+)\([^)]+\)/g,Tx=/(:\w+)[?+*]/g,wx=/:\w+/g,Sx=(e,t)=>t.path.replace(Ex,"$1").replace(Tx,"$1").replace(wx,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),Dd=(e,t)=>{const n=e.route.matched.find(o=>{var i;return((i=o.components)==null?void 0:i.default)===e.Component.type}),r=t??(n==null?void 0:n.meta.key)??(n&&Sx(e.route,n));return typeof r=="function"?r(e.route):r},Ax=(e,t)=>({default:()=>e?dt(W_,e===!0?{}:e,t):t});function dh(e){return Array.isArray(e)?e:[e]}const hf=[{name:"index",path:"/",meta:{middleware:["auth-middleware"]},component:()=>ie(()=>import("./Be5NOw4p.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:()=>ie(()=>import("./CBzEh_4e.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:()=>ie(()=>import("./Cqq8hgTo.js"),__vite__mapDeps([39,19,20,40]),import.meta.url)},{name:"korting",path:"/korting",meta:{middleware:["auth-middleware"]},component:()=>ie(()=>import("./BT8pWkjz.js"),__vite__mapDeps([41,42,43,15,16,2,3,17,18,27,21,22,28,29,30,31,10,11,32,33,19,20,34,44,23,24,45,46,47]),import.meta.url)},{name:"mislukt",path:"/mislukt",meta:{middleware:["auth-middleware"]},component:()=>ie(()=>import("./Dh7cbpmz.js"),__vite__mapDeps([48,1,2,3,4,12]),import.meta.url)},{name:"leesvorm",path:"/leesvorm",meta:{middleware:["auth-middleware"]},component:()=>ie(()=>import("./RdwHJ8mb.js"),__vite__mapDeps([49,42,43,28,29,16,2,3,17,30,31,50,51,23,24,22,10,11,52,46,53]),import.meta.url)},{name:"voltooien",path:"/voltooien",meta:{middleware:["auth-middleware"]},component:()=>ie(()=>import("./BwpbzUjg.js"),__vite__mapDeps([54,35,36,55,56,22,19,20,57]),import.meta.url)},{name:"andere-titel",path:"/andere-titel",meta:{middleware:["auth-middleware"]},component:()=>ie(()=>import("./Ck6WkzQq.js"),__vite__mapDeps([58,42,43,15,16,2,3,17,18,7,8,59,60,19,20,21,22,23,24,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:()=>ie(()=>import("./DCHhAK44.js"),__vite__mapDeps([66,42,43,30,31,67,32,16,2,3,17,68,9,50,51,44,15,18,23,24,19,20,45,59,60,7,8,69,10,11,70,71]),import.meta.url)},{name:"slug-controle",path:"/:slug()/controle",meta:{middleware:["auth-middleware"]},component:()=>ie(()=>import("./DoxRHYJP.js"),__vite__mapDeps([72,42,43,15,16,2,3,17,18,30,31,67,32,68,9,50,51,44,23,24,19,20,45,59,60,7,8,69,10,11,70,61,62,22,21,73]),import.meta.url)},{name:"ophalen-gegevens",path:"/ophalen-gegevens",meta:{middleware:["auth-middleware"]},component:()=>ie(()=>import("./CkGcREfy.js"),__vite__mapDeps([74,1,2,3,4,37]),import.meta.url)},{name:"reden-reason",path:"/reden/:reason(.*)*",meta:{middleware:["auth-middleware"]},component:()=>ie(()=>import("./V47PEXrh.js"),__vite__mapDeps([75,42,43,19,20,23,24,21,22,68,9,50,51,44,15,16,2,3,17,18,45,59,60,7,8,69,10,11,33,55,56,63,64,25,26,76]),import.meta.url)}];/** * @vue/shared v3.5.17 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const gf=e=>typeof e=="function",Rx=e=>e!==null&&typeof e=="object",Ix=e=>(Rx(e)||gf(e))&&gf(e.then)&&gf(e.catch),Ox=Object.prototype.toString,xx=e=>Ox.call(e),Cx=e=>xx(e)==="[object Object]",Bb=(e,t)=>({default:()=>{var n;return e?dt(j1,e===!0?{}:e,t):(n=t.default)==null?void 0:n.call(t)}}),Nx=/(:\w+)\([^)]+\)/g,Lx=/(:\w+)[?+*]/g,Px=/:\w+/g;function wm(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(Nx,"$1").replace(Lx,"$1").replace(Px,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""});return typeof t=="function"?t(e):t}function Dx(e,t){return e===t||t===ur?!1:wm(e)!==wm(t)?!0:!e.matched.every((r,o)=>{var i,s;return r.components&&r.components.default===((s=(i=t.matched[o])==null?void 0:i.components)==null?void 0:s.default)})}function kx(e,t=!1){if(e){if(e.nodeName==="#comment"&&e.nodeValue==="[")return Hb(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 Hb(e,t=[],n=!1){var r;if(e&&e.nodeName){if(Fx(e))return t;if(!Mx(e)){const o=e.cloneNode(!0);n&&((r=o.querySelectorAll)==null||r.call(o,"[data-island-slot]").forEach(i=>{i.innerHTML=""})),t.push(o.outerHTML)}Hb(e.nextSibling,t,n)}return t}function mf(e,t){const n=e?kx(e):[t];return n?Jp(n.join(""),n.length):dt("div")}function Mx(e){return e.nodeName==="#comment"&&e.nodeValue==="["}function Fx(e){return e.nodeName==="#comment"&&e.nodeValue==="]"}const zb={scrollBehavior(e,t,n){var l;const r=Be(),o=((l=$t().options)==null?void 0:l.scrollBehaviorType)??"auto";if(e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Gb(e.hash),behavior:o}:!1;if((typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1)return!1;let s=n||void 0;!s&&Dx(e,t)&&(s={left:0,top:0});const a=r._runningTransition?"page:transition:finish":"page:loading:end";return new Promise(u=>{if(t===ur){u(Sm(e,"instant",s));return}r.hooks.hookOnce(a,()=>{requestAnimationFrame(()=>u(Sm(e,"instant",s)))})})}};function Gb(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 Sm(e,t,n){return n||(e.hash?{el:e.hash,top:Gb(e.hash),behavior:t}:{left:0,top:0,behavior:t})}const Ux={scrollBehavior(e){var t,n,r;return((t=e.params.reason)==null?void 0:t.length)===1?{el:"#stap2",behavior:"smooth"}:((n=e.params.reason)==null?void 0:n.length)===2?{el:"#stap3",behavior:"smooth"}:((r=e.params.reason)==null?void 0:r.length)===3?{el:"#stap4",behavior:"smooth"}:{top:0}}},jx={scrollBehaviorType:"smooth",hashMode:!1},kd=zb.hashMode??!1,Lr={...jx,...zb,...Ux},Vx=async(e,t)=>{var s;let n,r;if(!((s=e.meta)!=null&&s.validate))return;const o=([n,r]=qn(()=>Promise.resolve(e.meta.validate(e))),n=await n,r(),n);if(o===!0)return;const i=qo({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 $x(e){return Array.isArray(e)?e:[e]}function Md(e){return{}}var SB=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Bx(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?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 yf,Am;function Hx(){if(Am)return yf;Am=1;function e(m){this._maxSize=m,this.clear()}e.prototype.clear=function(){this._size=0,this._values=Object.create(null)},e.prototype.get=function(m){return this._values[m]},e.prototype.set=function(m,E){return this._size>=this._maxSize&&this.clear(),m in this._values||this._size++,this._values[m]=E};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);yf={Cache:e,split:f,normalizePath:c,setter:function(m){var E=c(m);return l.get(m)||l.set(m,function(_,T){for(var A=0,S=E.length,D=_;Ac.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 vf={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(" ")},vf}var _f=zx(),Pl={exports:{}},Im;function Gx(){if(Im)return Pl.exports;Im=1,Pl.exports=function(o){return e(t(o),o)},Pl.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 v;try{v=", node was:"+JSON.stringify(p)}catch{v=""}throw new Error("Cyclic dependency"+v)}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 m=c.get(p)||new Set;if(m=Array.from(m),h=m.length){g.add(p);do{var E=m[--h];d(E,f.get(E),g)}while(h);g.delete(p)}a[--s]=p}}}function t(o){for(var i=new Set,s=0,a=o.length;s"",Qx=/^Symbol\((.*)\)(.*)$/;function Zx(e){return e!=+e?"NaN":e===0&&1/e<0?"-0":""+e}function Om(e,t=!1){if(e==null||e===!0||e===!1)return""+e;const n=typeof e;if(n==="number")return Zx(e);if(n==="string")return t?`"${e}"`:e;if(n==="function")return"[Function "+(e.name||"anonymous")+"]";if(n==="symbol")return Jx.call(e).replace(Qx,"Symbol($1)");const r=Wx.call(e).slice(8,-1);return r==="Date"?isNaN(e.getTime())?""+e:e.toISOString(e):r==="Error"||e instanceof Error?"["+Yx.call(e)+"]":r==="RegExp"?Xx.call(e):null}function yo(e,t){let n=Om(e,t);return n!==null?n:JSON.stringify(e,function(r,o){let i=Om(this[r],t);return i!==null?i:o},2)}function Kb(e){return e==null?[]:[].concat(e)}let qb,Wb,Yb,eC=/\$\{\s*(\w+)\s*\}/g;qb=Symbol.toStringTag;class xm{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[qb]="Error",this.name="ValidationError",this.value=n,this.path=r,this.type=o,this.errors=[],this.inner=[],Kb(t).forEach(i=>{if(En.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]}}Wb=Symbol.hasInstance;Yb=Symbol.toStringTag;class En 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(eC,(o,i)=>yo(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 xm(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[Yb]="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,En)}static[Wb](t){return xm[Symbol.hasInstance](t)||super[Symbol.hasInstance](t)}}let jr={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 \`${yo(r,!0)}\`).`:".";return t!=="mixed"?`${e} must be a \`${t}\` type, but the final value was: \`${yo(n,!0)}\``+o:`${e} must match the configured type. The validated value was: \`${yo(n,!0)}\``+o}},Bn={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"},tC={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"},Fd={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},Ud={isValue:"${path} field must be ${value}"},du={noUnknown:"${path} field has unspecified keys: ${unknown}",exact:"${path} object contains unknown properties: ${properties}"},pu={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"},nC={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: \`${yo(n,!0)}\``}return En.formatError(jr.notType,e)}};Object.assign(Object.create(null),{mixed:jr,string:Bn,number:tC,date:Fd,object:du,array:pu,boolean:Ud,tuple:nC});const Qa=e=>e&&e.__isYupSchema__;class Bu{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 Bu(t,(a,l)=>{var u;let c=s(...a)?o:i;return(u=c==null?void 0: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==null?void 0:n.value,n==null?void 0:n.parent,n==null?void 0:n.context)),o=this.fn(r,t,n);if(o===void 0||o===t)return t;if(!Qa(o))throw new TypeError("conditions must return a schema object");return o.resolve(n)}}const Dl={context:"$",value:"."};class Li{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]===Dl.context,this.isValue=this.key[0]===Dl.value,this.isSibling=!this.isContext&&!this.isValue;let r=this.isContext?Dl.context:this.isValue?Dl.value:"";this.path=this.key.slice(r.length),this.getter=this.path&&Ti.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==null?void 0:n.parent,n==null?void 0:n.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(t){return t&&t.__isYupRef}}Li.prototype.__isYupRef=!0;const ho=e=>e==null;function $i(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:v=s.spec.abortEarly,disableStackTrace:m=s.spec.disableStackTrace}=o;function E(B){return Li.isRef(B)?B.getValue(n,h,g):B}function y(B={}){const H=Object.assign({value:n,originalValue:i,label:s.spec.label,path:B.path||r,spec:s.spec,disableStackTrace:B.disableStackTrace||m},f,B.params);for(const Te of Object.keys(H))H[Te]=E(H[Te]);const le=new En(En.formatError(B.message||d,H),n,H.path,B.type||u,H.disableStackTrace);return le.params=H,le}const _=v?a:l;let T={path:r,parent:h,type:u,from:o.from,createError:y,resolve:E,options:o,originalValue:i,schema:s};const A=B=>{En.isError(B)?_(B):B?l(null):_(y())},S=B=>{En.isError(B)?_(B):a(B)};if(p&&ho(n))return A(!0);let M;try{var j;if(M=c.call(T,n,T),typeof((j=M)==null?void 0:j.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(A,S)}}catch(B){S(B);return}A(M)}return t.OPTIONS=e,t}function Xb(e,t,n,r=n){let o,i,s;return t?(Ti.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 AB(e,t,n,r){return Xb(e,t,n,r).schema}class Hu extends Set{describe(){const t=[];for(const n of this.values())t.push(Li.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 Hu(this.values())}merge(t,n){const r=this.clone();return t.forEach(o=>r.add(o)),n.forEach(o=>r.delete(o)),r}}function Qi(e,t=new Map){if(Qa(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(jr.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==null?void 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=Qi(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&&ho(i))return i;let s=yo(t),a=yo(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==null?void 0:n.disableStackTrace)!=null?r:o.spec.disableStackTrace;return new Promise((s,a)=>o._validate(t,n,(l,u)=>{En.isError(l)&&(l.value=u),a(l)},(l,u)=>{l.length?a(new En(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==null?void 0:n.disableStackTrace)!=null?r:o.spec.disableStackTrace;return o._validate(t,Object.assign({},n,{sync:!0}),(a,l)=>{throw En.isError(a)&&(a.value=l),a},(a,l)=>{if(a.length)throw new En(a,t,void 0,void 0,s);i=l}),i}isValid(t,n){return this.validate(t,n).then(()=>!0,r=>{if(En.isError(r))return!1;throw r})}isValidSync(t,n){try{return this.validateSync(t,n),!0}catch(r){if(En.isError(r))return!1;throw r}}_getDefault(t){let n=this.spec.default;return n==null?n:typeof n=="function"?n.call(this,t):Qi(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=$i({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=$i({message:n,name:"optionality",test(o){return o===void 0?this.schema.spec.optional:!0}}),r}optional(){return this.optionality(!0)}defined(t=jr.defined){return this.optionality(!1,t)}nullable(){return this.nullability(!0)}nonNullable(t=jr.notNull){return this.nullability(!1,t)}required(t=jr.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=jr.default),typeof n.test!="function")throw new TypeError("`test` is a required parameters");let r=this.clone(),o=$i(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=Kb(t).map(i=>new Li(i));return o.forEach(i=>{i.isSibling&&r.deps.push(i.key)}),r.conditions.push(typeof n=="function"?new Bu(o,n):Bu.fromOptions(o,n)),r}typeError(t){let n=this.clone();return n.internalTests.typeError=$i({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=jr.oneOf){let r=this.clone();return t.forEach(o=>{r._whitelist.add(o),r._blacklist.delete(o)}),r.internalTests.whiteList=$i({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=jr.notOneOf){let r=this.clone();return t.forEach(o=>{r._blacklist.add(o),r._whitelist.delete(o)}),r.internalTests.blacklist=$i({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)}}}mr.prototype.__isYupSchema__=!0;for(const e of["validate","validateSync"])mr.prototype[`${e}At`]=function(t,n,r={}){const{parent:o,parentPath:i,schema:s}=Xb(this,t,n,r.context);return s[e](o&&o[i],Object.assign({},r,{parent:o,path:t}))};for(const e of["equals","is"])mr.prototype[e]=mr.prototype.oneOf;for(const e of["not","nope"])mr.prototype[e]=mr.prototype.notOneOf;function rC(){return new Jb}class Jb extends mr{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=Ud.isValue){return this.test({message:t,name:"is-value",exclusive:!0,params:{value:"true"},test(n){return ho(n)||n===!0}})}isFalse(t=Ud.isValue){return this.test({message:t,name:"is-value",exclusive:!0,params:{value:"false"},test(n){return ho(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)}}rC.prototype=Jb.prototype;const oC=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function iC(e){const t=jd(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 jd(e){var t,n;const r=oC.exec(e);return r?{year:oo(r[1]),month:oo(r[2],1)-1,day:oo(r[3],1),hour:oo(r[4]),minute:oo(r[5]),second:oo(r[6]),millisecond:r[7]?oo(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:oo(r[10]),minuteOffset:oo(r[11])}:null}function oo(e,t=0){return Number(e)||t}let sC=/^[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])?)*$/,aC=/^((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,lC=/^(?:[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,uC="^\\d{4}-\\d{2}-\\d{2}",cC="\\d{2}:\\d{2}:\\d{2}",fC="(([+-]\\d{2}(:?\\d{2})?)|Z)",dC=new RegExp(`${uC}T${cC}(\\.\\d+)?${fC}$`),pC=e=>ho(e)||e===e.trim(),hC={}.toString();function gC(){return new Qb}class Qb extends mr{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===hC?t:o})})}required(t){return super.required(t).withMutation(n=>n.test({message:t||jr.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=Bn.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=Bn.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=Bn.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||Bn.matches,params:{regex:t},skipAbsent:!0,test:s=>s===""&&r||s.search(t)!==-1})}email(t=Bn.email){return this.matches(sC,{name:"email",message:t,excludeEmptyString:!0})}url(t=Bn.url){return this.matches(aC,{name:"url",message:t,excludeEmptyString:!0})}uuid(t=Bn.uuid){return this.matches(lC,{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(dC,{name:"datetime",message:n||Bn.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:n||Bn.datetime_offset,params:{allowOffset:r},skipAbsent:!0,test:i=>{if(!i||r)return!0;const s=jd(i);return s?!!s.z:!1}}).test({name:"datetime_precision",message:n||Bn.datetime_precision,params:{precision:o},skipAbsent:!0,test:i=>{if(!i||o==null)return!0;const s=jd(i);return s?s.precision===o:!1}})}ensure(){return this.default("").transform(t=>t===null?"":t)}trim(t=Bn.trim){return this.transform(n=>n!=null?n.trim():n).test({message:t,name:"trim",test:pC})}lowercase(t=Bn.lowercase){return this.transform(n=>ho(n)?n:n.toLowerCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>ho(n)||n===n.toLowerCase()})}uppercase(t=Bn.uppercase){return this.transform(n=>ho(n)?n:n.toUpperCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>ho(n)||n===n.toUpperCase()})}}gC.prototype=Qb.prototype;let Zb=new Date(""),mC=e=>Object.prototype.toString.call(e)==="[object Date]";function e0(){return new Za}class Za extends mr{constructor(){super({type:"date",check(t){return mC(t)&&!isNaN(t.getTime())}}),this.withMutation(()=>{this.transform((t,n,r)=>!r.spec.coerce||r.isType(t)||t===null?t:(t=iC(t),isNaN(t)?Za.INVALID_DATE:new Date(t)))})}prepareParam(t,n){let r;if(Li.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=Fd.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=Fd.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)}})}}Za.INVALID_DATE=Zb;e0.prototype=Za.prototype;e0.INVALID_DATE=Zb;function yC(e,t=[]){let n=[],r=new Set,o=new Set(t.map(([s,a])=>`${s}-${a}`));function i(s,a){let l=Ti.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),Li.isRef(a)&&a.isSibling?i(a.path,s):Qa(a)&&"deps"in a&&a.deps.forEach(l=>i(l,s))}return qx.array(Array.from(r),n).reverse()}function Cm(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 t0(e){return(t,n)=>Cm(e,t)-Cm(e,n)}const n0=(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 hu(e){if("fields"in e){const t={};for(const[n,r]of Object.entries(e.fields))t[n]=hu(r);return e.setFields(t)}if(e.type==="array"){const t=e.optional();return t.innerType&&(t.innerType=hu(t.innerType)),t}return e.type==="tuple"?e.optional().clone({types:e.spec.types.map(hu)}):"optional"in e?e.optional():e}const vC=(e,t)=>{const n=[...Ti.normalizePath(t)];if(n.length===1)return n[0]in e;let r=n.pop(),o=Ti.getter(Ti.join(n),!0)(e);return!!(o&&r in o)};let Nm=e=>Object.prototype.toString.call(e)==="[object Object]";function Lm(e,t){let n=Object.keys(e.fields);return Object.keys(t).filter(r=>n.indexOf(r)===-1)}const _C=t0([]);function bC(e){return new r0(e)}class r0 extends mr{constructor(t){super({type:"object",check(n){return Nm(n)||typeof n=="function"}}),this.fields=Object.create(null),this._sortErrors=_C,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 v=d instanceof mr?d.spec:void 0,m=v==null?void 0:v.strict;if(v!=null&&v.strip){c=c||f in o;continue}h=!n.__validating||!m?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||!Nm(u)){o(l,u);return}s=s||u;let c=[];for(let f of this._nodes){let d=this.fields[f];!d||Li.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=yC(t,n),r._sortErrors=t0(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 hu(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=Ti.getter(t,!0);return this.transform(i=>{if(!i)return i;let s=i;return vC(i,t)&&(s=Object.assign({},i),r||delete s[t],s[n]=o(i)),s})}json(){return this.transform(n0)}exact(t){return this.test({name:"exact",exclusive:!0,message:t||du.exact,test(n){if(n==null)return!0;const r=Lm(this.schema,n);return r.length===0||this.createError({params:{properties:r.join(", ")}})}})}stripUnknown(){return this.clone({noUnknown:!0})}noUnknown(t=!0,n=du.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=Lm(this.schema,o);return!t||i.length===0||this.createError({params:{unknown:i.join(", ")}})}});return r.spec.noUnknown=t,r}unknown(t=!0,n=du.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(_f.camelCase)}snakeCase(){return this.transformKeys(_f.snakeCase)}constantCase(){return this.transformKeys(t=>_f.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}}bC.prototype=r0.prototype;function EC(e){return new o0(e)}class o0 extends mr{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(n0)}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(!Qa(t))throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: "+yo(t));return n.innerType=t,n.spec=Object.assign({},n.spec,{types:t}),n}length(t,n=pu.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||pu.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||pu.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}}EC.prototype=o0.prototype;function RB(e){return new ph(e)}function Pm(e){try{return e()}catch(t){if(En.isError(t))return Promise.reject(t);throw t}}class ph{constructor(t){this.type="lazy",this.__isYupSchema__=!0,this.spec=void 0,this._resolve=(n,r={})=>{let o=this.builder(n,r);if(!Qa(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 ph(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 Pm(()=>this._resolve(t,n).validate(t,n))}validateSync(t,n){return this._resolve(t,n).validateSync(t,n)}validateAt(t,n,r){return Pm(()=>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(En.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 TC(e){const t=e.split(":")[0],n=t.split(".");return n.length>1?n.slice(-2).join("."):t}const wC={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 SC({brandCode:e,hostname:t}){return(e==null?void 0:e.toLowerCase())||AC(t)}function AC(e){var r;const n=Object.values(wC).find(o=>o.domain.includes(e));return n!=null&&n.domain?(r=n==null?void 0:n.code)==null?void 0:r.toLowerCase():void 0}function i0(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},r=t||{},o=r.decode||RC;let i=0;for(;ithis.compare(a[0],l[0]));let s=`${r}{`;for(let a=0;athis.compare(o,i)))}`}$Map(r){return this.serializeObjectEntries("Map",r.entries())}}t=new WeakMap;for(const n of["Error","RegExp","URL"])e.prototype["$"+n]=function(r){return`${n}(${r})`};for(const n of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])e.prototype["$"+n]=function(r){return`${n}[${r.join(",")}]`};for(const n of["BigInt64Array","BigUint64Array"])e.prototype["$"+n]=function(r){return`${n}[${r.join("n,")}${r.length>0?"n":""}]`};return e}();function s0(e,t){return e===t||Vd(e)===Vd(t)}const CC=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],NC=[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],LC="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",pi=[];let PC=class{constructor(){Vn(this,"_data",new Zi);Vn(this,"_hash",new Zi([...CC]));Vn(this,"_nDataBytes",0);Vn(this,"_minBufferSize",0)}finalize(t){t&&this._append(t);const n=this._nDataBytes*8,r=this._data.sigBytes*8;return this._data.words[r>>>5]|=128<<24-r%32,this._data.words[(r+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(r+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}_doProcessBlock(t,n){const r=this._hash.words;let 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)pi[d]=t[n+d]|0;else{const y=pi[d-15],_=(y<<25|y>>>7)^(y<<14|y>>>18)^y>>>3,T=pi[d-2],A=(T<<15|T>>>17)^(T<<13|T>>>19)^T>>>10;pi[d]=_+pi[d-7]+A+pi[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),v=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),m=f+v+p+NC[d]+pi[d],E=g+h;f=c,c=u,u=l,l=a+m|0,a=s,s=i,i=o,o=m+E|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=Zi.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 Zi(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 DC(e){return new PC().finalize(e).toBase64()}function Wi(e){return DC(Vd(e))}function zn(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]=zn(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:zn(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=zn(e[t])}return n}if(r==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=zn(e[t]);return n}return r==="[object Set]"?(n=new Set,e.forEach(function(o){n.add(zn(o))}),n):r==="[object Map]"?(n=new Map,e.forEach(function(o,i){n.set(zn(i),zn(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(zn(e.buffer)):r==="[object ArrayBuffer]"?e.slice(0):r.slice(-6)==="Array]"?new e.constructor(e):e}const kC={path:"/",watch:!0,decode:e=>Aa(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},Ml=window.cookieStore;function el(e,t){var u;const n={...kC,...t};n.filter??(n.filter=c=>c===e);const r=Dm(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=zn(i?void 0:r[e]??((u=n.default)==null?void 0:u.call(n))),l=o&&!i?UC(a,o,n.watch&&n.watch!=="shallow"):Fe(a);{let c=null;try{!Ml&&typeof BroadcastChannel<"u"&&(c=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const f=(g=!1)=>{!g&&(n.readonly||s0(l.value,r[e]))||(FC(e,l.value,n),r[e]=zn(l.value),c==null||c.postMessage({value:n.encode(l.value)}))},d=g=>{var m;const v=g.refresh?(m=Dm(n))==null?void 0:m[e]:n.decode(g.value);p=!0,l.value=v,r[e]=zn(v),Yt(()=>{p=!1})};let p=!1;const h=!!So();if(h&&Yr(()=>{p=!0,f(),c==null||c.close()}),Ml){const g=v=>{const m=v.changed.find(y=>y.name===e),E=v.deleted.find(y=>y.name===e);m&&d({value:m.value}),E&&d({value:null})};Ml.addEventListener("change",g),h&&Yr(()=>Ml.removeEventListener("change",g))}else c&&(c.onmessage=({data:g})=>d(g));n.watch&&St(l,()=>{p||f()},{deep:n.watch!=="shallow"}),s&&f(s)}return l}function Dm(e={}){return i0(document.cookie,e)}function MC(e,t,n={}){return t==null?zu(e,t,{...n,maxAge:-1}):zu(e,t,n)}function FC(e,t,n={}){document.cookie=MC(e,t,n)}const km=2147483647;function UC(e,t,n){let r,o,i=0;const s=n?Fe(e):{value:e};return So()&&Yr(()=>{o==null||o(),clearTimeout(r)}),za((a,l)=>{n&&(o=St(s,l));function u(){i=0,clearTimeout(r);const c=t-i,f=c{if(i+=f,i!1}).value}function jC(e,t){const n=kt(),r=Rn(),i=n.public.IS_DRAFT||r.query.draft||Cc()||a0()?"draft":"published";let s=(t==null?void 0: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==null?void 0:e.resolve_relations)&&{resolve_relations:a(e.resolve_relations)}}}function VC(){const e=kt();return!["production","test"].includes(e.public.STAGE)||void 0||Cc()}function Cc(e){return!!Rn().query._storyblok}function gu(){return window.top!==window.self&&Cc()}const $C=e=>{};function BC(e=oh){return hb(e,{asyncContext:!1})}const HC="__nuxt_plugin";function zC(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[HC]:!0,_name:t})}function GC(e){var n;let t;return ei()&&(t=(n=yt())==null?void 0:n.appContext.app.$nuxt),t||(t=BC(e).tryUse()),t||null}function Oi(e){const t=GC(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function KC(e){return Oi().$config}const qC={trailing:!0};function WC(e,t=25,n={}){if(n={...qC,...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=YC(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 YC(e,t,n){return await e.apply(t,n)}const Mm=()=>{var e;return(e=Oi())==null?void 0:e.$router};const XC=()=>{try{if(Oi()._processingMiddleware)return!0}catch{return!1}return!1},JC=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:"path"in e?QC(e):Mm().resolve(e).href;if(t!=null&&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()}Mn(n,{acceptRelative:!0});{const{protocol:i}=new URL(n,window.location.href);if(i&&ib(i))throw new Error(`Cannot navigate to a URL with '${i}' protocol.`)}const r=XC();Mm();const o=Oi();return o._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,r?o.isHydrating?new Promise(()=>{}):!1:Promise.resolve()};function QC(e){return Ya(e.path||"",e.query||{})+(e.hash||"")}const ZC="$s";function cs(...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=ZC+n,i=Oi(),s=Ga(i.payload.state,o);if(s.value===void 0&&r){const a=r();if(It(a))return i.payload.state[o]=a,a;s.value=a}return s}function eN(e){return{}}const tN={path:"/",watch:!0,decode:e=>Aa(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},Fl=window.cookieStore;function bf(e,t){var u;const n={...tN,...t};n.filter??(n.filter=c=>c===e);const r=Fm(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=zn(i?void 0:r[e]??((u=n.default)==null?void 0:u.call(n))),l=o&&!i?oN(a,o,n.watch&&n.watch!=="shallow"):Fe(a);{let c=null;try{!Fl&&typeof BroadcastChannel<"u"&&(c=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const f=(g=!1)=>{!g&&(n.readonly||s0(l.value,r[e]))||(rN(e,l.value,n),r[e]=zn(l.value),c==null||c.postMessage({value:n.encode(l.value)}))},d=g=>{var m;const v=g.refresh?(m=Fm(n))==null?void 0:m[e]:n.decode(g.value);p=!0,l.value=v,r[e]=zn(v),Yt(()=>{p=!1})};let p=!1;const h=!!So();if(h&&Yr(()=>{p=!0,f(),c==null||c.close()}),Fl){const g=v=>{const m=v.changed.find(y=>y.name===e),E=v.deleted.find(y=>y.name===e);m&&d({value:m.value}),E&&d({value:null})};Fl.addEventListener("change",g),h&&Yr(()=>Fl.removeEventListener("change",g))}else c&&(c.onmessage=({data:g})=>d(g));n.watch&&St(l,()=>{p||f()},{deep:n.watch!=="shallow"}),s&&f(s)}return l}function Fm(e={}){return i0(document.cookie,e)}function nN(e,t,n={}){return t==null?zu(e,t,{...n,maxAge:-1}):zu(e,t,n)}function rN(e,t,n={}){document.cookie=nN(e,t,n)}const Um=2147483647;function oN(e,t,n){let r,o,i=0;const s=n?Fe(e):{value:e};return So()&&Yr(()=>{o==null||o(),clearTimeout(r)}),za((a,l)=>{n&&(o=St(s,l));function u(){i=0,clearTimeout(r);const c=t-i,f=c{if(i+=f,ie.includes(t))}const Vm={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"},aN=async(e,t)=>{let n,r;try{return}catch(o){console.log({error:o}),Oi().$logger.log({title:"Token validation failed",error:o,metadata:{headers:eN()}})}},lN=async e=>{let t,n;const r=([t,n]=qn(()=>ah({path:e.path})),t=await t,n(),t);if(r.redirect)return Mn(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},uN=[Vx,$C,aN,lN],fa={"auth-middleware":()=>ie(()=>import("./lgtksCWn.js"),[],import.meta.url)};function cN(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),$g(c,"")}const a=$g(r,e),l=!n||AR(a,n)?a:n;return l+(l.includes("?")?"":o)+i}const fN=Gt({name:"nuxt:router",enforce:"pre",async setup(e){var v;let t,n,r=kt().app.baseURL;kd&&!r.includes("#")&&(r+="#");const o=((v=Lr.history)==null?void 0:v.call(Lr,r))??(kd?YO(r):kb(r)),i=Lr.routes?([t,n]=qn(()=>Lr.routes(hf)),t=await t,n(),t??hf):hf;let s;const a=_x({...Lr,scrollBehavior:(m,E,y)=>{if(E===ur){s=y;return}if(Lr.scrollBehavior){if(a.options.scrollBehavior=Lr.scrollBehavior,"scrollRestoration"in window.history){const _=a.beforeEach(()=>{_(),window.history.scrollRestoration="manual"})}return Lr.scrollBehavior(m,ur,s||y)}},history:o,routes:i});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const l=An(a.currentRoute.value);a.afterEach((m,E)=>{l.value=E}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const u=cN(r,window.location,e.payload.path),c=An(a.currentRoute.value),f=()=>{c.value=a.currentRoute.value};e.hook("page:finish",f),a.afterEach((m,E)=>{var y,_,T,A;((_=(y=m.matched[0])==null?void 0:y.components)==null?void 0:_.default)===((A=(T=E.matched[0])==null?void 0:T.components)==null?void 0:A.default)&&f()});const d={};for(const m in c.value)Object.defineProperty(d,m,{get:()=>c.value[m],enumerable:!0});e._route=Tr(d),e._middleware||(e._middleware={global:[],named:{}});const p=Ja();a.afterEach(async(m,E,y)=>{delete e._processingMiddleware,!e.isHydrating&&p.value&&await e.runWithContext(II),y&&await e.callHook("page:loading:end")});try{[t,n]=qn(()=>a.isReady()),await t,n()}catch(m){[t,n]=qn(()=>e.runWithContext(()=>gi(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,E)=>{var y;await e.callHook("page:loading:start"),m.meta=sn(m.meta),e.isHydrating&&g&&!Xr(m.meta.layout)&&(m.meta.layout=g),e._processingMiddleware=!0;{const _=new Set([...uN,...e._middleware.global]);for(const T of m.matched){const A=T.meta.middleware;if(A)for(const S of dh(A))_.add(S)}{const T=await e.runWithContext(()=>ah({path:m.path}));if(T.appMiddleware)for(const A in T.appMiddleware)T.appMiddleware[A]?_.add(A):_.delete(A)}for(const T of _){const A=typeof T=="string"?e._middleware.named[T]||await((y=fa[T])==null?void 0:y.call(fa).then(S=>S.default||S)):T;if(!A)throw new Error(`Unknown route middleware: '${T}'.`);try{const S=await e.runWithContext(()=>A(m,E));if(!e.payload.serverRendered&&e.isHydrating&&(S===!1||S instanceof Error)){const D=S||qo({statusCode:404,statusMessage:`Page Not Found: ${u}`});return await e.runWithContext(()=>gi(D)),!1}if(S===!0)continue;if(S===!1)return S;if(S)return Eb(S)&&S.fatal&&await e.runWithContext(()=>gi(S)),S}catch(S){const D=qo(S);return D.fatal&&await e.runWithContext(()=>gi(D)),D}}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),a.afterEach(async(m,E)=>{m.matched.length===0&&await e.runWithContext(()=>gi(qo({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=Lr.scrollBehavior}catch(m){await e.runWithContext(()=>gi(m))}}),{provide:{router:a}}}}),$d=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),dN=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Ns=e=>{const t=Be();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{$d(()=>e())}):$d(()=>e())},pN=Gt({name:"nuxt:payload",setup(e){const t=new Set;$t().beforeResolve(async(n,r)=>{if(n.path===r.path)return;const o=await im(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]}}),Ns(()=>{var n;e.hooks.hook("link:prefetch",async r=>{const{hostname:o}=new URL(r,window.location.href);o===window.location.hostname&&await im(r).catch(()=>{console.warn("[nuxt] Error preloading payload for",r)})}),((n=navigator.connection)==null?void 0:n.effectiveType)!=="slow-2g"&&setTimeout(Oc,1e3)})}}),hN=Gt(()=>{const e=$t();Ns(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),gN=Gt(e=>{let t;async function n(){const r=await Oc();t&&clearTimeout(t),t=setTimeout(n,Wg);try{const o=await $fetch(rh("builds/latest.json")+`?${Date.now()}`);o.id!==r.id&&e.hooks.callHook("app:manifest:update",o)}catch{}}Ns(()=>{t=setTimeout(n,Wg)})});function mN(e={}){const t=e.path||window.location.pathname;let n={};try{n=Aa(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires){r.clear()}),e.hook("app:chunkError",({error:i})=>{r.add(i)});function o(i){const a="href"in i&&i.href[0]==="#"?n.app.baseURL+i.href:gr(n.app.baseURL,i.fullPath);mN({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((i,s)=>{r.has(i)&&o(s)})}});/*! * shared v10.0.7 * (c) 2025 kazuya kawaguchi * Released under the MIT License. */const bs=typeof window<"u",jn=(e,t=!1)=>t?Symbol.for(e):Symbol(e),vN=(e,t,n)=>_N({l:e,k:t,s:n}),_N=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Vt=e=>typeof e=="number"&&isFinite(e),bN=e=>hh(e)==="[object Date]",Es=e=>hh(e)==="[object RegExp]",tl=e=>Qe(e)&&Object.keys(e).length===0,lt=Object.assign,EN=Object.create,Ze=(e=null)=>EN(e);let $m;const nl=()=>$m||($m=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Ze());function Bm(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const TN=Object.prototype.hasOwnProperty;function kn(e,t){return TN.call(e,t)}const wt=Array.isArray,_t=e=>typeof e=="function",ce=e=>typeof e=="string",Et=e=>typeof e=="boolean",Xe=e=>e!==null&&typeof e=="object",wN=e=>Xe(e)&&_t(e.then)&&_t(e.catch),l0=Object.prototype.toString,hh=e=>l0.call(e),Qe=e=>hh(e)==="[object Object]",SN=e=>e==null?"":wt(e)||Qe(e)&&e.toString===l0?JSON.stringify(e,null,2):String(e);function gh(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}function AN(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Ul=e=>!Xe(e)||wt(e);function qr(e,t){if(Ul(e)||Ul(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__"&&(Xe(r[i])&&!Xe(o[i])&&(o[i]=Array.isArray(r[i])?[]:Ze()),Ul(o[i])||Ul(r[i])?o[i]=r[i]:n.push({src:r[i],des:o[i]}))})}}const Wo=["nl","be","nl-formal","be-formal"],Bd={nl:[],be:[],"nl-formal":[],"be-formal":[]},RN=[()=>ie(()=>import("./CoSQGesf.js"),[],import.meta.url),()=>ie(()=>import("./DCIJWao9.js"),[],import.meta.url)],Nc=[{language:"nl",code:"nl"},{language:"be",code:"be"},{language:"nl-formal",code:"nl-formal"},{language:"be-formal",code:"be-formal"}],u0="@nuxtjs/i18n",IN=!1,ON="i18n_redirected",xN="nuxtI18nInternal",Hm="nuxt-i18n-slp",CN=Symbol.for("nuxt:client-only"),jl="
",Ef=new WeakMap;function NN(e){if(Ef.has(e))return Ef.get(e);const t={...e};return t.render?t.render=(n,r,o,i,s,a)=>{var l;if(i.mounted$??n.mounted$){const u=(l=e.render)==null?void 0:l.bind(n)(n,r,o,i,s,a);return u.children===null||typeof u.children=="string"?Wn(u):dt(u)}return mf(n._.vnode.el,jl)}:t.template&&(t.template=` `),t.setup=(n,r)=>{var l;const o=Be(),i=An(o.isHydrating===!1),s=yt();if(o.isHydrating){const u={...s.attrs},c=LN(s);for(const f in u)delete s.attrs[f];an(()=>{Object.assign(s.attrs,u),s.vnode.dirs=c})}an(()=>{i.value=!0});const a=((l=e.setup)==null?void 0:l.call(e,n,r))||{};return Ix(a)?Promise.resolve(a).then(u=>typeof u!="function"?(u||(u={}),u.mounted$=i,u):(...c)=>{if(i.value||!o.isHydrating){const f=u(...c);return f.children===null||typeof f.children=="string"?Wn(f):dt(f)}return mf(s==null?void 0:s.vnode.el,jl)}):typeof a=="function"?(...u)=>{if(i.value){const c=a(...u);return c.children===null||typeof c.children=="string"?Wn(c,r.attrs):dt(c,r.attrs)}return mf(s==null?void 0:s.vnode.el,jl)}:Object.assign(a,{mounted$:i})},Ef.set(e,t),t}function LN(e){if(!e||!e.vnode.dirs)return null;const t=e.vnode.dirs;return e.vnode.dirs=null,t}const PN=e=>e==="defer"||e===!1;function c0(...e){var p;const t=typeof e[e.length-1]=="string"?e.pop():void 0;DN(e[0],e[1])&&e.unshift(t);let[n,r,o={}]=e;const i=te(()=>gt(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=Be();o.server??(o.server=!0),o.default??(o.default=MN),o.getCachedData??(o.getCachedData=d0),o.lazy??(o.lazy=!1),o.immediate??(o.immediate=!0),o.deep??(o.deep=po.deep),o.dedupe??(o.dedupe="cancel"),o._functionName,s._asyncData[i.value];const a={cause:"initial",dedupe:o.dedupe};(p=s._asyncData[i.value])!=null&&p._init||(a.cachedData=o.getCachedData(i.value,s,{cause:"initial"}),s._asyncData[i.value]=zm(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 h=function(y){const _=s._asyncData[y];_!=null&&_._deps&&(_._deps--,_._deps===0&&(_==null||_._off()))};const g=yt();if(g&&c&&o.immediate&&!g.sp&&(g.sp=[]),g&&!g._nuxtOnBeforeMountCbs){g._nuxtOnBeforeMountCbs=[];const y=g._nuxtOnBeforeMountCbs;jp(()=>{y.forEach(_=>{_()}),y.splice(0,y.length)}),Ro(()=>y.splice(0,y.length))}const v=g&&(g._nuxtClientOnly||jt(CN,!1));c&&s.isHydrating&&(l.error.value||l.data.value!=null)?l.status.value=l.error.value?"error":"success":g&&(!v&&s.payload.serverRendered&&s.isHydrating||o.lazy)&&o.immediate?g._nuxtOnBeforeMountCbs.push(u):o.immediate&&u();const m=So();if(o.watch){const y=St(o.watch,()=>{l._execute({cause:"watch",dedupe:o.dedupe})},{flush:"post"});m&&Yr(()=>y())}const E=St(i,(y,_)=>{var S,D;const T=((S=s._asyncData[_])==null?void 0:S.data.value)!==po.value;_&&h(_);const A={cause:"initial",dedupe:o.dedupe};(D=s._asyncData[y])!=null&&D._init||(A.cachedData=o.getCachedData(y,s,{cause:"initial"}),s._asyncData[y]=zm(s,y,r,o,A.cachedData)),s._asyncData[y]._deps++,(o.immediate||T)&&s._asyncData[y].execute(A)},{flush:"sync"});m&&Yr(()=>{E(),h(i.value)})}const f={data:Vl(()=>{var h;return(h=s._asyncData[i.value])==null?void 0:h.data}),pending:Vl(()=>{var h;return(h=s._asyncData[i.value])==null?void 0:h.pending}),status:Vl(()=>{var h;return(h=s._asyncData[i.value])==null?void 0:h.status}),error:Vl(()=>{var h;return(h=s._asyncData[i.value])==null?void 0:h.error}),refresh:(...h)=>s._asyncData[i.value].execute(...h),execute:(...h)=>s._asyncData[i.value].execute(...h),clear:()=>f0(s,i.value)},d=Promise.resolve(s._asyncDataPromises[i.value]).then(()=>f);return Object.assign(d,f),d}function Vl(e){return te({get(){var t;return(t=e())==null?void 0:t.value},set(t){const n=e();n&&(n.value=t)}})}function DN(e,t){return!(typeof e=="string"||typeof e=="object"&&e!==null||typeof e=="function"&&typeof t=="function")}async function OB(e){await new Promise(n=>Ns(n));const t=e?$x(e):void 0;await Be().hooks.callHookParallel("app:data:refresh",t)}function f0(e,t){t in e.payload.data&&(e.payload.data[t]=void 0),t in e.payload._errors&&(e.payload._errors[t]=po.errorValue),e._asyncData[t]&&(e._asyncData[t].data.value=W(e._asyncData[t]._default()),e._asyncData[t].error.value=po.errorValue,e._asyncData[t].status.value="idle"),t in e._asyncDataPromises&&(e._asyncDataPromises[t]&&(e._asyncDataPromises[t].cancelled=!0),e._asyncDataPromises[t]=void 0)}function kN(e,t){const n={};for(const r of t)n[r]=e[r];return n}function zm(e,t,n,r,o){var f;(f=e.payload._errors)[t]??(f[t]=po.errorValue);const i=r.getCachedData!==d0,s=n,a=r.deep?Fe:An,l=o!=null,u=e.hook("app:data:refresh",async d=>{(!d||d.includes(t))&&await c.execute({cause:"refresh:hook"})}),c={data:a(l?o:r.default()),pending:te(()=>c.status.value==="pending"),error:Ga(e.payload._errors,t),status:An("idle"),execute:(d={})=>{if(e._asyncDataPromises[t]){if(PN(d.dedupe??r.dedupe))return e._asyncDataPromises[t];e._asyncDataPromises[t].cancelled=!0}{const h="cachedData"in d?d.cachedData:r.getCachedData(t,e,{cause:d.cause??"refresh:manual"});if(h!=null)return e.payload.data[t]=c.data.value=h,c.error.value=po.errorValue,c.status.value="success",Promise.resolve(h)}c.status.value="pending";const p=new Promise((h,g)=>{try{h(s(e))}catch(v){g(v)}}).then(async h=>{if(p.cancelled)return e._asyncDataPromises[t];let g=h;r.transform&&(g=await r.transform(h)),r.pick&&(g=kN(g,r.pick)),e.payload.data[t]=g,c.data.value=g,c.error.value=po.errorValue,c.status.value="success"}).catch(h=>{if(p.cancelled)return e._asyncDataPromises[t];c.error.value=qo(h),c.data.value=W(r.default()),c.status.value="error"}).finally(()=>{p.cancelled||delete e._asyncDataPromises[t]});return e._asyncDataPromises[t]=p,e._asyncDataPromises[t]},_execute:WC((...d)=>c.execute(...d),0,{leading:!0}),_default:r.default,_deps:0,_init:!0,_hash:void 0,_off:()=>{u(),c._init=!1,i||Yt(()=>{c._init||(f0(e,t),c.execute=()=>Promise.resolve(),c.data.value=po.value)})}};return c}const MN=()=>po.value,d0=(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]},FN="$s";function ct(...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=FN+n,i=Be(),s=Ga(i.payload.state,o);if(s.value===void 0&&r){const a=r();if(It(a))return i.payload.state[o]=a,a;s.value=a}return s}function p0(e,t,n){const[r={},o]=typeof t=="string"?[{},t]:[t,n],i=te(()=>gt(e)),s=te(()=>gt(r.key)||"$f"+Wi([o,typeof i.value=="string"?i.value:"",...UN(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:v,...m}=r,E=sn({...oI,...m,cache:typeof r.cache=="boolean"?void 0:r.cache}),y={server:a,lazy:l,default:u,transform:c,pick:f,immediate:p,getCachedData:h,deep:g,dedupe:v,watch:d===!1?[]:[...d||[],E]};let _;return c0(d===!1?s.value:s,()=>{var M;(M=_==null?void 0:_.abort)==null||M.call(_,new DOMException("Request aborted as another request to the same endpoint was initiated.","AbortError")),_=typeof AbortController<"u"?new AbortController:{};const A=gt(r.timeout);let S;return A&&(S=setTimeout(()=>_.abort(new DOMException("Request aborted due to timeout.","AbortError")),A),_.signal.onabort=()=>clearTimeout(S)),(r.$fetch||globalThis.$fetch)(i.value,{signal:_.signal,...E}).finally(()=>{clearTimeout(S)})},y)}function UN(e){var n;const t=[((n=gt(e.method))==null?void 0:n.toUpperCase())||"GET",gt(e.baseURL)];for(const r of[e.params||e.query]){const o=gt(r);if(!o)continue;const i={};for(const[s,a]of Object.entries(o))i[gt(s)]=gt(a);t.push(i)}if(e.body){const r=gt(e.body);if(!r)t.push(Wi(r));else if(r instanceof ArrayBuffer)t.push(Wi(Object.fromEntries([...new Uint8Array(r).entries()].map(([o,i])=>[o,i.toString()]))));else if(r instanceof FormData){const o={};for(const i of r.entries()){const[s,a]=i;o[s]=a instanceof File?a.name:a}t.push(Wi(o))}else if(Cx(r))t.push(Wi(sn(r)));else try{t.push(Wi(r))}catch{console.warn("[useFetch] Failed to hash body",r)}}return t}function jN(e){if(e!=null&&e.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function h0(e,t=$t()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const o=t._preloadPromises||(t._preloadPromises=[]);if(o.length>4)return Promise.all(o).then(()=>h0(e,t));t._routePreloaded.add(n);const i=r.map(s=>{var a;return(a=s.components)==null?void 0:a.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 wo(e){return new URL(window.location.href)}const VN=(...e)=>e.find(t=>t!==void 0);function $N(e){const t=e.componentName||"NuxtLink";function n(i){return!kd&&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 $l(i,l);const u="path"in i&&i.path!==void 0?i.path:s(i).path;return{...i,name:void 0,path:$l(u,l)}}function o(i){const s=$t(),a=kt(),l=te(()=>!!i.target&&i.target!=="_self"),u=te(()=>{const v=i.to||i.href||"";return typeof v=="string"&&Mn(v,{acceptRelative:!0})}),c=Iu("RouterLink"),f=c&&typeof c!="string"?c.useLink:void 0,d=te(()=>{if(i.external)return!0;const v=i.to||i.href||"";return typeof v=="object"?!1:v===""||u.value}),p=te(()=>{const v=i.to||i.href||"";return d.value?v:r(v,s.resolve,i.trailingSlash)}),h=d.value||f==null?void 0:f({...i,to:p}),g=te(()=>{var m;const v=i.trailingSlash??e.trailingSlash;if(!p.value||u.value||n(p.value))return p.value;if(d.value){const E=typeof p.value=="object"&&"path"in p.value?xd(p.value):p.value,y=typeof E=="object"?s.resolve(E).href:E;return $l(y,v)}return typeof p.value=="object"?((m=s.resolve(p.value))==null?void 0:m.href)??null:$l(gr(a.app.baseURL,p.value),v)});return{to:p,hasTarget:l,isAbsoluteUrl:u,isExternal:d,href:g,isActive:(h==null?void 0:h.isActive)??te(()=>p.value===s.currentRoute.value.path),isExactActive:(h==null?void 0:h.isExactActive)??te(()=>p.value===s.currentRoute.value.path),route:(h==null?void 0:h.route)??te(()=>s.resolve(p.value)),async navigate(v){await Fo(g.value,{replace:i.replace,external:d.value||l.value})}}}return Ce({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=$t(),{to:l,href:u,navigate:c,isExternal:f,hasTarget:d,isAbsoluteUrl:p}=o(i),h=An(!1),g=Fe(null),v=y=>{var _;g.value=i.custom?(_=y==null?void 0:y.$el)==null?void 0:_.nextElementSibling:y==null?void 0:y.$el};function m(y){var _,T;return!h.value&&(typeof i.prefetchOn=="string"?i.prefetchOn===y:((_=i.prefetchOn)==null?void 0:_[y])??((T=e.prefetchOn)==null?void 0:T[y]))&&(i.prefetch??e.prefetch)!==!1&&i.noPrefetch!==!0&&i.target!=="_blank"&&!zN()}async function E(y=Be()){if(h.value)return;h.value=!0;const _=typeof l.value=="string"?l.value:f.value?xd(l.value):a.resolve(l.value).fullPath,T=f.value?new URL(_,window.location.href).href:_;await Promise.all([y.hooks.callHook("link:prefetch",T).catch(()=>{}),!f.value&&!d.value&&h0(l.value,a).catch(()=>{})])}if(m("visibility")){const y=Be();let _,T=null;an(()=>{const A=BN();Ns(()=>{_=$d(()=>{var S;(S=g==null?void 0:g.value)!=null&&S.tagName&&(T=A.observe(g.value,async()=>{T==null||T(),T=null,await E(y)}))})})}),Zo(()=>{_&&dN(_),T==null||T(),T=null})}return()=>{var T;if(!f.value&&!d.value&&!n(l.value)){const A={ref:v,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||(m("interaction")&&(A.onPointerenter=E.bind(null,void 0),A.onFocus=E.bind(null,void 0)),h.value&&(A.class=i.prefetchedClass||e.prefetchedClass),A.rel=i.rel||void 0),dt(Iu("RouterLink"),A,s.default)}const y=i.target||null,_=VN(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:E,get route(){if(!u.value)return;const A=new URL(u.value,window.location.href);return{path:A.pathname,fullPath:A.pathname,get query(){return Rc(A.search)},hash:A.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:u.value}},rel:_,target:y,isExternal:f.value||d.value,isActive:!1,isExactActive:!1}):null:dt("a",{ref:g,href:u.value||null,rel:_,target:y},(T=s.default)==null?void 0:T.call(s))}}})}const Lc=$N(nI);function $l(e,t){const n=t==="append"?Sa:Ri;return Mn(e)&&!e.startsWith("http")?e:n(e,!0)}function BN(){const e=Be();if(e._observer)return e._observer;let t=null;const n=new Map,r=(i,s)=>(t||(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==null||t.unobserve(i),n.size===0&&(t==null||t.disconnect(),t=null)});return e._observer={observe:r}}const HN=/2g/;function zN(){const e=navigator.connection;return!!(e&&(e.saveData||HN.test(e.effectiveType)))}function Pc(e){return ce(e)?e:e!=null?e.toString():"(null)"}function Gm(e,t,n){const{defaultLocale:r,strategy:o,routesNameSeparator:i,defaultLocaleRouteNameSuffix:s,differentDomains:a}=n,l=o!=="no_prefix"||a,u=Pc(e)+(l?i+t:"");return t===r&&o==="prefix_and_default"?u+i+s:u}function GN(e,t){const n=[];for(const[r,o]of t.entries()){const i=e.find(s=>{var a;return((a=s.language)==null?void 0:a.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=>{var l;return((l=a.language)==null?void 0:l.split("-")[0].toLowerCase())===i});if(s){n.push({code:s.code,score:.999-r/t.length});break}}return n}function KN(e,t){return e.score===t.score?t.code.length-e.code.length:t.score-e.score}function qN(e,t){const n=e.map(o=>({code:o.code,language:o.language||o.code})),r=GN(n,t);return r.length===0?"":(r.length>1&&r.sort(KN),r[0].code)}function g0(e){return new RegExp(`^/(${e.join("|")})(?:/|$)`,"i")}const WN=`(${Wo.join("|")})`,Hd=g0(Wo);function YN(){const{routesNameSeparator:e,defaultLocaleRouteNameSuffix:t}=kt().public.i18n,n=`(?:${e}${t})?`,r=new RegExp(`${e}${WN}${n}$`,"i");return o=>{var i,s,a;return ce(o)?((i=o.match(Hd))==null?void 0:i[1])??"":o.name?((s=Pc(o.name).match(r))==null?void 0:s[1])??"":o.path?((a=o.path.match(Hd))==null?void 0:a[1])??"":""}}function XN(e){return e!=null&&"global"in e&&"mode"in e}function JN(e){return e!=null&&!("__composer"in e)&&"locale"in e&&It(e.locale)}function m0(e){return e!=null&&"__composer"in e}function Gu(e){return XN(e)?e.global:e}function ea(e){const t=Gu(e);return JN(t)?t:m0(t)?t.__composer:t}function Dc(){return window.location.host}function QN(e,t,n){var a,l,u;const r=Dc();if(!r)return r;const o=ce(n)?n:n.path,i=e.filter(c=>c.domain?(Mn(c.domain)?c.domain.replace(/(http|https):\/\//,""):c.domain)===r:wt(c==null?void 0:c.domains)?c.domains.includes(r):!1);if(i.length===0)return"";if(i.length===1)return((a=i[0])==null?void 0:a.code)??"";if(t==="no_prefix")return console.warn(_0("Multiple matching domains found! This is not supported for no_prefix strategy in combination with differentDomains!")),((l=i[0])==null?void 0:l.code)??"";if(n&&o){const c=(u=o.match(g0(i.map(f=>f.code))))==null?void 0:u.at(1);if(c){const f=i.find(d=>d.code===c);return(f==null?void 0:f.code)??""}}const s=i.find(c=>{var f;return((f=c.defaultForDomains)==null?void 0:f.includes(r))??c.domainDefault});return(s==null?void 0:s.code)??""}function y0(e){var s,a;Be();const t=Dc(),{domainLocales:n}=kt().public.i18n,r=Nc.find(l=>l.code===e),o=((s=n==null?void 0:n[e])==null?void 0:s.domain)||(r==null?void 0:r.domain)||((a=r==null?void 0:r.domains)==null?void 0:a.find(l=>l===t));if(!o){console.warn(_0("Could not find domain name for locale "+e));return}return Mn(o,{strict:!0})?o:new URL(window.location.origin).protocol+"//"+o}function ZN(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=$t(),a=[o,i].join("");for(const l of s.getRoutes()){const u=Pc(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 eL(e){const{locales:t,defaultLocale:n,multiDomainLocales:r}=e;if(!r)return n||"";const o=Dc();if(t.some(i=>!ce(i)&&i.defaultForDomains!=null)){const i=t.find(s=>{var a;return!ce(s)&&!!((a=s.defaultForDomains)!=null&&a.includes(o))});return(i==null?void 0:i.code)??""}return n||""}const da=new Map;async function tL(e,t){const n={messages:{}};for(const r of e){const{default:o}=await r(),i=_t(o)?await t.runWithContext(()=>o()):o;qr(i,n)}return n}function v0(e,t){if(e===!1)return[];if(wt(e))return e;let n=[];if(ce(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 nL(e,{key:t,load:n},r){let o=null;try{const i=await n().then(s=>"default"in s?s.default:s);_t(i)?o=await r.runWithContext(()=>i(e)):(o=i,o!=null&&da&&da.set(t,o))}catch(i){console.error("Failed locale loading: "+i.message)}return o}async function zd(e,t,n,r){const o=t[e];if(o==null)return;const i={};for(const s of o){let a=null;da&&da.has(s.key)&&s.cache?a=da.get(s.key):a=await r.runWithContext(()=>nL(e,s,r)),a!=null&&qr(a,i)}n(e,i)}function Ts(e,t){const n=W(t),r=Xe(n)?n==null?void 0:n.name:n;if(!(n==null||!r))return Pc(r).split(e.runtimeConfig.public.i18n.routesNameSeparator)[0]}function mh(e,t,n){var o;if(ce(t)&&Mn(t,{acceptRelative:!0}))return t;const r=yh(e,t,n);return r==null?"":((o=r.redirectedFrom)==null?void 0:o.fullPath)||r.fullPath}function kc(e,t,n){return yh(e,t,n)??void 0}function rL(e){if(!ce(e))return lt({},e);if(e[0]==="/"){const{pathname:t,search:n,hash:r}=wd(e);return{path:t,query:Rc(n),hash:r}}return{name:e}}const oL=e=>!!e.path&&!e.name;function iL(e,t,n){const r=e.runtimeConfig.public.i18n;if(oL(t)){const i=aL(e,t,n),s=Ts(e,i);return s?(i.name=Gm(s,n,r),i):(!r.differentDomains&&cL(n,r.defaultLocale,r.strategy)&&(t.path="/"+n+t.path),t.path=(r.trailingSlash?Sa:Ri)(t.path,!0),t)}t.name||(t.name=Ts(e,e.router.currentRoute.value));const o=Gm(t.name,n,r);return e.router.hasRoute(o)&&(t.name=o),t}function yh(e,t,n){try{const r=n||W(Gu(e.i18n).locale),o=rL(t),i=e.router.resolve(iL(e,o,r));return i.name?i:e.router.resolve(t)}catch(r){if(Mr(r,1))return null}}function sL(e,t){var r;if(e.runtimeConfig.public.i18n.experimental.switchLocalePathLinkSSR)return W(e.metaState.value);const n=t.meta||{};return((r=W(n))==null?void 0:r[xN])||{}}function vh(e,t,n){const r=n??e.router.currentRoute.value,o=Ts(e,r);if(!o)return"";const i=sL(e,r)[t],s={name:o,params:lt({},r.params,i),fullPath:r.fullPath,query:r.query,hash:r.hash,path:r.path,meta:r.meta},a=mh(e,s,t);if(e.runtimeConfig.public.i18n.differentDomains){const l=y0(t);return l&&gr(l,a)||a}return a}function aL(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(lt({},t,i,{path:o}))}function _0(e){return`[${u0}]: ${e}`}function b0(e){return{i18n:e??Be().$i18n,router:$t(),runtimeConfig:kt(),metaState:ct("nuxt-i18n-meta",()=>({}))}}async function E0(e,t=!1){const n=Be(),{differentDomains:r,skipSettingLocaleOnNavigate:o}=n.$config.public.i18n,i=rl(),s=W(n.$i18n.locale),a=W(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=W(n.$i18n.fallbackLocale),f=n.$i18n.mergeLocaleMessage.bind(n.$i18n);if(c){const d=v0(c,[e]);await Promise.all(d.map(p=>zd(p,Bd,f,n)))}return await zd(e,Bd,f,n),o?!1:(l(e),n._vueI18n.__setLocale(e),await n.$i18n.onLanguageSwitched(s,e),!0)}function lL(e,t,n,r){const o=Be(),{strategy:i,defaultLocale:s,differentDomains:a,multiDomainLocales:l}=o.$config.public.i18n,u=rl(),c=mL(e,r,n);if(c.locale&&c.from!=null&&Wo.includes(c.locale))return c.locale;let f="";a||l?f||(f=QN(Nc,i,e)):i!=="no_prefix"&&(f||(f=t));const d=(Wo.includes(c.locale)||r&&Wo.includes(r))&&u&&u.useCookie&&r;return f||(f=d||n||s||""),f}function T0({to:e,from:t,locale:n,routeLocale:r},o=!1){if(r===n||Be().$i18n.strategy==="no_prefix")return"";const i=b0();let s=vh(i,n,e);return o&&!s&&(s=mh(i,e.fullPath,n)),Bg(s,e.fullPath)||t&&Bg(s,t.fullPath)?"":s}const uL=()=>ct(u0+":redirect",()=>"");async function w0({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 ce(i)?r="/"+i:(r="/"+i.path,i.statusCode),r=e.$localePath(r,t),Fo(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=Dc(),d=u.find(h=>{var g;if(!ce(h))return(g=h.defaultForDomains)==null?void 0:g.find(v=>v===f)}),p=ce(d)||d==null?void 0:d.code;if(n.path.startsWith(`/${p}`))return Fo(n.path.replace(`/${p}`,""));if(!n.path.startsWith(`/${t}`)&&t!==p){const h=e._vueI18n.__localeFromRoute(n.path);return Fo(h!==""?`/${t+n.path.replace(`/${h}`,"")}`:`/${t+(n.path==="/"?"":n.path)}`)}return r&&n.path!==r?Fo(r):void 0}if(s){const f=uL();f.value&&f.value!==r&&(f.value="",window.location.assign(r))}else if(r)return Fo(r)}}function cL(e,t,n){return n!=="no_prefix"&&!(e===t&&(n==="prefix_and_default"||n==="prefix_except_default"))}function fL(e){const{baseUrl:t,defaultLocale:n,differentDomains:r}=e.$config.public.i18n;if(_t(t))return()=>t(e);const o=_t(n)?n():n;return()=>{if(r&&o){const i=y0(o);if(i)return i}return t??""}}function dL(e){return wt(e)?e:[e]}function xi(e,t=b0()){return(...n)=>e(t,...n)}function pL(){const e=navigator.languages;return qN(Nc,e)||void 0}function hL(){const e=rl(),t=e&&e.cookieKey||ON,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 el(t,r)}function gL(e,t,n){if(t===!1||!t.useCookie)return;const r=e.value??void 0;if(r!=null){if(Wo.includes(r))return r;if(n)return e.value=n,n;e.value=void 0}}function mL(e,t,n=""){const r=rl();if(!r)return{locale:"",error:"disabled"};const o=Be(),i=o.$i18n.strategy;if(!o._vueI18n.__firstAccess)return{locale:i==="no_prefix"?n:"",error:"first_access_only"};if(i!=="no_prefix"){const u=ce(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(Hd))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 rl(e=kt().public.i18n){return(e==null?void 0:e.detectBrowserLanguage)===!1?!1:e==null?void 0:e.detectBrowserLanguage}function yL(e){const t=Be(),n=W(t.$i18n.locale),r=W(t.$i18n.locales).map(a=>ce(a)?{code:a}:a),o=r.find(a=>a.code===n)||{code:n},i=gr(W(ea(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 vL(e,{dir:t=!0,lang:n=!0,seo:r=!0,key:o="hid"}){return _L(e,{dir:t,lang:n,seo:r,key:o})}function _L(e,t){const n={htmlAttrs:{},link:[],meta:[]},r=yL(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(bL(e,r),EL(e,r)),n.meta=n.meta.concat(TL(e,r),wL(r),SL(r)))),n}function bL(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=vh(e,c.code,l);if(!f)continue;const d=o&&c.domain?f:gr(t.baseUrl,f),p=Ya(d,a?A0(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 S0(e,t){const n=e.router.currentRoute.value,r=kc(e,lt({},n,{path:void 0,name:Ts(e,n)}));return r?Ya(gr(t.baseUrl,r.path),A0(e,t)):""}function EL(e,t){const n=S0(e,t);return n?[{[t.key]:"i18n-can",rel:"canonical",href:n}]:[]}function A0(e,t){var a;const n=e.router.currentRoute.value,r=kc(e,lt({},n,{path:void 0,name:Ts(e,n)})),o=Xe(t.seo)&&((a=t.seo)==null?void 0:a.canonicalQueries)||[],i=(r==null?void 0:r.query)||{},s={};for(const l of o.filter(u=>u in i)){s[l]??(s[l]=[]);for(const u of dL(i[l]))s[l].push(u||"")}return s}function TL(e,t){const n=S0(e,t);return n?[{[t.key]:"i18n-og-url",property:"og:url",content:n}]:[]}function wL(e){return e.currentLanguage?[{[e.key]:"i18n-og",property:"og:locale",content:R0(e.currentLanguage)}]:[]}function SL(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:R0(n.language)}))}function R0(e=""){return e.replace(/-/g,"_")}/*! * message-compiler v11.1.3 * (c) 2025 kazuya kawaguchi * Released under the MIT License. */function AL(e,t,n){return{line:e,column:t,offset:n}}function Gd(e,t,n){return{start:e,end:t}}const Rt={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},RL=17;function ol(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 IL(e){throw e}const io=" ",OL="\r",Ln=` `,xL="\u2028",CL="\u2029";function NL(e){const t=e;let n=0,r=1,o=1,i=0;const s=S=>t[S]===OL&&t[S+1]===Ln,a=S=>t[S]===Ln,l=S=>t[S]===CL,u=S=>t[S]===xL,c=S=>s(S)||a(S)||l(S)||u(S),f=()=>n,d=()=>r,p=()=>o,h=()=>i,g=S=>s(S)||l(S)||u(S)?Ln:t[S],v=()=>g(n),m=()=>g(n+i);function E(){return i=0,c(n)&&(r++,o=0),s(n)&&n++,n++,o++,t[n]}function y(){return s(n+i)&&i++,i++,t[n+i]}function _(){n=0,r=1,o=1,i=0}function T(S=0){i=S}function A(){const S=n+i;for(;S!==n;)E();i=0}return{index:f,line:d,column:p,peekOffset:h,charAt:g,currentChar:v,currentPeek:m,next:E,peek:y,reset:_,resetPeek:T,skipToPeek:A}}const xo=void 0,LL=".",Km="'",PL="tokenizer";function DL(e,t={}){const n=t.location!==!1,r=NL(e),o=()=>r.index(),i=()=>AL(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(O,N,U,...K){const ee=u();if(N.column+=U,N.offset+=U,c){const Q=n?Gd(ee.startLoc,N):null,I=ol(O,Q,{domain:PL,args:K});c(I)}}function d(O,N,U){O.endLoc=i(),O.currentType=N;const K={type:N};return n&&(K.loc=Gd(O.startLoc,O.endLoc)),U!=null&&(K.value=U),K}const p=O=>d(O,13);function h(O,N){return O.currentChar()===N?(O.next(),N):(f(Rt.EXPECTED_TOKEN,i(),0,N),"")}function g(O){let N="";for(;O.currentPeek()===io||O.currentPeek()===Ln;)N+=O.currentPeek(),O.peek();return N}function v(O){const N=g(O);return O.skipToPeek(),N}function m(O){if(O===xo)return!1;const N=O.charCodeAt(0);return N>=97&&N<=122||N>=65&&N<=90||N===95}function E(O){if(O===xo)return!1;const N=O.charCodeAt(0);return N>=48&&N<=57}function y(O,N){const{currentType:U}=N;if(U!==2)return!1;g(O);const K=m(O.currentPeek());return O.resetPeek(),K}function _(O,N){const{currentType:U}=N;if(U!==2)return!1;g(O);const K=O.currentPeek()==="-"?O.peek():O.currentPeek(),ee=E(K);return O.resetPeek(),ee}function T(O,N){const{currentType:U}=N;if(U!==2)return!1;g(O);const K=O.currentPeek()===Km;return O.resetPeek(),K}function A(O,N){const{currentType:U}=N;if(U!==7)return!1;g(O);const K=O.currentPeek()===".";return O.resetPeek(),K}function S(O,N){const{currentType:U}=N;if(U!==8)return!1;g(O);const K=m(O.currentPeek());return O.resetPeek(),K}function D(O,N){const{currentType:U}=N;if(!(U===7||U===11))return!1;g(O);const K=O.currentPeek()===":";return O.resetPeek(),K}function M(O,N){const{currentType:U}=N;if(U!==9)return!1;const K=()=>{const Q=O.currentPeek();return Q==="{"?m(O.peek()):Q==="@"||Q==="|"||Q===":"||Q==="."||Q===io||!Q?!1:Q===Ln?(O.peek(),K()):B(O,!1)},ee=K();return O.resetPeek(),ee}function j(O){g(O);const N=O.currentPeek()==="|";return O.resetPeek(),N}function B(O,N=!0){const U=(ee=!1,Q="")=>{const I=O.currentPeek();return I==="{"||I==="@"||!I?ee:I==="|"?!(Q===io||Q===Ln):I===io?(O.peek(),U(!0,io)):I===Ln?(O.peek(),U(!0,Ln)):!0},K=U();return N&&O.resetPeek(),K}function H(O,N){const U=O.currentChar();return U===xo?xo:N(U)?(O.next(),U):null}function le(O){const N=O.charCodeAt(0);return N>=97&&N<=122||N>=65&&N<=90||N>=48&&N<=57||N===95||N===36}function Te(O){return H(O,le)}function ke(O){const N=O.charCodeAt(0);return N>=97&&N<=122||N>=65&&N<=90||N>=48&&N<=57||N===95||N===36||N===45}function pe(O){return H(O,ke)}function ge(O){const N=O.charCodeAt(0);return N>=48&&N<=57}function re(O){return H(O,ge)}function _e(O){const N=O.charCodeAt(0);return N>=48&&N<=57||N>=65&&N<=70||N>=97&&N<=102}function tt(O){return H(O,_e)}function Ae(O){let N="",U="";for(;N=re(O);)U+=N;return U}function Ke(O){let N="";for(;;){const U=O.currentChar();if(U==="{"||U==="}"||U==="@"||U==="|"||!U)break;if(U===io||U===Ln)if(B(O))N+=U,O.next();else{if(j(O))break;N+=U,O.next()}else N+=U,O.next()}return N}function He(O){v(O);let N="",U="";for(;N=pe(O);)U+=N;return O.currentChar()===xo&&f(Rt.UNTERMINATED_CLOSING_BRACE,i(),0),U}function it(O){v(O);let N="";return O.currentChar()==="-"?(O.next(),N+=`-${Ae(O)}`):N+=Ae(O),O.currentChar()===xo&&f(Rt.UNTERMINATED_CLOSING_BRACE,i(),0),N}function qe(O){return O!==Km&&O!==Ln}function ot(O){v(O),h(O,"'");let N="",U="";for(;N=H(O,qe);)N==="\\"?U+=J(O):U+=N;const K=O.currentChar();return K===Ln||K===xo?(f(Rt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),K===Ln&&(O.next(),h(O,"'")),U):(h(O,"'"),U)}function J(O){const N=O.currentChar();switch(N){case"\\":case"'":return O.next(),`\\${N}`;case"u":return se(O,N,4);case"U":return se(O,N,6);default:return f(Rt.UNKNOWN_ESCAPE_SEQUENCE,i(),0,N),""}}function se(O,N,U){h(O,N);let K="";for(let ee=0;ee{const K=O.currentChar();return K==="{"||K==="@"||K==="|"||K==="("||K===")"||!K||K===io?U:(U+=K,O.next(),N(U))};return N("")}function C(O){v(O);const N=h(O,"|");return v(O),N}function L(O,N){let U=null;switch(O.currentChar()){case"{":return N.braceNest>=1&&f(Rt.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),O.next(),U=d(N,2,"{"),v(O),N.braceNest++,U;case"}":return N.braceNest>0&&N.currentType===2&&f(Rt.EMPTY_PLACEHOLDER,i(),0),O.next(),U=d(N,3,"}"),N.braceNest--,N.braceNest>0&&v(O),N.inLinked&&N.braceNest===0&&(N.inLinked=!1),U;case"@":return N.braceNest>0&&f(Rt.UNTERMINATED_CLOSING_BRACE,i(),0),U=V(O,N)||p(N),N.braceNest=0,U;default:{let ee=!0,Q=!0,I=!0;if(j(O))return N.braceNest>0&&f(Rt.UNTERMINATED_CLOSING_BRACE,i(),0),U=d(N,1,C(O)),N.braceNest=0,N.inLinked=!1,U;if(N.braceNest>0&&(N.currentType===4||N.currentType===5||N.currentType===6))return f(Rt.UNTERMINATED_CLOSING_BRACE,i(),0),N.braceNest=0,ne(O,N);if(ee=y(O,N))return U=d(N,4,He(O)),v(O),U;if(Q=_(O,N))return U=d(N,5,it(O)),v(O),U;if(I=T(O,N))return U=d(N,6,ot(O)),v(O),U;if(!ee&&!Q&&!I)return U=d(N,12,ve(O)),f(Rt.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,U.value),v(O),U;break}}return U}function V(O,N){const{currentType:U}=N;let K=null;const ee=O.currentChar();switch((U===7||U===8||U===11||U===9)&&(ee===Ln||ee===io)&&f(Rt.INVALID_LINKED_FORMAT,i(),0),ee){case"@":return O.next(),K=d(N,7,"@"),N.inLinked=!0,K;case".":return v(O),O.next(),d(N,8,".");case":":return v(O),O.next(),d(N,9,":");default:return j(O)?(K=d(N,1,C(O)),N.braceNest=0,N.inLinked=!1,K):A(O,N)||D(O,N)?(v(O),V(O,N)):S(O,N)?(v(O),d(N,11,We(O))):M(O,N)?(v(O),ee==="{"?L(O,N)||K:d(N,10,ze(O))):(U===7&&f(Rt.INVALID_LINKED_FORMAT,i(),0),N.braceNest=0,N.inLinked=!1,ne(O,N))}}function ne(O,N){let U={type:13};if(N.braceNest>0)return L(O,N)||p(N);if(N.inLinked)return V(O,N)||p(N);switch(O.currentChar()){case"{":return L(O,N)||p(N);case"}":return f(Rt.UNBALANCED_CLOSING_BRACE,i(),0),O.next(),d(N,3,"}");case"@":return V(O,N)||p(N);default:{if(j(O))return U=d(N,1,C(O)),N.braceNest=0,N.inLinked=!1,U;if(B(O))return d(N,0,Ke(O));break}}return U}function X(){const{currentType:O,offset:N,startLoc:U,endLoc:K}=l;return l.lastType=O,l.lastOffset=N,l.lastStartLoc=U,l.lastEndLoc=K,l.offset=o(),l.startLoc=i(),r.currentChar()===xo?d(l,13):ne(r,l)}return{nextToken:X,currentOffset:o,currentPosition:i,context:u}}const kL="parser",ML=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function FL(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 UL(e={}){const t=e.location!==!1,{onError:n}=e;function r(m,E,y,_,...T){const A=m.currentPosition();if(A.offset+=_,A.column+=_,n){const S=t?Gd(y,A):null,D=ol(E,S,{domain:kL,args:T});n(D)}}function o(m,E,y){const _={type:m};return t&&(_.start=E,_.end=E,_.loc={start:y,end:y}),_}function i(m,E,y,_){t&&(m.end=E,m.loc&&(m.loc.end=y))}function s(m,E){const y=m.context(),_=o(3,y.offset,y.startLoc);return _.value=E,i(_,m.currentOffset(),m.currentPosition()),_}function a(m,E){const y=m.context(),{lastOffset:_,lastStartLoc:T}=y,A=o(5,_,T);return A.index=parseInt(E,10),m.nextToken(),i(A,m.currentOffset(),m.currentPosition()),A}function l(m,E){const y=m.context(),{lastOffset:_,lastStartLoc:T}=y,A=o(4,_,T);return A.key=E,m.nextToken(),i(A,m.currentOffset(),m.currentPosition()),A}function u(m,E){const y=m.context(),{lastOffset:_,lastStartLoc:T}=y,A=o(9,_,T);return A.value=E.replace(ML,FL),m.nextToken(),i(A,m.currentOffset(),m.currentPosition()),A}function c(m){const E=m.nextToken(),y=m.context(),{lastOffset:_,lastStartLoc:T}=y,A=o(8,_,T);return E.type!==11?(r(m,Rt.UNEXPECTED_EMPTY_LINKED_MODIFIER,y.lastStartLoc,0),A.value="",i(A,_,T),{nextConsumeToken:E,node:A}):(E.value==null&&r(m,Rt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Pr(E)),A.value=E.value||"",i(A,m.currentOffset(),m.currentPosition()),{node:A})}function f(m,E){const y=m.context(),_=o(7,y.offset,y.startLoc);return _.value=E,i(_,m.currentOffset(),m.currentPosition()),_}function d(m){const E=m.context(),y=o(6,E.offset,E.startLoc);let _=m.nextToken();if(_.type===8){const T=c(m);y.modifier=T.node,_=T.nextConsumeToken||m.nextToken()}switch(_.type!==9&&r(m,Rt.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Pr(_)),_=m.nextToken(),_.type===2&&(_=m.nextToken()),_.type){case 10:_.value==null&&r(m,Rt.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Pr(_)),y.key=f(m,_.value||"");break;case 4:_.value==null&&r(m,Rt.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Pr(_)),y.key=l(m,_.value||"");break;case 5:_.value==null&&r(m,Rt.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Pr(_)),y.key=a(m,_.value||"");break;case 6:_.value==null&&r(m,Rt.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Pr(_)),y.key=u(m,_.value||"");break;default:{r(m,Rt.UNEXPECTED_EMPTY_LINKED_KEY,E.lastStartLoc,0);const T=m.context(),A=o(7,T.offset,T.startLoc);return A.value="",i(A,T.offset,T.startLoc),y.key=A,i(y,T.offset,T.startLoc),{nextConsumeToken:_,node:y}}}return i(y,m.currentOffset(),m.currentPosition()),{node:y}}function p(m){const E=m.context(),y=E.currentType===1?m.currentOffset():E.offset,_=E.currentType===1?E.endLoc:E.startLoc,T=o(2,y,_);T.items=[];let A=null;do{const M=A||m.nextToken();switch(A=null,M.type){case 0:M.value==null&&r(m,Rt.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Pr(M)),T.items.push(s(m,M.value||""));break;case 5:M.value==null&&r(m,Rt.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Pr(M)),T.items.push(a(m,M.value||""));break;case 4:M.value==null&&r(m,Rt.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Pr(M)),T.items.push(l(m,M.value||""));break;case 6:M.value==null&&r(m,Rt.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Pr(M)),T.items.push(u(m,M.value||""));break;case 7:{const j=d(m);T.items.push(j.node),A=j.nextConsumeToken||null;break}}}while(E.currentType!==13&&E.currentType!==1);const S=E.currentType===1?E.lastOffset:m.currentOffset(),D=E.currentType===1?E.lastEndLoc:m.currentPosition();return i(T,S,D),T}function h(m,E,y,_){const T=m.context();let A=_.items.length===0;const S=o(1,E,y);S.cases=[],S.cases.push(_);do{const D=p(m);A||(A=D.items.length===0),S.cases.push(D)}while(T.currentType!==13);return A&&r(m,Rt.MUST_HAVE_MESSAGES_IN_PLURAL,y,0),i(S,m.currentOffset(),m.currentPosition()),S}function g(m){const E=m.context(),{offset:y,startLoc:_}=E,T=p(m);return E.currentType===13?T:h(m,y,_,T)}function v(m){const E=DL(m,lt({},e)),y=E.context(),_=o(0,y.offset,y.startLoc);return t&&_.loc&&(_.loc.source=m),_.body=g(E),e.onCacheKey&&(_.cacheKey=e.onCacheKey(m)),y.currentType!==13&&r(E,Rt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,m[y.offset]||""),i(_,E.currentOffset(),E.currentPosition()),_}return{parse:v}}function Pr(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 jL(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function qm(e,t){for(let n=0;nWm(n)),e}function Wm(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,v){s.code+=g}function u(g,v=!0){const m=v?r:"";l(o?m+" ".repeat(g):m)}function c(g=!0){const v=++s.indentLevel;g&&u(v)}function f(g=!0){const v=--s.indentLevel;g&&u(v)}function d(){u(s.indentLevel)}return{context:a,push:l,indent:c,deindent:f,newline:d,helper:g=>`_${g}`,needIndent:()=>s.needIndent}}function HL(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),ws(e,t.key),t.modifier?(e.push(", "),ws(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function zL(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=ce(t.mode)?t.mode:"normal",r=ce(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=BL(e,{filename:r,breakLineCode:o,needIndent:i});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(i),s.length>0&&(a.push(`const { ${gh(s.map(c=>`${c}: _${c}`),", ")} } = ctx`),a.newline()),a.push("return "),ws(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 WL(e,t={}){const n=lt({},t),r=!!n.jit,o=!!n.minify,i=n.optimize==null?!0:n.optimize,a=UL(n).parse(e);return r?(i&&$L(a),o&&Yi(a),{ast:a,code:""}):(VL(a,n),qL(a,n))}/*! * core-base v10.0.7 * (c) 2025 kazuya kawaguchi * Released under the MIT License. */function YL(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(nl().__INTLIFY_PROD_DEVTOOLS__=!1)}function Yn(e){return Xe(e)&&bh(e)===0&&(kn(e,"b")||kn(e,"body"))}const I0=["b","body"];function XL(e){return ti(e,I0)}const O0=["c","cases"];function JL(e){return ti(e,O0,[])}const x0=["s","static"];function QL(e){return ti(e,x0)}const C0=["i","items"];function ZL(e){return ti(e,C0,[])}const N0=["t","type"];function bh(e){return ti(e,N0)}const L0=["v","value"];function Bl(e,t){const n=ti(e,L0);if(n!=null)return n;throw Oa(t)}const P0=["m","modifier"];function eP(e){return ti(e,P0)}const D0=["k","key"];function tP(e){const t=ti(e,D0);if(t)return t;throw Oa(6)}function ti(e,t,n){for(let r=0;rnP(n,e)}function nP(e,t){const n=XL(t);if(n==null)throw Oa(0);if(bh(n)===1){const i=JL(n);return e.plural(i.reduce((s,a)=>[...s,Ym(e,a)],[]))}else return Ym(e,n)}function Ym(e,t){const n=QL(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=ZL(t).reduce((o,i)=>[...o,Kd(e,i)],[]);return e.normalize(r)}}function Kd(e,t){const n=bh(t);switch(n){case 3:return Bl(t,n);case 9:return Bl(t,n);case 4:{const r=t;if(kn(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(kn(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw Oa(n)}case 5:{const r=t;if(kn(r,"i")&&Vt(r.i))return e.interpolate(e.list(r.i));if(kn(r,"index")&&Vt(r.index))return e.interpolate(e.list(r.index));throw Oa(n)}case 6:{const r=t,o=eP(r),i=tP(r);return e.linked(Kd(e,i),o?Kd(e,o):void 0,e.type)}case 7:return Bl(t,n);case 8:return Bl(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const rP=e=>e;let Hl=Ze();function oP(e,t={}){let n=!1;const r=t.onError||IL;return t.onError=o=>{n=!0,r(o)},{...WL(e,t),detectError:n}}function k0(e,t){if(ce(e)){Et(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||rP)(e),o=Hl[r];if(o)return o;const{ast:i,detectError:s}=oP(e,{...t,location:!1,jit:!0}),a=Tf(i);return s?a:Hl[r]=a}else{const n=e.cacheKey;if(n){const r=Hl[n];return r||(Hl[n]=Tf(e))}else return Tf(e)}}let xa=null;function M0(e){xa=e}function iP(e,t,n){xa&&xa.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const sP=aP("function:translate");function aP(e){return t=>xa&&xa.emit(e,t)}const go={INVALID_ARGUMENT:RL,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},F0=24;function mo(e){return ol(e,null,void 0)}function Th(e,t){return t.locale!=null?Xm(t.locale):Xm(e.locale)}let wf;function Xm(e){if(ce(e))return e;if(_t(e)){if(e.resolvedOnce&&wf!=null)return wf;if(e.constructor.name==="Function"){const t=e();if(wN(t))throw mo(go.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return wf=t}else throw mo(go.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw mo(go.NOT_SUPPORT_LOCALE_TYPE)}function lP(e,t,n){return[...new Set([n,...wt(t)?t:Xe(t)?Object.keys(t):ce(t)?[t]:[n]])]}function Mc(e,t,n){const r=ce(n)?n:Ca,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let i=o.__localeChainCache.get(r);if(!i){i=[];let s=[n];for(;wt(s);)s=Jm(i,s,t);const a=wt(t)||!Qe(t)?t:t.default?t.default:null;s=ce(a)?[a]:a,wt(s)&&Jm(i,s,!1),o.__localeChainCache.set(r,i)}return i}function Jm(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=gP(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=hP(i),f=ni[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 Qm=new Map;function yP(e,t){return Xe(e)?e[t]:null}function U0(e,t){if(!Xe(e))return null;let n=Qm.get(t);if(n||(n=mP(t),n&&Qm.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 _P(){return{upper:(e,t)=>t==="text"&&ce(e)?e.toUpperCase():t==="vnode"&&Xe(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&ce(e)?e.toLowerCase():t==="vnode"&&Xe(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&ce(e)?Zm(e):t==="vnode"&&Xe(e)&&"__v_isVNode"in e?Zm(e.children):e}}let j0;function V0(e){j0=e}let $0;function B0(e){$0=e}let H0;function z0(e){H0=e}let G0=null;const K0=e=>{G0=e},bP=()=>G0;let q0=null;const qu=e=>{q0=e},W0=()=>q0;let ey=0;function Y0(e={}){const t=_t(e.onWarn)?e.onWarn:AN,n=ce(e.version)?e.version:vP,r=ce(e.locale)||_t(e.locale)?e.locale:Ca,o=_t(r)?Ca:r,i=wt(e.fallbackLocale)||Qe(e.fallbackLocale)||ce(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,s=Qe(e.messages)?e.messages:Sf(o),a=Qe(e.datetimeFormats)?e.datetimeFormats:Sf(o),l=Qe(e.numberFormats)?e.numberFormats:Sf(o),u=lt(Ze(),e.modifiers,_P()),c=e.pluralRules||Ze(),f=_t(e.missing)?e.missing:null,d=Et(e.missingWarn)||Es(e.missingWarn)?e.missingWarn:!0,p=Et(e.fallbackWarn)||Es(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,g=!!e.unresolving,v=_t(e.postTranslation)?e.postTranslation:null,m=Qe(e.processor)?e.processor:null,E=Et(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,_=_t(e.messageCompiler)?e.messageCompiler:j0,T=_t(e.messageResolver)?e.messageResolver:$0||yP,A=_t(e.localeFallbacker)?e.localeFallbacker:H0||lP,S=Xe(e.fallbackContext)?e.fallbackContext:void 0,D=e,M=Xe(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,j=Xe(D.__numberFormatters)?D.__numberFormatters:new Map,B=Xe(D.__meta)?D.__meta:{};ey++;const H={version:n,cid:ey,locale:r,fallbackLocale:i,messages:s,modifiers:u,pluralRules:c,missing:f,missingWarn:d,fallbackWarn:p,fallbackFormat:h,unresolving:g,postTranslation:v,processor:m,warnHtmlMessage:E,escapeParameter:y,messageCompiler:_,messageResolver:T,localeFallbacker:A,fallbackContext:S,onWarn:t,__meta:B};return H.datetimeFormats=a,H.numberFormats=l,H.__datetimeFormatters=M,H.__numberFormatters=j,__INTLIFY_PROD_DEVTOOLS__&&iP(H,n,B),H}const Sf=e=>({[e]:Ze()});function wh(e,t,n,r,o){const{missing:i,onWarn:s}=e;if(i!==null){const a=i(e,n,t,o);return ce(a)?a:t}else return t}function $r(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function EP(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function TP(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r{Sh.includes(l)?s[l]=n[l]:i[l]=n[l]}),ce(r)?i.locale=r:Qe(r)&&(s=r),Qe(o)&&(s=o),[i.key||"",a,i,s]}function Yu(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]=La(...t),d=Et(c.missingWarn)?c.missingWarn:e.missingWarn;Et(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const p=!!c.part,h=Th(e,c),g=s(e,o,h);if(!ce(l)||l==="")return new Intl.NumberFormat(h,f).format(u);let v={},m,E=null;const y="number format";for(let A=0;A{Ah.includes(l)?s[l]=n[l]:i[l]=n[l]}),ce(r)?i.locale=r:Qe(r)&&(s=r),Qe(o)&&(s=o),[i.key||"",a,i,s]}function Ju(e,t,n){const r=e;for(const o in n){const i=`${t}__${o}`;r.__numberFormatters.has(i)&&r.__numberFormatters.delete(i)}}const wP=e=>e,SP=e=>"",AP="text",RP=e=>e.length===0?"":gh(e),IP=SN;function ty(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function OP(e){const t=Vt(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Vt(e.named.count)||Vt(e.named.n))?Vt(e.named.count)?e.named.count:Vt(e.named.n)?e.named.n:t:t}function xP(e,t){t.count||(t.count=e),t.n||(t.n=e)}function CP(e={}){const t=e.locale,n=OP(e),r=Xe(e.pluralRules)&&ce(t)&&_t(e.pluralRules[t])?e.pluralRules[t]:ty,o=Xe(e.pluralRules)&&ce(t)&&_t(e.pluralRules[t])?ty:void 0,i=m=>m[r(n,m.length,o)],s=e.list||[],a=m=>s[m],l=e.named||Ze();Vt(e.pluralIndex)&&xP(n,l);const u=m=>l[m];function c(m,E){const y=_t(e.messages)?e.messages(m,!!E):Xe(e.messages)?e.messages[m]:!1;return y||(e.parent?e.parent.message(m):SP)}const f=m=>e.modifiers?e.modifiers[m]:wP,d=Qe(e.processor)&&_t(e.processor.normalize)?e.processor.normalize:RP,p=Qe(e.processor)&&_t(e.processor.interpolate)?e.processor.interpolate:IP,h=Qe(e.processor)&&ce(e.processor.type)?e.processor.type:AP,v={list:a,named:u,plural:i,linked:(m,...E)=>{const[y,_]=E;let T="text",A="";E.length===1?Xe(y)?(A=y.modifier||A,T=y.type||T):ce(y)&&(A=y||A):E.length===2&&(ce(y)&&(A=y||A),ce(_)&&(T=_||T));const S=c(m,!0)(v),D=T==="vnode"&&wt(S)&&A?S[0]:S;return A?f(A)(D,T):D},message:c,type:h,interpolate:p,normalize:d,values:lt(Ze(),s,l)};return v}const ny=()=>"",Zn=e=>_t(e);function Qu(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:i,fallbackLocale:s,messages:a}=e,[l,u]=Pa(...t),c=Et(u.missingWarn)?u.missingWarn:e.missingWarn,f=Et(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,d=Et(u.escapeParameter)?u.escapeParameter:e.escapeParameter,p=!!u.resolvedMessage,h=ce(u.default)||Et(u.default)?Et(u.default)?i?l:()=>l:u.default:n?i?l:()=>l:null,g=n||h!=null&&(ce(h)||_t(h)),v=Th(e,u);d&&NP(u);let[m,E,y]=p?[l,v,a[v]||Ze()]:X0(e,l,v,s,f,c),_=m,T=l;if(!p&&!(ce(_)||Yn(_)||Zn(_))&&g&&(_=h,T=_),!p&&(!(ce(_)||Yn(_)||Zn(_))||!ce(E)))return o?il:l;let A=!1;const S=()=>{A=!0},D=Zn(_)?_:J0(e,l,E,_,T,S);if(A)return _;const M=DP(e,E,y,u),j=CP(M),B=LP(e,D,j),H=r?r(B,l):B;if(__INTLIFY_PROD_DEVTOOLS__){const le={timestamp:Date.now(),key:ce(l)?l:Zn(_)?_.key:"",locale:E||(Zn(_)?_.locale:""),format:ce(_)?_:Zn(_)?_.source:"",message:H};le.meta=lt({},e.__meta,bP()||{}),sP(le)}return H}function NP(e){wt(e.list)?e.list=e.list.map(t=>ce(t)?Bm(t):t):Xe(e.named)&&Object.keys(e.named).forEach(t=>{ce(e.named[t])&&(e.named[t]=Bm(e.named[t]))})}function X0(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,PP(e,n,o,r,a,i));return l.locale=n,l.key=t,l.source=r,l}function LP(e,t,n){return t(n)}function Pa(...e){const[t,n,r]=e,o=Ze();if(!ce(t)&&!Vt(t)&&!Zn(t)&&!Yn(t))throw mo(go.INVALID_ARGUMENT);const i=Vt(t)?String(t):(Zn(t),t);return Vt(n)?o.plural=n:ce(n)?o.default=n:Qe(n)&&!tl(n)?o.named=n:wt(n)&&(o.list=n),Vt(r)?o.plural=r:ce(r)?o.default=r:Qe(r)&<(o,r),[i,o]}function PP(e,t,n,r,o,i){return{locale:t,key:n,warnHtmlMessage:o,onError:s=>{throw i&&i(s),s},onCacheKey:s=>vN(t,n,s)}}function DP(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[,,v]=X0(c||e,p,t,a,l,u);g=s(v,p)}if(ce(g)||Yn(g)){let v=!1;const E=J0(e,p,t,g,p,()=>{v=!0});return v?ny:E}else return Zn(g)?g:ny}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),Vt(r.plural)&&(d.pluralIndex=r.plural),d}YL();/*! * vue-i18n v10.0.7 * (c) 2025 kazuya kawaguchi * Released under the MIT License. */const kP="10.0.7";function MP(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(nl().__INTLIFY_PROD_DEVTOOLS__=!1)}const yr={UNEXPECTED_RETURN_TYPE:F0,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 Rr(e,...t){return ol(e,null,void 0)}const qd=jn("__translateVNode"),Wd=jn("__datetimeParts"),Yd=jn("__numberParts"),FP=jn("__setPluralRules"),UP=jn("__injectWithOption"),Xd=jn("__dispose");function Da(e){if(!Xe(e)||Yn(e))return e;for(const t in e)if(kn(e,t))if(!t.includes("."))Xe(e[t])&&Da(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(),qr(u,s[l])):qr(u,s)}else ce(a)&&qr(JSON.parse(a),s)}),o==null&&i)for(const a in s)kn(s,a)&&Da(s[a]);return s}function Z0(e){return e.type}function jP(e,t,n){let r=Xe(t.messages)?t.messages:Ze();"__i18nGlobal"in n&&(r=Q0(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(i=>{e.mergeLocaleMessage(i,r[i])});{if(Xe(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(Xe(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function ry(e){return xe(Kr,null,e,0)}const oy="__INTLIFY_META__",iy=()=>[],VP=()=>!1;let sy=0;function ay(e){return(t,n,r,o)=>e(n,r,yt()||void 0,o)}const $P=()=>{const e=yt();let t=null;return e&&(t=Z0(e)[oy])?{[oy]:t}:null};function eE(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,o=e.flatJson,i=bs?Fe:An;let s=Et(e.inheritLocale)?e.inheritLocale:!0;const a=i(t&&s?t.locale.value:ce(e.locale)?e.locale:Ca),l=i(t&&s?t.fallbackLocale.value:ce(e.fallbackLocale)||wt(e.fallbackLocale)||Qe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),u=i(Q0(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:Et(e.missingWarn)||Es(e.missingWarn)?e.missingWarn:!0,p=t?t.fallbackWarn:Et(e.fallbackWarn)||Es(e.fallbackWarn)?e.fallbackWarn:!0,h=t?t.fallbackRoot:Et(e.fallbackRoot)?e.fallbackRoot:!0,g=!!e.fallbackFormat,v=_t(e.missing)?e.missing:null,m=_t(e.missing)?ay(e.missing):null,E=_t(e.postTranslation)?e.postTranslation:null,y=t?t.warnHtmlMessage:Et(e.warnHtmlMessage)?e.warnHtmlMessage:!0,_=!!e.escapeParameter;const T=t?t.modifiers:Qe(e.modifiers)?e.modifiers:{};let A=e.pluralRules||t&&t.pluralRules,S;S=(()=>{r&&qu(null);const I={version:kP,locale:a.value,fallbackLocale:l.value,messages:u.value,modifiers:T,pluralRules:A,missing:m===null?void 0:m,missingWarn:d,fallbackWarn:p,fallbackFormat:g,unresolving:!0,postTranslation:E===null?void 0:E,warnHtmlMessage:y,escapeParameter:_,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};I.datetimeFormats=c.value,I.numberFormats=f.value,I.__datetimeFormatters=Qe(S)?S.__datetimeFormatters:void 0,I.__numberFormatters=Qe(S)?S.__numberFormatters:void 0;const P=Y0(I);return r&&qu(P),P})(),$r(S,a.value,l.value);function M(){return[a.value,l.value,u.value,c.value,f.value]}const j=te({get:()=>a.value,set:I=>{a.value=I,S.locale=a.value}}),B=te({get:()=>l.value,set:I=>{l.value=I,S.fallbackLocale=l.value,$r(S,a.value,I)}}),H=te(()=>u.value),le=te(()=>c.value),Te=te(()=>f.value);function ke(){return _t(E)?E:null}function pe(I){E=I,S.postTranslation=I}function ge(){return v}function re(I){I!==null&&(m=ay(I)),v=I,S.missing=m}const _e=(I,P,G,oe,fe,be)=>{M();let Ye;try{__INTLIFY_PROD_DEVTOOLS__,r||(S.fallbackContext=t?W0():void 0),Ye=I(S)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(S.fallbackContext=void 0)}if(G!=="translate exists"&&Vt(Ye)&&Ye===il||G==="translate exists"&&!Ye){const[nt,Ue]=P();return t&&h?oe(t):fe(nt)}else{if(be(Ye))return Ye;throw Rr(yr.UNEXPECTED_RETURN_TYPE)}};function tt(...I){return _e(P=>Reflect.apply(Qu,null,[P,...I]),()=>Pa(...I),"translate",P=>Reflect.apply(P.t,P,[...I]),P=>P,P=>ce(P))}function Ae(...I){const[P,G,oe]=I;if(oe&&!Xe(oe))throw Rr(yr.INVALID_ARGUMENT);return tt(P,G,lt({resolvedMessage:!0},oe||{}))}function Ke(...I){return _e(P=>Reflect.apply(Wu,null,[P,...I]),()=>Na(...I),"datetime format",P=>Reflect.apply(P.d,P,[...I]),()=>Ku,P=>ce(P))}function He(...I){return _e(P=>Reflect.apply(Xu,null,[P,...I]),()=>La(...I),"number format",P=>Reflect.apply(P.n,P,[...I]),()=>Ku,P=>ce(P))}function it(I){return I.map(P=>ce(P)||Vt(P)||Et(P)?ry(String(P)):P)}const ot={normalize:it,interpolate:I=>I,type:"vnode"};function J(...I){return _e(P=>{let G;const oe=P;try{oe.processor=ot,G=Reflect.apply(Qu,null,[oe,...I])}finally{oe.processor=null}return G},()=>Pa(...I),"translate",P=>P[qd](...I),P=>[ry(P)],P=>wt(P))}function se(...I){return _e(P=>Reflect.apply(Xu,null,[P,...I]),()=>La(...I),"number format",P=>P[Yd](...I),iy,P=>ce(P)||wt(P))}function ae(...I){return _e(P=>Reflect.apply(Wu,null,[P,...I]),()=>Na(...I),"datetime format",P=>P[Wd](...I),iy,P=>ce(P)||wt(P))}function ve(I){A=I,S.pluralRules=A}function We(I,P){return _e(()=>{if(!I)return!1;const G=ce(P)?P:a.value,oe=L(G),fe=S.messageResolver(oe,I);return Yn(fe)||Zn(fe)||ce(fe)},()=>[I],"translate exists",G=>Reflect.apply(G.te,G,[I,P]),VP,G=>Et(G))}function ze(I){let P=null;const G=Mc(S,l.value,a.value);for(let oe=0;oe{s&&(a.value=I,S.locale=I,$r(S,a.value,l.value))}),St(t.fallbackLocale,I=>{s&&(l.value=I,S.fallbackLocale=I,$r(S,a.value,l.value))}));const Q={id:sy,locale:j,fallbackLocale:B,get inheritLocale(){return s},set inheritLocale(I){s=I,I&&t&&(a.value=t.locale.value,l.value=t.fallbackLocale.value,$r(S,a.value,l.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:H,get modifiers(){return T},get pluralRules(){return A||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(I){d=I,S.missingWarn=d},get fallbackWarn(){return p},set fallbackWarn(I){p=I,S.fallbackWarn=p},get fallbackRoot(){return h},set fallbackRoot(I){h=I},get fallbackFormat(){return g},set fallbackFormat(I){g=I,S.fallbackFormat=g},get warnHtmlMessage(){return y},set warnHtmlMessage(I){y=I,S.warnHtmlMessage=I},get escapeParameter(){return _},set escapeParameter(I){_=I,S.escapeParameter=I},t:tt,getLocaleMessage:L,setLocaleMessage:V,mergeLocaleMessage:ne,getPostTranslationHandler:ke,setPostTranslationHandler:pe,getMissingHandler:ge,setMissingHandler:re,[FP]:ve};return Q.datetimeFormats=le,Q.numberFormats=Te,Q.rt=Ae,Q.te=We,Q.tm=C,Q.d=Ke,Q.n=He,Q.getDateTimeFormat=X,Q.setDateTimeFormat=O,Q.mergeDateTimeFormat=N,Q.getNumberFormat=U,Q.setNumberFormat=K,Q.mergeNumberFormat=ee,Q[UP]=n,Q[qd]=J,Q[Wd]=ae,Q[Yd]=se,Q}const Rh={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function BP({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===Ct?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},Ze())}function tE(){return Ct}const HP=Ce({name:"i18n-t",props:lt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Vt(e)||!isNaN(e)}},Rh),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||Ih({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=ce(e.plural)?+e.plural:e.plural);const a=BP(t,i),l=o[qd](e.keypath,a,s),u=lt(Ze(),r),c=ce(e.tag)||Xe(e.tag)?e.tag:tE();return dt(c,u,l)}}}),ly=HP;function zP(e){return wt(e)&&!ce(e[0])}function nE(e,t,n,r){const{slots:o,attrs:i}=t;return()=>{const s={part:!0};let a=Ze();e.locale&&(s.locale=e.locale),ce(e.format)?s.key=e.format:Xe(e.format)&&(ce(e.format.key)&&(s.key=e.format.key),a=Object.keys(e.format).reduce((d,p)=>n.includes(p)?lt(Ze(),d,{[p]:e.format[p]}):d,Ze()));const l=r(e.value,s,a);let u=[s.key];wt(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 zP(g)&&(g[0].key=`${d.type}-${p}`),g}):ce(l)&&(u=[l]);const c=lt(Ze(),i),f=ce(e.tag)||Xe(e.tag)?e.tag:tE();return dt(f,c,u)}}const GP=Ce({name:"i18n-n",props:lt({value:{type:Number,required:!0},format:{type:[String,Object]}},Rh),setup(e,t){const n=e.i18n||Ih({useScope:e.scope,__useComponent:!0});return nE(e,t,Ah,(...r)=>n[Yd](...r))}}),uy=GP,KP=Ce({name:"i18n-d",props:lt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Rh),setup(e,t){const n=e.i18n||Ih({useScope:e.scope,__useComponent:!0});return nE(e,t,Sh,(...r)=>n[Wd](...r))}}),cy=KP;function qP(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 WP(e){const t=s=>{const{instance:a,value:l}=s;if(!a||!a.$)throw Rr(yr.UNEXPECTED_ERROR);const u=qP(e,a.$),c=fy(l);return[Reflect.apply(u.t,u,[...dy(c)]),u]};return{created:(s,a)=>{const[l,u]=t(a);bs&&e.global===u&&(s.__i18nWatcher=St(u.locale,()=>{a.instance&&a.instance.$forceUpdate()})),s.__composer=u,s.textContent=l},unmounted:s=>{bs&&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=fy(a);s.textContent=Reflect.apply(l.t,l,[...dy(u)])}},getSSRProps:s=>{const[a]=t(s);return{textContent:a}}}}function fy(e){if(ce(e))return{path:e};if(Qe(e)){if(!("path"in e))throw Rr(yr.REQUIRED_VALUE,"path");return e}else throw Rr(yr.INVALID_VALUE)}function dy(e){const{path:t,locale:n,args:r,choice:o,plural:i}=e,s={},a=r||{};return ce(n)&&(s.locale=n),Vt(o)&&(s.plural=o),Vt(i)&&(s.plural=i),[t,a,s]}function YP(e,t,...n){const r=Qe(n[0])?n[0]:{};(Et(r.globalInstall)?r.globalInstall:!0)&&([ly.name,"I18nT"].forEach(i=>e.component(i,ly)),[uy.name,"I18nN"].forEach(i=>e.component(i,uy)),[cy.name,"I18nD"].forEach(i=>e.component(i,cy))),e.directive("t",WP(t))}const XP=jn("global-vue-i18n");function JP(e={},t){const n=Et(e.globalInjection)?e.globalInjection:!0,r=new Map,[o,i]=QP(e),s=jn("");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=sD(f,c.global)),YP(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 Ih(e={}){const t=yt();if(t==null)throw Rr(yr.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Rr(yr.NOT_INSTALLED);const n=ZP(t),r=tD(n),o=Z0(t),i=eD(e,o);if(i==="global")return jP(r,e,o),r;if(i==="parent"){let l=nD(n,t,e.__useComponent);return l==null&&(l=r),l}const s=n;let a=s.__getInstance(t);if(a==null){const l=lt({},e);"__i18n"in o&&(l.__i18n=o.__i18n),r&&(l.__root=r),a=eE(l),s.__composerExtend&&(a[Xd]=s.__composerExtend(a)),oD(s,t,a),s.__setInstance(t,a)}return a}function QP(e,t,n){const r=Is(),o=r.run(()=>eE(e));if(o==null)throw Rr(yr.UNEXPECTED_ERROR);return[r,o]}function ZP(e){const t=jt(e.isCE?XP:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Rr(e.isCE?yr.NOT_INSTALLED_WITH_PROVIDE:yr.UNEXPECTED_ERROR);return t}function eD(e,t){return tl(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function tD(e){return e.mode==="composition"?e.global:e.global.__composer}function nD(e,t,n=!1){let r=null;const o=t.root;let i=rD(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 rD(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function oD(e,t,n){an(()=>{},t),Ro(()=>{const r=n;e.__deleteInstance(t);const o=r[Xd];o&&(o(),delete r[Xd])},t)}const iD=["locale","fallbackLocale","availableLocales"],py=["t","rt","d","n","tm","te"];function sD(e,t){const n=Object.create(null);return iD.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i)throw Rr(yr.UNEXPECTED_ERROR);const s=It(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,py.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i||!i.value)throw Rr(yr.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,i)}),()=>{delete e.config.globalProperties.$i18n,py.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}MP();V0(k0);B0(U0);z0(Mc);if(__INTLIFY_PROD_DEVTOOLS__){const e=nl();e.__INTLIFY__=!0,M0(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}function aD(){return xi(Ts)}function lD(){return xi(mh)}function uD(){return xi(kc)}function cD(){return xi(kc)}function rE(){return xi(vh)}const fD=Gt({name:"i18n:plugin:switch-locale-path-ssr",dependsOn:["i18n:plugin"],setup(){const e=Be();if(e.$config.public.i18n.experimental.switchLocalePathLinkSSR!==!0)return;const t=rE(),n=new RegExp([``,".+?",``].join(""),"g");e.hook("app:rendered",r=>{var o;((o=r.renderResult)==null?void 0:o.html)!=null&&(r.renderResult.html=r.renderResult.html.replaceAll(n,(i,s)=>i.replace(/href="([^"]+)"/,`href="${encodeURI(t(s??""))}"`)))})}}),dD=Gt({name:"i18n:plugin:route-locale-detect",dependsOn:["i18n:plugin"],async setup(){let e,t;const n=Be(),r=n.$router.currentRoute;async function o(s){let a=lL(s,n._vueI18n.__localeFromRoute(s),W(n.$i18n.locale),n.$i18n.getLocaleCookie());if(n._vueI18n.__firstAccess){n._vueI18n.__setLocale(a);const u=v0(W(n._vueI18n.global.fallbackLocale),[a]);await Promise.all(u.map(c=>n.$i18n.loadLocaleMessages(c))),await n.$i18n.loadLocaleMessages(a)}return await n.runWithContext(()=>E0(a,n._vueI18n.__firstAccess))&&(a=W(n.$i18n.locale)),a}[e,t]=qn(()=>o(r.value)),await e,t(),AI("locale-changing",async(s,a)=>{let l,u;const c=([l,u]=qn(()=>n.runWithContext(()=>o(s))),l=await l,u(),l),f=([l,u]=qn(()=>n.runWithContext(()=>T0({to:s,from:a,locale:c,routeLocale:n._vueI18n.__localeFromRoute(s)},!0))),l=await l,u(),l);return n._vueI18n.__firstAccess=!1,[l,u]=qn(()=>n.runWithContext(()=>w0({nuxt:n,redirectPath:f,locale:c,route:s}))),l=await l,u(),l},{global:!0})}});function pD(e,{extendComposer:t,extendComposerInstance:n}){const r=Is(),o=e.install.bind(e);e.install=(i,...s)=>{const a=lt({},s[0]);a.__composerExtend=u=>(n(u,ea(e)),()=>{}),e.mode==="legacy"&&(a.__vueI18nExtend=u=>(n(u,ea(u)),()=>{})),Reflect.apply(o,e,[i,a]);const l=ea(e);if(r.run(()=>{t(l),e.mode==="legacy"&&m0(e.global)&&n(e.global,ea(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 hD=Gt({name:"i18n:plugin",parallel:IN,async setup(){var c;let e,t;const n=Be(),r=n.$config.public.i18n,o=eL(r);ZN(r,o),n.$config.public.i18n.defaultLocale=o;const i={...r,defaultLocale:o,baseUrl:fL(n)},s=([e,t]=qn(()=>tL(RN,Be())),e=await e,t(),e);s.messages||(s.messages={}),s.fallbackLocale??(s.fallbackLocale=!1),o&&(s.locale=o);for(const f of Wo)(c=s.messages)[f]??(c[f]={});const a=JP(s);n._vueI18n=a,a.__localeFromRoute=YN(),a.__firstAccess=!0,a.__setLocale=f=>{const d=Gu(a);It(d.locale)?d.locale.value=f:d.locale=f};const l=hL(),u=rl();return pD(a,{extendComposer(f){const d=Fe(i.locales);f.locales=te(()=>d.value);const p=Fe(Wo);f.localeCodes=te(()=>p.value);const h=Fe(i.baseUrl());f.baseUrl=te(()=>h.value),St(f.locale,()=>h.value=i.baseUrl()),f.strategy=i.strategy,f.localeProperties=te(()=>Nc.find(g=>g.code===f.locale.value)||{code:f.locale.value}),f.setLocale=async g=>{if(await E0(g,a.__firstAccess),f.strategy==="no_prefix"){await f.loadLocaleMessages(g),a.__setLocale(g);return}const v=n.$router.currentRoute.value,m=await n.runWithContext(()=>T0({to:v,locale:g,routeLocale:a.__localeFromRoute(v)}));await n.runWithContext(()=>w0({nuxt:n,redirectPath:m,locale:g,route:v},!0))},f.loadLocaleMessages=async g=>await zd(g,Bd,f.mergeLocaleMessage.bind(f),n),f.differentDomains=i.differentDomains,f.defaultLocale=i.defaultLocale,f.getBrowserLocale=()=>pL(),f.getLocaleCookie=()=>gL(l,u,f.defaultLocale),f.setLocaleCookie=g=>{!u||!u.useCookie||(l.value=g)},f.onBeforeLanguageSwitch=(g,v,m,E)=>n.callHook("i18n:beforeLocaleSwitch",{oldLocale:g,newLocale:v,initialSetup:m,context:E}),f.onLanguageSwitched=(g,v)=>n.callHook("i18n:localeSwitched",{oldLocale:g,newLocale:v}),f.finalizePendingLocaleChange=async()=>{var g;a.__pendingLocale&&(a.__setLocale(a.__pendingLocale),(g=a.__resolvePendingLocalePromise)==null||g.call(a),a.__pendingLocale=void 0)},f.waitForPendingLocaleChange=async()=>{a.__pendingLocale&&a.__pendingLocalePromise&&await a.__pendingLocalePromise}},extendComposerInstance(f,d){const p=[["locales",()=>d.locales],["localeCodes",()=>d.localeCodes],["baseUrl",()=>d.baseUrl],["strategy",()=>d.strategy],["localeProperties",()=>d.localeProperties],["setLocale",()=>async h=>Reflect.apply(d.setLocale,d,[h])],["loadLocaleMessages",()=>async h=>Reflect.apply(d.loadLocaleMessages,d,[h])],["differentDomains",()=>d.differentDomains],["defaultLocale",()=>d.defaultLocale],["getBrowserLocale",()=>()=>Reflect.apply(d.getBrowserLocale,d,[])],["getLocaleCookie",()=>()=>Reflect.apply(d.getLocaleCookie,d,[])],["setLocaleCookie",()=>h=>Reflect.apply(d.setLocaleCookie,d,[h])],["onBeforeLanguageSwitch",()=>(h,g,v,m)=>Reflect.apply(d.onBeforeLanguageSwitch,d,[h,g,v,m])],["onLanguageSwitched",()=>(h,g)=>Reflect.apply(d.onLanguageSwitched,d,[h,g])],["finalizePendingLocaleChange",()=>()=>Reflect.apply(d.finalizePendingLocaleChange,d,[])],["waitForPendingLocaleChange",()=>()=>Reflect.apply(d.waitForPendingLocaleChange,d,[])]];for(const[h,g]of p)Object.defineProperty(f,h,{get:g})}}),n.vueApp.use(a),Object.defineProperty(n,"$i18n",{get:()=>Gu(a)}),{provide:{localeHead:xi(vL),localePath:lD(),localeRoute:uD(),getRouteBaseName:aD(),switchLocalePath:rE(),resolveRoute:xi(yh),localeLocation:cD()}}}}),gD=Eo(()=>ie(()=>import("./BQqlrMdc.js"),__vite__mapDeps([77,78]),import.meta.url).then(e=>e.default||e.default||e)),mD=Eo(()=>ie(()=>import("./BbgU9SnU.js"),[],import.meta.url).then(e=>e.default||e.default||e)),yD=Eo(()=>ie(()=>import("./DeMOzvJM.js"),__vite__mapDeps([79,23,24,5,6,80]),import.meta.url).then(e=>e.default||e.default||e)),vD=[["BlokAccessibilityPolicyDocument",gD],["BlokTappButton",mD],["RetLoginHeroBlok",yD]],_D=Gt({name:"nuxt:global-components",setup(e){for(const[t,n]of vD)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),Vo={branded:Eo(()=>ie(()=>import("./CSt9jABI.js"),__vite__mapDeps([81,82,83]),import.meta.url).then(e=>e.default||e)),"error-layout":Eo(()=>ie(()=>import("./DriQATnI.js"),__vite__mapDeps([84,82,85]),import.meta.url).then(e=>e.default||e))},bD=Gt({name:"nuxt:prefetch",setup(e){const t=$t();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var o;const r=(o=n==null?void 0:n.meta)==null?void 0:o.layout;r&&typeof Vo[r]=="function"&&await Vo[r]()})}),e.hooks.hook("link:prefetch",n=>{if(Mn(n))return;const r=t.resolve(n);if(!r)return;const o=r.meta.layout;let i=dh(r.meta.middleware);i=i.filter(s=>typeof s=="string");for(const s of i)typeof fa[s]=="function"&&fa[s]();typeof o=="string"&&o in Vo&&jN(Vo[o])})}});let hy=!1;const gy=[],ED=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}hy?o():gy.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=>{gy.forEach(i=>i()),hy=!0,t(o)},document.getElementsByTagName("head")[0].appendChild(r)});var TD=Object.defineProperty,wD=(e,t,n)=>t in e?TD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ht=(e,t,n)=>wD(e,typeof t!="symbol"?t+"":t,n);class SD extends Error{constructor(t){super(t),this.name="AbortError"}}function AD(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 SD("Throttle function aborted"))),r.length=0},l}class Zu{constructor(){ht(this,"isCDNUrl",(t="")=>t.includes("/cdn/")),ht(this,"getOptionsPage",(t,n=25,r=1)=>({...t,per_page:n,page:r})),ht(this,"delay",t=>new Promise(n=>setTimeout(n,t))),ht(this,"arrayFrom",(t=0,n)=>Array.from({length:t},n)),ht(this,"range",(t=0,n=t)=>{const r=Math.abs(n-t)||0,o=ts*o+t)}),ht(this,"asyncMap",async(t,n)=>Promise.all(t.map(n))),ht(this,"flatMap",(t=[],n)=>t.map(n).reduce((r,o)=>[...r,...o],[])),ht(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 RD=function(e,t){const n={};for(const r in e){const o=e[r];t.includes(r)&&o!==null&&(n[r]=o)}return n},ID=e=>e==="email",OD=()=>({singleTag:"hr"}),xD=()=>({tag:"blockquote"}),CD=()=>({tag:"ul"}),ND=e=>({tag:["pre",{tag:"code",attrs:e.attrs}]}),LD=()=>({singleTag:"br"}),PD=e=>({tag:`h${e.attrs.level}`}),DD=e=>({singleTag:[{tag:"img",attrs:RD(e.attrs,["src","alt","title"])}]}),kD=()=>({tag:"li"}),MD=()=>({tag:"ol"}),FD=()=>({tag:"p"}),UD=e=>({tag:[{tag:"span",attrs:{"data-type":"emoji","data-name":e.attrs.name,emoji:e.attrs.emoji}}]}),jD=()=>({tag:"b"}),VD=()=>({tag:"s"}),$D=()=>({tag:"u"}),BD=()=>({tag:"strong"}),HD=()=>({tag:"code"}),zD=()=>({tag:"i"}),GD=e=>{if(!e.attrs)return{tag:""};const t=new Zu().escapeHTML,n={...e.attrs},{linktype:r="url"}=e.attrs;if(delete n.linktype,n.href&&(n.href=t(e.attrs.href||"")),ID(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}]}},KD=e=>({tag:[{tag:"span",attrs:e.attrs}]}),qD=()=>({tag:"sub"}),WD=()=>({tag:"sup"}),YD=e=>({tag:[{tag:"span",attrs:e.attrs}]}),XD=e=>{var t;return(t=e.attrs)!=null&&t.color?{tag:[{tag:"span",attrs:{style:`background-color:${e.attrs.color};`}}]}:{tag:""}},JD=e=>{var t;return(t=e.attrs)!=null&&t.color?{tag:[{tag:"span",attrs:{style:`color:${e.attrs.color}`}}]}:{tag:""}},QD={nodes:{horizontal_rule:OD,blockquote:xD,bullet_list:CD,code_block:ND,hard_break:LD,heading:PD,image:DD,list_item:kD,ordered_list:MD,paragraph:FD,emoji:UD},marks:{bold:jD,strike:VD,underline:$D,strong:BD,code:HD,italic:zD,link:GD,styled:KD,subscript:qD,superscript:WD,anchor:YD,highlight:XD,textStyle:JD}},ZD=function(e){const t={"&":"&","<":"<",">":">",'"':""","'":"'"},n=/[&<>"']/g,r=new RegExp(n.source);return e&&r.test(e)?e.replace(n,o=>t[o]):e};let my=!1;class ek{constructor(t){ht(this,"marks"),ht(this,"nodes"),t||(t=QD),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(!my&&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/"),my=!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,v=0;return typeof h[0]=="number"&&(g=h[0]),typeof h[1]=="number"&&(v=h[1]),`//${f}/m/${g}x${v}${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(ZD(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 ec=ek;class tk{constructor(t){ht(this,"baseURL"),ht(this,"timeout"),ht(this,"headers"),ht(this,"responseInterceptor"),ht(this,"fetch"),ht(this,"ejectInterceptor"),ht(this,"url"),ht(this,"parameters"),ht(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 Zu;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 nk=tk,yy="SB-Agent",Af={defaultAgentName:"SB-JS-CLIENT",defaultAgentVersion:"SB-Agent-Version",packageVersion:"6.0.0"};let zl={};const hi={};class rk{constructor(t,n){ht(this,"client"),ht(this,"maxRetries"),ht(this,"retriesDelay"),ht(this,"throttle"),ht(this,"accessToken"),ht(this,"cache"),ht(this,"helpers"),ht(this,"resolveCounter"),ht(this,"relations"),ht(this,"links"),ht(this,"richTextResolver"),ht(this,"resolveNestedRelations"),ht(this,"stringifiedStoriesCache");let r=t.endpoint||n;if(!r){const s=new Zu().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(yy)||(o.set(yy,Af.defaultAgentName),o.set(Af.defaultAgentVersion,Af.packageVersion));let i=5;t.oauthToken&&(o.set("Authorization",t.oauthToken),i=3),t.rateLimit&&(i=t.rateLimit),t.richTextSchema?this.richTextResolver=new ec(t.richTextSchema):this.richTextResolver=new ec,t.componentResolver&&this.setComponentResolver(t.componentResolver),this.maxRetries=t.maxRetries||10,this.retriesDelay=300,this.throttle=AD(this.throttledRequest.bind(this),i,1e3),this.accessToken=t.accessToken||"",this.relations={},this.links={},this.cache=t.cache||{clear:"manual"},this.helpers=new Zu,this.resolveCounter=0,this.resolveNestedRelations=t.resolveNestedRelations||!0,this.stringifiedStoriesCache={},this.client=new nk({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=hi[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==null?void 0: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&&hi[n.token]!==f.data.cv&&(await this.flushCache(),hi[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 rk(t)}},ik=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 sk(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 Nn=(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))(Nn||{}),Jn=(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))(Jn||{}),oE=(e=>(e.TEXT="text",e))(oE||{}),ta=(e=>(e.URL="url",e.STORY="story",e.ASSET="asset",e.EMAIL="email",e))(ta||{});const ak=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"],lk=(e={})=>Object.keys(e).map(t=>`${t}="${e[t]}"`).join(" "),uk=(e={})=>Object.keys(e).map(t=>`${t}: ${e[t]}`).join("; ");function ck(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const vy=e=>Object.fromEntries(Object.entries(e).filter(([t,n])=>n!==void 0));function _y(e,t={},n){const r=lk(t),o=r?`${e} ${r}`:e,i=Array.isArray(n)?n.join(""):n||"";if(e){if(ak.includes(e))return`<${o}>`}else return i;return`<${o}>${i}`}function fk(e={}){let t=0;const{renderFn:n=_y,textFn:r=ck,resolvers:o={},optimizeImages:i=!1,keyedResolvers:s=!1}=e,a=n!==_y,l=T=>A=>{const S=A.attrs||{};return s&&(S.key=`${T}-${t}`),n(T,S,A.children||null)},u=T=>{const{src:A,alt:S,title:D,srcset:M,sizes:j}=T.attrs||{};let B=A,H={};if(i){const{src:Te,attrs:ke}=sk(A,i);B=Te,H=ke}s&&(H={...H,key:`img-${t}`});const le={src:B,alt:S,title:D,srcset:M,sizes:j,...H};return n("img",vy(le))},c=T=>{const{level:A,...S}=T.attrs||{},D={...S};return s&&(D.key=`h${A}-${t}`),n(`h${A}`,D,T.children)},f=T=>{var A,S,D,M;const j=n("img",{src:(A=T.attrs)==null?void 0:A.fallbackImage,alt:(S=T.attrs)==null?void 0:S.alt,style:"width: 1.25em; height: 1.25em; vertical-align: text-top",draggable:"false",loading:"lazy"}),B={"data-type":"emoji","data-name":(D=T.attrs)==null?void 0:D.name,"data-emoji":(M=T.attrs)==null?void 0:M.emoji};return s&&(B.key=`emoji-${t}`),n("span",B,j)},d=T=>n("pre",{...T.attrs,key:`code-${t}`},n("code",{key:`code-${t}`},T.children||"")),p=(T,A=!1)=>({text:S,attrs:D})=>{const{class:M,id:j,...B}=D||{},H=A?{class:M,id:j,style:uk(B)||void 0}:D||{};return s&&(H.key=`${T}-${t}`),n(T,vy(H),S)},h=T=>_(T),g=T=>{const{marks:A,...S}=T;return"text"in T?A?A.reduce((D,M)=>h({...M,text:D}),h({...S,children:S.children})):r(S.text):""},v=T=>{const{linktype:A,href:S,anchor:D,...M}=T.attrs||{};let j="";switch(A){case ta.ASSET:case ta.URL:j=S;break;case ta.EMAIL:j=`mailto:${S}`;break;case ta.STORY:j=S,D&&(j=`${j}#${D}`);break;default:j=S;break}const B={...M};return j&&(B.href=j),s&&(B.key=`a-${t}`),n("a",B,T.text)},m=T=>{var A,S;return console.warn("[StoryblokRichtText] - BLOK resolver is not available for vanilla usage"),n("span",{blok:(A=T==null?void 0:T.attrs)==null?void 0:A.body[0],id:(S=T.attrs)==null?void 0:S.id,key:`component-${t}`,style:"display: none"})},E=new Map([[Nn.DOCUMENT,l("")],[Nn.HEADING,c],[Nn.PARAGRAPH,l("p")],[Nn.UL_LIST,l("ul")],[Nn.OL_LIST,l("ol")],[Nn.LIST_ITEM,l("li")],[Nn.IMAGE,u],[Nn.EMOJI,f],[Nn.CODE_BLOCK,d],[Nn.HR,l("hr")],[Nn.BR,l("br")],[Nn.QUOTE,l("blockquote")],[Nn.COMPONENT,m],[oE.TEXT,g],[Jn.LINK,v],[Jn.ANCHOR,v],[Jn.STYLED,p("span",!0)],[Jn.BOLD,p("strong")],[Jn.TEXT_STYLE,p("span",!0)],[Jn.ITALIC,p("em")],[Jn.UNDERLINE,p("u")],[Jn.STRIKE,p("s")],[Jn.CODE,p("code")],[Jn.SUPERSCRIPT,p("sup")],[Jn.SUBSCRIPT,p("sub")],[Jn.HIGHLIGHT,p("mark")],...Object.entries(o).map(([T,A])=>[T,A])]);function y(T){t+=1;const A=E.get(T.type);if(!A)return console.error("",`No resolver found for node type ${T.type}`),"";if(T.type==="text")return A(T);const S=T.content?T.content.map(_):void 0;return A({...T,children:S})}function _(T){return T.type==="doc"?a?T.content.map(y):T.content.map(y).join(""):Array.isArray(T)?T.map(y):y(T)}return{render:_}}let Jd,by="https://app.storyblok.com/f/storyblok-v2-latest.js";const iE=(e,t)=>{e.addNode("blok",n=>{let r="";return n.attrs.body.forEach(o=>{r+=t(o.component,o)}),{html:r}})},dk=(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&&(by=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&&ED(by),Jd=new ec(a.schema),a.resolver&&iE(Jd,a.resolver),c},pk=e=>{var t;return!e||!((t=e==null?void 0:e.content)!=null&&t.some(n=>n.content||n.type==="blok"||n.type==="horizontal_rule"))},xB=(e,t,n)=>{let r=n||Jd;if(!r){console.error("Please initialize the Storyblok SDK before calling the renderRichText function");return}return pk(e)?"":(t&&(r=new ec(t.schema),t.resolver&&iE(r,t.resolver)),r.render(e,{},!1))},sE=Ce({__name:"StoryblokComponent",props:{blok:{}},setup(e,{expose:t}){const n=e,r=Fe();t({value:r});const o=typeof Go(n.blok.component)!="string",i=jt("VueSDKOptions"),s=Fe(n.blok.component);return!o&&i&&(i.enableFallbackComponent?(s.value=i.customFallbackComponent??"FallbackComponent",typeof Go(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)=>(me(),Ge(Go(s.value),Pt({ref_key:"blokRef",ref:r},{...a.$props,...a.$attrs}),null,16))}}),hk=e=>{var t,n;return dt(sE,{blok:(t=e==null?void 0:e.attrs)==null?void 0:t.body[0],id:(n=e.attrs)==null?void 0:n.id},e.children)};function gk(e){const t={renderFn:dt,textFn:Qr,keyedResolvers:!0,resolvers:{[Nn.COMPONENT]:hk,...e.resolvers}};return fk(t)}const mk=Ce({__name:"StoryblokRichText",props:{doc:{},resolvers:{}},setup(e){const t=e,n=Fe(),r=()=>n.value;return St([()=>t.doc,()=>t.resolvers],([o,i])=>{const{render:s}=gk({resolvers:i??{}});n.value=s(o)},{immediate:!0,deep:!0}),(o,i)=>(me(),Ge(r))}}),yk={beforeMount(e,t){if(t.value){const n=ik(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"))}}},vk={install(e,t={}){e.directive("editable",yk),e.component("StoryblokComponent",sE),e.component("StoryblokRichText",mk),t.enableFallbackComponent&&!t.customFallbackComponent&&e.component("FallbackComponent",Eo(()=>ie(()=>import("./y-z1lDkH.js"),[],import.meta.url)));const{storyblokApi:n}=dk(t);e.provide("VueSDKOptions",t)}},_k=Gt(({vueApp:e})=>{let{storyblok:t}=kt().public;t=JSON.parse(JSON.stringify(t)),e.use(vk,{...t,use:[ok]})}),bk=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/),Ek=/(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,Tk=/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,wk=/(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,Sk=/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 Ak(e){return Ek.test(e)||Tk.test(e.slice(0,4))}function Rk(e){return wk.test(e)||Sk.test(e.slice(0,4))}function Ik(e){return/iPad|iPhone|iPod/.test(e)}function Ok(e){return/android/i.test(e)}function xk(e){return/Windows/.test(e)}function Ck(e){return/Mac OS X/.test(e)}const Nk=[{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 Lk(e){for(const t of Nk)if(t.regex.test(e))return t.name;return""}function Ey(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=Ak(e),r=Rk(e),o=Ik(e),i=Ok(e);const s=xk(e),a=Ck(e),l=Lk(e),u=l==="Safari",c=l==="Firefox",f=l==="Edge",d=l==="Chrome",p=l==="Samsung",h=bk.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 Pk=Gt(()=>{const e=kt(),t=e.public.device.defaultUserAgent;let n;{const r=navigator.userAgent||t;n=sn(Ey(r)),e.public.device.refreshOnResize&&window.addEventListener("resize",()=>{setTimeout(()=>{const o=Ey(navigator.userAgent||r);Object.entries(o).forEach(([i,s])=>{n[i]=s})},50)})}return{provide:{device:n}}}),Ty=128,aE=1024,wy=1e4,lE=1e3,Sy=1e4,uE=128,Ay=1e3,Dk={attributeStringValueLimit:aE,attributeArrayLengthLimit:lE,attributeCountLimit:uE},kk={attributeStringValueLimit:1/0,attributeArrayLengthLimit:1/0,attributeCountLimit:1/0},es=e=>e===!0||e===!1,Ir=e=>!!e&&typeof e=="object"&&!Array.isArray(e),Br=e=>typeof e=="number"&&Number.isFinite(e)&&!Number.isNaN(e),Fc=e=>typeof e=="string",fs=e=>Fc(e)&&e.length>0,Mk=e=>Ir(e)&&typeof e.debug=="function"&&typeof e.info=="function"&&typeof e.warn=="function"&&typeof e.error=="function",Fk=e=>Array.isArray(e)&&e.every(fs),Uk=e=>Array.isArray(e)&&e.every(t=>fs(t)||t instanceof RegExp);function jk(e){return Ir(e)&&Br(e.value)&&Br(e.time)}const Vk=e=>Ir(e)&&typeof e.id=="string"&&typeof e.traceId=="string"&&typeof e.isValid=="function",$k=e=>Ir(e)&&typeof e.id=="string"&&typeof e.traceId=="string";function Bk(e){return Br(e)||e instanceof Date}function Hk(e){return Ir(e)&&typeof e.configure=="function"}function zk(e){return Array.isArray(e)&&e.every(t=>Hk(t))}function Gk(e){return Array.isArray(e)&&e.every(t=>typeof t=="function")}function Kk(e,t){const n=e.length,r=e.slice(0,t),o=r.length;return`${r} *** ${n-o} CHARS TRUNCATED`}class cE{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,Kk(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"||Br(n)||Array.isArray(n))&&this.attributes.set(t,n)}setCustom(t,n){if(typeof t=="string"&&(typeof n=="string"||typeof n=="boolean"||Br(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>Ty){this._droppedAttributesCount++,this.logger.warn(`Span attribute ${t} in span ${this.spanName} was dropped as the key length exceeds the ${Ty} 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])=>Xk(t,n))}toObject(){return Object.fromEntries(this.attributes)}}class qk extends cE{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,kk,"resource-attributes",s)}}function Wk(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 Yk(e){return e.map(t=>Wk(t)).filter(t=>typeof t<"u")}function Xk(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=Yk(t);return{key:e,value:{arrayValue:n.length>0?{values:n}:{}}}}return;default:return}}const Jk=1e6;function fE(e){return Math.round(e*Jk)}const Qd={appVersion:{defaultValue:"",message:"should be a string",validate:fs},endpoint:{defaultValue:"https://otlp.bugsnag.com/v1/traces",message:"should be a string",validate:fs},apiKey:{defaultValue:"",message:"should be a 32 character hexadecimal string",validate:e=>Fc(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:Mk},releaseStage:{defaultValue:"production",message:"should be a string",validate:fs},enabledReleaseStages:{defaultValue:null,message:"should be an array of strings",validate:e=>e===null||Fk(e)},plugins:{defaultValue:[],message:"should be an array of plugin objects",validate:zk},bugsnag:{defaultValue:void 0,message:"should be an instance of Bugsnag",validate:e=>Ir(e)&&typeof e.addOnError=="function"},samplingProbability:{defaultValue:void 0,message:"should be a number between 0 and 1",validate:e=>e===void 0||Br(e)&&e>=0&&e<=1},onSpanEnd:{defaultValue:void 0,message:"should be an array of functions",validate:Gk},attributeStringValueLimit:{defaultValue:aE,message:`should be a number between 1 and ${wy}`,validate:e=>Br(e)&&e>0&&e<=wy},attributeArrayLengthLimit:{defaultValue:lE,message:`should be a number between 1 and ${Sy}`,validate:e=>Br(e)&&e>0&&e<=Sy},attributeCountLimit:{defaultValue:uE,message:`should be a number between 1 and ${Ay}`,validate:e=>Br(e)&&e>0&&e<=Ay}};function Qk(e,t){if(typeof e=="string"&&(e={apiKey:e}),!Ir(e)||!Fc(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 Zk{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 dE(e){let t=0;for(let n=0;n>>0}return t}const eM=60*60*1e3;function tM(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 nM(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 rM(e,t,n){if(!n)return!0;const r=nM(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=fE(performance.now()-o);r.setAttribute("bugsnag.span.callbacks_duration",s)}return i}class oM{constructor(t,n,r,o,i,s,a){this.kind=3,this.events=new Zk,this.id=t,this.traceId=n,this.parentSpanId=a,this.name=r,this.startTime=o,this.attributes=i,this.samplingRate=dE(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()-eM}}const pE={startTime:{message:"should be a number or Date",getDefaultValue:()=>{},validate:Bk},parentContext:{message:"should be a SpanContext",getDefaultValue:()=>{},validate:e=>e===null||Vk(e)},makeCurrentContext:{message:"should be true|false",getDefaultValue:()=>{},validate:es},isFirstClass:{message:"should be true|false",getDefaultValue:()=>{},validate:es}};class iM{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 rM(r,this.configuration.logger,this.configuration.onSpanEnd)&&t.push(r);if(this.spans=[],t.length!==0)return t}}class sM{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&&!aM.has(e)?"failure-discard":"failure-retryable"}class Oh{static async create(t,n){return t.probability=n,new Oh(t,n)}constructor(t,n){this.sampler=t,this.samplingProbability=n}setProbability(t){return Promise.resolve()}ensureFreshProbability(){return Promise.resolve()}}const uM=30*1e3;class cM{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,uM)})}}const Ry=24*60*60*1e3;class xh{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=Ry?(this.outstandingFreshnessCheck=this.probabilityFetcher.getNewProbability().then(t=>{this.setProbability(t),this.outstandingFreshnessCheck=void 0}),this.outstandingFreshnessCheck):Promise.resolve()}}class fM{constructor(){this.spans=[]}add(t){this.spans.push(t)}}function Iy(e){return Math.floor(e*4294967295)}class dM{constructor(t){this._probability=t,this.scaledProbability=Iy(t)}get probability(){return this._probability}set probability(t){this._probability=t,this.scaledProbability=Iy(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 pM(e,t){return e===t?!0:e!==void 0&&t!==void 0?e.id===t.id&&e.traceId===t.traceId:!1}class hM{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){pM(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 Zd(e,t){return Br(t)?t:t instanceof Date?e.convert(t):e.now()}const Oy=-1;class gM{constructor(t,n,r,o,i,s,a,l){this.spanAttributeLimits=Dk,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=$k(n.parentContext)||n.parentContext===null?n.parentContext:this.spanContextStorage.current;const r=new cE(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=Zd(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 oM(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===Oy){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(Oy,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=Zd(this.clock,n);this.endSpan(t,r)}}}validateSpanOptions(t,n,r=pE){let o="";const i={};if(typeof t!="string"&&(o+=` - name should be a string, got ${typeof t}`,t=String(t)),n!==void 0&&!Ir(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 mM(e){const t=new fM,n=e.spanContextStorage||new hM(e.backgroundingListener);let r=e.schema.logger.defaultValue;const o=new dM(1),i=e.spanFactory||gM,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=Qk(l,e.schema);if(u.endpoint===Qd.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?xh.create(e.persistence,o,new cM(c,u.apiKey)):Oh.create(o,u.samplingProbability)).then(d=>{const p=new iM(c,u,e.retryQueueFactory(c,u.retryQueueMaxSize),o,d,new sM(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,Zd(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 yM(){const e=()=>{};return{start:e,startSpan:()=>({id:"",traceId:"",end:e,isValid:()=>!1}),currentSpanContext:void 0}}var Rf,xy;function hE(){return xy||(xy=1,Rf=function(t,n){var r="000000000"+t;return r.substr(r.length-n)}),Rf}var If,Cy;function vM(){if(Cy)return If;Cy=1;var e=hE(),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 If=function(){return i},If}var Of,Ny;function _M(){return Ny||(Ny=1,Of=function(t){return typeof t=="string"&&/^c[a-z0-9]{20,32}$/.test(t)}),Of}var xf,Ly;function bM(){if(Ly)return xf;Ly=1;var e=vM(),t=_M(),n=hE(),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+Py(i),0);for(;r>this.retryQueueMaxSize;){const o=this.payloads.shift();if(!o)break;r-=Py(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+AM))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 Py(e){let t=0;for(let n=0;n1))return n}function OM(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:lM(l.status),samplingProbability:IM(l.headers)}}catch{return a.length>1e6?{state:"failure-discard"}:{state:"failure-retryable"}}}}}}function mE(e){return e}function xM(e){return typeof e=="function"}let yE=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(CM)}}};function CM(e){return e!==void 0}function Ch(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 NM(e,t,n,r){const o=vE(t),i=o?t.url:String(t),s=!!n&&n.method||o&&t.method||"GET";return{url:Ch(i,r),method:s,startTime:e,type:"fetch"}}function vE(e){return!!e&&typeof e=="object"&&!(e instanceof URL)}function LM(e){return!!e&&typeof e=="object"&&e instanceof Headers}function PM(e,t){const n=new yE,r=e.fetch;return e.fetch=function(i,s){const a=NM(t.now(),i,s,e.document&&e.document.baseURI),{onRequestEnd:l,extraRequestHeaders:u}=n.start(a),c=DM(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 DM(e,t,n){if(!n)return[e,t];const r=n.reduce((o,i)=>({...o,...i}),{});return vE(e)&&(!t||!t.headers)?kM(r,e):t=MM(r,t),[e,t]}function kM(e,t){for(const[n,r]of Object.entries(e))t.headers.has(n)||t.headers.set(n,r)}function MM(e,t){if(t||(t={}),LM(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 FM(e,t,n){const r=new yE,o=new WeakMap,i=new WeakMap,s=e.prototype.open;e.prototype.open=function(u,c,...f){o.set(this,{method:u,url:Ch(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[v,m]of Object.entries(g))this.setRequestHeader(v,m);const h=g=>{if(this.readyState===e.DONE&&d){const v=this.status>0?{endTime:t.now(),status:this.status,state:"success"}:{endTime:t.now(),state:"error"};d(v)}};this.addEventListener("readystatechange",h),i.set(this,h)}a.call(this,u)},r}const Nh={referrer:!0,title:!0,url:!0};function _E(e){return{...Nh,...e}}function UM(e){const t=["undefined","boolean"],n=Object.keys(Nh);return Ir(e)&&n.every(r=>t.includes(typeof e[r]))}function jM(e,t){return e===void 0||t===void 0||e===0&&t===0}const VM=(e,t,n,r)=>{function o(a,l,u){if(jM(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)}},ds=e=>e.pathname||"/",$M=()=>class{constructor(t=ds){this.resolveRoute=t}listenForRouteChanges(t){}},BM=(e,t)=>class{constructor(r=ds){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(Ch(s.toString(),document.baseURI)),l=r(a,"pushState");e(u=>{l.end(u)})}o.apply(this,i)}}};class HM{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=_E(t.sendPageAttributes),s=new URL(this.location.href);this.onSettle(a=>{if(this.wasBackgrounded)return;const l=t.routingProvider.resolveRoute(s)||ds(s);o.name+=l,VM(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 zM=["http://","https://","/","./","../"];class GM{constructor(t,n,r,o){this.spanFactory=t,this.spanContextStorage=n,this.fetchTracker=r,this.xhrTracker=o,this.configEndpoint="",this.networkRequestCallback=mE,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&&zM.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=Dy(r,o,i),n.tracestate=ky(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=Dy(o,i,s),n.tracestate=ky(o)}return n}}function Dy(e,t,n){return`00-${e}-${t}-${n?"01":"00"}`}function ky(e){return`sb=v:1;r32:${dE(e)}`}function KM(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 qM(e){return e&&Array.isArray(e.supportedEntryTypes)&&e.supportedEntryTypes.includes("resource")}class WM{constructor(t,n,r){this.spanFactory=t,this.spanContextStorage=n,this.PerformanceObserverClass=r}configure(t){if(!qM(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=KM(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:YM,parentContext:XM,makeCurrentContext:JM}=pE,QM={startTime:YM,parentContext:XM,makeCurrentContext:JM,trigger:{getDefaultValue:e=>String(e),message:"should be a string",validate:Fc}};class ZM{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)||ds(n);const o=_E(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,QM),f=t.routingProvider.resolveRoute(l)||ds(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=Ir(p)?p:{endTime:p};if(o.title&&d.setAttribute("bugsnag.browser.page.title",this.document.title),h.url){const g=eF(h.url),v=t.routingProvider.resolveRoute(g)||ds(g);d.name=`[RouteChange]${v}`,d.setAttribute("bugsnag.browser.page.route",v),r=v,o.url&&d.setAttribute("bugsnag.browser.page.url",g.toString())}this.spanFactory.toPublicApi(d).end(h.endTime)}}})}}function eF(e){return typeof e=="string"?new URL(e):e}function tF(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 nF=3e5;function My(e,t){return Math.abs(Date.now()-(e+t.now()))>nF?Date.now()-t.now():e}function rF(e,t){const n=e.timeOrigin===void 0?e.timing.navigationStart:e.timeOrigin;let r=My(n,e);return t.onStateChange(o=>{o==="in-foreground"&&(r=My(r,e))}),{now:()=>e.now(),date:()=>new Date(r+e.now()),convert:o=>o.getTime()-r,toUnixTimestampNanoseconds:o=>fE(r+o).toString()}}const oF=e=>Ir(e)&&typeof e.resolveRoute=="function"&&typeof e.listenForRouteChanges=="function";function iF(e,t){return{...Qd,releaseStage:{...Qd.releaseStage,defaultValue:e==="localhost"?"development":"production"},autoInstrumentFullPageLoads:{defaultValue:!0,message:"should be true|false",validate:es},autoInstrumentNetworkRequests:{defaultValue:!0,message:"should be true|false",validate:es},autoInstrumentRouteChanges:{defaultValue:!0,message:"should be true|false",validate:es},generateAnonymousId:{defaultValue:!0,message:"should be true|false",validate:es},routingProvider:{defaultValue:t,message:"should be a routing provider",validate:oF},settleIgnoreUrls:{defaultValue:[],message:"should be an array of string|RegExp",validate:Uk},networkRequestCallback:{defaultValue:mE,message:"should be a function",validate:xM},sendPageAttributes:{defaultValue:Nh,message:"should be an object",validate:UM},serviceName:{defaultValue:"unknown_service",message:"should be a string",validate:fs}}}function sF(e){const t=e.toString(16);return t.length===1?"0"+t:t}const aF={generate(e){const t=new Uint8Array(e/8),n=window.crypto.getRandomValues(t);return Array.from(n).map(sF).join("")}};class Uc{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 lF extends Uc{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 uF(e){return!!e&&e.entryType==="navigation"}class cF extends Uc{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;uF(r)?o=r.loadEventEnd:t.timing&&(o=t.timing.loadEventEnd-t.timing.navigationStart),(o<=0||o>n)&&(o=n),this.settle(o)}}class Fy extends Uc{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 fF extends Uc{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 dF=60*1e3;function pF(){const e=()=>{};return e.configure=()=>{},e}function hF(e,t,n,r,o){const i=new lF(e,t.document),s=new Fy(e,n),a=new Fy(e,r),l=new cF(e,t.addEventListener,o,t.document),u=new fF(e,[i,l,s,a]);function c(f){const d=v=>{clearTimeout(p),u.unsubscribe(d),f(v)},p=setTimeout(()=>{const v=e.now();u.unsubscribe(d),f(v)},dF),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 gF(e){try{if(e.localStorage)return new yF(e.localStorage)}catch{}return new wM}function mF(e,t){switch(e){case"bugsnag-sampling-probability":return JSON.stringify(t);case"bugsnag-anonymous-id":return t;default:return e}}class yF{constructor(t){this.storage=t}async load(t){try{const n=this.storage.getItem(t);if(n)return SM(t,n)}catch{}}async save(t,n){try{this.storage.setItem(t,mF(t,n))}catch{}}}function vF(e,t){let n,r;return function(i){const s=new qk(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||gE();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 _F=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 bF{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 Xi,Cf,ep;if(typeof window>"u"||typeof document>"u")Xi=pF(),Cf=$M(),ep=yM();else{const e=tF(window),t=_F(document),n=rF(performance,e),r=gF(window),o=vF(navigator,r),i=PM(window,n),s=FM(XMLHttpRequest,n,document),a=new bF(performance,n,window.PerformanceObserver);Xi=hF(n,window,i,s,performance),Cf=BM(Xi,window.location),ep=mM({backgroundingListener:e,clock:n,resourceAttributesSource:o,spanAttributesSource:t,deliveryFactory:OM(window.fetch,n,e),idGenerator:aF,schema:iF(window.location.hostname,new Cf),plugins:(l,u)=>[Xi,new HM(document,window.location,l,a,Xi,e,performance),new WM(l,u,window.PerformanceObserver),new GM(l,u,i,s),new ZM(l,window.location,document)],persistence:r,retryQueueFactory:(l,u)=>new RM(l,u)})}const EF=ep;class TF{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");Xi(s=>{i.end(s)})})}}const wF=Gt(e=>{const n=kt().public.bugsnag,r=$t();n.performanceConfig.routingProvider=new TF(r);const o=EF.start(n);return e.vueApp.provide("bugsnag-performance",o),{provide:{bugsnagPerformance:o}}});var Nf={exports:{}},Uy;function SF(){return Uy||(Uy=1,function(e,t){(function(n){e.exports=n()})(function(){var n=["navigation","request","process","log","user","state","error","manual"],r=function(b,w,x){for(var R=x,k=0,z=b.length;k=b&&x<=w}},f=function(b){return typeof b=="function"||s(b)&&o(b,function(w){return typeof w=="function"}).length===b.length},d=function(b){return typeof b=="string"&&!!b.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(b){return b===void 0||d(b)}},appType:{defaultValue:function(){},message:"should be a string",validate:function(b){return b===void 0||d(b)}},autoDetectErrors:{defaultValue:function(){return!0},message:"should be true|false",validate:function(b){return b===!0||b===!1}},enabledErrorTypes:{defaultValue:function(){return h()},message:"should be an object containing the flags { unhandledExceptions:true|false, unhandledRejections:true|false }",allowPartialObject:!0,validate:function(b){if(typeof b!="object"||!b)return!1;var w=u(b),x=u(h());return!(o(w,function(R){return i(x,R)}).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(b){return typeof b>"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(b){return b&&typeof b=="object"&&d(b.notify)&&d(b.sessions)&&o(u(b),function(w){return!i(["notify","sessions"],w)}).length===0}},autoTrackSessions:{defaultValue:function(b){return!0},message:"should be true|false",validate:function(b){return b===!0||b===!1}},enabledReleaseStages:{defaultValue:function(){return null},message:"should be an array of strings",validate:function(b){return b===null||s(b)&&o(b,function(w){return typeof w=="string"}).length===b.length}},releaseStage:{defaultValue:function(){return"production"},message:"should be a string",validate:function(b){return typeof b=="string"&&b.length}},maxBreadcrumbs:{defaultValue:function(){return 25},message:"should be a number ≤100",validate:function(b){return c(0,100)(b)}},enabledBreadcrumbTypes:{defaultValue:function(){return n},message:"should be null or a list of available breadcrumb types ("+n.join(",")+")",validate:function(b){return b===null||s(b)&&r(b,function(w,x){return w===!1?w:i(n,x)},!0)}},context:{defaultValue:function(){},message:"should be a string",validate:function(b){return b===void 0||typeof b=="string"}},user:{defaultValue:function(){return{}},message:"should be an object with { id, email, name } properties",validate:function(b){return b===null||b&&r(u(b),function(w,x){return w&&i(["id","email","name"],x)},!0)}},metadata:{defaultValue:function(){return{}},message:"should be an object",validate:function(b){return typeof b=="object"&&b!==null}},logger:{defaultValue:function(){},message:"should be null or an object with methods { debug, info, warn, error }",validate:function(b){return!b||b&&r(["debug","info","warn","error"],function(w,x){return w&&typeof b[x]=="function"},!0)}},redactedKeys:{defaultValue:function(){return["password"]},message:"should be an array of strings|regexes",validate:function(b){return s(b)&&b.length===o(b,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(b){return s(b)&&b.length===o(b,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(b){return s(b)&&b.length===o(b,function(w){return w&&typeof w=="object"&&typeof w.name=="string"}).length}},reportUnhandledPromiseRejectionsAsHandled:{defaultValue:function(){return!1},message:"should be true|false",validate:function(b){return b===!0||b===!1}},sendPayloadChecksums:{defaultValue:function(){return!1},message:"should be true|false",validate:function(b){return b===!0||b===!1}}};var g=function(b){for(var w=1;w-1&&(Z=Z.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));var he=Z.replace(/^\s+/,"").replace(/\(eval code/g,"("),ye=he.match(/ (\((.+):(\d+):(\d+)\)$)/);he=ye?he.replace(ye[0],""):he;var Le=he.split(/\s+/).slice(1),Pe=this.extractLocation(ye?ye[1]:Le.pop()),Ie=Le.join(" ")||void 0,je=["eval",""].indexOf(Pe[0])>-1?void 0:Pe[0];return new w({functionName:Ie,fileName:je,lineNumber:Pe[1],columnNumber:Pe[2],source:Z})},this)},parseFFOrSafari:function($){var ue=$.stack.split(` `).filter(function(Z){return!Z.match(k)},this);return ue.map(function(Z){if(Z.indexOf(" > eval")>-1&&(Z=Z.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),Z.indexOf("@")===-1&&Z.indexOf(":")===-1)return new w({functionName:Z});var he=/((.*".+"[^@]*)?[^@]*)(?:@)/,ye=Z.match(he),Le=ye&&ye[1]?ye[1]:void 0,Pe=this.extractLocation(Z.replace(he,""));return new w({functionName:Le,fileName:Pe[0],lineNumber:Pe[1],columnNumber:Pe[2],source:Z})},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,Z=$.message.split(` `),he=[],ye=2,Le=Z.length;ye/,"$2").replace(/\([^)]*\)/g,"")||void 0,Ie;Le.match(/\(([^)]*)\)/)&&(Ie=Le.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var je=Ie===void 0||Ie==="[arguments not available]"?void 0:Ie.split(",");return new w({functionName:Pe,args:je,fileName:ye[0],lineNumber:ye[1],columnNumber:ye[2],source:Z})},this)}}});var j=M,B=function(b,w,x,R){var k=R&&R.redactedKeys?R.redactedKeys:[],z=R&&R.redactedPaths?R.redactedPaths:[];return JSON.stringify(He(b,k,z),w,x)},H=20,le=25e3,Te=8,ke="...";function pe(b){return b instanceof Error||/^\[object (Error|(Dom)?Exception)\]$/.test(Object.prototype.toString.call(b))}function ge(b){return"[Throws: "+(b?b.message:"?")+"]"}function re(b,w){for(var x=0,R=b.length;xTe&&k>le}if(k++,ue.length>H||Z())return ke;if($===null||typeof $!="object")return $;if(re(R,$))return"[Circular]";if(R.push($),typeof $.toJSON=="function")try{k--;var he=z($.toJSON(),ue);return R.pop(),he}catch(et){return ge(et)}var ye=pe($);if(ye){k--;var Le=z({name:$.name,message:$.message},ue);return R.pop(),Le}if(Ae($)){for(var Pe=[],Ie=0,je=$.length;Ie-1&&!w.file&&!w.method&&(w.file="global code"),w},U=function(b){return/^global code$/i.test(b)?"global code":b},K=function(){return{unhandled:!1,severity:"warning",severityReason:{type:"handledException"}}},ee=function(b){return typeof b=="string"?b:""};function Q(b,w,x,R){return{errorClass:ee(b),errorMessage:ee(w),type:x,stacktrace:r(R,function(k,z){var $=N(z);try{return JSON.stringify($)==="{}"?k:k.concat($)}catch{return k}},[])}}function I(b){return b.cause?[b].concat(I(b.cause)):[b]}O.getStacktrace=function(b,w,x){if(ae(b))return j.parse(b).slice(w);try{return o(D.backtrace(),function(R){return(R.functionName||"").indexOf("StackGenerator$$")===-1}).slice(1+x)}catch{return[]}},O.create=function(b,w,x,R,k,z){k===void 0&&(k=0);var $=G(b,w,R,z),ue=$[0],Z=$[1],he;try{var ye=O.getStacktrace(ue,Z>0?1+Z+k:0,1+k);he=new O(ue.name,ue.message,ye,x,b)}catch{he=new O(ue.name,ue.message,[],x,b)}if(ue.name==="InvalidError"&&he.addMetadata(""+R,"non-error parameter",P(b)),ue.cause){var Le,Pe=I(ue).slice(1),Ie=v(Pe,function(je){var ut=ze(je)&&ae(je)?j.parse(je):[],Me=G(je,!0,"error cause"),et=Me[0];return et.name==="InvalidError"&&he.addMetadata("error cause",P(je)),Q(et.name,et.message,O.__type,ut)});(Le=he.errors).push.apply(Le,Ie)}return he};var P=function(b){return b===null?"null":b===void 0?"undefined":b},G=function(b,w,x,R){var k,z=0,$=function(ue){var Z=x==="error cause"?"was":"received";R&&R.warn(x+" "+Z+' a non-error: "'+ue+'"');var he=new Error(x+" "+Z+' a non-error. See "'+x+'" tab for more detail.');return he.name="InvalidError",he};if(!w)ze(b)?k=b:(k=$(typeof b),z+=2);else switch(typeof b){case"string":case"number":case"boolean":k=new Error(String(b)),z+=1;break;case"function":k=$("function"),z+=2;break;case"object":b!==null&&ze(b)?k=b:b!==null&&oe(b)?(k=new Error(b.message||b.errorMessage),k.name=b.name||b.errorClass,z+=1):(k=$(b===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]};O.__type="browserjs";var oe=function(b){return(typeof b.name=="string"||typeof b.errorClass=="string")&&(typeof b.message=="string"||typeof b.errorMessage=="string")},fe=O,be=function(b,w,x){var R=0,k=function(){if(R>=b.length)return x(null,!0);w(b[R],function(z,$){if(z)return x(z);if($===!1)return x(null,!1);R++,k()})};k()},Ye=function(b,w,x,R){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(Z){return setTimeout(function(){return $(null,Z)})},function(Z){setTimeout(function(){return x(Z),$(null,!0)})}):$(null,ue)}z(w,function(Z,he){if(Z)return x(Z),$(null);$(null,he)})}catch(Z){x(Z),$(null)}};be(b,k,R)},nt=function(b,w,x,R){for(var k=!1,z=b.slice();!k&&z.length;)try{k=z.pop()(w)===!1}catch($){R.error("Error occurred in "+x+" callback, continuing anyway…"),R.error($)}return k},Ue=function(w,x){var R="000000000"+w;return R.substr(R.length-x)},we=typeof window=="object"?window:self,At=0;for(var In in we)Object.hasOwnProperty.call(we,In)&&At++;var Bt=navigator.mimeTypes?navigator.mimeTypes.length:0,mn=Ue((Bt+navigator.userAgent.length).toString(36)+At.toString(36),4),ii=function(){return mn},to=function(w){return typeof w=="string"&&/^c[a-z0-9]{20,32}$/.test(w)},Or=0,Ds=4,xr=36,ul=Math.pow(xr,Ds);function cl(){return Ue((Math.random()*ul<<0).toString(xr),Ds)}function Kt(){return Or=Orthis._config.maxBreadcrumbs&&(this._breadcrumbs=this._breadcrumbs.slice(this._breadcrumbs.length-this._config.maxBreadcrumbs))}},w._isBreadcrumbTypeEnabled=function(R){var k=this._config.enabledBreadcrumbTypes;return k===null||i(k,R)},w.notify=function(R,k,z){z===void 0&&(z=Jt);var $=fe.create(R,!0,void 0,"notify()",this._depth+1,this._logger);this._notify($,k,z)},w._notify=function(R,k,z){var $=this;if(z===void 0&&(z=Jt),R.app=g({},R.app,{releaseStage:this._config.releaseStage,version:this._config.appVersion,type:this._config.appType}),R.context=R.context||this._context,R._metadata=g({},R._metadata,this._metadata),R._user=g({},R._user,this._user),R.breadcrumbs=this._breadcrumbs.slice(),ks(R._features,this._features,R._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,R);var ue=R.severity,Z=function(ye){$._logger.error("Error occurred in onError callback, continuing anyway…"),$._logger.error(ye)},he=[].concat(this._cbs.e).concat(k);Ye(he,R,Z,function(ye,Le){if(ye&&Z(ye),!Le)return $._logger.debug("Event not sent due to onError callback"),z(null,R);$._isBreadcrumbTypeEnabled("error")&&b.prototype.leaveBreadcrumb.call($,R.errors[0].errorClass,{errorClass:R.errors[0].errorClass,errorMessage:R.errors[0].errorMessage,severity:R.severity},"error"),ue!==R.severity&&(R._handledState.severityReason={type:"userCallbackSetSeverity"}),R.unhandled!==R._handledState.unhandled&&(R._handledState.severityReason.unhandledOverridden=!0,R._handledState.unhandled=R.unhandled),$._session&&($._session._track(R),R._session=$._session),$._delivery.sendEvent({apiKey:R.apiKey||$._config.apiKey,notifier:$._notifier,events:[R]},function(Pe){return z(Pe,R)})})},b}(),gl=function(b,w){var x=new Error(`Invalid configuration `+v(u(b),function(R){return" - "+R+" "+b[R]+", got "+ml(w[R])}).join(` `));return x},ml=function(b){switch(typeof b){case"string":case"number":case"object":return JSON.stringify(b);default:return String(b)}},ai=Mi,no={},sr=["events.[].metaData","events.[].breadcrumbs.[].metaData","events.[].request"];no.event=function(b,w){var x=B(b,null,null,{redactedPaths:sr,redactedKeys:w});return x.length>1e6&&(b.events[0]._metadata={notifier:`WARNING! Serialized payload was `+x.length/1e6+`MB (limit = 1MB) metadata was removed`},x=B(b,null,null,{redactedPaths:sr,redactedKeys:w})),x},no.session=function(b,w){var x=B(b,null,null);return x};var Fi={};Fi=function(b,w){return w===void 0&&(w=window),{sendEvent:function(x,R){if(R===void 0&&(R=function(){}),b._config.endpoints.notify===null){var k=new Error("Event not sent due to incomplete endpoint configuration");return R(k)}var z=Ms(b._config,"notify","4",w),$=no.event(x,b._config.redactedKeys),ue=new w.XDomainRequest;ue.onload=function(){R(null)},ue.onerror=function(){var Z=new Error("Event failed to send");b._logger.error("Event failed to send…",Z),$.length>1e6&&b._logger.warn("Event oversized ("+($.length/1e6).toFixed(2)+" MB)"),R(Z)},ue.open("POST",z),setTimeout(function(){try{ue.send($)}catch(Z){b._logger.error(Z),R(Z)}},0)},sendSession:function(x,R){if(R===void 0&&(R=function(){}),b._config.endpoints.sessions===null){var k=new Error("Session not sent due to incomplete endpoint configuration");return R(k)}var z=Ms(b._config,"sessions","1",w),$=new w.XDomainRequest;$.onload=function(){R(null)},$.open("POST",z),setTimeout(function(){try{$.send(no.session(x,b._config.redactedKeys))}catch(ue){b._logger.error(ue),R(ue)}},0)}}};var Ms=function(b,w,x,R){var k=JSON.parse(JSON.stringify(new Date)),z=yl(b.endpoints[w],R.location.protocol);return z+"?apiKey="+encodeURIComponent(b.apiKey)+"&payloadVersion="+x+"&sentAt="+encodeURIComponent(k)},yl=Fi._matchPageProtocol=function(b,w){return w==="http:"?b.replace(/^https:/,"http:"):b};function Fs(b,w){if(b.isSecureContext&&b.crypto&&b.crypto.subtle&&b.crypto.subtle.digest&&typeof TextEncoder=="function"){var x=new TextEncoder().encode(w);return b.crypto.subtle.digest("SHA-1",x).then(function(R){var k=Array.from(new Uint8Array(R)),z=k.map(function($){return $.toString(16).padStart(2,"0")}).join("");return"sha1 "+z})}return Promise.resolve()}var Gc=function(b,w){return w===void 0&&(w=window),{sendEvent:function(x,R){R===void 0&&(R=function(){});try{var k=b._config.endpoints.notify;if(k===null){var z=new Error("Event not sent due to incomplete endpoint configuration");return R(z)}var $=new w.XMLHttpRequest,ue=no.event(x,b._config.redactedKeys);$.onreadystatechange=function(){if($.readyState===w.XMLHttpRequest.DONE){var Z=$.status;if(Z===0||Z>=400){var he=new Error("Request failed with status "+Z);b._logger.error("Event failed to send…",he),ue.length>1e6&&b._logger.warn("Event oversized ("+(ue.length/1e6).toFixed(2)+" MB)"),R(he)}else R(null)}},$.open("POST",k),$.setRequestHeader("Content-Type","application/json"),$.setRequestHeader("Bugsnag-Api-Key",x.apiKey||b._config.apiKey),$.setRequestHeader("Bugsnag-Payload-Version","4"),$.setRequestHeader("Bugsnag-Sent-At",new Date().toISOString()),b._config.sendPayloadChecksums&&typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1?Fs(w,ue).then(function(Z){Z&&$.setRequestHeader("Bugsnag-Integrity",Z),$.send(ue)}).catch(function(Z){b._logger.error(Z),$.send(ue)}):$.send(ue)}catch(Z){b._logger.error(Z)}},sendSession:function(x,R){R===void 0&&(R=function(){});try{var k=b._config.endpoints.sessions;if(k===null){var z=new Error("Session not sent due to incomplete endpoint configuration");return R(z)}var $=new w.XMLHttpRequest,ue=no.session(x,b._config.redactedKeys);$.onreadystatechange=function(){if($.readyState===w.XMLHttpRequest.DONE){var Z=$.status;if(Z===0||Z>=400){var he=new Error("Request failed with status "+Z);b._logger.error("Session failed to send…",he),R(he)}else R(null)}},$.open("POST",k),$.setRequestHeader("Content-Type","application/json"),$.setRequestHeader("Bugsnag-Api-Key",b._config.apiKey),$.setRequestHeader("Bugsnag-Payload-Version","1"),$.setRequestHeader("Bugsnag-Sent-At",new Date().toISOString()),b._config.sendPayloadChecksums&&typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1?Fs(w,ue).then(function(Z){Z&&$.setRequestHeader("Bugsnag-Integrity",Z),$.send(ue)}).catch(function(Z){b._logger.error(Z),$.send(ue)}):$.send(ue)}catch(Z){b._logger.error(Z)}}}},Ne=new Date,F=function(){Ne=new Date},de={name:"appDuration",load:function(b){return b.addOnError(function(w){var x=new Date;w.app.duration=x-Ne},!0),{reset:F}}},Re=function(b){return b===void 0&&(b=window),{load:function(w){w.addOnError(function(x){x.context===void 0&&(x.context=b.location.pathname)},!0)}}},xt="bugsnag-anonymous-id",nn=function(b){try{var w=b.localStorage,x=w.getItem(xt);return x&&/^c[a-z0-9]{20,32}$/.test(x)||(x=fl(),w.setItem(xt,x)),x}catch{}},Qt=function(b,w){return b===void 0&&(b=navigator),w===void 0&&(w=window),{load:function(x){var R={locale:b.browserLanguage||b.systemLanguage||b.userLanguage||b.language,userAgent:b.userAgent};w&&w.screen&&w.screen.orientation&&w.screen.orientation.type?R.orientation=w.screen.orientation.type:w&&w.document&&(R.orientation=w.document.documentElement.clientWidth>w.document.documentElement.clientHeight?"landscape":"portrait"),x._config.generateAnonymousId&&(R.id=nn(w)),x.addOnSession(function(k){k.device=g({},k.device,R),x._config.collectUserIp||ln(k)}),x.addOnError(function(k){k.device=g({},k.device,R,{time:new Date}),x._config.collectUserIp||ln(k)},!0)},configSchema:{generateAnonymousId:{validate:function(x){return x===!0||x===!1},defaultValue:function(){return!0},message:"should be true|false"}}}},ln=function(b){var w=b.getUser();(!w||!w.id)&&b.setUser(b.device.id)},ar=function(b){return b===void 0&&(b=window),{load:function(w){w.addOnError(function(x){x.request&&x.request.url||(x.request=g({},x.request,{url:b.location.href}))},!0)}}},li={load:function(b){b._sessionDelegate=un}},un={startSession:function(b,w){var x=b;return x._session=w,x._pausedSession=null,x._config.enabledReleaseStages!==null&&!i(x._config.enabledReleaseStages,x._config.releaseStage)?(x._logger.warn("Session not sent due to releaseStage/enabledReleaseStages configuration"),x):(x._delivery.sendSession({notifier:x._notifier,device:w.device,app:w.app,sessions:[{id:w.id,startedAt:w.startedAt,user:w._user}]}),x)},resumeSession:function(b){return b._session?b:b._pausedSession?(b._session=b._pausedSession,b._pausedSession=null,b):b.startSession()},pauseSession:function(b){b._pausedSession=b._session,b._session=null}},vl={load:function(b){b._config.collectUserIp||b.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(b){return b===!0||b===!1}}}},Us={};Us.load=function(b){var w=/^(local-)?dev(elopment)?$/.test(b._config.releaseStage);w||!b._isBreadcrumbTypeEnabled("log")||v(dT,function(x){var R=console[x];console[x]=function(){for(var k=arguments.length,z=new Array(k),$=0;$"].concat(k.split(` `)),Ht=Me-1,Mt=Math.max(Ht-3,0),Zt=Math.min(Ht+3,et.length);return r(et.slice(Mt,Zt),function(Ft,Nr,js){return Ft[Mt+1+js]=Nr.length<=Gh?Nr:Nr.substr(0,Gh),Ft},{})};x.addOnError(function(Me){Me.errors[0].stacktrace=o(Me.errors[0].stacktrace,function(Ft){return!/__trace__$/.test(Ft.method)});var et=Me.errors[0].stacktrace[0],Ht=function(Ft){return Ft.replace(/#.*$/,"").replace(/\?.*$/,"")};if(!(et&&et.file&&Ht(et.file)!==Ht(R))){var Mt=Le();if(Mt){var Zt=Mt.innerHTML;Me.addMetadata("script","content",Zt.length<=Kh?Zt:Zt.substr(0,Kh)),et&&et.lineNumber&&(et.code=Pe(et.lineNumber))}}},!0);var Ie=v(["setTimeout","setInterval","setImmediate","requestAnimationFrame"],function(Me){return Kc(w,Me,function(et){return ut(et,function(Ht){return{get:function(){return Ht[0]},replace:function(Mt){Ht[0]=Mt}}})})}),je=Ie[0];v(["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(Me){!w[Me]||!w[Me].prototype||!Object.prototype.hasOwnProperty.call(w[Me].prototype,"addEventListener")||(Kc(w[Me].prototype,"addEventListener",function(et){return ut(et,qh)}),Kc(w[Me].prototype,"removeEventListener",function(et){return ut(et,qh,!0)}))});function ut(Me,et,Ht){return Ht===void 0&&(Ht=!1),function(){var Mt=[].slice.call(arguments);try{var Zt=et(Mt),Ft=Zt.get();if(Ht&&Me.apply(this,Mt),typeof Ft!="function")return Me.apply(this,Mt);if(Ft.__trace__)Zt.replace(Ft.__trace__);else{var Nr=Le();Ft.__trace__=function(){ye(Nr),je(function(){ye(null)},0);var OT=Ft.apply(this,arguments);return ye(null),OT},Ft.__trace__.__trace__=Ft.__trace__,Zt.replace(Ft.__trace__)}}catch{}if(Me.apply)return Me.apply(this,Mt);switch(Mt.length){case 1:return Me(Mt[0]);case 2:return Me(Mt[0],Mt[1]);default:return Me()}}}},configSchema:{trackInlineScripts:{validate:function(x){return x===!0||x===!1},defaultValue:function(){return!0},message:"should be true|false"}}}};function Kc(b,w,x){var R=b[w];if(!R)return R;var k=x(R);return b[w]=k,R}function qh(b){var w=!!b[1]&&typeof b[1].handleEvent=="function";return{get:function(){return w?b[1].handleEvent:b[1]},replace:function(x){w?b[1].handleEvent=x:b[1]=x}}}var hT=function(b){return b===void 0&&(b=window),{load:function(w){"addEventListener"in b&&w._isBreadcrumbTypeEnabled("user")&&b.addEventListener("click",function(x){var R,k;try{R=mT(x.target),k=Wh(x.target,b)}catch{R="[hidden]",k="[hidden]",w._logger.error("Cross domain error when tracking click event. See docs: https://tinyurl.com/yy3rn63z")}w.leaveBreadcrumb("UI click",{targetText:R,targetSelector:k},"user")},!0)}}},gT=/^\s*([^\s][\s\S]{0,139}[^\s])?\s*/;function mT(b){var w=b.textContent||b.innerText||"";return!w&&(b.type==="submit"||b.type==="button")&&(w=b.value),w=w.replace(gT,"$1"),w.length>140?w.slice(0,135)+"(...)":w}function Wh(b,w){var x=[b.tagName];if(b.id&&x.push("#"+b.id),b.className&&b.className.length&&x.push("."+b.className.split(" ").join(".")),!w.document.querySelectorAll||!Array.prototype.indexOf)return x.join("");try{if(w.document.querySelectorAll(x.join("")).length===1)return x.join("")}catch{return x.join("")}if(b.parentNode.childNodes.length>1){var R=Array.prototype.indexOf.call(b.parentNode.childNodes,b)+1;x.push(":nth-child("+R+")")}return w.document.querySelectorAll(x.join("")).length===1?x.join(""):b.parentNode?Wh(b.parentNode,w)+" > "+x.join(""):x.join("")}var Yh={};Yh=function(b){b===void 0&&(b=window);var w={load:function(x){if("addEventListener"in b&&x._isBreadcrumbTypeEnabled("navigation")){var R=function(k){return function(){return x.leaveBreadcrumb(k,{},"navigation")}};b.addEventListener("pagehide",R("Page hidden"),!0),b.addEventListener("pageshow",R("Page shown"),!0),b.addEventListener("load",R("Page loaded"),!0),b.document.addEventListener("DOMContentLoaded",R("DOMContentLoaded"),!0),b.addEventListener("load",function(){return b.addEventListener("popstate",R("Navigated back"),!0)}),b.addEventListener("hashchange",function(k){var z=k.oldURL?{from:_l(k.oldURL,b),to:_l(k.newURL,b),state:Jh(b)}:{to:_l(b.location.href,b)};x.leaveBreadcrumb("Hash changed",z,"navigation")},!0),b.history.pushState&&Xh(x,b.history,"pushState",b,!0),b.history.replaceState&&Xh(x,b.history,"replaceState",b)}}};return w};var _l=function(b,w){var x=w.document.createElement("A");return x.href=b,""+x.pathname+x.search+x.hash},yT=function(b,w,x,R){var k=_l(b.location.href,b);return{title:x,state:w,prevState:Jh(b),to:R||k,from:k}},Xh=function(b,w,x,R,k){k===void 0&&(k=!1);var z=w[x];w[x]=function($,ue,Z){b.leaveBreadcrumb("History "+x,yT(R,$,ue,Z),"navigation"),k&&typeof b.resetEventCount=="function"&&b.resetEventCount(),z.apply(w,[$,ue].concat(Z!==void 0?Z:[]))}},Jh=function(b){try{return b.history.state}catch{}},Ui="request",vT=function(b,w){b===void 0&&(b=[]),w===void 0&&(w=window);var x={load:function(R){if(!R._isBreadcrumbTypeEnabled("request"))return;var k=[R._config.endpoints.notify,R._config.endpoints.sessions].concat(b);z(),Z();function z(){if(!(!("addEventListener"in w.XMLHttpRequest.prototype)||!("WeakMap"in w))){var Le=new WeakMap,Pe=new WeakMap,Ie=w.XMLHttpRequest.prototype.open;w.XMLHttpRequest.prototype.open=function(Me,et){this&&Le.set(this,{method:Me,url:et}),Ie.apply(this,arguments)};var je=w.XMLHttpRequest.prototype.send;w.XMLHttpRequest.prototype.send=function(Me){var et=this,Ht=Le.get(this);if(Ht){var Mt=Pe.get(this);Mt&&(this.removeEventListener("load",Mt.load),this.removeEventListener("error",Mt.error));var Zt=new Date,Ft=function(){return ue(Ht.method,Ht.url,bl(Zt))},Nr=function(){return $(Ht.method,Ht.url,et.status,bl(Zt))};this.addEventListener("load",Nr),this.addEventListener("error",Ft),this&&Pe.set(this,{load:Nr,error:Ft})}je.apply(this,arguments)}}}function $(Le,Pe,Ie,je){if(Pe===void 0){R._logger.warn("The request URL is no longer present on this XMLHttpRequest. A breadcrumb cannot be left for this request.");return}if(!(typeof Pe=="string"&&i(k,Pe.replace(/\?.*$/,"")))){var ut={status:Ie,method:String(Le),url:String(Pe),duration:je};Ie>=400?R.leaveBreadcrumb("XMLHttpRequest failed",ut,Ui):R.leaveBreadcrumb("XMLHttpRequest succeeded",ut,Ui)}}function ue(Le,Pe,Ie){if(Pe===void 0){R._logger.warn("The request URL is no longer present on this XMLHttpRequest. A breadcrumb cannot be left for this request.");return}typeof Pe=="string"&&i(k,Pe.replace(/\?.*$/,""))||R.leaveBreadcrumb("XMLHttpRequest error",{method:String(Le),url:String(Pe),duration:Ie},Ui)}function Z(){if(!(!("fetch"in w)||w.fetch.polyfill)){var Le=w.fetch;w.fetch=function(){var Ie=arguments,je=arguments[0],ut=arguments[1],Me,et=null;return je&&typeof je=="object"?(et=je.url,ut&&"method"in ut?Me=ut.method:je&&"method"in je&&(Me=je.method)):(et=je,ut&&"method"in ut&&(Me=ut.method)),Me===void 0&&(Me="GET"),new Promise(function(Ht,Mt){var Zt=new Date;Le.apply(void 0,Ie).then(function(Ft){he(Ft,Me,et,bl(Zt)),Ht(Ft)}).catch(function(Ft){ye(Me,et,bl(Zt)),Mt(Ft)})})}}}var he=function(Le,Pe,Ie,je){var ut={method:String(Pe),status:Le.status,url:String(Ie),duration:je};Le.status>=400?R.leaveBreadcrumb("fetch() failed",ut,Ui):R.leaveBreadcrumb("fetch() succeeded",ut,Ui)},ye=function(Le,Pe,Ie){R.leaveBreadcrumb("fetch() error",{method:String(Le),url:String(Pe),duration:Ie},Ui)}}};return x},bl=function(b){return b&&new Date-b},_T={load:function(b){var w=0;b.addOnError(function(x){if(w>=b._config.maxEvents)return b._logger.warn("Cancelling event send due to maxEvents per session limit of "+b._config.maxEvents+" being reached"),!1;w++}),b.resetEventCount=function(){w=0}},configSchema:{maxEvents:{defaultValue:function(){return 10},message:"should be a positive integer ≤100",validate:function(b){return c(1,100)(b)}}}},qc={};qc={load:function(b){b.addOnError(function(w){var x=r(w.errors,function(R,k){return R.concat(k.stacktrace)},[]);v(x,function(R){R.file=bT(R.file)})})}};var bT=qc._strip=function(b){return typeof b=="string"?b.replace(/\?.*$/,"").replace(/#.*$/,""):b},ET=function(b,w){return b===void 0&&(b=window),w===void 0&&(w="window onerror"),{load:function(x){if(!x._config.autoDetectErrors||!x._config.enabledErrorTypes.unhandledExceptions)return;function R(z,$,ue,Z,he){if(ue===0&&/Script error\.?/.test(z))x._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"}},Le;if(he)Le=x.Event.create(he,!0,ye,w,1),Qh(Le.errors[0].stacktrace,$,ue,Z);else if(typeof z=="object"&&z!==null&&(!$||typeof $!="string")&&!ue&&!Z&&!he){var Pe=z.type?"Event: "+z.type:"Error",Ie=z.message||z.detail||"";Le=x.Event.create({name:Pe,message:Ie},!0,ye,w,1),Le.originalError=z,Le.addMetadata(w,{event:z,extraParameters:$})}else Le=x.Event.create(z,!0,ye,w,1),Qh(Le.errors[0].stacktrace,$,ue,Z);x._notify(Le)}typeof k=="function"&&k.apply(this,arguments)}var k=b.onerror;b.onerror=R}}},Qh=function(b,w,x,R){b[0]||b.push({});var k=b[0];!k.file&&typeof w=="string"&&(k.file=w),!k.lineNumber&&Wc(x)&&(k.lineNumber=x),k.columnNumber||(Wc(R)?k.columnNumber=R:window.event&&Wc(window.event.errorCharacter)&&(k.columnNumber=window.event.errorCharacter))},Wc=function(b){return typeof b=="number"&&String.call(b)!=="NaN"},TT=function(b){b===void 0&&(b=window);var w={load:function(x){if(!(!x._config.autoDetectErrors||!x._config.enabledErrorTypes.unhandledRejections)){var R=function(k){var z=k.reason,$=!1;try{k.detail&&k.detail.reason&&(z=k.detail.reason,$=!0)}catch{}var ue=!x._config.reportUnhandledPromiseRejectionsAsHandled,Z=x.Event.create(z,!1,{severity:"error",unhandled:ue,severityReason:{type:"unhandledPromiseRejection"}},"unhandledrejection handler",1,x._logger);$&&v(Z.errors[0].stacktrace,wT(z)),x._notify(Z,function(he){if(ze(he.originalError)&&!he.originalError.stack){var ye;he.addMetadata("unhandledRejection handler",(ye={},ye[Object.prototype.toString.call(he.originalError)]={name:he.originalError.name,message:he.originalError.message,code:he.originalError.code},ye))}})};"addEventListener"in b?b.addEventListener("unhandledrejection",R):b.onunhandledrejection=function(k,z){R({detail:{reason:k,promise:z}})}}}};return w},wT=function(b){return function(w){w.file!==b.toString()&&w.method&&(w.method=w.method.replace(/^\s+/,""))}},ui={},ST="Bugsnag JavaScript",AT="8.2.0",RT="https://github.com/bugsnag/bugsnag-js",IT=g({},p.schema,y),On={_client:null,createClient:function(b){typeof b=="string"&&(b={apiKey:b}),b||(b={});var w=[de,Qt(),Re(),ar(),_T,li,vl,qc,ET(),TT(),Yh(),hT(),vT(),Us,pT()],x=new ai(b,IT,w,{name:ST,version:AT,url:RT});return x._setDelivery(window.XDomainRequest?Fi:Gc),x._logger.debug("Loaded!"),x.leaveBreadcrumb("Bugsnag loaded",{},"state"),x._config.autoTrackSessions?x.startSession():x},start:function(b){return On._client?(On._client._logger.warn("Bugsnag.start() was called more than once. Ignoring."),On._client):(On._client=On.createClient(b),On._client)},isStarted:function(){return On._client!=null}};return v(["resetEventCount"].concat(u(ai.prototype)),function(b){/^_/.test(b)||(On[b]=function(){if(!On._client)return console.log("Bugsnag."+b+"() was called before Bugsnag.start()");On._client._depth+=1;var w=On._client[b].apply(On._client,arguments);return On._client._depth-=1,w})}),ui=On,ui.Client=ai,ui.Event=fe,ui.Session=si,ui.Breadcrumb=A,ui.default=On,ui})}(Nf)),Nf.exports}var Lf,jy;function AF(){return jy||(jy=1,Lf=SF()),Lf}var RF=AF();const Pf=xs(RF);var Df={exports:{}},Vy;function IF(){return Vy||(Vy=1,function(e,t){(function(n){e.exports=n()})(function(){var n=this,r,o=function(h,g){var v=h.config.errorHandler,m=function(E,y,_){var T={severity:"error",unhandled:!0,severityReason:{type:"unhandledException"}},A=g.Event.create(E,!0,T,"vue error handler",1),S=typeof _=="string"&&_.indexOf("runtime-")>0?_.split("runtime-")[1]:_,D=l[S]||_;A.addMetadata("vue",{errorInfo:D,component:y?i(y):void 0,props:y&&y.$options?y.$options.propsData:void 0}),g._notify(A),typeof console<"u"&&typeof console.error=="function"&&console.error(E),typeof v=="function"&&v.call(n,E,y,_)};h.config.errorHandler=m};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 v=h.config.errorHandler,m=function(E,y,_){var T={severity:"error",unhandled:!0,severityReason:{type:"unhandledException"}},A=g.Event.create(E,!0,T,"vue error handler",1);A.addMetadata("vue",{errorInfo:_,component:y?f(y,!0):void 0,props:y?y.$options.propsData:void 0}),g._notify(A),typeof console<"u"&&typeof console.error=="function"&&console.error(E),typeof v=="function"&&v.call(c,E,y,_)};h.config.errorHandler=m};var f=function(h,g){if(h.$root===h)return"";var v=typeof h=="function"&&h.cid!=null?h.options:h._isVue?h.$options||h.constructor.options:h||{},m=v.name||v._componentTag,E=v.__file;if(!m&&E){var y=E.match(/([^/\\]+)\.vue$/);m=y&&y[1]}return(m?"<"+d(m)+">":"")+(E&&g!==!1?" at "+E:"")},d=u.classify=function(h){return h.replace(/(?:^|[-_])(\w)/g,function(g){return g.toUpperCase()}).replace(/[-_]/g,"")},p={};return p=function(){function h(){var v=typeof window<"u"&&window.Vue;if(this.name="vue",this.lazy=arguments.length===0&&!v,!this.lazy&&(this.Vue=(arguments.length<=0?void 0:arguments[0])||v,!this.Vue))throw new Error("@bugsnag/plugin-vue reference to `Vue` was undefined")}var g=h.prototype;return g.load=function(m){return this.Vue&&this.Vue.config?(u(this.Vue,m),{installVueErrorHandler:function(){return m._logger.warn("installVueErrorHandler() was called unnecessarily")}}):{install:function(E){E||m._logger.error(new Error("@bugsnag/plugin-vue reference to Vue `app` was undefined")),o(E,m)},installVueErrorHandler:function(E){E||m._logger.error(new Error("@bugsnag/plugin-vue reference to `Vue` was undefined")),u(E,m)}}},h}(),p.default=p,p})}(Df)),Df.exports}var OF=IF();const xF=xs(OF);function CF(e){const t={...e};return t.plugins=[...t.plugins||[],new xF],t.onError=n=>{n.errors[0].stacktrace=n.errors[0].stacktrace.map(r=>(r.file=r.file.replace("file://",""),r))},t}function NF(...e){throw new Error(e)}const LF={notify:NF},PF=Gt(e=>{const n=CF(kt().public.bugsnag);let r=Pf._client;if(r===null)try{r=Pf.start(n)}catch{return console.log("[Bugsnag] started in mock mode"),{provide:{bugsnag:LF}}}e.vueApp.provide("bugsnag-client",r);const o=Pf.getPlugin("vue");return o!==void 0&&e.vueApp.use(o),{provide:{bugsnag:r}}}),DF=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{}}},kF=(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())})})}},MF="301263",$y="sbEditLink",FF=Gt(e=>{if(!(gu()||a0()))return;const t=n=>{var r;try{return JSON.parse((r=DF(n))==null?void 0:r["data-blok-c"])}catch{return{}}};sh({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==null?void 0: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=`${$y}-${a}`,u.textContent=gu()&&s!==o?"Edit ⤴️":"Edit",u.target=gu()&&s===o?"_parent":"_blank",u.href=`https://app.storyblok.com/#/me/spaces/${MF}/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"),o=document.getElementById(`${$y}-${r}`);o==null||o.remove()}})});let Gl;const UF=new Uint8Array(16);function jF(){if(!Gl&&(Gl=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Gl))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Gl(UF)}const cn=[];for(let e=0;e<256;++e)cn.push((e+256).toString(16).slice(1));function VF(e,t=0){return cn[e[t+0]]+cn[e[t+1]]+cn[e[t+2]]+cn[e[t+3]]+"-"+cn[e[t+4]]+cn[e[t+5]]+"-"+cn[e[t+6]]+cn[e[t+7]]+"-"+cn[e[t+8]]+cn[e[t+9]]+"-"+cn[e[t+10]]+cn[e[t+11]]+cn[e[t+12]]+cn[e[t+13]]+cn[e[t+14]]+cn[e[t+15]]}const $F=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),By={randomUUID:$F};function BF(e,t,n){if(By.randomUUID&&!e)return By.randomUUID();e=e||{};const r=e.random||(e.rng||jF)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,VF(r)}var mu={exports:{}},HF=mu.exports,Hy;function zF(){return Hy||(Hy=1,function(e){(function(t,n){e.exports?e.exports=n():t.jsonSchema=n()})(HF,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 v;h+=h?typeof g=="number"?"["+g+"]":typeof g>"u"?"":"."+g:g;function m(D){u.push({property:h,message:D})}if((typeof p!="object"||p instanceof Array)&&(h||typeof p!="function")&&!(p&&l(p)))return typeof p=="function"?d instanceof p||m("is not an instance of the class/constructor "+p.name):p&&m("Invalid schema/property definition "+p),null;a&&p.readonly&&m("is a readonly field, it can not be changed"),p.extends&&c(d,p.extends,h,g);function E(D,M){if(D){if(typeof D=="string"&&D!="any"&&(D=="null"?M!==null:typeof M!=D)&&!(M instanceof Array&&D=="array")&&!(M instanceof Date&&D=="date")&&!(D=="integer"&&M%1===0))return[{property:h,message:M+" - "+typeof M+" value found, but a "+D+" is required"}];if(D instanceof Array){for(var j=[],B=0;Bp.maxItems&&m("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)&&m("does not match the regex pattern "+p.pattern),p.maxLength&&typeof d=="string"&&d.length>p.maxLength&&m("may only be "+p.maxLength+" characters long"),p.minLength&&typeof d=="string"&&d.lengthd&&m("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})()}(kf)),kf.exports}var qF=KF();const WF=xs(qF);var na={exports:{}},YF=na.exports,Gy;function XF(){return Gy||(Gy=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",v="version",m="architecture",E="console",y="mobile",_="tablet",T="smarttv",A="wearable",S="embedded",D=500,M="Amazon",j="Apple",B="ASUS",H="BlackBerry",le="Browser",Te="Chrome",ke="Edge",pe="Firefox",ge="Google",re="Huawei",_e="LG",tt="Microsoft",Ae="Motorola",Ke="Opera",He="Samsung",it="Sharp",qe="Sony",ot="Xiaomi",J="Zebra",se="Facebook",ae="Chromium OS",ve="Mac OS",We=" Browser",ze=function(G,oe){var fe={};for(var be in G)oe[be]&&oe[be].length%2===0?fe[be]=oe[be].concat(G[be]):fe[be]=G[be];return fe},C=function(G){for(var oe={},fe=0;fe0?Ue.length===2?typeof Ue[1]==a?this[Ue[0]]=Ue[1].call(this,At):this[Ue[0]]=Ue[1]:Ue.length===3?typeof Ue[1]===a&&!(Ue[1].exec&&Ue[1].test)?this[Ue[0]]=At?Ue[1].call(this,At,Ue[2]):r:this[Ue[0]]=At?At.replace(Ue[1],Ue[2]):r:Ue.length===4&&(this[Ue[0]]=At?Ue[3].call(this,At.replace(Ue[1],Ue[2])):r):this[Ue]=At||r;fe+=2}},N=function(G,oe){for(var fe in oe)if(typeof oe[fe]===u&&oe[fe].length>0){for(var be=0;be2&&(we[d]="iPad",we[h]=_),we},this.getEngine=function(){var we={};return we[p]=r,we[v]=r,O.call(we,be,nt.engine),we},this.getOS=function(){var we={};return we[p]=r,we[v]=r,O.call(we,be,nt.os),Ue&&!we[p]&&Ye&&Ye.platform&&Ye.platform!="Unknown"&&(we[p]=Ye.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 be},this.setUA=function(we){return be=typeof we===c&&we.length>D?X(we,D):we,this},this.setUA(be),this};Q.VERSION=o,Q.BROWSER=C([p,v,f]),Q.CPU=C([m]),Q.DEVICE=C([d,g,h,E,y,T,_,A,S]),Q.ENGINE=Q.OS=C([p,v]),e.exports&&(t=e.exports=Q),t.UAParser=Q;var I=typeof n!==l&&(n.jQuery||n.Zepto);if(I&&!I.ua){var P=new Q;I.ua=P.getResult(),I.ua.get=function(){return P.getUA()},I.ua.set=function(G){P.setUA(G);var oe=P.getResult();for(var fe in oe)I.ua[fe]=oe[fe]}}})(typeof window=="object"?window:YF)}(na,na.exports)),na.exports}var JF=XF(),tp=function(e,t){return tp=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])},tp(e,t)};function Pi(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");tp(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var rr=function(){return rr=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 Oe.DEBUG:return"DEBUG";case Oe.INFO:return"INFO ";case Oe.WARNING:return"WARN ";case Oe.ERROR:return"ERROR";default:return"NOTSET"}},e.prototype.consoleLog=function(t,n){switch(t){case Oe.DEBUG:console.log.apply(console,n);break;case Oe.INFO:console.info.apply(console,n);break;case Oe.WARNING:console.warn.apply(console,n);break;case Oe.ERROR:console.error.apply(console,n);break;default:console.log.apply(console,n)}},e}(),np=Oe.NOTSET,rp=null,qy=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}(),q={NOTSET:0,DEBUG:1,INFO:2,WARNING:3,ERROR:4},Ee={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."},Y={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"'},Hr={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"},Dh="javascript-sdk",IE="node-sdk",hU="react-sdk",gU="react-native-sdk",mU="react-native-js-sdk",kh="5.3.5",mi={AB_TEST:"ab-test",FEATURE:"feature",FEATURE_TEST:"feature-test",FEATURE_VARIABLE:"feature-variable",ALL_FEATURE_VARIABLES:"all-feature-variables",FLAG:"flag"},fn={FEATURE_TEST:"feature-test",ROLLOUT:"rollout",EXPERIMENT:"experiment"},op={RULE:"rule",EXPERIMENT:"experiment"},er={BOOLEAN:"boolean",DOUBLE:"double",INTEGER:"integer",STRING:"string",JSON:"json"},yu={V2:"2",V3:"3",V4:"4"},ip={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.'},_n;(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"})(_n||(_n={}));var OE=60*1e3,xE=10*1e3,CE=10*1e3,pr;(function(e){e.VUID="vuid",e.FS_USER_ID="fs_user_id"})(pr||(pr={}));var NE="fs-user-id",nc="fullstack",ka;(function(e){e.IDENTIFIED="identified",e.INITIALIZED="client_initialized"})(ka||(ka={}));var Ma=Object.freeze({__proto__:null,LOG_LEVEL:q,ERROR_MESSAGES:Ee,LOG_MESSAGES:Y,CONTROL_ATTRIBUTES:Hr,JAVASCRIPT_CLIENT_ENGINE:Dh,NODE_CLIENT_ENGINE:IE,REACT_CLIENT_ENGINE:hU,REACT_NATIVE_CLIENT_ENGINE:gU,REACT_NATIVE_JS_CLIENT_ENGINE:mU,CLIENT_VERSION:kh,DECISION_NOTIFICATION_TYPES:mi,DECISION_SOURCES:fn,AUDIENCE_EVALUATION_TYPES:op,FEATURE_VARIABLE_TYPES:er,DATAFILE_VERSIONS:yu,DECISION_MESSAGES:ip,get NOTIFICATION_TYPES(){return _n},REQUEST_TIMEOUT_MS:OE,REQUEST_TIMEOUT_ODP_SEGMENTS_MS:xE,REQUEST_TIMEOUT_ODP_EVENTS_MS:CE,get ODP_USER_KEY(){return pr},FS_USER_ID_ALIAS:NE,ODP_DEFAULT_EVENT_TYPE:nc,get ODP_EVENT_ACTION(){return ka}}),sp=3e4,ap=10,LE=Xt("EventProcessor");function yU(e){return e<=0&&(LE.warn("Invalid flushInterval ".concat(e,", defaulting to ").concat(sp)),e=sp),e}function vU(e){return e=Math.floor(e),e<1&&(LE.warn("Invalid batchSize ".concat(e,", defaulting to ").concat(ap)),e=ap),e=Math.max(1,e),e}function _U(e,t,n,r,o){var i;return e>1?i=new pU({flushInterval:t,maxQueueSize:e,sink:r,closingSink:o,batchComparator:n}):i=new dU({sink:r}),i}function bU(e,t){e&&e.sendNotifications(_n.LOG_EVENT,t)}var Wy=Xt("EventProcessor"),EU=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 Wr(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){Wy.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},HU=function(e){return typeof e=="number"&&Ut.isSafeInteger(e)?e>0:!1},tv={validateEventBatchSize:BU,validateEventFlushInterval:HU},zU="NOTIFICATION_CENTER",GU=function(){function e(t){var n=this;this.logger=t.logger,this.errorHandler=t.errorHandler,this.notificationListeners={},Wr(_n).forEach(function(r){n.notificationListeners[r]=[]}),this.listenerId=1}return e.prototype.addNotificationListener=function(t,n){try{var r=Wr(_n),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(q.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(q.ERROR,i.message),this.errorHandler.handleError(i)}return!1},e.prototype.clearAllNotificationListeners=function(){var t=this;try{Wr(_n).forEach(function(n){t.notificationListeners[n]=[]})}catch(n){this.logger.log(q.ERROR,n.message),this.errorHandler.handleError(n)}},e.prototype.clearNotificationListeners=function(t){try{this.notificationListeners[t]=[]}catch(n){this.logger.log(q.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(q.ERROR,Y.NOTIFICATION_LISTENER_EXCEPTION,zU,t,s.message)}})}catch(o){this.logger.log(q.ERROR,o.message),this.errorHandler.handleError(o)}},e}();function UE(e){return new GU(e)}function KU(){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 oj(e,t){Object.keys(e).forEach(function(n){var r=e[n];t.setRequestHeader(n,r)})}function ij(e,t){var n=new XMLHttpRequest,r=new Promise(function(o,i){n.open(tj,e,!0),oj(t,n),n.onreadystatechange=function(){if(n.readyState===nj){var s=n.status;if(s===0){i(new Error("Request error"));return}var a=rj(n),l={statusCode:n.status,body:n.responseText,headers:a};o(l)}},n.timeout=ZU,n.ontimeout=function(){ej.error("Request timed out")},n.send()});return{responsePromise:r,abort:function(){n.abort()}}}var sj=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 aj(){return Math.round(Math.random()*1e3)}var lj=function(){function e(){this.errorCount=0}return e.prototype.getDelay=function(){if(this.errorCount===0)return 0;var t=Mf[Math.min(Mf.length-1,this.errorCount)];return t*1e3+aj()},e.prototype.countError=function(){this.errorCount=200&&e<400}var cj={get:function(){return Promise.resolve(void 0)},set:function(){return Promise.resolve()},contains:function(){return Promise.resolve(!1)},remove:function(){return Promise.resolve(!1)}},fj=function(){function e(t){var n=this,r=rr(rr({},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?YU:l,c=r.urlTemplate,f=c===void 0?QU:c,d=r.cache,p=d===void 0?cj: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=ft(f,a),this.emitter=new sj,this.autoUpdate=s,this.updateInterval=u,this.updateInterval"u"||t.statusCode===304?"":rv(t.statusCode)?t.body:($n.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,$n.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&&($n.debug("Using datafile from cache"),t.currentDatafile=n,t.resolveReadyPromise())})},e}(),dj=function(e){Pi(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.makeGetRequest=function(n,r){return ij(n,r)},t.prototype.getConfigDefaults=function(){return{autoUpdate:!1}},t}(fj),pj=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&&AE(this.segmentsToCheck,t.segmentsToCheck)},e}(),hj=function(e,t){return e.integrated!==t.integrated?!1:e.integrated&&t.integrated?e.odpConfig.equals(t.odpConfig):!0},$E="Running",ov="$opt_",rn="PROJECT_CONFIG";function gj(e){var t,n,r=cr({},e);return r.audiences=(e.audiences||[]).map(function(o){return cr({},o)}),r.experiments=(e.experiments||[]).map(function(o){return cr({},o)}),r.featureFlags=(e.featureFlags||[]).map(function(o){return cr({},o)}),r.groups=(e.groups||[]).map(function(o){var i=cr({},o);return i.experiments=(o.experiments||[]).map(function(s){return cr({},s)}),i}),r.rollouts=(e.rollouts||[]).map(function(o){var i=cr({},o);return i.experiments=(o.experiments||[]).map(function(s){return cr({},s)}),i}),r.environmentKey=(t=e.environmentKey)!==null&&t!==void 0?t:"",r.sdkKey=(n=e.sdkKey)!==null&&n!==void 0?n:"",r}var mj=function(e,t){t===void 0&&(t=null);var n=gj(e);n.__datafileStr=t===null?JSON.stringify(e):t,(n.audiences||[]).forEach(function(c){c.conditions=JSON.parse(c.conditions)}),n.audiencesById=yn(n.audiences,"id"),cr(n.audiencesById,yn(n.typedAudiences,"id")),n.attributeKeyMap=yn(n.attributes,"key"),n.eventKeyMap=yn(n.events,"key"),n.groupIdMap=yn(n.groups,"id");var r;Object.keys(n.groupIdMap||{}).forEach(function(c){r=n.groupIdMap[c].experiments,(r||[]).forEach(function(f){n.experiments.push(cr(f,{groupId:c}))})}),n.rolloutIdMap=yn(n.rollouts||[],"id"),Wr(n.rolloutIdMap||{}).forEach(function(c){(c.experiments||[]).forEach(function(f){f.isRollout=!0,n.experiments.push(f),f.variationKeyMap=yn(f.variations,"key")})});var o=new Set;Object.keys(n.audiencesById).map(function(c){return yj(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=yn(n.integrations,"key"),n.integrations.forEach(function(c){if(!("key"in c))throw new Error(ft(Ee.MISSING_INTEGRATION_KEY,rn));c.key==="odp"&&(s=!0,l=l||c.publicKey||"",a=a||c.host||"",u=u||c.pixelUrl||"")})),s?n.odpIntegrationConfig={integrated:!0,odpConfig:new pj(l,a,u,i)}:n.odpIntegrationConfig={integrated:!1},n.experimentKeyMap=yn(n.experiments,"key"),n.experimentIdMap=yn(n.experiments,"id"),n.variationIdMap={},n.variationVariableUsageMap={},(n.experiments||[]).forEach(function(c){c.variationKeyMap=yn(c.variations,"key"),cr(n.variationIdMap,yn(c.variations,"id")),Wr(c.variationKeyMap||{}).forEach(function(f){f.variables&&(n.variationVariableUsageMap[f.id]=yn(f.variables,"id"))})}),n.experimentFeatureMap={},n.featureKeyMap=yn(n.featureFlags||[],"key"),Wr(n.featureKeyMap||{}).forEach(function(c){c.variables.forEach(function(f){f.type===er.STRING&&f.subType===er.JSON&&(f.type=er.JSON,delete f.subType)}),c.variableKeyMap=yn(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={},wE(n.flagRulesMap||{}).forEach(function(c){var f=c[0],d=c[1],p=[];d.forEach(function(h){h.variations.forEach(function(g){Lh(p,function(v){return v.id===g.id})||p.push(g)})}),n.flagVariationsMap[f]=p}),n},yj=function(e){return e.conditions?BE(e.conditions):[]},BE=function(e){var t=[];return vj(e)?[]:(Array.isArray(e)?e.forEach(function(n){return t.push.apply(t,BE(n))}):e.match==="qualified"&&t.push(e.value),t)};function vj(e){return["and","or","not"].includes(e)}var HE=function(e,t){var n=e.experimentIdMap[t];if(!n)throw new Error(ft(Ee.INVALID_EXPERIMENT_ID,rn,t));return n.layerId},zE=function(e,t,n){var r=e.attributeKeyMap[t],o=t.indexOf(ov)===0;return r?(o&&n.log(q.WARNING,"Attribute %s unexpectedly has reserved prefix %s; using attribute ID instead of reserved attribute name.",t,ov),r.id):o?t:(n.log(q.DEBUG,Ee.UNRECOGNIZED_ATTRIBUTE,rn,t),null)},GE=function(e,t){var n=e.eventKeyMap[t];return n?n.id:null},KE=function(e,t){var n=e.experimentKeyMap[t];if(!n)throw new Error(ft(Ee.INVALID_EXPERIMENT_KEY,rn,t));return n.status},_j=function(e,t){return KE(e,t)===$E},bj=function(e,t){return KE(e,t)===$E},Ej=function(e,t){var n=e.experimentIdMap[t];if(!n)throw new Error(ft(Ee.INVALID_EXPERIMENT_ID,rn,t));return n.audienceConditions||n.audienceIds},qE=function(e,t){return e.variationIdMap.hasOwnProperty(t)?e.variationIdMap[t].key:null},Tj=function(e,t){return e.variationIdMap.hasOwnProperty(t)?e.variationIdMap[t]:null},wj=function(e,t,n){var r=e.experimentKeyMap[t];return r.variationKeyMap.hasOwnProperty(n)?r.variationKeyMap[n].id:null},lp=function(e,t){if(e.experimentKeyMap.hasOwnProperty(t)){var n=e.experimentKeyMap[t];if(n)return n}throw new Error(ft(Ee.EXPERIMENT_KEY_NOT_IN_DATAFILE,rn,t))},Sj=function(e,t){var n=e.experimentIdMap[t];if(!n)throw new Error(ft(Ee.INVALID_EXPERIMENT_ID,rn,t));return n.trafficAllocation},Aj=function(e,t,n){if(e.experimentIdMap.hasOwnProperty(t)){var r=e.experimentIdMap[t];if(r)return r}return n.log(q.ERROR,Ee.INVALID_EXPERIMENT_ID,rn,t),null},iv=function(e,t,n){if(!e)return null;var r=e.flagVariationsMap[t],o=Lh(r,function(i){return i.key===n});return o||null},Ff=function(e,t,n){if(e.featureKeyMap.hasOwnProperty(t)){var r=e.featureKeyMap[t];if(r)return r}return n.log(q.ERROR,Ee.FEATURE_NOT_IN_DATAFILE,rn,t),null},Rj=function(e,t,n,r){var o=e.featureKeyMap[t];if(!o)return r.log(q.ERROR,Ee.FEATURE_NOT_IN_DATAFILE,rn,t),null;var i=o.variableKeyMap[n];return i||(r.log(q.ERROR,Ee.VARIABLE_KEY_NOT_IN_DATAFILE,rn,n,t),null)},Ij=function(e,t,n,r){if(!t||!n)return null;if(!e.variationVariableUsageMap.hasOwnProperty(n.id))return r.log(q.ERROR,Ee.VARIATION_ID_NOT_IN_DATAFILE_NO_EXPERIMENT,rn,n.id),null;var o=e.variationVariableUsageMap[n.id],i=o[t.id];return i?i.value:null},Oj=function(e,t,n){var r;switch(t){case er.BOOLEAN:e!=="true"&&e!=="false"?(n.log(q.ERROR,Ee.UNABLE_TO_CAST_VALUE,rn,e,t),r=null):r=e==="true";break;case er.INTEGER:r=parseInt(e,10),isNaN(r)&&(n.log(q.ERROR,Ee.UNABLE_TO_CAST_VALUE,rn,e,t),r=null);break;case er.DOUBLE:r=parseFloat(e),isNaN(r)&&(n.log(q.ERROR,Ee.UNABLE_TO_CAST_VALUE,rn,e,t),r=null);break;case er.JSON:try{r=JSON.parse(e)}catch{n.log(q.ERROR,Ee.UNABLE_TO_CAST_VALUE,rn,e,t),r=null}break;default:r=e;break}return r},xj=function(e){return e.audiencesById},Cj=function(e,t){return e.eventKeyMap.hasOwnProperty(t)},Nj=function(e,t){return e.experimentFeatureMap.hasOwnProperty(t)},WE=function(e){return e.__datafileStr},YE=function(e){var t;try{t=DE.validateDatafile(e.datafile)}catch(o){return{configObj:null,error:o}}if(e.jsonSchemaValidator)try{e.jsonSchemaValidator.validate(t),e.logger.log(q.INFO,Y.VALID_DATAFILE,rn)}catch(o){return{configObj:null,error:o}}else e.logger.log(q.INFO,Y.SKIPPING_JSON_VALIDATION,rn);var n=[t];typeof e.datafile=="string"&&n.push(e.datafile);var r=mj.apply(void 0,n);return{configObj:r,error:null}},sv=function(e){return!!e.sendFlagDecisions};function Lj(e,t,n,r){var o={sdkKey:e};if((r===void 0||typeof r=="object"&&r!==null)&&Ut.assign(o,r),n){var i=YE({datafile:n,jsonSchemaValidator:void 0,logger:t}),s=i.configObj,a=i.error;a&&t.error(a),s&&(o.datafile=WE(s))}return new dj(o)}var av=function(){function e(t,n){n===void 0&&(n=OE),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(Oe.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(Oe.WARNING,"Unable to parse & skipped header item '".concat(s,"'"))}}),i},e}(),Kl=function(e){var t=e.browserCallback,n=e.nonBrowserCallback;return typeof window<"u"?t(window==null?void 0:window.localStorage):n()},Pj=function(){function e(){this.logger=Xt()}return e.prototype.contains=function(t){return qt(this,void 0,void 0,function(){var n=this;return Wt(this,function(r){return[2,Kl({browserCallback:function(o){return(o==null?void 0:o.getItem(t))!==null},nonBrowserCallback:function(){return n.logger.error(Ee.LOCAL_STORAGE_DOES_NOT_EXIST),!1}})]})})},e.prototype.get=function(t){return qt(this,void 0,void 0,function(){var n=this;return Wt(this,function(r){return[2,Kl({browserCallback:function(o){return(o==null?void 0:o.getItem(t))||void 0},nonBrowserCallback:function(){n.logger.error(Ee.LOCAL_STORAGE_DOES_NOT_EXIST)}})]})})},e.prototype.remove=function(t){return qt(this,void 0,void 0,function(){var n=this;return Wt(this,function(r){switch(r.label){case 0:return[4,this.contains(t)];case 1:return r.sent()?(Kl({browserCallback:function(o){o==null||o.removeItem(t)},nonBrowserCallback:function(){n.logger.error(Ee.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 Wt(this,function(o){return[2,Kl({browserCallback:function(i){i==null||i.setItem(t,n)},nonBrowserCallback:function(){r.logger.error(Ee.LOCAL_STORAGE_DOES_NOT_EXIST)}})]})})},e}(),Dj=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}(),XE=function(){function e(t){var n=t.maxSize,r=t.timeout;this._map=new Map;var o=Xt();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 Dj(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==null?void 0:r.value)!==null&&n!==void 0?n:null},e}(),lv={DEFAULT_CAPACITY:100,DEFAULT_TIMEOUT_SECS:600},kj=function(e){Pi(t,e);function t(n){var r,o;return e.call(this,{maxSize:(r=n==null?void 0:n.maxSize)!==null&&r!==void 0?r:lv.DEFAULT_CAPACITY,timeout:(o=n==null?void 0:n.timeout)!==null&&o!==void 0?o:lv.DEFAULT_TIMEOUT_SECS*1e3})||this}return t}(XE),uv={DEFAULT_CAPACITY:1e4,DEFAULT_TIMEOUT_SECS:600};(function(e){Pi(t,e);function t(n){var r,o;return e.call(this,{maxSize:(r=n==null?void 0:n.maxSize)!==null&&r!==void 0?r:uv.DEFAULT_CAPACITY,timeout:(o=n==null?void 0:n.timeout)!==null&&o!==void 0?o:uv.DEFAULT_TIMEOUT_SECS*1e3})||this}return t})(XE);var pa=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 Wt(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 Wt(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=jc(),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 Wt(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==null?void 0:t.startsWith(e.vuid_prefix))||!1},e}();function JE(e){var t=["string","number","boolean"],n=!1;return e.forEach(function(r){!t.includes(typeof r)&&r!==null&&(n=!0)}),n}var oc=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}(),cv=function(){};function Mj(){var e=cv,t=cv,n=new Promise(function(r,o){e=r,t=o});return{promise:n,resolve:e,reject:t,then:n.then.bind(n)}}var lo;(function(e){e[e.Running=0]="Running",e[e.Stopped=1]="Stopped"})(lo||(lo={}));var Fj=function(){function e(t){var n=t.odpIntegrationConfig,r=t.segmentManager,o=t.eventManager,i=t.logger,s=this;this.ready=!1,this.status=lo.Stopped,this.segmentManager=r,this.eventManager=o,this.logger=i,this.configPromise=Mj();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===lo.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 Wt(this,function(t){return this.status===lo.Running?[2]:this.odpIntegrationConfig?this.odpIntegrationConfig.integrated?(this.status=lo.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 Wt(this,function(t){switch(t.label){case 0:return this.status===lo.Stopped?[2]:(this.status=lo.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&&hj(this.odpIntegrationConfig,t)?!1:(this.odpIntegrationConfig=t,t.integrated?this.status===lo.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 Wt(this,function(r){return this.odpIntegrationConfig?this.odpIntegrationConfig.integrated?pa.isVuid(t)?[2,this.segmentManager.fetchQualifiedSegments(pr.VUID,t,n)]:[2,this.segmentManager.fetchQualifiedSegments(pr.FS_USER_ID,t,n)]:(this.logger.log(Oe.ERROR,Ee.ODP_NOT_INTEGRATED),[2,null]):(this.logger.log(Oe.ERROR,Ee.ODP_CONFIG_NOT_AVAILABLE),[2,null])})})},e.prototype.identifyUser=function(t,n){if(!this.odpIntegrationConfig){this.logger.log(Oe.ERROR,Ee.ODP_CONFIG_NOT_AVAILABLE);return}if(!this.odpIntegrationConfig.integrated){this.logger.log(Oe.INFO,Ee.ODP_NOT_INTEGRATED);return}if(t&&pa.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(Oe.ERROR,Ee.ODP_CONFIG_NOT_AVAILABLE);return}if(!this.odpIntegrationConfig.integrated){this.logger.log(Oe.ERROR,Ee.ODP_NOT_INTEGRATED);return}if(JE(i))throw new Error(Ee.ODP_INVALID_DATA);if(typeof r!="string"||r==="")throw new Error("ODP action is not valid (cannot be empty).");this.eventManager.sendEvent(new oc(s,r,o,i))},e.prototype.initializeVuid=function(){return Promise.resolve()},e.prototype.registerVuid=function(){if(!this.odpIntegrationConfig){this.logger.log(Oe.ERROR,Ee.ODP_CONFIG_NOT_AVAILABLE);return}if(!this.odpIntegrationConfig.integrated){this.logger.log(Oe.INFO,Ee.ODP_NOT_INTEGRATED);return}var t=this.getVuid();if(t)try{this.eventManager.registerVuid(t)}catch{this.logger.log(Oe.ERROR,Ee.ODP_VUID_REGISTRATION_FAILED)}},e}(),Uf="ODP event send failed",Uj=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 Wt(this,function(g){switch(g.label){case 0:if(o=!1,n.length===0)return this.logger.log(Oe.ERROR,"".concat(Uf," (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(Oe.ERROR,"".concat(Uf," (").concat(h,")")),o=!0,[3,4];case 4:return c>=400&&this.logger.log(Oe.ERROR,"".concat(Uf," (").concat(c,")")),c>=500&&(o=!0),[2,o]}})})},e}(),jj="ODP event send failed",Vj="v2/zaius.gif",$j=function(e){Pi(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(Oe.ERROR,"".concat(jj," (browser only supports batch size 1)")),!1)},t.prototype.getPixelApiEndpoint=function(n){var r=n.pixelUrl,o=new URL(Vj,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}(Uj),QE=function(e){typeof queueMicrotask=="function"?queueMicrotask(e):setTimeout(e)},Bj=3,jo;(function(e){e[e.Stopped=0]="Stopped",e[e.Running=1]="Running"})(jo||(jo={}));var Hj=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=jo.Stopped,this.queue=new Array,this.apiManager=r,this.logger=o,this.clientEngine=i,this.clientVersion=s,this.initParams(l,a,u),this.status=jo.Stopped,this.userAgentParser=c,this.retries=f||Bj,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(v){v[0];var m=v[1];return m!=null&&m!=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(Oe.ERROR,Ee.ODP_CONFIG_NOT_AVAILABLE);return}this.status=jo.Running,this.batchSize>1&&this.setNewTimeout()},e.prototype.stop=function(){return qt(this,void 0,void 0,function(){return Wt(this,function(t){return this.logger.log(Oe.DEBUG,"Stop requested."),this.flush(),this.clearCurrentTimeout(),this.status=jo.Stopped,this.logger.log(Oe.DEBUG,"Stopped. Queue Count: %s",this.queue.length),[2]})})},e.prototype.registerVuid=function(t){var n=new Map;n.set(pr.VUID,t);var r=new oc(nc,ka.INITIALIZED,n);this.sendEvent(r)},e.prototype.identifyUser=function(t,n){var r=new Map;if(!t&&!n){this.logger.log(Oe.ERROR,Ee.ODP_SEND_EVENT_FAILED_UID_MISSING);return}n&&r.set(pr.VUID,n),t&&r.set(pr.FS_USER_ID,t);var o=new oc(nc,ka.IDENTIFIED,r);this.sendEvent(o)},e.prototype.sendEvent=function(t){JE(t.data)?this.logger.log(Oe.ERROR,"Event data found to be invalid."):(t.data=this.augmentCommonData(t.data),this.enqueue(t))},e.prototype.enqueue=function(t){if(this.status===jo.Stopped){this.logger.log(Oe.WARNING,"Failed to Process ODP Event. ODPEventManager is not running.");return}if(!this.hasNecessaryIdentifiers(t)){this.logger.log(Oe.ERROR,"ODP events should have at least one key-value pair in identifiers.");return}if(this.queue.length>=this.queueSize){this.logger.log(Oe.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===jo.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&&QE(function(){return qt(t,void 0,void 0,function(){var o,i;return Wt(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",jc()),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}(),zj=100,Gj=function(e){Pi(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||zj,this.batchSize=1,this.flushInterval=0,typeof n<"u"&&n!==1&&this.getLogger().log(Oe.WARNING,"ODP event batch size must be 1 in the browser."),typeof o<"u"&&o!==0&&this.getLogger().log(Oe.WARNING,"ODP event flush interval must be 0 in the browser.")},t.prototype.discardEventsIfNeeded=function(){this.getLogger().log(Oe.DEBUG,"ODPConfig not ready. Leaving events in queue.")},t}(Hj),Kj=function(){function e(t,n,r,o){this.odpConfig=o,this._segmentsCache=t,this.odpSegmentApiManager=n,this.logger=r||Xt("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 Wt(this,function(c){switch(c.label){case 0:if(!this.odpConfig)return this.logger.log(Oe.WARNING,Ee.ODP_CONFIG_NOT_AVAILABLE),[2,null];if(o=this.odpConfig.segmentsToCheck,!o||o.length<=0)return this.logger.log(Oe.DEBUG,"No segments are used in the project. Returning an empty list."),[2,[]];if(i=this.makeCacheKey(t,n),s=r.includes(rc.IGNORE_CACHE),a=r.includes(rc.RESET_CACHE),a&&this.reset(),!s&&!a){if(l=this._segmentsCache.lookup(i),l)return this.logger.log(Oe.DEBUG,'ODP cache hit. Returning segments from cache "%s".',i),[2,l];this.logger.log(Oe.DEBUG,"ODP cache miss.")}return this.logger.log(Oe.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}(),qj={$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"}}}}}},Wj=qj,Yj="JSON_SCHEMA_VALIDATOR";function Xj(e,t,n){t===void 0&&(t=Wj);var r="".concat(Yj," (").concat(t.title,")");if(typeof e!="object"||e===null)throw new Error(ft(Ee.NO_JSON_PROVIDED,r));var o=GF.validate(e,t);return!!o.valid}var Jj={$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:[]},Qj="qualified",Zj=[],fv=null,Bi="Audience segments fetch failed",e3=function(){function e(t,n){this.toGraphQLJson=function(r,o,i){return Ss(Ss(['{"query" : "query {customer',"(".concat(r,' : \\"').concat(o,'\\") '),"{audiences","(subset: ["],(i==null?void 0:i.map(function(s,a){return'\\"'.concat(s,'\\"').concat(a0?(h=p.errors[0].extensions,g=h.code,v=h.classification,g=="INVALID_IDENTIFIER_EXCEPTION"?this.logger.log(Oe.ERROR,"".concat(Bi," (invalid identifier)")):this.logger.log(Oe.ERROR,"".concat(Bi," (").concat(v,")")),[2,null]):(m=(u=(l=(a=p==null?void 0: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,m?[2,m.filter(function(y){return y.node.state==Qj}).map(function(y){return y.node.name})]:(this.logger.log(Oe.ERROR,"".concat(Bi," (decode error)")),[2,null])):(this.logger.log(Oe.ERROR,"".concat(Bi," (decode error)")),[2,null])):(this.logger.log(Oe.ERROR,"".concat(Bi," (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 Wt(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 fv}return Xj(n,Jj)?n:fv},e}(),t3=function(e){Pi(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||Xt(),s=s||Dh,a=a||kh;var l=void 0;i!=null&&i.integrated&&(l=i.odpConfig);var u;o!=null&&o.segmentsRequestHandler?u=o.segmentsRequestHandler:u=new av(r,(o==null?void 0:o.segmentsApiTimeout)||xE);var c;o!=null&&o.segmentManager?c=o.segmentManager:c=new Kj((o==null?void 0:o.segmentsCache)||new kj({maxSize:o==null?void 0:o.segmentsCacheSize,timeout:o==null?void 0:o.segmentsCacheTimeout}),new e3(u,r),r,l);var f;o!=null&&o.eventRequestHandler?f=o.eventRequestHandler:f=new av(r,(o==null?void 0:o.eventApiTimeout)||CE);var d;return o!=null&&o.eventManager?d=o.eventManager:d=new Gj({odpConfig:l,apiManager:new $j(f,r),logger:r,clientEngine:s,clientVersion:a,flushInterval:o==null?void 0:o.eventFlushInterval,batchSize:o==null?void 0:o.eventBatchSize,queueSize:o==null?void 0:o.eventQueueSize,userAgentParser:o==null?void 0: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 Wt(this,function(r){switch(r.label){case 0:return[4,pa.instance(t.cache)];case 1:return n=r.sent(),this.vuid=n.vuid,[2]}})})},t.prototype.identifyUser=function(n,r){if(n&&pa.isVuid(n)){e.prototype.identifyUser.call(this,void 0,n);return}if(n&&r&&pa.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(pr.VUID))if(this.vuid)a.set(pr.VUID,this.vuid);else throw new Error(Ee.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 Pj,t}(Fj);function dv(e,t,n){return{variationKey:null,enabled:!1,variables:{},ruleKey:null,flagKey:e,userContext:t,reasons:n}}var pv=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=rr({},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 rr({},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:Hr.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:Hr.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:Hr.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=rr({},this.forcedDecisionsMap)),t._qualifiedSegments=this._qualifiedSegments,t},e.prototype.fetchQualifiedSegments=function(t){return qt(this,void 0,void 0,function(){var n;return Wt(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}(),ZE="and",e2="or",t2="not",n2=[ZE,e2,t2];function Fa(e,t){if(Array.isArray(e)){var n=e[0],r=e.slice(1);switch(typeof n=="string"&&n2.indexOf(n)===-1&&(n=e2,r=e),n){case ZE:return n3(r,t);case t2:return r3(r,t);default:return o3(r,t)}}var o=e;return t(o)}function n3(e,t){var n=!1;if(Array.isArray(e)){for(var r=0;r0){var n=Fa(e[0],t);return n===null?null:!n}return null}function o3(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 s3(e,t,n){return new i3(e,t,n)}var Ks=Xt(),a3="PROJECT_CONFIG_MANAGER";function Hi(e,t){return e instanceof Error?e.message:t||"Unknown error"}var l3=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(ft(Ee.DATAFILE_AND_SDK_KEY_MISSING,a3));this.readyPromise=Promise.resolve({success:!1,reason:Hi(n)}),Ks.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:Hi(r,"Invalid datafile")})}catch(o){Ks.error(o),this.readyPromise=Promise.resolve({success:!1,reason:Hi(o,"Error in initialize")})}}return e.prototype.onDatafileManagerReadyFulfill=function(){if(this.datafileManager){var t=this.handleNewDatafile(this.datafileManager.get());return t?{success:!1,reason:Hi(t)}:{success:!0}}return{success:!1,reason:Hi(null,"Datafile manager is not provided")}},e.prototype.onDatafileManagerReadyReject=function(t){return{success:!1,reason:Hi(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=YE({datafile:t,jsonSchemaValidator:this.jsonSchemaValidator,logger:Ks}),o=r.configObj,i=r.error;if(i)Ks.error(i);else{var s=this.configObj?this.configObj.revision:"null";o&&s!==o.revision&&(this.configObj=o,this.optimizelyConfigObj=null,QE(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=s3(this.configObj,WE(this.configObj),Ks)),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 u3(e){return new l3(e)}var c3=1,f3=Math.pow(2,32),d3=1e4,Qn="BUCKETER",p3="random",hv=function(e){var t=[],n=e.experimentIdMap[e.experimentId],r=n.groupId;if(r){var o=e.groupIdMap[r];if(!o)throw new Error(ft(Ee.INVALID_GROUP_ID,Qn,r));if(o.policy===p3){var i=h3(o,e.bucketingId,e.userId,e.logger);if(i===null)return e.logger.log(q.INFO,Y.USER_NOT_IN_ANY_EXPERIMENT,Qn,e.userId,r),t.push([Y.USER_NOT_IN_ANY_EXPERIMENT,Qn,e.userId,r]),{result:null,reasons:t};if(i!==e.experimentId)return e.logger.log(q.INFO,Y.USER_NOT_BUCKETED_INTO_EXPERIMENT_IN_GROUP,Qn,e.userId,e.experimentKey,r),t.push([Y.USER_NOT_BUCKETED_INTO_EXPERIMENT_IN_GROUP,Qn,e.userId,e.experimentKey,r]),{result:null,reasons:t};e.logger.log(q.INFO,Y.USER_BUCKETED_INTO_EXPERIMENT_IN_GROUP,Qn,e.userId,e.experimentKey,r),t.push([Y.USER_BUCKETED_INTO_EXPERIMENT_IN_GROUP,Qn,e.userId,e.experimentKey,r])}}var s="".concat(e.bucketingId).concat(e.experimentId),a=o2(s);e.logger.log(q.DEBUG,Y.USER_ASSIGNED_TO_EXPERIMENT_BUCKET,Qn,a,e.userId),t.push([Y.USER_ASSIGNED_TO_EXPERIMENT_BUCKET,Qn,a,e.userId]);var l=r2(a,e.trafficAllocationConfig);return l!==null&&!e.variationIdMap[l]?(l&&(e.logger.log(q.WARNING,Y.INVALID_VARIATION_ID,Qn),t.push([Y.INVALID_VARIATION_ID,Qn])),{result:null,reasons:t}):{result:l,reasons:t}},h3=function(e,t,n,r){var o="".concat(t).concat(e.id),i=o2(o);r.log(q.DEBUG,Y.USER_ASSIGNED_TO_EXPERIMENT_BUCKET,Qn,i,n);var s=e.trafficAllocation,a=r2(i,s);return a},r2=function(e,t){for(var n=0;n2)return Wl.warn(Y.UNKNOWN_MATCH_TYPE,ql,e),null;var o=t.split(".");if(o.length!=r+1)return Wl.warn(Y.UNKNOWN_MATCH_TYPE,ql,e),null;for(var i=0,s=o;ia)return 1;if(sr[i])return!No(e)&&No(t)?-1:1}}return No(t)&&!No(e)?-1:0}var wn="CUSTOM_ATTRIBUTE_CONDITION_EVALUATOR",Sn=Xt(),a2="exact",Fh="exists",l2="ge",u2="gt",c2="le",f2="lt",d2="semver_eq",p2="semver_ge",h2="semver_gt",g2="semver_le",m2="semver_lt",y2="substring",y3=[a2,Fh,u2,l2,f2,c2,y2,d2,m2,g2,h2,p2],ir={};ir[a2]=up;ir[Fh]=_3;ir[u2]=b3;ir[l2]=E3;ir[f2]=T3;ir[c2]=w3;ir[y2]=S3;ir[d2]=A3;ir[h2]=R3;ir[p2]=O3;ir[m2]=I3;ir[g2]=x3;function v3(e,t){var n=t.getAttributes(),r=e.match;if(typeof r<"u"&&y3.indexOf(r)===-1)return Sn.warn(Y.UNKNOWN_MATCH_TYPE,wn,JSON.stringify(e)),null;var o=e.name;if(!n.hasOwnProperty(o)&&r!=Fh)return Sn.debug(Y.MISSING_ATTRIBUTE_VALUE,wn,JSON.stringify(e),o),null;var i;return r?i=ir[r]||up:i=up,i(e,t)}function mv(e){return typeof e=="string"||typeof e=="boolean"||Ut.isNumber(e)}function up(e,t){var n=t.getAttributes(),r=e.value,o=typeof r,i=e.name,s=n[i],a=typeof s;return!mv(r)||Ut.isNumber(r)&&!Ut.isSafeInteger(r)?(Sn.warn(Y.UNEXPECTED_CONDITION_VALUE,wn,JSON.stringify(e)),null):s===null?(Sn.debug(Y.UNEXPECTED_TYPE_NULL,wn,JSON.stringify(e),i),null):!mv(s)||o!==a?(Sn.warn(Y.UNEXPECTED_TYPE,wn,JSON.stringify(e),a,i),null):Ut.isNumber(s)&&!Ut.isSafeInteger(s)?(Sn.warn(Y.OUT_OF_BOUNDS,wn,JSON.stringify(e),i),null):r===s}function _3(e,t){var n=t.getAttributes(),r=n[e.name];return typeof r<"u"&&r!==null}function Vc(e,t){var n=t.getAttributes(),r=e.name,o=n[r],i=typeof o,s=e.value;return s===null||!Ut.isSafeInteger(s)?(Sn.warn(Y.UNEXPECTED_CONDITION_VALUE,wn,JSON.stringify(e)),!1):o===null?(Sn.debug(Y.UNEXPECTED_TYPE_NULL,wn,JSON.stringify(e),r),!1):Ut.isNumber(o)?Ut.isSafeInteger(o)?!0:(Sn.warn(Y.OUT_OF_BOUNDS,wn,JSON.stringify(e),r),!1):(Sn.warn(Y.UNEXPECTED_TYPE,wn,JSON.stringify(e),i,r),!1)}function b3(e,t){var n=t.getAttributes(),r=n[e.name],o=e.value;return!Vc(e,t)||o===null?null:r>o}function E3(e,t){var n=t.getAttributes(),r=n[e.name],o=e.value;return!Vc(e,t)||o===null?null:r>=o}function T3(e,t){var n=t.getAttributes(),r=n[e.name],o=e.value;return!Vc(e,t)||o===null?null:r0}function I3(e,t){var n=sl(e,t);return n===null?null:n<0}function O3(e,t){var n=sl(e,t);return n===null?null:n>=0}function x3(e,t){var n=sl(e,t);return n===null?null:n<=0}var C3=Object.freeze({__proto__:null,evaluate:v3}),N3="ODP_SEGMENT_CONDITION_EVALUATOR",L3=Xt(),v2="qualified",P3=[v2],_2={};_2[v2]=cp;function D3(e,t){var n=e.match;if(typeof n<"u"&&P3.indexOf(n)===-1)return L3.warn(Y.UNKNOWN_MATCH_TYPE,N3,JSON.stringify(e)),null;var r;return n?r=_2[n]||cp:r=cp,r(e,t)}function cp(e,t){return t.isQualifiedFor(e.value)}var k3=Object.freeze({__proto__:null,evaluate:D3}),Yl=Xt(),Xl="AUDIENCE_EVALUATOR",M3=function(){function e(t){this.typeToEvaluatorMap=Ut.assign({},t,{custom_attribute:C3,third_party_dimension:k3})}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){Yl.log(q.DEBUG,Y.EVALUATING_AUDIENCE,Xl,s,JSON.stringify(a.conditions));var l=Fa(a.conditions,o.evaluateConditionWithUserAttributes.bind(o,r)),u=l===null?"UNKNOWN":l.toString().toUpperCase();return Yl.log(q.DEBUG,Y.AUDIENCE_EVALUATION_RESULT,Xl,s,u),l}return null};return!!Fa(t,i)},e.prototype.evaluateConditionWithUserAttributes=function(t,n){var r=this.typeToEvaluatorMap[n.type];if(!r)return Yl.log(q.WARNING,Y.UNKNOWN_CONDITION_TYPE,Xl,JSON.stringify(n)),null;try{return r.evaluate(n,t)}catch(o){Yl.log(q.ERROR,Ee.CONDITION_EVALUATOR_ERROR,Xl,n.type,o.message)}return null},e}(),F3=function(e){return new M3(e)};function b2(e){return typeof e=="string"&&e!==""}var De="DECISION_SERVICE",U3=function(){function e(t){this.audienceEvaluator=F3(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(q.INFO,Y.EXPERIMENT_NOT_RUNNING,De,u),l.push([Y.EXPERIMENT_NOT_RUNNING,De,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[Vr.IGNORE_USER_PROFILE_SERVICE],g=this.resolveExperimentBucketMap(i,s);if(!h&&(p=this.getStoredVariation(t,n,i,g),p))return this.logger.log(q.INFO,Y.RETURNING_STORED_VARIATION,De,p.key,u,i),l.push([Y.RETURNING_STORED_VARIATION,De,p.key,u,i]),{result:p.key,reasons:l};var v=this.checkIfUserIsInAudience(t,n,op.EXPERIMENT,r,"");if(l.push.apply(l,v.reasons),!v.result)return this.logger.log(q.INFO,Y.USER_NOT_IN_EXPERIMENT,De,i,u),l.push([Y.USER_NOT_IN_EXPERIMENT,De,i,u]),{result:null,reasons:l};var m=this.buildBucketerParams(t,n,a,i),E=hv(m);l.push.apply(l,E.reasons);var y=E.result;return y&&(p=t.variationIdMap[y]),p?(this.logger.log(q.INFO,Y.USER_HAS_VARIATION,De,i,p.key,u),l.push([Y.USER_HAS_VARIATION,De,i,p.key,u]),h||this.saveUserProfile(n,p,i,g),{result:p.key,reasons:l}):(this.logger.log(q.DEBUG,Y.USER_HAS_NO_VARIATION,De,i,u),l.push([Y.USER_HAS_NO_VARIATION,De,i,u]),{result:null,reasons:l})},e.prototype.resolveExperimentBucketMap=function(t,n){n=n||{};var r=this.getUserProfile(t)||{},o=n[Hr.STICKY_BUCKETING_KEY];return Ut.assign({},r.experiment_bucket_map,o)},e.prototype.checkIfExperimentIsActive=function(t,n){return _j(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(q.INFO,Y.USER_FORCED_IN_VARIATION,De,n,o),r.push([Y.USER_FORCED_IN_VARIATION,De,n,o]),{result:t.variationKeyMap[o],reasons:r}):(this.logger.log(q.ERROR,Y.FORCED_BUCKETING_FAILED,De,o,n),r.push([Y.FORCED_BUCKETING_FAILED,De,o,n]),{result:null,reasons:r})}return{result:null,reasons:r}},e.prototype.checkIfUserIsInAudience=function(t,n,r,o,i){var s=[],a=Ej(t,n.id),l=xj(t);this.logger.log(q.DEBUG,Y.EVALUATING_AUDIENCES_COMBINED,De,r,i||n.key,JSON.stringify(a)),s.push([Y.EVALUATING_AUDIENCES_COMBINED,De,r,i||n.key,JSON.stringify(a)]);var u=this.audienceEvaluator.evaluate(a,l,o);return this.logger.log(q.INFO,Y.AUDIENCE_EVALUATION_RESULT_COMBINED,De,r,i||n.key,u.toString().toUpperCase()),s.push([Y.AUDIENCE_EVALUATION_RESULT_COMBINED,De,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:Sj(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(q.INFO,Y.SAVED_VARIATION_NOT_FOUND,De,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(q.ERROR,Ee.USER_PROFILE_LOOKUP_ERROR,De,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(q.INFO,Y.SAVED_VARIATION,De,n.key,t.key,r)}catch(i){this.logger.log(q.ERROR,Ee.USER_PROFILE_SAVE_ERROR,De,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(q.DEBUG,Y.USER_IN_ROLLOUT,De,c,n.key),i.push([Y.USER_IN_ROLLOUT,De,c,n.key]),{result:u,reasons:i}):(this.logger.log(q.DEBUG,Y.USER_NOT_IN_ROLLOUT,De,c,n.key),i.push([Y.USER_NOT_IN_ROLLOUT,De,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(ft(Ee.UNDEFINED_ATTRIBUTE,yv,t))}),!0;throw new Error(ft(Ee.INVALID_ATTRIBUTES,yv))}function w2(e,t){return typeof e=="string"&&(typeof t=="string"||typeof t=="boolean"||Ut.isNumber(t)&&Ut.isSafeInteger(t))}var H3="campaign_activated",vv="custom",S2="https://logx.optimizely.com/v1/events",A2="POST";function R2(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(w2(f,d)){var p=zE(i,f,s);p&&c.visitors[0].attributes.push({entity_id:p,key:f,type:vv,value:d})}}),typeof l=="boolean"&&c.visitors[0].attributes.push({entity_id:Hr.BOT_FILTERING,key:Hr.BOT_FILTERING,type:vv,value:l}),c}function z3(e,t,n,r,o,i,s){var a=t?HE(e,t):null,l=n?qE(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:Ut.currentTimestamp(),key:H3,uuid:Ut.uuid()}]};return u}function G3(e,t,n,r){var o={events:[]},i={entity_id:GE(e,t),timestamp:Ut.currentTimestamp(),uuid:Ut.uuid(),key:t};if(r){var s=E2(r,n);s!==null&&(i.revenue=s);var a=T2(r,n);a!==null&&(i.value=a),i.tags=r}return o.events.push(i),o}function K3(e){var t=R2(e),n=z3(e.configObj,e.experimentId,e.variationId,e.ruleKey,e.ruleType,e.flagKey,e.enabled);t.visitors[0].snapshots.push(n);var r={httpVerb:A2,url:S2,params:t};return r}function q3(e){var t=R2(e),n=G3(e.configObj,e.eventKey,e.logger,e.eventTags);t.visitors[0].snapshots=[n];var r={httpVerb:A2,url:S2,params:t};return r}function fp(e){var t,n;return(n=(t=e.experiment)===null||t===void 0?void 0:t.key)!==null&&n!==void 0?n:""}function dp(e){var t,n;return(n=(t=e.variation)===null||t===void 0?void 0:t.key)!==null&&n!==void 0?n:""}function Jl(e){var t,n;return(n=(t=e.variation)===null||t===void 0?void 0:t.featureEnabled)!==null&&n!==void 0?n:!1}function I2(e){var t,n;return(n=(t=e.experiment)===null||t===void 0?void 0:t.id)!==null&&n!==void 0?n:null}function O2(e){var t,n;return(n=(t=e.variation)===null||t===void 0?void 0:t.id)!==null&&n!==void 0?n:null}var pp=Xt("EVENT_BUILDER"),W3=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=fp(n),f=I2(n),d=dp(n),p=O2(n),h=f!==null?HE(t,f):null;return{type:"impression",timestamp:Ut.currentTimestamp(),uuid:Ut.uuid(),user:{id:r,attributes:x2(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}},Y3=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=GE(t,s),u=a?E2(a,pp):null,c=a?T2(a,pp):null;return{type:"conversion",timestamp:Ut.currentTimestamp(),uuid:Ut.uuid(),user:{id:n,attributes:x2(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 x2(e,t){var n=[];return t&&Object.keys(t||{}).forEach(function(r){var o=t[r];if(w2(r,o)){var i=zE(e,r,pp);i&&n.push({entityId:i,key:r,value:o})}}),n}var X3="EVENT_TAGS_VALIDATOR";function J3(e){if(typeof e=="object"&&!Array.isArray(e)&&e!==null)return!0;throw new Error(ft(Ee.INVALID_EVENT_TAGS,X3))}var jf="USER_PROFILE_SERVICE_VALIDATOR";function Q3(e){if(typeof e=="object"&&e!==null){if(typeof e.lookup!="function")throw new Error(ft(Ee.INVALID_USER_PROFILE_SERVICE,jf,"Missing function 'lookup'"));if(typeof e.save!="function")throw new Error(ft(Ee.INVALID_USER_PROFILE_SERVICE,jf,"Missing function 'save'"));return!0}throw new Error(ft(Ee.INVALID_USER_PROFILE_SERVICE,jf))}var Je="OPTIMIZELY",Z3=3e4,eV=function(){function e(t){var n=this,r,o=t.clientEngine;o||(t.logger.log(q.INFO,Y.INVALID_CLIENT_ENGINE,Je,o),o=IE),this.clientEngine=o,this.clientVersion=t.clientVersion||kh,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(q.DEBUG,Y.INVALID_DEFAULT_DECIDE_OPTIONS,Je),i=[]);var s={};i.forEach(function(c){Vr[c]?s[c]=!0:n.logger.log(q.WARNING,Y.UNRECOGNIZED_DECIDE_OPTION,Je,c)}),this.defaultDecideOptions=s,this.projectConfigManager=u3({datafile:t.datafile,jsonSchemaValidator:t.jsonSchemaValidator,sdkKey:t.sdkKey,datafileManager:t.datafileManager}),this.disposeOnUpdate=this.projectConfigManager.onUpdate(function(c){n.logger.log(q.INFO,Y.UPDATED_OPTIMIZELY_CONFIG,Je,c.revision,c.projectId),n.notificationCenter.sendNotifications(_n.OPTIMIZELY_CONFIG_UPDATE),n.updateOdpSettings()});var a=this.projectConfigManager.onReady(),l=null;if(t.userProfileService)try{Q3(t.userProfileService)&&(l=t.userProfileService,this.logger.log(q.INFO,Y.VALID_USER_PROFILE_SERVICE,Je))}catch(c){this.logger.log(q.WARNING,c.message)}this.decisionService=j3({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(q.ERROR,Y.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(!bj(o,t))return this.logger.log(q.DEBUG,Y.SHOULD_NOT_DISPATCH_ACTIVATE,Je,t),i;var s=lp(o,t),a=s.variationKeyMap[i],l={experiment:s,variation:a,decisionSource:fn.EXPERIMENT};return this.sendImpressionEvent(l,"",n,!0,r),i}catch(u){return this.logger.log(q.ERROR,u.message),this.logger.log(q.INFO,Y.NOT_ACTIVATING_USER,Je,n,t),this.errorHandler.handleError(u),null}}catch(u){return this.logger.log(q.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=W3({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=fp(t),u=I2(t),c=dp(t),f=O2(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=K3(p),g;d&&d.variationKeyMap&&c!==""&&(g=d.variationKeyMap[c]),this.notificationCenter.sendNotifications(_n.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(q.ERROR,Y.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(!Cj(i,t)){this.logger.log(q.WARNING,Y.EVENT_KEY_NOT_FOUND,Je,t),this.logger.log(q.WARNING,Y.NOT_TRACKING_USER,Je,n);return}o=this.filterEmptyValues(o);var s=Y3({eventKey:t,eventTags:o,userId:n,userAttributes:r,clientEngine:this.clientEngine,clientVersion:this.clientVersion,configObj:i});this.logger.log(q.INFO,Y.TRACK_EVENT,Je,t,n),this.eventProcessor.process(s),this.emitNotificationCenterTrack(t,n,r,o)}catch(a){this.logger.log(q.ERROR,a.message),this.errorHandler.handleError(a),this.logger.log(q.ERROR,Y.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=q3(s);this.notificationCenter.sendNotifications(_n.TRACK,{eventKey:t,userId:n,attributes:r,eventTags:o,logEvent:a})}catch(l){this.logger.log(q.ERROR,l.message),this.errorHandler.handleError(l)}},e.prototype.getVariation=function(t,n,r){try{if(!this.isValidInstance())return this.logger.log(q.ERROR,Y.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(q.DEBUG,Ee.INVALID_EXPERIMENT_KEY,Je,t),null;var s=this.decisionService.getVariation(o,i,this.createInternalUserContext(n,r)).result,a=Nj(o,i.id)?mi.FEATURE_TEST:mi.AB_TEST;return this.notificationCenter.sendNotifications(_n.DECISION,{type:a,userId:n,attributes:r||{},decisionInfo:{experimentKey:t,variationKey:s}}),s}catch(l){return this.logger.log(q.ERROR,l.message),this.errorHandler.handleError(l),null}}catch(l){return this.logger.log(q.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(q.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(q.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(ft(Ee.INVALID_INPUT_FORMAT,Je,"user_id"));delete t.user_id}return Object.keys(t).forEach(function(i){if(!b2(t[i]))throw new Error(ft(Ee.INVALID_INPUT_FORMAT,Je,i))}),n&&B3(n),r&&J3(r),!0}catch(i){return this.logger.log(q.ERROR,i.message),this.errorHandler.handleError(i),!1}},e.prototype.notActivatingExperiment=function(t,n){return this.logger.log(q.INFO,Y.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(q.ERROR,Y.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=Ff(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=fp(l),f=dp(l),d=Jl(l);u===fn.FEATURE_TEST&&(s={experimentKey:c,variationKey:f}),(u===fn.FEATURE_TEST||u===fn.ROLLOUT&&sv(o))&&this.sendImpressionEvent(l,i.key,n,d,r),d===!0?this.logger.log(q.INFO,Y.FEATURE_ENABLED_FOR_USER,Je,t,n):(this.logger.log(q.INFO,Y.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(_n.DECISION,{type:mi.FEATURE,userId:n,attributes:r||{},decisionInfo:p}),d}catch(h){return this.logger.log(q.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(q.ERROR,Y.INVALID_OBJECT,Je,"getEnabledFeatures"),o;if(!this.validateInputs({user_id:t}))return o;var i=this.projectConfigManager.getConfig();return i&&Wr(i.featureKeyMap).forEach(function(s){r.isFeatureEnabled(s.key,t,n)&&o.push(s.key)}),o}catch(s){return this.logger.log(q.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(q.ERROR,Y.INVALID_OBJECT,Je,"getFeatureVariable"),null)}catch(i){return this.logger.log(q.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=Ff(s,t,this.logger);if(!a)return null;var l=Rj(s,t,n,this.logger);if(!l)return null;if(r&&l.type!==r)return this.logger.log(q.WARNING,Y.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=Jl(c),d=this.getFeatureVariableValueFromVariation(t,f,c.variation,l,o),p={};return c.decisionSource===fn.FEATURE_TEST&&c.experiment!==null&&c.variation!==null&&(p={experimentKey:c.experiment.key,variationKey:c.variation.key}),this.notificationCenter.sendNotifications(_n.DECISION,{type:mi.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=Ij(s,o,r,this.logger);l!==null?n?(a=l,this.logger.log(q.INFO,Y.USER_RECEIVED_VARIABLE_VALUE,Je,a,o.key,t)):this.logger.log(q.INFO,Y.FEATURE_NOT_ENABLED_RETURN_DEFAULT_VARIABLE_VALUE,Je,t,i,a):this.logger.log(q.INFO,Y.VARIABLE_NOT_USED_RETURN_DEFAULT_VARIABLE_VALUE,Je,o.key,r.key)}else this.logger.log(q.INFO,Y.USER_RECEIVED_DEFAULT_VARIABLE_VALUE,Je,i,o.key,t);return Oj(a,o.type,this.logger)},e.prototype.getFeatureVariableBoolean=function(t,n,r,o){try{return this.isValidInstance()?this.getFeatureVariableForType(t,n,er.BOOLEAN,r,o):(this.logger.log(q.ERROR,Y.INVALID_OBJECT,Je,"getFeatureVariableBoolean"),null)}catch(i){return this.logger.log(q.ERROR,i.message),this.errorHandler.handleError(i),null}},e.prototype.getFeatureVariableDouble=function(t,n,r,o){try{return this.isValidInstance()?this.getFeatureVariableForType(t,n,er.DOUBLE,r,o):(this.logger.log(q.ERROR,Y.INVALID_OBJECT,Je,"getFeatureVariableDouble"),null)}catch(i){return this.logger.log(q.ERROR,i.message),this.errorHandler.handleError(i),null}},e.prototype.getFeatureVariableInteger=function(t,n,r,o){try{return this.isValidInstance()?this.getFeatureVariableForType(t,n,er.INTEGER,r,o):(this.logger.log(q.ERROR,Y.INVALID_OBJECT,Je,"getFeatureVariableInteger"),null)}catch(i){return this.logger.log(q.ERROR,i.message),this.errorHandler.handleError(i),null}},e.prototype.getFeatureVariableString=function(t,n,r,o){try{return this.isValidInstance()?this.getFeatureVariableForType(t,n,er.STRING,r,o):(this.logger.log(q.ERROR,Y.INVALID_OBJECT,Je,"getFeatureVariableString"),null)}catch(i){return this.logger.log(q.ERROR,i.message),this.errorHandler.handleError(i),null}},e.prototype.getFeatureVariableJSON=function(t,n,r,o){try{return this.isValidInstance()?this.getFeatureVariableForType(t,n,er.JSON,r,o):(this.logger.log(q.ERROR,Y.INVALID_OBJECT,Je,"getFeatureVariableJSON"),null)}catch(i){return this.logger.log(q.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(q.ERROR,Y.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=Ff(i,t,this.logger);if(!s)return null;var a=this.createInternalUserContext(n,r),l=this.decisionService.getVariationForFeature(i,s,a).result,u=Jl(l),c={};s.variables.forEach(function(d){c[d.key]=o.getFeatureVariableValueFromVariation(t,u,l.variation,d,n)});var f={};return l.decisionSource===fn.FEATURE_TEST&&l.experiment!==null&&l.variation!==null&&(f={experimentKey:l.experiment.key,variationKey:l.variation.key}),this.notificationCenter.sendNotifications(_n.DECISION,{type:mi.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(q.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(q.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&&VE.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(q.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),Ut.isSafeInteger(r)||(r=Z3);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:ft("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 pv({optimizely:this,userId:o,attributes:n,shouldIdentifyUser:!0})},e.prototype.createInternalUserContext=function(t,n){return new pv({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(q.INFO,Y.INVALID_OBJECT,Je,"decide"),dv(n,t,[ip.SDK_NOT_READY]);var h=f.featureKeyMap[n];if(!h)return this.logger.log(q.ERROR,Ee.FEATURE_NOT_IN_DATAFILE,Je,n),dv(n,t,[ft(ip.FLAG_KEY_INVALID,n)]);var g=this.getAllDecideOptions(r),v=this.decisionService.findValidatedForcedDecision(f,t,n);d.push.apply(d,v.reasons);var m=v.result;if(m)p={experiment:null,variation:m,decisionSource:fn.FEATURE_TEST};else{var E=this.decisionService.getVariationForFeature(f,h,t,g);d.push.apply(d,E.reasons),p=E.result}var y=p.decisionSource,_=(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,A=Jl(p);A===!0?this.logger.log(q.INFO,Y.FEATURE_ENABLED_FOR_USER,Je,n,u):this.logger.log(q.INFO,Y.FEATURE_NOT_ENABLED_FOR_USER,Je,n,u);var S={},D=!1;g[Vr.EXCLUDE_VARIABLES]||h.variables.forEach(function(H){S[H.key]=o.getFeatureVariableValueFromVariation(n,A,p.variation,H,u)}),!g[Vr.DISABLE_DECISION_EVENT]&&(y===fn.FEATURE_TEST||y===fn.ROLLOUT&&sv(f))&&(this.sendImpressionEvent(p,n,u,A,c),D=!0);var M=g[Vr.INCLUDE_REASONS],j=[];M&&(j=d.map(function(H){return ft.apply(void 0,Ss([H[0]],H.slice(1),!1))}));var B={flagKey:n,enabled:A,variationKey:T,ruleKey:_,variables:S,reasons:j,decisionEventDispatched:D};return this.notificationCenter.sendNotifications(_n.DECISION,{type:mi.FLAG,userId:u,attributes:c,decisionInfo:B}),{variationKey:T,enabled:A,variables:S,ruleKey:_,flagKey:n,userContext:t,reasons:j}},e.prototype.getAllDecideOptions=function(t){var n=this,r=rr({},this.defaultDecideOptions);return Array.isArray(t)?t.forEach(function(o){Vr[o]?r[o]=!0:n.logger.log(q.WARNING,Y.UNRECOGNIZED_DECIDE_OPTION,Je,o)}):this.logger.log(q.DEBUG,Y.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(q.ERROR,Y.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[Vr.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(q.ERROR,Y.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(Ee.ODP_EVENT_FAILED_ODP_MANAGER_MISSING);return}var i=n??nc,s=new Map(r);if(r&&r.size>0)try{r.forEach(function(l,u){(NE===u.toLowerCase()||pr.FS_USER_ID===u.toLowerCase())&&(s.delete(u),s.set(pr.FS_USER_ID,l))})}catch{this.logger.warn(Y.ODP_SEND_EVENT_IDENTIFIER_CONVERSION_FAILED)}try{var a=new oc(i,t,s,o);this.odpManager.sendEvent(a)}catch(l){this.logger.error(Ee.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 Wt(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(q.WARNING,"getVuid() unavailable for this platform",Je);return}return this.odpManager.getVuid()},e}(),tV={parseUserAgentInfo:function(){var e=new JF.UAParser,t=e.getResult(),n=t.os,r=t.device;return{os:n,device:r}}};function nV(){return tV}var rV=Object.freeze({__proto__:null,get LogLevel(){return Oe},getLogger:Xt,setLogHandler:RE,LOG_LEVEL:q,createLogger:Mh}),Dr=Xt();wi.setLogHandler(Mh());wi.setLogLevel(Oe.INFO);var oV="INDEX_BROWSER",_v=10,bv=1e3,iV=1e4,hp=!1,C2=function(e){var t;try{var n=!1;e.errorHandler&&ZF(e.errorHandler),e.logger&&(wi.setLogHandler(e.logger),wi.setLogLevel(Oe.NOTSET)),e.logLevel!==void 0&&wi.setLogLevel(e.logLevel);try{DE.validate(e),n=!0}catch(v){Dr.error(v)}var r=void 0;e.eventDispatcher==null?(r=new PE({eventDispatcher:kE}),hp||(r.sendPendingEvents(),hp=!0)):r=e.eventDispatcher;var o=e.closingEventDispatcher;!e.eventDispatcher&&!o&&window.navigator&&"sendBeacon"in window.navigator&&(o=ME);var i=e.eventBatchSize,s=e.eventFlushInterval;tv.validateEventBatchSize(e.eventBatchSize)||(Dr.warn("Invalid eventBatchSize %s, defaulting to %s",e.eventBatchSize,_v),i=_v),tv.validateEventFlushInterval(e.eventFlushInterval)||(Dr.warn("Invalid eventFlushInterval %s, defaulting to %s",e.eventFlushInterval,bv),s=bv);var a=EE(),l=UE({logger:Dr,errorHandler:a}),u={dispatcher:r,closingDispatcher:o,flushInterval:s,batchSize:i,maxQueueSize:e.eventMaxQueueSize||iV,notificationCenter:l},c=((t=e.odpOptions)===null||t===void 0?void 0:t.disabled)===!0;c&&Dr.info(Y.ODP_DISABLED);var f=e.clientEngine,d=e.clientVersion,p=rr(rr({clientEngine:Dh},e),{eventProcessor:qU.createEventProcessor(u),logger:Dr,errorHandler:a,datafileManager:e.sdkKey?Lj(e.sdkKey,Dr,e.datafile,e.datafileOptions):void 0,notificationCenter:l,isValidInstance:n,odpManager:c?void 0:t3.createInstance({logger:Dr,odpOptions:e.odpOptions,clientEngine:f,clientVersion:d})}),h=new eV(p);try{if(typeof window.addEventListener=="function"){var g="onpagehide"in window?"pagehide":"unload";window.addEventListener(g,function(){h.close()},!1)}}catch(v){Dr.error(Y.UNABLE_TO_ATTACH_UNLOAD,oV,v.message)}return h}catch(v){return Dr.error(v),null}},sV=function(){hp=!1},aV=wi.setLogHandler,lV=wi.setLogLevel;rr(rr({},rV),{logging:$U,errorHandler:kU,eventDispatcher:kE,sendBeaconEventDispatcher:ME,enums:Ma,setLogger:aV,setLogLevel:lV,createInstance:C2,__internalResetRetryState:sV,OptimizelyDecideOption:Vr,getUserAgentParser:nV});const uV=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"]}[kt().public.APPLICATION]||[]).includes(e),cV=Gt(async()=>{const e=kt(),t=Rn(),n=ct("activeMid",()=>""),r=uV(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:C2({datafile:ct("optimizely-datafile").value,logLevel:t.query.optimizely_log==="true"?Ma.LOG_LEVEL.DEBUG:e.public.optimizelyLogLevel||Ma.LOG_LEVEL.INFO})}}}),fV=Gt(()=>{const{$optimizely:e}=Be();if(!e){console.warn("Optimizely is not initialized");return}e.notificationCenter.addNotificationListener(Ma.NOTIFICATION_TYPES.DECISION,t=>{Ns(()=>{pV(t,e)})})});function dV(e){const t=kt().public.stage!=="production",n=`"${e}" is missing Optimizely dimension number.`;if(t)throw new Error(n)}function pV({type:e,decisionInfo:t},n){var f,d,p,h;const r=n.getOptimizelyConfig();if(e!==Ma.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=(p=(d=(f=r.experimentsMap[s])==null?void 0:f.variationsMap)==null?void 0:d[a])==null?void 0:p.id,c=o?o["optimizely-dimension-number"]:void 0;if(!c){dV(s);return}if(c&&a&&l)return((h=window==null?void 0:window.dataLayer)==null?void 0:h.find(v=>v.event==="campaign-decided"&&v["optimizely-dimension-value"]===`${s} (${l}):${a} (${u})`&&v["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 hV=(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)},gV=({activeMid:e,midFromUrl:t,defaultMid:n})=>t||e||n;function Di(){const e=ct("activeMid",()=>"");try{const t=Rn(),n=kt(),r=typeof t.query.mid=="string"?t.query.mid:"",o=hV(r)?r:null,i=typeof n.public.DEFAULT_MID=="string"?n.public.DEFAULT_MID:"",s=gV({activeMid:e.value,midFromUrl:o,defaultMid:i});s!==e.value&&(e.value=s)}catch{}return e.value}const mV=Gt(e=>{const t=$t(),n=Di(),r=Md();globalThis.$fetch=$fetch.create({onRequest:({options:o})=>{const i=t.currentRoute.value.path,s=new Headers(o.headers);Object.entries(r).forEach(([a,l])=>{s.set(a,l)}),s.set("X-Mid-Token",o.headers.get("X-Mid-Token")||n),s.set("X-Client-Path",i||""),o.headers=s}})});/*! @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:N2,setPrototypeOf:Ev,isFrozen:yV,getPrototypeOf:vV,getOwnPropertyDescriptor:_V}=Object;let{freeze:Fn,seal:vr,create:L2}=Object,{apply:gp,construct:mp}=typeof Reflect<"u"&&Reflect;Fn||(Fn=function(t){return t});vr||(vr=function(t){return t});gp||(gp=function(t,n,r){return t.apply(n,r)});mp||(mp=function(t,n){return new t(...n)});const Ql=Un(Array.prototype.forEach),bV=Un(Array.prototype.lastIndexOf),Tv=Un(Array.prototype.pop),qs=Un(Array.prototype.push),EV=Un(Array.prototype.splice),vu=Un(String.prototype.toLowerCase),Vf=Un(String.prototype.toString),wv=Un(String.prototype.match),Ws=Un(String.prototype.replace),TV=Un(String.prototype.indexOf),wV=Un(String.prototype.trim),br=Un(Object.prototype.hasOwnProperty),xn=Un(RegExp.prototype.test),Ys=SV(TypeError);function Un(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]:vu;Ev&&Ev(e,null);let r=t.length;for(;r--;){let o=t[r];if(typeof o=="string"){const i=n(o);i!==o&&(yV(t)||(t[r]=i),o=i)}e[o]=!0}return e}function AV(e){for(let t=0;t/gm),CV=vr(/\$\{[\w\W]*/gm),NV=vr(/^data-[\-\w.\u00B7-\uFFFF]+$/),LV=vr(/^aria-[\-\w]+$/),P2=vr(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),PV=vr(/^(?:\w+script|data):/i),DV=vr(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),D2=vr(/^html$/i),kV=vr(/^[a-z][.\w]*(-[.\w]+)+$/i);var Ov=Object.freeze({__proto__:null,ARIA_ATTR:LV,ATTR_WHITESPACE:DV,CUSTOM_ELEMENT:kV,DATA_ATTR:NV,DOCTYPE_NAME:D2,ERB_EXPR:xV,IS_ALLOWED_URI:P2,IS_SCRIPT_OR_DATA:PV,MUSTACHE_EXPR:OV,TMPLIT_EXPR:CV});const Js={element:1,text:3,progressingInstruction:7,comment:8,document:9},MV=function(){return typeof window>"u"?null:window},FV=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}},xv=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function k2(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:MV();const t=Ne=>k2(Ne);if(t.version="3.2.4",t.removed=[],!e||!e.document||e.document.nodeType!==Js.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=Xs(h,"cloneNode"),v=Xs(h,"remove"),m=Xs(h,"nextSibling"),E=Xs(h,"childNodes"),y=Xs(h,"parentNode");if(typeof s=="function"){const Ne=n.createElement("template");Ne.content&&Ne.content.ownerDocument&&(n=Ne.content.ownerDocument)}let _,T="";const{implementation:A,createNodeIterator:S,createDocumentFragment:D,getElementsByTagName:M}=n,{importNode:j}=r;let B=xv();t.isSupported=typeof N2=="function"&&typeof y=="function"&&A&&A.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:H,ERB_EXPR:le,TMPLIT_EXPR:Te,DATA_ATTR:ke,ARIA_ATTR:pe,IS_SCRIPT_OR_DATA:ge,ATTR_WHITESPACE:re,CUSTOM_ELEMENT:_e}=Ov;let{IS_ALLOWED_URI:tt}=Ov,Ae=null;const Ke=rt({},[...Sv,...$f,...Bf,...Hf,...Av]);let He=null;const it=rt({},[...Rv,...zf,...Iv,...Zl]);let qe=Object.seal(L2(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,se=!0,ae=!0,ve=!1,We=!0,ze=!1,C=!0,L=!1,V=!1,ne=!1,X=!1,O=!1,N=!1,U=!0,K=!1;const ee="user-content-";let Q=!0,I=!1,P={},G=null;const oe=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 be=rt({},["audio","video","img","source","image","track"]);let Ye=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",At="http://www.w3.org/1999/xhtml";let In=At,Bt=!1,mn=null;const ii=rt({},[Ue,we,At],Vf);let to=rt({},["mi","mo","mn","ms","mtext"]),Or=rt({},["annotation-xml"]);const Ds=rt({},["title","style","font","a","script"]);let xr=null;const ul=["application/xhtml+xml","text/html"],cl="text/html";let Kt=null,Cr=null;const fl=n.createElement("form"),dl=function(F){return F instanceof RegExp||F instanceof Function},si=function(){let F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Cr&&Cr===F)){if((!F||typeof F!="object")&&(F={}),F=yi(F),xr=ul.indexOf(F.PARSER_MEDIA_TYPE)===-1?cl:F.PARSER_MEDIA_TYPE,Kt=xr==="application/xhtml+xml"?Vf:vu,Ae=br(F,"ALLOWED_TAGS")?rt({},F.ALLOWED_TAGS,Kt):Ke,He=br(F,"ALLOWED_ATTR")?rt({},F.ALLOWED_ATTR,Kt):it,mn=br(F,"ALLOWED_NAMESPACES")?rt({},F.ALLOWED_NAMESPACES,Vf):ii,Ye=br(F,"ADD_URI_SAFE_ATTR")?rt(yi(nt),F.ADD_URI_SAFE_ATTR,Kt):nt,fe=br(F,"ADD_DATA_URI_TAGS")?rt(yi(be),F.ADD_DATA_URI_TAGS,Kt):be,G=br(F,"FORBID_CONTENTS")?rt({},F.FORBID_CONTENTS,Kt):oe,ot=br(F,"FORBID_TAGS")?rt({},F.FORBID_TAGS,Kt):{},J=br(F,"FORBID_ATTR")?rt({},F.FORBID_ATTR,Kt):{},P=br(F,"USE_PROFILES")?F.USE_PROFILES:!1,se=F.ALLOW_ARIA_ATTR!==!1,ae=F.ALLOW_DATA_ATTR!==!1,ve=F.ALLOW_UNKNOWN_PROTOCOLS||!1,We=F.ALLOW_SELF_CLOSE_IN_ATTR!==!1,ze=F.SAFE_FOR_TEMPLATES||!1,C=F.SAFE_FOR_XML!==!1,L=F.WHOLE_DOCUMENT||!1,X=F.RETURN_DOM||!1,O=F.RETURN_DOM_FRAGMENT||!1,N=F.RETURN_TRUSTED_TYPE||!1,ne=F.FORCE_BODY||!1,U=F.SANITIZE_DOM!==!1,K=F.SANITIZE_NAMED_PROPS||!1,Q=F.KEEP_CONTENT!==!1,I=F.IN_PLACE||!1,tt=F.ALLOWED_URI_REGEXP||P2,In=F.NAMESPACE||At,to=F.MATHML_TEXT_INTEGRATION_POINTS||to,Or=F.HTML_INTEGRATION_POINTS||Or,qe=F.CUSTOM_ELEMENT_HANDLING||{},F.CUSTOM_ELEMENT_HANDLING&&dl(F.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(qe.tagNameCheck=F.CUSTOM_ELEMENT_HANDLING.tagNameCheck),F.CUSTOM_ELEMENT_HANDLING&&dl(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),O&&(X=!0),P&&(Ae=rt({},Av),He=[],P.html===!0&&(rt(Ae,Sv),rt(He,Rv)),P.svg===!0&&(rt(Ae,$f),rt(He,zf),rt(He,Zl)),P.svgFilters===!0&&(rt(Ae,Bf),rt(He,zf),rt(He,Zl)),P.mathMl===!0&&(rt(Ae,Hf),rt(He,Iv),rt(He,Zl))),F.ADD_TAGS&&(Ae===Ke&&(Ae=yi(Ae)),rt(Ae,F.ADD_TAGS,Kt)),F.ADD_ATTR&&(He===it&&(He=yi(He)),rt(He,F.ADD_ATTR,Kt)),F.ADD_URI_SAFE_ATTR&&rt(Ye,F.ADD_URI_SAFE_ATTR,Kt),F.FORBID_CONTENTS&&(G===oe&&(G=yi(G)),rt(G,F.FORBID_CONTENTS,Kt)),Q&&(Ae["#text"]=!0),L&&rt(Ae,["html","head","body"]),Ae.table&&(rt(Ae,["tbody"]),delete ot.tbody),F.TRUSTED_TYPES_POLICY){if(typeof F.TRUSTED_TYPES_POLICY.createHTML!="function")throw Ys('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof F.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Ys('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');_=F.TRUSTED_TYPES_POLICY,T=_.createHTML("")}else _===void 0&&(_=FV(p,o)),_!==null&&typeof T=="string"&&(T=_.createHTML(""));Fn&&Fn(F),Cr=F}},pl=rt({},[...$f,...Bf,...RV]),hl=rt({},[...Hf,...IV]),ks=function(F){let de=y(F);(!de||!de.tagName)&&(de={namespaceURI:In,tagName:"template"});const Re=vu(F.tagName),xt=vu(de.tagName);return mn[F.namespaceURI]?F.namespaceURI===we?de.namespaceURI===At?Re==="svg":de.namespaceURI===Ue?Re==="svg"&&(xt==="annotation-xml"||to[xt]):!!pl[Re]:F.namespaceURI===Ue?de.namespaceURI===At?Re==="math":de.namespaceURI===we?Re==="math"&&Or[xt]:!!hl[Re]:F.namespaceURI===At?de.namespaceURI===we&&!Or[xt]||de.namespaceURI===Ue&&!to[xt]?!1:!hl[Re]&&(Ds[Re]||!pl[Re]):!!(xr==="application/xhtml+xml"&&mn[F.namespaceURI]):!1},Jt=function(F){qs(t.removed,{element:F});try{y(F).removeChild(F)}catch{v(F)}},Mi=function(F,de){try{qs(t.removed,{attribute:de.getAttributeNode(F),from:de})}catch{qs(t.removed,{attribute:null,from:de})}if(de.removeAttribute(F),F==="is")if(X||O)try{Jt(de)}catch{}else try{de.setAttribute(F,"")}catch{}},gl=function(F){let de=null,Re=null;if(ne)F=""+F;else{const Qt=wv(F,/^[\r\n\t ]+/);Re=Qt&&Qt[0]}xr==="application/xhtml+xml"&&In===At&&(F=''+F+"");const xt=_?_.createHTML(F):F;if(In===At)try{de=new d().parseFromString(xt,xr)}catch{}if(!de||!de.documentElement){de=A.createDocument(In,"template",null);try{de.documentElement.innerHTML=Bt?T:xt}catch{}}const nn=de.body||de.documentElement;return F&&Re&&nn.insertBefore(n.createTextNode(Re),nn.childNodes[0]||null),In===At?M.call(de,L?"html":"body")[0]:L?de.documentElement:nn},ml=function(F){return S.call(F.ownerDocument||F,F,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},ai=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")},no=function(F){return typeof a=="function"&&F instanceof a};function sr(Ne,F,de){Ql(Ne,Re=>{Re.call(t,F,de,Cr)})}const Fi=function(F){let de=null;if(sr(B.beforeSanitizeElements,F,null),ai(F))return Jt(F),!0;const Re=Kt(F.nodeName);if(sr(B.uponSanitizeElement,F,{tagName:Re,allowedTags:Ae}),F.hasChildNodes()&&!no(F.firstElementChild)&&xn(/<[/\w]/g,F.innerHTML)&&xn(/<[/\w]/g,F.textContent)||F.nodeType===Js.progressingInstruction||C&&F.nodeType===Js.comment&&xn(/<[/\w]/g,F.data))return Jt(F),!0;if(!Ae[Re]||ot[Re]){if(!ot[Re]&&yl(Re)&&(qe.tagNameCheck instanceof RegExp&&xn(qe.tagNameCheck,Re)||qe.tagNameCheck instanceof Function&&qe.tagNameCheck(Re)))return!1;if(Q&&!G[Re]){const xt=y(F)||F.parentNode,nn=E(F)||F.childNodes;if(nn&&xt){const Qt=nn.length;for(let ln=Qt-1;ln>=0;--ln){const ar=g(nn[ln],!0);ar.__removalCount=(F.__removalCount||0)+1,xt.insertBefore(ar,m(F))}}}return Jt(F),!0}return F instanceof l&&!ks(F)||(Re==="noscript"||Re==="noembed"||Re==="noframes")&&xn(/<\/no(script|embed|frames)/i,F.innerHTML)?(Jt(F),!0):(ze&&F.nodeType===Js.text&&(de=F.textContent,Ql([H,le,Te],xt=>{de=Ws(de,xt," ")}),F.textContent!==de&&(qs(t.removed,{element:F.cloneNode()}),F.textContent=de)),sr(B.afterSanitizeElements,F,null),!1)},Ms=function(F,de,Re){if(U&&(de==="id"||de==="name")&&(Re in n||Re in fl))return!1;if(!(ae&&!J[de]&&xn(ke,de))){if(!(se&&xn(pe,de))){if(!He[de]||J[de]){if(!(yl(F)&&(qe.tagNameCheck instanceof RegExp&&xn(qe.tagNameCheck,F)||qe.tagNameCheck instanceof Function&&qe.tagNameCheck(F))&&(qe.attributeNameCheck instanceof RegExp&&xn(qe.attributeNameCheck,de)||qe.attributeNameCheck instanceof Function&&qe.attributeNameCheck(de))||de==="is"&&qe.allowCustomizedBuiltInElements&&(qe.tagNameCheck instanceof RegExp&&xn(qe.tagNameCheck,Re)||qe.tagNameCheck instanceof Function&&qe.tagNameCheck(Re))))return!1}else if(!Ye[de]){if(!xn(tt,Ws(Re,re,""))){if(!((de==="src"||de==="xlink:href"||de==="href")&&F!=="script"&&TV(Re,"data:")===0&&fe[F])){if(!(ve&&!xn(ge,Ws(Re,re,"")))){if(Re)return!1}}}}}}return!0},yl=function(F){return F!=="annotation-xml"&&wv(F,_e)},Fs=function(F){sr(B.beforeSanitizeAttributes,F,null);const{attributes:de}=F;if(!de||ai(F))return;const Re={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:He,forceKeepAttr:void 0};let xt=de.length;for(;xt--;){const nn=de[xt],{name:Qt,namespaceURI:ln,value:ar}=nn,li=Kt(Qt);let un=Qt==="value"?ar:wV(ar);if(Re.attrName=li,Re.attrValue=un,Re.keepAttr=!0,Re.forceKeepAttr=void 0,sr(B.uponSanitizeAttribute,F,Re),un=Re.attrValue,K&&(li==="id"||li==="name")&&(Mi(Qt,F),un=ee+un),C&&xn(/((--!?|])>)|<\/(style|title)/i,un)){Mi(Qt,F);continue}if(Re.forceKeepAttr||(Mi(Qt,F),!Re.keepAttr))continue;if(!We&&xn(/\/>/i,un)){Mi(Qt,F);continue}ze&&Ql([H,le,Te],Us=>{un=Ws(un,Us," ")});const vl=Kt(F.nodeName);if(Ms(vl,li,un)){if(_&&typeof p=="object"&&typeof p.getAttributeType=="function"&&!ln)switch(p.getAttributeType(vl,li)){case"TrustedHTML":{un=_.createHTML(un);break}case"TrustedScriptURL":{un=_.createScriptURL(un);break}}try{ln?F.setAttributeNS(ln,Qt,un):F.setAttribute(Qt,un),ai(F)?Jt(F):Tv(t.removed)}catch{}}}sr(B.afterSanitizeAttributes,F,null)},Gc=function Ne(F){let de=null;const Re=ml(F);for(sr(B.beforeSanitizeShadowDOM,F,null);de=Re.nextNode();)sr(B.uponSanitizeShadowNode,de,null),Fi(de),Fs(de),de.content instanceof i&&Ne(de.content);sr(B.afterSanitizeShadowDOM,F,null)};return t.sanitize=function(Ne){let F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},de=null,Re=null,xt=null,nn=null;if(Bt=!Ne,Bt&&(Ne=""),typeof Ne!="string"&&!no(Ne))if(typeof Ne.toString=="function"){if(Ne=Ne.toString(),typeof Ne!="string")throw Ys("dirty is not a string, aborting")}else throw Ys("toString is not a function");if(!t.isSupported)return Ne;if(V||si(F),t.removed=[],typeof Ne=="string"&&(I=!1),I){if(Ne.nodeName){const ar=Kt(Ne.nodeName);if(!Ae[ar]||ot[ar])throw Ys("root node is forbidden and cannot be sanitized in-place")}}else if(Ne instanceof a)de=gl(""),Re=de.ownerDocument.importNode(Ne,!0),Re.nodeType===Js.element&&Re.nodeName==="BODY"||Re.nodeName==="HTML"?de=Re:de.appendChild(Re);else{if(!X&&!ze&&!L&&Ne.indexOf("<")===-1)return _&&N?_.createHTML(Ne):Ne;if(de=gl(Ne),!de)return X?null:N?T:""}de&&ne&&Jt(de.firstChild);const Qt=ml(I?Ne:de);for(;xt=Qt.nextNode();)Fi(xt),Fs(xt),xt.content instanceof i&&Gc(xt.content);if(I)return Ne;if(X){if(O)for(nn=D.call(de.ownerDocument);de.firstChild;)nn.appendChild(de.firstChild);else nn=de;return(He.shadowroot||He.shadowrootmode)&&(nn=j.call(r,nn,!0)),nn}let ln=L?de.outerHTML:de.innerHTML;return L&&Ae["!doctype"]&&de.ownerDocument&&de.ownerDocument.doctype&&de.ownerDocument.doctype.name&&xn(D2,de.ownerDocument.doctype.name)&&(ln=" `+ln),ze&&Ql([H,le,Te],ar=>{ln=Ws(ln,ar," ")}),_&&N?_.createHTML(ln):ln},t.setConfig=function(){let Ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};si(Ne),V=!0},t.clearConfig=function(){Cr=null,V=!1},t.isValidAttribute=function(Ne,F,de){Cr||si({});const Re=Kt(Ne),xt=Kt(F);return Ms(Re,xt,de)},t.addHook=function(Ne,F){typeof F=="function"&&qs(B[Ne],F)},t.removeHook=function(Ne,F){if(F!==void 0){const de=bV(B[Ne],F);return de===-1?void 0:EV(B[Ne],de,1)[0]}return Tv(B[Ne])},t.removeHooks=function(Ne){B[Ne]=[]},t.removeAllHooks=function(){B=xv()},t}var UV=k2();function jV(e,t){const n=e.hooks??{};let r;for(r in n){const o=n[r];o!==void 0&&t.addHook(r,o)}}function M2(){return UV()}function VV(e={},t=M2){const n=t();jV(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 $V={install(e,t={},n=M2){e.directive("dompurify-html",VV(t,n))}},BV=Gt(e=>{e.vueApp.use($V)}),HV=Gt({name:"i18n:plugin:ssg-detect",dependsOn:["i18n:plugin","i18n:plugin:route-locale-detect"],enforce:"post",setup(){Be()}}),zV=["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"],eu={"👨🏻‍💻 🔥":"👨🏻‍💻 🔥","👨🏻‍💻 ㏒":"👨🏻‍💻 ㏒","👨🏻‍💻 ⚠️":"👨🏻‍💻 ⚠️"},GV=e=>{switch(e){case"error":return eu["👨🏻‍💻 🔥"];case"info":return eu["👨🏻‍💻 ㏒"];case"warning":return eu["👨🏻‍💻 ⚠️"];default:return eu["👨🏻‍💻 🔥"]}},KV=(e,{title:t,logLevel:n="error",report:r,name:o,message:i,metadata:s})=>{const a="Client",l=`${GV(n)} ${a} - ${o||""}`,u=i||(r==null?void 0: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[0].errorClass=l,e.errors[0].errorMessage=u};function qV(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 WV(e,t){if(!t)return;t=qV(e,t);const n=e.error instanceof Error?e.error:e.title||"Unknown Error from logParams";t.notify(n,r=>KV(r,e)),t._config.redactedKeys=zV}const YV=({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 XV={};function JV(e){return e.logLevel||(e.logLevel="warning"),e.error&&(e.logLevel="error"),e}function QV(e){var t;return(t=e.error)!=null&&t.name&&!e.name&&(e.name=e.error.name),e}function ZV(e){var t;return(t=e.error)!=null&&t.message&&!e.message&&(e.message=e.error.message),e}function e5(e,t){return e}function t5(e,t){return e}function n5(e,t){return e.ignore=t,e}function r5(e){var r,o,i;const t=((r=e.ignore)==null?void 0:r.headers)||[];return t.length?Object.keys(((i=(o=e.metadata)==null?void 0:o.request)==null?void 0:i.headers)||{}).some(s=>t.includes(s)):!1}function Cv(e){e=QV(e),e=ZV(e),e=JV(e),e=t5(e,this.log.prototype.requestUrl),e=e5(e,this.log.prototype.requestHeaders),e=n5(e,this.log.prototype.ignoreOptions),!r5(e)&&(XV.STAGE!=="production"&&console.log(e),WV(e,this.log.prototype.bugsnagClient),YV(e))}const o5=zC({enforce:"post",setup(e){return Cv.prototype.bugsnagClient=e.$bugsnag,{provide:{logger:{log:Cv}}}}}),i5=[pO,vO,fN,pN,hN,gN,yN,fD,dD,hD,_D,bD,_k,Pk,wF,PF,FF,cV,fV,mV,BV,HV,o5];async function s5(e,t){return await a5(t).catch(r=>(console.error("Failed to get image meta for "+t,r+""),{width:0,height:0,ratio:0}))}async function a5(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 Nv(e){return t=>t?e[t]||t:e.missingValue}function l5({formatter:e,keyMap:t,joinWith:n="/",valueMap:r}={}){e||(e=(i,s)=>`${i}=${s}`),t&&typeof t!="function"&&(t=Nv(t));const o=r||{};return Object.keys(o).forEach(i=>{typeof o[i]!="function"&&(o[i]=Nv(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 zr(e=""){if(typeof e=="number")return e;if(typeof e=="string"&&e.replace("px","").match(/^\d+$/g))return Number.parseInt(e,10)}function u5(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 c5(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 f5(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 d5(e){const t={options:e},n=(o,i={})=>F2(t,o,i),r=(o,i={},s={})=>n(o,{...s,modifiers:Xa(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)=>p5(t,o,i),r.getSizes=(o,i)=>m5(t,o,i),t.$img=r,r}async function p5(e,t,n){const r=F2(e,t,{...n});return typeof r.getMeta=="function"?await r.getMeta():await s5(e,r.url)}function F2(e,t,n){var u,c;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}=h5(e,n.provider||e.options.provider),i=g5(e,n.preset);if(t=Mn(t)?t:Td(t),!r.supportsAlias){for(const f in e.options.alias)if(t.startsWith(f)){const d=e.options.alias[f];d&&(t=gr(d,t.slice(f.length)))}}if(r.validateDomains&&Mn(t)){const f=Ic(t).host;if(!e.options.domains.find(d=>d===f))return{url:t}}const s=Xa(n,i,o);s.modifiers={...s.modifiers};const a=s.modifiers.format;(u=s.modifiers)!=null&&u.width&&(s.modifiers.width=zr(s.modifiers.width)),(c=s.modifiers)!=null&&c.height&&(s.modifiers.height=zr(s.modifiers.height));const l=r.getImage(t,s,e);return l.format=l.format||a||"",l}function h5(e,t){const n=e.options.providers[t];if(!n)throw new Error("Unknown provider: "+t);return n}function g5(e,t){if(!t)return{};if(!e.options.presets[t])throw new Error("Unknown preset: "+t);return e.options.presets[t]}function m5(e,t,n){var h,g,v,m,E;const r=zr((h=n.modifiers)==null?void 0:h.width),o=zr((g=n.modifiers)==null?void 0:g.height),i=f5(n.sizes),s=(v=n.densities)!=null&&v.trim()?u5(n.densities.trim()):e.options.densities;c5(s);const a=r&&o?o/r:0,l=[],u=[];if(Object.keys(i).length>=1){for(const y in i){const _=Lv(y,String(i[y]),o,a,e);if(_!==void 0){l.push({size:_.size,screenMaxWidth:_.screenMaxWidth,media:`(max-width: ${_.screenMaxWidth}px)`});for(const T of s)u.push({width:_._cWidth*T,src:Pv(e,t,n,_,T)})}}y5(l)}else for(const y of s){const _=Object.keys(i)[0];let T=_?Lv(_,String(i[_]),o,a,e):void 0;T===void 0&&(T={size:"",screenMaxWidth:0,_cWidth:(m=n.modifiers)==null?void 0:m.width,_cHeight:(E=n.modifiers)==null?void 0:E.height}),u.push({width:y,src:Pv(e,t,n,T,y)})}v5(u);const c=u[u.length-1],f=l.length?l.map(y=>`${y.media?y.media+" ":""}${y.size}`).join(", "):void 0,d=f?"w":"x",p=u.map(y=>`${y.src} ${y.width}${d}`).join(", ");return{sizes:f,srcset:p,src:c==null?void 0:c.src}}function Lv(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 Pv(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 y5(e){var n;e.sort((r,o)=>r.screenMaxWidth-o.screenMaxWidth);let t=null;for(let r=e.length-1;r>=0;r--){const o=e[r];o.media===t&&e.splice(r,1),t=o.media}for(let r=0;rn.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 _5=l5({joinWith:"&"}),b5=(e,{modifiers:t={},baseURL:n}={})=>{const r={mode:"fill"};n||(n=kt().public.siteUrl),t.height!==void 0&&(r.height=String(t.height)),t.width!==void 0&&(r.width=String(t.width));const o=_5(r);return{url:gr(n,e+(o?"?"+o:""))}},E5=Object.freeze(Object.defineProperty({__proto__:null,getImage:b5},Symbol.toStringTag,{value:"Module"})),T5="https://a.storyblok.com",w5=(e,{modifiers:t={},baseURL:n=T5}={})=>{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(m=>`${m[0]}(${m[1]})`).join(":"),p=gr(r?`fit-${r}`:"",f?`${i}x${s}`:"",o?"smart":"",d?"filters:"+d:""),{pathname:h}=Ic(e);return{url:sb(gr(h,p?"/m/":"",p),n)}},S5=Object.freeze(Object.defineProperty({__proto__:null,getImage:w5},Symbol.toStringTag,{value:"Module"})),U2={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"]};U2.providers={akamai:{provider:E5,defaults:{}},storyblok:{provider:S5,defaults:void 0}};const j2=()=>{const e=kt(),t=Be();return t.$img||t._img||(t._img=d5({...U2,nuxt:{baseURL:e.app.baseURL},runtimeConfig:e}))};function A5(e){var t;(t=performance==null?void 0:performance.mark)==null||t.call(performance,"mark_feature_usage",{detail:{feature:e}})}const R5={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}},I5=e=>{const t=te(()=>({provider:e.provider,preset:e.preset})),n=te(()=>({width:zr(e.width),height:zr(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=j2(),o=te(()=>({...e.modifiers,width:zr(e.width),height:zr(e.height),format:e.format,quality:e.quality||r.options.quality,background:e.background,fit:e.fit}));return{options:t,attrs:n,modifiers:o}},O5={...R5,placeholder:{type:[Boolean,String,Number,Array],required:!1},placeholderClass:{type:String,required:!1},custom:{type:Boolean,required:!1}},x5=["src"],C5=Ce({__name:"NuxtImg",props:O5,emits:["load","error"],setup(e,{emit:t}){const n=e,r=Ec(),o=t,i=!1,s=j2(),a=I5(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:zr(n.width),height:zr(n.height)}})),f=te(()=>{const m={...a.attrs.value,"data-nuxt-img":""};return(!n.placeholder||l.value)&&(m.sizes=c.value.sizes,m.srcset=c.value.srcset),m}),d=te(()=>{let m=n.placeholder;if(m===""&&(m=!0),!m||l.value)return!1;if(typeof m=="string")return m;const E=Array.isArray(m)?m:typeof m=="number"?[m,m]:[10,10];return s(n.src,{...a.modifiers.value,width:E[0],height:E[1],quality:E[2]||50,blur:E[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),v=Be().isHydrating;return an(()=>{if(d.value||n.custom){const m=new Image;p.value&&(m.src=p.value),n.sizes&&(m.sizes=c.value.sizes||"",m.srcset=c.value.srcset),m.onload=E=>{l.value=!0,o("load",E)},m.onerror=E=>{o("error",E)},A5("nuxt-image");return}u.value&&(u.value.complete&&v&&(u.value.getAttribute("data-error")?o("error",new Event("error")):o("load",new Event("load"))),u.value.onload=m=>{o("load",m)},u.value.onerror=m=>{o("error",m)})}),(m,E)=>m.custom?pt(m.$slots,"default",Bo(Pt({key:1},{...W(i)?{onerror:"this.setAttribute('data-error', 1)"}:{},imgAttrs:{...f.value,...W(r)},isLoaded:l.value,src:h.value}))):(me(),mt("img",Pt({key:0,ref_key:"imgEl",ref:u,class:n.placeholder&&!l.value?n.placeholderClass:void 0},{...W(i)?{onerror:"this.setAttribute('data-error', 1)"}:{},...f.value,...W(r)},{src:h.value}),null,16,x5))}}),N5=Object.assign(C5,{__name:"NuxtImg"}),V2={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 L5({date:e=new Date,hours:t=V2}={}){const n=e.getDay(),r=e.getHours();return r>=t[n].open&&r<=t[n].closed-1}({...V2});const P5={key:0},D5=["innerHTML"],k5=["href","data-analytics-label","data-analytics-property","textContent"],M5={key:1},F5=["innerHTML"],U5={key:2},j5=["href"],V5=Ce({__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=N5;return me(),mt("div",{class:Xn(["customer-service",`customer-service--${t.variant}`]),"data-test-id":"customer-service"},[Tt("div",{class:Xn(["customer-service__content",{"customer-service__content--text-inline":t.variant==="minimalistic"}])},[("isBusinessHour"in t?t.isBusinessHour:W(L5))&&t.businessHourContent?(me(),mt("span",P5,[Tt("span",{innerHTML:t.businessHourContent},null,8,D5),t.phoneNumber?(me(),mt("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:or(t.phoneNumber)},null,8,k5)):tn("",!0),n[0]||(n[0]=Tt("br",null,null,-1))])):t.closedContent?(me(),mt("span",M5,[Tt("span",{innerHTML:t.closedContent},null,8,F5),n[1]||(n[1]=Tt("br",null,null,-1))])):tn("",!0),t.customerServiceLink?(me(),mt("span",U5,[Tt("a",{href:t.customerServiceLink,class:"customer-service__link","data-analytics-category":"navigation","data-analytics-action":"top_bar_click","data-analytics-label":"Abonnement beheren"},or(t.$t("components.baseCustomerServiceWidget.customerServiceLink")),9,j5)])):tn("",!0)],2),t.avatar?(me(),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)}}}),gn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},$5=Object.assign(gn(V5,[["__scopeId","data-v-896a27b4"]]),{__name:"BaseCustomerServiceWidget"}),B5={props:{isAuth:{type:Boolean,required:!1}}},H5={class:"base-auth-icon",width:"32",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},z5={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"},G5={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 K5(e,t,n,r,o,i){return me(),mt("svg",H5,[t[0]||(t[0]=Tt("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)),Tt("g",null,[Tt("circle",{class:Xn(["base-auth-icon__circle",{"base-auth-icon__circle--is-auth":n.isAuth}]),cx:"25.666",cy:"6",r:"6"},null,2),n.isAuth?(me(),mt("path",z5)):(me(),mt("path",G5))])])}const q5=Object.assign(gn(B5,[["render",K5],["__scopeId","data-v-bacae087"]]),{__name:"BaseAuthIcon"});var _u={exports:{}},W5=_u.exports,Dv;function Y5(){return Dv||(Dv=1,function(e,t){(function(r,o){e.exports=o()})(typeof self<"u"?self:W5,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(m,E){for(var y=E.length,_=0;_1?arguments[1]:void 0,E=m!==void 0,y=0,_=f(h),T,A,S,D;if(E&&(m=i(m,v>2?arguments[2]:void 0,2)),_!=null&&!(g==Array&&l(_)))for(D=_.call(h),A=new g;!(S=D.next()).done;y++)c(A,y,E?a(D,m,[S.value,y],!0):S.value);else for(T=u(h.length),A=new g(T);T>y;y++)c(A,y,E?m(h[y],y):h[y]);return A.length=y,A}},"./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"+y+":",A;for(v.style.display="none",u.appendChild(v),v.src=String(T),A=v.contentWindow.document,A.open(),A.write(E+y+_+"document.F=Object"+E+"/"+y+_),A.close(),g=A.F;m--;)delete g[p][a[m]];return g()};n.exports=Object.create||function(m,E){var y;return m!==null?(h[p]=i(m),y=new h,h[p]=null,y[d]=m):y=g(),E===void 0?y:s(y,E)},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,v,m,E){var y=E?!!E.unsafe:!1,_=E?!!E.enumerable:!1,T=E?!!E.noTargetGet:!1;if(typeof m=="function"&&(typeof v=="string"&&!l(m,"name")&&a(m,"name",v),p(m).source=h.join(typeof v=="string"?v:"")),g===i){_?g[v]=m:u(v,m);return}else y?!T&&g[v]&&(_=!0):delete g[v];_?g[v]=m:a(g,v,m)})(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 v=1;v2&&arguments[2]!==void 0?arguments[2]:[];d(this,g),this.name=v,this.contents=m,this.tags=E,this.attrs=i({},c.default,{class:"feather feather-"+v})}return s(g,[{key:"toSvg",value:function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},E=i({},this.attrs,m,{class:(0,l.default)(this.attrs.class,m.class)});return""+this.contents+""}},{key:"toString",value:function(){return this.contents}}]),g}();function h(g){return Object.keys(g).map(function(v){return v+'="'+g[v]+'"'}).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(v){return d(v,h)})}function d(h){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=p(h),m=v["data-feather"];if(delete v["data-feather"],u.default[m]===void 0){console.warn("feather: '"+m+"' is not a valid icon");return}var E=u.default[m].toSvg(i({},g,v,{class:(0,a.default)(g.class,v.class)})),y=new DOMParser().parseFromString(E,"image/svg+xml"),_=y.querySelector("svg");h.parentNode.replaceChild(_,h)}function p(h){return Array.from(h.attributes).reduce(function(g,v){return g[v.name]=v.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")}})})}(_u)),_u.exports}var kv=Y5();const X5=["innerHTML"],J5=Ce({__name:"TappIcon",props:{color:{default:"currentColor"},size:{default:()=>{}},icon:{default:"loader"}},setup(e){const t=te(()=>{var r;return(r=kv.icons[e.icon])==null?void 0:r.contents}),n=te(()=>{var r;return{...Ec(),...((r=kv.icons[e.icon])==null?void 0:r.attrs)??{},width:e.size??24,height:e.size??24,...e.color&&{stroke:e.color}}});return(r,o)=>(me(),mt("svg",Pt(n.value,{style:{fontSize:r.size?`${r.size}px`:"inherit"},innerHTML:t.value}),null,16,X5))}}),$c=Object.assign(gn(J5,[["__scopeId","data-v-2f4b60e3"]]),{__name:"TappIcon"}),Q5={"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":""},Z5={key:0,class:"base-account-btn__label"},e$=Ce({__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=q5,i=$c;return me(),mt("button",Q5,[xe(o,{"is-auth":t.isAuth},null,8,["is-auth"]),t.showLabel?(me(),mt("span",Z5,or(n.user||"Account"),1)):tn("",!0),xe(i,{icon:`chevron-${n.isOpen?"up":"down"}`,size:16,class:"base-account-btn__icon"},null,8,["icon"])])}}}),t$=Object.assign(gn(e$,[["__scopeId","data-v-12a991b2"]]),{__name:"BaseAccountBtn"}),n$=["button","span","NuxtLink","a"],r$=["default","small","large"],o$=["primary","secondary","tertiary","ghost","text"],i$=Ce({__name:"TappButton",props:{disabled:{default:()=>{}},tag:{default:()=>n$[0]},size:{default:()=>r$[0]},variant:{default:()=>o$[0]},fullWidth:{type:Boolean},fullWidthMobile:{type:Boolean},loading:{type:Boolean},pill:{type:Boolean},text:{default:()=>{}},label:{default:()=>{}}},setup(e){const t=Ec(),n=te(()=>t.to?Lc:e.tag);return(r,o)=>{const i=$c;return me(),Ge(Go(W(n)),{class:Xn(["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:Ve(()=>[pt(r.$slots,"default",{},()=>[Qr(or(r.text),1)],!0),r.loading?(me(),Ge(i,{key:0,icon:"loader",class:"tapp-button__icon",size:24})):tn("",!0)]),_:3},8,["aria-label","class","disabled"])}}}),$2=Object.assign(gn(i$,[["__scopeId","data-v-fc8264e4"]]),{__name:"TappButton"});function PB(e,t){var n;const r=An();return Jr(()=>{r.value=e()},{...t,flush:(n=void 0)!=null?n:"sync"}),Ha(r)}function al(e){return So()?(Yr(e),!0):!1}function DB(){const e=new Set,t=i=>{e.delete(i)};return{on:i=>{e.add(i);const s=()=>t(i);return al(s),{off:s}},off:t,trigger:(...i)=>Promise.all(Array.from(e).map(s=>s(...i))),clear:()=>{e.clear()}}}function s$(e){let t=!1,n;const r=Is(!0);return(...o)=>(t||(n=r.run(()=>e(...o)),t=!0),n)}const Gf=new WeakMap,a$=(...e)=>{var t;const n=e[0],r=(t=yt())==null?void 0:t.proxy;if(r==null&&!ei())throw new Error("injectLocal must be called in setup");return r&&Gf.has(r)&&n in Gf.get(r)?Gf.get(r)[n]:jt(...e)};function l$(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=Is(!0),n=r.run(()=>e(...i))),al(o),n)}function u$(e){if(!It(e))return sn(e);const t=new Proxy({},{get(n,r,o){return W(Reflect.get(e.value,r,o))},set(n,r,o){return It(e.value[r])&&!It(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 sn(t)}function c$(e){return u$(te(e))}function kB(e,...t){const n=t.flat(),r=n[0];return c$(()=>Object.fromEntries(typeof r=="function"?Object.entries(va(e)).filter(([o,i])=>!r(gt(i),o)):Object.entries(va(e)).filter(o=>!n.includes(o[0]))))}const ri=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const f$=e=>typeof e<"u",d$=Object.prototype.toString,p$=e=>d$.call(e)==="[object Object]",ha=()=>{},yp=h$();function h$(){var e,t;return ri&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function g$(e,t){function n(...r){return new Promise((o,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(i)})}return n}function m$(e,t={}){let n,r,o=ha;const i=l=>{clearTimeout(l),o(),o=ha};let s;return l=>{const u=gt(e),c=gt(t.maxWait);return n&&i(n),u<=0||c!==void 0&&c<=0?(r&&(i(r),r=null),Promise.resolve(l())):new Promise((f,d)=>{o=t.rejectOnCancel?d:f,s=l,c&&!r&&(r=setTimeout(()=>{n&&i(n),r=null,f(s())},c)),n=setTimeout(()=>{r&&i(r),r=null,f(l())},u)})}}function Mv(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function B2(e){return yt()}function Kf(e){return Array.isArray(e)?e:[e]}function MB(e,t=1e4){return za((n,r)=>{let o=gt(e),i;const s=()=>setTimeout(()=>{o=gt(e),r()},gt(t));return al(()=>{clearTimeout(i)}),{get(){return n(),o},set(a){o=a,r(),clearTimeout(i),i=s()}}})}function FB(e,t=200,n={}){return g$(m$(t,n),e)}const UB=gt;function y$(e,t){B2()&&Zo(e,t)}function v$(e,t=!0,n){B2()?an(e,n):t?e():Yt(e)}function jB(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)},gt(t))}return r&&(o.value=!0,ri&&l()),al(a),{isPending:Ha(o),start:l,stop:a}}function _$(e,t,n){return St(e,t,{...n,immediate:!0})}const Ls=ri?window:void 0;function $o(e){var t;const n=gt(e);return(t=n==null?void 0:n.$el)!=null?t:n}function tr(...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=Kf(gt(e[0])).filter(l=>l!=null);return a.every(l=>typeof l!="string")?a:void 0}),i=_$(()=>{var a,l;return[(l=(a=o.value)==null?void 0:a.map(u=>$o(u)))!=null?l:[Ls].filter(u=>u!=null),Kf(gt(o.value?e[1]:e[0])),Kf(W(o.value?e[2]:e[1])),gt(o.value?e[3]:e[2])]},([a,l,u,c])=>{if(n(),!(a!=null&&a.length)||!(l!=null&&l.length)||!(u!=null&&u.length))return;const f=p$(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 al(n),s}let Fv=!1;function b$(e,t,n={}){const{window:r=Ls,ignore:o=[],capture:i=!0,detectIframe:s=!1}=n;if(!r)return ha;if(yp&&!Fv){Fv=!0;const g={passive:!0};Array.from(r.document.body.children).forEach(v=>tr(v,"click",ha,g)),tr(r.document.documentElement,"click",ha,g)}let a=!0;const l=g=>gt(o).some(v=>{if(typeof v=="string")return Array.from(r.document.querySelectorAll(v)).some(m=>m===g.target||g.composedPath().includes(m));{const m=$o(v);return m&&(g.target===m||g.composedPath().includes(m))}});function u(g){const v=gt(g);return v&&v.$.subTree.shapeFlag===16}function c(g,v){const m=gt(g),E=m.$.subTree&&m.$.subTree.children;return E==null||!Array.isArray(E)?!1:E.some(y=>y.el===v.target||v.composedPath().includes(y.el))}const f=g=>{const v=$o(e);if(g.target!=null&&!(!(v instanceof Element)&&u(e)&&c(e,g))&&!(!v||v===g.target||g.composedPath().includes(v))){if(g.detail===0&&(a=!l(g)),!a){a=!0;return}t(g)}};let d=!1;const p=[tr(r,"click",g=>{d||(d=!0,setTimeout(()=>{d=!1},0),f(g))},{passive:!0,capture:i}),tr(r,"pointerdown",g=>{const v=$o(e);a=!l(g)&&!!(v&&!g.composedPath().includes(v))},{passive:!0}),s&&tr(r,"blur",g=>{setTimeout(()=>{var v;const m=$o(e);((v=r.document.activeElement)==null?void 0:v.tagName)==="IFRAME"&&!(m!=null&&m.contains(r.document.activeElement))&&t(g)},0)},{passive:!0})].filter(Boolean);return()=>p.forEach(g=>g())}function H2(){const e=Fe(!1),t=yt();return t&&an(()=>{e.value=!0},t),e}function E$(e){const t=H2();return te(()=>(t.value,!!e()))}function T$(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function z2(...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=Ls,eventName:i="keydown",passive:s=!1,dedupe:a=!1}=r,l=T$(t);return tr(o,i,c=>{c.repeat&>(a)||l(c)&&n(c)},s)}const w$=Symbol("vueuse-ssr-width");function S$(){const e=ei()?a$(w$,null):null;return typeof e=="number"?e:void 0}function A$(e,t={}){const{window:n=Ls,ssrWidth:r=S$()}=t,o=E$(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=Fe(typeof r=="number"),s=An(),a=Fe(!1),l=u=>{a.value=u.matches};return Jr(()=>{if(i.value){i.value=!o.value;const u=gt(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>=Mv(d[1])),p&&h&&(h=r<=Mv(p[1])),f?!h:h});return}o.value&&(s.value=n.matchMedia(gt(e)),a.value=s.value.matches)}),tr(s,"change",l,{passive:!0}),te(()=>a.value)}function R$(e){return JSON.parse(JSON.stringify(e))}function VB(e,t={}){const{threshold:n=50,onSwipe:r,onSwipeEnd:o,onSwipeStart:i,passive:s=!0}=t,a=sn({x:0,y:0}),l=sn({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"),v=S=>[S.touches[0].clientX,S.touches[0].clientY],m=(S,D)=>{a.x=S,a.y=D},E=(S,D)=>{l.x=S,l.y=D},y={passive:s,capture:!s},_=S=>{h.value&&(o==null||o(S,g.value)),h.value=!1},T=[tr(e,"touchstart",S=>{if(S.touches.length!==1)return;const[D,M]=v(S);m(D,M),E(D,M),i==null||i(S)},y),tr(e,"touchmove",S=>{if(S.touches.length!==1)return;const[D,M]=v(S);E(D,M),y.capture&&!y.passive&&Math.abs(u.value)>Math.abs(c.value)&&S.preventDefault(),!h.value&&p.value&&(h.value=!0),h.value&&(r==null||r(S))},y),tr(e,["touchend","touchcancel"],_,y)];return{isSwiping:h,direction:g,coordsStart:a,coordsEnd:l,lengthX:u,lengthY:c,stop:()=>T.forEach(S=>S()),isPassiveEventSupported:!0}}function I$(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=yt(),h=n||(p==null?void 0:p.emit)||((o=p==null?void 0:p.$emit)==null?void 0:o.bind(p))||((s=(i=p==null?void 0:p.proxy)==null?void 0:i.$emit)==null?void 0:s.bind(p==null?void 0:p.proxy));let g=u;t||(t="modelValue"),g=g||`update:${t.toString()}`;const v=y=>a?typeof a=="function"?a(y):R$(y):y,m=()=>f$(e[t])?v(e[t]):f,E=y=>{d?d(y)&&h(g,y):h(g,y)};if(l){const y=m(),_=Fe(y);let T=!1;return St(()=>e[t],A=>{T||(T=!0,_.value=v(A),Yt(()=>T=!1))}),St(_,A=>{!T&&(A!==e[t]||c)&&E(A)},{deep:c}),_}else return te({get(){return m()},set(y){E(y)}})}function $B(e={}){const{window:t=Ls,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(),v$(u);const c={passive:!0};if(tr("resize",u,c),t&&s==="visual"&&t.visualViewport&&tr(t.visualViewport,"resize",u,c),o){const f=A$("(orientation: portrait)");St(f,()=>u())}return{width:a,height:l}}const O$=Ce({__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:Iu(t.tag));function r(o){t.onClick&&(o.preventDefault(),t.onClick())}return(o,i)=>{const s=$c;return me(),mt("div",null,[o.$slots.default?pt(o.$slots,"default",{key:0},void 0,!0):(me(),Ge(Go(W(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:Ve(()=>[t.icon?(me(),Ge(s,{key:0,icon:t.icon,size:20},null,8,["icon"])):tn("",!0),Qr(" "+or(t.label),1)]),_:1},8,["to","data-analytics-label"]))])}}}),x$=Object.assign(gn(O$,[["__scopeId","data-v-ee966fe9"]]),{__name:"BaseAccountDropdownItem"}),C$={class:"base-dropdown"},N$={key:0,class:"base-dropdown__inner"},L$={class:"base-dropdown__footer"},P$=Ce({__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 b$(r,()=>{n.value=!1}),(i,s)=>(me(),mt("div",C$,[Tt("div",{ref_key:"dropdownRef",ref:r,class:"base-dropdown__trigger","data-testid":"base-dropdown-trigger",onClick:o},[pt(i.$slots,"trigger",{isOpen:W(n)},void 0,!0)],512),W(n)?(me(),mt("div",N$,[i.$slots.default?pt(i.$slots,"default",{key:0},void 0,!0):(me(!0),mt(Ct,{key:1},zp(t.items,a=>(me(),Ge(x$,Pt({ref_for:!0},a,{key:a.label}),null,16))),128)),Tt("div",L$,[pt(i.$slots,"footer",{},void 0,!0)])])):tn("",!0)]))}}),D$=Object.assign(gn(P$,[["__scopeId","data-v-6ed54cba"]]),{__name:"BaseAccountDropdown"}),k$=Ce({__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=t$,l=$2,u=D$;return me(),Ge(u,{items:W(o)},Gp({trigger:Ve(({isOpen:c})=>[xe(a,{"is-auth":r.isAuth,"is-open":c,"show-label":!0,user:i.user},null,8,["is-auth","is-open","user"])]),_:2},[r!=null&&r.isAuth?void 0:{name:"footer",fn:Ve(()=>[xe(l,{"data-testid":"dropdown-login-button","full-width":"",label:"Login",size:"large",onClick:s[0]||(s[0]=c=>n("login"))},{default:Ve(()=>[Qr(or(i.$t("components.baseAccountMenu.login")),1)]),_:1})]),key:"0"}]),1032,["items"])}}}),M$=Object.assign(gn(k$,[["__scopeId","data-v-5882a6a4"]]),{__name:"BaseAccountMenu"}),G2=e=>typeof e=="object"&&e!==null,Uv=e=>G2(e)&&!(e instanceof RegExp)&&!(e instanceof Error)&&!(e instanceof Date),F$=Symbol("mapObjectSkip"),vp=(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=>Uv(a)?vp(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===F$)continue;let[u,c,{shouldRecurse:f=!0}={}]=l;u!=="__proto__"&&(n.deep&&f&&Uv(c)&&(c=Array.isArray(c)?i(c):vp(c,t,n,r)),o[u]=c)}return o};function jv(e,t,n){if(!G2(e))throw new TypeError(`Expected an object, got \`${e}\` (${typeof e})`);return vp(e,t,n)}const U$=/[\p{Lu}]/u,j$=/[\p{Ll}]/u,Vv=/^[\p{Lu}](?![\p{Lu}])/gu,K2=/([\p{Alpha}\p{N}_]|$)/u,Uh=/[_.\- ]+/,V$=new RegExp("^"+Uh.source),$v=new RegExp(Uh.source+K2.source,"gu"),Bv=new RegExp("\\d+"+K2.source,"gu"),$$=(e,t,n,r)=>{let o=!1,i=!1,s=!1,a=!1;for(let l=0;l2?e[l-3]==="-":!0,o&&U$.test(u)?(e=e.slice(0,l)+"-"+e.slice(l),o=!1,s=i,i=!0,l++):i&&s&&j$.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},B$=(e,t)=>(Vv.lastIndex=0,e.replaceAll(Vv,n=>t(n))),H$=(e,t)=>($v.lastIndex=0,Bv.lastIndex=0,e.replaceAll(Bv,(n,r,o)=>["_","-"].includes(e.charAt(o+n.length))?n:t(n)).replaceAll($v,(n,r)=>t(r)));function z$(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?Uh.test(e)?"":t.pascalCase?r(e):n(e):(e!==n(e)&&(e=$$(e,n,r,t.preserveConsecutiveUppercase)),e=e.replace(V$,""),e=t.preserveConsecutiveUppercase?B$(e,n):n(e),t.pascalCase&&(e=r(e.charAt(0))+e.slice(1)),H$(e,r))}class G$ 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 K$=(e,t)=>e.some(n=>typeof n=="string"?n===t:(n.lastIndex=0,n.test(t))),qf=new G$({maxSize:1e5}),Hv=e=>typeof e=="object"&&e!==null&&!(e instanceof RegExp)&&!(e instanceof Error)&&!(e instanceof Date),zv=(e,t={})=>{if(!Hv(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&&Hv(f)){const d=u===void 0?c:`${u}.${c}`;a.has(d)||(f=jv(f,l(d)))}if(!(n&&K$(n,c))){const d=r?`${c}_`:c;if(qf.has(d))c=qf.get(d);else{const p=z$(c,{pascalCase:r,locale:!1,preserveConsecutiveUppercase:s});c.length<100&&qf.set(d,p),c=p}}return[c,f]};return jv(e,l(void 0))};function q2(e,t){return Array.isArray(e)?Object.keys(e).map(n=>zv(e[n],t)):zv(e,t)}var tu={exports:{}},Gv;function q$(){if(Gv)return tu.exports;Gv=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 tu.exports=(o,i,s)=>{if(!e(o))throw new TypeError(`Expected an object, got \`${o}\` (${typeof o})`);return r(o,i,s)},tu.exports.mapObjectSkip=t,tu.exports}var sc=function(){return sc=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==null?void 0:t.method)||"get":e.method,o=typeof e=="string"?t==null?void 0:t.body:e.data,i=await $fetch(n,{...o?{body:Ua(o,{deep:!0})}:{},...typeof e!="string"&&(e==null?void 0:e.params)&&{params:Ua(e==null?void 0:e.params,{exclude:["includes[]"]})},method:r,...t,headers:{...t==null?void 0:t.headers}});return q2(i,{deep:!0})},o8=(e,t,n)=>Io({url:`/front-office/v1/business-hours/${e}/${t}`,method:"GET"},n),i8=(e,t)=>Io({url:"/front-office/v1/tokens/replace",method:"POST",headers:{"Content-Type":"application/json"},data:e},t),s8=(e,t)=>Io({url:"/front-office/v2/brand-data",method:"GET",params:e},t),a8=(e,t)=>Io({url:"/front-office/v1/magazine/subscription",method:"GET",params:e},t),l8=(e,t)=>Io({url:"/front-office/v1/subscriptions/cancel",method:"PUT",headers:{"Content-Type":"application/json"},data:e},t),BB=(e,t)=>Io({url:"/front-office/v1/subscriptions/modify",method:"PUT",headers:{"Content-Type":"application/json"},data:e},t),u8=(e,t)=>Io({url:"/front-office/v2/account/subscriptions",method:"GET",params:e},t),HB=(e,t)=>Io({url:"/front-office/v4/retention-propositions",method:"POST",headers:{"Content-Type":"application/json"},data:e},t),c8=(e,t)=>Io({url:"/front-office/v4/propositions",method:"GET",params:e},t);function Yf(e){return Array.isArray(e)?e[0]??"":e||""}function Ps(){const{public:e}=kt(),t=$t(),n=Yf(t.currentRoute.value.params.brandCode),r=Object.fromEntries(Object.entries(t.currentRoute.value.query).map(([u,c])=>[u.toLowerCase(),c])),o=e.STAGE!=="production"?Yf(r.brandcode):void 0,i=TC(void 0||""),a=Yf(r.brandcodebe)||o||n,l=SC({brandCode:a,hostname:i});return ct("brandCode",()=>l||"")}function Zr(){const e=Ps(),t=ct("$63l50zpAsJ"),{$logger:n}=Be();async function r(){if(e.value&&!t.value)try{const d=await s8({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(()=>{var d;return((d=t.value)==null?void 0:d.formal)===!0}),i=te(()=>{var d;return(d=t.value)==null?void 0:d.type}),s=te(()=>i.value==="magazine"),a=te(()=>{var d,p,h;return o.value&&((d=t.value)==null?void 0:d.country)==="be"?"be-formal":((p=t.value)==null?void 0:p.country)==="be"?"be":o.value&&((h=t.value)==null?void 0:h.country)==="nl"?"nl-formal":"nl"}),l=te(()=>{var d;return((d=t.value)==null?void 0:d.domain)||""}),u=te(()=>{var d;return(d=t.value)==null?void 0:d.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 jh(){wo();const e=$t(),{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 f8(e,t){e=e||window.location.href;const r=`https://account.${Cs(window.location.host)}/login?callback_url=${encodeURIComponent(e)}&login_hint=${encodeURIComponent(t||"")}${t?"&prompt=login":""}`;window.location.href=r}function d8({callbackUrl:e,email:t}){const n=wo().host;return`https://account.${Cs(n)}/login?callback_url=${encodeURIComponent(e)}&login_hint=${encodeURIComponent(t||"")}${t?"&prompt=login":""}`}function p8(e){e=e||window.location.href;const n=`https://account.${Cs(window.location.host)}/logout?callback_url=${encodeURIComponent(e)}`;window.ssoLogout?window.ssoLogout.logout({logoutUrl:n,logoUrl:""}):window.location.href=n}function h8(e){const t=wo().host;return`https://account.${Cs(t)}/logout?callback_url=${encodeURIComponent(e)}`}function g8({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 m8(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=Cs(window.location.host),u=iN(window.location.host);if(![".nl",".be"].includes(u))return;const c=g8({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 y8(e){switch(!0){case(e==="m"||e==="male"):return"M";case(e==="f"||e==="female"):return"F";default:return"U"}}function Vh(){const e=cs("userinfo"),t=cs("isAuth",()=>!1),n=cs("isPipDisabled");return{initSso:m8,login:f8,getLoginUrl:d8,logout:p8,getLogoutUrl:h8,userinfo:e,isAuth:t,isPipDisabled:n,normalizeGender:y8}}function W2(){const e=ct("abonIban4"),{$logger:t}=Be();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 v8(){const{baseURL:e}=jh(),t=ct("callbackDestination"),n=te(()=>`${e}/abonnee?loginType=pip`),r=ct("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 Bc(){const{brandIsMagazine:e}=Zr(),{baseURL:t}=jh(),n=Vh(),{abonIban4:r,deleteAbonIban4:o}=W2(),{openModal:i}=v8();function s(p,h){for(const g in h){const v=h[g];Array.isArray(v)?v.forEach(m=>p.searchParams.append(g,m||"")):p.searchParams.append(g,v||"")}return p}function a({email:p}){const h=wo().search,g=h?Object.fromEntries(new URLSearchParams(h).entries()):{},v=s(new URL(`${t}/abonnee?loginType=pip`),g);return n.getLoginUrl({email:p,callbackUrl:v.href})}async function l(){const p=wo().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():Fo(a({email:""}),{external:!0})}function d(){const p=document.querySelector("#landing-other-options input");p==null||p.scrollIntoView({behavior:"smooth",inline:"nearest"}),p&&p.focus()}return{isAuth:u,loginType:c,logout:l,getPipLoginUrl:a,handleLoginBtnClick:f,scrollToMagazineLoginBlock:d}}function ll(){const e=Ps(),t=ct("phoneNumber"),n=Di(),r=$t();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==null?void 0:i[0]}return{fetchPhoneNumber:o,phoneNumber:t}}/*! * vue-i18n v10.0.7 * (c) 2025 kazuya kawaguchi * Released under the MIT License. */const _8="10.0.7";function b8(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(nl().__INTLIFY_PROD_DEVTOOLS__=!1)}const As={UNEXPECTED_RETURN_TYPE:F0,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function ja(e,...t){return ol(e,null,void 0)}const _p=jn("__translateVNode"),bp=jn("__datetimeParts"),Ep=jn("__numberParts"),E8=jn("__setPluralRules"),T8=jn("__injectWithOption"),Tp=jn("__dispose");function Va(e){if(!Xe(e)||Yn(e))return e;for(const t in e)if(kn(e,t))if(!t.includes("."))Xe(e[t])&&Va(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(),qr(u,s[l])):qr(u,s)}else ce(a)&&qr(JSON.parse(a),s)}),o==null&&i)for(const a in s)kn(s,a)&&Va(s[a]);return s}function X2(e){return e.type}function w8(e,t,n){let r=Xe(t.messages)?t.messages:Ze();"__i18nGlobal"in n&&(r=Y2(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(i=>{e.mergeLocaleMessage(i,r[i])});{if(Xe(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(Xe(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function Wv(e){return xe(Kr,null,e,0)}const Yv="__INTLIFY_META__",Xv=()=>[],S8=()=>!1;let Jv=0;function Qv(e){return(t,n,r,o)=>e(n,r,yt()||void 0,o)}const A8=()=>{const e=yt();let t=null;return e&&(t=X2(e)[Yv])?{[Yv]:t}:null};function R8(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,o=e.flatJson,i=bs?Fe:An;let s=Et(e.inheritLocale)?e.inheritLocale:!0;const a=i(t&&s?t.locale.value:ce(e.locale)?e.locale:Ca),l=i(t&&s?t.fallbackLocale.value:ce(e.fallbackLocale)||wt(e.fallbackLocale)||Qe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),u=i(Y2(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:Et(e.missingWarn)||Es(e.missingWarn)?e.missingWarn:!0,p=t?t.fallbackWarn:Et(e.fallbackWarn)||Es(e.fallbackWarn)?e.fallbackWarn:!0,h=t?t.fallbackRoot:Et(e.fallbackRoot)?e.fallbackRoot:!0,g=!!e.fallbackFormat,v=_t(e.missing)?e.missing:null,m=_t(e.missing)?Qv(e.missing):null,E=_t(e.postTranslation)?e.postTranslation:null,y=t?t.warnHtmlMessage:Et(e.warnHtmlMessage)?e.warnHtmlMessage:!0,_=!!e.escapeParameter;const T=t?t.modifiers:Qe(e.modifiers)?e.modifiers:{};let A=e.pluralRules||t&&t.pluralRules,S;S=(()=>{r&&qu(null);const I={version:_8,locale:a.value,fallbackLocale:l.value,messages:u.value,modifiers:T,pluralRules:A,missing:m===null?void 0:m,missingWarn:d,fallbackWarn:p,fallbackFormat:g,unresolving:!0,postTranslation:E===null?void 0:E,warnHtmlMessage:y,escapeParameter:_,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};I.datetimeFormats=c.value,I.numberFormats=f.value,I.__datetimeFormatters=Qe(S)?S.__datetimeFormatters:void 0,I.__numberFormatters=Qe(S)?S.__numberFormatters:void 0;const P=Y0(I);return r&&qu(P),P})(),$r(S,a.value,l.value);function M(){return[a.value,l.value,u.value,c.value,f.value]}const j=te({get:()=>a.value,set:I=>{a.value=I,S.locale=a.value}}),B=te({get:()=>l.value,set:I=>{l.value=I,S.fallbackLocale=l.value,$r(S,a.value,I)}}),H=te(()=>u.value),le=te(()=>c.value),Te=te(()=>f.value);function ke(){return _t(E)?E:null}function pe(I){E=I,S.postTranslation=I}function ge(){return v}function re(I){I!==null&&(m=Qv(I)),v=I,S.missing=m}const _e=(I,P,G,oe,fe,be)=>{M();let Ye;try{__INTLIFY_PROD_DEVTOOLS__,r||(S.fallbackContext=t?W0():void 0),Ye=I(S)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(S.fallbackContext=void 0)}if(G!=="translate exists"&&Vt(Ye)&&Ye===il||G==="translate exists"&&!Ye){const[nt,Ue]=P();return t&&h?oe(t):fe(nt)}else{if(be(Ye))return Ye;throw ja(As.UNEXPECTED_RETURN_TYPE)}};function tt(...I){return _e(P=>Reflect.apply(Qu,null,[P,...I]),()=>Pa(...I),"translate",P=>Reflect.apply(P.t,P,[...I]),P=>P,P=>ce(P))}function Ae(...I){const[P,G,oe]=I;if(oe&&!Xe(oe))throw ja(As.INVALID_ARGUMENT);return tt(P,G,lt({resolvedMessage:!0},oe||{}))}function Ke(...I){return _e(P=>Reflect.apply(Wu,null,[P,...I]),()=>Na(...I),"datetime format",P=>Reflect.apply(P.d,P,[...I]),()=>Ku,P=>ce(P))}function He(...I){return _e(P=>Reflect.apply(Xu,null,[P,...I]),()=>La(...I),"number format",P=>Reflect.apply(P.n,P,[...I]),()=>Ku,P=>ce(P))}function it(I){return I.map(P=>ce(P)||Vt(P)||Et(P)?Wv(String(P)):P)}const ot={normalize:it,interpolate:I=>I,type:"vnode"};function J(...I){return _e(P=>{let G;const oe=P;try{oe.processor=ot,G=Reflect.apply(Qu,null,[oe,...I])}finally{oe.processor=null}return G},()=>Pa(...I),"translate",P=>P[_p](...I),P=>[Wv(P)],P=>wt(P))}function se(...I){return _e(P=>Reflect.apply(Xu,null,[P,...I]),()=>La(...I),"number format",P=>P[Ep](...I),Xv,P=>ce(P)||wt(P))}function ae(...I){return _e(P=>Reflect.apply(Wu,null,[P,...I]),()=>Na(...I),"datetime format",P=>P[bp](...I),Xv,P=>ce(P)||wt(P))}function ve(I){A=I,S.pluralRules=A}function We(I,P){return _e(()=>{if(!I)return!1;const G=ce(P)?P:a.value,oe=L(G),fe=S.messageResolver(oe,I);return Yn(fe)||Zn(fe)||ce(fe)},()=>[I],"translate exists",G=>Reflect.apply(G.te,G,[I,P]),S8,G=>Et(G))}function ze(I){let P=null;const G=Mc(S,l.value,a.value);for(let oe=0;oe{s&&(a.value=I,S.locale=I,$r(S,a.value,l.value))}),St(t.fallbackLocale,I=>{s&&(l.value=I,S.fallbackLocale=I,$r(S,a.value,l.value))}));const Q={id:Jv,locale:j,fallbackLocale:B,get inheritLocale(){return s},set inheritLocale(I){s=I,I&&t&&(a.value=t.locale.value,l.value=t.fallbackLocale.value,$r(S,a.value,l.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:H,get modifiers(){return T},get pluralRules(){return A||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(I){d=I,S.missingWarn=d},get fallbackWarn(){return p},set fallbackWarn(I){p=I,S.fallbackWarn=p},get fallbackRoot(){return h},set fallbackRoot(I){h=I},get fallbackFormat(){return g},set fallbackFormat(I){g=I,S.fallbackFormat=g},get warnHtmlMessage(){return y},set warnHtmlMessage(I){y=I,S.warnHtmlMessage=I},get escapeParameter(){return _},set escapeParameter(I){_=I,S.escapeParameter=I},t:tt,getLocaleMessage:L,setLocaleMessage:V,mergeLocaleMessage:ne,getPostTranslationHandler:ke,setPostTranslationHandler:pe,getMissingHandler:ge,setMissingHandler:re,[E8]:ve};return Q.datetimeFormats=le,Q.numberFormats=Te,Q.rt=Ae,Q.te=We,Q.tm=C,Q.d=Ke,Q.n=He,Q.getDateTimeFormat=X,Q.setDateTimeFormat=O,Q.mergeDateTimeFormat=N,Q.getNumberFormat=U,Q.setNumberFormat=K,Q.mergeNumberFormat=ee,Q[T8]=n,Q[_p]=J,Q[bp]=ae,Q[Ep]=se,Q}const $h={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function I8({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===Ct?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},Ze())}function J2(){return Ct}lt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Vt(e)||!isNaN(e)}},$h);function O8(e){return wt(e)&&!ce(e[0])}function Q2(e,t,n,r){const{slots:o,attrs:i}=t;return()=>{const s={part:!0};let a=Ze();e.locale&&(s.locale=e.locale),ce(e.format)?s.key=e.format:Xe(e.format)&&(ce(e.format.key)&&(s.key=e.format.key),a=Object.keys(e.format).reduce((d,p)=>n.includes(p)?lt(Ze(),d,{[p]:e.format[p]}):d,Ze()));const l=r(e.value,s,a);let u=[s.key];wt(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 O8(g)&&(g[0].key=`${d.type}-${p}`),g}):ce(l)&&(u=[l]);const c=lt(Ze(),i),f=ce(e.tag)||Xe(e.tag)?e.tag:J2();return dt(f,c,u)}}lt({value:{type:Number,required:!0},format:{type:[String,Object]}},$h);lt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},$h);const x8=jn("global-vue-i18n");function ki(e={}){const t=yt();if(t==null)throw ja(As.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw ja(As.NOT_INSTALLED);const n=C8(t),r=L8(n),o=X2(t),i=N8(e,o);if(i==="global")return w8(r,e,o),r;if(i==="parent"){let l=P8(n,t,e.__useComponent);return l==null&&(l=r),l}const s=n;let a=s.__getInstance(t);if(a==null){const l=lt({},e);"__i18n"in o&&(l.__i18n=o.__i18n),r&&(l.__root=r),a=R8(l),s.__composerExtend&&(a[Tp]=s.__composerExtend(a)),k8(s,t,a),s.__setInstance(t,a)}return a}function C8(e){const t=jt(e.isCE?x8:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw ja(e.isCE?As.NOT_INSTALLED_WITH_PROVIDE:As.UNEXPECTED_ERROR);return t}function N8(e,t){return tl(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function L8(e){return e.mode==="composition"?e.global:e.global.__composer}function P8(e,t,n=!1){let r=null;const o=t.root;let i=D8(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 D8(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function k8(e,t,n){an(()=>{},t),Ro(()=>{const r=n;e.__deleteInstance(t);const o=r[Tp];o&&(o(),delete r[Tp])},t)}b8();V0(k0);B0(U0);z0(Mc);if(__INTLIFY_PROD_DEVTOOLS__){const e=nl();e.__INTLIFY__=!0,M0(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}function M8(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 F8=Ce({__name:"AppAccountMenu",setup(e){const{isAuth:t,logout:n,handleLoginBtnClick:r}=Bc(),{userinfo:o}=Vh(),{phoneNumber:i}=ll(),{brand:s}=Zr(),{t:a}=ki(),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(...M8(s.value))),u});return(u,c)=>{var d;const f=M$;return me(),Ge(f,{"is-auth":W(t),user:(d=W(o))==null?void 0:d.given_name,items:W(l),onLogin:W(r),onLogout:W(n)},null,8,["is-auth","user","items","onLogin","onLogout"])}}}),U8=Object.assign(F8,{__name:"AppAccountMenu"}),j8={class:"tapp-logo"},V8=["innerHTML"],$8=Ce({__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":()=>ie(()=>import("./CUAWVUPq.js"),[],import.meta.url).then(a=>a.default),"./logos/dpgmedia_alt.svg":()=>ie(()=>import("./DWTek9Ep.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-ad.svg":()=>ie(()=>import("./CLJ8SFq7.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-ari.svg":()=>ie(()=>import("./CrxqDb-g.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-atr.svg":()=>ie(()=>import("./CpsEnzTA.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-aut-tall.svg":()=>ie(()=>import("./C7JMZS7k.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-aut.svg":()=>ie(()=>import("./B2l37zGx.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-bd.svg":()=>ie(()=>import("./AaHu-igX.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-bdan.svg":()=>ie(()=>import("./AT8gfoQt.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-bdon.svg":()=>ie(()=>import("./DFFkmLFY.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-bfln.svg":()=>ie(()=>import("./BYbB7Pn3.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-bfwo.svg":()=>ie(()=>import("./DIlG0VBb.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-bs.svg":()=>ie(()=>import("./CtgioQBk.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-bsvw.svg":()=>ie(()=>import("./C5FI29nx.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-bvwo.svg":()=>ie(()=>import("./Bh_rb-2d.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-bwol.svg":()=>ie(()=>import("./BWbogTaW.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-da.svg":()=>ie(()=>import("./Co__gOKt.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-dat.svg":()=>ie(()=>import("./DoURaScW.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-dde.svg":()=>ie(()=>import("./Dp0Mi1VW.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-ddj.svg":()=>ie(()=>import("./zYByzD3I.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-dg.svg":()=>ie(()=>import("./1ZhA3Lh0.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-dm.svg":()=>ie(()=>import("./C13mVn87.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-don-secundair.svg":()=>ie(()=>import("./CNYUQdP2.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-don.svg":()=>ie(()=>import("./BEBjweF5.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-donex-secundair.svg":()=>ie(()=>import("./DaPLtMw8.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-donex.svg":()=>ie(()=>import("./DbvkWbT7.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-donpo.svg":()=>ie(()=>import("./COVLy8wZ.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-dpg.svg":()=>ie(()=>import("./nj5sjVlA.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-ed.svg":()=>ie(()=>import("./BRIr6qhM.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-ehi.svg":()=>ie(()=>import("./D7BHtbNI.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-flr.svg":()=>ie(()=>import("./D2ztyh8y.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-flw.svg":()=>ie(()=>import("./DwtLuXHs.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-flwonbe.svg":()=>ie(()=>import("./DHetJW-q.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-gg.svg":()=>ie(()=>import("./DW-dPOxb.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-hl-light.svg":()=>ie(()=>import("./D-gP14a9.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-hl.svg":()=>ie(()=>import("./BVZOfHQz.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-hp-light.svg":()=>ie(()=>import("./CGGyfNky.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-hp-secundair.svg":()=>ie(()=>import("./C29Fdw7o.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-hp.svg":()=>ie(()=>import("./BaTIzbEp.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-hu.svg":()=>ie(()=>import("./BO4Ijuo4.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-katri.svg":()=>ie(()=>import("./CkUeHudu.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-kek.svg":()=>ie(()=>import("./BJdjBVd4.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-kiosk.svg":()=>ie(()=>import("./Dp8zKeXu.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-kioskbe.svg":()=>ie(()=>import("./0acCxaBD.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-kwe.svg":()=>ie(()=>import("./VwkHYpSS.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-lib.svg":()=>ie(()=>import("./D12mQnNV.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-libbo-secundair.svg":()=>ie(()=>import("./9zn_rXqk.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-libbo.svg":()=>ie(()=>import("./BQ7n1y4R.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-libpz.svg":()=>ie(()=>import("./Dhq02cuo.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-libsp-secundair.svg":()=>ie(()=>import("./BZ0yrVvJ.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-libsp.svg":()=>ie(()=>import("./DBRNpiqQ.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-mar.svg":()=>ie(()=>import("./DJ9sCT8_.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-marbk-secundair.svg":()=>ie(()=>import("./du6YQnz1.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-marbk.svg":()=>ie(()=>import("./DFqa9FT7.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-marpz.svg":()=>ie(()=>import("./Bp223K-8.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-marsp-secundair.svg":()=>ie(()=>import("./BvFjCOuA.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-marsp.svg":()=>ie(()=>import("./pPgvDKHk.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-nl-titles.svg":()=>ie(()=>import("./CHBD5lwc.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-nou.svg":()=>ie(()=>import("./CIpsm9Z9.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-ovn.svg":()=>ie(()=>import("./yyiwyzxe.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-pak12.svg":()=>ie(()=>import("./C0GKKLCb.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-primo.svg":()=>ie(()=>import("./DnpERUxK.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-pz.svg":()=>ie(()=>import("./i1KiJvSC.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-st-backup.svg":()=>ie(()=>import("./BpP1cxuX.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-st.svg":()=>ie(()=>import("./WDvxPqAG.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-sto.svg":()=>ie(()=>import("./C_lvriPp.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-storybe.svg":()=>ie(()=>import("./D1FBWUo1.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-svw-dark.svg":()=>ie(()=>import("./BOQHtt91.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-svw-secundair.svg":()=>ie(()=>import("./5zg2ctF1.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-svw.svg":()=>ie(()=>import("./CVHI8Ezv.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-svwonbe.svg":()=>ie(()=>import("./Drm-a63O.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-tna.svg":()=>ie(()=>import("./Df1KcO8R.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-tr-light.svg":()=>ie(()=>import("./DsKIETop.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-tr.svg":()=>ie(()=>import("./BE7Knrx5.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-tsbe.svg":()=>ie(()=>import("./BCxCdNBg.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-tt.svg":()=>ie(()=>import("./PCq9vEZP.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-tta.svg":()=>ie(()=>import("./BOHksM0X.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-tvblad.svg":()=>ie(()=>import("./DMASOfat.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-tvfam.svg":()=>ie(()=>import("./DCwlu005.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-vk-light.svg":()=>ie(()=>import("./CnIiP8ma.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-vk.svg":()=>ie(()=>import("./BfnoN2Ms.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-vro-dark.svg":()=>ie(()=>import("./tkMmWuCh.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-vro.svg":()=>ie(()=>import("./DhlNTOPV.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-vtw.svg":()=>ie(()=>import("./AID2pleg.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-vtwonbe.svg":()=>ie(()=>import("./zssmb1db.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-wls.svg":()=>ie(()=>import("./B8Ey7uU1.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-wlstybe.svg":()=>ie(()=>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]=ls(()=>s()),await t,n(),(a,l)=>(me(),mt("span",j8,[Tt("span",{class:"tapp-logo__inner",style:Qo({width:a.width,height:a.height}),innerHTML:W(o)},null,12,V8)]))}}),Bh=Object.assign(gn($8,[["__scopeId","data-v-b5475dea"]]),{__name:"TappLogo"}),B8=Ce({__name:"BaseContainer",props:{noMobilePadding:{type:Boolean,default:!1},size:{default:"base"}},setup(e){return(t,n)=>(me(),mt("div",{class:Xn(["base-container",{"base-container--no-mobile-padding":t.noMobilePadding}])},[Tt("div",{class:Xn(["base-container__inner",[`base-container__inner--size-${t.size}`]])},[pt(t.$slots,"default",{},void 0,!0)],2)],2))}}),Hc=Object.assign(gn(B8,[["__scopeId","data-v-58b79a6a"]]),{__name:"BaseContainer"});function H8(){const e={"katrien-duck":"katri","donald-duck-junior":"ddj"},t=Rn(),n=Ps();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 z8={class:"top-bar"},G8={class:"top-bar__logo"},K8={key:0,class:"top-bar__service"},q8={class:"top-bar__actions"},W8=Ce({__name:"BrandedTopbar",props:{logoLink:{},variant:{default:"long"}},setup(e){const t=H8();return(n,r)=>{const o=Bh,i=Lc,s=Hc;return me(),mt("nav",z8,[xe(s,null,{default:Ve(()=>[Tt("div",{class:Xn(["top-bar__inner",{"top-bar__inner--long":n.variant==="long"&&n.$slots.service}])},[Tt("div",G8,[n.logoLink?(me(),Ge(i,Pt({key:0},n.logoLink,{"aria-label":"Abonnementen overzicht"}),{default:Ve(()=>[xe(o,{"brand-code":W(t)},null,8,["brand-code"])]),_:1},16)):(me(),Ge(o,{key:1,"brand-code":W(t)},null,8,["brand-code"]))]),n.$slots.service?(me(),mt("div",K8,[pt(n.$slots,"service",{},void 0,!0)])):tn("",!0),n.$slots.service?(me(),mt("hr",{key:1,class:Xn(["top-bar__divider",{"top-bar__divider--long":n.variant==="long"}])},null,2)):tn("",!0),Tt("div",q8,[pt(n.$slots,"actions",{},void 0,!0)])],2)]),_:3})])}}}),Y8=Object.assign(gn(W8,[["__scopeId","data-v-c79c0b94"]]),{__name:"BrandedTopbar"});function Z2(){const{$logger:e}=Be(),t=ct("isBusinessHour",()=>!1);async function n(o,i){try{const{isBusinessHour:s}=await o8(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 X8(){const{brandCode:e}=Zr(),{phoneNumber:t}=ll(),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(()=>{var s;return((s=n.find(a=>a.brandCode===e.value))==null?void 0:s.local)||""}),i=te(()=>{var s;return((s=r.find(a=>a.brandCode===e.value))==null?void 0:s.local)||""});return{variation1PhoneNumber:o,variation2PhoneNumber:i,controlPhoneNumber:t}}function J8(e){const t=e.split(":")[0],n=t.split(".");return n.length>1?n.slice(-2).join("."):t}function Q8(){const e=ct("optimizely-user-id-state",()=>"");if(e.value&&typeof e.value=="string")return e;const t=J8(wo().host),n=el("optimizely-user-id",{sameSite:"lax",maxAge:60*60*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 Z8(){var u;const{host:e,href:t}=wo(),n=kt().public,r=Rn().query,o=typeof r.otag=="string"?r.otag:"",i=typeof r.mid=="string"?r.mid:"",s=ct("otag",()=>o),a=ct("activeMid",()=>i);return{channel:"",title:((u=ct("brandCode").value)==null?void 0:u.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 e6=e=>{const t=el(e,{sameSite:"lax",maxAge:5184e3});if(t.value)return`${t.value}`;t.value="1"};function t6({experimentKey:e,userId:t,userAttributes:n,query:r,optimizely:o}){const i=kt().public.STAGE==="production",s=r[`optimizely_force_variation[${e}]`],a=typeof s=="string"?s:null;if(a)return a;{const l=e6(e);return o[i&&l!=="1"?"activate":"getVariation"](e,t,n)}}function n6({experimentKey:e,attributes:t,featureKey:n}){const r=Rn(),{$optimizely:o}=Be(),i=Q8(),s=ct("optimizely",()=>({}));if(!o)return{variation:null,variables:null};const a={...Z8(),...t};a.title&&(a.title=a.title.toUpperCase());const l=t6({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 Zv({experimentKey:e,featureKey:t,attributes:n}){const{brandCode:r}=Zr();return n6({experimentKey:e,featureKey:t,attributes:{title:r.value.toUpperCase(),...n}})}const r6={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"}},o6={wijziging_progress_bar_shops_kiosk:{experimentKey:"wijziging_progress_bar_shops",featureKey:"wijziging_progress_bar_shops"},pijltje_in_cta_kiosk:{experimentKey:"pijltje_in_cta_kiosk",featureKey:"pijltje_in_cta_kiosk"}},i6={oofowf__kccsturing_optimaliseren_v1:{experimentKey:"oofowf__kccsturing_optimaliseren_v1",featureKey:"oofowf__kccsturing_optimaliseren_v1"},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"},oofowf__kccsturing_optimaliseren_v2:{experimentKey:"oofowf__kccsturing_optimaliseren_v2",featureKey:"oofowf__kccsturing_optimaliseren_v2"},oof__opzeggen_bij_molinks_telnr_test:{experimentKey:"oof__opzeggen_bij_molinks_telnr_test",featureKey:"oof__opzeggen_bij_molinks_telnr_test"},oofowf__oofsturing_optimaliseren:{experimentKey:"oofowf__oofsturing_optimaliseren",featureKey:"oofowf__oofsturing_optimaliseren"},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"}},s6={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"}},e_={...r6,...o6,...i6,...s6};function a6(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 l6({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==null?void 0:n.domain}?utm_medium=interne_referral&utm_source=${n==null?void 0:n.code}&otag=t2ejen&utm_content=klantenserviceblok`,phoneNumber:t,closedContent:e("businessHourContent.closed"),isBusinessHour:r}}const u6=Ce({__name:"AppTopbar",setup(e){const{isAuth:t}=Bc(),{phoneNumber:n}=ll(),r=Rn(),{brand:o}=Zr(),{isBusinessHour:i}=Z2(),{t:s}=ki(),{controlPhoneNumber:a,variation1PhoneNumber:l,variation2PhoneNumber:u}=X8(),{variation:c}=Zv(e_.oofowf__kccsturing_optimaliseren_v1),{variation:f}=Zv(e_.oofowf__kccsturing_optimaliseren_v2),d=te(()=>({to:{path:t.value?"/abonnee":"/",query:a6(r.query)}})),p=te(()=>{if(!o.value)return;const h=te(()=>{switch(f){case"variation_1":return l.value;case"variation_2":return u.value}switch(c){case"variation_1":return l.value;case"variation_2":return u.value;default:return a.value}}),g=l6({isBusinessHour:i.value,phoneNumber:t?h.value:n.value,t:s,brand:o.value});return{avatar:g.avatar,isBusinessHour:g.isBusinessHour,phoneNumber:g.phoneNumber,businessHourContent:s("components.appTopbar.businessHourContent")}});return(h,g)=>{const v=$5,m=U8,E=Y8;return me(),Ge(E,{"logo-link":W(d),variant:W(t)?"long":"short"},Gp({actions:Ve(()=>[xe(m)]),_:2},[W(t)&&W(p)?{name:"service",fn:Ve(()=>[xe(v,Bo(Ko(W(p))),null,16)]),key:"0"}:void 0]),1032,["logo-link","variant"])}}}),c6=Object.assign(u6,{__name:"AppTopbar"}),eT=(e="RouteProvider")=>Ce({name:e,props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},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 Gr(Ii,Tr(o)),()=>dt(t.vnode,{ref:t.vnodeRef})}}),f6=eT(),t_=new WeakMap,d6=Ce({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=Be(),i=Fe(),s=jt(Ii,null);let a;r({pageRef:i});const l=jt(_b,null);let u;const c=o.deferHydration();if(o.isHydrating){const d=o.hooks.hookOnce("app:error",c);$t().beforeEach(d)}e.pageKey&&St(()=>e.pageKey,(d,p)=>{d!==p&&o.callHook("page:loading:start")});let f=!1;{const d=$t().beforeResolve(()=>{f=!1});Zo(()=>{d()})}return()=>dt(Vb,{name:e.name,route:e.route,...t},{default:d=>{const p=h6(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!=null&&l.isCurrent(s)))return h?u:null;const g=Dd(d,e.pageKey),v=g6(s,d.route,d.Component);!o.isHydrating&&a===g&&!v&&Yt(()=>{f=!0,o.callHook("page:loading:end")}),a=g;const m=!!(e.transition??d.route.meta.pageTransition??Kg),E=m&&p6([e.transition,d.route.meta.pageTransition,Kg,{onBeforeLeave(){o._runningTransition=!0},onAfterLeave(){delete o._runningTransition,o.callHook("page:transition:finish",d.Component)}}]),y=e.keepalive??d.route.meta.keepalive??tI;return u=Bb(m&&E,Ax(y,dt(Sc,{suspensible:!0,onPending:()=>o.callHook("page:start",d.Component),onResolve:()=>{Yt(()=>o.callHook("page:finish",d.Component).then(()=>{if(!f&&!v)return f=!0,o.callHook("page:loading:end")}).finally(c))}},{default:()=>{const _={key:g||void 0,vnode:n.default?m6(n.default,d):d.Component,route:d.route,renderKey:g||void 0,trackRootNodes:m,vnodeRef:i};if(!y)return dt(f6,_);const T=d.Component.type,A=T;let S=t_.get(A);return S||(S=eT(T.name||T.__name),t_.set(A,S)),dt(S,_)}}))).default(),u}})}});function p6(e){const t=e.filter(Boolean).map(n=>({...n,onAfterLeave:n.onAfterLeave?dh(n.onAfterLeave):void 0}));return Xa(...t)}function h6(e,t,n){if(!e)return!1;const r=t.matched.findIndex(o=>{var i;return((i=o.components)==null?void 0:i.default)===(n==null?void 0:n.type)});return!r||r===-1?!1:t.matched.slice(0,r).some((o,i)=>{var s,a,l;return((s=o.components)==null?void 0:s.default)!==((l=(a=e.matched[i])==null?void 0:a.components)==null?void 0:l.default)})||n&&Dd({route:t,Component:n})!==Dd({route:e,Component:n})}function g6(e,t,n){return e?t.matched.findIndex(o=>{var i;return((i=o.components)==null?void 0:i.default)===(n==null?void 0:n.type)}){const o=Bh,i=Hc;return me(),mt("div",{id:"footer-navigation",class:Xn(`footer-navigation footer-navigation--${W(t)}`)},[xe(i,null,{default:Ve(()=>[Tt("div",y6,[Tt("span",v6,[xe(o,{"brand-code":W(t)},null,8,["brand-code"])]),Tt("nav",_6,[Tt("ul",b6,[pt(n.$slots,"default",{},void 0,!0)])])])]),_:3})],2)}}}),T6=Object.assign(gn(E6,[["__scopeId","data-v-199e6138"]]),{__name:"BaseFooterLinkBar"}),w6={id:"footer",class:"footer"},S6={class:"footer__fine-print"},A6=["innerHTML"],R6=Ce({__name:"BaseDPGFooter",props:{footerText:{}},setup(e){const t=e;return(n,r)=>{const o=Bh,i=Hc;return me(),mt("div",w6,[xe(i,null,{default:Ve(()=>[xe(o,{"brand-code":"dpg",height:"48px"}),Tt("div",S6,[Tt("span",{innerHTML:t.footerText},null,8,A6)])]),_:1})])}}}),I6=Object.assign(gn(R6,[["__scopeId","data-v-34c34b37"]]),{__name:"BaseDPGFooter"}),O6=Ce({__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=T6,i=I6;return me(),mt(Ct,null,[xe(o,null,{default:Ve(()=>[(me(!0),mt(Ct,null,zp(W(t),({tag:s,label:a,...l},u)=>(me(),mt("li",{key:u},[(me(),Ge(Go(s),Pt({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:Ve(()=>[Qr(or(a),1)]),_:2},1040))]))),128))]),_:1}),xe(i,{"footer-text":n.$t("dpg.footerText",[new Date().getFullYear()])},null,8,["footer-text"])],64)}}}),x6=Object.assign(gn(O6,[["__scopeId","data-v-9c545b69"]]),{__name:"BrandedFooter"});function Hh(e){return e?e.flatMap(t=>t.type===Ct?Hh(t.children):[t]):[]}const C6=Ce({name:"PrimitiveSlot",inheritAttrs:!1,setup(e,{attrs:t,slots:n}){return()=>{var l;if(!n.default)return null;const r=Hh(n.default()),o=r.findIndex(u=>u.type!==zt);if(o===-1)return r;const i=r[o];(l=i.props)==null||delete l.ref;const s=i.props?Pt(t,i.props):t,a=Wn({...i,props:{}},s);return r.length===1?a:(r[o]=a,r)}}}),N6=["area","img","input"],oi=Ce({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"&&N6.includes(r)?()=>dt(r,t):r!=="template"?()=>dt(e.as,t,{default:n.default}):()=>dt(C6,t,{default:n.default})}}),n_=Ce({__name:"VisuallyHidden",props:{feature:{default:"focusable"},asChild:{type:Boolean},as:{default:"span"}},setup(e){return(t,n)=>(me(),Ge(W(oi),{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:Ve(()=>[pt(t.$slots,"default")]),_:3},8,["as","as-child","aria-hidden","data-hidden","tabindex"]))}});function tT(e,t){const n=typeof e=="string"?`${e}Context`:t,r=Symbol(n);return[s=>{const a=jt(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=>(Gr(r,s),s)]}const[nT,zB]=tT("ConfigProvider");function _r(){const e=yt(),t=Fe(),n=te(()=>{var s,a;return["#text","#comment"].includes((s=t.value)==null?void 0:s.$el.nodeName)?(a=t.value)==null?void 0:a.$el.nextElementSibling:$o(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}}let L6=0;function wp(e,t="reka"){const n=nT({useId:void 0});return Object.hasOwn(JA,"useId")?`${t}-${su==null?void 0:su()}`:n.useId?`${t}-${n.useId()}`:`${t}-${++L6}`}function P6(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 D6(e,t){var v;const n=Fe({}),r=Fe("none"),o=Fe(e),i=e.value?"mounted":"unmounted";let s;const a=((v=t.value)==null?void 0:v.ownerDocument.defaultView)??Ls,{state:l,dispatch:u}=P6(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),c=m=>{var E;if(ri){const y=new CustomEvent(m,{bubbles:!1,cancelable:!1});(E=t.value)==null||E.dispatchEvent(y)}};St(e,async(m,E)=>{var _;const y=E!==m;if(await Yt(),y){const T=r.value,A=nu(t.value);m?(u("MOUNT"),c("enter"),A==="none"&&c("after-enter")):A==="none"||A==="undefined"||((_=n.value)==null?void 0:_.display)==="none"?(u("UNMOUNT"),c("leave"),c("after-leave")):E&&T!==A?(u("ANIMATION_OUT"),c("leave")):(u("UNMOUNT"),c("after-leave"))}},{immediate:!0});const f=m=>{const E=nu(t.value),y=E.includes(m.animationName),_=l.value==="mounted"?"enter":"leave";if(m.target===t.value&&y&&(c(`after-${_}`),u("ANIMATION_END"),!o.value)){const T=t.value.style.animationFillMode;t.value.style.animationFillMode="forwards",s=a==null?void 0:a.setTimeout(()=>{var A;((A=t.value)==null?void 0:A.style.animationFillMode)==="forwards"&&(t.value.style.animationFillMode=T)})}m.target===t.value&&E==="none"&&u("ANIMATION_END")},d=m=>{m.target===t.value&&(r.value=nu(t.value))},p=St(t,(m,E)=>{m?(n.value=getComputedStyle(m),m.addEventListener("animationstart",d),m.addEventListener("animationcancel",f),m.addEventListener("animationend",f)):(u("ANIMATION_END"),s!==void 0&&(a==null||a.clearTimeout(s)),E==null||E.removeEventListener("animationstart",d),E==null||E.removeEventListener("animationcancel",f),E==null||E.removeEventListener("animationend",f))},{immediate:!0}),h=St(l,()=>{const m=nu(t.value);r.value=l.value==="mounted"?m:"none"});return Ro(()=>{p(),h()}),{isPresent:te(()=>["mounted","unmountSuspended"].includes(l.value))}}function nu(e){return e&&getComputedStyle(e).animationName||"none"}const rT=Ce({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:t,expose:n}){var u;const{present:r,forceMount:o}=va(e),i=Fe(),{isPresent:s}=D6(r,i);n({present:s});let a=t.default({present:s.value});a=Hh(a||[]);const l=yt();if(a&&(a==null?void 0:a.length)>1){const c=(u=l==null?void 0:l.parent)!=null&&u.type.name?`<${l.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${c}\` 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(f=>` - ${f}`).join(` `)].join(` `))}return()=>o.value||r.value||s.value?dt(t.default({present:s.value})[0],{ref:c=>{const f=$o(c);return typeof(f==null?void 0:f.hasAttribute)>"u"||(f!=null&&f.hasAttribute("data-reka-popper-content-wrapper")?i.value=f.firstElementChild:i.value=f),f}}):null}}),[eo,k6]=tT("DialogRoot"),M6=Ce({inheritAttrs:!1,__name:"DialogRoot",props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:!1},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(e,{emit:t}){const n=e,o=I$(n,"open",t,{defaultValue:n.defaultOpen,passive:n.open===void 0}),i=Fe(),s=Fe(),{modal:a}=va(n);return k6({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:W(o),close:()=>o.value=!1})}}),F6=Ce({__name:"DialogClose",props:{asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e;_r();const n=eo();return(r,o)=>(me(),Ge(W(oi),Pt(t,{type:r.as==="button"?"button":void 0,onClick:o[0]||(o[0]=i=>W(n).onOpenChange(!1))}),{default:Ve(()=>[pt(r.$slots,"default")]),_:3},16,["type"]))}});function zh(e){const t=yt(),n=t==null?void 0:t.type.emits,r={};return n!=null&&n.length||console.warn(`No emitted event found. Please check component: ${t==null?void 0:t.type.__name}`),n==null||n.forEach(o=>{r[os(on(o))]=(...i)=>e(o,...i)}),r}function oT(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)}const U6="dismissableLayer.pointerDownOutside",j6="dismissableLayer.focusOutside";function iT(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 Jr(a=>{if(!ri||!gt(n))return;const l=async c=>{const f=c.target;if(!(!(t!=null&&t.value)||!f)){if(iT(t.value,f)){o.value=!1;return}if(c.target&&!o.value){let d=function(){oT(U6,e,p)};const p={originalEvent:c};c.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}},u=window.setTimeout(()=>{r.addEventListener("pointerdown",l)},0);a(()=>{window.clearTimeout(u),r.removeEventListener("pointerdown",l),r.removeEventListener("click",i.value)})}),{onPointerDownCapture:()=>{gt(n)&&(o.value=!0)}}}function $6(e,t){var o;const n=((o=t==null?void 0:t.value)==null?void 0:o.ownerDocument)??(globalThis==null?void 0:globalThis.document),r=Fe(!1);return Jr(i=>{if(!ri)return;const s=async a=>{if(!(t!=null&&t.value))return;await Yt(),await Yt();const l=a.target;!t.value||!l||iT(t.value,l)||a.target&&!r.value&&oT(j6,e,{originalEvent:a})};n.addEventListener("focusin",s),i(()=>n.removeEventListener("focusin",s))}),{onFocusCapture:()=>r.value=!0,onBlurCapture:()=>r.value=!1}}const so=sn({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),B6=Ce({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(e,{emit:t}){const n=e,r=t,{forwardRef:o,currentElement:i}=_r(),s=te(()=>{var h;return((h=i.value)==null?void 0:h.ownerDocument)??globalThis.document}),a=te(()=>so.layersRoot),l=te(()=>i.value?Array.from(a.value).indexOf(i.value):-1),u=te(()=>so.layersWithOutsidePointerEventsDisabled.size>0),c=te(()=>{const h=Array.from(a.value),[g]=[...so.layersWithOutsidePointerEventsDisabled].slice(-1),v=h.indexOf(g);return l.value>=v}),f=V6(async h=>{const g=[...so.branches].some(v=>v==null?void 0:v.contains(h.target));!c.value||g||(r("pointerDownOutside",h),r("interactOutside",h),await Yt(),h.defaultPrevented||r("dismiss"))},i),d=$6(h=>{[...so.branches].some(v=>v==null?void 0:v.contains(h.target))||(r("focusOutside",h),r("interactOutside",h),h.defaultPrevented||r("dismiss"))},i);z2("Escape",h=>{l.value===a.value.size-1&&(r("escapeKeyDown",h),h.defaultPrevented||r("dismiss"))});let p;return Jr(h=>{i.value&&(n.disableOutsidePointerEvents&&(so.layersWithOutsidePointerEventsDisabled.size===0&&(p=s.value.body.style.pointerEvents,s.value.body.style.pointerEvents="none"),so.layersWithOutsidePointerEventsDisabled.add(i.value)),a.value.add(i.value),h(()=>{n.disableOutsidePointerEvents&&so.layersWithOutsidePointerEventsDisabled.size===1&&(s.value.body.style.pointerEvents=p)}))}),Jr(h=>{h(()=>{i.value&&(a.value.delete(i.value),so.layersWithOutsidePointerEventsDisabled.delete(i.value))})}),(h,g)=>(me(),Ge(W(oi),{ref:W(o),"as-child":h.asChild,as:h.as,"data-dismissable-layer":"",style:Qo({pointerEvents:u.value?c.value?"auto":"none":void 0}),onFocusCapture:W(d).onFocusCapture,onBlurCapture:W(d).onBlurCapture,onPointerdownCapture:W(f).onPointerDownCapture},{default:Ve(()=>[pt(h.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}});function Yo(){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 H6(e){return e?"open":"closed"}const z6=s$(()=>Fe([]));function G6(){const e=z6();return{add(t){const n=e.value[0];t!==n&&(n==null||n.pause()),e.value=r_(e.value,t),e.value.unshift(t)},remove(t){var n;e.value=r_(e.value,t),(n=e.value[0])==null||n.resume()}}}function r_(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function K6(e){return e.filter(t=>t.tagName!=="A")}const Xf="focusScope.autoFocusOnMount",Jf="focusScope.autoFocusOnUnmount",o_={bubbles:!1,cancelable:!0};function q6(e,{select:t=!1}={}){const n=Yo();for(const r of e)if(Lo(r,{select:t}),Yo()!==n)return!0}function W6(e){const t=sT(e),n=i_(t,e),r=i_(t.reverse(),e);return[n,r]}function sT(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 i_(e,t){for(const n of e)if(!Y6(n,{upTo:t}))return n}function Y6(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 X6(e){return e instanceof HTMLInputElement&&"select"in e}function Lo(e,{select:t=!1}={}){if(e&&e.focus){const n=Yo();e.focus({preventScroll:!0}),e!==n&&X6(e)&&t&&e.select()}}const J6=Ce({__name:"FocusScope",props:{loop:{type:Boolean,default:!1},trapped:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["mountAutoFocus","unmountAutoFocus"],setup(e,{emit:t}){const n=e,r=t,{currentRef:o,currentElement:i}=_r(),s=Fe(null),a=G6(),l=sn({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});Jr(c=>{if(!ri)return;const f=i.value;if(!n.trapped)return;function d(v){if(l.paused||!f)return;const m=v.target;f.contains(m)?s.value=m:Lo(s.value,{select:!0})}function p(v){if(l.paused||!f)return;const m=v.relatedTarget;m!==null&&(f.contains(m)||Lo(s.value,{select:!0}))}function h(v){f.contains(s.value)||Lo(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()})}),Jr(async c=>{const f=i.value;if(await Yt(),!f)return;a.add(l);const d=Yo();if(!f.contains(d)){const h=new CustomEvent(Xf,o_);f.addEventListener(Xf,g=>r("mountAutoFocus",g)),f.dispatchEvent(h),h.defaultPrevented||(q6(K6(sT(f)),{select:!0}),Yo()===d&&Lo(f))}c(()=>{f.removeEventListener(Xf,v=>r("mountAutoFocus",v));const h=new CustomEvent(Jf,o_),g=v=>{r("unmountAutoFocus",v)};f.addEventListener(Jf,g),f.dispatchEvent(h),setTimeout(()=>{h.defaultPrevented||Lo(d??document.body,{select:!0}),f.removeEventListener(Jf,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=Yo();if(f&&d){const p=c.currentTarget,[h,g]=W6(p);h&&g?!c.shiftKey&&d===g?(c.preventDefault(),n.loop&&Lo(h,{select:!0})):c.shiftKey&&d===h&&(c.preventDefault(),n.loop&&Lo(g,{select:!0})):d===p&&c.preventDefault()}}return(c,f)=>(me(),Ge(W(oi),{ref_key:"currentRef",ref:o,tabindex:"-1","as-child":c.asChild,as:c.as,onKeydown:u},{default:Ve(()=>[pt(c.$slots,"default")]),_:3},8,["as-child","as"]))}}),aT=Ce({__name:"DialogContentImpl",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,r=t,o=eo(),{forwardRef:i,currentElement:s}=_r();return o.titleId||(o.titleId=wp(void 0,"reka-dialog-title")),o.descriptionId||(o.descriptionId=wp(void 0,"reka-dialog-description")),an(()=>{o.contentElement=s,Yo()!==document.body&&(o.triggerElement.value=Yo())}),(a,l)=>(me(),Ge(W(J6),{"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:Ve(()=>[xe(W(B6),Pt({id:W(o).contentId,ref:W(i),as:a.as,"as-child":a.asChild,"disable-outside-pointer-events":a.disableOutsidePointerEvents,role:"dialog","aria-describedby":W(o).descriptionId,"aria-labelledby":W(o).titleId,"data-state":W(H6)(W(o).open.value)},a.$attrs,{onDismiss:l[0]||(l[0]=u=>W(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:Ve(()=>[pt(a.$slots,"default")]),_:3},16,["id","as","as-child","disable-outside-pointer-events","aria-describedby","aria-labelledby","data-state"])]),_:3},8,["trapped"]))}});var Q6=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},zi=new WeakMap,ru=new WeakMap,ou={},Qf=0,lT=function(e){return e&&(e.host||lT(e.parentNode))},Z6=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=lT(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})},e4=function(e,t,n,r){var o=Z6(t,Array.isArray(e)?e:[e]);ou[n]||(ou[n]=new WeakMap);var i=ou[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=(zi.get(d)||0)+1,v=(i.get(d)||0)+1;zi.set(d,g),i.set(d,v),s.push(d),g===1&&h&&ru.set(d,!0),v===1&&d.setAttribute(n,"true"),h||d.setAttribute(r,"true")}catch(m){console.error("aria-hidden: cannot operate on ",d,m)}})};return c(t),a.clear(),Qf++,function(){s.forEach(function(f){var d=zi.get(f)-1,p=i.get(f)-1;zi.set(f,d),i.set(f,p),d||(ru.has(f)||f.removeAttribute(r),ru.delete(f)),p||f.removeAttribute(n)}),Qf--,Qf||(zi=new WeakMap,zi=new WeakMap,ru=new WeakMap,ou={})}},t4=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=Q6(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),e4(r,o,n,"aria-hidden")):function(){return null}};function n4(e){let t;St(()=>$o(e),n=>{n?t=t4(n):t&&t()}),Ro(()=>{t&&t()})}const r4=Ce({__name:"DialogContentModal",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,r=t,o=eo(),i=zh(r),{forwardRef:s,currentElement:a}=_r();return n4(a),(l,u)=>(me(),Ge(aT,Pt({...n,...W(i)},{ref:W(s),"trap-focus":W(o).open.value,"disable-outside-pointer-events":!0,onCloseAutoFocus:u[0]||(u[0]=c=>{var f;c.defaultPrevented||(c.preventDefault(),(f=W(o).triggerElement.value)==null||f.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:Ve(()=>[pt(l.$slots,"default")]),_:3},16,["trap-focus"]))}}),o4=Ce({__name:"DialogContentNonModal",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=zh(t);_r();const i=eo(),s=Fe(!1),a=Fe(!1);return(l,u)=>(me(),Ge(aT,Pt({...n,...W(o)},{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:u[0]||(u[0]=c=>{var f;c.defaultPrevented||(s.value||(f=W(i).triggerElement.value)==null||f.focus(),c.preventDefault()),s.value=!1,a.value=!1}),onInteractOutside:u[1]||(u[1]=c=>{var p;c.defaultPrevented||(s.value=!0,c.detail.originalEvent.type==="pointerdown"&&(a.value=!0));const f=c.target;((p=W(i).triggerElement.value)==null?void 0:p.contains(f))&&c.preventDefault(),c.detail.originalEvent.type==="focusin"&&a.value&&c.preventDefault()})}),{default:Ve(()=>[pt(l.$slots,"default")]),_:3},16))}}),i4=Ce({__name:"DialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,r=t,o=eo(),i=zh(r),{forwardRef:s}=_r();return(a,l)=>(me(),Ge(W(rT),{present:a.forceMount||W(o).open.value},{default:Ve(()=>[W(o).modal.value?(me(),Ge(r4,Pt({key:0,ref:W(s)},{...n,...W(i),...a.$attrs}),{default:Ve(()=>[pt(a.$slots,"default")]),_:3},16)):(me(),Ge(o4,Pt({key:1,ref:W(s)},{...n,...W(i),...a.$attrs}),{default:Ve(()=>[pt(a.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),s4=Ce({__name:"DialogDescription",props:{asChild:{type:Boolean},as:{default:"p"}},setup(e){const t=e;_r();const n=eo();return(r,o)=>(me(),Ge(W(oi),Pt(t,{id:W(n).descriptionId}),{default:Ve(()=>[pt(r.$slots,"default")]),_:3},16,["id"]))}}),a4=l$(()=>{const e=Fe(new Map),t=Fe(),n=te(()=>{for(const s of e.value.values())if(s)return!0;return!1}),r=nT({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??"",yp&&(o==null||o()),t.value=void 0};return St(n,(s,a)=>{var f;if(!ri)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=(f=r.scrollBody)!=null&&f.value?typeof r.scrollBody.value=="object"?Xa({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"),yp&&(o=tr(document,"touchmove",d=>u4(d),{passive:!1})),Yt(()=>{document.body.style.pointerEvents="none",document.body.style.overflow="hidden"})},{immediate:!0,flush:"sync"}),e});function l4(e){const t=Math.random().toString(36).substring(2,7),n=a4();n.value.set(t,e??!1);const r=te({get:()=>n.value.get(t)??!1,set:o=>n.value.set(t,o)});return y$(()=>{n.value.delete(t)}),r}function uT(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)}const c4=Ce({__name:"DialogOverlayImpl",props:{asChild:{type:Boolean},as:{}},setup(e){const t=eo();return l4(!0),_r(),(n,r)=>(me(),Ge(W(oi),{as:n.as,"as-child":n.asChild,"data-state":W(t).open.value?"open":"closed",style:{"pointer-events":"auto"}},{default:Ve(()=>[pt(n.$slots,"default")]),_:3},8,["as","as-child","data-state"]))}}),f4=Ce({__name:"DialogOverlay",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(e){const t=eo(),{forwardRef:n}=_r();return(r,o)=>{var i;return(i=W(t))!=null&&i.modal.value?(me(),Ge(W(rT),{key:0,present:r.forceMount||W(t).open.value},{default:Ve(()=>[xe(c4,Pt(r.$attrs,{ref:W(n),as:r.as,"as-child":r.asChild}),{default:Ve(()=>[pt(r.$slots,"default")]),_:3},16,["as","as-child"])]),_:3},8,["present"])):tn("",!0)}}}),d4=Ce({__name:"Teleport",props:{to:{default:"body"},disabled:{type:Boolean},defer:{type:Boolean},forceMount:{type:Boolean}},setup(e){const t=H2();return(n,r)=>W(t)||n.forceMount?(me(),Ge(B_,{key:0,to:n.to,disabled:n.disabled,defer:n.defer},[pt(n.$slots,"default")],8,["to","disabled","defer"])):tn("",!0)}}),p4=Ce({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{default:"h2"}},setup(e){const t=e,n=eo();return _r(),(r,o)=>(me(),Ge(W(oi),Pt(t,{id:W(n).titleId}),{default:Ve(()=>[pt(r.$slots,"default")]),_:3},16,["id"]))}}),h4=Ce({__name:"DialogTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e,n=eo(),{forwardRef:r,currentElement:o}=_r();return n.contentId||(n.contentId=wp(void 0,"reka-dialog-content")),an(()=>{n.triggerElement.value=o.value}),(i,s)=>(me(),Ge(W(oi),Pt(t,{ref:W(r),type:i.as==="button"?"button":void 0,"aria-haspopup":"dialog","aria-expanded":W(n).open.value||!1,"aria-controls":W(n).open.value?W(n).contentId:void 0,"data-state":W(n).open.value?"open":"closed",onClick:W(n).onOpenToggle}),{default:Ve(()=>[pt(i.$slots,"default")]),_:3},16,["type","aria-expanded","aria-controls","data-state","onClick"]))}}),g4=Ce({__name:"DialogPortal",props:{to:{},disabled:{type:Boolean},defer:{type:Boolean},forceMount:{type:Boolean}},setup(e){const t=e;return(n,r)=>(me(),Ge(W(d4),Bo(Ko(t)),{default:Ve(()=>[pt(n.$slots,"default")]),_:3},16))}}),m4={class:"tapp-modal__inner"},y4=["windowed","always-windowed","fullscreen"],v4=Ce({__name:"TappModal",props:t1({variant:{default:()=>y4[0]},accessibleTitle:{},accessibleDescription:{},reka:{}},{open:{type:Boolean},openModifiers:{}}),emits:["update:open"],setup(e){const t=E1(e,"open");return(n,r)=>{var i;const o=$c;return me(),Ge(W(M6),Pt((i=n.reka)==null?void 0:i.root,{open:t.value,"onUpdate:open":r[0]||(r[0]=s=>t.value=s)}),{default:Ve(()=>{var s,a;return[xe(W(h4),Pt({"as-child":""},(s=n.reka)==null?void 0:s.trigger),{default:Ve(()=>[pt(n.$slots,"trigger")]),_:3},16),xe(W(g4),Bo(Ko((a=n.reka)==null?void 0:a.portal)),{default:Ve(()=>{var l,u;return[xe(W(f4),Pt({class:"tapp-modal-overlay"},(l=n.reka)==null?void 0:l.overlay),null,16),xe(W(i4),Pt({class:["tapp-modal",`tapp-modal--${n.variant}`],"data-testid":"tapp-modal"},(u=n.reka)==null?void 0:u.content),{default:Ve(()=>{var c;return[xe(W(n_),{"as-child":""},{default:Ve(()=>{var f;return[xe(W(p4),Bo(Ko((f=n.reka)==null?void 0:f.title)),{default:Ve(()=>[Qr(or(n.accessibleTitle),1)]),_:1},16)]}),_:1}),xe(W(n_),{"as-child":""},{default:Ve(()=>{var f;return[xe(W(s4),Bo(Ko((f=n.reka)==null?void 0:f.description)),{default:Ve(()=>[Qr(or(n.accessibleDescription),1)]),_:1},16)]}),_:1}),Tt("div",m4,[pt(n.$slots,"default")]),xe(W(F6),Pt({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},(c=n.reka)==null?void 0:c.close),{default:Ve(()=>[xe(o,{icon:"x",size:24})]),_:1},16,["data-analytics-label"])]}),_:3},16,["class"])]}),_:3},16)]}),_:3},16,["open"])}}}),_4=Object.assign(v4,{__name:"TappModal"});function zc(){const e=wo().host;return{flowType:e!=null&&e.includes("opzeggen")?"opzeggen":"wijzigen"}}const b4=Eo(()=>ie(()=>import("./BQqlrMdc.js"),__vite__mapDeps([77,78]),import.meta.url).then(e=>e.default||e)),E4={class:"app-accessibility-policy-modal"},T4=Ce({__name:"AppAccessibilityPolicyModal",setup(e){const t=ct("isAccessibilityPolicyModalOpen",()=>!1),n=zc().flowType,{brandCode:r}=Zr();return(o,i)=>{const s=b4,a=_4;return me(),Ge(a,{open:W(t),"onUpdate:open":i[0]||(i[0]=l=>It(t)?t.value=l:null),"accessible-title":"Accessibility Policy","accessible-description":"Read our accessibility policy for the kiosk app"},{default:Ve(()=>[Tt("div",E4,[W(t)?(me(),Ge(s,{key:0,"app-slug":W(n),locale:"nl",title:W(r)},null,8,["app-slug","title"])):tn("",!0)])]),_:1},8,["open"])}}}),w4=Object.assign(gn(T4,[["__scopeId","data-v-3e74358d"]]),{__name:"AppAccessibilityPolicyModal"}),cT={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"},S4={...cT,middleName:null,address:{postalCode:"1500",houseNumber:"1"},phone:"0482455642"};function A4(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 s_(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 R4(){const e=window.location.host.endsWith("be"),{address:t,...n}=e?S4:cT;Object.entries(t).forEach(([r,o])=>s_(r,o)),Object.entries(n).forEach(([r,o])=>s_(r,o)),["newsletter","terms","18_years_old"].forEach(r=>{A4(r)})}const I4=Eo(()=>ie(()=>import("./DbY56O8J.js"),__vite__mapDeps([86,7,8,87]),import.meta.url).then(e=>e.default||e)),O4=Ce({__name:"InspectorBase.client",setup(e){const t=el("inspector-enabled",{default:()=>!1});return z2(({ctrlKey:n,key:r,shiftKey:o})=>{n&&o&&r==="I"&&(t.value=!t.value),n&&o&&r==="F"&&R4()}),(n,r)=>{const o=I4;return W(t)?(me(),Ge(o,{key:0})):tn("",!0)}}}),x4=Object.assign(O4,{__name:"InspectorBase"}),C4=Ce({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>dt(Vo[e.name],e.layoutProps,t.slots)}}),N4={name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},fT=Ce({name:"NuxtLayout",inheritAttrs:!1,props:N4,setup(e,t){const n=Be(),r=jt(Ii),i=!r||r===Rn()?$b():r,s=te(()=>{let c=W(e.name)??(i==null?void 0:i.meta.layout)??"default";return c&&!(c in Vo)&&e.fallback&&(c=W(e.fallback)),c}),a=An();t.expose({layoutRef:a});const l=n.deferHydration();if(n.isHydrating){const c=n.hooks.hookOnce("app:error",l);$t().beforeEach(c)}let u;return()=>{const c=s.value&&s.value in Vo,f=(i==null?void 0:i.meta.layoutTransition)??eI,d=u;return u=s.value,Bb(c&&f,{default:()=>dt(Sc,{suspensible:!0,onResolve:()=>{Yt(l)}},{default:()=>dt(L4,{layoutProps:Pt(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()}}}),L4=Ce({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&&Gr(_b,{isCurrent:i=>n===(i.meta.layout??"default")});const r=jt(Ii);if(r&&r===Rn()){const i=$b(),s={};for(const a in i){const l=a;Object.defineProperty(s,l,{enumerable:!0,get:()=>e.isRenderingNewLayout(e.name)?i[l]:r[l]})}Gr(Ii,Tr(s))}return()=>{var i,s;return!n||typeof n=="string"&&!(n in Vo)?(s=(i=t.slots).default)==null?void 0:s.call(i):dt(C4,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}});function P4(){const e=KC(),{isSsoEnabled:t,loadSsoScriptDeferred:n}=e.public.pip;t&&sh({script:[{id:"ssoscript",src:"https://login-static.dpgmedia.net/ssosession/main.js",async:!0,defer:n}]})}function a_(e){return Object.fromEntries(Object.entries(e).filter(([t,n])=>n!==void 0))}function D4(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 k4(){const e=kt(),t=e.public.GTM||"GTM-W9WWJW",n=e.public.STAGE==="production",r=Rn(),o=`${e.app.baseURL==="/"?"":e.app.baseURL}`,i=r.query.forceGtm==="true"||r.query.gtm==="true",s=r.query.gtm==="false"||Cc();if(!n&&!i||s||D4(void 0??"")&&!i)return;an(()=>{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 GB(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 M4(e){return e?new Date(e).toLocaleDateString("nl-NL",{year:"numeric",month:"long",day:"numeric"}):""}function F4(e){return e&&e.charAt(0).toUpperCase()+e.slice(1)}function KB(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 U4(){const e=Ps(),t=ct("userSubscriptions",()=>[]),n=ct("currentSubscription"),r=ct("cancellationFeedback"),o=te(()=>{var D;return(D=n.value)==null?void 0:D.customer}),i=te(()=>{var D,M;return(M=(D=n.value)==null?void 0:D.prices)==null?void 0:M.find(j=>j.default)}),s=te(()=>{var D,M,j,B,H,le;return(D=n.value)!=null&&D.subscription?((M=n.value)==null?void 0:M.subscription.processingState)||((j=n.value)==null?void 0:j.subscription.isTerminated)||((B=n.value)==null?void 0:B.subscription.isDunning)||!((H=n.value)!=null&&H.subscription.isCancellable)||!((le=n.value)!=null&&le.subscription.isModifiable):!1});function a(D){t.value=D}function l(D){n.value=D}function u(D,M){const j=M.subscription[D];return M4(j||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(()=>{var D,M;return((M=(D=n.value)==null?void 0:D.subscription)==null?void 0:M.propositionType)||""}),p=te(()=>{var D,M,j,B;return!!((M=(D=n.value)==null?void 0:D.customer.address)!=null&&M.houseNumber)&&!!((B=(j=n.value)==null?void 0:j.customer.address)!=null&&B.zipCode)}),h=te(()=>{var D;return(D=n.value)==null?void 0:D.subscription.isModifiable}),g=te(()=>{var D;return(D=n.value)==null?void 0:D.subscription.isCancellable}),v=te(()=>{var M;const D=((M=n.value)==null?void 0:M.subscription.propositionType)||"";return!!["ARIBR"].includes(D)}),m=te(()=>!(!n.value||!h.value||v.value)),E=te(()=>!(!n.value||!h.value||["FLOW","TINA"].includes(n.value.subscription.propositionType||""))),y=te(()=>{var D,M;return["PAK12"].includes(((D=n.value)==null?void 0:D.subscription.propositionType)||"")||((M=n.value)==null?void 0:M.subscription.isDigital)||!1});async function _({subscriptionNumber:D,lastIbanDigits:M,brandCode:j,zipCode:B}){const H=Md(),{abonId:le,iban4:Te,zipcode:ke,title:pe}=a_({abonId:D,iban4:M,zipcode:B,title:j}),ge=await a8({title:pe,subscriptionId:le,iban4:Te,zipcode:ke},{headers:H});return a([ge]),l(ge),ge}async function T(){const{title:D}=a_({title:e.value});if(!D||typeof D!="string")throw new Error("Brand code is required");const M=Md(),j=await u8({title:D},{headers:M});return j.status==="fulfilled"&&(a(j.active),j.active.length>0&&l(j.active[0])),j.status}async function A(D){let M=0,j=0;for(;MsetTimeout(H,j)))}throw new Error("Polling exceeded maximum attempts without reaching fulfilled status")}async function S({reasonCode:D,reason:M,reasonSlug:j,email:B,endDate:H}){var pe,ge;if(!((pe=n.value)!=null&&pe.subscription))throw new Error("No subscription to cancel");const le=e.value,Te=n.value.subscription.subsId,ke=(ge=n.value)==null?void 0:ge.subscription.idEncrypted;await l8({reasonCode:D,reason:M,endDate:H,subscriptionIdEncrypted:ke,title:le,subsId:Te,email:B,reasonSlug:j})}return{cancelDate:f,cancellationFeedback:r,currentProductCode:d,currentSubscription:n,defaultPrice:i,isDiscountExtendable:m,isLegacyAndNotDiscountExtendable:v,isSwitchable:E,isModifiable:h,isCancellable:g,isDigital:y,customer:o,modifyDate:c,showSubscriptionCallOuts:s,userHasAddress:p,userSubscriptions:t,cancelUserSubscription:S,fetchAccountSubscriptions:T,pollFetchAccountSubscriptions:A,fetchMagazineSubscription:_,setCurrentSubscription:l}}function j4(e,t){const n={};return e.forEach(r=>{var l;const o=`${r.brandId}-${r.formula.code}`,i=r.discount.percentage??0,s=((l=n[o])==null?void 0:l.discount.percentage)??0,a=r.includes.brand.code===t;(a&&!n[o]||s{var s;const r=n.brandId,o=n.discount.differencePerYear??0,i=((s=t[r])==null?void 0:s.discount.differencePerYear)??0;(!t[r]||o>i)&&(t[r]=n)}),Object.values(t)}function V4(e){const t={};return e.forEach(n=>{var s;const r=n.includes.product.uuid,o=n.discount.percentage??0,i=((s=t[r])==null?void 0:s.discount.percentage)??0;(!t[r]||i{var s;const r=`${n.brandId}-${n.productUuid}-${n.formula.code}`,o=n.discount.percentage??0,i=((s=t[r])==null?void 0:s.discount.percentage)??0;(!t[r]||it.includes.product.categories).filter((t,n,r)=>r.findIndex(o=>t.uuid===o.uuid)===n):[]}const Zf="fallback";function B4(){const{$logger:e}=Be(),t=ct("brandCode",()=>""),n=ct("selectedPropositionUuid"),r=ct("propositionGroup",()=>Zf),o=ct("propositions",()=>({})),i=ct("propositionsMap",()=>new Map),s=ct("brandsMap",()=>new Map),a=ct("brandsMapByCode",()=>new Map),l=ct("productsMap",()=>new Map);function u(re,_e){const tt=_e||Zf,{data:Ae,meta:Ke}=re;if(!Ae||!Ke)return;const He=s.value,it=a.value,qe=l.value,ot=i.value;Ae.brands.forEach(se=>{He.set(se.id,se),it.set(se.code,se)}),Ae.products.forEach(se=>{se.uuid&&qe.set(se.uuid,se)});const J=Ae.propositions.reduce((se,ae)=>{if(!ae.productUuid)return se;const ve=He.get(ae.brandId),We=qe.get(ae.productUuid),ze=c({proposition:ae,brand:ve,product:We,meta:Ke});return ze&&(ot.set(ae.uuid,ze),se.push(ze)),se},[]);o.value[tt]=J}function c({proposition:re,brand:_e,product:tt,meta:Ae}){return!_e||!tt?null:{...re,includes:{brand:_e,product:tt},meta:Ae}}async function f({brandCodes:re,productCodes:_e,formulas:tt,brandSlug:Ae,countryCode:Ke,group:He,mid:it,brandType:qe}={}){const ot=it||Di(),J=He||Zf;if(ot)try{const se=await c8({brandCodes:re,productCodes:_e,brandType:qe,brandSlug:Ae,countryCode:Ke,formulas:tt},{headers:{"X-Mid-Token":ot}});return se?(u(se,J),se):void 0}catch(se){e.log({title:"Error fetching catalogData [useCatalog]",error:se,metadata:{params:{brandCode:t.value,brandCodes:re,productCodes:_e,formulas:tt,brandSlug:Ae,countryCode:Ke,group:He,mid:it,brandType:qe,midToken:ot,propGroup:J}}})}}function d(re,_e,tt){return re.filter(Ae=>{var Ke;return((Ke=Ae.productCode)==null?void 0:Ke.toLocaleLowerCase())===_e.toLocaleLowerCase()&&Ae.brandCode===tt})}const p=te(()=>o.value[r.value]),h=te(()=>Array.from(i.value.values())),g=te(()=>i.value.get(n.value)),v=te(()=>j4(p.value,t.value)),m=te(()=>$4(p.value)),E=te(()=>V4(p.value)),y=te(()=>{var re,_e;return g.value?d(p.value,(re=g.value)==null?void 0:re.productCode,(_e=g.value)==null?void 0:_e.includes.brand.code):[]}),_=te(()=>a.value.get(t.value)),T=te(()=>{var re;return(re=_.value)==null?void 0:re.type}),A=te(()=>{var re;return(re=_.value)==null?void 0:re.domain}),S=te(()=>{var re;return(re=_.value)==null?void 0:re.name}),D=te(()=>{var re;return((re=_.value)==null?void 0:re.formal)===!0}),M=te(()=>{var re;return((re=_.value)==null?void 0:re.country)==="be"}),j=te(()=>M.value&&D.value?"be-formal":M.value?"be":D.value?"nl-formal":"nl"),B=te(()=>T.value==="magazine"),H=te(()=>Array.from(s.value.values())),le=te(()=>{if(!g.value)return"";const re=g.value.formula.label||g.value.formula.code;let _e="";return g.value.includes.brand.type==="paper"&&(_e=g.value.includes.brand.name.default+" "),_e+re});function Te(){n.value=""}function ke(re){n.value=re}function pe(re){r.value=re}const ge=te(()=>[...new Set(p.value.map(({premiumCode:re})=>re).filter(re=>re!==null))]);return{fetchCatalog:f,brands:H,brand:_,brandCode:t,brandDomain:A,brandIsBelgium:M,brandIsFormal:D,brandIsMagazine:B,brandName:S,brandType:T,brandLocale:j,allCatalogPropositions:h,catalogPropositions:p,catalogPropositionsByFormula:v,catalogPropositionsBySelectedProduct:y,getPropositionsByProductCode:d,catalogPropositionsByProductCode:m,catalogPropositionsByProduct:E,propositionsMap:i,productsMap:l,propositions:o,propositionGroup:r,setCatalogData:u,selectedProposition:g,selectedPropositionUuid:n,selectedPropositionLabel:le,setSelectedPropositionUuid:ke,resetSelectedPropositionUuid:Te,setPropositionGroup:pe,availablePremiums:ge}}function H4(){var i;const{brand:e}=B4(),t=ct("isAccessibilityPolicyModalOpen");function n(){t.value=!0}const r=((i=e.value)==null?void 0:i.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 s=[];return s.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:()=>{var a;return(a=window._privacy)==null?void 0:a.openModal()}},{tag:"button",onClick:n,label:"Toegankelijkheid"}),s}).value}}const z4=async(e,t)=>{var l;const n=typeof e=="string"?e:e.url,r=typeof e=="string"?(t==null?void 0:t.method)||"get":e.method,o=typeof e=="string"?t==null?void 0:t.body:e.data,i=ct("activeMid",()=>""),s=((l=t==null?void 0:t.headers)==null?void 0:l["X-Mid-Token"])??i.value,a=$t();return p0(n,{deep:!1,...o?{body:Ua(o,{deep:!0})}:{},...typeof e!="string"&&(e==null?void 0:e.params)&&{params:Ua(e==null?void 0:e.params,{exclude:["includes[]"]})},method:r,transform:u=>q2(u,{deep:!0}),getCachedData(u,c,{cause:f}){return f==="refresh:hook"||(r==null?void 0:r.toUpperCase())!=="GET"&&!n.includes("template-assets")?null:c.payload.data[u]||null},...t,headers:{"X-Mid-Token":s,"X-Client-Path":a.currentRoute.value.path,...t==null?void 0:t.headers}},"$9u3m_v97Wk")},G4=()=>ct("contentMap",()=>new Map);async function K4(e){function t(){const i=e.templates.map(s=>{const a=Object.entries(s.tags||[]).map(([u,c])=>`${u}-${c==null?void 0:c.toString()}`).join("-");return`${s.template_id.substring(0,2)}-${a}`}).join("-");return`${e.title}-dam-${i}`}const n=Di(),r=G4(),o=[];for(const i of e.templates){const s=Ua({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 c0(t(),()=>Promise.all(o),"$r2NGbtsbe4")}const l_={highlightUsp:"617141f4-918a-4cb9-a0d4-f4ff083849ab",usps:"6c596889-0b39-4269-832d-09cbfba1ac22",faqs:"3adf7bbd-ee3d-43ef-af89-348e8ef010fc",productDescription:"0d3d3f65-e34f-4d8d-bd96-ae096a479925"},q4=(e,t)=>{if(!e.length)return;const n=e.map(r=>{const o=Object.entries(r.tags||[]).map(([i,s])=>`${i}-${s==null?void 0:s.toString()}`).join("-");return`${r.template_id}-${o}`}).join("-");return`${t}-dam-${n}`},W4=()=>ct("contentMap",()=>new Map);async function Y4(e,t){const n=Di(),r=W4();if(t!=null&&t.parallel)return await K4(e);const{data:o}=await z4({url:"/front-office/v2/template-assets",method:"post"},{body:e,key:q4(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 X4(){const{brandCode:e}=Zr(),{flowType:t}=zc(),n=e.value,r=t,o={title:n,templates:[{template_id:l_.faqs,sort:{mode:"sortOrderTag",direction:"asc"},tags:{slug:r}},{template_id:l_.usps,filters:["touch_point_content"],tags:{slug:r}}]};await Y4(o)}const J4=/%[A-Z][A-Z0-9_]{3,}%/;async function Q4({path:e,params:t,locale:n,metaData:r},o={}){const i=Rn(),s=`/front-office/v3/storyblok/cdn/get/stories${e||"/"+i.query.url}`,a=VC(),l=p0(s,{method:"POST",body:{meta:r},params:jC(t,n),headers:{...a&&{"X-Storyblok-No-Cache":"true"}},getCachedData(d,p,{cause:h}){return h==="refresh:hook"?null:p.payload.data[d]||null},key:o.key||`storyblok-${s}-${JSON.stringify(r)}`,...o},"$1GRqE5cICe");if(!gu())return l;const u=await l,c=u.data.value,f=Fe(c||void 0);return c&&kF(c.data.story.id,async function(p){const h=JSON.stringify(p),g=J4.test(h);let v=p;if(g){const m=await i8({input:h,...r});v=JSON.parse(m.output)}f.value={headers:c.headers,data:{...c.data,story:v}}},{resolveRelations:t==null?void 0:t.resolve_relations}),{...u,data:te(()=>f.value||c)}}function Z4({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 eB({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}),sh({title:{textContent:()=>i,tagPriority:-10},link:[{rel:"canonical",href:`${r}${a}`,tagPriority:-10}],script:[{type:"application/ld+json",innerHTML:JSON.stringify(Z4({domain:r,siteName:t,siteDescription:e,pageName:n}))}],meta:l})}function tB({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 nB({pageName:e}={}){var d,p;const{$logger:t}=Be(),{brand:n,brandCode:r}=Zr(),{flowType:o}=zc();if(!n.value){t.log({title:"Retention SEO",message:"Brand not found"});return}const{locale:i}=ki(),s=wo(),l=`https://${s.hostname}`,u=`${n.value.name.default}`,c=`/retention/${o}/index/${n.value.type}`,{data:f}=await Q4({locale:i.value,path:c,metaData:{title:r.value}},{key:"ret-login-page"});eB({title:((d=f.value)==null?void 0:d.data.story.content.seo_meta[0].title)||r.value,description:((p=f.value)==null?void 0:p.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:tB({brandCode:n.value.code}),path:s.pathname})}const rB=NN(x4),oB={class:"app-footer"},iB=Ce({__name:"app",async setup(e){let t,n;Di(),P4(),k4();const{setLocale:r}=ki();U4();const o=Rn(),{fetchCurrentBrand:i,brandCode:s,brandLocale:a,brandType:l}=Zr();Bc(),W2();const{fetchPhoneNumber:u}=ll();jh();const{setBusinessHour:c}=Z2(),f=H4();[t,n]=ls(()=>Promise.all([u(),X4(),c("retention",s.value)])),await t,n(),[t,n]=ls(()=>r(a.value||"nl")),await t,n(),[t,n]=ls(()=>nB()),await t,n();const{initSso:d,userinfo:p}=Vh();return an(()=>{var h;d({country:"nl",loggedInEmail:((h=p.value)==null?void 0:h.email)||"",type:l.value})}),(h,g)=>{const v=c6,m=d6,E=Hc,y=x6,_=w4,T=rB,A=fT;return me(),Ge(A,{name:"branded","background-levels":"",style:Qo(W(o).path==="/"&&{backgroundColor:"var(--colors-white)"})},{top:Ve(()=>[xe(v)]),footer:Ve(()=>[Tt("div",oB,[xe(y,Bo(Ko(W(f))),null,16),xe(_)])]),default:Ve(()=>[xe(E,null,{default:Ve(()=>[xe(m)]),_:1}),xe(T)]),_:1},8,["style"])}}}),sB={},aB={class:"w-full h-auto",viewBox:"0 0 255 211",version:"1.1",xmlns:"http://www.w3.org/2000/svg"};function lB(e,t){return me(),mt("svg",aB,t[0]||(t[0]=[Jp('',1)]))}const uB=Object.assign(gn(sB,[["render",lB],["__scopeId","data-v-c2723994"]]),{__name:"AppLoader"}),cB={class:"app-system-page"},fB={key:0},dB={key:2,class:"app-system-page__description"},pB={class:"app-system-page__buttons"},hB={class:"app-system-page__faqs"},gB=Ce({__name:"AppSystemPage",props:{title:{},description:{},showLoader:{type:Boolean}},setup(e){return(t,n)=>{const r=uB;return me(),mt("div",cB,[t.title?(me(),mt("h2",fB,or(t.title),1)):tn("",!0),t.showLoader?(me(),Ge(r,{key:1,class:"app-system-page__loader","data-test-id":"dpg-loader"})):tn("",!0),t.description?(me(),mt("p",dB,or(t.description),1)):tn("",!0),pt(t.$slots,"default",{},void 0,!0),Tt("div",pB,[pt(t.$slots,"buttons",{},void 0,!0)]),Tt("div",hB,[pt(t.$slots,"faqs",{},void 0,!0)])])}}}),mB=Object.assign(gn(gB,[["__scopeId","data-v-5ced5cf9"]]),{__name:"AppSystemPage"});function yB(e){return!Array.isArray(window.dataLayer)&&typeof window.dataLayer>"u"&&(window.dataLayer=[]),window.dataLayer.push(e)}function vB({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=kt();yB({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||Di(),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 _B({trackOnMounted:e=!0}={}){const t=Ps(),n=Rn(),{flowType:r}=zc();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=F4(a),f=`${a}-${l}-pagina`,d=t.value,p=`${c} ${u} pagina`;return{stepDescription:f,title:d,virtualPageTitle:p}}return e&&an(()=>{if(!n.name||typeof n.name!="string")return;const{stepDescription:s,title:a,virtualPageTitle:l}=i({routeName:n.name,flowType:r});vB({stepDescription:s,title:a,virtualPageTitle:l,virtualPageUrl:o()})}),{getPageViewConfig:i}}const bB=Ce({__name:"error",async setup(e){var d,p,h,g,v,m,E,y,_,T,A,S;let t,n;const r=Ja(),o=Zr(),{isAuth:i,logout:s}=Bc(),{phoneNumber:a,fetchPhoneNumber:l}=ll(),{$logger:u}=Be();_B(),((d=r==null?void 0:r.value)==null?void 0:d.statusCode)===404||u.log({title:((p=r.value)==null?void 0:p.name)||((h=r.value)==null?void 0:h.message)||"[No error name or message] Application error",name:((g=r.value)==null?void 0:g.name)||"[No error name] General error",message:((v=r.value)==null?void 0:v.message)||"[No error message] An error occurred",error:r.value,metadata:{cause:(m=r.value)==null?void 0:m.cause,data:(E=r.value)==null?void 0:E.data,fatal:(y=r.value)==null?void 0:y.fatal,message:(_=r.value)==null?void 0:_.message,statusMessage:(T=r.value)==null?void 0:T.statusMessage,statusCode:(A=r.value)==null?void 0:A.statusCode,name:(S=r.value)==null?void 0:S.name}});try{[t,n]=ls(()=>l()),await t,n()}catch(D){u.log({title:"Error fetching phone number on 404 page",error:D})}return(D,M)=>{const j=$2,B=mB,H=fT;return me(),Ge(H,{brand:W(o),name:"error-layout","show-login":"","is-auth":W(i),onLogout:W(s)},{default:Ve(()=>[xe(B,{title:D.$t("pages.error.title"),description:D.$t("pages.error.description")},{buttons:Ve(()=>[xe(j,{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"}),W(a)?(me(),Ge(j,{key:0,tag:"a","data-testid":"call-us-button",href:`tel:${W(a)}`,text:D.$t("labels.callPhoneNumber",[W(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"])}}}),EB={key:0},u_={__name:"nuxt-root",setup(e){const t=()=>null,n=Be(),r=n.deferHydration();if(n.isHydrating){const u=n.hooks.hookOnce("app:error",r);$t().beforeEach(u)}const o=!1;Gr(Ii,Rn()),n.hooks.callHookWith(u=>u.map(c=>c()),"vue:setup");const i=Ja(),s=!1,a=/bot\b|chrome-lighthouse|facebookexternalhit|google\b|googlebot/i;$p((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(Eb(u)&&(u.fatal||u.unhandled))return n.runWithContext(()=>gi(u)),!1});const l=!1;return(u,c)=>(me(),Ge(Sc,{onResolve:W(r)},{default:Ve(()=>[W(s)?(me(),mt("div",EB)):W(i)?(me(),Ge(W(bB),{key:1,error:W(i)},null,8,["error"])):W(l)?(me(),Ge(W(t),{key:2,context:W(l)},null,8,["context"])):W(o)?(me(),Ge(Go(W(o)),{key:3})):(me(),Ge(W(iB),{key:4}))]),_:1},8,["onResolve"]))}};let c_;{let e;c_=async function(){var s,a;if(e)return e;const n=!!(((s=window.__NUXT__)==null?void 0:s.serverRendered)??((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true"),r=n?th(u_):Fu(u_),o=lI({vueApp:r});async function i(l){var u;await o.callHook("app:error",l),(u=o.payload).error||(u.error=qo(l))}r.config.errorHandler=i,o.hook("app:suspense:resolve",()=>{r.config.errorHandler===i&&(r.config.errorHandler=void 0)}),!n&&qg.id&&o.hook("app:suspense:resolve",()=>{var l;(l=document.getElementById(qg.id))==null||l.remove()});try{await fI(o,i5)}catch(l){i(l)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(iI),await o.hooks.callHook("app:mounted",r),await Yt()}catch(l){i(l)}return r},e=c_().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Ii as $,W2 as A,$t as B,tn as C,Ct as D,Qr as E,IR as F,ll as G,Zr as H,zc as I,ls as J,l_ as K,zp as L,_4 as M,Q4 as N,Y4 as O,Iu as P,_B as Q,KB as R,yA as S,an as T,Zo as U,$c as V,kt as W,X8 as X,Rn as Y,Lc as Z,$2 as _,Ps as a,B6 as a$,Bo as a0,Ko as a1,e_ as a2,Zv as a3,jh as a4,Qo as a5,Gp as a6,B4 as a7,Yf as a8,Xn as a9,Mu as aA,Ec as aB,pS as aC,Io as aD,nT as aE,Xa as aF,$o as aG,va as aH,I$ as aI,tT as aJ,oi as aK,qA as aL,UB as aM,C_ as aN,dt as aO,C6 as aP,n_ as aQ,_r as aR,s0 as aS,MB as aT,Yo as aU,DB as aV,sn as aW,yt as aX,l4 as aY,n4 as aZ,Ro as a_,mB as aa,t1 as ab,E1 as ac,tr as ad,FB as ae,n6 as af,It as ag,Bh as ah,F4 as ai,ct as aj,Jr as ak,St as al,$B as am,Yt as an,Uw as ao,H1 as ap,WB as aq,a6 as ar,N5 as as,eh as at,Bc as au,BB as av,jt as aw,Gr as ax,sh as ay,vB as az,Be as b,wp as b0,rT as b1,_1 as b2,ZS as b3,oT as b4,z4 as b5,Ha as b6,Ga as b7,gt as b8,Tr as b9,wB as bA,qn as bB,xB as bC,rS as bD,GB as bE,j2 as bF,tB as bG,H8 as bH,l6 as bI,M8 as bJ,$5 as bK,Y8 as bL,x6 as bM,ie as bN,Bx as bO,SB as bP,wo as bQ,jB as bR,R4 as bS,OB as bT,Zp as bU,Jp as ba,e0 as bb,rC as bc,EC as bd,AB as be,RB as bf,el as bg,An as bh,So as bi,Yr as bj,gw as bk,on as bl,zh as bm,CS as bn,hS as bo,PB as bp,ri as bq,d4 as br,kB as bs,J6 as bt,Y1 as bu,Di as bv,V4 as bw,qB as bx,HB as by,VB as bz,gC as c,Ce as d,v8 as e,te as f,bC as g,mt as h,Tt as i,xe as j,W as k,Ve as l,gn as m,Fo as n,me as o,yB as p,Ge as q,Fe as r,pt as s,or as t,Vh as u,Pt as v,GA as w,Go as x,U4 as y,ki as z}; //# sourceMappingURL=Cvzsf6pb.js.map