const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-CYOGjTTJ.js","assets/FluentCard-cJiglwf2.js","assets/FluentCard-KD78BpGy.css","assets/VSkeletonLoader-B886n0sb.js","assets/VSkeletonLoader-CXVQn6GN.css","assets/index-NNAdiar_.css","assets/_..path_-53c_IJVg.js","assets/_.-CDD-oHQF.css","assets/404-Db1jzh9L.js","assets/404-azHqEVzp.css","assets/index-BT3a1Pwb.js","assets/index-CpcVSjvk.js","assets/FluentDialog-BIcGRz4v.js","assets/FluentDialog-DFj1whAR.css","assets/tracedFetch-Dgf3NevA.js","assets/index-FTYu2Fgy.css","assets/index-BT_tSoDI.js","assets/VProgressCircular-DR2kpWiO.js","assets/VProgressCircular-CdlgCVV9.css","assets/FluentSnackbar-CJYpTVKO.js","assets/FluentSnackbar-DgDWuWTY.css","assets/FluentInfoBar-BbALT8G_.js","assets/FluentInfoBar-B5Rd7fgM.css","assets/index-nnYJe_ti.css","assets/index-TvuUCbpD.js","assets/index-V1iE4er8.css","assets/index-BW8eErBl.js","assets/index-D1fLvUkG.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)}})();/** * @vue/shared v3.5.17 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **//*! #__NO_SIDE_EFFECTS__ */function xu(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Me={},as=[],un=()=>{},I_=()=>!1,Na=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Iu=e=>e.startsWith("onUpdate:"),Xe=Object.assign,Cu=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},C_=Object.prototype.hasOwnProperty,Ce=(e,t)=>C_.call(e,t),se=Array.isArray,cs=e=>Da(e)==="[object Map]",Gm=e=>Da(e)==="[object Set]",ae=e=>typeof e=="function",We=e=>typeof e=="string",Fn=e=>typeof e=="symbol",Le=e=>e!==null&&typeof e=="object",Ym=e=>(Le(e)||ae(e))&&ae(e.then)&&ae(e.catch),Km=Object.prototype.toString,Da=e=>Km.call(e),A_=e=>Da(e).slice(8,-1),Xm=e=>Da(e)==="[object Object]",Au=e=>We(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Xs=xu(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),La=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},R_=/-(\w)/g,$t=La(e=>e.replace(R_,(t,n)=>n?n.toUpperCase():"")),M_=/\B([A-Z])/g,Br=La(e=>e.replace(M_,"-$1").toLowerCase()),Fa=La(e=>e.charAt(0).toUpperCase()+e.slice(1)),bc=La(e=>e?`on${Fa(e)}`:""),Jn=(e,t)=>!Object.is(e,t),Sc=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},O_=e=>{const t=parseFloat(e);return isNaN(t)?e:t},P_=e=>{const t=We(e)?Number(e):NaN;return isNaN(t)?e:t};let Jf;const $a=()=>Jf||(Jf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Cs(e){if(se(e)){const t={};for(let n=0;n{if(n){const r=n.split(D_);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Tn(e){let t="";if(We(e))t=e;else if(se(e))for(let n=0;n!!(e&&e.__v_isRef===!0),Pr=e=>We(e)?e:e==null?"":se(e)||Le(e)&&(e.toString===Km||!ae(e.toString))?Qm(e)?Pr(e.value):JSON.stringify(e,eg,2):String(e),eg=(e,t)=>Qm(t)?eg(e,t.value):cs(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],i)=>(n[wc(r,i)+" =>"]=s,n),{})}:Gm(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>wc(n))}:Fn(t)?wc(t):Le(t)&&!se(t)&&!Xm(t)?String(t):t,wc=(e,t="")=>{var n;return Fn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** * @vue/reactivity v3.5.17 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let at;class tg{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=at,!t&&at&&(this.index=(at.scopes||(at.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0&&--this._on===0&&(at=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n0)return;if(Qs){let t=Qs;for(Qs=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Js;){let t=Js;for(Js=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 og(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function ag(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),Pu(r),B_(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function yl(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(cg(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function cg(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===mi)||(e.globalVersion=mi,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!yl(e))))return;e.flags|=2;const t=e.dep,n=Ne,r=Vt;Ne=e,Vt=!0;try{og(e);const s=e.fn(e._value);(t.version===0||Jn(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{Ne=n,Vt=r,ag(e),e.flags&=-3}}function Pu(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)Pu(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function B_(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Vt=!0;const lg=[];function kn(){lg.push(Vt),Vt=!1}function xn(){const e=lg.pop();Vt=e===void 0?!0:e}function Qf(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ne;Ne=void 0;try{t()}finally{Ne=n}}}let mi=0;class j_{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 Nu{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(!Ne||!Vt||Ne===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ne)n=this.activeLink=new j_(Ne,this),Ne.deps?(n.prevDep=Ne.depsTail,Ne.depsTail.nextDep=n,Ne.depsTail=n):Ne.deps=Ne.depsTail=n,ug(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=Ne.depsTail,n.nextDep=void 0,Ne.depsTail.nextDep=n,Ne.depsTail=n,Ne.deps===n&&(Ne.deps=r)}return n}trigger(t){this.version++,mi++,this.notify(t)}notify(t){Mu();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ou()}}}function ug(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)ug(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Go=new WeakMap,Tr=Symbol(""),vl=Symbol(""),gi=Symbol("");function ct(e,t,n){if(Vt&&Ne){let r=Go.get(e);r||Go.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new Nu),s.map=r,s.key=n),s.track()}}function vn(e,t,n,r,s,i){const o=Go.get(e);if(!o){mi++;return}const a=c=>{c&&c.trigger()};if(Mu(),t==="clear")o.forEach(a);else{const c=se(e),l=c&&Au(n);if(c&&n==="length"){const u=Number(r);o.forEach((f,d)=>{(d==="length"||d===gi||!Fn(d)&&d>=u)&&a(f)})}else switch((n!==void 0||o.has(void 0))&&a(o.get(n)),l&&a(o.get(gi)),t){case"add":c?l&&a(o.get("length")):(a(o.get(Tr)),cs(e)&&a(o.get(vl)));break;case"delete":c||(a(o.get(Tr)),cs(e)&&a(o.get(vl)));break;case"set":cs(e)&&a(o.get(Tr));break}}Ou()}function U_(e,t){const n=Go.get(e);return n&&n.get(t)}function qr(e){const t=ve(e);return t===e?t:(ct(t,"iterate",gi),Nt(e)?t:t.map(rt))}function Ha(e){return ct(e=ve(e),"iterate",gi),e}const W_={__proto__:null,[Symbol.iterator](){return Tc(this,Symbol.iterator,rt)},concat(...e){return qr(this).concat(...e.map(t=>se(t)?qr(t):t))},entries(){return Tc(this,"entries",e=>(e[1]=rt(e[1]),e))},every(e,t){return hn(this,"every",e,t,void 0,arguments)},filter(e,t){return hn(this,"filter",e,t,n=>n.map(rt),arguments)},find(e,t){return hn(this,"find",e,t,rt,arguments)},findIndex(e,t){return hn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return hn(this,"findLast",e,t,rt,arguments)},findLastIndex(e,t){return hn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return hn(this,"forEach",e,t,void 0,arguments)},includes(...e){return kc(this,"includes",e)},indexOf(...e){return kc(this,"indexOf",e)},join(e){return qr(this).join(e)},lastIndexOf(...e){return kc(this,"lastIndexOf",e)},map(e,t){return hn(this,"map",e,t,void 0,arguments)},pop(){return js(this,"pop")},push(...e){return js(this,"push",e)},reduce(e,...t){return ed(this,"reduce",e,t)},reduceRight(e,...t){return ed(this,"reduceRight",e,t)},shift(){return js(this,"shift")},some(e,t){return hn(this,"some",e,t,void 0,arguments)},splice(...e){return js(this,"splice",e)},toReversed(){return qr(this).toReversed()},toSorted(e){return qr(this).toSorted(e)},toSpliced(...e){return qr(this).toSpliced(...e)},unshift(...e){return js(this,"unshift",e)},values(){return Tc(this,"values",rt)}};function Tc(e,t,n){const r=Ha(e),s=r[t]();return r!==e&&!Nt(e)&&(s._next=s.next,s.next=()=>{const i=s._next();return i.value&&(i.value=n(i.value)),i}),s}const z_=Array.prototype;function hn(e,t,n,r,s,i){const o=Ha(e),a=o!==e&&!Nt(e),c=o[t];if(c!==z_[t]){const f=c.apply(e,i);return a?rt(f):f}let l=n;o!==e&&(a?l=function(f,d){return n.call(this,rt(f),d,e)}:n.length>2&&(l=function(f,d){return n.call(this,f,d,e)}));const u=c.call(o,l,r);return a&&s?s(u):u}function ed(e,t,n,r){const s=Ha(e);let i=n;return s!==e&&(Nt(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,rt(a),c,e)}),s[t](i,...r)}function kc(e,t,n){const r=ve(e);ct(r,"iterate",gi);const s=r[t](...n);return(s===-1||s===!1)&&Fu(n[0])?(n[0]=ve(n[0]),r[t](...n)):s}function js(e,t,n=[]){kn(),Mu();const r=ve(e)[t].apply(e,n);return Ou(),xn(),r}const V_=xu("__proto__,__v_isRef,__isVue"),fg=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Fn));function Z_(e){Fn(e)||(e=String(e));const t=ve(this);return ct(t,"has",e),t.hasOwnProperty(e)}class dg{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?nb:gg:i?mg:pg).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=se(t);if(!s){let c;if(o&&(c=W_[n]))return c;if(n==="hasOwnProperty")return Z_}const a=Reflect.get(t,n,Ke(t)?t:r);return(Fn(n)?fg.has(n):V_(n))||(s||ct(t,"get",n),i)?a:Ke(a)?o&&Au(n)?a:a.value:Le(a)?s?Ba(a):xt(a):a}}class hg extends dg{constructor(t=!1){super(!1,t)}set(t,n,r,s){let i=t[n];if(!this._isShallow){const c=nr(i);if(!Nt(r)&&!nr(r)&&(i=ve(i),r=ve(r)),!se(t)&&Ke(i)&&!Ke(r))return c?!1:(i.value=r,!0)}const o=se(t)&&Au(n)?Number(n)e,ao=e=>Reflect.getPrototypeOf(e);function X_(e,t,n){return function(...r){const s=this.__v_raw,i=ve(s),o=cs(i),a=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,l=s[e](...r),u=n?_l:t?Yo:rt;return!t&&ct(i,"iterate",c?vl:Tr),{next(){const{value:f,done:d}=l.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function co(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function J_(e,t){const n={get(s){const i=this.__v_raw,o=ve(i),a=ve(s);e||(Jn(s,a)&&ct(o,"get",s),ct(o,"get",a));const{has:c}=ao(o),l=t?_l:e?Yo:rt;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&&ct(ve(s),"iterate",Tr),Reflect.get(s,"size",s)},has(s){const i=this.__v_raw,o=ve(i),a=ve(s);return e||(Jn(s,a)&&ct(o,"has",s),ct(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=ve(a),l=t?_l:e?Yo:rt;return!e&&ct(c,"iterate",Tr),a.forEach((u,f)=>s.call(i,l(u),l(f),o))}};return Xe(n,e?{add:co("add"),set:co("set"),delete:co("delete"),clear:co("clear")}:{add(s){!t&&!Nt(s)&&!nr(s)&&(s=ve(s));const i=ve(this);return ao(i).has.call(i,s)||(i.add(s),vn(i,"add",s,s)),this},set(s,i){!t&&!Nt(i)&&!nr(i)&&(i=ve(i));const o=ve(this),{has:a,get:c}=ao(o);let l=a.call(o,s);l||(s=ve(s),l=a.call(o,s));const u=c.call(o,s);return o.set(s,i),l?Jn(i,u)&&vn(o,"set",s,i):vn(o,"add",s,i),this},delete(s){const i=ve(this),{has:o,get:a}=ao(i);let c=o.call(i,s);c||(s=ve(s),c=o.call(i,s)),a&&a.call(i,s);const l=i.delete(s);return c&&vn(i,"delete",s,void 0),l},clear(){const s=ve(this),i=s.size!==0,o=s.clear();return i&&vn(s,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=X_(s,e,t)}),n}function Du(e,t){const n=J_(e,t);return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(Ce(n,s)&&s in r?n:r,s,i)}const Q_={get:Du(!1,!1)},eb={get:Du(!1,!0)},tb={get:Du(!0,!1)};const pg=new WeakMap,mg=new WeakMap,gg=new WeakMap,nb=new WeakMap;function rb(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function sb(e){return e.__v_skip||!Object.isExtensible(e)?0:rb(A_(e))}function xt(e){return nr(e)?e:Lu(e,!1,G_,Q_,pg)}function yg(e){return Lu(e,!1,K_,eb,mg)}function Ba(e){return Lu(e,!0,Y_,tb,gg)}function Lu(e,t,n,r,s){if(!Le(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=sb(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 ls(e){return nr(e)?ls(e.__v_raw):!!(e&&e.__v_isReactive)}function nr(e){return!!(e&&e.__v_isReadonly)}function Nt(e){return!!(e&&e.__v_isShallow)}function Fu(e){return e?!!e.__v_raw:!1}function ve(e){const t=e&&e.__v_raw;return t?ve(t):e}function ib(e){return!Ce(e,"__v_skip")&&Object.isExtensible(e)&&ml(e,"__v_skip",!0),e}const rt=e=>Le(e)?xt(e):e,Yo=e=>Le(e)?Ba(e):e;function Ke(e){return e?e.__v_isRef===!0:!1}function jt(e){return vg(e,!1)}function Dt(e){return vg(e,!0)}function vg(e,t){return Ke(e)?e:new ob(e,t)}class ob{constructor(t,n){this.dep=new Nu,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ve(t),this._value=n?t:rt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Nt(t)||nr(t);t=r?t:ve(t),Jn(t,n)&&(this._rawValue=t,this._value=r?t:rt(t),this.dep.trigger())}}function Qn(e){return Ke(e)?e.value:e}function ab(e){return ae(e)?e():Qn(e)}const cb={get:(e,t,n)=>t==="__v_raw"?e:Qn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Ke(s)&&!Ke(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function _g(e){return ls(e)?e:new Proxy(e,cb)}function lb(e){const t=se(e)?new Array(e.length):{};for(const n in e)t[n]=bg(e,n);return t}class ub{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return U_(ve(this._object),this._key)}}class fb{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 lt(e,t,n){return Ke(e)?e:ae(e)?new fb(e):Le(e)&&arguments.length>1?bg(e,t,n):jt(e)}function bg(e,t,n){const r=e[t];return Ke(r)?r:new ub(e,t,n)}class db{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Nu(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=mi-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Ne!==this)return ig(this,!0),!0}get value(){const t=this.dep.track();return cg(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function hb(e,t,n=!1){let r,s;return ae(e)?r=e:(r=e.get,s=e.set),new db(r,s,n)}const lo={},Ko=new WeakMap;let vr;function pb(e,t=!1,n=vr){if(n){let r=Ko.get(n);r||Ko.set(n,r=[]),r.push(e)}}function mb(e,t,n=Me){const{immediate:r,deep:s,once:i,scheduler:o,augmentJob:a,call:c}=n,l=T=>s?T:Nt(T)||s===!1||s===0?_n(T,1):_n(T);let u,f,d,h,p=!1,m=!1;if(Ke(e)?(f=()=>e.value,p=Nt(e)):ls(e)?(f=()=>l(e),p=!0):se(e)?(m=!0,p=e.some(T=>ls(T)||Nt(T)),f=()=>e.map(T=>{if(Ke(T))return T.value;if(ls(T))return l(T);if(ae(T))return c?c(T,2):T()})):ae(e)?t?f=c?()=>c(e,2):e:f=()=>{if(d){kn();try{d()}finally{xn()}}const T=vr;vr=u;try{return c?c(e,3,[h]):e(h)}finally{vr=T}}:f=un,t&&s){const T=f,A=s===!0?1/0:s;f=()=>_n(T(),A)}const S=ng(),y=()=>{u.stop(),S&&S.active&&Cu(S.effects,u)};if(i&&t){const T=t;t=(...A)=>{T(...A),y()}}let _=m?new Array(e.length).fill(lo):lo;const w=T=>{if(!(!(u.flags&1)||!u.dirty&&!T))if(t){const A=u.run();if(s||p||(m?A.some((E,I)=>Jn(E,_[I])):Jn(A,_))){d&&d();const E=vr;vr=u;try{const I=[A,_===lo?void 0:m&&_[0]===lo?[]:_,h];_=A,c?c(t,3,I):t(...I)}finally{vr=E}}}else u.run()};return a&&a(w),u=new rg(f),u.scheduler=o?()=>o(w,!1):w,h=T=>pb(T,!1,u),d=u.onStop=()=>{const T=Ko.get(u);if(T){if(c)c(T,4);else for(const A of T)A();Ko.delete(u)}},t?r?w(!0):_=u.run():o?o(w.bind(null,!0),!0):u.run(),y.pause=u.pause.bind(u),y.resume=u.resume.bind(u),y.stop=y,y}function _n(e,t=1/0,n){if(t<=0||!Le(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Ke(e))_n(e.value,t,n);else if(se(e))for(let r=0;r{_n(r,t,n)});else if(Xm(e)){for(const r in e)_n(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&_n(e[r],t,n)}return e}/** * @vue/runtime-core v3.5.17 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function $i(e,t,n,r){try{return r?e(...r):e()}catch(s){ja(s,t,n)}}function qt(e,t,n,r){if(ae(e)){const s=$i(e,t,n,r);return s&&Ym(s)&&s.catch(i=>{ja(i,t,n)}),s}if(se(e)){const s=[];for(let i=0;i>>1,s=pt[r],i=yi(s);i=yi(n)?pt.push(e):pt.splice(yb(t),0,e),e.flags|=1,wg()}}function wg(){Xo||(Xo=Sg.then(Tg))}function vb(e){se(e)?us.push(...e):Zn&&e.id===-1?Zn.splice(Jr+1,0,e):e.flags&1||(us.push(e),e.flags|=1),wg()}function td(e,t,n=rn+1){for(;nyi(n)-yi(r));if(us.length=0,Zn){Zn.push(...t);return}for(Zn=t,Jr=0;Jre.id==null?e.flags&2?-1:1/0:e.id;function Tg(e){try{for(rn=0;rn{r._d&&md(-1);const i=Jo(t);let o;try{o=e(...s)}finally{Jo(i),r._d&&md(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function gN(e,t){if(Ye===null)return e;const n=Ga(Ye),r=e.dirs||(e.dirs=[]);for(let s=0;se.__isTeleport,ei=e=>e&&(e.disabled||e.disabled===""),nd=e=>e&&(e.defer||e.defer===""),rd=e=>typeof SVGElement<"u"&&e instanceof SVGElement,sd=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,bl=(e,t)=>{const n=e&&e.to;return We(n)?t?t(n):null:n},Cg={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,i,o,a,c,l){const{mc:u,pc:f,pbc:d,o:{insert:h,querySelector:p,createText:m,createComment:S}}=l,y=ei(t.props);let{shapeFlag:_,children:w,dynamicChildren:T}=t;if(e==null){const A=t.el=m(""),E=t.anchor=m("");h(A,n,r),h(E,n,r);const I=(k,N)=>{_&16&&(s&&s.isCE&&(s.ce._teleportTarget=k),u(w,k,N,s,i,o,a,c))},F=()=>{const k=t.target=bl(t.props,p),N=Ag(k,t,m,h);k&&(o!=="svg"&&rd(k)?o="svg":o!=="mathml"&&sd(k)&&(o="mathml"),y||(I(k,N),Po(t,!1)))};y&&(I(n,E),Po(t,!0)),nd(t.props)?(t.el.__isMounted=!1,ht(()=>{F(),delete t.el.__isMounted},i)):F()}else{if(nd(t.props)&&e.el.__isMounted===!1){ht(()=>{Cg.process(e,t,n,r,s,i,o,a,c,l)},i);return}t.el=e.el,t.targetStart=e.targetStart;const A=t.anchor=e.anchor,E=t.target=e.target,I=t.targetAnchor=e.targetAnchor,F=ei(e.props),k=F?n:E,N=F?A:I;if(o==="svg"||rd(E)?o="svg":(o==="mathml"||sd(E))&&(o="mathml"),T?(d(e.dynamicChildren,T,k,s,i,o,a),zu(e,t,!0)):c||f(e,t,k,N,s,i,o,a,!1),y)F?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):uo(t,n,A,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const q=t.target=bl(t.props,p);q&&uo(t,q,null,l,0)}else F&&uo(t,E,I,l,1);Po(t,y)}},remove(e,t,n,{um:r,o:{remove:s}},i){const{shapeFlag:o,children:a,anchor:c,targetStart:l,targetAnchor:u,target:f,props:d}=e;if(f&&(s(l),s(u)),i&&s(c),o&16){const h=i||!ei(d);for(let p=0;p{e.isMounted=!0}),za(()=>{e.isUnmounting=!0}),e}const Ot=[Function,Array],Mg={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ot,onEnter:Ot,onAfterEnter:Ot,onEnterCancelled:Ot,onBeforeLeave:Ot,onLeave:Ot,onAfterLeave:Ot,onLeaveCancelled:Ot,onBeforeAppear:Ot,onAppear:Ot,onAfterAppear:Ot,onAppearCancelled:Ot},Og=e=>{const t=e.subTree;return t.component?Og(t.component):t},bb={name:"BaseTransition",props:Mg,setup(e,{slots:t}){const n=qa(),r=Rg();return()=>{const s=t.default&&Bu(t.default(),!0);if(!s||!s.length)return;const i=Pg(s),o=ve(e),{mode:a}=o;if(r.isLeaving)return xc(i);const c=id(i);if(!c)return xc(i);let l=vi(c,o,r,n,f=>l=f);c.type!==ut&&Nr(c,l);let u=n.subTree&&id(n.subTree);if(u&&u.type!==ut&&!_r(c,u)&&Og(n).type!==ut){let f=vi(u,o,r,n);if(Nr(u,f),a==="out-in"&&c.type!==ut)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,u=void 0},xc(i);a==="in-out"&&c.type!==ut?f.delayLeave=(d,h,p)=>{const m=Ng(r,u);m[String(u.key)]=u,d[qn]=()=>{h(),d[qn]=void 0,delete l.delayedLeave,u=void 0},l.delayedLeave=()=>{p(),delete l.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return i}}};function Pg(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ut){t=n;break}}return t}const Sb=bb;function Ng(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 vi(e,t,n,r,s){const{appear:i,mode:o,persisted:a=!1,onBeforeEnter:c,onEnter:l,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:d,onLeave:h,onAfterLeave:p,onLeaveCancelled:m,onBeforeAppear:S,onAppear:y,onAfterAppear:_,onAppearCancelled:w}=t,T=String(e.key),A=Ng(n,e),E=(k,N)=>{k&&qt(k,r,9,N)},I=(k,N)=>{const q=N[1];E(k,N),se(k)?k.every(R=>R.length<=1)&&q():k.length<=1&&q()},F={mode:o,persisted:a,beforeEnter(k){let N=c;if(!n.isMounted)if(i)N=S||c;else return;k[qn]&&k[qn](!0);const q=A[T];q&&_r(e,q)&&q.el[qn]&&q.el[qn](),E(N,[k])},enter(k){let N=l,q=u,R=f;if(!n.isMounted)if(i)N=y||l,q=_||u,R=w||f;else return;let K=!1;const re=k[fo]=J=>{K||(K=!0,J?E(R,[k]):E(q,[k]),F.delayedLeave&&F.delayedLeave(),k[fo]=void 0)};N?I(N,[k,re]):re()},leave(k,N){const q=String(e.key);if(k[fo]&&k[fo](!0),n.isUnmounting)return N();E(d,[k]);let R=!1;const K=k[qn]=re=>{R||(R=!0,N(),re?E(m,[k]):E(p,[k]),k[qn]=void 0,A[q]===e&&delete A[q])};A[q]=e,h?I(h,[k,K]):K()},clone(k){const N=vi(k,t,n,r,s);return s&&s(N),N}};return F}function xc(e){if(Ua(e))return e=rr(e),e.children=null,e}function id(e){if(!Ua(e))return Ig(e.type)&&e.children?Pg(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ae(n.default))return n.default()}}function Nr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Nr(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 Bu(e,t=!1,n){let r=[],s=0;for(let i=0;i1)for(let i=0;iti(p,t&&(se(t)?t[m]:t),n,r,s));return}if(fs(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&ti(e,t,n,r.component.subTree);return}const i=r.shapeFlag&4?Ga(r.component):r.el,o=s?null:i,{i:a,r:c}=e,l=t&&t.r,u=a.refs===Me?a.refs={}:a.refs,f=a.setupState,d=ve(f),h=f===Me?()=>!1:p=>Ce(d,p);if(l!=null&&l!==c&&(We(l)?(u[l]=null,h(l)&&(f[l]=null)):Ke(l)&&(l.value=null)),ae(c))$i(c,a,12,[o,u]);else{const p=We(c),m=Ke(c);if(p||m){const S=()=>{if(e.f){const y=p?h(c)?f[c]:u[c]:c.value;s?se(y)&&Cu(y,i):se(y)?y.includes(i)||y.push(i):p?(u[c]=[i],h(c)&&(f[c]=u[c])):(c.value=[i],e.k&&(u[e.k]=c.value))}else p?(u[c]=o,h(c)&&(f[c]=o)):m&&(c.value=o,e.k&&(u[e.k]=o))};o?(S.id=-1,ht(S,n)):S()}}}$a().requestIdleCallback;$a().cancelIdleCallback;const fs=e=>!!e.type.__asyncLoader,Ua=e=>e.type.__isKeepAlive;function Lg(e,t){$g(e,"a",t)}function Fg(e,t){$g(e,"da",t)}function $g(e,t,n=Qe){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Wa(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Ua(s.parent.vnode)&&wb(r,t,n,s),s=s.parent}}function wb(e,t,n,r){const s=Wa(t,e,r,!0);Bg(()=>{Cu(r[t],s)},n)}function Wa(e,t,n=Qe,r=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{kn();const a=ji(n),c=qt(t,n,e,o);return a(),xn(),c});return r?s.unshift(i):s.push(i),i}}const $n=e=>(t,n=Qe)=>{(!Si||e==="sp")&&Wa(e,(...r)=>t(...r),n)},Eb=$n("bm"),Hi=$n("m"),Tb=$n("bu"),Hg=$n("u"),za=$n("bum"),Bg=$n("um"),kb=$n("sp"),xb=$n("rtg"),Ib=$n("rtc");function Cb(e,t=Qe){Wa("ec",e,t)}const Ab="components";function Bi(e,t){return Mb(Ab,e,!0,t)||e}const Rb=Symbol.for("v-ndc");function Mb(e,t,n=!0,r=!1){const s=Ye||Qe;if(s){const i=s.type;{const a=y2(i,!1);if(a&&(a===t||a===$t(t)||a===Fa($t(t))))return i}const o=od(s[e]||i[e],t)||od(s.appContext[e],t);return!o&&r?i:o}}function od(e,t){return e&&(e[t]||e[$t(t)]||e[Fa($t(t))])}function ju(e,t,n,r){let s;const i=n,o=se(e);if(o||We(e)){const a=o&&ls(e);let c=!1,l=!1;a&&(c=!Nt(e),l=nr(e),e=Ha(e)),s=new Array(e.length);for(let u=0,f=e.length;ut(a,c,void 0,i));else{const a=Object.keys(e);s=new Array(a.length);for(let c=0,l=a.length;cbi(t)?!(t.type===ut||t.type===Ze&&!jg(t.children)):!0)?e:null}const Sl=e=>e?o0(e)?Ga(e):Sl(e.parent):null,ni=Xe(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=>Sl(e.parent),$root:e=>Sl(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Wg(e),$forceUpdate:e=>e.f||(e.f=()=>{Hu(e.update)}),$nextTick:e=>e.n||(e.n=$u.bind(e.proxy)),$watch:e=>Qb.bind(e)}),Ic=(e,t)=>e!==Me&&!e.__isScriptSetup&&Ce(e,t),Ob={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;let l;if(t[0]!=="$"){const h=o[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(Ic(r,t))return o[t]=1,r[t];if(s!==Me&&Ce(s,t))return o[t]=2,s[t];if((l=e.propsOptions[0])&&Ce(l,t))return o[t]=3,i[t];if(n!==Me&&Ce(n,t))return o[t]=4,n[t];wl&&(o[t]=0)}}const u=ni[t];let f,d;if(u)return t==="$attrs"&&ct(e.attrs,"get",""),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==Me&&Ce(n,t))return o[t]=4,n[t];if(d=c.config.globalProperties,Ce(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return Ic(s,t)?(s[t]=n,!0):r!==Me&&Ce(r,t)?(r[t]=n,!0):Ce(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,propsOptions:i}},o){let a;return!!n[o]||e!==Me&&Ce(e,o)||Ic(t,o)||(a=i[0])&&Ce(a,o)||Ce(r,o)||Ce(ni,o)||Ce(s.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ce(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ad(e){return se(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let wl=!0;function Pb(e){const t=Wg(e),n=e.proxy,r=e.ctx;wl=!1,t.beforeCreate&&cd(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:a,provide:c,inject:l,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:p,activated:m,deactivated:S,beforeDestroy:y,beforeUnmount:_,destroyed:w,unmounted:T,render:A,renderTracked:E,renderTriggered:I,errorCaptured:F,serverPrefetch:k,expose:N,inheritAttrs:q,components:R,directives:K,filters:re}=t;if(l&&Nb(l,r,null),o)for(const L in o){const G=o[L];ae(G)&&(r[L]=G.bind(n))}if(s){const L=s.call(n,n);Le(L)&&(e.data=xt(L))}if(wl=!0,i)for(const L in i){const G=i[L],Q=ae(G)?G.bind(n,n):ae(G.get)?G.get.bind(n,n):un,ke=!ae(G)&&ae(G.set)?G.set.bind(n):un,we=me({get:Q,set:ke});Object.defineProperty(r,L,{enumerable:!0,configurable:!0,get:()=>we.value,set:pe=>we.value=pe})}if(a)for(const L in a)Ug(a[L],r,n,L);if(c){const L=ae(c)?c.call(n):c;Reflect.ownKeys(L).forEach(G=>{xr(G,L[G])})}u&&cd(u,e,"c");function X(L,G){se(G)?G.forEach(Q=>L(Q.bind(n))):G&&L(G.bind(n))}if(X(Eb,f),X(Hi,d),X(Tb,h),X(Hg,p),X(Lg,m),X(Fg,S),X(Cb,F),X(Ib,E),X(xb,I),X(za,_),X(Bg,T),X(kb,k),se(N))if(N.length){const L=e.exposed||(e.exposed={});N.forEach(G=>{Object.defineProperty(L,G,{get:()=>n[G],set:Q=>n[G]=Q})})}else e.exposed||(e.exposed={});A&&e.render===un&&(e.render=A),q!=null&&(e.inheritAttrs=q),R&&(e.components=R),K&&(e.directives=K),k&&Dg(e)}function Nb(e,t,n=un){se(e)&&(e=El(e));for(const r in e){const s=e[r];let i;Le(s)?"default"in s?i=et(s.from||r,s.default,!0):i=et(s.from||r):i=et(s),Ke(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[r]=i}}function cd(e,t,n){qt(se(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ug(e,t,n,r){let s=r.includes(".")?e0(n,r):()=>n[r];if(We(e)){const i=t[e];ae(i)&&Lt(s,i)}else if(ae(e))Lt(s,e.bind(n));else if(Le(e))if(se(e))e.forEach(i=>Ug(i,t,n,r));else{const i=ae(e.handler)?e.handler.bind(n):t[e.handler];ae(i)&&Lt(s,i,e)}}function Wg(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=>Qo(c,l,o,!0)),Qo(c,t,o)),Le(t)&&i.set(t,c),c}function Qo(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&Qo(e,i,n,!0),s&&s.forEach(o=>Qo(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const a=Db[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const Db={data:ld,props:ud,emits:ud,methods:Gs,computed:Gs,beforeCreate:ft,created:ft,beforeMount:ft,mounted:ft,beforeUpdate:ft,updated:ft,beforeDestroy:ft,beforeUnmount:ft,destroyed:ft,unmounted:ft,activated:ft,deactivated:ft,errorCaptured:ft,serverPrefetch:ft,components:Gs,directives:Gs,watch:Fb,provide:ld,inject:Lb};function ld(e,t){return t?e?function(){return Xe(ae(e)?e.call(this,this):e,ae(t)?t.call(this,this):t)}:t:e}function Lb(e,t){return Gs(El(e),El(t))}function El(e){if(se(e)){const t={};for(let n=0;n1)return n&&ae(t)?t.call(r&&r.proxy):t}}function Bb(){return!!(Qe||Ye||kr)}const Vg={},Zg=()=>Object.create(Vg),qg=e=>Object.getPrototypeOf(e)===Vg;function jb(e,t,n,r=!1){const s={},i=Zg();e.propsDefaults=Object.create(null),Gg(e,t,s,i);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=r?s:yg(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function Ub(e,t,n,r){const{props:s,attrs:i,vnode:{patchFlag:o}}=e,a=ve(s),[c]=e.propsOptions;let l=!1;if((r||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let f=0;f{c=!0;const[d,h]=Yg(f,t,!0);Xe(o,d),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!c)return Le(e)&&r.set(e,as),as;if(se(i))for(let u=0;ue[0]==="_"||e==="$stable",Wu=e=>se(e)?e.map(on):[on(e)],zb=(e,t,n)=>{if(t._n)return t;const r=Pt((...s)=>Wu(t(...s)),n);return r._c=!1,r},Kg=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Uu(s))continue;const i=e[s];if(ae(i))t[s]=zb(s,i,r);else if(i!=null){const o=Wu(i);t[s]=()=>o}}},Xg=(e,t)=>{const n=Wu(t);e.slots.default=()=>n},Jg=(e,t,n)=>{for(const r in t)(n||!Uu(r))&&(e[r]=t[r])},Vb=(e,t,n)=>{const r=e.slots=Zg();if(e.vnode.shapeFlag&32){const s=t.__;s&&ml(r,"__",s,!0);const i=t._;i?(Jg(r,t,n),n&&ml(r,"_",i,!0)):Kg(t,r)}else t&&Xg(e,t)},Zb=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,o=Me;if(r.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:Jg(s,t,n):(i=!t.$stable,Kg(t,s)),o=t}else t&&(Xg(e,t),o={default:1});if(i)for(const a in s)!Uu(a)&&o[a]==null&&delete s[a]},ht=o2;function qb(e){return Gb(e)}function Gb(e,t){const n=$a();n.__VUE__=!0;const{insert:r,remove:s,patchProp:i,createElement:o,createText:a,createComment:c,setText:l,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=un,insertStaticContent:p}=e,m=(g,v,b,x=null,P=null,M=null,Z=void 0,U=null,O=!!v.dynamicChildren)=>{if(g===v)return;g&&!_r(g,v)&&(x=C(g),pe(g,P,M,!0),g=null),v.patchFlag===-2&&(O=!1,v.dynamicChildren=null);const{type:D,ref:B,shapeFlag:$}=v;switch(D){case Za:S(g,v,b,x);break;case ut:y(g,v,b,x);break;case No:g==null&&_(v,b,x,Z);break;case Ze:R(g,v,b,x,P,M,Z,U,O);break;default:$&1?A(g,v,b,x,P,M,Z,U,O):$&6?K(g,v,b,x,P,M,Z,U,O):($&64||$&128)&&D.process(g,v,b,x,P,M,Z,U,O,Y)}B!=null&&P?ti(B,g&&g.ref,M,v||g,!v):B==null&&g&&g.ref!=null&&ti(g.ref,null,M,g,!0)},S=(g,v,b,x)=>{if(g==null)r(v.el=a(v.children),b,x);else{const P=v.el=g.el;v.children!==g.children&&l(P,v.children)}},y=(g,v,b,x)=>{g==null?r(v.el=c(v.children||""),b,x):v.el=g.el},_=(g,v,b,x)=>{[g.el,g.anchor]=p(g.children,v,b,x,g.el,g.anchor)},w=({el:g,anchor:v},b,x)=>{let P;for(;g&&g!==v;)P=d(g),r(g,b,x),g=P;r(v,b,x)},T=({el:g,anchor:v})=>{let b;for(;g&&g!==v;)b=d(g),s(g),g=b;s(v)},A=(g,v,b,x,P,M,Z,U,O)=>{v.type==="svg"?Z="svg":v.type==="math"&&(Z="mathml"),g==null?E(v,b,x,P,M,Z,U,O):k(g,v,P,M,Z,U,O)},E=(g,v,b,x,P,M,Z,U)=>{let O,D;const{props:B,shapeFlag:$,transition:j,dirs:ne}=g;if(O=g.el=o(g.type,M,B&&B.is,B),$&8?u(O,g.children):$&16&&F(g.children,O,null,x,P,Cc(g,M),Z,U),ne&&pr(g,null,x,"created"),I(O,g,g.scopeId,Z,x),B){for(const Oe in B)Oe!=="value"&&!Xs(Oe)&&i(O,Oe,null,B[Oe],M,x);"value"in B&&i(O,"value",null,B.value,M),(D=B.onVnodeBeforeMount)&&en(D,x,g)}ne&&pr(g,null,x,"beforeMount");const ye=Yb(P,j);ye&&j.beforeEnter(O),r(O,v,b),((D=B&&B.onVnodeMounted)||ye||ne)&&ht(()=>{D&&en(D,x,g),ye&&j.enter(O),ne&&pr(g,null,x,"mounted")},P)},I=(g,v,b,x,P)=>{if(b&&h(g,b),x)for(let M=0;M{for(let D=O;D{const U=v.el=g.el;let{patchFlag:O,dynamicChildren:D,dirs:B}=v;O|=g.patchFlag&16;const $=g.props||Me,j=v.props||Me;let ne;if(b&&mr(b,!1),(ne=j.onVnodeBeforeUpdate)&&en(ne,b,v,g),B&&pr(v,g,b,"beforeUpdate"),b&&mr(b,!0),($.innerHTML&&j.innerHTML==null||$.textContent&&j.textContent==null)&&u(U,""),D?N(g.dynamicChildren,D,U,b,x,Cc(v,P),M):Z||G(g,v,U,null,b,x,Cc(v,P),M,!1),O>0){if(O&16)q(U,$,j,b,P);else if(O&2&&$.class!==j.class&&i(U,"class",null,j.class,P),O&4&&i(U,"style",$.style,j.style,P),O&8){const ye=v.dynamicProps;for(let Oe=0;Oe{ne&&en(ne,b,v,g),B&&pr(v,g,b,"updated")},x)},N=(g,v,b,x,P,M,Z)=>{for(let U=0;U{if(v!==b){if(v!==Me)for(const M in v)!Xs(M)&&!(M in b)&&i(g,M,v[M],null,P,x);for(const M in b){if(Xs(M))continue;const Z=b[M],U=v[M];Z!==U&&M!=="value"&&i(g,M,U,Z,P,x)}"value"in b&&i(g,"value",v.value,b.value,P)}},R=(g,v,b,x,P,M,Z,U,O)=>{const D=v.el=g?g.el:a(""),B=v.anchor=g?g.anchor:a("");let{patchFlag:$,dynamicChildren:j,slotScopeIds:ne}=v;ne&&(U=U?U.concat(ne):ne),g==null?(r(D,b,x),r(B,b,x),F(v.children||[],b,B,P,M,Z,U,O)):$>0&&$&64&&j&&g.dynamicChildren?(N(g.dynamicChildren,j,b,P,M,Z,U),(v.key!=null||P&&v===P.subTree)&&zu(g,v,!0)):G(g,v,b,B,P,M,Z,U,O)},K=(g,v,b,x,P,M,Z,U,O)=>{v.slotScopeIds=U,g==null?v.shapeFlag&512?P.ctx.activate(v,b,x,Z,O):re(v,b,x,P,M,Z,O):J(g,v,O)},re=(g,v,b,x,P,M,Z)=>{const U=g.component=d2(g,x,P);if(Ua(g)&&(U.ctx.renderer=Y),h2(U,!1,Z),U.asyncDep){if(P&&P.registerDep(U,X,Z),!g.el){const O=U.subTree=he(ut);y(null,O,v,b)}}else X(U,g,v,b,P,M,Z)},J=(g,v,b)=>{const x=v.component=g.component;if(s2(g,v,b))if(x.asyncDep&&!x.asyncResolved){L(x,v,b);return}else x.next=v,x.update();else v.el=g.el,x.vnode=v},X=(g,v,b,x,P,M,Z)=>{const U=()=>{if(g.isMounted){let{next:$,bu:j,u:ne,parent:ye,vnode:Oe}=g;{const Jt=Qg(g);if(Jt){$&&($.el=Oe.el,L(g,$,Z)),Jt.asyncDep.then(()=>{g.isUnmounted||U()});return}}let Re=$,vt;mr(g,!1),$?($.el=Oe.el,L(g,$,Z)):$=Oe,j&&Sc(j),(vt=$.props&&$.props.onVnodeBeforeUpdate)&&en(vt,ye,$,Oe),mr(g,!0);const _t=hd(g),Xt=g.subTree;g.subTree=_t,m(Xt,_t,f(Xt.el),C(Xt),g,P,M),$.el=_t.el,Re===null&&i2(g,_t.el),ne&&ht(ne,P),(vt=$.props&&$.props.onVnodeUpdated)&&ht(()=>en(vt,ye,$,Oe),P)}else{let $;const{el:j,props:ne}=v,{bm:ye,m:Oe,parent:Re,root:vt,type:_t}=g,Xt=fs(v);mr(g,!1),ye&&Sc(ye),!Xt&&($=ne&&ne.onVnodeBeforeMount)&&en($,Re,v),mr(g,!0);{vt.ce&&vt.ce._def.shadowRoot!==!1&&vt.ce._injectChildStyle(_t);const Jt=g.subTree=hd(g);m(null,Jt,b,x,g,P,M),v.el=Jt.el}if(Oe&&ht(Oe,P),!Xt&&($=ne&&ne.onVnodeMounted)){const Jt=v;ht(()=>en($,Re,Jt),P)}(v.shapeFlag&256||Re&&fs(Re.vnode)&&Re.vnode.shapeFlag&256)&&g.a&&ht(g.a,P),g.isMounted=!0,v=b=x=null}};g.scope.on();const O=g.effect=new rg(U);g.scope.off();const D=g.update=O.run.bind(O),B=g.job=O.runIfDirty.bind(O);B.i=g,B.id=g.uid,O.scheduler=()=>Hu(B),mr(g,!0),D()},L=(g,v,b)=>{v.component=g;const x=g.vnode.props;g.vnode=v,g.next=null,Ub(g,v.props,x,b),Zb(g,v.children,b),kn(),td(g),xn()},G=(g,v,b,x,P,M,Z,U,O=!1)=>{const D=g&&g.children,B=g?g.shapeFlag:0,$=v.children,{patchFlag:j,shapeFlag:ne}=v;if(j>0){if(j&128){ke(D,$,b,x,P,M,Z,U,O);return}else if(j&256){Q(D,$,b,x,P,M,Z,U,O);return}}ne&8?(B&16&&Je(D,P,M),$!==D&&u(b,$)):B&16?ne&16?ke(D,$,b,x,P,M,Z,U,O):Je(D,P,M,!0):(B&8&&u(b,""),ne&16&&F($,b,x,P,M,Z,U,O))},Q=(g,v,b,x,P,M,Z,U,O)=>{g=g||as,v=v||as;const D=g.length,B=v.length,$=Math.min(D,B);let j;for(j=0;j<$;j++){const ne=v[j]=O?Gn(v[j]):on(v[j]);m(g[j],ne,b,null,P,M,Z,U,O)}D>B?Je(g,P,M,!0,!1,$):F(v,b,x,P,M,Z,U,O,$)},ke=(g,v,b,x,P,M,Z,U,O)=>{let D=0;const B=v.length;let $=g.length-1,j=B-1;for(;D<=$&&D<=j;){const ne=g[D],ye=v[D]=O?Gn(v[D]):on(v[D]);if(_r(ne,ye))m(ne,ye,b,null,P,M,Z,U,O);else break;D++}for(;D<=$&&D<=j;){const ne=g[$],ye=v[j]=O?Gn(v[j]):on(v[j]);if(_r(ne,ye))m(ne,ye,b,null,P,M,Z,U,O);else break;$--,j--}if(D>$){if(D<=j){const ne=j+1,ye=nej)for(;D<=$;)pe(g[D],P,M,!0),D++;else{const ne=D,ye=D,Oe=new Map;for(D=ye;D<=j;D++){const Et=v[D]=O?Gn(v[D]):on(v[D]);Et.key!=null&&Oe.set(Et.key,D)}let Re,vt=0;const _t=j-ye+1;let Xt=!1,Jt=0;const Bs=new Array(_t);for(D=0;D<_t;D++)Bs[D]=0;for(D=ne;D<=$;D++){const Et=g[D];if(vt>=_t){pe(Et,P,M,!0);continue}let Qt;if(Et.key!=null)Qt=Oe.get(Et.key);else for(Re=ye;Re<=j;Re++)if(Bs[Re-ye]===0&&_r(Et,v[Re])){Qt=Re;break}Qt===void 0?pe(Et,P,M,!0):(Bs[Qt-ye]=D+1,Qt>=Jt?Jt=Qt:Xt=!0,m(Et,v[Qt],b,null,P,M,Z,U,O),vt++)}const Kf=Xt?Kb(Bs):as;for(Re=Kf.length-1,D=_t-1;D>=0;D--){const Et=ye+D,Qt=v[Et],Xf=Et+1{const{el:M,type:Z,transition:U,children:O,shapeFlag:D}=g;if(D&6){we(g.component.subTree,v,b,x);return}if(D&128){g.suspense.move(v,b,x);return}if(D&64){Z.move(g,v,b,Y);return}if(Z===Ze){r(M,v,b);for(let $=0;$U.enter(M),P);else{const{leave:$,delayLeave:j,afterLeave:ne}=U,ye=()=>{g.ctx.isUnmounted?s(M):r(M,v,b)},Oe=()=>{$(M,()=>{ye(),ne&&ne()})};j?j(M,ye,Oe):Oe()}else r(M,v,b)},pe=(g,v,b,x=!1,P=!1)=>{const{type:M,props:Z,ref:U,children:O,dynamicChildren:D,shapeFlag:B,patchFlag:$,dirs:j,cacheIndex:ne}=g;if($===-2&&(P=!1),U!=null&&(kn(),ti(U,null,b,g,!0),xn()),ne!=null&&(v.renderCache[ne]=void 0),B&256){v.ctx.deactivate(g);return}const ye=B&1&&j,Oe=!fs(g);let Re;if(Oe&&(Re=Z&&Z.onVnodeBeforeUnmount)&&en(Re,v,g),B&6)yt(g.component,b,x);else{if(B&128){g.suspense.unmount(b,x);return}ye&&pr(g,null,v,"beforeUnmount"),B&64?g.type.remove(g,v,b,Y,x):D&&!D.hasOnce&&(M!==Ze||$>0&&$&64)?Je(D,v,b,!1,!0):(M===Ze&&$&384||!P&&B&16)&&Je(O,v,b),x&&ze(g)}(Oe&&(Re=Z&&Z.onVnodeUnmounted)||ye)&&ht(()=>{Re&&en(Re,v,g),ye&&pr(g,null,v,"unmounted")},b)},ze=g=>{const{type:v,el:b,anchor:x,transition:P}=g;if(v===Ze){tt(b,x);return}if(v===No){T(g);return}const M=()=>{s(b),P&&!P.persisted&&P.afterLeave&&P.afterLeave()};if(g.shapeFlag&1&&P&&!P.persisted){const{leave:Z,delayLeave:U}=P,O=()=>Z(b,M);U?U(g.el,M,O):O()}else M()},tt=(g,v)=>{let b;for(;g!==v;)b=d(g),s(g),g=b;s(v)},yt=(g,v,b)=>{const{bum:x,scope:P,job:M,subTree:Z,um:U,m:O,a:D,parent:B,slots:{__:$}}=g;dd(O),dd(D),x&&Sc(x),B&&se($)&&$.forEach(j=>{B.renderCache[j]=void 0}),P.stop(),M&&(M.flags|=8,pe(Z,g,v,b)),U&&ht(U,v),ht(()=>{g.isUnmounted=!0},v),v&&v.pendingBranch&&!v.isUnmounted&&g.asyncDep&&!g.asyncResolved&&g.suspenseId===v.pendingId&&(v.deps--,v.deps===0&&v.resolve())},Je=(g,v,b,x=!1,P=!1,M=0)=>{for(let Z=M;Z{if(g.shapeFlag&6)return C(g.component.subTree);if(g.shapeFlag&128)return g.suspense.next();const v=d(g.anchor||g.el),b=v&&v[xg];return b?d(b):v};let z=!1;const V=(g,v,b)=>{g==null?v._vnode&&pe(v._vnode,null,null,!0):m(v._vnode||null,g,v,null,null,null,b),v._vnode=g,z||(z=!0,td(),Eg(),z=!1)},Y={p:m,um:pe,m:we,r:ze,mt:re,mc:F,pc:G,pbc:N,n:C,o:e};return{render:V,hydrate:void 0,createApp:Hb(V)}}function Cc({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 mr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Yb(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function zu(e,t,n=!1){const r=e.children,s=t.children;if(se(r)&&se(s))for(let i=0;i>1,e[n[a]]0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function Qg(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Qg(t)}function dd(e){if(e)for(let t=0;tet(Xb);function As(e,t){return Vu(e,null,t)}function Lt(e,t,n){return Vu(e,t,n)}function Vu(e,t,n=Me){const{immediate:r,deep:s,flush:i,once:o}=n,a=Xe({},n),c=t&&r||!t&&i!=="post";let l;if(Si){if(i==="sync"){const h=Jb();l=h.__watcherHandles||(h.__watcherHandles=[])}else if(!c){const h=()=>{};return h.stop=un,h.resume=un,h.pause=un,h}}const u=Qe;a.call=(h,p,m)=>qt(h,u,p,m);let f=!1;i==="post"?a.scheduler=h=>{ht(h,u&&u.suspense)}:i!=="sync"&&(f=!0,a.scheduler=(h,p)=>{p?h():Hu(h)}),a.augmentJob=h=>{t&&(h.flags|=4),f&&(h.flags|=2,u&&(h.id=u.uid,h.i=u))};const d=mb(e,t,a);return Si&&(l?l.push(d):c&&d()),d}function Qb(e,t,n){const r=this.proxy,s=We(e)?e.includes(".")?e0(r,e):()=>r[e]:e.bind(r,r);let i;ae(t)?i=t:(i=t.handler,n=t);const o=ji(this),a=Vu(s,i.bind(r),n);return o(),a}function e0(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;st==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${$t(t)}Modifiers`]||e[`${Br(t)}Modifiers`];function t2(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Me;let s=n;const i=t.startsWith("update:"),o=i&&e2(r,t.slice(7));o&&(o.trim&&(s=n.map(u=>We(u)?u.trim():u)),o.number&&(s=n.map(O_)));let a,c=r[a=bc(t)]||r[a=bc($t(t))];!c&&i&&(c=r[a=bc(Br(t))]),c&&qt(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,qt(l,e,6,s)}}function t0(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const i=e.emits;let o={},a=!1;if(!ae(e)){const c=l=>{const u=t0(l,t,!0);u&&(a=!0,Xe(o,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!a?(Le(e)&&r.set(e,null),null):(se(i)?i.forEach(c=>o[c]=null):Xe(o,i),Le(e)&&r.set(e,o),o)}function Va(e,t){return!e||!Na(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ce(e,t[0].toLowerCase()+t.slice(1))||Ce(e,Br(t))||Ce(e,t))}function hd(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[i],slots:o,attrs:a,emit:c,render:l,renderCache:u,props:f,data:d,setupState:h,ctx:p,inheritAttrs:m}=e,S=Jo(e);let y,_;try{if(n.shapeFlag&4){const T=s||r,A=T;y=on(l.call(A,T,u,f,h,d,p)),_=a}else{const T=t;y=on(T.length>1?T(f,{attrs:a,slots:o,emit:c}):T(f,null)),_=t.props?a:n2(a)}}catch(T){ri.length=0,ja(T,e,1),y=he(ut)}let w=y;if(_&&m!==!1){const T=Object.keys(_),{shapeFlag:A}=w;T.length&&A&7&&(i&&T.some(Iu)&&(_=r2(_,i)),w=rr(w,_,!1,!0))}return n.dirs&&(w=rr(w,null,!1,!0),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&Nr(w,n.transition),y=w,Jo(S),y}const n2=e=>{let t;for(const n in e)(n==="class"||n==="style"||Na(n))&&((t||(t={}))[n]=e[n]);return t},r2=(e,t)=>{const n={};for(const r in e)(!Iu(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function s2(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?pd(r,o,l):!!o;if(c&8){const u=t.dynamicProps;for(let f=0;fe.__isSuspense;function o2(e,t){t&&t.pendingBranch?se(e)?t.effects.push(...e):t.effects.push(e):vb(e)}const Ze=Symbol.for("v-fgt"),Za=Symbol.for("v-txt"),ut=Symbol.for("v-cmt"),No=Symbol.for("v-stc"),ri=[];let It=null;function _e(e=!1){ri.push(It=e?null:[])}function a2(){ri.pop(),It=ri[ri.length-1]||null}let _i=1;function md(e,t=!1){_i+=e,e<0&&It&&t&&(It.hasOnce=!0)}function r0(e){return e.dynamicChildren=_i>0?It||as:null,a2(),_i>0&&It&&It.push(e),e}function je(e,t,n,r,s,i){return r0(ue(e,t,n,r,s,i,!0))}function Zt(e,t,n,r,s){return r0(he(e,t,n,r,s,!0))}function bi(e){return e?e.__v_isVNode===!0:!1}function _r(e,t){return e.type===t.type&&e.key===t.key}const s0=({key:e})=>e??null,Do=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?We(e)||Ke(e)||ae(e)?{i:Ye,r:e,k:t,f:!!n}:e:null);function ue(e,t=null,n=null,r=0,s=null,i=e===Ze?0:1,o=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&s0(t),ref:t&&Do(t),scopeId:kg,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:Ye};return a?(Zu(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=We(n)?8:16),_i>0&&!o&&It&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&It.push(c),c}const he=c2;function c2(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===Rb)&&(e=ut),bi(e)){const a=rr(e,t,!0);return n&&Zu(a,n),_i>0&&!i&&It&&(a.shapeFlag&6?It[It.indexOf(e)]=a:It.push(a)),a.patchFlag=-2,a}if(v2(e)&&(e=e.__vccOpts),t){t=l2(t);let{class:a,style:c}=t;a&&!We(a)&&(t.class=Tn(a)),Le(c)&&(Fu(c)&&!se(c)&&(c=Xe({},c)),t.style=Cs(c))}const o=We(e)?1:n0(e)?128:Ig(e)?64:Le(e)?4:ae(e)?2:0;return ue(e,t,n,r,s,o,i,!0)}function l2(e){return e?Fu(e)||qg(e)?Xe({},e):e:null}function rr(e,t,n=!1,r=!1){const{props:s,ref:i,patchFlag:o,children:a,transition:c}=e,l=t?si(s||{},t):s,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&s0(l),ref:t&&t.ref?n&&i?se(i)?i.concat(Do(t)):[i,Do(t)]:Do(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!==Ze?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&&rr(e.ssContent),ssFallback:e.ssFallback&&rr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&Nr(u,c.clone(u)),u}function i0(e=" ",t=0){return he(Za,null,e,t)}function vN(e,t){const n=he(No,null,e);return n.staticCount=t,n}function kt(e="",t=!1){return t?(_e(),Zt(ut,null,e)):he(ut,null,e)}function on(e){return e==null||typeof e=="boolean"?he(ut):se(e)?he(Ze,null,e.slice()):bi(e)?Gn(e):he(Za,null,String(e))}function Gn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:rr(e)}function Zu(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(se(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Zu(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!qg(t)?t._ctx=Ye:s===3&&Ye&&(Ye.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ae(t)?(t={default:t,_ctx:Ye},n=32):(t=String(t),r&64?(n=16,t=[i0(t)]):n=8);e.children=t,e.shapeFlag|=n}function si(...e){const t={};for(let n=0;nQe||Ye;let ea,kl;{const e=$a(),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)}};ea=t("__VUE_INSTANCE_SETTERS__",n=>Qe=n),kl=t("__VUE_SSR_SETTERS__",n=>Si=n)}const ji=e=>{const t=Qe;return ea(e),e.scope.on(),()=>{e.scope.off(),ea(t)}},gd=()=>{Qe&&Qe.scope.off(),ea(null)};function o0(e){return e.vnode.shapeFlag&4}let Si=!1;function h2(e,t=!1,n=!1){t&&kl(t);const{props:r,children:s}=e.vnode,i=o0(e);jb(e,r,i,t),Vb(e,s,n||t);const o=i?p2(e,t):void 0;return t&&kl(!1),o}function p2(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ob);const{setup:r}=n;if(r){kn();const s=e.setupContext=r.length>1?g2(e):null,i=ji(e),o=$i(r,e,0,[e.props,s]),a=Ym(o);if(xn(),i(),(a||e.sp)&&!fs(e)&&Dg(e),a){if(o.then(gd,gd),t)return o.then(c=>{yd(e,c)}).catch(c=>{ja(c,e,0)});e.asyncDep=o}else yd(e,o)}else a0(e)}function yd(e,t,n){ae(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Le(t)&&(e.setupState=_g(t)),a0(e)}function a0(e,t,n){const r=e.type;e.render||(e.render=r.render||un);{const s=ji(e);kn();try{Pb(e)}finally{xn(),s()}}}const m2={get(e,t){return ct(e,"get",""),e[t]}};function g2(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,m2),slots:e.slots,emit:e.emit,expose:t}}function Ga(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(_g(ib(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ni)return ni[n](e)},has(t,n){return n in t||n in ni}})):e.proxy}function y2(e,t=!0){return ae(e)?e.displayName||e.name:e.name||t&&e.__name}function v2(e){return ae(e)&&"__vccOpts"in e}const me=(e,t)=>hb(e,t,Si);function Ya(e,t,n){const r=arguments.length;return r===2?Le(t)&&!se(t)?bi(t)?he(e,null,[t]):he(e,t):he(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&bi(n)&&(n=[n]),he(e,t,n))}const _2="3.5.17";/** * @vue/runtime-dom v3.5.17 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let xl;const vd=typeof window<"u"&&window.trustedTypes;if(vd)try{xl=vd.createPolicy("vue",{createHTML:e=>e})}catch{}const c0=xl?e=>xl.createHTML(e):e=>e,b2="http://www.w3.org/2000/svg",S2="http://www.w3.org/1998/Math/MathML",yn=typeof document<"u"?document:null,_d=yn&&yn.createElement("template"),w2={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"?yn.createElementNS(b2,e):t==="mathml"?yn.createElementNS(S2,e):n?yn.createElement(e,{is:n}):yn.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>yn.createTextNode(e),createComment:e=>yn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>yn.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{_d.innerHTML=c0(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const a=_d.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]}},Un="transition",Us="animation",hs=Symbol("_vtc"),l0={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},u0=Xe({},Mg,l0),E2=e=>(e.displayName="Transition",e.props=u0,e),T2=E2((e,{slots:t})=>Ya(Sb,f0(e),t)),gr=(e,t=[])=>{se(e)?e.forEach(n=>n(...t)):e&&e(...t)},bd=e=>e?se(e)?e.some(t=>t.length>1):e.length>1:!1;function f0(e){const t={};for(const R in e)R in l0||(t[R]=e[R]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:l=o,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,p=k2(s),m=p&&p[0],S=p&&p[1],{onBeforeEnter:y,onEnter:_,onEnterCancelled:w,onLeave:T,onLeaveCancelled:A,onBeforeAppear:E=y,onAppear:I=_,onAppearCancelled:F=w}=t,k=(R,K,re,J)=>{R._enterCancelled=J,Vn(R,K?u:a),Vn(R,K?l:o),re&&re()},N=(R,K)=>{R._isLeaving=!1,Vn(R,f),Vn(R,h),Vn(R,d),K&&K()},q=R=>(K,re)=>{const J=R?I:_,X=()=>k(K,R,re);gr(J,[K,X]),Sd(()=>{Vn(K,R?c:i),nn(K,R?u:a),bd(J)||wd(K,r,m,X)})};return Xe(t,{onBeforeEnter(R){gr(y,[R]),nn(R,i),nn(R,o)},onBeforeAppear(R){gr(E,[R]),nn(R,c),nn(R,l)},onEnter:q(!1),onAppear:q(!0),onLeave(R,K){R._isLeaving=!0;const re=()=>N(R,K);nn(R,f),R._enterCancelled?(nn(R,d),Il()):(Il(),nn(R,d)),Sd(()=>{R._isLeaving&&(Vn(R,f),nn(R,h),bd(T)||wd(R,r,S,re))}),gr(T,[R,re])},onEnterCancelled(R){k(R,!1,void 0,!0),gr(w,[R])},onAppearCancelled(R){k(R,!0,void 0,!0),gr(F,[R])},onLeaveCancelled(R){N(R),gr(A,[R])}})}function k2(e){if(e==null)return null;if(Le(e))return[Ac(e.enter),Ac(e.leave)];{const t=Ac(e);return[t,t]}}function Ac(e){return P_(e)}function nn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[hs]||(e[hs]=new Set)).add(t)}function Vn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[hs];n&&(n.delete(t),n.size||(e[hs]=void 0))}function Sd(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let x2=0;function wd(e,t,n,r){const s=e._endId=++x2,i=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:a,propCount:c}=d0(e,t);if(!o)return r();const l=o+"end";let u=0;const f=()=>{e.removeEventListener(l,d),i()},d=h=>{h.target===e&&++u>=c&&f()};setTimeout(()=>{u(n[p]||"").split(", "),s=r(`${Un}Delay`),i=r(`${Un}Duration`),o=Ed(s,i),a=r(`${Us}Delay`),c=r(`${Us}Duration`),l=Ed(a,c);let u=null,f=0,d=0;t===Un?o>0&&(u=Un,f=o,d=i.length):t===Us?l>0&&(u=Us,f=l,d=c.length):(f=Math.max(o,l),u=f>0?o>l?Un:Us:null,d=u?u===Un?i.length:c.length:0);const h=u===Un&&/\b(transform|all)(,|$)/.test(r(`${Un}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:h}}function Ed(e,t){for(;e.lengthTd(n)+Td(e[r])))}function Td(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Il(){return document.body.offsetHeight}function I2(e,t,n){const r=e[hs];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ta=Symbol("_vod"),h0=Symbol("_vsh"),_N={beforeMount(e,{value:t},{transition:n}){e[ta]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Ws(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),Ws(e,!0),r.enter(e)):r.leave(e,()=>{Ws(e,!1)}):Ws(e,t))},beforeUnmount(e,{value:t}){Ws(e,t)}};function Ws(e,t){e.style.display=t?e[ta]:"none",e[h0]=!t}const C2=Symbol(""),A2=/(^|;)\s*display\s*:/;function R2(e,t,n){const r=e.style,s=We(n);let i=!1;if(n&&!s){if(t)if(We(t))for(const o of t.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&Lo(r,a,"")}else for(const o in t)n[o]==null&&Lo(r,o,"");for(const o in n)o==="display"&&(i=!0),Lo(r,o,n[o])}else if(s){if(t!==n){const o=r[C2];o&&(n+=";"+o),r.cssText=n,i=A2.test(n)}}else t&&e.removeAttribute("style");ta in e&&(e[ta]=i?r.display:"",e[h0]&&(r.display="none"))}const kd=/\s*!important$/;function Lo(e,t,n){if(se(n))n.forEach(r=>Lo(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=M2(e,t);kd.test(n)?e.setProperty(Br(r),n.replace(kd,""),"important"):e[r]=n}}const xd=["Webkit","Moz","ms"],Rc={};function M2(e,t){const n=Rc[t];if(n)return n;let r=$t(t);if(r!=="filter"&&r in e)return Rc[t]=r;r=Fa(r);for(let s=0;sMc||(L2.then(()=>Mc=0),Mc=Date.now());function $2(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;qt(H2(r,n.value),t,5,[r])};return n.value=e,n.attached=F2(),n}function H2(e,t){if(se(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 Od=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,B2=(e,t,n,r,s,i)=>{const o=s==="svg";t==="class"?I2(e,r,o):t==="style"?R2(e,n,r):Na(t)?Iu(t)||N2(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):j2(e,t,r,o))?(Ad(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Cd(e,t,r,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!We(r))?Ad(e,$t(t),r,i,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Cd(e,t,r,o))};function j2(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Od(t)&&ae(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Od(t)&&We(n)?!1:t in e}const p0=new WeakMap,m0=new WeakMap,na=Symbol("_moveCb"),Pd=Symbol("_enterCb"),U2=e=>(delete e.props.mode,e),W2=U2({name:"TransitionGroup",props:Xe({},u0,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=qa(),r=Rg();let s,i;return Hg(()=>{if(!s.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!q2(s[0].el,n.vnode.el,o)){s=[];return}s.forEach(z2),s.forEach(V2);const a=s.filter(Z2);Il(),a.forEach(c=>{const l=c.el,u=l.style;nn(l,o),u.transform=u.webkitTransform=u.transitionDuration="";const f=l[na]=d=>{d&&d.target!==l||(!d||/transform$/.test(d.propertyName))&&(l.removeEventListener("transitionend",f),l[na]=null,Vn(l,o))};l.addEventListener("transitionend",f)}),s=[]}),()=>{const o=ve(e),a=f0(o);let c=o.tag||Ze;if(s=[],i)for(let l=0;l{a.split(/\s+/).forEach(c=>c&&r.classList.remove(c))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(r);const{hasTransform:o}=d0(r);return i.removeChild(r),o}const G2=["ctrl","shift","alt","meta"],Y2={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)=>G2.some(n=>e[`${n}Key`]&&!t.includes(n))},K2=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...i)=>{for(let o=0;o{const t=J2().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=t5(r);if(!s)return;const i=t._component;!ae(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const o=n(s,!1,e5(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t};function e5(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function t5(e){return We(e)?document.querySelector(e):e}function n5(e,t){let n;function r(){n=gl(),n.run(()=>t.length?t(()=>{n?.stop(),r()}):t())}Lt(e,s=>{s&&!n?r():s||(n?.stop(),n=void 0)},{immediate:!0}),Ru(()=>{n?.stop()})}function r5(e,t){t=Array.isArray(t)?t.slice(0,-1).map(n=>`'${n}'`).join(", ")+` or '${t.at(-1)}'`:`'${t}'`}const Ct=typeof window<"u",SN=Ct&&"IntersectionObserver"in window,s5=Ct&&("ontouchstart"in window||window.navigator.maxTouchPoints>0),g0=Ct&&"matchMedia"in window&&typeof window.matchMedia=="function",wN=()=>g0&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;function i5(e,t,n){const r=t.length-1;if(r<0)return e===void 0?n:e;for(let s=0;s1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:e},(n,r)=>t+r)}function an(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 EN(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function Ld(e){let t;return e!==null&&typeof e=="object"&&((t=Object.getPrototypeOf(e))===Object.prototype||t===null)}function o5(e){if(e&&"$el"in e){const t=e.$el;return t?.nodeType===Node.TEXT_NODE?t.nextElementSibling:t}return e}function Oc(e,t){return t.every(n=>e.hasOwnProperty(n))}function a5(e,t){const n={};for(const r of t)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function c5(e,t){const n={...e};return t.forEach(r=>delete n[r]),n}function TN(e){return e==null?[]:Array.isArray(e)?e:[e]}function l5(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 Fd(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 $d(e,t){return(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,t-e.length))+e}function u5(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const n=[];let r=0;for(;r0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const r={};for(const s in e)r[s]=e[s];for(const s in t){const i=e[s],o=t[s];if(Ld(i)&&Ld(o)){r[s]=In(i,o,n);continue}if(n&&Array.isArray(i)&&Array.isArray(o)){r[s]=n(i,o);continue}r[s]=o}return r}function Ir(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(Ir.cache.has(e))return Ir.cache.get(e);const t=e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return Ir.cache.set(e,t),t}Ir.cache=new Map;function Ys(e,t){if(!t||typeof t!="object")return[];if(Array.isArray(t))return t.map(n=>Ys(e,n)).flat(1);if(t.suspense)return Ys(e,t.ssContent);if(Array.isArray(t.children))return t.children.map(n=>Ys(e,n)).flat(1);if(t.component){if(Object.getOwnPropertySymbols(t.component.provides).includes(e))return[t.component];if(t.component.subTree)return Ys(e,t.component.subTree).flat(1)}return[]}function kN(e){const t=xt({});As(()=>{const r=e();for(const s in r)t[s]=r[s]},{flush:"sync"});const n={};for(const r in t)n[r]=lt(()=>t[r]);return n}function xN(e,t){return e.includes(t)}function f5(){const e=Dt(),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:()=>o5(e.value)}),t}function IN(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 Gr=2.4,Hd=.2126729,Bd=.7151522,jd=.072175,d5=.55,h5=.58,p5=.57,m5=.62,ho=.03,Ud=1.45,g5=5e-4,y5=1.25,v5=1.25,Wd=.078,zd=12.82051282051282,po=.06,Vd=.001;function Zd(e,t){const n=(e.r/255)**Gr,r=(e.g/255)**Gr,s=(e.b/255)**Gr,i=(t.r/255)**Gr,o=(t.g/255)**Gr,a=(t.b/255)**Gr;let c=n*Hd+r*Bd+s*jd,l=i*Hd+o*Bd+a*jd;if(c<=ho&&(c+=(ho-c)**Ud),l<=ho&&(l+=(ho-l)**Ud),Math.abs(l-c)c){const f=(l**d5-c**h5)*y5;u=f-Vd?0:f>-Wd?f-f*zd*po:f+po}return u*100}const ra=.20689655172413793,_5=e=>e>ra**3?Math.cbrt(e):e/(3*ra**2)+4/29,b5=e=>e>ra?e**3:3*ra**2*(e-4/29);function v0(e){const t=_5,n=t(e[1]);return[116*n-16,500*(t(e[0]/.95047)-n),200*(n-t(e[2]/1.08883))]}function _0(e){const t=b5,n=(e[0]+16)/116;return[t(n+e[1]/500)*.95047,t(n),t(n-e[2]/200)*1.08883]}const S5=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],w5=e=>e<=.0031308?e*12.92:1.055*e**(1/2.4)-.055,E5=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],T5=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function b0(e){const t=Array(3),n=w5,r=S5;for(let s=0;s<3;++s)t[s]=Math.round(l5(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 qu(e){let{r:t,g:n,b:r}=e;const s=[0,0,0],i=T5,o=E5;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 k5(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}function CN(e){return k5(e)&&!/^((rgb|hsl)a?\()?var\(--/.test(e)}const qd=/^(?(?:rgb|hsl)a?)\((?.+)\)/,x5={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)=>Gd({h:e,s:t,l:n,a:r}),hsla:(e,t,n,r)=>Gd({h:e,s:t,l:n,a:r}),hsv:(e,t,n,r)=>wi({h:e,s:t,v:n,a:r}),hsva:(e,t,n,r)=>wi({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"&&qd.test(e)){const{groups:t}=e.match(qd),{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 x5[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),C5(t)}else if(typeof e=="object"){if(Oc(e,["r","g","b"]))return e;if(Oc(e,["h","s","l"]))return wi(S0(e));if(Oc(e,["h","s","v"]))return wi(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 wi(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 Gd(e){return wi(S0(e))}function S0(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 mo(e){const t=Math.round(e).toString(16);return("00".substr(0,2-t.length)+t).toUpperCase()}function I5(e){let{r:t,g:n,b:r,a:s}=e;return`#${[mo(t),mo(n),mo(r),s!==void 0?mo(Math.round(s*255)):""].join("")}`}function C5(e){e=A5(e);let[t,n,r,s]=u5(e,2).map(i=>parseInt(i,16));return s=s===void 0?s:s/255,{r:t,g:n,b:r,a:s}}function A5(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=Fd(Fd(e,6),8,"F")),e}function R5(e,t){const n=v0(qu(e));return n[0]=n[0]+t*10,b0(_0(n))}function M5(e,t){const n=v0(qu(e));return n[0]=n[0]-t*10,b0(_0(n))}function O5(e){const t=bn(e);return qu(t)[1]}function P5(e){const t=Math.abs(Zd(bn(0),bn(e)));return Math.abs(Zd(bn(16777215),bn(e)))>Math.min(t,50)?"#fff":"#000"}function Hn(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 w0=Hn({class:[String,Array,Object],style:{type:[String,Array,Object],default:null}},"component");function jr(e,t){const n=qa();if(!n)throw new Error(`[Vuetify] ${e} must be called from inside a setup function`);return n}function AN(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const t=jr(e).type;return Ir(t?.aliasName||t?.name)}function N5(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:jr("injectSelf");const{provides:n}=t;if(n&&e in n)return n[e]}const Ei=Symbol.for("vuetify:defaults");function D5(e){return jt(e)}function E0(){const e=et(Ei);if(!e)throw new Error("[Vuetify] Could not find defaults instance");return e}function L5(e,t){return e.props&&(typeof e.props[t]<"u"||typeof e.props[Ir(t)]<"u")}function F5(){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]:E0();const r=jr("useDefaults");if(t=t??r.type.name??r.type.__name,!t)throw new Error("[Vuetify] Could not determine component name");const s=me(()=>n.value?.[e._as??t]),i=new Proxy(e,{get(c,l){const u=Reflect.get(c,l);if(l==="class"||l==="style")return[s.value?.[l],u].filter(h=>h!=null);if(L5(r.vnode,l))return u;const f=s.value?.[l];if(f!==void 0)return f;const d=n.value?.global?.[l];return d!==void 0?d:u}}),o=Dt();As(()=>{if(s.value){const c=Object.entries(s.value).filter(l=>{let[u]=l;return u.startsWith(u[0].toUpperCase())});o.value=c.length?Object.fromEntries(c):void 0}else o.value=void 0});function a(){const c=N5(Ei,r);xr(Ei,me(()=>o.value?In(c?.value??{},o.value):c?.value))}return{props:i,provideSubDefaults:a}}function Ui(e){if(e._setup=e._setup??e.setup,!e.name)return e;if(e._setup){e.props=Hn(e.props??{},e.name)();const t=Object.keys(e.props).filter(n=>n!=="class"&&n!=="style");e.filterProps=function(r){return a5(r,t)},e.props._as=String,e.setup=function(r,s){const i=E0();if(!i.value)return e._setup(r,s);const{props:o,provideSubDefaults:a}=F5(r,r._as??e.name,i),c=e._setup(o,s);return a(),c}}return e}function Gu(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return t=>(e?Ui:Kt)(t)}const $5={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 T0(e){const t=jr("useRender");t.render=e}function H5(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:f=>f,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:f=>f;const i=jr("useProxiedModel"),o=jt(e[t]!==void 0?e[t]:n),a=Ir(t),l=me(a!==t?()=>(e[t],!!((i.vnode.props?.hasOwnProperty(t)||i.vnode.props?.hasOwnProperty(a))&&(i.vnode.props?.hasOwnProperty(`onUpdate:${t}`)||i.vnode.props?.hasOwnProperty(`onUpdate:${a}`)))):()=>(e[t],!!(i.vnode.props?.hasOwnProperty(t)&&i.vnode.props?.hasOwnProperty(`onUpdate:${t}`))));n5(()=>!l.value,()=>{Lt(()=>e[t],f=>{o.value=f})});const u=me({get(){const f=e[t];return r(l.value?f:o.value)},set(f){const d=s(f),h=ve(l.value?e[t]:o.value);h===d||r(h)===f||(o.value=d,i?.emit(`update:${t}`,d))}});return Object.defineProperty(u,"externalValue",{get:()=>l.value?e[t]:o.value}),u}const B5={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",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"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"},rules:{required:"This field is required",email:"Please enter a valid email",number:"This field can only contain numbers",integer:"This field can only contain integer values",capital:"This field can only contain uppercase letters",maxLength:"You must enter a maximum of {0} characters",minLength:"You must enter a minimum of {0} characters",strictLength:"The length of the entered field is invalid",exclude:"The {0} character is not allowed",notEmpty:"Please choose at least one value",pattern:"Invalid format"},hotkey:{then:"then",ctrl:"Ctrl",command:"Command",space:"Space",shift:"Shift",alt:"Alt",enter:"Enter",escape:"Escape",upArrow:"Up Arrow",downArrow:"Down Arrow",leftArrow:"Left Arrow",rightArrow:"Right Arrow",backspace:"Backspace",option:"Option",plus:"plus",shortcut:"Keyboard shortcut: {0}"},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"}}},Yd="$vuetify.",Kd=(e,t)=>e.replace(/\{(\d+)\}/g,(n,r)=>String(t[Number(r)])),k0=(e,t,n)=>function(r){for(var s=arguments.length,i=new Array(s>1?s-1:0),o=1;onew Intl.NumberFormat([e.value,t.value],r).format(n)}function x0(e,t){return Yu(e,t)(.1).includes(",")?",":"."}function Pc(e,t,n){const r=H5(e,t,e[t]??n.value);return r.value=e[t]??n.value,Lt(n,s=>{e[t]==null&&(r.value=n.value)}),r}function I0(e){return t=>{const n=Pc(t,"locale",e.current),r=Pc(t,"fallback",e.fallback),s=Pc(t,"messages",e.messages);return{name:"vuetify",current:n,fallback:r,messages:s,decimalSeparator:lt(()=>x0(n,r)),t:k0(n,r,s),n:Yu(n,r),provide:I0({current:n,fallback:r,messages:s})}}}function j5(e){const t=Dt(e?.locale??"en"),n=Dt(e?.fallback??"en"),r=jt({en:B5,...e?.messages});return{name:"vuetify",current:t,fallback:n,messages:r,decimalSeparator:lt(()=>e?.decimalSeparator??x0(t,n)),t:k0(t,n,r),n:Yu(t,n),provide:I0({current:t,fallback:n,messages:r})}}const sa=Symbol.for("vuetify:locale");function U5(e){return e.name!=null}function W5(e){const t=e?.adapter&&U5(e?.adapter)?e?.adapter:j5(e),n=V5(t,e);return{...t,...n}}function RN(){const e=et(sa);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");return e}function z5(){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 V5(e,t){const n=jt(t?.rtl??z5()),r=me(()=>n.value[e.current.value]??!1);return{isRtl:r,rtl:n,rtlClasses:lt(()=>`v-locale--is-${r.value?"rtl":"ltr"}`)}}function Z5(){const e=et(sa);if(!e)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:e.isRtl,rtlClasses:e.rtlClasses}}function Wi(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 q5(e,t,n){const r=[];let s=[];const i=C0(e),o=A0(e),a=n??Wi(t)?.firstDay??0,c=(i.getDay()-a+7)%7,l=(o.getDay()-a+7)%7;for(let u=0;u0&&r.push(s),r}function ia(e,t,n){let r=(n??Wi(t)?.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 G5(e,t){const n=new Date(e),r=((Wi(t)?.firstDay??0)+6)%7;for(;n.getDay()!==r;)n.setDate(n.getDate()+1);return n}function C0(e){return new Date(e.getFullYear(),e.getMonth(),1)}function A0(e){return new Date(e.getFullYear(),e.getMonth()+1,0)}function Y5(e){const t=e.split("-").map(Number);return new Date(t[0],t[1]-1,t[2])}const K5=/^([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))$/;function R0(e){if(e==null)return new Date;if(e instanceof Date)return e;if(typeof e=="string"){let t;if(K5.test(e))return Y5(e);if(t=Date.parse(e),!isNaN(t))return new Date(t)}return null}const Xd=new Date(2e3,0,2);function X5(e,t,n){const r=t??Wi(e)?.firstDay??0;return y0(7).map(s=>{const i=new Date(Xd);return i.setDate(Xd.getDate()+r+s),new Intl.DateTimeFormat(e,{weekday:n??"narrow"}).format(i)})}function J5(e,t,n,r){const s=R0(e)??new Date,i=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 Q5(e,t){const n=e.toJsDate(t),r=n.getFullYear(),s=$d(String(n.getMonth()+1),2,"0"),i=$d(String(n.getDate()),2,"0");return`${r}-${s}-${i}`}function eS(e){const[t,n,r]=e.split("-").map(Number);return new Date(t,n-1,r)}function tS(e,t){const n=new Date(e);return n.setMinutes(n.getMinutes()+t),n}function nS(e,t){const n=new Date(e);return n.setHours(n.getHours()+t),n}function Cr(e,t){const n=new Date(e);return n.setDate(n.getDate()+t),n}function rS(e,t){const n=new Date(e);return n.setDate(n.getDate()+t*7),n}function sS(e,t){const n=new Date(e);return n.setDate(1),n.setMonth(n.getMonth()+t),n}function Ti(e){return e.getFullYear()}function iS(e){return e.getMonth()}function oS(e,t,n,r){const s=Wi(t),i=n??s?.firstDay??0,o=s?.firstWeekSize??1;return r!==void 0?aS(e,t,i,r):cS(e,t,i,o)}function aS(e,t,n,r){const s=(7+r-n)%7,i=ia(e,t,n),o=Cr(i,6);function a(d){return(7+new Date(d,0,1).getDay()-n)%7}let c=Ti(e);c=r&&o++;const a=new Date(o,0,1),c=i(o),l=c>=r?Cr(a,c-7):Cr(a,c);return 1+aa(Ku(e),ki(l),"weeks")}function lS(e){return e.getDate()}function uS(e){return new Date(e.getFullYear(),e.getMonth()+1,1)}function fS(e){return new Date(e.getFullYear(),e.getMonth()-1,1)}function dS(e){return e.getHours()}function hS(e){return e.getMinutes()}function pS(e){return new Date(e.getFullYear(),0,1)}function mS(e){return new Date(e.getFullYear(),11,31)}function gS(e,t){return oa(e,t[0])&&_S(e,t[1])}function yS(e){const t=new Date(e);return t instanceof Date&&!isNaN(t.getTime())}function oa(e,t){return e.getTime()>t.getTime()}function vS(e,t){return oa(ki(e),ki(t))}function _S(e,t){return e.getTime(){n.locale=e.locale[r]??r??n.locale}),n}const eh=Symbol.for("vuetify:display"),th={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},OS=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:th;return In(th,e)};function nh(e){return Ct&&!e?window.innerWidth:typeof e=="object"&&e.clientWidth||0}function rh(e){return Ct&&!e?window.innerHeight:typeof e=="object"&&e.clientHeight||0}function sh(e){const t=Ct&&!e?window.navigator.userAgent:"ssr";function n(p){return!!t.match(p)}const r=n(/android/i),s=n(/iphone|ipad|ipod/i),i=n(/cordova/i),o=n(/electron/i),a=n(/chrome/i),c=n(/edge/i),l=n(/firefox/i),u=n(/opera/i),f=n(/win/i),d=n(/mac/i),h=n(/linux/i);return{android:r,ios:s,cordova:i,electron:o,chrome:a,edge:c,firefox:l,opera:u,win:f,mac:d,linux:h,touch:s5,ssr:t==="ssr"}}function PS(e,t){const{thresholds:n,mobileBreakpoint:r}=OS(e),s=Dt(rh(t)),i=Dt(sh(t)),o=xt({}),a=Dt(nh(t));function c(){s.value=rh(),a.value=nh()}function l(){c(),i.value=sh()}return As(()=>{const u=a.value=n.xxl,S=u?"xs":f?"sm":d?"md":h?"lg":p?"xl":"xxl",y=typeof r=="number"?r:n[r],_=a.value{window.removeEventListener("resize",c)},!0)),{...lb(o),update:l,ssr:!!t}}const NS=Symbol.for("vuetify:goto");function DS(){return{container:void 0,duration:300,layout:!1,offset:0,easing:"easeInOutCubic",patterns:$5}}function LS(e,t){return{rtl:t.isRtl,options:In(DS(),e)}}const FS={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"},$S={component:e=>Ya(M0,{...e,class:"mdi"})},HS=[String,Function,Object,Array],ih=Symbol.for("vuetify:icons"),Ka=Hn({icon:{type:HS},tag:{type:[String,Object,Function],required:!0}},"icon");Gu()({name:"VComponentIcon",props:Ka(),setup(e,t){let{slots:n}=t;return()=>{const r=e.icon;return he(e.tag,null,{default:()=>[e.icon?he(r,null,null):n.default?.()]})}}});const BS=Ui({name:"VSvgIcon",inheritAttrs:!1,props:Ka(),setup(e,t){let{attrs:n}=t;return()=>he(e.tag,si(n,{style:null}),{default:()=>[ue("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)?ue("path",{d:r[0],"fill-opacity":r[1]},null):ue("path",{d:r},null)):ue("path",{d:e.icon},null)])]})}});Ui({name:"VLigatureIcon",props:Ka(),setup(e){return()=>he(e.tag,null,{default:()=>[e.icon]})}});const M0=Ui({name:"VClassIcon",props:Ka(),setup(e){return()=>he(e.tag,{class:Tn(e.icon)},null)}});function jS(){return{svg:{component:BS},class:{component:M0}}}function US(e){const t=jS(),n=e?.defaultSet??"mdi";return n==="mdi"&&!t.mdi&&(t.mdi=$S),In({defaultSet:n,sets:t,aliases:{...FS,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)}const ca=Symbol.for("vuetify:theme"),WS=Hn({theme:String},"theme");function oh(){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 zS(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:oh();const t=oh();if(!e)return{...t,isDisabled:!0};const n={};for(const[r,s]of Object.entries(e.themes??{})){const i=s.dark||r==="dark"?t.themes?.dark:t.themes?.light;n[r]=In(i,s)}return In(t,{...e,themes:n})}function yr(e,t,n,r){e.push(`${GS(t,r)} { `,...n.map(s=>` ${s}; `),`} `)}function ah(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: ${O5(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 VS(e,t,n){const r={};if(n)for(const s of["lighten","darken"]){const i=s==="lighten"?R5:M5;for(const o of y0(n[s],1))r[`${e}-${s}-${o}`]=I5(i(bn(t),o))}return r}function ZS(e,t){if(!t)return{};let n={};for(const r of t.colors){const s=e[r];s&&(n={...n,...VS(r,s,t)})}return n}function qS(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]=P5(s)}return t}function GS(e,t){if(!t)return e;const n=`:where(${t})`;return e===":root"?n:`${n} ${e}`}function YS(e,t,n){const r=KS(e,t);r&&(r.innerHTML=n)}function KS(e,t){if(!Ct)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 XS(e){const t=zS(e),n=Dt(t.defaultTheme),r=jt(t.themes),s=Dt("light"),i=me({get(){return n.value==="system"?s.value:n.value},set(y){n.value=y}}),o=me(()=>{const y={};for(const[_,w]of Object.entries(r.value)){const T={...w.colors,...ZS(w.colors,t.variations)};y[_]={...w,colors:{...T,...qS(T)}}}return y}),a=lt(()=>o.value[i.value]),c=lt(()=>n.value==="system"),l=me(()=>{const y=[],_=t.unimportant?"":" !important",w=t.scoped?t.prefix:"";a.value?.dark&&yr(y,":root",["color-scheme: dark"],t.scope),yr(y,":root",ah(a.value,t.prefix),t.scope);for(const[T,A]of Object.entries(o.value))yr(y,`.${t.prefix}theme--${T}`,[`color-scheme: ${A.dark?"dark":"normal"}`,...ah(A,t.prefix)],t.scope);if(t.utilities){const T=[],A=[],E=new Set(Object.values(o.value).flatMap(I=>Object.keys(I.colors)));for(const I of E)I.startsWith("on-")?yr(A,`.${I}`,[`color: rgb(var(--${t.prefix}theme-${I}))${_}`],t.scope):(yr(T,`.${w}bg-${I}`,[`--${t.prefix}theme-overlay-multiplier: var(--${t.prefix}theme-${I}-overlay-multiplier)`,`background-color: rgb(var(--${t.prefix}theme-${I}))${_}`,`color: rgb(var(--${t.prefix}theme-on-${I}))${_}`],t.scope),yr(A,`.${w}text-${I}`,[`color: rgb(var(--${t.prefix}theme-${I}))${_}`],t.scope),yr(A,`.${w}border-${I}`,[`--${t.prefix}border-color: var(--${t.prefix}theme-${I})`],t.scope));y.push(...T,...A)}return y.map((T,A)=>A===0?T:` ${T}`).join("")}),u=lt(()=>t.isDisabled?void 0:`${t.prefix}theme--${i.value}`),f=lt(()=>Object.keys(o.value));if(g0){let _=function(){s.value=y.matches?"dark":"light"};const y=window.matchMedia("(prefers-color-scheme: dark)");_(),y.addEventListener("change",_,{passive:!0}),ng()&&Ru(()=>{y.removeEventListener("change",_)})}function d(y){if(t.isDisabled)return;const _=y._context.provides.usehead;if(_){let w=function(){return{style:[{textContent:l.value,id:t.stylesheetId,nonce:t.cspNonce||!1}]}};if(_.push){const T=_.push(w);Ct&&Lt(l,()=>{T.patch(w)})}else Ct?(_.addHeadObjs(lt(w)),As(()=>_.updateDOM())):_.addHeadObjs(w())}else{let w=function(){YS(t.stylesheetId,t.cspNonce,l.value)};Ct?Lt(l,w,{immediate:!0}):w()}}function h(y){y!=="system"&&!f.value.includes(y)||(i.value=y)}function p(){let y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:f.value;const _=y.indexOf(i.value),w=_===-1?0:(_+1)%y.length;h(y[w])}function m(){let y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["light","dark"];p(y)}const S=new Proxy(i,{get(y,_){return Reflect.get(y,_)},set(y,_,w){return _==="value"&&r5(`theme.global.name.value = ${w}`,`theme.change('${w}')`),Reflect.set(y,_,w)}});return{install:d,change:h,cycle:p,toggle:m,isDisabled:t.isDisabled,isSystem:c,name:i,themes:r,current:a,computedThemes:o,prefix:t.prefix,themeClasses:u,styles:l,global:{name:S,current:a}}}function JS(e){jr("provideTheme");const t=et(ca,null);if(!t)throw new Error("Could not find Vuetify theme injection");const n=lt(()=>e.theme??t.name.value),r=lt(()=>t.themes.value[n.value]),s=lt(()=>t.isDisabled?void 0:`${t.prefix}theme--${n.value}`),i={...t,name:n,current:r,themeClasses:s};return xr(ca,i),i}function QS(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const n=f5(),r=jt();if(Ct){const s=new ResizeObserver(i=>{i.length&&(t==="content"?r.value=i[0].contentRect:r.value=i[0].target.getBoundingClientRect())});za(()=>{s.disconnect()}),Lt(()=>n.el,(i,o)=>{o&&(s.unobserve(o),r.value=void 0),i&&s.observe(i)},{flush:"post"})}return{resizeRef:n,contentRect:Ba(r)}}const Cl=Symbol.for("vuetify:layout"),ew=Symbol.for("vuetify:layout-item"),ch=1e3,tw=Hn({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout");function nw(){const e=et(Cl);if(!e)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:e.getLayoutItem,mainRect:e.mainRect,mainStyles:e.mainStyles}}const rw=(e,t,n,r)=>{let s={top:0,left:0,right:0,bottom:0};const i=[{id:"",layer:{...s}}];for(const o of e){const a=t.get(o),c=n.get(o),l=r.get(o);if(!a||!c||!l)continue;const u={...s,[a.value]:parseInt(s[a.value],10)+(l.value?parseInt(c.value,10):0)};i.push({id:o,layer:u}),s=u}return i};function sw(e){const t=et(Cl,null),n=me(()=>t?t.rootZIndex.value-100:ch),r=jt([]),s=xt(new Map),i=xt(new Map),o=xt(new Map),a=xt(new Map),c=xt(new Map),{resizeRef:l,contentRect:u}=QS(),f=me(()=>{const E=new Map,I=e.overlaps??[];for(const F of I.filter(k=>k.includes(":"))){const[k,N]=F.split(":");if(!r.value.includes(k)||!r.value.includes(N))continue;const q=s.get(k),R=s.get(N),K=i.get(k),re=i.get(N);!q||!R||!K||!re||(E.set(N,{position:q.value,amount:parseInt(K.value,10)}),E.set(k,{position:R.value,amount:-parseInt(re.value,10)}))}return E}),d=me(()=>{const E=[...new Set([...o.values()].map(F=>F.value))].sort((F,k)=>F-k),I=[];for(const F of E){const k=r.value.filter(N=>o.get(N)?.value===F);I.push(...k)}return rw(I,s,i,a)}),h=me(()=>!Array.from(c.values()).some(E=>E.value)),p=me(()=>d.value[d.value.length-1].layer),m=lt(()=>({"--v-layout-left":an(p.value.left),"--v-layout-right":an(p.value.right),"--v-layout-top":an(p.value.top),"--v-layout-bottom":an(p.value.bottom),...h.value?void 0:{transition:"none"}})),S=me(()=>d.value.slice(1).map((E,I)=>{let{id:F}=E;const{layer:k}=d.value[I],N=i.get(F),q=s.get(F);return{id:F,...k,size:Number(N.value),position:q.value}})),y=E=>S.value.find(I=>I.id===E),_=jr("createLayout"),w=Dt(!1);Hi(()=>{w.value=!0}),xr(Cl,{register:(E,I)=>{let{id:F,order:k,position:N,layoutSize:q,elementSize:R,active:K,disableTransitions:re,absolute:J}=I;o.set(F,k),s.set(F,N),i.set(F,q),a.set(F,K),re&&c.set(F,re);const L=Ys(ew,_?.vnode).indexOf(E);L>-1?r.value.splice(L,0,F):r.value.push(F);const G=me(()=>S.value.findIndex(pe=>pe.id===F)),Q=me(()=>n.value+d.value.length*2-G.value*2),ke=me(()=>{const pe=N.value==="left"||N.value==="right",ze=N.value==="right",tt=N.value==="bottom",yt=R.value??q.value,Je=yt===0?"%":"px",C={[N.value]:0,zIndex:Q.value,transform:`translate${pe?"X":"Y"}(${(K.value?0:-(yt===0?100:yt))*(ze||tt?-1:1)}${Je})`,position:J.value||n.value!==ch?"absolute":"fixed",...h.value?void 0:{transition:"none"}};if(!w.value)return C;const z=S.value[G.value],V=f.value.get(F);return V&&(z[V.position]+=V.amount),{...C,height:pe?`calc(100% - ${z.top}px - ${z.bottom}px)`:R.value?`${R.value}px`:void 0,left:ze?void 0:`${z.left}px`,right:ze?`${z.right}px`:void 0,top:N.value!=="bottom"?`${z.top}px`:void 0,bottom:N.value!=="top"?`${z.bottom}px`:void 0,width:pe?R.value?`${R.value}px`:void 0:`calc(100% - ${z.left}px - ${z.right}px)`}}),we=me(()=>({zIndex:Q.value-1}));return{layoutItemStyles:ke,layoutItemScrimStyles:we,zIndex:Q}},unregister:E=>{o.delete(E),s.delete(E),i.delete(E),a.delete(E),c.delete(E),r.value=r.value.filter(I=>I!==E)},mainRect:p,mainStyles:m,getLayoutItem:y,items:S,layoutRect:u,rootZIndex:n});const T=lt(()=>["v-layout",{"v-layout--full-height":e.fullHeight}]),A=lt(()=>({zIndex:t?n.value:void 0,position:t?"relative":void 0,overflow:t?"hidden":void 0}));return{layoutClasses:T,layoutStyles:A,getLayoutItem:y,items:S,layoutRect:u,layoutRef:l}}function O0(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:t,...n}=e,r=In(t,n),{aliases:s={},components:i={},directives:o={}}=r,a=gl();return a.run(()=>{const c=D5(r.defaults),l=PS(r.display,r.ssr),u=XS(r.theme),f=US(r.icons),d=W5(r.locale),h=RS(r.date,d),p=LS(r.goTo,d);function m(y){for(const w in o)y.directive(w,o[w]);for(const w in i)y.component(w,i[w]);for(const w in s)y.component(w,Ui({...s[w],name:w,aliasName:s[w].name}));const _=gl();if(_.run(()=>{u.install(y)}),y.onUnmount(()=>_.stop()),y.provide(Ei,c),y.provide(eh,l),y.provide(ca,u),y.provide(ih,f),y.provide(sa,d),y.provide(AS,h.options),y.provide(Qd,h.instance),y.provide(NS,p),Ct&&r.ssr)if(y.$nuxt)y.$nuxt.hook("app:suspense:resolve",()=>{l.update()});else{const{mount:w}=y;y.mount=function(){const T=w(...arguments);return $u(()=>l.update()),y.mount=w,T}}y.mixin({computed:{$vuetify(){return xt({defaults:Yr.call(this,Ei),display:Yr.call(this,eh),theme:Yr.call(this,ca),icons:Yr.call(this,ih),locale:Yr.call(this,sa),date:Yr.call(this,Qd)})}}})}function S(){a.stop()}return{install:m,unmount:S,defaults:c,display:l,theme:u,icons:f,locale:d,date:h,goTo:p}})}const iw="3.10.11";O0.version=iw;function Yr(e){const t=this.$,n=t.parent?.provides??t.vnode.appContext?.provides;if(n&&e in n)return n[e]}const ow=O0({theme:{defaultTheme:"dark"}});function aw(e){e.use(ow)}/*! * vue-router v4.5.1 * (c) 2025 Eduardo San Martin Morote * @license MIT */const Qr=typeof document<"u";function P0(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function cw(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&P0(e.default)}const Ie=Object.assign;function Nc(e,t){const n={};for(const r in t){const s=t[r];n[r]=Gt(s)?s.map(e):e(s)}return n}const ii=()=>{},Gt=Array.isArray,N0=/#/g,lw=/&/g,uw=/\//g,fw=/=/g,dw=/\?/g,D0=/\+/g,hw=/%5B/g,pw=/%5D/g,L0=/%5E/g,mw=/%60/g,F0=/%7B/g,gw=/%7C/g,$0=/%7D/g,yw=/%20/g;function Xu(e){return encodeURI(""+e).replace(gw,"|").replace(hw,"[").replace(pw,"]")}function vw(e){return Xu(e).replace(F0,"{").replace($0,"}").replace(L0,"^")}function Al(e){return Xu(e).replace(D0,"%2B").replace(yw,"+").replace(N0,"%23").replace(lw,"%26").replace(mw,"`").replace(F0,"{").replace($0,"}").replace(L0,"^")}function _w(e){return Al(e).replace(fw,"%3D")}function bw(e){return Xu(e).replace(N0,"%23").replace(dw,"%3F")}function Sw(e){return e==null?"":bw(e).replace(uw,"%2F")}function xi(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const ww=/\/$/,Ew=e=>e.replace(ww,"");function Dc(e,t,n="/"){let r,s={},i="",o="";const a=t.indexOf("#");let c=t.indexOf("?");return a=0&&(c=-1),c>-1&&(r=t.slice(0,c),i=t.slice(c+1,a>-1?a:t.length),s=e(i)),a>-1&&(r=r||t.slice(0,a),o=t.slice(a,t.length)),r=Iw(r??t,n),{fullPath:r+(i&&"?")+i+o,path:r,query:s,hash:xi(o)}}function Tw(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function lh(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function kw(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&ps(t.matched[r],n.matched[s])&&H0(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function ps(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function H0(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!xw(e[n],t[n]))return!1;return!0}function xw(e,t){return Gt(e)?uh(e,t):Gt(t)?uh(t,e):e===t}function uh(e,t){return Gt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Iw(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let i=n.length-1,o,a;for(o=0;o1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(o).join("/")}const Wn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Ii;(function(e){e.pop="pop",e.push="push"})(Ii||(Ii={}));var oi;(function(e){e.back="back",e.forward="forward",e.unknown=""})(oi||(oi={}));function Cw(e){if(!e)if(Qr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Ew(e)}const Aw=/^[^#]+#/;function Rw(e,t){return e.replace(Aw,"#")+t}function Mw(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 Xa=()=>({left:window.scrollX,top:window.scrollY});function Ow(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=Mw(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 fh(e,t){return(history.state?history.state.position-t:-1)+e}const Rl=new Map;function Pw(e,t){Rl.set(e,t)}function Nw(e){const t=Rl.get(e);return Rl.delete(e),t}let Dw=()=>location.protocol+"//"+location.host;function B0(e,t){const{pathname:n,search:r,hash:s}=t,i=e.indexOf("#");if(i>-1){let a=s.includes(e.slice(i))?e.slice(i).length:1,c=s.slice(a);return c[0]!=="/"&&(c="/"+c),lh(c,"")}return lh(n,e)+r+s}function Lw(e,t,n,r){let s=[],i=[],o=null;const a=({state:d})=>{const h=B0(e,location),p=n.value,m=t.value;let S=0;if(d){if(n.value=h,t.value=d,o&&o===p){o=null;return}S=m?d.position-m.position:0}else r(h);s.forEach(y=>{y(n.value,p,{delta:S,type:Ii.pop,direction:S?S>0?oi.forward:oi.back:oi.unknown})})};function c(){o=n.value}function l(d){s.push(d);const h=()=>{const p=s.indexOf(d);p>-1&&s.splice(p,1)};return i.push(h),h}function u(){const{history:d}=window;d.state&&d.replaceState(Ie({},d.state,{scroll:Xa()}),"")}function f(){for(const d of i)d();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:c,listen:l,destroy:f}}function dh(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Xa():null}}function Fw(e){const{history:t,location:n}=window,r={value:B0(e,n)},s={value:t.state};s.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(c,l,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:Dw()+e+c;try{t[u?"replaceState":"pushState"](l,"",d),s.value=l}catch(h){console.error(h),n[u?"replace":"assign"](d)}}function o(c,l){const u=Ie({},t.state,dh(s.value.back,c,s.value.forward,!0),l,{position:s.value.position});i(c,u,!0),r.value=c}function a(c,l){const u=Ie({},s.value,t.state,{forward:c,scroll:Xa()});i(u.current,u,!0);const f=Ie({},dh(r.value,c,null),{position:u.position+1},l);i(c,f,!1),r.value=c}return{location:r,state:s,push:a,replace:o}}function $w(e){e=Cw(e);const t=Fw(e),n=Lw(e,t.state,t.location,t.replace);function r(i,o=!0){o||n.pauseListeners(),history.go(i)}const s=Ie({location:"",base:e,go:r,createHref:Rw.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}function Hw(e){return typeof e=="string"||e&&typeof e=="object"}function j0(e){return typeof e=="string"||typeof e=="symbol"}const U0=Symbol("");var hh;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(hh||(hh={}));function ms(e,t){return Ie(new Error,{type:e,[U0]:!0},t)}function mn(e,t){return e instanceof Error&&U0 in e&&(t==null||!!(e.type&t))}const ph="[^/]+?",Bw={sensitive:!1,strict:!1,start:!0,end:!0},jw=/[.+*?^${}()[\]/\\]/g;function Uw(e,t){const n=Ie({},Bw,t),r=[];let s=n.start?"^":"";const i=[];for(const l of e){const u=l.length?[]:[90];n.strict&&!l.length&&(s+="/");for(let f=0;ft.length?t.length===1&&t[0]===80?1:-1:0}function W0(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const zw={type:0,value:""},Vw=/[a-zA-Z0-9_]/;function Zw(e){if(!e)return[[]];if(e==="/")return[[zw]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${l}": ${h}`)}let n=0,r=n;const s=[];let i;function o(){i&&s.push(i),i=[]}let a=0,c,l="",u="";function f(){l&&(n===0?i.push({type:0,value:l}):n===1||n===2||n===3?(i.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:l,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),l="")}function d(){l+=c}for(;a{o(w)}:ii}function o(f){if(j0(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(o),d.alias.forEach(o))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(o),f.alias.forEach(o))}}function a(){return n}function c(f){const d=Xw(f,n);n.splice(d,0,f),f.record.name&&!vh(f)&&r.set(f.record.name,f)}function l(f,d){let h,p={},m,S;if("name"in f&&f.name){if(h=r.get(f.name),!h)throw ms(1,{location:f});S=h.record.name,p=Ie(gh(d.params,h.keys.filter(w=>!w.optional).concat(h.parent?h.parent.keys.filter(w=>w.optional):[]).map(w=>w.name)),f.params&&gh(f.params,h.keys.map(w=>w.name))),m=h.stringify(p)}else if(f.path!=null)m=f.path,h=n.find(w=>w.re.test(m)),h&&(p=h.parse(m),S=h.record.name);else{if(h=d.name?r.get(d.name):n.find(w=>w.re.test(d.path)),!h)throw ms(1,{location:f,currentLocation:d});S=h.record.name,p=Ie({},d.params,f.params),m=h.stringify(p)}const y=[];let _=h;for(;_;)y.unshift(_.record),_=_.parent;return{name:S,path:m,params:p,matched:y,meta:Kw(y)}}e.forEach(f=>i(f));function u(){n.length=0,r.clear()}return{addRoute:i,resolve:l,removeRoute:o,clearRoutes:u,getRoutes:a,getRecordMatcher:s}}function gh(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function yh(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Yw(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 Yw(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 vh(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Kw(e){return e.reduce((t,n)=>Ie(t,n.meta),{})}function _h(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Xw(e,t){let n=0,r=t.length;for(;n!==r;){const i=n+r>>1;W0(e,t[i])<0?r=i:n=i+1}const s=Jw(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function Jw(e){let t=e;for(;t=t.parent;)if(z0(t)&&W0(e,t)===0)return t}function z0({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Qw(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;si&&Al(i)):[r&&Al(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function eE(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Gt(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const tE=Symbol(""),Sh=Symbol(""),Ja=Symbol(""),Ju=Symbol(""),Ml=Symbol("");function zs(){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 Yn(e,t,n,r,s,i=o=>o()){const o=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((a,c)=>{const l=d=>{d===!1?c(ms(4,{from:n,to:t})):d instanceof Error?c(d):Hw(d)?c(ms(2,{from:t,to:d})):(o&&r.enterCallbacks[s]===o&&typeof d=="function"&&o.push(d),a())},u=i(()=>e.call(r&&r.instances[s],t,n,l));let f=Promise.resolve(u);e.length<3&&(f=f.then(l)),f.catch(d=>c(d))})}function Lc(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(P0(c)){const u=(c.__vccOpts||c)[t];u&&i.push(Yn(u,n,r,o,a,s))}else{let l=c();i.push(()=>l.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${o.path}"`);const f=cw(u)?u.default:u;o.mods[a]=u,o.components[a]=f;const h=(f.__vccOpts||f)[t];return h&&Yn(h,n,r,o,a,s)()}))}}return i}function wh(e){const t=et(Ja),n=et(Ju),r=me(()=>{const c=Qn(e.to);return t.resolve(c)}),s=me(()=>{const{matched:c}=r.value,{length:l}=c,u=c[l-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(ps.bind(null,u));if(d>-1)return d;const h=Eh(c[l-2]);return l>1&&Eh(u)===h&&f[f.length-1].path!==h?f.findIndex(ps.bind(null,c[l-2])):d}),i=me(()=>s.value>-1&&oE(n.params,r.value.params)),o=me(()=>s.value>-1&&s.value===n.matched.length-1&&H0(n.params,r.value.params));function a(c={}){if(iE(c)){const l=t[Qn(e.replace)?"replace":"push"](Qn(e.to)).catch(ii);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>l),l}return Promise.resolve()}return{route:r,href:me(()=>r.value.href),isActive:i,isExactActive:o,navigate:a}}function nE(e){return e.length===1?e[0]:e}const rE=Kt({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:wh,setup(e,{slots:t}){const n=xt(wh(e)),{options:r}=et(Ja),s=me(()=>({[Th(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Th(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&nE(t.default(n));return e.custom?i:Ya("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},i)}}}),sE=rE;function iE(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 oE(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(!Gt(s)||s.length!==r.length||r.some((i,o)=>i!==s[o]))return!1}return!0}function Eh(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Th=(e,t,n)=>e??t??n,aE=Kt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=et(Ml),s=me(()=>e.route||r.value),i=et(Sh,0),o=me(()=>{let l=Qn(i);const{matched:u}=s.value;let f;for(;(f=u[l])&&!f.components;)l++;return l}),a=me(()=>s.value.matched[o.value]);xr(Sh,me(()=>o.value+1)),xr(tE,a),xr(Ml,s);const c=jt();return Lt(()=>[c.value,a.value,e.name],([l,u,f],[d,h,p])=>{u&&(u.instances[f]=l,h&&h!==u&&l&&l===d&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),l&&u&&(!h||!ps(u,h)||!d)&&(u.enterCallbacks[f]||[]).forEach(m=>m(l))},{flush:"post"}),()=>{const l=s.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return kh(n.default,{Component:d,route:l});const h=f.props[u],p=h?h===!0?l.params:typeof h=="function"?h(l):h:null,S=Ya(d,Ie({},p,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(f.instances[u]=null)},ref:c}));return kh(n.default,{Component:S,route:l})||S}}});function kh(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const cE=aE;function lE(e){const t=Gw(e.routes,e),n=e.parseQuery||Qw,r=e.stringifyQuery||bh,s=e.history,i=zs(),o=zs(),a=zs(),c=Dt(Wn);let l=Wn;Qr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Nc.bind(null,C=>""+C),f=Nc.bind(null,Sw),d=Nc.bind(null,xi);function h(C,z){let V,Y;return j0(C)?(V=t.getRecordMatcher(C),Y=z):Y=C,t.addRoute(Y,V)}function p(C){const z=t.getRecordMatcher(C);z&&t.removeRoute(z)}function m(){return t.getRoutes().map(C=>C.record)}function S(C){return!!t.getRecordMatcher(C)}function y(C,z){if(z=Ie({},z||c.value),typeof C=="string"){const b=Dc(n,C,z.path),x=t.resolve({path:b.path},z),P=s.createHref(b.fullPath);return Ie(b,x,{params:d(x.params),hash:xi(b.hash),redirectedFrom:void 0,href:P})}let V;if(C.path!=null)V=Ie({},C,{path:Dc(n,C.path,z.path).path});else{const b=Ie({},C.params);for(const x in b)b[x]==null&&delete b[x];V=Ie({},C,{params:f(b)}),z.params=f(z.params)}const Y=t.resolve(V,z),xe=C.hash||"";Y.params=u(d(Y.params));const g=Tw(r,Ie({},C,{hash:vw(xe),path:Y.path})),v=s.createHref(g);return Ie({fullPath:g,hash:xe,query:r===bh?eE(C.query):C.query||{}},Y,{redirectedFrom:void 0,href:v})}function _(C){return typeof C=="string"?Dc(n,C,c.value.path):Ie({},C)}function w(C,z){if(l!==C)return ms(8,{from:z,to:C})}function T(C){return I(C)}function A(C){return T(Ie(_(C),{replace:!0}))}function E(C){const z=C.matched[C.matched.length-1];if(z&&z.redirect){const{redirect:V}=z;let Y=typeof V=="function"?V(C):V;return typeof Y=="string"&&(Y=Y.includes("?")||Y.includes("#")?Y=_(Y):{path:Y},Y.params={}),Ie({query:C.query,hash:C.hash,params:Y.path!=null?{}:C.params},Y)}}function I(C,z){const V=l=y(C),Y=c.value,xe=C.state,g=C.force,v=C.replace===!0,b=E(V);if(b)return I(Ie(_(b),{state:typeof b=="object"?Ie({},xe,b.state):xe,force:g,replace:v}),z||V);const x=V;x.redirectedFrom=z;let P;return!g&&kw(r,Y,V)&&(P=ms(16,{to:x,from:Y}),we(Y,Y,!0,!1)),(P?Promise.resolve(P):N(x,Y)).catch(M=>mn(M)?mn(M,2)?M:ke(M):G(M,x,Y)).then(M=>{if(M){if(mn(M,2))return I(Ie({replace:v},_(M.to),{state:typeof M.to=="object"?Ie({},xe,M.to.state):xe,force:g}),z||x)}else M=R(x,Y,!0,v,xe);return q(x,Y,M),M})}function F(C,z){const V=w(C,z);return V?Promise.reject(V):Promise.resolve()}function k(C){const z=tt.values().next().value;return z&&typeof z.runWithContext=="function"?z.runWithContext(C):C()}function N(C,z){let V;const[Y,xe,g]=uE(C,z);V=Lc(Y.reverse(),"beforeRouteLeave",C,z);for(const b of Y)b.leaveGuards.forEach(x=>{V.push(Yn(x,C,z))});const v=F.bind(null,C,z);return V.push(v),Je(V).then(()=>{V=[];for(const b of i.list())V.push(Yn(b,C,z));return V.push(v),Je(V)}).then(()=>{V=Lc(xe,"beforeRouteUpdate",C,z);for(const b of xe)b.updateGuards.forEach(x=>{V.push(Yn(x,C,z))});return V.push(v),Je(V)}).then(()=>{V=[];for(const b of g)if(b.beforeEnter)if(Gt(b.beforeEnter))for(const x of b.beforeEnter)V.push(Yn(x,C,z));else V.push(Yn(b.beforeEnter,C,z));return V.push(v),Je(V)}).then(()=>(C.matched.forEach(b=>b.enterCallbacks={}),V=Lc(g,"beforeRouteEnter",C,z,k),V.push(v),Je(V))).then(()=>{V=[];for(const b of o.list())V.push(Yn(b,C,z));return V.push(v),Je(V)}).catch(b=>mn(b,8)?b:Promise.reject(b))}function q(C,z,V){a.list().forEach(Y=>k(()=>Y(C,z,V)))}function R(C,z,V,Y,xe){const g=w(C,z);if(g)return g;const v=z===Wn,b=Qr?history.state:{};V&&(Y||v?s.replace(C.fullPath,Ie({scroll:v&&b&&b.scroll},xe)):s.push(C.fullPath,xe)),c.value=C,we(C,z,V,v),ke()}let K;function re(){K||(K=s.listen((C,z,V)=>{if(!yt.listening)return;const Y=y(C),xe=E(Y);if(xe){I(Ie(xe,{replace:!0,force:!0}),Y).catch(ii);return}l=Y;const g=c.value;Qr&&Pw(fh(g.fullPath,V.delta),Xa()),N(Y,g).catch(v=>mn(v,12)?v:mn(v,2)?(I(Ie(_(v.to),{force:!0}),Y).then(b=>{mn(b,20)&&!V.delta&&V.type===Ii.pop&&s.go(-1,!1)}).catch(ii),Promise.reject()):(V.delta&&s.go(-V.delta,!1),G(v,Y,g))).then(v=>{v=v||R(Y,g,!1),v&&(V.delta&&!mn(v,8)?s.go(-V.delta,!1):V.type===Ii.pop&&mn(v,20)&&s.go(-1,!1)),q(Y,g,v)}).catch(ii)}))}let J=zs(),X=zs(),L;function G(C,z,V){ke(C);const Y=X.list();return Y.length?Y.forEach(xe=>xe(C,z,V)):console.error(C),Promise.reject(C)}function Q(){return L&&c.value!==Wn?Promise.resolve():new Promise((C,z)=>{J.add([C,z])})}function ke(C){return L||(L=!C,re(),J.list().forEach(([z,V])=>C?V(C):z()),J.reset()),C}function we(C,z,V,Y){const{scrollBehavior:xe}=e;if(!Qr||!xe)return Promise.resolve();const g=!V&&Nw(fh(C.fullPath,0))||(Y||!V)&&history.state&&history.state.scroll||null;return $u().then(()=>xe(C,z,g)).then(v=>v&&Ow(v)).catch(v=>G(v,C,z))}const pe=C=>s.go(C);let ze;const tt=new Set,yt={currentRoute:c,listening:!0,addRoute:h,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:S,getRoutes:m,resolve:y,options:e,push:T,replace:A,go:pe,back:()=>pe(-1),forward:()=>pe(1),beforeEach:i.add,beforeResolve:o.add,afterEach:a.add,onError:X.add,isReady:Q,install(C){const z=this;C.component("RouterLink",sE),C.component("RouterView",cE),C.config.globalProperties.$router=z,Object.defineProperty(C.config.globalProperties,"$route",{enumerable:!0,get:()=>Qn(c)}),Qr&&!ze&&c.value===Wn&&(ze=!0,T(s.location).catch(xe=>{}));const V={};for(const xe in Wn)Object.defineProperty(V,xe,{get:()=>c.value[xe],enumerable:!0});C.provide(Ja,z),C.provide(Ju,yg(V)),C.provide(Ml,c);const Y=C.unmount;tt.add(C),C.unmount=function(){tt.delete(C),tt.size<1&&(l=Wn,K&&K(),K=null,c.value=Wn,ze=!1,L=!1),Y()}}};function Je(C){return C.reduce((z,V)=>z.then(()=>k(V)),Promise.resolve())}return yt}function uE(e,t){const n=[],r=[],s=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;ops(l,a))?r.push(a):n.push(a));const c=e.matched[o];c&&(t.matched.find(l=>ps(l,c))||s.push(c))}return[n,r,s]}function fE(){return et(Ja)}function V0(e){return et(Ju)}const dE=["href","aria-current","onClick"],hE={key:0,class:"fluent-button__icon fluent-button__icon--prepend"},pE={class:"fluent-button__text"},mE={key:1,class:"fluent-button__icon fluent-button__icon--append"},gE=["href"],yE={key:0,class:"fluent-button__icon fluent-button__icon--prepend"},vE={class:"fluent-button__text"},_E={key:1,class:"fluent-button__icon fluent-button__icon--append"},bE=["disabled"],SE={key:0,class:"fluent-button__icon fluent-button__icon--prepend"},wE={class:"fluent-button__text"},EE={key:1,class:"fluent-button__icon fluent-button__icon--append"},TE=Kt({__name:"FluentButton",props:{variant:{type:String,default:"standard",validator:e=>["standard","primary","text","hyperlink"].includes(e)},disabled:{type:Boolean,default:!1},block:{type:Boolean,default:!1},href:{type:String,default:void 0},to:{type:[String,Object],default:void 0},replace:{type:Boolean,default:!1}},setup(e){return(t,n)=>{const r=Bi("RouterLink");return e.to?(_e(),Zt(r,{key:0,custom:"",to:e.to,replace:e.replace},{default:Pt(({href:s,navigate:i,isActive:o,isExactActive:a})=>[ue("a",si({class:["fluent-button",[`fluent-button--${e.variant}`,{"fluent-button--disabled":e.disabled,"fluent-button--block":e.block,"router-link-active":o,"router-link-exact-active":a}]],href:s,"aria-current":a?"page":void 0},t.$attrs,{onClick:c=>e.disabled?c.preventDefault():i(c)}),[t.$slots.prepend?(_e(),je("span",hE,[pn(t.$slots,"prepend",{},void 0,!0)])):kt("",!0),ue("span",pE,[pn(t.$slots,"default",{},void 0,!0)]),t.$slots.append?(_e(),je("span",mE,[pn(t.$slots,"append",{},void 0,!0)])):kt("",!0)],16,dE)]),_:3},8,["to","replace"])):e.href?(_e(),je("a",si({key:1,class:["fluent-button",[`fluent-button--${e.variant}`,{"fluent-button--disabled":e.disabled,"fluent-button--block":e.block}]],href:e.href},t.$attrs),[t.$slots.prepend?(_e(),je("span",yE,[pn(t.$slots,"prepend",{},void 0)])):kt("",!0),ue("span",vE,[pn(t.$slots,"default",{},void 0)]),t.$slots.append?(_e(),je("span",_E,[pn(t.$slots,"append",{},void 0)])):kt("",!0)],16,gE)):(_e(),je("button",si({key:2,class:["fluent-button",[`fluent-button--${e.variant}`,{"fluent-button--disabled":e.disabled,"fluent-button--block":e.block}]],disabled:e.disabled},t.$attrs),[t.$slots.prepend?(_e(),je("span",SE,[pn(t.$slots,"prepend",{},void 0)])):kt("",!0),ue("span",wE,[pn(t.$slots,"default",{},void 0)]),t.$slots.append?(_e(),je("span",EE,[pn(t.$slots,"append",{},void 0)])):kt("",!0)],16,bE))}}}),Rs=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Fc=Rs(TE,[["__scopeId","data-v-468b34f4"]]);/*! * Font Awesome Free 7.2.0 by @fontawesome - https://fontawesome.com * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) * Copyright 2026 Fonticons, Inc. */function Ol(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:s}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,o=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return o=c.done,c},e:function(c){a=!0,i=c},f:function(){try{o||n.return==null||n.return()}finally{if(a)throw i}}}}function le(e,t,n){return(t=Z0(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function RE(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ME(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,s,i,o,a=[],c=!0,l=!1;try{if(i=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(u){l=!0,s=u}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw s}}return a}}function OE(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function PE(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function H(e){for(var t=1;t-1;s--){var i=n[s],o=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(r=i)}return Fe.head.insertBefore(t,r),e}}var I4="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Dh(){for(var e=12,t="";e-- >0;)t+=I4[Math.random()*62|0];return t}function Ms(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function sf(e){return e.classList?Ms(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function I1(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function C4(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(I1(e[n]),'" ')},"").trim()}function ec(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function of(e){return e.size!==cn.size||e.x!==cn.x||e.y!==cn.y||e.rotate!==cn.rotate||e.flipX||e.flipY}function A4(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,s={transform:"translate(".concat(n/2," 256)")},i="translate(".concat(t.x*32,", ").concat(t.y*32,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),a="rotate(".concat(t.rotate," 0 0)"),c={transform:"".concat(i," ").concat(o," ").concat(a)},l={transform:"translate(".concat(r/2*-1," -256)")};return{outer:s,inner:c,path:l}}function R4(e){var t=e.transform,n=e.width,r=n===void 0?Nl:n,s=e.height,i=s===void 0?Nl:s,o="";return K0?o+="translate(".concat(t.x/Kr-r/2,"em, ").concat(t.y/Kr-i/2,"em) "):o+="translate(calc(-50% + ".concat(t.x/Kr,"em), calc(-50% + ").concat(t.y/Kr,"em)) "),o+="scale(".concat(t.size/Kr*(t.flipX?-1:1),", ").concat(t.size/Kr*(t.flipY?-1:1),") "),o+="rotate(".concat(t.rotate,"deg) "),o}var M4=`:root, :host { --fa-font-solid: normal 900 1em/1 'Font Awesome 7 Free'; --fa-font-regular: normal 400 1em/1 'Font Awesome 7 Free'; --fa-font-light: normal 300 1em/1 'Font Awesome 7 Pro'; --fa-font-thin: normal 100 1em/1 'Font Awesome 7 Pro'; --fa-font-duotone: normal 900 1em/1 'Font Awesome 7 Duotone'; --fa-font-duotone-regular: normal 400 1em/1 'Font Awesome 7 Duotone'; --fa-font-duotone-light: normal 300 1em/1 'Font Awesome 7 Duotone'; --fa-font-duotone-thin: normal 100 1em/1 'Font Awesome 7 Duotone'; --fa-font-brands: normal 400 1em/1 'Font Awesome 7 Brands'; --fa-font-sharp-solid: normal 900 1em/1 'Font Awesome 7 Sharp'; --fa-font-sharp-regular: normal 400 1em/1 'Font Awesome 7 Sharp'; --fa-font-sharp-light: normal 300 1em/1 'Font Awesome 7 Sharp'; --fa-font-sharp-thin: normal 100 1em/1 'Font Awesome 7 Sharp'; --fa-font-sharp-duotone-solid: normal 900 1em/1 'Font Awesome 7 Sharp Duotone'; --fa-font-sharp-duotone-regular: normal 400 1em/1 'Font Awesome 7 Sharp Duotone'; --fa-font-sharp-duotone-light: normal 300 1em/1 'Font Awesome 7 Sharp Duotone'; --fa-font-sharp-duotone-thin: normal 100 1em/1 'Font Awesome 7 Sharp Duotone'; --fa-font-slab-regular: normal 400 1em/1 'Font Awesome 7 Slab'; --fa-font-slab-press-regular: normal 400 1em/1 'Font Awesome 7 Slab Press'; --fa-font-whiteboard-semibold: normal 600 1em/1 'Font Awesome 7 Whiteboard'; --fa-font-thumbprint-light: normal 300 1em/1 'Font Awesome 7 Thumbprint'; --fa-font-notdog-solid: normal 900 1em/1 'Font Awesome 7 Notdog'; --fa-font-notdog-duo-solid: normal 900 1em/1 'Font Awesome 7 Notdog Duo'; --fa-font-etch-solid: normal 900 1em/1 'Font Awesome 7 Etch'; --fa-font-graphite-thin: normal 100 1em/1 'Font Awesome 7 Graphite'; --fa-font-jelly-regular: normal 400 1em/1 'Font Awesome 7 Jelly'; --fa-font-jelly-fill-regular: normal 400 1em/1 'Font Awesome 7 Jelly Fill'; --fa-font-jelly-duo-regular: normal 400 1em/1 'Font Awesome 7 Jelly Duo'; --fa-font-chisel-regular: normal 400 1em/1 'Font Awesome 7 Chisel'; --fa-font-utility-semibold: normal 600 1em/1 'Font Awesome 7 Utility'; --fa-font-utility-duo-semibold: normal 600 1em/1 'Font Awesome 7 Utility Duo'; --fa-font-utility-fill-semibold: normal 600 1em/1 'Font Awesome 7 Utility Fill'; } .svg-inline--fa { box-sizing: content-box; display: var(--fa-display, inline-block); height: 1em; overflow: visible; vertical-align: -0.125em; width: var(--fa-width, 1.25em); } .svg-inline--fa.fa-2xs { vertical-align: 0.1em; } .svg-inline--fa.fa-xs { vertical-align: 0em; } .svg-inline--fa.fa-sm { vertical-align: -0.0714285714em; } .svg-inline--fa.fa-lg { vertical-align: -0.2em; } .svg-inline--fa.fa-xl { vertical-align: -0.25em; } .svg-inline--fa.fa-2xl { vertical-align: -0.3125em; } .svg-inline--fa.fa-pull-left, .svg-inline--fa .fa-pull-start { float: inline-start; margin-inline-end: var(--fa-pull-margin, 0.3em); } .svg-inline--fa.fa-pull-right, .svg-inline--fa .fa-pull-end { float: inline-end; margin-inline-start: var(--fa-pull-margin, 0.3em); } .svg-inline--fa.fa-li { width: var(--fa-li-width, 2em); inset-inline-start: calc(-1 * var(--fa-li-width, 2em)); inset-block-start: 0.25em; /* syncing vertical alignment with Web Font rendering */ } .fa-layers-counter, .fa-layers-text { display: inline-block; position: absolute; text-align: center; } .fa-layers { display: inline-block; height: 1em; position: relative; text-align: center; vertical-align: -0.125em; width: var(--fa-width, 1.25em); } .fa-layers .svg-inline--fa { inset: 0; margin: auto; position: absolute; transform-origin: center center; } .fa-layers-text { left: 50%; top: 50%; transform: translate(-50%, -50%); transform-origin: center center; } .fa-layers-counter { background-color: var(--fa-counter-background-color, #ff253a); border-radius: var(--fa-counter-border-radius, 1em); box-sizing: border-box; color: var(--fa-inverse, #fff); line-height: var(--fa-counter-line-height, 1); max-width: var(--fa-counter-max-width, 5em); min-width: var(--fa-counter-min-width, 1.5em); overflow: hidden; padding: var(--fa-counter-padding, 0.25em 0.5em); right: var(--fa-right, 0); text-overflow: ellipsis; top: var(--fa-top, 0); transform: scale(var(--fa-counter-scale, 0.25)); transform-origin: top right; } .fa-layers-bottom-right { bottom: var(--fa-bottom, 0); right: var(--fa-right, 0); top: auto; transform: scale(var(--fa-layers-scale, 0.25)); transform-origin: bottom right; } .fa-layers-bottom-left { bottom: var(--fa-bottom, 0); left: var(--fa-left, 0); right: auto; top: auto; transform: scale(var(--fa-layers-scale, 0.25)); transform-origin: bottom left; } .fa-layers-top-right { top: var(--fa-top, 0); right: var(--fa-right, 0); transform: scale(var(--fa-layers-scale, 0.25)); transform-origin: top right; } .fa-layers-top-left { left: var(--fa-left, 0); right: auto; top: var(--fa-top, 0); transform: scale(var(--fa-layers-scale, 0.25)); transform-origin: top left; } .fa-1x { font-size: 1em; } .fa-2x { font-size: 2em; } .fa-3x { font-size: 3em; } .fa-4x { font-size: 4em; } .fa-5x { font-size: 5em; } .fa-6x { font-size: 6em; } .fa-7x { font-size: 7em; } .fa-8x { font-size: 8em; } .fa-9x { font-size: 9em; } .fa-10x { font-size: 10em; } .fa-2xs { font-size: calc(10 / 16 * 1em); /* converts a 10px size into an em-based value that's relative to the scale's 16px base */ line-height: calc(1 / 10 * 1em); /* sets the line-height of the icon back to that of it's parent */ vertical-align: calc((6 / 10 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */ } .fa-xs { font-size: calc(12 / 16 * 1em); /* converts a 12px size into an em-based value that's relative to the scale's 16px base */ line-height: calc(1 / 12 * 1em); /* sets the line-height of the icon back to that of it's parent */ vertical-align: calc((6 / 12 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */ } .fa-sm { font-size: calc(14 / 16 * 1em); /* converts a 14px size into an em-based value that's relative to the scale's 16px base */ line-height: calc(1 / 14 * 1em); /* sets the line-height of the icon back to that of it's parent */ vertical-align: calc((6 / 14 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */ } .fa-lg { font-size: calc(20 / 16 * 1em); /* converts a 20px size into an em-based value that's relative to the scale's 16px base */ line-height: calc(1 / 20 * 1em); /* sets the line-height of the icon back to that of it's parent */ vertical-align: calc((6 / 20 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */ } .fa-xl { font-size: calc(24 / 16 * 1em); /* converts a 24px size into an em-based value that's relative to the scale's 16px base */ line-height: calc(1 / 24 * 1em); /* sets the line-height of the icon back to that of it's parent */ vertical-align: calc((6 / 24 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */ } .fa-2xl { font-size: calc(32 / 16 * 1em); /* converts a 32px size into an em-based value that's relative to the scale's 16px base */ line-height: calc(1 / 32 * 1em); /* sets the line-height of the icon back to that of it's parent */ vertical-align: calc((6 / 32 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */ } .fa-width-auto { --fa-width: auto; } .fa-fw, .fa-width-fixed { --fa-width: 1.25em; } .fa-ul { list-style-type: none; margin-inline-start: var(--fa-li-margin, 2.5em); padding-inline-start: 0; } .fa-ul > li { position: relative; } .fa-li { inset-inline-start: calc(-1 * var(--fa-li-width, 2em)); position: absolute; text-align: center; width: var(--fa-li-width, 2em); line-height: inherit; } /* Heads Up: Bordered Icons will not be supported in the future! - This feature will be deprecated in the next major release of Font Awesome (v8)! - You may continue to use it in this version *v7), but it will not be supported in Font Awesome v8. */ /* Notes: * --@{v.$css-prefix}-border-width = 1/16 by default (to render as ~1px based on a 16px default font-size) * --@{v.$css-prefix}-border-padding = ** 3/16 for vertical padding (to give ~2px of vertical whitespace around an icon considering it's vertical alignment) ** 4/16 for horizontal padding (to give ~4px of horizontal whitespace around an icon) */ .fa-border { border-color: var(--fa-border-color, #eee); border-radius: var(--fa-border-radius, 0.1em); border-style: var(--fa-border-style, solid); border-width: var(--fa-border-width, 0.0625em); box-sizing: var(--fa-border-box-sizing, content-box); padding: var(--fa-border-padding, 0.1875em 0.25em); } .fa-pull-left, .fa-pull-start { float: inline-start; margin-inline-end: var(--fa-pull-margin, 0.3em); } .fa-pull-right, .fa-pull-end { float: inline-end; margin-inline-start: var(--fa-pull-margin, 0.3em); } .fa-beat { animation-name: fa-beat; animation-delay: var(--fa-animation-delay, 0s); animation-direction: var(--fa-animation-direction, normal); animation-duration: var(--fa-animation-duration, 1s); animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-timing-function: var(--fa-animation-timing, ease-in-out); } .fa-bounce { animation-name: fa-bounce; animation-delay: var(--fa-animation-delay, 0s); animation-direction: var(--fa-animation-direction, normal); animation-duration: var(--fa-animation-duration, 1s); animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); } .fa-fade { animation-name: fa-fade; animation-delay: var(--fa-animation-delay, 0s); animation-direction: var(--fa-animation-direction, normal); animation-duration: var(--fa-animation-duration, 1s); animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); } .fa-beat-fade { animation-name: fa-beat-fade; animation-delay: var(--fa-animation-delay, 0s); animation-direction: var(--fa-animation-direction, normal); animation-duration: var(--fa-animation-duration, 1s); animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); } .fa-flip { animation-name: fa-flip; animation-delay: var(--fa-animation-delay, 0s); animation-direction: var(--fa-animation-direction, normal); animation-duration: var(--fa-animation-duration, 1s); animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-timing-function: var(--fa-animation-timing, ease-in-out); } .fa-shake { animation-name: fa-shake; animation-delay: var(--fa-animation-delay, 0s); animation-direction: var(--fa-animation-direction, normal); animation-duration: var(--fa-animation-duration, 1s); animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-timing-function: var(--fa-animation-timing, linear); } .fa-spin { animation-name: fa-spin; animation-delay: var(--fa-animation-delay, 0s); animation-direction: var(--fa-animation-direction, normal); animation-duration: var(--fa-animation-duration, 2s); animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-timing-function: var(--fa-animation-timing, linear); } .fa-spin-reverse { --fa-animation-direction: reverse; } .fa-pulse, .fa-spin-pulse { animation-name: fa-spin; animation-direction: var(--fa-animation-direction, normal); animation-duration: var(--fa-animation-duration, 1s); animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-timing-function: var(--fa-animation-timing, steps(8)); } @media (prefers-reduced-motion: reduce) { .fa-beat, .fa-bounce, .fa-fade, .fa-beat-fade, .fa-flip, .fa-pulse, .fa-shake, .fa-spin, .fa-spin-pulse { animation: none !important; transition: none !important; } } @keyframes fa-beat { 0%, 90% { transform: scale(1); } 45% { transform: scale(var(--fa-beat-scale, 1.25)); } } @keyframes fa-bounce { 0% { transform: scale(1, 1) translateY(0); } 10% { transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); } 30% { transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); } 50% { transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); } 57% { transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); } 64% { transform: scale(1, 1) translateY(0); } 100% { transform: scale(1, 1) translateY(0); } } @keyframes fa-fade { 50% { opacity: var(--fa-fade-opacity, 0.4); } } @keyframes fa-beat-fade { 0%, 100% { opacity: var(--fa-beat-fade-opacity, 0.4); transform: scale(1); } 50% { opacity: 1; transform: scale(var(--fa-beat-fade-scale, 1.125)); } } @keyframes fa-flip { 50% { transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); } } @keyframes fa-shake { 0% { transform: rotate(-15deg); } 4% { transform: rotate(15deg); } 8%, 24% { transform: rotate(-18deg); } 12%, 28% { transform: rotate(18deg); } 16% { transform: rotate(-22deg); } 20% { transform: rotate(22deg); } 32% { transform: rotate(-12deg); } 36% { transform: rotate(12deg); } 40%, 100% { transform: rotate(0deg); } } @keyframes fa-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .fa-rotate-90 { transform: rotate(90deg); } .fa-rotate-180 { transform: rotate(180deg); } .fa-rotate-270 { transform: rotate(270deg); } .fa-flip-horizontal { transform: scale(-1, 1); } .fa-flip-vertical { transform: scale(1, -1); } .fa-flip-both, .fa-flip-horizontal.fa-flip-vertical { transform: scale(-1, -1); } .fa-rotate-by { transform: rotate(var(--fa-rotate-angle, 0)); } .svg-inline--fa .fa-primary { fill: var(--fa-primary-color, currentColor); opacity: var(--fa-primary-opacity, 1); } .svg-inline--fa .fa-secondary { fill: var(--fa-secondary-color, currentColor); opacity: var(--fa-secondary-opacity, 0.4); } .svg-inline--fa.fa-swap-opacity .fa-primary { opacity: var(--fa-secondary-opacity, 0.4); } .svg-inline--fa.fa-swap-opacity .fa-secondary { opacity: var(--fa-primary-opacity, 1); } .svg-inline--fa mask .fa-primary, .svg-inline--fa mask .fa-secondary { fill: black; } .svg-inline--fa.fa-inverse { fill: var(--fa-inverse, #fff); } .fa-stack { display: inline-block; height: 2em; line-height: 2em; position: relative; vertical-align: middle; width: 2.5em; } .fa-inverse { color: var(--fa-inverse, #fff); } .svg-inline--fa.fa-stack-1x { --fa-width: 1.25em; height: 1em; width: var(--fa-width); } .svg-inline--fa.fa-stack-2x { --fa-width: 2.5em; height: 2em; width: var(--fa-width); } .fa-stack-1x, .fa-stack-2x { inset: 0; margin: auto; position: absolute; z-index: var(--fa-stack-z-index, auto); }`;function C1(){var e=b1,t=S1,n=te.cssPrefix,r=te.replacementClass,s=M4;if(n!==e||r!==t){var i=new RegExp("\\.".concat(e,"\\-"),"g"),o=new RegExp("\\--".concat(e,"\\-"),"g"),a=new RegExp("\\.".concat(t),"g");s=s.replace(i,".".concat(n,"-")).replace(o,"--".concat(n,"-")).replace(a,".".concat(r))}return s}var Lh=!1;function jc(){te.autoAddCss&&!Lh&&(x4(C1()),Lh=!0)}var O4={mixout:function(){return{dom:{css:C1,insertCss:jc}}},hooks:function(){return{beforeDOMElementCreation:function(){jc()},beforeI2svg:function(){jc()}}}},An=sr||{};An[Cn]||(An[Cn]={});An[Cn].styles||(An[Cn].styles={});An[Cn].hooks||(An[Cn].hooks={});An[Cn].shims||(An[Cn].shims=[]);var zt=An[Cn],A1=[],R1=function(){Fe.removeEventListener("DOMContentLoaded",R1),ua=1,A1.map(function(t){return t()})},ua=!1;Bn&&(ua=(Fe.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Fe.readyState),ua||Fe.addEventListener("DOMContentLoaded",R1));function P4(e){Bn&&(ua?setTimeout(e,0):A1.push(e))}function Zi(e){var t=e.tag,n=e.attributes,r=n===void 0?{}:n,s=e.children,i=s===void 0?[]:s;return typeof e=="string"?I1(e):"<".concat(t," ").concat(C4(r),">").concat(i.map(Zi).join(""),"")}function Fh(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var Uc=function(t,n,r,s){var i=Object.keys(t),o=i.length,a=n,c,l,u;for(r===void 0?(c=1,u=t[i[0]]):(c=0,u=r);c2&&arguments[2]!==void 0?arguments[2]:{},r=n.skipHooks,s=r===void 0?!1:r,i=$h(t);typeof zt.hooks.addPack=="function"&&!s?zt.hooks.addPack(e,$h(t)):zt.styles[e]=H(H({},zt.styles[e]||{}),i),e==="fas"&&Hl("fa",t)}var Ci=zt.styles,N4=zt.shims,O1=Object.keys(rf),D4=O1.reduce(function(e,t){return e[t]=Object.keys(rf[t]),e},{}),af=null,P1={},N1={},D1={},L1={},F1={};function L4(e){return~S4.indexOf(e)}function F4(e,t){var n=t.split("-"),r=n[0],s=n.slice(1).join("-");return r===e&&s!==""&&!L4(s)?s:null}var $1=function(){var t=function(i){return Uc(Ci,function(o,a,c){return o[c]=Uc(a,i,{}),o},{})};P1=t(function(s,i,o){if(i[3]&&(s[i[3]]=o),i[2]){var a=i[2].filter(function(c){return typeof c=="number"});a.forEach(function(c){s[c.toString(16)]=o})}return s}),N1=t(function(s,i,o){if(s[o]=o,i[2]){var a=i[2].filter(function(c){return typeof c=="string"});a.forEach(function(c){s[c]=o})}return s}),F1=t(function(s,i,o){var a=i[2];return s[o]=o,a.forEach(function(c){s[c]=o}),s});var n="far"in Ci||te.autoFetchSvg,r=Uc(N4,function(s,i){var o=i[0],a=i[1],c=i[2];return a==="far"&&!n&&(a="fas"),typeof o=="string"&&(s.names[o]={prefix:a,iconName:c}),typeof o=="number"&&(s.unicodes[o.toString(16)]={prefix:a,iconName:c}),s},{names:{},unicodes:{}});D1=r.names,L1=r.unicodes,af=tc(te.styleDefault,{family:te.familyDefault})};k4(function(e){af=tc(e.styleDefault,{family:te.familyDefault})});$1();function cf(e,t){return(P1[e]||{})[t]}function $4(e,t){return(N1[e]||{})[t]}function Sr(e,t){return(F1[e]||{})[t]}function H1(e){return D1[e]||{prefix:null,iconName:null}}function H4(e){var t=L1[e],n=cf("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function ir(){return af}var B1=function(){return{prefix:null,iconName:null,rest:[]}};function B4(e){var t=it,n=O1.reduce(function(r,s){return r[s]="".concat(te.cssPrefix,"-").concat(s),r},{});return g1.forEach(function(r){(e.includes(n[r])||e.some(function(s){return D4[r].includes(s)}))&&(t=r)}),t}function tc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.family,r=n===void 0?it:n,s=g4[r][e];if(r===zi&&!e)return"fad";var i=Nh[r][e]||Nh[r][s],o=e in zt.styles?e:null,a=i||o||null;return a}function j4(e){var t=[],n=null;return e.forEach(function(r){var s=F4(te.cssPrefix,r);s?n=s:r&&t.push(r)}),{iconName:n,rest:t}}function Hh(e){return e.sort().filter(function(t,n,r){return r.indexOf(t)===n})}var Bh=v1.concat(y1);function nc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.skipLookups,r=n===void 0?!1:n,s=null,i=Hh(e.filter(function(h){return Bh.includes(h)})),o=Hh(e.filter(function(h){return!Bh.includes(h)})),a=i.filter(function(h){return s=h,!J0.includes(h)}),c=Qa(a,1),l=c[0],u=l===void 0?null:l,f=B4(i),d=H(H({},j4(o)),{},{prefix:tc(u,{family:f})});return H(H(H({},d),V4({values:e,family:f,styles:Ci,config:te,canonical:d,givenPrefix:s})),U4(r,s,d))}function U4(e,t,n){var r=n.prefix,s=n.iconName;if(e||!r||!s)return{prefix:r,iconName:s};var i=t==="fa"?H1(s):{},o=Sr(r,s);return s=i.iconName||o||s,r=i.prefix||r,r==="far"&&!Ci.far&&Ci.fas&&!te.autoFetchSvg&&(r="fas"),{prefix:r,iconName:s}}var W4=g1.filter(function(e){return e!==it||e!==zi}),z4=Object.keys(Pl).filter(function(e){return e!==it}).map(function(e){return Object.keys(Pl[e])}).flat();function V4(e){var t=e.values,n=e.family,r=e.canonical,s=e.givenPrefix,i=s===void 0?"":s,o=e.styles,a=o===void 0?{}:o,c=e.config,l=c===void 0?{}:c,u=n===zi,f=t.includes("fa-duotone")||t.includes("fad"),d=l.familyDefault==="duotone",h=r.prefix==="fad"||r.prefix==="fa-duotone";if(!u&&(f||d||h)&&(r.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(r.prefix="fab"),!r.prefix&&W4.includes(n)){var p=Object.keys(a).find(function(S){return z4.includes(S)});if(p||l.autoFetchSvg){var m=o3.get(n).defaultShortPrefixId;r.prefix=m,r.iconName=Sr(r.prefix,r.iconName)||r.iconName}}return(r.prefix==="fa"||i==="fa")&&(r.prefix=ir()||"fas"),r}var Z4=function(){function e(){IE(this,e),this.definitions={}}return AE(e,[{key:"add",value:function(){for(var n=this,r=arguments.length,s=new Array(r),i=0;i0&&u.forEach(function(f){typeof f=="string"&&(n[a][f]=l)}),n[a][c]=l}),n}}])}(),jh=[],ns={},ds={},q4=Object.keys(ds);function G4(e,t){var n=t.mixoutsTo;return jh=e,ns={},Object.keys(ds).forEach(function(r){q4.indexOf(r)===-1&&delete ds[r]}),jh.forEach(function(r){var s=r.mixout?r.mixout():{};if(Object.keys(s).forEach(function(o){typeof s[o]=="function"&&(n[o]=s[o]),la(s[o])==="object"&&Object.keys(s[o]).forEach(function(a){n[o]||(n[o]={}),n[o][a]=s[o][a]})}),r.hooks){var i=r.hooks();Object.keys(i).forEach(function(o){ns[o]||(ns[o]=[]),ns[o].push(i[o])})}r.provides&&r.provides(ds)}),n}function Bl(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),s=2;s1?t-1:0),r=1;r0&&arguments[0]!==void 0?arguments[0]:{};return Bn?(Lr("beforeI2svg",t),or("pseudoElements2svg",t),or("i2svg",t)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot;te.autoReplaceSvg===!1&&(te.autoReplaceSvg=!0),te.observeMutations=!0,P4(function(){J4({autoReplaceSvgRoot:n}),Lr("watch",t)})}},X4={icon:function(t){if(t===null)return null;if(la(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:Sr(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var n=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],r=tc(t[0]);return{prefix:r,iconName:Sr(r,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(te.cssPrefix,"-"))>-1||t.match(y4))){var s=nc(t.split(" "),{skipLookups:!0});return{prefix:s.prefix||ir(),iconName:Sr(s.prefix,s.iconName)||s.iconName}}if(typeof t=="string"){var i=ir();return{prefix:i,iconName:Sr(i,t)||t}}}},Mt={noAuto:Y4,config:te,dom:K4,parse:X4,library:j1,findIconDefinition:jl,toHtml:Zi},J4=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot,r=n===void 0?Fe:n;(Object.keys(zt.styles).length>0||te.autoFetchSvg)&&Bn&&te.autoReplaceSvg&&Mt.dom.i2svg({node:r})};function rc(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(r){return Zi(r)})}}),Object.defineProperty(e,"node",{get:function(){if(Bn){var r=Fe.createElement("div");return r.innerHTML=e.html,r.children}}}),e}function Q4(e){var t=e.children,n=e.main,r=e.mask,s=e.attributes,i=e.styles,o=e.transform;if(of(o)&&n.found&&!r.found){var a=n.width,c=n.height,l={x:a/c/2,y:.5};s.style=ec(H(H({},i),{},{"transform-origin":"".concat(l.x+o.x/16,"em ").concat(l.y+o.y/16,"em")}))}return[{tag:"svg",attributes:s,children:t}]}function e7(e){var t=e.prefix,n=e.iconName,r=e.children,s=e.attributes,i=e.symbol,o=i===!0?"".concat(t,"-").concat(te.cssPrefix,"-").concat(n):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:H(H({},s),{},{id:o}),children:r}]}]}function t7(e){var t=["aria-label","aria-labelledby","title","role"];return t.some(function(n){return n in e})}function lf(e){var t=e.icons,n=t.main,r=t.mask,s=e.prefix,i=e.iconName,o=e.transform,a=e.symbol,c=e.maskId,l=e.extra,u=e.watchable,f=u===void 0?!1:u,d=r.found?r:n,h=d.width,p=d.height,m=[te.replacementClass,i?"".concat(te.cssPrefix,"-").concat(i):""].filter(function(A){return l.classes.indexOf(A)===-1}).filter(function(A){return A!==""||!!A}).concat(l.classes).join(" "),S={children:[],attributes:H(H({},l.attributes),{},{"data-prefix":s,"data-icon":i,class:m,role:l.attributes.role||"img",viewBox:"0 0 ".concat(h," ").concat(p)})};!t7(l.attributes)&&!l.attributes["aria-hidden"]&&(S.attributes["aria-hidden"]="true"),f&&(S.attributes[Dr]="");var y=H(H({},S),{},{prefix:s,iconName:i,main:n,mask:r,maskId:c,transform:o,symbol:a,styles:H({},l.styles)}),_=r.found&&n.found?or("generateAbstractMask",y)||{children:[],attributes:{}}:or("generateAbstractIcon",y)||{children:[],attributes:{}},w=_.children,T=_.attributes;return y.children=w,y.attributes=T,a?e7(y):Q4(y)}function Uh(e){var t=e.content,n=e.width,r=e.height,s=e.transform,i=e.extra,o=e.watchable,a=o===void 0?!1:o,c=H(H({},i.attributes),{},{class:i.classes.join(" ")});a&&(c[Dr]="");var l=H({},i.styles);of(s)&&(l.transform=R4({transform:s,width:n,height:r}),l["-webkit-transform"]=l.transform);var u=ec(l);u.length>0&&(c.style=u);var f=[];return f.push({tag:"span",attributes:c,children:[t]}),f}function n7(e){var t=e.content,n=e.extra,r=H(H({},n.attributes),{},{class:n.classes.join(" ")}),s=ec(n.styles);s.length>0&&(r.style=s);var i=[];return i.push({tag:"span",attributes:r,children:[t]}),i}var Wc=zt.styles;function Ul(e){var t=e[0],n=e[1],r=e.slice(4),s=Qa(r,1),i=s[0],o=null;return Array.isArray(i)?o={tag:"g",attributes:{class:"".concat(te.cssPrefix,"-").concat(Bc.GROUP)},children:[{tag:"path",attributes:{class:"".concat(te.cssPrefix,"-").concat(Bc.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(te.cssPrefix,"-").concat(Bc.PRIMARY),fill:"currentColor",d:i[1]}}]}:o={tag:"path",attributes:{fill:"currentColor",d:i}},{found:!0,width:t,height:n,icon:o}}var r7={found:!1,width:512,height:512};function s7(e,t){!E1&&!te.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Wl(e,t){var n=t;return t==="fa"&&te.styleDefault!==null&&(t=ir()),new Promise(function(r,s){if(n==="fa"){var i=H1(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&Wc[t]&&Wc[t][e]){var o=Wc[t][e];return r(Ul(o))}s7(e,t),r(H(H({},r7),{},{icon:te.showMissingIcons&&e?or("missingIconAbstract")||{}:{}}))})}var Wh=function(){},zl=te.measurePerformance&&go&&go.mark&&go.measure?go:{mark:Wh,measure:Wh},Ks='FA "7.2.0"',i7=function(t){return zl.mark("".concat(Ks," ").concat(t," begins")),function(){return U1(t)}},U1=function(t){zl.mark("".concat(Ks," ").concat(t," ends")),zl.measure("".concat(Ks," ").concat(t),"".concat(Ks," ").concat(t," begins"),"".concat(Ks," ").concat(t," ends"))},uf={begin:i7,end:U1},$o=function(){};function zh(e){var t=e.getAttribute?e.getAttribute(Dr):null;return typeof t=="string"}function o7(e){var t=e.getAttribute?e.getAttribute(tf):null,n=e.getAttribute?e.getAttribute(nf):null;return t&&n}function a7(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(te.replacementClass)}function c7(){if(te.autoReplaceSvg===!0)return Ho.replace;var e=Ho[te.autoReplaceSvg];return e||Ho.replace}function l7(e){return Fe.createElementNS("http://www.w3.org/2000/svg",e)}function u7(e){return Fe.createElement(e)}function W1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.ceFn,r=n===void 0?e.tag==="svg"?l7:u7:n;if(typeof e=="string")return Fe.createTextNode(e);var s=r(e.tag);Object.keys(e.attributes||[]).forEach(function(o){s.setAttribute(o,e.attributes[o])});var i=e.children||[];return i.forEach(function(o){s.appendChild(W1(o,{ceFn:r}))}),s}function f7(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var Ho={replace:function(t){var n=t[0];if(n.parentNode)if(t[1].forEach(function(s){n.parentNode.insertBefore(W1(s),n)}),n.getAttribute(Dr)===null&&te.keepOriginalSource){var r=Fe.createComment(f7(n));n.parentNode.replaceChild(r,n)}else n.remove()},nest:function(t){var n=t[0],r=t[1];if(~sf(n).indexOf(te.replacementClass))return Ho.replace(t);var s=new RegExp("".concat(te.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){var i=r[0].attributes.class.split(" ").reduce(function(a,c){return c===te.replacementClass||c.match(s)?a.toSvg.push(c):a.toNode.push(c),a},{toNode:[],toSvg:[]});r[0].attributes.class=i.toSvg.join(" "),i.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",i.toNode.join(" "))}var o=r.map(function(a){return Zi(a)}).join(` `);n.setAttribute(Dr,""),n.innerHTML=o}};function Vh(e){e()}function z1(e,t){var n=typeof t=="function"?t:$o;if(e.length===0)n();else{var r=Vh;te.mutateApproach===p4&&(r=sr.requestAnimationFrame||Vh),r(function(){var s=c7(),i=uf.begin("mutate");e.map(s),i(),n()})}}var ff=!1;function V1(){ff=!0}function Vl(){ff=!1}var fa=null;function Zh(e){if(Rh&&te.observeMutations){var t=e.treeCallback,n=t===void 0?$o:t,r=e.nodeCallback,s=r===void 0?$o:r,i=e.pseudoElementsCallback,o=i===void 0?$o:i,a=e.observeMutationsRoot,c=a===void 0?Fe:a;fa=new Rh(function(l){if(!ff){var u=ir();Ms(l).forEach(function(f){if(f.type==="childList"&&f.addedNodes.length>0&&!zh(f.addedNodes[0])&&(te.searchPseudoElements&&o(f.target),n(f.target)),f.type==="attributes"&&f.target.parentNode&&te.searchPseudoElements&&o([f.target],!0),f.type==="attributes"&&zh(f.target)&&~b4.indexOf(f.attributeName))if(f.attributeName==="class"&&o7(f.target)){var d=nc(sf(f.target)),h=d.prefix,p=d.iconName;f.target.setAttribute(tf,h||u),p&&f.target.setAttribute(nf,p)}else a7(f.target)&&s(f.target)})}}),Bn&&fa.observe(c,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function d7(){fa&&fa.disconnect()}function h7(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce(function(r,s){var i=s.split(":"),o=i[0],a=i.slice(1);return o&&a.length>0&&(r[o]=a.join(":").trim()),r},{})),n}function p7(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"",s=nc(sf(e));return s.prefix||(s.prefix=ir()),t&&n&&(s.prefix=t,s.iconName=n),s.iconName&&s.prefix||(s.prefix&&r.length>0&&(s.iconName=$4(s.prefix,e.innerText)||cf(s.prefix,M1(e.innerText))),!s.iconName&&te.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(s.iconName=e.firstChild.data)),s}function m7(e){var t=Ms(e.attributes).reduce(function(n,r){return n.name!=="class"&&n.name!=="style"&&(n[r.name]=r.value),n},{});return t}function g7(){return{iconName:null,prefix:null,transform:cn,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function qh(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=p7(e),r=n.iconName,s=n.prefix,i=n.rest,o=m7(e),a=Bl("parseNodeAttributes",{},e),c=t.styleParser?h7(e):[];return H({iconName:r,prefix:s,transform:cn,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:c,attributes:o}},a)}var y7=zt.styles;function Z1(e){var t=te.autoReplaceSvg==="nest"?qh(e,{styleParser:!1}):qh(e);return~t.extra.classes.indexOf(k1)?or("generateLayersText",e,t):or("generateSvgReplacementMutation",e,t)}function v7(){return[].concat(Yt(y1),Yt(v1))}function Gh(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Bn)return Promise.resolve();var n=Fe.documentElement.classList,r=function(f){return n.add("".concat(Ph,"-").concat(f))},s=function(f){return n.remove("".concat(Ph,"-").concat(f))},i=te.autoFetchSvg?v7():J0.concat(Object.keys(y7));i.includes("fa")||i.push("fa");var o=[".".concat(k1,":not([").concat(Dr,"])")].concat(i.map(function(u){return".".concat(u,":not([").concat(Dr,"])")})).join(", ");if(o.length===0)return Promise.resolve();var a=[];try{a=Ms(e.querySelectorAll(o))}catch{}if(a.length>0)r("pending"),s("complete");else return Promise.resolve();var c=uf.begin("onTree"),l=a.reduce(function(u,f){try{var d=Z1(f);d&&u.push(d)}catch(h){E1||h.name==="MissingIcon"&&console.error(h)}return u},[]);return new Promise(function(u,f){Promise.all(l).then(function(d){z1(d,function(){r("active"),r("complete"),s("pending"),typeof t=="function"&&t(),c(),u()})}).catch(function(d){c(),f(d)})})}function _7(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;Z1(e).then(function(n){n&&z1([n],t)})}function b7(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(t||{}).icon?t:jl(t||{}),s=n.mask;return s&&(s=(s||{}).icon?s:jl(s||{})),e(r,H(H({},n),{},{mask:s}))}}var S7=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.transform,s=r===void 0?cn:r,i=n.symbol,o=i===void 0?!1:i,a=n.mask,c=a===void 0?null:a,l=n.maskId,u=l===void 0?null:l,f=n.classes,d=f===void 0?[]:f,h=n.attributes,p=h===void 0?{}:h,m=n.styles,S=m===void 0?{}:m;if(t){var y=t.prefix,_=t.iconName,w=t.icon;return rc(H({type:"icon"},t),function(){return Lr("beforeDOMElementCreation",{iconDefinition:t,params:n}),lf({icons:{main:Ul(w),mask:c?Ul(c.icon):{found:!1,width:null,height:null,icon:{}}},prefix:y,iconName:_,transform:H(H({},cn),s),symbol:o,maskId:u,extra:{attributes:p,styles:S,classes:d}})})}},w7={mixout:function(){return{icon:b7(S7)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=Gh,n.nodeCallback=_7,n}}},provides:function(t){t.i2svg=function(n){var r=n.node,s=r===void 0?Fe:r,i=n.callback,o=i===void 0?function(){}:i;return Gh(s,o)},t.generateSvgReplacementMutation=function(n,r){var s=r.iconName,i=r.prefix,o=r.transform,a=r.symbol,c=r.mask,l=r.maskId,u=r.extra;return new Promise(function(f,d){Promise.all([Wl(s,i),c.iconName?Wl(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(h){var p=Qa(h,2),m=p[0],S=p[1];f([n,lf({icons:{main:m,mask:S},prefix:i,iconName:s,transform:o,symbol:a,maskId:l,extra:u,watchable:!0})])}).catch(d)})},t.generateAbstractIcon=function(n){var r=n.children,s=n.attributes,i=n.main,o=n.transform,a=n.styles,c=ec(a);c.length>0&&(s.style=c);var l;return of(o)&&(l=or("generateAbstractTransformGrouping",{main:i,transform:o,containerWidth:i.width,iconWidth:i.width})),r.push(l||i.icon),{children:r,attributes:s}}}},E7={mixout:function(){return{layer:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=r.classes,i=s===void 0?[]:s;return rc({type:"layer"},function(){Lr("beforeDOMElementCreation",{assembler:n,params:r});var o=[];return n(function(a){Array.isArray(a)?a.map(function(c){o=o.concat(c.abstract)}):o=o.concat(a.abstract)}),[{tag:"span",attributes:{class:["".concat(te.cssPrefix,"-layers")].concat(Yt(i)).join(" ")},children:o}]})}}}},T7={mixout:function(){return{counter:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};r.title;var s=r.classes,i=s===void 0?[]:s,o=r.attributes,a=o===void 0?{}:o,c=r.styles,l=c===void 0?{}:c;return rc({type:"counter",content:n},function(){return Lr("beforeDOMElementCreation",{content:n,params:r}),n7({content:n.toString(),extra:{attributes:a,styles:l,classes:["".concat(te.cssPrefix,"-layers-counter")].concat(Yt(i))}})})}}}},k7={mixout:function(){return{text:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=r.transform,i=s===void 0?cn:s,o=r.classes,a=o===void 0?[]:o,c=r.attributes,l=c===void 0?{}:c,u=r.styles,f=u===void 0?{}:u;return rc({type:"text",content:n},function(){return Lr("beforeDOMElementCreation",{content:n,params:r}),Uh({content:n,transform:H(H({},cn),i),extra:{attributes:l,styles:f,classes:["".concat(te.cssPrefix,"-layers-text")].concat(Yt(a))}})})}}},provides:function(t){t.generateLayersText=function(n,r){var s=r.transform,i=r.extra,o=null,a=null;if(K0){var c=parseInt(getComputedStyle(n).fontSize,10),l=n.getBoundingClientRect();o=l.width/c,a=l.height/c}return Promise.resolve([n,Uh({content:n.innerHTML,width:o,height:a,transform:s,extra:i,watchable:!0})])}}},q1=new RegExp('"',"ug"),Yh=[1105920,1112319],Kh=H(H(H(H({},{FontAwesome:{normal:"fas",400:"fas"}}),i3),d4),p3),Zl=Object.keys(Kh).reduce(function(e,t){return e[t.toLowerCase()]=Kh[t],e},{}),x7=Object.keys(Zl).reduce(function(e,t){var n=Zl[t];return e[t]=n[900]||Yt(Object.entries(n))[0][1],e},{});function I7(e){var t=e.replace(q1,"");return M1(Yt(t)[0]||"")}function C7(e){var t=e.getPropertyValue("font-feature-settings").includes("ss01"),n=e.getPropertyValue("content"),r=n.replace(q1,""),s=r.codePointAt(0),i=s>=Yh[0]&&s<=Yh[1],o=r.length===2?r[0]===r[1]:!1;return i||o||t}function A7(e,t){var n=e.replace(/^['"]|['"]$/g,"").toLowerCase(),r=parseInt(t),s=isNaN(r)?"normal":r;return(Zl[n]||{})[s]||x7[n]}function Xh(e,t){var n="".concat(h4).concat(t.replace(":","-"));return new Promise(function(r,s){if(e.getAttribute(n)!==null)return r();var i=Ms(e.children),o=i.filter(function(E){return E.getAttribute(Dl)===t})[0],a=sr.getComputedStyle(e,t),c=a.getPropertyValue("font-family"),l=c.match(v4),u=a.getPropertyValue("font-weight"),f=a.getPropertyValue("content");if(o&&!l)return e.removeChild(o),r();if(l&&f!=="none"&&f!==""){var d=a.getPropertyValue("content"),h=A7(c,u),p=I7(d),m=l[0].startsWith("FontAwesome"),S=C7(a),y=cf(h,p),_=y;if(m){var w=H4(p);w.iconName&&w.prefix&&(y=w.iconName,h=w.prefix)}if(y&&!S&&(!o||o.getAttribute(tf)!==h||o.getAttribute(nf)!==_)){e.setAttribute(n,_),o&&e.removeChild(o);var T=g7(),A=T.extra;A.attributes[Dl]=t,Wl(y,h).then(function(E){var I=lf(H(H({},T),{},{icons:{main:E,mask:B1()},prefix:h,iconName:_,extra:A,watchable:!0})),F=Fe.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(F,e.firstChild):e.appendChild(F),F.outerHTML=I.map(function(k){return Zi(k)}).join(` `),e.removeAttribute(n),r()}).catch(s)}else r()}else r()})}function R7(e){return Promise.all([Xh(e,"::before"),Xh(e,"::after")])}function M7(e){return e.parentNode!==document.head&&!~m4.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(Dl)&&(!e.parentNode||e.parentNode.tagName!=="svg")}var O7=function(t){return!!t&&w1.some(function(n){return t.includes(n)})},P7=function(t){if(!t)return[];var n=new Set,r=t.split(/,(?![^()]*\))/).map(function(c){return c.trim()});r=r.flatMap(function(c){return c.includes("(")?c:c.split(",").map(function(l){return l.trim()})});var s=Fo(r),i;try{for(s.s();!(i=s.n()).done;){var o=i.value;if(O7(o)){var a=w1.reduce(function(c,l){return c.replace(l,"")},o);a!==""&&a!=="*"&&n.add(a)}}}catch(c){s.e(c)}finally{s.f()}return n};function Jh(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Bn){var n;if(t)n=e;else if(te.searchPseudoElementsFullScan)n=e.querySelectorAll("*");else{var r=new Set,s=Fo(document.styleSheets),i;try{for(s.s();!(i=s.n()).done;){var o=i.value;try{var a=Fo(o.cssRules),c;try{for(a.s();!(c=a.n()).done;){var l=c.value,u=P7(l.selectorText),f=Fo(u),d;try{for(f.s();!(d=f.n()).done;){var h=d.value;r.add(h)}}catch(m){f.e(m)}finally{f.f()}}}catch(m){a.e(m)}finally{a.f()}}catch(m){te.searchPseudoElementsWarnings&&console.warn("Font Awesome: cannot parse stylesheet: ".concat(o.href," (").concat(m.message,`) If it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the , enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.`))}}}catch(m){s.e(m)}finally{s.f()}if(!r.size)return;var p=Array.from(r).join(", ");try{n=e.querySelectorAll(p)}catch{}}return new Promise(function(m,S){var y=Ms(n).filter(M7).map(R7),_=uf.begin("searchPseudoElements");V1(),Promise.all(y).then(function(){_(),Vl(),m()}).catch(function(){_(),Vl(),S()})})}}var N7={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=Jh,n}}},provides:function(t){t.pseudoElements2svg=function(n){var r=n.node,s=r===void 0?Fe:r;te.searchPseudoElements&&Jh(s)}}},Qh=!1,D7={mixout:function(){return{dom:{unwatch:function(){V1(),Qh=!0}}}},hooks:function(){return{bootstrap:function(){Zh(Bl("mutationObserverCallbacks",{}))},noAuto:function(){d7()},watch:function(n){var r=n.observeMutationsRoot;Qh?Vl():Zh(Bl("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}},ep=function(t){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(r,s){var i=s.toLowerCase().split("-"),o=i[0],a=i.slice(1).join("-");if(o&&a==="h")return r.flipX=!0,r;if(o&&a==="v")return r.flipY=!0,r;if(a=parseFloat(a),isNaN(a))return r;switch(o){case"grow":r.size=r.size+a;break;case"shrink":r.size=r.size-a;break;case"left":r.x=r.x-a;break;case"right":r.x=r.x+a;break;case"up":r.y=r.y-a;break;case"down":r.y=r.y+a;break;case"rotate":r.rotate=r.rotate+a;break}return r},n)},L7={mixout:function(){return{parse:{transform:function(n){return ep(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,r){var s=r.getAttribute("data-fa-transform");return s&&(n.transform=ep(s)),n}}},provides:function(t){t.generateAbstractTransformGrouping=function(n){var r=n.main,s=n.transform,i=n.containerWidth,o=n.iconWidth,a={transform:"translate(".concat(i/2," 256)")},c="translate(".concat(s.x*32,", ").concat(s.y*32,") "),l="scale(".concat(s.size/16*(s.flipX?-1:1),", ").concat(s.size/16*(s.flipY?-1:1),") "),u="rotate(".concat(s.rotate," 0 0)"),f={transform:"".concat(c," ").concat(l," ").concat(u)},d={transform:"translate(".concat(o/2*-1," -256)")},h={outer:a,inner:f,path:d};return{tag:"g",attributes:H({},h.outer),children:[{tag:"g",attributes:H({},h.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:H(H({},r.icon.attributes),h.path)}]}]}}}},zc={x:0,y:0,width:"100%",height:"100%"};function tp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function F7(e){return e.tag==="g"?e.children:[e]}var $7={hooks:function(){return{parseNodeAttributes:function(n,r){var s=r.getAttribute("data-fa-mask"),i=s?nc(s.split(" ").map(function(o){return o.trim()})):B1();return i.prefix||(i.prefix=ir()),n.mask=i,n.maskId=r.getAttribute("data-fa-mask-id"),n}}},provides:function(t){t.generateAbstractMask=function(n){var r=n.children,s=n.attributes,i=n.main,o=n.mask,a=n.maskId,c=n.transform,l=i.width,u=i.icon,f=o.width,d=o.icon,h=A4({transform:c,containerWidth:f,iconWidth:l}),p={tag:"rect",attributes:H(H({},zc),{},{fill:"white"})},m=u.children?{children:u.children.map(tp)}:{},S={tag:"g",attributes:H({},h.inner),children:[tp(H({tag:u.tag,attributes:H(H({},u.attributes),h.path)},m))]},y={tag:"g",attributes:H({},h.outer),children:[S]},_="mask-".concat(a||Dh()),w="clip-".concat(a||Dh()),T={tag:"mask",attributes:H(H({},zc),{},{id:_,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,y]},A={tag:"defs",children:[{tag:"clipPath",attributes:{id:w},children:F7(d)},T]};return r.push(A,{tag:"rect",attributes:H({fill:"currentColor","clip-path":"url(#".concat(w,")"),mask:"url(#".concat(_,")")},zc)}),{children:r,attributes:s}}}},H7={provides:function(t){var n=!1;sr.matchMedia&&(n=sr.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var r=[],s={fill:"currentColor"},i={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:H(H({},s),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var o=H(H({},i),{},{attributeName:"opacity"}),a={tag:"circle",attributes:H(H({},s),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||a.children.push({tag:"animate",attributes:H(H({},i),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:H(H({},o),{},{values:"1;0;1;1;0;1;"})}),r.push(a),r.push({tag:"path",attributes:H(H({},s),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:n?[]:[{tag:"animate",attributes:H(H({},o),{},{values:"1;0;0;0;0;1;"})}]}),n||r.push({tag:"path",attributes:H(H({},s),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:H(H({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},B7={hooks:function(){return{parseNodeAttributes:function(n,r){var s=r.getAttribute("data-fa-symbol"),i=s===null?!1:s===""?!0:s;return n.symbol=i,n}}}},j7=[O4,w7,E7,T7,k7,N7,D7,L7,$7,H7,B7];G4(j7,{mixoutsTo:Mt});Mt.noAuto;Mt.config;Mt.library;Mt.dom;Mt.parse;Mt.findIconDefinition;Mt.toHtml;var U7=Mt.icon;Mt.layer;Mt.text;Mt.counter;/*! * Font Awesome Free 7.2.0 by @fontawesome - https://fontawesome.com * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) * Copyright 2026 Fonticons, Inc. */var W7={prefix:"fab",iconName:"windows",icon:[448,512,[],"f17a","M0 93.7l183.6-25.3 0 177.4-183.6 0 0-152.1zM0 418.3l183.6 25.3 0-175.2-183.6 0 0 149.9zm203.8 28l244.2 33.7 0-211.6-244.2 0 0 177.9zm0-380.6l0 180.1 244.2 0 0-213.8-244.2 33.7z"]},z7={prefix:"fab",iconName:"github",icon:[512,512,[],"f09b","M173.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3 .3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5 .3-6.2 2.3zm44.2-1.7c-2.9 .7-4.9 2.6-4.6 4.9 .3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM252.8 8c-138.7 0-244.8 105.3-244.8 244 0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1 100-33.2 167.8-128.1 167.8-239 0-138.7-112.5-244-251.2-244zM105.2 352.9c-1.3 1-1 3.3 .7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3 .3 2.9 2.3 3.9 1.6 1 3.6 .7 4.3-.7 .7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3 .7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3 .7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9s4.3 3.3 5.6 2.3c1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"]},V7={prefix:"fab",iconName:"qq",icon:[448,512,[],"f1d6","M434.1 420.4c-11.5 1.4-44.9-52.7-44.9-52.7 0 31.3-16.1 72.2-51 101.8 16.8 5.2 54.8 19.2 45.8 34.4-7.3 12.3-125.5 7.9-159.6 4-34.1 3.8-152.3 8.3-159.6-4-9-15.2 28.9-29.2 45.8-34.4-34.9-29.5-51.1-70.4-51.1-101.8 0 0-33.3 54.1-44.9 52.7-5.4-.6-12.4-29.6 9.3-99.7 10.3-33 22-60.5 40.1-105.8-3.1-116.9 45.2-215 160.3-215 113.7 0 163.2 96.1 160.3 215 18.1 45.2 29.9 72.9 40.1 105.8 21.8 70.1 14.7 99.1 9.3 99.7z"]},Z7={prefix:"fab",iconName:"apple",icon:[384,512,[],"f179","M319.1 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7-55.8 .9-115.1 44.5-115.1 133.2 0 26.2 4.8 53.3 14.4 81.2 12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zM262.5 104.5c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z"]},q7={prefix:"fab",iconName:"linux",icon:[448,512,[],"f17c","M220.9 123.3c1 .5 1.8 1.7 3 1.7 1.1 0 2.8-.4 2.9-1.5 .2-1.4-1.9-2.3-3.2-2.9-1.7-.7-3.9-1-5.5-.1-.4 .2-.8 .7-.6 1.1 .3 1.3 2.3 1.1 3.4 1.7zM199 125c1.2 0 2-1.2 3-1.7 1.1-.6 3.1-.4 3.5-1.6 .2-.4-.2-.9-.6-1.1-1.6-.9-3.8-.6-5.5 .1-1.3 .6-3.4 1.5-3.2 2.9 .1 1 1.8 1.5 2.8 1.4zM420 403.8c-3.6-4-5.3-11.6-7.2-19.7-1.8-8.1-3.9-16.8-10.5-22.4-1.3-1.1-2.6-2.1-4-2.9-1.3-.8-2.7-1.5-4.1-2 9.2-27.3 5.6-54.5-3.7-79.1-11.4-30.1-31.3-56.4-46.5-74.4-17.1-21.5-33.7-41.9-33.4-72 .5-45.9 5.1-131.2-75.8-131.3-102.4-.2-76.8 103.4-77.9 135.2-1.7 23.4-6.4 41.8-22.5 64.7-18.9 22.5-45.5 58.8-58.1 96.7-6 17.9-8.8 36.1-6.2 53.3-6.5 5.8-11.4 14.7-16.6 20.2-4.2 4.3-10.3 5.9-17 8.3s-14 6-18.5 14.5c-2.1 3.9-2.8 8.1-2.8 12.4 0 3.9 .6 7.9 1.2 11.8 1.2 8.1 2.5 15.7 .8 20.8-5.2 14.4-5.9 24.4-2.2 31.7 3.8 7.3 11.4 10.5 20.1 12.3 17.3 3.6 40.8 2.7 59.3 12.5 19.8 10.4 39.9 14.1 55.9 10.4 11.6-2.6 21.1-9.6 25.9-20.2 12.5-.1 26.3-5.4 48.3-6.6 14.9-1.2 33.6 5.3 55.1 4.1 .6 2.3 1.4 4.6 2.5 6.7l0 .1c8.3 16.7 23.8 24.3 40.3 23 16.6-1.3 34.1-11 48.3-27.9 13.6-16.4 36-23.2 50.9-32.2 7.4-4.5 13.4-10.1 13.9-18.3 .4-8.2-4.4-17.3-15.5-29.7zM223.8 87.3c9.8-22.2 34.2-21.8 44-.4 6.5 14.2 3.6 30.9-4.3 40.4-1.6-.8-5.9-2.6-12.6-4.9 1.1-1.2 3.1-2.7 3.9-4.6 4.8-11.8-.2-27-9.1-27.3-7.3-.5-13.9 10.8-11.8 23-4.1-2-9.4-3.5-13-4.4-1-6.9-.3-14.6 2.9-21.8zM183.1 75.8c10.1 0 20.8 14.2 19.1 33.5-3.5 1-7.1 2.5-10.2 4.6 1.2-8.9-3.3-20.1-9.6-19.6-8.4 .7-9.8 21.2-1.8 28.1 1 .8 1.9-.2-5.9 5.5-15.6-14.6-10.5-52.1 8.4-52.1zm-13.6 60.7c6.2-4.6 13.6-10 14.1-10.5 4.7-4.4 13.5-14.2 27.9-14.2 7.1 0 15.6 2.3 25.9 8.9 6.3 4.1 11.3 4.4 22.6 9.3 8.4 3.5 13.7 9.7 10.5 18.2-2.6 7.1-11 14.4-22.7 18.1-11.1 3.6-19.8 16-38.2 14.9-3.9-.2-7-1-9.6-2.1-8-3.5-12.2-10.4-20-15-8.6-4.8-13.2-10.4-14.7-15.3-1.4-4.9 0-9 4.2-12.3zm3.3 334c-2.7 35.1-43.9 34.4-75.3 18-29.9-15.8-68.6-6.5-76.5-21.9-2.4-4.7-2.4-12.7 2.6-26.4l0-.2c2.4-7.6 .6-16-.6-23.9-1.2-7.8-1.8-15 .9-20 3.5-6.7 8.5-9.1 14.8-11.3 10.3-3.7 11.8-3.4 19.6-9.9 5.5-5.7 9.5-12.9 14.3-18 5.1-5.5 10-8.1 17.7-6.9 8.1 1.2 15.1 6.8 21.9 16l19.6 35.6c9.5 19.9 43.1 48.4 41 68.9zm-1.4-25.9c-4.1-6.6-9.6-13.6-14.4-19.6 7.1 0 14.2-2.2 16.7-8.9 2.3-6.2 0-14.9-7.4-24.9-13.5-18.2-38.3-32.5-38.3-32.5-13.5-8.4-21.1-18.7-24.6-29.9s-3-23.3-.3-35.2c5.2-22.9 18.6-45.2 27.2-59.2 2.3-1.7 .8 3.2-8.7 20.8-8.5 16.1-24.4 53.3-2.6 82.4 .6-20.7 5.5-41.8 13.8-61.5 12-27.4 37.3-74.9 39.3-112.7 1.1 .8 4.6 3.2 6.2 4.1 4.6 2.7 8.1 6.7 12.6 10.3 12.4 10 28.5 9.2 42.4 1.2 6.2-3.5 11.2-7.5 15.9-9 9.9-3.1 17.8-8.6 22.3-15 7.7 30.4 25.7 74.3 37.2 95.7 6.1 11.4 18.3 35.5 23.6 64.6 3.3-.1 7 .4 10.9 1.4 13.8-35.7-11.7-74.2-23.3-84.9-4.7-4.6-4.9-6.6-2.6-6.5 12.6 11.2 29.2 33.7 35.2 59 2.8 11.6 3.3 23.7 .4 35.7 16.4 6.8 35.9 17.9 30.7 34.8-2.2-.1-3.2 0-4.2 0 3.2-10.1-3.9-17.6-22.8-26.1-19.6-8.6-36-8.6-38.3 12.5-12.1 4.2-18.3 14.7-21.4 27.3-2.8 11.2-3.6 24.7-4.4 39.9-.5 7.7-3.6 18-6.8 29-32.1 22.9-76.7 32.9-114.3 7.2zm257.4-11.5c-.9 16.8-41.2 19.9-63.2 46.5-13.2 15.7-29.4 24.4-43.6 25.5s-26.5-4.8-33.7-19.3c-4.7-11.1-2.4-23.1 1.1-36.3 3.7-14.2 9.2-28.8 9.9-40.6 .8-15.2 1.7-28.5 4.2-38.7 2.6-10.3 6.6-17.2 13.7-21.1 .3-.2 .7-.3 1-.5 .8 13.2 7.3 26.6 18.8 29.5 12.6 3.3 30.7-7.5 38.4-16.3 9-.3 15.7-.9 22.6 5.1 9.9 8.5 7.1 30.3 17.1 41.6 10.6 11.6 14 19.5 13.7 24.6zM173.4 148.7c2 1.9 4.7 4.5 8 7.1 6.6 5.2 15.8 10.6 27.3 10.6 11.6 0 22.5-5.9 31.8-10.8 4.9-2.6 10.9-7 14.8-10.4s5.9-6.3 3.1-6.6-2.6 2.6-6 5.1c-4.4 3.2-9.7 7.4-13.9 9.8-7.4 4.2-19.5 10.2-29.9 10.2s-18.7-4.8-24.9-9.7c-3.1-2.5-5.7-5-7.7-6.9-1.5-1.4-1.9-4.6-4.3-4.9-1.4-.1-1.8 3.7 1.7 6.5z"]};const G7='',Y7='',K7='',X7='',J7='',Q7='',eT='',tT='',nT='',rT='',sT='',iT='',oT='',aT='',cT='',lT='',uT='',fT='',dT='',hT='',pT='',mT='',gT='',yT='',vT='',_T='',bT='',ST='',wT='',ET='',TT='',kT='',xT='',IT='',CT='',AT='',RT='',MT='',OT='',PT='',NT='',DT='',LT='',FT='',$T='',HT='',BT='',jT='',UT='',WT='',zT='',VT='',ZT='',qT='',GT='',YT='',KT='',XT='',JT='',QT='',ek='',tk='',nk='',rk='',sk='',ik='',ok='',ak='',Vs=e=>U7(e).html.join(""),ck="questionCircle",np={home:{regular:G7,filled:Y7},arrowDownload:{regular:K7,filled:X7},github:{regular:Vs(z7)},navigation:{regular:J7,filled:Q7},arrowLeft:{regular:eT,filled:tT},bookOpen:{regular:nT,filled:rT},mail:{regular:sT,filled:iT},qq:{regular:Vs(V7)},chat:{regular:oT,filled:aT},chevronDown:{regular:cT,filled:lT},checkmarkCircle:{regular:uT,filled:fT},warning:{regular:dT,filled:hT},dismissCircle:{regular:pT,filled:mT},dismiss:{regular:gT,filled:yT},info:{regular:vT,filled:_T},box:{regular:bT,filled:ST},documentCopy:{regular:wT,filled:ET},video:{regular:TT,filled:kT},questionCircle:{regular:xT,filled:IT},windows:{regular:Vs(W7)},linux:{regular:Vs(q7)},macos:{regular:Vs(Z7)},settings:{regular:CT,filled:AT},arrowClockwise:{regular:RT,filled:MT},archive:{regular:OT,filled:PT},personVoice:{regular:NT,filled:DT},briefcase:{regular:LT,filled:FT},clock:{regular:$T,filled:HT},documentEdit:{regular:BT,filled:jT},arrowUpload:{regular:UT,filled:WT},peopleCommunity:{regular:zT,filled:VT},layer:{regular:ZT,filled:qT},lockClosed:{regular:GT,filled:YT},tagMultiple:{regular:KT,filled:XT},speaker2:{regular:JT,filled:QT},speakerMute:{regular:ek,filled:tk},codeText:{regular:nk,filled:rk},alertBadge:{regular:sk,filled:ik},documentSparkle:{regular:ok,filled:ak}},lk=["aria-hidden","role","title","innerHTML"],uk=Kt({__name:"FluentSystemIcon",props:{name:{},size:{default:16},filled:{type:Boolean,default:!1},title:{default:""},decorative:{type:Boolean,default:!0}},setup(e){const t=e,n=me(()=>typeof t.size=="number"?`${t.size}px`:t.size),r=me(()=>({width:n.value,height:n.value})),s=me(()=>t.name in np?t.name:ck),i=me(()=>{const o=np[s.value];return t.filled&&o.filled?o.filled:o.regular});return As(()=>{}),(o,a)=>(_e(),je("span",{class:"fluent-system-icon",style:Cs(r.value),"aria-hidden":o.decorative?"true":void 0,role:o.decorative?void 0:"img",title:o.title,innerHTML:i.value},null,12,lk))}}),er=Rs(uk,[["__scopeId","data-v-7156456b"]]),fk={class:"fluent-selector-bar"},dk=["href","target","rel","aria-current","onClick"],hk={class:"fluent-selector-bar__content"},pk={class:"fluent-selector-bar__text"},mk=["href","target","rel"],gk={class:"fluent-selector-bar__content"},yk={class:"fluent-selector-bar__text"},vk=Kt({__name:"FluentSelectorBar",props:{items:{type:Array,default:()=>[]},showIcon:{type:Boolean,default:!1}},setup(e){return(t,n)=>{const r=Bi("RouterLink");return _e(),je("nav",fk,[(_e(!0),je(Ze,null,ju(e.items,s=>(_e(),je(Ze,{key:s.title},[s.to?(_e(),Zt(r,{key:0,custom:"",to:s.to},{default:Pt(({href:i,navigate:o,isActive:a,isExactActive:c})=>[ue("a",{class:Tn(["fluent-selector-bar__item",{"router-link-active":a,"router-link-exact-active":c}]),href:i,target:s.target,rel:s.target==="_blank"?"noopener noreferrer":void 0,"aria-current":c?"page":void 0,onClick:l=>o(l)},[ue("div",hk,[ue("span",pk,Pr(s.title),1),s.icon&&e.showIcon?(_e(),Zt(er,{key:0,name:s.icon,class:"fluent-selector-bar__icon",size:16},null,8,["name"])):kt("",!0)]),n[0]||(n[0]=ue("div",{class:"fluent-selector-bar__pill"},null,-1))],10,dk)]),_:2},1032,["to"])):(_e(),je("a",{key:1,class:"fluent-selector-bar__item",href:s.href,target:s.target,rel:s.target==="_blank"?"noopener noreferrer":void 0},[ue("div",gk,[ue("span",yk,Pr(s.title),1),s.icon&&e.showIcon?(_e(),Zt(er,{key:0,name:s.icon,class:"fluent-selector-bar__icon",size:16},null,8,["name"])):kt("",!0)]),n[1]||(n[1]=ue("div",{class:"fluent-selector-bar__pill"},null,-1))],8,mk))],64))),128))])}}}),_k=Rs(vk,[["__scopeId","data-v-02e276fe"]]),bk={class:"fluent-side-nav"},Sk=["href","target","rel","aria-current","onClick"],wk={class:"fluent-side-nav__item-base"},Ek={class:"fluent-side-nav__text"},Tk={key:0,class:"fluent-side-nav__selector"},kk=["href","target","rel","onClick"],xk={class:"fluent-side-nav__item-base"},Ik={class:"fluent-side-nav__text"},Ck={key:0,class:"fluent-side-nav__selector"},Ak=Kt({__name:"FluentSideNav",props:{items:{type:Array,default:()=>[]}},emits:["click"],setup(e,{emit:t}){const n=t,r=V0(),s=fE(),i=u=>s.resolve(u).path,o=u=>{if(u.to){const f=i(u.to);return r.path===f||f!=="/"&&r.path.startsWith(f)}return!1},a=u=>{n("click",u)},c=(u,f,d)=>{const h=d(u);Promise.resolve(h).finally(()=>{a(f)})},l=u=>{a(u)};return(u,f)=>{const d=Bi("RouterLink");return _e(),je("nav",bk,[(_e(!0),je(Ze,null,ju(e.items,h=>(_e(),je(Ze,{key:h.title},[h.to?(_e(),Zt(d,{key:0,custom:"",to:h.to},{default:Pt(({href:p,navigate:m})=>[ue("a",{class:Tn(["fluent-side-nav__item",{"fluent-side-nav__item--active":o(h)}]),href:p,target:h.target,rel:h.target==="_blank"?"noopener noreferrer":void 0,"aria-current":o(h)?"page":void 0,onClick:S=>c(S,h,m)},[ue("div",wk,[h.icon?(_e(),Zt(er,{key:0,name:h.icon,class:"fluent-side-nav__icon",size:16},null,8,["name"])):kt("",!0),ue("span",Ek,Pr(h.title),1)]),o(h)?(_e(),je("div",Tk)):kt("",!0)],10,Sk)]),_:2},1032,["to"])):(_e(),je("a",{key:1,class:Tn(["fluent-side-nav__item",{"fluent-side-nav__item--active":o(h)}]),href:h.href,target:h.target,rel:h.target==="_blank"?"noopener noreferrer":void 0,onClick:p=>l(h)},[ue("div",xk,[h.icon?(_e(),Zt(er,{key:0,name:h.icon,class:"fluent-side-nav__icon",size:16},null,8,["name"])):kt("",!0),ue("span",Ik,Pr(h.title),1)]),o(h)?(_e(),je("div",Ck)):kt("",!0)],10,kk))],64))),128))])}}}),Rk=Rs(Ak,[["__scopeId","data-v-ce62dd00"]]),Mk={class:"fluent-app-bar"},Ok={class:"fluent-app-bar__content"},Pk={class:"fluent-app-bar__left"},Nk={class:"fluent-app-bar__nav app-bar-tabs"},Dk={class:"fluent-app-bar__right"},Lk={class:"fluent-drawer__header"},Fk={class:"fluent-drawer__header-left"},$k={class:"fluent-drawer__content"},Hk=Kt({__name:"AppTopBar",setup(e){const t=jt(!1),n=V0();Lt(()=>n.fullPath,()=>{t.value=!1});const r=[{icon:"home",title:"首页",to:"/"},{icon:"arrowDownload",title:"下载",to:"/download"},{icon:"bookOpen",title:"文档",href:"https://docs.classisland.tech/",target:"_blank"},{icon:"github",title:"GitHub 仓库",href:"https://github.com/ClassIsland/ClassIsland",target:"_blank"}];return(s,i)=>{const o=Bi("RouterLink");return _e(),je(Ze,null,[ue("header",Mk,[ue("div",Ok,[ue("div",Pk,[he(Fc,{variant:"text",class:"nav-icon",onClick:i[0]||(i[0]=a=>t.value=!t.value)},{default:Pt(()=>[he(er,{name:"navigation",class:"mt-1"})]),_:1}),he(o,{to:"/",class:"fluent-app-bar__title-link"},{default:Pt(()=>i[5]||(i[5]=[ue("h1",{class:"fluent-app-bar__title"},"ClassIsland",-1)])),_:1,__:[5]}),ue("div",Nk,[he(_k,{items:r})])]),ue("div",Dk,[he(Fc,{variant:"primary",to:"/download"},{prepend:Pt(()=>[he(er,{name:"arrowDownload"})]),default:Pt(()=>[i[6]||(i[6]=i0(" 立即下载 "))]),_:1,__:[6]})])])]),he(T2,{name:"slide-left"},{default:Pt(()=>[t.value?(_e(),je("div",{key:0,class:"fluent-drawer-overlay",onClick:i[4]||(i[4]=a=>t.value=!1)},[ue("div",{class:"fluent-drawer",onClick:i[3]||(i[3]=K2(()=>{},["stop"]))},[ue("div",Lk,[ue("div",Fk,[he(Fc,{variant:"text",onClick:i[1]||(i[1]=a=>t.value=!1)},{default:Pt(()=>[he(er,{name:"navigation",class:"mt-1"})]),_:1})])]),ue("div",$k,[he(Rk,{items:r,onClick:i[2]||(i[2]=a=>t.value=!1)})]),i[7]||(i[7]=ue("div",{class:"fluent-drawer__footer"},null,-1))])])):kt("",!0)]),_:1})],64)}}}),Bk=Rs(Hk,[["__scopeId","data-v-c5758a20"]]),jk={class:"fluent-footer"},Uk={class:"fluent-footer__content"},Wk={class:"fluent-footer__text"},zk={class:"fluent-footer__text"},Vk={class:"fluent-footer__social"},Zk=["href","title"],qk=Kt({__name:"AppFooter",setup(e){const t=[{title:"QQ群",icon:"qq",href:"https://qm.qq.com/q/4NsDQKiAuQ"},{title:"GitHub",icon:"github",href:"https://github.com/ClassIsland/ClassIsland"},{title:"电子邮件",icon:"mail",href:"mailto:wrc@classisland.tech"}],n="3.0.0.1";return(r,s)=>(_e(),je("footer",jk,[ue("div",Uk,[ue("div",Wk," © 2023-"+Pr(new Date().getFullYear())+" ClassIsland ",1),ue("div",zk," Build_"+Pr(Qn(n)),1),s[0]||(s[0]=ue("a",{href:"https://beian.miit.gov.cn/",target:"_blank",rel:"noopener noreferrer",class:"fluent-footer__link"}," 津ICP备2025035356号 ",-1)),s[1]||(s[1]=ue("a",{href:"https://status.classisland.tech/",target:"_blank",rel:"noopener noreferrer",class:"fluent-footer__link"}," 服务状态 ",-1)),ue("div",Vk,[(_e(),je(Ze,null,ju(t,i=>ue("a",{key:i.title,href:i.href,title:i.title,class:"fluent-footer__social-link",rel:"noopener noreferrer",target:"_blank"},[he(er,{name:i.icon,size:16},null,8,["name"])],8,Zk)),64))])])]))}}),Gk=Rs(qk,[["__scopeId","data-v-3e5f2838"]]),Yk=Hn({...w0(),...c5(tw(),["fullHeight"]),...WS()},"VApp"),Kk=Gu()({name:"VApp",props:Yk(),setup(e,t){let{slots:n}=t;const r=JS(e),{layoutClasses:s,getLayoutItem:i,items:o,layoutRef:a}=sw({...e,fullHeight:!0}),{rtlClasses:c}=Z5();return T0(()=>ue("div",{ref:a,class:Tn(["v-application",r.themeClasses.value,s.value,c.value,e.class]),style:Cs([e.style])},[ue("div",{class:"v-application__wrap"},[n.default?.()])])),{getLayoutItem:i,items:o,theme:r}}}),Xk=Hn({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function Jk(e){return{dimensionStyles:me(()=>{const n={},r=an(e.height),s=an(e.maxHeight),i=an(e.maxWidth),o=an(e.minHeight),a=an(e.minWidth),c=an(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})}}function Qk(){const e=Dt(!1);return Hi(()=>{window.requestAnimationFrame(()=>{e.value=!0})}),{ssrBootStyles:lt(()=>e.value?void 0:{transition:"none !important"}),isBooted:Ba(e)}}const ex=Hn({tag:{type:[String,Object,Function],default:"div"}},"tag"),tx=Hn({scrollable:Boolean,...w0(),...Xk(),...ex({tag:"main"})},"VMain"),nx=Gu()({name:"VMain",props:tx(),setup(e,t){let{slots:n}=t;const{dimensionStyles:r}=Jk(e),{mainStyles:s}=nw(),{ssrBootStyles:i}=Qk();return T0(()=>he(e.tag,{class:Tn(["v-main",{"v-main--scrollable":e.scrollable},e.class]),style:Cs([s.value,i.value,r.value,e.style])},{default:()=>[e.scrollable?ue("div",{class:"v-main__scroller"},[n.default?.()]):n.default?.()]})),{}}}),rx=Kt({__name:"App",setup(e){return(t,n)=>{const r=Bi("router-view");return _e(),Zt(Kk,null,{default:Pt(()=>[he(Bk),he(nx,null,{default:Pt(()=>[he(r)]),_:1}),he(Gk)]),_:1})}}});if(typeof window<"u"){let e=function(){var t=document.body,n=document.getElementById("__svg__icons__dom__");n||(n=document.createElementNS("http://www.w3.org/2000/svg","svg"),n.style.position="absolute",n.style.width="0",n.style.height="0",n.id="__svg__icons__dom__",n.setAttribute("xmlns","http://www.w3.org/2000/svg"),n.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),n.innerHTML='',t.insertBefore(n,t.lastChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",e):e()}function ql(e,t={},n){for(const r in e){const s=e[r],i=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?ql(s,t,i):typeof s=="function"&&(t[i]=s)}return t}const sx={run:e=>e()},ix=()=>sx,G1=typeof console.createTask<"u"?console.createTask:ix;function ox(e,t){const n=t.shift(),r=G1(n);return e.reduce((s,i)=>s.then(()=>r.run(()=>i(...t))),Promise.resolve())}function ax(e,t){const n=t.shift(),r=G1(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function Vc(e,t){for(const n of[...e])n(t)}class cx{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const s=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!r.allowDeprecated){let o=i.message;o||(o=`${s} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(o)||(console.warn(o),this._deprecatedMessages.add(o))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,s=(...i)=>(typeof r=="function"&&r(),r=void 0,s=void 0,n(...i));return r=this.hook(t,s),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const s of r)this.hook(t,s)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=ql(t),r=Object.keys(n).map(s=>this.hook(s,n[s]));return()=>{for(const s of r.splice(0,r.length))s()}}removeHooks(t){const n=ql(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(ox,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(ax,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Vc(this._before,s);const i=t(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&s&&Vc(this._after,s)}):(this._after&&s&&Vc(this._after,s),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function lx(){return new cx}const ux=new Set(["link","style","script","noscript"]),fx=new Set(["title","titleTemplate","script","style","noscript"]),rp=new Set(["base","meta","link","style","script","noscript"]),dx=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),hx=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),px=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),mx=new Set(["templateParams","htmlAttrs","bodyAttrs"]),gx=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),yx=["name","property","http-equiv"],vx=new Set(["viewport","description","keywords","robots"]);function Y1(e){const t=e.split(":");return t.length?gx.has(t[1]):!1}function Gl(e){const{props:t,tag:n}=e;if(hx.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const r of yx)if(t[r]!==void 0){const s=t[r],i=s.includes(":"),o=vx.has(s),c=!(i||o)&&e.key?`:key:${e.key}`:"";return`${n}:${s}${c}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(fx.has(n)){const r=e.textContent||e.innerHTML;if(r)return`${n}:content:${r}`}}function sp(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([r,s])=>`${r}:${String(s)}`).join(",")}`}function da(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());let s;if(t&&(s=t(n,e)),Array.isArray(s))return s.map(i=>da(i,t));if(s?.constructor===Object){const i={};for(const o of Object.keys(s))i[o]=da(s[o],t,o);return i}return s}function _x(e,t){const n=e==="style"?new Map:new Set;function r(s){const i=s.trim();if(i)if(e==="style"){const[o,...a]=i.split(":").map(c=>c.trim());o&&a.length&&n.set(o,a.join(":"))}else i.split(" ").filter(Boolean).forEach(o=>n.add(o))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(s=>r(s)):t&&typeof t=="object"&&Object.entries(t).forEach(([s,i])=>{i&&i!=="false"&&(e==="style"?n.set(s.trim(),i):r(s))}),n}function K1(e,t){return e.props=e.props||{},t&&Object.entries(t).forEach(([n,r])=>{if(r===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=_x(n,r);return}if(px.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof r=="object"){let o=t.type;if(t.type||(o="application/json"),!o?.endsWith("json")&&o!=="speculationrules")return;t.type=o,e.props.type=o,e[n]=JSON.stringify(r)}else e[n]=r;return}const s=String(r),i=n.startsWith("data-");s==="true"||s===""?e.props[n]=i?s:!0:!r&&i&&s==="false"?e.props[n]="false":r!==void 0&&(e.props[n]=r)}),e}function bx(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=K1({tag:e,props:{}},n);return r.key&&ux.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(s=>({...r,props:{...r.props,content:s}})):r}function Sx(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(s,i)=>{for(let o=0;o{if(i!==void 0)for(const o of Array.isArray(i)?i:[i])r.push(bx(s,o))}),r.flat()}const ip=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,op={base:-10,title:10},wx={critical:-8,high:-1,low:2},ap={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},Ex=/@import/,Zs=e=>e===""||e===!0;function Tx(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=wx[t.tagPriority]||0,s=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:ap;if(t.tag in op)n=op[t.tag];else if(t.tag==="meta"){const i=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;i&&(n=ap.meta[i])}else t.tag==="link"&&t.props.rel?n=s.link[t.props.rel]:t.tag==="script"?Zs(t.props.async)?n=s.script.async:t.props.src&&!Zs(t.props.defer)&&!Zs(t.props.async)&&t.props.type!=="module"&&!t.props.type?.endsWith("json")?n=s.script.sync:Zs(t.props.defer)&&t.props.src&&!Zs(t.props.async)&&(n=s.script.defer):t.tag==="style"&&(n=t.innerHTML&&Ex.test(t.innerHTML)?s.style.imported:s.style.sync);return(n||100)+r}function cp(e,t){const n=typeof t=="function"?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}function kx(e={}){const t=lx();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,s=new Map,i=new Set,o={_entryCount:1,plugins:s,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:a=>cp(o,a),push(a,c){const l={...c||{}};delete l.head;const u=l._index??o._entryCount++,f={_i:u,input:a,options:l},d={_poll(h=!1){o.dirty=!0,!h&&i.add(u),t.callHook("entries:updated",o)},dispose(){r.delete(u)&&o.invalidate()},patch(h){(!l.mode||l.mode==="server"&&n||l.mode==="client"&&!n)&&(f.input=h,r.set(u,f),d._poll())}};return d.patch(a),d},async resolveTags(){const a={tagMap:new Map,tags:[],entries:[...o.entries.values()]};for(await t.callHook("entries:resolve",a);i.size;){const d=i.values().next().value;i.delete(d);const h=r.get(d);if(h){const p={tags:Sx(h.input,e.propResolvers||[]).map(m=>Object.assign(m,h.options)),entry:h};await t.callHook("entries:normalize",p),h._tags=p.tags.map((m,S)=>(m._w=Tx(o,m),m._p=(h._i<<10)+S,m._d=Gl(m),m))}}let c=!1;a.entries.flatMap(d=>(d._tags||[]).map(h=>({...h,props:{...h.props}}))).sort(ip).reduce((d,h)=>{const p=String(h._d||h._p);if(!d.has(p))return d.set(p,h);const m=d.get(p);if((h?.tagDuplicateStrategy||(mx.has(h.tag)?"merge":null)||(h.key&&h.key===m.key?"merge":null))==="merge"){const y={...m.props};Object.entries(h.props).forEach(([_,w])=>y[_]=_==="style"?new Map([...m.props.style||new Map,...w]):_==="class"?new Set([...m.props.class||new Set,...w]):w),d.set(p,{...h,props:y})}else h._p>>10===m._p>>10&&h.tag==="meta"&&Y1(p)?(d.set(p,Object.assign([...Array.isArray(m)?m:[m],h],h)),c=!0):(h._w===m._w?h._p>m._p:h?._wcp(o,a)),o.hooks.callHook("init",o),e.init?.forEach(a=>a&&o.push(a)),o}async function X1(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async s=>{const i=new Map,o=new Promise(h=>{e.resolveTags().then(p=>{h(p.map(m=>{const S=i.get(m._d)||0,y={tag:m,id:(S?`${m._d}:${S}`:m._d)||sp(m),shouldRender:!0};return m._d&&Y1(m._d)&&i.set(m._d,S+1),y}))})});let a=e._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const h of["body","head"]){const p=n[h]?.children;for(const m of p){const S=m.tagName.toLowerCase();if(!rp.has(S))continue;const y=K1({tag:S,props:{}},{innerHTML:m.innerHTML,...m.getAttributeNames().reduce((_,w)=>(_[w]=m.getAttribute(w),_),{})||{}});if(y.key=m.getAttribute("data-hid")||void 0,y._d=Gl(y)||sp(y),a.elMap.has(y._d)){let _=1,w=y._d;for(;a.elMap.has(w);)w=`${y._d}:${_++}`;a.elMap.set(w,m)}else a.elMap.set(y._d,m)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function c(h,p,m){const S=`${h}:${p}`;a.sideEffects[S]=m,delete a.pendingSideEffects[S]}function l({id:h,$el:p,tag:m}){const S=m.tag.endsWith("Attrs");a.elMap.set(h,p),S||(m.textContent&&m.textContent!==p.textContent&&(p.textContent=m.textContent),m.innerHTML&&m.innerHTML!==p.innerHTML&&(p.innerHTML=m.innerHTML),c(h,"el",()=>{p?.remove(),a.elMap.delete(h)}));for(const y in m.props){if(!Object.prototype.hasOwnProperty.call(m.props,y))continue;const _=m.props[y];if(y.startsWith("on")&&typeof _=="function"){const T=p?.dataset;if(T&&T[`${y}fired`]){const A=y.slice(0,-5);_.call(p,new Event(A.substring(2)))}p.getAttribute(`data-${y}`)!==""&&((m.tag==="bodyAttrs"?n.defaultView:p).addEventListener(y.substring(2),_.bind(p)),p.setAttribute(`data-${y}`,""));continue}const w=`attr:${y}`;if(y==="class"){if(!_)continue;for(const T of _)S&&c(h,`${w}:${T}`,()=>p.classList.remove(T)),!p.classList.contains(T)&&p.classList.add(T)}else if(y==="style"){if(!_)continue;for(const[T,A]of _)c(h,`${w}:${T}`,()=>{p.style.removeProperty(T)}),p.style.setProperty(T,A)}else _!==!1&&_!==null&&(p.getAttribute(y)!==_&&p.setAttribute(y,_===!0?"":String(_)),S&&c(h,w,()=>p.removeAttribute(y)))}}const u=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},d=await o;for(const h of d){const{tag:p,shouldRender:m,id:S}=h;if(m){if(p.tag==="title"){n.title=p.textContent,c("title","",()=>n.title=a.title);continue}h.$el=h.$el||a.elMap.get(S),h.$el?l(h):rp.has(p.tag)&&u.push(h)}}for(const h of u){const p=h.tag.tagPosition||"head";h.$el=n.createElement(h.tag.tag),l(h),f[p]=f[p]||n.createDocumentFragment(),f[p].appendChild(h.$el)}for(const h of d)await e.hooks.callHook("dom:renderTag",h,n,c);f.head&&n.head.appendChild(f.head),f.bodyOpen&&n.body.insertBefore(f.bodyOpen,n.body.firstChild),f.bodyClose&&n.body.appendChild(f.bodyClose);for(const h in a.pendingSideEffects)a.pendingSideEffects[h]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:d}),s()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function xx(e={}){const t=e.domOptions?.render||X1;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return kx({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function Ix(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}const Cx=(e,t)=>Ke(t)?ab(t):t,J1="usehead";function Ax(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(J1,e)}}.install}function Rx(){if(Bb()){const e=et(J1);if(!e)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function MN(e,t={}){const n=t.head||Rx();return n.ssr?n.push(e||{},t):Mx(n,e,t)}function Mx(e,t,n={}){const r=jt(!1);let s;return As(()=>{const o=r.value?{}:da(t,Cx);s?s.patch(o):s=e.push(o,n)}),qa()&&(za(()=>{s.dispose()}),Fg(()=>{r.value=!0}),Lg(()=>{r.value=!1})),s}function Ox(e={}){const t=xx({domOptions:{render:Ix(()=>X1(t),n=>setTimeout(n,0))},...e});return t.install=Ax(t),t}function Px(e){return document.readyState==="loading"?new Promise(t=>{document.addEventListener("DOMContentLoaded",()=>t(e))}):Promise.resolve(e)}const Nx=Kt({setup(e,{slots:t}){const n=jt(!1);return Hi(()=>n.value=!0),()=>n.value?t.default&&t.default({}):t.placeholder&&t.placeholder({})}});function Dx(e){try{return JSON.parse(e||"{}")}catch(t){return console.error("[SSG] On state deserialization -",t,e),{}}}function Lx(e,t,n,r){const{transformState:s,registerComponents:i=!0,useHead:o=!0,rootContainer:a="#app"}={};async function c(l){const u=Q2(e);let f;o&&u.use(f=Ox());const d=lE({history:$w(t.base),...t}),{routes:h}=t;i&&u.component("ClientOnly",Nx);const p=[],y={app:u,head:f,isClient:!0,router:d,routes:h,onSSRAppRendered:()=>{},triggerOnSSRAppRendered:()=>Promise.all(p.map(A=>A())),initialState:{},transformState:s,routePath:l};await Px(),y.initialState=s?.(window.__INITIAL_STATE__||{})||Dx(window.__INITIAL_STATE__),await n?.(y),u.use(d);let _,w=!0;d.beforeEach((A,E,I)=>{(w||_&&_===A.path)&&(w=!1,_=A.path,A.meta.state=y.initialState),I()});const T=y.initialState;return{...y,initialState:T}}return(async()=>{const{app:l,router:u}=await c();await u.isReady(),l.mount(a,!0)})(),c}const Fx="modulepreload",$x=function(e){return"/"+e},lp={},zn=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){let c=function(l){return Promise.all(l.map(u=>Promise.resolve(u).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),a=o?.nonce||o?.getAttribute("nonce");s=c(n.map(l=>{if(l=$x(l),l in lp)return;lp[l]=!0;const u=l.endsWith(".css"),f=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="proxy.php?url=https%3A%2F%2Fclassisland.tech%2F%24%7Bl%7D"]${f}`))return;const d=document.createElement("link");if(d.rel=u?"stylesheet":Fx,u||(d.as="script"),d.crossOrigin="",d.href=l,a&&d.setAttribute("nonce",a),document.head.appendChild(d),u)return new Promise((h,p)=>{d.addEventListener("load",h),d.addEventListener("error",()=>p(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)})},Hx=[{path:"/",name:"/",component:()=>zn(()=>import("./index-CYOGjTTJ.js"),__vite__mapDeps([0,1,2,3,4,5]))},{path:"/:ath(.*)",name:"/[..path]",component:()=>zn(()=>import("./_..path_-53c_IJVg.js"),__vite__mapDeps([6,7]))},{path:"/404",name:"/404",component:()=>zn(()=>import("./404-Db1jzh9L.js"),__vite__mapDeps([8,9]))},{path:"/download",children:[{path:"",name:"/download/",component:()=>zn(()=>import("./index-BT3a1Pwb.js"),__vite__mapDeps([10,11,12,1,2,13,14,3,4,15]))},{path:"thank_you",children:[{path:":indexId",children:[{path:":version",children:[{path:":appSubChannel",children:[{path:"",name:"/download/thank_you/[indexId]/[version]/[appSubChannel]/",component:()=>zn(()=>import("./index-BT_tSoDI.js"),__vite__mapDeps([16,17,1,2,18,19,20,21,22,23]))}]}]}]},{path:"v2",children:[{path:":version",children:[{path:":appSubChannel",children:[{path:"",name:"/download/thank_you/v2/[version]/[appSubChannel]/",component:()=>zn(()=>import("./index-TvuUCbpD.js"),__vite__mapDeps([24,14,19,20,21,22,1,2,3,4,25]))}]}]}]}]},{path:"v1",children:[{path:"",name:"/download/v1/",component:()=>zn(()=>import("./index-BW8eErBl.js"),__vite__mapDeps([26,12,1,2,13,17,18,21,22,27]))}]},{path:"v2",children:[{path:"",name:"/download/v2/",component:()=>zn(()=>import("./index-CpcVSjvk.js"),__vite__mapDeps([11,12,1,2,13,14,3,4,15]))}]}]}],ee=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Ee=globalThis,Ar="9.47.1";function Ur(){return sc(Ee),Ee}function sc(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||Ar,t[Ar]=t[Ar]||{}}function qi(e,t,n=Ee){const r=n.__SENTRY__=n.__SENTRY__||{},s=r[Ar]=r[Ar]||{};return s[e]||(s[e]=t())}const Bx=["debug","info","warn","error","log","assert","trace"],jx="Sentry Logger ",ha={};function jn(e){if(!("console"in Ee))return e();const t=Ee.console,n={},r=Object.keys(ha);r.forEach(s=>{const i=ha[s];n[s]=t[s],t[s]=i});try{return e()}finally{r.forEach(s=>{t[s]=n[s]})}}function Ux(){hf().enabled=!0}function Wx(){hf().enabled=!1}function Q1(){return hf().enabled}function zx(...e){df("log",...e)}function Vx(...e){df("warn",...e)}function Zx(...e){df("error",...e)}function df(e,...t){ee&&Q1()&&jn(()=>{Ee.console[e](`${jx}[${e}]:`,...t)})}function hf(){return ee?qi("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const W={enable:Ux,disable:Wx,isEnabled:Q1,log:zx,warn:Vx,error:Zx},ey=50,Fr="?",up=/\(error: (.*)\)/,fp=/captureMessage|captureException/;function ty(...e){const t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0,s=0)=>{const i=[],o=n.split(` `);for(let a=r;a1024)continue;const l=up.test(c)?c.replace(up,"$1"):c;if(!l.match(/\S*Error: /)){for(const u of t){const f=u(l);if(f){i.push(f);break}}if(i.length>=ey+s)break}}return Gx(i.slice(s))}}function qx(e){return Array.isArray(e)?ty(...e):e}function Gx(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(vo(t).function||"")&&t.pop(),t.reverse(),fp.test(vo(t).function||"")&&(t.pop(),fp.test(vo(t).function||"")&&t.pop()),t.slice(0,ey).map(n=>({...n,filename:n.filename||vo(t).filename,function:n.function||Fr}))}function vo(e){return e[e.length-1]||{}}const Zc="";function Rn(e){try{return!e||typeof e!="function"?Zc:e.name||Zc}catch{return Zc}}function dp(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}}}const Bo={},hp={};function dr(e,t){Bo[e]=Bo[e]||[],Bo[e].push(t)}function hr(e,t){if(!hp[e]){hp[e]=!0;try{t()}catch(n){ee&&W.error(`Error while instrumenting ${e}`,n)}}}function Ft(e,t){const n=e&&Bo[e];if(n)for(const r of n)try{r(t)}catch(s){ee&&W.error(`Error while triggering instrumentation handler. Type: ${e} Name: ${Rn(r)} Error:`,s)}}let qc=null;function ny(e){const t="error";dr(t,e),hr(t,Yx)}function Yx(){qc=Ee.onerror,Ee.onerror=function(e,t,n,r,s){return Ft("error",{column:r,error:s,line:n,msg:e,url:t}),qc?qc.apply(this,arguments):!1},Ee.onerror.__SENTRY_INSTRUMENTED__=!0}let Gc=null;function ry(e){const t="unhandledrejection";dr(t,e),hr(t,Kx)}function Kx(){Gc=Ee.onunhandledrejection,Ee.onunhandledrejection=function(e){return Ft("unhandledrejection",e),Gc?Gc.apply(this,arguments):!0},Ee.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const sy=Object.prototype.toString;function pf(e){switch(sy.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return Mn(e,Error)}}function Os(e,t){return sy.call(e)===`[object ${t}]`}function iy(e){return Os(e,"ErrorEvent")}function pp(e){return Os(e,"DOMError")}function Xx(e){return Os(e,"DOMException")}function Sn(e){return Os(e,"String")}function mf(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function Ai(e){return e===null||mf(e)||typeof e!="object"&&typeof e!="function"}function Ri(e){return Os(e,"Object")}function ic(e){return typeof Event<"u"&&Mn(e,Event)}function Jx(e){return typeof Element<"u"&&Mn(e,Element)}function Qx(e){return Os(e,"RegExp")}function Gi(e){return!!(e?.then&&typeof e.then=="function")}function eI(e){return Ri(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function Mn(e,t){try{return e instanceof t}catch{return!1}}function oy(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue))}function ay(e){return typeof Request<"u"&&Mn(e,Request)}const gf=Ee,tI=80;function Ht(e,t={}){if(!e)return"";try{let n=e;const r=5,s=[];let i=0,o=0;const a=" > ",c=a.length;let l;const u=Array.isArray(t)?t:t.keyAttrs,f=!Array.isArray(t)&&t.maxStringLength||tI;for(;n&&i++1&&o+s.length*c+l.length>=f));)s.push(l),o+=l.length,n=n.parentNode;return s.reverse().join(a)}catch{return""}}function nI(e,t){const n=e,r=[];if(!n?.tagName)return"";if(gf.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?.length?t.filter(o=>n.getAttribute(o)).map(o=>[o,n.getAttribute(o)]):null;if(s?.length)s.forEach(o=>{r.push(`[${o[0]}="${o[1]}"]`)});else{n.id&&r.push(`#${n.id}`);const o=n.className;if(o&&Sn(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 Ps(){try{return gf.document.location.href}catch{return""}}function cy(e){if(!gf.HTMLElement)return null;let t=e;const n=5;for(let r=0;rrI(e,r,n))}function St(e,t,n){if(!(t in e))return;const r=e[t];if(typeof r!="function")return;const s=n(r);typeof s=="function"&&ly(s,r);try{e[t]=s}catch{ee&&W.log(`Failed to replace method "${t}" in object`,e)}}function Rt(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{ee&&W.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function ly(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,Rt(e,"__sentry_original__",t)}catch{}}function yf(e){return e.__sentry_original__}function uy(e){if(pf(e))return{message:e.message,name:e.name,stack:e.stack,...yp(e)};if(ic(e)){const t={type:e.type,target:gp(e.target),currentTarget:gp(e.currentTarget),...yp(e)};return typeof CustomEvent<"u"&&Mn(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function gp(e){try{return Jx(e)?Ht(e):Object.prototype.toString.call(e)}catch{return""}}function yp(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 sI(e,t=40){const n=Object.keys(uy(e));n.sort();const r=n[0];if(!r)return"[object has no keys]";if(r.length>=t)return pa(r,t);for(let s=n.length;s>0;s--){const i=n.slice(0,s).join(", ");if(!(i.length>t))return s===n.length?i:pa(i,t)}return""}function iI(){const e=Ee;return e.crypto||e.msCrypto}function At(e=iI()){let t=()=>Math.random()*16;try{if(e?.randomUUID)return e.randomUUID().replace(/-/g,"");e?.getRandomValues&&(t=()=>{const n=new Uint8Array(1);return e.getRandomValues(n),n[0]})}catch{}return("10000000100040008000"+1e11).replace(/[018]/g,n=>(n^(t()&15)>>n/4).toString(16))}function fy(e){return e.exception?.values?.[0]}function br(e){const{message:t,event_id:n}=e;if(t)return t;const r=fy(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"":n||""}function Yl(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 ys(e,t){const n=fy(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?.data,...t.data};n.mechanism.data=i}}function vp(e){if(oI(e))return!0;try{Rt(e,"__sentry_captured__",!0)}catch{}return!1}function oI(e){try{return e.__sentry_captured__}catch{}}const dy=1e3;function Wr(){return Date.now()/dy}function aI(){const{performance:e}=Ee;if(!e?.now||!e.timeOrigin)return Wr;const t=e.timeOrigin;return()=>(t+e.now())/dy}let _p;function qe(){return(_p??(_p=aI()))()}let Yc;function cI(){const{performance:e}=Ee;if(!e?.now)return[void 0,"none"];const t=3600*1e3,n=e.now(),r=Date.now(),s=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,i=sfI(n)};return e&&vs(n,e),n}function vs(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||qe(),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:At()),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 uI(e,t){let n={};e.status==="ok"&&(n={status:"exited"}),vs(e,n)}function fI(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 Yi(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]=Yi(r[s],t[s],n-1));return r}function ar(){return At()}function Ki(){return At().substring(16)}const Kl="_sentrySpan";function _s(e,t){t?Rt(e,Kl,t):delete e[Kl]}function ma(e){return e[Kl]}const dI=100;class fn{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:ar(),sampleRand:Math.random()}}clone(){const t=new fn;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},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,_s(t,ma(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&&vs(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,n){return this._tags={...this._tags,[t]:n},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 fn?n.getScopeData():Ri(n)?t:void 0,{tags:s,extra:i,user:o,contexts:a,level:c,fingerprint:l=[],propagationContext:u}=r||{};return this._tags={...this._tags,...s},this._extra={...this._extra,...i},this._contexts={...this._contexts,...a},o&&Object.keys(o).length&&(this._user=o),c&&(this._level=c),l.length&&(this._fingerprint=l),u&&(this._propagationContext=u),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,_s(this,void 0),this._attachments=[],this.setPropagationContext({traceId:ar(),sampleRand:Math.random()}),this._notifyScopeListeners(),this}addBreadcrumb(t,n){const r=typeof n=="number"?n:dI;if(r<=0)return this;const s={timestamp:Wr(),...t,message:t.message?pa(t.message,2048):t.message};return this._breadcrumbs.push(s),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r),this._client?.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,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:ma(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=Yi(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,n){const r=n?.event_id||At();if(!this._client)return ee&&W.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?.event_id||At();if(!this._client)return ee&&W.warn("No client configured on scope - will not capture message!"),s;const i=new Error(t);return this._client.captureMessage(t,n,{originalException:t,syntheticException:i,...r,event_id:s},this),s}captureEvent(t,n){const r=n?.event_id||At();return this._client?(this._client.captureEvent(t,{...n,event_id:r},this),r):(ee&&W.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 hI(){return qi("defaultCurrentScope",()=>new fn)}function pI(){return qi("defaultIsolationScope",()=>new fn)}class mI{constructor(t,n){let r;t?r=t:r=new fn;let s;n?s=n:s=new fn,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 Gi(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 bs(){const e=Ur(),t=sc(e);return t.stack=t.stack||new mI(hI(),pI())}function gI(e){return bs().withScope(e)}function yI(e,t){const n=bs();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function bp(e){return bs().withScope(()=>e(bs().getIsolationScope()))}function vI(){return{withIsolationScope:bp,withScope:gI,withSetScope:yI,withSetIsolationScope:(e,t)=>bp(t),getCurrentScope:()=>bs().getScope(),getIsolationScope:()=>bs().getIsolationScope()}}function Ns(e){const t=sc(e);return t.acs?t.acs:vI()}function Ae(){const e=Ur();return Ns(e).getCurrentScope()}function dn(){const e=Ur();return Ns(e).getIsolationScope()}function _I(){return qi("globalScope",()=>new fn)}function oc(...e){const t=Ur(),n=Ns(t);if(e.length===2){const[r,s]=e;return r?n.withSetScope(r,s):n.withScope(s)}return n.withScope(e[0])}function ge(){return Ae().getClient()}function bI(e){const t=e.getPropagationContext(),{traceId:n,parentSpanId:r,propagationSpanId:s}=t,i={trace_id:n,span_id:s||Ki()};return r&&(i.parent_span_id=r),i}const wt="sentry.source",vf="sentry.sample_rate",hy="sentry.previous_trace_sample_rate",On="sentry.op",Be="sentry.origin",ga="sentry.idle_span_finish_reason",Xi="sentry.measurement_unit",Ji="sentry.measurement_value",Sp="sentry.custom_span_name",_f="sentry.profile_id",Ds="sentry.exclusive_time",SI="sentry.link.type",wI=0,py=1,Ge=2;function EI(e){if(e<400&&e>=100)return{code:py};if(e>=400&&e<500)switch(e){case 401:return{code:Ge,message:"unauthenticated"};case 403:return{code:Ge,message:"permission_denied"};case 404:return{code:Ge,message:"not_found"};case 409:return{code:Ge,message:"already_exists"};case 413:return{code:Ge,message:"failed_precondition"};case 429:return{code:Ge,message:"resource_exhausted"};case 499:return{code:Ge,message:"cancelled"};default:return{code:Ge,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:Ge,message:"unimplemented"};case 503:return{code:Ge,message:"unavailable"};case 504:return{code:Ge,message:"deadline_exceeded"};default:return{code:Ge,message:"internal_error"}}return{code:Ge,message:"unknown_error"}}function my(e,t){e.setAttribute("http.response.status_code",t);const n=EI(t);n.message!=="unknown_error"&&e.setStatus(n)}const gy="_sentryScope",yy="_sentryIsolationScope";function TI(e,t,n){e&&(Rt(e,yy,n),Rt(e,gy,t))}function ya(e){return{scope:e[gy],isolationScope:e[yy]}}const bf="sentry-",kI=/^sentry-/,xI=8192;function vy(e){const t=CI(e);if(!t)return;const n=Object.entries(t).reduce((r,[s,i])=>{if(s.match(kI)){const o=s.slice(bf.length);r[o]=i}return r},{});if(Object.keys(n).length>0)return n}function II(e){if(!e)return;const t=Object.entries(e).reduce((n,[r,s])=>(s&&(n[`${bf}${r}`]=s),n),{});return AI(t)}function CI(e){if(!(!e||!Sn(e)&&!Array.isArray(e)))return Array.isArray(e)?e.reduce((t,n)=>{const r=wp(n);return Object.entries(r).forEach(([s,i])=>{t[s]=i}),t},{}):wp(e)}function wp(e){return e.split(",").map(t=>t.split("=").map(n=>{try{return decodeURIComponent(n.trim())}catch{return}})).reduce((t,[n,r])=>(n&&r&&(t[n]=r),t),{})}function AI(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>xI?(ee&&W.warn(`Not adding key: ${n} with val: ${r} to baggage header due to exceeding baggage size limits.`),t):o},"")}function $r(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 _y=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function RI(e){if(!e)return;const t=e.match(_y);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 MI(e,t){const n=RI(e),r=vy(t);if(!n?.traceId)return{traceId:ar(),sampleRand:Math.random()};const s=OI(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 by(e=ar(),t=Ki(),n){let r="";return n!==void 0&&(r=n?"-1":"-0"),`${e}-${t}${r}`}function OI(e,t){const n=$r(t?.sample_rand);if(n!==void 0)return n;const r=$r(t?.sample_rate);return r&&e?.parentSampled!==void 0?e.parentSampled?Math.random()*r:r+Math.random()*(1-r):Math.random()}const Sy=0,Sf=1;let Ep=!1;function PI(e){const{spanId:t,traceId:n}=e.spanContext(),{data:r,op:s,parent_span_id:i,status:o,origin:a,links:c}=Se(e);return{parent_span_id:i,span_id:t,trace_id:n,data:r,op:s,status:o,origin:a,links:c}}function NI(e){const{spanId:t,traceId:n,isRemote:r}=e.spanContext(),s=r?t:Se(e).parent_span_id,i=ya(e).scope,o=r?i?.getPropagationContext().propagationSpanId||Ki():t;return{parent_span_id:s,span_id:o,trace_id:n}}function DI(e){const{traceId:t,spanId:n}=e.spanContext(),r=zr(e);return by(t,n,r)}function wy(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===Sf,attributes:i,...s}))}function Rr(e){return typeof e=="number"?Tp(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?Tp(e.getTime()):qe()}function Tp(e){return e>9999999999?e/1e3:e}function Se(e){if(FI(e))return e.getSpanJSON();const{spanId:t,traceId:n}=e.spanContext();if(LI(e)){const{attributes:r,startTime:s,name:i,endTime:o,status:a,links:c}=e,l="parentSpanId"in e?e.parentSpanId:"parentSpanContext"in e?e.parentSpanContext?.spanId:void 0;return{span_id:t,trace_id:n,data:r,description:i,parent_span_id:l,start_timestamp:Rr(s),timestamp:Rr(o)||void 0,status:Ey(a),op:r[On],origin:r[Be],links:wy(c)}}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function LI(e){const t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function FI(e){return typeof e.getSpanJSON=="function"}function zr(e){const{traceFlags:t}=e.spanContext();return t===Sf}function Ey(e){if(!(!e||e.code===wI))return e.code===py?"ok":e.message||"unknown_error"}const Mr="_sentryChildSpans",Xl="_sentryRootSpan";function Ty(e,t){const n=e[Xl]||e;Rt(t,Xl,n),e[Mr]?e[Mr].add(t):Rt(e,Mr,new Set([t]))}function $I(e,t){e[Mr]&&e[Mr].delete(t)}function jo(e){const t=new Set;function n(r){if(!t.has(r)&&zr(r)){t.add(r);const s=r[Mr]?Array.from(r[Mr]):[];for(const i of s)n(i)}}return n(e),Array.from(t)}function st(e){return e[Xl]||e}function ot(){const e=Ur(),t=Ns(e);return t.getActiveSpan?t.getActiveSpan():ma(Ae())}function Jl(){Ep||(jn(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly.")}),Ep=!0)}let kp=!1;function HI(){if(kp)return;function e(){const t=ot(),n=t&&st(t);if(n){const r="internal_error";ee&&W.log(`[Tracing] Root span: ${r} -> Global error occurred`),n.setStatus({code:Ge,message:r})}}e.tag="sentry_tracingErrorCallback",kp=!0,ny(e),ry(e)}function Pn(e){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const t=e||ge()?.getOptions();return!!t&&(t.tracesSampleRate!=null||!!t.tracesSampler)}const wf="production",BI=/^o(\d+)\./,jI=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function UI(e){return e==="http"||e==="https"}function Qi(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 WI(e){const t=jI.exec(e);if(!t){jn(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}const[n,r,s="",i="",o="",a=""]=t.slice(1);let c="",l=a;const u=l.split("/");if(u.length>1&&(c=u.slice(0,-1).join("/"),l=u.pop()),l){const f=l.match(/^\d+/);f&&(l=f[0])}return ky({host:i,pass:s,path:c,projectId:l,port:o,protocol:n,publicKey:r})}function ky(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function zI(e){if(!ee)return!0;const{port:t,projectId:n,protocol:r}=e;return["protocol","publicKey","host","projectId"].find(o=>e[o]?!1:(W.error(`Invalid Sentry Dsn: ${o} missing`),!0))?!1:n.match(/^\d+$/)?UI(r)?t&&isNaN(parseInt(t,10))?(W.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(W.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(W.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function VI(e){return e.match(BI)?.[1]}function ZI(e){const t=typeof e=="string"?WI(e):ky(e);if(!(!t||!zI(t)))return t}const xy="_frozenDsc";function Uo(e,t){Rt(e,xy,t)}function Iy(e,t){const n=t.getOptions(),{publicKey:r,host:s}=t.getDsn()||{};let i;n.orgId?i=String(n.orgId):s&&(i=VI(s));const o={environment:n.environment||wf,release:n.release,public_key:r,trace_id:e,org_id:i};return t.emit("createDsc",o),o}function Cy(e,t){const n=t.getPropagationContext();return n.dsc||Iy(n.traceId,e)}function Nn(e){const t=ge();if(!t)return{};const n=st(e),r=Se(n),s=r.data,i=n.spanContext().traceState,o=i?.get("sentry.sample_rate")??s[vf]??s[hy];function a(p){return(typeof o=="number"||typeof o=="string")&&(p.sample_rate=`${o}`),p}const c=n[xy];if(c)return a(c);const l=i?.get("sentry.dsc"),u=l&&vy(l);if(u)return a(u);const f=Iy(e.spanContext().traceId,t),d=s[wt],h=r.description;return d!=="url"&&h&&(f.transaction=h),Pn()&&(f.sampled=String(zr(n)),f.sample_rand=i?.get("sentry.sample_rand")??ya(n).scope?.getPropagationContext().sampleRand.toString()),a(f),t.emit("createDsc",f,n),f}class cr{constructor(t={}){this._traceId=t.traceId||ar(),this._spanId=t.spanId||Ki()}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:Sy}}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 Wt(e,t=100,n=1/0){try{return Ql("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function Ay(e,t=3,n=100*1024){const r=Wt(e,t);return KI(r)>n?Ay(e,t-1,n):r}function Ql(e,t,n=1/0,r=1/0,s=XI()){const[i,o]=s;if(t==null||["boolean","string"].includes(typeof t)||typeof t=="number"&&Number.isFinite(t))return t;const a=qI(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 Ql("",h,c-1,r,s)}catch{}const u=Array.isArray(t)?[]:{};let f=0;const d=uy(t);for(const h in d){if(!Object.prototype.hasOwnProperty.call(d,h))continue;if(f>=r){u[h]="[MaxProperties ~]";break}const p=d[h];u[h]=Ql(h,p,c-1,r,s),f++}return o(t),u}function qI(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(oy(t))return"[VueViewModel]";if(eI(t))return"[SyntheticEvent]";if(typeof t=="number"&&!Number.isFinite(t))return`[${t}]`;if(typeof t=="function")return`[Function: ${Rn(t)}]`;if(typeof t=="symbol")return`[${String(t)}]`;if(typeof t=="bigint")return`[BigInt: ${String(t)}]`;const n=GI(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}function GI(e){const t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}function YI(e){return~-encodeURI(e).split(/%..|./).length}function KI(e){return YI(JSON.stringify(e))}function XI(){const e=new WeakSet;function t(r){return e.has(r)?!0:(e.add(r),!1)}function n(r){e.delete(r)}return[t,n]}function Vr(e,t=[]){return[e,t]}function JI(e,t){const[n,r]=e;return[n,[...r,t]]}function xp(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 eu(e){const t=sc(Ee);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function QI(e){const[t,n]=e;let r=JSON.stringify(t);function s(i){typeof r=="string"?r=typeof i=="string"?r+i:[eu(r),i]:r.push(typeof i=="string"?eu(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(Wt(a))}s(c)}}return typeof r=="string"?r:eC(r)}function eC(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 tC(e){return[{type:"span"},e]}function nC(e){const t=typeof e.data=="string"?eu(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}const rC={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"};function Ip(e){return rC[e]}function Ef(e){if(!e?.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function Ry(e,t,n,r){const s=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:Qi(r)},...s&&{trace:s}}}function sC(e,t){return t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]]),e}function iC(e,t,n,r){const s=Ef(n),i={sent_at:new Date().toISOString(),...s&&{sdk:s},...!!r&&t&&{dsn:Qi(t)}},o="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return Vr(i,[o])}function oC(e,t,n,r){const s=Ef(n),i=e.type&&e.type!=="replay_event"?e.type:"event";sC(e,n?.sdk);const o=Ry(e,s,r,t);return delete e.sdkProcessingMetadata,Vr(o,[[{type:i},e]])}function aC(e,t){function n(u){return!!u.trace_id&&!!u.public_key}const r=Nn(e[0]),s=t?.getDsn(),i=t?.getOptions().tunnel,o={sent_at:new Date().toISOString(),...n(r)&&{trace:r},...!!i&&s&&{dsn:Qi(s)}},a=t?.getOptions().beforeSendSpan,c=a?u=>{const f=Se(u),d=a(f);return d||(Jl(),f)}:Se,l=[];for(const u of e){const f=c(u);f&&l.push(tC(f))}return Vr(o,l)}function cC(e){if(!ee)return;const{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:r}=Se(e),{spanId:s}=e.spanContext(),i=zr(e),o=st(e),a=o===e,c=`[Tracing] Starting ${i?"sampled":"unsampled"} ${a?"root ":""}span`,l=[`op: ${n}`,`name: ${t}`,`ID: ${s}`];if(r&&l.push(`parent ID: ${r}`),!a){const{op:u,description:f}=Se(o);l.push(`root ID: ${o.spanContext().spanId}`),u&&l.push(`root op: ${u}`),f&&l.push(`root description: ${f}`)}W.log(`${c} ${l.join(` `)}`)}function lC(e){if(!ee)return;const{description:t="< unknown name >",op:n="< unknown op >"}=Se(e),{spanId:r}=e.spanContext(),i=st(e)===e,o=`[Tracing] Finishing "${n}" ${i?"root ":""}span "${t}" with ID ${r}`;W.log(o)}function uC(e,t,n,r=ot()){const s=r&&st(r);s&&(ee&&W.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${n}`),s.addEvent(e,{[Ji]:t,[Xi]:n}))}function Cp(e){if(!e||e.length===0)return;const t={};return e.forEach(n=>{const r=n.attributes||{},s=r[Xi],i=r[Ji];typeof s=="string"&&typeof i=="number"&&(t[n.name]={value:i,unit:s})}),t}const Ap=1e3;class ac{constructor(t={}){this._traceId=t.traceId||ar(),this._spanId=t.spanId||Ki(),this._startTime=t.startTimestamp||qe(),this._links=t.links,this._attributes={},this.setAttributes({[Be]:"manual",[On]: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?Sf:Sy}}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=Rr(t)}setStatus(t){return this._status=t,this}updateName(t){return this._name=t,this.setAttribute(wt,"custom"),this}end(t){this._endTime||(this._endTime=Rr(t),lC(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[On],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:Ey(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[Be],profile_id:this._attributes[_f],exclusive_time:this._attributes[Ds],measurements:Cp(this._events),is_segment:this._isStandaloneSpan&&st(this)===this||void 0,segment_id:this._isStandaloneSpan?st(this).spanContext().spanId:void 0,links:wy(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,n,r){ee&&W.log("[Tracing] Adding an event to span:",t);const s=Rp(n)?n:r||qe(),i=Rp(n)?{}:n||{},o={name:t,time:Rr(s),attributes:i};return this._events.push(o),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const t=ge();if(t&&t.emit("spanEnd",this),!(this._isStandaloneSpan||this===st(this)))return;if(this._isStandaloneSpan){this._sampled?dC(aC([this],t)):(ee&&W.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&&(ya(this).scope||Ae()).captureEvent(r)}_convertSpanToTransaction(){if(!Mp(Se(this)))return;this._name||(ee&&W.warn("Transaction has no name, falling back to ``."),this._name="");const{scope:t,isolationScope:n}=ya(this),r=t?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(this._sampled!==!0)return;const i=jo(this).filter(u=>u!==this&&!fC(u)).map(u=>Se(u)).filter(Mp),o=this._attributes[wt];delete this._attributes[Sp],i.forEach(u=>{delete u.data[Sp]});const a={contexts:{trace:PI(this)},spans:i.length>Ap?i.sort((u,f)=>u.start_timestamp-f.start_timestamp).slice(0,Ap):i,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:n,dynamicSamplingContext:Nn(this)},request:r,...o&&{transaction_info:{source:o}}},c=Cp(this._events);return c&&Object.keys(c).length&&(ee&&W.log("[Measurements] Adding measurements to transaction event",JSON.stringify(c,void 0,2)),a.measurements=c),a}}function Rp(e){return e&&typeof e=="number"||e instanceof Date||Array.isArray(e)}function Mp(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function fC(e){return e instanceof ac&&e.isStandaloneSpan()}function dC(e){const t=ge();if(!t)return;const n=e[1];if(!n||n.length===0){t.recordDroppedEvent("before_send","span");return}t.sendEnvelope(e)}function hC(e,t,n=()=>{}){let r;try{r=e()}catch(s){throw t(s),n(),s}return pC(r,t,n)}function pC(e,t,n){return Gi(e)?e.then(r=>(n(),r),r=>{throw t(r),n(),r}):(n(),e)}function mC(e,t,n){if(!Pn(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=$r(s);if(i===void 0)return ee&&W.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 ee&&W.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=nvC(i)(()=>{const l=Ae(),u=Ny(l,i),d=e.onlyIfParent&&!u?new cr:Oy({parentSpan:u,spanArguments:r,forceTransaction:s,scope:l});return _s(l,d),hC(()=>t(d),()=>{const{status:h}=Se(d);d.isRecording()&&(!h||h==="ok")&&d.setStatus({code:Ge,message:"internal_error"})},()=>{d.end()})}))}function lr(e){const t=kf();if(t.startInactiveSpan)return t.startInactiveSpan(e);const n=Py(e),{forceTransaction:r,parentSpan:s}=e;return(e.scope?o=>oc(e.scope,o):s!==void 0?o=>Tf(s,o):o=>o())(()=>{const o=Ae(),a=Ny(o,s);return e.onlyIfParent&&!a?new cr:Oy({parentSpan:a,spanArguments:n,forceTransaction:r,scope:o})})}function Tf(e,t){const n=kf();return n.withActiveSpan?n.withActiveSpan(e,t):oc(r=>(_s(r,e||void 0),t(r)))}function Oy({parentSpan:e,spanArguments:t,forceTransaction:n,scope:r}){if(!Pn()){const o=new cr;if(n||!e){const a={sampled:"false",sample_rate:"0",transaction:t.name,...Nn(o)};Uo(o,a)}return o}const s=dn();let i;if(e&&!n)i=yC(e,r,t),Ty(e,i);else if(e){const o=Nn(e),{traceId:a,spanId:c}=e.spanContext(),l=zr(e);i=Op({traceId:a,parentSpanId:c,...t},r,l),Uo(i,o)}else{const{traceId:o,dsc:a,parentSpanId:c,sampled:l}={...s.getPropagationContext(),...r.getPropagationContext()};i=Op({traceId:o,parentSpanId:c,...t},r,l),a&&Uo(i,a)}return cC(i),TI(i,r,s),i}function Py(e){const n={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){const r={...n};return r.startTimestamp=Rr(e.startTime),delete r.startTime,r}return n}function kf(){const e=Ur();return Ns(e)}function Op(e,t,n){const r=ge(),s=r?.getOptions()||{},{name:i=""}=e,o={spanAttributes:{...e.attributes},spanName:i,parentSampled:n};r?.emit("beforeSampling",o,{decision:!1});const a=o.parentSampled??n,c=o.spanAttributes,l=t.getPropagationContext(),[u,f,d]=t.getScopeData().sdkProcessingMetadata[My]?[!1]:mC(s,{name:i,parentSampled:a,attributes:c,parentSampleRate:$r(l.dsc?.sample_rate)},l.sampleRand),h=new ac({...e,attributes:{[wt]:"custom",[vf]:f!==void 0&&d?f:void 0,...c},sampled:u});return!u&&r&&(ee&&W.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 yC(e,t,n){const{spanId:r,traceId:s}=e.spanContext(),i=t.getScopeData().sdkProcessingMetadata[My]?!1:zr(e),o=i?new ac({...n,parentSpanId:r,traceId:s,sampled:i}):new cr({traceId:s});Ty(e,o);const a=ge();return a&&(a.emit("spanStart",o),n.endTimestamp&&a.emit("spanEnd",o)),o}function Ny(e,t){if(t)return t;if(t===null)return;const n=ma(e);if(!n)return;const r=ge();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?st(n):n}function vC(e){return e!==void 0?t=>Tf(e,t):t=>t()}const Wo={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3},_C="heartbeatFailed",bC="idleTimeout",SC="finalTimeout",wC="externalFinish";function Dy(e,t={}){const n=new Map;let r=!1,s,i=wC,o=!t.disableAutoFinish;const a=[],{idleTimeout:c=Wo.idleTimeout,finalTimeout:l=Wo.finalTimeout,childSpanTimeout:u=Wo.childSpanTimeout,beforeSpanEnd:f}=t,d=ge();if(!d||!Pn()){const E=new cr,I={sample_rate:"0",sampled:"false",...Nn(E)};return Uo(E,I),E}const h=Ae(),p=ot(),m=EC(e);m.end=new Proxy(m.end,{apply(E,I,F){if(f&&f(m),I instanceof cr)return;const[k,...N]=F,q=k||qe(),R=Rr(q),K=jo(m).filter(G=>G!==m);if(!K.length)return A(R),Reflect.apply(E,I,[R,...N]);const re=K.map(G=>Se(G).timestamp).filter(G=>!!G),J=re.length?Math.max(...re):void 0,X=Se(m).start_timestamp,L=Math.min(X?X+l/1e3:1/0,Math.max(X||-1/0,Math.min(R,J||1/0)));return A(L),Reflect.apply(E,I,[L,...N])}});function S(){s&&(clearTimeout(s),s=void 0)}function y(E){S(),s=setTimeout(()=>{!r&&n.size===0&&o&&(i=bC,m.end(E))},c)}function _(E){s=setTimeout(()=>{!r&&o&&(i=_C,m.end(E))},u)}function w(E){S(),n.set(E,!0);const I=qe();_(I+u/1e3)}function T(E){if(n.has(E)&&n.delete(E),n.size===0){const I=qe();y(I+c/1e3)}}function A(E){r=!0,n.clear(),a.forEach(R=>R()),_s(h,p);const I=Se(m),{start_timestamp:F}=I;if(!F)return;I.data[ga]||m.setAttribute(ga,i),W.log(`[Tracing] Idle span "${I.op}" finished`);const N=jo(m).filter(R=>R!==m);let q=0;N.forEach(R=>{R.isRecording()&&(R.setStatus({code:Ge,message:"cancelled"}),R.end(E),ee&&W.log("[Tracing] Cancelling span since span ended early",JSON.stringify(R,void 0,2)));const K=Se(R),{timestamp:re=0,start_timestamp:J=0}=K,X=J<=E,L=(l+c)/1e3,G=re-J<=L;if(ee){const Q=JSON.stringify(R,void 0,2);X?G||W.log("[Tracing] Discarding span since it finished after idle span final timeout",Q):W.log("[Tracing] Discarding span since it happened after idle span was finished",Q)}(!G||!X)&&($I(m,R),q++)}),q>0&&m.setAttribute("sentry.idle_span_discarded_spans",q)}return a.push(d.on("spanStart",E=>{if(r||E===m||Se(E).timestamp||E instanceof ac&&E.isStandaloneSpan())return;jo(m).includes(E)&&w(E.spanContext().spanId)})),a.push(d.on("spanEnd",E=>{r||T(E.spanContext().spanId)})),a.push(d.on("idleSpanEnableAutoFinish",E=>{E===m&&(o=!0,y(),n.size&&_())})),t.disableAutoFinish||y(),setTimeout(()=>{r||(m.setStatus({code:Ge,message:"deadline_exceeded"}),i=SC,m.end())},l),m}function EC(e){const t=lr(e);return _s(Ae(),t),ee&&W.log("[Tracing] Started span is an idle span"),t}const Kc=0,Pp=1,Np=2;function Dn(e){return new ur(t=>{t(e)})}function va(e){return new ur((t,n)=>{n(e)})}class ur{constructor(t){this._state=Kc,this._handlers=[],this._runExecutor(t)}then(t,n){return new ur((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 ur((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===Kc)return;const t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===Pp&&n[1](this._value),this._state===Np&&n[2](this._value),n[0]=!0)})}_runExecutor(t){const n=(i,o)=>{if(this._state===Kc){if(Gi(o)){o.then(r,s);return}this._state=i,this._value=o,this._executeHandlers()}},r=i=>{n(Pp,i)},s=i=>{n(Np,i)};try{t(r,s)}catch(i){s(i)}}}function tu(e,t,n,r=0){return new ur((s,i)=>{const o=e[r];if(t===null||typeof o!="function")s(t);else{const a=o({...t},n);ee&&o.id&&a===null&&W.log(`Event processor "${o.id}" dropped event`),Gi(a)?a.then(c=>tu(e,c,n,r+1).then(s)).then(null,i):tu(e,a,n,r+1).then(s).then(null,i)}})}function TC(e,t){const{fingerprint:n,span:r,breadcrumbs:s,sdkProcessingMetadata:i}=t;kC(e,t),r&&CC(e,r),AC(e,n),xC(e,s),IC(e,i)}function Dp(e,t){const{extra:n,tags:r,user:s,contexts:i,level:o,sdkProcessingMetadata:a,breadcrumbs:c,fingerprint:l,eventProcessors:u,attachments:f,propagationContext:d,transactionName:h,span:p}=t;_o(e,"extra",n),_o(e,"tags",r),_o(e,"user",s),_o(e,"contexts",i),e.sdkProcessingMetadata=Yi(e.sdkProcessingMetadata,a,2),o&&(e.level=o),h&&(e.transactionName=h),p&&(e.span=p),c.length&&(e.breadcrumbs=[...e.breadcrumbs,...c]),l.length&&(e.fingerprint=[...e.fingerprint,...l]),u.length&&(e.eventProcessors=[...e.eventProcessors,...u]),f.length&&(e.attachments=[...e.attachments,...f]),e.propagationContext={...e.propagationContext,...d}}function _o(e,t,n){e[t]=Yi(e[t],n,1)}function kC(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 xC(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function IC(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function CC(e,t){e.contexts={trace:NI(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:Nn(t),...e.sdkProcessingMetadata};const n=st(t),r=Se(n).description;r&&!e.transaction&&e.type==="transaction"&&(e.transaction=r)}function AC(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}let bo,Lp,So;function RC(e){const t=Ee._sentryDebugIds;if(!t)return{};const n=Object.keys(t);return So&&n.length===Lp||(Lp=n.length,So=n.reduce((r,s)=>{bo||(bo={});const i=bo[s];if(i)r[i[0]]=i[1];else{const o=e(s);for(let a=o.length-1;a>=0;a--){const l=o[a]?.filename,u=t[s];if(l&&u){r[l]=u,bo[s]=[l,u];break}}}return r},{})),So}function Ly(e,t,n,r,s,i){const{normalizeDepth:o=3,normalizeMaxBreadth:a=1e3}=e,c={...t,event_id:t.event_id||n.event_id||At(),timestamp:t.timestamp||Wr()},l=n.integrations||e.integrations.map(S=>S.name);MC(c,e),NC(c,l),s&&s.emit("applyFrameMetadata",t),t.type===void 0&&OC(c,e.stackParser);const u=LC(r,n.captureContext);n.mechanism&&ys(c,n.mechanism);const f=s?s.getEventProcessors():[],d=_I().getScopeData();if(i){const S=i.getScopeData();Dp(d,S)}if(u){const S=u.getScopeData();Dp(d,S)}const h=[...n.attachments||[],...d.attachments];h.length&&(n.attachments=h),TC(c,d);const p=[...f,...d.eventProcessors];return tu(p,c,n).then(S=>(S&&PC(S),typeof o=="number"&&o>0?DC(S,o,a):S))}function MC(e,t){const{environment:n,release:r,dist:s,maxValueLength:i=250}=t;e.environment=e.environment||n||wf,!e.release&&r&&(e.release=r),!e.dist&&s&&(e.dist=s);const o=e.request;o?.url&&(o.url=pa(o.url,i))}function OC(e,t){const n=RC(t);e.exception?.values?.forEach(r=>{r.stacktrace?.frames?.forEach(s=>{s.filename&&(s.debug_id=n[s.filename])})})}function PC(e){const t={};if(e.exception?.values?.forEach(r=>{r.stacktrace?.frames?.forEach(s=>{s.debug_id&&(s.abs_path?t[s.abs_path]=s.debug_id:s.filename&&(t[s.filename]=s.debug_id),delete s.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(([r,s])=>{n.push({type:"sourcemap",code_file:r,debug_id:s})})}function NC(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function DC(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(s=>({...s,...s.data&&{data:Wt(s.data,t,n)}}))},...e.user&&{user:Wt(e.user,t,n)},...e.contexts&&{contexts:Wt(e.contexts,t,n)},...e.extra&&{extra:Wt(e.extra,t,n)}};return e.contexts?.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=Wt(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(s=>({...s,...s.data&&{data:Wt(s.data,t,n)}}))),e.contexts?.flags&&r.contexts&&(r.contexts.flags=Wt(e.contexts.flags,3,n)),r}function LC(e,t){if(!t)return e;const n=e?e.clone():new fn;return n.update(t),n}function FC(e){if(e)return $C(e)?{captureContext:e}:BC(e)?{captureContext:e}:e}function $C(e){return e instanceof fn||typeof e=="function"}const HC=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function BC(e){return Object.keys(e).some(t=>HC.includes(t))}function cc(e,t){return Ae().captureException(e,FC(t))}function Fy(e,t){return Ae().captureEvent(e,t)}function jC(e,t){dn().setContext(e,t)}function UC(){const e=ge();return e?.getOptions().enabled!==!1&&!!e?.getTransport()}function WC(e){dn().addEventProcessor(e)}function Fp(e){const t=dn(),n=Ae(),{userAgent:r}=Ee.navigator||{},s=lI({user:n.getUser()||t.getUser(),...r&&{userAgent:r},...e}),i=t.getSession();return i?.status==="ok"&&vs(i,{status:"exited"}),$y(),t.setSession(s),s}function $y(){const e=dn(),n=Ae().getSession()||e.getSession();n&&uI(n),Hy(),e.setSession()}function Hy(){const e=dn(),t=ge(),n=e.getSession();n&&t&&t.captureSession(n)}function $p(e=!1){if(e){$y();return}Hy()}const zC="7";function VC(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function ZC(e){return`${VC(e)}${e.projectId}/envelope/`}function qC(e,t){const n={sentry_version:zC};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}function GC(e,t,n){return t||`${ZC(e)}?${qC(e,n)}`}const Hp=[];function YC(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 KC(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 YC(r)}function XC(e,t){const n={};return t.forEach(r=>{r&&By(e,r,n)}),n}function Bp(e,t){for(const n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function By(e,t,n){if(n[t.name]){ee&&W.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,Hp.indexOf(t.name)===-1&&typeof t.setupOnce=="function"&&(t.setupOnce(),Hp.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)}ee&&W.log(`Integration installed: ${t.name}`)}function JC(e,t,n){const r=[{type:"client_report"},{timestamp:Wr(),discarded_events:e}];return Vr(t?{dsn:t}:{},[r])}function jy(e){const t=[];e.message&&t.push(e.message);try{const n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}function QC(e){const{trace_id:t,parent_span_id:n,span_id:r,status:s,origin:i,data:o,op:a}=e.contexts?.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?.[_f],exclusive_time:o?.[Ds],measurements:e.measurements,is_segment:!0}}function e6(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&&{[_f]:e.profile_id},...e.exclusive_time&&{[Ds]:e.exclusive_time}}}},measurements:e.measurements}}const jp="Not capturing exception because it's already been captured.",Up="Discarded session because of missing or non-string release",Uy=Symbol.for("SentryInternalError"),Wy=Symbol.for("SentryDoNotSendEventError");function zo(e){return{message:e,[Uy]:!0}}function Xc(e){return{message:e,[Wy]:!0}}function Wp(e){return!!e&&typeof e=="object"&&Uy in e}function zp(e){return!!e&&typeof e=="object"&&Wy in e}class t6{constructor(t){if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],t.dsn?this._dsn=ZI(t.dsn):ee&&W.warn("No DSN provided, client will not send events."),this._dsn){const n=GC(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:n})}}captureException(t,n,r){const s=At();if(vp(t))return ee&&W.log(jp),s;const i={event_id:s,...n};return this._process(this.eventFromException(t,i).then(o=>this._captureEvent(o,i,r))),i.event_id}captureMessage(t,n,r,s){const i={event_id:At(),...r},o=mf(t)?t:String(t),a=Ai(t)?this.eventFromMessage(o,n,i):this.eventFromException(t,i);return this._process(a.then(c=>this._captureEvent(c,i,s))),i.event_id}captureEvent(t,n,r){const s=At();if(n?.originalException&&vp(n.originalException))return ee&&W.log(jp),s;const i={event_id:s,...n},o=t.sdkProcessingMetadata||{},a=o.capturedSpanScope,c=o.capturedSpanIsolationScope;return this._process(this._captureEvent(t,i,a||r,c)),i.event_id}captureSession(t){this.sendSession(t),vs(t,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const n=this._transport;return n?(this.emit("flush"),this._isClientDoneProcessing(t).then(r=>n.flush(t).then(s=>r&&s))):Dn(!0)}close(t){return this.flush(t).then(n=>(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];By(this,t,this._integrations),n||Bp(this,[t])}sendEvent(t,n={}){this.emit("beforeSendEvent",t,n);let r=oC(t,this._dsn,this._options._metadata,this._options.tunnel);for(const i of n.attachments||[])r=JI(r,nC(i));const s=this.sendEnvelope(r);s&&s.then(i=>this.emit("afterSendEvent",t,i),null)}sendSession(t){const{release:n,environment:r=wf}=this._options;if("aggregates"in t){const i=t.attrs||{};if(!i.release&&!n){ee&&W.warn(Up);return}i.release=i.release||n,i.environment=i.environment||r,t.attrs=i}else{if(!t.release&&!n){ee&&W.warn(Up);return}t.release=t.release||n,t.environment=t.environment||r}this.emit("beforeSendSession",t);const s=iC(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}`;ee&&W.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]||[];return r.push(n),()=>{const s=r.indexOf(n);s>-1&&r.splice(s,1)}}emit(t,...n){const r=this._hooks[t];r&&r.forEach(s=>s(...n))}sendEnvelope(t){return this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport?this._transport.send(t).then(null,n=>(ee&&W.error("Error while sending envelope:",n),n)):(ee&&W.error("Transport disabled"),Dn({}))}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=XC(this,t),Bp(this,t)}_updateSessionFromEvent(t,n){let r=n.level==="fatal",s=!1;const i=n.exception?.values;if(i){s=!0;for(const c of i)if(c.mechanism?.handled===!1){r=!0;break}}const o=t.status==="ok";(o&&t.errors===0||o&&r)&&(vs(t,{...r&&{status:"crashed"},errors:t.errors||Number(s||r)}),this.captureSession(t))}_isClientDoneProcessing(t){return new ur(n=>{let r=0;const s=1,i=setInterval(()=>{this._numProcessing==0?(clearInterval(i),n(!0)):(r+=s,t&&r>=t&&(clearInterval(i),n(!1)))},s)})}_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?.length&&(n.integrations=o),this.emit("preprocessEvent",t,n),t.type||s.setLastEventId(t.event_id||n.event_id),Ly(i,t,n,r,this,s).then(a=>{if(a===null)return a;this.emit("postprocessEvent",a,n),a.contexts={trace:bI(r),...a.contexts};const c=Cy(this,r);return a.sdkProcessingMetadata={dynamicSamplingContext:c,...a.sdkProcessingMetadata},a})}_captureEvent(t,n={},r=Ae(),s=dn()){return ee&&nu(t)&&W.log(`Captured error event \`${jy(t)[0]||""}\``),this._processEvent(t,n,r,s).then(i=>i.event_id,i=>{ee&&(zp(i)?W.log(i.message):Wp(i)?W.warn(i.message):W.warn(i))})}_processEvent(t,n,r,s){const i=this.getOptions(),{sampleRate:o}=i,a=zy(t),c=nu(t),l=t.type||"error",u=`before send for type \`${l}\``,f=typeof o>"u"?void 0:$r(o);if(c&&typeof f=="number"&&Math.random()>f)return this.recordDroppedEvent("sample_rate","error"),va(Xc(`Discarding event because it's not included in the random sample (sampling rate = ${o})`));const d=l==="replay_event"?"replay":l;return this._prepareEvent(t,n,r,s).then(h=>{if(h===null)throw this.recordDroppedEvent("event_processor",d),Xc("An event processor returned `null`, will not send event.");if(n.data&&n.data.__sentry__===!0)return h;const m=r6(this,i,h,n);return n6(m,u)}).then(h=>{if(h===null){if(this.recordDroppedEvent("before_send",d),a){const y=1+(t.spans||[]).length;this.recordDroppedEvent("before_send","span",y)}throw Xc(`${u} returned \`null\`, will not send event.`)}const p=r.getSession()||s.getSession();if(c&&p&&this._updateSessionFromEvent(p,h),a){const S=h.sdkProcessingMetadata?.spanCountBeforeProcessing||0,y=h.spans?h.spans.length:0,_=S-y;_>0&&this.recordDroppedEvent("before_send","span",_)}const m=h.transaction_info;if(a&&m&&h.transaction!==t.transaction){const S="custom";h.transaction_info={...m,source:S}}return this.sendEvent(h,n),h}).then(null,h=>{throw zp(h)||Wp(h)?h:(this.captureException(h,{data:{__sentry__:!0},originalException:h}),zo(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. Reason: ${h}`))})}_process(t){this._numProcessing++,t.then(n=>(this._numProcessing--,n),n=>(this._numProcessing--,n))}_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(){ee&&W.log("Flushing outcomes...");const t=this._clearOutcomes();if(t.length===0){ee&&W.log("No outcomes to send");return}if(!this._dsn){ee&&W.log("No dsn provided, will not send outcomes");return}ee&&W.log("Sending outcomes:",t);const n=JC(t,this._options.tunnel&&Qi(this._dsn));this.sendEnvelope(n)}}function n6(e,t){const n=`${t} must return \`null\` or a valid event.`;if(Gi(e))return e.then(r=>{if(!Ri(r)&&r!==null)throw zo(n);return r},r=>{throw zo(`${t} rejected with ${r}`)});if(!Ri(e)&&e!==null)throw zo(n);return e}function r6(e,t,n,r){const{beforeSend:s,beforeSendTransaction:i,beforeSendSpan:o}=t;let a=n;if(nu(a)&&s)return s(a,r);if(zy(a)){if(o){const c=o(QC(a));if(c?a=Yi(n,e6(c)):Jl(),a.spans){const l=[];for(const u of a.spans){const f=o(u);f?l.push(f):(Jl(),l.push(u))}a.spans=l}}if(i){if(a.spans){const c=a.spans.length;a.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:c}}return i(a,r)}}return a}function nu(e){return e.type===void 0}function zy(e){return e.type==="transaction"}function s6(e){return[{type:"log",item_count:e.length,content_type:"application/vnd.sentry.items.log+json"},{items:e}]}function i6(e,t,n,r){const s={};return t?.sdk&&(s.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(s.dsn=Qi(r)),Vr(s,[s6(e)])}function Jc(e,t){const n=o6(e)??[];if(n.length===0)return;const r=e.getOptions(),s=i6(n,r._metadata,r.tunnel,e.getDsn());Vy().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(s)}function o6(e){return Vy().get(e)}function Vy(){return qi("clientToLogBufferMap",()=>new WeakMap)}function a6(e,t){t.debug===!0&&(ee?W.enable():jn(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),Ae().update(t.initialScope);const r=new e(t);return c6(r),r.init(),r}function c6(e){Ae().setClient(e)}const Zy=Symbol.for("SentryBufferFullError");function l6(e){const t=[];function n(){return e===void 0||t.lengthr(a)).then(null,()=>r(a).then(null,()=>{})),a}function i(o){return new ur((a,c)=>{let l=t.length;if(!l)return a(!0);const u=setTimeout(()=>{o&&o>0&&a(!1)},o);t.forEach(f=>{Dn(f).then(()=>{--l||(clearTimeout(u),a(!0))},c)})})}return{$:t,add:s,drain:i}}const u6=60*1e3;function f6(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;const r=Date.parse(`${e}`);return isNaN(r)?u6:r-t}function d6(e,t){return e[t]||e.all||0}function qy(e,t,n=Date.now()){return d6(e,t)>n}function Gy(e,{statusCode:t,headers:n},r=Date.now()){const s={...e},i=n?.["x-sentry-rate-limits"],o=n?.["retry-after"];if(i)for(const a of i.trim().split(",")){const[c,l,,,u]=a.split(":",5),f=parseInt(c,10),d=(isNaN(f)?60:f)*1e3;if(!l)s.all=r+d;else for(const h of l.split(";"))h==="metric_bucket"?(!u||u.split(";").includes("custom"))&&(s[h]=r+d):s[h]=r+d}else o?s.all=r+f6(o,r):t===429&&(s.all=r+60*1e3);return s}const h6=64;function p6(e,t,n=l6(e.bufferSize||h6)){let r={};const s=o=>n.drain(o);function i(o){const a=[];if(xp(o,(f,d)=>{const h=Ip(d);qy(r,h)?e.recordDroppedEvent("ratelimit_backoff",h):a.push(f)}),a.length===0)return Dn({});const c=Vr(o[0],a),l=f=>{xp(c,(d,h)=>{e.recordDroppedEvent(f,Ip(h))})},u=()=>t({body:QI(c)}).then(f=>(f.statusCode!==void 0&&(f.statusCode<200||f.statusCode>=300)&&ee&&W.warn(`Sentry responded with status code ${f.statusCode} to sent event.`),r=Gy(r,f),f),f=>{throw l("network_error"),ee&&W.error("Encountered error running transport request:",f),f});return n.add(u).then(f=>f,f=>{if(f===Zy)return ee&&W.error("Skipped sending event because buffer is full."),l("queue_overflow"),Dn({});throw f})}return{send:i,flush:s}}function m6(e,t){const n=t?.getDsn(),r=t?.getOptions().tunnel;return y6(e,n)||g6(e,r)}function g6(e,t){return t?Vp(e)===Vp(t):!1}function y6(e,t){return t?e.includes(t.host):!1}function Vp(e){return e[e.length-1]==="/"?e.slice(0,-1):e}function v6(e){e.user?.ip_address===void 0&&(e.user={...e.user,ip_address:"{{auto}}"})}function _6(e){"aggregates"in e?e.attrs?.ip_address===void 0&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):e.ipAddress===void 0&&(e.ipAddress="{{auto}}")}function Yy(e,t,n=[t],r="npm"){const s=e._metadata||{};s.sdk||(s.sdk={name:`sentry.javascript.${t}`,packages:n.map(i=>({name:`${r}:@sentry/${i}`,version:Ar})),version:Ar}),e._metadata=s}function Ky(e={}){const t=e.client||ge();if(!UC()||!t)return{};const n=Ur(),r=Ns(n);if(r.getTraceData)return r.getTraceData(e);const s=e.scope||Ae(),i=e.span||ot(),o=i?DI(i):b6(s),a=i?Nn(i):Cy(t,s),c=II(a);return _y.test(o)?{"sentry-trace":o,baggage:c}:(W.warn("Invalid sentry-trace data. Cannot generate trace data"),{})}function b6(e){const{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return by(t,r,n)}function S6(e,t,n){let r,s,i;const o=n?.maxWait?Math.max(n.maxWait,t):0,a=n?.setTimeoutImpl||setTimeout;function c(){return l(),r=e(),r}function l(){s!==void 0&&clearTimeout(s),i!==void 0&&clearTimeout(i),s=i=void 0}function u(){return s!==void 0||i!==void 0?c():r}function f(){return s&&clearTimeout(s),s=a(c,t),o&&i===void 0&&(i=a(c,o)),r}return f.cancel=l,f.flush=u,f}const w6=100;function fr(e,t){const n=ge(),r=dn();if(!n)return;const{beforeBreadcrumb:s=null,maxBreadcrumbs:i=w6}=n.getOptions();if(i<=0)return;const a={timestamp:Wr(),...e},c=s?jn(()=>s(a,t)):a;c!==null&&(n.emit&&n.emit("beforeAddBreadcrumb",c,t),r.addBreadcrumb(c,i))}let Zp;const E6="FunctionToString",qp=new WeakMap,T6=()=>({name:E6,setupOnce(){Zp=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=yf(this),n=qp.has(ge())&&t!==void 0?t:this;return Zp.apply(n,e)}}catch{}},setup(e){qp.set(e,!0)}}),k6=T6,x6=[/^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$/],I6="EventFilters",C6=(e={})=>{let t;return{name:I6,setup(n){const r=n.getOptions();t=Gp(e,r)},processEvent(n,r,s){if(!t){const i=s.getOptions();t=Gp(e,i)}return R6(n,t)?null:n}}},A6=(e={})=>({...C6(e),name:"InboundFilters"});function Gp(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:x6],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function R6(e,t){if(e.type){if(e.type==="transaction"&&O6(e,t.ignoreTransactions))return ee&&W.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. Event: ${br(e)}`),!0}else{if(M6(e,t.ignoreErrors))return ee&&W.warn(`Event dropped due to being matched by \`ignoreErrors\` option. Event: ${br(e)}`),!0;if(L6(e))return ee&&W.warn(`Event dropped due to not having an error message, error type or stacktrace. Event: ${br(e)}`),!0;if(P6(e,t.denyUrls))return ee&&W.warn(`Event dropped due to being matched by \`denyUrls\` option. Event: ${br(e)}. Url: ${_a(e)}`),!0;if(!N6(e,t.allowUrls))return ee&&W.warn(`Event dropped due to not being matched by \`allowUrls\` option. Event: ${br(e)}. Url: ${_a(e)}`),!0}return!1}function M6(e,t){return t?.length?jy(e).some(n=>wn(n,t)):!1}function O6(e,t){if(!t?.length)return!1;const n=e.transaction;return n?wn(n,t):!1}function P6(e,t){if(!t?.length)return!1;const n=_a(e);return n?wn(n,t):!1}function N6(e,t){if(!t?.length)return!0;const n=_a(e);return n?wn(n,t):!0}function D6(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&n.filename!==""&&n.filename!=="[native code]")return n.filename||null}return null}function _a(e){try{const n=[...e.exception?.values??[]].reverse().find(r=>r.mechanism?.parent_id===void 0&&r.stacktrace?.frames?.length)?.stacktrace?.frames;return n?D6(n):null}catch{return ee&&W.error(`Cannot extract url for event ${br(e)}`),null}}function L6(e){return e.exception?.values?.length?!e.message&&!e.exception.values.some(t=>t.stacktrace||t.type&&t.type!=="Error"||t.value):!1}function F6(e,t,n,r,s,i){if(!s.exception?.values||!i||!Mn(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=ru(e,t,r,i.originalException,n,s.exception.values,o,0))}function ru(e,t,n,r,s,i,o,a){if(i.length>=n+1)return i;let c=[...i];if(Mn(r[s],Error)){Yp(o,a);const l=e(t,r[s]),u=c.length;Kp(l,s,u,a),c=ru(e,t,n,r[s],s,[l,...c],l,u)}return Array.isArray(r.errors)&&r.errors.forEach((l,u)=>{if(Mn(l,Error)){Yp(o,a);const f=e(t,l),d=c.length;Kp(f,`errors[${u}]`,d,a),c=ru(e,t,n,l,s,[f,...c],f,d)}}),c}function Yp(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,...e.type==="AggregateError"&&{is_exception_group:!0},exception_id:t}}function Kp(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}function $6(e){const t="console";dr(t,e),hr(t,H6)}function H6(){"console"in Ee&&Bx.forEach(function(e){e in Ee.console&&St(Ee.console,e,function(t){return ha[e]=t,function(...n){Ft("console",{args:n,level:e}),ha[e]?.apply(Ee.console,n)}})})}function Xy(e){return e==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}const B6="Dedupe",j6=()=>{let e;return{name:B6,processEvent(t){if(t.type)return t;try{if(W6(t,e))return ee&&W.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}},U6=j6;function W6(e,t){return t?!!(z6(e,t)||V6(e,t)):!1}function z6(e,t){const n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!Qy(e,t)||!Jy(e,t))}function V6(e,t){const n=Xp(t),r=Xp(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!Qy(e,t)||!Jy(e,t))}function Jy(e,t){let n=dp(e),r=dp(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;sl[0]==="sentry-trace")||a.push(["sentry-trace",s]);const c=o.find(l=>l[0]==="baggage"&&wo(l[1]));return i&&!c&&a.push(["baggage",i]),a}else{const a="sentry-trace"in o?o["sentry-trace"]:void 0,c="baggage"in o?o.baggage:void 0,l=c?Array.isArray(c)?[...c]:[c]:[],u=c&&(Array.isArray(c)?c.find(f=>wo(f)):wo(c));return i&&!u&&l.push(i),{...o,"sentry-trace":a??s,baggage:l.length>0?l.join(","):void 0}}else return{...r}}function X6(e,t){if(t.response){my(e,t.response.status);const n=t.response?.headers?.get("content-length");if(n){const r=parseInt(n);r>0&&e.setAttribute("http.response_content_length",r)}}else t.error&&e.setStatus({code:Ge,message:"internal_error"});e.end()}function wo(e){return e.split(",").some(t=>t.trim().startsWith(bf))}function J6(e){return typeof Headers<"u"&&Mn(e,Headers)}function Q6(e,t,n){const r=tv(e);return{name:r?`${t} ${q6(r)}`:t,attributes:eA(e,r,t,n)}}function eA(e,t,n,r){const s={url:e,type:"fetch","http.method":n,[Be]:r,[On]:"http.client"};return t&&(ev(t)||(s["http.url"]=t.href,s["server.address"]=t.host),t.search&&(s["http.query"]=t.search),t.hash&&(s["http.fragment"]=t.hash)),s}function nv(e){if(e!==void 0)return e>=400&&e<500?"warning":e>=500?"error":void 0}const Mi=Ee;function tA(){return"history"in Mi&&!!Mi.history}function nA(){if(!("fetch"in Mi))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function su(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function rA(){if(typeof EdgeRuntime=="string")return!0;if(!nA())return!1;if(su(Mi.fetch))return!0;let e=!1;const t=Mi.document;if(t&&typeof t.createElement=="function")try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=su(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){ee&&W.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}function rv(e,t){const n="fetch";dr(n,e),hr(n,()=>sv(void 0,t))}function sA(e){const t="fetch-body-resolved";dr(t,e),hr(t,()=>sv(oA))}function sv(e,t=!1){t&&!rA()||St(Ee,"fetch",function(n){return function(...r){const s=new Error,{method:i,url:o}=aA(r),a={args:r,fetchData:{method:i,url:o},startTimestamp:qe()*1e3,virtualError:s,headers:cA(r)};return e||Ft("fetch",{...a}),n.apply(Ee,r).then(async c=>(e?e(c):Ft("fetch",{...a,endTimestamp:qe()*1e3,response:c}),c),c=>{if(Ft("fetch",{...a,endTimestamp:qe()*1e3,error:c}),pf(c)&&c.stack===void 0&&(c.stack=s.stack,Rt(c,"framesToPop",1)),c instanceof TypeError&&(c.message==="Failed to fetch"||c.message==="Load failed"||c.message==="NetworkError when attempting to fetch resource."))try{const l=new URL(a.fetchData.url);c.message=`${c.message} (${l.host})`}catch{}throw c})}})}async function iA(e,t){if(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 oA(e){let t;try{t=e.clone()}catch{return}iA(t,()=>{Ft("fetch-body-resolved",{endTimestamp:qe()*1e3,response:e})})}function iu(e,t){return!!e&&typeof e=="object"&&!!e[t]}function Jp(e){return typeof e=="string"?e:e?iu(e,"url")?e.url:e.toString?e.toString():"":""}function aA(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[n,r]=e;return{url:Jp(n),method:iu(r,"method")?String(r.method).toUpperCase():"GET"}}const t=e[0];return{url:Jp(t),method:iu(t,"method")?String(t.method).toUpperCase():"GET"}}function cA(e){const[t,n]=e;try{if(typeof n=="object"&&n!==null&&"headers"in n&&n.headers)return new Headers(n.headers);if(ay(t))return new Headers(t.headers)}catch{}}function lA(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function uA(){return"npm"}function fA(){return!lA()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function Qp(){return typeof window<"u"&&(!fA()||dA())}function dA(){return Ee.process?.type==="renderer"}const Te=Ee;let ou=0;function iv(){return ou>0}function hA(){ou++,setTimeout(()=>{ou--})}function Ss(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(yf(e))return e}catch{return e}const r=function(...s){try{const i=s.map(o=>Ss(o,t));return e.apply(this,i)}catch(i){throw hA(),oc(o=>{o.addEventProcessor(a=>(t.mechanism&&(Yl(a,void 0),ys(a,t.mechanism)),a.extra={...a.extra,arguments:s},a)),cc(i)}),i}};try{for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(r[s]=e[s])}catch{}ly(r,e),Rt(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}function xf(){const e=Ps(),{referrer:t}=Te.document||{},{userAgent:n}=Te.navigator||{},r={...t&&{Referer:t},...n&&{"User-Agent":n}};return{url:e,headers:r}}function If(e,t){const n=Cf(e,t),r={type:vA(t),value:_A(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function pA(e,t,n,r){const i=ge()?.getOptions().normalizeDepth,o=TA(t),a={__serialized__:Ay(t,i)};if(o)return{exception:{values:[If(e,o)]},extra:a};const c={exception:{values:[{type:ic(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:wA(t,{isUnhandledRejection:r})}]},extra:a};if(n){const l=Cf(e,n);l.length&&(c.exception.values[0].stacktrace={frames:l})}return c}function Qc(e,t){return{exception:{values:[If(e,t)]}}}function Cf(e,t){const n=t.stacktrace||t.stack||"",r=gA(t),s=yA(t);try{return e(n,r,s)}catch{}return[]}const mA=/Minified React error #\d+;/i;function gA(e){return e&&mA.test(e.message)?1:0}function yA(e){return typeof e.framesToPop=="number"?e.framesToPop:0}function ov(e){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?e instanceof WebAssembly.Exception:!1}function vA(e){const t=e?.name;return!t&&ov(e)?e.message&&Array.isArray(e.message)&&e.message.length==2?e.message[0]:"WebAssembly.Exception":t}function _A(e){const t=e?.message;return ov(e)?Array.isArray(e.message)&&e.message.length==2?e.message[1]:"wasm exception":t?t.error&&typeof t.error.message=="string"?t.error.message:t:"No error message"}function bA(e,t,n,r){const s=n?.syntheticException||void 0,i=Af(e,t,s,r);return ys(i),i.level="error",n?.event_id&&(i.event_id=n.event_id),Dn(i)}function SA(e,t,n="info",r,s){const i=r?.syntheticException||void 0,o=au(e,t,i,s);return o.level=n,r?.event_id&&(o.event_id=r.event_id),Dn(o)}function Af(e,t,n,r,s){let i;if(iy(t)&&t.error)return Qc(e,t.error);if(pp(t)||Xx(t)){const o=t;if("stack"in t)i=Qc(e,t);else{const a=o.name||(pp(o)?"DOMError":"DOMException"),c=o.message?`${a}: ${o.message}`:a;i=au(e,c,n,r),Yl(i,c)}return"code"in o&&(i.tags={...i.tags,"DOMException.code":`${o.code}`}),i}return pf(t)?Qc(e,t):Ri(t)||ic(t)?(i=pA(e,t,n,s),ys(i,{synthetic:!0}),i):(i=au(e,t,n,r),Yl(i,`${t}`),ys(i,{synthetic:!0}),i)}function au(e,t,n,r){const s={};if(r&&n){const i=Cf(e,n);i.length&&(s.exception={values:[{value:t,stacktrace:{frames:i}}]}),ys(s,{synthetic:!0})}if(mf(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 wA(e,{isUnhandledRejection:t}){const n=sI(e),r=t?"promise rejection":"exception";return iy(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:ic(e)?`Event \`${EA(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function EA(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function TA(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];if(n instanceof Error)return n}}const kA=5e3;class xA extends t6{constructor(t){const n=IA(t),r=Te.SENTRY_SDK_SOURCE||uA();Yy(n,"browser",["browser"],r),super(n);const{sendDefaultPii:s,sendClientReports:i,enableLogs:o,_experiments:a}=this._options,c=o??a?.enableLogs;Te.document&&(i||c)&&Te.document.addEventListener("visibilitychange",()=>{Te.document.visibilityState==="hidden"&&(i&&this._flushOutcomes(),c&&Jc(this))}),c&&(this.on("flush",()=>{Jc(this)}),this.on("afterCaptureLog",()=>{this._logFlushIdleTimeout&&clearTimeout(this._logFlushIdleTimeout),this._logFlushIdleTimeout=setTimeout(()=>{Jc(this)},kA)})),s&&(this.on("postprocessEvent",v6),this.on("beforeSendSession",_6))}eventFromException(t,n){return bA(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",r){return SA(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 IA(e){return{release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:Te.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}const ws=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,fe=Ee,CA=(e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good",Ls=(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=CA(t.value,n),e(t)))}},AA=()=>`v5-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,eo=(e=!0)=>{const t=fe.performance?.getEntriesByType?.("navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStarteo()?.activationStart??0,$s=(e,t=-1)=>{const n=eo();let r="navigate";return n&&(fe.document?.prerendering||Fs()>0?r="prerender":fe.document?.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:t,rating:"good",delta:0,entries:[],id:AA(),navigationType:r}},el=new WeakMap;function Rf(e,t){return el.get(e)||el.set(e,new t),el.get(e)}class ba{constructor(){ba.prototype.__init.call(this),ba.prototype.__init2.call(this)}__init(){this._sessionValue=0}__init2(){this._sessionEntries=[]}_processEntry(t){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]),this._onAfterProcessingUnexpectedShift?.(t)}}const Zr=(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{}},lc=e=>{let t=!1;return()=>{t||(e(),t=!0)}};let li=-1;const RA=()=>fe.document?.visibilityState==="hidden"&&!fe.document?.prerendering?0:1/0,Sa=e=>{fe.document.visibilityState==="hidden"&&li>-1&&(li=e.type==="visibilitychange"?e.timeStamp:0,OA())},MA=()=>{addEventListener("visibilitychange",Sa,!0),addEventListener("prerenderingchange",Sa,!0)},OA=()=>{removeEventListener("visibilitychange",Sa,!0),removeEventListener("prerenderingchange",Sa,!0)},uc=()=>{if(fe.document&&li<0){const e=Fs();li=(fe.document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter(n=>n.name==="hidden"&&n.startTime>e)[0]?.startTime)??RA(),MA()}return{get firstHiddenTime(){return li}}},to=e=>{fe.document?.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},PA=[1800,3e3],NA=(e,t={})=>{to(()=>{const n=uc(),r=$s("FCP");let s;const o=Zr("paint",a=>{for(const c of a)c.name==="first-contentful-paint"&&(o.disconnect(),c.startTime{NA(lc(()=>{const n=$s("CLS",0);let r;const s=Rf(t,ba),i=a=>{for(const c of a)s._processEntry(c);s._sessionValue>n.value&&(n.value=s._sessionValue,n.entries=s._sessionEntries,r())},o=Zr("layout-shift",i);o&&(r=Ls(e,n,DA,t.reportAllChanges),fe.document?.addEventListener("visibilitychange",()=>{fe.document?.visibilityState==="hidden"&&(i(o.takeRecords()),r(!0))}),fe?.setTimeout?.(r))}))},fc=e=>{const t=n=>{(n.type==="pagehide"||fe.document?.visibilityState==="hidden")&&e(n)};fe.document&&(addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0))},FA=[100,300],$A=(e,t={})=>{to(()=>{const n=uc(),r=$s("FID");let s;const i=c=>{c.startTime{c.forEach(i)},a=Zr("first-input",o);s=Ls(e,r,FA,t.reportAllChanges),a&&fc(lc(()=>{o(a.takeRecords()),a.disconnect()}))})};let av=0,tl=1/0,Eo=0;const HA=e=>{e.forEach(t=>{t.interactionId&&(tl=Math.min(tl,t.interactionId),Eo=Math.max(Eo,t.interactionId),av=Eo?(Eo-tl)/7+1:0)})};let cu;const cv=()=>cu?av:performance.interactionCount||0,BA=()=>{"interactionCount"in performance||cu||(cu=Zr("event",HA,{type:"event",buffered:!0,durationThreshold:0}))},nl=10;let lv=0;const jA=()=>cv()-lv;class wa{constructor(){wa.prototype.__init.call(this),wa.prototype.__init2.call(this)}__init(){this._longestInteractionList=[]}__init2(){this._longestInteractionMap=new Map}_resetInteractions(){lv=cv(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){const t=Math.min(this._longestInteractionList.length-1,Math.floor(jA()/50));return this._longestInteractionList[t]}_processEntry(t){if(this._onBeforeProcessingEntry?.(t),!(t.interactionId||t.entryType==="first-input"))return;const n=this._longestInteractionList.at(-1);let r=this._longestInteractionMap.get(t.interactionId);if(r||this._longestInteractionList.lengthn._latency){if(r?t.duration>r._latency?(r.entries=[t],r._latency=t.duration):t.duration===r._latency&&t.startTime===r.entries[0].startTime&&r.entries.push(t):(r={id:t.interactionId,entries:[t],_latency:t.duration},this._longestInteractionMap.set(r.id,r),this._longestInteractionList.push(r)),this._longestInteractionList.sort((s,i)=>i._latency-s._latency),this._longestInteractionList.length>nl){const s=this._longestInteractionList.splice(nl);for(const i of s)this._longestInteractionMap.delete(i.id)}this._onAfterProcessingINPCandidate?.(r)}}}const uv=e=>{const t=fe.requestIdleCallback||fe.setTimeout;fe.document?.visibilityState==="hidden"?e():(e=lc(e),t(e),fc(e))},UA=[200,500],WA=40,zA=(e,t={})=>{globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype&&to(()=>{BA();const n=$s("INP");let r;const s=Rf(t,wa),i=a=>{uv(()=>{for(const l of a)s._processEntry(l);const c=s._estimateP98LongestInteraction();c&&c._latency!==n.value&&(n.value=c._latency,n.entries=c.entries,r())})},o=Zr("event",i,{durationThreshold:t.durationThreshold??WA});r=Ls(e,n,UA,t.reportAllChanges),o&&(o.observe({type:"first-input",buffered:!0}),fc(()=>{i(o.takeRecords()),r(!0)}))})};class VA{_processEntry(t){this._onBeforeProcessingEntry?.(t)}}const ZA=[2500,4e3],qA=(e,t={})=>{to(()=>{const n=uc(),r=$s("LCP");let s;const i=Rf(t,VA),o=c=>{t.reportAllChanges||(c=c.slice(-1));for(const l of c)i._processEntry(l),l.startTime{o(a.takeRecords()),a.disconnect(),s(!0)});for(const l of["keydown","click","visibilitychange"])fe.document&&addEventListener(l,()=>uv(c),{capture:!0,once:!0})}})},GA=[800,1800],lu=e=>{fe.document?.prerendering?to(()=>lu(e)):fe.document?.readyState!=="complete"?addEventListener("load",()=>lu(e),!0):setTimeout(e)},YA=(e,t={})=>{const n=$s("TTFB"),r=Ls(e,n,GA,t.reportAllChanges);lu(()=>{const s=eo();s&&(n.value=Math.max(s.responseStart-Fs(),0),n.entries=[s],r(!0))})},ui={},Ea={};let fv,dv,hv,pv,mv;function Mf(e,t=!1){return no("cls",e,XA,fv,t)}function Of(e,t=!1){return no("lcp",e,QA,hv,t)}function gv(e){return no("fid",e,JA,dv)}function KA(e){return no("ttfb",e,eR,pv)}function yv(e){return no("inp",e,tR,mv)}function Hr(e,t){return vv(e,t),Ea[e]||(nR(e),Ea[e]=!0),_v(e,t)}function Hs(e,t){const n=ui[e];if(n?.length)for(const r of n)try{r(t)}catch(s){ws&&W.error(`Error while triggering instrumentation handler. Type: ${e} Name: ${Rn(r)} Error:`,s)}}function XA(){return LA(e=>{Hs("cls",{metric:e}),fv=e},{reportAllChanges:!0})}function JA(){return $A(e=>{Hs("fid",{metric:e}),dv=e})}function QA(){return qA(e=>{Hs("lcp",{metric:e}),hv=e},{reportAllChanges:!0})}function eR(){return YA(e=>{Hs("ttfb",{metric:e}),pv=e})}function tR(){return zA(e=>{Hs("inp",{metric:e}),mv=e})}function no(e,t,n,r,s=!1){vv(e,t);let i;return Ea[e]||(i=n(),Ea[e]=!0),r&&t({metric:r}),_v(e,t,s?i:void 0)}function nR(e){const t={};e==="event"&&(t.durationThreshold=0),Zr(e,n=>{Hs(e,{entries:n})},t)}function vv(e,t){ui[e]=ui[e]||[],ui[e].push(t)}function _v(e,t,n){return()=>{n&&n();const r=ui[e];if(!r)return;const s=r.indexOf(t);s!==-1&&r.splice(s,1)}}function rR(e){return"duration"in e}function rl(e){return typeof e=="number"&&isFinite(e)}function Ln(e,t,n,{...r}){const s=Se(e).start_timestamp;return s&&s>t&&typeof e.updateStartTime=="function"&&e.updateStartTime(t),Tf(e,()=>{const i=lr({startTime:t,...r});return i&&i.end(n),i})}function Pf(e){const t=ge();if(!t)return;const{name:n,transaction:r,attributes:s,startTime:i}=e,{release:o,environment:a,sendDefaultPii:c}=t.getOptions(),u=t.getIntegrationByName("Replay")?.getReplayId(),f=Ae(),d=f.getUser(),h=d!==void 0?d.email||d.id||d.ip_address:void 0;let p;try{p=f.getScopeData().contexts.profile.profile_id}catch{}const m={release:o,environment:a,user:h||void 0,profile_id:p||void 0,replay_id:u||void 0,transaction:r,"user_agent.original":fe.navigator?.userAgent,"client.address":c?"{{auto}}":void 0,...s};return lr({name:n,attributes:m,startTime:i,experimental:{standalone:!0}})}function dc(){return fe.addEventListener&&fe.performance}function $e(e){return e/1e3}function bv(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 Sv(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch{return!1}}function wv(e,t){let n,r=!1;function s(a){!r&&n&&t(a,n),r=!0}fc(()=>{s("pagehide")});const i=e.on("beforeStartNavigationSpan",(a,c)=>{c?.isRedirect||(s("navigation"),i?.(),o?.())}),o=e.on("afterStartPageLoadSpan",a=>{n=a.spanContext().spanId,o?.()})}function sR(e){let t=0,n;if(!Sv("layout-shift"))return;const r=Mf(({metric:s})=>{const i=s.entries[s.entries.length-1];i&&(t=s.value,n=i)},!0);wv(e,(s,i)=>{iR(t,n,i,s),r()})}function iR(e,t,n,r){ws&&W.log(`Sending CLS span (${e})`);const s=$e((gt()||0)+(t?.startTime||0)),i=Ae().getScopeData().transactionName,o=t?Ht(t.sources[0]?.node):"Layout shift",a={[Be]:"auto.http.browser.cls",[On]:"ui.webvital.cls",[Ds]:t?.duration||0,"sentry.pageload.span_id":n,"sentry.report_event":r};t?.sources&&t.sources.forEach((l,u)=>{a[`cls.source.${u+1}`]=Ht(l.node)});const c=Pf({name:o,transaction:i,attributes:a,startTime:s});c&&(c.addEvent("cls",{[Xi]:"",[Ji]:e}),c.end(s))}function oR(e){let t=0,n;if(!Sv("largest-contentful-paint"))return;const r=Of(({metric:s})=>{const i=s.entries[s.entries.length-1];i&&(t=s.value,n=i)},!0);wv(e,(s,i)=>{aR(t,n,i,s),r()})}function aR(e,t,n,r){ws&&W.log(`Sending LCP span (${e})`);const s=$e((gt()||0)+(t?.startTime||0)),i=Ae().getScopeData().transactionName,o=t?Ht(t.element):"Largest contentful paint",a={[Be]:"auto.http.browser.lcp",[On]:"ui.webvital.lcp",[Ds]:0,"sentry.pageload.span_id":n,"sentry.report_event":r};t&&(t.element&&(a["lcp.element"]=Ht(t.element)),t.id&&(a["lcp.id"]=t.id),t.url&&(a["lcp.url"]=t.url.trim().slice(0,200)),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=Pf({name:o,transaction:i,attributes:a,startTime:s});c&&(c.addEvent("lcp",{[Xi]:"millisecond",[Ji]:e}),c.end(s))}const cR=2147483647;let em=0,nt={},bt,Ta;function lR({recordClsStandaloneSpans:e,recordLcpStandaloneSpans:t,client:n}){const r=dc();if(r&>()){r.mark&&fe.performance.mark("sentry-tracing-init");const s=mR(),i=t?oR(n):pR(),o=gR(),a=e?sR(n):hR();return()=>{s(),i?.(),o(),a?.()}}return()=>{}}function uR(){Hr("longtask",({entries:e})=>{const t=ot();if(!t)return;const{op:n,start_timestamp:r}=Se(t);for(const s of e){const i=$e(gt()+s.startTime),o=$e(s.duration);n==="navigation"&&r&&i{const n=ot();if(n)for(const r of t.getEntries()){if(!r.scripts[0])continue;const s=$e(gt()+r.startTime),{start_timestamp:i,op:o}=Se(n);if(o==="navigation"&&i&&s{const t=ot();if(t){for(const n of e)if(n.name==="click"){const r=$e(gt()+n.startTime),s=$e(n.duration),i={name:Ht(n.target),op:`ui.interaction.${n.name}`,startTime:r,attributes:{[Be]:"auto.ui.browser.metrics"}},o=cy(n.target);o&&(i.attributes["ui.component_name"]=o),Ln(t,r,r+s,i)}}})}function hR(){return Mf(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(nt.cls={value:e.value,unit:""},Ta=t)},!0)}function pR(){return Of(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(nt.lcp={value:e.value,unit:"millisecond"},bt=t)},!0)}function mR(){return gv(({metric:e})=>{const t=e.entries[e.entries.length-1];if(!t)return;const n=$e(gt()),r=$e(t.startTime);nt.fid={value:e.value,unit:"millisecond"},nt["mark.fid"]={value:n+r,unit:"second"}})}function gR(){return KA(({metric:e})=>{e.entries[e.entries.length-1]&&(nt.ttfb={value:e.value,unit:"millisecond"})})}function yR(e,t){const n=dc(),r=gt();if(!n?.getEntries||!r)return;const s=$e(r),i=n.getEntries(),{op:o,start_timestamp:a}=Se(e);if(i.slice(em).forEach(c=>{const l=$e(c.startTime),u=$e(Math.max(0,c.duration));if(!(o==="navigation"&&a&&s+l{uC(l,u.value,u.unit)}),e.setAttribute("performance.timeOrigin",s),e.setAttribute("performance.activationStart",Fs()),kR(e,t)}bt=void 0,Ta=void 0,nt={}}function vR(e,t,n,r,s,i){if(["mark","measure"].includes(t.entryType)&&wn(t.name,i))return;const o=eo(!1),a=$e(o?o.requestStart:0),c=s+Math.max(n,a),l=s+n,u=l+r,f={[Be]:"auto.resource.browser.metrics"};c!==l&&(f["sentry.browser.measure_happened_before_request"]=!0,f["sentry.browser.measure_start_time"]=c),_R(f,t),c<=u&&Ln(e,c,u,{name:t.name,op:t.entryType,attributes:f})}function _R(e,t){try{const n=t.detail;if(!n)return;if(typeof n=="object"){for(const[r,s]of Object.entries(n))if(s&&Ai(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(Ai(n)){e["sentry.browser.measure.detail"]=n;return}try{e["sentry.browser.measure.detail"]=JSON.stringify(n)}catch{}}catch{}}function bR(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{To(e,t,r,n)}),To(e,t,"secureConnection",n,"TLS/SSL"),To(e,t,"fetch",n,"cache"),To(e,t,"domainLookup",n,"DNS"),wR(e,t,n)}function To(e,t,n,r,s=n){const i=SR(n),o=t[i],a=t[`${n}Start`];!a||!o||Ln(e,r+$e(a),r+$e(o),{op:`browser.${s}`,name:t.name,attributes:{[Be]:"auto.ui.browser.metrics",...n==="redirect"&&t.redirectCount!=null?{"http.redirect_count":t.redirectCount}:{}}})}function SR(e){return e==="secureConnection"?"connectEnd":e==="fetch"?"domainLookupStart":`${e}End`}function wR(e,t,n){const r=n+$e(t.requestStart),s=n+$e(t.responseEnd),i=n+$e(t.responseStart);t.responseEnd&&(Ln(e,r,s,{op:"browser.request",name:t.name,attributes:{[Be]:"auto.ui.browser.metrics"}}),Ln(e,i,s,{op:"browser.response",name:t.name,attributes:{[Be]:"auto.ui.browser.metrics"}}))}function ER(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?.includes(a))return;const c=Or(n),l={[Be]:"auto.resource.browser.metrics"};sl(l,t,"transferSize","http.response_transfer_size"),sl(l,t,"encodedBodySize","http.response_content_length"),sl(l,t,"decodedBodySize","http.decoded_response_content_length");const u=t.deliveryType;u!=null&&(l["http.response_delivery_type"]=u);const f=t.renderBlockingStatus;if(f&&(l["resource.render_blocking_status"]=f),c.protocol&&(l["url.scheme"]=c.protocol.split(":").pop()),c.host&&(l["server.address"]=c.host),l["url.same_origin"]=n.includes(fe.location.origin),t.nextHopProtocol!=null){const{name:p,version:m}=bv(t.nextHopProtocol);l["network.protocol.name"]=p,l["network.protocol.version"]=m}const d=i+r,h=d+s;Ln(e,d,h,{name:n.replace(fe.location.origin,""),op:a,attributes:l})}function TR(e){const t=fe.navigator;if(!t)return;const n=t.connection;n&&(n.effectiveType&&e.setAttribute("effectiveConnectionType",n.effectiveType),n.type&&e.setAttribute("connectionType",n.type),rl(n.rtt)&&(nt["connection.rtt"]={value:n.rtt,unit:"millisecond"})),rl(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`),rl(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}function kR(e,t){bt&&t.recordLcpOnPageloadSpan&&(bt.element&&e.setAttribute("lcp.element",Ht(bt.element)),bt.id&&e.setAttribute("lcp.id",bt.id),bt.url&&e.setAttribute("lcp.url",bt.url.trim().slice(0,200)),bt.loadTime!=null&&e.setAttribute("lcp.loadTime",bt.loadTime),bt.renderTime!=null&&e.setAttribute("lcp.renderTime",bt.renderTime),e.setAttribute("lcp.size",bt.size)),Ta?.sources&&t.recordClsOnPageloadSpan&&Ta.sources.forEach((n,r)=>e.setAttribute(`cls.source.${r+1}`,Ht(n.node)))}function sl(e,t,n,r){const s=t[n];s!=null&&s{}}const CR=({entries:e})=>{const t=ot(),n=t?st(t):void 0,r=n?Se(n).description:Ae().getScopeData().transactionName;e.forEach(s=>{const i=s;if(!i.identifier)return;const o=i.name,a=i.renderTime,c=i.loadTime,[l,u]=c?[$e(c),"load-time"]:a?[$e(a),"render-time"]:[qe(),"entry-emission"],f=o==="image-paint"?$e(Math.max(0,(a??0)-(c??0))):0,d={[Be]:"auto.ui.browser.elementtiming",[On]:"ui.elementtiming",[wt]:"component","sentry.span_start_time_source":u,"sentry.transaction_name":r,"element.id":i.id,"element.type":i.element?.tagName?.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};gC({name:`element[${i.identifier}]`,attributes:d,startTime:l,onlyIfParent:!0},h=>{h.end(l+f)})})},AR=1e3;let tm,uu,fu;function Ev(e){dr("dom",e),hr("dom",RR)}function RR(){if(!fe.document)return;const e=Ft.bind(null,"dom"),t=nm(e,!0);fe.document.addEventListener("click",t,!1),fe.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{const s=fe[n]?.prototype;s?.hasOwnProperty?.("addEventListener")&&(St(s,"addEventListener",function(i){return function(o,a,c){if(o==="click"||o=="keypress")try{const l=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},u=l[o]=l[o]||{refCount:0};if(!u.handler){const f=nm(e);u.handler=f,i.call(this,o,f,c)}u.refCount++}catch{}return i.call(this,o,a,c)}}),St(s,"removeEventListener",function(i){return function(o,a,c){if(o==="click"||o=="keypress")try{const l=this.__sentry_instrumentation_handlers__||{},u=l[o];u&&(u.refCount--,u.refCount<=0&&(i.call(this,o,u.handler,c),u.handler=void 0,delete l[o]),Object.keys(l).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return i.call(this,o,a,c)}}))})}function MR(e){if(e.type!==uu)return!1;try{if(!e.target||e.target._sentryId!==fu)return!1}catch{}return!0}function OR(e,t){return e!=="keypress"?!1:t?.tagName?!(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable):!0}function nm(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=PR(n);if(OR(n.type,r))return;Rt(n,"_sentryCaptured",!0),r&&!r._sentryId&&Rt(r,"_sentryId",At());const s=n.type==="keypress"?"input":n.type;MR(n)||(e({event:n,name:s,global:t}),uu=n.type,fu=r?r._sentryId:void 0),clearTimeout(tm),tm=fe.setTimeout(()=>{fu=void 0,uu=void 0},AR)}}function PR(e){try{return e.target}catch{return null}}let ko;function hc(e){const t="history";dr(t,e),hr(t,NR)}function NR(){if(fe.addEventListener("popstate",()=>{const t=fe.location.href,n=ko;if(ko=t,n===t)return;Ft("history",{from:n,to:t})}),!tA())return;function e(t){return function(...n){const r=n.length>2?n[2]:void 0;if(r){const s=ko,i=DR(String(r));if(ko=i,s===i)return t.apply(this,n);Ft("history",{from:s,to:i})}return t.apply(this,n)}}St(fe.history,"pushState",e),St(fe.history,"replaceState",e)}function DR(e){try{return new URL(e,fe.location.origin).toString()}catch{return e}}const Vo={};function Tv(e){const t=Vo[e];if(t)return t;let n=fe[e];if(su(n))return Vo[e]=n.bind(fe);const r=fe.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?.[e]&&(n=i[e]),r.head.removeChild(s)}catch(s){ws&&W.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,s)}return n&&(Vo[e]=n.bind(fe))}function rm(e){Vo[e]=void 0}function ro(...e){return Tv("setTimeout")(...e)}const wr="__sentry_xhr_v3__";function kv(e){dr("xhr",e),hr("xhr",LR)}function LR(){if(!fe.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(t,n,r){const s=new Error,i=qe()*1e3,o=Sn(r[0])?r[0].toUpperCase():void 0,a=FR(r[1]);if(!o||!a)return t.apply(n,r);n[wr]={method:o,url:a,request_headers:{}},o==="POST"&&a.match(/sentry_key/)&&(n.__sentry_own_request__=!0);const c=()=>{const l=n[wr];if(l&&n.readyState===4){try{l.status_code=n.status}catch{}const u={endTimestamp:qe()*1e3,startTimestamp:i,xhr:n,virtualError:s};Ft("xhr",u)}};return"onreadystatechange"in n&&typeof n.onreadystatechange=="function"?n.onreadystatechange=new Proxy(n.onreadystatechange,{apply(l,u,f){return c(),l.apply(u,f)}}):n.addEventListener("readystatechange",c),n.setRequestHeader=new Proxy(n.setRequestHeader,{apply(l,u,f){const[d,h]=f,p=u[wr];return p&&Sn(d)&&Sn(h)&&(p.request_headers[d.toLowerCase()]=h),l.apply(u,f)}}),t.apply(n,r)}}),e.send=new Proxy(e.send,{apply(t,n,r){const s=n[wr];if(!s)return t.apply(n,r);r[0]!==void 0&&(s.body=r[0]);const i={startTimestamp:qe()*1e3,xhr:n};return Ft("xhr",i),t.apply(n,r)}})}function FR(e){if(Sn(e))return e;try{return e.toString()}catch{}}function xv(e){return new URLSearchParams(e).toString()}function Iv(e,t=W){try{if(typeof e=="string")return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[xv(e)];if(!e)return[void 0]}catch(n){return ws&&t.error(n,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return ws&&t.log("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function Cv(e=[]){if(!(e.length!==2||typeof e[1]!="object"))return e[1].body}const il=[],Zo=new Map,$R=60;function HR(){if(dc()&>()){const t=BR();return()=>{t()}}return()=>{}}const sm={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 BR(){return yv(jR)}const jR=({metric:e})=>{if(e.value==null)return;const t=$e(e.value);if(t>$R)return;const n=e.entries.find(p=>p.duration===e.value&&sm[p.name]);if(!n)return;const{interactionId:r}=n,s=sm[n.name],i=$e(gt()+n.startTime),o=ot(),a=o?st(o):void 0,l=(r!=null?Zo.get(r):void 0)||a,u=l?Se(l).description:Ae().getScopeData().transactionName,f=Ht(n.target),d={[Be]:"auto.http.browser.inp",[On]:`ui.interaction.${s}`,[Ds]:n.duration},h=Pf({name:f,transaction:u,attributes:d,startTime:i});h&&(h.addEvent("inp",{[Xi]:"millisecond",[Ji]:e.value}),h.end(i+t))};function UR(){const e=({entries:t})=>{const n=ot(),r=n&&st(n);t.forEach(s=>{if(!rR(s)||!r)return;const i=s.interactionId;if(i!=null&&!Zo.has(i)){if(il.length>10){const o=il.shift();Zo.delete(o)}il.push(i),Zo.set(i,r)}})};Hr("event",e),Hr("first-input",e)}function WR(e,t=Tv("fetch")){let n=0,r=0;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};if(!t)return rm("fetch"),va("No fetch implementation available");try{return t(e.url,a).then(c=>(n-=o,r--,{statusCode:c.status,headers:{"x-sentry-rate-limits":c.headers.get("X-Sentry-Rate-Limits"),"retry-after":c.headers.get("Retry-After")}}))}catch(c){return rm("fetch"),n-=o,r--,va(c)}}return p6(e,s)}const zR=30,VR=50;function du(e,t,n,r){const s={filename:e,function:t===""?Fr:t,in_app:!0};return n!==void 0&&(s.lineno=n),r!==void 0&&(s.colno=r),s}const ZR=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,qR=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,GR=/\((\S*)(?::(\d+))(?::(\d+))\)/,YR=e=>{const t=ZR.exec(e);if(t){const[,r,s,i]=t;return du(r,Fr,+s,+i)}const n=qR.exec(e);if(n){if(n[2]&&n[2].indexOf("eval")===0){const o=GR.exec(n[2]);o&&(n[2]=o[1],n[3]=o[2],n[4]=o[3])}const[s,i]=Av(n[1]||Fr,n[2]);return du(i,s,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}},KR=[zR,YR],XR=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,JR=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,QR=e=>{const t=XR.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const i=JR.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]||Fr;return[s,r]=Av(s,r),du(r,s,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},eM=[VR,QR],tM=[KR,eM],nM=ty(...tM),Av=(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]:Fr,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},Bt=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,xo=1024,rM="Breadcrumbs",sM=(e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:rM,setup(n){t.console&&$6(cM(n)),t.dom&&Ev(aM(n,t.dom)),t.xhr&&kv(lM(n)),t.fetch&&rv(uM(n)),t.history&&hc(fM(n)),t.sentry&&n.on("beforeSendEvent",oM(n))}}},iM=sM;function oM(e){return function(n){ge()===e&&fr({category:`sentry.${n.type==="transaction"?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:br(n)},{event:n})}}function aM(e,t){return function(r){if(ge()!==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>xo&&(Bt&&W.warn(`\`dom.maxStringLength\` cannot exceed ${xo}, but a value of ${a} was configured. Sentry will use ${xo} instead.`),a=xo),typeof o=="string"&&(o=[o]);try{const l=r.event,u=dM(l)?l.target:l;s=Ht(u,{keyAttrs:o,maxStringLength:a}),i=cy(u)}catch{s=""}if(s.length===0)return;const c={category:`ui.${r.name}`,message:s};i&&(c.data={"ui.component_name":i}),fr(c,{event:r.event,name:r.name,global:r.global})}}function cM(e){return function(n){if(ge()!==e)return;const r={category:"console",data:{arguments:n.args,logger:"console"},level:Xy(n.level),message:mp(n.args," ")};if(n.level==="assert")if(n.args[0]===!1)r.message=`Assertion failed: ${mp(n.args.slice(1)," ")||"console.assert"}`,r.data.arguments=n.args.slice(1);else return;fr(r,{input:n.args,level:n.level})}}function lM(e){return function(n){if(ge()!==e)return;const{startTimestamp:r,endTimestamp:s}=n,i=n.xhr[wr];if(!r||!s||!i)return;const{method:o,url:a,status_code:c,body:l}=i,u={method:o,url:a,status_code:c},f={xhr:n.xhr,input:l,startTimestamp:r,endTimestamp:s},d={category:"xhr",data:u,type:"http",level:nv(c)};e.emit("beforeOutgoingRequestBreadcrumb",d,f),fr(d,f)}}function uM(e){return function(n){if(ge()!==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),fr(a,o)}else{const i=n.response,o={...n.fetchData,status_code:i?.status};n.fetchData.request_body_size,n.fetchData.response_body_size,i?.status;const a={input:n.args,response:i,startTimestamp:r,endTimestamp:s},c={category:"fetch",data:o,type:"http",level:nv(o.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",c,a),fr(c,a)}}}function fM(e){return function(n){if(ge()!==e)return;let r=n.from,s=n.to;const i=Or(Te.location.href);let o=r?Or(r):void 0;const a=Or(s);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),fr({category:"navigation",data:{from:r,to:s}})}}function dM(e){return!!e&&!!e.target}const hM=["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"],pM="BrowserApiErrors",mM=(e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:pM,setupOnce(){t.setTimeout&&St(Te,"setTimeout",im),t.setInterval&&St(Te,"setInterval",im),t.requestAnimationFrame&&St(Te,"requestAnimationFrame",yM),t.XMLHttpRequest&&"XMLHttpRequest"in Te&&St(XMLHttpRequest.prototype,"send",vM);const n=t.eventTarget;n&&(Array.isArray(n)?n:hM).forEach(s=>_M(s,t))}}},gM=mM;function im(e){return function(...t){const n=t[0];return t[0]=Ss(n,{mechanism:{data:{function:Rn(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function yM(e){return function(t){return e.apply(this,[Ss(t,{mechanism:{data:{function:"requestAnimationFrame",handler:Rn(e)},handled:!1,type:"instrument"}})])}}function vM(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(s=>{s in n&&typeof n[s]=="function"&&St(n,s,function(i){const o={mechanism:{data:{function:s,handler:Rn(i)},handled:!1,type:"instrument"}},a=yf(i);return a&&(o.mechanism.data.handler=Rn(a)),Ss(i,o)})}),e.apply(this,t)}}function _M(e,t){const r=Te[e]?.prototype;r?.hasOwnProperty?.("addEventListener")&&(St(r,"addEventListener",function(s){return function(i,o,a){try{bM(o)&&(o.handleEvent=Ss(o.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Rn(o),target:e},handled:!1,type:"instrument"}}))}catch{}return t.unregisterOriginalCallbacks&&SM(this,i,o),s.apply(this,[i,Ss(o,{mechanism:{data:{function:"addEventListener",handler:Rn(o),target:e},handled:!1,type:"instrument"}}),a])}}),St(r,"removeEventListener",function(s){return function(i,o,a){try{const c=o.__sentry_wrapped__;c&&s.call(this,i,c,a)}catch{}return s.call(this,i,o,a)}}))}function bM(e){return typeof e.handleEvent=="function"}function SM(e,t,n){e&&typeof e=="object"&&"removeEventListener"in e&&typeof e.removeEventListener=="function"&&e.removeEventListener(t,n)}const wM=()=>({name:"BrowserSession",setupOnce(){if(typeof Te.document>"u"){Bt&&W.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}Fp({ignoreDuration:!0}),$p(),hc(({from:e,to:t})=>{e!==void 0&&e!==t&&(Fp({ignoreDuration:!0}),$p())})}}),EM="GlobalHandlers",TM=(e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:EM,setupOnce(){Error.stackTraceLimit=50},setup(n){t.onerror&&(xM(n),om("onerror")),t.onunhandledrejection&&(IM(n),om("onunhandledrejection"))}}},kM=TM;function xM(e){ny(t=>{const{stackParser:n,attachStacktrace:r}=Rv();if(ge()!==e||iv())return;const{msg:s,url:i,line:o,column:a,error:c}=t,l=RM(Af(n,c||s,void 0,r,!1),i,o,a);l.level="error",Fy(l,{originalException:c,mechanism:{handled:!1,type:"onerror"}})})}function IM(e){ry(t=>{const{stackParser:n,attachStacktrace:r}=Rv();if(ge()!==e||iv())return;const s=CM(t),i=Ai(s)?AM(s):Af(n,s,void 0,r,!0);i.level="error",Fy(i,{originalException:s,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function CM(e){if(Ai(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 AM(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function RM(e,t,n,r){const s=e.exception=e.exception||{},i=s.values=s.values||[],o=i[0]=i[0]||{},a=o.stacktrace=o.stacktrace||{},c=a.frames=a.frames||[],l=r,u=n,f=Sn(t)&&t.length>0?t:Ps();return c.length===0&&c.push({colno:l,filename:f,function:Fr,in_app:!0,lineno:u}),e}function om(e){Bt&&W.log(`Global Handler attached: ${e}`)}function Rv(){return ge()?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const MM=()=>({name:"HttpContext",preprocessEvent(e){if(!Te.navigator&&!Te.location&&!Te.document)return;const t=xf(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}}}),OM="cause",PM=5,NM="LinkedErrors",DM=(e={})=>{const t=e.limit||PM,n=e.key||OM;return{name:NM,preprocessEvent(r,s,i){const o=i.getOptions();F6(If,o.stackParser,n,t,r,s)}}},LM=DM;function FM(){return $M()?(Bt&&jn(()=>{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 $M(){if(typeof Te.window>"u")return!1;const e=Te;if(e.nw||!(e.chrome||e.browser)?.runtime?.id)return!1;const n=Ps(),r=["chrome-extension","moz-extension","ms-browser-extension","safari-web-extension"];return!(Te===Te.top&&r.some(i=>n.startsWith(`${i}://`)))}function Mv(e){return[A6(),k6(),gM(),iM(),kM(),LM(),U6(),MM(),wM()]}function HM(e={}){const t=!e.skipBrowserExtensionCheck&&FM(),n={...e,enabled:t?!1:e.enabled,stackParser:qx(e.stackParser||nM),integrations:KC({integrations:e.integrations,defaultIntegrations:e.defaultIntegrations==null?Mv():e.defaultIntegrations}),transport:e.transport||WR};return a6(xA,n)}const De=Ee,Nf="sentryReplaySession",BM="replay_event",Df="Unable to send Replay",jM=3e5,UM=9e5,WM=5e3,zM=5500,VM=6e4,ZM=5e3,qM=3,am=15e4,Io=5e3,GM=3e3,YM=300,Lf=2e7,KM=4999,XM=15e3,cm=36e5;var JM=Object.defineProperty,QM=(e,t,n)=>t in e?JM(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,lm=(e,t,n)=>QM(e,typeof t!="symbol"?t+"":t,n),Ve=(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))(Ve||{});function e8(e){return e.nodeType===e.ELEMENT_NODE}function fi(e){return e?.host?.shadowRoot===e}function di(e){return Object.prototype.toString.call(e)==="[object ShadowRoot]"}function t8(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 n8(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 ka(e){try{const t=e.rules||e.cssRules;return t?t8(Array.from(t,Ov).join("")):null}catch{return null}}function r8(e){let t="";for(let n=0;nthis.removeNodeFromMap(r))}has(t){return this.idNodeMap.has(t)}hasNode(t){return this.nodeMetaMap.has(t)}add(t,n){const r=n.id;this.idNodeMap.set(r,t),this.nodeMetaMap.set(t,n)}replace(t,n){const r=this.getNode(t);if(r){const s=this.nodeMetaMap.get(r);s&&this.nodeMetaMap.set(n,s)}this.idNodeMap.set(t,n)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function a8(){return new Pv}function pc({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 Oi({isMasked:e,element:t,value:n,maskInputFn:r}){let s=n||"";return e?(r&&(s=r(s,t)),"*".repeat(s.length)):s}function Es(e){return e.toLowerCase()}function hu(e){return e.toUpperCase()}const um="__rrweb_original__";function c8(e){const t=e.getContext("2d");if(!t)return!0;const n=50;for(let r=0;rc!==0))return!1}return!0}function Ff(e){const t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?Es(t):null}function xa(e,t,n){return t==="INPUT"&&(n==="radio"||n==="checkbox")?e.getAttribute("value")||"":e.value}function Nv(e,t){let n;try{n=new URL(e,t??window.location.href)}catch{return null}const r=/\.([0-9a-z]+)(?:$)/i;return n.pathname.match(r)?.[1]??null}const fm={};function Dv(e){const t=fm[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 fm[e]=r.bind(window)}function pu(...e){return Dv("setTimeout")(...e)}function Lv(...e){return Dv("clearTimeout")(...e)}function Fv(e){try{return e.contentDocument}catch{}}let l8=1;const u8=new RegExp("[^a-z0-9-_:]"),Pi=-2;function $f(){return l8++}function f8(e){if(e instanceof HTMLFormElement)return"form";const t=Es(e.tagName);return u8.test(t)?"div":t}function d8(e){let t="";return e.indexOf("//")>-1?t=e.split("/").slice(0,3).join("/"):t=e.split("/")[0],t=t.split("?")[0],t}let Xr,dm;const h8=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,p8=/^(?:[a-z+]+:)?\/\//i,m8=/^www\..*/i,g8=/^(data:)([^,]*),(.*)/i;function Ia(e,t){return(e||"").replace(h8,(n,r,s,i,o,a)=>{const c=s||o||a,l=r||i||"";if(!c)return n;if(p8.test(c)||m8.test(c))return`url(${l}${c}${l})`;if(g8.test(c))return`url(${l}${c}${l})`;if(c[0]==="/")return`url(${l}${d8(t)+c}${l})`;const u=t.split("/"),f=c.split("/");u.pop();for(const d of f)d!=="."&&(d===".."?u.pop():u.push(d));return`url(${l}${u.join("/")}${l})`})}const y8=/^[^ \t\n\r\u000c]+/,v8=/^[, \t\n\r\u000c]+/;function _8(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(v8),!(n>=t.length);){let i=r(y8);if(i.slice(-1)===",")i=rs(e,i.substring(0,i.length-1)),s.push(i);else{let o="";i=rs(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 hm=new WeakMap;function rs(e,t){return!t||t.trim()===""?t:mc(e,t)}function b8(e){return!!(e.tagName==="svg"||e.ownerSVGElement)}function mc(e,t){let n=hm.get(e);if(n||(n=e.createElement("a"),hm.set(e,n)),!t)t="";else if(t.startsWith("blob:")||t.startsWith("data:"))return t;return n.setAttribute("href",t),n.href}function $v(e,t,n,r,s,i){return r&&(n==="src"||n==="href"&&!(t==="use"&&r[0]==="#")||n==="xlink:href"&&r[0]!=="#"||n==="background"&&(t==="table"||t==="td"||t==="th")?rs(e,r):n==="srcset"?_8(e,r):n==="style"?Ia(r,mc(e)):t==="object"&&n==="data"?rs(e,r):typeof i=="function"?i(n,r,s):r)}function Hv(e,t,n){return(e==="video"||e==="audio")&&t==="autoplay"}function S8(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 w8(e,t){for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}return!1}function Er(e,t,n=1/0,r=0){return!e||e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:Er(e.parentNode,t,n,r+1)}function ss(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(w8(r,e))return!0}return!!(t&&r.matches(t))}catch{return!1}}}function Ts(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=Er(o,ss(r,s)),c<0)return!0;a=Er(o,ss(t,n),c>=0?c:1/0)}else{if(a=Er(o,ss(t,n)),a<0)return!1;c=Er(o,ss(r,s),a>=0?a:1/0)}return a>=0?c>=0?a<=c:!0:c>=0?!1:!!i}catch{}return!!i}function E8(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=pu(()=>{s||(t(),s=!0)},n);e.addEventListener("load",()=>{Lv(a),s=!0,t()});return}const o="about:blank";if(r.location.href!==o||e.src===o||e.src==="")return pu(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}function T8(e,t,n){let r=!1,s;try{s=e.sheet}catch{return}if(s)return;const i=pu(()=>{r||(t(),r=!0)},n);e.addEventListener("load",()=>{Lv(i),r=!0,t()})}function k8(e,t){const{doc:n,mirror:r,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:a,maskAttributeFn:c,maskTextClass:l,unmaskTextClass:u,maskTextSelector:f,unmaskTextSelector:d,inlineStylesheet:h,maskInputOptions:p={},maskTextFn:m,maskInputFn:S,dataURLOptions:y={},inlineImages:_,recordCanvas:w,keepIframeSrcFn:T,newlyAddedElement:A=!1}=t,E=x8(n,r);switch(e.nodeType){case e.DOCUMENT_NODE:return e.compatMode!=="CSS1Compat"?{type:Ve.Document,childNodes:[],compatMode:e.compatMode}:{type:Ve.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:Ve.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:E};case e.ELEMENT_NODE:return C8(e,{doc:n,blockClass:s,blockSelector:i,unblockSelector:o,inlineStylesheet:h,maskAttributeFn:c,maskInputOptions:p,maskInputFn:S,dataURLOptions:y,inlineImages:_,recordCanvas:w,keepIframeSrcFn:T,newlyAddedElement:A,rootId:E,maskTextClass:l,unmaskTextClass:u,maskTextSelector:f,unmaskTextSelector:d});case e.TEXT_NODE:return I8(e,{doc:n,maskAllText:a,maskTextClass:l,unmaskTextClass:u,maskTextSelector:f,unmaskTextSelector:d,maskTextFn:m,maskInputOptions:p,maskInputFn:S,rootId:E});case e.CDATA_SECTION_NODE:return{type:Ve.CDATA,textContent:"",rootId:E};case e.COMMENT_NODE:return{type:Ve.Comment,textContent:e.textContent||"",rootId:E};default:return!1}}function x8(e,t){if(!t.hasNode(e))return;const n=t.getId(e);return n===1?void 0:n}function I8(e,t){const{maskAllText:n,maskTextClass:r,unmaskTextClass:s,maskTextSelector:i,unmaskTextSelector:o,maskTextFn:a,maskInputOptions:c,maskInputFn:l,rootId:u}=t,f=e.parentNode&&e.parentNode.tagName;let d=e.textContent;const h=f==="STYLE"?!0:void 0,p=f==="SCRIPT"?!0:void 0,m=f==="TEXTAREA"?!0:void 0;if(h&&d){try{e.nextSibling||e.previousSibling||e.parentNode.sheet?.cssRules&&(d=ka(e.parentNode.sheet))}catch(y){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${y}`,e)}d=Ia(d,mc(t.doc))}p&&(d="SCRIPT_PLACEHOLDER");const S=Ts(e,r,i,s,o,n);if(!h&&!p&&!m&&d&&S&&(d=a?a(d,e.parentElement):d.replace(/[\S]/g,"*")),m&&d&&(c.textarea||S)&&(d=l?l(d,e.parentNode):d.replace(/[\S]/g,"*")),f==="OPTION"&&d){const y=pc({type:null,tagName:f,maskInputOptions:c});d=Oi({isMasked:Ts(e,r,i,s,o,y),element:e,value:d,maskInputFn:l})}return{type:Ve.Text,textContent:d||"",isStyle:h,rootId:u}}function C8(e,t){const{doc:n,blockClass:r,blockSelector:s,unblockSelector:i,inlineStylesheet:o,maskInputOptions:a={},maskAttributeFn:c,maskInputFn:l,dataURLOptions:u={},inlineImages:f,recordCanvas:d,keepIframeSrcFn:h,newlyAddedElement:p=!1,rootId:m,maskTextClass:S,unmaskTextClass:y,maskTextSelector:_,unmaskTextSelector:w}=t,T=S8(e,r,s,i),A=f8(e);let E={};const I=e.attributes.length;for(let k=0;kq.href===e.href);let N=null;k&&(N=ka(k)),N&&(E.rel=null,E.href=null,E.crossorigin=null,E._cssText=Ia(N,k.href))}if(A==="style"&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){const k=ka(e.sheet);k&&(E._cssText=Ia(k,mc(n)))}if(A==="input"||A==="textarea"||A==="select"||A==="option"){const k=e,N=Ff(k),q=xa(k,hu(A),N),R=k.checked;if(N!=="submit"&&N!=="button"&&q){const K=Ts(k,S,_,y,w,pc({type:N,tagName:hu(A),maskInputOptions:a}));E.value=Oi({isMasked:K,element:k,value:q,maskInputFn:l})}R&&(E.checked=R)}if(A==="option"&&(e.selected&&!a.select?E.selected=!0:delete E.selected),A==="canvas"&&d){if(e.__context==="2d")c8(e)||(E.rr_dataURL=e.toDataURL(u.type,u.quality));else if(!("__context"in e)){const k=e.toDataURL(u.type,u.quality),N=n.createElement("canvas");N.width=e.width,N.height=e.height;const q=N.toDataURL(u.type,u.quality);k!==q&&(E.rr_dataURL=k)}}if(A==="img"&&f){Xr||(Xr=n.createElement("canvas"),dm=Xr.getContext("2d"));const k=e,N=k.currentSrc||k.getAttribute("src")||"",q=k.crossOrigin,R=()=>{k.removeEventListener("load",R);try{Xr.width=k.naturalWidth,Xr.height=k.naturalHeight,dm.drawImage(k,0,0),E.rr_dataURL=Xr.toDataURL(u.type,u.quality)}catch(K){if(k.crossOrigin!=="anonymous"){k.crossOrigin="anonymous",k.complete&&k.naturalWidth!==0?R():k.addEventListener("load",R);return}else console.warn(`Cannot inline img src=${N}! Error: ${K}`)}k.crossOrigin==="anonymous"&&(q?E.crossOrigin=q:k.removeAttribute("crossorigin"))};k.complete&&k.naturalWidth!==0?R():k.addEventListener("load",R)}if((A==="audio"||A==="video")&&(E.rr_mediaState=e.paused?"paused":"played",E.rr_mediaCurrentTime=e.currentTime),p||(e.scrollLeft&&(E.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(E.rr_scrollTop=e.scrollTop)),T){const{width:k,height:N}=e.getBoundingClientRect();E={class:E.class,rr_width:`${k}px`,rr_height:`${N}px`}}A==="iframe"&&!h(E.src)&&(!T&&!Fv(e)&&(E.rr_src=E.src),delete E.src);let F;try{customElements.get(A)&&(F=!0)}catch{}return{type:Ve.Element,tagName:A,attributes:E,childNodes:[],isSVG:b8(e)||void 0,needBlock:T,rootId:m,isCustom:F}}function Pe(e){return e==null?"":e.toLowerCase()}function A8(e,t){if(t.comment&&e.type===Ve.Comment)return!0;if(e.type===Ve.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"&&Nv(e.attributes.href)==="js"))return!0;if(t.headFavicon&&(e.tagName==="link"&&e.attributes.rel==="shortcut icon"||e.tagName==="meta"&&(Pe(e.attributes.name).match(/^msapplication-tile(image|color)$/)||Pe(e.attributes.name)==="application-name"||Pe(e.attributes.rel)==="icon"||Pe(e.attributes.rel)==="apple-touch-icon"||Pe(e.attributes.rel)==="shortcut icon")))return!0;if(e.tagName==="meta"){if(t.headMetaDescKeywords&&Pe(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(Pe(e.attributes.property).match(/^(og|twitter|fb):/)||Pe(e.attributes.name).match(/^(og|twitter):/)||Pe(e.attributes.name)==="pinterest"))return!0;if(t.headMetaRobots&&(Pe(e.attributes.name)==="robots"||Pe(e.attributes.name)==="googlebot"||Pe(e.attributes.name)==="bingbot"))return!0;if(t.headMetaHttpEquiv&&e.attributes["http-equiv"]!==void 0)return!0;if(t.headMetaAuthorship&&(Pe(e.attributes.name)==="author"||Pe(e.attributes.name)==="generator"||Pe(e.attributes.name)==="framework"||Pe(e.attributes.name)==="publisher"||Pe(e.attributes.name)==="progid"||Pe(e.attributes.property).match(/^article:/)||Pe(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&(Pe(e.attributes.name)==="google-site-verification"||Pe(e.attributes.name)==="yandex-verification"||Pe(e.attributes.name)==="csrf-token"||Pe(e.attributes.name)==="p:domain_verify"||Pe(e.attributes.name)==="verify-v1"||Pe(e.attributes.name)==="verification"||Pe(e.attributes.name)==="shopify-checkout-api-token"))return!0}}return!1}function is(e,t){const{doc:n,mirror:r,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:a,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:f,skipChild:d=!1,inlineStylesheet:h=!0,maskInputOptions:p={},maskAttributeFn:m,maskTextFn:S,maskInputFn:y,slimDOMOptions:_,dataURLOptions:w={},inlineImages:T=!1,recordCanvas:A=!1,onSerialize:E,onIframeLoad:I,iframeLoadTimeout:F=5e3,onBlockedImageLoad:k,onStylesheetLoad:N,stylesheetLoadTimeout:q=5e3,keepIframeSrcFn:R=()=>!1,newlyAddedElement:K=!1}=t;let{preserveWhiteSpace:re=!0}=t;const J=k8(e,{doc:n,mirror:r,blockClass:s,blockSelector:i,maskAllText:a,unblockSelector:o,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:f,inlineStylesheet:h,maskInputOptions:p,maskAttributeFn:m,maskTextFn:S,maskInputFn:y,dataURLOptions:w,inlineImages:T,recordCanvas:A,keepIframeSrcFn:R,newlyAddedElement:K});if(!J)return console.warn(e,"not serialized"),null;let X;r.hasNode(e)?X=r.getId(e):A8(J,_)||!re&&J.type===Ve.Text&&!J.isStyle&&!J.textContent.replace(/^\s+|\s+$/gm,"").length?X=Pi:X=$f();const L=Object.assign(J,{id:X});if(r.add(e,L),X===Pi)return null;E&&E(e);let G=!d;if(L.type===Ve.Element){G=G&&!L.needBlock;const Q=e.shadowRoot;Q&&di(Q)&&(L.isShadowHost=!0)}if((L.type===Ve.Document||L.type===Ve.Element)&&G){_.headWhitespace&&L.type===Ve.Element&&L.tagName==="head"&&(re=!1);const Q={doc:n,mirror:r,blockClass:s,blockSelector:i,maskAllText:a,unblockSelector:o,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:f,skipChild:d,inlineStylesheet:h,maskInputOptions:p,maskAttributeFn:m,maskTextFn:S,maskInputFn:y,slimDOMOptions:_,dataURLOptions:w,inlineImages:T,recordCanvas:A,preserveWhiteSpace:re,onSerialize:E,onIframeLoad:I,iframeLoadTimeout:F,onBlockedImageLoad:k,onStylesheetLoad:N,stylesheetLoadTimeout:q,keepIframeSrcFn:R},ke=e.childNodes?Array.from(e.childNodes):[];for(const we of ke){const pe=is(we,Q);pe&&L.childNodes.push(pe)}if(e8(e)&&e.shadowRoot)for(const we of Array.from(e.shadowRoot.childNodes)){const pe=is(we,Q);pe&&(di(e.shadowRoot)&&(pe.isShadow=!0),L.childNodes.push(pe))}}if(e.parentNode&&fi(e.parentNode)&&di(e.parentNode)&&(L.isShadow=!0),L.type===Ve.Element&&L.tagName==="iframe"&&!L.needBlock&&E8(e,()=>{const Q=Fv(e);if(Q&&I){const ke=is(Q,{doc:Q,mirror:r,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:a,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:f,skipChild:!1,inlineStylesheet:h,maskInputOptions:p,maskAttributeFn:m,maskTextFn:S,maskInputFn:y,slimDOMOptions:_,dataURLOptions:w,inlineImages:T,recordCanvas:A,preserveWhiteSpace:re,onSerialize:E,onIframeLoad:I,iframeLoadTimeout:F,onStylesheetLoad:N,stylesheetLoadTimeout:q,keepIframeSrcFn:R});ke&&I(e,ke)}},F),L.type===Ve.Element&&L.tagName==="img"&&!e.complete&&L.needBlock){const Q=e,ke=()=>{if(Q.isConnected&&!Q.complete&&k)try{const we=Q.getBoundingClientRect();we.width>0&&we.height>0&&k(Q,L,we)}catch{}Q.removeEventListener("load",ke)};Q.isConnected&&Q.addEventListener("load",ke)}return L.type===Ve.Element&&L.tagName==="link"&&typeof L.attributes.rel=="string"&&(L.attributes.rel==="stylesheet"||L.attributes.rel==="preload"&&typeof L.attributes.href=="string"&&Nv(L.attributes.href)==="css")&&T8(e,()=>{if(N){const Q=is(e,{doc:n,mirror:r,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:a,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:f,skipChild:!1,inlineStylesheet:h,maskInputOptions:p,maskAttributeFn:m,maskTextFn:S,maskInputFn:y,slimDOMOptions:_,dataURLOptions:w,inlineImages:T,recordCanvas:A,preserveWhiteSpace:re,onSerialize:E,onIframeLoad:I,iframeLoadTimeout:F,onStylesheetLoad:N,stylesheetLoadTimeout:q,keepIframeSrcFn:R});Q&&N(e,Q)}},q),L.type===Ve.Element&&delete L.needBlock,L}function R8(e,t){const{mirror:n=new Pv,blockClass:r="rr-block",blockSelector:s=null,unblockSelector:i=null,maskAllText:o=!1,maskTextClass:a="rr-mask",unmaskTextClass:c=null,maskTextSelector:l=null,unmaskTextSelector:u=null,inlineStylesheet:f=!0,inlineImages:d=!1,recordCanvas:h=!1,maskAllInputs:p=!1,maskAttributeFn:m,maskTextFn:S,maskInputFn:y,slimDOM:_=!1,dataURLOptions:w,preserveWhiteSpace:T,onSerialize:A,onIframeLoad:E,iframeLoadTimeout:I,onBlockedImageLoad:F,onStylesheetLoad:k,stylesheetLoadTimeout:N,keepIframeSrcFn:q=()=>!1}=t||{};return is(e,{doc:e,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,maskAllText:o,maskTextClass:a,unmaskTextClass:c,maskTextSelector:l,unmaskTextSelector:u,skipChild:!1,inlineStylesheet:f,maskInputOptions:p===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:p===!1?{}:p,maskAttributeFn:m,maskTextFn:S,maskInputFn:y,slimDOMOptions:_===!0||_==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:_==="all",headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:_===!1?{}:_,dataURLOptions:w,inlineImages:d,recordCanvas:h,preserveWhiteSpace:T,onSerialize:A,onIframeLoad:E,iframeLoadTimeout:I,onBlockedImageLoad:F,onStylesheetLoad:k,stylesheetLoadTimeout:N,keepIframeSrcFn:q,newlyAddedElement:!1})}function mt(e,t,n=document){const r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}const es=`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 pm={map:{},getId(){return console.error(es),-1},getNode(){return console.error(es),null},removeNodeFromMap(){console.error(es)},has(){return console.error(es),!1},reset(){console.error(es)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(pm=new Proxy(pm,{get(e,t,n){return t==="map"&&console.error(es),Reflect.get(e,t,n)}}));function Ni(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&&(F8(r),r=null),s=o,e.apply(c,i)):!r&&n.trailing!==!1&&(r=gc(()=>{s=n.leading===!1?0:Date.now(),r=null,e.apply(c,i)},a))}}function Bv(e,t,n,r,s=window){const i=s.Object.getOwnPropertyDescriptor(e,t);return s.Object.defineProperty(e,t,r?n:{set(o){gc(()=>{n.set.call(this,o)},0),i&&i.set&&i.set.call(this,o)}}),()=>Bv(e,t,i||{},!0)}function Hf(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 Ca=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(Ca=()=>new Date().getTime());function jv(e){const t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:e.pageXOffset!==void 0?e.pageXOffset:t?.documentElement.scrollLeft||t?.body?.parentElement?.scrollLeft||t?.body?.scrollLeft||0,top:t.scrollingElement?t.scrollingElement.scrollTop:e.pageYOffset!==void 0?e.pageYOffset:t?.documentElement.scrollTop||t?.body?.parentElement?.scrollTop||t?.body?.scrollTop||0}}function Uv(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function Wv(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function zv(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch{return null}}function Tt(e,t,n,r,s){if(!e)return!1;const i=zv(e);if(!i)return!1;const o=ss(t,n);if(!s){const l=r&&i.matches(r);return o(i)&&!l}const a=Er(i,o);let c=-1;return a<0?!1:(r&&(c=Er(i,ss(null,r))),a>-1&&c<0?!0:a{let n=t[0];if(!(0 in t))throw new TypeError("1 argument is required");do if(this===n)return!0;while(n=n&&n.parentNode);return!1})}function Zv(e,t){return!!(e.nodeName==="IFRAME"&&t.getMeta(e))}function qv(e,t){return!!(e.nodeName==="LINK"&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&e.getAttribute("rel")==="stylesheet"&&t.getMeta(e))}function gu(e){return!!e?.shadowRoot}class P8{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 Gv(e){let t=null;return e.getRootNode?.()?.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function N8(e){let t=e,n;for(;n=Gv(t);)t=n;return t}function D8(e){const t=e.ownerDocument;if(!t)return!1;const n=N8(e);return t.contains(n)}function Yv(e){const t=e.ownerDocument;return t?t.contains(e)||D8(e):!1}const mm={};function Bf(e){const t=mm[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 mm[e]=r.bind(window)}function L8(...e){return Bf("requestAnimationFrame")(...e)}function gc(...e){return Bf("setTimeout")(...e)}function F8(...e){return Bf("clearTimeout")(...e)}var de=(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))(de||{}),ce=(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))(ce||{}),dt=(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))(dt||{}),gn=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(gn||{}),ts=(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))(ts||{});function jf(e){try{return e.contentDocument}catch{}}function $8(e){try{return e.contentWindow}catch{}}function gm(e){return"__ln"in e}class H8{constructor(){this.length=0,this.head=null,this.tail=null}get(t){if(t>=this.length)throw new Error("Position outside of list range");let n=this.head;for(let r=0;r`${e}@${t}`;class B8{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 H8,s=c=>{let l=c,u=Pi;for(;u===Pi;)l=l&&l.nextSibling,u=l&&this.mirror.getId(l);return u},i=c=>{if(!c.parentNode||!Yv(c))return;const l=fi(c.parentNode)?this.mirror.getId(Gv(c)):this.mirror.getId(c.parentNode),u=s(c);if(l===-1||u===-1)return r.addNode(c);const f=is(c,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:d=>{Zv(d,this.mirror)&&!Tt(d,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&this.iframeManager.addIframe(d),qv(d,this.mirror)&&this.stylesheetManager.trackLinkElement(d),gu(c)&&this.shadowDomManager.addShadowRoot(c.shadowRoot,this.doc)},onIframeLoad:(d,h)=>{Tt(d,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(this.iframeManager.attachIframe(d,h),d.contentWindow&&this.canvasManager.addWindow(d.contentWindow),this.shadowDomManager.observeAttachShadow(d))},onStylesheetLoad:(d,h)=>{this.stylesheetManager.attachLinkElement(d,h)},onBlockedImageLoad:(d,h,{width:p,height:m})=>{this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:h.id,attributes:{style:{width:`${p}px`,height:`${m}px`}}}]})}});f&&(t.push({parentId:l,nextId:u,node:f}),n.add(f.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const c of this.movedSet)vm(this.removes,c,this.mirror)&&!this.movedSet.has(c.parentNode)||i(c);for(const c of this.addedSet)!_m(this.droppedSet,c)&&!vm(this.removes,c,this.mirror)||_m(this.movedSet,c)?i(c):this.droppedSet.add(c);let o=null;for(;r.length;){let c=null;if(o){const l=this.mirror.getId(o.value.parentNode),u=s(o.value);l!==-1&&u!==-1&&(c=o)}if(!c){let l=r.tail;for(;l;){const u=l;if(l=l.previous,u){const f=this.mirror.getId(u.value.parentNode);if(s(u.value)===-1)continue;if(f!==-1){c=u;break}else{const h=u.value;if(h.parentNode&&h.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const p=h.parentNode.host;if(this.mirror.getId(p)!==-1){c=u;break}}}}}}if(!c){for(;r.head;)r.removeNode(r.head.value);break}o=c.previous,r.removeNode(c.value),i(c.value)}const a={texts:this.texts.map(c=>({id:this.mirror.getId(c.node),value:c.value})).filter(c=>!n.has(c.id)).filter(c=>this.mirror.has(c.id)),attributes:this.attributes.map(c=>{const{attributes:l}=c;if(typeof l.style=="string"){const u=JSON.stringify(c.styleDiff),f=JSON.stringify(c._unchangedStyles);u.length!n.has(c.id)).filter(c=>this.mirror.has(c.id)),removes:this.removes,adds:t};!a.texts.length&&!a.attributes.length&&!a.removes.length&&!a.adds.length||(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(a))},this.processMutation=t=>{if(!ol(t.target,this.mirror))switch(t.type){case"characterData":{const n=t.target.textContent;!Tt(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&n!==t.oldValue&&this.texts.push({value:Ts(t.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&n?this.maskTextFn?this.maskTextFn(n,zv(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=Ff(n),a=n.tagName;s=xa(n,a,o);const c=pc({maskInputOptions:this.maskInputOptions,tagName:a,type:o}),l=Ts(t.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,c);s=Oi({isMasked:l,element:n,value:s,maskInputFn:this.maskInputFn})}if(Tt(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(!jf(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"),!Hv(n.tagName,r)&&(i.attributes[r]=$v(this.doc,Es(n.tagName),Es(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(Tt(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=fi(t.target)?this.mirror.getId(t.target.host):this.mirror.getId(t.target);Tt(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||ol(n,this.mirror)||!M8(n,this.mirror)||(this.addedSet.has(n)?(yu(this.addedSet,n),this.droppedSet.add(n)):this.addedSet.has(t.target)&&r===-1||Vv(t.target,this.mirror)||(this.movedSet.has(n)&&this.movedMap[ym(r,s)]?yu(this.movedSet,n):this.removes.push({parentId:s,id:r,isShadow:fi(t.target)&&di(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(ol(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[ym(this.mirror.getId(t),r)]=!0)}else this.addedSet.add(t),this.droppedSet.delete(t);Tt(t,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(t.childNodes&&t.childNodes.forEach(r=>this.genAdds(r)),gu(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"].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 yu(e,t){e.delete(t),t.childNodes?.forEach(n=>yu(e,n))}function vm(e,t,n){return e.length===0?!1:j8(e,t,n)}function j8(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 _m(e,t){return e.size===0?!1:Kv(e,t)}function Kv(e,t){const{parentNode:n}=t;return n?e.has(n)?!0:Kv(e,n):!1}let hi;function U8(e){hi=e}function W8(){hi=void 0}const be=e=>hi?(...n)=>{try{return e(...n)}catch(r){if(hi&&hi(r)===!0)return()=>{};throw r}}:e,os=[];function so(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 Xv(e,t){const n=new B8;os.push(n),n.init(e);let r=window.MutationObserver||window.__rrMutationObserver;const s=window?.Zone?.__symbol__?.("MutationObserver");s&&window[s]&&(r=window[s]);const i=new r(be(o=>{e.onMutation&&e.onMutation(o)===!1||n.processMutations.bind(n)(o)}));return i.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),i}function z8({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=Ni(be(f=>{const d=Date.now()-a;e(o.map(h=>(h.timeOffset-=d,h)),f),o=[],a=null}),i),l=be(Ni(be(f=>{const d=so(f),{clientX:h,clientY:p}=mu(f)?f.changedTouches[0]:f;a||(a=Ca()),o.push({x:h,y:p,id:r.getId(d),timeOffset:Ca()-a}),c(typeof DragEvent<"u"&&f instanceof DragEvent?ce.Drag:f instanceof MouseEvent?ce.MouseMove:ce.TouchMove)}),s,{trailing:!1})),u=[mt("mousemove",l,n),mt("touchmove",l,n),mt("drag",l,n)];return be(()=>{u.forEach(f=>f())})}function V8({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,sampling:o}){if(o.mouseInteraction===!1)return()=>{};const a=o.mouseInteraction===!0||o.mouseInteraction===void 0?{}:o.mouseInteraction,c=[];let l=null;const u=f=>d=>{const h=so(d);if(Tt(h,r,s,i,!0))return;let p=null,m=f;if("pointerType"in d){switch(d.pointerType){case"mouse":p=gn.Mouse;break;case"touch":p=gn.Touch;break;case"pen":p=gn.Pen;break}p===gn.Touch?dt[f]===dt.MouseDown?m="TouchStart":dt[f]===dt.MouseUp&&(m="TouchEnd"):gn.Pen}else mu(d)&&(p=gn.Touch);p!==null?(l=p,(m.startsWith("Touch")&&p===gn.Touch||m.startsWith("Mouse")&&p===gn.Mouse)&&(p=null)):dt[f]===dt.Click&&(p=l,l=null);const S=mu(d)?d.changedTouches[0]:d;if(!S)return;const y=n.getId(h),{clientX:_,clientY:w}=S;be(e)({type:dt[m],id:y,x:_,y:w,...p!==null&&{pointerType:p}})};return Object.keys(dt).filter(f=>Number.isNaN(Number(f))&&!f.endsWith("_Departed")&&a[f]!==!1).forEach(f=>{let d=Es(f);const h=u(f);if(window.PointerEvent)switch(dt[f]){case dt.MouseDown:case dt.MouseUp:d=d.replace("mouse","pointer");break;case dt.TouchStart:case dt.TouchEnd:return}c.push(mt(d,h,t))}),be(()=>{c.forEach(f=>f())})}function Jv({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,sampling:o}){const a=be(Ni(be(c=>{const l=so(c);if(!l||Tt(l,r,s,i,!0))return;const u=n.getId(l);if(l===t&&t.defaultView){const f=jv(t.defaultView);e({id:u,x:f.left,y:f.top})}else e({id:u,x:l.scrollLeft,y:l.scrollTop})}),o.scroll||100));return mt("scroll",a,t)}function Z8({viewportResizeCb:e},{win:t}){let n=-1,r=-1;const s=be(Ni(be(()=>{const i=Uv(),o=Wv();(n!==i||r!==o)&&(e({width:Number(o),height:Number(i)}),n=i,r=o)}),200));return mt("resize",s,t)}const q8=["INPUT","TEXTAREA","SELECT"],bm=new WeakMap;function G8({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,ignoreClass:o,ignoreSelector:a,maskInputOptions:c,maskInputFn:l,sampling:u,userTriggeredOnInput:f,maskTextClass:d,unmaskTextClass:h,maskTextSelector:p,unmaskTextSelector:m}){function S(I){let F=so(I);const k=I.isTrusted,N=F&&hu(F.tagName);if(N==="OPTION"&&(F=F.parentElement),!F||!N||q8.indexOf(N)<0||Tt(F,r,s,i,!0))return;const q=F;if(q.classList.contains(o)||a&&q.matches(a))return;const R=Ff(F);let K=xa(q,N,R),re=!1;const J=pc({maskInputOptions:c,tagName:N,type:R}),X=Ts(F,d,p,h,m,J);(R==="radio"||R==="checkbox")&&(re=F.checked),K=Oi({isMasked:X,element:F,value:K,maskInputFn:l}),y(F,f?{text:K,isChecked:re,userTriggered:k}:{text:K,isChecked:re});const L=F.name;R==="radio"&&L&&re&&t.querySelectorAll(`input[type="radio"][name="${L}"]`).forEach(G=>{if(G!==F){const Q=Oi({isMasked:X,element:G,value:xa(G,N,R),maskInputFn:l});y(G,f?{text:Q,isChecked:!re,userTriggered:!1}:{text:Q,isChecked:!re})}})}function y(I,F){const k=bm.get(I);if(!k||k.text!==F.text||k.isChecked!==F.isChecked){bm.set(I,F);const N=n.getId(I);be(e)({...F,id:N})}}const w=(u.input==="last"?["change"]:["input","change"]).map(I=>mt(I,be(S),t)),T=t.defaultView;if(!T)return()=>{w.forEach(I=>I())};const A=T.Object.getOwnPropertyDescriptor(T.HTMLInputElement.prototype,"value"),E=[[T.HTMLInputElement.prototype,"value"],[T.HTMLInputElement.prototype,"checked"],[T.HTMLSelectElement.prototype,"value"],[T.HTMLTextAreaElement.prototype,"value"],[T.HTMLSelectElement.prototype,"selectedIndex"],[T.HTMLOptionElement.prototype,"selected"]];return A&&A.set&&w.push(...E.map(I=>Bv(I[0],I[1],{set(){be(S)({target:this,isTrusted:!1})}},!1,T))),be(()=>{w.forEach(I=>I())})}function Aa(e){const t=[];function n(r,s){if(Co("CSSGroupingRule")&&r.parentRule instanceof CSSGroupingRule||Co("CSSMediaRule")&&r.parentRule instanceof CSSMediaRule||Co("CSSSupportsRule")&&r.parentRule instanceof CSSSupportsRule||Co("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 Kn(e,t,n){let r,s;return e?(e.ownerNode?r=t.getId(e.ownerNode):s=n.getId(e),{styleId:s,id:r}):{}}function Y8({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:be((u,f,d)=>{const[h,p]=d,{id:m,styleId:S}=Kn(f,t,n.styleMirror);return(m&&m!==-1||S&&S!==-1)&&e({id:m,styleId:S,adds:[{rule:h,index:p}]}),u.apply(f,d)})});const i=r.CSSStyleSheet.prototype.deleteRule;r.CSSStyleSheet.prototype.deleteRule=new Proxy(i,{apply:be((u,f,d)=>{const[h]=d,{id:p,styleId:m}=Kn(f,t,n.styleMirror);return(p&&p!==-1||m&&m!==-1)&&e({id:p,styleId:m,removes:[{index:h}]}),u.apply(f,d)})});let o;r.CSSStyleSheet.prototype.replace&&(o=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(o,{apply:be((u,f,d)=>{const[h]=d,{id:p,styleId:m}=Kn(f,t,n.styleMirror);return(p&&p!==-1||m&&m!==-1)&&e({id:p,styleId:m,replace:h}),u.apply(f,d)})}));let a;r.CSSStyleSheet.prototype.replaceSync&&(a=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(a,{apply:be((u,f,d)=>{const[h]=d,{id:p,styleId:m}=Kn(f,t,n.styleMirror);return(p&&p!==-1||m&&m!==-1)&&e({id:p,styleId:m,replaceSync:h}),u.apply(f,d)})}));const c={};Ao("CSSGroupingRule")?c.CSSGroupingRule=r.CSSGroupingRule:(Ao("CSSMediaRule")&&(c.CSSMediaRule=r.CSSMediaRule),Ao("CSSConditionRule")&&(c.CSSConditionRule=r.CSSConditionRule),Ao("CSSSupportsRule")&&(c.CSSSupportsRule=r.CSSSupportsRule));const l={};return Object.entries(c).forEach(([u,f])=>{l[u]={insertRule:f.prototype.insertRule,deleteRule:f.prototype.deleteRule},f.prototype.insertRule=new Proxy(l[u].insertRule,{apply:be((d,h,p)=>{const[m,S]=p,{id:y,styleId:_}=Kn(h.parentStyleSheet,t,n.styleMirror);return(y&&y!==-1||_&&_!==-1)&&e({id:y,styleId:_,adds:[{rule:m,index:[...Aa(h),S||0]}]}),d.apply(h,p)})}),f.prototype.deleteRule=new Proxy(l[u].deleteRule,{apply:be((d,h,p)=>{const[m]=p,{id:S,styleId:y}=Kn(h.parentStyleSheet,t,n.styleMirror);return(S&&S!==-1||y&&y!==-1)&&e({id:S,styleId:y,removes:[{index:[...Aa(h),m]}]}),d.apply(h,p)})})}),be(()=>{r.CSSStyleSheet.prototype.insertRule=s,r.CSSStyleSheet.prototype.deleteRule=i,o&&(r.CSSStyleSheet.prototype.replace=o),a&&(r.CSSStyleSheet.prototype.replaceSync=a),Object.entries(c).forEach(([u,f])=>{f.prototype.insertRule=l[u].insertRule,f.prototype.deleteRule=l[u].deleteRule})})}function Qv({mirror:e,stylesheetManager:t},n){let r=null;n.nodeName==="#document"?r=e.getId(n):r=e.getId(n.host);const s=n.nodeName==="#document"?n.defaultView?.Document:n.ownerDocument?.defaultView?.ShadowRoot,i=s?.prototype?Object.getOwnPropertyDescriptor(s?.prototype,"adoptedStyleSheets"):void 0;return r===null||r===-1||!s||!i?()=>{}:(Object.defineProperty(n,"adoptedStyleSheets",{configurable:i.configurable,enumerable:i.enumerable,get(){return i.get?.call(this)},set(o){const a=i.set?.call(this,o);if(r!==null&&r!==-1)try{t.adoptStyleSheets(o,r)}catch{}return a}}),be(()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:i.configurable,enumerable:i.enumerable,get:i.get,set:i.set})}))}function K8({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:s}){const i=s.CSSStyleDeclaration.prototype.setProperty;s.CSSStyleDeclaration.prototype.setProperty=new Proxy(i,{apply:be((a,c,l)=>{const[u,f,d]=l;if(n.has(u))return i.apply(c,[u,f,d]);const{id:h,styleId:p}=Kn(c.parentRule?.parentStyleSheet,t,r.styleMirror);return(h&&h!==-1||p&&p!==-1)&&e({id:h,styleId:p,set:{property:u,value:f,priority:d},index:Aa(c.parentRule)}),a.apply(c,l)})});const o=s.CSSStyleDeclaration.prototype.removeProperty;return s.CSSStyleDeclaration.prototype.removeProperty=new Proxy(o,{apply:be((a,c,l)=>{const[u]=l;if(n.has(u))return o.apply(c,[u]);const{id:f,styleId:d}=Kn(c.parentRule?.parentStyleSheet,t,r.styleMirror);return(f&&f!==-1||d&&d!==-1)&&e({id:f,styleId:d,remove:{property:u},index:Aa(c.parentRule)}),a.apply(c,l)})}),be(()=>{s.CSSStyleDeclaration.prototype.setProperty=i,s.CSSStyleDeclaration.prototype.removeProperty=o})}function X8({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:s,sampling:i,doc:o}){const a=be(l=>Ni(be(u=>{const f=so(u);if(!f||Tt(f,t,n,r,!0))return;const{currentTime:d,volume:h,muted:p,playbackRate:m}=f;e({type:l,id:s.getId(f),currentTime:d,volume:h,muted:p,playbackRate:m})}),i.media||500)),c=[mt("play",a(ts.Play),o),mt("pause",a(ts.Pause),o),mt("seeked",a(ts.Seeked),o),mt("volumechange",a(ts.VolumeChange),o),mt("ratechange",a(ts.RateChange),o)];return be(()=>{c.forEach(l=>l())})}function J8({fontCb:e,doc:t}){const n=t.defaultView;if(!n)return()=>{};const r=[],s=new WeakMap,i=n.FontFace;n.FontFace=function(c,l,u){const f=new i(c,l,u);return s.set(f,{family:c,buffer:typeof l!="string",descriptors:u,fontSource:typeof l=="string"?l:JSON.stringify(Array.from(new Uint8Array(l)))}),f};const o=Hf(t.fonts,"add",function(a){return function(c){return gc(be(()=>{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),be(()=>{r.forEach(a=>a())})}function Q8(e){const{doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,selectionCb:o}=e;let a=!0;const c=be(()=>{const l=t.getSelection();if(!l||a&&l?.isCollapsed)return;a=l.isCollapsed||!1;const u=[],f=l.rangeCount||0;for(let d=0;d{}:Hf(n.customElements,"define",function(s){return function(i,o,a){try{t({define:{name:i}})}catch{}return s.apply(this,[i,o,a])}})}function tO(e,t={}){const n=e.doc.defaultView;if(!n)return()=>{};let r;e.recordDOM&&(r=Xv(e,e.doc));const s=z8(e),i=V8(e),o=Jv(e),a=Z8(e,{win:n}),c=G8(e),l=X8(e);let u=()=>{},f=()=>{},d=()=>{},h=()=>{};e.recordDOM&&(u=Y8(e,{win:n}),f=Qv(e,e.doc),d=K8(e,{win:n}),e.collectFonts&&(h=J8(e)));const p=Q8(e),m=eO(e),S=[];for(const y of e.plugins)S.push(y.observer(y.callback,n,y.options));return be(()=>{os.forEach(y=>y.reset()),r?.disconnect(),s(),i(),o(),a(),c(),l(),u(),f(),d(),h(),p(),m(),S.forEach(y=>y())})}function Co(e){return typeof window[e]<"u"}function Ao(e){return!!(typeof window[e]<"u"&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class vu{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 nO{constructor(){this.crossOriginIframeMirror=new vu($f),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class rO{constructor(t){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new vu($f),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=t.mutationCb,this.wrappedEmit=t.wrappedEmit,this.stylesheetManager=t.stylesheetManager,this.recordCrossOriginIframes=t.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new vu(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){this.mutationCb({adds:[{parentId:this.mirror.getId(t),nextId:null,node:n}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&&t.contentWindow?.addEventListener("message",this.handleMessage.bind(this)),this.loadListener?.(t);const r=jf(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){switch(n.type){case de.FullSnapshot:{this.crossOriginIframeMirror.reset(t),this.crossOriginIframeStyleMirror.reset(t),this.replaceIdOnNode(n.data.node,t);const r=n.data.node.id;return this.crossOriginIframeRootIdMap.set(t,r),this.patchRootIdOnNode(n.data.node,r),{timestamp:n.timestamp,type:de.IncrementalSnapshot,data:{source:ce.Mutation,adds:[{parentId:this.mirror.getId(t),nextId:null,node:n.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case de.Meta:case de.Load:case de.DomContentLoaded:return!1;case de.Plugin:return n;case de.Custom:return this.replaceIds(n.data.payload,t,["id","parentId","previousId","nextId"]),n;case de.IncrementalSnapshot:switch(n.data.source){case ce.Mutation:return n.data.adds.forEach(r=>{this.replaceIds(r,t,["parentId","nextId","previousId"]),this.replaceIdOnNode(r.node,t);const s=this.crossOriginIframeRootIdMap.get(t);s&&this.patchRootIdOnNode(r.node,s)}),n.data.removes.forEach(r=>{this.replaceIds(r,t,["parentId","id"])}),n.data.attributes.forEach(r=>{this.replaceIds(r,t,["id"])}),n.data.texts.forEach(r=>{this.replaceIds(r,t,["id"])}),n;case ce.Drag:case ce.TouchMove:case ce.MouseMove:return n.data.positions.forEach(r=>{this.replaceIds(r,t,["id"])}),n;case ce.ViewportResize:return!1;case ce.MediaInteraction:case ce.MouseInteraction:case ce.Scroll:case ce.CanvasMutation:case ce.Input:return this.replaceIds(n.data,t,["id"]),n;case ce.StyleSheetRule:case ce.StyleDeclaration:return this.replaceIds(n.data,t,["id"]),this.replaceStyleIds(n.data,t,["styleId"]),n;case ce.Font:return n;case ce.Selection:return n.data.ranges.forEach(r=>{this.replaceIds(r,t,["start","end"])}),n;case ce.AdoptedStyleSheet:return this.replaceIds(n.data,t,["id"]),this.replaceStyleIds(n.data,t,["styleIds"]),n.data.styles?.forEach(r=>{this.replaceStyleIds(r,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!==Ve.Document&&!t.rootId&&(t.rootId=n),"childNodes"in t&&t.childNodes.forEach(r=>{this.patchRootIdOnNode(r,n)})}}class sO{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class iO{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(!di(t)||this.shadowDoms.has(t))return;this.shadowDoms.add(t),this.bypassOptions.canvasManager.addShadowRoot(t);const r=Xv({...this.bypassOptions,doc:n,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},t);this.restoreHandlers.push(()=>r.disconnect()),this.restoreHandlers.push(Jv({...this.bypassOptions,scrollCb:this.scrollCb,doc:t,mirror:this.mirror})),gc(()=>{t.adoptedStyleSheets&&t.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(t.adoptedStyleSheets,this.mirror.getId(t.host)),this.restoreHandlers.push(Qv({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},t))},0)}observeAttachShadow(t){const n=jf(t),r=$8(t);!n||!r||this.patchAttachShadow(r.Element,n)}patchAttachShadow(t,n){const r=this;this.restoreHandlers.push(Hf(t.prototype,"attachShadow",function(s){return function(i){const o=s.call(this,i);return this.shadowRoot&&Yv(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 Sm="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",oO=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Ro=0;Ro({rule:Ov(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 cO{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,L8(()=>{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(t,(this.nodeMap.get(t)||new Set).add(n))}destroy(){}}let Ue,Ra;try{if(Array.from([1],e=>e*2)[0]!==2){const e=document.createElement("iframe");document.body.appendChild(e),Array.from=e.contentWindow?.Array.from||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}const Ut=a8();function En(e={}){const{emit:t,checkoutEveryNms:n,checkoutEveryNth:r,blockClass:s="rr-block",blockSelector:i=null,unblockSelector:o=null,ignoreClass:a="rr-ignore",ignoreSelector:c=null,maskAllText:l=!1,maskTextClass:u="rr-mask",unmaskTextClass:f=null,maskTextSelector:d=null,unmaskTextSelector:h=null,inlineStylesheet:p=!0,maskAllInputs:m,maskInputOptions:S,slimDOMOptions:y,maskAttributeFn:_,maskInputFn:w,maskTextFn:T,maxCanvasSize:A=null,packFn:E,sampling:I={},dataURLOptions:F={},mousemoveWait:k,recordDOM:N=!0,recordCanvas:q=!1,recordCrossOriginIframes:R=!1,recordAfter:K=e.recordAfter==="DOMContentLoaded"?e.recordAfter:"load",userTriggeredOnInput:re=!1,collectFonts:J=!1,inlineImages:X=!1,plugins:L,keepIframeSrcFn:G=()=>!1,ignoreCSSAttributes:Q=new Set([]),errorHandler:ke,onMutation:we,getCanvasManager:pe}=e;U8(ke);const ze=R?window.parent===window:!0;let tt=!1;if(!ze)try{window.parent.document&&(tt=!1)}catch{tt=!0}if(ze&&!t)throw new Error("emit function is required");if(!ze&&!tt)return()=>{};k!==void 0&&I.mousemove===void 0&&(I.mousemove=k),Ut.reset();const yt=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}:S!==void 0?S:{},Je=y===!0||y==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:y==="all",headMetaDescKeywords:y==="all"}:y||{};O8();let C,z=0;const V=O=>{for(const D of L||[])D.eventProcessor&&(O=D.eventProcessor(O));return E&&!tt&&(O=E(O)),O};Ue=(O,D)=>{const B=O;if(B.timestamp=Ca(),os[0]?.isFrozen()&&B.type!==de.FullSnapshot&&!(B.type===de.IncrementalSnapshot&&B.data.source===ce.Mutation)&&os.forEach($=>$.unfreeze()),ze)t?.(V(B),D);else if(tt){const $={type:"rrweb",event:V(B),origin:window.location.origin,isCheckout:D};window.parent.postMessage($,"*")}if(B.type===de.FullSnapshot)C=B,z=0;else if(B.type===de.IncrementalSnapshot){if(B.data.source===ce.Mutation&&B.data.isAttachIframe)return;z++;const $=r&&z>=r,j=n&&C&&B.timestamp-C.timestamp>n;($||j)&&U(!0)}};const Y=O=>{Ue({type:de.IncrementalSnapshot,data:{source:ce.Mutation,...O}})},xe=O=>Ue({type:de.IncrementalSnapshot,data:{source:ce.Scroll,...O}}),g=O=>Ue({type:de.IncrementalSnapshot,data:{source:ce.CanvasMutation,...O}}),v=O=>Ue({type:de.IncrementalSnapshot,data:{source:ce.AdoptedStyleSheet,...O}}),b=new aO({mutationCb:Y,adoptedStyleSheetCb:v}),x=typeof __RRWEB_EXCLUDE_IFRAME__=="boolean"&&__RRWEB_EXCLUDE_IFRAME__?new nO:new rO({mirror:Ut,mutationCb:Y,stylesheetManager:b,recordCrossOriginIframes:R,wrappedEmit:Ue});for(const O of L||[])O.getMirror&&O.getMirror({nodeMirror:Ut,crossOriginIframeMirror:x.crossOriginIframeMirror,crossOriginIframeStyleMirror:x.crossOriginIframeStyleMirror});const P=new cO,M=uO(pe,{mirror:Ut,win:window,mutationCb:O=>Ue({type:de.IncrementalSnapshot,data:{source:ce.CanvasMutation,...O}}),recordCanvas:q,blockClass:s,blockSelector:i,unblockSelector:o,maxCanvasSize:A,sampling:I.canvas,dataURLOptions:F,errorHandler:ke}),Z=typeof __RRWEB_EXCLUDE_SHADOW_DOM__=="boolean"&&__RRWEB_EXCLUDE_SHADOW_DOM__?new sO:new iO({mutationCb:Y,scrollCb:xe,bypassOptions:{onMutation:we,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:l,maskTextClass:u,unmaskTextClass:f,maskTextSelector:d,unmaskTextSelector:h,inlineStylesheet:p,maskInputOptions:yt,dataURLOptions:F,maskAttributeFn:_,maskTextFn:T,maskInputFn:w,recordCanvas:q,inlineImages:X,sampling:I,slimDOMOptions:Je,iframeManager:x,stylesheetManager:b,canvasManager:M,keepIframeSrcFn:G,processedNodeManager:P},mirror:Ut}),U=(O=!1)=>{if(!N)return;Ue({type:de.Meta,data:{href:window.location.href,width:Wv(),height:Uv()}},O),b.reset(),Z.init(),os.forEach(B=>B.lock());const D=R8(document,{mirror:Ut,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:l,maskTextClass:u,unmaskTextClass:f,maskTextSelector:d,unmaskTextSelector:h,inlineStylesheet:p,maskAllInputs:yt,maskAttributeFn:_,maskInputFn:w,maskTextFn:T,slimDOM:Je,dataURLOptions:F,recordCanvas:q,inlineImages:X,onSerialize:B=>{Zv(B,Ut)&&x.addIframe(B),qv(B,Ut)&&b.trackLinkElement(B),gu(B)&&Z.addShadowRoot(B.shadowRoot,document)},onIframeLoad:(B,$)=>{x.attachIframe(B,$),B.contentWindow&&M.addWindow(B.contentWindow),Z.observeAttachShadow(B)},onStylesheetLoad:(B,$)=>{b.attachLinkElement(B,$)},onBlockedImageLoad:(B,$,{width:j,height:ne})=>{Y({adds:[],removes:[],texts:[],attributes:[{id:$.id,attributes:{style:{width:`${j}px`,height:`${ne}px`}}}]})},keepIframeSrcFn:G});if(!D)return console.warn("Failed to snapshot the document");Ue({type:de.FullSnapshot,data:{node:D,initialOffset:jv(window)}}),os.forEach(B=>B.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&b.adoptStyleSheets(document.adoptedStyleSheets,Ut.getId(document))};Ra=U;try{const O=[],D=$=>be(tO)({onMutation:we,mutationCb:Y,mousemoveCb:(j,ne)=>Ue({type:de.IncrementalSnapshot,data:{source:ne,positions:j}}),mouseInteractionCb:j=>Ue({type:de.IncrementalSnapshot,data:{source:ce.MouseInteraction,...j}}),scrollCb:xe,viewportResizeCb:j=>Ue({type:de.IncrementalSnapshot,data:{source:ce.ViewportResize,...j}}),inputCb:j=>Ue({type:de.IncrementalSnapshot,data:{source:ce.Input,...j}}),mediaInteractionCb:j=>Ue({type:de.IncrementalSnapshot,data:{source:ce.MediaInteraction,...j}}),styleSheetRuleCb:j=>Ue({type:de.IncrementalSnapshot,data:{source:ce.StyleSheetRule,...j}}),styleDeclarationCb:j=>Ue({type:de.IncrementalSnapshot,data:{source:ce.StyleDeclaration,...j}}),canvasMutationCb:g,fontCb:j=>Ue({type:de.IncrementalSnapshot,data:{source:ce.Font,...j}}),selectionCb:j=>{Ue({type:de.IncrementalSnapshot,data:{source:ce.Selection,...j}})},customElementCb:j=>{Ue({type:de.IncrementalSnapshot,data:{source:ce.CustomElement,...j}})},blockClass:s,ignoreClass:a,ignoreSelector:c,maskAllText:l,maskTextClass:u,unmaskTextClass:f,maskTextSelector:d,unmaskTextSelector:h,maskInputOptions:yt,inlineStylesheet:p,sampling:I,recordDOM:N,recordCanvas:q,inlineImages:X,userTriggeredOnInput:re,collectFonts:J,doc:$,maskAttributeFn:_,maskInputFn:w,maskTextFn:T,keepIframeSrcFn:G,blockSelector:i,unblockSelector:o,slimDOMOptions:Je,dataURLOptions:F,mirror:Ut,iframeManager:x,stylesheetManager:b,shadowDomManager:Z,processedNodeManager:P,canvasManager:M,ignoreCSSAttributes:Q,plugins:L?.filter(j=>j.observer)?.map(j=>({observer:j.observer,options:j.options,callback:ne=>Ue({type:de.Plugin,data:{plugin:j.name,payload:ne}})}))||[]},{});x.addLoadListener($=>{try{O.push(D($.contentDocument))}catch(j){console.warn(j)}});const B=()=>{U(),O.push(D(document))};return document.readyState==="interactive"||document.readyState==="complete"?B():(O.push(mt("DOMContentLoaded",()=>{Ue({type:de.DomContentLoaded,data:{}}),K==="DOMContentLoaded"&&B()})),O.push(mt("load",()=>{Ue({type:de.Load,data:{}}),K==="load"&&B()},window))),()=>{O.forEach($=>$()),P.destroy(),Ra=void 0,W8()}}catch(O){console.warn(O)}}function lO(e){if(!Ra)throw new Error("please take full snapshot after start recording");Ra(e)}En.mirror=Ut;En.takeFullSnapshot=lO;function uO(e,t){try{return e?e(t):new wm}catch{return console.warn("Unable to initialize CanvasManager"),new wm}}var Em;(function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"})(Em||(Em={}));const fO=3,dO=5;function Uf(e){return e>9999999999?e:e*1e3}function al(e){return e>9999999999?e/1e3:e}function io(e,t){t.category!=="sentry.transaction"&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>(e.throttledAddEvent({type:de.Custom,timestamp:(t.timestamp||0)*1e3,data:{tag:"breadcrumb",payload:Wt(t,10,1e3)}}),t.category==="console")))}const hO="button,a";function e_(e){return e.closest(hO)||e}function t_(e){const t=n_(e);return!t||!(t instanceof Element)?t:e_(t)}function n_(e){return pO(e)?e.target:e}function pO(e){return typeof e=="object"&&!!e&&"target"in e}let Xn;function mO(e){return Xn||(Xn=[],gO()),Xn.push(e),()=>{const t=Xn?Xn.indexOf(e):-1;t>-1&&Xn.splice(t,1)}}function gO(){St(De,"open",function(e){return function(...t){if(Xn)try{Xn.forEach(n=>n())}catch{}return e.apply(De,t)}})}const yO=new Set([ce.Mutation,ce.StyleSheetRule,ce.StyleDeclaration,ce.AdoptedStyleSheet,ce.CanvasMutation,ce.Selection,ce.MediaInteraction]);function vO(e,t,n){e.handleClick(t,n)}class _O{constructor(t,n,r=io){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=mO(()=>{this._lastMutation=Tm()});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(SO(n,this._ignoreSelector)||!wO(t))return;const r={timestamp:al(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=al(t)}registerScroll(t=Date.now()){this._lastScroll=al(t)}registerClick(t){const n=e_(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=Tm();this._clicks.forEach(r=>{!r.mutationAfter&&this._lastMutation&&(r.mutationAfter=r.timestamp<=this._lastMutation?this._lastMutation-r.timestamp:void 0),!r.scrollAfter&&this._lastScroll&&(r.scrollAfter=r.timestamp<=this._lastScroll?this._lastScroll-r.timestamp:void 0),r.timestamp+this._timeout<=n&&t.push(r)});for(const r of t){const s=this._clicks.indexOf(r);s>-1&&(this._generateBreadcrumbs(r),this._clicks.splice(s,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(t){const n=this._replay,r=t.scrollAfter&&t.scrollAfter<=this._scrollTimeout,s=t.mutationAfter&&t.mutationAfter<=this._threshold,i=!r&&!s,{clickCount:o,clickBreadcrumb:a}=t;if(i){const c=Math.min(t.mutationAfter||this._timeout,this._timeout)*1e3,l=c1){const c={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.multiClick",data:{...a.data,url:De.location.href,route:n.getCurrentRoute(),clickCount:o,metric:!0}};this._addBreadcrumbEvent(n,c)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=ro(()=>this._checkClicks(),1e3)}}const bO=["A","BUTTON","INPUT"];function SO(e,t){return!!(!bO.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 wO(e){return!!(e.data&&typeof e.data.nodeId=="number"&&e.timestamp)}function Tm(){return Date.now()/1e3}function EO(e,t){try{if(!TO(t))return;const{source:n}=t.data;if(yO.has(n)&&e.registerMutation(t.timestamp),n===ce.Scroll&&e.registerScroll(t.timestamp),kO(t)){const{type:r,id:s}=t.data,i=En.mirror.getNode(s);i instanceof HTMLElement&&r===dt.Click&&e.registerClick(i)}}catch{}}function TO(e){return e.type===fO}function kO(e){return e.data.source===ce.MouseInteraction}function ln(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var Wf=(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))(Wf||{});const xO=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function IO(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(xO.has(n)){let r=n;(n==="data-testid"||n==="data-test-id")&&(r="testId"),t[r]=e[n]}return t}const CO=e=>t=>{if(!e.isEnabled())return;const n=AO(t);if(!n)return;const r=t.name==="click",s=r?t.event:void 0;r&&e.clickDetector&&s?.target&&!s.altKey&&!s.metaKey&&!s.ctrlKey&&!s.shiftKey&&vO(e.clickDetector,n,t_(t.event)),io(e,n)};function r_(e,t){const n=En.mirror.getId(e),r=n&&En.mirror.getNode(n),s=r&&En.mirror.getMeta(r),i=s&&MO(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===Wf.Text&&o.textContent).filter(Boolean).map(o=>o.trim()).join(""),attributes:IO(i.attributes)}}:{}}}function AO(e){const{target:t,message:n}=RO(e);return ln({category:`ui.${e.name}`,...r_(t,n)})}function RO(e){const t=e.name==="click";let n,r=null;try{r=t?t_(e.event):n_(e.event),n=Ht(r,{maxStringLength:200})||""}catch{n=""}return{target:r,message:n}}function MO(e){return e.type===Wf.Element}function OO(e,t){if(!e.isEnabled())return;e.updateUserActivity();const n=PO(t);n&&io(e,n)}function PO(e){const{metaKey:t,shiftKey:n,ctrlKey:r,altKey:s,key:i,target:o}=e;if(!o||NO(o)||!i)return null;const a=t||r||s,c=i.length===1;if(!a&&c)return null;const l=Ht(o,{maxStringLength:200})||"",u=r_(o,l);return ln({category:"ui.keyDown",message:l,data:{...u.data,metaKey:t,shiftKey:n,ctrlKey:r,altKey:s,key:i}})}function NO(e){return e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable}const DO={resource:BO,paint:$O,navigation:HO};function Mo(e,t){return({metric:n})=>void t.replayPerformanceEntries.push(e(n))}function LO(e){return e.map(FO).filter(Boolean)}function FO(e){const t=DO[e.entryType];return t?t(e):null}function ks(e){return((gt()||De.performance.timeOrigin)+e)/1e3}function $O(e){const{duration:t,entryType:n,name:r,startTime:s}=e,i=ks(s);return{type:n,name:r,start:i,end:i+t,data:void 0}}function HO(e){const{entryType:t,name:n,decodedBodySize:r,duration:s,domComplete:i,encodedBodySize:o,domContentLoadedEventStart:a,domContentLoadedEventEnd:c,domInteractive:l,loadEventStart:u,loadEventEnd:f,redirectCount:d,startTime:h,transferSize:p,type:m}=e;return s===0?null:{type:`${t}.${m}`,start:ks(h),end:ks(i),name:n,data:{size:p,decodedBodySize:r,encodedBodySize:o,duration:s,domInteractive:l,domContentLoadedEventStart:a,domContentLoadedEventEnd:c,loadEventStart:u,loadEventEnd:f,domComplete:i,redirectCount:d}}}function BO(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:ks(i),end:ks(s),name:r,data:{size:l,statusCode:c,decodedBodySize:o,encodedBodySize:a}}}function jO(e){const t=e.entries[e.entries.length-1],n=t?.element?[t.element]:void 0;return yc(e,"largest-contentful-paint",n)}function UO(e){return e.sources!==void 0}function WO(e){const t=[],n=[];for(const r of e.entries)if(UO(r)){const s=[];for(const i of r.sources)if(i.node){n.push(i.node);const o=En.mirror.getId(i.node);o&&s.push(o)}t.push({value:r.value,nodeIds:s.length?s:void 0})}return yc(e,"cumulative-layout-shift",n,t)}function zO(e){const t=e.entries[e.entries.length-1],n=t?.target?[t.target]:void 0;return yc(e,"first-input-delay",n)}function VO(e){const t=e.entries[e.entries.length-1],n=t?.target?[t.target]:void 0;return yc(e,"interaction-to-next-paint",n)}function yc(e,t,n,r){const s=e.value,i=e.rating,o=ks(s);return{type:"web-vital",name:t,start:o,end:o,data:{value:s,size:s,rating:i,nodeIds:n?n.map(a=>En.mirror.getId(a)):void 0,attributions:r}}}function ZO(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(Hr(s,n))}),r.push(Of(Mo(jO,e)),Mf(Mo(WO,e)),gv(Mo(zO,e)),yv(Mo(VO,e))),()=>{r.forEach(s=>s())}}const ie=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,qO='var t=Uint8Array,n=Uint16Array,r=Int32Array,e=new t([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),i=new t([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),s=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),a=function(t,e){for(var i=new n(31),s=0;s<31;++s)i[s]=e+=1<>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,s=0,a=new n(r);s>f]=l}else for(o=new n(i),s=0;s>15-t[s]);return o},p=new t(288);for(c=0;c<144;++c)p[c]=8;for(c=144;c<256;++c)p[c]=9;for(c=256;c<280;++c)p[c]=7;for(c=280;c<288;++c)p[c]=8;var g=new t(32);for(c=0;c<32;++c)g[c]=5;var w=d(p,9,0),y=d(g,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))},M=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8},_=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8,t[e+2]|=r>>16},x=function(r,e){for(var i=[],s=0;sd&&(d=o[s].s);var p=new n(d+1),g=A(i[c-1],p,0);if(g>e){s=0;var w=0,y=g-e,m=1<e))break;w+=m-(1<>=y;w>0;){var M=o[s].s;p[M]=0&&w;--s){var E=o[s].s;p[E]==e&&(--p[E],++w)}g=e}return{t:new t(p),l:g}},A=function(t,n,r){return-1==t.s?Math.max(A(t.l,n,r+1),A(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&&!t[--r];);for(var e=new n(++r),i=0,s=t[0],a=1,o=function(t){e[i++]=t},h=1;h<=r;++h)if(t[h]==s&&h!=r)++a;else{if(!s&&a>2){for(;a>138;a-=138)o(32754);a>2&&(o(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(o(s),--a;a>6;a-=6)o(8304);a>2&&(o(a-3<<5|8208),a=0)}for(;a--;)o(s);a=1,s=t[h]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var s=0;s4&&!H[s[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(h,p)+T(f,g)+l,X=T(h,M)+T(f,U)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=w,P=p,Q=y,R=g;for(B=0;B255){_(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;_(r,m,Q[et]),m+=R[et],et>3&&(_(r,m,rt>>5&8191),m+=i[et])}else _(r,m,N[rt]),m+=P[rt]}return _(r,m,N[256]),m+P[256]},C=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,s=0|r.length,a=0;a!=s;){for(var o=Math.min(a+2655,s);a>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},L=function(s,a,o,h,u){if(!u&&(u={l:1},a.dictionary)){var c=a.dictionary.subarray(-32768),v=new t(c.length+s.length);v.set(c),v.set(s,c.length),s=v,u.w=c.length}return function(s,a,o,h,u,c){var v=c.z||s.length,d=new t(h+v+5*(1+Math.ceil(v/7e3))+u),p=d.subarray(h,d.length-u),g=c.l,w=7&(c.r||0);if(a){w&&(p[0]=c.r>>3);for(var y=C[a-1],M=y>>13,E=8191&y,z=(1<7e3||q>24576)&&(N>423||!g)){w=U(s,p,0,F,I,S,O,q,G,j-G,w),q=L=O=0,G=j;for(var P=0;P<286;++P)I[P]=0;for(P=0;P<30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&32767;if(N>2&&H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W<=Y&&--V&&J!=K;){if(s[j+Q]==s[j+Q-W]){for(var $=0;$Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;Pnt&&(nt=et,K=rt)}}}W+=(J=K)-(K=_[J])&32767}if(R){F[q++]=268435456|f[Q]<<18|l[R];var it=31&f[Q],st=31&l[R];O+=e[it]+i[st],++I[257+it],++S[st],B=j+Q,++L}else F[q++]=s[j],++I[s[j]]}}for(j=Math.max(j,B);j=v&&(p[w/8|0]=g,at=v),w=k(p,w+1,s.subarray(j,at))}c.i=v}return b(d,0,h+m(w)+u)}(s,null==a.level?6:a.level,null==a.mem?u.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(s.length)))):20:12+a.mem,o,h,u)},O=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},j=function(){function n(n,r){if("function"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(L(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var s=this.b.length-this.s.z;this.b.set(n.subarray(0,s),this.s.z),this.s.z=this.b.length,this.p(this.b,!1),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(s),32768),this.s.z=n.length-s+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&r,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n.prototype.flush=function(){this.ondata||E(5),this.s.l&&E(4),this.p(this.b,!1),this.s.w=this.s.i,this.s.i-=2},n}();function q(t,n){n||(n={});var r=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e>>8;t=r},d:function(){return~t}}}(),e=t.length;r.p(t);var i,s=L(t,n,10+((i=n).filename?i.filename.length+1:0),8),a=s.length;return function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&O(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}}(s,n),O(s,a-8,r.d()),O(s,a-4,e),s}var B=function(){function t(t,n){this.c=S(),this.v=1,j.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),j.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=L(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=S();i.p(n.dictionary),O(t,2,i.d())}}(r,this.o),this.v=0),n&&O(r,r.length-4,this.c.d()),this.ondata(r,n)},t.prototype.flush=function(){j.prototype.flush.call(this)},t}(),G="undefined"!=typeof TextEncoder&&new TextEncoder,H="undefined"!=typeof TextDecoder&&new TextDecoder;try{H.decode(F,{stream:!0})}catch(t){}var J=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(K(t),this.d=n||!1)},t}();function K(n,r){if(G)return G.encode(n);for(var e=n.length,i=new t(n.length+(n.length>>1)),s=0,a=function(t){i[s++]=t},o=0;oi.length){var h=new t(s+8+(e-o<<1));h.set(i),i=h}var f=n.charCodeAt(o);f<128||r?a(f):f<2048?(a(192|f>>6),a(128|63&f)):f>55295&&f<57344?(a(240|(f=65536+(1047552&f)|1023&n.charCodeAt(++o))>>18),a(128|f>>12&63),a(128|f>>6&63),a(128|63&f)):(a(224|f>>12),a(128|f>>6&63),a(128|63&f))}return b(i,0,s)}const N=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(const r of t)n+=r.length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n{this._deflatedData.push(t)},this.stream=new J((t,n)=>{this.deflate.push(t,n)}),this.stream.push("[")}},P={clear:()=>{N.clear()},addEvent:t=>N.addEvent(t),finish:()=>N.finish(),compress:t=>function(t){return q(K(t))}(t)};addEventListener("message",function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in P&&"function"==typeof P[n])try{const t=P[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}}),postMessage({id:void 0,method:"init",success:!0,response:void 0});';function GO(){const e=new Blob([qO]);return URL.createObjectURL(e)}const km=["log","warn","error"],qo="[Replay] ";function cl(e,t="info"){fr({category:"console",data:{logger:"replay"},level:t,message:`${qo}${e}`},{level:t})}function YO(){let e=!1,t=!1;const n={exception:()=>{},infoTick:()=>{},setConfig:r=>{e=!!r.captureExceptions,t=!!r.traceInternals}};return ie?(km.forEach(r=>{n[r]=(...s)=>{W[r](qo,...s),t&&cl(s.join(""),Xy(r))}}),n.exception=(r,...s)=>{s.length&&n.error&&n.error(...s),W.error(qo,r),e?cc(r):t&&cl(r,"error")},n.infoTick=(...r)=>{W.log(qo,...r),t&&setTimeout(()=>cl(r[0]),0)}):km.forEach(r=>{n[r]=()=>{}}),n}const oe=YO();class zf extends Error{constructor(){super(`Event buffer exceeded maximum size of ${Lf}.`)}}class s_{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>Lf)throw new zf;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?Uf(t):null}}class KO{constructor(t){this._worker=t,this._id=0}ensureReady(){return this._ensureReadyPromise?this._ensureReadyPromise:(this._ensureReadyPromise=new Promise((t,n)=>{this._worker.addEventListener("message",({data:r})=>{r.success?t():n()},{once:!0}),this._worker.addEventListener("error",r=>{n(r)},{once:!0})}),this._ensureReadyPromise)}destroy(){ie&&oe.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){ie&&oe.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 XO{constructor(t){this._worker=new KO(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=Uf(t.timestamp);(!this._earliestTimestamp||nLf?Promise.reject(new zf):this._sendEventToWorker(r)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,t=>{ie&&oe.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 JO{constructor(t){this._fallback=new s_,this._compression=new XO(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){ie&&oe.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){ie&&oe.exception(i,"Failed to add events when switching buffers.")}}}function QO({useCompression:e,workerUrl:t}){if(e&&window.Worker){const n=e9(t);if(n)return n}return ie&&oe.log("Using simple buffer"),new s_}function e9(e){try{const t=e||t9();if(!t)return;ie&&oe.log(`Using compression worker${e?` from ${e}`:""}`);const n=new Worker(t);return new JO(n)}catch(t){ie&&oe.exception(t,"Failed to create compression worker")}}function t9(){return typeof __SENTRY_EXCLUDE_REPLAY_WORKER__>"u"||!__SENTRY_EXCLUDE_REPLAY_WORKER__?GO():""}function Vf(){try{return"sessionStorage"in De&&!!De.sessionStorage}catch{return!1}}function n9(e){r9(),e.session=void 0}function r9(){if(Vf())try{De.sessionStorage.removeItem(Nf)}catch{}}function i_(e){return e===void 0?!1:Math.random()e.getContext().initialTimestamp+e.getOptions().maxReplayDuration?(ie&&oe.infoTick(`Skipping event with timestamp ${n} because it is after maxReplayDuration`),!1):!0}function c9(e,t){try{if(typeof t=="function"&&o9(e))return t(e)}catch(n){return ie&&oe.exception(n,"An error occurred in the `beforeAddRecordingEvent` callback, skipping the event..."),null}return e}function Gf(e){return!e.type}function bu(e){return e.type==="transaction"}function l9(e){return e.type==="replay_event"}function Im(e){return e.type==="feedback"}function u9(e){return(t,n)=>{if(!e.isEnabled()||!Gf(t)&&!bu(t))return;const r=n?.statusCode;if(!(!r||r<200||r>=300)){if(bu(t)){f9(e,t);return}d9(e,t)}}}function f9(e,t){const n=e.getContext();t.contexts?.trace?.trace_id&&n.traceIds.size<100&&n.traceIds.add(t.contexts.trace.trace_id)}function d9(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)||ro(async()=>{try{await e.sendBufferedReplayOrFlush()}catch(s){e.handleException(s)}})}function h9(e){return t=>{!e.isEnabled()||!Gf(t)||p9(e,t)}}function p9(e,t){const n=t.exception?.values?.[0]?.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 r=ln({category:"replay.hydrate-error",data:{url:Ps()}});io(e,r)}}function m9(e){const t=ge();t&&t.on("beforeAddBreadcrumb",n=>g9(e,n))}function g9(e,t){if(!e.isEnabled()||!f_(t))return;const n=y9(t);n&&io(e,n)}function y9(e){return!f_(e)||["fetch","xhr","sentry.event","sentry.transaction"].includes(e.category)||e.category.startsWith("ui.")?null:e.category==="console"?v9(e):ln(e)}function v9(e){const t=e.data?.arguments;if(!Array.isArray(t)||t.length===0)return ln(e);let n=!1;const r=t.map(s=>{if(!s)return s;if(typeof s=="string")return s.length>Io?(n=!0,`${s.slice(0,Io)}…`):s;if(typeof s=="object")try{const i=Wt(s,7);return JSON.stringify(i).length>Io?(n=!0,`${JSON.stringify(i,null,2).slice(0,Io)}…`):i}catch{}return s});return ln({...e,data:{...e.data,arguments:r,...n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}function f_(e){return!!e.category}function _9(e,t){return e.type||!e.exception?.values?.length?!1:!!t.originalException?.__rrweb__}function d_(){const e=Ae().getPropagationContext().dsc;e&&delete e.replay_id;const t=ot();if(t){const n=Nn(t);delete n.replay_id}}function b9(e,t){e.triggerUserActivity(),e.addUpdate(()=>t.timestamp?(e.throttledAddEvent({type:de.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 S9(e,t){return e.recordingMode!=="buffer"||t.message===Df||!t.exception||t.type?!1:i_(e.getOptions().errorSampleRate)}function w9(e){return Object.assign((t,n)=>!e.isEnabled()||e.isPaused()?t:l9(t)?(delete t.breadcrumbs,t):!Gf(t)&&!bu(t)&&!Im(t)?t:e.checkAndHandleExpiredSession()?Im(t)?(e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),b9(e,t),t):_9(t,n)&&!e.getOptions()._experiments.captureExceptions?(ie&&oe.log("Ignoring error from rrweb internals",t),null):((S9(e,t)||e.recordingMode==="session")&&(t.tags={...t.tags,replayId:e.getSessionId()}),t):(d_(),t),{id:"Replay"})}function vc(e,t){return t.map(({type:n,start:r,end:s,name:i,data:o})=>{const a=e.throttledAddEvent({type:de.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 E9(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 T9(e){return t=>{if(!e.isEnabled())return;const n=E9(t);n!==null&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate(()=>(vc(e,[n]),!1)))}}function k9(e,t){return ie&&e.getOptions()._experiments.traceInternals?!1:m6(t,ge())}function h_(e,t){e.isEnabled()&&t!==null&&(k9(e,t.name)||e.addUpdate(()=>(vc(e,[t]),!0)))}function _c(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=xv(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch{}}function p_(e){if(!e)return;const t=parseInt(e,10);return isNaN(t)?void 0:t}function Ma(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 m_(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 Di(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function tr(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}=x9(n);return r.body=s,i?.length&&(r._meta={warnings:i}),r}function Su(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 x9(e){if(!e||typeof e!="string")return{body:e};const t=e.length>am,n=I9(e);if(t){const r=e.slice(0,am);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 I9(e){const t=e[0],n=e[e.length-1];return t==="["&&n==="]"||t==="{"&&n==="}"}function Oa(e,t){const n=C9(e);return wn(n,t)}function C9(e,t=De.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(De.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 A9(e,t,n){try{const r=await M9(e,t,n),s=m_("resource.fetch",r);h_(n.replay,s)}catch(r){ie&&oe.exception(r,"Failed to capture fetch breadcrumb")}}function R9(e,t){const{input:n,response:r}=t,s=n?Cv(n):void 0,i=_c(s),o=r?p_(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 M9(e,t,n){const r=Date.now(),{startTimestamp:s=r,endTimestamp:i=r}=t,{url:o,method:a,status_code:c=0,request_body_size:l,response_body_size:u}=e.data,f=Oa(o,n.networkDetailAllowUrls)&&!Oa(o,n.networkDetailDenyUrls),d=f?O9(n,t.input,l):Di(l),h=await P9(f,n,t.response,u);return{startTimestamp:s,endTimestamp:i,url:o,method:a,statusCode:c,request:d,response:h}}function O9({networkCaptureBodies:e,networkRequestHeaders:t},n,r){const s=n?L9(n,t):{};if(!e)return tr(s,r,void 0);const i=Cv(n),[o,a]=Iv(i,oe),c=tr(s,r,o);return a?Ma(c,a):c}async function P9(e,{networkCaptureBodies:t,networkResponseHeaders:n},r,s){if(!e&&s!==void 0)return Di(s);const i=r?g_(r.headers,n):{};if(!r||!t&&s!==void 0)return tr(i,s,void 0);const[o,a]=await D9(r),c=N9(o,{networkCaptureBodies:t,responseBodySize:s,captureDetails:e,headers:i});return a?Ma(c,a):c}function N9(e,{networkCaptureBodies:t,responseBodySize:n,captureDetails:r,headers:s}){try{const i=e?.length&&n===void 0?_c(e):n;return r?t?tr(s,i,e):tr(s,i,void 0):Di(i)}catch(i){return ie&&oe.exception(i,"Failed to serialize response body"),tr(s,n,void 0)}}async function D9(e){const t=F9(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{return[await $9(t)]}catch(n){return n instanceof Error&&n.message.indexOf("Timeout")>-1?(ie&&oe.warn("Parsing text body from response timed out"),[void 0,"BODY_PARSE_TIMEOUT"]):(ie&&oe.exception(n,"Failed to get text body from response"),[void 0,"BODY_PARSE_ERROR"])}}function g_(e,t){const n={};return t.forEach(r=>{e.get(r)&&(n[r]=e.get(r))}),n}function L9(e,t){return e.length===1&&typeof e[0]!="string"?Cm(e[0],t):e.length===2?Cm(e[1],t):{}}function Cm(e,t){if(!e)return{};const n=e.headers;return n?n instanceof Headers?g_(n,t):Array.isArray(n)?{}:Su(n,t):{}}function F9(e){try{return e.clone()}catch(t){ie&&oe.exception(t,"Failed to clone response body")}}function $9(e){return new Promise((t,n)=>{const r=ro(()=>n(new Error("Timeout while trying to read response body")),500);H9(e).then(s=>t(s),s=>n(s)).finally(()=>clearTimeout(r))})}async function H9(e){return await e.text()}async function B9(e,t,n){try{const r=U9(e,t,n),s=m_("resource.xhr",r);h_(n.replay,s)}catch(r){ie&&oe.exception(r,"Failed to capture xhr breadcrumb")}}function j9(e,t){const{xhr:n,input:r}=t;if(!n)return;const s=_c(r),i=n.getResponseHeader("content-length")?p_(n.getResponseHeader("content-length")):Z9(n.response,n.responseType);s!==void 0&&(e.data.request_body_size=s),i!==void 0&&(e.data.response_body_size=i)}function U9(e,t,n){const r=Date.now(),{startTimestamp:s=r,endTimestamp:i=r,input:o,xhr:a}=t,{url:c,method:l,status_code:u=0,request_body_size:f,response_body_size:d}=e.data;if(!c)return null;if(!a||!Oa(c,n.networkDetailAllowUrls)||Oa(c,n.networkDetailDenyUrls)){const E=Di(f),I=Di(d);return{startTimestamp:s,endTimestamp:i,url:c,method:l,statusCode:u,request:E,response:I}}const h=a[wr],p=h?Su(h.request_headers,n.networkRequestHeaders):{},m=Su(W9(a),n.networkResponseHeaders),[S,y]=n.networkCaptureBodies?Iv(o,oe):[void 0],[_,w]=n.networkCaptureBodies?z9(a):[void 0],T=tr(p,f,S),A=tr(m,d,_);return{startTimestamp:s,endTimestamp:i,url:c,method:l,statusCode:u,request:y?Ma(T,y):T,response:w?Ma(A,w):A}}function W9(e){const t=e.getAllResponseHeaders();return t?t.split(`\r `).reduce((n,r)=>{const[s,i]=r.split(": ");return i&&(n[s.toLowerCase()]=i),n},{}):{}}function z9(e){const t=[];try{return[e.responseText]}catch(n){t.push(n)}try{return V9(e.response,e.responseType)}catch(n){t.push(n)}return ie&&oe.warn("Failed to get xhr response body",...t),[void 0]}function V9(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 ie&&oe.exception(n,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return ie&&oe.log("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function Z9(e,t){try{const n=t==="json"&&e&&typeof e=="object"?JSON.stringify(e):e;return _c(n)}catch{return}}function q9(e){const t=ge();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)=>G9(a,c,l))}catch{}}function G9(e,t,n){if(t.data)try{Y9(t)&&X9(n)&&(j9(t,n),B9(t,n,e)),K9(t)&&J9(n)&&(R9(t,n),A9(t,n,e))}catch(r){ie&&oe.exception(r,"Error when enriching network breadcrumb")}}function Y9(e){return e.category==="xhr"}function K9(e){return e.category==="fetch"}function X9(e){return e?.xhr}function J9(e){return e?.response}function Q9(e){const t=ge();Ev(CO(e)),hc(T9(e)),m9(e),q9(e);const n=w9(e);WC(n),t&&(t.on("beforeSendEvent",h9(e)),t.on("afterSendEvent",u9(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)=>{const i=e.getSessionId();s?.includeReplay&&e.isEnabled()&&i&&r.contexts?.feedback&&(r.contexts.feedback.source==="api"&&await e.sendBufferedReplayOrFlush(),r.contexts.feedback.replay_id=i)}),t.on("openFeedbackWidget",async()=>{await e.sendBufferedReplayOrFlush()}))}async function eP(e){try{return Promise.all(vc(e,[tP(De.performance.memory)]))}catch{return[]}}function tP(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 nP(e,t,n){return S6(e,t,{...n,setTimeoutImpl:ro})}const Oo=Ee.navigator;function rP(){return/iPhone|iPad|iPod/i.test(Oo?.userAgent??"")||/Macintosh/i.test(Oo?.userAgent??"")&&Oo?.maxTouchPoints&&Oo?.maxTouchPoints>1?{sampling:{mousemove:!1}}:{}}function sP(e){let t=!1;return(n,r)=>{if(!e.checkAndHandleExpiredSession()){ie&&oe.warn("Received replay event after session expired.");return}const s=r||!t;t=!0,e.clickDetector&&EO(e.clickDetector,n),e.addUpdate(()=>{if(e.recordingMode==="buffer"&&s&&e.setInitialState(),!qf(e,n,s))return!0;if(!s)return!1;const i=e.session;if(oP(e,s),e.recordingMode==="buffer"&&i&&e.eventBuffer){const o=e.eventBuffer.getEarliestTimestamp();o&&(ie&&oe.log(`Updating session start time to earliest event in buffer to ${new Date(o)}`),i.started=o,e.getOptions().stickySession&&Zf(i))}return i?.previousSessionId||e.recordingMode==="session"&&e.flush(),!0})}}function iP(e){const t=e.getOptions();return{type:de.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 oP(e,t){!t||!e.session||e.session.segmentId!==0||qf(e,iP(e),!1)}function aP(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch{return null}}function cP(e,t,n,r){return Vr(Ry(e,Ef(e),r,n),[[{type:"replay_event"},e],[{type:"replay_recording",length:typeof t=="string"?new TextEncoder().encode(t).length:t.length},t]])}function lP({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 uP({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 Ly(e.getOptions(),r,i,t,e,dn());if(!o)return null;e.emit("postprocessEvent",o,i),o.platform=o.platform||"javascript";const a=e.getSdkMetadata(),{name:c,version:l}=a?.sdk||{};return o.sdk={...o.sdk,name:c||"sentry.javascript.unknown",version:l||"0.0.0"},o}async function fP({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:s,session:i}){const o=lP({recordingData:e,headers:{segment_id:n}}),{urls:a,errorIds:c,traceIds:l,initialTimestamp:u}=r,f=ge(),d=Ae(),h=f?.getTransport(),p=f?.getDsn();if(!f||!h||!p||!i.sampled)return Dn({});const m={type:BM,replay_start_timestamp:u/1e3,timestamp:s/1e3,error_ids:c,trace_ids:l,urls:a,replay_id:t,segment_id:n,replay_type:i.sampled},S=await uP({scope:d,client:f,replayId:t,event:m});if(!S)return f.recordDroppedEvent("event_processor","replay"),ie&&oe.log("An event processor returned `null`, will not send event."),Dn({});delete S.sdkProcessingMetadata;const y=cP(S,o,p,f.getOptions().tunnel);let _;try{_=await h.send(y)}catch(T){const A=new Error(Df);try{A.cause=T}catch{}throw A}if(typeof _.statusCode=="number"&&(_.statusCode<200||_.statusCode>=300))throw new y_(_.statusCode);const w=Gy({},_);if(qy(w,"replay"))throw new Yf(w);return _}class y_ extends Error{constructor(t){super(`Transport returned status code ${t}`)}}class Yf extends Error{constructor(t){super("Rate limit hit"),this.rateLimits=t}}async function v_(e,t={count:0,interval:ZM}){const{recordingData:n,onError:r}=e;if(n.length)try{return await fP(e),!0}catch(s){if(s instanceof y_||s instanceof Yf)throw s;if(jC("Replays",{_retryCount:t.count}),r&&r(s),t.count>=qM){const i=new Error(`${Df} - max retries exceeded`);try{i.cause=s}catch{}throw i}return t.interval*=++t.count,new Promise((i,o)=>{ro(async()=>{try{await v_(e,t),i(!0)}catch(a){o(a)}},t.interval)})}}const __="__THROTTLED",dP="__SKIPPED";function hP(e,t,n){const r=new Map,s=a=>{const c=a-n;r.forEach((l,u)=>{u[...r.values()].reduce((a,c)=>a+c,0);let o=!1;return(...a)=>{const c=Math.floor(Date.now()/1e3);if(s(c),i()>=t){const u=o;return o=!0,u?dP:__}o=!1;const l=r.get(c)||0;return r.set(c,l+1),e(...a)}}class pP{constructor({options:t,recordingOptions:n}){this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:jM,sessionIdleExpire:UM},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=nP(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=hP((o,a)=>a9(this,o,a),300,5);const{slowClickTimeout:r,slowClickIgnoreSelectors:s}=this.getOptions(),i=r?{threshold:Math.min(GM,r),timeout:r,scrollTimeout:YM,ignoreSelector:s?s.join(","):""}:void 0;if(i&&(this.clickDetector=new _O(this,i)),ie){const o=t._experiments;oe.setConfig({captureExceptions:!!o.captureExceptions,traceInternals:!!o.traceInternals})}this._handleVisibilityChange=()=>{De.document.visibilityState==="visible"?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()},this._handleWindowBlur=()=>{const o=ln({category:"ui.blur"});this._doChangeToBackgroundTasks(o)},this._handleWindowFocus=()=>{const o=ln({category:"ui.focus"});this._doChangeToForegroundTasks(o)},this._handleKeyboardEvent=o=>{OO(this,o)}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}handleException(t){ie&&oe.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){ie&&oe.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",ie&&oe.infoTick(`Starting replay in ${this.recordingMode} mode`),this._initializeRecording())}}start(){if(this._isEnabled&&this.recordingMode==="session"){ie&&oe.log("Recording is already in progress");return}if(this._isEnabled&&this.recordingMode==="buffer"){ie&&oe.log("Buffering is in progress, call `flush()` to save the replay");return}ie&&oe.infoTick("Starting replay in session mode"),this._updateUserActivity();const t=ll({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){ie&&oe.log("Buffering is in progress, call `flush()` to save the replay");return}ie&&oe.infoTick("Starting replay in buffer mode");const t=ll({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=En({...this._recordingOptions,...this.recordingMode==="buffer"?{checkoutEveryNms:VM}:this._options._experiments.continuousCheckout&&{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:sP(this),...rP(),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}={}){if(this._isEnabled){this._isEnabled=!1,this.recordingMode="buffer";try{ie&&oe.log(`Stopping Replay${n?` triggered by ${n}`:""}`),d_(),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),t&&await this._flush({force:!0}),this.eventBuffer?.destroy(),this.eventBuffer=null,n9(this)}catch(r){this.handleException(r)}}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),ie&&oe.log("Pausing replay"))}resume(){!this._isPaused||!this._checkSession()||(this._isPaused=!1,this.startRecording(),ie&&oe.log("Resuming replay"))}async sendBufferedReplayOrFlush({continueRecording:t=!0}={}){if(this.recordingMode==="session")return this.flushImmediate();const n=Date.now();ie&&oe.log("Converting buffer to session"),await this.flushImmediate();const r=this.stopRecording();!t||!r||this.recordingMode!=="session"&&(this.recordingMode="session",this.session&&(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(){return this.session?.id}checkAndHandleExpiredSession(){if(this._lastActivity&&_u(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&this.session.sampled==="session"){this.pause();return}return!!this._checkSession()}setInitialState(){const t=`${De.location.pathname}${De.location.hash}${De.location.search}`,n=`${De.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===__){const s=ln({category:"replay.throttled"});this.addUpdate(()=>!qf(this,{type:dO,timestamp:s.timestamp||0,data:{tag:"breadcrumb",payload:s,metric:!0}}))}return r}getCurrentRoute(){const t=this.lastActiveSpan||ot(),n=t&&st(t),s=(n&&Se(n).data||{})[wt];if(!(!n||!s||!["route","custom"].includes(s)))return Se(n).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=QO({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=ll({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 c_(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{De.document.addEventListener("visibilitychange",this._handleVisibilityChange),De.addEventListener("blur",this._handleWindowBlur),De.addEventListener("focus",this._handleWindowFocus),De.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(Q9(this),this._hasInitializedCoreListeners=!0)}catch(t){this.handleException(t)}this._performanceCleanupCallback=ZO(this)}_removeListeners(){try{De.document.removeEventListener("visibilitychange",this._handleVisibilityChange),De.removeEventListener("blur",this._handleWindowBlur),De.removeEventListener("focus",this._handleWindowFocus),De.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(t){this.handleException(t)}}_doChangeToBackgroundTasks(t){!this.session||a_(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()){ie&&oe.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:de.Custom,timestamp:t.timestamp||0,data:{tag:"breadcrumb",payload:t}})})}_addPerformanceEntries(){let t=LO(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(vc(this,t))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){const{session:t,eventBuffer:n}=this;if(!t||!n||this._requiresManualStart||t.segmentId)return;const r=n.getEarliestTimestamp();r&&rthis._options.maxReplayDuration+3e4)throw new Error("Session is too long, not sending replay");const r=this._popEventContext(),s=this.session.segmentId++;this._maybeSaveSession();const i=await this.eventBuffer.finish();await v_({replayId:t,recordingData:i,segmentId:s,eventContext:r,session:this.session,timestamp:n,onError:o=>this.handleException(o)})}catch(n){this.handleException(n),this.stop({reason:"sendReplay"});const r=ge();if(r){const s=n instanceof Yf?"ratelimit_backoff":"send_error";r.recordDroppedEvent(s,"replay")}}}async _flush({force:t=!1}={}){if(!this._isEnabled&&!t)return;if(!this.checkAndHandleExpiredSession()){ie&&oe.error("Attempting to finish replay event after session expired.");return}if(!this.session)return;const n=this.session.started,s=Date.now()-n;this._debouncedFlush.cancel();const i=sthis._options.maxReplayDuration+5e3;if(i||o){ie&&oe.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&&ie&&oe.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&&Zf(this.session)}_onMutationHandler(t){const{ignoreMutations:n}=this._options._experiments;if(n?.length&&t.some(a=>{const c=aP(a.target),l=n.join(",");return 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=ln({category:"replay.mutations",data:{count:r,limit:o}});this._createCustomBreadcrumb(a)}return o?(this.stop({reason:"mutationLimit",forceFlush:this.recordingMode==="session"}),!1):!0}}function qs(e,t){return[...e,...t].join(",")}function mP({mask:e,unmask:t,block:n,unblock:r,ignore:s}){const i=["base","iframe[srcdoc]:not([src])"],o=qs(e,[".sentry-mask","[data-sentry-mask]"]),a=qs(t,[]);return{maskTextSelector:o,unmaskTextSelector:a,blockSelector:qs(n,[".sentry-block","[data-sentry-block]",...i]),unblockSelector:qs(r,[]),ignoreSelector:qs(s,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'])}}function gP({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 Am='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',yP=["content-length","content-type","accept"];let Rm=!1;const vP=e=>new _P(e);class _P{constructor({flushMinDelay:t=WM,flushMaxDelay:n=zM,minReplayDuration:r=KM,maxReplayDuration:s=cm,stickySession:i=!0,useCompression:o=!0,workerUrl:a,_experiments:c={},maskAllText:l=!0,maskAllInputs:u=!0,blockAllMedia:f=!0,mutationBreadcrumbLimit:d=750,mutationLimit:h=1e4,slowClickTimeout:p=7e3,slowClickIgnoreSelectors:m=[],networkDetailAllowUrls:S=[],networkDetailDenyUrls:y=[],networkCaptureBodies:_=!0,networkRequestHeaders:w=[],networkResponseHeaders:T=[],mask:A=[],maskAttributes:E=["title","placeholder","aria-label"],unmask:I=[],block:F=[],unblock:k=[],ignore:N=[],maskFn:q,beforeAddRecordingEvent:R,beforeErrorSampling:K,onError:re}={}){this.name="Replay";const J=mP({mask:A,unmask:I,block:F,unblock:k,ignore:N});if(this._recordingOptions={maskAllInputs:u,maskAllText:l,maskInputOptions:{password:!0},maskTextFn:q,maskInputFn:q,maskAttributeFn:(X,L,G)=>gP({maskAttributes:E,maskAllText:l,privacyOptions:J,key:X,value:L,el:G}),...J,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:X=>{try{X.__rrweb__=!0}catch{}},recordCrossOriginIframes:!!c.recordCrossOriginIframes},this._initialOptions={flushMinDelay:t,flushMaxDelay:n,minReplayDuration:Math.min(r,XM),maxReplayDuration:Math.min(s,cm),stickySession:i,useCompression:o,workerUrl:a,blockAllMedia:f,maskAllInputs:u,maskAllText:l,mutationBreadcrumbLimit:d,mutationLimit:h,slowClickTimeout:p,slowClickIgnoreSelectors:m,networkDetailAllowUrls:S,networkDetailDenyUrls:y,networkCaptureBodies:_,networkRequestHeaders:Mm(w),networkResponseHeaders:Mm(T),beforeAddRecordingEvent:R,beforeErrorSampling:K,onError:re,_experiments:c},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${Am}`:Am),this._isInitialized&&Qp())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return Rm}set _isInitialized(t){Rm=t}afterAllSetup(t){!Qp()||this._replay||(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(){if(this._replay?.isEnabled())return this._replay.getSessionId()}getRecordingMode(){if(this._replay?.isEnabled())return this._replay.recordingMode}_initialize(t){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(t),this._replay.initializeSampling())}_setup(t){const n=bP(this._initialOptions,t);this._replay=new pP({options:n,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(t){try{const n=t.getIntegrationByName("ReplayCanvas");if(!n)return;this._replay._canvas=n.getOptions()}catch{}}}function bP(e,t){const n=t.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...e},s=$r(n.replaysSessionSampleRate),i=$r(n.replaysOnErrorSampleRate);return s==null&&i==null&&jn(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),s!=null&&(r.sessionSampleRate=s),i!=null&&(r.errorSampleRate=i),r}function Mm(e){return[...yP,...e.map(t=>t.toLowerCase())]}function tn(e=0){return((gt()||performance.timeOrigin)+e)/1e3}function SP(e){const t=[];if(e.nextHopProtocol!=null){const{name:n,version:r}=bv(e.nextHopProtocol);t.push(["network.protocol.version",r],["network.protocol.name",n])}return gt()?[...t,["http.request.redirect_start",tn(e.redirectStart)],["http.request.fetch_start",tn(e.fetchStart)],["http.request.domain_lookup_start",tn(e.domainLookupStart)],["http.request.domain_lookup_end",tn(e.domainLookupEnd)],["http.request.connect_start",tn(e.connectStart)],["http.request.secure_connection_start",tn(e.secureConnectionStart)],["http.request.connection_end",tn(e.connectEnd)],["http.request.request_start",tn(e.requestStart)],["http.request.response_start",tn(e.responseStart)],["http.request.response_end",tn(e.responseEnd)]]:t}const Om=new WeakMap,ul=new Map,b_={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function wP(e,t){const{traceFetch:n,traceXHR:r,trackFetchStreamPerformance:s,shouldCreateSpanForRequest:i,enableHTTPTimings:o,tracePropagationTargets:a,onRequestSpanStart:c}={...b_,...t},l=typeof i=="function"?i:d=>!0,u=d=>TP(d,a),f={};n&&(e.addEventProcessor(d=>(d.type==="transaction"&&d.spans&&d.spans.forEach(h=>{if(h.op==="http.client"){const p=ul.get(h.span_id);p&&(h.timestamp=p/1e3,ul.delete(h.span_id))}}),d)),s&&sA(d=>{if(d.response){const h=Om.get(d.response);h&&d.endTimestamp&&ul.set(h,d.endTimestamp)}}),rv(d=>{const h=Y6(d,l,u,f);if(d.response&&d.fetchData.__span&&Om.set(d.response,d.fetchData.__span),h){const p=S_(d.fetchData.url),m=p?Or(p).host:void 0;h.setAttributes({"http.url":p,"server.address":m}),o&&Pm(h),c?.(h,{headers:d.headers})}})),r&&kv(d=>{const h=kP(d,l,u,f);if(h){o&&Pm(h);let p;try{p=new Headers(d.xhr.__sentry_xhr_v3__?.request_headers)}catch{}c?.(h,{headers:p})}})}function EP(e){return e.entryType==="resource"&&"initiatorType"in e&&typeof e.nextHopProtocol=="string"&&(e.initiatorType==="fetch"||e.initiatorType==="xmlhttprequest")}function Pm(e){const{url:t}=Se(e).data;if(!t||typeof t!="string")return;const n=Hr("resource",({entries:r})=>{r.forEach(s=>{EP(s)&&s.name.endsWith(t)&&(SP(s).forEach(o=>e.setAttribute(...o)),setTimeout(n))})})}function TP(e,t){const n=Ps();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?wn(r.toString(),t)||i&&wn(r.pathname,t):i}else{const r=!!e.match(/^\/(?!\/)/);return t?wn(e,t):r}}function kP(e,t,n,r){const s=e.xhr,i=s?.[wr];if(!s||s.__sentry_own_request__||!i)return;const{url:o,method:a}=i,c=Pn()&&t(o);if(e.endTimestamp&&c){const m=s.__sentry_xhr_span_id__;if(!m)return;const S=r[m];S&&i.status_code!==void 0&&(my(S,i.status_code),S.end(),delete r[m]);return}const l=S_(o),u=Or(l||o),f=G6(o),d=!!ot(),h=c&&d?lr({name:`${a} ${f}`,attributes:{url:o,type:"xhr","http.method":a,"http.url":l,"server.address":u?.host,[Be]:"auto.http.browser",[On]:"http.client",...u?.search&&{"http.query":u?.search},...u?.hash&&{"http.fragment":u?.hash}}}):new cr;s.__sentry_xhr_span_id__=h.spanContext().spanId,r[s.__sentry_xhr_span_id__]=h,n(o)&&xP(s,Pn()&&d?h:void 0);const p=ge();return p&&p.emit("beforeOutgoingRequestSpan",h,e),h}function xP(e,t){const{"sentry-trace":n,baggage:r}=Ky({span:t});n&&IP(e,n,r)}function IP(e,t,n){const r=e.__sentry_xhr_v3__?.request_headers;if(!r?.["sentry-trace"])try{if(e.setRequestHeader("sentry-trace",t),n){const s=r?.baggage;(!s||!CP(s))&&e.setRequestHeader("baggage",n)}}catch{}}function CP(e){return e.split(",").some(t=>t.trim().startsWith("sentry-"))}function S_(e){try{return new URL(e,Te.location.origin).href}catch{return}}function AP(){Te.document?Te.document.addEventListener("visibilitychange",()=>{const e=ot();if(!e)return;const t=st(e);if(Te.document.hidden&&t){const n="cancelled",{op:r,status:s}=Se(t);Bt&&W.log(`[Tracing] Transaction: ${n} -> since tab moved to the background, op: ${r}`),s||t.setStatus({code:Ge,message:n}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):Bt&&W.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const RP=3600,w_="sentry_previous_trace",MP="sentry.previous_trace";function OP(e,{linkPreviousTrace:t,consistentTraceSampling:n}){const r=t==="session-storage";let s=r?DP():void 0;e.on("spanStart",o=>{if(st(o)!==o)return;const a=Ae().getPropagationContext();s=PP(s,o,a),r&&NP(s)});let i=!0;n&&e.on("beforeSampling",o=>{if(!s)return;const a=Ae(),c=a.getPropagationContext();if(i&&c.parentSpanId){i=!1;return}a.setPropagationContext({...c,dsc:{...c.dsc,sample_rate:String(s.sampleRate),sampled:String(wu(s.spanContext))},sampleRand:s.sampleRand}),o.parentSampled=wu(s.spanContext),o.parentSampleRate=s.sampleRate,o.spanAttributes={...o.spanAttributes,[hy]:s.sampleRate}})}function PP(e,t,n){const r=Se(t);function s(){try{return Number(n.dsc?.sample_rate)??Number(r.data?.[vf])}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<=RP&&(Bt&&W.log(`Adding previous_trace ${o} link to span ${{op:r.op,...t.spanContext()}}`),t.addLink({context:o,attributes:{[SI]:"previous_trace"}}),t.setAttribute(MP,`${o.traceId}-${o.spanId}-${wu(o)?1:0}`)),i)}function NP(e){try{Te.sessionStorage.setItem(w_,JSON.stringify(e))}catch(t){Bt&&W.warn("Could not store previous trace in sessionStorage",t)}}function DP(){try{const e=Te.sessionStorage?.getItem(w_);return JSON.parse(e)}catch{return}}function wu(e){return e.traceFlags===1}const LP="BrowserTracing",FP={...Wo,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,enableElementTiming:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,_experiments:{},...b_},Nm=(e={})=>{const t={name:void 0,source:void 0},n=Te.document,{enableInp:r,enableElementTiming:s,enableLongTask:i,enableLongAnimationFrame:o,_experiments:{enableInteractions:a,enableStandaloneClsSpans:c,enableStandaloneLcpSpans:l},beforeStartSpan:u,idleTimeout:f,finalTimeout:d,childSpanTimeout:h,markBackgroundSpan:p,traceFetch:m,traceXHR:S,trackFetchStreamPerformance:y,shouldCreateSpanForRequest:_,enableHTTPTimings:w,ignoreResourceSpans:T,ignorePerformanceApiSpans:A,instrumentPageLoad:E,instrumentNavigation:I,detectRedirects:F,linkPreviousTrace:k,consistentTraceSampling:N,onRequestSpanStart:q}={...FP,...e};let R,K;function re(J,X,L=!0){const G=X.op==="pageload",Q=u?u(X):X,ke=Q.attributes||{};if(X.name!==Q.name&&(ke[wt]="custom",Q.attributes=ke),!L){const ze=Wr();lr({...Q,startTime:ze}).end(ze);return}t.name=Q.name,t.source=ke[wt];const we=Dy(Q,{idleTimeout:f,finalTimeout:d,childSpanTimeout:h,disableAutoFinish:G,beforeSpanEnd:ze=>{R?.(),yR(ze,{recordClsOnPageloadSpan:!c,recordLcpOnPageloadSpan:!l,ignoreResourceSpans:T,ignorePerformanceApiSpans:A}),Lm(J,void 0);const tt=Ae(),yt=tt.getPropagationContext();tt.setPropagationContext({...yt,traceId:we.spanContext().traceId,sampled:zr(we),dsc:Nn(ze)})}});Lm(J,we);function pe(){n&&["interactive","complete"].includes(n.readyState)&&J.emit("idleSpanEnableAutoFinish",we)}G&&n&&(n.addEventListener("readystatechange",()=>{pe()}),pe())}return{name:LP,setup(J){if(HI(),R=lR({recordClsStandaloneSpans:c||!1,recordLcpStandaloneSpans:l||!1,client:J}),r&&HR(),s&&IR(),o&&Ee.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?fR():i&&uR(),a&&dR(),F&&n){const L=()=>{K=qe()};addEventListener("click",L,{capture:!0}),addEventListener("keydown",L,{capture:!0,passive:!0})}function X(){const L=Li(J);L&&!Se(L).timestamp&&(Bt&&W.log(`[Tracing] Finishing current active span with op: ${Se(L).op}`),L.setAttribute(ga,"cancelled"),L.end())}J.on("startNavigationSpan",(L,G)=>{if(ge()!==J)return;if(G?.isRedirect){Bt&&W.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),re(J,{op:"navigation.redirect",...L},!1);return}X(),dn().setPropagationContext({traceId:ar(),sampleRand:Math.random()});const Q=Ae();Q.setPropagationContext({traceId:ar(),sampleRand:Math.random()}),Q.setSDKProcessingMetadata({normalizedRequest:void 0}),re(J,{op:"navigation",...L})}),J.on("startPageLoadSpan",(L,G={})=>{if(ge()!==J)return;X();const Q=G.sentryTrace||Dm("sentry-trace"),ke=G.baggage||Dm("baggage"),we=MI(Q,ke),pe=Ae();pe.setPropagationContext(we),pe.setSDKProcessingMetadata({normalizedRequest:xf()}),re(J,{op:"pageload",...L})})},afterAllSetup(J){let X=Ps();if(k!=="off"&&OP(J,{linkPreviousTrace:k,consistentTraceSampling:N}),Te.location){if(E){const L=gt();$P(J,{name:Te.location.pathname,startTime:L?L/1e3:void 0,attributes:{[wt]:"url",[Be]:"auto.pageload.browser"}})}I&&hc(({to:L,from:G})=>{if(G===void 0&&X?.indexOf(L)!==-1){X=void 0;return}X=void 0;const Q=tv(L),ke=Li(J),we=ke&&F&&BP(ke,K);E_(J,{name:Q?.pathname||Te.location.pathname,attributes:{[wt]:"url",[Be]:"auto.navigation.browser"}},{url:L,isRedirect:we})})}p&&AP(),a&&HP(J,f,d,h,t),r&&UR(),wP(J,{traceFetch:m,traceXHR:S,trackFetchStreamPerformance:y,tracePropagationTargets:J.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:_,enableHTTPTimings:w,onRequestSpanStart:q})}}};function $P(e,t,n){e.emit("startPageLoadSpan",t,n),Ae().setTransactionName(t.name);const r=Li(e);return r&&e.emit("afterStartPageLoadSpan",r),r}function E_(e,t,n){const{url:r,isRedirect:s}=n||{};e.emit("beforeStartNavigationSpan",t,{isRedirect:s}),e.emit("startNavigationSpan",t,{isRedirect:s});const i=Ae();return i.setTransactionName(t.name),r&&!s&&i.setSDKProcessingMetadata({normalizedRequest:{...xf(),url:r}}),Li(e)}function Dm(e){return Te.document?.querySelector(`meta[name=${e}]`)?.getAttribute("content")||void 0}function HP(e,t,n,r,s){const i=Te.document;let o;const a=()=>{const c="ui.action.click",l=Li(e);if(l){const u=Se(l).op;if(["navigation","pageload"].includes(u)){Bt&&W.warn(`[Tracing] Did not create ${c} span because a pageload or navigation span is in progress.`);return}}if(o&&(o.setAttribute(ga,"interactionInterrupted"),o.end(),o=void 0),!s.name){Bt&&W.warn(`[Tracing] Did not create ${c} transaction because _latestRouteName is missing.`);return}o=Dy({name:s.name,op:c,attributes:{[wt]:s.source||"url"}},{idleTimeout:t,finalTimeout:n,childSpanTimeout:r})};i&&addEventListener("click",a,{capture:!0})}const T_="_sentry_idleSpan";function Li(e){return e[T_]}function Lm(e,t){Rt(e,T_,t)}const Fm=.3;function BP(e,t){const n=Se(e),r=Wr(),s=n.start_timestamp;return!(r-s>Fm||t&&r-t<=Fm)}const k_=["activate","mount"],x_=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,jP=/(?:^|[-_])(\w)/g,UP=e=>e.replace(jP,t=>t.toUpperCase()).replace(/[-_]/g,""),WP="",fl="",zP=(e,t)=>e.repeat(t),pi=(e,t)=>{if(!e)return fl;if(e.$root===e)return WP;if(!e.$options)return fl;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?`<${UP(r)}>`:fl)+(s&&t!==!1?` at ${s}`:"")},VP=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?"---> ":zP(" ",5+i*2))+(Array.isArray(s)?`${pi(s[0])}... (${s[1]} recursive calls)`:pi(s))}`).join(` `)}`}return` (found in ${pi(e)})`},ZP=(e,t)=>{const{errorHandler:n}=e.config;e.config.errorHandler=(r,s,i)=>{const o=pi(s,!1),a=s?VP(s):"",c={componentName:o,lifecycleHook:i,trace:a};if(t.attachProps&&s&&(s.$options?.propsData?c.propsData=s.$options.propsData:s.$props&&(c.propsData=s.$props)),setTimeout(()=>{cc(r,{captureContext:{contexts:{vue:c}},mechanism:{handled:!!n,type:"vue"}})}),typeof n=="function"&&e.config.errorHandler)n.call(e,r,s,i);else throw r}},$m="ui.vue",qP={activate:["activated","deactivated"],create:["beforeCreate","created"],unmount:["beforeUnmount","unmounted"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]};function dl(e,t,n){e.$_sentryRootComponentSpanTimer&&clearTimeout(e.$_sentryRootComponentSpanTimer),e.$_sentryRootComponentSpanTimer=setTimeout(()=>{e.$root?.$_sentryRootComponentSpan&&(e.$root.$_sentryRootComponentSpan.end(t),e.$root.$_sentryRootComponentSpan=void 0)},n)}function GP(e,t){function n(s){return s.replace(/^<([^\s]*)>(?: at [^\s]*)?$/,"$1")}return e.some(s=>n(t)===n(s))}const YP=(e={})=>{const t=(e.hooks||[]).concat(k_).filter((s,i,o)=>o.indexOf(s)===i),n={},r=e.timeout||2e3;for(const s of t){const i=qP[s];if(!i){x_&&W.warn(`Unknown hook: ${s}`);continue}for(const o of i)n[o]=function(){const a=this.$root===this;a&&(this.$_sentryRootComponentSpan=this.$_sentryRootComponentSpan||lr({name:"Application Render",op:`${$m}.render`,attributes:{[Be]:"auto.ui.vue"},onlyIfParent:!0}),dl(this,qe(),r));const c=pi(this,!1);if(!(a||(Array.isArray(e.trackComponents)?GP(e.trackComponents,c):e.trackComponents))){dl(this,qe(),r);return}this.$_sentryComponentSpans=this.$_sentryComponentSpans||{};const u=o===i[0],f=this.$root?.$_sentryRootComponentSpan||ot();if(u){if(f){const d=this.$_sentryComponentSpans[s];d&&d.end(),this.$_sentryComponentSpans[s]=lr({name:`Vue ${c}`,op:`${$m}.${s}`,attributes:{[Be]:"auto.ui.vue"},onlyIfParent:!0})}}else{const d=this.$_sentryComponentSpans[s];if(!d)return;d.end(),dl(this,qe(),r)}}}return n},KP=Ee,XP={Vue:KP.Vue,attachProps:!0,attachErrorHandler:!0,tracingOptions:{hooks:k_,timeout:2e3,trackComponents:!1}},JP="Vue",QP=(e={})=>({name:JP,setup(t){const n={...XP,...t.getOptions(),...e};if(!n.Vue&&!n.app){jn(()=>{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=>Hm(s,n)):n.Vue&&Hm(n.Vue,n)}}),Hm=(e,t)=>{x_&&e._instance?.isMounted===!0&&jn(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue app is already mounted. Make sure to call `app.mount()` after `Sentry.init()`.")}),t.attachErrorHandler&&ZP(e,t),Pn(t)&&e.mixin(YP(t.tracingOptions))};function eN(e={}){const t={defaultIntegrations:[...Mv(),QP()],...e};return Yy(t,"vue"),HM(t)}function tN(e,t,n){let r=!1;e.onError(s=>cc(s,{mechanism:{handled:!1}})),e.beforeEach((s,i,o)=>{const a=r?void 0:nN(),c={};for(const f of Object.keys(s.params))c[`url.path.parameter.${f}`]=s.params[f],c[`params.${f}`]=s.params[f];for(const f of Object.keys(s.query)){const d=s.query[f];d&&(c[`query.${f}`]=d)}let l=s.path,u="url";if(s.name&&t.routeLabel!=="path")l=s.name.toString(),u="custom";else if(s.matched.length>0){const f=s.matched.length-1;l=s.matched[f].path,u="route"}Ae().setTransactionName(l),t.instrumentPageLoad&&a&&(Se(a).data[wt]!=="custom"&&(a.updateName(l),a.setAttribute(wt,u)),a.setAttributes({...c,[Be]:"auto.pageload.vue"}),r=!0),t.instrumentNavigation&&!a&&n({name:l,op:"navigation",attributes:{...c,[Be]:"auto.navigation.vue",[wt]:u}}),o&&o()})}function nN(){const e=ot(),t=e&&st(e);return t&&Se(t).op==="pageload"?t:void 0}function rN(e={}){if(!e.router)return Nm(e);const t=Nm({...e,instrumentNavigation:!1}),{router:n,instrumentNavigation:r=!0,instrumentPageLoad:s=!0,routeLabel:i="name"}=e;return{...t,afterAllSetup(o){t.afterAllSetup(o),tN(n,{routeLabel:i,instrumentNavigation:r,instrumentPageLoad:s},c=>{E_(o,c)})}}}const hl=10,Bm=(e=0)=>t=>`\x1B[${t+e}m`,jm=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,Um=(e=0)=>(t,n,r)=>`\x1B[${38+e};2;${t};${n};${r}m`,He={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};Object.keys(He.modifier);const sN=Object.keys(He.color),iN=Object.keys(He.bgColor);[...sN,...iN];function oN(){const e=new Map;for(const[t,n]of Object.entries(He)){for(const[r,s]of Object.entries(n))He[r]={open:`\x1B[${s[0]}m`,close:`\x1B[${s[1]}m`},n[r]=He[r],e.set(s[0],s[1]);Object.defineProperty(He,t,{value:n,enumerable:!1})}return Object.defineProperty(He,"codes",{value:e,enumerable:!1}),He.color.close="\x1B[39m",He.bgColor.close="\x1B[49m",He.color.ansi=Bm(),He.color.ansi256=jm(),He.color.ansi16m=Um(),He.bgColor.ansi=Bm(hl),He.bgColor.ansi256=jm(hl),He.bgColor.ansi16m=Um(hl),Object.defineProperties(He,{rgbToAnsi256:{value(t,n,r){return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},enumerable:!1},hexToRgb:{value(t){const n=/[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));if(!n)return[0,0,0];let[r]=n;r.length===3&&(r=[...r].map(i=>i+i).join(""));const s=Number.parseInt(r,16);return[s>>16&255,s>>8&255,s&255]},enumerable:!1},hexToAnsi256:{value:t=>He.rgbToAnsi256(...He.hexToRgb(t)),enumerable:!1},ansi256ToAnsi:{value(t){if(t<8)return 30+t;if(t<16)return 90+(t-8);let n,r,s;if(t>=232)n=((t-232)*10+8)/255,r=n,s=n;else{t-=16;const a=t%36;n=Math.floor(t/36)/5,r=Math.floor(a/6)/5,s=a%6/5}const i=Math.max(n,r,s)*2;if(i===0)return 30;let o=30+(Math.round(s)<<2|Math.round(r)<<1|Math.round(n));return i===2&&(o+=60),o},enumerable:!1},rgbToAnsi:{value:(t,n,r)=>He.ansi256ToAnsi(He.rgbToAnsi256(t,n,r)),enumerable:!1},hexToAnsi:{value:t=>He.ansi256ToAnsi(He.hexToAnsi256(t)),enumerable:!1}}),He}const sn=oN(),Wm=(()=>{if(!("navigator"in globalThis))return 0;if(globalThis.navigator.userAgentData){const e=navigator.userAgentData.brands.find(({brand:t})=>t==="Chromium");if(e&&e.version>93)return 3}return/\b(Chrome|Chromium)\//.test(globalThis.navigator.userAgent)?1:0})(),zm=Wm!==0&&{level:Wm},aN={stdout:zm,stderr:zm};function cN(e,t,n){let r=e.indexOf(t);if(r===-1)return e;const s=t.length;let i=0,o="";do o+=e.slice(i,r)+t+n,i=r+s,r=e.indexOf(t,i);while(r!==-1);return o+=e.slice(i),o}function lN(e,t,n,r){let s=0,i="";do{const o=e[r-1]==="\r";i+=e.slice(s,o?r-1:r)+t+(o?`\r `:` `)+n,s=r+1,r=e.indexOf(` `,s)}while(r!==-1);return i+=e.slice(s),i}const{stdout:Vm,stderr:Zm}=aN,Eu=Symbol("GENERATOR"),xs=Symbol("STYLER"),Fi=Symbol("IS_EMPTY"),qm=["ansi","ansi","ansi256","ansi16m"],Is=Object.create(null),uN=(e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const n=Vm?Vm.level:0;e.level=t.level===void 0?n:t.level},fN=e=>{const t=(...n)=>n.join(" ");return uN(t,e),Object.setPrototypeOf(t,oo.prototype),t};function oo(e){return fN(e)}Object.setPrototypeOf(oo.prototype,Function.prototype);for(const[e,t]of Object.entries(sn))Is[e]={get(){const n=Pa(this,ku(t.open,t.close,this[xs]),this[Fi]);return Object.defineProperty(this,e,{value:n}),n}};Is.visible={get(){const e=Pa(this,this[xs],!0);return Object.defineProperty(this,"visible",{value:e}),e}};const Tu=(e,t,n,...r)=>e==="rgb"?t==="ansi16m"?sn[n].ansi16m(...r):t==="ansi256"?sn[n].ansi256(sn.rgbToAnsi256(...r)):sn[n].ansi(sn.rgbToAnsi(...r)):e==="hex"?Tu("rgb",t,n,...sn.hexToRgb(...r)):sn[n][e](...r),dN=["rgb","hex","ansi256"];for(const e of dN){Is[e]={get(){const{level:n}=this;return function(...r){const s=ku(Tu(e,qm[n],"color",...r),sn.color.close,this[xs]);return Pa(this,s,this[Fi])}}};const t="bg"+e[0].toUpperCase()+e.slice(1);Is[t]={get(){const{level:n}=this;return function(...r){const s=ku(Tu(e,qm[n],"bgColor",...r),sn.bgColor.close,this[xs]);return Pa(this,s,this[Fi])}}}}const hN=Object.defineProperties(()=>{},{...Is,level:{enumerable:!0,get(){return this[Eu].level},set(e){this[Eu].level=e}}}),ku=(e,t,n)=>{let r,s;return n===void 0?(r=e,s=t):(r=n.openAll+e,s=t+n.closeAll),{open:e,close:t,openAll:r,closeAll:s,parent:n}},Pa=(e,t,n)=>{const r=(...s)=>pN(r,s.length===1?""+s[0]:s.join(" "));return Object.setPrototypeOf(r,hN),r[Eu]=e,r[xs]=t,r[Fi]=n,r},pN=(e,t)=>{if(e.level<=0||!t)return e[Fi]?"":t;let n=e[xs];if(n===void 0)return t;const{openAll:r,closeAll:s}=n;if(t.includes("\x1B"))for(;n!==void 0;)t=cN(t,n.close,n.open),n=n.parent;const i=t.indexOf(` `);return i!==-1&&(t=lN(t,s,r,i)),r+t+s};Object.defineProperties(oo.prototype,Is);const pl=oo();oo({level:Zm?Zm.level:0});const mN=`--------------------------------------------------------------- ____ _ ___ _ _ / ___|| | __ _ ___ ___ |_ _| ___ | | __ _ _ __ __| | | | | | / _\` |/ __|/ __| | | / __|| | / _\` || '_ \\ / _\` | | |___ | || (_| |\\__ \\\\__ \\ | | \\__ \\| || (_| || | | || (_| | \\____||_| \\__,_||___/|___/|___||___/|_| \\__,_||_| |_| \\__,_| --------------------------------------------------------------- ClassIsland —— 一款适用于班级大屏的课表信息显示工具,可以一目了然地显示各种信息。 `;Lx(rx,{routes:Hx},({app:e,router:t,routes:n,isClient:r,initialState:s})=>{aw(e),r&&(eN({app:e,dsn:"https://5f8b7ae1646638a671474219382cfb7b@todayeatsentry.classisland.tech:21815/8",integrations:[rN({router:t}),vP()],tracesSampleRate:.1,tracePropagationTargets:["localhost",/^https:\/\/get\.classisland\.tech/],replaysSessionSampleRate:.1,replaysOnErrorSampleRate:1}),console.log(pl.hex("#00bfff")(mN)+` `+pl.hex("#FF9AFC")("⌈不想前进的时候,就暂且停下脚步吧。⌋")+` `+pl.hex("#81ddff")("⌈愿我们在那鲜花芬芳的西风尽头重逢。⌋")))});export{Ke as $,Qn as A,pn as B,yN as C,me as D,Dt as E,er as F,Ru as G,Hn as H,AN as I,kN as J,xN as K,an as L,Gu as M,JS as N,QS as O,lt as P,l5 as Q,As as R,SN as S,T2 as T,T0 as U,WS as V,ex as W,w0 as X,wN as Y,Ky as Z,Rs as _,ue as a,Jk as a0,RN as a1,TN as a2,Xk as a3,si as a4,Bi as a5,$u as a6,K2 as a7,ab as a8,k5 as a9,CN as aa,bn as ab,P5 as ac,EN as ad,bN as ae,IN as af,Ya as ag,jr as ah,Eb as ai,Zt as b,je as c,Kt as d,Hi as e,Bg as f,he as g,Pt as h,Ze as i,ju as j,i0 as k,Cs as l,fE as m,Tn as n,_e as o,za as p,vN as q,jt as r,Fc as s,Pr as t,MN as u,gN as v,Lt as w,_N as x,V0 as y,kt as z};