vendor: 9,954 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Bz34bpYC.js","./C6txk62Z.js","./DYsoe7AV.js","./TheFooter.BcZKgmFk.css","./PPWmyhCs.js","./CXYM_oYj.js","./index.CBuPPWUl.css","./yll5F-5C.js","./privacy.C8fGcKO6.css","./BOFaBj1i.js","./impressum.BXTWpM-T.css","./D0XaoO9c.js","./_slug_.CK29i2Mu.css","./TKaCAW8q.js","./error-404.DL_4WIao.css","./BYxxPnWA.js","./error-500.I1Dtv2V5.css"])))=>i.map(i=>d[i]); 2(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))r(n);new MutationObserver(n=>{for(const i of n)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function s(n){const i={};return n.integrity&&(i.integrity=n.integrity),n.referrerPolicy&&(i.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?i.credentials="include":n.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(n){if(n.ep)return;n.ep=!0;const i=s(n);fetch(n.href,i)}})();function Fl(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const xe={},wr=[],Qt=()=>{},Xf=()=>!1,Vn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),io=e=>e.startsWith("onUpdate:"),ze=Object.assign,$l=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},Tg=Object.prototype.hasOwnProperty,_e=(e,t)=>Tg.call(e,t),re=Array.isArray,Er=e=>Br(e)==="[object Map]",Qf=e=>Br(e)==="[object Set]",Pc=e=>Br(e)==="[object Date]",Cg=e=>Br(e)==="[object RegExp]",ie=e=>typeof e=="function",Pe=e=>typeof e=="string",At=e=>typeof e=="symbol",ge=e=>e!==null&&typeof e=="object",Nl=e=>(ge(e)||ie(e))&&ie(e.then)&&ie(e.catch),Zf=Object.prototype.toString,Br=e=>Zf.call(e),Ag=e=>Br(e).slice(8,-1),eh=e=>Br(e)==="[object Object]",oo=e=>Pe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Gs=Fl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ao=e=>{const t=Object.create(null);return(s=>t[s]||(t[s]=e(s)))},Og=/-\w/g,ct=ao(e=>e.replace(Og,t=>t.slice(1).toUpperCase())),Ig=/\B([A-Z])/g,tr=ao(e=>e.replace(Ig,"-$1").toLowerCase()),lo=ao(e=>e.charAt(0).toUpperCase()+e.slice(1)),To=ao(e=>e?`on${lo(e)}`:""),zt=(e,t)=>!Object.is(e,t),gn=(e,...t)=>{for(let s=0;s<e.length;s++)e[s](...t)},th=(e,t,s,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:s})},Lg=e=>{const t=parseFloat(e);return isNaN(t)?e:t},sh=e=>{const t=Pe(e)?Number(e):NaN;return isNaN(t)?e:t};let Tc;const co=()=>Tc||(Tc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function uo(e){if(re(e)){const t={};for(let s=0;s<e.length;s++){const r=e[s],n=Pe(r)?Ng(r):uo(r);if(n)for(const i in n)t[i]=n[i]}return t}else if(Pe(e)||ge(e))return e}const Mg=/;(?![^(]*\))/g,Fg=/:([^]+)/,$g=/\/\*[^]*?\*\//g;function Ng(e){const t={};return e.replace($g,"").split(Mg).forEach(s=>{if(s){const r=s.split(Fg);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function fo(e){let t="";if(Pe(e))t=e;else if(re(e))for(let s=0;s<e.length;s++){const r=fo(e[s]);r&&(t+=r+" ")}else if(ge(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}function Dg(e){if(!e)return null;let{class:t,style:s}=e;return t&&!Pe(t)&&(e.class=fo(t)),s&&(e.style=uo(s)),e}const Hg="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",jg=Fl(Hg);function rh(e){return!!e||e===""}function Ug(e,t){if(e.length!==t.length)return!1;let s=!0;for(let r=0;s&&r<e.length;r++)s=Dl(e[r],t[r]);return s}function Dl(e,t){if(e===t)return!0;let s=Pc(e),r=Pc(t);if(s||r)return s&&r?e.getTime()===t.getTime():!1;if(s=At(e),r=At(t),s||r)return e===t;if(s=re(e),r=re(t),s||r)return s&&r?Ug(e,t):!1;if(s=ge(e),r=ge(t),s||r){if(!s||!r)return!1;const n=Object.keys(e).length,i=Object.keys(t).length;if(n!==i)return!1;for(const o in e){const a=e.hasOwnProperty(o),l=t.hasOwnProperty(o);if(a&&!l||!a&&l||!Dl(e[o],t[o]))return!1}}return String(e)===String(t)}const nh=e=>!!(e&&e.__v_isRef===!0),Bg=e=>Pe(e)?e:e==null?"":re(e)||ge(e)&&(e.toString===Zf||!ie(e.toString))?nh(e)?Bg(e.value):JSON.stringify(e,ih,2):String(e),ih=(e,t)=>nh(t)?ih(e,t.value):Er(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[r,n],i)=>(s[Co(r,i)+" =>"]=n,s),{})}:Qf(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>Co(s))}:At(t)?Co(t):ge(t)&&!re(t)&&!eh(t)?String(t):t,Co=(e,t="")=>{var s;return At(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};let tt;class oh{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=tt,!t&&tt&&(this.index=(tt.scopes||(tt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].pause();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].resume();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].resume()}}run(t){if(this._active){const s=tt;try{return tt=this,t()}finally{tt=s}}}on(){++this._on===1&&(this.prevScope=tt,tt=this)}off(){this._on>0&&--this._on===0&&(tt=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let s,r;for(s=0,r=this.effects.length;s<r;s++)this.effects[s].stop();for(this.effects.length=0,s=0,r=this.cleanups.length;s<r;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,r=this.scopes.length;s<r;s++)this.scopes[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const n=this.parent.scopes.pop();n&&n!==this&&(this.parent.scopes[this.index]=n,n.index=this.index)}this.parent=void 0}}}function Vg(e){return new oh(e)}function ah(){return tt}function jx(e,t=!1){tt&&tt.cleanups.push(e)}let we;const Ao=new WeakSet;class lh{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,tt&&tt.active&&tt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ao.has(this)&&(Ao.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||uh(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Cc(this),fh(this);const t=we,s=Nt;we=this,Nt=!0;try{return this.fn()}finally{hh(this),we=t,Nt=s,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ul(t);this.deps=this.depsTail=void 0,Cc(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ao.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ya(this)&&this.run()}get dirty(){return ya(this)}}let ch=0,vn,_n;function uh(e,t=!1){if(e.flags|=8,t){e.next=_n,_n=e;return}e.next=vn,vn=e}function Hl(){ch++}function jl(){if(--ch>0)return;if(_n){let t=_n;for(_n=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;vn;){let t=vn;for(vn=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=s}}if(e)throw e}function fh(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function hh(e){let t,s=e.depsTail,r=s;for(;r;){const n=r.prevDep;r.version===-1?(r===s&&(s=n),Ul(r),Wg(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=n}e.deps=t,e.depsTail=s}function ya(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(dh(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function dh(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Cn)||(e.globalVersion=Cn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ya(e))))return;e.flags|=2;const t=e.dep,s=we,r=Nt;we=e,Nt=!0;try{fh(e);const n=e.fn(e._value);(t.version===0||zt(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(n){throw t.version++,n}finally{we=s,Nt=r,hh(e),e.flags&=-3}}function Ul(e,t=!1){const{dep:s,prevSub:r,nextSub:n}=e;if(r&&(r.nextSub=n,e.prevSub=void 0),n&&(n.prevSub=r,e.nextSub=void 0),s.subs===e&&(s.subs=r,!r&&s.computed)){s.computed.flags&=-5;for(let i=s.computed.deps;i;i=i.nextDep)Ul(i,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function Wg(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let Nt=!0;const ph=[];function gs(){ph.push(Nt),Nt=!1}function vs(){const e=ph.pop();Nt=e===void 0?!0:e}function Cc(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=we;we=void 0;try{t()}finally{we=s}}}let Cn=0;class qg{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Bl{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(!we||!Nt||we===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==we)s=this.activeLink=new qg(we,this),we.deps?(s.prevDep=we.depsTail,we.depsTail.nextDep=s,we.depsTail=s):we.deps=we.depsTail=s,gh(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const r=s.nextDep;r.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=r),s.prevDep=we.depsTail,s.nextDep=void 0,we.depsTail.nextDep=s,we.depsTail=s,we.deps===s&&(we.deps=r)}return s}trigger(t){this.version++,Cn++,this.notify(t)}notify(t){Hl();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{jl()}}}function gh(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)gh(r)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const Ei=new WeakMap,zs=Symbol(""),ba=Symbol(""),An=Symbol("");function st(e,t,s){if(Nt&&we){let r=Ei.get(e);r||Ei.set(e,r=new Map);let n=r.get(s);
vendor: 10,971 bytes, line 2
2n||(r.set(s,n=new Bl),n.map=r,n.key=s),n.track()}}function us(e,t,s,r,n,i){const o=Ei.get(e);if(!o){Cn++;return}const a=l=>{l&&l.trigger()};if(Hl(),t==="clear")o.forEach(a);else{const l=re(e),u=l&&oo(s);if(l&&s==="length"){const c=Number(r);o.forEach((f,d)=>{(d==="length"||d===An||!At(d)&&d>=c)&&a(f)})}else switch((s!==void 0||o.has(void 0))&&a(o.get(s)),u&&a(o.get(An)),t){case"add":l?u&&a(o.get("length")):(a(o.get(zs)),Er(e)&&a(o.get(ba)));break;case"delete":l||(a(o.get(zs)),Er(e)&&a(o.get(ba)));break;case"set":Er(e)&&a(o.get(zs));break}}jl()}function Kg(e,t){const s=Ei.get(e);return s&&s.get(t)}function rr(e){const t=pe(e);return t===e?t:(st(t,"iterate",An),yt(e)?t:t.map(Dt))}function ho(e){return st(e=pe(e),"iterate",An),e}function qt(e,t){return Zt(e)?Or(Cs(e)?Dt(t):t):Dt(t)}const Gg={__proto__:null,[Symbol.iterator](){return Oo(this,Symbol.iterator,e=>qt(this,e))},concat(...e){return rr(this).concat(...e.map(t=>re(t)?rr(t):t))},entries(){return Oo(this,"entries",e=>(e[1]=qt(this,e[1]),e))},every(e,t){return ts(this,"every",e,t,void 0,arguments)},filter(e,t){return ts(this,"filter",e,t,s=>s.map(r=>qt(this,r)),arguments)},find(e,t){return ts(this,"find",e,t,s=>qt(this,s),arguments)},findIndex(e,t){return ts(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ts(this,"findLast",e,t,s=>qt(this,s),arguments)},findLastIndex(e,t){return ts(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ts(this,"forEach",e,t,void 0,arguments)},includes(...e){return Io(this,"includes",e)},indexOf(...e){return Io(this,"indexOf",e)},join(e){return rr(this).join(e)},lastIndexOf(...e){return Io(this,"lastIndexOf",e)},map(e,t){return ts(this,"map",e,t,void 0,arguments)},pop(){return Kr(this,"pop")},push(...e){return Kr(this,"push",e)},reduce(e,...t){return Ac(this,"reduce",e,t)},reduceRight(e,...t){return Ac(this,"reduceRight",e,t)},shift(){return Kr(this,"shift")},some(e,t){return ts(this,"some",e,t,void 0,arguments)},splice(...e){return Kr(this,"splice",e)},toReversed(){return rr(this).toReversed()},toSorted(e){return rr(this).toSorted(e)},toSpliced(...e){return rr(this).toSpliced(...e)},unshift(...e){return Kr(this,"unshift",e)},values(){return Oo(this,"values",e=>qt(this,e))}};function Oo(e,t,s){const r=ho(e),n=r[t]();return r!==e&&!yt(e)&&(n._next=n.next,n.next=()=>{const i=n._next();return i.done||(i.value=s(i.value)),i}),n}const zg=Array.prototype;function ts(e,t,s,r,n,i){const o=ho(e),a=o!==e&&!yt(e),l=o[t];if(l!==zg[t]){const f=l.apply(e,i);return a?Dt(f):f}let u=s;o!==e&&(a?u=function(f,d){return s.call(this,qt(e,f),d,e)}:s.length>2&&(u=function(f,d){return s.call(this,f,d,e)}));const c=l.call(o,u,r);return a&&n?n(c):c}function Ac(e,t,s,r){const n=ho(e),i=n!==e&&!yt(e);let o=s,a=!1;n!==e&&(i?(a=r.length===0,o=function(u,c,f){return a&&(a=!1,u=qt(e,u)),s.call(this,u,qt(e,c),f,e)}):s.length>3&&(o=function(u,c,f){return s.call(this,u,c,f,e)}));const l=n[t](o,...r);return a?qt(e,l):l}function Io(e,t,s){const r=pe(e);st(r,"iterate",An);const n=r[t](...s);return(n===-1||n===!1)&&po(s[0])?(s[0]=pe(s[0]),r[t](...s)):n}function Kr(e,t,s=[]){gs(),Hl();const r=pe(e)[t].apply(e,s);return jl(),vs(),r}const Jg=Fl("__proto__,__v_isRef,__isVue"),vh=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(At));function Yg(e){At(e)||(e=String(e));const t=pe(this);return st(t,"has",e),t.hasOwnProperty(e)}class _h{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,r){if(s==="__v_skip")return t.__v_skip;const n=this._isReadonly,i=this._isShallow;if(s==="__v_isReactive")return!n;if(s==="__v_isReadonly")return n;if(s==="__v_isShallow")return i;if(s==="__v_raw")return r===(n?i?ov:wh:i?bh:yh).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=re(t);if(!n){let l;if(o&&(l=Gg[s]))return l;if(s==="hasOwnProperty")return Yg}const a=Reflect.get(t,s,je(t)?t:r);if((At(s)?vh.has(s):Jg(s))||(n||st(t,"get",s),i))return a;if(je(a)){const l=o&&oo(s)?a:a.value;return n&&ge(l)?Ea(l):l}return ge(a)?n?Ea(a):Ls(a):a}}class mh extends _h{constructor(t=!1){super(!1,t)}set(t,s,r,n){let i=t[s];const o=re(t)&&oo(s);if(!this._isShallow){const u=Zt(i);if(!yt(r)&&!Zt(r)&&(i=pe(i),r=pe(r)),!o&&je(i)&&!je(r))return u||(i.value=r),!0}const a=o?Number(s)<t.length:_e(t,s),l=Reflect.set(t,s,r,je(t)?t:n);return t===pe(n)&&(a?zt(r,i)&&us(t,"set",s,r):us(t,"add",s,r)),l}deleteProperty(t,s){const r=_e(t,s);t[s];const n=Reflect.deleteProperty(t,s);return n&&r&&us(t,"delete",s,void 0),n}has(t,s){const r=Reflect.has(t,s);return(!At(s)||!vh.has(s))&&st(t,"has",s),r}ownKeys(t){return st(t,"iterate",re(t)?"length":zs),Reflect.ownKeys(t)}}class Xg extends _h{constructor(t=!1){super(!0,t)}set(t,s){return!0}deleteProperty(t,s){return!0}}const Qg=new mh,Zg=new Xg,ev=new mh(!0);const wa=e=>e,Jn=e=>Reflect.getPrototypeOf(e);function tv(e,t,s){return function(...r){const n=this.__v_raw,i=pe(n),o=Er(i),a=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,u=n[e](...r),c=s?wa:t?Or:Dt;return!t&&st(i,"iterate",l?ba:zs),ze(Object.create(u),{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}}})}}function Yn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function sv(e,t){const s={get(n){const i=this.__v_raw,o=pe(i),a=pe(n);e||(zt(n,a)&&st(o,"get",n),st(o,"get",a));const{has:l}=Jn(o),u=t?wa:e?Or:Dt;if(l.call(o,n))return u(i.get(n));if(l.call(o,a))return u(i.get(a));i!==o&&i.get(n)},get size(){const n=this.__v_raw;return!e&&st(pe(n),"iterate",zs),n.size},has(n){const i=this.__v_raw,o=pe(i),a=pe(n);return e||(zt(n,a)&&st(o,"has",n),st(o,"has",a)),n===a?i.has(n):i.has(n)||i.has(a)},forEach(n,i){const o=this,a=o.__v_raw,l=pe(a),u=t?wa:e?Or:Dt;return!e&&st(l,"iterate",zs),a.forEach((c,f)=>n.call(i,u(c),u(f),o))}};return ze(s,e?{add:Yn("add"),set:Yn("set"),delete:Yn("delete"),clear:Yn("clear")}:{add(n){const i=pe(this),o=Jn(i),a=pe(n),l=!t&&!yt(n)&&!Zt(n)?a:n;return o.has.call(i,l)||zt(n,l)&&o.has.call(i,n)||zt(a,l)&&o.has.call(i,a)||(i.add(l),us(i,"add",l,l)),this},set(n,i){!t&&!yt(i)&&!Zt(i)&&(i=pe(i));const o=pe(this),{has:a,get:l}=Jn(o);let u=a.call(o,n);u||(n=pe(n),u=a.call(o,n));const c=l.call(o,n);return o.set(n,i),u?zt(i,c)&&us(o,"set",n,i):us(o,"add",n,i),this},delete(n){const i=pe(this),{has:o,get:a}=Jn(i);let l=o.call(i,n);l||(n=pe(n),l=o.call(i,n)),a&&a.call(i,n);const u=i.delete(n);return l&&us(i,"delete",n,void 0),u},clear(){const n=pe(this),i=n.size!==0,o=n.clear();return i&&us(n,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(n=>{s[n]=tv(n,e,t)}),s}function Vl(e,t){const s=sv(e,t);return(r,n,i)=>n==="__v_isReactive"?!e:n==="__v_isReadonly"?e:n==="__v_raw"?r:Reflect.get(_e(s,n)&&n in r?s:r,n,i)}const rv={get:Vl(!1,!1)},nv={get:Vl(!1,!0)},iv={get:Vl(!0,!1)};const yh=new WeakMap,bh=new WeakMap,wh=new WeakMap,ov=new WeakMap;function av(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function lv(e){return e.__v_skip||!Object.isExtensible(e)?0:av(Ag(e))}function Ls(e){return Zt(e)?e:Wl(e,!1,Qg,rv,yh)}function hs(e){return Wl(e,!1,ev,nv,bh)}function Ea(e){return Wl(e,!0,Zg,iv,wh)}function Wl(e,t,s,r,n){if(!ge(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=lv(e);if(i===0)return e;const o=n.get(e);if(o)return o;const a=new Proxy(e,i===2?r:s);return n.set(e,a),a}function Cs(e){return Zt(e)?Cs(e.__v_raw):!!(e&&e.__v_isReactive)}function Zt(e){return!!(e&&e.__v_isReadonly)}function yt(e){return!!(e&&e.__v_isShallow)}function po(e){return e?!!e.__v_raw:!1}function pe(e){const t=e&&e.__v_raw;return t?pe(t):e}function cv(e){return!_e(e,"__v_skip")&&Object.isExtensible(e)&&th(e,"__v_skip",!0),e}const Dt=e=>ge(e)?Ls(e):e,Or=e=>ge(e)?Ea(e):e;function je(e){return e?e.__v_isRef===!0:!1}function ps(e){return Eh(e,!1)}function On(e){return Eh(e,!0)}function Eh(e,t){return je(e)?e:new uv(e,t)}class uv{constructor(t,s){this.dep=new Bl,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:pe(t),this._value=s?t:Dt(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,r=this.__v_isShallow||yt(t)||Zt(t);t=r?t:pe(t),zt(t,s)&&(this._rawValue=t,this._value=r?t:Dt(t),this.dep.trigger())}}function Ee(e){return je(e)?e.value:e}function fv(e){return ie(e)?e():Ee(e)}const hv={get:(e,t,s)=>t==="__v_raw"?e:Ee(Reflect.get(e,t,s)),set:(e,t,s,r)=>{const n=e[t];return je(n)&&!je(s)?(n.value=s,!0):Reflect.set(e,t,s,r)}};function xh(e){return Cs(e)?e:new Proxy(e,hv)}class dv{constructor(t,s,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=At(s)?s:String(s),this._raw=pe(t);let n=!0,i=t;if(!re(t)||At(this._key)||!oo(this._key))do n=!po(i)||yt(i);while(n&&(i=i.__v_raw));this._shallow=n}get value(){let t=this._object[this._key];return this._shallow&&(t=Ee(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&je(this._raw[this._key])){const s=this._object[this._key];if(je(s)){s.value=t;return}}this._object[this._key]=t}get dep(){return Kg(this._raw,this._key)}}class pv{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 gv(e,t,s){return je(e)?e:ie(e)?new pv(e):ge(e)&&arguments.length>1?vv(e,t,s):ps(e)}function vv(e,t,s){return new dv(e,t,s)}class _v{constructor(t,s,r){this.fn=t,this.setter=s,this._value=void 0,this.dep=new Bl(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Cn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&we!==this)return uh(this,!0),!0}get value(){const t=this.dep.track();return dh(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function mv(e,t,s=!1){let r,n;return ie(e)?r=e:(r=e.get,n=e.set),new _v(r,n,s)}const Xn={},xi=new WeakMap;let Us;function yv(e,t=!1,s=Us){if(s){let r=xi.get(s);r||xi.set(s,r=[]),r.push(e)}}function bv(e,t,s=xe){const{immediate:r,deep:n,once:i,scheduler:o,augmentJob:a,call:l}=s,u=m=>n?m:yt(m)||n===!1||n===0?Ps(m,1):Ps(m);let c,f,d,h,g=!1,p=!1;if(je(e)?(f=()=>e.value,g=yt(e)):Cs(e)?(f=()=>u(e),g=!0):re(e)?(p=!0,g=e.some(m=>Cs(m)||yt(m)),f=()=>e.map(m=>{if(je(m))return m.value;if(Cs(m))return u(m);if(ie(m))return l?l(m,2):m()})):ie(e)?t?f=l?()=>l(e,2):e:f=()=>{if(d){gs();try{d()}finally{vs()}}const m=Us;Us=c;try{return l?l(e,3,[h]):e(h)}finally{Us=m}}:f=Qt,t&&n){const m=f,y=n===!0?1/0:n;f=()=>Ps(m(),y)}const R=ah(),E=()=>{c.stop(),R&&R.active&&$l(R.effects,c)};if(i&&t){const m=t;t=(...y)=>{m(...y),E()}}let w=p?new Array(e.length).fill(Xn):Xn;const v=m=>{if(!(!(c.flags&1)||!c.dirty&&!m))if(t){const y=c.run();if(n||g||(p?y.some((x,k)=>zt(x,w[k])):zt(y,w))){d&&d();const x=Us;Us=c;try{const k=[y,w===Xn?void 0:p&&w[0]===Xn?[]:w,h];w=y,l?l(t,3,k):t(...k)}finally{Us=x}}}else c.run()};
vendor: 17,487 bytes, lines 2-4
2return a&&a(v),c=new lh(f),c.scheduler=o?()=>o(v,!1):v,h=m=>yv(m,!1,c),d=c.onStop=()=>{const m=xi.get(c);if(m){if(l)l(m,4);else for(const y of m)y();xi.delete(c)}},t?r?v(!0):w=c.run():o?o(v.bind(null,!0),!0):c.run(),E.pause=c.pause.bind(c),E.resume=c.resume.bind(c),E.stop=E,E}function Ps(e,t=1/0,s){if(t<=0||!ge(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,je(e))Ps(e.value,t,s);else if(re(e))for(let r=0;r<e.length;r++)Ps(e[r],t,s);else if(Qf(e)||Er(e))e.forEach(r=>{Ps(r,t,s)});else if(eh(e)){for(const r in e)Ps(e[r],t,s);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Ps(e[r],t,s)}return e}function Wn(e,t,s,r){try{return r?e(...r):e()}catch(n){Vr(n,t,s)}}function Ht(e,t,s,r){if(ie(e)){const n=Wn(e,t,s,r);return n&&Nl(n)&&n.catch(i=>{Vr(i,t,s)}),n}if(re(e)){const n=[];for(let i=0;i<e.length;i++)n.push(Ht(e[i],t,s,r));return n}}function Vr(e,t,s,r=!0){const n=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||xe;if(t){let a=t.parent;const l=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${s}`;for(;a;){const c=a.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](e,l,u)===!1)return}a=a.parent}if(i){gs(),Wn(i,null,10,[e,l,u]),vs();return}}wv(e,s,n,r,o)}function wv(e,t,s,r=!0,n=!1){if(n)throw e;console.error(e)}const lt=[];let Bt=-1;const xr=[];let Ss=null,ur=0;const kh=Promise.resolve();let ki=null;function In(e){const t=ki||kh;return e?t.then(this?e.bind(this):e):t}function Ev(e){let t=Bt+1,s=lt.length;for(;t<s;){const r=t+s>>>1,n=lt[r],i=Ln(n);i<e||i===e&&n.flags&2?t=r+1:s=r}return t}function ql(e){if(!(e.flags&1)){const t=Ln(e),s=lt[lt.length-1];!s||!(e.flags&2)&&t>=Ln(s)?lt.push(e):lt.splice(Ev(t),0,e),e.flags|=1,Sh()}}function Sh(){ki||(ki=kh.then(Rh))}function xa(e){re(e)?xr.push(...e):Ss&&e.id===-1?Ss.splice(ur+1,0,e):e.flags&1||(xr.push(e),e.flags|=1),Sh()}function Oc(e,t,s=Bt+1){for(;s<lt.length;s++){const r=lt[s];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;lt.splice(s,1),s--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Si(e){if(xr.length){const t=[...new Set(xr)].sort((s,r)=>Ln(s)-Ln(r));if(xr.length=0,Ss){Ss.push(...t);return}for(Ss=t,ur=0;ur<Ss.length;ur++){const s=Ss[ur];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}Ss=null,ur=0}}const Ln=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Rh(e){try{for(Bt=0;Bt<lt.length;Bt++){const t=lt[Bt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Wn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Bt<lt.length;Bt++){const t=lt[Bt];t&&(t.flags&=-2)}Bt=-1,lt.length=0,Si(),ki=null,(lt.length||xr.length)&&Rh()}}let $t=null,Ph=null;function Ri(e){const t=$t;return $t=e,Ph=e&&e.type.__scopeId||null,t}function Th(e,t=$t,s){if(!t||e._n)return e;const r=(...n)=>{r._d&&Oi(-1);const i=Ri(t);let o;try{o=e(...n)}finally{Ri(i),r._d&&Oi(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Vt(e,t,s,r){const n=e.dirs,i=t&&t.dirs;for(let o=0;o<n.length;o++){const a=n[o];i&&(a.oldValue=i[o].value);let l=a.dir[r];l&&(gs(),Ht(l,s,8,[e.el,a,e,t]),vs())}}function kr(e,t){if(Qe){let s=Qe.provides;const r=Qe.parent&&Qe.parent.provides;r===s&&(s=Qe.provides=Object.create(r)),s[e]=t}}function bt(e,t,s=!1){const r=Is();if(r||Js){let n=Js?Js._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(n&&e in n)return n[e];if(arguments.length>1)return s&&ie(t)?t.call(r&&r.proxy):t}}function Kl(){return!!(Is()||Js)}const xv=Symbol.for("v-scx"),kv=()=>bt(xv);function Sv(e,t){return Gl(e,null,t)}function Sr(e,t,s){return Gl(e,t,s)}function Gl(e,t,s=xe){const{immediate:r,deep:n,flush:i,once:o}=s,a=ze({},s),l=t&&r||!t&&i!=="post";let u;if(Zs){if(i==="sync"){const h=kv();u=h.__watcherHandles||(h.__watcherHandles=[])}else if(!l){const h=()=>{};return h.stop=Qt,h.resume=Qt,h.pause=Qt,h}}const c=Qe;a.call=(h,g,p)=>Ht(h,c,g,p);let f=!1;i==="post"?a.scheduler=h=>{qe(h,c&&c.suspense)}:i!=="sync"&&(f=!0,a.scheduler=(h,g)=>{g?h():ql(h)}),a.augmentJob=h=>{t&&(h.flags|=4),f&&(h.flags|=2,c&&(h.id=c.uid,h.i=c))};const d=bv(e,t,a);return Zs&&(u?u.push(d):l&&d()),d}function Rv(e,t,s){const r=this.proxy,n=Pe(e)?e.includes(".")?Ch(r,e):()=>r[e]:e.bind(r,r);let i;ie(t)?i=t:(i=t.handler,s=t);const o=Wr(this),a=Gl(n,i.bind(r),s);return o(),a}function Ch(e,t){const s=t.split(".");return()=>{let r=e;for(let n=0;n<s.length&&r;n++)r=r[s[n]];return r}}const Pv=Symbol("_vte"),Ah=e=>e.__isTeleport,Wt=Symbol("_leaveCb"),Gr=Symbol("_enterCb");function Tv(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Jl(()=>{e.isMounted=!0}),Gn(()=>{e.isUnmounting=!0}),e}const xt=[Function,Array],Oh={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:xt,onEnter:xt,onAfterEnter:xt,onEnterCancelled:xt,onBeforeLeave:xt,onLeave:xt,onAfterLeave:xt,onLeaveCancelled:xt,onBeforeAppear:xt,onAppear:xt,onAfterAppear:xt,onAppearCancelled:xt},Ih=e=>{const t=e.subTree;return t.component?Ih(t.component):t},Cv={name:"BaseTransition",props:Oh,setup(e,{slots:t}){const s=Is(),r=Tv();return()=>{const n=t.default&&Fh(t.default(),!0);if(!n||!n.length)return;const i=Lh(n),o=pe(e),{mode:a}=o;if(r.isLeaving)return Lo(i);const l=Ic(i);if(!l)return Lo(i);let u=ka(l,o,r,s,f=>u=f);l.type!==Ke&&Ir(l,u);let c=s.subTree&&Ic(s.subTree);if(c&&c.type!==Ke&&!Mt(c,l)&&Ih(s).type!==Ke){let f=ka(c,o,r,s);if(Ir(c,f),a==="out-in"&&l.type!==Ke)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,s.job.flags&8||s.update(),delete f.afterLeave,c=void 0},Lo(i);a==="in-out"&&l.type!==Ke?f.delayLeave=(d,h,g)=>{const p=Mh(r,c);p[String(c.key)]=c,d[Wt]=()=>{h(),d[Wt]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{g(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return i}}};function Lh(e){let t=e[0];if(e.length>1){for(const s of e)if(s.type!==Ke){t=s;break}}return t}const Av=Cv;function Mh(e,t){const{leavingVNodes:s}=e;let r=s.get(t.type);return r||(r=Object.create(null),s.set(t.type,r)),r}function ka(e,t,s,r,n){const{appear:i,mode:o,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:d,onLeave:h,onAfterLeave:g,onLeaveCancelled:p,onBeforeAppear:R,onAppear:E,onAfterAppear:w,onAppearCancelled:v}=t,m=String(e.key),y=Mh(s,e),x=(S,C)=>{S&&Ht(S,r,9,C)},k=(S,C)=>{const N=C[1];x(S,C),re(S)?S.every(O=>O.length<=1)&&N():S.length<=1&&N()},T={mode:o,persisted:a,beforeEnter(S){let C=l;if(!s.isMounted)if(i)C=R||l;else return;S[Wt]&&S[Wt](!0);const N=y[m];N&&Mt(e,N)&&N.el[Wt]&&N.el[Wt](),x(C,[S])},enter(S){if(y[m]===e)return;let C=u,N=c,O=f;if(!s.isMounted)if(i)C=E||u,N=w||c,O=v||f;else return;let D=!1;S[Gr]=ne=>{D||(D=!0,ne?x(O,[S]):x(N,[S]),T.delayedLeave&&T.delayedLeave(),S[Gr]=void 0)};const J=S[Gr].bind(null,!1);C?k(C,[S,J]):J()},leave(S,C){const N=String(e.key);if(S[Gr]&&S[Gr](!0),s.isUnmounting)return C();x(d,[S]);let O=!1;S[Wt]=J=>{O||(O=!0,C(),J?x(p,[S]):x(g,[S]),S[Wt]=void 0,y[N]===e&&delete y[N])};const D=S[Wt].bind(null,!1);y[N]=e,h?k(h,[S,D]):D()},clone(S){const C=ka(S,t,s,r,n);return n&&n(C),C}};return T}function Lo(e){if(Kn(e))return e=_s(e),e.children=null,e}function Ic(e){if(!Kn(e))return Ah(e.type)&&e.children?Lh(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:s}=e;if(s){if(t&16)return s[0];if(t&32&&ie(s.default))return s.default()}}function Ir(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ir(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 Fh(e,t=!1,s){let r=[],n=0;for(let i=0;i<e.length;i++){let o=e[i];const a=s==null?o.key:String(s)+String(o.key!=null?o.key:i);o.type===vt?(o.patchFlag&128&&n++,r=r.concat(Fh(o.children,t,a))):(t||o.type!==Ke)&&r.push(a!=null?_s(o,{key:a}):o)}if(n>1)for(let i=0;i<r.length;i++)r[i].patchFlag=-2;return r}function qn(e,t){return ie(e)?ze({name:e.name},t,{setup:e}):e}function zl(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Lc(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const Pi=new WeakMap;function Rr(e,t,s,r,n=!1){if(re(e)){e.forEach((p,R)=>Rr(p,t&&(re(t)?t[R]:t),s,r,n));return}if(As(r)&&!n){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Rr(e,t,s,r.component.subTree);return}const i=r.shapeFlag&4?Zl(r.component):r.el,o=n?null:i,{i:a,r:l}=e,u=t&&t.r,c=a.refs===xe?a.refs={}:a.refs,f=a.setupState,d=pe(f),h=f===xe?Xf:p=>Lc(c,p)?!1:_e(d,p),g=(p,R)=>!(R&&Lc(c,R));if(u!=null&&u!==l){if(Mc(t),Pe(u))c[u]=null,h(u)&&(f[u]=null);else if(je(u)){const p=t;g(u,p.k)&&(u.value=null),p.k&&(c[p.k]=null)}}if(ie(l))Wn(l,a,12,[o,c]);else{const p=Pe(l),R=je(l);if(p||R){const E=()=>{if(e.f){const w=p?h(l)?f[l]:c[l]:g()||!e.k?l.value:c[e.k];if(n)re(w)&&$l(w,i);else if(re(w))w.includes(i)||w.push(i);else if(p)c[l]=[i],h(l)&&(f[l]=c[l]);else{const v=[i];g(l,e.k)&&(l.value=v),e.k&&(c[e.k]=v)}}else p?(c[l]=o,h(l)&&(f[l]=o)):R&&(g(l,e.k)&&(l.value=o),e.k&&(c[e.k]=o))};if(o){const w=()=>{E(),Pi.delete(e)};w.id=-1,Pi.set(e,w),qe(w,s)}else Mc(e),E()}}}function Mc(e){const t=Pi.get(e);t&&(t.flags|=8,Pi.delete(e))}let Fc=!1;const nr=()=>{Fc||(console.error("Hydration completed but contains mismatches."),Fc=!0)},Ov=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Iv=e=>e.namespaceURI.includes("MathML"),Qn=e=>{if(e.nodeType===1){if(Ov(e))return"svg";if(Iv(e))return"mathml"}},vr=e=>e.nodeType===8;function Lv(e){const{mt:t,p:s,o:{patchProp:r,createText:n,nextSibling:i,parentNode:o,remove:a,insert:l,createComment:u}}=e,c=(v,m)=>{if(!m.hasChildNodes()){s(null,v,m),Si(),m._vnode=v;return}f(m.firstChild,v,null,null,null),Si(),m._vnode=v},f=(v,m,y,x,k,T=!1)=>{T=T||!!m.dynamicChildren;const S=vr(v)&&v.data==="[",C=()=>p(v,m,y,x,k,S),{type:N,ref:O,shapeFlag:D,patchFlag:J}=m;let ne=v.nodeType;m.el=v,J===-2&&(T=!1,m.dynamicChildren=null);let V=null;switch(N){case Ys:ne!==3?m.children===""?(l(m.el=n(""),o(v),v),V=v):V=C():(v.data!==m.children&&(nr(),v.data=m.children),V=i(v));break;case Ke:w(v)?(V=i(v),E(m.el=v.content.firstChild,v,y)):ne!==8||S?V=C():V=i(v);break;case yn:if(S&&(v=i(v),ne=v.nodeType),ne===1||ne===3){V=v;const Q=!m.children.length;for(let j=0;j<m.staticCount;j++)Q&&(m.children+=V.nodeType===1?V.outerHTML:V.data),j===m.staticCount-1&&(m.anchor=V),V=i(V);return S?i(V):V}else C();break;case vt:S?V=g(v,m,y,x,k,T):V=C();break;default:if(D&1)(ne!==1||m.type.toLowerCase()!==v.tagName.toLowerCase())&&!w(v)?V=C():V=d(v,m,y,x,k,T);else if(D&6){m.slotScopeIds=k;const Q=o(v);if(S?V=R(v):vr(v)&&v.data==="teleport start"?V=R(v,v.data,"teleport end"):V=i(v),t(m,Q,null,y,x,Qn(Q),T),As(m)&&!m.type.__asyncResolved){let j;S?(j=$e(vt),j.anchor=V?V.previousSibling:Q.lastChild):j=v.nodeType===3?md(""):$e("div"),j.el=v,m.component.subTree=j}}else D&64?ne!==8?V=C():V=m.type.hydrate(v,m,y,x,k,T,e,h):D&128&&(V=m.type.hydrate(v,m,y,x,Qn(o(v)),k,T,e,f))}return O!=null&&Rr(O,null,x,m),V},d=(v,m,y,x,k,T)=>{T=T||!!m.dynamicChildren;const{type:S,props:C,patchFlag:N,shapeFlag:O,dirs:D,transition:J}=m,ne=S==="input"||S==="option";if(ne||N!==-1){D&&Vt(m,null,y,"created");let V=!1;if(w(v)){V=id(null,J)&&y&&y.vnode.props&&y.vnode.props.appear;const j=v.content.firstChild;if(V){const ae=j.getAttribute("class");ae&&(j.$cls=ae),J.beforeEnter(j)}E(j,v,y),m.el=v=j}if(O&16&&!(C&&(C.innerHTML||C.textContent))){let j=h(v.firstChild,m,v,y,x,k,T);for(;j;){Zn(v,1)||nr();const ae=j;j=j.nextSibling,a(ae)}}else if(O&8){let j=m.children;j[0]===` 3`&&(v.tagName==="PRE"||v.tagName==="TEXTAREA")&&(j=j.slice(1));const{textContent:ae}=v;ae!==j&&ae!==j.replace(/\r\n|\r/g,` 4`)&&(Zn(v,0)||nr(),v.textContent=m.children)}if(C){if(ne||!T||N&48){const j=v.tagName.includes("-");for(const ae in C)(ne&&(ae.endsWith("value")||ae==="indeterminate")||Vn(ae)&&!Gs(ae)||ae[0]==="."||j&&!Gs(ae))&&r(v,ae,null,C[ae],void 0,y)}else if(C.onClick)r(v,"onClick",null,C.onClick,void 0,y);else if(N&4&&Cs(C.style))for(const j in C.style)C.style[j]}let Q;(Q=C&&C.onVnodeBeforeMount)&&ut(Q,y,m),D&&Vt(m,null,y,"beforeMount"),((Q=C&&C.onVnodeMounted)||D||V)&&fd(()=>{Q&&ut(Q,y,m),V&&J.enter(v),D&&Vt(m,null,y,"mounted")},x)}return v.nextSibling},h=(v,m,y,x,k,T,S)=>{S=S||!!m.dynamicChildren;const C=m.children,N=C.length;for(let O=0;O<N;O++){const D=S?C[O]:C[O]=_t(C[O]),J=D.type===Ys;v?(J&&!S&&O+1<N&&_t(C[O+1]).type===Ys&&(l(n(v.data.slice(D.children.length)),y,i(v)),v.data=D.children),v=f(v,D,x,k,T,S)):J&&!D.children?l(D.el=n(""),y):(Zn(y,1)||nr(),s(null,D,y,null,x,k,Qn(y),T))}return v},g=(v,m,y,x,k,T)=>{const{slotScopeIds:S}=m;S&&(k=k?k.concat(S):S);const C=o(v),N=h(i(v),m,C,y,x,k,T);return N&&vr(N)&&N.data==="]"?i(m.anchor=N):(nr(),l(m.anchor=u("]"),C,N),N)},p=(v,m,y,x,k,T)=>{if(Zn(v.parentElement,1)||nr(),m.el=null,T){const N=R(v);for(;;){const O=i(v);if(O&&O!==N)a(O);else break}}const S=i(v),C=o(v);return a(v),s(null,m,C,S,y,x,Qn(C),k),y&&(y.vnode.el=m.el,_o(y,m.el)),S},R=(v,m="[",y="]")=>{let x=0;for(;v;)if(v=i(v),v&&vr(v)&&(v.data===m&&x++,v.data===y)){if(x===0)return i(v);x--}return v},E=(v,m,y)=>{const x=m.parentNode;x&&x.replaceChild(v,m);let k=y;for(;k;)k.vnode.el===m&&(k.vnode.el=k.subTree.el=v),k=k.parent},w=v=>v.nodeType===1&&v.tagName==="TEMPLATE";return[c,f]}const $c="data-allow-mismatch",Mv={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Zn(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute($c);)e=e.parentElement;const s=e&&e.getAttribute($c);if(s==null)return!1;if(s==="")return!0;{const r=s.split(",");return t===0&&r.includes("children")?!0:r.includes(Mv[t])}}co().requestIdleCallback;co().cancelIdleCallback;function Fv(e,t){if(vr(e)&&e.data==="["){let s=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(vr(r))if(r.data==="]"){if(--s===0)break}else r.data==="["&&s++;r=r.nextSibling}}else t(e)}const As=e=>!!e.type.__asyncLoader;function Nc(e){ie(e)&&(e={loader:e});const{loader:t,loadingComponent:s,errorComponent:r,delay:n=200,hydrate:i,timeout:o,suspensible:a=!0,onError:l}=e;let u=null,c,f=0;const d=()=>(f++,u=null,h()),h=()=>{let g;return u||(g=u=t().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),l)return new Promise((R,E)=>{l(p,()=>R(d()),()=>E(p),f+1)});throw p}).then(p=>g!==u&&u?u:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),c=p,p)))};return qn({name:"AsyncComponentWrapper",__asyncLoader:h,__asyncHydrate(g,p,R){let E=!1;(p.bu||(p.bu=[])).push(()=>E=!0);const w=()=>{E||R()},v=i?()=>{const m=i(w,y=>Fv(g,y));m&&(p.bum||(p.bum=[])).push(m)}:w;c?v():h().then(()=>!p.isUnmounted&&v())},get __asyncResolved(){return c},setup(){const g=Qe;if(zl(g),c)return()=>ei(c,g);const p=v=>{u=null,Vr(v,g,13,!r)};if(a&&g.suspense||Zs)return h().then(v=>()=>ei(v,g)).catch(v=>(p(v),()=>r?$e(r,{error:v}):null));const R=ps(!1),E=ps(),w=ps(!!n);return n&&setTimeout(()=>{w.value=!1},n),o!=null&&setTimeout(()=>{if(!R.value&&!E.value){const v=new Error(`Async component timed out after ${o}ms.`);p(v),E.value=v}},o),h().then(()=>{R.value=!0,g.parent&&Kn(g.parent.vnode)&&g.parent.update()}).catch(v=>{p(v),E.value=v}),()=>{if(R.value&&c)return ei(c,g);if(E.value&&r)return $e(r,{error:E.value});if(s&&!w.value)return ei(s,g)}}})}function ei(e,t){const{ref:s,props:r,children:n,ce:i}=t.vnode,o=$e(e,r,n);return o.ref=s,o.ce=i,delete t.vnode.ce,o}const Kn=e=>e.type.__isKeepAlive,$v={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const s=Is(),r=s.ctx;if(!r.renderer)return()=>{const w=t.default&&t.default();return w&&w.length===1?w[0]:w};const n=new Map,i=new Set;let o=null;const a=s.suspense,{renderer:{p:l,m:u,um:c,o:{createElement:f}}}=r,d=f("div");r.activate=(w,v,m,y,x)=>{const k=w.component;u(w,v,m,0,a),l(k.vnode,w,v,m,k,a,y,w.slotScopeIds,x),qe(()=>{k.isDeactivated=!1,k.a&&gn(k.a);const T=w.props&&w.props.onVnodeMounted;T&&ut(T,k.parent,w)},a)},r.deactivate=w=>{const v=w.component;Ci(v.m),Ci(v.a),u(w,d,null,1,a),qe(()=>{v.da&&gn(v.da);const m=w.props&&w.props.onVnodeUnmounted;m&&ut(m,v.parent,w),v.isDeactivated=!0},a)};function h(w){Mo(w),c(w,s,a,!0)}function g(w){n.forEach((v,m)=>{const y=Oa(As(v)?v.type.__asyncResolved||{}:v.type);y&&!w(y)&&p(m)})}function p(w){const v=n.get(w);v&&(!o||!Mt(v,o))?h(v):o&&Mo(o),n.delete(w),i.delete(w)}Sr(()=>[e.include,e.exclude],([w,v])=>{w&&g(m=>on(w,m)),v&&g(m=>!on(v,m))},{flush:"post",deep:!0});let R=null;const E=()=>{R!=null&&(Ai(s.subTree.type)?qe(()=>{n.set(R,ti(s.subTree))},s.subTree.suspense):n.set(R,ti(s.subTree)))};return Jl(E),Hh(E),Gn(()=>{n.forEach(w=>{const{subTree:v,suspense:m}=s,y=ti(v);if(w.type===y.type&&w.key===y.key){Mo(y);const x=y.component.da;x&&qe(x,m);return}h(w)})}),()=>{if(R=null,!t.default)return o=null;const w=t.default(),v=w[0];if(w.length>1)return o=null,w;if(!Mr(v)||!(v.shapeFlag&4)&&!(v.shapeFlag&128))return o=null,v;let m=ti(v);if(m.type===Ke)return o=null,m;const y=m.type,x=Oa(As(m)?m.type.__asyncResolved||{}:y),{include:k,exclude:T,max:S}=e;if(k&&(!x||!on(k,x))||T&&x&&on(T,x))return m.shapeFlag&=-257,o=m,v;const C=m.key==null?y:m.key,N=n.get(C);return m.el&&(m=_s(m),v.shapeFlag&128&&(v.ssContent=m)),R=C,N?(m.el=N.el,m.component=N.component,m.transition&&Ir(m,m.transition),m.shapeFlag|=512,i.delete(C),i.add(C)):(i.add(C),S&&i.size>parseInt(S,10)&&p(i.values().next().value)),m.shapeFlag|=256,o=m,Ai(v.type)?v:m}}},Nv=$v;function on(e,t){return re(e)?e.some(s=>on(s,t)):Pe(e)?e.split(",").includes(t):Cg(e)?(e.lastIndex=0,e.test(t)):!1}function $h(e,t){Dh(e,"a",t)}function Nh(e,t){Dh(e,"da",t)}
vendor: 4,464 bytes, line 4
4function Dh(e,t,s=Qe){const r=e.__wdc||(e.__wdc=()=>{let n=s;for(;n;){if(n.isDeactivated)return;n=n.parent}return e()});if(go(t,r,s),s){let n=s.parent;for(;n&&n.parent;)Kn(n.parent.vnode)&&Dv(r,t,s,n),n=n.parent}}function Dv(e,t,s,r){const n=go(t,e,r,!0);jh(()=>{$l(r[t],n)},s)}function Mo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function ti(e){return e.shapeFlag&128?e.ssContent:e}function go(e,t,s=Qe,r=!1){if(s){const n=s[e]||(s[e]=[]),i=t.__weh||(t.__weh=(...o)=>{gs();const a=Wr(s),l=Ht(t,s,e,o);return a(),vs(),l});return r?n.unshift(i):n.push(i),i}}const ms=e=>(t,s=Qe)=>{(!Zs||e==="sp")&&go(e,(...r)=>t(...r),s)},Hv=ms("bm"),Jl=ms("m"),jv=ms("bu"),Hh=ms("u"),Gn=ms("bum"),jh=ms("um"),Uv=ms("sp"),Bv=ms("rtg"),Vv=ms("rtc");function Uh(e,t=Qe){go("ec",e,t)}const Bh="components";function Ux(e,t){return Wh(Bh,e,!0,t)||e}const Vh=Symbol.for("v-ndc");function Wv(e){return Pe(e)?Wh(Bh,e,!1)||e:e||Vh}function Wh(e,t,s=!0,r=!1){const n=$t||Qe;if(n){const i=n.type;{const a=Oa(i,!1);if(a&&(a===t||a===ct(t)||a===lo(ct(t))))return i}const o=Dc(n[e]||i[e],t)||Dc(n.appContext[e],t);return!o&&r?i:o}}function Dc(e,t){return e&&(e[t]||e[ct(t)]||e[lo(ct(t))])}function Bx(e,t,s,r){let n;const i=s,o=re(e);if(o||Pe(e)){const a=o&&Cs(e);let l=!1,u=!1;a&&(l=!yt(e),u=Zt(e),e=ho(e)),n=new Array(e.length);for(let c=0,f=e.length;c<f;c++)n[c]=t(l?u?Or(Dt(e[c])):Dt(e[c]):e[c],c,void 0,i)}else if(typeof e=="number"){n=new Array(e);for(let a=0;a<e;a++)n[a]=t(a+1,a,void 0,i)}else if(ge(e))if(e[Symbol.iterator])n=Array.from(e,(a,l)=>t(a,l,void 0,i));else{const a=Object.keys(e);n=new Array(a.length);for(let l=0,u=a.length;l<u;l++){const c=a[l];n[l]=t(e[c],c,l,i)}}else n=[];return n}const Sa=e=>e?yd(e)?Zl(e):Sa(e.parent):null,mn=ze(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=>Sa(e.parent),$root:e=>Sa(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Kh(e),$forceUpdate:e=>e.f||(e.f=()=>{ql(e.update)}),$nextTick:e=>e.n||(e.n=In.bind(e.proxy)),$watch:e=>Rv.bind(e)}),Fo=(e,t)=>e!==xe&&!e.__isScriptSetup&&_e(e,t),qv={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:r,data:n,props:i,accessCache:o,type:a,appContext:l}=e;if(t[0]!=="$"){const d=o[t];if(d!==void 0)switch(d){case 1:return r[t];case 2:return n[t];case 4:return s[t];case 3:return i[t]}else{if(Fo(r,t))return o[t]=1,r[t];if(n!==xe&&_e(n,t))return o[t]=2,n[t];if(_e(i,t))return o[t]=3,i[t];if(s!==xe&&_e(s,t))return o[t]=4,s[t];Ra&&(o[t]=0)}}const u=mn[t];let c,f;if(u)return t==="$attrs"&&st(e.attrs,"get",""),u(e);if((c=a.__cssModules)&&(c=c[t]))return c;if(s!==xe&&_e(s,t))return o[t]=4,s[t];if(f=l.config.globalProperties,_e(f,t))return f[t]},set({_:e},t,s){const{data:r,setupState:n,ctx:i}=e;return Fo(n,t)?(n[t]=s,!0):r!==xe&&_e(r,t)?(r[t]=s,!0):_e(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:r,appContext:n,props:i,type:o}},a){let l;return!!(s[a]||e!==xe&&a[0]!=="$"&&_e(e,a)||Fo(t,a)||_e(i,a)||_e(r,a)||_e(mn,a)||_e(n.config.globalProperties,a)||(l=o.__cssModules)&&l[a])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:_e(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function Hc(e){return re(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}function Vx(e){const t=Is(),s=Zs;let r=e();Li(),s&&Tr(!1);const n=()=>{Wr(t),s&&Tr(!0)},i=()=>{Is()!==t&&t.scope.off(),Li(),s&&Tr(!1)};return Nl(r)&&(r=r.catch(o=>{throw n(),Promise.resolve().then(()=>Promise.resolve().then(i)),o})),[r,()=>{n(),Promise.resolve().then(i)}]}let Ra=!0;function Kv(e){const t=Kh(e),s=e.proxy,r=e.ctx;Ra=!1,t.beforeCreate&&jc(t.beforeCreate,e,"bc");const{data:n,computed:i,methods:o,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:h,updated:g,activated:p,deactivated:R,beforeDestroy:E,beforeUnmount:w,destroyed:v,unmounted:m,render:y,renderTracked:x,renderTriggered:k,errorCaptured:T,serverPrefetch:S,expose:C,inheritAttrs:N,components:O,directives:D,filters:J}=t;if(u&&Gv(u,r,null),o)for(const Q in o){const j=o[Q];ie(j)&&(r[Q]=j.bind(s))}if(n){const Q=n.call(s,s);ge(Q)&&(e.data=Ls(Q))}if(Ra=!0,i)for(const Q in i){const j=i[Q],ae=ie(j)?j.bind(s,s):ie(j.get)?j.get.bind(s,s):Qt,Me=!ie(j)&&ie(j.set)?j.set.bind(s):Qt,Ce=Ft({get:ae,set:Me});Object.defineProperty(r,Q,{enumerable:!0,configurable:!0,get:()=>Ce.value,set:Re=>Ce.value=Re})}if(a)for(const Q in a)qh(a[Q],r,s,Q);if(l){const Q=ie(l)?l.call(s):l;
vendor: 4,562 bytes, line 4
4Reflect.ownKeys(Q).forEach(j=>{kr(j,Q[j])})}c&&jc(c,e,"c");function V(Q,j){re(j)?j.forEach(ae=>Q(ae.bind(s))):j&&Q(j.bind(s))}if(V(Hv,f),V(Jl,d),V(jv,h),V(Hh,g),V($h,p),V(Nh,R),V(Uh,T),V(Vv,x),V(Bv,k),V(Gn,w),V(jh,m),V(Uv,S),re(C))if(C.length){const Q=e.exposed||(e.exposed={});C.forEach(j=>{Object.defineProperty(Q,j,{get:()=>s[j],set:ae=>s[j]=ae,enumerable:!0})})}else e.exposed||(e.exposed={});y&&e.render===Qt&&(e.render=y),N!=null&&(e.inheritAttrs=N),O&&(e.components=O),D&&(e.directives=D),S&&zl(e)}function Gv(e,t,s=Qt){re(e)&&(e=Pa(e));for(const r in e){const n=e[r];let i;ge(n)?"default"in n?i=bt(n.from||r,n.default,!0):i=bt(n.from||r):i=bt(n),je(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[r]=i}}function jc(e,t,s){Ht(re(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,s)}function qh(e,t,s,r){let n=r.includes(".")?Ch(s,r):()=>s[r];if(Pe(e)){const i=t[e];ie(i)&&Sr(n,i)}else if(ie(e))Sr(n,e.bind(s));else if(ge(e))if(re(e))e.forEach(i=>qh(i,t,s,r));else{const i=ie(e.handler)?e.handler.bind(s):t[e.handler];ie(i)&&Sr(n,i,e)}}function Kh(e){const t=e.type,{mixins:s,extends:r}=t,{mixins:n,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,a=i.get(t);let l;return a?l=a:!n.length&&!s&&!r?l=t:(l={},n.length&&n.forEach(u=>Ti(l,u,o,!0)),Ti(l,t,o)),ge(t)&&i.set(t,l),l}function Ti(e,t,s,r=!1){const{mixins:n,extends:i}=t;i&&Ti(e,i,s,!0),n&&n.forEach(o=>Ti(e,o,s,!0));for(const o in t)if(!(r&&o==="expose")){const a=zv[o]||s&&s[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const zv={data:Uc,props:Bc,emits:Bc,methods:an,computed:an,beforeCreate:nt,created:nt,beforeMount:nt,mounted:nt,beforeUpdate:nt,updated:nt,beforeDestroy:nt,beforeUnmount:nt,destroyed:nt,unmounted:nt,activated:nt,deactivated:nt,errorCaptured:nt,serverPrefetch:nt,components:an,directives:an,watch:Yv,provide:Uc,inject:Jv};function Uc(e,t){return t?e?function(){return ze(ie(e)?e.call(this,this):e,ie(t)?t.call(this,this):t)}:t:e}function Jv(e,t){return an(Pa(e),Pa(t))}function Pa(e){if(re(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function nt(e,t){return e?[...new Set([].concat(e,t))]:t}function an(e,t){return e?ze(Object.create(null),e,t):t}function Bc(e,t){return e?re(e)&&re(t)?[...new Set([...e,...t])]:ze(Object.create(null),Hc(e),Hc(t??{})):t}function Yv(e,t){if(!e)return t;if(!t)return e;const s=ze(Object.create(null),e);for(const r in t)s[r]=nt(e[r],t[r]);return s}function Gh(){return{app:null,config:{isNativeTag:Xf,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Xv=0;function Qv(e,t){return function(r,n=null){ie(r)||(r=ze({},r)),n!=null&&!ge(n)&&(n=null);const i=Gh(),o=new WeakSet,a=[];let l=!1;const u=i.app={_uid:Xv++,_component:r,_props:n,_container:null,_context:i,_instance:null,version:O_,get config(){return i.config},set config(c){},use(c,...f){return o.has(c)||(c&&ie(c.install)?(o.add(c),c.install(u,...f)):ie(c)&&(o.add(c),c(u,...f))),u},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),u},component(c,f){return f?(i.components[c]=f,u):i.components[c]},directive(c,f){return f?(i.directives[c]=f,u):i.directives[c]},mount(c,f,d){if(!l){const h=u._ceVNode||$e(r,n);return h.appContext=i,d===!0?d="svg":d===!1&&(d=void 0),f&&t?t(h,c):e(h,c,d),l=!0,u._container=c,c.__vue_app__=u,Zl(h.component)}},onUnmount(c){a.push(c)},unmount(){l&&(Ht(a,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(c,f){return i.provides[c]=f,u},runWithContext(c){const f=Js;Js=u;try{return c()}finally{Js=f}}};return u}}let Js=null;const Zv=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ct(t)}Modifiers`]||e[`${tr(t)}Modifiers`];function e_(e,t,...s){if(e.isUnmounted)return;const r=e.vnode.props||xe;let n=s;const i=t.startsWith("update:"),o=i&&Zv(r,t.slice(7));o&&(o.trim&&(n=s.map(c=>Pe(c)?c.trim():c)),o.number&&(n=s.map(Lg)));let a,l=r[a=To(t)]||r[a=To(ct(t))];!l&&i&&(l=r[a=To(tr(t))]),l&&Ht(l,e,6,n);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Ht(u,e,6,n)}}const t_=new WeakMap;function zh(e,t,s=!1){const r=s?t_:t.emitsCache,n=r.get(e);if(n!==void 0)return n;const i=e.emits;let o={},a=!1;if(!ie(e)){const l=u=>{const c=zh(u,t,!0);c&&(a=!0,ze(o,c))};!s&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}
vendor: 5,034 bytes, line 4
4return!i&&!a?(ge(e)&&r.set(e,null),null):(re(i)?i.forEach(l=>o[l]=null):ze(o,i),ge(e)&&r.set(e,o),o)}function vo(e,t){return!e||!Vn(t)?!1:(t=t.slice(2).replace(/Once$/,""),_e(e,t[0].toLowerCase()+t.slice(1))||_e(e,tr(t))||_e(e,t))}function $o(e){const{type:t,vnode:s,proxy:r,withProxy:n,propsOptions:[i],slots:o,attrs:a,emit:l,render:u,renderCache:c,props:f,data:d,setupState:h,ctx:g,inheritAttrs:p}=e,R=Ri(e);let E,w;try{if(s.shapeFlag&4){const m=n||r,y=m;E=_t(u.call(y,m,c,f,h,d,g)),w=a}else{const m=t;E=_t(m.length>1?m(f,{attrs:a,slots:o,emit:l}):m(f,null)),w=t.props?a:r_(a)}}catch(m){bn.length=0,Vr(m,e,1),E=$e(Ke)}let v=E;if(w&&p!==!1){const m=Object.keys(w),{shapeFlag:y}=v;m.length&&y&7&&(i&&m.some(io)&&(w=n_(w,i)),v=_s(v,w,!1,!0))}return s.dirs&&(v=_s(v,null,!1,!0),v.dirs=v.dirs?v.dirs.concat(s.dirs):s.dirs),s.transition&&Ir(v,s.transition),E=v,Ri(R),E}function s_(e,t=!0){let s;for(let r=0;r<e.length;r++){const n=e[r];if(Mr(n)){if(n.type!==Ke||n.children==="v-if"){if(s)return;s=n}}else return}return s}const r_=e=>{let t;for(const s in e)(s==="class"||s==="style"||Vn(s))&&((t||(t={}))[s]=e[s]);return t},n_=(e,t)=>{const s={};for(const r in e)(!io(r)||!(r.slice(9)in t))&&(s[r]=e[r]);return s};function i_(e,t,s){const{props:r,children:n,component:i}=e,{props:o,children:a,patchFlag:l}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&l>=0){if(l&1024)return!0;if(l&16)return r?Vc(r,o,u):!!o;if(l&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const d=c[f];if(Jh(o,r,d)&&!vo(u,d))return!0}}}else return(n||a)&&(!a||!a.$stable)?!0:r===o?!1:r?o?Vc(r,o,u):!0:!!o;return!1}function Vc(e,t,s){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let n=0;n<r.length;n++){const i=r[n];if(Jh(t,e,i)&&!vo(s,i))return!0}return!1}function Jh(e,t,s){const r=e[s],n=t[s];return s==="style"&&ge(r)&&ge(n)?!Dl(r,n):r!==n}function _o({vnode:e,parent:t,suspense:s},r){for(;t;){const n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.suspense.vnode.el=n.el=r,e=n),n===e)(e=t.vnode).el=r,t=t.parent;else break}s&&s.activeBranch===e&&(s.vnode.el=r)}const Yh={},Xh=()=>Object.create(Yh),Qh=e=>Object.getPrototypeOf(e)===Yh;function o_(e,t,s,r=!1){const n={},i=Xh();e.propsDefaults=Object.create(null),Zh(e,t,n,i);for(const o in e.propsOptions[0])o in n||(n[o]=void 0);s?e.props=r?n:hs(n):e.type.props?e.props=n:e.props=i,e.attrs=i}function a_(e,t,s,r){const{props:n,attrs:i,vnode:{patchFlag:o}}=e,a=pe(n),[l]=e.propsOptions;let u=!1;if((r||o>0)&&!(o&16)){if(o&8){const c=e.vnode.dynamicProps;for(let f=0;f<c.length;f++){let d=c[f];if(vo(e.emitsOptions,d))continue;const h=t[d];if(l)if(_e(i,d))h!==i[d]&&(i[d]=h,u=!0);else{const g=ct(d);n[g]=Ta(l,a,g,h,e,!1)}else h!==i[d]&&(i[d]=h,u=!0)}}}else{Zh(e,t,n,i)&&(u=!0);let c;for(const f in a)(!t||!_e(t,f)&&((c=tr(f))===f||!_e(t,c)))&&(l?s&&(s[f]!==void 0||s[c]!==void 0)&&(n[f]=Ta(l,a,f,void 0,e,!0)):delete n[f]);if(i!==a)for(const f in i)(!t||!_e(t,f))&&(delete i[f],u=!0)}u&&us(e.attrs,"set","")}function Zh(e,t,s,r){const[n,i]=e.propsOptions;let o=!1,a;if(t)for(let l in t){if(Gs(l))continue;const u=t[l];let c;n&&_e(n,c=ct(l))?!i||!i.includes(c)?s[c]=u:(a||(a={}))[c]=u:vo(e.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,o=!0)}if(i){const l=pe(s),u=a||xe;for(let c=0;c<i.length;c++){const f=i[c];s[f]=Ta(n,l,f,u[f],e,!_e(u,f))}}return o}function Ta(e,t,s,r,n,i){const o=e[s];if(o!=null){const a=_e(o,"default");if(a&&r===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&ie(l)){const{propsDefaults:u}=n;if(s in u)r=u[s];else{const c=Wr(n);r=u[s]=l.call(null,t),c()}}else r=l;n.ce&&n.ce._setProp(s,r)}o[0]&&(i&&!a?r=!1:o[1]&&(r===""||r===tr(s))&&(r=!0))}return r}const l_=new WeakMap;function ed(e,t,s=!1){const r=s?l_:t.propsCache,n=r.get(e);if(n)return n;const i=e.props,o={},a=[];let l=!1;if(!ie(e)){const c=f=>{l=!0;const[d,h]=ed(f,t,!0);ze(o,d),h&&a.push(...h)};!s&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!l)return ge(e)&&r.set(e,wr),wr;if(re(i))for(let c=0;c<i.length;c++){const f=ct(i[c]);Wc(f)&&(o[f]=xe)}else if(i)for(const c in i){const f=ct(c);if(Wc(f)){const d=i[c],h=o[f]=re(d)||ie(d)?{type:d}:ze({},d),g=h.type;let p=!1,R=!0;if(re(g))for(let E=0;E<g.length;++E){const w=g[E],v=ie(w)&&w.name;if(v==="Boolean"){p=!0;break}else v==="String"&&(R=!1)}else p=ie(g)&&g.name==="Boolean";h[0]=p,h[1]=R,(p||_e(h,"default"))&&a.push(f)}}const u=[o,a];return ge(e)&&r.set(e,u),u}function Wc(e){return e[0]!=="$"&&!Gs(e)}const Yl=e=>e==="_"||e==="_ctx"||e==="$stable",Xl=e=>re(e)?e.map(_t):[_t(e)],c_=(e,t,s)=>{if(t._n)return t;const r=Th((...n)=>Xl(t(...n)),s);return r._c=!1,r},td=(e,t,s)=>{const r=e._ctx;for(const n in e){if(Yl(n))continue;const i=e[n];if(ie(i))t[n]=c_(n,i,r);else if(i!=null){const o=Xl(i);t[n]=()=>o}}},sd=(e,t)=>{const s=Xl(t);e.slots.default=()=>s},rd=(e,t,s)=>{for(const r in t)(s||!Yl(r))&&(e[r]=t[r])},u_=(e,t,s)=>{const r=e.slots=Xh();if(e.vnode.shapeFlag&32){const n=t._;n?(rd(r,t,s),s&&th(r,"_",n,!0)):td(t,r)}else t&&sd(e,t)},f_=(e,t,s)=>
vendor: 7,412 bytes, line 4
4{const{vnode:r,slots:n}=e;let i=!0,o=xe;if(r.shapeFlag&32){const a=t._;a?s&&a===1?i=!1:rd(n,t,s):(i=!t.$stable,td(t,n)),o=t}else t&&(sd(e,t),o={default:1});if(i)for(const a in n)!Yl(a)&&o[a]==null&&delete n[a]},qe=fd;function h_(e){return nd(e)}function d_(e){return nd(e,Lv)}function nd(e,t){const s=co();s.__VUE__=!0;const{insert:r,remove:n,patchProp:i,createElement:o,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:h=Qt,insertStaticContent:g}=e,p=(_,b,P,M=null,I=null,F=null,q=void 0,B=null,U=!!b.dynamicChildren)=>{if(_===b)return;_&&!Mt(_,b)&&(M=L(_),Re(_,I,F,!0),_=null),b.patchFlag===-2&&(U=!1,b.dynamicChildren=null);const{type:$,ref:se,shapeFlag:X}=b;switch($){case Ys:R(_,b,P,M);break;case Ke:E(_,b,P,M);break;case yn:_==null&&w(b,P,M,q);break;case vt:O(_,b,P,M,I,F,q,B,U);break;default:X&1?y(_,b,P,M,I,F,q,B,U):X&6?D(_,b,P,M,I,F,q,B,U):(X&64||X&128)&&$.process(_,b,P,M,I,F,q,B,U,Z)}se!=null&&I?Rr(se,_&&_.ref,F,b||_,!b):se==null&&_&&_.ref!=null&&Rr(_.ref,null,F,_,!0)},R=(_,b,P,M)=>{if(_==null)r(b.el=a(b.children),P,M);else{const I=b.el=_.el;b.children!==_.children&&u(I,b.children)}},E=(_,b,P,M)=>{_==null?r(b.el=l(b.children||""),P,M):b.el=_.el},w=(_,b,P,M)=>{[_.el,_.anchor]=g(_.children,b,P,M,_.el,_.anchor)},v=({el:_,anchor:b},P,M)=>{let I;for(;_&&_!==b;)I=d(_),r(_,P,M),_=I;r(b,P,M)},m=({el:_,anchor:b})=>{let P;for(;_&&_!==b;)P=d(_),n(_),_=P;n(b)},y=(_,b,P,M,I,F,q,B,U)=>{if(b.type==="svg"?q="svg":b.type==="math"&&(q="mathml"),_==null)x(b,P,M,I,F,q,B,U);else{const $=_.el&&_.el._isVueCE?_.el:null;try{$&&$._beginPatch(),S(_,b,I,F,q,B,U)}finally{$&&$._endPatch()}}},x=(_,b,P,M,I,F,q,B)=>{let U,$;const{props:se,shapeFlag:X,transition:te,dirs:oe}=_;if(U=_.el=o(_.type,F,se&&se.is,se),X&8?c(U,_.children):X&16&&T(_.children,U,null,M,I,No(_,F),q,B),oe&&Vt(_,null,M,"created"),k(U,_,_.scopeId,q,M),se){for(const ye in se)ye!=="value"&&!Gs(ye)&&i(U,ye,null,se[ye],F,M);"value"in se&&i(U,"value",null,se.value,F),($=se.onVnodeBeforeMount)&&ut($,M,_)}oe&&Vt(_,null,M,"beforeMount");const de=id(I,te);de&&te.beforeEnter(U),r(U,b,P),(($=se&&se.onVnodeMounted)||de||oe)&&qe(()=>{$&&ut($,M,_),de&&te.enter(U),oe&&Vt(_,null,M,"mounted")},I)},k=(_,b,P,M,I)=>{if(P&&h(_,P),M)for(let F=0;F<M.length;F++)h(_,M[F]);if(I){let F=I.subTree;if(b===F||Ai(F.type)&&(F.ssContent===b||F.ssFallback===b)){const q=I.vnode;k(_,q,q.scopeId,q.slotScopeIds,I.parent)}}},T=(_,b,P,M,I,F,q,B,U=0)=>{for(let $=U;$<_.length;$++){const se=_[$]=B?ls(_[$]):_t(_[$]);p(null,se,b,P,M,I,F,q,B)}},S=(_,b,P,M,I,F,q)=>{const B=b.el=_.el;let{patchFlag:U,dynamicChildren:$,dirs:se}=b;U|=_.patchFlag&16;const X=_.props||xe,te=b.props||xe;let oe;if(P&&Ms(P,!1),(oe=te.onVnodeBeforeUpdate)&&ut(oe,P,b,_),se&&Vt(b,_,P,"beforeUpdate"),P&&Ms(P,!0),(X.innerHTML&&te.innerHTML==null||X.textContent&&te.textContent==null)&&c(B,""),$?C(_.dynamicChildren,$,B,P,M,No(b,I),F):q||j(_,b,B,null,P,M,No(b,I),F,!1),U>0){if(U&16)N(B,X,te,P,I);else if(U&2&&X.class!==te.class&&i(B,"class",null,te.class,I),U&4&&i(B,"style",X.style,te.style,I),U&8){const de=b.dynamicProps;for(let ye=0;ye<de.length;ye++){const be=de[ye],De=X[be],Ve=te[be];(Ve!==De||be==="value")&&i(B,be,De,Ve,I,P)}}U&1&&_.children!==b.children&&c(B,b.children)}else!q&&$==null&&N(B,X,te,P,I);((oe=te.onVnodeUpdated)||se)&&qe(()=>{oe&&ut(oe,P,b,_),se&&Vt(b,_,P,"updated")},M)},C=(_,b,P,M,I,F,q)=>{for(let B=0;B<b.length;B++){const U=_[B],$=b[B],se=U.el&&(U.type===vt||!Mt(U,$)||U.shapeFlag&198)?f(U.el):P;p(U,$,se,null,M,I,F,q,!0)}},N=(_,b,P,M,I)=>{if(b!==P){if(b!==xe)for(const F in b)!Gs(F)&&!(F in P)&&i(_,F,b[F],null,I,M);for(const F in P){if(Gs(F))continue;const q=P[F],B=b[F];q!==B&&F!=="value"&&i(_,F,B,q,I,M)}"value"in P&&i(_,"value",b.value,P.value,I)}},O=(_,b,P,M,I,F,q,B,U)=>{const $=b.el=_?_.el:a(""),se=b.anchor=_?_.anchor:a("");let{patchFlag:X,dynamicChildren:te,slotScopeIds:oe}=b;oe&&(B=B?B.concat(oe):oe),_==null?(r($,P,M),r(se,P,M),T(b.children||[],P,se,I,F,q,B,U)):X>0&&X&64&&te&&_.dynamicChildren&&_.dynamicChildren.length===te.length?(C(_.dynamicChildren,te,P,I,F,q,B),(b.key!=null||I&&b===I.subTree)&&od(_,b,!0)):j(_,b,P,se,I,F,q,B,U)},D=(_,b,P,M,I,F,q,B,U)=>{b.slotScopeIds=B,_==null?b.shapeFlag&512?I.ctx.activate(b,P,M,q,U):J(b,P,M,I,F,q,U):ne(_,b,U)},J=(_,b,P,M,I,F,q)=>{const B=_.component=S_(_,M,I);if(Kn(_)&&(B.ctx.renderer=Z),R_(B,!1,q),B.asyncDep){if(I&&I.registerDep(B,V,q),!_.el){const U=B.subTree=$e(Ke);E(null,U,b,P),_.placeholder=U.el}}else V(B,_,b,P,I,F,q)},ne=(_,b,P)=>{const M=b.component=_.component;if(i_(_,b,P))if(M.asyncDep&&!M.asyncResolved){Q(M,b,P);return}else M.next=b,M.update();else b.el=_.el,M.vnode=b},V=(_,b,P,M,I,F,q)=>{const B=()=>{if(_.isMounted){let{next:X,bu:te,u:oe,parent:de,vnode:ye}=_;{const pt=ad(_);if(pt){X&&(X.el=ye.el,Q(_,X,q)),pt.asyncDep.then(()=>{qe(()=>{_.isUnmounted||$()},I)});return}}let be=X,De;Ms(_,!1),X?(X.el=ye.el,Q(_,X,q)):X=ye,te&&gn(te),(De=X.props&&X.props.onVnodeBeforeUpdate)&&ut(De,de,X,ye),Ms(_,!0);const Ve=$o(_),It=_.subTree;_.subTree=Ve,p(It,Ve,f(It.el),L(It),_,I,F),X.el=Ve.el,be===null&&_o(_,Ve.el),oe&&qe(oe,I),(De=X.props&&X.props.onVnodeUpdated)&&qe(()=>ut(De,de,X,ye),I)}else{let X;const{el:te,props:oe}=b,{bm:de,m:ye,parent:be,root:De,type:Ve}=_,It=As(b);if(Ms(_,!1),de&&gn(de),!It&&(X=oe&&oe.onVnodeBeforeMount)&&ut(X,be,b),Ms(_,!0),te&&fe){const pt=()=>{_.subTree=$o(_),fe(te,_.subTree,_,I,null)};It&&Ve.__asyncHydrate?Ve.__asyncHydrate(te,_,pt):pt()}else{De.ce&&De.ce._hasShadowRoot()&&De.ce._injectChildStyle(Ve,_.parent?_.parent.type:void 0);const pt=_.subTree=$o(_);p(null,pt,P,M,_,I,F),b.el=pt.el}if(ye&&qe(ye,I),!It&&(X=oe&&oe.onVnodeMounted)){const pt=b;qe(()=>ut(X,be,pt),I)}(b.shapeFlag&256||be&&As(be.vnode)&&be.vnode.shapeFlag&256)&&_.a&&qe(_.a,I),_.isMounted=!0,b=P=M=null}};_.scope.on();const U=_.effect=new lh(B);_.scope.off();const $=_.update=U.run.bind(U),se=_.job=U.runIfDirty.bind(U);se.i=_,se.id=_.uid,U.scheduler=()=>ql(se),Ms(_,!0),$()},Q=(_,b,P)=>{b.component=_;const M=_.vnode.props;_.vnode=b,_.next=null,a_(_,b.props,M,P),f_(_,b.children,P),gs(),Oc(_),vs()},j=(_,b,P,M,I,F,q,B,U=!1)=>{const $=_&&_.children,se=_?_.shapeFlag:0,X=b.children,{patchFlag:te,shapeFlag:oe}=b;if(te>0){if(te&128){Me($,X,P,M,I,F,q,B,U);return}else if(te&256){ae($,X,P,M,I,F,q,B,U);return}}oe&8?(se&16&&Be($,I,F),X!==$&&c(P,X)):se&16?oe&16?Me($,X,P,M,I,F,q,B,U):Be($,I,F,!0):(se&8&&c(P,""),oe&16&&T(X,P,M,I,F,q,B,U))},ae=(_,b,P,M,I,F,q,B,U)=>{_=_||wr,b=b||wr;const $=_.length,se=b.length,X=Math.min($,se);let te;for(te=0;te<X;te++){const oe=b[te]=U?ls(b[te]):_t(b[te]);p(_[te],oe,P,null,I,F,q,B,U)}$>se?Be(_,I,F,!0,!1,X):T(b,P,M,I,F,q,B,U,X)},Me=(_,b,P,M,I,F,q,B,U)=>{let $=0;const se=b.length;let X=_.length-1,te=se-1;for(;$<=X&&$<=te;){const oe=_[$],de=b[$]=U?ls(b[$]):_t(b[$]);if(Mt(oe,de))p(oe,de,P,null,I,F,q,B,U);else break;$++}for(;$<=X&&$<=te;){const oe=_[X],de=b[te]=U?ls(b[te]):_t(b[te]);if(Mt(oe,de))p(oe,de,P,null,I,F,q,B,U);else break;X--,te--}if($>X){if($<=te){const oe=te+1,de=oe<se?b[oe].el:M;for(;$<=te;)p(null,b[$]=U?ls(b[$]):_t(b[$]),P,de,I,F,q,B,U),$++}}else if($>te)for(;$<=X;)Re(_[$],I,F,!0),$++;else{const oe=$,de=$,ye=new Map;for($=de;$<=te;$++){const gt=b[$]=U?ls(b[$]):_t(b[$]);gt.key!=null&&ye.set(gt.key,$)}let be,De=0;const Ve=te-de+1;let It=!1,pt=0;const qr=new Array(Ve);for($=0;$<Ve;$++)qr[$]=0;for($=oe;$<=X;$++){const gt=_[$];if(De>=Ve){Re(gt,I,F,!0);continue}let Ut;if(gt.key!=null)Ut=ye.get(gt.key);else for(be=de;
vendor: 7,346 bytes, line 4
4be<=te;be++)if(qr[be-de]===0&&Mt(gt,b[be])){Ut=be;break}Ut===void 0?Re(gt,I,F,!0):(qr[Ut-de]=$+1,Ut>=pt?pt=Ut:It=!0,p(gt,b[Ut],P,null,I,F,q,B,U),De++)}const kc=It?p_(qr):wr;for(be=kc.length-1,$=Ve-1;$>=0;$--){const gt=de+$,Ut=b[gt],Sc=b[gt+1],Rc=gt+1<se?Sc.el||ld(Sc):M;qr[$]===0?p(null,Ut,P,Rc,I,F,q,B,U):It&&(be<0||$!==kc[be]?Ce(Ut,P,Rc,2):be--)}}},Ce=(_,b,P,M,I=null)=>{const{el:F,type:q,transition:B,children:U,shapeFlag:$}=_;if($&6){Ce(_.component.subTree,b,P,M);return}if($&128){_.suspense.move(b,P,M);return}if($&64){q.move(_,b,P,Z);return}if(q===vt){r(F,b,P);for(let X=0;X<U.length;X++)Ce(U[X],b,P,M);r(_.anchor,b,P);return}if(q===yn){v(_,b,P);return}if(M!==2&&$&1&&B)if(M===0)B.beforeEnter(F),r(F,b,P),qe(()=>B.enter(F),I);else{const{leave:X,delayLeave:te,afterLeave:oe}=B,de=()=>{_.ctx.isUnmounted?n(F):r(F,b,P)},ye=()=>{F._isLeaving&&F[Wt](!0),X(F,()=>{de(),oe&&oe()})};te?te(F,de,ye):ye()}else r(F,b,P)},Re=(_,b,P,M=!1,I=!1)=>{const{type:F,props:q,ref:B,children:U,dynamicChildren:$,shapeFlag:se,patchFlag:X,dirs:te,cacheIndex:oe,memo:de}=_;if(X===-2&&(I=!1),B!=null&&(gs(),Rr(B,null,P,_,!0),vs()),oe!=null&&(b.renderCache[oe]=void 0),se&256){b.ctx.deactivate(_);return}const ye=se&1&&te,be=!As(_);let De;if(be&&(De=q&&q.onVnodeBeforeUnmount)&&ut(De,b,_),se&6)Ue(_.component,P,M);else{if(se&128){_.suspense.unmount(P,M);return}ye&&Vt(_,null,b,"beforeUnmount"),se&64?_.type.remove(_,b,P,Z,M):$&&!$.hasOnce&&(F!==vt||X>0&&X&64)?Be($,b,P,!1,!0):(F===vt&&X&384||!I&&se&16)&&Be(U,b,P),M&&Ne(_)}const Ve=de!=null&&oe==null;(be&&(De=q&&q.onVnodeUnmounted)||ye||Ve)&&qe(()=>{De&&ut(De,b,_),ye&&Vt(_,null,b,"unmounted"),Ve&&(_.el=null)},P)},Ne=_=>{const{type:b,el:P,anchor:M,transition:I}=_;if(b===vt){Je(P,M);return}if(b===yn){m(_);return}const F=()=>{n(P),I&&!I.persisted&&I.afterLeave&&I.afterLeave()};if(_.shapeFlag&1&&I&&!I.persisted){const{leave:q,delayLeave:B}=I,U=()=>q(P,F);B?B(_.el,F,U):U()}else F()},Je=(_,b)=>{let P;for(;_!==b;)P=d(_),n(_),_=P;n(b)},Ue=(_,b,P)=>{const{bum:M,scope:I,job:F,subTree:q,um:B,m:U,a:$}=_;Ci(U),Ci($),M&&gn(M),I.stop(),F&&(F.flags|=8,Re(q,_,b,P)),B&&qe(B,b),qe(()=>{_.isUnmounted=!0},b)},Be=(_,b,P,M=!1,I=!1,F=0)=>{for(let q=F;q<_.length;q++)Re(_[q],b,P,M,I)},L=_=>{if(_.shapeFlag&6)return L(_.component.subTree);if(_.shapeFlag&128)return _.suspense.next();const b=d(_.anchor||_.el),P=b&&b[Pv];return P?d(P):b};let G=!1;const W=(_,b,P)=>{let M;_==null?b._vnode&&(Re(b._vnode,null,null,!0),M=b._vnode.component):p(b._vnode||null,_,b,null,null,null,P),b._vnode=_,G||(G=!0,Oc(M),Si(),G=!1)},Z={p,um:Re,m:Ce,r:Ne,mt:J,mc:T,pc:j,pbc:C,n:L,o:e};let le,fe;return t&&([le,fe]=t(Z)),{render:W,hydrate:le,createApp:Qv(W,le)}}function No({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function Ms({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function id(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function od(e,t,s=!1){const r=e.children,n=t.children;if(re(r)&&re(n))for(let i=0;i<r.length;i++){const o=r[i];let a=n[i];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=n[i]=ls(n[i]),a.el=o.el),!s&&a.patchFlag!==-2&&od(o,a)),a.type===Ys&&(a.patchFlag===-1&&(a=n[i]=ls(a)),a.el=o.el),a.type===Ke&&!a.el&&(a.el=o.el)}}function p_(e){const t=e.slice(),s=[0];let r,n,i,o,a;const l=e.length;for(r=0;r<l;r++){const u=e[r];if(u!==0){if(n=s[s.length-1],e[n]<u){t[r]=n,s.push(r);continue}for(i=0,o=s.length-1;i<o;)a=i+o>>1,e[s[a]]<u?i=a+1:o=a;u<e[s[i]]&&(i>0&&(t[r]=s[i-1]),s[i]=r)}}for(i=s.length,o=s[i-1];i-- >0;)s[i]=o,o=t[o];return s}function ad(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ad(t)}function Ci(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function ld(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?ld(t.subTree):null}const Ai=e=>e.__isSuspense;let Ca=0;const g_={name:"Suspense",__isSuspense:!0,process(e,t,s,r,n,i,o,a,l,u){if(e==null)v_(t,s,r,n,i,o,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}__(e,t,s,r,n,o,a,l,u)}},hydrate:m_,normalize:y_},cd=g_;function Mn(e,t){const s=e.props&&e.props[t];ie(s)&&s()}function v_(e,t,s,r,n,i,o,a,l){const{p:u,o:{createElement:c}}=l,f=c("div"),d=e.suspense=ud(e,n,r,t,f,s,i,o,a,l);u(null,d.pendingBranch=e.ssContent,f,null,r,d,i,o),d.deps>0?(Mn(e,"onPending"),Mn(e,"onFallback"),u(null,e.ssFallback,t,s,r,null,i,o),Pr(d,e.ssFallback)):d.resolve(!1,!0)}function __(e,t,s,r,n,i,o,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,h=t.ssFallback,{activeBranch:g,pendingBranch:p,isInFallback:R,isHydrating:E}=f;if(p)f.pendingBranch=d,Mt(p,d)?(l(p,d,f.hiddenContainer,null,n,f,i,o,a),f.deps<=0?f.resolve():R&&(E||(l(g,h,s,r,n,null,i,o,a),Pr(f,h)))):(f.pendingId=Ca++,E?(f.isHydrating=!1,f.activeBranch=p):u(p,n,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),R?(l(null,d,f.hiddenContainer,null,n,f,i,o,a),f.deps<=0?f.resolve():(l(g,h,s,r,n,null,i,o,a),Pr(f,h))):g&&Mt(g,d)?(l(g,d,s,r,n,f,i,o,a),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,n,f,i,o,a),f.deps<=0&&f.resolve()));else if(g&&Mt(g,d))l(g,d,s,r,n,f,i,o,a),Pr(f,d);else if(Mn(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=Ca++,l(null,d,f.hiddenContainer,null,n,f,i,o,a),f.deps<=0)f.resolve();else{const{timeout:w,pendingId:v}=f;w>0?setTimeout(()=>{f.pendingId===v&&f.fallback(h)},w):w===0&&f.fallback(h)}}function ud(e,t,s,r,n,i,o,a,l,u,c=!1){const{p:f,m:d,um:h,n:g,o:{parentNode:p,remove:R}}=u;let E;const w=b_(e);w&&t&&t.pendingBranch&&(E=t.pendingId,t.deps++);const v=e.props?sh(e.props.timeout):void 0,m=i,y={vnode:e,parent:t,parentComponent:s,namespace:o,container:r,hiddenContainer:n,deps:0,pendingId:Ca++,timeout:typeof v=="number"?v:-1,activeBranch:null,isFallbackMountPending:!1,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(x=!1,k=!1){const{vnode:T,activeBranch:S,pendingBranch:C,pendingId:N,effects:O,parentComponent:D,container:J,isInFallback:ne}=y;let V=!1;y.isHydrating?y.isHydrating=!1:x||(V=S&&C.transition&&C.transition.mode==="out-in",V&&(S.transition.afterLeave=()=>{N===y.pendingId&&(d(C,J,i===m?g(S):i,0),xa(O),ne&&T.ssFallback&&(T.ssFallback.el=null))}),S&&!y.isFallbackMountPending&&(p(S.el)===J&&(i=g(S)),h(S,D,y,!0),!V&&ne&&T.ssFallback&&qe(()=>T.ssFallback.el=null,y)),V||d(C,J,i,0)),y.isFallbackMountPending=!1,Pr(y,C),y.pendingBranch=null,y.isInFallback=!1;let Q=y.parent,j=!1;for(;Q;){if(Q.pendingBranch){Q.effects.push(...O),j=!0;break}Q=Q.parent}!j&&!V&&xa(O),y.effects=[],w&&t&&t.pendingBranch&&E===t.pendingId&&(t.deps--,t.deps===0&&!k&&t.resolve()),Mn(T,"onResolve")},fallback(x){if(!y.pendingBranch)return;const{vnode:k,activeBranch:T,parentComponent:S,container:C,namespace:N}=y;Mn(k,"onFallback");const O=g(T),D=()=>{y.isFallbackMountPending=!1,y.isInFallback&&(f(null,x,C,O,S,null,N,a,l),Pr(y,x))},J=x.transition&&x.transition.mode==="out-in";J&&(y.isFallbackMountPending=!0,T.transition.afterLeave=D),y.isInFallback=!0,h(T,S,null,!0),J||D()},move(x,k,T){y.activeBranch&&d(y.activeBranch,x,k,T),y.container=x},next(){return y.activeBranch&&g(y.activeBranch)},registerDep(x,k,T){const S=!!y.pendingBranch;S&&y.deps++;const C=x.vnode.el;
vendor: 5,589 bytes, line 4
4x.asyncDep.catch(N=>{Vr(N,x,0)}).then(N=>{if(x.isUnmounted||y.isUnmounted||y.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:O}=x;Aa(x,N),C&&(O.el=C);const D=!C&&x.subTree.el;k(x,O,p(C||x.subTree.el),C?null:g(x.subTree),y,o,T),D&&(O.placeholder=null,R(D)),_o(x,O.el),S&&--y.deps===0&&y.resolve()})},unmount(x,k){y.isUnmounted=!0,y.activeBranch&&h(y.activeBranch,s,x,k),y.pendingBranch&&h(y.pendingBranch,s,x,k)}};return y}function m_(e,t,s,r,n,i,o,a,l){const u=t.suspense=ud(t,r,s,e.parentNode,document.createElement("div"),null,n,i,o,a,!0),c=l(e,u.pendingBranch=t.ssContent,s,u,i,o);return u.deps===0&&u.resolve(!1,!0),c}function y_(e){const{shapeFlag:t,children:s}=e,r=t&32;e.ssContent=qc(r?s.default:s),e.ssFallback=r?qc(s.fallback):$e(Ke)}function qc(e){let t;if(ie(e)){const s=Lr&&e._c;s&&(e._d=!1,Kt()),e=e(),s&&(e._d=!0,t=ht,hd())}return re(e)&&(e=s_(e)),e=_t(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(s=>s!==e)),e}function fd(e,t){t&&t.pendingBranch?re(e)?t.effects.push(...e):t.effects.push(e):xa(e)}function Pr(e,t){e.activeBranch=t;const{vnode:s,parentComponent:r}=e;let n=t.el;for(;!n&&t.component;)t=t.component.subTree,n=t.el;s.el=n,r&&r.subTree===s&&(r.vnode.el=n,_o(r,n))}function b_(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const vt=Symbol.for("v-fgt"),Ys=Symbol.for("v-txt"),Ke=Symbol.for("v-cmt"),yn=Symbol.for("v-stc"),bn=[];let ht=null;function Kt(e=!1){bn.push(ht=e?null:[])}function hd(){bn.pop(),ht=bn[bn.length-1]||null}let Lr=1;function Oi(e,t=!1){Lr+=e,e<0&&ht&&t&&(ht.hasOnce=!0)}function dd(e){return e.dynamicChildren=Lr>0?ht||wr:null,hd(),Lr>0&&ht&&ht.push(e),e}function pd(e,t,s,r,n,i){return dd(vd(e,t,s,r,n,i,!0))}function qs(e,t,s,r,n){return dd($e(e,t,s,r,n,!0))}function Mr(e){return e?e.__v_isVNode===!0:!1}function Mt(e,t){return e.type===t.type&&e.key===t.key}const gd=({key:e})=>e??null,pi=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?Pe(e)||je(e)||ie(e)?{i:$t,r:e,k:t,f:!!s}:e:null);function vd(e,t=null,s=null,r=0,n=null,i=e===vt?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&gd(t),ref:t&&pi(t),scopeId:Ph,slotScopeIds:null,children:s,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:n,dynamicChildren:null,appContext:null,ctx:$t};return a?(Ql(l,s),i&128&&e.normalize(l)):s&&(l.shapeFlag|=Pe(s)?8:16),Lr>0&&!o&&ht&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&ht.push(l),l}const $e=w_;function w_(e,t=null,s=null,r=0,n=null,i=!1){if((!e||e===Vh)&&(e=Ke),Mr(e)){const a=_s(e,t,!0);return s&&Ql(a,s),Lr>0&&!i&&ht&&(a.shapeFlag&6?ht[ht.indexOf(e)]=a:ht.push(a)),a.patchFlag=-2,a}if(A_(e)&&(e=e.__vccOpts),t){t=_d(t);let{class:a,style:l}=t;a&&!Pe(a)&&(t.class=fo(a)),ge(l)&&(po(l)&&!re(l)&&(l=ze({},l)),t.style=uo(l))}const o=Pe(e)?1:Ai(e)?128:Ah(e)?64:ge(e)?4:ie(e)?2:0;return vd(e,t,s,r,n,o,i,!0)}function _d(e){return e?po(e)||Qh(e)?ze({},e):e:null}function _s(e,t,s=!1,r=!1){const{props:n,ref:i,patchFlag:o,children:a,transition:l}=e,u=t?E_(n||{},t):n,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&gd(u),ref:t&&t.ref?s&&i?re(i)?i.concat(pi(t)):[i,pi(t)]:pi(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!==vt?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&_s(e.ssContent),ssFallback:e.ssFallback&&_s(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Ir(c,l.clone(c)),c}function md(e=" ",t=0){return $e(Ys,null,e,t)}function Wx(e,t){const s=$e(yn,null,e);return s.staticCount=t,s}function qx(e="",t=!1){return t?(Kt(),qs(Ke,null,e)):$e(Ke,null,e)}function _t(e){return e==null||typeof e=="boolean"?$e(Ke):re(e)?$e(vt,null,e.slice()):Mr(e)?ls(e):$e(Ys,null,String(e))}function ls(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:_s(e)}function Ql(e,t){let s=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(re(t))s=16;else if(typeof t=="object")if(r&65){const n=t.default;n&&(n._c&&(n._d=!1),Ql(e,n()),n._c&&(n._d=!0));return}else{s=32;const n=t._;!n&&!Qh(t)?t._ctx=$t:n===3&&$t&&($t.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ie(t)?(t={default:t,_ctx:$t},s=32):(t=String(t),r&64?(s=16,t=[md(t)]):s=8);e.children=t,e.shapeFlag|=s}function E_(...e){const t={};for(let s=0;s<e.length;s++){const r=e[s];for(const n in r)if(n==="class")t.class!==r.class&&(t.class=fo([t.class,r.class]));else if(n==="style")t.style=uo([t.style,r.style]);else if(Vn(n)){const i=t[n],o=r[n];o&&i!==o&&!(re(i)&&i.includes(o))?t[n]=i?[].concat(i,o):o:o==null&&i==null&&!io(n)&&(t[n]=o)}else n!==""&&(t[n]=r[n])}return t}function ut(e,t,s,r=null){Ht(e,t,7,[s,r])}const x_=Gh();let k_=0;function S_(e,t,s){const r=e.type,n=(t?t.appContext:e.appContext)||x_,i={uid:k_++,vnode:e,type:r,parent:t,appContext:n,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new oh(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(n.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ed(r,n),emitsOptions:zh(r,n),emit:null,emitted:null,propsDefaults:xe,inheritAttrs:r.inheritAttrs,ctx:xe,data:xe,props:xe,attrs:xe,slots:xe,refs:xe,setupState:
vendor: 2,948 bytes, line 4
4xe,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=e_.bind(null,i),e.ce&&e.ce(i),i}let Qe=null;const Is=()=>Qe||$t;let Ii,Tr;{const e=co(),t=(s,r)=>{let n;return(n=e[s])||(n=e[s]=[]),n.push(r),i=>{n.length>1?n.forEach(o=>o(i)):n[0](i)}};Ii=t("__VUE_INSTANCE_SETTERS__",s=>Qe=s),Tr=t("__VUE_SSR_SETTERS__",s=>Zs=s)}const Wr=e=>{const t=Qe;return Ii(e),e.scope.on(),()=>{e.scope.off(),Ii(t)}},Li=()=>{Qe&&Qe.scope.off(),Ii(null)};function yd(e){return e.vnode.shapeFlag&4}let Zs=!1;function R_(e,t=!1,s=!1){t&&Tr(t);const{props:r,children:n}=e.vnode,i=yd(e);o_(e,r,i,t),u_(e,n,s||t);const o=i?P_(e,t):void 0;return t&&Tr(!1),o}function P_(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,qv);const{setup:r}=s;if(r){gs();const n=e.setupContext=r.length>1?C_(e):null,i=Wr(e),o=Wn(r,e,0,[e.props,n]),a=Nl(o);if(vs(),i(),(a||e.sp)&&!As(e)&&zl(e),a){if(o.then(Li,Li),t)return o.then(l=>{Aa(e,l)}).catch(l=>{Vr(l,e,0)});e.asyncDep=o}else Aa(e,o)}else bd(e)}function Aa(e,t,s){ie(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ge(t)&&(e.setupState=xh(t)),bd(e)}function bd(e,t,s){const r=e.type;e.render||(e.render=r.render||Qt);{const n=Wr(e);gs();try{Kv(e)}finally{vs(),n()}}}const T_={get(e,t){return st(e,"get",""),e[t]}};function C_(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,T_),slots:e.slots,emit:e.emit,expose:t}}function Zl(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(xh(cv(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in mn)return mn[s](e)},has(t,s){return s in t||s in mn}})):e.proxy}function Oa(e,t=!0){return ie(e)?e.displayName||e.name:e.name||t&&e.__name}function A_(e){return ie(e)&&"__vccOpts"in e}const Ft=(e,t)=>mv(e,t,Zs);function Tt(e,t,s){try{Oi(-1);const r=arguments.length;return r===2?ge(t)&&!re(t)?Mr(t)?$e(e,null,[t]):$e(e,t):$e(e,null,t):(r>3?s=Array.prototype.slice.call(arguments,2):r===3&&Mr(s)&&(s=[s]),$e(e,t,s))}finally{Oi(1)}}const O_="3.5.31";let Ia;const Kc=typeof window<"u"&&window.trustedTypes;if(Kc)try{Ia=Kc.createPolicy("vue",{createHTML:e=>e})}catch{}const wd=Ia?e=>Ia.createHTML(e):e=>e,I_="http://www.w3.org/2000/svg",L_="http://www.w3.org/1998/Math/MathML",as=typeof document<"u"?document:null,Gc=as&&as.createElement("template"),M_={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,r)=>{const n=t==="svg"?as.createElementNS(I_,e):t==="mathml"?as.createElementNS(L_,e):s?as.createElement(e,{is:s}):as.createElement(e);return e==="select"&&r&&r.multiple!=null&&n.setAttribute("multiple",r.multiple),n},createText:e=>as.createTextNode(e),createComment:e=>as.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>
vendor: 4,494 bytes, line 4
4{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>as.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,r,n,i){const o=s?s.previousSibling:t.lastChild;if(n&&(n===i||n.nextSibling))for(;t.insertBefore(n.cloneNode(!0),s),!(n===i||!(n=n.nextSibling)););else{Gc.innerHTML=wd(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=Gc.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,s)}return[o?o.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},bs="transition",zr="animation",Fn=Symbol("_vtc"),Ed={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},F_=ze({},Oh,Ed),$_=e=>(e.displayName="Transition",e.props=F_,e),N_=$_((e,{slots:t})=>Tt(Av,D_(e),t)),Fs=(e,t=[])=>{re(e)?e.forEach(s=>s(...t)):e&&e(...t)},zc=e=>e?re(e)?e.some(t=>t.length>1):e.length>1:!1;function D_(e){const t={};for(const O in e)O in Ed||(t[O]=e[O]);if(e.css===!1)return t;const{name:s="v",type:r,duration:n,enterFromClass:i=`${s}-enter-from`,enterActiveClass:o=`${s}-enter-active`,enterToClass:a=`${s}-enter-to`,appearFromClass:l=i,appearActiveClass:u=o,appearToClass:c=a,leaveFromClass:f=`${s}-leave-from`,leaveActiveClass:d=`${s}-leave-active`,leaveToClass:h=`${s}-leave-to`}=e,g=H_(n),p=g&&g[0],R=g&&g[1],{onBeforeEnter:E,onEnter:w,onEnterCancelled:v,onLeave:m,onLeaveCancelled:y,onBeforeAppear:x=E,onAppear:k=w,onAppearCancelled:T=v}=t,S=(O,D,J,ne)=>{O._enterCancelled=ne,$s(O,D?c:a),$s(O,D?u:o),J&&J()},C=(O,D)=>{O._isLeaving=!1,$s(O,f),$s(O,h),$s(O,d),D&&D()},N=O=>(D,J)=>{const ne=O?k:w,V=()=>S(D,O,J);Fs(ne,[D,V]),Jc(()=>{$s(D,O?l:i),ss(D,O?c:a),zc(ne)||Yc(D,r,p,V)})};return ze(t,{onBeforeEnter(O){Fs(E,[O]),ss(O,i),ss(O,o)},onBeforeAppear(O){Fs(x,[O]),ss(O,l),ss(O,u)},onEnter:N(!1),onAppear:N(!0),onLeave(O,D){O._isLeaving=!0;const J=()=>C(O,D);ss(O,f),O._enterCancelled?(ss(O,d),Zc(O)):(Zc(O),ss(O,d)),Jc(()=>{O._isLeaving&&($s(O,f),ss(O,h),zc(m)||Yc(O,r,R,J))}),Fs(m,[O,J])},onEnterCancelled(O){S(O,!1,void 0,!0),Fs(v,[O])},onAppearCancelled(O){S(O,!0,void 0,!0),Fs(T,[O])},onLeaveCancelled(O){C(O),Fs(y,[O])}})}function H_(e){if(e==null)return null;if(ge(e))return[Do(e.enter),Do(e.leave)];{const t=Do(e);return[t,t]}}function Do(e){return sh(e)}function ss(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.add(s)),(e[Fn]||(e[Fn]=new Set)).add(t)}function $s(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const s=e[Fn];s&&(s.delete(t),s.size||(e[Fn]=void 0))}function Jc(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let j_=0;function Yc(e,t,s,r){const n=e._endId=++j_,i=()=>{n===e._endId&&r()};if(s!=null)return setTimeout(i,s);const{type:o,timeout:a,propCount:l}=U_(e,t);if(!o)return r();const u=o+"end";let c=0;const f=()=>{e.removeEventListener(u,d),i()},d=h=>{h.target===e&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},a+1),e.addEventListener(u,d)}function U_(e,t){const s=window.getComputedStyle(e),r=g=>(s[g]||"").split(", "),n=r(`${bs}Delay`),i=r(`${bs}Duration`),o=Xc(n,i),a=r(`${zr}Delay`),l=r(`${zr}Duration`),u=Xc(a,l);let c=null,f=0,d=0;t===bs?o>0&&(c=bs,f=o,d=i.length):t===zr?u>0&&(c=zr,f=u,d=l.length):(f=Math.max(o,u),c=f>0?o>u?bs:zr:null,d=c?c===bs?i.length:l.length:0);const h=c===bs&&/\b(?:transform|all)(?:,|$)/.test(r(`${bs}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:h}}function Xc(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((s,r)=>Qc(s)+Qc(e[r])))}function Qc(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Zc(e){return(e?e.ownerDocument:document).body.offsetHeight}function B_(e,t,s){const r=e[Fn];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const eu=Symbol("_vod"),V_=Symbol("_vsh"),W_=Symbol(""),q_=/(?:^|;)\s*display\s*:/;function K_(e,t,s){const r=e.style,n=Pe(s);let i=!1;if(s&&!n){if(t)if(Pe(t))for(const o of t.split(";")){const a=o.slice(0,o.indexOf(":")).trim();s[a]==null&&gi(r,a,"")}else for(const o in t)s[o]==null&&gi(r,o,"");for(const o in s)o==="display"&&(i=!0),gi(r,o,s[o])}else if(n){if(t!==s){const o=r[W_];o&&(s+=";"+o),r.cssText=s,i=q_.test(s)}}else t&&e.removeAttribute("style");
4eu in e&&(e[eu]=i?r.display:"",e[V_]&&(r.display="none"))}const tu=/\s*!important$/;function gi(e,t,s){if(re(s))s.forEach(r=>gi(e,t,r));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const r=G_(e,t);tu.test(s)?e.setProperty(tr(r),s.replace(tu,""),"important"):e[r]=s}}const su=["Webkit","Moz","ms"],Ho={};function G_(e,t){const s=Ho[t];if(s)return s;let r=ct(t);if(r!=="filter"&&r in e)return Ho[t]=r;r=lo(r);for(let n=0;n<su.length;n++){const i=su[n]+r;if(i in e)return Ho[t]=i}return t}const ru="http://www.w3.org/1999/xlink";function nu(e,t,s,r,n,i=jg(t)){r&&t.startsWith("xlink:")?s==null?e.removeAttributeNS(ru,t.slice(6,t.length)):e.setAttributeNS(ru,t,s):s==null||i&&!rh(s)?e.removeAttribute(t):e.setAttribute(t,i?"":At(s)?String(s):s)}function iu(e,t,s,r,n){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?wd(s):s);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const a=i==="OPTION"?e.getAttribute("value")||"":e.value,l=s==null?e.type==="checkbox"?"on":"":String(s);(a!==l||!("_value"in e))&&(e.value=l),s==null&&e.removeAttribute(t),e._value=s;return}let o=!1;if(s===""||s==null){const a=typeof e[t];a==="boolean"?s=rh(s):s==null&&a==="string"?(s="",o=!0):a==="number"&&(s=0,o=!0)}try{e[t]=s}catch{}o&&e.removeAttribute(n||t)}function z_(e,t,s,r){e.addEventListener(t,s,r)}function J_(e,t,s,r){e.removeEventListener(t,s,r)}const ou=Symbol("_vei");function Y_(e,t,s,r,n=null){const i=e[ou]||(e[ou]={}),o=i[t];if(r&&o)o.value=r;else{const[a,l]=X_(t);if(r){const u=i[t]=em(r,n);z_(e,a,u,l)}else o&&(J_(e,a,o,l),i[t]=void 0)}}const au=/(?:Once|Passive|Capture)$/;function X_(e){let t;if(au.test(e)){t={};let r;for(;r=e.match(au);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):tr(e.slice(2)),t]}let jo=0;const Q_=Promise.resolve(),Z_=()=>jo||(Q_.then(()=>jo=0),jo=Date.now());function em(e,t){const s=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=s.attached)return;Ht(tm(r,s.value),t,5,[r])};return s.value=e,s.attached=Z_(),s}function tm(e,t){if(re(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(r=>n=>!n._stopped&&r&&r(n))}else return t}const lu=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,sm=(e,t,s,r,n,i)=>{const o=n==="svg";t==="class"?B_(e,r,o):t==="style"?K_(e,s,r):Vn(t)?io(t)||Y_(e,t,s,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):rm(e,t,r,o))?(iu(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&nu(e,t,r,o,i,t!=="value")):e._isVueCE&&(nm(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Pe(r)))?iu(e,ct(t),r,i,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),nu(e,t,r,o))};function rm(e,t,s,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&lu(t)&&ie(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const n=e.tagName;if(n==="IMG"||n==="VIDEO"||n==="CANVAS"||n==="SOURCE")return!1}return lu(t)&&Pe(s)?!1:t in e}function nm(e,t){const s=e._def.props;if(!s)return!1;const r=ct(t);return Array.isArray(s)?s.some(n=>ct(n)===r):Object.keys(s).some(n=>ct(n)===r)}const im=["ctrl","shift","alt","meta"],om={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)=>im.some(s=>e[`${s}Key`]&&!t.includes(s))},Kx=(e,t)=>{if(!e)return e;const s=e._withMods||(e._withMods={}),r=t.join(".");return s[r]||(s[r]=((n,...i)=>{for(let o=0;o<t.length;o++){const a=om[t[o]];if(a&&a(n,t))return}return e(n,...i)}))},xd=ze({patchProp:sm},M_);let wn,cu=!1;function am(){return wn||(wn=h_(xd))}function lm(){return wn=cu?wn:d_(xd),cu=!0,wn}const cm=((...e)=>{const t=am().createApp(...e),{mount:s}=t;return t.mount=r=>{const n=Sd(r);if(!n)return;const i=t._component;!ie(i)&&!i.render&&!i.template&&(i.template=n.innerHTML),n.nodeType===1&&(n.textContent="");const o=s(n,!1,kd(n));return n instanceof Element&&(n.removeAttribute("v-cloak"),n.setAttribute("data-v-app","")),o},t}),um=((...e)=>{const t=lm().createApp(...e),{mount:s}=t;return t.mount=r=>{const n=Sd(r);if(n)return s(n,!0,kd(n))},t});function kd(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Sd(e){return Pe(e)?document.querySelector(e):e}const fm=/"(?:_|\\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*:/,hm=/"(?: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*:/,dm=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function pm(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){gm(e);return}return t}function gm(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Mi(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const s=e.trim();if(s.length<=9)switch(s.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(!dm.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(fm.test(e)||hm.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,pm)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const Rd=/#/g,Pd=/&/g,vm=/\//g,_m=/=/g,mm=/\?/g,mo=/\+/g,ym=/%5e/gi,bm=/%60/gi,wm=/%7c/gi,Em=/%20/gi,xm=/%2f/gi,km=/%252f/gi;function Td(e){return encodeURI(""+e).replace(wm,"|")}function La(e){return Td(typeof e=="string"?e:JSON.stringify(e)).replace(mo,"%2B").replace(Em,"+").replace(Rd,"%23").replace(Pd,"%26").replace(bm,"`").replace(ym,"^").replace(vm,"%2F")}function Uo(e){return La(e).replace(_m,"%3D")}function Sm(e){return Td(e).replace(Rd,"%23").replace(mm,"%3F").replace(km,"%2F").replace(Pd,"%26").replace(mo,"%2B")}function $n(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Rm(e){return $n(e.replace(xm,"%252F"))}function Pm(e){return $n(e.replace(mo," "))}function Tm(e){return $n(e.replace(mo," "))}function Cd(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const s of e.split("&")){const r=s.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const n=Pm(r[1]);if(n==="__proto__"||n==="constructor")continue;const i=Tm(r[2]||"");t[n]===void 0?t[n]=i:Array.isArray(t[n])?t[n].push(i):t[n]=[t[n],i]}return t}function Cm(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(s=>`${Uo(e)}=${La(s)}`).join("&"):`${Uo(e)}=${La(t)}`:Uo(e)}function Am(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>
4Cm(t,e[t])).filter(Boolean).join("&")}const Om=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Im=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Lm=/^([/\\]\s*){2,}[^/\\]/,Mm=/^[\s\0]*(blob|data|javascript|vbscript):$/i,Fm=/\/$|\/\?|\/#/,$m=/^\.?\//;function sr(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Om.test(e):Im.test(e)||(t.acceptRelative?Lm.test(e):!1)}function Nm(e){return!!e&&Mm.test(e)}function Ma(e="",t){return t?Fm.test(e):e.endsWith("/")}function Fi(e="",t){if(!t)return(Ma(e)?e.slice(0,-1):e)||"/";if(!Ma(e,!0))return e||"/";let s=e,r="";const n=e.indexOf("#");n!==-1&&(s=e.slice(0,n),r=e.slice(n));const[i,...o]=s.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(o.length>0?`?${o.join("?")}`:"")+r}function Dm(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Ma(e,!0))return e||"/";let s=e,r="";const n=e.indexOf("#");if(n!==-1&&(s=e.slice(0,n),r=e.slice(n),!s))return r;const[i,...o]=s.split("?");return i+"/"+(o.length>0?`?${o.join("?")}`:"")+r}function Hm(e,t){if(Od(t)||sr(e))return e;const s=Fi(t);if(e.startsWith(s)){const r=e[s.length];if(!r||r==="/"||r==="?")return e}return ec(s,e)}function uu(e,t){if(Od(t))return e;const s=Fi(t);if(!e.startsWith(s))return e;const r=e[s.length];if(r&&r!=="/"&&r!=="?")return e;const n=e.slice(s.length);return n[0]==="/"?n:"/"+n}function Ad(e,t){const s=tc(e),r={...Cd(s.search),...t};return s.search=Am(r),Um(s)}function Od(e){return!e||e==="/"}function jm(e){return e&&e!=="/"}function ec(e,...t){let s=e||"";for(const r of t.filter(n=>jm(n)))if(s){const n=r.replace($m,"");s=Dm(s)+n}else s=r;return s}function Id(...e){const t=/\/(?!\/)/,s=e.filter(Boolean),r=[];let n=0;for(const o of s)if(!(!o||o==="/")){for(const[a,l]of o.split(t).entries())if(!(!l||l===".")){if(l===".."){if(r.length===1&&sr(r[0]))continue;r.pop(),n--;continue}if(a===1&&r[r.length-1]?.endsWith(":/")){r[r.length-1]+="/"+l;continue}r.push(l),n++}}let i=r.join("/");return n>=0?s[0]?.startsWith("/")&&!i.startsWith("/")?i="/"+i:s[0]?.startsWith("./")&&!i.startsWith("./")&&(i="./"+i):i="../".repeat(-1*n)+i,s[s.length-1]?.endsWith("/")&&!i.endsWith("/")&&(i+="/"),i}function Ld(e,t){return $n(Fi(e))===$n(Fi(t))}const Md=Symbol.for("ufo:protocolRelative");function tc(e="",t){const s=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(s){const[,f,d=""]=s;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!sr(e,{acceptRelative:!0}))return fu(e);const[,r="",n,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,o="",a=""]=i.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:u,hash:c}=fu(a);return{protocol:r.toLowerCase(),auth:n?n.slice(0,Math.max(0,n.length-1)):"",host:o,pathname:l,search:u,hash:c,[Md]:!r}}function fu(e=""){const[t="",s="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:s,hash:r}}function Um(e){const t=e.pathname||"",s=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",n=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[Md]?(e.protocol||"")+"//":"")+n+i+t+s+r}class Bm extends Error{constructor(t,s){super(t,s),this.name="FetchError",s?.cause&&!this.cause&&(this.cause=s.cause)}}function Vm(e){const t=e.error?.message||e.error?.toString()||"",s=e.request?.method||e.options?.method||"GET",r=e.request?.url||String(e.request)||"/",n=`[${s}] ${JSON.stringify(r)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",o=`${n}: ${i}${t?` ${t}`:""}`,a=new Bm(o,e.error?{cause:e.error}:void 0);for(const l of["request","options","response"])Object.defineProperty(a,l,{get(){return e[l]}});for(const[l,u]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,l,{get(){return e.response&&e.response[u]}});return a}const Wm=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function hu(e="GET"){return Wm.has(e.toUpperCase())}function qm(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer||e instanceof FormData||e instanceof URLSearchParams?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const Km=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Gm=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function zm(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Gm.test(t)?"json":t==="text/event-stream"?"stream":Km.has(t)||t.startsWith("text/")?"text":"blob"}function Jm(e,t,s,r){const n=Ym(t?.headers??e?.headers,s?.headers,r);let i;return(s?.query||s?.params||t?.params||t?.query)&&(i={...s?.params,...s?.query,...t?.params,...t?.query}),{...s,...t,query:i,params:i,headers:n}}
4function Ym(e,t,s){if(!t)return new s(e);const r=new s(t);if(e)for(const[n,i]of Symbol.iterator in e||Array.isArray(e)?e:new s(e))r.set(n,i);return r}async function si(e,t){if(t)if(Array.isArray(t))for(const s of t)await s(e);else await t(e)}const Xm=new Set([408,409,425,429,500,502,503,504]),Qm=new Set([101,204,205,304]);function Fd(e={}){const{fetch:t=globalThis.fetch,Headers:s=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function n(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=hu(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):Xm.has(f))){const d=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return d>0&&await new Promise(h=>setTimeout(h,d)),i(a.request,{...a.options,retry:c-1})}}const u=Vm(a);throw Error.captureStackTrace&&Error.captureStackTrace(u,i),u}const i=async function(l,u={}){const c={request:l,options:Jm(l,u,e.defaults,s),response:void 0,error:void 0};if(c.options.method&&(c.options.method=c.options.method.toUpperCase()),c.options.onRequest&&(await si(c,c.options.onRequest),c.options.headers instanceof s||(c.options.headers=new s(c.options.headers||{}))),typeof c.request=="string"&&(c.options.baseURL&&(c.request=Hm(c.request,c.options.baseURL)),c.options.query&&(c.request=Ad(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&&hu(c.options.method))if(qm(c.options.body)){const h=c.options.headers.get("content-type");typeof c.options.body!="string"&&(c.options.body=h==="application/x-www-form-urlencoded"?new URLSearchParams(c.options.body).toString():JSON.stringify(c.options.body)),h||c.options.headers.set("content-type","application/json"),c.options.headers.has("accept")||c.options.headers.set("accept","application/json")}else("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 h=new r;f=setTimeout(()=>{const g=new Error("[TimeoutError]: The operation was aborted due to timeout");g.name="TimeoutError",g.code=23,h.abort(g)},c.options.timeout),c.options.signal=h.signal}try{c.response=await t(c.request,c.options)}catch(h){return c.error=h,c.options.onRequestError&&await si(c,c.options.onRequestError),await n(c)}finally{f&&clearTimeout(f)}if((c.response.body||c.response._bodyInit)&&!Qm.has(c.response.status)&&c.options.method!=="HEAD"){const h=(c.options.parseResponse?"json":c.options.responseType)||zm(c.response.headers.get("content-type")||"");switch(h){case"json":{const g=await c.response.text(),p=c.options.parseResponse||Mi;c.response._data=p(g);break}case"stream":{c.response._data=c.response.body||c.response._bodyInit;break}default:c.response._data=await c.response[h]()}}return c.options.onResponse&&await si(c,c.options.onResponse),!c.options.ignoreResponseError&&c.response.status>=400&&c.response.status<600?(c.options.onResponseError&&await si(c,c.options.onResponseError),await n(c)):c.response},o=async function(l,u){return(await i(l,u))._data};return o.raw=i,o.native=(...a)=>t(...a),o.create=(a={},l={})=>Fd({...e,...l,defaults:{...e.defaults,...l.defaults,...a}}),o}const $i=(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")})(),Zm=$i.fetch?(...e)=>$i.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),ey=$i.Headers,ty=$i.AbortController,sy=Fd({fetch:Zm,Headers:ey,AbortController:ty}),ry=sy,ny=()=>window?.__NUXT__?.config||{},sc=()=>ny().app,iy=()=>sc().baseURL,oy=()=>sc().buildAssetsDir,rc=(...e)=>Id($d(),oy(),...e),$d=(...e)=>{const t=sc(),s=t.cdnURL||t.baseURL;return e.length?Id(s,...e):s};globalThis.__buildAssetsURL=rc,globalThis.__publicAssetsURL=$d;globalThis.$fetch||(globalThis.$fetch=ry.create({baseURL:iy()}));"global"in globalThis||(globalThis.global=globalThis);function Fa(e,t={},s){for(const r in e){const n=e[r],i=s?`${s}:${r}`:r;typeof n=="object"&&n!==null?Fa(n,t,i):typeof n=="function"&&(t[i]=n)}return t}const ay={run:e=>e()},ly=()=>ay,Nd=typeof console.createTask<"u"?console.createTask:ly;function cy(e,t){const s=t.shift(),r=Nd(s);return e.reduce((n,i)=>n.then(()=>r.run(()=>i(...t))),Promise.resolve())}function uy(e,t){const s=t.shift(),r=Nd(s);return Promise.all(e.map(n=>r.run(()=>n(...t))))}function Bo(e,t){for(const s of[...e])s(t)}let fy=class{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,s,r={}){if(!t||typeof s!="function")return()=>{};const n=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!r.allowDeprecated){let o=i.message;o||(o=`${n} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(o)||
4(console.warn(o),this._deprecatedMessages.add(o))}if(!s.name)try{Object.defineProperty(s,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(s),()=>{s&&(this.removeHook(t,s),s=void 0)}}hookOnce(t,s){let r,n=(...i)=>(typeof r=="function"&&r(),r=void 0,n=void 0,s(...i));return r=this.hook(t,n),r}removeHook(t,s){if(this._hooks[t]){const r=this._hooks[t].indexOf(s);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,s){this._deprecatedHooks[t]=typeof s=="string"?{to:s}:s;const r=this._hooks[t]||[];delete this._hooks[t];for(const n of r)this.hook(t,n)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const s in t)this.deprecateHook(s,t[s])}addHooks(t){const s=Fa(t),r=Object.keys(s).map(n=>this.hook(n,s[n]));return()=>{for(const n of r.splice(0,r.length))n()}}removeHooks(t){const s=Fa(t);for(const r in s)this.removeHook(r,s[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...s){return s.unshift(t),this.callHookWith(cy,t,...s)}callHookParallel(t,...s){return s.unshift(t),this.callHookWith(uy,t,...s)}callHookWith(t,s,...r){const n=this._before||this._after?{name:s,args:r,context:{}}:void 0;this._before&&Bo(this._before,n);const i=t(s in this._hooks?[...this._hooks[s]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&n&&Bo(this._after,n)}):(this._after&&n&&Bo(this._after,n),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const s=this._before.indexOf(t);s!==-1&&this._before.splice(s,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const s=this._after.indexOf(t);s!==-1&&this._after.splice(s,1)}}}};function hy(){return new fy}function dy(e={}){let t,s=!1;const r=o=>{if(t&&t!==o)throw new Error("Context conflict")};let n;if(e.asyncContext){const o=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;o?n=new o:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const i=()=>{if(n){const o=n.getStore();if(o!==void 0)return o}return t};return{use:()=>{const o=i();if(o===void 0)throw new Error("Context is not available");return o},tryUse:()=>i(),set:(o,a)=>{a||r(o),t=o,s=!0},unset:()=>{t=void 0,s=!1},call:(o,a)=>{r(o),t=o;try{return n?n.run(o,a):a()}finally{s||(t=void 0)}},async callAsync(o,a){t=o;const l=()=>{t=o},u=()=>t===o?l:void 0;$a.add(u);try{const c=n?n.run(o,a):a();return s||(t=void 0),await c}finally{$a.delete(u)}}}}function py(e={}){const t={};return{get(s,r={}){return t[s]||(t[s]=dy({...e,...r})),t[s]}}}const Ni=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},du="__unctx__",gy=Ni[du]||(Ni[du]=py()),vy=(e,t={})=>gy.get(e,t),pu="__unctx_async_handlers__",$a=Ni[pu]||(Ni[pu]=new Set);function En(e){const t=[];for(const n of $a){const i=n();i&&t.push(i)}const s=()=>{for(const n of t)n()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(n=>{throw s(),n})),[r,s]}const gu=!1,_y=!1,zx={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},Jx={value:null,errorValue:null,deep:!0},my=null,Yx={},yy="#__nuxt",Dd="nuxt-app",vu=36e5,by="vite:preloadError";function Hd(e=Dd){return vy(e,{asyncContext:!1})}const wy="__nuxt_plugin";function Ey(e){let t=0;const s={_id:e.id||Dd||"nuxt-app",_scope:Vg(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.21.2"},get vue(){return s.vueApp.version}},payload:hs({...e.ssrContext?.payload||{},data:hs({}),state:Ls({}),once:new Set,_errors:hs({})}),static:{data:{}},runWithContext(n){return s._scope.active&&!ah()?s._scope.run(()=>_u(s,n)):_u(s,n)},isHydrating:!0,deferHydration(){if(!s.isHydrating)return()=>{};t++;let n=!1;return()=>{if(!n&&(n=!0,t--,t===0))return s.isHydrating=!1,s.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:hs({}),_payloadRevivers:{},...e};{const n=window.__NUXT__;if(n)for(const i in n)switch(i){case"data":case"state":case"_errors":Object.assign(s.payload[i],n[i]);break;default:s.payload[i]=n[i]}}
4s.hooks=hy(),s.hook=s.hooks.hook,s.callHook=s.hooks.callHook,s.provide=(n,i)=>{const o="$"+n;ri(s,o,i),ri(s.vueApp.config.globalProperties,o,i)},ri(s.vueApp,"$nuxt",s),ri(s.vueApp.config.globalProperties,"$nuxt",s);{window.addEventListener(by,i=>{s.callHook("app:chunkError",{error:i.payload}),i.payload.message.includes("Unable to preload CSS")&&i.preventDefault()}),window.useNuxtApp||=Ze;const n=s.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});s.hook("app:mounted",n)}const r=s.payload.config;return s.provide("config",r),s}function xy(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function ky(e,t){if(typeof t=="function"){const{provide:s}=await e.runWithContext(()=>t(e))||{};if(s&&typeof s=="object")for(const r in s)e.provide(r,s[r])}}async function Sy(e,t){const s=new Set,r=[],n=[];let i,o=0;async function a(l){const u=l.dependsOn?.filter(c=>t.some(f=>f._name===c)&&!s.has(c))??[];if(u.length>0)r.push([new Set(u),l]);else{const c=ky(e,l).then(async()=>{l._name&&(s.add(l._name),await Promise.all(r.map(async([f,d])=>{f.has(l._name)&&(f.delete(l._name),f.size===0&&(o++,await a(d)))})))}).catch(f=>{if(!l.parallel&&!e.payload.error)throw f;i||=f});l.parallel?n.push(c):await c}}for(const l of t)xy(e,l);for(const l of t)await a(l);if(await Promise.all(n),o)for(let l=0;l<o;l++)await Promise.all(n);if(i)throw e.payload.error||i}function es(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[wy]:!0,_name:t})}function _u(e,t,s){const r=()=>t();return Hd(e._id).set(e),e.vueApp.runWithContext(r)}function Ry(e){let t;return Kl()&&(t=Is()?.appContext.app.$nuxt),t||=Hd(e).tryUse(),t||null}function Ze(e){const t=Ry(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function zn(e){return Ze().$config}function ri(e,t,s){Object.defineProperty(e,t,{get:()=>s})}function Vo(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 Na(e,t,s=".",r){if(!Vo(t))return Na(e,{},s,r);const n=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const o=e[i];o!=null&&(r&&r(n,i,o,s)||(Array.isArray(o)&&Array.isArray(n[i])?n[i]=[...o,...n[i]]:Vo(o)&&Vo(n[i])?n[i]=Na(o,n[i],(s?`${s}.`:"")+i.toString(),r):n[i]=o))}return n}function Py(e){return(...t)=>t.reduce((s,r)=>Na(s,r,"",e),{})}const jd=Py();function Ty(e,t){try{return t in e}catch{return!1}}class mu extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(t,s={}){super(t,s),s.cause&&!this.cause&&(this.cause=s.cause)}toJSON(){const t={message:this.message,statusCode:Da(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Ud(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}function Cy(e){if(typeof e=="string")return new mu(e);if(Ay(e))return e;const t=new mu(e.message??e.statusMessage??"",{cause:e.cause||e});if(Ty(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=Da(e.statusCode,t.statusCode):e.status&&(t.statusCode=Da(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const s=t.statusMessage;Ud(t.statusMessage)!==s&&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 Ay(e){return e?.constructor?.__h3_error__===!0}const Oy=/[^\u0009\u0020-\u007E]/g;function Ud(e=""){return e.replace(Oy,"")}function Da(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Iy=Symbol("layout-meta"),yo=Symbol("route");import.meta.url.replace(/\/app\/.*$/,"/");const Et=()=>Ze()?.$router,nc=()=>Kl()?bt(yo,Ze()._route):Ze()._route;const Ly=()=>{try{if(Ze()._processingMiddleware)return!0}catch{return!1}return!1},Xx=(e,t)=>{e||="/";const s=typeof e=="string"?e:"path"in e?My(e):Et().resolve(e).href;
4if(t?.open){const{target:u="_blank",windowFeatures:c={}}=t.open,f=[];for(const[d,h]of Object.entries(c))h!==void 0&&f.push(`${d.toLowerCase()}=${h}`);return open(s,u,f.join(", ")),Promise.resolve()}const r=sr(s,{acceptRelative:!0}),n=t?.external||r;if(n){if(!t?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:u}=new URL(s,window.location.href);if(u&&Nm(u))throw new Error(`Cannot navigate to a URL with '${u}' protocol.`)}const i=Ly();if(!n&&i){if(t?.replace){if(typeof e=="string"){const{pathname:u,search:c,hash:f}=tc(e);return{path:u,...c&&{query:Cd(c)},...f&&{hash:f},replace:!0}}return{...e,replace:!0}}return e}const o=Et(),a=Ze();if(n)return a._scope.stop(),t?.replace?location.replace(s):location.href=s,i?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve();const l=typeof e=="string"?Fy(e):e;return t?.replace?o.replace(l):o.push(l)};function My(e){return Ad(e.path||"",e.query||{})+(e.hash||"")}function Fy(e){const t=tc(e);return Sm(Rm(t.pathname))+t.search+t.hash}const Bd="__nuxt_error",bo=()=>gv(Ze().payload,"error"),Bs=e=>{const t=Xs(e);try{const s=bo();Ze().hooks.callHook("app:error",t),s.value||=t}catch{throw t}return t},$y=async(e={})=>{const t=Ze(),s=bo();t.callHook("app:error:cleared",e),e.redirect&&await Et().replace(e.redirect),s.value=my},Vd=e=>!!e&&typeof e=="object"&&Bd in e,Xs=e=>{typeof e!="string"&&e.statusText&&(e.message??=e.statusText);const t=Cy(e);return Object.defineProperty(t,Bd,{value:!0,configurable:!1,writable:!1}),Object.defineProperty(t,"status",{get:()=>t.statusCode,configurable:!0}),Object.defineProperty(t,"statusText",{get:()=>t.statusMessage,configurable:!0}),t};function Ny(e){const t=Hy(e),s=new ArrayBuffer(t.length),r=new DataView(s);for(let n=0;n<s.byteLength;n++)r.setUint8(n,t.charCodeAt(n));return s}const Dy="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function Hy(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",s=0,r=0;for(let n=0;n<e.length;n++)s<<=6,s|=Dy.indexOf(e[n]),r+=6,r===24&&(t+=String.fromCharCode((s&16711680)>>16),t+=String.fromCharCode((s&65280)>>8),t+=String.fromCharCode(s&255),s=r=0);return r===12?(s>>=4,t+=String.fromCharCode(s)):r===18&&(s>>=2,t+=String.fromCharCode((s&65280)>>8),t+=String.fromCharCode(s&255)),t}const jy=-1,Uy=-2,By=-3,Vy=-4,Wy=-5,qy=-6,Ky=-7;function Gy(e,t){return zy(JSON.parse(e),t)}function zy(e,t){if(typeof e=="number")return i(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const s=e,r=Array(s.length);let n=null;function i(o,a=!1){if(o===jy)return;if(o===By)return NaN;if(o===Vy)return 1/0;if(o===Wy)return-1/0;if(o===qy)return-0;if(a||typeof o!="number")throw new Error("Invalid input");if(o in r)return r[o];const l=s[o];if(!l||typeof l!="object")r[o]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const u=l[0],c=t&&Object.hasOwn(t,u)?t[u]:void 0;if(c){let f=l[1];if(typeof f!="number"&&(f=s.push(l[1])-1),n??=new Set,n.has(f))throw new Error("Invalid circular reference");return n.add(f),r[o]=c(i(f)),n.delete(f),r[o]}switch(u){case"Date":r[o]=new Date(l[1]);break;case"Set":const f=new Set;r[o]=f;for(let p=1;p<l.length;p+=1)f.add(i(l[p]));break;case"Map":const d=new Map;r[o]=d;for(let p=1;p<l.length;p+=2)d.set(i(l[p]),i(l[p+1]));break;case"RegExp":r[o]=new RegExp(l[1],l[2]);break;case"Object":const h=Object(l[1]);if(Object.hasOwn(h,"__proto__"))throw new Error("Cannot parse an object with a `__proto__` property");r[o]=h;break;case"BigInt":r[o]=BigInt(l[1]);break;case"null":const g=Object.create(null);r[o]=g;for(let p=1;p<l.length;p+=2){if(l[p]==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");g[l[p]]=i(l[p+1])}break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{if(s[l[1]][0]!=="ArrayBuffer")throw new Error("Invalid data");const p=globalThis[u],R=i(l[1]),E=new p(R);r[o]=l[2]!==void 0?E.subarray(l[2],l[3]):E;break}case"ArrayBuffer":{const p=l[1];if(typeof p!="string")throw new Error("Invalid ArrayBuffer encoding");const R=Ny(p);r[o]=R;break}case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{const p=u.slice(9);r[o]=Temporal[p].from(l[1]);break}case"URL":{const p=new URL(l[1]);r[o]=p;break}case"URLSearchParams":{const p=new URLSearchParams(l[1]);r[o]=p;break}default:throw new Error(`Unknown type ${u}`)}}else if(l[0]===Ky){const u=l[1];if(!Number.isInteger(u)||u<0)throw new Error("Invalid input");const c=new Array(u);r[o]=c;for(let f=2;f<l.length;f+=2){const d=l[f];if(!Number.isInteger(d)||d<0||d>=u)throw new Error("Invalid input");c[d]=i(l[f+1])}}else{const u=new Array(l.length);r[o]=u;for(let c=0;c<l.length;c+=1){const f=l[c];f!==Uy&&(u[c]=i(f))}}else{const u={};r[o]=u;
4for(const c of Object.keys(l)){if(c==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");const f=l[c];u[c]=i(f)}}return r[o]}return i(0)}const Jy=new Set(["link","style","script","noscript"]),Yy=new Set(["title","titleTemplate","script","style","noscript"]),Ha=new Set(["base","meta","link","style","script","noscript"]),Xy=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),Qy=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Zy=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),eb=new Set(["templateParams","htmlAttrs","bodyAttrs"]),tb=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]);function ja(e,t={},s){for(const r in e){const n=e[r],i=s?`${s}:${r}`:r;typeof n=="object"&&n!==null?ja(n,t,i):typeof n=="function"&&(t[i]=n)}return t}const Wd=(()=>{if(console.createTask)return console.createTask;const e={run:t=>t()};return()=>e})();function qd(e,t,s,r){for(let n=s;n<e.length;n+=1)try{const i=r?r.run(()=>e[n](...t)):e[n](...t);if(i instanceof Promise)return i.then(()=>qd(e,t,n+1,r))}catch(i){return Promise.reject(i)}}function sb(e,t,s){if(e.length>0)return qd(e,t,0,Wd(s))}function rb(e,t,s){if(e.length>0){const r=Wd(s);return Promise.all(e.map(n=>r.run(()=>n(...t))))}}function Wo(e,t){for(const s of[...e])s(t)}var nb=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;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(e,t,s={}){if(!e||typeof t!="function")return()=>{};const r=e;let n;for(;this._deprecatedHooks[e];)n=this._deprecatedHooks[e],e=n.to;if(n&&!s.allowDeprecated){let i=n.message;i||(i=`${r} hook has been deprecated`+(n.to?`, please use ${n.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let s,r=(...n)=>(typeof s=="function"&&s(),s=void 0,r=void 0,t(...n));return s=this.hook(e,r),s}removeHook(e,t){const s=this._hooks[e];if(s){const r=s.indexOf(t);r!==-1&&s.splice(r,1),s.length===0&&(this._hooks[e]=void 0)}}clearHook(e){this._hooks[e]=void 0}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t=="string"?{to:t}:t;const s=this._hooks[e]||[];this._hooks[e]=void 0;for(const r of s)this.hook(e,r)}deprecateHooks(e){for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=ja(e),s=Object.keys(t).map(r=>this.hook(r,t[r]));return()=>{for(const r of s)r();s.length=0}}removeHooks(e){const t=ja(e);for(const s in t)this.removeHook(s,t[s])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(sb,e,t)}callHookParallel(e,...t){return this.callHookWith(rb,e,t)}callHookWith(e,t,s){const r=this._before||this._after?{name:t,args:s,context:{}}:void 0;this._before&&Wo(this._before,r);const n=e(this._hooks[t]?[...this._hooks[t]]:[],s,t);return n instanceof Promise?n.finally(()=>{this._after&&r&&Wo(this._after,r)}):(this._after&&r&&Wo(this._after,r),n)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function ib(){return new nb}const ob=["name","property","http-equiv"],ab=new Set(["viewport","description","keywords","robots"]);function Kd(e){const t=e.split(":");return t.length?tb.has(t[1]):!1}function Ua(e){const{props:t,tag:s}=e;if(Qy.has(s))return s;if(s==="link"&&t.rel==="canonical")return"canonical";if(s==="link"&&t.rel==="alternate"){const r=t.hreflang||t.type;if(r)return`alternate:${r}`}if(t.charset)return"charset";if(e.tag==="meta"){for(const r of ob)if(t[r]!==void 0){const n=t[r],i=n&&typeof n=="string"&&n.includes(":"),o=n&&ab.has(n),l=!(i||o)&&e.key?`:key:${e.key}`:"";return`${s}:${n}${l}`}}if(e.key)return`${s}:key:${e.key}`;if(t.id)return`${s}:id:${t.id}`;if(s==="link"&&t.rel==="alternate")return`alternate:${t.href||""}`;if(Yy.has(s)){const r=e.textContent||e.innerHTML;if(r)return`${s}:content:${r}`}}function Gd(e){const t=e._h||e._d;if(t)return t;const s=e.textContent||e.innerHTML;return s||`${e.tag}:${Object.entries(e.props).map(([r,n])=>`${r}:${String(n)}`).join(",")}`}function Di(e,t,s){typeof e==="function"&&(!s||s!=="titleTemplate"&&!(s[0]==="o"&&s[1]==="n"))&&(e=e());const n=t?t(s,e):e;if(Array.isArray(n))return n.map(i=>Di(i,t));if(n?.constructor===Object){const i={};for(const o of Object.keys(n))i[o]=Di(n[o],t,o);return i}return n}function lb(e,t){const s=e==="style"?new Map:new Set;function r(n){if(n==null||n===void 0)return;const i=String(n).trim();if(i)if(e==="style"){const[o,...a]=i.split(":").map(l=>l?l.trim():"");o&&a.length&&s.set(o,a.join(":"))}
4else i.split(" ").filter(Boolean).forEach(o=>s.add(o))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(n=>r(n)):t&&typeof t=="object"&&Object.entries(t).forEach(([n,i])=>{i&&i!=="false"&&(e==="style"?s.set(String(n).trim(),String(i)):r(n))}),s}function zd(e,t){if(e.props=e.props||{},!t)return e;if(e.tag==="templateParams")return e.props=t,e;const s=Ha.has(e.tag)||e.tag==="htmlAttrs"||e.tag==="bodyAttrs";return Object.entries(t).forEach(([r,n])=>{if(r==="__proto__"||r==="constructor"||r==="prototype")return;if(n===null){e.props[r]=null;return}if(r==="class"||r==="style"){e.props[r]=lb(r,n);return}if(Zy.has(r)){if((r==="textContent"||r==="innerHTML")&&typeof n=="object"){let u=t.type;if(t.type||(u="application/json"),!u?.endsWith("json")&&u!=="speculationrules")return;t.type=u,e.props.type=u,e[r]=JSON.stringify(n)}else e[r]=n;return}const i=r.startsWith("data-"),o=s&&!i?r.toLowerCase():r,a=String(n),l=e.tag==="meta"&&o==="content";a==="true"||a===""?e.props[o]=i||l?a:!0:!n&&i&&a==="false"?e.props[o]="false":n!==void 0&&(e.props[o]=n)}),e}function cb(e,t){const s=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=zd({tag:e,props:{}},s);return r.key&&Jy.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(n=>({...r,props:{...r.props,content:n}})):r}function ub(e,t){if(!e)return[];typeof e=="function"&&(e=e());const s=(n,i)=>{for(let o=0;o<t.length;o++)i=t[o](n,i);return i};e=s(void 0,e);const r=[];return e=Di(e,s),Object.entries(e||{}).forEach(([n,i])=>{if(i!==void 0)for(const o of Array.isArray(i)?i:[i])r.push(cb(n,o))}),r.flat()}const Ba=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,yu={base:-10,title:10},fb={critical:-8,high:-1,low:2},bu={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}},hb=/@import/,Jr=e=>e===""||e===!0;function db(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let s=100;const r=fb[t.tagPriority]||0,n=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:bu;if(t.tag in yu)s=yu[t.tag];else if(t.tag==="meta"){const i=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;i&&(s=bu.meta[i])}else if(t.tag==="link"&&t.props.rel)s=n.link[t.props.rel];else if(t.tag==="script"){const i=String(t.props.type);Jr(t.props.async)?s=n.script.async:t.props.src&&!Jr(t.props.defer)&&!Jr(t.props.async)&&i!=="module"&&!i.endsWith("json")||t.innerHTML&&!i.endsWith("json")?s=n.script.sync:(Jr(t.props.defer)&&t.props.src&&!Jr(t.props.async)||i==="module")&&(s=n.script.defer)}else t.tag==="style"&&(s=t.innerHTML&&hb.test(t.innerHTML)?n.style.imported:n.style.sync);return(s||100)+r}function wu(e,t){const s=typeof t=="function"?t(e):t,r=s.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,s),e.hooks.addHooks(s.hooks||{}))}function pb(e={}){const t=ib();t.addHooks(e.hooks||{});const s=!e.document,r=new Map,n=new Map,i=new Set,o={_entryCount:1,plugins:n,dirty:!1,resolvedOptions:e,hooks:t,ssr:s,entries:r,headEntries(){return[...r.values()]},use:a=>wu(o,a),push(a,l){const u={...l||{}};delete u.head;const c=u._index??o._entryCount++,f={_i:c,input:a,options:u},d={_poll(h=!1){o.dirty=!0,!h&&i.add(c),t.callHook("entries:updated",o)},dispose(){r.delete(c)&&o.invalidate()},patch(h){(!u.mode||u.mode==="server"&&s||u.mode==="client"&&!s)&&(f.input=h,r.set(c,f),d._poll())}};return d.patch(a),d},async resolveTags(){const a={tagMap:new Map,tags:[],entries:[...o.entries.values()]};for(await t.callHook("entries:resolve",a);i.size;){const d=i.values().next().value;i.delete(d);const h=r.get(d);if(h){const g={tags:ub(h.input,e.propResolvers||[]).map(p=>Object.assign(p,h.options)),entry:h};await t.callHook("entries:normalize",g),h._tags=g.tags.map((p,R)=>(p._w=db(o,p),p._p=(h._i<<10)+R,p._d=Ua(p),p._d||(p._h=Gd(p)),p))}}let l=!1;a.entries.flatMap(d=>(d._tags||[]).map(h=>({...h,props:{...h.props}}))).sort(Ba).reduce((d,h)=>{const g=h._d||h._h;if(!d.has(g))return d.set(g,h);const p=d.get(g);if((h?.tagDuplicateStrategy||(eb.has(h.tag)?"merge":null)||(h.key&&h.key===p.key?"merge":null))==="merge"){const E={...p.props};
4Object.entries(h.props).forEach(([w,v])=>E[w]=w==="style"?new Map([...p.props.style||new Map,...v]):w==="class"?new Set([...p.props.class||new Set,...v]):v),d.set(g,{...h,props:E})}else h._p>>10===p._p>>10&&h.tag==="meta"&&Kd(g)?(d.set(g,Object.assign([...Array.isArray(p)?p:[p],h],h)),l=!0):(h._w===p._w?h._p>p._p:h?._w<p?._w)&&d.set(g,h);return d},a.tagMap);const u=a.tagMap.get("title"),c=a.tagMap.get("titleTemplate");if(o._title=u?.textContent,c){const d=c?.textContent;if(o._titleTemplate=d,d){let h=typeof d=="function"?d(u?.textContent):d;typeof h=="string"&&!o.plugins.has("template-params")&&(h=h.replace("%s",u?.textContent||"")),u?h===null?a.tagMap.delete("title"):a.tagMap.set("title",{...u,textContent:h}):(c.tag="title",c.textContent=h)}}a.tags=Array.from(a.tagMap.values()),l&&(a.tags=a.tags.flat().sort(Ba)),await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a);const f=[];for(const d of a.tags){const{innerHTML:h,tag:g,props:p}=d;if(Xy.has(g)&&!(Object.keys(p).length===0&&!d.innerHTML&&!d.textContent)&&!(g==="meta"&&!p.content&&!p["http-equiv"]&&!p.charset)){if(g==="script"&&h){if(String(p.type).endsWith("json")){const R=typeof h=="string"?h:JSON.stringify(h);d.innerHTML=R.replace(/</g,"\\u003C")}else typeof h=="string"&&(d.innerHTML=h.replace(new RegExp(`</${g}`,"g"),`<\\/${g}`));d._d=Ua(d)}f.push(d)}}return f},invalidate(){for(const a of r.values())i.add(a._i);o.dirty=!0,t.callHook("entries:updated",o)}};return(e?.plugins||[]).forEach(a=>wu(o,a)),o.hooks.callHook("init",o),e.init?.forEach(a=>a&&o.push(a)),o}const qo="%separator";function gb(e,t,s=!1){let r;if(t==="s"||t==="pageTitle")r=e.pageTitle;else if(t.includes(".")){const n=t.indexOf(".");r=e[t.substring(0,n)]?.[t.substring(n+1)]}else r=e[t];if(r!==void 0)return s?(r||"").replace(/\\/g,"\\\\").replace(/</g,"\\u003C").replace(/"/g,'\\"'):r||""}function ni(e,t,s,r=!1){if(typeof e!="string"||!e.includes("%"))return e;let n=e;try{n=decodeURI(e)}catch{}const i=n.match(/%\w+(?:\.\w+)?/g);if(!i)return e;const o=e.includes(qo);return e=e.replace(/%\w+(?:\.\w+)?/g,a=>{if(a===qo||!i.includes(a))return a;const l=gb(t,a.slice(1),r);return l!==void 0?l:a}).trim(),o&&(e=e.split(qo).map(a=>a.trim()).filter(a=>a!=="").join(s?` ${s} `:" ")),e}const Eu=e=>e.includes(":key")?e:e.split(":").join(":key:"),vb={key:"aliasSorting",hooks:{"tags:resolve":e=>{let t=!1;for(const s of e.tags){const r=s.tagPriority;if(!r)continue;const n=String(r);if(n.startsWith("before:")){const i=Eu(n.slice(7)),o=e.tagMap.get(i);o&&(typeof o.tagPriority=="number"&&(s.tagPriority=o.tagPriority),s._p=o._p-1,t=!0)}else if(n.startsWith("after:")){const i=Eu(n.slice(6)),o=e.tagMap.get(i);o&&(typeof o.tagPriority=="number"&&(s.tagPriority=o.tagPriority),s._p=o._p+1,t=!0)}}t&&(e.tags=e.tags.sort(Ba))}}},_b={key:"deprecations",hooks:{"entries:normalize":({tags:e})=>{for(const t of e)t.props.children&&(t.innerHTML=t.props.children,delete t.props.children),t.props.hid&&(t.key=t.props.hid,delete t.props.hid),t.props.vmid&&(t.key=t.props.vmid,delete t.props.vmid),t.props.body&&(t.tagPosition="bodyClose",delete t.props.body)}}};async function Va(e){if(typeof e==="function")return e;if(e instanceof Promise)return await e;if(Array.isArray(e))return await Promise.all(e.map(s=>Va(s)));if(e?.constructor===Object){const s={};for(const r of Object.keys(e))s[r]=await Va(e[r]);return s}return e}const mb={key:"promises",hooks:{"entries:resolve":async e=>{const t=[];for(const s in e.entries)e.entries[s]._promisesProcessed||t.push(Va(e.entries[s].input).then(r=>{e.entries[s].input=r,e.entries[s]._promisesProcessed=!0}));await Promise.all(t)}}},yb={meta:"content",link:"href",htmlAttrs:"lang"},bb=["innerHTML","textContent"],wb=e=>({key:"template-params",hooks:{"entries:normalize":t=>{const s=t.tags.filter(r=>r.tag==="templateParams"&&r.mode==="server")?.[0]?.props||{};Object.keys(s).length&&(e._ssrPayload={templateParams:{...e._ssrPayload?.templateParams||{},...s}})},"tags:resolve":({tagMap:t,tags:s})=>{const r=t.get("templateParams")?.props||{},n=r.separator||"|";delete r.separator,r.pageTitle=ni(r.pageTitle||e._title||"",r,n);for(const i of s){if(i.processTemplateParams===!1)continue;const o=yb[i.tag];if(o&&typeof i.props[o]=="string")i.props[o]=ni(i.props[o],r,n);else if(i.processTemplateParams||i.tag==="titleTemplate"||i.tag==="title")for(const a of bb)typeof i[a]=="string"&&(i[a]=ni(i[a],r,n,i.tag==="script"&&i.props.type.endsWith("json")))}e._templateParams=r,e._separator=n},"tags:afterResolve":({tagMap:t})=>{const s=t.get("title");s?.textContent&&s.processTemplateParams!==!1&&(s.textContent=ni(s.textContent,e._templateParams,e._separator))}}}),Eb=(e,t)=>
4je(t)?fv(t):t,Jd="usehead";function xb(e){return{install(s){s.config.globalProperties.$unhead=e,s.config.globalProperties.$head=e,s.provide(Jd,e)}}.install}function kb(){if(Kl()){const e=bt(Jd);if(e)return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function Qx(e,t={}){const s=t.head||kb();return s.ssr?s.push(e||{},t):Sb(s,e,t)}function Sb(e,t,s={}){const r=ps(!1);let n;return Sv(()=>{const o=r.value?{}:Di(t,Eb);n?n.patch(o):n=e.push(o,s)}),Is()&&(Gn(()=>{n.dispose()}),Nh(()=>{r.value=!0}),$h(()=>{r.value=!1})),n}const Rb=(e,t)=>[],Pb=e=>jd({},...Rb().map(t=>t.data).reverse()),Tb=Pb;let vi;function Cb(){return vi=$fetch(rc(`builds/meta/${zn().app.buildId}.json`),{responseType:"json"}),vi.catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),vi}function ic(){return vi||Cb()}function wo(e){const t=typeof e=="string"?e:e.path;try{return Tb(t)}catch(s){return console.error("[nuxt] Error matching route rules.",s),{}}}async function xu(e,t={}){if(await Ib(e)){const s=await Ob(e,t);return await Yd(s)||null}return null}const Ab="_payload.json";async function Ob(e,t={}){const s=new URL(e,"http://localhost");if(s.host!=="localhost"||sr(s.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=zn(),n=t.hash||(t.fresh?Date.now():r.app.buildId),i=r.app.cdnURL,o=i&&await Lb(e)?i:r.app.baseURL;return ec(o,s.pathname,Ab+(n?`?${n}`:""))}async function Yd(e){const t=fetch(e,{cache:"force-cache"}).then(s=>s.text().then(Zd));try{return await t}catch(s){console.warn("[nuxt] Cannot load payload ",e,s)}return null}function Xd(e){if(e.redirect)return!1;if(e.prerender)return!0}async function Qd(e){return e=e==="/"?e:e.replace(/\/$/,""),(await ic()).prerendered.includes(e)}async function Ib(e=nc().path){const t=wo({path:e});if(t.ssr===!1)return!1;const s=Xd(t);return s!==void 0?s:t.payload?!0:await Qd(e)}
4async function Lb(e=nc().path){const t=Xd(wo({path:e}));return t!==void 0?t:await Qd(e)}let Ns=null;async function Mb(){if(Ns)return Ns;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await Zd(e.textContent||""),s=e.dataset.src?await Yd(e.dataset.src):void 0;return Ns={...t,...s,...window.__NUXT__},Ns.config?.public&&(Ns.config.public=Ls(Ns.config.public)),Ns}async function Zd(e){return await Gy(e,Ze()._payloadRevivers)}function Fb(e,t){Ze()._payloadRevivers[e]=t}const $b=[["NuxtError",e=>Xs(e)],["EmptyShallowRef",e=>On(e==="_"?void 0:e==="0n"?BigInt(0):Mi(e))],["EmptyRef",e=>ps(e==="_"?void 0:e==="0n"?BigInt(0):Mi(e))],["ShallowRef",e=>On(e)],["ShallowReactive",e=>hs(e)],["Ref",e=>ps(e)],["Reactive",e=>Ls(e)]],Nb=es({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,s;for(const[r,n]of $b)Fb(r,n);Object.assign(e.payload,([t,s]=En(()=>e.runWithContext(Mb)),t=await t,s(),t)),window.__NUXT__=e.payload}});async function oc(e,t={}){const s=t.document||e.resolvedOptions.document;if(!s||!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 n=>{const i=new Map,o=new Promise(h=>{e.resolveTags().then(g=>{h(g.map(p=>{const R=i.get(p._d)||0,E={tag:p,id:(R?`${p._d}:${R}`:p._d)||p._h,shouldRender:!0};return p._d&&Kd(p._d)&&i.set(p._d,R+1),E}))})});let a=e._dom;if(!a){a={title:s.title,elMap:new Map().set("htmlAttrs",s.documentElement).set("bodyAttrs",s.body)};for(const h of["body","head"]){const g=s[h]?.children;for(const p of g){const R=p.tagName.toLowerCase();if(!Ha.has(R))continue;const E=zd({tag:R,props:{}},{innerHTML:p.innerHTML,...p.getAttributeNames().reduce((w,v)=>(w[v]=p.getAttribute(v),w),{})||{}});if(E.key=p.getAttribute("data-hid")||void 0,E._d=Ua(E)||Gd(E),a.elMap.has(E._d)){let w=1,v=E._d;for(;a.elMap.has(v);)v=`${E._d}:${w++}`;a.elMap.set(v,p)}else a.elMap.set(E._d,p)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function l(h,g,p){const R=`${h}:${g}`;a.sideEffects[R]=p,delete a.pendingSideEffects[R]}function u({id:h,$el:g,tag:p}){const R=p.tag.endsWith("Attrs");a.elMap.set(h,g),R||(p.textContent&&p.textContent!==g.textContent&&(g.textContent=p.textContent),p.innerHTML&&p.innerHTML!==g.innerHTML&&(g.innerHTML=p.innerHTML),l(h,"el",()=>{g?.remove(),a.elMap.delete(h)}));for(const E in p.props){if(!Object.prototype.hasOwnProperty.call(p.props,E))continue;const w=p.props[E];if(E.startsWith("on")&&typeof w=="function"){const m=g?.dataset;if(m&&m[`${E}fired`]){const y=E.slice(0,-5);w.call(g,new Event(y.substring(2)))}g.getAttribute(`data-${E}`)!==""&&((p.tag==="bodyAttrs"?s.defaultView:g).addEventListener(E.substring(2),w.bind(g)),g.setAttribute(`data-${E}`,""));continue}const v=`attr:${E}`;if(E==="class"){if(!w)continue;for(const m of w)R&&l(h,`${v}:${m}`,()=>g.classList.remove(m)),!g.classList.contains(m)&&g.classList.add(m)}else if(E==="style"){if(!w)continue;for(const[m,y]of w)l(h,`${v}:${m}`,()=>{g.style.removeProperty(m)}),g.style.setProperty(m,y)}else w!==!1&&w!==null&&(g.getAttribute(E)!==w&&g.setAttribute(E,w===!0?"":String(w)),R&&l(h,v,()=>g.removeAttribute(E)))}}const c=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},d=await o;for(const h of d){const{tag:g,shouldRender:p,id:R}=h;if(p){if(g.tag==="title"){s.title=g.textContent,l("title","",()=>s.title=a.title);continue}h.$el=h.$el||a.elMap.get(R),h.$el?u(h):Ha.has(g.tag)&&c.push(h)}}for(const h of c){const g=h.tag.tagPosition||"head";h.$el=s.createElement(h.tag.tag),u(h),f[g]=f[g]||s.createDocumentFragment(),f[g].appendChild(h.$el)}for(const h of d)await e.hooks.callHook("dom:renderTag",h,s,l);f.head&&s.head.appendChild(f.head),f.bodyOpen&&s.body.insertBefore(f.bodyOpen,s.body.firstChild),f.bodyClose&&s.body.appendChild(f.bodyClose);for(const h in a.pendingSideEffects)a.pendingSideEffects[h]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:d}),n()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function Db(e={}){const t=e.domOptions?.render||oc;e.document=e.document||(typeof window<"u"?document:void 0);const s=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return pb({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[s?JSON.parse(s):!1,...e.init||[]]})}function Hb(e,t){let s=0;return()=>{const r=++s;t(()=>{s===r&&e()})}}function jb(e={}){const t=Db({domOptions:{render:Hb(()=>oc(t),s=>setTimeout(s,0))},...e});return t.install=xb(t),t}const Ub={disableDefaults:!0,disableCapoSorting:!1,plugins:[_b,mb,wb,vb]},Bb=es({name:"nuxt:head",enforce:"pre",setup(e){const t=jb(Ub);e.vueApp.use(t);{let s=!0;const r=async()=>{s=!1,await oc(t)};t.hooks.hook("dom:beforeRender",n=>{n.shouldRender=!s}),e.hooks.hook("page:start",()=>{s=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}});const fr=typeof document<"u";function ep(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}
vendor: 21,768 bytes, line 4
4function Vb(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&ep(e.default)}const ve=Object.assign;function Ko(e,t){const s={};for(const r in t){const n=t[r];s[r]=jt(n)?n.map(e):e(n)}return s}const xn=()=>{},jt=Array.isArray;function ku(e,t){const s={};for(const r in e)s[r]=r in t?t[r]:e[r];return s}const tp=/#/g,Wb=/&/g,qb=/\//g,Kb=/=/g,Gb=/\?/g,sp=/\+/g,zb=/%5B/g,Jb=/%5D/g,rp=/%5E/g,Yb=/%60/g,np=/%7B/g,Xb=/%7C/g,ip=/%7D/g,Qb=/%20/g;function ac(e){return e==null?"":encodeURI(""+e).replace(Xb,"|").replace(zb,"[").replace(Jb,"]")}function Zb(e){return ac(e).replace(np,"{").replace(ip,"}").replace(rp,"^")}function Wa(e){return ac(e).replace(sp,"%2B").replace(Qb,"+").replace(tp,"%23").replace(Wb,"%26").replace(Yb,"`").replace(np,"{").replace(ip,"}").replace(rp,"^")}function e0(e){return Wa(e).replace(Kb,"%3D")}function t0(e){return ac(e).replace(tp,"%23").replace(Gb,"%3F")}function s0(e){return t0(e).replace(qb,"%2F")}function Nn(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const r0=/\/$/,n0=e=>e.replace(r0,"");function Go(e,t,s="/"){let r,n={},i="",o="";const a=t.indexOf("#");let l=t.indexOf("?");return l=a>=0&&l>a?-1:l,l>=0&&(r=t.slice(0,l),i=t.slice(l,a>0?a:t.length),n=e(i.slice(1))),a>=0&&(r=r||t.slice(0,a),o=t.slice(a,t.length)),r=l0(r??t,s),{fullPath:r+i+o,path:r,query:n,hash:Nn(o)}}function i0(e,t){const s=t.query?e(t.query):"";return t.path+(s&&"?")+s+(t.hash||"")}function Su(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function o0(e,t,s){const r=t.matched.length-1,n=s.matched.length-1;return r>-1&&r===n&&Fr(t.matched[r],s.matched[n])&&op(t.params,s.params)&&e(t.query)===e(s.query)&&t.hash===s.hash}function Fr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function op(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var s in e)if(!a0(e[s],t[s]))return!1;return!0}function a0(e,t){return jt(e)?Ru(e,t):jt(t)?Ru(t,e):e?.valueOf()===t?.valueOf()}function Ru(e,t){return jt(t)?e.length===t.length&&e.every((s,r)=>s===t[r]):e.length===1&&e[0]===t}function l0(e,t){if(e.startsWith("/"))return e;if(!e)return t;const s=t.split("/"),r=e.split("/"),n=r[r.length-1];(n===".."||n===".")&&r.push("");let i=s.length-1,o,a;for(o=0;o<r.length;o++)if(a=r[o],a!==".")if(a==="..")i>1&&i--;else break;return s.slice(0,i).join("/")+"/"+r.slice(o).join("/")}const St={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let qa=(function(e){return e.pop="pop",e.push="push",e})({}),zo=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function c0(e){if(!e)if(fr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),n0(e)}const u0=/^[^#]+#/;function f0(e,t){return e.replace(u0,"#")+t}function h0(e,t){const s=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-s.left-(t.left||0),top:r.top-s.top-(t.top||0)}}const Eo=()=>({left:window.scrollX,top:window.scrollY});function d0(e){let t;if("el"in e){const s=e.el,r=typeof s=="string"&&s.startsWith("#"),n=typeof s=="string"?r?document.getElementById(s.slice(1)):document.querySelector(s):s;if(!n)return;t=h0(n,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 Pu(e,t){return(history.state?history.state.position-t:-1)+e}const Ka=new Map;function p0(e,t){Ka.set(e,t)}function g0(e){const t=Ka.get(e);return Ka.delete(e),t}function v0(e){return typeof e=="string"||e&&typeof e=="object"}function ap(e){return typeof e=="string"||typeof e=="symbol"}let Ie=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const lp=Symbol("");Ie.MATCHER_NOT_FOUND+"",Ie.NAVIGATION_GUARD_REDIRECT+"",Ie.NAVIGATION_ABORTED+"",Ie.NAVIGATION_CANCELLED+"",Ie.NAVIGATION_DUPLICATED+"";function $r(e,t){return ve(new Error,{type:e,[lp]:!0},t)}function rs(e,t){return e instanceof Error&&lp in e&&(t==null||!!(e.type&t))}const _0=["params","query","hash"];function m0(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const s of _0)s in e&&(t[s]=e[s]);return JSON.stringify(t,null,2)}function y0(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<s.length;++r){const n=s[r].replace(sp," "),i=n.indexOf("="),o=Nn(i<0?n:n.slice(0,i)),a=i<0?null:Nn(n.slice(i+1));if(o in t){let l=t[o];jt(l)||(l=t[o]=[l]),l.push(a)}else t[o]=a}return t}function Tu(e){let t="";for(let s in e){const r=e[s];if(s=e0(s),r==null){r!==void 0&&(t+=(t.length?"&":"")+s);continue}(jt(r)?r.map(n=>n&&Wa(n)):[r&&Wa(r)]).forEach(n=>{n!==void 0&&(t+=(t.length?"&":"")+s,n!=null&&(t+="="+n))})}return t}function b0(e){const t={};for(const s in e){const r=e[s];r!==void 0&&(t[s]=jt(r)?r.map(n=>n==null?null:""+n):r==null?r:""+r)}return t}const w0=Symbol(""),Cu=Symbol(""),lc=Symbol(""),cp=Symbol(""),Ga=Symbol("");function Yr(){let e=[];function t(r){return e.push(r),()=>{const n=e.indexOf(r);n>-1&&e.splice(n,1)}}function s(){e=[]}return{add:t,list:()=>e.slice(),reset:s}}function Rs(e,t,s,r,n,i=o=>o()){const o=r&&(r.enterCallbacks[n]=r.enterCallbacks[n]||[]);return()=>new Promise((a,l)=>{const u=d=>{d===!1?l($r(Ie.NAVIGATION_ABORTED,{from:s,to:t})):d instanceof Error?l(d):v0(d)?l($r(Ie.NAVIGATION_GUARD_REDIRECT,{from:t,to:d})):(o&&r.enterCallbacks[n]===o&&typeof d=="function"&&o.push(d),a())},c=i(()=>e.call(r&&r.instances[n],t,s,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(d=>l(d))})}function Jo(e,t,s,r,n=i=>i()){const i=[];for(const o of e)for(const a in o.components){let l=o.components[a];if(!(t!=="beforeRouteEnter"&&!o.instances[a]))if(ep(l)){const u=(l.__vccOpts||l)[t];u&&i.push(Rs(u,s,r,o,a,n))}else{let u=l();i.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${a}" at "${o.path}"`);const f=Vb(c)?c.default:c;o.mods[a]=c,o.components[a]=f;const d=(f.__vccOpts||f)[t];return d&&Rs(d,s,r,o,a,n)()}))}}return i}function E0(e,t){const s=[],r=[],n=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const a=t.matched[o];a&&(e.matched.find(u=>Fr(u,a))?r.push(a):s.push(a));const l=e.matched[o];l&&(t.matched.find(u=>Fr(u,l))||n.push(l))}return[s,r,n]}let x0=()=>location.protocol+"//"+location.host;function up(e,t){const{pathname:s,search:r,hash:n}=t,i=e.indexOf("#");if(i>-1){let o=n.includes(e.slice(i))?e.slice(i).length:1,a=n.slice(o);return a[0]!=="/"&&(a="/"+a),Su(a,"")}return Su(s,e)+r+n}function k0(e,t,s,r){let n=[],i=[],o=null;const a=({state:d})=>{const h=up(e,location),g=s.value,p=t.value;let R=0;if(d){if(s.value=h,t.value=d,o&&o===g){o=null;return}R=p?d.position-p.position:0}else r(h);n.forEach(E=>{E(s.value,g,{delta:R,type:qa.pop,direction:R?R>0?zo.forward:zo.back:zo.unknown})})};function l(){o=s.value}function u(d){n.push(d);const h=()=>{const g=n.indexOf(d);g>-1&&n.splice(g,1)};return i.push(h),h}function c(){if(document.visibilityState==="hidden"){const{history:d}=window;if(!d.state)return;d.replaceState(ve({},d.state,{scroll:Eo()}),"")}}function f(){for(const d of i)d();i=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",c),document.removeEventListener("visibilitychange",c)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",c),{pauseListeners:l,listen:u,destroy:f}}function Au(e,t,s,r=!1,n=!1){return{back:e,current:t,forward:s,replaced:r,position:window.history.length,scroll:n?Eo():null}}function S0(e){const{history:t,location:s}=window,r={value:up(e,s)},n={value:t.state};n.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?(s.host&&document.querySelector("base")?e:e.slice(f))+l:x0()+e+l;try{t[c?"replaceState":"pushState"](u,"",d),n.value=u}catch(h){console.error(h),s[c?"replace":"assign"](d)}}function o(l,u){i(l,ve({},t.state,Au(n.value.back,l,n.value.forward,!0),u,{position:n.value.position}),!0),r.value=l}function a(l,u){const c=ve({},n.value,t.state,{forward:l,scroll:Eo()});i(c.current,c,!0),i(l,ve({},Au(r.value,l,null),{position:c.position+1},u),!1),r.value=l}return{location:r,state:n,push:a,replace:o}}function R0(e){e=c0(e);const t=S0(e),s=k0(e,t.state,t.location,t.replace);function r(i,o=!0){o||s.pauseListeners(),history.go(i)}const n=ve({location:"",base:e,go:r,createHref:f0.bind(null,e)},t,s);return Object.defineProperty(n,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(n,"state",{enumerable:!0,get:()=>t.state.value}),n}let Ks=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var We=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(We||{});const P0={type:Ks.Static,value:""},T0=/[a-zA-Z0-9_]/;function C0(e){if(!e)return[[]];if(e==="/")return[[P0]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${s})/"${u}": ${h}`)}let s=We.Static,r=s;const n=[];let i;function o(){i&&n.push(i),i=[]}let a=0,l,u="",c="";function f(){u&&(s===We.Static?i.push({type:Ks.Static,value:u}):s===We.Param||s===We.ParamRegExp||s===We.ParamRegExpEnd?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:Ks.Param,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&s!==We.ParamRegExp){r=s,s=We.EscapeNext;continue}switch(s){case We.Static:l==="/"?(u&&f(),o()):l===":"?(f(),s=We.Param):d();break;case We.EscapeNext:d(),s=r;break;case We.Param:l==="("?s=We.ParamRegExp:T0.test(l)?d():(f(),s=We.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case We.ParamRegExp:l===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+l:s=We.ParamRegExpEnd:c+=l;break;case We.ParamRegExpEnd:f(),s=We.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--,c="";break;default:t("Unknown state");break}}return s===We.ParamRegExp&&t(`Unfinished custom RegExp for param "${u}"`),f(),o(),n}const Ou="[^/]+?",A0={sensitive:!1,strict:!1,start:!0,end:!0};var ot=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(ot||{});const O0=/[.+*?^${}()[\]/\\]/g;function I0(e,t){const s=ve({},A0,t),r=[];let n=s.start?"^":"";const i=[];for(const u of e){const c=u.length?[]:[ot.Root];s.strict&&!u.length&&(n+="/");for(let f=0;f<u.length;f++){const d=u[f];let h=ot.Segment+(s.sensitive?ot.BonusCaseSensitive:0);if(d.type===Ks.Static)f||(n+="/"),n+=d.value.replace(O0,"\\$&"),h+=ot.Static;else if(d.type===Ks.Param){const{value:g,repeatable:p,optional:R,regexp:E}=d;i.push({name:g,repeatable:p,optional:R});const w=E||Ou;if(w!==Ou){h+=ot.BonusCustomRegExp;try{`${w}`}catch(m){throw new Error(`Invalid custom RegExp for param "${g}" (${w}): `+m.message)}}let v=p?`((?:${w})(?:/(?:${w}))*)`:`(${w})`;f||(v=R&&u.length<2?`(?:/${v})`:"/"+v),R&&(v+="?"),n+=v,h+=ot.Dynamic,R&&(h+=ot.BonusOptional),p&&(h+=ot.BonusRepeatable),w===".*"&&(h+=ot.BonusWildcard)}c.push(h)}r.push(c)}if(s.strict&&s.end){const u=r.length-1;r[u][r[u].length-1]+=ot.BonusStrict}s.strict||(n+="/?"),s.end?n+="$":s.strict&&!n.endsWith("/")&&(n+="(?:/|$)");const o=new RegExp(n,s.sensitive?"":"i");function a(u){const c=u.match(o),f={};if(!c)return null;for(let d=1;d<c.length;d++){const h=c[d]||"",g=i[d-1];f[g.name]=h&&g.repeatable?h.split("/"):h}return f}function l(u){let c="",f=!1;for(const d of e){(!f||!c.endsWith("/"))&&(c+="/"),f=!1;for(const h of d)if(h.type===Ks.Static)c+=h.value;else if(h.type===Ks.Param){const{value:g,repeatable:p,optional:R}=h,E=g in u?u[g]:"";if(jt(E)&&!p)throw new Error(`Provided param "${g}" is an array but it is not repeatable (* or + modifiers)`);const w=jt(E)?E.join("/"):E;if(!w)if(R)d.length<2&&(c.endsWith("/")?c=c.slice(0,-1):f=!0);else throw new Error(`Missing required param "${g}"`);c+=w}}return c||"/"}return{re:o,score:r,keys:i,parse:a,stringify:l}}function L0(e,t){let s=0;for(;s<e.length&&s<t.length;){const r=t[s]-e[s];if(r)return r;s++}return e.length<t.length?e.length===1&&e[0]===ot.Static+ot.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===ot.Static+ot.Segment?1:-1:0}function fp(e,t){let s=0;const r=e.score,n=t.score;for(;s<r.length&&s<n.length;){const i=L0(r[s],n[s]);if(i)return i;s++}if(Math.abs(n.length-r.length)===1){if(Iu(r))return 1;if(Iu(n))return-1}return n.length-r.length}function Iu(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const M0={strict:!1,end:!0,sensitive:!1};function F0(e,t,s){const r=I0(C0(e.path),s),n=ve(r,{record:e,parent:t,children:[],alias:[]});return t&&!n.record.aliasOf==!t.record.aliasOf&&t.children.push(n),n}function $0(e,t){const s=[],r=new Map;t=ku(M0,t);function n(f){return r.get(f)}function i(f,d,h){const g=!h,p=Mu(f);p.aliasOf=h&&h.record;const R=ku(t,f),E=[p];if("alias"in f){const m=typeof f.alias=="string"?[f.alias]:f.alias;for(const y of m)E.push(Mu(ve({},p,{components:h?h.record.components:p.components,path:y,aliasOf:h?h.record:p})))}let w,v;for(const m of E){const{path:y}=m;if(d&&y[0]!=="/"){const x=d.record.path,k=x[x.length-1]==="/"?"":"/";m.path=d.record.path+(y&&k+y)}if(w=F0(m,d,R),h?h.alias.push(w):(v=v||w,v!==w&&v.alias.push(w),g&&f.name&&!Fu(w)&&o(f.name)),hp(w)&&l(w),p.children){const x=p.children;for(let k=0;k<x.length;k++)i(x[k],w,h&&h.children[k])}h=h||w}return v?()=>{o(v)}:xn}function o(f){if(ap(f)){const d=r.get(f);d&&(r.delete(f),s.splice(s.indexOf(d),1),d.children.forEach(o),d.alias.forEach(o))}else{const d=s.indexOf(f);d>-1&&(s.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(o),f.alias.forEach(o))}}function a(){return s}function l(f){const d=H0(f,s);s.splice(d,0,f),f.record.name&&!Fu(f)&&r.set(f.record.name,f)}function u(f,d){let h,g={},p,R;if("name"in f&&f.name){if(h=r.get(f.name),!h)throw $r(Ie.MATCHER_NOT_FOUND,{location:f});R=h.record.name,g=ve(Lu(d.params,h.keys.filter(v=>!v.optional).concat(h.parent?h.parent.keys.filter(v=>v.optional):[]).map(v=>v.name)),f.params&&Lu(f.params,h.keys.map(v=>v.name))),p=h.stringify(g)}else if(f.path!=null)p=f.path,h=s.find(v=>v.re.test(p)),h&&(g=h.parse(p),R=h.record.name);else{if(h=d.name?r.get(d.name):s.find(v=>v.re.test(d.path)),!h)throw $r(Ie.MATCHER_NOT_FOUND,{location:f,currentLocation:d});R=h.record.name,g=ve({},d.params,f.params),p=h.stringify(g)}const E=[];let w=h;for(;w;)E.unshift(w.record),w=w.parent;return{name:R,path:p,params:g,matched:E,meta:D0(E)}}e.forEach(f=>i(f));function c(){s.length=0,r.clear()}return{addRoute:i,resolve:u,removeRoute:o,clearRoutes:c,getRoutes:a,getRecordMatcher:n}}function Lu(e,t){const s={};for(const r of t)r in e&&(s[r]=e[r]);return s}function Mu(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:N0(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 N0(e){const t={},s=e.props||!1;if("component"in e)t.default=s;else for(const r in e.components)t[r]=typeof s=="object"?s[r]:s;return t}function Fu(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function D0(e){return e.reduce((t,s)=>ve(t,s.meta),{})}function H0(e,t){let s=0,r=t.length;for(;s!==r;){const i=s+r>>1;fp(e,t[i])<0?r=i:s=i+1}const n=j0(e);return n&&(r=t.lastIndexOf(n,r-1)),r}function j0(e){let t=e;for(;t=t.parent;)if(hp(t)&&fp(e,t)===0)return t}function hp({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function $u(e){const t=bt(lc),s=bt(cp),r=Ft(()=>{const l=Ee(e.to);return t.resolve(l)}),n=Ft(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],f=s.matched;if(!c||!f.length)return-1;const d=f.findIndex(Fr.bind(null,c));if(d>-1)return d;const h=Nu(l[u-2]);return u>1&&Nu(c)===h&&f[f.length-1].path!==h?f.findIndex(Fr.bind(null,l[u-2])):d}),i=Ft(()=>n.value>-1&&q0(s.params,r.value.params)),o=Ft(()=>n.value>-1&&n.value===s.matched.length-1&&op(s.params,r.value.params));function a(l={}){if(W0(l)){const u=t[Ee(e.replace)?"replace":"push"](Ee(e.to)).catch(xn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:Ft(()=>r.value.href),isActive:i,isExactActive:o,navigate:a}}function U0(e){return e.length===1?e[0]:e}const B0=qn({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:$u,setup(e,{slots:t}){const s=Ls($u(e)),{options:r}=bt(lc),n=Ft(()=>({[Du(e.activeClass,r.linkActiveClass,"router-link-active")]:s.isActive,[Du(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:s.isExactActive}));return()=>{const i=t.default&&U0(t.default(s));return e.custom?i:Tt("a",{"aria-current":s.isExactActive?e.ariaCurrentValue:null,href:s.href,onClick:s.navigate,class:n.value},i)}}}),V0=B0;function W0(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 q0(e,t){for(const s in t){const r=t[s],n=e[s];if(typeof r=="string"){if(r!==n)return!1}else if(!jt(n)||n.length!==r.length||r.some((i,o)=>i.valueOf()!==n[o].valueOf()))return!1}return!0}function Nu(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Du=(e,t,s)=>e??t??s,K0=qn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:s}){const r=bt(Ga),n=Ft(()=>e.route||r.value),i=bt(Cu,0),o=Ft(()=>{let u=Ee(i);const{matched:c}=n.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),a=Ft(()=>n.value.matched[o.value]);kr(Cu,Ft(()=>o.value+1)),kr(w0,a),kr(Ga,n);const l=ps();return Sr(()=>[l.value,a.value,e.name],([u,c,f],[d,h,g])=>{c&&(c.instances[f]=u,h&&h!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=h.leaveGuards),c.updateGuards.size||(c.updateGuards=h.updateGuards))),u&&c&&(!h||!Fr(c,h)||!d)&&(c.enterCallbacks[f]||[]).forEach(p=>p(u))},{flush:"post"}),()=>{const u=n.value,c=e.name,f=a.value,d=f&&f.components[c];if(!d)return Hu(s.default,{Component:d,route:u});const h=f.props[c],g=h?h===!0?u.params:typeof h=="function"?h(u):h:null,R=Tt(d,ve({},g,t,{onVnodeUnmounted:E=>{E.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return Hu(s.default,{Component:R,route:u})||R}}});function Hu(e,t){if(!e)return null;const s=e(t);return s.length===1?s[0]:s}const dp=K0;function G0(e){const t=$0(e.routes,e),s=e.parseQuery||y0,r=e.stringifyQuery||Tu,n=e.history,i=Yr(),o=Yr(),a=Yr(),l=On(St);let u=St;fr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Ko.bind(null,L=>""+L),f=Ko.bind(null,s0),d=Ko.bind(null,Nn);function h(L,G){let W,Z;return ap(L)?(W=t.getRecordMatcher(L),Z=G):Z=L,t.addRoute(Z,W)}function g(L){const G=t.getRecordMatcher(L);G&&t.removeRoute(G)}function p(){return t.getRoutes().map(L=>L.record)}function R(L){return!!t.getRecordMatcher(L)}function E(L,G){if(G=ve({},G||l.value),typeof L=="string"){const b=Go(s,L,G.path),P=t.resolve({path:b.path},G),M=n.createHref(b.fullPath);return ve(b,P,{params:d(P.params),hash:Nn(b.hash),redirectedFrom:void 0,href:M})}let W;if(L.path!=null)W=ve({},L,{path:Go(s,L.path,G.path).path});else{const b=ve({},L.params);for(const P in b)b[P]==null&&delete b[P];W=ve({},L,{params:f(b)}),G.params=f(G.params)}const Z=t.resolve(W,G),le=L.hash||"";Z.params=c(d(Z.params));const fe=i0(r,ve({},L,{hash:Zb(le),path:Z.path})),_=n.createHref(fe);return ve({fullPath:fe,hash:le,query:r===Tu?b0(L.query):L.query||{}},Z,{redirectedFrom:void 0,href:_})}function w(L){return typeof L=="string"?Go(s,L,l.value.path):ve({},L)}function v(L,G){if(u!==L)return $r(Ie.NAVIGATION_CANCELLED,{from:G,to:L})}function m(L){return k(L)}function y(L){return m(ve(w(L),{replace:!0}))}function x(L,G){const W=L.matched[L.matched.length-1];if(W&&W.redirect){const{redirect:Z}=W;let le=typeof Z=="function"?Z(L,G):Z;return typeof le=="string"&&(le=le.includes("?")||le.includes("#")?le=w(le):{path:le},le.params={}),ve({query:L.query,hash:L.hash,params:le.path!=null?{}:L.params},le)}}function k(L,G){const W=u=E(L),Z=l.value,le=L.state,fe=L.force,_=L.replace===!0,b=x(W,Z);if(b)return k(ve(w(b),{state:typeof b=="object"?ve({},le,b.state):le,force:fe,replace:_}),G||W);const P=W;P.redirectedFrom=G;let M;return!fe&&o0(r,Z,W)&&(M=$r(Ie.NAVIGATION_DUPLICATED,{to:P,from:Z}),Ce(Z,Z,!0,!1)),(M?Promise.resolve(M):C(P,Z)).catch(I=>rs(I)?rs(I,Ie.NAVIGATION_GUARD_REDIRECT)?I:Me(I):j(I,P,Z)).then(I=>
4{if(I){if(rs(I,Ie.NAVIGATION_GUARD_REDIRECT))return k(ve({replace:_},w(I.to),{state:typeof I.to=="object"?ve({},le,I.to.state):le,force:fe}),G||P)}else I=O(P,Z,!0,_,le);return N(P,Z,I),I})}function T(L,G){const W=v(L,G);return W?Promise.reject(W):Promise.resolve()}function S(L){const G=Je.values().next().value;return G&&typeof G.runWithContext=="function"?G.runWithContext(L):L()}function C(L,G){let W;const[Z,le,fe]=E0(L,G);W=Jo(Z.reverse(),"beforeRouteLeave",L,G);for(const b of Z)b.leaveGuards.forEach(P=>{W.push(Rs(P,L,G))});const _=T.bind(null,L,G);return W.push(_),Be(W).then(()=>{W=[];for(const b of i.list())W.push(Rs(b,L,G));return W.push(_),Be(W)}).then(()=>{W=Jo(le,"beforeRouteUpdate",L,G);for(const b of le)b.updateGuards.forEach(P=>{W.push(Rs(P,L,G))});return W.push(_),Be(W)}).then(()=>{W=[];for(const b of fe)if(b.beforeEnter)if(jt(b.beforeEnter))for(const P of b.beforeEnter)W.push(Rs(P,L,G));else W.push(Rs(b.beforeEnter,L,G));return W.push(_),Be(W)}).then(()=>(L.matched.forEach(b=>b.enterCallbacks={}),W=Jo(fe,"beforeRouteEnter",L,G,S),W.push(_),Be(W))).then(()=>{W=[];for(const b of o.list())W.push(Rs(b,L,G));return W.push(_),Be(W)}).catch(b=>rs(b,Ie.NAVIGATION_CANCELLED)?b:Promise.reject(b))}function N(L,G,W){a.list().forEach(Z=>S(()=>Z(L,G,W)))}function O(L,G,W,Z,le){const fe=v(L,G);if(fe)return fe;const _=G===St,b=fr?history.state:{};W&&(Z||_?n.replace(L.fullPath,ve({scroll:_&&b&&b.scroll},le)):n.push(L.fullPath,le)),l.value=L,Ce(L,G,W,_),Me()}let D;function J(){D||(D=n.listen((L,G,W)=>{if(!Ue.listening)return;const Z=E(L),le=x(Z,Ue.currentRoute.value);if(le){k(ve(le,{replace:!0,force:!0}),Z).catch(xn);return}u=Z;const fe=l.value;fr&&p0(Pu(fe.fullPath,W.delta),Eo()),C(Z,fe).catch(_=>rs(_,Ie.NAVIGATION_ABORTED|Ie.NAVIGATION_CANCELLED)?_:rs(_,Ie.NAVIGATION_GUARD_REDIRECT)?(k(ve(w(_.to),{force:!0}),Z).then(b=>{rs(b,Ie.NAVIGATION_ABORTED|Ie.NAVIGATION_DUPLICATED)&&!W.delta&&W.type===qa.pop&&n.go(-1,!1)}).catch(xn),Promise.reject()):(W.delta&&n.go(-W.delta,!1),j(_,Z,fe))).then(_=>{_=_||O(Z,fe,!1),_&&(W.delta&&!rs(_,Ie.NAVIGATION_CANCELLED)?n.go(-W.delta,!1):W.type===qa.pop&&rs(_,Ie.NAVIGATION_ABORTED|Ie.NAVIGATION_DUPLICATED)&&n.go(-1,!1)),N(Z,fe,_)}).catch(xn)}))}let ne=Yr(),V=Yr(),Q;function j(L,G,W){Me(L);const Z=V.list();return Z.length?Z.forEach(le=>le(L,G,W)):console.error(L),Promise.reject(L)}function ae(){return Q&&l.value!==St?Promise.resolve():new Promise((L,G)=>{ne.add([L,G])})}function Me(L){return Q||(Q=!L,J(),ne.list().forEach(([G,W])=>L?W(L):G()),ne.reset()),L}function Ce(L,G,W,Z){const{scrollBehavior:le}=e;if(!fr||!le)return Promise.resolve();const fe=!W&&g0(Pu(L.fullPath,0))||(Z||!W)&&history.state&&history.state.scroll||null;return In().then(()=>le(L,G,fe)).then(_=>_&&d0(_)).catch(_=>j(_,L,G))}const Re=L=>n.go(L);let Ne;const Je=new Set,Ue={currentRoute:l,listening:!0,addRoute:h,removeRoute:g,clearRoutes:t.clearRoutes,hasRoute:R,getRoutes:p,resolve:E,options:e,push:m,replace:y,go:Re,back:()=>Re(-1),forward:()=>Re(1),beforeEach:i.add,beforeResolve:o.add,afterEach:a.add,onError:V.add,isReady:ae,install(L){L.component("RouterLink",V0),L.component("RouterView",dp),L.config.globalProperties.$router=Ue,Object.defineProperty(L.config.globalProperties,"$route",{enumerable:!0,get:()=>Ee(l)}),fr&&!Ne&&l.value===St&&(Ne=!0,m(n.location).catch(Z=>{}));const G={};for(const Z in St)Object.defineProperty(G,Z,{get:()=>l.value[Z],enumerable:!0});L.provide(lc,Ue),L.provide(cp,hs(G)),L.provide(Ga,l);const W=L.unmount;Je.add(L),L.unmount=function(){Je.delete(L),Je.size<1&&(u=St,D&&D(),D=null,l.value=St,Ne=!1,Q=!1),W()}}};function Be(L){return L.reduce((G,W)=>G.then(()=>S(W)),Promise.resolve())}return Ue}const z0=/(:\w+)\([^)]+\)/g,J0=/(:\w+)[?+*]/g,Y0=/:\w+/g,X0=(e,t)=>t.path.replace(z0,"$1").replace(J0,"$1").replace(Y0,s=>e.params[s.slice(1)]?.toString()||""),za=(e,t)=>{const s=e.route.matched.find(n=>n.components?.default===e.Component.type),r=t??s?.meta.key??(s&&X0(e.route,s));return typeof r=="function"?r(e.route):r},Q0=(e,t)=>({default:()=>e?Tt(Nv,e===!0?{}:e,t):t});function pp(e){return Array.isArray(e)?e:[e]}const Z0="modulepreload",ew=function(e,t){return new URL(e,t).href},ju={},_r=function(t,s,r){let n=Promise.resolve();if(s&&s.length>0){let u=function(c){return Promise.all(c.map(f=>Promise.resolve(f).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};const o=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=a?.nonce||a?.getAttribute("nonce");n=u(s.map(c=>{if(c=ew(c,r),c in ju)return;ju[c]=!0;const f=c.endsWith(".css"),d=f?'[rel="stylesheet"]':"";if(r)for(let g=o.length-1;g>=0;g--){const p=o[g];if(p.href===c&&(!f||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${d}`))return;const h=document.createElement("link");
4if(h.rel=f?"stylesheet":Z0,f||(h.as="script"),h.crossOrigin="",h.href=c,l&&h.setAttribute("nonce",l),document.head.appendChild(h),f)return new Promise((g,p)=>{h.addEventListener("load",g),h.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(o){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return n.then(o=>{for(const a of o||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})},Yo=[{name:"index",path:"/",component:()=>_r(()=>import("./Bz34bpYC.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url)},{name:"privacy",path:"/privacy",component:()=>_r(()=>import("./yll5F-5C.js"),__vite__mapDeps([7,1,2,3,5,8]),import.meta.url)},{name:"impressum",path:"/impressum",component:()=>_r(()=>import("./BOFaBj1i.js"),__vite__mapDeps([9,1,2,3,5,10]),import.meta.url)},{name:"episode-slug",path:"/episode/:slug()",component:()=>_r(()=>import("./D0XaoO9c.js"),__vite__mapDeps([11,1,2,3,4,5,12]),import.meta.url)}],tw=(e,t)=>({default:()=>e?Tt(N_,e===!0?{}:e,t):t.default?.()}),sw=/(:\w+)\([^)]+\)/g,rw=/(:\w+)[?+*]/g,nw=/:\w+/g;function Uu(e){const t=e?.meta.key??e.path.replace(sw,"$1").replace(rw,"$1").replace(nw,s=>e.params[s.slice(1)]?.toString()||"");return typeof t=="function"?t(e):t}function iw(e,t){return e===t||t===St?!1:Uu(e)!==Uu(t)?!0:!e.matched.every((r,n)=>r.components&&r.components.default===t.matched[n]?.components?.default)}function Bu(e){return Array.isArray(e)?e:[e]}function ow(e){const t=[];for(const s of e)s&&t.push({...s,onAfterLeave:s.onAfterLeave?Bu(s.onAfterLeave):void 0,onBeforeLeave:s.onBeforeLeave?Bu(s.onBeforeLeave):void 0});return jd(...t)}const aw={scrollBehavior(e,t,s){const r=Ze(),n=Et().options?.scrollBehaviorType??"auto";return e.path.replace(/\/$/,"")===t.path.replace(/\/$/,"")?t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:gp(e.hash),behavior:n}:!1:(typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1?!1:t===St?Vu(e,t,s,n):new Promise(o=>{const a=()=>{requestAnimationFrame(()=>o(Vu(e,t,s,n)))};r.hooks.hookOnce("page:loading:end",()=>{const l=r["~transitionPromise"];l?l.then(a):a()})})}};function gp(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 Vu(e,t,s,r){if(s)return s;const n=iw(e,t);return e.hash?{el:e.hash,top:gp(e.hash),behavior:n?r:"instant"}:{left:0,top:0}}const lw={hashMode:!1,scrollBehaviorType:"auto"},ws={...lw,...aw},cw=async(e,t)=>{let s,r;if(!e.meta?.validate)return;const n=([s,r]=En(()=>Promise.resolve(e.meta.validate(e))),s=await s,r(),s);if(n===!0)return;const i=Xs({fatal:!0,status:n&&(n.status||n.statusCode)||404,statusText:n&&(n.statusText||n.statusMessage)||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}});return typeof window<"u"&&window.history.pushState({},"",t.fullPath),i},uw=e=>{const t=wo({path:e.path});if(t.redirect){const s=t.redirect.includes("#")?t.redirect:t.redirect+e.hash;return sr(s,{acceptRelative:!0})?(window.location.href=s,!1):s}},fw=[cw,uw],Ja={};function hw(e,t,s){const{pathname:r,search:n,hash:i}=t,o=e.indexOf("#");if(o>-1){const u=i.includes(e.slice(o))?e.slice(o).length:1;let c=i.slice(u);return c[0]!=="/"&&(c="/"+c),uu(c,"")}const a=uu(r,e),l=!s||Ld(a,s)?a:s;return l+(l.includes("?")?"":n)+i}const dw=es({name:"nuxt:router",enforce:"pre",async setup(e){let t,s,r=zn().app.baseURL;const n=ws.history?.(r)??R0(r),i=ws.routes?([t,s]=En(()=>ws.routes(Yo)),t=await t,s(),t??Yo):Yo;let o;const a=G0({...ws,scrollBehavior:(E,w,v)=>{if(w===St){o=v;return}if(ws.scrollBehavior){if(a.options.scrollBehavior=ws.scrollBehavior,"scrollRestoration"in window.history){const m=a.beforeEach(()=>{m(),window.history.scrollRestoration="manual"})}return ws.scrollBehavior(E,St,o||v)}},history:n,routes:i});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const l=On(a.currentRoute.value);a.afterEach((E,w)=>{l.value=w}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const u=hw(r,window.location,e.payload.path),c=On(a.currentRoute.value),f=()=>{c.value=a.currentRoute.value};
4a.afterEach((E,w)=>{E.matched.at(-1)?.components?.default===w.matched.at(-1)?.components?.default&&f()});const d={sync:f};for(const E in c.value)Object.defineProperty(d,E,{get:()=>c.value[E],enumerable:!0});e._route=hs(d),e._middleware||={global:[],named:{}};const h=bo();a.afterEach(async(E,w,v)=>{delete e._processingMiddleware,!e.isHydrating&&h.value&&await e.runWithContext($y),v&&await e.callHook("page:loading:end")});try{[t,s]=En(()=>a.isReady()),await t,s()}catch(E){[t,s]=En(()=>e.runWithContext(()=>Bs(E))),await t,s()}const g=u!==a.currentRoute.value.fullPath?a.resolve(u):a.currentRoute.value,p=e.isHydrating&&e.payload.prerenderedAt&&e.payload.path&&u!==e.payload.path&&Ld(a.currentRoute.value.path,e.payload.path);f();const R=e.payload.state._layout;return a.beforeEach(async(E,w)=>{await e.callHook("page:loading:start"),E.meta=Ls(E.meta),e.isHydrating&&R&&!Zt(E.meta.layout)&&(E.meta.layout=R),e._processingMiddleware=!0;{const v=new Set([...fw,...e._middleware.global]);for(const y of E.matched){const x=y.meta.middleware;if(x)for(const k of pp(x))v.add(k)}const m=wo({path:E.path});if(m.appMiddleware)for(const y in m.appMiddleware)m.appMiddleware[y]?v.add(y):v.delete(y);for(const y of v){const x=typeof y=="string"?e._middleware.named[y]||await Ja[y]?.().then(k=>k.default||k):y;if(!x)throw new Error(`Unknown route middleware: '${y}'.`);try{const k=await e.runWithContext(()=>x(E,w));if(!e.payload.serverRendered&&e.isHydrating&&(k===!1||k instanceof Error)){const T=k||Xs({status:404,statusText:`Page Not Found: ${u}`});return await e.runWithContext(()=>Bs(T)),!1}if(k===!0)continue;if(k===!1)return k;if(k)return Vd(k)&&k.fatal&&await e.runWithContext(()=>Bs(k)),k}catch(k){const T=Xs(k);return T.fatal&&await e.runWithContext(()=>Bs(T)),T}}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),a.afterEach(E=>{if(E.matched.length===0&&!h.value)return e.runWithContext(()=>Bs(Xs({status:404,fatal:!1,statusText:`Page not found: ${E.fullPath}`,data:{path:E.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{if("name"in g&&(g.name=void 0),p){const E=a.resolve(e.payload.path);"name"in E&&(E.name=void 0),await a.replace({...E,force:!0}),e.hooks.hookOnce("app:suspense:resolve",async()=>{await a.replace({...g,force:!0})})}else await a.replace({...g,force:!0});a.options.scrollBehavior=ws.scrollBehavior}catch(E){await e.runWithContext(()=>Bs(E))}}),{provide:{router:a}}}}),Wu=globalThis.requestIdleCallback||(e=>{const t=Date.now(),s={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(s)},1)}),Zx=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),cc=e=>{const t=Ze();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Wu(()=>e())}):Wu(()=>e())},pw=es({name:"nuxt:payload",setup(e){const t=new Set;Et().beforeResolve(async(s,r)=>{if(s.path===r.path)return;const n=await xu(s.path);if(n){for(const i of t)delete e.static.data[i];for(const i in n.data)i in e.static.data||t.add(i),e.static.data[i]=n.data[i]}}),cc(()=>{e.hooks.hook("link:prefetch",async s=>{const{hostname:r}=new URL(s,window.location.href);r===window.location.hostname&&await xu(s).catch(()=>{console.warn("[nuxt] Error preloading payload for",s)})}),navigator.connection?.effectiveType!=="slow-2g"&&setTimeout(ic,1e3)})}}),gw=es(()=>{const e=Et();cc(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),vw=es(e=>{let t;async function s(){let r;try{r=await ic()}catch(n){const i=n;if(!("status"in i&&(i.status===404||i.status===403)))throw i}t&&clearTimeout(t),t=setTimeout(s,vu);try{const n=await $fetch(rc("builds/latest.json")+`?${Date.now()}`);n.id!==r?.id&&(e.hooks.callHook("app:manifest:update",n),t&&clearTimeout(t))}catch{}}cc(()=>{t=setTimeout(s,vu)})});function _w(e={}){const t=e.path||window.location.pathname;let s={};try{s=Mi(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||s?.path!==t||s?.expires<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:Ze().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const mw=es({name:"nuxt:chunk-reload",setup(e){const t=Et(),s=zn(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:i})=>{r.add(i)});function n(i){const o=ec(s.app.baseURL,i.fullPath);_w({path:o,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(n)}),t.onError((i,o)=>{r.has(i)&&n(o)})}}),yw=es({name:"nuxt:global-components"}),ii={};function bw(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function ww(e,t=Et()){const{path:s,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||=new Set,t._routePreloaded.has(s)))return;const n=t._preloadPromises||=[];if(n.length>4)return Promise.all(n).then(()=>ww(e,t));t._routePreloaded.add(s);for(const i of r){const o=i.components?.default;if(typeof o!="function")continue;const a=Promise.resolve(o()).catch(()=>{}).finally(()=>n.splice(n.indexOf(a),1));n.push(a)}await Promise.all(n)}const Ew=es({name:"nuxt:prefetch",setup(e){const t=Et();e.hooks.hook("app:mounted",()=>{t.beforeEach(async s=>{const r=s?.meta?.layout;r&&typeof ii[r]=="function"&&await ii[r]()})}),e.hooks.hook("link:prefetch",s=>{if(sr(s))return;const r=t.resolve(s);if(!r)return;const n=r.meta.layout;let i=pp(r.meta.middleware);
4i=i.filter(o=>typeof o=="string");for(const o of i)typeof Ja[o]=="function"&&Ja[o]();typeof n=="string"&&n in ii&&bw(ii[n])})}});var A=typeof window<"u"?window:void 0,Ge=typeof globalThis<"u"?globalThis:A;typeof self>"u"&&(Ge.self=Ge),typeof File>"u"&&(Ge.File=function(){});var mt=Ge?.navigator,K=Ge?.document,Ye=Ge?.location,Ya=Ge?.fetch,Xa=Ge!=null&&Ge.XMLHttpRequest&&"withCredentials"in new Ge.XMLHttpRequest?Ge.XMLHttpRequest:void 0,qu=Ge?.AbortController,xw=Ge?.CompressionStream,ft=mt?.userAgent,ee=A??{},Ku="1.372.1",at={DEBUG:!1,LIB_VERSION:Ku,LIB_NAME:"web",JS_SDK_VERSION:Ku};function Gu(e,t,s,r,n,i,o){try{var a=e[i](o),l=a.value}catch(u){return void s(u)}a.done?t(l):Promise.resolve(l).then(r,n)}function Rt(e){return function(){var t=this,s=arguments;return new Promise((function(r,n){var i=e.apply(t,s);function o(l){Gu(i,r,n,o,a,"next",l)}function a(l){Gu(i,r,n,o,a,"throw",l)}o(void 0)}))}}function H(){return H=Object.assign?Object.assign.bind():function(e){for(var t=1;arguments.length>t;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e},H.apply(null,arguments)}function vp(e,t){if(e==null)return{};var s={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;s[r]=e[r]}return s}function Qa(){return Qa=Rt((function*(e,t,s){t===void 0&&(t=!0);try{var r=new CompressionStream("gzip"),n=r.writable.getWriter(),i=n.write(new TextEncoder().encode(e)).then((()=>n.close())).catch((function(){var l=Rt((function*(u){try{yield n.abort(u)}catch{}throw u}));return function(u){return l.apply(this,arguments)}})()),o=new Response(r.readable).blob(),[a]=yield Promise.all([o,i]);return a}catch(l){if(s!=null&&s.rethrow)throw l;return t&&console.error("Failed to gzip compress data",l),null}})),Qa.apply(this,arguments)}var kw=["amazonbot","amazonproductbot","app.hypefactors.com","applebot","archive.org_bot","awariobot","backlinksextendedbot","baiduspider","bingbot","bingpreview","chrome-lighthouse","dataforseobot","deepscan","duckduckbot","facebookexternal","facebookcatalog","http://yandex.com/bots","hubspot","ia_archiver","leikibot","linkedinbot","meta-externalagent","mj12bot","msnbot","nessus","petalbot","pinterest","prerender","rogerbot","screaming frog","sebot-wa","sitebulb","slackbot","slurp","trendictionbot","turnitin","twitterbot","vercel-screenshot","vercelbot","yahoo! slurp","yandexbot","zoombot","bot.htm","bot.php","(bot;","bot/","crawler","ahrefsbot","ahrefssiteaudit","semrushbot","siteauditbot","splitsignalbot","gptbot","oai-searchbot","chatgpt-user","perplexitybot","better uptime bot","sentryuptimebot","uptimerobot","headlesschrome","cypress","google-hoteladsverifier","adsbot-google","apis-google","duplexweb-google","feedfetcher-google","google favicon","google web preview","google-read-aloud","googlebot","googleother","google-cloudvertexbot","googleweblight","mediapartners-google","storebot-google","google-inspectiontool","bytespider"],zu=function(e,t){if(t===void 0&&(t=[]),!e)return!1;var s=e.toLowerCase();return kw.concat(t).some((r=>{var n=r.toLowerCase();return s.indexOf(n)!==-1}))},Sw=["$snapshot","$pageview","$pageleave","$set","survey dismissed","survey sent","survey shown","$identify","$groupidentify","$create_alias","$$client_ingestion_warning","$web_experiment_applied","$feature_enrollment_update","$feature_flag_called"];function ce(e,t){return e.indexOf(t)!==-1}var xo=function(e){return e.trim()},Za=function(e){return e.replace(/^\$/,"")},_p=Object.prototype,mp=_p.hasOwnProperty,ko=_p.toString,he=Array.isArray||function(e){return ko.call(e)==="[object Array]"},cs=e=>typeof e=="function",Fe=e=>e===Object(e)&&!he(e),mr=e=>{if(Fe(e)){for(var t in e)if(mp.call(e,t))return!1;return!0}return!1},Y=e=>e===void 0,Oe=e=>ko.call(e)=="[object String]",_i=e=>Oe(e)&&e.trim().length===0,ys=e=>e===null,ue=e=>Y(e)||ys(e),Ot=e=>ko.call(e)=="[object Number]"&&e==e,hr=e=>Ot(e)&&e>0,Yt=e=>ko.call(e)==="[object Boolean]",Rw=e=>e instanceof FormData,Pw=e=>ce(Sw,e);function yp(e){return e===null||typeof e!="object"}function Hi(e,t){return{}.toString.call(e)==="[object "+t+"]"}function uc(e){return typeof Event<"u"&&(function(t,s){try{return t instanceof s}catch{return!1}})(e,Event)}var Tw=[!0,"true",1,"1","yes"],Xo=e=>ce(Tw,e),Cw=[!1,"false",0,"0","no"];function Xt(e,t,s,r,n){return t>s&&(r.warn("min cannot be greater than max."),t=s),Ot(e)?e>s?(r.warn(" cannot be greater than max: "+s+". Using max value instead."),s):t>e?(r.warn(" cannot be less than min: "+t+". Using min value instead."),t):e:(r.warn(" must be a number. using max or fallback. max: "+s+", fallback: "+n),Xt(n||s,t,s,r))}
4class Aw{constructor(t){this.$t={},this.zt=t.zt,this.Ut=Xt(t.bucketSize,0,100,t.Yt),this.Wt=Xt(t.refillRate,0,this.Ut,t.Yt),this.Gt=Xt(t.refillInterval,0,864e5,t.Yt)}Xt(t,s){var r=Math.floor((s-t.lastAccess)/this.Gt);r>0&&(t.tokens=Math.min(t.tokens+r*this.Wt,this.Ut),t.lastAccess=t.lastAccess+r*this.Gt)}consumeRateLimit(t){var s,r=Date.now(),n=String(t),i=this.$t[n];return i?this.Xt(i,r):this.$t[n]=i={tokens:this.Ut,lastAccess:r},i.tokens===0||(i.tokens--,i.tokens===0&&((s=this.zt)==null||s.call(this,t)),i.tokens===0)}stop(){this.$t={}}}var oi,Ju,Qo,wt="Mobile",ji="iOS",ds="Android",Nr="Tablet",bp=ds+" "+Nr,wp="iPad",Ep="Apple",xp=Ep+" Watch",kn="Safari",Dr="BlackBerry",kp="Samsung",Sp=kp+"Browser",Rp=kp+" Internet",Qs="Chrome",Ow=Qs+" OS",Pp=Qs+" "+ji,fc="Internet Explorer",Tp=fc+" "+wt,hc="Opera",Iw=hc+" Mini",dc="Edge",Cp="Microsoft "+dc,Cr="Firefox",Ap=Cr+" "+ji,Dn="Nintendo",Hn="PlayStation",Ar="Xbox",Op=ds+" "+wt,Ip=wt+" "+kn,ln="Windows",el=ln+" Phone",Yu="Nokia",tl="Ouya",Lp="Generic",Lw=Lp+" "+wt.toLowerCase(),Mp=Lp+" "+Nr.toLowerCase(),sl="Konqueror",it="(\\d+(\\.\\d+)?)",Zo=new RegExp("Version/"+it),Mw=new RegExp(Ar,"i"),Fw=new RegExp(Hn+" \\w+","i"),$w=new RegExp(Dn+" \\w+","i"),pc=new RegExp(Dr+"|PlayBook|BB10","i"),Nw={"NT3.51":"NT 3.11","NT4.0":"NT 4.0","5.0":"2000",5.1:"XP",5.2:"XP","6.0":"Vista",6.1:"7",6.2:"8",6.3:"8.1",6.4:"10","10.0":"10"},Fp=function(e,t){return t=t||"",ce(e," OPR/")&&ce(e,"Mini")?Iw:ce(e," OPR/")?hc:pc.test(e)?Dr:ce(e,"IE"+wt)||ce(e,"WPDesktop")?Tp:ce(e,Sp)?Rp:ce(e,dc)||ce(e,"Edg/")?Cp:ce(e,"FBIOS")?"Facebook "+wt:ce(e,"UCWEB")||ce(e,"UCBrowser")?"UC Browser":ce(e,"CriOS")?Pp:ce(e,"CrMo")||ce(e,Qs)?Qs:ce(e,ds)&&ce(e,kn)?Op:ce(e,"FxiOS")?Ap:ce(e.toLowerCase(),sl.toLowerCase())?sl:((s,r)=>r&&ce(r,Ep)||(function(n){return ce(n,kn)&&!ce(n,Qs)&&!ce(n,ds)})(s))(e,t)?ce(e,wt)?Ip:kn:ce(e,Cr)?Cr:ce(e,"MSIE")||ce(e,"Trident/")?fc:ce(e,"Gecko")?Cr:""},Dw={[Tp]:[new RegExp("rv:"+it)],[Cp]:[new RegExp(dc+"?\\/"+it)],[Qs]:[new RegExp("("+Qs+"|CrMo)\\/"+it)],[Pp]:[new RegExp("CriOS\\/"+it)],"UC Browser":[new RegExp("(UCBrowser|UCWEB)\\/"+it)],[kn]:[Zo],[Ip]:[Zo],[hc]:[new RegExp("(Opera|OPR)\\/"+it)],[Cr]:[new RegExp(Cr+"\\/"+it)],[Ap]:[new RegExp("FxiOS\\/"+it)],[sl]:[new RegExp("Konqueror[:/]?"+it,"i")],[Dr]:[new RegExp(Dr+" "+it),Zo],[Op]:[new RegExp("android\\s"+it,"i")],[Rp]:[new RegExp(Sp+"\\/"+it)],[fc]:[new RegExp("(rv:|MSIE )"+it)],Mozilla:[new RegExp("rv:"+it)]},Hw=function(e,t){var s=Fp(e,t),r=Dw[s];if(Y(r))return null;for(var n=0;r.length>n;n++){var i=e.match(r[n]);if(i)return parseFloat(i[i.length-2])}return null},Xu=[[new RegExp(Ar+"; "+Ar+" (.*?)[);]","i"),e=>[Ar,e&&e[1]||""]],[new RegExp(Dn,"i"),[Dn,""]],[new RegExp(Hn,"i"),[Hn,""]],[pc,[Dr,""]],[new RegExp(ln,"i"),(e,t)=>{if(/Phone/.test(t)||/WPDesktop/.test(t))return[el,""];if(new RegExp(wt).test(t)&&!/IEMobile\b/.test(t))return[ln+" "+wt,""];var s=/Windows NT ([0-9.]+)/i.exec(t);if(s&&s[1]){var r=Nw[s[1]]||"";return/arm/i.test(t)&&(r="RT"),[ln,r]}return[ln,""]}],[/((iPhone|iPad|iPod).*?OS (\d+)_(\d+)_?(\d+)?|iPhone)/,e=>e&&e[3]?[ji,[e[3],e[4],e[5]||"0"].join(".")]:[ji,""]],[/(watch.*\/(\d+\.\d+\.\d+)|watch os,(\d+\.\d+),)/i,e=>{var t="";return e&&e.length>=3&&(t=Y(e[2])?e[3]:e[2]),["watchOS",t]}],[new RegExp("("+ds+" (\\d+)\\.(\\d+)\\.?(\\d+)?|"+ds+")","i"),e=>e&&e[2]?[ds,[e[2],e[3],e[4]||"0"].join(".")]:[ds,""]],[/Mac OS X (\d+)[_.](\d+)[_.]?(\d+)?/i,e=>{var t=["Mac OS X",""];return e&&e[1]&&(t[1]=[e[1],e[2],e[3]||"0"].join(".")),t}],[/Mac/i,["Mac OS X",""]],[/CrOS/,[Ow,""]],[/Linux|debian/i,["Linux",""]]],Qu=function(e){return $w.test(e)?Dn:Fw.test(e)?Hn:Mw.test(e)?Ar:new RegExp(tl,"i").test(e)?tl:new RegExp("("+el+"|WPDesktop)","i").test(e)?el:/iPad/.test(e)?wp:/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(watch)(?: ?os[,/]|\d,\d\/)[\d.]+/i.test(e)?xp:pc.test(e)?Dr:/(kobo)\s(ereader|touch)/i.test(e)?"Kobo":new RegExp(Yu,"i").test(e)?Yu:/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i.test(e)||/(kf[a-z]+)( bui|\)).+silk\//i.test(e)?"Kindle Fire":/(Android|ZTE)/i.test(e)?new RegExp(wt).test(e)&&!/(9138B|TB782B|Nexus [97]|pixel c|HUAWEISHT|BTV|noble nook|smart ultra 6)/i.test(e)||/pixel[\daxl ]{1,6}/i.test(e)&&!/pixel c/i.test(e)||/(huaweimed-al00|tah-|APA|SM-G92|i980|zte|U304AA)/i.test(e)||/lmy47v/i.test(e)&&!/QTAQZ3/i.test(e)?ds:bp:new RegExp("(pda|"+wt+")","i").test(e)?Lw:new RegExp(Nr,"i").test(e)&&!new RegExp(Nr+" pc","i").test(e)?Mp:""},jw=e=>e instanceof Error,$p={trace:{text:"TRACE",number:1},debug:{text:"DEBUG",number:5},info:{text:"INFO",number:9},warn:{text:"WARN",number:13},error:{text:"ERROR",number:17},fatal:{text:"FATAL",number:21}},Uw=$p.info;function Np(e){if(Yt(e))return{boolValue:e};if(typeof e=="number")return Number.isFinite(e)?Number.isInteger(e)?{intValue:e}:{doubleValue:e}:{stringValue:String(e)};if(typeof e=="string")return{stringValue:e};if(he(e))return{arrayValue:{values:e.map((t=>Np(t)))}};try{return{stringValue:JSON.stringify(e)}}catch{return{stringValue:String(e)}}}function Zu(e){var t=[];for(var s in e){var r=e[s];ys(r)||Y(r)||t.push({key:s,value:Np(r)})}return t}function Bw(e){var t=globalThis._posthogChunkIds;if(t){var s=Object.keys(t);return Qo&&s.length===Ju||(Ju=s.length,Qo=s.reduce(((r,n)=>{oi||(oi={});var i=oi[n];if(i)r[i[0]]=i[1];else for(var o=e(n),a=o.length-1;a>=0;a--){var l=o[a],u=l?.filename,c=t[n];if(u&&c){r[u]=c,oi[n]=[u,c];break}}return r}),{})),Qo}}class Vw{constructor(t,s,r){r===void 0&&(r=[]),this.coercers=t,this.stackParser=s,this.modifiers=r}buildFromUnknown(t,s){s===void 0&&(s={});var r=s&&s.mechanism||{handled:!0,type:"generic"},n=this.buildCoercingContext(r,s,0).apply(t),i=this.buildParsingContext(s),o=this.parseStacktrace(n,i);return{$exception_list:this.convertToExceptionList(o,r),$exception_level:"error"}}modifyFrames(t){var s=this;return Rt((function*(){for(var r of t)r.stacktrace&&r.stacktrace.frames&&he(r.stacktrace.frames)&&(r.stacktrace.frames=yield s.applyModifiers(r.stacktrace.frames));return t}))()}coerceFallback(t){var s;return{type:"Error",value:"Unknown error",stack:(s=t.syntheticException)==null?void 0:s.stack,synthetic:!0}}parseStacktrace(t,s){var r,n;return t.cause!=null&&(r=this.parseStacktrace(t.cause,s)),t.stack!=""&&t.stack!=null&&(n=this.applyChunkIds(this.stackParser(t.stack,t.synthetic?s.skipFirstLines:0),s.chunkIdMap)),H({},t,{cause:r,stack:n})}applyChunkIds(t,s){return t.map((r=>(r.filename&&s&&(r.chunk_id=s[r.filename]),r)))}applyCoercers(t,s){for(var r of this.coercers)if(r.match(t))return r.coerce(t,s);return this.coerceFallback(s)}applyModifiers(t){var s=this;return Rt((function*(){var r=t;for(var n of s.modifiers)r=yield n(r);return r}))()}convertToExceptionList(t,s){var r,n,i,o={type:t.type,value:t.value,mechanism:{type:(r=s.type)!==null&&r!==void 0?r:"generic",handled:(n=s.handled)===null||n===void 0||n,synthetic:(i=t.synthetic)!==null&&i!==void 0&&i}};t.stack&&(o.stacktrace={type:"raw",frames:t.stack});var a=[o];return t.cause!=null&&a.push(...this.convertToExceptionList(t.cause,H({},s,{handled:!0}))),a}buildParsingContext(t){var s;return{chunkIdMap:Bw(this.stackParser),skipFirstLines:(s=t.skipFirstLines)!==null&&s!==void 0?s:1}}buildCoercingContext(t,s,r){r===void 0&&(r=0);var n=(i,o)=>
4{if(4>=o){var a=this.buildCoercingContext(t,s,o);return this.applyCoercers(i,a)}};return H({},s,{syntheticException:r==0?s.syntheticException:void 0,mechanism:t,apply:i=>n(i,r),next:i=>n(i,r+1)})}}var Hr="?";function rl(e,t,s,r,n){var i={platform:e,filename:t,function:s==="<anonymous>"?Hr:s,in_app:!0};return Y(r)||(i.lineno=r),Y(n)||(i.colno=n),i}var Dp=(e,t)=>{var s=e.indexOf("safari-extension")!==-1,r=e.indexOf("safari-web-extension")!==-1;return s||r?[e.indexOf("@")!==-1?e.split("@")[0]:Hr,s?"safari-extension:"+t:"safari-web-extension:"+t]:[e,t]},Ww=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,qw=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Kw=/\((\S*)(?::(\d+))(?::(\d+))\)/,Gw=(e,t)=>{var s=Ww.exec(e);if(s){var[,r,n,i]=s;return rl(t,r,Hr,+n,+i)}var o=qw.exec(e);if(o){if(o[2]&&o[2].indexOf("eval")===0){var a=Kw.exec(o[2]);a&&(o[2]=a[1],o[3]=a[2],o[4]=a[3])}var[l,u]=Dp(o[1]||Hr,o[2]);return rl(t,u,l,o[3]?+o[3]:void 0,o[4]?+o[4]:void 0)}},zw=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Jw=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Yw=(e,t)=>{var s=zw.exec(e);if(s){if(s[3]&&s[3].indexOf(" > eval")>-1){var r=Jw.exec(s[3]);r&&(s[1]=s[1]||"eval",s[3]=r[1],s[4]=r[2],s[5]="")}var n=s[3],i=s[1]||Hr;return[i,n]=Dp(i,n),rl(t,n,i,s[4]?+s[4]:void 0,s[5]?+s[5]:void 0)}},ef=/\(error: (.*)\)/;class Xw{match(t){return this.isDOMException(t)||this.isDOMError(t)}coerce(t,s){var r=Oe(t.stack);return{type:this.getType(t),value:this.getValue(t),stack:r?t.stack:void 0,cause:t.cause?s.next(t.cause):void 0,synthetic:!1}}getType(t){return this.isDOMError(t)?"DOMError":"DOMException"}getValue(t){var s=t.name||(this.isDOMError(t)?"DOMError":"DOMException");return t.message?s+": "+t.message:s}isDOMException(t){return Hi(t,"DOMException")}isDOMError(t){return Hi(t,"DOMError")}}class Qw{match(t){return(s=>s instanceof Error)(t)}coerce(t,s){return{type:this.getType(t),value:this.getMessage(t,s),stack:this.getStack(t),cause:t.cause?s.next(t.cause):void 0,synthetic:!1}}getType(t){return t.name||t.constructor.name}getMessage(t,s){var r=t.message;return String(r.error&&typeof r.error.message=="string"?r.error.message:r)}getStack(t){return t.stacktrace||t.stack||void 0}}class Zw{constructor(){}match(t){return Hi(t,"ErrorEvent")&&t.error!=null}coerce(t,s){var r;return s.apply(t.error)||{type:"ErrorEvent",value:t.message,stack:(r=s.syntheticException)==null?void 0:r.stack,synthetic:!0}}}var eE=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;class tE{match(t){return typeof t=="string"}coerce(t,s){var r,[n,i]=this.getInfos(t);return{type:n??"Error",value:i??t,stack:(r=s.syntheticException)==null?void 0:r.stack,synthetic:!0}}getInfos(t){var s="Error",r=t,n=t.match(eE);return n&&(s=n[1],r=n[2]),[s,r]}}var sE=["fatal","error","warning","log","info","debug"];function Hp(e,t){t===void 0&&(t=40);var s=Object.keys(e);if(s.sort(),!s.length)return"[object has no keys]";for(var r=s.length;r>0;r--){var n=s.slice(0,r).join(", ");if(t>=n.length)return r===s.length?n:n.length>t?n.slice(0,t)+"...":n}return""}class rE{match(t){return typeof t=="object"&&t!==null}coerce(t,s){var r,n=this.getErrorPropertyFromObject(t);return n?s.apply(n):{type:this.getType(t),value:this.getValue(t),stack:(r=s.syntheticException)==null?void 0:r.stack,level:this.isSeverityLevel(t.level)?t.level:"error",synthetic:!0}}getType(t){return uc(t)?t.constructor.name:"Error"}getValue(t){if("name"in t&&typeof t.name=="string"){var s="'"+t.name+"' captured as exception";return"message"in t&&typeof t.message=="string"&&(s+=" with message: '"+t.message+"'"),s}if("message"in t&&typeof t.message=="string")return t.message;var r=this.getObjectClassName(t);return(r&&r!=="Object"?"'"+r+"'":"Object")+" captured as exception with keys: "+Hp(t)}isSeverityLevel(t){return Oe(t)&&!_i(t)&&sE.indexOf(t)>=0}getErrorPropertyFromObject(t){for(var s in t)if({}.hasOwnProperty.call(t,s)){var r=t[s];if(jw(r))return r}}getObjectClassName(t){try{var s=Object.getPrototypeOf(t);return s?s.constructor.name:void 0}catch{return}}}class nE{match(t){return uc(t)}coerce(t,s){var r,n=t.constructor.name;return{type:n,value:n+" captured as exception with keys: "+Hp(t),stack:(r=s.syntheticException)==null?void 0:r.stack,synthetic:!0}}}class iE{match(t){return yp(t)}coerce(t,s){var r;return{type:"Error",value:"Primitive value captured as exception: "+String(t),stack:(r=s.syntheticException)==null?void 0:r.stack,synthetic:!0}}}class oE{match(t){return Hi(t,"PromiseRejectionEvent")||this.isCu
4stomEventWrappingRejection(t)}isCustomEventWrappingRejection(t){if(!uc(t))return!1;try{var s=t.detail;return s!=null&&typeof s=="object"&&"reason"in s}catch{return!1}}coerce(t,s){var r,n=this.getUnhandledRejectionReason(t);return yp(n)?{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(n),stack:(r=s.syntheticException)==null?void 0:r.stack,synthetic:!0}:s.apply(n)}getUnhandledRejectionReason(t){try{if("reason"in t)return t.reason;if("detail"in t&&t.detail!=null&&typeof t.detail=="object"&&"reason"in t.detail)return t.detail.reason}catch{}return t}}var Ui="$message",Bi="$timestamp",aE=new Set([Ui,Bi]),ea={enabled:!0,max_bytes:32768};function Vi(e){var t;return e?{enabled:(t=e.enabled)!==null&&t!==void 0?t:ea.enabled,max_bytes:cE(e.max_bytes,ea.max_bytes)}:H({},ea)}class lE{constructor(t){this.Jt=[],this.Kt=0,this.Lt=Vi(t)}setConfig(t){this.Lt=Vi(t),this.Qt()}add(t){var s=(function(n){var i=(function(c){var f=new WeakSet;try{return JSON.stringify(c,((d,h)=>{if(typeof h=="bigint")return h.toString();if(typeof h!="function"&&typeof h!="symbol"){if(h instanceof Date)return h.toISOString();if(h instanceof Error)return{name:h.name,message:h.message,stack:h.stack};if(h&&typeof h=="object"){if(f.has(h))return"[Circular]";f.add(h)}return h}}))}catch{return}})(n);if(i)try{var o=JSON.parse(i);if(!Fe(o))return;var a=o,l=a[Ui],u=a[Bi];return!Oe(l)||l.trim().length===0||!Oe(u)&&!Ot(u)?void 0:{step:a,json:i}}catch{return}})(t);if(s){var r=(function(n){if(typeof TextEncoder<"u")return new TextEncoder().encode(n).length;for(var i=encodeURIComponent(n),o=0,a=0;i.length>a;a++)i[a]==="%"?(o+=1,a+=2):o+=1;return o})(s.json);r>this.Lt.max_bytes||(this.Jt.push({step:s.step,bytes:r}),this.Kt+=r,this.Qt())}}getAttachable(){return this.Jt.map((t=>t.step))}clear(){this.Jt=[],this.Kt=0}size(){return this.Jt.length}Qt(){for(;this.Kt>this.Lt.max_bytes&&this.Jt.length>0;){var t=this.Jt.shift();t&&(this.Kt-=t.bytes)}}}function cE(e,t){if(!Ot(e)||e===1/0||e===-1/0)return t;var s=Math.floor(e);return 0>s?t:s}var jp=function(e,t){var{debugEnabled:s}=t===void 0?{}:t,r={C(n){if(A&&(at.DEBUG||ee.POSTHOG_DEBUG||s)&&!Y(A.console)&&A.console){for(var i=("__rrweb_original__"in A.console[n])?A.console[n].__rrweb_original__:A.console[n],o=arguments.length,a=new Array(o>1?o-1:0),l=1;o>l;l++)a[l-1]=arguments[l];i(e,...a)}},info(){for(var n=arguments.length,i=new Array(n),o=0;n>o;o++)i[o]=arguments[o];r.C("log",...i)},warn(){for(var n=arguments.length,i=new Array(n),o=0;n>o;o++)i[o]=arguments[o];r.C("warn",...i)},error(){for(var n=arguments.length,i=new Array(n),o=0;n>o;o++)i[o]=arguments[o];r.C("error",...i)},critical(){for(var n=arguments.length,i=new Array(n),o=0;n>o;o++)i[o]=arguments[o];console.error(e,...i)},uninitializedWarning(n){r.error("You must initialize PostHog before calling "+n)},createLogger:(n,i)=>jp(e+" "+n,i)};return r},z=jp("[PostHog.js]"),Te=z.createLogger,uE=Te("[ExternalScriptsLoader]"),ta=(e,t,s)=>{if(e.config.disable_external_dependency_loading)return uE.warn(t+" was requested but loading of external scripts is disabled."),s("Loading of external scripts is disabled");var r=K?.querySelectorAll("script");if(r){for(var n,i=function(){if(r[o].src===t){var l=r[o];return l.__posthog_loading_callback_fired?{v:s()}:(l.addEventListener("load",(u=>{l.__posthog_loading_callback_fired=!0,s(void 0,u)})),l.onerror=u=>s(u),{v:void 0})}},o=0;r.length>o;o++)if(n=i())return n.v}var a=()=>{if(!K)return s("document not found");var l=K.createElement("script");if(l.type="text/javascript",l.crossOrigin="anonymous",l.src=t,l.onload=f=>{l.__posthog_loading_callback_fired=!0,s(void 0,f)},l.onerror=f=>s(f),e.config.prepare_external_dependency_script&&(l=e.config.prepare_external_dependency_script(l)),!l)return s("prepare_external_dependency_script returned null");if(e.config.external_scripts_inject_target==="head")K.head.appendChild(l);else{var u,c=K.querySelectorAll("body > script");c.length>0?(u=c[0].parentNode)==null||u.insertBefore(l,c[0]):K.body.appendChild(l)}};K!=null&&K.body?a():K?.addEventListener("DOMContentLoaded",a)};ee.__PosthogExtensions__=ee.__PosthogExtensions__||{},ee.__PosthogExtensions__.loadExternalDependency=(e,t,s)=>{if(t!=="remote-config"){var r;if(e.config.__preview_external_dependency_versioned_paths)r=e.requestRouter.endpointFor("assets","/static/"+e.version+"/"+t+".js");else{var n="/static/"+t+".js?v="+e.version;if(t==="toolbar"){var i=3e5;n=n+"&t="+Math.floor(Date.now()/i)*i}r=e.requestRouter.endpointFor("assets",n)}ta(e,r,s)}else{var o=e.requestRouter.endpointFor("assets","/array/"+e.config.token+"/config.js");ta(e,o,s)}},ee.__PosthogExtensions__.loadSiteApp=(e,t,s)=>{var r=e.requestRouter.endpointFor("api",t);ta(e,r,s)};var Up="$people_distinct_id",Wi="$device_id",cn="__alias",un="__timers",nl="$autocapture_disabled_server_side",il="$heatmaps_enabled_server_side",ol="$exception_capture_enabled_server_side",al="$error_tracking_suppression_rules",ll="$error_tracking_capture_extension_exceptions",cl="$web_vitals_enabled_server_side",gc="$dead_clicks_enabled_server_side",ul="$product_tours_enabled_server_side",fl="$web_vitals_allowed_metrics",fn="$session_recording_remote_config",Bp="$replay_override_sampling",Vp="$replay_override_linked_flag",Wp="$replay_override_url_trigger",qp="$replay_override_event_trigger",qi="$sesid",vc="$session_is_sampled",yr="$enabled_feature_flags",mi="$active_feature_flags",hn="$early_access_features",hl="$feature_flag_details",dl="$feature_flag_payloads",pl="$feature_flag_request_id",os="$override_feature_flags",dr="$override_feature_flag_payloads",dn="$stored_person_properties",Vs="$stored_group_properties",gl="$surveys",vl="$surveys_activated",yi="ph_product_tours",Sn="$flag_call_reported",_l="$flag_call_reported_session_id",ml="$feature_flag_errors",Ki="$feature_flag_evaluated_at",Lt="$user_state",yl="$client_session_props",bl="$capture_rate_limit",wl="$initial_campaign_params",El="$initial_referrer_info",Gi="$initial_person_info",zi="$epp",Kp="__POSTHOG_TOOLBAR__",ai="$posthog_cookieless",Gp="$sdk_debug_extensions_init_method",zp="$sdk_debug_extensions_init_time_ms",Jp="$sdk_debug_recording_script_not_loaded",_c="PostHog loadExternalDependency extension not found.",Ws="on_reject",fs="always",ir="anonymous",or="identified",xl="identified_only",Ji="visibilitychange",Yi="beforeunload",pr="$pageview",sa="$pageleave",ra="$identify",tf="$groupidentify";function li(e,t){he(e)&&e.forEach(t)}function ke(e,t){if(!ue(e))if(he(e))e.forEach(t);else if(Rw(e))e.forEach(((r,n)=>t(r,n)));else for(var s in e)mp.call(e,s)&&t(e[s],s)}var Le=function(e){for(var t=arguments.length,s=new Array(t>1?t-1:0),r=1;t>r;r++)s[r-1]=arguments[r];for(var n of s)for(var i in n)n[i]!==void 0&&(e[i]=n[i]);return e};function bi(e){for(var t=Object.keys(e),s=t.length,r=new Array(s);s--;)r[s]=[t[s],e[t[s]]];return r}var sf=function(e){try{return e()}catch{return}},fE=function(e){return function(){try{for(var t=arguments.length,s=new Array(t),r=0;t>r;r++)s[r]=arguments[r];return e.apply(this,s)}catch(n){z.critical("Implementation error. Please turn on debug mode and open a ticket on https://app.posthog.com/home#panel=support%3Asupport%3A."),z.critical(n)}}},mc=function(e){var t={};return ke(e,(function(s,r){(Oe(s)&&s.length>0||Ot(s))&&(t[r]=s)})),t},hE=["herokuapp.com","vercel.app","netlify.app"];function dE(e){var t=e?.hostname;if(!Oe(t))return!1;var s=t.split(".").slice(-2).join(".");for(var r of hE)if(s===r)return!1;return!0}function He(e,t,s,r){var{capture:n=!1,passive:i=!0}=r??{};e?.addEventListener(t,s,{capture:n,passive:i})}
4function Yp(e){return e.name==="ph_toolbar_internal"}Math.trunc||(Math.trunc=function(e){return 0>e?Math.ceil(e):Math.floor(e)}),Number.isInteger||(Number.isInteger=function(e){return Ot(e)&&isFinite(e)&&Math.floor(e)===e});class Xi{constructor(t){if(this.bytes=t,t.length!==16)throw new TypeError("not 128-bit length")}static fromFieldsV7(t,s,r,n){if(!Number.isInteger(t)||!Number.isInteger(s)||!Number.isInteger(r)||!Number.isInteger(n)||0>t||0>s||0>r||0>n||t>0xffffffffffff||s>4095||r>1073741823||n>4294967295)throw new RangeError("invalid field value");var i=new Uint8Array(16);return i[0]=t/Math.pow(2,40),i[1]=t/Math.pow(2,32),i[2]=t/Math.pow(2,24),i[3]=t/Math.pow(2,16),i[4]=t/Math.pow(2,8),i[5]=t,i[6]=112|s>>>8,i[7]=s,i[8]=128|r>>>24,i[9]=r>>>16,i[10]=r>>>8,i[11]=r,i[12]=n>>>24,i[13]=n>>>16,i[14]=n>>>8,i[15]=n,new Xi(i)}toString(){for(var t="",s=0;this.bytes.length>s;s++)t=t+(this.bytes[s]>>>4).toString(16)+(15&this.bytes[s]).toString(16),s!==3&&s!==5&&s!==7&&s!==9||(t+="-");if(t.length!==36)throw new Error("Invalid UUIDv7 was generated");return t}clone(){return new Xi(this.bytes.slice(0))}equals(t){return this.compareTo(t)===0}compareTo(t){for(var s=0;16>s;s++){var r=this.bytes[s]-t.bytes[s];if(r!==0)return Math.sign(r)}return 0}}class pE{constructor(){this.I=0,this.S=0,this.k=new gE}generate(){var t=this.generateOrAbort();if(Y(t)){this.I=0;var s=this.generateOrAbort();if(Y(s))throw new Error("Could not generate UUID after timestamp reset");return s}return t}generateOrAbort(){var t=Date.now();if(t>this.I)this.I=t,this.A();else{if(this.I>=t+1e4)return;this.S++,this.S>4398046511103&&(this.I++,this.A())}return Xi.fromFieldsV7(this.I,Math.trunc(this.S/Math.pow(2,30)),this.S&Math.pow(2,30)-1,this.k.nextUint32())}A(){this.S=1024*this.k.nextUint32()+(1023&this.k.nextUint32())}}var rf,Xp=e=>{if(typeof UUIDV7_DENY_WEAK_RNG<"u"&&UUIDV7_DENY_WEAK_RNG)throw new Error("no cryptographically strong RNG available");for(var t=0;e.length>t;t++)e[t]=65536*Math.trunc(65536*Math.random())+Math.trunc(65536*Math.random());return e};A&&!Y(A.crypto)&&crypto.getRandomValues&&(Xp=e=>crypto.getRandomValues(e));class gE{constructor(){this.T=new Uint32Array(8),this.N=1/0}nextUint32(){return this.T.length>this.N||(Xp(this.T),this.N=0),this.T[this.N++]}}var Ts=()=>vE().toString(),vE=()=>(rf||(rf=new pE)).generate(),Xr="",_E=/[a-z0-9][a-z0-9-]+\.[a-z]{2,}$/i,Jt={R:()=>!!K,B(e){z.error("cookieStore error: "+e)},O(e){if(K){try{for(var t=e+"=",s=K.cookie.split(";").filter((i=>i.length)),r=0;s.length>r;r++){for(var n=s[r];n.charAt(0)==" ";)n=n.substring(1,n.length);if(n.indexOf(t)===0)return decodeURIComponent(n.substring(t.length,n.length))}}catch{}return null}},Z(e){var t;try{t=JSON.parse(Jt.O(e))||{}}catch{}return t},M(e,t,s,r,n){if(K)try{var i="",o="",a=(function(c,f){if(f){var d=(function(g,p){if(p===void 0&&(p=K),Xr)return Xr;if(!p||["localhost","127.0.0.1"].includes(g))return"";for(var R=g.split("."),E=Math.min(R.length,8),w="dmn_chk_"+Ts();!Xr&&E--;){var v=R.slice(E).join("."),m=w+"=1;domain=."+v+";path=/";p.cookie=m+";max-age=3",p.cookie.includes(w)&&(p.cookie=m+";max-age=0",Xr=v)}return Xr})(c);if(!d){var h=(g=>{var p=g.match(_E);return p?p[0]:""})(c);h!==d&&z.info("Warning: cookie subdomain discovery mismatch",h,d),d=h}return d?"; domain=."+d:""}return""})(K.location.hostname,r);if(s){var l=new Date;l.setTime(l.getTime()+864e5*s),i="; expires="+l.toUTCString()}n&&(o="; secure");var u=e+"="+encodeURIComponent(JSON.stringify(t))+i+"; SameSite=Lax; path=/"+a+o;return u.length>3686.4&&z.warn("cookieStore warning: large cookie, len="+u.length),K.cookie=u,u}catch{return}},F(e,t){if(K!=null&&K.cookie)try{Jt.M(e,"",-1,t)}catch{return}}},na=null,Ae={R(){if(!ys(na))return na;var e=!0;if(Y(A))e=!1;else try{var t="__mplssupport__";Ae.M(t,"xyz"),Ae.O(t)!=='"xyz"'&&(e=!1),Ae.F(t)}catch{e=!1}return e||z.error("localStorage unsupported; falling back to cookie store"),na=e,e},B(e){z.error("localStorage error: "+e)},O(e){try{return A?.localStorage.getItem(e)}catch(t){Ae.B(t)}return null},Z(e){try{return JSON.parse(Ae.O(e))||{}}catch{}return null},M(e,t){try{A?.localStorage.setItem(e,JSON.stringify(t))}catch(s){Ae.B(s)}},F(e){try{A?.localStorage.removeItem(e)}catch(t){Ae.B(t)}}},mE=[Wi,"distinct_id",qi,vc,zi,Gi,Lt],ci={},yE={R:()=>!0,B(e){z.error("memoryStorage error: "+e)},O:e=>ci[e]||null,Z:e=>ci[e]||null,M(e,t){ci[e]=t},F(e){delete ci[e]}},Ds=null,Xe={R(){if(!ys(Ds))return Ds;if(Ds=!0,Y(A))Ds=!1;else try{var e="__support__";Xe.M(e,"xyz"),Xe.O(e)!=='"xyz"'&&(Ds=!1),Xe.F(e)}catch{Ds=!1}return Ds},B(e){z.error("sessionStorage error: ",e)},O(e){try{return A?.sessionStorage.getItem(e)}catch(t){Xe.B(t)}return null},Z(e){try{return JSON.parse(Xe.O(e))||null}catch{}return null},M(e,t){try{A?.sessionStorage.setItem(e,JSON.stringify(t))}catch(s){Xe.B(s)}},F(e){try{A?.sessionStorage.removeItem(e)}catch(t){Xe.B(t)}}};class bE{constructor(t){this._instance=t}get Lt(){return this._instance.config}get consent(){return this.tr()?0:this.rr}isOptedOut(){return this.Lt.cookieless_mode===fs||this.isRejected()||this.consent===-1&&this.Lt.cookieless_mode===Ws}isOptedIn(){return!this.isOptedOut()}isExplicitlyOptedOut(){return this.consent===0}isRejected(){return this.consent===0||this.consent===-1&&this.Lt.opt_out_capturing_by_default}optInOut(t){this.ir.M(this.nr,t?1:0,this.Lt.cookie_expiration,this.Lt.cross_subdomain_cookie,this.Lt.secure_cookie)}reset(){this.ir.F(this.nr,this.Lt.cross_subdomain_cookie)}get nr(){var{token:t,opt_out_capturing_cookie_prefix:s,consent_persistence_name:r}=this._instance.config;
4return r||(s?s+t:"__ph_opt_in_out_"+t)}get rr(){var t=this.ir.O(this.nr);return Xo(t)?1:ce(Cw,t)?0:-1}get ir(){var t=this.Lt.opt_out_capturing_persistence_type,s=t==="localStorage"?Ae:Jt;if(!this.sr||this.sr!==s){this.sr=s;var r=t==="localStorage"?Jt:Ae;r.O(this.nr)&&(this.sr.O(this.nr)||this.optInOut(Xo(r.O(this.nr))),r.F(this.nr,this.Lt.cross_subdomain_cookie))}return this.sr}tr(){return!!this.Lt.respect_dnt&&[mt?.doNotTrack,mt?.msDoNotTrack,ee.doNotTrack].some((t=>Xo(t)))}}var ui=Te("[Dead Clicks]"),wE=()=>!0,EE=e=>{var t,s=!((t=e.instance.persistence)==null||!t.get_property(gc)),r=e.instance.config.capture_dead_clicks;return Yt(r)?r:!!Fe(r)||s};class nf{get lazyLoadedDeadClicksAutocapture(){return this.ar}constructor(t,s,r){this.instance=t,this.isEnabled=s,this.onCapture=r,this.startIfEnabledOrStop()}onRemoteConfig(t){"captureDeadClicks"in t&&(this.instance.persistence&&this.instance.persistence.register({[gc]:t.captureDeadClicks}),this.startIfEnabledOrStop())}startIfEnabledOrStop(){this.isEnabled(this)?this.lr((()=>{this.ur()})):this.stop()}lr(t){var s,r;(s=ee.__PosthogExtensions__)!=null&&s.initDeadClicksAutocapture&&t(),(r=ee.__PosthogExtensions__)==null||r.loadExternalDependency==null||r.loadExternalDependency(this.instance,"dead-clicks-autocapture",(n=>{n?ui.error("failed to load script",n):t()}))}ur(){var t;if(K){if(!this.ar&&(t=ee.__PosthogExtensions__)!=null&&t.initDeadClicksAutocapture){var s=Fe(this.instance.config.capture_dead_clicks)?this.instance.config.capture_dead_clicks:{};s.__onCapture=this.onCapture,this.ar=ee.__PosthogExtensions__.initDeadClicksAutocapture(this.instance,s),this.ar.start(K),ui.info("starting...")}}else ui.error("`document` not found. Cannot start.")}stop(){this.ar&&(this.ar.stop(),this.ar=void 0,ui.info("stopping..."))}}var ia=Te("[SegmentIntegration]"),Qp="posthog-js";function Zp(e,t){var{organization:s,projectId:r,prefix:n,severityAllowList:i=["error"],sendExceptionsToPostHog:o=!0}=t===void 0?{}:t;return a=>{var l,u,c,f,d;if(i!=="*"&&!i.includes(a.level)||!e.__loaded)return a;a.tags||(a.tags={});var h=e.requestRouter.endpointFor("ui","/project/"+e.config.token+"/person/"+e.get_distinct_id());a.tags["PostHog Person URL"]=h,e.sessionRecordingStarted()&&(a.tags["PostHog Recording URL"]=e.get_session_replay_url({withTimestamp:!0}));var g,p=((l=a.exception)==null?void 0:l.values)||[],R=p.map((w=>H({},w,{stacktrace:w.stacktrace?H({},w.stacktrace,{type:"raw",frames:(w.stacktrace.frames||[]).map((v=>H({},v,{platform:"web:javascript"})))}):void 0}))),E={$exception_message:((u=p[0])==null?void 0:u.value)||a.message,$exception_type:(c=p[0])==null?void 0:c.type,$exception_level:a.level,$exception_list:R,$sentry_event_id:a.event_id,$sentry_exception:a.exception,$sentry_exception_message:((f=p[0])==null?void 0:f.value)||a.message,$sentry_exception_type:(d=p[0])==null?void 0:d.type,$sentry_tags:a.tags};return s&&r&&(E.$sentry_url=(n||"https://sentry.io/organizations/")+s+"/issues/?project="+r+"&query="+a.event_id),o&&((g=e.exceptions)==null||g.sendExceptionEvent(E)),a}}class xE{constructor(t,s,r,n,i,o){this.name=Qp,this.setupOnce=function(a){a(Zp(t,{organization:s,projectId:r,prefix:n,severityAllowList:i,sendExceptionsToPostHog:o==null||o}))}}}class of{constructor(t){this.hr=(s,r,n)=>{n&&(n.noSessionId||n.activityTimeout||n.sessionPastMaximumLength)&&(z.info("[PageViewManager] Session rotated, clearing pageview state",{sessionId:s,changeReason:n}),this.cr=void 0,this._instance.scrollManager.resetContext())},this._instance=t,this.dr()}dr(){var t;this.vr=(t=this._instance.sessionManager)==null?void 0:t.onSessionId(this.hr)}destroy(){var t;(t=this.vr)==null||t.call(this),this.vr=void 0}doPageView(t,s){var r,n=this.pr(t,s);return this.cr={pathname:(r=A?.location.pathname)!==null&&r!==void 0?r:"",pageViewId:s,timestamp:t},this._instance.scrollManager.resetContext(),n}doPageLeave(t){var s;return this.pr(t,(s=this.cr)==null?void 0:s.pageViewId)}doEvent(){var t;return{$pageview_id:(t=this.cr)==null?void 0:t.pageViewId}}pr(t,s){var r=this.cr;if(!r)return{$pageview_id:s};var n={$pageview_id:s,$prev_pageview_id:r.pageViewId},i=this._instance.scrollManager.getContext();if(i&&!this._instance.config.disable_scroll_properties){var{maxScrollHeight:o,lastScrollY:a,maxScrollY:l,maxContentHeight:u,last
4ContentY:c,maxContentY:f}=i;if(!(Y(o)||Y(a)||Y(l)||Y(u)||Y(c)||Y(f))){o=Math.ceil(o),a=Math.ceil(a),l=Math.ceil(l),u=Math.ceil(u),c=Math.ceil(c),f=Math.ceil(f);var d=o>1?Xt(a/o,0,1,z):1,h=o>1?Xt(l/o,0,1,z):1,g=u>1?Xt(c/u,0,1,z):1,p=u>1?Xt(f/u,0,1,z):1;n=Le(n,{$prev_pageview_last_scroll:a,$prev_pageview_last_scroll_percentage:d,$prev_pageview_max_scroll:l,$prev_pageview_max_scroll_percentage:h,$prev_pageview_last_content:c,$prev_pageview_last_content_percentage:g,$prev_pageview_max_content:f,$prev_pageview_max_content_percentage:p})}}return r.pathname&&(n.$prev_pageview_pathname=r.pathname),r.timestamp&&(n.$prev_pageview_duration=(t.getTime()-r.timestamp.getTime())/1e3),n}}var kE={[Up]:{exposure:"hidden"},[cn]:{exposure:"hidden"},__cmpns:{exposure:"hidden"},[un]:{exposure:"hidden"},[nl]:{exposure:"event"},[il]:{exposure:"hidden"},[ol]:{exposure:"event"},[al]:{exposure:"hidden"},[ll]:{exposure:"event"},[cl]:{exposure:"event"},[gc]:{exposure:"event"},[ul]:{exposure:"hidden"},[fl]:{exposure:"event"},[fn]:{exposure:"hidden"},$session_recording_enabled_server_side:{exposure:"hidden"},[qi]:{exposure:"hidden"},[vc]:{exposure:"event"},$session_past_minimum_duration:{exposure:"event"},$session_recording_url_trigger_activated_session:{exposure:"event"},$session_recording_event_trigger_activated_session:{exposure:"event"},$debug_first_full_snapshot_timestamp:{exposure:"event"},[yr]:{exposure:"derived",shouldSkipFromEventProperties:(e,t)=>t(),transformToEventProperties(e){if(!Fe(e))return{};for(var t={},s=Object.keys(e),r=0;s.length>r;r++)t["$feature/"+s[r]]=e[s[r]];return t}},[mi]:{exposure:"event"},[hn]:{exposure:"hidden"},[hl]:{exposure:"hidden"},[dl]:{exposure:"event"},[pl]:{exposure:"event"},[os]:{exposure:"event"},[dr]:{exposure:"hidden"},[dn]:{exposure:"hidden"},[Vs]:{exposure:"hidden"},[gl]:{exposure:"hidden"},[vl]:{exposure:"event"},[yi]:{exposure:"hidden"},$product_tours_activated:{exposure:"hidden"},$conversations_widget_session_id:{exposure:"event"},$conversations_ticket_id:{exposure:"event"},$conversations_widget_state:{exposure:"event"},$conversations_user_traits:{exposure:"event"},[Sn]:{exposure:"hidden"},[_l]:{exposure:"hidden"},[ml]:{exposure:"hidden"},[Ki]:{exposure:"hidden"},[Lt]:{exposure:"hidden"},[yl]:{exposure:"hidden"},[bl]:{exposure:"hidden"},[wl]:{exposure:"hidden"},[El]:{exposure:"hidden"},[Gi]:{exposure:"hidden"},[zi]:{exposure:"hidden"},[Bp]:{exposure:"event"},[Vp]:{exposure:"event"},[Wp]:{exposure:"event"},[qp]:{exposure:"event"},[Gp]:{exposure:"event"},[zp]:{exposure:"event"},[Jp]:{exposure:"event"},$sdk_debug_replay_event_trigger_status:{exposure:"event"},$sdk_debug_replay_linked_flag_trigger_status:{exposure:"event"},$sdk_debug_replay_matched_recording_trigger_groups:{exposure:"event"},$sdk_debug_replay_remote_trigger_matching_config:{exposure:"event"},$sdk_debug_replay_trigger_groups_count:{exposure:"event"},$sdk_debug_replay_url_trigger_status:{exposure:"event"},$session_recording_start_reason:{exposure:"event"}},SE=[["$posthog_sr_group_event_trigger_",{exposure:"hidden"}],["$posthog_sr_group_url_trigger_",{exposure:"hidden"}],["$posthog_sr_group_sampling_",{exposure:"hidden"}]],Qi=e=>{var t=K?.createElement("a");return Y(t)?null:(t.href=e,t)},Zi=function(e,t){for(var s,r=((e.split("#")[0]||"").split(/\?(.*)/)[1]||"").replace(/^\?+/g,"").split("&"),n=0;r.length>n;n++){var i=r[n].split("=");if(i[0]===t){s=i;break}}if(!he(s)||2>s.length)return"";var o=s[1];try{o=decodeURIComponent(o)}catch{z.error("Skipping decoding for malformed query param: "+o)}return o.replace(/\+/g," ")},jn=function(e,t,s){if(!e||!t||!t.length)return e;for(var r=e.split("#"),n=r[1],i=(r[0]||"").split("?"),o=i[1],a=i[0],l=(o||"").split("&"),u=[],c=0;l.length>c;c++){var f=l[c].split("=");he(f)&&(t.includes(f[0])?u.push(f[0]+"="+s):u.push(l[c]))}var d=a;return o!=null&&(d+="?"+u.join("&")),n!=null&&(d+="#"+n),d},eo=function(e,t){var s=e.match(new RegExp(t+"=([^&]*)"));return s?s[1]:null},fi="https?://(.*)",jr=["gclid","gclsrc","dclid","gbraid","wbraid","fbclid","msclkid","twclid","li_fat_id","igshid","ttclid","rdt_cid","epik","qclid","sccid","irclid","_kx"],RE=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","gad_source","mc_cid",...jr],Un="<masked>
4",PE=["li_fat_id"];function eg(e,t,s){if(!K)return{};var r,n=t?[...jr,...s||[]]:[],i=tg(jn(K.URL,n,Un),e),o=(r={},ke(PE,(function(a){var l=Jt.O(a);r[a]=l||null})),r);return Le(o,i)}function tg(e,t){var s=RE.concat(t||[]),r={};return ke(s,(function(n){var i=Zi(e,n);r[n]=i||null})),r}function sg(e){var t=(function(i){return i?i.search(fi+"google.([^/?]*)")===0?"google":i.search(fi+"bing.com")===0?"bing":i.search(fi+"yahoo.com")===0?"yahoo":i.search(fi+"duckduckgo.com")===0?"duckduckgo":null:null})(e),s=t!="yahoo"?"q":"p",r={};if(!ys(t)){r.$search_engine=t;var n=K?Zi(K.referrer,s):"";n.length&&(r.ph_keyword=n)}return r}function af(){return navigator.language||navigator.userLanguage}var to="$direct";function rg(){return K?.referrer||to}function ng(e,t){var s=e?[...jr,...t||[]]:[],r=Ye?.href.substring(0,1e3);return{r:rg().substring(0,1e3),u:r?jn(r,s,Un):void 0}}function ig(e){var t,{r:s,u:r}=e,n={$referrer:s,$referring_domain:s==null?void 0:s==to?to:(t=Qi(s))==null?void 0:t.host};if(r){n.$current_url=r;var i=Qi(r);n.$host=i?.host,n.$pathname=i?.pathname;var o=tg(r);Le(n,o)}if(s){var a=sg(s);Le(n,a)}return n}function og(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{return}}function TE(){try{return new Date().getTimezoneOffset()}catch{return}}var CE=["cookie","localstorage","localstorage+cookie","sessionstorage","memory"];class oa{constructor(t,s){this.Lt=t,this.props={},this.gr=!1,this.mr=(r=>{var n="";return r.token&&(n=r.token.replace(/\+/g,"PL").replace(/\//g,"SL").replace(/=/g,"EQ")),r.persistence_name?"ph_"+r.persistence_name:"ph_"+n+"_posthog"})(t),this.ir=this.yr(t),this.load(),t.debug&&z.info("Persistence loaded",t.persistence,H({},this.props)),this.update_config(t,t,s),this.save()}isDisabled(){return!!this.br}yr(t){CE.indexOf(t.persistence.toLowerCase())===-1&&(z.critical("Unknown persistence type "+t.persistence+"; falling back to localStorage+cookie"),t.persistence="localStorage+cookie");var s=(function(n){n===void 0&&(n=[]);var i=[...mE,...n];return H({},Ae,{Z(o){try{var a={};try{a=Jt.Z(o)||{}}catch{}var l=Le(a,JSON.parse(Ae.O(o)||"{}"));return Ae.M(o,l),l}catch{}return null},M(o,a,l,u,c,f){try{Ae.M(o,a,void 0,void 0,f);var d={};i.forEach((h=>{a[h]&&(d[h]=a[h])})),Object.keys(d).length&&Jt.M(o,d,l,u,c,f)}catch(h){Ae.B(h)}},F(o,a){try{A?.localStorage.removeItem(o),Jt.F(o,a)}catch(l){Ae.B(l)}}})})(t.cookie_persisted_properties||[]),r=t.persistence.toLowerCase();return r==="localstorage"&&Ae.R()?Ae:r==="localstorage+cookie"&&s.R()?s:r==="sessionstorage"&&Xe.R()?Xe:r==="memory"?yE:r==="cookie"?Jt:s.R()?s:Jt}_r(t){var s=t??this.Lt.feature_flag_cache_ttl_ms;if(!s||0>=s)return!1;var r=this.props[Ki];return!r||typeof r!="number"||Date.now()-r>s}properties(){var t={};return ke(this.props,((s,r)=>{var n=(i=>{var o=kE[i];if(o)return o;for(var[a,l]of SE)if(i.indexOf(a)===0)return l})(r);if(n?.exposure==="derived"){if(n.shouldSkipFromEventProperties!=null&&n.shouldSkipFromEventProperties(s,r===yr?()=>this._r():()=>!1))return;n.transformToEventProperties&&Le(t,n.transformToEventProperties(s))}else n&&n.exposure!=="event"||(t[r]=s)})),t}load(){if(!this.br){var t=this.ir.Z(this.mr);t&&(this.props=Le({},t))}}save(){this.br||this.ir.M(this.mr,this.props,this.wr,this.Ir,this.Cr,this.Lt.debug)}remove(){this.ir.F(this.mr,!1),this.ir.F(this.mr,!0)}clear(){this.remove(),this.props={}}register_once(t,s,r){if(Fe(t)){Y(s)&&(s="None"),this.wr=Y(r)?this.Sr:r;var n=!1;if(ke(t,((i,o)=>{this.props.hasOwnProperty(o)&&this.props[o]!==s||(this.kr(o,i),n=!0)})),n)return this.save(),!0}return!1}register(t,s){if(Fe(t)){this.wr=Y(s)?this.Sr:s;var r=!1;if(ke(t,((n,i)=>{t.hasOwnProperty(i)&&this.props[i]!==n&&(this.kr(i,n),r=!0)})),r)return this.save(),!0}return!1}unregister(t){t in this.props&&(this.Tr(t),this.save())}update_campaign_params(){if(!this.gr){var t=eg(this.Lt.custom_campaign_params,this.Lt.mask_personal_data_properties,this.Lt.custom_personal_data_properties);mr(mc(t))||this.register(t),this.gr=!0}}update_search_keyword(){var t;this.register((t=K?.referrer)?sg(t):{})}update_referrer_info(){var t;this.register_once({$referrer:rg(),$referring_domain:K!=null&&K.referrer&&((t=Qi(K.referrer))==null?void 0:t.host)||to},void 0)}set_initial_person_info(){this.props[wl]||this.props[El]||this.register_once({[Gi]:ng(this.Lt.mask_personal_data_properties,this.Lt.custom_personal_data_properties)},void 0)}get_initial_props(){var t={};ke([El,wl],(o=>{var a=this.props[o];a&&ke(a,(function(l,u){t["$initial_"+Za(u)]=l}))}));var s,r,n=this.props[Gi];if(n){var i=(s=ig(n),r={},ke(s,(function(o,a){r["$initial_"+Za(a)]=o})),r);Le(t,i)}return t}safe_merge(t){return ke(this.props,(function(s,r){r in t||(t[r]=s)})),t}update_config(t,s,r){if(this.Sr=this.wr=t.cookie_expiration,this.set_disabled(t.disable_persistence||!!r),this.set_cross_subdomain(t.cross_subdomain_cookie),this.set_secure(t.secure_cookie),t.persistence!==s.persistence||!((o,a)=>
4{if(o.length!==a.length)return!1;var l=[...o].sort(),u=[...a].sort();return l.every(((c,f)=>c===u[f]))})(t.cookie_persisted_properties||[],s.cookie_persisted_properties||[])){var n=this.yr(t),i=this.props;this.clear(),this.ir=n,this.props=i,this.save()}}set_disabled(t){this.br=t,this.br?this.remove():this.save()}set_cross_subdomain(t){t!==this.Ir&&(this.Ir=t,this.remove(),this.save())}set_secure(t){t!==this.Cr&&(this.Cr=t,this.remove(),this.save())}set_event_timer(t,s){var r=this.props[un]||{};r[t]=s,this.kr(un,r),this.save()}remove_event_timer(t){var s=this.props[un]||{},r=s[t];return Y(r)||(delete s[t],this.kr(un,s),this.save()),r}get_property(t){return this.props[t]}set_property(t,s){this.kr(t,s),this.save()}kr(t,s){this.props[t]=s}Tr(t){delete this.props[t]}}var Qr={Activation:"events",Cancellation:"cancelEvents"},aa={Popover:"popover",API:"api",Widget:"widget"},pn={SHOWN:"survey shown",DISMISSED:"survey dismissed",SENT:"survey sent"},la={SURVEY_ID:"$survey_id",SURVEY_ITERATION:"$survey_iteration",SURVEY_LAST_SEEN_DATE:"$survey_last_seen_date"},kl={Popover:"popover",Inline:"inline"},AE={SHOWN:"product tour shown"},lf={TOUR_LAST_SEEN_DATE:"$product_tour_last_seen_date",TOUR_TYPE:"$product_tour_type"},cf=Te("[RateLimiter]");class OE{constructor(t){this.serverLimits={},this.lastEventRateLimited=!1,this.checkForLimiting=s=>{var r=s.text;if(r&&r.length)try{(JSON.parse(r).quota_limited||[]).forEach((n=>{cf.info((n||"events")+" is quota limited."),this.serverLimits[n]=new Date().getTime()+6e4}))}catch(n){return void cf.warn('could not rate limit - continuing. Error: "'+n?.message+'"',{text:r})}},this.instance=t,this.lastEventRateLimited=this.clientRateLimitContext(!0).isRateLimited}get captureEventsPerSecond(){var t;return((t=this.instance.config.rate_limiting)==null?void 0:t.events_per_second)||10}get captureEventsBurstLimit(){var t;return Math.max(((t=this.instance.config.rate_limiting)==null?void 0:t.events_burst_limit)||10*this.captureEventsPerSecond,this.captureEventsPerSecond)}clientRateLimitContext(t){var s,r,n;t===void 0&&(t=!1);var{captureEventsBurstLimit:i,captureEventsPerSecond:o}=this,a=new Date().getTime(),l=(s=(r=this.instance.persistence)==null?void 0:r.get_property(bl))!==null&&s!==void 0?s:{tokens:i,last:a};l.tokens+=(a-l.last)/1e3*o,l.last=a,l.tokens>i&&(l.tokens=i);var u=1>l.tokens;return u||t||(l.tokens=Math.max(0,l.tokens-1)),!u||this.lastEventRateLimited||t||this.instance.capture("$$client_ingestion_warning",{$$client_ingestion_warning_message:"posthog-js client rate limited. Config is set to "+o+" events per second and "+i+" events burst limit."},{skip_client_rate_limiting:!0}),this.lastEventRateLimited=u,(n=this.instance.persistence)==null||n.set_property(bl,l),{isRateLimited:u,remainingTokens:l.tokens}}isServerRateLimited(t){var s=this.serverLimits[t||"events"]||!1;return s!==!1&&new Date().getTime()<s}}var Zr=Te("[RemoteConfig]");class ag{constructor(t){this._instance=t}get remoteConfig(){var t;return(t=ee._POSTHOG_REMOTE_CONFIG)==null||(t=t[this._instance.config.token])==null?void 0:t.config}Ar(t){var s,r;(s=ee.__PosthogExtensions__)!=null&&s.loadExternalDependency?(r=ee.__PosthogExtensions__)==null||r.loadExternalDependency==null||r.loadExternalDependency(this._instance,"remote-config",(()=>t(this.remoteConfig))):t()}Er(t){this._instance._send_request({method:"GET",url:this._instance.requestRouter.endpointFor("assets","/array/"+this._instance.config.token+"/config"),callback(s){t(s.json)}})}load(){try{if(this.remoteConfig)return Zr.info("Using preloaded remote config",this.remoteConfig),this.Rr(this.remoteConfig),void this.Nr();if(this._instance.Mr())return void Zr.warn("Remote config is disabled. Falling back to local config.");this.Ar((t=>{if(!t)return Zr.info("No config found after loading remote JS config. Falling back to JSON."),void this.Er((s=>{this.Rr(s),this.Nr()}));this.Rr(t),this.Nr()}))}catch(t){Zr.error("Error loading remote config",t)}}stop(){this.Fr&&(clearInterval(this.Fr),this.Fr=void 0)}refresh(){this._instance.Mr()||K?.visibilityState==="hidden"||this._instance.reloadFeatureFlags()}Nr(){var t;if(!this.Fr){var s=(t=this._instance.config.remote_config_refresh_interval_ms)!==null&&t!==void 0?t:3e5;s!==0&&(this.Fr=setInterval((()=>{this.refresh()}),s))}}Rr(t){var s;t||Zr.error("Failed to fetch remote config from PostHog."),this._instance.Rr(t??{}),t?.hasFeatureFlags!==!1&&(this._instance.config.advanced_disable_feature_flags_on_first_load||(s=this._instance.featureFlags)==null||s.ensureFlagsLoaded())}}var Gt={GZipJS:"gzip-js",Base64:"base64"},Ct=Uint8Array,dt=Uint16Array,Ur=Uint32Array,yc=new Ct([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),bc=new Ct([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),uf=new Ct
vendor: 4,774 bytes, line 4
4([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),lg=function(e,t){for(var s=new dt(31),r=0;31>r;++r)s[r]=t+=1<<e[r-1];var n=new Ur(s[30]);for(r=1;30>r;++r)for(var i=s[r];s[r+1]>i;++i)n[i]=i-s[r]<<5|r;return[s,n]},cg=lg(yc,2),Sl=cg[1];cg[0][28]=258,Sl[258]=28;for(var ff=lg(bc,0)[1],ug=new dt(32768),Se=0;32768>Se;++Se){var ar=(43690&Se)>>>1|(21845&Se)<<1;ug[Se]=((65280&(ar=(61680&(ar=(52428&ar)>>>2|(13107&ar)<<2))>>>4|(3855&ar)<<4))>>>8|(255&ar)<<8)>>>1}var Rn=function(e,t,s){for(var r=e.length,n=0,i=new dt(t);r>n;++n)++i[e[n]-1];var o,a=new dt(t);for(n=0;t>n;++n)a[n]=a[n-1]+i[n-1]<<1;for(o=new dt(r),n=0;r>n;++n)o[n]=ug[a[e[n]-1]++]>>>15-e[n];return o},er=new Ct(288);for(Se=0;144>Se;++Se)er[Se]=8;for(Se=144;256>Se;++Se)er[Se]=9;for(Se=256;280>Se;++Se)er[Se]=7;for(Se=280;288>Se;++Se)er[Se]=8;var so=new Ct(32);for(Se=0;32>Se;++Se)so[Se]=5;var IE=Rn(er,9),LE=Rn(so,5),fg=function(e){return(e/8>>0)+(7&e&&1)},hg=function(e,t,s){(s==null||s>e.length)&&(s=e.length);var r=new(e instanceof dt?dt:e instanceof Ur?Ur:Ct)(s-t);return r.set(e.subarray(t,s)),r},ns=function(e,t,s){var r=t/8>>0;e[r]|=s<<=7&t,e[r+1]|=s>>>8},en=function(e,t,s){var r=t/8>>0;e[r]|=s<<=7&t,e[r+1]|=s>>>8,e[r+2]|=s>>>16},ca=function(e,t){for(var s=[],r=0;e.length>r;++r)e[r]&&s.push({s:r,f:e[r]});var n=s.length,i=s.slice();if(!n)return[new Ct(0),0];if(n==1){var o=new Ct(s[0].s+1);return o[s[0].s]=1,[o,1]}s.sort((function(y,x){return y.f-x.f})),s.push({s:-1,f:25001});var a=s[0],l=s[1],u=0,c=1,f=2;for(s[0]={s:-1,f:a.f+l.f,l:a,r:l};c!=n-1;)a=s[s[f].f>s[u].f?u++:f++],l=s[u!=c&&s[f].f>s[u].f?u++:f++],s[c++]={s:-1,f:a.f+l.f,l:a,r:l};var d=i[0].s;for(r=1;n>r;++r)i[r].s>d&&(d=i[r].s);var h=new dt(d+1),g=Rl(s[c-1],h,0);if(g>t){r=0;var p=0,R=g-t,E=1<<R;for(i.sort((function(y,x){return h[x.s]-h[y.s]||y.f-x.f}));n>r;++r){var w=i[r].s;if(t>=h[w])break;p+=E-(1<<g-h[w]),h[w]=t}for(p>>>=R;p>0;){var v=i[r].s;t>h[v]?p-=1<<t-h[v]++-1:++r}for(;r>=0&&p;--r){var m=i[r].s;h[m]==t&&(--h[m],++p)}g=t}return[new Ct(h),g]},Rl=function(e,t,s){return e.s==-1?Math.max(Rl(e.l,t,s+1),Rl(e.r,t,s+1)):t[e.s]=s},hf=function(e){for(var t=e.length;t&&!e[--t];);for(var s=new dt(++t),r=0,n=e[0],i=1,o=function(l){s[r++]=l},a=1;t>=a;++a)if(e[a]==n&&a!=t)++i;else{if(!n&&i>2){for(;i>138;i-=138)o(32754);i>2&&(o(i>10?i-11<<5|28690:i-3<<5|12305),i=0)}else if(i>3){for(o(n),--i;i>6;i-=6)o(8304);i>2&&(o(i-3<<5|8208),i=0)}for(;i--;)o(n);i=1,n=e[a]}return[s.subarray(0,r),t]},tn=function(e,t){for(var s=0,r=0;t.length>r;++r)s+=e[r]*t[r];return s},Pl=function(e,t,s){var r=s.length,n=fg(t+2);e[n]=255&r,e[n+1]=r>>>8,e[n+2]=255^e[n],e[n+3]=255^e[n+1];for(var i=0;r>i;++i)e[n+i+4]=s[i];return 8*(n+4+r)},df=function(e,t,s,r,n,i,o,a,l,u,c){ns(t,c++,s),++n[256];for(var f=ca(n,15),d=f[0],h=f[1],g=ca(i,15),p=g[0],R=g[1],E=hf(d),w=E[0],v=E[1],m=hf(p),y=m[0],x=m[1],k=new dt(19),T=0;w.length>T;++T)k[31&w[T]]++;for(T=0;y.length>T;++T)k[31&y[T]]++;for(var S=ca(k,7),C=S[0],N=S[1],O=19;O>4&&!C[uf[O-1]];--O);var D,J,ne,V,Q=u+5<<3,j=tn(n,er)+tn(i,so)+o,ae=tn(n,d)+tn(i,p)+o+14+3*O+tn(k,C)+(2*k[16]+3*k[17]+7*k[18]);if(j>=Q&&ae>=Q)return Pl(t,c,e.subarray(l,l+u));if(ns(t,c,1+(j>ae)),c+=2,j>ae){D=Rn(d,h),J=d,ne=Rn(p,R),V=p;var Me=Rn(C,N);for(ns(t,c,v-257),ns(t,c+5,x-1),ns(t,c+10,O-4),c+=14,T=0;O>T;++T)ns(t,c+3*T,C[uf[T]]);c+=3*O;for(var Ce=[w,y],Re=0;2>Re;++Re){var Ne=Ce[Re];for(T=0;Ne.length>T;++T)ns(t,c,Me[Je=31&Ne[T]]),c+=C[Je],Je>15&&(ns(t,c,Ne[T]>>>5&127),c+=Ne[T]>>>12)}}else D=IE,J=er,ne=LE,V=so;for(T=0;a>T;++T)if(r[T]>255){var Je;en(t,c,D[257+(Je=r[T]>>>18&31)]),c+=J[Je+257],Je>7&&(ns(t,c,r[T]>>>23&31),c+=yc[Je]);var Ue=31&r[T];en(t,c,ne[Ue]),c+=V[Ue],Ue>3&&(en(t,c,r[T]>>>5&8191),c+=bc[Ue])}else en(t,c,D[r[T]]),c+=J[r[T]];return en(t,c,D[256]),c+J[256]},ME=new Ur([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),FE=(function(){for(var e=new Ur(256),t=0;256>t;++t){for(var s=t,r=9;--r;)s=(1&s&&3988292384)^s>>>1;e[t]=s}return e})(),ua=function(e,t,s){for(;s;++t)e[t]=s,s>>>=8};function $E(e,t){t===void 0&&(t={});var s=(function(){var f=4294967295;return{p(d){for(var h=f,g=0;d.length>g;++g)h=FE[255&h^d[g]]^h>>>8;f=h},d(){return 4294967295^f}}})(),r=e.length;s.p(e);var n,i,o,a,l,u=(a=10+((n=t).filename&&n.filename.length+1||0),l=8,(function(f,d,h,g,p,R){var E=f.length,w=new Ct(g+E+5*(1+Math.floor(E/7e3))+p),v=w.subarray(g,w.length-p),m=0;if(!d||8>E)for(var y=0;E>=y;y+=65535){var x=y+65535;E>x?m=Pl(v,m,f.subarray(y,x)):(v[y]=!0,m=Pl(v,m,f.subarray(y,E)))}else{for(var k=ME[d-1],T=k>>>13,S=8191&k,C=(1<<h)-1,N=new dt(32768),O=new dt(C+1),D=Math.ceil(h/3),J=2*D,ne=function(se){return(f[se]^f[se+1]<<D^f[se+2]<<J)&C},V=new Ur(25e3),Q=new dt(288),j=new dt(32),ae=0,Me=0,Ce=(y=0,0),Re=0,Ne=0;E>y;++y){var Je=ne(y),Ue=32767&y,Be=O[Je];if(N[Ue]=Be,O[Je]=Ue,y>=Re){var L=E-y;if((ae>7e3||Ce>24576)&&L>
4423){m=df(f,v,0,V,Q,j,Me,Ce,Ne,y-Ne,m),Ce=ae=Me=0,Ne=y;for(var G=0;286>G;++G)Q[G]=0;for(G=0;30>G;++G)j[G]=0}var W=2,Z=0,le=S,fe=Ue-Be&32767;if(L>2&&Je==ne(y-fe))for(var _=Math.min(T,L)-1,b=Math.min(32767,y),P=Math.min(258,L);b>=fe&&--le&&Ue!=Be;){if(f[y+W]==f[y+W-fe]){for(var M=0;P>M&&f[y+M]==f[y+M-fe];++M);if(M>W){if(W=M,Z=fe,M>_)break;var I=Math.min(fe,M-2),F=0;for(G=0;I>G;++G){var q=y-fe+G+32768&32767,B=q-N[q]+32768&32767;B>F&&(F=B,Be=q)}}}fe+=(Ue=Be)-(Be=N[Ue])+32768&32767}if(Z){V[Ce++]=268435456|Sl[W]<<18|ff[Z];var U=31&Sl[W],$=31&ff[Z];Me+=yc[U]+bc[$],++Q[257+U],++j[$],Re=y+W,++ae}else V[Ce++]=f[y],++Q[f[y]]}}m=df(f,v,!0,V,Q,j,Me,Ce,Ne,y-Ne,m)}return hg(w,0,g+fg(m)+p)})(i=e,(o=t).level==null?6:o.level,o.mem==null?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(i.length)))):12+o.mem,a,l)),c=u.length;return(function(f,d){var h=d.filename;if(f[0]=31,f[1]=139,f[2]=8,f[8]=2>d.level?4:d.level==9?2:0,f[9]=3,d.mtime!=0&&ua(f,4,Math.floor(new Date(d.mtime||Date.now())/1e3)),h){f[3]=8;for(var g=0;h.length>=g;++g)f[g+10]=h.charCodeAt(g)}})(u,t),ua(u,c-8,s.d()),ua(u,c-4,r),u}var NE=!!Xa||!!Ya,dg="text/plain",pf=!1,So=function(e,t,s){var r;s===void 0&&(s=!0);var[n,i]=e.split("?"),o=H({},t),a=(r=i?.split("&").map((u=>{var c,[f,d]=u.split("="),h=s&&(c=o[f])!==null&&c!==void 0?c:d;return delete o[f],f+"="+h})))!==null&&r!==void 0?r:[],l=(function(u,c){var f,d;c===void 0&&(c="&");var h=[];return ke(u,(function(g,p){Y(g)||Y(p)||p==="undefined"||(f=encodeURIComponent((R=>R instanceof File)(g)?g.name:g.toString()),d=encodeURIComponent(p),h[h.length]=d+"="+f)})),h.join(c)})(o);return l&&a.push(l),n+"?"+a.join("&")},br=(e,t)=>JSON.stringify(e,((s,r)=>typeof r=="bigint"?r.toString():r),t),fa=e=>{if(e.er)return e.er;var{data:t,compression:s}=e;if(t){if(s===Gt.GZipJS){var r=$E((function(a,l){var u=a.length;if(typeof TextEncoder<"u")return new TextEncoder().encode(a);for(var c=new Ct(a.length+(a.length>>>1)),f=0,d=function(R){c[f++]=R},h=0;u>h;++h){if(f+5>c.length){var g=new Ct(f+8+(u-h<<1));g.set(c),c=g}var p=a.charCodeAt(h);128>p?d(p):2048>p?(d(192|p>>>6),d(128|63&p)):p>55295&&57344>p?(d(240|(p=65536+(1047552&p)|1023&a.charCodeAt(++h))>>>18),d(128|p>>>12&63),d(128|p>>>6&63),d(128|63&p)):(d(224|p>>>12),d(128|p>>>6&63),d(128|63&p))}return hg(c,0,f)})(br(t)),{mtime:0});return{contentType:dg,body:r.buffer.slice(r.byteOffset,r.byteOffset+r.byteLength),estimatedSize:r.byteLength}}if(s===Gt.Base64){var n=(function(a){return a&&btoa(encodeURIComponent(a).replace(/%([0-9A-F]{2})/g,((l,u)=>String.fromCharCode(parseInt(u,16)))))})(br(t)),i=(a=>"data="+encodeURIComponent(typeof a=="string"?a:br(a)))(n);return{contentType:"application/x-www-form-urlencoded",body:i,estimatedSize:new Blob([i]).size}}var o=br(t);return{contentType:"application/json",body:o,estimatedSize:new Blob([o]).size}}},DE=(function(){var e=Rt((function*(t){var s=br(t.data),r=yield(function(i,o,a){return Qa.apply(this,arguments)})(s,at.DEBUG,{rethrow:!0});if(!r)return t;var n=yield r.arrayBuffer();return H({},t,{er:{contentType:dg,body:n,estimatedSize:n.byteLength}})}));return function(t){return e.apply(this,arguments)}})(),gf=(e,t)=>So(e,{_:new Date().getTime().toString(),ver:at.JS_SDK_VERSION,compression:t}),wi=[];Ya&&wi.push({transport:"fetch",method(e){var t,s,{contentType:r,body:n,estimatedSize:i}=(t=fa(e))!==null&&t!==void 0?t:{},o=new Headers;ke(e.headers,(function(c,f){o.append(f,c)})),r&&o.append("Content-Type",r);var a=e.url,l=null;if(qu){var u=new qu;l={signal:u.signal,timeout:setTimeout((()=>u.abort()),e.timeout)}}Ya(a,H({method:e?.method||"GET",headers:o,keepalive:e.method==="POST"&&52428.8>(i||0),body:n,signal:(s=l)==null?void 0:s.signal},e.fetchOptions)).then((c=>c.text().then((f=>{var d={statusCode:c.status,text:f};if(c.status===200)try{d.json=JSON.parse(f)}catch(h){z.error(h)}e.callback==null||e.callback(d)})))).catch((c=>{z.error(c),e.callback==null||e.callback({statusCode:0,error:c})})).finally((()=>l?clearTimeout(l.timeout):null))}}),Xa&&wi.push({transport:"XHR",method(e){var t,s=new Xa;s.open(e.method||"GET",e.url,!0);var{contentType:r,body:n}=(t=fa(e))!==null&&t!==void 0?t:{};ke(e.headers,(function(i,o){s.setRequestHeader(o,i)})),r&&s.setRequestHeader("Content-Type",r),e.timeout&&(s.timeout=e.timeout),e.disableXHRCredentials||(s.withCredentials=!0),s.onreadystatechange=()=>{if(s.readyState===4){var i={statusCode:s.status,text:s.responseText};if(s.status===200)try{i.json=JSON.parse(s.responseText)}catch{}e.callback==null||e.callback(i)}},s.send(n)}}),mt!=null&&mt.sendBeacon&&wi.push({transport:"sendBeacon",method(e){var t=So(e.url,{beacon:"1"});try{var s,{contentType:r,body:n}=(s=fa(e))!==null&&s!==void 0?s:{};if(!n)return;var i=n instanceof Blob?n:new Blob([n],{type:r});mt.sendBeacon(t,i)}catch{}}});var Tl=3e3;class HE{constructor(t,s){this.Or=!0,this.Pr=[],this.Lr=Xt(s?.flush_interval_ms||Tl,250,5e3,z.createLogger("flush interval"),Tl),this.Dr=t}
4enqueue(t){this.Pr.push(t),this.Br||this.jr()}unload(){this.$r();var t=this.Pr.length>0?this.qr():{},s=Object.values(t);[...s.filter((r=>r.url.indexOf("/e")===0)),...s.filter((r=>r.url.indexOf("/e")!==0))].map((r=>{this.Dr(H({},r,{transport:"sendBeacon"}))}))}enable(){this.Or=!1,this.jr()}jr(){var t=this;this.Or||(this.Br=setTimeout((()=>{if(this.$r(),this.Pr.length>0){var s=this.qr(),r=function(){var i=s[n],o=new Date().getTime();i.data&&he(i.data)&&ke(i.data,(a=>{a.offset=Math.abs(a.timestamp-o),delete a.timestamp})),t.Dr(i)};for(var n in s)r()}}),this.Lr))}$r(){clearTimeout(this.Br),this.Br=void 0}qr(){var t={};return ke(this.Pr,(s=>{var r,n=s,i=(n?n.batchKey:null)||n.url;Y(t[i])&&(t[i]=H({},n,{data:[]})),(r=t[i].data)==null||r.push(n.data)})),this.Pr=[],t}}var jE=["retriesPerformedSoFar"];class UE{constructor(t){this.Zr=!1,this.Hr=3e3,this.Pr=[],this._instance=t,this.Pr=[],this.Vr=!0,!Y(A)&&"onLine"in A.navigator&&(this.Vr=A.navigator.onLine,this.zr=()=>{this.Vr=!0,this.Ur()},this.Yr=()=>{this.Vr=!1},He(A,"online",this.zr),He(A,"offline",this.Yr))}get length(){return this.Pr.length}retriableRequest(t){var{retriesPerformedSoFar:s}=t,r=vp(t,jE);hr(s)&&(r.url=So(r.url,{retry_count:s})),this._instance._send_request(H({},r,{callback:n=>{n.statusCode===200||n.statusCode>=400&&500>n.statusCode||(s??0)>=10?r.callback==null||r.callback(n):this.Wr(H({retriesPerformedSoFar:s},r))}}))}Wr(t){var s=t.retriesPerformedSoFar||0;t.retriesPerformedSoFar=s+1;var r=(function(o){var a=3e3*Math.pow(2,o),l=a/2,u=Math.min(18e5,a),c=Math.random()-.5;return Math.ceil(u+c*(u-l))})(s),n=Date.now()+r;this.Pr.push({retryAt:n,requestOptions:t});var i="Enqueued failed request for retry in "+r;navigator.onLine||(i+=" (Browser is offline)"),z.warn(i),this.Zr||(this.Zr=!0,this.Gr())}Gr(){if(this.Xr&&clearTimeout(this.Xr),this.Pr.length===0)return this.Zr=!1,void(this.Xr=void 0);this.Xr=setTimeout((()=>{this.Vr&&this.Pr.length>0&&this.Ur(),this.Gr()}),this.Hr)}Ur(){var t=Date.now(),s=[],r=this.Pr.filter((i=>t>i.retryAt||(s.push(i),!1)));if(this.Pr=s,r.length>0)for(var{requestOptions:n}of r)this.retriableRequest(n)}unload(){for(var{requestOptions:t}of(this.Xr&&(clearTimeout(this.Xr),this.Xr=void 0),this.Zr=!1,Y(A)||(this.zr&&(A.removeEventListener("online",this.zr),this.zr=void 0),this.Yr&&(A.removeEventListener("offline",this.Yr),this.Yr=void 0)),this.Pr))try{this._instance._send_request(H({},t,{transport:"sendBeacon"}))}catch(s){z.error(s)}this.Pr=[]}}class BE{constructor(t){this.Jr=()=>{var s,r,n,i;this.Kr||(this.Kr={});var o=this.scrollElement(),a=this.scrollY(),l=o?Math.max(0,o.scrollHeight-o.clientHeight):0,u=a+(o?.clientHeight||0),c=o?.scrollHeight||0;this.Kr.lastScrollY=Math.ceil(a),this.Kr.maxScrollY=Math.max(a,(s=this.Kr.maxScrollY)!==null&&s!==void 0?s:0),this.Kr.maxScrollHeight=Math.max(l,(r=this.Kr.maxScrollHeight)!==null&&r!==void 0?r:0),this.Kr.lastContentY=u,this.Kr.maxContentY=Math.max(u,(n=this.Kr.maxContentY)!==null&&n!==void 0?n:0),this.Kr.maxContentHeight=Math.max(c,(i=this.Kr.maxContentHeight)!==null&&i!==void 0?i:0)},this._instance=t}get Qr(){return this._instance.config.scroll_root_selector}getContext(){return this.Kr}resetContext(){var t=this.Kr;return setTimeout(this.Jr,0),t}startMeasuringScrollPosition(){He(A,"scroll",this.Jr,{capture:!0}),He(A,"scrollend",this.Jr,{capture:!0}),He(A,"resize",this.Jr)}scrollElement(){if(!this.Qr)return A?.document.documentElement;var t=he(this.Qr)?this.Qr:[this.Qr];for(var s of t){var r=A?.document.querySelector(s);if(r)return r}}scrollY(){if(this.Qr){var t=this.scrollElement();return t&&t.scrollTop||0}return A&&(A.scrollY||A.pageYOffset||A.document.documentElement.scrollTop)||0}scrollX(){if(this.Qr){var t=this.scrollElement();return t&&t.scrollLeft||0}return A&&(A.scrollX||A.pageXOffset||A.document.documentElement.scrollLeft)||0}}var VE=e=>ng(e?.config.mask_personal_data_properties,e?.config.custom_personal_data_properties);class vf{constructor(t,s,r,n){this.ei=i=>{var o=this.ti();if(!o||o.sessionId!==i){var a={sessionId:i,props:this.ri(this._instance)};this.ii.register({[yl]:a})}},this._instance=t,this.ni=s,this.ii=r,this.ri=n||VE,this.ni.onSessionId(this.ei)}ti(){return this.ii.props[yl]}getSetOnceProps(){var t,s=(t=this.ti())==null?void 0:t.props;return s?"r"in s?ig(s):{$referring_domain:s.referringDomain,$pathname:s.initialPathName,utm_source:s.utm_source,utm_campaign:s.utm_campaign,utm_medium:s.utm_medium,utm_content:s.utm_content,utm_term:s.utm_term}:{}}getSessionProps(){var t={};return ke(mc(this.getSetOnceProps()),((s,r)=>{r==="$current_url"&&(r="url"),t["$session_entry_"+Za(r)]=s})),t}}class wc{constructor(){this.si={}}on(t,s){return this.si[t]||(this.si[t]=[]),this.si[t].push(s),()=>{this.si[t]=this.si[t].filter((r=>r!==s))}}emit(t,s){for(var r of this.si[t]||[])r(s);for(var n of this.si["*"]||[])n(t,s)}}var ha=Te("[SessionId]");class _f{on(t,s){return this.oi.on(t,s)}constructor(t,s,r){var n;if(this.ai=[],this.li=void 0,this.oi=new wc,this.ui=(u,c)=>!(!hr(u)||!hr(c))&&Math.abs(u-c)>
4this.sessionTimeoutMs,!t.persistence)throw new Error("SessionIdManager requires a PostHogPersistence instance");if(t.config.cookieless_mode===fs)throw new Error('SessionIdManager cannot be used with cookieless_mode="always"');this.Lt=t.config,this.ii=t.persistence,this.hi=void 0,this.ci=void 0,this._sessionStartTimestamp=null,this._sessionActivityTimestamp=null,this.di=s||Ts,this.vi=r||Ts;var i=this.Lt.persistence_name||this.Lt.token;if(this._sessionTimeoutMs=1e3*Xt(this.Lt.session_idle_timeout_seconds||1800,60,36e3,ha.createLogger("session_idle_timeout_seconds"),1800),t.register({$configured_session_timeout_ms:this._sessionTimeoutMs}),this.fi(),this.pi="ph_"+i+"_window_id",this.gi="ph_"+i+"_primary_window_exists",this.mi()){var o=Xe.Z(this.pi),a=Xe.Z(this.gi);o&&!a?this.hi=o:Xe.F(this.pi),Xe.M(this.gi,!0)}if((n=this.Lt.bootstrap)!=null&&n.sessionID)try{var l=(u=>{var c=this.Lt.bootstrap.sessionID.replace(/-/g,"");if(c.length!==32)throw new Error("Not a valid UUID");if(c[12]!=="7")throw new Error("Not a UUIDv7");return parseInt(c.substring(0,12),16)})();this.yi(this.Lt.bootstrap.sessionID,new Date().getTime(),l)}catch(u){ha.error("Invalid sessionID in bootstrap",u)}this.bi()}get sessionTimeoutMs(){return this._sessionTimeoutMs}onSessionId(t){return Y(this.ai)&&(this.ai=[]),this.ai.push(t),this.ci&&t(this.ci,this.hi),()=>{this.ai=this.ai.filter((s=>s!==t))}}mi(){return this.Lt.persistence!=="memory"&&!this.ii.br&&Xe.R()}wi(t){t!==this.hi&&(this.hi=t,this.mi()&&Xe.M(this.pi,t))}Ii(){return this.hi?this.hi:this.mi()?Xe.Z(this.pi):null}yi(t,s,r){t===this.ci&&s===this._sessionActivityTimestamp&&r===this._sessionStartTimestamp||(this._sessionStartTimestamp=r,this._sessionActivityTimestamp=s,this.ci=t,this.ii.register({[qi]:[s,t,r]}))}Ci(){var t=this.ii.props[qi];return he(t)&&t.length===2&&t.push(t[0]),t||[0,null,0]}resetSessionId(){this.yi(null,null,null)}destroy(){clearTimeout(this.Si),this.Si=void 0,this.li&&A&&(A.removeEventListener(Yi,this.li,{capture:!1}),this.li=void 0),this.ai=[]}bi(){this.li=()=>{this.mi()&&Xe.F(this.gi)},He(A,Yi,this.li,{capture:!1})}checkAndGetSessionAndWindowId(t,s){if(t===void 0&&(t=!1),s===void 0&&(s=null),this.Lt.cookieless_mode===fs)throw new Error('checkAndGetSessionAndWindowId should not be called with cookieless_mode="always"');var r=s||new Date().getTime(),[n,i,o]=this.Ci(),a=this.Ii(),l=hr(o)&&Math.abs(r-o)>864e5,u=!1,c=!i,f=!c&&!t&&this.ui(r,n);c||f||l?(i=this.di(),a=this.vi(),ha.info("new session ID generated",{sessionId:i,windowId:a,changeReason:{noSessionId:c,activityTimeout:f,sessionPastMaximumLength:l}}),o=r,u=!0):a||(a=this.vi(),u=!0);var d=hr(n)&&t&&!l?n:r,h=hr(o)?o:new Date().getTime();return this.wi(a),this.yi(i,d,h),t||this.fi(),u&&this.ai.forEach((g=>g(i,a,u?{noSessionId:c,activityTimeout:f,sessionPastMaximumLength:l}:void 0))),{sessionId:i,windowId:a,sessionStartTimestamp:h,changeReason:u?{noSessionId:c,activityTimeout:f,sessionPastMaximumLength:l}:void 0,lastActivityTimestamp:n}}fi(){clearTimeout(this.Si),this.Si=setTimeout((()=>{var[t]=this.Ci();if(this.ui(new Date().getTime(),t)){var s=this.ci;this.resetSessionId(),this.oi.emit("forcedIdleReset",{idleSessionId:s})}}),1.1*this.sessionTimeoutMs)}}var pg=function(e,t){if(!e)return!1;var s=e.userAgent;if(s&&zu(s,t))return!0;try{var r=e?.userAgentData;if(r!=null&&r.brands&&r.brands.some((n=>zu(n?.brand,t))))return!0}catch{}return!!e.webdriver},ro=function(e,t){if(!(function(s){try{new RegExp(s)}catch{return!1}return!0})(t))return!1;try{return new RegExp(t).test(e)}catch{return!1}};function mf(e,t,s){return br({distinct_id:e,userPropertiesToSet:t,userPropertiesToSetOnce:s})}var gg={exact:(e,t)=>t.some((s=>e.some((r=>s===r)))),is_not:(e,t)=>t.every((s=>e.every((r=>s!==r)))),regex:(e,t)=>t.some((s=>e.some((r=>ro(s,r))))),not_regex:(e,t)=>t.every((s=>e.every((r=>!ro(s,r))))),icontains:(e,t)=>t.map(hi).some((s=>e.map(hi).some((r=>s.includes(r))))),not_icontains:(e,t)=>t.map(hi).every((s=>e.map(hi).every((r=>!s.includes(r))))),gt:(e,t)=>t.some((s=>{var r=parseFloat(s);return!isNaN(r)&&e.some((n=>r>parseFloat(n)))})),lt:(e,t)=>t.some((s=>{var r=parseFloat(s);return!isNaN(r)&&e.some((n=>r<parseFloat(n)))}))},hi=e=>e.toLowerCase();function vg(e,t){return!e||Object.entries(e).every((s=>{var[r,n]=s,i=t?.[r];if(Y(i)||ys(i))return!1;var o=[String(i)],a=gg[n.operator];return!!a&&a(n.values,o)}))}var Cl="custom",yf="i.posthog.com",WE=/^\/static\//;class qE{constructor(t){this.xi={},this.instance=t}get apiHost(){var t=this.instance.config.api_host.trim().replace(/\/$/,"");return t==="https://app.posthog.com"?"https://us.i.posthog.com":t}get flagsApiHost(){var t=this.instance.config.flags_api_host;return t?t.trim().replace(/\/$/,""):this.apiHost}get uiHost(){var t,s=(t=this.instance.config.ui_host)==null?void 0:t.replace(/\/$/,"");return s||(s=this.apiHost.replace("."+yf,".posthog.com")),s==="https://app.posthog.com"?"https://us.posthog.com":s}get region(){return this.xi[this.apiHost]||(this.xi[this.apiHost]=/https:\/\/(app|us|us-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?"us":/https:\/\/(eu|eu-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?"eu":Cl),this.xi[this.apiHost]}ki(t){var s=this.instance.config.__preview_external_dependency_versioned_paths;if(typeof s=="string"&&WE.test(t))return s.trim().replace(/\/$/,"")||void 0}endpointFor(t,s){if(s===void 0&&(s=""),s&&(s=s[0]==="/"?s:"/"+s),t==="ui")return this.uiHost+s;if(t==="flags")return this.flagsApiHost+s;if(t==="assets"){var r=this.ki(s);if(r)return""+r+s}if(this.region===Cl)return this.apiHost+s;var n=yf+s;switch(t){case"assets":return"https://"+this.region+"-assets."+n;case"api":return"https://"+this.region+"."+n}}}var me=Te("[Surveys]"),Al="seenSurvey_",KE=[aa.Popover,aa.Widget,aa.API],GE={ignoreConditions:!1,ignoreDelay:!1,displayType:kl.Popover}
4,zE=Te("[PostHog ExternalIntegrations]"),JE={intercom:"intercom-integration",crispChat:"crisp-chat-integration"};class YE{constructor(t){this._instance=t}lr(t,s){var r;(r=ee.__PosthogExtensions__)==null||r.loadExternalDependency==null||r.loadExternalDependency(this._instance,t,(n=>{if(n)return zE.error("failed to load script",n);s()}))}startIfEnabledOrStop(){var t=this,s=function(o){var a,l,u;!n||(a=ee.__PosthogExtensions__)!=null&&(a=a.integrations)!=null&&a[o]||t.lr(JE[o],(()=>{var c;(c=ee.__PosthogExtensions__)==null||(c=c.integrations)==null||(c=c[o])==null||c.start(t._instance)})),!n&&(l=ee.__PosthogExtensions__)!=null&&(l=l.integrations)!=null&&l[o]&&((u=ee.__PosthogExtensions__)==null||(u=u.integrations)==null||(u=u[o])==null||u.stop())};for(var[r,n]of Object.entries((i=this._instance.config.integrations)!==null&&i!==void 0?i:{})){var i;s(r)}}}var lr,Pn={},da=0,Ol=()=>{},bf='Consent opt in/out is not valid with cookieless_mode="always" and will be ignored',sn="Surveys module not available",wf="sanitize_properties is deprecated. Use before_send instead",_g="Invalid value for property_denylist config: ",gr="posthog",mg=!NE&&ft?.indexOf("MSIE")===-1&&ft?.indexOf("Mozilla")===-1,Ef=e=>{var t;return H({api_host:"https://us.i.posthog.com",flags_api_host:null,ui_host:null,token:"",autocapture:!0,cross_subdomain_cookie:dE(K?.location),persistence:"localStorage+cookie",persistence_name:"",cookie_persisted_properties:[],loaded:Ol,save_campaign_params:!0,custom_campaign_params:[],custom_blocked_useragents:[],save_referrer:!0,capture_pageleave:"if_capture_pageview",defaults:e??"unset",__preview_deferred_init_extensions:!1,__preview_external_dependency_versioned_paths:!1,debug:Ye&&Oe(Ye?.search)&&Ye.search.indexOf("__posthog_debug=true")!==-1||!1,cookie_expiration:365,upgrade:!1,disable_session_recording:!1,disable_persistence:!1,disable_web_experiments:!0,disable_surveys:!1,disable_surveys_automatic_display:!1,disable_conversations:!1,disable_product_tours:!1,disable_external_dependency_loading:!1,enable_recording_console_log:void 0,secure_cookie:(A==null||(t=A.location)==null?void 0:t.protocol)==="https:",ip:!1,opt_out_capturing_by_default:!1,opt_out_persistence_by_default:!1,opt_out_useragent_filter:!1,opt_out_capturing_persistence_type:"localStorage",consent_persistence_name:null,opt_out_capturing_cookie_prefix:null,opt_in_site_apps:!1,property_denylist:[],respect_dnt:!1,sanitize_properties:null,request_headers:{},request_batching:!0,properties_string_max_length:65535,mask_all_element_attributes:!1,mask_all_text:!1,mask_personal_data_properties:!1,custom_personal_data_properties:[],advanced_disable_flags:!1,advanced_disable_decide:!1,advanced_disable_feature_flags:!1,advanced_disable_feature_flags_on_first_load:!1,advanced_only_evaluate_survey_feature_flags:!1,advanced_feature_flags_dedup_per_session:!1,advanced_enable_surveys:!1,advanced_disable_toolbar_metrics:!1,feature_flag_request_timeout_ms:3e3,surveys_request_timeout_ms:1e4,on_request_error(s){z.error("Bad HTTP status: "+s.statusCode+" "+s.text)},get_device_id:s=>s,capture_performance:void 0,name:"posthog",bootstrap:{},disable_compression:!1,session_idle_timeout_seconds:1800,person_profiles:xl,before_send:void 0,request_queue_config:{flush_interval_ms:Tl},error_tracking:{},_onCapture:Ol,__preview_eager_load_replay:!1},(s=>({rageclick:!s||"2025-11-30">s||{content_ignorelist:!0},capture_pageview:!s||"2025-05-24">s||"history_change",session_recording:s&&s>="2025-11-30"?{strictMinimumDuration:!0}:{},external_scripts_inject_target:s&&s>="2026-01-30"?"head":"body",internal_or_test_user_hostname:s&&s>="2026-01-30"?/^(localhost|127\.0\.0\.1)$/:void 0}))(e))},XE=[["process_person","person_profiles"],["xhr_headers","request_headers"],["cookie_name","persistence_name"],["disable_cookie","disable_persistence"],["store_google","save_campaign_params"],["verbose","debug"]],xf=e=>{var t={};for(var[s,r]of XE)Y(e[s])||(t[r]=e[s]);var n=Le({},t,e);return he(e.property_blacklist)&&(Y(e.property_denylist)?n.property_denylist=e.property_blacklist:he(e.property_denylist)?n.property_denylist=[...e.property_blacklist,...e.property_denylist]:z.error(_g+e.property_denylist)),n};class QE{constructor(){this.__forceAllowLocalhost=!1}get Ti(){return this.__forceAllowLocalhost}set Ti(t){z.error("WebPerformanceObserver is deprecated and has no impact on network capture. Use `_forceAllowLocalhostNetworkCapture` on `posthog.sessionRecording`"),this.__forceAllowLocalhost=t}}class Pt{Ai(t,s){if(t){var r=this.Ei.indexOf(t);r!==-1&&this.Ei.splice(r,1)}return this.Ei.push(s),s.initialize==null||s.initialize(),s}Ri(){return this.config.cookieless_mode===fs||this.config.cookieless_mode===Ws&&this.consent.isRejected()}get decideEndpointWasHit(){var t,s;return(t=(s=this.featureFlags)==null?void 0:s.hasLoadedFlags)!==null&&t!==void 0&&t}get flagsEndpointWasHit(){var t,s;return(t=(s=this.featureFlags)==null?void 0:s.hasLoadedFlags)!==null&&t!==void 0&&t}constructor(){var t;this.webPerformance=new QE,this.Ni=!1,this.version=at.LIB_VERSION,this.Mi=new wc,this.Ei=[],this._calculate_event_properties=this.calculateEventProperties.bind(this),this.config=Ef(),this.SentryIntegration=xE,this.sentryIntegration=r=>(function(n,i){var o=Zp(n,i);return{name:Qp,processEvent:a=>o(a)}})(this,r),this.__request_queue=[],this.__loaded=!1,this.analyticsDefaultEndpoint="/e/",this.Fi=!1,this.Oi=null,this.Pi=null,this.Li=null,this.scrollManager=new BE(this),this.pageViewM
4anager=new of(this),this.rateLimiter=new OE(this),this.requestRouter=new qE(this),this.consent=new bE(this),this.externalIntegrations=new YE(this);var s=(t=Pt.__defaultExtensionClasses)!==null&&t!==void 0?t:{};this.featureFlags=s.featureFlags&&new s.featureFlags(this),this.toolbar=s.toolbar&&new s.toolbar(this),this.surveys=s.surveys&&new s.surveys(this),this.conversations=s.conversations&&new s.conversations(this),this.logs=s.logs&&new s.logs(this),this.experiments=s.experiments&&new s.experiments(this),this.exceptions=s.exceptions&&new s.exceptions(this),this.people={set:(r,n,i)=>{var o=Oe(r)?{[r]:n}:r;this.setPersonProperties(o),i?.({})},set_once:(r,n,i)=>{var o=Oe(r)?{[r]:n}:r;this.setPersonProperties(void 0,o),i?.({})}},this.on("eventCaptured",(r=>z.info('send "'+r?.event+'"',r)))}init(t,s,r){if(r&&r!==gr){var n,i=(n=Pn[r])!==null&&n!==void 0?n:new Pt;return i._init(t,s,r),Pn[r]=i,Pn[gr][r]=i,i}return this._init(t,s,r)}_init(t,s,r){var n,i;if(s===void 0&&(s={}),Y(t)||_i(t))return z.critical("PostHog was initialized without a token. This likely indicates a misconfiguration. Please check the first argument passed to posthog.init()"),this;if(this.__loaded)return console.warn("[PostHog.js]","You have already initialized PostHog! Re-initializing is a no-op"),this;this.__loaded=!0,this.config={},s.debug=this.Di(s.debug),this.Bi=s,this.ji=[],s.person_profiles?this.Pi=s.person_profiles:s.process_person&&(this.Pi=s.process_person),this.set_config(Le({},Ef(s.defaults),xf(s),{name:r,token:t})),this.config.on_xhr_error&&z.error("on_xhr_error is deprecated. Use on_request_error instead"),this.compression=s.disable_compression?void 0:Gt.GZipJS;var o=this.$i();this.persistence=new oa(this.config,o),this.sessionPersistence=this.config.persistence==="sessionStorage"||this.config.persistence==="memory"?this.persistence:new oa(H({},this.config,{persistence:"sessionStorage"}),o);var a=H({},this.persistence.props),l=H({},this.sessionPersistence.props);this.register({$initialization_time:new Date().toISOString()}),this.qi=new HE((R=>this.Zi(R)),this.config.request_queue_config),this.Hi=new UE(this),this.__request_queue=[];var u=this.Ri();if(u||(this.sessionManager=new _f(this),this.sessionPropsManager=new vf(this,this.sessionManager,this.persistence)),this.config.__preview_deferred_init_extensions?(z.info("Deferring extension initialization to improve startup performance"),setTimeout((()=>{this.Vi(u)}),0)):(z.info("Initializing extensions synchronously"),this.Vi(u)),at.DEBUG=at.DEBUG||this.config.debug,at.DEBUG&&z.info("Starting in debug mode",{this:this,config:s,thisC:H({},this.config),p:a,s:l}),!this.config.identity_distinct_id||(n=s.bootstrap)!=null&&n.distinctID||(s.bootstrap=H({},s.bootstrap,{distinctID:this.config.identity_distinct_id,isIdentifiedID:!0})),((i=s.bootstrap)==null?void 0:i.distinctID)!==void 0){var c=s.bootstrap.distinctID,f=this.get_distinct_id(),d=this.persistence.get_property(Lt);if(s.bootstrap.isIdentifiedID&&f!=null&&f!==c&&d===ir)this.identify(c);else if(s.bootstrap.isIdentifiedID&&f!=null&&f!==c&&d===or)z.warn("Bootstrap distinctID differs from an already-identified user. The existing identity is preserved. Call reset() before reinitializing if you intend to switch users.");else{var h=this.config.get_device_id(Ts()),g=s.bootstrap.isIdentifiedID?h:c;this.persistence.set_property(Lt,s.bootstrap.isIdentifiedID?or:ir),this.register({distinct_id:c,$device_id:g})}}if(u)this.register_once({distinct_id:ai,$device_id:null},"");else if(!this.get_distinct_id()){var p=this.config.get_device_id(Ts());this.register_once({distinct_id:p,$device_id:p},""),this.persistence.set_property(Lt,ir)}return He(A,"onpagehide"in self?"pagehide":"unload",this._handle_unload.bind(this),{passive:!1}),s.segment?(function(R,E){var w=R.config.segment;if(!w)return E();(function(v,m){var y=v.config.segment;if(!y)return m();var x=T=>{var S=()=>T.anonymousId()||Ts();v.config.get_device_id=S,T.id()&&(v.register({distinct_id:T.id(),$device_id:S()}),v.persistence.set_property(Lt,or)),m()},k=y.user();"then"in k&&cs(k.then)?k.then(x):x(k)})(R,(()=>{w.register((v=>{Promise&&Promise.resolve||ia.warn("This browser does not have Promise support, and can not use the segment integration");var m=(y,x)=>
4{if(!x)return y;y.event.userId||y.event.anonymousId===v.get_distinct_id()||(ia.info("No userId set, resetting PostHog"),v.reset()),y.event.userId&&y.event.userId!==v.get_distinct_id()&&(ia.info("UserId set, identifying with PostHog"),v.identify(y.event.userId));var k=v.calculateEventProperties(x,y.event.properties);return y.event.properties=Object.assign({},k,y.event.properties),y};return{name:"PostHog JS",type:"enrichment",version:"1.0.0",isLoaded:()=>!0,load:()=>Promise.resolve(),track:y=>m(y,y.event.event),page:y=>m(y,pr),identify:y=>m(y,ra),screen:y=>m(y,"$screen")}})(R)).then((()=>{E()}))}))})(this,(()=>this.zi())):this.zi(),cs(this.config._onCapture)&&this.config._onCapture!==Ol&&(z.warn("onCapture is deprecated. Please use `before_send` instead"),this.on("eventCaptured",(R=>this.config._onCapture(R.event,R)))),this.config.ip&&z.warn('The `ip` config option has NO EFFECT AT ALL and has been deprecated. Use a custom transformation or "Discard IP data" project setting instead. See https://posthog.com/tutorials/web-redact-properties#hiding-customer-ip-address for more information.'),this}Vi(t){var s,r,n,i,o,a,l,u=performance.now(),c=H({},Pt.__defaultExtensionClasses,this.config.__extensionClasses),f=[];c.featureFlags&&this.Ei.push(this.featureFlags=(s=this.featureFlags)!==null&&s!==void 0?s:new c.featureFlags(this)),c.exceptions&&this.Ei.push(this.exceptions=(r=this.exceptions)!==null&&r!==void 0?r:new c.exceptions(this)),c.historyAutocapture&&this.Ei.push(this.historyAutocapture=new c.historyAutocapture(this)),c.tracingHeaders&&this.Ei.push(new c.tracingHeaders(this)),c.siteApps&&this.Ei.push(this.siteApps=new c.siteApps(this)),c.sessionRecording&&!t&&this.Ei.push(this.sessionRecording=new c.sessionRecording(this)),this.config.disable_scroll_properties||f.push((()=>{this.scrollManager.startMeasuringScrollPosition()})),c.autocapture&&this.Ei.push(this.autocapture=new c.autocapture(this)),c.surveys&&this.Ei.push(this.surveys=(n=this.surveys)!==null&&n!==void 0?n:new c.surveys(this)),c.logs&&this.Ei.push(this.logs=(i=this.logs)!==null&&i!==void 0?i:new c.logs(this)),c.conversations&&this.Ei.push(this.conversations=(o=this.conversations)!==null&&o!==void 0?o:new c.conversations(this)),c.productTours&&this.Ei.push(this.productTours=new c.productTours(this)),c.heatmaps&&this.Ei.push(this.heatmaps=new c.heatmaps(this)),c.webVitalsAutocapture&&this.Ei.push(this.webVitalsAutocapture=new c.webVitalsAutocapture(this)),c.exceptionObserver&&this.Ei.push(this.exceptionObserver=new c.exceptionObserver(this)),c.deadClicksAutocapture&&this.Ei.push(this.deadClicksAutocapture=new c.deadClicksAutocapture(this,EE)),c.toolbar&&this.Ei.push(this.toolbar=(a=this.toolbar)!==null&&a!==void 0?a:new c.toolbar(this)),c.experiments&&this.Ei.push(this.experiments=(l=this.experiments)!==null&&l!==void 0?l:new c.experiments(this)),this.Ei.forEach((d=>{d.initialize&&f.push((()=>{d.initialize==null||d.initialize()}))})),f.push((()=>{if(this.Ui){var d=this.Ui;this.Ui=void 0,this.Rr(d)}})),this.Yi(f,u)}Yi(t,s){for(;t.length>0;){if(this.config.__preview_deferred_init_extensions&&performance.now()-s>=30&&t.length>0)return void setTimeout((()=>{this.Yi(t,s)}),0);var r=t.shift();if(r)try{r()}catch(i){z.error("Error initializing extension:",i)}}var n=Math.round(performance.now()-s);this.register_for_session({[Gp]:this.config.__preview_deferred_init_extensions?"deferred":"synchronous",[zp]:n}),this.config.__preview_deferred_init_extensions&&z.info("PostHog extensions initialized ("+n+"ms)")}Rr(t){var s;if(!K||!K.body)return z.info("document not ready yet, trying again in 500 milliseconds..."),void setTimeout((()=>{this.Rr(t)}),500);this.config.__preview_deferred_init_extensions&&(this.Ui=t),this.Wi=t,this.compression=void 0,t.supportedCompression&&!this.config.disable_compression&&(this.compression=ce(t.supportedCompression,Gt.GZipJS)?Gt.GZipJS:ce(t.supportedCompression,Gt.Base64)?Gt.Base64:void 0),(s=t.analytics)!=null&&s.endpoint&&(this.analyticsDefaultEndpoint=t.analytics.endpoint),this.set_config({person_profiles:this.Pi?this.Pi:xl}),this.Ei.forEach((r=>r.onRemoteConfig==null?void 0:r.onRemoteConfig(t)))}zi(){try{this.config.loaded(this)}catch(r){z.critical("`loaded` function failed",r)}if(this.Gi(),this.config.internal_or_test_user_hostname&&Ye!=null&&Ye.hostname){var t=Ye.hostname,s=this.config.internal_or_test_user_hostname;(typeof s=="string"?t===s:s.test(t))&&this.setInternalOrTestUser()}this.config.capture_pageview&&setTimeout((()=>{(this.consent.isOptedIn()||this.Ri())&&this.Xi()}),1),this.Ji=new ag(this),this.Ji.load()}Gi(){var t;this.is_capturing()&&this.config.request_batching&&((t=this.qi)==null||t.enable())}_dom_loaded(){this.is_capturing()&&li(this.__request_queue,(t=>this.Zi(t))),this.__request_queue=[],this.Gi()}_handle_unload(){var t,s,r,n;(t=this.surveys)==null||t.handlePageUnload(),this.config.request_batching?(this.Ki()&&this.capture(sa),(s=this.logs)==null||s.flushLogs("sendBeacon"),(r=this.qi)==null||r.unload(),(n=this.Hi)==null||n.unload()):this.Ki()&&this.capture(sa,null,{transport:"sendBeacon"})}_send_request(t){this.__loaded&&(mg?this.__request_queue.push(t):this.rateLimiter.isServerRateLimited(t.batchKey)||(t.transport=t.transport||this.config.api_transport,t.url=So(t.url,{ip:this.config.ip?1:0}),t.headers=H({},this.config.request_headers,t.headers),t.compression=t.compression==="best-available"?this.compression:t.compression,t.disableXHRCredentials=this.config.__preview_disable_xhr_credentials,this.config.__preview_disable_beacon&&(t.disableTransport=["sendBeacon"]),t.fetchOptions=t.fetchOptions||this.config.fetch_options,
4(s=>{var r,n,i,o=H({},s);o.timeout=o.timeout||6e4,o.url=gf(o.url,o.compression);var a=(r=o.transport)!==null&&r!==void 0?r:"fetch",l=wi.filter((c=>!o.disableTransport||!c.transport||!o.disableTransport.includes(c.transport))),u=(n=(i=(function(c,f){for(var d=0;c.length>d;d++)if(c[d].transport===a)return c[d]})(l))==null?void 0:i.method)!==null&&n!==void 0?n:l[0].method;if(!u)throw new Error("No available transport method");a!=="sendBeacon"&&o.data&&o.compression===Gt.GZipJS&&xw&&!pf?DE(o).then((c=>{u(c)})).catch((c=>{if((f=>!(!f||typeof f!="object")&&("name"in f?String(f.name):"")==="NotReadableError")(c))return pf=!0,void u(H({},o,{compression:void 0,url:gf(s.url,void 0)}));u(o)})):u(o)})(H({},t,{callback:s=>{var r,n;this.rateLimiter.checkForLimiting(s),400>s.statusCode||(r=(n=this.config).on_request_error)==null||r.call(n,s),t.callback==null||t.callback(s)}}))))}Zi(t){this.Hi?this.Hi.retriableRequest(t):this._send_request(t)}_execute_array(t){da++;try{var s,r=[],n=[],i=[];li(t,(a=>{a&&(he(s=a[0])?i.push(a):cs(a)?a.call(this):he(a)&&s==="alias"?r.push(a):he(a)&&s.indexOf("capture")!==-1&&cs(this[s])?i.push(a):n.push(a))}));var o=function(a,l){li(a,(function(u){if(he(u[0])){var c=l;ke(u,(function(f){c=c[f[0]].apply(c,f.slice(1))}))}else l[u[0]].apply(l,u.slice(1))}))};o(r,this),o(n,this),o(i,this)}finally{da--}}push(t){if(da>0&&he(t)&&Oe(t[0])){var s=Pt.prototype[t[0]];cs(s)&&s.apply(this,t.slice(1))}else this._execute_array([t])}capture(t,s,r){var n,i,o,a,l;if(this.__loaded&&this.persistence&&this.sessionPersistence&&this.qi){if(this.is_capturing())if(!Y(t)&&Oe(t)){var u=!this.config.opt_out_useragent_filter&&this._is_bot();if(!u||this.config.__preview_capture_bot_pageviews){var c=r!=null&&r.skip_client_rate_limiting?void 0:this.rateLimiter.clientRateLimitContext();if(c==null||!c.isRateLimited){s!=null&&s.$current_url&&!Oe(s?.$current_url)&&(z.error("Invalid `$current_url` property provided to `posthog.capture`. Input must be a string. Ignoring provided value."),s==null||delete s.$current_url),t!=="$exception"||r!=null&&r.Qi||z.warn("Using `posthog.capture('$exception')` is unreliable because it does not attach required metadata. Use `posthog.captureException(error)` instead, which attaches required metadata automatically."),this.sessionPersistence.update_search_keyword(),this.config.save_campaign_params&&this.sessionPersistence.update_campaign_params(),this.config.save_referrer&&this.sessionPersistence.update_referrer_info(),(this.config.save_campaign_params||this.config.save_referrer)&&this.persistence.set_initial_person_info();var f=new Date,d=r?.timestamp||f,h=Ts(),g={uuid:h,event:t,properties:this.calculateEventProperties(t,s||{},d,h)};t===pr&&this.config.__preview_capture_bot_pageviews&&u&&(g.event="$bot_pageview",g.properties.$browser_type="bot"),c&&(g.properties.$lib_rate_limit_remaining_tokens=c.remainingTokens),r?.$set&&(g.$set=r?.$set);var p,R,E,w=this.en(r?.$set_once,t!==tf,t===ra);if(w&&(g.$set_once=w),r!=null&&r._noTruncate||(i=this.config.properties_string_max_length,o=g,a=S=>Oe(S)?S.slice(0,i):S,l=new Set,g=(function S(C,N){return C!==Object(C)?a?a(C):C:l.has(C)?void 0:(l.add(C),he(C)?(O=[],li(C,(D=>{O.push(S(D))}))):(O={},ke(C,((D,J)=>{l.has(D)||(O[J]=S(D))}))),O);var O})(o)),g.timestamp=d,Y(r?.timestamp)||(g.properties.$event_time_override_provided=!0,g.properties.$event_time_override_system_time=f),t===pn.DISMISSED||t===pn.SENT){var v=s?.[la.SURVEY_ID],m=s?.[la.SURVEY_ITERATION];(S=>{try{var C=(N=>((O,D)=>{var J=""+Al+D.id;return D.current_iteration&&D.current_iteration>0&&(J=""+Al+D.id+"_"+D.current_iteration),J})(0,N))(S);if(localStorage.getItem(C))return;localStorage.setItem(C,"true")}catch(N){me.error("Failed to persist survey seen state",N)}})({id:v,current_iteration:m}),g.$set=H({},g.$set,{[(p={id:v,current_iteration:m},R=t===pn.SENT?"responded":"dismissed",E="$survey_"+R+"/"+p.id,p.current_iteration&&p.current_iteration>0&&(E="$survey_"+R+"/"+p.id+"/"+p.current_iteration),E)]:!0})}else t===pn.SHOWN&&(g.$set=H({},g.$set,{[la.SURVEY_LAST_SEEN_DATE]:new Date().toISOString()}));if(t===AE.SHOWN){var y=s?.[lf.TOUR_TYPE];y&&(g.$set=H({},g.$set,{[lf.TOUR_LAST_SEEN_DATE+"/"+y]:new Date().toISOString()}))}var x=H({},g.properties.$set,g.$set);if(mr(x)||this.setPersonPropertiesForFlags(x),!ue(this.config.before_send)){var k=this.tn(g);if(!k)return;g=k}this.Mi.emit("eventCaptured",g);var T={method:"POST",url:(n=r?._url)!==null&&n!==void 0?n:this.requestRouter.endpointFor("api",this.analyticsDefaultEndpoint),data:g,compression:"best-available",batchKey:r?._batchKey};return!this.config.request_batching||r&&(r==null||!r._batchKey)||r!=null&&r.send_instantly?this.Zi(T):this.qi.enqueue(T),g}z.critical("This capture call is ignored due to client rate limiting.")}}else z.error("No event name provided to posthog.capture")}else z.uninitializedWarning("posthog.capture")}_addCaptureHook(t){return this.on("eventCaptured",(s=>t(s.event,s)))}calculateEventProperties(t,s,r,n,i){if(r=r||new Date,!this.persistence||!this.sessionPersistence)return s;var o=i?void 0:this.persistence.remove_event_timer(t),a=H({},s);if(a.token=this.config.token,a.$config_defaults=this.config.defaults,this.Ri()&&(a.$cookieless_mode=!0),t==="$snapshot"){var l=H({},this.persistence.properties(),this.sessionPersistence.properties());return a.distinct_id=l.distinct_id,(!Oe(a.distinct_id)&&!Ot(a.distinct_id)||_i(a.distinct_id))&&z.error("Invalid distinct_id for replay event. This indicates a bug in your implementation"),a}var u,c=(function(E,w){var v,m,y,x;if(!ft)return{};var k,T,S,C,N,O,D,J,ne=E?[...jr,...w||[]]:[],[V,Q]=(function(j){for(var ae=0;Xu.length>ae;ae++){var[Me,Ce]=Xu[ae],Re=Me.exec(j),Ne=Re&&(cs(Ce)?Ce(Re,j):Ce);if(Ne)return Ne}return["",""]})(ft);return Le(mc({$os:V,$os_version:Q,$browser:Fp(ft,navigator.vendor),$device:Qu(ft),$device_type:(T=ft,S={userAgentDataPlatform:(v=navigator)==null||(v=v.userAgentData)==null?void 0:v.platform,maxTouchPoints:(m=navigator)==null?void 0:m.maxTouchPoints,screenWidth:A==null||(y=A.screen)==null?void 0:y.width,screenHeight:A==null||(x=A.screen)==null?void 0:x.height,devicePixelRatio:A?.devicePixelRatio},J=Qu(T),J===wp||J===bp||J==="Kobo"||J==="Kindle Fire"||J===Mp?Nr:J===Dn||J===Ar||J===Hn||J===tl?"Console":J===xp?"Wearable":J?wt:S?.userAgentDataPlatform==="Android"&&((C=S?.maxTouchPoints)!==null&&C!==void 0?C:0)>0?600>Math.min((N=S?.screenWidth)!==null&&N!==void 0?N:0,(O=S?.screenHeight)!==null&&O!==void 0?O:0)/((D=S?.devicePixelRatio)!==null&&D!==void 0?D:1)?wt:Nr:"Desktop"),$timezone:og(),$timezone_offset:TE()}),{$current_url:jn(Ye?.href,ne,Un),$host:Ye?.host,$pathname:Ye?.pathname,$raw_user_agent:ft.length>1e3?ft.substring(0,997)+"...":ft,$browser_version:Hw(ft,navigator.vendor),$browser_language:af(),$browser_language_prefix:(k=af(),typeof k=="string"?k.split("-")[0]:void 0),$screen_height:A?.screen.height,$screen_width:A?.screen.width,$viewport_height:A?.innerHe
4ight,$viewport_width:A?.innerWidth,$lib:at.LIB_NAME,$lib_version:at.LIB_VERSION,$insert_id:Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10),$time:Date.now()/1e3})})(this.config.mask_personal_data_properties,this.config.custom_personal_data_properties);if(this.sessionManager){var{sessionId:f,windowId:d}=this.sessionManager.checkAndGetSessionAndWindowId(i,r.getTime());a.$session_id=f,a.$window_id=d}this.sessionPropsManager&&Le(a,this.sessionPropsManager.getSessionProps());try{var h;this.sessionRecording&&Le(a,this.sessionRecording.sdkDebugProperties),a.$sdk_debug_retry_queue_size=(h=this.Hi)==null?void 0:h.length}catch(E){a.$sdk_debug_error_capturing_properties=String(E)}if(this.requestRouter.region===Cl&&(a.$lib_custom_api_host=this.config.api_host),u=t!==pr||i?t!==sa||i?this.pageViewManager.doEvent():this.pageViewManager.doPageLeave(r):this.pageViewManager.doPageView(r,n),a=Le(a,u),t===pr&&K&&(a.title=K.title),!Y(o)){var g=r.getTime()-o;a.$duration=parseFloat((g/1e3).toFixed(3))}ft&&this.config.opt_out_useragent_filter&&(a.$browser_type=this._is_bot()?"bot":"browser"),(a=Le({},c,this.persistence.properties(),this.sessionPersistence.properties(),a)).$is_identified=this._isIdentified(),he(this.config.property_denylist)?ke(this.config.property_denylist,(function(E){delete a[E]})):z.error(_g+this.config.property_denylist+" or property_blacklist config: "+this.config.property_blacklist);var p=this.config.sanitize_properties;p&&(z.error(wf),a=p(a,t));var R=this.rn();return a.$process_person_profile=R,R&&!i&&this.nn("_calculate_event_properties"),a}en(t,s,r){var n;if(s===void 0&&(s=!0),r===void 0&&(r=!1),!this.persistence||!this.rn()||this.Ni&&!r)return t;var i=this.persistence.get_initial_props(),o=(n=this.sessionPropsManager)==null?void 0:n.getSetOnceProps(),a=Le({},i,o||{},t||{}),l=this.config.sanitize_properties;return l&&(z.error(wf),a=l(a,"$set_once")),s&&(this.Ni=!0),mr(a)?void 0:a}register(t,s){var r;(r=this.persistence)==null||r.register(t,s)}register_once(t,s,r){var n;(n=this.persistence)==null||n.register_once(t,s,r)}register_for_session(t){var s;(s=this.sessionPersistence)==null||s.register(t)}unregister(t){var s;(s=this.persistence)==null||s.unregister(t)}unregister_for_session(t){var s;(s=this.sessionPersistence)==null||s.unregister(t)}sn(t,s){this.register({[t]:s})}getFeatureFlag(t,s){var r;return(r=this.featureFlags)==null?void 0:r.getFeatureFlag(t,s)}getFeatureFlagPayload(t){var s;return(s=this.featureFlags)==null?void 0:s.getFeatureFlagPayload(t)}getFeatureFlagResult(t,s){var r;return(r=this.featureFlags)==null?void 0:r.getFeatureFlagResult(t,s)}isFeatureEnabled(t,s){var r;return(r=this.featureFlags)==null?void 0:r.isFeatureEnabled(t,s)}reloadFeatureFlags(){var t;(t=this.featureFlags)==null||t.reloadFeatureFlags()}updateFlags(t,s,r){var n;(n=this.featureFlags)==null||n.updateFlags(t,s,r)}updateEarlyAccessFeatureEnrollment(t,s,r){var n;(n=this.featureFlags)==null||n.updateEarlyAccessFeatureEnrollment(t,s,r)}getEarlyAccessFeatures(t,s,r){var n;return s===void 0&&(s=!1),(n=this.featureFlags)==null?void 0:n.getEarlyAccessFeatures(t,s,r)}on(t,s){return this.Mi.on(t,s)}onFeatureFlags(t){return this.featureFlags?this.featureFlags.onFeatureFlags(t):(t([],{},{errorsLoading:!0}),()=>{})}onSurveysLoaded(t){return this.surveys?this.surveys.onSurveysLoaded(t):(t([],{isLoaded:!1,error:sn}),()=>{})}onSessionId(t){var s,r;return(s=(r=this.sessionManager)==null?void 0:r.onSessionId(t))!==null&&s!==void 0?s:()=>{}}getSurveys(t,s){s===void 0&&(s=!1),this.surveys?this.surveys.getSurveys(t,s):t([],{isLoaded:!1,error:sn})}getActiveMatchingSurveys(t,s){s===void 0&&(s=!1),this.surveys?this.surveys.getActiveMatchingSurveys(t,s):t([],{isLoaded:!1,error:sn})}renderSurvey(t,s){var r;(r=this.surveys)==null||r.renderSurvey(t,s)}displaySurvey(t,s){var r;s===void 0&&(s=GE),(r=this.surveys)==null||r.displaySurvey(t,s)}cancelPendingSurvey(t){var s;(s=this.surveys)==null||s.cancelPendingSurvey(t)}canRenderSurvey(t){var s,r;return(s=(r=this.surveys)==null?void 0:r.canRenderSurvey(t))!==null&&s!==void 0?s:{visible:!1,disabledReason:sn}}canRenderSurveyAsync(t,s){var r,n;return s===void 0&&(s=!1),(r=(n=this.surveys)==null?void 0:n.canRenderSurveyAsync(t,s))!==null&&r!==void 0?r:Promise.resolve({visible:!1,disabledReason:sn})}an(t){return!t||_i(t)?(z.critical("Unique user id has not been set in posthog.identify"),!1):t===ai?(z.critical('The string "'+t+'" was set in posthog.identify which indicates an error. This ID is only used as a sentinel value.'),!1):!["distinct_id","distinctid"].includes(t.toLowerCase())&&!["undefined","null"].includes(t.toLowerCase())||(z.critical('The string "'+t+'" was set in posthog.identify which indicates an error. This ID should be unique to the user and n
4ot a hardcoded string.'),!1)}identify(t,s,r){if(!this.__loaded||!this.persistence)return z.uninitializedWarning("posthog.identify");if(Ot(t)&&(t=t.toString(),z.warn("The first argument to posthog.identify was a number, but it should be a string. It has been converted to a string.")),this.an(t)&&this.nn("posthog.identify")){var n=this.get_distinct_id();this.register({$user_id:t}),this.get_property(Wi)||this.register_once({$had_persisted_distinct_id:!0,$device_id:n},""),t!==n&&t!==this.get_property(cn)&&(this.unregister(cn),this.register({distinct_id:t}));var i,o=(this.persistence.get_property(Lt)||ir)===ir;t!==n&&o?(this.persistence.set_property(Lt,or),this.setPersonPropertiesForFlags({$set:s||{},$set_once:r||{}},!1),this.capture(ra,{distinct_id:t,$anon_distinct_id:n},{$set:s||{},$set_once:r||{}}),this.Li=mf(t,s,r),(i=this.featureFlags)==null||i.setAnonymousDistinctId(n)):(s||r)&&this.setPersonProperties(s,r),t!==n&&(this.reloadFeatureFlags(),this.unregister(Sn))}}setPersonProperties(t,s){if((t||s)&&this.nn("posthog.setPersonProperties")){var r=mf(this.get_distinct_id(),t,s);this.Li!==r?(this.setPersonPropertiesForFlags({$set:t||{},$set_once:s||{}},!0),this.capture("$set",{$set:t||{},$set_once:s||{}}),this.Li=r):z.info("A duplicate setPersonProperties call was made with the same properties. It has been ignored.")}}group(t,s,r){if(t&&s){var n=this.getGroups(),i=n[t]!==s;if(i&&this.resetGroupPropertiesForFlags(t),this.register({$groups:H({},n,{[t]:s})}),i||r){var o={$group_type:t,$group_key:s};r&&(o.$group_set=r),this.capture(tf,o)}r&&this.setGroupPropertiesForFlags({[t]:r}),i&&!r&&this.reloadFeatureFlags()}else z.error("posthog.group requires a group type and group key")}resetGroups(){this.register({$groups:{}}),this.resetGroupPropertiesForFlags(),this.reloadFeatureFlags()}setPersonPropertiesForFlags(t,s){var r;s===void 0&&(s=!0),(r=this.featureFlags)==null||r.setPersonPropertiesForFlags(t,s)}resetPersonPropertiesForFlags(){var t;(t=this.featureFlags)==null||t.resetPersonPropertiesForFlags()}setGroupPropertiesForFlags(t,s){var r;s===void 0&&(s=!0),this.nn("posthog.setGroupPropertiesForFlags")&&((r=this.featureFlags)==null||r.setGroupPropertiesForFlags(t,s))}resetGroupPropertiesForFlags(t){var s;(s=this.featureFlags)==null||s.resetGroupPropertiesForFlags(t)}reset(t){var s,r,n,i,o,a,l,u;if(z.info("reset"),!this.__loaded)return z.uninitializedWarning("posthog.reset");var c=this.get_property(Wi);if(this.consent.reset(),(s=this.persistence)==null||s.clear(),(r=this.sessionPersistence)==null||r.clear(),(n=this.surveys)==null||n.reset(),(i=this.Ji)==null||i.stop(),(o=this.featureFlags)==null||o.reset(),(a=this.conversations)==null||a.reset(),(l=this.persistence)==null||l.set_property(Lt,ir),(u=this.sessionManager)==null||u.resetSessionId(),this.Li=null,this.config.cookieless_mode===fs)this.register_once({distinct_id:ai,$device_id:null},"");else{var f=this.config.get_device_id(Ts());this.register_once({distinct_id:f,$device_id:t?f:c},"")}this.register({$last_posthog_reset:new Date().toISOString()},1),delete this.config.identity_distinct_id,delete this.config.identity_hash,this.reloadFeatureFlags()}setIdentity(t,s){var r;this.config.identity_distinct_id=t,this.config.identity_hash=s,this.alias(t),(r=this.conversations)==null||r.ln()}clearIdentity(){var t;delete this.config.identity_distinct_id,delete this.config.identity_hash,(t=this.conversations)==null||t.un()}get_distinct_id(){return this.get_property("distinct_id")}getGroups(){return this.get_property("$groups")||{}}get_session_id(){var t,s;return(t=(s=this.sessionManager)==null?void 0:s.checkAndGetSessionAndWindowId(!0).sessionId)!==null&&t!==void 0?t:""}get_session_replay_url(t){if(!this.sessionManager)return"";var{sessionId:s,sessionStartTimestamp:r}=this.sessionManager.checkAndGetSessionAndWindowId(!0),n=this.requestRouter.endpointFor("ui","/project/"+this.config.token+"/replay/"+s);if(t!=null&&t.withTimestamp&&r){var i,o=(i=t.timestampLookBack)!==null&&i!==void 0?i:10;if(!r)return n;n+="?t="+Math.max(Math.floor((new Date().getTime()-r)/1e3)-o,0)}return n}alias(t,s){return t===this.get_property(Up)?(z.critical("Attempting to create alias for existing People user - aborting."),-2):this.nn("posthog.alias")?(Y(s)&&(s=this.get_distinct_id()),t!==s?(this.sn(cn,t),this.capture("$create_alias",{alias:t,distinct_id:s})):(z.warn("alias matches current distinct_id - skipping api call."),this.identify(t),-1)):void 0}set_config(t){var s=H({},this.config);if(Fe(t)){var r,n,i,o,a,l,u,c,f,d;Le(this.config,xf(t));var h=this.$i();(r=this.persistence)==null||r.update_config(this.config,s,h),this.sessionPersistence=this.config.persistence==="sessionStorage"||this.config.persistence==="memory"?this.persistence:new oa(H({},this.config,{persistence:"sessionStorage"}),h);var g=this.Di(this.config.debug);Yt(g)&&(this.config.debug=g),Yt(this.config.debug)&&(this.config.debug?(at.DEBUG=!0,Ae.R()&&Ae.M("ph_debug",!0),z.info("set_config",{config:t,oldConfig:s,newConfig:H({},this.config)})):(at.DEBUG=!1,Ae.R()&&Ae.F("ph_debug"))),(n=this.exceptionObserver)==null||n.onConfigChange(),(i=this.exceptions)==null||i.onConfigChange(),(o=this.sessionRecording)==null||o.startIfEnabledOrStop(),(a=this.autocapture)==null||a.startIfEnabled(),(l=this.heatmaps)==null||l.startIfEnabled(),(u=this.exceptionObserver)==null||u.startIfEnabledOrStop(),(c=this.deadClicksAutocapture)==null||c.startIfEnabledOrStop(),(f=this.surveys)==null||f.loadIfEnabled(),this.hn(),(d=this.externalIntegrations)==null||d.startIfEnabledOrStop()}}_overrideSDKInfo(t,s){at.LIB_NAME=t,at.LIB_VERSION=s}startSessionRecording(t){var s,r,n,i,o,a=t===!0,l={sampling:a||!(t==null||!t.sampling),linked_flag:a||!(t==null||!t.linked_flag),url_trigger:a||!(t==null||!t.url_trigger),event_trigger:a||!(t==null||!t.event_trigger)};Object.values(l).some(Boolean)&&((s=this.sessionManager)==null||s.checkAndGetSessionAndWindowId(),l.sampling&&((r=this.sessionRecording)==null||r.overrideSampling()),l.linked_flag&&((n=this.sessionRecording)==null||n.overrideLinkedFlag()),l.url_trigger&&((i=this.sessionRecording)==null||i.overrideTrigger("url")),l.event_trigger&&((o=this.sessionRecording)==null||o.overrideTrigger("event"))),this.set_config({disable_session_recording:!1})}stopSessionRecording(){this.set_config({disable_session_recording:!0})}sessionRecordingStarted(){var t;return!((t=this.sessionRecording)==null||!t.started)}captureException(t,s){if(this.exceptions){var r=new Error("PostHog syntheticException"),n=this.exceptions.buildProperties(t,{handled:!0,syntheticException:r});return this.exceptions.sendExceptionEvent(H({},n,s))}}addExceptionStep(t,s){var r;(r=this.exceptions)==null||r.addExceptionStep(t,s)}captureLog(t){var s;(s=this.logs)==null||s.captureLog(t)}get logger(){var t,s;return(t=(s=this.logs)==null?void 0:s.logger)!==null&&t!==void 0?t:Pt.cn}startExceptionAutocapture(t){this.set_config({capture_exceptions:t==null||t})}stopExceptionAutocapture(){this.set_config({capture_exceptions:!1})}loadToolbar(t){var s,r;return(s=(r=this.toolbar)==null?void 0:r.loadToolbar(t))!==null&&s!==void 0&&s}get_property(t){var s;return(s=this.persistence)==null?void 0:s.props[t]}getSessionProperty(t){var s;return(s=this.sessionPersistence)==null?void 0:s.props[t]}toString(){var t,s=(t=this.config.name)!==null&&t!==void 0?t:gr;return s!==gr&&(s=gr+"."+s),s}_isIdentified(){var t,s;return((t=this.persistence)==null?void 0:t.get_property(Lt))===or||((s=this.sessionPersistence)==null?void 0:s.get_property(Lt))===or}rn(){var t,s;return!(this.config.person_profiles==="never"||this.config.person_profiles===xl&&!this._isIdentified()&&mr(this.getGroups())&&((t=this.persistence)==null||(t=t.props)==null||!t[cn])&&((s=this.persistence)==null||(s=s.props)==null||!s[zi]))}Ki(){return this.config.capture_pageleave===!0||this.config.capture_pageleave==="if_capture_pageview"&&(this.config.capture_pageview===!0||this.config.capture_pageview==="history_change")}createPersonProfile(){this.rn()||this.nn("posthog.createPersonProfile")&&this.setPersonProperties({},{})}setInternalOrTestUser(){this.nn("posthog.setInternalOrTestUser")&&this.setPersonProperties({$internal_or_test_user:!0})}nn(t){return this.config.person_profiles==="never"?(z.error(t+' was called, but process_person is set to "never". This call will be ignored.'),!1):(this.sn(zi,!0),!0)}$i(){if(this.config.cookieless_mode==="always")return!0;var t=this.consent.isOptedOut();return this.config.disable_persistence||t&&!(!this.config.opt_out_persistence_by_default&&this.config.cookieless_mode!==Ws)}hn(){var t,s,r,n,i=this.$i();return((t=this.persistence)==null?void 0:t.br)!==i&&((r=this.persistence)==null||r.set_disabled(i)),((s=this.sessionPersistence)==null?void 0:s.br)!==i&&((n=this.sessionPersistence)==null||n.set_disabled(i)),i}opt_in_capturing(t){var s;if(this.config.cookieless_mode!==fs){if(this.Ri()){var r,n,i,o,a;this.reset(!0),(r=this.sessionManager)==null||r.destroy(),(n=this.pageViewM
4anager)==null||n.destroy(),this.sessionManager=new _f(this),this.pageViewManager=new of(this),this.persistence&&(this.sessionPropsManager=new vf(this,this.sessionManager,this.persistence));var l,u=(i=(o=this.config.__extensionClasses)==null?void 0:o.sessionRecording)!==null&&i!==void 0?i:(a=Pt.__defaultExtensionClasses)==null?void 0:a.sessionRecording;u&&(this.sessionRecording=this.Ai(this.sessionRecording,new u(this)),this.Wi&&((l=this.sessionRecording)==null||l.onRemoteConfig==null||l.onRemoteConfig(this.Wi)))}var c,f;this.consent.optInOut(!0),this.hn(),this.Gi(),(s=this.sessionRecording)==null||s.startIfEnabledOrStop(),this.config.cookieless_mode==Ws&&((c=this.surveys)==null||c.loadIfEnabled()),(Y(t?.captureEventName)||t!=null&&t.captureEventName)&&this.capture((f=t?.captureEventName)!==null&&f!==void 0?f:"$opt_in",t?.captureProperties,{send_instantly:!0}),this.config.capture_pageview&&this.Xi()}else z.warn(bf)}opt_out_capturing(){var t,s,r;this.config.cookieless_mode!==fs?(this.config.cookieless_mode===Ws&&this.consent.isOptedIn()&&this.reset(!0),this.consent.optInOut(!1),this.hn(),this.config.cookieless_mode===Ws&&(this.register({distinct_id:ai,$device_id:null}),(t=this.sessionManager)==null||t.destroy(),(s=this.pageViewManager)==null||s.destroy(),this.sessionManager=void 0,this.sessionPropsManager=void 0,(r=this.sessionRecording)==null||r.stopRecording(),this.sessionRecording=void 0,this.Xi())):z.warn(bf)}has_opted_in_capturing(){return this.consent.isOptedIn()}has_opted_out_capturing(){return this.consent.isOptedOut()}get_explicit_consent_status(){var t=this.consent.consent;return t===1?"granted":t===0?"denied":"pending"}is_capturing(){return this.config.cookieless_mode===fs||(this.config.cookieless_mode===Ws?this.consent.isRejected()||this.consent.isOptedIn():!this.has_opted_out_capturing())}clear_opt_in_out_capturing(){this.consent.reset(),this.hn()}_is_bot(){return mt?pg(mt,this.config.custom_blocked_useragents):void 0}Xi(){K&&(K.visibilityState==="visible"?this.Fi||(this.Fi=!0,this.capture(pr,{title:K.title},{send_instantly:!0}),this.Oi&&(K.removeEventListener(Ji,this.Oi),this.Oi=null)):this.Oi||(this.Oi=this.Xi.bind(this),He(K,Ji,this.Oi)))}debug(t){t===!1?(A?.console.log("You've disabled debug mode."),this.set_config({debug:!1})):(A?.console.log("You're now in debug mode. All calls to PostHog will be logged in your console.\nYou can disable this with `posthog.debug(false)`."),this.set_config({debug:!0}))}Mr(){var t,s,r,n,i,o,a=this.Bi||{};return"advanced_disable_flags"in a?!!a.advanced_disable_flags:this.config.advanced_disable_flags!==!1?!!this.config.advanced_disable_flags:this.config.advanced_disable_decide===!0?(z.warn("Config field 'advanced_disable_decide' is deprecated. Please use 'advanced_disable_flags' instead. The old field will be removed in a future major version."),!0):(r="advanced_disable_decide",n=z,i=(s="advanced_disable_flags")in(t=a)&&!ue(t[s]),o=r in t&&!ue(t[r]),i?t[s]:!!o&&(n&&n.warn("Config field '"+r+"' is deprecated. Please use '"+s+"' instead. The old field will be removed in a future major version."),t[r]))}tn(t){if(ue(this.config.before_send))return t;var s=he(this.config.before_send)?this.config.before_send:[this.config.before_send],r=t;for(var n of s){if(r=n(r),ue(r)){var i="Event '"+t.event+"' was rejected in beforeSend function";return Pw(t.event)?z.warn(i+". This can cause unexpected behavior."):z.info(i),null}r.properties&&!mr(r.properties)||z.warn("Event '"+t.event+"' has no properties after beforeSend function, this is likely an error.")}return r}getPageViewId(){var t;return(t=this.pageViewManager.cr)==null?void 0:t.pageViewId}captureTraceFeedback(t,s){this.capture("$ai_feedback",{$ai_trace_id:String(t),$ai_feedback_text:s})}captureTraceMetric(t,s,r){this.capture("$ai_metric",{$ai_trace_id:String(t),$ai_metric_name:s,$ai_metric_value:String(r)})}Di(t){var s=Yt(t)&&!t,r=Ae.R()&&Ae.O("ph_debug")==="true";return!s&&(!!r||t)}}function kf(e){return e instanceof Element&&(e.id===Kp||!(e.closest==null||!e.closest(".toolbar-global-fade-container")))}function Ro(e){return!!e&&e.nodeType===1}function Os(e,t){return!!e&&!!e.tagName&&e.tagName.toLowerCase()===t.toLowerCase()}function yg(e){return!!e&&e.nodeType===3}function bg(e){return!!e&&e.nodeType===11}function Ec(e){return e?xo(e).split(/\s+/):[]}function Sf(e){var t=A?.location.href;return!!(t&&e&&e.some((s=>t.match(s))))}function no(e){var t="";switch(typeof e.className){case"string":t=e.className;break;case"object":t=(e.className&&"baseVal"in e.className?e.className.baseVal:null)||e.getAttribute("class")||"";break;default:t=""}return Ec(t)}function wg(e){return ue(e)?null:xo(e).split(/(\s+)/).filter((t=>Tn(t))).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255)}function Bn(e){var t="";return Ll(e)&&!xg(e)&&e.childNodes&&e.childNodes.length&&ke(e.childNodes,(function(s){var r;yg(s)&&s.textContent&&(t+=(r=wg(s.textContent))!==null&&r!==void 0?r:"")})),xo(t)}function Rf(e){return Y(e.target)?e.srcElement||null:(t=e.target)!=null&&t.shadowRoot?e.composedPath()[0]||null:e.target||null;var t}Pt.__defaultExtensionClasses={},Pt.cn={trace:lr=()=>{},debug:lr,info:lr,warn:lr,error:lr,fatal:lr},(function(e,t){for(var s=0;t.length>s;s++)e.prototype[t[s]]=fE(e.prototype[t[s]])})(Pt,["identify"]);var xc=["a","button","form","input","select","textarea","label"];function Pf(e,t){if(Y(t))return!0;var s,r=function(i){if(t.some((o=>i.matches(o))))return{v:!0}};for(var n of e)if(s=r(n))return s.v;return!1}function Eg(e){var t=e.parentNode;return!(!t||!Ro(t))&&t}var ZE=["next","previous","prev",">","<"],Tf=[".ph-no-rageclick",".ph-no-capture"],Il=e=>
vendor: 2,834 bytes, line 4
4!e||Os(e,"html")||!Ro(e),Cf=(e,t)=>{if(!A||Il(e))return{parentIsUsefulElement:!1,targetElementList:[]};for(var s=!1,r=[e],n=e;n.parentNode&&!Os(n,"body");)if(bg(n.parentNode))r.push(n.parentNode.host),n=n.parentNode.host;else{var i=Eg(n);if(!i)break;if(t||xc.indexOf(i.tagName.toLowerCase())>-1)s=!0;else{var o=A.getComputedStyle(i);o&&o.getPropertyValue("cursor")==="pointer"&&(s=!0)}r.push(i),n=i}return{parentIsUsefulElement:s,targetElementList:r}};function Ll(e){for(var t=e;t.parentNode&&!Os(t,"body");t=t.parentNode){var s=no(t);if(ce(s,"ph-sensitive")||ce(s,"ph-no-capture"))return!1}if(ce(no(e),"ph-include"))return!0;var r=e.type||"";if(Oe(r))switch(r.toLowerCase()){case"hidden":case"password":return!1}var n=e.name||e.id||"";return!Oe(n)||!/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(n.replace(/[^a-zA-Z0-9]/g,""))}function xg(e){return!!(Os(e,"input")&&!["button","checkbox","submit","reset"].includes(e.type)||Os(e,"select")||Os(e,"textarea")||e.getAttribute("contenteditable")==="true")}var kg="(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11})",ex=new RegExp("^(?:"+kg+")$"),tx=new RegExp(kg),Sg="\\d{3}-?\\d{2}-?\\d{4}",sx=new RegExp("^("+Sg+")$"),rx=new RegExp("("+Sg+")");function Tn(e,t){return t===void 0&&(t=!0),!(ue(e)||Oe(e)&&(e=xo(e),(t?ex:tx).test((e||"").replace(/[- ]/g,""))||(t?sx:rx).test(e)))}function Af(e){var t=Bn(e);return Tn(t=(t+" "+Rg(e)).trim())?t:""}function Rg(e){var t="";return e&&e.childNodes&&e.childNodes.length&&ke(e.childNodes,(function(s){var r;if(s&&((r=s.tagName)==null?void 0:r.toLowerCase())==="span")try{var n=Bn(s);t=(t+" "+n).trim(),s.childNodes&&s.childNodes.length&&(t=(t+" "+Rg(s)).trim())}catch(i){z.error("[AutoCapture]",i)}})),t}function Of(e){return e.replace(/"|\\"/g,'\\"')}function nx(e){var t=e.attr__class;return t?he(t)?t:Ec(t):void 0}class If{constructor(t){this.disabled=t===!1;var s=Fe(t)?t:{};this.thresholdPx=s.threshold_px||30,this.timeoutMs=s.timeout_ms||1e3,this.clickCount=s.click_count||3,this.clicks=[]}isRageClick(t,s,r){if(this.disabled)return!1;var n=this.clicks[this.clicks.length-1];if(n&&Math.abs(t-n.x)+Math.abs(s-n.y)<this.thresholdPx&&this.timeoutMs>r-n.timestamp){if(this.clicks.push({x:t,y:s,timestamp:r}),this.clicks.length===this.clickCount)return!0}else this.clicks=[{x:t,y:s,timestamp:r}];return!1}}var pa="$copy_autocapture",Lf=Te("[AutoCapture]");function ga(e,t){return t.length>e?t.slice(0,e)+"...":t}function ix(e){if(e.previousElementSibling)return e.previousElementSibling;var t=e;do t=t.previousSibling;while(t&&!Ro(t));return t}function ox(e,t){for(var s,r,{e:n,maskAllElementAttributes:i,maskAllText:o,elementAttributeIgnoreList:a,elementsC
4hainAsString:l}=t,u=[e],c=e;c.parentNode&&!Os(c,"body");)bg(c.parentNode)?(u.push(c.parentNode.host),c=c.parentNode.host):(u.push(c.parentNode),c=c.parentNode);var f,d,h=[],g={},p=!1,R=!1;if(ke(u,(y=>{var x=Ll(y);y.tagName.toLowerCase()==="a"&&(p=y.getAttribute("href"),p=x&&p&&Tn(p)&&p),ce(no(y),"ph-no-capture")&&(R=!0),h.push((function(T,S,C,N){var O=T.tagName.toLowerCase(),D={tag_name:O};xc.indexOf(O)>-1&&!C&&(D.$el_text=O.toLowerCase()==="a"||O.toLowerCase()==="button"?ga(1024,Af(T)):ga(1024,Bn(T)));var J=no(T);J.length>0&&(D.classes=J.filter((function(j){return j!==""}))),ke(T.attributes,(function(j){var ae;if((!xg(T)||["name","id","class","aria-label"].indexOf(j.name)!==-1)&&(N==null||!N.includes(j.name))&&!S&&Tn(j.value)&&(!Oe(ae=j.name)||ae.substring(0,10)!=="_ngcontent"&&ae.substring(0,7)!=="_nghost")){var Me=j.value;j.name==="class"&&(Me=Ec(Me).join(" ")),D["attr__"+j.name]=ga(1024,Me)}}));for(var ne=1,V=1,Q=T;Q=ix(Q);)ne++,Q.tagName===T.tagName&&V++;return D.nth_child=ne,D.nth_of_type=V,D})(y,i,o,a));var k=(function(T){if(!Ll(T))return{};var S={};return ke(T.attributes,(function(C){if(C.name&&C.name.indexOf("data-ph-capture-attribute")===0){var N=C.name.replace("data-ph-capture-attribute-",""),O=C.value;N&&O&&Tn(O)&&(S[N]=O)}})),S})(y);Le(g,k)})),R)return{props:{},explicitNoCapture:R};if(o||(h[0].$el_text=e.tagName.toLowerCase()==="a"||e.tagName.toLowerCase()==="button"?Af(e):Bn(e)),p){var E,w;h[0].attr__href=p;var v=(E=Qi(p))==null?void 0:E.host,m=A==null||(w=A.location)==null?void 0:w.host;v&&m&&v!==m&&(f=p)}return{props:Le({$event_type:n.type,$ce_version:1},l?{}:{$elements:h},{$elements_chain:(d=h,(function(y){return y.map((x=>{var k,T,S="";if(x.tag_name&&(S+=x.tag_name),x.attr_class)for(var C of(x.attr_class.sort(),x.attr_class))S+="."+C.replace(/"/g,"");var N=H({},x.text?{text:x.text}:{},{"nth-child":(k=x.nth_child)!==null&&k!==void 0?k:0,"nth-of-type":(T=x.nth_of_type)!==null&&T!==void 0?T:0},x.href?{href:x.href}:{},x.attr_id?{attr_id:x.attr_id}:{},x.attributes),O={};return bi(N).sort(((D,J)=>{var[ne]=D,[V]=J;return ne.localeCompare(V)})).forEach((D=>{var[J,ne]=D;return O[Of(J.toString())]=Of(ne.toString())})),(S+=":")+bi(O).map((D=>{var[J,ne]=D;return J+'="'+ne+'"'})).join("")})).join(";")})((function(y){return y.map((x=>{var k,T,S={text:(k=x.$el_text)==null?void 0:k.slice(0,400),tag_name:x.tag_name,href:(T=x.attr__href)==null?void 0:T.slice(0,2048),attr_class:nx(x),attr_id:x.attr__id,nth_child:x.nth_child,nth_of_type:x.nth_of_type,attributes:{}};return bi(x).filter((C=>{var[N]=C;return N.indexOf("attr__")===0})).forEach((C=>{var[N,O]=C;return S.attributes[N]=O})),S}))})(d)))},(s=h[0])!=null&&s.$el_text?{$el_text:(r=h[0])==null?void 0:r.$el_text}:{},f&&n.type==="click"?{$external_click_url:f}:{},g)}}var rn=Te("[ExceptionAutocapture]");function Mf(e,t,s){try{if(!(t in e))return()=>{};var r=e[t],n=s(r);return cs(n)&&(n.prototype=n.prototype||{},Object.defineProperties(n,{__posthog_wrapped__:{enumerable:!1,value:!0}})),e[t]=n,()=>{e[t]=r}}catch{return()=>{}}}var ax=Te("[TracingHeaders]"),Es=Te("[Web Vitals]"),Ff=9e5,$f="disabled",Nf="lazy_loading",nn="awaiting_config",di="missing_config";Te("[SessionRecording]"),Te("[SessionRecording]");var Ml="[SessionRecording]",xs=Te(Ml),lx=Te("[Heatmaps]");function Df(e){return Fe(e)&&"clientX"in e&&"clientY"in e&&Ot(e.clientX)&&Ot(e.clientY)}var Hf=Te("[Product Tours]"),cx=["$set_once","$set"],ks=Te("[SiteApps]"),jf="Error while initializing PostHog app with config id ";function cr(e,t,s){if(ue(e))return!1;switch(s){case"exact":return e===t;case"contains":var r=t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/_/g,".").replace(/%/g,".*");return new RegExp(r,"i").test(e);case"regex":try{return new RegExp(t).test(e)}catch{return!1}default:return!1}}class ux{constructor(t){this.dn=new wc,this.vn=(s,r)=>this.fn(s,r)&&this.pn(s,r)&&this.gn(s,r)&&this.mn(s,r),this.fn=(s,r)=>r==null||!r.event||s?.event===r?.event,this._instance=t,this.yn=new Set,this.bn=new Set}init(){var t,s;Y((t=this._instance)==null?void 0:t._addCaptureHook)||(s=this._instance)==null||s._addCaptureHook(((r,n)=>{this.on(r,n)}))}register(t){var s,r;if(!Y((s=this._instance)==null?void 0:s._addCaptureHook)&&(t.forEach((o=>{var a,l;
4(a=this.bn)==null||a.add(o),(l=o.steps)==null||l.forEach((u=>{var c;(c=this.yn)==null||c.add(u?.event||"")}))})),(r=this._instance)!=null&&r.autocapture)){var n,i=new Set;t.forEach((o=>{var a;(a=o.steps)==null||a.forEach((l=>{l!=null&&l.selector&&i.add(l?.selector)}))})),(n=this._instance)==null||n.autocapture.setElementSelectors(i)}}on(t,s){var r;s!=null&&t.length!=0&&(this.yn.has(t)||this.yn.has(s?.event))&&this.bn&&((r=this.bn)==null?void 0:r.size)>0&&this.bn.forEach((n=>{this._n(s,n)&&this.dn.emit("actionCaptured",n.name)}))}wn(t){this.onAction("actionCaptured",(s=>t(s)))}_n(t,s){if(s?.steps==null)return!1;for(var r of s.steps)if(this.vn(t,r))return!0;return!1}onAction(t,s){return this.dn.on(t,s)}pn(t,s){if(s!=null&&s.url){var r,n=t==null||(r=t.properties)==null?void 0:r.$current_url;if(!n||typeof n!="string"||!cr(n,s.url,s.url_matching||"contains"))return!1}return!0}gn(t,s){return!!this.In(t,s)&&!!this.Cn(t,s)&&!!this.Sn(t,s)}In(t,s){var r;if(s==null||!s.href)return!0;var n=this.xn(t);if(n.length>0)return n.some((a=>cr(a.href,s.href,s.href_matching||"exact")));var i,o=(t==null||(r=t.properties)==null?void 0:r.$elements_chain)||"";return!!o&&cr((i=o.match(/(?::|")href="(.*?)"/))?i[1]:"",s.href,s.href_matching||"exact")}Cn(t,s){var r;if(s==null||!s.text)return!0;var n=this.xn(t);if(n.length>0)return n.some((u=>cr(u.text,s.text,s.text_matching||"exact")||cr(u.$el_text,s.text,s.text_matching||"exact")));var i,o,a,l=(t==null||(r=t.properties)==null?void 0:r.$elements_chain)||"";return!!l&&(i=(function(u){for(var c,f=[],d=/(?::|")text="(.*?)"/g;!ue(c=d.exec(u));)f.includes(c[1])||f.push(c[1]);return f})(l),o=s.text,a=s.text_matching||"exact",i.some((u=>cr(u,o,a))))}Sn(t,s){var r,n;if(s==null||!s.selector)return!0;var i=t==null||(r=t.properties)==null?void 0:r.$element_selectors;if(i!=null&&i.includes(s.selector))return!0;var o=(t==null||(n=t.properties)==null?void 0:n.$elements_chain)||"";if(s.selector_regex&&o)try{return new RegExp(s.selector_regex).test(o)}catch{return!1}return!1}xn(t){var s;return(t==null||(s=t.properties)==null?void 0:s.$elements)==null?[]:t?.properties.$elements}mn(t,s){return s==null||!s.properties||s.properties.length===0||vg(s.properties.reduce(((r,n)=>{var i=he(n.value)?n.value.map(String):n.value!=null?[String(n.value)]:[];return r[n.key]={values:i,operator:n.operator||"exact"},r}),{}),t?.properties)}}class fx{constructor(t){this._instance=t,this.kn=new Map,this.Tn=new Map,this.An=new Map}En(t,s){return!!t&&vg(t.propertyFilters,s?.properties)}Rn(t,s){var r=new Map;return t.forEach((n=>{var i;(i=n.conditions)==null||(i=i[s])==null||(i=i.values)==null||i.forEach((o=>{if(o!=null&&o.name){var a=r.get(o.name)||[];a.push(n.id),r.set(o.name,a)}}))})),r}Nn(t,s,r){var n=(r===Qr.Activation?this.kn:this.Tn).get(t),i=[];return this.Mn((o=>{i=o.filter((a=>n?.includes(a.id)))})),i.filter((o=>{var a,l=(a=o.conditions)==null||(a=a[r])==null||(a=a.values)==null?void 0:a.find((u=>u.name===t));return this.En(l,s)}))}register(t){var s;Y((s=this._instance)==null?void 0:s._addCaptureHook)||(this.Fn(t),this.On(t))}On(t){var s=t.filter((r=>{var n,i;return((n=r.conditions)==null?void 0:n.actions)&&((i=r.conditions)==null||(i=i.actions)==null||(i=i.values)==null?void 0:i.length)>0}));s.length!==0&&(this.Pn==null&&(this.Pn=new ux(this._instance),this.Pn.init(),this.Pn.wn((r=>{this.onAction(r)}))),s.forEach((r=>{var n,i,o,a,l;r.conditions&&(n=r.conditions)!=null&&n.actions&&(i=r.conditions)!=null&&(i=i.actions)!=null&&i.values&&((o=r.conditions)==null||(o=o.actions)==null||(o=o.values)==null?void 0:o.length)>0&&((a=this.Pn)==null||a.register(r.conditions.actions.values),(l=r.conditions)==null||(l=l.actions)==null||(l=l.values)==null||l.forEach((u=>{if(u&&u.name){var c=this.An.get(u.name);c&&c.push(r.id),this.An.set(u.name,c||[r.id])}})))})))}Fn(t){var s,r=t.filter((i=>{var o,a;return((o=i.conditions)==null?void 0:o.events)&&((a=i.conditions)==null||(a=a.events)==null||(a=a.values)==null?void 0:a.length)>0})),n=t.filter((i=>{var o,a;return((o=i.conditions)==null?void 0:o.cancelEvents)&&((a=i.conditions)==null||(a=a.cancelEvents)==null||(a=a.values)==null?void 0:a.length)>0}));r.length===0&&n.length===0||((s=this._instance)==null||s._addCaptureHook(((i,o)=>{this.onEvent(i,o)})),this.kn=this.Rn(t,Qr.Activation),this.Tn=this.Rn(t,Qr.Cancellation))}onEvent(t,s){var r,n=this.ue(),i=this.Ln(),o=this.Dn(),a=((r=this._instance)==null||(r=r.persistence)==null?void 0:r.props[i])||[];if(o===t&&s&&a.length>0){var l,u;n.info("event matched, removing item from activated items",{event:t,eventPayload:s,existingActivatedItems:a});var c=(s==null||(l=s.properties)==null?void 0:l.$survey_id)||(s==null||(u=s.properties)==null?void 0:u.$product_tour_id);if(c){var f=a.indexOf(c);0>f||(a.splice(f,1),this.Bn(a))}}else{if(this.Tn.has(t)){var d=this.Nn(t,s,Qr.Cancellation);d.length>0&&(n.info("cancel event matched, cancelling items",{event:t,itemsToCancel:d.map((g=>g.id))}),d.forEach((g=>{var p=a.indexOf(g.id);0>p||a.splice(p,1),this.jn(g.id)})),this.Bn(a))}if(this.kn.has(t)){n.info("event name matched",{event:t,eventPayload:s,items:this.kn.get(t)});var h=this.Nn(t,s,Qr.Activation);this.Bn(a.concat(h.map((g=>g.id))||[]))}}}onAction(t){var s,r=this.Ln(),n=((s=this._instance)==null||(s=s.persistence)==null?void 0:s.props[r])||[];this.An.has(t)&&this.Bn(n.concat(this.An.get(t)||[]))}Bn(t){var s=this.ue(),r=[...new Set(t)].filter((n=>!this.$n(n)));s.info("updating activated items",{activatedItems:r}),this.qn(r)}getActivatedIds(){var t,s=this.Ln();return((t=this._instance)==null||(t=t.persistence)==null?void 0:t.props[s])||[]}
4getEventToItemsMap(){return this.kn}Zn(){return this.Pn}}class hx extends fx{constructor(t){super(t)}Ln(){return vl}Dn(){return pn.SHOWN}Mn(t){var s;(s=this._instance)==null||s.getSurveys(t)}jn(t){var s;(s=this._instance)==null||s.cancelPendingSurvey(t)}ue(){return me}qn(t){var s;(s=this._instance)==null||(s=s.persistence)==null||s.register({[vl]:t})}$n(){return!1}getSurveys(){return this.getActivatedIds()}getEventToSurveys(){return this.getEventToItemsMap()}}var va="SDK is not enabled or survey functionality is not yet loaded",Uf="Disabled. Not loading surveys.",dx=A!=null&&A.location?eo(A.location.hash,"__posthog")||eo(location.hash,"state"):null,Bf="_postHogToolbarParams",Vf=Te("[Toolbar]"),rt=Te("[FeatureFlags]"),Hs=Te("[FeatureFlags]",{debugEnabled:!0}),_a=`" failed. Feature flags didn't load in time.`,Wf=e=>{for(var t={},s=0;e.length>s;s++)t[e[s]]=!0;return t},qf=e=>{var t={};for(var[s,r]of bi(e||{}))r&&(t[s]=r);return t},is=Te("[Error tracking]"),Kf="Refusing to render web experiment since the viewer is a likely bot",px={icontains:(e,t)=>!!A&&t.href.toLowerCase().indexOf(e.toLowerCase())>-1,not_icontains:(e,t)=>!!A&&t.href.toLowerCase().indexOf(e.toLowerCase())===-1,regex:(e,t)=>!!A&&ro(t.href,e),not_regex:(e,t)=>!!A&&!ro(t.href,e),exact:(e,t)=>t.href===e,is_not:(e,t)=>t.href!==e};class et{get Lt(){return this._instance.config}constructor(t){var s=this;this.getWebExperimentsAndEvaluateDisplayLogic=function(r){r===void 0&&(r=!1),s.getWebExperiments((n=>{et.Hn("retrieved web experiments from the server"),s.Vn=new Map,n.forEac
4h((i=>{if(i.feature_flag_key){var o;s.Vn&&(et.Hn("setting flag key ",i.feature_flag_key," to web experiment ",i),(o=s.Vn)==null||o.set(i.feature_flag_key,i));var a=s._instance.getFeatureFlag(i.feature_flag_key);Oe(a)&&i.variants[a]&&s.zn(i.name,a,i.variants[a].transforms)}else if(i.variants)for(var l in i.variants){var u=i.variants[l];et.Un(u)&&s.zn(i.name,l,u.transforms)}}))}),r)},this._instance=t,this._instance.onFeatureFlags((r=>{this.onFeatureFlags(r)}))}initialize(){}onFeatureFlags(t){if(this._is_bot())et.Hn(Kf);else if(!this.Lt.disable_web_experiments){if(ue(this.Vn))return this.Vn=new Map,this.loadIfEnabled(),void this.previewWebExperiment();et.Hn("applying feature flags",t),t.forEach((s=>{var r;if(this.Vn&&(r=this.Vn)!=null&&r.has(s)){var n,i=this._instance.getFeatureFlag(s),o=(n=this.Vn)==null?void 0:n.get(s);i&&o!=null&&o.variants[i]&&this.zn(o.name,i,o.variants[i].transforms)}}))}}previewWebExperiment(){var t=et.getWindowLocation();if(t!=null&&t.search){var s=Zi(t?.search,"__experiment_id"),r=Zi(t?.search,"__experiment_variant");s&&r&&(et.Hn("previewing web experiments "+s+" && "+r),this.getWebExperiments((n=>{this.Yn(parseInt(s),r,n)}),!1,!0))}}loadIfEnabled(){this.Lt.disable_web_experiments||this.getWebExperimentsAndEvaluateDisplayLogic()}getWebExperiments(t,s,r){if(this.Lt.disable_web_experiments&&!r)return t([]);var n=this._instance.get_property("$web_experiments");if(n&&!s)return t(n);this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/web_experiments/?token="+this.Lt.token),method:"GET",callback:i=>t(i.statusCode===200&&i.json&&i.json.experiments||[])})}Yn(t,s,r){var n=r.filter((i=>i.id===t));n&&n.length>0&&(et.Hn("Previewing web experiment ["+n[0].name+"] with variant ["+s+"]"),this.zn(n[0].name,s,n[0].variants[s].transforms))}static Un(t){return!ue(t.conditions)&&et.Wn(t)&&et.Gn(t)}static Wn(t){var s;if(ue(t.conditions)||ue((s=t.conditions)==null?void 0:s.url))return!0;var r,n,i,o=et.getWindowLocation();return!!o&&((r=t.conditions)==null||!r.url||px[(n=(i=t.conditions)==null?void 0:i.urlMatchType)!==null&&n!==void 0?n:"icontains"](t.conditions.url,o))}
4static getWindowLocation(){return A?.location}static Gn(t){var s;if(ue(t.conditions)||ue((s=t.conditions)==null?void 0:s.utm))return!0;var r=eg();if(r.utm_source){var n,i,o,a,l,u,c,f,d=(n=t.conditions)==null||(n=n.utm)==null||!n.utm_campaign||((i=t.conditions)==null||(i=i.utm)==null?void 0:i.utm_campaign)==r.utm_campaign,h=(o=t.conditions)==null||(o=o.utm)==null||!o.utm_source||((a=t.conditions)==null||(a=a.utm)==null?void 0:a.utm_source)==r.utm_source,g=(l=t.conditions)==null||(l=l.utm)==null||!l.utm_medium||((u=t.conditions)==null||(u=u.utm)==null?void 0:u.utm_medium)==r.utm_medium,p=(c=t.conditions)==null||(c=c.utm)==null||!c.utm_term||((f=t.conditions)==null||(f=f.utm)==null?void 0:f.utm_term)==r.utm_term;return d&&g&&p&&h}return!1}static Hn(t){for(var s=arguments.length,r=new Array(s>1?s-1:0),n=1;s>n;n++)r[n-1]=arguments[n];z.info("[WebExperiments] "+t,r)}zn(t,s,r){this._is_bot()?et.Hn(Kf):s!=="control"?r.forEach((n=>{if(n.selector){var i;et.Hn("applying transform of variant "+s+" for experiment "+t+" ",n);var o=(i=document)==null?void 0:i.querySelectorAll(n.selector);o?.forEach((a=>{var l=a;n.html&&(l.innerHTML=n.html),n.css&&l.setAttribute("style",n.css)}))}})):et.Hn("Control variants leave the page unmodified.")}_is_bot(){return mt&&this._instance?pg(mt,this.Lt.custom_blocked_useragents):void 0}}var kt=Te("[Conversations]"),js="Conversations not available yet.",Po={featureFlags:class{constructor(e){this.Xn=!1,this.Jn=!1,this.Kn=!1,this.Qn=!1,this.es=!1,this.ts=!1,this.rs=!1,this.ns=!1,this._instance=e,this.featureFlagEventHandlers=[]}get Lt(){return this._instance.config}get ii(){return this._instance.persistence}ss(e){return this._instance.get_property(e)}os(){var e,t;return(e=(t=this.ii)==null?void 0:t._r(this.Lt.feature_flag_cache_ttl_ms))!==null&&e!==void 0&&e}ls(){return!!this.os()&&(this.ns||this.Kn||(this.ns=!0,rt.warn("Feature flag cache is stale, triggering refresh..."),this.reloadFeatureFlags()),!0)}us(){var e,t=(e=this.Lt.evaluation_contexts)!==null&&e!==void 0?e:this.Lt.evaluation_environments;return!this.Lt.evaluation_environments||this.Lt.evaluation_contexts||this.rs||(rt.warn("evaluation_environments is deprecated. Use evaluation_contexts instead. evaluation_environments will be removed in a future version."),this.rs=!0),t!=null&&t.length?t.filter((s=>{var r=s&&typeof s=="string"&&s.trim().length>0;return r||rt.error("Invalid evaluation context found:",s,"Expected non-empty string"),r})):[]}hs(){return this.us().length>0}initialize(){var e,t,{config:s}=this._instance,r=(e=(t=s.bootstrap)==null?void 0:t.featureFlags)!==null&&e!==void 0?e:{};if(Object.keys(r).length){var n,i,o=(n=(i=s.bootstrap)==null?void 0:i.featureFlagPayloads)!==null&&n!==void 0?n:{},a=Object.keys(r).filter((u=>!!r[u])).reduce(((u,c)=>(u[c]=r[c]||!1,u)),{}),l=Object.keys(o).filter((u=>a[u])).reduce(((u,c)=>(o[c]&&(u[c]=o[c]),u)),{});this.receivedFeatureFlags({featureFlags:a,featureFlagPayloads:l})}}updateFlags(e,t,s){var r=s!=null&&s.merge?this.getFlagVariants():{},n=s!=null&&s.merge?this.getFlagPayloads():{},i=H({},r,e),o=H({},n,t),a={};for(var[l,u]of Object.entries(i)){var c=typeof u=="string";a[l]={key:l,enabled:!!c||!!u,variant:c?u:void 0,reason:void 0,metadata:Y(o?.[l])?void 0:{id:0,version:void 0,description:void 0,payload:o[l]}}}this.receivedFeatureFlags({flags:a})}get hasLoadedFlags(){return this.Jn}getFlags(){return Object.keys(this.getFlagVariants())}getFlagsWithDetails(){var e=this.ss(hl),t=this.ss(os),s=this.ss(dr);if(!s&&!t)return e||{};var r=Le({},e||{}),n=[...new Set([...Object.keys(s||{}),...Object.keys(t||{})])];for(var i of n){var o,a,l=r[i],u=t?.[i],c=Y(u)?(o=l?.enabled)!==null&&o!==void 0&&o:!!u,f=Y(u)?l.variant:typeof u=="string"?u:void 0,d=s?.[i],h=H({},l,{enabled:c,variant:c?f??l?.variant:void 0});c!==l?.enabled&&(h.original_enabled=l?.enabled),f!==l?.variant&&(h.original_variant=l?.variant),d&&(h.metadata=H({},l?.metadata,{payload:d,original_payload:l==null||(a=l.metadata)==null?void 0:a.payload})),r[i]=h}return this.Xn||(rt.warn(" Overriding feature flag details!",{flagDetails:e,overriddenPayloads:s,finalDetails:r}),this.Xn=!0),r}getFlagVariants(){var e=this.ss(yr),t=this.ss(os);if(!t)return e||{};for(var s=Le({},e),r=Object.keys(t),n=0;r.length>n;n++)s[r[n]]=t[r[n]];return this.Xn||(rt.warn(" Overriding feature flags!",{enabledFlags:e,overriddenFlags:t,finalFlags:s}),this.Xn=!0),s}getFlagPayloads(){var e=this.ss(dl),t=this.ss(dr);if(!t)return e||{};for(var s=Le({},e||{}),r=Object.keys(t),n=0;r.length>n;n++)s[r[n]]=t[r[n]];return this.Xn||(rt.warn(" Overriding feature flag payloads!",{flagPayloads:e,overriddenPayloads:t,finalPayloads:s}),this.Xn=!0),s}reloadFeatureFlags(){this.Qn||this.Lt.advanced_disable_feature_flags||this.cs||(this._instance.Mi.emit
4("featureFlagsReloading",!0),this.cs=setTimeout((()=>{this.ds()}),5))}vs(){clearTimeout(this.cs),this.cs=void 0}ensureFlagsLoaded(){this.Jn||this.Kn||this.cs||this.reloadFeatureFlags()}setAnonymousDistinctId(e){this.$anon_distinct_id=e}setReloadingPaused(e){this.Qn=e}ds(e){var t;if(this.vs(),!this._instance.Mr())if(this.Kn)this.es=!0;else{var s=this.Lt.token,r=this.ss(Wi),n={token:s,distinct_id:this._instance.get_distinct_id(),groups:this._instance.getGroups(),$anon_distinct_id:this.$anon_distinct_id,person_properties:H({},((t=this.ii)==null?void 0:t.get_initial_props())||{},this.ss(dn)||{}),group_properties:this.ss(Vs),timezone:og()};ys(r)||Y(r)||(n.$device_id=r),(e!=null&&e.disableFlags||this.Lt.advanced_disable_feature_flags)&&(n.disable_flags=!0),this.hs()&&(n.evaluation_contexts=this.us());var i=this._instance.requestRouter.endpointFor("flags","/flags/?v=2"+(this.Lt.advanced_only_evaluate_survey_feature_flags?"&only_evaluate_survey_feature_flags=true":""));this.Kn=!0,this._instance._send_request({method:"POST",url:i,data:n,compression:this.Lt.disable_compression?void 0:Gt.Base64,timeout:this.Lt.feature_flag_request_timeout_ms,callback:o=>{var a,l,u,c=!0;if(o.statusCode===200&&(this.es||(this.$anon_distinct_id=void 0),c=!1),this.Kn=!1,!n.disable_flags||this.es){this.ts=!c;var f=[];o.error?o.error instanceof Error?f.push(o.error.name==="AbortError"?"timeout":"connection_error"):f.push("unknown_error"):o.statusCode!==200&&f.push("api_error_"+o.statusCode),(a=o.json)!=null&&a.errorsWhileComputingFlags&&f.push("errors_while_computing_flags");var d,h=!((l=o.json)==null||(l=l.quotaLimited)==null||!l.includes("feature_flags"));h&&f.push("quota_limited"),(u=this.ii)==null||u.register({[ml]:f}),h?rt.warn("You have hit your feature flags quota limit, and will not be able to load feature flags until the quota is reset. Please visit https://posthog.com/docs/billing/limits-alerts to learn more."):(n.disable_flags||this.receivedFeatureFlags((d=o.json)!==null&&d!==void 0?d:{},c,{partialResponse:!!this.Lt.advanced_only_evaluate_survey_feature_flags}),this.es&&(this.es=!1,this.ds()))}}})}}getFeatureFlag(e,t){var s;if(t===void 0&&(t={}),!t.fresh||this.ts)if(this.Jn||this.getFlags()&&this.getFlags().length>0){if(!this.ls()){var r=this.getFeatureFlagResult(e,t);return(s=r?.variant)!==null&&s!==void 0?s:r?.enabled}}else rt.warn('getFeatureFlag for key "'+e+_a)}getFeatureFlagDetails(e){return this.getFlagsWithDetails()[e]}getFeatureFlagPayload(e){var t=this.getFeatureFlagResult(e,{send_event:!1});return t?.payload}getFeatureFlagResult(e,t){if(t===void 0&&(t={}),!t.fresh||this.ts)if(this.Jn||this.getFlags()&&this.getFlags().length>0){if(!this.ls()){var s=this.getFlagVariants(),r=e in s,n=s[e],i=this.getFlagPayloads()[e],o=String(n),a=this.ss(pl)||void 0,l=this.ss(Ki)||void 0,u=this.ss(Sn)||{};if(this.Lt.advanced_feature_flags_dedup_per_session){var c,f=this._instance.get_session_id(),d=this.ss(_l);f&&f!==d&&(u={},(c=this.ii)==null||c.register({[Sn]:u,[_l]:f}))}if((t.send_event||!("send_event"in t))&&(!(e in u)||!u[e].includes(o))){var h,g,p,R,E,w,v,m,y,x;he(u[e])?u[e].push(o):u[e]=[o],(h=this.ii)==null||h.register({[Sn]:u});var k=this.getFeatureFlagDetails(e),T=[...(g=this.ss(ml))!==null&&g!==void 0?g:[]];Y(n)&&T.push("flag_missing");var S={$feature_flag:e,$feature_flag_response:n,$feature_flag_payload:i||null,$feature_flag_request_id:a,$feature_flag_evaluated_at:l,$feature_flag_bootstrapped_response:((p=this.Lt.bootstrap)==null||(p=p.featureFlags)==null?void 0:p[e])||null,$feature_flag_bootstrapped_payload:((R=this.Lt.bootstrap)==null||(R=R.featureFlagPayloads)==null?void 0:R[e])||null,$used_bootstrap_value:!this.ts};Y(k==null||(E=k.metadata)==null?void 0:E.version)||(S.$feature_flag_version=k.metadata.version);var C,N=(w=k==null||(v=k.reason)==null?void 0:v.description)!==null&&w!==void 0?w:k==null||(m=k.reason)==null?void 0:m.code;N&&(S.$feature_flag_reason=N),k!=null&&(y=k.metadata)!=null&&y.id&&(S.$feature_flag_id=k.metadata.id),Y(k?.original_variant)&&Y(k?.original_enabled)||(S.$feature_flag_original_response=Y(k.original_variant)?k.original_enabled:k.original_variant),k!=null&&(x=k.metadata)!=null&&x.original_payload&&(S.$feature_flag_original_payload=k==null||(C=k.metadata)==null?void 0:C.original_payload),T.length&&(S.$feature_flag_error=T.join(",")),this._instance.capture("$feature_flag_called",S)}if(r){var O=i;if(!Y(i))try{O=JSON.parse(i)}catch{}return{key:e,enabled:!!n,variant:typeof n=="string"?n:void 0,payload:O}}}}else rt.warn('getFeatureFlagResult for key "'+e+_a)}getRemoteConfigPayload(e,t){var s=this.Lt.token,r={distinct_id:this._instance.get_distinct_id(),token:s};this.hs()&&(r.evaluation_contexts=this.us()),this._instance._send_request({method:"POST",url:this._instance.requestRouter.endpointFor("flags","/flags/?v=2"),data:r,compression:this.Lt.disable_compression?void 0:Gt.Base64,timeout:this.Lt.feature_flag_request_timeout_ms,callback(n){var i,o=(i=n.json)==null?void 0:i.featureFlagPayloads;t(o?.[e]||void 0)}})}isFeatureEnabled(e,t){if(t===void 0&&(t={}),!t.fresh||this.ts){if(this.Jn||this.getFlags()&&this.getFlags().length>0){var s=this.getFeatureFlag(e,t);return Y(s)?void 0:!!s}rt.warn('isFeatureEnabled for key "'+e+_a)}}addFeatureFlagsHandler(e){this.featureFlagEventHandlers.push(e)}removeFeatureFlagsHandler(e){this.featureFlagEventHandlers=this.featureFlagEventHandlers.filter((t=>t!==e))}receivedFeatureFlags(e,t,s){if(this.ii){this.Jn=!0;var r=this.getFlagVariants(),n=this.getFlagPayloads(),i=this.getFlagsWithDetails();(function(o,a,l,u,c,f){l===void 0&&(l={}),u===void 0&&(u={}),c===void 0&&(c={});
4var d=(T=>{var S=T.flags;return S?(T.featureFlags=Object.fromEntries(Object.keys(S).map((C=>{var N;return[C,(N=S[C].variant)!==null&&N!==void 0?N:S[C].enabled]}))),T.featureFlagPayloads=Object.fromEntries(Object.keys(S).filter((C=>S[C].enabled)).filter((C=>{var N;return(N=S[C].metadata)==null?void 0:N.payload})).map((C=>{var N;return[C,(N=S[C].metadata)==null?void 0:N.payload]})))):rt.warn("Using an older version of the feature flags endpoint. Please upgrade your PostHog server to the latest version"),T})(o),h=d.flags,g=d.featureFlags,p=d.featureFlagPayloads;if(g){var R=o.requestId,E=o.evaluatedAt;if(he(g)){rt.warn("v1 of the feature flags endpoint is deprecated. Please use the latest version.");var w={};if(g)for(var v=0;g.length>v;v++)w[g[v]]=!0;a&&a.register({[mi]:g,[yr]:w})}else{var m=g,y=p,x=h;if(f!=null&&f.partialResponse)m=H({},l,m),y=H({},u,y),x=H({},c,x);else if(o.errorsWhileComputingFlags)if(h){var k=new Set(Object.keys(h).filter((T=>{var S;return!((S=h[T])!=null&&S.failed)})));m=H({},l,Object.fromEntries(Object.entries(m).filter((T=>{var[S]=T;return k.has(S)})))),y=H({},u,Object.fromEntries(Object.entries(y||{}).filter((T=>{var[S]=T;return k.has(S)})))),x=H({},c,Object.fromEntries(Object.entries(x||{}).filter((T=>{var[S]=T;return k.has(S)}))))}else m=H({},l,m),y=H({},u,y),x=H({},c,x);a&&a.register(H({[mi]:Object.keys(qf(m)),[yr]:m||{},[dl]:y||{},[hl]:x||{}},R?{[pl]:R}:{},E?{[Ki]:E}:{}))}}})(e,this.ii,r,n,i,s),t||(this.ns=!1),this.fs(t)}}override(e,t){t===void 0&&(t=!1),rt.warn("override is deprecated. Please use overrideFeatureFlags instead."),this.overrideFeatureFlags({flags:e,suppressWarning:t})}overrideFeatureFlags(e){if(!this._instance.__loaded||!this.ii)return rt.uninitializedWarning("posthog.featureFlags.overrideFeatureFlags");if(e===!1)return this.ii.unregister(os),this.ii.unregister(dr),this.fs(),Hs.info("All overrides cleared");if(he(e)){var t=Wf(e);return this.ii.register({[os]:t}),this.fs(),Hs.info("Flag overrides set",{flags:e})}if(e&&typeof e=="object"&&("flags"in e||"payloads"in e)){var s,r=e;if(this.Xn=!!((s=r.suppressWarning)!==null&&s!==void 0&&s),"flags"in r){if(r.flags===!1)this.ii.unregister(os),Hs.info("Flag overrides cleared");else if(r.flags){if(he(r.flags)){var n=Wf(r.flags);this.ii.register({[os]:n})}else this.ii.register({[os]:r.flags});Hs.info("Flag overrides set",{flags:r.flags})}}return"payloads"in r&&(r.payloads===!1?(this.ii.unregister(dr),Hs.info("Payload overrides cleared")):r.payloads&&(this.ii.register({[dr]:r.payloads}),Hs.info("Payload overrides set",{payloads:r.payloads}))),void this.fs()}if(e&&typeof e=="object")return this.ii.register({[os]:e}),this.fs(),Hs.info("Flag overrides set",{flags:e});rt.warn("Invalid overrideOptions provided to overrideFeatureFlags",{overrideOptions:e})}onFeatureFlags(e){if(this.addFeatureFlagsHandler(e),this.Jn){var{flags:t,flagVariants:s}=this.ps();e(t,s)}return()=>this.removeFeatureFlagsHandler(e)}updateEarlyAccessFeatureEnrollment(e,t,s){var r,n=(this.ss(hn)||[]).find((l=>l.flagKey===e)),i={["$feature_enrollment/"+e]:t},o={$feature_flag:e,$feature_enrollment:t,$set:i};n&&(o.$early_access_feature_name=n.name),s&&(o.$feature_enrollment_stage=s),this._instance.capture("$feature_enrollment_update",o),this.setPersonPropertiesForFlags(i,!1);var a=H({},this.getFlagVariants(),{[e]:t});(r=this.ii)==null||r.register({[mi]:Object.keys(qf(a)),[yr]:a}),this.fs()}getEarlyAccessFeatures(e,t,s){t===void 0&&(t=!1);var r=this.ss(hn),n=s?"&"+s.map((i=>"stage="+i)).join("&"):"";if(r&&!t)return e(r);this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/early_access_features/?token="+this.Lt.token+n),method:"GET",callback:i=>{var o,a;if(i.json){var l=i.json.earlyAccessFeatures;return(o=this.ii)==null||o.unregister(hn),(a=this.ii)==null||a.register({[hn]:l}),e(l)}}})}ps(){var e=this.getFlags(),t=this.getFlagVariants();return{flags:e.filter((s=>t[s])),flagVariants:Object.keys(t).filter((s=>t[s])).reduce(((s,r)=>(s[r]=t[r],s)),{})}}fs(e){var{flags:t,flagVariants:s}=this.ps();this.featureFlagEventHandlers.forEach((r=>r(t,s,{errorsLoading:e})))}
4setPersonPropertiesForFlags(e,t){t===void 0&&(t=!0);var s=this.ss(dn)||{},r=e?.$set||(e!=null&&e.$set_once?{}:e),n=e?.$set_once,i={};if(n)for(var o in n)({}).hasOwnProperty.call(n,o)&&(o in s||(i[o]=n[o]));this._instance.register({[dn]:H({},s,i,r)}),t&&this._instance.reloadFeatureFlags()}resetPersonPropertiesForFlags(){this._instance.unregister(dn)}setGroupPropertiesForFlags(e,t){t===void 0&&(t=!0);var s=this.ss(Vs)||{};Object.keys(s).length!==0&&Object.keys(s).forEach((r=>{s[r]=H({},s[r],e[r]),delete e[r]})),this._instance.register({[Vs]:H({},s,e)}),t&&this._instance.reloadFeatureFlags()}resetGroupPropertiesForFlags(e){if(e){var t=this.ss(Vs)||{};this._instance.register({[Vs]:H({},t,{[e]:{}})})}else this._instance.unregister(Vs)}reset(){this.Jn=!1,this.Kn=!1,this.Qn=!1,this.es=!1,this.ts=!1,this.$anon_distinct_id=void 0,this.vs(),this.Xn=!1}}},gx={sessionRecording:class{get Lt(){return this._instance.config}get ii(){return this._instance.persistence}get started(){var e;return!((e=this.gs)==null||!e.isStarted)}get status(){var e,t;return this.ys===nn||this.ys===di?this.ys:(e=(t=this.gs)==null?void 0:t.status)!==null&&e!==void 0?e:this.ys}constructor(e){if(this._forceAllowLocalhostNetworkCapture=!1,this.ys=$f,this.bs=void 0,this._instance=e,!this._instance.sessionManager)throw xs.error("started without valid sessionManager"),new Error(Ml+" started without valid sessionManager. This is a bug.");if(this.Lt.cookieless_mode===fs)throw new Error(Ml+' cannot be used with cookieless_mode="always"')}initialize(){this.startIfEnabledOrStop()}get _s(){var e,t=!((e=this._instance.get_property(fn))==null||!e.enabled),s=!this.Lt.disable_session_recording,r=this.Lt.disable_session_recording||this._instance.consent.isOptedOut();return A&&t&&s&&!r}startIfEnabledOrStop(e){var t;if(!this._s||(t=this.gs)==null||!t.isStarted){var s=!Y(Object.assign)&&!Y(Array.from);this._s&&s?(this.ws(e),xs.info("starting")):(this.ys=$f,this.stopRecording())}}ws(e){var t,s,r;this._s&&(this.ys!==nn&&this.ys!==di&&(this.ys=Nf),ee!=null&&(t=ee.__PosthogExtensions__)!=null&&(t=t.rrweb)!=null&&t.record&&(s=ee.__PosthogExtensions__)!=null&&s.initSessionRecording?this.Is(e):(r=ee.__PosthogExtensions__)==null||r.loadExternalDependency==null||r.loadExternalDependency(this._instance,this.Cs,(n=>{if(n)return xs.error("could not load recorder",n);this.Is(e)})))}stopRecording(){var e,t;(e=this.bs)==null||e.call(this),this.bs=void 0,(t=this.gs)==null||t.stop()}Ss(){var e,t;(e=this.bs)==null||e.call(this),this.bs=void 0,(t=this.gs)==null||t.discard()}xs(){var e;(e=this.ii)==null||e.unregister(vc)}ks(e,t){if(ue(e))return null;var s,r=Ot(e)?e:parseFloat(e);return typeof(s=r)!="number"||!Number.isFinite(s)||0>s||s>1?(xs.warn(t+" must be between 0 and 1. Ignoring invalid value:",e),null):r}Ts(e){if(this.ii){var t,s,r=this.ii,n=()=>{var i,o=e.sessionRecording===!1?void 0:e.sessionRecording,a=this.ks((i=this.Lt.session_recording)==null?void 0:i.sampleRate,"session_recording.sampleRate"),l=this.ks(o?.sampleRate,"remote config sampleRate"),u=a??l;ue(u)&&this.xs();var c=o?.minimumDurationMilliseconds;r.register({[fn]:H({cache_timestamp:Date.now(),enabled:!!o},o,{networkPayloadCapture:H({capturePerformance:e.capturePerformance},o?.networkPayloadCapture),canvasRecording:{enabled:o?.recordCanvas,fps:o?.canvasFps,quality:o?.canvasQuality},sampleRate:u,minimumDurationMilliseconds:Y(c)?null:c,endpoint:o?.endpoint,triggerMatchType:o?.triggerMatchType,masking:o?.masking,urlTriggers:o?.urlTriggers,version:o?.version,triggerGroups:o?.triggerGroups})})};n(),(t=this.bs)==null||t.call(this),this.bs=(s=this._instance.sessionManager)==null?void 0:s.onSessionId(n)}}onRemoteConfig(e){return"sessionRecording"in e?e.sessionRecording===!1?(this.Ts(e),void this.Ss()):(this.Ts(e),void this.startIfEnabledOrStop()):(this.ys===nn&&(this.ys=di,xs.warn("config refresh failed, recording will not start until page reload")),void this.startIfEnabledOrStop())}log(e,t){var s;t===void 0&&(t="log"),(s=this.gs)!=null&&s.log?this.gs.log(e,t):xs.warn("log called before recorder was ready")}get Cs(){var e,t,s=(e=this._instance)==null||(e=e.persistence)==null?void 0:e.get_property(fn);return(s==null||(t=s.scriptConfig)==null?void 0:t.script)||"lazy-recorder"}As(){var e,t=this._instance.get_property(fn);if(!t)return!1;var s=(e=(typeof t=="object"?t:JSON.parse(t)).cache_timestamp)!==null&&e!==void 0?e:Date.now();return 36e5>=Date.now()-s}Is(e){var t,s;if((t=ee.__PosthogExtensions__)==null||!t.initSessionRecording)return xs.warn("Called on script loaded before session recording is available. This can be caused by adblockers."),void this._instance.register_for_session({[Jp
4]:!0});if(this.gs||(this.gs=(s=ee.__PosthogExtensions__)==null?void 0:s.initSessionRecording(this._instance),this.gs._forceAllowLocalhostNetworkCapture=this._forceAllowLocalhostNetworkCapture),!this.As())return this.ys===di||this.ys===nn?void 0:(this.ys=nn,xs.info("persisted remote config is stale, requesting fresh config before starting"),void new ag(this._instance).load());this.ys=Nf,this.gs.start(e)}onRRwebEmit(e){var t;(t=this.gs)==null||t.onRRwebEmit==null||t.onRRwebEmit(e)}overrideLinkedFlag(){var e,t;this.gs||(t=this.ii)==null||t.register({[Vp]:!0}),(e=this.gs)==null||e.overrideLinkedFlag()}overrideSampling(){var e,t;this.gs||(t=this.ii)==null||t.register({[Bp]:!0}),(e=this.gs)==null||e.overrideSampling()}overrideTrigger(e){var t,s;this.gs||(s=this.ii)==null||s.register({[e==="url"?Wp:qp]:!0}),(t=this.gs)==null||t.overrideTrigger(e)}get sdkDebugProperties(){var e;return((e=this.gs)==null?void 0:e.sdkDebugProperties)||{$recording_status:this.status}}tryAddCustomEvent(e,t){var s;return!((s=this.gs)==null||!s.tryAddCustomEvent(e,t))}}},vx={autocapture:class{constructor(e){this.Es=!1,this.Rs=null,this.Ns=!1,this.instance=e,this.rageclicks=new If(e.config.rageclick),this.Ms=null}initialize(){this.startIfEnabled()}get Lt(){var e,t,s=Fe(this.instance.config.autocapture)?this.instance.config.autocapture:{};return s.url_allowlist=(e=s.url_allowlist)==null?void 0:e.map((r=>new RegExp(r))),s.url_ignorelist=(t=s.url_ignorelist)==null?void 0:t.map((r=>new RegExp(r))),s}Fs(){if(this.isBrowserSupported()){if(A&&K){var e=s=>{s=s||A?.event;try{this.Os(s)}catch(r){Lf.error("Failed to capture event",r)}};if(He(K,"submit",e,{capture:!0}),He(K,"change",e,{capture:!0}),He(K,"click",e,{capture:!0}),this.Lt.capture_copied_text){var t=s=>{this.Os(s=s||A?.event,pa)};He(K,"copy",t,{capture:!0}),He(K,"cut",t,{capture:!0})}}}else Lf.info("Disabling Automatic Event Collection because this browser is not supported")}startIfEnabled(){this.isEnabled&&!this.Es&&(this.Fs(),this.Es=!0)}onRemoteConfig(e){e.elementsChainAsString&&(this.Ns=e.elementsChainAsString),this.instance.persistence&&this.instance.persistence.register({[nl]:!!e.autocapture_opt_out}),this.Rs=!!e.autocapture_opt_out,this.startIfEnabled()}setElementSelectors(e){this.Ms=e}getElementSelectors(e){var t,s=[];return(t=this.Ms)==null||t.forEach((r=>{var n=K?.querySelectorAll(r);n?.forEach((i=>{e===i&&s.push(r)}))})),s}get isEnabled(){var e,t,s=(e=this.instance.persistence)==null?void 0:e.props[nl];if(ys(this.Rs)&&!Yt(s)&&!this.instance.Mr())return!1;var r=(t=this.Rs)!==null&&t!==void 0?t:!!s;return!!this.instance.config.autocapture&&!r}Os(e,t){if(t===void 0&&(t="$autocapture"),this.isEnabled){var s,r=Rf(e);yg(r)&&(r=r.parentNode||null),t==="$autocapture"&&e.type==="click"&&e instanceof MouseEvent&&this.instance.config.rageclick&&(s=this.rageclicks)!=null&&s.isRageClick(e.clientX,e.clientY,e.timeStamp||new Date().getTime())&&(function(f,d){if(!A||Il(f))return!1;var h,g,p;if(Yt(d)?(h=!!d&&Tf,g=void 0):(h=(p=d?.css_selector_ignorelist)!==null&&p!==void 0?p:Tf,g=d?.content_ignorelist),h===!1)return!1;var{targetElementList:R}=Cf(f,!1);return!(function(E,w){if(E===!1||Y(E))return!1;var v;if(E===!0)v=ZE;else{if(!he(E))return!1;if(E.length>10)return z.error("[PostHog] content_ignorelist array cannot exceed 10 items. Use css_selector_ignorelist for more complex matching."),!1;v=E.map((m=>m.toLowerCase()))}return w.some((m=>{var{safeText:y,ariaLabel:x}=m;return v.some((k=>y.includes(k)||x.includes(k)))}))})(g,R.map((E=>{var w;return{safeText:Bn(E).toLowerCase(),ariaLabel:((w=E.getAttribute("aria-label"))==null?void 0:w.toLowerCase().trim())||""}})))&&!Pf(R,h)})(r,this.instance.config.rageclick)&&this.Os(e,"$rageclick");var n=t===pa;if(r&&(function(f,d,h,g,p){var R,E,w,v;if(h===void 0&&(h=void 0),!A||Il(f)||(R=h)!=null&&R.url_allowlist&&!Sf(h.url_allowlist)||(E=h)!=null&&E.url_ignorelist&&Sf(h.url_ignorelist))return!1;if((w=h)!=null&&w.dom_event_allowlist){var m=h.dom_event_allowlist;if(m&&!m.some((S=>d.type===S)))return!1}var{parentIsUsefulElement:y,targetElementList:x}=Cf(f,g);if(!(function(S,C){var N=C?.element_allowlist;if(Y(N))return!0;var O,D=function(ne){if(N.some((V=>ne.tagName.toLowerCase()===V)))return{v:!0}};for(var J of S)if(O=D(J))return O.v;return!1})(x,h)||!Pf(x,(v=h)==null?void 0:v.css_selector_allowlist))return!1;var k=A.getComputedStyle(f);if(k&&k.getPropertyValue("cursor")==="pointer"&&d.type==="click")return!0;var T=f.tagName.toLowerCase();switch(T){case"html":return!1;case"form":return(p||["submit"]).indexOf(d.type)>=0;case"input":case"select":case"textarea":return(p||["change","click"]).indexOf(d.type)>=0;default:return y?(p||["click"]).indexOf(d.type)>=0:(p||["click"]).indexOf(d.type)>=0&&(xc.indexOf(T)>-1||f.getAttribute("contenteditable")==="true")}})(r,e,this.Lt,n,n?["copy","cut"]:void 0)){var{props:i,explicitNoCapture:o}=ox(r,{e,maskAllElementAttributes:this.instance.config.mask_all_element_attributes,maskAllText:this.instance.config.mask_all_text,elementAttributeIgnoreList:this.Lt.element_attribute_ignorelist,elementsC
4hainAsString:this.Ns});if(o)return!1;var a=this.getElementSelectors(r);if(a&&a.length>0&&(i.$element_selectors=a),t===pa){var l,u=wg(A==null||(l=A.getSelection())==null?void 0:l.toString()),c=e.type||"clipboard";if(!u)return!1;i.$selected_content=u,i.$copy_type=c}return this.instance.capture(t,i),!0}}}isBrowserSupported(){return cs(K?.querySelectorAll)}},historyAutocapture:class{constructor(e){var t;this._instance=e,this.Ps=(A==null||(t=A.location)==null?void 0:t.pathname)||""}initialize(){this.startIfEnabled()}get isEnabled(){return this._instance.config.capture_pageview==="history_change"}startIfEnabled(){this.isEnabled&&(z.info("History API monitoring enabled, starting..."),this.monitorHistoryChanges())}stop(){this.Ls&&this.Ls(),this.Ls=void 0,z.info("History API monitoring stopped")}monitorHistoryChanges(){var e,t;if(A&&A.history){var s=this;(e=A.history.pushState)!=null&&e.__posthog_wrapped__||Mf(A.history,"pushState",(r=>function(n,i,o){r.call(this,n,i,o),s.Ds("pushState")})),(t=A.history.replaceState)!=null&&t.__posthog_wrapped__||Mf(A.history,"replaceState",(r=>function(n,i,o){r.call(this,n,i,o),s.Ds("replaceState")})),this.Bs()}}Ds(e){try{var t,s=A==null||(t=A.location)==null?void 0:t.pathname;if(!s)return;s!==this.Ps&&this.isEnabled&&this._instance.capture(pr,{navigation_type:e}),this.Ps=s}catch(r){z.error("Error capturing "+e+" pageview",r)}}Bs(){if(!this.Ls){var e=()=>{this.Ds("popstate")};He(A,"popstate",e),this.Ls=()=>{A&&A.removeEventListener("popstate",e)}}}},heatmaps:class{get Lt(){return this.instance.config}constructor(e){var t;this.js=!1,this.Es=!1,this.$s=null,this.instance=e,this.js=!((t=this.instance.persistence)==null||!t.props[il]),this.rageclicks=new If(e.config.rageclick)}initialize(){this.startIfEnabled()}get flushIntervalMilliseconds(){var e=5e3;return Fe(this.Lt.capture_heatmaps)&&this.Lt.capture_heatmaps.flush_interval_milliseconds&&(e=this.Lt.capture_heatmaps.flush_interval_milliseconds),e}get isEnabled(){return ue(this.Lt.capture_heatmaps)?ue(this.Lt.enable_heatmaps)?this.js:this.Lt.enable_heatmaps:this.Lt.capture_heatmaps!==!1}startIfEnabled(){if(this.isEnabled){if(this.Es)return;lx.info("starting..."),this.qs(),this.Ot()}else{var e;clearInterval((e=this.$s)!==null&&e!==void 0?e:void 0),this.Zs(),this.getAndClearBuffer()}}onRemoteConfig(e){if("heatmaps"in e){var t=!!e.heatmaps;this.instance.persistence&&this.instance.persistence.register({[il]:t}),this.js=t,this.startIfEnabled()}}getAndClearBuffer(){var e=this.T;return this.T=void 0,e}Hs(e){this.At(e.originalEvent,"deadclick")}Ot(){this.$s&&clearInterval(this.$s),this.$s=K?.visibilityState==="visible"?setInterval(this.Ur.bind(this),this.flushIntervalMilliseconds):null}qs(){A&&K&&(this.Vs=this.Ur.bind(this),He(A,Yi,this.Vs),this.zs=e=>this.At(e||A?.event),He(K,"click",this.zs,{capture:!0}),this.Us=e=>this.Ys(e||A?.event),He(K,"mousemove",this.Us,{capture:!0}),this.Ws=new nf(this.instance,wE,this.Hs.bind(this)),this.Ws.startIfEnabledOrStop(),this.Gs=this.Ot.bind(this),He(K,Ji,this.Gs),this.Es=!0)}Zs(){var e;A&&K&&(this.Vs&&A.removeEventListener(Yi,this.Vs),this.zs&&K.removeEventListener("click",this.zs,{capture:!0}),this.Us&&K.removeEventListener("mousemove",this.Us,{capture:!0}),this.Gs&&K.removeEventListener(Ji,this.Gs),clearTimeout(this.Xs),(e=this.Ws)==null||e.stop(),this.Es=!1)}Js(e,t){var s=this.instance.scrollManager.scrollY(),r=this.instance.scrollManager.scrollX(),n=this.instance.scrollManager.scrollElement(),i=(function(o,a,l){for(var u=o;u&&Ro(u)&&!Os(u,"body");){if(u===l)return!1;if(ce(a,A?.getComputedStyle(u).position))return!0;u=Eg(u)}return!1})(Rf(e),["fixed","sticky"],n);return{x:e.clientX+(i?0:r),y:e.clientY+(i?0:s),target_fixed:i,type:t}}At(e,t){var s;if(t===void 0&&(t="click"),!kf(e.target)&&Df(e)){var r=this.Js(e,t);(s=this.rageclicks)!=null&&s.isRageClick(e.clientX,e.clientY,new Date().getTime())&&this.Ks(H({},r,{type:"rageclick"})),this.Ks(r)}}Ys(e){!kf(e.target)&&Df(e)&&(clearTimeout(this.Xs),this.Xs=setTimeout((()=>{this.Ks(this.Js(e,"mousemove"))}),500))}Ks(e){if(A){var t=A.location.href,s=this.Lt.custom_personal_data_properties,r=this.Lt.mask_personal_data_properties?[...jr,...s||[]]:[],n=jn(t,r,Un);this.T=this.T||{},this.T[n]||(this.T[n]=[]),this.T[n].push(e)}}Ur(){this.T&&!mr(this.T)&&this.instance.capture("$$heatmap",{$heatmap_data:this.getAndClearBuffer()})}},deadClicksAutocapture:nf,webVitalsAutocapture:class{constructor(e){var t;this.js=!1,this.Es=!1,this.T={url:void 0,metrics:[],firstMetricTimestamp:void 0},this.Qs=()=>{clearTimeout(this.eo),this.T.metrics.length!==0&&(this._instance.capture("$web_vitals",this.T.metrics.reduce(((s,r)=>H({},s,{["$web_vitals_"+r.name+"_event"]:H({},r),["$web_vitals_"+r.name+"_value"]:r.value})),{})),this.T={url:void 0,metrics:[],firstMetricTimestamp:void 0})},this.dt=s=>{var r,n=(r=this._instance.sessionManager)==null?void 0:r.checkAndGetSessionAndWindowId(!0);if(Y(n))Es.error("Could not read session ID. Dropping metrics!");else{this.T=this.T||{url:void 0,metrics:[],firstMetricTimestamp:void 0};var i=this.ro();Y(i)||(ue(s?.name)||ue(s?.value)?Es.error("Invalid metric received",s):!this.io||this.io>s.value?(this.T.url!==i&&(this.Qs(),this.eo=setTimeout(this.Qs,this.flushToCaptureTimeoutMs)),Y(this.T.url)&&(this.T.url=i),this.T.firstMetricTimestamp=Y(this.T.firstMetricTimestamp)?Date.now():this.T.firstMetricTimestamp,s.attribution&&s.attribution.interactionTargetElement&&(s.attribution.interactionTargetElement=void 0),this.T.metrics.push(H({},s,{$current_url:i,$session_id:n.sessionId,$window_id:n.windowId,timestamp:Date.now()})),this.T.metrics.length===this.allowedMetrics.length&&this.Qs()):Es.error("Ignoring metric with value >= "+this.io,s))}},this.no=()=>
4{if(!this.Es){var s,r,n,i,o=ee.__PosthogExtensions__;Y(o)||Y(o.postHogWebVitalsCallbacks)||({onLCP:s,onCLS:r,onFCP:n,onINP:i}=o.postHogWebVitalsCallbacks),s&&r&&n&&i?(this.allowedMetrics.indexOf("LCP")>-1&&s(this.dt.bind(this)),this.allowedMetrics.indexOf("CLS")>-1&&r(this.dt.bind(this)),this.allowedMetrics.indexOf("FCP")>-1&&n(this.dt.bind(this)),this.allowedMetrics.indexOf("INP")>-1&&i(this.dt.bind(this)),this.Es=!0):Es.error("web vitals callbacks not loaded - not starting")}},this._instance=e,this.js=!((t=this._instance.persistence)==null||!t.props[cl]),this.startIfEnabled()}get so(){return this._instance.config.capture_performance}get allowedMetrics(){var e,t,s=Fe(this.so)?(e=this.so)==null?void 0:e.web_vitals_allowed_metrics:void 0;return ue(s)?((t=this._instance.persistence)==null?void 0:t.props[fl])||["CLS","FCP","INP","LCP"]:s}get flushToCaptureTimeoutMs(){return(Fe(this.so)?this.so.web_vitals_delayed_flush_ms:void 0)||5e3}get useAttribution(){var e=Fe(this.so)?this.so.web_vitals_attribution:void 0;return e!=null&&e}get io(){var e=Fe(this.so)&&Ot(this.so.__web_vitals_max_value)?this.so.__web_vitals_max_value:Ff;return e>0&&6e4>=e?Ff:e}get isEnabled(){var e=Ye?.protocol;if(e!=="http:"&&e!=="https:")return Es.info("Web Vitals are disabled on non-http/https protocols"),!1;var t=Fe(this.so)?this.so.web_vitals:Yt(this.so)?this.so:void 0;return Yt(t)?t:this.js}startIfEnabled(){this.isEnabled&&!this.Es&&(Es.info("enabled, starting..."),this.lr(this.no))}onRemoteConfig(e){if("capturePerformance"in e){var t=Fe(e.capturePerformance)&&!!e.capturePerformance.web_vitals,s=Fe(e.capturePerformance)?e.capturePerformance.web_vitals_allowed_metrics:void 0;this._instance.persistence&&(this._instance.persistence.register({[cl]:t}),this._instance.persistence.register({[fl]:s})),this.js=t,this.startIfEnabled()}}lr(e){var t,s;(t=ee.__PosthogExtensions__)!=null&&t.postHogWebVitalsCallbacks?e():(s=ee.__PosthogExtensions__)==null||s.loadExternalDependency==null||s.loadExternalDependency(this._instance,this.useAttribution?"web-vitals-with-attribution":"web-vitals",(r=>{r?Es.error("failed to load script",r):e()}))}ro(){var e=A?A.location.href:void 0;if(e){var t=this._instance.config.custom_personal_data_properties,s=this._instance.config.mask_personal_data_properties?[...jr,...t||[]]:[];return jn(e,s,Un)}Es.error("Could not determine current URL")}}},_x={exceptionObserver:class{constructor(e){var t,s,r;this.no=()=>{var n;if(A&&this.isEnabled&&(n=ee.__PosthogExtensions__)!=null&&n.errorWrappingFunctions){var i=ee.__PosthogExtensions__.errorWrappingFunctions.wrapOnError,o=ee.__PosthogExtensions__.errorWrappingFunctions.wrapUnhandledRejection,a=ee.__PosthogExtensions__.errorWrappingFunctions.wrapConsoleError;try{!this.oo&&this.Lt.capture_unhandled_errors&&(this.oo=i(this.captureException.bind(this))),!this.ao&&this.Lt.capture_unhandled_rejections&&(this.ao=o(this.captureException.bind(this))),!this.lo&&this.Lt.capture_console_errors&&(this.lo=a(this.captureException.bind(this)))}catch(l){rn.error("failed to start",l),this.uo()}}},this._instance=e,this.ho=!((t=this._instance.persistence)==null||!t.props[ol]),this.co=new Aw({refillRate:(s=this._instance.config.error_tracking.__exceptionRateLimiterRefillRate)!==null&&s!==void 0?s:1,bucketSize:(r=this._instance.config.error_tracking.__exceptionRateLimiterBucketSize)!==null&&r!==void 0?r:10,refillInterval:1e4,Yt:rn}),this.Lt=this.do(),this.startIfEnabledOrStop()}do(){var e=this._instance.config.capture_exceptions,t={capture_unhandled_errors:!1,capture_unhandled_rejections:!1,capture_console_errors:!1};return Fe(e)?t=H({},t,e):(Y(e)?this.ho:e)&&(t=H({},t,{capture_unhandled_errors:!0,capture_unhandled_rejections:!0})),t}get isEnabled(){return this.Lt.capture_console_errors||this.Lt.capture_unhandled_errors||this.Lt.capture_unhandled_rejections}startIfEnabledOrStop(){this.isEnabled?(rn.info("enabled"),this.uo(),this.lr(this.no)):this.uo()}lr(e){var t,s;(t=ee.__PosthogExtensions__)!=null&&t.errorWrappingFunctions&&e(),(s=ee.__PosthogExtensions__)==null||s.loadExternalDependency==null||s.loadExternalDependency(this._instance,"exception-autocapture",(r=>{if(r)return rn.error("failed to load script",r);e()}))}uo(){var e,t,s;(e=this.oo)==null||e.call(this),this.oo=void 0,(t=this.ao)==null||t.call(this),this.ao=void 0,(s=this.lo)==null||s.call(this),this.lo=void 0}onRemoteConfig(e){"autocaptureExceptions"in e&&(this.ho=!!e.autocaptureExceptions||!1,this._instance.persistence&&this._instance.persistence.register({[ol]:this.ho}),this.Lt=this.do(),this.startIfEnabledOrStop())}onConfigChange(){this.Lt=this.do()}captureException(e){var t,s,r,n=(t=e==null||(s=e.$exception_list)==null||(s=s[0])==null?void 0:s.type)!==null&&t!==void 0?t:"Exception";this.co.consumeRateLimit(n)?rn.info("Skipping exception capture because of client rate limiting.",{exception:n}):(r=this._instance.exceptions)==null||r.sendExceptionEvent(e)}},exceptions:class{constructor(e){var t,s;this.vo=[],this.fo=new Vw([new Xw,new oE,new Zw,new Qw,new nE,new rE,new tE,new iE],(function(r){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;n>o;o++)i[o-1]=arguments[o];return function(a,l){l===void 0&&(l=0);for(var u=[],c=a.split(` 5`),f=l;c.length>f;f++){var d=c[f];if(1024>=d.length){var h=ef.test(d)?d.replace(ef,"$1"):d;if(!h.match(/\S*Error: /)){for(var g of i){var p=g(h,r);if(p){u.push(p);break}}if(u.length>=50)break}}}return(function(R){if(!R.length)return[];var E=Array.from(R);return E.reverse(),E.slice(0,50).map((w=>{return H({},w,{filename:w.filename||(v=E,v[v.length-1]||{}).filename,function:w.function||Hr});var v}))})(u)}})("web:javascript",Gw,Yw)),this._instance=e,this.vo=(t=(s=this._instance.persistence)==null?void 0:s.get_property(al))!==null&&t!==void 0?t:[],this.po=Vi(this.mo()),this.yo=new lE(this.po)}onConfigChange(){this.po=Vi(this.mo()),this.yo.setConfig(this.po)}onRemoteConfig(e){var t,s,r;if("errorTracking"in e){var n=(t=(s=e.errorTracking)==null?void 0:s.suppressionRules)!==null&&t!==void 0?t:[],i=(r=e.errorTracking)==null?void 0:r.captureExtensionExceptions;this.vo=n,this._instance.persistence&&this._instance.persistence.register({[al]:this.vo,[ll]:i})}}get bo(){var e,t=!!this._instance.get_property(ll),s=this._instance.config.error_tracking.captureExtensionExceptions;return(e=s??t)!==null&&e!==void 0&&e}buildProperties(e,t){return this.fo.buildFromUnknown(e,{syntheticException:t?.syntheticException,mechanism:{handled:t?.handled}})}addExceptionStep(e,t){if(this.po.enabled)try{if(!Oe(e)||e.trim().length===0)return void is.warn("Ignoring exception step because message must be a non-empty string");var s=this._o(t),{sanitizedProperties:r,droppedKeys:n}=(function(i){if(!i)return{sanitizedProperties:{},droppedKeys:[]};var o=[];return{sanitizedProperties:Object.keys(i).reduce(((a,l)=>aE.has(l)?(o.push(l),a):(a[l]=i[l],a)),{}),droppedKeys:o}})(s);n.length>0&&is.warn("Ignoring reserved exception step fields",{droppedKeys:n}),this.yo.add(H({[Ui]:e,[Bi]:new Date().toISOString()},r))}catch(i){is.error("Failed to add exception step. Ignoring breadcrumb.",i)}}sendExceptionEvent(e){try{var t=e.$exception_list;if(this.wo(t)){if(this.Io(t))return this.Co("Exception dropped: matched a suppression rule"),void is.info("Skipping exception capture because a suppression rule matched");if(!this.bo&&this.So(t))return this.Co("Exception dropped: thrown by a browser extension"),void is.info("Skipping exception capture because it was thrown by an extension");if(!this._instance.config.error_tracking.__capturePostHogExceptions&&this.xo(t))return this.Co("Exception dropped: thrown by the PostHog SDK"),void is.info("Skipping exception capture because it was thrown by the PostHog SDK")}var s=this.po.enabled&&ue(e.$exception_steps)?this.ko(e):e;try{var r=this._instance.capture("$exception",s,{_noTruncate:!0,_batchKey:"exceptionEvent",Qi:!0});return r&&this.yo.clear(),r}catch(n){return is.error("Failed to capture exception event. Dropping this exception.",n),void this.yo.clear()}}catch(n){return void is.error("Failed to process exception event. Ignoring this exception.",n)}}ko(e){try{var t=this.yo.getAttachable();return t.length===0?e:H({},e,{$exception_steps:t})}catch(s){return is.error("Failed to read buffered exception steps. Capturing exception without steps.",s),e}}Co(e){this.po.enabled&&this.yo.add({[Ui]:e,[Bi]:new Date().toISOString()})}_o(e){return Fe(e)?H({},e):{}}mo(){var e,t;return(e=(t=this._instance.config.error_tracking)==null?void 0:t.exception_steps)!==null&&e!==void 0?e:{}}Io(e){if(e.length===0)return!1;var t=e.reduce(((s,r)=>{var{type:n,value:i}=r;return Oe(n)&&n.length>0&&s.$exception_types.push(n),Oe(i)&&i.length>0&&s.$exception_values.push(i),s}),{$exception_types:[],$exception_values:[]});return this.vo.some((s=>{var r=s.values.map((n=>{var i,o=gg[n.operator],a=he(n.value)?n.value:[n.value],l=(i=t[n.key])!==null&&i!==void 0?i:[];return a.length>0&&o(a,l)}));return s.type==="OR"?r.some(Boolean):r.every(Boolean)}))}So(e){return e.flatMap((t=>{var s,r;
5return(s=(r=t.stacktrace)==null?void 0:r.frames)!==null&&s!==void 0?s:[]})).some((t=>t.filename&&t.filename.startsWith("chrome-extension://")))}xo(e){if(e.length>0){var t,s,r,n,i=(t=(s=e[0].stacktrace)==null?void 0:s.frames)!==null&&t!==void 0?t:[],o=i[i.length-1];return(r=o==null||(n=o.filename)==null?void 0:n.includes("posthog.com/static"))!==null&&r!==void 0&&r}return!1}wo(e){return!ue(e)&&he(e)}}},mx=H({productTours:class{get ii(){return this._instance.persistence}constructor(e){this.To=null,this.Ao=null,this._instance=e}initialize(){this.loadIfEnabled()}onRemoteConfig(e){"productTours"in e&&(this.ii&&this.ii.register({[ul]:!!e.productTours}),this.loadIfEnabled())}loadIfEnabled(){var e,t;this.To||(e=this._instance).config.disable_product_tours||(t=e.persistence)==null||!t.get_property(ul)||this.lr((()=>this.Eo()))}lr(e){var t,s;(t=ee.__PosthogExtensions__)!=null&&t.generateProductTours?e():(s=ee.__PosthogExtensions__)==null||s.loadExternalDependency==null||s.loadExternalDependency(this._instance,"product-tours",(r=>{r?Hf.error("Could not load product tours script",r):e()}))}Eo(){var e;!this.To&&(e=ee.__PosthogExtensions__)!=null&&e.generateProductTours&&(this.To=ee.__PosthogExtensions__.generateProductTours(this._instance,!0))}getProductTours(e,t){if(t===void 0&&(t=!1),!he(this.Ao)||t){var s=this.ii;if(s){var r=s.props[yi];if(he(r)&&!t)return this.Ao=r,void e(r,{isLoaded:!0})}this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/product_tours/?token="+this._instance.config.token),method:"GET",callback:n=>{var i=n.statusCode;if(i!==200||!n.json){var o="Product Tours API could not be loaded, status: "+i;return Hf.error(o),void e([],{isLoaded:!1,error:o})}var a=he(n.json.product_tours)?n.json.product_tours:[];this.Ao=a,s&&s.register({[yi]:a}),e(a,{isLoaded:!0})}})}else e(this.Ao,{isLoaded:!0})}getActiveProductTours(e){ue(this.To)?e([],{isLoaded:!1,error:"Product tours not loaded"}):this.To.getActiveProductTours(e)}showProductTour(e){var t;(t=this.To)==null||t.showTourById(e)}previewTour(e){this.To?this.To.previewTour(e):this.lr((()=>{var t;this.Eo(),(t=this.To)==null||t.previewTour(e)}))}dismissProductTour(){var e;(e=this.To)==null||e.dismissTour("user_clicked_skip")}nextStep(){var e;(e=this.To)==null||e.nextStep()}previousStep(){var e;(e=this.To)==null||e.previousStep()}clearCache(){var e;this.Ao=null,(e=this.ii)==null||e.unregister(yi)}resetTour(e){var t;(t=this.To)==null||t.resetTour(e)}resetAllTours(){var e;(e=this.To)==null||e.resetAllTours()}cancelPendingTour(e){var t;(t=this.To)==null||t.cancelPendingTour(e)}}},Po),yx={siteApps:class{constructor(e){this._instance=e,this.Ro=[],this.apps={}}get isEnabled(){return!!this._instance.config.opt_in_site_apps}No(e,t){if(t){var s=this.globalsForEvent(t);this.Ro.push(s),this.Ro.length>1e3&&(this.Ro=this.Ro.slice(10))}}get siteAppLoaders(){var e;return(e=ee._POSTHOG_REMOTE_CONFIG)==null||(e=e[this._instance.config.token])==null?void 0:e.siteApps}initialize(){if(this.isEnabled){var e=this._instance._addCaptureHook(this.No.bind(this));this.Mo=()=>{e(),this.Ro=[],this.Mo=void 0}}}globalsForEvent(e){var t,s,r,n,i,o,a;if(!e)throw new Error("Event payload is required");var l={},u=this._instance.get_property("$groups")||[],c=this._instance.get_property("$stored_group_properties")||{};for(var[f,d]of Object.entries(c))l[f]={id:u[f],type:f,properties:d};var{$set_once:h,$set:g}=e;return{event:H({},vp(e,cx),{properties:H({},e.properties,g?{$set:H({},(t=(s=e.properties)==null?void 0:s.$set)!==null&&t!==void 0?t:{},g)}:{},h?{$set_once:H({},(r=(n=e.properties)==null?void 0:n.$set_once)!==null&&r!==void 0?r:{},h)}:{}),elements_chain:(i=(o=e.properties)==null?void 0:o.$elements_chain)!==null&&i!==void 0?i:"",distinct_id:(a=e.properties)==null?void 0:a.distinct_id}),person:{properties:this._instance.get_property("$stored_person_properties")},groups:l}}setupSiteApp(e){var t=this.apps[e.id],s=()=>{var o;!t.errored&&this.Ro.length&&(ks.info("Processing "+this.Ro.length+" events for site app with id "+e.id),this.Ro.forEach((a=>t.processEvent==null?void 0:t.processEvent(a))),t.processedBuffer=!0),Object.values(this.apps).every((a=>a.processedBuffer||a.errored))&&((o=this.Mo)==null||o.call(this))},r=!1,n=o=>{t.errored=!o,t.loaded=!0,ks.info("Site app with id "+e.id+" "+(o?"loaded":"errored")),r&&s()};try{var{processEvent:i}=e.init({posthog:this._instance,callback(o){n(o)}});i&&(t.processEvent=i),r=!0}catch(o){ks.error(jf+e.id,o),n(!1)}if(r&&t.loaded)try{s()}catch(o){ks.error("Error while processing buffered events PostHog app with config id "+e.id,o),t.errored=!0}}Fo(){var e=this.siteAppLoaders||[];for(var t of e)this.apps[t.id]={id:t.id,loaded:!1,errored:!1,processedBuffer:!1};for(var s of e)this.setupSiteApp(s)}Oo(e){if(Object.keys(this.apps).length!==0){var t=this.globalsForEvent(e);for(var s of Object.values(this.apps))try{s.processEvent==null||s.processEvent(t)}catch(r){ks.error("Error while processing event "+e.event+" for site app "+s.id,r)}}}onRemoteConfig(e){var t,s,r,n=this;if((t=this.siteAppLoaders)!=null&&t.length)return this.isEnabled?(this.Fo(),void this._instance.on("eventCaptured",(l=>this.Oo(l)))):void ks.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.');if((s=this.Mo)==null||s.call(this),(r=e.siteApps)!=null&&r.length)if(this.isEnabled){var i=function(l){var u;ee["__$$ph_site_app_"+l]=n._instance,(u=ee.__PosthogExtensions__)==null||u.loadSiteApp==null||u.loadSiteApp(n._instance,a,(c=>{if(c)return ks.error(jf+l,c)}))};for(var{id:o,url:a}of e.siteApps)i(o)}else ks.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.')}}},bx={tracingHeaders:class{constructor(e){this.Po=void 0,this.Lo=void 0,this.no=()=>{var t,s,r=this.Do()||[];Y(this.Po)&&((t=ee.__PosthogExtensions__)==null||(t=t.tracingHeadersPatchFns)==null||t._patchXHR(r,this._instance.get_distinct_id(),this._instance.sessionManager)),Y(this.Lo)&&((s=ee.__PosthogExtensions__)==null||(s=s.tracingHeadersPatchFns)==null||s._patchFetch(r,this._instance.get_distinct_id(),this._instance.sessionManager))},this._instance=e}initialize(){this.startIfEnabledOrStop()}lr(e){var t,s;(t=ee.__PosthogExtensions__)!=null&&t.tracingHeadersPatchFns&&e(),(s=ee.__PosthogExtensions__)==null||s.loadExternalDependency==null||s.loadExternalDependency(this._instance,"tracing-headers",(r=>{if(r)return ax.error("failed to load script",r);e()}))}Do(){var e;return(e=this._instance.config.addTracingHeaders)!==null&&e!==void 0?e:this._instance.config.__add_tracing_headers}startIfEnabledOrStop(){var e,t;this.Do()?this.lr(this.no):((e=this.Po)==null||e.call(this),(t=this.Lo)==null||t.call(this),this.Po=void 0,this.Lo=void 0)}}},wx=H({surveys:class{get Lt(){return this._instance.config}constructor(e){this.Bo=void 0,this._surveyManager=null,this.jo=!1,this.$o=[],this.qo=null,this._instance=e,this._surveyEventReceiver=null}initialize(){this.loadIfEnabled()}onRemoteConfig(e){if(!this.Lt.disable_surveys){var t=e.surveys;if(ue(t))return me.warn("Flags not loaded yet. Not loading surveys.");var s=he(t);this.Bo=s?t.length>0:t,me.info("flags response received, isSurveysEnabled: "+this.Bo),this.loadIfEnabled()}}reset(){localStorage.removeItem("lastSeenSurveyDate");for(var e=[],t=0;t<localStorage.length;t++){var s=localStorage.key(t);(s!=null&&s.startsWith(Al)||s!=null&&s.startsWith("inProgressSurvey_"))&&e.push(s)}e.forEach((r=>localStorage.removeItem(r)))}loadIfEnabled(){if(!this._surveyManager)if(this.jo)me.info("Already initializing surveys, skipping...");else if(this.Lt.disable_surveys)me.info(Uf);else if(this.Lt.cookieless_mode&&this._instance.consent.isOptedOut())me.info("Not loading surveys in cookieless mode without consent.");else{var e=ee?.__PosthogExtensions__;if(e){if(!Y(this.Bo)||this.Lt.advanced_enable_surveys){var t=this.Bo||this.Lt.advanced_enable_surveys;this.jo=!0;try{var s=e.generateSurveys;if(s)return void this.Zo(s,t);var r=e.loadExternalDependency;if(!r)return void this.Ho(_c);r(this._instance,"surveys",(n=>{n||!e.generateSurveys?this.Ho("Could not load surveys script",n):this.Zo(e.generateSurveys,t)}))}catch(n){throw this.Ho("Error initializing surveys",n),n}finally{this.jo=!1}}}else me.error("PostHog Extensions not found.")}}Zo(e,t){this._surveyManager=e(this._instance,t),this._surveyEventReceiver=new hx(this._instance),me.info("Surveys loaded successfully"),this.Vo({isLoaded:!0})}Ho(e,t){me.error(e,t),this.Vo({isLoaded:!1,error:e})}onSurveysLoaded(e){return this.$o.push(e),this._surveyManager&&this.Vo({isLoaded:!0}),()=>{this.$o=this.$o.filter((t=>t!==e))}}getSurveys(e,t){if(t===void 0&&(t=!1),this.Lt.disable_surveys)return me.info(Uf),e([]);var s,r=this._instance.get_property(gl);if(r&&!t)return e(r,{isLoaded:!0});typeof Promise<"u"&&this.qo?this.qo.then((n=>{var{surveys:i,context:o}=n;return e(i,o)})):(typeof Promise<"u"&&(this.qo=new Promise((n=>{s=n}))),this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/surveys/?token="+this.Lt.token),method:"GET",timeout:this.Lt.surveys_request_timeout_ms,callback:n=>{var i;this.qo=null;var o=n.statusCode;if(o!==200||!n.json){var a="Surveys API could not be loaded, status: "+o;me.error(a);var l={isLoaded:!1,error:a};return e([],l),void(s==null||s({surveys:[],context:l}))}var u,c=n.json.surveys||[],f=c.filter((h=>(function(g){return!(!g.start_date||g.end_date)}
5)(h)&&((function(g){var p;return!((p=g.conditions)==null||(p=p.events)==null||(p=p.values)==null||!p.length)})(h)||(function(g){var p;return!((p=g.conditions)==null||(p=p.actions)==null||(p=p.values)==null||!p.length)})(h))));f.length>0&&((u=this._surveyEventReceiver)==null||u.register(f)),(i=this._instance.persistence)==null||i.register({[gl]:c});var d={isLoaded:!0};e(c,d),s?.({surveys:c,context:d})}}))}Vo(e){for(var t of this.$o)try{if(!e.isLoaded)return t([],e);this.getSurveys(t)}catch(s){me.error("Error in survey callback",s)}}getActiveMatchingSurveys(e,t){if(t===void 0&&(t=!1),!ue(this._surveyManager))return this._surveyManager.getActiveMatchingSurveys(e,t);me.warn("init was not called")}zo(e){var t=null;return this.getSurveys((s=>{var r;t=(r=s.find((n=>n.id===e)))!==null&&r!==void 0?r:null})),t}Uo(e){if(ue(this._surveyManager))return{eligible:!1,reason:va};var t=typeof e=="string"?this.zo(e):e;return t?this._surveyManager.checkSurveyEligibility(t):{eligible:!1,reason:"Survey not found"}}canRenderSurvey(e){if(ue(this._surveyManager))return me.warn("init was not called"),{visible:!1,disabledReason:va};var t=this.Uo(e);return{visible:t.eligible,disabledReason:t.reason}}canRenderSurveyAsync(e,t){return ue(this._surveyManager)?(me.warn("init was not called"),Promise.resolve({visible:!1,disabledReason:va})):new Promise((s=>{this.getSurveys((r=>{var n,i=(n=r.find((a=>a.id===e)))!==null&&n!==void 0?n:null;if(i){var o=this.Uo(i);s({visible:o.eligible,disabledReason:o.reason})}else s({visible:!1,disabledReason:"Survey not found"})}),t)}))}renderSurvey(e,t,s){var r;if(ue(this._surveyManager))me.warn("init was not called");else{var n=typeof e=="string"?this.zo(e):e;if(n!=null&&n.id)if(KE.includes(n.type)){var i=K?.querySelector(t);if(i)return(r=n.appearance)!=null&&r.surveyPopupDelaySeconds?(me.info("Rendering survey "+n.id+" with delay of "+n.appearance.surveyPopupDelaySeconds+" seconds"),void setTimeout((()=>{var o,a;me.info("Rendering survey "+n.id+" with delay of "+((o=n.appearance)==null?void 0:o.surveyPopupDelaySeconds)+" seconds"),(a=this._surveyManager)==null||a.renderSurvey(n,i,s),me.info("Survey "+n.id+" rendered")}),1e3*n.appearance.surveyPopupDelaySeconds)):void this._surveyManager.renderSurvey(n,i,s);me.warn("Survey element not found")}else me.warn("Surveys of type "+n.type+" cannot be rendered in the app");else me.warn("Survey not found")}}displaySurvey(e,t){var s;if(ue(this._surveyManager))me.warn("init was not called");else{var r=this.zo(e);if(r){var n=r;if((s=r.appearance)!=null&&s.surveyPopupDelaySeconds&&t.ignoreDelay&&(n=H({},r,{appearance:H({},r.appearance,{surveyPopupDelaySeconds:0})})),t.displayType!==kl.Popover&&t.initialResponses&&me.warn("initialResponses is only supported for popover surveys. prefill will not be applied."),t.ignoreConditions===!1){var i=this.canRenderSurvey(r);if(!i.visible)return void me.warn("Survey is not eligible to be displayed: ",i.disabledReason)}t.displayType!==kl.Inline?this._surveyManager.handlePopoverSurvey(n,t):this.renderSurvey(n,t.selector,t.properties)}else me.warn("Survey not found")}}cancelPendingSurvey(e){ue(this._surveyManager)?me.warn("init was not called"):this._surveyManager.cancelSurvey(e)}handlePageUnload(){var e;(e=this._surveyManager)==null||e.handlePageUnload()}}},Po),Ex={toolbar:class{constructor(e){this.instance=e}Yo(e){ee.ph_toolbar_state=e}Wo(){var e;return(e=ee.ph_toolbar_state)!==null&&e!==void 0?e:0}initialize(){return this.maybeLoadToolbar()}maybeLoadToolbar(e,t,s){if(e===void 0&&(e=void 0),t===void 0&&(t=void 0),s===void 0&&(s=void 0),Yp(this.instance.config)||!A||!K)return!1;e=e??A.location,s=s??A.history;try{if(!t){try{A.localStorage.setItem("test","test"),A.localStorage.removeItem("test")}catch{return!1}t=A?.localStorage}var r,n=dx||eo(e.hash,"__posthog")||eo(e.hash,"state"),i=n?sf((()=>JSON.parse(atob(decodeURIComponent(n)))))||sf((()=>JSON.parse(decodeURIComponent(n)))):null;return i&&i.action==="ph_authorize"?((r=i).source="url",r&&Object.keys(r).length>0&&(i.desiredHash?e.hash=i.desiredHash:s?s.replaceState(s.state,"",e.pathname+e.search):e.hash="")):((r=JSON.parse(t.getItem(Bf)||"{}")).source="localstorage",delete r.userIntent),!(!r.token||this.instance.config.token!==r.token||(this.loadToolbar(r),0))}catch{return!1}}Go(e){var t=ee.ph_load_toolbar||ee.ph_load_editor;!ue(t)&&cs(t)?t(e,this.instance):Vf.warn("No toolbar load function found")}loadToolbar(e){var t=!(K==null||!K.getElementById(Kp));if(!A||t)return!1;var s=this.instance.requestRouter.region==="custom"&&this.instance.config.advanced_disable_toolbar_metrics,r=H({token:this.instance.config.token},e,{apiURL:this.instance.requestRouter.endpointFor("ui")},s?{instrument:!1}:{});if(A.localStorage.setItem(Bf,JSON.stringify(H({},r,{source:void 0}))),this.Wo()===2)this.Go(r);else if(this.Wo()===0){var n;this.Yo(1),(n=ee.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this.instance,"toolbar",(i=>{if(i)return Vf.error("[Toolbar] Failed to load",i),void this.Yo(0);this.Yo(2),this.Go(r)})),He(A,"turbolinks:load",(()=>{this.Yo(0),this.loadToolbar(r)}))}return!0}Xo(e){return this.loadToolbar(e)}maybeLoadEditor(e,t,s){return e===void 0&&(e=void 0),t===void 0&&(t=void 0),s===void 0&&(s=void 0),this.maybeLoadToolbar(e,t,s)}}},xx=H({experiments:et},Po),kx={conversations:class{constructor(e){this.Jo=void 0,this._conversationsManager=null,this.Ko=!1,this.Qo=null,this._instance=e}initialize(){this.loadIfEnabled()}onRemoteConfig(e){if(!this._instance.config.disable_conversations){var t=e.conversations;ue(t)||(Yt(t)?this.Jo=t:(this.Jo=t.enabled,this.Qo=t),this.loadIfEnabled())}}reset(){var e;(e=this._conversationsManager)==null||e.reset(),this._conversationsManager=null,this.Jo=void 0,this.Qo=null}loadIfEnabled(){if(!(this._conversationsManager||this.Ko||this._instance.config.disable_conversations||Yp(this._instance.config)||this._instance.config.cookieless_mode&&this._instance.consent.isOptedOut())){var e=ee?.__PosthogExtensions__;if(e&&!Y(this.Jo)&&this.Jo)if(this.Qo&&this.Qo.token){this.Ko=!0;try{var t=e.initConversations;if(t)return this.ea(t),void(this.Ko=!1);var s=e.loadExternalDependency;if(!s)return void this.ta(_c);s(this._instance,"conversations",(r=>
5{r||!e.initConversations?this.ta("Could not load conversations script",r):this.ea(e.initConversations),this.Ko=!1}))}catch(r){this.ta("Error initializing conversations",r),this.Ko=!1}}else kt.error("Conversations enabled but missing token in remote config.")}}ea(e){if(this.Qo)try{this._conversationsManager=e(this.Qo,this._instance),kt.info("Conversations loaded successfully")}catch(t){this.ta("Error completing conversations initialization",t)}else kt.error("Cannot complete initialization: remote config is null")}ta(e,t){kt.error(e,t),this._conversationsManager=null,this.Ko=!1}show(){this._conversationsManager?this._conversationsManager.show():kt.warn("Conversations not loaded yet.")}hide(){this._conversationsManager&&this._conversationsManager.hide()}isAvailable(){return this.Jo===!0&&!ys(this._conversationsManager)}isVisible(){var e,t;return(e=(t=this._conversationsManager)==null?void 0:t.isVisible())!==null&&e!==void 0&&e}sendMessage(e,t,s){var r=this;return Rt((function*(){return r._conversationsManager?r._conversationsManager.sendMessage(e,t,s):(kt.warn(js),null)}))()}getMessages(e,t){var s=this;return Rt((function*(){return s._conversationsManager?s._conversationsManager.getMessages(e,t):(kt.warn(js),null)}))()}markAsRead(e){var t=this;return Rt((function*(){return t._conversationsManager?t._conversationsManager.markAsRead(e):(kt.warn(js),null)}))()}getTickets(e){var t=this;return Rt((function*(){return t._conversationsManager?t._conversationsManager.getTickets(e):(kt.warn(js),null)}))()}requestRestoreLink(e){var t=this;return Rt((function*(){return t._conversationsManager?t._conversationsManager.requestRestoreLink(e):(kt.warn(js),null)}))()}restoreFromToken(e){var t=this;return Rt((function*(){return t._conversationsManager?t._conversationsManager.restoreFromToken(e):(kt.warn(js),null)}))()}restoreFromUrlToken(){var e=this;return Rt((function*(){return e._conversationsManager?e._conversationsManager.restoreFromUrlToken():(kt.warn(js),null)}))()}getCurrentTicketId(){var e,t;return(e=(t=this._conversationsManager)==null?void 0:t.getCurrentTicketId())!==null&&e!==void 0?e:null}getWidgetSessionId(){var e,t;return(e=(t=this._conversationsManager)==null?void 0:t.getWidgetSessionId())!==null&&e!==void 0?e:null}ln(){var e;(e=this._conversationsManager)==null||e.setIdentity()}un(){var e;(e=this._conversationsManager)==null||e.clearIdentity()}}},Sx={logs:class{constructor(e){var t;this.ra=!1,this.ia=!1,this.Yt=Te("[logs]"),this.na=[],this.sa=0,this.oa=0,this.aa=!1,this._instance=e,this._instance&&(t=this._instance.config.logs)!=null&&t.captureConsoleLogs&&(this.ra=!0)}initialize(){this.loadIfEnabled()}onRemoteConfig(e){var t,s=(t=e.logs)==null?void 0:t.captureConsoleLogs;!ue(s)&&s&&(this.ra=!0,this.loadIfEnabled())}reset(){this.na=[],this.Br&&(clearTimeout(this.Br),this.Br=void 0),this.sa=0,this.oa=0,this.aa=!1}loadIfEnabled(){if(this.ra&&!this.ia){var e=ee?.__PosthogExtensions__;if(e){var t=e.loadExternalDependency;t?t(this._instance,"logs",(s=>{var r;s||(r=e.logs)==null||!r.initializeLogs?this.Yt.error("Could not load logs script",s):(e.logs.initializeLogs(this._instance),this.ia=!0)})):this.Yt.error(_c)}else this.Yt.error("PostHog Extensions not found.")}}captureLog(e){var t,s,r,n,i,o;if(this._instance.is_capturing())if(e&&e.body){var a=(t=(s=this._instance.config.logs)==null?void 0:s.flushIntervalMs)!==null&&t!==void 0?t:3e3,l=(r=(n=this._instance.config.logs)==null?void 0:n.maxLogsPerInterval)!==null&&r!==void 0?r:1e3,u=Date.now();if(a>u-this.oa||(this.oa=u,this.sa=0,this.aa=!1),l>this.sa){this.sa++;var c=(function(f,d){var h=f.level||"info",{text:g,number:p}=$p[h]||Uw,R=String(Date.now())+"000000",E={};d.distinctId&&(E.posthogDistinctId=d.distinctId),d.sessionId&&(E.sessionId=d.sessionId),d.currentUrl&&(E["url.full"]=d.currentUrl),d.screenName&&(E["screen.name"]=d.screenName),d.appState&&(E["app.state"]=d.appState),d.activeFeatureFlags&&d.activeFeatureFlags.length>0&&(E.feature_flags=d.activeFeatureFlags);var w=H({},E,f.attributes||{}),v={timeUnixNano:R,observedTimeUnixNano:R,severityNumber:p,severityText:g,body:{stringValue:f.body},attributes:Zu(w)};return f.trace_id&&(v.traceId=f.trace_id),f.span_id&&(v.spanId=f.span_id),Y(f.trace_flags)||(v.flags=f.trace_flags),v})(e,this.la());this.na.push({record:c}),((i=(o=this._instance.config.logs)==null?void 0:o.maxBufferSize)!==null&&i!==void 0?i:100)>this.na.length?this.ua():this.flushLogs()}else this.aa||(this.Yt.warn("captureLog dropping logs: exceeded "+l+" logs per "+a+"ms"),this.aa=!0)}else this.Yt.warn("captureLog requires a body")}get logger(){return this.ha||(this.ha={trace:(e,t)=>this.captureLog({body:e,level:"trace",attributes:t}),debug:(e,t)=>this.captureLog({body:e,level:"debug",attributes:t}),info:(e,t)=>this.captureLog({body:e,level:"info",attributes:t}),warn:(e,t)=>this.captureLog({body:e,level:"warn",attributes:t}),error:(e,t)=>
5this.captureLog({body:e,level:"error",attributes:t}),fatal:(e,t)=>this.captureLog({body:e,level:"fatal",attributes:t})}),this.ha}flushLogs(e){if(this.Br&&(clearTimeout(this.Br),this.Br=void 0),this.na.length!==0){var t=this.na;this.na=[];var s=this._instance.config.logs,r=H({"service.name":s?.serviceName||"unknown_service"},s?.environment&&{"deployment.environment":s.environment},s?.serviceVersion&&{"service.version":s.serviceVersion},s?.resourceAttributes),n=(function(o,a,l,u){return{resourceLogs:[{resource:{attributes:Zu(a)},scopeLogs:[{scope:{name:l,version:u},logRecords:o}]}]}})(t.map((o=>o.record)),r,at.LIB_NAME,at.LIB_VERSION),i=this._instance.requestRouter.endpointFor("api","/i/v1/logs")+"?token="+encodeURIComponent(this._instance.config.token);this._instance.Zi({method:"POST",url:i,data:n,compression:"best-available",batchKey:"logs",transport:e})}}ua(){var e,t;this.Br||(this.Br=setTimeout((()=>{this.Br=void 0,this.flushLogs()}),(e=(t=this._instance.config.logs)==null?void 0:t.flushIntervalMs)!==null&&e!==void 0?e:3e3))}la(){var e,t={};if(t.distinctId=this._instance.get_distinct_id(),this._instance.sessionManager){var{sessionId:s}=this._instance.sessionManager.checkAndGetSessionAndWindowId(!0);t.sessionId=s}if(ee!=null&&(e=ee.location)!=null&&e.href&&(t.currentUrl=ee.location.href),this._instance.featureFlags){var r=this._instance.featureFlags.getFlags();r&&r.length>0&&(t.activeFeatureFlags=r)}return t}}},Rx=H({},Po,gx,vx,_x,mx,yx,wx,bx,Ex,xx,kx,Sx);Pt.__defaultExtensionClasses=H({},Rx);var Gf,ma=(Gf=Pn[gr]=new Pt,(function(){function e(){e.done||(e.done=!0,mg=!1,ke(Pn,(function(t){t._dom_loaded()})))}K!=null&&K.addEventListener?K.readyState==="complete"?e():He(K,"DOMContentLoaded",e,{capture:!1}):A&&z.error("Browser doesn't support `document.addEventListener` so PostHog couldn't be initialized")})(),Gf);const Px=es(()=>{const{posthogToken:e}=zn().public;return e?(ma.init(e,{api_host:"https://eu.i.posthog.com",defaults:"2026-01-30"}),Et().afterEach(s=>{ma.capture("$pageview",{$current_url:window.location.origin+s.fullPath})}),{provide:{posthog:()=>ma}}):void 0}),Tx=[Nb,Bb,dw,pw,gw,vw,mw,yw,Ew,Px],Pg=(e="RouteProvider")=>qn({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(t){const s=t.renderKey,r=t.route,n={};for(const i in t.route)Object.defineProperty(n,i,{get:()=>s===t.renderKey?t.route[i]:r[i],enumerable:!0});return kr(yo,hs(n)),()=>t.vnode?Tt(t.vnode,{ref:t.vnodeRef}):t.vnode}}),Cx=Pg(),zf=new WeakMap,Ax=qn({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:s,expose:r}){const n=Ze(),i=ps(),o=bt(yo,null);let a;r({pageRef:i});const l=bt(Iy,null);let u;const c=n.deferHydration();let f=!1,d=0;if(n.isHydrating){const g=n.hooks.hookOnce("app:error",c);Et().beforeEach(g)}e.pageKey&&Sr(()=>e.pageKey,(g,p)=>{g!==p&&n.callHook("page:loading:start")});let h=!1;{const g=Et().beforeResolve(()=>{h=!1});Gn(()=>{g(),c()})}return()=>Tt(dp,{name:e.name,route:e.route,...t},{default:g=>{const p=Ox(o,g.route,g.Component),R=o&&o.matched.length===g.route.matched.length;if(!g.Component){if(u&&!R)return u;c();return}if(u&&l&&!l.isCurrent(g.route))return u;if(p&&o&&(!l||l?.isCurrent(o)))return R||u?u:null;const E=za(g,e.pageKey),w=Ix(o,g.route,g.Component);!n.isHydrating&&a===E&&!w&&In(()=>{h||(h=!0,n.callHook("page:loading:end"))}),f&&a!==E&&d++,a=E;const v=!!(e.transition??g.route.meta.pageTransition??gu),m=v&&ow([e.transition,g.route.meta.pageTransition,gu,{onAfterLeave(){n["~transitionFinish"]?.(),delete n["~transitionFinish"],delete n["~transitionPromise"],n.callHook("page:transition:finish",g.Component)}}]),y=e.keepalive??g.route.meta.keepalive??_y;return u=tw(v&&m,Q0(y,Tt(cd,{key:d,suspensible:!0,onPending:()=>{f=!0,v&&!n["~transitionPromise"]&&(n["~transitionPromise"]=new Promise(x=>{n["~transitionFinish"]=x})),n.callHook("page:start",g.Component)}
5,onResolve:async()=>{f=!1;try{await In(),n._route.sync?.(),await n.callHook("page:finish",g.Component),!h&&!w&&(h=!0,await n.callHook("page:loading:end"))}finally{c()}}},{default:()=>{const x={key:E||void 0,vnode:s.default?Lx(s.default,g):g.Component,route:g.route,renderKey:E||void 0,trackRootNodes:v,vnodeRef:i};if(!y)return Tt(Cx,x);const k=g.Component.type,T=k;let S=zf.get(T);return S||(S=Pg(k.name||k.__name),zf.set(T,S)),Tt(S,x)}}))).default(),u}})}});function Ox(e,t,s){if(!e)return!1;const r=t.matched.findIndex(n=>n.components?.default===s?.type);return!r||r===-1?!1:t.matched.slice(0,r).some((n,i)=>n.components?.default!==e.matched[i]?.components?.default)||s&&za({route:t,Component:s})!==za({route:e,Component:s})}function Ix(e,t,s){return e?t.matched.findIndex(n=>n.components?.default===s?.type)<t.matched.length-1:!1}function Lx(e,t){const s=e(t);return s.length===1?Tt(s[0]):Tt(vt,void 0,s)}const Mx=(e,t)=>{const s=e.__vccOpts||e;for(const[r,n]of t)s[r]=n;return s},Fx={};function $x(e,t){const s=Ax;return Kt(),pd("div",null,[$e(s)])}const Nx=Mx(Fx,[["render",$x]]),Dx={__name:"nuxt-error-page",props:{error:Object},setup(e){const s=e.error,r=Number(s.statusCode||500),n=r===404,i=s.statusMessage??(n?"Page Not Found":"Internal Server Error"),o=s.message||s.toString(),a=void 0,c=n?Nc(()=>_r(()=>import("./TKaCAW8q.js"),__vite__mapDeps([13,2,5,14]),import.meta.url)):Nc(()=>_r(()=>import("./BYxxPnWA.js"),__vite__mapDeps([15,5,16]),import.meta.url));return(f,d)=>(Kt(),qs(Ee(c),Dg(_d({status:Ee(r),statusText:Ee(i),statusCode:Ee(r),statusMessage:Ee(i),description:Ee(o),stack:Ee(a)})),null,16))}},Hx={key:0},Jf={__name:"nuxt-root",setup(e){const t=()=>null,s=Ze(),r=s.deferHydration();if(s.isHydrating){const u=s.hooks.hookOnce("app:error",r);Et().beforeEach(u)}const n=!1;kr(yo,nc()),s.hooks.callHookWith(u=>u.map(c=>c()),"vue:setup");const i=bo(),o=!1,a=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;Uh((u,c,f)=>{if(s.hooks.callHook("vue:error",u,c,f).catch(d=>console.error("[nuxt] Error in `vue:error` hook",d)),a.test(navigator.userAgent))return s.hooks.callHook("app:error",u),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,u),!1;if(Vd(u)&&(u.fatal||u.unhandled))return s.runWithContext(()=>Bs(u)),!1});const l=!1;return(u,c)=>(Kt(),qs(cd,{onResolve:Ee(r)},{default:Th(()=>[Ee(o)?(Kt(),pd("div",Hx)):Ee(i)?(Kt(),qs(Ee(Dx),{key:1,error:Ee(i)},null,8,["error"])):Ee(l)?(Kt(),qs(Ee(t),{key:2,context:Ee(l)},null,8,["context"])):Ee(n)?(Kt(),qs(Wv(Ee(n)),{key:3})):(Kt(),qs(Ee(Nx),{key:4}))]),_:1},8,["onResolve"]))}};let Yf;{let e;Yf=async function(){if(e)return e;const r=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true")?um(Jf):cm(Jf),n=Ey({vueApp:r});async function i(o){await n.callHook("app:error",o),n.payload.error||=Xs(o)}r.config.errorHandler=i,n.hook("app:suspense:resolve",()=>{r.config.errorHandler===i&&(r.config.errorHandler=void 0)});try{await Sy(n,Tx)}catch(o){i(o)}try{await n.hooks.callHook("app:created",r),await n.hooks.callHook("app:beforeMount",r),r.mount(yy),await n.hooks.callHook("app:mounted",r),await In()}catch(o){i(o)}return r},e=Yf().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Xx as $,nc as A,Jx as B,Hv as C,bt as D,jx as E,vt as F,Is as G,ah as H,On as I,Xs as J,gv as K,fv as L,xa as M,Ls as N,Yx as O,eh as P,Et as Q,cc as R,Wu as S,Gn as T,Zx as U,Tt as V,Ux as W,Cd as X,My as Y,ww as Z,Mx as _,vd as a,Fy as a0,zx as a1,sr as a2,ec as a3,Dm as a4,Fi as a5,Qx as a6,Ry as a7,Kl as a8,Jd as a9,$e as b,pd as c,md as d,qn as e,Jl as f,jh as g,Bx as h,qs as i,Ft as j,Sr as k,Wx as l,uo as m,fo as n,Kt as o,In as p,qx as q,ps as r,Kx as s,Bg as t,Ee as u,zn as v,Th as w,Ze as x,Vx as y,$d as z};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.