PageSourceSearch

https://onclock.xyz/_nuxt/nGD9Ttbg.js

js onclock.xyz collected 2026-10-07 20:29:55 UTC 503,256 bytes, 44 lines download raw bytes

vendor: 1,610 bytes, lines 1-5
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./ZX-tFTPz.js","./DtiYRAeP.js","./Ck8KiGOc.js","./D7-PAs9T.js","./DBga3CTl.js","./BlYBwEAB.js","./0BWueGY3.js","./DfeeT_Rp.js","./D0PrWi9m.js","./Icon.BxxE2_iQ.css","./DOc4B8LJ.js","./D9Ql7222.js","./C83RlQAb.js","./CydAmUsM.js","./IconCSS.Bopl1awS.css","./Cwl6V-8c.js","./default.ClCwHIey.css"])))=>i.map(i=>d[i]);
2var Db=Object.defineProperty;var wd=e=>{throw TypeError(e)};var Nb=(e,t,n)=>t in e?Db(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var rr=(e,t,n)=>Nb(e,typeof t!="symbol"?t+"":t,n),Hb=(e,t,n)=>t.has(e)||wd("Cannot "+n);var ns=(e,t,n)=>(Hb(e,t,"read from private field"),n?n.call(e):t.get(e)),Ed=(e,t,n)=>t.has(e)?wd("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();/**
3* @vue/shared v3.5.14
4* (c) 2018-present Yuxi (Evan) You and Vue contributors
5* @license MIT
6**//*! #__NO_SIDE_EFFECTS__ */function Ku(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Oe={},Li=[],dn=()=>{},jb=()=>!1,co=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),zu=e=>e.startsWith("onUpdate:"),ct=Object.assign,Gu=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ub=Object.prototype.hasOwnProperty,Le=(e,t)=>Ub.call(e,t),se=Array.isArray,Ii=e=>Zi(e)==="[object Map]",Xa=e=>Zi(e)==="[object Set]",kd=e=>Zi(e)==="[object Date]",Bb=e=>Zi(e)==="[object RegExp]",ae=e=>typeof e=="function",We=e=>typeof e=="string",pn=e=>typeof e=="symbol",Re=e=>e!==null&&typeof e=="object",Yu=e=>(Re(e)||ae(e))&&ae(e.then)&&ae(e.catch),r_=Object.prototype.toString,Zi=e=>r_.call(e),Vb=e=>Zi(e).slice(8,-1),i_=e=>Zi(e)==="[object Object]",Xu=e=>We(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ti=Ku(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ja=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},qb=/-(\w)/g,en=Ja(e=>e.replace(qb,(t,n)=>n?n.toUpperCase():"")),Wb=/\B([A-Z])/g,fi=Ja(e=>e.replace(Wb,"-$1").toLowerCase()),Qa=Ja(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ml=Ja(e=>e?`on${Qa(e)}`:""),wr=(e,t)=>!Object.is(e,t),Ai=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},s_=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Kb=e=>{const t=parseFloat(e);return isNaN(t)?e:t},o_=e=>{const t=We(e)?Number(e):NaN;return isNaN(t)?e:t};let Sd;const Za=()=>Sd||(Sd=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ju(e){if(se(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=We(r)?Xb(r):Ju(r);if(i)for(const s in i)t[s]=i[s]}return t}else if(We(e)||Re(e))return e}const zb=/;(?![^(]*\))/g,Gb=/:([^]+)/,Yb=/\/\*[^]*?\*\//g;function Xb(e){const t={};return e.replace(Yb,"").split(zb).forEach(n=>{if(n){const r=n.split(Gb);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Qu(e){let t="";if(We(e))t=e;else if(se(e))for(let n=0;n<e.length;n++){const r=Qu(e[n]);r&&(t+=r+" ")}else if(Re(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Jb="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Qb=Ku(Jb);function a_(e){return!!e||e===""}function Zb(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=el(e[r],t[r]);return n}function el(e,t){if(e===t)return!0;let n=kd(e),r=kd(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=pn(e),r=pn(t),n||r)return e===t;if(n=se(e),r=se(t),n||r)return n&&r?Zb(e,t):!1;if(n=Re(e),r=Re(t),n||r){if(!n||!r)return!1;const i=Object.keys(e).length,s=Object.keys(t).length;if(i!==s)return!1;for(const o in e){const a=e.hasOwnProperty(o),l=t.hasOwnProperty(o);if(a&&!l||!a&&l||!el(e[o],t[o]))return!1}}return String(e)===String(t)}function l_(e,t){return e.findIndex(n=>el(n,t))}const c_=e=>!!(e&&e.__v_isRef===!0),ps=e=>We(e)?e:e==null?"":se(e)||Re(e)&&(e.toString===r_||!ae(e.toString))?c_(e)?ps(e.value):JSON.stringify(e,u_,2):String(e),u_=(e,t)=>c_(t)?u_(e,t.value):Ii(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i],s)=>(n[$l(r,s)+" =>"]=i,n),{})}:Xa(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>$l(n))}:pn(t)?$l(t):Re(t)&&!se(t)&&!i_(t)?String(t):t,$l=(e,t="")=>{var n;return pn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
7* @vue/reactivity v3.5.14
8* (c) 2018-present Yuxi (Evan) You and Vue contributors
9* @license MIT
vendor: 5,469 bytes, line 10
10**/let vt;class f_{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=vt,!t&&vt&&(this.index=(vt.scopes||(vt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=vt;try{return vt=this,t()}finally{vt=n}}}on(){++this._on===1&&(this.prevScope=vt,vt=this)}off(){this._on>0&&--this._on===0&&(vt=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function Zu(e){return new f_(e)}function uo(){return vt}function ta(e,t=!1){vt&&vt.cleanups.push(e)}let De;const Fl=new WeakSet;class d_{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,vt&&vt.active&&vt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Fl.has(this)&&(Fl.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||p_(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Cd(this),g_(this);const t=De,n=hn;De=this,hn=!0;try{return this.fn()}finally{__(this),De=t,hn=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)nf(t);this.deps=this.depsTail=void 0,Cd(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Fl.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){bc(this)&&this.run()}get dirty(){return bc(this)}}let h_=0,Ss,Cs;function p_(e,t=!1){if(e.flags|=8,t){e.next=Cs,Cs=e;return}e.next=Ss,Ss=e}function ef(){h_++}function tf(){if(--h_>0)return;if(Cs){let t=Cs;for(Cs=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Ss;){let t=Ss;for(Ss=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function g_(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function __(e){let t,n=e.depsTail,r=n;for(;r;){const i=r.prevDep;r.version===-1?(r===n&&(n=i),nf(r),e0(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=i}e.deps=t,e.depsTail=n}function bc(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(v_(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function v_(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===js)||(e.globalVersion=js,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!bc(e))))return;e.flags|=2;const t=e.dep,n=De,r=hn;De=e,hn=!0;try{g_(e);const i=e.fn(e._value);(t.version===0||wr(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{De=n,hn=r,__(e),e.flags&=-3}}function nf(e,t=!1){const{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)nf(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function e0(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let hn=!0;const m_=[];function Jn(){m_.push(hn),hn=!1}function Qn(){const e=m_.pop();hn=e===void 0?!0:e}function Cd(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=De;De=void 0;try{t()}finally{De=n}}}let js=0;class t0{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class tl{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}track(t){if(!De||!hn||De===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==De)n=this.activeLink=new t0(De,this),De.deps?(n.prevDep=De.depsTail,De.depsTail.nextDep=n,De.depsTail=n):De.deps=De.depsTail=n,y_(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=De.depsTail,n.nextDep=void 0,De.depsTail.nextDep=n,De.depsTail=n,De.deps===n&&(De.deps=r)}return n}trigger(t){this.version++,js++,this.notify(t)}notify(t){ef();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{tf()}}}function y_(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)y_(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const na=new WeakMap,Jr=Symbol(""),wc=Symbol(""),Us=Symbol("");function mt(e,t,n){if(hn&&De){let r=na.get(e);r||na.set(e,r=new Map);let i=r.get(n);i||(r.set(n,i=new tl),i.map=r,i.key=n),i.track()}}function Bn(e,t,n,r,i,s){const o=na.get(e);if(!o){js++;return}const a=l=>{l&&l.trigger()};
vendor: 4,464 bytes, line 10
10if(ef(),t==="clear")o.forEach(a);else{const l=se(e),u=l&&Xu(n);if(l&&n==="length"){const c=Number(r);o.forEach((f,d)=>{(d==="length"||d===Us||!pn(d)&&d>=c)&&a(f)})}else switch((n!==void 0||o.has(void 0))&&a(o.get(n)),u&&a(o.get(Us)),t){case"add":l?u&&a(o.get("length")):(a(o.get(Jr)),Ii(e)&&a(o.get(wc)));break;case"delete":l||(a(o.get(Jr)),Ii(e)&&a(o.get(wc)));break;case"set":Ii(e)&&a(o.get(Jr));break}}tf()}function n0(e,t){const n=na.get(e);return n&&n.get(t)}function pi(e){const t=Ee(e);return t===e?t:(mt(t,"iterate",Us),Yt(e)?t:t.map(pt))}function nl(e){return mt(e=Ee(e),"iterate",Us),e}const r0={__proto__:null,[Symbol.iterator](){return Dl(this,Symbol.iterator,pt)},concat(...e){return pi(this).concat(...e.map(t=>se(t)?pi(t):t))},entries(){return Dl(this,"entries",e=>(e[1]=pt(e[1]),e))},every(e,t){return On(this,"every",e,t,void 0,arguments)},filter(e,t){return On(this,"filter",e,t,n=>n.map(pt),arguments)},find(e,t){return On(this,"find",e,t,pt,arguments)},findIndex(e,t){return On(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return On(this,"findLast",e,t,pt,arguments)},findLastIndex(e,t){return On(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return On(this,"forEach",e,t,void 0,arguments)},includes(...e){return Nl(this,"includes",e)},indexOf(...e){return Nl(this,"indexOf",e)},join(e){return pi(this).join(e)},lastIndexOf(...e){return Nl(this,"lastIndexOf",e)},map(e,t){return On(this,"map",e,t,void 0,arguments)},pop(){return rs(this,"pop")},push(...e){return rs(this,"push",e)},reduce(e,...t){return xd(this,"reduce",e,t)},reduceRight(e,...t){return xd(this,"reduceRight",e,t)},shift(){return rs(this,"shift")},some(e,t){return On(this,"some",e,t,void 0,arguments)},splice(...e){return rs(this,"splice",e)},toReversed(){return pi(this).toReversed()},toSorted(e){return pi(this).toSorted(e)},toSpliced(...e){return pi(this).toSpliced(...e)},unshift(...e){return rs(this,"unshift",e)},values(){return Dl(this,"values",pt)}};function Dl(e,t,n){const r=nl(e),i=r[t]();return r!==e&&!Yt(e)&&(i._next=i.next,i.next=()=>{const s=i._next();return s.value&&(s.value=n(s.value)),s}),i}const i0=Array.prototype;function On(e,t,n,r,i,s){const o=nl(e),a=o!==e&&!Yt(e),l=o[t];if(l!==i0[t]){const f=l.apply(e,s);return a?pt(f):f}let u=n;o!==e&&(a?u=function(f,d){return n.call(this,pt(f),d,e)}:n.length>2&&(u=function(f,d){return n.call(this,f,d,e)}));const c=l.call(o,u,r);return a&&i?i(c):c}function xd(e,t,n,r){const i=nl(e);let s=n;return i!==e&&(Yt(e)?n.length>3&&(s=function(o,a,l){return n.call(this,o,a,l,e)}):s=function(o,a,l){return n.call(this,o,pt(a),l,e)}),i[t](s,...r)}function Nl(e,t,n){const r=Ee(e);mt(r,"iterate",Us);const i=r[t](...n);return(i===-1||i===!1)&&of(n[0])?(n[0]=Ee(n[0]),r[t](...n)):i}function rs(e,t,n=[]){Jn(),ef();const r=Ee(e)[t].apply(e,n);return tf(),Qn(),r}const s0=Ku("__proto__,__v_isRef,__isVue"),b_=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(pn));function o0(e){pn(e)||(e=String(e));const t=Ee(this);return mt(t,"has",e),t.hasOwnProperty(e)}class w_{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(i?s?_0:C_:s?S_:k_).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=se(t);if(!i){let l;if(o&&(l=r0[n]))return l;if(n==="hasOwnProperty")return o0}const a=Reflect.get(t,n,qe(t)?t:r);return(pn(n)?b_.has(n):s0(n))||(i||mt(t,"get",n),s)?a:qe(a)?o&&Xu(n)?a:a.value:Re(a)?i?x_(a):Tr(a):a}}class E_ extends w_{constructor(t=!1){super(!1,t)}set(t,n,r,i){let s=t[n];if(!this._isShallow){const l=Zn(s);if(!Yt(r)&&!Zn(r)&&(s=Ee(s),r=Ee(r)),!se(t)&&qe(s)&&!qe(r))return l?!1:(s.value=r,!0)}const o=se(t)&&Xu(n)?Number(n)<t.length:Le(t,n),a=Reflect.set(t,n,r,qe(t)?t:i);return t===Ee(i)&&(o?wr(r,s)&&Bn(t,"set",n,r):Bn(t,"add",n,r)),a}deleteProperty(t,n){const r=Le(t,n);t[n];const i=Reflect.deleteProperty(t,n);return i&&r&&Bn(t,"delete",n,void 0),i}has(t,n){const r=Reflect.has(t,n);return(!pn(n)||!b_.has(n))&&mt(t,"has",n),r}ownKeys(t){return mt(t,"iterate",se(t)?"length":Jr),Reflect.ownKeys(t)}}class a0 extends w_{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const l0=new E_,c0=new a0,u0=new E_(!0);const Ec=e=>e,mo=e=>Reflect.getPrototypeOf(e);
vendor: 4,636 bytes, line 10
10function f0(e,t,n){return function(...r){const i=this.__v_raw,s=Ee(i),o=Ii(s),a=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,u=i[e](...r),c=n?Ec:t?ra:pt;return!t&&mt(s,"iterate",l?wc:Jr),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:a?[c(f[0]),c(f[1])]:c(f),done:d}},[Symbol.iterator](){return this}}}}function yo(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function d0(e,t){const n={get(i){const s=this.__v_raw,o=Ee(s),a=Ee(i);e||(wr(i,a)&&mt(o,"get",i),mt(o,"get",a));const{has:l}=mo(o),u=t?Ec:e?ra:pt;if(l.call(o,i))return u(s.get(i));if(l.call(o,a))return u(s.get(a));s!==o&&s.get(i)},get size(){const i=this.__v_raw;return!e&&mt(Ee(i),"iterate",Jr),Reflect.get(i,"size",i)},has(i){const s=this.__v_raw,o=Ee(s),a=Ee(i);return e||(wr(i,a)&&mt(o,"has",i),mt(o,"has",a)),i===a?s.has(i):s.has(i)||s.has(a)},forEach(i,s){const o=this,a=o.__v_raw,l=Ee(a),u=t?Ec:e?ra:pt;return!e&&mt(l,"iterate",Jr),a.forEach((c,f)=>i.call(s,u(c),u(f),o))}};return ct(n,e?{add:yo("add"),set:yo("set"),delete:yo("delete"),clear:yo("clear")}:{add(i){!t&&!Yt(i)&&!Zn(i)&&(i=Ee(i));const s=Ee(this);return mo(s).has.call(s,i)||(s.add(i),Bn(s,"add",i,i)),this},set(i,s){!t&&!Yt(s)&&!Zn(s)&&(s=Ee(s));const o=Ee(this),{has:a,get:l}=mo(o);let u=a.call(o,i);u||(i=Ee(i),u=a.call(o,i));const c=l.call(o,i);return o.set(i,s),u?wr(s,c)&&Bn(o,"set",i,s):Bn(o,"add",i,s),this},delete(i){const s=Ee(this),{has:o,get:a}=mo(s);let l=o.call(s,i);l||(i=Ee(i),l=o.call(s,i)),a&&a.call(s,i);const u=s.delete(i);return l&&Bn(s,"delete",i,void 0),u},clear(){const i=Ee(this),s=i.size!==0,o=i.clear();return s&&Bn(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=f0(i,e,t)}),n}function rf(e,t){const n=d0(e,t);return(r,i,s)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(Le(n,i)&&i in r?n:r,i,s)}const h0={get:rf(!1,!1)},p0={get:rf(!1,!0)},g0={get:rf(!0,!1)};const k_=new WeakMap,S_=new WeakMap,C_=new WeakMap,_0=new WeakMap;function v0(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function m0(e){return e.__v_skip||!Object.isExtensible(e)?0:v0(Vb(e))}function Tr(e){return Zn(e)?e:sf(e,!1,l0,h0,k_)}function Wn(e){return sf(e,!1,u0,p0,S_)}function x_(e){return sf(e,!0,c0,g0,C_)}function sf(e,t,n,r,i){if(!Re(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=m0(e);if(s===0)return e;const o=i.get(e);if(o)return o;const a=new Proxy(e,s===2?r:n);return i.set(e,a),a}function Qr(e){return Zn(e)?Qr(e.__v_raw):!!(e&&e.__v_isReactive)}function Zn(e){return!!(e&&e.__v_isReadonly)}function Yt(e){return!!(e&&e.__v_isShallow)}function of(e){return e?!!e.__v_raw:!1}function Ee(e){const t=e&&e.__v_raw;return t?Ee(t):e}function y0(e){return!Le(e,"__v_skip")&&Object.isExtensible(e)&&s_(e,"__v_skip",!0),e}const pt=e=>Re(e)?Tr(e):e,ra=e=>Re(e)?x_(e):e;function qe(e){return e?e.__v_isRef===!0:!1}function Ye(e){return L_(e,!1)}function Fi(e){return L_(e,!0)}function L_(e,t){return qe(e)?e:new b0(e,t)}class b0{constructor(t,n){this.dep=new tl,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Ee(t),this._value=n?t:pt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Yt(t)||Zn(t);t=r?t:Ee(t),wr(t,n)&&(this._rawValue=t,this._value=r?t:pt(t),this.dep.trigger())}}function ge(e){return qe(e)?e.value:e}function wi(e){return ae(e)?e():ge(e)}const w0={get:(e,t,n)=>t==="__v_raw"?e:ge(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return qe(i)&&!qe(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function I_(e){return Qr(e)?e:new Proxy(e,w0)}class E0{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new tl,{get:r,set:i}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=i}get value(){return this._value=this._get()}set value(t){this._set(t)}}function k0(e){return new E0(e)}class S0{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return n0(Ee(this._object),this._key)}}class C0{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 T_(e,t,n){return qe(e)?e:ae(e)?new C0(e):Re(e)&&arguments.length>1?x0(e,t,n):Ye(e)}function x0(e,t,n){const r=e[t];return qe(r)?r:new S0(e,t,n)}class L0{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new tl
vendor: 1,477 bytes, line 10
10(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=js-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&De!==this)return p_(this,!0),!0}get value(){const t=this.dep.track();return v_(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function I0(e,t,n=!1){let r,i;return ae(e)?r=e:(r=e.get,i=e.set),new L0(r,i,n)}const bo={},ia=new WeakMap;let qr;function T0(e,t=!1,n=qr){if(n){let r=ia.get(n);r||ia.set(n,r=[]),r.push(e)}}function A0(e,t,n=Oe){const{immediate:r,deep:i,once:s,scheduler:o,augmentJob:a,call:l}=n,u=m=>i?m:Yt(m)||i===!1||i===0?Vn(m,1):Vn(m);let c,f,d,h,_=!1,p=!1;if(qe(e)?(f=()=>e.value,_=Yt(e)):Qr(e)?(f=()=>u(e),_=!0):se(e)?(p=!0,_=e.some(m=>Qr(m)||Yt(m)),f=()=>e.map(m=>{if(qe(m))return m.value;if(Qr(m))return u(m);if(ae(m))return l?l(m,2):m()})):ae(e)?t?f=l?()=>l(e,2):e:f=()=>{if(d){Jn();try{d()}finally{Qn()}}const m=qr;qr=c;try{return l?l(e,3,[h]):e(h)}finally{qr=m}}:f=dn,t&&i){const m=f,E=i===!0?1/0:i;f=()=>Vn(m(),E)}const b=uo(),v=()=>{c.stop(),b&&b.active&&Gu(b.effects,c)};if(s&&t){const m=t;t=(...E)=>{m(...E),v()}}let y=p?new Array(e.length).fill(bo):bo;const g=m=>{if(!(!(c.flags&1)||!c.dirty&&!m))if(t){const E=c.run();if(i||_||(p?E.some((x,L)=>wr(x,y[L])):wr(E,y))){d&&d();const x=qr;qr=c;try{const L=[E,y===bo?void 0:p&&y[0]===bo?[]:y,h];l?l(t,3,L):t(...L),y=E}finally{qr=x}}}else c.run()};
vendor: 27,568 bytes, lines 10-15
10return a&&a(g),c=new d_(f),c.scheduler=o?()=>o(g,!1):g,h=m=>T0(m,!1,c),d=c.onStop=()=>{const m=ia.get(c);if(m){if(l)l(m,4);else for(const E of m)E();ia.delete(c)}},t?r?g(!0):y=c.run():o?o(g.bind(null,!0),!0):c.run(),v.pause=c.pause.bind(c),v.resume=c.resume.bind(c),v.stop=v,v}function Vn(e,t=1/0,n){if(t<=0||!Re(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,qe(e))Vn(e.value,t,n);else if(se(e))for(let r=0;r<e.length;r++)Vn(e[r],t,n);else if(Xa(e)||Ii(e))e.forEach(r=>{Vn(r,t,n)});else if(i_(e)){for(const r in e)Vn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Vn(e[r],t,n)}return e}/**
11* @vue/runtime-core v3.5.14
12* (c) 2018-present Yuxi (Evan) You and Vue contributors
13* @license MIT
14**/function fo(e,t,n,r){try{return r?e(...r):e()}catch(i){es(i,t,n)}}function gn(e,t,n,r){if(ae(e)){const i=fo(e,t,n,r);return i&&Yu(i)&&i.catch(s=>{es(s,t,n)}),i}if(se(e)){const i=[];for(let s=0;s<e.length;s++)i.push(gn(e[s],t,n,r));return i}}function es(e,t,n,r=!0){const i=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||Oe;if(t){let a=t.parent;const l=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;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(s){Jn(),fo(s,null,10,[e,l,u]),Qn();return}}R0(e,n,i,r,o)}function R0(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}const Lt=[];let kn=-1;const Ri=[];let lr=null,vi=0;const A_=Promise.resolve();let sa=null;function ri(e){const t=sa||A_;return e?t.then(this?e.bind(this):e):t}function P0(e){let t=kn+1,n=Lt.length;for(;t<n;){const r=t+n>>>1,i=Lt[r],s=Bs(i);s<e||s===e&&i.flags&2?t=r+1:n=r}return t}function af(e){if(!(e.flags&1)){const t=Bs(e),n=Lt[Lt.length-1];!n||!(e.flags&2)&&t>=Bs(n)?Lt.push(e):Lt.splice(P0(t),0,e),e.flags|=1,R_()}}function R_(){sa||(sa=A_.then(P_))}function oa(e){se(e)?Ri.push(...e):lr&&e.id===-1?lr.splice(vi+1,0,e):e.flags&1||(Ri.push(e),e.flags|=1),R_()}function Ld(e,t,n=kn+1){for(;n<Lt.length;n++){const r=Lt[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Lt.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function aa(e){if(Ri.length){const t=[...new Set(Ri)].sort((n,r)=>Bs(n)-Bs(r));if(Ri.length=0,lr){lr.push(...t);return}for(lr=t,vi=0;vi<lr.length;vi++){const n=lr[vi];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}lr=null,vi=0}}const Bs=e=>e.id==null?e.flags&2?-1:1/0:e.id;function P_(e){try{for(kn=0;kn<Lt.length;kn++){const t=Lt[kn];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),fo(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;kn<Lt.length;kn++){const t=Lt[kn];t&&(t.flags&=-2)}kn=-1,Lt.length=0,aa(),sa=null,(Lt.length||Ri.length)&&P_()}}let ot=null,O_=null;function la(e){const t=ot;return ot=e,O_=e&&e.type.__scopeId||null,t}function Vs(e,t=ot,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&jd(-1);const s=la(t);let o;try{o=e(...i)}finally{la(s),r._d&&jd(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function oO(e,t){if(ot===null)return e;const n=ll(ot),r=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[s,o,a,l=Oe]=t[i];s&&(ae(s)&&(s={mounted:s,updated:s}),s.deep&&Vn(o),r.push({dir:s,instance:n,value:o,oldValue:void 0,arg:a,modifiers:l}))}return e}function Sn(e,t,n,r){const i=e.dirs,s=t&&t.dirs;for(let o=0;o<i.length;o++){const a=i[o];s&&(a.oldValue=s[o].value);let l=a.dir[r];l&&(Jn(),gn(l,n,8,[e.el,a,e,t]),Qn())}}const O0=Symbol("_vte"),M_=e=>e.__isTeleport,cr=Symbol("_leaveCb"),wo=Symbol("_enterCb");function M0(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return di(()=>{e.isMounted=!0}),hi(()=>{e.isUnmounting=!0}),e}const qt=[Function,Array],$_={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:qt,onEnter:qt,onAfterEnter:qt,onEnterCancelled:qt,onBeforeLeave:qt,onLeave:qt,onAfterLeave:qt,onLeaveCancelled:qt,onBeforeAppear:qt,onAppear:qt,onAfterAppear:qt,onAppearCancelled:qt},F_=e=>{const t=e.subTree;return t.component?F_(t.component):t},$0={name:"BaseTransition",props:$_,setup(e,{slots:t}){const n=Rn(),r=M0();return()=>{const i=t.default&&H_(t.default(),!0);if(!i||!i.length)return;const s=D_(i),o=Ee(e),{mode:a}=o;if(r.isLeaving)return Hl(s);const l=Id(s);if(!l)return Hl(s);let u=kc(l,o,r,n,f=>u=f);l.type!==Qe&&Di(l,u);let c=n.subTree&&Id(n.subTree);if(c&&c.type!==Qe&&!ln(l,c)&&F_(n).type!==Qe){let f=kc(c,o,r,n);if(Di(c,f),a==="out-in"&&l.type!==Qe)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,c=void 0},Hl(s);a==="in-out"&&l.type!==Qe?f.delayLeave=(d,h,_)=>{const p=N_(r,c);p[String(c.key)]=c,d[cr]=()=>{h(),d[cr]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{_(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return s}}};function D_(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Qe){t=n;break}}return t}const F0=$0;function N_(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function kc(e,t,n,r,i){const{appear:s,mode:o,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:d,onLeave:h,onAfterLeave:_,onLeaveCancelled:p,onBeforeAppear:b,onAppear:v,onAfterAppear:y,onAppearCancelled:g}=t,m=String(e.key),E=N_(n,e),x=(M,$)=>{M&&gn(M,r,9,$)},L=(M,$)=>{const B=$[1];x(M,$),se(M)?M.every(F=>F.length<=1)&&B():M.length<=1&&B()},D={mode:o,persisted:a,beforeEnter(M){let $=l;if(!n.isMounted)if(s)$=b||l;else return;M[cr]&&M[cr](!0);const B=E[m];B&&ln(e,B)&&B.el[cr]&&B.el[cr](),x($,[M])},enter(M){let $=u,B=c,F=f;if(!n.isMounted)if(s)$=v||u,B=y||c,F=g||f;else return;let q=!1;const ie=M[wo]=oe=>{q||(q=!0,oe?x(F,[M]):x(B,[M]),D.delayedLeave&&D.delayedLeave(),M[wo]=void 0)};$?L($,[M,ie]):ie()},leave(M,$){const B=String(e.key);if(M[wo]&&M[wo](!0),n.isUnmounting)return $();x(d,[M]);let F=!1;const q=M[cr]=ie=>{F||(F=!0,$(),ie?x(p,[M]):x(_,[M]),M[cr]=void 0,E[B]===e&&delete E[B])};E[B]=e,h?L(h,[M,q]):q()},clone(M){const $=kc(M,t,n,r,i);return i&&i($),$}};return D}function Hl(e){if(ho(e))return e=er(e),e.children=null,e}function Id(e){if(!ho(e))return M_(e.type)&&e.children?D_(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ae(n.default))return n.default()}}function Di(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Di(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 H_(e,t=!1,n){let r=[],i=0;for(let s=0;s<e.length;s++){let o=e[s];const a=n==null?o.key:String(n)+String(o.key!=null?o.key:s);o.type===it?(o.patchFlag&128&&i++,r=r.concat(H_(o.children,t,a))):(t||o.type!==Qe)&&r.push(a!=null?er(o,{key:a}):o)}if(i>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function sn(e,t){return ae(e)?ct({name:e.name},t,{setup:e}):e}function lf(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function qs(e,t,n,r,i=!1){if(se(e)){e.forEach((_,p)=>qs(_,t&&(se(t)?t[p]:t),n,r,i));return}if(Er(r)&&!i){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&qs(e,t,n,r.component.subTree);return}const s=r.shapeFlag&4?ll(r.component):r.el,o=i?null:s,{i:a,r:l}=e,u=t&&t.r,c=a.refs===Oe?a.refs={}:a.refs,f=a.setupState,d=Ee(f),h=f===Oe?()=>!1:_=>Le(d,_);if(u!=null&&u!==l&&(We(u)?(c[u]=null,h(u)&&(f[u]=null)):qe(u)&&(u.value=null)),ae(l))fo(l,a,12,[o,c]);else{const _=We(l),p=qe(l);if(_||p){const b=()=>{if(e.f){const v=_?h(l)?f[l]:c[l]:l.value;i?se(v)&&Gu(v,s):se(v)?v.includes(s)||v.push(s):_?(c[l]=[s],h(l)&&(f[l]=c[l])):(l.value=[s],e.k&&(c[e.k]=l.value))}else _?(c[l]=o,h(l)&&(f[l]=o)):p&&(l.value=o,e.k&&(c[e.k]=o))};o?(b.id=-1,dt(b,n)):b()}}}let Td=!1;const gi=()=>{Td||(console.error("Hydration completed but contains mismatches."),Td=!0)},D0=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",N0=e=>e.namespaceURI.includes("MathML"),Eo=e=>{if(e.nodeType===1){if(D0(e))return"svg";if(N0(e))return"mathml"}},Ei=e=>e.nodeType===8;function H0(e){const{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:s,parentNode:o,remove:a,insert:l,createComment:u}}=e,c=(g,m)=>{if(!m.hasChildNodes()){n(null,g,m),aa(),m._vnode=g;return}f(m.firstChild,g,null,null,null),aa(),m._vnode=g},f=(g,m,E,x,L,D=!1)=>{D=D||!!m.dynamicChildren;const M=Ei(g)&&g.data==="[",$=()=>p(g,m,E,x,L,M),{type:B,ref:F,shapeFlag:q,patchFlag:ie}=m;let oe=g.nodeType;m.el=g,ie===-2&&(D=!1,m.dynamicChildren=null);let W=null;switch(B){case kr:oe!==3?m.children===""?(l(m.el=i(""),o(g),g),W=g):W=$():(g.data!==m.children&&(gi(),g.data=m.children),W=s(g));break;case Qe:y(g)?(W=s(g),v(m.el=g.content.firstChild,g,E)):oe!==8||M?W=$():W=s(g);break;case Ls:if(M&&(g=s(g),oe=g.nodeType),oe===1||oe===3){W=g;const ee=!m.children.length;for(let X=0;X<m.staticCount;X++)ee&&(m.children+=W.nodeType===1?W.outerHTML:W.data),X===m.staticCount-1&&(m.anchor=W),W=s(W);return M?s(W):W}else $();break;case it:M?W=_(g,m,E,x,L,D):W=$();break;default:if(q&1)(oe!==1||m.type.toLowerCase()!==g.tagName.toLowerCase())&&!y(g)?W=$():W=d(g,m,E,x,L,D);else if(q&6){m.slotScopeIds=L;const ee=o(g);if(M?W=b(g):Ei(g)&&g.data==="teleport start"?W=b(g,g.data,"teleport end"):W=s(g),t(m,ee,null,E,x,Eo(ee),D),Er(m)&&!m.type.__asyncResolved){let X;M?(X=He(it),X.anchor=W?W.previousSibling:ee.lastChild):X=g.nodeType===3?_f(""):He("div"),X.el=g,m.component.subTree=X}}else q&64?oe!==8?W=$():W=m.type.hydrate(g,m,E,x,L,D,e,h):q&128&&(W=m.type.hydrate(g,m,E,x,Eo(o(g)),L,D,e,f))}return F!=null&&qs(F,null,x,m),W},d=(g,m,E,x,L,D)=>{D=D||!!m.dynamicChildren;const{type:M,props:$,patchFlag:B,shapeFlag:F,dirs:q,transition:ie}=m,oe=M==="input"||M==="option";if(oe||B!==-1){q&&Sn(m,null,E,"created");let W=!1;if(y(g)){W=ov(null,ie)&&E&&E.vnode.props&&E.vnode.props.appear;const X=g.content.firstChild;W&&ie.beforeEnter(X),v(X,g,E),m.el=g=X}if(F&16&&!($&&($.innerHTML||$.textContent))){let X=h(g.firstChild,m,g,E,x,L,D);for(;X;){ko(g,1)||gi();const le=X;X=X.nextSibling,a(le)}}else if(F&8){let X=m.children;X[0]===`
15`&&(g.tagName==="PRE"||g.tagName==="TEXTAREA")&&(X=X.slice(1)),g.textContent!==X&&(ko(g,0)||gi(),g.textContent=m.children)}if($){if(oe||!D||B&48){const X=g.tagName.includes("-");for(const le in $)(oe&&(le.endsWith("value")||le==="indeterminate")||co(le)&&!Ti(le)||le[0]==="."||X)&&r(g,le,null,$[le],void 0,E)}else if($.onClick)r(g,"onClick",null,$.onClick,void 0,E);else if(B&4&&Qr($.style))for(const X in $.style)$.style[X]}let ee;(ee=$&&$.onVnodeBeforeMount)&&It(ee,E,m),q&&Sn(m,null,E,"beforeMount"),((ee=$&&$.onVnodeMounted)||q||W)&&hv(()=>{ee&&It(ee,E,m),W&&ie.enter(g),q&&Sn(m,null,E,"mounted")},x)}return g.nextSibling},h=(g,m,E,x,L,D,M)=>{M=M||!!m.dynamicChildren;const $=m.children,B=$.length;for(let F=0;F<B;F++){const q=M?$[F]:$[F]=Ht($[F]),ie=q.type===kr;g?(ie&&!M&&F+1<B&&Ht($[F+1]).type===kr&&(l(i(g.data.slice(q.children.length)),E,s(g)),g.data=q.children),g=f(g,q,x,L,D,M)):ie&&!q.children?l(q.el=i(""),E):(ko(E,1)||gi(),n(null,q,E,null,x,L,Eo(E),D))}return g},_=(g,m,E,x,L,D)=>{const{slotScopeIds:M}=m;M&&(L=L?L.concat(M):M);const $=o(g),B=h(s(g),m,$,E,x,L,D);return B&&Ei(B)&&B.data==="]"?s(m.anchor=B):(gi(),l(m.anchor=u("]"),$,B),B)},p=(g,m,E,x,L,D)=>{if(ko(g.parentElement,1)||gi(),m.el=null,D){const B=b(g);for(;;){const F=s(g);if(F&&F!==B)a(F);else break}}const M=s(g),$=o(g);return a(g),n(null,m,$,M,E,x,Eo($),L),E&&(E.vnode.el=m.el,al(E,m.el)),M},b=(g,m="[",E="]")=>{let x=0;for(;g;)if(g=s(g),g&&Ei(g)&&(g.data===m&&x++,g.data===E)){if(x===0)return s(g);x--}return g},v=(g,m,E)=>{const x=m.parentNode;x&&x.replaceChild(g,m);let L=E;for(;L;)L.vnode.el===m&&(L.vnode.el=L.subTree.el=g),L=L.parent},y=g=>g.nodeType===1&&g.tagName==="TEMPLATE";return[c,f]}const Ad="data-allow-mismatch",j0={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function ko(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Ad);)e=e.parentElement;const n=e&&e.getAttribute(Ad);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:n.split(",").includes(j0[t])}}Za().requestIdleCallback;Za().cancelIdleCallback;function U0(e,t){if(Ei(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(Ei(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const Er=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function cf(e){ae(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,hydrate:s,timeout:o,suspensible:a=!0,onError:l}=e;let u=null,c,f=0;const d=()=>(f++,u=null,h()),h=()=>{let _;return u||(_=u=t().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),l)return new Promise((b,v)=>{l(p,()=>b(d()),()=>v(p),f+1)});throw p}).then(p=>_!==u&&u?u:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),c=p,p)))};return sn({name:"AsyncComponentWrapper",__asyncLoader:h,__asyncHydrate(_,p,b){const v=s?()=>{const y=s(b,g=>U0(_,g));y&&(p.bum||(p.bum=[])).push(y)}:b;c?v():h().then(()=>!p.isUnmounted&&v())},get __asyncResolved(){return c},setup(){const _=st;if(lf(_),c)return()=>jl(c,_);const p=g=>{u=null,es(g,_,13,!r)};if(a&&_.suspense||Hi)return h().then(g=>()=>jl(g,_)).catch(g=>(p(g),()=>r?He(r,{error:g}):null));const b=Ye(!1),v=Ye(),y=Ye(!!i);return i&&setTimeout(()=>{y.value=!1},i),o!=null&&setTimeout(()=>{if(!b.value&&!v.value){const g=new Error(`Async component timed out after ${o}ms.`);p(g),v.value=g}},o),h().then(()=>{b.value=!0,_.parent&&ho(_.parent.vnode)&&_.parent.update()}).catch(g=>{p(g),v.value=g}),()=>{if(b.value&&c)return jl(c,_);if(v.value&&r)return He(r,{error:v.value});if(n&&!y.value)return He(n)}}})}function jl(e,t){const{ref:n,props:r,children:i,ce:s}=t.vnode,o=He(e,r,i);return o.ref=n,o.ce=s,delete t.vnode.ce,o}const ho=e=>e.type.__isKeepAlive,B0={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Rn(),r=n.ctx;if(!r.renderer)return()=>{const y=t.default&&t.default();return y&&y.length===1?y[0]:y};const i=new Map,s=new Set;let o=null;const a=n.suspense,{renderer:{p:l,m:u,um:c,o:{createElement:f}}}=r,d=f("div");r.activate=(y,g,m,E,x)=>{const L=y.component;u(y,g,m,0,a),l(L.vnode,y,g,m,L,a,E,y.slotScopeIds,x),dt(()=>{L.isDeactivated=!1,L.a&&Ai(L.a);const D=y.props&&y.props.onVnodeMounted;D&&It(D,L.parent,y)},a)},r.deactivate=y=>{const g=y.component;ua(g.m),ua(g.a),u(y,d,null,1,a),dt(()=>{g.da&&Ai(g.da);const m=y.props&&y.props.onVnodeUnmounted;m&&It(m,g.parent,y),g.isDeactivated=!0},a)};function h(y){Ul(y),c(y,n,a,!0)}function _(y){i.forEach((g,m)=>{const E=Pc(g.type);E&&!y(E)&&p(m)})}function p(y){const g=i.get(y);g&&(!o||!ln(g,o))?h(g):o&&Ul(o),i.delete(y),s.delete(y)}bt(()=>[e.include,e.exclude],([y,g])=>{y&&_(m=>gs(y,m)),g&&_(m=>!gs(g,m))},{flush:"post",deep:!0});let b=null;const v=()=>{b!=null&&(fa(n.subTree.type)?dt(()=>{i.set(b,So(n.subTree))},n.subTree.suspense):i.set(b,So(n.subTree)))};return di(v),B_(v),hi(()=>{i.forEach(y=>{const{subTree:g,suspense:m}=n,E=So(g);if(y.type===E.type&&y.key===E.key){Ul(E);const x=E.component.da;x&&dt(x,m);return}h(y)})}),()=>{if(b=null,!t.default)return o=null;const y=t.default(),g=y[0];if(y.length>1)return o=null,y;if(!ii(g)||!(g.shapeFlag&4)&&!(g.shapeFlag&128))return o=null,g;let m=So(g);if(m.type===Qe)return o=null,m;const E=m.type,x=Pc(Er(m)?m.type.__asyncResolved||{}:E),{include:L,exclude:D,max:M}=e;if(L&&(!x||!gs(L,x))||D&&x&&gs(D,x))return m.shapeFlag&=-257,o=m,g;const $=m.key==null?E:m.key,B=i.get($);return m.el&&(m=er(m),g.shapeFlag&128&&(g.ssContent=m)),b=$,B?(m.el=B.el,m.component=B.component,m.transition&&Di(m,m.transition),m.shapeFlag|=512,s.delete($),s.add($)):(s.add($),M&&s.size>parseInt(M,10)&&p(s.values().next().value)),m.shapeFlag|=256,o=m,fa(g.type)?g:m}}},V0=B0;function gs(e,t){return se(e)?e.some(n=>gs(n,t)):We(e)?e.split(",").includes(t):Bb(e)?(e.lastIndex=0,e.test(t)):!1}function uf(e,t){j_(e,"a",t)}function ff(e,t){j_(e,"da",t)}function j_(e,t,n=st){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(rl(t,r,n),n){let i=n.parent;for(;i&&i.parent;)ho(i.parent.vnode)&&q0(r,t,n,i),i=i.parent}}function q0(e,t,n,r){const i=rl(t,e,r,!0);il(()=>{Gu(r[t],i)},n)}function Ul(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function So(e){return e.shapeFlag&128?e.ssContent:e}function rl(e,t,n=st,r=!1){if(n){const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{Jn();const a=si(n),l=gn(t,n,e,o);return a(),Qn(),l});return r?i.unshift(s):i.push(s),s}}const nr=e=>(t,n=st)=>{(!Hi||e==="sp")&&rl(e,(...r)=>t(...r),n)},W0=nr("bm"),di=nr("m"),U_=nr("bu"),B_=nr("u"),hi=nr("bum"),il=nr("um"),K0=nr("sp"),z0=nr("rtg"),G0=nr("rtc");function V_(e,t=st){rl("ec",e,t)}const q_="components";function Rd(e,t){return K_(q_,e,!0,t)||e}const W_=Symbol.for("v-ndc");function Y0(e){return We(e)?K_(q_,e,!1)||e:e||W_}function K_(e,t,n=!0,r=!1){const i=ot||st;if(i){const s=i.type;{const a=Pc(s,!1);if(a&&(a===t||a===en(t)||a===Qa(en(t))))return s}const o=Pd(i[e]||s[e],t)||Pd(i.appContext[e],t);return!o&&r?s:o}}function Pd(e,t){return e&&(e[t]||e[en(t)]||e[Qa(en(t))])}function aO(e,t,n,r){let i;const s=n,o=se(e);if(o||We(e)){const a=o&&Qr(e);let l=!1,u=!1;a&&(l=!Yt(e),u=Zn(e),e=nl(e)),i=new Array(e.length);for(let c=0,f=e.length;c<f;c++)i[c]=t(l?u?ra(pt(e[c])):pt(e[c]):e[c],c,void 0,s)}else if(typeof e=="number"){i=new Array(e);for(let a=0;a<e;a++)i[a]=t(a+1,a,void 0,s)}else if(Re(e))if(e[Symbol.iterator])i=Array.from(e,(a,l)=>t(a,l,void 0,s));else{const a=Object.keys(e);i=new Array(a.length);for(let l=0,u=a.length;l<u;l++){const c=a[l];i[l]=t(e[c],c,l,s)}}else i=[];return i}function lO(e,t,n={},r,i){if(ot.ce||ot.parent&&Er(ot.parent)&&ot.parent.ce)return Kt(),qn(it,null,[He("slot",n,r&&r())],64);let s=e[t];s&&s._c&&(s._d=!1),Kt();const o=s&&z_(s(n)),a=n.key||o&&o.key,l=qn(it,{key:(a&&!pn(a)?a:`_${t}`)+(!o&&r?"_fb":"")},o||(r?r():[]),o&&e._===1?64:-2);return!i&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function z_(e){return e.some(t=>ii(t)?!(t.type===Qe||t.type===it&&!z_(t.children)):!0)?e:null}const Sc=e=>e?yv(e)?ll(e):Sc(e.parent):null,xs=ct(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=>Sc(e.parent),$root:e=>Sc(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Y_(e),$forceUpdate:e=>e.f||(e.f=()=>{af(e.update)}),$nextTick:e=>e.n||(e.n=ri.bind(e.proxy)),$watch:e=>gw.bind(e)}),Bl=(e,t)=>e!==Oe&&!e.__isScriptSetup&&Le(e,t),X0={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:i,props:s,accessCache:o,type:a,appContext:l}=e;let u;if(t[0]!=="$"){const h=o[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return s[t]}else{if(Bl(r,t))return o[t]=1,r[t];if(i!==Oe&&Le(i,t))return o[t]=2,i[t];if((u=e.propsOptions[0])&&Le(u,t))return o[t]=3,s[t];if(n!==Oe&&Le(n,t))return o[t]=4,n[t];Cc&&(o[t]=0)}}const c=xs[t];let f,d;if(c)return t==="$attrs"&&mt(e.attrs,"get",""),c(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==Oe&&Le(n,t))return o[t]=4,n[t];if(d=l.config.globalProperties,Le(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return Bl(i,t)?(i[t]=n,!0):r!==Oe&&Le(r,t)?(r[t]=n,!0):Le(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:s}},o){let a;return!!n[o]||e!==Oe&&Le(e,o)||Bl(t,o)||(a=s[0])&&Le(a,o)||Le(r,o)||Le(xs,o)||Le(i.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Le(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Od(e){return se(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function cO(e){const t=Rn();let n=e();return Ac(),Yu(n)&&(n=n.catch(r=>{throw si(t),r})),[n,()=>si(t)]}let Cc=!0;function J0(e){const t=Y_(e),n=e.proxy,r=e.ctx;Cc=!1,t.beforeCreate&&Md(t.beforeCreate,e,"bc");const{data:i,computed:s,methods:o,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:h,updated:_,activated:p,deactivated:b,beforeDestroy:v,beforeUnmount:y,destroyed:g,unmounted:m,render:E,renderTracked:x,renderTriggered:L,errorCaptured:D,serverPrefetch:M,expose:$,inheritAttrs:B,components:F,directives:q,filters:ie}=t;if(u&&Q0(u,r,null),o)for(const ee in o){const X=o[ee];ae(X)&&(r[ee]=X.bind(n))}if(i){const ee=i.call(n,n);Re(ee)&&(e.data=Tr(ee))}if(Cc=!0,s)for(const ee in s){const X=s[ee],le=ae(X)?X.bind(n,n):ae(X.get)?X.get.bind(n,n):dn,Pe=!ae(X)&&ae(X.set)?X.set.bind(n):dn,Fe=_e({get:le,set:Pe});Object.defineProperty(r,ee,{enumerable:!0,configurable:!0,get:()=>Fe.value,set:ue=>Fe.value=ue})}if(a)for(const ee in a)G_(a[ee],r,n,ee);if(l){const ee=ae(l)?l.call(n):l;Reflect.ownKeys(ee).forEach(X=>{ei(X,ee[X])})}c&&Md(c,e,"c");function W(ee,X){se(X)?X.forEach(le=>ee(le.bind(n))):X&&ee(X.bind(n))}if(W(W0,f),W(di,d),W(U_,h),W(B_,_),W(uf,p),W(ff,b),W(V_,D),W(G0,x),W(z0,L),W(hi,y),W(il,m),W(K0,M),se($))if($.length){const ee=e.exposed||(e.exposed={});$.forEach(X=>{Object.defineProperty(ee,X,{get:()=>n[X],set:le=>n[X]=le})})}else e.exposed||(e.exposed={});E&&e.render===dn&&(e.render=E),B!=null&&(e.inheritAttrs=B),F&&(e.components=F),q&&(e.directives=q),M&&lf(e)}function Q0(e,t,n=dn){se(e)&&(e=xc(e));for(const r in e){const i=e[r];let s;Re(i)?"default"in i?s=lt(i.from||r,i.default,!0):s=lt(i.from||r):s=lt(i),qe(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:o=>s.value=o}):t[r]=s}}function Md(e,t,n){gn(se(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function G_(e,t,n,r){let i=r.includes(".")?uv(n,r):()=>n[r];if(We(e)){const s=t[e];ae(s)&&bt(i,s)}else if(ae(e))bt(i,e.bind(n));else if(Re(e))if(se(e))e.forEach(s=>G_(s,t,n,r));else{const s=ae(e.handler)?e.handler.bind(n):t[e.handler];ae(s)&&bt(i,s,e)}}function Y_(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:s,config:{optionMergeStrategies:o}}=e.appContext,a=s.get(t);let l;return a?l=a:!i.length&&!n&&!r?l=t:(l={},i.length&&i.forEach(u=>ca(l,u,o,!0)),ca(l,t,o)),Re(t)&&s.set(t,l),l}function ca(e,t,n,r=!1){const{mixins:i,extends:s}=t;s&&ca(e,s,n,!0),i&&i.forEach(o=>ca(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const a=Z0[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const Z0={data:$d,props:Fd,emits:Fd,methods:_s,computed:_s,beforeCreate:kt,created:kt,beforeMount:kt,mounted:kt,beforeUpdate:kt,updated:kt,beforeDestroy:kt,beforeUnmount:kt,destroyed:kt,unmounted:kt,activated:kt,deactivated:kt,errorCaptured:kt,serverPrefetch:kt,components:_s,directives:_s,watch:tw,provide:$d,inject:ew};function $d(e,t){return t?e?function(){return ct(ae(e)?e.call(this,this):e,ae(t)?t.call(this,this):t)}:t:e}function ew(e,t){return _s(xc(e),xc(t))}function xc(e){if(se(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function kt(e,t){return e?[...new Set([].concat(e,t))]:t}function _s(e,t){return e?ct(Object.create(null),e,t):t}function Fd(e,t){return e?se(e)&&se(t)?[...new Set([...e,...t])]:ct(Object.create(null),Od(e),Od(t??{})):t}function tw(e,t){if(!e)return t;if(!t)return e;const n=ct(Object.create(null),e);for(const r in t)n[r]=kt(e[r],t[r]);return n}function X_(){return{app:null,config:{isNativeTag:jb,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 nw=0;function rw(e,t){return function(r,i=null){ae(r)||(r=ct({},r)),i!=null&&!Re(i)&&(i=null);const s=X_(),o=new WeakSet,a=[];let l=!1;const u=s.app={_uid:nw++,_component:r,_props:i,_container:null,_context:s,_instance:null,version:Nw,get config(){return s.config},set config(c){},use(c,...f){return o.has(c)||(c&&ae(c.install)?(o.add(c),c.install(u,...f)):ae(c)&&(o.add(c),c(u,...f))),u},mixin(c){return s.mixins.includes(c)||s.mixins.push(c),u},component(c,f){return f?(s.components[c]=f,u):s.components[c]},directive(c,f){return f?(s.directives[c]=f,u):s.directives[c]},mount(c,f,d){if(!l){const h=u._ceVNode||He(r,i);return h.appContext=s,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,ll(h.component)}},onUnmount(c){a.push(c)},unmount(){l&&(gn(a,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(c,f){return s.provides[c]=f,u},runWithContext(c){const f=Zr;Zr=u;try{return c()}finally{Zr=f}}};return u}}let Zr=null;function ei(e,t){if(st){let n=st.provides;const r=st.parent&&st.parent.provides;r===n&&(n=st.provides=Object.create(r)),n[e]=t}}function lt(e,t,n=!1){const r=st||ot;if(r||Zr){const i=Zr?Zr._context.provides:r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&ae(t)?t.call(r&&r.proxy):t}}function sl(){return!!(st||ot||Zr)}const J_={},Q_=()=>Object.create(J_),Z_=e=>Object.getPrototypeOf(e)===J_;function iw(e,t,n,r=!1){const i={},s=Q_();e.propsDefaults=Object.create(null),ev(e,t,i,s);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);n?e.props=r?i:Wn(i):e.type.props?e.props=i:e.props=s,e.attrs=s}function sw(e,t,n,r){const{props:i,attrs:s,vnode:{patchFlag:o}}=e,a=Ee(i),[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(ol(e.emitsOptions,d))continue;const h=t[d];if(l)if(Le(s,d))h!==s[d]&&(s[d]=h,u=!0);else{const _=en(d);i[_]=Lc(l,a,_,h,e,!1)}else h!==s[d]&&(s[d]=h,u=!0)}}}else{ev(e,t,i,s)&&(u=!0);let c;for(const f in a)(!t||!Le(t,f)&&((c=fi(f))===f||!Le(t,c)))&&(l?n&&(n[f]!==void 0||n[c]!==void 0)&&(i[f]=Lc(l,a,f,void 0,e,!0)):delete i[f]);if(s!==a)for(const f in s)(!t||!Le(t,f))&&(delete s[f],u=!0)}u&&Bn(e.attrs,"set","")}function ev(e,t,n,r){const[i,s]=e.propsOptions;let o=!1,a;if(t)for(let l in t){if(Ti(l))continue;const u=t[l];let c;i&&Le(i,c=en(l))?!s||!s.includes(c)?n[c]=u:(a||(a={}))[c]=u:ol(e.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,o=!0)}if(s){const l=Ee(n),u=a||Oe;for(let c=0;c<s.length;c++){const f=s[c];n[f]=Lc(i,l,f,u[f],e,!Le(u,f))}}return o}function Lc(e,t,n,r,i,s){const o=e[n];if(o!=null){const a=Le(o,"default");if(a&&r===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&ae(l)){const{propsDefaults:u}=i;if(n in u)r=u[n];else{const c=si(i);r=u[n]=l.call(null,t),c()}}else r=l;i.ce&&i.ce._setProp(n,r)}o[0]&&(s&&!a?r=!1:o[1]&&(r===""||r===fi(n))&&(r=!0))}return r}const ow=new WeakMap;function tv(e,t,n=!1){const r=n?ow:t.propsCache,i=r.get(e);if(i)return i;const s=e.props,o={},a=[];let l=!1;if(!ae(e)){const c=f=>{l=!0;const[d,h]=tv(f,t,!0);ct(o,d),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!s&&!l)return Re(e)&&r.set(e,Li),Li;if(se(s))for(let c=0;c<s.length;c++){const f=en(s[c]);Dd(f)&&(o[f]=Oe)}else if(s)for(const c in s){const f=en(c);if(Dd(f)){const d=s[c],h=o[f]=se(d)||ae(d)?{type:d}:ct({},d),_=h.type;let p=!1,b=!0;if(se(_))for(let v=0;v<_.length;++v){const y=_[v],g=ae(y)&&y.name;if(g==="Boolean"){p=!0;break}else g==="String"&&(b=!1)}else p=ae(_)&&_.name==="Boolean";h[0]=p,h[1]=b,(p||Le(h,"default"))&&a.push(f)}}const u=[o,a];return Re(e)&&r.set(e,u),u}function Dd(e){return e[0]!=="$"&&!Ti(e)}const df=e=>e[0]==="_"||e==="$stable",hf=e=>se(e)?e.map(Ht):[Ht(e)],aw=(e,t,n)=>{if(t._n)return t;const r=Vs((...i)=>hf(t(...i)),n);return r._c=!1,r},nv=(e,t,n)=>{const r=e._ctx;for(const i in e){if(df(i))continue;const s=e[i];if(ae(s))t[i]=aw(i,s,r);else if(s!=null){const o=hf(s);t[i]=()=>o}}},rv=(e,t)=>
vendor: 4,702 bytes, line 15
15{const n=hf(t);e.slots.default=()=>n},iv=(e,t,n)=>{for(const r in t)(n||!df(r))&&(e[r]=t[r])},lw=(e,t,n)=>{const r=e.slots=Q_();if(e.vnode.shapeFlag&32){const i=t._;i?(iv(r,t,n),n&&s_(r,"_",i,!0)):nv(t,r)}else t&&rv(e,t)},cw=(e,t,n)=>{const{vnode:r,slots:i}=e;let s=!0,o=Oe;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:iv(i,t,n):(s=!t.$stable,nv(t,i)),o=t}else t&&(rv(e,t),o={default:1});if(s)for(const a in i)!df(a)&&o[a]==null&&delete i[a]},dt=hv;function uw(e){return sv(e)}function fw(e){return sv(e,H0)}function sv(e,t){const n=Za();n.__VUE__=!0;const{insert:r,remove:i,patchProp:s,createElement:o,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:h=dn,insertStaticContent:_}=e,p=(k,C,A,U=null,N=null,w=null,S=void 0,T=null,O=!!C.dynamicChildren)=>{if(k===C)return;k&&!ln(k,C)&&(U=H(k),ue(k,N,w,!0),k=null),C.patchFlag===-2&&(O=!1,C.dynamicChildren=null);const{type:j,ref:V,shapeFlag:I}=C;switch(j){case kr:b(k,C,A,U);break;case Qe:v(k,C,A,U);break;case Ls:k==null&&y(C,A,U,S);break;case it:F(k,C,A,U,N,w,S,T,O);break;default:I&1?E(k,C,A,U,N,w,S,T,O):I&6?q(k,C,A,U,N,w,S,T,O):(I&64||I&128)&&j.process(k,C,A,U,N,w,S,T,O,J)}V!=null&&N&&qs(V,k&&k.ref,w,C||k,!C)},b=(k,C,A,U)=>{if(k==null)r(C.el=a(C.children),A,U);else{const N=C.el=k.el;C.children!==k.children&&u(N,C.children)}},v=(k,C,A,U)=>{k==null?r(C.el=l(C.children||""),A,U):C.el=k.el},y=(k,C,A,U)=>{[k.el,k.anchor]=_(k.children,C,A,U,k.el,k.anchor)},g=({el:k,anchor:C},A,U)=>{let N;for(;k&&k!==C;)N=d(k),r(k,A,U),k=N;r(C,A,U)},m=({el:k,anchor:C})=>{let A;for(;k&&k!==C;)A=d(k),i(k),k=A;i(C)},E=(k,C,A,U,N,w,S,T,O)=>{C.type==="svg"?S="svg":C.type==="math"&&(S="mathml"),k==null?x(C,A,U,N,w,S,T,O):M(k,C,N,w,S,T,O)},x=(k,C,A,U,N,w,S,T)=>{let O,j;const{props:V,shapeFlag:I,transition:R,dirs:Y}=k;if(O=k.el=o(k.type,w,V&&V.is,V),I&8?c(O,k.children):I&16&&D(k.children,O,null,U,N,Vl(k,w),S,T),Y&&Sn(k,null,U,"created"),L(O,k,k.scopeId,S,U),V){for(const he in V)he!=="value"&&!Ti(he)&&s(O,he,null,V[he],w,U);"value"in V&&s(O,"value",null,V.value,w),(j=V.onVnodeBeforeMount)&&It(j,U,k)}Y&&Sn(k,null,U,"beforeMount");const re=ov(N,R);re&&R.beforeEnter(O),r(O,C,A),((j=V&&V.onVnodeMounted)||re||Y)&&dt(()=>{j&&It(j,U,k),re&&R.enter(O),Y&&Sn(k,null,U,"mounted")},N)},L=(k,C,A,U,N)=>{if(A&&h(k,A),U)for(let w=0;w<U.length;w++)h(k,U[w]);if(N){let w=N.subTree;if(C===w||fa(w.type)&&(w.ssContent===C||w.ssFallback===C)){const S=N.vnode;L(k,S,S.scopeId,S.slotScopeIds,N.parent)}}},D=(k,C,A,U,N,w,S,T,O=0)=>{for(let j=O;j<k.length;j++){const V=k[j]=T?ur(k[j]):Ht(k[j]);p(null,V,C,A,U,N,w,S,T)}},M=(k,C,A,U,N,w,S)=>{const T=C.el=k.el;let{patchFlag:O,dynamicChildren:j,dirs:V}=C;O|=k.patchFlag&16;const I=k.props||Oe,R=C.props||Oe;let Y;if(A&&Fr(A,!1),(Y=R.onVnodeBeforeUpdate)&&It(Y,A,C,k),V&&Sn(C,k,A,"beforeUpdate"),A&&Fr(A,!0),(I.innerHTML&&R.innerHTML==null||I.textContent&&R.textContent==null)&&c(T,""),j?$(k.dynamicChildren,j,T,A,U,Vl(C,N),w):S||X(k,C,T,null,A,U,Vl(C,N),w,!1),O>0){if(O&16)B(T,I,R,A,N);else if(O&2&&I.class!==R.class&&s(T,"class",null,R.class,N),O&4&&s(T,"style",I.style,R.style,N),O&8){const re=C.dynamicProps;for(let he=0;he<re.length;he++){const me=re[he],Xe=I[me],at=R[me];(at!==Xe||me==="value")&&s(T,me,Xe,at,N,A)}}O&1&&k.children!==C.children&&c(T,C.children)}else!S&&j==null&&B(T,I,R,A,N);((Y=R.onVnodeUpdated)||V)&&dt(()=>{Y&&It(Y,A,C,k),V&&Sn(C,k,A,"updated")},U)},$=(k,C,A,U,N,w,S)=>{for(let T=0;T<C.length;T++){const O=k[T],j=C[T],V=O.el&&(O.type===it||!ln(O,j)||O.shapeFlag&70)?f(O.el):A;p(O,j,V,null,U,N,w,S,!0)}},B=(k,C,A,U,N)=>{if(C!==A){if(C!==Oe)for(const w in C)!Ti(w)&&!(w in A)&&s(k,w,C[w],null,N,U);for(const w in A){if(Ti(w))continue;const S=A[w],T=C[w];S!==T&&w!=="value"&&s(k,w,T,S,N,U)}"value"in A&&s(k,"value",C.value,A.value,N)}},F=(k,C,A,U,N,w,S,T,O)=>{const j=C.el=k?k.el:a(""),V=C.anchor=k?k.anchor:a("");let{patchFlag:I,dynamicChildren:R,slotScopeIds:Y}=C;Y&&(T=T?T.concat(Y):Y),k==null?(r(j,A,U),r(V,A,U),D(C.children||[],A,V,N,w,S,T,O)):I>0&&I&64&&R&&k.dynamicChildren?($(k.dynamicChildren,R,A,N,w,S,T),(C.key!=null||N&&C===N.subTree)&&av(k,C,!0)):X(k,C,A,V,N,w,S,T,O)},q=(k,C,A,U,N,w,S,T,O)=>{C.slotScopeIds=T,k==null?C.shapeFlag&512?N.ctx.activate(C,A,U,S,O):ie(C,A,U,N,w,S,O):oe(k,C,O)},ie=(k,C,A,U,N,w,S)=>{const T=k.component=Pw(k,U,N);if(ho(k)&&(T.ctx.renderer=J),Ow(T,!1,S),T.asyncDep){if(N&&N.registerDep(T,W,S),!k.el){const O=T.subTree=He(Qe);v(null,O,C,A)}}else W(T,k,C,A,N,w,S)},oe=(k,C,A)=>{const U=C.component=k.component;if(ww(k,C,A))if(U.asyncDep&&!U.asyncResolved){ee(U,C,A);return}else U.next=C,U.update();else C.el=k.el,U.vnode=C},W=(k,C,A,U,N,w,S)=>{const T=()=>{if(k.isMounted){let{next:I,bu:R,u:Y,parent:re,vnode:he}=k;{const Dt=lv(k);
vendor: 9,797 bytes, line 15
15if(Dt){I&&(I.el=he.el,ee(k,I,S)),Dt.asyncDep.then(()=>{k.isUnmounted||T()});return}}let me=I,Xe;Fr(k,!1),I?(I.el=he.el,ee(k,I,S)):I=he,R&&Ai(R),(Xe=I.props&&I.props.onVnodeBeforeUpdate)&&It(Xe,re,I,he),Fr(k,!0);const at=ql(k),Vt=k.subTree;k.subTree=at,p(Vt,at,f(Vt.el),H(Vt),k,N,w),I.el=at.el,me===null&&al(k,at.el),Y&&dt(Y,N),(Xe=I.props&&I.props.onVnodeUpdated)&&dt(()=>It(Xe,re,I,he),N)}else{let I;const{el:R,props:Y}=C,{bm:re,m:he,parent:me,root:Xe,type:at}=k,Vt=Er(C);if(Fr(k,!1),re&&Ai(re),!Vt&&(I=Y&&Y.onVnodeBeforeMount)&&It(I,me,C),Fr(k,!0),R&&be){const Dt=()=>{k.subTree=ql(k),be(R,k.subTree,k,N,null)};Vt&&at.__asyncHydrate?at.__asyncHydrate(R,k,Dt):Dt()}else{Xe.ce&&Xe.ce._injectChildStyle(at);const Dt=k.subTree=ql(k);p(null,Dt,A,U,k,N,w),C.el=Dt.el}if(he&&dt(he,N),!Vt&&(I=Y&&Y.onVnodeMounted)){const Dt=C;dt(()=>It(I,me,Dt),N)}(C.shapeFlag&256||me&&Er(me.vnode)&&me.vnode.shapeFlag&256)&&k.a&&dt(k.a,N),k.isMounted=!0,C=A=U=null}};k.scope.on();const O=k.effect=new d_(T);k.scope.off();const j=k.update=O.run.bind(O),V=k.job=O.runIfDirty.bind(O);V.i=k,V.id=k.uid,O.scheduler=()=>af(V),Fr(k,!0),j()},ee=(k,C,A)=>{C.component=k;const U=k.vnode.props;k.vnode=C,k.next=null,sw(k,C.props,U,A),cw(k,C.children,A),Jn(),Ld(k),Qn()},X=(k,C,A,U,N,w,S,T,O=!1)=>{const j=k&&k.children,V=k?k.shapeFlag:0,I=C.children,{patchFlag:R,shapeFlag:Y}=C;if(R>0){if(R&128){Pe(j,I,A,U,N,w,S,T,O);return}else if(R&256){le(j,I,A,U,N,w,S,T,O);return}}Y&8?(V&16&&Se(j,N,w),I!==j&&c(A,I)):V&16?Y&16?Pe(j,I,A,U,N,w,S,T,O):Se(j,N,w,!0):(V&8&&c(A,""),Y&16&&D(I,A,U,N,w,S,T,O))},le=(k,C,A,U,N,w,S,T,O)=>{k=k||Li,C=C||Li;const j=k.length,V=C.length,I=Math.min(j,V);let R;for(R=0;R<I;R++){const Y=C[R]=O?ur(C[R]):Ht(C[R]);p(k[R],Y,A,null,N,w,S,T,O)}j>V?Se(k,N,w,!0,!1,I):D(C,A,U,N,w,S,T,O,I)},Pe=(k,C,A,U,N,w,S,T,O)=>{let j=0;const V=C.length;let I=k.length-1,R=V-1;for(;j<=I&&j<=R;){const Y=k[j],re=C[j]=O?ur(C[j]):Ht(C[j]);if(ln(Y,re))p(Y,re,A,null,N,w,S,T,O);else break;j++}for(;j<=I&&j<=R;){const Y=k[I],re=C[R]=O?ur(C[R]):Ht(C[R]);if(ln(Y,re))p(Y,re,A,null,N,w,S,T,O);else break;I--,R--}if(j>I){if(j<=R){const Y=R+1,re=Y<V?C[Y].el:U;for(;j<=R;)p(null,C[j]=O?ur(C[j]):Ht(C[j]),A,re,N,w,S,T,O),j++}}else if(j>R)for(;j<=I;)ue(k[j],N,w,!0),j++;else{const Y=j,re=j,he=new Map;for(j=re;j<=R;j++){const Nt=C[j]=O?ur(C[j]):Ht(C[j]);Nt.key!=null&&he.set(Nt.key,j)}let me,Xe=0;const at=R-re+1;let Vt=!1,Dt=0;const ts=new Array(at);for(j=0;j<at;j++)ts[j]=0;for(j=Y;j<=I;j++){const Nt=k[j];if(Xe>=at){ue(Nt,N,w,!0);continue}let mn;if(Nt.key!=null)mn=he.get(Nt.key);else for(me=re;me<=R;me++)if(ts[me-re]===0&&ln(Nt,C[me])){mn=me;break}mn===void 0?ue(Nt,N,w,!0):(ts[mn-re]=j+1,mn>=Dt?Dt=mn:Vt=!0,p(Nt,C[mn],A,null,N,w,S,T,O),Xe++)}const yd=Vt?dw(ts):Li;for(me=yd.length-1,j=at-1;j>=0;j--){const Nt=re+j,mn=C[Nt],bd=Nt+1<V?C[Nt+1].el:U;ts[j]===0?p(null,mn,A,bd,N,w,S,T,O):Vt&&(me<0||j!==yd[me]?Fe(mn,A,bd,2):me--)}}},Fe=(k,C,A,U,N=null)=>{const{el:w,type:S,transition:T,children:O,shapeFlag:j}=k;if(j&6){Fe(k.component.subTree,C,A,U);return}if(j&128){k.suspense.move(C,A,U);return}if(j&64){S.move(k,C,A,J);return}if(S===it){r(w,C,A);for(let I=0;I<O.length;I++)Fe(O[I],C,A,U);r(k.anchor,C,A);return}if(S===Ls){g(k,C,A);return}if(U!==2&&j&1&&T)if(U===0)T.beforeEnter(w),r(w,C,A),dt(()=>T.enter(w),N);else{const{leave:I,delayLeave:R,afterLeave:Y}=T,re=()=>{k.ctx.isUnmounted?i(w):r(w,C,A)},he=()=>{I(w,()=>{re(),Y&&Y()})};R?R(w,re,he):he()}else r(w,C,A)},ue=(k,C,A,U=!1,N=!1)=>{const{type:w,props:S,ref:T,children:O,dynamicChildren:j,shapeFlag:V,patchFlag:I,dirs:R,cacheIndex:Y}=k;if(I===-2&&(N=!1),T!=null&&(Jn(),qs(T,null,A,k,!0),Qn()),Y!=null&&(C.renderCache[Y]=void 0),V&256){C.ctx.deactivate(k);return}const re=V&1&&R,he=!Er(k);let me;if(he&&(me=S&&S.onVnodeBeforeUnmount)&&It(me,C,k),V&6)Ue(k.component,A,U);else{if(V&128){k.suspense.unmount(A,U);return}re&&Sn(k,null,C,"beforeUnmount"),V&64?k.type.remove(k,C,A,J,U):j&&!j.hasOnce&&(w!==it||I>0&&I&64)?Se(j,C,A,!1,!0):(w===it&&I&384||!N&&V&16)&&Se(O,C,A),U&&Te(k)}(he&&(me=S&&S.onVnodeUnmounted)||re)&&dt(()=>{me&&It(me,C,k),re&&Sn(k,null,C,"unmounted")},A)},Te=k=>{const{type:C,el:A,anchor:U,transition:N}=k;if(C===it){ke(A,U);return}if(C===Ls){m(k);return}const w=()=>{i(A),N&&!N.persisted&&N.afterLeave&&N.afterLeave()};if(k.shapeFlag&1&&N&&!N.persisted){const{leave:S,delayLeave:T}=N,O=()=>S(A,w);T?T(k.el,w,O):O()}else w()},ke=(k,C)=>{let A;for(;k!==C;)A=d(k),i(k),k=A;i(C)},Ue=(k,C,A)=>{const{bum:U,scope:N,job:w,subTree:S,um:T,m:O,a:j,parent:V,slots:{__:I}}=k;ua(O),ua(j),U&&Ai(U),V&&se(I)&&I.forEach(R=>{V.renderCache[R]=void 0}),N.stop(),w&&(w.flags|=8,ue(S,k,C,A)),T&&dt(T,C),dt(()=>{k.isUnmounted=!0},C),C&&C.pendingBranch&&!C.isUnmounted&&k.asyncDep&&!k.asyncResolved&&k.suspenseId===C.pendingId&&(C.deps--,C.deps===0&&C.resolve())},Se=(k,C,A,U=!1,N=!1,w=0)=>{for(let S=w;S<k.length;S++)ue(k[S],C,A,U,N)},H=k=>{if(k.shapeFlag&6)return H(k.component.subTree);if(k.shapeFlag&128)return k.suspense.next();const C=d(k.anchor||k.el),A=C&&C[O0];return A?d(A):C};let z=!1;const K=(k,C,A)=>{k==null?C._vnode&&ue(C._vnode,null,null,!0):p(C._vnode||null,k,C,null,null,null,A),C._vnode=k,z||(z=!0,Ld(),aa(),z=!1)},J={p,um:ue,m:Fe,r:Te,mt:ie,mc:D,pc:X,pbc:$,n:H,o:e};let fe,be;return t&&([fe,be]=t(J)),{render:K,hydrate:fe,createApp:rw(K,fe)}}function Vl({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Fr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ov(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function av(e,t,n=!1){const r=e.children,i=t.children;if(se(r)&&se(i))for(let s=0;s<r.length;s++){const o=r[s];let a=i[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[s]=ur(i[s]),a.el=o.el),!n&&a.patchFlag!==-2&&av(o,a)),a.type===kr&&(a.el=o.el),a.type===Qe&&!a.el&&(a.el=o.el)}}function dw(e){const t=e.slice(),n=[0];let r,i,s,o,a;const l=e.length;for(r=0;r<l;r++){const u=e[r];if(u!==0){if(i=n[n.length-1],e[i]<u){t[r]=i,n.push(r);continue}for(s=0,o=n.length-1;s<o;)a=s+o>>1,e[n[a]]<u?s=a+1:o=a;u<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,o=n[s-1];s-- >0;)n[s]=o,o=t[o];return n}function lv(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:lv(t)}function ua(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const hw=Symbol.for("v-scx"),pw=()=>lt(hw);function cv(e,t){return pf(e,null,t)}function bt(e,t,n){return pf(e,t,n)}function pf(e,t,n=Oe){const{immediate:r,deep:i,flush:s,once:o}=n,a=ct({},n),l=t&&r||!t&&s!=="post";let u;if(Hi){if(s==="sync"){const h=pw();u=h.__watcherHandles||(h.__watcherHandles=[])}else if(!l){const h=()=>{};return h.stop=dn,h.resume=dn,h.pause=dn,h}}const c=st;a.call=(h,_,p)=>gn(h,c,_,p);let f=!1;s==="post"?a.scheduler=h=>{dt(h,c&&c.suspense)}:s!=="sync"&&(f=!0,a.scheduler=(h,_)=>{_?h():af(h)}),a.augmentJob=h=>{t&&(h.flags|=4),f&&(h.flags|=2,c&&(h.id=c.uid,h.i=c))};const d=A0(e,t,a);return Hi&&(u?u.push(d):l&&d()),d}function gw(e,t,n){const r=this.proxy,i=We(e)?e.includes(".")?uv(r,e):()=>r[e]:e.bind(r,r);let s;ae(t)?s=t:(s=t.handler,n=t);const o=si(this),a=pf(i,s.bind(r),n);return o(),a}function uv(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i<n.length&&r;i++)r=r[n[i]];return r}}const _w=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${en(t)}Modifiers`]||e[`${fi(t)}Modifiers`];function vw(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Oe;let i=n;const s=t.startsWith("update:"),o=s&&_w(r,t.slice(7));o&&(o.trim&&(i=n.map(c=>We(c)?c.trim():c)),o.number&&(i=n.map(Kb)));let a,l=r[a=Ml(t)]||r[a=Ml(en(t))];!l&&s&&(l=r[a=Ml(fi(t))]),l&&gn(l,e,6,i);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,gn(u,e,6,i)}}function fv(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const s=e.emits;let o={},a=!1;if(!ae(e)){const l=u=>{const c=fv(u,t,!0);c&&(a=!0,ct(o,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(Re(e)&&r.set(e,null),null):(se(s)?s.forEach(l=>o[l]=null):ct(o,s),Re(e)&&r.set(e,o),o)}function ol(e,t){return!e||!co(t)?!1:(t=t.slice(2).replace(/Once$/,""),Le(e,t[0].toLowerCase()+t.slice(1))||Le(e,fi(t))||Le(e,t))}function ql(e){const{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[s],slots:o,attrs:a,emit:l,render:u,renderCache:c,props:f,data:d,setupState:h,ctx:_,inheritAttrs:p}=e,b=la(e);let v,y;try{if(n.shapeFlag&4){const m=i||r,E=m;v=Ht(u.call(E,m,c,f,h,d,_)),y=a}else{const m=t;v=Ht(m.length>1?m(f,{attrs:a,slots:o,emit:l}):m(f,null)),y=t.props?a:yw(a)}}catch(m){Is.length=0,es(m,e,1),v=He(Qe)}let g=v;if(y&&p!==!1){const m=Object.keys(y),{shapeFlag:E}=g;m.length&&E&7&&(s&&m.some(zu)&&(y=bw(y,s)),g=er(g,y,!1,!0))}return n.dirs&&(g=er(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&Di(g,n.transition),v=g,la(b),v}function mw(e,t=!0){let n;for(let r=0;r<e.length;r++){const i=e[r];if(ii(i)){if(i.type!==Qe||i.children==="v-if"){if(n)return;n=i}}else return}return n}const yw=e=>{let t;for(const n in e)(n==="class"||n==="style"||co(n))&&((t||(t={}))[n]=e[n]);return t},bw=(e,t)=>{const n={};for(const r in e)(!zu(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function ww(e,t,n){const{props:r,children:i,component:s}=e,{props:o,children:a,patchFlag:l}=t,u=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Nd(r,o,u):!!o;if(l&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const d=c[f];if(o[d]!==r[d]&&!ol(u,d))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:r===o?!1:r?o?Nd(r,o,u):!0:!!o;return!1}function Nd(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){const s=r[i];
vendor: 4,924 bytes, line 15
15if(t[s]!==e[s]&&!ol(n,s))return!0}return!1}function al({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const fa=e=>e.__isSuspense;let Ic=0;const Ew={name:"Suspense",__isSuspense:!0,process(e,t,n,r,i,s,o,a,l,u){if(e==null)kw(t,n,r,i,s,o,a,l,u);else{if(s&&s.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}Sw(e,t,n,r,i,o,a,l,u)}},hydrate:Cw,normalize:xw},gf=Ew;function Ws(e,t){const n=e.props&&e.props[t];ae(n)&&n()}function kw(e,t,n,r,i,s,o,a,l){const{p:u,o:{createElement:c}}=l,f=c("div"),d=e.suspense=dv(e,i,r,t,f,n,s,o,a,l);u(null,d.pendingBranch=e.ssContent,f,null,r,d,s,o),d.deps>0?(Ws(e,"onPending"),Ws(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,s,o),Pi(d,e.ssFallback)):d.resolve(!1,!0)}function Sw(e,t,n,r,i,s,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:_,pendingBranch:p,isInFallback:b,isHydrating:v}=f;if(p)f.pendingBranch=d,ln(d,p)?(l(p,d,f.hiddenContainer,null,i,f,s,o,a),f.deps<=0?f.resolve():b&&(v||(l(_,h,n,r,i,null,s,o,a),Pi(f,h)))):(f.pendingId=Ic++,v?(f.isHydrating=!1,f.activeBranch=p):u(p,i,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),b?(l(null,d,f.hiddenContainer,null,i,f,s,o,a),f.deps<=0?f.resolve():(l(_,h,n,r,i,null,s,o,a),Pi(f,h))):_&&ln(d,_)?(l(_,d,n,r,i,f,s,o,a),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,i,f,s,o,a),f.deps<=0&&f.resolve()));else if(_&&ln(d,_))l(_,d,n,r,i,f,s,o,a),Pi(f,d);else if(Ws(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=Ic++,l(null,d,f.hiddenContainer,null,i,f,s,o,a),f.deps<=0)f.resolve();else{const{timeout:y,pendingId:g}=f;y>0?setTimeout(()=>{f.pendingId===g&&f.fallback(h)},y):y===0&&f.fallback(h)}}function dv(e,t,n,r,i,s,o,a,l,u,c=!1){const{p:f,m:d,um:h,n:_,o:{parentNode:p,remove:b}}=u;let v;const y=Lw(e);y&&t&&t.pendingBranch&&(v=t.pendingId,t.deps++);const g=e.props?o_(e.props.timeout):void 0,m=s,E={vnode:e,parent:t,parentComponent:n,namespace:o,container:r,hiddenContainer:i,deps:0,pendingId:Ic++,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(x=!1,L=!1){const{vnode:D,activeBranch:M,pendingBranch:$,pendingId:B,effects:F,parentComponent:q,container:ie}=E;let oe=!1;E.isHydrating?E.isHydrating=!1:x||(oe=M&&$.transition&&$.transition.mode==="out-in",oe&&(M.transition.afterLeave=()=>{B===E.pendingId&&(d($,ie,s===m?_(M):s,0),oa(F))}),M&&(p(M.el)===ie&&(s=_(M)),h(M,q,E,!0)),oe||d($,ie,s,0)),Pi(E,$),E.pendingBranch=null,E.isInFallback=!1;let W=E.parent,ee=!1;for(;W;){if(W.pendingBranch){W.effects.push(...F),ee=!0;break}W=W.parent}!ee&&!oe&&oa(F),E.effects=[],y&&t&&t.pendingBranch&&v===t.pendingId&&(t.deps--,t.deps===0&&!L&&t.resolve()),Ws(D,"onResolve")},fallback(x){if(!E.pendingBranch)return;const{vnode:L,activeBranch:D,parentComponent:M,container:$,namespace:B}=E;Ws(L,"onFallback");const F=_(D),q=()=>{E.isInFallback&&(f(null,x,$,F,M,null,B,a,l),Pi(E,x))},ie=x.transition&&x.transition.mode==="out-in";ie&&(D.transition.afterLeave=q),E.isInFallback=!0,h(D,M,null,!0),ie||q()},move(x,L,D){E.activeBranch&&d(E.activeBranch,x,L,D),E.container=x},next(){return E.activeBranch&&_(E.activeBranch)},registerDep(x,L,D){const M=!!E.pendingBranch;M&&E.deps++;const $=x.vnode.el;x.asyncDep.catch(B=>{es(B,x,0)}).then(B=>{if(x.isUnmounted||E.isUnmounted||E.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:F}=x;Rc(x,B),$&&(F.el=$);const q=!$&&x.subTree.el;L(x,F,p($||x.subTree.el),$?null:_(x.subTree),E,o,D),q&&b(q),al(x,F.el),M&&--E.deps===0&&E.resolve()})},unmount(x,L){E.isUnmounted=!0,E.activeBranch&&h(E.activeBranch,n,x,L),E.pendingBranch&&h(E.pendingBranch,n,x,L)}};return E}function Cw(e,t,n,r,i,s,o,a,l){const u=t.suspense=dv(t,r,n,e.parentNode,document.createElement("div"),null,i,s,o,a,!0),c=l(e,u.pendingBranch=t.ssContent,n,u,s,o);return u.deps===0&&u.resolve(!1,!0),c}function xw(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Hd(r?n.default:n),e.ssFallback=r?Hd(n.fallback):He(Qe)}function Hd(e){let t;if(ae(e)){const n=Ni&&e._c;n&&(e._d=!1,Kt()),e=e(),n&&(e._d=!0,t=Pt,pv())}return se(e)&&(e=mw(e)),e=Ht(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function hv(e,t){t&&t.pendingBranch?se(e)?t.effects.push(...e):t.effects.push(e):oa(e)}function Pi(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;n.el=i,r&&r.subTree===n&&(r.vnode.el=i,al(r,i))}function Lw(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const it=Symbol.for("v-fgt"),kr=Symbol.for("v-txt"),Qe=Symbol.for("v-cmt"),Ls=Symbol.for("v-stc"),Is=[];let Pt=null;function Kt(e=!1){Is.push(Pt=e?null:[])}function pv(){Is.pop(),Pt=Is[Is.length-1]||null}let Ni=1;
vendor: 4,202 bytes, line 15
15function jd(e,t=!1){Ni+=e,e<0&&Pt&&t&&(Pt.hasOnce=!0)}function gv(e){return e.dynamicChildren=Ni>0?Pt||Li:null,pv(),Ni>0&&Pt&&Pt.push(e),e}function _v(e,t,n,r,i,s){return gv(Ct(e,t,n,r,i,s,!0))}function qn(e,t,n,r,i){return gv(He(e,t,n,r,i,!0))}function ii(e){return e?e.__v_isVNode===!0:!1}function ln(e,t){return e.type===t.type&&e.key===t.key}const vv=({key:e})=>e??null,Ko=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?We(e)||qe(e)||ae(e)?{i:ot,r:e,k:t,f:!!n}:e:null);function Ct(e,t=null,n=null,r=0,i=null,s=e===it?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&vv(t),ref:t&&Ko(t),scopeId:O_,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:ot};return a?(vf(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=We(n)?8:16),Ni>0&&!o&&Pt&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Pt.push(l),l}const He=Iw;function Iw(e,t=null,n=null,r=0,i=null,s=!1){if((!e||e===W_)&&(e=Qe),ii(e)){const a=er(e,t,!0);return n&&vf(a,n),Ni>0&&!s&&Pt&&(a.shapeFlag&6?Pt[Pt.indexOf(e)]=a:Pt.push(a)),a.patchFlag=-2,a}if(Dw(e)&&(e=e.__vccOpts),t){t=Tw(t);let{class:a,style:l}=t;a&&!We(a)&&(t.class=Qu(a)),Re(l)&&(of(l)&&!se(l)&&(l=ct({},l)),t.style=Ju(l))}const o=We(e)?1:fa(e)?128:M_(e)?64:Re(e)?4:ae(e)?2:0;return Ct(e,t,n,r,i,o,s,!0)}function Tw(e){return e?of(e)||Z_(e)?ct({},e):e:null}function er(e,t,n=!1,r=!1){const{props:i,ref:s,patchFlag:o,children:a,transition:l}=e,u=t?mv(i||{},t):i,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&vv(u),ref:t&&t.ref?n&&s?se(s)?s.concat(Ko(t)):[s,Ko(t)]:Ko(t):s,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!==it?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&&er(e.ssContent),ssFallback:e.ssFallback&&er(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Di(c,l.clone(c)),c}function _f(e=" ",t=0){return He(kr,null,e,t)}function uO(e="",t=!1){return t?(Kt(),qn(Qe,null,e)):He(Qe,null,e)}function Ht(e){return e==null||typeof e=="boolean"?He(Qe):se(e)?He(it,null,e.slice()):ii(e)?ur(e):He(kr,null,String(e))}function ur(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:er(e)}function vf(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(se(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),vf(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!Z_(t)?t._ctx=ot:i===3&&ot&&(ot.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ae(t)?(t={default:t,_ctx:ot},n=32):(t=String(t),r&64?(n=16,t=[_f(t)]):n=8);e.children=t,e.shapeFlag|=n}function mv(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const i in r)if(i==="class")t.class!==r.class&&(t.class=Qu([t.class,r.class]));else if(i==="style")t.style=Ju([t.style,r.style]);else if(co(i)){const s=t[i],o=r[i];o&&s!==o&&!(se(s)&&s.includes(o))&&(t[i]=s?[].concat(s,o):o)}else i!==""&&(t[i]=r[i])}return t}function It(e,t,n,r=null){gn(e,t,7,[n,r])}const Aw=X_();let Rw=0;function Pw(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||Aw,s={uid:Rw++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new f_(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:tv(r,i),emitsOptions:fv(r,i),emit:null,emitted:null,propsDefaults:Oe,inheritAttrs:r.inheritAttrs,ctx:Oe,data:Oe,props:Oe,attrs:Oe,slots:Oe,refs:Oe,setupState:Oe,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,
vendor: 2,023 bytes, lines 15-18
15sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=vw.bind(null,s),e.ce&&e.ce(s),s}let st=null;const Rn=()=>st||ot;let da,Tc;{const e=Za(),t=(n,r)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(r),s=>{i.length>1?i.forEach(o=>o(s)):i[0](s)}};da=t("__VUE_INSTANCE_SETTERS__",n=>st=n),Tc=t("__VUE_SSR_SETTERS__",n=>Hi=n)}const si=e=>{const t=st;return da(e),e.scope.on(),()=>{e.scope.off(),da(t)}},Ac=()=>{st&&st.scope.off(),da(null)};function yv(e){return e.vnode.shapeFlag&4}let Hi=!1;function Ow(e,t=!1,n=!1){t&&Tc(t);const{props:r,children:i}=e.vnode,s=yv(e);iw(e,r,s,t),lw(e,i,n||t);const o=s?Mw(e,t):void 0;return t&&Tc(!1),o}function Mw(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,X0);const{setup:r}=n;if(r){Jn();const i=e.setupContext=r.length>1?Fw(e):null,s=si(e),o=fo(r,e,0,[e.props,i]),a=Yu(o);if(Qn(),s(),(a||e.sp)&&!Er(e)&&lf(e),a){if(o.then(Ac,Ac),t)return o.then(l=>{Rc(e,l)}).catch(l=>{es(l,e,0)});e.asyncDep=o}else Rc(e,o)}else bv(e)}function Rc(e,t,n){ae(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Re(t)&&(e.setupState=I_(t)),bv(e)}function bv(e,t,n){const r=e.type;e.render||(e.render=r.render||dn);{const i=si(e);Jn();try{J0(e)}finally{Qn(),i()}}}const $w={get(e,t){return mt(e,"get",""),e[t]}};function Fw(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,$w),slots:e.slots,emit:e.emit,expose:t}}function ll(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(I_(y0(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in xs)return xs[n](e)},has(t,n){return n in t||n in xs}})):e.proxy}function Pc(e,t=!0){return ae(e)?e.displayName||e.name:e.name||t&&e.__name}function Dw(e){return ae(e)&&"__vccOpts"in e}const _e=(e,t)=>I0(e,t,Hi);function tt(e,t,n){const r=arguments.length;return r===2?Re(t)&&!se(t)?ii(t)?He(e,null,[t]):He(e,t):He(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ii(n)&&(n=[n]),He(e,t,n))}const Nw="3.5.14";/**
16* @vue/runtime-dom v3.5.14
17* (c) 2018-present Yuxi (Evan) You and Vue contributors
18* @license MIT
19**/let Oc;const Ud=typeof window<"u"&&window.trustedTypes;if(Ud)try{Oc=Ud.createPolicy("vue",{createHTML:e=>e})}catch{}const wv=Oc?e=>Oc.createHTML(e):e=>e,Hw="http://www.w3.org/2000/svg",jw="http://www.w3.org/1998/Math/MathML",Dn=typeof document<"u"?document:null,Bd=Dn&&Dn.createElement("template"),Uw={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const i=t==="svg"?Dn.createElementNS(Hw,e):t==="mathml"?Dn.createElementNS(jw,e):n?Dn.createElement(e,{is:n}):Dn.createElement(e);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>Dn.createTextNode(e),createComment:e=>Dn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Dn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,s){const o=n?n.previousSibling:t.lastChild;if(i&&(i===s||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===s||!(i=i.nextSibling)););else{Bd.innerHTML=wv(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=Bd.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ir="transition",is="animation",Ks=Symbol("_vtc"),Ev={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},Bw=ct({},$_,Ev),Vw=e=>(e.displayName="Transition",e.props=Bw,e),qw=Vw((e,{slots:t})=>tt(F0,Ww(e),t)),Dr=(e,t=[])=>{se(e)?e.forEach(n=>n(...t)):e&&e(...t)},Vd=e=>e?se(e)?e.some(t=>t.length>1):e.length>1:!1;function Ww(e){const t={};for(const F in e)F in Ev||(t[F]=e[F]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:s=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:u=o,appearToClass:c=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,_=Kw(i),p=_&&_[0],b=_&&_[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:g,onLeave:m,onLeaveCancelled:E,onBeforeAppear:x=v,onAppear:L=y,onAppearCancelled:D=g}=t,M=(F,q,ie,oe)=>{F._enterCancelled=oe,Nr(F,q?c:a),Nr(F,q?u:o),ie&&ie()},$=(F,q)=>{F._isLeaving=!1,Nr(F,f),Nr(F,h),Nr(F,d),q&&q()},B=F=>(q,ie)=>{const oe=F?L:y,W=()=>M(q,F,ie);Dr(oe,[q,W]),qd(()=>{Nr(q,F?l:s),Mn(q,F?c:a),Vd(oe)||Wd(q,r,p,W)})};return ct(t,{onBeforeEnter(F){Dr(v,[F]),Mn(F,s),Mn(F,o)},onBeforeAppear(F){Dr(x,[F]),Mn(F,l),Mn(F,u)},onEnter:B(!1),onAppear:B(!0),onLeave(F,q){F._isLeaving=!0;const ie=()=>$(F,q);Mn(F,f),F._enterCancelled?(Mn(F,d),Gd()):(Gd(),Mn(F,d)),qd(()=>{F._isLeaving&&(Nr(F,f),Mn(F,h),Vd(m)||Wd(F,r,b,ie))}),Dr(m,[F,ie])},onEnterCancelled(F){M(F,!1,void 0,!0),Dr(g,[F])},onAppearCancelled(F){M(F,!0,void 0,!0),Dr(D,[F])},onLeaveCancelled(F){$(F),Dr(E,[F])}})}function Kw(e){if(e==null)return null;if(Re(e))return[Wl(e.enter),Wl(e.leave)];{const t=Wl(e);return[t,t]}}function Wl(e){return o_(e)}function Mn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Ks]||(e[Ks]=new Set)).add(t)}function Nr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Ks];n&&(n.delete(t),n.size||(e[Ks]=void 0))}function qd(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let zw=0;function Wd(e,t,n,r){const i=e._endId=++zw,s=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:o,timeout:a,propCount:l}=Gw(e,t);if(!o)return r();const u=o+"end";let c=0;const f=()=>{e.removeEventListener(u,d),s()},d=h=>{h.target===e&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},a+1),e.addEventListener(u,d)}function Gw(e,t){const n=window.getComputedStyle(e),r=_=>(n[_]||"").split(", "),i=r(`${ir}Delay`),s=r(`${ir}Duration`),o=Kd(i,s),a=r(`${is}Delay`),l=r(`${is}Duration`),u=Kd(a,l);let c=null,f=0,d=0;t===ir?o>0&&(c=ir,f=o,d=s.length):t===is?u>0&&(c=is,f=u,d=l.length):(f=Math.max(o,u),c=f>0?o>u?ir:is:null,d=c?c===ir?s.length:l.length:0);const h=c===ir&&/\b(transform|all)(,|$)/.test(r(`${ir}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:h}}function Kd(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>zd(n)+zd(e[r])))}function zd(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Gd(){return document.body.offsetHeight}
vendor: 4,842 bytes, line 19
19function Yw(e,t,n){const r=e[Ks];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Yd=Symbol("_vod"),Xw=Symbol("_vsh"),kv=Symbol("");function fO(e){const t=Rn();if(!t)return;const n=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(s=>ha(s,i))},r=()=>{const i=e(t.proxy);t.ce?ha(t.ce,i):Mc(t.subTree,i),n(i)};U_(()=>{oa(r)}),di(()=>{bt(r,dn,{flush:"post"});const i=new MutationObserver(r);i.observe(t.subTree.el.parentNode,{childList:!0}),il(()=>i.disconnect())})}function Mc(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Mc(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)ha(e.el,t);else if(e.type===it)e.children.forEach(n=>Mc(n,t));else if(e.type===Ls){let{el:n,anchor:r}=e;for(;n&&(ha(n,t),n!==r);)n=n.nextSibling}}function ha(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const i in t)n.setProperty(`--${i}`,t[i]),r+=`--${i}: ${t[i]};`;n[kv]=r}}const Jw=/(^|;)\s*display\s*:/;function Qw(e,t,n){const r=e.style,i=We(n);let s=!1;if(n&&!i){if(t)if(We(t))for(const o of t.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&zo(r,a,"")}else for(const o in t)n[o]==null&&zo(r,o,"");for(const o in n)o==="display"&&(s=!0),zo(r,o,n[o])}else if(i){if(t!==n){const o=r[kv];o&&(n+=";"+o),r.cssText=n,s=Jw.test(n)}}else t&&e.removeAttribute("style");Yd in e&&(e[Yd]=s?r.display:"",e[Xw]&&(r.display="none"))}const Xd=/\s*!important$/;function zo(e,t,n){if(se(n))n.forEach(r=>zo(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Zw(e,t);Xd.test(n)?e.setProperty(fi(r),n.replace(Xd,""),"important"):e[r]=n}}const Jd=["Webkit","Moz","ms"],Kl={};function Zw(e,t){const n=Kl[t];if(n)return n;let r=en(t);if(r!=="filter"&&r in e)return Kl[t]=r;r=Qa(r);for(let i=0;i<Jd.length;i++){const s=Jd[i]+r;if(s in e)return Kl[t]=s}return t}const Qd="http://www.w3.org/1999/xlink";function Zd(e,t,n,r,i,s=Qb(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Qd,t.slice(6,t.length)):e.setAttributeNS(Qd,t,n):n==null||s&&!a_(n)?e.removeAttribute(t):e.setAttribute(t,s?"":pn(n)?String(n):n)}function eh(e,t,n,r,i){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?wv(n):n);return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){const a=s==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=a_(n):n==null&&a==="string"?(n="",o=!0):a==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function Sv(e,t,n,r){e.addEventListener(t,n,r)}function eE(e,t,n,r){e.removeEventListener(t,n,r)}const th=Symbol("_vei");function tE(e,t,n,r,i=null){const s=e[th]||(e[th]={}),o=s[t];if(r&&o)o.value=r;else{const[a,l]=nE(t);if(r){const u=s[t]=sE(r,i);Sv(e,a,u,l)}else o&&(eE(e,a,o,l),s[t]=void 0)}}const nh=/(?:Once|Passive|Capture)$/;function nE(e){let t;if(nh.test(e)){t={};let r;for(;r=e.match(nh);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):fi(e.slice(2)),t]}let zl=0;const rE=Promise.resolve(),iE=()=>zl||(rE.then(()=>zl=0),zl=Date.now());function sE(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;gn(oE(r,n.value),t,5,[r])};return n.value=e,n.attached=iE(),n}function oE(e,t){if(se(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>i=>!i._stopped&&r&&r(i))}else return t}const rh=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,aE=(e,t,n,r,i,s)=>{const o=i==="svg";t==="class"?Yw(e,r,o):t==="style"?Qw(e,n,r):co(t)?zu(t)||tE(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):lE(e,t,r,o))?(eh(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Zd(e,t,r,o,s,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!We(r))?eh(e,en(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Zd(e,t,r,o))};function lE(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&rh(t)&&ae(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return rh(t)&&We(n)?!1:t in e}const ih=e=>{const t=e.props["onUpdate:modelValue"]||!1;return se(t)?n=>Ai(t,n):t},Gl=Symbol("_assign"),dO={deep:!0,created(e,t,n){e[Gl]=ih(n),Sv(e,"change",()=>{const r=e._modelValue,i=cE(e),s=e.checked,o=e[Gl];
19if(se(r)){const a=l_(r,i),l=a!==-1;if(s&&!l)o(r.concat(i));else if(!s&&l){const u=[...r];u.splice(a,1),o(u)}}else if(Xa(r)){const a=new Set(r);s?a.add(i):a.delete(i),o(a)}else o(Cv(e,s))})},mounted:sh,beforeUpdate(e,t,n){e[Gl]=ih(n),sh(e,t,n)}};function sh(e,{value:t,oldValue:n},r){e._modelValue=t;let i;if(se(t))i=l_(t,r.props.value)>-1;else if(Xa(t))i=t.has(r.props.value);else{if(t===n)return;i=el(t,Cv(e,!0))}e.checked!==i&&(e.checked=i)}function cE(e){return"_value"in e?e._value:e.value}function Cv(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const uE=["ctrl","shift","alt","meta"],fE={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)=>uE.some(n=>e[`${n}Key`]&&!t.includes(n))},hO=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(i,...s)=>{for(let o=0;o<t.length;o++){const a=fE[t[o]];if(a&&a(i,t))return}return e(i,...s)})},xv=ct({patchProp:aE},Uw);let Ts,oh=!1;function dE(){return Ts||(Ts=uw(xv))}function hE(){return Ts=oh?Ts:fw(xv),oh=!0,Ts}const pE=(...e)=>{const t=dE().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=Iv(r);if(!i)return;const s=t._component;!ae(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=n(i,!1,Lv(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t},gE=(...e)=>{const t=hE().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=Iv(r);if(i)return n(i,!0,Lv(i))},t};function Lv(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Iv(e){return We(e)?document.querySelector(e):e}const _E=/"(?:_|\\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*:/,vE=/"(?: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*:/,mE=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function yE(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){bE(e);return}return t}function bE(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function zs(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!mE.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(_E.test(e)||vE.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,yE)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const wE=/#/g,EE=/&/g,kE=/\//g,SE=/=/g,mf=/\+/g,CE=/%5e/gi,xE=/%60/gi,LE=/%7c/gi,IE=/%20/gi;function TE(e){return encodeURI(""+e).replace(LE,"|")}function $c(e){return TE(typeof e=="string"?e:JSON.stringify(e)).replace(mf,"%2B").replace(IE,"+").replace(wE,"%23").replace(EE,"%26").replace(xE,"`").replace(CE,"^").replace(kE,"%2F")}function Yl(e){return $c(e).replace(SE,"%3D")}function ji(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function AE(e){return ji(e.replace(mf," "))}function RE(e){return ji(e.replace(mf," "))}function cl(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const i=AE(r[1]);if(i==="__proto__"||i==="constructor")continue;const s=RE(r[2]||"");t[i]===void 0?t[i]=s:Array.isArray(t[i])?t[i].push(s):t[i]=[t[i],s]}return t}function PE(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Yl(e)}=${$c(n)}`).join("&"):`${Yl(e)}=${$c(t)}`:Yl(e)}function OE(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>
19PE(t,e[t])).filter(Boolean).join("&")}const ME=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Tv=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,$E=/^([/\\]\s*){2,}[^/\\]/,FE=/^[\s\0]*(blob|data|javascript|vbscript):$/i,DE=/\/$|\/\?|\/#/,NE=/^\.?\//;function Bt(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?ME.test(e):Tv.test(e)||(t.acceptRelative?$E.test(e):!1)}function HE(e){return!!e&&FE.test(e)}function Fc(e="",t){return t?DE.test(e):e.endsWith("/")}function oi(e="",t){if(!t)return(Fc(e)?e.slice(0,-1):e)||"/";if(!Fc(e,!0))return e||"/";let n=e,r="";const i=e.indexOf("#");i!==-1&&(n=e.slice(0,i),r=e.slice(i));const[s,...o]=n.split("?");return((s.endsWith("/")?s.slice(0,-1):s)||"/")+(o.length>0?`?${o.join("?")}`:"")+r}function Gs(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Fc(e,!0))return e||"/";let n=e,r="";const i=e.indexOf("#");if(i!==-1&&(n=e.slice(0,i),r=e.slice(i),!n))return r;const[s,...o]=n.split("?");return s+"/"+(o.length>0?`?${o.join("?")}`:"")+r}function jE(e=""){return e.startsWith("/")}function ah(e=""){return jE(e)?e:"/"+e}function UE(e,t){if(Av(t)||Bt(e))return e;const n=oi(t);return e.startsWith(n)?e:Ar(n,e)}function lh(e,t){if(Av(t))return e;const n=oi(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function ul(e,t){const n=Ys(e),r={...cl(n.search),...t};return n.search=OE(r),KE(n)}function Av(e){return!e||e==="/"}function BE(e){return e&&e!=="/"}function Ar(e,...t){let n=e||"";for(const r of t.filter(i=>BE(i)))if(n){const i=r.replace(NE,"");n=Gs(n)+i}else n=r;return n}function Rv(...e){var o,a,l,u;const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let i=0;for(const c of n)if(!(!c||c==="/")){for(const[f,d]of c.split(t).entries())if(!(!d||d===".")){if(d===".."){if(r.length===1&&Bt(r[0]))continue;r.pop(),i--;continue}if(f===1&&((o=r[r.length-1])!=null&&o.endsWith(":/"))){r[r.length-1]+="/"+d;continue}r.push(d),i++}}let s=r.join("/");return i>=0?(a=n[0])!=null&&a.startsWith("/")&&!s.startsWith("/")?s="/"+s:(l=n[0])!=null&&l.startsWith("./")&&!s.startsWith("./")&&(s="./"+s):s="../".repeat(-1*i)+s,(u=n[n.length-1])!=null&&u.endsWith("/")&&!s.endsWith("/")&&(s+="/"),s}function VE(e){return qE(e,"https://")}function qE(e,t){let n=e.match(Tv);return n||(n=e.match(/^\/{2,}/)),n?t+e.slice(n[0].length):t+e}function WE(e,t){return ji(oi(e))===ji(oi(t))}function ch(e,t,n={}){return n.trailingSlash||(e=Gs(e),t=Gs(t)),n.leadingSlash||(e=ah(e),t=ah(t)),n.encoding||(e=ji(e),t=ji(t)),e===t}const Pv=Symbol.for("ufo:protocolRelative");function Ys(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,d=""]=n;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!Bt(e,{acceptRelative:!0}))return t?Ys(t+e):Dc(e);const[,r="",i,s=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,o="",a=""]=s.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:u,hash:c}=Dc(a);return{protocol:r.toLowerCase(),auth:i?i.slice(0,Math.max(0,i.length-1)):"",host:o,pathname:l,search:u,hash:c,[Pv]:!r}}function Dc(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function KE(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",i=e.auth?e.auth+"@":"",s=e.host||"";return(e.protocol||e[Pv]?(e.protocol||"")+"//":"")+i+s+t+n+r}class zE extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function GE(e){var l,u,c,f,d;const t=((l=e.error)==null?void 0:l.message)||((u=e.error)==null?void 0:u.toString())||"",n=((c=e.request)==null?void 0:c.method)||((f=e.options)==null?void 0:f.method)||"GET",r=((d=e.request)==null?void 0:d.url)||String(e.request)||"/",i=`[${n}] ${JSON.stringify(r)}`,s=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",o=`${i}: ${s}${t?` ${t}`:""}`,a=new zE(o,e.error?{cause:e.error}:void 0);for(const h of["request","options","response"])Object.defineProperty(a,h,{get(){return e[h]}});for(const[h,_]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,h,{get(){return e.response&&e.response[_]}});return a}const YE=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function uh(e="GET"){return YE.has(e.toUpperCase())}function XE(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const JE=new Set(["image/svg","application/xml","application/xhtml","application/html"]),QE=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function ZE(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return QE.test(t)?"json":JE.has(t)||t.startsWith("text/")?"text":"blob"}function ek(e,t,n,r){const i=tk((t==null?void 0:t.headers)??(e==null?void 0:e.headers),n==null?void 0:n.headers,r);let s;return(n!=null&&n.query||n!=null&&n.params||t!=null&&t.params||t!=null&&t.query)&&(s={...n==null?void 0:n.params,...n==null?void 0:n.query,...t==null?void 0:t.params,...t==null?void 0:t.query}),{...n,...t,query:s,params:s,headers:i}}
19function tk(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[i,s]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(i,s);return r}async function Co(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const nk=new Set([408,409,425,429,500,502,503,504]),rk=new Set([101,204,205,304]);function Ov(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function i(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=uh(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):nk.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)),s(a.request,{...a.options,retry:c-1})}}const u=GE(a);throw Error.captureStackTrace&&Error.captureStackTrace(u,s),u}const s=async function(l,u={}){const c={request:l,options:ek(l,u,e.defaults,n),response:void 0,error:void 0};c.options.method&&(c.options.method=c.options.method.toUpperCase()),c.options.onRequest&&await Co(c,c.options.onRequest),typeof c.request=="string"&&(c.options.baseURL&&(c.request=UE(c.request,c.options.baseURL)),c.options.query&&(c.request=ul(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&&uh(c.options.method)&&(XE(c.options.body)?(c.options.body=typeof c.options.body=="string"?c.options.body:JSON.stringify(c.options.body),c.options.headers=new n(c.options.headers||{}),c.options.headers.has("content-type")||c.options.headers.set("content-type","application/json"),c.options.headers.has("accept")||c.options.headers.set("accept","application/json")):("pipeTo"in c.options.body&&typeof c.options.body.pipeTo=="function"||typeof c.options.body.pipe=="function")&&("duplex"in c.options||(c.options.duplex="half")));let f;if(!c.options.signal&&c.options.timeout){const h=new r;f=setTimeout(()=>{const _=new Error("[TimeoutError]: The operation was aborted due to timeout");_.name="TimeoutError",_.code=23,h.abort(_)},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 Co(c,c.options.onRequestError),await i(c)}finally{f&&clearTimeout(f)}if((c.response.body||c.response._bodyInit)&&!rk.has(c.response.status)&&c.options.method!=="HEAD"){const h=(c.options.parseResponse?"json":c.options.responseType)||ZE(c.response.headers.get("content-type")||"");switch(h){case"json":{const _=await c.response.text(),p=c.options.parseResponse||zs;c.response._data=p(_);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 Co(c,c.options.onResponse),!c.options.ignoreResponseError&&c.response.status>=400&&c.response.status<600?(c.options.onResponseError&&await Co(c,c.options.onResponseError),await i(c)):c.response},o=async function(l,u){return(await s(l,u))._data};return o.raw=s,o.native=(...a)=>t(...a),o.create=(a={},l={})=>Ov({...e,...l,defaults:{...e.defaults,...l.defaults,...a}}),o}const pa=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")}(),ik=pa.fetch?(...e)=>pa.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),sk=pa.Headers,ok=pa.AbortController,ak=Ov({fetch:ik,Headers:sk,AbortController:ok}),lk=ak,ck=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},ga=ck().app,uk=()=>ga.baseURL,fk=()=>ga.buildAssetsDir,yf=(...e)=>Rv(fl(),fk(),...e),fl=(...e)=>{const t=ga.cdnURL||ga.baseURL;return e.length?Rv(t,...e):t};globalThis.__buildAssetsURL=yf,globalThis.__publicAssetsURL=fl;globalThis.$fetch||(globalThis.$fetch=lk.create({baseURL:uk()}));function Nc(e,t={},n){for(const r in e){const i=e[r],s=n?`${n}:${r}`:r;typeof i=="object"&&i!==null?Nc(i,t,s):typeof i=="function"&&(t[s]=i)}return t}const dk={run:e=>e()},hk=()=>dk,Mv=typeof console.createTask<"u"?console.createTask:hk;function pk(e,t){const n=t.shift(),r=Mv(n);return e.reduce((i,s)=>i.then(()=>r.run(()=>s(...t))),Promise.resolve())}function gk(e,t){const n=t.shift(),r=Mv(n);return Promise.all(e.map(i=>r.run(()=>i(...t))))}function Xl(e,t){for(const n of[...e])n(t)}class _k{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const i=t;let s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!r.allowDeprecated){let o=s.message;o||(o=`${i} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(o)||
19(console.warn(o),this._deprecatedMessages.add(o))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,i=(...s)=>(typeof r=="function"&&r(),r=void 0,i=void 0,n(...s));return r=this.hook(t,i),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const i of r)this.hook(t,i)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Nc(t),r=Object.keys(n).map(i=>this.hook(i,n[i]));return()=>{for(const i of r.splice(0,r.length))i()}}removeHooks(t){const n=Nc(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(pk,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(gk,t,...n)}callHookWith(t,n,...r){const i=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Xl(this._before,i);const s=t(n in this._hooks?[...this._hooks[n]]:[],r);return s instanceof Promise?s.finally(()=>{this._after&&i&&Xl(this._after,i)}):(this._after&&i&&Xl(this._after,i),s)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function $v(){return new _k}function vk(e={}){let t,n=!1;const r=o=>{if(t&&t!==o)throw new Error("Context conflict")};let i;if(e.asyncContext){const o=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;o?i=new o:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const s=()=>
19{if(i){const o=i.getStore();if(o!==void 0)return o}return t};return{use:()=>{const o=s();if(o===void 0)throw new Error("Context is not available");return o},tryUse:()=>s(),set:(o,a)=>{a||r(o),t=o,n=!0},unset:()=>{t=void 0,n=!1},call:(o,a)=>{r(o),t=o;try{return i?i.run(o,a):a()}finally{n||(t=void 0)}},async callAsync(o,a){t=o;const l=()=>{t=o},u=()=>t===o?l:void 0;Hc.add(u);try{const c=i?i.run(o,a):a();return n||(t=void 0),await c}finally{Hc.delete(u)}}}}function mk(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=vk({...e,...r})),t[n]}}}const _a=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},fh="__unctx__",yk=_a[fh]||(_a[fh]=mk()),bk=(e,t={})=>yk.get(e,t),dh="__unctx_async_handlers__",Hc=_a[dh]||(_a[dh]=new Set);function un(e){const t=[];for(const i of Hc){const s=i();s&&t.push(s)}const n=()=>{for(const i of t)i()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(i=>{throw n(),i})),[r,n]}const wk=!1,hh=!1,Ek=!1,kk={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},Sk=null,Ck="#__nuxt",Fv="nuxt-app",ph=36e5,xk="vite:preloadError";function Dv(e=Fv){return bk(e,{asyncContext:!1})}const Lk="__nuxt_plugin";function Ik(e){var i;let t=0;const n={_id:e.id||Fv||"nuxt-app",_scope:Zu(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.17.3"},get vue(){return n.vueApp.version}},payload:Wn({...((i=e.ssrContext)==null?void 0:i.payload)||{},data:Wn({}),state:Tr({}),once:new Set,_errors:Wn({})}),static:{data:{}},runWithContext(s){return n._scope.active&&!uo()?n._scope.run(()=>gh(n,s)):gh(n,s)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let s=!1;return()=>{if(!s&&(s=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:Wn({}),_payloadRevivers:{},...e};{const s=window.__NUXT__;if(s)for(const o in s)switch(o){case"data":case"state":case"_errors":Object.assign(n.payload[o],s[o]);break;default:n.payload[o]=s[o]}}n.hooks=$v(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(s,o)=>{const a="$"+s;xo(n,a,o),xo(n.vueApp.config.globalProperties,a,o)},xo(n.vueApp,"$nuxt",n),xo(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(xk,o=>{n.callHook("app:chunkError",{error:o.payload}),o.payload.message.includes("Unable to preload CSS")&&o.preventDefault()}),window.useNuxtApp||(window.useNuxtApp=de);const s=n.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});n.hook("app:mounted",s)}const r=n.payload.config;return n.provide("config",r),n}function Tk(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function Ak(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function Rk(e,t){const n=[],r=[],i=[],s=[];let o=0;async function a(l){var c;const u=((c=l.dependsOn)==null?void 0:c.filter(f=>t.some(d=>d._name===f)&&!n.includes(f)))??[];if(u.length>0)r.push([new Set(u),l]);else{const f=Ak(e,l).then(async()=>{l._name&&(n.push(l._name),await Promise.all(r.map(async([d,h])=>{d.has(l._name)&&(d.delete(l._name),d.size===0&&(o++,await a(h)))})))});l.parallel?i.push(f.catch(d=>s.push(d))):await f}}for(const l of t)Tk(e,l);for(const l of t)await a(l);if(await Promise.all(i),o)for(let l=0;l<o;l++)await Promise.all(i);if(s.length)throw s[0]}function ft(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[Lk]:!0,_name:t})}function gh(e,t,n){const r=()=>t();return Dv(e._id).set(e),e.vueApp.runWithContext(r)}function Nv(e){var n;let t;return sl()&&(t=(n=Rn())==null?void 0:n.appContext.app.$nuxt),t||(t=Dv(e).tryUse()),t||null}function de(e){const t=Nv(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function Pn(e){return de().$config}function xo(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function Pk(e,t){return{ctx:{table:e},matchAll:n=>jv(n,e)}}function Hv(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,i])=>[r,Hv(i)])):new Map(Object.entries(e[n]));return t}function Ok(e){return Pk(Hv(e))}function jv(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[s,o]of _h(t.wildcard))(e===s||e.startsWith(s+"/"))&&r.push(o);for(const[s,o]of _h(t.dynamic))if(e.startsWith(s+"/")){const a="/"+e.slice(s.length).split("/").splice(2).join("/");r.push(...jv(a,o))}const i=t.static.get(e);return i&&r.push(i),r.filter(Boolean)}function _h(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function Jl(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 jc(e,t,n=".",r){if(!Jl(t))return jc(e,{},n,r);const i=Object.assign({},t);for(const s in e){if(s==="__proto__"||s==="constructor")continue;const o=e[s];o!=null&&(r&&r(i,s,o,n)||(Array.isArray(o)&&Array.isArray(i[s])?i[s]=[...o,...i[s]]:Jl(o)&&Jl(i[s])?i[s]=jc(o,i[s],(n?`${n}.`:"")+s.toString(),r):i[s]=o))}return i}function Uv(e){return(...t)=>t.reduce((n,r)=>jc(n,r,"",e),{})}
19const bf=Uv(),pO=Uv((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function Mk(e,t){try{return t in e}catch{return!1}}class Uc extends Error{constructor(n,r={}){super(n,r);rr(this,"statusCode",500);rr(this,"fatal",!1);rr(this,"unhandled",!1);rr(this,"statusMessage");rr(this,"data");rr(this,"cause");r.cause&&!this.cause&&(this.cause=r.cause)}toJSON(){const n={message:this.message,statusCode:Bc(this.statusCode,500)};return this.statusMessage&&(n.statusMessage=Bv(this.statusMessage)),this.data!==void 0&&(n.data=this.data),n}}rr(Uc,"__h3_error__",!0);function $k(e){if(typeof e=="string")return new Uc(e);if(Fk(e))return e;const t=new Uc(e.message??e.statusMessage??"",{cause:e.cause||e});if(Mk(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=Bc(e.statusCode,t.statusCode):e.status&&(t.statusCode=Bc(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Bv(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function Fk(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const Dk=/[^\u0009\u0020-\u007E]/g;function Bv(e=""){return e.replace(Dk,"")}function Bc(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Vv=Symbol("layout-meta"),po=Symbol("route"),ut=()=>{var e;return(e=de())==null?void 0:e.$router},dl=()=>sl()?lt(po,de()._route):de()._route;const Nk=(e,t,n={})=>{const r=de(),i=n.global||!1,s=t;if(!s){console.warn("[nuxt] No route middleware passed to `addRouteMiddleware`.",e);return}i?r._middleware.global.push(s):r._middleware.named[e]=s},Hk=()=>{try{if(de()._processingMiddleware)return!0}catch{return!1}return!1},fr=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:"path"in e?Vc(e):ut().resolve(e).href;if(t!=null&&t.open){const{target:l="_blank",windowFeatures:u={}}=t.open,c=Object.entries(u).filter(([f,d])=>d!==void 0).map(([f,d])=>`${f.toLowerCase()}=${d}`).join(", ");return open(n,l,c),Promise.resolve()}const r=Bt(n,{acceptRelative:!0}),i=(t==null?void 0:t.external)||r;if(i){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:l}=new URL(n,window.location.href);if(l&&HE(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const s=Hk();if(!i&&s){if(t!=null&&t.replace){if(typeof e=="string"){const{pathname:l,search:u,hash:c}=Ys(e);return{path:l,...u&&{query:cl(u)},...c&&{hash:c},replace:!0}}return{...e,replace:!0}}return e}const o=ut(),a=de();return i?(a._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,s?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?o.replace(e):o.push(e)};function Vc(e){return ul(e.path||"",e.query||{})+(e.hash||"")}const qv="__nuxt_error",hl=()=>T_(de().payload,"error"),Wr=e=>{const t=ti(e);try{const n=de(),r=hl();n.hooks.callHook("app:error",t),r.value||(r.value=t)}catch{throw t}return t},jk=async(e={})=>{const t=de(),n=hl();t.callHook("app:error:cleared",e),e.redirect&&await ut().replace(e.redirect),n.value=Sk},Wv=e=>!!e&&typeof e=="object"&&qv in e,ti=e=>{const t=$k(e);return Object.defineProperty(t,qv,{value:!0,configurable:!1,writable:!1}),t};function vh(e){const t=Bk(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let i=0;i<n.byteLength;i++)r.setUint8(i,t.charCodeAt(i));return n}const Uk="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function Bk(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,r=0;for(let i=0;i<e.length;i++)n<<=6,n|=Uk.indexOf(e[i]),r+=6,r===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const Vk=-1,qk=-2,Wk=-3,Kk=-4,zk=-5,Gk=-6;function Yk(e,t){return Xk(JSON.parse(e),t)}function Xk(e,t){if(typeof e=="number")return i(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function i(s,o=!1){if(s===Vk)return;if(s===Wk)return NaN;if(s===Kk)return 1/0;if(s===zk)return-1/0;if(s===Gk)return-0;if(o)throw new Error("Invalid input");if(s in r)return r[s];const a=n[s];if(!a||typeof a!="object")r[s]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],u=t==null?void 0:t[l];if(u)return r[s]=u(i(a[1]));switch(l){case"Date":r[s]=new Date(a[1]);break;case"Set":const c=new Set;r[s]=c;for(let h=1;h<a.length;h+=1)c.add(i(a[h]));break;case"Map":const f=new Map;r[s]=f;for(let h=1;h<a.length;h+=2)f.set(i(a[h]),i(a[h+1]));break;case"RegExp":r[s]=new RegExp(a[1],a[2]);break;case"Object":r[s]=Object(a[1]);break;case"BigInt":r[s]=BigInt(a[1]);break;case"null":const d=Object.create(null);r[s]=d;for(let h=1;h<a.length;h+=2)d[a[h]]=i(a[h+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{const h=globalThis[l],_=a[1],p=vh(_),b=new h(p);r[s]=b;break}case"ArrayBuffer":{const h=a[1],_=vh(h);r[s]=_;break}default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(a.length);r[s]=l;for(let u=0;u<a.length;u+=1){const c=a[u];c!==qk&&(l[u]=i(c))}}else{const l={};r[s]=l;for(const u in a){const c=a[u];l[u]=i(c)}}return r[s]}return i(0)}const Jk=new Set(["link","style","script","noscript"]),Qk=new Set(["title","titleTemplate","script","style","noscript"]),mh=new Set(["base","meta","link","style","script","noscript"]),Zk=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),eS=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),tS=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),nS=new Set(["templateParams","htmlAttrs","bodyAttrs"]),wf=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),Xs={META:new Set(["twitter"]),OG:new Set(["og","book","article","profile","fb"]),MEDIA:new Set(["ogImage","ogVideo","ogAudio","twitterImage"]),HTTP_EQUIV:new Set(["contentType","defaultStyle","xUaCompatible"])},rS={articleExpirationTime:"article:expiration_time",articleModifiedTime:"article:modified_time",articlePublishedTime:"article:published_time",bookReleaseDate:"book:release_date",fbAppId:"fb:app_id",ogAudioSecureUrl:"og:audio:secure_url",ogAudioUrl:"og:audio",ogImageSecureUrl:"og:image:secure_url",ogImageUrl:"og:image",ogSiteName:"og:site_name",ogVideoSecureUrl:"og:video:secure_url",ogVideoUrl:"og:video",profileFirstName:"profile:first_name",profileLastName:"profile:last_name",profileUsername:"profile:username",msapplicationConfig:"msapplication-Config",msapplicationTileColor:"msapplication-TileColor",msapplicationTileImage:"msapplication-TileImage"},Kv={appleItunesApp:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>`${Kn(e)}=${t}`}},refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve:({key:e,value:t})=>e==="seconds"?`${t}`:void 0}},robots:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>typeof t=="boolean"?Kn(e):`${Kn(e)}:${t}`}},contentSecurityPolicy:{metaKey:"http-equiv",unpack:{entrySeparator:"; ",resolve:({key:e,value:t})=>`${Kn(e)} ${t}`}},charset:{}};function Kn(e){const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),n=t.indexOf("-");return n===-1?t:Xs.META.has(t.slice(0,n))||Xs.OG.has(t.slice(0,n))?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function zv(e){return Object.fromEntries(Object.entries(e).filter(([t,n])=>String(n)!=="false"&&t))}function qc(e){return Array.isArray(e)?e.map(qc):!e||typeof e!="object"?e:Object.fromEntries(Object.entries(e).map(([t,n])=>[Kn(t),qc(n)]))}function Gv(e,t={}){const{entrySeparator:n="",keyValueSeparator:r="",wrapValue:i,resolve:s}=t;return Object.entries(e).map(([o,a])=>{if(s){const u=s({key:o,value:a});if(u!==void 0)return u}const l=typeof a=="object"?Gv(a,t):typeof a=="number"?a.toString():typeof a=="str
19ing"&&i?`${i}${a.replace(new RegExp(i,"g"),`\\${i}`)}${i}`:a;return`${o}${r}${l}`}).join(n)}function yh(e,t){const n=zv(t),r=Kn(e),i=Yv(r);if(!wf.has(r))return[{[i]:r,...n}];const s=Object.fromEntries(Object.entries(n).map(([o,a])=>[`${e}${o==="url"?"":`${o[0].toUpperCase()}${o.slice(1)}`}`,a]));return va(s||{}).sort((o,a)=>{var l,u;return(((l=o[i])==null?void 0:l.length)||0)-(((u=a[i])==null?void 0:u.length)||0)})}function Yv(e){var r;if(((r=Kv[e])==null?void 0:r.metaKey)==="http-equiv"||Xs.HTTP_EQUIV.has(e))return"http-equiv";const t=Kn(e),n=t.indexOf(":");return n===-1?"name":Xs.OG.has(t.slice(0,n))?"property":"name"}function iS(e){return rS[e]||Kn(e)}function sS(e,t){var n;return t==="refresh"?`${e.seconds};url=${e.url}`:Gv(qc(e),{keyValueSeparator:"=",entrySeparator:", ",resolve:({value:r,key:i})=>r===null?"":typeof r=="boolean"?i:void 0,...(n=Kv[t])==null?void 0:n.unpack})}function va(e){const t=[],n={};for(const[i,s]of Object.entries(e)){if(Array.isArray(s)){if(i==="themeColor"){s.forEach(o=>{typeof o=="object"&&o!==null&&t.push({name:"theme-color",...o})});continue}for(const o of s)if(typeof o=="object"&&o!==null){const a=[],l=[];for(const[u,c]of Object.entries(o)){const f=`${i}${u==="url"?"":`:${u}`}`,d=va({[f]:c});(u==="url"?a:l).push(...d)}t.push(...a,...l)}else t.push(...typeof o=="string"?va({[i]:o}):yh(i,o));continue}if(typeof s=="object"&&s)if(Xs.MEDIA.has(i)){const o=i.startsWith("twitter")?"twitter":"og",a=i.replace(/^(og|twitter)/,"").toLowerCase(),l=o==="twitter"?"name":"property";s.url&&t.push({[l]:`${o}:${a}`,content:s.url}),s.secureUrl&&t.push({[l]:`${o}:${a}:secure_url`,content:s.secureUrl});for(const[u,c]of Object.entries(s))u!=="url"&&u!=="secureUrl"&&t.push({[l]:`${o}:${a}:${u}`,content:c})}else wf.has(Kn(i))?t.push(...yh(i,s)):n[i]=zv(s);else n[i]=s}const r=Object.entries(n).map(([i,s])=>{if(i==="charset")return{charset:s===null?"_null":s};const o=Yv(i),a=iS(i),l=s===null?"_null":typeof s=="object"?sS(s,i):typeof s=="number"?s.toString():s;return o==="http-equiv"?{"http-equiv":a,content:l}:{[o]:a,content:l}});return[...t,...r].map(i=>"content"in i&&i.content==="_null"?{...i,content:null}:i)}const oS={key:"flatMeta",hooks:{"entries:normalize":e=>{const t=[];e.tags=e.tags.map(n=>n.tag!=="_flatMeta"?n:(t.push(va(n.props).map(r=>({...n,tag:"meta",props:r}))),!1)).filter(Boolean).concat(...t)}}},aS=["name","property","http-equiv"];function Xv(e){const t=e.split(":")[1];return wf.has(t)}function Wc(e){const{props:t,tag:n}=e;if(eS.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const r of aS)if(t[r]!==void 0)return`${n}:${t[r]}`}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(Qk.has(n)){const r=e.textContent||e.innerHTML;if(r)return`${n}:content:${r}`}}function bh(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([r,i])=>`${r}:${String(i)}`).join(",")}`}function ma(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());let i;if(t&&(i=t(n,e)),Array.isArray(i))return i.map(s=>ma(s,t));if((i==null?void 0:i.constructor)===Object){const s={};for(const o of Object.keys(i))s[o]=ma(i[o],t,o);return s}return i}function lS(e,t){const n=e==="style"?new Map:new Set;function r(i){const s=i.trim();if(s)if(e==="style"){const[o,...a]=s.split(":").map(l=>l.trim());o&&a.length&&n.set(o,a.join(":"))}else s.split(" ").filter(Boolean).forEach(o=>n.add(o))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(i=>r(i)):t&&typeof t=="object"&&Object.entries(t).forEach(([i,s])=>{s&&s!=="false"&&(e==="style"?n.set(i.trim(),s):r(i))}),n}function Jv(e,t){return e.props=e.props||{},t&&Object.entries(t).forEach(([n,r])=>{if(r===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=lS(n,r);return}if(tS.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof r=="object"){let o=t.type;if(t.type||(o="application/json"),!(o!=null&&o.endsWith("json"))&&o!=="speculationrules")return;t.type=o,e.props.type=o,e[n]=JSON.stringify(r)}else e[n]=r;return}const i=String(r),s=n.startsWith("data-");i==="true"||i===""?e.props[n]=s?i:!0:!r&&s&&i==="false"?e.props[n]="false":r!==void 0&&(e.props[n]=r)}),e}function cS(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=Jv({tag:e,props:{}},n);return r.key&&Jk.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(i=>({...r,props:{...r.props,content:i}})):r}function uS(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(i,s)=>{for(let o=0;o<t.length;o++)s=t[o](i,s);return s};e=n(void 0,e);const r=[];return e=ma(e,n),Object.entries(e||{}
19).forEach(([i,s])=>{if(s!==void 0)for(const o of Array.isArray(s)?s:[s])r.push(cS(i,o))}),r.flat()}const Kc=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,wh={base:-10,title:10},fS={critical:-8,high:-1,low:2},Eh={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}},dS=/@import/,ss=e=>e===""||e===!0;function hS(e,t){var s;if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=fS[t.tagPriority]||0,i=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Eh;if(t.tag in wh)n=wh[t.tag];else if(t.tag==="meta"){const o=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;o&&(n=Eh.meta[o])}else t.tag==="link"&&t.props.rel?n=i.link[t.props.rel]:t.tag==="script"?ss(t.props.async)?n=i.script.async:t.props.src&&!ss(t.props.defer)&&!ss(t.props.async)&&t.props.type!=="module"&&!((s=t.props.type)!=null&&s.endsWith("json"))?n=i.script.sync:ss(t.props.defer)&&t.props.src&&!ss(t.props.async)&&(n=i.script.defer):t.tag==="style"&&(n=t.innerHTML&&dS.test(t.innerHTML)?i.style.imported:i.style.sync);return(n||100)+r}function kh(e,t){const n=typeof t=="function"?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}function pS(e={}){var a;const t=$v();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,i=new Map,s=[],o={_entryCount:1,plugins:i,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:l=>kh(o,l),push(l,u){const c={...u||{}};delete c.head;const f=c._index??o._entryCount++,d={_i:f,input:l,options:c},h={_poll(_=!1){o.dirty=!0,!_&&s.push(f),t.callHook("entries:updated",o)},dispose(){r.delete(f)&&h._poll(!0)},patch(_){(!c.mode||c.mode==="server"&&n||c.mode==="client"&&!n)&&(d.input=_,r.set(f,d),h._poll())}};return h.patch(l),h},async resolveTags(){var h;const l={tagMap:new Map,tags:[],entries:[...o.entries.values()]};for(await t.callHook("entries:resolve",l);s.length;){const _=s.shift(),p=r.get(_);if(p){const b={tags:uS(p.input,e.propResolvers||[]).map(v=>Object.assign(v,p.options)),entry:p};await t.callHook("entries:normalize",b),p._tags=b.tags.map((v,y)=>(v._w=hS(o,v),v._p=(p._i<<10)+y,v._d=Wc(v),v))}}let u=!1;l.entries.flatMap(_=>(_._tags||[]).map(p=>({...p,props:{...p.props}}))).sort(Kc).reduce((_,p)=>{const b=String(p._d||p._p);if(!_.has(b))return _.set(b,p);const v=_.get(b);if(((p==null?void 0:p.tagDuplicateStrategy)||(nS.has(p.tag)?"merge":null)||(p.key&&p.key===v.key?"merge":null))==="merge"){const g={...v.props};Object.entries(p.props).forEach(([m,E])=>g[m]=m==="style"?new Map([...v.props.style||new Map,...E]):m==="class"?new Set([...v.props.class||new Set,...E]):E),_.set(b,{...p,props:g})}else p._p>>10===v._p>>10&&Xv(p._d)?(_.set(b,Object.assign([...Array.isArray(v)?v:[v],p],p)),u=!0):(p._w===v._w?p._p>v._p:(p==null?void 0:p._w)<(v==null?void 0:v._w))&&_.set(b,p);return _},l.tagMap);const c=l.tagMap.get("title"),f=l.tagMap.get("titleTemplate");if(o._title=c==null?void 0:c.textContent,f){const _=f==null?void 0:f.textContent;if(o._titleTemplate=_,_){let p=typeof _=="function"?_(c==null?void 0:c.textContent):_;typeof p=="string"&&!o.plugins.has("template-params")&&(p=p.replace("%s",(c==null?void 0:c.textContent)||"")),c?p===null?l.tagMap.delete("title"):l.tagMap.set("title",{...c,textContent:p}):(f.tag="title",f.textContent=p)}}l.tags=Array.from(l.tagMap.values()),u&&(l.tags=l.tags.flat().sort(Kc)),await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l);const d=[];for(const _ of l.tags){const{innerHTML:p,tag:b,props:v}=_;if(Zk.has(b)&&!(Object.keys(v).length===0&&!_.innerHTML&&!_.textContent)&&!(b==="meta"&&!v.content&&!v["http-equiv"]&&!v.charset)){if(b==="script"&&p){if((h=v.type)!=null&&h.endsWith("json")){const y=typeof p=="string"?p:JSON.stringify(p);_.innerHTML=y.replace(/</g,"\\u003C")}else typeof p=="string"&&(_.innerHTML=p.replace(new RegExp(`</${b}`,"g"),`<\\/${b}`));_._d=Wc(_)}d.push(_)}}return d}};
19return((e==null?void 0:e.plugins)||[]).forEach(l=>kh(o,l)),o.hooks.callHook("init",o),(a=e.init)==null||a.forEach(l=>l&&o.push(l)),o}const dr="%separator",gS=new RegExp(`${dr}(?:\\s*${dr})*`,"g");function _S(e,t,n=!1){var i;let r;if(t==="s"||t==="pageTitle")r=e.pageTitle;else if(t.includes(".")){const s=t.indexOf(".");r=(i=e[t.substring(0,s)])==null?void 0:i[t.substring(s+1)]}else r=e[t];if(r!==void 0)return n?(r||"").replace(/\\/g,"\\\\").replace(/</g,"\\u003C").replace(/"/g,'\\"'):r||""}function Lo(e,t,n,r=!1){if(typeof e!="string"||!e.includes("%"))return e;let i=e;try{i=decodeURI(e)}catch{}const s=i.match(/%\w+(?:\.\w+)?/g);if(!s)return e;const o=e.includes(dr);return e=e.replace(/%\w+(?:\.\w+)?/g,a=>{if(a===dr||!s.includes(a))return a;const l=_S(t,a.slice(1),r);return l!==void 0?l:a}).trim(),o&&(e.endsWith(dr)&&(e=e.slice(0,-dr.length)),e.startsWith(dr)&&(e=e.slice(dr.length)),e=e.replace(gS,n||"").trim()),e}const Sh=e=>e.includes(":key")?e:e.split(":").join(":key:"),vS={key:"aliasSorting",hooks:{"tags:resolve":e=>{let t=!1;for(const n of e.tags){const r=n.tagPriority;if(!r)continue;const i=String(r);if(i.startsWith("before:")){const s=Sh(i.slice(7)),o=e.tagMap.get(s);o&&(typeof o.tagPriority=="number"&&(n.tagPriority=o.tagPriority),n._p=o._p-1,t=!0)}else if(i.startsWith("after:")){const s=Sh(i.slice(6)),o=e.tagMap.get(s);o&&(typeof o.tagPriority=="number"&&(n.tagPriority=o.tagPriority),n._p=o._p+1,t=!0)}}t&&(e.tags=e.tags.sort(Kc))}}},mS={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 zc(e){if(typeof e==="function")return e;if(e instanceof Promise)return await e;if(Array.isArray(e))return await Promise.all(e.map(n=>zc(n)));if((e==null?void 0:e.constructor)===Object){const n={};for(const r of Object.keys(e))n[r]=await zc(e[r]);return n}return e}const yS={key:"promises",hooks:{"entries:resolve":async e=>{const t=[];for(const n in e.entries)e.entries[n]._promisesProcessed||t.push(zc(e.entries[n].input).then(r=>{e.entries[n].input=r,e.entries[n]._promisesProcessed=!0}));await Promise.all(t)}}},bS={meta:"content",link:"href",htmlAttrs:"lang"},wS=["innerHTML","textContent"],ES=e=>({key:"template-params",hooks:{"entries:normalize":t=>{var r,i,s;const n=((i=(r=t.tags.filter(o=>o.tag==="templateParams"&&o.mode==="server"))==null?void 0:r[0])==null?void 0:i.props)||{};Object.keys(n).length&&(e._ssrPayload={templateParams:{...((s=e._ssrPayload)==null?void 0:s.templateParams)||{},...n}})},"tags:resolve":({tagMap:t,tags:n})=>{var s;const r=((s=t.get("templateParams"))==null?void 0:s.props)||{},i=r.separator||"|";delete r.separator,r.pageTitle=Lo(r.pageTitle||e._title||"",r,i);for(const o of n){if(o.processTemplateParams===!1)continue;const a=bS[o.tag];if(a&&typeof o.props[a]=="string")o.props[a]=Lo(o.props[a],r,i);else if(o.processTemplateParams||o.tag==="titleTemplate"||o.tag==="title")for(const l of wS)typeof o[l]=="string"&&(o[l]=Lo(o[l],r,i,o.tag==="script"&&o.props.type.endsWith("json")))}e._templateParams=r,e._separator=i},"tags:afterResolve":({tagMap:t})=>{const n=t.get("title");n!=null&&n.textContent&&n.processTemplateParams!==!1&&(n.textContent=Lo(n.textContent,e._templateParams,e._separator))}}}),kS=(e,t)=>qe(t)?wi(t):t,Ef="usehead";function SS(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Ef,e)}}.install}function Qv(){if(sl()){const e=lt(Ef);if(!e)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function Zv(e,t={}){const n=t.head||Qv();return n.ssr?n.push(e||{},t):CS(n,e,t)}function CS(e,t,n={}){const r=Ye(!1);let i;return cv(()=>{const o=r.value?{}:ma(t,kS);i?i.patch(o):i=e.push(o,n)}),Rn()&&(hi(()=>{i.dispose()}),ff(()=>{r.value=!0}),uf(()=>{r.value=!1})),i}function xS(e={},t={}){(t.head||Qv()).use(oS);const{title:r,titleTemplate:i,...s}=e;return Zv({title:r,titleTemplate:i,_flatMeta:s},t)}function em(e){var n;const t=e||Nv();return((n=t==null?void 0:t.ssrContext)==null?void 0:n.head)||(t==null?void 0:t.runWithContext(()=>{if(sl())return lt(Ef)}))}function LS(e,t={}){const n=em(t.nuxt);if(n)return Zv(e,{head:n,...t})}function gO(e,t={}){const n=em(t.nuxt);if(n)return xS(e,{head:n,...t})}const IS="modulepreload",TS=function(e,t){return new URL(e,t).href},Ch={},At=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){let o=function(c){return Promise.all(c.map(f=>Promise.resolve(f).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};const a=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),u=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));i=o(n.map(c=>{if(c=TS(c,r),c in Ch)return;Ch[c]=!0;const f=c.endsWith(".css"),d=f?'[rel="stylesheet"]':"";if(!!r)for(let p=a.length-1;p>=0;p--){const b=a[p];if(b.href===c&&(!f||b.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${d}`))return;const _=document.createElement("link");if(_.rel=f?"stylesheet":IS,f||(_.as="script"),_.crossOrigin="",_.href=c,u&&_.setAttribute("nonce",u),document.head.appendChild(_),f)return new Promise((p,b)=>{_.addEventListener("load",p),_.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${c}`)))})}))}function s(o){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return i.then(o=>{for(const a of o||[])a.status==="rejected"&&s(a.reason);return t().catch(s)})};let Go,Yo;function AS(){return Go=$fetch(yf(`builds/meta/${Pn().app.buildId}.json`),{responseType:"json"}),Go.then(e=>{Yo=Ok(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),Go}function pl(){return Go||AS()}async function kf(e){const t=typeof e=="string"?e:e.path;if(await pl(),!Yo)return console.error("[nuxt] Error creating app manifest matcher.",Yo),{};try{return bf({},...Yo.matchAll(t).reverse())}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function xh(e,t={}){if(!await nm(e))return null;const r=await PS(e,t);return await tm(r)||null}const RS="_payload.json";async function PS(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Bt(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);
19const r=Pn(),i=t.hash||(t.fresh?Date.now():r.app.buildId),s=r.app.cdnURL,o=s&&await nm(e)?s:r.app.baseURL;return Ar(o,n.pathname,RS+(i?`?${i}`:""))}async function tm(e){const t=fetch(e,{cache:"force-cache"}).then(n=>n.text().then(rm));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function nm(e=dl().path){const t=de();return e=oi(e),(await pl()).prerendered.includes(e)?!0:t.runWithContext(async()=>{const r=await kf({path:e});return!!r.prerender&&!r.redirect})}let Hr=null;async function OS(){var r;if(Hr)return Hr;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await rm(e.textContent||""),n=e.dataset.src?await tm(e.dataset.src):void 0;return Hr={...t,...n,...window.__NUXT__},(r=Hr.config)!=null&&r.public&&(Hr.config.public=Tr(Hr.config.public)),Hr}async function rm(e){return await Yk(e,de()._payloadRevivers)}function MS(e,t){de()._payloadRevivers[e]=t}const $S=[["NuxtError",e=>ti(e)],["EmptyShallowRef",e=>Fi(e==="_"?void 0:e==="0n"?BigInt(0):zs(e))],["EmptyRef",e=>Ye(e==="_"?void 0:e==="0n"?BigInt(0):zs(e))],["ShallowRef",e=>Fi(e)],["ShallowReactive",e=>Wn(e)],["Ref",e=>Ye(e)],["Reactive",e=>Tr(e)]],FS=ft({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,i]of $S)MS(r,i);Object.assign(e.payload,([t,n]=un(()=>e.runWithContext(OS)),t=await t,n(),t)),window.__NUXT__=e.payload}});async function Sf(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async i=>{var h;const s=new Map,o=new Promise(_=>{e.resolveTags().then(p=>{_(p.map(b=>{const v=s.get(b._d)||0,y={tag:b,id:(v?`${b._d}:${v}`:b._d)||bh(b),shouldRender:!0};return b._d&&Xv(b._d)&&s.set(b._d,v+1),y}))})});let a=e._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const _ of["body","head"]){const p=(h=n[_])==null?void 0:h.children;for(const b of p){const v=b.tagName.toLowerCase();if(!mh.has(v))continue;const y=Jv({tag:v,props:{}},{innerHTML:b.innerHTML,...b.getAttributeNames().reduce((g,m)=>(g[m]=b.getAttribute(m),g),{})||{}});if(y.key=b.getAttribute("data-hid")||void 0,y._d=Wc(y)||bh(y),a.elMap.has(y._d)){let g=1,m=y._d;for(;a.elMap.has(m);)m=`${y._d}:${g++}`;a.elMap.set(m,b)}else a.elMap.set(y._d,b)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function l(_,p,b){const v=`${_}:${p}`;a.sideEffects[v]=b,delete a.pendingSideEffects[v]}function u({id:_,$el:p,tag:b}){const v=b.tag.endsWith("Attrs");a.elMap.set(_,p),v||(b.textContent&&b.textContent!==p.textContent&&(p.textContent=b.textContent),b.innerHTML&&b.innerHTML!==p.innerHTML&&(p.innerHTML=b.innerHTML),l(_,"el",()=>{p==null||p.remove(),a.elMap.delete(_)}));for(const y in b.props){if(!Object.prototype.hasOwnProperty.call(b.props,y))continue;const g=b.props[y];if(y.startsWith("on")&&typeof g=="function"){const E=p==null?void 0:p.dataset;if(E&&E[`${y}fired`]){const x=y.slice(0,-5);g.call(p,new Event(x.substring(2)))}p.getAttribute(`data-${y}`)!==""&&((b.tag==="bodyAttrs"?n.defaultView:p).addEventListener(y.substring(2),g.bind(p)),p.setAttribute(`data-${y}`,""));continue}const m=`attr:${y}`;if(y==="class"){if(!g)continue;for(const E of g)v&&l(_,`${m}:${E}`,()=>p.classList.remove(E)),!p.classList.contains(E)&&p.classList.add(E)}else if(y==="style"){if(!g)continue;for(const[E,x]of g)l(_,`${m}:${E}`,()=>{p.style.removeProperty(E)}),p.style.setProperty(E,x)}else g!==!1&&g!==null&&(p.getAttribute(y)!==g&&p.setAttribute(y,g===!0?"":String(g)),v&&l(_,m,()=>p.removeAttribute(y)))}}const c=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},d=await o;for(const _ of d){const{tag:p,shouldRender:b,id:v}=_;if(b){if(p.tag==="title"){n.title=p.textContent,l("title","",()=>n.title=a.title);continue}_.$el=_.$el||a.elMap.get(v),_.$el?u(_):mh.has(p.tag)&&c.push(_)}}for(const _ of c){const p=_.tag.tagPosition||"head";_.$el=n.createElement(_.tag.tag),u(_),f[p]=f[p]||n.createDocumentFragment(),f[p].appendChild(_.$el)}for(const _ of d)await e.hooks.callHook("dom:renderTag",_,n,l);f.head&&n.head.appendChild(f.head),f.bodyOpen&&n.body.insertBefore(f.bodyOpen,n.body.firstChild),f.bodyClose&&n.body.appendChild(f.bodyClose);for(const _ in a.pendingSideEffects)a.pendingSideEffects[_]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:d}),i()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function DS(e={}){var r,i,s;const t=((r=e.domOptions)==null?void 0:r.render)||Sf;e.document=e.document||(typeof window<"u"?document:void 0);const n=((s=(i=e.document)==null?void 0:i.head.querySelector('script[id="unhead:payload"]'))==null?void 0:s.innerHTML)||!1;return pS({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function NS(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function HS(e={}){const t=DS({domOptions:{render:NS(()=>Sf(t),n=>setTimeout(n,0))},...e});return t.install=SS(t),t}const jS={disableDefaults:!0,disableCapoSorting:!1,plugins:[mS,yS,ES,vS]},US=ft({name:"nuxt:head",enforce:"pre",setup(e){const t=HS(jS);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await Sf(t)};t.hooks.hook("dom:beforeRender",i=>{i.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}});/*!
20  * vue-router v4.5.1
21  * (c) 2025 Eduardo San Martin Morote
22  * @license MIT
23  */const mi=typeof document<"u";function im(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}
vendor: 9,797 bytes, line 23
23function BS(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&im(e.default)}const xe=Object.assign;function Ql(e,t){const n={};for(const r in t){const i=t[r];n[r]=_n(i)?i.map(e):e(i)}return n}const As=()=>{},_n=Array.isArray,sm=/#/g,VS=/&/g,qS=/\//g,WS=/=/g,KS=/\?/g,om=/\+/g,zS=/%5B/g,GS=/%5D/g,am=/%5E/g,YS=/%60/g,lm=/%7B/g,XS=/%7C/g,cm=/%7D/g,JS=/%20/g;function Cf(e){return encodeURI(""+e).replace(XS,"|").replace(zS,"[").replace(GS,"]")}function QS(e){return Cf(e).replace(lm,"{").replace(cm,"}").replace(am,"^")}function Gc(e){return Cf(e).replace(om,"%2B").replace(JS,"+").replace(sm,"%23").replace(VS,"%26").replace(YS,"`").replace(lm,"{").replace(cm,"}").replace(am,"^")}function ZS(e){return Gc(e).replace(WS,"%3D")}function eC(e){return Cf(e).replace(sm,"%23").replace(KS,"%3F")}function tC(e){return e==null?"":eC(e).replace(qS,"%2F")}function Js(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const nC=/\/$/,rC=e=>e.replace(nC,"");function Zl(e,t,n="/"){let r,i={},s="",o="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),s=t.slice(l+1,a>-1?a:t.length),i=e(s)),a>-1&&(r=r||t.slice(0,a),o=t.slice(a,t.length)),r=aC(r??t,n),{fullPath:r+(s&&"?")+s+o,path:r,query:i,hash:Js(o)}}function iC(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Lh(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function sC(e,t,n){const r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&Ui(t.matched[r],n.matched[i])&&um(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Ui(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function um(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!oC(e[n],t[n]))return!1;return!0}function oC(e,t){return _n(e)?Ih(e,t):_n(t)?Ih(t,e):e===t}function Ih(e,t){return _n(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function aC(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),i=r[r.length-1];(i===".."||i===".")&&r.push("");let s=n.length-1,o,a;for(o=0;o<r.length;o++)if(a=r[o],a!==".")if(a==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(o).join("/")}const Wt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Qs;(function(e){e.pop="pop",e.push="push"})(Qs||(Qs={}));var Rs;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Rs||(Rs={}));function lC(e){if(!e)if(mi){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),rC(e)}const cC=/^[^#]+#/;function uC(e,t){return e.replace(cC,"#")+t}function fC(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const gl=()=>({left:window.scrollX,top:window.scrollY});function dC(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=fC(i,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 Th(e,t){return(history.state?history.state.position-t:-1)+e}const Yc=new Map;function hC(e,t){Yc.set(e,t)}function pC(e){const t=Yc.get(e);return Yc.delete(e),t}let gC=()=>location.protocol+"//"+location.host;function fm(e,t){const{pathname:n,search:r,hash:i}=t,s=e.indexOf("#");if(s>-1){let a=i.includes(e.slice(s))?e.slice(s).length:1,l=i.slice(a);return l[0]!=="/"&&(l="/"+l),Lh(l,"")}return Lh(n,e)+r+i}function _C(e,t,n,r){let i=[],s=[],o=null;const a=({state:d})=>{const h=fm(e,location),_=n.value,p=t.value;let b=0;if(d){if(n.value=h,t.value=d,o&&o===_){o=null;return}b=p?d.position-p.position:0}else r(h);i.forEach(v=>{v(n.value,_,{delta:b,type:Qs.pop,direction:b?b>0?Rs.forward:Rs.back:Rs.unknown})})};function l(){o=n.value}function u(d){i.push(d);const h=()=>{const _=i.indexOf(d);_>-1&&i.splice(_,1)};return s.push(h),h}function c(){const{history:d}=window;d.state&&d.replaceState(xe({},d.state,{scroll:gl()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:l,listen:u,destroy:f}}function Ah(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?gl():null}}function vC(e){const{history:t,location:n}=window,r={value:fm(e,n)},i={value:t.state};i.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(l,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:gC()+e+l;try{t[c?"replaceState":"pushState"](u,"",d),i.value=u}catch(h){console.error(h),n[c?"replace":"assign"](d)}}function o(l,u){const c=xe({},t.state,Ah(i.value.back,l,i.value.forward,!0),u,{position:i.value.position});s(l,c,!0),r.value=l}function a(l,u){const c=xe({},i.value,t.state,{forward:l,scroll:gl()});s(c.current,c,!0);const f=xe({},Ah(r.value,l,null),{position:c.position+1},u);s(l,f,!1),r.value=l}return{location:r,state:i,push:a,replace:o}}function mC(e){e=lC(e);const t=vC(e),n=_C(e,t.state,t.location,t.replace);function r(s,o=!0){o||n.pauseListeners(),history.go(s)}const i=xe({location:"",base:e,go:r,createHref:uC.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function yC(e){return typeof e=="string"||e&&typeof e=="object"}function dm(e){return typeof e=="string"||typeof e=="symbol"}const hm=Symbol("");var Rh;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Rh||(Rh={}));function Bi(e,t){return xe(new Error,{type:e,[hm]:!0},t)}function wn(e,t){return e instanceof Error&&hm in e&&(t==null||!!(e.type&t))}const Ph="[^/]+?",bC={sensitive:!1,strict:!1,start:!0,end:!0},wC=/[.+*?^${}()[\]/\\]/g;function EC(e,t){const n=xe({},bC,t),r=[];let i=n.start?"^":"";const s=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(i+="/");for(let f=0;f<u.length;f++){const d=u[f];let h=40+(n.sensitive?.25:0);if(d.type===0)f||(i+="/"),i+=d.value.replace(wC,"\\$&"),h+=40;else if(d.type===1){const{value:_,repeatable:p,optional:b,regexp:v}=d;s.push({name:_,repeatable:p,optional:b});const y=v||Ph;if(y!==Ph){h+=10;try{new RegExp(`(${y})`)}catch(m){throw new Error(`Invalid custom RegExp for param "${_}" (${y}): `+m.message)}}let g=p?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;f||(g=b&&u.length<2?`(?:/${g})`:"/"+g),b&&(g+="?"),i+=g,h+=20,b&&(h+=-8),p&&(h+=-20),y===".*"&&(h+=-50)}c.push(h)}r.push(c)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=.7000000000000001}n.strict||(i+="/?"),n.end?i+="$":n.strict&&!i.endsWith("/")&&(i+="(?:/|$)");const o=new RegExp(i,n.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]||"",_=s[d-1];f[_.name]=h&&_.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===0)c+=h.value;else if(h.type===1){const{value:_,repeatable:p,optional:b}=h,v=_ in u?u[_]:"";if(_n(v)&&!p)throw new Error(`Provided param "${_}" is an array but it is not repeatable (* or + modifiers)`);const y=_n(v)?v.join("/"):v;if(!y)if(b)d.length<2&&(c.endsWith("/")?c=c.slice(0,-1):f=!0);else throw new Error(`Missing required param "${_}"`);c+=y}}return c||"/"}return{re:o,score:r,keys:s,parse:a,stringify:l}}function kC(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function pm(e,t){let n=0;const r=e.score,i=t.score;for(;n<r.length&&n<i.length;){const s=kC(r[n],i[n]);if(s)return s;n++}if(Math.abs(i.length-r.length)===1){if(Oh(r))return 1;if(Oh(i))return-1}return i.length-r.length}function Oh(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const SC={type:0,value:""},CC=/[a-zA-Z0-9_]/;function xC(e){if(!e)return[[]];if(e==="/")return[[SC]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${u}": ${h}`)}let n=0,r=n;const i=[];let s;function o(){s&&i.push(s),s=[]}let a=0,l,u="",c="";function f(){u&&(n===0?s.push({type:0,value:u}):n===1||n===2||n===3?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(u&&f(),o()):l===":"?(f(),n=1):d();break;case 4:d(),n=r;break;case 1:l==="("?n=2:CC.test(l)?d():(f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+l:n=3:c+=l;break;case 3:f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,c="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${u}"`),f(),o(),i}function LC(e,t,n){const r=EC(xC(e.path),n),i=xe(r,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function IC(e,t){const n=[],r=new Map;t=Dh({strict:!1,end:!0,sensitive:!1},t);function i(f){return r.get(f)}function s(f,d,h){const _=!h,p=$h(f);p.aliasOf=h&&h.record;const b=Dh(t,f),v=[p];
vendor: 8,789 bytes, line 23
23if("alias"in f){const m=typeof f.alias=="string"?[f.alias]:f.alias;for(const E of m)v.push($h(xe({},p,{components:h?h.record.components:p.components,path:E,aliasOf:h?h.record:p})))}let y,g;for(const m of v){const{path:E}=m;if(d&&E[0]!=="/"){const x=d.record.path,L=x[x.length-1]==="/"?"":"/";m.path=d.record.path+(E&&L+E)}if(y=LC(m,d,b),h?h.alias.push(y):(g=g||y,g!==y&&g.alias.push(y),_&&f.name&&!Fh(y)&&o(f.name)),gm(y)&&l(y),p.children){const x=p.children;for(let L=0;L<x.length;L++)s(x[L],y,h&&h.children[L])}h=h||y}return g?()=>{o(g)}:As}function o(f){if(dm(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(o),d.alias.forEach(o))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(o),f.alias.forEach(o))}}function a(){return n}function l(f){const d=RC(f,n);n.splice(d,0,f),f.record.name&&!Fh(f)&&r.set(f.record.name,f)}function u(f,d){let h,_={},p,b;if("name"in f&&f.name){if(h=r.get(f.name),!h)throw Bi(1,{location:f});b=h.record.name,_=xe(Mh(d.params,h.keys.filter(g=>!g.optional).concat(h.parent?h.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),f.params&&Mh(f.params,h.keys.map(g=>g.name))),p=h.stringify(_)}else if(f.path!=null)p=f.path,h=n.find(g=>g.re.test(p)),h&&(_=h.parse(p),b=h.record.name);else{if(h=d.name?r.get(d.name):n.find(g=>g.re.test(d.path)),!h)throw Bi(1,{location:f,currentLocation:d});b=h.record.name,_=xe({},d.params,f.params),p=h.stringify(_)}const v=[];let y=h;for(;y;)v.unshift(y.record),y=y.parent;return{name:b,path:p,params:_,matched:v,meta:AC(v)}}e.forEach(f=>s(f));function c(){n.length=0,r.clear()}return{addRoute:s,resolve:u,removeRoute:o,clearRoutes:c,getRoutes:a,getRecordMatcher:i}}function Mh(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function $h(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:TC(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 TC(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Fh(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function AC(e){return e.reduce((t,n)=>xe(t,n.meta),{})}function Dh(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function RC(e,t){let n=0,r=t.length;for(;n!==r;){const s=n+r>>1;pm(e,t[s])<0?r=s:n=s+1}const i=PC(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function PC(e){let t=e;for(;t=t.parent;)if(gm(t)&&pm(e,t)===0)return t}function gm({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function OC(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;i<r.length;++i){const s=r[i].replace(om," "),o=s.indexOf("="),a=Js(o<0?s:s.slice(0,o)),l=o<0?null:Js(s.slice(o+1));if(a in t){let u=t[a];_n(u)||(u=t[a]=[u]),u.push(l)}else t[a]=l}return t}function Nh(e){let t="";for(let n in e){const r=e[n];if(n=ZS(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(_n(r)?r.map(s=>s&&Gc(s)):[r&&Gc(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function MC(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=_n(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return t}const $C=Symbol(""),Hh=Symbol(""),xf=Symbol(""),Lf=Symbol(""),Xc=Symbol("");function os(){let e=[];function t(r){return e.push(r),()=>{const i=e.indexOf(r);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function hr(e,t,n,r,i,s=o=>o()){const o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((a,l)=>{const u=d=>{d===!1?l(Bi(4,{from:n,to:t})):d instanceof Error?l(d):yC(d)?l(Bi(2,{from:t,to:d})):(o&&r.enterCallbacks[i]===o&&typeof d=="function"&&o.push(d),a())},c=s(()=>e.call(r&&r.instances[i],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(d=>l(d))})}function ec(e,t,n,r,i=s=>s()){const s=[];for(const o of e)for(const a in o.components){let l=o.components[a];if(!(t!=="beforeRouteEnter"&&!o.instances[a]))if(im(l)){const c=(l.__vccOpts||l)[t];c&&s.push(hr(c,n,r,o,a,i))}else{let u=l();s.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${a}" at "${o.path}"`);const f=BS(c)?c.default:c;o.mods[a]=c,o.components[a]=f;const h=(f.__vccOpts||f)[t];return h&&hr(h,n,r,o,a,i)()}))}}return s}function jh(e){const t=lt(xf),n=lt(Lf),r=_e(()=>{const l=ge(e.to);return t.resolve(l)}),i=_e(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const d=f.findIndex(Ui.bind(null,c));if(d>-1)return d;const h=Uh(l[u-2]);return u>1&&Uh(c)===h&&f[f.length-1].path!==h?f.findIndex(Ui.bind(null,l[u-2])):d}),s=_e(()=>i.value>-1&&jC(n.params,r.value.params)),o=_e(()=>i.value>-1&&i.value===n.matched.length-1&&um(n.params,r.value.params));function a(l={}){if(HC(l)){const u=t[ge(e.replace)?"replace":"push"](ge(e.to)).catch(As);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:_e(()=>r.value.href),isActive:s,isExactActive:o,navigate:a}}function FC(e){return e.length===1?e[0]:e}const DC=sn({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:jh,setup(e,{slots:t}){const n=Tr(jh(e)),{options:r}=lt(xf),i=_e(()=>({[Bh(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Bh(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&FC(t.default(n));return e.custom?s:tt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},s)}}}),NC=DC;function HC(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 jC(e,t){for(const n in t){const r=t[n],i=e[n];if(typeof r=="string"){if(r!==i)return!1}else if(!_n(i)||i.length!==r.length||r.some((s,o)=>s!==i[o]))return!1}return!0}function Uh(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Bh=(e,t,n)=>e??t??n,UC=sn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=lt(Xc),i=_e(()=>e.route||r.value),s=lt(Hh,0),o=_e(()=>{let u=ge(s);const{matched:c}=i.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),a=_e(()=>i.value.matched[o.value]);ei(Hh,_e(()=>o.value+1)),ei($C,a),ei(Xc,i);const l=Ye();return bt(()=>[l.value,a.value,e.name],([u,c,f],[d,h,_])=>{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||!Ui(c,h)||!d)&&(c.enterCallbacks[f]||[]).forEach(p=>p(u))},{flush:"post"}),()=>{const u=i.value,c=e.name,f=a.value,d=f&&f.components[c];if(!d)return Vh(n.default,{Component:d,route:u});const h=f.props[c],_=h?h===!0?u.params:typeof h=="function"?h(u):h:null,b=tt(d,xe({},_,t,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return Vh(n.default,{Component:b,route:u})||b}}});function Vh(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const _m=UC;function BC(e){const t=IC(e.routes,e),n=e.parseQuery||OC,r=e.stringifyQuery||Nh,i=e.history,s=os(),o=os(),a=os(),l=Fi(Wt);let u=Wt;mi&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Ql.bind(null,H=>""+H),f=Ql.bind(null,tC),d=Ql.bind(null,Js);function h(H,z){let K,J;return dm(H)?(K=t.getRecordMatcher(H),J=z):J=H,t.addRoute(J,K)}function _(H){const z=t.getRecordMatcher(H);z&&t.removeRoute(z)}function p(){return t.getRoutes().map(H=>H.record)}function b(H){return!!t.getRecordMatcher(H)}function v(H,z){if(z=xe({},z||l.value),typeof H=="string"){const C=Zl(n,H,z.path),A=t.resolve({path:C.path},z),U=i.createHref(C.fullPath);return xe(C,A,{params:d(A.params),hash:Js(C.hash),redirectedFrom:void 0,href:U})}let K;if(H.path!=null)K=xe({},H,{path:Zl(n,H.path,z.path).path});else{const C=xe({},H.params);for(const A in C)C[A]==null&&delete C[A];K=xe({},H,{params:f(C)}),z.params=f(z.params)}const J=t.resolve(K,z),fe=H.hash||"";J.params=c(d(J.params));const be=iC(r,xe({},H,{hash:QS(fe),path:J.path})),k=i.createHref(be);
23return xe({fullPath:be,hash:fe,query:r===Nh?MC(H.query):H.query||{}},J,{redirectedFrom:void 0,href:k})}function y(H){return typeof H=="string"?Zl(n,H,l.value.path):xe({},H)}function g(H,z){if(u!==H)return Bi(8,{from:z,to:H})}function m(H){return L(H)}function E(H){return m(xe(y(H),{replace:!0}))}function x(H){const z=H.matched[H.matched.length-1];if(z&&z.redirect){const{redirect:K}=z;let J=typeof K=="function"?K(H):K;return typeof J=="string"&&(J=J.includes("?")||J.includes("#")?J=y(J):{path:J},J.params={}),xe({query:H.query,hash:H.hash,params:J.path!=null?{}:H.params},J)}}function L(H,z){const K=u=v(H),J=l.value,fe=H.state,be=H.force,k=H.replace===!0,C=x(K);if(C)return L(xe(y(C),{state:typeof C=="object"?xe({},fe,C.state):fe,force:be,replace:k}),z||K);const A=K;A.redirectedFrom=z;let U;return!be&&sC(r,J,K)&&(U=Bi(16,{to:A,from:J}),Fe(J,J,!0,!1)),(U?Promise.resolve(U):$(A,J)).catch(N=>wn(N)?wn(N,2)?N:Pe(N):X(N,A,J)).then(N=>{if(N){if(wn(N,2))return L(xe({replace:k},y(N.to),{state:typeof N.to=="object"?xe({},fe,N.to.state):fe,force:be}),z||A)}else N=F(A,J,!0,k,fe);return B(A,J,N),N})}function D(H,z){const K=g(H,z);return K?Promise.reject(K):Promise.resolve()}function M(H){const z=ke.values().next().value;return z&&typeof z.runWithContext=="function"?z.runWithContext(H):H()}function $(H,z){let K;const[J,fe,be]=VC(H,z);K=ec(J.reverse(),"beforeRouteLeave",H,z);for(const C of J)C.leaveGuards.forEach(A=>{K.push(hr(A,H,z))});const k=D.bind(null,H,z);return K.push(k),Se(K).then(()=>{K=[];for(const C of s.list())K.push(hr(C,H,z));return K.push(k),Se(K)}).then(()=>{K=ec(fe,"beforeRouteUpdate",H,z);for(const C of fe)C.updateGuards.forEach(A=>{K.push(hr(A,H,z))});return K.push(k),Se(K)}).then(()=>{K=[];for(const C of be)if(C.beforeEnter)if(_n(C.beforeEnter))for(const A of C.beforeEnter)K.push(hr(A,H,z));else K.push(hr(C.beforeEnter,H,z));return K.push(k),Se(K)}).then(()=>(H.matched.forEach(C=>C.enterCallbacks={}),K=ec(be,"beforeRouteEnter",H,z,M),K.push(k),Se(K))).then(()=>{K=[];for(const C of o.list())K.push(hr(C,H,z));return K.push(k),Se(K)}).catch(C=>wn(C,8)?C:Promise.reject(C))}function B(H,z,K){a.list().forEach(J=>M(()=>J(H,z,K)))}function F(H,z,K,J,fe){const be=g(H,z);if(be)return be;const k=z===Wt,C=mi?history.state:{};K&&(J||k?i.replace(H.fullPath,xe({scroll:k&&C&&C.scroll},fe)):i.push(H.fullPath,fe)),l.value=H,Fe(H,z,K,k),Pe()}let q;function ie(){q||(q=i.listen((H,z,K)=>{if(!Ue.listening)return;const J=v(H),fe=x(J);if(fe){L(xe(fe,{replace:!0,force:!0}),J).catch(As);return}u=J;const be=l.value;mi&&hC(Th(be.fullPath,K.delta),gl()),$(J,be).catch(k=>wn(k,12)?k:wn(k,2)?(L(xe(y(k.to),{force:!0}),J).then(C=>{wn(C,20)&&!K.delta&&K.type===Qs.pop&&i.go(-1,!1)}).catch(As),Promise.reject()):(K.delta&&i.go(-K.delta,!1),X(k,J,be))).then(k=>{k=k||F(J,be,!1),k&&(K.delta&&!wn(k,8)?i.go(-K.delta,!1):K.type===Qs.pop&&wn(k,20)&&i.go(-1,!1)),B(J,be,k)}).catch(As)}))}let oe=os(),W=os(),ee;function X(H,z,K){Pe(H);const J=W.list();return J.length?J.forEach(fe=>fe(H,z,K)):console.error(H),Promise.reject(H)}function le(){return ee&&l.value!==Wt?Promise.resolve():new Promise((H,z)=>{oe.add([H,z])})}function Pe(H){return ee||(ee=!H,ie(),oe.list().forEach(([z,K])=>H?K(H):z()),oe.reset()),H}function Fe(H,z,K,J){const{scrollBehavior:fe}=e;if(!mi||!fe)return Promise.resolve();const be=!K&&pC(Th(H.fullPath,0))||(J||!K)&&history.state&&history.state.scroll||null;return ri().then(()=>fe(H,z,be)).then(k=>k&&dC(k)).catch(k=>X(k,H,z))}const ue=H=>i.go(H);let Te;const ke=new Set,Ue={currentRoute:l,listening:!0,addRoute:h,removeRoute:_,clearRoutes:t.clearRoutes,hasRoute:b,getRoutes:p,resolve:v,options:e,push:m,replace:E,go:ue,back:()=>ue(-1),forward:()=>ue(1),beforeEach:s.add,beforeResolve:o.add,afterEach:a.add,onError:W.add,isReady:le,install(H){const z=this;H.component("RouterLink",NC),H.component("RouterView",_m),H.config.globalProperties.$router=z,Object.defineProperty(H.config.globalProperties,"$route",{enumerable:!0,get:()=>ge(l)}),mi&&!Te&&l.value===Wt&&(Te=!0,m(i.location).catch(fe=>{}));const K={};for(const fe in Wt)Object.defineProperty(K,fe,{get:()=>l.value[fe],enumerable:!0});H.provide(xf,z),H.provide(Lf,Wn(K)),H.provide(Xc,l);const J=H.unmount;ke.add(H),H.unmount=function(){ke.delete(H),ke.size<1&&(u=Wt,q&&q(),q=null,l.value=Wt,Te=!1,ee=!1),J()}}};function Se(H){return H.reduce((z,K)=>z.then(()=>M(K)),Promise.resolve())}return Ue}function VC(e,t){const n=[],r=[],i=[],s=Math.max(t.matched.length,e.matched.length);for(let o=0;o<s;o++){const a=t.matched[o];a&&(e.matched.find(u=>Ui(u,a))?r.push(a):n.push(a));const l=e.matched[o];l&&(t.matched.find(u=>Ui(u,l))||i.push(l))}return[n,r,i]}function qC(e){return lt(Lf)}const WC=/(:\w+)\([^)]+\)/g,KC=/(:\w+)[?+*]/g,zC=/:\w+/g,GC=(e,t)=>t.path.replace(WC,"$1").replace(KC,"$1").replace(zC,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),Jc=(e,t)=>{const n=e.route.matched.find(i=>{var s;return((s=i.components)==null?void 0:s.default)===e.Component.type}),r=t??(n==null?void 0:n.meta.key)??(n&&GC(e.route,n));return typeof r=="function"?r(e.route):r},YC=(e,t)=>({default:()=>e?tt(V0,e===!0?{}:e,t):t});function If(e){return Array.isArray(e)?e:[e]}const XC={title:"wip.title"},JC={title:"navbar.about-us"},QC={title:"home.seo-title"},ZC={title:"legal.terms.title"},ex={title:"navbar.contact-us"},tx={title:"navbar.leafcad"},nx={title:"navbar.pricing"},rx={title:"legal.privacy.title"},tc=[{name:"wip",path:"/wip",meta:XC||{},component:()=>At(()=>import("./ZX-tFTPz.js"),__vite__mapDeps([0,1]),import.meta.url)},{name:"about",path:"/about",meta:JC||{},component:()=>At(()=>import("./Ck8KiGOc.js"),__vite__mapDeps([2,1]),import.meta.url)},{name:"index",path:"/",meta:QC||{},component:()=>At(()=>import("./D7-PAs9T.js"),__vite__mapDeps([3,4,1]),import.meta.url)},{name:"terms",path:"/terms",meta:ZC||{},component:()=>At(()=>import("./BlYBwEAB.js"),__vite__mapDeps([5,1]),import.meta.url)},{name:"contact",path:"/contact",meta:ex||{},component:()=>At(()=>import("./0BWueGY3.js"),__vite__mapDeps([6,7,8,9,1]),import.meta.url)},{name:"leafcad",path:"/leafcad",meta:tx||{},component:()=>At(()=>import("./DOc4B8LJ.js"),__vite__mapDeps([10,1]),import.meta.url)},{name:"pricing",path:"/pricing",meta:nx||{},component:()=>At(()=>import("./D9Ql7222.js"),__vite__mapDeps([11,7,8,9,4,1]),import.meta.url)},{name:"privacy",path:"/privacy",meta:rx||{},component:()=>At(()=>import("./C83RlQAb.js"),__vite__mapDeps([12,1]),import.meta.url)}],vm=(e,t)=>
23({default:()=>{var n;return e?tt(qw,e===!0?{}:e,t):(n=t.default)==null?void 0:n.call(t)}}),ix=/(:\w+)\([^)]+\)/g,sx=/(:\w+)[?+*]/g,ox=/:\w+/g;function qh(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(ix,"$1").replace(sx,"$1").replace(ox,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""});return typeof t=="function"?t(e):t}function ax(e,t){return e===t||t===Wt?!1:qh(e)!==qh(t)?!0:!e.matched.every((r,i)=>{var s,o;return r.components&&r.components.default===((o=(s=t.matched[i])==null?void 0:s.components)==null?void 0:o.default)})}const lx={scrollBehavior(e,t,n){var l;const r=de(),i=((l=ut().options)==null?void 0:l.scrollBehaviorType)??"auto";if(e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:mm(e.hash),behavior:i}:!1;if((typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1)return!1;let o=n||void 0;!o&&ax(e,t)&&(o={left:0,top:0});const a=r._runningTransition?"page:transition:finish":"page:loading:end";return new Promise(u=>{if(t===Wt){u(Wh(e,"instant",o));return}r.hooks.hookOnce(a,()=>{requestAnimationFrame(()=>u(Wh(e,"instant",o)))})})}};function mm(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 Wh(e,t,n){return n||(e.hash?{el:e.hash,top:mm(e.hash),behavior:t}:{left:0,top:0,behavior:t})}const cx={strict:!0,hashMode:!1,scrollBehaviorType:"auto"},yn={...cx,...lx},ux=async(e,t)=>{var o;let n,r;if(!((o=e.meta)!=null&&o.validate))return;const i=([n,r]=un(()=>Promise.resolve(e.meta.validate(e))),n=await n,r(),n);if(i===!0)return;const s=ti({fatal:!0,statusCode:i&&i.statusCode||404,statusMessage:i&&i.statusMessage||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}});return typeof window<"u"&&window.history.pushState({},"",t.fullPath),s},fx=(e,t)=>{if(e.path!=="/"&&e.path.endsWith("/")){const{path:n,query:r,hash:i}=e,o={path:n.replace(/\/+$/,"")||"/",query:r,hash:i};return fr(o,{})}},dx=async e=>{let t,n;const r=([t,n]=un(()=>kf({path:e.path})),t=await t,n(),t);if(r.redirect)return Bt(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},hx=[ux,fx,dx],Ps={};function px(e,t,n){const{pathname:r,search:i,hash:s}=t,o=e.indexOf("#");if(o>-1){const u=s.includes(e.slice(o))?e.slice(o).length:1;let c=s.slice(u);return c[0]!=="/"&&(c="/"+c),lh(c,"")}const a=lh(r,e),l=!n||WE(a,n)?a:n;return l+(l.includes("?")?"":i)+s}const gx=ft({name:"nuxt:router",enforce:"pre",async setup(e){var b;let t,n,r=Pn().app.baseURL;const i=((b=yn.history)==null?void 0:b.call(yn,r))??mC(r),s=yn.routes?([t,n]=un(()=>yn.routes(tc)),t=await t,n(),t??tc):tc;let o;const a=BC({...yn,scrollBehavior:(v,y,g)=>{if(y===Wt){o=g;return}if(yn.scrollBehavior){if(a.options.scrollBehavior=yn.scrollBehavior,"scrollRestoration"in window.history){const m=a.beforeEach(()=>{m(),window.history.scrollRestoration="manual"})}return yn.scrollBehavior(v,Wt,o||g)}},history:i,routes:s});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const l=Fi(a.currentRoute.value);a.afterEach((v,y)=>{l.value=y}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const u=px(r,window.location,e.payload.path),c=Fi(a.currentRoute.value),f=()=>{c.value=a.currentRoute.value};e.hook("page:finish",f),a.afterEach((v,y)=>{var g,m,E,x;((m=(g=v.matched[0])==null?void 0:g.components)==null?void 0:m.default)===((x=(E=y.matched[0])==null?void 0:E.components)==null?void 0:x.default)&&f()});const d={};for(const v in c.value)Object.defineProperty(d,v,{get:()=>c.value[v],enumerable:!0});e._route=Wn(d),e._middleware||(e._middleware={global:[],named:{}});const h=hl();a.afterEach(async(v,y,g)=>{delete e._processingMiddleware,!e.isHydrating&&h.value&&await e.runWithContext(jk),g&&await e.callHook("page:loading:end")});try{[t,n]=un(()=>a.isReady()),await t,n()}catch(v){[t,n]=un(()=>e.runWithContext(()=>Wr(v))),await t,n()}const _=u!==a.currentRoute.value.fullPath?a.resolve(u):a.currentRoute.value;f();const p=e.payload.state._layout;return a.beforeEach(async(v,y)=>{var g;await e.callHook("page:loading:start"),v.meta=Tr(v.meta),e.isHydrating&&p&&!Zn(v.meta.layout)&&(v.meta.layout=p),e._processingMiddleware=!0;{const m=new Set([...hx,...e._middleware.global]);for(const E of v.matched){const x=E.meta.middleware;
23if(x)for(const L of If(x))m.add(L)}{const E=await e.runWithContext(()=>kf({path:v.path}));if(E.appMiddleware)for(const x in E.appMiddleware)E.appMiddleware[x]?m.add(x):m.delete(x)}for(const E of m){const x=typeof E=="string"?e._middleware.named[E]||await((g=Ps[E])==null?void 0:g.call(Ps).then(L=>L.default||L)):E;if(!x)throw new Error(`Unknown route middleware: '${E}'.`);try{const L=await e.runWithContext(()=>x(v,y));if(!e.payload.serverRendered&&e.isHydrating&&(L===!1||L instanceof Error)){const D=L||ti({statusCode:404,statusMessage:`Page Not Found: ${u}`});return await e.runWithContext(()=>Wr(D)),!1}if(L===!0)continue;if(L===!1)return L;if(L)return Wv(L)&&L.fatal&&await e.runWithContext(()=>Wr(L)),L}catch(L){const D=ti(L);return D.fatal&&await e.runWithContext(()=>Wr(D)),D}}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),a.afterEach(async(v,y)=>{v.matched.length===0&&await e.runWithContext(()=>Wr(ti({statusCode:404,fatal:!1,statusMessage:`Page not found: ${v.fullPath}`,data:{path:v.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in _&&(_.name=void 0),await a.replace({..._,force:!0}),a.options.scrollBehavior=yn.scrollBehavior}catch(v){await e.runWithContext(()=>Wr(v))}}),{provide:{router:a}}}});function Kh(e){return typeof e=="string"?`'${e}'`:new _x().serialize(e)}const _x=function(){var t;class e{constructor(){Ed(this,t,new Map)}compare(r,i){const s=typeof r,o=typeof i;return s==="string"&&o==="string"?r.localeCompare(i):s==="number"&&o==="number"?r-i:String.prototype.localeCompare.call(this.serialize(r,!0),this.serialize(i,!0))}serialize(r,i){if(r===null)return"null";switch(typeof r){case"string":return i?r:`'${r}'`;case"bigint":return`${r}n`;case"object":return this.$object(r);case"function":return this.$function(r)}return String(r)}serializeObject(r){const i=Object.prototype.toString.call(r);if(i!=="[object Object]")return this.serializeBuiltInType(i.length<10?`unknown:${i}`:i.slice(8,-1),r);const s=r.constructor,o=s===Object||s===void 0?"":s.name;if(o!==""&&globalThis[o]===s)return this.serializeBuiltInType(o,r);if(typeof r.toJSON=="function"){const a=r.toJSON();return o+(a!==null&&typeof a=="object"?this.$object(a):`(${this.serialize(a)})`)}return this.serializeObjectEntries(o,Object.entries(r))}serializeBuiltInType(r,i){const s=this["$"+r];if(s)return s.call(this,i);if(typeof(i==null?void 0:i.entries)=="function")return this.serializeObjectEntries(r,i.entries());throw new Error(`Cannot serialize ${r}`)}serializeObjectEntries(r,i){const s=Array.from(i).sort((a,l)=>this.compare(a[0],l[0]));let o=`${r}{`;for(let a=0;a<s.length;a++){const[l,u]=s[a];o+=`${this.serialize(l,!0)}:${this.serialize(u)}`,a<s.length-1&&(o+=",")}return o+"}"}$object(r){let i=ns(this,t).get(r);return i===void 0&&(ns(this,t).set(r,`#${ns(this,t).size}`),i=this.serializeObject(r),ns(this,t).set(r,i)),i}$function(r){const i=Function.prototype.toString.call(r);return i.slice(-15)==="[native code] }"?`${r.name||""}()[native]`:`${r.name}(${r.length})${i.replace(/\s*\n\s*/g,"")}`}$Array(r){let i="[";for(let s=0;s<r.length;s++)i+=this.serialize(r[s]),s<r.length-1&&(i+=",");return i+"]"}$Date(r){try{return`Date(${r.toISOString()})`}catch{return"Date(null)"}}$ArrayBuffer(r){return`ArrayBuffer[${new Uint8Array(r).join(",")}]`}$Set(r){return`Set${this.$Array(Array.from(r).sort((i,s)=>this.compare(i,s)))}`}$Map(r){return this.serializeObjectEntries("Map",r.entries())}}t=new WeakMap;for(const n of["Error","RegExp","URL"])e.prototype["$"+n]=function(r){return`${n}(${r})`};for(const n of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])e.prototype["$"+n]=function(r){return`${n}[${r.join(",")}]`};for(const n of["BigInt64Array","BigUint64Array"])e.prototype["$"+n]=function(r){return`${n}[${r.join("n,")}${r.length>0?"n":""}]`};return e}();function vx(e,t){return e===t||Kh(e)===Kh(t)}const Qc=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),mx=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),_l=e=>{const t=de();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Qc(()=>e())}):Qc(()=>e())},yx="$s";function Zs(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;
23typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const i=yx+n,s=de(),o=T_(s.payload.state,i);if(o.value===void 0&&r){const a=r();if(qe(a))return s.payload.state[i]=a,a;o.value=a}return o}function bx(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},r=t||{},i=r.decode||wx;let s=0;for(;s<e.length;){const o=e.indexOf("=",s);if(o===-1)break;let a=e.indexOf(";",s);if(a===-1)a=e.length;else if(a<o){s=e.lastIndexOf(";",o-1)+1;continue}const l=e.slice(s,o).trim();if(r!=null&&r.filter&&!(r!=null&&r.filter(l))){s=a+1;continue}if(n[l]===void 0){let u=e.slice(o+1,a).trim();u.codePointAt(0)===34&&(u=u.slice(1,-1)),n[l]=Ex(u,i)}s=a+1}return n}function wx(e){return e.includes("%")?decodeURIComponent(e):e}function Ex(e,t){try{return t(e)}catch{return e}}const Io=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function zh(e,t,n){const r=n||{},i=r.encode||encodeURIComponent;if(typeof i!="function")throw new TypeError("option encode is invalid");if(!Io.test(e))throw new TypeError("argument name is invalid");const s=i(t);if(s&&!Io.test(s))throw new TypeError("argument val is invalid");let o=e+"="+s;if(r.maxAge!==void 0&&r.maxAge!==null){const a=r.maxAge-0;if(Number.isNaN(a)||!Number.isFinite(a))throw new TypeError("option maxAge is invalid");o+="; Max-Age="+Math.floor(a)}if(r.domain){if(!Io.test(r.domain))throw new TypeError("option domain is invalid");o+="; Domain="+r.domain}if(r.path){if(!Io.test(r.path))throw new TypeError("option path is invalid");o+="; Path="+r.path}if(r.expires){if(!kx(r.expires)||Number.isNaN(r.expires.valueOf()))throw new TypeError("option expires is invali
23d");o+="; Expires="+r.expires.toUTCString()}if(r.httpOnly&&(o+="; HttpOnly"),r.secure&&(o+="; Secure"),r.priority)switch(typeof r.priority=="string"?r.priority.toLowerCase():r.priority){case"low":{o+="; Priority=Low";break}case"medium":{o+="; Priority=Medium";break}case"high":{o+="; Priority=High";break}default:throw new TypeError("option priority is invalid")}if(r.sameSite)switch(typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite){case!0:{o+="; SameSite=Strict";break}case"lax":{o+="; SameSite=Lax";break}case"strict":{o+="; SameSite=Strict";break}case"none":{o+="; SameSite=None";break}default:throw new TypeError("option sameSite is invalid")}return r.partitioned&&(o+="; Partitioned"),o}function kx(e){return Object.prototype.toString.call(e)==="[object Date]"||e instanceof Date}function on(e){if(typeof e!="object")return e;var t,n,r=Object.prototype.toString.call(e);if(r==="[object Object]"){if(e.constructor!==Object&&typeof e.constructor=="function"){n=new e.constructor;for(t in e)e.hasOwnProperty(t)&&n[t]!==e[t]&&(n[t]=on(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:on(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=on(e[t])}return n}if(r==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=on(e[t]);return n}return r==="[object Set]"?(n=new Set,e.forEach(function(i){n.add(on(i))}),n):r==="[object Map]"?(n=new Map,e.forEach(function(i,s){n.set(on(s),on(i))}),n):r==="[object Date]"?new Date(+e):r==="[object RegExp]"?(n=new RegExp(e.source,e.flags),n.lastIndex=e.lastIndex,n):r==="[object DataView]"?new e.constructor(on(e.buffer)):r==="[object ArrayBuffer]"?e.slice(0):r.slice(-6)==="Array]"?new e.constructor(e):e}const Sx={path:"/",watch:!0,decode:e=>zs(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},To=window.cookieStore;function ym(e,t){var u;const n={...Sx,...t};n.filter??(n.filter=c=>c===e);const r=Gh(n)||{};let i;n.maxAge!==void 0?i=n.maxAge*1e3:n.expires&&(i=n.expires.getTime()-Date.now());const s=i!==void 0&&i<=0,o=s||r[e]===void 0||r[e]===null,a=on(s?void 0:r[e]??((u=n.default)==null?void 0:u.call(n))),l=i&&!s?Lx(a,i,n.watch&&n.watch!=="shallow"):Ye(a);{let c=null;try{!To&&typeof BroadcastChannel<"u"&&(c=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const f=(p=!1)=>{!p&&(n.readonly||vx(l.value,r[e]))||(xx(e,l.value,n),r[e]=on(l.value),c==null||c.postMessage({value:n.encode(l.value)}))},d=p=>{var v;const b=p.refresh?(v=Gh(n))==null?void 0:v[e]:n.decode(p.value);h=!0,l.value=b,r[e]=on(b),ri(()=>{h=!1})};let h=!1;const _=!!uo();if(_&&ta(()=>{h=!0,f(),c==null||c.close()}),To){const p=b=>{const v=b.changed.find(g=>g.name===e),y=b.deleted.find(g=>g.name===e);v&&d({value:v.value}),y&&d({value:null})};To.addEventListener("change",p),_&&ta(()=>To.removeEventListener("change",p))}else c&&(c.onmessage=({data:p})=>d(p));n.watch&&bt(l,()=>{h||f()},{deep:n.watch!=="shallow"}),o&&f(o)}return l}function Gh(e={}){return bx(document.cookie,e)}function Cx(e,t,n={}){return t==null?zh(e,t,{...n,maxAge:-1}):zh(e,t,n)}function xx(e,t,n={}){document.cookie=Cx(e,t,n)}const Yh=2147483647;function Lx(e,t,n){let r,i,s=0;const o=n?Ye(e):{value:e};return uo()&&ta(()=>{i==null||i(),clearTimeout(r)}),k0((a,l)=>{n&&(i=bt(o,l));function u(){s=0,clearTimeout(r);const c=t-s,f=c<Yh?c:Yh;r=setTimeout(()=>{if(s+=f,s<t)return u();o.value=void 0,l()},f)}return{get(){return a(),o.value},set(c){u(),o.value=c,l()}}})}function Ix(e){if(e!=null&&e.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function bm(e,t=ut()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const i=t._preloadPromises||(t._preloadPromises=[]);if(i.length>4)return Promise.all(i).then(()=>bm(e,t));t._routePreloaded.add(n);const s=r.map(o=>{var a;return(a=o.components)==null?void 0:a.default}).filter(o=>typeof o=="function");for(const o of s){const a=Promise.resolve(o()).catch(()=>{}).finally(()=>i.splice(i.indexOf(a)));i.push(a)}await Promise.all(i)}function Tx(e={}){const t=e.path||window.location.pathname;let n={};try{n=zs(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires)<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:de().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const Ax=(...e)=>e.find(t=>t!==void 0);function Rx(e){const t=e.componentName||"NuxtLink";function n(s){return typeof s=="string"&&s.startsWith("#")}function r(s,o,a){const l=a??e.trailingSlash;if(!s||l!=="append"&&l!=="remove")return s;if(typeof s=="string")return Ao(s,l);const u="path"in s&&s.path!==void 0?s.path:o(s).path;return{...s,name:void 0,path:Ao(u,l)}}function i(s){const o=ut(),a=Pn(),l=_e(()=>!!s.target&&s.target!=="_self"),u=_e(()=>{const b=s.to||s.href||"";return typeof b=="string"&&Bt(b,{acceptRelative:!0})}),c=Rd("RouterLink"),f=c&&typeof c!="string"?c.useLink:void 0,d=_e(()=>{if(s.external)return!0;const b=s.to||s.href||"";return typeof b=="object"?!1:b===""||u.value}),h=_e(()=>{const b=s.to||s.href||"";return d.value?b:r(b,o.resolve,s.trailingSlash)}),_=d.value||f==null?void 0:f({...s,to:h}),p=_e(()=>{var v;const b=s.trailingSlash??e.trailingSlash;if(!h.value||u.value||n(h.value))return h.value;if(d.value){const y=typeof h.value=="object"&&"path"in h.value?Vc(h.value):h.value,g=typeof y=="object"?o.resolve(y).href:y;return Ao(g,b)}return typeof h.value=="object"?((v=o.resolve(h.value))==null?void 0:v.href)??null:Ao(Ar(a.app.baseURL,h.value),b)});return{to:h,hasTarget:l,isAbsoluteUrl:u,isExternal:d,href:p,isActive:(_==null?void 0:_.isActive)??_e(()=>h.value===o.currentRoute.value.path),isExactActive:(_==null?void 0:_.isExactActive)??_e(()=>h.value===o.currentRoute.value.path),route:(_==null?void 0:_.route)??_e(()=>o.resolve(h.value)),async navigate(b){await fr(p.value,{replace:s.replace,external:d.value||l.value})}}}return sn({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:i,setup(s,{slots:o}){const a=ut(),{to:l,href:u,navigate:c,isExternal:f,hasTarget:d,isAbsoluteUrl:h}=i(s),_=Ye(!1),p=Ye(null),b=g=>{var m;p.value=s.custom?(m=g==null?void 0:g.$el)==null?void 0:m.nextElementSibling:g==null?void 0:g.$el};function v(g){var m,E;return!_.value&&(typeof s.prefetchOn=="string"?s.prefetchOn===g:((m=s.prefetchOn)==null?void 0:m[g])??((E=e.prefetchOn)==null?void 0:E[g]))&&(s.prefetch??e.prefetch)!==!1&&s.noPrefetch!==!0&&s.target!=="_blank"&&!$x()}async function y(g=de()){if(_.value)return;_.value=!0;const m=typeof l.value=="string"?l.value:f.value?Vc(l.value):a.resolve(l.value).fullPath,E=f.value?new URL(m,window.location.href).href:m;await Promise.all([g.hooks.callHook("link:prefetch",E).catch(()=>{}),!f.value&&!d.value&&bm(l.value,a).catch(()=>{})])}if(v("visibility")){const g=de();let m,E=null;di(()=>{const x=Ox();_l(()=>{m=Qc(()=>{var L;(L=p==null?void 0:p.value)!=null&&L.tagName&&(E=x.observe(p.value,async()=>{E==null||E(),E=null,await y(g)}))})})}),hi(()=>{m&&mx(m),E==null||E(),E=null})}return()=>{var E;if(!f.value&&!d.value&&!n(l.value)){const x={ref:b,to:l.value,activeClass:s.activeClass||e.activeClass,exactActiveClass:s.exactActiveClass||e.exactActiveClass,replace:s.replace,ariaCurrentValue:s.ariaCurrentValue,custom:s.custom};
23return s.custom||(v("interaction")&&(x.onPointerenter=y.bind(null,void 0),x.onFocus=y.bind(null,void 0)),_.value&&(x.class=s.prefetchedClass||e.prefetchedClass),x.rel=s.rel||void 0),tt(Rd("RouterLink"),x,o.default)}const g=s.target||null,m=Ax(s.noRel?"":s.rel,e.externalRelAttribute,h.value||d.value?"noopener noreferrer":"")||null;return s.custom?o.default?o.default({href:u.value,navigate:c,prefetch:y,get route(){if(!u.value)return;const x=new URL(u.value,window.location.href);return{path:x.pathname,fullPath:x.pathname,get query(){return cl(x.search)},hash:x.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:u.value}},rel:m,target:g,isExternal:f.value||d.value,isActive:!1,isExactActive:!1}):null:tt("a",{ref:p,href:u.value||null,rel:m,target:g},(E=o.default)==null?void 0:E.call(o))}}})}const Px=Rx(kk);function Ao(e,t){const n=t==="append"?Gs:oi;return Bt(e)&&!e.startsWith("http")?e:n(e,!0)}function Ox(){const e=de();if(e._observer)return e._observer;let t=null;const n=new Map,r=(s,o)=>(t||(t=new IntersectionObserver(a=>{for(const l of a){const u=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&u&&u()}})),n.set(s,o),t.observe(s),()=>{n.delete(s),t==null||t.unobserve(s),n.size===0&&(t==null||t.disconnect(),t=null)});return e._observer={observe:r}}const Mx=/2g/;function $x(){const e=navigator.connection;return!!(e&&(e.saveData||Mx.test(e.effectiveType)))}var cn,P=typeof window<"u"?window:void 0,Ot=typeof globalThis<"u"?globalThis:P,wm=Array.prototype,Xh=wm.forEach,Jh=wm.indexOf,jt=Ot==null?void 0:Ot.navigator,te=Ot==null?void 0:Ot.document,Rt=Ot==null?void 0:Ot.location,Zc=Ot==null?void 0:Ot.fetch,eu=Ot!=null&&Ot.XMLHttpRequest&&"withCredentials"in new Ot.XMLHttpRequest?Ot.XMLHttpRequest:void 0,Qh=Ot==null?void 0:Ot.AbortController,Tt=jt==null?void 0:jt.userAgent,ce=P??{},Un={DEBUG:!1,LIB_VERSION:"1.242.2"},nc="$copy_autocapture",Fx=["$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(e){e.GZipJS="gzip-js",e.Base64="base64"})(cn||(cn={}));var Dx=["fatal","error","warning","log","info","debug"];function pe(e,t){return e.indexOf(t)!==-1}var vl=function(e){return e.trim()},tu=function(e){return e.replace(/^\$/,"")},Nx=Array.isArray,Em=Object.prototype,km=Em.hasOwnProperty,ml=Em.toString,Ke=Nx||function(e){return ml.call(e)==="[object Array]"},Xt=e=>typeof e=="function",ze=e=>e===Object(e)&&!Ke(e),ki=e=>{if(ze(e)){for(var t in e)if(km.call(e,t))return!1;return!0}return!1},Q=e=>e===void 0,Ze=e=>ml.call(e)=="[object String]",nu=e=>Ze(e)&&e.trim().length===0,Rr=e=>e===null,Ce=e=>Q(e)||Rr(e),yt=e=>ml.call(e)=="[object Number]",zn=e=>ml.call(e)==="[object Boolean]",Hx=e=>e instanceof FormData,jx=e=>pe(Fx,e),Sm=e=>{var t={t:function(n){if(P&&(Un.DEBUG||ce.POSTHOG_DEBUG)&&!Q(P.console)&&P.console){for(var r=("__rrweb_original__"in P.console[n])?P.console[n].__rrweb_original__:P.console[n],i=arguments.length,s=new Array(i>1?i-1:0),o=1;o<i;o++)s[o-1]=arguments[o];r(e,...s)}},info:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];t.t("log",...r)},warn:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];t.t("warn",...r)},error:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];t.t("error",...r)},critical:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];console.error(e,...r)},uninitializedWarning:n=>{t.error("You must initialize PostHog before calling "+n)},createLogger:n=>Sm(e+" "+n)};return t},ne=Sm("[PostHog.js]"),Et=ne.createLogger,Ux=Et("[ExternalScriptsLoader]"),Zh=(e,t,n)=>{if(e.config.disable_external_dependency_loading)return Ux.warn(t+" was requested but loading of external scripts is disabled."),n("Loading of external scripts is disabled");var r=te==null?void 0:te.querySelectorAll("script");if(r){for(var i=0;i<r.length;i++)if(r[i].src===t)return n()}var s=()=>{if(!te)return n("document not found");var o=te.createElement("script");
23if(o.type="text/javascript",o.crossOrigin="anonymous",o.src=t,o.onload=u=>n(void 0,u),o.onerror=u=>n(u),e.config.prepare_external_dependency_script&&(o=e.config.prepare_external_dependency_script(o)),!o)return n("prepare_external_dependency_script returned null");var a,l=te.querySelectorAll("body > script");l.length>0?(a=l[0].parentNode)==null||a.insertBefore(o,l[0]):te.body.appendChild(o)};te!=null&&te.body?s():te==null||te.addEventListener("DOMContentLoaded",s)};function Z(){return Z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Z.apply(this,arguments)}function Cm(e,t){if(e==null)return{};var n,r,i={},s=Object.keys(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}ce.__PosthogExtensions__=ce.__PosthogExtensions__||{},ce.__PosthogExtensions__.loadExternalDependency=(e,t,n)=>{var r="/static/"+t+".js?v="+e.version;if(t==="remote-config"&&(r="/array/"+e.config.token+"/config.js"),t==="toolbar"){var i=3e5;r=r+"&t="+Math.floor(Date.now()/i)*i}var s=e.requestRouter.endpointFor("assets",r);Zh(e,s,n)},ce.__PosthogExtensions__.loadSiteApp=(e,t,n)=>{var r=e.requestRouter.endpointFor("api",t);Zh(e,r,n)};var ya={};function Sr(e,t,n){if(Ke(e)){if(Xh&&e.forEach===Xh)e.forEach(t,n);else if("length"in e&&e.length===+e.length){for(var r=0,i=e.length;r<i;r++)if(r in e&&t.call(n,e[r],r)===ya)return}}}function Me(e,t,n){if(!Ce(e)){if(Ke(e))return Sr(e,t,n);if(Hx(e)){for(var r of e.entries())if(t.call(n,r[1],r[0])===ya)return}else for(var i in e)if(km.call(e,i)&&t.call(n,e[i],i)===ya)return}}var Je=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Sr(n,function(i){for(var s in i)i[s]!==void 0&&(e[s]=i[s])}),e},yl=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Sr(n,function(i){Sr(i,function(s){e.push(s)})}),e};function Xo(e){for(var t=Object.keys(e),n=t.length,r=new Array(n);n--;)r[n]=[t[n],e[t[n]]];return r}var ep=function(e){try{return e()}catch{return}},Bx=function(e){return function(){try{for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.apply(this,n)}catch(i){ne.critical("Implementation error. Please turn on debug mode and open a ticket on https://app.posthog.com/home#panel=support%3Asupport%3A."),ne.critical(i)}}},Tf=function(e){var t={};return Me(e,function(n,r){(Ze(n)&&n.length>0||yt(n))&&(t[r]=n)}),t};function Vx(e,t){return n=e,r=s=>Ze(s)&&!Rr(t)?s.slice(0,t):s,i=new Set,function s(o,a){return o!==Object(o)?r?r(o,a):o:i.has(o)?void 0:(i.add(o),Ke(o)?(l=[],Sr(o,u=>{l.push(s(u))})):(l={},Me(o,(u,c)=>{i.has(u)||(l[c]=s(u,c))})),l);var l}(n);var n,r,i}var qx=["herokuapp.com","vercel.app","netlify.app"];function Wx(e){var t=e==null?void 0:e.hostname;if(!Ze(t))return!1;var n=t.split(".").slice(-2).join(".");for(var r of qx)if(n===r)return!1;return!0}function xm(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return e[n]}function Ve(e,t,n,r){var{capture:i=!1,passive:s=!0}=r??{};e==null||e.addEventListener(t,n,{capture:i,passive:s})}var Lm="$people_distinct_id",vs="__alias",ms="__timers",tp="$autocapture_disabled_server_side",ru="$heatmaps_enabled_server_side",np="$exception_capture_enabled_server_side",rp="$web_vitals_enabled_server_side",Im="$dead_clicks_enabled_server_side",ip="$web_vitals_allowed_metrics",iu="$session_recording_enabled_server_side",sp="$console_log_recording_enabled_server_side",op="$session_recording_network_payload_capture",ap="$session_recording_masking",lp="$session_recording_canvas_recording",cp="$replay_sample_rate",up="$replay_minimum_duration",fp="$replay_script_config",ba="$sesid",ys="$session_is_sampled",su="$session_recording_url_trigger_activated_session",ou="$session_recording_event_trigger_activated_session",Si="$enabled_feature_flags",Jo="$early_access_features",au="$feature_flag_details",bs="$stored_person_properties",Kr="$stored_group_properties",lu="$surveys",Ro="$surveys_activated",wa="$flag_call_reported",Nn="$user_state",cu="$client_session_props",uu="$capture_rate_limit",fu="$initial_campaign_params",du="$initial_referrer_info",Ea="$initial_person_info",ka="$epp",Tm="__POSTHOG_TOOLBAR__",dp="$posthog_cookieless",Kx=[Lm,vs,"__cmpns",ms,iu,ru,ba,Si,Nn,Jo,au,Kr,bs,lu,wa,cu,uu,fu,du,ka,Ea];function hp(e){return e instanceof Element&&(e.id===Tm||!(e.closest==null||!e.closest(".toolbar-global-fade-container")))}function bl(e){return!!e&&e.nodeType===1}function Cr(e,t){return!!e&&!!e.tagName&&e.tagName.toLowerCase()===t.toLowerCase()}function Am(e){return!!e&&e.nodeType===3}function Rm(e){return!!e&&e.nodeType===11}function Af(e){return e?vl(e).split(/\s+/):[]}function pp(e){var t=P==null?void 0:P.location.href;return!!(t&&e&&e.some(n=>t.match(n)))}function Sa(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 Af(t)}function Pm(e){return Ce(e)?null:vl(e).split(/(\s+)/).filter(t=>Vi(t)).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255)}function wl(e){var t="";return pu(e)&&!$m(e)&&e.childNodes&&e.childNodes.length&&Me(e.childNodes,function(n){var r;Am(n)&&n.textContent&&(t+=(r=Pm(n.textContent))!==null&&r!==void 0?r:"")}),vl(t)}
23function Om(e){return Q(e.target)?e.srcElement||null:(t=e.target)!=null&&t.shadowRoot?e.composedPath()[0]||null:e.target||null;var t}var hu=["a","button","form","input","select","textarea","label"];function Mm(e){var t=e.parentNode;return!(!t||!bl(t))&&t}function zx(e,t,n,r,i){var s,o,a;if(n===void 0&&(n=void 0),!P||!e||Cr(e,"html")||!bl(e)||(s=n)!=null&&s.url_allowlist&&!pp(n.url_allowlist)||(o=n)!=null&&o.url_ignorelist&&pp(n.url_ignorelist))return!1;if((a=n)!=null&&a.dom_event_allowlist){var l=n.dom_event_allowlist;if(l&&!l.some(b=>t.type===b))return!1}for(var u=!1,c=[e],f=!0,d=e;d.parentNode&&!Cr(d,"body");)if(Rm(d.parentNode))c.push(d.parentNode.host),d=d.parentNode.host;else{if(!(f=Mm(d)))break;if(r||hu.indexOf(f.tagName.toLowerCase())>-1)u=!0;else{var h=P.getComputedStyle(f);h&&h.getPropertyValue("cursor")==="pointer"&&(u=!0)}c.push(f),d=f}if(!function(b,v){var y=v==null?void 0:v.element_allowlist;if(Q(y))return!0;var g=function(x){if(y.some(L=>x.tagName.toLowerCase()===L))return{v:!0}};for(var m of b){var E=g(m);if(typeof E=="object")return E.v}return!1}(c,n)||!function(b,v){var y=v==null?void 0:v.css_selector_allowlist;if(Q(y))return!0;var g=function(x){if(y.some(L=>x.matches(L)))return{v:!0}};for(var m of b){var E=g(m);if(typeof E=="object")return E.v}return!1}(c,n))return!1;var _=P.getComputedStyle(e);if(_&&_.getPropertyValue("cursor")==="pointer"&&t.type==="click")return!0;var p=e.tagName.toLowerCase();switch(p){case"html":return!1;case"form":return(i||["submit"]).indexOf(t.type)>=0;case"input":case"select":case"textarea":return(i||["change","click"]).indexOf(t.type)>=0;default:return u?(i||["click"]).indexOf(t.type)>=0:(i||["click"]).indexOf(t.type)>=0&&(hu.indexOf(p)>-1||e.getAttribute("contenteditable")==="true")}}function pu(e){for(var t=e;t.parentNode&&!Cr(t,"body");t=t.parentNode){var n=Sa(t);if(pe(n,"ph-sensitive")||pe(n,"ph-no-capture"))return!1}if(pe(Sa(e),"ph-include"))return!0;var r=e.type||"";if(Ze(r))switch(r.toLowerCase()){case"hidden":case"password":return!1}var i=e.name||e.id||"";return!(Ze(i)&&/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(i.replace(/[^a-zA-Z0-9]/g,"")))}function $m(e){return!!(Cr(e,"input")&&!["button","checkbox","submit","reset"].includes(e.type)||Cr(e,"select")||Cr(e,"textarea")||e.getAttribute("contenteditable")==="true")}var Fm="(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})",Gx=new RegExp("^(?:"+Fm+")$"),Yx=new RegExp(Fm),Dm="\\d{3}-?\\d{2}-?\\d{4}",Xx=new RegExp("^("+Dm+")$"),Jx=new RegExp("("+Dm+")");function Vi(e,t){return t===void 0&&(t=!0),!(Ce(e)||Ze(e)&&(e=vl(e),(t?Gx:Yx).test((e||"").replace(/[- ]/g,""))||(t?Xx:Jx).test(e)))}function Nm(e){var t=wl(e);return Vi(t=(t+" "+Hm(e)).trim())?t:""}function Hm(e){var t="";return e&&e.childNodes&&e.childNodes.length&&Me(e.childNodes,function(n){var r;if(n&&((r=n.tagName)==null?void 0:r.toLowerCase())==="span")try{var i=wl(n);t=(t+" "+i).trim(),n.childNodes&&n.childNodes.length&&(t=(t+" "+Hm(n)).trim())}catch(s){ne.error("[AutoCapture]",s)}}),t}function Qx(e){return function(t){var n=t.map(r=>{var i,s,o="";if(r.tag_name&&(o+=r.tag_name),r.attr_class)for(var a of(r.attr_class.sort(),r.attr_class))o+="."+a.replace(/"/g,"");var l=Z({},r.text?{text:r.text}:{},{"nth-child":(i=r.nth_child)!==null&&i!==void 0?i:0,"nth-of-type":(s=r.nth_of_type)!==null&&s!==void 0?s:0},r.href?{href:r.href}:{},r.attr_id?{attr_id:r.attr_id}:{},r.attributes),u={};return Xo(l).sort((c,f)=>{var[d]=c,[h]=f;return d.localeCompare(h)}).forEach(c=>{var[f,d]=c;return u[gp(f.toString())]=gp(d.toString())}),o+=":",o+=Xo(u).map(c=>{var[f,d]=c;return f+'="'+d+'"'}).join("")});return n.join(";")}(function(t){return t.map(n=>{var r,i,s={text:(r=n.$el_text)==null?void 0:r.slice(0,400),tag_name:n.tag_name,href:(i=n.attr__href)==null?void 0:i.slice(0,2048),attr_class:Zx(n),attr_id:n.attr__id,nth_child:n.nth_child,nth_of_type:n.nth_of_type,attributes:{}};return Xo(n).filter(o=>{var[a]=o;return a.indexOf("attr__")===0}
23).forEach(o=>{var[a,l]=o;return s.attributes[a]=l}),s})}(e))}function gp(e){return e.replace(/"|\\"/g,'\\"')}function Zx(e){var t=e.attr__class;return t?Ke(t)?t:Af(t):void 0}class jm{constructor(){this.clicks=[]}isRageClick(t,n,r){var i=this.clicks[this.clicks.length-1];if(i&&Math.abs(t-i.x)+Math.abs(n-i.y)<30&&r-i.timestamp<1e3){if(this.clicks.push({x:t,y:n,timestamp:r}),this.clicks.length===3)return!0}else this.clicks=[{x:t,y:n,timestamp:r}];return!1}}var e1=["localhost","127.0.0.1"],qi=e=>{var t=te==null?void 0:te.createElement("a");return Q(t)?null:(t.href=e,t)},t1=function(e,t){var n,r;t===void 0&&(t="&");var i=[];return Me(e,function(s,o){Q(s)||Q(o)||o==="undefined"||(n=encodeURIComponent((a=>a instanceof File)(s)?s.name:s.toString()),r=encodeURIComponent(o),i[i.length]=r+"="+n)}),i.join(t)},Ca=function(e,t){for(var n,r=((e.split("#")[0]||"").split(/\?(.*)/)[1]||"").replace(/^\?+/g,"").split("&"),i=0;i<r.length;i++){var s=r[i].split("=");if(s[0]===t){n=s;break}}if(!Ke(n)||n.length<2)return"";var o=n[1];try{o=decodeURIComponent(o)}catch{ne.error("Skipping decoding for malformed query param: "+o)}return o.replace(/\+/g," ")},Rf=function(e,t,n){if(!e||!t||!t.length)return e;for(var r=e.split("#"),i=r[0]||"",s=r[1],o=i.split("?"),a=o[1],l=o[0],u=(a||"").split("&"),c=[],f=0;f<u.length;f++){var d=u[f].split("=");Ke(d)&&(t.includes(d[0])?c.push(d[0]+"="+n):c.push(u[f]))}var h=l;return a!=null&&(h+="?"+c.join("&")),s!=null&&(h+="#"+s),h},xa=function(e,t){var n=e.match(new RegExp(t+"=([^&]*)"));return n?n[1]:null},_p=Et("[AutoCapture]");function rc(e,t){return t.length>e?t.slice(0,e)+"...":t}function n1(e){if(e.previousElementSibling)return e.previousElementSibling;var t=e;do t=t.previousSibling;while(t&&!bl(t));return t}function r1(e,t,n,r){var i=e.tagName.toLowerCase(),s={tag_name:i};hu.indexOf(i)>-1&&!n&&(i.toLowerCase()==="a"||i.toLowerCase()==="button"?s.$el_text=rc(1024,Nm(e)):s.$el_text=rc(1024,wl(e)));var o=Sa(e);o.length>0&&(s.classes=o.filter(function(c){return c!==""})),Me(e.attributes,function(c){var f;if((!$m(e)||["name","id","class","aria-label"].indexOf(c.name)!==-1)&&(r==null||!r.includes(c.name))&&!t&&Vi(c.value)&&(f=c.name,!Ze(f)||f.substring(0,10)!=="_ngcontent"&&f.substring(0,7)!=="_nghost")){var d=c.value;c.name==="class"&&(d=Af(d).join(" ")),s["attr__"+c.name]=rc(1024,d)}});for(var a=1,l=1,u=e;u=n1(u);)a++,u.tagName===e.tagName&&l++;return s.nth_child=a,s.nth_of_type=l,s}function i1(e,t){for(var n,r,{e:i,maskAllElementAttributes:s,maskAllText:o,elementAttributeIgnoreList:a,elementsC
vendor: 4,646 bytes, line 23
23hainAsString:l}=t,u=[e],c=e;c.parentNode&&!Cr(c,"body");)Rm(c.parentNode)?(u.push(c.parentNode.host),c=c.parentNode.host):(u.push(c.parentNode),c=c.parentNode);var f,d=[],h={},_=!1,p=!1;if(Me(u,m=>{var E=pu(m);m.tagName.toLowerCase()==="a"&&(_=m.getAttribute("href"),_=E&&_&&Vi(_)&&_),pe(Sa(m),"ph-no-capture")&&(p=!0),d.push(r1(m,s,o,a));var x=function(L){if(!pu(L))return{};var D={};return Me(L.attributes,function(M){if(M.name&&M.name.indexOf("data-ph-capture-attribute")===0){var $=M.name.replace("data-ph-capture-attribute-",""),B=M.value;$&&B&&Vi(B)&&(D[$]=B)}}),D}(m);Je(h,x)}),p)return{props:{},explicitNoCapture:p};if(o||(e.tagName.toLowerCase()==="a"||e.tagName.toLowerCase()==="button"?d[0].$el_text=Nm(e):d[0].$el_text=wl(e)),_){var b,v;d[0].attr__href=_;var y=(b=qi(_))==null?void 0:b.host,g=P==null||(v=P.location)==null?void 0:v.host;y&&g&&y!==g&&(f=_)}return{props:Je({$event_type:i.type,$ce_version:1},l?{}:{$elements:d},{$elements_chain:Qx(d)},(n=d[0])!=null&&n.$el_text?{$el_text:(r=d[0])==null?void 0:r.$el_text}:{},f&&i.type==="click"?{$external_click_url:f}:{},h)}}class s1{constructor(t){this.i=!1,this.o=null,this.rageclicks=new jm,this.h=!1,this.instance=t,this.m=null}get S(){var t,n,r=ze(this.instance.config.autocapture)?this.instance.config.autocapture:{};return r.url_allowlist=(t=r.url_allowlist)==null?void 0:t.map(i=>new RegExp(i)),r.url_ignorelist=(n=r.url_ignorelist)==null?void 0:n.map(i=>new RegExp(i)),r}$(){if(this.isBrowserSupported()){if(P&&te){var t=r=>{r=r||(P==null?void 0:P.event);try{this.k(r)}catch(i){_p.error("Failed to capture event",i)}};if(Ve(te,"submit",t,{capture:!0}),Ve(te,"change",t,{capture:!0}),Ve(te,"click",t,{capture:!0}),this.S.capture_copied_text){var n=r=>{r=r||(P==null?void 0:P.event),this.k(r,nc)};Ve(te,"copy",n,{capture:!0}),Ve(te,"cut",n,{capture:!0})}}}else _p.info("Disabling Automatic Event Collection because this browser is not supported")}startIfEnabled(){this.isEnabled&&!this.i&&(this.$(),this.i=!0)}onRemoteConfig(t){t.elementsChainAsString&&(this.h=t.elementsChainAsString),this.instance.persistence&&this.instance.persistence.register({[tp]:!!t.autocapture_opt_out}),this.o=!!t.autocapture_opt_out,this.startIfEnabled()}setElementSelectors(t){this.m=t}getElementSelectors(t){var n,r=[];return(n=this.m)==null||n.forEach(i=>{var s=te==null?void 0:te.querySelectorAll(i);s==null||s.forEach(o=>{t===o&&r.push(i)})}),r}get isEnabled(){var t,n,r=(t=this.instance.persistence)==null?void 0:t.props[tp],i=this.o;if(Rr(i)&&!zn(r)&&!this.instance.config.advanced_disable_decide)return!1;var s=(n=this.o)!==null&&n!==void 0?n:!!r;return!!this.instance.config.autocapture&&!s}k(t,n){if(n===void 0&&(n="$autocapture"),this.isEnabled){var r,i=Om(t);Am(i)&&(i=i.parentNode||null),n==="$autocapture"&&t.type==="click"&&t instanceof MouseEvent&&this.instance.config.rageclick&&(r=this.rageclicks)!=null&&r.isRageClick(t.clientX,t.clientY,new Date().getTime())&&this.k(t,"$rageclick");var s=n===nc;if(i&&zx(i,t,this.S,s,s?["copy","cut"]:void 0)){var{props:o,explicitNoCapture:a}=i1(i,{e:t,maskAllElementAttributes:this.instance.config.mask_all_element_attributes,maskAllText:this.instance.config.mask_all_text,elementAttributeIgnoreList:this.S.element_attribute_ignorelist,elementsChainAsString:this.h});if(a)return!1;var l=this.getElementSelectors(i);if(l&&l.length>0&&(o.$element_selectors=l),n===nc){var u,c=Pm(P==null||(u=P.getSelection())==null?void 0:u.toString()),f=t.type||"clipboard";if(!c)return!1;o.$selected_content=c,o.$copy_type=f}return this.instance.capture(n,o),!0}}}isBrowserSupported(){return Xt(te==null?void 0:te.querySelectorAll)}}Math.trunc||(Math.trunc=function(e){return e<0?Math.ceil(e):Math.floor(e)}),Number.isInteger||(Number.isInteger=function(e){return yt(e)&&isFinite(e)&&Math.floor(e)===e});var vp="0123456789abcdef";class La{constructor(t){if(this.bytes=t,t.length!==16)throw new TypeError("not 128-bit length")}static fromFieldsV7(t,n,r,i){if(!Number.isInteger(t)||!Number.isInteger(n)||!Number.isInteger(r)||!Number.isInteger(i)||t<0||n<0||r<0||i<0||t>0xffffffffffff||n>4095||r>1073741823||i>4294967295)throw new RangeError("invalid field value");var s=new Uint8Array(16);return s[0]=t/Math.pow(2,40),s[1]=t/Math.pow(2,32),s[2]=t/Math.pow(2,24),s[3]=t/Math.pow(2,16),s[4]=t/Math.pow(2,8),s[5]=t,s[6]=112|n>>>8,s[7]=n,s[8]=128|r>>>24,s[9]=r>>>16,s[10]=r>>>8,s[11]=r,s[12]=i>>>24,s[13]=i>>>16,s[14]=i>>>8,s[15]=i,new La(s)}toString(){for(var t="",n=0;n<this.bytes.length;n++)t=t+vp.charAt(this.bytes[n]>>>4)+vp.charAt(15&this.bytes[n]),n!==3&&n!==5&&n!==7&&n!==9||(t+="-");if(t.length!==36)throw new Error("Invalid UUIDv7 was generated");return t}
23clone(){return new La(this.bytes.slice(0))}equals(t){return this.compareTo(t)===0}compareTo(t){for(var n=0;n<16;n++){var r=this.bytes[n]-t.bytes[n];if(r!==0)return Math.sign(r)}return 0}}class o1{constructor(){this.I=0,this.P=0,this.R=new a1}generate(){var t=this.generateOrAbort();if(Q(t)){this.I=0;var n=this.generateOrAbort();if(Q(n))throw new Error("Could not generate UUID after timestamp reset");return n}return t}generateOrAbort(){var t=Date.now();if(t>this.I)this.I=t,this.T();else{if(!(t+1e4>this.I))return;this.P++,this.P>4398046511103&&(this.I++,this.T())}return La.fromFieldsV7(this.I,Math.trunc(this.P/Math.pow(2,30)),this.P&Math.pow(2,30)-1,this.R.nextUint32())}T(){this.P=1024*this.R.nextUint32()+(1023&this.R.nextUint32())}}var mp,Um=e=>{if(typeof UUIDV7_DENY_WEAK_RNG<"u"&&UUIDV7_DENY_WEAK_RNG)throw new Error("no cryptographically strong RNG available");for(var t=0;t<e.length;t++)e[t]=65536*Math.trunc(65536*Math.random())+Math.trunc(65536*Math.random());return e};P&&!Q(P.crypto)&&crypto.getRandomValues&&(Um=e=>crypto.getRandomValues(e));class a1{constructor(){this.M=new Uint32Array(8),this.C=1/0}nextUint32(){return this.C>=this.M.length&&(Um(this.M),this.C=0),this.M[this.C++]}}var yr=()=>l1().toString(),l1=()=>(mp||(mp=new o1)).generate(),c1="Thu, 01 Jan 1970 00:00:00 GMT",as="",u1=/[a-z0-9][a-z0-9-]+\.[a-z]{2,}$/i;function f1(e,t){if(t){var n=function(i,s){if(s===void 0&&(s=te),as)return as;if(!s||["localhost","127.0.0.1"].includes(i))return"";for(var o=i.split("."),a=Math.min(o.length,8),l="dmn_chk_"+yr(),u=new RegExp("(^|;)\\s*"+l+"=1");!as&&a--;){var c=o.slice(a).join("."),f=l+"=1;domain=."+c;s.cookie=f,u.test(s.cookie)&&(s.cookie=f+";expires="+c1,as=c)}return as}(e);if(!n){var r=(i=>{var s=i.match(u1);return s?s[0]:""})(e);r!==n&&ne.info("Warning: cookie subdomain discovery mismatch",r,n),n=r}return n?"; domain=."+n:""}return""}var pr,Xn={O:()=>!!te,F:function(e){ne.error("cookieStore error: "+e)},A:function(e){if(te){try{for(var t=e+"=",n=te.cookie.split(";").filter(s=>s.length),r=0;r<n.length;r++){for(var i=n[r];i.charAt(0)==" ";)i=i.substring(1,i.length);if(i.indexOf(t)===0)return decodeURIComponent(i.substring(t.length,i.length))}}catch{}return null}},D:function(e){var t;try{t=JSON.parse(Xn.A(e))||{}}catch{}return t},j:function(e,t,n,r,i){if(te)try{var s="",o="",a=f1(te.location.hostname,r);if(n){var l=new Date;l.setTime(l.getTime()+24*n*60*60*1e3),s="; expires="+l.toUTCString()}i&&(o="; secure");var u=e+"="+encodeURIComponent(JSON.stringify(t))+s+"; SameSite=Lax; path=/"+a+o;return u.length>3686.4&&ne.warn("cookieStore warning: large cookie, len="+u.length),te.cookie=u,u}catch{return}},L:function(e,t){try{Xn.j(e,"",-1,t)}catch{return}}},ic=null,rt={O:function(){if(!Rr(ic))return ic;var e=!0;if(Q(P))e=!1;else try{var t="__mplssupport__";rt.j(t,"xyz"),rt.A(t)!=='"xyz"'&&(e=!1),rt.L(t)}catch{e=!1}return e||ne.error("localStorage unsupported; falling back to cookie store"),ic=e,e},F:function(e){ne.error("localStorage error: "+e)},A:function(e){try{return P==null?void 0:P.localStorage.getItem(e)}catch(t){rt.F(t)}return null},D:function(e){try{return JSON.parse(rt.A(e))||{}}catch{}return null},j:function(e,t){try{P==null||P.localStorage.setItem(e,JSON.stringify(t))}catch(n){rt.F(n)}},L:function(e){try{P==null||P.localStorage.removeItem(e)}catch(t){rt.F(t)}}},d1=["distinct_id",ba,ys,ka,Ea],Po=Z({},rt,{D:function(e){try{var t={};try{t=Xn.D(e)||{}}catch{}var n=Je(t,JSON.parse(rt.A(e)||"{}"));return rt.j(e,n),n}catch{}return null},j:function(e,t,n,r,i,s){try{rt.j(e,t,void 0,void 0,s);var o={};d1.forEach(a=>{t[a]&&(o[a]=t[a])}),Object.keys(o).length&&Xn.j(e,o,n,r,i,s)}catch(a){rt.F(a)}},L:function(e,t){try{P==null||P.localStorage.removeItem(e),Xn.L(e,t)}catch(n){rt.F(n)}}}),Oo={},h1={O:function(){return!0},F:function(e){ne.error("memoryStorage error: "+e)},A:function(e){return Oo[e]||null},D:function(e){return Oo[e]||null},j:function(e,t){Oo[e]=t},L:function(e){delete Oo[e]}},jr=null,ht={O:function(){if(!Rr(jr))return jr;if(jr=!0,Q(P))jr=!1;else try{var e="__support__";ht.j(e,"xyz"),ht.A(e)!=='"xyz"'&&(jr=!1),ht.L(e)}catch{jr=!1}return jr},F:function(e){ne.error("sessionStorage error: ",e)},A:function(e){try{return P==null?void 0:P.sessionStorage.getItem(e)}catch(t){ht.F(t)}return null},D:function(e){try{return JSON.parse(ht.A(e))||null}catch{}return null},j:function(e,t){try{P==null||P.sessionStorage.setItem(e,JSON.stringify(t))}catch(n){ht.F(n)}},L:function(e){try{P==null||P.sessionStorage.removeItem(e)}catch(t){ht.F(t)}}};
23(function(e){e[e.PENDING=-1]="PENDING",e[e.DENIED=0]="DENIED",e[e.GRANTED=1]="GRANTED"})(pr||(pr={}));class p1{constructor(t){this._instance=t}get S(){return this._instance.config}get consent(){return this.N()?pr.DENIED:this.U}isOptedOut(){return this.consent===pr.DENIED||this.consent===pr.PENDING&&this.S.opt_out_capturing_by_default}isOptedIn(){return!this.isOptedOut()}optInOut(t){this.q.j(this.B,t?1:0,this.S.cookie_expiration,this.S.cross_subdomain_cookie,this.S.secure_cookie)}reset(){this.q.L(this.B,this.S.cross_subdomain_cookie)}get B(){var{token:t,opt_out_capturing_cookie_prefix:n}=this._instance.config;return(n||"__ph_opt_in_out_")+t}get U(){var t=this.q.A(this.B);return t==="1"?pr.GRANTED:t==="0"?pr.DENIED:pr.PENDING}get q(){if(!this.H){var t=this.S.opt_out_capturing_persistence_type;this.H=t==="localStorage"?rt:Xn;var n=t==="localStorage"?Xn:rt;n.A(this.B)&&(this.H.A(this.B)||this.optInOut(n.A(this.B)==="1"),n.L(this.B,this.S.cross_subdomain_cookie))}return this.H}N(){return!!this.S.respect_dnt&&!!xm([jt==null?void 0:jt.doNotTrack,jt==null?void 0:jt.msDoNotTrack,ce.doNotTrack],t=>pe([!0,1,"1","yes"],t))}}var Mo=Et("[Dead Clicks]"),g1=()=>!0,_1=e=>{var t,n=!((t=e.instance.persistence)==null||!t.get_property(Im)),r=e.instance.config.capture_dead_clicks;return zn(r)?r:n};class Bm{get lazyLoadedDeadClicksAutocapture(){return this.W}constructor(t,n,r){this.instance=t,this.isEnabled=n,this.onCapture=r,this.startIfEnabled()}onRemoteConfig(t){this.instance.persistence&&this.instance.persistence.register({[Im]:t==null?void 0:t.captureDeadClicks}),this.startIfEnabled()}startIfEnabled(){this.isEnabled(this)&&this.G(()=>{this.J()})}G(t){var n,r;(n=ce.__PosthogExtensions__)!=null&&n.initDeadClicksAutocapture&&t(),(r=ce.__PosthogExtensions__)==null||r.loadExternalDependency==null||r.loadExternalDependency(this.instance,"dead-clicks-autocapture",i=>{i?Mo.error("failed to load script",i):t()})}J(){var t;if(te){if(!this.W&&(t=ce.__PosthogExtensions__)!=null&&t.initDeadClicksAutocapture){var n=ze(this.instance.config.capture_dead_clicks)?this.instance.config.capture_dead_clicks:{};n.__onCapture=this.onCapture,this.W=ce.__PosthogExtensions__.initDeadClicksAutocapture(this.instance,n),this.W.start(te),Mo.info("starting...")}}else Mo.error("`document` not found. Cannot start.")}stop(){this.W&&(this.W.stop(),this.W=void 0,Mo.info("stopping..."))}}var sc=Et("[ExceptionAutocapture]");class v1{constructor(t){var n;this.V=()=>{var r;if(P&&this.isEnabled&&(r=ce.__PosthogExtensions__)!=null&&r.errorWrappingFunctions){var i=ce.__PosthogExtensions__.errorWrappingFunctions.wrapOnError,s=ce.__PosthogExtensions__.errorWrappingFunctions.wrapUnhandledRejection,o=ce.__PosthogExtensions__.errorWrappingFunctions.wrapConsoleError;try{!this.K&&this.S.capture_unhandled_errors&&(this.K=i(this.captureException.bind(this))),!this.Y&&this.S.capture_unhandled_rejections&&(this.Y=s(this.captureException.bind(this))),!this.X&&this.S.capture_console_errors&&(this.X=o(this.captureException.bind(this)))}catch(a){sc.error("failed to start",a),this.Z()}}},this._instance=t,this.tt=!((n=this._instance.persistence)==null||!n.props[np]),this.S=this.it(),this.startIfEnabled()}it(){var t=this._instance.config.capture_exceptions,n={capture_unhandled_errors:!1,capture_unhandled_rejections:!1,capture_console_errors:!1};return ze(t)?n=Z({},n,t):(Q(t)?this.tt:t)&&(n=Z({},n,{capture_unhandled_errors:!0,capture_unhandled_rejections:!0})),n}get isEnabled(){return this.S.capture_console_errors||this.S.capture_unhandled_errors||this.S.capture_unhandled_rejections}startIfEnabled(){this.isEnabled&&(sc.info("enabled"),this.G(this.V))}G(t){var n,r;(n=ce.__PosthogExtensions__)!=null&&n.errorWrappingFunctions&&t(),(r=ce.__PosthogExtensions__)==null||r.loadExternalDependency==null||r.loadExternalDependency(this._instance,"exception-autocapture",i=>{if(i)return sc.error("failed to load script",i);t()})}Z(){var t,n,r;(t=this.K)==null||t.call(this),this.K=void 0,(n=this.Y)==null||n.call(this),this.Y=void 0,(r=this.X)==null||r.call(this),this.X=void 0}onRemoteConfig(t){var n=t.autocaptureExceptions;this.tt=!!n||!1,this.S=this.it(),this._instance.persistence&&this._instance.persistence.register({[np]:this.tt}),this.startIfEnabled()}captureException(t){var n=this._instance.requestRouter.endpointFor("ui");t.$exception_personURL=n+"/project/"+this._instance.config.token+"/pers
23on/"+this._instance.get_distinct_id(),this._instance.exceptions.sendExceptionEvent(t)}}function Vm(e){return!Q(Event)&&qm(e,Event)}function qm(e,t){try{return e instanceof t}catch{return!1}}function Wm(e){switch(Object.prototype.toString.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object DOMError]":return!0;default:return qm(e,Error)}}function Qo(e,t){return Object.prototype.toString.call(e)==="[object "+t+"]"}function oc(e){return Qo(e,"DOMError")}var yp=/\(error: (.*)\)/,bp=50,Ci="?";function ac(e,t,n,r){var i={platform:"web:javascript",filename:e,function:t==="<anonymous>"?Ci:t,in_app:!0};return Q(n)||(i.lineno=n),Q(r)||(i.colno=r),i}var m1=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,y1=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,b1=/\((\S*)(?::(\d+))(?::(\d+))\)/,w1=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,E1=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,k1=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.sort((i,s)=>i[0]-s[0]).map(i=>i[1]);return function(i,s){s===void 0&&(s=0);for(var o=[],a=i.split(`
24`),l=s;l<a.length;l++){var u=a[l];if(!(u.length>1024)){var c=yp.test(u)?u.replace(yp,"$1"):u;if(!c.match(/\S*Error: /)){for(var f of r){var d=f(c);if(d){o.push(d);break}}if(o.length>=bp)break}}}return function(h){if(!h.length)return[];var _=Array.from(h);return _.reverse(),_.slice(0,bp).map(p=>Z({},p,{filename:p.filename||S1(_).filename,function:p.function||Ci}))}(o)}}([30,e=>{var t=m1.exec(e);if(t){var[,n,r,i]=t;return ac(n,Ci,+r,+i)}var s=y1.exec(e);if(s){if(s[2]&&s[2].indexOf("eval")===0){var o=b1.exec(s[2]);o&&(s[2]=o[1],s[3]=o[2],s[4]=o[3])}var[a,l]=Ep(s[1]||Ci,s[2]);return ac(l,a,s[3]?+s[3]:void 0,s[4]?+s[4]:void 0)}}],[50,e=>{var t=w1.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){var n=E1.exec(t[3]);n&&(t[1]=t[1]||"eval",t[3]=n[1],t[4]=n[2],t[5]="")}var r=t[3],i=t[1]||Ci;return[i,r]=Ep(i,r),ac(r,i,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]);function S1(e){return e[e.length-1]||{}}var $o,wp,lc,Ep=(e,t)=>{var n=e.indexOf("safari-extension")!==-1,r=e.indexOf("safari-web-extension")!==-1;return n||r?[e.indexOf("@")!==-1?e.split("@")[0]:Ci,n?"safari-extension:"+t:"safari-web-extension:"+t]:[e,t]},C1=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;function Pf(e,t){t===void 0&&(t=0);var n=e.stacktrace||e.stack||"",r=function(o){return o&&x1.test(o.message)?1:0}(e);try{var i=k1,s=function(o,a){var l=function(u){var c=globalThis._posthogChunkIds;if(!c)return{};var f=Object.keys(c);return lc&&f.length===wp||(wp=f.length,lc=f.reduce((d,h)=>{$o||($o={});var _=$o[h];if(_)d[_[0]]=_[1];else for(var p=u(h),b=p.length-1;b>=0;b--){var v=p[b],y=v==null?void 0:v.filename,g=c[h];if(y&&g){d[y]=g,$o[h]=[y,g];break}}return d},{})),lc}(a);return o.forEach(u=>{u.filename&&(u.chunk_id=l[u.filename])}),o}(i(n,r),i);return s.slice(0,s.length-t)}catch{}return[]}var x1=/Minified React error #\d+;/i;function L1(e,t){var n,r,i=Pf(e),s=(n=t==null?void 0:t.handled)===null||n===void 0||n,o=(r=t==null?void 0:t.synthetic)!==null&&r!==void 0&&r;return{type:t!=null&&t.overrideExceptionType?t.overrideExceptionType:e.name,value:function(a){var l=a.message;return l.error&&typeof l.error.message=="string"?String(l.error.message):String(l)}(e),stacktrace:{frames:i,type:"raw"},mechanism:{handled:s,synthetic:o}}}function Km(e,t){var n=L1(e,t);return e.cause&&Wm(e.cause)&&e.cause!==e?[n,...Km(e.cause,{handled:t==null?void 0:t.handled,synthetic:t==null?void 0:t.synthetic})]:[n]}function cc(e,t){return{$exception_list:Km(e,t),$exception_level:"error"}}function uc(e,t){var n,r,i,s=(n=t==null?void 0:t.handled)===null||n===void 0||n,o=(r=t==null?void 0:t.synthetic)===null||r===void 0||r,a={type:t!=null&&t.overrideExceptionType?t.overrideExceptionType:(i=t==null?void 0:t.defaultExceptionType)!==null&&i!==void 0?i:"Error",value:e||(t==null?void 0:t.defaultExceptionMessage),mechanism:{handled:s,synthetic:o}};if(t!=null&&t.syntheticException){var l=Pf(t.syntheticException,1);l.length&&(a.stacktrace={frames:l,type:"raw"})}return{$exception_list:[a],$exception_level:"error"}}function I1(e){return Ze(e)&&!nu(e)&&Dx.indexOf(e)>=0}function T1(e,t){var n,r,i=(n=t==null?void 0:t.handled)===null||n===void 0||n,s=(r=t==null?void 0:t.synthetic)===null||r===void 0||r,o=t!=null&&t.overrideExceptionType?t.overrideExceptionType:Vm(e)?e.constructor.name:"Error",a="Non-Error 'exception' captured with keys: "+function(c,f){f===void 0&&(f=40);var d=Object.keys(c);if(d.sort(),!d.length)return"[object has no keys]";for(var h=d.length;h>0;h--){var _=d.slice(0,h).join(", ");
24if(!(_.length>f))return h===d.length||_.length<=f?_:_.slice(0,f)+"..."}return""}(e),l={type:o,value:a,mechanism:{handled:i,synthetic:s}};if(t!=null&&t.syntheticException){var u=Pf(t==null?void 0:t.syntheticException,1);u.length&&(l.stacktrace={frames:u,type:"raw"})}return{$exception_list:[l],$exception_level:I1(e.level)?e.level:"error"}}function A1(e,t){var{error:n,event:r}=e,i={$exception_list:[]},s=n||r;if(oc(s)||function(d){return Qo(d,"DOMException")}(s)){var o=s;if(function(d){return"stack"in d}(s))i=cc(s,t);else{var a=o.name||(oc(o)?"DOMError":"DOMException"),l=o.message?a+": "+o.message:a;i=uc(l,Z({},t,{overrideExceptionType:oc(o)?"DOMError":"DOMException",defaultExceptionMessage:l}))}return"code"in o&&(i.$exception_DOMException_code=""+o.code),i}if(function(d){return Qo(d,"ErrorEvent")}(s)&&s.error)return cc(s.error,t);if(Wm(s))return cc(s,t);if(function(d){return Qo(d,"Object")}(s)||Vm(s))return T1(s,t);if(Q(n)&&Ze(r)){var u="Error",c=r,f=r.match(C1);return f&&(u=f[1],c=f[2]),uc(c,Z({},t,{overrideExceptionType:u,defaultExceptionMessage:c}))}return uc(s,t)}function kp(e,t,n){try{if(!(t in e))return()=>{};var r=e[t],i=n(r);return Xt(i)&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__posthog_wrapped__:{enumerable:!1,value:!0}})),e[t]=i,()=>{e[t]=r}}catch{return()=>{}}}class R1{constructor(t){var n;this._instance=t,this.et=(P==null||(n=P.location)==null?void 0:n.pathname)||""}get isEnabled(){return this._instance.config.capture_pageview==="history_change"}startIfEnabled(){this.isEnabled&&(ne.info("History API monitoring enabled, starting..."),this.monitorHistoryChanges())}stop(){this.rt&&this.rt(),this.rt=void 0,ne.info("History API monitoring stopped")}monitorHistoryChanges(){var t,n;if(P&&P.history){var r=this;(t=P.history.pushState)!=null&&t.__posthog_wrapped__||kp(P.history,"pushState",i=>function(s,o,a){i.call(this,s,o,a),r.st("pushState")}),(n=P.history.replaceState)!=null&&n.__posthog_wrapped__||kp(P.history,"replaceState",i=>function(s,o,a){i.call(this,s,o,a),r.st("replaceState")}),this.nt()}}st(t){try{var n,r=P==null||(n=P.location)==null?void 0:n.pathname;if(!r)return;r!==this.et&&this.isEnabled&&this._instance.capture("$pageview",{navigation_type:t}),this.et=r}catch(i){ne.error("Error capturing "+t+" pageview",i)}}nt(){if(!this.rt){var t=()=>{this.st("popstate")};Ve(P,"popstate",t),this.rt=()=>{P&&P.removeEventListener("popstate",t)}}}}function Ia(e){var t,n;return((t=JSON.stringify(e,(n=[],function(r,i){if(ze(i)){for(;n.length>0&&n[n.length-1]!==this;)n.pop();return n.includes(i)?"[Circular]":(n.push(i),i)}return i})))==null?void 0:t.length)||0}function gu(e,t){if(t===void 0&&(t=66060288e-1),e.size>=t&&e.data.length>1){var n=Math.floor(e.data.length/2),r=e.data.slice(0,n),i=e.data.slice(n);return[gu({size:Ia(r),data:r,sessionId:e.sessionId,windowId:e.windowId}),gu({size:Ia(i),data:i,sessionId:e.sessionId,windowId:e.windowId})].flatMap(s=>s)}return[e]}var Hn=(e=>(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))(Hn||{}),an=(e=>(e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e))(an||{}),_u="[SessionRecording]",vu="redacted",Fo={initiatorTypes:["audio","beacon","body","css","early-hint","embed","fetch","frame","iframe","icon","image","img","input","link","navigation","object","ping","script","track","video","xmlhttprequest"],maskRequestFn:e=>e,recordHeaders:!1,recordBody:!1,recordInitialRequests:!1,recordPerformance:!1,performanceEntryTypeToObserve:["first-input","navigation","paint","resource"],payloadSizeLimitBytes:1e6,payloadHostDenyList:[".lr-ingest.io",".ingest.sentry.io",".clarity.ms","analytics.google.com"]},P1=["authorization","x-forwarded-for","authorization","cookie","set-cookie","x-api-key","x-real-ip","remote-addr","forwarded","proxy-authorization","x-csrf-token","x-csrftoken","x-xsrf-token"],O1=["password","secret","passwd","api_key","apikey","auth","credentials","mysql_pwd","privatekey","private_key","token"],M1=["/s/","/e/","/i/"];function Sp(e,t,n,r){if(Ce(e))return e;var i=(t==null?void 0:t["content-length"])||function(s){return new Blob([s]).size}(e);return Ze(i)&&(i=parseInt(i)),i>n?_u+" "+r+" body too large to record ("+i+" bytes)":e}function Cp(e,t){if(Ce(e))return e;var n=e;return Vi(n,!1)||(n=_u+" "+t+" body "+vu),Me(O1,r=>{var i,s;(i=n)!=null&&i.length&&((s=n)==null?void 0:s.indexOf(r))!==-1&&(n=_u+" "+t+" body "+vu+" as might contain: "+r)}),n}var $1=(e,t)=>{var n,r,i,s={payloadSizeLimitBytes:Fo.payloadSizeLimitBytes,performanceEntryTypeToObserve:[...Fo.performanceEntryTypeToObserve],payloadHostDenyList:[...t.payloadHostDenyList||[],...Fo.payloadHostDenyList]},o=e.session_recording.recordHeaders!==!1&&t.recordHeaders,a=e.session_recording.recordBody!==!1&&t.recordBody,l=e.capture_performance!==!1&&t.recordPerformance,u=(n=s,i=Math.min(1e6,(r=n.payloadSizeLimitBytes)!==null&&r!==void 0?r:1e6),d=>(d!=null&&d.requestBody&&(d.requestBody=Sp(d.requestBody,d.requestHeaders,i,"Request")),d!=null&&d.responseBody&&(d.responseBody=Sp(d.responseBody,d.responseHeaders,i,"Response")),d)),c=d=>{return u(((p,b)=>{var v,y=qi(p.name),g=b.indexOf("http")===0?(v=qi(b))==null?void 0:v.pathname:b;g==="/"&&(g="");var m=y==null?void 0:y.pathname.replace(g||"","");if(!(y&&m&&M1.some(E=>m.indexOf(E)===0)))return p})((_=(h=d).requestHeaders,Ce(_)||Me(Object.keys(_??{}),p=>{P1.includes(p.toLowerCase())&&(_[p]=vu)}
24),h),e.api_host));var h,_},f=Xt(e.session_recording.maskNetworkRequestFn);return f&&Xt(e.session_recording.maskCapturedNetworkRequestFn)&&ne.warn("Both `maskNetworkRequestFn` and `maskCapturedNetworkRequestFn` are defined. `maskNetworkRequestFn` will be ignored."),f&&(e.session_recording.maskCapturedNetworkRequestFn=d=>{var h=e.session_recording.maskNetworkRequestFn({url:d.name});return Z({},d,{name:h==null?void 0:h.url})}),s.maskRequestFn=Xt(e.session_recording.maskCapturedNetworkRequestFn)?d=>{var h,_=c(d);return _&&(h=e.session_recording.maskCapturedNetworkRequestFn==null?void 0:e.session_recording.maskCapturedNetworkRequestFn(_))!==null&&h!==void 0?h:void 0}:d=>function(h){if(!Q(h))return h.requestBody=Cp(h.requestBody,"Request"),h.responseBody=Cp(h.responseBody,"Response"),h}(c(d)),Z({},Fo,s,{recordHeaders:o,recordBody:a,recordPerformance:l,recordInitialRequests:l})};function Gt(e,t,n,r,i){return t>n&&(ne.warn("min cannot be greater than max."),t=n),yt(e)?e>n?(r&&ne.warn(r+" cannot be  greater than max: "+n+". Using max value instead."),n):e<t?(r&&ne.warn(r+" cannot be less than min: "+t+". Using min value instead."),t):e:(r&&ne.warn(r+" must be a number. using max or fallback. max: "+n+", fallback: "+i),Gt(i||n,t,n,r))}class F1{constructor(t,n){var r,i;n===void 0&&(n={}),this.ot=100,this.lt=10,this.ht={},this.ut={},this.dt=()=>{Object.keys(this.ht).forEach(s=>{this.ht[s]=this.ht[s]+this.lt,this.ht[s]>=this.ot&&delete this.ht[s]})},this.vt=s=>{var o=this._rrweb.mirror.getNode(s);if((o==null?void 0:o.nodeName)!=="svg"&&o instanceof Element){var a=o.closest("svg");if(a)return[this._rrweb.mirror.getId(a),a]}return[s,o]},this.ct=s=>{var o,a,l,u,c,f,d,h;return((o=(a=s.removes)==null?void 0:a.length)!==null&&o!==void 0?o:0)+((l=(u=s.attributes)==null?void 0:u.length)!==null&&l!==void 0?l:0)+((c=(f=s.texts)==null?void 0:f.length)!==null&&c!==void 0?c:0)+((d=(h=s.adds)==null?void 0:h.length)!==null&&d!==void 0?d:0)},this.throttleMutations=s=>{if(s.type!==3||s.data.source!==0)return s;var o=s.data,a=this.ct(o);o.attributes&&(o.attributes=o.attributes.filter(u=>{var c,f,d,[h,_]=this.vt(u.id);return this.ht[h]===0?!1:(this.ht[h]=(c=this.ht[h])!==null&&c!==void 0?c:this.ot,this.ht[h]=Math.max(this.ht[h]-1,0),this.ht[h]===0&&(this.ut[h]||(this.ut[h]=!0,(f=(d=this.ft).onBlockedNode)==null||f.call(d,h,_))),u)}));var l=this.ct(o);return l!==0||a===l?s:void 0},this._rrweb=t,this.ft=n,this.lt=Gt((r=this.ft.refillRate)!==null&&r!==void 0?r:this.lt,0,100,"mutation throttling refill rate"),this.ot=Gt((i=this.ft.bucketSize)!==null&&i!==void 0?i:this.ot,0,100,"mutation throttling bucket size"),setInterval(()=>{this.dt()},1e3)}}var Jt=Uint8Array,Mt=Uint16Array,Wi=Uint32Array,Of=new Jt([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]),Mf=new Jt([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]),xp=new Jt([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),zm=function(e,t){for(var n=new Mt(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];var i=new Wi(n[30]);for(r=1;r<30;++r)for(var s=n[r];s<n[r+1];++s)i[s]=s-n[r]<<5|r;return[n,i]},Gm=zm(Of,2),D1=Gm[0],mu=Gm[1];D1[28]=258,mu[258]=28;for(var Lp=zm(Mf,0)[1],Ym=new Mt(32768),Ne=0;Ne<32768;++Ne){var Ur=(43690&Ne)>>>1|(21845&Ne)<<1;Ur=(61680&(Ur=(52428&Ur)>>>2|(13107&Ur)<<2))>>>4|(3855&Ur)<<4,Ym[Ne]=((65280&Ur)>>>8|(255&Ur)<<8)>>>1}var Os=function(e,t,n){for(var r=e.length,i=0,s=new Mt(t);i<r;++i)++s[e[i]-1];var o,a=new Mt(t);for(i=0;i<t;++i)a[i]=a[i-1]+s[i-1]<<1;for(o=new Mt(r),i=0;i<r;++i)o[i]=Ym[a[e[i]-1]++]>>>15-e[i];return o},ai=new Jt(288);for(Ne=0;Ne<144;++Ne)ai[Ne]=8;for(Ne=144;Ne<256;++Ne)ai[Ne]=9;for(Ne=256;Ne<280;++Ne)ai[Ne]=7;for(Ne=280;Ne<288;++Ne)ai[Ne]=8;var Ta=new Jt(32);for(Ne=0;Ne<32;++Ne)Ta[Ne]=5;var N1=Os(ai,9),H1=Os(Ta,5),Xm=function(e){return(e/8>>0)+(7&e&&1)},Jm=function(e,t,n){(n==null||n>e.length)&&(n=e.length);var r=new(e instanceof Mt?Mt:e instanceof Wi?Wi:Jt)(n-t);return r.set(e.subarray(t,n)),r},$n=function(e,t,n){n<<=7&t;var r=t/8>>0;e[r]|=n,e[r+1]|=n>>>8},ls=function(e,t,n){n<<=7&t;var r=t/8>>0;e[r]|=n,e[r+1]|=n>>>8,e[r+2]|=n>>>16},fc=function(e,t){for(var n=[],r=0;r<e.length;++r)e[r]&&n.push({s:r,f:e[r]});var i=n.length,s=n.slice();if(!i)return[new Jt(0),0];if(i==1){var o=new Jt(n[0].s+1);return o[n[0].s]=1,[o,1]}n.sort(function(E,x){return E.f-x.f}),n.push({s:-1,f:25001});var a=n[0],l=n[1],u=0,c=1,f=2;for(n[0]={s:-1,f:a.f+l.f,l:a,r:l};c!=i-1;)a=n[n[u].f<n[f].f?u++:f++],l=n[u!=c&&n[u].f<n[f].f?u++:f++],n[c++]={s:-1,f:a.f+l.f,l:a,r:l};var d=s[0].s;for(r=1;r<i;++r)s[r].s>d&&(d=s[r].s);var h=new Mt(d+1),_=yu(n[c-1],h,0);if(_>t){r=0;var p=0,b=_-t,v=1<<b;for(s.sort(function(E,x){return h[x.s]-h[E.s]||E.f-x.f});r<i;++r){var y=s[r].s;if(!(h[y]>t))break;p+=v-(1<<_-h[y]),h[y]=t}for(p>>>=b;p>
240;){var g=s[r].s;h[g]<t?p-=1<<t-h[g]++-1:++r}for(;r>=0&&p;--r){var m=s[r].s;h[m]==t&&(--h[m],++p)}_=t}return[new Jt(h),_]},yu=function(e,t,n){return e.s==-1?Math.max(yu(e.l,t,n+1),yu(e.r,t,n+1)):t[e.s]=n},Ip=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new Mt(++t),r=0,i=e[0],s=1,o=function(l){n[r++]=l},a=1;a<=t;++a)if(e[a]==i&&a!=t)++s;else{if(!i&&s>2){for(;s>138;s-=138)o(32754);s>2&&(o(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(o(i),--s;s>6;s-=6)o(8304);s>2&&(o(s-3<<5|8208),s=0)}for(;s--;)o(i);s=1,i=e[a]}return[n.subarray(0,r),t]},cs=function(e,t){for(var n=0,r=0;r<t.length;++r)n+=e[r]*t[r];return n},bu=function(e,t,n){var r=n.length,i=Xm(t+2);e[i]=255&r,e[i+1]=r>>>8,e[i+2]=255^e[i],e[i+3]=255^e[i+1];for(var s=0;s<r;++s)e[i+s+4]=n[s];return 8*(i+4+r)},Tp=function(e,t,n,r,i,s,o,a,l,u,c){$n(t,c++,n),++i[256];for(var f=fc(i,15),d=f[0],h=f[1],_=fc(s,15),p=_[0],b=_[1],v=Ip(d),y=v[0],g=v[1],m=Ip(p),E=m[0],x=m[1],L=new Mt(19),D=0;D<y.length;++D)L[31&y[D]]++;for(D=0;D<E.length;++D)L[31&E[D]]++;for(var M=fc(L,7),$=M[0],B=M[1],F=19;F>4&&!$[xp[F-1]];--F);var q,ie,oe,W,ee=u+5<<3,X=cs(i,ai)+cs(s,Ta)+o,le=cs(i,d)+cs(s,p)+o+14+3*F+cs(L,$)+(2*L[16]+3*L[17]+7*L[18]);if(ee<=X&&ee<=le)return bu(t,c,e.subarray(l,l+u));if($n(t,c,1+(le<X)),c+=2,le<X){q=Os(d,h),ie=d,oe=Os(p,b),W=p;var Pe=Os($,B);for($n(t,c,g-257),$n(t,c+5,x-1),$n(t,c+10,F-4),c+=14,D=0;D<F;++D)$n(t,c+3*D,$[xp[D]]);c+=3*F;for(var Fe=[y,E],ue=0;ue<2;++ue){var Te=Fe[ue];for(D=0;D<Te.length;++D){var ke=31&Te[D];$n(t,c,Pe[ke]),c+=$[ke],ke>15&&($n(t,c,Te[D]>>>5&127),c+=Te[D]>>>12)}}}else q=N1,ie=ai,oe=H1,W=Ta;for(D=0;D<a;++D)if(r[D]>255){ke=r[D]>>>18&31,ls(t,c,q[ke+257]),c+=ie[ke+257],ke>7&&($n(t,c,r[D]>>>23&31),c+=Of[ke]);var Ue=31&r[D];ls(t,c,oe[Ue]),c+=W[Ue],Ue>3&&(ls(t,c,r[D]>>>5&8191),c+=Mf[Ue])}else ls(t,c,q[r[D]]),c+=ie[r[D]];return ls(t,c,q[256]),c+ie[256]},j1=new Wi([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),U1=function(){for(var e=new Wi(256),t=0;t<256;++t){for(var n=t,r=9;--r;)n=(1&n&&3988292384)^n>>>1;e[t]=n}return e}(),B1=function(){var e=4294967295;return{p:function(t){for(var n=e,r=0;r<t.length;++r)n=U1[255&n^t[r]]^n>>>8;e=n},d:function(){return 4294967295^e}}},V1=function(e,t,n,r,i){return function(s,o,a,l,u,c){var f=s.length,d=new Jt(l+f+5*(1+Math.floor(f/7e3))+u),h=d.subarray(l,d.length-u),_=0;if(!o||f<8)for(var p=0;p<=f;p+=65535){var b=p+65535;b<f?_=bu(h,_,s.subarray(p,b)):(h[p]=c,_=bu(h,_,s.subarray(p,f)))}else{for(var v=j1[o-1],y=v>>>13,g=8191&v,m=(1<<a)-1,E=new Mt(32768),x=new Mt(m+1),L=Math.ceil(a/3),D=2*L,M=function(N){return(s[N]^s[N+1]<<L^s[N+2]<<D)&m},$=new Wi(25e3),B=new Mt(288),F=new Mt(32),q=0,ie=0,oe=(p=0,0),W=0,ee=0;p<f;++p){var X=M(p),le=32767&p,Pe=x[X];if(E[le]=Pe,x[X]=le,W<=p){var Fe=f-p;if((q>7e3||oe>24576)&&Fe>423){_=Tp(s,h,0,$,B,F,ie,oe,ee,p-ee,_),oe=q=ie=0,ee=p;for(var ue=0;ue<286;++ue)B[ue]=0;for(ue=0;ue<30;++ue)F[ue]=0}var Te=2,ke=0,Ue=g,Se=le-Pe&32767;if(Fe>2&&X==M(p-Se))for(var H=Math.min(y,Fe)-1,z=Math.min(32767,p),K=Math.min(258,Fe);Se<=z&&--Ue&&le!=Pe;){if(s[p+Te]==s[p+Te-Se]){for(var J=0;J<K&&s[p+J]==s[p+J-Se];++J);if(J>Te){if(Te=J,ke=Se,J>H)break;var fe=Math.min(Se,J-2),be=0;for(ue=0;ue<fe;++ue){var k=p-Se+ue+32768&32767,C=k-E[k]+32768&32767;C>be&&(be=C,Pe=k)}}}Se+=(le=Pe)-(Pe=E[le])+32768&32767}if(ke){$[oe++]=268435456|mu[Te]<<18|Lp[ke];var A=31&mu[Te],U=31&Lp[ke];ie+=Of[A]+Mf[U],++B[257+A],++F[U],W=p+Te,++q}else $[oe++]=s[p],++B[s[p]]}}_=Tp(s,h,c,$,B,F,ie,oe,ee,p-ee,_)}return Jm(d,0,l+Xm(_)+u)}(e,t.level==null?6:t.level,t.mem==null?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):12+t.mem,n,r,!0)},wu=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8},q1=function(e,t){var n=t.filename;if(e[0]=31,e[1]=139,e[2]=8,e[8]=t.level<2?4:t.level==9?2:0,e[9]=3,t.mtime!=0&&wu(e,4,Math.floor(new Date(t.mtime||Date.now())/1e3)),n){e[3]=8;for(var r=0;r<=n.length;++r)e[r+10]=n.charCodeAt(r)}},W1=function(e){return 10+(e.filename&&e.filename.length+1||0)};function Qm(e,t){t===void 0&&(t={});var n=B1(),r=e.length;n.p(e);var i=V1(e,t,W1(t),8),s=i.length;return q1(i,t),wu(i,s-8,n.d()),wu(i,s-4,r),i}function Zm(e,t){var n=e.length;if(typeof TextEncoder<"u")return new TextEncoder().encode(e);for(var r=new Jt(e.length+(e.length>>>1)),i=0,s=function(u){r[i++]=u},o=0;o<n;++o){if(i+5>r.length){var a=new Jt(i+8+(n-o<<1));a.set(r),r=a}var l=e.charCodeAt(o);l<128||t?s(l):l<2048?(s(192|l>>>6),s(128|63&l)):l>55295&&l<57344?(s(240|(l=65536+(1047552&l)|1023&e.charCodeAt(++o))>>>18),s(128|l>>>12&63),s(128|l>>>6&63),s(128|63&l)):(s(224|l>>>12),s(128|l>>>6&63),s(128|63&l))}return Jm(r,0,i)}function K1(e,t){return function(n){for(var r=0,i=0;i<n.length;i++)r=(r<<5)-r+n.charCodeAt(i),r|=0;return Math.abs(r)}(e)%100<Gt(100*t,0,100)}var Lr="disabled",$f="sampled",Aa="active",li="buffering",Ff="paused",Df="trigger",xn=Df+"_activated",wt=Df+"_pending",Tn=Df+"_"+Lr;function Ap(e,t){return t.some(n=>n.matching==="regex"&&new RegExp(n.url).test(e))}class ey{constructor(t){this.gt=t}triggerStatus(t){var n=this.gt.map(r=>r.triggerStatus(t));return n.includes(xn)?xn:n.includes(wt)?wt:Tn}stop(){this.gt.forEach(t=>t.stop())}}class ty{constructor(t){this.gt=t}triggerStatus(t){var n=new Set;for(var r of this.gt)n.add(r.triggerStatus(t));switch(n.delete(Tn),n.size){case 0:return Tn;case 1:return Array.from(n)[0];default:return wt}}stop(){this.gt.forEach(t=>t.stop())}}class z1{triggerStatus(){return wt}stop(){}}class G1{constructor(t){this._t=[],this.bt=[],this.urlBlocked=!1,this._instance=t}onRemoteConfig(t){var n,r;this._t=((n=t.sessionRecording)==null?void 0:n.urlTriggers)||[],this.bt=((r=t.
24sessionRecording)==null?void 0:r.urlBlocklist)||[]}wt(t){var n;return this._t.length===0?Tn:((n=this._instance)==null?void 0:n.get_property(su))===t?xn:wt}triggerStatus(t){var n=this.wt(t),r=n===xn?xn:n===wt?wt:Tn;return this._instance.register_for_session({$sdk_debug_replay_url_trigger_status:r}),r}checkUrlTriggerConditions(t,n,r){if(P!==void 0&&P.location.href){var i=P.location.href,s=this.urlBlocked,o=Ap(i,this.bt);s&&o||(o&&!s?t():!o&&s&&n(),Ap(i,this._t)&&r("url"))}}stop(){}}class Y1{constructor(t){this.linkedFlag=null,this.linkedFlagSeen=!1,this.yt=()=>{},this._instance=t}triggerStatus(){var t=wt;return Ce(this.linkedFlag)&&(t=Tn),this.linkedFlagSeen&&(t=xn),this._instance.register_for_session({$sdk_debug_replay_linked_flag_trigger_status:t}),t}onRemoteConfig(t,n){var r;if(this.linkedFlag=((r=t.sessionRecording)==null?void 0:r.linkedFlag)||null,!Ce(this.linkedFlag)&&!this.linkedFlagSeen){var i=Ze(this.linkedFlag)?this.linkedFlag:this.linkedFlag.flag,s=Ze(this.linkedFlag)?null:this.linkedFlag.variant;this.yt=this._instance.onFeatureFlags((o,a)=>{var l=ze(a)&&i in a&&(s?a[i]===s:a[i]===!0);l&&n(i,s),this.linkedFlagSeen=l})}}stop(){this.yt()}}class X1{constructor(t){this.St=[],this._instance=t}onRemoteConfig(t){var n;this.St=((n=t.sessionRecording)==null?void 0:n.eventTriggers)||[]}$t(t){var n;return this.St.length===0?Tn:((n=this._instance)==null?void 0:n.get_property(ou))===t?xn:wt}triggerStatus(t){var n=this.$t(t),r=n===xn?xn:n===wt?wt:Tn;return this._instance.register_for_session({$sdk_debug_replay_event_trigger_status:r}),r}stop(){}}function J1(e){return e.isRecordingEnabled?li:Lr}function Q1(e){if(!e.receivedDecide)return li;if(!e.isRecordingEnabled)return Lr;if(e.urlTriggerMatching.urlBlocked)return Ff;var t=e.isSampled===!0,n=new ey([e.eventTriggerMatching,e.urlTriggerMatching,e.linkedFlagMatching]).triggerStatus(e.sessionId);return t?$f:n===xn?Aa:n===wt?li:e.isSampled===!1?Lr:Aa}function Z1(e){if(!e.receivedDecide)return li;if(!e.isRecordingEnabled)return Lr;if(e.urlTriggerMatching.urlBlocked)return Ff;var t=new ty([e.eventTriggerMatching,e.urlTriggerMatching,e.linkedFlagMatching]).triggerStatus(e.sessionId),n=t!==Tn,r=zn(e.isSampled);return n&&t===wt?li:n&&t===Tn||r&&!e.isSampled?Lr:e.isSampled===!0?$f:Aa}var ws="[SessionRecording]",gt=Et(ws);function Do(){var e,t;return ce==null||(e=ce.__PosthogExtensions__)==null||(t=e.rrweb)==null?void 0:t.record}var eL=3e5,tL=[an.MouseMove,an.MouseInteraction,an.Scroll,an.ViewportResize,an.Input,an.TouchMove,an.MediaInteraction,an.Drag],Rp=e=>({rrwebMethod:e,enqueuedAt:Date.now(),attempt:1});function Br(e){return function(t,n){for(var r="",i=0;i<t.length;){var s=t[i++];r+=String.fromCharCode(s)}return r}(Qm(Zm(JSON.stringify(e))))}function Pp(e){return e.type===Hn.Custom&&e.data.tag==="sessionIdle"}class nL{get sessionId(){return this.kt}get xt(){return this._instance.config.session_recording.session_idle_threshold_ms||3e5}get started(){return this.Et}get It(){if(!this._instance.sessionManager)throw new Error(ws+" must be started with a valid sessionManager.");return this._instance.sessionManager}get Pt(){var t,n;return this.Rt.triggerStatus(this.sessionId)===wt?6e4:(t=(n=this._instance.config.session_recording)==null?void 0:n.full_snapshot_interval_millis)!==null&&t!==void 0?t:eL}get Tt(){var t=this._instance.get_property(ys);return zn(t)?t:null}get Mt(){var t,n,r=(t=this.M)==null?void 0:t.data[((n=this.M)==null?void 0:n.data.length)-1],{sessionStartTimestamp:i}=this.It.checkAndGetSessionAndWindowId(!0);return r?r.timestamp-i:null}get Ct(){var t=!!this._instance.get_property(iu),n=!this._instance.config.disable_session_recording;return P&&t&&n}get Ot(){var t=!!this._instance.get_property(sp),n=this._instance.config.enable_recording_console_log;return n??t}get Ft(){var t,n,r,i,s,o,a=this._instance.config.session_recording.captureCanvas,l=this._instance.get_property(lp),u=(t=(n=a==null?void 0:a.recordCanvas)!==null&&n!==void 0?n:l==null?void 0:l.enabled)!==null&&t!==void 0&&t,c=(r=(i=a==null?void 0:a.canvasFps)!==null&&i!==void 0?i:l==null?void 0:l.fps)!==null&&r!==void 0?r:4,f=(s=(o=a==null?void 0:a.canvasQuality)!==null&&o!==void 0?o:l==null?void 0:l.quality)!==null&&s!==void 0?s:.4;if(typeof f=="string"){var d=parseFloat(f);f=isNaN(d)?.4:d}return{enabled:u,fps:Gt(c,0,12,"canvas recording fps",4),quality:Gt(f,0,1,"canvas recording quality",.4)}}get At(){var t,n,r=this._instance.get_property(op),i={recordHeaders:(t=this._instance.config.session_recording)==null?void 0:t.recordHeaders,recordBody:(n=this._instance.config.session_recording)==null?void 0:n.recordBody},s=(i==null?void 0:i.recordHeaders)||(r==null?void 0:r.recordHeaders),o=(i==null?void 0:i.recordBody)||(r==null?void 0:r.recordBody),a=ze(this._instance.config.capture_performance)?this._instance.config.capture_performance.network_timing:this._instance.config.capture_performance,l=!!(zn(a)?a:r!=null&&r.capturePerformance);return s||o||l?{recordHeaders:s,recordBody:o,recordPerformance:l}:void 0}get Dt(){var t,n,r,i,s,o,a=this._instance.get_property(ap),l={maskAllInputs:(t=this._instance.config.session_recording)==null?void 0:t.maskAllInputs,maskTextSelector:(n=this._instance.config.session_recording)==null?void 0:n.maskTextSelector,blockSelector:(r=this._instance.config.session_recording)==null?void 0:r.blockSelector},u=(i=l==null?void 0:l.maskAllInputs)!==null&&i!==void 0?i:a==null?void 0:a.maskAllInputs,c=(s=l==null?void 0:l.maskTextSelector)!==null&&s!==void 0?s:a==null?void 0:a.maskTextSelector,f=(o=l==null?void 0:l.blockSelector)!==null&&o!==void 0?o:a==null?void 0:a.blockSelector;return Q(u)&&Q(c)&&Q(f)?void 0:{maskAllInputs:u==null||u,maskTextSelector:c,blockSelector:f}}get jt(){var t=this._instance.get_property(cp);return yt(t)?t:null}get Lt(){var t=this._instance.get_property(up);return yt(t)?t:null}
24get status(){return this.Nt?this.zt({receivedDecide:this.Nt,isRecordingEnabled:this.Ct,isSampled:this.Tt,urlTriggerMatching:this.Ut,eventTriggerMatching:this.qt,linkedFlagMatching:this.Bt,sessionId:this.sessionId}):li}constructor(t){if(this.zt=J1,this.Nt=!1,this.Ht=[],this.Wt="unknown",this.Gt=Date.now(),this.Rt=new z1,this.Jt=void 0,this.Vt=void 0,this.Kt=void 0,this.Yt=void 0,this.Xt=void 0,this._forceAllowLocalhostNetworkCapture=!1,this.Qt=()=>{this.Zt()},this.ti=()=>{this.ii("browser offline",{})},this.ei=()=>{this.ii("browser online",{})},this.ri=()=>{if(te!=null&&te.visibilityState){var i="window "+te.visibilityState;this.ii(i,{})}},this._instance=t,this.Et=!1,this.si="/s/",this.ni=void 0,this.Nt=!1,!this._instance.sessionManager)throw gt.error("started without valid sessionManager"),new Error(ws+" started without valid sessionManager. This is a bug.");if(this._instance.config.__preview_experimental_cookieless_mode)throw new Error(ws+" cannot be used with __preview_experimental_cookieless_mode.");this.Bt=new Y1(this._instance),this.Ut=new G1(this._instance),this.qt=new X1(this._instance);var{sessionId:n,windowId:r}=this.It.checkAndGetSessionAndWindowId();this.kt=n,this.oi=r,this.M=this.ai(),this.xt>=this.It.sessionTimeoutMs&&gt.warn("session_idle_threshold_ms ("+this.xt+") is greater than the session timeout ("+this.It.sessionTimeoutMs+"). Session will never be detected as idle")}startIfEnabledOrStop(t){this.Ct?(this.li(t),Ve(P,"beforeunload",this.Qt),Ve(P,"offline",this.ti),Ve(P,"online",this.ei),Ve(P,"visibilitychange",this.ri),this.hi(),this.ui(),Ce(this.Jt)&&(this.Jt=this._instance.on("eventCaptured",n=>{try{if(n.event==="$pageview"){var r=n!=null&&n.properties.$current_url?this.di(n==null?void 0:n.properties.$current_url):"";if(!r)return;this.ii("$pageview",{href:r})}}catch(i){gt.error("Could not add $pageview to rrweb session",i)}})),this.Vt||(this.Vt=this.It.onSessionId((n,r,i)=>{var s,o,a,l;i&&(this.ii("$session_id_change",{sessionId:n,windowId:r,changeReason:i}),(s=this._instance)==null||(o=s.persistence)==null||o.unregister(ou),(a=this._instance)==null||(l=a.persistence)==null||l.unregister(su))}))):this.stopRecording()}stopRecording(){var t,n,r,i;this.Et&&this.ni&&(this.ni(),this.ni=void 0,this.Et=!1,P==null||P.removeEventListener("beforeunload",this.Qt),P==null||P.removeEventListener("offline",this.ti),P==null||P.removeEventListener("online",this.ei),P==null||P.removeEventListener("visibilitychange",this.ri),this.ai(),clearInterval(this.vi),(t=this.Jt)==null||t.call(this),this.Jt=void 0,(n=this.Xt)==null||n.call(this),this.Xt=void 0,(r=this.Vt)==null||r.call(this),this.Vt=void 0,(i=this.Yt)==null||i.call(this),this.Yt=void 0,this.qt.stop(),this.Ut.stop(),this.Bt.stop(),gt.info("stopped"))}ci(){var t;(t=this._instance.persistence)==null||t.unregister(ys)}fi(t){var n,r=this.kt!==t,i=this.jt;if(yt(i)){var s=this.Tt,o=r||!zn(s),a=o?K1(t,i):s;o&&(a?this.pi($f):gt.warn("Sample rate ("+i+") has determined that this sessionId ("+t+") will not be sent to the server."),this.ii("samplingDecisionMade",{sampleRate:i,isSampled:a})),(n=this._instance.persistence)==null||n.register({[ys]:a})}else this.ci()}onRemoteConfig(t){var n,r,i,s;this.ii("$remote_config_received",t),this.gi(t),(n=t.sessionRecording)!=null&&n.endpoint&&(this.si=(s=t.sessionRecording)==null?void 0:s.endpoint),this.hi(),((r=t.sessionRecording)==null?void 0:r.triggerMatchType)==="any"?(this.zt=Q1,this.Rt=new ey([this.qt,this.Ut])):(this.zt=Z1,this.Rt=new ty([this.qt,this.Ut])),this._instance.register_for_session({$sdk_debug_replay_remote_trigger_matching_config:(i=t.sessionRecording)==null?void 0:i.triggerMatchType}),this.Ut.onRemoteConfig(t),this.qt.onRemoteConfig(t),this.Bt.onRemoteConfig(t,(o,a)=>{this.pi("linked_flag_matched",{flag:o,variant:a})}),this.Nt=!0,this.startIfEnabledOrStop()}hi(){yt(this.jt)&&Ce(this.Yt)&&(this.Yt=this.It.onSessionId(t=>{this.fi(t)}))}gi(t){if(this._instance.persistence){var n,r=this._instance.persistence,i=()=>{var s,o,a,l,u,c,f,d,h,_=(s=t.sessionRecording)==null?void 0:s.sampleRate,p=Ce(_)?null:parseFloat(_);Ce(p)&&this.ci();var b=(o=t.sessionRecording)==null?void 0:o.minimumDurationMilliseconds;r.register({[iu]:!!t.sessionRecording,[sp]:(a=t.sessionRecording)==null?void 0:a.consoleLogRecordingEnabled,[op]:Z({capturePerformance:t.capturePerformance},(l=t.sessionRecording)==null?void 0:l.networkPayloadCapture),[ap]:(u=t.sessionRecording)==null?void 0:u.masking,[lp]:{enabled:(c=t.sessionRecording)==null?void 0:c.recordCanvas,fps:(f=t.sessionRecording)==null?void 0:f.canvasFps,quality:(d=t.sessionRecording)==null?void 0:d.canvasQuality},[cp]:p,[up]:Q(b)?null:b,[fp]:(h=t.sessionRecording)==null?void 0:h.scriptConfig})};i(),(n=this.Kt)==null||n.call(this),this.Kt=this.It.onSessionId(i)}}log(t,n){var r;n===void 0&&(n="log"),(r=this._instance.sessionRecording)==null||r.onRRwebEmit({type:6,data:{plugin:"rrweb/console@1",payload:{level:n,trace:[],payload:[JSON.stringify(t)]}},timestamp:Date.now()})}li(t){if(!Q(Object.assign)&&!Q(Array.from)&&!(this.Et||this._instance.config.disable_session_recording||this._instance.consent.isOptedOut())){var n;this.Et=!0,this.It.checkAndGetSessionAndWindowId(),Do()?this.mi():(n=ce.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this._instance,this.bi,r=>{if(r)return gt.error("could not load recorder",r);this.mi()}),gt.info("starting"),this.status===Aa&&this.pi(t||"recording_initialized")}}get bi(){var t,n,r;return((t=this._instance)==null||(n=t.persistence)==null||(r=n.get_property(fp))==null?void 0:r.script)||"recorder"}wi(t){var n;return t.type===3&&tL.indexOf((n=t.data)==null?void 0:n.source)!==-1}yi(t){var n=this.wi(t);n||this.Wt||t.timestamp-this.Gt>this.xt&&(this.Wt=!0,clearInterval(this.vi),this.ii("sessionIdle",{eventTimestamp:t.timestamp,lastActivityTimestamp:this.Gt,threshold:this.xt,bufferLength:this.M.data.length,bufferSize:this.M.size}),this.Zt());var r=!1;if(n&&(this.Gt=t.timestamp,this.Wt)){var i=this.Wt==="unknown";this.Wt=!1,i||(this.ii("sessionNoLongerIdle",{reason:"user activity",type:t.type}),r=!0)}if(!this.Wt){var{windowId:s,sessionId:o}=this.It.checkAndGetSessionAndWindowId(!n,t.timestamp),a=this.kt!==o,l=this.oi!==s;this.oi=s,this.kt=o,a||l?(this.stopRecording(),this.startIfEnabledOrStop("session_id_changed")):r&&this.Si()}}$i(t){try{return t.rrwebMethod(),!0}catch(n){return this.Ht.length<10?this.Ht.push({enqueuedAt:t.enqueuedAt||Date.now(),attempt:t.attempt++,rrwebMethod:t.rrwebMethod}):gt.warn("could not emit queued rrweb event.",n,t),!1}}ii(t,n){return this.$i(Rp(()=>Do().addCustomEvent(t,n)))}ki(){return this.$i(Rp(()=>Do().takeFullSnapshot()))}mi(){var t,n,r,i,s={blockClass:"ph-no-capture",blockSelector:void 0,ignoreClass:"ph-ignore-input",maskTextClass:"ph-mask",maskTextSelector:void 0,maskTextFn:void 0,maskAllInputs:!0,maskInputOptions:{password:!0},maskInputFn:void 0,slimDOMOptions:{}
24,collectFonts:!1,inlineStylesheet:!0,recordCrossOriginIframes:!1},o=this._instance.config.session_recording;for(var[a,l]of Object.entries(o||{}))a in s&&(a==="maskInputOptions"?s.maskInputOptions=Z({password:!0},l):s[a]=l);this.Ft&&this.Ft.enabled&&(s.recordCanvas=!0,s.sampling={canvas:this.Ft.fps},s.dataURLOptions={type:"image/webp",quality:this.Ft.quality}),this.Dt&&(s.maskAllInputs=(n=this.Dt.maskAllInputs)===null||n===void 0||n,s.maskTextSelector=(r=this.Dt.maskTextSelector)!==null&&r!==void 0?r:void 0,s.blockSelector=(i=this.Dt.blockSelector)!==null&&i!==void 0?i:void 0);var u=Do();if(u){this.xi=(t=this.xi)!==null&&t!==void 0?t:new F1(u,{refillRate:this._instance.config.session_recording.__mutationRateLimiterRefillRate,bucketSize:this._instance.config.session_recording.__mutationRateLimiterBucketSize,onBlockedNode:(f,d)=>{var h="Too many mutations on node '"+f+"'. Rate limiting. This could be due to SVG animations or something similar";gt.info(h,{node:d}),this.log(ws+" "+h,"warn")}});var c=this.Ei();this.ni=u(Z({emit:f=>{this.onRRwebEmit(f)},plugins:c},s)),this.Gt=Date.now(),this.Wt=zn(this.Wt)?this.Wt:"unknown",this.ii("$session_options",{sessionRecordingOptions:s,activePlugins:c.map(f=>f==null?void 0:f.name)}),this.ii("$posthog_config",{config:this._instance.config})}else gt.error("onScriptLoaded was called but rrwebRecord is not available. This indicates something has gone wrong.")}Si(){if(this.vi&&clearInterval(this.vi),this.Wt!==!0){var t=this.Pt;t&&(this.vi=setInterval(()=>{this.ki()},t))}}Ei(){var t,n,r,i,s=[],o=(t=ce.__PosthogExtensions__)==null||(n=t.rrwebPlugins)==null?void 0:n.getRecordConsolePlugin;o&&this.Ot&&s.push(o());var a=(r=ce.__PosthogExtensions__)==null||(i=r.rrwebPlugins)==null?void 0:i.getRecordNetworkPlugin;return this.At&&Xt(a)&&(!e1.includes(location.hostname)||this._forceAllowLocalhostNetworkCapture?s.push(a($1(this._instance.config,this.At))):gt.info("NetworkCapture not started because we are on localhost.")),s}onRRwebEmit(t){var n;if(this.Ii(),t&&ze(t)){if(t.type===Hn.Meta){var r=this.di(t.data.href);if(this.Pi=r,!r)return;t.data.href=r}else this.Ri();if(this.Ut.checkUrlTriggerConditions(()=>this.Ti(),()=>this.Mi(),d=>this.Ci(d)),!this.Ut.urlBlocked||(i=t).type===Hn.Custom&&i.data.tag==="recording paused"){var i;t.type===Hn.FullSnapshot&&this.Si(),t.type===Hn.FullSnapshot&&this.Nt&&this.Rt.triggerStatus(this.sessionId)===wt&&this.ai();var s=this.xi?this.xi.throttleMutations(t):t;if(s){var o=function(d){var h=d;if(h&&ze(h)&&h.type===6&&ze(h.data)&&h.data.plugin==="rrweb/console@1"){h.data.payload.payload.length>10&&(h.data.payload.payload=h.data.payload.payload.slice(0,10),h.data.payload.payload.push("...[truncated]"));for(var _=[],p=0;p<h.data.payload.payload.length;p++)h.data.payload.payload[p]&&h.data.payload.payload[p].length>2e3?_.push(h.data.payload.payload[p].slice(0,2e3)+"...[truncated]"):_.push(h.data.payload.payload[p]);return h.data.payload.payload=_,d}return d}(s);if(this.yi(o),this.Wt!==!0||Pp(o)){if(Pp(o)){var a=o.data.payload;if(a){var l=a.lastActivityTimestamp,u=a.threshold;o.timestamp=l+u}}var c=(n=this._instance.config.session_recording.compress_events)===null||n===void 0||n?function(d){if(Ia(d)<1024)return d;try{if(d.type===Hn.FullSnapshot)return Z({},d,{data:Br(d.data),cv:"2024-10"});if(d.type===Hn.IncrementalSnapshot&&d.data.source===an.Mutation)return Z({},d,{cv:"2024-10",data:Z({},d.data,{texts:Br(d.data.texts),attributes:Br(d.data.attributes),removes:Br(d.data.removes),adds:Br(d.data.adds)})});if(d.type===Hn.IncrementalSnapshot&&d.data.source===an.StyleSheetRule)return Z({},d,{cv:"2024-10",data:Z({},d.data,{adds:d.data.adds?Br(d.data.adds):void 0,removes:d.data.removes?Br(d.data.removes):void 0})})}catch(h){gt.error("could not compress event - will use uncompressed event",h)}return d}(o):o,f={$snapshot_bytes:Ia(c),$snapshot_data:c,$session_id:this.kt,$window_id:this.oi};this.status!==Lr?this.Oi(f):this.ai()}}}}}Ri(){if(!this._instance.config.capture_pageview&&P){var t=this.di(P.location.href);this.Pi!==t&&(this.ii("$url_changed",{href:t}),this.Pi=t)}}Ii(){if(this.Ht.length){var t=[...this.Ht];this.Ht=[],t.forEach(n=>{Date.now()-n.enqueuedAt<=2e3&&this.$i(n)})}}di(t){var n=this._instance.config.session_recording;
24if(n.maskNetworkRequestFn){var r,i={url:t};return(r=i=n.maskNetworkRequestFn(i))==null?void 0:r.url}return t}ai(){return this.M={size:0,data:[],sessionId:this.kt,windowId:this.oi},this.M}Zt(){this.Fi&&(clearTimeout(this.Fi),this.Fi=void 0);var t=this.Lt,n=this.Mt,r=yt(n)&&n>=0,i=yt(t)&&r&&n<t;return this.status===li||this.status===Ff||this.status===Lr||i?(this.Fi=setTimeout(()=>{this.Zt()},2e3),this.M):(this.M.data.length>0&&gu(this.M).forEach(s=>{this.Ai({$snapshot_bytes:s.size,$snapshot_data:s.data,$session_id:s.sessionId,$window_id:s.windowId,$lib:"web",$lib_version:Un.LIB_VERSION})}),this.ai())}Oi(t){var n,r=2+(((n=this.M)==null?void 0:n.data.length)||0);!this.Wt&&(this.M.size+t.$snapshot_bytes+r>943718.4||this.M.sessionId!==this.kt)&&(this.M=this.Zt()),this.M.size+=t.$snapshot_bytes,this.M.data.push(t.$snapshot_data),this.Fi||this.Wt||(this.Fi=setTimeout(()=>{this.Zt()},2e3))}Ai(t){this._instance.capture("$snapshot",t,{_url:this._instance.requestRouter.endpointFor("api",this.si),_noTruncate:!0,_batchKey:"recordings",skip_client_rate_limiting:!0})}Ci(t){var n,r;this.Rt.triggerStatus(this.sessionId)===wt&&((n=this._instance)==null||(r=n.persistence)==null||r.register({[t==="url"?su:ou]:this.kt}),this.Zt(),this.pi(t+"_trigger_matched"))}Ti(){this.Ut.urlBlocked||(this.Ut.urlBlocked=!0,clearInterval(this.vi),gt.info("recording paused due to URL blocker"),this.ii("recording paused",{reason:"url blocker"}))}Mi(){this.Ut.urlBlocked&&(this.Ut.urlBlocked=!1,this.ki(),this.Si(),this.ii("recording resumed",{reason:"left blocked url"}),gt.info("recording resumed"))}ui(){this.qt.St.length!==0&&Ce(this.Xt)&&(this.Xt=this._instance.on("eventCaptured",t=>{try{this.qt.St.includes(t.event)&&this.Ci("event")}catch(n){gt.error("Could not activate event trigger",n)}}))}overrideLinkedFlag(){this.Bt.linkedFlagSeen=!0,this.ki(),this.pi("linked_flag_overridden")}overrideSampling(){var t;(t=this._instance.persistence)==null||t.register({[ys]:!0}),this.ki(),this.pi("sampling_overridden")}overrideTrigger(t){this.Ci(t)}pi(t,n){this._instance.register_for_session({$session_recording_start_reason:t}),gt.info(t.replace("_"," "),n),pe(["recording_initialized","session_id_changed"],t)||this.ii(t,n)}get sdkDebugProperties(){var{sessionStartTimestamp:t}=this.It.checkAndGetSessionAndWindowId(!0);return{$recording_status:this.status,$sdk_debug_replay_internal_buffer_length:this.M.data.length,$sdk_debug_replay_internal_buffer_size:this.M.size,$sdk_debug_current_session_duration:this.Mt,$sdk_debug_session_start:t}}}var dc=Et("[SegmentIntegration]");function rL(e,t){var n=e.config.segment;if(!n)return t();(function(r,i){var s=r.config.segment;if(!s)return i();var o=l=>{var u=()=>l.anonymousId()||yr();r.config.get_device_id=u,l.id()&&(r.register({distinct_id:l.id(),$device_id:u()}),r.persistence.set_property(Nn,"identified")),i()},a=s.user();"then"in a&&Xt(a.then)?a.then(l=>o(l)):o(a)})(e,()=>{n.register((r=>{Promise&&Promise.resolve||dc.warn("This browser does not have Promise support, and can not use the segment integration");var i=(s,o)=>{if(!o)return s;s.event.userId||s.event.anonymousId===r.get_distinct_id()||(dc.info("No userId set, resetting PostHog"),r.reset()),s.event.userId&&s.event.userId!==r.get_distinct_id()&&(dc.info("UserId set, identifying with PostHog"),r.identify(s.event.userId));var a=r.calculateEventProperties(o,s.event.properties);return s.event.properties=Object.assign({},a,s.event.properties),s};return{name:"PostHog JS",type:"enrichment",version:"1.0.0",isLoaded:()=>!0,load:()=>Promise.resolve(),track:s=>i(s,s.event.event),page:s=>i(s,"$pageview"),identify:s=>i(s,"$identify"),screen:s=>i(s,"$screen")}})(e)).then(()=>{t()})})}var ny="posthog-js";function ry(e,t){var{organization:n,projectId:r,prefix:i,severityAllowList:s=["error"]}=t===void 0?{}:t;return o=>{var a,l,u,c,f;if(!(s==="*"||s.includes(o.level))||!e.__loaded)return o;o.tags||(o.tags={});var d=e.requestRouter.endpointFor("ui","/project/"+e.config.token+"/person/"+e.get_distinct_id());o.tags["PostHog Person URL"]=d,e.sessionRecordingStarted()&&(o.tags["PostHog Recording URL"]=e.get_session_replay_url({withTimestamp:!0}));var h=((a=o.exception)==null?void 0:a.values)||[],_=h.map(b=>Z({},b,{stacktrace:b.stacktrace?Z({},b.stacktrace,{type:"raw",frames:(b.stacktrace.frames||[]).map(v=>Z({},v,{platform:"web:javascript"}))}):void 0})),p={$exception_message:((l=h[0])==null?void 0:l.value)||o.message,$exception_type:(u=h[0])==null?void 0:u.type,$exception_personURL:d,$exception_level:o.level,$exception_list:_,$sentry_event_id:o.event_id,$sentry_exception:o.exception,$sentry_exception_message:((c=h[0])==null?void 0:c.value)||o.message,$sentry_exception_type:(f=h[0])==null?void 0:f.type,$sentry_tags:o.tags};return n&&r&&(p.$sentry_url=(i||"https://sentry.io/organizations/")+n+"/issues/?project="+r+"&query="+o.event_id),e.exceptions.sendExceptionEvent(p),o}}class iL{constructor(t,n,r,i,s){this.name=ny,this.setupOnce=function(o){o(ry(t,{organization:n,projectId:r,prefix:i,severityAllowList:s}))}}}var jn,sL=P!=null&&P.location?xa(P.location.hash,"__posthog")||xa(location.hash,"state"):null,Op="_postHogToolbarParam
24s",Mp=Et("[Toolbar]");(function(e){e[e.UNINITIALIZED=0]="UNINITIALIZED",e[e.LOADING=1]="LOADING",e[e.LOADED=2]="LOADED"})(jn||(jn={}));class oL{constructor(t){this.instance=t}Di(t){ce.ph_toolbar_state=t}ji(){var t;return(t=ce.ph_toolbar_state)!==null&&t!==void 0?t:jn.UNINITIALIZED}maybeLoadToolbar(t,n,r){var i,s;if(t===void 0&&(t=void 0),n===void 0&&(n=void 0),r===void 0&&(r=void 0),!P||!te)return!1;t=(i=t)!==null&&i!==void 0?i:P.location,r=(s=r)!==null&&s!==void 0?s:P.history;try{if(!n){try{P.localStorage.setItem("test","test"),P.localStorage.removeItem("test")}catch{return!1}n=P==null?void 0:P.localStorage}var o,a=sL||xa(t.hash,"__posthog")||xa(t.hash,"state"),l=a?ep(()=>JSON.parse(atob(decodeURIComponent(a))))||ep(()=>JSON.parse(decodeURIComponent(a))):null;return l&&l.action==="ph_authorize"?((o=l).source="url",o&&Object.keys(o).length>0&&(l.desiredHash?t.hash=l.desiredHash:r?r.replaceState(r.state,"",t.pathname+t.search):t.hash="")):((o=JSON.parse(n.getItem(Op)||"{}")).source="localstorage",delete o.userIntent),!(!o.token||this.instance.config.token!==o.token)&&(this.loadToolbar(o),!0)}catch{return!1}}Li(t){var n=ce.ph_load_toolbar||ce.ph_load_editor;!Ce(n)&&Xt(n)?n(t,this.instance):Mp.warn("No toolbar load function found")}loadToolbar(t){var n=!(te==null||!te.getElementById(Tm));if(!P||n)return!1;var r=this.instance.requestRouter.region==="custom"&&this.instance.config.advanced_disable_toolbar_metrics,i=Z({token:this.instance.config.token},t,{apiURL:this.instance.requestRouter.endpointFor("ui")},r?{instrument:!1}:{});if(P.localStorage.setItem(Op,JSON.stringify(Z({},i,{source:void 0}))),this.ji()===jn.LOADED)this.Li(i);else if(this.ji()===jn.UNINITIALIZED){var s;this.Di(jn.LOADING),(s=ce.__PosthogExtensions__)==null||s.loadExternalDependency==null||s.loadExternalDependency(this.instance,"toolbar",o=>{if(o)return Mp.error("[Toolbar] Failed to load",o),void this.Di(jn.UNINITIALIZED);this.Di(jn.LOADED),this.Li(i)}),Ve(P,"turbolinks:load",()=>{this.Di(jn.UNINITIALIZED),this.loadToolbar(i)})}return!0}Ni(t){return this.loadToolbar(t)}maybeLoadEditor(t,n,r){return t===void 0&&(t=void 0),n===void 0&&(n=void 0),r===void 0&&(r=void 0),this.maybeLoadToolbar(t,n,r)}}var aL=Et("[TracingHeaders]");class lL{constructor(t){this.zi=void 0,this.Ui=void 0,this.V=()=>{var n,r,i,s;Q(this.zi)&&((n=ce.__PosthogExtensions__)==null||(r=n.tracingHeadersPatchFns)==null||r._patchXHR(this._instance.sessionManager)),Q(this.Ui)&&((i=ce.__PosthogExtensions__)==null||(s=i.tracingHeadersPatchFns)==null||s._patchFetch(this._instance.sessionManager))},this._instance=t}G(t){var n,r;(n=ce.__PosthogExtensions__)!=null&&n.tracingHeadersPatchFns&&t(),(r=ce.__PosthogExtensions__)==null||r.loadExternalDependency==null||r.loadExternalDependency(this._instance,"tracing-headers",i=>{if(i)return aL.error("failed to load script",i);t()})}startIfEnabledOrStop(){var t,n;this._instance.config.__add_tracing_headers?this.G(this.V):((t=this.zi)==null||t.call(this),(n=this.Ui)==null||n.call(this),this.zi=void 0,this.Ui=void 0)}}var sr=Et("[Web Vitals]"),$p=9e5;class cL{constructor(t){var n;this.qi=!1,this.i=!1,this.M={url:void 0,metrics:[],firstMetricTimestamp:void 0},this.Bi=()=>{clearTimeout(this.Hi),this.M.metrics.length!==0&&(this._instance.capture("$web_vitals",this.M.metrics.reduce((r,i)=>Z({},r,{["$web_vitals_"+i.name+"_event"]:Z({},i),["$web_vitals_"+i.name+"_value"]:i.value}),{})),this.M={url:void 0,metrics:[],firstMetricTimestamp:void 0})},this.Wi=r=>{var i,s=(i=this._instance.sessionManager)==null?void 0:i.checkAndGetSessionAndWindowId(!0);if(Q(s))sr.error("Could not read session ID. Dropping metrics!");else{this.M=this.M||{url:void 0,metrics:[],firstMetricTimestamp:void 0};var o=this.Gi();Q(o)||(Ce(r==null?void 0:r.name)||Ce(r==null?void 0:r.value)?sr.error("Invalid metric received",r):this.Ji&&r.value>=this.Ji?sr.error("Ignoring metric with value >= "+this.Ji,r):(this.M.url!==o&&(this.Bi(),this.Hi=setTimeout(this.Bi,this.flushToCaptureTimeoutMs)),Q(this.M.url)&&(this.M.url=o),this.M.firstMetricTimestamp=Q(this.M.firstMetricTimestamp)?Date.now():this.M.firstMetricTimestamp,r.attribution&&r.attribution.interactionTargetElement&&(r.attribution.interactionTargetElement=void 0),this.M.metrics.push(Z({},r,{$current_url:o,$session_id:s.sessionId,$window_id:s.windowId,timestamp:Date.now()})),this.M.metrics.length===this.allowedMetrics.length&&this.Bi()))}},this.V=()=>{var r,i,s,o,a=ce.__PosthogExtensions__;Q(a)||Q(a.postHogWebVitalsCallbacks)||({onLCP:r,onCLS:i,onFCP:s,onINP:o}=a.postHogWebVitalsCallbacks),r&&i&&s&&o?(this.allowedMetrics.indexOf("LCP")>-1&&r(this.Wi.bind(this)),this.allowedMetrics.indexOf("CLS")>-1&&i(this.Wi.bind(this)),this.allowedMetrics.indexOf("FCP")>-1&&s(this.Wi.bind(this)),this.allowedMetrics.indexOf("INP")>-1&&o(this.Wi.bind(this)),this.i=!0):sr.error("web vitals callbacks not loaded - not starting")},this._instance=t,this.qi=!((n=this._instance.persistence)==null||!n.props[rp]),this.startIfEnabled()}get allowedMetrics(){var t,n,r=ze(this._instance.config.capture_performance)?(t=this._instance.config.capture_performance)==null?void 0:t.web_vitals_allowed_metrics:void 0;return Q(r)?((n=this._instance.persistence)==null?void 0:n.props[ip])||["CLS","FCP","INP","LCP"]:r}get flushToCaptureTimeoutMs(){return(ze(this._instance.config.capture_performance)?this._instance.config.capture_performance.web_vitals_delayed_flush_ms:void 0)||5e3}get Ji(){var t=ze(this._instance.config.capture_performance)&&yt(this._instance.config.capture_performance.__web_vitals_max_value)?this._instance.config.capture_performance.__web_vitals_max_value:$p;return 0<t&&t<=6e4?$p:t}get isEnabled(){var t=Rt==null?void 0:Rt.protocol;if(t!=="http:"&&t!=="https:")return sr.info("Web Vitals are disabled on non-http/https protocols"),!1;var n=ze(this._instance.config.capture_performance)?this._instance.config.capture_performance.web_vitals:zn(this._instance.config.capture_performance)?this._instance.config.capture_performance:void 0;return zn(n)?n:this.qi}startIfEnabled(){this.isEnabled&&!this.i&&(sr.info("enabled, starting..."),this.G(this.V))}onRemoteConfig(t){var n=ze(t.capturePerformance)&&!!t.capturePerformance.web_vitals,r=ze(t.capturePerformance)?t.capturePerformance.web_vitals_allowed_metrics:void 0;this._instance.persistence&&(this._instance.persistence.register({[rp]:n}),this._instance.persistence.register({[ip]:r})),this.qi=n,this.startIfEnabled()}G(t){var n,r;(n=ce.__PosthogExtensions__)!=null&&n.postHogWebVitalsCallbacks&&t(),(r=ce.__PosthogExtensions__)==null||r.loadExternalDependency==null||r.loadExternalDependency(this._instance,"web-vitals",i=>{i?sr.error("failed to load script",i):t()})}Gi(){var t=P?P.location.href:void 0;return t||sr.error("Could not determine current URL"),t}}var uL=Et("[Heatmaps]");function Fp(e){return ze(e)&&"clientX"in e&&"clientY"in e&&yt(e.clientX)&&yt(e.clientY)}class fL{constructor(t){var n;this.rageclicks=new jm,this.qi=!1,this.i=!1,this.Vi=null,this.instance=t,this.qi=!((n=this.instance.persistence)==null||!n.props[ru])}get flushIntervalMilliseconds(){var t=5e3;return ze(this.instance.config.capture_heatmaps)&&this.instance.config.capture_heatmaps.flush_interval_milliseconds&&(t=this.instance.config.capture_heatmaps.flush_interval_milliseconds),t}get isEnabled(){return Q(this.instance.config.capture_heatmaps)?Q(this.instance.config.enable_heatmaps)?this.qi:this.instance.config.enable_heatmaps:this.instance.config.capture_heatmaps!==!1}startIfEnabled(){if(this.isEnabled){if(this.i)return;uL.info("starting..."),this.Ki(),this.Vi=setInterval(this.Yi.bind(this),this.flushIntervalMilliseconds)}else{var t,n;clearInterval((t=this.Vi)!==null&&t!==void 0?t:void 0),(n=this.Xi)==null||n.stop(),this.getAndClearBuffer()}}onRemoteConfig(t){var n=!!t.heatmaps;this.instance.persistence&&this.instance.persistence.register({[ru]:n}),this.qi=n,this.startIfEnabled()}getAndClearBuffer(){var t=this.M;return this.M=void 0,t}Qi(t){this.Zi(t.originalEvent,"deadclick")}Ki(){P&&te&&(Ve(P,"beforeunload",this.Yi.bind(this)),Ve(te,"click",t=>this.Zi(t||(P==null?void 0:P.event)),{capture:!0}),Ve(te,"mousemove",t=>this.te(t||(P==null?void 0:P.event)),{capture:!0}),this.Xi=new Bm(this.instance,g1,this.Qi.bind(this)),this.Xi.startIfEnabled(),this.i=!0)}ie(t,n){var r=this.instance.scrollManager.scrollY(),i=this.instance.scrollManager.scrollX(),s=this.instance.scrollManager.scrollElement(),o=function(a,l,u){for(var c=a;c&&bl(c)&&!Cr(c,"body");){if(c===u)return!1;if(pe(l,P==null?void 0:P.getComputedStyle(c).position))return!0;c=Mm(c)}return!1}(Om(t),["fixed","sticky"],s);return{x:t.clientX+(o?0:i),y:t.clientY+(o?0:r),target_fixed:o,type:n}}Zi(t,n){var r;if(n===void 0&&(n="click"),!hp(t.target)&&Fp(t)){var i=this.ie(t,n);(r=this.rageclicks)!=null&&r.isRageClick(t.clientX,t.clientY,new Date().getTime())&&this.ee(Z({},i,{type:"rageclick"})),this.ee(i)}}te(t){!hp(t.target)&&Fp(t)&&(clearTimeout(this.re),this.re=setTimeout(()=>{this.ee(this.ie(t,"mousemove"))},500))}ee(t){if(P){var n=P.location.href;this.M=this.M||{},this.M[n]||(this.M[n]=[]),this.M[n].push(t)}}Yi(){this.M&&!ki(this.M)&&this.instance.capture("$$heatmap",{$heatmap_data:this.getAndClearBuffer()})}}class dL{constructor(t){this._instance=t}doPageView(t,n){var r,i=this.se(t,n);return this.ne={pathname:(r=P==null?void 0:P.location.pathname)!==null&&r!==void 0?r:"",pageViewId:n,timestamp:t},this._instance.scrollManager.resetContext(),i}doPageLeave(t){var n;return this.se(t,(n=this.ne)==null?void 0:n.pageViewId)}doEvent(){var t;return{$pageview_id:(t=this.ne)==null?void 0:t.pageViewId}}se(t,n){var r=this.ne;if(!r)return{$pageview_id:n};var i={$pageview_id:n,$prev_pageview_id:r.pageViewId},s=this._instance.scrollManager.getContext();if(s&&!this._instance.config.disable_scroll_properties){var{maxScrollHeight:o,lastScrollY:a,maxScrollY:l,maxContentHeight:u,last
vendor: 5,982 bytes, line 24
24ContentY:c,maxContentY:f}=s;if(!(Q(o)||Q(a)||Q(l)||Q(u)||Q(c)||Q(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?1:Gt(a/o,0,1),h=o<=1?1:Gt(l/o,0,1),_=u<=1?1:Gt(c/u,0,1),p=u<=1?1:Gt(f/u,0,1);i=Je(i,{$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:_,$prev_pageview_max_content:f,$prev_pageview_max_content_percentage:p})}}return r.pathname&&(i.$prev_pageview_pathname=r.pathname),r.timestamp&&(i.$prev_pageview_duration=(t.getTime()-r.timestamp.getTime())/1e3),i}}class hL{constructor(t){this._instance=t}sendExceptionEvent(t){this._instance.capture("$exception",t,{_noTruncate:!0,_batchKey:"exceptionEvent"})}}var Qt="Mobile",Ra="iOS",Cn="Android",eo="Tablet",iy=Cn+" "+eo,sy="iPad",oy="Apple",ay=oy+" Watch",to="Safari",Ki="BlackBerry",ly="Samsung",cy=ly+"Browser",uy=ly+" Internet",ci="Chrome",pL=ci+" OS",fy=ci+" "+Ra,Nf="Internet Explorer",dy=Nf+" "+Qt,Hf="Opera",gL=Hf+" Mini",jf="Edge",hy="Microsoft "+jf,Oi="Firefox",py=Oi+" "+Ra,no="Nintendo",ro="PlayStation",Mi="Xbox",gy=Cn+" "+Qt,_y=Qt+" "+to,Es="Windows",Eu=Es+" Phone",Dp="Nokia",ku="Ouya",vy="Generic",_L=vy+" "+Qt.toLowerCase(),my=vy+" "+eo.toLowerCase(),Su="Konqueror",St="(\\d+(\\.\\d+)?)",hc=new RegExp("Version/"+St),vL=new RegExp(Mi,"i"),mL=new RegExp(ro+" \\w+","i"),yL=new RegExp(no+" \\w+","i"),Uf=new RegExp(Ki+"|PlayBook|BB10","i"),bL={"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"},wL=(e,t)=>t&&pe(t,oy)||function(n){return pe(n,to)&&!pe(n,ci)&&!pe(n,Cn)}(e),yy=function(e,t){return t=t||"",pe(e," OPR/")&&pe(e,"Mini")?gL:pe(e," OPR/")?Hf:Uf.test(e)?Ki:pe(e,"IE"+Qt)||pe(e,"WPDesktop")?dy:pe(e,cy)?uy:pe(e,jf)||pe(e,"Edg/")?hy:pe(e,"FBIOS")?"Facebook "+Qt:pe(e,"UCWEB")||pe(e,"UCBrowser")?"UC Browser":pe(e,"CriOS")?fy:pe(e,"CrMo")||pe(e,ci)?ci:pe(e,Cn)&&pe(e,to)?gy:pe(e,"FxiOS")?py:pe(e.toLowerCase(),Su.toLowerCase())?Su:wL(e,t)?pe(e,Qt)?_y:to:pe(e,Oi)?Oi:pe(e,"MSIE")||pe(e,"Trident/")?Nf:pe(e,"Gecko")?Oi:""},EL={[dy]:[new RegExp("rv:"+St)],[hy]:[new RegExp(jf+"?\\/"+St)],[ci]:[new RegExp("("+ci+"|CrMo)\\/"+St)],[fy]:[new RegExp("CriOS\\/"+St)],"UC Browser":[new RegExp("(UCBrowser|UCWEB)\\/"+St)],[to]:[hc],[_y]:[hc],[Hf]:[new RegExp("(Opera|OPR)\\/"+St)],[Oi]:[new RegExp(Oi+"\\/"+St)],[py]:[new RegExp("FxiOS\\/"+St)],[Su]:[new RegExp("Konqueror[:/]?"+St,"i")],[Ki]:[new RegExp(Ki+" "+St),hc],[gy]:[new RegExp("android\\s"+St,"i")],[uy]:[new RegExp(cy+"\\/"+St)],[Nf]:[new RegExp("(rv:|MSIE )"+St)],Mozilla:[new RegExp("rv:"+St)]},kL=function(e,t){var n=yy(e,t),r=EL[n];if(Q(r))return null;for(var i=0;i<r.length;i++){var s=r[i],o=e.match(s);if(o)return parseFloat(o[o.length-2])}return null},Np=[[new RegExp(Mi+"; "+Mi+" (.*?)[);]","i"),e=>[Mi,e&&e[1]||""]],[new RegExp(no,"i"),[no,""]],[new RegExp(ro,"i"),[ro,""]],[Uf,[Ki,""]],[new RegExp(Es,"i"),(e,t)=>{if(/Phone/.test(t)||/WPDesktop/.test(t))return[Eu,""];if(new RegExp(Qt).test(t)&&!/IEMobile\b/.test(t))return[Es+" "+Qt,""];var n=/Windows NT ([0-9.]+)/i.exec(t);if(n&&n[1]){var r=n[1],i=bL[r]||"";return/arm/i.test(t)&&(i="RT"),[Es,i]}return[Es,""]}],[/((iPhone|iPad|iPod).*?OS (\d+)_(\d+)_?(\d+)?|iPhone)/,e=>{if(e&&e[3]){var t=[e[3],e[4],e[5]||"0"];return[Ra,t.join(".")]}return[Ra,""]}],[/(watch.*\/(\d+\.\d+\.\d+)|watch os,(\d+\.\d+),)/i,e=>{var t="";return e&&e.length>=3&&(t=Q(e[2])?e[3]:e[2]),["watchOS",t]}],[new RegExp("("+Cn+" (\\d+)\\.(\\d+)\\.?(\\d+)?|"+Cn+")","i"),e=>{if(e&&e[2]){var t=[e[2],e[3],e[4]||"0"];return[Cn,t.join(".")]}return[Cn,""]}],[/Mac OS X (\d+)[_.](\d+)[_.]?(\d+)?/i,e=>{var t=["Mac OS X",""];if(e&&e[1]){var n=[e[1],e[2],e[3]||"0"];t[1]=n.join(".")}return t}],[/Mac/i,["Mac OS X",""]],[/CrOS/,[pL,""]],[/Linux|debian/i,["Linux",""]]],Hp=function(e){return yL.test(e)?no:mL.test(e)?ro:vL.test(e)?Mi:new RegExp(ku,"i").test(e)?ku:new RegExp("("+Eu+"|WPDesktop)","i").test(e)?Eu:/iPad/.test(e)?sy:/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(watch)(?: ?os[,/]|\d,\d\/)[\d.]+/i.test(e)?ay:Uf.test(e)?Ki:/(kobo)\s(ereader|touch)/i.test(e)?"Kobo":new RegExp(Dp,"i").test(e)?Dp:/(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(Qt).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)?Cn:iy:Cn:new RegExp("(pda|"+Qt+")","i").test(e)?_L:new RegExp(eo,"i").test(e)&&!new RegExp(eo+" pc","i").test(e)?my:""},No="https?://(.*)",El=["gclid","gclsrc","dclid","gbraid","wbraid","fbclid","msclkid","twclid","li_fat_id","igshid","ttclid","rdt_cid","epik","qclid","sccid","irclid","_kx"],SL=yl(["utm_source","utm_medium","utm_campaign","utm_content","utm_term","gad_source","mc_cid"],El),Bf="<masked>";function by(e,t,n){if(!te)return{};var r=t?yl([],El,n||[]):[];return wy(Rf(te.URL,r,Bf),e)}function wy(e,t){var n=SL.concat(t||[]),r={};return Me(n,function(i){var s=Ca(e,i);r[i]=s||null}),r}function Ey(e){var t=function(s){return s?s.search(No+"google.([^/?]*)")===0?"google":s.search(No+"bing.com")===0?"bing":s.search(No+"yahoo.com")===0?"yahoo":s.search(No+"duckduckgo.com")===0?"duckduckgo":null:null}(e),n=t!="yahoo"?"q":"p",r={};if(!Rr(t)){r.$search_engine=t;var i=te?Ca(te.referrer,n):"";i.length&&(r.ph_keyword=i)}return r}function jp(){return navigator.language||navigator.userLanguage}function ky(){return(te==null?void 0:te.referrer)||"$direct"}function Sy(e,t){var n=e?yl([],El,t||[]):[],r=Rt==null?void 0:Rt.href.substring(0,1e3);return{r:ky().substring(0,1e3),u:r?Rf(r,n,Bf):void 0}}function Cy(e){var t,{r:n,u:r}=e,i={$referrer:n,$referring_domain:n==null?void 0:n=="$direct"?"$direct":(t=qi(n))==null?void 0:t.host};
24if(r){i.$current_url=r;var s=qi(r);i.$host=s==null?void 0:s.host,i.$pathname=s==null?void 0:s.pathname;var o=wy(r);Je(i,o)}if(n){var a=Ey(n);Je(i,a)}return i}function xy(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{return}}function CL(){try{return new Date().getTimezoneOffset()}catch{return}}function xL(e,t){if(!Tt)return{};var n,r,i,s=e?yl([],El,t||[]):[],[o,a]=function(l){for(var u=0;u<Np.length;u++){var[c,f]=Np[u],d=c.exec(l),h=d&&(Xt(f)?f(d,l):f);if(h)return h}return["",""]}(Tt);return Je(Tf({$os:o,$os_version:a,$browser:yy(Tt,navigator.vendor),$device:Hp(Tt),$device_type:(r=Tt,i=Hp(r),i===sy||i===iy||i==="Kobo"||i==="Kindle Fire"||i===my?eo:i===no||i===Mi||i===ro||i===ku?"Console":i===ay?"Wearable":i?Qt:"Desktop"),$timezone:xy(),$timezone_offset:CL()}),{$current_url:Rf(Rt==null?void 0:Rt.href,s,Bf),$host:Rt==null?void 0:Rt.host,$pathname:Rt==null?void 0:Rt.pathname,$raw_user_agent:Tt.length>1e3?Tt.substring(0,997)+"...":Tt,$browser_version:kL(Tt,navigator.vendor),$browser_language:jp(),$browser_language_prefix:(n=jp(),typeof n=="string"?n.split("-")[0]:void 0),$screen_height:P==null?void 0:P.screen.height,$screen_width:P==null?void 0:P.screen.width,$viewport_height:P==null?void 0:P.innerHeight,$viewport_width:P==null?void 0:P.innerWidth,$lib:"web",$lib_version:Un.LIB_VERSION,$insert_id:Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10),$time:Date.now()/1e3})}var Cu,En=Et("[FeatureFlags]"),pc="$active_feature_flags",_i="$override_feature_flags",Up="$feature_flag_payloads",us="$override_feature_flag_payloads",Bp="$feature_flag_request_id",Vp=e=>{var t={};for(var[n,r]of Xo(e||{}))r&&(t[n]=r);return t},LL=e=>{var t=e.flags;return t?(e.featureFlags=Object.fromEntries(Object.keys(t).map(n=>{var r;return[n,(r=t[n].variant)!==null&&r!==void 0?r:t[n].enabled]})),e.featureFlagPayloads=Object.fromEntries(Object.keys(t).filter(n=>t[n].enabled).filter(n=>{var r;return(r=t[n].metadata)==null?void 0:r.payload}).map(n=>{var r;return[n,(r=t[n].metadata)==null?void 0:r.payload]}))):En.warn("Using an older version of the feature flags endpoint. Please upgrade your PostHog server to the latest version"),e};(function(e){e.FeatureFlags="feature_flags",e.Recordings="recordings"})(Cu||(Cu={}));class IL{constructor(t){this.oe=!1,this.ae=!1,this.le=!1,this.he=!1,this.ue=!1,this.de=!1,this.ve=!1,this._instance=t,this.featureFlagEventHandlers=[]}decide(){if(this._instance.config.__preview_remote_config)this.de=!0;else{var t=!this.ce&&(this._instance.config.advanced_disable_feature_flags||this._instance.config.advanced_disable_feature_flags_on_first_load);this.fe({disableFlags:t})}}get hasLoadedFlags(){return this.ae}getFlags(){return Object.keys(this.getFlagVariants())}getFlagsWithDetails(){var t=this._instance.get_property(au),n=this._instance.get_property(_i),r=this._instance.get_property(us);if(!r&&!n)return t||{};var i=Je({},t||{}),s=[...new Set([...Object.keys(r||{}),...Object.keys(n||{})])];for(var o of s){var a,l,u=i[o],c=n==null?void 0:n[o],f=Q(c)?(a=u==null?void 0:u.enabled)!==null&&a!==void 0&&a:!!c,d=Q(c)?u.variant:typeof c=="string"?c:void 0,h=r==null?void 0:r[o],_=Z({},u,{enabled:f,variant:f?d??(u==null?void 0:u.variant):void 0});f!==(u==null?void 0:u.enabled)&&(_.original_enabled=u==null?void 0:u.enabled),d!==(u==null?void 0:u.variant)&&(_.original_variant=u==null?void 0:u.variant),h&&(_.metadata=Z({},u==null?void 0:u.metadata,{payload:h,original_payload:u==null||(l=u.metadata)==null?void 0:l.payload})),i[o]=_}return this.oe||(En.warn(" Overriding feature flag details!",{flagDetails:t,overriddenPayloads:r,finalDetails:i}),this.oe=!0),i}getFlagVariants(){var t=this._instance.get_property(Si),n=this._instance.get_property(_i);if(!n)return t||{};for(var r=Je({},t),i=Object.keys(n),s=0;s<i.length;s++)r[i[s]]=n[i[s]];return this.oe||(En.warn(" Overriding feature flags!",{enabledFlags:t,overriddenFlags:n,finalFlags:r}),this.oe=!0),r}getFlagPayloads(){var t=this._instance.get_property(Up),n=this._instance.get_property(us);if(!n)return t||{};for(var r=Je({},t||{}),i=Object.keys(n),s=0;s<i.length;s++)r[i[s]]=n[i[s]];return this.oe||(En.warn(" Overriding feature flag payloads!",{flagPayloads:t,overriddenPayloads:n,finalPayloads:r}),this.oe=!0),r}reloadFeatureFlags(){this.he||this._instance.config.advanced_disable_feature_flags||this.ce||(this.ce=setTimeout(()=>{this.fe()},5))}pe(){clearTimeout(this.ce),this.ce=void 0}ensureFlagsLoaded(){this.ae||this.le||this.ce||this.reloadFeatureFlags()}setAnonymousDistinctId(t){this.$anon_distinct_id=t}setReloadingPaused(t){this.he=t}fe(t){var n;if(this.pe(),!this._instance.config.advanced_disable_decide)if(this.le)this.ue=!0;else{var r={token:this._instance.config.token,distinct_id:this._instance.get_distinct_id(),groups:this._instance.getGroups(),$anon_distinct_id:this.$anon_distinct_id,person_properties:Z({},((n=this._instance.persistence)==null?void 0:n.get_initial_props())||{},this._instance.get_property(bs)||{}),group_properties:this._instance.get_property(Kr)};(t!=null&&t.disableFlags||this._instance.config.advanced_disable_feature_flags)&&(r.disable_flags=!0);var i=this._instance.config.__preview_flags_v2&&this._instance.config.__preview_remote_config;i&&(r.timezone=xy()),this.le=!0,this._instance.ge({method:"POST",url:this._instance.requestRouter.endpointFor("api",i?"/flags/?v=2":"/decide/?v=4"),data:r,compression:this._instance.config.disable_compression?void 0:cn.Base64,timeout:this._instance.config.feature_flag_request_timeout_ms,callback:s=>{var o,a,l,u=!0;s.statusCode===200&&(this.ue||(this.$anon_distinct_id=void 0),u=!1),this.le=!1,this.de||(this.de=!0,this._instance._e((l=s.json)!==null&&l!==void 0?l:{})),r.disable_flags&&!this.ue||(this.ve=!u,s.json&&(o=s.json.quotaLimited)!=null&&o.includes(Cu.FeatureFlags)?En.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."):(this.receivedFeatureFlags((a=s.json)!==null&&a!==void 0?a:{},u),this.ue&&(this.ue=!1,this.fe())))}})}}getFeatureFlag(t,n){if(n===void 0&&(n={}),this.ae||this.getFlags()&&this.getFlags().length>0){var r=this.getFlagVariants()[t],i=""+r,s=this._instance.get_property(Bp)||void 0,o=this._instance.get_property(wa)||{};if((n.send_event||!("send_event"in n))&&(!(t in o)||!o[t].includes(i))){var a,l,u,c,f,d,h,_,p,b,v;Ke(o[t])?o[t].push(i):o[t]=[i],(a=this._instance.persistence)==null||a.register({[wa]:o});var y=this.getFeatureFlagDetails(t),g={$feature_flag:t,$feature_flag_response:r,$feature_flag_payload:this.getFeatureFlagPayload(t)||null,$feature_flag_request_id:s,$feature_flag_bootstrapped_response:((l=this._instance.config.bootstrap)==null||(u=l.featureFlags)==null?void 0:u[t])||null,$feature_flag_bootstrapped_payload:((c=this._instance.config.bootstrap)==null||(f=c.featureFlagPayloads)==null?void 0:f[t])||null,$used_bootstrap_value:!this.ve};Q(y==null||(d=y.metadata)==null?void 0:d.version)||(g.$feature_flag_version=y.metadata.version);var m,E=(h=y==null||(_=y.reason)==null?void 0:_.description)!==null&&h!==void 0?h:y==null||(p=y.reason)==null?void 0:p.code;E&&(g.$feature_flag_reason=E),y!=null&&(b=y.metadata)!=null&&b.id&&(g.$feature_flag_id=y.metadata.id),Q(y==null?void 0:y.original_variant)&&Q(y==null?void 0:y.original_enabled)||(g.$feature_flag_original_response=Q(y.original_variant)?y.original_enabled:y.original_variant),y!=null&&(v=y.metadata)!=null&&v.original_payload&&(g.$feature_flag_original_payload=y==null||(m=y.metadata)==null?void 0:m.original_payload),this._instance.capture("$feature_flag_called",g)}return r}En.warn('getFeatureFlag for key "'+t+`" failed. Feature flags didn't load in time.`)}getFeatureFlagDetails(t){return this.getFlagsWithDetails()[t]}getFeatureFlagPayload(t){return this.getFlagPayloads()[t]}getRemoteConfigPayload(t,n){var r=this._instance.config.token;this._instance.ge({method:"POST",url:this._instance.requestRouter.endpointFor("api","/decide/?v=4"),data:{distinct_id:this._instance.get_distinct_id(),token:r},compression:this._instance.config.disable_compression?void 0:cn.Base64,timeout:this._instance.config.feature_flag_request_timeout_ms,callback:i=>{var s,o=(s=i.json)==null?void 0:s.featureFlagPayloads;n((o==null?void 0:o[t])||void 0)}})}isFeatureEnabled(t,n){if(n===void 0&&(n={}),this.ae||this.getFlags()&&this.getFlags().length>0)return!!this.getFeatureFlag(t,n);En.warn('isFeatureEnabled for key "'+t+`" failed. Feature flags didn't load in time.`)}addFeatureFlagsHandler(t){this.featureFlagEventHandlers.push(t)}removeFeatureFlagsHandler(t){this.featureFlagEventHandlers=this.featureFlagEventHandlers.filter(n=>n!==t)}receivedFeatureFlags(t,n){if(this._instance.persistence){this.ae=!0;var r=this.getFlagVariants(),i=this.getFlagPayloads(),s=this.getFlagsWithDetails();(function(o,a,l,u,c){l===void 0&&(l={}),u===void 0&&(u={}),c===void 0&&(c={});var f=LL(o),d=f.flags,h=f.featureFlags,_=f.featureFlagPayloads;if(h){var p=o.requestId;if(Ke(h)){En.warn("v1 of the feature flags endpoint is deprecated. Please use the latest version.");var b={};if(h)for(var v=0;v<h.length;v++)b[h[v]]=!0;a&&a.register({[pc]:h,[Si]:b})}else{var y=h,g=_,m=d;o.errorsWhileComputingFlags&&(y=Z({},l,y),g=Z({},u,g),m=Z({},c,m)),a&&a.register(Z({[pc]:Object.keys(Vp(y)),[Si]:y||{},[Up]:g||{},[au]:m||{}},p?{[Bp]:p}:{}))}}})(t,this._instance.persistence,r,i,s),this.me(n)}}override(t,n){n===void 0&&(n=!1),En.warn("override is deprecated. Please use overrideFeatureFlags instead."),this.overrideFeatureFlags({flags:t,suppressWarning:n})}overrideFeatureFlags(t){if(!this._instance.__loaded||!this._instance.persistence)return En.uninitializedWarning("posthog.featureFlags.overrideFeatureFlags");if(t===!1)return this._instance.persistence.unregister(_i),this._instance.persistence.unregister(us),void this.me();if(t&&typeof t=="object"&&("flags"in t||"payloads"in t)){var n,r=t;if(this.oe=!!((n=r.suppressWarning)!==null&&n!==void 0&&n),"flags"in r){if(r.flags===!1)this._instance.persistence.unregister(_i);else if(r.flags)if(Ke(r.flags)){for(var i={},s=0;s<r.flags.length;s++)i[r.flags[s]]=!0;this._instance.persistence.register({[_i]:i})}else this._instance.persistence.register({[_i]:r.flags})}return"payloads"in r&&(r.payloads===!1?this._instance.persistence.unregister(us):r.payloads&&this._instance.persistence.register({[us]:r.payloads})),void this.me()}this.me()}onFeatureFlags(t){if(this.addFeatureFlagsHandler(t),this.ae){var{flags:n,flagVariants:r}=this.be();t(n,r)}return()=>this.removeFeatureFlagsHandler(t)}updateEarlyAccessFeatureEnrollment(t,n){var r,i=(this._instance.get_property(Jo)||[]).find(l=>l.flagKey===t),s={["$feature_enrollment/"+t]:n},o={$feature_flag:t,$feature_enrollment:n,$set:s};i&&(o.$early_access_feature_name=i.name),this._instance.capture("$feature_enrollment_update",o),this.setPersonPropertiesForFlags(s,!1);var a=Z({},this.getFlagVariants(),{[t]:n});(r=this._instance.persistence)==null||r.register({[pc]:Object.keys(Vp(a)),[Si]:a}),this.me()}getEarlyAccessFeatures(t,n,r){n===void 0&&(n=!1);var i=this._instance.get_property(Jo),s=r?"&"+r.map(o=>"stage="+o).join("&"):"";if(i&&!n)return t(i);this._instance.ge({url:this._instance.requestRouter.endpointFor("api","/api/early_access_features/?token="+this._instance.config.token+s),method:"GET",callback:o=>{var a;if(o.json){var l=o.json.earlyAccessFeatures;return(a=this._instance.persistence)==null||a.register({[Jo]:l}),t(l)}}})}be(){var t=this.getFlags(),n=this.getFlagVariants();return{flags:t.filter(r=>n[r]),flagVariants:Object.keys(n).filter(r=>n[r]).reduce((r,i)=>(r[i]=n[i],r),{})}}me(t){var{flags:n,flagVariants:r}=this.be();
vendor: 4,569 bytes, line 24
24this.featureFlagEventHandlers.forEach(i=>i(n,r,{errorsLoading:t}))}setPersonPropertiesForFlags(t,n){n===void 0&&(n=!0);var r=this._instance.get_property(bs)||{};this._instance.register({[bs]:Z({},r,t)}),n&&this._instance.reloadFeatureFlags()}resetPersonPropertiesForFlags(){this._instance.unregister(bs)}setGroupPropertiesForFlags(t,n){n===void 0&&(n=!0);var r=this._instance.get_property(Kr)||{};Object.keys(r).length!==0&&Object.keys(r).forEach(i=>{r[i]=Z({},r[i],t[i]),delete t[i]}),this._instance.register({[Kr]:Z({},r,t)}),n&&this._instance.reloadFeatureFlags()}resetGroupPropertiesForFlags(t){if(t){var n=this._instance.get_property(Kr)||{};this._instance.register({[Kr]:Z({},n,{[t]:{}})})}else this._instance.unregister(Kr)}}var TL=["cookie","localstorage","localstorage+cookie","sessionstorage","memory"];class gc{constructor(t){this.S=t,this.props={},this.we=!1,this.ye=(n=>{var r="";return n.token&&(r=n.token.replace(/\+/g,"PL").replace(/\//g,"SL").replace(/=/g,"EQ")),n.persistence_name?"ph_"+n.persistence_name:"ph_"+r+"_posthog"})(t),this.q=this.Se(t),this.load(),t.debug&&ne.info("Persistence loaded",t.persistence,Z({},this.props)),this.update_config(t,t),this.save()}Se(t){TL.indexOf(t.persistence.toLowerCase())===-1&&(ne.critical("Unknown persistence type "+t.persistence+"; falling back to localStorage+cookie"),t.persistence="localStorage+cookie");var n=t.persistence.toLowerCase();return n==="localstorage"&&rt.O()?rt:n==="localstorage+cookie"&&Po.O()?Po:n==="sessionstorage"&&ht.O()?ht:n==="memory"?h1:n==="cookie"?Xn:Po.O()?Po:Xn}properties(){var t={};return Me(this.props,function(n,r){if(r===Si&&ze(n))for(var i=Object.keys(n),s=0;s<i.length;s++)t["$feature/"+i[s]]=n[i[s]];else a=r,l=!1,(Rr(o=Kx)?l:Jh&&o.indexOf===Jh?o.indexOf(a)!=-1:(Me(o,function(u){if(l||(l=u===a))return ya}),l))||(t[r]=n);var o,a,l}),t}load(){if(!this.$e){var t=this.q.D(this.ye);t&&(this.props=Je({},t))}}save(){this.$e||this.q.j(this.ye,this.props,this.ke,this.xe,this.Ee,this.S.debug)}remove(){this.q.L(this.ye,!1),this.q.L(this.ye,!0)}clear(){this.remove(),this.props={}}register_once(t,n,r){if(ze(t)){Q(n)&&(n="None"),this.ke=Q(r)?this.Ie:r;var i=!1;if(Me(t,(s,o)=>{this.props.hasOwnProperty(o)&&this.props[o]!==n||(this.props[o]=s,i=!0)}),i)return this.save(),!0}return!1}register(t,n){if(ze(t)){this.ke=Q(n)?this.Ie:n;var r=!1;if(Me(t,(i,s)=>{t.hasOwnProperty(s)&&this.props[s]!==i&&(this.props[s]=i,r=!0)}),r)return this.save(),!0}return!1}unregister(t){t in this.props&&(delete this.props[t],this.save())}update_campaign_params(){if(!this.we){var t=by(this.S.custom_campaign_params,this.S.mask_personal_data_properties,this.S.custom_personal_data_properties);ki(Tf(t))||this.register(t),this.we=!0}}update_search_keyword(){var t;this.register((t=te==null?void 0:te.referrer)?Ey(t):{})}update_referrer_info(){var t;this.register_once({$referrer:ky(),$referring_domain:te!=null&&te.referrer&&((t=qi(te.referrer))==null?void 0:t.host)||"$direct"},void 0)}set_initial_person_info(){this.props[fu]||this.props[du]||this.register_once({[Ea]:Sy(this.S.mask_personal_data_properties,this.S.custom_personal_data_properties)},void 0)}get_initial_props(){var t={};Me([du,fu],o=>{var a=this.props[o];a&&Me(a,function(l,u){t["$initial_"+tu(u)]=l})});var n,r,i=this.props[Ea];if(i){var s=(n=Cy(i),r={},Me(n,function(o,a){r["$initial_"+tu(a)]=o}),r);Je(t,s)}return t}safe_merge(t){return Me(this.props,function(n,r){r in t||(t[r]=n)}),t}update_config(t,n){if(this.Ie=this.ke=t.cookie_expiration,this.set_disabled(t.disable_persistence),this.set_cross_subdomain(t.cross_subdomain_cookie),this.set_secure(t.secure_cookie),t.persistence!==n.persistence){var r=this.Se(t),i=this.props;this.clear(),this.q=r,this.props=i,this.save()}}set_disabled(t){this.$e=t,this.$e?this.remove():this.save()}set_cross_subdomain(t){t!==this.xe&&(this.xe=t,this.remove(),this.save())}set_secure(t){t!==this.Ee&&(this.Ee=t,this.remove(),this.save())}set_event_timer(t,n){var r=this.props[ms]||{};r[t]=n,this.props[ms]=r,this.save()}remove_event_timer(t){var n=(this.props[ms]||{})[t];return Q(n)||(delete this.props[ms][t],this.save()),n}get_property(t){return this.props[t]}set_property(t,n){this.props[t]=n,this.save()}}class Ly{constructor(){this.Pe={},this.Pe={}}on(t,n){return this.Pe[t]||(this.Pe[t]=[]),this.Pe[t].push(n),()=>{this.Pe[t]=this.Pe[t].filter(r=>r!==n)}}emit(t,n){for(var r of this.Pe[t]||[])r(n);for(var i of this.Pe["*"]||[])i(t,n)}}var Pa=function(e,t){if(!function(n){try{new RegExp(n)}catch{return!1}return!0}(t))return!1;try{return new RegExp(t).test(e)}catch{return!1}};
24class zr{constructor(t){this.Re=new Ly,this.Te=(n,r)=>this.Me(n,r)&&this.Ce(n,r)&&this.Oe(n,r),this.Me=(n,r)=>r==null||!r.event||(n==null?void 0:n.event)===(r==null?void 0:r.event),this._instance=t,this.Fe=new Set,this.Ae=new Set}init(){var t;if(!Q((t=this._instance)==null?void 0:t.De)){var n;(n=this._instance)==null||n.De((r,i)=>{this.on(r,i)})}}register(t){var n,r;if(!Q((n=this._instance)==null?void 0:n.De)&&(t.forEach(o=>{var a,l;(a=this.Ae)==null||a.add(o),(l=o.steps)==null||l.forEach(u=>{var c;(c=this.Fe)==null||c.add((u==null?void 0:u.event)||"")})}),(r=this._instance)!=null&&r.autocapture)){var i,s=new Set;t.forEach(o=>{var a;(a=o.steps)==null||a.forEach(l=>{l!=null&&l.selector&&s.add(l==null?void 0:l.selector)})}),(i=this._instance)==null||i.autocapture.setElementSelectors(s)}}on(t,n){var r;n!=null&&t.length!=0&&(this.Fe.has(t)||this.Fe.has(n==null?void 0:n.event))&&this.Ae&&((r=this.Ae)==null?void 0:r.size)>0&&this.Ae.forEach(i=>{this.je(n,i)&&this.Re.emit("actionCaptured",i.name)})}Le(t){this.onAction("actionCaptured",n=>t(n))}je(t,n){if((n==null?void 0:n.steps)==null)return!1;for(var r of n.steps)if(this.Te(t,r))return!0;return!1}onAction(t,n){return this.Re.on(t,n)}Ce(t,n){if(n!=null&&n.url){var r,i=t==null||(r=t.properties)==null?void 0:r.$current_url;if(!i||typeof i!="string"||!zr.Ne(i,n==null?void 0:n.url,(n==null?void 0:n.url_matching)||"contains"))return!1}return!0}static Ne(t,n,r){switch(r){case"regex":return!!P&&Pa(t,n);case"exact":return n===t;case"contains":var i=zr.ze(n).replace(/_/g,".").replace(/%/g,".*");return Pa(t,i);default:return!1}}static ze(t){return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}Oe(t,n){if((n!=null&&n.href||n!=null&&n.tag_name||n!=null&&n.text)&&!this.Ue(t).some(s=>!(n!=null&&n.href&&!zr.Ne(s.href||"",n==null?void 0:n.href,(n==null?void 0:n.href_matching)||"exact"))&&(n==null||!n.tag_name||s.tag_name===(n==null?void 0:n.tag_name))&&!(n!=null&&n.text&&!zr.Ne(s.text||"",n==null?void 0:n.text,(n==null?void 0:n.text_matching)||"exact")&&!zr.Ne(s.$el_text||"",n==null?void 0:n.text,(n==null?void 0:n.text_matching)||"exact"))))return!1;if(n!=null&&n.selector){var r,i=t==null||(r=t.properties)==null?void 0:r.$element_selectors;if(!i||!i.includes(n==null?void 0:n.selector))return!1}return!0}Ue(t){return(t==null?void 0:t.properties.$elements)==null?[]:t==null?void 0:t.properties.$elements}}var nt=Et("[Surveys]");class AL{constructor(t){this._instance=t,this.qe=new Map,this.Be=new Map}register(t){var n;Q((n=this._instance)==null?void 0:n.De)||(this.He(t),this.We(t))}We(t){var n=t.filter(r=>{var i,s,o,a;return((i=r.conditions)==null?void 0:i.actions)&&((s=r.conditions)==null||(o=s.actions)==null||(a=o.values)==null?void 0:a.length)>0});n.length!==0&&(this.Ge==null&&(this.Ge=new zr(this._instance),this.Ge.init(),this.Ge.Le(r=>{this.onAction(r)})),n.forEach(r=>{var i,s,o,a,l,u,c,f,d,h;r.conditions&&(i=r.conditions)!=null&&i.actions&&(s=r.conditions)!=null&&(o=s.actions)!=null&&o.values&&((a=r.conditions)==null||(l=a.actions)==null||(u=l.values)==null?void 0:u.length)>0&&((c=this.Ge)==null||c.register(r.conditions.actions.values),(f=r.conditions)==null||(d=f.actions)==null||(h=d.values)==null||h.forEach(_=>{if(_&&_.name){var p=this.Be.get(_.name);p&&p.push(r.id),this.Be.set(_.name,p||[r.id])}}))}))}He(t){var n;t.filter(r=>{var i,s,o,a;return((i=r.conditions)==null?void 0:i.events)&&((s=r.conditions)==null||(o=s.events)==null||(a=o.values)==null?void 0:a.length)>0}).length!==0&&((n=this._instance)==null||n.De((r,i)=>{this.onEvent(r,i)}),t.forEach(r=>{var i,s,o;(i=r.conditions)==null||(s=i.events)==null||(o=s.values)==null||o.forEach(a=>{if(a&&a.name){var l=this.qe.get(a.name);l&&l.push(r.id),this.qe.set(a.name,l||[r.id])}})}))}onEvent(t,n){var r,i,s=((r=this._instance)==null||(i=r.persistence)==null?void 0:i.props[Ro])||[];if(t==="survey shown"&&n&&s.length>0){var o;nt.info("survey event matched, removing survey from activated surveys",{event:t,eventPayload:n,existingActivatedSurveys:s});var a=n==null||(o=n.properties)==null?void 0:o.$survey_id;if(a){var l=s.indexOf(a);l>=0&&(s.splice(l,1),this.Je(s))}}else this.qe.has(t)&&(nt.info("survey event matched, updating activated surveys",{event:t,surveys:this.qe.get(t)}),this.Je(s.concat(this.qe.get(t)||[])))}onAction(t){var n,r,i=((n=this._instance)==null||(r=n.persistence)==null?void 0:r.props[Ro])||[];this.Be.has(t)&&this.Je(i.concat(this.Be.get(t)||[]))}Je(t){var n,r;(n=this._instance)==null||(r=n.persistence)==null||r.register({[Ro]:[...new Set(t)]})}getSurveys(){var t,n,r=(t=this._instance)==null||(n=t.persistence)==null?void 0:n.props[Ro];return r||[]}getEventToSurveys(){return this.qe}Ve(){return this.Ge}}class RL{constructor(t){this.Ke=null,this.Ye=!1,this.Xe=!1,this.Qe=[],this._instance=t,this._surveyEventReceiver=null}onRemoteConfig(t){var n=t.surveys;if(Ce(n))return nt.warn("Decide not loaded yet. Not loading surveys.");var r=Ke(n);this.Ze=r?n.length>0:n,nt.info("decide response received, hasSurveys: "+this.Ze),this.Ze&&this.loadIfEnabled()}reset(){localStorage.removeItem("lastSeenSurveyDate");for(var t=[],n=0;n<localStorage.length;n++){var r=localStorage.key(n);(r!=null&&r.startsWith("seenSurvey_")||r!=null&&r.startsWith("inProgressSurvey_"))&&t.push(r)}t.forEach(i=>
24localStorage.removeItem(i))}loadIfEnabled(){if(!this.Ke)if(this.Xe)nt.info("Already initializing surveys, skipping...");else if(this._instance.config.disable_surveys)nt.info("Disabled. Not loading surveys.");else if(this.Ze){var t=ce==null?void 0:ce.__PosthogExtensions__;if(t){this.Xe=!0;try{var n=t.generateSurveys;if(n)return void this.tr(n);var r=t.loadExternalDependency;if(!r)return void this.ir("PostHog loadExternalDependency extension not found.");r(this._instance,"surveys",i=>{i||!t.generateSurveys?this.ir("Could not load surveys script",i):this.tr(t.generateSurveys)})}catch(i){throw this.ir("Error initializing surveys",i),i}finally{this.Xe=!1}}else nt.error("PostHog Extensions not found.")}else nt.info("No surveys to load.")}tr(t){this.Ke=t(this._instance),this._surveyEventReceiver=new AL(this._instance),nt.info("Surveys loaded successfully"),this.er({isLoaded:!0})}ir(t,n){nt.error(t,n),this.er({isLoaded:!1,error:t})}onSurveysLoaded(t){return this.Qe.push(t),this.Ke&&this.er({isLoaded:!0}),()=>{this.Qe=this.Qe.filter(n=>n!==t)}}getSurveys(t,n){if(n===void 0&&(n=!1),this._instance.config.disable_surveys)return nt.info("Disabled. Not loading surveys."),t([]);var r=this._instance.get_property(lu);if(r&&!n)return t(r,{isLoaded:!0});if(this.Ye)return t([],{isLoaded:!1,error:"Surveys are already being loaded"});try{this.Ye=!0,this._instance.ge({url:this._instance.requestRouter.endpointFor("api","/api/surveys/?token="+this._instance.config.token),method:"GET",timeout:this._instance.config.surveys_request_timeout_ms,callback:i=>{var s;this.Ye=!1;var o=i.statusCode;if(o!==200||!i.json){var a="Surveys API could not be loaded, status: "+o;return nt.error(a),t([],{isLoaded:!1,error:a})}var l,u=i.json.surveys||[],c=u.filter(f=>function(d){return!(!d.start_date||d.end_date)}(f)&&(function(d){var h,_,p;return!((h=d.conditions)==null||(_=h.events)==null||(p=_.values)==null||!p.length)}(f)||function(d){var h,_,p;return!((h=d.conditions)==null||(_=h.actions)==null||(p=_.values)==null||!p.length)}(f)));return c.length>0&&((l=this._surveyEventReceiver)==null||l.register(c)),(s=this._instance.persistence)==null||s.register({[lu]:u}),t(u,{isLoaded:!0})}})}catch(i){throw this.Ye=!1,i}}er(t){for(var n of this.Qe)try{t.isLoaded?this.getSurveys(n):n([],t)}catch(r){nt.error("Error in survey callback",r)}}getActiveMatchingSurveys(t,n){if(n===void 0&&(n=!1),!Ce(this.Ke))return this.Ke.getActiveMatchingSurveys(t,n);nt.warn("init was not called")}rr(t){var n=null;return this.getSurveys(r=>{var i;n=(i=r.find(s=>s.id===t))!==null&&i!==void 0?i:null}),n}sr(t){if(Ce(this.Ke))return{eligible:!1,reason:"SDK is not enabled or survey functionality is not yet loaded"};var n=typeof t=="string"?this.rr(t):t;return n?this.Ke.checkSurveyEligibility(n):{eligible:!1,reason:"Survey not found"}}canRenderSurvey(t){if(Ce(this.Ke))return nt.warn("init was not called"),{visible:!1,disabledReason:"SDK is not enabled or survey functionality is not yet loaded"};var n=this.sr(t);return{visible:n.eligible,disabledReason:n.reason}}canRenderSurveyAsync(t,n){return Ce(this.Ke)?(nt.warn("init was not called"),Promise.resolve({visible:!1,disabledReason:"SDK is not enabled or survey functionality is not yet loaded"})):new Promise(r=>{this.getSurveys(i=>{var s,o=(s=i.find(l=>l.id===t))!==null&&s!==void 0?s:null;if(o){var a=this.sr(o);r({visible:a.eligible,disabledReason:a.reason})}else r({visible:!1,disabledReason:"Survey not found"})},n)})}renderSurvey(t,n){if(Ce(this.Ke))nt.warn("init was not called");else{var r=this.rr(t),i=te==null?void 0:te.querySelector(n);r?i?this.Ke.renderSurvey(r,i):nt.warn("Survey element not found"):nt.warn("Survey not found")}}}var qp=Et("[RateLimiter]");class PL{constructor(t){var n,r;this.serverLimits={},this.lastEventRateLimited=!1,this.checkForLimiting=i=>{var s=i.text;if(s&&s.length)try{(JSON.parse(s).quota_limited||[]).forEach(o=>{qp.info((o||"events")+" is quota limited."),this.serverLimits[o]=new Date().getTime()+6e4})}catch(o){return void qp.warn('could not rate limit - continuing. Error: "'+(o==null?void 0:o.message)+'"',{text:s})}},this.instance=t,this.captureEventsPerSecond=((n=t.config.rate_limiting)==null?void 0:n.events_per_second)||10,this.captureEventsBurstLimit=Math.max(((r=t.config.rate_limiting)==null?void 0:r.events_burst_limit)||10*this.captureEventsPerSecond,this.captureEventsPerSecond),this.lastEventRateLimited=this.clientRateLimitContext(!0).isRateLimited}clientRateLimitContext(t){var n,r,i;t===void 0&&(t=!1);var s=new Date().getTime(),o=(n=(r=this.instance.persistence)==null?void 0:r.get_property(uu))!==null&&n!==void 0?n:{tokens:this.captureEventsBurstLimit,last:s};o.tokens+=(s-o.last)/1e3*this.captureEventsPerSecond,o.last=s,o.tokens>this.captureEventsBurstLimit&&(o.tokens=this.captureEventsBurstLimit);var a=o.tokens<1;return a||t||(o.tokens=Math.max(0,o.tokens-1)),!a||this.lastEventRateLimited||t||this.instance.capture("$$client_ingestion_warning",{$$client_ingestion_warning_message:"posthog-js client rate limited. Config is set to "+this.captureEventsPerSecond+" events per second and "+this.captureEventsBurstLimit+" events burst limit."},{skip_client_rate_limiting:!0}),this.lastEventRateLimited=a,(i=this.instance.persistence)==null||i.set_property(uu,o),{isRateLimited:a,remainingTokens:o.tokens}}isServerRateLimited(t){var n=this.serverLimits[t||"events"]||!1;return n!==!1&&new Date().getTime()<n}}var Vr=Et("[RemoteConfig]");class OL{constructor(t){this._instance=t}get remoteConfig(){var t,n;
vendor: 9,019 bytes, lines 24-26
24return(t=ce._POSTHOG_REMOTE_CONFIG)==null||(n=t[this._instance.config.token])==null?void 0:n.config}nr(t){var n,r;(n=ce.__PosthogExtensions__)!=null&&n.loadExternalDependency?(r=ce.__PosthogExtensions__)==null||r.loadExternalDependency==null||r.loadExternalDependency(this._instance,"remote-config",()=>t(this.remoteConfig)):(Vr.error("PostHog Extensions not found. Cannot load remote config."),t())}ar(t){this._instance.ge({method:"GET",url:this._instance.requestRouter.endpointFor("assets","/array/"+this._instance.config.token+"/config"),callback:n=>{t(n.json)}})}load(){try{if(this.remoteConfig)return Vr.info("Using preloaded remote config",this.remoteConfig),void this._e(this.remoteConfig);if(this._instance.config.advanced_disable_decide)return void Vr.warn("Remote config is disabled. Falling back to local config.");this.nr(t=>{if(!t)return Vr.info("No config found after loading remote JS config. Falling back to JSON."),void this.ar(n=>{this._e(n)});this._e(t)})}catch(t){Vr.error("Error loading remote config",t)}}_e(t){t?this._instance.config.__preview_remote_config?(this._instance._e(t),t.hasFeatureFlags!==!1&&this._instance.featureFlags.ensureFlagsLoaded()):Vr.info("__preview_remote_config is disabled. Logging config instead",t):Vr.error("Failed to fetch remote config from PostHog.")}}var ML=function(e){var t,n,r,i,s="";for(t=n=0,r=(e=(e+"").replace(/\r\n/g,`
25`).replace(/\r/g,`
26`)).length,i=0;i<r;i++){var o=e.charCodeAt(i),a=null;o<128?n++:a=o>127&&o<2048?String.fromCharCode(o>>6|192,63&o|128):String.fromCharCode(o>>12|224,o>>6&63|128,63&o|128),Rr(a)||(n>t&&(s+=e.substring(t,n)),s+=a,t=n=i+1)}return n>t&&(s+=e.substring(t,e.length)),s},$L=!!eu||!!Zc,Wp="text/plain",Oa=(e,t)=>{var[n,r]=e.split("?"),i=Z({},t);r==null||r.split("&").forEach(o=>{var[a]=o.split("=");delete i[a]});var s=t1(i);return n+"?"+(s=s?(r?r+"&":"")+s:r)},ks=(e,t)=>JSON.stringify(e,(n,r)=>typeof r=="bigint"?r.toString():r,t),_c=e=>{var{data:t,compression:n}=e;if(t){if(n===cn.GZipJS){var r=Qm(Zm(ks(t)),{mtime:0}),i=new Blob([r],{type:Wp});return{contentType:Wp,body:i,estimatedSize:i.size}}if(n===cn.Base64){var s=function(l){var u,c,f,d,h,_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",p=0,b=0,v="",y=[];if(!l)return l;l=ML(l);do u=(h=l.charCodeAt(p++)<<16|l.charCodeAt(p++)<<8|l.charCodeAt(p++))>>18&63,c=h>>12&63,f=h>>6&63,d=63&h,y[b++]=_.charAt(u)+_.charAt(c)+_.charAt(f)+_.charAt(d);while(p<l.length);switch(v=y.join(""),l.length%3){case 1:v=v.slice(0,-2)+"==";break;case 2:v=v.slice(0,-1)+"="}return v}(ks(t)),o=(l=>"data="+encodeURIComponent(typeof l=="string"?l:ks(l)))(s);return{contentType:"application/x-www-form-urlencoded",body:o,estimatedSize:new Blob([o]).size}}var a=ks(t);return{contentType:"application/json",body:a,estimatedSize:new Blob([a]).size}}},Ms=[];Zc&&Ms.push({transport:"fetch",method:e=>{var t,n,{contentType:r,body:i,estimatedSize:s}=(t=_c(e))!==null&&t!==void 0?t:{},o=new Headers;Me(e.headers,function(c,f){o.append(f,c)}),r&&o.append("Content-Type",r);var a=e.url,l=null;if(Qh){var u=new Qh;l={signal:u.signal,timeout:setTimeout(()=>u.abort(),e.timeout)}}Zc(a,Z({method:(e==null?void 0:e.method)||"GET",headers:o,keepalive:e.method==="POST"&&(s||0)<52428.8,body:i,signal:(n=l)==null?void 0:n.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){ne.error(h)}e.callback==null||e.callback(d)})).catch(c=>{ne.error(c),e.callback==null||e.callback({statusCode:0,text:c})}).finally(()=>l?clearTimeout(l.timeout):null)}}),eu&&Ms.push({transport:"XHR",method:e=>{var t,n=new eu;n.open(e.method||"GET",e.url,!0);var{contentType:r,body:i}=(t=_c(e))!==null&&t!==void 0?t:{};Me(e.headers,function(s,o){n.setRequestHeader(o,s)}),r&&n.setRequestHeader("Content-Type",r),e.timeout&&(n.timeout=e.timeout),n.withCredentials=!0,n.onreadystatechange=()=>{if(n.readyState===4){var s={statusCode:n.status,text:n.responseText};if(n.status===200)try{s.json=JSON.parse(n.responseText)}catch{}e.callback==null||e.callback(s)}},n.send(i)}}),jt!=null&&jt.sendBeacon&&Ms.push({transport:"sendBeacon",method:e=>{var t=Oa(e.url,{beacon:"1"});try{var n,{contentType:r,body:i}=(n=_c(e))!==null&&n!==void 0?n:{},s=typeof i=="string"?new Blob([i],{type:r}):i;jt.sendBeacon(t,s)}catch{}}});var xu=3e3;class FL{constructor(t,n){this.lr=!0,this.hr=[],this.ur=Gt((n==null?void 0:n.flush_interval_ms)||xu,250,5e3,"flush interval",xu),this.dr=t}enqueue(t){this.hr.push(t),this.vr||this.cr()}unload(){this.pr();var t=this.hr.length>0?this.gr():{},n=Object.values(t);[...n.filter(r=>r.url.indexOf("/e")===0),...n.filter(r=>r.url.indexOf("/e")!==0)].map(r=>{this.dr(Z({},r,{transport:"sendBeacon"}))})}enable(){this.lr=!1,this.cr()}cr(){var t=this;this.lr||(this.vr=setTimeout(()=>{if(this.pr(),this.hr.length>0){var n=this.gr(),r=function(s){var o=n[s],a=new Date().getTime();o.data&&Ke(o.data)&&Me(o.data,l=>{l.offset=Math.abs(l.timestamp-a),delete l.timestamp}),t.dr(o)};for(var i in n)r(i)}},this.ur))}pr(){clearTimeout(this.vr),this.vr=void 0}gr(){var t={};return Me(this.hr,n=>{var r,i=n,s=(i?i.batchKey:null)||i.url;Q(t[s])&&(t[s]=Z({},i,{data:[]})),(r=t[s].data)==null||r.push(i.data)}),this.hr=[],t}}var DL=["retriesPerformedSoFar"];class NL{constructor(t){this._r=!1,this.mr=3e3,this.hr=[],this._instance=t,this.hr=[],this.br=!0,!Q(P)&&"onLine"in P.navigator&&(this.br=P.navigator.onLine,Ve(P,"online",()=>{this.br=!0,this.Yi()}),Ve(P,"offline",()=>{this.br=!1}))}get length(){return this.hr.length}retriableRequest(t){var{retriesPerformedSoFar:n}=t,r=Cm(t,DL);yt(n)&&n>0&&(r.url=Oa(r.url,{retry_count:n})),this._instance.ge(Z({},r,{callback:i=>{i.statusCode!==200&&(i.statusCode<400||i.statusCode>=500)&&(n??0)<10?this.wr(Z({retriesPerformedSoFar:n},r)):r.callback==null||r.callback(i)}}))}wr(t){var n=t.retriesPerformedSoFar||0;t.retriesPerformedSoFar=n+1;var r=function(o){var a=3e3*Math.pow(2,o),l=a/2,u=Math.min(18e5,a),c=(Math.random()-.5)*(u-l);return Math.ceil(u+c)}(n),i=Date.now()+r;this.hr.push({retryAt:i,requestOptions:t});var s="Enqueued failed request for retry in "+r;navigator.onLine||(s+=" (Browser is offline)"),ne.warn(s),this._r||(this._r=!0,this.yr())}yr(){this.Sr&&clearTimeout(this.Sr),this.Sr=setTimeout(()=>{this.br&&this.hr.length>0&&this.Yi(),this.yr()},this.mr)}Yi(){var t=Date.now(),n=[],r=this.hr.filter(s=>s.retryAt<t||(n.push(s),!1));if(this.hr=n,r.length>0)for(var{requestOptions:i}of r)this.retriableRequest(i)}unload(){for(var{requestOptions:t}of(this.Sr&&(clearTimeout(this.Sr),this.Sr=void 0),this.hr))try{this._instance.ge(Z({},t,{transport:"sendBeacon"}))}catch(n){ne.error(n)}this.hr=[]}}class HL{constructor(t){this.$r=()=>{var n,r,i,s;this.kr||(this.kr={});var o=this.scrollElement(),a=this.scrollY(),l=o?Math.max(0,o.scrollHeight-o.clientHeight):0,u=a+((o==null?void 0:o.clientHeight)||0),c=(o==null?void 0:o.scrollHeight)||0;this.kr.lastScrollY=Math.ceil(a),this.kr.maxScrollY=Math.max(a,(n=this.kr.maxScrollY)!==null&&n!==void 0?n: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,(i=this.kr.maxContentY)!==null&&i!==void 0?i:0),this.kr.maxContentHeight=Math.max(c,(s=this.kr.maxContentHeight)!==null&&s!==void 0?s:0)},this._instance=t}getContext(){return this.kr}resetContext(){var t=this.kr;return setTimeout(this.$r,0),t}startMeasuringScrollPosition(){Ve(P,"scroll",this.$r,{capture:!0}),Ve(P,"scrollend",this.$r,{capture:!0}),Ve(P,"resize",this.$r)}scrollElement(){if(!this._instance.config.scroll_root_selector)return P==null?void 0:P.document.documentElement;var t=Ke(this._instance.config.scroll_root_selector)?this._instance.config.scroll_root_selector:[this._instance.config.scroll_root_selector];for(var n of t){var r=P==null?void 0:P.document.querySelector(n);if(r)return r}}scrollY(){if(this._instance.config.scroll_root_selector){var t=this.scrollElement();return t&&t.scrollTop||0}return P&&(P.scrollY||P.pageYOffset||P.document.documentElement.scrollTop)||0}scrollX(){if(this._instance.config.scroll_root_selector){var t=this.scrollElement();return t&&t.scrollLeft||0}return P&&(P.scrollX||P.pageXOffset||P.document.documentElement.scrollLeft)||0}}var jL=e=>Sy(e==null?void 0:e.config.mask_personal_data_properties,e==null?void 0:e.config.custom_personal_data_properties);class UL{constructor(t,n,r,i){this.Er=s=>{var o=this.Ir();if(!o||o.sessionId!==s){var a={sessionId:s,props:this.Pr(this._instance)};this.Rr.register({[cu]:a})}},this._instance=t,this.Tr=n,this.Rr=r,this.Pr=i||jL,this.Tr.onSessionId(this.Er)}Ir(){return this.Rr.props[cu]}getSetOnceProps(){var t,n=(t=this.Ir())==null?void 0:t.props;return n?"r"in n?Cy(n):{$referring_domain:n.referringDomain,$pathname:n.initialPathName,utm_source:n.utm_source,utm_campaign:n.utm_campaign,utm_medium:n.utm_medium,utm_content:n.utm_content,utm_term:n.utm_term}:{}}getSessionProps(){var t={};return Me(Tf(this.getSetOnceProps()),(n,r)=>{r==="$current_url"&&(r="url"),t["$session_entry_"+tu(r)]=n}),t}}
26var Kp=Et("[SessionId]");class BL{constructor(t,n,r){var i;if(this.Mr=[],!t.persistence)throw new Error("SessionIdManager requires a PostHogPersistence instance");if(t.config.__preview_experimental_cookieless_mode)throw new Error("SessionIdManager cannot be used with __preview_experimental_cookieless_mode");this.S=t.config,this.Rr=t.persistence,this.oi=void 0,this.kt=void 0,this._sessionStartTimestamp=null,this._sessionActivityTimestamp=null,this.Cr=n||yr,this.Or=r||yr;var s=this.S.persistence_name||this.S.token,o=this.S.session_idle_timeout_seconds||1800;if(this._sessionTimeoutMs=1e3*Gt(o,60,36e3,"session_idle_timeout_seconds",1800),t.register({$configured_session_timeout_ms:this._sessionTimeoutMs}),this.Fr(),this.Ar="ph_"+s+"_window_id",this.Dr="ph_"+s+"_primary_window_exists",this.jr()){var a=ht.D(this.Ar),l=ht.D(this.Dr);a&&!l?this.oi=a:ht.L(this.Ar),ht.j(this.Dr,!0)}if((i=this.S.bootstrap)!=null&&i.sessionID)try{var u=(c=>{var f=c.replace(/-/g,"");if(f.length!==32)throw new Error("Not a valid UUID");if(f[12]!=="7")throw new Error("Not a UUIDv7");return parseInt(f.substring(0,12),16)})(this.S.bootstrap.sessionID);this.Lr(this.S.bootstrap.sessionID,new Date().getTime(),u)}catch(c){Kp.error("Invalid sessionID in bootstrap",c)}this.Nr()}get sessionTimeoutMs(){return this._sessionTimeoutMs}onSessionId(t){return Q(this.Mr)&&(this.Mr=[]),this.Mr.push(t),this.kt&&t(this.kt,this.oi),()=>{this.Mr=this.Mr.filter(n=>n!==t)}}jr(){return this.S.persistence!=="memory"&&!this.Rr.$e&&ht.O()}zr(t){t!==this.oi&&(this.oi=t,this.jr()&&ht.j(this.Ar,t))}Ur(){return this.oi?this.oi:this.jr()?ht.D(this.Ar):null}Lr(t,n,r){t===this.kt&&n===this._sessionActivityTimestamp&&r===this._sessionStartTimestamp||(this._sessionStartTimestamp=r,this._sessionActivityTimestamp=n,this.kt=t,this.Rr.register({[ba]:[n,t,r]}))}qr(){if(this.kt&&this._sessionActivityTimestamp&&this._sessionStartTimestamp)return[this._sessionActivityTimestamp,this.kt,this._sessionStartTimestamp];var t=this.Rr.props[ba];return Ke(t)&&t.length===2&&t.push(t[0]),t||[0,null,0]}resetSessionId(){this.Lr(null,null,null)}Nr(){Ve(P,"beforeunload",()=>{this.jr()&&ht.L(this.Dr)},{capture:!1})}checkAndGetSessionAndWindowId(t,n){if(t===void 0&&(t=!1),n===void 0&&(n=null),this.S.__preview_experimental_cookieless_mode)throw new Error("checkAndGetSessionAndWindowId should not be called in __preview_experimental_cookieless_mode");var r=n||new Date().getTime(),[i,s,o]=this.qr(),a=this.Ur(),l=yt(o)&&o>0&&Math.abs(r-o)>864e5,u=!1,c=!s,f=!t&&Math.abs(r-i)>this.sessionTimeoutMs;c||f||l?(s=this.Cr(),a=this.Or(),Kp.info("new session ID generated",{sessionId:s,windowId:a,changeReason:{noSessionId:c,activityTimeout:f,sessionPastMaximumLength:l}}),o=r,u=!0):a||(a=this.Or(),u=!0);var d=i===0||!t||l?r:i,h=o===0?new Date().getTime():o;return this.zr(a),this.Lr(s,d,h),t||this.Fr(),u&&this.Mr.forEach(_=>_(s,a,u?{noSessionId:c,activityTimeout:f,sessionPastMaximumLength:l}:void 0)),{sessionId:s,windowId:a,sessionStartTimestamp:h,changeReason:u?{noSessionId:c,activityTimeout:f,sessionPastMaximumLength:l}:void 0,lastActivityTimestamp:i}}Fr(){clearTimeout(this.Br),this.Br=setTimeout(()=>{this.resetSessionId()},1.1*this.sessionTimeoutMs)}}var VL=["$set_once","$set"],or=Et("[SiteApps]");class qL{constructor(t){this._instance=t,this.Hr=[],this.apps={}}get isEnabled(){return!!this._instance.config.opt_in_site_apps}Wr(t,n){if(n){var r=this.globalsForEvent(n);this.Hr.push(r),this.Hr.length>1e3&&(this.Hr=this.Hr.slice(10))}}get siteAppLoaders(){var t,n;return(t=ce._POSTHOG_REMOTE_CONFIG)==null||(n=t[this._instance.config.token])==null?void 0:n.siteApps}init(){if(this.isEnabled){var t=this._instance.De(this.Wr.bind(this));this.Gr=()=>{t(),this.Hr=[],this.Gr=void 0}}}globalsForEvent(t){var n,r,i,s,o,a,l;if(!t)throw new Error("Event payload is required");var u={},c=this._instance.get_property("$groups")||[],f=this._instance.get_property("$stored_group_properties")||{};for(var[d,h]of Object.entries(f))u[d]={id:c[d],type:d,properties:h};var{$set_once:_,$set:p}=t;return{event:Z({},Cm(t,VL),{properties:Z({},t.properties,p?{$set:Z({},(n=(r=t.properties)==null?void 0:r.$set)!==null&&n!==void 0?n:{},p)}:{},_?{$set_once:Z({},(i=(s=t.properties)==null?void 0:s.$set_once)!==null&&i!==void 0?i:{},_)}:{}),elements_chain:(o=(a=t.properties)==null?void 0:a.$elements_chain)!==null&&o!==void 0?o:"",distinct_id:(l=t.properties)==null?void 0:l.distinct_id}),person:{properties:this._instance.get_property("$stored_person_properties")},groups:u}}setupSiteApp(t){var n=this.apps[t.id],r=()=>{var a;!n.errored&&this.Hr.length&&(or.info("Processing "+this.Hr.length+" events for site app with id "+t.id),this.Hr.forEach(l=>n.processEvent==null?void 0:n.processEvent(l)),n.processedBuffer=!0),Object.values(this.apps).every(l=>l.processedBuffer||l.errored)&&((a=this.Gr)==null||a.call(this))},i=!1,s=a=>{n.errored=!a,n.loaded=!0,or.info("Site app with id "+t.id+" "+(a?"loaded":"errored")),i&&r()};try{var{processEvent:o}=t.init({posthog:this._instance,callback:a=>{s(a)}});o&&(n.processEvent=o),i=!0}catch(a){or.error("Error while initializing PostHog app with config id "+t.id,a),s(!1)}if(i&&n.loaded)try{r()}catch(a){or.error("Error while processing buffered events PostHog app with config id "+t.id,a),n.errored=!0}}Jr(){var t=this.siteAppLoaders||[];for(var n of t)this.apps[n.id]={id:n.id,loaded:!1,errored:!1,processedBuffer:!1};for(var r of t)this.setupSiteApp(r)}Vr(t){if(Object.keys(this.apps).length!==0){var n=this.globalsForEvent(t);for(var r of Object.values(this.apps))try{r.processEvent==null||r.processEvent(n)}catch(i){or.error("Error while processing event "+t.event+" for site app "+r.id,i)}}}onRemoteConfig(t){var n,r,i,s=this;if((n=this.siteAppLoaders)!=null&&n.length)return this.isEnabled?(this.Jr(),void this._instance.on("eventCaptured",u=>this.Vr(u))):void or.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.');if((r=this.Gr)==null||r.call(this),(i=t.siteApps)!=null&&i.length)if(this.isEnabled){var o=function(u,c){var f;ce["__$$ph_site_app_"+u]=s._instance,(f=ce.__PosthogExtensions__)==null||f.loadSiteApp==null||f.loadSiteApp(s._instance,c,d=>{if(d)return or.error("Error while initializing PostHog app with config id "+u,d)})};for(var{id:a,url:l}of t.siteApps)o(a,l)}else or.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.')}}var Xr,WL=["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","hub
26spot","ia_archiver","linkedinbot","meta-externalagent","mj12bot","msnbot","nessus","petalbot","pinterest","prerender","rogerbot","screaming frog","sebot-wa","sitebulb","slackbot","slurp","trendictionbot","turnitin","twitterbot","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","googleweblight","mediapartners-google","storebot-google","bytespider"],zp=function(e,t){if(!e)return!1;var n=e.toLowerCase();return WL.concat(t||[]).some(r=>{var i=r.toLowerCase();return n.indexOf(i)!==-1})},Iy=function(e,t){if(!e)return!1;var n=e.userAgent;if(n&&zp(n,t))return!0;try{var r=e==null?void 0:e.userAgentData;if(r!=null&&r.brands&&r.brands.some(i=>zp(i==null?void 0:i.brand,t)))return!0}catch{}return!!e.webdriver};function Gp(e,t,n){return ks({distinct_id:e,userPropertiesToSet:t,userPropertiesToSetOnce:n})}(function(e){e.US="us",e.EU="eu",e.CUSTOM="custom"})(Xr||(Xr={}));var Yp="i.posthog.com";class KL{constructor(t){this.Kr={},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 uiHost(){var t,n=(t=this.instance.config.ui_host)==null?void 0:t.replace(/\/$/,"");return n||(n=this.apiHost.replace("."+Yp,".posthog.com")),n==="https://app.posthog.com"?"https://us.posthog.com":n}get region(){return this.Kr[this.apiHost]||(/https:\/\/(app|us|us-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?this.Kr[this.apiHost]=Xr.US:/https:\/\/(eu|eu-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?this.Kr[this.apiHost]=Xr.EU:this.Kr[this.apiHost]=Xr.CUSTOM),this.Kr[this.apiHost]}endpointFor(t,n){if(n===void 0&&(n=""),n&&(n=n[0]==="/"?n:"/"+n),t==="ui")return this.uiHost+n;if(this.region===Xr.CUSTOM)return this.apiHost+n;var r=Yp+n;switch(t){case"assets":return"https://"+this.region+"-assets."+r;case"api":return"https://"+this.region+"."+r}}}var zL={icontains:(e,t)=>!!P&&t.href.toLowerCase().indexOf(e.toLowerCase())>-1,not_icontains:(e,t)=>!!P&&t.href.toLowerCase().indexOf(e.toLowerCase())===-1,regex:(e,t)=>!!P&&Pa(t.href,e),not_regex:(e,t)=>!!P&&!Pa(t.href,e),exact:(e,t)=>t.href===e,is_not:(e,t)=>t.href!==e};class _t{constructor(t){var n=this;this.getWebExperimentsAndEvaluateDisplayLogic=function(r){r===void 0&&(r=!1),n.getWebExperiments(i=>{_t.Yr("retrieved web experiments from the server"),n.Xr=new Map,i.forEach(s=>{if(s.feature_flag_key){var o;n.Xr&&(_t.Yr("setting flag key ",s.feature_flag_key," to web experiment ",s),(o=n.Xr)==null||o.set(s.feature_flag_key,s));var a=n._instance.getFeatureFlag(s.feature_flag_key);Ze(a)&&s.variants[a]&&n.Qr(s.name,a,s.variants[a].transforms)}else if(s.variants)for(var l in s.variants){var u=s.variants[l];_t.Zr(u)&&n.Qr(s.name,l,u.transforms)}})},r)},this._instance=t,this._instance.onFeatureFlags(r=>{this.onFeatureFlags(r)})}onFeatureFlags(t){if(this._is_bot())_t.Yr("Refusing to render web experiment since the viewer is a likely bot");else if(!this._instance.config.disable_web_experiments){if(Ce(this.Xr))return this.Xr=new Map,this.loadIfEnabled(),void this.previewWebExperiment();_t.Yr("applying feature flags",t),t.forEach(n=>{var r;if(this.Xr&&(r=this.Xr)!=null&&r.has(n)){var i,s=this._instance.getFeatureFlag(n),o=(i=this.Xr)==null?void 0:i.get(n);s&&o!=null&&o.variants[s]&&this.Qr(o.name,s,o.variants[s].transforms)}})}}previewWebExperiment(){var t=_t.getWindowLocation();if(t!=null&&t.search){var n=Ca(t==null?void 0:t.search,"__experiment_id"),r=Ca(t==null?void 0:t.search,"__experiment_variant");n&&r&&(_t.Yr("previewing web experiments "+n+" && "+r),this.getWebExperiments(i=>{this.ts(parseInt(n),r,i)},!1,!0))}}loadIfEnabled(){this._instance.config.disable_web_experiments||this.getWebExperimentsAndEvaluateDisplayLogic()}getWebExperiments(t,n,r){if(this._instance.config.disable_web_experiments&&!r)return t([]);var i=this._instance.get_property("$web_experiments");if(i&&!n)return t(i);this._instance.ge({url:this._instance.requestRouter.endpointFor("api","/api/web_experiments/?token="+this._instance.config.token),method:"GET",callback:s=>{if(s.statusCode!==200||!s.json)return t([]);var o=s.json.experiments||[];return t(o)}})}ts(t,n,r){var i=r.filter(s=>s.id===t);i&&i.length>0&&(_t.Yr("Previewing web experiment ["+i[0].name+"] with variant ["+n+"]"),this.Qr(i[0].name,n,i[0].variants[n].transforms))}static Zr(t){return!Ce(t.conditions)&&_t.es(t)&&_t.rs(t)}static es(t){var n;if(Ce(t.conditions)||Ce((n=t.conditions)==null?void 0:n.url))return!0;var r,i,s,o=_t.getWindowLocation();return!!o&&((r=t.conditions)==null||!r.url||zL[(i=(s=t.conditions)==null?void 0:s.urlMatchType)!==null&&i!==void 0?i:"icontains"](t.conditions.url,o))}
26static getWindowLocation(){return P==null?void 0:P.location}static rs(t){var n;if(Ce(t.conditions)||Ce((n=t.conditions)==null?void 0:n.utm))return!0;var r=by();if(r.utm_source){var i,s,o,a,l,u,c,f,d,h,_,p,b,v,y,g,m=(i=t.conditions)==null||(s=i.utm)==null||!s.utm_campaign||((o=t.conditions)==null||(a=o.utm)==null?void 0:a.utm_campaign)==r.utm_campaign,E=(l=t.conditions)==null||(u=l.utm)==null||!u.utm_source||((c=t.conditions)==null||(f=c.utm)==null?void 0:f.utm_source)==r.utm_source,x=(d=t.conditions)==null||(h=d.utm)==null||!h.utm_medium||((_=t.conditions)==null||(p=_.utm)==null?void 0:p.utm_medium)==r.utm_medium,L=(b=t.conditions)==null||(v=b.utm)==null||!v.utm_term||((y=t.conditions)==null||(g=y.utm)==null?void 0:g.utm_term)==r.utm_term;return m&&x&&L&&E}return!1}static Yr(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];ne.info("[WebExperiments] "+t,r)}Qr(t,n,r){this._is_bot()?_t.Yr("Refusing to render web experiment since the viewer is a likely bot"):n!=="control"?r.forEach(i=>{if(i.selector){var s;_t.Yr("applying transform of variant "+n+" for experiment "+t+" ",i);var o=(s=document)==null?void 0:s.querySelectorAll(i.selector);o==null||o.forEach(a=>{var l=a;i.html&&(l.innerHTML=i.html),i.css&&l.setAttribute("style",i.css)})}}):_t.Yr("Control variants leave the page unmodified.")}_is_bot(){return jt&&this._instance?Iy(jt,this._instance.config.custom_blocked_useragents):void 0}}var $s={},Lu=()=>{},yi="posthog",Ty=!$L&&(Tt==null?void 0:Tt.indexOf("MSIE"))===-1&&(Tt==null?void 0:Tt.indexOf("Mozilla"))===-1,Xp=()=>{var e;return{api_host:"https://us.i.posthog.com",ui_host:null,token:"",autocapture:!0,rageclick:!0,cross_subdomain_cookie:Wx(te==null?void 0:te.location),persistence:"localStorage+cookie",persistence_name:"",loaded:Lu,save_campaign_params:!0,custom_campaign_params:[],custom_blocked_useragents:[],save_referrer:!0,capture_pageview:!0,capture_pageleave:"if_capture_pageview",debug:Rt&&Ze(Rt==null?void 0:Rt.search)&&Rt.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_external_dependency_loading:!1,enable_recording_console_log:void 0,secure_cookie:(P==null||(e=P.location)==null?void 0:e.protocol)==="https:",ip:!0,opt_out_capturing_by_default:!1,opt_out_persistence_by_default:!1,opt_out_useragent_filter:!1,opt_out_capturing_persistence_type:"localStorage",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,session_recording:{},mask_all_element_attributes:!1,mask_all_text:!1,mask_personal_data_properties:!1,custom_personal_data_properties:[],advanced_disable_decide:!1,advanced_disable_feature_flags:!1,advanced_disable_feature_flags_on_first_load:!1,advanced_disable_toolbar_metrics:!1,feature_flag_request_timeout_ms:3e3,surveys_request_timeout_ms:1e4,on_request_error:t=>{var n="Bad HTTP status: "+t.statusCode+" "+t.text;ne.error(n)},get_device_id:t=>t,capture_performance:void 0,name:"posthog",bootstrap:{},disable_compression:!1,session_idle_timeout_seconds:1800,person_profiles:"identified_only",before_send:void 0,request_queue_config:{flush_interval_ms:xu},_onCapture:Lu}},Jp=e=>{var t={};Q(e.process_person)||(t.person_profiles=e.process_person),Q(e.xhr_headers)||(t.request_headers=e.xhr_headers),Q(e.cookie_name)||(t.persistence_name=e.cookie_name),Q(e.disable_cookie)||(t.disable_persistence=e.disable_cookie),Q(e.store_google)||(t.save_campaign_params=e.store_google),Q(e.verbose)||(t.debug=e.verbose);var n=Je({},t,e);return Ke(e.property_blacklist)&&(Q(e.property_denylist)?n.property_denylist=e.property_blacklist:Ke(e.property_denylist)?n.property_denylist=[...e.property_blacklist,...e.property_denylist]:ne.error("Invalid value for property_denylist config: "+e.property_denylist)),n};class GL{constructor(){this.__forceAllowLocalhost=!1}get ss(){return this.__forceAllowLocalhost}set ss(t){ne.error("WebPerformanceObserver is deprecated and has no impact on network capture. Use `_forceAllowLocalhostNetworkCapture` on `posthog.sessionRecording`"),this.__forceAllowLocalhost=t}}class kl{get decideEndpointWasHit(){var t,n;return(t=(n=this.featureFlags)==null?void 0:n.hasLoadedFlags)!==null&&t!==void 0&&t}constructor(){this.webPerformance=new GL,this.ns=!1,this.version=Un.LIB_VERSION,this.os=new Ly,this._calculate_event_properties=this.calculateEventProperties.bind(this),this.config=Xp(),this.SentryIntegration=iL,this.sentryIntegration=t=>function(n,r){var i=ry(n,r);return{name:ny,processEvent:s=>i(s)}}(this,t),this.__request_queue=[],this.__loaded=!1,this.analyticsDefaultEndpoint="/e/",this.ls=!1,this.hs=null,this.us=null,this.ds=null,this.featureFlags=new IL(this),this.toolbar=ne
26w oL(this),this.scrollManager=new HL(this),this.pageViewManager=new dL(this),this.surveys=new RL(this),this.experiments=new _t(this),this.exceptions=new hL(this),this.rateLimiter=new PL(this),this.requestRouter=new KL(this),this.consent=new p1(this),this.people={set:(t,n,r)=>{var i=Ze(t)?{[t]:n}:t;this.setPersonProperties(i),r==null||r({})},set_once:(t,n,r)=>{var i=Ze(t)?{[t]:n}:t;this.setPersonProperties(void 0,i),r==null||r({})}},this.on("eventCaptured",t=>ne.info('send "'+(t==null?void 0:t.event)+'"',t))}init(t,n,r){if(r&&r!==yi){var i,s=(i=$s[r])!==null&&i!==void 0?i:new kl;return s._init(t,n,r),$s[r]=s,$s[yi][r]=s,s}return this._init(t,n,r)}_init(t,n,r){var i,s;if(n===void 0&&(n={}),Q(t)||nu(t))return ne.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 ne.warn("You have already initialized PostHog! Re-initializing is a no-op"),this;this.__loaded=!0,this.config={},this.vs=[],n.person_profiles&&(this.us=n.person_profiles),this.set_config(Je({},Xp(),Jp(n),{name:r,token:t})),this.config.on_xhr_error&&ne.error("on_xhr_error is deprecated. Use on_request_error instead"),this.compression=n.disable_compression?void 0:cn.GZipJS,this.persistence=new gc(this.config),this.sessionPersistence=this.config.persistence==="sessionStorage"||this.config.persistence==="memory"?this.persistence:new gc(Z({},this.config,{persistence:"sessionStorage"}));var o=Z({},this.persistence.props),a=Z({},this.sessionPersistence.props);if(this.cs=new FL(v=>this.fs(v),this.config.request_queue_config),this.ps=new NL(this),this.__request_queue=[],this.config.__preview_experimental_cookieless_mode||(this.sessionManager=new BL(this),this.sessionPropsManager=new UL(this,this.sessionManager,this.persistence)),new lL(this).startIfEnabledOrStop(),this.siteApps=new qL(this),(i=this.siteApps)==null||i.init(),this.config.__preview_experimental_cookieless_mode||(this.sessionRecording=new nL(this),this.sessionRecording.startIfEnabledOrStop()),this.config.disable_scroll_properties||this.scrollManager.startMeasuringScrollPosition(),this.autocapture=new s1(this),this.autocapture.startIfEnabled(),this.surveys.loadIfEnabled(),this.heatmaps=new fL(this),this.heatmaps.startIfEnabled(),this.webVitalsAutocapture=new cL(this),this.exceptionObserver=new v1(this),this.exceptionObserver.startIfEnabled(),this.deadClicksAutocapture=new Bm(this,_1),this.deadClicksAutocapture.startIfEnabled(),this.historyAutocapture=new R1(this),this.historyAutocapture.startIfEnabled(),Un.DEBUG=Un.DEBUG||this.config.debug,Un.DEBUG&&ne.info("Starting in debug mode",{this:this,config:n,thisC:Z({},this.config),p:o,s:a}),this.gs(),((s=n.bootstrap)==null?void 0:s.distinctID)!==void 0){var l,u,c=this.config.get_device_id(yr()),f=(l=n.bootstrap)!=null&&l.isIdentifiedID?c:n.bootstrap.distinctID;this.persistence.set_property(Nn,(u=n.bootstrap)!=null&&u.isIdentifiedID?"identified":"anonymous"),this.register({distinct_id:n.bootstrap.distinctID,$device_id:f})}if(this._s()){var d,h,_=Object.keys(((d=n.bootstrap)==null?void 0:d.featureFlags)||{}).filter(v=>{var y,g;return!((y=n.bootstrap)==null||(g=y.featureFlags)==null||!g[v])}).reduce((v,y)=>{var g,m;return v[y]=((g=n.bootstrap)==null||(m=g.featureFlags)==null?void 0:m[y])||!1,v},{}),p=Object.keys(((h=n.bootstrap)==null?void 0:h.featureFlagPayloads)||{}).filter(v=>_[v]).reduce((v,y)=>{var g,m,E,x;return(g=n.bootstrap)!=null&&(m=g.featureFlagPayloads)!=null&&m[y]&&(v[y]=(E=n.bootstrap)==null||(x=E.featureFlagPayloads)==null?void 0:x[y]),v},{});this.featureFlags.receivedFeatureFlags({featureFlags:_,featureFlagPayloads:p})}if(this.config.__preview_experimental_cookieless_mode)this.register_once({distinct_id:dp,$device_id:null},"");else if(!this.get_distinct_id()){var b=this.config.get_device_id(yr());this.register_once({distinct_id:b,$device_id:b},""),this.persistence.set_property(Nn,"anonymous")}return Ve(P,"onpagehide"in self?"pagehide":"unload",this._handle_unload.bind(this),{passive:!1}),this.toolbar.maybeLoadToolbar(),n.segment?rL(this,()=>this.bs()):this.bs(),Xt(this.config._onCapture)&&this.config._onCapture!==Lu&&(ne.warn("onCapture is deprecated. Please use `before_send` instead"),this.on("eventCaptured",v=>this.config._onCapture(v.event,v))),this}_e(t){var n,r,i,s,o,a,l,u;if(!te||!te.body)return ne.info("document not ready yet, trying again in 500 milliseconds..."),void setTimeout(()=>{this._e(t)},500);this.compression=void 0,t.supportedCompression&&!this.config.disable_compression&&(this.compression=pe(t.supportedCompression,cn.GZipJS)?cn.GZipJS:pe(t.supportedCompression,cn.Base64)?cn.Base64:void 0),(n=t.analytics)!=null&&n.endpoint&&(this.analyticsDefaultEndpoint=t.analytics.endpoint),this.set_config({person_profiles:this.us?this.us:"identified_only"}),(r=this.siteApps)==null||r.onRemoteConfig(t),(i=this.sessionRecording)==null||i.onRemoteConfig(t),(s=this.autocapture)==null||s.onRemoteConfig(t),(o=this.heatmaps)==null||o.onRemoteConfig(t),this.surveys.onRemoteConfig(t),(a=this.webVitalsAutocapture)==null||a.onRemoteConfig(t),(l=this.exceptionObserver)==null||l.onRemoteConfig(t),(u=this.deadClicksAutocapture)==null||u.onRemoteConfig(t)}bs(){try{this.config.loaded(this)}catch(t){ne.critical("`loaded` function failed",t)}this.ws(),this.config.capture_pageview&&setTimeout(()=>{this.consent.isOptedIn()&&this.ys()},1),new OL(this).load(),this.featureFlags.decide()}ws(){var t;this.has_opted_out_capturing()||this.config.request_batching&&((t=this.cs)==null||t.enable())}_dom_loaded(){this.has_opted_out_capturing()||Sr(this.__request_queue,t=>this.fs(t)),this.__request_queue=[],this.ws()}_handle_unload(){var t,n;this.config.request_batching?(this.Ss()&&this.capture("$pageleave"),(t=this.cs)==null||t.unload(),(n=this.ps)==null||n.unload()):this.Ss()&&this.capture("$pageleave",null,{transport:"sendBeacon"})}ge(t){this.__loaded&&(Ty?this.__request_queue.push(t):this.rateLimiter.isServerRateLimited(t.batchKey)||(t.transport=t.transport||this.config.api_transport,t.url=Oa(t.url,{ip:this.config.ip?1:0}),t.headers=Z({},this.config.request_headers),t.compression=t.compression==="best-available"?this.compression:t.compression,t.fetchOptions=t.fetchOptions||this.config.fetch_options,
26(n=>{var r,i,s,o=Z({},n);o.timeout=o.timeout||6e4,o.url=Oa(o.url,{_:new Date().getTime().toString(),ver:Un.LIB_VERSION,compression:o.compression});var a=(r=o.transport)!==null&&r!==void 0?r:"fetch",l=(i=(s=xm(Ms,u=>u.transport===a))==null?void 0:s.method)!==null&&i!==void 0?i:Ms[0].method;if(!l)throw new Error("No available transport method");l(o)})(Z({},t,{callback:n=>{var r,i;this.rateLimiter.checkForLimiting(n),n.statusCode>=400&&((r=(i=this.config).on_request_error)==null||r.call(i,n)),t.callback==null||t.callback(n)}}))))}fs(t){this.ps?this.ps.retriableRequest(t):this.ge(t)}_execute_array(t){var n,r=[],i=[],s=[];Sr(t,a=>{a&&(n=a[0],Ke(n)?s.push(a):Xt(a)?a.call(this):Ke(a)&&n==="alias"?r.push(a):Ke(a)&&n.indexOf("capture")!==-1&&Xt(this[n])?s.push(a):i.push(a))});var o=function(a,l){Sr(a,function(u){if(Ke(u[0])){var c=l;Me(u,function(f){c=c[f[0]].apply(c,f.slice(1))})}else this[u[0]].apply(this,u.slice(1))},l)};o(r,this),o(i,this),o(s,this)}_s(){var t,n;return((t=this.config.bootstrap)==null?void 0:t.featureFlags)&&Object.keys((n=this.config.bootstrap)==null?void 0:n.featureFlags).length>0||!1}push(t){this._execute_array([t])}capture(t,n,r){var i;if(this.__loaded&&this.persistence&&this.sessionPersistence&&this.cs){if(!this.consent.isOptedOut())if(!Q(t)&&Ze(t)){if(this.config.opt_out_useragent_filter||!this._is_bot()){var s=r!=null&&r.skip_client_rate_limiting?void 0:this.rateLimiter.clientRateLimitContext();if(s==null||!s.isRateLimited){n!=null&&n.$current_url&&!Ze(n==null?void 0:n.$current_url)&&(ne.error("Invalid `$current_url` property provided to `posthog.capture`. Input must be a string. Ignoring provided value."),n==null||delete n.$current_url),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 o=new Date,a=(r==null?void 0:r.timestamp)||o,l=yr(),u={uuid:l,event:t,properties:this.calculateEventProperties(t,n||{},a,l)};s&&(u.properties.$lib_rate_limit_remaining_tokens=s.remainingTokens),r!=null&&r.$set&&(u.$set=r==null?void 0:r.$set);var c=this.$s(r==null?void 0:r.$set_once);c&&(u.$set_once=c),(u=Vx(u,r!=null&&r._noTruncate?null:this.config.properties_string_max_length)).timestamp=a,Q(r==null?void 0:r.timestamp)||(u.properties.$event_time_override_provided=!0,u.properties.$event_time_override_system_time=o);var f=Z({},u.properties.$set,u.$set);if(ki(f)||this.setPersonPropertiesForFlags(f),!Ce(this.config.before_send)){var d=this.ks(u);if(!d)return;u=d}this.os.emit("eventCaptured",u);var h={method:"POST",url:(i=r==null?void 0:r._url)!==null&&i!==void 0?i:this.requestRouter.endpointFor("api",this.analyticsDefaultEndpoint),data:u,compression:"best-available",batchKey:r==null?void 0:r._batchKey};return!this.config.request_batching||r&&(r==null||!r._batchKey)||r!=null&&r.send_instantly?this.fs(h):this.cs.enqueue(h),u}ne.critical("This capture call is ignored due to client rate limiting.")}}else ne.error("No event name provided to posthog.capture")}else ne.uninitializedWarning("posthog.capture")}De(t){return this.on("eventCaptured",n=>t(n.event,n))}calculateEventProperties(t,n,r,i,s){if(r=r||new Date,!this.persistence||!this.sessionPersistence)return n;var o=s?void 0:this.persistence.remove_event_timer(t),a=Z({},n);if(a.token=this.config.token,this.config.__preview_experimental_cookieless_mode&&(a.$cookieless_mode=!0),t==="$snapshot"){var l=Z({},this.persistence.properties(),this.sessionPersistence.properties());return a.distinct_id=l.distinct_id,(!Ze(a.distinct_id)&&!yt(a.distinct_id)||nu(a.distinct_id))&&ne.error("Invalid distinct_id for replay event. This indicates a bug in your implementation"),a}var u,c=xL(this.config.mask_personal_data_properties,this.config.custom_personal_data_properties);if(this.sessionManager){var{sessionId:f,windowId:d}=this.sessionManager.checkAndGetSessionAndWindowId(s,r.getTime());a.$session_id=f,a.$window_id=d}this.sessionPropsManager&&Je(a,this.sessionPropsManager.getSessionProps());try{var h;this.sessionRecording&&Je(a,this.sessionRecording.sdkDebugProperties),a.$sdk_debug_retry_queue_size=(h=this.ps)==null?void 0:h.length}catch(v){a.$sdk_debug_error_capturing_properties=String(v)}if(this.requestRouter.region===Xr.CUSTOM&&(a.$lib_custom_api_host=this.config.api_host),u=t!=="$pageview"||s?t!=="$pageleave"||s?this.pageViewM
26anager.doEvent():this.pageViewManager.doPageLeave(r):this.pageViewManager.doPageView(r,i),a=Je(a,u),t==="$pageview"&&te&&(a.title=te.title),!Q(o)){var _=r.getTime()-o;a.$duration=parseFloat((_/1e3).toFixed(3))}Tt&&this.config.opt_out_useragent_filter&&(a.$browser_type=this._is_bot()?"bot":"browser"),(a=Je({},c,this.persistence.properties(),this.sessionPersistence.properties(),a)).$is_identified=this._isIdentified(),Ke(this.config.property_denylist)?Me(this.config.property_denylist,function(v){delete a[v]}):ne.error("Invalid value for property_denylist config: "+this.config.property_denylist+" or property_blacklist config: "+this.config.property_blacklist);var p=this.config.sanitize_properties;p&&(ne.error("sanitize_properties is deprecated. Use before_send instead"),a=p(a,t));var b=this.xs();return a.$process_person_profile=b,b&&!s&&this.Es("_calculate_event_properties"),a}$s(t){var n;if(!this.persistence||!this.xs()||this.ns)return t;var r=this.persistence.get_initial_props(),i=(n=this.sessionPropsManager)==null?void 0:n.getSetOnceProps(),s=Je({},r,i||{},t||{}),o=this.config.sanitize_properties;return o&&(ne.error("sanitize_properties is deprecated. Use before_send instead"),s=o(s,"$set_once")),this.ns=!0,ki(s)?void 0:s}register(t,n){var r;(r=this.persistence)==null||r.register(t,n)}register_once(t,n,r){var i;(i=this.persistence)==null||i.register_once(t,n,r)}register_for_session(t){var n;(n=this.sessionPersistence)==null||n.register(t)}unregister(t){var n;(n=this.persistence)==null||n.unregister(t)}unregister_for_session(t){var n;(n=this.sessionPersistence)==null||n.unregister(t)}Is(t,n){this.register({[t]:n})}getFeatureFlag(t,n){return this.featureFlags.getFeatureFlag(t,n)}getFeatureFlagPayload(t){var n=this.featureFlags.getFeatureFlagPayload(t);try{return JSON.parse(n)}catch{return n}}isFeatureEnabled(t,n){return this.featureFlags.isFeatureEnabled(t,n)}reloadFeatureFlags(){this.featureFlags.reloadFeatureFlags()}updateEarlyAccessFeatureEnrollment(t,n){this.featureFlags.updateEarlyAccessFeatureEnrollment(t,n)}getEarlyAccessFeatures(t,n,r){return n===void 0&&(n=!1),this.featureFlags.getEarlyAccessFeatures(t,n,r)}on(t,n){return this.os.on(t,n)}onFeatureFlags(t){return this.featureFlags.onFeatureFlags(t)}onSurveysLoaded(t){return this.surveys.onSurveysLoaded(t)}onSessionId(t){var n,r;return(n=(r=this.sessionManager)==null?void 0:r.onSessionId(t))!==null&&n!==void 0?n:()=>{}}getSurveys(t,n){n===void 0&&(n=!1),this.surveys.getSurveys(t,n)}getActiveMatchingSurveys(t,n){n===void 0&&(n=!1),this.surveys.getActiveMatchingSurveys(t,n)}renderSurvey(t,n){this.surveys.renderSurvey(t,n)}canRenderSurvey(t){return this.surveys.canRenderSurvey(t)}canRenderSurveyAsync(t,n){return n===void 0&&(n=!1),this.surveys.canRenderSurveyAsync(t,n)}identify(t,n,r){if(!this.__loaded||!this.persistence)return ne.uninitializedWarning("posthog.identify");if(yt(t)&&(t=t.toString(),ne.warn("The first argument to posthog.identify was a number, but it should be a string. It has been converted to a string.")),t){if(["distinct_id","distinctid"].includes(t.toLowerCase()))ne.critical('The string "'+t+'" was set in posthog.identify which indicates an error. This ID should be unique to the user and not a hardcoded string.');else if(this.Es("posthog.identify")){var i=this.get_distinct_id();if(this.register({$user_id:t}),!this.get_property("$device_id")){var s=i;this.register_once({$had_persisted_distinct_id:!0,$device_id:s},"")}t!==i&&t!==this.get_property(vs)&&(this.unregister(vs),this.register({distinct_id:t}));var o=(this.persistence.get_property(Nn)||"anonymous")==="anonymous";t!==i&&o?(this.persistence.set_property(Nn,"identified"),this.setPersonPropertiesForFlags(Z({},r||{},n||{}),!1),this.capture("$identify",{distinct_id:t,$anon_distinct_id:i},{$set:n||{},$set_once:r||{}}),this.ds=Gp(t,n,r),this.featureFlags.setAnonymousDistinctId(i)):(n||r)&&this.setPersonProperties(n,r),t!==i&&(this.reloadFeatureFlags(),this.unregister(wa))}}else ne.error("Unique user id has not been set in posthog.identify")}setPersonProperties(t,n){if((t||n)&&this.Es("posthog.setPersonProperties")){var r=Gp(this.get_distinct_id(),t,n);this.ds!==r?(this.setPersonPropertiesForFlags(Z({},n||{},t||{})),this.capture("$set",{$set:t||{},$set_once:n||{}}),this.ds=r):ne.info("A duplicate setPersonProperties call was made with the same properties. It has been ignored.")}}group(t,n,r){if(t&&n){if(this.Es("posthog.group")){var i=this.getGroups();i[t]!==n&&this.resetGroupPropertiesForFlags(t),this.register({$groups:Z({},i,{[t]:n})}),r&&(this.capture("$groupidentify",{$group_type:t,$group_key:n,$group_set:r}),this.setGroupPropertiesForFlags({[t]:r})),i[t]===n||r||this.reloadFeatureFlags()}}else ne.error("posthog.group requires a group type and group key")}resetGroups(){this.register({$groups:{}}),this.resetGroupPropertiesForFlags(),this.reloadFeatureFlags()}setPersonPropertiesForFlags(t,n){n===void 0&&(n=!0),this.featureFlags.setPersonPropertiesForFlags(t,n)}resetPersonPropertiesForFlags(){this.featureFlags.resetPersonPropertiesForFlags()}setGroupPropertiesForFlags(t,n){n===void 0&&(n=!0),this.Es("posthog.setGroupPropertiesForFlags")&&this.featureFlags.setGroupPropertiesForFlags(t,n)}resetGroupPropertiesForFlags(t){this.featureFlags.resetGroupPropertiesForFlags(t)}reset(t){var n,r,i,s;if(ne.info("reset"),!this.__loaded)return ne.uninitializedWarning("posthog.reset");var o=this.get_property("$device_id");if(this.consent.reset(),(n=this.persistence)==null||n.clear(),(r=this.sessionPersistence)==null||r.clear(),this.surveys.reset(),(i=this.persistence)==null||i.set_property(Nn,"anonymous"),(s=this.sessionManager)==null||s.resetSessionId(),this.ds=null,this.config.__preview_experimental_cookieless_mode)this.register_once({distinct_id:dp,$device_id:null},"");else{var a=this.config.get_device_id(yr());this.register_once({distinct_id:a,$device_id:t?a:o},"")}this.register({$last_posthog_reset:new Date().toISOString()},1)}get_distinct_id(){return this.get_property("distinct_id")}getGroups(){return this.get_property("$groups")||{}}get_session_id(){var t,n;return(t=(n=this.sessionManager)==null?void 0:n.checkAndGetSessionAndWindowId(!0).sessionId)!==null&&t!==void 0?t:""}get_session_replay_url(t){if(!this.sessionManager)return"";var{sessionId:n,sessionStartTimestamp:r}=this.sessionManager.checkAndGetSessionAndWindowId(!0),i=this.requestRouter.endpointFor("ui","/project/"+this.config.token+"/replay/"+n);if(t!=null&&t.withTimestamp&&r){var s,o=(s=t.timestampLookBack)!==null&&s!==void 0?s:10;if(!r)return i;i+="?t="+Math.max(Math.floor((new Date().getTime()-r)/1e3)-o,0)}return i}alias(t,n){return t===this.get_property(Lm)?(ne.critical("Attempting to create alias for existing People user - aborting."),-2):this.Es("posthog.alias")?(Q(n)&&(n=this.get_distinct_id()),t!==n?(this.Is(vs,t),this.capture("$create_alias",{alias:t,distinct_id:n})):(ne.warn("alias matches current distinct_id - skipping api call."),this.identify(t),-1)):void 0}set_config(t){var n,r,i,s,o=Z({},this.config);ze(t)&&(Je(this.config,Jp(t)),(n=this.persistence)==null||n.update_config(this.config,o),this.sessionPersistence=this.config.persistence==="sessionStorage"||this.config.persistence==="memory"?this.persistence:new gc(Z({},this.config,{persistence:"sessionStorage"})),rt.O()&&rt.A("ph_debug")==="true"&&(this.config.debug=!0),this.config.debug&&(Un.DEBUG=!0,ne.info("set_config",JSON.stringify({config:t,oldConfig:o,newConfig:Z({},this.config)},null,2))),(r=this.sessionRecording)==null||r.startIfEnabledOrStop(),(i=this.autocapture)==null||i.startIfEnabled(),(s=this.heatmaps)==null||s.startIfEnabled(),this.surveys.loadIfEnabled(),this.gs())}
26startSessionRecording(t){var n=t===!0,r={sampling:n||!(t==null||!t.sampling),linked_flag:n||!(t==null||!t.linked_flag),url_trigger:n||!(t==null||!t.url_trigger),event_trigger:n||!(t==null||!t.event_trigger)};if(Object.values(r).some(Boolean)){var i,s,o,a,l;(i=this.sessionManager)==null||i.checkAndGetSessionAndWindowId(),r.sampling&&((s=this.sessionRecording)==null||s.overrideSampling()),r.linked_flag&&((o=this.sessionRecording)==null||o.overrideLinkedFlag()),r.url_trigger&&((a=this.sessionRecording)==null||a.overrideTrigger("url")),r.event_trigger&&((l=this.sessionRecording)==null||l.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,n){var r=new Error("PostHog syntheticException");this.exceptions.sendExceptionEvent(Z({},A1((i=>i instanceof Error)(t)?{error:t,event:t.message}:{event:t},{syntheticException:r}),n))}loadToolbar(t){return this.toolbar.loadToolbar(t)}get_property(t){var n;return(n=this.persistence)==null?void 0:n.props[t]}getSessionProperty(t){var n;return(n=this.sessionPersistence)==null?void 0:n.props[t]}toString(){var t,n=(t=this.config.name)!==null&&t!==void 0?t:yi;return n!==yi&&(n=yi+"."+n),n}_isIdentified(){var t,n;return((t=this.persistence)==null?void 0:t.get_property(Nn))==="identified"||((n=this.sessionPersistence)==null?void 0:n.get_property(Nn))==="identified"}xs(){var t,n,r,i;return!(this.config.person_profiles==="never"||this.config.person_profiles==="identified_only"&&!this._isIdentified()&&ki(this.getGroups())&&((t=this.persistence)==null||(n=t.props)==null||!n[vs])&&((r=this.persistence)==null||(i=r.props)==null||!i[ka]))}Ss(){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.xs()||this.Es("posthog.createPersonProfile")&&this.setPersonProperties({},{})}Es(t){return this.config.person_profiles==="never"?(ne.error(t+' was called, but process_person is set to "never". This call will be ignored.'),!1):(this.Is(ka,!0),!0)}gs(){var t,n,r,i,s=this.consent.isOptedOut(),o=this.config.opt_out_persistence_by_default,a=this.config.disable_persistence||s&&!!o;((t=this.persistence)==null?void 0:t.$e)!==a&&((r=this.persistence)==null||r.set_disabled(a)),((n=this.sessionPersistence)==null?void 0:n.$e)!==a&&((i=this.sessionPersistence)==null||i.set_disabled(a))}opt_in_capturing(t){var n;this.consent.optInOut(!0),this.gs(),(Q(t==null?void 0:t.captureEventName)||t!=null&&t.captureEventName)&&this.capture((n=t==null?void 0:t.captureEventName)!==null&&n!==void 0?n:"$opt_in",t==null?void 0:t.captureProperties,{send_instantly:!0}),this.config.capture_pageview&&this.ys()}opt_out_capturing(){this.consent.optInOut(!1),this.gs()}has_opted_in_capturing(){return this.consent.isOptedIn()}has_opted_out_capturing(){return this.consent.isOptedOut()}clear_opt_in_out_capturing(){this.consent.reset(),this.gs()}_is_bot(){return jt?Iy(jt,this.config.custom_blocked_useragents):void 0}ys(){te&&(te.visibilityState==="visible"?this.ls||(this.ls=!0,this.capture("$pageview",{title:te.title},{send_instantly:!0}),this.hs&&(te.removeEventListener("visibilitychange",this.hs),this.hs=null)):this.hs||(this.hs=this.ys.bind(this),Ve(te,"visibilitychange",this.hs)))}debug(t){t===!1?(P==null||P.console.log("You've disabled debug mode."),localStorage&&localStorage.removeItem("ph_debug"),this.set_config({debug:!1})):(P==null||P.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)`."),localStorage&&localStorage.setItem("ph_debug","true"),this.set_config({debug:!0}))}ks(t){if(Ce(this.config.before_send))return t;var n=Ke(this.config.before_send)?this.config.before_send:[this.config.before_send],r=t;for(var i of n){if(r=i(r),Ce(r)){var s="Event '"+t.event+"' was rejected in beforeSend function";return jx(t.event)?ne.warn(s+". This can cause unexpected behavior."):ne.info(s),null}r.properties&&!ki(r.properties)||ne.warn("Event '"+t.event+"' has no properties after beforeSend function, this is likely an error.")}return r}getPageViewId(){var t;
26return(t=this.pageViewManager.ne)==null?void 0:t.pageViewId}captureTraceFeedback(t,n){this.capture("$ai_feedback",{$ai_trace_id:String(t),$ai_feedback_text:n})}captureTraceMetric(t,n,r){this.capture("$ai_metric",{$ai_trace_id:String(t),$ai_metric_name:n,$ai_metric_value:String(r)})}}(function(e,t){for(var n=0;n<t.length;n++)e.prototype[t[n]]=Bx(e.prototype[t[n]])})(kl,["identify"]);var Qp,Zp,eg,tg,ng,rg;(function(e){e.Button="button",e.Tab="tab",e.Selector="selector"})(Qp||(Qp={})),function(e){e.Left="left",e.Center="center",e.Right="right",e.NextToTrigger="next_to_trigger"}(Zp||(Zp={})),function(e){e.Popover="popover",e.API="api",e.Widget="widget"}(eg||(eg={})),function(e){e.Open="open",e.MultipleChoice="multiple_choice",e.SingleChoice="single_choice",e.Rating="rating",e.Link="link"}(tg||(tg={})),function(e){e.NextQuestion="next_question",e.End="end",e.ResponseBased="response_based",e.SpecificQuestion="specific_question"}(ng||(ng={})),function(e){e.Once="once",e.Recurring="recurring",e.Always="always"}(rg||(rg={}));var ig,fs=(ig=$s[yi]=new kl,function(){function e(){e.done||(e.done=!0,Ty=!1,Me($s,function(t){t._dom_loaded()}))}te!=null&&te.addEventListener?te.readyState==="complete"?e():Ve(te,"DOMContentLoaded",e,{capture:!1}):P&&ne.error("Browser doesn't support `document.addEventListener` so PostHog couldn't be initialized")}(),ig);const YL=ft({name:"posthog",enforce:"pre",setup:async()=>{const e=Pn().public.posthog;if(e.disabled)return{provide:{posthog:"Deprecated: use $clientPosthog instead.",clientPosthog:null}};const t=Zs("ph-feature-flags"),n=Zs("ph-feature-flag-payloads"),r=bf(e.clientOptions??{},{api_host:e.host,capture_pageview:!1,capture_pageleave:!!e.capturePageLeaves,bootstrap:{featureFlags:t.value,featureFlagPayloads:n.value}});if(e.proxy&&e.host){const a=new URL(e.host).hostname.split(".")[0];r.ui_host=`https://${a}.posthog.com`,r.api_host=`${window.location.origin}/ingest/ph`}const i=fs.init(e.publicKey,r),s=ym("ph-identify");return s.value=fs.get_distinct_id(),e.capturePageViews&&ut().afterEach(a=>{fs.capture("$pageview",{current_url:a.fullPath})}),fs.onFeatureFlags((o,a)=>{t.value=a,n.value=o.reduce((l,u)=>(l[u]=fs.getFeatureFlagPayload(u),l),{})}),{provide:{clientPosthog:i||null,posthog:"Deprecated: use $clientPosthog instead."}}}});function XL(e){typeof e.indexable<"u"&&(e.indexable=String(e.indexable)!=="false"),typeof e.trailingSlash<"u"&&!e.trailingSlash&&(e.trailingSlash=String(e.trailingSlash)!=="false"),e.url&&!Bt(String(e.url),{acceptRelative:!0,strict:!1})&&(e.url=VE(String(e.url)));const t=Object.keys(e).sort((r,i)=>r.localeCompare(i)),n={};for(const r of t)n[r]=e[r];return n}function JL(e){const n=[];function r(s){if(!s||typeof s!="object"||Object.keys(s).length===0)return()=>{};s._context;const o={};for(const l in s){const u=s[l];typeof u<"u"&&u!==""&&(o[l]=u)}let a;return Object.keys(o).filter(l=>!l.startsWith("_")).length>0&&(a=n.push(o)),()=>{typeof a<"u"&&n.splice(a-1,1)}}function i(s){var a;const o={};s!=null&&s.debug&&(o._context={}),o._priority={};for(const l in n.sort((u,c)=>(u._priority||0)-(c._priority||0)))for(const u in n[l]){const c=u,f=s!=null&&s.resolveRefs?wi(n[l][u]):n[l][u];!u.startsWith("_")&&typeof f<"u"&&f!==""&&(o[u]=f,typeof n[l]._priority<"u"&&n[l]._priority!==-1&&(o._priority[c]=n[l]._priority),s!=null&&s.debug&&(o._context[c]=((a=n[l]._context)==null?void 0:a[c])||n[l]._context||"anonymous"))}return s!=null&&s.skipNormalize?o:XL(o)}return{stack:n,push:r,get:i}}const QL=ft({name:"nuxt-site-config:init",enforce:"pre",async setup(e){var r;const t=JL(),n=Zs("site-config");{const i=n.value||window.__NUXT_SITE_CONFIG__||{};for(const s in i)s[0]!=="_"&&t.push({[s]:i[s],_priority:((r=i._priority)==null?void 0:r[s])||-1})}return{provide:{nuxtSiteConfig:t}}}}),ZL=ft({name:"nuxt:payload",setup(e){const t=new Set;ut().beforeResolve(async(n,r)=>{if(n.path===r.path)return;const i=await xh(n.path);if(i){for(const s of t)delete e.static.data[s];for(const s in i.data)s in e.static.data||t.add(s),e.static.data[s]=i.data[s]}}),_l(()=>{var n;e.hooks.hook("link:prefetch",async r=>{const{hostname:i}=new URL(r,window.location.href);i===window.location.hostname&&await xh(r).catch(()=>{console.warn("[nuxt] Error preloading payload for",r)})}),((n=navigator.connection)==null?void 0:n.effectiveType)!=="slow-2g"&&setTimeout(pl,1e3)})}}),eI=ft(()=>{const e=ut();_l(()=>
26{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),tI=ft(e=>{let t;async function n(){const r=await pl();t&&clearTimeout(t),t=setTimeout(n,ph);try{const i=await $fetch(yf("builds/latest.json")+`?${Date.now()}`);i.id!==r.id&&e.hooks.callHook("app:manifest:update",i)}catch{}}_l(()=>{t=setTimeout(n,ph)})}),nI=ft({name:"nuxt:chunk-reload",setup(e){const t=ut(),n=Pn(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:s})=>{r.add(s)});function i(s){const a="href"in s&&s.href[0]==="#"?n.app.baseURL+s.href:Ar(n.app.baseURL,s.fullPath);Tx({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(i)}),t.onError((s,o)=>{r.has(s)&&i(o)})}});/*!
27  * shared v10.0.7
28  * (c) 2025 kazuya kawaguchi
29  * Released under the MIT License.
30  */const Ma=typeof window<"u",Pr=(e,t=!1)=>t?Symbol.for(e):Symbol(e),rI=(e,t,n)=>iI({l:e,k:t,s:n}),iI=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),et=e=>typeof e=="number"&&isFinite(e),sI=e=>Cl(e)==="[object Date]",$a=e=>Cl(e)==="[object RegExp]",Sl=e=>ye(e)&&Object.keys(e).length===0,je=Object.assign,oI=Object.create,Ae=(e=null)=>oI(e);let sg;const Vf=()=>sg||(sg=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Ae());function og(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const aI=Object.prototype.hasOwnProperty;function fn(e,t){return aI.call(e,t)}const Ge=Array.isArray,$e=e=>typeof e=="function",G=e=>typeof e=="string",Be=e=>typeof e=="boolean",we=e=>e!==null&&typeof e=="object",lI=e=>we(e)&&$e(e.then)&&$e(e.catch),Ay=Object.prototype.toString,Cl=e=>Ay.call(e),ye=e=>Cl(e)==="[object Object]",cI=e=>e==null?"":Ge(e)||ye(e)&&e.toString===Ay?JSON.stringify(e,null,2):String(e);function qf(e,t=""){return e.reduce((n,r,i)=>i===0?n+r:n+t+r,"")}function uI(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Ho=e=>!we(e)||Ge(e);function $i(e,t){if(Ho(e)||Ho(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:i}=n.pop();Object.keys(r).forEach(s=>{s!=="__proto__"&&(we(r[s])&&!we(i[s])&&(i[s]=Array.isArray(r[s])?[]:Ae()),Ho(i[s])||Ho(r[s])?i[s]=r[s]:n.push({src:r[s],des:i[s]}))})}}const xr=["en","fr"],Iu={en:[{key:"locale_en_46json_6a832505",load:()=>At(()=>import("./DaZqC0qm.js"),[],import.meta.url),cache:!0}],fr:[{key:"locale_fr_46json_400c89db",load:()=>At(()=>import("./BECmvWy7.js"),[],import.meta.url),cache:!0}]},fI=[()=>At(()=>import("./ZCdxTtWu.js"),[],import.meta.url)],xl=[{code:"en",iso:"en",name:"English",files:[{path:"/opt/build/repo/i18n/locales/en.json",cache:void 0}]},{code:"fr",iso:"fr",name:"Français",files:[{path:"/opt/build/repo/i18n/locales/fr.json",cache:void 0}]}],Ry="@nuxtjs/i18n",dI=!1,hI="i18n_redirected",pI="nuxtI18nInternal",ag="nuxt-i18n-slp";function Ll(e){return G(e)?e:e!=null?e.toString():"(null)"}function lg(e,t,n){const{defaultLocale:r,strategy:i,routesNameSeparator:s,defaultLocaleRouteNameSuffix:o,differentDomains:a}=n,l=i!=="no_prefix"||a,u=Ll(e)+(l?s+t:"");return t===r&&i==="prefix_and_default"?u+s+o:u}function gI(e,t){const n=[];for(const[r,i]of t.entries()){const s=e.find(o=>{var a;return((a=o.language)==null?void 0:a.toLowerCase())===i.toLowerCase()});if(s){n.push({code:s.code,score:1-r/t.length});break}}for(const[r,i]of t.entries()){const s=i.split("-")[0].toLowerCase(),o=e.find(a=>{var l;return((l=a.language)==null?void 0:l.split("-")[0].toLowerCase())===s});if(o){n.push({code:o.code,score:.999-r/t.length});break}}return n}function _I(e,t){return e.score===t.score?t.code.length-e.code.length:t.score-e.score}function vI(e,t){const n=e.map(i=>({code:i.code,language:i.language||i.code})),r=gI(n,t);return r.length===0?"":(r.length>1&&r.sort(_I),r[0].code)}function Py(e){return new RegExp(`^/(${e.join("|")})(?:/|$)`,"i")}const mI=`(${xr.join("|")})`,Tu=Py(xr);function yI(){const{routesNameSeparator:e,defaultLocaleRouteNameSuffix:t}=Pn().public.i18n,n=`(?:${e}${t})?`,r=new RegExp(`${e}${mI}${n}$`,"i");return i=>{var s,o,a;return G(i)?((s=i.match(Tu))==null?void 0:s[1])??"":i.name?((o=Ll(i.name).match(r))==null?void 0:o[1])??"":i.path?((a=i.path.match(Tu))==null?void 0:a[1])??"":""}}function bI(e){return e!=null&&"global"in e&&"mode"in e}function wI(e){return e!=null&&!("__composer"in e)&&"locale"in e&&qe(e.locale)}function Oy(e){return e!=null&&"__composer"in e}function Fa(e){return bI(e)?e.global:e}function xi(e){const t=Fa(e);return wI(t)?t:Oy(t)?t.__composer:t}function Il(){return window.location.host}function EI(e,t,n){var a,l,u;const r=Il();if(!r)return r;const i=G(n)?n:n.path,s=e.filter(c=>c.domain?(Bt(c.domain)?c.domain.replace(/(http|https):\/\//,""):c.domain)===r:Ge(c==null?void 0:c.domains)?c.domains.includes(r):!1);if(s.length===0)return"";if(s.length===1)return((a=s[0])==null?void 0:a.code)??"";if(t==="no_prefix")return console.warn(Fy("Multiple matching domains found! This is not supported for no_prefix strategy in combination with differentDomains!")),((l
30=s[0])==null?void 0:l.code)??"";if(n&&i){const c=(u=i.match(Py(s.map(f=>f.code))))==null?void 0:u.at(1);if(c){const f=s.find(d=>d.code===c);return(f==null?void 0:f.code)??""}}const o=s.find(c=>{var f;return((f=c.defaultForDomains)==null?void 0:f.includes(r))??c.domainDefault});return(o==null?void 0:o.code)??""}function My(e){var o,a;de();const t=Il(),{domainLocales:n}=Pn().public.i18n,r=xl.find(l=>l.code===e),i=((o=n==null?void 0:n[e])==null?void 0:o.domain)||(r==null?void 0:r.domain)||((a=r==null?void 0:r.domains)==null?void 0:a.find(l=>l===t));if(!i){console.warn(Fy("Could not find domain name for locale "+e));return}return Bt(i,{strict:!0})?i:new URL(window.location.origin).protocol+"//"+i}function kI(e,t){const{multiDomainLocales:n,strategy:r,routesNameSeparator:i,defaultLocaleRouteNameSuffix:s}=e;if(!n||!(r==="prefix_except_default"||r==="prefix_and_default"))return;const o=ut(),a=[i,s].join("");for(const l of o.getRoutes()){const u=Ll(l.name);if(u.endsWith(a)){o.removeRoute(u);continue}const c=u.split(i)[1];c===t&&o.addRoute({...l,path:l.path===`/${c}`?"/":l.path.replace(`/${c}`,"")})}}function SI(e){const{locales:t,defaultLocale:n,multiDomainLocales:r}=e;if(!r)return n||"";const i=Il();if(t.some(s=>!G(s)&&s.defaultForDomains!=null)){const s=t.find(o=>{var a;return!G(o)&&!!((a=o.defaultForDomains)!=null&&a.includes(i))});return(s==null?void 0:s.code)??""}return n||""}const Fs=new Map;async function CI(e,t){const n={messages:{}};for(const r of e){const{default:i}=await r(),s=$e(i)?await t.runWithContext(()=>i()):i;$i(s,n)}return n}function $y(e,t){if(e===!1)return[];if(Ge(e))return e;let n=[];if(G(e))return t.every(i=>i!==e)&&n.push(e),n;const r=[...t,"default"];for(const i of r)i in e&&(n=[...n,...e[i].filter(Boolean)]);return n}const xI=e=>Cl(e)==="[object Module]";async function LI(e,{key:t,load:n},r){let i=null;try{const s=await n().then(o=>xI(o)?o.default:o);$e(s)?i=await r.runWithContext(()=>s(e)):(i=s,i!=null&&Fs&&Fs.set(t,i))}catch(s){console.error("Failed locale loading: "+s.message)}return i}async function Au(e,t,n,r){const i=t[e];if(i==null)return;const s={};for(const o of i){let a=null;Fs&&Fs.has(o.key)&&o.cache?a=Fs.get(o.key):a=await r.runWithContext(()=>LI(e,o,r)),a!=null&&$i(a,s)}n(e,s)}function zi(e,t){const n=ge(t),r=we(n)?n==null?void 0:n.name:n;if(!(n==null||!r))return Ll(r).split(e.runtimeConfig.public.i18n.routesNameSeparator)[0]}function Wf(e,t,n){var i;if(G(t)&&Bt(t,{acceptRelative:!0}))return t;const r=Kf(e,t,n);return r==null?"":((i=r.redirectedFrom)==null?void 0:i.fullPath)||r.fullPath}function Tl(e,t,n){return Kf(e,t,n)??void 0}function II(e){if(!G(e))return je({},e);if(e[0]==="/"){const{pathname:t,search:n,hash:r}=Dc(e);return{path:t,query:cl(n),hash:r}}return{name:e}}const TI=e=>!!e.path&&!e.name;function AI(e,t,n){const r=e.runtimeConfig.public.i18n;if(TI(t)){const s=PI(e,t,n),o=zi(e,s);return o?(s.name=lg(o,n,r),s):(!r.differentDomains&&$I(n,r.defaultLocale,r.strategy)&&(t.path="/"+n+t.path),t.path=(r.trailingSlash?Gs:oi)(t.path,!0),t)}t.name||(t.name=zi(e,e.router.currentRoute.value));const i=lg(t.name,n,r);return e.router.hasRoute(i)&&(t.name=i),t}function Kf(e,t,n){try{const r=n||ge(Fa(e.i18n).locale),i=II(t),s=e.router.resolve(AI(e,i,r));return s.name?s:e.router.resolve(t)}catch(r){if(wn(r,1))return null}}function RI(e,t){var r;if(e.runtimeConfig.public.i18n.experimental.switchLocalePathLinkSSR)return ge(e.metaState.value);const n=t.meta||{};return((r=ge(n))==null?void 0:r[pI])||{}}function zf(e,t,n){const r=n??e.router.currentRoute.value,i=zi(e,r);if(!i)return"";const s=RI(e,r)[t],o={name:i,params:je({},r.params,s),fullPath:r.fullPath,query:r.query,hash:r.hash,path:r.path,meta:r.meta},a=Wf(e,o,t);if(e.runtimeConfig.public.i18n.differentDomains){const l=My(t);return l&&Ar(l,a)||a}return a}function PI(e,t,n){if(e.runtimeConfig.public.i18n.strategy==="no_prefix")return t;if(e.runtimeConfig.public.i18n.strategy!=="prefix")return e.router.resolve(t);const r=t.path.slice(1),i=t.path[0]+n+(r&&"/"+r),s=e.router.options.routes.find(o=>o.path===i);return s==null?t:e.router.resolve(je({},t,s,{path:i}))}function Fy(e){return`[${Ry}]: ${e}`}function Dy(e){return{i18n:e??de().$i18n,router:ut(),runtimeConfig:Pn(),metaState:Zs("nuxt-i18n-meta",()=>({}))}}async function Ny(e,t=!1){const n=de(),{differentDomains:r,skipSettingLocaleOnNavigate:i}=n.$config.public.i18n,s=go(),o=ge(n.$i18n.locale),a=ge(n.$i18n.localeCodes);function l(d=o){s===!1||!s.useCookie||i||n.$i18n.setLocaleCookie(d)}const u=await n.$i18n.onBeforeLanguageSwitch(o,e,t,n);
30if(u&&a.includes(u)){if(o===u)return l(),!1;e=u}if(!e||!t&&r||o===e)return l(),!1;const c=ge(n.$i18n.fallbackLocale),f=n.$i18n.mergeLocaleMessage.bind(n.$i18n);if(c){const d=$y(c,[e]);await Promise.all(d.map(h=>Au(h,Iu,f,n)))}return await Au(e,Iu,f,n),i?!1:(l(e),n._vueI18n.__setLocale(e),await n.$i18n.onLanguageSwitched(o,e),!0)}function OI(e,t,n,r){const i=de(),{strategy:s,defaultLocale:o,differentDomains:a,multiDomainLocales:l}=i.$config.public.i18n,u=go(),c=UI(e,r,n);if(c.locale&&c.from!=null&&xr.includes(c.locale))return c.locale;let f="";a||l?f||(f=EI(xl,s,e)):s!=="no_prefix"&&(f||(f=t));const d=(xr.includes(c.locale)||r&&xr.includes(r))&&u&&u.useCookie&&r;return f||(f=d||n||o||""),f}function Hy({to:e,from:t,locale:n,routeLocale:r},i=!1){if(r===n||de().$i18n.strategy==="no_prefix")return"";const s=Dy();let o=zf(s,n,e);return i&&!o&&(o=Wf(s,e.fullPath,n)),ch(o,e.fullPath)||t&&ch(o,t.fullPath)?"":o}const MI=()=>Zs(Ry+":redirect",()=>"");async function jy({nuxt:e,locale:t,route:n,redirectPath:r},i=!1){const{rootRedirect:s,differentDomains:o,multiDomainLocales:a,skipSettingLocaleOnNavigate:l,locales:u,strategy:c}=e.$config.public.i18n;if(n.path==="/"&&s)return G(s)?r="/"+s:(r="/"+s.path,s.statusCode),r=e.$localePath(r,t),fr(r,{});if(!(l&&(e._vueI18n.__pendingLocale=t,e._vueI18n.__pendingLocalePromise=new Promise(f=>{e._vueI18n.__resolvePendingLocalePromise=()=>f()}),!i))){if(a&&c==="prefix_except_default"){const f=Il(),d=u.find(_=>{var p;if(!G(_))return(p=_.defaultForDomains)==null?void 0:p.find(b=>b===f)}),h=G(d)||d==null?void 0:d.code;if(n.path.startsWith(`/${h}`))return fr(n.path.replace(`/${h}`,""));if(!n.path.startsWith(`/${t}`)&&t!==h){const _=e._vueI18n.__localeFromRoute(n.path);return fr(_!==""?`/${t+n.path.replace(`/${_}`,"")}`:`/${t+(n.path==="/"?"":n.path)}`)}return r&&n.path!==r?fr(r):void 0}if(o){const f=MI();f.value&&f.value!==r&&(f.value="",window.location.assign(r))}else if(r)return fr(r)}}function $I(e,t,n){return n!=="no_prefix"&&!(e===t&&(n==="prefix_and_default"||n==="prefix_except_default"))}function FI(e){const{baseUrl:t,defaultLocale:n,differentDomains:r}=e.$config.public.i18n;if($e(t))return()=>t(e);const i=$e(n)?n():n;return()=>{if(r&&i){const s=My(i);if(s)return s}return t??""}}function DI(e){return Ge(e)?e:[e]}function Ir(e,t=Dy()){return(...n)=>e(t,...n)}function NI(){const e=navigator.languages;return vI(xl,e)||void 0}function HI(){const e=go(),t=e&&e.cookieKey||hI,n=new Date,r={path:"/",readonly:!1,expires:new Date(n.setDate(n.getDate()+365)),sameSite:e&&e.cookieCrossOrigin?"none":"lax",domain:e&&e.cookieDomain||void 0,secure:e&&e.cookieCrossOrigin||e&&e.cookieSecure};return ym(t,r)}function jI(e,t,n){if(t===!1||!t.useCookie)return;const r=e.value??void 0;if(r!=null){if(xr.includes(r))return r;if(n)return e.value=n,n;e.value=void 0}}function UI(e,t,n=""){const r=go();if(!r)return{locale:"",error:"disabled"};const i=de(),s=i.$i18n.strategy;if(!i._vueI18n.__firstAccess)return{locale:s==="no_prefix"?n:"",error:"first_access_only"};if(s!=="no_prefix"){const u=G(e)?e:e.path;if(r.redirectOn==="root"&&u!=="/")return{locale:"",error:"not_redirect_on_root"};if(r.redirectOn==="no prefix"&&!r.alwaysRedirect&&u.match(Tu))return{locale:"",error:"not_redirect_on_no_prefix"}}const a=r.useCookie&&t||void 0;if(a)return{locale:a,from:"cookie"};const l=i.$i18n.getBrowserLocale();return l?{locale:l,from:"navigator_or_header"}:{locale:r.fallbackLocale||"",from:"fallback"}}function go(e=Pn().public.i18n){return(e==null?void 0:e.detectBrowserLanguage)===!1?!1:e==null?void 0:e.detectBrowserLanguage}function BI(e){const t=de(),n=ge(t.$i18n.locale),r=ge(t.$i18n.locales).map(a=>G(a)?{code:a}:a),i=r.find(a=>a.code===n)||{code:n},s=Ar(ge(xi(t.$i18n).baseUrl),t.$config.app.baseURL),o=t.$config.public.i18n;return s||console.warn("I18n `baseUrl` is required to generate valid SEO tag links."),{dir:e.dir,lang:e.lang,key:e.key,seo:e.seo,locale:n,locales:r,currentDir:i.dir||o.defaultDirection,currentLocale:i,currentLanguage:i.language,baseUrl:s,runtimeI18n:o}}function VI(e,{dir:t=!0,lang:n=!0,seo:r=!0,key:i="hid"}){return Ru(e,{dir:t,lang:n,seo:r,key:i})}function qI(e,t){const n=Ye(Ru(e,t));{const r=xi(e.i18n),i=bt([()=>e.router.currentRoute.value,r.locale],()=>n.value=Ru(e,t));uo()&&ta(i)}return n}function Ru(e,t){const n={htmlAttrs:{},link:[],meta:[]},r=BI(t);return r.baseUrl==null||(r.dir&&(n.htmlAttrs.dir=r.currentDir),r.lang&&r.currentLanguage&&(n.htmlAttrs.lang=r.currentLanguage),r.seo&&(n.link=n.link.concat(WI(e,r),KI(e,r)),n.meta=n.meta.concat(zI(e,r),GI(r),YI(r)))),n}function WI(e,t){const{defaultLocale:n,strategy:r,differentDomains:i}=t.runtimeI18n,s=[];if(r==="no_prefix"&&!i)return s;const o=new Map;
30for(const u of t.locales){if(!u.language){console.warn("Locale `language` ISO code is required to generate alternate link");continue}const[c,f]=u.language.split("-");c&&f&&(u.isCatchallLocale||!o.has(c))&&o.set(c,u),o.set(u.language,u)}const a=t.runtimeI18n.experimental.alternateLinkCanonicalQueries===!0,l=a?e.router.resolve({query:{}}):void 0;!t.runtimeI18n.experimental.switchLocalePathLinkSSR&&a&&(l.meta=e.router.currentRoute.value.meta);for(const[u,c]of o.entries()){const f=zf(e,c.code,l);if(!f)continue;const d=i&&c.domain?f:Ar(t.baseUrl,f),h=ul(d,a?By(e,t):{});s.push({[t.key]:`i18n-alt-${u}`,rel:"alternate",href:h,hreflang:u}),n&&n===c.code&&s.unshift({[t.key]:"i18n-xd",rel:"alternate",href:h,hreflang:"x-default"})}return s}function Uy(e,t){const n=e.router.currentRoute.value,r=Tl(e,je({},n,{path:void 0,name:zi(e,n)}));return r?ul(Ar(t.baseUrl,r.path),By(e,t)):""}function KI(e,t){const n=Uy(e,t);return n?[{[t.key]:"i18n-can",rel:"canonical",href:n}]:[]}function By(e,t){var a;const n=e.router.currentRoute.value,r=Tl(e,je({},n,{path:void 0,name:zi(e,n)})),i=we(t.seo)&&((a=t.seo)==null?void 0:a.canonicalQueries)||[],s=(r==null?void 0:r.query)||{},o={};for(const l of i.filter(u=>u in s)){o[l]??(o[l]=[]);for(const u of DI(s[l]))o[l].push(u||"")}return o}function zI(e,t){const n=Uy(e,t);return n?[{[t.key]:"i18n-og-url",property:"og:url",content:n}]:[]}function GI(e){return e.currentLanguage?[{[e.key]:"i18n-og",property:"og:locale",content:Vy(e.currentLanguage)}]:[]}function YI(e){return e.locales.filter(n=>n.language&&n.language!==e.currentLanguage).map(n=>({[e.key]:`i18n-og-alt-${n.language}`,property:"og:locale:alternate",content:Vy(n.language)}))}function Vy(e=""){return e.replace(/-/g,"_")}/*!
31  * message-compiler v11.1.3
32  * (c) 2025 kazuya kawaguchi
33  * Released under the MIT License.
34  */function XI(e,t,n){return{line:e,column:t,offset:n}}function Pu(e,t,n){return{start:e,end:t}}const Ie={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14},JI=17;function Al(e,t,n={}){const{domain:r,messages:i,args:s}=n,o=e,a=new SyntaxError(String(o));return a.code=e,t&&(a.location=t),a.domain=r,a}function QI(e){throw e}const Fn=" ",ZI="\r",xt=`
35`,eT="\u2028",tT="\u2029";function nT(e){const t=e;let n=0,r=1,i=1,s=0;const o=L=>t[L]===ZI&&t[L+1]===xt,a=L=>t[L]===xt,l=L=>t[L]===tT,u=L=>t[L]===eT,c=L=>o(L)||a(L)||l(L)||u(L),f=()=>n,d=()=>r,h=()=>i,_=()=>s,p=L=>o(L)||l(L)||u(L)?xt:t[L],b=()=>p(n),v=()=>p(n+s);function y(){return s=0,c(n)&&(r++,i=0),o(n)&&n++,n++,i++,t[n]}function g(){return o(n+s)&&s++,s++,t[n+s]}function m(){n=0,r=1,i=1,s=0}function E(L=0){s=L}function x(){const L=n+s;for(;L!==n;)y();s=0}return{index:f,line:d,column:h,peekOffset:_,charAt:p,currentChar:b,currentPeek:v,next:y,peek:g,reset:m,resetPeek:E,skipToPeek:x}}const ar=void 0,rT=".",cg="'",iT="tokenizer";function sT(e,t={}){const n=t.location!==!1,r=nT(e),i=()=>r.index(),s=()=>XI(r.line(),r.column(),r.index()),o=s(),a=i(),l={currentType:13,offset:a,startLoc:o,endLoc:o,lastType:13,lastOffset:a,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},u=()=>l,{onError:c}=t;function f(w,S,T,...O){const j=u();if(S.column+=T,S.offset+=T,c){const V=n?Pu(j.startLoc,S):null,I=Al(w,V,{domain:iT,args:O});c(I)}}function d(w,S,T){w.endLoc=s(),w.currentType=S;const O={type:S};return n&&(O.loc=Pu(w.startLoc,w.endLoc)),T!=null&&(O.value=T),O}const h=w=>d(w,13);function _(w,S){return w.currentChar()===S?(w.next(),S):(f(Ie.EXPECTED_TOKEN,s(),0,S),"")}function p(w){let S="";for(;w.currentPeek()===Fn||w.currentPeek()===xt;)S+=w.currentPeek(),w.peek();return S}function b(w){const S=p(w);return w.skipToPeek(),S}function v(w){if(w===ar)return!1;const S=w.charCodeAt(0);return S>=97&&S<=122||S>=65&&S<=90||S===95}function y(w){if(w===ar)return!1;const S=w.charCodeAt(0);return S>=48&&S<=57}function g(w,S){const{currentType:T}=S;if(T!==2)return!1;p(w);const O=v(w.currentPeek());return w.resetPeek(),O}function m(w,S){const{currentType:T}=S;if(T!==2)return!1;p(w);
35const O=w.currentPeek()==="-"?w.peek():w.currentPeek(),j=y(O);return w.resetPeek(),j}function E(w,S){const{currentType:T}=S;if(T!==2)return!1;p(w);const O=w.currentPeek()===cg;return w.resetPeek(),O}function x(w,S){const{currentType:T}=S;if(T!==7)return!1;p(w);const O=w.currentPeek()===".";return w.resetPeek(),O}function L(w,S){const{currentType:T}=S;if(T!==8)return!1;p(w);const O=v(w.currentPeek());return w.resetPeek(),O}function D(w,S){const{currentType:T}=S;if(!(T===7||T===11))return!1;p(w);const O=w.currentPeek()===":";return w.resetPeek(),O}function M(w,S){const{currentType:T}=S;if(T!==9)return!1;const O=()=>{const V=w.currentPeek();return V==="{"?v(w.peek()):V==="@"||V==="|"||V===":"||V==="."||V===Fn||!V?!1:V===xt?(w.peek(),O()):B(w,!1)},j=O();return w.resetPeek(),j}function $(w){p(w);const S=w.currentPeek()==="|";return w.resetPeek(),S}function B(w,S=!0){const T=(j=!1,V="")=>{const I=w.currentPeek();return I==="{"||I==="@"||!I?j:I==="|"?!(V===Fn||V===xt):I===Fn?(w.peek(),T(!0,Fn)):I===xt?(w.peek(),T(!0,xt)):!0},O=T();return S&&w.resetPeek(),O}function F(w,S){const T=w.currentChar();return T===ar?ar:S(T)?(w.next(),T):null}function q(w){const S=w.charCodeAt(0);return S>=97&&S<=122||S>=65&&S<=90||S>=48&&S<=57||S===95||S===36}function ie(w){return F(w,q)}function oe(w){const S=w.charCodeAt(0);return S>=97&&S<=122||S>=65&&S<=90||S>=48&&S<=57||S===95||S===36||S===45}function W(w){return F(w,oe)}function ee(w){const S=w.charCodeAt(0);return S>=48&&S<=57}function X(w){return F(w,ee)}function le(w){const S=w.charCodeAt(0);return S>=48&&S<=57||S>=65&&S<=70||S>=97&&S<=102}function Pe(w){return F(w,le)}function Fe(w){let S="",T="";for(;S=X(w);)T+=S;return T}function ue(w){let S="";for(;;){const T=w.currentChar();if(T==="{"||T==="}"||T==="@"||T==="|"||!T)break;if(T===Fn||T===xt)if(B(w))S+=T,w.next();else{if($(w))break;S+=T,w.next()}else S+=T,w.next()}return S}function Te(w){b(w);let S="",T="";for(;S=W(w);)T+=S;return w.currentChar()===ar&&f(Ie.UNTERMINATED_CLOSING_BRACE,s(),0),T}function ke(w){b(w);let S="";return w.currentChar()==="-"?(w.next(),S+=`-${Fe(w)}`):S+=Fe(w),w.currentChar()===ar&&f(Ie.UNTERMINATED_CLOSING_BRACE,s(),0),S}function Ue(w){return w!==cg&&w!==xt}function Se(w){b(w),_(w,"'");let S="",T="";for(;S=F(w,Ue);)S==="\\"?T+=H(w):T+=S;const O=w.currentChar();return O===xt||O===ar?(f(Ie.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),O===xt&&(w.next(),_(w,"'")),T):(_(w,"'"),T)}function H(w){const S=w.currentChar();switch(S){case"\\":case"'":return w.next(),`\\${S}`;case"u":return z(w,S,4);case"U":return z(w,S,6);default:return f(Ie.UNKNOWN_ESCAPE_SEQUENCE,s(),0,S),""}}function z(w,S,T){_(w,S);let O="";for(let j=0;j<T;j++){const V=Pe(w);if(!V){f(Ie.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${S}${O}${w.currentChar()}`);break}O+=V}return`\\${S}${O}`}function K(w){return w!=="{"&&w!=="}"&&w!==Fn&&w!==xt}function J(w){b(w);let S="",T="";for(;S=F(w,K);)T+=S;return T}function fe(w){let S="",T="";for(;S=ie(w);)T+=S;return T}function be(w){const S=T=>{const O=w.currentChar();return O==="{"||O==="@"||O==="|"||O==="("||O===")"||!O||O===Fn?T:(T+=O,w.next(),S(T))};return S("")}function k(w){b(w);const S=_(w,"|");return b(w),S}function C(w,S){let T=null;switch(w.currentChar()){case"{":return S.braceNest>=1&&f(Ie.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),w.next(),T=d(S,2,"{"),b(w),S.braceNest++,T;case"}":return S.braceNest>0&&S.currentType===2&&f(Ie.EMPTY_PLACEHOLDER,s(),0),w.next(),T=d(S,3,"}"),S.braceNest--,S.braceNest>0&&b(w),S.inLinked&&S.braceNest===0&&(S.inLinked=!1),T;case"@":return S.braceNest>
350&&f(Ie.UNTERMINATED_CLOSING_BRACE,s(),0),T=A(w,S)||h(S),S.braceNest=0,T;default:{let j=!0,V=!0,I=!0;if($(w))return S.braceNest>0&&f(Ie.UNTERMINATED_CLOSING_BRACE,s(),0),T=d(S,1,k(w)),S.braceNest=0,S.inLinked=!1,T;if(S.braceNest>0&&(S.currentType===4||S.currentType===5||S.currentType===6))return f(Ie.UNTERMINATED_CLOSING_BRACE,s(),0),S.braceNest=0,U(w,S);if(j=g(w,S))return T=d(S,4,Te(w)),b(w),T;if(V=m(w,S))return T=d(S,5,ke(w)),b(w),T;if(I=E(w,S))return T=d(S,6,Se(w)),b(w),T;if(!j&&!V&&!I)return T=d(S,12,J(w)),f(Ie.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,T.value),b(w),T;break}}return T}function A(w,S){const{currentType:T}=S;let O=null;const j=w.currentChar();switch((T===7||T===8||T===11||T===9)&&(j===xt||j===Fn)&&f(Ie.INVALID_LINKED_FORMAT,s(),0),j){case"@":return w.next(),O=d(S,7,"@"),S.inLinked=!0,O;case".":return b(w),w.next(),d(S,8,".");case":":return b(w),w.next(),d(S,9,":");default:return $(w)?(O=d(S,1,k(w)),S.braceNest=0,S.inLinked=!1,O):x(w,S)||D(w,S)?(b(w),A(w,S)):L(w,S)?(b(w),d(S,11,fe(w))):M(w,S)?(b(w),j==="{"?C(w,S)||O:d(S,10,be(w))):(T===7&&f(Ie.INVALID_LINKED_FORMAT,s(),0),S.braceNest=0,S.inLinked=!1,U(w,S))}}function U(w,S){let T={type:13};if(S.braceNest>0)return C(w,S)||h(S);if(S.inLinked)return A(w,S)||h(S);switch(w.currentChar()){case"{":return C(w,S)||h(S);case"}":return f(Ie.UNBALANCED_CLOSING_BRACE,s(),0),w.next(),d(S,3,"}");case"@":return A(w,S)||h(S);default:{if($(w))return T=d(S,1,k(w)),S.braceNest=0,S.inLinked=!1,T;if(B(w))return d(S,0,ue(w));break}}return T}function N(){const{currentType:w,offset:S,startLoc:T,endLoc:O}=l;return l.lastType=w,l.lastOffset=S,l.lastStartLoc=T,l.lastEndLoc=O,l.offset=i(),l.startLoc=s(),r.currentChar()===ar?d(l,13):U(r,l)}return{nextToken:N,currentOffset:i,currentPosition:s,context:u}}const oT="parser",aT=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function lT(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function cT(e={}){const t=e.location!==!1,{onError:n}=e;function r(v,y,g,m,...E){const x=v.currentPosition();if(x.offset+=m,x.column+=m,n){const L=t?Pu(g,x):null,D=Al(y,L,{domain:oT,args:E});n(D)}}function i(v,y,g){const m={type:v};return t&&(m.start=y,m.end=y,m.loc={start:g,end:g}),m}function s(v,y,g,m){t&&(v.end=y,v.loc&&(v.loc.end=g))}function o(v,y){const g=v.context(),m=i(3,g.offset,g.startLoc);return m.value=y,s(m,v.currentOffset(),v.currentPosition()),m}function a(v,y){const g=v.context(),{lastOffset:m,lastStartLoc:E}=g,x=i(5,m,E);return x.index=parseInt(y,10),v.nextToken(),s(x,v.currentOffset(),v.currentPosition()),x}function l(v,y){const g=v.context(),{lastOffset:m,lastStartLoc:E}=g,x=i(4,m,E);return x.key=y,v.nextToken(),s(x,v.currentOffset(),v.currentPosition()),x}function u(v,y){const g=v.context(),{lastOffset:m,lastStartLoc:E}=g,x=i(9,m,E);return x.value=y.replace(aT,lT),v.nextToken(),s(x,v.currentOffset(),v.currentPosition()),x}function c(v){const y=v.nextToken(),g=v.context(),{lastOffset:m,lastStartLoc:E}=g,x=i(8,m,E);return y.type!==11?(r(v,Ie.UNEXPECTED_EMPTY_LINKED_MODIFIER,g.lastStartLoc,0),x.value="",s(x,m,E),{nextConsumeToken:y,node:x}):(y.value==null&&r(v,Ie.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,bn(y)),x.value=y.value||"",s(x,v.currentOffset(),v.currentPosition()),{node:x})}function f(v,y){const g=v.context(),m=i(7,g.offset,g.startLoc);return m.value=y,s(m,v.currentOffset(),v.currentPosition()),m}function d(v){const y=v.context(),g=i(6,y.offset,y.startLoc);let m=v.nextToken();if(m.type===8){const E=c(v);g.modifier=E.node,m=E.nextConsumeToken||v.nextToken()}switch(m.type!==9&&r(v,Ie.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,bn(m)),m=v.nextToken(),m.type===2&&(m=v.nextToken()),m.type){case 10:m.value==null&&r(v,Ie.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,bn(m)),g.key=f(v,m.value||"");break;case 4:m.value==null&&r(v,Ie.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,bn(m)),g.key=l(v,m.value||"");break;case 5:m.value==null&&r(v,Ie.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,bn(m)),g.key=a(v,m.value||"");break;case 6:m.value==null&&r(v,Ie.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,bn(m)),g.key=u(v,m.value||"");break;default:{r(v,Ie.UNEXPECTED_EMPTY_LINKED_KEY,y.lastStartLoc,0);const E=v.context(),x=i(7,E.offset,E.startLoc);return x.value="",s(x,E.offset,E.startLoc),g.key=x,s(g,E.offset,E.startLoc),{nextConsumeToken:m,node:g}}}return s(g,v.currentOffset(),v.currentPosition()),{node:g}}function h(v){const y=v.context(),g=y.currentType===1?v.currentOffset():y.offset,m=y.currentType===1?y.endLoc:y.startLoc,E=i(2,g,m);E.items=[];let x=null;do{const M=x||v.nextToken();switch(x=null,M.type){case 0:M.value==null&&r(v,Ie.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,bn(M)),E.items.push(o(v,M.value||""));break;case 5:M.value==null&&r(v,Ie.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,bn(M)),E.items.push(a(v,M.value||""));break;case 4:M.value==null&&r(v,Ie.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,bn(M)),E.items.push(l(v,M.value||""));break;case 6:M.value==null&&r(v,Ie.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,bn(M)),E.items.push(u(v,M.value||""));break;case 7:{const $=d(v);E.items.push($.node),x=$.nextConsumeToken||null;break}}}while(y.currentType!==13&&y.currentType!==1);const L=y.currentType===1?y.lastOffset:v.currentOffset(),D=y.currentType===1?y.lastEndLoc:v.currentPosition();return s(E,L,D),E}
35function _(v,y,g,m){const E=v.context();let x=m.items.length===0;const L=i(1,y,g);L.cases=[],L.cases.push(m);do{const D=h(v);x||(x=D.items.length===0),L.cases.push(D)}while(E.currentType!==13);return x&&r(v,Ie.MUST_HAVE_MESSAGES_IN_PLURAL,g,0),s(L,v.currentOffset(),v.currentPosition()),L}function p(v){const y=v.context(),{offset:g,startLoc:m}=y,E=h(v);return y.currentType===13?E:_(v,g,m,E)}function b(v){const y=sT(v,je({},e)),g=y.context(),m=i(0,g.offset,g.startLoc);return t&&m.loc&&(m.loc.source=v),m.body=p(y),e.onCacheKey&&(m.cacheKey=e.onCacheKey(v)),g.currentType!==13&&r(y,Ie.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,v[g.offset]||""),s(m,y.currentOffset(),y.currentPosition()),m}return{parse:b}}function bn(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function uT(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function ug(e,t){for(let n=0;n<e.length;n++)Gf(e[n],t)}function Gf(e,t){switch(e.type){case 1:ug(e.cases,t),t.helper("plural");break;case 2:ug(e.items,t);break;case 6:{Gf(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function fT(e,t={}){const n=uT(e);n.helper("normalize"),e.body&&Gf(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function dT(e){const t=e.body;return t.type===2?fg(t):t.cases.forEach(n=>fg(n)),e}function fg(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=qf(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}function bi(e){switch(e.t=e.type,e.type){case 0:{const t=e;bi(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)bi(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)bi(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;bi(t.key),t.k=t.key,delete t.key,t.modifier&&(bi(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}}delete e.type}function hT(e,t){const{filename:n,breakLineCode:r,needIndent:i}=t,s=t.location!==!1,o={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:i,indentLevel:0};s&&e.loc&&(o.source=e.loc.source);const a=()=>o;function l(p,b){o.code+=p}function u(p,b=!0){const v=b?r:"";l(i?v+"  ".repeat(p):v)}function c(p=!0){const b=++o.indentLevel;p&&u(b)}function f(p=!0){const b=--o.indentLevel;p&&u(b)}function d(){u(o.indentLevel)}return{context:a,push:l,indent:c,deindent:f,newline:d,helper:p=>`_${p}`,needIndent:()=>o.needIndent}}function pT(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Gi(e,t.key),t.modifier?(e.push(", "),Gi(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function gT(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const i=t.items.length;for(let s=0;s<i&&(Gi(e,t.items[s]),s!==i-1);s++)e.push(", ");e.deindent(r()),e.push("])")}function _T(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const i=t.cases.length;for(let s=0;s<i&&(Gi(e,t.cases[s]),s!==i-1);s++)e.push(", ");e.deindent(r()),e.push("])")}}function vT(e,t){t.body?Gi(e,t.body):e.push("null")}function Gi(e,t){const{helper:n}=e;switch(t.type){case 0:vT(e,t);break;case 1:_T(e,t);break;case 2:gT(e,t);break;case 6:pT(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break}}const mT=(e,t={})=>{const n=G(t.mode)?t.mode:"normal",r=G(t.filename)?t.filename:"message.intl";t.sourceMap;const i=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
36`,s=t.needIndent?t.needIndent:n!=="arrow",o=e.helpers||[],a=hT(e,{filename:r,breakLineCode:i,needIndent:s});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(s),o.length>0&&(a.push(`const { ${qf(o.map(c=>`${c}: _${c}`),", ")} } = ctx`),a.newline()),a.push("return "),Gi(a,e),a.deindent(s),a.push("}"),delete e.helpers;const{code:l,map:u}=a.context();return{ast:e,code:l,map:u?u.toJSON():void 0}};function yT(e,t={}){const n=je({},t),r=!!n.jit,i=!!n.minify,s=n.optimize==null?!0:n.optimize,a=cT(n).parse(e);return r?(s&&dT(a),i&&bi(a),{ast:a,code:""}):(fT(a,n),mT(a,n))}/*!
37  * core-base v10.0.7
38  * (c) 2025 kazuya kawaguchi
39  * Released under the MIT License.
40  */function bT(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Vf().__INTLIFY_PROD_DEVTOOLS__=!1)}function Ln(e){return we(e)&&Yf(e)===0&&(fn(e,"b")||fn(e,"body"))}const qy=["b","body"];function wT(e){return Or(e,qy)}const Wy=["c","cases"];function ET(e){return Or(e,Wy,[])}const Ky=["s","static"];function kT(e){return Or(e,Ky)}const zy=["i","items"];function ST(e){return Or(e,zy,[])}const Gy=["t","type"];function Yf(e){return Or(e,Gy)}const Yy=["v","value"];function jo(e,t){const n=Or(e,Yy);if(n!=null)return n;throw io(t)}const Xy=["m","modifier"];function CT(e){return Or(e,Xy)}const Jy=["k","key"];function xT(e){const t=Or(e,Jy);if(t)return t;throw io(6)}function Or(e,t,n){for(let r=0;r<t.length;r++){const i=t[r];
40if(fn(e,i)&&e[i]!=null)return e[i]}return n}const Qy=[...qy,...Wy,...Ky,...zy,...Jy,...Xy,...Yy,...Gy];function io(e){return new Error(`unhandled node type: ${e}`)}function vc(e){return n=>LT(n,e)}function LT(e,t){const n=wT(t);if(n==null)throw io(0);if(Yf(n)===1){const s=ET(n);return e.plural(s.reduce((o,a)=>[...o,dg(e,a)],[]))}else return dg(e,n)}function dg(e,t){const n=kT(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=ST(t).reduce((i,s)=>[...i,Ou(e,s)],[]);return e.normalize(r)}}function Ou(e,t){const n=Yf(t);switch(n){case 3:return jo(t,n);case 9:return jo(t,n);case 4:{const r=t;if(fn(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(fn(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw io(n)}case 5:{const r=t;if(fn(r,"i")&&et(r.i))return e.interpolate(e.list(r.i));if(fn(r,"index")&&et(r.index))return e.interpolate(e.list(r.index));throw io(n)}case 6:{const r=t,i=CT(r),s=xT(r);return e.linked(Ou(e,s),i?Ou(e,i):void 0,e.type)}case 7:return jo(t,n);case 8:return jo(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const IT=e=>e;let Uo=Ae();function TT(e,t={}){let n=!1;const r=t.onError||QI;return t.onError=i=>{n=!0,r(i)},{...yT(e,t),detectError:n}}function AT(e,t){if(G(e)){Be(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||IT)(e),i=Uo[r];if(i)return i;const{ast:s,detectError:o}=TT(e,{...t,location:!1,jit:!0}),a=vc(s);return o?a:Uo[r]=a}else{const n=e.cacheKey;if(n){const r=Uo[n];return r||(Uo[n]=vc(e))}else return vc(e)}}let so=null;function RT(e){so=e}function PT(e,t,n){so&&so.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const OT=MT("function:translate");function MT(e){return t=>so&&so.emit(e,t)}const Gn={INVALID_ARGUMENT:JI,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},$T=24;function Yn(e){return Al(e,null,void 0)}function Xf(e,t){return t.locale!=null?hg(t.locale):hg(e.locale)}let mc;function hg(e){if(G(e))return e;if($e(e)){if(e.resolvedOnce&&mc!=null)return mc;if(e.constructor.name==="Function"){const t=e();if(lI(t))throw Yn(Gn.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return mc=t}else throw Yn(Gn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Yn(Gn.NOT_SUPPORT_LOCALE_TYPE)}function FT(e,t,n){return[...new Set([n,...Ge(t)?t:we(t)?Object.keys(t):G(t)?[t]:[n]])]}function Zy(e,t,n){const r=G(n)?n:Da,i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let s=i.__localeChainCache.get(r);if(!s){s=[];let o=[n];for(;Ge(o);)o=pg(s,o,t);const a=Ge(t)||!ye(t)?t:t.default?t.default:null;o=G(a)?[a]:a,Ge(o)&&pg(s,o,!1),i.__localeChainCache.set(r,s)}return s}function pg(e,t,n){let r=!0;for(let i=0;i<t.length&&Be(r);i++){const s=t[i];G(s)&&(r=DT(e,t[i],n))}return r}function DT(e,t,n){let r;const i=t.split("-");do{const s=i.join("-");r=NT(e,s,n),i.splice(-1,1)}while(i.length&&r===!0);return r}function NT(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const i=t.replace(/!/g,"");e.push(i),(Ge(n)||ye(n))&&n[i]&&(r=n[i])}return r}const Mr=[];Mr[0]={w:[0],i:[3,0],"[":[4],o:[7]};Mr[1]={w:[1],".":[2],"[":[4],o:[7]};Mr[2]={w:[2],i:[3,0],0:[3,0]};Mr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Mr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Mr[5]={"'":[4,0],o:8,l:[5,0]};Mr[6]={'"':[4,0],o:8,l:[6,0]};const HT=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function jT(e){return HT.test(e)}function UT(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function BT(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function VT(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:jT(t)?UT(t):"*"+t}function qT(e){const t=[];let n=-1,r=0,i=0,s,o,a,l,u,c,f;const d=[];d[0]=()=>{o===void 0?o=a:o+=a},d[1]=()=>{o!==void 0&&(t.push(o),o=void 0)},d[2]=()=>{d[0](),i++},d[3]=()=>{if(i>0)i--,r=4,d[0]();else{if(i=0,o===void 0||(o=VT(o),o===!1))return!1;d[1]()}};function h(){const _=e[n+1];if(r===5&&_==="'"||r===6&&_==='"')return n++,a="\\"+_,d[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&h())){if(l=BT(s),f=Mr[r],u=f[l]||f.l||8,u===8||(r=u[0],u[1]!==void 0&&(c=d[u[1]],c&&(a=s,c()===!1))))return;if(r===7)return t}}const gg=new Map;function WT(e,t){return we(e)?e[t]:null}function KT(e,t){if(!we(e))return null;let n=gg.get(t);if(n||(n=qT(t),n&&gg.set(t,n)),!n)return null;const r=n.length;let i=e,s=0;for(;s<r;){const o=n[s];if(Qy.includes(o)&&Ln(i))return null;const a=i[o];if(a===void 0||$e(i))return null;i=a,s++}return i}const zT="10.0.7",Rl=-1,Da="en-US",_g="",vg=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function GT(){return{upper:(e,t)=>t==="text"&&G(e)?e.toUpperCase():t==="vnode"&&we(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&G(e)?e.toLowerCase():t==="vnode"&&we(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>
40t==="text"&&G(e)?vg(e):t==="vnode"&&we(e)&&"__v_isVNode"in e?vg(e.children):e}}let eb;function YT(e){eb=e}let tb;function XT(e){tb=e}let nb;function JT(e){nb=e}let rb=null;const QT=e=>{rb=e},ZT=()=>rb;let ib=null;const mg=e=>{ib=e},eA=()=>ib;let yg=0;function tA(e={}){const t=$e(e.onWarn)?e.onWarn:uI,n=G(e.version)?e.version:zT,r=G(e.locale)||$e(e.locale)?e.locale:Da,i=$e(r)?Da:r,s=Ge(e.fallbackLocale)||ye(e.fallbackLocale)||G(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i,o=ye(e.messages)?e.messages:yc(i),a=ye(e.datetimeFormats)?e.datetimeFormats:yc(i),l=ye(e.numberFormats)?e.numberFormats:yc(i),u=je(Ae(),e.modifiers,GT()),c=e.pluralRules||Ae(),f=$e(e.missing)?e.missing:null,d=Be(e.missingWarn)||$a(e.missingWarn)?e.missingWarn:!0,h=Be(e.fallbackWarn)||$a(e.fallbackWarn)?e.fallbackWarn:!0,_=!!e.fallbackFormat,p=!!e.unresolving,b=$e(e.postTranslation)?e.postTranslation:null,v=ye(e.processor)?e.processor:null,y=Be(e.warnHtmlMessage)?e.warnHtmlMessage:!0,g=!!e.escapeParameter,m=$e(e.messageCompiler)?e.messageCompiler:eb,E=$e(e.messageResolver)?e.messageResolver:tb||WT,x=$e(e.localeFallbacker)?e.localeFallbacker:nb||FT,L=we(e.fallbackContext)?e.fallbackContext:void 0,D=e,M=we(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,$=we(D.__numberFormatters)?D.__numberFormatters:new Map,B=we(D.__meta)?D.__meta:{};yg++;const F={version:n,cid:yg,locale:r,fallbackLocale:s,messages:o,modifiers:u,pluralRules:c,missing:f,missingWarn:d,fallbackWarn:h,fallbackFormat:_,unresolving:p,postTranslation:b,processor:v,warnHtmlMessage:y,escapeParameter:g,messageCompiler:m,messageResolver:E,localeFallbacker:x,fallbackContext:L,onWarn:t,__meta:B};return F.datetimeFormats=a,F.numberFormats=l,F.__datetimeFormatters=M,F.__numberFormatters=$,__INTLIFY_PROD_DEVTOOLS__&&PT(F,n,B),F}const yc=e=>({[e]:Ae()});function Jf(e,t,n,r,i){const{missing:s,onWarn:o}=e;if(s!==null){const a=s(e,n,t,i);return G(a)?a:t}else return t}function ds(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function nA(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function rA(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(nA(e,t[r]))return!0;return!1}function bg(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:i,onWarn:s,localeFallbacker:o}=e,{__datetimeFormatters:a}=e,[l,u,c,f]=Mu(...t),d=Be(c.missingWarn)?c.missingWarn:e.missingWarn;Be(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const h=!!c.part,_=Xf(e,c),p=o(e,i,_);if(!G(l)||l==="")return new Intl.DateTimeFormat(_,f).format(u);let b={},v,y=null;const g="datetime format";for(let x=0;x<p.length&&(v=p[x],b=n[v]||{},y=b[l],!ye(y));x++)Jf(e,l,v,d,g);if(!ye(y)||!G(v))return r?Rl:l;let m=`${v}__${l}`;Sl(f)||(m=`${m}__${JSON.stringify(f)}`);let E=a.get(m);return E||(E=new Intl.DateTimeFormat(v,je({},y,f)),a.set(m,E)),h?E.formatToParts(u):E.format(u)}const sb=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Mu(...e){const[t,n,r,i]=e,s=Ae();let o=Ae(),a;if(G(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw Yn(Gn.INVALID_ISO_DATE_ARGUMENT);const u=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();a=new Date(u);try{a.toISOString()}catch{throw Yn(Gn.INVALID_ISO_DATE_ARGUMENT)}}else if(sI(t)){if(isNaN(t.getTime()))throw Yn(Gn.INVALID_DATE_ARGUMENT);a=t}else if(et(t))a=t;else throw Yn(Gn.INVALID_ARGUMENT);return G(n)?s.key=n:ye(n)&&Object.keys(n).forEach(l=>{sb.includes(l)?o[l]=n[l]:s[l]=n[l]}),G(r)?s.locale=r:ye(r)&&(o=r),ye(i)&&(o=i),[s.key||"",a,s,o]}function wg(e,t,n){const r=e;for(const i in n){const s=`${t}__${i}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function Eg(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:i,onWarn:s,localeFallbacker:o}=e,{__numberFormatters:a}=e,[l,u,c,f]=$u(...t),d=Be(c.missingWarn)?c.missingWarn:e.missingWarn;Be(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const h=!!c.part,_=Xf(e,c),p=o(e,i,_);if(!G(l)||l==="")return new Intl.NumberFormat(_,f).format(u);let b={},v,y=null;const g="number format";for(let x=0;x<p.length&&(v=p[x],b=n[v]||{},y=b[l],!ye(y));x++)Jf(e,l,v,d,g);
40if(!ye(y)||!G(v))return r?Rl:l;let m=`${v}__${l}`;Sl(f)||(m=`${m}__${JSON.stringify(f)}`);let E=a.get(m);return E||(E=new Intl.NumberFormat(v,je({},y,f)),a.set(m,E)),h?E.formatToParts(u):E.format(u)}const ob=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function $u(...e){const[t,n,r,i]=e,s=Ae();let o=Ae();if(!et(t))throw Yn(Gn.INVALID_ARGUMENT);const a=t;return G(n)?s.key=n:ye(n)&&Object.keys(n).forEach(l=>{ob.includes(l)?o[l]=n[l]:s[l]=n[l]}),G(r)?s.locale=r:ye(r)&&(o=r),ye(i)&&(o=i),[s.key||"",a,s,o]}function kg(e,t,n){const r=e;for(const i in n){const s=`${t}__${i}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}const iA=e=>e,sA=e=>"",oA="text",aA=e=>e.length===0?"":qf(e),lA=cI;function Sg(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function cA(e){const t=et(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(et(e.named.count)||et(e.named.n))?et(e.named.count)?e.named.count:et(e.named.n)?e.named.n:t:t}function uA(e,t){t.count||(t.count=e),t.n||(t.n=e)}function fA(e={}){const t=e.locale,n=cA(e),r=we(e.pluralRules)&&G(t)&&$e(e.pluralRules[t])?e.pluralRules[t]:Sg,i=we(e.pluralRules)&&G(t)&&$e(e.pluralRules[t])?Sg:void 0,s=v=>v[r(n,v.length,i)],o=e.list||[],a=v=>o[v],l=e.named||Ae();et(e.pluralIndex)&&uA(n,l);const u=v=>l[v];function c(v,y){const g=$e(e.messages)?e.messages(v,!!y):we(e.messages)?e.messages[v]:!1;return g||(e.parent?e.parent.message(v):sA)}const f=v=>e.modifiers?e.modifiers[v]:iA,d=ye(e.processor)&&$e(e.processor.normalize)?e.processor.normalize:aA,h=ye(e.processor)&&$e(e.processor.interpolate)?e.processor.interpolate:lA,_=ye(e.processor)&&G(e.processor.type)?e.processor.type:oA,b={list:a,named:u,plural:s,linked:(v,...y)=>{const[g,m]=y;let E="text",x="";y.length===1?we(g)?(x=g.modifier||x,E=g.type||E):G(g)&&(x=g||x):y.length===2&&(G(g)&&(x=g||x),G(m)&&(E=m||E));const L=c(v,!0)(b),D=E==="vnode"&&Ge(L)&&x?L[0]:L;return x?f(x)(D,E):D},message:c,type:_,interpolate:h,normalize:d,values:je(Ae(),o,l)};return b}const Cg=()=>"",zt=e=>$e(e);function xg(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:i,messageCompiler:s,fallbackLocale:o,messages:a}=e,[l,u]=Fu(...t),c=Be(u.missingWarn)?u.missingWarn:e.missingWarn,f=Be(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,d=Be(u.escapeParameter)?u.escapeParameter:e.escapeParameter,h=!!u.resolvedMessage,_=G(u.default)||Be(u.default)?Be(u.default)?s?l:()=>l:u.default:n?s?l:()=>l:null,p=n||_!=null&&(G(_)||$e(_)),b=Xf(e,u);d&&dA(u);let[v,y,g]=h?[l,b,a[b]||Ae()]:ab(e,l,b,o,f,c),m=v,E=l;if(!h&&!(G(m)||Ln(m)||zt(m))&&p&&(m=_,E=m),!h&&(!(G(m)||Ln(m)||zt(m))||!G(y)))return i?Rl:l;let x=!1;const L=()=>{x=!0},D=zt(m)?m:lb(e,l,y,m,E,L);if(x)return m;const M=gA(e,y,g,u),$=fA(M),B=hA(e,D,$),F=r?r(B,l):B;if(__INTLIFY_PROD_DEVTOOLS__){const q={timestamp:Date.now(),key:G(l)?l:zt(m)?m.key:"",locale:y||(zt(m)?m.locale:""),format:G(m)?m:zt(m)?m.source:"",message:F};q.meta=je({},e.__meta,ZT()||{}),OT(q)}return F}function dA(e){Ge(e.list)?e.list=e.list.map(t=>G(t)?og(t):t):we(e.named)&&Object.keys(e.named).forEach(t=>{G(e.named[t])&&(e.named[t]=og(e.named[t]))})}function ab(e,t,n,r,i,s){const{messages:o,onWarn:a,messageResolver:l,localeFallbacker:u}=e,c=u(e,r,n);let f=Ae(),d,h=null;const _="translate";for(let p=0;p<c.length&&(d=c[p],f=o[d]||Ae(),(h=l(f,t))===null&&(h=f[t]),!(G(h)||Ln(h)||zt(h)));p++)if(!rA(d,c)){const b=Jf(e,t,d,s,_);b!==t&&(h=b)}return[h,d,f]}function lb(e,t,n,r,i,s){const{messageCompiler:o,warnHtmlMessage:a}=e;if(zt(r)){const u=r;return u.locale=u.locale||n,u.key=u.key||t,u}if(o==null){const u=()=>r;return u.locale=n,u.key=t,u}const l=o(r,pA(e,n,i,r,a,s));return l.locale=n,l.key=t,l.source=r,l}function hA(e,t,n){return t(n)}function Fu(...e){const[t,n,r]=e,i=Ae();if(!G(t)&&!et(t)&&!zt(t)&&!Ln(t))throw Yn(Gn.INVALID_ARGUMENT);const s=et(t)?String(t):(zt(t),t);return et(n)?i.plural=n:G(n)?i.default=n:ye(n)&&!Sl(n)?i.named=n:Ge(n)&&(i.list=n),et(r)?i.plural=r:G(r)?i.default=r:ye(r)&&je(i,r),[s,i]}function pA(e,t,n,r,i,s){return{locale:t,key:n,warnHtmlMessage:i,onError:o=>{throw s&&s(o),o},onCacheKey:o=>rI(t,n,o)}}function gA(e,t,n,r){const{modifiers:i,pluralRules:s,messageResolver:o,fallbackLocale:a,fallbackWarn:l,missingWarn:u,fallbackContext:c}=e,d={locale:t,modifiers:i,pluralRules:s,messages:(h,_)=>{let p=o(n,h);if(p==null&&(c||_)){const[,,b]=ab(c||e,h,t,a,l,u);p=o(b,h)}if(G(p)||Ln(p)){let b=!1;const y=lb(e,h,t,p,h,()=>
40{b=!0});return b?Cg:y}else return zt(p)?p:Cg}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),et(r.plural)&&(d.pluralIndex=r.plural),d}bT();/*!
41  * vue-i18n v10.0.7
42  * (c) 2025 kazuya kawaguchi
43  * Released under the MIT License.
44  */const _A="10.0.7";function vA(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Vf().__INTLIFY_PROD_DEVTOOLS__=!1)}const tn={UNEXPECTED_RETURN_TYPE:$T,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function vn(e,...t){return Al(e,null,void 0)}const Du=Pr("__translateVNode"),Nu=Pr("__datetimeParts"),Hu=Pr("__numberParts"),mA=Pr("__setPluralRules"),yA=Pr("__injectWithOption"),ju=Pr("__dispose");function oo(e){if(!we(e)||Ln(e))return e;for(const t in e)if(fn(e,t))if(!t.includes("."))we(e[t])&&oo(e[t]);else{const n=t.split("."),r=n.length-1;let i=e,s=!1;for(let o=0;o<r;o++){if(n[o]==="__proto__")throw new Error(`unsafe key: ${n[o]}`);if(n[o]in i||(i[n[o]]=Ae()),!we(i[n[o]])){s=!0;break}i=i[n[o]]}if(s||(Ln(i)?Qy.includes(n[r])||delete e[t]:(i[n[r]]=e[t],delete e[t])),!Ln(i)){const o=i[n[r]];we(o)&&oo(o)}}return e}function cb(e,t){const{messages:n,__i18n:r,messageResolver:i,flatJson:s}=t,o=ye(n)?n:Ge(r)?Ae():{[e]:Ae()};if(Ge(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:u}=a;l?(o[l]=o[l]||Ae(),$i(u,o[l])):$i(u,o)}else G(a)&&$i(JSON.parse(a),o)}),i==null&&s)for(const a in o)fn(o,a)&&oo(o[a]);return o}function ub(e){return e.type}function bA(e,t,n){let r=we(t.messages)?t.messages:Ae();"__i18nGlobal"in n&&(r=cb(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const i=Object.keys(r);i.length&&i.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(we(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(o=>{e.mergeDateTimeFormat(o,t.datetimeFormats[o])})}if(we(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(o=>{e.mergeNumberFormat(o,t.numberFormats[o])})}}}function Lg(e){return He(kr,null,e,0)}const Ig="__INTLIFY_META__",Tg=()=>[],wA=()=>!1;let Ag=0;function Rg(e){return(t,n,r,i)=>e(n,r,Rn()||void 0,i)}const EA=()=>{const e=Rn();let t=null;return e&&(t=ub(e)[Ig])?{[Ig]:t}:null};function fb(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,i=e.flatJson,s=Ma?Ye:Fi;let o=Be(e.inheritLocale)?e.inheritLocale:!0;const a=s(t&&o?t.locale.value:G(e.locale)?e.locale:Da),l=s(t&&o?t.fallbackLocale.value:G(e.fallbackLocale)||Ge(e.fallbackLocale)||ye(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),u=s(cb(a.value,e)),c=s(ye(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),f=s(ye(e.numberFormats)?e.numberFormats:{[a.value]:{}});let d=t?t.missingWarn:Be(e.missingWarn)||$a(e.missingWarn)?e.missingWarn:!0,h=t?t.fallbackWarn:Be(e.fallbackWarn)||$a(e.fallbackWarn)?e.fallbackWarn:!0,_=t?t.fallbackRoot:Be(e.fallbackRoot)?e.fallbackRoot:!0,p=!!e.fallbackFormat,b=$e(e.missing)?e.missing:null,v=$e(e.missing)?Rg(e.missing):null,y=$e(e.postTranslation)?e.postTranslation:null,g=t?t.warnHtmlMessage:Be(e.warnHtmlMessage)?e.warnHtmlMessage:!0,m=!!e.escapeParameter;const E=t?t.modifiers:ye(e.modifiers)?e.modifiers:{};let x=e.pluralRules||t&&t.pluralRules,L;L=(()=>{r&&mg(null);const I={version:_A,locale:a.value,fallbackLocale:l.value,messages:u.value,modifiers:E,pluralRules:x,missing:v===null?void 0:v,missingWarn:d,fallbackWarn:h,fallbackFormat:p,unresolving:!0,postTranslation:y===null?void 0:y,warnHtmlMessage:g,escapeParameter:m,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};I.datetimeFormats=c.value,I.numberFormats=f.value,I.__datetimeFormatters=ye(L)?L.__datetimeFormatters:void 0,I.__numberFormatters=ye(L)?L.__numberFormatters:void 0;const R=tA(I);return r&&mg(R),R})(),ds(L,a.value,l.value);function M(){return[a.value,l.value,u.value,c.value,f.value]}const $=_e({get:()=>a.value,set:I=>{a.value=I,L.locale=a.value}}),B=_e({get:()=>l.value,set:I=>{l.value=I,L.fallbackLocale=l.value,ds(L,a.value,I)}}),F=_e(()=>u.value),q=_e(()=>c.value),ie=_e(()=>f.value);function oe(){return $e(y)?y:null}function W(I){y=I,L.postTranslation=I}function ee(){return b}function X(I){I!==null&&(v=Rg(I)),b=I,L.missing=v}const le=(I,R,Y,re,he,me)=>{M();let Xe;try{__INTLIFY_PROD_DEVTOOLS__,r||(L.fallbackContext=t?eA():void 0),Xe=I(L)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(L.fallbackContext=void 0)}if(Y!=="translate exists"&&et(Xe)&&Xe===Rl||Y==="translate exists"&&!Xe){const[at,Vt]=R();return t&&_?re(t):he(at)}else{if(me(Xe))return Xe;throw vn(tn.UNEXPECTED_RETURN_TYPE)}};function Pe(...I){return le(R=>Reflect.apply(xg,null,[R,...I]),()=>Fu(...I),"translate",R=>Reflect.apply(R.t,R,[...I]),R=>R,R=>G(R))}function Fe(...I){const[R,Y,re]=I;if(re&&!we(re))throw vn(tn.INVALID_ARGUMENT);return Pe(R,Y,je({resolvedMessage:!0},re||{}))}function ue(...I){return le(R=>Reflect.apply(bg,null,[R,...I]),()=>Mu(...I),"datetime format",R=>Reflect.apply(R.d,R,[...I]),()=>_g,R=>G(R))}function Te(...I){return le(R=>Reflect.apply(Eg,null,[R,...I]),()=>$u(...I),"number format",R=>Reflect.apply(R.n,R,[...I]),()=>_g,R=>G(R))}function ke(I){return I.map(R=>G(R)||et(R)||Be(R)?Lg(String(R)):R)}const Se={normalize:ke,interpolate:I=>I,type:"vnode"};function H(...I){return le(R=>{let Y;const re=R;try{re.processor=Se,Y=Reflect.apply(xg,null,[re,...I])}finally{re.processor=null}return Y},()=>Fu(...I),"translate",R=>R[Du](...I),R=>[Lg(R)],R=>Ge(R))}function z(...I){return le(R=>Reflect.apply(Eg,null,[R,...I]),()=>$u(...I),"number format",R=>R[Hu](...I),Tg,R=>
44G(R)||Ge(R))}function K(...I){return le(R=>Reflect.apply(bg,null,[R,...I]),()=>Mu(...I),"datetime format",R=>R[Nu](...I),Tg,R=>G(R)||Ge(R))}function J(I){x=I,L.pluralRules=x}function fe(I,R){return le(()=>{if(!I)return!1;const Y=G(R)?R:a.value,re=C(Y),he=L.messageResolver(re,I);return Ln(he)||zt(he)||G(he)},()=>[I],"translate exists",Y=>Reflect.apply(Y.te,Y,[I,R]),wA,Y=>Be(Y))}function be(I){let R=null;const Y=Zy(L,l.value,a.value);for(let re=0;re<Y.length;re++){const he=u.value[Y[re]]||{},me=L.messageResolver(he,I);if(me!=null){R=me;break}}return R}function k(I){const R=be(I);return R??(t?t.tm(I)||{}:{})}function C(I){return u.value[I]||{}}function A(I,R){if(i){const Y={[I]:R};for(const re in Y)fn(Y,re)&&oo(Y[re]);R=Y[I]}u.value[I]=R,L.messages=u.value}function U(I,R){u.value[I]=u.value[I]||{};const Y={[I]:R};if(i)for(const re in Y)fn(Y,re)&&oo(Y[re]);R=Y[I],$i(R,u.value[I]),L.messages=u.value}function N(I){return c.value[I]||{}}function w(I,R){c.value[I]=R,L.datetimeFormats=c.value,wg(L,I,R)}function S(I,R){c.value[I]=je(c.value[I]||{},R),L.datetimeFormats=c.value,wg(L,I,R)}function T(I){return f.value[I]||{}}function O(I,R){f.value[I]=R,L.numberFormats=f.value,kg(L,I,R)}function j(I,R){f.value[I]=je(f.value[I]||{},R),L.numberFormats=f.value,kg(L,I,R)}Ag++,t&&Ma&&(bt(t.locale,I=>{o&&(a.value=I,L.locale=I,ds(L,a.value,l.value))}),bt(t.fallbackLocale,I=>{o&&(l.value=I,L.fallbackLocale=I,ds(L,a.value,l.value))}));const V={id:Ag,locale:$,fallbackLocale:B,get inheritLocale(){return o},set inheritLocale(I){o=I,I&&t&&(a.value=t.locale.value,l.value=t.fallbackLocale.value,ds(L,a.value,l.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:F,get modifiers(){return E},get pluralRules(){return x||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(I){d=I,L.missingWarn=d},get fallbackWarn(){return h},set fallbackWarn(I){h=I,L.fallbackWarn=h},get fallbackRoot(){return _},set fallbackRoot(I){_=I},get fallbackFormat(){return p},set fallbackFormat(I){p=I,L.fallbackFormat=p},get warnHtmlMessage(){return g},set warnHtmlMessage(I){g=I,L.warnHtmlMessage=I},get escapeParameter(){return m},set escapeParameter(I){m=I,L.escapeParameter=I},t:Pe,getLocaleMessage:C,setLocaleMessage:A,mergeLocaleMessage:U,getPostTranslationHandler:oe,setPostTranslationHandler:W,getMissingHandler:ee,setMissingHandler:X,[mA]:J};return V.datetimeFormats=q,V.numberFormats=ie,V.rt=Fe,V.te=fe,V.tm=k,V.d=ue,V.n=Te,V.getDateTimeFormat=N,V.setDateTimeFormat=w,V.mergeDateTimeFormat=S,V.getNumberFormat=T,V.setNumberFormat=O,V.mergeNumberFormat=j,V[yA]=n,V[Du]=H,V[Nu]=K,V[Hu]=z,V}const Qf={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function kA({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,i)=>[...r,...i.type===it?i.children:[i]],[]):t.reduce((n,r)=>{const i=e[r];return i&&(n[r]=i()),n},Ae())}function db(){return it}const SA=sn({name:"i18n-t",props:je({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>et(e)||!isNaN(e)}},Qf),setup(e,t){const{slots:n,attrs:r}=t,i=e.i18n||Pl({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(f=>f!=="_"),o=Ae();e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=G(e.plural)?+e.plural:e.plural);const a=kA(t,s),l=i[Du](e.keypath,a,o),u=je(Ae(),r),c=G(e.tag)||we(e.tag)?e.tag:db();return tt(c,u,l)}}}),Pg=SA;function CA(e){return Ge(e)&&!G(e[0])}function hb(e,t,n,r){const{slots:i,attrs:s}=t;return()=>{const o={part:!0};let a=Ae();e.locale&&(o.locale=e.locale),G(e.format)?o.key=e.format:we(e.format)&&(G(e.format.key)&&(o.key=e.format.key),a=Object.keys(e.format).reduce((d,h)=>n.includes(h)?je(Ae(),d,{[h]:e.format[h]}):d,Ae()));const l=r(e.value,o,a);let u=[o.key];Ge(l)?u=l.map((d,h)=>{const _=i[d.type],p=_?_({[d.type]:d.value,index:h,parts:l}):[d.value];return CA(p)&&(p[0].key=`${d.type}-${h}`),p}):G(l)&&(u=[l]);const c=je(Ae(),s),f=G(e.tag)||we(e.tag)?e.tag:db();return tt(f,c,u)}}const xA=sn({name:"i18n-n",props:je({value:{type:Number,required:!0},format:{type:[String,Object]}},Qf),setup(e,t){const n=e.i18n||Pl({useScope:e.scope,__useComponent:!0});return hb(e,t,ob,(...r)=>n[Hu](...r))}}
44),Og=xA,LA=sn({name:"i18n-d",props:je({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Qf),setup(e,t){const n=e.i18n||Pl({useScope:e.scope,__useComponent:!0});return hb(e,t,sb,(...r)=>n[Nu](...r))}}),Mg=LA;function IA(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function TA(e){const t=o=>{const{instance:a,value:l}=o;if(!a||!a.$)throw vn(tn.UNEXPECTED_ERROR);const u=IA(e,a.$),c=$g(l);return[Reflect.apply(u.t,u,[...Fg(c)]),u]};return{created:(o,a)=>{const[l,u]=t(a);Ma&&e.global===u&&(o.__i18nWatcher=bt(u.locale,()=>{a.instance&&a.instance.$forceUpdate()})),o.__composer=u,o.textContent=l},unmounted:o=>{Ma&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:a})=>{if(o.__composer){const l=o.__composer,u=$g(a);o.textContent=Reflect.apply(l.t,l,[...Fg(u)])}},getSSRProps:o=>{const[a]=t(o);return{textContent:a}}}}function $g(e){if(G(e))return{path:e};if(ye(e)){if(!("path"in e))throw vn(tn.REQUIRED_VALUE,"path");return e}else throw vn(tn.INVALID_VALUE)}function Fg(e){const{path:t,locale:n,args:r,choice:i,plural:s}=e,o={},a=r||{};return G(n)&&(o.locale=n),et(i)&&(o.plural=i),et(s)&&(o.plural=s),[t,a,o]}function AA(e,t,...n){const r=ye(n[0])?n[0]:{};(Be(r.globalInstall)?r.globalInstall:!0)&&([Pg.name,"I18nT"].forEach(s=>e.component(s,Pg)),[Og.name,"I18nN"].forEach(s=>e.component(s,Og)),[Mg.name,"I18nD"].forEach(s=>e.component(s,Mg))),e.directive("t",TA(t))}const RA=Pr("global-vue-i18n");function PA(e={},t){const n=Be(e.globalInjection)?e.globalInjection:!0,r=new Map,[i,s]=OA(e),o=Pr("");function a(f){return r.get(f)||null}function l(f,d){r.set(f,d)}function u(f){r.delete(f)}const c={get mode(){return"composition"},async install(f,...d){if(f.__VUE_I18N_SYMBOL__=o,f.provide(f.__VUE_I18N_SYMBOL__,c),ye(d[0])){const p=d[0];c.__composerExtend=p.__composerExtend,c.__vueI18nExtend=p.__vueI18nExtend}let h=null;n&&(h=UA(f,c.global)),AA(f,c,...d);const _=f.unmount;f.unmount=()=>{h&&h(),c.dispose(),_()}},get global(){return s},dispose(){i.stop()},__instances:r,__getInstance:a,__setInstance:l,__deleteInstance:u};return c}function Pl(e={}){const t=Rn();if(t==null)throw vn(tn.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw vn(tn.NOT_INSTALLED);const n=MA(t),r=FA(n),i=ub(t),s=$A(e,i);if(s==="global")return bA(r,e,i),r;if(s==="parent"){let l=DA(n,t,e.__useComponent);return l==null&&(l=r),l}const o=n;let a=o.__getInstance(t);if(a==null){const l=je({},e);"__i18n"in i&&(l.__i18n=i.__i18n),r&&(l.__root=r),a=fb(l),o.__composerExtend&&(a[ju]=o.__composerExtend(a)),HA(o,t,a),o.__setInstance(t,a)}return a}function OA(e,t,n){const r=Zu(),i=r.run(()=>fb(e));if(i==null)throw vn(tn.UNEXPECTED_ERROR);return[r,i]}function MA(e){const t=lt(e.isCE?RA:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw vn(e.isCE?tn.NOT_INSTALLED_WITH_PROVIDE:tn.UNEXPECTED_ERROR);return t}function $A(e,t){return Sl(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function FA(e){return e.mode==="composition"?e.global:e.global.__composer}function DA(e,t,n=!1){let r=null;const i=t.root;let s=NA(t,n);for(;s!=null;){const o=e;if(e.mode==="composition"&&(r=o.__getInstance(s)),r!=null||i===s)break;s=s.parent}return r}function NA(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function HA(e,t,n){di(()=>{},t),il(()=>{const r=n;e.__deleteInstance(t);const i=r[ju];i&&(i(),delete r[ju])},t)}const jA=["locale","fallbackLocale","availableLocales"],Dg=["t","rt","d","n","tm","te"];function UA(e,t){const n=Object.create(null);return jA.forEach(i=>{const s=Object.getOwnPropertyDescriptor(t,i);if(!s)throw vn(tn.UNEXPECTED_ERROR);const o=qe(s.value)?{get(){return s.value.value},set(a){s.value.value=a}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,i,o)}),e.config.globalProperties.$i18n=n,Dg.forEach(i=>{const s=Object.getOwnPropertyDescriptor(t,i);if(!s||!s.value)throw vn(tn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${i}`,s)}),()=>{delete e.config.globalProperties.$i18n,Dg.forEach(i=>
44{delete e.config.globalProperties[`$${i}`]})}}vA();YT(AT);XT(KT);JT(Zy);if(__INTLIFY_PROD_DEVTOOLS__){const e=Vf();e.__INTLIFY__=!0,RT(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}function _O({dir:e=!0,lang:t=!0,seo:n=!0,key:r="hid"}={}){return Ir(qI)({dir:e,lang:t,seo:n,key:r})}function BA(){return Ir(zi)}function VA(){return Ir(Wf)}function qA(){return Ir(Tl)}function WA(){return Ir(Tl)}function pb(){return Ir(zf)}const KA=ft({name:"i18n:plugin:switch-locale-path-ssr",dependsOn:["i18n:plugin"],setup(){const e=de();if(e.$config.public.i18n.experimental.switchLocalePathLinkSSR!==!0)return;const t=pb(),n=new RegExp([`<!--${ag}-\\[(\\w+)\\]-->`,".+?",`<!--/${ag}-->`].join(""),"g");e.hook("app:rendered",r=>{var i;((i=r.renderResult)==null?void 0:i.html)!=null&&(r.renderResult.html=r.renderResult.html.replaceAll(n,(s,o)=>s.replace(/href="([^"]+)"/,`href="${encodeURI(t(o??""))}"`)))})}}),zA=ft({name:"i18n:plugin:route-locale-detect",dependsOn:["i18n:plugin"],async setup(){let e,t;const n=de(),r=n.$router.currentRoute;async function i(o){let a=OI(o,n._vueI18n.__localeFromRoute(o),ge(n.$i18n.locale),n.$i18n.getLocaleCookie());if(n._vueI18n.__firstAccess){n._vueI18n.__setLocale(a);const u=$y(ge(n._vueI18n.global.fallbackLocale),[a]);await Promise.all(u.map(c=>n.$i18n.loadLocaleMessages(c))),await n.$i18n.loadLocaleMessages(a)}return await n.runWithContext(()=>Ny(a,n._vueI18n.__firstAccess))&&(a=ge(n.$i18n.locale)),a}[e,t]=un(()=>i(r.value)),await e,t(),Nk("locale-changing",async(o,a)=>{let l,u;const c=([l,u]=un(()=>n.runWithContext(()=>i(o))),l=await l,u(),l),f=([l,u]=un(()=>n.runWithContext(()=>Hy({to:o,from:a,locale:c,routeLocale:n._vueI18n.__localeFromRoute(o)},!0))),l=await l,u(),l);return n._vueI18n.__firstAccess=!1,[l,u]=un(()=>n.runWithContext(()=>jy({nuxt:n,redirectPath:f,locale:c,route:o}))),l=await l,u(),l},{global:!0})}});function GA(e,{extendComposer:t,extendComposerInstance:n}){const r=Zu(),i=e.install.bind(e);e.install=(s,...o)=>{const a=je({},o[0]);a.__composerExtend=u=>(n(u,xi(e)),()=>{}),e.mode==="legacy"&&(a.__vueI18nExtend=u=>(n(u,xi(u)),()=>{})),Reflect.apply(i,e,[s,a]);const l=xi(e);if(r.run(()=>{t(l),e.mode==="legacy"&&Oy(e.global)&&n(e.global,xi(e.global))}),e.mode==="composition"&&s.config.globalProperties.$i18n!=null&&n(s.config.globalProperties.$i18n,l),s.unmount){const u=s.unmount.bind(s);s.unmount=()=>{r.stop(),u()}}}}const YA=ft({name:"i18n:plugin",parallel:dI,async setup(e){var f;let t,n;Object.defineProperty(e.versions,"nuxtI18n",{get:()=>"9.5.4"});const r=de(),i=r.$config.public.i18n,s=SI(i);kI(i,s),r.$config.public.i18n.defaultLocale=s;const o={...i,defaultLocale:s,baseUrl:FI(r)},a=([t,n]=un(()=>CI(fI,de())),t=await t,n(),t);a.messages||(a.messages={}),a.fallbackLocale??(a.fallbackLocale=!1),s&&(a.locale=s);for(const d of xr)(f=a.messages)[d]??(f[d]={});const l=PA(a);r._vueI18n=l,l.__localeFromRoute=yI(),l.__firstAccess=!0,l.__setLocale=d=>{const h=Fa(l);qe(h.locale)?h.locale.value=d:h.locale=d};const u=HI(),c=go();return GA(l,{extendComposer(d){const h=Ye(o.locales);d.locales=_e(()=>h.value);const _=Ye(xr);d.localeCodes=_e(()=>_.value);const p=Ye(o.baseUrl());d.baseUrl=_e(()=>p.value),bt(d.locale,()=>p.value=o.baseUrl()),d.strategy=o.strategy,d.localeProperties=_e(()=>xl.find(b=>b.code===d.locale.value)||{code:d.locale.value}),d.setLocale=async b=>{if(await Ny(b,l.__firstAccess),d.strategy==="no_prefix"){await d.loadLocaleMessages(b),l.__setLocale(b);return}const v=r.$router.currentRoute.value,y=await r.runWithContext(()=>Hy({to:v,locale:b,routeLocale:l.__localeFromRoute(v)}));await r.runWithContext(()=>jy({nuxt:r,redirectPath:y,locale:b,route:v},!0))},d.loadLocaleMessages=async b=>await Au(b,Iu,d.mergeLocaleMessage.bind(d),r),d.differentDomains=o.differentDomains,d.defaultLocale=o.defaultLocale,d.getBrowserLocale=()=>NI(),d.getLocaleCookie=()=>jI(u,c,d.defaultLocale),d.setLocaleCookie=b=>{!c||!c.useCookie||(u.value=b)},d.onBeforeLanguageSwitch=(b,v,y,g)=>r.callHook("i18n:beforeLocaleSwitch",{oldLocale:b,newLocale:v,initialSetup:y,context:g}),d.onLanguageSwitched=(b,v)=>r.callHook("i18n:localeSwitched",{oldLocale:b,newLocale:v}),d.finalizePendingLocaleChange=async()=>{var b;l.__pendingLocale&&(l.__setLocale(l.__pendingLocale),(b=l.__resolvePendingLocalePromise)==null||b.call(l),l.__pendingLocale=void 0)},d.waitForPendingLocaleChange=async()=>{l.__pendingLocale&&l.__pendingLocalePromise&&await l.__pendingLocalePromise}},extendComposerInstance(d,h){const _=[["locales",()=>h.locales],["localeCodes",()=>h.localeCodes],["baseUrl",()=>h.baseUrl],["strategy",()=>h.strategy],["localeProperties",()=>h.localeProperties],["setLocale",()=>
44async p=>Reflect.apply(h.setLocale,h,[p])],["loadLocaleMessages",()=>async p=>Reflect.apply(h.loadLocaleMessages,h,[p])],["differentDomains",()=>h.differentDomains],["defaultLocale",()=>h.defaultLocale],["getBrowserLocale",()=>()=>Reflect.apply(h.getBrowserLocale,h,[])],["getLocaleCookie",()=>()=>Reflect.apply(h.getLocaleCookie,h,[])],["setLocaleCookie",()=>p=>Reflect.apply(h.setLocaleCookie,h,[p])],["onBeforeLanguageSwitch",()=>(p,b,v,y)=>Reflect.apply(h.onBeforeLanguageSwitch,h,[p,b,v,y])],["onLanguageSwitched",()=>(p,b)=>Reflect.apply(h.onLanguageSwitched,h,[p,b])],["finalizePendingLocaleChange",()=>()=>Reflect.apply(h.finalizePendingLocaleChange,h,[])],["waitForPendingLocaleChange",()=>()=>Reflect.apply(h.waitForPendingLocaleChange,h,[])]];for(const[p,b]of _)Object.defineProperty(d,p,{get:b})}}),r.vueApp.use(l),Object.defineProperty(r,"$i18n",{get:()=>Fa(l)}),{provide:{localeHead:Ir(VI),localePath:VA(),localeRoute:qA(),getRouteBaseName:BA(),switchLocalePath:pb(),resolveRoute:Ir(Kf),localeLocation:WA()}}}}),XA=cf(()=>At(()=>import("./DfeeT_Rp.js"),__vite__mapDeps([7,8,9]),import.meta.url).then(e=>e.default||e.default||e)),JA=cf(()=>At(()=>import("./CydAmUsM.js"),__vite__mapDeps([13,8,14]),import.meta.url).then(e=>e.default||e.default||e)),QA=[["Icon",XA],["IconCSS",JA]],ZA=ft({name:"nuxt:global-components",setup(e){for(const[t,n]of QA)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),br={default:cf(()=>At(()=>import("./Cwl6V-8c.js"),__vite__mapDeps([15,7,8,9,16]),import.meta.url).then(e=>e.default||e))},eR=ft({name:"nuxt:prefetch",setup(e){const t=ut();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var i;const r=(i=n==null?void 0:n.meta)==null?void 0:i.layout;r&&typeof br[r]=="function"&&await br[r]()})}),e.hooks.hook("link:prefetch",n=>{if(Bt(n))return;const r=t.resolve(n);if(!r)return;const i=r.meta.layout;let s=If(r.meta.middleware);s=s.filter(o=>typeof o=="string");for(const o of s)typeof Ps[o]=="function"&&Ps[o]();typeof i=="string"&&i in br&&Ix(br[i])})}}),Ng=(e,{value:t,arg:n})=>{const{$clientPosthog:r}=de();e.hasAttribute("posthog-listener")||(e.setAttribute("posthog-listener","true"),e.addEventListener(n??"click",()=>{r&&(typeof t=="string"?r.capture(t):r.capture(t.name,t.properties))}))},tR={mounted:Ng,updated:Ng},nR=ft(({vueApp:e})=>{e.directive("posthog-capture",tR)});var rR;function iR(){return rR}function sR(e){return typeof e=="function"?e():ge(e)}function Uu(e){if(e instanceof Promise||e instanceof Date||e instanceof RegExp)return e;const t=sR(e);if(!e||!t)return t;if(Array.isArray(t))return t.map(n=>Uu(n));if(typeof t=="object"){const n={};for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(r==="titleTemplate"||r[0]==="o"&&r[1]==="n"){n[r]=ge(t[r]);continue}n[r]=Uu(t[r])}return n}return t}var oR="usehead",Hg=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},jg="__unhead_injection_handler__";function aR(){return jg in Hg?Hg[jg]():lt(oR)||iR()}function lR(e,t={}){const n=t.head||aR();if(n)return n.ssr?n.push(e,t):cR(n,e,t)}function cR(e,t,n={}){const r=Ye(!1),i=Ye({});cv(()=>{i.value=r.value?{}:Uu(t)});const s=e.push(i.value,n);return bt(i,a=>{s.patch(a)}),Rn()&&(hi(()=>{s.dispose()}),ff(()=>{r.value=!0}),uf(()=>{r.value=!1})),s}var uR={install(e){e.mixin({created(){var n;if(typeof((n=this.$options)==null?void 0:n.jsonld)!="function")return;const t=_e(()=>this.$options.jsonld.call(this));lR(()=>({script:[{type:"application/ld+json",children:t.value?JSON.stringify(t.value,null,""):void 0}]}))}})}},fR=ft(e=>{e.vueApp.use(uR)});const dR=["i18n:plugin","i18n:plugin:ssg-detect","i18n:plugin:route-locale-detect"],hR=ft({name:"nuxt-site-config:i18n",dependsOn:dR,setup(e){const t=e.$i18n;if(!t)return;const n=de().$nuxtSiteConfig,r=wi(t.baseUrl);if(r){const s=n.get({resolveRefs:!0}),o=s.url;if(o&&!o.includes("localhost")){const a=Ys(r,"https://"),l=Ys(o,"https://");a.host!==l.host&&s.env==="production"&&console.error(`[Nuxt Site Config] Your I18n baseUrl \`${a.host}\` doesn't match your site url ${l.host}. This will cause production SEO issues. Either provide a matching baseUrl or remove the site url config.`)}}let i;bt(t.locale,()=>{i&&i();const s=_e(()=>{const o=wi(t.locales).find(a=>a.code===t.defaultLocale);return(o==null?void 0:o.language)||(o==null?void 0:o.iso)||t.defaultLocale});i=n.push({_priority:-1,_context:"@nuxtjs/i18n",url:_e(()=>wi(t.baseUrl)||void 0),defaultLocale:s,currentLocale:_e(()=>{const o=wi(t.localeProperties);return o.language?o.language:s.value}),description:_e(()=>t.te("nuxtSiteConfig.description")?t.t("nuxtSiteConfig.description"):void 0),name:_e(()=>t.te("nuxtSiteConfig.name")?t.t("nuxtSiteConfig.name"):void 0)})},{immediate:!0})}}),pR=ft({name:"i18n:plugin:ssg-detect",dependsOn:["i18n:plugin","i18n:plugin:route-locale-detect"],enforce:"post",setup(){de()}}),gR=[FS,US,gx,YL,QL,ZL,eI,tI,nI,KA,zA,YA,ZA,eR,nR,fR,hR,pR],gb=(e="RouteProvider")=>sn({name:e,props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(t){const n=t.renderKey,r=t.route,i={};for(const s in t.route)Object.defineProperty(i,s,{get:()=>n===t.renderKey?t.route[s]:r[s],enumerable:!0});return ei(po,Wn(i)),()=>tt(t.vnode,{ref:t.vnodeRef})}}),_R=gb(),Ug=new WeakMap,vR=sn({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:r}){const i=de(),s=Ye(),o=lt(po,null);let a;r({pageRef:s});const l=lt(Vv,null);let u;const c=i.deferHydration();if(i.isHydrating){const d=i.hooks.hookOnce("app:error",c);ut().beforeEach(d)}e.pageKey&&bt(()=>e.pageKey,(d,h)=>{d!==h&&i.callHook("page:loading:start")});let f=!1;{const d=ut().beforeResolve(()=>{f=!1});hi(()=>{d()})}return()=>tt(_m,{name:e.name,route:e.route,...t},{default:d=>{const h=yR(o,d.route,d.Component),_=o&&o.matched.length===d.route.matched.length;if(!d.Component){if(u&&!_)return u;c();return}if(u&&l&&!l.isCurrent(d.route))return u;if(h&&o&&(!l||l!=null&&l.isCurrent(o)))return _?u:null;const p=Jc(d,e.pageKey),b=bR(o,d.route,d.Component);!i.isHydrating&&a===p&&!b&&ri(()=>{f=!0,i.callHook("page:loading:end")}),a=p;const v=!!(e.transition??d.route.meta.pageTransition??hh),y=v&&mR([e.transition,d.route.meta.pageTransition,hh,{onBeforeLeave(){i._runningTransition=!0},onAfterLeave(){delete i._runningTransition,i.callHook("page:transition:finish",d.Component)}}]),g=e.keepalive??d.route.meta.keepalive??Ek;return u=vm(v&&y,YC(g,tt(gf,{suspensible:!0,onPending:()=>i.callHook("page:start",d.Component),onResolve:()=>{ri(()=>i.callHook("page:finish",d.Component).then(()=>
44{if(!f&&!b)return f=!0,i.callHook("page:loading:end")}).finally(c))}},{default:()=>{const m={key:p||void 0,vnode:n.default?wR(n.default,d):d.Component,route:d.route,renderKey:p||void 0,trackRootNodes:v,vnodeRef:s};if(!g)return tt(_R,m);const E=d.Component.type,x=E;let L=Ug.get(x);return L||(L=gb(E.name||E.__name),Ug.set(x,L)),tt(L,m)}}))).default(),u}})}});function mR(e){const t=e.filter(Boolean).map(n=>({...n,onAfterLeave:n.onAfterLeave?If(n.onAfterLeave):void 0}));return bf(...t)}function yR(e,t,n){if(!e)return!1;const r=t.matched.findIndex(i=>{var s;return((s=i.components)==null?void 0:s.default)===(n==null?void 0:n.type)});return!r||r===-1?!1:t.matched.slice(0,r).some((i,s)=>{var o,a,l;return((o=i.components)==null?void 0:o.default)!==((l=(a=e.matched[s])==null?void 0:a.components)==null?void 0:l.default)})||n&&Jc({route:t,Component:n})!==Jc({route:e,Component:n})}function bR(e,t,n){return e?t.matched.findIndex(i=>{var s;return((s=i.components)==null?void 0:s.default)===(n==null?void 0:n.type)})<t.matched.length-1:!1}function wR(e,t){const n=e(t);return n.length===1?tt(n[0]):tt(it,void 0,n)}const ER=sn({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>tt(br[e.name],e.layoutProps,t.slots)}}),kR={name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},SR=sn({name:"NuxtLayout",inheritAttrs:!1,props:kR,setup(e,t){const n=de(),r=lt(po),i=r===dl()?qC():r,s=_e(()=>{let l=ge(e.name)??i.meta.layout??"default";return l&&!(l in br)&&e.fallback&&(l=ge(e.fallback)),l}),o=Ye();t.expose({layoutRef:o});const a=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",a);ut().beforeEach(l)}return()=>{const l=s.value&&s.value in br,u=i.meta.layoutTransition??wk;return vm(l&&u,{default:()=>tt(gf,{suspensible:!0,onResolve:()=>{ri(a)}},{default:()=>tt(CR,{layoutProps:mv(t.attrs,{ref:o}),key:s.value||void 0,name:s.value,shouldProvide:!e.name,hasTransition:!!u},t.slots)})}).default()}}}),CR=sn({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(e,t){const n=e.name;return e.shouldProvide&&ei(Vv,{isCurrent:r=>n===(r.meta.layout??"default")}),()=>{var r,i;return!n||typeof n=="string"&&!(n in br)?(i=(r=t.slots).default)==null?void 0:i.call(r):tt(ER,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}});var xR=function(){function e(t,n){n===void 0&&(n=[]),this._eventType=t,this._eventFunctions=n}return e.prototype.init=function(){var t=this;this._eventFunctions.forEach(function(n){typeof window<"u"&&window.addEventListener(t._eventType,n)})},e}(),LR=function(){function e(){this._instances={Accordion:{},Carousel:{},Collapse:{},Dial:{},Dismiss:{},Drawer:{},Dropdown:{},Modal:{},Popover:{},Tabs:{},Tooltip:{},InputCounter:{}}}return e.prototype.addInstance=function(t,n,r,i){if(i===void 0&&(i=!1),!this._instances[t])return console.warn("Flowbite: Component ".concat(t," does not exist.")),!1;if(this._instances[t][r]&&!i){console.warn("Flowbite: Instance with ID ".concat(r," already exists."));return}i&&this._instances[t][r]&&this._instances[t][r].destroyAndRemoveInstance(),this._instances[t][r||this._generateRandomId()]=n},e.prototype.getAllInstances=function(){return this._instances},e.prototype.getInstances=function(t){return this._instances[t]?this._instances[t]:(console.warn("Flowbite: Component ".concat(t," does not exist.")),!1)},e.prototype.getInstance=function(t,n){if(this._componentAndInstanceCheck(t,n)){if(!this._instances[t][n]){console.warn("Flowbite: Instance with ID ".concat(n," does not exist."));return}return this._instances[t][n]}},e.prototype.destroyAndRemoveInstance=function(t,n){this._componentAndInstanceCheck(t,n)&&(this.destroyInstanceObject(t,n),this.removeInstance(t,n))},e.prototype.removeInstance=function(t,n){this._componentAndInstanceCheck(t,n)&&delete this._instances[t][n]},e.prototype.destroyInstanceObject=function(t,n){this._componentAndInstanceCheck(t,n)&&this._instances[t][n].destroy()},e.prototype.instanceExists=function(t,n){return!(!this._instances[t]||!this._instances[t][n])},e.prototype._generateRandomId=function(){return Math.random().toString(36).substr(2,9)},e.prototype._componentAndInstanceCheck=function(t,n){return this._instances[t]?this._instances[t][n]?!0:(console.warn("Flowbite: Instance with ID ".concat(n," does not exist.")),!1):(console.warn("Flowbite: Component ".concat(t," does not exist.")),!1)},e}(),ve=new LR;typeof window<"u"&&(window.FlowbiteInstances=ve);var Na=function(){return Na=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Na.apply(this,arguments)},Ha={alwaysOpen:!1,activeClasses:"bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-white",inactiveClasses:"text-gray-500 dark:text-gray-400",onOpen:function(){},onClose:function(){},onToggle:function(){}},IR={id:null,override:!0},_b=function(){function e(t,n,r,i){t===void 0&&(t=null),n===void 0&&(n=[]),r===void 0&&(r=Ha),i===void 0&&(i=IR),this._instanceId=i.id?i.id:t.id,this._accordionEl=t,this._items=n,this._options=Na(Na({},Ha),r),this._initialized=!1,this.init(),ve.addInstance("Accordion",this,this._instanceId,i.override)}return e.prototype.init=function(){var t=this;
44this._items.length&&!this._initialized&&(this._items.forEach(function(n){n.active&&t.open(n.id);var r=function(){t.toggle(n.id)};n.triggerEl.addEventListener("click",r),n.clickHandler=r}),this._initialized=!0)},e.prototype.destroy=function(){this._items.length&&this._initialized&&(this._items.forEach(function(t){t.triggerEl.removeEventListener("click",t.clickHandler),delete t.clickHandler}),this._initialized=!1)},e.prototype.removeInstance=function(){ve.removeInstance("Accordion",this._instanceId)},e.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},e.prototype.getItem=function(t){return this._items.filter(function(n){return n.id===t})[0]},e.prototype.open=function(t){var n,r,i=this,s=this.getItem(t);this._options.alwaysOpen||this._items.map(function(o){var a,l;o!==s&&((a=o.triggerEl.classList).remove.apply(a,i._options.activeClasses.split(" ")),(l=o.triggerEl.classList).add.apply(l,i._options.inactiveClasses.split(" ")),o.targetEl.classList.add("hidden"),o.triggerEl.setAttribute("aria-expanded","false"),o.active=!1,o.iconEl&&o.iconEl.classList.remove("rotate-180"))}),(n=s.triggerEl.classList).add.apply(n,this._options.activeClasses.split(" ")),(r=s.triggerEl.classList).remove.apply(r,this._options.inactiveClasses.split(" ")),s.triggerEl.setAttribute("aria-expanded","true"),s.targetEl.classList.remove("hidden"),s.active=!0,s.iconEl&&s.iconEl.classList.add("rotate-180"),this._options.onOpen(this,s)},e.prototype.toggle=function(t){var n=this.getItem(t);n.active?this.close(t):this.open(t),this._options.onToggle(this,n)},e.prototype.close=function(t){var n,r,i=this.getItem(t);(n=i.triggerEl.classList).remove.apply(n,this._options.activeClasses.split(" ")),(r=i.triggerEl.classList).add.apply(r,this._options.inactiveClasses.split(" ")),i.targetEl.classList.add("hidden"),i.triggerEl.setAttribute("aria-expanded","false"),i.active=!1,i.iconEl&&i.iconEl.classList.remove("rotate-180"),this._options.onClose(this,i)},e}();function Zf(){document.querySelectorAll("[data-accordion]").forEach(function(e){var t=e.getAttribute("data-accordion"),n=e.getAttribute("data-active-classes"),r=e.getAttribute("data-inactive-classes"),i=[];e.querySelectorAll("[data-accordion-target]").forEach(function(s){if(s.closest("[data-accordion]")===e){var o={id:s.getAttribute("data-accordion-target"),triggerEl:s,targetEl:document.querySelector(s.getAttribute("data-accordion-target")),iconEl:s.querySelector("[data-accordion-icon]"),active:s.getAttribute("aria-expanded")==="true"};i.push(o)}}),new _b(e,i,{alwaysOpen:t==="open",activeClasses:n||Ha.activeClasses,inactiveClasses:r||Ha.inactiveClasses})})}typeof window<"u"&&(window.Accordion=_b,window.initAccordions=Zf);var ja=function(){return ja=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},ja.apply(this,arguments)},Bg={onCollapse:function(){},onExpand:function(){},onToggle:function(){}},TR={id:null,override:!0},Bu=function(){function e(t,n,r,i){t===void 0&&(t=null),n===void 0&&(n=null),r===void 0&&(r=Bg),i===void 0&&(i=TR),this._instanceId=i.id?i.id:t.id,this._targetEl=t,this._triggerEl=n,this._options=ja(ja({},Bg),r),this._visible=!1,this._initialized=!1,this.init(),ve.addInstance("Collapse",this,this._instanceId,i.override)}return e.prototype.init=function(){var t=this;this._triggerEl&&this._targetEl&&!this._initialized&&(this._triggerEl.hasAttribute("aria-expanded")?this._visible=this._triggerEl.getAttribute("aria-expanded")==="true":this._visible=!this._targetEl.classList.contains("hidden"),this._clickHandler=function(){t.toggle()},this._triggerEl.addEventListener("click",this._clickHandler),this._initialized=!0)},e.prototype.destroy=function(){this._triggerEl&&this._initialized&&(this._triggerEl.removeEventListener("click",this._clickHandler),this._initialized=!1)},e.prototype.removeInstance=function(){ve.removeInstance("Collapse",this._instanceId)},e.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},e.prototype.collapse=function(){this._targetEl.classList.add("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","fal
44se"),this._visible=!1,this._options.onCollapse(this)},e.prototype.expand=function(){this._targetEl.classList.remove("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","true"),this._visible=!0,this._options.onExpand(this)},e.prototype.toggle=function(){this._visible?this.collapse():this.expand(),this._options.onToggle(this)},e}();function ed(){document.querySelectorAll("[data-collapse-toggle]").forEach(function(e){var t=e.getAttribute("data-collapse-toggle"),n=document.getElementById(t);n?ve.instanceExists("Collapse",n.getAttribute("id"))?new Bu(n,e,{},{id:n.getAttribute("id")+"_"+ve._generateRandomId()}):new Bu(n,e):console.error('The target element with id "'.concat(t,'" does not exist. Please check the data-collapse-toggle attribute.'))})}typeof window<"u"&&(window.Collapse=Bu,window.initCollapses=ed);var Gr=function(){return Gr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Gr.apply(this,arguments)},Zo={defaultPosition:0,indicators:{items:[],activeClasses:"bg-white dark:bg-gray-800",inactiveClasses:"bg-white/50 dark:bg-gray-800/50 hover:bg-white dark:hover:bg-gray-800"},interval:3e3,onNext:function(){},onPrev:function(){},onChange:function(){}},AR={id:null,override:!0},vb=function(){function e(t,n,r,i){t===void 0&&(t=null),n===void 0&&(n=[]),r===void 0&&(r=Zo),i===void 0&&(i=AR),this._instanceId=i.id?i.id:t.id,this._carouselEl=t,this._items=n,this._options=Gr(Gr(Gr({},Zo),r),{indicators:Gr(Gr({},Zo.indicators),r.indicators)}),this._activeItem=this.getItem(this._options.defaultPosition),this._indicators=this._options.indicators.items,this._intervalDuration=this._options.interval,this._intervalInstance=null,this._initialized=!1,this.init(),ve.addInstance("Carousel",this,this._instanceId,i.override)}return e.prototype.init=function(){var t=this;this._items.length&&!this._initialized&&(this._items.map(function(n){n.el.classList.add("absolute","
44inset-0","transition-transform","transform")}),this._getActiveItem()?this.slideTo(this._getActiveItem().position):this.slideTo(0),this._indicators.map(function(n,r){n.el.addEventListener("click",function(){t.slideTo(r)})}),this._initialized=!0)},e.prototype.destroy=function(){this._initialized&&(this._initialized=!1)},e.prototype.removeInstance=function(){ve.removeInstance("Carousel",this._instanceId)},e.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},e.prototype.getItem=function(t){return this._items[t]},e.prototype.slideTo=function(t){var n=this._items[t],r={left:n.position===0?this._items[this._items.length-1]:this._items[n.position-1],middle:n,right:n.position===this._items.length-1?this._items[0]:this._items[n.position+1]};this._rotate(r),this._setActiveItem(n),this._intervalInstance&&(this.pause(),this.cycle()),this._options.onChange(this)},e.prototype.next=function(){var t=this._getActiveItem(),n=null;t.position===this._items.length-1?n=this._items[0]:n=this._items[t.position+1],this.slideTo(n.position),this._options.onNext(this)},e.prototype.prev=function(){var t=this._getActiveItem(),n=null;t.position===0?n=this._items[this._items.length-1]:n=this._items[t.position-1],this.slideTo(n.position),this._options.onPrev(this)},e.prototype._rotate=function(t){this._items.map(function(n){n.el.classList.add("hidden")}),t.left.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),t.left.el.classList.add("-translate-x-full","z-10"),t.middle.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-10"),t.middle.el.classList.add("translate-x-0","z-20"),t.right.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),t.right.el.classList.add("translate-x-full","z-10")},e.prototype.cycle=function(){var t=this;typeof window<"u"&&(this._intervalInstance=window.setInterval(function(){t.next()},this._intervalDuration))},e.prototype.pause=function(){clearInterval(this._intervalInstance)},e.prototype._getActiveItem=function(){return this._activeItem},e.prototype._setActiveItem=function(t){var n,r,i=this;this._activeItem=t;var s=t.position;this._indicators.length&&(this._indicators.map(function(o){var a,l;o.el.setAttribute("aria-current","false"),(a=o.el.classList).remove.apply(a,i._options.indicators.activeClasses.split(" ")),(l=o.el.classList).add.apply(l,i._options.indicators.inactiveClasses.split(" "))}),(n=this._indicators[s].el.classList).add.apply(n,this._options.indicators.activeClasses.split(" ")),(r=this._indicators[s].el.classList).remove.apply(r,this._options.indicators.inactiveClasses.split(" ")),this._indicators[s].el.setAttribute("aria-current","true"))},e}();function td(){document.querySelectorAll("[data-carousel]").forEach(function(e){var t=e.getAttribute("data-carousel-interval"),n=e.getAttribute("data-carousel")==="slide",r=[],i=0;e.querySelectorAll("[data-carousel-item]").length&&Array.from(e.querySelectorAll("[data-carousel-item]")).map(function(u,c){r.push({position:c,el:u}),u.getAttribute("data-carousel-item")==="active"&&(i=c)});var s=[];e.querySelectorAll("[data-carousel-slide-to]").length&&Array.from(e.querySelectorAll("[data-carousel-slide-to]")).map(function(u){s.push({position:parseInt(u.getAttribute("data-carousel-slide-to")),el:u})});var o=new vb(e,r,{defaultPosition:i,indicators:{items:s},interval:t||Zo.interval});n&&o.cycle();var a=e.querySelector("[data-carousel-next]"),l=e.querySelector("[data-carousel-prev]");a&&a.addEventListener("click",function(){o.next()}),l&&l.addEventListener("click",function(){o.prev()})})}typeof window<"u"&&(window.Carousel=vb,window.initCarousels=td);var Ua=function(){return Ua=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Ua.apply(this,arguments)},Vg={transition:"transition-opacity",duration:300,timing:"ease-out",onHide:function(){}},RR={id:null,override:!0},mb=function(){function e(t,n,r,i){t===void 0&&(t=null),n===void 0&&(n=null),r===void 0&&(r=Vg),i===void 0&&(i=RR),this._instanceId=i.id?i.id:t.id,this._targetEl=t,this._triggerEl=n,this._options=Ua(Ua({},Vg),r),this._initialized=!1,this.init(),ve.addInstance("Dismiss",this,this._instanceId,i.override)}return e.prototype.init=function(){var t=this;this._triggerEl&&this._targetEl&&!this._initialized&&(this._clickHandler=function(){t.hide()},this._triggerEl.addEventListener("click",this._clickHandler),this._initialized=!0)},e.prototype.destroy=function(){this._triggerEl&&this._initialized&&(this._triggerEl.removeEventListener("click",this._clickHandler),this._initialized=!1)},e.prototype.removeInstance=function(){ve.removeInstance("Dismiss",this._instanceId)},e.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},e.prototype.hide=function(){var t=this;this._targetEl.classList.add(this._options.transition,"duration-".concat(this._options.duration),this._options.timing,"opacity-0"),setTimeout(function(){t._targetEl.classList.add("hidden")},this._options.duration),this._options.onHide(this,this._targetEl)},e}();
44function nd(){document.querySelectorAll("[data-dismiss-target]").forEach(function(e){var t=e.getAttribute("data-dismiss-target"),n=document.querySelector(t);n?new mb(n,e):console.error('The dismiss element with id "'.concat(t,'" does not exist. Please check the data-dismiss-target attribute.'))})}typeof window<"u"&&(window.Dismiss=mb,window.initDismisses=nd);var $t="top",nn="bottom",rn="right",Ft="left",rd="auto",_o=[$t,nn,rn,Ft],Yi="start",ao="end",PR="clippingParents",yb="viewport",hs="popper",OR="reference",qg=_o.reduce(function(e,t){return e.concat([t+"-"+Yi,t+"-"+ao])},[]),bb=[].concat(_o,[rd]).reduce(function(e,t){return e.concat([t,t+"-"+Yi,t+"-"+ao])},[]),MR="beforeRead",$R="read",FR="afterRead",DR="beforeMain",NR="main",HR="afterMain",jR="beforeWrite",UR="write",BR="afterWrite",VR=[MR,$R,FR,DR,NR,HR,jR,UR,BR];function An(e){return e?(e.nodeName||"").toLowerCase():null}function Ut(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ui(e){var t=Ut(e).Element;return e instanceof t||e instanceof Element}function Zt(e){var t=Ut(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function id(e){if(typeof ShadowRoot>"u")return!1;var t=Ut(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function qR(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},s=t.elements[n];
vendor: 14,720 bytes, line 44
44!Zt(s)||!An(s)||(Object.assign(s.style,r),Object.keys(i).forEach(function(o){var a=i[o];a===!1?s.removeAttribute(o):s.setAttribute(o,a===!0?"":a)}))})}function WR(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],s=t.attributes[r]||{},o=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),a=o.reduce(function(l,u){return l[u]="",l},{});!Zt(i)||!An(i)||(Object.assign(i.style,a),Object.keys(s).forEach(function(l){i.removeAttribute(l)}))})}}const KR={name:"applyStyles",enabled:!0,phase:"write",fn:qR,effect:WR,requires:["computeStyles"]};function In(e){return e.split("-")[0]}var ni=Math.max,Ba=Math.min,Xi=Math.round;function Vu(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function wb(){return!/^((?!chrome|android).)*safari/i.test(Vu())}function Ji(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,s=1;t&&Zt(e)&&(i=e.offsetWidth>0&&Xi(r.width)/e.offsetWidth||1,s=e.offsetHeight>0&&Xi(r.height)/e.offsetHeight||1);var o=ui(e)?Ut(e):window,a=o.visualViewport,l=!wb()&&n,u=(r.left+(l&&a?a.offsetLeft:0))/i,c=(r.top+(l&&a?a.offsetTop:0))/s,f=r.width/i,d=r.height/s;return{width:f,height:d,top:c,right:u+f,bottom:c+d,left:u,x:u,y:c}}function sd(e){var t=Ji(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Eb(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&id(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function tr(e){return Ut(e).getComputedStyle(e)}function zR(e){return["table","td","th"].indexOf(An(e))>=0}function $r(e){return((ui(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ol(e){return An(e)==="html"?e:e.assignedSlot||e.parentNode||(id(e)?e.host:null)||$r(e)}function Wg(e){return!Zt(e)||tr(e).position==="fixed"?null:e.offsetParent}function GR(e){var t=/firefox/i.test(Vu()),n=/Trident/i.test(Vu());if(n&&Zt(e)){var r=tr(e);if(r.position==="fixed")return null}var i=Ol(e);for(id(i)&&(i=i.host);Zt(i)&&["html","body"].indexOf(An(i))<0;){var s=tr(i);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return i;i=i.parentNode}return null}function vo(e){for(var t=Ut(e),n=Wg(e);n&&zR(n)&&tr(n).position==="static";)n=Wg(n);return n&&(An(n)==="html"||An(n)==="body"&&tr(n).position==="static")?t:n||GR(e)||t}function od(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ds(e,t,n){return ni(e,Ba(t,n))}function YR(e,t,n){var r=Ds(e,t,n);return r>n?n:r}function kb(){return{top:0,right:0,bottom:0,left:0}}function Sb(e){return Object.assign({},kb(),e)}function Cb(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var XR=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Sb(typeof t!="number"?t:Cb(t,_o))};function JR(e){var t,n=e.state,r=e.name,i=e.options,s=n.elements.arrow,o=n.modifiersData.popperOffsets,a=In(n.placement),l=od(a),u=[Ft,rn].indexOf(a)>=0,c=u?"height":"width";if(!(!s||!o)){var f=XR(i.padding,n),d=sd(s),h=l==="y"?$t:Ft,_=l==="y"?nn:rn,p=n.rects.reference[c]+n.rects.reference[l]-o[l]-n.rects.popper[c],b=o[l]-n.rects.reference[l],v=vo(s),y=v?l==="y"?v.clientHeight||0:v.clientWidth||0:0,g=p/2-b/2,m=f[h],E=y-d[c]-f[_],x=y/2-d[c]/2+g,L=Ds(m,x,E),D=l;n.modifiersData[r]=(t={},t[D]=L,t.centerOffset=L-x,t)}}function QR(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||Eb(t.elements.popper,i)&&(t.elements.arrow=i))}const ZR={name:"arrow",enabled:!0,phase:"main",fn:JR,effect:QR,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Qi(e){return e.split("-")[1]}var eP={top:"auto",right:"auto",bottom:"auto",left:"auto"};function tP(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:Xi(n*i)/i||0,y:Xi(r*i)/i||0}}function Kg(e){var t,n=e.popper,r=e.popperRect,i=e.placement,s=e.variation,o=e.offsets,a=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,f=e.isFixed,d=o.x,h=d===void 0?0:d,_=o.y,p=_===void 0?0:_,b=typeof c=="function"?c({x:h,y:p}):{x:h,y:p};h=b.x,p=b.y;var v=o.hasOwnProperty("x"),y=o.hasOwnProperty("y"),g=Ft,m=$t,E=window;if(u){var x=vo(n),L="clientHeight",D="clientWidth";if(x===Ut(n)&&(x=$r(n),tr(x).position!=="static"&&a==="absolute"&&(L="scrollHeight",D="scrollWidth")),x=x,i===$t||(i===Ft||i===rn)&&s===ao){m=nn;var M=f&&x===E&&E.visualViewport?E.visualViewport.height:x[L];p-=M-r.height,p*=l?1:-1}if(i===Ft||(i===$t||i===nn)&&s===ao){g=rn;var $=f&&x===E&&E.visualViewport?E.visualViewport.width:x[D];h-=$-r.width,h*=l?1:-1}}var B=Object.assign({position:a},u&&eP),F=c===!0?tP({x:h,y:p},Ut(n)):{x:h,y:p};if(h=F.x,p=F.y,l){var q;return Object.assign({},B,(q={},q[m]=y?"0":"",q[g]=v?"0":"",q.transform=(E.devicePixelRatio||1)<=1?"translate("+h+"px, "+p+"px)":"translate3d("+h+"px, "+p+"px, 0)",q))}return Object.assign({},B,(t={},t[m]=y?p+"px":"",t[g]=v?h+"px":"",t.transform="",t))}function nP(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,s=n.adaptive,o=s===void 0?!0:s,a=n.roundOffsets,l=a===void 0?!0:a,u={placement:In(t.placement),variation:Qi(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Kg(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Kg(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const rP={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:nP,data:{}};var Bo={passive:!0};function iP(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,s=i===void 0?!0:i,o=r.resize,a=o===void 0?!0:o,l=Ut(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&u.forEach(function(c){c.addEventListener("scroll",n.update,Bo)}),a&&l.addEventListener("resize",n.update,Bo),function(){s&&u.forEach(function(c){c.removeEventListener("scroll",n.update,Bo)}),a&&l.removeEventListener("resize",n.update,Bo)}}const sP={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:iP,data:{}};var oP={left:"right",right:"left",bottom:"top",top:"bottom"};function ea(e){return e.replace(/left|right|bottom|top/g,function(t){return oP[t]})}var aP={start:"end",end:"start"};function zg(e){return e.replace(/start|end/g,function(t){return aP[t]})}function ad(e){var t=Ut(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function ld(e){return Ji($r(e)).left+ad(e).scrollLeft}function lP(e,t){var n=Ut(e),r=$r(e),i=n.visualViewport,s=r.clientWidth,o=r.clientHeight,a=0,l=0;if(i){s=i.width,o=i.height;var u=wb();(u||!u&&t==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:s,height:o,x:a+ld(e),y:l}}function cP(e){var t,n=$r(e),r=ad(e),i=(t=e.ownerDocument)==null?void 0:t.body,s=ni(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=ni(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-r.scrollLeft+ld(e),l=-r.scrollTop;return tr(i||n).direction==="rtl"&&(a+=ni(n.clientWidth,i?i.clientWidth:0)-s),{width:s,height:o,x:a,y:l}}function cd(e){var t=tr(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function xb(e){return["html","body","#document"].indexOf(An(e))>=0?e.ownerDocument.body:Zt(e)&&cd(e)?e:xb(Ol(e))}function Ns(e,t){var n;t===void 0&&(t=[]);var r=xb(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),s=Ut(r),o=i?[s].concat(s.visualViewport||[],cd(r)?r:[]):r,a=t.concat(o);return i?a:a.concat(Ns(Ol(o)))}function qu(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function uP(e,t){var n=Ji(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Gg(e,t,n){return t===yb?qu(lP(e,n)):ui(t)?uP(t,n):qu(cP($r(e)))}function fP(e){var t=Ns(Ol(e)),n=["absolute","fixed"].indexOf(tr(e).position)>=0,r=n&&Zt(e)?vo(e):e;return ui(r)?t.filter(function(i){return ui(i)&&Eb(i,r)&&An(i)!=="body"}):[]}function dP(e,t,n,r){var i=t==="clippingParents"?fP(e):[].concat(t),s=[].concat(i,[n]),o=s[0],a=s.reduce(function(l,u){var c=Gg(e,u,r);return l.top=ni(c.top,l.top),l.right=Ba(c.right,l.right),l.bottom=Ba(c.bottom,l.bottom),l.left=ni(c.left,l.left),l},Gg(e,o,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Lb(e){var t=e.reference,n=e.element,r=e.placement,i=r?In(r):null,s=r?Qi(r):null,o=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,l;switch(i){case $t:l={x:o,y:t.y-n.height};break;case nn:l={x:o,y:t.y+t.height};break;case rn:l={x:t.x+t.width,y:a};break;case Ft:l={x:t.x-n.width,y:a};break;default:l={x:t.x,y:t.y}}var u=i?od(i):null;if(u!=null){var c=u==="y"?"height":"width";switch(s){case Yi:l[u]=l[u]-(t[c]/2-n[c]/2);break;case ao:l[u]=l[u]+(t[c]/2-n[c]/2);break}}return l}function lo(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,s=n.strategy,o=s===void 0?e.strategy:s,a=n.boundary,l=a===void 0?PR:a,u=n.rootBoundary,c=u===void 0?yb:u,f=n.elementContext,d=f===void 0?hs:f,h=n.altBoundary,_=h===void 0?!1:h,p=n.padding,b=p===void 0?0:p,v=Sb(typeof b!="number"?b:Cb(b,_o)),y=d===hs?OR:hs,g=e.rects.popper,m=e.elements[_?y:d],E=dP(ui(m)?m:m.contextElement||$r(e.elements.popper),l,c,o),x=Ji(e.elements.reference),L=Lb({reference:x,element:g,placement:i}),D=qu(Object.assign({},g,L)),M=d===hs?D:x,$={top:E.top-M.top+v.top,bottom:M.bottom-E.bottom+v.bottom,left:E.left-M.left+v.left,right:M.right-E.right+v.right},B=e.modifiersData.offset;if(d===hs&&B){var F=B[i];Object.keys($).forEach(function(q){var ie=[rn,nn].indexOf(q)>=0?1:-1,oe=[$t,nn].indexOf(q)>=0?"y":"x";$[q]+=F[oe]*ie})}return $}function hP(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,s=n.rootBoundary,o=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?bb:l,c=Qi(r),f=c?a?qg:qg.filter(function(_){return Qi(_)===c}):_o,d=f.filter(function(_){return u.indexOf(_)>=0});d.length===0&&(d=f);var h=d.reduce(function(_,p){return _[p]=lo(e,{placement:p,boundary:i,rootBoundary:s,padding:o})[In(p)],_},{});return Object.keys(h).sort(function(_,p){return h[_]-h[p]})}function pP(e){if(In(e)===rd)return[];var t=ea(e);return[zg(e),t,zg(t)]}function gP(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,s=i===void 0?!0:i,o=n.altAxis,a=o===void 0?!0:o,l=n.fallbackPlacements,u=n.padding,c=n.boundary,f=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,_=h===void 0?!0:h,p=n.allowedAutoPlacements,b=t.options.placement,v=In(b),y=v===b,g=l||(y||!_?[ea(b)]:pP(b)),m=[b].concat(g).reduce(function(ke,Ue){return ke.concat(In(Ue)===rd?hP(t,{placement:Ue,boundary:c,rootBoundary:f,padding:u,flipVariations:_,allowedAutoPlacements:p}):Ue)},[]),E=t.rects.reference,x=t.rects.popper,L=new Map,D=!0,M=m[0],$=0;$<m.length;$++){var B=m[$],F=In(B),q=Qi(B)===Yi,ie=[$t,nn].indexOf(F)>=0,oe=ie?"width":"height",W=lo(t,{placement:B,boundary:c,rootBoundary:f,altBoundary:d,padding:u}),ee=ie?q?rn:Ft:q?nn:$t;E[oe]>x[oe]&&(ee=ea(ee));var X=ea(ee),le=[];if(s&&le.push(W[F]<=0),a&&le.push(W[ee]<=0,W[X]<=0),le.every(function(ke){return ke})){M=B,D=!1;break}L.set(B,le)}if(D)for(var Pe=_?3:1,Fe=function(Ue){var Se=m.find(function(H){var z=L.get(H);if(z)return z.slice(0,Ue).every(function(K){return K})});if(Se)return M=Se,"break"},ue=Pe;ue>0;ue--){var Te=Fe(ue);if(Te==="break")break}t.placement!==M&&(t.modifiersData[r]._skip=!0,t.placement=M,t.reset=!0)}}const _P={name:"flip",enabled:!0,phase:"main",fn:gP,requiresIfExists:["offset"],data:{_skip:!1}};function Yg(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Xg(e){return[$t,rn,nn,Ft].some(function(t){return e[t]>=0})}function vP(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,s=t.modifiersData.preventOverflow,o=lo(t,{elementContext:"reference"}),a=lo(t,{altBoundary:!0}),l=Yg(o,r),u=Yg(a,i,s),c=Xg(l),f=Xg(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}const mP={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:vP};function yP(e,t,n){var r=In(e),i=[Ft,$t].indexOf(r)>=0?-1:1,s=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,o=s[0],a=s[1];return o=o||0,a=(a||0)*i,[Ft,rn].indexOf(r)>=0?{x:a,y:o}:{x:o,y:a}}function bP(e){var t=e.state,n=e.options,r=e.name,i=n.offset,s=i===void 0?[0,0]:i,o=bb.reduce(function(c,f){return c[f]=yP(f,t.rects,s),c},{}),a=o[t.placement],l=a.x,u=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=o}const wP={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:bP};function EP(e){var t=e.state,n=e.name;t.modifiersData[n]=Lb({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const kP={name:"popperOffsets",enabled:!0,phase:"read",fn:EP,data:{}};function SP(e){return e==="x"?"y":"x"}function CP(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,s=i===void 0?!0:i,o=n.altAxis,a=o===void 0?!1:o,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,f=n.padding,d=n.tether,h=d===void 0?!0:d,_=n.tetherOffset,p=_===void 0?0:_,b=lo(t,{boundary:l,rootBoundary:u,padding:f,altBoundary:c}),v=In(t.placement),y=Qi(t.placement),g=!y,m=od(v),E=SP(m),x=t.modifiersData.popperOffsets,L=t.rects.reference,D=t.rects.popper,M=typeof p=="function"?p(Object.assign({},t.rects,{placement:t.placement})):p,$=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,F={x:0,y:0};
vendor: 5,604 bytes, line 44
44if(x){if(s){var q,ie=m==="y"?$t:Ft,oe=m==="y"?nn:rn,W=m==="y"?"height":"width",ee=x[m],X=ee+b[ie],le=ee-b[oe],Pe=h?-D[W]/2:0,Fe=y===Yi?L[W]:D[W],ue=y===Yi?-D[W]:-L[W],Te=t.elements.arrow,ke=h&&Te?sd(Te):{width:0,height:0},Ue=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:kb(),Se=Ue[ie],H=Ue[oe],z=Ds(0,L[W],ke[W]),K=g?L[W]/2-Pe-z-Se-$.mainAxis:Fe-z-Se-$.mainAxis,J=g?-L[W]/2+Pe+z+H+$.mainAxis:ue+z+H+$.mainAxis,fe=t.elements.arrow&&vo(t.elements.arrow),be=fe?m==="y"?fe.clientTop||0:fe.clientLeft||0:0,k=(q=B==null?void 0:B[m])!=null?q:0,C=ee+K-k-be,A=ee+J-k,U=Ds(h?Ba(X,C):X,ee,h?ni(le,A):le);x[m]=U,F[m]=U-ee}if(a){var N,w=m==="x"?$t:Ft,S=m==="x"?nn:rn,T=x[E],O=E==="y"?"height":"width",j=T+b[w],V=T-b[S],I=[$t,Ft].indexOf(v)!==-1,R=(N=B==null?void 0:B[E])!=null?N:0,Y=I?j:T-L[O]-D[O]-R+$.altAxis,re=I?T+L[O]+D[O]-R-$.altAxis:V,he=h&&I?YR(Y,T,re):Ds(h?Y:j,T,h?re:V);x[E]=he,F[E]=he-T}t.modifiersData[r]=F}}const xP={name:"preventOverflow",enabled:!0,phase:"main",fn:CP,requiresIfExists:["offset"]};function LP(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function IP(e){return e===Ut(e)||!Zt(e)?ad(e):LP(e)}function TP(e){var t=e.getBoundingClientRect(),n=Xi(t.width)/e.offsetWidth||1,r=Xi(t.height)/e.offsetHeight||1;return n!==1||r!==1}function AP(e,t,n){n===void 0&&(n=!1);var r=Zt(t),i=Zt(t)&&TP(t),s=$r(t),o=Ji(e,i,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((An(t)!=="body"||cd(s))&&(a=IP(t)),Zt(t)?(l=Ji(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):s&&(l.x=ld(s))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function RP(e){var t=new Map,n=new Set,r=[];e.forEach(function(s){t.set(s.name,s)});function i(s){n.add(s.name);var o=[].concat(s.requires||[],s.requiresIfExists||[]);o.forEach(function(a){if(!n.has(a)){var l=t.get(a);l&&i(l)}}),r.push(s)}return e.forEach(function(s){n.has(s.name)||i(s)}),r}function PP(e){var t=RP(e);return VR.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function OP(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function MP(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var Jg={placement:"bottom",modifiers:[],strategy:"absolute"};function Qg(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function $P(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,s=i===void 0?Jg:i;return function(a,l,u){u===void 0&&(u=s);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},Jg,s),modifiersData:{},elements:{reference:a,popper:l},attributes:{},styles:{}},f=[],d=!1,h={state:c,setOptions:function(v){var y=typeof v=="function"?v(c.options):v;p(),c.options=Object.assign({},s,c.options,y),c.scrollParents={reference:ui(a)?Ns(a):a.contextElement?Ns(a.contextElement):[],popper:Ns(l)};var g=PP(MP([].concat(r,c.options.modifiers)));return c.orderedModifiers=g.filter(function(m){return m.enabled}),_(),h.update()},forceUpdate:function(){if(!d){var v=c.elements,y=v.reference,g=v.popper;if(Qg(y,g)){c.rects={reference:AP(y,vo(g),c.options.strategy==="fixed"),popper:sd(g)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function($){return c.modifiersData[$.name]=Object.assign({},$.data)});for(var m=0;m<c.orderedModifiers.length;m++){if(c.reset===!0){c.reset=!1,m=-1;continue}var E=c.orderedModifiers[m],x=E.fn,L=E.options,D=L===void 0?{}:L,M=E.name;typeof x=="function"&&(c=x({state:c,options:D,name:M,instance:h})||c)}}}},update:OP(function(){return new Promise(function(b){h.forceUpdate(),b(c)})}),destroy:function(){p(),d=!0}};if(!Qg(a,l))return h;h.setOptions(u).then(function(b){!d&&u.onFirstUpdate&&u.onFirstUpdate(b)});function _(){c.orderedModifiers.forEach(function(b){var v=b.name,y=b.options,g=y===void 0?{}:y,m=b.effect;if(typeof m=="function"){var E=m({state:c,name:v,instance:h,options:g}),x=function(){};f.push(E||x)}})}function p(){f.forEach(function(b){return b()}),f=[]}return h}}var FP=[sP,kP,rP,KR,wP,_P,xP,ZR,mP],ud=$P({defaultModifiers:FP}),gr=function(){return gr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},gr.apply(this,arguments)},Vo=function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,s;r<i;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))},_r={placement:"bottom",triggerType:"click",offsetSkidding:0,offsetDistance:10,delay:300,ignoreClickOutsideClass:!1,onShow:function(){},onHide:function(){},onToggle:function(){}},DP={id:null,override:!0},Ib=function(){function e(t,n,r,i){t===void 0&&(t=null),n===void 0&&(n=null),r===void 0&&(r=_r),i===void 0&&(i=DP),this._instanceId=i.id?i.id:t.id,this._targetEl=t,this._triggerEl=n,this._options=gr(gr({},_r),r),this._popperInstance=null,this._visible=!1,this._initialized=!1,this.init(),ve.addInstance("Dropdown",this,this._instanceId,i.override)}return e.prototype.init=function(){this._triggerEl&&this._targetEl&&!this._initialized&&(this._popperInstance=this._createPopperInstance(),this._setupEventListeners(),this._initialized=!0)},e.prototype.destroy=function(){var t=this,n=this._getTriggerEvents();
44this._options.triggerType==="click"&&n.showEvents.forEach(function(r){t._triggerEl.removeEventListener(r,t._clickHandler)}),this._options.triggerType==="hover"&&(n.showEvents.forEach(function(r){t._triggerEl.removeEventListener(r,t._hoverShowTriggerElHandler),t._targetEl.removeEventListener(r,t._hoverShowTargetElHandler)}),n.hideEvents.forEach(function(r){t._triggerEl.removeEventListener(r,t._hoverHideHandler),t._targetEl.removeEventListener(r,t._hoverHideHandler)})),this._popperInstance.destroy(),this._initialized=!1},e.prototype.removeInstance=function(){ve.removeInstance("Dropdown",this._instanceId)},e.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},e.prototype._setupEventListeners=function(){var t=this,n=this._getTriggerEvents();this._clickHandler=function(){t.toggle()},this._options.triggerType==="click"&&n.showEvents.forEach(function(r){t._triggerEl.addEventListener(r,t._clickHandler)}),this._hoverShowTriggerElHandler=function(r){r.type==="click"?t.toggle():setTimeout(function(){t.show()},t._options.delay)},this._hoverShowTargetElHandler=function(){t.show()},this._hoverHideHandler=function(){setTimeout(function(){t._targetEl.matches(":hover")||t.hide()},t._options.delay)},this._options.triggerType==="hover"&&(n.showEvents.forEach(function(r){t._triggerEl.addEventListener(r,t._hoverShowTriggerElHandler),t._targetEl.addEventListener(r,t._hoverShowTargetElHandler)}),n.hideEvents.forEach(function(r){t._triggerEl.addEventListener(r,t._hoverHideHandler),t._targetEl.addEventListener(r,t._hoverHideHandler)}))},e.prototype._createPopperInstance=function(){return ud(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[this._options.offsetSkidding,this._options.offsetDistance]}}]})},e.prototype._setupClickOutsideListener=function(){var t=this;this._clickOutsideEventListener=function(n){t._handleClickOutside(n,t._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},e.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},e.prototype._handleClickOutside=function(t,n){var r=t.target,i=this._options.ignoreClickOutsideClass,s=!1;if(i){var o=document.querySelectorAll(".".concat(i));o.forEach(function(a){if(a.contains(r)){s=!0;return}})}r!==n&&!n.contains(r)&&!this._triggerEl.contains(r)&&!s&&this.isVisible()&&this.hide()},e.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","click"],hideEvents:["mouseleave"]};case"click":return{showEvents:["click"],hideEvents:[]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["click"],hideEvents:[]}}},e.prototype.toggle=function(){this.isVisible()?this.hide():this.show(),this._options.onToggle(this)},e.prototype.isVisible=function(){return this._visible},e.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._targetEl.classList.add("block"),this._popperInstance.setOptions(function(t){return gr(gr({},t),{modifiers:Vo(Vo([],t.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},e.prototype.hide=function(){this._targetEl.classList.remove("block"),this._targetEl.classList.add("hidden"),this._popperInstance.setOptions(function(t){return gr(gr({},t),{modifiers:Vo(Vo([],t.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._visible=!1,this._removeClickOutsideListener(),this._options.onHide(this)},e}();function fd(){document.querySelectorAll("[data-dropdown-toggle]").forEach(function(e){var t=e.getAttribute("data-dropdown-toggle"),n=document.getElementById(t);if(n){var r=e.getAttribute("data-dropdown-placement"),i=e.getAttribute("data-dropdown-offset-skidding"),s=e.getAttribute("data-dropdown-offset-distance"),o=e.getAttribute("data-dropdown-trigger"),a=e.getAttribute("data-dropdown-delay"),l=e.getAttribute("data-dropdown-ignore-click-outside-class");new Ib(n,e,{placement:r||_r.placement,triggerType:o||_r.triggerType,offsetSkidding:i?parseInt(i):_r.offsetSkidding,offsetDistance:s?parseInt(s):_r.offsetDistance,delay:a?parseInt(a):_r.delay,ignoreClickOutsideClass:l||_r.ignoreClickOutsideClass})}else console.error('The dropdown element with id "'.concat(t,'" does not exist. Please check the data-dropdown-toggle attribute.'))})}typeof window<"u"&&(window.Dropdown=Ib,window.initDropdowns=fd);var Va=function(){return Va=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Va.apply(this,arguments)},qa={placement:"center",backdropClasses:"bg-gray-900/50 dark:bg-gray-900/80 fixed inset-0 z-40",backdrop:"dynamic",closable:!0,onHide:function(){},onShow:function(){},onToggle:function(){}},NP={id:null,override:!0},Tb=function(){function e(t,n,r){t===void 0&&(t=null),n===void 0&&(n=qa),r===void 0&&(r=NP),this._eventListenerInstances=[],this._instanceId=r.id?r.id:t.id,this._targetEl=t,this._options=Va(Va({},qa),n),this._isHidden=!0,this._backdropEl=null,this._initialized=!1,this.init(),ve.addInstance("Modal",this,this._instanceId,r.override)}return e.prototype.init=function(){var t=this;this._targetEl&&!this._initialized&&(this._getPlacementClasses().map(function(n){t._targetEl.classList.add(n)}),this._initialized=!0)},e.prototype.destroy=function(){this._initialized&&(this.removeAllEventListenerInstances(),this._destroyBackdropEl(),this._initialized=!1)},e.prototype.removeInstance=function(){ve.removeInstance("Modal",this._instanceId)},e.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},e.prototype._createBackdrop=function(){var t;if(this._isHidden){var n=document.createElement("div");n.setAttribute("modal-backdrop",""),(t=n.classList).add.apply(t,this._options.backdropClasses.split(" ")),document.querySelector("body").append(n),this._backdropEl=n}},e.prototype._destroyBackdropEl=function(){this._isHidden||document.querySelector("[modal-backdrop]").remove()},e.prototype._setupModalCloseEventListeners=function(){var t=this;this._options.backdrop==="dynamic"&&(this._clickOutsideEventListener=function(n){t._handleOutsideClick(n.target)},this._targetEl.addEventListener("click",this._clickOutsideEventListener,!0)),this._key
44downEventListener=function(n){n.key==="Escape"&&t.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},e.prototype._removeModalCloseEventListeners=function(){this._options.backdrop==="dynamic"&&this._targetEl.removeEventListener("click",this._clickOutsideEventListener,!0),document.body.removeEventListener("keydown",this._keydownEventListener,!0)},e.prototype._handleOutsideClick=function(t){(t===this._targetEl||t===this._backdropEl&&this.isVisible())&&this.hide()},e.prototype._getPlacementClasses=function(){switch(this._options.placement){case"top-left":return["justify-start","items-start"];case"top-center":return["justify-center","items-start"];case"top-right":return["justify-end","items-start"];case"center-left":return["justify-start","items-center"];case"center":return["justify-center","items-center"];case"center-right":return["justify-end","items-center"];case"bottom-left":return["justify-start","items-end"];case"bottom-center":return["justify-center","items-end"];case"bottom-right":return["justify-end","items-end"];default:return["justify-center","items-center"]}},e.prototype.toggle=function(){this._isHidden?this.show():this.hide(),this._options.onToggle(this)},e.prototype.show=function(){this.isHidden&&(this._targetEl.classList.add("flex"),this._targetEl.classList.remove("hidden"),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._createBackdrop(),this._isHidden=!1,this._options.closable&&this._setupModalCloseEventListeners(),document.body.classList.add("overflow-hidden"),this._options.onShow(this))},e.prototype.hide=function(){this.isVisible&&(this._targetEl.classList.add("hidden"),this._targetEl.classList.remove("flex"),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._destroyBackdropEl(),this._isHidden=!0,document.body.classList.remove("overflow-hidden"),this._options.closable&&this._removeModalCloseEventListeners(),this._options.onHide(this))},e.prototype.isVisible=function(){return!this._isHidden},e.prototype.isHidden=function(){return this._isHidden},e.prototype.addEventListenerInstance=function(t,n,r){this._eventListenerInstances.push({element:t,type:n,handler:r})},e.prototype.removeAllEventListenerInstances=function(){this._eventListenerInstances.map(function(t){t.element.removeEventListener(t.type,t.handler)}),this._eventListenerInstances=[]},e.prototype.getAllEventListenerInstances=function(){return this._eventListenerInstances},e}();function dd(){document.querySelectorAll("[data-modal-target]").forEach(function(e){var t=e.getAttribute("data-modal-target"),n=document.getElementById(t);if(n){var r=n.getAttribute("data-modal-placement"),i=n.getAttribute("data-modal-backdrop");new Tb(n,{placement:r||qa.placement,backdrop:i||qa.backdrop})}
44else console.error("Modal with id ".concat(t," does not exist. Are you sure that the data-modal-target attribute points to the correct modal id?."))}),document.querySelectorAll("[data-modal-toggle]").forEach(function(e){var t=e.getAttribute("data-modal-toggle"),n=document.getElementById(t);if(n){var r=ve.getInstance("Modal",t);if(r){var i=function(){r.toggle()};e.addEventListener("click",i),r.addEventListenerInstance(e,"click",i)}else console.error("Modal with id ".concat(t," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(t," does not exist. Are you sure that the data-modal-toggle attribute points to the correct modal id?"))}),document.querySelectorAll("[data-modal-show]").forEach(function(e){var t=e.getAttribute("data-modal-show"),n=document.getElementById(t);if(n){var r=ve.getInstance("Modal",t);if(r){var i=function(){r.show()};e.addEventListener("click",i),r.addEventListenerInstance(e,"click",i)}else console.error("Modal with id ".concat(t," has not been initialized. Please initialize it using the data-modal-target attribute."))}
44else console.error("Modal with id ".concat(t," does not exist. Are you sure that the data-modal-show attribute points to the correct modal id?"))}),document.querySelectorAll("[data-modal-hide]").forEach(function(e){var t=e.getAttribute("data-modal-hide"),n=document.getElementById(t);if(n){var r=ve.getInstance("Modal",t);if(r){var i=function(){r.hide()};e.addEventListener("click",i),r.addEventListenerInstance(e,"click",i)}else console.error("Modal with id ".concat(t," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(t," does not exist. Are you sure that the data-modal-hide attribute points to the correct modal id?"))})}typeof window<"u"&&(window.Modal=Tb,window.initModals=dd);var Wa=function(){return Wa=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Wa.apply(this,arguments)},Yr={placement:"left",bodyScrolling:!1,backdrop:!0,edge:!1,edgeOffset:"bottom-[60px]",backdropClasses:"bg-gray-900/50 dark:bg-gray-900/80 fixed inset-0 z-30",onShow:function(){},onHide:function(){},onToggle:function(){}},HP={id:null,override:!0},Ab=function(){function e(t,n,r){t===void 0&&(t=null),n===void 0&&(n=Yr),r===void 0&&(r=HP),this._eventListenerInstances=[],this._instanceId=r.id?r.id:t.id,this._targetEl=t,this._options=Wa(Wa({},Yr),n),this._visible=!1,this._initialized=!1,this.init(),ve.addInstance("Drawer",this,this._instanceId,r.override)}return e.prototype.init=function(){var t=this;this._targetEl&&!this._initialized&&(this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.classList.add("transition-transform"),this._getPlacementClasses(this._options.placement).base.map(function(n){t._targetEl.classList.add(n)}),this._handleEscapeKey=function(n){n.key==="Escape"&&t.isVisible()&&t.hide()},document.addEventListener("keydown",this._handleEscapeKey),this._initialized=!0)},e.prototype.destroy=function(){this._initialized&&(this.removeAllEventListenerInstances(),this._destroyBackdropEl(),document.removeEventListener("keydown",this._handleEscapeKey),this._initialized=!1)},e.prototype.removeInstance=function(){ve.removeInstance("Drawer",this._instanceId)},e.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},e.prototype.hide=function(){var t=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(n){t._targetEl.classList.remove(n)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(n){t._targetEl.classList.add(n)})):(this._getPlacementClasses(this._options.placement).active.map(function(n){t._targetEl.classList.remove(n)}),this._getPlacementClasses(this._options.placement).inactive.map(function(n){t._targetEl.classList.add(n)})),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._options.bodyScrolling||document.body.classList.remove("overflow-hidden"),this._options.backdrop&&this._destroyBackdropEl(),this._visible=!1,this._options.onHide(this)},e.prototype.show=function(){var t=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(n){t._targetEl.classList.add(n)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(n){t._targetEl.classList.remove(n)})):(this._getPlacementClasses(this._options.placement).active.map(function(n){t._targetEl.classList.add(n)}),this._getPlacementClasses(this._options.placement).inactive.map(function(n){t._targetEl.classList.remove(n)})),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._options.bodyScrolling||document.body.classList.add("overflow-hidden"),this._options.backdrop&&this._createBackdrop(),this._visible=!0,this._options.onShow(this)},e.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},e.prototype._createBackdrop=function(){var t,n=this;if(!this._visible){var r=document.createElement("div");r.setAttribute("drawer-backdrop",""),(t=r.classList).add.apply(t,this._options.backdropClasses.split(" ")),document.querySelector("body").append(r),r.addEventListener("click",function(){n.hide()})}},e.prototype._destroyBackdropEl=function(){this._visible&&document.querySelector("[drawer-backdrop]").remove()},e.prototype._getPlacementClasses=function(t){switch(t){case"top":return{base:["top-0","left-0","right-0"],active:["transform-none"],inactive:["-translate-y-full"]};case"right":return{base:["right-0","top-0"],active:["transform-none"],inactive:["translate-x-full"]};case"bottom":return{base:["bottom-0","left-0","right-0"],active:["transform-none"],inactive:["translate-y-full"]};case"left":return{base:["left-0","top-0"],active:["transform-none"],inactive:["-translate-x-full"]};case"bottom-edge":return{base:["left-0","top-0"],active:["transform-none"],inactive:["translate-y-full",this._options.edgeOffset]};default:return{base:["left-0","top-0"],active:["transform-none"],inactive:["-translate-x-full"]}}},e.prototype.isHidden=function(){return!this._visible},e.prototype.isVisible=function(){return this._visible},e.prototype.addEventListenerInstance=function(t,n,r){this._eventListenerInstances.push({element:t,type:n,handler:r})},e.prototype.removeAllEventListenerInstances=function(){this._eventListenerInstances.map(function(t){t.element.removeEventListener(t.type,t.handler)}),this._eventListenerInstances=[]},e.prototype.getAllEventListenerInstances=function(){return this._eventListenerInstances},e}();function hd(){document.querySelectorAll("[data-drawer-target]").forEach(function(e){var t=e.getAttribute("data-drawer-target"),n=document.getElementById(t);if(n){var r=e.getAttribute("data-drawer-placement"),i=e.getAttribute("data-drawer-body-scrolling"),s=e.getAttribute("data-drawer-backdrop"),o=e.getAttribute("data-drawer-edge"),a=e.getAttribute("data-drawer-edge-offset");new Ab(n,{placement:r||Yr.placement,bodyScrolling:i?i==="true":Yr.bodyScrolling,backdrop:s?s==="true":Yr.backdrop,edge:o?o==="true":Yr.edge,edgeOffset:a||Yr.edgeOffset})}
44else console.error("Drawer with id ".concat(t," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))}),document.querySelectorAll("[data-drawer-toggle]").forEach(function(e){var t=e.getAttribute("data-drawer-toggle"),n=document.getElementById(t);if(n){var r=ve.getInstance("Drawer",t);if(r){var i=function(){r.toggle()};e.addEventListener("click",i),r.addEventListenerInstance(e,"click",i)}else console.error("Drawer with id ".concat(t," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(t," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))}),document.querySelectorAll("[data-drawer-dismiss], [data-drawer-hide]").forEach(function(e){var t=e.getAttribute("data-drawer-dismiss")?e.getAttribute("data-drawer-dismiss"):e.getAttribute("data-drawer-hide"),n=document.getElementById(t);if(n){var r=ve.getInstance("Drawer",t);if(r){var i=function(){r.hide()};e.addEventListener("click",i),r.addEventListenerInstance(e,"click",i)}else console.error("Drawer with id ".concat(t," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(t," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id"))}),document.querySelectorAll("[data-drawer-show]").forEach(function(e){var t=e.getAttribute("data-drawer-show"),n=document.getElementById(t);if(n){var r=ve.getInstance("Drawer",t);if(r){var i=function(){r.show()};e.addEventListener("click",i),r.addEventListenerInstance(e,"click",i)}else console.error("Drawer with id ".concat(t," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(t," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))})}typeof window<"u"&&(window.Drawer=Ab,window.initDrawers=hd);var Ka=function(){return Ka=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Ka.apply(this,arguments)},Zg={defaultTabId:null,activeClasses:"text-blue-600 hover:text-blue-600 dark:text-blue-500 dark:hover:text-blue-500 border-blue-600 dark:border-blue-500",inactiveClasses:"dark:border-transparent text-gray-500 hover:text-gray-600 dark:text-gray-400 border-gray-100 hover:border-gray-300 dark:border-gray-700 dark:hover:text-gray-300",onShow:function(){}},jP={id:null,override:!0},Rb=function(){function e(t,n,r,i){t===void 0&&(t=null),n===void 0&&(n=[]),r===void 0&&(r=Zg),i===void 0&&(i=jP),this._instanceId=i.id?i.id:t.id,this._tabsEl=t,this._items=n,this._activeTab=r?this.getTab(r.defaultTabId):null,this._options=Ka(Ka({},Zg),r),this._initialized=!1,this.init(),ve.addInstance("Tabs",this,this._tabsEl.id,!0),ve.addInstance("Tabs",this,this._instanceId,i.override)}return e.prototype.init=function(){var t=this;this._items.length&&!this._initialized&&(this._activeTab||this.setActiveTab(this._items[0]),this.show(this._activeTab.id,!0),this._items.map(function(n){n.triggerEl.addEventListener("click",function(){t.show(n.id)})}))},e.prototype.destroy=function(){this._initialized&&(this._initialized=!1)},e.prototype.removeInstance=function(){this.destroy(),ve.removeInstance("Tabs",this._instanceId)},e.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},e.prototype.getActiveTab=function(){return this._activeTab},e.prototype.setActiveTab=function(t){this._activeTab=t},e.prototype.getTab=function(t){return this._items.filter(function(n){return n.id===t})[0]},e.prototype.show=function(t,n){var r,i,s=this;n===void 0&&(n=!1);var o=this.getTab(t);o===this._activeTab&&!n||(this._items.map(function(a){var l,u;a!==o&&((l=a.triggerEl.classList).remove.apply(l,s._options.activeClasses.split(" ")),(u=a.triggerEl.classList).add.apply(u,s._options.inactiveClasses.split(" ")),a.targetEl.classList.add("hidden"),a.triggerEl.setAttribute("aria-selected","false"))}),(r=o.triggerEl.classList).add.apply(r,this._options.activeClasses.split(" ")),(i=o.triggerEl.classList).remove.apply(i,this._options.inactiveClasses.split(" ")),o.triggerEl.setAttribute("aria-selected","true"),o.targetEl.classList.remove("hidden"),this.setActiveTab(o),this._options.onShow(this,o))},e}();function pd(){document.querySelectorAll("[data-tabs-toggle]").forEach(function(e){var t=[],n=null;e.querySelectorAll('[role="tab"]').forEach(function(r){var i=r.getAttribute("aria-selected")==="true",s={id:r.getAttribute("data-tabs-target"),triggerEl:r,targetEl:document.querySelector(r.getAttribute("data-tabs-target"))};t.push(s),i&&(n=s.id)}),new Rb(e,t,{defaultTabId:n})})}typeof window<"u"&&(window.Tabs=Rb,window.initTabs=pd);var vr=function(){return vr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},vr.apply(this,arguments)},qo=function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,s;r<i;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))},za={placement:"top",triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},UP={id:null,override:!0},Pb=function(){function e(t,n,r,i){t===void 0&&(t=null),n===void 0&&(n=null),r===void 0&&(r=za),i===void 0&&(i=UP),this._instanceId=i.id?i.id:t.id,this._targetEl=t,this._triggerEl=n,this._options=vr(vr({},za),r),this._popperInstance=null,this._visible=!1,this._initialized=!1,this.init(),ve.addInstance("Tooltip",this,this._instanceId,i.override)}return e.prototype.init=function(){this._triggerEl&&this._targetEl&&!this._initialized&&(this._setupEventListeners(),this._popperInstance=this._createPopperInstance(),this._initialized=!0)},e.prototype.destroy=function(){var t=this;if(this._initialized){var n=this._getTriggerEvents();
44n.showEvents.forEach(function(r){t._triggerEl.removeEventListener(r,t._showHandler)}),n.hideEvents.forEach(function(r){t._triggerEl.removeEventListener(r,t._hideHandler)}),this._removeKeydownListener(),this._removeClickOutsideListener(),this._popperInstance&&this._popperInstance.destroy(),this._initialized=!1}},e.prototype.removeInstance=function(){ve.removeInstance("Tooltip",this._instanceId)},e.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},e.prototype._setupEventListeners=function(){var t=this,n=this._getTriggerEvents();this._showHandler=function(){t.show()},this._hideHandler=function(){t.hide()},n.showEvents.forEach(function(r){t._triggerEl.addEventListener(r,t._showHandler)}),n.hideEvents.forEach(function(r){t._triggerEl.addEventListener(r,t._hideHandler)})},e.prototype._createPopperInstance=function(){return ud(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,8]}}]})},e.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},e.prototype._setupKeydownListener=function(){var t=this;this._keydownEventListener=function(n){n.key==="Escape"&&t.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},e.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},e.prototype._setupClickOutsideListener=function(){var t=this;this._clickOutsideEventListener=function(n){t._handleClickOutside(n,t._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},e.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},e.prototype._handleClickOutside=function(t,n){var r=t.target;r!==n&&!n.contains(r)&&!this._triggerEl.contains(r)&&this.isVisible()&&this.hide()},e.prototype.isVisible=function(){return this._visible},e.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},e.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions(function(t){return vr(vr({},t),{modifiers:qo(qo([],t.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._setupKeydownListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},e.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions(function(t){return vr(vr({},t),{modifiers:qo(qo([],t.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},e}();function gd(){document.querySelectorAll("[data-tooltip-target]").forEach(function(e){var t=e.getAttribute("data-tooltip-target"),n=document.getElementById(t);if(n){var r=e.getAttribute("data-tooltip-trigger"),i=e.getAttribute("data-tooltip-placement");new Pb(n,e,{placement:i||za.placement,triggerType:r||za.triggerType})}else console.error('The tooltip element with id "'.concat(t,'" does not exist. Please check the data-tooltip-target attribute.'))})}typeof window<"u"&&(window.Tooltip=Pb,window.initTooltips=gd);var mr=function(){return mr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},mr.apply(this,arguments)},Wo=function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,s;r<i;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))},Hs={placement:"top",offset:10,triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},BP={id:null,override:!0},Ob=function(){function e(t,n,r,i){t===void 0&&(t=null),n===void 0&&(n=null),r===void 0&&(r=Hs),i===void 0&&(i=BP),this._instanceId=i.id?i.id:t.id,this._targetEl=t,this._triggerEl=n,this._options=mr(mr({},Hs),r),this._popperInstance=null,this._visible=!1,this._initialized=!1,this.init(),ve.addInstance("Popover",this,i.id?i.id:this._targetEl.id,i.override)}return e.prototype.init=function(){this._triggerEl&&this._targetEl&&!this._initialized&&(this._setupEventListeners(),this._popperInstance=this._createPopperInstance(),this._initialized=!0)},e.prototype.destroy=function(){var t=this;if(this._initialized){var n=this._getTriggerEvents();
44n.showEvents.forEach(function(r){t._triggerEl.removeEventListener(r,t._showHandler),t._targetEl.removeEventListener(r,t._showHandler)}),n.hideEvents.forEach(function(r){t._triggerEl.removeEventListener(r,t._hideHandler),t._targetEl.removeEventListener(r,t._hideHandler)}),this._removeKeydownListener(),this._removeClickOutsideListener(),this._popperInstance&&this._popperInstance.destroy(),this._initialized=!1}},e.prototype.removeInstance=function(){ve.removeInstance("Popover",this._instanceId)},e.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},e.prototype._setupEventListeners=function(){var t=this,n=this._getTriggerEvents();this._showHandler=function(){t.show()},this._hideHandler=function(){setTimeout(function(){t._targetEl.matches(":hover")||t.hide()},100)},n.showEvents.forEach(function(r){t._triggerEl.addEventListener(r,t._showHandler),t._targetEl.addEventListener(r,t._showHandler)}),n.hideEvents.forEach(function(r){t._triggerEl.addEventListener(r,t._hideHandler),t._targetEl.addEventListener(r,t._hideHandler)})},e.prototype._createPopperInstance=function(){return ud(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,this._options.offset]}}]})},e.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},e.prototype._setupKeydownListener=function(){var t=this;this._keydownEventListener=function(n){n.key==="Escape"&&t.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},e.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},e.prototype._setupClickOutsideListener=function(){var t=this;this._clickOutsideEventListener=function(n){t._handleClickOutside(n,t._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},e.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},e.prototype._handleClickOutside=function(t,n){var r=t.target;r!==n&&!n.contains(r)&&!this._triggerEl.contains(r)&&this.isVisible()&&this.hide()},e.prototype.isVisible=function(){return this._visible},e.prototype.toggle=function(){this.isVisible()?this.hide():this.show(),this._options.onToggle(this)},e.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions(function(t){return mr(mr({},t),{modifiers:Wo(Wo([],t.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._setupKeydownListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},e.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions(function(t){return mr(mr({},t),{modifiers:Wo(Wo([],t.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},e}();function _d(){document.querySelectorAll("[data-popover-target]").forEach(function(e){var t=e.getAttribute("data-popover-target"),n=document.getElementById(t);if(n){var r=e.getAttribute("data-popover-trigger"),i=e.getAttribute("data-popover-placement"),s=e.getAttribute("data-popover-offset");new Ob(n,e,{placement:i||Hs.placement,offset:s?parseInt(s):Hs.offset,triggerType:r||Hs.triggerType})}else console.error('The popover element with id "'.concat(t,'" does not exist. Please check the data-popover-target attribute.'))})}typeof window<"u"&&(window.Popover=Ob,window.initPopovers=_d);var Ga=function(){return Ga=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Ga.apply(this,arguments)},Wu={triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},VP={id:null,override:!0},Mb=function(){function e(t,n,r,i,s){t===void 0&&(t=null),n===void 0&&(n=null),r===void 0&&(r=null),i===void 0&&(i=Wu),s===void 0&&(s=VP),this._instanceId=s.id?s.id:r.id,this._parentEl=t,this._triggerEl=n,this._targetEl=r,this._options=Ga(Ga({},Wu),i),this._visible=!1,this._initialized=!1,this.init(),ve.addInstance("Dial",this,this._instanceId,s.override)}return e.prototype.init=function(){var t=this;if(this._triggerEl&&this._targetEl&&!this._initialized){var n=this._getTriggerEventTypes(this._options.triggerType);this._showEventHandler=function(){t.show()}
44,n.showEvents.forEach(function(r){t._triggerEl.addEventListener(r,t._showEventHandler),t._targetEl.addEventListener(r,t._showEventHandler)}),this._hideEventHandler=function(){t._parentEl.matches(":hover")||t.hide()},n.hideEvents.forEach(function(r){t._parentEl.addEventListener(r,t._hideEventHandler)}),this._initialized=!0}},e.prototype.destroy=function(){var t=this;if(this._initialized){var n=this._getTriggerEventTypes(this._options.triggerType);n.showEvents.forEach(function(r){t._triggerEl.removeEventListener(r,t._showEventHandler),t._targetEl.removeEventListener(r,t._showEventHandler)}),n.hideEvents.forEach(function(r){t._parentEl.removeEventListener(r,t._hideEventHandler)}),this._initialized=!1}},e.prototype.removeInstance=function(){ve.removeInstance("Dial",this._instanceId)},e.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},e.prototype.hide=function(){this._targetEl.classList.add("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","false"),this._visible=!1,this._options.onHide(this)},e.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","true"),this._visible=!0,this._options.onShow(this)},e.prototype.toggle=function(){this._visible?this.hide():this.show()},e.prototype.isHidden=function(){return!this._visible},e.prototype.isVisible=function(){return this._visible},e.prototype._getTriggerEventTypes=function(t){switch(t){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},e}();function vd(){document.querySelectorAll("[data-dial-init]").forEach(function(e){var t=e.querySelector("[data-dial-toggle]");if(t){var n=t.getAttribute("data-dial-toggle"),r=document.getElementById(n);if(r){var i=t.getAttribute("data-dial-trigger");new Mb(e,t,r,{triggerType:i||Wu.triggerType})}else console.error("Dial with id ".concat(n," does not exist. Are you sure that the data-dial-toggle attribute points to the correct modal id?"))}else console.error("Dial with id ".concat(e.id," does not have a trigger element. Are you sure that the data-dial-toggle attribute exists?"))})}typeof window<"u"&&(window.Dial=Mb,window.initDials=vd);var Ya=function(){return Ya=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Ya.apply(this,arguments)},e_={minValue:null,maxValue:null,onIncrement:function(){},onDecrement:function(){}},qP={id:null,override:!0},$b=function(){function e(t,n,r,i,s){t===void 0&&(t=null),n===void 0&&(n=null),r===void 0&&(r=null),i===void 0&&(i=e_),s===void 0&&(s=qP),this._instanceId=s.id?s.id:t.id,this._targetEl=t,this._incrementEl=n,this._decrementEl=r,this._options=Ya(Ya({},e_),i),this._initialized=!1,this.init(),ve.addInstance("InputCounter",this,this._instanceId,s.override)}return e.prototype.init=function(){var t=this;this._targetEl&&!this._initialized&&(this._inputHandler=function(n){{var r=n.target;/^\d*$/.test(r.value)||(r.value=r.value.replace(/[^\d]/g,"")),t._options.maxValue!==null&&parseInt(r.value)>t._options.maxValue&&(r.value=t._options.maxValue.toString()),t._options.minValue!==null&&parseInt(r.value)<t._options.minValue&&(r.value=t._options.minValue.toString())}},this._incrementClickHandler=function(){t.increment()},this._decrementClickHandler=function(){t.decrement()},this._targetEl.addEventListener("input",this._inputHandler),this._incrementEl&&this._incrementEl.addEventListener("click",this._incrementClickHandler),this._decrementEl&&this._decrementEl.addEventListener("click",this._decrementClickHandler),this._initialized=!0)},e.prototype.destroy=function(){this._targetEl&&this._initialized&&(this._targetEl.removeEventListener("input",this._inputHandler),this._incrementEl&&this._incrementEl.removeEventListener("click",this._incrementClickHandler),this._decrementEl&&this._decrementEl.removeEventListener("click",this._decrementClickHandler),this._initialized=!1)},e.prototype.removeInstance=function(){ve.removeInstance("InputCounter",this._instanceId)},e.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},e.prototype.getCurrentValue=function(){return parseInt(this._targetEl.value)||0},e.prototype.increment=function(){this._options.maxValue!==null&&this.getCurrentValue()>=this._options.maxValue||(this._targetEl.value=(this.getCurrentValue()+1).toString(),this._options.onIncrement(this))},e.prototype.decrement=function(){this._options.minValue!==null&&this.getCurrentValue()<=this._options.minValue||(this._targetEl.value=(this.getCurrentValue()-1).toString(),this._options.onDecrement
44(this))},e}();function md(){document.querySelectorAll("[data-input-counter]").forEach(function(e){var t=e.id,n=document.querySelector('[data-input-counter-increment="'+t+'"]'),r=document.querySelector('[data-input-counter-decrement="'+t+'"]'),i=e.getAttribute("data-input-counter-min"),s=e.getAttribute("data-input-counter-max");e?ve.instanceExists("InputCounter",e.getAttribute("id"))||new $b(e,n||null,r||null,{minValue:i?parseInt(i):null,maxValue:s?parseInt(s):null}):console.error('The target element with id "'.concat(t,'" does not exist. Please check the data-input-counter attribute.'))})}typeof window<"u"&&(window.InputCounter=$b,window.initInputCounters=md);function Fb(){Zf(),ed(),td(),nd(),fd(),dd(),hd(),pd(),gd(),_d(),vd(),md()}typeof window<"u"&&(window.initFlowbite=Fb);var WP=new xR("load",[Zf,ed,td,nd,fd,dd,hd,pd,gd,_d,vd,md]);WP.init();const KP={__name:"app",setup(e){const{t}=Pl(),{path:n}=dl();return di(()=>{Fb()}),LS({titleTemplate:"%s - OnClock",bodyAttrs:{class:"bg-gray-blue-darker font-sans leading-normal tracking-normal text-gray-100"},script:[{async:!0,src:"https://uptime.betterstack.com/widgets/announcement.js",tagPosition:"head","data-id":"154751",id:154751}],link:[{hid:"apple-touch-icon",rel:"apple-touch-icon",sizes:"180x180",href:"/apple-touch-icon.png"},{hid:"icon",rel:"icon",type:"image/png",sizes:"32x32",href:"/favicon-32x32.png"},{hid:"icon",rel:"icon",type:"image/png",sizes:"16x16",href:"/favicon-16x16.png"},{hid:"manifest",rel:"manifest",href:"/site.webmanifest"}]}),(r,i)=>{const s=vR,o=SR;return Kt(),qn(o,null,{default:Vs(()=>[He(s)]),_:1})}}},zP=fl("/img/logo/logo.svg"),GP=fl("/img/illustrations/error.svg"),YP={class:"bg-gray-blue h-screen"},XP={class:"relative flex flex-col py-16 lg:pt-0 lg:flex-col lg:pb-0 h-screen"},JP={class:"flex flex-col items-start justify-center w-full max-w-xl px-4 mx-auto lg:px-8 lg:max-w-screen-xl"},QP={class:"mb-16 lg:my-40 lg:max-w-lg lg:pr-5"},ZP={class:"max-w-xl mb-6"},eO={class:"max-w-lg mb-6 font-sans text-3xl font-bold tracking-tight text-gray-100 sm:text-4xl sm:leading-none"},tO={class:"text-base text-gray-100 md:text-lg"},nO={class:"flex flex-row items-center"},rO={__name:"error",props:{error:Object},setup(e){return(t,n)=>{const r=Px;return Kt(),_v("div",YP,[Ct("div",XP,[Ct("div",JP,[Ct("div",QP,[Ct("div",ZP,[He(r,{to:"/","aria-label":"OnClock",title:"OnClock",class:"inline-flex items-center mr-8 mb-12"},{default:Vs(()=>n[1]||(n[1]=[Ct("img",{src:zP,class:"w-24"},null,-1),Ct("span",{class:"ml-4 text-6xl font-bold tracking-wide text-gray-100"}," OnClock ",-1)])),_:1,__:[1]}),Ct("h1",eO,ps(e.error.statusCode),1),Ct("p",tO,ps(e.error.statusMessage),1)]),Ct("div",nO,[Ct("button",{onClick:n[0]||(n[0]=i=>t.$router.go(-1)),class:"inline-flex items-center justify-center h-12 px-6 mr-6 font-semibold border-2 border-gray-100 text-gray-100 tracking-wide transition-colors transition-border duration-200 rounded-md shadow-md hover:text-primary hover:border-primary"},ps(t.$t("actions.go-back")),1),He(r,{to:"/","aria-label":"",class:"inline-flex items-center justify-center h-12 px-6 mr-6 font-semibold border-2 border-gray-100 text-gray-100 tracking-wide transition-colors transition-border duration-200 rounded-md shadow-md hover:text-primary hover:border-primary"},{default:Vs(()=>[_f(ps(t.$t("navbar.home")),1)]),_:1})])])]),n[2]||(n[2]=Ct("div",{class:"right-0 w-full px-4 mx-auto lg:pl-8 lg:pr-0 lg:mb-0 lg:mx-0 lg:w-1/2 lg:max-w-full lg:absolute bg-gray-blue"},[Ct("div",{class:"flex flex-col justify-center items-end py-4 lg:h-screen"},[Ct("img",{class:"object-fit w-full h-56 rounded lg:rounded-none sm:h-96 lg:h-96",src:GP,alt:"Error illustration"})])],-1))])])}}},iO={key:0},t_={__name:"nuxt-root",setup(e){const t=()=>null,n=de(),r=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",r);ut().beforeEach(l)}const i=!1;ei(po,dl()),n.hooks.callHookWith(l=>l.map(u=>u()),"vue:setup");const s=hl(),o=!1;V_((l,u,c)=>{if(n.hooks.callHook("vue:error",l,u,c).catch(f=>console.error("[nuxt] Error in `vue:error` hook",f)),Wv(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>Wr(l)),!1});const a=!1;return(l,u)=>
44(Kt(),qn(gf,{onResolve:ge(r)},{default:Vs(()=>[ge(o)?(Kt(),_v("div",iO)):ge(s)?(Kt(),qn(ge(rO),{key:1,error:ge(s)},null,8,["error"])):ge(a)?(Kt(),qn(ge(t),{key:2,context:ge(a)},null,8,["context"])):ge(i)?(Kt(),qn(Y0(ge(i)),{key:3})):(Kt(),qn(ge(KP),{key:4}))]),_:1},8,["onResolve"]))}};let n_;{let e;n_=async function(){var o,a;if(e)return e;const r=!!(((o=window.__NUXT__)==null?void 0:o.serverRendered)??((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?gE(t_):pE(t_),i=Ik({vueApp:r});async function s(l){var u;await i.callHook("app:error",l),(u=i.payload).error||(u.error=ti(l))}r.config.errorHandler=s,i.hook("app:suspense:resolve",()=>{r.config.errorHandler===s&&(r.config.errorHandler=void 0)});try{await Rk(i,gR)}catch(l){s(l)}try{await i.hooks.callHook("app:created",r),await i.hooks.callHook("app:beforeMount",r),r.mount(Ck),await i.hooks.callHook("app:mounted",r),await ri()}catch(l){s(l)}return r},e=n_().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Tr as $,ri as A,x_ as B,uo as C,Ib as D,ta as E,it as F,Fi as G,de as H,zP as I,uO as J,Qu as K,qn as L,oO as M,qe as N,dO as O,dl as P,_O as Q,gO as R,LS as S,qw as T,lO as U,tt as V,Zs as W,cO as X,Y0 as Y,pO as Z,Px as _,Ct as a,He as b,_v as c,_f as d,ge as e,_e as f,Ye as g,di as h,lt as i,cv as j,bt as k,hi as l,ff as m,uf as n,Kt as o,fl as p,Rn as q,Rd as r,sn as s,ps as t,Pl as u,Ju as v,Vs as w,fO as x,aO as y,hO 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.