mirror of
https://github.com/ZeroCatDev/Classworks.git
synced 2026-03-21 09:13:10 +00:00
545 lines
606 KiB
JavaScript
545 lines
606 KiB
JavaScript
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./default-BeYWhc3q.js","./default-CmdaPMSp.css","./index-Ct5Llh5_.js","./ExamConfigEditor-C3cHfqxx.js","./dataProvider-B62Oym03.js","./serverRotation-D840vVDL.js","./VAlert-B7dotCy7.js","./VAlert-D_OX1cfW.css","./VSkeletonLoader-Bcvvvbke.js","./VSkeletonLoader-C11ZEozu.css","./VTooltip-C168gwPH.js","./VTooltip-D7EaNDeY.css","./VChip-B02B673U.js","./VChip-Dmz_1Lnv.css","./VRow-7L_239rt.js","./VRow-D2ArqUC2.css","./VTextField-BmfQXFFg.js","./VTextField-D1VSzmed.css","./VTextarea-uYG2fN8H.js","./VTextarea-_xVwaw_z.css","./VSwitch-CsrhG2o9.js","./VSwitch-C87GkfUP.css","./VSelect-B5ZKU6ZJ.js","./VCheckboxBtn-L9oezRC0.js","./VSelect-Cw72qNvy.css","./ExamConfigEditor-giorLija.css","./socketClient-BXJ0f21_.js","./VCombobox-DuoJlmmF.js","./VAppBarTitle-P_aLwYn3.js","./VAppBarTitle-DHaTV8xv.css","./VCombobox-BhMWB5Rk.css","./deviceEvents-BFCOw6Nh.js","./VPagination-DEEAIfju.js","./VPagination-DNe_r2rg.css","./VContainer-x94CJ7kH.js","./VContainer-B1KSavhG.css","./VForm-ovineFXC.js","./VExpansionPanels-DmHhDpJu.js","./VExpansionPanels-kEj4ZJQK.css","./index-DBBDlRhV.css","./404-C7Ce-VYe.js","./authorize-CL9LOs4t.js","./CacheManagement-BY7T1F66.js","./cses2wakeup-Y-ZBCCNd.js","./VTabsWindowItem-2AwayTty.js","./VTabsWindowItem-BWevsoWc.css","./cses2wakeup-BDtPgT2c.css","./debug-C73Oop6R.js","./debug-CbS14biG.css","./debug-init-qEmxm5BC.js","./debug-socket-gX5zuEJb.js","./_id_-d28sCpy1.js","./examschedule-CWlyTxDY.js","./examschedule-CU_Gxm4i.css","./index-BBzZrCva.js","./_id_-DIwIy-nN.js","./settings-DjYY_dPH.js","./settings-BuoTKm8j.css","./socket-debugger-BstARi-S.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 Rw="modulepreload",Aw=function(e,t){return new URL(e,t).href},dp={},_t=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=Aw(l,r),l in dp)return;dp[l]=!0;const d=l.endsWith(".css"),u=d?'[rel="stylesheet"]':"";if(!!r)for(let p=o.length-1;p>=0;p--){const m=o[p];if(m.href===l&&(!d||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${u}`))return;const h=document.createElement("link");if(h.rel=d?"stylesheet":Rw,d||(h.as="script"),h.crossOrigin="",h.href=l,c&&h.setAttribute("nonce",c),document.head.appendChild(h),d)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.29
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/function ff(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Ue={},ii=[],Vn=()=>{},Ey=()=>!1,il=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),hf=e=>e.startsWith("onUpdate:"),dt=Object.assign,pf=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Mw=Object.prototype.hasOwnProperty,He=(e,t)=>Mw.call(e,t),he=Array.isArray,oi=e=>ea(e)==="[object Map]",wy=e=>ea(e)==="[object Set]",fp=e=>ea(e)==="[object Date]",ye=e=>typeof e=="function",rt=e=>typeof e=="string",En=e=>typeof e=="symbol",Fe=e=>e!==null&&typeof e=="object",Cy=e=>(Fe(e)||ye(e))&&ye(e.then)&&ye(e.catch),Ty=Object.prototype.toString,ea=e=>Ty.call(e),Pw=e=>ea(e).slice(8,-1),ky=e=>ea(e)==="[object Object]",ol=e=>rt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,uo=ff(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),al=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ow=/-\w/g,zt=al(e=>e.replace(Ow,t=>t.slice(1).toUpperCase())),Lw=/\B([A-Z])/g,zr=al(e=>e.replace(Lw,"-$1").toLowerCase()),Oi=al(e=>e.charAt(0).toUpperCase()+e.slice(1)),jl=al(e=>e?`on${Oi(e)}`:""),Lr=(e,t)=>!Object.is(e,t),Ka=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Iy=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},mf=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Nw=e=>{const t=rt(e)?Number(e):NaN;return isNaN(t)?e:t};let hp;const cl=()=>hp||(hp=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Xe(e){if(he(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=rt(r)?Bw(r):Xe(r);if(s)for(const i in s)t[i]=s[i]}return t}else if(rt(e)||Fe(e))return e}const Dw=/;(?![^(]*\))/g,Fw=/:([^]+)/,$w=/\/\*[^]*?\*\//g;function Bw(e){const t={};return e.replace($w,"").split(Dw).forEach(n=>{if(n){const r=n.split(Fw);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Le(e){let t="";if(rt(e))t=e;else if(he(e))for(let n=0;n<e.length;n++){const r=Le(e[n]);r&&(t+=r+" ")}else if(Fe(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Hw="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Vw=ff(Hw);function xy(e){return!!e||e===""}function Uw(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=gf(e[r],t[r]);return n}function gf(e,t){if(e===t)return!0;let n=fp(e),r=fp(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=En(e),r=En(t),n||r)return e===t;if(n=he(e),r=he(t),n||r)return n&&r?Uw(e,t):!1;if(n=Fe(e),r=Fe(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,i=Object.keys(t).length;if(s!==i)return!1;for(const o in e){const a=e.hasOwnProperty(o),c=t.hasOwnProperty(o);if(a&&!c||!a&&c||!gf(e[o],t[o]))return!1}}return String(e)===String(t)}const Ry=e=>!!(e&&e.__v_isRef===!0),bn=e=>rt(e)?e:e==null?"":he(e)||Fe(e)&&(e.toString===Ty||!ye(e.toString))?Ry(e)?bn(e.value):JSON.stringify(e,Ay,2):String(e),Ay=(e,t)=>Ry(t)?Ay(e,t.value):oi(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],i)=>(n[zl(r,i)+" =>"]=s,n),{})}:wy(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>zl(n))}:En(t)?zl(t):Fe(t)&&!he(t)&&!ky(t)?String(t):t,zl=(e,t="")=>{var n;return En(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
||
* @vue/reactivity v3.5.29
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let It;class My{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=It,!t&&It&&(this.index=(It.scopes||(It.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=It;try{return It=this,t()}finally{It=n}}}on(){++this._on===1&&(this.prevScope=It,It=this)}off(){this._on>0&&--this._on===0&&(It=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function Es(e){return new My(e)}function vf(){return It}function Ct(e,t=!1){It&&It.cleanups.push(e)}let Ke;const ql=new WeakSet;class Py{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,It&&It.active&&It.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ql.has(this)&&(ql.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Ly(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,pp(this),Ny(this);const t=Ke,n=Sn;Ke=this,Sn=!0;try{return this.fn()}finally{Dy(this),Ke=t,Sn=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)bf(t);this.deps=this.depsTail=void 0,pp(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ql.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ku(this)&&this.run()}get dirty(){return Ku(this)}}let Oy=0,fo,ho;function Ly(e,t=!1){if(e.flags|=8,t){e.next=ho,ho=e;return}e.next=fo,fo=e}function yf(){Oy++}function _f(){if(--Oy>0)return;if(ho){let t=ho;for(ho=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;fo;){let t=fo;for(fo=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 Ny(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Dy(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),bf(r),Ww(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function Ku(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Fy(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Fy(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===xo)||(e.globalVersion=xo,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ku(e))))return;e.flags|=2;const t=e.dep,n=Ke,r=Sn;Ke=e,Sn=!0;try{Ny(e);const s=e.fn(e._value);(t.version===0||Lr(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{Ke=n,Sn=r,Dy(e),e.flags&=-3}}function bf(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)bf(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Ww(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Sn=!0;const $y=[];function ir(){$y.push(Sn),Sn=!1}function or(){const e=$y.pop();Sn=e===void 0?!0:e}function pp(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ke;Ke=void 0;try{t()}finally{Ke=n}}}let xo=0;class jw{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 Sf{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(!Ke||!Sn||Ke===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ke)n=this.activeLink=new jw(Ke,this),Ke.deps?(n.prevDep=Ke.depsTail,Ke.depsTail.nextDep=n,Ke.depsTail=n):Ke.deps=Ke.depsTail=n,By(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=Ke.depsTail,n.nextDep=void 0,Ke.depsTail.nextDep=n,Ke.depsTail=n,Ke.deps===n&&(Ke.deps=r)}return n}trigger(t){this.version++,xo++,this.notify(t)}notify(t){yf();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{_f()}}}function By(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)By(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const _c=new WeakMap,hs=Symbol(""),Yu=Symbol(""),Ro=Symbol("");function xt(e,t,n){if(Sn&&Ke){let r=_c.get(e);r||_c.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new Sf),s.map=r,s.key=n),s.track()}}function Zn(e,t,n,r,s,i){const o=_c.get(e);if(!o){xo++;return}const a=c=>{c&&c.trigger()};if(yf(),t==="clear")o.forEach(a);else{const c=he(e),l=c&&ol(n);if(c&&n==="length"){const d=Number(r);o.forEach((u,f)=>{(f==="length"||f===Ro||!En(f)&&f>=d)&&a(u)})}else switch((n!==void 0||o.has(void 0))&&a(o.get(n)),l&&a(o.get(Ro)),t){case"add":c?l&&a(o.get("length")):(a(o.get(hs)),oi(e)&&a(o.get(Yu)));break;case"delete":c||(a(o.get(hs)),oi(e)&&a(o.get(Yu)));break;case"set":oi(e)&&a(o.get(hs));break}}_f()}function zw(e,t){const n=_c.get(e);return n&&n.get(t)}function Fs(e){const t=fe(e);return t===e?t:(xt(t,"iterate",Ro),en(e)?t:t.map(wn))}function ll(e){return xt(e=fe(e),"iterate",Ro),e}function Ir(e,t){return ar(e)?pi(er(e)?wn(t):t):wn(t)}const qw={__proto__:null,[Symbol.iterator](){return Gl(this,Symbol.iterator,e=>Ir(this,e))},concat(...e){return Fs(this).concat(...e.map(t=>he(t)?Fs(t):t))},entries(){return Gl(this,"entries",e=>(e[1]=Ir(this,e[1]),e))},every(e,t){return zn(this,"every",e,t,void 0,arguments)},filter(e,t){return zn(this,"filter",e,t,n=>n.map(r=>Ir(this,r)),arguments)},find(e,t){return zn(this,"find",e,t,n=>Ir(this,n),arguments)},findIndex(e,t){return zn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return zn(this,"findLast",e,t,n=>Ir(this,n),arguments)},findLastIndex(e,t){return zn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return zn(this,"forEach",e,t,void 0,arguments)},includes(...e){return Kl(this,"includes",e)},indexOf(...e){return Kl(this,"indexOf",e)},join(e){return Fs(this).join(e)},lastIndexOf(...e){return Kl(this,"lastIndexOf",e)},map(e,t){return zn(this,"map",e,t,void 0,arguments)},pop(){return Zi(this,"pop")},push(...e){return Zi(this,"push",e)},reduce(e,...t){return mp(this,"reduce",e,t)},reduceRight(e,...t){return mp(this,"reduceRight",e,t)},shift(){return Zi(this,"shift")},some(e,t){return zn(this,"some",e,t,void 0,arguments)},splice(...e){return Zi(this,"splice",e)},toReversed(){return Fs(this).toReversed()},toSorted(e){return Fs(this).toSorted(e)},toSpliced(...e){return Fs(this).toSpliced(...e)},unshift(...e){return Zi(this,"unshift",e)},values(){return Gl(this,"values",e=>Ir(this,e))}};function Gl(e,t,n){const r=ll(e),s=r[t]();return r!==e&&!en(e)&&(s._next=s.next,s.next=()=>{const i=s._next();return i.done||(i.value=n(i.value)),i}),s}const Gw=Array.prototype;function zn(e,t,n,r,s,i){const o=ll(e),a=o!==e&&!en(e),c=o[t];if(c!==Gw[t]){const u=c.apply(e,i);return a?wn(u):u}let l=n;o!==e&&(a?l=function(u,f){return n.call(this,Ir(e,u),f,e)}:n.length>2&&(l=function(u,f){return n.call(this,u,f,e)}));const d=c.call(o,l,r);return a&&s?s(d):d}function mp(e,t,n,r){const s=ll(e);let i=n;return s!==e&&(en(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,Ir(e,a),c,e)}),s[t](i,...r)}function Kl(e,t,n){const r=fe(e);xt(r,"iterate",Ro);const s=r[t](...n);return(s===-1||s===!1)&&ul(n[0])?(n[0]=fe(n[0]),r[t](...n)):s}function Zi(e,t,n=[]){ir(),yf();const r=fe(e)[t].apply(e,n);return _f(),or(),r}const Kw=ff("__proto__,__v_isRef,__isVue"),Hy=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(En));function Yw(e){En(e)||(e=String(e));const t=fe(this);return xt(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?i1:zy:i?jy:Wy).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=he(t);if(!s){let c;if(o&&(c=qw[n]))return c;if(n==="hasOwnProperty")return Yw}const a=Reflect.get(t,n,Ze(t)?t:r);if((En(n)?Hy.has(n):Kw(n))||(s||xt(t,"get",n),i))return a;if(Ze(a)){const c=o&&ol(n)?a:a.value;return s&&Fe(c)?hi(c):c}return Fe(a)?s?hi(a):pt(a):a}}class Uy extends Vy{constructor(t=!1){super(!1,t)}set(t,n,r,s){let i=t[n];const o=he(t)&&ol(n);if(!this._isShallow){const l=ar(i);if(!en(r)&&!ar(r)&&(i=fe(i),r=fe(r)),!o&&Ze(i)&&!Ze(r))return l||(i.value=r),!0}const a=o?Number(n)<t.length:He(t,n),c=Reflect.set(t,n,r,Ze(t)?t:s);return t===fe(s)&&(a?Lr(r,i)&&Zn(t,"set",n,r):Zn(t,"add",n,r)),c}deleteProperty(t,n){const r=He(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&Zn(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!En(n)||!Hy.has(n))&&xt(t,"has",n),r}ownKeys(t){return xt(t,"iterate",he(t)?"length":hs),Reflect.ownKeys(t)}}class Xw extends Vy{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Jw=new Uy,Zw=new Xw,Qw=new Uy(!0);const Xu=e=>e,Ia=e=>Reflect.getPrototypeOf(e);function e1(e,t,n){return function(...r){const s=this.__v_raw,i=fe(s),o=oi(i),a=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,l=s[e](...r),d=n?Xu:t?pi:wn;return!t&&xt(i,"iterate",c?Yu:hs),dt(Object.create(l),{next(){const{value:u,done:f}=l.next();return f?{value:u,done:f}:{value:a?[d(u[0]),d(u[1])]:d(u),done:f}}})}}function xa(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function t1(e,t){const n={get(s){const i=this.__v_raw,o=fe(i),a=fe(s);e||(Lr(s,a)&&xt(o,"get",s),xt(o,"get",a));const{has:c}=Ia(o),l=t?Xu:e?pi:wn;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&&xt(fe(s),"iterate",hs),s.size},has(s){const i=this.__v_raw,o=fe(i),a=fe(s);return e||(Lr(s,a)&&xt(o,"has",s),xt(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=fe(a),l=t?Xu:e?pi:wn;return!e&&xt(c,"iterate",hs),a.forEach((d,u)=>s.call(i,l(d),l(u),o))}};return dt(n,e?{add:xa("add"),set:xa("set"),delete:xa("delete"),clear:xa("clear")}:{add(s){!t&&!en(s)&&!ar(s)&&(s=fe(s));const i=fe(this);return Ia(i).has.call(i,s)||(i.add(s),Zn(i,"add",s,s)),this},set(s,i){!t&&!en(i)&&!ar(i)&&(i=fe(i));const o=fe(this),{has:a,get:c}=Ia(o);let l=a.call(o,s);l||(s=fe(s),l=a.call(o,s));const d=c.call(o,s);return o.set(s,i),l?Lr(i,d)&&Zn(o,"set",s,i):Zn(o,"add",s,i),this},delete(s){const i=fe(this),{has:o,get:a}=Ia(i);let c=o.call(i,s);c||(s=fe(s),c=o.call(i,s)),a&&a.call(i,s);const l=i.delete(s);return c&&Zn(i,"delete",s,void 0),l},clear(){const s=fe(this),i=s.size!==0,o=s.clear();return i&&Zn(s,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=e1(s,e,t)}),n}function Ef(e,t){const n=t1(e,t);return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(He(n,s)&&s in r?n:r,s,i)}const n1={get:Ef(!1,!1)},r1={get:Ef(!1,!0)},s1={get:Ef(!0,!1)};const Wy=new WeakMap,jy=new WeakMap,zy=new WeakMap,i1=new WeakMap;function o1(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function a1(e){return e.__v_skip||!Object.isExtensible(e)?0:o1(Pw(e))}function pt(e){return ar(e)?e:wf(e,!1,Jw,n1,Wy)}function qy(e){return wf(e,!1,Qw,r1,jy)}function hi(e){return wf(e,!0,Zw,s1,zy)}function wf(e,t,n,r,s){if(!Fe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=a1(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 er(e){return ar(e)?er(e.__v_raw):!!(e&&e.__v_isReactive)}function ar(e){return!!(e&&e.__v_isReadonly)}function en(e){return!!(e&&e.__v_isShallow)}function ul(e){return e?!!e.__v_raw:!1}function fe(e){const t=e&&e.__v_raw;return t?fe(t):e}function Cf(e){return!He(e,"__v_skip")&&Object.isExtensible(e)&&Iy(e,"__v_skip",!0),e}const wn=e=>Fe(e)?pt(e):e,pi=e=>Fe(e)?hi(e):e;function Ze(e){return e?e.__v_isRef===!0:!1}function we(e){return Gy(e,!1)}function be(e){return Gy(e,!0)}function Gy(e,t){return Ze(e)?e:new c1(e,t)}class c1{constructor(t,n){this.dep=new Sf,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:fe(t),this._value=n?t:wn(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||en(t)||ar(t);t=r?t:fe(t),Lr(t,n)&&(this._rawValue=t,this._value=r?t:wn(t),this.dep.trigger())}}function Ut(e){return Ze(e)?e.value:e}function vt(e){return ye(e)?e():Ut(e)}const l1={get:(e,t,n)=>t==="__v_raw"?e:Ut(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Ze(s)&&!Ze(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Ky(e){return er(e)?e:new Proxy(e,l1)}function Tf(e){const t=he(e)?new Array(e.length):{};for(const n in e)t[n]=Yy(e,n);return t}class u1{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._raw=fe(t);let s=!0,i=t;if(!he(t)||!ol(String(n)))do s=!ul(i)||en(i);while(s&&(i=i.__v_raw));this._shallow=s}get value(){let t=this._object[this._key];return this._shallow&&(t=Ut(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Ze(this._raw[this._key])){const n=this._object[this._key];if(Ze(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return zw(this._raw,this._key)}}class d1{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 ee(e,t,n){return Ze(e)?e:ye(e)?new d1(e):Fe(e)&&arguments.length>1?Yy(e,t,n):we(e)}function Yy(e,t,n){return new u1(e,t,n)}class f1{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Sf(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=xo-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Ke!==this)return Ly(this,!0),!0}get value(){const t=this.dep.track();return Fy(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function h1(e,t,n=!1){let r,s;return ye(e)?r=e:(r=e.get,s=e.set),new f1(r,s,n)}const Ra={},bc=new WeakMap;let rs;function p1(e,t=!1,n=rs){if(n){let r=bc.get(n);r||bc.set(n,r=[]),r.push(e)}}function m1(e,t,n=Ue){const{immediate:r,deep:s,once:i,scheduler:o,augmentJob:a,call:c}=n,l=w=>s?w:en(w)||s===!1||s===0?Qn(w,1):Qn(w);let d,u,f,h,p=!1,m=!1;if(Ze(e)?(u=()=>e.value,p=en(e)):er(e)?(u=()=>l(e),p=!0):he(e)?(m=!0,p=e.some(w=>er(w)||en(w)),u=()=>e.map(w=>{if(Ze(w))return w.value;if(er(w))return l(w);if(ye(w))return c?c(w,2):w()})):ye(e)?t?u=c?()=>c(e,2):e:u=()=>{if(f){ir();try{f()}finally{or()}}const w=rs;rs=d;try{return c?c(e,3,[h]):e(h)}finally{rs=w}}:u=Vn,t&&s){const w=u,I=s===!0?1/0:s;u=()=>Qn(w(),I)}const v=vf(),g=()=>{d.stop(),v&&v.active&&pf(v.effects,d)};if(i&&t){const w=t;t=(...I)=>{w(...I),g()}}let y=m?new Array(e.length).fill(Ra):Ra;const C=w=>{if(!(!(d.flags&1)||!d.dirty&&!w))if(t){const I=d.run();if(s||p||(m?I.some((x,S)=>Lr(x,y[S])):Lr(I,y))){f&&f();const x=rs;rs=d;try{const S=[I,y===Ra?void 0:m&&y[0]===Ra?[]:y,h];y=I,c?c(t,3,S):t(...S)}finally{rs=x}}}else d.run()};return a&&a(C),d=new Py(u),d.scheduler=o?()=>o(C,!1):C,h=w=>p1(w,!1,d),f=d.onStop=()=>{const w=bc.get(d);if(w){if(c)c(w,4);else for(const I of w)I();bc.delete(d)}},t?r?C(!0):y=d.run():o?o(C.bind(null,!0),!0):d.run(),g.pause=d.pause.bind(d),g.resume=d.resume.bind(d),g.stop=g,g}function Qn(e,t=1/0,n){if(t<=0||!Fe(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Ze(e))Qn(e.value,t,n);else if(he(e))for(let r=0;r<e.length;r++)Qn(e[r],t,n);else if(wy(e)||oi(e))e.forEach(r=>{Qn(r,t,n)});else if(ky(e)){for(const r in e)Qn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Qn(e[r],t,n)}return e}/**
|
||
* @vue/runtime-core v3.5.29
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/function ta(e,t,n,r){try{return r?e(...r):e()}catch(s){dl(s,t,n)}}function Cn(e,t,n,r){if(ye(e)){const s=ta(e,t,n,r);return s&&Cy(s)&&s.catch(i=>{dl(i,t,n)}),s}if(he(e)){const s=[];for(let i=0;i<e.length;i++)s.push(Cn(e[i],t,n,r));return s}}function dl(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||Ue;if(t){let a=t.parent;const c=t.proxy,l=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const d=a.ec;if(d){for(let u=0;u<d.length;u++)if(d[u](e,c,l)===!1)return}a=a.parent}if(i){ir(),ta(i,null,10,[e,c,l]),or();return}}g1(e,n,s,r,o)}function g1(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const Dt=[];let Pn=-1;const ai=[];let xr=null,qs=0;const Xy=Promise.resolve();let Sc=null;function yt(e){const t=Sc||Xy;return e?t.then(this?e.bind(this):e):t}function v1(e){let t=Pn+1,n=Dt.length;for(;t<n;){const r=t+n>>>1,s=Dt[r],i=Ao(s);i<e||i===e&&s.flags&2?t=r+1:n=r}return t}function kf(e){if(!(e.flags&1)){const t=Ao(e),n=Dt[Dt.length-1];!n||!(e.flags&2)&&t>=Ao(n)?Dt.push(e):Dt.splice(v1(t),0,e),e.flags|=1,Jy()}}function Jy(){Sc||(Sc=Xy.then(Qy))}function y1(e){he(e)?ai.push(...e):xr&&e.id===-1?xr.splice(qs+1,0,e):e.flags&1||(ai.push(e),e.flags|=1),Jy()}function gp(e,t,n=Pn+1){for(;n<Dt.length;n++){const r=Dt[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Dt.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Zy(e){if(ai.length){const t=[...new Set(ai)].sort((n,r)=>Ao(n)-Ao(r));if(ai.length=0,xr){xr.push(...t);return}for(xr=t,qs=0;qs<xr.length;qs++){const n=xr[qs];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}xr=null,qs=0}}const Ao=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Qy(e){try{for(Pn=0;Pn<Dt.length;Pn++){const t=Dt[Pn];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),ta(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Pn<Dt.length;Pn++){const t=Dt[Pn];t&&(t.flags&=-2)}Pn=-1,Dt.length=0,Zy(),Sc=null,(Dt.length||ai.length)&&Qy()}}let St=null,e_=null;function Ec(e){const t=St;return St=e,e_=e&&e.type.__scopeId||null,t}function gt(e,t=St,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Tc(-1);const i=Ec(t);let o;try{o=e(...s)}finally{Ec(i),r._d&&Tc(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function ws(e,t){if(St===null)return e;const n=yl(St),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[i,o,a,c=Ue]=t[s];i&&(ye(i)&&(i={mounted:i,updated:i}),i.deep&&Qn(o),r.push({dir:i,instance:n,value:o,oldValue:void 0,arg:a,modifiers:c}))}return e}function Zr(e,t,n,r){const s=e.dirs,i=t&&t.dirs;for(let o=0;o<s.length;o++){const a=s[o];i&&(a.oldValue=i[o].value);let c=a.dir[r];c&&(ir(),Cn(c,n,8,[e.el,a,e,t]),or())}}function Mt(e,t){if(Rt){let n=Rt.provides;const r=Rt.parent&&Rt.parent.provides;r===n&&(n=Rt.provides=Object.create(r)),n[e]=t}}function Ne(e,t,n=!1){const r=Li();if(r||ps){let s=ps?ps._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&ye(t)?t.call(r&&r.proxy):t}}function _1(){return!!(Li()||ps)}const b1=Symbol.for("v-scx"),S1=()=>Ne(b1);function hn(e,t){return If(e,null,t)}function Se(e,t,n){return If(e,t,n)}function If(e,t,n=Ue){const{immediate:r,deep:s,flush:i,once:o}=n,a=dt({},n),c=t&&r||!t&&i!=="post";let l;if(Oo){if(i==="sync"){const h=S1();l=h.__watcherHandles||(h.__watcherHandles=[])}else if(!c){const h=()=>{};return h.stop=Vn,h.resume=Vn,h.pause=Vn,h}}const d=Rt;a.call=(h,p,m)=>Cn(h,d,p,m);let u=!1;i==="post"?a.scheduler=h=>{kt(h,d&&d.suspense)}:i!=="sync"&&(u=!0,a.scheduler=(h,p)=>{p?h():kf(h)}),a.augmentJob=h=>{t&&(h.flags|=4),u&&(h.flags|=2,d&&(h.id=d.uid,h.i=d))};const f=m1(e,t,a);return Oo&&(l?l.push(f):c&&f()),f}function E1(e,t,n){const r=this.proxy,s=rt(e)?e.includes(".")?t_(r,e):()=>r[e]:e.bind(r,r);let i;ye(t)?i=t:(i=t.handler,n=t);const o=ra(this),a=If(s,i.bind(r),n);return o(),a}function t_(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}const n_=Symbol("_vte"),r_=e=>e.__isTeleport,po=e=>e&&(e.disabled||e.disabled===""),vp=e=>e&&(e.defer||e.defer===""),yp=e=>typeof SVGElement<"u"&&e instanceof SVGElement,_p=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Ju=(e,t)=>{const n=e&&e.to;return rt(n)?t?t(n):null:n},s_={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,i,o,a,c,l){const{mc:d,pc:u,pbc:f,o:{insert:h,querySelector:p,createText:m,createComment:v}}=l,g=po(t.props);let{shapeFlag:y,children:C,dynamicChildren:w}=t;if(e==null){const I=t.el=m(""),x=t.anchor=m("");h(I,n,r),h(x,n,r);const S=(k,R)=>{y&16&&d(C,k,R,s,i,o,a,c)},b=()=>{const k=t.target=Ju(t.props,p),R=Zu(k,t,m,h);k&&(o!=="svg"&&yp(k)?o="svg":o!=="mathml"&&_p(k)&&(o="mathml"),s&&s.isCE&&(s.ce._teleportTargets||(s.ce._teleportTargets=new Set)).add(k),g||(S(k,R),Ya(t,!1)))};g&&(S(n,x),Ya(t,!0)),vp(t.props)?(t.el.__isMounted=!1,kt(()=>{b(),delete t.el.__isMounted},i)):b()}else{if(vp(t.props)&&e.el.__isMounted===!1){kt(()=>{s_.process(e,t,n,r,s,i,o,a,c,l)},i);return}t.el=e.el,t.targetStart=e.targetStart;const I=t.anchor=e.anchor,x=t.target=e.target,S=t.targetAnchor=e.targetAnchor,b=po(e.props),k=b?n:x,R=b?I:S;if(o==="svg"||yp(x)?o="svg":(o==="mathml"||_p(x))&&(o="mathml"),w?(f(e.dynamicChildren,w,k,s,i,o,a),Pf(e,t,!0)):c||u(e,t,k,R,s,i,o,a,!1),g)b?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Aa(t,n,I,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const M=t.target=Ju(t.props,p);M&&Aa(t,M,null,l,0)}else b&&Aa(t,x,S,l,1);Ya(t,g)}},remove(e,t,n,{um:r,o:{remove:s}},i){const{shapeFlag:o,children:a,anchor:c,targetStart:l,targetAnchor:d,target:u,props:f}=e;if(u&&(s(l),s(d)),i&&s(c),o&16){const h=i||!po(f);for(let p=0;p<a.length;p++){const m=a[p];r(m,t,n,h,!!m.dynamicChildren)}}},move:Aa,hydrate:w1};function Aa(e,t,n,{o:{insert:r},m:s},i=2){i===0&&r(e.targetAnchor,t,n);const{el:o,anchor:a,shapeFlag:c,children:l,props:d}=e,u=i===2;if(u&&r(o,t,n),(!u||po(d))&&c&16)for(let f=0;f<l.length;f++)s(l[f],t,n,2);u&&r(a,t,n)}function w1(e,t,n,r,s,i,{o:{nextSibling:o,parentNode:a,querySelector:c,insert:l,createText:d}},u){function f(v,g){let y=g;for(;y;){if(y&&y.nodeType===8){if(y.data==="teleport start anchor")t.targetStart=y;else if(y.data==="teleport anchor"){t.targetAnchor=y,v._lpa=t.targetAnchor&&o(t.targetAnchor);break}}y=o(y)}}function h(v,g){g.anchor=u(o(v),g,a(v),n,r,s,i)}const p=t.target=Ju(t.props,c),m=po(t.props);if(p){const v=p._lpa||p.firstChild;t.shapeFlag&16&&(m?(h(e,t),f(p,v),t.targetAnchor||Zu(p,t,d,l,a(e)===p?e:null)):(t.anchor=o(e),f(p,v),t.targetAnchor||Zu(p,t,d,l),u(v&&o(v),t,p,n,r,s,i))),Ya(t,m)}else m&&t.shapeFlag&16&&(h(e,t),t.targetStart=e,t.targetAnchor=o(e));return t.anchor&&o(t.anchor)}const C1=s_;function Ya(e,t){const n=e.ctx;if(n&&n.ut){let r,s;for(t?(r=e.el,s=e.anchor):(r=e.targetStart,s=e.targetAnchor);r&&r!==s;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function Zu(e,t,n,r,s=null){const i=t.targetStart=n(""),o=t.targetAnchor=n("");return i[n_]=o,e&&(r(i,e,s),r(o,e,s)),o}const On=Symbol("_leaveCb"),Qi=Symbol("_enterCb");function i_(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return gr(()=>{e.isMounted=!0}),kn(()=>{e.isUnmounting=!0}),e}const sn=[Function,Array],o_={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:sn,onEnter:sn,onAfterEnter:sn,onEnterCancelled:sn,onBeforeLeave:sn,onLeave:sn,onAfterLeave:sn,onLeaveCancelled:sn,onBeforeAppear:sn,onAppear:sn,onAfterAppear:sn,onAppearCancelled:sn},a_=e=>{const t=e.subTree;return t.component?a_(t.component):t},T1={name:"BaseTransition",props:o_,setup(e,{slots:t}){const n=Li(),r=i_();return()=>{const s=t.default&&xf(t.default(),!0);if(!s||!s.length)return;const i=c_(s),o=fe(e),{mode:a}=o;if(r.isLeaving)return Yl(i);const c=bp(i);if(!c)return Yl(i);let l=Mo(c,o,r,n,u=>l=u);c.type!==bt&&Cs(c,l);let d=n.subTree&&bp(n.subTree);if(d&&d.type!==bt&&!os(d,c)&&a_(n).type!==bt){let u=Mo(d,o,r,n);if(Cs(d,u),a==="out-in"&&c.type!==bt)return r.isLeaving=!0,u.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete u.afterLeave,d=void 0},Yl(i);a==="in-out"&&c.type!==bt?u.delayLeave=(f,h,p)=>{const m=l_(r,d);m[String(d.key)]=d,f[On]=()=>{h(),f[On]=void 0,delete l.delayedLeave,d=void 0},l.delayedLeave=()=>{p(),delete l.delayedLeave,d=void 0}}:d=void 0}else d&&(d=void 0);return i}}};function c_(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==bt){t=n;break}}return t}const k1=T1;function l_(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 Mo(e,t,n,r,s){const{appear:i,mode:o,persisted:a=!1,onBeforeEnter:c,onEnter:l,onAfterEnter:d,onEnterCancelled:u,onBeforeLeave:f,onLeave:h,onAfterLeave:p,onLeaveCancelled:m,onBeforeAppear:v,onAppear:g,onAfterAppear:y,onAppearCancelled:C}=t,w=String(e.key),I=l_(n,e),x=(k,R)=>{k&&Cn(k,r,9,R)},S=(k,R)=>{const M=R[1];x(k,R),he(k)?k.every(T=>T.length<=1)&&M():k.length<=1&&M()},b={mode:o,persisted:a,beforeEnter(k){let R=c;if(!n.isMounted)if(i)R=v||c;else return;k[On]&&k[On](!0);const M=I[w];M&&os(e,M)&&M.el[On]&&M.el[On](),x(R,[k])},enter(k){if(I[w]===e)return;let R=l,M=d,T=u;if(!n.isMounted)if(i)R=g||l,M=y||d,T=C||u;else return;let O=!1;k[Qi]=K=>{O||(O=!0,K?x(T,[k]):x(M,[k]),b.delayedLeave&&b.delayedLeave(),k[Qi]=void 0)};const $=k[Qi].bind(null,!1);R?S(R,[k,$]):$()},leave(k,R){const M=String(e.key);if(k[Qi]&&k[Qi](!0),n.isUnmounting)return R();x(f,[k]);let T=!1;k[On]=$=>{T||(T=!0,R(),$?x(m,[k]):x(p,[k]),k[On]=void 0,I[M]===e&&delete I[M])};const O=k[On].bind(null,!1);I[M]=e,h?S(h,[k,O]):O()},clone(k){const R=Mo(k,t,n,r,s);return s&&s(R),R}};return b}function Yl(e){if(pl(e))return e=Br(e),e.children=null,e}function bp(e){if(!pl(e))return r_(e.type)&&e.children?c_(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&&ye(n.default))return n.default()}}function Cs(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Cs(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 xf(e,t=!1,n){let r=[],s=0;for(let i=0;i<e.length;i++){let o=e[i];const a=n==null?o.key:String(n)+String(o.key!=null?o.key:i);o.type===Qe?(o.patchFlag&128&&s++,r=r.concat(xf(o.children,t,a))):(t||o.type!==bt)&&r.push(a!=null?Br(o,{key:a}):o)}if(s>1)for(let i=0;i<r.length;i++)r[i].patchFlag=-2;return r}function fl(e,t){return ye(e)?dt({name:e.name},t,{setup:e}):e}function hl(){const e=Li();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function u_(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Sp(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const wc=new WeakMap;function mo(e,t,n,r,s=!1){if(he(e)){e.forEach((m,v)=>mo(m,t&&(he(t)?t[v]:t),n,r,s));return}if(ci(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&mo(e,t,n,r.component.subTree);return}const i=r.shapeFlag&4?yl(r.component):r.el,o=s?null:i,{i:a,r:c}=e,l=t&&t.r,d=a.refs===Ue?a.refs={}:a.refs,u=a.setupState,f=fe(u),h=u===Ue?Ey:m=>Sp(d,m)?!1:He(f,m),p=(m,v)=>!(v&&Sp(d,v));if(l!=null&&l!==c){if(Ep(t),rt(l))d[l]=null,h(l)&&(u[l]=null);else if(Ze(l)){const m=t;p(l,m.k)&&(l.value=null),m.k&&(d[m.k]=null)}}if(ye(c))ta(c,a,12,[o,d]);else{const m=rt(c),v=Ze(c);if(m||v){const g=()=>{if(e.f){const y=m?h(c)?u[c]:d[c]:p()||!e.k?c.value:d[e.k];if(s)he(y)&&pf(y,i);else if(he(y))y.includes(i)||y.push(i);else if(m)d[c]=[i],h(c)&&(u[c]=d[c]);else{const C=[i];p(c,e.k)&&(c.value=C),e.k&&(d[e.k]=C)}}else m?(d[c]=o,h(c)&&(u[c]=o)):v&&(p(c,e.k)&&(c.value=o),e.k&&(d[e.k]=o))};if(o){const y=()=>{g(),wc.delete(e)};y.id=-1,wc.set(e,y),kt(y,n)}else Ep(e),g()}}}function Ep(e){const t=wc.get(e);t&&(t.flags|=8,wc.delete(e))}cl().requestIdleCallback;cl().cancelIdleCallback;const ci=e=>!!e.type.__asyncLoader,pl=e=>e.type.__isKeepAlive;function d_(e,t){h_(e,"a",t)}function f_(e,t){h_(e,"da",t)}function h_(e,t,n=Rt){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(ml(t,r,n),n){let s=n.parent;for(;s&&s.parent;)pl(s.parent.vnode)&&I1(r,t,n,s),s=s.parent}}function I1(e,t,n,r){const s=ml(t,e,r,!0);p_(()=>{pf(r[t],s)},n)}function ml(e,t,n=Rt,r=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{ir();const a=ra(n),c=Cn(t,n,e,o);return a(),or(),c});return r?s.unshift(i):s.push(i),i}}const mr=e=>(t,n=Rt)=>{(!Oo||e==="sp")&&ml(e,(...r)=>t(...r),n)},gl=mr("bm"),gr=mr("m"),x1=mr("bu"),Rf=mr("u"),kn=mr("bum"),p_=mr("um"),R1=mr("sp"),A1=mr("rtg"),M1=mr("rtc");function P1(e,t=Rt){ml("ec",e,t)}const m_="components";function O1(e,t){return y_(m_,e,!0,t)||e}const g_=Symbol.for("v-ndc");function v_(e){return rt(e)?y_(m_,e,!1)||e:e||g_}function y_(e,t,n=!0,r=!1){const s=St||Rt;if(s){const i=s.type;{const a=vC(i,!1);if(a&&(a===t||a===zt(t)||a===Oi(zt(t))))return i}const o=wp(s[e]||i[e],t)||wp(s.appContext[e],t);return!o&&r?i:o}}function wp(e,t){return e&&(e[t]||e[zt(t)]||e[Oi(zt(t))])}function L1(e,t,n,r){let s;const i=n,o=he(e);if(o||rt(e)){const a=o&&er(e);let c=!1,l=!1;a&&(c=!en(e),l=ar(e),e=ll(e)),s=new Array(e.length);for(let d=0,u=e.length;d<u;d++)s[d]=t(c?l?pi(wn(e[d])):wn(e[d]):e[d],d,void 0,i)}else if(typeof e=="number"){s=new Array(e);for(let a=0;a<e;a++)s[a]=t(a+1,a,void 0,i)}else if(Fe(e))if(e[Symbol.iterator])s=Array.from(e,(a,c)=>t(a,c,void 0,i));else{const a=Object.keys(e);s=new Array(a.length);for(let c=0,l=a.length;c<l;c++){const d=a[c];s[c]=t(e[d],d,c,i)}}else s=[];return s}function i4(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(he(r))for(let s=0;s<r.length;s++)e[r[s].name]=r[s].fn;else r&&(e[r.name]=r.key?(...s)=>{const i=r.fn(...s);return i&&(i.key=r.key),i}:r.fn)}return e}function o4(e,t,n={},r,s){if(St.ce||St.parent&&ci(St.parent)&&St.parent.ce){const l=Object.keys(n).length>0;return t!=="default"&&(n.name=t),cn(),$n(Qe,null,[H("slot",n,r)],l?-2:64)}let i=e[t];i&&i._c&&(i._d=!1),cn();const o=i&&__(i(n)),a=n.key||o&&o.key,c=$n(Qe,{key:(a&&!En(a)?a:`_${t}`)+(!o&&r?"_fb":"")},o||[],o&&e._===1?64:-2);return i&&i._c&&(i._d=!0),c}function __(e){return e.some(t=>mi(t)?!(t.type===bt||t.type===Qe&&!__(t.children)):!0)?e:null}const Qu=e=>e?B_(e)?yl(e):Qu(e.parent):null,go=dt(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=>Qu(e.parent),$root:e=>Qu(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>S_(e),$forceUpdate:e=>e.f||(e.f=()=>{kf(e.update)}),$nextTick:e=>e.n||(e.n=yt.bind(e.proxy)),$watch:e=>E1.bind(e)}),Xl=(e,t)=>e!==Ue&&!e.__isScriptSetup&&He(e,t),N1={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 f=o[t];if(f!==void 0)switch(f){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(Xl(r,t))return o[t]=1,r[t];if(s!==Ue&&He(s,t))return o[t]=2,s[t];if(He(i,t))return o[t]=3,i[t];if(n!==Ue&&He(n,t))return o[t]=4,n[t];ed&&(o[t]=0)}}const l=go[t];let d,u;if(l)return t==="$attrs"&&xt(e.attrs,"get",""),l(e);if((d=a.__cssModules)&&(d=d[t]))return d;if(n!==Ue&&He(n,t))return o[t]=4,n[t];if(u=c.config.globalProperties,He(u,t))return u[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return Xl(s,t)?(s[t]=n,!0):r!==Ue&&He(r,t)?(r[t]=n,!0):He(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!==Ue&&a[0]!=="$"&&He(e,a)||Xl(t,a)||He(i,a)||He(r,a)||He(go,a)||He(s.config.globalProperties,a)||(c=o.__cssModules)&&c[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:He(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Cp(e){return he(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ed=!0;function D1(e){const t=S_(e),n=e.proxy,r=e.ctx;ed=!1,t.beforeCreate&&Tp(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:a,provide:c,inject:l,created:d,beforeMount:u,mounted:f,beforeUpdate:h,updated:p,activated:m,deactivated:v,beforeDestroy:g,beforeUnmount:y,destroyed:C,unmounted:w,render:I,renderTracked:x,renderTriggered:S,errorCaptured:b,serverPrefetch:k,expose:R,inheritAttrs:M,components:T,directives:O,filters:$}=t;if(l&&F1(l,r,null),o)for(const z in o){const N=o[z];ye(N)&&(r[z]=N.bind(n))}if(s){const z=s.call(n,n);Fe(z)&&(e.data=pt(z))}if(ed=!0,i)for(const z in i){const N=i[z],oe=ye(N)?N.bind(n,n):ye(N.get)?N.get.bind(n,n):Vn,U=!ye(N)&&ye(N.set)?N.set.bind(n):Vn,J=j({get:oe,set:U});Object.defineProperty(r,z,{enumerable:!0,configurable:!0,get:()=>J.value,set:re=>J.value=re})}if(a)for(const z in a)b_(a[z],r,n,z);if(c){const z=ye(c)?c.call(n):c;Reflect.ownKeys(z).forEach(N=>{Mt(N,z[N])})}d&&Tp(d,e,"c");function Z(z,N){he(N)?N.forEach(oe=>z(oe.bind(n))):N&&z(N.bind(n))}if(Z(gl,u),Z(gr,f),Z(x1,h),Z(Rf,p),Z(d_,m),Z(f_,v),Z(P1,b),Z(M1,x),Z(A1,S),Z(kn,y),Z(p_,w),Z(R1,k),he(R))if(R.length){const z=e.exposed||(e.exposed={});R.forEach(N=>{Object.defineProperty(z,N,{get:()=>n[N],set:oe=>n[N]=oe,enumerable:!0})})}else e.exposed||(e.exposed={});I&&e.render===Vn&&(e.render=I),M!=null&&(e.inheritAttrs=M),T&&(e.components=T),O&&(e.directives=O),k&&u_(e)}function F1(e,t,n=Vn){he(e)&&(e=td(e));for(const r in e){const s=e[r];let i;Fe(s)?"default"in s?i=Ne(s.from||r,s.default,!0):i=Ne(s.from||r):i=Ne(s),Ze(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[r]=i}}function Tp(e,t,n){Cn(he(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function b_(e,t,n,r){let s=r.includes(".")?t_(n,r):()=>n[r];if(rt(e)){const i=t[e];ye(i)&&Se(s,i)}else if(ye(e))Se(s,e.bind(n));else if(Fe(e))if(he(e))e.forEach(i=>b_(i,t,n,r));else{const i=ye(e.handler)?e.handler.bind(n):t[e.handler];ye(i)&&Se(s,i,e)}}function S_(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=>Cc(c,l,o,!0)),Cc(c,t,o)),Fe(t)&&i.set(t,c),c}function Cc(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&Cc(e,i,n,!0),s&&s.forEach(o=>Cc(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const a=$1[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const $1={data:kp,props:Ip,emits:Ip,methods:ao,computed:ao,beforeCreate:Ot,created:Ot,beforeMount:Ot,mounted:Ot,beforeUpdate:Ot,updated:Ot,beforeDestroy:Ot,beforeUnmount:Ot,destroyed:Ot,unmounted:Ot,activated:Ot,deactivated:Ot,errorCaptured:Ot,serverPrefetch:Ot,components:ao,directives:ao,watch:H1,provide:kp,inject:B1};function kp(e,t){return t?e?function(){return dt(ye(e)?e.call(this,this):e,ye(t)?t.call(this,this):t)}:t:e}function B1(e,t){return ao(td(e),td(t))}function td(e){if(he(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ot(e,t){return e?[...new Set([].concat(e,t))]:t}function ao(e,t){return e?dt(Object.create(null),e,t):t}function Ip(e,t){return e?he(e)&&he(t)?[...new Set([...e,...t])]:dt(Object.create(null),Cp(e),Cp(t??{})):t}function H1(e,t){if(!e)return t;if(!t)return e;const n=dt(Object.create(null),e);for(const r in t)n[r]=Ot(e[r],t[r]);return n}function E_(){return{app:null,config:{isNativeTag:Ey,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let V1=0;function U1(e,t){return function(r,s=null){ye(r)||(r=dt({},r)),s!=null&&!Fe(s)&&(s=null);const i=E_(),o=new WeakSet,a=[];let c=!1;const l=i.app={_uid:V1++,_component:r,_props:s,_container:null,_context:i,_instance:null,version:_C,get config(){return i.config},set config(d){},use(d,...u){return o.has(d)||(d&&ye(d.install)?(o.add(d),d.install(l,...u)):ye(d)&&(o.add(d),d(l,...u))),l},mixin(d){return i.mixins.includes(d)||i.mixins.push(d),l},component(d,u){return u?(i.components[d]=u,l):i.components[d]},directive(d,u){return u?(i.directives[d]=u,l):i.directives[d]},mount(d,u,f){if(!c){const h=l._ceVNode||H(r,s);return h.appContext=i,f===!0?f="svg":f===!1&&(f=void 0),e(h,d,f),c=!0,l._container=d,d.__vue_app__=l,yl(h.component)}},onUnmount(d){a.push(d)},unmount(){c&&(Cn(a,l._instance,16),e(null,l._container),delete l._container.__vue_app__)},provide(d,u){return i.provides[d]=u,l},runWithContext(d){const u=ps;ps=l;try{return d()}finally{ps=u}}};return l}}let ps=null;const W1=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${zt(t)}Modifiers`]||e[`${zr(t)}Modifiers`];function j1(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ue;let s=n;const i=t.startsWith("update:"),o=i&&W1(r,t.slice(7));o&&(o.trim&&(s=n.map(d=>rt(d)?d.trim():d)),o.number&&(s=n.map(mf)));let a,c=r[a=jl(t)]||r[a=jl(zt(t))];!c&&i&&(c=r[a=jl(zr(t))]),c&&Cn(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,Cn(l,e,6,s)}}const z1=new WeakMap;function w_(e,t,n=!1){const r=n?z1:t.emitsCache,s=r.get(e);if(s!==void 0)return s;const i=e.emits;let o={},a=!1;if(!ye(e)){const c=l=>{const d=w_(l,t,!0);d&&(a=!0,dt(o,d))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!a?(Fe(e)&&r.set(e,null),null):(he(i)?i.forEach(c=>o[c]=null):dt(o,i),Fe(e)&&r.set(e,o),o)}function vl(e,t){return!e||!il(t)?!1:(t=t.slice(2).replace(/Once$/,""),He(e,t[0].toLowerCase()+t.slice(1))||He(e,zr(t))||He(e,t))}function xp(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[i],slots:o,attrs:a,emit:c,render:l,renderCache:d,props:u,data:f,setupState:h,ctx:p,inheritAttrs:m}=e,v=Ec(e);let g,y;try{if(n.shapeFlag&4){const w=s||r,I=w;g=Nn(l.call(I,w,d,u,h,f,p)),y=a}else{const w=t;g=Nn(w.length>1?w(u,{attrs:a,slots:o,emit:c}):w(u,null)),y=t.props?a:q1(a)}}catch(w){vo.length=0,dl(w,e,1),g=H(bt)}let C=g;if(y&&m!==!1){const w=Object.keys(y),{shapeFlag:I}=C;w.length&&I&7&&(i&&w.some(hf)&&(y=G1(y,i)),C=Br(C,y,!1,!0))}return n.dirs&&(C=Br(C,null,!1,!0),C.dirs=C.dirs?C.dirs.concat(n.dirs):n.dirs),n.transition&&Cs(C,n.transition),g=C,Ec(v),g}const q1=e=>{let t;for(const n in e)(n==="class"||n==="style"||il(n))&&((t||(t={}))[n]=e[n]);return t},G1=(e,t)=>{const n={};for(const r in e)(!hf(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function K1(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?Rp(r,o,l):!!o;if(c&8){const d=t.dynamicProps;for(let u=0;u<d.length;u++){const f=d[u];if(C_(o,r,f)&&!vl(l,f))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===o?!1:r?o?Rp(r,o,l):!0:!!o;return!1}function Rp(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const i=r[s];if(C_(t,e,i)&&!vl(n,i))return!0}return!1}function C_(e,t,n){const r=e[n],s=t[n];return n==="style"&&Fe(r)&&Fe(s)?!gf(r,s):r!==s}function Y1({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const T_={},k_=()=>Object.create(T_),I_=e=>Object.getPrototypeOf(e)===T_;function X1(e,t,n,r=!1){const s={},i=k_();e.propsDefaults=Object.create(null),x_(e,t,s,i);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=r?s:qy(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function J1(e,t,n,r){const{props:s,attrs:i,vnode:{patchFlag:o}}=e,a=fe(s),[c]=e.propsOptions;let l=!1;if((r||o>0)&&!(o&16)){if(o&8){const d=e.vnode.dynamicProps;for(let u=0;u<d.length;u++){let f=d[u];if(vl(e.emitsOptions,f))continue;const h=t[f];if(c)if(He(i,f))h!==i[f]&&(i[f]=h,l=!0);else{const p=zt(f);s[p]=nd(c,a,p,h,e,!1)}else h!==i[f]&&(i[f]=h,l=!0)}}}else{x_(e,t,s,i)&&(l=!0);let d;for(const u in a)(!t||!He(t,u)&&((d=zr(u))===u||!He(t,d)))&&(c?n&&(n[u]!==void 0||n[d]!==void 0)&&(s[u]=nd(c,a,u,void 0,e,!0)):delete s[u]);if(i!==a)for(const u in i)(!t||!He(t,u))&&(delete i[u],l=!0)}l&&Zn(e.attrs,"set","")}function x_(e,t,n,r){const[s,i]=e.propsOptions;let o=!1,a;if(t)for(let c in t){if(uo(c))continue;const l=t[c];let d;s&&He(s,d=zt(c))?!i||!i.includes(d)?n[d]=l:(a||(a={}))[d]=l:vl(e.emitsOptions,c)||(!(c in r)||l!==r[c])&&(r[c]=l,o=!0)}if(i){const c=fe(n),l=a||Ue;for(let d=0;d<i.length;d++){const u=i[d];n[u]=nd(s,c,u,l[u],e,!He(l,u))}}return o}function nd(e,t,n,r,s,i){const o=e[n];if(o!=null){const a=He(o,"default");if(a&&r===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&ye(c)){const{propsDefaults:l}=s;if(n in l)r=l[n];else{const d=ra(s);r=l[n]=c.call(null,t),d()}}else r=c;s.ce&&s.ce._setProp(n,r)}o[0]&&(i&&!a?r=!1:o[1]&&(r===""||r===zr(n))&&(r=!0))}return r}const Z1=new WeakMap;function R_(e,t,n=!1){const r=n?Z1:t.propsCache,s=r.get(e);if(s)return s;const i=e.props,o={},a=[];let c=!1;if(!ye(e)){const d=u=>{c=!0;const[f,h]=R_(u,t,!0);dt(o,f),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!c)return Fe(e)&&r.set(e,ii),ii;if(he(i))for(let d=0;d<i.length;d++){const u=zt(i[d]);Ap(u)&&(o[u]=Ue)}else if(i)for(const d in i){const u=zt(d);if(Ap(u)){const f=i[d],h=o[u]=he(f)||ye(f)?{type:f}:dt({},f),p=h.type;let m=!1,v=!0;if(he(p))for(let g=0;g<p.length;++g){const y=p[g],C=ye(y)&&y.name;if(C==="Boolean"){m=!0;break}else C==="String"&&(v=!1)}else m=ye(p)&&p.name==="Boolean";h[0]=m,h[1]=v,(m||He(h,"default"))&&a.push(u)}}const l=[o,a];return Fe(e)&&r.set(e,l),l}function Ap(e){return e[0]!=="$"&&!uo(e)}const Af=e=>e==="_"||e==="_ctx"||e==="$stable",Mf=e=>he(e)?e.map(Nn):[Nn(e)],Q1=(e,t,n)=>{if(t._n)return t;const r=gt((...s)=>Mf(t(...s)),n);return r._c=!1,r},A_=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Af(s))continue;const i=e[s];if(ye(i))t[s]=Q1(s,i,r);else if(i!=null){const o=Mf(i);t[s]=()=>o}}},M_=(e,t)=>{const n=Mf(t);e.slots.default=()=>n},P_=(e,t,n)=>{for(const r in t)(n||!Af(r))&&(e[r]=t[r])},eC=(e,t,n)=>{const r=e.slots=k_();if(e.vnode.shapeFlag&32){const s=t._;s?(P_(r,t,n),n&&Iy(r,"_",s,!0)):A_(t,r)}else t&&M_(e,t)},tC=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,o=Ue;if(r.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:P_(s,t,n):(i=!t.$stable,A_(t,s)),o=t}else t&&(M_(e,t),o={default:1});if(i)for(const a in s)!Af(a)&&o[a]==null&&delete s[a]},kt=oC;function nC(e){return rC(e)}function rC(e,t){const n=cl();n.__VUE__=!0;const{insert:r,remove:s,patchProp:i,createElement:o,createText:a,createComment:c,setText:l,setElementText:d,parentNode:u,nextSibling:f,setScopeId:h=Vn,insertStaticContent:p}=e,m=(_,E,A,L=null,D=null,F=null,q=void 0,Y=null,B=!!E.dynamicChildren)=>{if(_===E)return;_&&!os(_,E)&&(L=P(_),re(_,D,F,!0),_=null),E.patchFlag===-2&&(B=!1,E.dynamicChildren=null);const{type:V,ref:Q,shapeFlag:ne}=E;switch(V){case na:v(_,E,A,L);break;case bt:g(_,E,A,L);break;case Zl:_==null&&y(E,A,L,q);break;case Qe:T(_,E,A,L,D,F,q,Y,B);break;default:ne&1?I(_,E,A,L,D,F,q,Y,B):ne&6?O(_,E,A,L,D,F,q,Y,B):(ne&64||ne&128)&&V.process(_,E,A,L,D,F,q,Y,B,G)}Q!=null&&D?mo(Q,_&&_.ref,F,E||_,!E):Q==null&&_&&_.ref!=null&&mo(_.ref,null,F,_,!0)},v=(_,E,A,L)=>{if(_==null)r(E.el=a(E.children),A,L);else{const D=E.el=_.el;E.children!==_.children&&l(D,E.children)}},g=(_,E,A,L)=>{_==null?r(E.el=c(E.children||""),A,L):E.el=_.el},y=(_,E,A,L)=>{[_.el,_.anchor]=p(_.children,E,A,L,_.el,_.anchor)},C=({el:_,anchor:E},A,L)=>{let D;for(;_&&_!==E;)D=f(_),r(_,A,L),_=D;r(E,A,L)},w=({el:_,anchor:E})=>{let A;for(;_&&_!==E;)A=f(_),s(_),_=A;s(E)},I=(_,E,A,L,D,F,q,Y,B)=>{if(E.type==="svg"?q="svg":E.type==="math"&&(q="mathml"),_==null)x(E,A,L,D,F,q,Y,B);else{const V=_.el&&_.el._isVueCE?_.el:null;try{V&&V._beginPatch(),k(_,E,D,F,q,Y,B)}finally{V&&V._endPatch()}}},x=(_,E,A,L,D,F,q,Y)=>{let B,V;const{props:Q,shapeFlag:ne,transition:ce,dirs:se}=_;if(B=_.el=o(_.type,F,Q&&Q.is,Q),ne&8?d(B,_.children):ne&16&&b(_.children,B,null,L,D,Jl(_,F),q,Y),se&&Zr(_,null,L,"created"),S(B,_,_.scopeId,q,L),Q){for(const qe in Q)qe!=="value"&&!uo(qe)&&i(B,qe,null,Q[qe],F,L);"value"in Q&&i(B,"value",null,Q.value,F),(V=Q.onVnodeBeforeMount)&&An(V,L,_)}se&&Zr(_,null,L,"beforeMount");const Ie=sC(D,ce);Ie&&ce.beforeEnter(B),r(B,E,A),((V=Q&&Q.onVnodeMounted)||Ie||se)&&kt(()=>{V&&An(V,L,_),Ie&&ce.enter(B),se&&Zr(_,null,L,"mounted")},D)},S=(_,E,A,L,D)=>{if(A&&h(_,A),L)for(let F=0;F<L.length;F++)h(_,L[F]);if(D){let F=D.subTree;if(E===F||N_(F.type)&&(F.ssContent===E||F.ssFallback===E)){const q=D.vnode;S(_,q,q.scopeId,q.slotScopeIds,D.parent)}}},b=(_,E,A,L,D,F,q,Y,B=0)=>{for(let V=B;V<_.length;V++){const Q=_[V]=Y?Jn(_[V]):Nn(_[V]);m(null,Q,E,A,L,D,F,q,Y)}},k=(_,E,A,L,D,F,q)=>{const Y=E.el=_.el;let{patchFlag:B,dynamicChildren:V,dirs:Q}=E;B|=_.patchFlag&16;const ne=_.props||Ue,ce=E.props||Ue;let se;if(A&&Qr(A,!1),(se=ce.onVnodeBeforeUpdate)&&An(se,A,E,_),Q&&Zr(E,_,A,"beforeUpdate"),A&&Qr(A,!0),(ne.innerHTML&&ce.innerHTML==null||ne.textContent&&ce.textContent==null)&&d(Y,""),V?R(_.dynamicChildren,V,Y,A,L,Jl(E,D),F):q||N(_,E,Y,null,A,L,Jl(E,D),F,!1),B>0){if(B&16)M(Y,ne,ce,A,D);else if(B&2&&ne.class!==ce.class&&i(Y,"class",null,ce.class,D),B&4&&i(Y,"style",ne.style,ce.style,D),B&8){const Ie=E.dynamicProps;for(let qe=0;qe<Ie.length;qe++){const Ve=Ie[qe],Bt=ne[Ve],Ht=ce[Ve];(Ht!==Bt||Ve==="value")&&i(Y,Ve,Bt,Ht,D,A)}}B&1&&_.children!==E.children&&d(Y,E.children)}else!q&&V==null&&M(Y,ne,ce,A,D);((se=ce.onVnodeUpdated)||Q)&&kt(()=>{se&&An(se,A,E,_),Q&&Zr(E,_,A,"updated")},L)},R=(_,E,A,L,D,F,q)=>{for(let Y=0;Y<E.length;Y++){const B=_[Y],V=E[Y],Q=B.el&&(B.type===Qe||!os(B,V)||B.shapeFlag&198)?u(B.el):A;m(B,V,Q,null,L,D,F,q,!0)}},M=(_,E,A,L,D)=>{if(E!==A){if(E!==Ue)for(const F in E)!uo(F)&&!(F in A)&&i(_,F,E[F],null,D,L);for(const F in A){if(uo(F))continue;const q=A[F],Y=E[F];q!==Y&&F!=="value"&&i(_,F,Y,q,D,L)}"value"in A&&i(_,"value",E.value,A.value,D)}},T=(_,E,A,L,D,F,q,Y,B)=>{const V=E.el=_?_.el:a(""),Q=E.anchor=_?_.anchor:a("");let{patchFlag:ne,dynamicChildren:ce,slotScopeIds:se}=E;se&&(Y=Y?Y.concat(se):se),_==null?(r(V,A,L),r(Q,A,L),b(E.children||[],A,Q,D,F,q,Y,B)):ne>0&&ne&64&&ce&&_.dynamicChildren&&_.dynamicChildren.length===ce.length?(R(_.dynamicChildren,ce,A,D,F,q,Y),(E.key!=null||D&&E===D.subTree)&&Pf(_,E,!0)):N(_,E,A,Q,D,F,q,Y,B)},O=(_,E,A,L,D,F,q,Y,B)=>{E.slotScopeIds=Y,_==null?E.shapeFlag&512?D.ctx.activate(E,A,L,q,B):$(E,A,L,D,F,q,B):K(_,E,B)},$=(_,E,A,L,D,F,q)=>{const Y=_.component=fC(_,L,D);if(pl(_)&&(Y.ctx.renderer=G),hC(Y,!1,q),Y.asyncDep){if(D&&D.registerDep(Y,Z,q),!_.el){const B=Y.subTree=H(bt);g(null,B,E,A),_.placeholder=B.el}}else Z(Y,_,E,A,D,F,q)},K=(_,E,A)=>{const L=E.component=_.component;if(K1(_,E,A))if(L.asyncDep&&!L.asyncResolved){z(L,E,A);return}else L.next=E,L.update();else E.el=_.el,L.vnode=E},Z=(_,E,A,L,D,F,q)=>{const Y=()=>{if(_.isMounted){let{next:ne,bu:ce,u:se,parent:Ie,vnode:qe}=_;{const xn=O_(_);if(xn){ne&&(ne.el=qe.el,z(_,ne,q)),xn.asyncDep.then(()=>{kt(()=>{_.isUnmounted||V()},D)});return}}let Ve=ne,Bt;Qr(_,!1),ne?(ne.el=qe.el,z(_,ne,q)):ne=qe,ce&&Ka(ce),(Bt=ne.props&&ne.props.onVnodeBeforeUpdate)&&An(Bt,Ie,ne,qe),Qr(_,!0);const Ht=xp(_),In=_.subTree;_.subTree=Ht,m(In,Ht,u(In.el),P(In),_,D,F),ne.el=Ht.el,Ve===null&&Y1(_,Ht.el),se&&kt(se,D),(Bt=ne.props&&ne.props.onVnodeUpdated)&&kt(()=>An(Bt,Ie,ne,qe),D)}else{let ne;const{el:ce,props:se}=E,{bm:Ie,m:qe,parent:Ve,root:Bt,type:Ht}=_,In=ci(E);Qr(_,!1),Ie&&Ka(Ie),!In&&(ne=se&&se.onVnodeBeforeMount)&&An(ne,Ve,E),Qr(_,!0);{Bt.ce&&Bt.ce._hasShadowRoot()&&Bt.ce._injectChildStyle(Ht);const xn=_.subTree=xp(_);m(null,xn,A,L,_,D,F),E.el=xn.el}if(qe&&kt(qe,D),!In&&(ne=se&&se.onVnodeMounted)){const xn=E;kt(()=>An(ne,Ve,xn),D)}(E.shapeFlag&256||Ve&&ci(Ve.vnode)&&Ve.vnode.shapeFlag&256)&&_.a&&kt(_.a,D),_.isMounted=!0,E=A=L=null}};_.scope.on();const B=_.effect=new Py(Y);_.scope.off();const V=_.update=B.run.bind(B),Q=_.job=B.runIfDirty.bind(B);Q.i=_,Q.id=_.uid,B.scheduler=()=>kf(Q),Qr(_,!0),V()},z=(_,E,A)=>{E.component=_;const L=_.vnode.props;_.vnode=E,_.next=null,J1(_,E.props,L,A),tC(_,E.children,A),ir(),gp(_),or()},N=(_,E,A,L,D,F,q,Y,B=!1)=>{const V=_&&_.children,Q=_?_.shapeFlag:0,ne=E.children,{patchFlag:ce,shapeFlag:se}=E;if(ce>0){if(ce&128){U(V,ne,A,L,D,F,q,Y,B);return}else if(ce&256){oe(V,ne,A,L,D,F,q,Y,B);return}}se&8?(Q&16&&De(V,D,F),ne!==V&&d(A,ne)):Q&16?se&16?U(V,ne,A,L,D,F,q,Y,B):De(V,D,F,!0):(Q&8&&d(A,""),se&16&&b(ne,A,L,D,F,q,Y,B))},oe=(_,E,A,L,D,F,q,Y,B)=>{_=_||ii,E=E||ii;const V=_.length,Q=E.length,ne=Math.min(V,Q);let ce;for(ce=0;ce<ne;ce++){const se=E[ce]=B?Jn(E[ce]):Nn(E[ce]);m(_[ce],se,A,null,D,F,q,Y,B)}V>Q?De(_,D,F,!0,!1,ne):b(E,A,L,D,F,q,Y,B,ne)},U=(_,E,A,L,D,F,q,Y,B)=>{let V=0;const Q=E.length;let ne=_.length-1,ce=Q-1;for(;V<=ne&&V<=ce;){const se=_[V],Ie=E[V]=B?Jn(E[V]):Nn(E[V]);if(os(se,Ie))m(se,Ie,A,null,D,F,q,Y,B);else break;V++}for(;V<=ne&&V<=ce;){const se=_[ne],Ie=E[ce]=B?Jn(E[ce]):Nn(E[ce]);if(os(se,Ie))m(se,Ie,A,null,D,F,q,Y,B);else break;ne--,ce--}if(V>ne){if(V<=ce){const se=ce+1,Ie=se<Q?E[se].el:L;for(;V<=ce;)m(null,E[V]=B?Jn(E[V]):Nn(E[V]),A,Ie,D,F,q,Y,B),V++}}else if(V>ce)for(;V<=ne;)re(_[V],D,F,!0),V++;else{const se=V,Ie=V,qe=new Map;for(V=Ie;V<=ce;V++){const Yt=E[V]=B?Jn(E[V]):Nn(E[V]);Yt.key!=null&&qe.set(Yt.key,V)}let Ve,Bt=0;const Ht=ce-Ie+1;let In=!1,xn=0;const Ji=new Array(Ht);for(V=0;V<Ht;V++)Ji[V]=0;for(V=se;V<=ne;V++){const Yt=_[V];if(Bt>=Ht){re(Yt,D,F,!0);continue}let Rn;if(Yt.key!=null)Rn=qe.get(Yt.key);else for(Ve=Ie;Ve<=ce;Ve++)if(Ji[Ve-Ie]===0&&os(Yt,E[Ve])){Rn=Ve;break}Rn===void 0?re(Yt,D,F,!0):(Ji[Rn-Ie]=V+1,Rn>=xn?xn=Rn:In=!0,m(Yt,E[Rn],A,null,D,F,q,Y,B),Bt++)}const cp=In?iC(Ji):ii;for(Ve=cp.length-1,V=Ht-1;V>=0;V--){const Yt=Ie+V,Rn=E[Yt],lp=E[Yt+1],up=Yt+1<Q?lp.el||L_(lp):L;Ji[V]===0?m(null,Rn,A,up,D,F,q,Y,B):In&&(Ve<0||V!==cp[Ve]?J(Rn,A,up,2):Ve--)}}},J=(_,E,A,L,D=null)=>{const{el:F,type:q,transition:Y,children:B,shapeFlag:V}=_;if(V&6){J(_.component.subTree,E,A,L);return}if(V&128){_.suspense.move(E,A,L);return}if(V&64){q.move(_,E,A,G);return}if(q===Qe){r(F,E,A);for(let ne=0;ne<B.length;ne++)J(B[ne],E,A,L);r(_.anchor,E,A);return}if(q===Zl){C(_,E,A);return}if(L!==2&&V&1&&Y)if(L===0)Y.beforeEnter(F),r(F,E,A),kt(()=>Y.enter(F),D);else{const{leave:ne,delayLeave:ce,afterLeave:se}=Y,Ie=()=>{_.ctx.isUnmounted?s(F):r(F,E,A)},qe=()=>{F._isLeaving&&F[On](!0),ne(F,()=>{Ie(),se&&se()})};ce?ce(F,Ie,qe):qe()}else r(F,E,A)},re=(_,E,A,L=!1,D=!1)=>{const{type:F,props:q,ref:Y,children:B,dynamicChildren:V,shapeFlag:Q,patchFlag:ne,dirs:ce,cacheIndex:se}=_;if(ne===-2&&(D=!1),Y!=null&&(ir(),mo(Y,null,A,_,!0),or()),se!=null&&(E.renderCache[se]=void 0),Q&256){E.ctx.deactivate(_);return}const Ie=Q&1&&ce,qe=!ci(_);let Ve;if(qe&&(Ve=q&&q.onVnodeBeforeUnmount)&&An(Ve,E,_),Q&6)Me(_.component,A,L);else{if(Q&128){_.suspense.unmount(A,L);return}Ie&&Zr(_,null,E,"beforeUnmount"),Q&64?_.type.remove(_,E,A,G,L):V&&!V.hasOnce&&(F!==Qe||ne>0&&ne&64)?De(V,E,A,!1,!0):(F===Qe&&ne&384||!D&&Q&16)&&De(B,E,A),L&&ie(_)}(qe&&(Ve=q&&q.onVnodeUnmounted)||Ie)&&kt(()=>{Ve&&An(Ve,E,_),Ie&&Zr(_,null,E,"unmounted")},A)},ie=_=>{const{type:E,el:A,anchor:L,transition:D}=_;if(E===Qe){Ee(A,L);return}if(E===Zl){w(_);return}const F=()=>{s(A),D&&!D.persisted&&D.afterLeave&&D.afterLeave()};if(_.shapeFlag&1&&D&&!D.persisted){const{leave:q,delayLeave:Y}=D,B=()=>q(A,F);Y?Y(_.el,F,B):B()}else F()},Ee=(_,E)=>{let A;for(;_!==E;)A=f(_),s(_),_=A;s(E)},Me=(_,E,A)=>{const{bum:L,scope:D,job:F,subTree:q,um:Y,m:B,a:V}=_;Mp(B),Mp(V),L&&Ka(L),D.stop(),F&&(F.flags|=8,re(q,_,E,A)),Y&&kt(Y,E),kt(()=>{_.isUnmounted=!0},E)},De=(_,E,A,L=!1,D=!1,F=0)=>{for(let q=F;q<_.length;q++)re(_[q],E,A,L,D)},P=_=>{if(_.shapeFlag&6)return P(_.component.subTree);if(_.shapeFlag&128)return _.suspense.next();const E=f(_.anchor||_.el),A=E&&E[n_];return A?f(A):E};let W=!1;const X=(_,E,A)=>{let L;_==null?E._vnode&&(re(E._vnode,null,null,!0),L=E._vnode.component):m(E._vnode||null,_,E,null,null,null,A),E._vnode=_,W||(W=!0,gp(L),Zy(),W=!1)},G={p:m,um:re,m:J,r:ie,mt:$,mc:b,pc:N,pbc:R,n:P,o:e};return{render:X,hydrate:void 0,createApp:U1(X)}}function Jl({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 Qr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function sC(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Pf(e,t,n=!1){const r=e.children,s=t.children;if(he(r)&&he(s))for(let i=0;i<r.length;i++){const o=r[i];let a=s[i];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[i]=Jn(s[i]),a.el=o.el),!n&&a.patchFlag!==-2&&Pf(o,a)),a.type===na&&(a.patchFlag===-1&&(a=s[i]=Jn(a)),a.el=o.el),a.type===bt&&!a.el&&(a.el=o.el)}}function iC(e){const t=e.slice(),n=[0];let r,s,i,o,a;const c=e.length;for(r=0;r<c;r++){const l=e[r];if(l!==0){if(s=n[n.length-1],e[s]<l){t[r]=s,n.push(r);continue}for(i=0,o=n.length-1;i<o;)a=i+o>>1,e[n[a]]<l?i=a+1:o=a;l<e[n[i]]&&(i>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 O_(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:O_(t)}function Mp(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function L_(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?L_(t.subTree):null}const N_=e=>e.__isSuspense;function oC(e,t){t&&t.pendingBranch?he(e)?t.effects.push(...e):t.effects.push(e):y1(e)}const Qe=Symbol.for("v-fgt"),na=Symbol.for("v-txt"),bt=Symbol.for("v-cmt"),Zl=Symbol.for("v-stc"),vo=[];let Qt=null;function cn(e=!1){vo.push(Qt=e?null:[])}function aC(){vo.pop(),Qt=vo[vo.length-1]||null}let Po=1;function Tc(e,t=!1){Po+=e,e<0&&Qt&&t&&(Qt.hasOnce=!0)}function D_(e){return e.dynamicChildren=Po>0?Qt||ii:null,aC(),Po>0&&Qt&&Qt.push(e),e}function F_(e,t,n,r,s,i){return D_(ae(e,t,n,r,s,i,!0))}function $n(e,t,n,r,s){return D_(H(e,t,n,r,s,!0))}function mi(e){return e?e.__v_isVNode===!0:!1}function os(e,t){return e.type===t.type&&e.key===t.key}const $_=({key:e})=>e??null,Xa=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?rt(e)||Ze(e)||ye(e)?{i:St,r:e,k:t,f:!!n}:e:null);function ae(e,t=null,n=null,r=0,s=null,i=e===Qe?0:1,o=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&$_(t),ref:t&&Xa(t),scopeId:e_,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:St};return a?(Of(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=rt(n)?8:16),Po>0&&!o&&Qt&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Qt.push(c),c}const H=cC;function cC(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===g_)&&(e=bt),mi(e)){const a=Br(e,t,!0);return n&&Of(a,n),Po>0&&!i&&Qt&&(a.shapeFlag&6?Qt[Qt.indexOf(e)]=a:Qt.push(a)),a.patchFlag=-2,a}if(yC(e)&&(e=e.__vccOpts),t){t=lC(t);let{class:a,style:c}=t;a&&!rt(a)&&(t.class=Le(a)),Fe(c)&&(ul(c)&&!he(c)&&(c=dt({},c)),t.style=Xe(c))}const o=rt(e)?1:N_(e)?128:r_(e)?64:Fe(e)?4:ye(e)?2:0;return ae(e,t,n,r,s,o,i,!0)}function lC(e){return e?ul(e)||I_(e)?dt({},e):e:null}function Br(e,t,n=!1,r=!1){const{props:s,ref:i,patchFlag:o,children:a,transition:c}=e,l=t?Je(s||{},t):s,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&$_(l),ref:t&&t.ref?n&&i?he(i)?i.concat(Xa(t)):[i,Xa(t)]:Xa(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!==Qe?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&&Br(e.ssContent),ssFallback:e.ssFallback&&Br(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&Cs(d,c.clone(d)),d}function co(e=" ",t=0){return H(na,null,e,t)}function rd(e="",t=!1){return t?(cn(),$n(bt,null,e)):H(bt,null,e)}function Nn(e){return e==null||typeof e=="boolean"?H(bt):he(e)?H(Qe,null,e.slice()):mi(e)?Jn(e):H(na,null,String(e))}function Jn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Br(e)}function Of(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(he(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Of(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!I_(t)?t._ctx=St:s===3&&St&&(St.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ye(t)?(t={default:t,_ctx:St},n=32):(t=String(t),r&64?(n=16,t=[co(t)]):n=8);e.children=t,e.shapeFlag|=n}function Je(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=Le([t.class,r.class]));else if(s==="style")t.style=Xe([t.style,r.style]);else if(il(s)){const i=t[s],o=r[s];o&&i!==o&&!(he(i)&&i.includes(o))&&(t[s]=i?[].concat(i,o):o)}else s!==""&&(t[s]=r[s])}return t}function An(e,t,n,r=null){Cn(e,t,7,[n,r])}const uC=E_();let dC=0;function fC(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||uC,i={uid:dC++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new My(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:R_(r,s),emitsOptions:w_(r,s),emit:null,emitted:null,propsDefaults:Ue,inheritAttrs:r.inheritAttrs,ctx:Ue,data:Ue,props:Ue,attrs:Ue,slots:Ue,refs:Ue,setupState:Ue,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=j1.bind(null,i),e.ce&&e.ce(i),i}let Rt=null;const Li=()=>Rt||St;let kc,sd;{const e=cl(),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)}};kc=t("__VUE_INSTANCE_SETTERS__",n=>Rt=n),sd=t("__VUE_SSR_SETTERS__",n=>Oo=n)}const ra=e=>{const t=Rt;return kc(e),e.scope.on(),()=>{e.scope.off(),kc(t)}},Pp=()=>{Rt&&Rt.scope.off(),kc(null)};function B_(e){return e.vnode.shapeFlag&4}let Oo=!1;function hC(e,t=!1,n=!1){t&&sd(t);const{props:r,children:s}=e.vnode,i=B_(e);X1(e,r,i,t),eC(e,s,n||t);const o=i?pC(e,t):void 0;return t&&sd(!1),o}function pC(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,N1);const{setup:r}=n;if(r){ir();const s=e.setupContext=r.length>1?gC(e):null,i=ra(e),o=ta(r,e,0,[e.props,s]),a=Cy(o);if(or(),i(),(a||e.sp)&&!ci(e)&&u_(e),a){if(o.then(Pp,Pp),t)return o.then(c=>{Op(e,c)}).catch(c=>{dl(c,e,0)});e.asyncDep=o}else Op(e,o)}else H_(e)}function Op(e,t,n){ye(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Fe(t)&&(e.setupState=Ky(t)),H_(e)}function H_(e,t,n){const r=e.type;e.render||(e.render=r.render||Vn);{const s=ra(e);ir();try{D1(e)}finally{or(),s()}}}const mC={get(e,t){return xt(e,"get",""),e[t]}};function gC(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,mC),slots:e.slots,emit:e.emit,expose:t}}function yl(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ky(Cf(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in go)return go[n](e)},has(t,n){return n in t||n in go}})):e.proxy}function vC(e,t=!0){return ye(e)?e.displayName||e.name:e.name||t&&e.__name}function yC(e){return ye(e)&&"__vccOpts"in e}const j=(e,t)=>h1(e,t,Oo);function qr(e,t,n){try{Tc(-1);const r=arguments.length;return r===2?Fe(t)&&!he(t)?mi(t)?H(e,null,[t]):H(e,t):H(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&mi(n)&&(n=[n]),H(e,t,n))}finally{Tc(1)}}const _C="3.5.29";/**
|
||
* @vue/runtime-dom v3.5.29
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let id;const Lp=typeof window<"u"&&window.trustedTypes;if(Lp)try{id=Lp.createPolicy("vue",{createHTML:e=>e})}catch{}const V_=id?e=>id.createHTML(e):e=>e,bC="http://www.w3.org/2000/svg",SC="http://www.w3.org/1998/Math/MathML",Xn=typeof document<"u"?document:null,Np=Xn&&Xn.createElement("template"),EC={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"?Xn.createElementNS(bC,e):t==="mathml"?Xn.createElementNS(SC,e):n?Xn.createElement(e,{is:n}):Xn.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Xn.createTextNode(e),createComment:e=>Xn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Xn.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{Np.innerHTML=V_(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=Np.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]}},Sr="transition",eo="animation",gi=Symbol("_vtc"),U_={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},W_=dt({},o_,U_),wC=e=>(e.displayName="Transition",e.props=W_,e),Hr=wC((e,{slots:t})=>qr(k1,j_(e),t)),es=(e,t=[])=>{he(e)?e.forEach(n=>n(...t)):e&&e(...t)},Dp=e=>e?he(e)?e.some(t=>t.length>1):e.length>1:!1;function j_(e){const t={};for(const T in e)T in U_||(t[T]=e[T]);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:d=a,leaveFromClass:u=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,p=CC(s),m=p&&p[0],v=p&&p[1],{onBeforeEnter:g,onEnter:y,onEnterCancelled:C,onLeave:w,onLeaveCancelled:I,onBeforeAppear:x=g,onAppear:S=y,onAppearCancelled:b=C}=t,k=(T,O,$,K)=>{T._enterCancelled=K,Cr(T,O?d:a),Cr(T,O?l:o),$&&$()},R=(T,O)=>{T._isLeaving=!1,Cr(T,u),Cr(T,h),Cr(T,f),O&&O()},M=T=>(O,$)=>{const K=T?S:y,Z=()=>k(O,T,$);es(K,[O,Z]),Fp(()=>{Cr(O,T?c:i),Mn(O,T?d:a),Dp(K)||$p(O,r,m,Z)})};return dt(t,{onBeforeEnter(T){es(g,[T]),Mn(T,i),Mn(T,o)},onBeforeAppear(T){es(x,[T]),Mn(T,c),Mn(T,l)},onEnter:M(!1),onAppear:M(!0),onLeave(T,O){T._isLeaving=!0;const $=()=>R(T,O);Mn(T,u),T._enterCancelled?(Mn(T,f),od(T)):(od(T),Mn(T,f)),Fp(()=>{T._isLeaving&&(Cr(T,u),Mn(T,h),Dp(w)||$p(T,r,v,$))}),es(w,[T,$])},onEnterCancelled(T){k(T,!1,void 0,!0),es(C,[T])},onAppearCancelled(T){k(T,!0,void 0,!0),es(b,[T])},onLeaveCancelled(T){R(T),es(I,[T])}})}function CC(e){if(e==null)return null;if(Fe(e))return[Ql(e.enter),Ql(e.leave)];{const t=Ql(e);return[t,t]}}function Ql(e){return Nw(e)}function Mn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[gi]||(e[gi]=new Set)).add(t)}function Cr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[gi];n&&(n.delete(t),n.size||(e[gi]=void 0))}function Fp(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let TC=0;function $p(e,t,n,r){const s=e._endId=++TC,i=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:a,propCount:c}=z_(e,t);if(!o)return r();const l=o+"end";let d=0;const u=()=>{e.removeEventListener(l,f),i()},f=h=>{h.target===e&&++d>=c&&u()};setTimeout(()=>{d<c&&u()},a+1),e.addEventListener(l,f)}function z_(e,t){const n=window.getComputedStyle(e),r=p=>(n[p]||"").split(", "),s=r(`${Sr}Delay`),i=r(`${Sr}Duration`),o=Bp(s,i),a=r(`${eo}Delay`),c=r(`${eo}Duration`),l=Bp(a,c);let d=null,u=0,f=0;t===Sr?o>0&&(d=Sr,u=o,f=i.length):t===eo?l>0&&(d=eo,u=l,f=c.length):(u=Math.max(o,l),d=u>0?o>l?Sr:eo:null,f=d?d===Sr?i.length:c.length:0);const h=d===Sr&&/\b(?:transform|all)(?:,|$)/.test(r(`${Sr}Property`).toString());return{type:d,timeout:u,propCount:f,hasTransform:h}}function Bp(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Hp(n)+Hp(e[r])))}function Hp(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function od(e){return(e?e.ownerDocument:document).body.offsetHeight}function kC(e,t,n){const r=e[gi];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ic=Symbol("_vod"),q_=Symbol("_vsh"),Lf={name:"show",beforeMount(e,{value:t},{transition:n}){e[Ic]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):to(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),to(e,!0),r.enter(e)):r.leave(e,()=>{to(e,!1)}):to(e,t))},beforeUnmount(e,{value:t}){to(e,t)}};function to(e,t){e.style.display=t?e[Ic]:"none",e[q_]=!t}const IC=Symbol(""),xC=/(?:^|;)\s*display\s*:/;function RC(e,t,n){const r=e.style,s=rt(n);let i=!1;if(n&&!s){if(t)if(rt(t))for(const o of t.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&Ja(r,a,"")}else for(const o in t)n[o]==null&&Ja(r,o,"");for(const o in n)o==="display"&&(i=!0),Ja(r,o,n[o])}else if(s){if(t!==n){const o=r[IC];o&&(n+=";"+o),r.cssText=n,i=xC.test(n)}}else t&&e.removeAttribute("style");Ic in e&&(e[Ic]=i?r.display:"",e[q_]&&(r.display="none"))}const Vp=/\s*!important$/;function Ja(e,t,n){if(he(n))n.forEach(r=>Ja(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=AC(e,t);Vp.test(n)?e.setProperty(zr(r),n.replace(Vp,""),"important"):e[r]=n}}const Up=["Webkit","Moz","ms"],eu={};function AC(e,t){const n=eu[t];if(n)return n;let r=zt(t);if(r!=="filter"&&r in e)return eu[t]=r;r=Oi(r);for(let s=0;s<Up.length;s++){const i=Up[s]+r;if(i in e)return eu[t]=i}return t}const Wp="http://www.w3.org/1999/xlink";function jp(e,t,n,r,s,i=Vw(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Wp,t.slice(6,t.length)):e.setAttributeNS(Wp,t,n):n==null||i&&!xy(n)?e.removeAttribute(t):e.setAttribute(t,i?"":En(n)?String(n):n)}function zp(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?V_(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const a=i==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(a!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=xy(n):n==null&&a==="string"?(n="",o=!0):a==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(s||t)}function Gs(e,t,n,r){e.addEventListener(t,n,r)}function MC(e,t,n,r){e.removeEventListener(t,n,r)}const qp=Symbol("_vei");function PC(e,t,n,r,s=null){const i=e[qp]||(e[qp]={}),o=i[t];if(r&&o)o.value=r;else{const[a,c]=OC(t);if(r){const l=i[t]=DC(r,s);Gs(e,a,l,c)}else o&&(MC(e,a,o,c),i[t]=void 0)}}const Gp=/(?:Once|Passive|Capture)$/;function OC(e){let t;if(Gp.test(e)){t={};let r;for(;r=e.match(Gp);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):zr(e.slice(2)),t]}let tu=0;const LC=Promise.resolve(),NC=()=>tu||(LC.then(()=>tu=0),tu=Date.now());function DC(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Cn(FC(r,n.value),t,5,[r])};return n.value=e,n.attached=NC(),n}function FC(e,t){if(he(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 Kp=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,$C=(e,t,n,r,s,i)=>{const o=s==="svg";t==="class"?kC(e,r,o):t==="style"?RC(e,n,r):il(t)?hf(t)||PC(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):BC(e,t,r,o))?(zp(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&jp(e,t,r,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!rt(r))?zp(e,zt(t),r,i,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),jp(e,t,r,o))};function BC(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Kp(t)&&ye(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 Kp(t)&&rt(n)?!1:t in e}const G_=new WeakMap,K_=new WeakMap,xc=Symbol("_moveCb"),Yp=Symbol("_enterCb"),HC=e=>(delete e.props.mode,e),VC=HC({name:"TransitionGroup",props:dt({},W_,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Li(),r=i_();let s,i;return Rf(()=>{if(!s.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!zC(s[0].el,n.vnode.el,o)){s=[];return}s.forEach(UC),s.forEach(WC);const a=s.filter(jC);od(n.vnode.el),a.forEach(c=>{const l=c.el,d=l.style;Mn(l,o),d.transform=d.webkitTransform=d.transitionDuration="";const u=l[xc]=f=>{f&&f.target!==l||(!f||f.propertyName.endsWith("transform"))&&(l.removeEventListener("transitionend",u),l[xc]=null,Cr(l,o))};l.addEventListener("transitionend",u)}),s=[]}),()=>{const o=fe(e),a=j_(o);let c=o.tag||Qe;if(s=[],i)for(let l=0;l<i.length;l++){const d=i[l];d.el&&d.el instanceof Element&&(s.push(d),Cs(d,Mo(d,a,r,n)),G_.set(d,Y_(d.el)))}i=t.default?xf(t.default()):[];for(let l=0;l<i.length;l++){const d=i[l];d.key!=null&&Cs(d,Mo(d,a,r,n))}return H(c,null,i)}}}),Nf=VC;function UC(e){const t=e.el;t[xc]&&t[xc](),t[Yp]&&t[Yp]()}function WC(e){K_.set(e,Y_(e.el))}function jC(e){const t=G_.get(e),n=K_.get(e),r=t.left-n.left,s=t.top-n.top;if(r||s){const i=e.el,o=i.style,a=i.getBoundingClientRect();let c=1,l=1;return i.offsetWidth&&(c=a.width/i.offsetWidth),i.offsetHeight&&(l=a.height/i.offsetHeight),(!Number.isFinite(c)||c===0)&&(c=1),(!Number.isFinite(l)||l===0)&&(l=1),Math.abs(c-1)<.01&&(c=1),Math.abs(l-1)<.01&&(l=1),o.transform=o.webkitTransform=`translate(${r/c}px,${s/l}px)`,o.transitionDuration="0s",e}}function Y_(e){const t=e.getBoundingClientRect();return{left:t.left,top:t.top}}function zC(e,t,n){const r=e.cloneNode(),s=e[gi];s&&s.forEach(a=>{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}=z_(r);return i.removeChild(r),o}const Xp=e=>{const t=e.props["onUpdate:modelValue"]||!1;return he(t)?n=>Ka(t,n):t};function qC(e){e.target.composing=!0}function Jp(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const nu=Symbol("_assign");function Zp(e,t,n){return t&&(e=e.trim()),n&&(e=mf(e)),e}const a4={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[nu]=Xp(s);const i=r||s.props&&s.props.type==="number";Gs(e,t?"change":"input",o=>{o.target.composing||e[nu](Zp(e.value,n,i))}),(n||i)&&Gs(e,"change",()=>{e.value=Zp(e.value,n,i)}),t||(Gs(e,"compositionstart",qC),Gs(e,"compositionend",Jp),Gs(e,"change",Jp))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:i}},o){if(e[nu]=Xp(o),e.composing)return;const a=(i||e.type==="number")&&!/^0\d/.test(e.value)?mf(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))}},GC=["ctrl","shift","alt","meta"],KC={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)=>GC.some(n=>e[`${n}Key`]&&!t.includes(n))},c4=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...i)=>{for(let o=0;o<t.length;o++){const a=KC[t[o]];if(a&&a(s,t))return}return e(s,...i)})},YC={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},l4=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const i=zr(s.key);if(t.some(o=>o===i||YC[o]===i))return e(s)})},XC=dt({patchProp:$C},EC);let Qp;function JC(){return Qp||(Qp=nC(XC))}const ZC=(...e)=>{const t=JC().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=eT(r);if(!s)return;const i=t._component;!ye(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const o=n(s,!1,QC(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t};function QC(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function eT(e){return rt(e)?document.querySelector(e):e}function u4(e){}function X_(e,t){t=Array.isArray(t)?t.slice(0,-1).map(n=>`'${n}'`).join(", ")+` or '${t.at(-1)}'`:`'${t}'`}const et=typeof window<"u",Df=et&&"IntersectionObserver"in window,tT=et&&("ontouchstart"in window||window.navigator.maxTouchPoints>0),J_=et&&"matchMedia"in window&&typeof window.matchMedia=="function",Lo=()=>J_&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;function em(e,t,n){nT(e,t),t.set(e,n)}function nT(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function tm(e,t,n){return e.set(Z_(e,t),n),n}function qn(e,t){return e.get(Z_(e,t))}function Z_(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 Q_(e,t,n){const r=t.length-1;if(r<0)return e===void 0?n:e;for(let s=0;s<r;s++){if(e==null)return n;e=e[t[s]]}return e==null||e[t[r]]===void 0?n:e[t[r]]}function ad(e,t,n){return e==null||!t||typeof t!="string"?n:e[t]!==void 0?e[t]:(t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,""),Q_(e,t.split("."),n))}function Fn(e,t,n){if(t===!0)return e===void 0?n:e;if(t==null||typeof t=="boolean")return n;if(e!==Object(e)){if(typeof t!="function")return n;const s=t(e,n);return typeof s>"u"?n:s}if(typeof t=="string")return ad(e,t,n);if(Array.isArray(t))return Q_(e,t,n);if(typeof t!="function")return n;const r=t(e,n);return typeof r>"u"?n:r}function eb(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:e},(n,r)=>t+r)}function ge(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 cd(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function nm(e){let t;return e!==null&&typeof e=="object"&&((t=Object.getPrototypeOf(e))===Object.prototype||t===null)}function Ff(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 d4=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 f4(e){return Object.keys(e)}function ru(e,t){return t.every(n=>e.hasOwnProperty(n))}function $f(e,t){const n={};for(const r of t)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function rm(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 As(e,t){const n={...e};return t.forEach(r=>delete n[r]),n}const tb=/^on[^a-z]/,nb=e=>tb.test(e),rT=["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"],sT=["ArrowUp","ArrowDown","ArrowRight","ArrowLeft","Enter","Escape","Tab"," "];function h4(e){return e.isComposing&&sT.includes(e.key)}function p4(e){const[t,n]=rm(e,[tb]),r=As(t,rT),[s,i]=rm(n,["class","style","id","inert",/^data-/]);return Object.assign(s,t),Object.assign(i,r),[s,i]}function Bf(e){return e==null?[]:Array.isArray(e)?e:[e]}function m4(e,t){let n=0;const r=function(){for(var s=arguments.length,i=new Array(s),o=0;o<s;o++)i[o]=arguments[o];clearTimeout(n),n=setTimeout(()=>e(...i),Ut(t))};return r.clear=()=>{clearTimeout(n)},r.immediate=e,r}function cr(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 sm(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 im(e,t){return(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,t-e.length))+e}function iT(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const n=[];let r=0;for(;r<e.length;)n.push(e.substr(r,t)),r+=t;return n}function g4(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e3;if(e<t)return`${e} B`;const n=t===1024?["Ki","Mi","Gi"]:["k","M","G"];let r=-1;for(;Math.abs(e)>=t&&r<n.length-1;)e/=t,++r;return`${e.toFixed(1)} ${n[r]}B`}function At(){let e=arguments.length>0&&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(nm(i)&&nm(o)){r[s]=At(i,o,n);continue}if(n&&Array.isArray(i)&&Array.isArray(o)){r[s]=n(i,o);continue}r[s]=o}return r}function rb(e){return e.map(t=>t.type===Qe?rb(t.children):t).flat()}function ms(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(ms.cache.has(e))return ms.cache.get(e);const t=e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return ms.cache.set(e,t),t}ms.cache=new Map;function Zs(e,t){if(!t||typeof t!="object")return[];if(Array.isArray(t))return t.map(n=>Zs(e,n)).flat(1);if(t.suspense)return Zs(e,t.ssContent);if(Array.isArray(t.children))return t.children.map(n=>Zs(e,n)).flat(1);if(t.component){if(Object.getOwnPropertyDescriptor(t.component.provides,e))return[t.component];if(t.component.subTree)return Zs(e,t.component.subTree).flat(1)}return[]}var $s=new WeakMap,ts=new WeakMap;class oT{constructor(t){em(this,$s,[]),em(this,ts,0),this.size=t}get isFull(){return qn($s,this).length===this.size}push(t){qn($s,this)[qn(ts,this)]=t,tm(ts,this,(qn(ts,this)+1)%this.size)}values(){return qn($s,this).slice(qn(ts,this)).concat(qn($s,this).slice(0,qn(ts,this)))}clear(){qn($s,this).length=0,tm(ts,this,0)}}function Hf(e){const t=pt({});hn(()=>{const r=e();for(const s in r)t[s]=r[s]},{flush:"sync"});const n={};for(const r in t)n[r]=ee(()=>t[r]);return n}function Rc(e,t){return e.includes(t)}function sb(e){return e[2].toLowerCase()+e.slice(3)}const yo=()=>[Function,Array];function om(e,t){return t="on"+Oi(t),!!(e[t]||e[`${t}Once`]||e[`${t}Capture`]||e[`${t}OnceCapture`]||e[`${t}CaptureOnce`])}function v4(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(Array.isArray(e))for(const s of e)s(...n);else typeof e=="function"&&e(...n)}function _o(e){let t=arguments.length>1&&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 aT(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<e.length&&s>=0);return r}function ib(e,t){var r,s,i,o;const n=_o(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=aT(n,t);a?a.focus():ib(e,t==="next"?"first":"last")}}function y4(e){return e==null||typeof e=="string"&&e.trim()===""}function _4(){}function cT(e,t){if(!(et&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${t})`)))return null;try{return!!e&&e.matches(t)}catch{return null}}function lT(e){return e.some(t=>mi(t)?t.type===bt?!1:t.type!==Qe||lT(t.children):!0)?e:null}function uT(e,t){if(!et||e===0)return t(),()=>{};const n=window.setTimeout(t,e);return()=>window.clearTimeout(n)}function b4(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 ld(){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:()=>Ff(e.value)}),t}function S4(e){const t=e.key.length===1,n=!e.ctrlKey&&!e.metaKey&&!e.altKey;return t&&n}function Ts(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="bigint"}function E4(e){return"\\^$*+?.()|{}[]".includes(e)?`\\${e}`:e}function w4(e){const t={};for(const n in e)t[zt(n)]=e[n];return t}function dT(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 ob=["top","bottom"],fT=["start","end","left","right"];function ud(e,t){let[n,r]=e.split(" ");return r||(r=Rc(ob,n)?"start":Rc(fT,n)?"top":"center"),{side:am(n,t),align:am(r,t)}}function am(e,t){return e==="start"?t?"right":"left":e==="end"?t?"left":"right":e}function su(e){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.side],align:e.align}}function iu(e){return{side:e.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.align]}}function cm(e){return{side:e.align,align:e.side}}function lm(e){return Rc(ob,e.side)?"y":"x"}class ln{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 um(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 ab(e){if(Array.isArray(e)){const t=document.body.currentCSSZoom??1,n=1+(1-t)/t;return new ln({x:e[0]*n,y:e[1]*n,width:0*n,height:0*n})}else return new ln(e)}function hT(e){if(e===document.documentElement)if(visualViewport){const t=document.body.currentCSSZoom??1;return new ln({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 ln({x:0,y:0,width:document.documentElement.clientWidth,height:document.documentElement.clientHeight});else return new ln(e)}function cb(e){const t=new ln(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 ln(t);const l=n.transformOrigin,d=t.x-a-(1-i)*parseFloat(l),u=t.y-c-(1-o)*parseFloat(l.slice(l.indexOf(" ")+1)),f=i?t.width/i:e.offsetWidth+1,h=o?t.height/o:e.offsetHeight+1;return new ln({x:d,y:u,width:f,height:h})}else return new ln(t)}function ss(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 Za=new WeakMap;function pT(e,t){Object.keys(t).forEach(n=>{if(nb(n)){const r=sb(n),s=Za.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]]),Za.has(e)||Za.set(e,i)}}else t[n]==null?e.removeAttribute(n):e.setAttribute(n,t[n])})}function mT(e,t){Object.keys(t).forEach(n=>{if(nb(n)){const r=sb(n),s=Za.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 Bs=2.4,dm=.2126729,fm=.7151522,hm=.072175,gT=.55,vT=.58,yT=.57,_T=.62,Ma=.03,pm=1.45,bT=5e-4,ST=1.25,ET=1.25,mm=.078,gm=12.82051282051282,Pa=.06,vm=.001;function ym(e,t){const n=(e.r/255)**Bs,r=(e.g/255)**Bs,s=(e.b/255)**Bs,i=(t.r/255)**Bs,o=(t.g/255)**Bs,a=(t.b/255)**Bs;let c=n*dm+r*fm+s*hm,l=i*dm+o*fm+a*hm;if(c<=Ma&&(c+=(Ma-c)**pm),l<=Ma&&(l+=(Ma-l)**pm),Math.abs(l-c)<bT)return 0;let d;if(l>c){const u=(l**gT-c**vT)*ST;d=u<vm?0:u<mm?u-u*gm*Pa:u-Pa}else{const u=(l**_T-c**yT)*ET;d=u>-vm?0:u>-mm?u-u*gm*Pa:u+Pa}return d*100}const Ac=.20689655172413793,wT=e=>e>Ac**3?Math.cbrt(e):e/(3*Ac**2)+4/29,CT=e=>e>Ac?e**3:3*Ac**2*(e-4/29);function lb(e){const t=wT,n=t(e[1]);return[116*n-16,500*(t(e[0]/.95047)-n),200*(n-t(e[2]/1.08883))]}function ub(e){const t=CT,n=(e[0]+16)/116;return[t(n+e[1]/500)*.95047,t(n),t(n-e[2]/200)*1.08883]}const TT=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],kT=e=>e<=.0031308?e*12.92:1.055*e**(1/2.4)-.055,IT=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],xT=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function db(e){const t=Array(3),n=kT,r=TT;for(let s=0;s<3;++s)t[s]=Math.round(cr(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 Vf(e){let{r:t,g:n,b:r}=e;const s=[0,0,0],i=xT,o=IT;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 dd(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}function RT(e){return dd(e)&&!/^((rgb|hsl)a?\()?var\(--/.test(e)}const _m=/^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/,AT={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)=>bm({h:e,s:t,l:n,a:r}),hsla:(e,t,n,r)=>bm({h:e,s:t,l:n,a:r}),hsv:(e,t,n,r)=>No({h:e,s:t,v:n,a:r}),hsva:(e,t,n,r)=>No({h:e,s:t,v:n,a:r})};function Bn(e){if(typeof e=="number")return{r:(e&16711680)>>16,g:(e&65280)>>8,b:e&255};if(typeof e=="string"&&_m.test(e)){const{groups:t}=e.match(_m),{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 AT[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),PT(t)}else if(typeof e=="object"){if(ru(e,["r","g","b"]))return e;if(ru(e,["h","s","l"]))return No(fb(e));if(ru(e,["h","s","v"]))return No(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 No(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 bm(e){return No(fb(e))}function fb(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 Oa(e){const t=Math.round(e).toString(16);return("00".substr(0,2-t.length)+t).toUpperCase()}function MT(e){let{r:t,g:n,b:r,a:s}=e;return`#${[Oa(t),Oa(n),Oa(r),s!==void 0?Oa(Math.round(s*255)):""].join("")}`}function PT(e){e=OT(e);let[t,n,r,s]=iT(e,2).map(i=>parseInt(i,16));return s=s===void 0?s:s/255,{r:t,g:n,b:r,a:s}}function OT(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=sm(sm(e,6),8,"F")),e}function LT(e,t){const n=lb(Vf(e));return n[0]=n[0]+t*10,db(ub(n))}function NT(e,t){const n=lb(Vf(e));return n[0]=n[0]-t*10,db(ub(n))}function DT(e){const t=Bn(e);return Vf(t)[1]}function hb(e){const t=Math.abs(ym(Bn(0),Bn(e)));return Math.abs(ym(Bn(16777215),Bn(e)))>Math.min(t,50)?"#fff":"#000"}function ue(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 ct=ue({class:[String,Array,Object],style:{type:[String,Array,Object],default:null}},"component");function mt(e,t){const n=Li();if(!n)throw new Error(`[Vuetify] ${e} must be called from inside a setup function`);return n}function Gr(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const t=mt(e).type;return ms((t==null?void 0:t.aliasName)||(t==null?void 0:t.name))}function FT(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:mt("injectSelf");const{provides:n}=t;if(n&&e in n)return n[e]}const vi=Symbol.for("vuetify:defaults");function $T(e){return we(e)}function Uf(){const e=Ne(vi);if(!e)throw new Error("[Vuetify] Could not find defaults instance");return e}function _l(e,t){const n=Uf(),r=we(e),s=j(()=>{if(Ut(t==null?void 0:t.disabled))return n.value;const o=Ut(t==null?void 0:t.scoped),a=Ut(t==null?void 0:t.reset),c=Ut(t==null?void 0:t.root);if(r.value==null&&!(o||a||c))return n.value;let l=At(r.value,{prev:n.value});if(o)return l;if(a||c){const d=Number(a||1/0);for(let u=0;u<=d&&!(!l||!("prev"in l));u++)l=l.prev;return l&&typeof c=="string"&&c in l&&(l=At(At(l,{prev:l}),l[c])),l}return l.prev?At(l.prev,l):l});return Mt(vi,s),s}function BT(e,t){return e.props&&(typeof e.props[t]<"u"||typeof e.props[ms(t)]<"u")}function HT(){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]:Uf();const r=mt("useDefaults");if(t=t??r.type.name??r.type.__name,!t)throw new Error("[Vuetify] Could not determine component name");const s=j(()=>{var c;return(c=n.value)==null?void 0:c[e._as??t]}),i=new Proxy(e,{get(c,l){var h,p,m,v;const d=Reflect.get(c,l);if(l==="class"||l==="style")return[(h=s.value)==null?void 0:h[l],d].filter(g=>g!=null);if(BT(r.vnode,l))return d;const u=(p=s.value)==null?void 0:p[l];if(u!==void 0)return u;const f=(v=(m=n.value)==null?void 0:m.global)==null?void 0:v[l];return f!==void 0?f:d}}),o=be();hn(()=>{if(s.value){const c=Object.entries(s.value).filter(l=>{let[d]=l;return d.startsWith(d[0].toUpperCase())});o.value=c.length?Object.fromEntries(c):void 0}else o.value=void 0});function a(){const c=FT(vi,r);Mt(vi,j(()=>o.value?At((c==null?void 0:c.value)??{},o.value):c==null?void 0:c.value))}return{props:i,provideSubDefaults:a}}function Ni(e){if(e._setup=e._setup??e.setup,!e.name)return e;if(e._setup){e.props=ue(e.props??{},e.name)();const t=Object.keys(e.props).filter(n=>n!=="class"&&n!=="style");e.filterProps=function(r){return $f(r,t)},e.props._as=String,e.setup=function(r,s){const i=Uf();if(!i.value)return e._setup(r,s);const{props:o,provideSubDefaults:a}=HT(r,r._as??e.name,i),c=e._setup(o,s);return a(),c}}return e}function $e(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return t=>(e?Ni:fl)(t)}function C4(e,t){return t.props=e,t}function Wf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",n=arguments.length>2?arguments[2]:void 0;return $e()({name:n??Oi(zt(e.replace(/__/g,"-"))),props:{tag:{type:String,default:t},...ct()},setup(r,s){let{slots:i}=s;return()=>{var o;return qr(r.tag,{class:[e,r.class],style:r.style},(o=i.default)==null?void 0:o.call(i))}}})}function VT(e,t,n,r){if(!n||Ts(e)||Ts(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 UT(e,t,n){var i,o;if(!n||Ts(e)||Ts(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 gs(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=UT(e,t,n);return s||(VT(e,t,n,!0),r.every(i=>gs(e[i],t[i],n)))}function pb(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 fd="cubic-bezier(0.4, 0, 0.2, 1)",Sm="cubic-bezier(0.0, 0, 0.2, 1)",Em="cubic-bezier(0.4, 0, 1, 1)",WT={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 jT(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;e;){if(t?zT(e):jf(e))return e;e=e.parentElement}return document.scrollingElement}function Mc(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 zT(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e);return["scroll","auto"].includes(t.overflowY)}function qT(e){for(;e;){if(window.getComputedStyle(e).position==="fixed")return!0;e=e.offsetParent}return!1}function tt(e){const t=mt("useRender");t.render=e}function GT(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,d=new Array(l),u=0;u<l;u++)d[u]=arguments[u];clearTimeout(r);const f=Date.now();o||(o=f);const h=f-Math.max(o,s);function p(){s=Date.now(),r=setTimeout(a,t),e(...d)}i?h>=t?p():n.trailing&&(r=setTimeout(p,t-h)):(i=!0,n.leading&&p())};return c.clear=a,c.immediate=e,c}const Et=[String,Function,Object,Array],hd=Symbol.for("vuetify:icons"),bl=ue({icon:{type:Et},tag:{type:[String,Object,Function],required:!0}},"icon"),wm=$e()({name:"VComponentIcon",props:bl(),setup(e,t){let{slots:n}=t;return()=>{const r=e.icon;return H(e.tag,null,{default:()=>{var s;return[e.icon?H(r,null,null):(s=n.default)==null?void 0:s.call(n)]}})}}}),mb=Ni({name:"VSvgIcon",inheritAttrs:!1,props:bl(),setup(e,t){let{attrs:n}=t;return()=>H(e.tag,Je(n,{style:null}),{default:()=>[ae("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)?ae("path",{d:r[0],"fill-opacity":r[1]},null):ae("path",{d:r},null)):ae("path",{d:e.icon},null)])]})}});Ni({name:"VLigatureIcon",props:bl(),setup(e){return()=>H(e.tag,null,{default:()=>[e.icon]})}});const gb=Ni({name:"VClassIcon",props:bl(),setup(e){return()=>H(e.tag,{class:Le(e.icon)},null)}}),KT=e=>{const t=Ne(hd);if(!t)throw new Error("Missing Vuetify Icons provide!");return{iconData:j(()=>{var c;const r=vt(e);if(!r)return{component:wm};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:mb,icon:s};if(typeof s!="string")return{component:wm,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}})}},YT={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",search:"mdi-magnify"},XT={component:e=>qr(gb,{...e,class:"mdi"})};function JT(){return{svg:{component:mb},class:{component:gb}}}function ZT(e){const t=JT(),n=(e==null?void 0:e.defaultSet)??"mdi";return n==="mdi"&&!t.mdi&&(t.mdi=XT),At({defaultSet:n,sets:t,aliases:{...YT,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 Di(e,t){let n;function r(){n=Es(),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}),Ct(()=>{n==null||n.stop()})}function Un(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:u=>u,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:u=>u;const i=mt("useProxiedModel"),o=we(e[t]!==void 0?e[t]:n),a=ms(t),l=j(a!==t?()=>{var u,f,h,p;return e[t],!!(((u=i.vnode.props)!=null&&u.hasOwnProperty(t)||(f=i.vnode.props)!=null&&f.hasOwnProperty(a))&&((h=i.vnode.props)!=null&&h.hasOwnProperty(`onUpdate:${t}`)||(p=i.vnode.props)!=null&&p.hasOwnProperty(`onUpdate:${a}`)))}:()=>{var u,f;return e[t],!!((u=i.vnode.props)!=null&&u.hasOwnProperty(t)&&((f=i.vnode.props)!=null&&f.hasOwnProperty(`onUpdate:${t}`)))});Di(()=>!l.value,()=>{Se(()=>e[t],u=>{o.value=u})});const d=j({get(){const u=e[t];return r(l.value?u:o.value)},set(u){const f=s(u),h=fe(l.value?e[t]:o.value);h===f||r(h)===u||(o.value=f,i==null||i.emit(`update:${t}`,f))}});return Object.defineProperty(d,"externalValue",{get:()=>l.value?e[t]:o.value}),d}const QT={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",notAllowed:"Value is not allowed"},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"},command:{search:"Type a command or search..."},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"}}},Cm="$vuetify.",Tm=(e,t)=>e.replace(/\{(\d+)\}/g,(n,r)=>String(t[Number(r)])),vb=(e,t,n)=>function(r){for(var s=arguments.length,i=new Array(s>1?s-1:0),o=1;o<s;o++)i[o-1]=arguments[o];if(!r.startsWith(Cm))return Tm(r,i);const a=r.replace(Cm,""),c=e.value&&n.value[e.value],l=t.value&&n.value[t.value];let d=ad(c,a,null);return d||(`${r}${e.value}`,d=ad(l,a,null)),d||(d=r),typeof d!="string"&&(d=r),Tm(d,i)};function zf(e,t){return(n,r)=>new Intl.NumberFormat([e.value,t.value],r).format(n)}function yb(e,t){return zf(e,t)(.1).includes(",")?",":"."}function ou(e,t,n){const r=Un(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 _b(e){return t=>{const n=ou(t,"locale",e.current),r=ou(t,"fallback",e.fallback),s=ou(t,"messages",e.messages);return{name:"vuetify",current:n,fallback:r,messages:s,decimalSeparator:ee(()=>yb(n,r)),t:vb(n,r,s),n:zf(n,r),provide:_b({current:n,fallback:r,messages:s})}}}function ek(e){const t=be((e==null?void 0:e.locale)??"en"),n=be((e==null?void 0:e.fallback)??"en"),r=we({en:QT,...e==null?void 0:e.messages});return{name:"vuetify",current:t,fallback:n,messages:r,decimalSeparator:ee(()=>(e==null?void 0:e.decimalSeparator)??yb(t,n)),t:vb(t,n,r),n:zf(t,n),provide:_b({current:t,fallback:n,messages:r})}}const Pc=Symbol.for("vuetify:locale");function tk(e){return e.name!=null}function nk(e){const t=e!=null&&e.adapter&&tk(e==null?void 0:e.adapter)?e==null?void 0:e.adapter:ek(e),n=ik(t,e);return{...t,...n}}function rk(){const e=Ne(Pc);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");return e}function sk(){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 ik(e,t){const n=we((t==null?void 0:t.rtl)??sk()),r=j(()=>n.value[e.current.value]??!1);return{isRtl:r,rtl:n,rtlClasses:ee(()=>`v-locale--is-${r.value?"rtl":"ltr"}`)}}function sa(){const e=Ne(Pc);if(!e)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:e.isRtl,rtlClasses:e.rtlClasses}}function ia(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 ok(e,t,n){var d;const r=[];let s=[];const i=bb(e),o=Sb(e),a=n??((d=ia(t))==null?void 0:d.firstDay)??0,c=(i.getDay()-a+7)%7,l=(o.getDay()-a+7)%7;for(let u=0;u<c;u++){const f=new Date(i);f.setDate(f.getDate()-(c-u)),s.push(f)}for(let u=1;u<=o.getDate();u++){const f=new Date(e.getFullYear(),e.getMonth(),u);s.push(f),s.length===7&&(r.push(s),s=[])}for(let u=1;u<7-l;u++){const f=new Date(o);f.setDate(f.getDate()+u),s.push(f)}return s.length>0&&r.push(s),r}function bo(e,t,n){var i;let r=(n??((i=ia(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 ak(e,t){var s;const n=new Date(e),r=((((s=ia(t))==null?void 0:s.firstDay)??0)+6)%7;for(;n.getDay()!==r;)n.setDate(n.getDate()+1);return n}function bb(e){return new Date(e.getFullYear(),e.getMonth(),1)}function Sb(e){return new Date(e.getFullYear(),e.getMonth()+1,0)}function ck(e){const t=e.split("-").map(Number);return new Date(t[0],t[1]-1,t[2])}const lk=/^([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))$/;function Eb(e){if(e==null)return new Date;if(e instanceof Date)return e;if(typeof e=="string"){let t;if(lk.test(e))return ck(e);if(t=Date.parse(e),!isNaN(t))return new Date(t)}return null}const km=new Date(2e3,0,2);function uk(e,t,n){var s;const r=t??((s=ia(e))==null?void 0:s.firstDay)??0;return eb(7).map(i=>{const o=new Date(km);return o.setDate(km.getDate()+r+i),new Intl.DateTimeFormat(e,{weekday:n??"narrow"}).format(o)})}function dk(e,t,n,r){const s=Eb(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 fk(e,t){const n=e.toJsDate(t),r=n.getFullYear(),s=im(String(n.getMonth()+1),2,"0"),i=im(String(n.getDate()),2,"0");return`${r}-${s}-${i}`}function hk(e){const[t,n,r]=e.split("-").map(Number);return new Date(t,n-1,r)}function pk(e,t){const n=new Date(e);return n.setMinutes(n.getMinutes()+t),n}function mk(e,t){const n=new Date(e);return n.setHours(n.getHours()+t),n}function vs(e,t){const n=new Date(e);return n.setDate(n.getDate()+t),n}function gk(e,t){const n=new Date(e);return n.setDate(n.getDate()+t*7),n}function vk(e,t){const n=new Date(e);return n.setDate(1),n.setMonth(n.getMonth()+t),n}function Do(e){return e.getFullYear()}function yk(e){return e.getMonth()}function _k(e,t,n,r){const s=ia(t),i=n??(s==null?void 0:s.firstDay)??0,o=(s==null?void 0:s.firstWeekSize)??1;return r!==void 0?bk(e,t,i,r):Sk(e,t,i,o)}function bk(e,t,n,r){const s=(7+r-n)%7,i=bo(e,t,n),o=vs(i,6);function a(f){return(7+new Date(f,0,1).getDay()-n)%7}let c=Do(i);c<Do(o)&&a(c+1)<=s&&c++;const l=new Date(c,0,1),d=a(c),u=d<=s?vs(l,-d):vs(l,7-d);return 1+Lc(qf(i),Fo(u),"weeks")}function Sk(e,t,n,r){const s=bo(e,t,n),i=vs(bo(e,t,n),6);function o(u){const f=new Date(u,0,1);return 7-Lc(f,bo(f,t,n),"days")}let a=Do(s);a<Do(i)&&o(a+1)>=r&&a++;const c=new Date(a,0,1),l=o(a),d=l>=r?vs(c,l-7):vs(c,l);return 1+Lc(qf(s),Fo(d),"weeks")}function Ek(e){return e.getDate()}function wk(e){return new Date(e.getFullYear(),e.getMonth()+1,1)}function Ck(e){return new Date(e.getFullYear(),e.getMonth()-1,1)}function Tk(e){return e.getHours()}function kk(e){return e.getMinutes()}function Ik(e){return new Date(e.getFullYear(),0,1)}function xk(e){return new Date(e.getFullYear(),11,31)}function Rk(e,t){return Oc(e,t[0])&&Pk(e,t[1])}function Ak(e){const t=new Date(e);return t instanceof Date&&!isNaN(t.getTime())}function Oc(e,t){return e.getTime()>t.getTime()}function Mk(e,t){return Oc(Fo(e),Fo(t))}function Pk(e,t){return e.getTime()<t.getTime()}function Im(e,t){return e.getTime()===t.getTime()}function Ok(e,t){return e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function Lk(e,t){return e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function Nk(e,t){return e.getFullYear()===t.getFullYear()}function Lc(e,t,n){const r=new Date(e),s=new Date(t);switch(n){case"years":return r.getFullYear()-s.getFullYear();case"quarters":return Math.floor((r.getMonth()-s.getMonth()+(r.getFullYear()-s.getFullYear())*12)/4);case"months":return r.getMonth()-s.getMonth()+(r.getFullYear()-s.getFullYear())*12;case"weeks":return Math.floor((r.getTime()-s.getTime())/(1e3*60*60*24*7));case"days":return Math.floor((r.getTime()-s.getTime())/(1e3*60*60*24));case"hours":return Math.floor((r.getTime()-s.getTime())/(1e3*60*60));case"minutes":return Math.floor((r.getTime()-s.getTime())/(1e3*60));case"seconds":return Math.floor((r.getTime()-s.getTime())/1e3);default:return r.getTime()-s.getTime()}}function Dk(e,t){const n=new Date(e);return n.setHours(t),n}function Fk(e,t){const n=new Date(e);return n.setMinutes(t),n}function $k(e,t){const n=new Date(e);return n.setMonth(t),n}function Bk(e,t){const n=new Date(e);return n.setDate(t),n}function Hk(e,t){const n=new Date(e);return n.setFullYear(t),n}function Fo(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0,0)}function qf(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),23,59,59,999)}class Vk{constructor(t){this.locale=t.locale,this.formats=t.formats}date(t){return Eb(t)}toJsDate(t){return t}toISO(t){return fk(this,t)}parseISO(t){return hk(t)}addMinutes(t,n){return pk(t,n)}addHours(t,n){return mk(t,n)}addDays(t,n){return vs(t,n)}addWeeks(t,n){return gk(t,n)}addMonths(t,n){return vk(t,n)}getWeekArray(t,n){const r=n!==void 0?Number(n):void 0;return ok(t,this.locale,r)}startOfWeek(t,n){const r=n!==void 0?Number(n):void 0;return bo(t,this.locale,r)}endOfWeek(t){return ak(t,this.locale)}startOfMonth(t){return bb(t)}endOfMonth(t){return Sb(t)}format(t,n){return dk(t,n,this.locale,this.formats)}isEqual(t,n){return Im(t,n)}isValid(t){return Ak(t)}isWithinRange(t,n){return Rk(t,n)}isAfter(t,n){return Oc(t,n)}isAfterDay(t,n){return Mk(t,n)}isBefore(t,n){return!Oc(t,n)&&!Im(t,n)}isSameDay(t,n){return Ok(t,n)}isSameMonth(t,n){return Lk(t,n)}isSameYear(t,n){return Nk(t,n)}setMinutes(t,n){return Fk(t,n)}setHours(t,n){return Dk(t,n)}setMonth(t,n){return $k(t,n)}setDate(t,n){return Bk(t,n)}setYear(t,n){return Hk(t,n)}getDiff(t,n,r){return Lc(t,n,r)}getWeekdays(t,n){const r=t!==void 0?Number(t):void 0;return uk(this.locale,r,n)}getYear(t){return Do(t)}getMonth(t){return yk(t)}getWeek(t,n,r){const s=n!==void 0?Number(n):void 0,i=r!==void 0?Number(r):void 0;return _k(t,this.locale,s,i)}getDate(t){return Ek(t)}getNextMonth(t){return wk(t)}getPreviousMonth(t){return Ck(t)}getHours(t){return Tk(t)}getMinutes(t){return kk(t)}startOfDay(t){return Fo(t)}endOfDay(t){return qf(t)}startOfYear(t){return Ik(t)}endOfYear(t){return xk(t)}}const wb=Symbol.for("vuetify:date-options"),xm=Symbol.for("vuetify:date-adapter");function Uk(e,t){const n=At({adapter:Vk,locale:{af:"af-ZA",bg:"bg-BG",ca:"ca-ES",ckb:"",cs:"cs-CZ",de:"de-DE",el:"el-GR",en:"en-US",et:"et-EE",fa:"fa-IR",fi:"fi-FI",hr:"hr-HR",hu:"hu-HU",he:"he-IL",id:"id-ID",it:"it-IT",ja:"ja-JP",ko:"ko-KR",lv:"lv-LV",lt:"lt-LT",nl:"nl-NL",no:"no-NO",pl:"pl-PL",pt:"pt-PT",ro:"ro-RO",ru:"ru-RU",sk:"sk-SK",sl:"sl-SI",srCyrl:"sr-SP",srLatn:"sr-SP",sv:"sv-SE",th:"th-TH",tr:"tr-TR",az:"az-AZ",uk:"uk-UA",vi:"vi-VN",zhHans:"zh-CN",zhHant:"zh-TW"}},e);return{options:n,instance:Cb(n,t)}}function T4(e,t,n){const r=Wk(e,t,n),s=[t];for(let i=1;i<r;i++){const o=e.addDays(t,i);s.push(o)}return n&&s.push(e.endOfDay(n)),s}function Wk(e,t,n){const r=[`${e.toISO(n??t).split("T")[0]}T00:00:00Z`,`${e.toISO(t).split("T")[0]}T00:00:00Z`];return typeof e.date()=="string"?e.getDiff(r[0],r[1],"days"):e.getDiff(e.date(r[0]),e.date(r[1]),"days")}function Cb(e,t){const n=pt(typeof e.adapter=="function"?new e.adapter({locale:e.locale[t.current.value]??t.current.value,formats:e.formats}):e.adapter);return Se(t.current,r=>{n.locale=e.locale[r]??r??n.locale}),n}function k4(){const e=Ne(wb);if(!e)throw new Error("[Vuetify] Could not find injected date options");const t=rk();return Cb(e,t)}const I4=["sm","md","lg","xl","xxl"],pd=Symbol.for("vuetify:display"),Rm={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},jk=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Rm;return At(Rm,e)};function Am(e){return et&&!e?window.innerWidth:typeof e=="object"&&e.clientWidth||0}function Mm(e){return et&&!e?window.innerHeight:typeof e=="object"&&e.clientHeight||0}function Pm(e){const t=et&&!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),d=n(/opera/i),u=n(/win/i),f=n(/mac/i),h=n(/linux/i);return{android:r,ios:s,cordova:i,electron:o,chrome:a,edge:c,firefox:l,opera:d,win:u,mac:f,linux:h,touch:tT,ssr:t==="ssr"}}function zk(e,t){const{thresholds:n,mobileBreakpoint:r}=jk(e),s=be(Mm(t)),i=be(Pm(t)),o=pt({}),a=be(Am(t));function c(){s.value=Mm(),a.value=Am()}function l(){c(),i.value=Pm()}return hn(()=>{const d=a.value<n.sm,u=a.value<n.md&&!d,f=a.value<n.lg&&!(u||d),h=a.value<n.xl&&!(f||u||d),p=a.value<n.xxl&&!(h||f||u||d),m=a.value>=n.xxl,v=d?"xs":u?"sm":f?"md":h?"lg":p?"xl":"xxl",g=typeof r=="number"?r:n[r],y=a.value<g;o.xs=d,o.sm=u,o.md=f,o.lg=h,o.xl=p,o.xxl=m,o.smAndUp=!d,o.mdAndUp=!(d||u),o.lgAndUp=!(d||u||f),o.xlAndUp=!(d||u||f||h),o.smAndDown=!(f||h||p||m),o.mdAndDown=!(h||p||m),o.lgAndDown=!(p||m),o.xlAndDown=!m,o.name=v,o.height=s.value,o.width=a.value,o.mobile=y,o.mobileBreakpoint=r,o.platform=i.value,o.thresholds=n}),et&&(window.addEventListener("resize",c,{passive:!0}),Ct(()=>{window.removeEventListener("resize",c)},!0)),{...Tf(o),update:l,ssr:!!t}}const x4=ue({mobile:{type:Boolean,default:!1},mobileBreakpoint:[Number,String]},"display");function qk(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{mobile:null},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Gr();const n=Ne(pd);if(!n)throw new Error("Could not find Vuetify display injection");const r=j(()=>e.mobile?!0:typeof e.mobileBreakpoint=="number"?n.width.value<e.mobileBreakpoint:e.mobileBreakpoint?n.width.value<n.thresholds.value[e.mobileBreakpoint]:e.mobile===null?n.mobile.value:!1);return{...n,displayClasses:ee(()=>t?{[`${t}--mobile`]:r.value}:{}),mobile:r}}const Tb=Symbol.for("vuetify:goto");function kb(){return{container:void 0,duration:300,layout:!1,offset:0,easing:"easeInOutCubic",patterns:WT}}function Gk(e){return Gf(e)??(document.scrollingElement||document.body)}function Gf(e){return typeof e=="string"?document.querySelector(e):Ff(e)}function au(e,t,n){if(typeof e=="number")return t&&n?-e:e;let r=Gf(e),s=0;for(;r;)s+=t?r.offsetLeft:r.offsetTop,r=r.offsetParent;return s}function Kk(e,t){return{rtl:t.isRtl,options:At(kb(),e)}}async function Om(e,t,n,r){const s=n?"scrollLeft":"scrollTop",i=At((r==null?void 0:r.options)??kb(),t),o=r==null?void 0:r.rtl.value,a=(typeof e=="number"?e:Gf(e))??0,c=i.container==="parent"&&a instanceof HTMLElement?a.parentElement:Gk(i.container),l=Lo()?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 d;if(typeof a=="number")d=au(a,n,o);else if(d=au(a,n,o)-au(c,n,o),i.layout){const p=window.getComputedStyle(a).getPropertyValue("--v-layout-top");p&&(d-=parseInt(p,10))}d+=i.offset,d=Yk(c,d,!!o,!!n);const u=c[s]??0;if(d===u)return Promise.resolve(d);const f=performance.now();return new Promise(h=>requestAnimationFrame(function p(m){const g=(m-f)/i.duration,y=Math.floor(u+(d-u)*l(cr(g,0,1)));if(c[s]=y,g>=1&&Math.abs(y-c[s])<10)return h(d);if(g>2)return h(c[s]);requestAnimationFrame(p)}))}function R4(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t=Ne(Tb),{isRtl:n}=sa();if(!t)throw new Error("[Vuetify] Could not find injected goto instance");const r={...t,rtl:ee(()=>t.rtl.value||n.value)};async function s(i,o){return Om(i,At(e,o),!1,r)}return s.horizontal=async(i,o)=>Om(i,At(e,o),!0,r),s}function Yk(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),cr(t,c,l)}const $o=Symbol.for("vuetify:theme"),nn=ue({theme:String},"theme");function Lm(){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 Xk(){var r,s;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Lm();const t=Lm();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]=At(a,o)}return At(t,{...e,themes:n})}function ns(e,t,n,r){e.push(`${eI(t,r)} {
|
||
`,...n.map(s=>` ${s};
|
||
`),`}
|
||
`)}function Nm(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=Bn(o);s.push(`--${t}theme-${i}: ${a.r},${a.g},${a.b}`),i.startsWith("on-")||s.push(`--${t}theme-${i}-overlay-multiplier: ${DT(o)>.18?n:r}`)}for(const[i,o]of Object.entries(e.variables)){const a=typeof o=="string"&&o.startsWith("#")?Bn(o):void 0,c=a?`${a.r}, ${a.g}, ${a.b}`:void 0;s.push(`--${t}${i}: ${c??o}`)}return s}function Jk(e,t,n){const r={};if(n)for(const s of["lighten","darken"]){const i=s==="lighten"?LT:NT;for(const o of eb(n[s],1))r[`${e}-${s}-${o}`]=MT(i(Bn(t),o))}return r}function Zk(e,t){if(!t)return{};let n={};for(const r of t.colors){const s=e[r];s&&(n={...n,...Jk(r,s,t)})}return n}function Qk(e){const t={};for(const n of Object.keys(e)){if(n.startsWith("on-")||e[`on-${n}`])continue;const r=`on-${n}`,s=Bn(e[n]);t[r]=hb(s)}return t}function eI(e,t){if(!t)return e;const n=`:where(${t})`;return e===":root"?n:`${n} ${e}`}function tI(e,t,n){const r=nI(e,t);r&&(r.innerHTML=n)}function nI(e,t){if(!et)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 rI(e){const t=Xk(e),n=be(t.defaultTheme),r=we(t.themes),s=be("light"),i=j({get(){return n.value==="system"?s.value:n.value},set(g){n.value=g}}),o=j(()=>{const g={};for(const[y,C]of Object.entries(r.value)){const w={...C.colors,...Zk(C.colors,t.variations)};g[y]={...C,colors:{...w,...Qk(w)}}}return g}),a=ee(()=>o.value[i.value]),c=ee(()=>n.value==="system"),l=j(()=>{var I;const g=[],y=t.unimportant?"":" !important",C=t.scoped?t.prefix:"";(I=a.value)!=null&&I.dark&&ns(g,":root",["color-scheme: dark"],t.scope),ns(g,":root",Nm(a.value,t.prefix),t.scope);for(const[x,S]of Object.entries(o.value))ns(g,`.${t.prefix}theme--${x}`,[`color-scheme: ${S.dark?"dark":"normal"}`,...Nm(S,t.prefix)],t.scope);if(t.utilities){const x=[],S=[],b=new Set(Object.values(o.value).flatMap(k=>Object.keys(k.colors)));for(const k of b)k.startsWith("on-")?ns(S,`.${k}`,[`color: rgb(var(--${t.prefix}theme-${k}))${y}`],t.scope):(ns(x,`.${C}bg-${k}`,[`--${t.prefix}theme-overlay-multiplier: var(--${t.prefix}theme-${k}-overlay-multiplier)`,`background-color: rgb(var(--${t.prefix}theme-${k}))${y}`,`color: rgb(var(--${t.prefix}theme-on-${k}))${y}`],t.scope),ns(S,`.${C}text-${k}`,[`color: rgb(var(--${t.prefix}theme-${k}))${y}`],t.scope),ns(S,`.${C}border-${k}`,[`--${t.prefix}border-color: var(--${t.prefix}theme-${k})`],t.scope));t.layers?g.push(`@layer background {
|
||
`,...x.map(k=>` ${k}`),`}
|
||
`,`@layer foreground {
|
||
`,...S.map(k=>` ${k}`),`}
|
||
`):g.push(...x,...S)}let w=g.map((x,S)=>S===0?x:` ${x}`).join("");return t.layers&&(w=`@layer vuetify.theme {
|
||
`+g.map(x=>` ${x}`).join("")+`
|
||
}`),w}),d=ee(()=>t.isDisabled?void 0:`${t.prefix}theme--${i.value}`),u=ee(()=>Object.keys(o.value));if(J_){let y=function(){s.value=g.matches?"dark":"light"};const g=window.matchMedia("(prefers-color-scheme: dark)");y(),g.addEventListener("change",y,{passive:!0}),vf()&&Ct(()=>{g.removeEventListener("change",y)})}function f(g){if(t.isDisabled)return;const y=g._context.provides.usehead;if(y){let C=function(){return{style:[{textContent:l.value,id:t.stylesheetId,nonce:t.cspNonce||!1}]}};if(y.push){const w=y.push(C);et&&Se(l,()=>{w.patch(C)})}else et?(y.addHeadObjs(ee(C)),hn(()=>y.updateDOM())):y.addHeadObjs(C())}else{let C=function(){tI(t.stylesheetId,t.cspNonce,l.value)};et?Se(l,C,{immediate:!0}):C()}}function h(g){g!=="system"&&!u.value.includes(g)||(i.value=g)}function p(){let g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:u.value;const y=g.indexOf(i.value),C=y===-1?0:(y+1)%g.length;h(g[C])}function m(){let g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["light","dark"];p(g)}const v=new Proxy(i,{get(g,y){return Reflect.get(g,y)},set(g,y,C){return y==="value"&&X_(`theme.global.name.value = ${C}`,`theme.change('${C}')`),Reflect.set(g,y,C)}});return{install:f,change:h,cycle:p,toggle:m,isDisabled:t.isDisabled,isSystem:c,name:i,themes:r,current:a,computedThemes:o,prefix:t.prefix,themeClasses:d,styles:l,global:{name:v,current:a}}}function mn(e){mt("provideTheme");const t=Ne($o,null);if(!t)throw new Error("Could not find Vuetify theme injection");const n=ee(()=>e.theme??t.name.value),i={...t,name:n,current:ee(()=>t.themes.value[n.value]),themeClasses:ee(()=>t.isDisabled?void 0:`${t.prefix}theme--${n.value}`)};return Mt($o,i),i}function Ib(){mt("useTheme");const e=Ne($o,null);if(!e)throw new Error("Could not find Vuetify theme injection");return e}function Kf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const n=ld(),r=we();if(et){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())});kn(()=>{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:hi(r)}}const Bo=Symbol.for("vuetify:layout"),xb=Symbol.for("vuetify:layout-item"),Dm=1e3,sI=ue({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),A4=ue({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function iI(){const e=Ne(Bo);if(!e)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:e.getLayoutItem,mainRect:e.mainRect,mainStyles:e.mainStyles}}function M4(e){const t=Ne(Bo);if(!t)throw new Error("[Vuetify] Could not find injected layout");const n=e.id??`layout-item-${hl()}`,r=mt("useLayoutItem");Mt(xb,{id:n});const s=be(!1);f_(()=>s.value=!0),d_(()=>s.value=!1);const{layoutItemStyles:i,layoutItemScrimStyles:o}=t.register(r,{...e,active:j(()=>s.value?!1:e.active.value),id:n});return kn(()=>t.unregister(n)),{layoutItemStyles:i,layoutRect:t.layoutRect,layoutItemScrimStyles:o}}const oI=(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 d={...s,[a.value]:parseInt(s[a.value],10)+(l.value?parseInt(c.value,10):0)};i.push({id:o,layer:d}),s=d}return i};function aI(e){const t=Ne(Bo,null),n=j(()=>t?t.rootZIndex.value-100:Dm),r=we([]),s=pt(new Map),i=pt(new Map),o=pt(new Map),a=pt(new Map),c=pt(new Map),{resizeRef:l,contentRect:d}=Kf(),u=j(()=>{const x=new Map,S=e.overlaps??[];for(const b of S.filter(k=>k.includes(":"))){const[k,R]=b.split(":");if(!r.value.includes(k)||!r.value.includes(R))continue;const M=s.get(k),T=s.get(R),O=i.get(k),$=i.get(R);!M||!T||!O||!$||(x.set(R,{position:M.value,amount:parseInt(O.value,10)}),x.set(k,{position:T.value,amount:-parseInt($.value,10)}))}return x}),f=j(()=>{const x=[...new Set([...o.values()].map(b=>b.value))].sort((b,k)=>b-k),S=[];for(const b of x){const k=r.value.filter(R=>{var M;return((M=o.get(R))==null?void 0:M.value)===b});S.push(...k)}return oI(S,s,i,a)}),h=j(()=>!Array.from(c.values()).some(x=>x.value)),p=j(()=>f.value[f.value.length-1].layer),m=ee(()=>({"--v-layout-left":ge(p.value.left),"--v-layout-right":ge(p.value.right),"--v-layout-top":ge(p.value.top),"--v-layout-bottom":ge(p.value.bottom),...h.value?void 0:{transition:"none"}})),v=j(()=>f.value.slice(1).map((x,S)=>{let{id:b}=x;const{layer:k}=f.value[S],R=i.get(b),M=s.get(b);return{id:b,...k,size:Number(R.value),position:M.value}})),g=x=>v.value.find(S=>S.id===x),y=mt("createLayout"),C=be(!1);return gr(()=>{C.value=!0}),Mt(Bo,{register:(x,S)=>{let{id:b,order:k,position:R,layoutSize:M,elementSize:T,active:O,disableTransitions:$,absolute:K}=S;o.set(b,k),s.set(b,R),i.set(b,M),a.set(b,O),$&&c.set(b,$);const z=Zs(xb,y==null?void 0:y.vnode).indexOf(x);z>-1?r.value.splice(z,0,b):r.value.push(b);const N=j(()=>v.value.findIndex(re=>re.id===b)),oe=j(()=>n.value+f.value.length*2-N.value*2),U=j(()=>{const re=R.value==="left"||R.value==="right",ie=R.value==="right",Ee=R.value==="bottom",Me=T.value??M.value,De=Me===0?"%":"px",P={[R.value]:0,zIndex:oe.value,transform:`translate${re?"X":"Y"}(${(O.value?0:-(Me===0?100:Me))*(ie||Ee?-1:1)}${De})`,position:K.value||n.value!==Dm?"absolute":"fixed",...h.value?void 0:{transition:"none"}};if(!C.value)return P;const W=v.value[N.value],X=u.value.get(b);return X&&(W[X.position]+=X.amount),{...P,height:re?`calc(100% - ${W.top}px - ${W.bottom}px)`:T.value?`${T.value}px`:void 0,left:ie?void 0:`${W.left}px`,right:ie?`${W.right}px`:void 0,top:R.value!=="bottom"?`${W.top}px`:void 0,bottom:R.value!=="top"?`${W.bottom}px`:void 0,width:re?T.value?`${T.value}px`:void 0:`calc(100% - ${W.left}px - ${W.right}px)`}}),J=j(()=>({zIndex:oe.value-1}));return{layoutItemStyles:U,layoutItemScrimStyles:J,zIndex:oe}},unregister:x=>{o.delete(x),s.delete(x),i.delete(x),a.delete(x),c.delete(x),r.value=r.value.filter(S=>S!==x)},mainRect:p,mainStyles:m,getLayoutItem:g,items:v,layoutRect:d,rootZIndex:n}),{layoutClasses:ee(()=>["v-layout",{"v-layout--full-height":e.fullHeight}]),layoutStyles:ee(()=>({zIndex:t?n.value:void 0,position:t?"relative":void 0,overflow:t?"hidden":void 0})),getLayoutItem:g,items:v,layoutRect:d,layoutRef:l}}function Rb(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:t,...n}=e,r=At(t,n),{aliases:s={},components:i={},directives:o={}}=r,a=Es();return a.run(()=>{const c=$T(r.defaults),l=zk(r.display,r.ssr),d=rI(r.theme),u=ZT(r.icons),f=nk(r.locale),h=Uk(r.date,f),p=Kk(r.goTo,f);function m(g){for(const C in o)g.directive(C,o[C]);for(const C in i)g.component(C,i[C]);for(const C in s)g.component(C,Ni({...s[C],name:C,aliasName:s[C].name}));const y=Es();if(y.run(()=>{d.install(g)}),g.onUnmount(()=>y.stop()),g.provide(vi,c),g.provide(pd,l),g.provide($o,d),g.provide(hd,u),g.provide(Pc,f),g.provide(wb,h.options),g.provide(xm,h.instance),g.provide(Tb,p),et&&r.ssr)if(g.$nuxt)g.$nuxt.hook("app:suspense:resolve",()=>{l.update()});else{const{mount:C}=g;g.mount=function(){const w=C(...arguments);return yt(()=>l.update()),g.mount=C,w}}g.mixin({computed:{$vuetify(){return pt({defaults:Hs.call(this,vi),display:Hs.call(this,pd),theme:Hs.call(this,$o),icons:Hs.call(this,hd),locale:Hs.call(this,Pc),date:Hs.call(this,xm)})}}})}function v(){a.stop()}return{install:m,unmount:v,defaults:c,display:l,theme:d,icons:u,locale:f,date:h,goTo:p}})}const cI="3.12.1";Rb.version=cI;function Hs(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 lI=Rb({theme:{defaultTheme:"dark"}});/*!
|
||
* pinia v3.0.4
|
||
* (c) 2025 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/let Ab;const Sl=e=>Ab=e,Mb=Symbol();function md(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var So;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(So||(So={}));function Pb(){const e=Es(!0),t=e.run(()=>we({}));let n=[],r=[];const s=Cf({install(i){Sl(s),s._a=i,i.provide(Mb,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 Ob=()=>{};function Fm(e,t,n,r=Ob){e.add(t);const s=()=>{e.delete(t)&&r()};return!n&&vf()&&Ct(s),s}function Vs(e,...t){e.forEach(n=>{n(...t)})}const uI=e=>e(),$m=Symbol(),cu=Symbol();function gd(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];md(s)&&md(r)&&e.hasOwnProperty(n)&&!Ze(r)&&!er(r)?e[n]=gd(s,r):e[n]=r}return e}const dI=Symbol();function fI(e){return!md(e)||!Object.prototype.hasOwnProperty.call(e,dI)}const{assign:Tr}=Object;function hI(e){return!!(Ze(e)&&e.effect)}function pI(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 d=Tf(n.state.value[e]);return Tr(d,i,Object.keys(o||{}).reduce((u,f)=>(u[f]=Cf(j(()=>{Sl(n);const h=n._s.get(e);return o[f].call(h,h)})),u),{}))}return c=Lb(e,l,t,n,r,!0),c}function Lb(e,t,n={},r,s,i){let o;const a=Tr({actions:{}},n),c={deep:!0};let l,d,u=new Set,f=new Set,h;const p=r.state.value[e];!i&&!p&&(r.state.value[e]={});let m;function v(b){let k;l=d=!1,typeof b=="function"?(b(r.state.value[e]),k={type:So.patchFunction,storeId:e,events:h}):(gd(r.state.value[e],b),k={type:So.patchObject,payload:b,storeId:e,events:h});const R=m=Symbol();yt().then(()=>{m===R&&(l=!0)}),d=!0,Vs(u,k,r.state.value[e])}const g=i?function(){const{state:k}=n,R=k?k():{};this.$patch(M=>{Tr(M,R)})}:Ob;function y(){o.stop(),u.clear(),f.clear(),r._s.delete(e)}const C=(b,k="")=>{if($m in b)return b[cu]=k,b;const R=function(){Sl(r);const M=Array.from(arguments),T=new Set,O=new Set;function $(z){T.add(z)}function K(z){O.add(z)}Vs(f,{args:M,name:R[cu],store:I,after:$,onError:K});let Z;try{Z=b.apply(this&&this.$id===e?this:I,M)}catch(z){throw Vs(O,z),z}return Z instanceof Promise?Z.then(z=>(Vs(T,z),z)).catch(z=>(Vs(O,z),Promise.reject(z))):(Vs(T,Z),Z)};return R[$m]=!0,R[cu]=k,R},w={_p:r,$id:e,$onAction:Fm.bind(null,f),$patch:v,$reset:g,$subscribe(b,k={}){const R=Fm(u,b,k.detached,()=>M()),M=o.run(()=>Se(()=>r.state.value[e],T=>{(k.flush==="sync"?d:l)&&b({storeId:e,type:So.direct,events:h},T)},Tr({},c,k)));return R},$dispose:y},I=pt(w);r._s.set(e,I);const S=(r._a&&r._a.runWithContext||uI)(()=>r._e.run(()=>(o=Es()).run(()=>t({action:C}))));for(const b in S){const k=S[b];if(Ze(k)&&!hI(k)||er(k))i||(p&&fI(k)&&(Ze(k)?k.value=p[b]:gd(k,p[b])),r.state.value[e][b]=k);else if(typeof k=="function"){const R=C(k,b);S[b]=R,a.actions[b]=k}}return Tr(I,S),Tr(fe(I),S),Object.defineProperty(I,"$state",{get:()=>r.state.value[e],set:b=>{v(k=>{Tr(k,b)})}}),r._p.forEach(b=>{Tr(I,o.run(()=>b({store:I,app:r._a,pinia:r,options:a})))}),p&&i&&n.hydrate&&n.hydrate(I.$state,p),l=!0,d=!0,I}/*! #__NO_SIDE_EFFECTS__ */function P4(e,t,n){let r;const s=typeof t=="function";r=s?n:t;function i(o,a){const c=_1();return o=o||(c?Ne(Mb,null):null),o&&Sl(o),o=Ab,o._s.has(e)||(s?Lb(e,t,r,o):pI(e,r,o)),o._s.get(e)}return i.$id=e,i}function O4(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 L4(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 mI=Pb();/*!
|
||
* vue-router v4.6.4
|
||
* (c) 2025 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/const Ks=typeof document<"u";function Nb(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function gI(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Nb(e.default)}const Be=Object.assign;function lu(e,t){const n={};for(const r in t){const s=t[r];n[r]=Tn(s)?s.map(e):e(s)}return n}const Eo=()=>{},Tn=Array.isArray;function Bm(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const Db=/#/g,vI=/&/g,yI=/\//g,_I=/=/g,bI=/\?/g,Fb=/\+/g,SI=/%5B/g,EI=/%5D/g,$b=/%5E/g,wI=/%60/g,Bb=/%7B/g,CI=/%7C/g,Hb=/%7D/g,TI=/%20/g;function Yf(e){return e==null?"":encodeURI(""+e).replace(CI,"|").replace(SI,"[").replace(EI,"]")}function kI(e){return Yf(e).replace(Bb,"{").replace(Hb,"}").replace($b,"^")}function vd(e){return Yf(e).replace(Fb,"%2B").replace(TI,"+").replace(Db,"%23").replace(vI,"%26").replace(wI,"`").replace(Bb,"{").replace(Hb,"}").replace($b,"^")}function II(e){return vd(e).replace(_I,"%3D")}function xI(e){return Yf(e).replace(Db,"%23").replace(bI,"%3F")}function RI(e){return xI(e).replace(yI,"%2F")}function Ho(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const AI=/\/$/,MI=e=>e.replace(AI,"");function uu(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=NI(r??t,n),{fullPath:r+i+o,path:r,query:s,hash:Ho(o)}}function PI(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Hm(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function OI(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&yi(t.matched[r],n.matched[s])&&Vb(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function yi(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Vb(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!LI(e[n],t[n]))return!1;return!0}function LI(e,t){return Tn(e)?Vm(e,t):Tn(t)?Vm(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function Vm(e,t){return Tn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function NI(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;o<r.length;o++)if(a=r[o],a!==".")if(a==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(o).join("/")}const Er={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let yd=function(e){return e.pop="pop",e.push="push",e}({}),du=function(e){return e.back="back",e.forward="forward",e.unknown="",e}({});function DI(e){if(!e)if(Ks){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),MI(e)}const FI=/^[^#]+#/;function $I(e,t){return e.replace(FI,"#")+t}function BI(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 El=()=>({left:window.scrollX,top:window.scrollY});function HI(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=BI(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 Um(e,t){return(history.state?history.state.position-t:-1)+e}const _d=new Map;function VI(e,t){_d.set(e,t)}function UI(e){const t=_d.get(e);return _d.delete(e),t}function WI(e){return typeof e=="string"||e&&typeof e=="object"}function Ub(e){return typeof e=="string"||typeof e=="symbol"}let ot=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 Wb=Symbol("");ot.MATCHER_NOT_FOUND+"",ot.NAVIGATION_GUARD_REDIRECT+"",ot.NAVIGATION_ABORTED+"",ot.NAVIGATION_CANCELLED+"",ot.NAVIGATION_DUPLICATED+"";function _i(e,t){return Be(new Error,{type:e,[Wb]:!0},t)}function Gn(e,t){return e instanceof Error&&Wb in e&&(t==null||!!(e.type&t))}const jI=["params","query","hash"];function zI(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of jI)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function qI(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const s=n[r].replace(Fb," "),i=s.indexOf("="),o=Ho(i<0?s:s.slice(0,i)),a=i<0?null:Ho(s.slice(i+1));if(o in t){let c=t[o];Tn(c)||(c=t[o]=[c]),c.push(a)}else t[o]=a}return t}function Wm(e){let t="";for(let n in e){const r=e[n];if(n=II(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Tn(r)?r.map(s=>s&&vd(s)):[r&&vd(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function GI(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Tn(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const KI=Symbol(""),jm=Symbol(""),wl=Symbol(""),Xf=Symbol(""),bd=Symbol("");function no(){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 Rr(e,t,n,r,s,i=o=>o()){const o=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((a,c)=>{const l=f=>{f===!1?c(_i(ot.NAVIGATION_ABORTED,{from:n,to:t})):f instanceof Error?c(f):WI(f)?c(_i(ot.NAVIGATION_GUARD_REDIRECT,{from:t,to:f})):(o&&r.enterCallbacks[s]===o&&typeof f=="function"&&o.push(f),a())},d=i(()=>e.call(r&&r.instances[s],t,n,l));let u=Promise.resolve(d);e.length<3&&(u=u.then(l)),u.catch(f=>c(f))})}function fu(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(Nb(c)){const l=(c.__vccOpts||c)[t];l&&i.push(Rr(l,n,r,o,a,s))}else{let l=c();i.push(()=>l.then(d=>{if(!d)throw new Error(`Couldn't resolve component "${a}" at "${o.path}"`);const u=gI(d)?d.default:d;o.mods[a]=d,o.components[a]=u;const f=(u.__vccOpts||u)[t];return f&&Rr(f,n,r,o,a,s)()}))}}return i}function YI(e,t){const n=[],r=[],s=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const a=t.matched[o];a&&(e.matched.find(l=>yi(l,a))?r.push(a):n.push(a));const c=e.matched[o];c&&(t.matched.find(l=>yi(l,c))||s.push(c))}return[n,r,s]}/*!
|
||
* vue-router v4.6.4
|
||
* (c) 2025 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/let XI=()=>location.protocol+"//"+location.host;function jb(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),Hm(a,"")}return Hm(n,e)+r+s}function JI(e,t,n,r){let s=[],i=[],o=null;const a=({state:f})=>{const h=jb(e,location),p=n.value,m=t.value;let v=0;if(f){if(n.value=h,t.value=f,o&&o===p){o=null;return}v=m?f.position-m.position:0}else r(h);s.forEach(g=>{g(n.value,p,{delta:v,type:yd.pop,direction:v?v>0?du.forward:du.back:du.unknown})})};function c(){o=n.value}function l(f){s.push(f);const h=()=>{const p=s.indexOf(f);p>-1&&s.splice(p,1)};return i.push(h),h}function d(){if(document.visibilityState==="hidden"){const{history:f}=window;if(!f.state)return;f.replaceState(Be({},f.state,{scroll:El()}),"")}}function u(){for(const f of i)f();i=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",d),document.removeEventListener("visibilitychange",d)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",d),document.addEventListener("visibilitychange",d),{pauseListeners:c,listen:l,destroy:u}}function zm(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?El():null}}function ZI(e){const{history:t,location:n}=window,r={value:jb(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,d){const u=e.indexOf("#"),f=u>-1?(n.host&&document.querySelector("base")?e:e.slice(u))+c:XI()+e+c;try{t[d?"replaceState":"pushState"](l,"",f),s.value=l}catch(h){console.error(h),n[d?"replace":"assign"](f)}}function o(c,l){i(c,Be({},t.state,zm(s.value.back,c,s.value.forward,!0),l,{position:s.value.position}),!0),r.value=c}function a(c,l){const d=Be({},s.value,t.state,{forward:c,scroll:El()});i(d.current,d,!0),i(c,Be({},zm(r.value,c,null),{position:d.position+1},l),!1),r.value=c}return{location:r,state:s,push:a,replace:o}}function QI(e){e=DI(e);const t=ZI(e),n=JI(e,t.state,t.location,t.replace);function r(i,o=!0){o||n.pauseListeners(),history.go(i)}const s=Be({location:"",base:e,go:r,createHref:$I.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 ls=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e}({});var ft=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}(ft||{});const ex={type:ls.Static,value:""},tx=/[a-zA-Z0-9_]/;function nx(e){if(!e)return[[]];if(e==="/")return[[ex]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${l}": ${h}`)}let n=ft.Static,r=n;const s=[];let i;function o(){i&&s.push(i),i=[]}let a=0,c,l="",d="";function u(){l&&(n===ft.Static?i.push({type:ls.Static,value:l}):n===ft.Param||n===ft.ParamRegExp||n===ft.ParamRegExpEnd?(i.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),i.push({type:ls.Param,value:l,regexp:d,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),l="")}function f(){l+=c}for(;a<e.length;){if(c=e[a++],c==="\\"&&n!==ft.ParamRegExp){r=n,n=ft.EscapeNext;continue}switch(n){case ft.Static:c==="/"?(l&&u(),o()):c===":"?(u(),n=ft.Param):f();break;case ft.EscapeNext:f(),n=r;break;case ft.Param:c==="("?n=ft.ParamRegExp:tx.test(c)?f():(u(),n=ft.Static,c!=="*"&&c!=="?"&&c!=="+"&&a--);break;case ft.ParamRegExp:c===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+c:n=ft.ParamRegExpEnd:d+=c;break;case ft.ParamRegExpEnd:u(),n=ft.Static,c!=="*"&&c!=="?"&&c!=="+"&&a--,d="";break;default:t("Unknown state");break}}return n===ft.ParamRegExp&&t(`Unfinished custom RegExp for param "${l}"`),u(),o(),s}const qm="[^/]+?",rx={sensitive:!1,strict:!1,start:!0,end:!0};var Nt=function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e}(Nt||{});const sx=/[.+*?^${}()[\]/\\]/g;function ix(e,t){const n=Be({},rx,t),r=[];let s=n.start?"^":"";const i=[];for(const l of e){const d=l.length?[]:[Nt.Root];n.strict&&!l.length&&(s+="/");for(let u=0;u<l.length;u++){const f=l[u];let h=Nt.Segment+(n.sensitive?Nt.BonusCaseSensitive:0);if(f.type===ls.Static)u||(s+="/"),s+=f.value.replace(sx,"\\$&"),h+=Nt.Static;else if(f.type===ls.Param){const{value:p,repeatable:m,optional:v,regexp:g}=f;i.push({name:p,repeatable:m,optional:v});const y=g||qm;if(y!==qm){h+=Nt.BonusCustomRegExp;try{`${y}`}catch(w){throw new Error(`Invalid custom RegExp for param "${p}" (${y}): `+w.message)}}let C=m?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;u||(C=v&&l.length<2?`(?:/${C})`:"/"+C),v&&(C+="?"),s+=C,h+=Nt.Dynamic,v&&(h+=Nt.BonusOptional),m&&(h+=Nt.BonusRepeatable),y===".*"&&(h+=Nt.BonusWildcard)}d.push(h)}r.push(d)}if(n.strict&&n.end){const l=r.length-1;r[l][r[l].length-1]+=Nt.BonusStrict}n.strict||(s+="/?"),n.end?s+="$":n.strict&&!s.endsWith("/")&&(s+="(?:/|$)");const o=new RegExp(s,n.sensitive?"":"i");function a(l){const d=l.match(o),u={};if(!d)return null;for(let f=1;f<d.length;f++){const h=d[f]||"",p=i[f-1];u[p.name]=h&&p.repeatable?h.split("/"):h}return u}function c(l){let d="",u=!1;for(const f of e){(!u||!d.endsWith("/"))&&(d+="/"),u=!1;for(const h of f)if(h.type===ls.Static)d+=h.value;else if(h.type===ls.Param){const{value:p,repeatable:m,optional:v}=h,g=p in l?l[p]:"";if(Tn(g)&&!m)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const y=Tn(g)?g.join("/"):g;if(!y)if(v)f.length<2&&(d.endsWith("/")?d=d.slice(0,-1):u=!0);else throw new Error(`Missing required param "${p}"`);d+=y}}return d||"/"}return{re:o,score:r,keys:i,parse:a,stringify:c}}function ox(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===Nt.Static+Nt.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===Nt.Static+Nt.Segment?1:-1:0}function zb(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const i=ox(r[n],s[n]);if(i)return i;n++}if(Math.abs(s.length-r.length)===1){if(Gm(r))return 1;if(Gm(s))return-1}return s.length-r.length}function Gm(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const ax={strict:!1,end:!0,sensitive:!1};function cx(e,t,n){const r=ix(nx(e.path),n),s=Be(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function lx(e,t){const n=[],r=new Map;t=Bm(ax,t);function s(u){return r.get(u)}function i(u,f,h){const p=!h,m=Ym(u);m.aliasOf=h&&h.record;const v=Bm(t,u),g=[m];if("alias"in u){const w=typeof u.alias=="string"?[u.alias]:u.alias;for(const I of w)g.push(Ym(Be({},m,{components:h?h.record.components:m.components,path:I,aliasOf:h?h.record:m})))}let y,C;for(const w of g){const{path:I}=w;if(f&&I[0]!=="/"){const x=f.record.path,S=x[x.length-1]==="/"?"":"/";w.path=f.record.path+(I&&S+I)}if(y=cx(w,f,v),h?h.alias.push(y):(C=C||y,C!==y&&C.alias.push(y),p&&u.name&&!Xm(y)&&o(u.name)),qb(y)&&c(y),m.children){const x=m.children;for(let S=0;S<x.length;S++)i(x[S],y,h&&h.children[S])}h=h||y}return C?()=>{o(C)}:Eo}function o(u){if(Ub(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(o),f.alias.forEach(o))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(o),u.alias.forEach(o))}}function a(){return n}function c(u){const f=fx(u,n);n.splice(f,0,u),u.record.name&&!Xm(u)&&r.set(u.record.name,u)}function l(u,f){let h,p={},m,v;if("name"in u&&u.name){if(h=r.get(u.name),!h)throw _i(ot.MATCHER_NOT_FOUND,{location:u});v=h.record.name,p=Be(Km(f.params,h.keys.filter(C=>!C.optional).concat(h.parent?h.parent.keys.filter(C=>C.optional):[]).map(C=>C.name)),u.params&&Km(u.params,h.keys.map(C=>C.name))),m=h.stringify(p)}else if(u.path!=null)m=u.path,h=n.find(C=>C.re.test(m)),h&&(p=h.parse(m),v=h.record.name);else{if(h=f.name?r.get(f.name):n.find(C=>C.re.test(f.path)),!h)throw _i(ot.MATCHER_NOT_FOUND,{location:u,currentLocation:f});v=h.record.name,p=Be({},f.params,u.params),m=h.stringify(p)}const g=[];let y=h;for(;y;)g.unshift(y.record),y=y.parent;return{name:v,path:m,params:p,matched:g,meta:dx(g)}}e.forEach(u=>i(u));function d(){n.length=0,r.clear()}return{addRoute:i,resolve:l,removeRoute:o,clearRoutes:d,getRoutes:a,getRecordMatcher:s}}function Km(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Ym(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:ux(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 ux(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 Xm(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function dx(e){return e.reduce((t,n)=>Be(t,n.meta),{})}function fx(e,t){let n=0,r=t.length;for(;n!==r;){const i=n+r>>1;zb(e,t[i])<0?r=i:n=i+1}const s=hx(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function hx(e){let t=e;for(;t=t.parent;)if(qb(t)&&zb(e,t)===0)return t}function qb({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Jm(e){const t=Ne(wl),n=Ne(Xf),r=j(()=>{const c=Ut(e.to);return t.resolve(c)}),s=j(()=>{const{matched:c}=r.value,{length:l}=c,d=c[l-1],u=n.matched;if(!d||!u.length)return-1;const f=u.findIndex(yi.bind(null,d));if(f>-1)return f;const h=Zm(c[l-2]);return l>1&&Zm(d)===h&&u[u.length-1].path!==h?u.findIndex(yi.bind(null,c[l-2])):f}),i=j(()=>s.value>-1&&yx(n.params,r.value.params)),o=j(()=>s.value>-1&&s.value===n.matched.length-1&&Vb(n.params,r.value.params));function a(c={}){if(vx(c)){const l=t[Ut(e.replace)?"replace":"push"](Ut(e.to)).catch(Eo);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>l),l}return Promise.resolve()}return{route:r,href:j(()=>r.value.href),isActive:i,isExactActive:o,navigate:a}}function px(e){return e.length===1?e[0]:e}const mx=fl({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:Jm,setup(e,{slots:t}){const n=pt(Jm(e)),{options:r}=Ne(wl),s=j(()=>({[Qm(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Qm(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&px(t.default(n));return e.custom?i:qr("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},i)}}}),gx=mx;function vx(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function yx(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!Tn(s)||s.length!==r.length||r.some((i,o)=>i.valueOf()!==s[o].valueOf()))return!1}return!0}function Zm(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Qm=(e,t,n)=>e??t??n,_x=fl({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ne(bd),s=j(()=>e.route||r.value),i=Ne(jm,0),o=j(()=>{let l=Ut(i);const{matched:d}=s.value;let u;for(;(u=d[l])&&!u.components;)l++;return l}),a=j(()=>s.value.matched[o.value]);Mt(jm,j(()=>o.value+1)),Mt(KI,a),Mt(bd,s);const c=we();return Se(()=>[c.value,a.value,e.name],([l,d,u],[f,h,p])=>{d&&(d.instances[u]=l,h&&h!==d&&l&&l===f&&(d.leaveGuards.size||(d.leaveGuards=h.leaveGuards),d.updateGuards.size||(d.updateGuards=h.updateGuards))),l&&d&&(!h||!yi(d,h)||!f)&&(d.enterCallbacks[u]||[]).forEach(m=>m(l))},{flush:"post"}),()=>{const l=s.value,d=e.name,u=a.value,f=u&&u.components[d];if(!f)return eg(n.default,{Component:f,route:l});const h=u.props[d],p=h?h===!0?l.params:typeof h=="function"?h(l):h:null,v=qr(f,Be({},p,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(u.instances[d]=null)},ref:c}));return eg(n.default,{Component:v,route:l})||v}}});function eg(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const bx=_x;function Sx(e){const t=lx(e.routes,e),n=e.parseQuery||qI,r=e.stringifyQuery||Wm,s=e.history,i=no(),o=no(),a=no(),c=be(Er);let l=Er;Ks&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=lu.bind(null,P=>""+P),u=lu.bind(null,RI),f=lu.bind(null,Ho);function h(P,W){let X,G;return Ub(P)?(X=t.getRecordMatcher(P),G=W):G=P,t.addRoute(G,X)}function p(P){const W=t.getRecordMatcher(P);W&&t.removeRoute(W)}function m(){return t.getRoutes().map(P=>P.record)}function v(P){return!!t.getRecordMatcher(P)}function g(P,W){if(W=Be({},W||c.value),typeof P=="string"){const A=uu(n,P,W.path),L=t.resolve({path:A.path},W),D=s.createHref(A.fullPath);return Be(A,L,{params:f(L.params),hash:Ho(A.hash),redirectedFrom:void 0,href:D})}let X;if(P.path!=null)X=Be({},P,{path:uu(n,P.path,W.path).path});else{const A=Be({},P.params);for(const L in A)A[L]==null&&delete A[L];X=Be({},P,{params:u(A)}),W.params=u(W.params)}const G=t.resolve(X,W),de=P.hash||"";G.params=d(f(G.params));const _=PI(r,Be({},P,{hash:kI(de),path:G.path})),E=s.createHref(_);return Be({fullPath:_,hash:de,query:r===Wm?GI(P.query):P.query||{}},G,{redirectedFrom:void 0,href:E})}function y(P){return typeof P=="string"?uu(n,P,c.value.path):Be({},P)}function C(P,W){if(l!==P)return _i(ot.NAVIGATION_CANCELLED,{from:W,to:P})}function w(P){return S(P)}function I(P){return w(Be(y(P),{replace:!0}))}function x(P,W){const X=P.matched[P.matched.length-1];if(X&&X.redirect){const{redirect:G}=X;let de=typeof G=="function"?G(P,W):G;return typeof de=="string"&&(de=de.includes("?")||de.includes("#")?de=y(de):{path:de},de.params={}),Be({query:P.query,hash:P.hash,params:de.path!=null?{}:P.params},de)}}function S(P,W){const X=l=g(P),G=c.value,de=P.state,_=P.force,E=P.replace===!0,A=x(X,G);if(A)return S(Be(y(A),{state:typeof A=="object"?Be({},de,A.state):de,force:_,replace:E}),W||X);const L=X;L.redirectedFrom=W;let D;return!_&&OI(r,G,X)&&(D=_i(ot.NAVIGATION_DUPLICATED,{to:L,from:G}),J(G,G,!0,!1)),(D?Promise.resolve(D):R(L,G)).catch(F=>Gn(F)?Gn(F,ot.NAVIGATION_GUARD_REDIRECT)?F:U(F):N(F,L,G)).then(F=>{if(F){if(Gn(F,ot.NAVIGATION_GUARD_REDIRECT))return S(Be({replace:E},y(F.to),{state:typeof F.to=="object"?Be({},de,F.to.state):de,force:_}),W||L)}else F=T(L,G,!0,E,de);return M(L,G,F),F})}function b(P,W){const X=C(P,W);return X?Promise.reject(X):Promise.resolve()}function k(P){const W=Ee.values().next().value;return W&&typeof W.runWithContext=="function"?W.runWithContext(P):P()}function R(P,W){let X;const[G,de,_]=YI(P,W);X=fu(G.reverse(),"beforeRouteLeave",P,W);for(const A of G)A.leaveGuards.forEach(L=>{X.push(Rr(L,P,W))});const E=b.bind(null,P,W);return X.push(E),De(X).then(()=>{X=[];for(const A of i.list())X.push(Rr(A,P,W));return X.push(E),De(X)}).then(()=>{X=fu(de,"beforeRouteUpdate",P,W);for(const A of de)A.updateGuards.forEach(L=>{X.push(Rr(L,P,W))});return X.push(E),De(X)}).then(()=>{X=[];for(const A of _)if(A.beforeEnter)if(Tn(A.beforeEnter))for(const L of A.beforeEnter)X.push(Rr(L,P,W));else X.push(Rr(A.beforeEnter,P,W));return X.push(E),De(X)}).then(()=>(P.matched.forEach(A=>A.enterCallbacks={}),X=fu(_,"beforeRouteEnter",P,W,k),X.push(E),De(X))).then(()=>{X=[];for(const A of o.list())X.push(Rr(A,P,W));return X.push(E),De(X)}).catch(A=>Gn(A,ot.NAVIGATION_CANCELLED)?A:Promise.reject(A))}function M(P,W,X){a.list().forEach(G=>k(()=>G(P,W,X)))}function T(P,W,X,G,de){const _=C(P,W);if(_)return _;const E=W===Er,A=Ks?history.state:{};X&&(G||E?s.replace(P.fullPath,Be({scroll:E&&A&&A.scroll},de)):s.push(P.fullPath,de)),c.value=P,J(P,W,X,E),U()}let O;function $(){O||(O=s.listen((P,W,X)=>{if(!Me.listening)return;const G=g(P),de=x(G,Me.currentRoute.value);if(de){S(Be(de,{replace:!0,force:!0}),G).catch(Eo);return}l=G;const _=c.value;Ks&&VI(Um(_.fullPath,X.delta),El()),R(G,_).catch(E=>Gn(E,ot.NAVIGATION_ABORTED|ot.NAVIGATION_CANCELLED)?E:Gn(E,ot.NAVIGATION_GUARD_REDIRECT)?(S(Be(y(E.to),{force:!0}),G).then(A=>{Gn(A,ot.NAVIGATION_ABORTED|ot.NAVIGATION_DUPLICATED)&&!X.delta&&X.type===yd.pop&&s.go(-1,!1)}).catch(Eo),Promise.reject()):(X.delta&&s.go(-X.delta,!1),N(E,G,_))).then(E=>{E=E||T(G,_,!1),E&&(X.delta&&!Gn(E,ot.NAVIGATION_CANCELLED)?s.go(-X.delta,!1):X.type===yd.pop&&Gn(E,ot.NAVIGATION_ABORTED|ot.NAVIGATION_DUPLICATED)&&s.go(-1,!1)),M(G,_,E)}).catch(Eo)}))}let K=no(),Z=no(),z;function N(P,W,X){U(P);const G=Z.list();return G.length?G.forEach(de=>de(P,W,X)):console.error(P),Promise.reject(P)}function oe(){return z&&c.value!==Er?Promise.resolve():new Promise((P,W)=>{K.add([P,W])})}function U(P){return z||(z=!P,$(),K.list().forEach(([W,X])=>P?X(P):W()),K.reset()),P}function J(P,W,X,G){const{scrollBehavior:de}=e;if(!Ks||!de)return Promise.resolve();const _=!X&&UI(Um(P.fullPath,0))||(G||!X)&&history.state&&history.state.scroll||null;return yt().then(()=>de(P,W,_)).then(E=>E&&HI(E)).catch(E=>N(E,P,W))}const re=P=>s.go(P);let ie;const Ee=new Set,Me={currentRoute:c,listening:!0,addRoute:h,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:m,resolve:g,options:e,push:w,replace:I,go:re,back:()=>re(-1),forward:()=>re(1),beforeEach:i.add,beforeResolve:o.add,afterEach:a.add,onError:Z.add,isReady:oe,install(P){P.component("RouterLink",gx),P.component("RouterView",bx),P.config.globalProperties.$router=Me,Object.defineProperty(P.config.globalProperties,"$route",{enumerable:!0,get:()=>Ut(c)}),Ks&&!ie&&c.value===Er&&(ie=!0,w(s.location).catch(G=>{}));const W={};for(const G in Er)Object.defineProperty(W,G,{get:()=>c.value[G],enumerable:!0});P.provide(wl,Me),P.provide(Xf,qy(W)),P.provide(bd,c);const X=P.unmount;Ee.add(P),P.unmount=function(){Ee.delete(P),Ee.size<1&&(l=Er,O&&O(),O=null,c.value=Er,ie=!1,z=!1),X()}}};function De(P){return P.reduce((W,X)=>W.then(()=>k(X)),Promise.resolve())}return Me}function N4(){return Ne(wl)}function D4(e){return Ne(Xf)}const Ex=e=>{const t={};Object.entries(Object.assign({"/src/layouts/default.vue":()=>_t(()=>import("./default-BeYWhc3q.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,d,u,f;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[((d=o.meta)==null?void 0:d.layout)||"default"],children:o.path==="/"?[o]:[{...o,path:""}],meta:{isLayout:!0}}}return(u=o.meta)!=null&&u.layout?{path:o.path,component:t[(f=o.meta)==null?void 0:f.layout],children:[{...o,path:""}],meta:{isLayout:!0}}:o})}return r(e)},wx=[{path:"/",name:"/",component:()=>_t(()=>import("./index-Ct5Llh5_.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:()=>_t(()=>import("./404-C7Ce-VYe.js"),__vite__mapDeps([40,14,15,34,35]),import.meta.url)},{path:"/authorize",name:"/authorize",component:()=>_t(()=>import("./authorize-CL9LOs4t.js"),__vite__mapDeps([41,14,15,34,35]),import.meta.url)},{path:"/CacheManagement",name:"/CacheManagement",component:()=>_t(()=>import("./CacheManagement-BY7T1F66.js"),__vite__mapDeps([42,6,7,37,38,12,13,8,9,14,15,34,35]),import.meta.url)},{path:"/cses2wakeup",name:"/cses2wakeup",component:()=>_t(()=>import("./cses2wakeup-Y-ZBCCNd.js"),__vite__mapDeps([43,14,15,6,7,44,32,23,20,16,17,21,33,22,12,13,24,45,10,11,18,19,8,9,34,35,46]),import.meta.url)},{path:"/debug",name:"/debug",component:()=>_t(()=>import("./debug-C73Oop6R.js"),__vite__mapDeps([47,34,35,48]),import.meta.url)},{path:"/debug-init",name:"/debug-init",component:()=>_t(()=>import("./debug-init-qEmxm5BC.js"),__vite__mapDeps([49,4,5,14,15,36,16,17,34,35]),import.meta.url)},{path:"/debug-socket",name:"/debug-socket",component:()=>_t(()=>import("./debug-socket-gX5zuEJb.js"),__vite__mapDeps([50,26,5,31,14,15,12,13,16,17,18,19,34,35]),import.meta.url)},{path:"/exam-editor",children:[{path:":id",name:"/exam-editor/[id]",component:()=>_t(()=>import("./_id_-d28sCpy1.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,28,29,34,35]),import.meta.url)}]},{path:"/examschedule",name:"/examschedule",component:()=>_t(()=>import("./examschedule-CWlyTxDY.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,34,35,53]),import.meta.url)},{path:"/list",children:[{path:"",name:"/list/",component:()=>_t(()=>import("./index-BBzZrCva.js"),__vite__mapDeps([54,4,5,28,29,16,17,34,35]),import.meta.url)},{path:":id",name:"/list/[id]",component:()=>_t(()=>import("./_id_-DIwIy-nN.js"),__vite__mapDeps([55,4,5,28,29,16,17,23,20,21,12,13,18,19,34,35]),import.meta.url)}]},{path:"/settings",name:"/settings",component:()=>_t(()=>import("./settings-DjYY_dPH.js"),__vite__mapDeps([56,27,28,29,16,17,22,23,20,21,12,13,24,30,4,5,6,7,14,15,34,35,32,33,18,19,36,37,38,44,45,57]),import.meta.url)},{path:"/socket-debugger",name:"/socket-debugger",component:()=>_t(()=>import("./socket-debugger-BstARi-S.js"),__vite__mapDeps([58,26,5,14,15,12,13,16,17,18,19,20,21,6,7,34,35,59]),import.meta.url)}],Cl=Sx({history:QI("./"),routes:Ex(wx)});Cl.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)});Cl.isReady().then(()=>{localStorage.removeItem("vuetify:dynamic-reload")});function Cx(e){e.use(lI).use(Cl).use(mI)}async function Tx(){return typeof Notification<"u"&&Notification.requestPermission?await Notification.requestPermission()==="granted"?(console.log("通知权限已授予"),!0):(console.warn("通知权限被拒绝"),!1):(console.warn("浏览器不支持通知权限请求"),!1)}async function kx(){var e;try{return(e=navigator.storage)!=null&&e.persist?await navigator.storage.persist():!1}catch(t){return console.warn("请求持久性存储失败:",t),!1}}const hu="Classworks_settings",tg={"server.domain":"https://kv-service.houlang.cloud","server.siteKey":""},kr={"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"},"timeCard.enabled":{type:"boolean",default:!0,description:"启用时间卡片",icon:"mdi-clock-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 Ix{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(hu):null;t&&(this.settingsCache=JSON.parse(t))}catch(t){console.error("加载设置失败:",t)}for(const[t,n]of Object.entries(kr))t in this.settingsCache||(this.settingsCache[t]=n.default);return this.settingsCache}saveSettings(){if(!(typeof localStorage>"u"))try{localStorage.setItem(hu,JSON.stringify(this.settingsCache))}catch(t){console.error("保存设置失败:",t)}}getSetting(t){this.isInitialized||this.init();const n=kr[t];if(!n)return console.warn(`未定义的设置项: ${t}`),null;if(n.requireDeveloper&&!this.settingsCache["developer.enabled"])return n.default;if(this.settingsCache["server.provider"]==="classworkscloud"&&tg[t]!==void 0)return tg[t];const r=this.settingsCache[t];return r!==void 0?r:n.default}setSetting(t,n){this.isInitialized||this.init();const r=kr[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=kr[t];if(!n){console.warn(`未定义的设置项: ${t}`);return}this.settingsCache[t]=n.default,this.saveSettings()}resetAllSettings(){this.settingsCache={};for(const[t,n]of Object.entries(kr))this.settingsCache[t]=n.default;this.saveSettings()}watchSettings(t){if(typeof window>"u")return()=>{};const n=r=>{r.key===hu&&(this.settingsCache=JSON.parse(r.newValue),t(this.settingsCache))};return window.addEventListener("storage",n),()=>window.removeEventListener("storage",n)}getSettingDefinition(t){return kr[t]||null}exportSettingsAsKeyValue(){this.isInitialized||this.init();const t={};for(const n in kr)t[n]=this.getSetting(n);return t}}const vr=new Ix;typeof window<"u"&&vr.init();const Jf=e=>vr.getSetting(e),xx=(e,t)=>vr.setSetting(e,t),Rx=e=>vr.resetSetting(e),Ax=()=>vr.resetAllSettings(),Mx=e=>vr.watchSettings(e),Px=e=>vr.getSettingDefinition(e),Ox=()=>vr.exportSettingsAsKeyValue(),F4=Object.freeze(Object.defineProperty({__proto__:null,SettingsManager:vr,exportSettingsAsKeyValue:Ox,getSetting:Jf,getSettingDefinition:Px,requestNotificationPermission:Tx,requestPersistentStorage:kx,resetAllSettings:Ax,resetSetting:Rx,setSetting:xx,settingsDefinitions:kr,watchSettings:Mx},Symbol.toStringTag,{value:"Module"}));class Lx{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 Qa=new Lx,Dn=[];let ec=null,Ln=null;const ro={SUCCESS:"success",ERROR:"error",INFO:"info",WARNING:"warning"},Nx={timeout:3e3,showSnackbar:!0,addToLog:!0};async function La(e,t,n="",r={}){const s={...Nx,...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 Qa.addLog(i),Dn.unshift(i);Dn.length>Jf("message.maxActiveMessages");)Dn.pop();Ln==null||Ln(Dn)}catch(o){console.error("保存日志失败:",o)}return s.showSnackbar&&(ec==null||ec(i)),i}function Dx(e,t){let n=null;return function(...r){n&&clearTimeout(n),n=setTimeout(()=>{e.apply(this,r)},t)}}const Ys={install:e=>{e.config.globalProperties.$message={success:(t,n,r)=>La(ro.SUCCESS,t,n,r),error:(t,n,r)=>La(ro.ERROR,t,n,r),info:(t,n,r)=>La(ro.INFO,t,n,r),warning:(t,n,r)=>La(ro.WARNING,t,n,r)}},onSnackbar:e=>{ec=e},onLog:e=>{Ln=e},getMessages:async()=>{try{return await Qa.getLogs()}catch(e){return console.error("获取日志失败:",e),[...Dn]}},clearMessages:async()=>{try{await Qa.clearLogs(),Dn.length=0,Ln==null||Ln(Dn)}catch(e){console.error("清除日志失败:",e)}},MessageType:ro,markAsRead:()=>{},deleteMessage:async e=>{try{await Qa.deleteLog(e);const t=Dn.findIndex(n=>n.id===e);t!==-1&&Dn.splice(t,1),Ln==null||Ln(Dn)}catch(t){console.error("删除消息失败:",t)}},getUnreadCount:()=>0,debounce:Dx},Gb=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Fi=ue({border:[Boolean,Number,String]},"border");function $i(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Gr();return{borderClasses:j(()=>{const r=e.border;return r===!0||r===""?`${t}--border`:typeof r=="string"||r===0?String(r).split(" ").map(s=>`border-${s}`):[]})}}const Fx=[null,"default","comfortable","compact"],Ms=ue({density:{type:String,default:"default",validator:e=>Fx.includes(e)}},"density");function Bi(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Gr();return{densityClasses:ee(()=>`${t}--density-${e.density}`)}}const oa=ue({elevation:{type:[Number,String],validator(e){const t=parseInt(e);return!isNaN(t)&&t>=0&&t<=24}}},"elevation");function aa(e){return{elevationClasses:ee(()=>{const n=Ze(e)?e.value:e.elevation;return n==null?[]:[`elevation-${n}`]})}}const yr=ue({rounded:{type:[Boolean,Number,String],default:void 0},tile:Boolean},"rounded");function _r(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Gr();return{roundedClasses:j(()=>{const r=Ze(e)?e.value:e.rounded,s=Ze(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 Pt=ue({tag:{type:[String,Object,Function],default:"div"}},"tag");function Zf(e){return Hf(()=>{const{class:t,style:n}=Bx(e);return{colorClasses:t,colorStyles:n}})}function bi(e){const{colorClasses:t,colorStyles:n}=Zf(()=>({text:vt(e)}));return{textColorClasses:t,textColorStyles:n}}function li(e){const{colorClasses:t,colorStyles:n}=Zf(()=>({background:vt(e)}));return{backgroundColorClasses:t,backgroundColorStyles:n}}function $x(e){return{text:typeof e.text=="string"?e.text.replace(/^text-/,""):e.text,background:typeof e.background=="string"?e.background.replace(/^bg-/,""):e.background}}function Bx(e){const t=$x(vt(e)),n=[],r={};if(t.background)if(dd(t.background)){if(r.backgroundColor=t.background,!t.text&&RT(t.background)){const s=Bn(t.background);if(s.a==null||s.a===1){const i=hb(s);r.color=i,r.caretColor=i}}}else n.push(`bg-${t.background}`);return t.text&&(dd(t.text)?(r.color=t.text,r.caretColor=t.text):n.push(`text-${t.text}`)),{class:n,style:r}}const Hx=["elevated","flat","tonal","outlined","text","plain"];function ca(e,t){return ae(Qe,null,[e&&ae("span",{key:"overlay",class:Le(`${t}__overlay`)},null),ae("span",{key:"underlay",class:Le(`${t}__underlay`)},null)])}const Ps=ue({color:String,variant:{type:String,default:"elevated",validator:e=>Hx.includes(e)}},"variant");function la(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Gr();const n=ee(()=>{const{variant:i}=vt(e);return`${t}--variant-${i}`}),{colorClasses:r,colorStyles:s}=Zf(()=>{const{variant:i,color:o}=vt(e);return{[["elevated","flat"].includes(i)?"background":"text"]:o}});return{colorClasses:r,colorStyles:s,variantClasses:n}}const Kb=ue({baseColor:String,divided:Boolean,direction:{type:String,default:"horizontal"},...Fi(),...ct(),...Ms(),...oa(),...yr(),...Pt(),...nn(),...Ps()},"VBtnGroup"),ng=$e()({name:"VBtnGroup",props:Kb(),setup(e,t){let{slots:n}=t;const{themeClasses:r}=mn(e),{densityClasses:s}=Bi(e),{borderClasses:i}=$i(e),{elevationClasses:o}=aa(e),{roundedClasses:a}=_r(e);_l({VBtn:{height:ee(()=>e.direction==="horizontal"?"auto":null),baseColor:ee(()=>e.baseColor),color:ee(()=>e.color),density:ee(()=>e.density),flat:!0,variant:ee(()=>e.variant)}}),tt(()=>H(e.tag,{class:Le(["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:Xe(e.style)},n))}}),Vx=ue({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),Ux=ue({value:null,disabled:Boolean,selectedClass:String},"group-item");function Wx(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const r=mt("useGroupItem");if(!r)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const s=hl();Mt(Symbol.for(`${t.description}:id`),s);const i=Ne(t,null);if(!i){if(!n)return i;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${t.description}`)}const o=ee(()=>e.value),a=j(()=>!!(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(),kn(()=>l());const d=j(()=>i.isSelected(s)),u=j(()=>i.items.value[0].id===s),f=j(()=>i.items.value[i.items.value.length-1].id===s),h=j(()=>d.value&&[i.selectedClass.value,e.selectedClass]);return Se(d,p=>{r.emit("group:selected",{value:p})},{flush:"sync"}),{id:s,isSelected:d,isFirst:u,isLast:f,toggle:()=>i.select(s,!d.value),select:p=>i.select(s,p),selectedClass:h,value:o,disabled:a,group:i,register:c,unregister:l}}function jx(e,t){let n=!1;const r=pt([]),s=Un(e,"modelValue",[],f=>f===void 0?[]:Yb(r,f===null?[null]:Bf(f)),f=>{const h=qx(r,f);return e.multiple?h:h[0]}),i=mt("useGroup");function o(f,h){const p=f,m=Symbol.for(`${t.description}:id`),g=Zs(m,i==null?void 0:i.vnode).indexOf(h);Ut(p.value)===void 0&&(p.value=g,p.useIndexAsValue=!0),g>-1?r.splice(g,0,p):r.push(p)}function a(f){if(n)return;c();const h=r.findIndex(p=>p.id===f);r.splice(h,1)}function c(){const f=r.find(h=>!h.disabled);f&&e.mandatory==="force"&&!s.value.length&&(s.value=[f.id])}gr(()=>{c()}),kn(()=>{n=!0}),Rf(()=>{for(let f=0;f<r.length;f++)r[f].useIndexAsValue&&(r[f].value=f)});function l(f,h){const p=r.find(m=>m.id===f);if(!(h&&(p!=null&&p.disabled)))if(e.multiple){const m=s.value.slice(),v=m.findIndex(y=>y===f),g=~v;if(h=h??!g,g&&e.mandatory&&m.length<=1||!g&&e.max!=null&&m.length+1>e.max)return;v<0&&h?m.push(f):v>=0&&!h&&m.splice(v,1),s.value=m}else{const m=s.value.includes(f);if(e.mandatory&&m||!m&&!h)return;s.value=h??!m?[f]:[]}}function d(f){if(e.multiple,s.value.length){const h=s.value[0],p=r.findIndex(g=>g.id===h);let m=(p+f)%r.length,v=r[m];for(;v.disabled&&m!==p;)m=(m+f)%r.length,v=r[m];if(v.disabled)return;s.value=[r[m].id]}else{const h=r.find(p=>!p.disabled);h&&(s.value=[h.id])}}const u={register:o,unregister:a,selected:s,select:l,disabled:ee(()=>e.disabled),prev:()=>d(r.length-1),next:()=>d(1),isSelected:f=>s.value.includes(f),selectedClass:ee(()=>e.selectedClass),items:ee(()=>r),getItemIndex:f=>zx(r,f)};return Mt(t,u),u}function zx(e,t){const n=Yb(e,[t]);return n.length?e.findIndex(r=>r.id===n[0]):-1}function Yb(e,t){const n=[];return t.forEach(r=>{const s=e.find(o=>gs(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 qx(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 Xb=Symbol.for("vuetify:v-btn-toggle"),Gx=ue({...Kb(),...Vx()},"VBtnToggle"),$4=$e()({name:"VBtnToggle",props:Gx(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{isSelected:r,next:s,prev:i,select:o,selected:a}=jx(e,Xb);return tt(()=>{const c=ng.filterProps(e);return H(ng,Je({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}}}),Kx=ue({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),un=$e(!1)({name:"VDefaultsProvider",props:Kx(),setup(e,t){let{slots:n}=t;const{defaults:r,disabled:s,reset:i,root:o,scoped:a}=Tf(e);return _l(r,{reset:i,root:o,scoped:a,disabled:s}),()=>{var c;return(c=n.default)==null?void 0:c.call(n)}}}),Yx=["x-small","small","default","large","x-large"],Tl=ue({size:{type:[String,Number],default:"default"}},"size");function kl(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Gr();return Hf(()=>{const n=e.size;let r,s;return Rc(Yx,n)?r=`${t}--size-${n}`:n&&(s={width:ge(n),height:ge(n)}),{sizeClasses:r,sizeStyles:s}})}const Xx=ue({color:String,disabled:Boolean,start:Boolean,end:Boolean,icon:Et,opacity:[String,Number],...ct(),...Tl(),...Pt({tag:"i"}),...nn()},"VIcon"),Wn=$e()({name:"VIcon",props:Xx(),setup(e,t){let{attrs:n,slots:r}=t;const s=be(),{themeClasses:i}=Ib(),{iconData:o}=KT(()=>s.value||e.icon),{sizeClasses:a}=kl(e),{textColorClasses:c,textColorStyles:l}=bi(()=>e.color);return tt(()=>{var f,h;const d=(f=r.default)==null?void 0:f.call(r);d&&(s.value=(h=rb(d).filter(p=>p.type===na&&p.children&&typeof p.children=="string")[0])==null?void 0:h.children);const u=!!(n.onClick||n.onClickOnce);return H(o.value.component,{tag:e.tag,icon:o.value.icon,class:Le(["v-icon","notranslate",i.value,a.value,c.value,{"v-icon--clickable":u,"v-icon--disabled":e.disabled,"v-icon--start":e.start,"v-icon--end":e.end},e.class]),style:Xe([{"--v-icon-opacity":e.opacity},a.value?void 0:{fontSize:ge(e.size),height:ge(e.size),width:ge(e.size)},l.value,e.style]),role:u?"button":void 0,"aria-hidden":!u,tabindex:u?e.disabled?-1:0:void 0},{default:()=>[d]})}),{}}});function Jb(e,t){const n=we(),r=be(!1);if(Df){const s=new IntersectionObserver(i=>{r.value=!!i.find(o=>o.isIntersecting)},t);Ct(()=>{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 Jx=ue({reveal:{type:[Boolean,Object],default:!1}},"reveal");function Zx(e){const n=ee(()=>typeof e.reveal=="object"?Math.max(0,Number(e.reveal.duration??900)):900),r=be(e.reveal?"initial":"disabled");return gr(async()=>{e.reveal&&(r.value="initial",await new Promise(s=>requestAnimationFrame(s)),r.value="pending",await new Promise(s=>setTimeout(s,n.value)),r.value="done")}),{duration:n,state:r}}const Qx=ue({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},...ct(),...Jx(),...Tl(),...Pt({tag:"div"}),...nn()},"VProgressCircular"),eR=$e()({name:"VProgressCircular",props:Qx(),setup(e,t){let{slots:n}=t;const r=20,s=2*Math.PI*r,i=we(),{themeClasses:o}=mn(e),{sizeClasses:a,sizeStyles:c}=kl(e),{textColorClasses:l,textColorStyles:d}=bi(()=>e.color),{textColorClasses:u,textColorStyles:f}=bi(()=>e.bgColor),{intersectionRef:h,isIntersecting:p}=Jb(),{resizeRef:m,contentRect:v}=Kf(),{state:g,duration:y}=Zx(e),C=ee(()=>g.value==="initial"?0:cr(parseFloat(e.modelValue),0,100)),w=ee(()=>Number(e.width)),I=ee(()=>c.value?Number(e.size):v.value?v.value.width:Math.max(w.value,32)),x=ee(()=>r/(1-w.value/I.value)*2),S=ee(()=>w.value/I.value*x.value),b=ee(()=>{const R=(100-C.value)/100*s;return e.rounded&&C.value>0&&C.value<100?ge(Math.min(s-.01,R+S.value)):ge(R)}),k=j(()=>{const R=Number(e.rotate);return e.rounded?R+S.value/2/s*360:R});return hn(()=>{h.value=i.value,m.value=i.value}),tt(()=>H(e.tag,{ref:i,class:Le(["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"||Lo()),"v-progress-circular--revealing":["initial","pending"].includes(g.value)},o.value,a.value,l.value,e.class]),style:Xe([c.value,d.value,{"--progress-reveal-duration":`${y.value}ms`},e.style]),role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.indeterminate?void 0:C.value},{default:()=>[ae("svg",{style:{transform:`rotate(calc(-90deg + ${k.value}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${x.value} ${x.value}`},[ae("circle",{class:Le(["v-progress-circular__underlay",u.value]),style:Xe(f.value),fill:"transparent",cx:"50%",cy:"50%",r,"stroke-width":S.value,"stroke-dasharray":s,"stroke-dashoffset":0},null),ae("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r,"stroke-width":S.value,"stroke-dasharray":s,"stroke-dashoffset":b.value,"stroke-linecap":e.rounded?"round":void 0},null)]),n.default&&ae("div",{class:"v-progress-circular__content"},[n.default({value:C.value})])]})),{}}}),Hi=ue({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function Vi(e){return{dimensionStyles:j(()=>{const n={},r=ge(e.height),s=ge(e.maxHeight),i=ge(e.maxWidth),o=ge(e.minHeight),a=ge(e.minWidth),c=ge(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 rg={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},Il=ue({location:String},"location");function Qf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2?arguments[2]:void 0;const{isRtl:r}=sa();return{locationStyles:j(()=>{if(!e.location)return{};const{side:i,align:o}=ud(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[rg[i]]=`calc(100% - ${a(i)}px)`:c[i]=0),o!=="center"?t?c[rg[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 tR=ue({chunkCount:{type:[Number,String],default:null},chunkWidth:{type:[Number,String],default:null},chunkGap:{type:[Number,String],default:4}},"chunks");function nR(e,t){const n=ee(()=>!!e.chunkCount||!!e.chunkWidth),r=j(()=>{const a=vt(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=ee(()=>Number(e.chunkGap)),i=j(()=>{if(!n.value)return{};const a=ge(s.value),c=ge(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=vt(t);if(!c)return a;const l=100*s.value/c,d=100*(r.value+s.value)/c,u=Math.floor((a+l)/d);return cr(0,u*d-l/2,100)}return{hasChunks:n,chunksMaskStyles:i,snapValueToChunk:o}}const rR=ue({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,...tR(),...ct(),...Il({location:"top"}),...yr(),...Pt(),...nn()},"VProgressLinear"),Zb=$e()({name:"VProgressLinear",props:rR(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=we(),s=Un(e,"modelValue"),{isRtl:i,rtlClasses:o}=sa(),{themeClasses:a}=mn(e),{locationStyles:c}=Qf(e),{textColorClasses:l,textColorStyles:d}=bi(()=>e.color),{backgroundColorClasses:u,backgroundColorStyles:f}=li(()=>e.bgColor||e.color),{backgroundColorClasses:h,backgroundColorStyles:p}=li(()=>e.bufferColor||e.bgColor||e.color),{backgroundColorClasses:m,backgroundColorStyles:v}=li(()=>e.color),{roundedClasses:g}=_r(e),{intersectionRef:y,isIntersecting:C}=Jb(),w=j(()=>parseFloat(e.max)),I=j(()=>parseFloat(e.height)),x=j(()=>cr(parseFloat(e.bufferValue)/w.value*100,0,100)),S=j(()=>cr(parseFloat(s.value)/w.value*100,0,100)),b=j(()=>i.value!==e.reverse),k=j(()=>e.indeterminate?"fade-transition":"slide-x-transition"),R=be(0),{hasChunks:M,chunksMaskStyles:T,snapValueToChunk:O}=nR(e,R);Di(M,()=>{const{resizeRef:z}=Kf(N=>R.value=N[0].contentRect.width);hn(()=>z.value=r.value)});const $=j(()=>M.value?O(x.value):x.value),K=j(()=>M.value?O(S.value):S.value);function Z(z){if(!y.value)return;const{left:N,right:oe,width:U}=y.value.getBoundingClientRect(),J=b.value?U-z.clientX+(oe-U):z.clientX-N;s.value=Math.round(J/U*w.value)}return hn(()=>{y.value=r.value}),tt(()=>H(e.tag,{ref:r,class:Le(["v-progress-linear",{"v-progress-linear--absolute":e.absolute,"v-progress-linear--active":e.active&&C.value,"v-progress-linear--reverse":b.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:Xe([{bottom:e.location==="bottom"?0:void 0,top:e.location==="top"?0:void 0,height:e.active?ge(I.value):0,"--v-progress-linear-height":ge(I.value),...e.absolute?c.value:{}},T.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),w.value),onClick:e.clickable&&Z},{default:()=>[e.stream&&ae("div",{key:"stream",class:Le(["v-progress-linear__stream",l.value]),style:{...d.value,[b.value?"left":"right"]:ge(-I.value),borderTop:`${ge(I.value/2)} dotted`,opacity:parseFloat(e.bufferOpacity),top:`calc(50% - ${ge(I.value/4)})`,width:ge(100-x.value,"%"),"--v-progress-linear-stream-to":ge(I.value*(b.value?1:-1))}},null),ae("div",{class:Le(["v-progress-linear__background",u.value]),style:Xe([f.value,{opacity:parseFloat(e.bgOpacity),width:e.stream?0:void 0}])},null),ae("div",{class:Le(["v-progress-linear__buffer",h.value]),style:Xe([p.value,{opacity:parseFloat(e.bufferOpacity),width:ge($.value,"%")}])},null),H(Hr,{name:k.value},{default:()=>[e.indeterminate?ae("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(z=>ae("div",{key:z,class:Le(["v-progress-linear__indeterminate",z,m.value]),style:Xe(v.value)},null))]):ae("div",{class:Le(["v-progress-linear__determinate",m.value]),style:Xe([v.value,{width:ge(K.value,"%")}])},null)]}),n.default&&ae("div",{class:"v-progress-linear__content"},[n.default({value:S.value,buffer:x.value})])]})),{}}}),Qb=ue({loading:[Boolean,String]},"loader");function eS(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Gr();return{loaderClasses:ee(()=>({[`${t}--loading`]:e.loading}))}}function sR(e,t){var r;let{slots:n}=t;return ae("div",{class:Le(`${e.name}__loader`)},[((r=n.default)==null?void 0:r.call(n,{color:e.color,isActive:e.active}))||H(Zb,{absolute:e.absolute,active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}const iR=["static","relative","fixed","absolute","sticky"],eh=ue({position:{type:String,validator:e=>iR.includes(e)}},"position");function th(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Gr();return{positionClasses:ee(()=>e.position?`${t}--${e.position}`:void 0)}}function oR(){const e=mt("useRoute");return j(()=>{var t;return(t=e==null?void 0:e.proxy)==null?void 0:t.$route})}function aR(){var e,t;return(t=(e=mt("useRouter"))==null?void 0:e.proxy)==null?void 0:t.$router}function nh(e,t){const n=v_("RouterLink"),r=ee(()=>!!(e.href||e.to)),s=j(()=>(r==null?void 0:r.value)||om(t,"click")||om(e,"click"));if(typeof n=="string"||!("useLink"in n)){const u=ee(()=>e.href);return{isLink:r,isRouterLink:ee(()=>!1),isClickable:s,href:u,linkProps:pt({href:u}),route:ee(()=>{}),navigate:ee(()=>{})}}const i=n.useLink({to:ee(()=>e.to||""),replace:ee(()=>e.replace)}),o=j(()=>e.to?i:void 0),a=oR(),c=j(()=>{var u,f,h;return o.value?e.exact?a.value?((h=o.value.isExactActive)==null?void 0:h.value)&&gs(o.value.route.value.query,a.value.query):((f=o.value.isExactActive)==null?void 0:f.value)??!1:((u=o.value.isActive)==null?void 0:u.value)??!1:!1}),l=j(()=>{var u;return e.to?(u=o.value)==null?void 0:u.route.value.href:e.href});return{isLink:r,isRouterLink:ee(()=>!!e.to),isClickable:s,isActive:c,route:ee(()=>{var u;return(u=o.value)==null?void 0:u.route.value}),navigate:ee(()=>{var u;return(u=o.value)==null?void 0:u.navigate}),href:l,linkProps:pt({href:l,"aria-current":ee(()=>c.value?"page":void 0),"aria-disabled":ee(()=>e.disabled&&r.value?"true":void 0),tabindex:ee(()=>e.disabled&&r.value?"-1":void 0)})}}const rh=ue({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let pu=!1;function cR(e,t){let n=!1,r,s;et&&(e!=null&&e.beforeEach)&&(yt(()=>{window.addEventListener("popstate",i),r=e.beforeEach((o,a,c)=>{pu?n?t(c):c():setTimeout(()=>n?t(c):c()),pu=!0}),s=e==null?void 0:e.afterEach(()=>{pu=!1})}),Ct(()=>{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 lR(e,t){Se(()=>{var n;return(n=e.isActive)==null?void 0:n.value},n=>{e.isLink.value&&n!=null&&t&&yt(()=>{t(n)})},{immediate:!0})}const Sd=Symbol("rippleStop"),uR=80;function sg(e,t){e.style.transform=t,e.style.webkitTransform=t}function Ed(e){return e.constructor.name==="TouchEvent"}function tS(e){return e.constructor.name==="KeyboardEvent"}const dR=function(e,t){var u;let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=0,s=0;if(!tS(e)){const f=t.getBoundingClientRect(),h=Ed(e)?e.touches[e.touches.length-1]:e;r=h.clientX-f.left,s=h.clientY-f.top}let i=0,o=.3;(u=t._ripple)!=null&&u.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`,d=n.center?c:`${s-i}px`;return{radius:i,scale:o,x:l,y:d,centerX:a,centerY:c}},Nc={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:d}=dR(e,t,n),u=`${i*2}px`;s.className="v-ripple__animation",s.style.width=u,s.style.height=u,t.appendChild(r);const f=window.getComputedStyle(t);f&&f.position==="static"&&(t.style.position="relative",t.dataset.previousPosition="static"),s.classList.add("v-ripple__animation--enter"),s.classList.add("v-ripple__animation--visible"),sg(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"),sg(s,`translate(${l}, ${d}) 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 nS(e){return typeof e>"u"||!!e}function Vo(e){const t={},n=e.currentTarget;if(!(!(n!=null&&n._ripple)||n._ripple.touched||e[Sd])){if(e[Sd]=!0,Ed(e))n._ripple.touched=!0,n._ripple.isTouch=!0;else if(n._ripple.isTouch)return;if(t.center=n._ripple.centered||tS(e),n._ripple.class&&(t.class=n._ripple.class),Ed(e)){if(n._ripple.showTimerCommit)return;n._ripple.showTimerCommit=()=>{Nc.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)},uR)}else Nc.show(e,n,t)}}function Dc(e){e[Sd]=!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)}),Nc.hide(t)}}function rS(e){const t=e.currentTarget;t!=null&&t._ripple&&(t._ripple.showTimerCommit&&(t._ripple.showTimerCommit=null),window.clearTimeout(t._ripple.showTimer))}let Uo=!1;function fR(e,t){!Uo&&t.includes(e.key)&&(Uo=!0,Vo(e))}function sS(e){Uo=!1,Zt(e)}function iS(e){Uo&&(Uo=!1,Zt(e))}function oS(e,t,n){const{value:r,modifiers:s}=t,i=nS(r);i||Nc.hide(e),e._ripple=e._ripple??{},e._ripple.enabled=i,e._ripple.centered=s.center,e._ripple.circle=s.circle;const o=cd(r)?r:{};o.class&&(e._ripple.class=o.class);const a=o.keys??["Enter","Space"];if(e._ripple.keyDownHandler=c=>fR(c,a),i&&!n){if(s.stop){e.addEventListener("touchstart",Dc,{passive:!0}),e.addEventListener("mousedown",Dc);return}e.addEventListener("touchstart",Vo,{passive:!0}),e.addEventListener("touchend",Zt,{passive:!0}),e.addEventListener("touchmove",rS,{passive:!0}),e.addEventListener("touchcancel",Zt),e.addEventListener("mousedown",Vo),e.addEventListener("mouseup",Zt),e.addEventListener("mouseleave",Zt),e.addEventListener("keydown",e._ripple.keyDownHandler),e.addEventListener("keyup",sS),e.addEventListener("blur",iS),e.addEventListener("dragstart",Zt,{passive:!0})}else!i&&n&&aS(e)}function aS(e){var t;e.removeEventListener("touchstart",Dc),e.removeEventListener("mousedown",Dc),e.removeEventListener("touchstart",Vo),e.removeEventListener("touchend",Zt),e.removeEventListener("touchmove",rS),e.removeEventListener("touchcancel",Zt),e.removeEventListener("mousedown",Vo),e.removeEventListener("mouseup",Zt),e.removeEventListener("mouseleave",Zt),(t=e._ripple)!=null&&t.keyDownHandler&&e.removeEventListener("keydown",e._ripple.keyDownHandler),e.removeEventListener("keyup",sS),e.removeEventListener("blur",iS),e.removeEventListener("dragstart",Zt)}function hR(e,t){oS(e,t,!1)}function pR(e){aS(e),delete e._ripple}function mR(e,t){if(t.value===t.oldValue)return;const n=nS(t.oldValue);oS(e,t,n)}const Wo={mounted:hR,unmounted:pR,updated:mR},gR=ue({active:{type:Boolean,default:void 0},activeColor:String,baseColor:String,symbol:{type:null,default:Xb},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:Et,appendIcon:Et,block:Boolean,readonly:Boolean,slim:Boolean,stacked:Boolean,spaced:String,ripple:{type:[Boolean,Object],default:!0},text:{type:[String,Number,Boolean],default:void 0},...Fi(),...ct(),...Ms(),...Hi(),...oa(),...Ux(),...Qb(),...Il(),...eh(),...yr(),...rh(),...Tl(),...Pt({tag:"button"}),...nn(),...Ps({variant:"elevated"})},"VBtn"),cS=$e()({name:"VBtn",props:gR(),emits:{"group:selected":e=>!0},setup(e,t){let{attrs:n,slots:r}=t;const{themeClasses:s}=mn(e),{borderClasses:i}=$i(e),{densityClasses:o}=Bi(e),{dimensionStyles:a}=Vi(e),{elevationClasses:c}=aa(e),{loaderClasses:l}=eS(e),{locationStyles:d}=Qf(e),{positionClasses:u}=th(e),{roundedClasses:f}=_r(e),{sizeClasses:h,sizeStyles:p}=kl(e),m=Wx(e,e.symbol,!1),v=nh(e,n),g=j(()=>{var M;return e.active!==void 0?e.active:v.isRouterLink.value?(M=v.isActive)==null?void 0:M.value:m==null?void 0:m.isSelected.value}),y=ee(()=>g.value?e.activeColor??e.color:e.color),C=j(()=>{var T,O;return{color:(m==null?void 0:m.isSelected.value)&&(!v.isLink.value||((T=v.isActive)==null?void 0:T.value))||!m||((O=v.isActive)==null?void 0:O.value)?y.value??e.baseColor:e.baseColor,variant:e.variant}}),{colorClasses:w,colorStyles:I,variantClasses:x}=la(C),S=j(()=>(m==null?void 0:m.disabled.value)||e.disabled),b=ee(()=>e.variant==="elevated"&&!(e.disabled||e.flat||e.border)),k=j(()=>{if(!(e.value===void 0||typeof e.value=="symbol"))return Object(e.value)===e.value?JSON.stringify(e.value,null,0):e.value});function R(M){var T,O;S.value||v.isLink.value&&(M.metaKey||M.ctrlKey||M.shiftKey||M.button!==0||n.target==="_blank")||(v.isRouterLink.value?(O=(T=v.navigate).value)==null||O.call(T,M):m==null||m.toggle())}return lR(v,m==null?void 0:m.select),tt(()=>{const M=v.isLink.value?"a":e.tag,T=!!(e.prependIcon||r.prepend),O=!!(e.appendIcon||r.append),$=!!(e.icon&&e.icon!==!0);return ws(H(M,Je(v.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":S.value,"v-btn--elevated":b.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,w.value,o.value,c.value,l.value,u.value,f.value,h.value,x.value,e.class],style:[I.value,a.value,d.value,p.value,e.style],"aria-busy":e.loading?!0:void 0,disabled:S.value&&M!=="a"||void 0,tabindex:e.loading||e.readonly?-1:void 0,onClick:R,value:k.value}),{default:()=>{var K;return[ca(!0,"v-btn"),!e.icon&&T&&ae("span",{key:"prepend",class:"v-btn__prepend"},[r.prepend?H(un,{key:"prepend-defaults",disabled:!e.prependIcon,defaults:{VIcon:{icon:e.prependIcon}}},r.prepend):H(Wn,{key:"prepend-icon",icon:e.prependIcon},null)]),ae("span",{class:"v-btn__content","data-no-activator":""},[!r.default&&$?H(Wn,{key:"content-icon",icon:e.icon},null):H(un,{key:"content-defaults",disabled:!$,defaults:{VIcon:{icon:e.icon}}},{default:()=>{var Z;return[((Z=r.default)==null?void 0:Z.call(r))??bn(e.text)]}})]),!e.icon&&O&&ae("span",{key:"append",class:"v-btn__append"},[r.append?H(un,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VIcon:{icon:e.appendIcon}}},r.append):H(Wn,{key:"append-icon",icon:e.appendIcon},null)]),!!e.loading&&ae("span",{key:"loader",class:"v-btn__loader"},[((K=r.loader)==null?void 0:K.call(r))??H(eR,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,width:"2"},null)])]}}),[[Wo,!S.value&&e.ripple,"",{center:!!e.icon}]])}),{group:m}}});function mu(e,t){return{x:e.x+t.x,y:e.y+t.y}}function vR(e,t){return{x:e.x-t.x,y:e.y-t.y}}function ig(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 mu({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 mu({x:s,y:i},t)}return mu({x:t.width/2,y:t.height/2},t)}const lS={static:bR,connected:ER},yR=ue({locationStrategy:{type:[String,Function],default:"static",validator:e=>typeof e=="function"||e in lS},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 _R(e,t){const n=we({}),r=we();et&&Di(()=>!!(t.isActive.value&&e.locationStrategy),a=>{var c,l;Se(()=>e.locationStrategy,a),Ct(()=>{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=lS[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 bR(){}function SR(e,t){const n=cb(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 ER(e,t,n){(Array.isArray(e.target.value)||qT(e.target.value))&&Object.assign(n.value,{position:"fixed",top:0,[e.isRtl.value?"right":"left"]:0});const{preferredAnchor:s,preferredOrigin:i}=Hf(()=>{const g=ud(t.location,e.isRtl.value),y=t.origin==="overlap"?g:t.origin==="auto"?su(g):ud(t.origin,e.isRtl.value);return g.side===y.side&&g.align===iu(y).align?{preferredAnchor:cm(g),preferredOrigin:cm(y)}:{preferredAnchor:g,preferredOrigin:y}}),[o,a,c,l]=["minWidth","minHeight","maxWidth","maxHeight"].map(g=>j(()=>{const y=parseFloat(t[g]);return isNaN(y)?1/0:y})),d=j(()=>{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 u=!1,f=-1;const h=new oT(4),p=new ResizeObserver(()=>{if(!u)return;if(requestAnimationFrame(y=>{y!==f&&h.clear(),requestAnimationFrame(C=>{f=C})}),h.isFull){const y=h.values();if(gs(y.at(-1),y.at(-3))&&!gs(y.at(-1),y.at(-2)))return}const g=v();g&&h.push(g.flipped)});let m=new ln({x:0,y:0,width:0,height:0});Se(e.target,(g,y)=>{y&&!Array.isArray(y)&&p.unobserve(y),Array.isArray(g)?gs(g,y)||v():g&&p.observe(g)},{immediate:!0}),Se(e.contentEl,(g,y)=>{y&&p.unobserve(y),g&&p.observe(g)},{immediate:!0}),Ct(()=>{p.disconnect()});function v(){if(u=!1,requestAnimationFrame(()=>u=!0),!e.target.value||!e.contentEl.value)return;(Array.isArray(e.target.value)||e.target.value.offsetParent||e.target.value.getClientRects().length)&&(m=ab(e.target.value));const g=SR(e.contentEl.value,e.isRtl.value),y=Mc(e.contentEl.value),C=Number(t.viewportMargin);y.length||(y.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 w=y.reduce((O,$)=>{const K=hT($);return O?new ln({x:Math.max(O.left,K.left),y:Math.max(O.top,K.top),width:Math.min(O.right,K.right)-Math.max(O.left,K.left),height:Math.min(O.bottom,K.bottom)-Math.max(O.top,K.top)}):K},void 0);t.stickToTarget?(w.x+=Math.min(C,m.x),w.y+=Math.min(C,m.y),w.width=Math.max(w.width-C*2,m.x+m.width-C),w.height=Math.max(w.height-C*2,m.y+m.height-C)):(w.x+=C,w.y+=C,w.width-=C*2,w.height-=C*2);let I={anchor:s.value,origin:i.value};function x(O){const $=new ln(g),K=ig(O.anchor,m),Z=ig(O.origin,$);let{x:z,y:N}=vR(K,Z);switch(O.anchor.side){case"top":N-=d.value[0];break;case"bottom":N+=d.value[0];break;case"left":z-=d.value[0];break;case"right":z+=d.value[0];break}switch(O.anchor.align){case"top":N-=d.value[1];break;case"bottom":N+=d.value[1];break;case"left":z-=d.value[1];break;case"right":z+=d.value[1];break}return $.x+=z,$.y+=N,$.width=Math.min($.width,c.value),$.height=Math.min($.height,l.value),{overflows:um($,w),x:z,y:N}}let S=0,b=0;const k={x:0,y:0},R={x:!1,y:!1};let M=-1;for(;!(M++>10);){const{x:O,y:$,overflows:K}=x(I);S+=O,b+=$,g.x+=O,g.y+=$;{const Z=lm(I.anchor),z=K.x.before||K.x.after,N=K.y.before||K.y.after;let oe=!1;if(["x","y"].forEach(U=>{if(U==="x"&&z&&!R.x||U==="y"&&N&&!R.y){const J={anchor:{...I.anchor},origin:{...I.origin}},re=U==="x"?Z==="y"?iu:su:Z==="y"?su:iu;J.anchor=re(J.anchor),J.origin=re(J.origin);const{overflows:ie}=x(J);(ie[U].before<=K[U].before&&ie[U].after<=K[U].after||ie[U].before+ie[U].after<(K[U].before+K[U].after)/2)&&(I=J,oe=R[U]=!0)}}),oe)continue}K.x.before&&(S+=K.x.before,g.x+=K.x.before),K.x.after&&(S-=K.x.after,g.x-=K.x.after),K.y.before&&(b+=K.y.before,g.y+=K.y.before),K.y.after&&(b-=K.y.after,g.y-=K.y.after);{const Z=um(g,w);k.x=w.width-Z.x.before-Z.x.after,k.y=w.height-Z.y.before-Z.y.after,S+=Z.x.before,g.x+=Z.x.before,b+=Z.y.before,g.y+=Z.y.before}break}const T=lm(I.anchor);return Object.assign(n.value,{"--v-overlay-anchor-origin":`${I.anchor.side} ${I.anchor.align}`,transformOrigin:`${I.origin.side} ${I.origin.align}`,top:ge(gu(b)),left:e.isRtl.value?void 0:ge(gu(S)),right:e.isRtl.value?ge(gu(-S)):void 0,minWidth:ge(T==="y"?Math.min(o.value,m.width):o.value),maxWidth:ge(og(cr(k.x,o.value===1/0?0:o.value,c.value))),maxHeight:ge(og(cr(k.y,a.value===1/0?0:a.value,l.value)))}),{available:k,contentBox:g,flipped:R}}return Se(()=>[s.value,i.value,t.offset,t.minWidth,t.minHeight,t.maxWidth,t.maxHeight],()=>v()),yt(()=>{const g=v();if(!g)return;const{available:y,contentBox:C}=g;C.height>y.y&&requestAnimationFrame(()=>{v(),requestAnimationFrame(()=>{v()})})}),{updateLocation:v}}function gu(e){return Math.round(e*devicePixelRatio)/devicePixelRatio}function og(e){return Math.ceil(e*devicePixelRatio)/devicePixelRatio}let wd=!0;const Fc=[];function wR(e){!wd||Fc.length?(Fc.push(e),Cd()):(wd=!1,e(),Cd())}let ag=-1;function Cd(){cancelAnimationFrame(ag),ag=requestAnimationFrame(()=>{const e=Fc.shift();e&&e(),Fc.length?Cd():wd=!0})}const tc={none:null,close:kR,block:IR,reposition:xR},CR=ue({scrollStrategy:{type:[String,Function],default:"block",validator:e=>typeof e=="function"||e in tc}},"VOverlay-scroll-strategies");function TR(e,t){if(!et)return;let n;hn(async()=>{n==null||n.stop(),t.isActive.value&&e.scrollStrategy&&(n=Es(),await new Promise(r=>setTimeout(r)),n.active&&n.run(()=>{var r;typeof e.scrollStrategy=="function"?e.scrollStrategy(t,e,n):(r=tc[e.scrollStrategy])==null||r.call(tc,t,e,n)}))}),Ct(()=>{n==null||n.stop()})}function kR(e){function t(n){e.isActive.value=!1}uS(sh(e.target.value,e.contentEl.value),t)}function IR(e,t){var a;const n=(a=e.root.value)==null?void 0:a.offsetParent,r=sh(e.target.value,e.contentEl.value),s=[...new Set([...Mc(r,t.contained?n:void 0),...Mc(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",ge(-c.scrollLeft)),c.style.setProperty("--v-body-scroll-y",ge(-c.scrollTop)),c!==document.documentElement&&c.style.setProperty("--v-scrollbar-offset",ge(i)),c.classList.add("v-overlay-scroll-blocked")}),Ct(()=>{s.forEach((c,l)=>{const d=parseFloat(c.style.getPropertyValue("--v-body-scroll-x")),u=parseFloat(c.style.getPropertyValue("--v-body-scroll-y")),f=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=-d,c.scrollTop=-u,c.style.scrollBehavior=f}),o&&e.root.value.classList.remove("v-overlay--scroll-blocked")})}function xR(e,t,n){let r=!1,s=-1,i=-1;function o(a){wR(()=>{var d,u;const c=performance.now();(u=(d=e.updateLocation).value)==null||u.call(d,a),r=(performance.now()-c)/(1e3/60)>2})}i=(typeof requestIdleCallback>"u"?a=>a():requestIdleCallback)(()=>{n.run(()=>{uS(sh(e.target.value,e.contentEl.value),a=>{r?(cancelAnimationFrame(s),s=requestAnimationFrame(()=>{s=requestAnimationFrame(()=>{o(a)})})):o(a)})})}),Ct(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(i),cancelAnimationFrame(s)})}function sh(e,t){return Array.isArray(e)?document.elementsFromPoint(...e).find(n=>!(t!=null&&t.contains(n))):e??t}function uS(e,t){const n=[document,...Mc(e)];n.forEach(r=>{r.addEventListener("scroll",t,{passive:!0})}),Ct(()=>{n.forEach(r=>{r.removeEventListener("scroll",t)})})}const RR=Symbol.for("vuetify:v-menu"),AR=ue({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function MR(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(d=>{n=uT(l,()=>{t==null||t(o),d(o)})})}function s(){return r(!0)}function i(o){return r(!1,o)}return{clearDelay:n,runOpenDelay:s,runCloseDelay:i}}const PR=ue({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,...AR()},"VOverlay-activator");function OR(e,t){let{isActive:n,isTop:r,contentEl:s}=t;const i=mt("useActivator"),o=we();let a=!1,c=!1,l=!0;const d=j(()=>e.openOnFocus||e.openOnFocus==null&&e.openOnHover),u=j(()=>e.openOnClick||e.openOnClick==null&&!e.openOnHover&&!d.value),{runOpenDelay:f,runCloseDelay:h}=MR(e,b=>{b===(e.openOnHover&&a||d.value&&c)&&!(e.openOnHover&&n.value&&!r.value)&&(n.value!==b&&(l=!0),n.value=b)}),p=we(),m={onClick:b=>{b.stopPropagation(),o.value=b.currentTarget||b.target,n.value||(p.value=[b.clientX,b.clientY]),n.value=!n.value},onMouseenter:b=>{a=!0,o.value=b.currentTarget||b.target,f()},onMouseleave:b=>{a=!1,h()},onFocus:b=>{cT(b.target,":focus-visible")!==!1&&(c=!0,b.stopPropagation(),o.value=b.currentTarget||b.target,f())},onBlur:b=>{c=!1,b.stopPropagation(),h({minDelay:1})}},v=j(()=>{const b={};return u.value&&(b.onClick=m.onClick),e.openOnHover&&(b.onMouseenter=m.onMouseenter,b.onMouseleave=m.onMouseleave),d.value&&(b.onFocus=m.onFocus,b.onBlur=m.onBlur),b}),g=j(()=>{const b={};if(e.openOnHover&&(b.onMouseenter=()=>{a=!0,f()},b.onMouseleave=()=>{a=!1,h()}),d.value&&(b.onFocusin=k=>{k.target.matches(":focus-visible")&&(c=!0,f())},b.onFocusout=()=>{c=!1,h({minDelay:1})}),e.closeOnContentClick){const k=Ne(RR,null);b.onClick=()=>{n.value=!1,k==null||k.closeParents()}}return b}),y=j(()=>{const b={};return e.openOnHover&&(b.onMouseenter=()=>{l&&(a=!0,l=!1,f())},b.onMouseleave=()=>{a=!1,h()}),b});Se(r,b=>{var k;b&&(e.openOnHover&&!a&&(!d.value||!c)||d.value&&!c&&(!e.openOnHover||!a))&&!((k=s.value)!=null&&k.contains(document.activeElement))&&(n.value=!1)}),Se(n,b=>{b||setTimeout(()=>{p.value=void 0})},{flush:"post"});const C=ld();hn(()=>{C.value&&yt(()=>{o.value=C.el})});const w=ld(),I=j(()=>e.target==="cursor"&&p.value?p.value:w.value?w.el:dS(e.target,i)||o.value),x=j(()=>Array.isArray(I.value)?void 0:I.value);let S;return Se(()=>!!e.activator,b=>{b&&et?(S=Es(),S.run(()=>{LR(e,i,{activatorEl:o,activatorEvents:v})})):S&&S.stop()},{flush:"post",immediate:!0}),Ct(()=>{S==null||S.stop()}),{activatorEl:o,activatorRef:C,target:I,targetEl:x,targetRef:w,activatorEvents:v,contentEvents:g,scrimEvents:y}}function LR(e,t,n){let{activatorEl:r,activatorEvents:s}=n;Se(()=>e.activator,(c,l)=>{if(l&&c!==l){const d=a(l);d&&o(d)}c&&yt(()=>i())},{immediate:!0}),Se(()=>e.activatorProps,()=>{i()}),Ct(()=>{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&&pT(c,Je(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&&mT(c,Je(s.value,l))}function a(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activator;const l=dS(c,t);return r.value=(l==null?void 0:l.nodeType)===Node.ELEMENT_NODE?l:void 0,r.value}}function dS(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 NR=ue({retainFocus:Boolean,captureFocus:Boolean,disableInitialFocus:Boolean},"focusTrap"),nc=new Map;let cg=0;function lg(e){const t=document.activeElement;if(e.key!=="Tab"||!t)return;const n=Array.from(nc.values()).filter(l=>{var f;let{isActive:d,contentEl:u}=l;return d.value&&((f=u.value)==null?void 0:f.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=_o(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 DR(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 d(h){var v;const p=h.relatedTarget,m=h.target;document.removeEventListener("pointerdown",l),document.removeEventListener("keydown",u),await yt(),n.value&&!a&&p!==m&&i.value&&vt(r)&&![document,i.value].includes(m)&&!i.value.contains(m)&&((v=_o(i.value)[0])==null||v.focus())}function u(h){if(h.key==="Tab"&&(document.removeEventListener("keydown",u),n.value&&i.value&&h.target&&!i.value.contains(h.target))){const p=_o(document.documentElement);if(h.shiftKey&&h.target===p.at(0)||!h.shiftKey&&h.target===p.at(-1)){const m=_o(i.value);m.length>0&&(h.preventDefault(),m[0].focus())}}}const f=ee(()=>n.value&&e.captureFocus&&!e.disableInitialFocus);et&&(Se(()=>e.retainFocus,h=>{h?nc.set(o,{isActive:n,contentEl:i}):nc.delete(o)},{immediate:!0}),Se(f,h=>{h?(document.addEventListener("pointerdown",l),document.addEventListener("focusin",d,{once:!0}),document.addEventListener("keydown",u)):(document.removeEventListener("pointerdown",l),document.removeEventListener("focusin",d),document.removeEventListener("keydown",u))},{immediate:!0}),cg++<1&&document.addEventListener("keydown",lg)),Ct(()=>{nc.delete(o),clearTimeout(c),document.removeEventListener("pointerdown",l),document.removeEventListener("focusin",d),document.removeEventListener("keydown",u),--cg<1&&document.removeEventListener("keydown",lg)})}function FR(){if(!et)return be(!1);const{ssr:e}=qk();if(e){const t=be(!1);return gr(()=>{t.value=!0}),t}else return be(!0)}const $R=ue({eager:Boolean},"lazy");function BR(e,t){const n=be(!1),r=ee(()=>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 ih(){const t=mt("useScopeId").vnode.scopeId;return{scopeId:t?{[t]:""}:void 0}}const ug=Symbol.for("vuetify:stack"),so=pt([]);function HR(e,t,n){const r=mt("useStack"),s=!n,i=Ne(ug,void 0),o=pt({activeChildren:new Set});Mt(ug,o);const a=be(Number(vt(t)));Di(e,()=>{var u;const d=(u=so.at(-1))==null?void 0:u[1];a.value=d?d+10:Number(vt(t)),s&&so.push([r.uid,a.value]),i==null||i.activeChildren.add(r.uid),Ct(()=>{if(s){const f=fe(so).findIndex(h=>h[0]===r.uid);so.splice(f,1)}i==null||i.activeChildren.delete(r.uid)})});const c=be(!0);return s&&hn(()=>{var u;const d=((u=so.at(-1))==null?void 0:u[0])===r.uid;setTimeout(()=>c.value=d)}),{globalTop:hi(c),localTop:ee(()=>!o.activeChildren.size),stackStyles:ee(()=>({zIndex:a.value}))}}function VR(e){return{teleportTarget:j(()=>{const n=e();if(n===!0||!et)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 fS=ue({transition:{type:null,default:"fade-transition",validator:e=>e!==!0}},"transition"),Qs=(e,t)=>{let{slots:n}=t;const{transition:r,disabled:s,group:i,...o}=e,{component:a=i?Nf:Hr,...c}=cd(r)?r:{};let l;return cd(r)?l=Je(c,dT({disabled:s,group:i}),o):l=Je({name:s||!r?"":r},o),qr(a,l,n)};function UR(){return!0}function hS(e,t,n){if(!e||pS(e,n)===!1)return!1;const r=pb(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 pS(e,t){return(typeof t.value=="object"&&t.value.closeConditional||UR)(e)}function WR(e,t,n){const r=typeof n.value=="function"?n.value:n.value.handler;e.shadowTarget=e.target,t._clickOutside.lastMousedownWasOutside&&hS(e,t,n)&&setTimeout(()=>{pS(e,n)&&r&&r(e)},0)}function dg(e,t){const n=pb(e);t(document),typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&t(n)}const fg={mounted(e,t){const n=s=>WR(s,e,t),r=s=>{e._clickOutside.lastMousedownWasOutside=hS(s,e,t)};dg(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&&(dg(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 jR(e){const{modelValue:t,color:n,...r}=e;return H(Hr,{name:"fade-transition",appear:!0},{default:()=>[e.modelValue&&ae("div",Je({class:["v-overlay__scrim",e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},r),null)]})}const oh=ue({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},...PR(),...ct(),...Hi(),...$R(),...yR(),...CR(),...NR(),...nn(),...fS()},"VOverlay"),$c=$e()({name:"VOverlay",directives:{vClickOutside:fg},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...As(oh(),["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=mt("VOverlay"),o=we(),a=we(),c=we(),l=Un(e,"modelValue"),d=j({get:()=>l.value,set:P=>{P&&e.disabled||(l.value=P)}}),{themeClasses:u}=mn(e),{rtlClasses:f,isRtl:h}=sa(),{hasContent:p,onAfterLeave:m}=BR(e,d),v=li(()=>typeof e.scrim=="string"?e.scrim:null),{globalTop:g,localTop:y,stackStyles:C}=HR(d,()=>e.zIndex,e._disableGlobalStack),{activatorEl:w,activatorRef:I,target:x,targetEl:S,targetRef:b,activatorEvents:k,contentEvents:R,scrimEvents:M}=OR(e,{isActive:d,isTop:y,contentEl:c}),{teleportTarget:T}=VR(()=>{var X,G,de;const P=e.attach||e.contained;if(P)return P;const W=((X=w==null?void 0:w.value)==null?void 0:X.getRootNode())||((de=(G=i.proxy)==null?void 0:G.$el)==null?void 0:de.getRootNode());return W instanceof ShadowRoot?W:!1}),{dimensionStyles:O}=Vi(e),$=FR(),{scopeId:K}=ih();Se(()=>e.disabled,P=>{P&&(d.value=!1)});const{contentStyles:Z,updateLocation:z}=_R(e,{isRtl:h,contentEl:c,target:x,isActive:d});TR(e,{root:o,contentEl:c,targetEl:S,target:x,isActive:d,updateLocation:z});function N(P){s("click:outside",P),e.persistent?Ee():d.value=!1}function oe(P){return d.value&&y.value&&(!e.scrim||P.target===a.value||P instanceof MouseEvent&&P.shadowTarget===a.value)}DR(e,{isActive:d,localTop:y,contentEl:c,activatorEl:w}),et&&Se(d,P=>{P?window.addEventListener("keydown",U):window.removeEventListener("keydown",U)},{immediate:!0}),kn(()=>{et&&window.removeEventListener("keydown",U)});function U(P){var W,X,G;P.key==="Escape"&&g.value&&((W=c.value)!=null&&W.contains(document.activeElement)||s("keydown",P),e.persistent?Ee():(d.value=!1,(X=c.value)!=null&&X.contains(document.activeElement)&&((G=w.value)==null||G.focus())))}function J(P){P.key==="Escape"&&!g.value||s("keydown",P)}const re=aR();Di(()=>e.closeOnBack,()=>{cR(re,P=>{g.value&&d.value?(P(!1),e.persistent?Ee():d.value=!1):P()})});const ie=we();Se(()=>d.value&&(e.absolute||e.contained)&&T.value==null,P=>{if(P){const W=jT(o.value);W&&W!==document.scrollingElement&&(ie.value=W.scrollTop)}});function Ee(){e.noClickAnimation||c.value&&ss(c.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:fd})}function Me(){s("afterEnter")}function De(){m(),s("afterLeave")}return tt(()=>{var P;return ae(Qe,null,[(P=n.activator)==null?void 0:P.call(n,{isActive:d.value,targetRef:b,props:Je({ref:I},k.value,e.activatorProps)}),$.value&&p.value&&H(C1,{disabled:!T.value,to:T.value},{default:()=>[ae("div",Je({class:["v-overlay",{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":d.value,"v-overlay--contained":e.contained},u.value,f.value,e.class],style:[C.value,{"--v-overlay-opacity":e.opacity,top:ge(ie.value)},e.style],ref:o,onKeydown:J},K,r),[H(jR,Je({color:v,modelValue:d.value&&!!e.scrim,ref:a},M.value),null),H(Qs,{appear:!0,persisted:!0,transition:e.transition,target:x.value,onAfterEnter:Me,onAfterLeave:De},{default:()=>{var W;return[ws(ae("div",Je({ref:c,class:["v-overlay__content",e.contentClass],style:[O.value,Z.value]},R.value,e.contentProps),[(W=n.default)==null?void 0:W.call(n,{isActive:d})]),[[Lf,d.value],[fg,{handler:N,closeConditional:oe,include:()=>[w.value]}]])]}})])]})])}),{activatorEl:w,scrimEl:a,target:x,animateClick:Ee,contentEl:c,rootEl:o,globalTop:g,localTop:y,updateLocation:z}}}),vu=Symbol("Forwarded refs");function yu(e,t){let n=e;for(;n;){const r=Reflect.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function mS(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e[vu]=n,new Proxy(e,{get(s,i){if(Reflect.has(s,i))return Reflect.get(s,i);if(!(typeof i=="symbol"||i.startsWith("$")||i.startsWith("__"))){for(const o of n)if(o.value&&Reflect.has(o.value,i)){const a=Reflect.get(o.value,i);return typeof a=="function"?a.bind(o.value):a}}},has(s,i){if(Reflect.has(s,i))return!0;if(typeof i=="symbol"||i.startsWith("$")||i.startsWith("__"))return!1;for(const o of n)if(o.value&&Reflect.has(o.value,i))return!0;return!1},set(s,i,o){if(Reflect.has(s,i))return Reflect.set(s,i,o);if(typeof i=="symbol"||i.startsWith("$")||i.startsWith("__"))return!1;for(const a of n)if(a.value&&Reflect.has(a.value,i))return Reflect.set(a.value,i,o);return!1},getOwnPropertyDescriptor(s,i){var a;const o=Reflect.getOwnPropertyDescriptor(s,i);if(o)return o;if(!(typeof i=="symbol"||i.startsWith("$")||i.startsWith("__"))){for(const c of n){if(!c.value)continue;const l=yu(c.value,i)??("_"in c.value?yu((a=c.value._)==null?void 0:a.setupState,i):void 0);if(l)return l}for(const c of n){const l=c.value&&c.value[vu];if(!l)continue;const d=l.slice();for(;d.length;){const u=d.shift(),f=yu(u.value,i);if(f)return f;const h=u.value&&u.value[vu];h&&d.push(...h)}}}}})}function zR(e){const t=be(e());let n=-1;function r(){clearInterval(n)}function s(){r(),yt(()=>t.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 d=performance.now()-l+c;t.value=Math.max(e()-d,0),t.value<=0&&r()},c)}return Ct(r),{clear:r,time:t,start:i,reset:s}}const qR=ue({multiLine:Boolean,text:String,timer:[Boolean,String],timeout:{type:[Number,String],default:5e3},vertical:Boolean,...Il({location:"bottom"}),...eh(),...yr(),...Ps(),...nn(),...As(oh({transition:"v-snackbar-transition"}),["persistent","noClickAnimation","retainFocus","captureFocus","disableInitialFocus","scrim","scrollStrategy","stickToTarget","viewportMargin"])},"VSnackbar"),GR=$e()({name:"VSnackbar",props:qR(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=Un(e,"modelValue"),{positionClasses:s}=th(e),{scopeId:i}=ih(),{themeClasses:o}=mn(e),{colorClasses:a,colorStyles:c,variantClasses:l}=la(e),{roundedClasses:d}=_r(e),u=zR(()=>Number(e.timeout)),f=we(),h=we(),p=be(!1),m=be(0),v=we(),g=Ne(Bo,void 0);Di(()=>!!g,()=>{const M=iI();hn(()=>{v.value=M.mainStyles.value})}),Se(r,C),Se(()=>e.timeout,C),gr(()=>{r.value&&C()});let y=-1;function C(){u.reset(),window.clearTimeout(y);const M=Number(e.timeout);if(!r.value||M===-1)return;const T=Ff(h.value);u.start(T),y=window.setTimeout(()=>{r.value=!1},M)}function w(){u.reset(),window.clearTimeout(y)}function I(){p.value=!0,w()}function x(){p.value=!1,C()}function S(M){m.value=M.touches[0].clientY}function b(M){Math.abs(m.value-M.changedTouches[0].clientY)>50&&(r.value=!1)}function k(){p.value&&x()}const R=j(()=>e.location.split(" ").reduce((M,T)=>(M[`v-snackbar--${T}`]=!0,M),{}));return tt(()=>{const M=$c.filterProps(e),T=!!(n.default||n.text||e.text);return H($c,Je({ref:f,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},R.value,s.value,e.class],style:[v.value,e.style]},M,{modelValue:r.value,"onUpdate:modelValue":O=>r.value=O,contentProps:Je({class:["v-snackbar__wrapper",o.value,a.value,d.value,l.value],style:[c.value],onPointerenter:I,onPointerleave:x},M.contentProps),persistent:!0,noClickAnimation:!0,scrim:!1,scrollStrategy:"none",_disableGlobalStack:!0,onTouchstartPassive:S,onTouchend:b,onAfterLeave:k},i),{default:()=>{var O,$;return[ca(!1,"v-snackbar"),e.timer&&!p.value&&ae("div",{key:"timer",class:"v-snackbar__timer"},[H(Zb,{ref:h,color:typeof e.timer=="string"?e.timer:"info",max:e.timeout,modelValue:u.time.value},null)]),T&&ae("div",{key:"content",class:"v-snackbar__content",role:"status","aria-live":"polite"},[((O=n.text)==null?void 0:O.call(n))??e.text,($=n.default)==null?void 0:$.call(n)]),n.actions&&H(un,{defaults:{VBtn:{variant:"text",ripple:!1,slim:!0}}},{default:()=>[ae("div",{class:"v-snackbar__actions"},[n.actions({isActive:r})])]})]},activator:n.activator})}),mS({},f)}}),KR=fl({name:"GlobalMessage",setup(){var i;const e=we(!1),t=we(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=Ys==null?void 0:Ys.onSnackbar)==null?void 0:i.call(Ys,async o=>{o&&(e.value&&(e.value=!1,await yt()),t.value=o,e.value=!0)});return kn(()=>s==null?void 0:s()),{snackbar:e,message:t,icons:n,colors:r}}}),YR={class:"d-flex align-center"},XR={class:"text-subtitle-2 font-weight-medium"},JR={key:0,class:"text-body-2"};function ZR(e,t,n,r,s,i){var o;return cn(),$n(GR,{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:gt(()=>[H(cS,{icon:"mdi-close",variant:"text",onClick:t[0]||(t[0]=a=>e.snackbar=!1)})]),default:gt(()=>{var a,c,l,d;return[ae("div",YR,[H(Wn,{icon:e.icons[(a=e.message)==null?void 0:a.type]||e.icons.info,class:"mr-2"},null,8,["icon"]),ae("div",null,[ae("div",XR,bn((c=e.message)==null?void 0:c.title),1),(l=e.message)!=null&&l.content?(cn(),F_("div",JR,bn((d=e.message)==null?void 0:d.content),1)):rd("",!0)])])]}),_:1},8,["modelValue","color"])}const gS=Gb(KR,[["render",ZR]]),QR=ue({...ct(),...Pt()},"VCardActions"),vS=$e()({name:"VCardActions",props:QR(),setup(e,t){let{slots:n}=t;return _l({VBtn:{slim:!0,variant:"text"}}),tt(()=>H(e.tag,{class:Le(["v-card-actions",e.class]),style:Xe(e.style)},n)),{}}}),eA=ue({opacity:[Number,String],...ct(),...Pt()},"VCardSubtitle"),tA=$e()({name:"VCardSubtitle",props:eA(),setup(e,t){let{slots:n}=t;return tt(()=>H(e.tag,{class:Le(["v-card-subtitle",e.class]),style:Xe([{"--v-card-subtitle-opacity":e.opacity},e.style])},n)),{}}}),yS=Wf("v-card-title");function nA(e){return{aspectStyles:j(()=>{const t=Number(e.aspectRatio);return t?{paddingBottom:String(1/t*100)+"%"}:void 0})}}const _S=ue({aspectRatio:[String,Number],contentClass:null,inline:Boolean,...ct(),...Hi()},"VResponsive"),hg=$e()({name:"VResponsive",props:_S(),setup(e,t){let{slots:n}=t;const{aspectStyles:r}=nA(e),{dimensionStyles:s}=Vi(e);return tt(()=>{var i;return ae("div",{class:Le(["v-responsive",{"v-responsive--inline":e.inline},e.class]),style:Xe([s.value,e.style])},[ae("div",{class:"v-responsive__sizer",style:Xe(r.value)},null),(i=n.additional)==null?void 0:i.call(n),n.default&&ae("div",{class:Le(["v-responsive__content",e.contentClass])},[n.default()])])}),{}}});function pg(e,t){if(!Df)return;const n=t.modifiers||{},r=t.value,{handler:s,options:i}=typeof r=="object"?r:{handler:r,options:{}},o=new IntersectionObserver(function(){var u;let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],c=arguments.length>1?arguments[1]:void 0;const l=(u=e._observe)==null?void 0:u[t.instance.$.uid];if(!l)return;const d=a.some(f=>f.isIntersecting);s&&(!n.quiet||l.init)&&(!n.once||d||l.init)&&s(d,a,c),d&&n.once?Td(e,t):l.init=!0},i);e._observe=Object(e._observe),e._observe[t.instance.$.uid]={init:!1,observer:o},o.observe(e)}function Td(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 mg={mounted:pg,unmounted:Td,updated:(e,t)=>{var n;(n=e._observe)!=null&&n[t.instance.$.uid]&&(Td(e,t),pg(e,t))}},rA=ue({absolute:Boolean,alt:String,cover:Boolean,color:String,draggable:{type:[Boolean,String],default:void 0},eager:Boolean,gradient:String,imageClass:null,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,..._S(),...ct(),...yr(),...fS()},"VImg"),bS=$e()({name:"VImg",directives:{vIntersect:mg},props:rA(),emits:{loadstart:e=>!0,load:e=>!0,error:e=>!0},setup(e,t){let{emit:n,slots:r}=t;const{backgroundColorClasses:s,backgroundColorStyles:i}=li(()=>e.color),{roundedClasses:o}=_r(e),a=mt("VImg"),c=be(""),l=we(),d=be(e.eager?"loading":"idle"),u=be(),f=be(),h=j(()=>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=j(()=>h.value.aspect||u.value/f.value||0);Se(()=>e.src,()=>{m(d.value!=="idle")}),Se(p,(T,O)=>{!T&&O&&l.value&&w(l.value)}),gl(()=>m());function m(T){if(!(e.eager&&T)&&!(Df&&!T&&!e.eager)){if(d.value="loading",h.value.lazySrc){const O=new Image;O.src=h.value.lazySrc,w(O,null)}h.value.src&&yt(()=>{var O;n("loadstart",((O=l.value)==null?void 0:O.currentSrc)||h.value.src),setTimeout(()=>{var $;if(!a.isUnmounted)if(($=l.value)!=null&&$.complete){if(l.value.naturalWidth||g(),d.value==="error")return;p.value||w(l.value,null),d.value==="loading"&&v()}else p.value||w(l.value),y()})})}}function v(){var T;a.isUnmounted||(y(),w(l.value),d.value="loaded",n("load",((T=l.value)==null?void 0:T.currentSrc)||h.value.src))}function g(){var T;a.isUnmounted||(d.value="error",n("error",((T=l.value)==null?void 0:T.currentSrc)||h.value.src))}function y(){const T=l.value;T&&(c.value=T.currentSrc||T.src)}let C=-1;kn(()=>{clearTimeout(C)});function w(T){let O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const $=()=>{if(clearTimeout(C),a.isUnmounted)return;const{naturalHeight:K,naturalWidth:Z}=T;K||Z?(u.value=Z,f.value=K):!T.complete&&d.value==="loading"&&O!=null?C=window.setTimeout($,O):(T.currentSrc.endsWith(".svg")||T.currentSrc.startsWith("data:image/svg+xml"))&&(u.value=1,f.value=1)};$()}const I=ee(()=>({"v-img__img--cover":e.cover,"v-img__img--contain":!e.cover})),x=()=>{var $;if(!h.value.src||d.value==="idle")return null;const T=ae("img",{class:Le(["v-img__img",I.value,e.imageClass]),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:v,onError:g},null),O=($=r.sources)==null?void 0:$.call(r);return H(Qs,{transition:e.transition,appear:!0},{default:()=>[ws(O?ae("picture",{class:"v-img__picture"},[O,T]):T,[[Lf,d.value==="loaded"]])]})},S=()=>H(Qs,{transition:e.transition},{default:()=>[h.value.lazySrc&&d.value!=="loaded"&&ae("img",{class:Le(["v-img__img","v-img__img--preload",I.value]),style:{objectPosition:e.position},crossorigin:e.crossorigin,src:h.value.lazySrc,alt:e.alt,referrerpolicy:e.referrerpolicy,draggable:e.draggable},null)]}),b=()=>r.placeholder?H(Qs,{transition:e.transition,appear:!0},{default:()=>[(d.value==="loading"||d.value==="error"&&!r.error)&&ae("div",{class:"v-img__placeholder"},[r.placeholder()])]}):null,k=()=>r.error?H(Qs,{transition:e.transition,appear:!0},{default:()=>[d.value==="error"&&ae("div",{class:"v-img__error"},[r.error()])]}):null,R=()=>e.gradient?ae("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${e.gradient})`}},null):null,M=be(!1);{const T=Se(p,O=>{O&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{M.value=!0})}),T())})}return tt(()=>{const T=hg.filterProps(e);return ws(H(hg,Je({class:["v-img",{"v-img--absolute":e.absolute,"v-img--booting":!M.value,"v-img--fit-content":e.width==="fit-content"},s.value,o.value,e.class],style:[{width:ge(e.width==="auto"?u.value:e.width)},i.value,e.style]},T,{aspectRatio:p.value,"aria-label":e.alt,role:e.alt?"img":void 0}),{additional:()=>ae(Qe,null,[H(x,null,null),H(S,null,null),H(R,null,null),H(b,null,null),H(k,null,null)]),default:r.default}),[[mg,{handler:m,options:e.options},null,{once:!0}]])}),{currentSrc:c,image:l,state:d,naturalWidth:u,naturalHeight:f}}}),sA=ue({start:Boolean,end:Boolean,icon:Et,image:String,text:String,...Fi(),...ct(),...Ms(),...yr(),...Tl(),...Pt(),...nn(),...Ps({variant:"flat"})},"VAvatar"),Bc=$e()({name:"VAvatar",props:sA(),setup(e,t){let{slots:n}=t;const{themeClasses:r}=mn(e),{borderClasses:s}=$i(e),{colorClasses:i,colorStyles:o,variantClasses:a}=la(e),{densityClasses:c}=Bi(e),{roundedClasses:l}=_r(e),{sizeClasses:d,sizeStyles:u}=kl(e);return tt(()=>H(e.tag,{class:Le(["v-avatar",{"v-avatar--start":e.start,"v-avatar--end":e.end},r.value,s.value,i.value,c.value,l.value,d.value,a.value,e.class]),style:Xe([o.value,u.value,e.style])},{default:()=>[n.default?H(un,{key:"content-defaults",defaults:{VImg:{cover:!0,src:e.image},VIcon:{icon:e.icon}}},{default:()=>[n.default()]}):e.image?H(bS,{key:"image",src:e.image,alt:"",cover:!0},null):e.icon?H(Wn,{key:"icon",icon:e.icon},null):e.text,ca(!1,"v-avatar")]})),{}}}),iA=ue({appendAvatar:String,appendIcon:Et,prependAvatar:String,prependIcon:Et,subtitle:{type:[String,Number,Boolean],default:void 0},title:{type:[String,Number,Boolean],default:void 0},...ct(),...Ms(),...Pt()},"VCardItem"),oA=$e()({name:"VCardItem",props:iA(),setup(e,t){let{slots:n}=t;return tt(()=>{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 H(e.tag,{class:Le(["v-card-item",e.class]),style:Xe(e.style)},{default:()=>{var l;return[s&&ae("div",{key:"prepend",class:"v-card-item__prepend"},[n.prepend?H(un,{key:"prepend-defaults",disabled:!r,defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon}}},n.prepend):ae(Qe,null,[e.prependAvatar&&H(Bc,{key:"prepend-avatar",density:e.density,image:e.prependAvatar},null),e.prependIcon&&H(Wn,{key:"prepend-icon",density:e.density,icon:e.prependIcon},null)])]),ae("div",{class:"v-card-item__content"},[a&&H(yS,{key:"title"},{default:()=>{var d;return[((d=n.title)==null?void 0:d.call(n))??bn(e.title)]}}),c&&H(tA,{key:"subtitle"},{default:()=>{var d;return[((d=n.subtitle)==null?void 0:d.call(n))??bn(e.subtitle)]}}),(l=n.default)==null?void 0:l.call(n)]),o&&ae("div",{key:"append",class:"v-card-item__append"},[n.append?H(un,{key:"append-defaults",disabled:!i,defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon}}},n.append):ae(Qe,null,[e.appendIcon&&H(Wn,{key:"append-icon",density:e.density,icon:e.appendIcon},null),e.appendAvatar&&H(Bc,{key:"append-avatar",density:e.density,image:e.appendAvatar},null)])])]}})}),{}}}),aA=ue({opacity:[Number,String],...ct(),...Pt()},"VCardText"),kd=$e()({name:"VCardText",props:aA(),setup(e,t){let{slots:n}=t;return tt(()=>H(e.tag,{class:Le(["v-card-text",e.class]),style:Xe([{"--v-card-text-opacity":e.opacity},e.style])},n)),{}}}),cA=ue({appendAvatar:String,appendIcon:Et,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:Et,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},...Fi(),...ct(),...Ms(),...Hi(),...oa(),...Qb(),...Il(),...eh(),...yr(),...rh(),...Pt(),...nn(),...Ps({variant:"elevated"})},"VCard"),gg=$e()({name:"VCard",directives:{vRipple:Wo},props:cA(),setup(e,t){let{attrs:n,slots:r}=t;const{themeClasses:s}=mn(e),{borderClasses:i}=$i(e),{colorClasses:o,colorStyles:a,variantClasses:c}=la(e),{densityClasses:l}=Bi(e),{dimensionStyles:d}=Vi(e),{elevationClasses:u}=aa(e),{loaderClasses:f}=eS(e),{locationStyles:h}=Qf(e),{positionClasses:p}=th(e),{roundedClasses:m}=_r(e),v=nh(e,n),g=be(void 0);return Se(()=>e.loading,(y,C)=>{g.value=!y&&typeof C=="string"?C:typeof y=="boolean"?void 0:y},{immediate:!0}),tt(()=>{const y=e.link!==!1&&v.isLink.value,C=!e.disabled&&e.link!==!1&&(e.link||v.isClickable.value),w=y?"a":e.tag,I=!!(r.title||e.title!=null),x=!!(r.subtitle||e.subtitle!=null),S=I||x,b=!!(r.append||e.appendAvatar||e.appendIcon),k=!!(r.prepend||e.prependAvatar||e.prependIcon),R=!!(r.image||e.image),M=S||k||b,T=!!(r.text||e.text!=null);return ws(H(w,Je(v.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":C},s.value,i.value,o.value,l.value,u.value,f.value,p.value,m.value,c.value,e.class],style:[a.value,d.value,h.value,{"--v-card-height":ge(e.height)},e.style],onClick:C&&v.navigate.value,tabindex:e.disabled?-1:void 0}),{default:()=>{var O;return[R&&ae("div",{key:"image",class:"v-card__image"},[r.image?H(un,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},r.image):H(bS,{key:"image-img",cover:!0,src:e.image},null)]),H(sR,{name:"v-card",active:!!e.loading,color:g.value},{default:r.loader}),M&&H(oA,{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}),T&&H(kd,{key:"text"},{default:()=>{var $;return[(($=r.text)==null?void 0:$.call(r))??e.text]}}),(O=r.default)==null?void 0:O.call(r),r.actions&&H(vS,null,{default:r.actions}),ca(C,"v-card")]}}),[[Wo,C&&e.ripple]])}),{}}}),lA=ue({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function rn(e,t,n){return $e()({name:e,props:lA({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:d,offsetHeight:u}=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=`${d}px`,a.style.height=`${u}px`}r.hideOnLeave&&a.style.setProperty("display","none","important")},onAfterLeave(a){if(r.leaveAbsolute&&(a!=null&&a._transitionInitialStyles)){const{position:c,top:l,left:d,width:u,height:f}=a._transitionInitialStyles;delete a._transitionInitialStyles,a.style.position=c||"",a.style.top=l||"",a.style.left=d||"",a.style.width=u||"",a.style.height=f||""}}};return()=>{const a=r.group?Nf:Hr;return qr(a,{name:r.disabled?"":e,css:!r.disabled,...r.group?void 0:{mode:r.mode},...r.disabled?{}:o},i.default)}}})}function ah(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return $e()({name:e,props:{mode:{type:String,default:n},disabled:{type:Boolean,default:Lo()},group:Boolean,hideOnLeave:Boolean},setup(r,s){let{slots:i}=s;const o=r.group?Nf:Hr;return()=>qr(o,{name:r.disabled?"":e,css:!r.disabled,...r.disabled?{}:{...t,onLeave:a=>{var c;r.hideOnLeave?a.style.setProperty("display","none","important"):(c=t.onLeave)==null||c.call(t,a)}}},i.default)}})}function ch(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"y";return{onBeforeEnter(s){s._parent=s.parentNode,s._initialStyle={transition:s.style.transition,overflow:s.style.overflow,width:s.style.width,height:s.style.height}},onEnter(s){const i=s._initialStyle;if(!i)return;s.style.setProperty("transition","none","important"),s.style.overflow="hidden";const o=`${s.offsetWidth}px`,a=`${s.offsetHeight}px`;["x","both"].includes(t)&&(s.style.width="0"),["y","both"].includes(t)&&(s.style.height="0"),s.offsetHeight,s.style.transition=i.transition,e&&s._parent&&s._parent.classList.add(e),requestAnimationFrame(()=>{["x","both"].includes(t)&&(s.style.width=o),["y","both"].includes(t)&&(s.style.height=a)})},onAfterEnter:r,onEnterCancelled:r,onLeave(s){s._initialStyle={transition:"",overflow:s.style.overflow,width:s.style.width,height:s.style.height},s.style.overflow="hidden",["x","both"].includes(t)&&(s.style.width=`${s.offsetWidth}px`),["y","both"].includes(t)&&(s.style.height=`${s.offsetHeight}px`),s.offsetHeight,requestAnimationFrame(()=>{["x","both"].includes(t)&&(s.style.width="0"),["y","both"].includes(t)&&(s.style.height="0")})},onAfterLeave:n,onLeaveCancelled:n};function n(s){e&&s._parent&&s._parent.classList.remove(e),r(s)}function r(s){if(!s._initialStyle)return;const{width:i,height:o}=s._initialStyle;s.style.overflow=s._initialStyle.overflow,i!=null&&["x","both"].includes(t)&&(s.style.width=i),o!=null&&["y","both"].includes(t)&&(s.style.height=o),delete s._initialStyle}}const uA=ue({target:[Object,Array]},"v-dialog-transition"),_u=new WeakMap,dA=$e()({name:"VDialogTransition",props:uA(),setup(e,t){let{slots:n}=t;const r={onBeforeEnter(s){s.style.pointerEvents="none",s.style.visibility="hidden"},async onEnter(s,i){var f;await new Promise(h=>requestAnimationFrame(h)),await new Promise(h=>requestAnimationFrame(h)),s.style.visibility="";const o=yg(e.target,s),{x:a,y:c,sx:l,sy:d,speed:u}=o;if(_u.set(s,o),Lo())ss(s,[{opacity:0},{}],{duration:125*u,easing:Sm}).finished.then(()=>i());else{const h=ss(s,[{transform:`translate(${a}px, ${c}px) scale(${l}, ${d})`,opacity:0},{}],{duration:225*u,easing:Sm});(f=vg(s))==null||f.forEach(p=>{ss(p,[{opacity:0},{opacity:0,offset:.33},{}],{duration:225*2*u,easing:fd})}),h.finished.then(()=>i())}},onAfterEnter(s){s.style.removeProperty("pointer-events")},onBeforeLeave(s){s.style.pointerEvents="none"},async onLeave(s,i){var f;await new Promise(h=>requestAnimationFrame(h));let o;!_u.has(s)||Array.isArray(e.target)||e.target.offsetParent||e.target.getClientRects().length?o=yg(e.target,s):o=_u.get(s);const{x:a,y:c,sx:l,sy:d,speed:u}=o;Lo()?ss(s,[{},{opacity:0}],{duration:85*u,easing:Em}).finished.then(()=>i()):(ss(s,[{},{transform:`translate(${a}px, ${c}px) scale(${l}, ${d})`,opacity:0}],{duration:125*u,easing:Em}).finished.then(()=>i()),(f=vg(s))==null||f.forEach(p=>{ss(p,[{},{opacity:0,offset:.2},{opacity:0}],{duration:125*2*u,easing:fd})}))},onAfterLeave(s){s.style.removeProperty("pointer-events")}};return()=>e.target?H(Hr,Je({name:"dialog-transition"},r,{css:!1}),n):H(Hr,{name:"dialog-transition"},n)}});function vg(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 yg(e,t){const n=ab(e),r=cb(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 d=n.width/r.width,u=n.height/r.height,f=Math.max(1,d,u),h=d/f||0,p=u/f||0,m=r.width*r.height/(window.innerWidth*window.innerHeight),v=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:v}}rn("fab-transition","center center","out-in");rn("dialog-bottom-transition");rn("dialog-top-transition");const B4=rn("fade-transition"),H4=rn("scale-transition");rn("scroll-x-transition");rn("scroll-x-reverse-transition");rn("scroll-y-transition");rn("scroll-y-reverse-transition");rn("slide-x-transition");const V4=rn("slide-x-reverse-transition"),U4=rn("slide-y-transition");rn("slide-y-reverse-transition");const fA=ah("expand-transition",ch()),W4=ah("expand-x-transition",ch("","x"));ah("expand-both-transition",ch("","both"));const hA=ue({fullscreen:Boolean,scrollable:Boolean,...As(oh({captureFocus:!0,origin:"center center",scrollStrategy:"block",transition:{component:dA},zIndex:2400,retainFocus:!0}),["disableInitialFocus"])},"VDialog"),pA=$e()({name:"VDialog",props:hA(),emits:{"update:modelValue":e=>!0,afterEnter:()=>!0,afterLeave:()=>!0},setup(e,t){let{emit:n,slots:r}=t;const s=Un(e,"modelValue"),{scopeId:i}=ih(),o=we();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 d;l||(await yt(),(d=o.value.activatorEl)==null||d.focus({preventScroll:!0}))}),tt(()=>{const l=$c.filterProps(e),d=Je({"aria-haspopup":"dialog"},e.activatorProps),u=Je({tabindex:-1},e.contentProps);return H($c,Je({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":f=>s.value=f,"aria-modal":"true",activatorProps:d,contentProps:u,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 f=arguments.length,h=new Array(f),p=0;p<f;p++)h[p]=arguments[p];return H(un,{root:"VDialog"},{default:()=>{var m;return[(m=r.default)==null?void 0:m.call(r,...h)]}})}})}),mS({},o)}}),mA=["dotted","dashed","solid","double"],gA=ue({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=>mA.includes(e)},...ct(),...nn()},"VDivider"),SS=$e()({name:"VDivider",props:gA(),setup(e,t){let{attrs:n,slots:r}=t;const{themeClasses:s}=mn(e),{textColorClasses:i,textColorStyles:o}=bi(()=>e.color),a=j(()=>{const l={};return e.length&&(l[e.vertical?"height":"width"]=ge(e.length)),e.thickness&&(l[e.vertical?"borderRightWidth":"borderTopWidth"]=ge(e.thickness)),l}),c=ee(()=>{const l=Array.isArray(e.contentOffset)?e.contentOffset[0]:e.contentOffset,d=Array.isArray(e.contentOffset)?e.contentOffset[1]:0;return{marginBlock:e.vertical&&l?ge(l):void 0,marginInline:!e.vertical&&l?ge(l):void 0,transform:d?`translate${e.vertical?"X":"Y"}(${ge(d)})`:void 0}});return tt(()=>{const l=ae("hr",{class:Le([{"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:Xe([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?ae("div",{class:Le(["v-divider__wrapper",{"v-divider__wrapper--gradient":e.gradient,"v-divider__wrapper--inset":e.inset,"v-divider__wrapper--vertical":e.vertical}])},[l,ae("div",{class:"v-divider__content",style:Xe(c.value)},[r.default()]),l]):l}),{}}}),vA=Wf("v-spacer","div","VSpacer"),Id=Symbol.for("vuetify:list");function ES(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{filterable:!1};const t=Ne(Id,{filterable:!1,hasPrepend:be(!1),updateHasPrepend:()=>null,trackingIndex:be(-1),navigationStrategy:be("focus"),uid:""}),{filterable:n,trackingIndex:r=t.trackingIndex,navigationStrategy:s=t.navigationStrategy,uid:i=t.uid||hl()}=e,o={filterable:t.filterable||n,hasPrepend:be(!1),updateHasPrepend:a=>{a&&(o.hasPrepend.value=a)},trackingIndex:r,navigationStrategy:s,uid:i};return Mt(Id,o),t}function wS(){return Ne(Id,null)}const lh=e=>{const t={activate:n=>{let{id:r,value:s,activated:i}=n;return r=fe(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 Bf(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},CS=e=>{const t=lh(e);return{activate:r=>{let{activated:s,id:i,...o}=r;i=fe(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=Bf(r);a.length&&(o=t.in(a.slice(0,1),s,i))}return o},out:(r,s,i)=>t.out(r,s,i)}},yA=e=>{const t=lh(e);return{activate:r=>{let{id:s,activated:i,children:o,...a}=r;return s=fe(s),o.has(s)?i:t.activate({id:s,activated:i,children:o,...a})},in:t.in,out:t.out}},_A=e=>{const t=CS(e);return{activate:r=>{let{id:s,activated:i,children:o,...a}=r;return s=fe(s),o.has(s)?i:t.activate({id:s,activated:i,children:o,...a})},in:t.in,out:t.out}},bA={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},TS={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},SA={open:TS.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)}},uh=e=>{const t={select:n=>{let{id:r,value:s,selected:i}=n;if(r=fe(r),e&&!s){const o=Array.from(i.entries()).reduce((a,c)=>{let[l,d]=c;return d==="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},kS=e=>{const t=uh(e);return{select:r=>{let{selected:s,id:i,...o}=r;i=fe(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)}},EA=e=>{const t=uh(e);return{select:r=>{let{id:s,selected:i,children:o,...a}=r;return s=fe(s),o.has(s)?i:t.select({id:s,selected:i,children:o,...a})},in:t.in,out:t.out}},wA=e=>{const t=kS(e);return{select:r=>{let{id:s,selected:i,children:o,...a}=r;return s=fe(s),o.has(s)?i:t.select({id:s,selected:i,children:o,...a})},in:t.in,out:t.out}},dh=e=>{const t={select:n=>{let{id:r,value:s,selected:i,children:o,parents:a,disabled:c}=n;r=fe(r);const l=new Map(i),d=[r];for(;d.length;){const f=d.shift();c.has(f)||i.set(fe(f),s?"on":"off"),o.has(f)&&d.push(...o.get(f))}let u=fe(a.get(r));for(;u;){let f=!0,h=!0;for(const p of o.get(u)){const m=fe(p);if(!c.has(m)&&(i.get(m)!=="on"&&(f=!1),i.has(m)&&i.get(m)!=="off"&&(h=!1),!f&&!h))break}i.set(u,f?"on":h?"off":"indeterminate"),u=fe(a.get(u))}return e&&!s&&Array.from(i.entries()).reduce((h,p)=>{let[m,v]=p;return v==="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},CA=e=>{const t=dh(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}}},TA=e=>{const n={select:dh(e).select,in:(r,s,i,o)=>{let a=new Map;for(const c of r||[])s.has(c)||(a=n.select({id:c,value:!0,selected:a,children:s,parents:i,disabled:o}));return a},out:r=>{const s=[];for(const[i,o]of r.entries())(o==="on"||o==="indeterminate")&&s.push(i);return s}};return n},Si=Symbol.for("vuetify:nested"),IS={id:be(),root:{itemsRegistration:we("render"),register:()=>null,unregister:()=>null,updateDisabled:()=>null,children:we(new Map),parents:we(new Map),disabled:we(new Set),open:()=>null,openOnSelect:()=>null,activate:()=>null,select:()=>null,activatable:we(!1),scrollToActive:we(!1),selectable:we(!1),opened:we(new Set),activated:we(new Set),selected:we(new Map),selectedValues:we([]),getPath:()=>[]}},kA=ue({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"),IA=(e,t)=>{let{items:n,returnObject:r,scrollToActive:s}=t,i=!1;const o=be(new Map),a=be(new Map),c=be(new Set),l=Un(e,"opened",e.opened,I=>new Set(Array.isArray(I)?I.map(x=>fe(x)):I),I=>[...I.values()]),d=j(()=>{if(typeof e.activeStrategy=="object")return e.activeStrategy;if(typeof e.activeStrategy=="function")return e.activeStrategy(e.mandatory);switch(e.activeStrategy){case"leaf":return yA(e.mandatory);case"single-leaf":return _A(e.mandatory);case"independent":return lh(e.mandatory);case"single-independent":default:return CS(e.mandatory)}}),u=j(()=>{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 wA(e.mandatory);case"leaf":return EA(e.mandatory);case"independent":return uh(e.mandatory);case"single-independent":return kS(e.mandatory);case"trunk":return CA(e.mandatory);case"branch":return TA(e.mandatory);case"classic":default:return dh(e.mandatory)}}),f=j(()=>{if(typeof e.openStrategy=="object")return e.openStrategy;switch(e.openStrategy){case"list":return SA;case"single":return bA;case"multiple":default:return TS}}),h=Un(e,"activated",e.activated,I=>d.value.in(I,o.value,a.value),I=>d.value.out(I,o.value,a.value)),p=Un(e,"selected",e.selected,I=>u.value.in(I,o.value,a.value,c.value),I=>u.value.out(I,o.value,a.value));kn(()=>{i=!0});function m(I){const x=[];let S=fe(I);for(;S!==void 0;)x.unshift(S),S=a.value.get(S);return x}const v=mt("nested"),g=new Set,y=GT(()=>{yt(()=>{o.value=new Map(o.value),a.value=new Map(a.value)})},100);Se(()=>[n.value,vt(r)],()=>{e.itemsRegistration==="props"&&C()},{immediate:!0});function C(){const I=new Map,x=new Map,S=new Set,b=vt(r)?M=>fe(M.raw):M=>M.value,k=[...n.value];let R=0;for(;R<k.length;){const M=k[R++],T=b(M);if(M.children){const O=[];for(const $ of M.children){const K=b($);I.set(K,T),O.push(K),k.push($)}x.set(T,O)}M.props.disabled&&S.add(T)}o.value=x,a.value=I,c.value=S}const w={id:be(),root:{opened:l,activatable:ee(()=>e.activatable),scrollToActive:ee(()=>vt(s)),selectable:ee(()=>e.selectable),activated:h,selected:p,selectedValues:j(()=>{const I=[];for(const[x,S]of p.value.entries())S==="on"&&I.push(x);return I}),itemsRegistration:ee(()=>e.itemsRegistration),register:(I,x,S,b)=>{if(g.has(I)){m(I).map(String).join(" -> "),m(x).concat(I).map(String).join(" -> ");return}else g.add(I);x&&I!==x&&a.value.set(I,x),S&&c.value.add(I),b&&o.value.set(I,[]),x!=null&&o.value.set(x,[...o.value.get(x)||[],I]),y()},unregister:I=>{if(i)return;g.delete(I),o.value.delete(I),c.value.delete(I);const x=a.value.get(I);if(x){const S=o.value.get(x)??[];o.value.set(x,S.filter(b=>b!==I))}a.value.delete(I),y()},updateDisabled:(I,x)=>{x?c.value.add(I):c.value.delete(I)},open:(I,x,S)=>{v.emit("click:open",{id:I,value:x,path:m(I),event:S});const b=f.value.open({id:I,value:x,opened:new Set(l.value),children:o.value,parents:a.value,event:S});b&&(l.value=b)},openOnSelect:(I,x,S)=>{const b=f.value.select({id:I,value:x,selected:new Map(p.value),opened:new Set(l.value),children:o.value,parents:a.value,event:S});b&&(l.value=b)},select:(I,x,S)=>{v.emit("click:select",{id:I,value:x,path:m(I),event:S});const b=u.value.select({id:I,value:x,selected:new Map(p.value),children:o.value,parents:a.value,disabled:c.value,event:S});b&&(p.value=b),w.root.openOnSelect(I,x,S)},activate:(I,x,S)=>{if(!e.activatable)return w.root.select(I,!0,S);v.emit("click:activate",{id:I,value:x,path:m(I),event:S});const b=d.value.activate({id:I,value:x,activated:new Set(h.value),children:o.value,parents:a.value,event:S});if(b.size!==h.value.size)h.value=b;else{for(const k of b)if(!h.value.has(k)){h.value=b;return}for(const k of h.value)if(!b.has(k)){h.value=b;return}}},children:o,parents:a,disabled:c,getPath:m}};return Mt(Si,w),w.root},xS=(e,t,n)=>{const r=Ne(Si,IS),s=Symbol("nested item"),i=j(()=>{const a=fe(vt(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:j(()=>r.root.opened.value.has(i.value)),parent:j(()=>r.root.parents.value.get(i.value)),activate:(a,c)=>r.root.activate(i.value,a,c),isActivated:j(()=>r.root.activated.value.has(i.value)),scrollToActive:r.root.scrollToActive,select:(a,c)=>r.root.select(i.value,a,c),isSelected:j(()=>r.root.selected.value.get(i.value)==="on"),isIndeterminate:j(()=>r.root.selected.value.get(i.value)==="indeterminate"),isLeaf:j(()=>!r.root.children.value.get(i.value)),isGroupActivator:r.isGroupActivator};return gl(()=>{r.isGroupActivator||r.root.itemsRegistration.value==="props"||yt(()=>{r.root.register(i.value,r.id.value,vt(t),n)})}),kn(()=>{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),yt(()=>{r.root.register(a,r.id.value,vt(t),n)}))}),Se(()=>vt(t),a=>{r.root.updateDisabled(i.value,a)}),n&&Mt(Si,o),o},xA=()=>{const e=Ne(Si,IS);Mt(Si,{...e,isGroupActivator:!0})};function RA(){const e=be(!1);return gr(()=>{window.requestAnimationFrame(()=>{e.value=!0})}),{ssrBootStyles:ee(()=>e.value?void 0:{transition:"none !important"}),isBooted:hi(e)}}const AA=Ni({name:"VListGroupActivator",setup(e,t){let{slots:n}=t;return xA(),()=>{var r;return(r=n.default)==null?void 0:r.call(n)}}}),MA=ue({activeColor:String,baseColor:String,color:String,collapseIcon:{type:Et,default:"$collapse"},disabled:Boolean,expandIcon:{type:Et,default:"$expand"},rawId:[String,Number],prependIcon:Et,appendIcon:Et,fluid:Boolean,subgroup:Boolean,title:String,value:null,...ct(),...Pt()},"VListGroup"),_g=$e()({name:"VListGroup",props:MA(),setup(e,t){let{slots:n}=t;const{isOpen:r,open:s,id:i}=xS(()=>e.value,()=>e.disabled,!0),o=j(()=>`v-list-group--id-${String(e.rawId??i.value)}`),a=wS(),{isBooted:c}=RA(),l=Ne(Si),d=ee(()=>{var m;return((m=l==null?void 0:l.root)==null?void 0:m.itemsRegistration.value)==="render"});function u(m){var v;["INPUT","TEXTAREA"].includes((v=m.target)==null?void 0:v.tagName)||s(!r.value,m)}const f=j(()=>({onClick:u,class:"v-list-group__header",id:o.value})),h=j(()=>r.value?e.collapseIcon:e.expandIcon),p=j(()=>({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 tt(()=>H(e.tag,{class:Le(["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:Xe(e.style)},{default:()=>[n.activator&&H(un,{defaults:p.value},{default:()=>[H(AA,null,{default:()=>[n.activator({props:f.value,isOpen:r.value})]})]}),H(Qs,{transition:{component:fA},disabled:!c.value},{default:()=>{var m,v;return[d.value?ws(ae("div",{class:"v-list-group__items",role:"group","aria-labelledby":o.value},[(m=n.default)==null?void 0:m.call(n)]),[[Lf,r.value]]):r.value&&ae("div",{class:"v-list-group__items",role:"group","aria-labelledby":o.value},[(v=n.default)==null?void 0:v.call(n)])]}})]})),{isOpen:r}}}),PA=ue({opacity:[Number,String],...ct(),...Pt()},"VListItemSubtitle"),RS=$e()({name:"VListItemSubtitle",props:PA(),setup(e,t){let{slots:n}=t;return tt(()=>H(e.tag,{class:Le(["v-list-item-subtitle",e.class]),style:Xe([{"--v-list-item-subtitle-opacity":e.opacity},e.style])},n)),{}}}),AS=Wf("v-list-item-title"),OA=ue({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:Et,baseColor:String,disabled:Boolean,lines:[Boolean,String],link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:Et,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,index:Number,tabindex:[Number,String],onClick:yo(),onClickOnce:yo(),...Fi(),...ct(),...Ms(),...Hi(),...oa(),...yr(),...rh(),...Pt(),...nn(),...Ps({variant:"text"})},"VListItem"),xd=$e()({name:"VListItem",directives:{vRipple:Wo},props:OA(),emits:{click:e=>!0},setup(e,t){let{attrs:n,slots:r,emit:s}=t;const i=nh(e,n),o=we(),a=j(()=>e.value===void 0?i.href.value:e.value),{activate:c,isActivated:l,select:d,isOpen:u,isSelected:f,isIndeterminate:h,isGroupActivator:p,root:m,parent:v,openOnSelect:g,scrollToActive:y,id:C}=xS(a,()=>e.disabled,!1),w=wS(),I=j(()=>{var G;return e.active!==!1&&(e.active||((G=i.isActive)==null?void 0:G.value)||(m.activatable.value?l.value:f.value))}),x=ee(()=>e.link!==!1&&i.isLink.value),S=j(()=>!!w&&(m.selectable.value||m.activatable.value||e.value!=null)),b=j(()=>!e.disabled&&e.link!==!1&&(e.link||i.isClickable.value||S.value)),k=j(()=>w&&w.navigationStrategy.value==="track"&&e.index!==void 0&&w.trackingIndex.value===e.index),R=j(()=>w?x.value?"link":S.value?"option":"listitem":void 0),M=j(()=>{if(S.value)return m.activatable.value?l.value:m.selectable.value?f.value:I.value}),T=ee(()=>e.rounded||e.nav),O=ee(()=>e.color??e.activeColor),$=ee(()=>({color:I.value?O.value??e.baseColor:e.baseColor,variant:e.variant}));Se(()=>{var G;return(G=i.isActive)==null?void 0:G.value},G=>{G&&K()}),Se(l,G=>{var de;!G||!y||(de=o.value)==null||de.scrollIntoView({block:"nearest",behavior:"instant"})}),Se(k,G=>{var de;G&&((de=o.value)==null||de.scrollIntoView({block:"nearest",behavior:"instant"}))}),gl(()=>{var G;(G=i.isActive)!=null&&G.value&&yt(()=>K())});function K(){v.value!=null&&m.open(v.value,!0),g(!0)}const{themeClasses:Z}=mn(e),{borderClasses:z}=$i(e),{colorClasses:N,colorStyles:oe,variantClasses:U}=la($),{densityClasses:J}=Bi(e),{dimensionStyles:re}=Vi(e),{elevationClasses:ie}=aa(e),{roundedClasses:Ee}=_r(T),Me=ee(()=>e.lines?`v-list-item--${e.lines}-line`:void 0),De=ee(()=>e.ripple!==void 0&&e.ripple&&(w!=null&&w.filterable)?{keys:["Enter"]}:e.ripple),P=j(()=>({isActive:I.value,select:d,isOpen:u.value,isSelected:f.value,isIndeterminate:h.value,isDisabled:e.disabled}));function W(G){var de,_,E;s("click",G),!["INPUT","TEXTAREA"].includes((de=G.target)==null?void 0:de.tagName)&&b.value&&((E=(_=i.navigate).value)==null||E.call(_,G),!p&&(m.activatable.value?c(!l.value,G):(m.selectable.value||e.value!=null&&!x.value)&&d(!f.value,G)))}function X(G){const de=G.target;["INPUT","TEXTAREA"].includes(de.tagName)||(G.key==="Enter"||G.key===" "&&!(w!=null&&w.filterable))&&(G.preventDefault(),G.stopPropagation(),G.target.dispatchEvent(new MouseEvent("click",G)))}return tt(()=>{const G=x.value?"a":e.tag,de=r.title||e.title!=null,_=r.subtitle||e.subtitle!=null,A=!!(!!(e.appendAvatar||e.appendIcon)||r.append),D=!!(!!(e.prependAvatar||e.prependIcon)||r.prepend);return w==null||w.updateHasPrepend(D),e.activeColor&&X_("active-color",["color","base-color"]),ws(H(G,Je(i.linkProps,{ref:o,id:e.index!==void 0&&w?`v-list-item-${w.uid}-${e.index}`:void 0,class:["v-list-item",{"v-list-item--active":I.value,"v-list-item--disabled":e.disabled,"v-list-item--link":b.value,"v-list-item--nav":e.nav,"v-list-item--prepend":!D&&(w==null?void 0:w.hasPrepend.value),"v-list-item--slim":e.slim,"v-list-item--focus-visible":k.value,[`${e.activeClass}`]:e.activeClass&&I.value},Z.value,z.value,N.value,J.value,ie.value,Me.value,Ee.value,U.value,e.class],style:[{"--v-list-prepend-gap":ge(e.prependGap)},oe.value,re.value,e.style],tabindex:e.tabindex??(b.value?w?-2:0:void 0),"aria-selected":M.value,role:R.value,onClick:W,onKeydown:b.value&&!x.value&&X}),{default:()=>{var F;return[ca(b.value||I.value,"v-list-item"),D&&ae("div",{key:"prepend",class:"v-list-item__prepend"},[r.prepend?H(un,{key:"prepend-defaults",defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon},VListItemAction:{start:!0},VCheckboxBtn:{density:e.density}}},{default:()=>{var q;return[(q=r.prepend)==null?void 0:q.call(r,P.value)]}}):ae(Qe,null,[e.prependAvatar&&H(Bc,{key:"prepend-avatar",density:e.density,image:e.prependAvatar},null),e.prependIcon&&H(Wn,{key:"prepend-icon",density:e.density,icon:e.prependIcon},null)]),ae("div",{class:"v-list-item__spacer"},null)]),ae("div",{class:"v-list-item__content","data-no-activator":""},[de&&H(AS,{key:"title"},{default:()=>{var q;return[((q=r.title)==null?void 0:q.call(r,{title:e.title}))??bn(e.title)]}}),_&&H(RS,{key:"subtitle"},{default:()=>{var q;return[((q=r.subtitle)==null?void 0:q.call(r,{subtitle:e.subtitle}))??bn(e.subtitle)]}}),(F=r.default)==null?void 0:F.call(r,P.value)]),A&&ae("div",{key:"append",class:"v-list-item__append"},[r.append?H(un,{key:"append-defaults",defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon},VListItemAction:{end:!0},VCheckboxBtn:{density:e.density}}},{default:()=>{var q;return[(q=r.append)==null?void 0:q.call(r,P.value)]}}):ae(Qe,null,[e.appendIcon&&H(Wn,{key:"append-icon",density:e.density,icon:e.appendIcon},null),e.appendAvatar&&H(Bc,{key:"append-avatar",density:e.density,image:e.appendAvatar},null)]),ae("div",{class:"v-list-item__spacer"},null)])]}}),[[Wo,b.value&&De.value]])}),{activate:c,isActivated:l,isGroupActivator:p,isSelected:f,list:w,select:d,root:m,id:C,link:i}}}),LA=ue({color:String,inset:Boolean,sticky:Boolean,title:String,...ct(),...Pt()},"VListSubheader"),NA=$e()({name:"VListSubheader",props:LA(),setup(e,t){let{slots:n}=t;const{textColorClasses:r,textColorStyles:s}=bi(()=>e.color);return tt(()=>{const i=!!(n.default||e.title);return H(e.tag,{class:Le(["v-list-subheader",{"v-list-subheader--inset":e.inset,"v-list-subheader--sticky":e.sticky},r.value,e.class]),style:Xe([{textColorStyles:s},e.style])},{default:()=>{var o;return[i&&ae("div",{class:"v-list-subheader__text"},[((o=n.default)==null?void 0:o.call(n))??e.title])]}})}),{}}}),DA=ue({items:Array,returnObject:Boolean},"VListChildren"),MS=$e()({name:"VListChildren",props:DA(),setup(e,t){let{slots:n}=t;return ES(),()=>{var r,s;return((r=n.default)==null?void 0:r.call(n))??((s=e.items)==null?void 0:s.map((i,o)=>{var h,p;let{children:a,props:c,type:l,raw:d}=i;if(l==="divider")return((h=n.divider)==null?void 0:h.call(n,{props:c}))??H(SS,c,null);if(l==="subheader")return((p=n.subheader)==null?void 0:p.call(n,{props:c}))??H(NA,c,null);const u={subtitle:n.subtitle?m=>{var v;return(v=n.subtitle)==null?void 0:v.call(n,{...m,item:d})}:void 0,prepend:n.prepend?m=>{var v;return(v=n.prepend)==null?void 0:v.call(n,{...m,item:d})}:void 0,append:n.append?m=>{var v;return(v=n.append)==null?void 0:v.call(n,{...m,item:d})}:void 0,title:n.title?m=>{var v;return(v=n.title)==null?void 0:v.call(n,{...m,item:d})}:void 0},f=_g.filterProps(c);return a?H(_g,Je(f,{value:e.returnObject?d:c==null?void 0:c.value,rawId:c==null?void 0:c.value}),{activator:m=>{let{props:v}=m;const g=Je(c,v,{value:e.returnObject?d:c.value});return n.header?n.header({props:g}):H(xd,Je(g,{index:o}),u)},default:()=>H(MS,{items:a,returnObject:e.returnObject},n)}):n.item?n.item({props:{...c,index:o}}):H(xd,Je(c,{index:o,value:e.returnObject?d:c.value}),u)}))}}}),FA=ue({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"),$A=new Set(["item","divider","subheader"]);function ui(e,t){const n=Fn(t,e.itemTitle,t),r=Fn(t,e.itemValue,n),s=Fn(t,e.itemChildren),i=e.itemProps===!0?typeof t=="object"&&t!=null&&!Array.isArray(t)?"children"in t?As(t,["children"]):t:void 0:Fn(t,e.itemProps);let o=Fn(t,e.itemType,"item");$A.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)?PS(e,s):void 0,raw:t}}ui.neededProps=["itemTitle","itemValue","itemChildren","itemProps","itemType"];function PS(e,t){const n=$f(e,ui.neededProps),r=[];for(const s of t)r.push(ui(n,s));return r}function j4(e){const t=j(()=>PS(e,e.items)),n=j(()=>t.value.some(a=>a.value===null)),r=be(new Map),s=be([]);hn(()=>{const a=t.value,c=new Map,l=[];for(let d=0;d<a.length;d++){const u=a[d];if(Ts(u.value)||u.value===null){let f=c.get(u.value);f||(f=[],c.set(u.value,f)),f.push(u)}else l.push(u)}r.value=c,s.value=l});function i(a){const c=r.value,l=t.value,d=s.value,u=n.value,f=e.returnObject,h=!!e.valueComparator,p=e.valueComparator||gs,m=$f(e,ui.neededProps),v=[];e:for(const g of a){if(!u&&g===null)continue;if(f&&typeof g=="string"){v.push(ui(m,g));continue}const y=c.get(g);if(h||!y){for(const C of h?l:d)if(p(g,C.value)){v.push(C);continue e}v.push(ui(m,g));continue}v.push(...y)}return v}function o(a){return e.returnObject?a.map(c=>{let{raw:l}=c;return l}):a.map(c=>{let{value:l}=c;return l})}return{items:t,transformIn:i,transformOut:o}}const BA=new Set(["item","divider","subheader"]);function HA(e,t){const n=Ts(t)?t:Fn(t,e.itemTitle),r=Ts(t)?t:Fn(t,e.itemValue,void 0),s=Fn(t,e.itemChildren),i=e.itemProps===!0?As(t,["children"]):Fn(t,e.itemProps);let o=Fn(t,e.itemType,"item");BA.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?OS(e,s):void 0,raw:t}}function OS(e,t){const n=[];for(const r of t)n.push(HA(e,r));return n}function VA(e){return{items:j(()=>OS(e,e.items))}}const UA=ue({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,filterable:Boolean,expandIcon:Et,collapseIcon:Et,lines:{type:[Boolean,String],default:"one"},slim:Boolean,prependGap:[Number,String],indent:[Number,String],nav:Boolean,navigationStrategy:{type:String,default:"focus"},navigationIndex:Number,"onClick:open":yo(),"onClick:select":yo(),"onUpdate:opened":yo(),...kA({selectStrategy:"single-leaf",openStrategy:"list"}),...Fi(),...ct(),...Ms(),...Hi(),...oa(),...FA(),...yr(),...Pt(),...nn(),...Ps({variant:"text"})},"VList"),WA=$e()({name:"VList",props:UA(),emits:{"update:selected":e=>!0,"update:activated":e=>!0,"update:opened":e=>!0,"update:navigationIndex":e=>!0,"click:open":e=>!0,"click:activate":e=>!0,"click:select":e=>!0},setup(e,t){let{attrs:n,slots:r,emit:s}=t;const{items:i}=VA(e),{themeClasses:o}=mn(e),{backgroundColorClasses:a,backgroundColorStyles:c}=li(()=>e.bgColor),{borderClasses:l}=$i(e),{densityClasses:d}=Bi(e),{dimensionStyles:u}=Vi(e),{elevationClasses:f}=aa(e),{roundedClasses:h}=_r(e),{children:p,open:m,parents:v,select:g,getPath:y}=IA(e,{items:i,returnObject:ee(()=>e.returnObject),scrollToActive:ee(()=>e.navigationStrategy==="track")}),C=ee(()=>e.lines?`v-list--${e.lines}-line`:void 0),w=ee(()=>e.activeColor),I=ee(()=>e.baseColor),x=ee(()=>e.color),S=ee(()=>e.selectable||e.activatable),b=Un(e,"navigationIndex",-1,J=>J??-1),k=hl();ES({filterable:e.filterable,trackingIndex:b,navigationStrategy:ee(()=>e.navigationStrategy),uid:k}),Se(i,()=>{e.navigationStrategy==="track"&&(b.value=-1)}),_l({VListGroup:{activeColor:w,baseColor:I,color:x,expandIcon:ee(()=>e.expandIcon),collapseIcon:ee(()=>e.collapseIcon)},VListItem:{activeClass:ee(()=>e.activeClass),activeColor:w,baseColor:I,color:x,density:ee(()=>e.density),disabled:ee(()=>e.disabled),lines:ee(()=>e.lines),nav:ee(()=>e.nav),slim:ee(()=>e.slim),variant:ee(()=>e.variant),tabindex:ee(()=>e.navigationStrategy==="track"?-1:void 0)}});const R=be(!1),M=we();function T(J){R.value=!0}function O(J){R.value=!1}function $(J){var re;e.navigationStrategy==="track"?~b.value||(b.value=z("first")):!R.value&&!(J.relatedTarget&&((re=M.value)!=null&&re.contains(J.relatedTarget)))&&U()}function K(){e.navigationStrategy==="track"&&(b.value=-1)}function Z(J){switch(J){case"ArrowDown":return"next";case"ArrowUp":return"prev";case"Home":return"first";case"End":return"last";default:return null}}function z(J){const re=i.value.length;if(re===0)return-1;let ie;J==="first"?ie=0:J==="last"?ie=re-1:(ie=b.value+(J==="next"?1:-1),ie<0&&(ie=re-1),ie>=re&&(ie=0));const Ee=ie;let Me=0;for(;Me<re;){const De=i.value[ie];if(De&&De.type!=="divider"&&De.type!=="subheader")return ie;if(ie+=J==="next"||J==="first"?1:-1,ie<0&&(ie=re-1),ie>=re&&(ie=0),ie===Ee)return-1;Me++}return-1}function N(J){const re=J.target;if(!M.value||re.tagName==="INPUT"&&["Home","End"].includes(J.key)||re.tagName==="TEXTAREA")return;const ie=Z(J.key);if(ie!==null)if(J.preventDefault(),e.navigationStrategy==="track"){const Ee=z(ie);Ee!==-1&&(b.value=Ee)}else U(ie)}function oe(J){R.value=!0}function U(J){if(M.value)return ib(M.value,J)}return tt(()=>{const J=e.indent??(e.prependGap?Number(e.prependGap)+24:void 0),re=S.value?n.ariaMultiselectable??!String(e.selectStrategy).startsWith("single-"):void 0;return H(e.tag,{ref:M,class:Le(["v-list",{"v-list--disabled":e.disabled,"v-list--nav":e.nav,"v-list--slim":e.slim},o.value,a.value,l.value,d.value,f.value,C.value,h.value,e.class]),style:Xe([{"--v-list-indent":ge(J),"--v-list-group-prepend":J?"0px":void 0,"--v-list-prepend-gap":ge(e.prependGap)},c.value,u.value,e.style]),tabindex:e.disabled?-1:0,role:S.value?"listbox":"list","aria-activedescendant":e.navigationStrategy==="track"&&b.value>=0?`v-list-item-${k}-${b.value}`:void 0,"aria-multiselectable":re,onFocusin:T,onFocusout:O,onFocus:$,onBlur:K,onKeydown:N,onMousedown:oe},{default:()=>[H(MS,{items:i.value,returnObject:e.returnObject},r)]})}),{open:m,select:g,focus:U,children:p,parents:v,getPath:y,navigationIndex:b}}});let Rd=null;const LS={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(){Rd=this}};LS.show=function(e,t,n){Rd&&Rd.show(e,t,n)};const jA=LS,zA={class:"text-primary font-weight-bold"};function qA(e,t,n,r,s,i){return cn(),$n(pA,{modelValue:e.isVisible,"onUpdate:modelValue":t[0]||(t[0]=o=>e.isVisible=o),"max-width":"500",persistent:""},{default:gt(()=>[H(gg,{class:"rate-limit-modal"},{default:gt(()=>[H(yS,{class:"text-center pa-4 bg-error text-white"},{default:gt(()=>[H(Wn,{class:"mr-2",icon:"mdi-clock-alert-outline",size:"large"}),t[1]||(t[1]=co(" 请求频率超限 ",-1))]),_:1}),H(kd,{class:"pa-6"},{default:gt(()=>[t[3]||(t[3]=ae("div",{class:"text-body-1 mb-4"},"您的请求过于频繁,请稍后再试。",-1)),e.activeRequests.length>0?(cn(),$n(gg,{key:0,class:"mb-4",flat:""},{default:gt(()=>[H(kd,null,{default:gt(()=>[(cn(!0),F_(Qe,null,L1(e.activeRequests,(o,a)=>(cn(),$n(WA,{key:a,class:"mb-4"},{default:gt(()=>[H(xd,{color:"primary","prepend-icon":"mdi-web"},{default:gt(()=>[H(AS,null,{default:gt(()=>[t[2]||(t[2]=co(" 等待时间: ",-1)),ae("span",zA,bn(o.remainingSeconds),1)]),_:2},1024),H(RS,null,{default:gt(()=>[co(bn(o.method)+" "+bn(o.path),1)]),_:2},1024)]),_:2},1024)]),_:2},1024))),128)),e.index<e.activeRequests.length-1?(cn(),$n(SS,{key:0,class:"my-3"})):rd("",!0)]),_:1})]),_:1})):rd("",!0),t[4]||(t[4]=ae("div",{class:"text-body-2 text-grey"}," 请在等待时间后再次尝试,或减少请求频率以避免限制。 ",-1))]),_:1}),H(vS,{class:"pa-4 pt-0"},{default:gt(()=>[H(vA),H(cS,{color:"primary",variant:"tonal",onClick:e.close},{default:gt(()=>[...t[5]||(t[5]=[co(" 我知道了",-1)])]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"])}const GA=Gb(jA,[["render",qA]]),KA=ue({...ct(),...As(sI(),["fullHeight"]),...nn()},"VApp"),YA=$e()({name:"VApp",props:KA(),setup(e,t){let{slots:n}=t;const r=mn(e),{layoutClasses:s,getLayoutItem:i,items:o,layoutRef:a}=aI({...e,fullHeight:!0}),{rtlClasses:c}=sa();return tt(()=>{var l;return ae("div",{ref:a,class:Le(["v-application",r.themeClasses.value,s.value,c.value,e.class]),style:Xe([e.style])},[ae("div",{class:"v-application__wrap"},[(l=n.default)==null?void 0:l.call(n)])])}),{getLayoutItem:i,items:o,theme:r}}}),XA={__name:"App",setup(e){const t=Ib();return gr(()=>{const n=Jf("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=O1("router-view"),i=gS;return cn(),$n(YA,null,{default:gt(()=>[H(s,null,{default:gt(({Component:o,route:a})=>[H(Hr,{mode:"out-in",name:"md3"},{default:gt(()=>[(cn(),$n(v_(o),{key:a.path}))]),_:2},1024)]),_:1}),H(i),H(GA)]),_:1})}}};let bu;const bg=e=>({get:async()=>({visitorId:"unknown",error:(e==null?void 0:e.message)||String(e||""),fallback:!0})}),JA=async()=>{try{const e=await _t(()=>import("./fp.esm-DTPSfLWv.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}},NS=()=>(bu||(bu=(async()=>{const e=await JA();if(!e)return bg(new Error("fingerprint module unavailable"));try{return await e.load()}catch(t){return console.warn("FingerprintJS.load failed, using fallback agent.",t),bg(t)}})()),bu),DS=async()=>{const t=await(await NS()).get();return(t==null?void 0:t.visitorId)||"unknown"},z4=async()=>await(await NS()).get(),le=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,xe=globalThis,ys="10.41.0";function Os(){return xl(xe),xe}function xl(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||ys,t[ys]=t[ys]||{}}function Ui(e,t,n=xe){const r=n.__SENTRY__=n.__SENTRY__||{},s=r[ys]=r[ys]||{};return s[e]||(s[e]=t())}const ZA=["debug","info","warn","error","log","assert","trace"],QA="Sentry Logger ",Hc={};function br(e){if(!("console"in xe))return e();const t=xe.console,n={},r=Object.keys(Hc);r.forEach(s=>{const i=Hc[s];n[s]=t[s],t[s]=i});try{return e()}finally{r.forEach(s=>{t[s]=n[s]})}}function eM(){hh().enabled=!0}function tM(){hh().enabled=!1}function FS(){return hh().enabled}function nM(...e){fh("log",...e)}function rM(...e){fh("warn",...e)}function sM(...e){fh("error",...e)}function fh(e,...t){le&&FS()&&br(()=>{xe.console[e](`${QA}[${e}]:`,...t)})}function hh(){return le?Ui("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const te={enable:eM,disable:tM,isEnabled:FS,log:nM,warn:rM,error:sM},$S=50,ks="?",Sg=/\(error: (.*)\)/,Eg=/captureMessage|captureException/;function BS(...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;a<o.length;a++){let c=o[a];c.length>1024&&(c=c.slice(0,1024));const l=Sg.test(c)?c.replace(Sg,"$1"):c;if(!l.match(/\S*Error: /)){for(const d of t){const u=d(l);if(u){i.push(u);break}}if(i.length>=$S+s)break}}return oM(i.slice(s))}}function iM(e){return Array.isArray(e)?BS(...e):e}function oM(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(Na(t).function||"")&&t.pop(),t.reverse(),Eg.test(Na(t).function||"")&&(t.pop(),Eg.test(Na(t).function||"")&&t.pop()),t.slice(0,$S).map(n=>({...n,filename:n.filename||Na(t).filename,function:n.function||ks}))}function Na(e){return e[e.length-1]||{}}const Su="<anonymous>";function lr(e){try{return!e||typeof e!="function"?Su:e.name||Su}catch{return Su}}function wg(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 HS(e){return"__v_isVNode"in e&&e.__v_isVNode?"[VueVNode]":"[VueViewModel]"}const rc={},Cg={};function Kr(e,t){rc[e]=rc[e]||[],rc[e].push(t)}function Yr(e,t){if(!Cg[e]){Cg[e]=!0;try{t()}catch(n){le&&te.error(`Error while instrumenting ${e}`,n)}}}function dn(e,t){const n=e&&rc[e];if(n)for(const r of n)try{r(t)}catch(s){le&&te.error(`Error while triggering instrumentation handler.
|
||
Type: ${e}
|
||
Name: ${lr(r)}
|
||
Error:`,s)}}let Eu=null;function VS(e){const t="error";Kr(t,e),Yr(t,aM)}function aM(){Eu=xe.onerror,xe.onerror=function(e,t,n,r,s){return dn("error",{column:r,error:s,line:n,msg:e,url:t}),Eu?Eu.apply(this,arguments):!1},xe.onerror.__SENTRY_INSTRUMENTED__=!0}let wu=null;function US(e){const t="unhandledrejection";Kr(t,e),Yr(t,cM)}function cM(){wu=xe.onunhandledrejection,xe.onunhandledrejection=function(e){return dn("unhandledrejection",e),wu?wu.apply(this,arguments):!0},xe.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const WS=Object.prototype.toString;function Rl(e){switch(WS.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return ur(e,Error)}}function Wi(e,t){return WS.call(e)===`[object ${t}]`}function jS(e){return Wi(e,"ErrorEvent")}function Tg(e){return Wi(e,"DOMError")}function lM(e){return Wi(e,"DOMException")}function tr(e){return Wi(e,"String")}function ph(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function Ei(e){return e===null||ph(e)||typeof e!="object"&&typeof e!="function"}function jo(e){return Wi(e,"Object")}function Al(e){return typeof Event<"u"&&ur(e,Event)}function uM(e){return typeof Element<"u"&&ur(e,Element)}function dM(e){return Wi(e,"RegExp")}function ji(e){return!!(e!=null&&e.then&&typeof e.then=="function")}function fM(e){return jo(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function ur(e,t){try{return e instanceof t}catch{return!1}}function zS(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue||e.__v_isVNode))}function mh(e){return typeof Request<"u"&&ur(e,Request)}const gh=xe,hM=80;function qt(e,t={}){if(!e)return"<unknown>";try{let n=e;const r=5,s=[];let i=0,o=0;const a=" > ",c=a.length;let l;const d=Array.isArray(t)?t:t.keyAttrs,u=!Array.isArray(t)&&t.maxStringLength||hM;for(;n&&i++<r&&(l=pM(n,d),!(l==="html"||i>1&&o+s.length*c+l.length>=u));)s.push(l),o+=l.length,n=n.parentNode;return s.reverse().join(a)}catch{return"<unknown>"}}function pM(e,t){const n=e,r=[];if(!(n!=null&&n.tagName))return"";if(gh.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&&tr(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 Ls(){try{return gh.document.location.href}catch{return""}}function qS(e){if(!gh.HTMLElement)return null;let t=e;const n=5;for(let r=0;r<n;r++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}function Wt(e,t,n){if(!(t in e))return;const r=e[t];if(typeof r!="function")return;const s=n(r);typeof s=="function"&&GS(s,r);try{e[t]=s}catch{le&&te.log(`Failed to replace method "${t}" in object`,e)}}function Gt(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{le&&te.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function GS(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,Gt(e,"__sentry_original__",t)}catch{}}function vh(e){return e.__sentry_original__}function KS(e){if(Rl(e))return{message:e.message,name:e.name,stack:e.stack,...Ig(e)};if(Al(e)){const t={type:e.type,target:kg(e.target),currentTarget:kg(e.currentTarget),...Ig(e)};return typeof CustomEvent<"u"&&ur(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function kg(e){try{return uM(e)?qt(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function Ig(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 mM(e){const t=Object.keys(KS(e));return t.sort(),t[0]?t.join(", "):"[object has no keys]"}let Us;function ua(e){if(Us!==void 0)return Us?Us(e):e();const t=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),n=xe;return t in n&&typeof n[t]=="function"?(Us=n[t],Us(e)):(Us=null,e())}function Nr(){return ua(()=>Math.random())}function da(){return ua(()=>Date.now())}function Ad(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function xg(e,t){if(!Array.isArray(e))return"";const n=[];for(let r=0;r<e.length;r++){const s=e[r];try{zS(s)?n.push(HS(s)):n.push(String(s))}catch{n.push("[value cannot be serialized]")}}return n.join(t)}function sc(e,t,n=!1){return tr(e)?dM(t)?t.test(e):tr(t)?n?e===t:e.includes(t):!1:!1}function nr(e,t=[],n=!1){return t.some(r=>sc(e,r,n))}function gM(){const e=xe;return e.crypto||e.msCrypto}let Cu;function vM(){return Nr()*16}function tn(e=gM()){try{if(e!=null&&e.randomUUID)return ua(()=>e.randomUUID()).replace(/-/g,"")}catch{}return Cu||(Cu="10000000100040008000"+1e11),Cu.replace(/[018]/g,t=>(t^(vM()&15)>>t/4).toString(16))}function YS(e){var t,n;return(n=(t=e.exception)==null?void 0:t.values)==null?void 0:n[0]}function as(e){const{message:t,event_id:n}=e;if(t)return t;const r=YS(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function Md(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 wi(e,t){const n=YS(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 Rg(e){if(yM(e))return!0;try{Gt(e,"__sentry_captured__",!0)}catch{}return!1}function yM(e){try{return e.__sentry_captured__}catch{}}const XS=1e3;function Ns(){return da()/XS}function _M(){const{performance:e}=xe;if(!(e!=null&&e.now)||!e.timeOrigin)return Ns;const t=e.timeOrigin;return()=>(t+ua(()=>e.now()))/XS}let Ag;function lt(){return(Ag??(Ag=_M()))()}let Tu=null;function bM(){var o;const{performance:e}=xe;if(!(e!=null&&e.now))return;const t=3e5,n=ua(()=>e.now()),r=da(),s=e.timeOrigin;if(typeof s=="number"&&Math.abs(s+n-r)<t)return s;const i=(o=e.timing)==null?void 0:o.navigationStart;return typeof i=="number"&&Math.abs(i+n-r)<t?i:r-n}function Kt(){return Tu===null&&(Tu=bM()),Tu}function SM(e){const t=lt(),n={sid:tn(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>wM(n)};return e&&Ci(n,e),n}function Ci(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||lt(),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:tn()),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 EM(e,t){let n={};e.status==="ok"&&(n={status:"exited"}),Ci(e,n)}function wM(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 fa(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]=fa(r[s],t[s],n-1));return r}function dr(){return tn()}function rr(){return tn().substring(16)}const Pd="_sentrySpan";function Ti(e,t){t?Gt(e,Pd,t):delete e[Pd]}function Vc(e){return e[Pd]}const CM=100;class jn{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:dr(),sampleRand:Nr()}}clone(){const t=new jn;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,t._conversationId=this._conversationId,Ti(t,Vc(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&&Ci(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(t){return this._conversationId=t||void 0,this._notifyScopeListeners(),this}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 jn?n.getScopeData():jo(n)?t:void 0,{tags:s,attributes:i,extra:o,user:a,contexts:c,level:l,fingerprint:d=[],propagationContext:u,conversationId: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),d.length&&(this._fingerprint=d),u&&(this._propagationContext=u),f&&(this._conversationId=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,this._conversationId=void 0,Ti(this,void 0),this._attachments=[],this.setPropagationContext({traceId:dr(),sampleRand:Nr()}),this._notifyScopeListeners(),this}addBreadcrumb(t,n){var i;const r=typeof n=="number"?n:CM;if(r<=0)return this;const s={timestamp:Ns(),...t,message:t.message?Ad(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:Vc(this),conversationId:this._conversationId}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=fa(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)||tn();if(!this._client)return le&&te.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)||tn();if(!this._client)return le&&te.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=t.event_id||(n==null?void 0:n.event_id)||tn();return this._client?(this._client.captureEvent(t,{...n,event_id:r},this),r):(le&&te.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 TM(){return Ui("defaultCurrentScope",()=>new jn)}function kM(){return Ui("defaultIsolationScope",()=>new jn)}class IM{constructor(t,n){let r;t?r=t:r=new jn;let s;n?s=n:s=new jn,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 ji(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 ki(){const e=Os(),t=xl(e);return t.stack=t.stack||new IM(TM(),kM())}function xM(e){return ki().withScope(e)}function RM(e,t){const n=ki();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function Mg(e){return ki().withScope(()=>e(ki().getIsolationScope()))}function AM(){return{withIsolationScope:Mg,withScope:xM,withSetScope:RM,withSetIsolationScope:(e,t)=>Mg(t),getCurrentScope:()=>ki().getScope(),getIsolationScope:()=>ki().getIsolationScope()}}function zi(e){const t=xl(e);return t.acs?t.acs:AM()}function Oe(){const e=Os();return zi(e).getCurrentScope()}function $t(){const e=Os();return zi(e).getIsolationScope()}function JS(){return Ui("globalScope",()=>new jn)}function Ml(...e){const t=Os(),n=zi(t);if(e.length===2){const[r,s]=e;return r?n.withSetScope(r,s):n.withScope(s)}return n.withScope(e[0])}function Ce(){return Oe().getClient()}function MM(e){const t=e.getPropagationContext(),{traceId:n,parentSpanId:r,propagationSpanId:s}=t,i={trace_id:n,span_id:s||rr()};return r&&(i.parent_span_id=r),i}const jt="sentry.source",yh="sentry.sample_rate",ZS="sentry.previous_trace_sample_rate",fr="sentry.op",st="sentry.origin",zo="sentry.idle_span_finish_reason",ha="sentry.measurement_unit",pa="sentry.measurement_value",Pg="sentry.custom_span_name",_h="sentry.profile_id",qi="sentry.exclusive_time",PM="sentry.link.type",OM="gen_ai.conversation.id",LM=0,bh=1,ht=2;function NM(e){if(e<400&&e>=100)return{code:bh};if(e>=400&&e<500)switch(e){case 401:return{code:ht,message:"unauthenticated"};case 403:return{code:ht,message:"permission_denied"};case 404:return{code:ht,message:"not_found"};case 409:return{code:ht,message:"already_exists"};case 413:return{code:ht,message:"failed_precondition"};case 429:return{code:ht,message:"resource_exhausted"};case 499:return{code:ht,message:"cancelled"};default:return{code:ht,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:ht,message:"unimplemented"};case 503:return{code:ht,message:"unavailable"};case 504:return{code:ht,message:"deadline_exceeded"};default:return{code:ht,message:"internal_error"}}return{code:ht,message:"internal_error"}}function QS(e,t){e.setAttribute("http.response.status_code",t);const n=NM(t);n.message!=="unknown_error"&&e.setStatus(n)}const e0="_sentryScope",t0="_sentryIsolationScope";function DM(e){try{const t=xe.WeakRef;if(typeof t=="function")return new t(e)}catch{}return e}function FM(e){if(e){if(typeof e=="object"&&"deref"in e&&typeof e.deref=="function")try{return e.deref()}catch{return}return e}}function $M(e,t,n){e&&(Gt(e,t0,DM(n)),Gt(e,e0,t))}function Uc(e){const t=e;return{scope:t[e0],isolationScope:FM(t[t0])}}const Sh="sentry-",BM=/^sentry-/,HM=8192;function n0(e){const t=UM(e);if(!t)return;const n=Object.entries(t).reduce((r,[s,i])=>{if(s.match(BM)){const o=s.slice(Sh.length);r[o]=i}return r},{});if(Object.keys(n).length>0)return n}function VM(e){if(!e)return;const t=Object.entries(e).reduce((n,[r,s])=>(s&&(n[`${Sh}${r}`]=s),n),{});return WM(t)}function UM(e){if(!(!e||!tr(e)&&!Array.isArray(e)))return Array.isArray(e)?e.reduce((t,n)=>{const r=Og(n);return Object.entries(r).forEach(([s,i])=>{t[s]=i}),t},{}):Og(e)}function Og(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 WM(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>HM?(le&&te.warn(`Not adding key: ${n} with val: ${r} to baggage header due to exceeding baggage size limits.`),t):o},"")}const jM=/^o(\d+)\./,zM=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function qM(e){return e==="http"||e==="https"}function Gi(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 GM(e){const t=zM.exec(e);if(!t){br(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}const[n,r,s="",i="",o="",a=""]=t.slice(1);let c="",l=a;const d=l.split("/");if(d.length>1&&(c=d.slice(0,-1).join("/"),l=d.pop()),l){const u=l.match(/^\d+/);u&&(l=u[0])}return r0({host:i,pass:s,path:c,projectId:l,port:o,protocol:n,publicKey:r})}function r0(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function KM(e){if(!le)return!0;const{port:t,projectId:n,protocol:r}=e;return["protocol","publicKey","host","projectId"].find(o=>e[o]?!1:(te.error(`Invalid Sentry Dsn: ${o} missing`),!0))?!1:n.match(/^\d+$/)?qM(r)?t&&isNaN(parseInt(t,10))?(te.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(te.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(te.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function YM(e){const t=e.match(jM);return t==null?void 0:t[1]}function XM(e){const t=e.getOptions(),{host:n}=e.getDsn()||{};let r;return t.orgId?r=String(t.orgId):n&&(r=YM(n)),r}function JM(e){const t=typeof e=="string"?GM(e):r0(e);if(!(!t||!KM(t)))return t}function Is(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 s0=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function ZM(e){if(!e)return;const t=e.match(s0);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 QM(e,t){const n=ZM(e),r=n0(t);if(!(n!=null&&n.traceId))return{traceId:dr(),sampleRand:Nr()};const s=eP(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 i0(e=dr(),t=rr(),n){let r="";return n!==void 0&&(r=n?"-1":"-0"),`${e}-${t}${r}`}function o0(e=dr(),t=rr(),n){return`00-${e}-${t}-${n?"01":"00"}`}function eP(e,t){const n=Is(t==null?void 0:t.sample_rand);if(n!==void 0)return n;const r=Is(t==null?void 0:t.sample_rate);return r&&(e==null?void 0:e.parentSampled)!==void 0?e.parentSampled?Nr()*r:r+Nr()*(1-r):Nr()}const a0=0,Eh=1;let Lg=!1;function tP(e){const{spanId:t,traceId:n}=e.spanContext(),{data:r,op:s,parent_span_id:i,status:o,origin:a,links:c}=Re(e);return{parent_span_id:i,span_id:t,trace_id:n,data:r,op:s,status:o,origin:a,links:c}}function nP(e){const{spanId:t,traceId:n,isRemote:r}=e.spanContext(),s=r?t:Re(e).parent_span_id,i=Uc(e).scope,o=r?(i==null?void 0:i.getPropagationContext().propagationSpanId)||rr():t;return{parent_span_id:s,span_id:o,trace_id:n}}function rP(e){const{traceId:t,spanId:n}=e.spanContext(),r=Xr(e);return i0(t,n,r)}function sP(e){const{traceId:t,spanId:n}=e.spanContext(),r=Xr(e);return o0(t,n,r)}function c0(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===Eh,attributes:i,...s}))}function _s(e){return typeof e=="number"?Ng(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?Ng(e.getTime()):lt()}function Ng(e){return e>9999999999?e/1e3:e}function Re(e){var r;if(oP(e))return e.getSpanJSON();const{spanId:t,traceId:n}=e.spanContext();if(iP(e)){const{attributes:s,startTime:i,name:o,endTime:a,status:c,links:l}=e,d="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:d,start_timestamp:_s(i),timestamp:_s(a)||void 0,status:l0(c),op:s[fr],origin:s[st],links:c0(l)}}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function iP(e){const t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function oP(e){return typeof e.getSpanJSON=="function"}function Xr(e){const{traceFlags:t}=e.spanContext();return t===Eh}function l0(e){if(!(!e||e.code===LM))return e.code===bh?"ok":e.message||"internal_error"}const bs="_sentryChildSpans",Od="_sentryRootSpan";function u0(e,t){const n=e[Od]||e;Gt(t,Od,n),e[bs]?e[bs].add(t):Gt(e,bs,new Set([t]))}function aP(e,t){e[bs]&&e[bs].delete(t)}function ic(e){const t=new Set;function n(r){if(!t.has(r)&&Xr(r)){t.add(r);const s=r[bs]?Array.from(r[bs]):[];for(const i of s)n(i)}}return n(e),Array.from(t)}function wt(e){return e[Od]||e}function Tt(){const e=Os(),t=zi(e);return t.getActiveSpan?t.getActiveSpan():Vc(Oe())}function Ld(){Lg||(br(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),Lg=!0)}let Dg=!1;function cP(){if(Dg)return;function e(){const t=Tt(),n=t&&wt(t);if(n){const r="internal_error";le&&te.log(`[Tracing] Root span: ${r} -> Global error occurred`),n.setStatus({code:ht,message:r})}}e.tag="sentry_tracingErrorCallback",Dg=!0,VS(e),US(e)}function fn(e){var n;if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const t=e||((n=Ce())==null?void 0:n.getOptions());return!!t&&(t.tracesSampleRate!=null||!!t.tracesSampler)}function Fg(e){te.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function Wc(e,t){if(!(t!=null&&t.length)||!e.description)return!1;for(const n of t){if(uP(n)){if(sc(e.description,n))return le&&Fg(e),!0;continue}if(!n.name&&!n.op)continue;const r=n.name?sc(e.description,n.name):!0,s=n.op?e.op&&sc(e.op,n.op):!0;if(r&&s)return le&&Fg(e),!0}return!1}function lP(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 uP(e){return typeof e=="string"||e instanceof RegExp}const wh="production",d0="_frozenDsc";function oc(e,t){Gt(e,d0,t)}function f0(e,t){const n=t.getOptions(),{publicKey:r}=t.getDsn()||{},s={environment:n.environment||wh,release:n.release,public_key:r,trace_id:e,org_id:XM(t)};return t.emit("createDsc",s),s}function h0(e,t){const n=t.getPropagationContext();return n.dsc||f0(n.traceId,e)}function hr(e){var p;const t=Ce();if(!t)return{};const n=wt(e),r=Re(n),s=r.data,i=n.spanContext().traceState,o=(i==null?void 0:i.get("sentry.sample_rate"))??s[yh]??s[ZS];function a(m){return(typeof o=="number"||typeof o=="string")&&(m.sample_rate=`${o}`),m}const c=n[d0];if(c)return a(c);const l=i==null?void 0:i.get("sentry.dsc"),d=l&&n0(l);if(d)return a(d);const u=f0(e.spanContext().traceId,t),f=s[jt],h=r.description;return f!=="url"&&h&&(u.transaction=h),fn()&&(u.sampled=String(Xr(n)),u.sample_rand=(i==null?void 0:i.get("sentry.sample_rand"))??((p=Uc(n).scope)==null?void 0:p.getPropagationContext().sampleRand.toString())),a(u),t.emit("createDsc",u,n),u}class Vr{constructor(t={}){this._traceId=t.traceId||dr(),this._spanId=t.spanId||rr()}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:a0}}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 vn(e,t=100,n=1/0){try{return Nd("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function p0(e,t=3,n=100*1024){const r=vn(e,t);return pP(r)>n?p0(e,t-1,n):r}function Nd(e,t,n=1/0,r=1/0,s=mP()){const[i,o]=s;if(t==null||["boolean","string"].includes(typeof t)||typeof t=="number"&&Number.isFinite(t))return t;const a=dP(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 Nd("",h,c-1,r,s)}catch{}const d=Array.isArray(t)?[]:{};let u=0;const f=KS(t);for(const h in f){if(!Object.prototype.hasOwnProperty.call(f,h))continue;if(u>=r){d[h]="[MaxProperties ~]";break}const p=f[h];d[h]=Nd(h,p,c-1,r,s),u++}return o(t),d}function dP(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(zS(t))return HS(t);if(fM(t))return"[SyntheticEvent]";if(typeof t=="number"&&!Number.isFinite(t))return`[${t}]`;if(typeof t=="function")return`[Function: ${lr(t)}]`;if(typeof t=="symbol")return`[${String(t)}]`;if(typeof t=="bigint")return`[BigInt: ${String(t)}]`;const n=fP(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}function fP(e){const t=Object.getPrototypeOf(e);return t!=null&&t.constructor?t.constructor.name:"null prototype"}function hP(e){return~-encodeURI(e).split(/%..|./).length}function pP(e){return hP(JSON.stringify(e))}function mP(){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 Jr(e,t=[]){return[e,t]}function gP(e,t){const[n,r]=e;return[n,[...r,t]]}function Dd(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 vP(e,t){return Dd(e,(n,r)=>t.includes(r))}function Fd(e){const t=xl(xe);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function yP(e){const[t,n]=e;let r=JSON.stringify(t);function s(i){typeof r=="string"?r=typeof i=="string"?r+i:[Fd(r),i]:r.push(typeof i=="string"?Fd(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(vn(a))}s(c)}}return typeof r=="string"?r:_P(r)}function _P(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 bP(e){return[{type:"span"},e]}function SP(e){const t=typeof e.data=="string"?Fd(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}const EP={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 $g(e){return EP[e]}function Ch(e){if(!(e!=null&&e.sdk))return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function m0(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:Gi(r)},...s&&{trace:s}}}function wP(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 CP(e,t,n,r){const s=Ch(n),i={sent_at:new Date().toISOString(),...s&&{sdk:s},...!!r&&t&&{dsn:Gi(t)}},o="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return Jr(i,[o])}function TP(e,t,n,r){const s=Ch(n),i=e.type&&e.type!=="replay_event"?e.type:"event";wP(e,n==null?void 0:n.sdk);const o=m0(e,s,r,t);return delete e.sdkProcessingMetadata,Jr(o,[[{type:i},e]])}function kP(e,t){function n(h){return!!h.trace_id&&!!h.public_key}const r=hr(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:Gi(s)}},{beforeSendSpan:a,ignoreSpans:c}=(t==null?void 0:t.getOptions())||{},l=c!=null&&c.length?e.filter(h=>!Wc(Re(h),c)):e,d=e.length-l.length;d&&(t==null||t.recordDroppedEvent("before_send","span",d));const u=a?h=>{const p=Re(h),m=a(p);return m||(Ld(),p)}:Re,f=[];for(const h of l){const p=u(h);p&&f.push(bP(p))}return Jr(o,f)}function IP(e){if(!le)return;const{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:r}=Re(e),{spanId:s}=e.spanContext(),i=Xr(e),o=wt(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:d,description:u}=Re(o);l.push(`root ID: ${o.spanContext().spanId}`),d&&l.push(`root op: ${d}`),u&&l.push(`root description: ${u}`)}te.log(`${c}
|
||
${l.join(`
|
||
`)}`)}function xP(e){if(!le)return;const{description:t="< unknown name >",op:n="< unknown op >"}=Re(e),{spanId:r}=e.spanContext(),i=wt(e)===e,o=`[Tracing] Finishing "${n}" ${i?"root ":""}span "${t}" with ID ${r}`;te.log(o)}function RP(e,t,n,r=Tt()){const s=r&&wt(r);s&&(le&&te.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${n}`),s.addEvent(e,{[pa]:t,[ha]:n}))}function Bg(e){if(!e||e.length===0)return;const t={};return e.forEach(n=>{const r=n.attributes||{},s=r[ha],i=r[pa];typeof s=="string"&&typeof i=="number"&&(t[n.name]={value:i,unit:s})}),t}const Hg=1e3;class Pl{constructor(t={}){this._traceId=t.traceId||dr(),this._spanId=t.spanId||rr(),this._startTime=t.startTimestamp||lt(),this._links=t.links,this._attributes={},this.setAttributes({[st]:"manual",[fr]: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?Eh:a0}}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=_s(t)}setStatus(t){return this._status=t,this}updateName(t){return this._name=t,this.setAttribute(jt,"custom"),this}end(t){this._endTime||(this._endTime=_s(t),xP(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[fr],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:l0(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[st],profile_id:this._attributes[_h],exclusive_time:this._attributes[qi],measurements:Bg(this._events),is_segment:this._isStandaloneSpan&&wt(this)===this||void 0,segment_id:this._isStandaloneSpan?wt(this).spanContext().spanId:void 0,links:c0(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,n,r){le&&te.log("[Tracing] Adding an event to span:",t);const s=Vg(n)?n:r||lt(),i=Vg(n)?{}:n||{},o={name:t,time:_s(s),attributes:i};return this._events.push(o),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const t=Ce();if(t&&t.emit("spanEnd",this),!(this._isStandaloneSpan||this===wt(this)))return;if(this._isStandaloneSpan){this._sampled?MP(kP([this],t)):(le&&te.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||Oe()).captureEvent(r)}_convertSpanToTransaction(){var d;if(!Ug(Re(this)))return;this._name||(le&&te.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");const{scope:t,isolationScope:n}=Uc(this),r=(d=t==null?void 0:t.getScopeData().sdkProcessingMetadata)==null?void 0:d.normalizedRequest;if(this._sampled!==!0)return;const i=ic(this).filter(u=>u!==this&&!AP(u)).map(u=>Re(u)).filter(Ug),o=this._attributes[jt];delete this._attributes[Pg],i.forEach(u=>{delete u.data[Pg]});const a={contexts:{trace:tP(this)},spans:i.length>Hg?i.sort((u,f)=>u.start_timestamp-f.start_timestamp).slice(0,Hg):i,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:n,dynamicSamplingContext:hr(this)},request:r,...o&&{transaction_info:{source:o}}},c=Bg(this._events);return c&&Object.keys(c).length&&(le&&te.log("[Measurements] Adding measurements to transaction event",JSON.stringify(c,void 0,2)),a.measurements=c),a}}function Vg(e){return e&&typeof e=="number"||e instanceof Date||Array.isArray(e)}function Ug(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function AP(e){return e instanceof Pl&&e.isStandaloneSpan()}function MP(e){const t=Ce();if(!t)return;const n=e[1];if(!n||n.length===0){t.recordDroppedEvent("before_send","span");return}t.sendEnvelope(e)}function PP(e,t,n=()=>{},r=()=>{}){let s;try{s=e()}catch(i){throw t(i),n(),i}return OP(s,t,n,r)}function OP(e,t,n,r){return ji(e)?e.then(s=>(n(),r(s),s),s=>{throw t(s),n(),s}):(n(),r(e),e)}function LP(e,t,n){if(!fn(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=Is(s);if(i===void 0)return le&&te.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 le&&te.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=n<i;return o||le&&te.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(s)})`),[o,i,r]}const g0="__SENTRY_SUPPRESS_TRACING__";function NP(e,t){const n=kh();if(n.startSpan)return n.startSpan(e,t);const r=y0(e),{forceTransaction:s,parentSpan:i,scope:o}=e,a=o==null?void 0:o.clone();return Ml(a,()=>FP(i)(()=>{const l=Oe(),d=_0(l,i),f=e.onlyIfParent&&!d?new Vr:v0({parentSpan:d,spanArguments:r,forceTransaction:s,scope:l});return Ti(l,f),PP(()=>t(f),()=>{const{status:h}=Re(f);f.isRecording()&&(!h||h==="ok")&&f.setStatus({code:ht,message:"internal_error"})},()=>{f.end()})}))}function Ur(e){const t=kh();if(t.startInactiveSpan)return t.startInactiveSpan(e);const n=y0(e),{forceTransaction:r,parentSpan:s}=e;return(e.scope?o=>Ml(e.scope,o):s!==void 0?o=>Th(s,o):o=>o())(()=>{const o=Oe(),a=_0(o,s);return e.onlyIfParent&&!a?new Vr:v0({parentSpan:a,spanArguments:n,forceTransaction:r,scope:o})})}function Th(e,t){const n=kh();return n.withActiveSpan?n.withActiveSpan(e,t):Ml(r=>(Ti(r,e||void 0),t(r)))}function v0({parentSpan:e,spanArguments:t,forceTransaction:n,scope:r}){if(!fn()){const o=new Vr;if(n||!e){const a={sampled:"false",sample_rate:"0",transaction:t.name,...hr(o)};oc(o,a)}return o}const s=$t();let i;if(e&&!n)i=DP(e,r,t),u0(e,i);else if(e){const o=hr(e),{traceId:a,spanId:c}=e.spanContext(),l=Xr(e);i=Wg({traceId:a,parentSpanId:c,...t},r,l),oc(i,o)}else{const{traceId:o,dsc:a,parentSpanId:c,sampled:l}={...s.getPropagationContext(),...r.getPropagationContext()};i=Wg({traceId:o,parentSpanId:c,...t},r,l),a&&oc(i,a)}return IP(i),$M(i,r,s),i}function y0(e){const n={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){const r={...n};return r.startTimestamp=_s(e.startTime),delete r.startTime,r}return n}function kh(){const e=Os();return zi(e)}function Wg(e,t,n){var p;const r=Ce(),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(),[d,u,f]=t.getScopeData().sdkProcessingMetadata[g0]?[!1]:LP(s,{name:i,parentSampled:a,attributes:c,parentSampleRate:Is((p=l.dsc)==null?void 0:p.sample_rate)},l.sampleRand),h=new Pl({...e,attributes:{[jt]:"custom",[yh]:u!==void 0&&f?u:void 0,...c},sampled:d});return!d&&r&&(le&&te.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 DP(e,t,n){const{spanId:r,traceId:s}=e.spanContext(),i=t.getScopeData().sdkProcessingMetadata[g0]?!1:Xr(e),o=i?new Pl({...n,parentSpanId:r,traceId:s,sampled:i}):new Vr({traceId:s});u0(e,o);const a=Ce();return a&&(a.emit("spanStart",o),n.endTimestamp&&a.emit("spanEnd",o)),o}function _0(e,t){if(t)return t;if(t===null)return;const n=Vc(e);if(!n)return;const r=Ce();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?wt(n):n}function FP(e){return e!==void 0?t=>Th(e,t):t=>t()}const ac={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3},$P="heartbeatFailed",BP="idleTimeout",HP="finalTimeout",VP="externalFinish";function b0(e,t={}){const n=new Map;let r=!1,s,i=VP,o=!t.disableAutoFinish;const a=[],{idleTimeout:c=ac.idleTimeout,finalTimeout:l=ac.finalTimeout,childSpanTimeout:d=ac.childSpanTimeout,beforeSpanEnd:u,trimIdleSpanEndTimestamp:f=!0}=t,h=Ce();if(!h||!fn()){const S=new Vr,b={sample_rate:"0",sampled:"false",...hr(S)};return oc(S,b),S}const p=Oe(),m=Tt(),v=UP(e);v.end=new Proxy(v.end,{apply(S,b,k){if(u&&u(v),b instanceof Vr)return;const[R,...M]=k,T=R||lt(),O=_s(T),$=ic(v).filter(U=>U!==v),K=Re(v);if(!$.length||!f)return x(O),Reflect.apply(S,b,[O,...M]);const Z=h.getOptions().ignoreSpans,z=$==null?void 0:$.reduce((U,J)=>{const re=Re(J);return!re.timestamp||Z&&Wc(re,Z)?U:U?Math.max(U,re.timestamp):re.timestamp},void 0),N=K.start_timestamp,oe=Math.min(N?N+l/1e3:1/0,Math.max(N||-1/0,Math.min(O,z||1/0)));return x(oe),Reflect.apply(S,b,[oe,...M])}});function g(){s&&(clearTimeout(s),s=void 0)}function y(S){g(),s=setTimeout(()=>{!r&&n.size===0&&o&&(i=BP,v.end(S))},c)}function C(S){s=setTimeout(()=>{!r&&o&&(i=$P,v.end(S))},d)}function w(S){g(),n.set(S,!0);const b=lt();C(b+d/1e3)}function I(S){if(n.has(S)&&n.delete(S),n.size===0){const b=lt();y(b+c/1e3)}}function x(S){r=!0,n.clear(),a.forEach($=>$()),Ti(p,m);const b=Re(v),{start_timestamp:k}=b;if(!k)return;b.data[zo]||v.setAttribute(zo,i);const M=b.status;(!M||M==="unknown")&&v.setStatus({code:bh}),te.log(`[Tracing] Idle span "${b.op}" finished`);const T=ic(v).filter($=>$!==v);let O=0;T.forEach($=>{$.isRecording()&&($.setStatus({code:ht,message:"cancelled"}),$.end(S),le&&te.log("[Tracing] Cancelling span since span ended early",JSON.stringify($,void 0,2)));const K=Re($),{timestamp:Z=0,start_timestamp:z=0}=K,N=z<=S,oe=(l+c)/1e3,U=Z-z<=oe;if(le){const J=JSON.stringify($,void 0,2);N?U||te.log("[Tracing] Discarding span since it finished after idle span final timeout",J):te.log("[Tracing] Discarding span since it happened after idle span was finished",J)}(!U||!N)&&(aP(v,$),O++)}),O>0&&v.setAttribute("sentry.idle_span_discarded_spans",O)}return a.push(h.on("spanStart",S=>{if(r||S===v||Re(S).timestamp||S instanceof Pl&&S.isStandaloneSpan())return;ic(v).includes(S)&&w(S.spanContext().spanId)})),a.push(h.on("spanEnd",S=>{r||I(S.spanContext().spanId)})),a.push(h.on("idleSpanEnableAutoFinish",S=>{S===v&&(o=!0,y(),n.size&&C())})),t.disableAutoFinish||y(),setTimeout(()=>{r||(v.setStatus({code:ht,message:"deadline_exceeded"}),i=HP,v.end())},l),v}function UP(e){const t=Ur(e);return Ti(Oe(),t),le&&te.log("[Tracing] Started span is an idle span"),t}const ku=0,jg=1,zg=2;function ma(e){return new qo(t=>{t(e)})}function Ih(e){return new qo((t,n)=>{n(e)})}class qo{constructor(t){this._state=ku,this._handlers=[],this._runExecutor(t)}then(t,n){return new qo((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 qo((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===ku)return;const t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===jg&&n[1](this._value),this._state===zg&&n[2](this._value),n[0]=!0)})}_runExecutor(t){const n=(i,o)=>{if(this._state===ku){if(ji(o)){o.then(r,s);return}this._state=i,this._value=o,this._executeHandlers()}},r=i=>{n(jg,i)},s=i=>{n(zg,i)};try{t(r,s)}catch(i){s(i)}}}function WP(e,t,n,r=0){try{const s=$d(t,n,e,r);return ji(s)?s:ma(s)}catch(s){return Ih(s)}}function $d(e,t,n,r){const s=n[r];if(!e||!s)return e;const i=s({...e},t);return le&&i===null&&te.log(`Event processor "${s.id||"?"}" dropped event`),ji(i)?i.then(o=>$d(o,t,n,r+1)):$d(i,t,n,r+1)}let Kn,qg,Gg,wr;function jP(e){const t=xe._sentryDebugIds,n=xe._debugIds;if(!t&&!n)return{};const r=t?Object.keys(t):[],s=n?Object.keys(n):[];if(wr&&r.length===qg&&s.length===Gg)return wr;qg=r.length,Gg=s.length,wr={},Kn||(Kn={});const i=(o,a)=>{for(const c of o){const l=a[c],d=Kn==null?void 0:Kn[c];if(d&&wr&&l)wr[d[0]]=l,Kn&&(Kn[c]=[d[0],l]);else if(l){const u=e(c);for(let f=u.length-1;f>=0;f--){const h=u[f],p=h==null?void 0:h.filename;if(p&&wr&&Kn){wr[p]=l,Kn[c]=[p,l];break}}}}};return t&&i(r,t),n&&i(s,n),wr}function zP(e,t){const{fingerprint:n,span:r,breadcrumbs:s,sdkProcessingMetadata:i}=t;qP(e,t),r&&YP(e,r),XP(e,n),GP(e,s),KP(e,i)}function Kg(e,t){const{extra:n,tags:r,attributes:s,user:i,contexts:o,level:a,sdkProcessingMetadata:c,breadcrumbs:l,fingerprint:d,eventProcessors:u,attachments:f,propagationContext:h,transactionName:p,span:m}=t;io(e,"extra",n),io(e,"tags",r),io(e,"attributes",s),io(e,"user",i),io(e,"contexts",o),e.sdkProcessingMetadata=fa(e.sdkProcessingMetadata,c,2),a&&(e.level=a),p&&(e.transactionName=p),m&&(e.span=m),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),d.length&&(e.fingerprint=[...e.fingerprint,...d]),u.length&&(e.eventProcessors=[...e.eventProcessors,...u]),f.length&&(e.attachments=[...e.attachments,...f]),e.propagationContext={...e.propagationContext,...h}}function io(e,t,n){e[t]=fa(e[t],n,1)}function S0(e,t){const n=JS().getScopeData();return e&&Kg(n,e.getScopeData()),t&&Kg(n,t.getScopeData()),n}function qP(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 GP(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function KP(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function YP(e,t){e.contexts={trace:nP(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:hr(t),...e.sdkProcessingMetadata};const n=wt(t),r=Re(n).description;r&&!e.transaction&&e.type==="transaction"&&(e.transaction=r)}function XP(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 E0(e,t,n,r,s,i){const{normalizeDepth:o=3,normalizeMaxBreadth:a=1e3}=e,c={...t,event_id:t.event_id||n.event_id||tn(),timestamp:t.timestamp||Ns()},l=n.integrations||e.integrations.map(g=>g.name);JP(c,e),eO(c,l),s&&s.emit("applyFrameMetadata",t),t.type===void 0&&ZP(c,e.stackParser);const d=nO(r,n.captureContext);n.mechanism&&wi(c,n.mechanism);const u=s?s.getEventProcessors():[],f=S0(i,d),h=[...n.attachments||[],...f.attachments];h.length&&(n.attachments=h),zP(c,f);const p=[...u,...f.eventProcessors];return(n.data&&n.data.__sentry__===!0?ma(c):WP(p,c,n)).then(g=>(g&&QP(g),typeof o=="number"&&o>0?tO(g,o,a):g))}function JP(e,t){var a,c;const{environment:n,release:r,dist:s,maxValueLength:i}=t;e.environment=e.environment||n||wh,!e.release&&r&&(e.release=r),!e.dist&&s&&(e.dist=s);const o=e.request;o!=null&&o.url&&i&&(o.url=Ad(o.url,i)),i&&((c=(a=e.exception)==null?void 0:a.values)==null||c.forEach(l=>{l.value&&(l.value=Ad(l.value,i))}))}function ZP(e,t){var r,s;const n=jP(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 QP(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 eO(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function tO(e,t,n){var s,i;if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(o=>({...o,...o.data&&{data:vn(o.data,t,n)}}))},...e.user&&{user:vn(e.user,t,n)},...e.contexts&&{contexts:vn(e.contexts,t,n)},...e.extra&&{extra:vn(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=vn(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(o=>({...o,...o.data&&{data:vn(o.data,t,n)}}))),(i=e.contexts)!=null&&i.flags&&r.contexts&&(r.contexts.flags=vn(e.contexts.flags,3,n)),r}function nO(e,t){if(!t)return e;const n=e?e.clone():new jn;return n.update(t),n}function rO(e){if(e)return sO(e)?{captureContext:e}:oO(e)?{captureContext:e}:e}function sO(e){return e instanceof jn||typeof e=="function"}const iO=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function oO(e){return Object.keys(e).some(t=>iO.includes(t))}function Ol(e,t){return Oe().captureException(e,rO(t))}function w0(e,t){return Oe().captureEvent(e,t)}function aO(e,t){$t().setContext(e,t)}function cO(e,t){$t().setTag(e,t)}function lO(e){$t().setUser(e)}function uO(){const e=Ce();return(e==null?void 0:e.getOptions().enabled)!==!1&&!!(e!=null&&e.getTransport())}function dO(e){$t().addEventProcessor(e)}function Yg(e){const t=$t(),{user:n}=S0(t,Oe()),{userAgent:r}=xe.navigator||{},s=SM({user:n,...r&&{userAgent:r},...e}),i=t.getSession();return(i==null?void 0:i.status)==="ok"&&Ci(i,{status:"exited"}),C0(),t.setSession(s),s}function C0(){const e=$t(),n=Oe().getSession()||e.getSession();n&&EM(n),T0(),e.setSession()}function T0(){const e=$t(),t=Ce(),n=e.getSession();n&&t&&t.captureSession(n)}function Iu(e=!1){if(e){C0();return}T0()}const fO="7";function hO(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function pO(e){return`${hO(e)}${e.projectId}/envelope/`}function mO(e,t){const n={sentry_version:fO};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}function gO(e,t,n){return t||`${pO(e)}?${mO(e,n)}`}const Xg=[];function vO(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 yO(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 vO(r)}function _O(e,t){const n={};return t.forEach(r=>{r&&k0(e,r,n)}),n}function Jg(e,t){for(const n of t)n!=null&&n.afterAllSetup&&n.afterAllSetup(e)}function k0(e,t,n){if(n[t.name]){le&&te.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,!Xg.includes(t.name)&&typeof t.setupOnce=="function"&&(t.setupOnce(),Xg.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)}le&&te.log(`Integration installed: ${t.name}`)}function Zg(e){const t=Ce();if(!t){le&&te.warn(`Cannot add integration "${e.name}" because no SDK Client is available.`);return}t.addIntegration(e)}function bO(e){return[{type:"log",item_count:e.length,content_type:"application/vnd.sentry.items.log+json"},{items:e}]}function SO(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=Gi(r)),Jr(s,[bO(e)])}function Bd(e,t){const n=t??EO(e)??[];if(n.length===0)return;const r=e.getOptions(),s=SO(n,r._metadata,r.tunnel,e.getDsn());I0().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(s)}function EO(e){return I0().get(e)}function I0(){return Ui("clientToLogBufferMap",()=>new WeakMap)}function wO(e){return[{type:"trace_metric",item_count:e.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{items:e}]}function CO(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=Gi(r)),Jr(s,[wO(e)])}function x0(e,t){const n=t??TO(e)??[];if(n.length===0)return;const r=e.getOptions(),s=CO(n,r._metadata,r.tunnel,e.getDsn());R0().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(s)}function TO(e){return R0().get(e)}function R0(){return Ui("clientToMetricBufferMap",()=>new WeakMap)}function A0(e){return typeof e=="object"&&typeof e.unref=="function"&&e.unref(),e}const xh=Symbol.for("SentryBufferFullError");function Rh(e=100){const t=new Set;function n(){return t.size<e}function r(o){t.delete(o)}function s(o){if(!n())return Ih(xh);const a=o();return t.add(a),a.then(()=>r(a),()=>r(a)),a}function i(o){if(!t.size)return ma(!0);const a=Promise.allSettled(Array.from(t)).then(()=>!0);if(!o)return a;const c=[a,new Promise(l=>A0(setTimeout(()=>l(!1),o)))];return Promise.race(c)}return{get $(){return Array.from(t)},add:s,drain:i}}const kO=60*1e3;function IO(e,t=da()){const n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;const r=Date.parse(`${e}`);return isNaN(r)?kO:r-t}function xO(e,t){return e[t]||e.all||0}function M0(e,t,n=da()){return xO(e,t)>n}function P0(e,{statusCode:t,headers:n},r=da()){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,,,d]=a.split(":",5),u=parseInt(c,10),f=(isNaN(u)?60:u)*1e3;if(!l)s.all=r+f;else for(const h of l.split(";"))h==="metric_bucket"?(!d||d.split(";").includes("custom"))&&(s[h]=r+f):s[h]=r+f}else o?s.all=r+IO(o,r):t===429&&(s.all=r+60*1e3);return s}const O0=64;function RO(e,t,n=Rh(e.bufferSize||O0)){let r={};const s=o=>n.drain(o);function i(o){const a=[];if(Dd(o,(u,f)=>{const h=$g(f);M0(r,h)?e.recordDroppedEvent("ratelimit_backoff",h):a.push(u)}),a.length===0)return Promise.resolve({});const c=Jr(o[0],a),l=u=>{if(vP(c,["client_report"])){le&&te.warn(`Dropping client report. Will not send outcomes (reason: ${u}).`);return}Dd(c,(f,h)=>{e.recordDroppedEvent(u,$g(h))})},d=()=>t({body:yP(c)}).then(u=>u.statusCode===413?(le&&te.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."),l("send_error"),u):(le&&u.statusCode!==void 0&&(u.statusCode<200||u.statusCode>=300)&&te.warn(`Sentry responded with status code ${u.statusCode} to sent event.`),r=P0(r,u),u),u=>{throw l("network_error"),le&&te.error("Encountered error running transport request:",u),u});return n.add(d).then(u=>u,u=>{if(u===xh)return le&&te.error("Skipped sending event because buffer is full."),l("queue_overflow"),Promise.resolve({});throw u})}return{send:i,flush:s}}function AO(e,t,n){const r=[{type:"client_report"},{timestamp:Ns(),discarded_events:e}];return Jr(t?{dsn:t}:{},[r])}function L0(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 MO(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[_h],exclusive_time:o==null?void 0:o[qi],measurements:e.measurements,is_segment:!0}}function PO(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&&{[_h]:e.profile_id},...e.exclusive_time&&{[qi]:e.exclusive_time}}}},measurements:e.measurements}}const Qg="Not capturing exception because it's already been captured.",ev="Discarded session because of missing or non-string release",N0=Symbol.for("SentryInternalError"),D0=Symbol.for("SentryDoNotSendEventError"),OO=5e3;function cc(e){return{message:e,[N0]:!0}}function xu(e){return{message:e,[D0]:!0}}function tv(e){return!!e&&typeof e=="object"&&N0 in e}function nv(e){return!!e&&typeof e=="object"&&D0 in e}function rv(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=A0(setTimeout(()=>{s(e)},OO)))}),e.on("flush",()=>{s(e)})}class LO{constructor(t){var r,s,i;if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=Rh(((r=t.transportOptions)==null?void 0:r.bufferSize)??O0),t.dsn?this._dsn=JM(t.dsn):le&&te.warn("No DSN provided, client will not send events."),this._dsn){const o=gO(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&&rv(this,"afterCaptureLog","flushLogs",$O,Bd),(this._options.enableMetrics??((i=this._options._experiments)==null?void 0:i.enableMetrics)??!0)&&rv(this,"afterCaptureMetric","flushMetrics",FO,x0)}captureException(t,n,r){const s=tn();if(Rg(t))return le&&te.log(Qg),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:tn(),...r},o=ph(t)?t:String(t),a=Ei(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=tn();if(n!=null&&n.originalException&&Rg(n.originalException))return le&&te.log(Qg),s;const i={event_id:s,...n},o=t.sdkProcessingMetadata||{},a=o.capturedSpanScope,c=o.capturedSpanIsolationScope,l=sv(t.type);return this._process(()=>this._captureEvent(t,i,a||r,c),l),i.event_id}captureSession(t){this.sendSession(t),Ci(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){Bd(this);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];k0(this,t,this._integrations),n||Jg(this,[t])}sendEvent(t,n={}){this.emit("beforeSendEvent",t,n);let r=TP(t,this._dsn,this._options._metadata,this._options.tunnel);for(const s of n.attachments||[])r=gP(r,SP(s));this.sendEnvelope(r).then(s=>this.emit("afterSendEvent",t,s))}sendSession(t){const{release:n,environment:r=wh}=this._options;if("aggregates"in t){const i=t.attrs||{};if(!i.release&&!n){le&&te.warn(ev);return}i.release=i.release||n,i.environment=i.environment||r,t.attrs=i}else{if(!t.release&&!n){le&&te.warn(ev);return}t.release=t.release||n,t.environment=t.environment||r}this.emit("beforeSendSession",t);const s=CP(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}`;le&&te.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 le&&te.error("Error while sending envelope:",n),{}}return le&&te.error("Transport disabled"),{}}dispose(){}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=_O(this,t),Jg(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 d of i)if(((l=d.mechanism)==null?void 0:l.handled)===!1){r=!0;break}}const o=t.status==="ok";(o&&t.errors===0||o&&r)&&(Ci(t,{...r&&{status:"crashed"},errors:t.errors||Number(s||r)}),this.captureSession(t))}async _isClientDoneProcessing(t){let n=0;for(;!t||n<t;){if(await new Promise(r=>setTimeout(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),E0(i,t,n,r,this,s).then(a=>{if(a===null)return a;this.emit("postprocessEvent",a,n),a.contexts={trace:MM(r),...a.contexts};const c=h0(this,r);return a.sdkProcessingMetadata={dynamicSamplingContext:c,...a.sdkProcessingMetadata},a})}_captureEvent(t,n={},r=Oe(),s=$t()){return le&&Hd(t)&&te.log(`Captured error event \`${L0(t)[0]||"<unknown>"}\``),this._processEvent(t,n,r,s).then(i=>i.event_id,i=>{le&&(nv(i)?te.log(i.message):tv(i)?te.warn(i.message):te.warn(i))})}_processEvent(t,n,r,s){const i=this.getOptions(),{sampleRate:o}=i,a=F0(t),c=Hd(t),d=`before send for type \`${t.type||"error"}\``,u=typeof o>"u"?void 0:Is(o);if(c&&typeof u=="number"&&Nr()>u)return this.recordDroppedEvent("sample_rate","error"),Ih(xu(`Discarding event because it's not included in the random sample (sampling rate = ${o})`));const f=sv(t.type);return this._prepareEvent(t,n,r,s).then(h=>{if(h===null)throw this.recordDroppedEvent("event_processor",f),xu("An event processor returned `null`, will not send event.");if(n.data&&n.data.__sentry__===!0)return h;const m=DO(this,i,h,n);return NO(m,d)}).then(h=>{var v;if(h===null){if(this.recordDroppedEvent("before_send",f),a){const y=1+(t.spans||[]).length;this.recordDroppedEvent("before_send","span",y)}throw xu(`${d} returned \`null\`, will not send event.`)}const p=r.getSession()||s.getSession();if(c&&p&&this._updateSessionFromEvent(p,h),a){const g=((v=h.sdkProcessingMetadata)==null?void 0:v.spanCountBeforeProcessing)||0,y=h.spans?h.spans.length:0,C=g-y;C>0&&this.recordDroppedEvent("before_send","span",C)}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 nv(h)||tv(h)?h:(this.captureException(h,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:h}),cc(`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===xh&&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(){le&&te.log("Flushing outcomes...");const t=this._clearOutcomes();if(t.length===0){le&&te.log("No outcomes to send");return}if(!this._dsn){le&&te.log("No dsn provided, will not send outcomes");return}le&&te.log("Sending outcomes:",t);const n=AO(t,this._options.tunnel&&Gi(this._dsn));this.sendEnvelope(n)}}function sv(e){return e==="replay_event"?"replay":e||"error"}function NO(e,t){const n=`${t} must return \`null\` or a valid event.`;if(ji(e))return e.then(r=>{if(!jo(r)&&r!==null)throw cc(n);return r},r=>{throw cc(`${t} rejected with ${r}`)});if(!jo(e)&&e!==null)throw cc(n);return e}function DO(e,t,n,r){const{beforeSend:s,beforeSendTransaction:i,beforeSendSpan:o,ignoreSpans:a}=t;let c=n;if(Hd(c)&&s)return s(c,r);if(F0(c)){if(o||a){const l=MO(c);if(a!=null&&a.length&&Wc(l,a))return null;if(o){const d=o(l);d?c=fa(n,PO(d)):Ld()}if(c.spans){const d=[],u=c.spans;for(const h of u){if(a!=null&&a.length&&Wc(h,a)){lP(u,h);continue}if(o){const p=o(h);p?d.push(p):(Ld(),d.push(h))}else d.push(h)}const f=c.spans.length-d.length;f&&e.recordDroppedEvent("before_send","span",f),c.spans=d}}if(i){if(c.spans){const l=c.spans.length;c.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:l}}return i(c,r)}}return c}function Hd(e){return e.type===void 0}function F0(e){return e.type==="transaction"}function FO(e){let t=0;return e.name&&(t+=e.name.length*2),t+=8,t+$0(e.attributes)}function $O(e){let t=0;return e.message&&(t+=e.message.length*2),t+$0(e.attributes)}function $0(e){if(!e)return 0;let t=0;return Object.values(e).forEach(n=>{Array.isArray(n)?t+=n.length*iv(n[0]):Ei(n)?t+=iv(n):t+=100}),t}function iv(e){return typeof e=="string"?e.length*2:typeof e=="number"?8:typeof e=="boolean"?4:0}function BO(e){return Rl(e)&&"__sentry_fetch_url_host__"in e&&typeof e.__sentry_fetch_url_host__=="string"}function ov(e){return BO(e)?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}function HO(e,t){t.debug===!0&&(le?te.enable():br(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),Oe().update(t.initialScope);const r=new e(t);return VO(r),r.init(),r}function VO(e){Oe().setClient(e)}const UO="thismessage:/";function Ah(e){return"isRelative"in e}function Mh(e,t){const n=e.indexOf("://")<=0&&e.indexOf("//")!==0,r=n?UO: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 WO(e){if(Ah(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 Ss(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 jO(e){return e.split(/[?#]/,1)[0]}function Dr(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 zO(e,t){const n=t==null?void 0:t.getDsn(),r=t==null?void 0:t.getOptions().tunnel;return GO(e,n)||qO(e,r)}function qO(e,t){return t?av(e)===av(t):!1}function GO(e,t){const n=Mh(e);return!n||Ah(n)?!1:t?n.host.includes(t.host)&&/(^|&|\?)sentry_key=/.test(n.search):!1}function av(e){return e[e.length-1]==="/"?e.slice(0,-1):e}function KO(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 B0(e,t,n=[t],r="npm"){const s=(e._metadata=e._metadata||{}).sdk=e._metadata.sdk||{};s.name||(s.name=`sentry.javascript.${t}`,s.packages=n.map(i=>({name:`${r}:@sentry/${i}`,version:ys})),s.version=ys)}function H0(e={}){const t=e.client||Ce();if(!uO()||!t)return{};const n=Os(),r=zi(n);if(r.getTraceData)return r.getTraceData(e);const s=e.scope||Oe(),i=e.span||Tt(),o=i?rP(i):YO(s),a=i?hr(i):h0(t,s),c=VM(a);if(!s0.test(o))return te.warn("Invalid sentry-trace data. Cannot generate trace data"),{};const d={"sentry-trace":o,baggage:c};return e.propagateTraceparent&&(d.traceparent=i?sP(i):XO(s)),d}function YO(e){const{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return i0(t,r,n)}function XO(e){const{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return o0(t,r,n)}function JO(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 d(){return s!==void 0||i!==void 0?c():r}function u(){return s&&clearTimeout(s),s=a(c,t),o&&i===void 0&&(i=a(c,o)),r}return u.cancel=l,u.flush=d,u}const ZO=100;function Wr(e,t){const n=Ce(),r=$t();if(!n)return;const{beforeBreadcrumb:s=null,maxBreadcrumbs:i=ZO}=n.getOptions();if(i<=0)return;const a={timestamp:Ns(),...e},c=s?br(()=>s(a,t)):a;c!==null&&(n.emit&&n.emit("beforeAddBreadcrumb",c,t),r.addBreadcrumb(c,i))}let cv;const QO="FunctionToString",lv=new WeakMap,eL=()=>({name:QO,setupOnce(){cv=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=vh(this),n=lv.has(Ce())&&t!==void 0?t:this;return cv.apply(n,e)}}catch{}},setup(e){lv.set(e,!0)}}),tL=eL,nL=[/^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$/],rL="EventFilters",sL=(e={})=>{let t;return{name:rL,setup(n){const r=n.getOptions();t=uv(e,r)},processEvent(n,r,s){if(!t){const i=s.getOptions();t=uv(e,i)}return oL(n,t)?null:n}}},iL=(e={})=>({...sL(e),name:"InboundFilters"});function uv(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:nL],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function oL(e,t){if(e.type){if(e.type==="transaction"&&cL(e,t.ignoreTransactions))return le&&te.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
|
||
Event: ${as(e)}`),!0}else{if(aL(e,t.ignoreErrors))return le&&te.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
|
||
Event: ${as(e)}`),!0;if(fL(e))return le&&te.warn(`Event dropped due to not having an error message, error type or stacktrace.
|
||
Event: ${as(e)}`),!0;if(lL(e,t.denyUrls))return le&&te.warn(`Event dropped due to being matched by \`denyUrls\` option.
|
||
Event: ${as(e)}.
|
||
Url: ${jc(e)}`),!0;if(!uL(e,t.allowUrls))return le&&te.warn(`Event dropped due to not being matched by \`allowUrls\` option.
|
||
Event: ${as(e)}.
|
||
Url: ${jc(e)}`),!0}return!1}function aL(e,t){return t!=null&&t.length?L0(e).some(n=>nr(n,t)):!1}function cL(e,t){if(!(t!=null&&t.length))return!1;const n=e.transaction;return n?nr(n,t):!1}function lL(e,t){if(!(t!=null&&t.length))return!1;const n=jc(e);return n?nr(n,t):!1}function uL(e,t){if(!(t!=null&&t.length))return!0;const n=jc(e);return n?nr(n,t):!0}function dL(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&n.filename!=="<anonymous>"&&n.filename!=="[native code]")return n.filename||null}return null}function jc(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?dL(s):null}catch{return le&&te.error(`Cannot extract url for event ${as(e)}`),null}}function fL(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 hL(e,t,n,r,s,i){var a;if(!((a=s.exception)!=null&&a.values)||!i||!ur(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=Vd(e,t,r,i.originalException,n,s.exception.values,o,0))}function Vd(e,t,n,r,s,i,o,a){if(i.length>=n+1)return i;let c=[...i];if(ur(r[s],Error)){dv(o,a,r);const l=e(t,r[s]),d=c.length;fv(l,s,d,a),c=Vd(e,t,n,r[s],s,[l,...c],l,d)}return V0(r)&&r.errors.forEach((l,d)=>{if(ur(l,Error)){dv(o,a,r);const u=e(t,l),f=c.length;fv(u,`errors[${d}]`,f,a),c=Vd(e,t,n,l,s,[u,...c],u,f)}}),c}function V0(e){return Array.isArray(e.errors)}function dv(e,t,n){e.mechanism={handled:!0,type:"auto.core.linked_errors",...V0(n)&&{is_exception_group:!0},...e.mechanism,exception_id:t}}function fv(e,t,n,r){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}function pL(e){const t="console";Kr(t,e),Yr(t,mL)}function mL(){"console"in xe&&ZA.forEach(function(e){e in xe.console&&Wt(xe.console,e,function(t){return Hc[e]=t,function(...n){dn("console",{args:n,level:e});const s=Hc[e];s==null||s.apply(xe.console,n)}})})}function U0(e){return e==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}const gL="Dedupe",vL=()=>{let e;return{name:gL,processEvent(t){if(t.type)return t;try{if(_L(t,e))return le&&te.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}},yL=vL;function _L(e,t){return t?!!(bL(e,t)||SL(e,t)):!1}function bL(e,t){const n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!j0(e,t)||!W0(e,t))}function SL(e,t){const n=hv(t),r=hv(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!j0(e,t)||!W0(e,t))}function W0(e,t){let n=wg(e),r=wg(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;s<r.length;s++){const i=r[s],o=n[s];if(i.filename!==o.filename||i.lineno!==o.lineno||i.colno!==o.colno||i.function!==o.function)return!1}return!0}function j0(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return n.join("")===r.join("")}catch{return!1}}function hv(e){var t,n;return(n=(t=e.exception)==null?void 0:t.values)==null?void 0:n[0]}const EL="ConversationId",wL=()=>({name:EL,setup(e){e.on("spanStart",t=>{const n=Oe().getScopeData(),r=$t().getScopeData(),s=n.conversationId||r.conversationId;s&&t.setAttribute(OM,s)})}}),CL=wL;function TL(e,t,n,r,s){if(!e.fetchData)return;const{method:i,url:o}=e.fetchData,a=fn()&&t(o);if(e.endTimestamp){const h=e.fetchData.__span;if(!h)return;const p=r[h];p&&(a&&(xL(p,e),kL(p,e,s)),delete r[h]);return}const{spanOrigin:c="auto.http.browser",propagateTraceparent:l=!1}=typeof s=="object"?s:{spanOrigin:s},d=!!Tt(),u=a&&d?Ur(AL(o,i,c)):new Vr;if(e.fetchData.__span=u.spanContext().spanId,r[u.spanContext().spanId]=u,n(e.fetchData.url)){const h=e.args[0],p={...e.args[1]||{}},m=IL(h,p,fn()&&d?u:void 0,l);m&&(e.args[1]=p,p.headers=m)}const f=Ce();if(f){const h={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};f.emit("beforeOutgoingRequestSpan",u,h)}return u}function kL(e,t,n){var s;const r=typeof n=="object"&&n!==null?n.onRequestSpanEnd:void 0;r==null||r(e,{headers:(s=t.response)==null?void 0:s.headers,error:t.error})}function IL(e,t,n,r){const s=H0({span:n,propagateTraceparent:r}),i=s["sentry-trace"],o=s.baggage,a=s.traceparent;if(!i)return;const c=t.headers||(mh(e)?e.headers:void 0);if(c)if(RL(c)){const l=new Headers(c);if(l.get("sentry-trace")||l.set("sentry-trace",i),r&&a&&!l.get("traceparent")&&l.set("traceparent",a),o){const d=l.get("baggage");d?Da(d)||l.set("baggage",`${d},${o}`):l.set("baggage",o)}return l}else if(Array.isArray(c)){const l=[...c];c.find(u=>u[0]==="sentry-trace")||l.push(["sentry-trace",i]),r&&a&&!c.find(u=>u[0]==="traceparent")&&l.push(["traceparent",a]);const d=c.find(u=>u[0]==="baggage"&&Da(u[1]));return o&&!d&&l.push(["baggage",o]),l}else{const l="sentry-trace"in c?c["sentry-trace"]:void 0,d="traceparent"in c?c.traceparent:void 0,u="baggage"in c?c.baggage:void 0,f=u?Array.isArray(u)?[...u]:[u]:[],h=u&&(Array.isArray(u)?u.find(m=>Da(m)):Da(u));o&&!h&&f.push(o);const p={...c,"sentry-trace":l??i,baggage:f.length>0?f.join(","):void 0};return r&&a&&!d&&(p.traceparent=a),p}else return{...s}}function xL(e,t){var n,r;if(t.response){QS(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:ht,message:"internal_error"});e.end()}function Da(e){return e.split(",").some(t=>t.trim().startsWith(Sh))}function RL(e){return typeof Headers<"u"&&ur(e,Headers)}function AL(e,t,n){if(e.startsWith("data:")){const i=Dr(e);return{name:`${t} ${i}`,attributes:pv(e,void 0,t,n)}}const r=Mh(e),s=r?WO(r):e;return{name:`${t} ${s}`,attributes:pv(e,r,t,n)}}function pv(e,t,n,r){const s={url:Dr(e),type:"fetch","http.method":n,[st]:r,[fr]:"http.client"};return t&&(Ah(t)||(s["http.url"]=Dr(t.href),s["server.address"]=t.host),t.search&&(s["http.query"]=t.search),t.hash&&(s["http.fragment"]=t.hash)),s}function ML(e,t={},n=Oe()){const{message:r,name:s,email:i,url:o,source:a,associatedEventId:c,tags:l}=e,d={contexts:{feedback:{contact_email:i,name:s,message:r,url:o,source:a,associated_event_id:c}},type:"feedback",level:"info",tags:l},u=(n==null?void 0:n.getClient())||Ce();return u&&u.emit("beforeSendFeedback",d,t),n.captureEvent(d,t)}function z0(e){if(e!==void 0)return e>=400&&e<500?"warning":e>=500?"error":void 0}const Go=xe;function PL(){return"history"in Go&&!!Go.history}function OL(){if(!("fetch"in Go))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}function Ud(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function LL(){var n;if(typeof EdgeRuntime=="string")return!0;if(!OL())return!1;if(Ud(Go.fetch))return!0;let e=!1;const t=Go.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=Ud(r.contentWindow.fetch)),t.head.removeChild(r)}catch(r){le&&te.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",r)}return e}function q0(e,t){const n="fetch";Kr(n,e),Yr(n,()=>G0(void 0,t))}function NL(e){const t="fetch-body-resolved";Kr(t,e),Yr(t,()=>G0(FL))}function G0(e,t=!1){t&&!LL()||Wt(xe,"fetch",function(n){return function(...r){const s=new Error,{method:i,url:o}=$L(r),a={args:r,fetchData:{method:i,url:o},startTimestamp:lt()*1e3,virtualError:s,headers:BL(r)};return e||dn("fetch",{...a}),n.apply(xe,r).then(async c=>(e?e(c):dn("fetch",{...a,endTimestamp:lt()*1e3,response:c}),c),c=>{dn("fetch",{...a,endTimestamp:lt()*1e3,error:c}),Rl(c)&&c.stack===void 0&&(c.stack=s.stack,Gt(c,"framesToPop",1));const l=Ce(),d=(l==null?void 0:l.getOptions().enhanceFetchErrorMessages)??"always";if(d!==!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;d==="always"?c.message=`${c.message} (${h})`:Gt(c,"__sentry_fetch_url_host__",h)}catch{}throw c})}})}async function DL(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 FL(e){let t;try{t=e.clone()}catch{return}DL(t,()=>{dn("fetch-body-resolved",{endTimestamp:lt()*1e3,response:e})})}function lc(e,t){return!!e&&typeof e=="object"&&!!e[t]}function mv(e){return typeof e=="string"?e:e?lc(e,"url")?e.url:e.toString?e.toString():"":""}function $L(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[n,r]=e;return{url:mv(n),method:lc(r,"method")?String(r.method).toUpperCase():mh(n)&&lc(n,"method")?String(n.method).toUpperCase():"GET"}}const t=e[0];return{url:mv(t),method:lc(t,"method")?String(t.method).toUpperCase():"GET"}}function BL(e){const[t,n]=e;try{if(typeof n=="object"&&n!==null&&"headers"in n&&n.headers)return new Headers(n.headers);if(mh(t))return new Headers(t.headers)}catch{}}function HL(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function VL(){return"npm"}function UL(){return!HL()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function zc(){return typeof window<"u"&&(!UL()||WL())}function WL(){const e=xe.process;return(e==null?void 0:e.type)==="renderer"}const _n=xe,We=_n.document,lo=_n.navigator,K0="Report a Bug",jL="Cancel",zL="Send Bug Report",qL="Confirm",GL="Report a Bug",KL="your.email@example.org",YL="Email",XL="What's the bug? What did you expect?",JL="Description",ZL="Your Name",QL="Name",eN="Thank you for your report!",tN="(required)",nN="Add a screenshot",rN="Remove screenshot",sN="Highlight",iN="Hide",oN="Remove",aN="widget",cN="api",lN=5e3,uN=(e,t={includeReplay:!0})=>{if(!e.message)throw new Error("Unable to submit feedback with empty message");const n=Ce();if(!n)throw new Error("No client setup, cannot send feedback.");e.tags&&Object.keys(e.tags).length&&Oe().setTags(e.tags);const r=ML({source:cN,url:Ls(),...e},t);return new Promise((s,i)=>{const o=setTimeout(()=>i("Unable to determine if Feedback was correctly sent."),3e4),a=n.on("afterSendEvent",(c,l)=>{if(c.event_id===r)return clearTimeout(o),a(),l!=null&&l.statusCode&&l.statusCode>=200&&l.statusCode<300?s(r):(l==null?void 0:l.statusCode)===403?i("Unable to send feedback. This could be because this domain is not in your list of allowed domains."):i("Unable to send feedback. This could be because of network issues, or because you are using an ad-blocker.")})})},uc=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function dN(){return!(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(lo.userAgent)||/Macintosh/i.test(lo.userAgent)&&lo.maxTouchPoints&&lo.maxTouchPoints>1||!isSecureContext)}function Fa(e,t){return{...e,...t,tags:{...e.tags,...t.tags},onFormOpen:()=>{var n,r;(n=t.onFormOpen)==null||n.call(t),(r=e.onFormOpen)==null||r.call(e)},onFormClose:()=>{var n,r;(n=t.onFormClose)==null||n.call(t),(r=e.onFormClose)==null||r.call(e)},onSubmitSuccess:(n,r)=>{var s,i;(s=t.onSubmitSuccess)==null||s.call(t,n,r),(i=e.onSubmitSuccess)==null||i.call(e,n,r)},onSubmitError:n=>{var r,s;(r=t.onSubmitError)==null||r.call(t,n),(s=e.onSubmitError)==null||s.call(e,n)},onFormSubmitted:()=>{var n,r;(n=t.onFormSubmitted)==null||n.call(t),(r=e.onFormSubmitted)==null||r.call(e)},themeDark:{...e.themeDark,...t.themeDark},themeLight:{...e.themeLight,...t.themeLight}}}function fN(e){const t=We.createElement("style");return t.textContent=`
|
||
.widget__actor {
|
||
position: fixed;
|
||
z-index: var(--z-index);
|
||
margin: var(--page-margin);
|
||
inset: var(--actor-inset);
|
||
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
padding: 16px;
|
||
|
||
font-family: inherit;
|
||
font-size: var(--font-size);
|
||
font-weight: 600;
|
||
line-height: 1.14em;
|
||
text-decoration: none;
|
||
|
||
background: var(--actor-background, var(--background));
|
||
border-radius: var(--actor-border-radius, 1.7em/50%);
|
||
border: var(--actor-border, var(--border));
|
||
box-shadow: var(--actor-box-shadow, var(--box-shadow));
|
||
color: var(--actor-color, var(--foreground));
|
||
fill: var(--actor-color, var(--foreground));
|
||
cursor: pointer;
|
||
opacity: 1;
|
||
transition: transform 0.2s ease-in-out;
|
||
transform: translate(0, 0) scale(1);
|
||
}
|
||
.widget__actor[aria-hidden="true"] {
|
||
opacity: 0;
|
||
pointer-events: none;
|
||
visibility: hidden;
|
||
transform: translate(0, 16px) scale(0.98);
|
||
}
|
||
|
||
.widget__actor:hover {
|
||
background: var(--actor-hover-background, var(--background));
|
||
filter: var(--interactive-filter);
|
||
}
|
||
|
||
.widget__actor svg {
|
||
width: 1.14em;
|
||
height: 1.14em;
|
||
}
|
||
|
||
@media (max-width: 600px) {
|
||
.widget__actor span {
|
||
display: none;
|
||
}
|
||
}
|
||
`,e&&t.setAttribute("nonce",e),t}function Jt(e,t){return Object.entries(t).forEach(([n,r])=>{e.setAttributeNS(null,n,r)}),e}const Ws=20,hN="http://www.w3.org/2000/svg";function pN(){const e=a=>_n.document.createElementNS(hN,a),t=Jt(e("svg"),{width:`${Ws}`,height:`${Ws}`,viewBox:`0 0 ${Ws} ${Ws}`,fill:"var(--actor-color, var(--foreground))"}),n=Jt(e("g"),{clipPath:"url(#clip0_57_80)"}),r=Jt(e("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.6622 15H12.3997C12.2129 14.9959 12.031 14.9396 11.8747 14.8375L8.04965 12.2H7.49956V19.1C7.4875 19.3348 7.3888 19.5568 7.22256 19.723C7.05632 19.8892 6.83435 19.9879 6.59956 20H2.04956C1.80193 19.9968 1.56535 19.8969 1.39023 19.7218C1.21511 19.5467 1.1153 19.3101 1.11206 19.0625V12.2H0.949652C0.824431 12.2017 0.700142 12.1783 0.584123 12.1311C0.468104 12.084 0.362708 12.014 0.274155 11.9255C0.185602 11.8369 0.115689 11.7315 0.0685419 11.6155C0.0213952 11.4995 -0.00202913 11.3752 -0.00034808 11.25V3.75C-0.00900498 3.62067 0.0092504 3.49095 0.0532651 3.36904C0.0972798 3.24712 0.166097 3.13566 0.255372 3.04168C0.344646 2.94771 0.452437 2.87327 0.571937 2.82307C0.691437 2.77286 0.82005 2.74798 0.949652 2.75H8.04965L11.8747 0.1625C12.031 0.0603649 12.2129 0.00407221 12.3997 0H15.6622C15.9098 0.00323746 16.1464 0.103049 16.3215 0.278167C16.4966 0.453286 16.5964 0.689866 16.5997 0.9375V3.25269C17.3969 3.42959 18.1345 3.83026 18.7211 4.41679C19.5322 5.22788 19.9878 6.32796 19.9878 7.47502C19.9878 8.62209 19.5322 9.72217 18.7211 10.5333C18.1345 11.1198 17.3969 11.5205 16.5997 11.6974V14.0125C16.6047 14.1393 16.5842 14.2659 16.5395 14.3847C16.4948 14.5035 16.4268 14.6121 16.3394 14.7042C16.252 14.7962 16.147 14.8698 16.0307 14.9206C15.9144 14.9714 15.7891 14.9984 15.6622 15ZM1.89695 10.325H1.88715V4.625H8.33715C8.52423 4.62301 8.70666 4.56654 8.86215 4.4625L12.6872 1.875H14.7247V13.125H12.6872L8.86215 10.4875C8.70666 10.3835 8.52423 10.327 8.33715 10.325H2.20217C2.15205 10.3167 2.10102 10.3125 2.04956 10.3125C1.9981 10.3125 1.94708 10.3167 1.89695 10.325ZM2.98706 12.2V18.1625H5.66206V12.2H2.98706ZM16.5997 9.93612V5.01393C16.6536 5.02355 16.7072 5.03495 16.7605 5.04814C17.1202 5.13709 17.4556 5.30487 17.7425 5.53934C18.0293 5.77381 18.2605 6.06912 18.4192 6.40389C18.578 6.73866 18.6603 7.10452 18.6603 7.47502C18.6603 7.84552 18.578 8.21139 18.4192 8.54616C18.2605 8.88093 18.0293 9.17624 17.7425 9.41071C17.4556 9.64518 17.1202 9.81296 16.7605 9.90191C16.7072 9.91509 16.6536 9.9265 16.5997 9.93612Z"});t.appendChild(n).appendChild(r);const s=e("defs"),i=Jt(e("clipPath"),{id:"clip0_57_80"}),o=Jt(e("rect"),{width:`${Ws}`,height:`${Ws}`,fill:"white"});return i.appendChild(o),s.appendChild(i),t.appendChild(s).appendChild(i).appendChild(o),t}function mN({triggerLabel:e,triggerAriaLabel:t,shadow:n,styleNonce:r}){const s=We.createElement("button");if(s.type="button",s.className="widget__actor",s.ariaHidden="false",s.ariaLabel=t||e||K0,s.appendChild(pN()),e){const o=We.createElement("span");o.appendChild(We.createTextNode(e)),s.appendChild(o)}const i=fN(r);return{el:s,appendToDom(){n.appendChild(i),n.appendChild(s)},removeFromDom(){s.remove(),i.remove()},show(){s.ariaHidden="false"},hide(){s.ariaHidden="true"}}}const Y0="rgba(88, 74, 192, 1)",gN={foreground:"#2b2233",background:"#ffffff",accentForeground:"white",accentBackground:Y0,successColor:"#268d75",errorColor:"#df3338",border:"1.5px solid rgba(41, 35, 47, 0.13)",boxShadow:"0px 4px 24px 0px rgba(43, 34, 51, 0.12)",outline:"1px auto var(--accent-background)",interactiveFilter:"brightness(95%)"},gv={foreground:"#ebe6ef",background:"#29232f",accentForeground:"white",accentBackground:Y0,successColor:"#2da98c",errorColor:"#f55459",border:"1.5px solid rgba(235, 230, 239, 0.15)",boxShadow:"0px 4px 24px 0px rgba(43, 34, 51, 0.12)",outline:"1px auto var(--accent-background)",interactiveFilter:"brightness(150%)"};function vv(e){return`
|
||
--foreground: ${e.foreground};
|
||
--background: ${e.background};
|
||
--accent-foreground: ${e.accentForeground};
|
||
--accent-background: ${e.accentBackground};
|
||
--success-color: ${e.successColor};
|
||
--error-color: ${e.errorColor};
|
||
--border: ${e.border};
|
||
--box-shadow: ${e.boxShadow};
|
||
--outline: ${e.outline};
|
||
--interactive-filter: ${e.interactiveFilter};
|
||
`}function yv({colorScheme:e,themeDark:t,themeLight:n,styleNonce:r}){const s=We.createElement("style");return s.textContent=`
|
||
:host {
|
||
--font-family: system-ui, 'Helvetica Neue', Arial, sans-serif;
|
||
--font-size: 14px;
|
||
--z-index: 100000;
|
||
|
||
--page-margin: 16px;
|
||
--inset: auto 0 0 auto;
|
||
--actor-inset: var(--inset);
|
||
|
||
font-family: var(--font-family);
|
||
font-size: var(--font-size);
|
||
|
||
${e!=="system"?`color-scheme: only ${e};`:""}
|
||
|
||
${vv(e==="dark"?{...gv,...t}:{...gN,...n})}
|
||
}
|
||
|
||
${e==="system"?`
|
||
@media (prefers-color-scheme: dark) {
|
||
:host {
|
||
color-scheme: only dark;
|
||
|
||
${vv({...gv,...t})}
|
||
}
|
||
}`:""}
|
||
`,r&&s.setAttribute("nonce",r),s}const vN=({lazyLoadIntegration:e,getModalIntegration:t,getScreenshotIntegration:n})=>({id:s="sentry-feedback",autoInject:i=!0,showBranding:o=!0,isEmailRequired:a=!1,isNameRequired:c=!1,showEmail:l=!0,showName:d=!0,enableScreenshot:u=!0,useSentryUser:f={email:"email",name:"username"},tags:h,styleNonce:p,scriptNonce:m,colorScheme:v="system",themeLight:g={},themeDark:y={},addScreenshotButtonLabel:C=nN,cancelButtonLabel:w=jL,confirmButtonLabel:I=qL,emailLabel:x=YL,emailPlaceholder:S=KL,formTitle:b=GL,isRequiredLabel:k=tN,messageLabel:R=JL,messagePlaceholder:M=XL,nameLabel:T=QL,namePlaceholder:O=ZL,removeScreenshotButtonLabel:$=rN,submitButtonLabel:K=zL,successMessageText:Z=eN,triggerLabel:z=K0,triggerAriaLabel:N="",highlightToolText:oe=sN,hideToolText:U=iN,removeHighlightText:J=oN,onFormOpen:re,onFormClose:ie,onSubmitSuccess:Ee,onSubmitError:Me,onFormSubmitted:De}={})=>{const P={id:s,autoInject:i,showBranding:o,isEmailRequired:a,isNameRequired:c,showEmail:l,showName:d,enableScreenshot:u,useSentryUser:f,tags:h,styleNonce:p,scriptNonce:m,colorScheme:v,themeDark:y,themeLight:g,triggerLabel:z,triggerAriaLabel:N,cancelButtonLabel:w,submitButtonLabel:K,confirmButtonLabel:I,formTitle:b,emailLabel:x,emailPlaceholder:S,messageLabel:R,messagePlaceholder:M,nameLabel:T,namePlaceholder:O,successMessageText:Z,isRequiredLabel:k,addScreenshotButtonLabel:C,removeScreenshotButtonLabel:$,highlightToolText:oe,hideToolText:U,removeHighlightText:J,onFormClose:ie,onFormOpen:re,onSubmitError:Me,onSubmitSuccess:Ee,onFormSubmitted:De};let W=null,X=null,G=[];const de=L=>{if(!W){const D=We.createElement("div");D.id=String(L.id),We.body.appendChild(D),W=D.attachShadow({mode:"open"}),X=yv(L),W.appendChild(X)}return W},_=async L=>{const D=L.enableScreenshot&&dN();let F,q;try{F=(t?t():await e("feedbackModalIntegration",m))(),Zg(F)}catch{throw uc&&te.error("[Feedback] Error when trying to load feedback integrations. Try using `feedbackSyncIntegration` in your `Sentry.init`."),new Error("[Feedback] Missing feedback modal integration!")}try{const B=D?n?n():await e("feedbackScreenshotIntegration",m):void 0;B&&(q=B(),Zg(q))}catch{uc&&te.error("[Feedback] Missing feedback screenshot integration. Proceeding without screenshots.")}const Y=F.createDialog({options:{...L,onFormClose:()=>{var B;Y==null||Y.close(),(B=L.onFormClose)==null||B.call(L)},onFormSubmitted:()=>{var B;Y==null||Y.close(),(B=L.onFormSubmitted)==null||B.call(L)}},screenshotIntegration:q,sendFeedback:uN,shadow:de(L)});return Y},E=(L,D={})=>{const F=Fa(P,D),q=typeof L=="string"?We.querySelector(L):typeof L.addEventListener=="function"?L:null;if(!q)throw uc&&te.error("[Feedback] Unable to attach to target element"),new Error("Unable to attach to target element");let Y=null;const B=async()=>{Y||(Y=await _({...F,onFormSubmitted:()=>{var Q;Y==null||Y.removeFromDom(),(Q=F.onFormSubmitted)==null||Q.call(F)}})),Y.appendToDom(),Y.open()};q.addEventListener("click",B);const V=()=>{G=G.filter(Q=>Q!==V),Y==null||Y.removeFromDom(),Y=null,q.removeEventListener("click",B)};return G.push(V),V},A=(L={})=>{const D=Fa(P,L),F=de(D),q=mN({triggerLabel:D.triggerLabel,triggerAriaLabel:D.triggerAriaLabel,shadow:F,styleNonce:p});return E(q.el,{...D,onFormOpen(){q.hide()},onFormClose(){q.show()},onFormSubmitted(){q.show()}}),q};return{name:"Feedback",setupOnce(){!zc()||!P.autoInject||(We.readyState==="loading"?We.addEventListener("DOMContentLoaded",()=>A().appendToDom()):A().appendToDom())},attachTo:E,createWidget(L={}){const D=A(Fa(P,L));return D.appendToDom(),D},async createForm(L={}){return _(Fa(P,L))},setTheme(L){if(P.colorScheme=L,W){const D=yv(P);X?W.replaceChild(D,X):W.prepend(D),X=D}},remove(){var L;W&&((L=W.parentElement)==null||L.remove(),W=null,X=null),G.forEach(D=>D()),G=[]}}};var Ll,ze,X0,cs,_v,J0,Wd,Ko={},Ph=[],yN=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Oh=Array.isArray;function Or(e,t){for(var n in t)e[n]=t[n];return e}function Z0(e){var t=e.parentNode;t&&t.removeChild(e)}function ke(e,t,n){var r,s,i,o={};for(i in t)i=="key"?r=t[i]:i=="ref"?s=t[i]:o[i]=t[i];if(arguments.length>2&&(o.children=arguments.length>3?Ll.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(i in e.defaultProps)o[i]===void 0&&(o[i]=e.defaultProps[i]);return dc(e,o,r,s,null)}function dc(e,t,n,r,s){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:s??++X0,__i:-1,__u:0};return s==null&&ze.vnode!=null&&ze.vnode(i),i}function ga(e){return e.children}function fc(e,t){this.props=e,this.context=t}function Ii(e,t){if(t==null)return e.__?Ii(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?Ii(e):null}function _N(e,t,n){var r,s=e.__v,i=s.__e,o=e.__P;if(o)return(r=Or({},s)).__v=s.__v+1,ze.vnode&&ze.vnode(r),Lh(o,r,s,e.__n,o.ownerSVGElement!==void 0,32&s.__u?[i]:null,t,i??Ii(s),!!(32&s.__u),n),r.__.__k[r.__i]=r,r.__d=void 0,r.__e!=i&&Q0(r),r}function Q0(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return Q0(e)}}function bv(e){(!e.__d&&(e.__d=!0)&&cs.push(e)&&!qc.__r++||_v!==ze.debounceRendering)&&((_v=ze.debounceRendering)||J0)(qc)}function qc(){var e,t,n,r=[],s=[];for(cs.sort(Wd);e=cs.shift();)e.__d&&(n=cs.length,t=_N(e,r,s)||t,n===0||cs.length>n?(jd(r,t,s),s.length=r.length=0,t=void 0,cs.sort(Wd)):t&&ze.__c&&ze.__c(t,Ph));t&&jd(r,t,s),qc.__r=0}function eE(e,t,n,r,s,i,o,a,c,l,d){var u,f,h,p,m,v=r&&r.__k||Ph,g=t.length;for(n.__d=c,bN(n,t,v),c=n.__d,u=0;u<g;u++)(h=n.__k[u])!=null&&typeof h!="boolean"&&typeof h!="function"&&(f=h.__i===-1?Ko:v[h.__i]||Ko,h.__i=u,Lh(e,h,f,s,i,o,a,c,l,d),p=h.__e,h.ref&&f.ref!=h.ref&&(f.ref&&Nh(f.ref,null,h),d.push(h.ref,h.__c||p,h)),m==null&&p!=null&&(m=p),65536&h.__u||f.__k===h.__k?c=tE(h,c,e):typeof h.type=="function"&&h.__d!==void 0?c=h.__d:p&&(c=p.nextSibling),h.__d=void 0,h.__u&=-196609);n.__d=c,n.__e=m}function bN(e,t,n){var r,s,i,o,a,c=t.length,l=n.length,d=l,u=0;for(e.__k=[],r=0;r<c;r++)(s=e.__k[r]=(s=t[r])==null||typeof s=="boolean"||typeof s=="function"?null:typeof s=="string"||typeof s=="number"||typeof s=="bigint"||s.constructor==String?dc(null,s,null,null,s):Oh(s)?dc(ga,{children:s},null,null,null):s.constructor===void 0&&s.__b>0?dc(s.type,s.props,s.key,s.ref?s.ref:null,s.__v):s)!=null?(s.__=e,s.__b=e.__b+1,a=SN(s,n,o=r+u,d),s.__i=a,i=null,a!==-1&&(d--,(i=n[a])&&(i.__u|=131072)),i==null||i.__v===null?(a==-1&&u--,typeof s.type!="function"&&(s.__u|=65536)):a!==o&&(a===o+1?u++:a>o?d>c-o?u+=a-o:u--:u=a<o&&a==o-1?a-o:0,a!==r+u&&(s.__u|=65536))):(i=n[r])&&i.key==null&&i.__e&&(i.__e==e.__d&&(e.__d=Ii(i)),zd(i,i,!1),n[r]=null,d--);if(d)for(r=0;r<l;r++)(i=n[r])!=null&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=Ii(i)),zd(i,i))}function tE(e,t,n){var r,s;if(typeof e.type=="function"){for(r=e.__k,s=0;r&&s<r.length;s++)r[s]&&(r[s].__=e,t=tE(r[s],t,n));return t}e.__e!=t&&(n.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function SN(e,t,n,r){var s=e.key,i=e.type,o=n-1,a=n+1,c=t[n];if(c===null||c&&s==c.key&&i===c.type)return n;if(r>(c!=null&&!(131072&c.__u)?1:0))for(;o>=0||a<t.length;){if(o>=0){if((c=t[o])&&!(131072&c.__u)&&s==c.key&&i===c.type)return o;o--}if(a<t.length){if((c=t[a])&&!(131072&c.__u)&&s==c.key&&i===c.type)return a;a++}}return-1}function Sv(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||yN.test(t)?n:n+"px"}function $a(e,t,n,r,s){var i;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||Sv(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Sv(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")i=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=Date.now(),e.addEventListener(t,i?wv:Ev,i)):e.removeEventListener(t,i?wv:Ev,i);else{if(s)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!=="width"&&t!=="height"&&t!=="href"&&t!=="list"&&t!=="form"&&t!=="tabIndex"&&t!=="download"&&t!=="rowSpan"&&t!=="colSpan"&&t!=="role"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,n))}}function Ev(e){if(this.l){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(ze.event?ze.event(e):e)}}function wv(e){if(this.l)return this.l[e.type+!0](ze.event?ze.event(e):e)}function Lh(e,t,n,r,s,i,o,a,c,l){var d,u,f,h,p,m,v,g,y,C,w,I,x,S,b,k=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(c=!!(32&n.__u),i=[a=t.__e=n.__e]),(d=ze.__b)&&d(t);e:if(typeof k=="function")try{if(g=t.props,y=(d=k.contextType)&&r[d.__c],C=d?y?y.props.value:d.__:r,n.__c?v=(u=t.__c=n.__c).__=u.__E:("prototype"in k&&k.prototype.render?t.__c=u=new k(g,C):(t.__c=u=new fc(g,C),u.constructor=k,u.render=wN),y&&y.sub(u),u.props=g,u.state||(u.state={}),u.context=C,u.__n=r,f=u.__d=!0,u.__h=[],u._sb=[]),u.__s==null&&(u.__s=u.state),k.getDerivedStateFromProps!=null&&(u.__s==u.state&&(u.__s=Or({},u.__s)),Or(u.__s,k.getDerivedStateFromProps(g,u.__s))),h=u.props,p=u.state,u.__v=t,f)k.getDerivedStateFromProps==null&&u.componentWillMount!=null&&u.componentWillMount(),u.componentDidMount!=null&&u.__h.push(u.componentDidMount);else{if(k.getDerivedStateFromProps==null&&g!==h&&u.componentWillReceiveProps!=null&&u.componentWillReceiveProps(g,C),!u.__e&&(u.shouldComponentUpdate!=null&&u.shouldComponentUpdate(g,u.__s,C)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(u.props=g,u.state=u.__s,u.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(R){R&&(R.__=t)}),w=0;w<u._sb.length;w++)u.__h.push(u._sb[w]);u._sb=[],u.__h.length&&o.push(u);break e}u.componentWillUpdate!=null&&u.componentWillUpdate(g,u.__s,C),u.componentDidUpdate!=null&&u.__h.push(function(){u.componentDidUpdate(h,p,m)})}if(u.context=C,u.props=g,u.__P=e,u.__e=!1,I=ze.__r,x=0,"prototype"in k&&k.prototype.render){for(u.state=u.__s,u.__d=!1,I&&I(t),d=u.render(u.props,u.state,u.context),S=0;S<u._sb.length;S++)u.__h.push(u._sb[S]);u._sb=[]}else do u.__d=!1,I&&I(t),d=u.render(u.props,u.state,u.context),u.state=u.__s;while(u.__d&&++x<25);u.state=u.__s,u.getChildContext!=null&&(r=Or(Or({},r),u.getChildContext())),f||u.getSnapshotBeforeUpdate==null||(m=u.getSnapshotBeforeUpdate(h,p)),eE(e,Oh(b=d!=null&&d.type===ga&&d.key==null?d.props.children:d)?b:[b],t,n,r,s,i,o,a,c,l),u.base=t.__e,t.__u&=-161,u.__h.length&&o.push(u),v&&(u.__E=u.__=null)}catch(R){t.__v=null,c||i!=null?(t.__e=a,t.__u|=c?160:32,i[i.indexOf(a)]=null):(t.__e=n.__e,t.__k=n.__k),ze.__e(R,t,n)}else i==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=EN(n.__e,t,n,r,s,i,o,c,l);(d=ze.diffed)&&d(t)}function jd(e,t,n){for(var r=0;r<n.length;r++)Nh(n[r],n[++r],n[++r]);ze.__c&&ze.__c(t,e),e.some(function(s){try{e=s.__h,s.__h=[],e.some(function(i){i.call(s)})}catch(i){ze.__e(i,s.__v)}})}function EN(e,t,n,r,s,i,o,a,c){var l,d,u,f,h,p,m,v=n.props,g=t.props,y=t.type;if(y==="svg"&&(s=!0),i!=null){for(l=0;l<i.length;l++)if((h=i[l])&&"setAttribute"in h==!!y&&(y?h.localName===y:h.nodeType===3)){e=h,i[l]=null;break}}if(e==null){if(y===null)return document.createTextNode(g);e=s?document.createElementNS("http://www.w3.org/2000/svg",y):document.createElement(y,g.is&&g),i=null,a=!1}if(y===null)v===g||a&&e.data===g||(e.data=g);else{if(i=i&&Ll.call(e.childNodes),v=n.props||Ko,!a&&i!=null)for(v={},l=0;l<e.attributes.length;l++)v[(h=e.attributes[l]).name]=h.value;for(l in v)h=v[l],l=="children"||(l=="dangerouslySetInnerHTML"?u=h:l==="key"||l in g||$a(e,l,null,h,s));for(l in g)h=g[l],l=="children"?f=h:l=="dangerouslySetInnerHTML"?d=h:l=="value"?p=h:l=="checked"?m=h:l==="key"||a&&typeof h!="function"||v[l]===h||$a(e,l,h,v[l],s);if(d)a||u&&(d.__html===u.__html||d.__html===e.innerHTML)||(e.innerHTML=d.__html),t.__k=[];else if(u&&(e.innerHTML=""),eE(e,Oh(f)?f:[f],t,n,r,s&&y!=="foreignObject",i,o,i?i[0]:n.__k&&Ii(n,0),a,c),i!=null)for(l=i.length;l--;)i[l]!=null&&Z0(i[l]);a||(l="value",p!==void 0&&(p!==e[l]||y==="progress"&&!p||y==="option"&&p!==v[l])&&$a(e,l,p,v[l],!1),l="checked",m!==void 0&&m!==e[l]&&$a(e,l,m,v[l],!1))}return e}function Nh(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){ze.__e(r,n)}}function zd(e,t,n){var r,s;if(ze.unmount&&ze.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||Nh(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){ze.__e(i,t)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(s=0;s<r.length;s++)r[s]&&zd(r[s],t,n||typeof e.type!="function");n||e.__e==null||Z0(e.__e),e.__=e.__e=e.__d=void 0}function wN(e,t,n){return this.constructor(e,n)}function CN(e,t,n){var r,s,i,o;ze.__&&ze.__(e,t),s=(r=!1)?null:t.__k,i=[],o=[],Lh(t,e=t.__k=ke(ga,null,[e]),s||Ko,Ko,t.ownerSVGElement!==void 0,s?null:t.firstChild?Ll.call(t.childNodes):null,i,s?s.__e:t.firstChild,r,o),e.__d=void 0,jd(i,e,o)}Ll=Ph.slice,ze={__e:function(e,t,n,r){for(var s,i,o;t=t.__;)if((s=t.__c)&&!s.__)try{if((i=s.constructor)&&i.getDerivedStateFromError!=null&&(s.setState(i.getDerivedStateFromError(e)),o=s.__d),s.componentDidCatch!=null&&(s.componentDidCatch(e,r||{}),o=s.__d),o)return s.__E=s}catch(a){e=a}throw e}},X0=0,fc.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Or({},this.state),typeof e=="function"&&(e=e(Or({},n),this.props)),e&&Or(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),bv(this))},fc.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),bv(this))},fc.prototype.render=ga,cs=[],J0=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Wd=function(e,t){return e.__v.__b-t.__v.__b},qc.__r=0;var pr,je,Ru,Cv,xi=0,nE=[],hc=[],nt=ze,Tv=nt.__b,kv=nt.__r,Iv=nt.diffed,xv=nt.__c,Rv=nt.unmount,Av=nt.__;function Ds(e,t){nt.__h&&nt.__h(je,e,xi||t),xi=0;var n=je.__H||(je.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:hc}),n.__[e]}function us(e){return xi=1,rE(iE,e)}function rE(e,t,n){var r=Ds(pr++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):iE(void 0,t),function(a){var c=r.__N?r.__N[0]:r.__[0],l=r.t(c,a);c!==l&&(r.__N=[l,r.__[1]],r.__c.setState({}))}],r.__c=je,!je.u)){var s=function(a,c,l){if(!r.__c.__H)return!0;var d=r.__c.__H.__.filter(function(f){return!!f.__c});if(d.every(function(f){return!f.__N}))return!i||i.call(this,a,c,l);var u=!1;return d.forEach(function(f){if(f.__N){var h=f.__[0];f.__=f.__N,f.__N=void 0,h!==f.__[0]&&(u=!0)}}),!(!u&&r.__c.props===a)&&(!i||i.call(this,a,c,l))};je.u=!0;var i=je.shouldComponentUpdate,o=je.componentWillUpdate;je.componentWillUpdate=function(a,c,l){if(this.__e){var d=i;i=void 0,s(a,c,l),i=d}o&&o.call(this,a,c,l)},je.shouldComponentUpdate=s}return r.__N||r.__}function TN(e,t){var n=Ds(pr++,3);!nt.__s&&Dh(n.__H,t)&&(n.__=e,n.i=t,je.__H.__h.push(n))}function sE(e,t){var n=Ds(pr++,4);!nt.__s&&Dh(n.__H,t)&&(n.__=e,n.i=t,je.__h.push(n))}function kN(e){return xi=5,va(function(){return{current:e}},[])}function IN(e,t,n){xi=6,sE(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function va(e,t){var n=Ds(pr++,7);return Dh(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function di(e,t){return xi=8,va(function(){return e},t)}function xN(e){var t=je.context[e.__c],n=Ds(pr++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(je)),t.props.value):e.__}function RN(e,t){nt.useDebugValue&&nt.useDebugValue(t?t(e):e)}function AN(e){var t=Ds(pr++,10),n=us();return t.__=e,je.componentDidCatch||(je.componentDidCatch=function(r,s){t.__&&t.__(r,s),n[1](r)}),[n[0],function(){n[1](void 0)}]}function MN(){var e=Ds(pr++,11);if(!e.__){for(var t=je.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function PN(){for(var e;e=nE.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(pc),e.__H.__h.forEach(qd),e.__H.__h=[]}catch(t){e.__H.__h=[],nt.__e(t,e.__v)}}nt.__b=function(e){je=null,Tv&&Tv(e)},nt.__=function(e,t){t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Av&&Av(e,t)},nt.__r=function(e){kv&&kv(e),pr=0;var t=(je=e.__c).__H;t&&(Ru===je?(t.__h=[],je.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=hc,n.__N=n.i=void 0})):(t.__h.forEach(pc),t.__h.forEach(qd),t.__h=[],pr=0)),Ru=je},nt.diffed=function(e){Iv&&Iv(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(nE.push(t)!==1&&Cv===nt.requestAnimationFrame||((Cv=nt.requestAnimationFrame)||ON)(PN)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==hc&&(n.__=n.__V),n.i=void 0,n.__V=hc})),Ru=je=null},nt.__c=function(e,t){t.some(function(n){try{n.__h.forEach(pc),n.__h=n.__h.filter(function(r){return!r.__||qd(r)})}catch(r){t.some(function(s){s.__h&&(s.__h=[])}),t=[],nt.__e(r,n.__v)}}),xv&&xv(e,t)},nt.unmount=function(e){Rv&&Rv(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{pc(r)}catch(s){t=s}}),n.__H=void 0,t&&nt.__e(t,n.__v))};var Mv=typeof requestAnimationFrame=="function";function ON(e){var t,n=function(){clearTimeout(r),Mv&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Mv&&(t=requestAnimationFrame(n))}function pc(e){var t=je,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),je=t}function qd(e){var t=je;e.__c=e.__(),je=t}function Dh(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function iE(e,t){return typeof t=="function"?t(e):t}const LN=Object.defineProperty({__proto__:null,useCallback:di,useContext:xN,useDebugValue:RN,useEffect:TN,useErrorBoundary:AN,useId:MN,useImperativeHandle:IN,useLayoutEffect:sE,useMemo:va,useReducer:rE,useRef:kN,useState:us},Symbol.toStringTag,{value:"Module"}),NN="http://www.w3.org/2000/svg";function DN(){const e=r=>We.createElementNS(NN,r),t=Jt(e("svg"),{width:"32",height:"30",viewBox:"0 0 72 66",fill:"inherit"}),n=Jt(e("path"),{transform:"translate(11, 11)",d:"M29,2.26a4.67,4.67,0,0,0-8,0L14.42,13.53A32.21,32.21,0,0,1,32.17,40.19H27.55A27.68,27.68,0,0,0,12.09,17.47L6,28a15.92,15.92,0,0,1,9.23,12.17H4.62A.76.76,0,0,1,4,39.06l2.94-5a10.74,10.74,0,0,0-3.36-1.9l-2.91,5a4.54,4.54,0,0,0,1.69,6.24A4.66,4.66,0,0,0,4.62,44H19.15a19.4,19.4,0,0,0-8-17.31l2.31-4A23.87,23.87,0,0,1,23.76,44H36.07a35.88,35.88,0,0,0-16.41-31.8l4.67-8a.77.77,0,0,1,1.05-.27c.53.29,20.29,34.77,20.66,35.17a.76.76,0,0,1-.68,1.13H40.6q.09,1.91,0,3.81h4.78A4.59,4.59,0,0,0,50,39.43a4.49,4.49,0,0,0-.62-2.28Z"});return t.appendChild(n),t}function FN({options:e}){const t=va(()=>({__html:DN().outerHTML}),[]);return ke("h2",{class:"dialog__header"},ke("span",{class:"dialog__title"},e.formTitle),e.showBranding?ke("a",{class:"brand-link",target:"_blank",href:"https://sentry.io/welcome/",title:"Powered by Sentry",rel:"noopener noreferrer",dangerouslySetInnerHTML:t}):null)}function $N(e,t){const n=[];return t.isNameRequired&&!e.name&&n.push(t.nameLabel),t.isEmailRequired&&!e.email&&n.push(t.emailLabel),e.message||n.push(t.messageLabel),n}function Au(e,t){const n=e.get(t);return typeof n=="string"?n.trim():""}function BN({options:e,defaultEmail:t,defaultName:n,onFormClose:r,onSubmit:s,onSubmitSuccess:i,onSubmitError:o,showEmail:a,showName:c,screenshotInput:l}){const{tags:d,addScreenshotButtonLabel:u,removeScreenshotButtonLabel:f,cancelButtonLabel:h,emailLabel:p,emailPlaceholder:m,isEmailRequired:v,isNameRequired:g,messageLabel:y,messagePlaceholder:C,nameLabel:w,namePlaceholder:I,submitButtonLabel:x,isRequiredLabel:S}=e,[b,k]=us(!1),[R,M]=us(null),[T,O]=us(!1),$=l==null?void 0:l.input,[K,Z]=us(null),z=di(U=>{Z(U),O(!1)},[]),N=di(U=>{const J=$N(U,{emailLabel:p,isEmailRequired:v,isNameRequired:g,messageLabel:y,nameLabel:w});return J.length>0?M(`Please enter in the following required fields: ${J.join(", ")}`):M(null),J.length===0},[p,v,g,y,w]),oe=di(async U=>{k(!0);try{if(U.preventDefault(),!(U.target instanceof HTMLFormElement))return;const J=new FormData(U.target),re=await(l&&T?l.value():void 0),ie={name:Au(J,"name"),email:Au(J,"email"),message:Au(J,"message"),attachments:re?[re]:void 0};if(!N(ie))return;try{const Ee=await s({name:ie.name,email:ie.email,message:ie.message,source:aN,tags:d},{attachments:ie.attachments});i(ie,Ee)}catch(Ee){uc&&te.error(Ee),M(Ee),o(Ee)}}finally{k(!1)}},[l&&T,i,o]);return ke("form",{class:"form",onSubmit:oe},$&&T?ke($,{onError:z}):null,ke("fieldset",{class:"form__right","data-sentry-feedback":!0,disabled:b},ke("div",{class:"form__top"},R?ke("div",{class:"form__error-container"},R):null,c?ke("label",{for:"name",class:"form__label"},ke(Mu,{label:w,isRequiredLabel:S,isRequired:g}),ke("input",{class:"form__input",defaultValue:n,id:"name",name:"name",placeholder:I,required:g,type:"text"})):ke("input",{"aria-hidden":!0,value:n,name:"name",type:"hidden"}),a?ke("label",{for:"email",class:"form__label"},ke(Mu,{label:p,isRequiredLabel:S,isRequired:v}),ke("input",{class:"form__input",defaultValue:t,id:"email",name:"email",placeholder:m,required:v,type:"email"})):ke("input",{"aria-hidden":!0,value:t,name:"email",type:"hidden"}),ke("label",{for:"message",class:"form__label"},ke(Mu,{label:y,isRequiredLabel:S,isRequired:!0}),ke("textarea",{autoFocus:!0,class:"form__input form__input--textarea",id:"message",name:"message",placeholder:C,required:!0,rows:5})),$?ke("label",{for:"screenshot",class:"form__label"},ke("button",{class:"btn btn--default",disabled:b,type:"button",onClick:()=>{Z(null),O(U=>!U)}},T?f:u),K?ke("div",{class:"form__error-container"},K.message):null):null),ke("div",{class:"btn-group"},ke("button",{class:"btn btn--primary",disabled:b,type:"submit"},x),ke("button",{class:"btn btn--default",disabled:b,type:"button",onClick:r},h))))}function Mu({label:e,isRequired:t,isRequiredLabel:n}){return ke("span",{class:"form__label__text"},e,t&&ke("span",{class:"form__label__text--required"},n))}const Ba=16,Pv=17,HN="http://www.w3.org/2000/svg";function VN(){const e=c=>_n.document.createElementNS(HN,c),t=Jt(e("svg"),{width:`${Ba}`,height:`${Pv}`,viewBox:`0 0 ${Ba} ${Pv}`,fill:"inherit"}),n=Jt(e("g"),{clipPath:"url(#clip0_57_156)"}),r=Jt(e("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.55544 15.1518C4.87103 16.0308 6.41775 16.5 8 16.5C10.1217 16.5 12.1566 15.6571 13.6569 14.1569C15.1571 12.6566 16 10.6217 16 8.5C16 6.91775 15.5308 5.37103 14.6518 4.05544C13.7727 2.73985 12.5233 1.71447 11.0615 1.10897C9.59966 0.503466 7.99113 0.34504 6.43928 0.653721C4.88743 0.962403 3.46197 1.72433 2.34315 2.84315C1.22433 3.96197 0.462403 5.38743 0.153721 6.93928C-0.15496 8.49113 0.00346625 10.0997 0.608967 11.5615C1.21447 13.0233 2.23985 14.2727 3.55544 15.1518ZM4.40546 3.1204C5.46945 2.40946 6.72036 2.03 8 2.03C9.71595 2.03 11.3616 2.71166 12.575 3.92502C13.7883 5.13838 14.47 6.78405 14.47 8.5C14.47 9.77965 14.0905 11.0306 13.3796 12.0945C12.6687 13.1585 11.6582 13.9878 10.476 14.4775C9.29373 14.9672 7.99283 15.0953 6.73777 14.8457C5.48271 14.596 4.32987 13.9798 3.42502 13.075C2.52018 12.1701 1.90397 11.0173 1.65432 9.76224C1.40468 8.50718 1.5328 7.20628 2.0225 6.02404C2.5122 4.8418 3.34148 3.83133 4.40546 3.1204Z"}),s=Jt(e("path"),{d:"M6.68775 12.4297C6.78586 12.4745 6.89218 12.4984 7 12.5C7.11275 12.4955 7.22315 12.4664 7.32337 12.4145C7.4236 12.3627 7.51121 12.2894 7.58 12.2L12 5.63999C12.0848 5.47724 12.1071 5.28902 12.0625 5.11098C12.0178 4.93294 11.9095 4.77744 11.7579 4.67392C11.6064 4.57041 11.4221 4.52608 11.24 4.54931C11.0579 4.57254 10.8907 4.66173 10.77 4.79999L6.88 10.57L5.13 8.56999C5.06508 8.49566 4.98613 8.43488 4.89768 8.39111C4.80922 8.34735 4.713 8.32148 4.61453 8.31498C4.51605 8.30847 4.41727 8.32147 4.32382 8.35322C4.23038 8.38497 4.14413 8.43484 4.07 8.49999C3.92511 8.63217 3.83692 8.81523 3.82387 9.01092C3.81083 9.2066 3.87393 9.39976 4 9.54999L6.43 12.24C6.50187 12.3204 6.58964 12.385 6.68775 12.4297Z"});t.appendChild(n).append(s,r);const i=e("defs"),o=Jt(e("clipPath"),{id:"clip0_57_156"}),a=Jt(e("rect"),{width:`${Ba}`,height:`${Ba}`,fill:"white",transform:"translate(0 0.5)"});return o.appendChild(a),i.appendChild(o),t.appendChild(i).appendChild(o).appendChild(a),t}function UN({open:e,onFormSubmitted:t,...n}){const r=n.options,s=va(()=>({__html:VN().outerHTML}),[]),[i,o]=us(null),a=di(()=>{i&&(clearTimeout(i),o(null)),t()},[i]),c=di((l,d)=>{n.onSubmitSuccess(l,d),o(setTimeout(()=>{t(),o(null)},lN))},[t]);return ke(ga,null,i?ke("div",{class:"success__position",onClick:a},ke("div",{class:"success__content"},r.successMessageText,ke("span",{class:"success__icon",dangerouslySetInnerHTML:s}))):ke("dialog",{class:"dialog",onClick:r.onFormClose,open:e},ke("div",{class:"dialog__position"},ke("div",{class:"dialog__content",onClick:l=>{l.stopPropagation()}},ke(FN,{options:r}),ke(BN,{...n,onSubmitSuccess:c})))))}const WN=`
|
||
.dialog {
|
||
position: fixed;
|
||
z-index: var(--z-index);
|
||
margin: 0;
|
||
inset: 0;
|
||
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 0;
|
||
height: 100vh;
|
||
width: 100vw;
|
||
|
||
color: var(--dialog-color, var(--foreground));
|
||
fill: var(--dialog-color, var(--foreground));
|
||
line-height: 1.75em;
|
||
|
||
background-color: rgba(0, 0, 0, 0.05);
|
||
border: none;
|
||
inset: 0;
|
||
opacity: 1;
|
||
transition: opacity 0.2s ease-in-out;
|
||
}
|
||
|
||
.dialog__position {
|
||
position: fixed;
|
||
z-index: var(--z-index);
|
||
inset: var(--dialog-inset);
|
||
padding: var(--page-margin);
|
||
display: flex;
|
||
max-height: calc(100vh - (2 * var(--page-margin)));
|
||
}
|
||
@media (max-width: 600px) {
|
||
.dialog__position {
|
||
inset: var(--page-margin);
|
||
padding: 0;
|
||
}
|
||
}
|
||
|
||
.dialog__position:has(.editor) {
|
||
inset: var(--page-margin);
|
||
padding: 0;
|
||
}
|
||
|
||
.dialog:not([open]) {
|
||
opacity: 0;
|
||
pointer-events: none;
|
||
visibility: hidden;
|
||
}
|
||
.dialog:not([open]) .dialog__content {
|
||
transform: translate(0, -16px) scale(0.98);
|
||
}
|
||
|
||
.dialog__content {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 16px;
|
||
padding: var(--dialog-padding, 24px);
|
||
max-width: 100%;
|
||
width: 100%;
|
||
max-height: 100%;
|
||
overflow: auto;
|
||
|
||
background: var(--dialog-background, var(--background));
|
||
border-radius: var(--dialog-border-radius, 20px);
|
||
border: var(--dialog-border, var(--border));
|
||
box-shadow: var(--dialog-box-shadow, var(--box-shadow));
|
||
transform: translate(0, 0) scale(1);
|
||
transition: transform 0.2s ease-in-out;
|
||
}
|
||
|
||
`,jN=`
|
||
.dialog__header {
|
||
display: flex;
|
||
gap: 4px;
|
||
justify-content: space-between;
|
||
font-weight: var(--dialog-header-weight, 600);
|
||
margin: 0;
|
||
}
|
||
.dialog__title {
|
||
align-self: center;
|
||
width: var(--form-width, 272px);
|
||
}
|
||
|
||
@media (max-width: 600px) {
|
||
.dialog__title {
|
||
width: auto;
|
||
}
|
||
}
|
||
|
||
.dialog__position:has(.editor) .dialog__title {
|
||
width: auto;
|
||
}
|
||
|
||
|
||
.brand-link {
|
||
display: inline-flex;
|
||
}
|
||
.brand-link:focus-visible {
|
||
outline: var(--outline);
|
||
}
|
||
`,zN=`
|
||
.form {
|
||
display: flex;
|
||
overflow: auto;
|
||
flex-direction: row;
|
||
gap: 16px;
|
||
flex: 1 0;
|
||
}
|
||
|
||
.form fieldset {
|
||
border: none;
|
||
margin: 0;
|
||
padding: 0;
|
||
}
|
||
|
||
.form__right {
|
||
flex: 0 0 auto;
|
||
display: flex;
|
||
overflow: auto;
|
||
flex-direction: column;
|
||
justify-content: space-between;
|
||
gap: 20px;
|
||
width: var(--form-width, 100%);
|
||
}
|
||
|
||
.dialog__position:has(.editor) .form__right {
|
||
width: var(--form-width, 272px);
|
||
}
|
||
|
||
.form__top {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 8px;
|
||
}
|
||
|
||
.form__error-container {
|
||
color: var(--error-color);
|
||
fill: var(--error-color);
|
||
}
|
||
|
||
.form__label {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 4px;
|
||
margin: 0px;
|
||
}
|
||
|
||
.form__label__text {
|
||
display: flex;
|
||
gap: 4px;
|
||
align-items: center;
|
||
}
|
||
|
||
.form__label__text--required {
|
||
font-size: 0.85em;
|
||
}
|
||
|
||
.form__input {
|
||
font-family: inherit;
|
||
line-height: inherit;
|
||
background: transparent;
|
||
box-sizing: border-box;
|
||
border: var(--input-border, var(--border));
|
||
border-radius: var(--input-border-radius, 6px);
|
||
color: var(--input-color, inherit);
|
||
fill: var(--input-color, inherit);
|
||
font-size: var(--input-font-size, inherit);
|
||
font-weight: var(--input-font-weight, 500);
|
||
padding: 6px 12px;
|
||
}
|
||
|
||
.form__input::placeholder {
|
||
opacity: 0.65;
|
||
color: var(--input-placeholder-color, inherit);
|
||
filter: var(--interactive-filter);
|
||
}
|
||
|
||
.form__input:focus-visible {
|
||
outline: var(--input-focus-outline, var(--outline));
|
||
}
|
||
|
||
.form__input--textarea {
|
||
font-family: inherit;
|
||
resize: vertical;
|
||
}
|
||
|
||
.error {
|
||
color: var(--error-color);
|
||
fill: var(--error-color);
|
||
}
|
||
`,qN=`
|
||
.btn-group {
|
||
display: grid;
|
||
gap: 8px;
|
||
}
|
||
|
||
.btn {
|
||
line-height: inherit;
|
||
border: var(--button-border, var(--border));
|
||
border-radius: var(--button-border-radius, 6px);
|
||
cursor: pointer;
|
||
font-family: inherit;
|
||
font-size: var(--button-font-size, inherit);
|
||
font-weight: var(--button-font-weight, 600);
|
||
padding: var(--button-padding, 6px 16px);
|
||
}
|
||
.btn[disabled] {
|
||
opacity: 0.6;
|
||
pointer-events: none;
|
||
}
|
||
|
||
.btn--primary {
|
||
color: var(--button-primary-color, var(--accent-foreground));
|
||
fill: var(--button-primary-color, var(--accent-foreground));
|
||
background: var(--button-primary-background, var(--accent-background));
|
||
border: var(--button-primary-border, var(--border));
|
||
border-radius: var(--button-primary-border-radius, 6px);
|
||
font-weight: var(--button-primary-font-weight, 500);
|
||
}
|
||
.btn--primary:hover {
|
||
color: var(--button-primary-hover-color, var(--accent-foreground));
|
||
fill: var(--button-primary-hover-color, var(--accent-foreground));
|
||
background: var(--button-primary-hover-background, var(--accent-background));
|
||
filter: var(--interactive-filter);
|
||
}
|
||
.btn--primary:focus-visible {
|
||
background: var(--button-primary-hover-background, var(--accent-background));
|
||
filter: var(--interactive-filter);
|
||
outline: var(--button-primary-focus-outline, var(--outline));
|
||
}
|
||
|
||
.btn--default {
|
||
color: var(--button-color, var(--foreground));
|
||
fill: var(--button-color, var(--foreground));
|
||
background: var(--button-background, var(--background));
|
||
border: var(--button-border, var(--border));
|
||
border-radius: var(--button-border-radius, 6px);
|
||
font-weight: var(--button-font-weight, 500);
|
||
}
|
||
.btn--default:hover {
|
||
color: var(--button-color, var(--foreground));
|
||
fill: var(--button-color, var(--foreground));
|
||
background: var(--button-hover-background, var(--background));
|
||
filter: var(--interactive-filter);
|
||
}
|
||
.btn--default:focus-visible {
|
||
background: var(--button-hover-background, var(--background));
|
||
filter: var(--interactive-filter);
|
||
outline: var(--button-focus-outline, var(--outline));
|
||
}
|
||
`,GN=`
|
||
.success__position {
|
||
position: fixed;
|
||
inset: var(--dialog-inset);
|
||
padding: var(--page-margin);
|
||
z-index: var(--z-index);
|
||
}
|
||
.success__content {
|
||
background: var(--success-background, var(--background));
|
||
border: var(--success-border, var(--border));
|
||
border-radius: var(--success-border-radius, 1.7em/50%);
|
||
box-shadow: var(--success-box-shadow, var(--box-shadow));
|
||
font-weight: var(--success-font-weight, 600);
|
||
color: var(--success-color);
|
||
fill: var(--success-color);
|
||
padding: 12px 24px;
|
||
line-height: 1.75em;
|
||
|
||
display: grid;
|
||
align-items: center;
|
||
grid-auto-flow: column;
|
||
gap: 6px;
|
||
cursor: default;
|
||
}
|
||
|
||
.success__icon {
|
||
display: flex;
|
||
}
|
||
`;function KN(e){const t=We.createElement("style");return t.textContent=`
|
||
:host {
|
||
--dialog-inset: var(--inset);
|
||
}
|
||
|
||
${WN}
|
||
${jN}
|
||
${zN}
|
||
${qN}
|
||
${GN}
|
||
`,e&&t.setAttribute("nonce",e),t}function YN(){const e=Oe().getUser(),t=$t().getUser(),n=JS().getUser();return e&&Object.keys(e).length?e:t&&Object.keys(t).length?t:n}const XN=()=>({name:"FeedbackModal",setupOnce(){},createDialog:({options:e,screenshotIntegration:t,sendFeedback:n,shadow:r})=>{const s=r,i=e.useSentryUser,o=YN(),a=We.createElement("div"),c=KN(e.styleNonce);let l="";const d={get el(){return a},appendToDom(){!s.contains(c)&&!s.contains(a)&&(s.appendChild(c),s.appendChild(a))},removeFromDom(){a.remove(),c.remove(),We.body.style.overflow=l},open(){var h,p;f(!0),(h=e.onFormOpen)==null||h.call(e),(p=Ce())==null||p.emit("openFeedbackWidget"),l=We.body.style.overflow,We.body.style.overflow="hidden"},close(){f(!1),We.body.style.overflow=l}},u=t==null?void 0:t.createInput({h:ke,hooks:LN,dialog:d,options:e}),f=h=>{CN(ke(UN,{options:e,screenshotInput:u,showName:e.showName||e.isNameRequired,showEmail:e.showEmail||e.isEmailRequired,defaultName:String(i&&(o==null?void 0:o[i.name])||""),defaultEmail:String(i&&(o==null?void 0:o[i.email])||""),onFormClose:()=>{var p;f(!1),(p=e.onFormClose)==null||p.call(e)},onSubmit:n,onSubmitSuccess:(p,m)=>{var v;f(!1),(v=e.onSubmitSuccess)==null||v.call(e,p,m)},onSubmitError:p=>{var m;(m=e.onSubmitError)==null||m.call(e,p)},onFormSubmitted:()=>{var p;(p=e.onFormSubmitted)==null||p.call(e)},open:h}),a)};return d}});function JN({h:e}){return function(){return e("svg",{"data-test-id":"icon-close",viewBox:"0 0 16 16",fill:"#2B2233",height:"25px",width:"25px"},e("circle",{r:"7",cx:"8",cy:"8",fill:"white"}),e("path",{strokeWidth:"1.5",d:"M8,16a8,8,0,1,1,8-8A8,8,0,0,1,8,16ZM8,1.53A6.47,6.47,0,1,0,14.47,8,6.47,6.47,0,0,0,8,1.53Z"}),e("path",{strokeWidth:"1.5",d:"M5.34,11.41a.71.71,0,0,1-.53-.22.74.74,0,0,1,0-1.06l5.32-5.32a.75.75,0,0,1,1.06,1.06L5.87,11.19A.74.74,0,0,1,5.34,11.41Z"}),e("path",{strokeWidth:"1.5",d:"M10.66,11.41a.74.74,0,0,1-.53-.22L4.81,5.87A.75.75,0,0,1,5.87,4.81l5.32,5.32a.74.74,0,0,1,0,1.06A.71.71,0,0,1,10.66,11.41Z"}))}}function ZN(e){const t=We.createElement("style"),n="#1A141F",r="#302735";return t.textContent=`
|
||
.editor {
|
||
display: flex;
|
||
flex-grow: 1;
|
||
flex-direction: column;
|
||
}
|
||
|
||
.editor__image-container {
|
||
justify-items: center;
|
||
padding: 15px;
|
||
position: relative;
|
||
height: 100%;
|
||
border-radius: var(--menu-border-radius, 6px);
|
||
|
||
background-color: ${n};
|
||
background-image: repeating-linear-gradient(
|
||
-145deg,
|
||
transparent,
|
||
transparent 8px,
|
||
${n} 8px,
|
||
${n} 11px
|
||
),
|
||
repeating-linear-gradient(
|
||
-45deg,
|
||
transparent,
|
||
transparent 15px,
|
||
${r} 15px,
|
||
${r} 16px
|
||
);
|
||
}
|
||
|
||
.editor__canvas-container {
|
||
width: 100%;
|
||
height: 100%;
|
||
position: relative;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
}
|
||
|
||
.editor__canvas-container > * {
|
||
object-fit: contain;
|
||
position: absolute;
|
||
}
|
||
|
||
.editor__tool-container {
|
||
padding-top: 8px;
|
||
display: flex;
|
||
justify-content: center;
|
||
}
|
||
|
||
.editor__tool-bar {
|
||
display: flex;
|
||
gap: 8px;
|
||
}
|
||
|
||
.editor__tool {
|
||
display: flex;
|
||
padding: 8px 12px;
|
||
justify-content: center;
|
||
align-items: center;
|
||
border: var(--button-border, var(--border));
|
||
border-radius: var(--button-border-radius, 6px);
|
||
background: var(--button-background, var(--background));
|
||
color: var(--button-color, var(--foreground));
|
||
}
|
||
|
||
.editor__tool--active {
|
||
background: var(--button-primary-background, var(--accent-background));
|
||
color: var(--button-primary-color, var(--accent-foreground));
|
||
}
|
||
|
||
.editor__rect {
|
||
position: absolute;
|
||
z-index: 2;
|
||
}
|
||
|
||
.editor__rect button {
|
||
opacity: 0;
|
||
position: absolute;
|
||
top: -12px;
|
||
right: -12px;
|
||
cursor: pointer;
|
||
padding: 0;
|
||
z-index: 3;
|
||
border: none;
|
||
background: none;
|
||
}
|
||
|
||
.editor__rect:hover button {
|
||
opacity: 1;
|
||
}
|
||
`,e&&t.setAttribute("nonce",e),t}function QN({h:e}){return function({action:n,setAction:r,options:s}){return e("div",{class:"editor__tool-container"},e("div",{class:"editor__tool-bar"},e("button",{type:"button",class:`editor__tool ${n==="highlight"?"editor__tool--active":""}`,onClick:()=>{r(n==="highlight"?"":"highlight")}},s.highlightToolText),e("button",{type:"button",class:`editor__tool ${n==="hide"?"editor__tool--active":""}`,onClick:()=>{r(n==="hide"?"":"hide")}},s.hideToolText)))}}function eD({hooks:e}){function t(){const[n,r]=e.useState(_n.devicePixelRatio??1);return e.useEffect(()=>{const s=()=>{r(_n.devicePixelRatio)},i=matchMedia(`(resolution: ${_n.devicePixelRatio}dppx)`);return i.addEventListener("change",s),()=>{i.removeEventListener("change",s)}},[]),n}return function({onBeforeScreenshot:r,onScreenshot:s,onAfterScreenshot:i,onError:o}){const a=t();e.useEffect(()=>{(async()=>{r();const l=await lo.mediaDevices.getDisplayMedia({video:{width:_n.innerWidth*a,height:_n.innerHeight*a},audio:!1,monitorTypeSurfaces:"exclude",preferCurrentTab:!0,selfBrowserSurface:"include",surfaceSwitching:"exclude"}),d=We.createElement("video");await new Promise((u,f)=>{d.srcObject=l,d.onloadedmetadata=()=>{s(d,a),l.getTracks().forEach(h=>h.stop()),u()},d.play().catch(f)}),i()})().catch(o)},[])}}function tD(e,t,n){switch(e.type){case"highlight":{t.shadowColor="rgba(0, 0, 0, 0.7)",t.shadowBlur=50,t.fillStyle=n,t.fillRect(e.x-1,e.y-1,e.w+2,e.h+2),t.clearRect(e.x,e.y,e.w,e.h);break}case"hide":t.fillStyle="rgb(0, 0, 0)",t.fillRect(e.x,e.y,e.w,e.h);break}}function Ar(e,t,n){if(!e)return;const r=e.getContext("2d",t);r&&n(e,r)}function Pu(e,t){Ar(e,{alpha:!0},(n,r)=>{r.drawImage(t,0,0,t.width,t.height,0,0,n.width,n.height)})}function Ou(e,t,n){Ar(e,{alpha:!0},(r,s)=>{n.length&&(s.fillStyle="rgba(0, 0, 0, 0.25)",s.fillRect(0,0,r.width,r.height)),n.forEach(i=>{tD(i,s,t)})})}function nD({h:e,hooks:t,outputBuffer:n,dialog:r,options:s}){const i=eD({hooks:t}),o=QN({h:e}),a=JN({h:e}),c={__html:ZN(s.styleNonce).innerText},l=r.el.style,d=({screenshot:u})=>{const[f,h]=t.useState("highlight"),[p,m]=t.useState([]),v=t.useRef(null),g=t.useRef(null),y=t.useRef(null),C=t.useRef(null),[w,I]=t.useState(1),x=t.useMemo(()=>{const T=We.getElementById(s.id);if(!T)return"white";const O=getComputedStyle(T);return O.getPropertyValue("--button-primary-background")||O.getPropertyValue("--accent-background")},[s.id]);t.useLayoutEffect(()=>{const T=()=>{const O=v.current;O&&(Ar(u.canvas,{alpha:!1},$=>{const K=Math.min(O.clientWidth/$.width,O.clientHeight/$.height);I(K)}),(O.clientHeight===0||O.clientWidth===0)&&setTimeout(T,0))};return T(),_n.addEventListener("resize",T),()=>{_n.removeEventListener("resize",T)}},[u]);const S=t.useCallback((T,O)=>{Ar(T,{alpha:!0},($,K)=>{K.scale(O,O),$.width=u.canvas.width,$.height=u.canvas.height})},[u]);t.useEffect(()=>{S(g.current,u.dpi),Pu(g.current,u.canvas)},[u]),t.useEffect(()=>{S(y.current,u.dpi),Ar(y.current,{alpha:!0},(T,O)=>{O.clearRect(0,0,T.width,T.height)}),Ou(y.current,x,p)},[p,x]),t.useEffect(()=>{S(n,u.dpi),Pu(n,u.canvas),Ar(We.createElement("canvas"),{alpha:!0},(T,O)=>{O.scale(u.dpi,u.dpi),T.width=u.canvas.width,T.height=u.canvas.height,Ou(T,x,p),Pu(n,T)})},[p,u,x]);const b=T=>{if(!f||!C.current)return;const O=C.current.getBoundingClientRect(),$={type:f,x:T.offsetX/w,y:T.offsetY/w},K=(N,oe)=>{const U=(oe.clientX-O.x)/w,J=(oe.clientY-O.y)/w;return{type:N.type,x:Math.min(N.x,U),y:Math.min(N.y,J),w:Math.abs(U-N.x),h:Math.abs(J-N.y)}},Z=N=>{Ar(y.current,{alpha:!0},(oe,U)=>{U.clearRect(0,0,oe.width,oe.height)}),Ou(y.current,x,[...p,K($,N)])},z=N=>{const oe=K($,N);oe.w*w>=1&&oe.h*w>=1&&m(U=>[...U,oe]),We.removeEventListener("mousemove",Z),We.removeEventListener("mouseup",z)};We.addEventListener("mousemove",Z),We.addEventListener("mouseup",z)},k=t.useCallback(T=>O=>{O.preventDefault(),O.stopPropagation(),m($=>{const K=[...$];return K.splice(T,1),K})},[]),R={width:`${u.canvas.width*w}px`,height:`${u.canvas.height*w}px`},M=T=>{T.stopPropagation()};return e("div",{class:"editor"},e("style",{nonce:s.styleNonce,dangerouslySetInnerHTML:c}),e("div",{class:"editor__image-container"},e("div",{class:"editor__canvas-container",ref:v},e("canvas",{ref:g,id:"background",style:R}),e("canvas",{ref:y,id:"foreground",style:R}),e("div",{ref:C,onMouseDown:b,style:R},p.map((T,O)=>e("div",{key:O,class:"editor__rect",style:{top:`${T.y*w}px`,left:`${T.x*w}px`,width:`${T.w*w}px`,height:`${T.h*w}px`}},e("button",{"aria-label":s.removeHighlightText,onClick:k(O),onMouseDown:M,onMouseUp:M,type:"button"},e(a,null))))))),e(o,{options:s,action:f,setAction:h}))};return function({onError:f}){const[h,p]=t.useState();return i({onBeforeScreenshot:t.useCallback(()=>{l.display="none"},[]),onScreenshot:t.useCallback((m,v)=>{Ar(We.createElement("canvas"),{alpha:!1},(g,y)=>{y.scale(v,v),g.width=m.videoWidth,g.height=m.videoHeight,y.drawImage(m,0,0,g.width,g.height),p({canvas:g,dpi:v})}),n.width=m.videoWidth,n.height=m.videoHeight},[]),onAfterScreenshot:t.useCallback(()=>{l.display="block"},[]),onError:t.useCallback(m=>{l.display="block",f(m)},[])}),h?e(d,{screenshot:h}):e("div",null)}}const rD=()=>({name:"FeedbackScreenshot",setupOnce(){},createInput:({h:e,hooks:t,dialog:n,options:r})=>{const s=We.createElement("canvas");return{input:nD({h:e,hooks:t,outputBuffer:s,dialog:n,options:r}),value:async()=>{const i=await new Promise(o=>{s.toBlob(o,"image/png")});if(i)return{data:new Uint8Array(await i.arrayBuffer()),filename:"screenshot.png",contentType:"application/png"}}}}}),Ae=xe;let Gd=0;function oE(){return Gd>0}function sD(){Gd++,setTimeout(()=>{Gd--})}function Ri(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(vh(e))return e}catch{return e}const r=function(...s){try{const i=s.map(o=>Ri(o,t));return e.apply(this,i)}catch(i){throw sD(),Ml(o=>{o.addEventProcessor(a=>(t.mechanism&&(Md(a,void 0),wi(a,t.mechanism)),a.extra={...a.extra,arguments:s},a)),Ol(i)}),i}};try{for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(r[s]=e[s])}catch{}GS(r,e),Gt(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}function Fh(){const e=Ls(),{referrer:t}=Ae.document||{},{userAgent:n}=Ae.navigator||{},r={...t&&{Referer:t},...n&&{"User-Agent":n}};return{url:e,headers:r}}const iD=vN({getModalIntegration:()=>XN,getScreenshotIntegration:()=>rD});function $h(e,t){const n=Bh(e,t),r={type:uD(t),value:dD(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function oD(e,t,n,r){const s=Ce(),i=s==null?void 0:s.getOptions().normalizeDepth,o=gD(t),a={__serialized__:p0(t,i)};if(o)return{exception:{values:[$h(e,o)]},extra:a};const c={exception:{values:[{type:Al(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:pD(t,{isUnhandledRejection:r})}]},extra:a};if(n){const l=Bh(e,n);l.length&&(c.exception.values[0].stacktrace={frames:l})}return c}function Lu(e,t){return{exception:{values:[$h(e,t)]}}}function Bh(e,t){const n=t.stacktrace||t.stack||"",r=cD(t),s=lD(t);try{return e(n,r,s)}catch{}return[]}const aD=/Minified React error #\d+;/i;function cD(e){return e&&aD.test(e.message)?1:0}function lD(e){return typeof e.framesToPop=="number"?e.framesToPop:0}function aE(e){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?e instanceof WebAssembly.Exception:!1}function uD(e){const t=e==null?void 0:e.name;return!t&&aE(e)?e.message&&Array.isArray(e.message)&&e.message.length==2?e.message[0]:"WebAssembly.Exception":t}function dD(e){const t=e==null?void 0:e.message;return aE(e)?Array.isArray(e.message)&&e.message.length==2?e.message[1]:"wasm exception":t?t.error&&typeof t.error.message=="string"?ov(t.error):ov(e):"No error message"}function fD(e,t,n,r){const s=(n==null?void 0:n.syntheticException)||void 0,i=Hh(e,t,s,r);return wi(i),i.level="error",n!=null&&n.event_id&&(i.event_id=n.event_id),ma(i)}function hD(e,t,n="info",r,s){const i=(r==null?void 0:r.syntheticException)||void 0,o=Kd(e,t,i,s);return o.level=n,r!=null&&r.event_id&&(o.event_id=r.event_id),ma(o)}function Hh(e,t,n,r,s){let i;if(jS(t)&&t.error)return Lu(e,t.error);if(Tg(t)||lM(t)){const o=t;if("stack"in t)i=Lu(e,t);else{const a=o.name||(Tg(o)?"DOMError":"DOMException"),c=o.message?`${a}: ${o.message}`:a;i=Kd(e,c,n,r),Md(i,c)}return"code"in o&&(i.tags={...i.tags,"DOMException.code":`${o.code}`}),i}return Rl(t)?Lu(e,t):jo(t)||Al(t)?(i=oD(e,t,n,s),wi(i,{synthetic:!0}),i):(i=Kd(e,t,n,r),Md(i,`${t}`),wi(i,{synthetic:!0}),i)}function Kd(e,t,n,r){const s={};if(r&&n){const i=Bh(e,n);i.length&&(s.exception={values:[{value:t,stacktrace:{frames:i}}]}),wi(s,{synthetic:!0})}if(ph(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 pD(e,{isUnhandledRejection:t}){const n=mM(e),r=t?"promise rejection":"exception";return jS(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:Al(e)?`Event \`${mD(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function mD(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function gD(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];if(n instanceof Error)return n}}class vD extends LO{constructor(t){var d;const n=yD(t),r=Ae.SENTRY_SDK_SOURCE||VL();B0(n,"browser",["browser"],r),(d=n._metadata)!=null&&d.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&&Bd(this),l&&x0(this))}),s&&this.on("beforeSendSession",KO)}eventFromException(t,n){return fD(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",r){return hD(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 yD(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 xs=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,ve=xe,_D=(e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good",ya=(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=_D(t.value,n),e(t)))}},_a=(e=!0)=>{var n,r;const t=(r=(n=ve.performance)==null?void 0:n.getEntriesByType)==null?void 0:r.call(n,"navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t},Ki=()=>{const e=_a();return(e==null?void 0:e.activationStart)??0};function Fr(e,t,n){ve.document&&ve.addEventListener(e,t,n)}function Gc(e,t,n){ve.document&&ve.removeEventListener(e,t,n)}let fi=-1;const cE=new Set,bD=()=>{var e,t;return((e=ve.document)==null?void 0:e.visibilityState)==="hidden"&&!((t=ve.document)!=null&&t.prerendering)?0:1/0},mc=e=>{if(SD(e)&&fi>-1){if(e.type==="visibilitychange"||e.type==="pagehide")for(const t of cE)t();isFinite(fi)||(fi=e.type==="visibilitychange"?e.timeStamp:0,Gc("prerenderingchange",mc,!0))}},ba=()=>{var e;if(ve.document&&fi<0){const t=Ki();fi=(ve.document.prerendering||(e=globalThis.performance.getEntriesByType("visibility-state").filter(r=>r.name==="hidden"&&r.startTime>t)[0])==null?void 0:e.startTime)??bD(),Fr("visibilitychange",mc,!0),Fr("pagehide",mc,!0),Fr("prerenderingchange",mc,!0)}return{get firstHiddenTime(){return fi},onHidden(t){cE.add(t)}}};function SD(e){var t;return e.type==="pagehide"||((t=ve.document)==null?void 0:t.visibilityState)==="hidden"}const ED=()=>`v5-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,Sa=(e,t=-1)=>{var i,o;const n=_a();let r="navigate";return n&&((i=ve.document)!=null&&i.prerendering||Ki()>0?r="prerender":(o=ve.document)!=null&&o.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:t,rating:"good",delta:0,entries:[],id:ED(),navigationType:r}},Nu=new WeakMap;function Vh(e,t){try{return Nu.get(e)||Nu.set(e,new t),Nu.get(e)}catch{return new t}}class Kc{constructor(){Kc.prototype.__init.call(this),Kc.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 Yi=(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{}},Uh=e=>{let t=!1;return()=>{t||(e(),t=!0)}},Nl=e=>{var t;(t=ve.document)!=null&&t.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},wD=[1800,3e3],CD=(e,t={})=>{Nl(()=>{const n=ba(),r=Sa("FCP");let s;const o=Yi("paint",a=>{for(const c of a)c.name==="first-contentful-paint"&&(o.disconnect(),c.startTime<n.firstHiddenTime&&(r.value=Math.max(c.startTime-Ki(),0),r.entries.push(c),s(!0)))});o&&(s=ya(e,r,wD,t.reportAllChanges))})},TD=[.1,.25],kD=(e,t={})=>{CD(Uh(()=>{var c;const n=Sa("CLS",0);let r;const s=ba(),i=Vh(t,Kc),o=l=>{for(const d of l)i._processEntry(d);i._sessionValue>n.value&&(n.value=i._sessionValue,n.entries=i._sessionEntries,r())},a=Yi("layout-shift",o);a&&(r=ya(e,n,TD,t.reportAllChanges),s.onHidden(()=>{o(a.takeRecords()),r(!0)}),(c=ve==null?void 0:ve.setTimeout)==null||c.call(ve,r))}))};let lE=0,Du=1/0,Ha=0;const ID=e=>{e.forEach(t=>{t.interactionId&&(Du=Math.min(Du,t.interactionId),Ha=Math.max(Ha,t.interactionId),lE=Ha?(Ha-Du)/7+1:0)})};let Yd;const uE=()=>Yd?lE:performance.interactionCount||0,xD=()=>{"interactionCount"in performance||Yd||(Yd=Yi("event",ID,{type:"event",buffered:!0,durationThreshold:0}))},Fu=10;let dE=0;const RD=()=>uE()-dE;class Yc{constructor(){Yc.prototype.__init.call(this),Yc.prototype.__init2.call(this)}__init(){this._longestInteractionList=[]}__init2(){this._longestInteractionMap=new Map}_resetInteractions(){dE=uE(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){const t=Math.min(this._longestInteractionList.length-1,Math.floor(RD()/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.length<Fu||t.duration>n._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>Fu){const o=this._longestInteractionList.splice(Fu);for(const a of o)this._longestInteractionMap.delete(a.id)}(i=this._onAfterProcessingINPCandidate)==null||i.call(this,r)}}}const fE=e=>{var n;const t=ve.requestIdleCallback||ve.setTimeout;((n=ve.document)==null?void 0:n.visibilityState)==="hidden"?e():(e=Uh(e),Fr("visibilitychange",e,{once:!0,capture:!0}),Fr("pagehide",e,{once:!0,capture:!0}),t(()=>{e(),Gc("visibilitychange",e,{capture:!0}),Gc("pagehide",e,{capture:!0})}))},AD=[200,500],MD=40,PD=(e,t={})=>{if(!(globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return;const n=ba();Nl(()=>{xD();const r=Sa("INP");let s;const i=Vh(t,Yc),o=c=>{fE(()=>{for(const d of c)i._processEntry(d);const l=i._estimateP98LongestInteraction();l&&l._latency!==r.value&&(r.value=l._latency,r.entries=l.entries,s())})},a=Yi("event",o,{durationThreshold:t.durationThreshold??MD});s=ya(e,r,AD,t.reportAllChanges),a&&(a.observe({type:"first-input",buffered:!0}),n.onHidden(()=>{o(a.takeRecords()),s(!0)}))})};class OD{_processEntry(t){var n;(n=this._onBeforeProcessingEntry)==null||n.call(this,t)}}const LD=[2500,4e3],ND=(e,t={})=>{Nl(()=>{const n=ba(),r=Sa("LCP");let s;const i=Vh(t,OD),o=c=>{t.reportAllChanges||(c=c.slice(-1));for(const l of c)i._processEntry(l),l.startTime<n.firstHiddenTime&&(r.value=Math.max(l.startTime-Ki(),0),r.entries=[l],s())},a=Yi("largest-contentful-paint",o);if(a){s=ya(e,r,LD,t.reportAllChanges);const c=Uh(()=>{o(a.takeRecords()),a.disconnect(),s(!0)}),l=d=>{d.isTrusted&&(fE(c),Gc(d.type,l,{capture:!0}))};for(const d of["keydown","click","visibilitychange"])Fr(d,l,{capture:!0})}})},DD=[800,1800],Xd=e=>{var t,n;(t=ve.document)!=null&&t.prerendering?Nl(()=>Xd(e)):((n=ve.document)==null?void 0:n.readyState)!=="complete"?addEventListener("load",()=>Xd(e),!0):setTimeout(e)},FD=(e,t={})=>{const n=Sa("TTFB"),r=ya(e,n,DD,t.reportAllChanges);Xd(()=>{const s=_a();s&&(n.value=Math.max(s.responseStart-Ki(),0),n.entries=[s],r(!0))})},wo={},Xc={};let hE,pE,mE,gE;function Wh(e,t=!1){return Dl("cls",e,BD,hE,t)}function jh(e,t=!1){return Dl("lcp",e,HD,pE,t)}function $D(e){return Dl("ttfb",e,VD,mE)}function vE(e){return Dl("inp",e,UD,gE)}function Rs(e,t){return yE(e,t),Xc[e]||(WD(e),Xc[e]=!0),_E(e,t)}function Ea(e,t){const n=wo[e];if(n!=null&&n.length)for(const r of n)try{r(t)}catch(s){xs&&te.error(`Error while triggering instrumentation handler.
|
||
Type: ${e}
|
||
Name: ${lr(r)}
|
||
Error:`,s)}}function BD(){return kD(e=>{Ea("cls",{metric:e}),hE=e},{reportAllChanges:!0})}function HD(){return ND(e=>{Ea("lcp",{metric:e}),pE=e},{reportAllChanges:!0})}function VD(){return FD(e=>{Ea("ttfb",{metric:e}),mE=e})}function UD(){return PD(e=>{Ea("inp",{metric:e}),gE=e})}function Dl(e,t,n,r,s=!1){yE(e,t);let i;return Xc[e]||(i=n(),Xc[e]=!0),r&&t({metric:r}),_E(e,t,s?i:void 0)}function WD(e){const t={};e==="event"&&(t.durationThreshold=0),Yi(e,n=>{Ea(e,{entries:n})},t)}function yE(e,t){wo[e]=wo[e]||[],wo[e].push(t)}function _E(e,t,n){return()=>{n&&n();const r=wo[e];if(!r)return;const s=r.indexOf(t);s!==-1&&r.splice(s,1)}}function jD(e){return"duration"in e}const zD=e=>{const t=n=>{var r;(n.type==="pagehide"||((r=ve.document)==null?void 0:r.visibilityState)==="hidden")&&e(n)};Fr("visibilitychange",t,{capture:!0,once:!0}),Fr("pagehide",t,{capture:!0,once:!0})};function $u(e){return typeof e=="number"&&isFinite(e)}function jr(e,t,n,{...r}){const s=Re(e).start_timestamp;return s&&s>t&&typeof e.updateStartTime=="function"&&e.updateStartTime(t),Th(e,()=>{const i=Ur({startTime:t,...r});return i&&i.end(n),i})}function zh(e){var v;const t=Ce();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"),d=l==null?void 0:l.getReplayId(),u=Oe(),f=u.getUser(),h=f!==void 0?f.email||f.id||f.ip_address:void 0;let p;try{p=u.getScopeData().contexts.profile.profile_id}catch{}const m={release:o,environment:a,user:h||void 0,profile_id:p||void 0,replay_id:d||void 0,transaction:r,"user_agent.original":(v=ve.navigator)==null?void 0:v.userAgent,"client.address":c?"{{auto}}":void 0,...s};return Ur({name:n,attributes:m,startTime:i,experimental:{standalone:!0}})}function wa(){return ve.addEventListener&&ve.performance}function at(e){return e/1e3}function qD(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 bE(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch{return!1}}function SE(e,t){let n,r=!1;function s(a){!r&&n&&t(a,n),r=!0}zD(()=>{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 GD(e){let t=0,n;if(!bE("layout-shift"))return;const r=Wh(({metric:s})=>{const i=s.entries[s.entries.length-1];i&&(t=s.value,n=i)},!0);SE(e,(s,i)=>{KD(t,n,i,s),r()})}function KD(e,t,n,r){var l;xs&&te.log(`Sending CLS span (${e})`);const s=t?at((Kt()||0)+t.startTime):lt(),i=Oe().getScopeData().transactionName,o=t?qt((l=t.sources[0])==null?void 0:l.node):"Layout shift",a={[st]:"auto.http.browser.cls",[fr]:"ui.webvital.cls",[qi]:0,"sentry.pageload.span_id":n,"sentry.report_event":r};t!=null&&t.sources&&t.sources.forEach((d,u)=>{a[`cls.source.${u+1}`]=qt(d.node)});const c=zh({name:o,transaction:i,attributes:a,startTime:s});c&&(c.addEvent("cls",{[ha]:"",[pa]:e}),c.end(s))}function YD(e){let t=0,n;if(!bE("largest-contentful-paint"))return;const r=jh(({metric:s})=>{const i=s.entries[s.entries.length-1];i&&(t=s.value,n=i)},!0);SE(e,(s,i)=>{XD(t,n,i,s),r()})}function XD(e,t,n,r){xs&&te.log(`Sending LCP span (${e})`);const s=at((Kt()||0)+((t==null?void 0:t.startTime)||0)),i=Oe().getScopeData().transactionName,o=t?qt(t.element):"Largest contentful paint",a={[st]:"auto.http.browser.lcp",[fr]:"ui.webvital.lcp",[qi]:0,"sentry.pageload.span_id":n,"sentry.report_event":r};t&&(t.element&&(a["lcp.element"]=qt(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=zh({name:o,transaction:i,attributes:a,startTime:s});c&&(c.addEvent("lcp",{[ha]:"millisecond",[pa]:e}),c.end(s))}function on(e){return e&&((Kt()||performance.timeOrigin)+e)/1e3}function EE(e){var n;const t={};if(e.nextHopProtocol!=null){const{name:r,version:s}=qD(e.nextHopProtocol);t["network.protocol.version"]=s,t["network.protocol.name"]=r}return Kt()||(n=wa())!=null&&n.timeOrigin?JD({...t,"http.request.redirect_start":on(e.redirectStart),"http.request.redirect_end":on(e.redirectEnd),"http.request.worker_start":on(e.workerStart),"http.request.fetch_start":on(e.fetchStart),"http.request.domain_lookup_start":on(e.domainLookupStart),"http.request.domain_lookup_end":on(e.domainLookupEnd),"http.request.connect_start":on(e.connectStart),"http.request.secure_connection_start":on(e.secureConnectionStart),"http.request.connection_end":on(e.connectEnd),"http.request.request_start":on(e.requestStart),"http.request.response_start":on(e.responseStart),"http.request.response_end":on(e.responseEnd),"http.request.time_to_first_byte":e.responseStart!=null?e.responseStart/1e3:void 0}):t}function JD(e){return Object.fromEntries(Object.entries(e).filter(([,t])=>t!=null))}const ZD=2147483647;let Ov=0,yn={},Vt,ei;function QD({recordClsStandaloneSpans:e,recordLcpStandaloneSpans:t,client:n}){const r=wa();if(r&&Kt()){r.mark&&ve.performance.mark("sentry-tracing-init");const s=t?YD(n):sF(),i=iF(),o=e?GD(n):rF();return()=>{s==null||s(),i(),o==null||o()}}return()=>{}}function eF(){Rs("longtask",({entries:e})=>{const t=Tt();if(!t)return;const{op:n,start_timestamp:r}=Re(t);for(const s of e){const i=at(Kt()+s.startTime),o=at(s.duration);n==="navigation"&&r&&i<r||jr(t,i,i+o,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[st]:"auto.ui.browser.metrics"}})}})}function tF(){new PerformanceObserver(t=>{const n=Tt();if(n)for(const r of t.getEntries()){if(!r.scripts[0])continue;const s=at(Kt()+r.startTime),{start_timestamp:i,op:o}=Re(n);if(o==="navigation"&&i&&s<i)continue;const a=at(r.duration),c={[st]:"auto.ui.browser.metrics"},l=r.scripts[0],{invoker:d,invokerType:u,sourceURL:f,sourceFunctionName:h,sourceCharPosition:p}=l;c["browser.script.invoker"]=d,c["browser.script.invoker_type"]=u,f&&(c["code.filepath"]=f),h&&(c["code.function"]=h),p!==-1&&(c["browser.script.source_char_position"]=p),jr(n,s,s+a,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:c})}}).observe({type:"long-animation-frame",buffered:!0})}function nF(){Rs("event",({entries:e})=>{const t=Tt();if(t){for(const n of e)if(n.name==="click"){const r=at(Kt()+n.startTime),s=at(n.duration),i={name:qt(n.target),op:`ui.interaction.${n.name}`,startTime:r,attributes:{[st]:"auto.ui.browser.metrics"}},o=qS(n.target);o&&(i.attributes["ui.component_name"]=o),jr(t,r,r+s,i)}}})}function rF(){return Wh(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(yn.cls={value:e.value,unit:""},ei=t)},!0)}function sF(){return jh(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(yn.lcp={value:e.value,unit:"millisecond"},Vt=t)},!0)}function iF(){return $D(({metric:e})=>{e.entries[e.entries.length-1]&&(yn.ttfb={value:e.value,unit:"millisecond"})})}function oF(e,t){const n=wa(),r=Kt();if(!(n!=null&&n.getEntries)||!r)return;const s=at(r),i=n.getEntries(),{op:o,start_timestamp:a}=Re(e);i.slice(Ov).forEach(c=>{const l=at(c.startTime),d=at(Math.max(0,c.duration));if(!(o==="navigation"&&a&&s+l<a))switch(c.entryType){case"navigation":{uF(e,c,s);break}case"mark":case"paint":case"measure":{cF(e,c,l,d,s,t.ignorePerformanceApiSpans);const u=ba(),f=c.startTime<u.firstHiddenTime;c.name==="first-paint"&&f&&(yn.fp={value:c.startTime,unit:"millisecond"}),c.name==="first-contentful-paint"&&f&&(yn.fcp={value:c.startTime,unit:"millisecond"});break}case"resource":{hF(e,c,c.name,l,d,s,t.ignoreResourceSpans);break}}}),Ov=Math.max(i.length-1,0),pF(e),o==="pageload"&&(vF(yn),t.recordClsOnPageloadSpan||delete yn.cls,t.recordLcpOnPageloadSpan||delete yn.lcp,Object.entries(yn).forEach(([c,l])=>{RP(c,l.value,l.unit)}),e.setAttribute("performance.timeOrigin",s),e.setAttribute("performance.activationStart",Ki()),mF(e,t)),Vt=void 0,ei=void 0,yn={}}function aF(e){if((e==null?void 0:e.entryType)==="measure")try{return e.detail.devtools.track==="Components ⚛"}catch{return}}function cF(e,t,n,r,s,i){if(aF(t)||["mark","measure"].includes(t.entryType)&&nr(t.name,i))return;const o=_a(!1),a=at(o?o.requestStart:0),c=s+Math.max(n,a),l=s+n,d=l+r,u={[st]:"auto.resource.browser.metrics"};c!==l&&(u["sentry.browser.measure_happened_before_request"]=!0,u["sentry.browser.measure_start_time"]=c),lF(u,t),c<=d&&jr(e,c,d,{name:t.name,op:t.entryType,attributes:u})}function lF(e,t){try{const n=t.detail;if(!n)return;if(typeof n=="object"){for(const[r,s]of Object.entries(n))if(s&&Ei(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(Ei(n)){e["sentry.browser.measure.detail"]=n;return}try{e["sentry.browser.measure.detail"]=JSON.stringify(n)}catch{}}catch{}}function uF(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{Va(e,t,r,n)}),Va(e,t,"secureConnection",n,"TLS/SSL"),Va(e,t,"fetch",n,"cache"),Va(e,t,"domainLookup",n,"DNS"),fF(e,t,n)}function Va(e,t,n,r,s=n){const i=dF(n),o=t[i],a=t[`${n}Start`];!a||!o||jr(e,r+at(a),r+at(o),{op:`browser.${s}`,name:t.name,attributes:{[st]:"auto.ui.browser.metrics",...n==="redirect"&&t.redirectCount!=null?{"http.redirect_count":t.redirectCount}:{}}})}function dF(e){return e==="secureConnection"?"connectEnd":e==="fetch"?"domainLookupStart":`${e}End`}function fF(e,t,n){const r=n+at(t.requestStart),s=n+at(t.responseEnd),i=n+at(t.responseStart);t.responseEnd&&(jr(e,r,s,{op:"browser.request",name:t.name,attributes:{[st]:"auto.ui.browser.metrics"}}),jr(e,i,s,{op:"browser.response",name:t.name,attributes:{[st]:"auto.ui.browser.metrics"}}))}function hF(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={[st]:"auto.resource.browser.metrics"},l=Ss(n);l.protocol&&(c["url.scheme"]=l.protocol.split(":").pop()),l.host&&(c["server.address"]=l.host),c["url.same_origin"]=n.includes(ve.location.origin),gF(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 d={...c,...EE(t)},u=i+r,f=u+s;jr(e,u,f,{name:n.replace(ve.location.origin,""),op:a,attributes:d})}function pF(e){const t=ve.navigator;if(!t)return;const n=t.connection;n&&(n.effectiveType&&e.setAttribute("effectiveConnectionType",n.effectiveType),n.type&&e.setAttribute("connectionType",n.type),$u(n.rtt)&&(yn["connection.rtt"]={value:n.rtt,unit:"millisecond"})),$u(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`),$u(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}function mF(e,t){Vt&&t.recordLcpOnPageloadSpan&&(Vt.element&&e.setAttribute("lcp.element",qt(Vt.element)),Vt.id&&e.setAttribute("lcp.id",Vt.id),Vt.url&&e.setAttribute("lcp.url",Vt.url.trim().slice(0,200)),Vt.loadTime!=null&&e.setAttribute("lcp.loadTime",Vt.loadTime),Vt.renderTime!=null&&e.setAttribute("lcp.renderTime",Vt.renderTime),e.setAttribute("lcp.size",Vt.size)),ei!=null&&ei.sources&&t.recordClsOnPageloadSpan&&ei.sources.forEach((n,r)=>e.setAttribute(`cls.source.${r+1}`,qt(n.node)))}function gF(e,t,n){n.forEach(([r,s])=>{const i=e[r];i!=null&&(typeof i=="number"&&i<ZD||typeof i=="string")&&(t[s]=i)})}function vF(e){const t=_a(!1);if(!t)return;const{responseStart:n,requestStart:r}=t;r<=n&&(e["ttfb.requestTime"]={value:n-r,unit:"millisecond"})}function yF(){return wa()&&Kt()?Rs("element",_F):()=>{}}const _F=({entries:e})=>{const t=Tt(),n=t?wt(t):void 0,r=n?Re(n).description:Oe().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,d]=c?[at(c),"load-time"]:a?[at(a),"render-time"]:[lt(),"entry-emission"],u=o==="image-paint"?at(Math.max(0,(a??0)-(c??0))):0,f={[st]:"auto.ui.browser.elementtiming",[fr]:"ui.elementtiming",[jt]:"component","sentry.span_start_time_source":d,"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};NP({name:`element[${i.identifier}]`,attributes:f,startTime:l,onlyIfParent:!0},m=>{m.end(l+u)})})},bF=1e3;let Lv,Jd,Zd;function wE(e){const t="dom";Kr(t,e),Yr(t,SF)}function SF(){if(!ve.document)return;const e=dn.bind(null,"dom"),t=Nv(e,!0);ve.document.addEventListener("click",t,!1),ve.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{var i,o;const s=(i=ve[n])==null?void 0:i.prototype;(o=s==null?void 0:s.hasOwnProperty)!=null&&o.call(s,"addEventListener")&&(Wt(s,"addEventListener",function(a){return function(c,l,d){if(c==="click"||c=="keypress")try{const u=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},f=u[c]=u[c]||{refCount:0};if(!f.handler){const h=Nv(e);f.handler=h,a.call(this,c,h,d)}f.refCount++}catch{}return a.call(this,c,l,d)}}),Wt(s,"removeEventListener",function(a){return function(c,l,d){if(c==="click"||c=="keypress")try{const u=this.__sentry_instrumentation_handlers__||{},f=u[c];f&&(f.refCount--,f.refCount<=0&&(a.call(this,c,f.handler,d),f.handler=void 0,delete u[c]),Object.keys(u).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return a.call(this,c,l,d)}}))})}function EF(e){if(e.type!==Jd)return!1;try{if(!e.target||e.target._sentryId!==Zd)return!1}catch{}return!0}function wF(e,t){return e!=="keypress"?!1:t!=null&&t.tagName?!(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable):!0}function Nv(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=CF(n);if(wF(n.type,r))return;Gt(n,"_sentryCaptured",!0),r&&!r._sentryId&&Gt(r,"_sentryId",tn());const s=n.type==="keypress"?"input":n.type;EF(n)||(e({event:n,name:s,global:t}),Jd=n.type,Zd=r?r._sentryId:void 0),clearTimeout(Lv),Lv=ve.setTimeout(()=>{Zd=void 0,Jd=void 0},bF)}}function CF(e){try{return e.target}catch{return null}}let Ua;function Fl(e){const t="history";Kr(t,e),Yr(t,TF)}function TF(){if(ve.addEventListener("popstate",()=>{const t=ve.location.href,n=Ua;if(Ua=t,n===t)return;dn("history",{from:n,to:t})}),!PL())return;function e(t){return function(...n){const r=n.length>2?n[2]:void 0;if(r){const s=Ua,i=kF(String(r));if(Ua=i,s===i)return t.apply(this,n);dn("history",{from:s,to:i})}return t.apply(this,n)}}Wt(ve.history,"pushState",e),Wt(ve.history,"replaceState",e)}function kF(e){try{return new URL(e,ve.location.origin).toString()}catch{return e}}const gc={};function CE(e){const t=gc[e];if(t)return t;let n=ve[e];if(Ud(n))return gc[e]=n.bind(ve);const r=ve.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){xs&&te.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,s)}return n&&(gc[e]=n.bind(ve))}function IF(e){gc[e]=void 0}function Ca(...e){return CE("setTimeout")(...e)}const ds="__sentry_xhr_v3__";function TE(e){const t="xhr";Kr(t,e),Yr(t,xF)}function xF(){if(!ve.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(t,n,r){const s=new Error,i=lt()*1e3,o=tr(r[0])?r[0].toUpperCase():void 0,a=RF(r[1]);if(!o||!a)return t.apply(n,r);n[ds]={method:o,url:a,request_headers:{}},o==="POST"&&a.match(/sentry_key/)&&(n.__sentry_own_request__=!0);const c=()=>{const l=n[ds];if(l&&n.readyState===4){try{l.status_code=n.status}catch{}const d={endTimestamp:lt()*1e3,startTimestamp:i,xhr:n,virtualError:s};dn("xhr",d)}};return"onreadystatechange"in n&&typeof n.onreadystatechange=="function"?n.onreadystatechange=new Proxy(n.onreadystatechange,{apply(l,d,u){return c(),l.apply(d,u)}}):n.addEventListener("readystatechange",c),n.setRequestHeader=new Proxy(n.setRequestHeader,{apply(l,d,u){const[f,h]=u,p=d[ds];return p&&tr(f)&&tr(h)&&(p.request_headers[f.toLowerCase()]=h),l.apply(d,u)}}),t.apply(n,r)}}),e.send=new Proxy(e.send,{apply(t,n,r){const s=n[ds];if(!s)return t.apply(n,r);r[0]!==void 0&&(s.body=r[0]);const i={startTimestamp:lt()*1e3,xhr:n};return dn("xhr",i),t.apply(n,r)}})}function RF(e){if(tr(e))return e;try{return e.toString()}catch{}}const AF=Symbol.for("sentry__originalRequestBody");function kE(e){return new URLSearchParams(e).toString()}function IE(e,t=te){try{if(typeof e=="string")return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[kE(e)];if(!e)return[void 0]}catch(n){return xs&&t.error(n,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return xs&&t.log("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function xE(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][AF];return n!==void 0?n:void 0}}function RE(e){let t;try{t=e.getAllResponseHeaders()}catch(n){return xs&&te.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 Bu=[],vc=new Map,js=new Map,MF=60;function PF(){if(wa()&&Kt()){const t=OF();return()=>{t()}}return()=>{}}const Qd={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 OF(){return vE(LF)}const LF=({metric:e})=>{if(e.value==null)return;const t=at(e.value);if(t>MF)return;const n=e.entries.find(p=>p.duration===e.value&&Qd[p.name]);if(!n)return;const{interactionId:r}=n,s=Qd[n.name],i=at(Kt()+n.startTime),o=Tt(),a=o?wt(o):void 0,c=r!=null?vc.get(r):void 0,l=(c==null?void 0:c.span)||a,d=l?Re(l).description:Oe().getScopeData().transactionName,u=(c==null?void 0:c.elementName)||qt(n.target),f={[st]:"auto.http.browser.inp",[fr]:`ui.interaction.${s}`,[qi]:n.duration},h=zh({name:u,transaction:d,attributes:f,startTime:i});h&&(h.addEvent("inp",{[ha]:"millisecond",[pa]:e.value}),h.end(i+t))};function NF(){const e=Object.keys(Qd);zc()&&e.forEach(s=>{ve.addEventListener(s,t,{capture:!0,passive:!0})});function t(s){const i=s.target;if(!i)return;const o=qt(i),a=Math.round(s.timeStamp);if(js.set(a,o),js.size>50){const c=js.keys().next().value;c!==void 0&&js.delete(c)}}function n(s){const i=Math.round(s.startTime);let o=js.get(i);if(!o)for(let a=-5;a<=5;a++){const c=js.get(i+a);if(c){o=c;break}}return o||"<unknown>"}const r=({entries:s})=>{const i=Tt(),o=i&&wt(i);s.forEach(a=>{if(!jD(a))return;const c=a.interactionId;if(c==null||vc.has(c))return;const l=a.target?qt(a.target):n(a);if(Bu.length>10){const d=Bu.shift();vc.delete(d)}Bu.push(c),vc.set(c,{span:o,elementName:l})})};Rs("event",r),Rs("first-input",r)}const DF=40;function FF(e,t=CE("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 IF("fetch"),c}finally{n-=o,r--}}return RO(e,s,Rh(e.bufferSize||DF))}const pn=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,$F=30,BF=50;function ef(e,t,n,r){const s={filename:e,function:t==="<anonymous>"?ks:t,in_app:!0};return n!==void 0&&(s.lineno=n),r!==void 0&&(s.colno=r),s}const HF=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,VF=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,UF=/\((\S*)(?::(\d+))(?::(\d+))\)/,WF=/at (.+?) ?\(data:(.+?),/,jF=e=>{const t=e.match(WF);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};const n=HF.exec(e);if(n){const[,s,i,o]=n;return ef(s,ks,+i,+o)}const r=VF.exec(e);if(r){if(r[2]&&r[2].indexOf("eval")===0){const a=UF.exec(r[2]);a&&(r[2]=a[1],r[3]=a[2],r[4]=a[3])}const[i,o]=AE(r[1]||ks,r[2]);return ef(o,i,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}},zF=[$F,jF],qF=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,GF=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,KF=e=>{const t=qF.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const i=GF.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]||ks;return[s,r]=AE(s,r),ef(r,s,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},YF=[BF,KF],XF=[zF,YF],JF=BS(...XF),AE=(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]:ks,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},Wa=1024,ZF="Breadcrumbs",QF=(e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:ZF,setup(n){t.console&&pL(r$(n)),t.dom&&wE(n$(n,t.dom)),t.xhr&&TE(s$(n)),t.fetch&&q0(i$(n)),t.history&&Fl(o$(n)),t.sentry&&n.on("beforeSendEvent",t$(n))}}},e$=QF;function t$(e){return function(n){Ce()===e&&Wr({category:`sentry.${n.type==="transaction"?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:as(n)},{event:n})}}function n$(e,t){return function(r){if(Ce()!==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>Wa&&(pn&&te.warn(`\`dom.maxStringLength\` cannot exceed ${Wa}, but a value of ${a} was configured. Sentry will use ${Wa} instead.`),a=Wa),typeof o=="string"&&(o=[o]);try{const l=r.event,d=a$(l)?l.target:l;s=qt(d,{keyAttrs:o,maxStringLength:a}),i=qS(d)}catch{s="<unknown>"}if(s.length===0)return;const c={category:`ui.${r.name}`,message:s};i&&(c.data={"ui.component_name":i}),Wr(c,{event:r.event,name:r.name,global:r.global})}}function r$(e){return function(n){if(Ce()!==e)return;const r={category:"console",data:{arguments:n.args,logger:"console"},level:U0(n.level),message:xg(n.args," ")};if(n.level==="assert")if(n.args[0]===!1)r.message=`Assertion failed: ${xg(n.args.slice(1)," ")||"console.assert"}`,r.data.arguments=n.args.slice(1);else return;Wr(r,{input:n.args,level:n.level})}}function s$(e){return function(n){if(Ce()!==e)return;const{startTimestamp:r,endTimestamp:s}=n,i=n.xhr[ds];if(!r||!s||!i)return;const{method:o,url:a,status_code:c,body:l}=i,d={method:o,url:a,status_code:c},u={xhr:n.xhr,input:l,startTimestamp:r,endTimestamp:s},f={category:"xhr",data:d,type:"http",level:z0(c)};e.emit("beforeOutgoingRequestBreadcrumb",f,u),Wr(f,u)}}function i$(e){return function(n){if(Ce()!==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),Wr(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:z0(o.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",c,a),Wr(c,a)}}}function o$(e){return function(n){if(Ce()!==e)return;let r=n.from,s=n.to;const i=Ss(Ae.location.href);let o=r?Ss(r):void 0;const a=Ss(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),Wr({category:"navigation",data:{from:r,to:s}})}}function a$(e){return!!e&&!!e.target}const c$=["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"],l$="BrowserApiErrors",u$=(e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:l$,setupOnce(){t.setTimeout&&Wt(Ae,"setTimeout",Dv),t.setInterval&&Wt(Ae,"setInterval",Dv),t.requestAnimationFrame&&Wt(Ae,"requestAnimationFrame",f$),t.XMLHttpRequest&&"XMLHttpRequest"in Ae&&Wt(XMLHttpRequest.prototype,"send",h$);const n=t.eventTarget;n&&(Array.isArray(n)?n:c$).forEach(s=>p$(s,t))}}},d$=u$;function Dv(e){return function(...t){const n=t[0];return t[0]=Ri(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${lr(e)}`}}),e.apply(this,t)}}function f$(e){return function(t){return e.apply(this,[Ri(t,{mechanism:{data:{handler:lr(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function h$(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(s=>{s in n&&typeof n[s]=="function"&&Wt(n,s,function(i){const o={mechanism:{data:{handler:lr(i)},handled:!1,type:`auto.browser.browserapierrors.xhr.${s}`}},a=vh(i);return a&&(o.mechanism.data.handler=lr(a)),Ri(i,o)})}),e.apply(this,t)}}function p$(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")&&(Wt(r,"addEventListener",function(o){return function(a,c,l){try{m$(c)&&(c.handleEvent=Ri(c.handleEvent,{mechanism:{data:{handler:lr(c),target:e},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return t.unregisterOriginalCallbacks&&g$(this,a,c),o.apply(this,[a,Ri(c,{mechanism:{data:{handler:lr(c),target:e},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),l])}}),Wt(r,"removeEventListener",function(o){return function(a,c,l){try{const d=c.__sentry_wrapped__;d&&o.call(this,a,d,l)}catch{}return o.call(this,a,c,l)}}))}function m$(e){return typeof e.handleEvent=="function"}function g$(e,t,n){e&&typeof e=="object"&&"removeEventListener"in e&&typeof e.removeEventListener=="function"&&e.removeEventListener(t,n)}const v$=(e={})=>{const t=e.lifecycle??"route";return{name:"BrowserSession",setupOnce(){if(typeof Ae.document>"u"){pn&&te.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}Yg({ignoreDuration:!0}),Iu();const n=$t();let r=n.getUser();n.addScopeListener(s=>{const i=s.getUser();((r==null?void 0:r.id)!==(i==null?void 0:i.id)||(r==null?void 0:r.ip_address)!==(i==null?void 0:i.ip_address))&&(Iu(),r=i)}),t==="route"&&Fl(({from:s,to:i})=>{s!==i&&(Yg({ignoreDuration:!0}),Iu())})}}},y$="CultureContext",_$=()=>({name:y$,preprocessEvent(e){var n;const t=S$();t&&(e.contexts={...e.contexts,culture:{...t,...(n=e.contexts)==null?void 0:n.culture}})}}),b$=_$;function S$(){try{const e=Ae.Intl;if(!e)return;const t=e.DateTimeFormat().resolvedOptions();return{locale:t.locale,timezone:t.timeZone,calendar:t.calendar}}catch{return}}const E$="GlobalHandlers",w$=(e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:E$,setupOnce(){Error.stackTraceLimit=50},setup(n){t.onerror&&(T$(n),Fv("onerror")),t.onunhandledrejection&&(k$(n),Fv("onunhandledrejection"))}}},C$=w$;function T$(e){VS(t=>{const{stackParser:n,attachStacktrace:r}=ME();if(Ce()!==e||oE())return;const{msg:s,url:i,line:o,column:a,error:c}=t,l=R$(Hh(n,c||s,void 0,r,!1),i,o,a);l.level="error",w0(l,{originalException:c,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}function k$(e){US(t=>{const{stackParser:n,attachStacktrace:r}=ME();if(Ce()!==e||oE())return;const s=I$(t),i=Ei(s)?x$(s):Hh(n,s,void 0,r,!0);i.level="error",w0(i,{originalException:s,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}function I$(e){if(Ei(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 x$(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function R$(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,d=n,u=A$(t)??Ls();return c.length===0&&c.push({colno:l,filename:u,function:ks,in_app:!0,lineno:d}),e}function Fv(e){pn&&te.log(`Global Handler attached: ${e}`)}function ME(){const e=Ce();return(e==null?void 0:e.getOptions())||{stackParser:()=>[],attachStacktrace:!1}}function A$(e){if(!(!tr(e)||e.length===0))return e.startsWith("data:")?`<${Dr(e,!1)}>`:e}const M$=()=>({name:"HttpContext",preprocessEvent(e){var r;if(!Ae.navigator&&!Ae.location&&!Ae.document)return;const t=Fh(),n={...t.headers,...(r=e.request)==null?void 0:r.headers};e.request={...t,...e.request,headers:n}}}),P$="cause",O$=5,L$="LinkedErrors",N$=(e={})=>{const t=e.limit||O$,n=e.key||P$;return{name:L$,preprocessEvent(r,s,i){const o=i.getOptions();hL($h,o.stackParser,n,t,r,s)}}},D$=N$;function F$(){return $$()?(pn&&br(()=>{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 $$(){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=Ls(),r=["chrome-extension","moz-extension","ms-browser-extension","safari-web-extension"];return!(Ae===Ae.top&&r.some(o=>n.startsWith(`${o}://`)))}function PE(e){return[iL(),tL(),CL(),d$(),e$(),C$(),D$(),yL(),M$(),b$(),v$()]}function B$(e={}){const t=!e.skipBrowserExtensionCheck&&F$();let n=e.defaultIntegrations==null?PE():e.defaultIntegrations;const r={...e,enabled:t?!1:e.enabled,stackParser:iM(e.stackParser||JF),integrations:yO({integrations:e.integrations,defaultIntegrations:n}),transport:e.transport||FF};return HO(vD,r)}const Ye=xe,qh="sentryReplaySession",H$="replay_event",Gh="Unable to send Replay",V$=3e5,U$=9e5,W$=5e3,j$=5500,z$=6e4,q$=5e3,G$=3,$v=15e4,ja=5e3,K$=3e3,Y$=300,Kh=2e7,X$=4999,J$=5e4,Bv=36e5;var Z$=Object.defineProperty,Q$=(e,t,n)=>t in e?Z$(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Hv=(e,t,n)=>Q$(e,typeof t!="symbol"?t+"":t,n),ut=(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))(ut||{});function eB(e){return e.nodeType===e.ELEMENT_NODE}function Co(e){const t=e==null?void 0:e.host;return(t==null?void 0:t.shadowRoot)===e}function To(e){return Object.prototype.toString.call(e)==="[object ShadowRoot]"}function tB(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 nB(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 Jc(e){try{const t=e.rules||e.cssRules;return t?tB(Array.from(t,OE).join("")):null}catch{return null}}function rB(e){let t="";for(let n=0;n<e.style.length;n++){const r=e.style,s=r[n],i=r.getPropertyPriority(s);t+=`${s}:${r.getPropertyValue(s)}${i?" !important":""};`}return`${e.selectorText} { ${t} }`}function OE(e){let t;if(iB(e))try{t=Jc(e.styleSheet)||nB(e)}catch{}else if(oB(e)){let n=e.cssText;const r=e.selectorText.includes(":"),s=typeof e.style.all=="string"&&e.style.all;if(s&&(n=rB(e)),r&&(n=sB(n)),r||s)return n}return t||e.cssText}function sB(e){const t=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(t,"$1\\$2")}function iB(e){return"styleSheet"in e}function oB(e){return"selectorText"in e}class LE{constructor(){Hv(this,"idNodeMap",new Map),Hv(this,"nodeMetaMap",new WeakMap)}getId(t){var r;return t?((r=this.getMeta(t))==null?void 0:r.id)??-1:-1}getNode(t){return this.idNodeMap.get(t)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(t){return this.nodeMetaMap.get(t)||null}removeNodeFromMap(t){const n=this.getId(t);this.idNodeMap.delete(n),t.childNodes&&t.childNodes.forEach(r=>this.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 aB(){return new LE}function $l({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 Yo({isMasked:e,element:t,value:n,maskInputFn:r}){let s=n||"";return e?(r&&(s=r(s,t)),"*".repeat(s.length)):s}function Ai(e){return e.toLowerCase()}function tf(e){return e.toUpperCase()}const Vv="__rrweb_original__";function cB(e){const t=e.getContext("2d");if(!t)return!0;const n=50;for(let r=0;r<e.width;r+=n)for(let s=0;s<e.height;s+=n){const i=t.getImageData,o=Vv in i?i[Vv]:i;if(new Uint32Array(o.call(t,r,s,Math.min(n,e.width-r),Math.min(n,e.height-s)).data.buffer).some(c=>c!==0))return!1}return!0}function Yh(e){const t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?Ai(t):null}function Zc(e,t,n){return t==="INPUT"&&(n==="radio"||n==="checkbox")?e.getAttribute("value")||"":e.value}function NE(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 Uv={};function DE(e){const t=Uv[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 Uv[e]=r.bind(window)}function nf(...e){return DE("setTimeout")(...e)}function FE(...e){return DE("clearTimeout")(...e)}function $E(e){try{return e.contentDocument}catch{}}let lB=1;const uB=new RegExp("[^a-z0-9-_:]"),Xo=-2;function Xh(){return lB++}function dB(e){if(e instanceof HTMLFormElement)return"form";const t=Ai(e.tagName);return uB.test(t)?"div":t}function fB(e){let t="";return e.indexOf("//")>-1?t=e.split("/").slice(0,3).join("/"):t=e.split("/")[0],t=t.split("?")[0],t}let zs,Wv;const hB=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,pB=/^(?:[a-z+]+:)?\/\//i,mB=/^www\..*/i,gB=/^(data:)([^,]*),(.*)/i;function vB(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 Qc(e,t){return(e||"").replace(hB,(n,r,s,i,o,a)=>{const c=s||o||a,l=r||i||"";if(!c)return n;if(pB.test(c)||mB.test(c))return`url(${l}${c}${l})`;if(gB.test(c))return`url(${l}${c}${l})`;if(c[0]==="/")return`url(${l}${fB(t)+c}${l})`;const d=t.split("/"),u=c.split("/");d.pop();for(const f of u)f!=="."&&(f===".."?d.pop():d.push(f));return`url(${l}${d.join("/")}${l})`})}const yB=/^[^ \t\n\r\u000c]+/,_B=/^[, \t\n\r\u000c]+/;function bB(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(_B),!(n>=t.length);){let i=r(yB);if(i.slice(-1)===",")i=ti(e,i.substring(0,i.length-1)),s.push(i);else{let o="";i=ti(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 jv=new WeakMap;function ti(e,t){return!t||t.trim()===""?t:Bl(e,t)}function SB(e){return!!(e.tagName==="svg"||e.ownerSVGElement)}function Bl(e,t){let n=jv.get(e);if(n||(n=e.createElement("a"),jv.set(e,n)),!t)t="";else if(t.startsWith("blob:")||t.startsWith("data:"))return t;return n.setAttribute("href",t),n.href}function BE(e,t,n,r,s,i,o){if(!r)return r;if(n==="src"||n==="href"&&!(t==="use"&&r[0]==="#"))return ti(e,r);if(n==="xlink:href"&&r[0]!=="#")return ti(e,r);if(n==="background"&&(t==="table"||t==="td"||t==="th"))return ti(e,r);if(n==="srcset")return bB(e,r);if(n==="style"){let a=Qc(r,Bl(e));return o&&o.size>0&&(a=vB(a,o)),a}else if(t==="object"&&n==="data")return ti(e,r);return typeof i=="function"?i(n,r,s):r}function HE(e,t,n){return(e==="video"||e==="audio")&&t==="autoplay"}function EB(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 wB(e,t){for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}return!1}function fs(e,t,n=1/0,r=0){return!e||e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:fs(e.parentNode,t,n,r+1)}function ni(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(wB(r,e))return!0}return!!(t&&r.matches(t))}catch{return!1}}}function Mi(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=fs(o,ni(r,s)),c<0)return!0;a=fs(o,ni(t,n),c>=0?c:1/0)}else{if(a=fs(o,ni(t,n)),a<0)return!1;c=fs(o,ni(r,s),a>=0?a:1/0)}return a>=0?c>=0?a<=c:!0:c>=0?!1:!!i}catch{}return!!i}function CB(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=nf(()=>{s||(t(),s=!0)},n);e.addEventListener("load",()=>{FE(a),s=!0,t()});return}const o="about:blank";if(r.location.href!==o||e.src===o||e.src==="")return nf(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}function TB(e,t,n){let r=!1,s;try{s=e.sheet}catch{return}if(s)return;const i=nf(()=>{r||(t(),r=!0)},n);e.addEventListener("load",()=>{FE(i),r=!0,t()})}function kB(e,t){const{doc:n,mirror:r,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:a,maskAttributeFn:c,maskTextClass:l,unmaskTextClass:d,maskTextSelector:u,unmaskTextSelector:f,inlineStylesheet:h,maskInputOptions:p={},maskTextFn:m,maskInputFn:v,dataURLOptions:g={},inlineImages:y,recordCanvas:C,keepIframeSrcFn:w,newlyAddedElement:I=!1,ignoreCSSAttributes:x}=t,S=IB(n,r);switch(e.nodeType){case e.DOCUMENT_NODE:return e.compatMode!=="CSS1Compat"?{type:ut.Document,childNodes:[],compatMode:e.compatMode}:{type:ut.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:ut.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:S};case e.ELEMENT_NODE:return RB(e,{doc:n,blockClass:s,blockSelector:i,unblockSelector:o,inlineStylesheet:h,maskAttributeFn:c,maskInputOptions:p,maskInputFn:v,dataURLOptions:g,inlineImages:y,recordCanvas:C,keepIframeSrcFn:w,newlyAddedElement:I,rootId:S,maskTextClass:l,unmaskTextClass:d,maskTextSelector:u,unmaskTextSelector:f,ignoreCSSAttributes:x});case e.TEXT_NODE:return xB(e,{doc:n,maskAllText:a,maskTextClass:l,unmaskTextClass:d,maskTextSelector:u,unmaskTextSelector:f,maskTextFn:m,maskInputOptions:p,maskInputFn:v,rootId:S});case e.CDATA_SECTION_NODE:return{type:ut.CDATA,textContent:"",rootId:S};case e.COMMENT_NODE:return{type:ut.Comment,textContent:e.textContent||"",rootId:S};default:return!1}}function IB(e,t){if(!t.hasNode(e))return;const n=t.getId(e);return n===1?void 0:n}function xB(e,t){var g;const{maskAllText:n,maskTextClass:r,unmaskTextClass:s,maskTextSelector:i,unmaskTextSelector:o,maskTextFn:a,maskInputOptions:c,maskInputFn:l,rootId:d}=t,u=e.parentNode&&e.parentNode.tagName;let f=e.textContent;const h=u==="STYLE"?!0:void 0,p=u==="SCRIPT"?!0:void 0,m=u==="TEXTAREA"?!0:void 0;if(h&&f){try{e.nextSibling||e.previousSibling||(g=e.parentNode.sheet)!=null&&g.cssRules&&(f=Jc(e.parentNode.sheet))}catch(y){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${y}`,e)}f=Qc(f,Bl(t.doc))}p&&(f="SCRIPT_PLACEHOLDER");const v=Mi(e,r,i,s,o,n);if(!h&&!p&&!m&&f&&v&&(f=a?a(f,e.parentElement):f.replace(/[\S]/g,"*")),m&&f&&(c.textarea||v)&&(f=l?l(f,e.parentNode):f.replace(/[\S]/g,"*")),u==="OPTION"&&f){const y=$l({type:null,tagName:u,maskInputOptions:c});f=Yo({isMasked:Mi(e,r,i,s,o,y),element:e,value:f,maskInputFn:l})}return{type:ut.Text,textContent:f||"",isStyle:h,rootId:d}}function RB(e,t){const{doc:n,blockClass:r,blockSelector:s,unblockSelector:i,inlineStylesheet:o,maskInputOptions:a={},maskAttributeFn:c,maskInputFn:l,dataURLOptions:d={},inlineImages:u,recordCanvas:f,keepIframeSrcFn:h,newlyAddedElement:p=!1,rootId:m,maskTextClass:v,unmaskTextClass:g,maskTextSelector:y,unmaskTextSelector:C,ignoreCSSAttributes:w}=t,I=EB(e,r,s,i),x=dB(e);let S={};const b=e.attributes.length;for(let R=0;R<b;R++){const M=e.attributes[R];M.name&&!HE(x,M.name,M.value)&&(S[M.name]=BE(n,x,Ai(M.name),M.value,e,c,w))}if(x==="link"&&o){const R=Array.from(n.styleSheets).find(T=>T.href===e.href);let M=null;R&&(M=Jc(R)),M&&(S.rel=null,S.href=null,S.crossorigin=null,S._cssText=Qc(M,R.href))}if(x==="style"&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){const R=Jc(e.sheet);R&&(S._cssText=Qc(R,Bl(n)))}if(x==="input"||x==="textarea"||x==="select"||x==="option"){const R=e,M=Yh(R),T=Zc(R,tf(x),M),O=R.checked;if(M!=="submit"&&M!=="button"&&T){const $=Mi(R,v,y,g,C,$l({type:M,tagName:tf(x),maskInputOptions:a}));S.value=Yo({isMasked:$,element:R,value:T,maskInputFn:l})}O&&(S.checked=O)}if(x==="option"&&(e.selected&&!a.select?S.selected=!0:delete S.selected),x==="canvas"&&f){if(e.__context==="2d")cB(e)||(S.rr_dataURL=e.toDataURL(d.type,d.quality));else if(!("__context"in e)){const R=e.toDataURL(d.type,d.quality),M=n.createElement("canvas");M.width=e.width,M.height=e.height;const T=M.toDataURL(d.type,d.quality);R!==T&&(S.rr_dataURL=R)}}if(x==="img"&&u){zs||(zs=n.createElement("canvas"),Wv=zs.getContext("2d"));const R=e,M=R.currentSrc||R.getAttribute("src")||"<unknown-src>",T=R.crossOrigin,O=()=>{R.removeEventListener("load",O);try{zs.width=R.naturalWidth,zs.height=R.naturalHeight,Wv.drawImage(R,0,0),S.rr_dataURL=zs.toDataURL(d.type,d.quality)}catch($){if(R.crossOrigin!=="anonymous"){R.crossOrigin="anonymous",R.complete&&R.naturalWidth!==0?O():R.addEventListener("load",O);return}else console.warn(`Cannot inline img src=${M}! Error: ${$}`)}R.crossOrigin==="anonymous"&&(T?S.crossOrigin=T:R.removeAttribute("crossorigin"))};R.complete&&R.naturalWidth!==0?O():R.addEventListener("load",O)}if((x==="audio"||x==="video")&&(S.rr_mediaState=e.paused?"paused":"played",S.rr_mediaCurrentTime=e.currentTime),p||(e.scrollLeft&&(S.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(S.rr_scrollTop=e.scrollTop)),I){const{width:R,height:M}=e.getBoundingClientRect();S={class:S.class,rr_width:`${R}px`,rr_height:`${M}px`}}x==="iframe"&&!h(S.src)&&(!I&&!$E(e)&&(S.rr_src=S.src),delete S.src);let k;try{customElements.get(x)&&(k=!0)}catch{}return{type:ut.Element,tagName:x,attributes:S,childNodes:[],isSVG:SB(e)||void 0,needBlock:I,rootId:m,isCustom:k}}function Ge(e){return e==null?"":e.toLowerCase()}function AB(e,t){if(t.comment&&e.type===ut.Comment)return!0;if(e.type===ut.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"&&NE(e.attributes.href)==="js"))return!0;if(t.headFavicon&&(e.tagName==="link"&&e.attributes.rel==="shortcut icon"||e.tagName==="meta"&&(Ge(e.attributes.name).match(/^msapplication-tile(image|color)$/)||Ge(e.attributes.name)==="application-name"||Ge(e.attributes.rel)==="icon"||Ge(e.attributes.rel)==="apple-touch-icon"||Ge(e.attributes.rel)==="shortcut icon")))return!0;if(e.tagName==="meta"){if(t.headMetaDescKeywords&&Ge(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(Ge(e.attributes.property).match(/^(og|twitter|fb):/)||Ge(e.attributes.name).match(/^(og|twitter):/)||Ge(e.attributes.name)==="pinterest"))return!0;if(t.headMetaRobots&&(Ge(e.attributes.name)==="robots"||Ge(e.attributes.name)==="googlebot"||Ge(e.attributes.name)==="bingbot"))return!0;if(t.headMetaHttpEquiv&&e.attributes["http-equiv"]!==void 0)return!0;if(t.headMetaAuthorship&&(Ge(e.attributes.name)==="author"||Ge(e.attributes.name)==="generator"||Ge(e.attributes.name)==="framework"||Ge(e.attributes.name)==="publisher"||Ge(e.attributes.name)==="progid"||Ge(e.attributes.property).match(/^article:/)||Ge(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&(Ge(e.attributes.name)==="google-site-verification"||Ge(e.attributes.name)==="yandex-verification"||Ge(e.attributes.name)==="csrf-token"||Ge(e.attributes.name)==="p:domain_verify"||Ge(e.attributes.name)==="verify-v1"||Ge(e.attributes.name)==="verification"||Ge(e.attributes.name)==="shopify-checkout-api-token"))return!0}}return!1}function ri(e,t){const{doc:n,mirror:r,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:a,maskTextClass:c,unmaskTextClass:l,maskTextSelector:d,unmaskTextSelector:u,skipChild:f=!1,inlineStylesheet:h=!0,maskInputOptions:p={},maskAttributeFn:m,maskTextFn:v,maskInputFn:g,slimDOMOptions:y,dataURLOptions:C={},inlineImages:w=!1,recordCanvas:I=!1,onSerialize:x,onIframeLoad:S,iframeLoadTimeout:b=5e3,onBlockedImageLoad:k,onStylesheetLoad:R,stylesheetLoadTimeout:M=5e3,keepIframeSrcFn:T=()=>!1,newlyAddedElement:O=!1,ignoreCSSAttributes:$}=t;let{preserveWhiteSpace:K=!0}=t;const Z=kB(e,{doc:n,mirror:r,blockClass:s,blockSelector:i,maskAllText:a,unblockSelector:o,maskTextClass:c,unmaskTextClass:l,maskTextSelector:d,unmaskTextSelector:u,inlineStylesheet:h,maskInputOptions:p,maskAttributeFn:m,maskTextFn:v,maskInputFn:g,dataURLOptions:C,inlineImages:w,recordCanvas:I,keepIframeSrcFn:T,newlyAddedElement:O,ignoreCSSAttributes:$});if(!Z)return console.warn(e,"not serialized"),null;let z;r.hasNode(e)?z=r.getId(e):AB(Z,y)||!K&&Z.type===ut.Text&&!Z.isStyle&&!Z.textContent.replace(/^\s+|\s+$/gm,"").length?z=Xo:z=Xh();const N=Object.assign(Z,{id:z});if(r.add(e,N),z===Xo)return null;x&&x(e);let oe=!f;if(N.type===ut.Element){oe=oe&&!N.needBlock;const U=e.shadowRoot;U&&To(U)&&(N.isShadowHost=!0)}if((N.type===ut.Document||N.type===ut.Element)&&oe){y.headWhitespace&&N.type===ut.Element&&N.tagName==="head"&&(K=!1);const U={doc:n,mirror:r,blockClass:s,blockSelector:i,maskAllText:a,unblockSelector:o,maskTextClass:c,unmaskTextClass:l,maskTextSelector:d,unmaskTextSelector:u,skipChild:f,inlineStylesheet:h,maskInputOptions:p,maskAttributeFn:m,maskTextFn:v,maskInputFn:g,slimDOMOptions:y,dataURLOptions:C,inlineImages:w,recordCanvas:I,preserveWhiteSpace:K,onSerialize:x,onIframeLoad:S,iframeLoadTimeout:b,onBlockedImageLoad:k,onStylesheetLoad:R,stylesheetLoadTimeout:M,keepIframeSrcFn:T,ignoreCSSAttributes:$},J=e.childNodes?Array.from(e.childNodes):[];for(const re of J){const ie=ri(re,U);ie&&N.childNodes.push(ie)}if(eB(e)&&e.shadowRoot)for(const re of Array.from(e.shadowRoot.childNodes)){const ie=ri(re,U);ie&&(To(e.shadowRoot)&&(ie.isShadow=!0),N.childNodes.push(ie))}}if(e.parentNode&&Co(e.parentNode)&&To(e.parentNode)&&(N.isShadow=!0),N.type===ut.Element&&N.tagName==="iframe"&&!N.needBlock&&CB(e,()=>{const U=$E(e);if(U&&S){const J=ri(U,{doc:U,mirror:r,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:a,maskTextClass:c,unmaskTextClass:l,maskTextSelector:d,unmaskTextSelector:u,skipChild:!1,inlineStylesheet:h,maskInputOptions:p,maskAttributeFn:m,maskTextFn:v,maskInputFn:g,slimDOMOptions:y,dataURLOptions:C,inlineImages:w,recordCanvas:I,preserveWhiteSpace:K,onSerialize:x,onIframeLoad:S,iframeLoadTimeout:b,onStylesheetLoad:R,stylesheetLoadTimeout:M,keepIframeSrcFn:T,ignoreCSSAttributes:$});J&&S(e,J)}},b),N.type===ut.Element&&N.tagName==="img"&&!e.complete&&N.needBlock){const U=e,J=()=>{if(U.isConnected&&!U.complete&&k)try{const re=U.getBoundingClientRect();re.width>0&&re.height>0&&k(U,N,re)}catch{}U.removeEventListener("load",J)};U.isConnected&&U.addEventListener("load",J)}return N.type===ut.Element&&N.tagName==="link"&&typeof N.attributes.rel=="string"&&(N.attributes.rel==="stylesheet"||N.attributes.rel==="preload"&&typeof N.attributes.href=="string"&&NE(N.attributes.href)==="css")&&TB(e,()=>{if(R){const U=ri(e,{doc:n,mirror:r,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:a,maskTextClass:c,unmaskTextClass:l,maskTextSelector:d,unmaskTextSelector:u,skipChild:!1,inlineStylesheet:h,maskInputOptions:p,maskAttributeFn:m,maskTextFn:v,maskInputFn:g,slimDOMOptions:y,dataURLOptions:C,inlineImages:w,recordCanvas:I,preserveWhiteSpace:K,onSerialize:x,onIframeLoad:S,iframeLoadTimeout:b,onStylesheetLoad:R,stylesheetLoadTimeout:M,keepIframeSrcFn:T,ignoreCSSAttributes:$});U&&R(e,U)}},M),N.type===ut.Element&&delete N.needBlock,N}function MB(e,t){const{mirror:n=new LE,blockClass:r="rr-block",blockSelector:s=null,unblockSelector:i=null,maskAllText:o=!1,maskTextClass:a="rr-mask",unmaskTextClass:c=null,maskTextSelector:l=null,unmaskTextSelector:d=null,inlineStylesheet:u=!0,inlineImages:f=!1,recordCanvas:h=!1,maskAllInputs:p=!1,maskAttributeFn:m,maskTextFn:v,maskInputFn:g,slimDOM:y=!1,dataURLOptions:C,preserveWhiteSpace:w,onSerialize:I,onIframeLoad:x,iframeLoadTimeout:S,onBlockedImageLoad:b,onStylesheetLoad:k,stylesheetLoadTimeout:R,keepIframeSrcFn:M=()=>!1,ignoreCSSAttributes:T=new Set([])}=t||{};return ri(e,{doc:e,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,maskAllText:o,maskTextClass:a,unmaskTextClass:c,maskTextSelector:l,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:u,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:v,maskInputFn:g,slimDOMOptions:y===!0||y==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:y==="all",headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:y===!1?{}:y,dataURLOptions:C,inlineImages:f,recordCanvas:h,preserveWhiteSpace:w,onSerialize:I,onIframeLoad:x,iframeLoadTimeout:S,onBlockedImageLoad:b,onStylesheetLoad:k,stylesheetLoadTimeout:R,keepIframeSrcFn:M,newlyAddedElement:!1,ignoreCSSAttributes:T})}function Ft(e,t,n=document){const r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}const Xs=`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 zv={map:{},getId(){return console.error(Xs),-1},getNode(){return console.error(Xs),null},removeNodeFromMap(){console.error(Xs)},has(){return console.error(Xs),!1},reset(){console.error(Xs)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(zv=new Proxy(zv,{get(e,t,n){return t==="map"&&console.error(Xs),Reflect.get(e,t,n)}}));function Jo(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&&($B(r),r=null),s=o,e.apply(c,i)):!r&&n.trailing!==!1&&(r=Hl(()=>{s=n.leading===!1?0:Date.now(),r=null,e.apply(c,i)},a))}}function VE(e,t,n,r,s=window){const i=s.Object.getOwnPropertyDescriptor(e,t);return s.Object.defineProperty(e,t,r?n:{set(o){Hl(()=>{n.set.call(this,o)},0),i&&i.set&&i.set.call(this,o)}}),()=>VE(e,t,i||{},!0)}function Jh(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 el=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(el=()=>new Date().getTime());function UE(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 WE(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function jE(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function zE(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch{return null}}function Xt(e,t,n,r,s){if(!e)return!1;const i=zE(e);if(!i)return!1;const o=ni(t,n);if(!s){const l=r&&i.matches(r);return o(i)&&!l}const a=fs(i,o);let c=-1;return a<0?!1:(r&&(c=fs(i,ni(null,r))),a>-1&&c<0?!0:a<c)}function PB(e,t){return t.getId(e)!==-1}function Hu(e,t){return t.getId(e)===Xo}function qE(e,t){if(Co(e))return!1;const n=t.getId(e);return t.has(n)?e.parentNode&&e.parentNode.nodeType===e.DOCUMENT_NODE?!1:e.parentNode?qE(e.parentNode,t):!0:!0}function rf(e){return!!e.changedTouches}function OB(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...t)=>{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 GE(e,t){return!!(e.nodeName==="IFRAME"&&t.getMeta(e))}function KE(e,t){return!!(e.nodeName==="LINK"&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&e.getAttribute("rel")==="stylesheet"&&t.getMeta(e))}function sf(e){return!!(e!=null&&e.shadowRoot)}class LB{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 YE(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 NB(e){let t=e,n;for(;n=YE(t);)t=n;return t}function DB(e){const t=e.ownerDocument;if(!t)return!1;const n=NB(e);return t.contains(n)}function XE(e){const t=e.ownerDocument;return t?t.contains(e)||DB(e):!1}const qv={};function Zh(e){const t=qv[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 qv[e]=r.bind(window)}function FB(...e){return Zh("requestAnimationFrame")(...e)}function Hl(...e){return Zh("setTimeout")(...e)}function $B(...e){return Zh("clearTimeout")(...e)}var Te=(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))(Te||{}),_e=(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))(_e||{}),Lt=(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))(Lt||{}),Yn=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(Yn||{}),Js=(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))(Js||{});function Qh(e){try{return e.contentDocument}catch{}}function BB(e){try{return e.contentWindow}catch{}}function Gv(e){return"__ln"in e}class HB{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<t;r++)n=(n==null?void 0:n.next)||null;return n}addNode(t){const n={value:t,previous:null,next:null};if(t.__ln=n,t.previousSibling&&Gv(t.previousSibling)){const r=t.previousSibling.__ln.next;n.next=r,n.previous=t.previousSibling.__ln,t.previousSibling.__ln.next=n,r&&(r.previous=n)}else if(t.nextSibling&&Gv(t.nextSibling)&&t.nextSibling.__ln.previous){const r=t.nextSibling.__ln.previous;n.previous=r,n.next=t.nextSibling.__ln,t.nextSibling.__ln.previous=n,r&&(r.next=n)}else this.head&&(this.head.previous=n),n.next=this.head,this.head=n;n.next===null&&(this.tail=n),this.length++}removeNode(t){const n=t.__ln;this.head&&(n.previous?(n.previous.next=n.next,n.next?n.next.previous=n.previous:this.tail=n.previous):(this.head=n.next,this.head?this.head.previous=null:this.tail=null),t.__ln&&delete t.__ln,this.length--)}}const Kv=(e,t)=>`${e}@${t}`;class VB{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 HB,s=c=>{let l=c,d=Xo;for(;d===Xo;)l=l&&l.nextSibling,d=l&&this.mirror.getId(l);return d},i=c=>{if(!c.parentNode||!XE(c))return;const l=Co(c.parentNode)?this.mirror.getId(YE(c)):this.mirror.getId(c.parentNode),d=s(c);if(l===-1||d===-1)return r.addNode(c);const u=ri(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:f=>{GE(f,this.mirror)&&!Xt(f,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&this.iframeManager.addIframe(f),KE(f,this.mirror)&&this.stylesheetManager.trackLinkElement(f),sf(c)&&this.shadowDomManager.addShadowRoot(c.shadowRoot,this.doc)},onIframeLoad:(f,h)=>{Xt(f,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(this.iframeManager.attachIframe(f,h),f.contentWindow&&this.canvasManager.addWindow(f.contentWindow),this.shadowDomManager.observeAttachShadow(f))},onStylesheetLoad:(f,h)=>{this.stylesheetManager.attachLinkElement(f,h)},onBlockedImageLoad:(f,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});u&&(t.push({parentId:l,nextId:d,node:u}),n.add(u.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const c of this.movedSet)Yv(this.removes,c,this.mirror)&&!this.movedSet.has(c.parentNode)||i(c);for(const c of this.addedSet)!Xv(this.droppedSet,c)&&!Yv(this.removes,c,this.mirror)||Xv(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),d=s(o.value);l!==-1&&d!==-1&&(c=o)}if(!c){let l=r.tail;for(;l;){const d=l;if(l=l.previous,d){const u=this.mirror.getId(d.value.parentNode);if(s(d.value)===-1)continue;if(u!==-1){c=d;break}else{const h=d.value;if(h.parentNode&&h.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const p=h.parentNode.host;if(this.mirror.getId(p)!==-1){c=d;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 d=JSON.stringify(c.styleDiff),u=JSON.stringify(c._unchangedStyles);d.length<l.style.length&&(d+u).split("var(").length===l.style.split("var(").length&&(l.style=c.styleDiff)}return{id:this.mirror.getId(c.node),attributes:l}}).filter(c=>!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(!Hu(t.target,this.mirror))switch(t.type){case"characterData":{const n=t.target.textContent;!Xt(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&n!==t.oldValue&&this.texts.push({value:Mi(t.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&n?this.maskTextFn?this.maskTextFn(n,zE(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=Yh(n),a=n.tagName;s=Zc(n,a,o);const c=$l({maskInputOptions:this.maskInputOptions,tagName:a,type:o}),l=Mi(t.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,c);s=Yo({isMasked:l,element:n,value:s,maskInputFn:this.maskInputFn})}if(Xt(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(!Qh(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"),!HE(n.tagName,r)&&(i.attributes[r]=BE(this.doc,Ai(n.tagName),Ai(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(Xt(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=Co(t.target)?this.mirror.getId(t.target.host):this.mirror.getId(t.target);Xt(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||Hu(n,this.mirror)||!PB(n,this.mirror)||(this.addedSet.has(n)?(of(this.addedSet,n),this.droppedSet.add(n)):this.addedSet.has(t.target)&&r===-1||qE(t.target,this.mirror)||(this.movedSet.has(n)&&this.movedMap[Kv(r,s)]?of(this.movedSet,n):this.removes.push({parentId:s,id:r,isShadow:Co(t.target)&&To(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(Hu(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[Kv(this.mirror.getId(t),r)]=!0)}else this.addedSet.add(t),this.droppedSet.delete(t);Xt(t,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(t.childNodes&&t.childNodes.forEach(r=>this.genAdds(r)),sf(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 of(e,t){var n;e.delete(t),(n=t.childNodes)==null||n.forEach(r=>of(e,r))}function Yv(e,t,n){return e.length===0?!1:UB(e,t,n)}function UB(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 Xv(e,t){return e.size===0?!1:JE(e,t)}function JE(e,t){const{parentNode:n}=t;return n?e.has(n)?!0:JE(e,n):!1}let ko;function WB(e){ko=e}function jB(){ko=void 0}const Pe=e=>ko?(...n)=>{try{return e(...n)}catch(r){if(ko&&ko(r)===!0)return()=>{};throw r}}:e,si=[];function Ta(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 ZE(e,t){var o,a;const n=new VB;si.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(Pe(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 zB({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=Jo(Pe(u=>{const f=Date.now()-a;e(o.map(h=>(h.timeOffset-=f,h)),u),o=[],a=null}),i),l=Pe(Jo(Pe(u=>{const f=Ta(u),{clientX:h,clientY:p}=rf(u)?u.changedTouches[0]:u;a||(a=el()),o.push({x:h,y:p,id:r.getId(f),timeOffset:el()-a}),c(typeof DragEvent<"u"&&u instanceof DragEvent?_e.Drag:u instanceof MouseEvent?_e.MouseMove:_e.TouchMove)}),s,{trailing:!1})),d=[Ft("mousemove",l,n),Ft("touchmove",l,n),Ft("drag",l,n)];return Pe(()=>{d.forEach(u=>u())})}function qB({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 d=u=>f=>{const h=Ta(f);if(Xt(h,r,s,i,!0))return;let p=null,m=u;if("pointerType"in f){switch(f.pointerType){case"mouse":p=Yn.Mouse;break;case"touch":p=Yn.Touch;break;case"pen":p=Yn.Pen;break}p===Yn.Touch?Lt[u]===Lt.MouseDown?m="TouchStart":Lt[u]===Lt.MouseUp&&(m="TouchEnd"):Yn.Pen}else rf(f)&&(p=Yn.Touch);p!==null?(l=p,(m.startsWith("Touch")&&p===Yn.Touch||m.startsWith("Mouse")&&p===Yn.Mouse)&&(p=null)):Lt[u]===Lt.Click&&(p=l,l=null);const v=rf(f)?f.changedTouches[0]:f;if(!v)return;const g=n.getId(h),{clientX:y,clientY:C}=v;Pe(e)({type:Lt[m],id:g,x:y,y:C,...p!==null&&{pointerType:p}})};return Object.keys(Lt).filter(u=>Number.isNaN(Number(u))&&!u.endsWith("_Departed")&&a[u]!==!1).forEach(u=>{let f=Ai(u);const h=d(u);if(window.PointerEvent)switch(Lt[u]){case Lt.MouseDown:case Lt.MouseUp:f=f.replace("mouse","pointer");break;case Lt.TouchStart:case Lt.TouchEnd:return}c.push(Ft(f,h,t))}),Pe(()=>{c.forEach(u=>u())})}function QE({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,sampling:o}){const a=Pe(Jo(Pe(c=>{const l=Ta(c);if(!l||Xt(l,r,s,i,!0))return;const d=n.getId(l);if(l===t&&t.defaultView){const u=UE(t.defaultView);e({id:d,x:u.left,y:u.top})}else e({id:d,x:l.scrollLeft,y:l.scrollTop})}),o.scroll||100));return Ft("scroll",a,t)}function GB({viewportResizeCb:e},{win:t}){let n=-1,r=-1;const s=Pe(Jo(Pe(()=>{const i=WE(),o=jE();(n!==i||r!==o)&&(e({width:Number(o),height:Number(i)}),n=i,r=o)}),200));return Ft("resize",s,t)}const KB=["INPUT","TEXTAREA","SELECT"],Jv=new WeakMap;function YB({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,ignoreClass:o,ignoreSelector:a,maskInputOptions:c,maskInputFn:l,sampling:d,userTriggeredOnInput:u,maskTextClass:f,unmaskTextClass:h,maskTextSelector:p,unmaskTextSelector:m}){function v(S){let b=Ta(S);const k=S.isTrusted,R=b&&tf(b.tagName);if(R==="OPTION"&&(b=b.parentElement),!b||!R||KB.indexOf(R)<0||Xt(b,r,s,i,!0))return;const M=b;if(M.classList.contains(o)||a&&M.matches(a))return;const T=Yh(b);let O=Zc(M,R,T),$=!1;const K=$l({maskInputOptions:c,tagName:R,type:T}),Z=Mi(b,f,p,h,m,K);(T==="radio"||T==="checkbox")&&($=b.checked),O=Yo({isMasked:Z,element:b,value:O,maskInputFn:l}),g(b,u?{text:O,isChecked:$,userTriggered:k}:{text:O,isChecked:$});const z=b.name;T==="radio"&&z&&$&&t.querySelectorAll(`input[type="radio"][name="${z}"]`).forEach(N=>{if(N!==b){const oe=Yo({isMasked:Z,element:N,value:Zc(N,R,T),maskInputFn:l});g(N,u?{text:oe,isChecked:!$,userTriggered:!1}:{text:oe,isChecked:!$})}})}function g(S,b){const k=Jv.get(S);if(!k||k.text!==b.text||k.isChecked!==b.isChecked){Jv.set(S,b);const R=n.getId(S);Pe(e)({...b,id:R})}}const C=(d.input==="last"?["change"]:["input","change"]).map(S=>Ft(S,Pe(v),t)),w=t.defaultView;if(!w)return()=>{C.forEach(S=>S())};const I=w.Object.getOwnPropertyDescriptor(w.HTMLInputElement.prototype,"value"),x=[[w.HTMLInputElement.prototype,"value"],[w.HTMLInputElement.prototype,"checked"],[w.HTMLSelectElement.prototype,"value"],[w.HTMLTextAreaElement.prototype,"value"],[w.HTMLSelectElement.prototype,"selectedIndex"],[w.HTMLOptionElement.prototype,"selected"]];return I&&I.set&&C.push(...x.map(S=>VE(S[0],S[1],{set(){Pe(v)({target:this,isTrusted:!1})}},!1,w))),Pe(()=>{C.forEach(S=>S())})}function tl(e){const t=[];function n(r,s){if(za("CSSGroupingRule")&&r.parentRule instanceof CSSGroupingRule||za("CSSMediaRule")&&r.parentRule instanceof CSSMediaRule||za("CSSSupportsRule")&&r.parentRule instanceof CSSSupportsRule||za("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 Mr(e,t,n){let r,s;return e?(e.ownerNode?r=t.getId(e.ownerNode):s=n.getId(e),{styleId:s,id:r}):{}}function XB({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:Pe((d,u,f)=>{const[h,p]=f,{id:m,styleId:v}=Mr(u,t,n.styleMirror);return(m&&m!==-1||v&&v!==-1)&&e({id:m,styleId:v,adds:[{rule:h,index:p}]}),d.apply(u,f)})});const i=r.CSSStyleSheet.prototype.deleteRule;r.CSSStyleSheet.prototype.deleteRule=new Proxy(i,{apply:Pe((d,u,f)=>{const[h]=f,{id:p,styleId:m}=Mr(u,t,n.styleMirror);return(p&&p!==-1||m&&m!==-1)&&e({id:p,styleId:m,removes:[{index:h}]}),d.apply(u,f)})});let o;r.CSSStyleSheet.prototype.replace&&(o=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(o,{apply:Pe((d,u,f)=>{const[h]=f,{id:p,styleId:m}=Mr(u,t,n.styleMirror);return(p&&p!==-1||m&&m!==-1)&&e({id:p,styleId:m,replace:h}),d.apply(u,f)})}));let a;r.CSSStyleSheet.prototype.replaceSync&&(a=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(a,{apply:Pe((d,u,f)=>{const[h]=f,{id:p,styleId:m}=Mr(u,t,n.styleMirror);return(p&&p!==-1||m&&m!==-1)&&e({id:p,styleId:m,replaceSync:h}),d.apply(u,f)})}));const c={};qa("CSSGroupingRule")?c.CSSGroupingRule=r.CSSGroupingRule:(qa("CSSMediaRule")&&(c.CSSMediaRule=r.CSSMediaRule),qa("CSSConditionRule")&&(c.CSSConditionRule=r.CSSConditionRule),qa("CSSSupportsRule")&&(c.CSSSupportsRule=r.CSSSupportsRule));const l={};return Object.entries(c).forEach(([d,u])=>{l[d]={insertRule:u.prototype.insertRule,deleteRule:u.prototype.deleteRule},u.prototype.insertRule=new Proxy(l[d].insertRule,{apply:Pe((f,h,p)=>{const[m,v]=p,{id:g,styleId:y}=Mr(h.parentStyleSheet,t,n.styleMirror);return(g&&g!==-1||y&&y!==-1)&&e({id:g,styleId:y,adds:[{rule:m,index:[...tl(h),v||0]}]}),f.apply(h,p)})}),u.prototype.deleteRule=new Proxy(l[d].deleteRule,{apply:Pe((f,h,p)=>{const[m]=p,{id:v,styleId:g}=Mr(h.parentStyleSheet,t,n.styleMirror);return(v&&v!==-1||g&&g!==-1)&&e({id:v,styleId:g,removes:[{index:[...tl(h),m]}]}),f.apply(h,p)})})}),Pe(()=>{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(([d,u])=>{u.prototype.insertRule=l[d].insertRule,u.prototype.deleteRule=l[d].deleteRule})})}function ew({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 u;const d=(u=i.set)==null?void 0:u.call(this,l);if(r!==null&&r!==-1)try{t.adoptStyleSheets(l,r)}catch{}return d}}),Pe(()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:i.configurable,enumerable:i.enumerable,get:i.get,set:i.set})}))}function JB({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:s}){const i=s.CSSStyleDeclaration.prototype.setProperty;s.CSSStyleDeclaration.prototype.setProperty=new Proxy(i,{apply:Pe((a,c,l)=>{var m;const[d,u,f]=l;if(n.has(d))return i.apply(c,[d,u,f]);const{id:h,styleId:p}=Mr((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:d,value:u,priority:f},index:tl(c.parentRule)}),a.apply(c,l)})});const o=s.CSSStyleDeclaration.prototype.removeProperty;return s.CSSStyleDeclaration.prototype.removeProperty=new Proxy(o,{apply:Pe((a,c,l)=>{var h;const[d]=l;if(n.has(d))return o.apply(c,[d]);const{id:u,styleId:f}=Mr((h=c.parentRule)==null?void 0:h.parentStyleSheet,t,r.styleMirror);return(u&&u!==-1||f&&f!==-1)&&e({id:u,styleId:f,remove:{property:d},index:tl(c.parentRule)}),a.apply(c,l)})}),Pe(()=>{s.CSSStyleDeclaration.prototype.setProperty=i,s.CSSStyleDeclaration.prototype.removeProperty=o})}function ZB({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:s,sampling:i,doc:o}){const a=Pe(l=>Jo(Pe(d=>{const u=Ta(d);if(!u||Xt(u,t,n,r,!0))return;const{currentTime:f,volume:h,muted:p,playbackRate:m}=u;e({type:l,id:s.getId(u),currentTime:f,volume:h,muted:p,playbackRate:m})}),i.media||500)),c=[Ft("play",a(Js.Play),o),Ft("pause",a(Js.Pause),o),Ft("seeked",a(Js.Seeked),o),Ft("volumechange",a(Js.VolumeChange),o),Ft("ratechange",a(Js.RateChange),o)];return Pe(()=>{c.forEach(l=>l())})}function QB({fontCb:e,doc:t}){const n=t.defaultView;if(!n)return()=>{};const r=[],s=new WeakMap,i=n.FontFace;n.FontFace=function(c,l,d){const u=new i(c,l,d);return s.set(u,{family:c,buffer:typeof l!="string",descriptors:d,fontSource:typeof l=="string"?l:JSON.stringify(Array.from(new Uint8Array(l)))}),u};const o=Jh(t.fonts,"add",function(a){return function(c){return Hl(Pe(()=>{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),Pe(()=>{r.forEach(a=>a())})}function e5(e){const{doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,selectionCb:o}=e;let a=!0;const c=Pe(()=>{const l=t.getSelection();if(!l||a&&(l!=null&&l.isCollapsed))return;a=l.isCollapsed||!1;const d=[],u=l.rangeCount||0;for(let f=0;f<u;f++){const h=l.getRangeAt(f),{startContainer:p,startOffset:m,endContainer:v,endOffset:g}=h;Xt(p,r,s,i,!0)||Xt(v,r,s,i,!0)||d.push({start:n.getId(p),startOffset:m,end:n.getId(v),endOffset:g})}o({ranges:d})});return c(),Ft("selectionchange",c)}function t5({doc:e,customElementCb:t}){const n=e.defaultView;return!n||!n.customElements?()=>{}:Jh(n.customElements,"define",function(s){return function(i,o,a){try{t({define:{name:i}})}catch{}return s.apply(this,[i,o,a])}})}function n5(e,t={}){const n=e.doc.defaultView;if(!n)return()=>{};let r;e.recordDOM&&(r=ZE(e,e.doc));const s=zB(e),i=qB(e),o=QE(e),a=GB(e,{win:n}),c=YB(e),l=ZB(e);let d=()=>{},u=()=>{},f=()=>{},h=()=>{};e.recordDOM&&(d=XB(e,{win:n}),u=ew(e,e.doc),f=JB(e,{win:n}),e.collectFonts&&(h=QB(e)));const p=e5(e),m=t5(e),v=[];for(const g of e.plugins)v.push(g.observer(g.callback,n,g.options));return Pe(()=>{si.forEach(g=>g.reset()),r==null||r.disconnect(),s(),i(),o(),a(),c(),l(),d(),u(),f(),h(),p(),m(),v.forEach(g=>g())})}function za(e){return typeof window[e]<"u"}function qa(e){return!!(typeof window[e]<"u"&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class af{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 r5{constructor(){this.crossOriginIframeMirror=new af(Xh),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class s5{constructor(t){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new af(Xh),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=t.mutationCb,this.wrappedEmit=t.wrappedEmit,this.stylesheetManager=t.stylesheetManager,this.recordCrossOriginIframes=t.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new af(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=Qh(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 Te.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:Te.IncrementalSnapshot,data:{source:_e.Mutation,adds:[{parentId:this.mirror.getId(t),nextId:null,node:n.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case Te.Meta:case Te.Load:case Te.DomContentLoaded:return!1;case Te.Plugin:return n;case Te.Custom:return this.replaceIds(n.data.payload,t,["id","parentId","previousId","nextId"]),n;case Te.IncrementalSnapshot:switch(n.data.source){case _e.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 _e.Drag:case _e.TouchMove:case _e.MouseMove:return n.data.positions.forEach(s=>{this.replaceIds(s,t,["id"])}),n;case _e.ViewportResize:return!1;case _e.MediaInteraction:case _e.MouseInteraction:case _e.Scroll:case _e.CanvasMutation:case _e.Input:return this.replaceIds(n.data,t,["id"]),n;case _e.StyleSheetRule:case _e.StyleDeclaration:return this.replaceIds(n.data,t,["id"]),this.replaceStyleIds(n.data,t,["styleId"]),n;case _e.Font:return n;case _e.Selection:return n.data.ranges.forEach(s=>{this.replaceIds(s,t,["start","end"])}),n;case _e.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!==ut.Document&&!t.rootId&&(t.rootId=n),"childNodes"in t&&t.childNodes.forEach(r=>{this.patchRootIdOnNode(r,n)})}}class i5{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class o5{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(!To(t)||this.shadowDoms.has(t))return;this.shadowDoms.add(t),this.bypassOptions.canvasManager.addShadowRoot(t);const r=ZE({...this.bypassOptions,doc:n,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},t);this.restoreHandlers.push(()=>r.disconnect()),this.restoreHandlers.push(QE({...this.bypassOptions,scrollCb:this.scrollCb,doc:t,mirror:this.mirror})),Hl(()=>{t.adoptedStyleSheets&&t.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(t.adoptedStyleSheets,this.mirror.getId(t.host)),this.restoreHandlers.push(ew({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},t))},0)}observeAttachShadow(t){const n=Qh(t),r=BB(t);!n||!r||this.patchAttachShadow(r.Element,n)}patchAttachShadow(t,n){const r=this;this.restoreHandlers.push(Jh(t.prototype,"attachShadow",function(s){return function(i){const o=s.call(this,i);return this.shadowRoot&&XE(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 Zv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a5=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Ga=0;Ga<Zv.length;Ga++)a5[Zv.charCodeAt(Ga)]=Ga;class Qv{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}addWindow(){}addShadowRoot(){}resetShadowRoots(){}}class c5{constructor(t){this.trackedLinkElements=new WeakSet,this.styleMirror=new LB,this.mutationCb=t.mutationCb,this.adoptedStyleSheetCb=t.adoptedStyleSheetCb}attachLinkElement(t,n){"_cssText"in n.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:n.id,attributes:n.attributes}]}),this.trackLinkElement(t)}trackLinkElement(t){this.trackedLinkElements.has(t)||(this.trackedLinkElements.add(t),this.trackStylesheetInLinkElement(t))}adoptStyleSheets(t,n){if(t.length===0)return;const r={id:n,styleIds:[]},s=[];for(const i of t){let o;this.styleMirror.has(i)?o=this.styleMirror.getId(i):(o=this.styleMirror.add(i),s.push({styleId:o,rules:Array.from(i.rules||CSSRule,(a,c)=>({rule:OE(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 l5{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,FB(()=>{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(t,(this.nodeMap.get(t)||new Set).add(n))}destroy(){}}let it,nl;var Sy;try{if(Array.from([1],e=>e*2)[0]!==2){const e=document.createElement("iframe");document.body.appendChild(e),Array.from=((Sy=e.contentWindow)==null?void 0:Sy.Array.from)||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}const gn=aB();function sr(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:d="rr-mask",unmaskTextClass:u=null,maskTextSelector:f=null,unmaskTextSelector:h=null,inlineStylesheet:p=!0,maskAllInputs:m,maskInputOptions:v,slimDOMOptions:g,maskAttributeFn:y,maskInputFn:C,maskTextFn:w,maxCanvasSize:I=null,packFn:x,sampling:S={},dataURLOptions:b={},mousemoveWait:k,recordDOM:R=!0,recordCanvas:M=!1,recordCrossOriginIframes:T=!1,recordAfter:O=e.recordAfter==="DOMContentLoaded"?e.recordAfter:"load",userTriggeredOnInput:$=!1,collectFonts:K=!1,inlineImages:Z=!1,plugins:z,keepIframeSrcFn:N=()=>!1,ignoreCSSAttributes:oe=new Set([]),errorHandler:U,onMutation:J,getCanvasManager:re}=e;WB(U);const ie=T?window.parent===window:!0;let Ee=!1;if(!ie)try{window.parent.document&&(Ee=!1)}catch{Ee=!0}if(ie&&!t)throw new Error("emit function is required");if(!ie&&!Ee)return()=>{};k!==void 0&&S.mousemove===void 0&&(S.mousemove=k),gn.reset();const Me=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}:v!==void 0?v:{},De=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||{};OB();let P,W=0;const X=B=>{for(const V of z||[])V.eventProcessor&&(B=V.eventProcessor(B));return x&&!Ee&&(B=x(B)),B};it=(B,V)=>{var ne;const Q=B;if(Q.timestamp=el(),(ne=si[0])!=null&&ne.isFrozen()&&Q.type!==Te.FullSnapshot&&!(Q.type===Te.IncrementalSnapshot&&Q.data.source===_e.Mutation)&&si.forEach(ce=>ce.unfreeze()),ie)t==null||t(X(Q),V);else if(Ee){const ce={type:"rrweb",event:X(Q),origin:window.location.origin,isCheckout:V};window.parent.postMessage(ce,"*")}if(Q.type===Te.FullSnapshot)P=Q,W=0;else if(Q.type===Te.IncrementalSnapshot){if(Q.data.source===_e.Mutation&&Q.data.isAttachIframe)return;W++;const ce=r&&W>=r,se=n&&P&&Q.timestamp-P.timestamp>n;(ce||se)&&Y(!0)}};const G=B=>{it({type:Te.IncrementalSnapshot,data:{source:_e.Mutation,...B}})},de=B=>it({type:Te.IncrementalSnapshot,data:{source:_e.Scroll,...B}}),_=B=>it({type:Te.IncrementalSnapshot,data:{source:_e.CanvasMutation,...B}}),E=B=>it({type:Te.IncrementalSnapshot,data:{source:_e.AdoptedStyleSheet,...B}}),A=new c5({mutationCb:G,adoptedStyleSheetCb:E}),L=typeof __RRWEB_EXCLUDE_IFRAME__=="boolean"&&__RRWEB_EXCLUDE_IFRAME__?new r5:new s5({mirror:gn,mutationCb:G,stylesheetManager:A,recordCrossOriginIframes:T,wrappedEmit:it});for(const B of z||[])B.getMirror&&B.getMirror({nodeMirror:gn,crossOriginIframeMirror:L.crossOriginIframeMirror,crossOriginIframeStyleMirror:L.crossOriginIframeStyleMirror});const D=new l5,F=d5(re,{mirror:gn,win:window,mutationCb:B=>it({type:Te.IncrementalSnapshot,data:{source:_e.CanvasMutation,...B}}),recordCanvas:M,blockClass:s,blockSelector:i,unblockSelector:o,maxCanvasSize:I,sampling:S.canvas,dataURLOptions:b,errorHandler:U}),q=typeof __RRWEB_EXCLUDE_SHADOW_DOM__=="boolean"&&__RRWEB_EXCLUDE_SHADOW_DOM__?new i5:new o5({mutationCb:G,scrollCb:de,bypassOptions:{onMutation:J,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:l,maskTextClass:d,unmaskTextClass:u,maskTextSelector:f,unmaskTextSelector:h,inlineStylesheet:p,maskInputOptions:Me,dataURLOptions:b,maskAttributeFn:y,maskTextFn:w,maskInputFn:C,recordCanvas:M,inlineImages:Z,sampling:S,slimDOMOptions:De,iframeManager:L,stylesheetManager:A,canvasManager:F,keepIframeSrcFn:N,processedNodeManager:D,ignoreCSSAttributes:oe},mirror:gn}),Y=(B=!1)=>{if(!R)return;it({type:Te.Meta,data:{href:window.location.href,width:jE(),height:WE()}},B),A.reset(),q.init(),si.forEach(Q=>Q.lock());const V=MB(document,{mirror:gn,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:l,maskTextClass:d,unmaskTextClass:u,maskTextSelector:f,unmaskTextSelector:h,inlineStylesheet:p,maskAllInputs:Me,maskAttributeFn:y,maskInputFn:C,maskTextFn:w,slimDOM:De,dataURLOptions:b,recordCanvas:M,inlineImages:Z,onSerialize:Q=>{GE(Q,gn)&&L.addIframe(Q),KE(Q,gn)&&A.trackLinkElement(Q),sf(Q)&&q.addShadowRoot(Q.shadowRoot,document)},onIframeLoad:(Q,ne)=>{L.attachIframe(Q,ne),Q.contentWindow&&F.addWindow(Q.contentWindow),q.observeAttachShadow(Q)},onStylesheetLoad:(Q,ne)=>{A.attachLinkElement(Q,ne)},onBlockedImageLoad:(Q,ne,{width:ce,height:se})=>{G({adds:[],removes:[],texts:[],attributes:[{id:ne.id,attributes:{style:{width:`${ce}px`,height:`${se}px`}}}]})},keepIframeSrcFn:N,ignoreCSSAttributes:oe});if(!V)return console.warn("Failed to snapshot the document");it({type:Te.FullSnapshot,data:{node:V,initialOffset:UE(window)}}),si.forEach(Q=>Q.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&A.adoptStyleSheets(document.adoptedStyleSheets,gn.getId(document))};nl=Y;try{const B=[],V=ne=>{var ce;return Pe(n5)({onMutation:J,mutationCb:G,mousemoveCb:(se,Ie)=>it({type:Te.IncrementalSnapshot,data:{source:Ie,positions:se}}),mouseInteractionCb:se=>it({type:Te.IncrementalSnapshot,data:{source:_e.MouseInteraction,...se}}),scrollCb:de,viewportResizeCb:se=>it({type:Te.IncrementalSnapshot,data:{source:_e.ViewportResize,...se}}),inputCb:se=>it({type:Te.IncrementalSnapshot,data:{source:_e.Input,...se}}),mediaInteractionCb:se=>it({type:Te.IncrementalSnapshot,data:{source:_e.MediaInteraction,...se}}),styleSheetRuleCb:se=>it({type:Te.IncrementalSnapshot,data:{source:_e.StyleSheetRule,...se}}),styleDeclarationCb:se=>it({type:Te.IncrementalSnapshot,data:{source:_e.StyleDeclaration,...se}}),canvasMutationCb:_,fontCb:se=>it({type:Te.IncrementalSnapshot,data:{source:_e.Font,...se}}),selectionCb:se=>{it({type:Te.IncrementalSnapshot,data:{source:_e.Selection,...se}})},customElementCb:se=>{it({type:Te.IncrementalSnapshot,data:{source:_e.CustomElement,...se}})},blockClass:s,ignoreClass:a,ignoreSelector:c,maskAllText:l,maskTextClass:d,unmaskTextClass:u,maskTextSelector:f,unmaskTextSelector:h,maskInputOptions:Me,inlineStylesheet:p,sampling:S,recordDOM:R,recordCanvas:M,inlineImages:Z,userTriggeredOnInput:$,collectFonts:K,doc:ne,maskAttributeFn:y,maskInputFn:C,maskTextFn:w,keepIframeSrcFn:N,blockSelector:i,unblockSelector:o,slimDOMOptions:De,dataURLOptions:b,mirror:gn,iframeManager:L,stylesheetManager:A,shadowDomManager:q,processedNodeManager:D,canvasManager:F,ignoreCSSAttributes:oe,plugins:((ce=z==null?void 0:z.filter(se=>se.observer))==null?void 0:ce.map(se=>({observer:se.observer,options:se.options,callback:Ie=>it({type:Te.Plugin,data:{plugin:se.name,payload:Ie}})})))||[]},{})};L.addLoadListener(ne=>{try{B.push(V(ne.contentDocument))}catch(ce){console.warn(ce)}});const Q=()=>{Y(),B.push(V(document))};return document.readyState==="interactive"||document.readyState==="complete"?Q():(B.push(Ft("DOMContentLoaded",()=>{it({type:Te.DomContentLoaded,data:{}}),O==="DOMContentLoaded"&&Q()})),B.push(Ft("load",()=>{it({type:Te.Load,data:{}}),O==="load"&&Q()},window))),()=>{B.forEach(ne=>ne()),D.destroy(),nl=void 0,jB()}}catch(B){console.warn(B)}}function u5(e){if(!nl)throw new Error("please take full snapshot after start recording");nl(e)}sr.mirror=gn;sr.takeFullSnapshot=u5;function d5(e,t){try{return e?e(t):new Qv}catch{return console.warn("Unable to initialize CanvasManager"),new Qv}}var ey;(function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"})(ey||(ey={}));const f5=3,h5=5;function ep(e){return e>9999999999?e:e*1e3}function Vu(e){return e>9999999999?e/1e3:e}function ka(e,t){t.category!=="sentry.transaction"&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>(e.throttledAddEvent({type:Te.Custom,timestamp:(t.timestamp||0)*1e3,data:{tag:"breadcrumb",payload:vn(t,10,1e3)}}),t.category==="console")))}const p5="button,a";function tw(e){return e.closest(p5)||e}function nw(e){const t=rw(e);return!t||!(t instanceof Element)?t:tw(t)}function rw(e){return m5(e)?e.target:e}function m5(e){return typeof e=="object"&&!!e&&"target"in e}let Pr;function g5(e){return Pr||(Pr=[],v5()),Pr.push(e),()=>{const t=Pr?Pr.indexOf(e):-1;t>-1&&Pr.splice(t,1)}}function v5(){Wt(Ye,"open",function(e){return function(...t){if(Pr)try{Pr.forEach(n=>n())}catch{}return e.apply(Ye,t)}})}const y5=new Set([_e.Mutation,_e.StyleSheetRule,_e.StyleDeclaration,_e.AdoptedStyleSheet,_e.CanvasMutation,_e.Selection,_e.MediaInteraction]);function _5(e,t,n){e.handleClick(t,n)}class b5{constructor(t,n,r=ka){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=g5(()=>{this._lastMutation=ty()});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(E5(n,this._ignoreSelector)||!w5(t))return;const r={timestamp:Vu(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=Vu(t)}registerScroll(t=Date.now()){this._lastScroll=Vu(t)}registerClick(t){const n=tw(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=ty();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=c<this._timeout*1e3?"mutation":"timeout",d={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.slowClickDetected",data:{...a.data,url:Ye.location.href,route:n.getCurrentRoute(),timeAfterClickMs:c,endReason:l,clickCount:o||1}};this._addBreadcrumbEvent(n,d);return}if(o>1){const c={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.multiClick",data:{...a.data,url:Ye.location.href,route:n.getCurrentRoute(),clickCount:o,metric:!0}};this._addBreadcrumbEvent(n,c)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=Ca(()=>this._checkClicks(),1e3)}}const S5=["A","BUTTON","INPUT"];function E5(e,t){return!!(!S5.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 w5(e){return!!(e.data&&typeof e.data.nodeId=="number"&&e.timestamp)}function ty(){return Date.now()/1e3}function C5(e,t){try{if(!T5(t))return;const{source:n}=t.data;if(y5.has(n)&&e.registerMutation(t.timestamp),n===_e.Scroll&&e.registerScroll(t.timestamp),k5(t)){const{type:r,id:s}=t.data,i=sr.mirror.getNode(s);i instanceof HTMLElement&&r===Lt.Click&&e.registerClick(i)}}catch{}}function T5(e){return e.type===f5}function k5(e){return e.data.source===_e.MouseInteraction}function Hn(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var tp=(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))(tp||{});const I5=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function x5(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(I5.has(n)){let r=n;(n==="data-testid"||n==="data-test-id")&&(r="testId"),t[r]=e[n]}return t}const R5=e=>t=>{if(!e.isEnabled())return;const n=A5(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&&_5(e.clickDetector,n,nw(t.event)),ka(e,n)};function sw(e,t){const n=sr.mirror.getId(e),r=n&&sr.mirror.getNode(n),s=r&&sr.mirror.getMeta(r),i=s&&P5(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===tp.Text&&o.textContent).filter(Boolean).map(o=>o.trim()).join(""),attributes:x5(i.attributes)}}:{}}}function A5(e){const{target:t,message:n}=M5(e);return Hn({category:`ui.${e.name}`,...sw(t,n)})}function M5(e){const t=e.name==="click";let n,r=null;try{r=t?nw(e.event):rw(e.event),n=qt(r,{maxStringLength:200})||"<unknown>"}catch{n="<unknown>"}return{target:r,message:n}}function P5(e){return e.type===tp.Element}function O5(e,t){if(!e.isEnabled())return;e.updateUserActivity();const n=L5(t);n&&ka(e,n)}function L5(e){const{metaKey:t,shiftKey:n,ctrlKey:r,altKey:s,key:i,target:o}=e;if(!o||N5(o)||!i)return null;const a=t||r||s,c=i.length===1;if(!a&&c)return null;const l=qt(o,{maxStringLength:200})||"<unknown>",d=sw(o,l);return Hn({category:"ui.keyDown",message:l,data:{...d.data,metaKey:t,shiftKey:n,ctrlKey:r,altKey:s,key:i}})}function N5(e){return e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable}const D5={resource:V5,paint:B5,navigation:H5};function Uu(e,t){return({metric:n})=>void t.replayPerformanceEntries.push(e(n))}function F5(e){return e.map($5).filter(Boolean)}function $5(e){const t=D5[e.entryType];return t?t(e):null}function Pi(e){return((Kt()||Ye.performance.timeOrigin)+e)/1e3}function B5(e){const{duration:t,entryType:n,name:r,startTime:s}=e,i=Pi(s);return{type:n,name:r,start:i,end:i+t,data:void 0}}function H5(e){const{entryType:t,name:n,decodedBodySize:r,duration:s,domComplete:i,encodedBodySize:o,domContentLoadedEventStart:a,domContentLoadedEventEnd:c,domInteractive:l,loadEventStart:d,loadEventEnd:u,redirectCount:f,startTime:h,transferSize:p,type:m}=e;return s===0?null:{type:`${t}.${m}`,start:Pi(h),end:Pi(i),name:n,data:{size:p,decodedBodySize:r,encodedBodySize:o,duration:s,domInteractive:l,domContentLoadedEventStart:a,domContentLoadedEventEnd:c,loadEventStart:d,loadEventEnd:u,domComplete:i,redirectCount:f}}}function V5(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:Pi(i),end:Pi(s),name:r,data:{size:l,statusCode:c,decodedBodySize:o,encodedBodySize:a}}}function U5(e){const t=e.entries[e.entries.length-1],n=t!=null&&t.element?[t.element]:void 0;return np(e,"largest-contentful-paint",n)}function W5(e){return e.sources!==void 0}function j5(e){const t=[],n=[];for(const r of e.entries)if(W5(r)){const s=[];for(const i of r.sources)if(i.node){n.push(i.node);const o=sr.mirror.getId(i.node);o&&s.push(o)}t.push({value:r.value,nodeIds:s.length?s:void 0})}return np(e,"cumulative-layout-shift",n,t)}function z5(e){const t=e.entries[e.entries.length-1],n=t!=null&&t.target?[t.target]:void 0;return np(e,"interaction-to-next-paint",n)}function np(e,t,n,r){const s=e.value,i=e.rating,o=Pi(s);return{type:"web-vital",name:t,start:o,end:o,data:{value:s,size:s,rating:i,nodeIds:n?n.map(a=>sr.mirror.getId(a)):void 0,attributions:r}}}function q5(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(Rs(s,n))}),r.push(jh(Uu(U5,e)),Wh(Uu(j5,e)),vE(Uu(z5,e))),()=>{r.forEach(s=>s())}}const pe=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,G5='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<<t[s-1];var a=new r(i[30]);for(s=1;s<30;++s)for(var o=i[s];o<i[s+1];++o)a[o]=o-i[s]<<5|s;return{b:i,r:a}},o=a(e,2),h=o.b,f=o.r;h[28]=258,f[258]=28;for(var l=a(i,0).r,u=new n(32768),c=0;c<32768;++c){var v=(43690&c)>>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<i;++s)t[s]&&++a[t[s]-1];var o,h=new n(r);for(s=1;s<r;++s)h[s]=h[s-1]+a[s-1]<<1;if(e){o=new n(1<<r);var f=15-r;for(s=0;s<i;++s)if(t[s])for(var l=s<<4|t[s],c=r-t[s],v=h[t[s]-1]++<<c,d=v|(1<<c)-1;v<=d;++v)o[u[v]>>f]=l}else for(o=new n(i),s=0;s<i;++s)t[s]&&(o[s]=u[h[t[s]-1]++]>>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;s<r.length;++s)r[s]&&i.push({s:s,f:r[s]});var a=i.length,o=i.slice();if(!a)return{t:F,l:0};if(1==a){var h=new t(i[0].s+1);return h[i[0].s]=1,{t:h,l:1}}i.sort(function(t,n){return t.f-n.f}),i.push({s:-1,f:25001});var f=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:f.f+l.f,l:f,r:l};c!=a-1;)f=i[i[u].f<i[v].f?u++:v++],l=i[u!=c&&i[u].f<i[v].f?u++:v++],i[c++]={s:-1,f:f.f+l.f,l:f,r:l};var d=o[0].s;for(s=1;s<a;++s)o[s].s>d&&(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<<y;for(o.sort(function(t,n){return p[n.s]-p[t.s]||t.f-n.f});s<a;++s){var b=o[s].s;if(!(p[b]>e))break;w+=m-(1<<g-p[b]),p[b]=e}for(w>>=y;w>0;){var M=o[s].s;p[M]<e?w-=1<<e-p[M]++-1:++s}for(;s>=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<n.length;++e)r+=t[e]*n[e];return r},k=function(t,n,r){var e=r.length,i=m(n+2);t[i]=255&e,t[i+1]=e>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var s=0;s<e;++s)t[i+s+4]=r[s];return 8*(i+4+e)},U=function(t,r,a,o,h,f,l,u,c,v,m){z(r,m++,a),++h[256];for(var b=x(h,15),M=b.t,E=b.l,A=x(f,15),U=A.t,C=A.l,F=D(M),I=F.c,S=F.n,L=D(U),O=L.c,j=L.n,q=new n(19),B=0;B<I.length;++B)++q[31&I[B]];for(B=0;B<O.length;++B)++q[31&O[B]];for(var G=x(q,7),H=G.t,J=G.l,K=19;K>4&&!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+(X<W)),m+=2,X<W){N=d(M,E,0),P=M,Q=d(U,C,0),R=U;var Y=d(H,J,0);z(r,m,S-257),z(r,m+5,j-1),z(r,m+10,K-4),m+=14;for(B=0;B<K;++B)z(r,m+3*B,H[s[B]]);m+=3*K;for(var Z=[I,O],$=0;$<2;++$){var tt=Z[$];for(B=0;B<tt.length;++B){var nt=31&tt[B];z(r,m,Y[nt]),m+=H[nt],nt>15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=w,P=p,Q=y,R=g;for(B=0;B<u;++B){var rt=o[B];if(rt>255){_(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<o;++a)i+=e+=r[a];e=(65535&e)+15*(e>>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<<o)-1,_=c.p||new n(32768),x=c.h||new n(z+1),A=Math.ceil(o/3),D=2*A,T=function(t){return(s[t]^s[t+1]<<A^s[t+2]<<D)&z},F=new r(25e3),I=new n(288),S=new n(32),L=0,O=0,j=c.i||0,q=0,B=c.w||0,G=0;j+2<v;++j){var H=T(j),J=32767&j,K=x[H];if(_[J]=K,x[H]=J,B<=j){var N=v-j;if((L>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;$<Z&&s[j+$]==s[j+$-W];++$);if($>Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P<tt;++P){var rt=j-W+P&32767,et=rt-_[rt]&32767;et>nt&&(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;++j)F[q++]=s[j],++I[s[j]];w=U(s,p,g,F,I,S,O,q,G,j-G,w),g||(c.r=7&w|p[w/8|0]<<3,w-=7,c.h=x,c.p=_,c.i=j,c.w=B)}else{for(j=c.w||0;j<v+g;j+=65535){var at=j+65535;at>=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<n.length;++e)r=I[255&r^n[e]]^r>>>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;o<e;++o){if(s+5>i.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<i;n++){const i=t[n];r.set(i,e),e+=i.length}return r}(this._deflatedData);return this._init(),t}_init(){this._hasEvents=!1,this._deflatedData=[],this.deflate=new B,this.deflate.ondata=(t,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 K5(){const e=new Blob([G5]);return URL.createObjectURL(e)}const ny=["log","warn","error"],yc="[Replay] ";function Wu(e,t="info"){Wr({category:"console",data:{logger:"replay"},level:t,message:`${yc}${e}`},{level:t})}function Y5(){let e=!1,t=!1;const n={exception:()=>{},infoTick:()=>{},setConfig:r=>{e=!!r.captureExceptions,t=!!r.traceInternals}};return pe?(ny.forEach(r=>{n[r]=(...s)=>{te[r](yc,...s),t&&Wu(s.join(""),U0(r))}}),n.exception=(r,...s)=>{s.length&&n.error&&n.error(...s),te.error(yc,r),e?Ol(r,{mechanism:{handled:!0,type:"auto.function.replay.debug"}}):t&&Wu(r,"error")},n.infoTick=(...r)=>{te.log(yc,...r),t&&setTimeout(()=>Wu(r[0]),0)}):ny.forEach(r=>{n[r]=()=>{}}),n}const me=Y5();class rp extends Error{constructor(){super(`Event buffer exceeded maximum size of ${Kh}.`)}}class iw{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>Kh)throw new rp;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?ep(t):null}}class X5{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():(pe&&me.warn("Received worker message with unsuccessful status",r),n(new Error("Received worker message with unsuccessful status")))},{once:!0}),this._worker.addEventListener("error",r=>{pe&&me.warn("Failed to load Replay compression worker",r),n(new Error(`Failed to load Replay compression worker: ${r instanceof ErrorEvent&&r.message?r.message:"Unknown error. This can happen due to CSP policy restrictions, network issues, or the worker script failing to load."}`))},{once:!0})}),this._ensureReadyPromise)}destroy(){pe&&me.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){pe&&me.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 J5{constructor(t){this._worker=new X5(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=ep(t.timestamp);(!this._earliestTimestamp||n<this._earliestTimestamp)&&(this._earliestTimestamp=n);const r=JSON.stringify(t);return this._totalSize+=r.length,this._totalSize>Kh?Promise.reject(new rp):this._sendEventToWorker(r)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,t=>{pe&&me.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 Z5{constructor(t){this._fallback=new iw,this._compression=new J5(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){pe&&me.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){pe&&me.exception(i,"Failed to add events when switching buffers.")}}}function Q5({useCompression:e,workerUrl:t}){if(e&&window.Worker){const n=e2(t);if(n)return n}return pe&&me.log("Using simple buffer"),new iw}function e2(e){try{const t=e||t2();if(!t)return;pe&&me.log(`Using compression worker${e?` from ${e}`:""}`);const n=new Worker(t);return new Z5(n)}catch(t){pe&&me.exception(t,"Failed to create compression worker")}}function t2(){return typeof __SENTRY_EXCLUDE_REPLAY_WORKER__>"u"||!__SENTRY_EXCLUDE_REPLAY_WORKER__?K5():""}function sp(){try{return"sessionStorage"in Ye&&!!Ye.sessionStorage}catch{return!1}}function n2(e){r2(),e.session=void 0}function r2(){if(sp())try{Ye.sessionStorage.removeItem(qh)}catch{}}function ow(e){return e===void 0?!1:Math.random()<e}function Vl(e){if(sp())try{Ye.sessionStorage.setItem(qh,JSON.stringify(e))}catch{}}function aw(e){const t=Date.now(),n=e.id||tn(),r=e.started||t,s=e.lastActivity||t,i=e.segmentId||0,o=e.sampled,a=e.previousSessionId,c=e.dirty||!1;return{id:n,started:r,lastActivity:s,segmentId:i,sampled:o,previousSessionId:a,dirty:c}}function s2(e,t){return ow(e)?"session":t?"buffer":!1}function ry({sessionSampleRate:e,allowBuffering:t,stickySession:n=!1},{previousSessionId:r}={}){const s=s2(e,t),i=aw({sampled:s,previousSessionId:r});return n&&Vl(i),i}function i2(){if(!sp())return null;try{const e=Ye.sessionStorage.getItem(qh);if(!e)return null;const t=JSON.parse(e);return pe&&me.infoTick("Loading existing session"),aw(t)}catch{return null}}function cf(e,t,n=+new Date){return e===null||t===void 0||t<0?!0:t===0?!1:e+t<=n}function cw(e,{maxReplayDuration:t,sessionIdleExpire:n,targetTime:r=Date.now()}){return cf(e.started,t,r)||cf(e.lastActivity,n,r)}function lw(e,{sessionIdleExpire:t,maxReplayDuration:n}){return!(!cw(e,{sessionIdleExpire:t,maxReplayDuration:n})||e.sampled==="buffer"&&e.segmentId===0)}function ju({sessionIdleExpire:e,maxReplayDuration:t,previousSessionId:n},r){const s=r.stickySession&&i2();return s?lw(s,{sessionIdleExpire:e,maxReplayDuration:t})?(pe&&me.infoTick("Session in sessionStorage is expired, creating new one..."),ry(r,{previousSessionId:s.id})):s:(pe&&me.infoTick("Creating new session"),ry(r,{previousSessionId:n}))}function o2(e){return e.type===Te.Custom}function ip(e,t,n){return dw(e,t)?(uw(e,t,n),!0):!1}function a2(e,t,n){return dw(e,t)?uw(e,t,n):Promise.resolve(null)}async function uw(e,t,n){const{eventBuffer:r}=e;if(!r||r.waitForCheckout&&!n)return null;const s=e.recordingMode==="buffer";try{n&&s&&r.clear(),n&&(r.hasCheckout=!0,r.waitForCheckout=!1);const i=e.getOptions(),o=c2(t,i.beforeAddRecordingEvent);return o?await r.addEvent(o):void 0}catch(i){const o=i&&i instanceof rp,a=o?"addEventSizeExceeded":"addEvent",c=Ce();if(c){const l=o?"buffer_overflow":"internal_sdk_error";c.recordDroppedEvent(l,"replay")}if(o&&s)return r.clear(),r.waitForCheckout=!0,null;e.handleException(i),await e.stop({reason:a})}}function dw(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;const n=ep(t.timestamp);return n+e.timeouts.sessionIdlePause<Date.now()?!1:n>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration?(pe&&me.infoTick(`Skipping event with timestamp ${n} because it is after maxReplayDuration`),!1):!0}function c2(e,t){try{if(typeof t=="function"&&o2(e))return t(e)}catch(n){return pe&&me.exception(n,"An error occurred in the `beforeAddRecordingEvent` callback, skipping the event..."),null}return e}function op(e){return!e.type}function lf(e){return e.type==="transaction"}function l2(e){return e.type==="replay_event"}function sy(e){return e.type==="feedback"}function u2(e){return(t,n)=>{if(!e.isEnabled()||!op(t)&&!lf(t))return;const r=n.statusCode;if(!(!r||r<200||r>=300)){if(lf(t)){d2(e,t);return}f2(e,t)}}}function d2(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 f2(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)||Ca(async()=>{try{await e.sendBufferedReplayOrFlush()}catch(s){e.handleException(s)}})}function h2(e){return t=>{!e.isEnabled()||!op(t)||p2(e,t)}}function p2(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=Hn({category:"replay.hydrate-error",data:{url:Ls()}});ka(e,o)}}function m2(e){const t=Ce();t&&t.on("beforeAddBreadcrumb",n=>g2(e,n))}function g2(e,t){if(!e.isEnabled()||!fw(t))return;const n=v2(t);n&&ka(e,n)}function v2(e){return!fw(e)||["fetch","xhr","sentry.event","sentry.transaction"].includes(e.category)||e.category.startsWith("ui.")?null:e.category==="console"?y2(e):Hn(e)}function y2(e){var s;const t=(s=e.data)==null?void 0:s.arguments;if(!Array.isArray(t)||t.length===0)return Hn(e);let n=!1;const r=t.map(i=>{if(!i)return i;if(typeof i=="string")return i.length>ja?(n=!0,`${i.slice(0,ja)}…`):i;if(typeof i=="object")try{const o=vn(i,7);return JSON.stringify(o).length>ja?(n=!0,`${JSON.stringify(o,null,2).slice(0,ja)}…`):o}catch{}return i});return Hn({...e,data:{...e.data,arguments:r,...n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}function fw(e){return!!e.category}function _2(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 hw(){const e=Oe().getPropagationContext().dsc;e&&delete e.replay_id;const t=Tt();if(t){const n=hr(t);delete n.replay_id}}function b2(e,t){e.triggerUserActivity(),e.addUpdate(()=>t.timestamp?(e.throttledAddEvent({type:Te.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 S2(e,t){return e.recordingMode!=="buffer"||t.message===Gh||!t.exception||t.type?!1:ow(e.getOptions().errorSampleRate)}function E2(e){return Object.assign((t,n)=>{var o;if(!e.isEnabled()||e.isPaused())return t;if(l2(t))return delete t.breadcrumbs,t;if(!op(t)&&!lf(t)&&!sy(t))return t;if(!e.checkAndHandleExpiredSession())return hw(),t;if(sy(t))return e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),b2(e,t),t;if(_2(t,n)&&!e.getOptions()._experiments.captureExceptions)return pe&&me.log("Ignoring error from rrweb internals",t),null;const s=S2(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&&Vl(a)}return t},{id:"Replay"})}function Ul(e,t){return t.map(({type:n,start:r,end:s,name:i,data:o})=>{const a=e.throttledAddEvent({type:Te.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 w2(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 C2(e){return t=>{if(!e.isEnabled())return;const n=w2(t);n!==null&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate(()=>(Ul(e,[n]),!1)))}}function T2(e,t){return pe&&e.getOptions()._experiments.traceInternals?!1:zO(t,Ce())}function pw(e,t){e.isEnabled()&&t!==null&&(T2(e,t.name)||e.addUpdate(()=>(Ul(e,[t]),!0)))}function Wl(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=kE(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch{}}function mw(e){if(!e)return;const t=parseInt(e,10);return isNaN(t)?void 0:t}function rl(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 gw(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 Zo(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function $r(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}=k2(n);return r.body=s,i!=null&&i.length&&(r._meta={warnings:i}),r}function uf(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 k2(e){if(!e||typeof e!="string")return{body:e};const t=e.length>$v,n=I2(e);if(t){const r=e.slice(0,$v);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 I2(e){const t=e[0],n=e[e.length-1];return t==="["&&n==="]"||t==="{"&&n==="}"}function sl(e,t){const n=x2(e);return nr(n,t)}function x2(e,t=Ye.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(Ye.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 R2(e,t,n){try{const r=await M2(e,t,n),s=gw("resource.fetch",r);pw(n.replay,s)}catch(r){pe&&me.exception(r,"Failed to capture fetch breadcrumb")}}function A2(e,t){const{input:n,response:r}=t,s=n?xE(n):void 0,i=Wl(s),o=r?mw(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 M2(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:d}=e.data,u=sl(o,n.networkDetailAllowUrls)&&!sl(o,n.networkDetailDenyUrls),f=u?P2(n,t.input,l):Zo(l),h=await O2(u,n,t.response,d);return{startTimestamp:s,endTimestamp:i,url:o,method:a,statusCode:c,request:f,response:h}}function P2({networkCaptureBodies:e,networkRequestHeaders:t},n,r){const s=n?D2(n,t):{};if(!e)return $r(s,r,void 0);const i=xE(n),[o,a]=IE(i,me),c=$r(s,r,o);return a?rl(c,a):c}async function O2(e,{networkCaptureBodies:t,networkResponseHeaders:n},r,s){if(!e&&s!==void 0)return Zo(s);const i=r?vw(r.headers,n):{};if(!r||!t&&s!==void 0)return $r(i,s,void 0);const[o,a]=await N2(r),c=L2(o,{networkCaptureBodies:t,responseBodySize:s,captureDetails:e,headers:i});return a?rl(c,a):c}function L2(e,{networkCaptureBodies:t,responseBodySize:n,captureDetails:r,headers:s}){try{const i=e!=null&&e.length&&n===void 0?Wl(e):n;return r?t?$r(s,i,e):$r(s,i,void 0):Zo(i)}catch(i){return pe&&me.exception(i,"Failed to serialize response body"),$r(s,n,void 0)}}async function N2(e){const t=F2(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{return[await $2(t)]}catch(n){return n instanceof Error&&n.message.indexOf("Timeout")>-1?(pe&&me.warn("Parsing text body from response timed out"),[void 0,"BODY_PARSE_TIMEOUT"]):(pe&&me.exception(n,"Failed to get text body from response"),[void 0,"BODY_PARSE_ERROR"])}}function vw(e,t){const n={};return t.forEach(r=>{e.get(r)&&(n[r]=e.get(r))}),n}function D2(e,t){return e.length===1&&typeof e[0]!="string"?iy(e[0],t):e.length===2?iy(e[1],t):{}}function iy(e,t){if(!e)return{};const n=e.headers;return n?n instanceof Headers?vw(n,t):Array.isArray(n)?{}:uf(n,t):{}}function F2(e){try{return e.clone()}catch(t){pe&&me.exception(t,"Failed to clone response body")}}function $2(e){return new Promise((t,n)=>{const r=Ca(()=>n(new Error("Timeout while trying to read response body")),500);B2(e).then(s=>t(s),s=>n(s)).finally(()=>clearTimeout(r))})}async function B2(e){return await e.text()}async function H2(e,t,n){try{const r=U2(e,t,n),s=gw("resource.xhr",r);pw(n.replay,s)}catch(r){pe&&me.exception(r,"Failed to capture xhr breadcrumb")}}function V2(e,t){const{xhr:n,input:r}=t;if(!n)return;const s=Wl(r),i=n.getResponseHeader("content-length")?mw(n.getResponseHeader("content-length")):z2(n.response,n.responseType);s!==void 0&&(e.data.request_body_size=s),i!==void 0&&(e.data.response_body_size=i)}function U2(e,t,n){const r=Date.now(),{startTimestamp:s=r,endTimestamp:i=r,input:o,xhr:a}=t,{url:c,method:l,status_code:d=0,request_body_size:u,response_body_size:f}=e.data;if(!c)return null;if(!a||!sl(c,n.networkDetailAllowUrls)||sl(c,n.networkDetailDenyUrls)){const x=Zo(u),S=Zo(f);return{startTimestamp:s,endTimestamp:i,url:c,method:l,statusCode:d,request:x,response:S}}const h=a[ds],p=h?uf(h.request_headers,n.networkRequestHeaders):{},m=uf(RE(a),n.networkResponseHeaders),[v,g]=n.networkCaptureBodies?IE(o,me):[void 0],[y,C]=n.networkCaptureBodies?W2(a):[void 0],w=$r(p,u,v),I=$r(m,f,y);return{startTimestamp:s,endTimestamp:i,url:c,method:l,statusCode:d,request:g?rl(w,g):w,response:C?rl(I,C):I}}function W2(e){const t=[];try{return[e.responseText]}catch(n){t.push(n)}try{return j2(e.response,e.responseType)}catch(n){t.push(n)}return pe&&me.warn("Failed to get xhr response body",...t),[void 0]}function j2(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 pe&&me.exception(n,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return pe&&me.log("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function z2(e,t){try{const n=t==="json"&&e&&typeof e=="object"?JSON.stringify(e):e;return Wl(n)}catch{return}}function q2(e){const t=Ce();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)=>G2(a,c,l))}catch{}}function G2(e,t,n){if(t.data)try{K2(t)&&X2(n)&&(V2(t,n),H2(t,n,e)),Y2(t)&&J2(n)&&(A2(t,n),R2(t,n,e))}catch(r){pe&&me.exception(r,"Error when enriching network breadcrumb")}}function K2(e){return e.category==="xhr"}function Y2(e){return e.category==="fetch"}function X2(e){return e==null?void 0:e.xhr}function J2(e){return e==null?void 0:e.response}function Z2(e){const t=Ce();wE(R5(e)),Fl(C2(e)),m2(e),q2(e);const n=E2(e);dO(n),t&&(t.on("beforeSendEvent",h2(e)),t.on("afterSendEvent",u2(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 Q2(e){try{return Promise.all(Ul(e,[e3(Ye.performance.memory)]))}catch{return[]}}function e3(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 t3(e,t,n){return JO(e,t,{...n,setTimeoutImpl:Ca})}const an=xe.navigator;function n3(){return/iPhone|iPad|iPod/i.test((an==null?void 0:an.userAgent)??"")||/Macintosh/i.test((an==null?void 0:an.userAgent)??"")&&(an!=null&&an.maxTouchPoints)&&(an==null?void 0:an.maxTouchPoints)>1?{sampling:{mousemove:!1}}:{}}function r3(e){let t=!1;return(n,r)=>{if(!e.checkAndHandleExpiredSession()){pe&&me.warn("Received replay event after session expired.");return}const s=r||!t;t=!0,e.clickDetector&&C5(e.clickDetector,n),e.addUpdate(()=>{if(e.recordingMode==="buffer"&&s&&e.setInitialState(),!ip(e,n,s))return!0;if(!s)return!1;const i=e.session;if(i3(e,s),e.recordingMode==="buffer"&&i&&e.eventBuffer&&!i.dirty){const o=e.eventBuffer.getEarliestTimestamp();o&&(pe&&me.log(`Updating session start time to earliest event in buffer to ${new Date(o)}`),i.started=o,e.getOptions().stickySession&&Vl(i))}return i!=null&&i.previousSessionId||e.recordingMode==="session"&&e.flush(),!0})}}function s3(e){const t=e.getOptions();return{type:Te.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 i3(e,t){!t||!e.session||e.session.segmentId!==0||ip(e,s3(e),!1)}function o3(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch{return null}}function a3(e,t,n,r){return Jr(m0(e,Ch(e),r,n),[[{type:"replay_event"},e],[{type:"replay_recording",length:typeof t=="string"?new TextEncoder().encode(t).length:t.length},t]])}function c3({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 l3({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 E0(e.getOptions(),r,i,t,e,$t());if(!o)return null;e.emit("postprocessEvent",o,i),o.platform=o.platform||"javascript";const a=e.getSdkMetadata(),{name:c,version:l,settings:d}=(a==null?void 0:a.sdk)||{};return o.sdk={...o.sdk,name:c||"sentry.javascript.unknown",version:l||"0.0.0",settings:d},o}async function u3({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:s,session:i}){const o=c3({recordingData:e,headers:{segment_id:n}}),{urls:a,errorIds:c,traceIds:l,initialTimestamp:d}=r,u=Ce(),f=Oe(),h=u==null?void 0:u.getTransport(),p=u==null?void 0:u.getDsn();if(!u||!h||!p||!i.sampled)return Promise.resolve({});const m={type:H$,replay_start_timestamp:d/1e3,timestamp:s/1e3,error_ids:c,trace_ids:l,urls:a,replay_id:t,segment_id:n,replay_type:i.sampled},v=await l3({scope:f,client:u,replayId:t,event:m});if(!v)return u.recordDroppedEvent("event_processor","replay"),pe&&me.log("An event processor returned `null`, will not send event."),Promise.resolve({});delete v.sdkProcessingMetadata;const g=a3(v,o,p,u.getOptions().tunnel);let y;try{y=await h.send(g)}catch(w){const I=new Error(Gh);try{I.cause=w}catch{}throw I}const C=P0({},y);if(M0(C,"replay"))throw new ap(C);if(typeof y.statusCode=="number"&&(y.statusCode<200||y.statusCode>=300))throw new yw(y.statusCode);return y}class yw extends Error{constructor(t){super(`Transport returned status code ${t}`)}}class ap extends Error{constructor(t){super("Rate limit hit"),this.rateLimits=t}}class oy extends Error{constructor(){super("Session is too long, not sending replay")}}async function _w(e,t={count:0,interval:q$}){const{recordingData:n,onError:r}=e;if(n.length)try{return await u3(e),!0}catch(s){if(s instanceof yw||s instanceof ap)throw s;if(aO("Replays",{_retryCount:t.count}),r&&r(s),t.count>=G$){const i=new Error(`${Gh} - max retries exceeded`);try{i.cause=s}catch{}throw i}return t.interval*=++t.count,new Promise((i,o)=>{Ca(async()=>{try{await _w(e,t),i(!0)}catch(a){o(a)}},t.interval)})}}const bw="__THROTTLED",d3="__SKIPPED";function f3(e,t,n){const r=new Map,s=a=>{const c=a-n;r.forEach((l,d)=>{d<c&&r.delete(d)})},i=()=>[...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 d=o;return o=!0,d?d3:bw}o=!1;const l=r.get(c)||0;return r.set(c,l+1),e(...a)}}class h3{constructor({options:t,recordingOptions:n}){this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:V$,sessionIdleExpire:U$},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=t3(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=f3((o,a)=>a2(this,o,a),300,5);const{slowClickTimeout:r,slowClickIgnoreSelectors:s}=this.getOptions(),i=r?{threshold:Math.min(K$,r),timeout:r,scrollTimeout:Y$,ignoreSelector:s?s.join(","):""}:void 0;if(i&&(this.clickDetector=new b5(this,i)),pe){const o=t._experiments;me.setConfig({captureExceptions:!!o.captureExceptions,traceInternals:!!o.traceInternals})}this._handleVisibilityChange=()=>{Ye.document.visibilityState==="visible"?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()},this._handleWindowBlur=()=>{const o=Hn({category:"ui.blur"});this._doChangeToBackgroundTasks(o)},this._handleWindowFocus=()=>{const o=Hn({category:"ui.focus"});this._doChangeToForegroundTasks(o)},this._handleKeyboardEvent=o=>{O5(this,o)}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}handleException(t){pe&&me.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){pe&&me.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",pe&&me.infoTick(`Starting replay in ${this.recordingMode} mode`),this._initializeRecording())}}start(){if(this._isEnabled&&this.recordingMode==="session"){pe&&me.log("Recording is already in progress");return}if(this._isEnabled&&this.recordingMode==="buffer"){pe&&me.log("Buffering is in progress, call `flush()` to save the replay");return}pe&&me.infoTick("Starting replay in session mode"),this._updateUserActivity();const t=ju({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){pe&&me.log("Buffering is in progress, call `flush()` to save the replay");return}pe&&me.infoTick("Starting replay in buffer mode");const t=ju({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=sr({...this._recordingOptions,...this.recordingMode==="buffer"?{checkoutEveryNms:z$}:this._options._experiments.continuousCheckout&&{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:r3(this),...n3(),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{pe&&me.log(`Stopping Replay${n?` triggered by ${n}`:""}`),hw(),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),t&&await this._flush({force:!0}),(r=this.eventBuffer)==null||r.destroy(),this.eventBuffer=null,n2(this)}catch(s){this.handleException(s)}}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),pe&&me.log("Pausing replay"))}resume(){!this._isPaused||!this._checkSession()||(this._isPaused=!1,this.startRecording(),pe&&me.log("Resuming replay"))}async sendBufferedReplayOrFlush({continueRecording:t=!0}={}){if(this.recordingMode==="session")return this.flushImmediate();const n=Date.now();pe&&me.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&&cf(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&this.session.sampled==="session"){this.pause();return}return!!this._checkSession()}setInitialState(){const t=`${Ye.location.pathname}${Ye.location.hash}${Ye.location.search}`,n=`${Ye.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===bw){const s=Hn({category:"replay.throttled"});this.addUpdate(()=>!ip(this,{type:h5,timestamp:s.timestamp||0,data:{tag:"breadcrumb",payload:s,metric:!0}}))}return r}getCurrentRoute(){const t=this.lastActiveSpan||Tt(),n=t&&wt(t),s=(n&&Re(n).data||{})[jt];if(!(!n||!s||!["route","custom"].includes(s)))return Re(n).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=Q5({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=ju({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 lw(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{Ye.document.addEventListener("visibilitychange",this._handleVisibilityChange),Ye.addEventListener("blur",this._handleWindowBlur),Ye.addEventListener("focus",this._handleWindowFocus),Ye.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(Z2(this),this._hasInitializedCoreListeners=!0)}catch(t){this.handleException(t)}this._performanceCleanupCallback=q5(this)}_removeListeners(){try{Ye.document.removeEventListener("visibilitychange",this._handleVisibilityChange),Ye.removeEventListener("blur",this._handleWindowBlur),Ye.removeEventListener("focus",this._handleWindowFocus),Ye.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(t){this.handleException(t)}}_doChangeToBackgroundTasks(t){!this.session||cw(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()){pe&&me.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:Te.Custom,timestamp:t.timestamp||0,data:{tag:"breadcrumb",payload:t}})})}_addPerformanceEntries(){let t=F5(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(Ul(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&&r<this._context.initialTimestamp&&(this._context.initialTimestamp=r)}_popEventContext(){const t={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),urls:this._context.urls};return this._clearContext(),t}async _runFlush(){var n;const t=this.getSessionId();if(!this.session||!this.eventBuffer||!t){pe&&me.error("No session or eventBuffer found to flush.");return}if(await this._addPerformanceEntries(),!!((n=this.eventBuffer)!=null&&n.hasEvents)&&(await Q2(this),!!this.eventBuffer&&t===this.getSessionId()))try{this._updateInitialTimestampFromEventBuffer();const r=Date.now();if(r-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw new oy;const s=this._popEventContext(),i=this.session.segmentId++;this._maybeSaveSession();const o=await this.eventBuffer.finish();await _w({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=Ce();if(s){let i;r instanceof ap?i="ratelimit_backoff":r instanceof oy?i="invalid":i="send_error",s.recordDroppedEvent(i,"replay")}}}async _flush({force:t=!1}={}){if(!this._isEnabled&&!t)return;if(!this.checkAndHandleExpiredSession()){pe&&me.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=s<this._options.minReplayDuration,o=s>this._options.maxReplayDuration+5e3;if(i||o){pe&&me.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&&pe&&me.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&&Vl(this.session)}_onMutationHandler(t){const{ignoreMutations:n}=this._options._experiments;if(n!=null&&n.length&&t.some(a=>{const c=o3(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=Hn({category:"replay.mutations",data:{count:r,limit:o}});this._createCustomBreadcrumb(a)}return o?(this.stop({reason:"mutationLimit",forceFlush:this.recordingMode==="session"}),!1):!0}}function oo(e,t){return[...e,...t].join(",")}function p3({mask:e,unmask:t,block:n,unblock:r,ignore:s}){const i=["base","iframe[srcdoc]:not([src])"],o=oo(e,[".sentry-mask","[data-sentry-mask]"]),a=oo(t,[]);return{maskTextSelector:o,unmaskTextSelector:a,blockSelector:oo(n,[".sentry-block","[data-sentry-block]",...i]),unblockSelector:oo(r,[]),ignoreSelector:oo(s,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'])}}function m3({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 ay='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',g3=["content-length","content-type","accept"],v3=Symbol.for("sentry__originalRequestBody");let cy=!1,ly=!1;function y3(){if(typeof Request>"u"||ly)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[v3]=r.body),s};t.prototype=e.prototype,xe.Request=t,ly=!0}catch{}}const _3=e=>new b3(e);class b3{constructor({flushMinDelay:t=W$,flushMaxDelay:n=j$,minReplayDuration:r=X$,maxReplayDuration:s=Bv,stickySession:i=!0,useCompression:o=!0,workerUrl:a,_experiments:c={},maskAllText:l=!0,maskAllInputs:d=!0,blockAllMedia:u=!0,mutationBreadcrumbLimit:f=750,mutationLimit:h=1e4,slowClickTimeout:p=7e3,slowClickIgnoreSelectors:m=[],networkDetailAllowUrls:v=[],networkDetailDenyUrls:g=[],networkCaptureBodies:y=!0,networkRequestHeaders:C=[],networkResponseHeaders:w=[],mask:I=[],maskAttributes:x=["title","placeholder","aria-label"],unmask:S=[],block:b=[],unblock:k=[],ignore:R=[],maskFn:M,beforeAddRecordingEvent:T,beforeErrorSampling:O,onError:$,attachRawBodyFromRequest:K=!1}={}){this.name="Replay";const Z=p3({mask:I,unmask:S,block:b,unblock:k,ignore:R});if(this._recordingOptions={maskAllInputs:d,maskAllText:l,maskInputOptions:{password:!0},maskTextFn:M,maskInputFn:M,maskAttributeFn:(z,N,oe)=>m3({maskAttributes:x,maskAllText:l,privacyOptions:Z,key:z,value:N,el:oe}),...Z,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:z=>{try{z.__rrweb__=!0}catch{}},recordCrossOriginIframes:!!c.recordCrossOriginIframes},this._initialOptions={flushMinDelay:t,flushMaxDelay:n,minReplayDuration:Math.min(r,J$),maxReplayDuration:Math.min(s,Bv),stickySession:i,useCompression:o,workerUrl:a,blockAllMedia:u,maskAllInputs:d,maskAllText:l,mutationBreadcrumbLimit:f,mutationLimit:h,slowClickTimeout:p,slowClickIgnoreSelectors:m,networkDetailAllowUrls:v,networkDetailDenyUrls:g,networkCaptureBodies:y,networkRequestHeaders:uy(C),networkResponseHeaders:uy(w),beforeAddRecordingEvent:T,beforeErrorSampling:O,onError:$,attachRawBodyFromRequest:K,_experiments:c},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${ay}`:ay,this._recordingOptions.ignoreCSSAttributes=new Set(["background-image"])),this._isInitialized&&zc())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return cy}set _isInitialized(t){cy=t}afterAllSetup(t){!zc()||this._replay||(this._initialOptions.attachRawBodyFromRequest&&y3(),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=S3(this._initialOptions,t);this._replay=new h3({options:n,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(t){try{const n=t.getIntegrationByName("ReplayCanvas");if(!n)return;this._replay._canvas=n.getOptions()}catch{}}}function S3(e,t){const n=t.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...e},s=Is(n.replaysSessionSampleRate),i=Is(n.replaysOnErrorSampleRate);return s==null&&i==null&&br(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),s!=null&&(r.sessionSampleRate=s),i!=null&&(r.errorSampleRate=i),r}function uy(e){return[...g3,...e.map(t=>t.toLowerCase())]}function E3(e){return e.split(",").some(t=>t.trim().startsWith("sentry-"))}function Sw(e){try{return new URL(e,Ae.location.origin).href}catch{return}}function w3(e){return e.entryType==="resource"&&"initiatorType"in e&&typeof e.nextHopProtocol=="string"&&(e.initiatorType==="fetch"||e.initiatorType==="xmlhttprequest")}function Ew(e){try{return new Headers(e)}catch{return}}const dy=new WeakMap,zu=new Map,ww={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function C3(e,t){const{traceFetch:n,traceXHR:r,trackFetchStreamPerformance:s,shouldCreateSpanForRequest:i,enableHTTPTimings:o,tracePropagationTargets:a,onRequestSpanStart:c,onRequestSpanEnd:l}={...ww,...t},d=typeof i=="function"?i:p=>!0,u=p=>T3(p,a),f={},h=e.getOptions().propagateTraceparent;n&&(e.addEventProcessor(p=>(p.type==="transaction"&&p.spans&&p.spans.forEach(m=>{if(m.op==="http.client"){const v=zu.get(m.span_id);v&&(m.timestamp=v/1e3,zu.delete(m.span_id))}}),p)),s&&NL(p=>{if(p.response){const m=dy.get(p.response);m&&p.endTimestamp&&zu.set(m,p.endTimestamp)}}),q0(p=>{const m=TL(p,d,u,f,{propagateTraceparent:h,onRequestSpanEnd:l});if(p.response&&p.fetchData.__span&&dy.set(p.response,p.fetchData.__span),m){const v=Sw(p.fetchData.url),g=v?Ss(v).host:void 0;m.setAttributes({"http.url":v?Dr(v):void 0,"server.address":g}),o&&fy(m),c==null||c(m,{headers:p.headers})}})),r&&TE(p=>{var v;const m=k3(p,d,u,f,h,l);m&&(o&&fy(m),c==null||c(m,{headers:Ew((v=p.xhr.__sentry_xhr_v3__)==null?void 0:v.request_headers)}))})}function fy(e){const{url:t}=Re(e).data;if(!t||typeof t!="string")return;const n=Rs("resource",({entries:r})=>{r.forEach(s=>{w3(s)&&s.name.endsWith(t)&&(e.setAttributes(EE(s)),setTimeout(n))})})}function T3(e,t){const n=Ls();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?nr(r.toString(),t)||i&&nr(r.pathname,t):i}else{const r=!!e.match(/^\/(?!\/)/);return t?nr(e,t):r}}function k3(e,t,n,r,s,i){const o=e.xhr,a=o==null?void 0:o[ds];if(!o||o.__sentry_own_request__||!a)return;const{url:c,method:l}=a,d=fn()&&t(c);if(e.endTimestamp){const g=o.__sentry_xhr_span_id__;if(!g)return;const y=r[g];y&&(d&&a.status_code!==void 0&&(QS(y,a.status_code),y.end(),i==null||i(y,{headers:Ew(RE(o)),error:e.error})),delete r[g]);return}const u=Sw(c),f=Ss(u||c),h=Dr(jO(c)),p=!!Tt(),m=d&&p?Ur({name:`${l} ${h}`,attributes:{url:Dr(c),type:"xhr","http.method":l,"http.url":u?Dr(u):void 0,"server.address":f==null?void 0:f.host,[st]:"auto.http.browser",[fr]:"http.client",...(f==null?void 0:f.search)&&{"http.query":f==null?void 0:f.search},...(f==null?void 0:f.hash)&&{"http.fragment":f==null?void 0:f.hash}}}):new Vr;o.__sentry_xhr_span_id__=m.spanContext().spanId,r[o.__sentry_xhr_span_id__]=m,n(c)&&I3(o,fn()&&p?m:void 0,s);const v=Ce();return v&&v.emit("beforeOutgoingRequestSpan",m,e),m}function I3(e,t,n){const{"sentry-trace":r,baggage:s,traceparent:i}=H0({span:t,propagateTraceparent:n});r&&x3(e,r,s,i)}function x3(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||!E3(o))&&e.setRequestHeader("baggage",n)}}catch{}}function R3(){Ae.document?Ae.document.addEventListener("visibilitychange",()=>{const e=Tt();if(!e)return;const t=wt(e);if(Ae.document.hidden&&t){const n="cancelled",{op:r,status:s}=Re(t);pn&&te.log(`[Tracing] Transaction: ${n} -> since tab moved to the background, op: ${r}`),s||t.setStatus({code:ht,message:n}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):pn&&te.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const A3=3600,Cw="sentry_previous_trace",M3="sentry.previous_trace";function P3(e,{linkPreviousTrace:t,consistentTraceSampling:n}){const r=t==="session-storage";let s=r?N3():void 0;e.on("spanStart",o=>{if(wt(o)!==o)return;const a=Oe().getPropagationContext();s=O3(s,o,a),r&&L3(s)});let i=!0;n&&e.on("beforeSampling",o=>{if(!s)return;const a=Oe(),c=a.getPropagationContext();if(i&&c.parentSpanId){i=!1;return}a.setPropagationContext({...c,dsc:{...c.dsc,sample_rate:String(s.sampleRate),sampled:String(df(s.spanContext))},sampleRand:s.sampleRand}),o.parentSampled=df(s.spanContext),o.parentSampleRate=s.sampleRate,o.spanAttributes={...o.spanAttributes,[ZS]:s.sampleRate}})}function O3(e,t,n){const r=Re(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[yh])}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<=A3&&(pn&&te.log(`Adding previous_trace \`${JSON.stringify(o)}\` link to span \`${JSON.stringify({op:r.op,...t.spanContext()})}\``),t.addLink({context:o,attributes:{[PM]:"previous_trace"}}),t.setAttribute(M3,`${o.traceId}-${o.spanId}-${df(o)?1:0}`)),i)}function L3(e){try{Ae.sessionStorage.setItem(Cw,JSON.stringify(e))}catch(t){pn&&te.warn("Could not store previous trace in sessionStorage",t)}}function N3(){var e;try{const t=(e=Ae.sessionStorage)==null?void 0:e.getItem(Cw);return JSON.parse(t)}catch{return}}function df(e){return e.traceFlags===1}const D3="BrowserTracing",F3={...ac,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:{},...ww},hy=(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:d,idleTimeout:u,finalTimeout:f,childSpanTimeout:h,markBackgroundSpan:p,traceFetch:m,traceXHR:v,trackFetchStreamPerformance:g,shouldCreateSpanForRequest:y,enableHTTPTimings:C,ignoreResourceSpans:w,ignorePerformanceApiSpans:I,instrumentPageLoad:x,instrumentNavigation:S,detectRedirects:b,linkPreviousTrace:k,consistentTraceSampling:R,enableReportPageLoaded:M,onRequestSpanStart:T,onRequestSpanEnd:O}={...F3,...e};let $,K,Z;function z(N,oe,U=!0){const J=oe.op==="pageload",re=oe.name,ie=d?d(oe):oe,Ee=ie.attributes||{};if(re!==ie.name&&(Ee[jt]="custom",ie.attributes=Ee),!U){const P=Ns();Ur({...ie,startTime:P}).end(P);return}t.name=ie.name,t.source=Ee[jt];const Me=b0(ie,{idleTimeout:u,finalTimeout:f,childSpanTimeout:h,disableAutoFinish:J,beforeSpanEnd:P=>{$==null||$(),oF(P,{recordClsOnPageloadSpan:!c,recordLcpOnPageloadSpan:!l,ignoreResourceSpans:w,ignorePerformanceApiSpans:I}),gy(N,void 0);const W=Oe(),X=W.getPropagationContext();W.setPropagationContext({...X,traceId:Me.spanContext().traceId,sampled:Xr(Me),dsc:hr(P)}),J&&(Z=void 0)},trimIdleSpanEndTimestamp:!M});J&&M&&(Z=Me),gy(N,Me);function De(){n&&["interactive","complete"].includes(n.readyState)&&N.emit("idleSpanEnableAutoFinish",Me)}J&&!M&&n&&(n.addEventListener("readystatechange",()=>{De()}),De())}return{name:D3,setup(N){if(cP(),$=QD({recordClsStandaloneSpans:c||!1,recordLcpStandaloneSpans:l||!1,client:N}),r&&PF(),s&&yF(),o&&xe.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?tF():i&&eF(),a&&nF(),b&&n){const U=()=>{K=lt()};addEventListener("click",U,{capture:!0}),addEventListener("keydown",U,{capture:!0,passive:!0})}function oe(){const U=Qo(N);U&&!Re(U).timestamp&&(pn&&te.log(`[Tracing] Finishing current active span with op: ${Re(U).op}`),U.setAttribute(zo,"cancelled"),U.end())}N.on("startNavigationSpan",(U,J)=>{if(Ce()!==N)return;if(J!=null&&J.isRedirect){pn&&te.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),z(N,{op:"navigation.redirect",...U},!1);return}K=void 0,oe(),$t().setPropagationContext({traceId:dr(),sampleRand:Math.random(),propagationSpanId:fn()?void 0:rr()});const re=Oe();re.setPropagationContext({traceId:dr(),sampleRand:Math.random(),propagationSpanId:fn()?void 0:rr()}),re.setSDKProcessingMetadata({normalizedRequest:void 0}),z(N,{op:"navigation",...U,parentSpan:null,forceTransaction:!0})}),N.on("startPageLoadSpan",(U,J={})=>{if(Ce()!==N)return;oe();const re=J.sentryTrace||py("sentry-trace")||my("sentry-trace"),ie=J.baggage||py("baggage")||my("baggage"),Ee=QM(re,ie),Me=Oe();Me.setPropagationContext(Ee),fn()||(Me.getPropagationContext().propagationSpanId=rr()),Me.setSDKProcessingMetadata({normalizedRequest:Fh()}),z(N,{op:"pageload",...U})}),N.on("endPageloadSpan",()=>{M&&Z&&(Z.setAttribute(zo,"reportPageLoaded"),Z.end())})},afterAllSetup(N){let oe=Ls();if(k!=="off"&&P3(N,{linkPreviousTrace:k,consistentTraceSampling:R}),Ae.location){if(x){const U=Kt();$3(N,{name:Ae.location.pathname,startTime:U?U/1e3:void 0,attributes:{[jt]:"url",[st]:"auto.pageload.browser"}})}S&&Fl(({to:U,from:J})=>{if(J===void 0&&(oe==null?void 0:oe.indexOf(U))!==-1){oe=void 0;return}oe=void 0;const re=Mh(U),ie=Qo(N),Ee=ie&&b&&H3(ie,K);Tw(N,{name:(re==null?void 0:re.pathname)||Ae.location.pathname,attributes:{[jt]:"url",[st]:"auto.navigation.browser"}},{url:U,isRedirect:Ee})})}p&&R3(),a&&B3(N,u,f,h,t),r&&NF(),C3(N,{traceFetch:m,traceXHR:v,trackFetchStreamPerformance:g,tracePropagationTargets:N.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:y,enableHTTPTimings:C,onRequestSpanStart:T,onRequestSpanEnd:O})}}};function $3(e,t,n){e.emit("startPageLoadSpan",t,n),Oe().setTransactionName(t.name);const r=Qo(e);return r&&e.emit("afterStartPageLoadSpan",r),r}function Tw(e,t,n){const{url:r,isRedirect:s}=n||{};e.emit("beforeStartNavigationSpan",t,{isRedirect:s}),e.emit("startNavigationSpan",t,{isRedirect:s});const i=Oe();return i.setTransactionName(t.name),r&&!s&&i.setSDKProcessingMetadata({normalizedRequest:{...Fh(),url:r}}),Qo(e)}function py(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 my(e){var r,s,i;const t=(s=(r=Ae.performance)==null?void 0:r.getEntriesByType)==null?void 0:s.call(r,"navigation")[0],n=(i=t==null?void 0:t.serverTiming)==null?void 0:i.find(o=>o.name===e);return n==null?void 0:n.description}function B3(e,t,n,r,s){const i=Ae.document;let o;const a=()=>{const c="ui.action.click",l=Qo(e);if(l){const d=Re(l).op;if(["navigation","pageload"].includes(d)){pn&&te.warn(`[Tracing] Did not create ${c} span because a pageload or navigation span is in progress.`);return}}if(o&&(o.setAttribute(zo,"interactionInterrupted"),o.end(),o=void 0),!s.name){pn&&te.warn(`[Tracing] Did not create ${c} transaction because _latestRouteName is missing.`);return}o=b0({name:s.name,op:c,attributes:{[jt]:s.source||"url"}},{idleTimeout:t,finalTimeout:n,childSpanTimeout:r})};i&&addEventListener("click",a,{capture:!0})}const kw="_sentry_idleSpan";function Qo(e){return e[kw]}function gy(e,t){Gt(e,kw,t)}const vy=1.5;function H3(e,t){const n=Re(e),r=Ns(),s=n.start_timestamp;return!(r-s>vy||t&&r-t<=vy)}const Iw=["activate","mount"],xw=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,V3=/(?:^|[-_])(\w)/g,U3=e=>e.replace(V3,t=>t.toUpperCase()).replace(/[-_]/g,""),W3="<Root>",qu="<Anonymous>",j3=(e,t)=>e.repeat(t),Io=(e,t)=>{if(!e)return qu;if(e.$root===e)return W3;if(!e.$options)return qu;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?`<${U3(r)}>`:qu)+(s&&t!==!1?` at ${s}`:"")},z3=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?"---> ":j3(" ",5+i*2))+(Array.isArray(s)?`${Io(s[0])}... (${s[1]} recursive calls)`:Io(s))}`).join(`
|
||
`)}`}return`
|
||
|
||
(found in ${Io(e)})`},q3=(e,t)=>{const{errorHandler:n}=e.config;e.config.errorHandler=(r,s,i)=>{var l;const o=Io(s,!1),a=s?z3(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(()=>{Ol(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}},yy="ui.vue",G3={activate:["activated","deactivated"],create:["beforeCreate","created"],unmount:["beforeUnmount","unmounted"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]};function Gu(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 K3(e,t){function n(s){return s.replace(/^<([^\s]*)>(?: at [^\s]*)?$/,"$1")}return e.some(s=>n(t)===n(s))}const Y3=(e={})=>{const t=(e.hooks||[]).concat(Iw).filter((s,i,o)=>o.indexOf(s)===i),n={},r=e.timeout||2e3;for(const s of t){const i=G3[s];if(!i){xw&&te.warn(`Unknown hook: ${s}`);continue}for(const o of i)n[o]=function(){var f;const a=this.$root===this;a&&(this.$_sentryRootComponentSpan=this.$_sentryRootComponentSpan||Ur({name:"Application Render",op:`${yy}.render`,attributes:{[st]:"auto.ui.vue"},onlyIfParent:!0}),Gu(this,lt(),r));const c=Io(this,!1);if(!(a||(Array.isArray(e.trackComponents)?K3(e.trackComponents,c):e.trackComponents))){Gu(this,lt(),r);return}this.$_sentryComponentSpans=this.$_sentryComponentSpans||{};const d=o===i[0],u=((f=this.$root)==null?void 0:f.$_sentryRootComponentSpan)||Tt();if(d){if(u){const h=this.$_sentryComponentSpans[s];h&&h.end(),this.$_sentryComponentSpans[s]=Ur({name:`Vue ${c}`,op:`${yy}.${s}`,attributes:{[st]:"auto.ui.vue"},onlyIfParent:!0})}}else{const h=this.$_sentryComponentSpans[s];if(!h)return;h.end(),Gu(this,lt(),r)}}}return n},X3=xe,J3={Vue:X3.Vue,attachProps:!0,attachErrorHandler:!0,tracingOptions:{hooks:Iw,timeout:2e3,trackComponents:!1}},Z3="Vue",Q3=(e={})=>({name:Z3,setup(t){const n={...J3,...t.getOptions(),...e};if(!n.Vue&&!n.app){br(()=>{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=>_y(s,n)):n.Vue&&_y(n.Vue,n)}}),_y=(e,t)=>{var n;xw&&((n=e._instance)==null?void 0:n.isMounted)===!0&&br(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue app is already mounted. Make sure to call `app.mount()` after `Sentry.init()`.")}),t.attachErrorHandler&&q3(e,t),fn(t)&&e.mixin(Y3(t.tracingOptions))};function e4(e={}){const t={defaultIntegrations:[...PE(),Q3()],...e};return B0(t,"vue"),B$(t)}function t4(e,t,n){let r=!1;const s="mode"in e;e.onError(i=>Ol(i,{mechanism:{handled:!1}})),e.beforeEach((i,o,...a)=>{const c=r?void 0:n4(),l={};for(const f of Object.keys(i.params))l[`url.path.parameter.${f}`]=i.params[f],l[`params.${f}`]=i.params[f];for(const f of Object.keys(i.query)){const h=i.query[f];h&&(l[`query.${f}`]=h)}let d=i.path,u="url";if(i.name&&t.routeLabel!=="path")d=i.name.toString(),u="custom";else if(i.matched.length>0){const f=i.matched.length-1;d=i.matched[f].path,u="route"}if(Oe().setTransactionName(d),t.instrumentPageLoad&&c&&(Re(c).data[jt]!=="custom"&&(c.updateName(d),c.setAttribute(jt,u)),c.setAttributes({...l,[st]:"auto.pageload.vue"}),r=!0),t.instrumentNavigation&&!c&&n({name:d,op:"navigation",attributes:{...l,[st]:"auto.navigation.vue",[jt]:u}}),s){const f=a[0];typeof f=="function"&&f()}})}function n4(){const e=Tt(),t=e&&wt(e);return t&&Re(t).op==="pageload"?t:void 0}function r4(e={}){if(!e.router)return hy(e);const t=hy({...e,instrumentNavigation:!1}),{router:n,instrumentNavigation:r=!0,instrumentPageLoad:s=!0,routeLabel:i="name"}=e;return{...t,afterAllSetup(o){t.afterAllSetup(o),t4(n,{routeLabel:i,instrumentNavigation:r,instrumentPageLoad:s},c=>{Tw(o,c)})}}}const s4=Pb(),Xi=ZC(XA);let is=null;e4({app:Xi,dsn:"https://dc34ab47426f49c0925445f0d87b7007@report.houlang.cloud/6",sendDefaultPii:!0,integrations:[r4({router:Cl}),_3({maskAllText:!1,blockAllMedia:!1}),is=iD({autoInject:!1,colorScheme:"system",showBranding:!1,showName:!0,showEmail:!0,isNameRequired:!1,isEmailRequired:!1,useSentryUser:{name:"username",email:"email"},themeDark:{submitBackground:"#6200EA",submitBackgroundHover:"#7C4DFF"},themeLight:{submitBackground:"#6200EA",submitBackgroundHover:"#7C4DFF"}})],tracesSampleRate:1,tracePropagationTargets:["localhost",/^https?:\/\/cs\.(houlang\.cloud|houlangs\.com)/],replaysSessionSampleRate:0,replaysOnErrorSampleRate:0,enableLogs:!0,beforeSend(e){return e}});DS().then(e=>{lO({id:e,username:e}),cO("fingerprint",e),console.log("Sentry 用户标识已设置:",e)}).catch(e=>{console.warn("设置 Sentry 用户标识失败:",e)});window.openSentryFeedback=()=>{try{if(!is)return console.warn("Sentry Feedback integration 未初始化"),!1;if(typeof is.createWidget=="function"){const e=is.createWidget();if(e&&typeof e.open=="function")return e.open(),console.log("Sentry Feedback 对话框已打开"),!0}return typeof is.openDialog=="function"?(is.openDialog(),console.log("Sentry Feedback 对话框已打开"),!0):(console.warn("无法找到打开 Feedback 的方法"),console.log("可用方法:",Object.keys(is)),!1)}catch(e){return console.error("打开 Sentry Feedback 时出错:",e),!1}};window.startSentryReplay=()=>{try{const e=Ce();if(!e)return console.warn("Sentry 客户端未初始化"),!1;const n=(e.getOptions().integrations||[]).find(r=>r&&r.name==="Replay");return n&&typeof n.start=="function"?(n.start(),console.log("Sentry Replay 已手动启动"),!0):(console.warn("无法找到 Sentry Replay integration"),!1)}catch(e){return console.error("启动 Sentry Replay 时出错:",e),!1}};Cx(Xi);Xi.use(Ys);Xi.use(s4);Xi.component("GlobalMessage",gS);Xi.mount("#app");document.readyState==="complete"?by():window.addEventListener("load",by,{once:!0});async function by(){try{const e=(await _t(async()=>{const{default:r}=await import("./index-ghQi_28l.js");return{default:r}},[],import.meta.url)).default;e.init("rhp8uqoc3l");const n=await DS();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{kn as $,bn as A,$4 as B,F_ as C,rd as D,Je as E,Qe as F,L1 as G,pA as H,ws as I,Lf as J,SS as K,Bc as L,vS as M,l4 as N,c4 as O,WA as P,xd as Q,ng as R,Wo as S,Nf as T,U4 as U,YA as V,V4 as W,qk as X,tA as Y,gr as Z,Gb as _,RA as a,Qs as a$,AS as a0,RS as a1,we as a2,j as a3,pt as a4,Tx as a5,kx as a6,P4 as a7,L4 as a8,O4 as a9,As as aA,bi as aB,li as aC,ss as aD,fd as aE,gR as aF,Bi as aG,ih as aH,_l as aI,ge as aJ,Ms as aK,$f as aL,cd as aM,i4 as aN,Wf as aO,DS as aP,z4 as aQ,j4 as aR,et as aS,_4 as aT,NA as aU,lT as aV,un as aW,S4 as aX,gs as aY,cT as aZ,Et as a_,eR as aa,vr as ab,Mx as ac,_t as ad,Se as ae,o4 as af,Zb as ag,Ut as ah,oA as ai,GR as aj,kr as ak,hg as al,bS as am,$c as an,D4 as ao,N4 as ap,rk as aq,Un as ar,Bf as as,p4 as at,mS as au,ee as av,yt as aw,v4 as ax,g4 as ay,be as az,tt as b,Oi as b$,yo as b0,k4 as b1,T4 as b2,hn as b3,eb as b4,mg as b5,ld as b6,sa as b7,B4 as b8,Wk as b9,aR as bA,DR as bB,M4 as bC,hi as bD,am as bE,NR as bF,A4 as bG,x4 as bH,Fi as bI,fl as bJ,Ys as bK,ui as bL,h4 as bM,E4 as bN,Ne as bO,BR as bP,$R as bQ,Wx as bR,Ux as bS,Mt as bT,jx as bU,Vx as bV,nb as bW,f4 as bX,vt as bY,mt as bZ,C4 as b_,Ct as ba,m4 as bb,cr as bc,fA as bd,_r as be,Ib as bf,Qf as bg,rm as bh,fS as bi,nn as bj,yr as bk,Il as bl,hl as bm,oh as bn,mn as bo,aa as bp,oa as bq,Hr as br,Rx as bs,Px as bt,Ox as bu,MR as bv,AR as bw,oT as bx,Di as by,$i as bz,H as c,u4 as c0,Ts as c1,ad as c2,y4 as c3,eS as c4,sR as c5,Qb as c6,fe as c7,Fn as c8,Tf as c9,a4 as cA,R4 as cB,kl as cC,nh as cD,W4 as cE,rh as cF,Gr as cG,Cf as cH,gl as cI,cb as cJ,Br as cK,F4 as cL,jT as ca,Lo as cb,x1 as cc,Kf as cd,d4 as ce,Ps as cf,Tl as cg,RR as ch,f_ as ci,aT as cj,_o as ck,dA as cl,ib as cm,b4 as cn,th as co,eh as cp,w4 as cq,FA as cr,GA as cs,p_ as ct,la as cu,ca as cv,qr as cw,I4 as cx,J_ as cy,H4 as cz,Le as d,Vi as e,Hi as f,$e as g,ct as h,ae as i,$n as j,Jf as k,gg as l,Pt as m,Xe as n,cn as o,ue as p,yS as q,O1 as r,xx as s,Wn as t,iI as u,co as v,gt as w,vA as x,cS as y,kd as z};
|