const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./default-BdaTlbaW.js","./default-CmdaPMSp.css","./index-DDM9P6IV.js","./ExamConfigEditor-BzFaHh6i.js","./dataProvider-MQ8YacC2.js","./serverRotation-CjK7Y7P9.js","./VAlert-DFIvt6kt.js","./VAlert-D_OX1cfW.css","./VSkeletonLoader-DX2FpkIS.js","./VSkeletonLoader-C11ZEozu.css","./VTooltip-COe_nB02.js","./VTooltip-D7EaNDeY.css","./VChip-vdRDApTi.js","./VChip-Dmz_1Lnv.css","./VRow-CPw1R1BU.js","./VTextField-C579e7l1.js","./VTextField-D1VSzmed.css","./VTextarea-jqnFSwaH.js","./VTextarea-_xVwaw_z.css","./VSwitch-CjVC2rsZ.js","./VSwitch-C87GkfUP.css","./filter-ByuXXWRY.js","./VCheckboxBtn-CylQNaxd.js","./filter-DEjKrR5R.css","./VSheet-CuIjBtz7.js","./VSheet-DW_b51tO.css","./ExamConfigEditor-CrmzhmtU.css","./socketClient-BEFY8Nxz.js","./VCombobox-B-HflrVw.js","./VAppBarTitle-DZ_l7t3b.js","./VAppBarTitle-DHaTV8xv.css","./VCombobox-BLfr31LE.css","./deviceEvents-Dj8WEgqu.js","./VPagination-CbPhc6Cb.js","./VPagination-DNe_r2rg.css","./VContainer-DakLDC1m.js","./VForm-Bz_LQtPX.js","./VExpansionPanels-DzF6AfvT.js","./VExpansionPanels-kEj4ZJQK.css","./index-CuoHvzZv.css","./404-BUV7S865.js","./authorize-B6ScKHRa.js","./CacheManagement-DoF_G4xZ.js","./cses2wakeup-CFK6QLBO.js","./VTabsWindowItem-DtW2SDNN.js","./VTabsWindowItem-DsCcWpt1.css","./cses2wakeup-V9ZvMok7.css","./debug-KU27ZD5S.js","./debug-CbS14biG.css","./debug-init-CBNN17PW.js","./debug-socket-sq4UK_d2.js","./_id_-9DDLDO6h.js","./examschedule-DlYuJdDl.js","./examschedule-CU_Gxm4i.css","./index-bqvMdhMd.js","./_id_-DzoDISsJ.js","./settings-BmFKtRQg.js","./settings-eh31GxG-.css","./socket-debugger-qP6I1v4J.js","./socket-debugger-ykBk0O32.css"])))=>i.map(i=>d[i]); (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();const KE="modulepreload",YE=function(e,t){return new URL(e,t).href},uh={},ht=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){const o=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),c=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));s=Promise.allSettled(n.map(l=>{if(l=YE(l,r),l in uh)return;uh[l]=!0;const u=l.endsWith(".css"),f=u?'[rel="stylesheet"]':"";if(!!r)for(let p=o.length-1;p>=0;p--){const m=o[p];if(m.href===l&&(!u||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${f}`))return;const h=document.createElement("link");if(h.rel=u?"stylesheet":KE,u||(h.as="script"),h.crossOrigin="",h.href=l,c&&h.setAttribute("nonce",c),document.head.appendChild(h),u)return new Promise((p,m)=>{h.addEventListener("load",p),h.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${l}`)))})}))}function i(o){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return s.then(o=>{for(const a of o||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})};/** * @vue/shared v3.5.27 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function bf(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Be={},Ws=[],On=()=>{},Qg=()=>!1,Cc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Sf=e=>e.startsWith("onUpdate:"),ot=Object.assign,Ef=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},XE=Object.prototype.hasOwnProperty,Le=(e,t)=>XE.call(e,t),fe=Array.isArray,js=e=>Ic(e)==="[object Map]",ey=e=>Ic(e)==="[object Set]",ge=e=>typeof e=="function",Ze=e=>typeof e=="string",ir=e=>typeof e=="symbol",He=e=>e!==null&&typeof e=="object",ty=e=>(He(e)||ge(e))&&ge(e.then)&&ge(e.catch),ny=Object.prototype.toString,Ic=e=>ny.call(e),JE=e=>Ic(e).slice(8,-1),ry=e=>Ic(e)==="[object Object]",kc=e=>Ze(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ji=bf(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),xc=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ZE=/-\w/g,Pt=xc(e=>e.replace(ZE,t=>t.slice(1).toUpperCase())),QE=/\B([A-Z])/g,Pr=xc(e=>e.replace(QE,"-$1").toLowerCase()),pi=xc(e=>e.charAt(0).toUpperCase()+e.slice(1)),ul=xc(e=>e?`on${pi(e)}`:""),Er=(e,t)=>!Object.is(e,t),Sa=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},wf=e=>{const t=parseFloat(e);return isNaN(t)?e:t},e0=e=>{const t=Ze(e)?Number(e):NaN;return isNaN(t)?e:t};let fh;const Rc=()=>fh||(fh=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ze(e){if(fe(e)){const t={};for(let n=0;n{if(n){const r=n.split(n0);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Re(e){let t="";if(Ze(e))t=e;else if(fe(e))for(let n=0;n!!(e&&e.__v_isRef===!0),dn=e=>Ze(e)?e:e==null?"":fe(e)||He(e)&&(e.toString===ny||!ge(e.toString))?oy(e)?dn(e.value):JSON.stringify(e,ay,2):String(e),ay=(e,t)=>oy(t)?ay(e,t.value):js(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],i)=>(n[fl(r,i)+" =>"]=s,n),{})}:ey(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>fl(n))}:ir(t)?fl(t):He(t)&&!fe(t)&&!ry(t)?String(t):t,fl=(e,t="")=>{var n;return ir(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** * @vue/reactivity v3.5.27 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let St;class cy{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=St,!t&&St&&(this.index=(St.scopes||(St.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0&&--this._on===0&&(St=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n0)return;if(qi){let t=qi;for(qi=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;zi;){let t=zi;for(zi=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 dy(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function hy(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),kf(r),a0(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function cu(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(py(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function py(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ao)||(e.globalVersion=ao,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!cu(e))))return;e.flags|=2;const t=e.dep,n=We,r=hn;We=e,hn=!0;try{dy(e);const s=e.fn(e._value);(t.version===0||Er(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{We=n,hn=r,hy(e),e.flags&=-3}}function kf(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)kf(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function a0(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 my=[];function Xn(){my.push(hn),hn=!1}function Jn(){const e=my.pop();hn=e===void 0?!0:e}function dh(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=We;We=void 0;try{t()}finally{We=n}}}let ao=0;class c0{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 xf{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!We||!hn||We===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==We)n=this.activeLink=new c0(We,this),We.deps?(n.prevDep=We.depsTail,We.depsTail.nextDep=n,We.depsTail=n):We.deps=We.depsTail=n,gy(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=We.depsTail,n.nextDep=void 0,We.depsTail.nextDep=n,We.depsTail=n,We.deps===n&&(We.deps=r)}return n}trigger(t){this.version++,ao++,this.notify(t)}notify(t){Cf();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{If()}}}function gy(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)gy(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Va=new WeakMap,es=Symbol(""),lu=Symbol(""),co=Symbol("");function Et(e,t,n){if(hn&&We){let r=Va.get(e);r||Va.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new xf),s.map=r,s.key=n),s.track()}}function Un(e,t,n,r,s,i){const o=Va.get(e);if(!o){ao++;return}const a=c=>{c&&c.trigger()};if(Cf(),t==="clear")o.forEach(a);else{const c=fe(e),l=c&&kc(n);if(c&&n==="length"){const u=Number(r);o.forEach((f,d)=>{(d==="length"||d===co||!ir(d)&&d>=u)&&a(f)})}else switch((n!==void 0||o.has(void 0))&&a(o.get(n)),l&&a(o.get(co)),t){case"add":c?l&&a(o.get("length")):(a(o.get(es)),js(e)&&a(o.get(lu)));break;case"delete":c||(a(o.get(es)),js(e)&&a(o.get(lu)));break;case"set":js(e)&&a(o.get(es));break}}If()}function l0(e,t){const n=Va.get(e);return n&&n.get(t)}function Es(e){const t=ue(e);return t===e?t:(Et(t,"iterate",co),Gt(e)?t:t.map(pn))}function Ac(e){return Et(e=ue(e),"iterate",co),e}function gr(e,t){return Zn(e)?Js(jn(e)?pn(t):t):pn(t)}const u0={__proto__:null,[Symbol.iterator](){return hl(this,Symbol.iterator,e=>gr(this,e))},concat(...e){return Es(this).concat(...e.map(t=>fe(t)?Es(t):t))},entries(){return hl(this,"entries",e=>(e[1]=gr(this,e[1]),e))},every(e,t){return Ln(this,"every",e,t,void 0,arguments)},filter(e,t){return Ln(this,"filter",e,t,n=>n.map(r=>gr(this,r)),arguments)},find(e,t){return Ln(this,"find",e,t,n=>gr(this,n),arguments)},findIndex(e,t){return Ln(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ln(this,"findLast",e,t,n=>gr(this,n),arguments)},findLastIndex(e,t){return Ln(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ln(this,"forEach",e,t,void 0,arguments)},includes(...e){return pl(this,"includes",e)},indexOf(...e){return pl(this,"indexOf",e)},join(e){return Es(this).join(e)},lastIndexOf(...e){return pl(this,"lastIndexOf",e)},map(e,t){return Ln(this,"map",e,t,void 0,arguments)},pop(){return Ni(this,"pop")},push(...e){return Ni(this,"push",e)},reduce(e,...t){return hh(this,"reduce",e,t)},reduceRight(e,...t){return hh(this,"reduceRight",e,t)},shift(){return Ni(this,"shift")},some(e,t){return Ln(this,"some",e,t,void 0,arguments)},splice(...e){return Ni(this,"splice",e)},toReversed(){return Es(this).toReversed()},toSorted(e){return Es(this).toSorted(e)},toSpliced(...e){return Es(this).toSpliced(...e)},unshift(...e){return Ni(this,"unshift",e)},values(){return hl(this,"values",e=>gr(this,e))}};function hl(e,t,n){const r=Ac(e),s=r[t]();return r!==e&&!Gt(e)&&(s._next=s.next,s.next=()=>{const i=s._next();return i.done||(i.value=n(i.value)),i}),s}const f0=Array.prototype;function Ln(e,t,n,r,s,i){const o=Ac(e),a=o!==e&&!Gt(e),c=o[t];if(c!==f0[t]){const f=c.apply(e,i);return a?pn(f):f}let l=n;o!==e&&(a?l=function(f,d){return n.call(this,gr(e,f),d,e)}:n.length>2&&(l=function(f,d){return n.call(this,f,d,e)}));const u=c.call(o,l,r);return a&&s?s(u):u}function hh(e,t,n,r){const s=Ac(e);let i=n;return s!==e&&(Gt(e)?n.length>3&&(i=function(o,a,c){return n.call(this,o,a,c,e)}):i=function(o,a,c){return n.call(this,o,gr(e,a),c,e)}),s[t](i,...r)}function pl(e,t,n){const r=ue(e);Et(r,"iterate",co);const s=r[t](...n);return(s===-1||s===!1)&&Oc(n[0])?(n[0]=ue(n[0]),r[t](...n)):s}function Ni(e,t,n=[]){Xn(),Cf();const r=ue(e)[t].apply(e,n);return If(),Jn(),r}const d0=bf("__proto__,__v_isRef,__isVue"),yy=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ir));function h0(e){ir(e)||(e=String(e));const t=ue(this);return Et(t,"has",e),t.hasOwnProperty(e)}class vy{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(s?i?w0:Ey:i?Sy:by).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=fe(t);if(!s){let c;if(o&&(c=u0[n]))return c;if(n==="hasOwnProperty")return h0}const a=Reflect.get(t,n,qe(t)?t:r);if((ir(n)?yy.has(n):d0(n))||(s||Et(t,"get",n),i))return a;if(qe(a)){const c=o&&kc(n)?a:a.value;return s&&He(c)?Xs(c):c}return He(a)?s?Xs(a):lt(a):a}}class _y extends vy{constructor(t=!1){super(!1,t)}set(t,n,r,s){let i=t[n];const o=fe(t)&&kc(n);if(!this._isShallow){const l=Zn(i);if(!Gt(r)&&!Zn(r)&&(i=ue(i),r=ue(r)),!o&&qe(i)&&!qe(r))return l||(i.value=r),!0}const a=o?Number(n)e,na=e=>Reflect.getPrototypeOf(e);function v0(e,t,n){return function(...r){const s=this.__v_raw,i=ue(s),o=js(i),a=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,l=s[e](...r),u=n?uu:t?Js:pn;return!t&&Et(i,"iterate",c?lu:es),ot(Object.create(l),{next(){const{value:f,done:d}=l.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}}})}}function ra(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function _0(e,t){const n={get(s){const i=this.__v_raw,o=ue(i),a=ue(s);e||(Er(s,a)&&Et(o,"get",s),Et(o,"get",a));const{has:c}=na(o),l=t?uu:e?Js:pn;if(c.call(o,s))return l(i.get(s));if(c.call(o,a))return l(i.get(a));i!==o&&i.get(s)},get size(){const s=this.__v_raw;return!e&&Et(ue(s),"iterate",es),s.size},has(s){const i=this.__v_raw,o=ue(i),a=ue(s);return e||(Er(s,a)&&Et(o,"has",s),Et(o,"has",a)),s===a?i.has(s):i.has(s)||i.has(a)},forEach(s,i){const o=this,a=o.__v_raw,c=ue(a),l=t?uu:e?Js:pn;return!e&&Et(c,"iterate",es),a.forEach((u,f)=>s.call(i,l(u),l(f),o))}};return ot(n,e?{add:ra("add"),set:ra("set"),delete:ra("delete"),clear:ra("clear")}:{add(s){!t&&!Gt(s)&&!Zn(s)&&(s=ue(s));const i=ue(this);return na(i).has.call(i,s)||(i.add(s),Un(i,"add",s,s)),this},set(s,i){!t&&!Gt(i)&&!Zn(i)&&(i=ue(i));const o=ue(this),{has:a,get:c}=na(o);let l=a.call(o,s);l||(s=ue(s),l=a.call(o,s));const u=c.call(o,s);return o.set(s,i),l?Er(i,u)&&Un(o,"set",s,i):Un(o,"add",s,i),this},delete(s){const i=ue(this),{has:o,get:a}=na(i);let c=o.call(i,s);c||(s=ue(s),c=o.call(i,s)),a&&a.call(i,s);const l=i.delete(s);return c&&Un(i,"delete",s,void 0),l},clear(){const s=ue(this),i=s.size!==0,o=s.clear();return i&&Un(s,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=v0(s,e,t)}),n}function Rf(e,t){const n=_0(e,t);return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(Le(n,s)&&s in r?n:r,s,i)}const b0={get:Rf(!1,!1)},S0={get:Rf(!1,!0)},E0={get:Rf(!0,!1)};const by=new WeakMap,Sy=new WeakMap,Ey=new WeakMap,w0=new WeakMap;function T0(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function C0(e){return e.__v_skip||!Object.isExtensible(e)?0:T0(JE(e))}function lt(e){return Zn(e)?e:Af(e,!1,m0,b0,by)}function wy(e){return Af(e,!1,y0,S0,Sy)}function Xs(e){return Af(e,!0,g0,E0,Ey)}function Af(e,t,n,r,s){if(!He(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=C0(e);if(i===0)return e;const o=s.get(e);if(o)return o;const a=new Proxy(e,i===2?r:n);return s.set(e,a),a}function jn(e){return Zn(e)?jn(e.__v_raw):!!(e&&e.__v_isReactive)}function Zn(e){return!!(e&&e.__v_isReadonly)}function Gt(e){return!!(e&&e.__v_isShallow)}function Oc(e){return e?!!e.__v_raw:!1}function ue(e){const t=e&&e.__v_raw;return t?ue(t):e}function Of(e){return!Le(e,"__v_skip")&&Object.isExtensible(e)&&sy(e,"__v_skip",!0),e}const pn=e=>He(e)?lt(e):e,Js=e=>He(e)?Xs(e):e;function qe(e){return e?e.__v_isRef===!0:!1}function Ee(e){return Ty(e,!1)}function be(e){return Ty(e,!0)}function Ty(e,t){return qe(e)?e:new I0(e,t)}class I0{constructor(t,n){this.dep=new xf,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ue(t),this._value=n?t:pn(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Gt(t)||Zn(t);t=r?t:ue(t),Er(t,n)&&(this._rawValue=t,this._value=r?t:pn(t),this.dep.trigger())}}function Ft(e){return qe(e)?e.value:e}function mt(e){return ge(e)?e():Ft(e)}const k0={get:(e,t,n)=>t==="__v_raw"?e:Ft(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return qe(s)&&!qe(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Cy(e){return jn(e)?e:new Proxy(e,k0)}function Mf(e){const t=fe(e)?new Array(e.length):{};for(const n in e)t[n]=Iy(e,n);return t}class x0{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._raw=ue(t);let s=!0,i=t;if(!fe(t)||!kc(String(n)))do s=!Oc(i)||Gt(i);while(s&&(i=i.__v_raw));this._shallow=s}get value(){let t=this._object[this._key];return this._shallow&&(t=Ft(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&qe(this._raw[this._key])){const n=this._object[this._key];if(qe(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return l0(this._raw,this._key)}}class R0{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 Q(e,t,n){return qe(e)?e:ge(e)?new R0(e):He(e)&&arguments.length>1?Iy(e,t,n):Ee(e)}function Iy(e,t,n){return new x0(e,t,n)}class A0{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new xf(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ao-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&We!==this)return fy(this,!0),!0}get value(){const t=this.dep.track();return py(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function O0(e,t,n=!1){let r,s;return ge(e)?r=e:(r=e.get,s=e.set),new A0(r,s,n)}const sa={},Ua=new WeakMap;let Gr;function M0(e,t=!1,n=Gr){if(n){let r=Ua.get(n);r||Ua.set(n,r=[]),r.push(e)}}function P0(e,t,n=Be){const{immediate:r,deep:s,once:i,scheduler:o,augmentJob:a,call:c}=n,l=T=>s?T:Gt(T)||s===!1||s===0?Wn(T,1):Wn(T);let u,f,d,h,p=!1,m=!1;if(qe(e)?(f=()=>e.value,p=Gt(e)):jn(e)?(f=()=>l(e),p=!0):fe(e)?(m=!0,p=e.some(T=>jn(T)||Gt(T)),f=()=>e.map(T=>{if(qe(T))return T.value;if(jn(T))return l(T);if(ge(T))return c?c(T,2):T()})):ge(e)?t?f=c?()=>c(e,2):e:f=()=>{if(d){Xn();try{d()}finally{Jn()}}const T=Gr;Gr=u;try{return c?c(e,3,[h]):e(h)}finally{Gr=T}}:f=On,t&&s){const T=f,O=s===!0?1/0:s;f=()=>Wn(T(),O)}const y=Tf(),g=()=>{u.stop(),y&&y.active&&Ef(y.effects,u)};if(i&&t){const T=t;t=(...O)=>{T(...O),g()}}let v=m?new Array(e.length).fill(sa):sa;const _=T=>{if(!(!(u.flags&1)||!u.dirty&&!T))if(t){const O=u.run();if(s||p||(m?O.some((R,E)=>Er(R,v[E])):Er(O,v))){d&&d();const R=Gr;Gr=u;try{const E=[O,v===sa?void 0:m&&v[0]===sa?[]:v,h];v=O,c?c(t,3,E):t(...E)}finally{Gr=R}}}else u.run()};return a&&a(_),u=new ly(f),u.scheduler=o?()=>o(_,!1):_,h=T=>M0(T,!1,u),d=u.onStop=()=>{const T=Ua.get(u);if(T){if(c)c(T,4);else for(const O of T)O();Ua.delete(u)}},t?r?_(!0):v=u.run():o?o(_.bind(null,!0),!0):u.run(),g.pause=u.pause.bind(u),g.resume=u.resume.bind(u),g.stop=g,g}function Wn(e,t=1/0,n){if(t<=0||!He(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,qe(e))Wn(e.value,t,n);else if(fe(e))for(let r=0;r{Wn(r,t,n)});else if(ry(e)){for(const r in e)Wn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Wn(e[r],t,n)}return e}/** * @vue/runtime-core v3.5.27 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function Po(e,t,n,r){try{return r?e(...r):e()}catch(s){Mc(s,t,n)}}function mn(e,t,n,r){if(ge(e)){const s=Po(e,t,n,r);return s&&ty(s)&&s.catch(i=>{Mc(i,t,n)}),s}if(fe(e)){const s=[];for(let i=0;i>>1,s=Ot[r],i=lo(s);i=lo(n)?Ot.push(e):Ot.splice(L0(t),0,e),e.flags|=1,xy()}}function xy(){Wa||(Wa=ky.then(Ay))}function D0(e){fe(e)?zs.push(...e):yr&&e.id===-1?yr.splice(As+1,0,e):e.flags&1||(zs.push(e),e.flags|=1),xy()}function ph(e,t,n=wn+1){for(;nlo(n)-lo(r));if(zs.length=0,yr){yr.push(...t);return}for(yr=t,As=0;Ase.id==null?e.flags&2?-1:1/0:e.id;function Ay(e){try{for(wn=0;wn{r._d&&Ga(-1);const i=ja(t);let o;try{o=e(...s)}finally{ja(i),r._d&&Ga(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function us(e,t){if(gt===null)return e;const n=$c(gt),r=e.dirs||(e.dirs=[]);for(let s=0;s1)return n&&ge(t)?t.call(r&&r.proxy):t}}function F0(){return!!(mi()||ts)}const $0=Symbol.for("v-scx"),B0=()=>Oe($0);function on(e,t){return Nf(e,null,t)}function Se(e,t,n){return Nf(e,t,n)}function Nf(e,t,n=Be){const{immediate:r,deep:s,flush:i,once:o}=n,a=ot({},n),c=t&&r||!t&&i!=="post";let l;if(ho){if(i==="sync"){const h=B0();l=h.__watcherHandles||(h.__watcherHandles=[])}else if(!c){const h=()=>{};return h.stop=On,h.resume=On,h.pause=On,h}}const u=wt;a.call=(h,p,m)=>mn(h,u,p,m);let f=!1;i==="post"?a.scheduler=h=>{Rt(h,u&&u.suspense)}:i!=="sync"&&(f=!0,a.scheduler=(h,p)=>{p?h():Pf(h)}),a.augmentJob=h=>{t&&(h.flags|=4),f&&(h.flags|=2,u&&(h.id=u.uid,h.i=u))};const d=P0(e,t,a);return ho&&(l?l.push(d):c&&d()),d}function H0(e,t,n){const r=this.proxy,s=Ze(e)?e.includes(".")?My(r,e):()=>r[e]:e.bind(r,r);let i;ge(t)?i=t:(i=t.handler,n=t);const o=Lo(this),a=Nf(s,i.bind(r),n);return o(),a}function My(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;se.__isTeleport,Gi=e=>e&&(e.disabled||e.disabled===""),mh=e=>e&&(e.defer||e.defer===""),gh=e=>typeof SVGElement<"u"&&e instanceof SVGElement,yh=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,fu=(e,t)=>{const n=e&&e.to;return Ze(n)?t?t(n):null:n},Ly={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,i,o,a,c,l){const{mc:u,pc:f,pbc:d,o:{insert:h,querySelector:p,createText:m,createComment:y}}=l,g=Gi(t.props);let{shapeFlag:v,children:_,dynamicChildren:T}=t;if(e==null){const O=t.el=m(""),R=t.anchor=m("");h(O,n,r),h(R,n,r);const E=(I,A)=>{v&16&&u(_,I,A,s,i,o,a,c)},w=()=>{const I=t.target=fu(t.props,p),A=Dy(I,t,m,h);I&&(o!=="svg"&&gh(I)?o="svg":o!=="mathml"&&yh(I)&&(o="mathml"),s&&s.isCE&&(s.ce._teleportTargets||(s.ce._teleportTargets=new Set)).add(I),g||(E(I,A),Ea(t,!1)))};g&&(E(n,R),Ea(t,!0)),mh(t.props)?(t.el.__isMounted=!1,Rt(()=>{w(),delete t.el.__isMounted},i)):w()}else{if(mh(t.props)&&e.el.__isMounted===!1){Rt(()=>{Ly.process(e,t,n,r,s,i,o,a,c,l)},i);return}t.el=e.el,t.targetStart=e.targetStart;const O=t.anchor=e.anchor,R=t.target=e.target,E=t.targetAnchor=e.targetAnchor,w=Gi(e.props),I=w?n:R,A=w?O:E;if(o==="svg"||gh(R)?o="svg":(o==="mathml"||yh(R))&&(o="mathml"),T?(d(e.dynamicChildren,T,I,s,i,o,a),Bf(e,t,!0)):c||f(e,t,I,A,s,i,o,a,!1),g)w?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):ia(t,n,O,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const M=t.target=fu(t.props,p);M&&ia(t,M,null,l,0)}else w&&ia(t,R,E,l,1);Ea(t,g)}},remove(e,t,n,{um:r,o:{remove:s}},i){const{shapeFlag:o,children:a,anchor:c,targetStart:l,targetAnchor:u,target:f,props:d}=e;if(f&&(s(l),s(u)),i&&s(c),o&16){const h=i||!Gi(d);for(let p=0;p{e.isMounted=!0}),yn(()=>{e.isUnmounting=!0}),e}const Jt=[Function,Array],$y={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Jt,onEnter:Jt,onAfterEnter:Jt,onEnterCancelled:Jt,onBeforeLeave:Jt,onLeave:Jt,onAfterLeave:Jt,onLeaveCancelled:Jt,onBeforeAppear:Jt,onAppear:Jt,onAfterAppear:Jt,onAppearCancelled:Jt},By=e=>{const t=e.subTree;return t.component?By(t.component):t},W0={name:"BaseTransition",props:$y,setup(e,{slots:t}){const n=mi(),r=Fy();return()=>{const s=t.default&&Lf(t.default(),!0);if(!s||!s.length)return;const i=Hy(s),o=ue(e),{mode:a}=o;if(r.isLeaving)return ml(i);const c=vh(i);if(!c)return ml(i);let l=uo(c,o,r,n,f=>l=f);c.type!==pt&&fs(c,l);let u=n.subTree&&vh(n.subTree);if(u&&u.type!==pt&&!Yr(u,c)&&By(n).type!==pt){let f=uo(u,o,r,n);if(fs(u,f),a==="out-in"&&c.type!==pt)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,u=void 0},ml(i);a==="in-out"&&c.type!==pt?f.delayLeave=(d,h,p)=>{const m=Vy(r,u);m[String(u.key)]=u,d[Vn]=()=>{h(),d[Vn]=void 0,delete l.delayedLeave,u=void 0},l.delayedLeave=()=>{p(),delete l.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return i}}};function Hy(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==pt){t=n;break}}return t}const j0=W0;function Vy(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 uo(e,t,n,r,s){const{appear:i,mode:o,persisted:a=!1,onBeforeEnter:c,onEnter:l,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:d,onLeave:h,onAfterLeave:p,onLeaveCancelled:m,onBeforeAppear:y,onAppear:g,onAfterAppear:v,onAppearCancelled:_}=t,T=String(e.key),O=Vy(n,e),R=(I,A)=>{I&&mn(I,r,9,A)},E=(I,A)=>{const M=A[1];R(I,A),fe(I)?I.every(x=>x.length<=1)&&M():I.length<=1&&M()},w={mode:o,persisted:a,beforeEnter(I){let A=c;if(!n.isMounted)if(i)A=y||c;else return;I[Vn]&&I[Vn](!0);const M=O[T];M&&Yr(e,M)&&M.el[Vn]&&M.el[Vn](),R(A,[I])},enter(I){let A=l,M=u,x=f;if(!n.isMounted)if(i)A=g||l,M=v||u,x=_||f;else return;let N=!1;const L=I[oa]=G=>{N||(N=!0,G?R(x,[I]):R(M,[I]),w.delayedLeave&&w.delayedLeave(),I[oa]=void 0)};A?E(A,[I,L]):L()},leave(I,A){const M=String(e.key);if(I[oa]&&I[oa](!0),n.isUnmounting)return A();R(d,[I]);let x=!1;const N=I[Vn]=L=>{x||(x=!0,A(),L?R(m,[I]):R(p,[I]),I[Vn]=void 0,O[M]===e&&delete O[M])};O[M]=e,h?E(h,[I,N]):N()},clone(I){const A=uo(I,t,n,r,s);return s&&s(A),A}};return w}function ml(e){if(Nc(e))return e=kr(e),e.children=null,e}function vh(e){if(!Nc(e))return Ny(e.type)&&e.children?Hy(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&&ge(n.default))return n.default()}}function fs(e,t){e.shapeFlag&6&&e.component?(e.transition=t,fs(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 Lf(e,t=!1,n){let r=[],s=0;for(let i=0;i1)for(let i=0;iKi(p,t&&(fe(t)?t[m]:t),n,r,s));return}if(qs(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Ki(e,t,n,r.component.subTree);return}const i=r.shapeFlag&4?$c(r.component):r.el,o=s?null:i,{i:a,r:c}=e,l=t&&t.r,u=a.refs===Be?a.refs={}:a.refs,f=a.setupState,d=ue(f),h=f===Be?Qg:p=>Le(d,p);if(l!=null&&l!==c){if(_h(t),Ze(l))u[l]=null,h(l)&&(f[l]=null);else if(qe(l)){l.value=null;const p=t;p.k&&(u[p.k]=null)}}if(ge(c))Po(c,a,12,[o,u]);else{const p=Ze(c),m=qe(c);if(p||m){const y=()=>{if(e.f){const g=p?h(c)?f[c]:u[c]:c.value;if(s)fe(g)&&Ef(g,i);else if(fe(g))g.includes(i)||g.push(i);else if(p)u[c]=[i],h(c)&&(f[c]=u[c]);else{const v=[i];c.value=v,e.k&&(u[e.k]=v)}}else p?(u[c]=o,h(c)&&(f[c]=o)):m&&(c.value=o,e.k&&(u[e.k]=o))};if(o){const g=()=>{y(),za.delete(e)};g.id=-1,za.set(e,g),Rt(g,n)}else _h(e),y()}}}function _h(e){const t=za.get(e);t&&(t.flags|=8,za.delete(e))}Rc().requestIdleCallback;Rc().cancelIdleCallback;const qs=e=>!!e.type.__asyncLoader,Nc=e=>e.type.__isKeepAlive;function jy(e,t){qy(e,"a",t)}function zy(e,t){qy(e,"da",t)}function qy(e,t,n=wt){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Lc(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Nc(s.parent.vnode)&&z0(r,t,n,s),s=s.parent}}function z0(e,t,n,r){const s=Lc(t,e,r,!0);Gy(()=>{Ef(r[t],s)},n)}function Lc(e,t,n=wt,r=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{Xn();const a=Lo(n),c=mn(t,n,e,o);return a(),Jn(),c});return r?s.unshift(i):s.push(i),i}}const or=e=>(t,n=wt)=>{(!ho||e==="sp")&&Lc(e,(...r)=>t(...r),n)},Dc=or("bm"),Nr=or("m"),q0=or("bu"),Df=or("u"),yn=or("bum"),Gy=or("um"),G0=or("sp"),K0=or("rtg"),Y0=or("rtc");function X0(e,t=wt){Lc("ec",e,t)}const Ky="components";function J0(e,t){return Jy(Ky,e,!0,t)||e}const Yy=Symbol.for("v-ndc");function Xy(e){return Ze(e)?Jy(Ky,e,!1)||e:e||Yy}function Jy(e,t,n=!0,r=!1){const s=gt||wt;if(s){const i=s.type;{const a=Lw(i,!1);if(a&&(a===t||a===Pt(t)||a===pi(Pt(t))))return i}const o=bh(s[e]||i[e],t)||bh(s.appContext[e],t);return!o&&r?i:o}}function bh(e,t){return e&&(e[t]||e[Pt(t)]||e[pi(Pt(t))])}function Z0(e,t,n,r){let s;const i=n,o=fe(e);if(o||Ze(e)){const a=o&&jn(e);let c=!1,l=!1;a&&(c=!Gt(e),l=Zn(e),e=Ac(e)),s=new Array(e.length);for(let u=0,f=e.length;ut(a,c,void 0,i));else{const a=Object.keys(e);s=new Array(a.length);for(let c=0,l=a.length;c{const i=r.fn(...s);return i&&(i.key=r.key),i}:r.fn)}return e}function JB(e,t,n={},r,s){if(gt.ce||gt.parent&&qs(gt.parent)&>.parent.ce){const l=Object.keys(n).length>0;return t!=="default"&&(n.name=t),en(),xn(Ke,null,[F("slot",n,r)],l?-2:64)}let i=e[t];i&&i._c&&(i._d=!1),en();const o=i&&Zy(i(n)),a=n.key||o&&o.key,c=xn(Ke,{key:(a&&!ir(a)?a:`_${t}`)+(!o&&r?"_fb":"")},o||[],o&&e._===1?64:-2);return i&&i._c&&(i._d=!0),c}function Zy(e){return e.some(t=>Zs(t)?!(t.type===pt||t.type===Ke&&!Zy(t.children)):!0)?e:null}const du=e=>e?yv(e)?$c(e):du(e.parent):null,Yi=ot(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=>du(e.parent),$root:e=>du(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ev(e),$forceUpdate:e=>e.f||(e.f=()=>{Pf(e.update)}),$nextTick:e=>e.n||(e.n=dt.bind(e.proxy)),$watch:e=>H0.bind(e)}),gl=(e,t)=>e!==Be&&!e.__isScriptSetup&&Le(e,t),Q0={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:i,accessCache:o,type:a,appContext:c}=e;if(t[0]!=="$"){const d=o[t];if(d!==void 0)switch(d){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(gl(r,t))return o[t]=1,r[t];if(s!==Be&&Le(s,t))return o[t]=2,s[t];if(Le(i,t))return o[t]=3,i[t];if(n!==Be&&Le(n,t))return o[t]=4,n[t];hu&&(o[t]=0)}}const l=Yi[t];let u,f;if(l)return t==="$attrs"&&Et(e.attrs,"get",""),l(e);if((u=a.__cssModules)&&(u=u[t]))return u;if(n!==Be&&Le(n,t))return o[t]=4,n[t];if(f=c.config.globalProperties,Le(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return gl(s,t)?(s[t]=n,!0):r!==Be&&Le(r,t)?(r[t]=n,!0):Le(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,props:i,type:o}},a){let c;return!!(n[a]||e!==Be&&a[0]!=="$"&&Le(e,a)||gl(t,a)||Le(i,a)||Le(r,a)||Le(Yi,a)||Le(s.config.globalProperties,a)||(c=o.__cssModules)&&c[a])},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 Sh(e){return fe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let hu=!0;function ew(e){const t=ev(e),n=e.proxy,r=e.ctx;hu=!1,t.beforeCreate&&Eh(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:a,provide:c,inject:l,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:p,activated:m,deactivated:y,beforeDestroy:g,beforeUnmount:v,destroyed:_,unmounted:T,render:O,renderTracked:R,renderTriggered:E,errorCaptured:w,serverPrefetch:I,expose:A,inheritAttrs:M,components:x,directives:N,filters:L}=t;if(l&&tw(l,r,null),o)for(const j in o){const D=o[j];ge(D)&&(r[j]=D.bind(n))}if(s){const j=s.call(n,n);He(j)&&(e.data=lt(j))}if(hu=!0,i)for(const j in i){const D=i[j],ae=ge(D)?D.bind(n,n):ge(D.get)?D.get.bind(n,n):On,q=!ge(D)&&ge(D.set)?D.set.bind(n):On,ce=U({get:ae,set:q});Object.defineProperty(r,j,{enumerable:!0,configurable:!0,get:()=>ce.value,set:le=>ce.value=le})}if(a)for(const j in a)Qy(a[j],r,n,j);if(c){const j=ge(c)?c.call(n):c;Reflect.ownKeys(j).forEach(D=>{Ct(D,j[D])})}u&&Eh(u,e,"c");function J(j,D){fe(D)?D.forEach(ae=>j(ae.bind(n))):D&&j(D.bind(n))}if(J(Dc,f),J(Nr,d),J(q0,h),J(Df,p),J(jy,m),J(zy,y),J(X0,w),J(Y0,R),J(K0,E),J(yn,v),J(Gy,T),J(G0,I),fe(A))if(A.length){const j=e.exposed||(e.exposed={});A.forEach(D=>{Object.defineProperty(j,D,{get:()=>n[D],set:ae=>n[D]=ae,enumerable:!0})})}else e.exposed||(e.exposed={});O&&e.render===On&&(e.render=O),M!=null&&(e.inheritAttrs=M),x&&(e.components=x),N&&(e.directives=N),I&&Wy(e)}function tw(e,t,n=On){fe(e)&&(e=pu(e));for(const r in e){const s=e[r];let i;He(s)?"default"in s?i=Oe(s.from||r,s.default,!0):i=Oe(s.from||r):i=Oe(s),qe(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[r]=i}}function Eh(e,t,n){mn(fe(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Qy(e,t,n,r){let s=r.includes(".")?My(n,r):()=>n[r];if(Ze(e)){const i=t[e];ge(i)&&Se(s,i)}else if(ge(e))Se(s,e.bind(n));else if(He(e))if(fe(e))e.forEach(i=>Qy(i,t,n,r));else{const i=ge(e.handler)?e.handler.bind(n):t[e.handler];ge(i)&&Se(s,i,e)}}function ev(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,a=i.get(t);let c;return a?c=a:!s.length&&!n&&!r?c=t:(c={},s.length&&s.forEach(l=>qa(c,l,o,!0)),qa(c,t,o)),He(t)&&i.set(t,c),c}function qa(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&qa(e,i,n,!0),s&&s.forEach(o=>qa(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const a=nw[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const nw={data:wh,props:Th,emits:Th,methods:Ui,computed:Ui,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:Ui,directives:Ui,watch:sw,provide:wh,inject:rw};function wh(e,t){return t?e?function(){return ot(ge(e)?e.call(this,this):e,ge(t)?t.call(this,this):t)}:t:e}function rw(e,t){return Ui(pu(e),pu(t))}function pu(e){if(fe(e)){const t={};for(let n=0;nt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Pt(t)}Modifiers`]||e[`${Pr(t)}Modifiers`];function cw(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Be;let s=n;const i=t.startsWith("update:"),o=i&&aw(r,t.slice(7));o&&(o.trim&&(s=n.map(u=>Ze(u)?u.trim():u)),o.number&&(s=n.map(wf)));let a,c=r[a=ul(t)]||r[a=ul(Pt(t))];!c&&i&&(c=r[a=ul(Pr(t))]),c&&mn(c,e,6,s);const l=r[a+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,mn(l,e,6,s)}}const lw=new WeakMap;function nv(e,t,n=!1){const r=n?lw:t.emitsCache,s=r.get(e);if(s!==void 0)return s;const i=e.emits;let o={},a=!1;if(!ge(e)){const c=l=>{const u=nv(l,t,!0);u&&(a=!0,ot(o,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!a?(He(e)&&r.set(e,null),null):(fe(i)?i.forEach(c=>o[c]=null):ot(o,i),He(e)&&r.set(e,o),o)}function Fc(e,t){return!e||!Cc(t)?!1:(t=t.slice(2).replace(/Once$/,""),Le(e,t[0].toLowerCase()+t.slice(1))||Le(e,Pr(t))||Le(e,t))}function Ch(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[i],slots:o,attrs:a,emit:c,render:l,renderCache:u,props:f,data:d,setupState:h,ctx:p,inheritAttrs:m}=e,y=ja(e);let g,v;try{if(n.shapeFlag&4){const T=s||r,O=T;g=Cn(l.call(O,T,u,f,h,d,p)),v=a}else{const T=t;g=Cn(T.length>1?T(f,{attrs:a,slots:o,emit:c}):T(f,null)),v=t.props?a:uw(a)}}catch(T){Xi.length=0,Mc(T,e,1),g=F(pt)}let _=g;if(v&&m!==!1){const T=Object.keys(v),{shapeFlag:O}=_;T.length&&O&7&&(i&&T.some(Sf)&&(v=fw(v,i)),_=kr(_,v,!1,!0))}return n.dirs&&(_=kr(_,null,!1,!0),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&fs(_,n.transition),g=_,ja(y),g}const uw=e=>{let t;for(const n in e)(n==="class"||n==="style"||Cc(n))&&((t||(t={}))[n]=e[n]);return t},fw=(e,t)=>{const n={};for(const r in e)(!Sf(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function dw(e,t,n){const{props:r,children:s,component:i}=e,{props:o,children:a,patchFlag:c}=t,l=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?Ih(r,o,l):!!o;if(c&8){const u=t.dynamicProps;for(let f=0;fObject.create(rv),iv=e=>Object.getPrototypeOf(e)===rv;function pw(e,t,n,r=!1){const s={},i=sv();e.propsDefaults=Object.create(null),ov(e,t,s,i);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=r?s:wy(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function mw(e,t,n,r){const{props:s,attrs:i,vnode:{patchFlag:o}}=e,a=ue(s),[c]=e.propsOptions;let l=!1;if((r||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let f=0;f{c=!0;const[d,h]=av(f,t,!0);ot(o,d),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!c)return He(e)&&r.set(e,Ws),Ws;if(fe(i))for(let u=0;ue==="_"||e==="_ctx"||e==="$stable",$f=e=>fe(e)?e.map(Cn):[Cn(e)],yw=(e,t,n)=>{if(t._n)return t;const r=ft((...s)=>$f(t(...s)),n);return r._c=!1,r},cv=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Ff(s))continue;const i=e[s];if(ge(i))t[s]=yw(s,i,r);else if(i!=null){const o=$f(i);t[s]=()=>o}}},lv=(e,t)=>{const n=$f(t);e.slots.default=()=>n},uv=(e,t,n)=>{for(const r in t)(n||!Ff(r))&&(e[r]=t[r])},vw=(e,t,n)=>{const r=e.slots=sv();if(e.vnode.shapeFlag&32){const s=t._;s?(uv(r,t,n),n&&sy(r,"_",s,!0)):cv(t,r)}else t&&lv(e,t)},_w=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,o=Be;if(r.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:uv(s,t,n):(i=!t.$stable,cv(t,s)),o=t}else t&&(lv(e,t),o={default:1});if(i)for(const a in s)!Ff(a)&&o[a]==null&&delete s[a]},Rt=Tw;function bw(e){return Sw(e)}function Sw(e,t){const n=Rc();n.__VUE__=!0;const{insert:r,remove:s,patchProp:i,createElement:o,createText:a,createComment:c,setText:l,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=On,insertStaticContent:p}=e,m=(b,S,k,P=null,H=null,$=null,ee=void 0,Z=null,B=!!S.dynamicChildren)=>{if(b===S)return;b&&!Yr(b,S)&&(P=C(b),le(b,H,$,!0),b=null),S.patchFlag===-2&&(B=!1,S.dynamicChildren=null);const{type:V,ref:K,shapeFlag:Y}=S;switch(V){case No:y(b,S,k,P);break;case pt:g(b,S,k,P);break;case vl:b==null&&v(S,k,P,ee);break;case Ke:x(b,S,k,P,H,$,ee,Z,B);break;default:Y&1?O(b,S,k,P,H,$,ee,Z,B):Y&6?N(b,S,k,P,H,$,ee,Z,B):(Y&64||Y&128)&&V.process(b,S,k,P,H,$,ee,Z,B,re)}K!=null&&H?Ki(K,b&&b.ref,$,S||b,!S):K==null&&b&&b.ref!=null&&Ki(b.ref,null,$,b,!0)},y=(b,S,k,P)=>{if(b==null)r(S.el=a(S.children),k,P);else{const H=S.el=b.el;S.children!==b.children&&l(H,S.children)}},g=(b,S,k,P)=>{b==null?r(S.el=c(S.children||""),k,P):S.el=b.el},v=(b,S,k,P)=>{[b.el,b.anchor]=p(b.children,S,k,P,b.el,b.anchor)},_=({el:b,anchor:S},k,P)=>{let H;for(;b&&b!==S;)H=d(b),r(b,k,P),b=H;r(S,k,P)},T=({el:b,anchor:S})=>{let k;for(;b&&b!==S;)k=d(b),s(b),b=k;s(S)},O=(b,S,k,P,H,$,ee,Z,B)=>{if(S.type==="svg"?ee="svg":S.type==="math"&&(ee="mathml"),b==null)R(S,k,P,H,$,ee,Z,B);else{const V=b.el&&b.el._isVueCE?b.el:null;try{V&&V._beginPatch(),I(b,S,H,$,ee,Z,B)}finally{V&&V._endPatch()}}},R=(b,S,k,P,H,$,ee,Z)=>{let B,V;const{props:K,shapeFlag:Y,transition:se,dirs:te}=b;if(B=b.el=o(b.type,$,K&&K.is,K),Y&8?u(B,b.children):Y&16&&w(b.children,B,null,P,H,yl(b,$),ee,Z),te&&Ur(b,null,P,"created"),E(B,b,b.scopeId,ee,P),K){for(const Ve in K)Ve!=="value"&&!ji(Ve)&&i(B,Ve,null,K[Ve],$,P);"value"in K&&i(B,"value",null,K.value,$),(V=K.onVnodeBeforeMount)&&Sn(V,P,b)}te&&Ur(b,null,P,"beforeMount");const Te=Ew(H,se);Te&&se.beforeEnter(B),r(B,S,k),((V=K&&K.onVnodeMounted)||Te||te)&&Rt(()=>{V&&Sn(V,P,b),Te&&se.enter(B),te&&Ur(b,null,P,"mounted")},H)},E=(b,S,k,P,H)=>{if(k&&h(b,k),P)for(let $=0;${for(let V=B;V{const Z=S.el=b.el;let{patchFlag:B,dynamicChildren:V,dirs:K}=S;B|=b.patchFlag&16;const Y=b.props||Be,se=S.props||Be;let te;if(k&&Wr(k,!1),(te=se.onVnodeBeforeUpdate)&&Sn(te,k,S,b),K&&Ur(S,b,k,"beforeUpdate"),k&&Wr(k,!0),(Y.innerHTML&&se.innerHTML==null||Y.textContent&&se.textContent==null)&&u(Z,""),V?A(b.dynamicChildren,V,Z,k,P,yl(S,H),$):ee||D(b,S,Z,null,k,P,yl(S,H),$,!1),B>0){if(B&16)M(Z,Y,se,k,H);else if(B&2&&Y.class!==se.class&&i(Z,"class",null,se.class,H),B&4&&i(Z,"style",Y.style,se.style,H),B&8){const Te=S.dynamicProps;for(let Ve=0;Ve{te&&Sn(te,k,S,b),K&&Ur(S,b,k,"updated")},P)},A=(b,S,k,P,H,$,ee)=>{for(let Z=0;Z{if(S!==k){if(S!==Be)for(const $ in S)!ji($)&&!($ in k)&&i(b,$,S[$],null,H,P);for(const $ in k){if(ji($))continue;const ee=k[$],Z=S[$];ee!==Z&&$!=="value"&&i(b,$,Z,ee,H,P)}"value"in k&&i(b,"value",S.value,k.value,H)}},x=(b,S,k,P,H,$,ee,Z,B)=>{const V=S.el=b?b.el:a(""),K=S.anchor=b?b.anchor:a("");let{patchFlag:Y,dynamicChildren:se,slotScopeIds:te}=S;te&&(Z=Z?Z.concat(te):te),b==null?(r(V,k,P),r(K,k,P),w(S.children||[],k,K,H,$,ee,Z,B)):Y>0&&Y&64&&se&&b.dynamicChildren&&b.dynamicChildren.length===se.length?(A(b.dynamicChildren,se,k,H,$,ee,Z),(S.key!=null||H&&S===H.subTree)&&Bf(b,S,!0)):D(b,S,k,K,H,$,ee,Z,B)},N=(b,S,k,P,H,$,ee,Z,B)=>{S.slotScopeIds=Z,b==null?S.shapeFlag&512?H.ctx.activate(S,k,P,ee,B):L(S,k,P,H,$,ee,B):G(b,S,B)},L=(b,S,k,P,H,$,ee)=>{const Z=b.component=Aw(b,P,H);if(Nc(b)&&(Z.ctx.renderer=re),Ow(Z,!1,ee),Z.asyncDep){if(H&&H.registerDep(Z,J,ee),!b.el){const B=Z.subTree=F(pt);g(null,B,S,k),b.placeholder=B.el}}else J(Z,b,S,k,H,$,ee)},G=(b,S,k)=>{const P=S.component=b.component;if(dw(b,S,k))if(P.asyncDep&&!P.asyncResolved){j(P,S,k);return}else P.next=S,P.update();else S.el=b.el,P.vnode=S},J=(b,S,k,P,H,$,ee)=>{const Z=()=>{if(b.isMounted){let{next:Y,bu:se,u:te,parent:Te,vnode:Ve}=b;{const _n=fv(b);if(_n){Y&&(Y.el=Ve.el,j(b,Y,ee)),_n.asyncDep.then(()=>{b.isUnmounted||Z()});return}}let $e=Y,Nt;Wr(b,!1),Y?(Y.el=Ve.el,j(b,Y,ee)):Y=Ve,se&&Sa(se),(Nt=Y.props&&Y.props.onVnodeBeforeUpdate)&&Sn(Nt,Te,Y,Ve),Wr(b,!0);const Lt=Ch(b),vn=b.subTree;b.subTree=Lt,m(vn,Lt,f(vn.el),C(vn),b,H,$),Y.el=Lt.el,$e===null&&hw(b,Lt.el),te&&Rt(te,H),(Nt=Y.props&&Y.props.onVnodeUpdated)&&Rt(()=>Sn(Nt,Te,Y,Ve),H)}else{let Y;const{el:se,props:te}=S,{bm:Te,m:Ve,parent:$e,root:Nt,type:Lt}=b,vn=qs(S);Wr(b,!1),Te&&Sa(Te),!vn&&(Y=te&&te.onVnodeBeforeMount)&&Sn(Y,$e,S),Wr(b,!0);{Nt.ce&&Nt.ce._def.shadowRoot!==!1&&Nt.ce._injectChildStyle(Lt);const _n=b.subTree=Ch(b);m(null,_n,k,P,b,H,$),S.el=_n.el}if(Ve&&Rt(Ve,H),!vn&&(Y=te&&te.onVnodeMounted)){const _n=S;Rt(()=>Sn(Y,$e,_n),H)}(S.shapeFlag&256||$e&&qs($e.vnode)&&$e.vnode.shapeFlag&256)&&b.a&&Rt(b.a,H),b.isMounted=!0,S=k=P=null}};b.scope.on();const B=b.effect=new ly(Z);b.scope.off();const V=b.update=B.run.bind(B),K=b.job=B.runIfDirty.bind(B);K.i=b,K.id=b.uid,B.scheduler=()=>Pf(K),Wr(b,!0),V()},j=(b,S,k)=>{S.component=b;const P=b.vnode.props;b.vnode=S,b.next=null,mw(b,S.props,P,k),_w(b,S.children,k),Xn(),ph(b),Jn()},D=(b,S,k,P,H,$,ee,Z,B=!1)=>{const V=b&&b.children,K=b?b.shapeFlag:0,Y=S.children,{patchFlag:se,shapeFlag:te}=S;if(se>0){if(se&128){q(V,Y,k,P,H,$,ee,Z,B);return}else if(se&256){ae(V,Y,k,P,H,$,ee,Z,B);return}}te&8?(K&16&&Ge(V,H,$),Y!==V&&u(k,Y)):K&16?te&16?q(V,Y,k,P,H,$,ee,Z,B):Ge(V,H,$,!0):(K&8&&u(k,""),te&16&&w(Y,k,P,H,$,ee,Z,B))},ae=(b,S,k,P,H,$,ee,Z,B)=>{b=b||Ws,S=S||Ws;const V=b.length,K=S.length,Y=Math.min(V,K);let se;for(se=0;seK?Ge(b,H,$,!0,!1,Y):w(S,k,P,H,$,ee,Z,B,Y)},q=(b,S,k,P,H,$,ee,Z,B)=>{let V=0;const K=S.length;let Y=b.length-1,se=K-1;for(;V<=Y&&V<=se;){const te=b[V],Te=S[V]=B?vr(S[V]):Cn(S[V]);if(Yr(te,Te))m(te,Te,k,null,H,$,ee,Z,B);else break;V++}for(;V<=Y&&V<=se;){const te=b[Y],Te=S[se]=B?vr(S[se]):Cn(S[se]);if(Yr(te,Te))m(te,Te,k,null,H,$,ee,Z,B);else break;Y--,se--}if(V>Y){if(V<=se){const te=se+1,Te=tese)for(;V<=Y;)le(b[V],H,$,!0),V++;else{const te=V,Te=V,Ve=new Map;for(V=Te;V<=se;V++){const Wt=S[V]=B?vr(S[V]):Cn(S[V]);Wt.key!=null&&Ve.set(Wt.key,V)}let $e,Nt=0;const Lt=se-Te+1;let vn=!1,_n=0;const Pi=new Array(Lt);for(V=0;V=Lt){le(Wt,H,$,!0);continue}let bn;if(Wt.key!=null)bn=Ve.get(Wt.key);else for($e=Te;$e<=se;$e++)if(Pi[$e-Te]===0&&Yr(Wt,S[$e])){bn=$e;break}bn===void 0?le(Wt,H,$,!0):(Pi[bn-Te]=V+1,bn>=_n?_n=bn:vn=!0,m(Wt,S[bn],k,null,H,$,ee,Z,B),Nt++)}const ah=vn?ww(Pi):Ws;for($e=ah.length-1,V=Lt-1;V>=0;V--){const Wt=Te+V,bn=S[Wt],ch=S[Wt+1],lh=Wt+1{const{el:$,type:ee,transition:Z,children:B,shapeFlag:V}=b;if(V&6){ce(b.component.subTree,S,k,P);return}if(V&128){b.suspense.move(S,k,P);return}if(V&64){ee.move(b,S,k,re);return}if(ee===Ke){r($,S,k);for(let Y=0;YZ.enter($),H);else{const{leave:Y,delayLeave:se,afterLeave:te}=Z,Te=()=>{b.ctx.isUnmounted?s($):r($,S,k)},Ve=()=>{$._isLeaving&&$[Vn](!0),Y($,()=>{Te(),te&&te()})};se?se($,Te,Ve):Ve()}else r($,S,k)},le=(b,S,k,P=!1,H=!1)=>{const{type:$,props:ee,ref:Z,children:B,dynamicChildren:V,shapeFlag:K,patchFlag:Y,dirs:se,cacheIndex:te}=b;if(Y===-2&&(H=!1),Z!=null&&(Xn(),Ki(Z,null,k,b,!0),Jn()),te!=null&&(S.renderCache[te]=void 0),K&256){S.ctx.deactivate(b);return}const Te=K&1&&se,Ve=!qs(b);let $e;if(Ve&&($e=ee&&ee.onVnodeBeforeUnmount)&&Sn($e,S,b),K&6)Fe(b.component,k,P);else{if(K&128){b.suspense.unmount(k,P);return}Te&&Ur(b,null,S,"beforeUnmount"),K&64?b.type.remove(b,S,k,re,P):V&&!V.hasOnce&&($!==Ke||Y>0&&Y&64)?Ge(V,S,k,!1,!0):($===Ke&&Y&384||!H&&K&16)&&Ge(B,S,k),P&&ve(b)}(Ve&&($e=ee&&ee.onVnodeUnmounted)||Te)&&Rt(()=>{$e&&Sn($e,S,b),Te&&Ur(b,null,S,"unmounted")},k)},ve=b=>{const{type:S,el:k,anchor:P,transition:H}=b;if(S===Ke){Me(k,P);return}if(S===vl){T(b);return}const $=()=>{s(k),H&&!H.persisted&&H.afterLeave&&H.afterLeave()};if(b.shapeFlag&1&&H&&!H.persisted){const{leave:ee,delayLeave:Z}=H,B=()=>ee(k,$);Z?Z(b.el,$,B):B()}else $()},Me=(b,S)=>{let k;for(;b!==S;)k=d(b),s(b),b=k;s(S)},Fe=(b,S,k)=>{const{bum:P,scope:H,job:$,subTree:ee,um:Z,m:B,a:V}=b;xh(B),xh(V),P&&Sa(P),H.stop(),$&&($.flags|=8,le(ee,b,S,k)),Z&&Rt(Z,S),Rt(()=>{b.isUnmounted=!0},S)},Ge=(b,S,k,P=!1,H=!1,$=0)=>{for(let ee=$;ee{if(b.shapeFlag&6)return C(b.component.subTree);if(b.shapeFlag&128)return b.suspense.next();const S=d(b.anchor||b.el),k=S&&S[Py];return k?d(k):S};let W=!1;const z=(b,S,k)=>{let P;b==null?S._vnode&&(le(S._vnode,null,null,!0),P=S._vnode.component):m(S._vnode||null,b,S,null,null,null,k),S._vnode=b,W||(W=!0,ph(P),Ry(),W=!1)},re={p:m,um:le,m:ce,r:ve,mt:L,mc:w,pc:D,pbc:A,n:C,o:e};return{render:z,hydrate:void 0,createApp:ow(z)}}function yl({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 Wr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ew(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Bf(e,t,n=!1){const r=e.children,s=t.children;if(fe(r)&&fe(s))for(let i=0;i>1,e[n[a]]0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function fv(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:fv(t)}function xh(e){if(e)for(let t=0;te.__isSuspense;function Tw(e,t){t&&t.pendingBranch?fe(e)?t.effects.push(...e):t.effects.push(e):D0(e)}const Ke=Symbol.for("v-fgt"),No=Symbol.for("v-txt"),pt=Symbol.for("v-cmt"),vl=Symbol.for("v-stc"),Xi=[];let qt=null;function en(e=!1){Xi.push(qt=e?null:[])}function Cw(){Xi.pop(),qt=Xi[Xi.length-1]||null}let fo=1;function Ga(e,t=!1){fo+=e,e<0&&qt&&t&&(qt.hasOnce=!0)}function pv(e){return e.dynamicChildren=fo>0?qt||Ws:null,Cw(),fo>0&&qt&&qt.push(e),e}function mv(e,t,n,r,s,i){return pv(ne(e,t,n,r,s,i,!0))}function xn(e,t,n,r,s){return pv(F(e,t,n,r,s,!0))}function Zs(e){return e?e.__v_isVNode===!0:!1}function Yr(e,t){return e.type===t.type&&e.key===t.key}const gv=({key:e})=>e??null,wa=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ze(e)||qe(e)||ge(e)?{i:gt,r:e,k:t,f:!!n}:e:null);function ne(e,t=null,n=null,r=0,s=null,i=e===Ke?0:1,o=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&gv(t),ref:t&&wa(t),scopeId:Oy,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:gt};return a?(Hf(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=Ze(n)?8:16),fo>0&&!o&&qt&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&qt.push(c),c}const F=Iw;function Iw(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===Yy)&&(e=pt),Zs(e)){const a=kr(e,t,!0);return n&&Hf(a,n),fo>0&&!i&&qt&&(a.shapeFlag&6?qt[qt.indexOf(e)]=a:qt.push(a)),a.patchFlag=-2,a}if(Dw(e)&&(e=e.__vccOpts),t){t=kw(t);let{class:a,style:c}=t;a&&!Ze(a)&&(t.class=Re(a)),He(c)&&(Oc(c)&&!fe(c)&&(c=ot({},c)),t.style=ze(c))}const o=Ze(e)?1:hv(e)?128:Ny(e)?64:He(e)?4:ge(e)?2:0;return ne(e,t,n,r,s,o,i,!0)}function kw(e){return e?Oc(e)||iv(e)?ot({},e):e:null}function kr(e,t,n=!1,r=!1){const{props:s,ref:i,patchFlag:o,children:a,transition:c}=e,l=t?Ye(s||{},t):s,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&gv(l),ref:t&&t.ref?n&&i?fe(i)?i.concat(wa(t)):[i,wa(t)]:wa(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ke?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&kr(e.ssContent),ssFallback:e.ssFallback&&kr(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&fs(u,c.clone(u)),u}function Wi(e=" ",t=0){return F(No,null,e,t)}function gu(e="",t=!1){return t?(en(),xn(pt,null,e)):F(pt,null,e)}function Cn(e){return e==null||typeof e=="boolean"?F(pt):fe(e)?F(Ke,null,e.slice()):Zs(e)?vr(e):F(No,null,String(e))}function vr(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:kr(e)}function Hf(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(fe(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Hf(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!iv(t)?t._ctx=gt:s===3&>&&(gt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ge(t)?(t={default:t,_ctx:gt},n=32):(t=String(t),r&64?(n=16,t=[Wi(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ye(...e){const t={};for(let n=0;nwt||gt;let Ka,yu;{const e=Rc(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),i=>{s.length>1?s.forEach(o=>o(i)):s[0](i)}};Ka=t("__VUE_INSTANCE_SETTERS__",n=>wt=n),yu=t("__VUE_SSR_SETTERS__",n=>ho=n)}const Lo=e=>{const t=wt;return Ka(e),e.scope.on(),()=>{e.scope.off(),Ka(t)}},Rh=()=>{wt&&wt.scope.off(),Ka(null)};function yv(e){return e.vnode.shapeFlag&4}let ho=!1;function Ow(e,t=!1,n=!1){t&&yu(t);const{props:r,children:s}=e.vnode,i=yv(e);pw(e,r,i,t),vw(e,s,n||t);const o=i?Mw(e,t):void 0;return t&&yu(!1),o}function Mw(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Q0);const{setup:r}=n;if(r){Xn();const s=e.setupContext=r.length>1?Nw(e):null,i=Lo(e),o=Po(r,e,0,[e.props,s]),a=ty(o);if(Jn(),i(),(a||e.sp)&&!qs(e)&&Wy(e),a){if(o.then(Rh,Rh),t)return o.then(c=>{Ah(e,c)}).catch(c=>{Mc(c,e,0)});e.asyncDep=o}else Ah(e,o)}else vv(e)}function Ah(e,t,n){ge(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:He(t)&&(e.setupState=Cy(t)),vv(e)}function vv(e,t,n){const r=e.type;e.render||(e.render=r.render||On);{const s=Lo(e);Xn();try{ew(e)}finally{Jn(),s()}}}const Pw={get(e,t){return Et(e,"get",""),e[t]}};function Nw(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Pw),slots:e.slots,emit:e.emit,expose:t}}function $c(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Cy(Of(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Yi)return Yi[n](e)},has(t,n){return n in t||n in Yi}})):e.proxy}function Lw(e,t=!0){return ge(e)?e.displayName||e.name:e.name||t&&e.__name}function Dw(e){return ge(e)&&"__vccOpts"in e}const U=(e,t)=>O0(e,t,ho);function Lr(e,t,n){try{Ga(-1);const r=arguments.length;return r===2?He(t)&&!fe(t)?Zs(t)?F(e,null,[t]):F(e,t):F(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Zs(n)&&(n=[n]),F(e,t,n))}finally{Ga(1)}}const Fw="3.5.27";/** * @vue/runtime-dom v3.5.27 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let vu;const Oh=typeof window<"u"&&window.trustedTypes;if(Oh)try{vu=Oh.createPolicy("vue",{createHTML:e=>e})}catch{}const _v=vu?e=>vu.createHTML(e):e=>e,$w="http://www.w3.org/2000/svg",Bw="http://www.w3.org/1998/Math/MathML",Hn=typeof document<"u"?document:null,Mh=Hn&&Hn.createElement("template"),Hw={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?Hn.createElementNS($w,e):t==="mathml"?Hn.createElementNS(Bw,e):n?Hn.createElement(e,{is:n}):Hn.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Hn.createTextNode(e),createComment:e=>Hn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Hn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,i){const o=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{Mh.innerHTML=_v(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const a=Mh.content;if(r==="svg"||r==="mathml"){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}t.insertBefore(a,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ur="transition",Li="animation",Qs=Symbol("_vtc"),bv={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},Sv=ot({},$y,bv),Vw=e=>(e.displayName="Transition",e.props=Sv,e),xr=Vw((e,{slots:t})=>Lr(j0,Ev(e),t)),jr=(e,t=[])=>{fe(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ph=e=>e?fe(e)?e.some(t=>t.length>1):e.length>1:!1;function Ev(e){const t={};for(const x in e)x in bv||(t[x]=e[x]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:l=o,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,p=Uw(s),m=p&&p[0],y=p&&p[1],{onBeforeEnter:g,onEnter:v,onEnterCancelled:_,onLeave:T,onLeaveCancelled:O,onBeforeAppear:R=g,onAppear:E=v,onAppearCancelled:w=_}=t,I=(x,N,L,G)=>{x._enterCancelled=G,hr(x,N?u:a),hr(x,N?l:o),L&&L()},A=(x,N)=>{x._isLeaving=!1,hr(x,f),hr(x,h),hr(x,d),N&&N()},M=x=>(N,L)=>{const G=x?E:v,J=()=>I(N,x,L);jr(G,[N,J]),Nh(()=>{hr(N,x?c:i),En(N,x?u:a),Ph(G)||Lh(N,r,m,J)})};return ot(t,{onBeforeEnter(x){jr(g,[x]),En(x,i),En(x,o)},onBeforeAppear(x){jr(R,[x]),En(x,c),En(x,l)},onEnter:M(!1),onAppear:M(!0),onLeave(x,N){x._isLeaving=!0;const L=()=>A(x,N);En(x,f),x._enterCancelled?(En(x,d),_u(x)):(_u(x),En(x,d)),Nh(()=>{x._isLeaving&&(hr(x,f),En(x,h),Ph(T)||Lh(x,r,y,L))}),jr(T,[x,L])},onEnterCancelled(x){I(x,!1,void 0,!0),jr(_,[x])},onAppearCancelled(x){I(x,!0,void 0,!0),jr(w,[x])},onLeaveCancelled(x){A(x),jr(O,[x])}})}function Uw(e){if(e==null)return null;if(He(e))return[_l(e.enter),_l(e.leave)];{const t=_l(e);return[t,t]}}function _l(e){return e0(e)}function En(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Qs]||(e[Qs]=new Set)).add(t)}function hr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Qs];n&&(n.delete(t),n.size||(e[Qs]=void 0))}function Nh(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Ww=0;function Lh(e,t,n,r){const s=e._endId=++Ww,i=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:a,propCount:c}=wv(e,t);if(!o)return r();const l=o+"end";let u=0;const f=()=>{e.removeEventListener(l,d),i()},d=h=>{h.target===e&&++u>=c&&f()};setTimeout(()=>{u(n[p]||"").split(", "),s=r(`${ur}Delay`),i=r(`${ur}Duration`),o=Dh(s,i),a=r(`${Li}Delay`),c=r(`${Li}Duration`),l=Dh(a,c);let u=null,f=0,d=0;t===ur?o>0&&(u=ur,f=o,d=i.length):t===Li?l>0&&(u=Li,f=l,d=c.length):(f=Math.max(o,l),u=f>0?o>l?ur:Li:null,d=u?u===ur?i.length:c.length:0);const h=u===ur&&/\b(?:transform|all)(?:,|$)/.test(r(`${ur}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:h}}function Dh(e,t){for(;e.lengthFh(n)+Fh(e[r])))}function Fh(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function _u(e){return(e?e.ownerDocument:document).body.offsetHeight}function jw(e,t,n){const r=e[Qs];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ya=Symbol("_vod"),Tv=Symbol("_vsh"),Vf={name:"show",beforeMount(e,{value:t},{transition:n}){e[Ya]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Di(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Di(e,!0),r.enter(e)):r.leave(e,()=>{Di(e,!1)}):Di(e,t))},beforeUnmount(e,{value:t}){Di(e,t)}};function Di(e,t){e.style.display=t?e[Ya]:"none",e[Tv]=!t}const zw=Symbol(""),qw=/(?:^|;)\s*display\s*:/;function Gw(e,t,n){const r=e.style,s=Ze(n);let i=!1;if(n&&!s){if(t)if(Ze(t))for(const o of t.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&Ta(r,a,"")}else for(const o in t)n[o]==null&&Ta(r,o,"");for(const o in n)o==="display"&&(i=!0),Ta(r,o,n[o])}else if(s){if(t!==n){const o=r[zw];o&&(n+=";"+o),r.cssText=n,i=qw.test(n)}}else t&&e.removeAttribute("style");Ya in e&&(e[Ya]=i?r.display:"",e[Tv]&&(r.display="none"))}const $h=/\s*!important$/;function Ta(e,t,n){if(fe(n))n.forEach(r=>Ta(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Kw(e,t);$h.test(n)?e.setProperty(Pr(r),n.replace($h,""),"important"):e[r]=n}}const Bh=["Webkit","Moz","ms"],bl={};function Kw(e,t){const n=bl[t];if(n)return n;let r=Pt(t);if(r!=="filter"&&r in e)return bl[t]=r;r=pi(r);for(let s=0;sSl||(Zw.then(()=>Sl=0),Sl=Date.now());function eT(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;mn(tT(r,n.value),t,5,[r])};return n.value=e,n.attached=Qw(),n}function tT(e,t){if(fe(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const zh=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,nT=(e,t,n,r,s,i)=>{const o=s==="svg";t==="class"?jw(e,r,o):t==="style"?Gw(e,n,r):Cc(t)?Sf(t)||Xw(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):rT(e,t,r,o))?(Uh(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Vh(e,t,r,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Ze(r))?Uh(e,Pt(t),r,i,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Vh(e,t,r,o))};function rT(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&zh(t)&&ge(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return zh(t)&&Ze(n)?!1:t in e}const Cv=new WeakMap,Iv=new WeakMap,Xa=Symbol("_moveCb"),qh=Symbol("_enterCb"),sT=e=>(delete e.props.mode,e),iT=sT({name:"TransitionGroup",props:ot({},Sv,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=mi(),r=Fy();let s,i;return Df(()=>{if(!s.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!lT(s[0].el,n.vnode.el,o)){s=[];return}s.forEach(oT),s.forEach(aT);const a=s.filter(cT);_u(n.vnode.el),a.forEach(c=>{const l=c.el,u=l.style;En(l,o),u.transform=u.webkitTransform=u.transitionDuration="";const f=l[Xa]=d=>{d&&d.target!==l||(!d||d.propertyName.endsWith("transform"))&&(l.removeEventListener("transitionend",f),l[Xa]=null,hr(l,o))};l.addEventListener("transitionend",f)}),s=[]}),()=>{const o=ue(e),a=Ev(o);let c=o.tag||Ke;if(s=[],i)for(let l=0;l{a.split(/\s+/).forEach(c=>c&&r.classList.remove(c))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(r);const{hasTransform:o}=wv(r);return i.removeChild(r),o}const Gh=e=>{const t=e.props["onUpdate:modelValue"]||!1;return fe(t)?n=>Sa(t,n):t};function uT(e){e.target.composing=!0}function Kh(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const El=Symbol("_assign");function Yh(e,t,n){return t&&(e=e.trim()),n&&(e=wf(e)),e}const ZB={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[El]=Gh(s);const i=r||s.props&&s.props.type==="number";Os(e,t?"change":"input",o=>{o.target.composing||e[El](Yh(e.value,n,i))}),(n||i)&&Os(e,"change",()=>{e.value=Yh(e.value,n,i)}),t||(Os(e,"compositionstart",uT),Os(e,"compositionend",Kh),Os(e,"change",Kh))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:i}},o){if(e[El]=Gh(o),e.composing)return;const a=(i||e.type==="number")&&!/^0\d/.test(e.value)?wf(e.value):e.value,c=t??"";a!==c&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===c)||(e.value=c))}},fT=["ctrl","shift","alt","meta"],dT={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)=>fT.some(n=>e[`${n}Key`]&&!t.includes(n))},QB=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...i)=>{for(let o=0;o{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const i=Pr(s.key);if(t.some(o=>o===i||hT[o]===i))return e(s)})},pT=ot({patchProp:nT},Hw);let Xh;function mT(){return Xh||(Xh=bw(pT))}const gT=(...e)=>{const t=mT().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=vT(r);if(!s)return;const i=t._component;!ge(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const o=n(s,!1,yT(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t};function yT(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function vT(e){return Ze(e)?document.querySelector(e):e}function tH(e){}function kv(e,t){t=Array.isArray(t)?t.slice(0,-1).map(n=>`'${n}'`).join(", ")+` or '${t.at(-1)}'`:`'${t}'`}const Xe=typeof window<"u",Wf=Xe&&"IntersectionObserver"in window,_T=Xe&&("ontouchstart"in window||window.navigator.maxTouchPoints>0),xv=Xe&&"matchMedia"in window&&typeof window.matchMedia=="function",po=()=>xv&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;function Jh(e,t,n){bT(e,t),t.set(e,n)}function bT(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Zh(e,t,n){return e.set(Rv(e,t),n),n}function Dn(e,t){return e.get(Rv(e,t))}function Rv(e,t,n){if(typeof e=="function"?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}function Av(e,t,n){const r=t.length-1;if(r<0)return e===void 0?n:e;for(let s=0;s"u"?n:s}if(typeof t=="string")return bu(e,t,n);if(Array.isArray(t))return Av(e,t,n);if(typeof t!="function")return n;const r=t(e,n);return typeof r>"u"?n:r}function Ov(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:e},(n,r)=>t+r)}function pe(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(e==null||e==="")return;const n=Number(e);return isNaN(n)?String(e):isFinite(n)?`${n}${t}`:void 0}function Su(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function Qh(e){let t;return e!==null&&typeof e=="object"&&((t=Object.getPrototypeOf(e))===Object.prototype||t===null)}function jf(e){if(e&&"$el"in e){const t=e.$el;return(t==null?void 0:t.nodeType)===Node.TEXT_NODE?t.nextElementSibling:t}return e}const nH=Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"});function rH(e){return Object.keys(e)}function wl(e,t){return t.every(n=>e.hasOwnProperty(n))}function zf(e,t){const n={};for(const r of t)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function ep(e,t,n){const r=Object.create(null),s=Object.create(null);for(const i in e)t.some(o=>o instanceof RegExp?o.test(i):o===i)?r[i]=e[i]:s[i]=e[i];return[r,s]}function ys(e,t){const n={...e};return t.forEach(r=>delete n[r]),n}const Mv=/^on[^a-z]/,Pv=e=>Mv.test(e),ST=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"],ET=["ArrowUp","ArrowDown","ArrowRight","ArrowLeft","Enter","Escape","Tab"," "];function sH(e){return e.isComposing&&ET.includes(e.key)}function iH(e){const[t,n]=ep(e,[Mv]),r=ys(t,ST),[s,i]=ep(n,["class","style","id","inert",/^data-/]);return Object.assign(s,t),Object.assign(i,r),[s,i]}function qf(e){return e==null?[]:Array.isArray(e)?e:[e]}function oH(e,t){let n=0;const r=function(){for(var s=arguments.length,i=new Array(s),o=0;oe(...i),Ft(t))};return r.clear=()=>{clearTimeout(n)},r.immediate=e,r}function Qn(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(t,Math.min(n,e))}function tp(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return e+n.repeat(Math.max(0,t-e.length))}function np(e,t){return(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,t-e.length))+e}function wT(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const n=[];let r=0;for(;r1&&arguments[1]!==void 0?arguments[1]:1e3;if(e=t&&r0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const r={};for(const s in e)r[s]=e[s];for(const s in t){const i=e[s],o=t[s];if(Qh(i)&&Qh(o)){r[s]=Tt(i,o,n);continue}if(n&&Array.isArray(i)&&Array.isArray(o)){r[s]=n(i,o);continue}r[s]=o}return r}function Nv(e){return e.map(t=>t.type===Ke?Nv(t.children):t).flat()}function ns(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(ns.cache.has(e))return ns.cache.get(e);const t=e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return ns.cache.set(e,t),t}ns.cache=new Map;function Ds(e,t){if(!t||typeof t!="object")return[];if(Array.isArray(t))return t.map(n=>Ds(e,n)).flat(1);if(t.suspense)return Ds(e,t.ssContent);if(Array.isArray(t.children))return t.children.map(n=>Ds(e,n)).flat(1);if(t.component){if(Object.getOwnPropertyDescriptor(t.component.provides,e))return[t.component];if(t.component.subTree)return Ds(e,t.component.subTree).flat(1)}return[]}var ws=new WeakMap,zr=new WeakMap;class TT{constructor(t){Jh(this,ws,[]),Jh(this,zr,0),this.size=t}get isFull(){return Dn(ws,this).length===this.size}push(t){Dn(ws,this)[Dn(zr,this)]=t,Zh(zr,this,(Dn(zr,this)+1)%this.size)}values(){return Dn(ws,this).slice(Dn(zr,this)).concat(Dn(ws,this).slice(0,Dn(zr,this)))}clear(){Dn(ws,this).length=0,Zh(zr,this,0)}}function Gf(e){const t=lt({});on(()=>{const r=e();for(const s in r)t[s]=r[s]},{flush:"sync"});const n={};for(const r in t)n[r]=Q(()=>t[r]);return n}function Ja(e,t){return e.includes(t)}function Lv(e){return e[2].toLowerCase()+e.slice(3)}const Ji=()=>[Function,Array];function rp(e,t){return t="on"+pi(t),!!(e[t]||e[`${t}Once`]||e[`${t}Capture`]||e[`${t}OnceCapture`]||e[`${t}CaptureOnce`])}function cH(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1&&arguments[1]!==void 0?arguments[1]:!0;const n=["button","[href]",'input:not([type="hidden"])',"select","textarea","details:not(:has(> summary))","details > summary","[tabindex]",'[contenteditable]:not([contenteditable="false"])',"audio[controls]","video[controls]"].map(s=>`${s}${t?':not([tabindex="-1"])':""}:not([disabled], [inert])`).join(", ");let r;try{r=[...e.querySelectorAll(n)]}catch{return[]}return r.filter(s=>!s.closest("[inert]")).filter(s=>!!s.offsetParent||s.getClientRects().length>0).filter(s=>{var i,o;return!((i=s.parentElement)!=null&&i.closest("details:not([open])"))||s.tagName==="SUMMARY"&&((o=s.parentElement)==null?void 0:o.tagName)==="DETAILS"})}function CT(e,t,n){let r,s=e.indexOf(document.activeElement);const i=t==="next"?1:-1;do s+=i,r=e[s];while((!r||r.offsetParent==null||!((n==null?void 0:n(r))??!0))&&s=0);return r}function Dv(e,t){var r,s,i,o;const n=Zi(e);if(t==null)(e===document.activeElement||!e.contains(document.activeElement))&&((r=n[0])==null||r.focus());else if(t==="first")(s=n[0])==null||s.focus();else if(t==="last")(i=n.at(-1))==null||i.focus();else if(typeof t=="number")(o=n[t])==null||o.focus();else{const a=CT(n,t);a?a.focus():Dv(e,t==="next"?"first":"last")}}function lH(e){return e==null||typeof e=="string"&&e.trim()===""}function uH(){}function IT(e,t){if(!(Xe&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${t})`)))return null;try{return!!e&&e.matches(t)}catch{return null}}function kT(e){return e.some(t=>Zs(t)?t.type===pt?!1:t.type!==Ke||kT(t.children):!0)?e:null}function xT(e,t){if(!Xe||e===0)return t(),()=>{};const n=window.setTimeout(t,e);return()=>window.clearTimeout(n)}function fH(e,t){const n=e.clientX,r=e.clientY,s=t.getBoundingClientRect(),i=s.left,o=s.top,a=s.right,c=s.bottom;return n>=i&&n<=a&&r>=o&&r<=c}function Eu(){const e=be(),t=n=>{e.value=n};return Object.defineProperty(t,"value",{enumerable:!0,get:()=>e.value,set:n=>e.value=n}),Object.defineProperty(t,"el",{enumerable:!0,get:()=>jf(e.value)}),t}function dH(e){const t=e.key.length===1,n=!e.ctrlKey&&!e.metaKey&&!e.altKey;return t&&n}function ds(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="bigint"}function hH(e){return"\\^$*+?.()|{}[]".includes(e)?`\\${e}`:e}function pH(e){const t={};for(const n in e)t[Pt(n)]=e[n];return t}function RT(e){const t=["checked","disabled"];return Object.fromEntries(Object.entries(e).filter(n=>{let[r,s]=n;return t.includes(r)?!!s:s!==void 0}))}const Fv=["top","bottom"],AT=["start","end","left","right"];function wu(e,t){let[n,r]=e.split(" ");return r||(r=Ja(Fv,n)?"start":Ja(AT,n)?"top":"center"),{side:sp(n,t),align:sp(r,t)}}function sp(e,t){return e==="start"?t?"right":"left":e==="end"?t?"left":"right":e}function Tl(e){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.side],align:e.align}}function Cl(e){return{side:e.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.align]}}function ip(e){return{side:e.align,align:e.side}}function op(e){return Ja(Fv,e.side)?"y":"x"}class tn{constructor(t){const n=document.body.currentCSSZoom??1,r=t instanceof Element,s=r?1+(1-n)/n:1,{x:i,y:o,width:a,height:c}=r?t.getBoundingClientRect():t;this.x=i*s,this.y=o*s,this.width=a*s,this.height=c*s}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function ap(e,t){return{x:{before:Math.max(0,t.left-e.left),after:Math.max(0,e.right-t.right)},y:{before:Math.max(0,t.top-e.top),after:Math.max(0,e.bottom-t.bottom)}}}function $v(e){if(Array.isArray(e)){const t=document.body.currentCSSZoom??1,n=1+(1-t)/t;return new tn({x:e[0]*n,y:e[1]*n,width:0*n,height:0*n})}else return new tn(e)}function OT(e){if(e===document.documentElement)if(visualViewport){const t=document.body.currentCSSZoom??1;return new tn({x:visualViewport.scale>1?0:visualViewport.offsetLeft,y:visualViewport.scale>1?0:visualViewport.offsetTop,width:visualViewport.width*visualViewport.scale/t,height:visualViewport.height*visualViewport.scale/t})}else return new tn({x:0,y:0,width:document.documentElement.clientWidth,height:document.documentElement.clientHeight});else return new tn(e)}function Bv(e){const t=new tn(e),n=getComputedStyle(e),r=n.transform;if(r){let s,i,o,a,c;if(r.startsWith("matrix3d("))s=r.slice(9,-1).split(/, /),i=Number(s[0]),o=Number(s[5]),a=Number(s[12]),c=Number(s[13]);else if(r.startsWith("matrix("))s=r.slice(7,-1).split(/, /),i=Number(s[0]),o=Number(s[3]),a=Number(s[4]),c=Number(s[5]);else return new tn(t);const l=n.transformOrigin,u=t.x-a-(1-i)*parseFloat(l),f=t.y-c-(1-o)*parseFloat(l.slice(l.indexOf(" ")+1)),d=i?t.width/i:e.offsetWidth+1,h=o?t.height/o:e.offsetHeight+1;return new tn({x:u,y:f,width:d,height:h})}else return new tn(t)}function Kr(e,t,n){if(typeof e.animate>"u")return{finished:Promise.resolve()};let r;try{r=e.animate(t,n)}catch{return{finished:Promise.resolve()}}return typeof r.finished>"u"&&(r.finished=new Promise(s=>{r.onfinish=()=>{s(r)}})),r}const Ca=new WeakMap;function MT(e,t){Object.keys(t).forEach(n=>{if(Pv(n)){const r=Lv(n),s=Ca.get(e);if(t[n]==null)s==null||s.forEach(i=>{const[o,a]=i;o===r&&(e.removeEventListener(r,a),s.delete(i))});else if(!s||![...s].some(i=>i[0]===r&&i[1]===t[n])){e.addEventListener(r,t[n]);const i=s||new Set;i.add([r,t[n]]),Ca.has(e)||Ca.set(e,i)}}else t[n]==null?e.removeAttribute(n):e.setAttribute(n,t[n])})}function PT(e,t){Object.keys(t).forEach(n=>{if(Pv(n)){const r=Lv(n),s=Ca.get(e);s==null||s.forEach(i=>{const[o,a]=i;o===r&&(e.removeEventListener(r,a),s.delete(i))})}else e.removeAttribute(n)})}const Ts=2.4,cp=.2126729,lp=.7151522,up=.072175,NT=.55,LT=.58,DT=.57,FT=.62,aa=.03,fp=1.45,$T=5e-4,BT=1.25,HT=1.25,dp=.078,hp=12.82051282051282,ca=.06,pp=.001;function mp(e,t){const n=(e.r/255)**Ts,r=(e.g/255)**Ts,s=(e.b/255)**Ts,i=(t.r/255)**Ts,o=(t.g/255)**Ts,a=(t.b/255)**Ts;let c=n*cp+r*lp+s*up,l=i*cp+o*lp+a*up;if(c<=aa&&(c+=(aa-c)**fp),l<=aa&&(l+=(aa-l)**fp),Math.abs(l-c)<$T)return 0;let u;if(l>c){const f=(l**NT-c**LT)*BT;u=f-pp?0:f>-dp?f-f*hp*ca:f+ca}return u*100}const Za=.20689655172413793,VT=e=>e>Za**3?Math.cbrt(e):e/(3*Za**2)+4/29,UT=e=>e>Za?e**3:3*Za**2*(e-4/29);function Hv(e){const t=VT,n=t(e[1]);return[116*n-16,500*(t(e[0]/.95047)-n),200*(n-t(e[2]/1.08883))]}function Vv(e){const t=UT,n=(e[0]+16)/116;return[t(n+e[1]/500)*.95047,t(n),t(n-e[2]/200)*1.08883]}const WT=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],jT=e=>e<=.0031308?e*12.92:1.055*e**(1/2.4)-.055,zT=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],qT=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function Uv(e){const t=Array(3),n=jT,r=WT;for(let s=0;s<3;++s)t[s]=Math.round(Qn(n(r[s][0]*e[0]+r[s][1]*e[1]+r[s][2]*e[2]))*255);return{r:t[0],g:t[1],b:t[2]}}function Kf(e){let{r:t,g:n,b:r}=e;const s=[0,0,0],i=qT,o=zT;t=i(t/255),n=i(n/255),r=i(r/255);for(let a=0;a<3;++a)s[a]=o[a][0]*t+o[a][1]*n+o[a][2]*r;return s}function Tu(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}function GT(e){return Tu(e)&&!/^((rgb|hsl)a?\()?var\(--/.test(e)}const gp=/^(?(?:rgb|hsl)a?)\((?.+)\)/,KT={rgb:(e,t,n,r)=>({r:e,g:t,b:n,a:r}),rgba:(e,t,n,r)=>({r:e,g:t,b:n,a:r}),hsl:(e,t,n,r)=>yp({h:e,s:t,l:n,a:r}),hsla:(e,t,n,r)=>yp({h:e,s:t,l:n,a:r}),hsv:(e,t,n,r)=>mo({h:e,s:t,v:n,a:r}),hsva:(e,t,n,r)=>mo({h:e,s:t,v:n,a:r})};function Rn(e){if(typeof e=="number")return{r:(e&16711680)>>16,g:(e&65280)>>8,b:e&255};if(typeof e=="string"&&gp.test(e)){const{groups:t}=e.match(gp),{fn:n,values:r}=t,s=r.split(/,\s*|\s*\/\s*|\s+/).map((i,o)=>i.endsWith("%")||o>0&&o<3&&["hsl","hsla","hsv","hsva"].includes(n)?parseFloat(i)/100:parseFloat(i));return KT[n](...s)}else if(typeof e=="string"){let t=e.startsWith("#")?e.slice(1):e;return[3,4].includes(t.length)?t=t.split("").map(n=>n+n).join(""):[6,8].includes(t.length),XT(t)}else if(typeof e=="object"){if(wl(e,["r","g","b"]))return e;if(wl(e,["h","s","l"]))return mo(Wv(e));if(wl(e,["h","s","v"]))return mo(e)}throw new TypeError(`Invalid color: ${e==null?e:String(e)||e.constructor.name} Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function mo(e){const{h:t,s:n,v:r,a:s}=e,i=a=>{const c=(a+t/60)%6;return r-r*n*Math.max(Math.min(c,4-c,1),0)},o=[i(5),i(3),i(1)].map(a=>Math.round(a*255));return{r:o[0],g:o[1],b:o[2],a:s}}function yp(e){return mo(Wv(e))}function Wv(e){const{h:t,s:n,l:r,a:s}=e,i=r+n*Math.min(r,1-r),o=i===0?0:2-2*r/i;return{h:t,s:o,v:i,a:s}}function la(e){const t=Math.round(e).toString(16);return("00".substr(0,2-t.length)+t).toUpperCase()}function YT(e){let{r:t,g:n,b:r,a:s}=e;return`#${[la(t),la(n),la(r),s!==void 0?la(Math.round(s*255)):""].join("")}`}function XT(e){e=JT(e);let[t,n,r,s]=wT(e,2).map(i=>parseInt(i,16));return s=s===void 0?s:s/255,{r:t,g:n,b:r,a:s}}function JT(e){return e.startsWith("#")&&(e=e.slice(1)),e=e.replace(/([^0-9a-f])/gi,"F"),(e.length===3||e.length===4)&&(e=e.split("").map(t=>t+t).join("")),e.length!==6&&(e=tp(tp(e,6),8,"F")),e}function ZT(e,t){const n=Hv(Kf(e));return n[0]=n[0]+t*10,Uv(Vv(n))}function QT(e,t){const n=Hv(Kf(e));return n[0]=n[0]-t*10,Uv(Vv(n))}function eC(e){const t=Rn(e);return Kf(t)[1]}function jv(e){const t=Math.abs(mp(Rn(0),Rn(e)));return Math.abs(mp(Rn(16777215),Rn(e)))>Math.min(t,50)?"#fff":"#000"}function ie(e,t){return n=>Object.keys(e).reduce((r,s)=>{const o=typeof e[s]=="object"&&e[s]!=null&&!Array.isArray(e[s])?e[s]:{type:e[s]};return n&&s in n?r[s]={...o,default:n[s]}:r[s]=o,t&&!r[s].source&&(r[s].source=t),r},{})}const rt=ie({class:[String,Array,Object],style:{type:[String,Array,Object],default:null}},"component");function ut(e,t){const n=mi();if(!n)throw new Error(`[Vuetify] ${e} must be called from inside a setup function`);return n}function Dr(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const t=ut(e).type;return ns((t==null?void 0:t.aliasName)||(t==null?void 0:t.name))}function tC(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ut("injectSelf");const{provides:n}=t;if(n&&e in n)return n[e]}const ei=Symbol.for("vuetify:defaults");function nC(e){return Ee(e)}function Yf(){const e=Oe(ei);if(!e)throw new Error("[Vuetify] Could not find defaults instance");return e}function Bc(e,t){const n=Yf(),r=Ee(e),s=U(()=>{if(Ft(t==null?void 0:t.disabled))return n.value;const o=Ft(t==null?void 0:t.scoped),a=Ft(t==null?void 0:t.reset),c=Ft(t==null?void 0:t.root);if(r.value==null&&!(o||a||c))return n.value;let l=Tt(r.value,{prev:n.value});if(o)return l;if(a||c){const u=Number(a||1/0);for(let f=0;f<=u&&!(!l||!("prev"in l));f++)l=l.prev;return l&&typeof c=="string"&&c in l&&(l=Tt(Tt(l,{prev:l}),l[c])),l}return l.prev?Tt(l.prev,l):l});return Ct(ei,s),s}function rC(e,t){return e.props&&(typeof e.props[t]<"u"||typeof e.props[ns(t)]<"u")}function sC(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Yf();const r=ut("useDefaults");if(t=t??r.type.name??r.type.__name,!t)throw new Error("[Vuetify] Could not determine component name");const s=U(()=>{var c;return(c=n.value)==null?void 0:c[e._as??t]}),i=new Proxy(e,{get(c,l){var h,p,m,y;const u=Reflect.get(c,l);if(l==="class"||l==="style")return[(h=s.value)==null?void 0:h[l],u].filter(g=>g!=null);if(rC(r.vnode,l))return u;const f=(p=s.value)==null?void 0:p[l];if(f!==void 0)return f;const d=(y=(m=n.value)==null?void 0:m.global)==null?void 0:y[l];return d!==void 0?d:u}}),o=be();on(()=>{if(s.value){const c=Object.entries(s.value).filter(l=>{let[u]=l;return u.startsWith(u[0].toUpperCase())});o.value=c.length?Object.fromEntries(c):void 0}else o.value=void 0});function a(){const c=tC(ei,r);Ct(ei,U(()=>o.value?Tt((c==null?void 0:c.value)??{},o.value):c==null?void 0:c.value))}return{props:i,provideSubDefaults:a}}function gi(e){if(e._setup=e._setup??e.setup,!e.name)return e;if(e._setup){e.props=ie(e.props??{},e.name)();const t=Object.keys(e.props).filter(n=>n!=="class"&&n!=="style");e.filterProps=function(r){return zf(r,t)},e.props._as=String,e.setup=function(r,s){const i=Yf();if(!i.value)return e._setup(r,s);const{props:o,provideSubDefaults:a}=sC(r,r._as??e.name,i),c=e._setup(o,s);return a(),c}}return e}function Pe(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return t=>(e?gi:Pc)(t)}function mH(e,t){return t.props=e,t}function Xf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",n=arguments.length>2?arguments[2]:void 0;return Pe()({name:n??pi(Pt(e.replace(/__/g,"-"))),props:{tag:{type:String,default:t},...rt()},setup(r,s){let{slots:i}=s;return()=>{var o;return Lr(r.tag,{class:[e,r.class],style:r.style},(o=i.default)==null?void 0:o.call(i))}}})}function iC(e,t,n,r){if(!n||ds(e)||ds(t))return;const s=n.get(e);if(s)s.set(t,r);else{const i=new WeakMap;i.set(t,r),n.set(e,i)}}function oC(e,t,n){var i,o;if(!n||ds(e)||ds(t))return null;const r=(i=n.get(e))==null?void 0:i.get(t);if(typeof r=="boolean")return r;const s=(o=n.get(t))==null?void 0:o.get(e);return typeof s=="boolean"?s:null}function rs(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:new WeakMap;if(e===t)return!0;if(e instanceof Date&&t instanceof Date&&e.getTime()!==t.getTime()||e!==Object(e)||t!==Object(t))return!1;const r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;const s=oC(e,t,n);return s||(iC(e,t,n,!0),r.every(i=>rs(e[i],t[i],n)))}function zv(e){if(typeof e.getRootNode!="function"){for(;e.parentNode;)e=e.parentNode;return e!==document?null:document}const t=e.getRootNode();return t!==document&&t.getRootNode({composed:!0})!==document?null:t}const Cu="cubic-bezier(0.4, 0, 0.2, 1)",vp="cubic-bezier(0.0, 0, 0.2, 1)",_p="cubic-bezier(0.4, 0, 1, 1)",aC={linear:e=>e,easeInQuad:e=>e**2,easeOutQuad:e=>e*(2-e),easeInOutQuad:e=>e<.5?2*e**2:-1+(4-2*e)*e,easeInCubic:e=>e**3,easeOutCubic:e=>--e**3+1,easeInOutCubic:e=>e<.5?4*e**3:(e-1)*(2*e-2)*(2*e-2)+1,easeInQuart:e=>e**4,easeOutQuart:e=>1- --e**4,easeInOutQuart:e=>e<.5?8*e**4:1-8*--e**4,easeInQuint:e=>e**5,easeOutQuint:e=>1+--e**5,easeInOutQuint:e=>e<.5?16*e**5:1+16*--e**5,instant:e=>1};function cC(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;e;){if(t?lC(e):Jf(e))return e;e=e.parentElement}return document.scrollingElement}function Qa(e,t){const n=[];if(t&&e&&!t.contains(e))return n;for(;e&&(Jf(e)&&n.push(e),e!==t);)e=e.parentElement;return n}function Jf(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e),n=t.overflowY==="scroll"||t.overflowY==="auto"&&e.scrollHeight>e.clientHeight,r=t.overflowX==="scroll"||t.overflowX==="auto"&&e.scrollWidth>e.clientWidth;return n||r}function lC(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e);return["scroll","auto"].includes(t.overflowY)}function uC(e){for(;e;){if(window.getComputedStyle(e).position==="fixed")return!0;e=e.offsetParent}return!1}function Je(e){const t=ut("useRender");t.render=e}function fC(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{leading:!0,trailing:!0},r=0,s=0,i=!1,o=0;function a(){clearTimeout(r),i=!1,o=0}const c=function(){for(var l=arguments.length,u=new Array(l),f=0;f=t?p():n.trailing&&(r=setTimeout(p,t-h)):(i=!0,n.leading&&p())};return c.clear=a,c.immediate=e,c}const yt=[String,Function,Object,Array],Iu=Symbol.for("vuetify:icons"),Hc=ie({icon:{type:yt},tag:{type:[String,Object,Function],required:!0}},"icon"),bp=Pe()({name:"VComponentIcon",props:Hc(),setup(e,t){let{slots:n}=t;return()=>{const r=e.icon;return F(e.tag,null,{default:()=>{var s;return[e.icon?F(r,null,null):(s=n.default)==null?void 0:s.call(n)]}})}}}),qv=gi({name:"VSvgIcon",inheritAttrs:!1,props:Hc(),setup(e,t){let{attrs:n}=t;return()=>F(e.tag,Ye(n,{style:null}),{default:()=>[ne("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(e.icon)?e.icon.map(r=>Array.isArray(r)?ne("path",{d:r[0],"fill-opacity":r[1]},null):ne("path",{d:r},null)):ne("path",{d:e.icon},null)])]})}});gi({name:"VLigatureIcon",props:Hc(),setup(e){return()=>F(e.tag,null,{default:()=>[e.icon]})}});const Gv=gi({name:"VClassIcon",props:Hc(),setup(e){return()=>F(e.tag,{class:Re(e.icon)},null)}}),dC=e=>{const t=Oe(Iu);if(!t)throw new Error("Missing Vuetify Icons provide!");return{iconData:U(()=>{var c;const r=mt(e);if(!r)return{component:bp};let s=r;if(typeof s=="string"&&(s=s.trim(),s.startsWith("$")&&(s=(c=t.aliases)==null?void 0:c[s.slice(1)])),Array.isArray(s))return{component:qv,icon:s};if(typeof s!="string")return{component:bp,icon:s};const i=Object.keys(t.sets).find(l=>typeof s=="string"&&s.startsWith(`${l}:`)),o=i?s.slice(i.length+1):s;return{component:t.sets[i??t.defaultSet].component,icon:o}})}},hC={collapse:"mdi-chevron-up",complete:"mdi-check",cancel:"mdi-close-circle",close:"mdi-close",delete:"mdi-close-circle",clear:"mdi-close-circle",success:"mdi-check-circle",info:"mdi-information",warning:"mdi-alert-circle",error:"mdi-close-circle",prev:"mdi-chevron-left",next:"mdi-chevron-right",checkboxOn:"mdi-checkbox-marked",checkboxOff:"mdi-checkbox-blank-outline",checkboxIndeterminate:"mdi-minus-box",delimiter:"mdi-circle",sortAsc:"mdi-arrow-up",sortDesc:"mdi-arrow-down",expand:"mdi-chevron-down",menu:"mdi-menu",subgroup:"mdi-menu-down",dropdown:"mdi-menu-down",radioOn:"mdi-radiobox-marked",radioOff:"mdi-radiobox-blank",edit:"mdi-pencil",ratingEmpty:"mdi-star-outline",ratingFull:"mdi-star",ratingHalf:"mdi-star-half-full",loading:"mdi-cached",first:"mdi-page-first",last:"mdi-page-last",unfold:"mdi-unfold-more-horizontal",file:"mdi-paperclip",plus:"mdi-plus",minus:"mdi-minus",calendar:"mdi-calendar",treeviewCollapse:"mdi-menu-down",treeviewExpand:"mdi-menu-right",tableGroupCollapse:"mdi-chevron-down",tableGroupExpand:"mdi-chevron-right",eyeDropper:"mdi-eyedropper",upload:"mdi-cloud-upload",color:"mdi-palette",command:"mdi-apple-keyboard-command",ctrl:"mdi-apple-keyboard-control",space:"mdi-keyboard-space",shift:"mdi-apple-keyboard-shift",alt:"mdi-apple-keyboard-option",enter:"mdi-keyboard-return",arrowup:"mdi-arrow-up",arrowdown:"mdi-arrow-down",arrowleft:"mdi-arrow-left",arrowright:"mdi-arrow-right",backspace:"mdi-backspace",play:"mdi-play",pause:"mdi-pause",fullscreen:"mdi-fullscreen",fullscreenExit:"mdi-fullscreen-exit",volumeHigh:"mdi-volume-high",volumeMedium:"mdi-volume-medium",volumeLow:"mdi-volume-low",volumeOff:"mdi-volume-variant-off"},pC={component:e=>Lr(Gv,{...e,class:"mdi"})};function mC(){return{svg:{component:qv},class:{component:Gv}}}function gC(e){const t=mC(),n=(e==null?void 0:e.defaultSet)??"mdi";return n==="mdi"&&!t.mdi&&(t.mdi=pC),Tt({defaultSet:n,sets:t,aliases:{...hC,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z","vuetify-play":["m6.376 13.184-4.11-7.192C1.505 4.66 2.467 3 4.003 3h8.532l-.953 1.576-.006.01-.396.677c-.429.732-.214 1.507.194 2.015.404.503 1.092.878 1.869.806a3.72 3.72 0 0 1 1.005.022c.276.053.434.143.523.237.138.146.38.635-.25 2.09-.893 1.63-1.553 1.722-1.847 1.677-.213-.033-.468-.158-.756-.406a4.95 4.95 0 0 1-.8-.927c-.39-.564-1.04-.84-1.66-.846-.625-.006-1.316.27-1.693.921l-.478.826-.911 1.506Z",["M9.093 11.552c.046-.079.144-.15.32-.148a.53.53 0 0 1 .43.207c.285.414.636.847 1.046 1.2.405.35.914.662 1.516.754 1.334.205 2.502-.698 3.48-2.495l.014-.028.013-.03c.687-1.574.774-2.852-.005-3.675-.37-.391-.861-.586-1.333-.676a5.243 5.243 0 0 0-1.447-.044c-.173.016-.393-.073-.54-.257-.145-.18-.127-.316-.082-.392l.393-.672L14.287 3h5.71c1.536 0 2.499 1.659 1.737 2.992l-7.997 13.996c-.768 1.344-2.706 1.344-3.473 0l-3.037-5.314 1.377-2.278.004-.006.004-.007.481-.831Z",.6]]}},e)}function yi(e,t){let n;function r(){n=ls(),n.run(()=>t.length?t(()=>{n==null||n.stop(),r()}):t())}Se(e,s=>{s&&!n?r():s||(n==null||n.stop(),n=void 0)},{immediate:!0}),_t(()=>{n==null||n.stop()})}function zn(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:f=>f,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:f=>f;const i=ut("useProxiedModel"),o=Ee(e[t]!==void 0?e[t]:n),a=ns(t),l=U(a!==t?()=>{var f,d,h,p;return e[t],!!(((f=i.vnode.props)!=null&&f.hasOwnProperty(t)||(d=i.vnode.props)!=null&&d.hasOwnProperty(a))&&((h=i.vnode.props)!=null&&h.hasOwnProperty(`onUpdate:${t}`)||(p=i.vnode.props)!=null&&p.hasOwnProperty(`onUpdate:${a}`)))}:()=>{var f,d;return e[t],!!((f=i.vnode.props)!=null&&f.hasOwnProperty(t)&&((d=i.vnode.props)!=null&&d.hasOwnProperty(`onUpdate:${t}`)))});yi(()=>!l.value,()=>{Se(()=>e[t],f=>{o.value=f})});const u=U({get(){const f=e[t];return r(l.value?f:o.value)},set(f){const d=s(f),h=ue(l.value?e[t]:o.value);h===d||r(h)===f||(o.value=d,i==null||i.emit(`update:${t}`,d))}});return Object.defineProperty(u,"externalValue",{get:()=>l.value?e[t]:o.value}),u}const yC={badge:"Badge",open:"Open",close:"Close",dismiss:"Dismiss",confirmEdit:{ok:"OK",cancel:"Cancel"},dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{itemsSelected:"{0} selected",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"},ariaLabel:{previousMonth:"Previous month",nextMonth:"Next month",selectYear:"Select year",previousYear:"Previous year",nextYear:"Next year",selectMonth:"Select month",selectDate:"{0}",currentDate:"Today, {0}"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more",today:"Today"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},fileUpload:{title:"Drag and drop files here",divider:"or",browse:"Browse Files"},timePicker:{am:"AM",pm:"PM",title:"Select Time",hour:"Hour",minute:"Minute",second:"Second"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"},rules:{required:"This field is required",email:"Please enter a valid email",number:"This field can only contain numbers",integer:"This field can only contain integer values",capital:"This field can only contain uppercase letters",maxLength:"You must enter a maximum of {0} characters",minLength:"You must enter a minimum of {0} characters",strictLength:"The length of the entered field is invalid",exclude:"The {0} character is not allowed",notEmpty:"Please choose at least one value",pattern:"Invalid format"},hotkey:{then:"then",ctrl:"Ctrl",command:"Command",space:"Space",shift:"Shift",alt:"Alt",enter:"Enter",escape:"Escape",upArrow:"Up Arrow",downArrow:"Down Arrow",leftArrow:"Left Arrow",rightArrow:"Right Arrow",backspace:"Backspace",option:"Option",plus:"plus",shortcut:"Keyboard shortcut: {0}",or:"or"},video:{play:"Play",pause:"Pause",seek:"Seek",volume:"Volume",showVolume:"Show volume control",mute:"Mute",unmute:"Unmute",enterFullscreen:"Full screen",exitFullscreen:"Exit full screen"},colorPicker:{ariaLabel:{eyedropper:"Select color with eyedropper",hueSlider:"Hue",alphaSlider:"Alpha",redInput:"Red value",greenInput:"Green value",blueInput:"Blue value",alphaInput:"Alpha value",hueInput:"Hue value",saturationInput:"Saturation value",lightnessInput:"Lightness value",hexInput:"HEX value",hexaInput:"HEX with alpha value",changeFormat:"Change color format"}}},Sp="$vuetify.",Ep=(e,t)=>e.replace(/\{(\d+)\}/g,(n,r)=>String(t[Number(r)])),Kv=(e,t,n)=>function(r){for(var s=arguments.length,i=new Array(s>1?s-1:0),o=1;onew Intl.NumberFormat([e.value,t.value],r).format(n)}function Yv(e,t){return Zf(e,t)(.1).includes(",")?",":"."}function Il(e,t,n){const r=zn(e,t,e[t]??n.value);return r.value=e[t]??n.value,Se(n,s=>{e[t]==null&&(r.value=n.value)}),r}function Xv(e){return t=>{const n=Il(t,"locale",e.current),r=Il(t,"fallback",e.fallback),s=Il(t,"messages",e.messages);return{name:"vuetify",current:n,fallback:r,messages:s,decimalSeparator:Q(()=>Yv(n,r)),t:Kv(n,r,s),n:Zf(n,r),provide:Xv({current:n,fallback:r,messages:s})}}}function vC(e){const t=be((e==null?void 0:e.locale)??"en"),n=be((e==null?void 0:e.fallback)??"en"),r=Ee({en:yC,...e==null?void 0:e.messages});return{name:"vuetify",current:t,fallback:n,messages:r,decimalSeparator:Q(()=>(e==null?void 0:e.decimalSeparator)??Yv(t,n)),t:Kv(t,n,r),n:Zf(t,n),provide:Xv({current:t,fallback:n,messages:r})}}const ec=Symbol.for("vuetify:locale");function _C(e){return e.name!=null}function bC(e){const t=e!=null&&e.adapter&&_C(e==null?void 0:e.adapter)?e==null?void 0:e.adapter:vC(e),n=wC(t,e);return{...t,...n}}function SC(){const e=Oe(ec);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");return e}function EC(){return{af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,km:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1}}function wC(e,t){const n=Ee((t==null?void 0:t.rtl)??EC()),r=U(()=>n.value[e.current.value]??!1);return{isRtl:r,rtl:n,rtlClasses:Q(()=>`v-locale--is-${r.value?"rtl":"ltr"}`)}}function Do(){const e=Oe(ec);if(!e)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:e.isRtl,rtlClasses:e.rtlClasses}}function Fo(e){const t=e.slice(-2).toUpperCase();switch(!0){case e==="GB-alt-variant":return{firstDay:0,firstWeekSize:4};case e==="001":return{firstDay:1,firstWeekSize:1};case`AG AS BD BR BS BT BW BZ CA CO DM DO ET GT GU HK HN ID IL IN JM JP KE KH KR LA MH MM MO MT MX MZ NI NP PA PE PH PK PR PY SA SG SV TH TT TW UM US VE VI WS YE ZA ZW`.includes(t):return{firstDay:0,firstWeekSize:1};case`AI AL AM AR AU AZ BA BM BN BY CL CM CN CR CY EC GE HR KG KZ LB LK LV MD ME MK MN MY NZ RO RS SI TJ TM TR UA UY UZ VN XK`.includes(t):return{firstDay:1,firstWeekSize:1};case`AD AN AT AX BE BG CH CZ DE DK EE ES FI FJ FO FR GB GF GP GR HU IE IS IT LI LT LU MC MQ NL NO PL RE RU SE SK SM VA`.includes(t):return{firstDay:1,firstWeekSize:4};case"AE AF BH DJ DZ EG IQ IR JO KW LY OM QA SD SY".includes(t):return{firstDay:6,firstWeekSize:1};case t==="MV":return{firstDay:5,firstWeekSize:1};case t==="PT":return{firstDay:0,firstWeekSize:4};default:return null}}function TC(e,t,n){var u;const r=[];let s=[];const i=Jv(e),o=Zv(e),a=n??((u=Fo(t))==null?void 0:u.firstDay)??0,c=(i.getDay()-a+7)%7,l=(o.getDay()-a+7)%7;for(let f=0;f0&&r.push(s),r}function Qi(e,t,n){var i;let r=(n??((i=Fo(t))==null?void 0:i.firstDay)??0)%7;[0,1,2,3,4,5,6].includes(r)||(r=0);const s=new Date(e);for(;s.getDay()!==r;)s.setDate(s.getDate()-1);return s}function CC(e,t){var s;const n=new Date(e),r=((((s=Fo(t))==null?void 0:s.firstDay)??0)+6)%7;for(;n.getDay()!==r;)n.setDate(n.getDate()+1);return n}function Jv(e){return new Date(e.getFullYear(),e.getMonth(),1)}function Zv(e){return new Date(e.getFullYear(),e.getMonth()+1,0)}function IC(e){const t=e.split("-").map(Number);return new Date(t[0],t[1]-1,t[2])}const kC=/^([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))$/;function Qv(e){if(e==null)return new Date;if(e instanceof Date)return e;if(typeof e=="string"){let t;if(kC.test(e))return IC(e);if(t=Date.parse(e),!isNaN(t))return new Date(t)}return null}const wp=new Date(2e3,0,2);function xC(e,t,n){var s;const r=t??((s=Fo(e))==null?void 0:s.firstDay)??0;return Ov(7).map(i=>{const o=new Date(wp);return o.setDate(wp.getDate()+r+i),new Intl.DateTimeFormat(e,{weekday:n??"narrow"}).format(o)})}function RC(e,t,n,r){const s=Qv(e)??new Date,i=r==null?void 0:r[t];if(typeof i=="function")return i(s,t,n);let o={};switch(t){case"fullDate":o={year:"numeric",month:"short",day:"numeric"};break;case"fullDateWithWeekday":o={weekday:"long",year:"numeric",month:"long",day:"numeric"};break;case"normalDate":const a=s.getDate(),c=new Intl.DateTimeFormat(n,{month:"long"}).format(s);return`${a} ${c}`;case"normalDateWithWeekday":o={weekday:"short",day:"numeric",month:"short"};break;case"shortDate":o={month:"short",day:"numeric"};break;case"year":o={year:"numeric"};break;case"month":o={month:"long"};break;case"monthShort":o={month:"short"};break;case"monthAndYear":o={month:"long",year:"numeric"};break;case"monthAndDate":o={month:"long",day:"numeric"};break;case"weekday":o={weekday:"long"};break;case"weekdayShort":o={weekday:"short"};break;case"dayOfMonth":return new Intl.NumberFormat(n).format(s.getDate());case"hours12h":o={hour:"numeric",hour12:!0};break;case"hours24h":o={hour:"numeric",hour12:!1};break;case"minutes":o={minute:"numeric"};break;case"seconds":o={second:"numeric"};break;case"fullTime":o={hour:"numeric",minute:"numeric"};break;case"fullTime12h":o={hour:"numeric",minute:"numeric",hour12:!0};break;case"fullTime24h":o={hour:"numeric",minute:"numeric",hour12:!1};break;case"fullDateTime":o={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"};break;case"fullDateTime12h":o={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",hour12:!0};break;case"fullDateTime24h":o={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",hour12:!1};break;case"keyboardDate":o={year:"numeric",month:"2-digit",day:"2-digit"};break;case"keyboardDateTime":return o={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric"},new Intl.DateTimeFormat(n,o).format(s).replace(/, /g," ");case"keyboardDateTime12h":return o={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",hour12:!0},new Intl.DateTimeFormat(n,o).format(s).replace(/, /g," ");case"keyboardDateTime24h":return o={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",hour12:!1},new Intl.DateTimeFormat(n,o).format(s).replace(/, /g," ");default:o=i??{timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(n,o).format(s)}function AC(e,t){const n=e.toJsDate(t),r=n.getFullYear(),s=np(String(n.getMonth()+1),2,"0"),i=np(String(n.getDate()),2,"0");return`${r}-${s}-${i}`}function OC(e){const[t,n,r]=e.split("-").map(Number);return new Date(t,n-1,r)}function MC(e,t){const n=new Date(e);return n.setMinutes(n.getMinutes()+t),n}function PC(e,t){const n=new Date(e);return n.setHours(n.getHours()+t),n}function ss(e,t){const n=new Date(e);return n.setDate(n.getDate()+t),n}function NC(e,t){const n=new Date(e);return n.setDate(n.getDate()+t*7),n}function LC(e,t){const n=new Date(e);return n.setDate(1),n.setMonth(n.getMonth()+t),n}function go(e){return e.getFullYear()}function DC(e){return e.getMonth()}function FC(e,t,n,r){const s=Fo(t),i=n??(s==null?void 0:s.firstDay)??0,o=(s==null?void 0:s.firstWeekSize)??1;return r!==void 0?$C(e,t,i,r):BC(e,t,i,o)}function $C(e,t,n,r){const s=(7+r-n)%7,i=Qi(e,t,n),o=ss(i,6);function a(d){return(7+new Date(d,0,1).getDay()-n)%7}let c=go(i);c=r&&a++;const c=new Date(a,0,1),l=o(a),u=l>=r?ss(c,l-7):ss(c,l);return 1+nc(Qf(s),yo(u),"weeks")}function HC(e){return e.getDate()}function VC(e){return new Date(e.getFullYear(),e.getMonth()+1,1)}function UC(e){return new Date(e.getFullYear(),e.getMonth()-1,1)}function WC(e){return e.getHours()}function jC(e){return e.getMinutes()}function zC(e){return new Date(e.getFullYear(),0,1)}function qC(e){return new Date(e.getFullYear(),11,31)}function GC(e,t){return tc(e,t[0])&&XC(e,t[1])}function KC(e){const t=new Date(e);return t instanceof Date&&!isNaN(t.getTime())}function tc(e,t){return e.getTime()>t.getTime()}function YC(e,t){return tc(yo(e),yo(t))}function XC(e,t){return e.getTime(){n.locale=e.locale[r]??r??n.locale}),n}function yH(){const e=Oe(e_);if(!e)throw new Error("[Vuetify] Could not find injected date options");const t=SC();return t_(e,t)}const vH=["sm","md","lg","xl","xxl"],ku=Symbol.for("vuetify:display"),Ip={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},cI=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ip;return Tt(Ip,e)};function kp(e){return Xe&&!e?window.innerWidth:typeof e=="object"&&e.clientWidth||0}function xp(e){return Xe&&!e?window.innerHeight:typeof e=="object"&&e.clientHeight||0}function Rp(e){const t=Xe&&!e?window.navigator.userAgent:"ssr";function n(p){return!!t.match(p)}const r=n(/android/i),s=n(/iphone|ipad|ipod/i),i=n(/cordova/i),o=n(/electron/i),a=n(/chrome/i),c=n(/edge/i),l=n(/firefox/i),u=n(/opera/i),f=n(/win/i),d=n(/mac/i),h=n(/linux/i);return{android:r,ios:s,cordova:i,electron:o,chrome:a,edge:c,firefox:l,opera:u,win:f,mac:d,linux:h,touch:_T,ssr:t==="ssr"}}function lI(e,t){const{thresholds:n,mobileBreakpoint:r}=cI(e),s=be(xp(t)),i=be(Rp(t)),o=lt({}),a=be(kp(t));function c(){s.value=xp(),a.value=kp()}function l(){c(),i.value=Rp()}return on(()=>{const u=a.value=n.xxl,y=u?"xs":f?"sm":d?"md":h?"lg":p?"xl":"xxl",g=typeof r=="number"?r:n[r],v=a.value{window.removeEventListener("resize",c)},!0)),{...Mf(o),update:l,ssr:!!t}}const _H=ie({mobile:{type:Boolean,default:!1},mobileBreakpoint:[Number,String]},"display");function uI(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{mobile:null},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Dr();const n=Oe(ku);if(!n)throw new Error("Could not find Vuetify display injection");const r=U(()=>e.mobile?!0:typeof e.mobileBreakpoint=="number"?n.width.valuet?{[`${t}--mobile`]:r.value}:{}),mobile:r}}const n_=Symbol.for("vuetify:goto");function r_(){return{container:void 0,duration:300,layout:!1,offset:0,easing:"easeInOutCubic",patterns:aC}}function fI(e){return ed(e)??(document.scrollingElement||document.body)}function ed(e){return typeof e=="string"?document.querySelector(e):jf(e)}function kl(e,t,n){if(typeof e=="number")return t&&n?-e:e;let r=ed(e),s=0;for(;r;)s+=t?r.offsetLeft:r.offsetTop,r=r.offsetParent;return s}function dI(e,t){return{rtl:t.isRtl,options:Tt(r_(),e)}}async function Ap(e,t,n,r){const s=n?"scrollLeft":"scrollTop",i=Tt((r==null?void 0:r.options)??r_(),t),o=r==null?void 0:r.rtl.value,a=(typeof e=="number"?e:ed(e))??0,c=i.container==="parent"&&a instanceof HTMLElement?a.parentElement:fI(i.container),l=po()?i.patterns.instant:typeof i.easing=="function"?i.easing:i.patterns[i.easing];if(!l)throw new TypeError(`Easing function "${i.easing}" not found.`);let u;if(typeof a=="number")u=kl(a,n,o);else if(u=kl(a,n,o)-kl(c,n,o),i.layout){const p=window.getComputedStyle(a).getPropertyValue("--v-layout-top");p&&(u-=parseInt(p,10))}u+=i.offset,u=hI(c,u,!!o,!!n);const f=c[s]??0;if(u===f)return Promise.resolve(u);const d=performance.now();return new Promise(h=>requestAnimationFrame(function p(m){const g=(m-d)/i.duration,v=Math.floor(f+(u-f)*l(Qn(g,0,1)));if(c[s]=v,g>=1&&Math.abs(v-c[s])<10)return h(u);if(g>2)return h(c[s]);requestAnimationFrame(p)}))}function bH(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t=Oe(n_),{isRtl:n}=Do();if(!t)throw new Error("[Vuetify] Could not find injected goto instance");const r={...t,rtl:Q(()=>t.rtl.value||n.value)};async function s(i,o){return Ap(i,Tt(e,o),!1,r)}return s.horizontal=async(i,o)=>Ap(i,Tt(e,o),!0,r),s}function hI(e,t,n,r){const{scrollWidth:s,scrollHeight:i}=e,[o,a]=e===document.scrollingElement?[window.innerWidth,window.innerHeight]:[e.offsetWidth,e.offsetHeight];let c,l;return r?n?(c=-(s-o),l=0):(c=0,l=s-o):(c=0,l=i+-a),Qn(t,c,l)}const vo=Symbol.for("vuetify:theme"),Yt=ie({theme:String},"theme");function Op(){return{defaultTheme:"light",prefix:"v-",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-light":"#EEEEEE","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#1867C0","primary-darken-1":"#1F5592",secondary:"#48A9A6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#EEEEEE","theme-on-kbd":"#000000","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-light":"#424242","surface-variant":"#c8c8c8","on-surface-variant":"#000000",primary:"#2196F3","primary-darken-1":"#277CC1",secondary:"#54B6B2","secondary-darken-1":"#48A9A6",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#424242","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}},stylesheetId:"vuetify-theme-stylesheet",scoped:!1,unimportant:!1,utilities:!0}}function pI(){var r,s;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Op();const t=Op();if(!e)return{...t,isDisabled:!0};const n={};for(const[i,o]of Object.entries(e.themes??{})){const a=o.dark||i==="dark"?(r=t.themes)==null?void 0:r.dark:(s=t.themes)==null?void 0:s.light;n[i]=Tt(a,o)}return Tt(t,{...e,themes:n})}function qr(e,t,n,r){e.push(`${vI(t,r)} { `,...n.map(s=>` ${s}; `),`} `)}function Mp(e,t){const n=e.dark?2:1,r=e.dark?1:2,s=[];for(const[i,o]of Object.entries(e.colors)){const a=Rn(o);s.push(`--${t}theme-${i}: ${a.r},${a.g},${a.b}`),i.startsWith("on-")||s.push(`--${t}theme-${i}-overlay-multiplier: ${eC(o)>.18?n:r}`)}for(const[i,o]of Object.entries(e.variables)){const a=typeof o=="string"&&o.startsWith("#")?Rn(o):void 0,c=a?`${a.r}, ${a.g}, ${a.b}`:void 0;s.push(`--${t}${i}: ${c??o}`)}return s}function mI(e,t,n){const r={};if(n)for(const s of["lighten","darken"]){const i=s==="lighten"?ZT:QT;for(const o of Ov(n[s],1))r[`${e}-${s}-${o}`]=YT(i(Rn(t),o))}return r}function gI(e,t){if(!t)return{};let n={};for(const r of t.colors){const s=e[r];s&&(n={...n,...mI(r,s,t)})}return n}function yI(e){const t={};for(const n of Object.keys(e)){if(n.startsWith("on-")||e[`on-${n}`])continue;const r=`on-${n}`,s=Rn(e[n]);t[r]=jv(s)}return t}function vI(e,t){if(!t)return e;const n=`:where(${t})`;return e===":root"?n:`${n} ${e}`}function _I(e,t,n){const r=bI(e,t);r&&(r.innerHTML=n)}function bI(e,t){if(!Xe)return null;let n=document.getElementById(e);return n||(n=document.createElement("style"),n.id=e,n.type="text/css",t&&n.setAttribute("nonce",t),document.head.appendChild(n)),n}function SI(e){const t=pI(e),n=be(t.defaultTheme),r=Ee(t.themes),s=be("light"),i=U({get(){return n.value==="system"?s.value:n.value},set(g){n.value=g}}),o=U(()=>{const g={};for(const[v,_]of Object.entries(r.value)){const T={..._.colors,...gI(_.colors,t.variations)};g[v]={..._,colors:{...T,...yI(T)}}}return g}),a=Q(()=>o.value[i.value]),c=Q(()=>n.value==="system"),l=U(()=>{var O;const g=[],v=t.unimportant?"":" !important",_=t.scoped?t.prefix:"";(O=a.value)!=null&&O.dark&&qr(g,":root",["color-scheme: dark"],t.scope),qr(g,":root",Mp(a.value,t.prefix),t.scope);for(const[R,E]of Object.entries(o.value))qr(g,`.${t.prefix}theme--${R}`,[`color-scheme: ${E.dark?"dark":"normal"}`,...Mp(E,t.prefix)],t.scope);if(t.utilities){const R=[],E=[],w=new Set(Object.values(o.value).flatMap(I=>Object.keys(I.colors)));for(const I of w)I.startsWith("on-")?qr(E,`.${I}`,[`color: rgb(var(--${t.prefix}theme-${I}))${v}`],t.scope):(qr(R,`.${_}bg-${I}`,[`--${t.prefix}theme-overlay-multiplier: var(--${t.prefix}theme-${I}-overlay-multiplier)`,`background-color: rgb(var(--${t.prefix}theme-${I}))${v}`,`color: rgb(var(--${t.prefix}theme-on-${I}))${v}`],t.scope),qr(E,`.${_}text-${I}`,[`color: rgb(var(--${t.prefix}theme-${I}))${v}`],t.scope),qr(E,`.${_}border-${I}`,[`--${t.prefix}border-color: var(--${t.prefix}theme-${I})`],t.scope));t.layers?g.push(`@layer background { `,...R.map(I=>` ${I}`),`} `,`@layer foreground { `,...E.map(I=>` ${I}`),`} `):g.push(...R,...E)}let T=g.map((R,E)=>E===0?R:` ${R}`).join("");return t.layers&&(T=`@layer vuetify.theme { `+g.map(R=>` ${R}`).join("")+` }`),T}),u=Q(()=>t.isDisabled?void 0:`${t.prefix}theme--${i.value}`),f=Q(()=>Object.keys(o.value));if(xv){let v=function(){s.value=g.matches?"dark":"light"};const g=window.matchMedia("(prefers-color-scheme: dark)");v(),g.addEventListener("change",v,{passive:!0}),Tf()&&_t(()=>{g.removeEventListener("change",v)})}function d(g){if(t.isDisabled)return;const v=g._context.provides.usehead;if(v){let _=function(){return{style:[{textContent:l.value,id:t.stylesheetId,nonce:t.cspNonce||!1}]}};if(v.push){const T=v.push(_);Xe&&Se(l,()=>{T.patch(_)})}else Xe?(v.addHeadObjs(Q(_)),on(()=>v.updateDOM())):v.addHeadObjs(_())}else{let _=function(){_I(t.stylesheetId,t.cspNonce,l.value)};Xe?Se(l,_,{immediate:!0}):_()}}function h(g){g!=="system"&&!f.value.includes(g)||(i.value=g)}function p(){let g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:f.value;const v=g.indexOf(i.value),_=v===-1?0:(v+1)%g.length;h(g[_])}function m(){let g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["light","dark"];p(g)}const y=new Proxy(i,{get(g,v){return Reflect.get(g,v)},set(g,v,_){return v==="value"&&kv(`theme.global.name.value = ${_}`,`theme.change('${_}')`),Reflect.set(g,v,_)}});return{install:d,change:h,cycle:p,toggle:m,isDisabled:t.isDisabled,isSystem:c,name:i,themes:r,current:a,computedThemes:o,prefix:t.prefix,themeClasses:u,styles:l,global:{name:y,current:a}}}function cn(e){ut("provideTheme");const t=Oe(vo,null);if(!t)throw new Error("Could not find Vuetify theme injection");const n=Q(()=>e.theme??t.name.value),i={...t,name:n,current:Q(()=>t.themes.value[n.value]),themeClasses:Q(()=>t.isDisabled?void 0:`${t.prefix}theme--${n.value}`)};return Ct(vo,i),i}function s_(){ut("useTheme");const e=Oe(vo,null);if(!e)throw new Error("Could not find Vuetify theme injection");return e}function td(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const n=Eu(),r=Ee();if(Xe){const s=new ResizeObserver(i=>{e==null||e(i,s),i.length&&(t==="content"?r.value=i[0].contentRect:r.value=i[0].target.getBoundingClientRect())});yn(()=>{s.disconnect()}),Se(()=>n.el,(i,o)=>{o&&(s.unobserve(o),r.value=void 0),i&&s.observe(i)},{flush:"post"})}return{resizeRef:n,contentRect:Xs(r)}}const _o=Symbol.for("vuetify:layout"),i_=Symbol.for("vuetify:layout-item"),Pp=1e3,EI=ie({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),SH=ie({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function wI(){const e=Oe(_o);if(!e)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:e.getLayoutItem,mainRect:e.mainRect,mainStyles:e.mainStyles}}function EH(e){const t=Oe(_o);if(!t)throw new Error("[Vuetify] Could not find injected layout");const n=e.id??`layout-item-${Uy()}`,r=ut("useLayoutItem");Ct(i_,{id:n});const s=be(!1);zy(()=>s.value=!0),jy(()=>s.value=!1);const{layoutItemStyles:i,layoutItemScrimStyles:o}=t.register(r,{...e,active:U(()=>s.value?!1:e.active.value),id:n});return yn(()=>t.unregister(n)),{layoutItemStyles:i,layoutRect:t.layoutRect,layoutItemScrimStyles:o}}const TI=(e,t,n,r)=>{let s={top:0,left:0,right:0,bottom:0};const i=[{id:"",layer:{...s}}];for(const o of e){const a=t.get(o),c=n.get(o),l=r.get(o);if(!a||!c||!l)continue;const u={...s,[a.value]:parseInt(s[a.value],10)+(l.value?parseInt(c.value,10):0)};i.push({id:o,layer:u}),s=u}return i};function CI(e){const t=Oe(_o,null),n=U(()=>t?t.rootZIndex.value-100:Pp),r=Ee([]),s=lt(new Map),i=lt(new Map),o=lt(new Map),a=lt(new Map),c=lt(new Map),{resizeRef:l,contentRect:u}=td(),f=U(()=>{const R=new Map,E=e.overlaps??[];for(const w of E.filter(I=>I.includes(":"))){const[I,A]=w.split(":");if(!r.value.includes(I)||!r.value.includes(A))continue;const M=s.get(I),x=s.get(A),N=i.get(I),L=i.get(A);!M||!x||!N||!L||(R.set(A,{position:M.value,amount:parseInt(N.value,10)}),R.set(I,{position:x.value,amount:-parseInt(L.value,10)}))}return R}),d=U(()=>{const R=[...new Set([...o.values()].map(w=>w.value))].sort((w,I)=>w-I),E=[];for(const w of R){const I=r.value.filter(A=>{var M;return((M=o.get(A))==null?void 0:M.value)===w});E.push(...I)}return TI(E,s,i,a)}),h=U(()=>!Array.from(c.values()).some(R=>R.value)),p=U(()=>d.value[d.value.length-1].layer),m=Q(()=>({"--v-layout-left":pe(p.value.left),"--v-layout-right":pe(p.value.right),"--v-layout-top":pe(p.value.top),"--v-layout-bottom":pe(p.value.bottom),...h.value?void 0:{transition:"none"}})),y=U(()=>d.value.slice(1).map((R,E)=>{let{id:w}=R;const{layer:I}=d.value[E],A=i.get(w),M=s.get(w);return{id:w,...I,size:Number(A.value),position:M.value}})),g=R=>y.value.find(E=>E.id===R),v=ut("createLayout"),_=be(!1);return Nr(()=>{_.value=!0}),Ct(_o,{register:(R,E)=>{let{id:w,order:I,position:A,layoutSize:M,elementSize:x,active:N,disableTransitions:L,absolute:G}=E;o.set(w,I),s.set(w,A),i.set(w,M),a.set(w,N),L&&c.set(w,L);const j=Ds(i_,v==null?void 0:v.vnode).indexOf(R);j>-1?r.value.splice(j,0,w):r.value.push(w);const D=U(()=>y.value.findIndex(le=>le.id===w)),ae=U(()=>n.value+d.value.length*2-D.value*2),q=U(()=>{const le=A.value==="left"||A.value==="right",ve=A.value==="right",Me=A.value==="bottom",Fe=x.value??M.value,Ge=Fe===0?"%":"px",C={[A.value]:0,zIndex:ae.value,transform:`translate${le?"X":"Y"}(${(N.value?0:-(Fe===0?100:Fe))*(ve||Me?-1:1)}${Ge})`,position:G.value||n.value!==Pp?"absolute":"fixed",...h.value?void 0:{transition:"none"}};if(!_.value)return C;const W=y.value[D.value],z=f.value.get(w);return z&&(W[z.position]+=z.amount),{...C,height:le?`calc(100% - ${W.top}px - ${W.bottom}px)`:x.value?`${x.value}px`:void 0,left:ve?void 0:`${W.left}px`,right:ve?`${W.right}px`:void 0,top:A.value!=="bottom"?`${W.top}px`:void 0,bottom:A.value!=="top"?`${W.bottom}px`:void 0,width:le?x.value?`${x.value}px`:void 0:`calc(100% - ${W.left}px - ${W.right}px)`}}),ce=U(()=>({zIndex:ae.value-1}));return{layoutItemStyles:q,layoutItemScrimStyles:ce,zIndex:ae}},unregister:R=>{o.delete(R),s.delete(R),i.delete(R),a.delete(R),c.delete(R),r.value=r.value.filter(E=>E!==R)},mainRect:p,mainStyles:m,getLayoutItem:g,items:y,layoutRect:u,rootZIndex:n}),{layoutClasses:Q(()=>["v-layout",{"v-layout--full-height":e.fullHeight}]),layoutStyles:Q(()=>({zIndex:t?n.value:void 0,position:t?"relative":void 0,overflow:t?"hidden":void 0})),getLayoutItem:g,items:y,layoutRect:u,layoutRef:l}}function o_(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:t,...n}=e,r=Tt(t,n),{aliases:s={},components:i={},directives:o={}}=r,a=ls();return a.run(()=>{const c=nC(r.defaults),l=lI(r.display,r.ssr),u=SI(r.theme),f=gC(r.icons),d=bC(r.locale),h=oI(r.date,d),p=dI(r.goTo,d);function m(g){for(const _ in o)g.directive(_,o[_]);for(const _ in i)g.component(_,i[_]);for(const _ in s)g.component(_,gi({...s[_],name:_,aliasName:s[_].name}));const v=ls();if(v.run(()=>{u.install(g)}),g.onUnmount(()=>v.stop()),g.provide(ei,c),g.provide(ku,l),g.provide(vo,u),g.provide(Iu,f),g.provide(ec,d),g.provide(e_,h.options),g.provide(Cp,h.instance),g.provide(n_,p),Xe&&r.ssr)if(g.$nuxt)g.$nuxt.hook("app:suspense:resolve",()=>{l.update()});else{const{mount:_}=g;g.mount=function(){const T=_(...arguments);return dt(()=>l.update()),g.mount=_,T}}g.mixin({computed:{$vuetify(){return lt({defaults:Cs.call(this,ei),display:Cs.call(this,ku),theme:Cs.call(this,vo),icons:Cs.call(this,Iu),locale:Cs.call(this,ec),date:Cs.call(this,Cp)})}}})}function y(){a.stop()}return{install:m,unmount:y,defaults:c,display:l,theme:u,icons:f,locale:d,date:h,goTo:p}})}const II="3.11.7";o_.version=II;function Cs(e){var r,s;const t=this.$,n=((r=t.parent)==null?void 0:r.provides)??((s=t.vnode.appContext)==null?void 0:s.provides);if(n&&e in n)return n[e]}const kI=o_({theme:{defaultTheme:"dark"}});/*! * pinia v3.0.4 * (c) 2025 Eduardo San Martin Morote * @license MIT */let a_;const Vc=e=>a_=e,c_=Symbol();function xu(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var eo;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(eo||(eo={}));function l_(){const e=ls(!0),t=e.run(()=>Ee({}));let n=[],r=[];const s=Of({install(i){Vc(s),s._a=i,i.provide(c_,s),i.config.globalProperties.$pinia=s,r.forEach(o=>n.push(o)),r=[]},use(i){return this._a?n.push(i):r.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const u_=()=>{};function Np(e,t,n,r=u_){e.add(t);const s=()=>{e.delete(t)&&r()};return!n&&Tf()&&_t(s),s}function Is(e,...t){e.forEach(n=>{n(...t)})}const xI=e=>e(),Lp=Symbol(),xl=Symbol();function Ru(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],s=e[n];xu(s)&&xu(r)&&e.hasOwnProperty(n)&&!qe(r)&&!jn(r)?e[n]=Ru(s,r):e[n]=r}return e}const RI=Symbol();function AI(e){return!xu(e)||!Object.prototype.hasOwnProperty.call(e,RI)}const{assign:pr}=Object;function OI(e){return!!(qe(e)&&e.effect)}function MI(e,t,n,r){const{state:s,actions:i,getters:o}=t,a=n.state.value[e];let c;function l(){a||(n.state.value[e]=s?s():{});const u=Mf(n.state.value[e]);return pr(u,i,Object.keys(o||{}).reduce((f,d)=>(f[d]=Of(U(()=>{Vc(n);const h=n._s.get(e);return o[d].call(h,h)})),f),{}))}return c=f_(e,l,t,n,r,!0),c}function f_(e,t,n={},r,s,i){let o;const a=pr({actions:{}},n),c={deep:!0};let l,u,f=new Set,d=new Set,h;const p=r.state.value[e];!i&&!p&&(r.state.value[e]={});let m;function y(w){let I;l=u=!1,typeof w=="function"?(w(r.state.value[e]),I={type:eo.patchFunction,storeId:e,events:h}):(Ru(r.state.value[e],w),I={type:eo.patchObject,payload:w,storeId:e,events:h});const A=m=Symbol();dt().then(()=>{m===A&&(l=!0)}),u=!0,Is(f,I,r.state.value[e])}const g=i?function(){const{state:I}=n,A=I?I():{};this.$patch(M=>{pr(M,A)})}:u_;function v(){o.stop(),f.clear(),d.clear(),r._s.delete(e)}const _=(w,I="")=>{if(Lp in w)return w[xl]=I,w;const A=function(){Vc(r);const M=Array.from(arguments),x=new Set,N=new Set;function L(j){x.add(j)}function G(j){N.add(j)}Is(d,{args:M,name:A[xl],store:O,after:L,onError:G});let J;try{J=w.apply(this&&this.$id===e?this:O,M)}catch(j){throw Is(N,j),j}return J instanceof Promise?J.then(j=>(Is(x,j),j)).catch(j=>(Is(N,j),Promise.reject(j))):(Is(x,J),J)};return A[Lp]=!0,A[xl]=I,A},T={_p:r,$id:e,$onAction:Np.bind(null,d),$patch:y,$reset:g,$subscribe(w,I={}){const A=Np(f,w,I.detached,()=>M()),M=o.run(()=>Se(()=>r.state.value[e],x=>{(I.flush==="sync"?u:l)&&w({storeId:e,type:eo.direct,events:h},x)},pr({},c,I)));return A},$dispose:v},O=lt(T);r._s.set(e,O);const E=(r._a&&r._a.runWithContext||xI)(()=>r._e.run(()=>(o=ls()).run(()=>t({action:_}))));for(const w in E){const I=E[w];if(qe(I)&&!OI(I)||jn(I))i||(p&&AI(I)&&(qe(I)?I.value=p[w]:Ru(I,p[w])),r.state.value[e][w]=I);else if(typeof I=="function"){const A=_(I,w);E[w]=A,a.actions[w]=I}}return pr(O,E),pr(ue(O),E),Object.defineProperty(O,"$state",{get:()=>r.state.value[e],set:w=>{y(I=>{pr(I,w)})}}),r._p.forEach(w=>{pr(O,o.run(()=>w({store:O,app:r._a,pinia:r,options:a})))}),p&&i&&n.hydrate&&n.hydrate(O.$state,p),l=!0,u=!0,O}/*! #__NO_SIDE_EFFECTS__ */function wH(e,t,n){let r;const s=typeof t=="function";r=s?n:t;function i(o,a){const c=F0();return o=o||(c?Oe(c_,null):null),o&&Vc(o),o=a_,o._s.has(e)||(s?f_(e,t,r,o):MI(e,r,o)),o._s.get(e)}return i.$id=e,i}function TH(e,t){return Array.isArray(t)?t.reduce((n,r)=>(n[r]=function(){return e(this.$pinia)[r]},n),{}):Object.keys(t).reduce((n,r)=>(n[r]=function(){const s=e(this.$pinia),i=t[r];return typeof i=="function"?i.call(this,s):s[i]},n),{})}function CH(e,t){return Array.isArray(t)?t.reduce((n,r)=>(n[r]=function(...s){return e(this.$pinia)[r](...s)},n),{}):Object.keys(t).reduce((n,r)=>(n[r]=function(...s){return e(this.$pinia)[t[r]](...s)},n),{})}const PI=l_();/*! * vue-router v4.6.4 * (c) 2025 Eduardo San Martin Morote * @license MIT */const Ms=typeof document<"u";function d_(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function NI(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&d_(e.default)}const Ne=Object.assign;function Rl(e,t){const n={};for(const r in t){const s=t[r];n[r]=gn(s)?s.map(e):e(s)}return n}const to=()=>{},gn=Array.isArray;function Dp(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const h_=/#/g,LI=/&/g,DI=/\//g,FI=/=/g,$I=/\?/g,p_=/\+/g,BI=/%5B/g,HI=/%5D/g,m_=/%5E/g,VI=/%60/g,g_=/%7B/g,UI=/%7C/g,y_=/%7D/g,WI=/%20/g;function nd(e){return e==null?"":encodeURI(""+e).replace(UI,"|").replace(BI,"[").replace(HI,"]")}function jI(e){return nd(e).replace(g_,"{").replace(y_,"}").replace(m_,"^")}function Au(e){return nd(e).replace(p_,"%2B").replace(WI,"+").replace(h_,"%23").replace(LI,"%26").replace(VI,"`").replace(g_,"{").replace(y_,"}").replace(m_,"^")}function zI(e){return Au(e).replace(FI,"%3D")}function qI(e){return nd(e).replace(h_,"%23").replace($I,"%3F")}function GI(e){return qI(e).replace(DI,"%2F")}function bo(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const KI=/\/$/,YI=e=>e.replace(KI,"");function Al(e,t,n="/"){let r,s={},i="",o="";const a=t.indexOf("#");let c=t.indexOf("?");return c=a>=0&&c>a?-1:c,c>=0&&(r=t.slice(0,c),i=t.slice(c,a>0?a:t.length),s=e(i.slice(1))),a>=0&&(r=r||t.slice(0,a),o=t.slice(a,t.length)),r=QI(r??t,n),{fullPath:r+i+o,path:r,query:s,hash:bo(o)}}function XI(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Fp(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function JI(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&ti(t.matched[r],n.matched[s])&&v_(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function ti(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function v_(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!ZI(e[n],t[n]))return!1;return!0}function ZI(e,t){return gn(e)?$p(e,t):gn(t)?$p(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function $p(e,t){return gn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function QI(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let i=n.length-1,o,a;for(o=0;o1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(o).join("/")}const fr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Ou=function(e){return e.pop="pop",e.push="push",e}({}),Ol=function(e){return e.back="back",e.forward="forward",e.unknown="",e}({});function ek(e){if(!e)if(Ms){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),YI(e)}const tk=/^[^#]+#/;function nk(e,t){return e.replace(tk,"#")+t}function rk(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 Uc=()=>({left:window.scrollX,top:window.scrollY});function sk(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=rk(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Bp(e,t){return(history.state?history.state.position-t:-1)+e}const Mu=new Map;function ik(e,t){Mu.set(e,t)}function ok(e){const t=Mu.get(e);return Mu.delete(e),t}function ak(e){return typeof e=="string"||e&&typeof e=="object"}function __(e){return typeof e=="string"||typeof e=="symbol"}let tt=function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e}({});const b_=Symbol("");tt.MATCHER_NOT_FOUND+"",tt.NAVIGATION_GUARD_REDIRECT+"",tt.NAVIGATION_ABORTED+"",tt.NAVIGATION_CANCELLED+"",tt.NAVIGATION_DUPLICATED+"";function ni(e,t){return Ne(new Error,{type:e,[b_]:!0},t)}function Fn(e,t){return e instanceof Error&&b_ in e&&(t==null||!!(e.type&t))}const ck=["params","query","hash"];function lk(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of ck)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function uk(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;rs&&Au(s)):[r&&Au(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function fk(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=gn(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const dk=Symbol(""),Vp=Symbol(""),Wc=Symbol(""),rd=Symbol(""),Pu=Symbol("");function Fi(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function _r(e,t,n,r,s,i=o=>o()){const o=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((a,c)=>{const l=d=>{d===!1?c(ni(tt.NAVIGATION_ABORTED,{from:n,to:t})):d instanceof Error?c(d):ak(d)?c(ni(tt.NAVIGATION_GUARD_REDIRECT,{from:t,to:d})):(o&&r.enterCallbacks[s]===o&&typeof d=="function"&&o.push(d),a())},u=i(()=>e.call(r&&r.instances[s],t,n,l));let f=Promise.resolve(u);e.length<3&&(f=f.then(l)),f.catch(d=>c(d))})}function Ml(e,t,n,r,s=i=>i()){const i=[];for(const o of e)for(const a in o.components){let c=o.components[a];if(!(t!=="beforeRouteEnter"&&!o.instances[a]))if(d_(c)){const l=(c.__vccOpts||c)[t];l&&i.push(_r(l,n,r,o,a,s))}else{let l=c();i.push(()=>l.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${o.path}"`);const f=NI(u)?u.default:u;o.mods[a]=u,o.components[a]=f;const d=(f.__vccOpts||f)[t];return d&&_r(d,n,r,o,a,s)()}))}}return i}function hk(e,t){const n=[],r=[],s=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;oti(l,a))?r.push(a):n.push(a));const c=e.matched[o];c&&(t.matched.find(l=>ti(l,c))||s.push(c))}return[n,r,s]}/*! * vue-router v4.6.4 * (c) 2025 Eduardo San Martin Morote * @license MIT */let pk=()=>location.protocol+"//"+location.host;function S_(e,t){const{pathname:n,search:r,hash:s}=t,i=e.indexOf("#");if(i>-1){let o=s.includes(e.slice(i))?e.slice(i).length:1,a=s.slice(o);return a[0]!=="/"&&(a="/"+a),Fp(a,"")}return Fp(n,e)+r+s}function mk(e,t,n,r){let s=[],i=[],o=null;const a=({state:d})=>{const h=S_(e,location),p=n.value,m=t.value;let y=0;if(d){if(n.value=h,t.value=d,o&&o===p){o=null;return}y=m?d.position-m.position:0}else r(h);s.forEach(g=>{g(n.value,p,{delta:y,type:Ou.pop,direction:y?y>0?Ol.forward:Ol.back:Ol.unknown})})};function c(){o=n.value}function l(d){s.push(d);const h=()=>{const p=s.indexOf(d);p>-1&&s.splice(p,1)};return i.push(h),h}function u(){if(document.visibilityState==="hidden"){const{history:d}=window;if(!d.state)return;d.replaceState(Ne({},d.state,{scroll:Uc()}),"")}}function f(){for(const d of i)d();i=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:c,listen:l,destroy:f}}function Up(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Uc():null}}function gk(e){const{history:t,location:n}=window,r={value:S_(e,n)},s={value:t.state};s.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(c,l,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:pk()+e+c;try{t[u?"replaceState":"pushState"](l,"",d),s.value=l}catch(h){console.error(h),n[u?"replace":"assign"](d)}}function o(c,l){i(c,Ne({},t.state,Up(s.value.back,c,s.value.forward,!0),l,{position:s.value.position}),!0),r.value=c}function a(c,l){const u=Ne({},s.value,t.state,{forward:c,scroll:Uc()});i(u.current,u,!0),i(c,Ne({},Up(r.value,c,null),{position:u.position+1},l),!1),r.value=c}return{location:r,state:s,push:a,replace:o}}function yk(e){e=ek(e);const t=gk(e),n=mk(e,t.state,t.location,t.replace);function r(i,o=!0){o||n.pauseListeners(),history.go(i)}const s=Ne({location:"",base:e,go:r,createHref:nk.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}let Jr=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e}({});var at=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e}(at||{});const vk={type:Jr.Static,value:""},_k=/[a-zA-Z0-9_]/;function bk(e){if(!e)return[[]];if(e==="/")return[[vk]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${l}": ${h}`)}let n=at.Static,r=n;const s=[];let i;function o(){i&&s.push(i),i=[]}let a=0,c,l="",u="";function f(){l&&(n===at.Static?i.push({type:Jr.Static,value:l}):n===at.Param||n===at.ParamRegExp||n===at.ParamRegExpEnd?(i.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),i.push({type:Jr.Param,value:l,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),l="")}function d(){l+=c}for(;at.length?t.length===1&&t[0]===At.Static+At.Segment?1:-1:0}function E_(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const Ck={strict:!1,end:!0,sensitive:!1};function Ik(e,t,n){const r=wk(bk(e.path),n),s=Ne(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function kk(e,t){const n=[],r=new Map;t=Dp(Ck,t);function s(f){return r.get(f)}function i(f,d,h){const p=!h,m=qp(f);m.aliasOf=h&&h.record;const y=Dp(t,f),g=[m];if("alias"in f){const T=typeof f.alias=="string"?[f.alias]:f.alias;for(const O of T)g.push(qp(Ne({},m,{components:h?h.record.components:m.components,path:O,aliasOf:h?h.record:m})))}let v,_;for(const T of g){const{path:O}=T;if(d&&O[0]!=="/"){const R=d.record.path,E=R[R.length-1]==="/"?"":"/";T.path=d.record.path+(O&&E+O)}if(v=Ik(T,d,y),h?h.alias.push(v):(_=_||v,_!==v&&_.alias.push(v),p&&f.name&&!Gp(v)&&o(f.name)),w_(v)&&c(v),m.children){const R=m.children;for(let E=0;E{o(_)}:to}function o(f){if(__(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 c(f){const d=Ak(f,n);n.splice(d,0,f),f.record.name&&!Gp(f)&&r.set(f.record.name,f)}function l(f,d){let h,p={},m,y;if("name"in f&&f.name){if(h=r.get(f.name),!h)throw ni(tt.MATCHER_NOT_FOUND,{location:f});y=h.record.name,p=Ne(zp(d.params,h.keys.filter(_=>!_.optional).concat(h.parent?h.parent.keys.filter(_=>_.optional):[]).map(_=>_.name)),f.params&&zp(f.params,h.keys.map(_=>_.name))),m=h.stringify(p)}else if(f.path!=null)m=f.path,h=n.find(_=>_.re.test(m)),h&&(p=h.parse(m),y=h.record.name);else{if(h=d.name?r.get(d.name):n.find(_=>_.re.test(d.path)),!h)throw ni(tt.MATCHER_NOT_FOUND,{location:f,currentLocation:d});y=h.record.name,p=Ne({},d.params,f.params),m=h.stringify(p)}const g=[];let v=h;for(;v;)g.unshift(v.record),v=v.parent;return{name:y,path:m,params:p,matched:g,meta:Rk(g)}}e.forEach(f=>i(f));function u(){n.length=0,r.clear()}return{addRoute:i,resolve:l,removeRoute:o,clearRoutes:u,getRoutes:a,getRecordMatcher:s}}function zp(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function qp(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:xk(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 xk(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 Gp(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Rk(e){return e.reduce((t,n)=>Ne(t,n.meta),{})}function Ak(e,t){let n=0,r=t.length;for(;n!==r;){const i=n+r>>1;E_(e,t[i])<0?r=i:n=i+1}const s=Ok(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function Ok(e){let t=e;for(;t=t.parent;)if(w_(t)&&E_(e,t)===0)return t}function w_({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Kp(e){const t=Oe(Wc),n=Oe(rd),r=U(()=>{const c=Ft(e.to);return t.resolve(c)}),s=U(()=>{const{matched:c}=r.value,{length:l}=c,u=c[l-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(ti.bind(null,u));if(d>-1)return d;const h=Yp(c[l-2]);return l>1&&Yp(u)===h&&f[f.length-1].path!==h?f.findIndex(ti.bind(null,c[l-2])):d}),i=U(()=>s.value>-1&&Dk(n.params,r.value.params)),o=U(()=>s.value>-1&&s.value===n.matched.length-1&&v_(n.params,r.value.params));function a(c={}){if(Lk(c)){const l=t[Ft(e.replace)?"replace":"push"](Ft(e.to)).catch(to);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>l),l}return Promise.resolve()}return{route:r,href:U(()=>r.value.href),isActive:i,isExactActive:o,navigate:a}}function Mk(e){return e.length===1?e[0]:e}const Pk=Pc({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:Kp,setup(e,{slots:t}){const n=lt(Kp(e)),{options:r}=Oe(Wc),s=U(()=>({[Xp(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Xp(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&Mk(t.default(n));return e.custom?i:Lr("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},i)}}}),Nk=Pk;function Lk(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 Dk(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!gn(s)||s.length!==r.length||r.some((i,o)=>i.valueOf()!==s[o].valueOf()))return!1}return!0}function Yp(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Xp=(e,t,n)=>e??t??n,Fk=Pc({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Oe(Pu),s=U(()=>e.route||r.value),i=Oe(Vp,0),o=U(()=>{let l=Ft(i);const{matched:u}=s.value;let f;for(;(f=u[l])&&!f.components;)l++;return l}),a=U(()=>s.value.matched[o.value]);Ct(Vp,U(()=>o.value+1)),Ct(dk,a),Ct(Pu,s);const c=Ee();return Se(()=>[c.value,a.value,e.name],([l,u,f],[d,h,p])=>{u&&(u.instances[f]=l,h&&h!==u&&l&&l===d&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),l&&u&&(!h||!ti(u,h)||!d)&&(u.enterCallbacks[f]||[]).forEach(m=>m(l))},{flush:"post"}),()=>{const l=s.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return Jp(n.default,{Component:d,route:l});const h=f.props[u],p=h?h===!0?l.params:typeof h=="function"?h(l):h:null,y=Lr(d,Ne({},p,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(f.instances[u]=null)},ref:c}));return Jp(n.default,{Component:y,route:l})||y}}});function Jp(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const $k=Fk;function Bk(e){const t=kk(e.routes,e),n=e.parseQuery||uk,r=e.stringifyQuery||Hp,s=e.history,i=Fi(),o=Fi(),a=Fi(),c=be(fr);let l=fr;Ms&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Rl.bind(null,C=>""+C),f=Rl.bind(null,GI),d=Rl.bind(null,bo);function h(C,W){let z,re;return __(C)?(z=t.getRecordMatcher(C),re=W):re=C,t.addRoute(re,z)}function p(C){const W=t.getRecordMatcher(C);W&&t.removeRoute(W)}function m(){return t.getRoutes().map(C=>C.record)}function y(C){return!!t.getRecordMatcher(C)}function g(C,W){if(W=Ne({},W||c.value),typeof C=="string"){const k=Al(n,C,W.path),P=t.resolve({path:k.path},W),H=s.createHref(k.fullPath);return Ne(k,P,{params:d(P.params),hash:bo(k.hash),redirectedFrom:void 0,href:H})}let z;if(C.path!=null)z=Ne({},C,{path:Al(n,C.path,W.path).path});else{const k=Ne({},C.params);for(const P in k)k[P]==null&&delete k[P];z=Ne({},C,{params:f(k)}),W.params=f(W.params)}const re=t.resolve(z,W),_e=C.hash||"";re.params=u(d(re.params));const b=XI(r,Ne({},C,{hash:jI(_e),path:re.path})),S=s.createHref(b);return Ne({fullPath:b,hash:_e,query:r===Hp?fk(C.query):C.query||{}},re,{redirectedFrom:void 0,href:S})}function v(C){return typeof C=="string"?Al(n,C,c.value.path):Ne({},C)}function _(C,W){if(l!==C)return ni(tt.NAVIGATION_CANCELLED,{from:W,to:C})}function T(C){return E(C)}function O(C){return T(Ne(v(C),{replace:!0}))}function R(C,W){const z=C.matched[C.matched.length-1];if(z&&z.redirect){const{redirect:re}=z;let _e=typeof re=="function"?re(C,W):re;return typeof _e=="string"&&(_e=_e.includes("?")||_e.includes("#")?_e=v(_e):{path:_e},_e.params={}),Ne({query:C.query,hash:C.hash,params:_e.path!=null?{}:C.params},_e)}}function E(C,W){const z=l=g(C),re=c.value,_e=C.state,b=C.force,S=C.replace===!0,k=R(z,re);if(k)return E(Ne(v(k),{state:typeof k=="object"?Ne({},_e,k.state):_e,force:b,replace:S}),W||z);const P=z;P.redirectedFrom=W;let H;return!b&&JI(r,re,z)&&(H=ni(tt.NAVIGATION_DUPLICATED,{to:P,from:re}),ce(re,re,!0,!1)),(H?Promise.resolve(H):A(P,re)).catch($=>Fn($)?Fn($,tt.NAVIGATION_GUARD_REDIRECT)?$:q($):D($,P,re)).then($=>{if($){if(Fn($,tt.NAVIGATION_GUARD_REDIRECT))return E(Ne({replace:S},v($.to),{state:typeof $.to=="object"?Ne({},_e,$.to.state):_e,force:b}),W||P)}else $=x(P,re,!0,S,_e);return M(P,re,$),$})}function w(C,W){const z=_(C,W);return z?Promise.reject(z):Promise.resolve()}function I(C){const W=Me.values().next().value;return W&&typeof W.runWithContext=="function"?W.runWithContext(C):C()}function A(C,W){let z;const[re,_e,b]=hk(C,W);z=Ml(re.reverse(),"beforeRouteLeave",C,W);for(const k of re)k.leaveGuards.forEach(P=>{z.push(_r(P,C,W))});const S=w.bind(null,C,W);return z.push(S),Ge(z).then(()=>{z=[];for(const k of i.list())z.push(_r(k,C,W));return z.push(S),Ge(z)}).then(()=>{z=Ml(_e,"beforeRouteUpdate",C,W);for(const k of _e)k.updateGuards.forEach(P=>{z.push(_r(P,C,W))});return z.push(S),Ge(z)}).then(()=>{z=[];for(const k of b)if(k.beforeEnter)if(gn(k.beforeEnter))for(const P of k.beforeEnter)z.push(_r(P,C,W));else z.push(_r(k.beforeEnter,C,W));return z.push(S),Ge(z)}).then(()=>(C.matched.forEach(k=>k.enterCallbacks={}),z=Ml(b,"beforeRouteEnter",C,W,I),z.push(S),Ge(z))).then(()=>{z=[];for(const k of o.list())z.push(_r(k,C,W));return z.push(S),Ge(z)}).catch(k=>Fn(k,tt.NAVIGATION_CANCELLED)?k:Promise.reject(k))}function M(C,W,z){a.list().forEach(re=>I(()=>re(C,W,z)))}function x(C,W,z,re,_e){const b=_(C,W);if(b)return b;const S=W===fr,k=Ms?history.state:{};z&&(re||S?s.replace(C.fullPath,Ne({scroll:S&&k&&k.scroll},_e)):s.push(C.fullPath,_e)),c.value=C,ce(C,W,z,S),q()}let N;function L(){N||(N=s.listen((C,W,z)=>{if(!Fe.listening)return;const re=g(C),_e=R(re,Fe.currentRoute.value);if(_e){E(Ne(_e,{replace:!0,force:!0}),re).catch(to);return}l=re;const b=c.value;Ms&&ik(Bp(b.fullPath,z.delta),Uc()),A(re,b).catch(S=>Fn(S,tt.NAVIGATION_ABORTED|tt.NAVIGATION_CANCELLED)?S:Fn(S,tt.NAVIGATION_GUARD_REDIRECT)?(E(Ne(v(S.to),{force:!0}),re).then(k=>{Fn(k,tt.NAVIGATION_ABORTED|tt.NAVIGATION_DUPLICATED)&&!z.delta&&z.type===Ou.pop&&s.go(-1,!1)}).catch(to),Promise.reject()):(z.delta&&s.go(-z.delta,!1),D(S,re,b))).then(S=>{S=S||x(re,b,!1),S&&(z.delta&&!Fn(S,tt.NAVIGATION_CANCELLED)?s.go(-z.delta,!1):z.type===Ou.pop&&Fn(S,tt.NAVIGATION_ABORTED|tt.NAVIGATION_DUPLICATED)&&s.go(-1,!1)),M(re,b,S)}).catch(to)}))}let G=Fi(),J=Fi(),j;function D(C,W,z){q(C);const re=J.list();return re.length?re.forEach(_e=>_e(C,W,z)):console.error(C),Promise.reject(C)}function ae(){return j&&c.value!==fr?Promise.resolve():new Promise((C,W)=>{G.add([C,W])})}function q(C){return j||(j=!C,L(),G.list().forEach(([W,z])=>C?z(C):W()),G.reset()),C}function ce(C,W,z,re){const{scrollBehavior:_e}=e;if(!Ms||!_e)return Promise.resolve();const b=!z&&ok(Bp(C.fullPath,0))||(re||!z)&&history.state&&history.state.scroll||null;return dt().then(()=>_e(C,W,b)).then(S=>S&&sk(S)).catch(S=>D(S,C,W))}const le=C=>s.go(C);let ve;const Me=new Set,Fe={currentRoute:c,listening:!0,addRoute:h,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:y,getRoutes:m,resolve:g,options:e,push:T,replace:O,go:le,back:()=>le(-1),forward:()=>le(1),beforeEach:i.add,beforeResolve:o.add,afterEach:a.add,onError:J.add,isReady:ae,install(C){C.component("RouterLink",Nk),C.component("RouterView",$k),C.config.globalProperties.$router=Fe,Object.defineProperty(C.config.globalProperties,"$route",{enumerable:!0,get:()=>Ft(c)}),Ms&&!ve&&c.value===fr&&(ve=!0,T(s.location).catch(re=>{}));const W={};for(const re in fr)Object.defineProperty(W,re,{get:()=>c.value[re],enumerable:!0});C.provide(Wc,Fe),C.provide(rd,wy(W)),C.provide(Pu,c);const z=C.unmount;Me.add(C),C.unmount=function(){Me.delete(C),Me.size<1&&(l=fr,N&&N(),N=null,c.value=fr,ve=!1,j=!1),z()}}};function Ge(C){return C.reduce((W,z)=>W.then(()=>I(z)),Promise.resolve())}return Fe}function IH(){return Oe(Wc)}function kH(e){return Oe(rd)}const Hk=e=>{const t={};Object.entries(Object.assign({"/src/layouts/default.vue":()=>ht(()=>import("./default-BdaTlbaW.js"),__vite__mapDeps([0,1]),import.meta.url)})).forEach(([s,i])=>{let o=s.replace("/src/layouts/","").replace(".vue","");t[o]=i});function r(s,i=!0){return s.map(o=>{var a,c,l,u,f,d;if(((a=o.children)==null?void 0:a.length)>0&&(o.children=r(o.children,!1)),i){if(!o.component&&((c=o.children)==null?void 0:c.find(p=>{var m;return(p.path===""||p.path==="/")&&((m=p.meta)==null?void 0:m.isLayout)})))return o;if(((l=o.meta)==null?void 0:l.layout)!==!1)return{path:o.path,component:t[((u=o.meta)==null?void 0:u.layout)||"default"],children:o.path==="/"?[o]:[{...o,path:""}],meta:{isLayout:!0}}}return(f=o.meta)!=null&&f.layout?{path:o.path,component:t[(d=o.meta)==null?void 0:d.layout],children:[{...o,path:""}],meta:{isLayout:!0}}:o})}return r(e)},Vk=[{path:"/",name:"/",component:()=>ht(()=>import("./index-DDM9P6IV.js"),__vite__mapDeps([2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39]),import.meta.url)},{path:"/404",name:"/404",component:()=>ht(()=>import("./404-BUV7S865.js"),__vite__mapDeps([40,14,35]),import.meta.url)},{path:"/authorize",name:"/authorize",component:()=>ht(()=>import("./authorize-B6ScKHRa.js"),__vite__mapDeps([41,14,35]),import.meta.url)},{path:"/CacheManagement",name:"/CacheManagement",component:()=>ht(()=>import("./CacheManagement-DoF_G4xZ.js"),__vite__mapDeps([42,6,7,37,38,12,13,8,9,14,35]),import.meta.url)},{path:"/cses2wakeup",name:"/cses2wakeup",component:()=>ht(()=>import("./cses2wakeup-CFK6QLBO.js"),__vite__mapDeps([43,14,6,7,44,33,22,19,15,16,20,34,21,12,13,23,45,10,11,17,18,8,9,35,46]),import.meta.url)},{path:"/debug",name:"/debug",component:()=>ht(()=>import("./debug-KU27ZD5S.js"),__vite__mapDeps([47,35,48]),import.meta.url)},{path:"/debug-init",name:"/debug-init",component:()=>ht(()=>import("./debug-init-CBNN17PW.js"),__vite__mapDeps([49,4,5,14,36,15,16,35]),import.meta.url)},{path:"/debug-socket",name:"/debug-socket",component:()=>ht(()=>import("./debug-socket-sq4UK_d2.js"),__vite__mapDeps([50,27,5,32,14,12,13,15,16,17,18,35]),import.meta.url)},{path:"/exam-editor",children:[{path:":id",name:"/exam-editor/[id]",component:()=>ht(()=>import("./_id_-9DDLDO6h.js"),__vite__mapDeps([51,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,29,30,35]),import.meta.url)}]},{path:"/examschedule",name:"/examschedule",component:()=>ht(()=>import("./examschedule-DlYuJdDl.js"),__vite__mapDeps([52,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,35,53]),import.meta.url)},{path:"/list",children:[{path:"",name:"/list/",component:()=>ht(()=>import("./index-bqvMdhMd.js"),__vite__mapDeps([54,4,5,29,30,15,16,35]),import.meta.url)},{path:":id",name:"/list/[id]",component:()=>ht(()=>import("./_id_-DzoDISsJ.js"),__vite__mapDeps([55,4,5,29,30,15,16,22,19,20,12,13,17,18,35]),import.meta.url)}]},{path:"/settings",name:"/settings",component:()=>ht(()=>import("./settings-BmFKtRQg.js"),__vite__mapDeps([56,28,29,30,15,16,21,22,19,20,12,13,23,31,4,5,6,7,14,35,33,34,17,18,36,37,38,44,45,24,25,57]),import.meta.url)},{path:"/socket-debugger",name:"/socket-debugger",component:()=>ht(()=>import("./socket-debugger-qP6I1v4J.js"),__vite__mapDeps([58,27,5,14,12,13,15,16,17,18,19,20,6,7,35,59]),import.meta.url)}],jc=Bk({history:yk("./"),routes:Hk(Vk)});jc.onError((e,t)=>{var n,r;(r=(n=e==null?void 0:e.message)==null?void 0:n.includes)!=null&&r.call(n,"Failed to fetch dynamically imported module")?localStorage.getItem("vuetify:dynamic-reload")?console.error("Dynamic import error, reloading page did not fix it",e):(console.log("Reloading page to fix dynamic import error"),localStorage.setItem("vuetify:dynamic-reload","true"),location.assign(t.fullPath)):console.error(e)});jc.isReady().then(()=>{localStorage.removeItem("vuetify:dynamic-reload")});function Uk(e){e.use(kI).use(jc).use(PI)}async function Wk(){return typeof Notification<"u"&&Notification.requestPermission?await Notification.requestPermission()==="granted"?(console.log("通知权限已授予"),!0):(console.warn("通知权限被拒绝"),!1):(console.warn("浏览器不支持通知权限请求"),!1)}async function jk(){var e;try{return(e=navigator.storage)!=null&&e.persist?await navigator.storage.persist():!1}catch(t){return console.warn("请求持久性存储失败:",t),!1}}const Pl="Classworks_settings",Zp={"server.domain":"https://kv-service.houlang.cloud","server.siteKey":""},mr={"device.uuid":{type:"string",default:"00000000-0000-4000-8000-000000000000",description:"设备唯一标识符",icon:"mdi-identifier"},"storage.persistOnLoad":{type:"boolean",default:!0,description:"是否在页面加载时自动请求持久性存储",icon:"mdi-database-sync"},"display.emptySubjectDisplay":{type:"string",default:"card",validate:e=>["card","button"].includes(e),description:"空科目的显示方式",icon:"mdi-card-outline"},"hitokoto.enabled":{type:"boolean",default:!0,description:"启用一言",icon:"mdi-comment-quote"},"hitokoto.refreshInterval":{type:"number",default:300,description:"刷新时间(秒,0为不自动刷新)",icon:"mdi-timer-refresh"},"display.dynamicSort":{type:"boolean",default:!0,description:"是否启用动态排序",icon:"mdi-sort-variant"},"display.showRandomButton":{type:"boolean",default:!1,description:"是否显示随机点人按钮",icon:"mdi-shuffle-variant"},"display.showFullscreenButton":{type:"boolean",default:!0,description:"是否显示全屏按钮",icon:"mdi-fullscreen"},"display.cardHoverEffect":{type:"boolean",default:!0,description:"是否启用卡片悬浮效果",icon:"mdi-gesture-tap"},"display.enhancedTouchMode":{type:"boolean",default:!0,description:"是否启用增强触摸模式",icon:"mdi-gesture-tap-button"},"display.showAntiScreenBurnCard":{type:"boolean",default:!1,description:"是否显示防烧屏忽悠卡片",icon:"mdi-monitor-shimmer"},"display.showListCard":{type:"boolean",default:!0,description:"是否显示列表卡片",icon:"mdi-list-box"},"display.showExamScheduleButton":{type:"boolean",default:!0,description:"是否显示考试看板",icon:"mdi-calendar-check"},"display.showQuickTools":{type:"boolean",default:!0,description:"是否显示快捷键盘",icon:"mdi-dialpad"},"display.forceDesktopMode":{type:"boolean",default:!1,description:"强制使用一体机UI模式",icon:"mdi-monitor"},"display.lateStudentsArePresent":{type:"boolean",default:!1,description:"将迟到人数算入出勤人数",icon:"mdi-clock-fast"},"server.domain":{type:"string",default:"",validate:e=>{if(!e)return!0;try{return new URL(e),!0}catch(t){return console.error("域名格式无效:",t),!1}},description:"后端服务器域名",icon:"mdi-web"},"server.classNumber":{type:"string",default:"高三八班",validate:e=>/.*/.test(e),description:"班级编号",icon:"mdi-account-group"},"server.siteKey":{type:"string",default:"",description:"网站令牌",icon:"mdi-key-chain"},"server.kvToken":{type:"string",default:"",description:"KV授权令牌",icon:"mdi-shield-key"},"server.authDomain":{type:"string",default:"https://kv.houlang.cloud",description:"授权服务器域名",icon:"mdi-shield-account",validate:e=>{if(!e)return!0;try{return new URL(e),!0}catch(t){return console.error("授权域名格式无效:",t),!1}}},"server.provider":{type:"string",default:"classworkscloud",validate:e=>["kv-local","kv-server","classworkscloud"].includes(e),description:"数据提供者",icon:"mdi-database"},"refresh.auto":{type:"boolean",default:!1,description:"是否启用自动刷新",icon:"mdi-refresh-auto"},"refresh.interval":{type:"number",default:300,validate:e=>e>=10&&e<=3600,description:"自动刷新间隔(秒)",icon:"mdi-timer-outline"},"font.size":{type:"number",default:28,validate:e=>e>=16&&e<=100,description:"字体大小",icon:"mdi-format-size"},"edit.autoSave":{type:"boolean",default:!0,description:"是否启用自动保存",icon:"mdi-content-save-outline"},"edit.blockNonTodayAutoSave":{type:"boolean",default:!0,description:"禁止自动保存非当天数据",icon:"mdi-calendar-lock"},"edit.refreshBeforeEdit":{type:"boolean",default:!0,description:"编辑前是否自动刷新",icon:"mdi-refresh"},"edit.confirmNonTodaySave":{type:"boolean",default:!0,description:"保存非当天数据需确认",icon:"mdi-calendar-alert"},"edit.blockPastDataEdit":{type:"boolean",default:!1,description:"禁止编辑过往数据",icon:"mdi-lock-clock"},"edit.autoSavePromptText":{type:"string",default:"喵?喵呜!",description:"自动保存模式提示文本",icon:"mdi-text-box-outline"},"edit.manualSavePromptText":{type:"string",default:"写完后点击上传谢谢喵",description:"手动保存模式提示文本",icon:"mdi-text-box-outline"},"developer.enabled":{type:"boolean",default:!1,description:"是否启用开发者选项",icon:"mdi-developer-board"},"developer.showDebugConfig":{type:"boolean",default:!1,description:"是否显示调试配置",icon:"mdi-bug-outline"},"developer.disableMessageLog":{type:"boolean",default:!1,description:"禁用消息日志记录",requireDeveloper:!0,icon:"mdi-message-off-outline"},"message.showSidebar":{type:"boolean",default:!0,description:"是否显示消息记录侧栏",requireDeveloper:!0,icon:"mdi-message-text-outline"},"message.maxActiveMessages":{type:"number",default:5,validate:e=>e>=1&&e<=10,description:"同时显示的最大消息数量",requireDeveloper:!0,icon:"mdi-message-badge-outline"},"message.timeout":{type:"number",default:5e3,validate:e=>e>=1e3&&e<=3e4,description:"消息自动关闭时间(毫秒)",requireDeveloper:!0,icon:"mdi-timer-sand"},"message.saveHistory":{type:"boolean",default:!0,description:"是否保存消息历史记录",requireDeveloper:!0,icon:"mdi-history"},"theme.mode":{type:"string",default:"dark",validate:e=>["light","dark"].includes(e),description:"主题模式",icon:"mdi-theme-light-dark"},"notification.singleSound":{type:"string",default:"Teams 默认.mp3",description:"单次通知铃声",icon:"mdi-bell-ring"},"notification.urgentSound":{type:"string",default:"Teams 默认通话铃.mp3",description:"持续通知铃声",icon:"mdi-bell-alert"},"randomPicker.enabled":{type:"boolean",default:!0,description:"是否启用随机点名功能",icon:"mdi-account-question"},"randomPicker.animation":{type:"boolean",default:!0,description:"是否启用随机点名动画效果",icon:"mdi-animation-play"},"randomPicker.defaultCount":{type:"number",default:1,validate:e=>e>=1&&e,description:"默认抽取人数",icon:"mdi-counter"},"randomPicker.excludeAbsent":{type:"boolean",default:!0,description:"是否排除请假学生",icon:"mdi-account-off"},"randomPicker.excludeLate":{type:"boolean",default:!1,description:"是否排除迟到学生",icon:"mdi-clock-alert"},"randomPicker.excludeExcluded":{type:"boolean",default:!0,description:"是否排除不参与学生",icon:"mdi-account-cancel"},"randomPicker.mode":{type:"string",default:"name",validate:e=>["name","number"].includes(e),description:"随机点名模式",icon:"mdi-format-list-numbered"},"randomPicker.maxNumber":{type:"number",default:60,validate:e=>e>=1&&e,description:"学号模式最大值",icon:"mdi-numeric"},"randomPicker.minNumber":{type:"number",default:1,validate:e=>e>=1&&e,description:"学号模式最小值",icon:"mdi-numeric-negative-1"},"pwa.hideInstallCard":{type:"boolean",default:!1,description:"不显示PWA安装卡片",icon:"mdi-download-off"}};class zk{constructor(){this.settingsCache=null,this.isInitialized=!1}init(){this.isInitialized||(this.loadSettings(),this.isInitialized=!0)}loadSettings(){this.settingsCache={};try{const t=typeof localStorage<"u"?localStorage.getItem(Pl):null;t&&(this.settingsCache=JSON.parse(t))}catch(t){console.error("加载设置失败:",t)}for(const[t,n]of Object.entries(mr))t in this.settingsCache||(this.settingsCache[t]=n.default);return this.settingsCache}saveSettings(){if(!(typeof localStorage>"u"))try{localStorage.setItem(Pl,JSON.stringify(this.settingsCache))}catch(t){console.error("保存设置失败:",t)}}getSetting(t){this.isInitialized||this.init();const n=mr[t];if(!n)return console.warn(`未定义的设置项: ${t}`),null;if(n.requireDeveloper&&!this.settingsCache["developer.enabled"])return n.default;if(this.settingsCache["server.provider"]==="classworkscloud"&&Zp[t]!==void 0)return Zp[t];const r=this.settingsCache[t];return r!==void 0?r:n.default}setSetting(t,n){this.isInitialized||this.init();const r=mr[t];if(!r)return console.warn(`未定义的设置项: ${t}`),!1;if(r.requireDeveloper&&!this.settingsCache["developer.enabled"])return console.warn(`设置项 ${t} 需要启用开发者选项`),!1;try{const s=this.settingsCache[t];if(typeof n!==r.type&&(n=r.type==="boolean"?!!n:r.type==="number"?Number(n):String(n)),r.validate&&!r.validate(n))return console.warn(`设置项 ${t} 的值无效`),!1;this.settingsCache[t]=n,this.saveSettings(),this.logSettingsChange(t,s,n);const i=r.legacyKey;return i&&typeof localStorage<"u"&&localStorage.setItem(i,n.toString()),!0}catch(s){return console.error(`设置配置项 ${t} 失败:`,s),!1}}logSettingsChange(t,n,r){this.settingsCache["developer.enabled"]&&this.settingsCache["developer.showDebugConfig"]&&console.log(`[Settings] ${t}:`,{old:n,new:r,time:new Date().toLocaleTimeString()})}resetSetting(t){this.isInitialized||this.init();const n=mr[t];if(!n){console.warn(`未定义的设置项: ${t}`);return}this.settingsCache[t]=n.default,this.saveSettings()}resetAllSettings(){this.settingsCache={};for(const[t,n]of Object.entries(mr))this.settingsCache[t]=n.default;this.saveSettings()}watchSettings(t){if(typeof window>"u")return()=>{};const n=r=>{r.key===Pl&&(this.settingsCache=JSON.parse(r.newValue),t(this.settingsCache))};return window.addEventListener("storage",n),()=>window.removeEventListener("storage",n)}getSettingDefinition(t){return mr[t]||null}exportSettingsAsKeyValue(){this.isInitialized||this.init();const t={};for(const n in mr)t[n]=this.getSetting(n);return t}}const Fr=new zk;typeof window<"u"&&Fr.init();const sd=e=>Fr.getSetting(e),qk=(e,t)=>Fr.setSetting(e,t),Gk=e=>Fr.resetSetting(e),Kk=e=>Fr.watchSettings(e),Yk=e=>Fr.getSettingDefinition(e),Xk=()=>Fr.exportSettingsAsKeyValue(),xH=Object.freeze(Object.defineProperty({__proto__:null,SettingsManager:Fr,exportSettingsAsKeyValue:Xk,getSetting:sd,getSettingDefinition:Yk,requestNotificationPermission:Wk,requestPersistentStorage:jk,resetSetting:Gk,setSetting:qk,settingsDefinitions:mr,watchSettings:Kk},Symbol.toStringTag,{value:"Module"}));class Jk{constructor(){this.logs=[]}async addLog(t){return this.logs.push(t),this.logs.length>100&&this.logs.shift(),!0}async getLogs(t=20){return this.logs.slice(-t).reverse()}}const Ia=new Jk,In=[];let ka=null,Tn=null;const $i={SUCCESS:"success",ERROR:"error",INFO:"info",WARNING:"warning"},Zk={timeout:3e3,showSnackbar:!0,addToLog:!0};async function ua(e,t,n="",r={}){const s={...Zk,...r},i={id:Date.now()+Math.random(),type:e,title:t,content:n.substring(0,500),timestamp:new Date};if(s.addToLog)try{for(await Ia.addLog(i),In.unshift(i);In.length>sd("message.maxActiveMessages");)In.pop();Tn==null||Tn(In)}catch(o){console.error("保存日志失败:",o)}return s.showSnackbar&&(ka==null||ka(i)),i}function Qk(e,t){let n=null;return function(...r){n&&clearTimeout(n),n=setTimeout(()=>{e.apply(this,r)},t)}}const Ps={install:e=>{e.config.globalProperties.$message={success:(t,n,r)=>ua($i.SUCCESS,t,n,r),error:(t,n,r)=>ua($i.ERROR,t,n,r),info:(t,n,r)=>ua($i.INFO,t,n,r),warning:(t,n,r)=>ua($i.WARNING,t,n,r)}},onSnackbar:e=>{ka=e},onLog:e=>{Tn=e},getMessages:async()=>{try{return await Ia.getLogs()}catch(e){return console.error("获取日志失败:",e),[...In]}},clearMessages:async()=>{try{await Ia.clearLogs(),In.length=0,Tn==null||Tn(In)}catch(e){console.error("清除日志失败:",e)}},MessageType:$i,markAsRead:()=>{},deleteMessage:async e=>{try{await Ia.deleteLog(e);const t=In.findIndex(n=>n.id===e);t!==-1&&In.splice(t,1),Tn==null||Tn(In)}catch(t){console.error("删除消息失败:",t)}},getUnreadCount:()=>0,debounce:Qk},T_=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},vi=ie({border:[Boolean,Number,String]},"border");function _i(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Dr();return{borderClasses:U(()=>{const r=e.border;return r===!0||r===""?`${t}--border`:typeof r=="string"||r===0?String(r).split(" ").map(s=>`border-${s}`):[]})}}const ex=[null,"default","comfortable","compact"],vs=ie({density:{type:String,default:"default",validator:e=>ex.includes(e)}},"density");function bi(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Dr();return{densityClasses:Q(()=>`${t}--density-${e.density}`)}}const $o=ie({elevation:{type:[Number,String],validator(e){const t=parseInt(e);return!isNaN(t)&&t>=0&&t<=24}}},"elevation");function Bo(e){return{elevationClasses:Q(()=>{const n=qe(e)?e.value:e.elevation;return n==null?[]:[`elevation-${n}`]})}}const ar=ie({rounded:{type:[Boolean,Number,String],default:void 0},tile:Boolean},"rounded");function cr(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Dr();return{roundedClasses:U(()=>{const r=qe(e)?e.value:e.rounded,s=qe(e)?!1:e.tile,i=[];if(s||r===!1)i.push("rounded-0");else if(r===!0||r==="")i.push(`${t}--rounded`);else if(typeof r=="string"||r===0)for(const o of String(r).split(" "))i.push(`rounded-${o}`);return i})}}const It=ie({tag:{type:[String,Object,Function],default:"div"}},"tag");function id(e){return Gf(()=>{const{class:t,style:n}=tx(e);return{colorClasses:t,colorStyles:n}})}function ri(e){const{colorClasses:t,colorStyles:n}=id(()=>({text:mt(e)}));return{textColorClasses:t,textColorStyles:n}}function Gs(e){const{colorClasses:t,colorStyles:n}=id(()=>({background:mt(e)}));return{backgroundColorClasses:t,backgroundColorStyles:n}}function tx(e){const t=mt(e),n=[],r={};if(t.background)if(Tu(t.background)){if(r.backgroundColor=t.background,!t.text&>(t.background)){const s=Rn(t.background);if(s.a==null||s.a===1){const i=jv(s);r.color=i,r.caretColor=i}}}else n.push(`bg-${t.background}`);return t.text&&(Tu(t.text)?(r.color=t.text,r.caretColor=t.text):n.push(`text-${t.text}`)),{class:n,style:r}}const nx=["elevated","flat","tonal","outlined","text","plain"];function Ho(e,t){return ne(Ke,null,[e&&ne("span",{key:"overlay",class:Re(`${t}__overlay`)},null),ne("span",{key:"underlay",class:Re(`${t}__underlay`)},null)])}const _s=ie({color:String,variant:{type:String,default:"elevated",validator:e=>nx.includes(e)}},"variant");function Vo(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Dr();const n=Q(()=>{const{variant:i}=mt(e);return`${t}--variant-${i}`}),{colorClasses:r,colorStyles:s}=id(()=>{const{variant:i,color:o}=mt(e);return{[["elevated","flat"].includes(i)?"background":"text"]:o}});return{colorClasses:r,colorStyles:s,variantClasses:n}}const C_=ie({baseColor:String,divided:Boolean,direction:{type:String,default:"horizontal"},...vi(),...rt(),...vs(),...$o(),...ar(),...It(),...Yt(),..._s()},"VBtnGroup"),Qp=Pe()({name:"VBtnGroup",props:C_(),setup(e,t){let{slots:n}=t;const{themeClasses:r}=cn(e),{densityClasses:s}=bi(e),{borderClasses:i}=_i(e),{elevationClasses:o}=Bo(e),{roundedClasses:a}=cr(e);Bc({VBtn:{height:Q(()=>e.direction==="horizontal"?"auto":null),baseColor:Q(()=>e.baseColor),color:Q(()=>e.color),density:Q(()=>e.density),flat:!0,variant:Q(()=>e.variant)}}),Je(()=>F(e.tag,{class:Re(["v-btn-group",`v-btn-group--${e.direction}`,{"v-btn-group--divided":e.divided},r.value,i.value,s.value,o.value,a.value,e.class]),style:ze(e.style)},n))}}),rx=ie({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),sx=ie({value:null,disabled:Boolean,selectedClass:String},"group-item");function ix(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const r=ut("useGroupItem");if(!r)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const s=Uy();Ct(Symbol.for(`${t.description}:id`),s);const i=Oe(t,null);if(!i){if(!n)return i;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${t.description}`)}const o=Q(()=>e.value),a=U(()=>!!(i.disabled.value||e.disabled));function c(){i==null||i.register({id:s,value:o,disabled:a},r)}function l(){i==null||i.unregister(s)}c(),yn(()=>l());const u=U(()=>i.isSelected(s)),f=U(()=>i.items.value[0].id===s),d=U(()=>i.items.value[i.items.value.length-1].id===s),h=U(()=>u.value&&[i.selectedClass.value,e.selectedClass]);return Se(u,p=>{r.emit("group:selected",{value:p})},{flush:"sync"}),{id:s,isSelected:u,isFirst:f,isLast:d,toggle:()=>i.select(s,!u.value),select:p=>i.select(s,p),selectedClass:h,value:o,disabled:a,group:i,register:c,unregister:l}}function ox(e,t){let n=!1;const r=lt([]),s=zn(e,"modelValue",[],d=>d===void 0?[]:I_(r,d===null?[null]:qf(d)),d=>{const h=cx(r,d);return e.multiple?h:h[0]}),i=ut("useGroup");function o(d,h){const p=d,m=Symbol.for(`${t.description}:id`),g=Ds(m,i==null?void 0:i.vnode).indexOf(h);Ft(p.value)===void 0&&(p.value=g,p.useIndexAsValue=!0),g>-1?r.splice(g,0,p):r.push(p)}function a(d){if(n)return;c();const h=r.findIndex(p=>p.id===d);r.splice(h,1)}function c(){const d=r.find(h=>!h.disabled);d&&e.mandatory==="force"&&!s.value.length&&(s.value=[d.id])}Nr(()=>{c()}),yn(()=>{n=!0}),Df(()=>{for(let d=0;dm.id===d);if(!(h&&(p!=null&&p.disabled)))if(e.multiple){const m=s.value.slice(),y=m.findIndex(v=>v===d),g=~y;if(h=h??!g,g&&e.mandatory&&m.length<=1||!g&&e.max!=null&&m.length+1>e.max)return;y<0&&h?m.push(d):y>=0&&!h&&m.splice(y,1),s.value=m}else{const m=s.value.includes(d);if(e.mandatory&&m||!m&&!h)return;s.value=h??!m?[d]:[]}}function u(d){if(e.multiple,s.value.length){const h=s.value[0],p=r.findIndex(g=>g.id===h);let m=(p+d)%r.length,y=r[m];for(;y.disabled&&m!==p;)m=(m+d)%r.length,y=r[m];if(y.disabled)return;s.value=[r[m].id]}else{const h=r.find(p=>!p.disabled);h&&(s.value=[h.id])}}const f={register:o,unregister:a,selected:s,select:l,disabled:Q(()=>e.disabled),prev:()=>u(r.length-1),next:()=>u(1),isSelected:d=>s.value.includes(d),selectedClass:Q(()=>e.selectedClass),items:Q(()=>r),getItemIndex:d=>ax(r,d)};return Ct(t,f),f}function ax(e,t){const n=I_(e,[t]);return n.length?e.findIndex(r=>r.id===n[0]):-1}function I_(e,t){const n=[];return t.forEach(r=>{const s=e.find(o=>rs(r,o.value)),i=e[r];(s==null?void 0:s.value)!==void 0?n.push(s.id):i!=null&&i.useIndexAsValue&&n.push(i.id)}),n}function cx(e,t){const n=[];return t.forEach(r=>{const s=e.findIndex(i=>i.id===r);if(~s){const i=e[s];n.push(i.value!==void 0?i.value:s)}}),n}const k_=Symbol.for("vuetify:v-btn-toggle"),lx=ie({...C_(),...rx()},"VBtnToggle"),RH=Pe()({name:"VBtnToggle",props:lx(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{isSelected:r,next:s,prev:i,select:o,selected:a}=ox(e,k_);return Je(()=>{const c=Qp.filterProps(e);return F(Qp,Ye({class:["v-btn-toggle",e.class]},c,{style:e.style}),{default:()=>{var l;return[(l=n.default)==null?void 0:l.call(n,{isSelected:r,next:s,prev:i,select:o,selected:a})]}})}),{next:s,prev:i,select:o}}}),ux=ie({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),nn=Pe(!1)({name:"VDefaultsProvider",props:ux(),setup(e,t){let{slots:n}=t;const{defaults:r,disabled:s,reset:i,root:o,scoped:a}=Mf(e);return Bc(r,{reset:i,root:o,scoped:a,disabled:s}),()=>{var c;return(c=n.default)==null?void 0:c.call(n)}}}),fx=["x-small","small","default","large","x-large"],zc=ie({size:{type:[String,Number],default:"default"}},"size");function qc(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Dr();return Gf(()=>{const n=e.size;let r,s;return Ja(fx,n)?r=`${t}--size-${n}`:n&&(s={width:pe(n),height:pe(n)}),{sizeClasses:r,sizeStyles:s}})}const dx=ie({color:String,disabled:Boolean,start:Boolean,end:Boolean,icon:yt,opacity:[String,Number],...rt(),...zc(),...It({tag:"i"}),...Yt()},"VIcon"),Mn=Pe()({name:"VIcon",props:dx(),setup(e,t){let{attrs:n,slots:r}=t;const s=be(),{themeClasses:i}=s_(),{iconData:o}=dC(()=>s.value||e.icon),{sizeClasses:a}=qc(e),{textColorClasses:c,textColorStyles:l}=ri(()=>e.color);return Je(()=>{var d,h;const u=(d=r.default)==null?void 0:d.call(r);u&&(s.value=(h=Nv(u).filter(p=>p.type===No&&p.children&&typeof p.children=="string")[0])==null?void 0:h.children);const f=!!(n.onClick||n.onClickOnce);return F(o.value.component,{tag:e.tag,icon:o.value.icon,class:Re(["v-icon","notranslate",i.value,a.value,c.value,{"v-icon--clickable":f,"v-icon--disabled":e.disabled,"v-icon--start":e.start,"v-icon--end":e.end},e.class]),style:ze([{"--v-icon-opacity":e.opacity},a.value?void 0:{fontSize:pe(e.size),height:pe(e.size),width:pe(e.size)},l.value,e.style]),role:f?"button":void 0,"aria-hidden":!f,tabindex:f?e.disabled?-1:0:void 0},{default:()=>[u]})}),{}}});function x_(e,t){const n=Ee(),r=be(!1);if(Wf){const s=new IntersectionObserver(i=>{r.value=!!i.find(o=>o.isIntersecting)},t);_t(()=>{s.disconnect()}),Se(n,(i,o)=>{o&&(s.unobserve(o),r.value=!1),i&&s.observe(i)},{flush:"post"})}return{intersectionRef:n,isIntersecting:r}}const hx=ie({bgColor:String,color:String,indeterminate:[Boolean,String],rounded:Boolean,modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...rt(),...zc(),...It({tag:"div"}),...Yt()},"VProgressCircular"),px=Pe()({name:"VProgressCircular",props:hx(),setup(e,t){let{slots:n}=t;const r=20,s=2*Math.PI*r,i=Ee(),{themeClasses:o}=cn(e),{sizeClasses:a,sizeStyles:c}=qc(e),{textColorClasses:l,textColorStyles:u}=ri(()=>e.color),{textColorClasses:f,textColorStyles:d}=ri(()=>e.bgColor),{intersectionRef:h,isIntersecting:p}=x_(),{resizeRef:m,contentRect:y}=td(),g=Q(()=>Qn(parseFloat(e.modelValue),0,100)),v=Q(()=>Number(e.width)),_=Q(()=>c.value?Number(e.size):y.value?y.value.width:Math.max(v.value,32)),T=Q(()=>r/(1-v.value/_.value)*2),O=Q(()=>v.value/_.value*T.value),R=Q(()=>{const w=(100-g.value)/100*s;return e.rounded&&g.value>0&&g.value<100?pe(Math.min(s-.01,w+O.value)):pe(w)}),E=U(()=>{const w=Number(e.rotate);return e.rounded?w+O.value/2/s*360:w});return on(()=>{h.value=i.value,m.value=i.value}),Je(()=>F(e.tag,{ref:i,class:Re(["v-progress-circular",{"v-progress-circular--indeterminate":!!e.indeterminate,"v-progress-circular--visible":p.value,"v-progress-circular--disable-shrink":e.indeterminate&&(e.indeterminate==="disable-shrink"||po())},o.value,a.value,l.value,e.class]),style:ze([c.value,u.value,e.style]),role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.indeterminate?void 0:g.value},{default:()=>[ne("svg",{style:{transform:`rotate(calc(-90deg + ${E.value}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${T.value} ${T.value}`},[ne("circle",{class:Re(["v-progress-circular__underlay",f.value]),style:ze(d.value),fill:"transparent",cx:"50%",cy:"50%",r,"stroke-width":O.value,"stroke-dasharray":s,"stroke-dashoffset":0},null),ne("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r,"stroke-width":O.value,"stroke-dasharray":s,"stroke-dashoffset":R.value,"stroke-linecap":e.rounded?"round":void 0},null)]),n.default&&ne("div",{class:"v-progress-circular__content"},[n.default({value:g.value})])]})),{}}}),Si=ie({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function Ei(e){return{dimensionStyles:U(()=>{const n={},r=pe(e.height),s=pe(e.maxHeight),i=pe(e.maxWidth),o=pe(e.minHeight),a=pe(e.minWidth),c=pe(e.width);return r!=null&&(n.height=r),s!=null&&(n.maxHeight=s),i!=null&&(n.maxWidth=i),o!=null&&(n.minHeight=o),a!=null&&(n.minWidth=a),c!=null&&(n.width=c),n})}}const em={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},Gc=ie({location:String},"location");function od(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2?arguments[2]:void 0;const{isRtl:r}=Do();return{locationStyles:U(()=>{if(!e.location)return{};const{side:i,align:o}=wu(e.location.split(" ").length>1?e.location:`${e.location} center`,r.value);function a(l){return n?n(l):0}const c={};return i!=="center"&&(t?c[em[i]]=`calc(100% - ${a(i)}px)`:c[i]=0),o!=="center"?t?c[em[o]]=`calc(100% - ${a(o)}px)`:c[o]=0:(i==="center"?c.top=c.left="50%":c[{top:"left",bottom:"left",left:"top",right:"top"}[i]]="50%",c.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[i]),c})}}const mx=ie({chunkCount:{type:[Number,String],default:null},chunkWidth:{type:[Number,String],default:null},chunkGap:{type:[Number,String],default:4}},"chunks");function gx(e,t){const n=Q(()=>!!e.chunkCount||!!e.chunkWidth),r=U(()=>{const a=mt(t);if(!a)return 0;if(!e.chunkCount)return Number(e.chunkWidth);const c=Number(e.chunkCount);return(a-Number(e.chunkGap)*(c-1))/c}),s=Q(()=>Number(e.chunkGap)),i=U(()=>{if(!n.value)return{};const a=pe(s.value),c=pe(r.value);return{maskRepeat:"repeat-x",maskImage:`linear-gradient(90deg, #000, #000 ${c}, transparent ${c}, transparent)`,maskSize:`calc(${c} + ${a}) 100%`}});function o(a){const c=mt(t);if(!c)return a;const l=100*s.value/c,u=100*(r.value+s.value)/c,f=Math.floor((a+l)/u);return Qn(0,f*u-l/2,100)}return{hasChunks:n,chunksMaskStyles:i,snapValueToChunk:o}}const yx=ie({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},bufferColor:String,bufferOpacity:[Number,String],clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},opacity:[Number,String],reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...mx(),...rt(),...Gc({location:"top"}),...ar(),...It(),...Yt()},"VProgressLinear"),R_=Pe()({name:"VProgressLinear",props:yx(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=Ee(),s=zn(e,"modelValue"),{isRtl:i,rtlClasses:o}=Do(),{themeClasses:a}=cn(e),{locationStyles:c}=od(e),{textColorClasses:l,textColorStyles:u}=ri(()=>e.color),{backgroundColorClasses:f,backgroundColorStyles:d}=Gs(()=>e.bgColor||e.color),{backgroundColorClasses:h,backgroundColorStyles:p}=Gs(()=>e.bufferColor||e.bgColor||e.color),{backgroundColorClasses:m,backgroundColorStyles:y}=Gs(()=>e.color),{roundedClasses:g}=cr(e),{intersectionRef:v,isIntersecting:_}=x_(),T=U(()=>parseFloat(e.max)),O=U(()=>parseFloat(e.height)),R=U(()=>Qn(parseFloat(e.bufferValue)/T.value*100,0,100)),E=U(()=>Qn(parseFloat(s.value)/T.value*100,0,100)),w=U(()=>i.value!==e.reverse),I=U(()=>e.indeterminate?"fade-transition":"slide-x-transition"),A=be(0),{hasChunks:M,chunksMaskStyles:x,snapValueToChunk:N}=gx(e,A);yi(M,()=>{const{resizeRef:j}=td(D=>A.value=D[0].contentRect.width);on(()=>j.value=r.value)});const L=U(()=>M.value?N(R.value):R.value),G=U(()=>M.value?N(E.value):E.value);function J(j){if(!v.value)return;const{left:D,right:ae,width:q}=v.value.getBoundingClientRect(),ce=w.value?q-j.clientX+(ae-q):j.clientX-D;s.value=Math.round(ce/q*T.value)}return on(()=>{v.value=r.value}),Je(()=>F(e.tag,{ref:r,class:Re(["v-progress-linear",{"v-progress-linear--absolute":e.absolute,"v-progress-linear--active":e.active&&_.value,"v-progress-linear--reverse":w.value,"v-progress-linear--rounded":e.rounded,"v-progress-linear--rounded-bar":e.roundedBar,"v-progress-linear--striped":e.striped,"v-progress-linear--clickable":e.clickable},g.value,a.value,o.value,e.class]),style:ze([{bottom:e.location==="bottom"?0:void 0,top:e.location==="top"?0:void 0,height:e.active?pe(O.value):0,"--v-progress-linear-height":pe(O.value),...e.absolute?c.value:{}},x.value,e.style]),role:"progressbar","aria-hidden":e.active?"false":"true","aria-valuemin":"0","aria-valuemax":e.max,"aria-valuenow":e.indeterminate?void 0:Math.min(parseFloat(s.value),T.value),onClick:e.clickable&&J},{default:()=>[e.stream&&ne("div",{key:"stream",class:Re(["v-progress-linear__stream",l.value]),style:{...u.value,[w.value?"left":"right"]:pe(-O.value),borderTop:`${pe(O.value/2)} dotted`,opacity:parseFloat(e.bufferOpacity),top:`calc(50% - ${pe(O.value/4)})`,width:pe(100-R.value,"%"),"--v-progress-linear-stream-to":pe(O.value*(w.value?1:-1))}},null),ne("div",{class:Re(["v-progress-linear__background",f.value]),style:ze([d.value,{opacity:parseFloat(e.bgOpacity),width:e.stream?0:void 0}])},null),ne("div",{class:Re(["v-progress-linear__buffer",h.value]),style:ze([p.value,{opacity:parseFloat(e.bufferOpacity),width:pe(L.value,"%")}])},null),F(xr,{name:I.value},{default:()=>[e.indeterminate?ne("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(j=>ne("div",{key:j,class:Re(["v-progress-linear__indeterminate",j,m.value]),style:ze(y.value)},null))]):ne("div",{class:Re(["v-progress-linear__determinate",m.value]),style:ze([y.value,{width:pe(G.value,"%")}])},null)]}),n.default&&ne("div",{class:"v-progress-linear__content"},[n.default({value:E.value,buffer:R.value})])]})),{}}}),A_=ie({loading:[Boolean,String]},"loader");function O_(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Dr();return{loaderClasses:Q(()=>({[`${t}--loading`]:e.loading}))}}function vx(e,t){var r;let{slots:n}=t;return ne("div",{class:Re(`${e.name}__loader`)},[((r=n.default)==null?void 0:r.call(n,{color:e.color,isActive:e.active}))||F(R_,{absolute:e.absolute,active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}const _x=["static","relative","fixed","absolute","sticky"],ad=ie({position:{type:String,validator:e=>_x.includes(e)}},"position");function cd(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Dr();return{positionClasses:Q(()=>e.position?`${t}--${e.position}`:void 0)}}function bx(){const e=ut("useRoute");return U(()=>{var t;return(t=e==null?void 0:e.proxy)==null?void 0:t.$route})}function Sx(){var e,t;return(t=(e=ut("useRouter"))==null?void 0:e.proxy)==null?void 0:t.$router}function ld(e,t){var f,d;const n=Xy("RouterLink"),r=Q(()=>!!(e.href||e.to)),s=U(()=>(r==null?void 0:r.value)||rp(t,"click")||rp(e,"click"));if(typeof n=="string"||!("useLink"in n)){const h=Q(()=>e.href);return{isLink:r,isRouterLink:Q(()=>!1),isClickable:s,href:h,linkProps:lt({href:h})}}const i=n.useLink({to:Q(()=>e.to||""),replace:Q(()=>e.replace)}),o=U(()=>e.to?i:void 0),a=bx(),c=U(()=>{var h,p,m;return o.value?e.exact?a.value?((m=o.value.isExactActive)==null?void 0:m.value)&&rs(o.value.route.value.query,a.value.query):((p=o.value.isExactActive)==null?void 0:p.value)??!1:((h=o.value.isActive)==null?void 0:h.value)??!1:!1}),l=U(()=>{var h;return e.to?(h=o.value)==null?void 0:h.route.value.href:e.href});return{isLink:r,isRouterLink:Q(()=>!!e.to),isClickable:s,isActive:c,route:(f=o.value)==null?void 0:f.route,navigate:(d=o.value)==null?void 0:d.navigate,href:l,linkProps:lt({href:l,"aria-current":Q(()=>c.value?"page":void 0),"aria-disabled":Q(()=>e.disabled&&r.value?"true":void 0),tabindex:Q(()=>e.disabled&&r.value?"-1":void 0)})}}const ud=ie({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let Nl=!1;function Ex(e,t){let n=!1,r,s;Xe&&(e!=null&&e.beforeEach)&&(dt(()=>{window.addEventListener("popstate",i),r=e.beforeEach((o,a,c)=>{Nl?n?t(c):c():setTimeout(()=>n?t(c):c()),Nl=!0}),s=e==null?void 0:e.afterEach(()=>{Nl=!1})}),_t(()=>{window.removeEventListener("popstate",i),r==null||r(),s==null||s()}));function i(o){var a;(a=o.state)!=null&&a.replaced||(n=!0,setTimeout(()=>n=!1))}}function wx(e,t){Se(()=>{var n;return(n=e.isActive)==null?void 0:n.value},n=>{e.isLink.value&&n!=null&&t&&dt(()=>{t(n)})},{immediate:!0})}const Nu=Symbol("rippleStop"),Tx=80;function tm(e,t){e.style.transform=t,e.style.webkitTransform=t}function Lu(e){return e.constructor.name==="TouchEvent"}function M_(e){return e.constructor.name==="KeyboardEvent"}const Cx=function(e,t){var f;let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=0,s=0;if(!M_(e)){const d=t.getBoundingClientRect(),h=Lu(e)?e.touches[e.touches.length-1]:e;r=h.clientX-d.left,s=h.clientY-d.top}let i=0,o=.3;(f=t._ripple)!=null&&f.circle?(o=.15,i=t.clientWidth/2,i=n.center?i:i+Math.sqrt((r-i)**2+(s-i)**2)/4):i=Math.sqrt(t.clientWidth**2+t.clientHeight**2)/2;const a=`${(t.clientWidth-i*2)/2}px`,c=`${(t.clientHeight-i*2)/2}px`,l=n.center?a:`${r-i}px`,u=n.center?c:`${s-i}px`;return{radius:i,scale:o,x:l,y:u,centerX:a,centerY:c}},rc={show(e,t){var h;let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((h=t==null?void 0:t._ripple)!=null&&h.enabled))return;const r=document.createElement("span"),s=document.createElement("span");r.appendChild(s),r.className="v-ripple__container",n.class&&(r.className+=` ${n.class}`);const{radius:i,scale:o,x:a,y:c,centerX:l,centerY:u}=Cx(e,t,n),f=`${i*2}px`;s.className="v-ripple__animation",s.style.width=f,s.style.height=f,t.appendChild(r);const d=window.getComputedStyle(t);d&&d.position==="static"&&(t.style.position="relative",t.dataset.previousPosition="static"),s.classList.add("v-ripple__animation--enter"),s.classList.add("v-ripple__animation--visible"),tm(s,`translate(${a}, ${c}) scale3d(${o},${o},${o})`),s.dataset.activated=String(performance.now()),requestAnimationFrame(()=>{requestAnimationFrame(()=>{s.classList.remove("v-ripple__animation--enter"),s.classList.add("v-ripple__animation--in"),tm(s,`translate(${l}, ${u}) scale3d(1,1,1)`)})})},hide(e){var i;if(!((i=e==null?void 0:e._ripple)!=null&&i.enabled))return;const t=e.getElementsByClassName("v-ripple__animation");if(t.length===0)return;const n=Array.from(t).findLast(o=>!o.dataset.isHiding);if(n)n.dataset.isHiding="true";else return;const r=performance.now()-Number(n.dataset.activated),s=Math.max(250-r,0);setTimeout(()=>{n.classList.remove("v-ripple__animation--in"),n.classList.add("v-ripple__animation--out"),setTimeout(()=>{var a;e.getElementsByClassName("v-ripple__animation").length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),((a=n.parentNode)==null?void 0:a.parentNode)===e&&e.removeChild(n.parentNode)},300)},s)}};function P_(e){return typeof e>"u"||!!e}function So(e){const t={},n=e.currentTarget;if(!(!(n!=null&&n._ripple)||n._ripple.touched||e[Nu])){if(e[Nu]=!0,Lu(e))n._ripple.touched=!0,n._ripple.isTouch=!0;else if(n._ripple.isTouch)return;if(t.center=n._ripple.centered||M_(e),n._ripple.class&&(t.class=n._ripple.class),Lu(e)){if(n._ripple.showTimerCommit)return;n._ripple.showTimerCommit=()=>{rc.show(e,n,t)},n._ripple.showTimer=window.setTimeout(()=>{var r;(r=n==null?void 0:n._ripple)!=null&&r.showTimerCommit&&(n._ripple.showTimerCommit(),n._ripple.showTimerCommit=null)},Tx)}else rc.show(e,n,t)}}function sc(e){e[Nu]=!0}function zt(e){const t=e.currentTarget;if(t!=null&&t._ripple){if(window.clearTimeout(t._ripple.showTimer),e.type==="touchend"&&t._ripple.showTimerCommit){t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null,t._ripple.showTimer=window.setTimeout(()=>{zt(e)});return}window.setTimeout(()=>{t._ripple&&(t._ripple.touched=!1)}),rc.hide(t)}}function N_(e){const t=e.currentTarget;t!=null&&t._ripple&&(t._ripple.showTimerCommit&&(t._ripple.showTimerCommit=null),window.clearTimeout(t._ripple.showTimer))}let Eo=!1;function Ix(e,t){!Eo&&t.includes(e.key)&&(Eo=!0,So(e))}function L_(e){Eo=!1,zt(e)}function D_(e){Eo&&(Eo=!1,zt(e))}function F_(e,t,n){const{value:r,modifiers:s}=t,i=P_(r);i||rc.hide(e),e._ripple=e._ripple??{},e._ripple.enabled=i,e._ripple.centered=s.center,e._ripple.circle=s.circle;const o=Su(r)?r:{};o.class&&(e._ripple.class=o.class);const a=o.keys??["Enter","Space"];if(e._ripple.keyDownHandler=c=>Ix(c,a),i&&!n){if(s.stop){e.addEventListener("touchstart",sc,{passive:!0}),e.addEventListener("mousedown",sc);return}e.addEventListener("touchstart",So,{passive:!0}),e.addEventListener("touchend",zt,{passive:!0}),e.addEventListener("touchmove",N_,{passive:!0}),e.addEventListener("touchcancel",zt),e.addEventListener("mousedown",So),e.addEventListener("mouseup",zt),e.addEventListener("mouseleave",zt),e.addEventListener("keydown",e._ripple.keyDownHandler),e.addEventListener("keyup",L_),e.addEventListener("blur",D_),e.addEventListener("dragstart",zt,{passive:!0})}else!i&&n&&$_(e)}function $_(e){var t;e.removeEventListener("touchstart",sc),e.removeEventListener("mousedown",sc),e.removeEventListener("touchstart",So),e.removeEventListener("touchend",zt),e.removeEventListener("touchmove",N_),e.removeEventListener("touchcancel",zt),e.removeEventListener("mousedown",So),e.removeEventListener("mouseup",zt),e.removeEventListener("mouseleave",zt),(t=e._ripple)!=null&&t.keyDownHandler&&e.removeEventListener("keydown",e._ripple.keyDownHandler),e.removeEventListener("keyup",L_),e.removeEventListener("blur",D_),e.removeEventListener("dragstart",zt)}function kx(e,t){F_(e,t,!1)}function xx(e){$_(e),delete e._ripple}function Rx(e,t){if(t.value===t.oldValue)return;const n=P_(t.oldValue);F_(e,t,n)}const wo={mounted:kx,unmounted:xx,updated:Rx},Ax=ie({active:{type:Boolean,default:void 0},activeColor:String,baseColor:String,symbol:{type:null,default:k_},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:yt,appendIcon:yt,block:Boolean,readonly:Boolean,slim:Boolean,stacked:Boolean,spaced:String,ripple:{type:[Boolean,Object],default:!0},text:{type:[String,Number,Boolean],default:void 0},...vi(),...rt(),...vs(),...Si(),...$o(),...sx(),...A_(),...Gc(),...ad(),...ar(),...ud(),...zc(),...It({tag:"button"}),...Yt(),..._s({variant:"elevated"})},"VBtn"),B_=Pe()({name:"VBtn",props:Ax(),emits:{"group:selected":e=>!0},setup(e,t){let{attrs:n,slots:r}=t;const{themeClasses:s}=cn(e),{borderClasses:i}=_i(e),{densityClasses:o}=bi(e),{dimensionStyles:a}=Ei(e),{elevationClasses:c}=Bo(e),{loaderClasses:l}=O_(e),{locationStyles:u}=od(e),{positionClasses:f}=cd(e),{roundedClasses:d}=cr(e),{sizeClasses:h,sizeStyles:p}=qc(e),m=ix(e,e.symbol,!1),y=ld(e,n),g=U(()=>{var M;return e.active!==void 0?e.active:y.isRouterLink.value?(M=y.isActive)==null?void 0:M.value:m==null?void 0:m.isSelected.value}),v=Q(()=>g.value?e.activeColor??e.color:e.color),_=U(()=>{var x,N;return{color:(m==null?void 0:m.isSelected.value)&&(!y.isLink.value||((x=y.isActive)==null?void 0:x.value))||!m||((N=y.isActive)==null?void 0:N.value)?v.value??e.baseColor:e.baseColor,variant:e.variant}}),{colorClasses:T,colorStyles:O,variantClasses:R}=Vo(_),E=U(()=>(m==null?void 0:m.disabled.value)||e.disabled),w=Q(()=>e.variant==="elevated"&&!(e.disabled||e.flat||e.border)),I=U(()=>{if(!(e.value===void 0||typeof e.value=="symbol"))return Object(e.value)===e.value?JSON.stringify(e.value,null,0):e.value});function A(M){var x;E.value||y.isLink.value&&(M.metaKey||M.ctrlKey||M.shiftKey||M.button!==0||n.target==="_blank")||(y.isRouterLink.value?(x=y.navigate)==null||x.call(y,M):m==null||m.toggle())}return wx(y,m==null?void 0:m.select),Je(()=>{const M=y.isLink.value?"a":e.tag,x=!!(e.prependIcon||r.prepend),N=!!(e.appendIcon||r.append),L=!!(e.icon&&e.icon!==!0);return us(F(M,Ye(y.linkProps,{type:M==="a"?void 0:"button",class:["v-btn",m==null?void 0:m.selectedClass.value,{"v-btn--active":g.value,"v-btn--block":e.block,"v-btn--disabled":E.value,"v-btn--elevated":w.value,"v-btn--flat":e.flat,"v-btn--icon":!!e.icon,"v-btn--loading":e.loading,"v-btn--readonly":e.readonly,"v-btn--slim":e.slim,"v-btn--stacked":e.stacked},e.spaced?["v-btn--spaced",`v-btn--spaced-${e.spaced}`]:[],s.value,i.value,T.value,o.value,c.value,l.value,f.value,d.value,h.value,R.value,e.class],style:[O.value,a.value,u.value,p.value,e.style],"aria-busy":e.loading?!0:void 0,disabled:E.value&&M!=="a"||void 0,tabindex:e.loading||e.readonly?-1:void 0,onClick:A,value:I.value}),{default:()=>{var G;return[Ho(!0,"v-btn"),!e.icon&&x&&ne("span",{key:"prepend",class:"v-btn__prepend"},[r.prepend?F(nn,{key:"prepend-defaults",disabled:!e.prependIcon,defaults:{VIcon:{icon:e.prependIcon}}},r.prepend):F(Mn,{key:"prepend-icon",icon:e.prependIcon},null)]),ne("span",{class:"v-btn__content","data-no-activator":""},[!r.default&&L?F(Mn,{key:"content-icon",icon:e.icon},null):F(nn,{key:"content-defaults",disabled:!L,defaults:{VIcon:{icon:e.icon}}},{default:()=>{var J;return[((J=r.default)==null?void 0:J.call(r))??dn(e.text)]}})]),!e.icon&&N&&ne("span",{key:"append",class:"v-btn__append"},[r.append?F(nn,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VIcon:{icon:e.appendIcon}}},r.append):F(Mn,{key:"append-icon",icon:e.appendIcon},null)]),!!e.loading&&ne("span",{key:"loader",class:"v-btn__loader"},[((G=r.loader)==null?void 0:G.call(r))??F(px,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,width:"2"},null)])]}}),[[wo,!E.value&&e.ripple,"",{center:!!e.icon}]])}),{group:m}}});function Ll(e,t){return{x:e.x+t.x,y:e.y+t.y}}function Ox(e,t){return{x:e.x-t.x,y:e.y-t.y}}function nm(e,t){if(e.side==="top"||e.side==="bottom"){const{side:n,align:r}=e,s=r==="left"?0:r==="center"?t.width/2:r==="right"?t.width:r,i=n==="top"?0:n==="bottom"?t.height:n;return Ll({x:s,y:i},t)}else if(e.side==="left"||e.side==="right"){const{side:n,align:r}=e,s=n==="left"?0:n==="right"?t.width:n,i=r==="top"?0:r==="center"?t.height/2:r==="bottom"?t.height:r;return Ll({x:s,y:i},t)}return Ll({x:t.width/2,y:t.height/2},t)}const H_={static:Nx,connected:Dx},Mx=ie({locationStrategy:{type:[String,Function],default:"static",validator:e=>typeof e=="function"||e in H_},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array],stickToTarget:Boolean,viewportMargin:{type:[Number,String],default:12}},"VOverlay-location-strategies");function Px(e,t){const n=Ee({}),r=Ee();Xe&&yi(()=>!!(t.isActive.value&&e.locationStrategy),a=>{var c,l;Se(()=>e.locationStrategy,a),_t(()=>{window.removeEventListener("resize",s),visualViewport==null||visualViewport.removeEventListener("resize",i),visualViewport==null||visualViewport.removeEventListener("scroll",o),r.value=void 0}),window.addEventListener("resize",s,{passive:!0}),visualViewport==null||visualViewport.addEventListener("resize",i,{passive:!0}),visualViewport==null||visualViewport.addEventListener("scroll",o,{passive:!0}),typeof e.locationStrategy=="function"?r.value=(c=e.locationStrategy(t,e,n))==null?void 0:c.updateLocation:r.value=(l=H_[e.locationStrategy](t,e,n))==null?void 0:l.updateLocation});function s(a){var c;(c=r.value)==null||c.call(r,a)}function i(a){var c;(c=r.value)==null||c.call(r,a)}function o(a){var c;(c=r.value)==null||c.call(r,a)}return{contentStyles:n,updateLocation:r}}function Nx(){}function Lx(e,t){const n=Bv(e);return t?n.x+=parseFloat(e.style.right||0):n.x-=parseFloat(e.style.left||0),n.y-=parseFloat(e.style.top||0),n}function Dx(e,t,n){(Array.isArray(e.target.value)||uC(e.target.value))&&Object.assign(n.value,{position:"fixed",top:0,[e.isRtl.value?"right":"left"]:0});const{preferredAnchor:s,preferredOrigin:i}=Gf(()=>{const g=wu(t.location,e.isRtl.value),v=t.origin==="overlap"?g:t.origin==="auto"?Tl(g):wu(t.origin,e.isRtl.value);return g.side===v.side&&g.align===Cl(v).align?{preferredAnchor:ip(g),preferredOrigin:ip(v)}:{preferredAnchor:g,preferredOrigin:v}}),[o,a,c,l]=["minWidth","minHeight","maxWidth","maxHeight"].map(g=>U(()=>{const v=parseFloat(t[g]);return isNaN(v)?1/0:v})),u=U(()=>{if(Array.isArray(t.offset))return t.offset;if(typeof t.offset=="string"){const g=t.offset.split(" ").map(parseFloat);return g.length<2&&g.push(0),g}return typeof t.offset=="number"?[t.offset,0]:[0,0]});let f=!1,d=-1;const h=new TT(4),p=new ResizeObserver(()=>{if(!f)return;if(requestAnimationFrame(v=>{v!==d&&h.clear(),requestAnimationFrame(_=>{d=_})}),h.isFull){const v=h.values();if(rs(v.at(-1),v.at(-3))&&!rs(v.at(-1),v.at(-2)))return}const g=y();g&&h.push(g.flipped)});let m=new tn({x:0,y:0,width:0,height:0});Se(e.target,(g,v)=>{v&&!Array.isArray(v)&&p.unobserve(v),Array.isArray(g)?rs(g,v)||y():g&&p.observe(g)},{immediate:!0}),Se(e.contentEl,(g,v)=>{v&&p.unobserve(v),g&&p.observe(g)},{immediate:!0}),_t(()=>{p.disconnect()});function y(){if(f=!1,requestAnimationFrame(()=>f=!0),!e.target.value||!e.contentEl.value)return;(Array.isArray(e.target.value)||e.target.value.offsetParent||e.target.value.getClientRects().length)&&(m=$v(e.target.value));const g=Lx(e.contentEl.value,e.isRtl.value),v=Qa(e.contentEl.value),_=Number(t.viewportMargin);v.length||(v.push(document.documentElement),e.contentEl.value.style.top&&e.contentEl.value.style.left||(g.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),g.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const T=v.reduce((N,L)=>{const G=OT(L);return N?new tn({x:Math.max(N.left,G.left),y:Math.max(N.top,G.top),width:Math.min(N.right,G.right)-Math.max(N.left,G.left),height:Math.min(N.bottom,G.bottom)-Math.max(N.top,G.top)}):G},void 0);t.stickToTarget?(T.x+=Math.min(_,m.x),T.y+=Math.min(_,m.y),T.width=Math.max(T.width-_*2,m.x+m.width-_),T.height=Math.max(T.height-_*2,m.y+m.height-_)):(T.x+=_,T.y+=_,T.width-=_*2,T.height-=_*2);let O={anchor:s.value,origin:i.value};function R(N){const L=new tn(g),G=nm(N.anchor,m),J=nm(N.origin,L);let{x:j,y:D}=Ox(G,J);switch(N.anchor.side){case"top":D-=u.value[0];break;case"bottom":D+=u.value[0];break;case"left":j-=u.value[0];break;case"right":j+=u.value[0];break}switch(N.anchor.align){case"top":D-=u.value[1];break;case"bottom":D+=u.value[1];break;case"left":j-=u.value[1];break;case"right":j+=u.value[1];break}return L.x+=j,L.y+=D,L.width=Math.min(L.width,c.value),L.height=Math.min(L.height,l.value),{overflows:ap(L,T),x:j,y:D}}let E=0,w=0;const I={x:0,y:0},A={x:!1,y:!1};let M=-1;for(;!(M++>10);){const{x:N,y:L,overflows:G}=R(O);E+=N,w+=L,g.x+=N,g.y+=L;{const J=op(O.anchor),j=G.x.before||G.x.after,D=G.y.before||G.y.after;let ae=!1;if(["x","y"].forEach(q=>{if(q==="x"&&j&&!A.x||q==="y"&&D&&!A.y){const ce={anchor:{...O.anchor},origin:{...O.origin}},le=q==="x"?J==="y"?Cl:Tl:J==="y"?Tl:Cl;ce.anchor=le(ce.anchor),ce.origin=le(ce.origin);const{overflows:ve}=R(ce);(ve[q].before<=G[q].before&&ve[q].after<=G[q].after||ve[q].before+ve[q].after<(G[q].before+G[q].after)/2)&&(O=ce,ae=A[q]=!0)}}),ae)continue}G.x.before&&(E+=G.x.before,g.x+=G.x.before),G.x.after&&(E-=G.x.after,g.x-=G.x.after),G.y.before&&(w+=G.y.before,g.y+=G.y.before),G.y.after&&(w-=G.y.after,g.y-=G.y.after);{const J=ap(g,T);I.x=T.width-J.x.before-J.x.after,I.y=T.height-J.y.before-J.y.after,E+=J.x.before,g.x+=J.x.before,w+=J.y.before,g.y+=J.y.before}break}const x=op(O.anchor);return Object.assign(n.value,{"--v-overlay-anchor-origin":`${O.anchor.side} ${O.anchor.align}`,transformOrigin:`${O.origin.side} ${O.origin.align}`,top:pe(Dl(w)),left:e.isRtl.value?void 0:pe(Dl(E)),right:e.isRtl.value?pe(Dl(-E)):void 0,minWidth:pe(x==="y"?Math.min(o.value,m.width):o.value),maxWidth:pe(rm(Qn(I.x,o.value===1/0?0:o.value,c.value))),maxHeight:pe(rm(Qn(I.y,a.value===1/0?0:a.value,l.value)))}),{available:I,contentBox:g,flipped:A}}return Se(()=>[s.value,i.value,t.offset,t.minWidth,t.minHeight,t.maxWidth,t.maxHeight],()=>y()),dt(()=>{const g=y();if(!g)return;const{available:v,contentBox:_}=g;_.height>v.y&&requestAnimationFrame(()=>{y(),requestAnimationFrame(()=>{y()})})}),{updateLocation:y}}function Dl(e){return Math.round(e*devicePixelRatio)/devicePixelRatio}function rm(e){return Math.ceil(e*devicePixelRatio)/devicePixelRatio}let Du=!0;const ic=[];function Fx(e){!Du||ic.length?(ic.push(e),Fu()):(Du=!1,e(),Fu())}let sm=-1;function Fu(){cancelAnimationFrame(sm),sm=requestAnimationFrame(()=>{const e=ic.shift();e&&e(),ic.length?Fu():Du=!0})}const xa={none:null,close:Hx,block:Vx,reposition:Ux},$x=ie({scrollStrategy:{type:[String,Function],default:"block",validator:e=>typeof e=="function"||e in xa}},"VOverlay-scroll-strategies");function Bx(e,t){if(!Xe)return;let n;on(async()=>{n==null||n.stop(),t.isActive.value&&e.scrollStrategy&&(n=ls(),await new Promise(r=>setTimeout(r)),n.active&&n.run(()=>{var r;typeof e.scrollStrategy=="function"?e.scrollStrategy(t,e,n):(r=xa[e.scrollStrategy])==null||r.call(xa,t,e,n)}))}),_t(()=>{n==null||n.stop()})}function Hx(e){function t(n){e.isActive.value=!1}V_(fd(e.target.value,e.contentEl.value),t)}function Vx(e,t){var a;const n=(a=e.root.value)==null?void 0:a.offsetParent,r=fd(e.target.value,e.contentEl.value),s=[...new Set([...Qa(r,t.contained?n:void 0),...Qa(e.contentEl.value,t.contained?n:void 0)])].filter(c=>!c.classList.contains("v-overlay-scroll-blocked")),i=window.innerWidth-document.documentElement.offsetWidth,o=(c=>Jf(c)&&c)(n||document.documentElement);o&&e.root.value.classList.add("v-overlay--scroll-blocked"),s.forEach((c,l)=>{c.style.setProperty("--v-body-scroll-x",pe(-c.scrollLeft)),c.style.setProperty("--v-body-scroll-y",pe(-c.scrollTop)),c!==document.documentElement&&c.style.setProperty("--v-scrollbar-offset",pe(i)),c.classList.add("v-overlay-scroll-blocked")}),_t(()=>{s.forEach((c,l)=>{const u=parseFloat(c.style.getPropertyValue("--v-body-scroll-x")),f=parseFloat(c.style.getPropertyValue("--v-body-scroll-y")),d=c.style.scrollBehavior;c.style.scrollBehavior="auto",c.style.removeProperty("--v-body-scroll-x"),c.style.removeProperty("--v-body-scroll-y"),c.style.removeProperty("--v-scrollbar-offset"),c.classList.remove("v-overlay-scroll-blocked"),c.scrollLeft=-u,c.scrollTop=-f,c.style.scrollBehavior=d}),o&&e.root.value.classList.remove("v-overlay--scroll-blocked")})}function Ux(e,t,n){let r=!1,s=-1,i=-1;function o(a){Fx(()=>{var u,f;const c=performance.now();(f=(u=e.updateLocation).value)==null||f.call(u,a),r=(performance.now()-c)/(1e3/60)>2})}i=(typeof requestIdleCallback>"u"?a=>a():requestIdleCallback)(()=>{n.run(()=>{V_(fd(e.target.value,e.contentEl.value),a=>{r?(cancelAnimationFrame(s),s=requestAnimationFrame(()=>{s=requestAnimationFrame(()=>{o(a)})})):o(a)})})}),_t(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(i),cancelAnimationFrame(s)})}function fd(e,t){return Array.isArray(e)?document.elementsFromPoint(...e).find(n=>!(t!=null&&t.contains(n))):e??t}function V_(e,t){const n=[document,...Qa(e)];n.forEach(r=>{r.addEventListener("scroll",t,{passive:!0})}),_t(()=>{n.forEach(r=>{r.removeEventListener("scroll",t)})})}const Wx=Symbol.for("vuetify:v-menu"),jx=ie({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function zx(e,t){let n=()=>{};function r(o,a){n==null||n();const c=o?e.openDelay:e.closeDelay,l=Math.max((a==null?void 0:a.minDelay)??0,Number(c??0));return new Promise(u=>{n=xT(l,()=>{t==null||t(o),u(o)})})}function s(){return r(!0)}function i(o){return r(!1,o)}return{clearDelay:n,runOpenDelay:s,runCloseDelay:i}}const qx=ie({target:[String,Object],activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...jx()},"VOverlay-activator");function Gx(e,t){let{isActive:n,isTop:r,contentEl:s}=t;const i=ut("useActivator"),o=Ee();let a=!1,c=!1,l=!0;const u=U(()=>e.openOnFocus||e.openOnFocus==null&&e.openOnHover),f=U(()=>e.openOnClick||e.openOnClick==null&&!e.openOnHover&&!u.value),{runOpenDelay:d,runCloseDelay:h}=zx(e,w=>{w===(e.openOnHover&&a||u.value&&c)&&!(e.openOnHover&&n.value&&!r.value)&&(n.value!==w&&(l=!0),n.value=w)}),p=Ee(),m={onClick:w=>{w.stopPropagation(),o.value=w.currentTarget||w.target,n.value||(p.value=[w.clientX,w.clientY]),n.value=!n.value},onMouseenter:w=>{a=!0,o.value=w.currentTarget||w.target,d()},onMouseleave:w=>{a=!1,h()},onFocus:w=>{IT(w.target,":focus-visible")!==!1&&(c=!0,w.stopPropagation(),o.value=w.currentTarget||w.target,d())},onBlur:w=>{c=!1,w.stopPropagation(),h({minDelay:1})}},y=U(()=>{const w={};return f.value&&(w.onClick=m.onClick),e.openOnHover&&(w.onMouseenter=m.onMouseenter,w.onMouseleave=m.onMouseleave),u.value&&(w.onFocus=m.onFocus,w.onBlur=m.onBlur),w}),g=U(()=>{const w={};if(e.openOnHover&&(w.onMouseenter=()=>{a=!0,d()},w.onMouseleave=()=>{a=!1,h()}),u.value&&(w.onFocusin=I=>{I.target.matches(":focus-visible")&&(c=!0,d())},w.onFocusout=()=>{c=!1,h({minDelay:1})}),e.closeOnContentClick){const I=Oe(Wx,null);w.onClick=()=>{n.value=!1,I==null||I.closeParents()}}return w}),v=U(()=>{const w={};return e.openOnHover&&(w.onMouseenter=()=>{l&&(a=!0,l=!1,d())},w.onMouseleave=()=>{a=!1,h()}),w});Se(r,w=>{var I;w&&(e.openOnHover&&!a&&(!u.value||!c)||u.value&&!c&&(!e.openOnHover||!a))&&!((I=s.value)!=null&&I.contains(document.activeElement))&&(n.value=!1)}),Se(n,w=>{w||setTimeout(()=>{p.value=void 0})},{flush:"post"});const _=Eu();on(()=>{_.value&&dt(()=>{o.value=_.el})});const T=Eu(),O=U(()=>e.target==="cursor"&&p.value?p.value:T.value?T.el:U_(e.target,i)||o.value),R=U(()=>Array.isArray(O.value)?void 0:O.value);let E;return Se(()=>!!e.activator,w=>{w&&Xe?(E=ls(),E.run(()=>{Kx(e,i,{activatorEl:o,activatorEvents:y})})):E&&E.stop()},{flush:"post",immediate:!0}),_t(()=>{E==null||E.stop()}),{activatorEl:o,activatorRef:_,target:O,targetEl:R,targetRef:T,activatorEvents:y,contentEvents:g,scrimEvents:v}}function Kx(e,t,n){let{activatorEl:r,activatorEvents:s}=n;Se(()=>e.activator,(c,l)=>{if(l&&c!==l){const u=a(l);u&&o(u)}c&&dt(()=>i())},{immediate:!0}),Se(()=>e.activatorProps,()=>{i()}),_t(()=>{o()});function i(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:a(),l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;c&&MT(c,Ye(s.value,l))}function o(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:a(),l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;c&&PT(c,Ye(s.value,l))}function a(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activator;const l=U_(c,t);return r.value=(l==null?void 0:l.nodeType)===Node.ELEMENT_NODE?l:void 0,r.value}}function U_(e,t){var r,s;if(!e)return;let n;if(e==="parent"){let i=(s=(r=t==null?void 0:t.proxy)==null?void 0:r.$el)==null?void 0:s.parentNode;for(;i!=null&&i.hasAttribute("data-no-activator");)i=i.parentNode;n=i}else typeof e=="string"?n=document.querySelector(e):"$el"in e?n=e.$el:n=e;return n}const Yx=ie({retainFocus:Boolean,captureFocus:Boolean,disableInitialFocus:Boolean},"focusTrap"),Ra=new Map;let im=0;function om(e){const t=document.activeElement;if(e.key!=="Tab"||!t)return;const n=Array.from(Ra.values()).filter(l=>{var d;let{isActive:u,contentEl:f}=l;return u.value&&((d=f.value)==null?void 0:d.contains(t))}).map(l=>l.contentEl.value);let r,s=t.parentElement;for(;s;){if(n.includes(s)){r=s;break}s=s.parentElement}if(!r)return;const i=Zi(r).filter(l=>l.tabIndex>=0);if(!i.length)return;const o=document.activeElement;if(i.length===1&&i[0].classList.contains("v-list")&&i[0].contains(o)){e.preventDefault();return}const a=i[0],c=i[i.length-1];e.shiftKey&&(o===a||a.classList.contains("v-list")&&a.contains(o))&&(e.preventDefault(),c.focus()),!e.shiftKey&&(o===c||c.classList.contains("v-list")&&c.contains(o))&&(e.preventDefault(),a.focus())}function Xx(e,t){let{isActive:n,localTop:r,activatorEl:s,contentEl:i}=t;const o=Symbol("trap");let a=!1,c=-1;async function l(){a=!0,c=window.setTimeout(()=>{a=!1},100)}async function u(h){var y;const p=h.relatedTarget,m=h.target;document.removeEventListener("pointerdown",l),document.removeEventListener("keydown",f),await dt(),n.value&&!a&&p!==m&&i.value&&mt(r)&&![document,i.value].includes(m)&&!i.value.contains(m)&&((y=Zi(i.value)[0])==null||y.focus())}function f(h){if(h.key==="Tab"&&(document.removeEventListener("keydown",f),n.value&&i.value&&h.target&&!i.value.contains(h.target))){const p=Zi(document.documentElement);if(h.shiftKey&&h.target===p.at(0)||!h.shiftKey&&h.target===p.at(-1)){const m=Zi(i.value);m.length>0&&(h.preventDefault(),m[0].focus())}}}const d=Q(()=>n.value&&e.captureFocus&&!e.disableInitialFocus);Xe&&(Se(()=>e.retainFocus,h=>{h?Ra.set(o,{isActive:n,contentEl:i}):Ra.delete(o)},{immediate:!0}),Se(d,h=>{h?(document.addEventListener("pointerdown",l),document.addEventListener("focusin",u,{once:!0}),document.addEventListener("keydown",f)):(document.removeEventListener("pointerdown",l),document.removeEventListener("focusin",u),document.removeEventListener("keydown",f))},{immediate:!0}),im++<1&&document.addEventListener("keydown",om)),_t(()=>{Ra.delete(o),clearTimeout(c),document.removeEventListener("pointerdown",l),document.removeEventListener("focusin",u),document.removeEventListener("keydown",f),--im<1&&document.removeEventListener("keydown",om)})}function Jx(){if(!Xe)return be(!1);const{ssr:e}=uI();if(e){const t=be(!1);return Nr(()=>{t.value=!0}),t}else return be(!0)}const Zx=ie({eager:Boolean},"lazy");function Qx(e,t){const n=be(!1),r=Q(()=>n.value||e.eager||t.value);Se(t,()=>n.value=!0);function s(){e.eager||(n.value=!1)}return{isBooted:n,hasContent:r,onAfterLeave:s}}function dd(){const t=ut("useScopeId").vnode.scopeId;return{scopeId:t?{[t]:""}:void 0}}const am=Symbol.for("vuetify:stack"),Bi=lt([]);function eR(e,t,n){const r=ut("useStack"),s=!n,i=Oe(am,void 0),o=lt({activeChildren:new Set});Ct(am,o);const a=be(Number(mt(t)));yi(e,()=>{var f;const u=(f=Bi.at(-1))==null?void 0:f[1];a.value=u?u+10:Number(mt(t)),s&&Bi.push([r.uid,a.value]),i==null||i.activeChildren.add(r.uid),_t(()=>{if(s){const d=ue(Bi).findIndex(h=>h[0]===r.uid);Bi.splice(d,1)}i==null||i.activeChildren.delete(r.uid)})});const c=be(!0);return s&&on(()=>{var f;const u=((f=Bi.at(-1))==null?void 0:f[0])===r.uid;setTimeout(()=>c.value=u)}),{globalTop:Xs(c),localTop:Q(()=>!o.activeChildren.size),stackStyles:Q(()=>({zIndex:a.value}))}}function tR(e){return{teleportTarget:U(()=>{const n=e();if(n===!0||!Xe)return;const r=n===!1?document.body:typeof n=="string"?document.querySelector(n):n;if(r==null)return;let s=[...r.children].find(i=>i.matches(".v-overlay-container"));return s||(s=document.createElement("div"),s.className="v-overlay-container",r.appendChild(s)),s})}}const W_=ie({transition:{type:null,default:"fade-transition",validator:e=>e!==!0}},"transition"),Fs=(e,t)=>{let{slots:n}=t;const{transition:r,disabled:s,group:i,...o}=e,{component:a=i?Uf:xr,...c}=Su(r)?r:{};let l;return Su(r)?l=Ye(c,RT({disabled:s,group:i}),o):l=Ye({name:s||!r?"":r},o),Lr(a,l,n)};function nR(){return!0}function j_(e,t,n){if(!e||z_(e,n)===!1)return!1;const r=zv(t);if(typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&r.host===e.target)return!1;const s=(typeof n.value=="object"&&n.value.include||(()=>[]))();return s.push(t),!s.some(i=>i==null?void 0:i.contains(e.target))}function z_(e,t){return(typeof t.value=="object"&&t.value.closeConditional||nR)(e)}function rR(e,t,n){const r=typeof n.value=="function"?n.value:n.value.handler;e.shadowTarget=e.target,t._clickOutside.lastMousedownWasOutside&&j_(e,t,n)&&setTimeout(()=>{z_(e,n)&&r&&r(e)},0)}function cm(e,t){const n=zv(e);t(document),typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&t(n)}const lm={mounted(e,t){const n=s=>rR(s,e,t),r=s=>{e._clickOutside.lastMousedownWasOutside=j_(s,e,t)};cm(e,s=>{s.addEventListener("click",n,!0),s.addEventListener("mousedown",r,!0)}),e._clickOutside||(e._clickOutside={lastMousedownWasOutside:!1}),e._clickOutside[t.instance.$.uid]={onClick:n,onMousedown:r}},beforeUnmount(e,t){e._clickOutside&&(cm(e,n=>{var i;if(!n||!((i=e._clickOutside)!=null&&i[t.instance.$.uid]))return;const{onClick:r,onMousedown:s}=e._clickOutside[t.instance.$.uid];n.removeEventListener("click",r,!0),n.removeEventListener("mousedown",s,!0)}),delete e._clickOutside[t.instance.$.uid])}};function sR(e){const{modelValue:t,color:n,...r}=e;return F(xr,{name:"fade-transition",appear:!0},{default:()=>[e.modelValue&&ne("div",Ye({class:["v-overlay__scrim",e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},r),null)]})}const hd=ie({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,opacity:[Number,String],noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...qx(),...rt(),...Si(),...Zx(),...Mx(),...$x(),...Yx(),...Yt(),...W_()},"VOverlay"),oc=Pe()({name:"VOverlay",directives:{vClickOutside:lm},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...ys(hd(),["disableInitialFocus"])},emits:{"click:outside":e=>!0,"update:modelValue":e=>!0,keydown:e=>!0,afterEnter:()=>!0,afterLeave:()=>!0},setup(e,t){let{slots:n,attrs:r,emit:s}=t;const i=ut("VOverlay"),o=Ee(),a=Ee(),c=Ee(),l=zn(e,"modelValue"),u=U({get:()=>l.value,set:C=>{C&&e.disabled||(l.value=C)}}),{themeClasses:f}=cn(e),{rtlClasses:d,isRtl:h}=Do(),{hasContent:p,onAfterLeave:m}=Qx(e,u),y=Gs(()=>typeof e.scrim=="string"?e.scrim:null),{globalTop:g,localTop:v,stackStyles:_}=eR(u,()=>e.zIndex,e._disableGlobalStack),{activatorEl:T,activatorRef:O,target:R,targetEl:E,targetRef:w,activatorEvents:I,contentEvents:A,scrimEvents:M}=Gx(e,{isActive:u,isTop:v,contentEl:c}),{teleportTarget:x}=tR(()=>{var z,re,_e;const C=e.attach||e.contained;if(C)return C;const W=((z=T==null?void 0:T.value)==null?void 0:z.getRootNode())||((_e=(re=i.proxy)==null?void 0:re.$el)==null?void 0:_e.getRootNode());return W instanceof ShadowRoot?W:!1}),{dimensionStyles:N}=Ei(e),L=Jx(),{scopeId:G}=dd();Se(()=>e.disabled,C=>{C&&(u.value=!1)});const{contentStyles:J,updateLocation:j}=Px(e,{isRtl:h,contentEl:c,target:R,isActive:u});Bx(e,{root:o,contentEl:c,targetEl:E,target:R,isActive:u,updateLocation:j});function D(C){s("click:outside",C),e.persistent?Me():u.value=!1}function ae(C){return u.value&&v.value&&(!e.scrim||C.target===a.value||C instanceof MouseEvent&&C.shadowTarget===a.value)}Xx(e,{isActive:u,localTop:v,contentEl:c,activatorEl:T}),Xe&&Se(u,C=>{C?window.addEventListener("keydown",q):window.removeEventListener("keydown",q)},{immediate:!0}),yn(()=>{Xe&&window.removeEventListener("keydown",q)});function q(C){var W,z,re;C.key==="Escape"&&g.value&&((W=c.value)!=null&&W.contains(document.activeElement)||s("keydown",C),e.persistent?Me():(u.value=!1,(z=c.value)!=null&&z.contains(document.activeElement)&&((re=T.value)==null||re.focus())))}function ce(C){C.key==="Escape"&&!g.value||s("keydown",C)}const le=Sx();yi(()=>e.closeOnBack,()=>{Ex(le,C=>{g.value&&u.value?(C(!1),e.persistent?Me():u.value=!1):C()})});const ve=Ee();Se(()=>u.value&&(e.absolute||e.contained)&&x.value==null,C=>{if(C){const W=cC(o.value);W&&W!==document.scrollingElement&&(ve.value=W.scrollTop)}});function Me(){e.noClickAnimation||c.value&&Kr(c.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:Cu})}function Fe(){s("afterEnter")}function Ge(){m(),s("afterLeave")}return Je(()=>{var C;return ne(Ke,null,[(C=n.activator)==null?void 0:C.call(n,{isActive:u.value,targetRef:w,props:Ye({ref:O},I.value,e.activatorProps)}),L.value&&p.value&&F(U0,{disabled:!x.value,to:x.value},{default:()=>[ne("div",Ye({class:["v-overlay",{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":u.value,"v-overlay--contained":e.contained},f.value,d.value,e.class],style:[_.value,{"--v-overlay-opacity":e.opacity,top:pe(ve.value)},e.style],ref:o,onKeydown:ce},G,r),[F(sR,Ye({color:y,modelValue:u.value&&!!e.scrim,ref:a},M.value),null),F(Fs,{appear:!0,persisted:!0,transition:e.transition,target:R.value,onAfterEnter:Fe,onAfterLeave:Ge},{default:()=>{var W;return[us(ne("div",Ye({ref:c,class:["v-overlay__content",e.contentClass],style:[N.value,J.value]},A.value,e.contentProps),[(W=n.default)==null?void 0:W.call(n,{isActive:u})]),[[Vf,u.value],[lm,{handler:D,closeConditional:ae,include:()=>[T.value]}]])]}})])]})])}),{activatorEl:T,scrimEl:a,target:R,animateClick:Me,contentEl:c,rootEl:o,globalTop:g,localTop:v,updateLocation:j}}}),Fl=Symbol("Forwarded refs");function $l(e,t){let n=e;for(;n;){const r=Reflect.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function q_(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;rt.value=e())}function i(o){const a=o?getComputedStyle(o):{transitionDuration:.2},c=parseFloat(a.transitionDuration)*1e3||200;if(r(),t.value<=0)return;const l=performance.now();n=window.setInterval(()=>{const u=performance.now()-l+c;t.value=Math.max(e()-u,0),t.value<=0&&r()},c)}return _t(r),{clear:r,time:t,start:i,reset:s}}const oR=ie({multiLine:Boolean,text:String,timer:[Boolean,String],timeout:{type:[Number,String],default:5e3},vertical:Boolean,...Gc({location:"bottom"}),...ad(),...ar(),..._s(),...Yt(),...ys(hd({transition:"v-snackbar-transition"}),["persistent","noClickAnimation","retainFocus","captureFocus","disableInitialFocus","scrim","scrollStrategy","stickToTarget","viewportMargin"])},"VSnackbar"),aR=Pe()({name:"VSnackbar",props:oR(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=zn(e,"modelValue"),{positionClasses:s}=cd(e),{scopeId:i}=dd(),{themeClasses:o}=cn(e),{colorClasses:a,colorStyles:c,variantClasses:l}=Vo(e),{roundedClasses:u}=cr(e),f=iR(()=>Number(e.timeout)),d=Ee(),h=Ee(),p=be(!1),m=be(0),y=Ee(),g=Oe(_o,void 0);yi(()=>!!g,()=>{const M=wI();on(()=>{y.value=M.mainStyles.value})}),Se(r,_),Se(()=>e.timeout,_),Nr(()=>{r.value&&_()});let v=-1;function _(){f.reset(),window.clearTimeout(v);const M=Number(e.timeout);if(!r.value||M===-1)return;const x=jf(h.value);f.start(x),v=window.setTimeout(()=>{r.value=!1},M)}function T(){f.reset(),window.clearTimeout(v)}function O(){p.value=!0,T()}function R(){p.value=!1,_()}function E(M){m.value=M.touches[0].clientY}function w(M){Math.abs(m.value-M.changedTouches[0].clientY)>50&&(r.value=!1)}function I(){p.value&&R()}const A=U(()=>e.location.split(" ").reduce((M,x)=>(M[`v-snackbar--${x}`]=!0,M),{}));return Je(()=>{const M=oc.filterProps(e),x=!!(n.default||n.text||e.text);return F(oc,Ye({ref:d,class:["v-snackbar",{"v-snackbar--active":r.value,"v-snackbar--multi-line":e.multiLine&&!e.vertical,"v-snackbar--timer":!!e.timer,"v-snackbar--vertical":e.vertical},A.value,s.value,e.class],style:[y.value,e.style]},M,{modelValue:r.value,"onUpdate:modelValue":N=>r.value=N,contentProps:Ye({class:["v-snackbar__wrapper",o.value,a.value,u.value,l.value],style:[c.value],onPointerenter:O,onPointerleave:R},M.contentProps),persistent:!0,noClickAnimation:!0,scrim:!1,scrollStrategy:"none",_disableGlobalStack:!0,onTouchstartPassive:E,onTouchend:w,onAfterLeave:I},i),{default:()=>{var N,L;return[Ho(!1,"v-snackbar"),e.timer&&!p.value&&ne("div",{key:"timer",class:"v-snackbar__timer"},[F(R_,{ref:h,color:typeof e.timer=="string"?e.timer:"info",max:e.timeout,modelValue:f.time.value},null)]),x&&ne("div",{key:"content",class:"v-snackbar__content",role:"status","aria-live":"polite"},[((N=n.text)==null?void 0:N.call(n))??e.text,(L=n.default)==null?void 0:L.call(n)]),n.actions&&F(nn,{defaults:{VBtn:{variant:"text",ripple:!1,slim:!0}}},{default:()=>[ne("div",{class:"v-snackbar__actions"},[n.actions({isActive:r})])]})]},activator:n.activator})}),q_({},d)}}),cR=Pc({name:"GlobalMessage",setup(){var i;const e=Ee(!1),t=Ee(null),n={success:"mdi-check-circle",error:"mdi-alert-circle",warning:"mdi-alert",info:"mdi-information"},r={success:"success",error:"error",warning:"warning",info:"info"},s=(i=Ps==null?void 0:Ps.onSnackbar)==null?void 0:i.call(Ps,async o=>{o&&(e.value&&(e.value=!1,await dt()),t.value=o,e.value=!0)});return yn(()=>s==null?void 0:s()),{snackbar:e,message:t,icons:n,colors:r}}}),lR={class:"d-flex align-center"},uR={class:"text-subtitle-2 font-weight-medium"},fR={key:0,class:"text-body-2"};function dR(e,t,n,r,s,i){var o;return en(),xn(aR,{modelValue:e.snackbar,"onUpdate:modelValue":t[1]||(t[1]=a=>e.snackbar=a),color:e.colors[(o=e.message)==null?void 0:o.type]||e.colors.info,timeout:2e3,location:"top right","multi-line":"",variant:"tonal"},{actions:ft(()=>[F(B_,{icon:"mdi-close",variant:"text",onClick:t[0]||(t[0]=a=>e.snackbar=!1)})]),default:ft(()=>{var a,c,l,u;return[ne("div",lR,[F(Mn,{icon:e.icons[(a=e.message)==null?void 0:a.type]||e.icons.info,class:"mr-2"},null,8,["icon"]),ne("div",null,[ne("div",uR,dn((c=e.message)==null?void 0:c.title),1),(l=e.message)!=null&&l.content?(en(),mv("div",fR,dn((u=e.message)==null?void 0:u.content),1)):gu("",!0)])])]}),_:1},8,["modelValue","color"])}const G_=T_(cR,[["render",dR]]),hR=ie({...rt(),...It()},"VCardActions"),K_=Pe()({name:"VCardActions",props:hR(),setup(e,t){let{slots:n}=t;return Bc({VBtn:{slim:!0,variant:"text"}}),Je(()=>F(e.tag,{class:Re(["v-card-actions",e.class]),style:ze(e.style)},n)),{}}}),pR=ie({opacity:[Number,String],...rt(),...It()},"VCardSubtitle"),mR=Pe()({name:"VCardSubtitle",props:pR(),setup(e,t){let{slots:n}=t;return Je(()=>F(e.tag,{class:Re(["v-card-subtitle",e.class]),style:ze([{"--v-card-subtitle-opacity":e.opacity},e.style])},n)),{}}}),Y_=Xf("v-card-title");function gR(e){return{aspectStyles:U(()=>{const t=Number(e.aspectRatio);return t?{paddingBottom:String(1/t*100)+"%"}:void 0})}}const X_=ie({aspectRatio:[String,Number],contentClass:null,inline:Boolean,...rt(),...Si()},"VResponsive"),um=Pe()({name:"VResponsive",props:X_(),setup(e,t){let{slots:n}=t;const{aspectStyles:r}=gR(e),{dimensionStyles:s}=Ei(e);return Je(()=>{var i;return ne("div",{class:Re(["v-responsive",{"v-responsive--inline":e.inline},e.class]),style:ze([s.value,e.style])},[ne("div",{class:"v-responsive__sizer",style:ze(r.value)},null),(i=n.additional)==null?void 0:i.call(n),n.default&&ne("div",{class:Re(["v-responsive__content",e.contentClass])},[n.default()])])}),{}}});function yR(e,t){if(!Wf)return;const n=t.modifiers||{},r=t.value,{handler:s,options:i}=typeof r=="object"?r:{handler:r,options:{}},o=new IntersectionObserver(function(){var f;let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],c=arguments.length>1?arguments[1]:void 0;const l=(f=e._observe)==null?void 0:f[t.instance.$.uid];if(!l)return;const u=a.some(d=>d.isIntersecting);s&&(!n.quiet||l.init)&&(!n.once||u||l.init)&&s(u,a,c),u&&n.once?J_(e,t):l.init=!0},i);e._observe=Object(e._observe),e._observe[t.instance.$.uid]={init:!1,observer:o},o.observe(e)}function J_(e,t){var r;const n=(r=e._observe)==null?void 0:r[t.instance.$.uid];n&&(n.observer.unobserve(e),delete e._observe[t.instance.$.uid])}const fm={mounted:yR,unmounted:J_},vR=ie({absolute:Boolean,alt:String,cover:Boolean,color:String,draggable:{type:[Boolean,String],default:void 0},eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},crossorigin:String,referrerpolicy:String,srcset:String,position:String,...X_(),...rt(),...ar(),...W_()},"VImg"),Z_=Pe()({name:"VImg",directives:{vIntersect:fm},props:vR(),emits:{loadstart:e=>!0,load:e=>!0,error:e=>!0},setup(e,t){let{emit:n,slots:r}=t;const{backgroundColorClasses:s,backgroundColorStyles:i}=Gs(()=>e.color),{roundedClasses:o}=cr(e),a=ut("VImg"),c=be(""),l=Ee(),u=be(e.eager?"loading":"idle"),f=be(),d=be(),h=U(()=>e.src&&typeof e.src=="object"?{src:e.src.src,srcset:e.srcset||e.src.srcset,lazySrc:e.lazySrc||e.src.lazySrc,aspect:Number(e.aspectRatio||e.src.aspect||0)}:{src:e.src,srcset:e.srcset,lazySrc:e.lazySrc,aspect:Number(e.aspectRatio||0)}),p=U(()=>h.value.aspect||f.value/d.value||0);Se(()=>e.src,()=>{m(u.value!=="idle")}),Se(p,(x,N)=>{!x&&N&&l.value&&T(l.value)}),Dc(()=>m());function m(x){if(!(e.eager&&x)&&!(Wf&&!x&&!e.eager)){if(u.value="loading",h.value.lazySrc){const N=new Image;N.src=h.value.lazySrc,T(N,null)}h.value.src&&dt(()=>{var N;n("loadstart",((N=l.value)==null?void 0:N.currentSrc)||h.value.src),setTimeout(()=>{var L;if(!a.isUnmounted)if((L=l.value)!=null&&L.complete){if(l.value.naturalWidth||g(),u.value==="error")return;p.value||T(l.value,null),u.value==="loading"&&y()}else p.value||T(l.value),v()})})}}function y(){var x;a.isUnmounted||(v(),T(l.value),u.value="loaded",n("load",((x=l.value)==null?void 0:x.currentSrc)||h.value.src))}function g(){var x;a.isUnmounted||(u.value="error",n("error",((x=l.value)==null?void 0:x.currentSrc)||h.value.src))}function v(){const x=l.value;x&&(c.value=x.currentSrc||x.src)}let _=-1;yn(()=>{clearTimeout(_)});function T(x){let N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const L=()=>{if(clearTimeout(_),a.isUnmounted)return;const{naturalHeight:G,naturalWidth:J}=x;G||J?(f.value=J,d.value=G):!x.complete&&u.value==="loading"&&N!=null?_=window.setTimeout(L,N):(x.currentSrc.endsWith(".svg")||x.currentSrc.startsWith("data:image/svg+xml"))&&(f.value=1,d.value=1)};L()}const O=Q(()=>({"v-img__img--cover":e.cover,"v-img__img--contain":!e.cover})),R=()=>{var L;if(!h.value.src||u.value==="idle")return null;const x=ne("img",{class:Re(["v-img__img",O.value]),style:{objectPosition:e.position},crossorigin:e.crossorigin,src:h.value.src,srcset:h.value.srcset,alt:e.alt,referrerpolicy:e.referrerpolicy,draggable:e.draggable,sizes:e.sizes,ref:l,onLoad:y,onError:g},null),N=(L=r.sources)==null?void 0:L.call(r);return F(Fs,{transition:e.transition,appear:!0},{default:()=>[us(N?ne("picture",{class:"v-img__picture"},[N,x]):x,[[Vf,u.value==="loaded"]])]})},E=()=>F(Fs,{transition:e.transition},{default:()=>[h.value.lazySrc&&u.value!=="loaded"&&ne("img",{class:Re(["v-img__img","v-img__img--preload",O.value]),style:{objectPosition:e.position},crossorigin:e.crossorigin,src:h.value.lazySrc,alt:e.alt,referrerpolicy:e.referrerpolicy,draggable:e.draggable},null)]}),w=()=>r.placeholder?F(Fs,{transition:e.transition,appear:!0},{default:()=>[(u.value==="loading"||u.value==="error"&&!r.error)&&ne("div",{class:"v-img__placeholder"},[r.placeholder()])]}):null,I=()=>r.error?F(Fs,{transition:e.transition,appear:!0},{default:()=>[u.value==="error"&&ne("div",{class:"v-img__error"},[r.error()])]}):null,A=()=>e.gradient?ne("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${e.gradient})`}},null):null,M=be(!1);{const x=Se(p,N=>{N&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{M.value=!0})}),x())})}return Je(()=>{const x=um.filterProps(e);return us(F(um,Ye({class:["v-img",{"v-img--absolute":e.absolute,"v-img--booting":!M.value},s.value,o.value,e.class],style:[{width:pe(e.width==="auto"?f.value:e.width)},i.value,e.style]},x,{aspectRatio:p.value,"aria-label":e.alt,role:e.alt?"img":void 0}),{additional:()=>ne(Ke,null,[F(R,null,null),F(E,null,null),F(A,null,null),F(w,null,null),F(I,null,null)]),default:r.default}),[[fm,{handler:m,options:e.options},null,{once:!0}]])}),{currentSrc:c,image:l,state:u,naturalWidth:f,naturalHeight:d}}}),_R=ie({start:Boolean,end:Boolean,icon:yt,image:String,text:String,...vi(),...rt(),...vs(),...ar(),...zc(),...It(),...Yt(),..._s({variant:"flat"})},"VAvatar"),ac=Pe()({name:"VAvatar",props:_R(),setup(e,t){let{slots:n}=t;const{themeClasses:r}=cn(e),{borderClasses:s}=_i(e),{colorClasses:i,colorStyles:o,variantClasses:a}=Vo(e),{densityClasses:c}=bi(e),{roundedClasses:l}=cr(e),{sizeClasses:u,sizeStyles:f}=qc(e);return Je(()=>F(e.tag,{class:Re(["v-avatar",{"v-avatar--start":e.start,"v-avatar--end":e.end},r.value,s.value,i.value,c.value,l.value,u.value,a.value,e.class]),style:ze([o.value,f.value,e.style])},{default:()=>[n.default?F(nn,{key:"content-defaults",defaults:{VImg:{cover:!0,src:e.image},VIcon:{icon:e.icon}}},{default:()=>[n.default()]}):e.image?F(Z_,{key:"image",src:e.image,alt:"",cover:!0},null):e.icon?F(Mn,{key:"icon",icon:e.icon},null):e.text,Ho(!1,"v-avatar")]})),{}}}),bR=ie({appendAvatar:String,appendIcon:yt,prependAvatar:String,prependIcon:yt,subtitle:{type:[String,Number,Boolean],default:void 0},title:{type:[String,Number,Boolean],default:void 0},...rt(),...vs(),...It()},"VCardItem"),SR=Pe()({name:"VCardItem",props:bR(),setup(e,t){let{slots:n}=t;return Je(()=>{const r=!!(e.prependAvatar||e.prependIcon),s=!!(r||n.prepend),i=!!(e.appendAvatar||e.appendIcon),o=!!(i||n.append),a=!!(e.title!=null||n.title),c=!!(e.subtitle!=null||n.subtitle);return F(e.tag,{class:Re(["v-card-item",e.class]),style:ze(e.style)},{default:()=>{var l;return[s&&ne("div",{key:"prepend",class:"v-card-item__prepend"},[n.prepend?F(nn,{key:"prepend-defaults",disabled:!r,defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon}}},n.prepend):ne(Ke,null,[e.prependAvatar&&F(ac,{key:"prepend-avatar",density:e.density,image:e.prependAvatar},null),e.prependIcon&&F(Mn,{key:"prepend-icon",density:e.density,icon:e.prependIcon},null)])]),ne("div",{class:"v-card-item__content"},[a&&F(Y_,{key:"title"},{default:()=>{var u;return[((u=n.title)==null?void 0:u.call(n))??dn(e.title)]}}),c&&F(mR,{key:"subtitle"},{default:()=>{var u;return[((u=n.subtitle)==null?void 0:u.call(n))??dn(e.subtitle)]}}),(l=n.default)==null?void 0:l.call(n)]),o&&ne("div",{key:"append",class:"v-card-item__append"},[n.append?F(nn,{key:"append-defaults",disabled:!i,defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon}}},n.append):ne(Ke,null,[e.appendIcon&&F(Mn,{key:"append-icon",density:e.density,icon:e.appendIcon},null),e.appendAvatar&&F(ac,{key:"append-avatar",density:e.density,image:e.appendAvatar},null)])])]}})}),{}}}),ER=ie({opacity:[Number,String],...rt(),...It()},"VCardText"),$u=Pe()({name:"VCardText",props:ER(),setup(e,t){let{slots:n}=t;return Je(()=>F(e.tag,{class:Re(["v-card-text",e.class]),style:ze([{"--v-card-text-opacity":e.opacity},e.style])},n)),{}}}),wR=ie({appendAvatar:String,appendIcon:yt,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:yt,ripple:{type:[Boolean,Object],default:!0},subtitle:{type:[String,Number,Boolean],default:void 0},text:{type:[String,Number,Boolean],default:void 0},title:{type:[String,Number,Boolean],default:void 0},...vi(),...rt(),...vs(),...Si(),...$o(),...A_(),...Gc(),...ad(),...ar(),...ud(),...It(),...Yt(),..._s({variant:"elevated"})},"VCard"),dm=Pe()({name:"VCard",directives:{vRipple:wo},props:wR(),setup(e,t){let{attrs:n,slots:r}=t;const{themeClasses:s}=cn(e),{borderClasses:i}=_i(e),{colorClasses:o,colorStyles:a,variantClasses:c}=Vo(e),{densityClasses:l}=bi(e),{dimensionStyles:u}=Ei(e),{elevationClasses:f}=Bo(e),{loaderClasses:d}=O_(e),{locationStyles:h}=od(e),{positionClasses:p}=cd(e),{roundedClasses:m}=cr(e),y=ld(e,n),g=be(void 0);return Se(()=>e.loading,(v,_)=>{g.value=!v&&typeof _=="string"?_:typeof v=="boolean"?void 0:v},{immediate:!0}),Je(()=>{const v=e.link!==!1&&y.isLink.value,_=!e.disabled&&e.link!==!1&&(e.link||y.isClickable.value),T=v?"a":e.tag,O=!!(r.title||e.title!=null),R=!!(r.subtitle||e.subtitle!=null),E=O||R,w=!!(r.append||e.appendAvatar||e.appendIcon),I=!!(r.prepend||e.prependAvatar||e.prependIcon),A=!!(r.image||e.image),M=E||I||w,x=!!(r.text||e.text!=null);return us(F(T,Ye(y.linkProps,{class:["v-card",{"v-card--disabled":e.disabled,"v-card--flat":e.flat,"v-card--hover":e.hover&&!(e.disabled||e.flat),"v-card--link":_},s.value,i.value,o.value,l.value,f.value,d.value,p.value,m.value,c.value,e.class],style:[a.value,u.value,h.value,e.style],onClick:_&&y.navigate,tabindex:e.disabled?-1:void 0}),{default:()=>{var N;return[A&&ne("div",{key:"image",class:"v-card__image"},[r.image?F(nn,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},r.image):F(Z_,{key:"image-img",cover:!0,src:e.image},null)]),F(vx,{name:"v-card",active:!!e.loading,color:g.value},{default:r.loader}),M&&F(SR,{key:"item",prependAvatar:e.prependAvatar,prependIcon:e.prependIcon,title:e.title,subtitle:e.subtitle,appendAvatar:e.appendAvatar,appendIcon:e.appendIcon},{default:r.item,prepend:r.prepend,title:r.title,subtitle:r.subtitle,append:r.append}),x&&F($u,{key:"text"},{default:()=>{var L;return[((L=r.text)==null?void 0:L.call(r))??e.text]}}),(N=r.default)==null?void 0:N.call(r),r.actions&&F(K_,null,{default:r.actions}),Ho(_,"v-card")]}}),[[wo,_&&e.ripple]])}),{}}}),TR=ie({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function Xt(e,t,n){return Pe()({name:e,props:TR({mode:n,origin:t}),setup(r,s){let{slots:i}=s;const o={onBeforeEnter(a){r.origin&&(a.style.transformOrigin=r.origin)},onLeave(a){if(r.leaveAbsolute){const{offsetTop:c,offsetLeft:l,offsetWidth:u,offsetHeight:f}=a;a._transitionInitialStyles={position:a.style.position,top:a.style.top,left:a.style.left,width:a.style.width,height:a.style.height},a.style.position="absolute",a.style.top=`${c}px`,a.style.left=`${l}px`,a.style.width=`${u}px`,a.style.height=`${f}px`}r.hideOnLeave&&a.style.setProperty("display","none","important")},onAfterLeave(a){if(r.leaveAbsolute&&(a!=null&&a._transitionInitialStyles)){const{position:c,top:l,left:u,width:f,height:d}=a._transitionInitialStyles;delete a._transitionInitialStyles,a.style.position=c||"",a.style.top=l||"",a.style.left=u||"",a.style.width=f||"",a.style.height=d||""}}};return()=>{const a=r.group?Uf:xr;return Lr(a,{name:r.disabled?"":e,css:!r.disabled,...r.group?void 0:{mode:r.mode},...r.disabled?{}:o},i.default)}}})}function Q_(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return Pe()({name:e,props:{mode:{type:String,default:n},disabled:{type:Boolean,default:po()},group:Boolean},setup(r,s){let{slots:i}=s;const o=r.group?Uf:xr;return()=>Lr(o,{name:r.disabled?"":e,css:!r.disabled,...r.disabled?{}:t},i.default)}})}function eb(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const n=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?"width":"height",r=Pt(`offset-${n}`);return{onBeforeEnter(o){o._parent=o.parentNode,o._initialStyle={transition:o.style.transition,overflow:o.style.overflow,[n]:o.style[n]}},onEnter(o){const a=o._initialStyle;if(!a)return;o.style.setProperty("transition","none","important"),o.style.overflow="hidden";const c=`${o[r]}px`;o.style[n]="0",o.offsetHeight,o.style.transition=a.transition,e&&o._parent&&o._parent.classList.add(e),requestAnimationFrame(()=>{o.style[n]=c})},onAfterEnter:i,onEnterCancelled:i,onLeave(o){o._initialStyle={transition:"",overflow:o.style.overflow,[n]:o.style[n]},o.style.overflow="hidden",o.style[n]=`${o[r]}px`,o.offsetHeight,requestAnimationFrame(()=>o.style[n]="0")},onAfterLeave:s,onLeaveCancelled:s};function s(o){e&&o._parent&&o._parent.classList.remove(e),i(o)}function i(o){if(!o._initialStyle)return;const a=o._initialStyle[n];o.style.overflow=o._initialStyle.overflow,a!=null&&(o.style[n]=a),delete o._initialStyle}}const CR=ie({target:[Object,Array]},"v-dialog-transition"),Bl=new WeakMap,IR=Pe()({name:"VDialogTransition",props:CR(),setup(e,t){let{slots:n}=t;const r={onBeforeEnter(s){s.style.pointerEvents="none",s.style.visibility="hidden"},async onEnter(s,i){var d;await new Promise(h=>requestAnimationFrame(h)),await new Promise(h=>requestAnimationFrame(h)),s.style.visibility="";const o=pm(e.target,s),{x:a,y:c,sx:l,sy:u,speed:f}=o;if(Bl.set(s,o),po())Kr(s,[{opacity:0},{}],{duration:125*f,easing:vp}).finished.then(()=>i());else{const h=Kr(s,[{transform:`translate(${a}px, ${c}px) scale(${l}, ${u})`,opacity:0},{}],{duration:225*f,easing:vp});(d=hm(s))==null||d.forEach(p=>{Kr(p,[{opacity:0},{opacity:0,offset:.33},{}],{duration:225*2*f,easing:Cu})}),h.finished.then(()=>i())}},onAfterEnter(s){s.style.removeProperty("pointer-events")},onBeforeLeave(s){s.style.pointerEvents="none"},async onLeave(s,i){var d;await new Promise(h=>requestAnimationFrame(h));let o;!Bl.has(s)||Array.isArray(e.target)||e.target.offsetParent||e.target.getClientRects().length?o=pm(e.target,s):o=Bl.get(s);const{x:a,y:c,sx:l,sy:u,speed:f}=o;po()?Kr(s,[{},{opacity:0}],{duration:85*f,easing:_p}).finished.then(()=>i()):(Kr(s,[{},{transform:`translate(${a}px, ${c}px) scale(${l}, ${u})`,opacity:0}],{duration:125*f,easing:_p}).finished.then(()=>i()),(d=hm(s))==null||d.forEach(p=>{Kr(p,[{},{opacity:0,offset:.2},{opacity:0}],{duration:125*2*f,easing:Cu})}))},onAfterLeave(s){s.style.removeProperty("pointer-events")}};return()=>e.target?F(xr,Ye({name:"dialog-transition"},r,{css:!1}),n):F(xr,{name:"dialog-transition"},n)}});function hm(e){var n;const t=(n=e.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:n.children;return t&&[...t]}function pm(e,t){const n=$v(e),r=Bv(t),[s,i]=getComputedStyle(t).transformOrigin.split(" ").map(g=>parseFloat(g)),[o,a]=getComputedStyle(t).getPropertyValue("--v-overlay-anchor-origin").split(" ");let c=n.left+n.width/2;o==="left"||a==="left"?c-=n.width/2:(o==="right"||a==="right")&&(c+=n.width/2);let l=n.top+n.height/2;o==="top"||a==="top"?l-=n.height/2:(o==="bottom"||a==="bottom")&&(l+=n.height/2);const u=n.width/r.width,f=n.height/r.height,d=Math.max(1,u,f),h=u/d||0,p=f/d||0,m=r.width*r.height/(window.innerWidth*window.innerHeight),y=m>.12?Math.min(1.5,(m-.12)*10+1):1;return{x:c-(s+r.left),y:l-(i+r.top),sx:h,sy:p,speed:y}}Xt("fab-transition","center center","out-in");Xt("dialog-bottom-transition");Xt("dialog-top-transition");const AH=Xt("fade-transition"),OH=Xt("scale-transition");Xt("scroll-x-transition");Xt("scroll-x-reverse-transition");Xt("scroll-y-transition");Xt("scroll-y-reverse-transition");Xt("slide-x-transition");const MH=Xt("slide-x-reverse-transition"),PH=Xt("slide-y-transition");Xt("slide-y-reverse-transition");const kR=Q_("expand-transition",eb()),NH=Q_("expand-x-transition",eb("",!0)),xR=ie({fullscreen:Boolean,scrollable:Boolean,...ys(hd({captureFocus:!0,origin:"center center",scrollStrategy:"block",transition:{component:IR},zIndex:2400,retainFocus:!0}),["disableInitialFocus"])},"VDialog"),RR=Pe()({name:"VDialog",props:xR(),emits:{"update:modelValue":e=>!0,afterEnter:()=>!0,afterLeave:()=>!0},setup(e,t){let{emit:n,slots:r}=t;const s=zn(e,"modelValue"),{scopeId:i}=dd(),o=Ee();function a(){var l;n("afterEnter"),(e.scrim||e.retainFocus)&&((l=o.value)!=null&&l.contentEl)&&!o.value.contentEl.contains(document.activeElement)&&o.value.contentEl.focus({preventScroll:!0})}function c(){n("afterLeave")}return Se(s,async l=>{var u;l||(await dt(),(u=o.value.activatorEl)==null||u.focus({preventScroll:!0}))}),Je(()=>{const l=oc.filterProps(e),u=Ye({"aria-haspopup":"dialog"},e.activatorProps),f=Ye({tabindex:-1},e.contentProps);return F(oc,Ye({ref:o,class:["v-dialog",{"v-dialog--fullscreen":e.fullscreen,"v-dialog--scrollable":e.scrollable},e.class],style:e.style},l,{modelValue:s.value,"onUpdate:modelValue":d=>s.value=d,"aria-modal":"true",activatorProps:u,contentProps:f,height:e.fullscreen?void 0:e.height,width:e.fullscreen?void 0:e.width,maxHeight:e.fullscreen?void 0:e.maxHeight,maxWidth:e.fullscreen?void 0:e.maxWidth,role:"dialog",onAfterEnter:a,onAfterLeave:c},i),{activator:r.activator,default:function(){for(var d=arguments.length,h=new Array(d),p=0;p{var m;return[(m=r.default)==null?void 0:m.call(r,...h)]}})}})}),q_({},o)}}),AR=["dotted","dashed","solid","double"],OR=ie({color:String,contentOffset:[Number,String,Array],gradient:Boolean,inset:Boolean,length:[Number,String],opacity:[Number,String],thickness:[Number,String],vertical:Boolean,variant:{type:String,default:"solid",validator:e=>AR.includes(e)},...rt(),...Yt()},"VDivider"),tb=Pe()({name:"VDivider",props:OR(),setup(e,t){let{attrs:n,slots:r}=t;const{themeClasses:s}=cn(e),{textColorClasses:i,textColorStyles:o}=ri(()=>e.color),a=U(()=>{const l={};return e.length&&(l[e.vertical?"height":"width"]=pe(e.length)),e.thickness&&(l[e.vertical?"borderRightWidth":"borderTopWidth"]=pe(e.thickness)),l}),c=Q(()=>{const l=Array.isArray(e.contentOffset)?e.contentOffset[0]:e.contentOffset,u=Array.isArray(e.contentOffset)?e.contentOffset[1]:0;return{marginBlock:e.vertical&&l?pe(l):void 0,marginInline:!e.vertical&&l?pe(l):void 0,transform:u?`translate${e.vertical?"X":"Y"}(${pe(u)})`:void 0}});return Je(()=>{const l=ne("hr",{class:Re([{"v-divider":!0,"v-divider--gradient":e.gradient&&!r.default,"v-divider--inset":e.inset,"v-divider--vertical":e.vertical},s.value,i.value,e.class]),style:ze([a.value,o.value,{"--v-border-opacity":e.opacity},{"border-style":e.variant},e.style]),"aria-orientation":!n.role||n.role==="separator"?e.vertical?"vertical":"horizontal":void 0,role:`${n.role||"separator"}`},null);return r.default?ne("div",{class:Re(["v-divider__wrapper",{"v-divider__wrapper--gradient":e.gradient,"v-divider__wrapper--inset":e.inset,"v-divider__wrapper--vertical":e.vertical}])},[l,ne("div",{class:"v-divider__content",style:ze(c.value)},[r.default()]),l]):l}),{}}}),MR=Xf("v-spacer","div","VSpacer"),Bu=Symbol.for("vuetify:list");function nb(){let{filterable:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{filterable:!1};const t=Oe(Bu,{filterable:!1,hasPrepend:be(!1),updateHasPrepend:()=>null}),n={filterable:t.filterable||e,hasPrepend:be(!1),updateHasPrepend:r=>{r&&(n.hasPrepend.value=r)}};return Ct(Bu,n),t}function rb(){return Oe(Bu,null)}const pd=e=>{const t={activate:n=>{let{id:r,value:s,activated:i}=n;return r=ue(r),e&&!s&&i.size===1&&i.has(r)||(s?i.add(r):i.delete(r)),i},in:(n,r,s)=>{let i=new Set;if(n!=null)for(const o of qf(n))i=t.activate({id:o,value:!0,activated:new Set(i),children:r,parents:s});return i},out:n=>Array.from(n)};return t},sb=e=>{const t=pd(e);return{activate:r=>{let{activated:s,id:i,...o}=r;i=ue(i);const a=s.has(i)?new Set([i]):new Set;return t.activate({...o,id:i,activated:a})},in:(r,s,i)=>{let o=new Set;if(r!=null){const a=qf(r);a.length&&(o=t.in(a.slice(0,1),s,i))}return o},out:(r,s,i)=>t.out(r,s,i)}},PR=e=>{const t=pd(e);return{activate:r=>{let{id:s,activated:i,children:o,...a}=r;return s=ue(s),o.has(s)?i:t.activate({id:s,activated:i,children:o,...a})},in:t.in,out:t.out}},NR=e=>{const t=sb(e);return{activate:r=>{let{id:s,activated:i,children:o,...a}=r;return s=ue(s),o.has(s)?i:t.activate({id:s,activated:i,children:o,...a})},in:t.in,out:t.out}},LR={open:e=>{let{id:t,value:n,opened:r,parents:s}=e;if(n){const i=new Set;i.add(t);let o=s.get(t);for(;o!=null;)i.add(o),o=s.get(o);return i}else return r.delete(t),r},select:()=>null},ib={open:e=>{let{id:t,value:n,opened:r,parents:s}=e;if(n){let i=s.get(t);for(r.add(t);i!=null&&i!==t;)r.add(i),i=s.get(i);return r}else r.delete(t);return r},select:()=>null},DR={open:ib.open,select:e=>{let{id:t,value:n,opened:r,parents:s}=e;if(!n)return r;const i=[];let o=s.get(t);for(;o!=null;)i.push(o),o=s.get(o);return new Set(i)}},md=e=>{const t={select:n=>{let{id:r,value:s,selected:i}=n;if(r=ue(r),e&&!s){const o=Array.from(i.entries()).reduce((a,c)=>{let[l,u]=c;return u==="on"&&a.push(l),a},[]);if(o.length===1&&o[0]===r)return i}return i.set(r,s?"on":"off"),i},in:(n,r,s,i)=>{const o=new Map;for(const a of n||[])t.select({id:a,value:!0,selected:o,children:r,parents:s,disabled:i});return o},out:n=>{const r=[];for(const[s,i]of n.entries())i==="on"&&r.push(s);return r}};return t},ob=e=>{const t=md(e);return{select:r=>{let{selected:s,id:i,...o}=r;i=ue(i);const a=s.has(i)?new Map([[i,s.get(i)]]):new Map;return t.select({...o,id:i,selected:a})},in:(r,s,i,o)=>r!=null&&r.length?t.in(r.slice(0,1),s,i,o):new Map,out:(r,s,i)=>t.out(r,s,i)}},FR=e=>{const t=md(e);return{select:r=>{let{id:s,selected:i,children:o,...a}=r;return s=ue(s),o.has(s)?i:t.select({id:s,selected:i,children:o,...a})},in:t.in,out:t.out}},$R=e=>{const t=ob(e);return{select:r=>{let{id:s,selected:i,children:o,...a}=r;return s=ue(s),o.has(s)?i:t.select({id:s,selected:i,children:o,...a})},in:t.in,out:t.out}},ab=e=>{const t={select:n=>{let{id:r,value:s,selected:i,children:o,parents:a,disabled:c}=n;r=ue(r);const l=new Map(i),u=[r];for(;u.length;){const d=u.shift();c.has(d)||i.set(ue(d),s?"on":"off"),o.has(d)&&u.push(...o.get(d))}let f=ue(a.get(r));for(;f;){let d=!0,h=!0;for(const p of o.get(f)){const m=ue(p);if(!c.has(m)&&(i.get(m)!=="on"&&(d=!1),i.has(m)&&i.get(m)!=="off"&&(h=!1),!d&&!h))break}i.set(f,d?"on":h?"off":"indeterminate"),f=ue(a.get(f))}return e&&!s&&Array.from(i.entries()).reduce((h,p)=>{let[m,y]=p;return y==="on"&&h.push(m),h},[]).length===0?l:i},in:(n,r,s)=>{let i=new Map;for(const o of n||[])i=t.select({id:o,value:!0,selected:i,children:r,parents:s,disabled:new Set});return i},out:(n,r)=>{const s=[];for(const[i,o]of n.entries())o==="on"&&!r.has(i)&&s.push(i);return s}};return t},BR=e=>{const t=ab(e);return{select:t.select,in:t.in,out:(r,s,i)=>{const o=[];for(const[a,c]of r.entries())if(c==="on"){if(i.has(a)){const l=i.get(a);if(r.get(l)==="on")continue}o.push(a)}return o}}},si=Symbol.for("vuetify:nested"),cb={id:be(),root:{itemsRegistration:Ee("render"),register:()=>null,unregister:()=>null,updateDisabled:()=>null,children:Ee(new Map),parents:Ee(new Map),disabled:Ee(new Set),open:()=>null,openOnSelect:()=>null,activate:()=>null,select:()=>null,activatable:Ee(!1),selectable:Ee(!1),opened:Ee(new Set),activated:Ee(new Set),selected:Ee(new Map),selectedValues:Ee([]),getPath:()=>[]}},HR=ie({activatable:Boolean,selectable:Boolean,activeStrategy:[String,Function,Object],selectStrategy:[String,Function,Object],openStrategy:[String,Object],opened:null,activated:null,selected:null,mandatory:Boolean,itemsRegistration:{type:String,default:"render"}},"nested"),VR=(e,t,n)=>{let r=!1;const s=be(new Map),i=be(new Map),o=be(new Set),a=zn(e,"opened",e.opened,_=>new Set(Array.isArray(_)?_.map(T=>ue(T)):_),_=>[..._.values()]),c=U(()=>{if(typeof e.activeStrategy=="object")return e.activeStrategy;if(typeof e.activeStrategy=="function")return e.activeStrategy(e.mandatory);switch(e.activeStrategy){case"leaf":return PR(e.mandatory);case"single-leaf":return NR(e.mandatory);case"independent":return pd(e.mandatory);case"single-independent":default:return sb(e.mandatory)}}),l=U(()=>{if(typeof e.selectStrategy=="object")return e.selectStrategy;if(typeof e.selectStrategy=="function")return e.selectStrategy(e.mandatory);switch(e.selectStrategy){case"single-leaf":return $R(e.mandatory);case"leaf":return FR(e.mandatory);case"independent":return md(e.mandatory);case"single-independent":return ob(e.mandatory);case"trunk":return BR(e.mandatory);case"classic":default:return ab(e.mandatory)}}),u=U(()=>{if(typeof e.openStrategy=="object")return e.openStrategy;switch(e.openStrategy){case"list":return DR;case"single":return LR;case"multiple":default:return ib}}),f=zn(e,"activated",e.activated,_=>c.value.in(_,s.value,i.value),_=>c.value.out(_,s.value,i.value)),d=zn(e,"selected",e.selected,_=>l.value.in(_,s.value,i.value,o.value),_=>l.value.out(_,s.value,i.value));yn(()=>{r=!0});function h(_){const T=[];let O=ue(_);for(;O!==void 0;)T.unshift(O),O=i.value.get(O);return T}const p=ut("nested"),m=new Set,y=fC(()=>{dt(()=>{s.value=new Map(s.value),i.value=new Map(i.value)})},100);Se(()=>[t.value,mt(n)],()=>{e.itemsRegistration==="props"&&g()},{immediate:!0});function g(){const _=new Map,T=new Map,O=new Set,R=mt(n)?I=>ue(I.raw):I=>I.value,E=[...t.value];let w=0;for(;we.activatable),selectable:Q(()=>e.selectable),activated:f,selected:d,selectedValues:U(()=>{const _=[];for(const[T,O]of d.value.entries())O==="on"&&_.push(T);return _}),itemsRegistration:Q(()=>e.itemsRegistration),register:(_,T,O,R)=>{if(m.has(_)){h(_).map(String).join(" -> "),h(T).concat(_).map(String).join(" -> ");return}else m.add(_);T&&_!==T&&i.value.set(_,T),O&&o.value.add(_),R&&s.value.set(_,[]),T!=null&&s.value.set(T,[...s.value.get(T)||[],_]),y()},unregister:_=>{if(r)return;m.delete(_),s.value.delete(_),o.value.delete(_);const T=i.value.get(_);if(T){const O=s.value.get(T)??[];s.value.set(T,O.filter(R=>R!==_))}i.value.delete(_),y()},updateDisabled:(_,T)=>{T?o.value.add(_):o.value.delete(_)},open:(_,T,O)=>{p.emit("click:open",{id:_,value:T,path:h(_),event:O});const R=u.value.open({id:_,value:T,opened:new Set(a.value),children:s.value,parents:i.value,event:O});R&&(a.value=R)},openOnSelect:(_,T,O)=>{const R=u.value.select({id:_,value:T,selected:new Map(d.value),opened:new Set(a.value),children:s.value,parents:i.value,event:O});R&&(a.value=R)},select:(_,T,O)=>{p.emit("click:select",{id:_,value:T,path:h(_),event:O});const R=l.value.select({id:_,value:T,selected:new Map(d.value),children:s.value,parents:i.value,disabled:o.value,event:O});R&&(d.value=R),v.root.openOnSelect(_,T,O)},activate:(_,T,O)=>{if(!e.activatable)return v.root.select(_,!0,O);p.emit("click:activate",{id:_,value:T,path:h(_),event:O});const R=c.value.activate({id:_,value:T,activated:new Set(f.value),children:s.value,parents:i.value,event:O});if(R.size!==f.value.size)f.value=R;else{for(const E of R)if(!f.value.has(E)){f.value=R;return}for(const E of f.value)if(!R.has(E)){f.value=R;return}}},children:s,parents:i,disabled:o,getPath:h}};return Ct(si,v),v.root},lb=(e,t,n)=>{const r=Oe(si,cb),s=Symbol("nested item"),i=U(()=>{const a=ue(mt(e));return a!==void 0?a:s}),o={...r,id:i,open:(a,c)=>r.root.open(i.value,a,c),openOnSelect:(a,c)=>r.root.openOnSelect(i.value,a,c),isOpen:U(()=>r.root.opened.value.has(i.value)),parent:U(()=>r.root.parents.value.get(i.value)),activate:(a,c)=>r.root.activate(i.value,a,c),isActivated:U(()=>r.root.activated.value.has(i.value)),select:(a,c)=>r.root.select(i.value,a,c),isSelected:U(()=>r.root.selected.value.get(i.value)==="on"),isIndeterminate:U(()=>r.root.selected.value.get(i.value)==="indeterminate"),isLeaf:U(()=>!r.root.children.value.get(i.value)),isGroupActivator:r.isGroupActivator};return Dc(()=>{r.isGroupActivator||r.root.itemsRegistration.value==="props"||dt(()=>{r.root.register(i.value,r.id.value,mt(t),n)})}),yn(()=>{r.isGroupActivator||r.root.itemsRegistration.value==="props"||r.root.unregister(i.value)}),Se(i,(a,c)=>{r.isGroupActivator||r.root.itemsRegistration.value==="props"||(r.root.unregister(c),dt(()=>{r.root.register(a,r.id.value,mt(t),n)}))}),Se(()=>mt(t),a=>{r.root.updateDisabled(i.value,a)}),n&&Ct(si,o),o},UR=()=>{const e=Oe(si,cb);Ct(si,{...e,isGroupActivator:!0})};function WR(){const e=be(!1);return Nr(()=>{window.requestAnimationFrame(()=>{e.value=!0})}),{ssrBootStyles:Q(()=>e.value?void 0:{transition:"none !important"}),isBooted:Xs(e)}}const jR=gi({name:"VListGroupActivator",setup(e,t){let{slots:n}=t;return UR(),()=>{var r;return(r=n.default)==null?void 0:r.call(n)}}}),zR=ie({activeColor:String,baseColor:String,color:String,collapseIcon:{type:yt,default:"$collapse"},disabled:Boolean,expandIcon:{type:yt,default:"$expand"},rawId:[String,Number],prependIcon:yt,appendIcon:yt,fluid:Boolean,subgroup:Boolean,title:String,value:null,...rt(),...It()},"VListGroup"),mm=Pe()({name:"VListGroup",props:zR(),setup(e,t){let{slots:n}=t;const{isOpen:r,open:s,id:i}=lb(()=>e.value,()=>e.disabled,!0),o=U(()=>`v-list-group--id-${String(e.rawId??i.value)}`),a=rb(),{isBooted:c}=WR(),l=Oe(si),u=Q(()=>{var m;return((m=l==null?void 0:l.root)==null?void 0:m.itemsRegistration.value)==="render"});function f(m){var y;["INPUT","TEXTAREA"].includes((y=m.target)==null?void 0:y.tagName)||s(!r.value,m)}const d=U(()=>({onClick:f,class:"v-list-group__header",id:o.value})),h=U(()=>r.value?e.collapseIcon:e.expandIcon),p=U(()=>({VListItem:{activeColor:e.activeColor,baseColor:e.baseColor,color:e.color,prependIcon:e.prependIcon||e.subgroup&&h.value,appendIcon:e.appendIcon||!e.subgroup&&h.value,title:e.title,value:e.value}}));return Je(()=>F(e.tag,{class:Re(["v-list-group",{"v-list-group--prepend":a==null?void 0:a.hasPrepend.value,"v-list-group--fluid":e.fluid,"v-list-group--subgroup":e.subgroup,"v-list-group--open":r.value},e.class]),style:ze(e.style)},{default:()=>[n.activator&&F(nn,{defaults:p.value},{default:()=>[F(jR,null,{default:()=>[n.activator({props:d.value,isOpen:r.value})]})]}),F(Fs,{transition:{component:kR},disabled:!c.value},{default:()=>{var m,y;return[u.value?us(ne("div",{class:"v-list-group__items",role:"group","aria-labelledby":o.value},[(m=n.default)==null?void 0:m.call(n)]),[[Vf,r.value]]):r.value&&ne("div",{class:"v-list-group__items",role:"group","aria-labelledby":o.value},[(y=n.default)==null?void 0:y.call(n)])]}})]})),{isOpen:r}}}),qR=ie({opacity:[Number,String],...rt(),...It()},"VListItemSubtitle"),ub=Pe()({name:"VListItemSubtitle",props:qR(),setup(e,t){let{slots:n}=t;return Je(()=>F(e.tag,{class:Re(["v-list-item-subtitle",e.class]),style:ze([{"--v-list-item-subtitle-opacity":e.opacity},e.style])},n)),{}}}),fb=Xf("v-list-item-title"),GR=ie({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:yt,baseColor:String,disabled:Boolean,lines:[Boolean,String],link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:yt,ripple:{type:[Boolean,Object],default:!0},slim:Boolean,prependGap:[Number,String],subtitle:{type:[String,Number,Boolean],default:void 0},title:{type:[String,Number,Boolean],default:void 0},value:null,onClick:Ji(),onClickOnce:Ji(),...vi(),...rt(),...vs(),...Si(),...$o(),...ar(),...ud(),...It(),...Yt(),..._s({variant:"text"})},"VListItem"),Hu=Pe()({name:"VListItem",directives:{vRipple:wo},props:GR(),emits:{click:e=>!0},setup(e,t){let{attrs:n,slots:r,emit:s}=t;const i=ld(e,n),o=U(()=>e.value===void 0?i.href.value:e.value),{activate:a,isActivated:c,select:l,isOpen:u,isSelected:f,isIndeterminate:d,isGroupActivator:h,root:p,parent:m,openOnSelect:y,id:g}=lb(o,()=>e.disabled,!1),v=rb(),_=U(()=>{var C;return e.active!==!1&&(e.active||((C=i.isActive)==null?void 0:C.value)||(p.activatable.value?c.value:f.value))}),T=Q(()=>e.link!==!1&&i.isLink.value),O=U(()=>!!v&&(p.selectable.value||p.activatable.value||e.value!=null)),R=U(()=>!e.disabled&&e.link!==!1&&(e.link||i.isClickable.value||O.value)),E=U(()=>v?T.value?"link":O.value?"option":"listitem":void 0),w=U(()=>{if(O.value)return p.activatable.value?c.value:p.selectable.value?f.value:_.value}),I=Q(()=>e.rounded||e.nav),A=Q(()=>e.color??e.activeColor),M=Q(()=>({color:_.value?A.value??e.baseColor:e.baseColor,variant:e.variant}));Se(()=>{var C;return(C=i.isActive)==null?void 0:C.value},C=>{C&&x()}),Dc(()=>{var C;(C=i.isActive)!=null&&C.value&&dt(()=>x())});function x(){m.value!=null&&p.open(m.value,!0),y(!0)}const{themeClasses:N}=cn(e),{borderClasses:L}=_i(e),{colorClasses:G,colorStyles:J,variantClasses:j}=Vo(M),{densityClasses:D}=bi(e),{dimensionStyles:ae}=Ei(e),{elevationClasses:q}=Bo(e),{roundedClasses:ce}=cr(I),le=Q(()=>e.lines?`v-list-item--${e.lines}-line`:void 0),ve=Q(()=>e.ripple!==void 0&&e.ripple&&(v!=null&&v.filterable)?{keys:["Enter"]}:e.ripple),Me=U(()=>({isActive:_.value,select:l,isOpen:u.value,isSelected:f.value,isIndeterminate:d.value}));function Fe(C){var W,z;s("click",C),!["INPUT","TEXTAREA"].includes((W=C.target)==null?void 0:W.tagName)&&R.value&&((z=i.navigate)==null||z.call(i,C),!h&&(p.activatable.value?a(!c.value,C):(p.selectable.value||e.value!=null&&!T.value)&&l(!f.value,C)))}function Ge(C){const W=C.target;["INPUT","TEXTAREA"].includes(W.tagName)||(C.key==="Enter"||C.key===" "&&!(v!=null&&v.filterable))&&(C.preventDefault(),C.stopPropagation(),C.target.dispatchEvent(new MouseEvent("click",C)))}return Je(()=>{const C=T.value?"a":e.tag,W=r.title||e.title!=null,z=r.subtitle||e.subtitle!=null,re=!!(e.appendAvatar||e.appendIcon),_e=!!(re||r.append),b=!!(e.prependAvatar||e.prependIcon),S=!!(b||r.prepend);return v==null||v.updateHasPrepend(S),e.activeColor&&kv("active-color",["color","base-color"]),us(F(C,Ye(i.linkProps,{class:["v-list-item",{"v-list-item--active":_.value,"v-list-item--disabled":e.disabled,"v-list-item--link":R.value,"v-list-item--nav":e.nav,"v-list-item--slim":e.slim,[`${e.activeClass}`]:e.activeClass&&_.value},N.value,L.value,G.value,D.value,q.value,le.value,ce.value,j.value,e.class],style:[{"--v-list-prepend-gap":pe(e.prependGap)},J.value,ae.value,e.style],tabindex:R.value?v?-2:0:void 0,"aria-selected":w.value,role:E.value,onClick:Fe,onKeydown:R.value&&!T.value&&Ge}),{default:()=>{var k;return[Ho(R.value||_.value,"v-list-item"),S&&ne("div",{key:"prepend",class:"v-list-item__prepend"},[r.prepend?F(nn,{key:"prepend-defaults",disabled:!b,defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var P;return[(P=r.prepend)==null?void 0:P.call(r,Me.value)]}}):ne(Ke,null,[e.prependAvatar&&F(ac,{key:"prepend-avatar",density:e.density,image:e.prependAvatar},null),e.prependIcon&&F(Mn,{key:"prepend-icon",density:e.density,icon:e.prependIcon},null)]),ne("div",{class:"v-list-item__spacer"},null)]),ne("div",{class:"v-list-item__content","data-no-activator":""},[W&&F(fb,{key:"title"},{default:()=>{var P;return[((P=r.title)==null?void 0:P.call(r,{title:e.title}))??dn(e.title)]}}),z&&F(ub,{key:"subtitle"},{default:()=>{var P;return[((P=r.subtitle)==null?void 0:P.call(r,{subtitle:e.subtitle}))??dn(e.subtitle)]}}),(k=r.default)==null?void 0:k.call(r,Me.value)]),_e&&ne("div",{key:"append",class:"v-list-item__append"},[r.append?F(nn,{key:"append-defaults",disabled:!re,defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var P;return[(P=r.append)==null?void 0:P.call(r,Me.value)]}}):ne(Ke,null,[e.appendIcon&&F(Mn,{key:"append-icon",density:e.density,icon:e.appendIcon},null),e.appendAvatar&&F(ac,{key:"append-avatar",density:e.density,image:e.appendAvatar},null)]),ne("div",{class:"v-list-item__spacer"},null)])]}}),[[wo,R.value&&ve.value]])}),{activate:a,isActivated:c,isGroupActivator:h,isSelected:f,list:v,select:l,root:p,id:g,link:i}}}),KR=ie({color:String,inset:Boolean,sticky:Boolean,title:String,...rt(),...It()},"VListSubheader"),YR=Pe()({name:"VListSubheader",props:KR(),setup(e,t){let{slots:n}=t;const{textColorClasses:r,textColorStyles:s}=ri(()=>e.color);return Je(()=>{const i=!!(n.default||e.title);return F(e.tag,{class:Re(["v-list-subheader",{"v-list-subheader--inset":e.inset,"v-list-subheader--sticky":e.sticky},r.value,e.class]),style:ze([{textColorStyles:s},e.style])},{default:()=>{var o;return[i&&ne("div",{class:"v-list-subheader__text"},[((o=n.default)==null?void 0:o.call(n))??e.title])]}})}),{}}}),XR=ie({items:Array,returnObject:Boolean},"VListChildren"),db=Pe()({name:"VListChildren",props:XR(),setup(e,t){let{slots:n}=t;return nb(),()=>{var r,s;return((r=n.default)==null?void 0:r.call(n))??((s=e.items)==null?void 0:s.map(i=>{var d,h;let{children:o,props:a,type:c,raw:l}=i;if(c==="divider")return((d=n.divider)==null?void 0:d.call(n,{props:a}))??F(tb,a,null);if(c==="subheader")return((h=n.subheader)==null?void 0:h.call(n,{props:a}))??F(YR,a,null);const u={subtitle:n.subtitle?p=>{var m;return(m=n.subtitle)==null?void 0:m.call(n,{...p,item:l})}:void 0,prepend:n.prepend?p=>{var m;return(m=n.prepend)==null?void 0:m.call(n,{...p,item:l})}:void 0,append:n.append?p=>{var m;return(m=n.append)==null?void 0:m.call(n,{...p,item:l})}:void 0,title:n.title?p=>{var m;return(m=n.title)==null?void 0:m.call(n,{...p,item:l})}:void 0},f=mm.filterProps(a);return o?F(mm,Ye(f,{value:e.returnObject?l:a==null?void 0:a.value,rawId:a==null?void 0:a.value}),{activator:p=>{let{props:m}=p;const y=Ye(a,m,{value:e.returnObject?l:a.value});return n.header?n.header({props:y}):F(Hu,y,u)},default:()=>F(db,{items:o,returnObject:e.returnObject},n)}):n.item?n.item({props:a}):F(Hu,Ye(a,{value:e.returnObject?l:a.value}),u)}))}}}),JR=ie({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},itemType:{type:[Boolean,String,Array,Function],default:"type"},returnObject:Boolean,valueComparator:Function},"list-items"),ZR=new Set(["item","divider","subheader"]);function Ks(e,t){const n=kn(t,e.itemTitle,t),r=kn(t,e.itemValue,n),s=kn(t,e.itemChildren),i=e.itemProps===!0?typeof t=="object"&&t!=null&&!Array.isArray(t)?"children"in t?ys(t,["children"]):t:void 0:kn(t,e.itemProps);let o=kn(t,e.itemType,"item");ZR.has(o)||(o="item");const a={title:n,value:r,...i};return{type:o,title:String(a.title??""),value:a.value,props:a,children:o==="item"&&Array.isArray(s)?hb(e,s):void 0,raw:t}}Ks.neededProps=["itemTitle","itemValue","itemChildren","itemProps","itemType"];function hb(e,t){const n=zf(e,Ks.neededProps),r=[];for(const s of t)r.push(Ks(n,s));return r}function LH(e){const t=U(()=>hb(e,e.items)),n=U(()=>t.value.some(a=>a.value===null)),r=be(new Map),s=be([]);on(()=>{const a=t.value,c=new Map,l=[];for(let u=0;u{let{raw:l}=c;return l}):a.map(c=>{let{value:l}=c;return l})}return{items:t,transformIn:i,transformOut:o}}const QR=new Set(["item","divider","subheader"]);function eA(e,t){const n=ds(t)?t:kn(t,e.itemTitle),r=ds(t)?t:kn(t,e.itemValue,void 0),s=kn(t,e.itemChildren),i=e.itemProps===!0?ys(t,["children"]):kn(t,e.itemProps);let o=kn(t,e.itemType,"item");QR.has(o)||(o="item");const a={title:n,value:r,...i};return{type:o,title:a.title,value:a.value,props:a,children:o==="item"&&s?pb(e,s):void 0,raw:t}}function pb(e,t){const n=[];for(const r of t)n.push(eA(e,r));return n}function tA(e){return{items:U(()=>pb(e,e.items))}}const nA=ie({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,filterable:Boolean,expandIcon:yt,collapseIcon:yt,lines:{type:[Boolean,String],default:"one"},slim:Boolean,prependGap:[Number,String],indent:[Number,String],nav:Boolean,"onClick:open":Ji(),"onClick:select":Ji(),"onUpdate:opened":Ji(),...HR({selectStrategy:"single-leaf",openStrategy:"list"}),...vi(),...rt(),...vs(),...Si(),...$o(),...JR(),...ar(),...It(),...Yt(),..._s({variant:"text"})},"VList"),rA=Pe()({name:"VList",props:nA(),emits:{"update:selected":e=>!0,"update:activated":e=>!0,"update:opened":e=>!0,"click:open":e=>!0,"click:activate":e=>!0,"click:select":e=>!0},setup(e,t){let{slots:n}=t;const{items:r}=tA(e),{themeClasses:s}=cn(e),{backgroundColorClasses:i,backgroundColorStyles:o}=Gs(()=>e.bgColor),{borderClasses:a}=_i(e),{densityClasses:c}=bi(e),{dimensionStyles:l}=Ei(e),{elevationClasses:u}=Bo(e),{roundedClasses:f}=cr(e),{children:d,open:h,parents:p,select:m,getPath:y}=VR(e,r,()=>e.returnObject),g=Q(()=>e.lines?`v-list--${e.lines}-line`:void 0),v=Q(()=>e.activeColor),_=Q(()=>e.baseColor),T=Q(()=>e.color),O=Q(()=>e.selectable||e.activatable);nb({filterable:e.filterable}),Bc({VListGroup:{activeColor:v,baseColor:_,color:T,expandIcon:Q(()=>e.expandIcon),collapseIcon:Q(()=>e.collapseIcon)},VListItem:{activeClass:Q(()=>e.activeClass),activeColor:v,baseColor:_,color:T,density:Q(()=>e.density),disabled:Q(()=>e.disabled),lines:Q(()=>e.lines),nav:Q(()=>e.nav),slim:Q(()=>e.slim),variant:Q(()=>e.variant)}});const R=be(!1),E=Ee();function w(L){R.value=!0}function I(L){R.value=!1}function A(L){var G;!R.value&&!(L.relatedTarget&&((G=E.value)!=null&&G.contains(L.relatedTarget)))&&N()}function M(L){const G=L.target;if(!(!E.value||G.tagName==="INPUT"&&["Home","End"].includes(L.key)||G.tagName==="TEXTAREA")){if(L.key==="ArrowDown")N("next");else if(L.key==="ArrowUp")N("prev");else if(L.key==="Home")N("first");else if(L.key==="End")N("last");else return;L.preventDefault()}}function x(L){R.value=!0}function N(L){if(E.value)return Dv(E.value,L)}return Je(()=>{const L=e.indent??(e.prependGap?Number(e.prependGap)+24:void 0);return F(e.tag,{ref:E,class:Re(["v-list",{"v-list--disabled":e.disabled,"v-list--nav":e.nav,"v-list--slim":e.slim},s.value,i.value,a.value,c.value,u.value,g.value,f.value,e.class]),style:ze([{"--v-list-indent":pe(L),"--v-list-group-prepend":L?"0px":void 0,"--v-list-prepend-gap":pe(e.prependGap)},o.value,l.value,e.style]),tabindex:e.disabled?-1:0,role:O.value?"listbox":"list","aria-activedescendant":void 0,onFocusin:w,onFocusout:I,onFocus:A,onKeydown:M,onMousedown:x},{default:()=>[F(db,{items:r.value,returnObject:e.returnObject},n)]})}),{open:h,select:m,focus:N,children:d,parents:p,getPath:y}}});let Vu=null;const mb={name:"RateLimitModal",data(){return{isVisible:!1,activeRequests:[]}},computed:{hasActiveRequests(){return this.activeRequests.length>0}},watch:{hasActiveRequests(e){this.isVisible=e}},methods:{close(){this.isVisible=!1},show(e,t,n){const r=Date.now()+Math.random().toString(36).substring(2,9),s=Math.max(0,Math.floor((new Date(e)-new Date)/1e3)),i={id:r,resetTime:e,path:t,method:n,remainingSeconds:s};this.activeRequests.push(i),this.startCountdown(r),this.isVisible=!0},startCountdown(e){const t=this.activeRequests.find(r=>r.id===e);if(!t)return;const n=setInterval(()=>{const r=this.activeRequests.findIndex(s=>s.id===e);if(r===-1){clearInterval(n);return}this.activeRequests[r].remainingSeconds--,this.activeRequests[r].remainingSeconds<=0&&(clearInterval(n),this.activeRequests.splice(r,1))},1e3);t.intervalId=n},clearAllCountdowns(){this.activeRequests.forEach(e=>{e.intervalId&&clearInterval(e.intervalId)}),this.activeRequests=[]}},beforeUnmount(){this.clearAllCountdowns()},created(){Vu=this}};mb.show=function(e,t,n){Vu&&Vu.show(e,t,n)};const sA=mb,iA={class:"text-primary font-weight-bold"};function oA(e,t,n,r,s,i){return en(),xn(RR,{modelValue:e.isVisible,"onUpdate:modelValue":t[0]||(t[0]=o=>e.isVisible=o),"max-width":"500",persistent:""},{default:ft(()=>[F(dm,{class:"rate-limit-modal"},{default:ft(()=>[F(Y_,{class:"text-center pa-4 bg-error text-white"},{default:ft(()=>[F(Mn,{class:"mr-2",icon:"mdi-clock-alert-outline",size:"large"}),t[1]||(t[1]=Wi(" 请求频率超限 ",-1))]),_:1}),F($u,{class:"pa-6"},{default:ft(()=>[t[3]||(t[3]=ne("div",{class:"text-body-1 mb-4"},"您的请求过于频繁,请稍后再试。",-1)),e.activeRequests.length>0?(en(),xn(dm,{key:0,class:"mb-4",flat:""},{default:ft(()=>[F($u,null,{default:ft(()=>[(en(!0),mv(Ke,null,Z0(e.activeRequests,(o,a)=>(en(),xn(rA,{key:a,class:"mb-4"},{default:ft(()=>[F(Hu,{color:"primary","prepend-icon":"mdi-web"},{default:ft(()=>[F(fb,null,{default:ft(()=>[t[2]||(t[2]=Wi(" 等待时间: ",-1)),ne("span",iA,dn(o.remainingSeconds),1)]),_:2},1024),F(ub,null,{default:ft(()=>[Wi(dn(o.method)+" "+dn(o.path),1)]),_:2},1024)]),_:2},1024)]),_:2},1024))),128)),e.index[F(MR),F(B_,{color:"primary",variant:"tonal",onClick:e.close},{default:ft(()=>[...t[5]||(t[5]=[Wi(" 我知道了",-1)])]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"])}const aA=T_(sA,[["render",oA]]),cA=ie({...rt(),...ys(EI(),["fullHeight"]),...Yt()},"VApp"),lA=Pe()({name:"VApp",props:cA(),setup(e,t){let{slots:n}=t;const r=cn(e),{layoutClasses:s,getLayoutItem:i,items:o,layoutRef:a}=CI({...e,fullHeight:!0}),{rtlClasses:c}=Do();return Je(()=>{var l;return ne("div",{ref:a,class:Re(["v-application",r.themeClasses.value,s.value,c.value,e.class]),style:ze([e.style])},[ne("div",{class:"v-application__wrap"},[(l=n.default)==null?void 0:l.call(n)])])}),{getLayoutItem:i,items:o,theme:r}}}),uA={__name:"App",setup(e){const t=s_();return Nr(()=>{const n=sd("theme.mode");t.global.name.value=n,window.addEventListener("beforeinstallprompt",r=>{r.preventDefault(),window.deferredPwaPrompt=r,window.dispatchEvent(new Event("pwa-prompt-ready"))})}),(n,r)=>{const s=J0("router-view"),i=G_;return en(),xn(lA,null,{default:ft(()=>[F(s,null,{default:ft(({Component:o,route:a})=>[F(xr,{mode:"out-in",name:"md3"},{default:ft(()=>[(en(),xn(Xy(o),{key:a.path}))]),_:2},1024)]),_:1}),F(i),F(aA)]),_:1})}}};let Hl;const gm=e=>({get:async()=>({visitorId:"unknown",error:(e==null?void 0:e.message)||String(e||""),fallback:!0})}),fA=async()=>{try{const e=await ht(()=>import("./fp.esm-HJFDfcHo.js"),[],import.meta.url);return(e==null?void 0:e.default)||e}catch(e){return console.warn("Fingerprint library blocked or failed to load; using fallback agent.",e),null}},gb=()=>(Hl||(Hl=(async()=>{const e=await fA();if(!e)return gm(new Error("fingerprint module unavailable"));try{return await e.load()}catch(t){return console.warn("FingerprintJS.load failed, using fallback agent.",t),gm(t)}})()),Hl),dA=async()=>{const t=await(await gb()).get();return(t==null?void 0:t.visitorId)||"unknown"},DH=async()=>await(await gb()).get(),oe=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Ce=globalThis,is="10.36.0";function bs(){return Kc(Ce),Ce}function Kc(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||is,t[is]=t[is]||{}}function wi(e,t,n=Ce){const r=n.__SENTRY__=n.__SENTRY__||{},s=r[is]=r[is]||{};return s[e]||(s[e]=t())}const hA=["debug","info","warn","error","log","assert","trace"],pA="Sentry Logger ",cc={};function lr(e){if(!("console"in Ce))return e();const t=Ce.console,n={},r=Object.keys(cc);r.forEach(s=>{const i=cc[s];n[s]=t[s],t[s]=i});try{return e()}finally{r.forEach(s=>{t[s]=n[s]})}}function mA(){yd().enabled=!0}function gA(){yd().enabled=!1}function yb(){return yd().enabled}function yA(...e){gd("log",...e)}function vA(...e){gd("warn",...e)}function _A(...e){gd("error",...e)}function gd(e,...t){oe&&yb()&&lr(()=>{Ce.console[e](`${pA}[${e}]:`,...t)})}function yd(){return oe?wi("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const X={enable:mA,disable:gA,isEnabled:yb,log:yA,warn:vA,error:_A},vb=50,hs="?",ym=/\(error: (.*)\)/,vm=/captureMessage|captureException/;function _b(...e){const t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0,s=0)=>{const i=[],o=n.split(` `);for(let a=r;a1024&&(c=c.slice(0,1024));const l=ym.test(c)?c.replace(ym,"$1"):c;if(!l.match(/\S*Error: /)){for(const u of t){const f=u(l);if(f){i.push(f);break}}if(i.length>=vb+s)break}}return SA(i.slice(s))}}function bA(e){return Array.isArray(e)?_b(...e):e}function SA(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(fa(t).function||"")&&t.pop(),t.reverse(),vm.test(fa(t).function||"")&&(t.pop(),vm.test(fa(t).function||"")&&t.pop()),t.slice(0,vb).map(n=>({...n,filename:n.filename||fa(t).filename,function:n.function||hs}))}function fa(e){return e[e.length-1]||{}}const Vl="";function er(e){try{return!e||typeof e!="function"?Vl:e.name||Vl}catch{return Vl}}function _m(e){const t=e.exception;if(t){const n=[];try{return t.values.forEach(r=>{r.stacktrace.frames&&n.push(...r.stacktrace.frames)}),n}catch{return}}}function bb(e){return"__v_isVNode"in e&&e.__v_isVNode?"[VueVNode]":"[VueViewModel]"}const Aa={},bm={};function $r(e,t){Aa[e]=Aa[e]||[],Aa[e].push(t)}function Br(e,t){if(!bm[e]){bm[e]=!0;try{t()}catch(n){oe&&X.error(`Error while instrumenting ${e}`,n)}}}function rn(e,t){const n=e&&Aa[e];if(n)for(const r of n)try{r(t)}catch(s){oe&&X.error(`Error while triggering instrumentation handler. Type: ${e} Name: ${er(r)} Error:`,s)}}let Ul=null;function Sb(e){const t="error";$r(t,e),Br(t,EA)}function EA(){Ul=Ce.onerror,Ce.onerror=function(e,t,n,r,s){return rn("error",{column:r,error:s,line:n,msg:e,url:t}),Ul?Ul.apply(this,arguments):!1},Ce.onerror.__SENTRY_INSTRUMENTED__=!0}let Wl=null;function Eb(e){const t="unhandledrejection";$r(t,e),Br(t,wA)}function wA(){Wl=Ce.onunhandledrejection,Ce.onunhandledrejection=function(e){return rn("unhandledrejection",e),Wl?Wl.apply(this,arguments):!0},Ce.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const wb=Object.prototype.toString;function Yc(e){switch(wb.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return tr(e,Error)}}function Ti(e,t){return wb.call(e)===`[object ${t}]`}function Tb(e){return Ti(e,"ErrorEvent")}function Sm(e){return Ti(e,"DOMError")}function TA(e){return Ti(e,"DOMException")}function qn(e){return Ti(e,"String")}function vd(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function ii(e){return e===null||vd(e)||typeof e!="object"&&typeof e!="function"}function To(e){return Ti(e,"Object")}function Xc(e){return typeof Event<"u"&&tr(e,Event)}function CA(e){return typeof Element<"u"&&tr(e,Element)}function IA(e){return Ti(e,"RegExp")}function Ci(e){return!!(e!=null&&e.then&&typeof e.then=="function")}function kA(e){return To(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function tr(e,t){try{return e instanceof t}catch{return!1}}function Cb(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue||e.__v_isVNode))}function _d(e){return typeof Request<"u"&&tr(e,Request)}const bd=Ce,xA=80;function Ht(e,t={}){if(!e)return"";try{let n=e;const r=5,s=[];let i=0,o=0;const a=" > ",c=a.length;let l;const u=Array.isArray(t)?t:t.keyAttrs,f=!Array.isArray(t)&&t.maxStringLength||xA;for(;n&&i++1&&o+s.length*c+l.length>=f));)s.push(l),o+=l.length,n=n.parentNode;return s.reverse().join(a)}catch{return""}}function RA(e,t){const n=e,r=[];if(!(n!=null&&n.tagName))return"";if(bd.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());const s=t!=null&&t.length?t.filter(o=>n.getAttribute(o)).map(o=>[o,n.getAttribute(o)]):null;if(s!=null&&s.length)s.forEach(o=>{r.push(`[${o[0]}="${o[1]}"]`)});else{n.id&&r.push(`#${n.id}`);const o=n.className;if(o&&qn(o)){const a=o.split(/\s+/);for(const c of a)r.push(`.${c}`)}}const i=["aria-label","type","name","title","alt"];for(const o of i){const a=n.getAttribute(o);a&&r.push(`[${o}="${a}"]`)}return r.join("")}function Ii(){try{return bd.document.location.href}catch{return""}}function Ib(e){if(!bd.HTMLElement)return null;let t=e;const n=5;for(let r=0;r"}}function wm(e){if(typeof e=="object"&&e!==null){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function AA(e){const t=Object.keys(xb(e));return t.sort(),t[0]?t.join(", "):"[object has no keys]"}let ks;function Uo(e){if(ks!==void 0)return ks?ks(e):e();const t=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),n=Ce;return t in n&&typeof n[t]=="function"?(ks=n[t],ks(e)):(ks=null,e())}function wr(){return Uo(()=>Math.random())}function Wo(){return Uo(()=>Date.now())}function Uu(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function Tm(e,t){if(!Array.isArray(e))return"";const n=[];for(let r=0;rOa(e,r,n))}function OA(){const e=Ce;return e.crypto||e.msCrypto}let jl;function MA(){return wr()*16}function Kt(e=OA()){try{if(e!=null&&e.randomUUID)return Uo(()=>e.randomUUID()).replace(/-/g,"")}catch{}return jl||(jl="10000000100040008000"+1e11),jl.replace(/[018]/g,t=>(t^(MA()&15)>>t/4).toString(16))}function Rb(e){var t,n;return(n=(t=e.exception)==null?void 0:t.values)==null?void 0:n[0]}function Xr(e){const{message:t,event_id:n}=e;if(t)return t;const r=Rb(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"":n||""}function Wu(e,t,n){const r=e.exception=e.exception||{},s=r.values=r.values||[],i=s[0]=s[0]||{};i.value||(i.value=t||""),i.type||(i.type="Error")}function oi(e,t){const n=Rb(e);if(!n)return;const r={type:"generic",handled:!0},s=n.mechanism;if(n.mechanism={...r,...s,...t},t&&"data"in t){const i={...s==null?void 0:s.data,...t.data};n.mechanism.data=i}}function Cm(e){if(PA(e))return!0;try{Vt(e,"__sentry_captured__",!0)}catch{}return!1}function PA(e){try{return e.__sentry_captured__}catch{}}const Ab=1e3;function Ss(){return Wo()/Ab}function NA(){const{performance:e}=Ce;if(!(e!=null&&e.now)||!e.timeOrigin)return Ss;const t=e.timeOrigin;return()=>(t+Uo(()=>e.now()))/Ab}let Im;function st(){return(Im??(Im=NA()))()}let zl=null;function LA(){var o;const{performance:e}=Ce;if(!(e!=null&&e.now))return;const t=3e5,n=Uo(()=>e.now()),r=Wo(),s=e.timeOrigin;if(typeof s=="number"&&Math.abs(s+n-r)$A(n)};return e&&ai(n,e),n}function ai(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||st(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:Kt()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{const n=e.timestamp-e.started;e.duration=n>=0?n:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function FA(e,t){let n={};e.status==="ok"&&(n={status:"exited"}),ai(e,n)}function $A(e){return{sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}function jo(e,t,n=2){if(!t||typeof t!="object"||n<=0)return t;if(e&&Object.keys(t).length===0)return e;const r={...e};for(const s in t)Object.prototype.hasOwnProperty.call(t,s)&&(r[s]=jo(r[s],t[s],n-1));return r}function nr(){return Kt()}function Kn(){return Kt().substring(16)}const ju="_sentrySpan";function ci(e,t){t?Vt(e,ju,t):delete e[ju]}function lc(e){return e[ju]}const BA=100;class Pn{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:nr(),sampleRand:wr()}}clone(){const t=new Pn;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._attributes={...this._attributes},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,ci(t,lc(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&ai(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,n){return this.setTags({[t]:n})}setAttributes(t){return this._attributes={...this._attributes,...t},this._notifyScopeListeners(),this}setAttribute(t,n){return this.setAttributes({[t]:n})}removeAttribute(t){return t in this._attributes&&(delete this._attributes[t],this._notifyScopeListeners()),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,n){return this._extra={...this._extra,[t]:n},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,n){return n===null?delete this._contexts[t]:this._contexts[t]=n,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;const n=typeof t=="function"?t(this):t,r=n instanceof Pn?n.getScopeData():To(n)?t:void 0,{tags:s,attributes:i,extra:o,user:a,contexts:c,level:l,fingerprint:u=[],propagationContext:f}=r||{};return this._tags={...this._tags,...s},this._attributes={...this._attributes,...i},this._extra={...this._extra,...o},this._contexts={...this._contexts,...c},a&&Object.keys(a).length&&(this._user=a),l&&(this._level=l),u.length&&(this._fingerprint=u),f&&(this._propagationContext=f),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,ci(this,void 0),this._attachments=[],this.setPropagationContext({traceId:nr(),sampleRand:wr()}),this._notifyScopeListeners(),this}addBreadcrumb(t,n){var i;const r=typeof n=="number"?n:BA;if(r<=0)return this;const s={timestamp:Ss(),...t,message:t.message?Uu(t.message,2048):t.message};return this._breadcrumbs.push(s),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r),(i=this._client)==null||i.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:lc(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=jo(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,n){const r=(n==null?void 0:n.event_id)||Kt();if(!this._client)return oe&&X.warn("No client configured on scope - will not capture exception!"),r;const s=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:s,...n,event_id:r},this),r}captureMessage(t,n,r){const s=(r==null?void 0:r.event_id)||Kt();if(!this._client)return oe&&X.warn("No client configured on scope - will not capture message!"),s;const i=(r==null?void 0:r.syntheticException)??new Error(t);return this._client.captureMessage(t,n,{originalException:t,syntheticException:i,...r,event_id:s},this),s}captureEvent(t,n){const r=(n==null?void 0:n.event_id)||Kt();return this._client?(this._client.captureEvent(t,{...n,event_id:r},this),r):(oe&&X.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}}function HA(){return wi("defaultCurrentScope",()=>new Pn)}function VA(){return wi("defaultIsolationScope",()=>new Pn)}class UA{constructor(t,n){let r;t?r=t:r=new Pn;let s;n?s=n:s=new Pn,this._stack=[{scope:r}],this._isolationScope=s}withScope(t){const n=this._pushScope();let r;try{r=t(n)}catch(s){throw this._popScope(),s}return Ci(r)?r.then(s=>(this._popScope(),s),s=>{throw this._popScope(),s}):(this._popScope(),r)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}}function li(){const e=bs(),t=Kc(e);return t.stack=t.stack||new UA(HA(),VA())}function WA(e){return li().withScope(e)}function jA(e,t){const n=li();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function km(e){return li().withScope(()=>e(li().getIsolationScope()))}function zA(){return{withIsolationScope:km,withScope:WA,withSetScope:jA,withSetIsolationScope:(e,t)=>km(t),getCurrentScope:()=>li().getScope(),getIsolationScope:()=>li().getIsolationScope()}}function ki(e){const t=Kc(e);return t.acs?t.acs:zA()}function De(){const e=bs();return ki(e).getCurrentScope()}function Nn(){const e=bs();return ki(e).getIsolationScope()}function qA(){return wi("globalScope",()=>new Pn)}function Jc(...e){const t=bs(),n=ki(t);if(e.length===2){const[r,s]=e;return r?n.withSetScope(r,s):n.withScope(s)}return n.withScope(e[0])}function Ie(){return De().getClient()}function GA(e){const t=e.getPropagationContext(),{traceId:n,parentSpanId:r,propagationSpanId:s}=t,i={trace_id:n,span_id:s||Kn()};return r&&(i.parent_span_id=r),i}const Bt="sentry.source",Ed="sentry.sample_rate",Ob="sentry.previous_trace_sample_rate",rr="sentry.op",Qe="sentry.origin",Co="sentry.idle_span_finish_reason",zo="sentry.measurement_unit",qo="sentry.measurement_value",xm="sentry.custom_span_name",wd="sentry.profile_id",xi="sentry.exclusive_time",KA="sentry.link.type",YA=0,Td=1,ct=2;function XA(e){if(e<400&&e>=100)return{code:Td};if(e>=400&&e<500)switch(e){case 401:return{code:ct,message:"unauthenticated"};case 403:return{code:ct,message:"permission_denied"};case 404:return{code:ct,message:"not_found"};case 409:return{code:ct,message:"already_exists"};case 413:return{code:ct,message:"failed_precondition"};case 429:return{code:ct,message:"resource_exhausted"};case 499:return{code:ct,message:"cancelled"};default:return{code:ct,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:ct,message:"unimplemented"};case 503:return{code:ct,message:"unavailable"};case 504:return{code:ct,message:"deadline_exceeded"};default:return{code:ct,message:"internal_error"}}return{code:ct,message:"internal_error"}}function Mb(e,t){e.setAttribute("http.response.status_code",t);const n=XA(t);n.message!=="unknown_error"&&e.setStatus(n)}const Pb="_sentryScope",Nb="_sentryIsolationScope";function JA(e){try{const t=Ce.WeakRef;if(typeof t=="function")return new t(e)}catch{}return e}function ZA(e){if(e){if(typeof e=="object"&&"deref"in e&&typeof e.deref=="function")try{return e.deref()}catch{return}return e}}function QA(e,t,n){e&&(Vt(e,Nb,JA(n)),Vt(e,Pb,t))}function uc(e){const t=e;return{scope:t[Pb],isolationScope:ZA(t[Nb])}}const Cd="sentry-",e1=/^sentry-/,t1=8192;function Lb(e){const t=r1(e);if(!t)return;const n=Object.entries(t).reduce((r,[s,i])=>{if(s.match(e1)){const o=s.slice(Cd.length);r[o]=i}return r},{});if(Object.keys(n).length>0)return n}function n1(e){if(!e)return;const t=Object.entries(e).reduce((n,[r,s])=>(s&&(n[`${Cd}${r}`]=s),n),{});return s1(t)}function r1(e){if(!(!e||!qn(e)&&!Array.isArray(e)))return Array.isArray(e)?e.reduce((t,n)=>{const r=Rm(n);return Object.entries(r).forEach(([s,i])=>{t[s]=i}),t},{}):Rm(e)}function Rm(e){return e.split(",").map(t=>{const n=t.indexOf("=");if(n===-1)return[];const r=t.slice(0,n),s=t.slice(n+1);return[r,s].map(i=>{try{return decodeURIComponent(i.trim())}catch{return}})}).reduce((t,[n,r])=>(n&&r&&(t[n]=r),t),{})}function s1(e){if(Object.keys(e).length!==0)return Object.entries(e).reduce((t,[n,r],s)=>{const i=`${encodeURIComponent(n)}=${encodeURIComponent(r)}`,o=s===0?i:`${t},${i}`;return o.length>t1?(oe&&X.warn(`Not adding key: ${n} with val: ${r} to baggage header due to exceeding baggage size limits.`),t):o},"")}const i1=/^o(\d+)\./,o1=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function a1(e){return e==="http"||e==="https"}function Ri(e,t=!1){const{host:n,path:r,pass:s,port:i,projectId:o,protocol:a,publicKey:c}=e;return`${a}://${c}${t&&s?`:${s}`:""}@${n}${i?`:${i}`:""}/${r&&`${r}/`}${o}`}function c1(e){const t=o1.exec(e);if(!t){lr(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}const[n,r,s="",i="",o="",a=""]=t.slice(1);let c="",l=a;const u=l.split("/");if(u.length>1&&(c=u.slice(0,-1).join("/"),l=u.pop()),l){const f=l.match(/^\d+/);f&&(l=f[0])}return Db({host:i,pass:s,path:c,projectId:l,port:o,protocol:n,publicKey:r})}function Db(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function l1(e){if(!oe)return!0;const{port:t,projectId:n,protocol:r}=e;return["protocol","publicKey","host","projectId"].find(o=>e[o]?!1:(X.error(`Invalid Sentry Dsn: ${o} missing`),!0))?!1:n.match(/^\d+$/)?a1(r)?t&&isNaN(parseInt(t,10))?(X.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(X.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(X.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function u1(e){const t=e.match(i1);return t==null?void 0:t[1]}function f1(e){const t=e.getOptions(),{host:n}=e.getDsn()||{};let r;return t.orgId?r=String(t.orgId):n&&(r=u1(n)),r}function d1(e){const t=typeof e=="string"?c1(e):Db(e);if(!(!t||!l1(t)))return t}function ps(e){if(typeof e=="boolean")return Number(e);const t=typeof e=="string"?parseFloat(e):e;if(!(typeof t!="number"||isNaN(t)||t<0||t>1))return t}const Fb=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function h1(e){if(!e)return;const t=e.match(Fb);if(!t)return;let n;return t[3]==="1"?n=!0:t[3]==="0"&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}function p1(e,t){const n=h1(e),r=Lb(t);if(!(n!=null&&n.traceId))return{traceId:nr(),sampleRand:wr()};const s=m1(n,r);r&&(r.sample_rand=s.toString());const{traceId:i,parentSpanId:o,parentSampled:a}=n;return{traceId:i,parentSpanId:o,sampled:a,dsc:r||{},sampleRand:s}}function $b(e=nr(),t=Kn(),n){let r="";return n!==void 0&&(r=n?"-1":"-0"),`${e}-${t}${r}`}function Bb(e=nr(),t=Kn(),n){return`00-${e}-${t}-${n?"01":"00"}`}function m1(e,t){const n=ps(t==null?void 0:t.sample_rand);if(n!==void 0)return n;const r=ps(t==null?void 0:t.sample_rate);return r&&(e==null?void 0:e.parentSampled)!==void 0?e.parentSampled?wr()*r:r+wr()*(1-r):wr()}const Hb=0,Id=1;let Am=!1;function g1(e){const{spanId:t,traceId:n}=e.spanContext(),{data:r,op:s,parent_span_id:i,status:o,origin:a,links:c}=ke(e);return{parent_span_id:i,span_id:t,trace_id:n,data:r,op:s,status:o,origin:a,links:c}}function y1(e){const{spanId:t,traceId:n,isRemote:r}=e.spanContext(),s=r?t:ke(e).parent_span_id,i=uc(e).scope,o=r?(i==null?void 0:i.getPropagationContext().propagationSpanId)||Kn():t;return{parent_span_id:s,span_id:o,trace_id:n}}function v1(e){const{traceId:t,spanId:n}=e.spanContext(),r=Hr(e);return $b(t,n,r)}function _1(e){const{traceId:t,spanId:n}=e.spanContext(),r=Hr(e);return Bb(t,n,r)}function Vb(e){if(e&&e.length>0)return e.map(({context:{spanId:t,traceId:n,traceFlags:r,...s},attributes:i})=>({span_id:t,trace_id:n,sampled:r===Id,attributes:i,...s}))}function os(e){return typeof e=="number"?Om(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?Om(e.getTime()):st()}function Om(e){return e>9999999999?e/1e3:e}function ke(e){var r;if(S1(e))return e.getSpanJSON();const{spanId:t,traceId:n}=e.spanContext();if(b1(e)){const{attributes:s,startTime:i,name:o,endTime:a,status:c,links:l}=e,u="parentSpanId"in e?e.parentSpanId:"parentSpanContext"in e?(r=e.parentSpanContext)==null?void 0:r.spanId:void 0;return{span_id:t,trace_id:n,data:s,description:o,parent_span_id:u,start_timestamp:os(i),timestamp:os(a)||void 0,status:Ub(c),op:s[rr],origin:s[Qe],links:Vb(l)}}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function b1(e){const t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function S1(e){return typeof e.getSpanJSON=="function"}function Hr(e){const{traceFlags:t}=e.spanContext();return t===Id}function Ub(e){if(!(!e||e.code===YA))return e.code===Td?"ok":e.message||"internal_error"}const as="_sentryChildSpans",zu="_sentryRootSpan";function Wb(e,t){const n=e[zu]||e;Vt(t,zu,n),e[as]?e[as].add(t):Vt(e,as,new Set([t]))}function E1(e,t){e[as]&&e[as].delete(t)}function Ma(e){const t=new Set;function n(r){if(!t.has(r)&&Hr(r)){t.add(r);const s=r[as]?Array.from(r[as]):[];for(const i of s)n(i)}}return n(e),Array.from(t)}function vt(e){return e[zu]||e}function bt(){const e=bs(),t=ki(e);return t.getActiveSpan?t.getActiveSpan():lc(De())}function qu(){Am||(lr(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),Am=!0)}let Mm=!1;function w1(){if(Mm)return;function e(){const t=bt(),n=t&&vt(t);if(n){const r="internal_error";oe&&X.log(`[Tracing] Root span: ${r} -> Global error occurred`),n.setStatus({code:ct,message:r})}}e.tag="sentry_tracingErrorCallback",Mm=!0,Sb(e),Eb(e)}function sn(e){var n;if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const t=e||((n=Ie())==null?void 0:n.getOptions());return!!t&&(t.tracesSampleRate!=null||!!t.tracesSampler)}function Pm(e){X.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function fc(e,t){if(!(t!=null&&t.length)||!e.description)return!1;for(const n of t){if(C1(n)){if(Oa(e.description,n))return oe&&Pm(e),!0;continue}if(!n.name&&!n.op)continue;const r=n.name?Oa(e.description,n.name):!0,s=n.op?e.op&&Oa(e.op,n.op):!0;if(r&&s)return oe&&Pm(e),!0}return!1}function T1(e,t){const n=t.parent_span_id,r=t.span_id;if(n)for(const s of e)s.parent_span_id===r&&(s.parent_span_id=n)}function C1(e){return typeof e=="string"||e instanceof RegExp}const kd="production",jb="_frozenDsc";function Pa(e,t){Vt(e,jb,t)}function zb(e,t){const n=t.getOptions(),{publicKey:r}=t.getDsn()||{},s={environment:n.environment||kd,release:n.release,public_key:r,trace_id:e,org_id:f1(t)};return t.emit("createDsc",s),s}function qb(e,t){const n=t.getPropagationContext();return n.dsc||zb(n.traceId,e)}function sr(e){var p;const t=Ie();if(!t)return{};const n=vt(e),r=ke(n),s=r.data,i=n.spanContext().traceState,o=(i==null?void 0:i.get("sentry.sample_rate"))??s[Ed]??s[Ob];function a(m){return(typeof o=="number"||typeof o=="string")&&(m.sample_rate=`${o}`),m}const c=n[jb];if(c)return a(c);const l=i==null?void 0:i.get("sentry.dsc"),u=l&&Lb(l);if(u)return a(u);const f=zb(e.spanContext().traceId,t),d=s[Bt],h=r.description;return d!=="url"&&h&&(f.transaction=h),sn()&&(f.sampled=String(Hr(n)),f.sample_rand=(i==null?void 0:i.get("sentry.sample_rand"))??((p=uc(n).scope)==null?void 0:p.getPropagationContext().sampleRand.toString())),a(f),t.emit("createDsc",f,n),f}class Rr{constructor(t={}){this._traceId=t.traceId||nr(),this._spanId=t.spanId||Kn()}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:Hb}}end(t){}setAttribute(t,n){return this}setAttributes(t){return this}setStatus(t){return this}updateName(t){return this}isRecording(){return!1}addEvent(t,n,r){return this}addLink(t){return this}addLinks(t){return this}recordException(t,n){}}function un(e,t=100,n=1/0){try{return Gu("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function Gb(e,t=3,n=100*1024){const r=un(e,t);return R1(r)>n?Gb(e,t-1,n):r}function Gu(e,t,n=1/0,r=1/0,s=A1()){const[i,o]=s;if(t==null||["boolean","string"].includes(typeof t)||typeof t=="number"&&Number.isFinite(t))return t;const a=I1(e,t);if(!a.startsWith("[object "))return a;if(t.__sentry_skip_normalization__)return t;const c=typeof t.__sentry_override_normalization_depth__=="number"?t.__sentry_override_normalization_depth__:n;if(c===0)return a.replace("object ","");if(i(t))return"[Circular ~]";const l=t;if(l&&typeof l.toJSON=="function")try{const h=l.toJSON();return Gu("",h,c-1,r,s)}catch{}const u=Array.isArray(t)?[]:{};let f=0;const d=xb(t);for(const h in d){if(!Object.prototype.hasOwnProperty.call(d,h))continue;if(f>=r){u[h]="[MaxProperties ~]";break}const p=d[h];u[h]=Gu(h,p,c-1,r,s),f++}return o(t),u}function I1(e,t){try{if(e==="domain"&&t&&typeof t=="object"&&t._events)return"[Domain]";if(e==="domainEmitter")return"[DomainEmitter]";if(typeof global<"u"&&t===global)return"[Global]";if(typeof window<"u"&&t===window)return"[Window]";if(typeof document<"u"&&t===document)return"[Document]";if(Cb(t))return bb(t);if(kA(t))return"[SyntheticEvent]";if(typeof t=="number"&&!Number.isFinite(t))return`[${t}]`;if(typeof t=="function")return`[Function: ${er(t)}]`;if(typeof t=="symbol")return`[${String(t)}]`;if(typeof t=="bigint")return`[BigInt: ${String(t)}]`;const n=k1(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}function k1(e){const t=Object.getPrototypeOf(e);return t!=null&&t.constructor?t.constructor.name:"null prototype"}function x1(e){return~-encodeURI(e).split(/%..|./).length}function R1(e){return x1(JSON.stringify(e))}function A1(){const e=new WeakSet;function t(r){return e.has(r)?!0:(e.add(r),!1)}function n(r){e.delete(r)}return[t,n]}function Vr(e,t=[]){return[e,t]}function O1(e,t){const[n,r]=e;return[n,[...r,t]]}function Ku(e,t){const n=e[1];for(const r of n){const s=r[0].type;if(t(r,s))return!0}return!1}function M1(e,t){return Ku(e,(n,r)=>t.includes(r))}function Yu(e){const t=Kc(Ce);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function P1(e){const[t,n]=e;let r=JSON.stringify(t);function s(i){typeof r=="string"?r=typeof i=="string"?r+i:[Yu(r),i]:r.push(typeof i=="string"?Yu(i):i)}for(const i of n){const[o,a]=i;if(s(` ${JSON.stringify(o)} `),typeof a=="string"||a instanceof Uint8Array)s(a);else{let c;try{c=JSON.stringify(a)}catch{c=JSON.stringify(un(a))}s(c)}}return typeof r=="string"?r:N1(r)}function N1(e){const t=e.reduce((s,i)=>s+i.length,0),n=new Uint8Array(t);let r=0;for(const s of e)n.set(s,r),r+=s.length;return n}function L1(e){return[{type:"span"},e]}function D1(e){const t=typeof e.data=="string"?Yu(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}const F1={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",log:"log_item",metric:"metric",trace_metric:"metric"};function Nm(e){return F1[e]}function xd(e){if(!(e!=null&&e.sdk))return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function Kb(e,t,n,r){var i;const s=(i=e.sdkProcessingMetadata)==null?void 0:i.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:Ri(r)},...s&&{trace:s}}}function $1(e,t){var r,s,i,o;if(!t)return e;const n=e.sdk||{};return e.sdk={...n,name:n.name||t.name,version:n.version||t.version,integrations:[...((r=e.sdk)==null?void 0:r.integrations)||[],...t.integrations||[]],packages:[...((s=e.sdk)==null?void 0:s.packages)||[],...t.packages||[]],settings:(i=e.sdk)!=null&&i.settings||t.settings?{...(o=e.sdk)==null?void 0:o.settings,...t.settings}:void 0},e}function B1(e,t,n,r){const s=xd(n),i={sent_at:new Date().toISOString(),...s&&{sdk:s},...!!r&&t&&{dsn:Ri(t)}},o="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return Vr(i,[o])}function H1(e,t,n,r){const s=xd(n),i=e.type&&e.type!=="replay_event"?e.type:"event";$1(e,n==null?void 0:n.sdk);const o=Kb(e,s,r,t);return delete e.sdkProcessingMetadata,Vr(o,[[{type:i},e]])}function V1(e,t){function n(h){return!!h.trace_id&&!!h.public_key}const r=sr(e[0]),s=t==null?void 0:t.getDsn(),i=t==null?void 0:t.getOptions().tunnel,o={sent_at:new Date().toISOString(),...n(r)&&{trace:r},...!!i&&s&&{dsn:Ri(s)}},{beforeSendSpan:a,ignoreSpans:c}=(t==null?void 0:t.getOptions())||{},l=c!=null&&c.length?e.filter(h=>!fc(ke(h),c)):e,u=e.length-l.length;u&&(t==null||t.recordDroppedEvent("before_send","span",u));const f=a?h=>{const p=ke(h),m=a(p);return m||(qu(),p)}:ke,d=[];for(const h of l){const p=f(h);p&&d.push(L1(p))}return Vr(o,d)}function U1(e){if(!oe)return;const{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:r}=ke(e),{spanId:s}=e.spanContext(),i=Hr(e),o=vt(e),a=o===e,c=`[Tracing] Starting ${i?"sampled":"unsampled"} ${a?"root ":""}span`,l=[`op: ${n}`,`name: ${t}`,`ID: ${s}`];if(r&&l.push(`parent ID: ${r}`),!a){const{op:u,description:f}=ke(o);l.push(`root ID: ${o.spanContext().spanId}`),u&&l.push(`root op: ${u}`),f&&l.push(`root description: ${f}`)}X.log(`${c} ${l.join(` `)}`)}function W1(e){if(!oe)return;const{description:t="< unknown name >",op:n="< unknown op >"}=ke(e),{spanId:r}=e.spanContext(),i=vt(e)===e,o=`[Tracing] Finishing "${n}" ${i?"root ":""}span "${t}" with ID ${r}`;X.log(o)}function j1(e,t,n,r=bt()){const s=r&&vt(r);s&&(oe&&X.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${n}`),s.addEvent(e,{[qo]:t,[zo]:n}))}function Lm(e){if(!e||e.length===0)return;const t={};return e.forEach(n=>{const r=n.attributes||{},s=r[zo],i=r[qo];typeof s=="string"&&typeof i=="number"&&(t[n.name]={value:i,unit:s})}),t}const Dm=1e3;class Zc{constructor(t={}){this._traceId=t.traceId||nr(),this._spanId=t.spanId||Kn(),this._startTime=t.startTimestamp||st(),this._links=t.links,this._attributes={},this.setAttributes({[Qe]:"manual",[rr]:t.op,...t.attributes}),this._name=t.name,t.parentSpanId&&(this._parentSpanId=t.parentSpanId),"sampled"in t&&(this._sampled=t.sampled),t.endTimestamp&&(this._endTime=t.endTimestamp),this._events=[],this._isStandaloneSpan=t.isStandalone,this._endTime&&this._onSpanEnded()}addLink(t){return this._links?this._links.push(t):this._links=[t],this}addLinks(t){return this._links?this._links.push(...t):this._links=t,this}recordException(t,n){}spanContext(){const{_spanId:t,_traceId:n,_sampled:r}=this;return{spanId:t,traceId:n,traceFlags:r?Id:Hb}}setAttribute(t,n){return n===void 0?delete this._attributes[t]:this._attributes[t]=n,this}setAttributes(t){return Object.keys(t).forEach(n=>this.setAttribute(n,t[n])),this}updateStartTime(t){this._startTime=os(t)}setStatus(t){return this._status=t,this}updateName(t){return this._name=t,this.setAttribute(Bt,"custom"),this}end(t){this._endTime||(this._endTime=os(t),W1(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[rr],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:Ub(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[Qe],profile_id:this._attributes[wd],exclusive_time:this._attributes[xi],measurements:Lm(this._events),is_segment:this._isStandaloneSpan&&vt(this)===this||void 0,segment_id:this._isStandaloneSpan?vt(this).spanContext().spanId:void 0,links:Vb(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,n,r){oe&&X.log("[Tracing] Adding an event to span:",t);const s=Fm(n)?n:r||st(),i=Fm(n)?{}:n||{},o={name:t,time:os(s),attributes:i};return this._events.push(o),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const t=Ie();if(t&&t.emit("spanEnd",this),!(this._isStandaloneSpan||this===vt(this)))return;if(this._isStandaloneSpan){this._sampled?q1(V1([this],t)):(oe&&X.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),t&&t.recordDroppedEvent("sample_rate","span"));return}const r=this._convertSpanToTransaction();r&&(uc(this).scope||De()).captureEvent(r)}_convertSpanToTransaction(){var u;if(!$m(ke(this)))return;this._name||(oe&&X.warn("Transaction has no name, falling back to ``."),this._name="");const{scope:t,isolationScope:n}=uc(this),r=(u=t==null?void 0:t.getScopeData().sdkProcessingMetadata)==null?void 0:u.normalizedRequest;if(this._sampled!==!0)return;const i=Ma(this).filter(f=>f!==this&&!z1(f)).map(f=>ke(f)).filter($m),o=this._attributes[Bt];delete this._attributes[xm],i.forEach(f=>{delete f.data[xm]});const a={contexts:{trace:g1(this)},spans:i.length>Dm?i.sort((f,d)=>f.start_timestamp-d.start_timestamp).slice(0,Dm):i,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:n,dynamicSamplingContext:sr(this)},request:r,...o&&{transaction_info:{source:o}}},c=Lm(this._events);return c&&Object.keys(c).length&&(oe&&X.log("[Measurements] Adding measurements to transaction event",JSON.stringify(c,void 0,2)),a.measurements=c),a}}function Fm(e){return e&&typeof e=="number"||e instanceof Date||Array.isArray(e)}function $m(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function z1(e){return e instanceof Zc&&e.isStandaloneSpan()}function q1(e){const t=Ie();if(!t)return;const n=e[1];if(!n||n.length===0){t.recordDroppedEvent("before_send","span");return}t.sendEnvelope(e)}function G1(e,t,n=()=>{},r=()=>{}){let s;try{s=e()}catch(i){throw t(i),n(),i}return K1(s,t,n,r)}function K1(e,t,n,r){return Ci(e)?e.then(s=>(n(),r(s),s),s=>{throw t(s),n(),s}):(n(),r(e),e)}function Y1(e,t,n){if(!sn(e))return[!1];let r,s;typeof e.tracesSampler=="function"?(s=e.tracesSampler({...t,inheritOrSampleWith:a=>typeof t.parentSampleRate=="number"?t.parentSampleRate:typeof t.parentSampled=="boolean"?Number(t.parentSampled):a}),r=!0):t.parentSampled!==void 0?s=t.parentSampled:typeof e.tracesSampleRate<"u"&&(s=e.tracesSampleRate,r=!0);const i=ps(s);if(i===void 0)return oe&&X.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(s)} of type ${JSON.stringify(typeof s)}.`),[!1];if(!i)return oe&&X.log(`[Tracing] Discarding transaction because ${typeof e.tracesSampler=="function"?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,i,r];const o=nZ1(i)(()=>{const l=De(),u=Zb(l,i),d=e.onlyIfParent&&!u?new Rr:Xb({parentSpan:u,spanArguments:r,forceTransaction:s,scope:l});return ci(l,d),G1(()=>t(d),()=>{const{status:h}=ke(d);d.isRecording()&&(!h||h==="ok")&&d.setStatus({code:ct,message:"internal_error"})},()=>{d.end()})}))}function Ar(e){const t=Ad();if(t.startInactiveSpan)return t.startInactiveSpan(e);const n=Jb(e),{forceTransaction:r,parentSpan:s}=e;return(e.scope?o=>Jc(e.scope,o):s!==void 0?o=>Rd(s,o):o=>o())(()=>{const o=De(),a=Zb(o,s);return e.onlyIfParent&&!a?new Rr:Xb({parentSpan:a,spanArguments:n,forceTransaction:r,scope:o})})}function Rd(e,t){const n=Ad();return n.withActiveSpan?n.withActiveSpan(e,t):Jc(r=>(ci(r,e||void 0),t(r)))}function Xb({parentSpan:e,spanArguments:t,forceTransaction:n,scope:r}){if(!sn()){const o=new Rr;if(n||!e){const a={sampled:"false",sample_rate:"0",transaction:t.name,...sr(o)};Pa(o,a)}return o}const s=Nn();let i;if(e&&!n)i=J1(e,r,t),Wb(e,i);else if(e){const o=sr(e),{traceId:a,spanId:c}=e.spanContext(),l=Hr(e);i=Bm({traceId:a,parentSpanId:c,...t},r,l),Pa(i,o)}else{const{traceId:o,dsc:a,parentSpanId:c,sampled:l}={...s.getPropagationContext(),...r.getPropagationContext()};i=Bm({traceId:o,parentSpanId:c,...t},r,l),a&&Pa(i,a)}return U1(i),QA(i,r,s),i}function Jb(e){const n={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){const r={...n};return r.startTimestamp=os(e.startTime),delete r.startTime,r}return n}function Ad(){const e=bs();return ki(e)}function Bm(e,t,n){var p;const r=Ie(),s=(r==null?void 0:r.getOptions())||{},{name:i=""}=e,o={spanAttributes:{...e.attributes},spanName:i,parentSampled:n};r==null||r.emit("beforeSampling",o,{decision:!1});const a=o.parentSampled??n,c=o.spanAttributes,l=t.getPropagationContext(),[u,f,d]=t.getScopeData().sdkProcessingMetadata[Yb]?[!1]:Y1(s,{name:i,parentSampled:a,attributes:c,parentSampleRate:ps((p=l.dsc)==null?void 0:p.sample_rate)},l.sampleRand),h=new Zc({...e,attributes:{[Bt]:"custom",[Ed]:f!==void 0&&d?f:void 0,...c},sampled:u});return!u&&r&&(oe&&X.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),r.recordDroppedEvent("sample_rate","transaction")),r&&r.emit("spanStart",h),h}function J1(e,t,n){const{spanId:r,traceId:s}=e.spanContext(),i=t.getScopeData().sdkProcessingMetadata[Yb]?!1:Hr(e),o=i?new Zc({...n,parentSpanId:r,traceId:s,sampled:i}):new Rr({traceId:s});Wb(e,o);const a=Ie();return a&&(a.emit("spanStart",o),n.endTimestamp&&a.emit("spanEnd",o)),o}function Zb(e,t){if(t)return t;if(t===null)return;const n=lc(e);if(!n)return;const r=Ie();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?vt(n):n}function Z1(e){return e!==void 0?t=>Rd(e,t):t=>t()}const Na={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3},Q1="heartbeatFailed",eO="idleTimeout",tO="finalTimeout",nO="externalFinish";function Qb(e,t={}){const n=new Map;let r=!1,s,i=nO,o=!t.disableAutoFinish;const a=[],{idleTimeout:c=Na.idleTimeout,finalTimeout:l=Na.finalTimeout,childSpanTimeout:u=Na.childSpanTimeout,beforeSpanEnd:f,trimIdleSpanEndTimestamp:d=!0}=t,h=Ie();if(!h||!sn()){const E=new Rr,w={sample_rate:"0",sampled:"false",...sr(E)};return Pa(E,w),E}const p=De(),m=bt(),y=rO(e);y.end=new Proxy(y.end,{apply(E,w,I){if(f&&f(y),w instanceof Rr)return;const[A,...M]=I,x=A||st(),N=os(x),L=Ma(y).filter(q=>q!==y),G=ke(y);if(!L.length||!d)return R(N),Reflect.apply(E,w,[N,...M]);const J=h.getOptions().ignoreSpans,j=L==null?void 0:L.reduce((q,ce)=>{const le=ke(ce);return!le.timestamp||J&&fc(le,J)?q:q?Math.max(q,le.timestamp):le.timestamp},void 0),D=G.start_timestamp,ae=Math.min(D?D+l/1e3:1/0,Math.max(D||-1/0,Math.min(N,j||1/0)));return R(ae),Reflect.apply(E,w,[ae,...M])}});function g(){s&&(clearTimeout(s),s=void 0)}function v(E){g(),s=setTimeout(()=>{!r&&n.size===0&&o&&(i=eO,y.end(E))},c)}function _(E){s=setTimeout(()=>{!r&&o&&(i=Q1,y.end(E))},u)}function T(E){g(),n.set(E,!0);const w=st();_(w+u/1e3)}function O(E){if(n.has(E)&&n.delete(E),n.size===0){const w=st();v(w+c/1e3)}}function R(E){r=!0,n.clear(),a.forEach(L=>L()),ci(p,m);const w=ke(y),{start_timestamp:I}=w;if(!I)return;w.data[Co]||y.setAttribute(Co,i);const M=w.status;(!M||M==="unknown")&&y.setStatus({code:Td}),X.log(`[Tracing] Idle span "${w.op}" finished`);const x=Ma(y).filter(L=>L!==y);let N=0;x.forEach(L=>{L.isRecording()&&(L.setStatus({code:ct,message:"cancelled"}),L.end(E),oe&&X.log("[Tracing] Cancelling span since span ended early",JSON.stringify(L,void 0,2)));const G=ke(L),{timestamp:J=0,start_timestamp:j=0}=G,D=j<=E,ae=(l+c)/1e3,q=J-j<=ae;if(oe){const ce=JSON.stringify(L,void 0,2);D?q||X.log("[Tracing] Discarding span since it finished after idle span final timeout",ce):X.log("[Tracing] Discarding span since it happened after idle span was finished",ce)}(!q||!D)&&(E1(y,L),N++)}),N>0&&y.setAttribute("sentry.idle_span_discarded_spans",N)}return a.push(h.on("spanStart",E=>{if(r||E===y||ke(E).timestamp||E instanceof Zc&&E.isStandaloneSpan())return;Ma(y).includes(E)&&T(E.spanContext().spanId)})),a.push(h.on("spanEnd",E=>{r||O(E.spanContext().spanId)})),a.push(h.on("idleSpanEnableAutoFinish",E=>{E===y&&(o=!0,v(),n.size&&_())})),t.disableAutoFinish||v(),setTimeout(()=>{r||(y.setStatus({code:ct,message:"deadline_exceeded"}),i=tO,y.end())},l),y}function rO(e){const t=Ar(e);return ci(De(),t),oe&&X.log("[Tracing] Started span is an idle span"),t}const ql=0,Hm=1,Vm=2;function Qc(e){return new Io(t=>{t(e)})}function Od(e){return new Io((t,n)=>{n(e)})}class Io{constructor(t){this._state=ql,this._handlers=[],this._runExecutor(t)}then(t,n){return new Io((r,s)=>{this._handlers.push([!1,i=>{if(!t)r(i);else try{r(t(i))}catch(o){s(o)}},i=>{if(!n)s(i);else try{r(n(i))}catch(o){s(o)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new Io((n,r)=>{let s,i;return this.then(o=>{i=!1,s=o,t&&t()},o=>{i=!0,s=o,t&&t()}).then(()=>{if(i){r(s);return}n(s)})})}_executeHandlers(){if(this._state===ql)return;const t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===Hm&&n[1](this._value),this._state===Vm&&n[2](this._value),n[0]=!0)})}_runExecutor(t){const n=(i,o)=>{if(this._state===ql){if(Ci(o)){o.then(r,s);return}this._state=i,this._value=o,this._executeHandlers()}},r=i=>{n(Hm,i)},s=i=>{n(Vm,i)};try{t(r,s)}catch(i){s(i)}}}function sO(e,t,n,r=0){try{const s=Xu(t,n,e,r);return Ci(s)?s:Qc(s)}catch(s){return Od(s)}}function Xu(e,t,n,r){const s=n[r];if(!e||!s)return e;const i=s({...e},t);return oe&&i===null&&X.log(`Event processor "${s.id||"?"}" dropped event`),Ci(i)?i.then(o=>Xu(o,t,n,r+1)):Xu(i,t,n,r+1)}let $n,Um,Wm,dr;function iO(e){const t=Ce._sentryDebugIds,n=Ce._debugIds;if(!t&&!n)return{};const r=t?Object.keys(t):[],s=n?Object.keys(n):[];if(dr&&r.length===Um&&s.length===Wm)return dr;Um=r.length,Wm=s.length,dr={},$n||($n={});const i=(o,a)=>{for(const c of o){const l=a[c],u=$n==null?void 0:$n[c];if(u&&dr&&l)dr[u[0]]=l,$n&&($n[c]=[u[0],l]);else if(l){const f=e(c);for(let d=f.length-1;d>=0;d--){const h=f[d],p=h==null?void 0:h.filename;if(p&&dr&&$n){dr[p]=l,$n[c]=[p,l];break}}}}};return t&&i(r,t),n&&i(s,n),dr}function oO(e,t){const{fingerprint:n,span:r,breadcrumbs:s,sdkProcessingMetadata:i}=t;cO(e,t),r&&fO(e,r),dO(e,n),lO(e,s),uO(e,i)}function jm(e,t){const{extra:n,tags:r,attributes:s,user:i,contexts:o,level:a,sdkProcessingMetadata:c,breadcrumbs:l,fingerprint:u,eventProcessors:f,attachments:d,propagationContext:h,transactionName:p,span:m}=t;Hi(e,"extra",n),Hi(e,"tags",r),Hi(e,"attributes",s),Hi(e,"user",i),Hi(e,"contexts",o),e.sdkProcessingMetadata=jo(e.sdkProcessingMetadata,c,2),a&&(e.level=a),p&&(e.transactionName=p),m&&(e.span=m),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),u.length&&(e.fingerprint=[...e.fingerprint,...u]),f.length&&(e.eventProcessors=[...e.eventProcessors,...f]),d.length&&(e.attachments=[...e.attachments,...d]),e.propagationContext={...e.propagationContext,...h}}function Hi(e,t,n){e[t]=jo(e[t],n,1)}function aO(e,t){const n=qA().getScopeData();return e&&jm(n,e.getScopeData()),t&&jm(n,t.getScopeData()),n}function cO(e,t){const{extra:n,tags:r,user:s,contexts:i,level:o,transactionName:a}=t;Object.keys(n).length&&(e.extra={...n,...e.extra}),Object.keys(r).length&&(e.tags={...r,...e.tags}),Object.keys(s).length&&(e.user={...s,...e.user}),Object.keys(i).length&&(e.contexts={...i,...e.contexts}),o&&(e.level=o),a&&e.type!=="transaction"&&(e.transaction=a)}function lO(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function uO(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function fO(e,t){e.contexts={trace:y1(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:sr(t),...e.sdkProcessingMetadata};const n=vt(t),r=ke(n).description;r&&!e.transaction&&e.type==="transaction"&&(e.transaction=r)}function dO(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint.length||delete e.fingerprint}function eS(e,t,n,r,s,i){const{normalizeDepth:o=3,normalizeMaxBreadth:a=1e3}=e,c={...t,event_id:t.event_id||n.event_id||Kt(),timestamp:t.timestamp||Ss()},l=n.integrations||e.integrations.map(y=>y.name);hO(c,e),gO(c,l),s&&s.emit("applyFrameMetadata",t),t.type===void 0&&pO(c,e.stackParser);const u=vO(r,n.captureContext);n.mechanism&&oi(c,n.mechanism);const f=s?s.getEventProcessors():[],d=aO(i,u),h=[...n.attachments||[],...d.attachments];h.length&&(n.attachments=h),oO(c,d);const p=[...f,...d.eventProcessors];return sO(p,c,n).then(y=>(y&&mO(y),typeof o=="number"&&o>0?yO(y,o,a):y))}function hO(e,t){var a,c;const{environment:n,release:r,dist:s,maxValueLength:i}=t;e.environment=e.environment||n||kd,!e.release&&r&&(e.release=r),!e.dist&&s&&(e.dist=s);const o=e.request;o!=null&&o.url&&i&&(o.url=Uu(o.url,i)),i&&((c=(a=e.exception)==null?void 0:a.values)==null||c.forEach(l=>{l.value&&(l.value=Uu(l.value,i))}))}function pO(e,t){var r,s;const n=iO(t);(s=(r=e.exception)==null?void 0:r.values)==null||s.forEach(i=>{var o,a;(a=(o=i.stacktrace)==null?void 0:o.frames)==null||a.forEach(c=>{c.filename&&(c.debug_id=n[c.filename])})})}function mO(e){var r,s;const t={};if((s=(r=e.exception)==null?void 0:r.values)==null||s.forEach(i=>{var o,a;(a=(o=i.stacktrace)==null?void 0:o.frames)==null||a.forEach(c=>{c.debug_id&&(c.abs_path?t[c.abs_path]=c.debug_id:c.filename&&(t[c.filename]=c.debug_id),delete c.debug_id)})}),Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.entries(t).forEach(([i,o])=>{n.push({type:"sourcemap",code_file:i,debug_id:o})})}function gO(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function yO(e,t,n){var s,i;if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(o=>({...o,...o.data&&{data:un(o.data,t,n)}}))},...e.user&&{user:un(e.user,t,n)},...e.contexts&&{contexts:un(e.contexts,t,n)},...e.extra&&{extra:un(e.extra,t,n)}};return(s=e.contexts)!=null&&s.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=un(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(o=>({...o,...o.data&&{data:un(o.data,t,n)}}))),(i=e.contexts)!=null&&i.flags&&r.contexts&&(r.contexts.flags=un(e.contexts.flags,3,n)),r}function vO(e,t){if(!t)return e;const n=e?e.clone():new Pn;return n.update(t),n}function _O(e){if(e)return bO(e)?{captureContext:e}:EO(e)?{captureContext:e}:e}function bO(e){return e instanceof Pn||typeof e=="function"}const SO=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function EO(e){return Object.keys(e).some(t=>SO.includes(t))}function el(e,t){return De().captureException(e,_O(t))}function tS(e,t){return De().captureEvent(e,t)}function wO(e,t){Nn().setContext(e,t)}function TO(){const e=Ie();return(e==null?void 0:e.getOptions().enabled)!==!1&&!!(e!=null&&e.getTransport())}function CO(e){Nn().addEventProcessor(e)}function zm(e){const t=Nn(),n=De(),{userAgent:r}=Ce.navigator||{},s=DA({user:n.getUser()||t.getUser(),...r&&{userAgent:r},...e}),i=t.getSession();return(i==null?void 0:i.status)==="ok"&&ai(i,{status:"exited"}),nS(),t.setSession(s),s}function nS(){const e=Nn(),n=De().getSession()||e.getSession();n&&FA(n),rS(),e.setSession()}function rS(){const e=Nn(),t=Ie(),n=e.getSession();n&&t&&t.captureSession(n)}function qm(e=!1){if(e){nS();return}rS()}const IO="7";function kO(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function xO(e){return`${kO(e)}${e.projectId}/envelope/`}function RO(e,t){const n={sentry_version:IO};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}function AO(e,t,n){return t||`${xO(e)}?${RO(e,n)}`}const Gm=[];function OO(e){const t={};return e.forEach(n=>{const{name:r}=n,s=t[r];s&&!s.isDefaultInstance&&n.isDefaultInstance||(t[r]=n)}),Object.values(t)}function MO(e){const t=e.defaultIntegrations||[],n=e.integrations;t.forEach(s=>{s.isDefaultInstance=!0});let r;if(Array.isArray(n))r=[...t,...n];else if(typeof n=="function"){const s=n(t);r=Array.isArray(s)?s:[s]}else r=t;return OO(r)}function PO(e,t){const n={};return t.forEach(r=>{r&&sS(e,r,n)}),n}function Km(e,t){for(const n of t)n!=null&&n.afterAllSetup&&n.afterAllSetup(e)}function sS(e,t,n){if(n[t.name]){oe&&X.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,!Gm.includes(t.name)&&typeof t.setupOnce=="function"&&(t.setupOnce(),Gm.push(t.name)),t.setup&&typeof t.setup=="function"&&t.setup(e),typeof t.preprocessEvent=="function"){const r=t.preprocessEvent.bind(t);e.on("preprocessEvent",(s,i)=>r(s,i,e))}if(typeof t.processEvent=="function"){const r=t.processEvent.bind(t),s=Object.assign((i,o)=>r(i,o,e),{id:t.name});e.addEventProcessor(s)}oe&&X.log(`Integration installed: ${t.name}`)}function NO(e){return[{type:"log",item_count:e.length,content_type:"application/vnd.sentry.items.log+json"},{items:e}]}function LO(e,t,n,r){const s={};return t!=null&&t.sdk&&(s.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(s.dsn=Ri(r)),Vr(s,[NO(e)])}function iS(e,t){const n=t??DO(e)??[];if(n.length===0)return;const r=e.getOptions(),s=LO(n,r._metadata,r.tunnel,e.getDsn());oS().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(s)}function DO(e){return oS().get(e)}function oS(){return wi("clientToLogBufferMap",()=>new WeakMap)}function FO(e){return[{type:"trace_metric",item_count:e.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{items:e}]}function $O(e,t,n,r){const s={};return t!=null&&t.sdk&&(s.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(s.dsn=Ri(r)),Vr(s,[FO(e)])}function aS(e,t){const n=t??BO(e)??[];if(n.length===0)return;const r=e.getOptions(),s=$O(n,r._metadata,r.tunnel,e.getDsn());cS().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(s)}function BO(e){return cS().get(e)}function cS(){return wi("clientToMetricBufferMap",()=>new WeakMap)}const Md=Symbol.for("SentryBufferFullError");function Pd(e=100){const t=new Set;function n(){return t.sizer(a),()=>r(a)),a}function i(o){if(!t.size)return Qc(!0);const a=Promise.allSettled(Array.from(t)).then(()=>!0);if(!o)return a;const c=[a,new Promise(l=>setTimeout(()=>l(!1),o))];return Promise.race(c)}return{get $(){return Array.from(t)},add:s,drain:i}}const HO=60*1e3;function VO(e,t=Wo()){const n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;const r=Date.parse(`${e}`);return isNaN(r)?HO:r-t}function UO(e,t){return e[t]||e.all||0}function lS(e,t,n=Wo()){return UO(e,t)>n}function uS(e,{statusCode:t,headers:n},r=Wo()){const s={...e},i=n==null?void 0:n["x-sentry-rate-limits"],o=n==null?void 0:n["retry-after"];if(i)for(const a of i.trim().split(",")){const[c,l,,,u]=a.split(":",5),f=parseInt(c,10),d=(isNaN(f)?60:f)*1e3;if(!l)s.all=r+d;else for(const h of l.split(";"))h==="metric_bucket"?(!u||u.split(";").includes("custom"))&&(s[h]=r+d):s[h]=r+d}else o?s.all=r+VO(o,r):t===429&&(s.all=r+60*1e3);return s}const fS=64;function WO(e,t,n=Pd(e.bufferSize||fS)){let r={};const s=o=>n.drain(o);function i(o){const a=[];if(Ku(o,(f,d)=>{const h=Nm(d);lS(r,h)?e.recordDroppedEvent("ratelimit_backoff",h):a.push(f)}),a.length===0)return Promise.resolve({});const c=Vr(o[0],a),l=f=>{if(M1(c,["client_report"])){oe&&X.warn(`Dropping client report. Will not send outcomes (reason: ${f}).`);return}Ku(c,(d,h)=>{e.recordDroppedEvent(f,Nm(h))})},u=()=>t({body:P1(c)}).then(f=>(f.statusCode!==void 0&&(f.statusCode<200||f.statusCode>=300)&&oe&&X.warn(`Sentry responded with status code ${f.statusCode} to sent event.`),r=uS(r,f),f),f=>{throw l("network_error"),oe&&X.error("Encountered error running transport request:",f),f});return n.add(u).then(f=>f,f=>{if(f===Md)return oe&&X.error("Skipped sending event because buffer is full."),l("queue_overflow"),Promise.resolve({});throw f})}return{send:i,flush:s}}function jO(e,t,n){const r=[{type:"client_report"},{timestamp:Ss(),discarded_events:e}];return Vr(t?{dsn:t}:{},[r])}function dS(e){const t=[];e.message&&t.push(e.message);try{const n=e.exception.values[e.exception.values.length-1];n!=null&&n.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}function zO(e){var c;const{trace_id:t,parent_span_id:n,span_id:r,status:s,origin:i,data:o,op:a}=((c=e.contexts)==null?void 0:c.trace)??{};return{data:o??{},description:e.transaction,op:a,parent_span_id:n,span_id:r??"",start_timestamp:e.start_timestamp??0,status:s,timestamp:e.timestamp,trace_id:t??"",origin:i,profile_id:o==null?void 0:o[wd],exclusive_time:o==null?void 0:o[xi],measurements:e.measurements,is_segment:!0}}function qO(e){return{type:"transaction",timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{[wd]:e.profile_id},...e.exclusive_time&&{[xi]:e.exclusive_time}}}},measurements:e.measurements}}const Ym="Not capturing exception because it's already been captured.",Xm="Discarded session because of missing or non-string release",hS=Symbol.for("SentryInternalError"),pS=Symbol.for("SentryDoNotSendEventError"),GO=5e3;function La(e){return{message:e,[hS]:!0}}function Gl(e){return{message:e,[pS]:!0}}function Jm(e){return!!e&&typeof e=="object"&&hS in e}function Zm(e){return!!e&&typeof e=="object"&&pS in e}function Qm(e,t,n,r,s){let i=0,o,a=!1;e.on(n,()=>{i=0,clearTimeout(o),a=!1}),e.on(t,c=>{i+=r(c),i>=8e5?s(e):a||(a=!0,o=setTimeout(()=>{s(e)},GO))}),e.on("flush",()=>{s(e)})}class KO{constructor(t){var r,s,i;if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=Pd(((r=t.transportOptions)==null?void 0:r.bufferSize)??fS),t.dsn?this._dsn=d1(t.dsn):oe&&X.warn("No DSN provided, client will not send events."),this._dsn){const o=AO(this._dsn,t.tunnel,t._metadata?t._metadata.sdk:void 0);this._transport=t.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:o})}this._options.enableLogs=this._options.enableLogs??((s=this._options._experiments)==null?void 0:s.enableLogs),this._options.enableLogs&&Qm(this,"afterCaptureLog","flushLogs",ZO,iS),(this._options.enableMetrics??((i=this._options._experiments)==null?void 0:i.enableMetrics)??!0)&&Qm(this,"afterCaptureMetric","flushMetrics",JO,aS)}captureException(t,n,r){const s=Kt();if(Cm(t))return oe&&X.log(Ym),s;const i={event_id:s,...n};return this._process(()=>this.eventFromException(t,i).then(o=>this._captureEvent(o,i,r)).then(o=>o),"error"),i.event_id}captureMessage(t,n,r,s){const i={event_id:Kt(),...r},o=vd(t)?t:String(t),a=ii(t),c=a?this.eventFromMessage(o,n,i):this.eventFromException(t,i);return this._process(()=>c.then(l=>this._captureEvent(l,i,s)),a?"unknown":"error"),i.event_id}captureEvent(t,n,r){const s=Kt();if(n!=null&&n.originalException&&Cm(n.originalException))return oe&&X.log(Ym),s;const i={event_id:s,...n},o=t.sdkProcessingMetadata||{},a=o.capturedSpanScope,c=o.capturedSpanIsolationScope,l=eg(t.type);return this._process(()=>this._captureEvent(t,i,a||r,c),l),i.event_id}captureSession(t){this.sendSession(t),ai(t,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(t){const n=this._transport;if(!n)return!0;this.emit("flush");const r=await this._isClientDoneProcessing(t),s=await n.flush(t);return r&&s}async close(t){const n=await this.flush(t);return this.getOptions().enabled=!1,this.emit("close"),n}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}init(){(this._isEnabled()||this._options.integrations.some(({name:t})=>t.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(t){return this._integrations[t]}addIntegration(t){const n=this._integrations[t.name];sS(this,t,this._integrations),n||Km(this,[t])}sendEvent(t,n={}){this.emit("beforeSendEvent",t,n);let r=H1(t,this._dsn,this._options._metadata,this._options.tunnel);for(const s of n.attachments||[])r=O1(r,D1(s));this.sendEnvelope(r).then(s=>this.emit("afterSendEvent",t,s))}sendSession(t){const{release:n,environment:r=kd}=this._options;if("aggregates"in t){const i=t.attrs||{};if(!i.release&&!n){oe&&X.warn(Xm);return}i.release=i.release||n,i.environment=i.environment||r,t.attrs=i}else{if(!t.release&&!n){oe&&X.warn(Xm);return}t.release=t.release||n,t.environment=t.environment||r}this.emit("beforeSendSession",t);const s=B1(t,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(s)}recordDroppedEvent(t,n,r=1){if(this._options.sendClientReports){const s=`${t}:${n}`;oe&&X.log(`Recording outcome: "${s}"${r>1?` (${r} times)`:""}`),this._outcomes[s]=(this._outcomes[s]||0)+r}}on(t,n){const r=this._hooks[t]=this._hooks[t]||new Set,s=(...i)=>n(...i);return r.add(s),()=>{r.delete(s)}}emit(t,...n){const r=this._hooks[t];r&&r.forEach(s=>s(...n))}async sendEnvelope(t){if(this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport)try{return await this._transport.send(t)}catch(n){return oe&&X.error("Error while sending envelope:",n),{}}return oe&&X.error("Transport disabled"),{}}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=PO(this,t),Km(this,t)}_updateSessionFromEvent(t,n){var c,l;let r=n.level==="fatal",s=!1;const i=(c=n.exception)==null?void 0:c.values;if(i){s=!0,r=!1;for(const u of i)if(((l=u.mechanism)==null?void 0:l.handled)===!1){r=!0;break}}const o=t.status==="ok";(o&&t.errors===0||o&&r)&&(ai(t,{...r&&{status:"crashed"},errors:t.errors||Number(s||r)}),this.captureSession(t))}async _isClientDoneProcessing(t){let n=0;for(;!t||nsetTimeout(r,1)),!this._numProcessing)return!0;n++}return!1}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(t,n,r,s){const i=this.getOptions(),o=Object.keys(this._integrations);return!n.integrations&&(o!=null&&o.length)&&(n.integrations=o),this.emit("preprocessEvent",t,n),t.type||s.setLastEventId(t.event_id||n.event_id),eS(i,t,n,r,this,s).then(a=>{if(a===null)return a;this.emit("postprocessEvent",a,n),a.contexts={trace:GA(r),...a.contexts};const c=qb(this,r);return a.sdkProcessingMetadata={dynamicSamplingContext:c,...a.sdkProcessingMetadata},a})}_captureEvent(t,n={},r=De(),s=Nn()){return oe&&Ju(t)&&X.log(`Captured error event \`${dS(t)[0]||""}\``),this._processEvent(t,n,r,s).then(i=>i.event_id,i=>{oe&&(Zm(i)?X.log(i.message):Jm(i)?X.warn(i.message):X.warn(i))})}_processEvent(t,n,r,s){const i=this.getOptions(),{sampleRate:o}=i,a=mS(t),c=Ju(t),u=`before send for type \`${t.type||"error"}\``,f=typeof o>"u"?void 0:ps(o);if(c&&typeof f=="number"&&wr()>f)return this.recordDroppedEvent("sample_rate","error"),Od(Gl(`Discarding event because it's not included in the random sample (sampling rate = ${o})`));const d=eg(t.type);return this._prepareEvent(t,n,r,s).then(h=>{if(h===null)throw this.recordDroppedEvent("event_processor",d),Gl("An event processor returned `null`, will not send event.");if(n.data&&n.data.__sentry__===!0)return h;const m=XO(this,i,h,n);return YO(m,u)}).then(h=>{var y;if(h===null){if(this.recordDroppedEvent("before_send",d),a){const v=1+(t.spans||[]).length;this.recordDroppedEvent("before_send","span",v)}throw Gl(`${u} returned \`null\`, will not send event.`)}const p=r.getSession()||s.getSession();if(c&&p&&this._updateSessionFromEvent(p,h),a){const g=((y=h.sdkProcessingMetadata)==null?void 0:y.spanCountBeforeProcessing)||0,v=h.spans?h.spans.length:0,_=g-v;_>0&&this.recordDroppedEvent("before_send","span",_)}const m=h.transaction_info;if(a&&m&&h.transaction!==t.transaction){const g="custom";h.transaction_info={...m,source:g}}return this.sendEvent(h,n),h}).then(null,h=>{throw Zm(h)||Jm(h)?h:(this.captureException(h,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:h}),La(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. Reason: ${h}`))})}_process(t,n){this._numProcessing++,this._promiseBuffer.add(t).then(r=>(this._numProcessing--,r),r=>(this._numProcessing--,r===Md&&this.recordDroppedEvent("queue_overflow",n),r))}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.entries(t).map(([n,r])=>{const[s,i]=n.split(":");return{reason:s,category:i,quantity:r}})}_flushOutcomes(){oe&&X.log("Flushing outcomes...");const t=this._clearOutcomes();if(t.length===0){oe&&X.log("No outcomes to send");return}if(!this._dsn){oe&&X.log("No dsn provided, will not send outcomes");return}oe&&X.log("Sending outcomes:",t);const n=jO(t,this._options.tunnel&&Ri(this._dsn));this.sendEnvelope(n)}}function eg(e){return e==="replay_event"?"replay":e||"error"}function YO(e,t){const n=`${t} must return \`null\` or a valid event.`;if(Ci(e))return e.then(r=>{if(!To(r)&&r!==null)throw La(n);return r},r=>{throw La(`${t} rejected with ${r}`)});if(!To(e)&&e!==null)throw La(n);return e}function XO(e,t,n,r){const{beforeSend:s,beforeSendTransaction:i,beforeSendSpan:o,ignoreSpans:a}=t;let c=n;if(Ju(c)&&s)return s(c,r);if(mS(c)){if(o||a){const l=zO(c);if(a!=null&&a.length&&fc(l,a))return null;if(o){const u=o(l);u?c=jo(n,qO(u)):qu()}if(c.spans){const u=[],f=c.spans;for(const h of f){if(a!=null&&a.length&&fc(h,a)){T1(f,h);continue}if(o){const p=o(h);p?u.push(p):(qu(),u.push(h))}else u.push(h)}const d=c.spans.length-u.length;d&&e.recordDroppedEvent("before_send","span",d),c.spans=u}}if(i){if(c.spans){const l=c.spans.length;c.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:l}}return i(c,r)}}return c}function Ju(e){return e.type===void 0}function mS(e){return e.type==="transaction"}function JO(e){let t=0;return e.name&&(t+=e.name.length*2),t+=8,t+gS(e.attributes)}function ZO(e){let t=0;return e.message&&(t+=e.message.length*2),t+gS(e.attributes)}function gS(e){if(!e)return 0;let t=0;return Object.values(e).forEach(n=>{Array.isArray(n)?t+=n.length*tg(n[0]):ii(n)?t+=tg(n):t+=100}),t}function tg(e){return typeof e=="string"?e.length*2:typeof e=="number"?8:typeof e=="boolean"?4:0}function QO(e){return Yc(e)&&"__sentry_fetch_url_host__"in e&&typeof e.__sentry_fetch_url_host__=="string"}function ng(e){return QO(e)?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}function eM(e,t){t.debug===!0&&(oe?X.enable():lr(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),De().update(t.initialScope);const r=new e(t);return tM(r),r.init(),r}function tM(e){De().setClient(e)}const nM="thismessage:/";function Nd(e){return"isRelative"in e}function Ld(e,t){const n=e.indexOf("://")<=0&&e.indexOf("//")!==0,r=n?nM:void 0;try{if("canParse"in URL&&!URL.canParse(e,r))return;const s=new URL(e,r);return n?{isRelative:n,pathname:s.pathname,search:s.search,hash:s.hash}:s}catch{}}function rM(e){if(Nd(e))return e.pathname;const t=new URL(e);return t.search="",t.hash="",["80","443"].includes(t.port)&&(t.port=""),t.password&&(t.password="%filtered%"),t.username&&(t.username="%filtered%"),t.toString()}function cs(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function sM(e){return e.split(/[?#]/,1)[0]}function Tr(e,t=!0){if(e.startsWith("data:")){const n=e.match(/^data:([^;,]+)/),r=n?n[1]:"text/plain",s=e.includes(";base64,"),i=e.indexOf(",");let o="";if(t&&i!==-1){const a=e.slice(i+1);o=a.length>10?`${a.slice(0,10)}... [truncated]`:a}return`data:${r}${s?",base64":""}${o?`,${o}`:""}`}return e}function iM(e,t){const n=t==null?void 0:t.getDsn(),r=t==null?void 0:t.getOptions().tunnel;return aM(e,n)||oM(e,r)}function oM(e,t){return t?rg(e)===rg(t):!1}function aM(e,t){const n=Ld(e);return!n||Nd(n)?!1:t?n.host.includes(t.host)&&/(^|&|\?)sentry_key=/.test(n.search):!1}function rg(e){return e[e.length-1]==="/"?e.slice(0,-1):e}function cM(e){var t;"aggregates"in e?((t=e.attrs)==null?void 0:t.ip_address)===void 0&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):e.ipAddress===void 0&&(e.ipAddress="{{auto}}")}function yS(e,t,n=[t],r="npm"){const s=e._metadata||{};s.sdk||(s.sdk={name:`sentry.javascript.${t}`,packages:n.map(i=>({name:`${r}:@sentry/${i}`,version:is})),version:is}),e._metadata=s}function vS(e={}){const t=e.client||Ie();if(!TO()||!t)return{};const n=bs(),r=ki(n);if(r.getTraceData)return r.getTraceData(e);const s=e.scope||De(),i=e.span||bt(),o=i?v1(i):lM(s),a=i?sr(i):qb(t,s),c=n1(a);if(!Fb.test(o))return X.warn("Invalid sentry-trace data. Cannot generate trace data"),{};const u={"sentry-trace":o,baggage:c};return e.propagateTraceparent&&(u.traceparent=i?_1(i):uM(s)),u}function lM(e){const{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return $b(t,r,n)}function uM(e){const{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return Bb(t,r,n)}function fM(e,t,n){let r,s,i;const o=n!=null&&n.maxWait?Math.max(n.maxWait,t):0,a=(n==null?void 0:n.setTimeoutImpl)||setTimeout;function c(){return l(),r=e(),r}function l(){s!==void 0&&clearTimeout(s),i!==void 0&&clearTimeout(i),s=i=void 0}function u(){return s!==void 0||i!==void 0?c():r}function f(){return s&&clearTimeout(s),s=a(c,t),o&&i===void 0&&(i=a(c,o)),r}return f.cancel=l,f.flush=u,f}const dM=100;function Or(e,t){const n=Ie(),r=Nn();if(!n)return;const{beforeBreadcrumb:s=null,maxBreadcrumbs:i=dM}=n.getOptions();if(i<=0)return;const a={timestamp:Ss(),...e},c=s?lr(()=>s(a,t)):a;c!==null&&(n.emit&&n.emit("beforeAddBreadcrumb",c,t),r.addBreadcrumb(c,i))}let sg;const hM="FunctionToString",ig=new WeakMap,pM=()=>({name:hM,setupOnce(){sg=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=Sd(this),n=ig.has(Ie())&&t!==void 0?t:this;return sg.apply(n,e)}}catch{}},setup(e){ig.set(e,!0)}}),mM=pM,gM=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,`can't redefine non-configurable property "solana"`,"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/],yM="EventFilters",vM=(e={})=>{let t;return{name:yM,setup(n){const r=n.getOptions();t=og(e,r)},processEvent(n,r,s){if(!t){const i=s.getOptions();t=og(e,i)}return bM(n,t)?null:n}}},_M=(e={})=>({...vM(e),name:"InboundFilters"});function og(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:gM],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function bM(e,t){if(e.type){if(e.type==="transaction"&&EM(e,t.ignoreTransactions))return oe&&X.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. Event: ${Xr(e)}`),!0}else{if(SM(e,t.ignoreErrors))return oe&&X.warn(`Event dropped due to being matched by \`ignoreErrors\` option. Event: ${Xr(e)}`),!0;if(IM(e))return oe&&X.warn(`Event dropped due to not having an error message, error type or stacktrace. Event: ${Xr(e)}`),!0;if(wM(e,t.denyUrls))return oe&&X.warn(`Event dropped due to being matched by \`denyUrls\` option. Event: ${Xr(e)}. Url: ${dc(e)}`),!0;if(!TM(e,t.allowUrls))return oe&&X.warn(`Event dropped due to not being matched by \`allowUrls\` option. Event: ${Xr(e)}. Url: ${dc(e)}`),!0}return!1}function SM(e,t){return t!=null&&t.length?dS(e).some(n=>Gn(n,t)):!1}function EM(e,t){if(!(t!=null&&t.length))return!1;const n=e.transaction;return n?Gn(n,t):!1}function wM(e,t){if(!(t!=null&&t.length))return!1;const n=dc(e);return n?Gn(n,t):!1}function TM(e,t){if(!(t!=null&&t.length))return!0;const n=dc(e);return n?Gn(n,t):!0}function CM(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&n.filename!==""&&n.filename!=="[native code]")return n.filename||null}return null}function dc(e){var t,n;try{const r=[...((t=e.exception)==null?void 0:t.values)??[]].reverse().find(i=>{var o,a,c;return((o=i.mechanism)==null?void 0:o.parent_id)===void 0&&((c=(a=i.stacktrace)==null?void 0:a.frames)==null?void 0:c.length)}),s=(n=r==null?void 0:r.stacktrace)==null?void 0:n.frames;return s?CM(s):null}catch{return oe&&X.error(`Cannot extract url for event ${Xr(e)}`),null}}function IM(e){var t,n;return(n=(t=e.exception)==null?void 0:t.values)!=null&&n.length?!e.message&&!e.exception.values.some(r=>r.stacktrace||r.type&&r.type!=="Error"||r.value):!1}function kM(e,t,n,r,s,i){var a;if(!((a=s.exception)!=null&&a.values)||!i||!tr(i.originalException,Error))return;const o=s.exception.values.length>0?s.exception.values[s.exception.values.length-1]:void 0;o&&(s.exception.values=Zu(e,t,r,i.originalException,n,s.exception.values,o,0))}function Zu(e,t,n,r,s,i,o,a){if(i.length>=n+1)return i;let c=[...i];if(tr(r[s],Error)){ag(o,a);const l=e(t,r[s]),u=c.length;cg(l,s,u,a),c=Zu(e,t,n,r[s],s,[l,...c],l,u)}return Array.isArray(r.errors)&&r.errors.forEach((l,u)=>{if(tr(l,Error)){ag(o,a);const f=e(t,l),d=c.length;cg(f,`errors[${u}]`,d,a),c=Zu(e,t,n,l,s,[f,...c],f,d)}}),c}function ag(e,t){e.mechanism={handled:!0,type:"auto.core.linked_errors",...e.mechanism,...e.type==="AggregateError"&&{is_exception_group:!0},exception_id:t}}function cg(e,t,n,r){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}function xM(e){const t="console";$r(t,e),Br(t,RM)}function RM(){"console"in Ce&&hA.forEach(function(e){e in Ce.console&&$t(Ce.console,e,function(t){return cc[e]=t,function(...n){rn("console",{args:n,level:e});const s=cc[e];s==null||s.apply(Ce.console,n)}})})}function _S(e){return e==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}const AM="Dedupe",OM=()=>{let e;return{name:AM,processEvent(t){if(t.type)return t;try{if(PM(t,e))return oe&&X.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}},MM=OM;function PM(e,t){return t?!!(NM(e,t)||LM(e,t)):!1}function NM(e,t){const n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!SS(e,t)||!bS(e,t))}function LM(e,t){const n=lg(t),r=lg(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!SS(e,t)||!bS(e,t))}function bS(e,t){let n=_m(e),r=_m(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let s=0;sf[0]==="sentry-trace")||l.push(["sentry-trace",i]),r&&a&&!c.find(f=>f[0]==="traceparent")&&l.push(["traceparent",a]);const u=c.find(f=>f[0]==="baggage"&&da(f[1]));return o&&!u&&l.push(["baggage",o]),l}else{const l="sentry-trace"in c?c["sentry-trace"]:void 0,u="traceparent"in c?c.traceparent:void 0,f="baggage"in c?c.baggage:void 0,d=f?Array.isArray(f)?[...f]:[f]:[],h=f&&(Array.isArray(f)?f.find(m=>da(m)):da(f));o&&!h&&d.push(o);const p={...c,"sentry-trace":l??i,baggage:d.length>0?d.join(","):void 0};return r&&a&&!u&&(p.traceparent=a),p}else return{...s}}function BM(e,t){var n,r;if(t.response){Mb(e,t.response.status);const s=(r=(n=t.response)==null?void 0:n.headers)==null?void 0:r.get("content-length");if(s){const i=parseInt(s);i>0&&e.setAttribute("http.response_content_length",i)}}else t.error&&e.setStatus({code:ct,message:"internal_error"});e.end()}function da(e){return e.split(",").some(t=>t.trim().startsWith(Cd))}function HM(e){return typeof Headers<"u"&&tr(e,Headers)}function VM(e,t,n){if(e.startsWith("data:")){const i=Tr(e);return{name:`${t} ${i}`,attributes:ug(e,void 0,t,n)}}const r=Ld(e),s=r?rM(r):e;return{name:`${t} ${s}`,attributes:ug(e,r,t,n)}}function ug(e,t,n,r){const s={url:Tr(e),type:"fetch","http.method":n,[Qe]:r,[rr]:"http.client"};return t&&(Nd(t)||(s["http.url"]=Tr(t.href),s["server.address"]=t.host),t.search&&(s["http.query"]=t.search),t.hash&&(s["http.fragment"]=t.hash)),s}function ES(e){if(e!==void 0)return e>=400&&e<500?"warning":e>=500?"error":void 0}const ko=Ce;function UM(){return"history"in ko&&!!ko.history}function WM(){if(!("fetch"in ko))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}function Qu(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function jM(){var n;if(typeof EdgeRuntime=="string")return!0;if(!WM())return!1;if(Qu(ko.fetch))return!0;let e=!1;const t=ko.document;if(t&&typeof t.createElement=="function")try{const r=t.createElement("iframe");r.hidden=!0,t.head.appendChild(r),(n=r.contentWindow)!=null&&n.fetch&&(e=Qu(r.contentWindow.fetch)),t.head.removeChild(r)}catch(r){oe&&X.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",r)}return e}function wS(e,t){const n="fetch";$r(n,e),Br(n,()=>TS(void 0,t))}function zM(e){const t="fetch-body-resolved";$r(t,e),Br(t,()=>TS(GM))}function TS(e,t=!1){t&&!jM()||$t(Ce,"fetch",function(n){return function(...r){const s=new Error,{method:i,url:o}=KM(r),a={args:r,fetchData:{method:i,url:o},startTimestamp:st()*1e3,virtualError:s,headers:YM(r)};return e||rn("fetch",{...a}),n.apply(Ce,r).then(async c=>(e?e(c):rn("fetch",{...a,endTimestamp:st()*1e3,response:c}),c),c=>{rn("fetch",{...a,endTimestamp:st()*1e3,error:c}),Yc(c)&&c.stack===void 0&&(c.stack=s.stack,Vt(c,"framesToPop",1));const l=Ie(),u=(l==null?void 0:l.getOptions().enhanceFetchErrorMessages)??"always";if(u!==!1&&c instanceof TypeError&&(c.message==="Failed to fetch"||c.message==="Load failed"||c.message==="NetworkError when attempting to fetch resource."))try{const h=new URL(a.fetchData.url).host;u==="always"?c.message=`${c.message} (${h})`:Vt(c,"__sentry_fetch_url_host__",h)}catch{}throw c})}})}async function qM(e,t){if(e!=null&&e.body){const n=e.body,r=n.getReader(),s=setTimeout(()=>{n.cancel().then(null,()=>{})},90*1e3);let i=!0;for(;i;){let o;try{o=setTimeout(()=>{n.cancel().then(null,()=>{})},5e3);const{done:a}=await r.read();clearTimeout(o),a&&(t(),i=!1)}catch{i=!1}finally{clearTimeout(o)}}clearTimeout(s),r.releaseLock(),n.cancel().then(null,()=>{})}}function GM(e){let t;try{t=e.clone()}catch{return}qM(t,()=>{rn("fetch-body-resolved",{endTimestamp:st()*1e3,response:e})})}function Da(e,t){return!!e&&typeof e=="object"&&!!e[t]}function fg(e){return typeof e=="string"?e:e?Da(e,"url")?e.url:e.toString?e.toString():"":""}function KM(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[n,r]=e;return{url:fg(n),method:Da(r,"method")?String(r.method).toUpperCase():_d(n)&&Da(n,"method")?String(n.method).toUpperCase():"GET"}}const t=e[0];return{url:fg(t),method:Da(t,"method")?String(t.method).toUpperCase():"GET"}}function YM(e){const[t,n]=e;try{if(typeof n=="object"&&n!==null&&"headers"in n&&n.headers)return new Headers(n.headers);if(_d(t))return new Headers(t.headers)}catch{}}function XM(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function JM(){return"npm"}function ZM(){return!XM()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function ef(){return typeof window<"u"&&(!ZM()||QM())}function QM(){const e=Ce.process;return(e==null?void 0:e.type)==="renderer"}const Ae=Ce;let tf=0;function CS(){return tf>0}function eP(){tf++,setTimeout(()=>{tf--})}function ui(e,t={}){function n(s){return typeof s=="function"}if(!n(e))return e;try{const s=e.__sentry_wrapped__;if(s)return typeof s=="function"?s:e;if(Sd(e))return e}catch{return e}const r=function(...s){try{const i=s.map(o=>ui(o,t));return e.apply(this,i)}catch(i){throw eP(),Jc(o=>{o.addEventProcessor(a=>(t.mechanism&&(Wu(a,void 0),oi(a,t.mechanism)),a.extra={...a.extra,arguments:s},a)),el(i)}),i}};try{for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(r[s]=e[s])}catch{}kb(r,e),Vt(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}function Dd(){const e=Ii(),{referrer:t}=Ae.document||{},{userAgent:n}=Ae.navigator||{},r={...t&&{Referer:t},...n&&{"User-Agent":n}};return{url:e,headers:r}}function Fd(e,t){const n=$d(e,t),r={type:iP(t),value:oP(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function tP(e,t,n,r){const s=Ie(),i=s==null?void 0:s.getOptions().normalizeDepth,o=fP(t),a={__serialized__:Gb(t,i)};if(o)return{exception:{values:[Fd(e,o)]},extra:a};const c={exception:{values:[{type:Xc(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:lP(t,{isUnhandledRejection:r})}]},extra:a};if(n){const l=$d(e,n);l.length&&(c.exception.values[0].stacktrace={frames:l})}return c}function Kl(e,t){return{exception:{values:[Fd(e,t)]}}}function $d(e,t){const n=t.stacktrace||t.stack||"",r=rP(t),s=sP(t);try{return e(n,r,s)}catch{}return[]}const nP=/Minified React error #\d+;/i;function rP(e){return e&&nP.test(e.message)?1:0}function sP(e){return typeof e.framesToPop=="number"?e.framesToPop:0}function IS(e){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?e instanceof WebAssembly.Exception:!1}function iP(e){const t=e==null?void 0:e.name;return!t&&IS(e)?e.message&&Array.isArray(e.message)&&e.message.length==2?e.message[0]:"WebAssembly.Exception":t}function oP(e){const t=e==null?void 0:e.message;return IS(e)?Array.isArray(e.message)&&e.message.length==2?e.message[1]:"wasm exception":t?t.error&&typeof t.error.message=="string"?ng(t.error):ng(e):"No error message"}function aP(e,t,n,r){const s=(n==null?void 0:n.syntheticException)||void 0,i=Bd(e,t,s,r);return oi(i),i.level="error",n!=null&&n.event_id&&(i.event_id=n.event_id),Qc(i)}function cP(e,t,n="info",r,s){const i=(r==null?void 0:r.syntheticException)||void 0,o=nf(e,t,i,s);return o.level=n,r!=null&&r.event_id&&(o.event_id=r.event_id),Qc(o)}function Bd(e,t,n,r,s){let i;if(Tb(t)&&t.error)return Kl(e,t.error);if(Sm(t)||TA(t)){const o=t;if("stack"in t)i=Kl(e,t);else{const a=o.name||(Sm(o)?"DOMError":"DOMException"),c=o.message?`${a}: ${o.message}`:a;i=nf(e,c,n,r),Wu(i,c)}return"code"in o&&(i.tags={...i.tags,"DOMException.code":`${o.code}`}),i}return Yc(t)?Kl(e,t):To(t)||Xc(t)?(i=tP(e,t,n,s),oi(i,{synthetic:!0}),i):(i=nf(e,t,n,r),Wu(i,`${t}`),oi(i,{synthetic:!0}),i)}function nf(e,t,n,r){const s={};if(r&&n){const i=$d(e,n);i.length&&(s.exception={values:[{value:t,stacktrace:{frames:i}}]}),oi(s,{synthetic:!0})}if(vd(t)){const{__sentry_template_string__:i,__sentry_template_values__:o}=t;return s.logentry={message:i,params:o},s}return s.message=t,s}function lP(e,{isUnhandledRejection:t}){const n=AA(e),r=t?"promise rejection":"exception";return Tb(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:Xc(e)?`Event \`${uP(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function uP(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function fP(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];if(n instanceof Error)return n}}class dP extends KO{constructor(t){var u;const n=hP(t),r=Ae.SENTRY_SDK_SOURCE||JM();yS(n,"browser",["browser"],r),(u=n._metadata)!=null&&u.sdk&&(n._metadata.sdk.settings={infer_ip:n.sendDefaultPii?"auto":"never",...n._metadata.sdk.settings}),super(n);const{sendDefaultPii:s,sendClientReports:i,enableLogs:o,_experiments:a,enableMetrics:c}=this._options,l=c??(a==null?void 0:a.enableMetrics)??!0;Ae.document&&(i||o||l)&&Ae.document.addEventListener("visibilitychange",()=>{Ae.document.visibilityState==="hidden"&&(i&&this._flushOutcomes(),o&&iS(this),l&&aS(this))}),s&&this.on("beforeSendSession",cM)}eventFromException(t,n){return aP(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",r){return cP(this._options.stackParser,t,n,r,this._options.attachStacktrace)}_prepareEvent(t,n,r,s){return t.platform=t.platform||"javascript",super._prepareEvent(t,n,r,s)}}function hP(e){var t;return{release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:(t=Ae.SENTRY_RELEASE)==null?void 0:t.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}const ms=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,me=Ce,pP=(e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good",Go=(e,t,n,r)=>{let s,i;return o=>{t.value>=0&&(o||r)&&(i=t.value-(s??0),(i||s===void 0)&&(s=t.value,t.delta=i,t.rating=pP(t.value,n),e(t)))}},Ko=(e=!0)=>{var n,r;const t=(r=(n=me.performance)==null?void 0:n.getEntriesByType)==null?void 0:r.call(n,"navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStart{const e=Ko();return(e==null?void 0:e.activationStart)??0};function Cr(e,t,n){me.document&&me.addEventListener(e,t,n)}function hc(e,t,n){me.document&&me.removeEventListener(e,t,n)}let Ys=-1;const kS=new Set,mP=()=>{var e,t;return((e=me.document)==null?void 0:e.visibilityState)==="hidden"&&!((t=me.document)!=null&&t.prerendering)?0:1/0},Fa=e=>{if(gP(e)&&Ys>-1){if(e.type==="visibilitychange"||e.type==="pagehide")for(const t of kS)t();isFinite(Ys)||(Ys=e.type==="visibilitychange"?e.timeStamp:0,hc("prerenderingchange",Fa,!0))}},Yo=()=>{var e;if(me.document&&Ys<0){const t=Ai();Ys=(me.document.prerendering||(e=globalThis.performance.getEntriesByType("visibility-state").filter(r=>r.name==="hidden"&&r.startTime>t)[0])==null?void 0:e.startTime)??mP(),Cr("visibilitychange",Fa,!0),Cr("pagehide",Fa,!0),Cr("prerenderingchange",Fa,!0)}return{get firstHiddenTime(){return Ys},onHidden(t){kS.add(t)}}};function gP(e){var t;return e.type==="pagehide"||((t=me.document)==null?void 0:t.visibilityState)==="hidden"}const yP=()=>`v5-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,Xo=(e,t=-1)=>{var i,o;const n=Ko();let r="navigate";return n&&((i=me.document)!=null&&i.prerendering||Ai()>0?r="prerender":(o=me.document)!=null&&o.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:t,rating:"good",delta:0,entries:[],id:yP(),navigationType:r}},Yl=new WeakMap;function Hd(e,t){try{return Yl.get(e)||Yl.set(e,new t),Yl.get(e)}catch{return new t}}class pc{constructor(){pc.prototype.__init.call(this),pc.prototype.__init2.call(this)}__init(){this._sessionValue=0}__init2(){this._sessionEntries=[]}_processEntry(t){var s;if(t.hadRecentInput)return;const n=this._sessionEntries[0],r=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&n&&r&&t.startTime-r.startTime<1e3&&t.startTime-n.startTime<5e3?(this._sessionValue+=t.value,this._sessionEntries.push(t)):(this._sessionValue=t.value,this._sessionEntries=[t]),(s=this._onAfterProcessingUnexpectedShift)==null||s.call(this,t)}}const Oi=(e,t,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver(s=>{Promise.resolve().then(()=>{t(s.getEntries())})});return r.observe({type:e,buffered:!0,...n}),r}}catch{}},Vd=e=>{let t=!1;return()=>{t||(e(),t=!0)}},tl=e=>{var t;(t=me.document)!=null&&t.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},vP=[1800,3e3],_P=(e,t={})=>{tl(()=>{const n=Yo(),r=Xo("FCP");let s;const o=Oi("paint",a=>{for(const c of a)c.name==="first-contentful-paint"&&(o.disconnect(),c.startTime{_P(Vd(()=>{var c;const n=Xo("CLS",0);let r;const s=Yo(),i=Hd(t,pc),o=l=>{for(const u of l)i._processEntry(u);i._sessionValue>n.value&&(n.value=i._sessionValue,n.entries=i._sessionEntries,r())},a=Oi("layout-shift",o);a&&(r=Go(e,n,bP,t.reportAllChanges),s.onHidden(()=>{o(a.takeRecords()),r(!0)}),(c=me==null?void 0:me.setTimeout)==null||c.call(me,r))}))};let xS=0,Xl=1/0,ha=0;const EP=e=>{e.forEach(t=>{t.interactionId&&(Xl=Math.min(Xl,t.interactionId),ha=Math.max(ha,t.interactionId),xS=ha?(ha-Xl)/7+1:0)})};let rf;const RS=()=>rf?xS:performance.interactionCount||0,wP=()=>{"interactionCount"in performance||rf||(rf=Oi("event",EP,{type:"event",buffered:!0,durationThreshold:0}))},Jl=10;let AS=0;const TP=()=>RS()-AS;class mc{constructor(){mc.prototype.__init.call(this),mc.prototype.__init2.call(this)}__init(){this._longestInteractionList=[]}__init2(){this._longestInteractionMap=new Map}_resetInteractions(){AS=RS(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){const t=Math.min(this._longestInteractionList.length-1,Math.floor(TP()/50));return this._longestInteractionList[t]}_processEntry(t){var s,i;if((s=this._onBeforeProcessingEntry)==null||s.call(this,t),!(t.interactionId||t.entryType==="first-input"))return;const n=this._longestInteractionList.at(-1);let r=this._longestInteractionMap.get(t.interactionId);if(r||this._longestInteractionList.lengthn._latency){if(r?t.duration>r._latency?(r.entries=[t],r._latency=t.duration):t.duration===r._latency&&t.startTime===r.entries[0].startTime&&r.entries.push(t):(r={id:t.interactionId,entries:[t],_latency:t.duration},this._longestInteractionMap.set(r.id,r),this._longestInteractionList.push(r)),this._longestInteractionList.sort((o,a)=>a._latency-o._latency),this._longestInteractionList.length>Jl){const o=this._longestInteractionList.splice(Jl);for(const a of o)this._longestInteractionMap.delete(a.id)}(i=this._onAfterProcessingINPCandidate)==null||i.call(this,r)}}}const OS=e=>{var n;const t=me.requestIdleCallback||me.setTimeout;((n=me.document)==null?void 0:n.visibilityState)==="hidden"?e():(e=Vd(e),Cr("visibilitychange",e,{once:!0,capture:!0}),Cr("pagehide",e,{once:!0,capture:!0}),t(()=>{e(),hc("visibilitychange",e,{capture:!0}),hc("pagehide",e,{capture:!0})}))},CP=[200,500],IP=40,kP=(e,t={})=>{if(!(globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return;const n=Yo();tl(()=>{wP();const r=Xo("INP");let s;const i=Hd(t,mc),o=c=>{OS(()=>{for(const u of c)i._processEntry(u);const l=i._estimateP98LongestInteraction();l&&l._latency!==r.value&&(r.value=l._latency,r.entries=l.entries,s())})},a=Oi("event",o,{durationThreshold:t.durationThreshold??IP});s=Go(e,r,CP,t.reportAllChanges),a&&(a.observe({type:"first-input",buffered:!0}),n.onHidden(()=>{o(a.takeRecords()),s(!0)}))})};class xP{_processEntry(t){var n;(n=this._onBeforeProcessingEntry)==null||n.call(this,t)}}const RP=[2500,4e3],AP=(e,t={})=>{tl(()=>{const n=Yo(),r=Xo("LCP");let s;const i=Hd(t,xP),o=c=>{t.reportAllChanges||(c=c.slice(-1));for(const l of c)i._processEntry(l),l.startTime{o(a.takeRecords()),a.disconnect(),s(!0)}),l=u=>{u.isTrusted&&(OS(c),hc(u.type,l,{capture:!0}))};for(const u of["keydown","click","visibilitychange"])Cr(u,l,{capture:!0})}})},OP=[800,1800],sf=e=>{var t,n;(t=me.document)!=null&&t.prerendering?tl(()=>sf(e)):((n=me.document)==null?void 0:n.readyState)!=="complete"?addEventListener("load",()=>sf(e),!0):setTimeout(e)},MP=(e,t={})=>{const n=Xo("TTFB"),r=Go(e,n,OP,t.reportAllChanges);sf(()=>{const s=Ko();s&&(n.value=Math.max(s.responseStart-Ai(),0),n.entries=[s],r(!0))})},no={},gc={};let MS,PS,NS,LS;function Ud(e,t=!1){return nl("cls",e,NP,MS,t)}function Wd(e,t=!1){return nl("lcp",e,LP,PS,t)}function PP(e){return nl("ttfb",e,DP,NS)}function DS(e){return nl("inp",e,FP,LS)}function gs(e,t){return FS(e,t),gc[e]||($P(e),gc[e]=!0),$S(e,t)}function Jo(e,t){const n=no[e];if(n!=null&&n.length)for(const r of n)try{r(t)}catch(s){ms&&X.error(`Error while triggering instrumentation handler. Type: ${e} Name: ${er(r)} Error:`,s)}}function NP(){return SP(e=>{Jo("cls",{metric:e}),MS=e},{reportAllChanges:!0})}function LP(){return AP(e=>{Jo("lcp",{metric:e}),PS=e},{reportAllChanges:!0})}function DP(){return MP(e=>{Jo("ttfb",{metric:e}),NS=e})}function FP(){return kP(e=>{Jo("inp",{metric:e}),LS=e})}function nl(e,t,n,r,s=!1){FS(e,t);let i;return gc[e]||(i=n(),gc[e]=!0),r&&t({metric:r}),$S(e,t,s?i:void 0)}function $P(e){const t={};e==="event"&&(t.durationThreshold=0),Oi(e,n=>{Jo(e,{entries:n})},t)}function FS(e,t){no[e]=no[e]||[],no[e].push(t)}function $S(e,t,n){return()=>{n&&n();const r=no[e];if(!r)return;const s=r.indexOf(t);s!==-1&&r.splice(s,1)}}function BP(e){return"duration"in e}const HP=e=>{const t=n=>{var r;(n.type==="pagehide"||((r=me.document)==null?void 0:r.visibilityState)==="hidden")&&e(n)};Cr("visibilitychange",t,{capture:!0,once:!0}),Cr("pagehide",t,{capture:!0,once:!0})};function Zl(e){return typeof e=="number"&&isFinite(e)}function Mr(e,t,n,{...r}){const s=ke(e).start_timestamp;return s&&s>t&&typeof e.updateStartTime=="function"&&e.updateStartTime(t),Rd(e,()=>{const i=Ar({startTime:t,...r});return i&&i.end(n),i})}function jd(e){var y;const t=Ie();if(!t)return;const{name:n,transaction:r,attributes:s,startTime:i}=e,{release:o,environment:a,sendDefaultPii:c}=t.getOptions(),l=t.getIntegrationByName("Replay"),u=l==null?void 0:l.getReplayId(),f=De(),d=f.getUser(),h=d!==void 0?d.email||d.id||d.ip_address:void 0;let p;try{p=f.getScopeData().contexts.profile.profile_id}catch{}const m={release:o,environment:a,user:h||void 0,profile_id:p||void 0,replay_id:u||void 0,transaction:r,"user_agent.original":(y=me.navigator)==null?void 0:y.userAgent,"client.address":c?"{{auto}}":void 0,...s};return Ar({name:n,attributes:m,startTime:i,experimental:{standalone:!0}})}function Zo(){return me.addEventListener&&me.performance}function nt(e){return e/1e3}function VP(e){let t="unknown",n="unknown",r="";for(const s of e){if(s==="/"){[t,n]=e.split("/");break}if(!isNaN(Number(s))){t=r==="h"?"http":r,n=e.split(r)[1];break}r+=s}return r===e&&(t=r),{name:t,version:n}}function BS(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch{return!1}}function HS(e,t){let n,r=!1;function s(a){!r&&n&&t(a,n),r=!0}HP(()=>{s("pagehide")});const i=e.on("beforeStartNavigationSpan",(a,c)=>{c!=null&&c.isRedirect||(s("navigation"),i(),o())}),o=e.on("afterStartPageLoadSpan",a=>{n=a.spanContext().spanId,o()})}function UP(e){let t=0,n;if(!BS("layout-shift"))return;const r=Ud(({metric:s})=>{const i=s.entries[s.entries.length-1];i&&(t=s.value,n=i)},!0);HS(e,(s,i)=>{WP(t,n,i,s),r()})}function WP(e,t,n,r){var l;ms&&X.log(`Sending CLS span (${e})`);const s=t?nt((Ut()||0)+t.startTime):st(),i=De().getScopeData().transactionName,o=t?Ht((l=t.sources[0])==null?void 0:l.node):"Layout shift",a={[Qe]:"auto.http.browser.cls",[rr]:"ui.webvital.cls",[xi]:0,"sentry.pageload.span_id":n,"sentry.report_event":r};t!=null&&t.sources&&t.sources.forEach((u,f)=>{a[`cls.source.${f+1}`]=Ht(u.node)});const c=jd({name:o,transaction:i,attributes:a,startTime:s});c&&(c.addEvent("cls",{[zo]:"",[qo]:e}),c.end(s))}function jP(e){let t=0,n;if(!BS("largest-contentful-paint"))return;const r=Wd(({metric:s})=>{const i=s.entries[s.entries.length-1];i&&(t=s.value,n=i)},!0);HS(e,(s,i)=>{zP(t,n,i,s),r()})}function zP(e,t,n,r){ms&&X.log(`Sending LCP span (${e})`);const s=nt((Ut()||0)+((t==null?void 0:t.startTime)||0)),i=De().getScopeData().transactionName,o=t?Ht(t.element):"Largest contentful paint",a={[Qe]:"auto.http.browser.lcp",[rr]:"ui.webvital.lcp",[xi]:0,"sentry.pageload.span_id":n,"sentry.report_event":r};t&&(t.element&&(a["lcp.element"]=Ht(t.element)),t.id&&(a["lcp.id"]=t.id),t.url&&(a["lcp.url"]=t.url),t.loadTime!=null&&(a["lcp.loadTime"]=t.loadTime),t.renderTime!=null&&(a["lcp.renderTime"]=t.renderTime),t.size!=null&&(a["lcp.size"]=t.size));const c=jd({name:o,transaction:i,attributes:a,startTime:s});c&&(c.addEvent("lcp",{[zo]:"millisecond",[qo]:e}),c.end(s))}function Zt(e){return e&&((Ut()||performance.timeOrigin)+e)/1e3}function VS(e){var n;const t={};if(e.nextHopProtocol!=null){const{name:r,version:s}=VP(e.nextHopProtocol);t["network.protocol.version"]=s,t["network.protocol.name"]=r}return Ut()||(n=Zo())!=null&&n.timeOrigin?qP({...t,"http.request.redirect_start":Zt(e.redirectStart),"http.request.redirect_end":Zt(e.redirectEnd),"http.request.worker_start":Zt(e.workerStart),"http.request.fetch_start":Zt(e.fetchStart),"http.request.domain_lookup_start":Zt(e.domainLookupStart),"http.request.domain_lookup_end":Zt(e.domainLookupEnd),"http.request.connect_start":Zt(e.connectStart),"http.request.secure_connection_start":Zt(e.secureConnectionStart),"http.request.connection_end":Zt(e.connectEnd),"http.request.request_start":Zt(e.requestStart),"http.request.response_start":Zt(e.responseStart),"http.request.response_end":Zt(e.responseEnd),"http.request.time_to_first_byte":e.responseStart!=null?e.responseStart/1e3:void 0}):t}function qP(e){return Object.fromEntries(Object.entries(e).filter(([,t])=>t!=null))}const GP=2147483647;let dg=0,fn={},Dt,$s;function KP({recordClsStandaloneSpans:e,recordLcpStandaloneSpans:t,client:n}){const r=Zo();if(r&&Ut()){r.mark&&me.performance.mark("sentry-tracing-init");const s=t?jP(n):QP(),i=eN(),o=e?UP(n):ZP();return()=>{s==null||s(),i(),o==null||o()}}return()=>{}}function YP(){gs("longtask",({entries:e})=>{const t=bt();if(!t)return;const{op:n,start_timestamp:r}=ke(t);for(const s of e){const i=nt(Ut()+s.startTime),o=nt(s.duration);n==="navigation"&&r&&i{const n=bt();if(n)for(const r of t.getEntries()){if(!r.scripts[0])continue;const s=nt(Ut()+r.startTime),{start_timestamp:i,op:o}=ke(n);if(o==="navigation"&&i&&s{const t=bt();if(t){for(const n of e)if(n.name==="click"){const r=nt(Ut()+n.startTime),s=nt(n.duration),i={name:Ht(n.target),op:`ui.interaction.${n.name}`,startTime:r,attributes:{[Qe]:"auto.ui.browser.metrics"}},o=Ib(n.target);o&&(i.attributes["ui.component_name"]=o),Mr(t,r,r+s,i)}}})}function ZP(){return Ud(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(fn.cls={value:e.value,unit:""},$s=t)},!0)}function QP(){return Wd(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(fn.lcp={value:e.value,unit:"millisecond"},Dt=t)},!0)}function eN(){return PP(({metric:e})=>{e.entries[e.entries.length-1]&&(fn.ttfb={value:e.value,unit:"millisecond"})})}function tN(e,t){const n=Zo(),r=Ut();if(!(n!=null&&n.getEntries)||!r)return;const s=nt(r),i=n.getEntries(),{op:o,start_timestamp:a}=ke(e);i.slice(dg).forEach(c=>{const l=nt(c.startTime),u=nt(Math.max(0,c.duration));if(!(o==="navigation"&&a&&s+l{j1(c,l.value,l.unit)}),e.setAttribute("performance.timeOrigin",s),e.setAttribute("performance.activationStart",Ai()),uN(e,t)),Dt=void 0,$s=void 0,fn={}}function nN(e){if((e==null?void 0:e.entryType)==="measure")try{return e.detail.devtools.track==="Components ⚛"}catch{return}}function rN(e,t,n,r,s,i){if(nN(t)||["mark","measure"].includes(t.entryType)&&Gn(t.name,i))return;const o=Ko(!1),a=nt(o?o.requestStart:0),c=s+Math.max(n,a),l=s+n,u=l+r,f={[Qe]:"auto.resource.browser.metrics"};c!==l&&(f["sentry.browser.measure_happened_before_request"]=!0,f["sentry.browser.measure_start_time"]=c),sN(f,t),c<=u&&Mr(e,c,u,{name:t.name,op:t.entryType,attributes:f})}function sN(e,t){try{const n=t.detail;if(!n)return;if(typeof n=="object"){for(const[r,s]of Object.entries(n))if(s&&ii(s))e[`sentry.browser.measure.detail.${r}`]=s;else if(s!==void 0)try{e[`sentry.browser.measure.detail.${r}`]=JSON.stringify(s)}catch{}return}if(ii(n)){e["sentry.browser.measure.detail"]=n;return}try{e["sentry.browser.measure.detail"]=JSON.stringify(n)}catch{}}catch{}}function iN(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{pa(e,t,r,n)}),pa(e,t,"secureConnection",n,"TLS/SSL"),pa(e,t,"fetch",n,"cache"),pa(e,t,"domainLookup",n,"DNS"),aN(e,t,n)}function pa(e,t,n,r,s=n){const i=oN(n),o=t[i],a=t[`${n}Start`];!a||!o||Mr(e,r+nt(a),r+nt(o),{op:`browser.${s}`,name:t.name,attributes:{[Qe]:"auto.ui.browser.metrics",...n==="redirect"&&t.redirectCount!=null?{"http.redirect_count":t.redirectCount}:{}}})}function oN(e){return e==="secureConnection"?"connectEnd":e==="fetch"?"domainLookupStart":`${e}End`}function aN(e,t,n){const r=n+nt(t.requestStart),s=n+nt(t.responseEnd),i=n+nt(t.responseStart);t.responseEnd&&(Mr(e,r,s,{op:"browser.request",name:t.name,attributes:{[Qe]:"auto.ui.browser.metrics"}}),Mr(e,i,s,{op:"browser.response",name:t.name,attributes:{[Qe]:"auto.ui.browser.metrics"}}))}function cN(e,t,n,r,s,i,o){if(t.initiatorType==="xmlhttprequest"||t.initiatorType==="fetch")return;const a=t.initiatorType?`resource.${t.initiatorType}`:"resource.other";if(o!=null&&o.includes(a))return;const c={[Qe]:"auto.resource.browser.metrics"},l=cs(n);l.protocol&&(c["url.scheme"]=l.protocol.split(":").pop()),l.host&&(c["server.address"]=l.host),c["url.same_origin"]=n.includes(me.location.origin),fN(t,c,[["responseStatus","http.response.status_code"],["transferSize","http.response_transfer_size"],["encodedBodySize","http.response_content_length"],["decodedBodySize","http.decoded_response_content_length"],["renderBlockingStatus","resource.render_blocking_status"],["deliveryType","http.response_delivery_type"]]);const u={...c,...VS(t)},f=i+r,d=f+s;Mr(e,f,d,{name:n.replace(me.location.origin,""),op:a,attributes:u})}function lN(e){const t=me.navigator;if(!t)return;const n=t.connection;n&&(n.effectiveType&&e.setAttribute("effectiveConnectionType",n.effectiveType),n.type&&e.setAttribute("connectionType",n.type),Zl(n.rtt)&&(fn["connection.rtt"]={value:n.rtt,unit:"millisecond"})),Zl(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`),Zl(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}function uN(e,t){Dt&&t.recordLcpOnPageloadSpan&&(Dt.element&&e.setAttribute("lcp.element",Ht(Dt.element)),Dt.id&&e.setAttribute("lcp.id",Dt.id),Dt.url&&e.setAttribute("lcp.url",Dt.url.trim().slice(0,200)),Dt.loadTime!=null&&e.setAttribute("lcp.loadTime",Dt.loadTime),Dt.renderTime!=null&&e.setAttribute("lcp.renderTime",Dt.renderTime),e.setAttribute("lcp.size",Dt.size)),$s!=null&&$s.sources&&t.recordClsOnPageloadSpan&&$s.sources.forEach((n,r)=>e.setAttribute(`cls.source.${r+1}`,Ht(n.node)))}function fN(e,t,n){n.forEach(([r,s])=>{const i=e[r];i!=null&&(typeof i=="number"&&i{}}const pN=({entries:e})=>{const t=bt(),n=t?vt(t):void 0,r=n?ke(n).description:De().getScopeData().transactionName;e.forEach(s=>{var h,p;const i=s;if(!i.identifier)return;const o=i.name,a=i.renderTime,c=i.loadTime,[l,u]=c?[nt(c),"load-time"]:a?[nt(a),"render-time"]:[st(),"entry-emission"],f=o==="image-paint"?nt(Math.max(0,(a??0)-(c??0))):0,d={[Qe]:"auto.ui.browser.elementtiming",[rr]:"ui.elementtiming",[Bt]:"component","sentry.span_start_time_source":u,"sentry.transaction_name":r,"element.id":i.id,"element.type":((p=(h=i.element)==null?void 0:h.tagName)==null?void 0:p.toLowerCase())||"unknown","element.size":i.naturalWidth&&i.naturalHeight?`${i.naturalWidth}x${i.naturalHeight}`:void 0,"element.render_time":a,"element.load_time":c,"element.url":i.url||void 0,"element.identifier":i.identifier,"element.paint_type":o};X1({name:`element[${i.identifier}]`,attributes:d,startTime:l,onlyIfParent:!0},m=>{m.end(l+f)})})},mN=1e3;let hg,of,af;function US(e){const t="dom";$r(t,e),Br(t,gN)}function gN(){if(!me.document)return;const e=rn.bind(null,"dom"),t=pg(e,!0);me.document.addEventListener("click",t,!1),me.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{var i,o;const s=(i=me[n])==null?void 0:i.prototype;(o=s==null?void 0:s.hasOwnProperty)!=null&&o.call(s,"addEventListener")&&($t(s,"addEventListener",function(a){return function(c,l,u){if(c==="click"||c=="keypress")try{const f=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},d=f[c]=f[c]||{refCount:0};if(!d.handler){const h=pg(e);d.handler=h,a.call(this,c,h,u)}d.refCount++}catch{}return a.call(this,c,l,u)}}),$t(s,"removeEventListener",function(a){return function(c,l,u){if(c==="click"||c=="keypress")try{const f=this.__sentry_instrumentation_handlers__||{},d=f[c];d&&(d.refCount--,d.refCount<=0&&(a.call(this,c,d.handler,u),d.handler=void 0,delete f[c]),Object.keys(f).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return a.call(this,c,l,u)}}))})}function yN(e){if(e.type!==of)return!1;try{if(!e.target||e.target._sentryId!==af)return!1}catch{}return!0}function vN(e,t){return e!=="keypress"?!1:t!=null&&t.tagName?!(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable):!0}function pg(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=_N(n);if(vN(n.type,r))return;Vt(n,"_sentryCaptured",!0),r&&!r._sentryId&&Vt(r,"_sentryId",Kt());const s=n.type==="keypress"?"input":n.type;yN(n)||(e({event:n,name:s,global:t}),of=n.type,af=r?r._sentryId:void 0),clearTimeout(hg),hg=me.setTimeout(()=>{af=void 0,of=void 0},mN)}}function _N(e){try{return e.target}catch{return null}}let ma;function rl(e){const t="history";$r(t,e),Br(t,bN)}function bN(){if(me.addEventListener("popstate",()=>{const t=me.location.href,n=ma;if(ma=t,n===t)return;rn("history",{from:n,to:t})}),!UM())return;function e(t){return function(...n){const r=n.length>2?n[2]:void 0;if(r){const s=ma,i=SN(String(r));if(ma=i,s===i)return t.apply(this,n);rn("history",{from:s,to:i})}return t.apply(this,n)}}$t(me.history,"pushState",e),$t(me.history,"replaceState",e)}function SN(e){try{return new URL(e,me.location.origin).toString()}catch{return e}}const $a={};function WS(e){const t=$a[e];if(t)return t;let n=me[e];if(Qu(n))return $a[e]=n.bind(me);const r=me.document;if(r&&typeof r.createElement=="function")try{const s=r.createElement("iframe");s.hidden=!0,r.head.appendChild(s);const i=s.contentWindow;i!=null&&i[e]&&(n=i[e]),r.head.removeChild(s)}catch(s){ms&&X.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,s)}return n&&($a[e]=n.bind(me))}function EN(e){$a[e]=void 0}function Qo(...e){return WS("setTimeout")(...e)}const Zr="__sentry_xhr_v3__";function jS(e){const t="xhr";$r(t,e),Br(t,wN)}function wN(){if(!me.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(t,n,r){const s=new Error,i=st()*1e3,o=qn(r[0])?r[0].toUpperCase():void 0,a=TN(r[1]);if(!o||!a)return t.apply(n,r);n[Zr]={method:o,url:a,request_headers:{}},o==="POST"&&a.match(/sentry_key/)&&(n.__sentry_own_request__=!0);const c=()=>{const l=n[Zr];if(l&&n.readyState===4){try{l.status_code=n.status}catch{}const u={endTimestamp:st()*1e3,startTimestamp:i,xhr:n,virtualError:s};rn("xhr",u)}};return"onreadystatechange"in n&&typeof n.onreadystatechange=="function"?n.onreadystatechange=new Proxy(n.onreadystatechange,{apply(l,u,f){return c(),l.apply(u,f)}}):n.addEventListener("readystatechange",c),n.setRequestHeader=new Proxy(n.setRequestHeader,{apply(l,u,f){const[d,h]=f,p=u[Zr];return p&&qn(d)&&qn(h)&&(p.request_headers[d.toLowerCase()]=h),l.apply(u,f)}}),t.apply(n,r)}}),e.send=new Proxy(e.send,{apply(t,n,r){const s=n[Zr];if(!s)return t.apply(n,r);r[0]!==void 0&&(s.body=r[0]);const i={startTimestamp:st()*1e3,xhr:n};return rn("xhr",i),t.apply(n,r)}})}function TN(e){if(qn(e))return e;try{return e.toString()}catch{}}const CN=Symbol.for("sentry__originalRequestBody");function zS(e){return new URLSearchParams(e).toString()}function qS(e,t=X){try{if(typeof e=="string")return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[zS(e)];if(!e)return[void 0]}catch(n){return ms&&t.error(n,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return ms&&t.log("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function GS(e=[]){if(e.length>=2&&e[1]&&typeof e[1]=="object"&&"body"in e[1])return e[1].body;if(e.length>=1&&e[0]instanceof Request){const n=e[0][CN];return n!==void 0?n:void 0}}function KS(e){let t;try{t=e.getAllResponseHeaders()}catch(n){return ms&&X.error(n,"Failed to get xhr response headers",e),{}}return t?t.split(`\r `).reduce((n,r)=>{const[s,i]=r.split(": ");return i&&(n[s.toLowerCase()]=i),n},{}):{}}const Ql=[],Ba=new Map,xs=new Map,IN=60;function kN(){if(Zo()&&Ut()){const t=xN();return()=>{t()}}return()=>{}}const cf={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};function xN(){return DS(RN)}const RN=({metric:e})=>{if(e.value==null)return;const t=nt(e.value);if(t>IN)return;const n=e.entries.find(p=>p.duration===e.value&&cf[p.name]);if(!n)return;const{interactionId:r}=n,s=cf[n.name],i=nt(Ut()+n.startTime),o=bt(),a=o?vt(o):void 0,c=r!=null?Ba.get(r):void 0,l=(c==null?void 0:c.span)||a,u=l?ke(l).description:De().getScopeData().transactionName,f=(c==null?void 0:c.elementName)||Ht(n.target),d={[Qe]:"auto.http.browser.inp",[rr]:`ui.interaction.${s}`,[xi]:n.duration},h=jd({name:f,transaction:u,attributes:d,startTime:i});h&&(h.addEvent("inp",{[zo]:"millisecond",[qo]:e.value}),h.end(i+t))};function AN(){const e=Object.keys(cf);ef()&&e.forEach(s=>{me.addEventListener(s,t,{capture:!0,passive:!0})});function t(s){const i=s.target;if(!i)return;const o=Ht(i),a=Math.round(s.timeStamp);if(xs.set(a,o),xs.size>50){const c=xs.keys().next().value;c!==void 0&&xs.delete(c)}}function n(s){const i=Math.round(s.startTime);let o=xs.get(i);if(!o)for(let a=-5;a<=5;a++){const c=xs.get(i+a);if(c){o=c;break}}return o||""}const r=({entries:s})=>{const i=bt(),o=i&&vt(i);s.forEach(a=>{if(!BP(a))return;const c=a.interactionId;if(c==null||Ba.has(c))return;const l=a.target?Ht(a.target):n(a);if(Ql.length>10){const u=Ql.shift();Ba.delete(u)}Ql.push(c),Ba.set(c,{span:o,elementName:l})})};gs("event",r),gs("first-input",r)}const ON=40;function MN(e,t=WS("fetch")){let n=0,r=0;async function s(i){const o=i.body.length;n+=o,r++;const a={body:i.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{const c=await t(e.url,a);return{statusCode:c.status,headers:{"x-sentry-rate-limits":c.headers.get("X-Sentry-Rate-Limits"),"retry-after":c.headers.get("Retry-After")}}}catch(c){throw EN("fetch"),c}finally{n-=o,r--}}return WO(e,s,Pd(e.bufferSize||ON))}const an=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,PN=30,NN=50;function lf(e,t,n,r){const s={filename:e,function:t===""?hs:t,in_app:!0};return n!==void 0&&(s.lineno=n),r!==void 0&&(s.colno=r),s}const LN=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,DN=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,FN=/\((\S*)(?::(\d+))(?::(\d+))\)/,$N=/at (.+?) ?\(data:(.+?),/,BN=e=>{const t=e.match($N);if(t)return{filename:``,function:t[1]};const n=LN.exec(e);if(n){const[,s,i,o]=n;return lf(s,hs,+i,+o)}const r=DN.exec(e);if(r){if(r[2]&&r[2].indexOf("eval")===0){const a=FN.exec(r[2]);a&&(r[2]=a[1],r[3]=a[2],r[4]=a[3])}const[i,o]=YS(r[1]||hs,r[2]);return lf(o,i,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}},HN=[PN,BN],VN=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,UN=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,WN=e=>{const t=VN.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const i=UN.exec(t[3]);i&&(t[1]=t[1]||"eval",t[3]=i[1],t[4]=i[2],t[5]="")}let r=t[3],s=t[1]||hs;return[s,r]=YS(s,r),lf(r,s,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},jN=[NN,WN],zN=[HN,jN],qN=_b(...zN),YS=(e,t)=>{const n=e.indexOf("safari-extension")!==-1,r=e.indexOf("safari-web-extension")!==-1;return n||r?[e.indexOf("@")!==-1?e.split("@")[0]:hs,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},ga=1024,GN="Breadcrumbs",KN=(e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:GN,setup(n){t.console&&xM(ZN(n)),t.dom&&US(JN(n,t.dom)),t.xhr&&jS(QN(n)),t.fetch&&wS(eL(n)),t.history&&rl(tL(n)),t.sentry&&n.on("beforeSendEvent",XN(n))}}},YN=KN;function XN(e){return function(n){Ie()===e&&Or({category:`sentry.${n.type==="transaction"?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:Xr(n)},{event:n})}}function JN(e,t){return function(r){if(Ie()!==e)return;let s,i,o=typeof t=="object"?t.serializeAttribute:void 0,a=typeof t=="object"&&typeof t.maxStringLength=="number"?t.maxStringLength:void 0;a&&a>ga&&(an&&X.warn(`\`dom.maxStringLength\` cannot exceed ${ga}, but a value of ${a} was configured. Sentry will use ${ga} instead.`),a=ga),typeof o=="string"&&(o=[o]);try{const l=r.event,u=nL(l)?l.target:l;s=Ht(u,{keyAttrs:o,maxStringLength:a}),i=Ib(u)}catch{s=""}if(s.length===0)return;const c={category:`ui.${r.name}`,message:s};i&&(c.data={"ui.component_name":i}),Or(c,{event:r.event,name:r.name,global:r.global})}}function ZN(e){return function(n){if(Ie()!==e)return;const r={category:"console",data:{arguments:n.args,logger:"console"},level:_S(n.level),message:Tm(n.args," ")};if(n.level==="assert")if(n.args[0]===!1)r.message=`Assertion failed: ${Tm(n.args.slice(1)," ")||"console.assert"}`,r.data.arguments=n.args.slice(1);else return;Or(r,{input:n.args,level:n.level})}}function QN(e){return function(n){if(Ie()!==e)return;const{startTimestamp:r,endTimestamp:s}=n,i=n.xhr[Zr];if(!r||!s||!i)return;const{method:o,url:a,status_code:c,body:l}=i,u={method:o,url:a,status_code:c},f={xhr:n.xhr,input:l,startTimestamp:r,endTimestamp:s},d={category:"xhr",data:u,type:"http",level:ES(c)};e.emit("beforeOutgoingRequestBreadcrumb",d,f),Or(d,f)}}function eL(e){return function(n){if(Ie()!==e)return;const{startTimestamp:r,endTimestamp:s}=n;if(s&&!(n.fetchData.url.match(/sentry_key/)&&n.fetchData.method==="POST"))if(n.fetchData.method,n.fetchData.url,n.error){const i=n.fetchData,o={data:n.error,input:n.args,startTimestamp:r,endTimestamp:s},a={category:"fetch",data:i,level:"error",type:"http"};e.emit("beforeOutgoingRequestBreadcrumb",a,o),Or(a,o)}else{const i=n.response,o={...n.fetchData,status_code:i==null?void 0:i.status};n.fetchData.request_body_size,n.fetchData.response_body_size,i==null||i.status;const a={input:n.args,response:i,startTimestamp:r,endTimestamp:s},c={category:"fetch",data:o,type:"http",level:ES(o.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",c,a),Or(c,a)}}}function tL(e){return function(n){if(Ie()!==e)return;let r=n.from,s=n.to;const i=cs(Ae.location.href);let o=r?cs(r):void 0;const a=cs(s);o!=null&&o.path||(o=i),i.protocol===a.protocol&&i.host===a.host&&(s=a.relative),i.protocol===o.protocol&&i.host===o.host&&(r=o.relative),Or({category:"navigation",data:{from:r,to:s}})}}function nL(e){return!!e&&!!e.target}const rL=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],sL="BrowserApiErrors",iL=(e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:sL,setupOnce(){t.setTimeout&&$t(Ae,"setTimeout",mg),t.setInterval&&$t(Ae,"setInterval",mg),t.requestAnimationFrame&&$t(Ae,"requestAnimationFrame",aL),t.XMLHttpRequest&&"XMLHttpRequest"in Ae&&$t(XMLHttpRequest.prototype,"send",cL);const n=t.eventTarget;n&&(Array.isArray(n)?n:rL).forEach(s=>lL(s,t))}}},oL=iL;function mg(e){return function(...t){const n=t[0];return t[0]=ui(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${er(e)}`}}),e.apply(this,t)}}function aL(e){return function(t){return e.apply(this,[ui(t,{mechanism:{data:{handler:er(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function cL(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(s=>{s in n&&typeof n[s]=="function"&&$t(n,s,function(i){const o={mechanism:{data:{handler:er(i)},handled:!1,type:`auto.browser.browserapierrors.xhr.${s}`}},a=Sd(i);return a&&(o.mechanism.data.handler=er(a)),ui(i,o)})}),e.apply(this,t)}}function lL(e,t){var s,i;const r=(s=Ae[e])==null?void 0:s.prototype;(i=r==null?void 0:r.hasOwnProperty)!=null&&i.call(r,"addEventListener")&&($t(r,"addEventListener",function(o){return function(a,c,l){try{uL(c)&&(c.handleEvent=ui(c.handleEvent,{mechanism:{data:{handler:er(c),target:e},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return t.unregisterOriginalCallbacks&&fL(this,a,c),o.apply(this,[a,ui(c,{mechanism:{data:{handler:er(c),target:e},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),l])}}),$t(r,"removeEventListener",function(o){return function(a,c,l){try{const u=c.__sentry_wrapped__;u&&o.call(this,a,u,l)}catch{}return o.call(this,a,c,l)}}))}function uL(e){return typeof e.handleEvent=="function"}function fL(e,t,n){e&&typeof e=="object"&&"removeEventListener"in e&&typeof e.removeEventListener=="function"&&e.removeEventListener(t,n)}const dL=()=>({name:"BrowserSession",setupOnce(){if(typeof Ae.document>"u"){an&&X.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}zm({ignoreDuration:!0}),qm(),rl(({from:e,to:t})=>{e!==void 0&&e!==t&&(zm({ignoreDuration:!0}),qm())})}}),hL="GlobalHandlers",pL=(e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:hL,setupOnce(){Error.stackTraceLimit=50},setup(n){t.onerror&&(gL(n),gg("onerror")),t.onunhandledrejection&&(yL(n),gg("onunhandledrejection"))}}},mL=pL;function gL(e){Sb(t=>{const{stackParser:n,attachStacktrace:r}=XS();if(Ie()!==e||CS())return;const{msg:s,url:i,line:o,column:a,error:c}=t,l=bL(Bd(n,c||s,void 0,r,!1),i,o,a);l.level="error",tS(l,{originalException:c,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}function yL(e){Eb(t=>{const{stackParser:n,attachStacktrace:r}=XS();if(Ie()!==e||CS())return;const s=vL(t),i=ii(s)?_L(s):Bd(n,s,void 0,r,!0);i.level="error",tS(i,{originalException:s,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}function vL(e){if(ii(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}function _L(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function bL(e,t,n,r){const s=e.exception=e.exception||{},i=s.values=s.values||[],o=i[0]=i[0]||{},a=o.stacktrace=o.stacktrace||{},c=a.frames=a.frames||[],l=r,u=n,f=SL(t)??Ii();return c.length===0&&c.push({colno:l,filename:f,function:hs,in_app:!0,lineno:u}),e}function gg(e){an&&X.log(`Global Handler attached: ${e}`)}function XS(){const e=Ie();return(e==null?void 0:e.getOptions())||{stackParser:()=>[],attachStacktrace:!1}}function SL(e){if(!(!qn(e)||e.length===0))return e.startsWith("data:")?`<${Tr(e,!1)}>`:e}const EL=()=>({name:"HttpContext",preprocessEvent(e){var r;if(!Ae.navigator&&!Ae.location&&!Ae.document)return;const t=Dd(),n={...t.headers,...(r=e.request)==null?void 0:r.headers};e.request={...t,...e.request,headers:n}}}),wL="cause",TL=5,CL="LinkedErrors",IL=(e={})=>{const t=e.limit||TL,n=e.key||wL;return{name:CL,preprocessEvent(r,s,i){const o=i.getOptions();kM(Fd,o.stackParser,n,t,r,s)}}},kL=IL;function xL(){return RL()?(an&&lr(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0):!1}function RL(){var i;if(typeof Ae.window>"u")return!1;const e=Ae;if(e.nw)return!1;const t=e.chrome||e.browser;if(!((i=t==null?void 0:t.runtime)!=null&&i.id))return!1;const n=Ii(),r=["chrome-extension","moz-extension","ms-browser-extension","safari-web-extension"];return!(Ae===Ae.top&&r.some(o=>n.startsWith(`${o}://`)))}function JS(e){return[_M(),mM(),oL(),YN(),mL(),kL(),MM(),EL(),dL()]}function AL(e={}){const t=!e.skipBrowserExtensionCheck&&xL();let n=e.defaultIntegrations==null?JS():e.defaultIntegrations;const r={...e,enabled:t?!1:e.enabled,stackParser:bA(e.stackParser||qN),integrations:MO({integrations:e.integrations,defaultIntegrations:n}),transport:e.transport||MN};return eM(dP,r)}const je=Ce,zd="sentryReplaySession",OL="replay_event",qd="Unable to send Replay",ML=3e5,PL=9e5,NL=5e3,LL=5500,DL=6e4,FL=5e3,$L=3,yg=15e4,ya=5e3,BL=3e3,HL=300,Gd=2e7,VL=4999,UL=5e4,vg=36e5;var WL=Object.defineProperty,jL=(e,t,n)=>t in e?WL(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_g=(e,t,n)=>jL(e,typeof t!="symbol"?t+"":t,n),it=(e=>(e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e))(it||{});function zL(e){return e.nodeType===e.ELEMENT_NODE}function ro(e){const t=e==null?void 0:e.host;return(t==null?void 0:t.shadowRoot)===e}function so(e){return Object.prototype.toString.call(e)==="[object ShadowRoot]"}function qL(e){return e.includes(" background-clip: text;")&&!e.includes(" -webkit-background-clip: text;")&&(e=e.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),e}function GL(e){const{cssText:t}=e;if(t.split('"').length<3)return t;const n=["@import",`url(${JSON.stringify(e.href)})`];return e.layerName===""?n.push("layer"):e.layerName&&n.push(`layer(${e.layerName})`),e.supportsText&&n.push(`supports(${e.supportsText})`),e.media.length&&n.push(e.media.mediaText),n.join(" ")+";"}function yc(e){try{const t=e.rules||e.cssRules;return t?qL(Array.from(t,ZS).join("")):null}catch{return null}}function KL(e){let t="";for(let n=0;nthis.removeNodeFromMap(r))}has(t){return this.idNodeMap.has(t)}hasNode(t){return this.nodeMetaMap.has(t)}add(t,n){const r=n.id;this.idNodeMap.set(r,t),this.nodeMetaMap.set(t,n)}replace(t,n){const r=this.getNode(t);if(r){const s=this.nodeMetaMap.get(r);s&&this.nodeMetaMap.set(n,s)}this.idNodeMap.set(t,n)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function ZL(){return new QS}function sl({maskInputOptions:e,tagName:t,type:n}){return t==="OPTION"&&(t="SELECT"),!!(e[t.toLowerCase()]||n&&e[n]||n==="password"||t==="INPUT"&&!n&&e.text)}function xo({isMasked:e,element:t,value:n,maskInputFn:r}){let s=n||"";return e?(r&&(s=r(s,t)),"*".repeat(s.length)):s}function fi(e){return e.toLowerCase()}function uf(e){return e.toUpperCase()}const bg="__rrweb_original__";function QL(e){const t=e.getContext("2d");if(!t)return!0;const n=50;for(let r=0;rc!==0))return!1}return!0}function Kd(e){const t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?fi(t):null}function vc(e,t,n){return t==="INPUT"&&(n==="radio"||n==="checkbox")?e.getAttribute("value")||"":e.value}function eE(e,t){let n;try{n=new URL(e,t??window.location.href)}catch{return null}const r=/\.([0-9a-z]+)(?:$)/i,s=n.pathname.match(r);return(s==null?void 0:s[1])??null}const Sg={};function tE(e){const t=Sg[e];if(t)return t;const n=window.document;let r=window[e];if(n&&typeof n.createElement=="function")try{const s=n.createElement("iframe");s.hidden=!0,n.head.appendChild(s);const i=s.contentWindow;i&&i[e]&&(r=i[e]),n.head.removeChild(s)}catch{}return Sg[e]=r.bind(window)}function ff(...e){return tE("setTimeout")(...e)}function nE(...e){return tE("clearTimeout")(...e)}function rE(e){try{return e.contentDocument}catch{}}let eD=1;const tD=new RegExp("[^a-z0-9-_:]"),Ro=-2;function Yd(){return eD++}function nD(e){if(e instanceof HTMLFormElement)return"form";const t=fi(e.tagName);return tD.test(t)?"div":t}function rD(e){let t="";return e.indexOf("//")>-1?t=e.split("/").slice(0,3).join("/"):t=e.split("/")[0],t=t.split("?")[0],t}let Rs,Eg;const sD=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,iD=/^(?:[a-z+]+:)?\/\//i,oD=/^www\..*/i,aD=/^(data:)([^,]*),(.*)/i;function cD(e,t){if(!e||t.size===0)return e;try{const n=e.split(";"),r=[];for(let s of n){if(s=s.trim(),!s)continue;const i=s.indexOf(":");if(i===-1){r.push(s);continue}const o=s.slice(0,i).trim();t.has(o)||r.push(s)}return r.join("; ")+(r.length>0&&e.endsWith(";")?";":"")}catch(n){return console.warn("Error filtering CSS properties:",n),e}}function _c(e,t){return(e||"").replace(sD,(n,r,s,i,o,a)=>{const c=s||o||a,l=r||i||"";if(!c)return n;if(iD.test(c)||oD.test(c))return`url(${l}${c}${l})`;if(aD.test(c))return`url(${l}${c}${l})`;if(c[0]==="/")return`url(${l}${rD(t)+c}${l})`;const u=t.split("/"),f=c.split("/");u.pop();for(const d of f)d!=="."&&(d===".."?u.pop():u.push(d));return`url(${l}${u.join("/")}${l})`})}const lD=/^[^ \t\n\r\u000c]+/,uD=/^[, \t\n\r\u000c]+/;function fD(e,t){if(t.trim()==="")return t;let n=0;function r(i){let o;const a=i.exec(t.substring(n));return a?(o=a[0],n+=o.length,o):""}const s=[];for(;r(uD),!(n>=t.length);){let i=r(lD);if(i.slice(-1)===",")i=Bs(e,i.substring(0,i.length-1)),s.push(i);else{let o="";i=Bs(e,i);let a=!1;for(;;){const c=t.charAt(n);if(c===""){s.push((i+o).trim());break}else if(a)c===")"&&(a=!1);else if(c===","){n+=1,s.push((i+o).trim());break}else c==="("&&(a=!0);o+=c,n+=1}}}return s.join(", ")}const wg=new WeakMap;function Bs(e,t){return!t||t.trim()===""?t:il(e,t)}function dD(e){return!!(e.tagName==="svg"||e.ownerSVGElement)}function il(e,t){let n=wg.get(e);if(n||(n=e.createElement("a"),wg.set(e,n)),!t)t="";else if(t.startsWith("blob:")||t.startsWith("data:"))return t;return n.setAttribute("href",t),n.href}function sE(e,t,n,r,s,i,o){if(!r)return r;if(n==="src"||n==="href"&&!(t==="use"&&r[0]==="#"))return Bs(e,r);if(n==="xlink:href"&&r[0]!=="#")return Bs(e,r);if(n==="background"&&(t==="table"||t==="td"||t==="th"))return Bs(e,r);if(n==="srcset")return fD(e,r);if(n==="style"){let a=_c(r,il(e));return o&&o.size>0&&(a=cD(a,o)),a}else if(t==="object"&&n==="data")return Bs(e,r);return typeof i=="function"?i(n,r,s):r}function iE(e,t,n){return(e==="video"||e==="audio")&&t==="autoplay"}function hD(e,t,n,r){try{if(r&&e.matches(r))return!1;if(typeof t=="string"){if(e.classList.contains(t))return!0}else for(let s=e.classList.length;s--;){const i=e.classList[s];if(t.test(i))return!0}if(n)return e.matches(n)}catch{}return!1}function pD(e,t){for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}return!1}function Qr(e,t,n=1/0,r=0){return!e||e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:Qr(e.parentNode,t,n,r+1)}function Hs(e,t){return n=>{const r=n;if(r===null)return!1;try{if(e){if(typeof e=="string"){if(r.matches(`.${e}`))return!0}else if(pD(r,e))return!0}return!!(t&&r.matches(t))}catch{return!1}}}function di(e,t,n,r,s,i){try{const o=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(o===null)return!1;if(o.tagName==="INPUT"){const l=o.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(l))return!0}let a=-1,c=-1;if(i){if(c=Qr(o,Hs(r,s)),c<0)return!0;a=Qr(o,Hs(t,n),c>=0?c:1/0)}else{if(a=Qr(o,Hs(t,n)),a<0)return!1;c=Qr(o,Hs(r,s),a>=0?a:1/0)}return a>=0?c>=0?a<=c:!0:c>=0?!1:!!i}catch{}return!!i}function mD(e,t,n){const r=e.contentWindow;if(!r)return;let s=!1,i;try{i=r.document.readyState}catch{return}if(i!=="complete"){const a=ff(()=>{s||(t(),s=!0)},n);e.addEventListener("load",()=>{nE(a),s=!0,t()});return}const o="about:blank";if(r.location.href!==o||e.src===o||e.src==="")return ff(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}function gD(e,t,n){let r=!1,s;try{s=e.sheet}catch{return}if(s)return;const i=ff(()=>{r||(t(),r=!0)},n);e.addEventListener("load",()=>{nE(i),r=!0,t()})}function yD(e,t){const{doc:n,mirror:r,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:a,maskAttributeFn:c,maskTextClass:l,unmaskTextClass:u,maskTextSelector:f,unmaskTextSelector:d,inlineStylesheet:h,maskInputOptions:p={},maskTextFn:m,maskInputFn:y,dataURLOptions:g={},inlineImages:v,recordCanvas:_,keepIframeSrcFn:T,newlyAddedElement:O=!1,ignoreCSSAttributes:R}=t,E=vD(n,r);switch(e.nodeType){case e.DOCUMENT_NODE:return e.compatMode!=="CSS1Compat"?{type:it.Document,childNodes:[],compatMode:e.compatMode}:{type:it.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:it.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:E};case e.ELEMENT_NODE:return bD(e,{doc:n,blockClass:s,blockSelector:i,unblockSelector:o,inlineStylesheet:h,maskAttributeFn:c,maskInputOptions:p,maskInputFn:y,dataURLOptions:g,inlineImages:v,recordCanvas:_,keepIframeSrcFn:T,newlyAddedElement:O,rootId:E,maskTextClass:l,unmaskTextClass:u,maskTextSelector:f,unmaskTextSelector:d,ignoreCSSAttributes:R});case e.TEXT_NODE:return _D(e,{doc:n,maskAllText:a,maskTextClass:l,unmaskTextClass:u,maskTextSelector:f,unmaskTextSelector:d,maskTextFn:m,maskInputOptions:p,maskInputFn:y,rootId:E});case e.CDATA_SECTION_NODE:return{type:it.CDATA,textContent:"",rootId:E};case e.COMMENT_NODE:return{type:it.Comment,textContent:e.textContent||"",rootId:E};default:return!1}}function vD(e,t){if(!t.hasNode(e))return;const n=t.getId(e);return n===1?void 0:n}function _D(e,t){var g;const{maskAllText:n,maskTextClass:r,unmaskTextClass:s,maskTextSelector:i,unmaskTextSelector:o,maskTextFn:a,maskInputOptions:c,maskInputFn:l,rootId:u}=t,f=e.parentNode&&e.parentNode.tagName;let d=e.textContent;const h=f==="STYLE"?!0:void 0,p=f==="SCRIPT"?!0:void 0,m=f==="TEXTAREA"?!0:void 0;if(h&&d){try{e.nextSibling||e.previousSibling||(g=e.parentNode.sheet)!=null&&g.cssRules&&(d=yc(e.parentNode.sheet))}catch(v){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${v}`,e)}d=_c(d,il(t.doc))}p&&(d="SCRIPT_PLACEHOLDER");const y=di(e,r,i,s,o,n);if(!h&&!p&&!m&&d&&y&&(d=a?a(d,e.parentElement):d.replace(/[\S]/g,"*")),m&&d&&(c.textarea||y)&&(d=l?l(d,e.parentNode):d.replace(/[\S]/g,"*")),f==="OPTION"&&d){const v=sl({type:null,tagName:f,maskInputOptions:c});d=xo({isMasked:di(e,r,i,s,o,v),element:e,value:d,maskInputFn:l})}return{type:it.Text,textContent:d||"",isStyle:h,rootId:u}}function bD(e,t){const{doc:n,blockClass:r,blockSelector:s,unblockSelector:i,inlineStylesheet:o,maskInputOptions:a={},maskAttributeFn:c,maskInputFn:l,dataURLOptions:u={},inlineImages:f,recordCanvas:d,keepIframeSrcFn:h,newlyAddedElement:p=!1,rootId:m,maskTextClass:y,unmaskTextClass:g,maskTextSelector:v,unmaskTextSelector:_,ignoreCSSAttributes:T}=t,O=hD(e,r,s,i),R=nD(e);let E={};const w=e.attributes.length;for(let A=0;Ax.href===e.href);let M=null;A&&(M=yc(A)),M&&(E.rel=null,E.href=null,E.crossorigin=null,E._cssText=_c(M,A.href))}if(R==="style"&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){const A=yc(e.sheet);A&&(E._cssText=_c(A,il(n)))}if(R==="input"||R==="textarea"||R==="select"||R==="option"){const A=e,M=Kd(A),x=vc(A,uf(R),M),N=A.checked;if(M!=="submit"&&M!=="button"&&x){const L=di(A,y,v,g,_,sl({type:M,tagName:uf(R),maskInputOptions:a}));E.value=xo({isMasked:L,element:A,value:x,maskInputFn:l})}N&&(E.checked=N)}if(R==="option"&&(e.selected&&!a.select?E.selected=!0:delete E.selected),R==="canvas"&&d){if(e.__context==="2d")QL(e)||(E.rr_dataURL=e.toDataURL(u.type,u.quality));else if(!("__context"in e)){const A=e.toDataURL(u.type,u.quality),M=n.createElement("canvas");M.width=e.width,M.height=e.height;const x=M.toDataURL(u.type,u.quality);A!==x&&(E.rr_dataURL=A)}}if(R==="img"&&f){Rs||(Rs=n.createElement("canvas"),Eg=Rs.getContext("2d"));const A=e,M=A.currentSrc||A.getAttribute("src")||"",x=A.crossOrigin,N=()=>{A.removeEventListener("load",N);try{Rs.width=A.naturalWidth,Rs.height=A.naturalHeight,Eg.drawImage(A,0,0),E.rr_dataURL=Rs.toDataURL(u.type,u.quality)}catch(L){if(A.crossOrigin!=="anonymous"){A.crossOrigin="anonymous",A.complete&&A.naturalWidth!==0?N():A.addEventListener("load",N);return}else console.warn(`Cannot inline img src=${M}! Error: ${L}`)}A.crossOrigin==="anonymous"&&(x?E.crossOrigin=x:A.removeAttribute("crossorigin"))};A.complete&&A.naturalWidth!==0?N():A.addEventListener("load",N)}if((R==="audio"||R==="video")&&(E.rr_mediaState=e.paused?"paused":"played",E.rr_mediaCurrentTime=e.currentTime),p||(e.scrollLeft&&(E.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(E.rr_scrollTop=e.scrollTop)),O){const{width:A,height:M}=e.getBoundingClientRect();E={class:E.class,rr_width:`${A}px`,rr_height:`${M}px`}}R==="iframe"&&!h(E.src)&&(!O&&!rE(e)&&(E.rr_src=E.src),delete E.src);let I;try{customElements.get(R)&&(I=!0)}catch{}return{type:it.Element,tagName:R,attributes:E,childNodes:[],isSVG:dD(e)||void 0,needBlock:O,rootId:m,isCustom:I}}function Ue(e){return e==null?"":e.toLowerCase()}function SD(e,t){if(t.comment&&e.type===it.Comment)return!0;if(e.type===it.Element){if(t.script&&(e.tagName==="script"||e.tagName==="link"&&(e.attributes.rel==="preload"||e.attributes.rel==="modulepreload")||e.tagName==="link"&&e.attributes.rel==="prefetch"&&typeof e.attributes.href=="string"&&eE(e.attributes.href)==="js"))return!0;if(t.headFavicon&&(e.tagName==="link"&&e.attributes.rel==="shortcut icon"||e.tagName==="meta"&&(Ue(e.attributes.name).match(/^msapplication-tile(image|color)$/)||Ue(e.attributes.name)==="application-name"||Ue(e.attributes.rel)==="icon"||Ue(e.attributes.rel)==="apple-touch-icon"||Ue(e.attributes.rel)==="shortcut icon")))return!0;if(e.tagName==="meta"){if(t.headMetaDescKeywords&&Ue(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(Ue(e.attributes.property).match(/^(og|twitter|fb):/)||Ue(e.attributes.name).match(/^(og|twitter):/)||Ue(e.attributes.name)==="pinterest"))return!0;if(t.headMetaRobots&&(Ue(e.attributes.name)==="robots"||Ue(e.attributes.name)==="googlebot"||Ue(e.attributes.name)==="bingbot"))return!0;if(t.headMetaHttpEquiv&&e.attributes["http-equiv"]!==void 0)return!0;if(t.headMetaAuthorship&&(Ue(e.attributes.name)==="author"||Ue(e.attributes.name)==="generator"||Ue(e.attributes.name)==="framework"||Ue(e.attributes.name)==="publisher"||Ue(e.attributes.name)==="progid"||Ue(e.attributes.property).match(/^article:/)||Ue(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&(Ue(e.attributes.name)==="google-site-verification"||Ue(e.attributes.name)==="yandex-verification"||Ue(e.attributes.name)==="csrf-token"||Ue(e.attributes.name)==="p:domain_verify"||Ue(e.attributes.name)==="verify-v1"||Ue(e.attributes.name)==="verification"||Ue(e.attributes.name)==="shopify-checkout-api-token"))return!0}}return!1}function Vs(e,t){const{doc:n,mirror:r,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:a,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:f,skipChild:d=!1,inlineStylesheet:h=!0,maskInputOptions:p={},maskAttributeFn:m,maskTextFn:y,maskInputFn:g,slimDOMOptions:v,dataURLOptions:_={},inlineImages:T=!1,recordCanvas:O=!1,onSerialize:R,onIframeLoad:E,iframeLoadTimeout:w=5e3,onBlockedImageLoad:I,onStylesheetLoad:A,stylesheetLoadTimeout:M=5e3,keepIframeSrcFn:x=()=>!1,newlyAddedElement:N=!1,ignoreCSSAttributes:L}=t;let{preserveWhiteSpace:G=!0}=t;const J=yD(e,{doc:n,mirror:r,blockClass:s,blockSelector:i,maskAllText:a,unblockSelector:o,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:f,inlineStylesheet:h,maskInputOptions:p,maskAttributeFn:m,maskTextFn:y,maskInputFn:g,dataURLOptions:_,inlineImages:T,recordCanvas:O,keepIframeSrcFn:x,newlyAddedElement:N,ignoreCSSAttributes:L});if(!J)return console.warn(e,"not serialized"),null;let j;r.hasNode(e)?j=r.getId(e):SD(J,v)||!G&&J.type===it.Text&&!J.isStyle&&!J.textContent.replace(/^\s+|\s+$/gm,"").length?j=Ro:j=Yd();const D=Object.assign(J,{id:j});if(r.add(e,D),j===Ro)return null;R&&R(e);let ae=!d;if(D.type===it.Element){ae=ae&&!D.needBlock;const q=e.shadowRoot;q&&so(q)&&(D.isShadowHost=!0)}if((D.type===it.Document||D.type===it.Element)&&ae){v.headWhitespace&&D.type===it.Element&&D.tagName==="head"&&(G=!1);const q={doc:n,mirror:r,blockClass:s,blockSelector:i,maskAllText:a,unblockSelector:o,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:f,skipChild:d,inlineStylesheet:h,maskInputOptions:p,maskAttributeFn:m,maskTextFn:y,maskInputFn:g,slimDOMOptions:v,dataURLOptions:_,inlineImages:T,recordCanvas:O,preserveWhiteSpace:G,onSerialize:R,onIframeLoad:E,iframeLoadTimeout:w,onBlockedImageLoad:I,onStylesheetLoad:A,stylesheetLoadTimeout:M,keepIframeSrcFn:x,ignoreCSSAttributes:L},ce=e.childNodes?Array.from(e.childNodes):[];for(const le of ce){const ve=Vs(le,q);ve&&D.childNodes.push(ve)}if(zL(e)&&e.shadowRoot)for(const le of Array.from(e.shadowRoot.childNodes)){const ve=Vs(le,q);ve&&(so(e.shadowRoot)&&(ve.isShadow=!0),D.childNodes.push(ve))}}if(e.parentNode&&ro(e.parentNode)&&so(e.parentNode)&&(D.isShadow=!0),D.type===it.Element&&D.tagName==="iframe"&&!D.needBlock&&mD(e,()=>{const q=rE(e);if(q&&E){const ce=Vs(q,{doc:q,mirror:r,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:a,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:f,skipChild:!1,inlineStylesheet:h,maskInputOptions:p,maskAttributeFn:m,maskTextFn:y,maskInputFn:g,slimDOMOptions:v,dataURLOptions:_,inlineImages:T,recordCanvas:O,preserveWhiteSpace:G,onSerialize:R,onIframeLoad:E,iframeLoadTimeout:w,onStylesheetLoad:A,stylesheetLoadTimeout:M,keepIframeSrcFn:x,ignoreCSSAttributes:L});ce&&E(e,ce)}},w),D.type===it.Element&&D.tagName==="img"&&!e.complete&&D.needBlock){const q=e,ce=()=>{if(q.isConnected&&!q.complete&&I)try{const le=q.getBoundingClientRect();le.width>0&&le.height>0&&I(q,D,le)}catch{}q.removeEventListener("load",ce)};q.isConnected&&q.addEventListener("load",ce)}return D.type===it.Element&&D.tagName==="link"&&typeof D.attributes.rel=="string"&&(D.attributes.rel==="stylesheet"||D.attributes.rel==="preload"&&typeof D.attributes.href=="string"&&eE(D.attributes.href)==="css")&&gD(e,()=>{if(A){const q=Vs(e,{doc:n,mirror:r,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:a,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:f,skipChild:!1,inlineStylesheet:h,maskInputOptions:p,maskAttributeFn:m,maskTextFn:y,maskInputFn:g,slimDOMOptions:v,dataURLOptions:_,inlineImages:T,recordCanvas:O,preserveWhiteSpace:G,onSerialize:R,onIframeLoad:E,iframeLoadTimeout:w,onStylesheetLoad:A,stylesheetLoadTimeout:M,keepIframeSrcFn:x,ignoreCSSAttributes:L});q&&A(e,q)}},M),D.type===it.Element&&delete D.needBlock,D}function ED(e,t){const{mirror:n=new QS,blockClass:r="rr-block",blockSelector:s=null,unblockSelector:i=null,maskAllText:o=!1,maskTextClass:a="rr-mask",unmaskTextClass:c=null,maskTextSelector:l=null,unmaskTextSelector:u=null,inlineStylesheet:f=!0,inlineImages:d=!1,recordCanvas:h=!1,maskAllInputs:p=!1,maskAttributeFn:m,maskTextFn:y,maskInputFn:g,slimDOM:v=!1,dataURLOptions:_,preserveWhiteSpace:T,onSerialize:O,onIframeLoad:R,iframeLoadTimeout:E,onBlockedImageLoad:w,onStylesheetLoad:I,stylesheetLoadTimeout:A,keepIframeSrcFn:M=()=>!1,ignoreCSSAttributes:x=new Set([])}=t||{};return Vs(e,{doc:e,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,maskAllText:o,maskTextClass:a,unmaskTextClass:c,maskTextSelector:l,unmaskTextSelector:u,skipChild:!1,inlineStylesheet:f,maskInputOptions:p===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:p===!1?{}:p,maskAttributeFn:m,maskTextFn:y,maskInputFn:g,slimDOMOptions:v===!0||v==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:v==="all",headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:v===!1?{}:v,dataURLOptions:_,inlineImages:d,recordCanvas:h,preserveWhiteSpace:T,onSerialize:O,onIframeLoad:R,iframeLoadTimeout:E,onBlockedImageLoad:w,onStylesheetLoad:I,stylesheetLoadTimeout:A,keepIframeSrcFn:M,newlyAddedElement:!1,ignoreCSSAttributes:x})}function Mt(e,t,n=document){const r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}const Ns=`Please stop import mirror directly. Instead of that,\r now you can use replayer.getMirror() to access the mirror instance of a replayer,\r or you can use record.mirror to access the mirror instance during recording.`;let Tg={map:{},getId(){return console.error(Ns),-1},getNode(){return console.error(Ns),null},removeNodeFromMap(){console.error(Ns)},has(){return console.error(Ns),!1},reset(){console.error(Ns)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(Tg=new Proxy(Tg,{get(e,t,n){return t==="map"&&console.error(Ns),Reflect.get(e,t,n)}}));function Ao(e,t,n={}){let r=null,s=0;return function(...i){const o=Date.now();!s&&n.leading===!1&&(s=o);const a=t-(o-s),c=this;a<=0||a>t?(r&&(RD(r),r=null),s=o,e.apply(c,i)):!r&&n.trailing!==!1&&(r=ol(()=>{s=n.leading===!1?0:Date.now(),r=null,e.apply(c,i)},a))}}function oE(e,t,n,r,s=window){const i=s.Object.getOwnPropertyDescriptor(e,t);return s.Object.defineProperty(e,t,r?n:{set(o){ol(()=>{n.set.call(this,o)},0),i&&i.set&&i.set.call(this,o)}}),()=>oE(e,t,i||{},!0)}function Xd(e,t,n){try{if(!(t in e))return()=>{};const r=e[t],s=n(r);return typeof s=="function"&&(s.prototype=s.prototype||{},Object.defineProperties(s,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=s,()=>{e[t]=r}}catch{return()=>{}}}let bc=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(bc=()=>new Date().getTime());function aE(e){var n,r,s,i,o,a;const t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:e.pageXOffset!==void 0?e.pageXOffset:(t==null?void 0:t.documentElement.scrollLeft)||((r=(n=t==null?void 0:t.body)==null?void 0:n.parentElement)==null?void 0:r.scrollLeft)||((s=t==null?void 0:t.body)==null?void 0:s.scrollLeft)||0,top:t.scrollingElement?t.scrollingElement.scrollTop:e.pageYOffset!==void 0?e.pageYOffset:(t==null?void 0:t.documentElement.scrollTop)||((o=(i=t==null?void 0:t.body)==null?void 0:i.parentElement)==null?void 0:o.scrollTop)||((a=t==null?void 0:t.body)==null?void 0:a.scrollTop)||0}}function cE(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function lE(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function uE(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch{return null}}function jt(e,t,n,r,s){if(!e)return!1;const i=uE(e);if(!i)return!1;const o=Hs(t,n);if(!s){const l=r&&i.matches(r);return o(i)&&!l}const a=Qr(i,o);let c=-1;return a<0?!1:(r&&(c=Qr(i,Hs(null,r))),a>-1&&c<0?!0:a{let n=t[0];if(!(0 in t))throw new TypeError("1 argument is required");do if(this===n)return!0;while(n=n&&n.parentNode);return!1})}function dE(e,t){return!!(e.nodeName==="IFRAME"&&t.getMeta(e))}function hE(e,t){return!!(e.nodeName==="LINK"&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&e.getAttribute("rel")==="stylesheet"&&t.getMeta(e))}function hf(e){return!!(e!=null&&e.shadowRoot)}class CD{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(t){return this.styleIDMap.get(t)??-1}has(t){return this.styleIDMap.has(t)}add(t,n){if(this.has(t))return this.getId(t);let r;return n===void 0?r=this.id++:r=n,this.styleIDMap.set(t,r),this.idStyleMap.set(r,t),r}getStyle(t){return this.idStyleMap.get(t)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function pE(e){var n,r;let t=null;return((r=(n=e.getRootNode)==null?void 0:n.call(e))==null?void 0:r.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function ID(e){let t=e,n;for(;n=pE(t);)t=n;return t}function kD(e){const t=e.ownerDocument;if(!t)return!1;const n=ID(e);return t.contains(n)}function mE(e){const t=e.ownerDocument;return t?t.contains(e)||kD(e):!1}const Cg={};function Jd(e){const t=Cg[e];if(t)return t;const n=window.document;let r=window[e];if(n&&typeof n.createElement=="function")try{const s=n.createElement("iframe");s.hidden=!0,n.head.appendChild(s);const i=s.contentWindow;i&&i[e]&&(r=i[e]),n.head.removeChild(s)}catch{}return Cg[e]=r.bind(window)}function xD(...e){return Jd("requestAnimationFrame")(...e)}function ol(...e){return Jd("setTimeout")(...e)}function RD(...e){return Jd("clearTimeout")(...e)}var we=(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))(we||{}),ye=(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))(ye||{}),xt=(e=>(e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e))(xt||{}),Bn=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(Bn||{}),Ls=(e=>(e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange",e[e.RateChange=4]="RateChange",e))(Ls||{});function Zd(e){try{return e.contentDocument}catch{}}function AD(e){try{return e.contentWindow}catch{}}function Ig(e){return"__ln"in e}class OD{constructor(){this.length=0,this.head=null,this.tail=null}get(t){if(t>=this.length)throw new Error("Position outside of list range");let n=this.head;for(let r=0;r`${e}@${t}`;class MD{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=t=>{t.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;const t=[],n=new Set,r=new OD,s=c=>{let l=c,u=Ro;for(;u===Ro;)l=l&&l.nextSibling,u=l&&this.mirror.getId(l);return u},i=c=>{if(!c.parentNode||!mE(c))return;const l=ro(c.parentNode)?this.mirror.getId(pE(c)):this.mirror.getId(c.parentNode),u=s(c);if(l===-1||u===-1)return r.addNode(c);const f=Vs(c,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:d=>{dE(d,this.mirror)&&!jt(d,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&this.iframeManager.addIframe(d),hE(d,this.mirror)&&this.stylesheetManager.trackLinkElement(d),hf(c)&&this.shadowDomManager.addShadowRoot(c.shadowRoot,this.doc)},onIframeLoad:(d,h)=>{jt(d,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(this.iframeManager.attachIframe(d,h),d.contentWindow&&this.canvasManager.addWindow(d.contentWindow),this.shadowDomManager.observeAttachShadow(d))},onStylesheetLoad:(d,h)=>{this.stylesheetManager.attachLinkElement(d,h)},onBlockedImageLoad:(d,h,{width:p,height:m})=>{this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:h.id,attributes:{style:{width:`${p}px`,height:`${m}px`}}}]})},ignoreCSSAttributes:this.ignoreCSSAttributes});f&&(t.push({parentId:l,nextId:u,node:f}),n.add(f.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const c of this.movedSet)xg(this.removes,c,this.mirror)&&!this.movedSet.has(c.parentNode)||i(c);for(const c of this.addedSet)!Rg(this.droppedSet,c)&&!xg(this.removes,c,this.mirror)||Rg(this.movedSet,c)?i(c):this.droppedSet.add(c);let o=null;for(;r.length;){let c=null;if(o){const l=this.mirror.getId(o.value.parentNode),u=s(o.value);l!==-1&&u!==-1&&(c=o)}if(!c){let l=r.tail;for(;l;){const u=l;if(l=l.previous,u){const f=this.mirror.getId(u.value.parentNode);if(s(u.value)===-1)continue;if(f!==-1){c=u;break}else{const h=u.value;if(h.parentNode&&h.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const p=h.parentNode.host;if(this.mirror.getId(p)!==-1){c=u;break}}}}}}if(!c){for(;r.head;)r.removeNode(r.head.value);break}o=c.previous,r.removeNode(c.value),i(c.value)}const a={texts:this.texts.map(c=>({id:this.mirror.getId(c.node),value:c.value})).filter(c=>!n.has(c.id)).filter(c=>this.mirror.has(c.id)),attributes:this.attributes.map(c=>{const{attributes:l}=c;if(typeof l.style=="string"){const u=JSON.stringify(c.styleDiff),f=JSON.stringify(c._unchangedStyles);u.length!n.has(c.id)).filter(c=>this.mirror.has(c.id)),removes:this.removes,adds:t};!a.texts.length&&!a.attributes.length&&!a.removes.length&&!a.adds.length||(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(a))},this.processMutation=t=>{if(!eu(t.target,this.mirror))switch(t.type){case"characterData":{const n=t.target.textContent;!jt(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&n!==t.oldValue&&this.texts.push({value:di(t.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&n?this.maskTextFn?this.maskTextFn(n,uE(t.target)):n.replace(/[\S]/g,"*"):n,node:t.target});break}case"attributes":{const n=t.target;let r=t.attributeName,s=t.target.getAttribute(r);if(r==="value"){const o=Kd(n),a=n.tagName;s=vc(n,a,o);const c=sl({maskInputOptions:this.maskInputOptions,tagName:a,type:o}),l=di(t.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,c);s=xo({isMasked:l,element:n,value:s,maskInputFn:this.maskInputFn})}if(jt(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||s===t.oldValue)return;let i=this.attributeMap.get(t.target);if(n.tagName==="IFRAME"&&r==="src"&&!this.keepIframeSrcFn(s))if(!Zd(n))r="rr_src";else return;if(i||(i={node:t.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(i),this.attributeMap.set(t.target,i)),r==="type"&&n.tagName==="INPUT"&&(t.oldValue||"").toLowerCase()==="password"&&n.setAttribute("data-rr-is-password","true"),!iE(n.tagName,r)&&(i.attributes[r]=sE(this.doc,fi(n.tagName),fi(r),s,n,this.maskAttributeFn),r==="style")){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch{this.unattachedDoc=this.doc}const o=this.unattachedDoc.createElement("span");t.oldValue&&o.setAttribute("style",t.oldValue);for(const a of Array.from(n.style)){const c=n.style.getPropertyValue(a),l=n.style.getPropertyPriority(a);c!==o.style.getPropertyValue(a)||l!==o.style.getPropertyPriority(a)?l===""?i.styleDiff[a]=c:i.styleDiff[a]=[c,l]:i._unchangedStyles[a]=[c,l]}for(const a of Array.from(o.style))n.style.getPropertyValue(a)===""&&(i.styleDiff[a]=!1)}break}case"childList":{if(jt(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;t.addedNodes.forEach(n=>this.genAdds(n,t.target)),t.removedNodes.forEach(n=>{const r=this.mirror.getId(n),s=ro(t.target)?this.mirror.getId(t.target.host):this.mirror.getId(t.target);jt(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||eu(n,this.mirror)||!wD(n,this.mirror)||(this.addedSet.has(n)?(pf(this.addedSet,n),this.droppedSet.add(n)):this.addedSet.has(t.target)&&r===-1||fE(t.target,this.mirror)||(this.movedSet.has(n)&&this.movedMap[kg(r,s)]?pf(this.movedSet,n):this.removes.push({parentId:s,id:r,isShadow:ro(t.target)&&so(t.target)?!0:void 0})),this.mapRemoves.push(n))});break}}},this.genAdds=(t,n)=>{if(!this.processedNodeManager.inOtherBuffer(t,this)&&!(this.addedSet.has(t)||this.movedSet.has(t))){if(this.mirror.hasNode(t)){if(eu(t,this.mirror))return;this.movedSet.add(t);let r=null;n&&this.mirror.hasNode(n)&&(r=this.mirror.getId(n)),r&&r!==-1&&(this.movedMap[kg(this.mirror.getId(t),r)]=!0)}else this.addedSet.add(t),this.droppedSet.delete(t);jt(t,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(t.childNodes&&t.childNodes.forEach(r=>this.genAdds(r)),hf(t)&&t.shadowRoot.childNodes.forEach(r=>{this.processedNodeManager.add(r,this),this.genAdds(r,t)}))}}}init(t){["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager","ignoreCSSAttributes"].forEach(n=>{this[n]=t[n]})}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function pf(e,t){var n;e.delete(t),(n=t.childNodes)==null||n.forEach(r=>pf(e,r))}function xg(e,t,n){return e.length===0?!1:PD(e,t,n)}function PD(e,t,n){let r=t.parentNode;for(;r;){const s=n.getId(r);if(e.some(i=>i.id===s))return!0;r=r.parentNode}return!1}function Rg(e,t){return e.size===0?!1:gE(e,t)}function gE(e,t){const{parentNode:n}=t;return n?e.has(n)?!0:gE(e,n):!1}let io;function ND(e){io=e}function LD(){io=void 0}const xe=e=>io?(...n)=>{try{return e(...n)}catch(r){if(io&&io(r)===!0)return()=>{};throw r}}:e,Us=[];function ea(e){try{if("composedPath"in e){const t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch{}return e&&e.target}function yE(e,t){var o,a;const n=new MD;Us.push(n),n.init(e);let r=window.MutationObserver||window.__rrMutationObserver;const s=(a=(o=window==null?void 0:window.Zone)==null?void 0:o.__symbol__)==null?void 0:a.call(o,"MutationObserver");s&&window[s]&&(r=window[s]);const i=new r(xe(c=>{e.onMutation&&e.onMutation(c)===!1||n.processMutations.bind(n)(c)}));return i.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),i}function DD({mousemoveCb:e,sampling:t,doc:n,mirror:r}){if(t.mousemove===!1)return()=>{};const s=typeof t.mousemove=="number"?t.mousemove:50,i=typeof t.mousemoveCallback=="number"?t.mousemoveCallback:500;let o=[],a;const c=Ao(xe(f=>{const d=Date.now()-a;e(o.map(h=>(h.timeOffset-=d,h)),f),o=[],a=null}),i),l=xe(Ao(xe(f=>{const d=ea(f),{clientX:h,clientY:p}=df(f)?f.changedTouches[0]:f;a||(a=bc()),o.push({x:h,y:p,id:r.getId(d),timeOffset:bc()-a}),c(typeof DragEvent<"u"&&f instanceof DragEvent?ye.Drag:f instanceof MouseEvent?ye.MouseMove:ye.TouchMove)}),s,{trailing:!1})),u=[Mt("mousemove",l,n),Mt("touchmove",l,n),Mt("drag",l,n)];return xe(()=>{u.forEach(f=>f())})}function FD({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,sampling:o}){if(o.mouseInteraction===!1)return()=>{};const a=o.mouseInteraction===!0||o.mouseInteraction===void 0?{}:o.mouseInteraction,c=[];let l=null;const u=f=>d=>{const h=ea(d);if(jt(h,r,s,i,!0))return;let p=null,m=f;if("pointerType"in d){switch(d.pointerType){case"mouse":p=Bn.Mouse;break;case"touch":p=Bn.Touch;break;case"pen":p=Bn.Pen;break}p===Bn.Touch?xt[f]===xt.MouseDown?m="TouchStart":xt[f]===xt.MouseUp&&(m="TouchEnd"):Bn.Pen}else df(d)&&(p=Bn.Touch);p!==null?(l=p,(m.startsWith("Touch")&&p===Bn.Touch||m.startsWith("Mouse")&&p===Bn.Mouse)&&(p=null)):xt[f]===xt.Click&&(p=l,l=null);const y=df(d)?d.changedTouches[0]:d;if(!y)return;const g=n.getId(h),{clientX:v,clientY:_}=y;xe(e)({type:xt[m],id:g,x:v,y:_,...p!==null&&{pointerType:p}})};return Object.keys(xt).filter(f=>Number.isNaN(Number(f))&&!f.endsWith("_Departed")&&a[f]!==!1).forEach(f=>{let d=fi(f);const h=u(f);if(window.PointerEvent)switch(xt[f]){case xt.MouseDown:case xt.MouseUp:d=d.replace("mouse","pointer");break;case xt.TouchStart:case xt.TouchEnd:return}c.push(Mt(d,h,t))}),xe(()=>{c.forEach(f=>f())})}function vE({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,sampling:o}){const a=xe(Ao(xe(c=>{const l=ea(c);if(!l||jt(l,r,s,i,!0))return;const u=n.getId(l);if(l===t&&t.defaultView){const f=aE(t.defaultView);e({id:u,x:f.left,y:f.top})}else e({id:u,x:l.scrollLeft,y:l.scrollTop})}),o.scroll||100));return Mt("scroll",a,t)}function $D({viewportResizeCb:e},{win:t}){let n=-1,r=-1;const s=xe(Ao(xe(()=>{const i=cE(),o=lE();(n!==i||r!==o)&&(e({width:Number(o),height:Number(i)}),n=i,r=o)}),200));return Mt("resize",s,t)}const BD=["INPUT","TEXTAREA","SELECT"],Ag=new WeakMap;function HD({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,ignoreClass:o,ignoreSelector:a,maskInputOptions:c,maskInputFn:l,sampling:u,userTriggeredOnInput:f,maskTextClass:d,unmaskTextClass:h,maskTextSelector:p,unmaskTextSelector:m}){function y(E){let w=ea(E);const I=E.isTrusted,A=w&&uf(w.tagName);if(A==="OPTION"&&(w=w.parentElement),!w||!A||BD.indexOf(A)<0||jt(w,r,s,i,!0))return;const M=w;if(M.classList.contains(o)||a&&M.matches(a))return;const x=Kd(w);let N=vc(M,A,x),L=!1;const G=sl({maskInputOptions:c,tagName:A,type:x}),J=di(w,d,p,h,m,G);(x==="radio"||x==="checkbox")&&(L=w.checked),N=xo({isMasked:J,element:w,value:N,maskInputFn:l}),g(w,f?{text:N,isChecked:L,userTriggered:I}:{text:N,isChecked:L});const j=w.name;x==="radio"&&j&&L&&t.querySelectorAll(`input[type="radio"][name="${j}"]`).forEach(D=>{if(D!==w){const ae=xo({isMasked:J,element:D,value:vc(D,A,x),maskInputFn:l});g(D,f?{text:ae,isChecked:!L,userTriggered:!1}:{text:ae,isChecked:!L})}})}function g(E,w){const I=Ag.get(E);if(!I||I.text!==w.text||I.isChecked!==w.isChecked){Ag.set(E,w);const A=n.getId(E);xe(e)({...w,id:A})}}const _=(u.input==="last"?["change"]:["input","change"]).map(E=>Mt(E,xe(y),t)),T=t.defaultView;if(!T)return()=>{_.forEach(E=>E())};const O=T.Object.getOwnPropertyDescriptor(T.HTMLInputElement.prototype,"value"),R=[[T.HTMLInputElement.prototype,"value"],[T.HTMLInputElement.prototype,"checked"],[T.HTMLSelectElement.prototype,"value"],[T.HTMLTextAreaElement.prototype,"value"],[T.HTMLSelectElement.prototype,"selectedIndex"],[T.HTMLOptionElement.prototype,"selected"]];return O&&O.set&&_.push(...R.map(E=>oE(E[0],E[1],{set(){xe(y)({target:this,isTrusted:!1})}},!1,T))),xe(()=>{_.forEach(E=>E())})}function Sc(e){const t=[];function n(r,s){if(va("CSSGroupingRule")&&r.parentRule instanceof CSSGroupingRule||va("CSSMediaRule")&&r.parentRule instanceof CSSMediaRule||va("CSSSupportsRule")&&r.parentRule instanceof CSSSupportsRule||va("CSSConditionRule")&&r.parentRule instanceof CSSConditionRule){const o=Array.from(r.parentRule.cssRules).indexOf(r);s.unshift(o)}else if(r.parentStyleSheet){const o=Array.from(r.parentStyleSheet.cssRules).indexOf(r);s.unshift(o)}return s}return n(e,t)}function br(e,t,n){let r,s;return e?(e.ownerNode?r=t.getId(e.ownerNode):s=n.getId(e),{styleId:s,id:r}):{}}function VD({styleSheetRuleCb:e,mirror:t,stylesheetManager:n},{win:r}){if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};const s=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(s,{apply:xe((u,f,d)=>{const[h,p]=d,{id:m,styleId:y}=br(f,t,n.styleMirror);return(m&&m!==-1||y&&y!==-1)&&e({id:m,styleId:y,adds:[{rule:h,index:p}]}),u.apply(f,d)})});const i=r.CSSStyleSheet.prototype.deleteRule;r.CSSStyleSheet.prototype.deleteRule=new Proxy(i,{apply:xe((u,f,d)=>{const[h]=d,{id:p,styleId:m}=br(f,t,n.styleMirror);return(p&&p!==-1||m&&m!==-1)&&e({id:p,styleId:m,removes:[{index:h}]}),u.apply(f,d)})});let o;r.CSSStyleSheet.prototype.replace&&(o=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(o,{apply:xe((u,f,d)=>{const[h]=d,{id:p,styleId:m}=br(f,t,n.styleMirror);return(p&&p!==-1||m&&m!==-1)&&e({id:p,styleId:m,replace:h}),u.apply(f,d)})}));let a;r.CSSStyleSheet.prototype.replaceSync&&(a=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(a,{apply:xe((u,f,d)=>{const[h]=d,{id:p,styleId:m}=br(f,t,n.styleMirror);return(p&&p!==-1||m&&m!==-1)&&e({id:p,styleId:m,replaceSync:h}),u.apply(f,d)})}));const c={};_a("CSSGroupingRule")?c.CSSGroupingRule=r.CSSGroupingRule:(_a("CSSMediaRule")&&(c.CSSMediaRule=r.CSSMediaRule),_a("CSSConditionRule")&&(c.CSSConditionRule=r.CSSConditionRule),_a("CSSSupportsRule")&&(c.CSSSupportsRule=r.CSSSupportsRule));const l={};return Object.entries(c).forEach(([u,f])=>{l[u]={insertRule:f.prototype.insertRule,deleteRule:f.prototype.deleteRule},f.prototype.insertRule=new Proxy(l[u].insertRule,{apply:xe((d,h,p)=>{const[m,y]=p,{id:g,styleId:v}=br(h.parentStyleSheet,t,n.styleMirror);return(g&&g!==-1||v&&v!==-1)&&e({id:g,styleId:v,adds:[{rule:m,index:[...Sc(h),y||0]}]}),d.apply(h,p)})}),f.prototype.deleteRule=new Proxy(l[u].deleteRule,{apply:xe((d,h,p)=>{const[m]=p,{id:y,styleId:g}=br(h.parentStyleSheet,t,n.styleMirror);return(y&&y!==-1||g&&g!==-1)&&e({id:y,styleId:g,removes:[{index:[...Sc(h),m]}]}),d.apply(h,p)})})}),xe(()=>{r.CSSStyleSheet.prototype.insertRule=s,r.CSSStyleSheet.prototype.deleteRule=i,o&&(r.CSSStyleSheet.prototype.replace=o),a&&(r.CSSStyleSheet.prototype.replaceSync=a),Object.entries(c).forEach(([u,f])=>{f.prototype.insertRule=l[u].insertRule,f.prototype.deleteRule=l[u].deleteRule})})}function _E({mirror:e,stylesheetManager:t},n){var o,a,c;let r=null;n.nodeName==="#document"?r=e.getId(n):r=e.getId(n.host);const s=n.nodeName==="#document"?(o=n.defaultView)==null?void 0:o.Document:(c=(a=n.ownerDocument)==null?void 0:a.defaultView)==null?void 0:c.ShadowRoot,i=s!=null&&s.prototype?Object.getOwnPropertyDescriptor(s==null?void 0:s.prototype,"adoptedStyleSheets"):void 0;return r===null||r===-1||!s||!i?()=>{}:(Object.defineProperty(n,"adoptedStyleSheets",{configurable:i.configurable,enumerable:i.enumerable,get(){var l;return(l=i.get)==null?void 0:l.call(this)},set(l){var f;const u=(f=i.set)==null?void 0:f.call(this,l);if(r!==null&&r!==-1)try{t.adoptStyleSheets(l,r)}catch{}return u}}),xe(()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:i.configurable,enumerable:i.enumerable,get:i.get,set:i.set})}))}function UD({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:s}){const i=s.CSSStyleDeclaration.prototype.setProperty;s.CSSStyleDeclaration.prototype.setProperty=new Proxy(i,{apply:xe((a,c,l)=>{var m;const[u,f,d]=l;if(n.has(u))return i.apply(c,[u,f,d]);const{id:h,styleId:p}=br((m=c.parentRule)==null?void 0:m.parentStyleSheet,t,r.styleMirror);return(h&&h!==-1||p&&p!==-1)&&e({id:h,styleId:p,set:{property:u,value:f,priority:d},index:Sc(c.parentRule)}),a.apply(c,l)})});const o=s.CSSStyleDeclaration.prototype.removeProperty;return s.CSSStyleDeclaration.prototype.removeProperty=new Proxy(o,{apply:xe((a,c,l)=>{var h;const[u]=l;if(n.has(u))return o.apply(c,[u]);const{id:f,styleId:d}=br((h=c.parentRule)==null?void 0:h.parentStyleSheet,t,r.styleMirror);return(f&&f!==-1||d&&d!==-1)&&e({id:f,styleId:d,remove:{property:u},index:Sc(c.parentRule)}),a.apply(c,l)})}),xe(()=>{s.CSSStyleDeclaration.prototype.setProperty=i,s.CSSStyleDeclaration.prototype.removeProperty=o})}function WD({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:s,sampling:i,doc:o}){const a=xe(l=>Ao(xe(u=>{const f=ea(u);if(!f||jt(f,t,n,r,!0))return;const{currentTime:d,volume:h,muted:p,playbackRate:m}=f;e({type:l,id:s.getId(f),currentTime:d,volume:h,muted:p,playbackRate:m})}),i.media||500)),c=[Mt("play",a(Ls.Play),o),Mt("pause",a(Ls.Pause),o),Mt("seeked",a(Ls.Seeked),o),Mt("volumechange",a(Ls.VolumeChange),o),Mt("ratechange",a(Ls.RateChange),o)];return xe(()=>{c.forEach(l=>l())})}function jD({fontCb:e,doc:t}){const n=t.defaultView;if(!n)return()=>{};const r=[],s=new WeakMap,i=n.FontFace;n.FontFace=function(c,l,u){const f=new i(c,l,u);return s.set(f,{family:c,buffer:typeof l!="string",descriptors:u,fontSource:typeof l=="string"?l:JSON.stringify(Array.from(new Uint8Array(l)))}),f};const o=Xd(t.fonts,"add",function(a){return function(c){return ol(xe(()=>{const l=s.get(c);l&&(e(l),s.delete(c))}),0),a.apply(this,[c])}});return r.push(()=>{n.FontFace=i}),r.push(o),xe(()=>{r.forEach(a=>a())})}function zD(e){const{doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,selectionCb:o}=e;let a=!0;const c=xe(()=>{const l=t.getSelection();if(!l||a&&(l!=null&&l.isCollapsed))return;a=l.isCollapsed||!1;const u=[],f=l.rangeCount||0;for(let d=0;d{}:Xd(n.customElements,"define",function(s){return function(i,o,a){try{t({define:{name:i}})}catch{}return s.apply(this,[i,o,a])}})}function GD(e,t={}){const n=e.doc.defaultView;if(!n)return()=>{};let r;e.recordDOM&&(r=yE(e,e.doc));const s=DD(e),i=FD(e),o=vE(e),a=$D(e,{win:n}),c=HD(e),l=WD(e);let u=()=>{},f=()=>{},d=()=>{},h=()=>{};e.recordDOM&&(u=VD(e,{win:n}),f=_E(e,e.doc),d=UD(e,{win:n}),e.collectFonts&&(h=jD(e)));const p=zD(e),m=qD(e),y=[];for(const g of e.plugins)y.push(g.observer(g.callback,n,g.options));return xe(()=>{Us.forEach(g=>g.reset()),r==null||r.disconnect(),s(),i(),o(),a(),c(),l(),u(),f(),d(),h(),p(),m(),y.forEach(g=>g())})}function va(e){return typeof window[e]<"u"}function _a(e){return!!(typeof window[e]<"u"&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class mf{constructor(t){this.generateIdFn=t,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(t,n,r,s){const i=r||this.getIdToRemoteIdMap(t),o=s||this.getRemoteIdToIdMap(t);let a=i.get(n);return a||(a=this.generateIdFn(),i.set(n,a),o.set(a,n)),a}getIds(t,n){const r=this.getIdToRemoteIdMap(t),s=this.getRemoteIdToIdMap(t);return n.map(i=>this.getId(t,i,r,s))}getRemoteId(t,n,r){const s=r||this.getRemoteIdToIdMap(t);if(typeof n!="number")return n;const i=s.get(n);return i||-1}getRemoteIds(t,n){const r=this.getRemoteIdToIdMap(t);return n.map(s=>this.getRemoteId(t,s,r))}reset(t){if(!t){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(t),this.iframeRemoteIdToIdMap.delete(t)}getIdToRemoteIdMap(t){let n=this.iframeIdToRemoteIdMap.get(t);return n||(n=new Map,this.iframeIdToRemoteIdMap.set(t,n)),n}getRemoteIdToIdMap(t){let n=this.iframeRemoteIdToIdMap.get(t);return n||(n=new Map,this.iframeRemoteIdToIdMap.set(t,n)),n}}class KD{constructor(){this.crossOriginIframeMirror=new mf(Yd),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class YD{constructor(t){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new mf(Yd),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=t.mutationCb,this.wrappedEmit=t.wrappedEmit,this.stylesheetManager=t.stylesheetManager,this.recordCrossOriginIframes=t.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new mf(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=t.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(t){this.iframes.set(t,!0),t.contentWindow&&this.crossOriginIframeMap.set(t.contentWindow,t)}addLoadListener(t){this.loadListener=t}attachIframe(t,n){var s,i;this.mutationCb({adds:[{parentId:this.mirror.getId(t),nextId:null,node:n}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&&((s=t.contentWindow)==null||s.addEventListener("message",this.handleMessage.bind(this))),(i=this.loadListener)==null||i.call(this,t);const r=Zd(t);r&&r.adoptedStyleSheets&&r.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(r.adoptedStyleSheets,this.mirror.getId(r))}handleMessage(t){const n=t;if(n.data.type!=="rrweb"||n.origin!==n.data.origin||!t.source)return;const s=this.crossOriginIframeMap.get(t.source);if(!s)return;const i=this.transformCrossOriginEvent(s,n.data.event);i&&this.wrappedEmit(i,n.data.isCheckout)}transformCrossOriginEvent(t,n){var r;switch(n.type){case we.FullSnapshot:{this.crossOriginIframeMirror.reset(t),this.crossOriginIframeStyleMirror.reset(t),this.replaceIdOnNode(n.data.node,t);const s=n.data.node.id;return this.crossOriginIframeRootIdMap.set(t,s),this.patchRootIdOnNode(n.data.node,s),{timestamp:n.timestamp,type:we.IncrementalSnapshot,data:{source:ye.Mutation,adds:[{parentId:this.mirror.getId(t),nextId:null,node:n.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case we.Meta:case we.Load:case we.DomContentLoaded:return!1;case we.Plugin:return n;case we.Custom:return this.replaceIds(n.data.payload,t,["id","parentId","previousId","nextId"]),n;case we.IncrementalSnapshot:switch(n.data.source){case ye.Mutation:return n.data.adds.forEach(s=>{this.replaceIds(s,t,["parentId","nextId","previousId"]),this.replaceIdOnNode(s.node,t);const i=this.crossOriginIframeRootIdMap.get(t);i&&this.patchRootIdOnNode(s.node,i)}),n.data.removes.forEach(s=>{this.replaceIds(s,t,["parentId","id"])}),n.data.attributes.forEach(s=>{this.replaceIds(s,t,["id"])}),n.data.texts.forEach(s=>{this.replaceIds(s,t,["id"])}),n;case ye.Drag:case ye.TouchMove:case ye.MouseMove:return n.data.positions.forEach(s=>{this.replaceIds(s,t,["id"])}),n;case ye.ViewportResize:return!1;case ye.MediaInteraction:case ye.MouseInteraction:case ye.Scroll:case ye.CanvasMutation:case ye.Input:return this.replaceIds(n.data,t,["id"]),n;case ye.StyleSheetRule:case ye.StyleDeclaration:return this.replaceIds(n.data,t,["id"]),this.replaceStyleIds(n.data,t,["styleId"]),n;case ye.Font:return n;case ye.Selection:return n.data.ranges.forEach(s=>{this.replaceIds(s,t,["start","end"])}),n;case ye.AdoptedStyleSheet:return this.replaceIds(n.data,t,["id"]),this.replaceStyleIds(n.data,t,["styleIds"]),(r=n.data.styles)==null||r.forEach(s=>{this.replaceStyleIds(s,t,["styleId"])}),n}}return!1}replace(t,n,r,s){for(const i of s)!Array.isArray(n[i])&&typeof n[i]!="number"||(Array.isArray(n[i])?n[i]=t.getIds(r,n[i]):n[i]=t.getId(r,n[i]));return n}replaceIds(t,n,r){return this.replace(this.crossOriginIframeMirror,t,n,r)}replaceStyleIds(t,n,r){return this.replace(this.crossOriginIframeStyleMirror,t,n,r)}replaceIdOnNode(t,n){this.replaceIds(t,n,["id","rootId"]),"childNodes"in t&&t.childNodes.forEach(r=>{this.replaceIdOnNode(r,n)})}patchRootIdOnNode(t,n){t.type!==it.Document&&!t.rootId&&(t.rootId=n),"childNodes"in t&&t.childNodes.forEach(r=>{this.patchRootIdOnNode(r,n)})}}class XD{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class JD{constructor(t){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=t.mutationCb,this.scrollCb=t.scrollCb,this.bypassOptions=t.bypassOptions,this.mirror=t.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(t,n){if(!so(t)||this.shadowDoms.has(t))return;this.shadowDoms.add(t),this.bypassOptions.canvasManager.addShadowRoot(t);const r=yE({...this.bypassOptions,doc:n,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},t);this.restoreHandlers.push(()=>r.disconnect()),this.restoreHandlers.push(vE({...this.bypassOptions,scrollCb:this.scrollCb,doc:t,mirror:this.mirror})),ol(()=>{t.adoptedStyleSheets&&t.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(t.adoptedStyleSheets,this.mirror.getId(t.host)),this.restoreHandlers.push(_E({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},t))},0)}observeAttachShadow(t){const n=Zd(t),r=AD(t);!n||!r||this.patchAttachShadow(r.Element,n)}patchAttachShadow(t,n){const r=this;this.restoreHandlers.push(Xd(t.prototype,"attachShadow",function(s){return function(i){const o=s.call(this,i);return this.shadowRoot&&mE(this)&&r.addShadowRoot(this.shadowRoot,n),o}}))}reset(){this.restoreHandlers.forEach(t=>{try{t()}catch{}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet,this.bypassOptions.canvasManager.resetShadowRoots()}}var Og="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ZD=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var ba=0;ba({rule:ZS(a),index:c}))})),r.styleIds.push(o)}s.length>0&&(r.styles=s),this.adoptedStyleSheetCb(r)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(t){}}class eF{constructor(){this.nodeMap=new WeakMap,this.active=!1}inOtherBuffer(t,n){const r=this.nodeMap.get(t);return r&&Array.from(r).some(s=>s!==n)}add(t,n){this.active||(this.active=!0,xD(()=>{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(t,(this.nodeMap.get(t)||new Set).add(n))}destroy(){}}let et,Ec;var Zg;try{if(Array.from([1],e=>e*2)[0]!==2){const e=document.createElement("iframe");document.body.appendChild(e),Array.from=((Zg=e.contentWindow)==null?void 0:Zg.Array.from)||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}const ln=ZL();function Yn(e={}){const{emit:t,checkoutEveryNms:n,checkoutEveryNth:r,blockClass:s="rr-block",blockSelector:i=null,unblockSelector:o=null,ignoreClass:a="rr-ignore",ignoreSelector:c=null,maskAllText:l=!1,maskTextClass:u="rr-mask",unmaskTextClass:f=null,maskTextSelector:d=null,unmaskTextSelector:h=null,inlineStylesheet:p=!0,maskAllInputs:m,maskInputOptions:y,slimDOMOptions:g,maskAttributeFn:v,maskInputFn:_,maskTextFn:T,maxCanvasSize:O=null,packFn:R,sampling:E={},dataURLOptions:w={},mousemoveWait:I,recordDOM:A=!0,recordCanvas:M=!1,recordCrossOriginIframes:x=!1,recordAfter:N=e.recordAfter==="DOMContentLoaded"?e.recordAfter:"load",userTriggeredOnInput:L=!1,collectFonts:G=!1,inlineImages:J=!1,plugins:j,keepIframeSrcFn:D=()=>!1,ignoreCSSAttributes:ae=new Set([]),errorHandler:q,onMutation:ce,getCanvasManager:le}=e;ND(q);const ve=x?window.parent===window:!0;let Me=!1;if(!ve)try{window.parent.document&&(Me=!1)}catch{Me=!0}if(ve&&!t)throw new Error("emit function is required");if(!ve&&!Me)return()=>{};I!==void 0&&E.mousemove===void 0&&(E.mousemove=I),ln.reset();const Fe=m===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:y!==void 0?y:{},Ge=g===!0||g==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:g==="all",headMetaDescKeywords:g==="all"}:g||{};TD();let C,W=0;const z=B=>{for(const V of j||[])V.eventProcessor&&(B=V.eventProcessor(B));return R&&!Me&&(B=R(B)),B};et=(B,V)=>{var Y;const K=B;if(K.timestamp=bc(),(Y=Us[0])!=null&&Y.isFrozen()&&K.type!==we.FullSnapshot&&!(K.type===we.IncrementalSnapshot&&K.data.source===ye.Mutation)&&Us.forEach(se=>se.unfreeze()),ve)t==null||t(z(K),V);else if(Me){const se={type:"rrweb",event:z(K),origin:window.location.origin,isCheckout:V};window.parent.postMessage(se,"*")}if(K.type===we.FullSnapshot)C=K,W=0;else if(K.type===we.IncrementalSnapshot){if(K.data.source===ye.Mutation&&K.data.isAttachIframe)return;W++;const se=r&&W>=r,te=n&&C&&K.timestamp-C.timestamp>n;(se||te)&&Z(!0)}};const re=B=>{et({type:we.IncrementalSnapshot,data:{source:ye.Mutation,...B}})},_e=B=>et({type:we.IncrementalSnapshot,data:{source:ye.Scroll,...B}}),b=B=>et({type:we.IncrementalSnapshot,data:{source:ye.CanvasMutation,...B}}),S=B=>et({type:we.IncrementalSnapshot,data:{source:ye.AdoptedStyleSheet,...B}}),k=new QD({mutationCb:re,adoptedStyleSheetCb:S}),P=typeof __RRWEB_EXCLUDE_IFRAME__=="boolean"&&__RRWEB_EXCLUDE_IFRAME__?new KD:new YD({mirror:ln,mutationCb:re,stylesheetManager:k,recordCrossOriginIframes:x,wrappedEmit:et});for(const B of j||[])B.getMirror&&B.getMirror({nodeMirror:ln,crossOriginIframeMirror:P.crossOriginIframeMirror,crossOriginIframeStyleMirror:P.crossOriginIframeStyleMirror});const H=new eF,$=nF(le,{mirror:ln,win:window,mutationCb:B=>et({type:we.IncrementalSnapshot,data:{source:ye.CanvasMutation,...B}}),recordCanvas:M,blockClass:s,blockSelector:i,unblockSelector:o,maxCanvasSize:O,sampling:E.canvas,dataURLOptions:w,errorHandler:q}),ee=typeof __RRWEB_EXCLUDE_SHADOW_DOM__=="boolean"&&__RRWEB_EXCLUDE_SHADOW_DOM__?new XD:new JD({mutationCb:re,scrollCb:_e,bypassOptions:{onMutation:ce,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:l,maskTextClass:u,unmaskTextClass:f,maskTextSelector:d,unmaskTextSelector:h,inlineStylesheet:p,maskInputOptions:Fe,dataURLOptions:w,maskAttributeFn:v,maskTextFn:T,maskInputFn:_,recordCanvas:M,inlineImages:J,sampling:E,slimDOMOptions:Ge,iframeManager:P,stylesheetManager:k,canvasManager:$,keepIframeSrcFn:D,processedNodeManager:H,ignoreCSSAttributes:ae},mirror:ln}),Z=(B=!1)=>{if(!A)return;et({type:we.Meta,data:{href:window.location.href,width:lE(),height:cE()}},B),k.reset(),ee.init(),Us.forEach(K=>K.lock());const V=ED(document,{mirror:ln,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:l,maskTextClass:u,unmaskTextClass:f,maskTextSelector:d,unmaskTextSelector:h,inlineStylesheet:p,maskAllInputs:Fe,maskAttributeFn:v,maskInputFn:_,maskTextFn:T,slimDOM:Ge,dataURLOptions:w,recordCanvas:M,inlineImages:J,onSerialize:K=>{dE(K,ln)&&P.addIframe(K),hE(K,ln)&&k.trackLinkElement(K),hf(K)&&ee.addShadowRoot(K.shadowRoot,document)},onIframeLoad:(K,Y)=>{P.attachIframe(K,Y),K.contentWindow&&$.addWindow(K.contentWindow),ee.observeAttachShadow(K)},onStylesheetLoad:(K,Y)=>{k.attachLinkElement(K,Y)},onBlockedImageLoad:(K,Y,{width:se,height:te})=>{re({adds:[],removes:[],texts:[],attributes:[{id:Y.id,attributes:{style:{width:`${se}px`,height:`${te}px`}}}]})},keepIframeSrcFn:D,ignoreCSSAttributes:ae});if(!V)return console.warn("Failed to snapshot the document");et({type:we.FullSnapshot,data:{node:V,initialOffset:aE(window)}}),Us.forEach(K=>K.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&k.adoptStyleSheets(document.adoptedStyleSheets,ln.getId(document))};Ec=Z;try{const B=[],V=Y=>{var se;return xe(GD)({onMutation:ce,mutationCb:re,mousemoveCb:(te,Te)=>et({type:we.IncrementalSnapshot,data:{source:Te,positions:te}}),mouseInteractionCb:te=>et({type:we.IncrementalSnapshot,data:{source:ye.MouseInteraction,...te}}),scrollCb:_e,viewportResizeCb:te=>et({type:we.IncrementalSnapshot,data:{source:ye.ViewportResize,...te}}),inputCb:te=>et({type:we.IncrementalSnapshot,data:{source:ye.Input,...te}}),mediaInteractionCb:te=>et({type:we.IncrementalSnapshot,data:{source:ye.MediaInteraction,...te}}),styleSheetRuleCb:te=>et({type:we.IncrementalSnapshot,data:{source:ye.StyleSheetRule,...te}}),styleDeclarationCb:te=>et({type:we.IncrementalSnapshot,data:{source:ye.StyleDeclaration,...te}}),canvasMutationCb:b,fontCb:te=>et({type:we.IncrementalSnapshot,data:{source:ye.Font,...te}}),selectionCb:te=>{et({type:we.IncrementalSnapshot,data:{source:ye.Selection,...te}})},customElementCb:te=>{et({type:we.IncrementalSnapshot,data:{source:ye.CustomElement,...te}})},blockClass:s,ignoreClass:a,ignoreSelector:c,maskAllText:l,maskTextClass:u,unmaskTextClass:f,maskTextSelector:d,unmaskTextSelector:h,maskInputOptions:Fe,inlineStylesheet:p,sampling:E,recordDOM:A,recordCanvas:M,inlineImages:J,userTriggeredOnInput:L,collectFonts:G,doc:Y,maskAttributeFn:v,maskInputFn:_,maskTextFn:T,keepIframeSrcFn:D,blockSelector:i,unblockSelector:o,slimDOMOptions:Ge,dataURLOptions:w,mirror:ln,iframeManager:P,stylesheetManager:k,shadowDomManager:ee,processedNodeManager:H,canvasManager:$,ignoreCSSAttributes:ae,plugins:((se=j==null?void 0:j.filter(te=>te.observer))==null?void 0:se.map(te=>({observer:te.observer,options:te.options,callback:Te=>et({type:we.Plugin,data:{plugin:te.name,payload:Te}})})))||[]},{})};P.addLoadListener(Y=>{try{B.push(V(Y.contentDocument))}catch(se){console.warn(se)}});const K=()=>{Z(),B.push(V(document))};return document.readyState==="interactive"||document.readyState==="complete"?K():(B.push(Mt("DOMContentLoaded",()=>{et({type:we.DomContentLoaded,data:{}}),N==="DOMContentLoaded"&&K()})),B.push(Mt("load",()=>{et({type:we.Load,data:{}}),N==="load"&&K()},window))),()=>{B.forEach(Y=>Y()),H.destroy(),Ec=void 0,LD()}}catch(B){console.warn(B)}}function tF(e){if(!Ec)throw new Error("please take full snapshot after start recording");Ec(e)}Yn.mirror=ln;Yn.takeFullSnapshot=tF;function nF(e,t){try{return e?e(t):new Mg}catch{return console.warn("Unable to initialize CanvasManager"),new Mg}}var Pg;(function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"})(Pg||(Pg={}));const rF=3,sF=5;function Qd(e){return e>9999999999?e:e*1e3}function tu(e){return e>9999999999?e/1e3:e}function ta(e,t){t.category!=="sentry.transaction"&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>(e.throttledAddEvent({type:we.Custom,timestamp:(t.timestamp||0)*1e3,data:{tag:"breadcrumb",payload:un(t,10,1e3)}}),t.category==="console")))}const iF="button,a";function bE(e){return e.closest(iF)||e}function SE(e){const t=EE(e);return!t||!(t instanceof Element)?t:bE(t)}function EE(e){return oF(e)?e.target:e}function oF(e){return typeof e=="object"&&!!e&&"target"in e}let Sr;function aF(e){return Sr||(Sr=[],cF()),Sr.push(e),()=>{const t=Sr?Sr.indexOf(e):-1;t>-1&&Sr.splice(t,1)}}function cF(){$t(je,"open",function(e){return function(...t){if(Sr)try{Sr.forEach(n=>n())}catch{}return e.apply(je,t)}})}const lF=new Set([ye.Mutation,ye.StyleSheetRule,ye.StyleDeclaration,ye.AdoptedStyleSheet,ye.CanvasMutation,ye.Selection,ye.MediaInteraction]);function uF(e,t,n){e.handleClick(t,n)}class fF{constructor(t,n,r=ta){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=n.timeout/1e3,this._threshold=n.threshold/1e3,this._scrollTimeout=n.scrollTimeout/1e3,this._replay=t,this._ignoreSelector=n.ignoreSelector,this._addBreadcrumbEvent=r}addListeners(){const t=aF(()=>{this._lastMutation=Ng()});this._teardown=()=>{t(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(t,n){if(hF(n,this._ignoreSelector)||!pF(t))return;const r={timestamp:tu(t.timestamp),clickBreadcrumb:t,clickCount:0,node:n};this._clicks.some(s=>s.node===r.node&&Math.abs(s.timestamp-r.timestamp)<1)||(this._clicks.push(r),this._clicks.length===1&&this._scheduleCheckClicks())}registerMutation(t=Date.now()){this._lastMutation=tu(t)}registerScroll(t=Date.now()){this._lastScroll=tu(t)}registerClick(t){const n=bE(t);this._handleMultiClick(n)}_handleMultiClick(t){this._getClicks(t).forEach(n=>{n.clickCount++})}_getClicks(t){return this._clicks.filter(n=>n.node===t)}_checkClicks(){const t=[],n=Ng();this._clicks.forEach(r=>{!r.mutationAfter&&this._lastMutation&&(r.mutationAfter=r.timestamp<=this._lastMutation?this._lastMutation-r.timestamp:void 0),!r.scrollAfter&&this._lastScroll&&(r.scrollAfter=r.timestamp<=this._lastScroll?this._lastScroll-r.timestamp:void 0),r.timestamp+this._timeout<=n&&t.push(r)});for(const r of t){const s=this._clicks.indexOf(r);s>-1&&(this._generateBreadcrumbs(r),this._clicks.splice(s,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(t){const n=this._replay,r=t.scrollAfter&&t.scrollAfter<=this._scrollTimeout,s=t.mutationAfter&&t.mutationAfter<=this._threshold,i=!r&&!s,{clickCount:o,clickBreadcrumb:a}=t;if(i){const c=Math.min(t.mutationAfter||this._timeout,this._timeout)*1e3,l=c1){const c={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.multiClick",data:{...a.data,url:je.location.href,route:n.getCurrentRoute(),clickCount:o,metric:!0}};this._addBreadcrumbEvent(n,c)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=Qo(()=>this._checkClicks(),1e3)}}const dF=["A","BUTTON","INPUT"];function hF(e,t){return!!(!dF.includes(e.tagName)||e.tagName==="INPUT"&&!["submit","button"].includes(e.getAttribute("type")||"")||e.tagName==="A"&&(e.hasAttribute("download")||e.hasAttribute("target")&&e.getAttribute("target")!=="_self")||t&&e.matches(t))}function pF(e){return!!(e.data&&typeof e.data.nodeId=="number"&&e.timestamp)}function Ng(){return Date.now()/1e3}function mF(e,t){try{if(!gF(t))return;const{source:n}=t.data;if(lF.has(n)&&e.registerMutation(t.timestamp),n===ye.Scroll&&e.registerScroll(t.timestamp),yF(t)){const{type:r,id:s}=t.data,i=Yn.mirror.getNode(s);i instanceof HTMLElement&&r===xt.Click&&e.registerClick(i)}}catch{}}function gF(e){return e.type===rF}function yF(e){return e.data.source===ye.MouseInteraction}function An(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var eh=(e=>(e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e))(eh||{});const vF=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function _F(e){const t={};!e["data-sentry-component"]&&e["data-sentry-element"]&&(e["data-sentry-component"]=e["data-sentry-element"]);for(const n in e)if(vF.has(n)){let r=n;(n==="data-testid"||n==="data-test-id")&&(r="testId"),t[r]=e[n]}return t}const bF=e=>t=>{if(!e.isEnabled())return;const n=SF(t);if(!n)return;const r=t.name==="click",s=r?t.event:void 0;r&&e.clickDetector&&(s!=null&&s.target)&&!s.altKey&&!s.metaKey&&!s.ctrlKey&&!s.shiftKey&&uF(e.clickDetector,n,SE(t.event)),ta(e,n)};function wE(e,t){const n=Yn.mirror.getId(e),r=n&&Yn.mirror.getNode(n),s=r&&Yn.mirror.getMeta(r),i=s&&wF(s)?s:null;return{message:t,data:i?{nodeId:n,node:{id:n,tagName:i.tagName,textContent:Array.from(i.childNodes).map(o=>o.type===eh.Text&&o.textContent).filter(Boolean).map(o=>o.trim()).join(""),attributes:_F(i.attributes)}}:{}}}function SF(e){const{target:t,message:n}=EF(e);return An({category:`ui.${e.name}`,...wE(t,n)})}function EF(e){const t=e.name==="click";let n,r=null;try{r=t?SE(e.event):EE(e.event),n=Ht(r,{maxStringLength:200})||""}catch{n=""}return{target:r,message:n}}function wF(e){return e.type===eh.Element}function TF(e,t){if(!e.isEnabled())return;e.updateUserActivity();const n=CF(t);n&&ta(e,n)}function CF(e){const{metaKey:t,shiftKey:n,ctrlKey:r,altKey:s,key:i,target:o}=e;if(!o||IF(o)||!i)return null;const a=t||r||s,c=i.length===1;if(!a&&c)return null;const l=Ht(o,{maxStringLength:200})||"",u=wE(o,l);return An({category:"ui.keyDown",message:l,data:{...u.data,metaKey:t,shiftKey:n,ctrlKey:r,altKey:s,key:i}})}function IF(e){return e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable}const kF={resource:MF,paint:AF,navigation:OF};function nu(e,t){return({metric:n})=>void t.replayPerformanceEntries.push(e(n))}function xF(e){return e.map(RF).filter(Boolean)}function RF(e){const t=kF[e.entryType];return t?t(e):null}function hi(e){return((Ut()||je.performance.timeOrigin)+e)/1e3}function AF(e){const{duration:t,entryType:n,name:r,startTime:s}=e,i=hi(s);return{type:n,name:r,start:i,end:i+t,data:void 0}}function OF(e){const{entryType:t,name:n,decodedBodySize:r,duration:s,domComplete:i,encodedBodySize:o,domContentLoadedEventStart:a,domContentLoadedEventEnd:c,domInteractive:l,loadEventStart:u,loadEventEnd:f,redirectCount:d,startTime:h,transferSize:p,type:m}=e;return s===0?null:{type:`${t}.${m}`,start:hi(h),end:hi(i),name:n,data:{size:p,decodedBodySize:r,encodedBodySize:o,duration:s,domInteractive:l,domContentLoadedEventStart:a,domContentLoadedEventEnd:c,loadEventStart:u,loadEventEnd:f,domComplete:i,redirectCount:d}}}function MF(e){const{entryType:t,initiatorType:n,name:r,responseEnd:s,startTime:i,decodedBodySize:o,encodedBodySize:a,responseStatus:c,transferSize:l}=e;return["fetch","xmlhttprequest"].includes(n)?null:{type:`${t}.${n}`,start:hi(i),end:hi(s),name:r,data:{size:l,statusCode:c,decodedBodySize:o,encodedBodySize:a}}}function PF(e){const t=e.entries[e.entries.length-1],n=t!=null&&t.element?[t.element]:void 0;return th(e,"largest-contentful-paint",n)}function NF(e){return e.sources!==void 0}function LF(e){const t=[],n=[];for(const r of e.entries)if(NF(r)){const s=[];for(const i of r.sources)if(i.node){n.push(i.node);const o=Yn.mirror.getId(i.node);o&&s.push(o)}t.push({value:r.value,nodeIds:s.length?s:void 0})}return th(e,"cumulative-layout-shift",n,t)}function DF(e){const t=e.entries[e.entries.length-1],n=t!=null&&t.target?[t.target]:void 0;return th(e,"interaction-to-next-paint",n)}function th(e,t,n,r){const s=e.value,i=e.rating,o=hi(s);return{type:"web-vital",name:t,start:o,end:o,data:{value:s,size:s,rating:i,nodeIds:n?n.map(a=>Yn.mirror.getId(a)):void 0,attributions:r}}}function FF(e){function t(s){e.performanceEntries.includes(s)||e.performanceEntries.push(s)}function n({entries:s}){s.forEach(t)}const r=[];return["navigation","paint","resource"].forEach(s=>{r.push(gs(s,n))}),r.push(Wd(nu(PF,e)),Ud(nu(LF,e)),DS(nu(DF,e))),()=>{r.forEach(s=>s())}}const de=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,$F='var t=Uint8Array,n=Uint16Array,r=Int32Array,e=new t([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]),i=new t([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]),s=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),a=function(t,e){for(var i=new n(31),s=0;s<31;++s)i[s]=e+=1<>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,s=0,a=new n(r);s>f]=l}else for(o=new n(i),s=0;s>15-t[s]);return o},p=new t(288);for(c=0;c<144;++c)p[c]=8;for(c=144;c<256;++c)p[c]=9;for(c=256;c<280;++c)p[c]=7;for(c=280;c<288;++c)p[c]=8;var g=new t(32);for(c=0;c<32;++c)g[c]=5;var w=d(p,9,0),y=d(g,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))},M=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8},_=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8,t[e+2]|=r>>16},x=function(r,e){for(var i=[],s=0;sd&&(d=o[s].s);var p=new n(d+1),g=A(i[c-1],p,0);if(g>e){s=0;var w=0,y=g-e,m=1<e))break;w+=m-(1<>=y;w>0;){var M=o[s].s;p[M]=0&&w;--s){var E=o[s].s;p[E]==e&&(--p[E],++w)}g=e}return{t:new t(p),l:g}},A=function(t,n,r){return-1==t.s?Math.max(A(t.l,n,r+1),A(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&&!t[--r];);for(var e=new n(++r),i=0,s=t[0],a=1,o=function(t){e[i++]=t},h=1;h<=r;++h)if(t[h]==s&&h!=r)++a;else{if(!s&&a>2){for(;a>138;a-=138)o(32754);a>2&&(o(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(o(s),--a;a>6;a-=6)o(8304);a>2&&(o(a-3<<5|8208),a=0)}for(;a--;)o(s);a=1,s=t[h]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var s=0;s4&&!H[s[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(h,p)+T(f,g)+l,X=T(h,M)+T(f,U)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=w,P=p,Q=y,R=g;for(B=0;B255){_(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;_(r,m,Q[et]),m+=R[et],et>3&&(_(r,m,rt>>5&8191),m+=i[et])}else _(r,m,N[rt]),m+=P[rt]}return _(r,m,N[256]),m+P[256]},C=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,s=0|r.length,a=0;a!=s;){for(var o=Math.min(a+2655,s);a>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},L=function(s,a,o,h,u){if(!u&&(u={l:1},a.dictionary)){var c=a.dictionary.subarray(-32768),v=new t(c.length+s.length);v.set(c),v.set(s,c.length),s=v,u.w=c.length}return function(s,a,o,h,u,c){var v=c.z||s.length,d=new t(h+v+5*(1+Math.ceil(v/7e3))+u),p=d.subarray(h,d.length-u),g=c.l,w=7&(c.r||0);if(a){w&&(p[0]=c.r>>3);for(var y=C[a-1],M=y>>13,E=8191&y,z=(1<7e3||q>24576)&&(N>423||!g)){w=U(s,p,0,F,I,S,O,q,G,j-G,w),q=L=O=0,G=j;for(var P=0;P<286;++P)I[P]=0;for(P=0;P<30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&32767;if(N>2&&H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W<=Y&&--V&&J!=K;){if(s[j+Q]==s[j+Q-W]){for(var $=0;$Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;Pnt&&(nt=et,K=rt)}}}W+=(J=K)-(K=_[J])&32767}if(R){F[q++]=268435456|f[Q]<<18|l[R];var it=31&f[Q],st=31&l[R];O+=e[it]+i[st],++I[257+it],++S[st],B=j+Q,++L}else F[q++]=s[j],++I[s[j]]}}for(j=Math.max(j,B);j=v&&(p[w/8|0]=g,at=v),w=k(p,w+1,s.subarray(j,at))}c.i=v}return b(d,0,h+m(w)+u)}(s,null==a.level?6:a.level,null==a.mem?u.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(s.length)))):20:12+a.mem,o,h,u)},O=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},j=function(){function n(n,r){if("function"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(L(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var s=this.b.length-this.s.z;this.b.set(n.subarray(0,s),this.s.z),this.s.z=this.b.length,this.p(this.b,!1),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(s),32768),this.s.z=n.length-s+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&r,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n.prototype.flush=function(){this.ondata||E(5),this.s.l&&E(4),this.p(this.b,!1),this.s.w=this.s.i,this.s.i-=2},n}();function q(t,n){n||(n={});var r=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e>>8;t=r},d:function(){return~t}}}(),e=t.length;r.p(t);var i,s=L(t,n,10+((i=n).filename?i.filename.length+1:0),8),a=s.length;return function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&O(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}}(s,n),O(s,a-8,r.d()),O(s,a-4,e),s}var B=function(){function t(t,n){this.c=S(),this.v=1,j.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),j.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=L(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=S();i.p(n.dictionary),O(t,2,i.d())}}(r,this.o),this.v=0),n&&O(r,r.length-4,this.c.d()),this.ondata(r,n)},t.prototype.flush=function(){j.prototype.flush.call(this)},t}(),G="undefined"!=typeof TextEncoder&&new TextEncoder,H="undefined"!=typeof TextDecoder&&new TextDecoder;try{H.decode(F,{stream:!0})}catch(t){}var J=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(K(t),this.d=n||!1)},t}();function K(n,r){if(G)return G.encode(n);for(var e=n.length,i=new t(n.length+(n.length>>1)),s=0,a=function(t){i[s++]=t},o=0;oi.length){var h=new t(s+8+(e-o<<1));h.set(i),i=h}var f=n.charCodeAt(o);f<128||r?a(f):f<2048?(a(192|f>>6),a(128|63&f)):f>55295&&f<57344?(a(240|(f=65536+(1047552&f)|1023&n.charCodeAt(++o))>>18),a(128|f>>12&63),a(128|f>>6&63),a(128|63&f)):(a(224|f>>12),a(128|f>>6&63),a(128|63&f))}return b(i,0,s)}const N=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(const r of t)n+=r.length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n{this._deflatedData.push(t)},this.stream=new J((t,n)=>{this.deflate.push(t,n)}),this.stream.push("[")}},P={clear:()=>{N.clear()},addEvent:t=>N.addEvent(t),finish:()=>N.finish(),compress:t=>function(t){return q(K(t))}(t)};addEventListener("message",function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in P&&"function"==typeof P[n])try{const t=P[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}}),postMessage({id:void 0,method:"init",success:!0,response:void 0});';function BF(){const e=new Blob([$F]);return URL.createObjectURL(e)}const Lg=["log","warn","error"],Ha="[Replay] ";function ru(e,t="info"){Or({category:"console",data:{logger:"replay"},level:t,message:`${Ha}${e}`},{level:t})}function HF(){let e=!1,t=!1;const n={exception:()=>{},infoTick:()=>{},setConfig:r=>{e=!!r.captureExceptions,t=!!r.traceInternals}};return de?(Lg.forEach(r=>{n[r]=(...s)=>{X[r](Ha,...s),t&&ru(s.join(""),_S(r))}}),n.exception=(r,...s)=>{s.length&&n.error&&n.error(...s),X.error(Ha,r),e?el(r,{mechanism:{handled:!0,type:"auto.function.replay.debug"}}):t&&ru(r,"error")},n.infoTick=(...r)=>{X.log(Ha,...r),t&&setTimeout(()=>ru(r[0]),0)}):Lg.forEach(r=>{n[r]=()=>{}}),n}const he=HF();class nh extends Error{constructor(){super(`Event buffer exceeded maximum size of ${Gd}.`)}}class TE{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(t){const n=JSON.stringify(t).length;if(this._totalSize+=n,this._totalSize>Gd)throw new nh;this.events.push(t)}finish(){return new Promise(t=>{const n=this.events;this.clear(),t(JSON.stringify(n))})}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){const t=this.events.map(n=>n.timestamp).sort()[0];return t?Qd(t):null}}class VF{constructor(t){this._worker=t,this._id=0}ensureReady(){return this._ensureReadyPromise?this._ensureReadyPromise:(this._ensureReadyPromise=new Promise((t,n)=>{this._worker.addEventListener("message",({data:r})=>{r.success?t():n()},{once:!0}),this._worker.addEventListener("error",r=>{n(r)},{once:!0})}),this._ensureReadyPromise)}destroy(){de&&he.log("Destroying compression worker"),this._worker.terminate()}postMessage(t,n){const r=this._getAndIncrementId();return new Promise((s,i)=>{const o=({data:a})=>{const c=a;if(c.method===t&&c.id===r){if(this._worker.removeEventListener("message",o),!c.success){de&&he.error("Error in compression worker: ",c.response),i(new Error("Error in compression worker"));return}s(c.response)}};this._worker.addEventListener("message",o),this._worker.postMessage({id:r,method:t,arg:n})})}_getAndIncrementId(){return this._id++}}class UF{constructor(t){this._worker=new VF(t),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(t){const n=Qd(t.timestamp);(!this._earliestTimestamp||nGd?Promise.reject(new nh):this._sendEventToWorker(r)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,t=>{de&&he.exception(t,'Sending "clear" message to worker failed',t)})}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(t){return this._worker.postMessage("addEvent",t)}async _finishRequest(){const t=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,t}}class WF{constructor(t){this._fallback=new TE,this._compression=new UF(t),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get waitForCheckout(){return this._used.waitForCheckout}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(t){this._used.hasCheckout=t}set waitForCheckout(t){this._used.waitForCheckout=t}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(t){return this._used.addEvent(t)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(t){de&&he.exception(t,"Failed to load the compression worker, falling back to simple buffer");return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){const{events:t,hasCheckout:n,waitForCheckout:r}=this._fallback,s=[];for(const i of t)s.push(this._compression.addEvent(i));this._compression.hasCheckout=n,this._compression.waitForCheckout=r,this._used=this._compression;try{await Promise.all(s),this._fallback.clear()}catch(i){de&&he.exception(i,"Failed to add events when switching buffers.")}}}function jF({useCompression:e,workerUrl:t}){if(e&&window.Worker){const n=zF(t);if(n)return n}return de&&he.log("Using simple buffer"),new TE}function zF(e){try{const t=e||qF();if(!t)return;de&&he.log(`Using compression worker${e?` from ${e}`:""}`);const n=new Worker(t);return new WF(n)}catch(t){de&&he.exception(t,"Failed to create compression worker")}}function qF(){return typeof __SENTRY_EXCLUDE_REPLAY_WORKER__>"u"||!__SENTRY_EXCLUDE_REPLAY_WORKER__?BF():""}function rh(){try{return"sessionStorage"in je&&!!je.sessionStorage}catch{return!1}}function GF(e){KF(),e.session=void 0}function KF(){if(rh())try{je.sessionStorage.removeItem(zd)}catch{}}function CE(e){return e===void 0?!1:Math.random()e.getContext().initialTimestamp+e.getOptions().maxReplayDuration?(de&&he.infoTick(`Skipping event with timestamp ${n} because it is after maxReplayDuration`),!1):!0}function QF(e,t){try{if(typeof t=="function"&&JF(e))return t(e)}catch(n){return de&&he.exception(n,"An error occurred in the `beforeAddRecordingEvent` callback, skipping the event..."),null}return e}function ih(e){return!e.type}function yf(e){return e.type==="transaction"}function e$(e){return e.type==="replay_event"}function Fg(e){return e.type==="feedback"}function t$(e){return(t,n)=>{if(!e.isEnabled()||!ih(t)&&!yf(t))return;const r=n.statusCode;if(!(!r||r<200||r>=300)){if(yf(t)){n$(e,t);return}r$(e,t)}}}function n$(e,t){var r,s;const n=e.getContext();(s=(r=t.contexts)==null?void 0:r.trace)!=null&&s.trace_id&&n.traceIds.size<100&&n.traceIds.add(t.contexts.trace.trace_id)}function r$(e,t){const n=e.getContext();if(t.event_id&&n.errorIds.size<100&&n.errorIds.add(t.event_id),e.recordingMode!=="buffer"||!t.tags||!t.tags.replayId)return;const{beforeErrorSampling:r}=e.getOptions();typeof r=="function"&&!r(t)||Qo(async()=>{try{await e.sendBufferedReplayOrFlush()}catch(s){e.handleException(s)}})}function s$(e){return t=>{!e.isEnabled()||!ih(t)||i$(e,t)}}function i$(e,t){var r,s,i;const n=(i=(s=(r=t.exception)==null?void 0:r.values)==null?void 0:s[0])==null?void 0:i.value;if(typeof n=="string"&&(n.match(/(reactjs\.org\/docs\/error-decoder\.html\?invariant=|react\.dev\/errors\/)(418|419|422|423|425)/)||n.match(/(does not match server-rendered HTML|Hydration failed because)/i))){const o=An({category:"replay.hydrate-error",data:{url:Ii()}});ta(e,o)}}function o$(e){const t=Ie();t&&t.on("beforeAddBreadcrumb",n=>a$(e,n))}function a$(e,t){if(!e.isEnabled()||!OE(t))return;const n=c$(t);n&&ta(e,n)}function c$(e){return!OE(e)||["fetch","xhr","sentry.event","sentry.transaction"].includes(e.category)||e.category.startsWith("ui.")?null:e.category==="console"?l$(e):An(e)}function l$(e){var s;const t=(s=e.data)==null?void 0:s.arguments;if(!Array.isArray(t)||t.length===0)return An(e);let n=!1;const r=t.map(i=>{if(!i)return i;if(typeof i=="string")return i.length>ya?(n=!0,`${i.slice(0,ya)}…`):i;if(typeof i=="object")try{const o=un(i,7);return JSON.stringify(o).length>ya?(n=!0,`${JSON.stringify(o,null,2).slice(0,ya)}…`):o}catch{}return i});return An({...e,data:{...e.data,arguments:r,...n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}function OE(e){return!!e.category}function u$(e,t){var n,r,s;return e.type||!((r=(n=e.exception)==null?void 0:n.values)!=null&&r.length)?!1:!!((s=t.originalException)!=null&&s.__rrweb__)}function ME(){const e=De().getPropagationContext().dsc;e&&delete e.replay_id;const t=bt();if(t){const n=sr(t);delete n.replay_id}}function f$(e,t){e.triggerUserActivity(),e.addUpdate(()=>t.timestamp?(e.throttledAddEvent({type:we.Custom,timestamp:t.timestamp*1e3,data:{tag:"breadcrumb",payload:{timestamp:t.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:t.event_id}}}}),!1):!0)}function d$(e,t){return e.recordingMode!=="buffer"||t.message===qd||!t.exception||t.type?!1:CE(e.getOptions().errorSampleRate)}function h$(e){return Object.assign((t,n)=>{var o;if(!e.isEnabled()||e.isPaused())return t;if(e$(t))return delete t.breadcrumbs,t;if(!ih(t)&&!yf(t)&&!Fg(t))return t;if(!e.checkAndHandleExpiredSession())return ME(),t;if(Fg(t))return e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),f$(e,t),t;if(u$(t,n)&&!e.getOptions()._experiments.captureExceptions)return de&&he.log("Ignoring error from rrweb internals",t),null;const s=d$(e,t);if((s||e.recordingMode==="session")&&(t.tags={...t.tags,replayId:e.getSessionId()}),s&&e.recordingMode==="buffer"&&((o=e.session)==null?void 0:o.sampled)==="buffer"){const a=e.session;a.dirty=!0,e.getOptions().stickySession&&al(a)}return t},{id:"Replay"})}function cl(e,t){return t.map(({type:n,start:r,end:s,name:i,data:o})=>{const a=e.throttledAddEvent({type:we.Custom,timestamp:r,data:{tag:"performanceSpan",payload:{op:n,description:i,startTimestamp:r,endTimestamp:s,data:o}}});return typeof a=="string"?Promise.resolve(null):a})}function p$(e){const{from:t,to:n}=e,r=Date.now()/1e3;return{type:"navigation.push",start:r,end:r,name:n,data:{previous:t}}}function m$(e){return t=>{if(!e.isEnabled())return;const n=p$(t);n!==null&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate(()=>(cl(e,[n]),!1)))}}function g$(e,t){return de&&e.getOptions()._experiments.traceInternals?!1:iM(t,Ie())}function PE(e,t){e.isEnabled()&&t!==null&&(g$(e,t.name)||e.addUpdate(()=>(cl(e,[t]),!0)))}function ll(e){if(!e)return;const t=new TextEncoder;try{if(typeof e=="string")return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){const n=zS(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch{}}function NE(e){if(!e)return;const t=parseInt(e,10);return isNaN(t)?void 0:t}function wc(e,t){if(!e)return{headers:{},size:void 0,_meta:{warnings:[t]}};const n={...e._meta},r=n.warnings||[];return n.warnings=[...r,t],e._meta=n,e}function LE(e,t){if(!t)return null;const{startTimestamp:n,endTimestamp:r,url:s,method:i,statusCode:o,request:a,response:c}=t;return{type:e,start:n/1e3,end:r/1e3,name:s,data:{method:i,statusCode:o,request:a,response:c}}}function Oo(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function Ir(e,t,n){if(!t&&Object.keys(e).length===0)return;if(!t)return{headers:e};if(!n)return{headers:e,size:t};const r={headers:e,size:t},{body:s,warnings:i}=y$(n);return r.body=s,i!=null&&i.length&&(r._meta={warnings:i}),r}function vf(e,t){return Object.entries(e).reduce((n,[r,s])=>{const i=r.toLowerCase();return t.includes(i)&&e[r]&&(n[i]=s),n},{})}function y$(e){if(!e||typeof e!="string")return{body:e};const t=e.length>yg,n=v$(e);if(t){const r=e.slice(0,yg);return n?{body:r,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${r}…`,warnings:["TEXT_TRUNCATED"]}}if(n)try{return{body:JSON.parse(e)}}catch{}return{body:e}}function v$(e){const t=e[0],n=e[e.length-1];return t==="["&&n==="]"||t==="{"&&n==="}"}function Tc(e,t){const n=_$(e);return Gn(n,t)}function _$(e,t=je.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(je.location.origin))return e;const n=new URL(e,t);if(n.origin!==new URL(t).origin)return e;const r=n.href;return!e.endsWith("/")&&r.endsWith("/")?r.slice(0,-1):r}async function b$(e,t,n){try{const r=await E$(e,t,n),s=LE("resource.fetch",r);PE(n.replay,s)}catch(r){de&&he.exception(r,"Failed to capture fetch breadcrumb")}}function S$(e,t){const{input:n,response:r}=t,s=n?GS(n):void 0,i=ll(s),o=r?NE(r.headers.get("content-length")):void 0;i!==void 0&&(e.data.request_body_size=i),o!==void 0&&(e.data.response_body_size=o)}async function E$(e,t,n){const r=Date.now(),{startTimestamp:s=r,endTimestamp:i=r}=t,{url:o,method:a,status_code:c=0,request_body_size:l,response_body_size:u}=e.data,f=Tc(o,n.networkDetailAllowUrls)&&!Tc(o,n.networkDetailDenyUrls),d=f?w$(n,t.input,l):Oo(l),h=await T$(f,n,t.response,u);return{startTimestamp:s,endTimestamp:i,url:o,method:a,statusCode:c,request:d,response:h}}function w$({networkCaptureBodies:e,networkRequestHeaders:t},n,r){const s=n?k$(n,t):{};if(!e)return Ir(s,r,void 0);const i=GS(n),[o,a]=qS(i,he),c=Ir(s,r,o);return a?wc(c,a):c}async function T$(e,{networkCaptureBodies:t,networkResponseHeaders:n},r,s){if(!e&&s!==void 0)return Oo(s);const i=r?DE(r.headers,n):{};if(!r||!t&&s!==void 0)return Ir(i,s,void 0);const[o,a]=await I$(r),c=C$(o,{networkCaptureBodies:t,responseBodySize:s,captureDetails:e,headers:i});return a?wc(c,a):c}function C$(e,{networkCaptureBodies:t,responseBodySize:n,captureDetails:r,headers:s}){try{const i=e!=null&&e.length&&n===void 0?ll(e):n;return r?t?Ir(s,i,e):Ir(s,i,void 0):Oo(i)}catch(i){return de&&he.exception(i,"Failed to serialize response body"),Ir(s,n,void 0)}}async function I$(e){const t=x$(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{return[await R$(t)]}catch(n){return n instanceof Error&&n.message.indexOf("Timeout")>-1?(de&&he.warn("Parsing text body from response timed out"),[void 0,"BODY_PARSE_TIMEOUT"]):(de&&he.exception(n,"Failed to get text body from response"),[void 0,"BODY_PARSE_ERROR"])}}function DE(e,t){const n={};return t.forEach(r=>{e.get(r)&&(n[r]=e.get(r))}),n}function k$(e,t){return e.length===1&&typeof e[0]!="string"?$g(e[0],t):e.length===2?$g(e[1],t):{}}function $g(e,t){if(!e)return{};const n=e.headers;return n?n instanceof Headers?DE(n,t):Array.isArray(n)?{}:vf(n,t):{}}function x$(e){try{return e.clone()}catch(t){de&&he.exception(t,"Failed to clone response body")}}function R$(e){return new Promise((t,n)=>{const r=Qo(()=>n(new Error("Timeout while trying to read response body")),500);A$(e).then(s=>t(s),s=>n(s)).finally(()=>clearTimeout(r))})}async function A$(e){return await e.text()}async function O$(e,t,n){try{const r=P$(e,t,n),s=LE("resource.xhr",r);PE(n.replay,s)}catch(r){de&&he.exception(r,"Failed to capture xhr breadcrumb")}}function M$(e,t){const{xhr:n,input:r}=t;if(!n)return;const s=ll(r),i=n.getResponseHeader("content-length")?NE(n.getResponseHeader("content-length")):D$(n.response,n.responseType);s!==void 0&&(e.data.request_body_size=s),i!==void 0&&(e.data.response_body_size=i)}function P$(e,t,n){const r=Date.now(),{startTimestamp:s=r,endTimestamp:i=r,input:o,xhr:a}=t,{url:c,method:l,status_code:u=0,request_body_size:f,response_body_size:d}=e.data;if(!c)return null;if(!a||!Tc(c,n.networkDetailAllowUrls)||Tc(c,n.networkDetailDenyUrls)){const R=Oo(f),E=Oo(d);return{startTimestamp:s,endTimestamp:i,url:c,method:l,statusCode:u,request:R,response:E}}const h=a[Zr],p=h?vf(h.request_headers,n.networkRequestHeaders):{},m=vf(KS(a),n.networkResponseHeaders),[y,g]=n.networkCaptureBodies?qS(o,he):[void 0],[v,_]=n.networkCaptureBodies?N$(a):[void 0],T=Ir(p,f,y),O=Ir(m,d,v);return{startTimestamp:s,endTimestamp:i,url:c,method:l,statusCode:u,request:g?wc(T,g):T,response:_?wc(O,_):O}}function N$(e){const t=[];try{return[e.responseText]}catch(n){t.push(n)}try{return L$(e.response,e.responseType)}catch(n){t.push(n)}return de&&he.warn("Failed to get xhr response body",...t),[void 0]}function L$(e,t){try{if(typeof e=="string")return[e];if(e instanceof Document)return[e.body.outerHTML];if(t==="json"&&e&&typeof e=="object")return[JSON.stringify(e)];if(!e)return[void 0]}catch(n){return de&&he.exception(n,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return de&&he.log("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function D$(e,t){try{const n=t==="json"&&e&&typeof e=="object"?JSON.stringify(e):e;return ll(n)}catch{return}}function F$(e){const t=Ie();try{const{networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:s,networkRequestHeaders:i,networkResponseHeaders:o}=e.getOptions(),a={replay:e,networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:s,networkRequestHeaders:i,networkResponseHeaders:o};t&&t.on("beforeAddBreadcrumb",(c,l)=>$$(a,c,l))}catch{}}function $$(e,t,n){if(t.data)try{B$(t)&&V$(n)&&(M$(t,n),O$(t,n,e)),H$(t)&&U$(n)&&(S$(t,n),b$(t,n,e))}catch(r){de&&he.exception(r,"Error when enriching network breadcrumb")}}function B$(e){return e.category==="xhr"}function H$(e){return e.category==="fetch"}function V$(e){return e==null?void 0:e.xhr}function U$(e){return e==null?void 0:e.response}function W$(e){const t=Ie();US(bF(e)),rl(m$(e)),o$(e),F$(e);const n=h$(e);CO(n),t&&(t.on("beforeSendEvent",s$(e)),t.on("afterSendEvent",t$(e)),t.on("createDsc",r=>{const s=e.getSessionId();s&&e.isEnabled()&&e.recordingMode==="session"&&e.checkAndHandleExpiredSession()&&(r.replay_id=s)}),t.on("spanStart",r=>{e.lastActiveSpan=r}),t.on("spanEnd",r=>{e.lastActiveSpan=r}),t.on("beforeSendFeedback",async(r,s)=>{var o;const i=e.getSessionId();s!=null&&s.includeReplay&&e.isEnabled()&&i&&((o=r.contexts)!=null&&o.feedback)&&(r.contexts.feedback.source==="api"&&await e.sendBufferedReplayOrFlush(),r.contexts.feedback.replay_id=i)}),t.on("openFeedbackWidget",async()=>{await e.sendBufferedReplayOrFlush()}))}async function j$(e){try{return Promise.all(cl(e,[z$(je.performance.memory)]))}catch{return[]}}function z$(e){const{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}=e,s=Date.now()/1e3;return{type:"memory",name:"memory",start:s,end:s,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}}}}function q$(e,t,n){return fM(e,t,{...n,setTimeoutImpl:Qo})}const Qt=Ce.navigator;function G$(){return/iPhone|iPad|iPod/i.test((Qt==null?void 0:Qt.userAgent)??"")||/Macintosh/i.test((Qt==null?void 0:Qt.userAgent)??"")&&(Qt!=null&&Qt.maxTouchPoints)&&(Qt==null?void 0:Qt.maxTouchPoints)>1?{sampling:{mousemove:!1}}:{}}function K$(e){let t=!1;return(n,r)=>{if(!e.checkAndHandleExpiredSession()){de&&he.warn("Received replay event after session expired.");return}const s=r||!t;t=!0,e.clickDetector&&mF(e.clickDetector,n),e.addUpdate(()=>{if(e.recordingMode==="buffer"&&s&&e.setInitialState(),!sh(e,n,s))return!0;if(!s)return!1;const i=e.session;if(X$(e,s),e.recordingMode==="buffer"&&i&&e.eventBuffer&&!i.dirty){const o=e.eventBuffer.getEarliestTimestamp();o&&(de&&he.log(`Updating session start time to earliest event in buffer to ${new Date(o)}`),i.started=o,e.getOptions().stickySession&&al(i))}return i!=null&&i.previousSessionId||e.recordingMode==="session"&&e.flush(),!0})}}function Y$(e){const t=e.getOptions();return{type:we.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:e.isRecordingCanvas(),sessionSampleRate:t.sessionSampleRate,errorSampleRate:t.errorSampleRate,useCompressionOption:t.useCompression,blockAllMedia:t.blockAllMedia,maskAllText:t.maskAllText,maskAllInputs:t.maskAllInputs,useCompression:e.eventBuffer?e.eventBuffer.type==="worker":!1,networkDetailHasUrls:t.networkDetailAllowUrls.length>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}}function X$(e,t){!t||!e.session||e.session.segmentId!==0||sh(e,Y$(e),!1)}function J$(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch{return null}}function Z$(e,t,n,r){return Vr(Kb(e,xd(e),r,n),[[{type:"replay_event"},e],[{type:"replay_recording",length:typeof t=="string"?new TextEncoder().encode(t).length:t.length},t]])}function Q$({recordingData:e,headers:t}){let n;const r=`${JSON.stringify(t)} `;if(typeof e=="string")n=`${r}${e}`;else{const i=new TextEncoder().encode(r);n=new Uint8Array(i.length+e.length),n.set(i),n.set(e,i.length)}return n}async function eB({client:e,scope:t,replayId:n,event:r}){const s=typeof e._integrations=="object"&&e._integrations!==null&&!Array.isArray(e._integrations)?Object.keys(e._integrations):void 0,i={event_id:n,integrations:s};e.emit("preprocessEvent",r,i);const o=await eS(e.getOptions(),r,i,t,e,Nn());if(!o)return null;e.emit("postprocessEvent",o,i),o.platform=o.platform||"javascript";const a=e.getSdkMetadata(),{name:c,version:l,settings:u}=(a==null?void 0:a.sdk)||{};return o.sdk={...o.sdk,name:c||"sentry.javascript.unknown",version:l||"0.0.0",settings:u},o}async function tB({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:s,session:i}){const o=Q$({recordingData:e,headers:{segment_id:n}}),{urls:a,errorIds:c,traceIds:l,initialTimestamp:u}=r,f=Ie(),d=De(),h=f==null?void 0:f.getTransport(),p=f==null?void 0:f.getDsn();if(!f||!h||!p||!i.sampled)return Promise.resolve({});const m={type:OL,replay_start_timestamp:u/1e3,timestamp:s/1e3,error_ids:c,trace_ids:l,urls:a,replay_id:t,segment_id:n,replay_type:i.sampled},y=await eB({scope:d,client:f,replayId:t,event:m});if(!y)return f.recordDroppedEvent("event_processor","replay"),de&&he.log("An event processor returned `null`, will not send event."),Promise.resolve({});delete y.sdkProcessingMetadata;const g=Z$(y,o,p,f.getOptions().tunnel);let v;try{v=await h.send(g)}catch(T){const O=new Error(qd);try{O.cause=T}catch{}throw O}if(typeof v.statusCode=="number"&&(v.statusCode<200||v.statusCode>=300))throw new FE(v.statusCode);const _=uS({},v);if(lS(_,"replay"))throw new oh(_);return v}class FE extends Error{constructor(t){super(`Transport returned status code ${t}`)}}class oh extends Error{constructor(t){super("Rate limit hit"),this.rateLimits=t}}async function $E(e,t={count:0,interval:FL}){const{recordingData:n,onError:r}=e;if(n.length)try{return await tB(e),!0}catch(s){if(s instanceof FE||s instanceof oh)throw s;if(wO("Replays",{_retryCount:t.count}),r&&r(s),t.count>=$L){const i=new Error(`${qd} - max retries exceeded`);try{i.cause=s}catch{}throw i}return t.interval*=++t.count,new Promise((i,o)=>{Qo(async()=>{try{await $E(e,t),i(!0)}catch(a){o(a)}},t.interval)})}}const BE="__THROTTLED",nB="__SKIPPED";function rB(e,t,n){const r=new Map,s=a=>{const c=a-n;r.forEach((l,u)=>{u[...r.values()].reduce((a,c)=>a+c,0);let o=!1;return(...a)=>{const c=Math.floor(Date.now()/1e3);if(s(c),i()>=t){const u=o;return o=!0,u?nB:BE}o=!1;const l=r.get(c)||0;return r.set(c,l+1),e(...a)}}class sB{constructor({options:t,recordingOptions:n}){this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:ML,sessionIdleExpire:PL},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._requiresManualStart=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=n,this._options=t,this._debouncedFlush=q$(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=rB((o,a)=>ZF(this,o,a),300,5);const{slowClickTimeout:r,slowClickIgnoreSelectors:s}=this.getOptions(),i=r?{threshold:Math.min(BL,r),timeout:r,scrollTimeout:HL,ignoreSelector:s?s.join(","):""}:void 0;if(i&&(this.clickDetector=new fF(this,i)),de){const o=t._experiments;he.setConfig({captureExceptions:!!o.captureExceptions,traceInternals:!!o.traceInternals})}this._handleVisibilityChange=()=>{je.document.visibilityState==="visible"?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()},this._handleWindowBlur=()=>{const o=An({category:"ui.blur"});this._doChangeToBackgroundTasks(o)},this._handleWindowFocus=()=>{const o=An({category:"ui.focus"});this._doChangeToForegroundTasks(o)},this._handleKeyboardEvent=o=>{TF(this,o)}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}handleException(t){de&&he.exception(t),this._options.onError&&this._options.onError(t)}initializeSampling(t){const{errorSampleRate:n,sessionSampleRate:r}=this._options,s=n<=0&&r<=0;if(this._requiresManualStart=s,!s){if(this._initializeSessionForSampling(t),!this.session){de&&he.exception(new Error("Unable to initialize and create session"));return}this.session.sampled!==!1&&(this.recordingMode=this.session.sampled==="buffer"&&this.session.segmentId===0?"buffer":"session",de&&he.infoTick(`Starting replay in ${this.recordingMode} mode`),this._initializeRecording())}}start(){if(this._isEnabled&&this.recordingMode==="session"){de&&he.log("Recording is already in progress");return}if(this._isEnabled&&this.recordingMode==="buffer"){de&&he.log("Buffering is in progress, call `flush()` to save the replay");return}de&&he.infoTick("Starting replay in session mode"),this._updateUserActivity();const t=su({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=t,this.recordingMode="session",this._initializeRecording()}startBuffering(){if(this._isEnabled){de&&he.log("Buffering is in progress, call `flush()` to save the replay");return}de&&he.infoTick("Starting replay in buffer mode");const t=su({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=t,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{const t=this._canvas;this._stopRecording=Yn({...this._recordingOptions,...this.recordingMode==="buffer"?{checkoutEveryNms:DL}:this._options._experiments.continuousCheckout&&{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:K$(this),...G$(),onMutation:this._onMutationHandler.bind(this),...t?{recordCanvas:t.recordCanvas,getCanvasManager:t.getCanvasManager,sampling:t.sampling,dataURLOptions:t.dataURLOptions}:{}})}catch(t){this.handleException(t)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(t){return this.handleException(t),!1}}async stop({forceFlush:t=!1,reason:n}={}){var r;if(this._isEnabled){this._isEnabled=!1,this.recordingMode="buffer";try{de&&he.log(`Stopping Replay${n?` triggered by ${n}`:""}`),ME(),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),t&&await this._flush({force:!0}),(r=this.eventBuffer)==null||r.destroy(),this.eventBuffer=null,GF(this)}catch(s){this.handleException(s)}}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),de&&he.log("Pausing replay"))}resume(){!this._isPaused||!this._checkSession()||(this._isPaused=!1,this.startRecording(),de&&he.log("Resuming replay"))}async sendBufferedReplayOrFlush({continueRecording:t=!0}={}){if(this.recordingMode==="session")return this.flushImmediate();const n=Date.now();de&&he.log("Converting buffer to session"),await this.flushImmediate();const r=this.stopRecording();!t||!r||this.recordingMode!=="session"&&(this.recordingMode="session",this.session&&(this.session.dirty=!1,this._updateUserActivity(n),this._updateSessionActivity(n),this._maybeSaveSession()),this.startRecording())}addUpdate(t){const n=t();this.recordingMode==="buffer"||!this._isEnabled||n!==!0&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),!this._stopRecording){if(!this._checkSession())return;this.resume();return}this.checkAndHandleExpiredSession(),this._updateSessionActivity()}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return this.recordingMode==="buffer"?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(t){var n,r;if(!(t&&((n=this.session)==null?void 0:n.sampled)===!1))return(r=this.session)==null?void 0:r.id}checkAndHandleExpiredSession(){if(this._lastActivity&&gf(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&this.session.sampled==="session"){this.pause();return}return!!this._checkSession()}setInitialState(){const t=`${je.location.pathname}${je.location.hash}${je.location.search}`,n=`${je.location.origin}${t}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=n,this._context.initialTimestamp=Date.now(),this._context.urls.push(n)}throttledAddEvent(t,n){const r=this._throttledAddEvent(t,n);if(r===BE){const s=An({category:"replay.throttled"});this.addUpdate(()=>!sh(this,{type:sF,timestamp:s.timestamp||0,data:{tag:"breadcrumb",payload:s,metric:!0}}))}return r}getCurrentRoute(){const t=this.lastActiveSpan||bt(),n=t&&vt(t),s=(n&&ke(n).data||{})[Bt];if(!(!n||!s||!["route","custom"].includes(s)))return ke(n).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=jF({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_initializeSessionForSampling(t){const n=this._options.errorSampleRate>0,r=su({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,previousSessionId:t},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:n});this.session=r}_checkSession(){if(!this.session)return!1;const t=this.session;return xE(t,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})?(this._refreshSession(t),!1):!0}async _refreshSession(t){this._isEnabled&&(await this.stop({reason:"refresh session"}),this.initializeSampling(t.id))}_addListeners(){try{je.document.addEventListener("visibilitychange",this._handleVisibilityChange),je.addEventListener("blur",this._handleWindowBlur),je.addEventListener("focus",this._handleWindowFocus),je.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(W$(this),this._hasInitializedCoreListeners=!0)}catch(t){this.handleException(t)}this._performanceCleanupCallback=FF(this)}_removeListeners(){try{je.document.removeEventListener("visibilitychange",this._handleVisibilityChange),je.removeEventListener("blur",this._handleWindowBlur),je.removeEventListener("focus",this._handleWindowFocus),je.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(t){this.handleException(t)}}_doChangeToBackgroundTasks(t){!this.session||kE(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(t&&this._createCustomBreadcrumb(t),this.conditionalFlush())}_doChangeToForegroundTasks(t){if(!this.session)return;if(!this.checkAndHandleExpiredSession()){de&&he.log("Document has become active, but session has expired");return}t&&this._createCustomBreadcrumb(t)}_updateUserActivity(t=Date.now()){this._lastActivity=t}_updateSessionActivity(t=Date.now()){this.session&&(this.session.lastActivity=t,this._maybeSaveSession())}_createCustomBreadcrumb(t){this.addUpdate(()=>{this.throttledAddEvent({type:we.Custom,timestamp:t.timestamp||0,data:{tag:"breadcrumb",payload:t}})})}_addPerformanceEntries(){let t=xF(this.performanceEntries).concat(this.replayPerformanceEntries);if(this.performanceEntries=[],this.replayPerformanceEntries=[],this._requiresManualStart){const n=this._context.initialTimestamp/1e3;t=t.filter(r=>r.start>=n)}return Promise.all(cl(this,t))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){const{session:t,eventBuffer:n}=this;if(!t||!n||this._requiresManualStart||t.segmentId)return;const r=n.getEarliestTimestamp();r&&rthis._options.maxReplayDuration+3e4)throw new Error("Session is too long, not sending replay");const s=this._popEventContext(),i=this.session.segmentId++;this._maybeSaveSession();const o=await this.eventBuffer.finish();await $E({replayId:t,recordingData:o,segmentId:i,eventContext:s,session:this.session,timestamp:r,onError:a=>this.handleException(a)})}catch(r){this.handleException(r),this.stop({reason:"sendReplay"});const s=Ie();if(s){const i=r instanceof oh?"ratelimit_backoff":"send_error";s.recordDroppedEvent(i,"replay")}}}async _flush({force:t=!1}={}){if(!this._isEnabled&&!t)return;if(!this.checkAndHandleExpiredSession()){de&&he.error("Attempting to finish replay event after session expired.");return}if(!this.session)return;const n=this.session.started,s=Date.now()-n;this._debouncedFlush.cancel();const i=sthis._options.maxReplayDuration+5e3;if(i||o){de&&he.log(`Session duration (${Math.floor(s/1e3)}s) is too ${i?"short":"long"}, not sending replay.`),i&&this._debouncedFlush();return}const a=this.eventBuffer;a&&this.session.segmentId===0&&!a.hasCheckout&&de&&he.log("Flushing initial segment without checkout.");const c=!!this._flushLock;this._flushLock||(this._flushLock=this._runFlush());try{await this._flushLock}catch(l){this.handleException(l)}finally{this._flushLock=void 0,c&&this._debouncedFlush()}}_maybeSaveSession(){this.session&&this._options.stickySession&&al(this.session)}_onMutationHandler(t){const{ignoreMutations:n}=this._options._experiments;if(n!=null&&n.length&&t.some(a=>{const c=J$(a.target),l=n.join(",");return c==null?void 0:c.matches(l)}))return!1;const r=t.length,s=this._options.mutationLimit,i=this._options.mutationBreadcrumbLimit,o=s&&r>s;if(r>i||o){const a=An({category:"replay.mutations",data:{count:r,limit:o}});this._createCustomBreadcrumb(a)}return o?(this.stop({reason:"mutationLimit",forceFlush:this.recordingMode==="session"}),!1):!0}}function Vi(e,t){return[...e,...t].join(",")}function iB({mask:e,unmask:t,block:n,unblock:r,ignore:s}){const i=["base","iframe[srcdoc]:not([src])"],o=Vi(e,[".sentry-mask","[data-sentry-mask]"]),a=Vi(t,[]);return{maskTextSelector:o,unmaskTextSelector:a,blockSelector:Vi(n,[".sentry-block","[data-sentry-block]",...i]),unblockSelector:Vi(r,[]),ignoreSelector:Vi(s,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'])}}function oB({el:e,key:t,maskAttributes:n,maskAllText:r,privacyOptions:s,value:i}){return!r||s.unmaskTextSelector&&e.matches(s.unmaskTextSelector)?i:n.includes(t)||t==="value"&&e.tagName==="INPUT"&&["submit","button"].includes(e.getAttribute("type")||"")?i.replace(/[\S]/g,"*"):i}const Bg='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',aB=["content-length","content-type","accept"],cB=Symbol.for("sentry__originalRequestBody");let Hg=!1,Vg=!1;function lB(){if(typeof Request>"u"||Vg)return;const e=Request;try{const t=function(n,r){const s=new e(n,r);return(r==null?void 0:r.body)!=null&&(s[cB]=r.body),s};t.prototype=e.prototype,Ce.Request=t,Vg=!0}catch{}}const uB=e=>new fB(e);class fB{constructor({flushMinDelay:t=NL,flushMaxDelay:n=LL,minReplayDuration:r=VL,maxReplayDuration:s=vg,stickySession:i=!0,useCompression:o=!0,workerUrl:a,_experiments:c={},maskAllText:l=!0,maskAllInputs:u=!0,blockAllMedia:f=!0,mutationBreadcrumbLimit:d=750,mutationLimit:h=1e4,slowClickTimeout:p=7e3,slowClickIgnoreSelectors:m=[],networkDetailAllowUrls:y=[],networkDetailDenyUrls:g=[],networkCaptureBodies:v=!0,networkRequestHeaders:_=[],networkResponseHeaders:T=[],mask:O=[],maskAttributes:R=["title","placeholder","aria-label"],unmask:E=[],block:w=[],unblock:I=[],ignore:A=[],maskFn:M,beforeAddRecordingEvent:x,beforeErrorSampling:N,onError:L,attachRawBodyFromRequest:G=!1}={}){this.name="Replay";const J=iB({mask:O,unmask:E,block:w,unblock:I,ignore:A});if(this._recordingOptions={maskAllInputs:u,maskAllText:l,maskInputOptions:{password:!0},maskTextFn:M,maskInputFn:M,maskAttributeFn:(j,D,ae)=>oB({maskAttributes:R,maskAllText:l,privacyOptions:J,key:j,value:D,el:ae}),...J,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:j=>{try{j.__rrweb__=!0}catch{}},recordCrossOriginIframes:!!c.recordCrossOriginIframes},this._initialOptions={flushMinDelay:t,flushMaxDelay:n,minReplayDuration:Math.min(r,UL),maxReplayDuration:Math.min(s,vg),stickySession:i,useCompression:o,workerUrl:a,blockAllMedia:f,maskAllInputs:u,maskAllText:l,mutationBreadcrumbLimit:d,mutationLimit:h,slowClickTimeout:p,slowClickIgnoreSelectors:m,networkDetailAllowUrls:y,networkDetailDenyUrls:g,networkCaptureBodies:v,networkRequestHeaders:Ug(_),networkResponseHeaders:Ug(T),beforeAddRecordingEvent:x,beforeErrorSampling:N,onError:L,attachRawBodyFromRequest:G,_experiments:c},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${Bg}`:Bg,this._recordingOptions.ignoreCSSAttributes=new Set(["background-image"])),this._isInitialized&&ef())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return Hg}set _isInitialized(t){Hg=t}afterAllSetup(t){!ef()||this._replay||(this._initialOptions.attachRawBodyFromRequest&&lB(),this._setup(t),this._initialize(t))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:this._replay.recordingMode==="session"}):Promise.resolve()}flush(t){return this._replay?this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(t):(this._replay.start(),Promise.resolve()):Promise.resolve()}getReplayId(t){var n;if((n=this._replay)!=null&&n.isEnabled())return this._replay.getSessionId(t)}getRecordingMode(){var t;if((t=this._replay)!=null&&t.isEnabled())return this._replay.recordingMode}_initialize(t){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(t),this._replay.initializeSampling())}_setup(t){const n=dB(this._initialOptions,t);this._replay=new sB({options:n,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(t){try{const n=t.getIntegrationByName("ReplayCanvas");if(!n)return;this._replay._canvas=n.getOptions()}catch{}}}function dB(e,t){const n=t.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...e},s=ps(n.replaysSessionSampleRate),i=ps(n.replaysOnErrorSampleRate);return s==null&&i==null&&lr(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),s!=null&&(r.sessionSampleRate=s),i!=null&&(r.errorSampleRate=i),r}function Ug(e){return[...aB,...e.map(t=>t.toLowerCase())]}function hB(e){return e.split(",").some(t=>t.trim().startsWith("sentry-"))}function HE(e){try{return new URL(e,Ae.location.origin).href}catch{return}}function pB(e){return e.entryType==="resource"&&"initiatorType"in e&&typeof e.nextHopProtocol=="string"&&(e.initiatorType==="fetch"||e.initiatorType==="xmlhttprequest")}function VE(e){try{return new Headers(e)}catch{return}}const Wg=new WeakMap,iu=new Map,UE={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function mB(e,t){const{traceFetch:n,traceXHR:r,trackFetchStreamPerformance:s,shouldCreateSpanForRequest:i,enableHTTPTimings:o,tracePropagationTargets:a,onRequestSpanStart:c,onRequestSpanEnd:l}={...UE,...t},u=typeof i=="function"?i:p=>!0,f=p=>gB(p,a),d={},h=e.getOptions().propagateTraceparent;n&&(e.addEventProcessor(p=>(p.type==="transaction"&&p.spans&&p.spans.forEach(m=>{if(m.op==="http.client"){const y=iu.get(m.span_id);y&&(m.timestamp=y/1e3,iu.delete(m.span_id))}}),p)),s&&zM(p=>{if(p.response){const m=Wg.get(p.response);m&&p.endTimestamp&&iu.set(m,p.endTimestamp)}}),wS(p=>{const m=DM(p,u,f,d,{propagateTraceparent:h,onRequestSpanEnd:l});if(p.response&&p.fetchData.__span&&Wg.set(p.response,p.fetchData.__span),m){const y=HE(p.fetchData.url),g=y?cs(y).host:void 0;m.setAttributes({"http.url":y?Tr(y):void 0,"server.address":g}),o&&jg(m),c==null||c(m,{headers:p.headers})}})),r&&jS(p=>{var y;const m=yB(p,u,f,d,h,l);m&&(o&&jg(m),c==null||c(m,{headers:VE((y=p.xhr.__sentry_xhr_v3__)==null?void 0:y.request_headers)}))})}function jg(e){const{url:t}=ke(e).data;if(!t||typeof t!="string")return;const n=gs("resource",({entries:r})=>{r.forEach(s=>{pB(s)&&s.name.endsWith(t)&&(e.setAttributes(VS(s)),setTimeout(n))})})}function gB(e,t){const n=Ii();if(n){let r,s;try{r=new URL(e,n),s=new URL(n).origin}catch{return!1}const i=r.origin===s;return t?Gn(r.toString(),t)||i&&Gn(r.pathname,t):i}else{const r=!!e.match(/^\/(?!\/)/);return t?Gn(e,t):r}}function yB(e,t,n,r,s,i){const o=e.xhr,a=o==null?void 0:o[Zr];if(!o||o.__sentry_own_request__||!a)return;const{url:c,method:l}=a,u=sn()&&t(c);if(e.endTimestamp&&u){const g=o.__sentry_xhr_span_id__;if(!g)return;const v=r[g];v&&a.status_code!==void 0&&(Mb(v,a.status_code),v.end(),i==null||i(v,{headers:VE(KS(o)),error:e.error}),delete r[g]);return}const f=HE(c),d=cs(f||c),h=Tr(sM(c)),p=!!bt(),m=u&&p?Ar({name:`${l} ${h}`,attributes:{url:Tr(c),type:"xhr","http.method":l,"http.url":f?Tr(f):void 0,"server.address":d==null?void 0:d.host,[Qe]:"auto.http.browser",[rr]:"http.client",...(d==null?void 0:d.search)&&{"http.query":d==null?void 0:d.search},...(d==null?void 0:d.hash)&&{"http.fragment":d==null?void 0:d.hash}}}):new Rr;o.__sentry_xhr_span_id__=m.spanContext().spanId,r[o.__sentry_xhr_span_id__]=m,n(c)&&vB(o,sn()&&p?m:void 0,s);const y=Ie();return y&&y.emit("beforeOutgoingRequestSpan",m,e),m}function vB(e,t,n){const{"sentry-trace":r,baggage:s,traceparent:i}=vS({span:t,propagateTraceparent:n});r&&_B(e,r,s,i)}function _B(e,t,n,r){var i;const s=(i=e.__sentry_xhr_v3__)==null?void 0:i.request_headers;if(!(s!=null&&s["sentry-trace"]||!e.setRequestHeader))try{if(e.setRequestHeader("sentry-trace",t),r&&!(s!=null&&s.traceparent)&&e.setRequestHeader("traceparent",r),n){const o=s==null?void 0:s.baggage;(!o||!hB(o))&&e.setRequestHeader("baggage",n)}}catch{}}function bB(){Ae.document?Ae.document.addEventListener("visibilitychange",()=>{const e=bt();if(!e)return;const t=vt(e);if(Ae.document.hidden&&t){const n="cancelled",{op:r,status:s}=ke(t);an&&X.log(`[Tracing] Transaction: ${n} -> since tab moved to the background, op: ${r}`),s||t.setStatus({code:ct,message:n}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):an&&X.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const SB=3600,WE="sentry_previous_trace",EB="sentry.previous_trace";function wB(e,{linkPreviousTrace:t,consistentTraceSampling:n}){const r=t==="session-storage";let s=r?IB():void 0;e.on("spanStart",o=>{if(vt(o)!==o)return;const a=De().getPropagationContext();s=TB(s,o,a),r&&CB(s)});let i=!0;n&&e.on("beforeSampling",o=>{if(!s)return;const a=De(),c=a.getPropagationContext();if(i&&c.parentSpanId){i=!1;return}a.setPropagationContext({...c,dsc:{...c.dsc,sample_rate:String(s.sampleRate),sampled:String(_f(s.spanContext))},sampleRand:s.sampleRand}),o.parentSampled=_f(s.spanContext),o.parentSampleRate=s.sampleRate,o.spanAttributes={...o.spanAttributes,[Ob]:s.sampleRate}})}function TB(e,t,n){const r=ke(t);function s(){var a,c;try{return Number((a=n.dsc)==null?void 0:a.sample_rate)??Number((c=r.data)==null?void 0:c[Ed])}catch{return 0}}const i={spanContext:t.spanContext(),startTimestamp:r.start_timestamp,sampleRate:s(),sampleRand:n.sampleRand};if(!e)return i;const o=e.spanContext;return o.traceId===r.trace_id?e:(Date.now()/1e3-e.startTimestamp<=SB&&(an&&X.log(`Adding previous_trace \`${JSON.stringify(o)}\` link to span \`${JSON.stringify({op:r.op,...t.spanContext()})}\``),t.addLink({context:o,attributes:{[KA]:"previous_trace"}}),t.setAttribute(EB,`${o.traceId}-${o.spanId}-${_f(o)?1:0}`)),i)}function CB(e){try{Ae.sessionStorage.setItem(WE,JSON.stringify(e))}catch(t){an&&X.warn("Could not store previous trace in sessionStorage",t)}}function IB(){var e;try{const t=(e=Ae.sessionStorage)==null?void 0:e.getItem(WE);return JSON.parse(t)}catch{return}}function _f(e){return e.traceFlags===1}const kB="BrowserTracing",xB={...Na,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,enableElementTiming:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{},...UE},zg=(e={})=>{const t={name:void 0,source:void 0},n=Ae.document,{enableInp:r,enableElementTiming:s,enableLongTask:i,enableLongAnimationFrame:o,_experiments:{enableInteractions:a,enableStandaloneClsSpans:c,enableStandaloneLcpSpans:l},beforeStartSpan:u,idleTimeout:f,finalTimeout:d,childSpanTimeout:h,markBackgroundSpan:p,traceFetch:m,traceXHR:y,trackFetchStreamPerformance:g,shouldCreateSpanForRequest:v,enableHTTPTimings:_,ignoreResourceSpans:T,ignorePerformanceApiSpans:O,instrumentPageLoad:R,instrumentNavigation:E,detectRedirects:w,linkPreviousTrace:I,consistentTraceSampling:A,enableReportPageLoaded:M,onRequestSpanStart:x,onRequestSpanEnd:N}={...xB,...e};let L,G,J;function j(D,ae,q=!0){const ce=ae.op==="pageload",le=ae.name,ve=u?u(ae):ae,Me=ve.attributes||{};if(le!==ve.name&&(Me[Bt]="custom",ve.attributes=Me),!q){const C=Ss();Ar({...ve,startTime:C}).end(C);return}t.name=ve.name,t.source=Me[Bt];const Fe=Qb(ve,{idleTimeout:f,finalTimeout:d,childSpanTimeout:h,disableAutoFinish:ce,beforeSpanEnd:C=>{L==null||L(),tN(C,{recordClsOnPageloadSpan:!c,recordLcpOnPageloadSpan:!l,ignoreResourceSpans:T,ignorePerformanceApiSpans:O}),Gg(D,void 0);const W=De(),z=W.getPropagationContext();W.setPropagationContext({...z,traceId:Fe.spanContext().traceId,sampled:Hr(Fe),dsc:sr(C)}),ce&&(J=void 0)},trimIdleSpanEndTimestamp:!M});ce&&M&&(J=Fe),Gg(D,Fe);function Ge(){n&&["interactive","complete"].includes(n.readyState)&&D.emit("idleSpanEnableAutoFinish",Fe)}ce&&!M&&n&&(n.addEventListener("readystatechange",()=>{Ge()}),Ge())}return{name:kB,setup(D){if(w1(),L=KP({recordClsStandaloneSpans:c||!1,recordLcpStandaloneSpans:l||!1,client:D}),r&&kN(),s&&hN(),o&&Ce.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?XP():i&&YP(),a&&JP(),w&&n){const q=()=>{G=st()};addEventListener("click",q,{capture:!0}),addEventListener("keydown",q,{capture:!0,passive:!0})}function ae(){const q=Mo(D);q&&!ke(q).timestamp&&(an&&X.log(`[Tracing] Finishing current active span with op: ${ke(q).op}`),q.setAttribute(Co,"cancelled"),q.end())}D.on("startNavigationSpan",(q,ce)=>{if(Ie()!==D)return;if(ce!=null&&ce.isRedirect){an&&X.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),j(D,{op:"navigation.redirect",...q},!1);return}G=void 0,ae(),Nn().setPropagationContext({traceId:nr(),sampleRand:Math.random(),propagationSpanId:sn()?void 0:Kn()});const le=De();le.setPropagationContext({traceId:nr(),sampleRand:Math.random(),propagationSpanId:sn()?void 0:Kn()}),le.setSDKProcessingMetadata({normalizedRequest:void 0}),j(D,{op:"navigation",...q,parentSpan:null,forceTransaction:!0})}),D.on("startPageLoadSpan",(q,ce={})=>{if(Ie()!==D)return;ae();const le=ce.sentryTrace||qg("sentry-trace"),ve=ce.baggage||qg("baggage"),Me=p1(le,ve),Fe=De();Fe.setPropagationContext(Me),sn()||(Fe.getPropagationContext().propagationSpanId=Kn()),Fe.setSDKProcessingMetadata({normalizedRequest:Dd()}),j(D,{op:"pageload",...q})}),D.on("endPageloadSpan",()=>{M&&J&&(J.setAttribute(Co,"reportPageLoaded"),J.end())})},afterAllSetup(D){let ae=Ii();if(I!=="off"&&wB(D,{linkPreviousTrace:I,consistentTraceSampling:A}),Ae.location){if(R){const q=Ut();RB(D,{name:Ae.location.pathname,startTime:q?q/1e3:void 0,attributes:{[Bt]:"url",[Qe]:"auto.pageload.browser"}})}E&&rl(({to:q,from:ce})=>{if(ce===void 0&&(ae==null?void 0:ae.indexOf(q))!==-1){ae=void 0;return}ae=void 0;const le=Ld(q),ve=Mo(D),Me=ve&&w&&OB(ve,G);jE(D,{name:(le==null?void 0:le.pathname)||Ae.location.pathname,attributes:{[Bt]:"url",[Qe]:"auto.navigation.browser"}},{url:q,isRedirect:Me})})}p&&bB(),a&&AB(D,f,d,h,t),r&&AN(),mB(D,{traceFetch:m,traceXHR:y,trackFetchStreamPerformance:g,tracePropagationTargets:D.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:v,enableHTTPTimings:_,onRequestSpanStart:x,onRequestSpanEnd:N})}}};function RB(e,t,n){e.emit("startPageLoadSpan",t,n),De().setTransactionName(t.name);const r=Mo(e);return r&&e.emit("afterStartPageLoadSpan",r),r}function jE(e,t,n){const{url:r,isRedirect:s}=n||{};e.emit("beforeStartNavigationSpan",t,{isRedirect:s}),e.emit("startNavigationSpan",t,{isRedirect:s});const i=De();return i.setTransactionName(t.name),r&&!s&&i.setSDKProcessingMetadata({normalizedRequest:{...Dd(),url:r}}),Mo(e)}function qg(e){const t=Ae.document,n=t==null?void 0:t.querySelector(`meta[name=${e}]`);return(n==null?void 0:n.getAttribute("content"))||void 0}function AB(e,t,n,r,s){const i=Ae.document;let o;const a=()=>{const c="ui.action.click",l=Mo(e);if(l){const u=ke(l).op;if(["navigation","pageload"].includes(u)){an&&X.warn(`[Tracing] Did not create ${c} span because a pageload or navigation span is in progress.`);return}}if(o&&(o.setAttribute(Co,"interactionInterrupted"),o.end(),o=void 0),!s.name){an&&X.warn(`[Tracing] Did not create ${c} transaction because _latestRouteName is missing.`);return}o=Qb({name:s.name,op:c,attributes:{[Bt]:s.source||"url"}},{idleTimeout:t,finalTimeout:n,childSpanTimeout:r})};i&&addEventListener("click",a,{capture:!0})}const zE="_sentry_idleSpan";function Mo(e){return e[zE]}function Gg(e,t){Vt(e,zE,t)}const Kg=1.5;function OB(e,t){const n=ke(e),r=Ss(),s=n.start_timestamp;return!(r-s>Kg||t&&r-t<=Kg)}const qE=["activate","mount"],GE=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,MB=/(?:^|[-_])(\w)/g,PB=e=>e.replace(MB,t=>t.toUpperCase()).replace(/[-_]/g,""),NB="",ou="",LB=(e,t)=>e.repeat(t),oo=(e,t)=>{if(!e)return ou;if(e.$root===e)return NB;if(!e.$options)return ou;const n=e.$options;let r=n.name||n._componentTag||n.__name;const s=n.__file;if(!r&&s){const i=s.match(/([^/\\]+)\.vue$/);i&&(r=i[1])}return(r?`<${PB(r)}>`:ou)+(s&&t!==!1?` at ${s}`:"")},DB=e=>{if(e&&(e._isVue||e.__isVue)&&e.$parent){const t=[];let n=0;for(;e;){if(t.length>0){const s=t[t.length-1];if(s.constructor===e.constructor){n++,e=e.$parent;continue}else n>0&&(t[t.length-1]=[s,n],n=0)}t.push(e),e=e.$parent}return` found in ${t.map((s,i)=>`${(i===0?"---> ":LB(" ",5+i*2))+(Array.isArray(s)?`${oo(s[0])}... (${s[1]} recursive calls)`:oo(s))}`).join(` `)}`}return` (found in ${oo(e)})`},FB=(e,t)=>{const{errorHandler:n}=e.config;e.config.errorHandler=(r,s,i)=>{var l;const o=oo(s,!1),a=s?DB(s):"",c={componentName:o,lifecycleHook:i,trace:a};if((t==null?void 0:t.attachProps)!==!1&&s&&((l=s.$options)!=null&&l.propsData?c.propsData=s.$options.propsData:s.$props&&(c.propsData=s.$props)),setTimeout(()=>{el(r,{captureContext:{contexts:{vue:c}},mechanism:{handled:!!n,type:"auto.function.vue.error_handler"}})}),typeof n=="function"&&e.config.errorHandler)n.call(e,r,s,i);else throw r}},Yg="ui.vue",$B={activate:["activated","deactivated"],create:["beforeCreate","created"],unmount:["beforeUnmount","unmounted"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]};function au(e,t,n){e.$_sentryRootComponentSpanTimer&&clearTimeout(e.$_sentryRootComponentSpanTimer),e.$_sentryRootComponentSpanTimer=setTimeout(()=>{var r;(r=e.$root)!=null&&r.$_sentryRootComponentSpan&&(e.$root.$_sentryRootComponentSpan.end(t),e.$root.$_sentryRootComponentSpan=void 0)},n)}function BB(e,t){function n(s){return s.replace(/^<([^\s]*)>(?: at [^\s]*)?$/,"$1")}return e.some(s=>n(t)===n(s))}const HB=(e={})=>{const t=(e.hooks||[]).concat(qE).filter((s,i,o)=>o.indexOf(s)===i),n={},r=e.timeout||2e3;for(const s of t){const i=$B[s];if(!i){GE&&X.warn(`Unknown hook: ${s}`);continue}for(const o of i)n[o]=function(){var d;const a=this.$root===this;a&&(this.$_sentryRootComponentSpan=this.$_sentryRootComponentSpan||Ar({name:"Application Render",op:`${Yg}.render`,attributes:{[Qe]:"auto.ui.vue"},onlyIfParent:!0}),au(this,st(),r));const c=oo(this,!1);if(!(a||(Array.isArray(e.trackComponents)?BB(e.trackComponents,c):e.trackComponents))){au(this,st(),r);return}this.$_sentryComponentSpans=this.$_sentryComponentSpans||{};const u=o===i[0],f=((d=this.$root)==null?void 0:d.$_sentryRootComponentSpan)||bt();if(u){if(f){const h=this.$_sentryComponentSpans[s];h&&h.end(),this.$_sentryComponentSpans[s]=Ar({name:`Vue ${c}`,op:`${Yg}.${s}`,attributes:{[Qe]:"auto.ui.vue"},onlyIfParent:!0})}}else{const h=this.$_sentryComponentSpans[s];if(!h)return;h.end(),au(this,st(),r)}}}return n},VB=Ce,UB={Vue:VB.Vue,attachProps:!0,attachErrorHandler:!0,tracingOptions:{hooks:qE,timeout:2e3,trackComponents:!1}},WB="Vue",jB=(e={})=>({name:WB,setup(t){const n={...UB,...t.getOptions(),...e};if(!n.Vue&&!n.app){lr(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue specific errors will not be captured. Update your `Sentry.init` call with an appropriate config option: `app` (Application Instance - Vue 3) or `Vue` (Vue Constructor - Vue 2).")});return}n.app?(Array.isArray(n.app)?n.app:[n.app]).forEach(s=>Xg(s,n)):n.Vue&&Xg(n.Vue,n)}}),Xg=(e,t)=>{var n;GE&&((n=e._instance)==null?void 0:n.isMounted)===!0&&lr(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue app is already mounted. Make sure to call `app.mount()` after `Sentry.init()`.")}),t.attachErrorHandler&&FB(e,t),sn(t)&&e.mixin(HB(t.tracingOptions))};function zB(e={}){const t={defaultIntegrations:[...JS(),jB()],...e};return yS(t,"vue"),AL(t)}function qB(e,t,n){let r=!1;e.onError(s=>el(s,{mechanism:{handled:!1}})),e.beforeEach((s,i,o)=>{const a=r?void 0:GB(),c={};for(const f of Object.keys(s.params))c[`url.path.parameter.${f}`]=s.params[f],c[`params.${f}`]=s.params[f];for(const f of Object.keys(s.query)){const d=s.query[f];d&&(c[`query.${f}`]=d)}let l=s.path,u="url";if(s.name&&t.routeLabel!=="path")l=s.name.toString(),u="custom";else if(s.matched.length>0){const f=s.matched.length-1;l=s.matched[f].path,u="route"}De().setTransactionName(l),t.instrumentPageLoad&&a&&(ke(a).data[Bt]!=="custom"&&(a.updateName(l),a.setAttribute(Bt,u)),a.setAttributes({...c,[Qe]:"auto.pageload.vue"}),r=!0),t.instrumentNavigation&&!a&&n({name:l,op:"navigation",attributes:{...c,[Qe]:"auto.navigation.vue",[Bt]:u}}),o&&o()})}function GB(){const e=bt(),t=e&&vt(e);return t&&ke(t).op==="pageload"?t:void 0}function KB(e={}){if(!e.router)return zg(e);const t=zg({...e,instrumentNavigation:!1}),{router:n,instrumentNavigation:r=!0,instrumentPageLoad:s=!0,routeLabel:i="name"}=e;return{...t,afterAllSetup(o){t.afterAllSetup(o),qB(n,{routeLabel:i,instrumentNavigation:r,instrumentPageLoad:s},c=>{jE(o,c)})}}}const YB=l_(),Mi=gT(uA);zB({app:Mi,dsn:"https://2f8e5e4ec986c6077d3798ba9f683fdd@o4510762489151488.ingest.us.sentry.io/4510762503438336",sendDefaultPii:!0,integrations:[KB({router:jc}),uB()],tracesSampleRate:1,tracePropagationTargets:["localhost",/^https:\/\/kv-service\.(houlang\.cloud|wuyuan\.dev)/],replaysSessionSampleRate:.01,replaysOnErrorSampleRate:1,enableLogs:!0});Uk(Mi);Mi.use(Ps);Mi.use(YB);Mi.component("GlobalMessage",G_);Mi.mount("#app");document.readyState==="complete"?Jg():window.addEventListener("load",Jg,{once:!0});async function Jg(){try{const e=(await ht(async()=>{const{default:r}=await import("./index-ghQi_28l.js");return{default:r}},[],import.meta.url)).default;e.init("rhp8uqoc3l");const n=await dA();console.log("Visitor ID:",n),e.identify(n),e.setTag("fingerprintjs",n)}catch(e){console.warn("Clarity 加载或标识设置失败:",e)}}try{const e=()=>{document.body.classList.add("app-loaded");const t=document.getElementById("app-loader");t&&setTimeout(()=>t.remove(),220)};document.readyState==="complete"||document.readyState==="interactive"?e():window.addEventListener("DOMContentLoaded",e,{once:!0})}catch{}export{yn as $,dn as A,RH as B,mv as C,gu as D,Ye as E,Ke as F,Z0 as G,RR as H,us as I,Vf as J,tb as K,ac as L,K_ as M,eH as N,QB as O,rA as P,Hu as Q,Qp as R,wo as S,Uf as T,PH as U,lA as V,MH as W,uI as X,mR as Y,Nr as Z,T_ as _,WR as a,Fs as a$,fb as a0,ub as a1,Ee as a2,U as a3,lt as a4,Wk as a5,jk as a6,wH as a7,CH as a8,TH as a9,ys as aA,ri as aB,Gs as aC,Kr as aD,Cu as aE,Ax as aF,bi as aG,dd as aH,Bc as aI,pe as aJ,vs as aK,zf as aL,Su as aM,XB as aN,Xf as aO,dA as aP,DH as aQ,LH as aR,Xe as aS,uH as aT,YR as aU,kT as aV,nn as aW,dH as aX,rs as aY,IT as aZ,yt as a_,px as aa,Fr as ab,Kk as ac,ht as ad,Se as ae,JB as af,R_ as ag,Ft as ah,SR as ai,aR as aj,mr as ak,um as al,Z_ as am,oc as an,kH as ao,IH as ap,SC as aq,zn as ar,qf as as,iH as at,q_ as au,Q as av,dt as aw,cH as ax,aH as ay,be as az,Je as b,tH as b$,Ji as b0,yH as b1,gH as b2,on as b3,Ov as b4,fm as b5,Eu as b6,Do as b7,AH as b8,aI as b9,Sx as bA,Xx as bB,EH as bC,Xs as bD,sp as bE,Yx as bF,SH as bG,_H as bH,vi as bI,Pc as bJ,Ps as bK,Ks as bL,sH as bM,hH as bN,Oe as bO,Qx as bP,Zx as bQ,ix as bR,sx as bS,Ct as bT,ox as bU,rx as bV,Pv as bW,rH as bX,ut as bY,mH as bZ,pi as b_,_t as ba,oH as bb,Qn as bc,kR as bd,cr as be,s_ as bf,od as bg,ep as bh,W_ as bi,Yt as bj,ar as bk,Gc as bl,Uy as bm,hd as bn,cn as bo,Bo as bp,$o as bq,xr as br,Gk as bs,Yk as bt,Xk as bu,zx as bv,jx as bw,TT as bx,yi as by,_i as bz,F as c,ds as c0,bu as c1,lH as c2,O_ as c3,vx as c4,A_ as c5,mt as c6,ue as c7,kn as c8,Mf as c9,ZB as cA,bH as cB,qc as cC,ld as cD,NH as cE,ud as cF,Dr as cG,Of as cH,Dc as cI,Bv as cJ,kr as cK,xH as cL,cC as ca,po as cb,q0 as cc,td as cd,nH as ce,_s as cf,zc as cg,cd as ch,ad as ci,Wx as cj,zy as ck,CT as cl,Zi as cm,IR as cn,Dv as co,fH as cp,pH as cq,JR as cr,aA as cs,Gy as ct,Vo as cu,Ho as cv,Lr as cw,vH as cx,xv as cy,OH as cz,Re as d,Ei as e,Si as f,Pe as g,rt as h,ne as i,xn as j,sd as k,dm as l,It as m,ze as n,en as o,ie as p,Y_ as q,J0 as r,qk as s,Mn as t,wI as u,Wi as v,ft as w,MR as x,B_ as y,$u as z};