PageSourceSearch

https://sjezd25.web.app/_nuxt/sentry.C166FaKx.js

js sjezd25.web.app collected 2026-10-03 12:36:16 UTC 511,324 bytes, 506 lines download raw bytes

vendor: 3,945 bytes, lines 1-8
1/**
2* @vue/shared v3.5.13
3* (c) 2018-present Yuxi (Evan) You and Vue contributors
4* @license MIT
5**//*! #__NO_SIDE_EFFECTS__ */(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1f75afaa-d8f4-47d2-9884-4a8daa6dea5c",e._sentryDebugIdIdentifier="sentry-dbid-1f75afaa-d8f4-47d2-9884-4a8daa6dea5c")}catch{}})();function Ul(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Ee={},ds=[],on=()=>{},VE=()=>!1,Wo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Bl=e=>e.startsWith("onUpdate:"),Ge=Object.assign,jl=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},zE=Object.prototype.hasOwnProperty,we=(e,t)=>zE.call(e,t),te=Array.isArray,ps=e=>js(e)==="[object Map]",Bs=e=>js(e)==="[object Set]",Ed=e=>js(e)==="[object Date]",qE=e=>js(e)==="[object RegExp]",ae=e=>typeof e=="function",De=e=>typeof e=="string",Kt=e=>typeof e=="symbol",ke=e=>e!==null&&typeof e=="object",zm=e=>(ke(e)||ae(e))&&ae(e.then)&&ae(e.catch),qm=Object.prototype.toString,js=e=>qm.call(e),GE=e=>js(e).slice(8,-1),Gm=e=>js(e)==="[object Object]",Wl=e=>De(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,hs=Ul(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ka=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},KE=/-(\w)/g,Nt=Ka(e=>e.replace(KE,(t,n)=>n?n.toUpperCase():"")),YE=/\B([A-Z])/g,Ln=Ka(e=>e.replace(YE,"-$1").toLowerCase()),Ya=Ka(e=>e.charAt(0).toUpperCase()+e.slice(1)),Rc=Ka(e=>e?`on${Ya(e)}`:""),wt=(e,t)=>!Object.is(e,t),ms=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Km=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},sa=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ym=e=>{const t=De(e)?Number(e):NaN;return isNaN(t)?e:t};let vd;const Xa=()=>vd||(vd=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Vl(e){if(te(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=De(r)?ZE(r):Vl(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(De(e)||ke(e))return e}const XE=/;(?![^(]*\))/g,JE=/:([^]+)/,QE=/\/\*[^]*?\*\//g;function ZE(e){const t={};return e.replace(QE,"").split(XE).forEach(n=>{if(n){const r=n.split(JE);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function zl(e){let t="";if(De(e))t=e;else if(te(e))for(let n=0;n<e.length;n++){const r=zl(e[n]);r&&(t+=r+" ")}else if(ke(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const ev="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",tv=Ul(ev);function Xm(e){return!!e||e===""}function nv(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Dr(e[r],t[r]);return n}function Dr(e,t){if(e===t)return!0;let n=Ed(e),r=Ed(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Kt(e),r=Kt(t),n||r)return e===t;if(n=te(e),r=te(t),n||r)return n&&r?nv(e,t):!1;if(n=ke(e),r=ke(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,o=Object.keys(t).length;if(s!==o)return!1;for(const i in e){const a=e.hasOwnProperty(i),c=t.hasOwnProperty(i);if(a&&!c||!a&&c||!Dr(e[i],t[i]))return!1}}return String(e)===String(t)}function ql(e,t){return e.findIndex(n=>Dr(n,t))}const Jm=e=>!!(e&&e.__v_isRef===!0),rv=e=>De(e)?e:e==null?"":te(e)||ke(e)&&(e.toString===qm||!ae(e.toString))?Jm(e)?rv(e.value):JSON.stringify(e,Qm,2):String(e),Qm=(e,t)=>Jm(t)?Qm(e,t.value):ps(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[Ac(r,o)+" =>"]=s,n),{})}:Bs(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ac(n))}:Kt(t)?Ac(t):ke(t)&&!te(t)&&!Gm(t)?String(t):t,Ac=(e,t="")=>{var n;return Kt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
6* @vue/reactivity v3.5.13
7* (c) 2018-present Yuxi (Evan) You and Vue contributors
8* @license MIT
vendor: 5,467 bytes, line 9
9**/let pt;class Zm{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=pt,!t&&pt&&(this.index=(pt.scopes||(pt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=pt;try{return pt=this,t()}finally{pt=n}}}on(){pt=this}off(){pt=this.parent}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function sv(e){return new Zm(e)}function eg(){return pt}function jH(e,t=!1){pt&&pt.cleanups.push(e)}let Me;const Mc=new WeakSet;class tg{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,pt&&pt.active&&pt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Mc.has(this)&&(Mc.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||rg(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,wd(this),sg(this);const t=Me,n=Gt;Me=this,Gt=!0;try{return this.fn()}finally{og(this),Me=t,Gt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Yl(t);this.deps=this.depsTail=void 0,wd(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Mc.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Su(this)&&this.run()}get dirty(){return Su(this)}}let ng=0,co,uo;function rg(e,t=!1){if(e.flags|=8,t){e.next=uo,uo=e;return}e.next=co,co=e}function Gl(){ng++}function Kl(){if(--ng>0)return;if(uo){let t=uo;for(uo=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;co;){let t=co;for(co=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 sg(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function og(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),Yl(r),ov(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function Su(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ig(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ig(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Io))return;e.globalVersion=Io;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Su(e)){e.flags&=-3;return}const n=Me,r=Gt;Me=e,Gt=!0;try{sg(e);const s=e.fn(e._value);(t.version===0||wt(s,e._value))&&(e._value=s,t.version++)}catch(s){throw t.version++,s}finally{Me=n,Gt=r,og(e),e.flags&=-3}}function Yl(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 o=n.computed.deps;o;o=o.nextDep)Yl(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function ov(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Gt=!0;const ag=[];function ur(){ag.push(Gt),Gt=!1}function lr(){const e=ag.pop();Gt=e===void 0?!0:e}function wd(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Me;Me=void 0;try{t()}finally{Me=n}}}let Io=0;class iv{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 Ja{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!Me||!Gt||Me===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Me)n=this.activeLink=new iv(Me,this),Me.deps?(n.prevDep=Me.depsTail,Me.depsTail.nextDep=n,Me.depsTail=n):Me.deps=Me.depsTail=n,cg(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=Me.depsTail,n.nextDep=void 0,Me.depsTail.nextDep=n,Me.depsTail=n,Me.deps===n&&(Me.deps=r)}return n}trigger(t){this.version++,Io++,this.notify(t)}notify(t){Gl();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Kl()}}}function cg(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)cg(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const oa=new WeakMap,xr=Symbol(""),Eu=Symbol(""),xo=Symbol("");function ut(e,t,n){if(Gt&&Me){let r=oa.get(e);r||oa.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new Ja),s.map=r,s.key=n),s.track()}}function _n(e,t,n,r,s,o){const i=oa.get(e);if(!i){Io++;return}const a=c=>{c&&c.trigger()};if(Gl(),t==="clear")i.forEach(a);else{const c=te(e),l=c&&Wl(n);if(c&&n==="length"){const f=Number(r);
vendor: 4,363 bytes, line 9
9i.forEach((u,d)=>{(d==="length"||d===xo||!Kt(d)&&d>=f)&&a(u)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),l&&a(i.get(xo)),t){case"add":c?l&&a(i.get("length")):(a(i.get(xr)),ps(e)&&a(i.get(Eu)));break;case"delete":c||(a(i.get(xr)),ps(e)&&a(i.get(Eu)));break;case"set":ps(e)&&a(i.get(xr));break}}Kl()}function av(e,t){const n=oa.get(e);return n&&n.get(t)}function Xr(e){const t=Se(e);return t===e?t:(ut(t,"iterate",xo),Ht(e)?t:t.map(lt))}function Qa(e){return ut(e=Se(e),"iterate",xo),e}const cv={__proto__:null,[Symbol.iterator](){return Oc(this,Symbol.iterator,lt)},concat(...e){return Xr(this).concat(...e.map(t=>te(t)?Xr(t):t))},entries(){return Oc(this,"entries",e=>(e[1]=lt(e[1]),e))},every(e,t){return cn(this,"every",e,t,void 0,arguments)},filter(e,t){return cn(this,"filter",e,t,n=>n.map(lt),arguments)},find(e,t){return cn(this,"find",e,t,lt,arguments)},findIndex(e,t){return cn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return cn(this,"findLast",e,t,lt,arguments)},findLastIndex(e,t){return cn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return cn(this,"forEach",e,t,void 0,arguments)},includes(...e){return Pc(this,"includes",e)},indexOf(...e){return Pc(this,"indexOf",e)},join(e){return Xr(this).join(e)},lastIndexOf(...e){return Pc(this,"lastIndexOf",e)},map(e,t){return cn(this,"map",e,t,void 0,arguments)},pop(){return Qs(this,"pop")},push(...e){return Qs(this,"push",e)},reduce(e,...t){return Td(this,"reduce",e,t)},reduceRight(e,...t){return Td(this,"reduceRight",e,t)},shift(){return Qs(this,"shift")},some(e,t){return cn(this,"some",e,t,void 0,arguments)},splice(...e){return Qs(this,"splice",e)},toReversed(){return Xr(this).toReversed()},toSorted(e){return Xr(this).toSorted(e)},toSpliced(...e){return Xr(this).toSpliced(...e)},unshift(...e){return Qs(this,"unshift",e)},values(){return Oc(this,"values",lt)}};function Oc(e,t,n){const r=Qa(e),s=r[t]();return r!==e&&!Ht(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.value&&(o.value=n(o.value)),o}),s}const uv=Array.prototype;function cn(e,t,n,r,s,o){const i=Qa(e),a=i!==e&&!Ht(e),c=i[t];if(c!==uv[t]){const u=c.apply(e,o);return a?lt(u):u}let l=n;i!==e&&(a?l=function(u,d){return n.call(this,lt(u),d,e)}:n.length>2&&(l=function(u,d){return n.call(this,u,d,e)}));const f=c.call(i,l,r);return a&&s?s(f):f}function Td(e,t,n,r){const s=Qa(e);let o=n;return s!==e&&(Ht(e)?n.length>3&&(o=function(i,a,c){return n.call(this,i,a,c,e)}):o=function(i,a,c){return n.call(this,i,lt(a),c,e)}),s[t](o,...r)}function Pc(e,t,n){const r=Se(e);ut(r,"iterate",xo);const s=r[t](...n);return(s===-1||s===!1)&&Ql(n[0])?(n[0]=Se(n[0]),r[t](...n)):s}function Qs(e,t,n=[]){ur(),Gl();const r=Se(e)[t].apply(e,n);return Kl(),lr(),r}const lv=Ul("__proto__,__v_isRef,__isVue"),ug=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Kt));function fv(e){Kt(e)||(e=String(e));const t=Se(this);return ut(t,"has",e),t.hasOwnProperty(e)}class lg{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,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?Ev:hg:o?pg:dg).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=te(t);if(!s){let c;if(i&&(c=cv[n]))return c;if(n==="hasOwnProperty")return fv}const a=Reflect.get(t,n,st(t)?t:r);return(Kt(n)?ug.has(n):lv(n))||(s||ut(t,"get",n),o)?a:st(a)?i&&Wl(n)?a:a.value:ke(a)?s?mg(a):Vr(a):a}}class fg extends lg{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._isShallow){const c=$r(o);if(!Ht(r)&&!$r(r)&&(o=Se(o),r=Se(r)),!te(t)&&st(o)&&!st(r))return c?!1:(o.value=r,!0)}const i=te(t)&&Wl(n)?Number(n)<t.length:we(t,n),a=Reflect.set(t,n,r,st(t)?t:s);return t===Se(s)&&(i?wt(r,o)&&_n(t,"set",n,r):_n(t,"add",n,r)),a}deleteProperty(t,n){const r=we(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&_n(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!Kt(n)||!ug.has(n))&&ut(t,"has",n),r}ownKeys(t){return ut(t,"iterate",te(t)?"length":xr),Reflect.ownKeys(t)}}class dv extends lg{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const pv=new fg,hv=new dv,mv=new fg(!0);const vu=e=>e,ui=e=>Reflect.getPrototypeOf(e);
vendor: 36,145 bytes, lines 9-14
9function gv(e,t,n){return function(...r){const s=this.__v_raw,o=Se(s),i=ps(o),a=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,l=s[e](...r),f=n?vu:t?wu:lt;return!t&&ut(o,"iterate",c?Eu:xr),{next(){const{value:u,done:d}=l.next();return d?{value:u,done:d}:{value:a?[f(u[0]),f(u[1])]:f(u),done:d}},[Symbol.iterator](){return this}}}}function li(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function _v(e,t){const n={get(s){const o=this.__v_raw,i=Se(o),a=Se(s);e||(wt(s,a)&&ut(i,"get",s),ut(i,"get",a));const{has:c}=ui(i),l=t?vu:e?wu:lt;if(c.call(i,s))return l(o.get(s));if(c.call(i,a))return l(o.get(a));o!==i&&o.get(s)},get size(){const s=this.__v_raw;return!e&&ut(Se(s),"iterate",xr),Reflect.get(s,"size",s)},has(s){const o=this.__v_raw,i=Se(o),a=Se(s);return e||(wt(s,a)&&ut(i,"has",s),ut(i,"has",a)),s===a?o.has(s):o.has(s)||o.has(a)},forEach(s,o){const i=this,a=i.__v_raw,c=Se(a),l=t?vu:e?wu:lt;return!e&&ut(c,"iterate",xr),a.forEach((f,u)=>s.call(o,l(f),l(u),i))}};return Ge(n,e?{add:li("add"),set:li("set"),delete:li("delete"),clear:li("clear")}:{add(s){!t&&!Ht(s)&&!$r(s)&&(s=Se(s));const o=Se(this);return ui(o).has.call(o,s)||(o.add(s),_n(o,"add",s,s)),this},set(s,o){!t&&!Ht(o)&&!$r(o)&&(o=Se(o));const i=Se(this),{has:a,get:c}=ui(i);let l=a.call(i,s);l||(s=Se(s),l=a.call(i,s));const f=c.call(i,s);return i.set(s,o),l?wt(o,f)&&_n(i,"set",s,o):_n(i,"add",s,o),this},delete(s){const o=Se(this),{has:i,get:a}=ui(o);let c=i.call(o,s);c||(s=Se(s),c=i.call(o,s)),a&&a.call(o,s);const l=o.delete(s);return c&&_n(o,"delete",s,void 0),l},clear(){const s=Se(this),o=s.size!==0,i=s.clear();return o&&_n(s,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=gv(s,e,t)}),n}function Xl(e,t){const n=_v(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(we(n,s)&&s in r?n:r,s,o)}const yv={get:Xl(!1,!1)},bv={get:Xl(!1,!0)},Sv={get:Xl(!0,!1)};const dg=new WeakMap,pg=new WeakMap,hg=new WeakMap,Ev=new WeakMap;function vv(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function wv(e){return e.__v_skip||!Object.isExtensible(e)?0:vv(GE(e))}function Vr(e){return $r(e)?e:Jl(e,!1,pv,yv,dg)}function os(e){return Jl(e,!1,mv,bv,pg)}function mg(e){return Jl(e,!0,hv,Sv,hg)}function Jl(e,t,n,r,s){if(!ke(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=wv(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return s.set(e,a),a}function Rr(e){return $r(e)?Rr(e.__v_raw):!!(e&&e.__v_isReactive)}function $r(e){return!!(e&&e.__v_isReadonly)}function Ht(e){return!!(e&&e.__v_isShallow)}function Ql(e){return e?!!e.__v_raw:!1}function Se(e){const t=e&&e.__v_raw;return t?Se(t):e}function Tv(e){return!we(e,"__v_skip")&&Object.isExtensible(e)&&Km(e,"__v_skip",!0),e}const lt=e=>ke(e)?Vr(e):e,wu=e=>ke(e)?mg(e):e;function st(e){return e?e.__v_isRef===!0:!1}function Sn(e){return _g(e,!1)}function gg(e){return _g(e,!0)}function _g(e,t){return st(e)?e:new Cv(e,t)}class Cv{constructor(t,n){this.dep=new Ja,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Se(t),this._value=n?t:lt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Ht(t)||$r(t);t=r?t:Se(t),wt(t,n)&&(this._rawValue=t,this._value=r?t:lt(t),this.dep.trigger())}}function WH(e){e.dep&&e.dep.trigger()}function En(e){return st(e)?e.value:e}function VH(e){return ae(e)?e():En(e)}const kv={get:(e,t,n)=>t==="__v_raw"?e:En(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return st(s)&&!st(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function yg(e){return Rr(e)?e:new Proxy(e,kv)}class Iv{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Ja,{get:r,set:s}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=s}get value(){return this._value=this._get()}set value(t){this._set(t)}}function xv(e){return new Iv(e)}function zH(e){const t=te(e)?new Array(e.length):{};for(const n in e)t[n]=bg(e,n);return t}class Rv{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 av(Se(this._object),this._key)}}class Av{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 Mv(e,t,n){return st(e)?e:ae(e)?new Av(e):ke(e)&&arguments.length>1?bg(e,t,n):Sn(e)}function bg(e,t,n){const r=e[t];return st(r)?r:new Rv(e,t,n)}class Ov{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Ja(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Io-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Me!==this)return rg(this,!0),!0}get value(){const t=this.dep.track();return ig(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Pv(e,t,n=!1){let r,s;return ae(e)?r=e:(r=e.get,s=e.set),new Ov(r,s,n)}const fi={},ia=new WeakMap;let Tr;function Nv(e,t=!1,n=Tr){if(n){let r=ia.get(n);r||ia.set(n,r=[]),r.push(e)}}function Lv(e,t,n=Ee){const{immediate:r,deep:s,once:o,scheduler:i,augmentJob:a,call:c}=n,l=b=>s?b:Ht(b)||s===!1||s===0?yn(b,1):yn(b);let f,u,d,p,h=!1,m=!1;if(st(e)?(u=()=>e.value,h=Ht(e)):Rr(e)?(u=()=>l(e),h=!0):te(e)?(m=!0,h=e.some(b=>Rr(b)||Ht(b)),u=()=>e.map(b=>{if(st(b))return b.value;if(Rr(b))return l(b);if(ae(b))return c?c(b,2):b()})):ae(e)?t?u=c?()=>c(e,2):e:u=()=>{if(d){ur();try{d()}finally{lr()}}const b=Tr;Tr=f;try{return c?c(e,3,[p]):e(p)}finally{Tr=b}}:u=on,t&&s){const b=u,T=s===!0?1/0:s;u=()=>yn(b(),T)}const w=eg(),v=()=>{f.stop(),w&&w.active&&jl(w.effects,f)};if(o&&t){const b=t;t=(...T)=>{b(...T),v()}}let S=m?new Array(e.length).fill(fi):fi;const g=b=>{if(!(!(f.flags&1)||!f.dirty&&!b))if(t){const T=f.run();if(s||h||(m?T.some((k,x)=>wt(k,S[x])):wt(T,S))){d&&d();const k=Tr;Tr=f;try{const x=[T,S===fi?void 0:m&&S[0]===fi?[]:S,p];c?c(t,3,x):t(...x),S=T}finally{Tr=k}}}else f.run()};return a&&a(g),f=new tg(u),f.scheduler=i?()=>i(g,!1):g,p=b=>Nv(b,!1,f),d=f.onStop=()=>{const b=ia.get(f);if(b){if(c)c(b,4);else for(const T of b)T();ia.delete(f)}},t?r?g(!0):S=f.run():i?i(g.bind(null,!0),!0):f.run(),v.pause=f.pause.bind(f),v.resume=f.resume.bind(f),v.stop=v,v}function yn(e,t=1/0,n){if(t<=0||!ke(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,st(e))yn(e.value,t,n);else if(te(e))for(let r=0;r<e.length;r++)yn(e[r],t,n);else if(Bs(e)||ps(e))e.forEach(r=>{yn(r,t,n)});else if(Gm(e)){for(const r in e)yn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&yn(e[r],t,n)}return e}/**
10* @vue/runtime-core v3.5.13
11* (c) 2018-present Yuxi (Evan) You and Vue contributors
12* @license MIT
13**/function Vo(e,t,n,r){try{return r?e(...r):e()}catch(s){Ws(s,t,n)}}function Yt(e,t,n,r){if(ae(e)){const s=Vo(e,t,n,r);return s&&zm(s)&&s.catch(o=>{Ws(o,t,n)}),s}if(te(e)){const s=[];for(let o=0;o<e.length;o++)s.push(Yt(e[o],t,n,r));return s}}function Ws(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||Ee;if(t){let a=t.parent;const c=t.proxy,l=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const f=a.ec;if(f){for(let u=0;u<f.length;u++)if(f[u](e,c,l)===!1)return}a=a.parent}if(o){ur(),Vo(o,null,10,[e,c,l]),lr();return}}Dv(e,n,s,r,i)}function Dv(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const ht=[];let en=-1;const gs=[];let Bn=null,ts=0;const Sg=Promise.resolve();let aa=null;function Za(e){const t=aa||Sg;return e?t.then(this?e.bind(this):e):t}function $v(e){let t=en+1,n=ht.length;for(;t<n;){const r=t+n>>>1,s=ht[r],o=Ro(s);o<e||o===e&&s.flags&2?t=r+1:n=r}return t}function Zl(e){if(!(e.flags&1)){const t=Ro(e),n=ht[ht.length-1];!n||!(e.flags&2)&&t>=Ro(n)?ht.push(e):ht.splice($v(t),0,e),e.flags|=1,Eg()}}function Eg(){aa||(aa=Sg.then(vg))}function Tu(e){te(e)?gs.push(...e):Bn&&e.id===-1?Bn.splice(ts+1,0,e):e.flags&1||(gs.push(e),e.flags|=1),Eg()}function Cd(e,t,n=en+1){for(;n<ht.length;n++){const r=ht[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;ht.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function ca(e){if(gs.length){const t=[...new Set(gs)].sort((n,r)=>Ro(n)-Ro(r));if(gs.length=0,Bn){Bn.push(...t);return}for(Bn=t,ts=0;ts<Bn.length;ts++){const n=Bn[ts];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Bn=null,ts=0}}const Ro=e=>e.id==null?e.flags&2?-1:1/0:e.id;function vg(e){try{for(en=0;en<ht.length;en++){const t=ht[en];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Vo(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;en<ht.length;en++){const t=ht[en];t&&(t.flags&=-2)}en=-1,ht.length=0,ca(),aa=null,(ht.length||gs.length)&&vg()}}let tt=null,wg=null;function ua(e){const t=tt;return tt=e,wg=e&&e.type.__scopeId||null,t}function Fv(e,t=tt,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Ud(-1);const o=ua(t);let i;try{i=e(...s)}finally{ua(o),r._d&&Ud(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function qH(e,t){if(tt===null)return e;const n=ic(tt),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[o,i,a,c=Ee]=t[s];o&&(ae(o)&&(o={mounted:o,updated:o}),o.deep&&yn(i),r.push({dir:o,instance:n,value:i,oldValue:void 0,arg:a,modifiers:c}))}return e}function tn(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const a=s[i];o&&(a.oldValue=o[i].value);let c=a.dir[r];c&&(ur(),Yt(c,n,8,[e.el,a,e,t]),lr())}}const Tg=Symbol("_vte"),Cg=e=>e.__isTeleport,lo=e=>e&&(e.disabled||e.disabled===""),kd=e=>e&&(e.defer||e.defer===""),Id=e=>typeof SVGElement<"u"&&e instanceof SVGElement,xd=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Cu=(e,t)=>{const n=e&&e.to;return De(n)?t?t(n):null:n},kg={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,o,i,a,c,l){const{mc:f,pc:u,pbc:d,o:{insert:p,querySelector:h,createText:m,createComment:w}}=l,v=lo(t.props);let{shapeFlag:S,children:g,dynamicChildren:b}=t;if(e==null){const T=t.el=m(""),k=t.anchor=m("");p(T,n,r),p(k,n,r);const x=(C,E)=>{S&16&&(s&&s.isCE&&(s.ce._teleportTarget=C),f(g,C,E,s,o,i,a,c))},P=()=>{const C=t.target=Cu(t.props,h),E=Ig(C,t,m,p);C&&(i!=="svg"&&Id(C)?i="svg":i!=="mathml"&&xd(C)&&(i="mathml"),v||(x(C,E),Fi(t,!1)))};v&&(x(n,k),Fi(t,!0)),kd(t.props)?Xe(()=>{P(),t.el.__isMounted=!0},o):P()}else{if(kd(t.props)&&!e.el.__isMounted){Xe(()=>{kg.process(e,t,n,r,s,o,i,a,c,l),delete e.el.__isMounted},o);return}t.el=e.el,t.targetStart=e.targetStart;const T=t.anchor=e.anchor,k=t.target=e.target,x=t.targetAnchor=e.targetAnchor,P=lo(e.props),C=P?n:k,E=P?T:x;if(i==="svg"||Id(k)?i="svg":(i==="mathml"||xd(k))&&(i="mathml"),b?(d(e.dynamicChildren,b,C,s,o,i,a),uf(e,t,!0)):c||u(e,t,C,E,s,o,i,a,!1),v)P?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):di(t,n,T,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const A=t.target=Cu(t.props,h);A&&di(t,A,null,l,0)}else P&&di(t,k,x,l,1);Fi(t,v)}},remove(e,t,n,{um:r,o:{remove:s}},o){const{shapeFlag:i,children:a,anchor:c,targetStart:l,targetAnchor:f,target:u,props:d}=e;if(u&&(s(l),s(f)),o&&s(c),i&16){const p=o||!lo(d);for(let h=0;h<a.length;h++){const m=a[h];r(m,t,n,p,!!m.dynamicChildren)}}},move:di,hydrate:Hv};function di(e,t,n,{o:{insert:r},m:s},o=2){o===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:c,children:l,props:f}=e,u=o===2;if(u&&r(i,t,n),(!u||lo(f))&&c&16)for(let d=0;d<l.length;d++)s(l[d],t,n,2);u&&r(a,t,n)}function Hv(e,t,n,r,s,o,{o:{nextSibling:i,parentNode:a,querySelector:c,insert:l,createText:f}},u){const d=t.target=Cu(t.props,c);if(d){const p=lo(t.props),h=d._lpa||d.firstChild;if(t.shapeFlag&16)if(p)t.anchor=u(i(e),t,a(e),n,r,s,o),t.targetStart=h,t.targetAnchor=h&&i(h);else{t.anchor=i(e);let m=h;for(;m;){if(m&&m.nodeType===8){if(m.data==="teleport start anchor")t.targetStart=m;else if(m.data==="teleport anchor"){t.targetAnchor=m,d._lpa=t.targetAnchor&&i(t.targetAnchor);break}}m=i(m)}t.targetAnchor||Ig(d,t,f,l),u(h&&i(h),t,d,n,r,s,o)}Fi(t,p)}return t.anchor&&i(t.anchor)}const GH=kg;function Fi(e,t){const n=e.ctx;if(n&&n.ut){let r,s;for(t?(r=e.el,s=e.anchor):(r=e.targetStart,s=e.targetAnchor);r&&r!==s;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function Ig(e,t,n,r){const s=t.targetStart=n(""),o=t.targetAnchor=n("");return s[Tg]=o,e&&(r(s,e),r(o,e)),o}const jn=Symbol("_leaveCb"),pi=Symbol("_enterCb");function Uv(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return nc(()=>{e.isMounted=!0}),qo(()=>{e.isUnmounting=!0}),e}const Dt=[Function,Array],xg={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Dt,onEnter:Dt,onAfterEnter:Dt,onEnterCancelled:Dt,onBeforeLeave:Dt,onLeave:Dt,onAfterLeave:Dt,onLeaveCancelled:Dt,onBeforeAppear:Dt,onAppear:Dt,onAfterAppear:Dt,onAppearCancelled:Dt},Rg=e=>{const t=e.subTree;return t.component?Rg(t.component):t},Bv={name:"BaseTransition",props:xg,setup(e,{slots:t}){const n=fr(),r=Uv();return()=>{const s=t.default&&Og(t.default(),!0);if(!s||!s.length)return;const o=Ag(s),i=Se(e),{mode:a}=i;if(r.isLeaving)return Nc(o);const c=Rd(o);if(!c)return Nc(o);let l=ku(c,i,r,n,u=>l=u);c.type!==Ze&&vs(c,l);let f=n.subTree&&Rd(n.subTree);if(f&&f.type!==Ze&&!qt(c,f)&&Rg(n).type!==Ze){let u=ku(f,i,r,n);if(vs(f,u),a==="out-in"&&c.type!==Ze)return r.isLeaving=!0,u.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete u.afterLeave,f=void 0},Nc(o);a==="in-out"&&c.type!==Ze?u.delayLeave=(d,p,h)=>{const m=Mg(r,f);m[String(f.key)]=f,d[jn]=()=>{p(),d[jn]=void 0,delete l.delayedLeave,f=void 0},l.delayedLeave=()=>{h(),delete l.delayedLeave,f=void 0}}:f=void 0}else f&&(f=void 0);return o}}};function Ag(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ze){t=n;break}}return t}const jv=Bv;function Mg(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 ku(e,t,n,r,s){const{appear:o,mode:i,persisted:a=!1,onBeforeEnter:c,onEnter:l,onAfterEnter:f,onEnterCancelled:u,onBeforeLeave:d,onLeave:p,onAfterLeave:h,onLeaveCancelled:m,onBeforeAppear:w,onAppear:v,onAfterAppear:S,onAppearCancelled:g}=t,b=String(e.key),T=Mg(n,e),k=(C,E)=>{C&&Yt(C,r,9,E)},x=(C,E)=>{const A=E[1];k(C,E),te(C)?C.every(I=>I.length<=1)&&A():C.length<=1&&A()},P={mode:i,persisted:a,beforeEnter(C){let E=c;if(!n.isMounted)if(o)E=w||c;else return;C[jn]&&C[jn](!0);const A=T[b];A&&qt(e,A)&&A.el[jn]&&A.el[jn](),k(E,[C])},enter(C){let E=l,A=f,I=u;if(!n.isMounted)if(o)E=v||l,A=S||f,I=g||u;else return;let H=!1;const q=C[pi]=Y=>{H||(H=!0,Y?k(I,[C]):k(A,[C]),P.delayedLeave&&P.delayedLeave(),C[pi]=void 0)};E?x(E,[C,q]):q()},leave(C,E){const A=String(e.key);if(C[pi]&&C[pi](!0),n.isUnmounting)return E();k(d,[C]);let I=!1;const H=C[jn]=q=>{I||(I=!0,E(),q?k(m,[C]):k(h,[C]),C[jn]=void 0,T[A]===e&&delete T[A])};T[A]=e,p?x(p,[C,H]):H()},clone(C){const E=ku(C,t,n,r,s);return s&&s(E),E}};return P}function Nc(e){if(zo(e))return e=Cn(e),e.children=null,e}function Rd(e){if(!zo(e))return Cg(e.type)&&e.children?Ag(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ae(n.default))return n.default()}}function vs(e,t){e.shapeFlag&6&&e.component?(e.transition=t,vs(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 Og(e,t=!1,n){let r=[],s=0;for(let o=0;o<e.length;o++){let i=e[o];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===mt?(i.patchFlag&128&&s++,r=r.concat(Og(i.children,t,a))):(t||i.type!==Ze)&&r.push(a!=null?Cn(i,{key:a}):i)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function ec(e,t){return ae(e)?Ge({name:e.name},t,{setup:e}):e}function KH(){const e=fr();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function ef(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function YH(e){const t=fr(),n=gg(null);if(t){const s=t.refs===Ee?t.refs={}:t.refs;Object.defineProperty(s,e,{enumerable:!0,get:()=>n.value,set:o=>n.value=o})}return n}function Ao(e,t,n,r,s=!1){if(te(e)){e.forEach((h,m)=>Ao(h,t&&(te(t)?t[m]:t),n,r,s));return}if(Zn(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Ao(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?ic(r.component):r.el,i=s?null:o,{i:a,r:c}=e,l=t&&t.r,f=a.refs===Ee?a.refs={}:a.refs,u=a.setupState,d=Se(u),p=u===Ee?()=>!1:h=>we(d,h);if(l!=null&&l!==c&&(De(l)?(f[l]=null,p(l)&&(u[l]=null)):st(l)&&(l.value=null)),ae(c))Vo(c,a,12,[i,f]);else{const h=De(c),m=st(c);if(h||m){const w=()=>{if(e.f){const v=h?p(c)?u[c]:f[c]:c.value;s?te(v)&&jl(v,o):te(v)?v.includes(o)||v.push(o):h?(f[c]=[o],p(c)&&(u[c]=f[c])):(c.value=[o],e.k&&(f[e.k]=c.value))}else h?(f[c]=i,p(c)&&(u[c]=i)):m&&(c.value=i,e.k&&(f[e.k]=i))};i?(w.id=-1,Xe(w,n)):w()}}}let Ad=!1;const Jr=()=>{Ad||(console.error("Hydration completed but contains mismatches."),Ad=!0)},Wv=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Vv=e=>e.namespaceURI.includes("MathML"),hi=e=>{if(e.nodeType===1){if(Wv(e))return"svg";if(Vv(e))return"mathml"}},is=e=>e.nodeType===8;function zv(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:a,insert:c,createComment:l}}=e,f=(g,b)=>{if(!b.hasChildNodes()){n(null,g,b),ca(),b._vnode=g;return}u(b.firstChild,g,null,null,null),ca(),b._vnode=g},u=(g,b,T,k,x,P=!1)=>{P=P||!!b.dynamicChildren;const C=is(g)&&g.data==="[",E=()=>m(g,b,T,k,x,C),{type:A,ref:I,shapeFlag:H,patchFlag:q}=b;let Y=g.nodeType;b.el=g,q===-2&&(P=!1,b.dynamicChildren=null);let D=null;switch(A){case Mr:Y!==3?b.children===""?(c(b.el=s(""),i(g),g),D=g):D=E():(g.data!==b.children&&(Jr(),g.data=b.children),D=o(g));break;case Ze:S(g)?(D=o(g),v(b.el=g.content.firstChild,g,T)):Y!==8||C?D=E():D=o(g);break;case po:if(C&&(g=o(g),Y=g.nodeType),Y===1||Y===3){D=g;const X=!b.children.length;for(let U=0;U<b.staticCount;U++)X&&(b.children+=D.nodeType===1?D.outerHTML:D.data),U===b.staticCount-1&&(b.anchor=D),D=o(D);return C?o(D):D}else E();break;case mt:C?D=h(g,b,T,k,x,P):D=E();break;default:if(H&1)(Y!==1||b.type.toLowerCase()!==g.tagName.toLowerCase())&&!S(g)?D=E():D=d(g,b,T,k,x,P);else if(H&6){b.slotScopeIds=x;const X=i(g);if(C?D=w(g):is(g)&&g.data==="teleport start"?D=w(g,g.data,"teleport end"):D=o(g),t(b,X,null,T,k,hi(X),P),Zn(b)&&!b.type.__asyncResolved){let U;C?(U=We(mt),U.anchor=D?D.previousSibling:X.lastChild):U=g.nodeType===3?a_(""):We("div"),U.el=g,b.component.subTree=U}}else H&64?Y!==8?D=E():D=b.type.hydrate(g,b,T,k,x,P,e,p):H&128&&(D=b.type.hydrate(g,b,T,k,hi(i(g)),x,P,e,u))}return I!=null&&Ao(I,null,k,b),D},d=(g,b,T,k,x,P)=>{P=P||!!b.dynamicChildren;const{type:C,props:E,patchFlag:A,shapeFlag:I,dirs:H,transition:q}=b,Y=C==="input"||C==="option";if(Y||A!==-1){H&&tn(b,null,T,"created");let D=!1;if(S(g)){D=Xg(null,q)&&T&&T.vnode.props&&T.vnode.props.appear;const U=g.content.firstChild;D&&q.beforeEnter(U),v(U,g,T),b.el=g=U}if(I&16&&!(E&&(E.innerHTML||E.textContent))){let U=p(g.firstChild,b,g,T,k,x,P);for(;U;){mi(g,1)||Jr();const ce=U;U=U.nextSibling,a(ce)}}else if(I&8){let U=b.children;U[0]===`
14`&&(g.tagName==="PRE"||g.tagName==="TEXTAREA")&&(U=U.slice(1)),g.textContent!==U&&(mi(g,0)||Jr(),g.textContent=b.children)}if(E){if(Y||!P||A&48){const U=g.tagName.includes("-");for(const ce in E)(Y&&(ce.endsWith("value")||ce==="indeterminate")||Wo(ce)&&!hs(ce)||ce[0]==="."||U)&&r(g,ce,null,E[ce],void 0,T)}else if(E.onClick)r(g,"onClick",null,E.onClick,void 0,T);else if(A&4&&Rr(E.style))for(const U in E.style)E.style[U]}let X;(X=E&&E.onVnodeBeforeMount)&&vt(X,T,b),H&&tn(b,null,T,"beforeMount"),((X=E&&E.onVnodeMounted)||H||D)&&n_(()=>{X&&vt(X,T,b),D&&q.enter(g),H&&tn(b,null,T,"mounted")},k)}return g.nextSibling},p=(g,b,T,k,x,P,C)=>{C=C||!!b.dynamicChildren;const E=b.children,A=E.length;for(let I=0;I<A;I++){const H=C?E[I]:E[I]=Ot(E[I]),q=H.type===Mr;g?(q&&!C&&I+1<A&&Ot(E[I+1]).type===Mr&&(c(s(g.data.slice(H.children.length)),T,o(g)),g.data=H.children),g=u(g,H,k,x,P,C)):q&&!H.children?c(H.el=s(""),T):(mi(T,1)||Jr(),n(null,H,T,null,k,x,hi(T),P))}return g},h=(g,b,T,k,x,P)=>{const{slotScopeIds:C}=b;C&&(x=x?x.concat(C):C);const E=i(g),A=p(o(g),b,E,T,k,x,P);return A&&is(A)&&A.data==="]"?o(b.anchor=A):(Jr(),c(b.anchor=l("]"),E,A),A)},m=(g,b,T,k,x,P)=>{if(mi(g.parentElement,1)||Jr(),b.el=null,P){const A=w(g);for(;;){const I=o(g);if(I&&I!==A)a(I);else break}}const C=o(g),E=i(g);return a(g),n(null,b,E,C,T,k,hi(E),x),T&&(T.vnode.el=b.el,oc(T,b.el)),C},w=(g,b="[",T="]")=>{let k=0;for(;g;)if(g=o(g),g&&is(g)&&(g.data===b&&k++,g.data===T)){if(k===0)return o(g);k--}return g},v=(g,b,T)=>{const k=b.parentNode;k&&k.replaceChild(g,b);let x=T;for(;x;)x.vnode.el===b&&(x.vnode.el=x.subTree.el=g),x=x.parent},S=g=>g.nodeType===1&&g.tagName==="TEMPLATE";return[f,u]}const Md="data-allow-mismatch",qv={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function mi(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Md);)e=e.parentElement;const n=e&&e.getAttribute(Md);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:n.split(",").includes(qv[t])}}Xa().requestIdleCallback;Xa().cancelIdleCallback;function Gv(e,t){if(is(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(is(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const Zn=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function XH(e){ae(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,hydrate:o,timeout:i,suspensible:a=!0,onError:c}=e;let l=null,f,u=0;const d=()=>(u++,l=null,p()),p=()=>{let h;return l||(h=l=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),c)return new Promise((w,v)=>{c(m,()=>w(d()),()=>v(m),u+1)});throw m}).then(m=>h!==l&&l?l:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),f=m,m)))};return ec({name:"AsyncComponentWrapper",__asyncLoader:p,__asyncHydrate(h,m,w){const v=o?()=>{const S=o(w,g=>Gv(h,g));S&&(m.bum||(m.bum=[])).push(S)}:w;f?v():p().then(()=>!m.isUnmounted&&v())},get __asyncResolved(){return f},setup(){const h=et;if(ef(h),f)return()=>Lc(f,h);const m=g=>{l=null,Ws(g,h,13,!r)};if(a&&h.suspense||Ts)return p().then(g=>()=>Lc(g,h)).catch(g=>(m(g),()=>r?We(r,{error:g}):null));const w=Sn(!1),v=Sn(),S=Sn(!!s);return s&&setTimeout(()=>{S.value=!1},s),i!=null&&setTimeout(()=>{if(!w.value&&!v.value){const g=new Error(`Async component timed out after ${i}ms.`);m(g),v.value=g}},i),p().then(()=>{w.value=!0,h.parent&&zo(h.parent.vnode)&&h.parent.update()}).catch(g=>{m(g),v.value=g}),()=>{if(w.value&&f)return Lc(f,h);if(v.value&&r)return We(r,{error:v.value});if(n&&!S.value)return We(n)}}})}function Lc(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=We(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const zo=e=>e.type.__isKeepAlive,Kv={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=fr(),r=n.ctx;if(!r.renderer)return()=>{const S=t.default&&t.default();return S&&S.length===1?S[0]:S};const s=new Map,o=new Set;let i=null;const a=n.suspense,{renderer:{p:c,m:l,um:f,o:{createElement:u}}}=r,d=u("div");r.activate=(S,g,b,T,k)=>{const x=S.component;l(S,g,b,0,a),c(x.vnode,S,g,b,x,a,T,S.slotScopeIds,k),Xe(()=>{x.isDeactivated=!1,x.a&&ms(x.a);const P=S.props&&S.props.onVnodeMounted;P&&vt(P,x.parent,S)},a)},r.deactivate=S=>{const g=S.component;da(g.m),da(g.a),l(S,d,null,1,a),Xe(()=>{g.da&&ms(g.da);const b=S.props&&S.props.onVnodeUnmounted;b&&vt(b,g.parent,S),g.isDeactivated=!0},a)};function p(S){Dc(S),f(S,n,a,!0)}function h(S){s.forEach((g,b)=>{const T=Lu(g.type);T&&!S(T)&&m(b)})}function m(S){const g=s.get(S);g&&(!i||!qt(g,i))?p(g):i&&Dc(i),s.delete(S),o.delete(S)}_s(()=>[e.include,e.exclude],([S,g])=>{S&&h(b=>so(S,b)),g&&h(b=>!so(g,b))},{flush:"post",deep:!0});let w=null;const v=()=>{w!=null&&(pa(n.subTree.type)?Xe(()=>{s.set(w,gi(n.subTree))},n.subTree.suspense):s.set(w,gi(n.subTree)))};return nc(v),Ng(v),qo(()=>{s.forEach(S=>{const{subTree:g,suspense:b}=n,T=gi(g);if(S.type===T.type&&S.key===T.key){Dc(T);const k=T.component.da;k&&Xe(k,b);return}p(S)})}),()=>{if(w=null,!t.default)return i=null;const S=t.default(),g=S[0];if(S.length>1)return i=null,S;if(!Fr(g)||!(g.shapeFlag&4)&&!(g.shapeFlag&128))return i=null,g;let b=gi(g);if(b.type===Ze)return i=null,b;const T=b.type,k=Lu(Zn(b)?b.type.__asyncResolved||{}:T),{include:x,exclude:P,max:C}=e;if(x&&(!k||!so(x,k))||P&&k&&so(P,k))return b.shapeFlag&=-257,i=b,g;const E=b.key==null?T:b.key,A=s.get(E);return b.el&&(b=Cn(b),g.shapeFlag&128&&(g.ssContent=b)),w=E,A?(b.el=A.el,b.component=A.component,b.transition&&vs(b,b.transition),b.shapeFlag|=512,o.delete(E),o.add(E)):(o.add(E),C&&o.size>parseInt(C,10)&&m(o.values().next().value)),b.shapeFlag|=256,i=b,pa(g.type)?g:b}}},JH=Kv;function so(e,t){return te(e)?e.some(n=>so(n,t)):De(e)?e.split(",").includes(t):qE(e)?(e.lastIndex=0,e.test(t)):!1}function tf(e,t){Pg(e,"a",t)}function nf(e,t){Pg(e,"da",t)}function Pg(e,t,n=et){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(tc(t,r,n),n){let s=n.parent;for(;s&&s.parent;)zo(s.parent.vnode)&&Yv(r,t,n,s),s=s.parent}}function Yv(e,t,n,r){const s=tc(t,e,r,!0);rf(()=>{jl(r[t],s)},n)}function Dc(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function gi(e){return e.shapeFlag&128?e.ssContent:e}function tc(e,t,n=et,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{ur();const a=Go(n),c=Yt(t,n,e,i);return a(),lr(),c});return r?s.unshift(o):s.push(o),o}}const Dn=e=>(t,n=et)=>{(!Ts||e==="sp")&&tc(e,(...r)=>t(...r),n)},Xv=Dn("bm"),nc=Dn("m"),Jv=Dn("bu"),Ng=Dn("u"),qo=Dn("bum"),rf=Dn("um"),Qv=Dn("sp"),Zv=Dn("rtg"),e0=Dn("rtc");function t0(e,t=et){tc("ec",e,t)}const sf="components",n0="directives";function Od(e,t){return of(sf,e,!0,t)||e}const Lg=Symbol.for("v-ndc");function QH(e){return De(e)?of(sf,e,!1)||e:e||Lg}function ZH(e){return of(n0,e)}function of(e,t,n=!0,r=!1){const s=tt||et;if(s){const o=s.type;if(e===sf){const a=Lu(o,!1);if(a&&(a===t||a===Nt(t)||a===Ya(Nt(t))))return o}const i=Pd(s[e]||o[e],t)||Pd(s.appContext[e],t);return!i&&r?o:i}}function Pd(e,t){return e&&(e[t]||e[Nt(t)]||e[Ya(Nt(t))])}function e2(e,t,n,r){let s;const o=n,i=te(e);if(i||De(e)){const a=i&&Rr(e);let c=!1;a&&(c=!Ht(e),e=Qa(e)),s=new Array(e.length);for(let l=0,f=e.length;l<f;l++)s[l]=t(c?lt(e[l]):e[l],l,void 0,o)}else if(typeof e=="number"){s=new Array(e);for(let a=0;a<e;a++)s[a]=t(a+1,a,void 0,o)}else if(ke(e))if(e[Symbol.iterator])s=Array.from(e,(a,c)=>t(a,c,void 0,o));else{const a=Object.keys(e);s=new Array(a.length);for(let c=0,l=a.length;c<l;c++){const f=a[c];s[c]=t(e[f],f,c,o)}}else s=[];return s}function t2(e,t,n={},r,s){if(tt.ce||tt.parent&&Zn(tt.parent)&&tt.parent.ce)return t!=="default"&&(n.name=t),ha(),Ou(mt,null,[We("slot",n,r&&r())],64);let o=e[t];o&&o._c&&(o._d=!1),ha();const i=o&&Dg(o(n)),a=n.key||i&&i.key,c=Ou(mt,{key:(a&&!Kt(a)?a:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),o&&o._c&&(o._d=!0),c}function Dg(e){return e.some(t=>Fr(t)?!(t.type===Ze||t.type===mt&&!Dg(t.children)):!0)?e:null}const Iu=e=>e?c_(e)?ic(e):Iu(e.parent):null,fo=Ge(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=>Iu(e.parent),$root:e=>Iu(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>af(e),$forceUpdate:e=>e.f||(e.f=()=>{Zl(e.update)}),$nextTick:e=>e.n||(e.n=Za.bind(e.proxy)),$watch:e=>C0.bind(e)}),$c=(e,t)=>e!==Ee&&!e.__isScriptSetup&&we(e,t),r0={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:a,appContext:c}=e;let l;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if($c(r,t))return i[t]=1,r[t];if(s!==Ee&&we(s,t))return i[t]=2,s[t];if((l=e.propsOptions[0])&&we(l,t))return i[t]=3,o[t];if(n!==Ee&&we(n,t))return i[t]=4,n[t];xu&&(i[t]=0)}}const f=fo[t];let u,d;if(f)return t==="$attrs"&&ut(e.attrs,"get",""),f(e);if((u=a.__cssModules)&&(u=u[t]))return u;if(n!==Ee&&we(n,t))return i[t]=4,n[t];if(d=c.config.globalProperties,we(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return $c(s,t)?(s[t]=n,!0):r!==Ee&&we(r,t)?(r[t]=n,!0):we(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let a;return!!n[i]||e!==Ee&&we(e,i)||$c(t,i)||(a=o[0])&&we(a,i)||we(r,i)||we(fo,i)||we(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:we(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function n2(){return s0().slots}function s0(){const e=fr();return e.setupContext||(e.setupContext=l_(e))}function la(e){return te(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function r2(e,t){return!e||!t?e||t:te(e)&&te(t)?e.concat(t):Ge({},la(e),la(t))}let xu=!0;function o0(e){const t=af(e),n=e.proxy,r=e.ctx;xu=!1,t.beforeCreate&&Nd(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:a,provide:c,inject:l,created:f,beforeMount:u,mounted:d,beforeUpdate:p,updated:h,activated:m,deactivated:w,beforeDestroy:v,beforeUnmount:S,destroyed:g,unmounted:b,render:T,renderTracked:k,renderTriggered:x,errorCaptured:P,serverPrefetch:C,expose:E,inheritAttrs:A,components:I,directives:H,filters:q}=t;if(l&&i0(l,r,null),i)for(const X in i){const U=i[X];ae(U)&&(r[X]=U.bind(n))}if(s){const X=s.call(n,n);ke(X)&&(e.data=Vr(X))}if(xu=!0,o)for(const X in o){const U=o[X],ce=ae(U)?U.bind(n,n):ae(U.get)?U.get.bind(n,n):on,Pe=!ae(U)&&ae(U.set)?U.set.bind(n):on,He=Je({get:ce,set:Pe});Object.defineProperty(r,X,{enumerable:!0,configurable:!0,get:()=>He.value,set:Ue=>He.value=Ue})}if(a)for(const X in a)$g(a[X],r,n,X);if(c){const X=ae(c)?c.call(n):c;Reflect.ownKeys(X).forEach(U=>{Hi(U,X[U])})}f&&Nd(f,e,"c");function D(X,U){te(U)?U.forEach(ce=>X(ce.bind(n))):U&&X(U.bind(n))}if(D(Xv,u),D(nc,d),D(Jv,p),D(Ng,h),D(tf,m),D(nf,w),D(t0,P),D(e0,k),D(Zv,x),D(qo,S),D(rf,b),D(Qv,C),te(E))if(E.length){const X=e.exposed||(e.exposed={});E.forEach(U=>{Object.defineProperty(X,U,{get:()=>n[U],set:ce=>n[U]=ce})})}else e.exposed||(e.exposed={});T&&e.render===on&&(e.render=T),A!=null&&(e.inheritAttrs=A),I&&(e.components=I),H&&(e.directives=H),C&&ef(e)}function i0(e,t,n=on){te(e)&&(e=Ru(e));for(const r in e){const s=e[r];let o;ke(s)?"default"in s?o=Ct(s.from||r,s.default,!0):o=Ct(s.from||r):o=Ct(s),st(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function Nd(e,t,n){Yt(te(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function $g(e,t,n,r){let s=r.includes(".")?Qg(n,r):()=>n[r];if(De(e)){const o=t[e];ae(o)&&_s(s,o)}else if(ae(e))_s(s,e.bind(n));else if(ke(e))if(te(e))e.forEach(o=>$g(o,t,n,r));else{const o=ae(e.handler)?e.handler.bind(n):t[e.handler];ae(o)&&_s(s,o,e)}}function af(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let c;return a?c=a:!s.length&&!n&&!r?c=t:(c={},s.length&&s.forEach(l=>fa(c,l,i,!0)),fa(c,t,i)),ke(t)&&o.set(t,c),c}function fa(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&fa(e,o,n,!0),s&&s.forEach(i=>fa(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=a0[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const a0={data:Ld,props:Dd,emits:Dd,methods:oo,computed:oo,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:oo,directives:oo,watch:u0,provide:Ld,inject:c0};function Ld(e,t){return t?e?function(){return Ge(ae(e)?e.call(this,this):e,ae(t)?t.call(this,this):t)}:t:e}function c0(e,t){return oo(Ru(e),Ru(t))}function Ru(e){if(te(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ft(e,t){return e?[...new Set([].concat(e,t))]:t}function oo(e,t){return e?Ge(Object.create(null),e,t):t}function Dd(e,t){return e?te(e)&&te(t)?[...new Set([...e,...t])]:Ge(Object.create(null),la(e),la(t??{})):t}function u0(e,t){if(!e)return t;if(!t)return e;const n=Ge(Object.create(null),e);for(const r in t)n[r]=ft(e[r],t[r]);return n}function Fg(){return{app:null,config:{isNativeTag:VE,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let l0=0;function f0(e,t){return function(r,s=null){ae(r)||(r=Ge({},r)),s!=null&&!ke(s)&&(s=null);const o=Fg(),i=new WeakSet,a=[];let c=!1;const l=o.app={_uid:l0++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:f_,get config(){return o.config},set config(f){},use(f,...u){return i.has(f)||(f&&ae(f.install)?(i.add(f),f.install(l,...u)):ae(f)&&(i.add(f),f(l,...u))),l},mixin(f){return o.mixins.includes(f)||o.mixins.push(f),l},component(f,u){return u?(o.components[f]=u,l):o.components[f]},directive(f,u){return u?(o.directives[f]=u,l):o.directives[f]},mount(f,u,d){if(!c){const p=l._ceVNode||We(r,s);return p.appContext=o,d===!0?d="svg":d===!1&&(d=void 0),u&&t?t(p,f):e(p,f,d),c=!0,l._container=f,f.__vue_app__=l,ic(p.component)}},onUnmount(f){a.push(f)},unmount(){c&&(Yt(a,l._instance,16),e(null,l._container),delete l._container.__vue_app__)},provide(f,u){return o.provides[f]=u,l},runWithContext(f){const u=Ar;Ar=l;try{return f()}finally{Ar=u}}};return l}}let Ar=null;function Hi(e,t){if(et){let n=et.provides;const r=et.parent&&et.parent.provides;r===n&&(n=et.provides=Object.create(r)),n[e]=t}}function Ct(e,t,n=!1){const r=et||tt;if(r||Ar){const s=Ar?Ar._context.provides:r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&ae(t)?t.call(r&&r.proxy):t}}function Hg(){return!!(et||tt||Ar)}const Ug={},Bg=()=>Object.create(Ug),jg=e=>Object.getPrototypeOf(e)===Ug;function d0(e,t,n,r=!1){const s={},o=Bg();e.propsDefaults=Object.create(null),Wg(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:os(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function p0(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=Se(s),[c]=e.propsOptions;let l=!1;if((r||i>0)&&!(i&16)){if(i&8){const f=e.vnode.dynamicProps;for(let u=0;u<f.length;u++){let d=f[u];if(sc(e.emitsOptions,d))continue;const p=t[d];if(c)if(we(o,d))p!==o[d]&&(o[d]=p,l=!0);else{const h=Nt(d);s[h]=Au(c,a,h,p,e,!1)}else p!==o[d]&&(o[d]=p,l=!0)}}}else{Wg(e,t,s,o)&&(l=!0);let f;for(const u in a)(!t||!we(t,u)&&((f=Ln(u))===u||!we(t,f)))&&(c?n&&(n[u]!==void 0||n[f]!==void 0)&&(s[u]=Au(c,a,u,void 0,e,!0)):delete s[u]);if(o!==a)for(const u in o)(!t||!we(t,u))&&(delete o[u],l=!0)}l&&_n(e.attrs,"set","")}function Wg(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,a;if(t)for(let c in t){if(hs(c))continue;const l=t[c];let f;s&&we(s,f=Nt(c))?!o||!o.includes(f)?n[f]=l:(a||(a={}))[f]=l:sc(e.emitsOptions,c)||(!(c in r)||l!==r[c])&&(r[c]=l,i=!0)}if(o){const c=Se(n),l=a||Ee;for(let f=0;f<o.length;f++){const u=o[f];n[u]=Au(s,c,u,l[u],e,!we(l,u))}}return i}function Au(e,t,n,r,s,o){const i=e[n];if(i!=null){const a=we(i,"default");if(a&&r===void 0){const c=i.default;if(i.type!==Function&&!i.skipFactory&&ae(c)){const{propsDefaults:l}=s;if(n in l)r=l[n];else{const f=Go(s);r=l[n]=c.call(null,t),f()}}else r=c;s.ce&&s.ce._setProp(n,r)}i[0]&&(o&&!a?r=!1:i[1]&&(r===""||r===Ln(n))&&(r=!0))}return r}const h0=new WeakMap;function Vg(e,t,n=!1){const r=n?h0:t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},a=[];let c=!1;if(!ae(e)){const f=u=>{c=!0;const[d,p]=Vg(u,t,!0);Ge(i,d),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!o&&!c)return ke(e)&&r.set(e,ds),ds;
vendor: 5,359 bytes, line 14
14if(te(o))for(let f=0;f<o.length;f++){const u=Nt(o[f]);$d(u)&&(i[u]=Ee)}else if(o)for(const f in o){const u=Nt(f);if($d(u)){const d=o[f],p=i[u]=te(d)||ae(d)?{type:d}:Ge({},d),h=p.type;let m=!1,w=!0;if(te(h))for(let v=0;v<h.length;++v){const S=h[v],g=ae(S)&&S.name;if(g==="Boolean"){m=!0;break}else g==="String"&&(w=!1)}else m=ae(h)&&h.name==="Boolean";p[0]=m,p[1]=w,(m||we(p,"default"))&&a.push(u)}}const l=[i,a];return ke(e)&&r.set(e,l),l}function $d(e){return e[0]!=="$"&&!hs(e)}const zg=e=>e[0]==="_"||e==="$stable",cf=e=>te(e)?e.map(Ot):[Ot(e)],m0=(e,t,n)=>{if(t._n)return t;const r=Fv((...s)=>cf(t(...s)),n);return r._c=!1,r},qg=(e,t,n)=>{const r=e._ctx;for(const s in e){if(zg(s))continue;const o=e[s];if(ae(o))t[s]=m0(s,o,r);else if(o!=null){const i=cf(o);t[s]=()=>i}}},Gg=(e,t)=>{const n=cf(t);e.slots.default=()=>n},Kg=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},g0=(e,t,n)=>{const r=e.slots=Bg();if(e.vnode.shapeFlag&32){const s=t._;s?(Kg(r,t,n),n&&Km(r,"_",s,!0)):qg(t,r)}else t&&Gg(e,t)},_0=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=Ee;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:Kg(s,t,n):(o=!t.$stable,qg(t,s)),i=t}else t&&(Gg(e,t),i={default:1});if(o)for(const a in s)!zg(a)&&i[a]==null&&delete s[a]},Xe=n_;function y0(e){return Yg(e)}function b0(e){return Yg(e,zv)}function Yg(e,t){const n=Xa();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:c,setText:l,setElementText:f,parentNode:u,nextSibling:d,setScopeId:p=on,insertStaticContent:h}=e,m=(_,y,R,$=null,O=null,B=null,z=void 0,F=null,W=!!y.dynamicChildren)=>{if(_===y)return;_&&!qt(_,y)&&($=L(_),Ue(_,O,B,!0),_=null),y.patchFlag===-2&&(W=!1,y.dynamicChildren=null);const{type:M,ref:K,shapeFlag:j}=y;switch(M){case Mr:w(_,y,R,$);break;case Ze:v(_,y,R,$);break;case po:_==null&&S(y,R,$,z);break;case mt:I(_,y,R,$,O,B,z,F,W);break;default:j&1?T(_,y,R,$,O,B,z,F,W):j&6?H(_,y,R,$,O,B,z,F,W):(j&64||j&128)&&M.process(_,y,R,$,O,B,z,F,W,Q)}K!=null&&O&&Ao(K,_&&_.ref,B,y||_,!y)},w=(_,y,R,$)=>{if(_==null)r(y.el=a(y.children),R,$);else{const O=y.el=_.el;y.children!==_.children&&l(O,y.children)}},v=(_,y,R,$)=>{_==null?r(y.el=c(y.children||""),R,$):y.el=_.el},S=(_,y,R,$)=>{[_.el,_.anchor]=h(_.children,y,R,$,_.el,_.anchor)},g=({el:_,anchor:y},R,$)=>{let O;for(;_&&_!==y;)O=d(_),r(_,R,$),_=O;r(y,R,$)},b=({el:_,anchor:y})=>{let R;for(;_&&_!==y;)R=d(_),s(_),_=R;s(y)},T=(_,y,R,$,O,B,z,F,W)=>{y.type==="svg"?z="svg":y.type==="math"&&(z="mathml"),_==null?k(y,R,$,O,B,z,F,W):C(_,y,O,B,z,F,W)},k=(_,y,R,$,O,B,z,F)=>{let W,M;const{props:K,shapeFlag:j,transition:ee,dirs:ue}=_;if(W=_.el=i(_.type,B,K&&K.is,K),j&8?f(W,_.children):j&16&&P(_.children,W,null,$,O,Fc(_,B),z,F),ue&&tn(_,null,$,"created"),x(W,_,_.scopeId,z,$),K){for(const Re in K)Re!=="value"&&!hs(Re)&&o(W,Re,null,K[Re],B,$);"value"in K&&o(W,"value",null,K.value,B),(M=K.onVnodeBeforeMount)&&vt(M,$,_)}ue&&tn(_,null,$,"beforeMount");const ye=Xg(O,ee);ye&&ee.beforeEnter(W),r(W,y,R),((M=K&&K.onVnodeMounted)||ye||ue)&&Xe(()=>{M&&vt(M,$,_),ye&&ee.enter(W),ue&&tn(_,null,$,"mounted")},O)},x=(_,y,R,$,O)=>{if(R&&p(_,R),$)for(let B=0;B<$.length;B++)p(_,$[B]);if(O){let B=O.subTree;if(y===B||pa(B.type)&&(B.ssContent===y||B.ssFallback===y)){const z=O.vnode;x(_,z,z.scopeId,z.slotScopeIds,O.parent)}}},P=(_,y,R,$,O,B,z,F,W=0)=>{for(let M=W;M<_.length;M++){const K=_[M]=F?Wn(_[M]):Ot(_[M]);m(null,K,y,R,$,O,B,z,F)}},C=(_,y,R,$,O,B,z)=>{const F=y.el=_.el;let{patchFlag:W,dynamicChildren:M,dirs:K}=y;W|=_.patchFlag&16;const j=_.props||Ee,ee=y.props||Ee;let ue;if(R&&yr(R,!1),(ue=ee.onVnodeBeforeUpdate)&&vt(ue,R,y,_),K&&tn(y,_,R,"beforeUpdate"),R&&yr(R,!0),(j.innerHTML&&ee.innerHTML==null||j.textContent&&ee.textContent==null)&&f(F,""),M?E(_.dynamicChildren,M,F,R,$,Fc(y,O),B):z||U(_,y,F,null,R,$,Fc(y,O),B,!1),W>0){if(W&16)A(F,j,ee,R,O);else if(W&2&&j.class!==ee.class&&o(F,"class",null,ee.class,O),W&4&&o(F,"style",j.style,ee.style,O),W&8){const ye=y.dynamicProps;for(let Re=0;Re<ye.length;Re++){const Te=ye[Re],xt=j[Te],ct=ee[Te];(ct!==xt||Te==="value")&&o(F,Te,xt,ct,O,R)}}W&1&&_.children!==y.children&&f(F,y.children)}else!z&&M==null&&A(F,j,ee,R,O);((ue=ee.onVnodeUpdated)||K)&&Xe(()=>{ue&&vt(ue,R,y,_),K&&tn(y,_,R,"updated")},$)},E=(_,y,R,$,O,B,z)=>{for(let F=0;F<y.length;F++){const W=_[F],M=y[F],K=W.el&&(W.type===mt||!qt(W,M)||W.shapeFlag&70)?u(W.el):R;m(W,M,K,null,$,O,B,z,!0)}},A=(_,y,R,$,O)=>{if(y!==R){if(y!==Ee)for(const B in y)!hs(B)&&!(B in R)&&o(_,B,y[B],null,O,$);for(const B in R){if(hs(B))continue;const z=R[B],F=y[B];z!==F&&B!=="value"&&o(_,B,F,z,O,$)}"value"in R&&o(_,"value",y.value,R.value,O)}},I=(_,y,R,$,O,B,z,F,W)=>{const M=y.el=_?_.el:a(""),K=y.anchor=_?_.anchor:a("");let{patchFlag:j,dynamicChildren:ee,slotScopeIds:ue}=y;ue&&(F=F?F.concat(ue):ue),_==null?(r(M,R,$),r(K,R,$),P(y.children||[],R,K,O,B,z,F,W)):j>0&&j&64&&ee&&_.dynamicChildren?(E(_.dynamicChildren,ee,R,O,B,z,F),(y.key!=null||O&&y===O.subTree)&&uf(_,y,!0)):U(_,y,R,K,O,B,z,F,W)},H=(_,y,R,$,O,B,z,F,W)=>{y.slotScopeIds=F,_==null?y.shapeFlag&512?O.ctx.activate(y,R,$,z,W):q(y,R,$,O,B,z,W):Y(_,y,W)},q=(_,y,R,$,O,B,z)=>{const F=_.component=W0(_,$,O);if(zo(_)&&(F.ctx.renderer=Q),V0(F,!1,z),F.asyncDep){if(O&&O.registerDep(F,D,z),!_.el){const W=F.subTree=We(Ze);v(null,W,y,R)}}else D(F,_,y,R,O,B,z)},Y=(_,y,R)=>{const $=y.component=_.component;if(A0(_,y,R))if($.asyncDep&&!$.asyncResolved){X($,y,R);return}
vendor: 21,592 bytes, line 14
14else $.next=y,$.update();else y.el=_.el,$.vnode=y},D=(_,y,R,$,O,B,z)=>{const F=()=>{if(_.isMounted){let{next:j,bu:ee,u:ue,parent:ye,vnode:Re}=_;{const Rt=Jg(_);if(Rt){j&&(j.el=Re.el,X(_,j,z)),Rt.asyncDep.then(()=>{_.isUnmounted||F()});return}}let Te=j,xt;yr(_,!1),j?(j.el=Re.el,X(_,j,z)):j=Re,ee&&ms(ee),(xt=j.props&&j.props.onVnodeBeforeUpdate)&&vt(xt,ye,j,Re),yr(_,!0);const ct=Hc(_),Wt=_.subTree;_.subTree=ct,m(Wt,ct,u(Wt.el),L(Wt),_,O,B),j.el=ct.el,Te===null&&oc(_,ct.el),ue&&Xe(ue,O),(xt=j.props&&j.props.onVnodeUpdated)&&Xe(()=>vt(xt,ye,j,Re),O)}else{let j;const{el:ee,props:ue}=y,{bm:ye,m:Re,parent:Te,root:xt,type:ct}=_,Wt=Zn(y);if(yr(_,!1),ye&&ms(ye),!Wt&&(j=ue&&ue.onVnodeBeforeMount)&&vt(j,Te,y),yr(_,!0),ee&&he){const Rt=()=>{_.subTree=Hc(_),he(ee,_.subTree,_,O,null)};Wt&&ct.__asyncHydrate?ct.__asyncHydrate(ee,_,Rt):Rt()}else{xt.ce&&xt.ce._injectChildStyle(ct);const Rt=_.subTree=Hc(_);m(null,Rt,R,$,_,O,B),y.el=Rt.el}if(Re&&Xe(Re,O),!Wt&&(j=ue&&ue.onVnodeMounted)){const Rt=y;Xe(()=>vt(j,Te,Rt),O)}(y.shapeFlag&256||Te&&Zn(Te.vnode)&&Te.vnode.shapeFlag&256)&&_.a&&Xe(_.a,O),_.isMounted=!0,y=R=$=null}};_.scope.on();const W=_.effect=new tg(F);_.scope.off();const M=_.update=W.run.bind(W),K=_.job=W.runIfDirty.bind(W);K.i=_,K.id=_.uid,W.scheduler=()=>Zl(K),yr(_,!0),M()},X=(_,y,R)=>{y.component=_;const $=_.vnode.props;_.vnode=y,_.next=null,p0(_,y.props,$,R),_0(_,y.children,R),ur(),Cd(_),lr()},U=(_,y,R,$,O,B,z,F,W=!1)=>{const M=_&&_.children,K=_?_.shapeFlag:0,j=y.children,{patchFlag:ee,shapeFlag:ue}=y;if(ee>0){if(ee&128){Pe(M,j,R,$,O,B,z,F,W);return}else if(ee&256){ce(M,j,R,$,O,B,z,F,W);return}}ue&8?(K&16&&Be(M,O,B),j!==M&&f(R,j)):K&16?ue&16?Pe(M,j,R,$,O,B,z,F,W):Be(M,O,B,!0):(K&8&&f(R,""),ue&16&&P(j,R,$,O,B,z,F,W))},ce=(_,y,R,$,O,B,z,F,W)=>{_=_||ds,y=y||ds;const M=_.length,K=y.length,j=Math.min(M,K);let ee;for(ee=0;ee<j;ee++){const ue=y[ee]=W?Wn(y[ee]):Ot(y[ee]);m(_[ee],ue,R,null,O,B,z,F,W)}M>K?Be(_,O,B,!0,!1,j):P(y,R,$,O,B,z,F,W,j)},Pe=(_,y,R,$,O,B,z,F,W)=>{let M=0;const K=y.length;let j=_.length-1,ee=K-1;for(;M<=j&&M<=ee;){const ue=_[M],ye=y[M]=W?Wn(y[M]):Ot(y[M]);if(qt(ue,ye))m(ue,ye,R,null,O,B,z,F,W);else break;M++}for(;M<=j&&M<=ee;){const ue=_[j],ye=y[ee]=W?Wn(y[ee]):Ot(y[ee]);if(qt(ue,ye))m(ue,ye,R,null,O,B,z,F,W);else break;j--,ee--}if(M>j){if(M<=ee){const ue=ee+1,ye=ue<K?y[ue].el:$;for(;M<=ee;)m(null,y[M]=W?Wn(y[M]):Ot(y[M]),R,ye,O,B,z,F,W),M++}}else if(M>ee)for(;M<=j;)Ue(_[M],O,B,!0),M++;else{const ue=M,ye=M,Re=new Map;for(M=ye;M<=ee;M++){const At=y[M]=W?Wn(y[M]):Ot(y[M]);At.key!=null&&Re.set(At.key,M)}let Te,xt=0;const ct=ee-ye+1;let Wt=!1,Rt=0;const Js=new Array(ct);for(M=0;M<ct;M++)Js[M]=0;for(M=ue;M<=j;M++){const At=_[M];if(xt>=ct){Ue(At,O,B,!0);continue}let Qt;if(At.key!=null)Qt=Re.get(At.key);else for(Te=ye;Te<=ee;Te++)if(Js[Te-ye]===0&&qt(At,y[Te])){Qt=Te;break}Qt===void 0?Ue(At,O,B,!0):(Js[Qt-ye]=M+1,Qt>=Rt?Rt=Qt:Wt=!0,m(At,y[Qt],R,null,O,B,z,F,W),xt++)}const bd=Wt?S0(Js):ds;for(Te=bd.length-1,M=ct-1;M>=0;M--){const At=ye+M,Qt=y[At],Sd=At+1<K?y[At+1].el:$;Js[M]===0?m(null,Qt,R,Sd,O,B,z,F,W):Wt&&(Te<0||M!==bd[Te]?He(Qt,R,Sd,2):Te--)}}},He=(_,y,R,$,O=null)=>{const{el:B,type:z,transition:F,children:W,shapeFlag:M}=_;if(M&6){He(_.component.subTree,y,R,$);return}if(M&128){_.suspense.move(y,R,$);return}if(M&64){z.move(_,y,R,Q);return}if(z===mt){r(B,y,R);for(let j=0;j<W.length;j++)He(W[j],y,R,$);r(_.anchor,y,R);return}if(z===po){g(_,y,R);return}if($!==2&&M&1&&F)if($===0)F.beforeEnter(B),r(B,y,R),Xe(()=>F.enter(B),O);else{const{leave:j,delayLeave:ee,afterLeave:ue}=F,ye=()=>r(B,y,R),Re=()=>{j(B,()=>{ye(),ue&&ue()})};ee?ee(B,ye,Re):Re()}else r(B,y,R)},Ue=(_,y,R,$=!1,O=!1)=>{const{type:B,props:z,ref:F,children:W,dynamicChildren:M,shapeFlag:K,patchFlag:j,dirs:ee,cacheIndex:ue}=_;if(j===-2&&(O=!1),F!=null&&Ao(F,null,R,_,!0),ue!=null&&(y.renderCache[ue]=void 0),K&256){y.ctx.deactivate(_);return}const ye=K&1&&ee,Re=!Zn(_);let Te;if(Re&&(Te=z&&z.onVnodeBeforeUnmount)&&vt(Te,y,_),K&6)ot(_.component,R,$);else{if(K&128){_.suspense.unmount(R,$);return}ye&&tn(_,null,y,"beforeUnmount"),K&64?_.type.remove(_,y,R,Q,$):M&&!M.hasOnce&&(B!==mt||j>0&&j&64)?Be(M,y,R,!1,!0):(B===mt&&j&384||!O&&K&16)&&Be(W,y,R),$&&It(_)}(Re&&(Te=z&&z.onVnodeUnmounted)||ye)&&Xe(()=>{Te&&vt(Te,y,_),ye&&tn(_,null,y,"unmounted")},R)},It=_=>{const{type:y,el:R,anchor:$,transition:O}=_;if(y===mt){rt(R,$);return}if(y===po){b(_);return}const B=()=>{s(R),O&&!O.persisted&&O.afterLeave&&O.afterLeave()};if(_.shapeFlag&1&&O&&!O.persisted){const{leave:z,delayLeave:F}=O,W=()=>z(R,B);F?F(_.el,B,W):W()}else B()},rt=(_,y)=>{let R;for(;_!==y;)R=d(_),s(_),_=R;s(y)},ot=(_,y,R)=>{const{bum:$,scope:O,job:B,subTree:z,um:F,m:W,a:M}=_;da(W),da(M),$&&ms($),O.stop(),B&&(B.flags|=8,Ue(z,_,y,R)),F&&Xe(F,y),Xe(()=>{_.isUnmounted=!0},y),y&&y.pendingBranch&&!y.isUnmounted&&_.asyncDep&&!_.asyncResolved&&_.suspenseId===y.pendingId&&(y.deps--,y.deps===0&&y.resolve())},Be=(_,y,R,$=!1,O=!1,B=0)=>{for(let z=B;z<_.length;z++)Ue(_[z],y,R,$,O)},L=_=>{if(_.shapeFlag&6)return L(_.component.subTree);if(_.shapeFlag&128)return _.suspense.next();const y=d(_.anchor||_.el),R=y&&y[Tg];return R?d(R):y};let G=!1;const V=(_,y,R)=>{_==null?y._vnode&&Ue(y._vnode,null,null,!0):m(y._vnode||null,_,y,null,null,null,R),y._vnode=_,G||(G=!0,Cd(),ca(),G=!1)},Q={p:m,um:Ue,m:He,r:It,mt:q,mc:P,pc:U,pbc:E,n:L,o:e};let ne,he;return t&&([ne,he]=t(Q)),{render:V,hydrate:ne,createApp:f0(V,ne)}}function Fc({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 yr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Xg(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function uf(e,t,n=!1){const r=e.children,s=t.children;if(te(r)&&te(s))for(let o=0;o<r.length;o++){const i=r[o];let a=s[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[o]=Wn(s[o]),a.el=i.el),!n&&a.patchFlag!==-2&&uf(i,a)),a.type===Mr&&(a.el=i.el)}}function S0(e){const t=e.slice(),n=[0];let r,s,o,i,a;const c=e.length;for(r=0;r<c;r++){const l=e[r];if(l!==0){if(s=n[n.length-1],e[s]<l){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)a=o+i>>1,e[n[a]]<l?o=a+1:i=a;l<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Jg(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Jg(t)}function da(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const E0=Symbol.for("v-scx"),v0=()=>Ct(E0);function w0(e,t){return rc(e,null,t)}function T0(e,t){return rc(e,null,{flush:"sync"})}function _s(e,t,n){return rc(e,t,n)}function rc(e,t,n=Ee){const{immediate:r,deep:s,flush:o,once:i}=n,a=Ge({},n),c=t&&r||!t&&o!=="post";let l;if(Ts){if(o==="sync"){const p=v0();l=p.__watcherHandles||(p.__watcherHandles=[])}else if(!c){const p=()=>{};return p.stop=on,p.resume=on,p.pause=on,p}}const f=et;a.call=(p,h,m)=>Yt(p,f,h,m);let u=!1;o==="post"?a.scheduler=p=>{Xe(p,f&&f.suspense)}:o!=="sync"&&(u=!0,a.scheduler=(p,h)=>{h?p():Zl(p)}),a.augmentJob=p=>{t&&(p.flags|=4),u&&(p.flags|=2,f&&(p.id=f.uid,p.i=f))};const d=Lv(e,t,a);return Ts&&(l?l.push(d):c&&d()),d}function C0(e,t,n){const r=this.proxy,s=De(e)?e.includes(".")?Qg(r,e):()=>r[e]:e.bind(r,r);let o;ae(t)?o=t:(o=t.handler,n=t);const i=Go(this),a=rc(s,o.bind(r),n);return i(),a}function Qg(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}function s2(e,t,n=Ee){const r=fr(),s=Nt(t),o=Ln(t),i=Zg(e,s),a=xv((c,l)=>{let f,u=Ee,d;return T0(()=>{const p=e[s];wt(f,p)&&(f=p,l())}),{get(){return c(),n.get?n.get(f):f},set(p){const h=n.set?n.set(p):p;if(!wt(h,f)&&!(u!==Ee&&wt(p,u)))return;const m=r.vnode.props;m&&(t in m||s in m||o in m)&&(`onUpdate:${t}`in m||`onUpdate:${s}`in m||`onUpdate:${o}`in m)||(f=p,l()),r.emit(`update:${t}`,h),wt(p,h)&&wt(p,u)&&!wt(h,d)&&l(),u=p,d=h}}});return a[Symbol.iterator]=()=>{let c=0;return{next(){return c<2?{value:c++?i||Ee:a,done:!1}:{done:!0}}}},a}const Zg=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Nt(t)}Modifiers`]||e[`${Ln(t)}Modifiers`];function k0(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ee;let s=n;const o=t.startsWith("update:"),i=o&&Zg(r,t.slice(7));i&&(i.trim&&(s=n.map(f=>De(f)?f.trim():f)),i.number&&(s=n.map(sa)));let a,c=r[a=Rc(t)]||r[a=Rc(Nt(t))];!c&&o&&(c=r[a=Rc(Ln(t))]),c&&Yt(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,Yt(l,e,6,s)}}function e_(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},a=!1;if(!ae(e)){const c=l=>{const f=e_(l,t,!0);f&&(a=!0,Ge(i,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!a?(ke(e)&&r.set(e,null),null):(te(o)?o.forEach(c=>i[c]=null):Ge(i,o),ke(e)&&r.set(e,i),i)}function sc(e,t){return!e||!Wo(t)?!1:(t=t.slice(2).replace(/Once$/,""),we(e,t[0].toLowerCase()+t.slice(1))||we(e,Ln(t))||we(e,t))}function Hc(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:a,emit:c,render:l,renderCache:f,props:u,data:d,setupState:p,ctx:h,inheritAttrs:m}=e,w=ua(e);let v,S;try{if(n.shapeFlag&4){const b=s||r,T=b;v=Ot(l.call(T,b,f,u,p,d,h)),S=a}else{const b=t;v=Ot(b.length>1?b(u,{attrs:a,slots:i,emit:c}):b(u,null)),S=t.props?a:x0(a)}}catch(b){ho.length=0,Ws(b,e,1),v=We(Ze)}let g=v;if(S&&m!==!1){const b=Object.keys(S),{shapeFlag:T}=g;b.length&&T&7&&(o&&b.some(Bl)&&(S=R0(S,o)),g=Cn(g,S,!1,!0))}return n.dirs&&(g=Cn(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&vs(g,n.transition),v=g,ua(w),v}function I0(e,t=!0){let n;for(let r=0;r<e.length;r++){const s=e[r];if(Fr(s)){if(s.type!==Ze||s.children==="v-if"){if(n)return;n=s}}else return}return n}const x0=e=>{let t;for(const n in e)(n==="class"||n==="style"||Wo(n))&&((t||(t={}))[n]=e[n]);return t},R0=(e,t)=>{const n={};for(const r in e)(!Bl(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function A0(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:a,patchFlag:c}=t,l=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?Fd(r,i,l):!!i;if(c&8){const f=t.dynamicProps;for(let u=0;u<f.length;u++){const d=f[u];if(i[d]!==r[d]&&!sc(l,d))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?Fd(r,i,l):!0:!!i;return!1}function Fd(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(t[o]!==e[o]&&!sc(n,o))return!0}return!1}function oc({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const pa=e=>e.__isSuspense;let Mu=0;const M0={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,a,c,l){if(e==null)O0(t,n,r,s,o,i,a,c,l);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}P0(e,t,n,r,s,i,a,c,l)}},hydrate:N0,normalize:L0},o2=M0;function Mo(e,t){const n=e.props&&e.props[t];ae(n)&&n()}function O0(e,t,n,r,s,o,i,a,c){const{p:l,o:{createElement:f}}=c,u=f("div"),d=e.suspense=t_(e,s,r,t,u,n,o,i,a,c);l(null,d.pendingBranch=e.ssContent,u,null,r,d,o,i),d.deps>0?(Mo(e,"onPending"),Mo(e,"onFallback"),l(null,e.ssFallback,t,n,r,null,o,i),ys(d,e.ssFallback)):d.resolve(!1,!0)}function P0(e,t,n,r,s,o,i,a,{p:c,um:l,o:{createElement:f}}){const u=t.suspense=e.suspense;u.vnode=t,t.el=e.el;const d=t.ssContent,p=t.ssFallback,{activeBranch:h,pendingBranch:m,isInFallback:w,isHydrating:v}=u;if(m)u.pendingBranch=d,qt(d,m)?(c(m,d,u.hiddenContainer,null,s,u,o,i,a),u.deps<=0?u.resolve():w&&(v||(c(h,p,n,r,s,null,o,i,a),ys(u,p)))):(u.pendingId=Mu++,v?(u.isHydrating=!1,u.activeBranch=m):l(m,s,u),u.deps=0,u.effects.length=0,u.hiddenContainer=f("div"),w?(c(null,d,u.hiddenContainer,null,s,u,o,i,a),u.deps<=0?u.resolve():(c(h,p,n,r,s,null,o,i,a),ys(u,p))):h&&qt(d,h)?(c(h,d,n,r,s,u,o,i,a),u.resolve(!0)):(c(null,d,u.hiddenContainer,null,s,u,o,i,a),u.deps<=0&&u.resolve()));else if(h&&qt(d,h))c(h,d,n,r,s,u,o,i,a),ys(u,d);else if(Mo(t,"onPending"),u.pendingBranch=d,d.shapeFlag&512?u.pendingId=d.component.suspenseId:u.pendingId=Mu++,c(null,d,u.hiddenContainer,null,s,u,o,i,a),u.deps<=0)u.resolve();else{const{timeout:S,pendingId:g}=u;S>0?setTimeout(()=>{u.pendingId===g&&u.fallback(p)},S):S===0&&u.fallback(p)}}function t_(e,t,n,r,s,o,i,a,c,l,f=!1){const{p:u,m:d,um:p,n:h,o:{parentNode:m,remove:w}}=l;let v;const S=D0(e);S&&t&&t.pendingBranch&&(v=t.pendingId,t.deps++);const g=e.props?Ym(e.props.timeout):void 0,b=o,T={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:s,deps:0,pendingId:Mu++,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!f,isHydrating:f,isUnmounted:!1,effects:[],resolve(k=!1,x=!1){const{vnode:P,activeBranch:C,pendingBranch:E,pendingId:A,effects:I,parentComponent:H,container:q}=T;let Y=!1;T.isHydrating?T.isHydrating=!1:k||(Y=C&&E.transition&&E.transition.mode==="out-in",Y&&(C.transition.afterLeave=()=>{A===T.pendingId&&(d(E,q,o===b?h(C):o,0),Tu(I))}),C&&(m(C.el)===q&&(o=h(C)),p(C,H,T,!0)),Y||d(E,q,o,0)),ys(T,E),T.pendingBranch=null,T.isInFallback=!1;let D=T.parent,X=!1;for(;D;){if(D.pendingBranch){D.effects.push(...I),X=!0;break}D=D.parent}!X&&!Y&&Tu(I),T.effects=[],S&&t&&t.pendingBranch&&v===t.pendingId&&(t.deps--,t.deps===0&&!x&&t.resolve()),Mo(P,"onResolve")},fallback(k){if(!T.pendingBranch)return;const{vnode:x,activeBranch:P,parentComponent:C,container:E,namespace:A}=T;Mo(x,"onFallback");const I=h(P),H=()=>{T.isInFallback&&(u(null,k,E,I,C,null,A,a,c),ys(T,k))},q=k.transition&&k.transition.mode==="out-in";q&&(P.transition.afterLeave=H),T.isInFallback=!0,p(P,C,null,!0),q||H()},move(k,x,P){T.activeBranch&&d(T.activeBranch,k,x,P),T.container=k},next(){return T.activeBranch&&h(T.activeBranch)},registerDep(k,x,P){const C=!!T.pendingBranch;C&&T.deps++;const E=k.vnode.el;k.asyncDep.catch(A=>{Ws(A,k,0)}).then(A=>{if(k.isUnmounted||T.isUnmounted||T.pendingId!==k.suspenseId)return;k.asyncResolved=!0;const{vnode:I}=k;Nu(k,A,!1),E&&(I.el=E);const H=!E&&k.subTree.el;x(k,I,m(E||k.subTree.el),E?null:h(k.subTree),T,i,P),H&&w(H),oc(k,I.el),C&&--T.deps===0&&T.resolve()})},unmount(k,x){T.isUnmounted=!0,T.activeBranch&&p(T.activeBranch,n,k,x),T.pendingBranch&&p(T.pendingBranch,n,k,x)}};return T}function N0(e,t,n,r,s,o,i,a,c){const l=t.suspense=t_(t,r,n,e.parentNode,document.createElement("div"),null,s,o,i,a,!0),f=c(e,l.pendingBranch=t.ssContent,n,l,o,i);return l.deps===0&&l.resolve(!1,!0),f}function L0(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Hd(r?n.default:n),e.ssFallback=r?Hd(n.fallback):We(Ze)}function Hd(e){let t;if(ae(e)){const n=ws&&e._c;n&&(e._d=!1,ha()),e=e(),n&&(e._d=!0,t=Tt,r_())}return te(e)&&(e=I0(e)),e=Ot(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function n_(e,t){t&&t.pendingBranch?te(e)?t.effects.push(...e):t.effects.push(e):Tu(e)}function ys(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let s=t.el;for(;!s&&t.component;)t=t.component.subTree,s=t.el;n.el=s,r&&r.subTree===n&&(r.vnode.el=s,oc(r,s))}function D0(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const mt=Symbol.for("v-fgt"),Mr=Symbol.for("v-txt"),Ze=Symbol.for("v-cmt"),po=Symbol.for("v-stc"),ho=[];let Tt=null;function ha(e=!1){ho.push(Tt=e?null:[])}function r_(){ho.pop(),Tt=ho[ho.length-1]||null}let ws=1;function Ud(e,t=!1){ws+=e,e<0&&Tt&&t&&(Tt.hasOnce=!0)}function s_(e){return e.dynamicChildren=ws>0?Tt||ds:null,r_(),ws>0&&Tt&&Tt.push(e),e}function i2(e,t,n,r,s,o){return s_(i_(e,t,n,r,s,o,!0))}function Ou(e,t,n,r,s){return s_(We(e,t,n,r,s,!0))}function Fr(e){return e?e.__v_isVNode===!0:!1}function qt(e,t){return e.type===t.type&&e.key===t.key}const o_=({key:e})=>e??null,Ui=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?De(e)||st(e)||ae(e)?{i:tt,r:e,k:t,f:!!n}:e:null);function i_(e,t=null,n=null,r=0,s=null,o=e===mt?0:1,i=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&o_(t),ref:t&&Ui(t),scopeId:wg,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:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:tt};return a?(lf(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=De(n)?8:16),ws>0&&!i&&Tt&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Tt.push(c),c}const We=$0;function $0(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===Lg)&&(e=Ze),Fr(e)){const a=Cn(e,t,!0);return n&&lf(a,n),ws>0&&!o&&Tt&&(a.shapeFlag&6?Tt[Tt.indexOf(e)]=a:Tt.push(a)),a.patchFlag=-2,a}if(G0(e)&&(e=e.__vccOpts),t){t=F0(t);let{class:a,style:c}=t;a&&!De(a)&&(t.class=zl(a)),ke(c)&&(Ql(c)&&!te(c)&&(c=Ge({},c)),t.style=Vl(c))}const i=De(e)?1:pa(e)?128:Cg(e)?64:ke(e)?4:ae(e)?2:0;return i_(e,t,n,r,s,i,o,!0)}function F0(e){return e?Ql(e)||jg(e)?Ge({},e):e:null}function Cn(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:a,transition:c}=e,l=t?U0(s||{},t):s,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&o_(l),ref:t&&t.ref?n&&o?te(o)?o.concat(Ui(t)):[o,Ui(t)]:Ui(t):o,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!==mt?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Cn(e.ssContent),ssFallback:e.ssFallback&&Cn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&vs(f,c.clone(f)),f}function a_(e=" ",t=0){return We(Mr,null,e,t)}function H0(e,t){const n=We(po,null,e);return n.staticCount=t,n}function a2(e="",t=!1){return t?(ha(),Ou(Ze,null,e)):We(Ze,null,e)}function Ot(e){return e==null||typeof e=="boolean"?We(Ze):te(e)?We(mt,null,e.slice()):Fr(e)?Wn(e):We(Mr,null,String(e))}function Wn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Cn(e)}function lf(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(te(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),lf(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!jg(t)?t._ctx=tt:s===3&&tt&&(tt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ae(t)?(t={default:t,_ctx:tt},n=32):(t=String(t),r&64?(n=16,t=[a_(t)]):n=8);e.children=t,e.shapeFlag|=n}function U0(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=zl([t.class,r.class]));else if(s==="style")t.style=Vl([t.style,r.style]);else if(Wo(s)){const o=t[s],i=r[s];i&&o!==i&&!(te(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function vt(e,t,n,r=null){Yt(e,t,7,[n,r])}const B0=Fg();let j0=0;function W0(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||B0,o={uid:j0++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Zm(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Vg(r,s),emitsOptions:e_(r,s),emit:null,emitted:null,propsDefaults:Ee,inheritAttrs:r.inheritAttrs,ctx:Ee,data:Ee,props:Ee,attrs:Ee,slots:Ee,refs:Ee,setupState:Ee,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=k0.bind(null,o),e.ce&&e.ce(o),o}let et=null;const fr=()=>et||tt;let ma,Pu;{const e=Xa(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};ma=t("__VUE_INSTANCE_SETTERS__",n=>et=n),Pu=t("__VUE_SSR_SETTERS__",n=>Ts=n)}const Go=e=>{const t=et;return ma(e),e.scope.on(),()=>{e.scope.off(),ma(t)}},Bd=()=>{et&&et.scope.off(),ma(null)};function c_(e){return e.vnode.shapeFlag&4}let Ts=!1;function V0(e,t=!1,n=!1){t&&Pu(t);const{props:r,children:s}=e.vnode,o=c_(e);d0(e,r,o,t),g0(e,s,n);const i=o?z0(e,t):void 0;return t&&Pu(!1),i}function z0(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,r0);const{setup:r}=n;if(r){ur();const s=e.setupContext=r.length>1?l_(e):null,o=Go(e),i=Vo(r,e,0,[e.props,s]),a=zm(i);if(lr(),o(),(a||e.sp)&&!Zn(e)&&ef(e),a){if(i.then(Bd,Bd),t)return i.then(c=>{Nu(e,c,t)}).catch(c=>{Ws(c,e,0)});e.asyncDep=i}else Nu(e,i,t)}else u_(e,t)}function Nu(e,t,n){ae(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ke(t)&&(e.setupState=yg(t)),u_(e,n)}let jd;function u_(e,t,n){const r=e.type;if(!e.render){if(!t&&jd&&!r.render){const s=r.template||af(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:c}=r,l=Ge(Ge({isCustomElement:o,delimiters:a},i),c);r.render=jd(s,l)}}e.render=r.render||on}{const s=Go(e);ur();try{o0(e)}finally{lr(),s()}}}const q0={get(e,t){return ut(e,"get",""),e[t]}};function l_(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,q0),slots:e.slots,emit:e.emit,expose:t}}function ic(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(yg(Tv(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in fo)return fo[n](e)},has(t,n){return n in t||n in fo}})):e.proxy}function Lu(e,t=!0){return ae(e)?e.displayName||e.name:e.name||t&&e.__name}function G0(e){return ae(e)&&"__vccOpts"in e}const Je=(e,t)=>
vendor: 1,090 bytes, lines 14-18
14Pv(e,t,Ts);function Hr(e,t,n){const r=arguments.length;return r===2?ke(t)&&!te(t)?Fr(t)?We(e,null,[t]):We(e,t):We(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Fr(n)&&(n=[n]),We(e,t,n))}const f_="3.5.13";/**
15* @vue/runtime-dom v3.5.13
16* (c) 2018-present Yuxi (Evan) You and Vue contributors
17* @license MIT
18**/let Du;const Wd=typeof window<"u"&&window.trustedTypes;if(Wd)try{Du=Wd.createPolicy("vue",{createHTML:e=>e})}catch{}const d_=Du?e=>Du.createHTML(e):e=>e,K0="http://www.w3.org/2000/svg",Y0="http://www.w3.org/1998/Math/MathML",hn=typeof document<"u"?document:null,Vd=hn&&hn.createElement("template"),X0={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?hn.createElementNS(K0,e):t==="mathml"?hn.createElementNS(Y0,e):n?hn.createElement(e,{is:n}):hn.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>hn.createTextNode(e),createComment:e=>hn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>
vendor: 8,819 bytes, line 18
18{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>hn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{Vd.innerHTML=d_(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=Vd.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[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Hn="transition",Zs="animation",Oo=Symbol("_vtc"),p_={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},J0=Ge({},xg,p_),Q0=e=>(e.displayName="Transition",e.props=J0,e),c2=Q0((e,{slots:t})=>Hr(jv,Z0(e),t)),br=(e,t=[])=>{te(e)?e.forEach(n=>n(...t)):e&&e(...t)},zd=e=>e?te(e)?e.some(t=>t.length>1):e.length>1:!1;function Z0(e){const t={};for(const I in e)I in p_||(t[I]=e[I]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:l=i,appearToClass:f=a,leaveFromClass:u=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=ew(s),m=h&&h[0],w=h&&h[1],{onBeforeEnter:v,onEnter:S,onEnterCancelled:g,onLeave:b,onLeaveCancelled:T,onBeforeAppear:k=v,onAppear:x=S,onAppearCancelled:P=g}=t,C=(I,H,q,Y)=>{I._enterCancelled=Y,Sr(I,H?f:a),Sr(I,H?l:i),q&&q()},E=(I,H)=>{I._isLeaving=!1,Sr(I,u),Sr(I,p),Sr(I,d),H&&H()},A=I=>(H,q)=>{const Y=I?x:S,D=()=>C(H,I,q);br(Y,[H,D]),qd(()=>{Sr(H,I?c:o),un(H,I?f:a),zd(Y)||Gd(H,r,m,D)})};return Ge(t,{onBeforeEnter(I){br(v,[I]),un(I,o),un(I,i)},onBeforeAppear(I){br(k,[I]),un(I,c),un(I,l)},onEnter:A(!1),onAppear:A(!0),onLeave(I,H){I._isLeaving=!0;const q=()=>E(I,H);un(I,u),I._enterCancelled?(un(I,d),Xd()):(Xd(),un(I,d)),qd(()=>{I._isLeaving&&(Sr(I,u),un(I,p),zd(b)||Gd(I,r,w,q))}),br(b,[I,q])},onEnterCancelled(I){C(I,!1,void 0,!0),br(g,[I])},onAppearCancelled(I){C(I,!0,void 0,!0),br(P,[I])},onLeaveCancelled(I){E(I),br(T,[I])}})}function ew(e){if(e==null)return null;if(ke(e))return[Uc(e.enter),Uc(e.leave)];{const t=Uc(e);return[t,t]}}function Uc(e){return Ym(e)}function un(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Oo]||(e[Oo]=new Set)).add(t)}function Sr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Oo];n&&(n.delete(t),n.size||(e[Oo]=void 0))}function qd(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let tw=0;function Gd(e,t,n,r){const s=e._endId=++tw,o=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:a,propCount:c}=nw(e,t);if(!i)return r();const l=i+"end";let f=0;const u=()=>{e.removeEventListener(l,d),o()},d=p=>{p.target===e&&++f>=c&&u()};setTimeout(()=>{f<c&&u()},a+1),e.addEventListener(l,d)}function nw(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),s=r(`${Hn}Delay`),o=r(`${Hn}Duration`),i=Kd(s,o),a=r(`${Zs}Delay`),c=r(`${Zs}Duration`),l=Kd(a,c);let f=null,u=0,d=0;t===Hn?i>0&&(f=Hn,u=i,d=o.length):t===Zs?l>0&&(f=Zs,u=l,d=c.length):(u=Math.max(i,l),f=u>0?i>l?Hn:Zs:null,d=f?f===Hn?o.length:c.length:0);const p=f===Hn&&/\b(transform|all)(,|$)/.test(r(`${Hn}Property`).toString());return{type:f,timeout:u,propCount:d,hasTransform:p}}function Kd(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Yd(n)+Yd(e[r])))}function Yd(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Xd(){return document.body.offsetHeight}function rw(e,t,n){const r=e[Oo];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ga=Symbol("_vod"),h_=Symbol("_vsh"),u2={beforeMount(e,{value:t},{transition:n}){e[ga]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):eo(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),eo(e,!0),r.enter(e)):r.leave(e,()=>{eo(e,!1)}):eo(e,t))},beforeUnmount(e,{value:t}){eo(e,t)}};function eo(e,t){e.style.display=t?e[ga]:"none",e[h_]=!t}const sw=Symbol(""),ow=/(^|;)\s*display\s*:/;function iw(e,t,n){const r=e.style,s=De(n);let o=!1;if(n&&!s){if(t)if(De(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&Bi(r,a,"")}else for(const i in t)n[i]==null&&Bi(r,i,"");for(const i in n)i==="display"&&(o=!0),Bi(r,i,n[i])}else if(s){if(t!==n){const i=r[sw];i&&(n+=";"+i),r.cssText=n,o=ow.test(n)}}else t&&e.removeAttribute("style");ga in e&&(e[ga]=o?r.display:"",e[h_]&&(r.display="none"))}const Jd=/\s*!important$/;function Bi(e,t,n){if(te(n))n.forEach(r=>Bi(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=aw(e,t);Jd.test(n)?e.setProperty(Ln(r),n.replace(Jd,""),"important"):e[r]=n}}const Qd=["Webkit","Moz","ms"],Bc={};function aw(e,t){const n=Bc[t];if(n)return n;let r=Nt(t);if(r!=="filter"&&r in e)return Bc[t]=r;r=Ya(r);for(let s=0;s<Qd.length;s++){const o=Qd[s]+r;if(o in e)return Bc[t]=o}return t}const Zd="http://www.w3.org/1999/xlink";function ep(e,t,n,r,s,o=tv(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Zd,t.slice(6,t.length)):e.setAttributeNS(Zd,t,n):n==null||o&&!Xm(n)?e.removeAttribute(t):e.setAttribute(t,o?"":Kt(n)?String(n):n)}function tp(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?d_(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const a=o==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(a!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Xm(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(s||t)}function bn(e,t,n,r){e.addEventListener(t,n,r)}function cw(e,t,n,r){e.removeEventListener(t,n,r)}const np=Symbol("_vei");function uw(e,t,n,r,s=null){const o=e[np]||(e[np]={}),i=o[t];if(r&&i)i.value=r;else{const[a,c]=lw(t);if(r){const l=o[t]=pw(r,s);bn(e,a,l,c)}else i&&(cw(e,a,i,c),o[t]=void 0)}}const rp=/(?:Once|Passive|Capture)$/;function lw(e){let t;if(rp.test(e)){t={};let r;for(;r=e.match(rp);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Ln(e.slice(2)),t]}let jc=0;const fw=Promise.resolve(),dw=()=>jc||(fw.then(()=>jc=0),jc=Date.now());function pw(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Yt(hw(r,n.value),t,5,[r])};return n.value=e,n.attached=dw(),n}function hw(e,t){if(te(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 sp=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,mw=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?rw(e,r,i):t==="style"?iw(e,n,r):Wo(t)?Bl(t)||uw(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):gw(e,t,r,i))?(tp(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ep(e,t,r,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!De(r))?tp(e,Nt(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),ep(e,t,r,i))};function gw(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&sp(t)&&ae(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||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 sp(t)&&De(n)?!1:t in e}const sr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return te(t)?n=>ms(t,n):t};function _w(e){e.target.composing=!0}function op(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ut=Symbol("_assign"),l2={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[Ut]=sr(s);const o=r||s.props&&s.props.type==="number";bn(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),o&&(a=sa(a)),e[Ut](a)}),n&&bn(e,"change",()=>{e.value=e.value.trim()}),t||(bn(e,"compositionstart",_w),bn(e,"compositionend",op),bn(e,"change",op))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},i){if(e[Ut]=sr(i),e.composing)return;const a=(o||e.type==="number")&&!/^0\d/.test(e.value)?sa(e.value):e.value,c=t??"";
18a!==c&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===c)||(e.value=c))}},f2={deep:!0,created(e,t,n){e[Ut]=sr(n),bn(e,"change",()=>{const r=e._modelValue,s=Cs(e),o=e.checked,i=e[Ut];if(te(r)){const a=ql(r,s),c=a!==-1;if(o&&!c)i(r.concat(s));else if(!o&&c){const l=[...r];l.splice(a,1),i(l)}}else if(Bs(r)){const a=new Set(r);o?a.add(s):a.delete(s),i(a)}else i(m_(e,o))})},mounted:ip,beforeUpdate(e,t,n){e[Ut]=sr(n),ip(e,t,n)}};function ip(e,{value:t,oldValue:n},r){e._modelValue=t;let s;if(te(t))s=ql(t,r.props.value)>-1;else if(Bs(t))s=t.has(r.props.value);else{if(t===n)return;s=Dr(t,m_(e,!0))}e.checked!==s&&(e.checked=s)}const d2={created(e,{value:t},n){e.checked=Dr(t,n.props.value),e[Ut]=sr(n),bn(e,"change",()=>{e[Ut](Cs(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Ut]=sr(r),t!==n&&(e.checked=Dr(t,r.props.value))}},p2={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=Bs(t);bn(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?sa(Cs(i)):Cs(i));e[Ut](e.multiple?s?new Set(o):o:o[0]),e._assigning=!0,Za(()=>{e._assigning=!1})}),e[Ut]=sr(r)},mounted(e,{value:t}){ap(e,t)},beforeUpdate(e,t,n){e[Ut]=sr(n)},updated(e,{value:t}){e._assigning||ap(e,t)}};function ap(e,t){const n=e.multiple,r=te(t);if(!(n&&!r&&!Bs(t))){for(let s=0,o=e.options.length;s<o;s++){const i=e.options[s],a=Cs(i);if(n)if(r){const c=typeof a;c==="string"||c==="number"?i.selected=t.some(l=>String(l)===String(a)):i.selected=ql(t,a)>-1}else i.selected=t.has(a);else if(Dr(Cs(i),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Cs(e){return"_value"in e?e._value:e.value}function m_(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const yw=["ctrl","shift","alt","meta"],bw={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)=>yw.some(n=>e[`${n}Key`]&&!t.includes(n))},h2=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...o)=>{for(let i=0;i<t.length;i++){const a=bw[t[i]];if(a&&a(s,t))return}return e(s,...o)})},Sw={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},m2=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const o=Ln(s.key);if(t.some(i=>i===o||Sw[i]===o))return e(s)})},g_=Ge({patchProp:mw},X0);let mo,cp=!1;function __(){return mo||(mo=y0(g_))}function Ew(){return mo=cp?mo:b0(g_),cp=!0,mo}const g2=(...e)=>{__().render(...e)},_2=(...e)=>{const t=__().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=b_(r);if(!s)return;const o=t._component;!ae(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=n(s,!1,y_(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},y2=(...e)=>{const t=Ew().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=b_(r);if(s)return n(s,!0,y_(s))},t};function y_(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function b_(e){return De(e)?document.querySelector(e):e}const vw=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,ww=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,Tw=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Cw(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){kw(e);return}return t}function kw(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Iw(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const r=n.toLowerCase();if(r==="true")return!0;
18if(r==="false")return!1;if(r==="undefined")return;if(r==="null")return null;if(r==="nan")return Number.NaN;if(r==="infinity")return Number.POSITIVE_INFINITY;if(r==="-infinity")return Number.NEGATIVE_INFINITY}if(!Tw.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(vw.test(e)||ww.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Cw)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const xw=/#/g,Rw=/&/g,Aw=/\//g,Mw=/=/g,ff=/\+/g,Ow=/%5e/gi,Pw=/%60/gi,Nw=/%7c/gi,Lw=/%20/gi;function Dw(e){return encodeURI(""+e).replace(Nw,"|")}function $u(e){return Dw(typeof e=="string"?e:JSON.stringify(e)).replace(ff,"%2B").replace(Lw,"+").replace(xw,"%23").replace(Rw,"%26").replace(Pw,"`").replace(Ow,"^").replace(Aw,"%2F")}function Wc(e){return $u(e).replace(Mw,"%3D")}function _a(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function $w(e){return _a(e.replace(ff," "))}function Fw(e){return _a(e.replace(ff," "))}function S_(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const s=$w(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=Fw(r[2]||"");t[s]===void 0?t[s]=o:Array.isArray(t[s])?t[s].push(o):t[s]=[t[s],o]}return t}function Hw(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Wc(e)}=${$u(n)}`).join("&"):`${Wc(e)}=${$u(t)}`:Wc(e)}function Uw(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Hw(t,e[t])).filter(Boolean).join("&")}const Bw=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,jw=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Ww=/^([/\\]\s*){2,}[^/\\]/,Vw=/^[\s\0]*(blob|data|javascript|vbscript):$/i,zw=/\/$|\/\?|\/#/,qw=/^\.?\//;function Vs(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Bw.test(e):jw.test(e)||(t.acceptRelative?Ww.test(e):!1)}function Gw(e){return!!e&&Vw.test(e)}function Fu(e="",t){return t?zw.test(e):e.endsWith("/")}function df(e="",t){if(!t)return(Fu(e)?e.slice(0,-1):e)||"/";if(!Fu(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");s>=0&&(n=e.slice(0,s),r=e.slice(s));const[o,...i]=n.split("?");return((o.endsWith("/")?o.slice(0,-1):o)||"/")+(i.length>0?`?${i.join("?")}`:"")+r}function ya(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Fu(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");if(s>=0&&(n=e.slice(0,s),r=e.slice(s),!n))return r;const[o,...i]=n.split("?");return o+"/"+(i.length>0?`?${i.join("?")}`:"")+r}function Kw(e=""){return e.startsWith("/")}function up(e=""){return Kw(e)?e:"/"+e}function b2(e,t){if(E_(t)||Vs(e))return e;const n=df(t);return e.startsWith(n)?e:v_(n,e)}function S2(e,t){if(E_(t))return e;const n=df(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function Yw(e,t){const n=Jw(e),r={...S_(n.search),...t};return n.search=Uw(r),Qw(n)}function E_(e){return!e||e==="/"}function Xw(e){return e&&e!=="/"}function v_(e,...t){let n=e||"";for(const r of t.filter(s=>Xw(s)))if(n){const s=r.replace(qw,"");n=ya(n)+s}else n=r;return n}function w_(...e){const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let s=0;for(const i of n)if(!(!i||i==="/")){for(const[a,c]of i.split(t).entries())if(!(!c||c===".")){if(c===".."){if(r.length===1&&Vs(r[0]))continue;r.pop(),s--;continue}if(a===1&&r[r.length-1]?.endsWith(":/")){r[r.length-1]+="/"+c;continue}r.push(c),s++}}let o=r.join("/");return s>=0?n[0]?.startsWith("/")&&!o.startsWith("/")?o="/"+o:n[0]?.startsWith("./")&&!o.startsWith("./")&&(o="./"+o):o="../".repeat(-1*s)+o,n[n.length-1]?.endsWith("/")&&!o.endsWith("/")&&(o+="/"),o}function E2(e,t,n={}){return n.trailingSlash||(e=ya(e),t=ya(t)),n.leadingSlash||(e=up(e),t=up(t)),n.encoding||(e=_a(e),t=_a(t)),e===t}const T_=Symbol.for("ufo:protocolRelative");function Jw(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,u,d=""]=n;return{protocol:u.toLowerCase(),pathname:d,href:u+d,auth:"",host:"",search:"",hash:""}}if(!Vs(e,{acceptRelative:!0}))return lp(e);const[,r="",s,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,i="",a=""]=o.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:c,search:l,hash:f}=lp(a);return{protocol:r.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:i,pathname:c,search:l,hash:f,[T_]:!r}}function lp(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function Qw(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?""
18:"?")+e.search:"",r=e.hash||"",s=e.auth?e.auth+"@":"",o=e.host||"";return(e.protocol||e[T_]?(e.protocol||"")+"//":"")+s+o+t+n+r}var Zw=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};Zw.SENTRY_RELEASE={id:"c26ecc0b03397bc2a96a27b265f011a846bd8529"};const eT=()=>window?.__NUXT__?.config||{},ba=eT().app,v2=()=>ba.baseURL,tT=()=>ba.buildAssetsDir,C_=(...e)=>w_(k_(),tT(),...e),k_=(...e)=>{const t=ba.cdnURL||ba.baseURL;return e.length?w_(t,...e):t};globalThis.__buildAssetsURL=C_,globalThis.__publicAssetsURL=k_;function Hu(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?Hu(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const nT={run:e=>e()},rT=()=>nT,I_=typeof console.createTask<"u"?console.createTask:rT;function sT(e,t){const n=t.shift(),r=I_(n);return e.reduce((s,o)=>s.then(()=>r.run(()=>o(...t))),Promise.resolve())}function oT(e,t){const n=t.shift(),r=I_(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function Vc(e,t){for(const n of[...e])n(t)}class iT{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 o;for(;this._deprecatedHooks[t];)o=this._deprecatedHooks[t],t=o.to;if(o&&!r.allowDeprecated){let i=o.message;i||(i=`${s} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}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=(...o)=>(typeof r=="function"&&r(),r=void 0,s=void 0,n(...o));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=Hu(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=Hu(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(sT,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(oT,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 o=t(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&s&&Vc(this._after,s)}):(this._after&&s&&Vc(this._after,s),o)}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 x_(){return new iT}function aT(e={}){let t,n=!1;const r=i=>{if(t&&t!==i)throw new Error("Context conflict")};let s;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?s=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const o=()=>{if(s){const i=s.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=o();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>o(),set:(i,a)=>{a||r(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{r(i),t=i;try{return s?s.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const c=()=>{t=i},l=()=>t===i?c:void 0;Uu.add(l);try{const f=s?s.run(i,a):a();return n||(t=void 0),await f}finally{Uu.delete(l)}}}}function cT(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=aT({...e,...r})),t[n]}}}const Sa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},fp="__unctx__",uT=Sa[fp]||(Sa[fp]=cT()),lT=(e,t={})=>uT.get(e,t),dp="__unctx_async_handlers__",Uu=Sa[dp]||(Sa[dp]=new Set);function w2(e){const t=[];for(const s of Uu){const o=s();o&&t.push(o)}const n=()=>{for(const s of t)s()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(s=>{throw n(),s})),[r,n]}const T2=!1,fT=!1,C2=!1,dT={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},pT=null,k2="#__nuxt",R_="nuxt-app",I2=36e5,hT="vite:preloadError";function A_(e=R_){return lT(e,{asyncContext:!1})}const mT="__nuxt_plugin";function x2(e){let t=0;const n={_id:e.id||R_||"nuxt-app",_scope:sv(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.15.2"},get vue(){return n.vueApp.version}},payload:os({...e.ssrContext?.payload||{},data:os({}),state:Vr({}),once:new Set,_errors:os({})}),static:{data:{}},runWithContext(s){return n._scope.active&&!eg()?n._scope.run(()=>pp(n,s)):pp(n,s)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let s=!1;return()=>{if(!s&&(s=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:os({}),_payloadRevivers:{},...e};{const s=window.__NUXT__;if(s)for(const o in s)switch(o){case"data":case"state":case"_errors":Object.assign(n.payload[o],s[o]);break;default:n.payload[o]=s[o]}}n.hooks=x_(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(s,o)=>{const i="$"+s;_i(n,i,o),_i(n.vueApp.config.globalProperties,i,o)},_i(n.vueApp,"$nuxt",n),_i(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(hT,o=>{n.callHook("app:chunkError",{error:o.payload}),(n.isHydrating||o.payload.message.includes("Unable to preload CSS"))&&o.preventDefault()}),window.useNuxtApp=window.useNuxtApp||nt;
18const s=n.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});n.hook("app:mounted",s)}const r=n.payload.config;return n.provide("config",r),n}function gT(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function _T(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function R2(e,t){const n=[],r=[],s=[],o=[];let i=0;async function a(c){const l=c.dependsOn?.filter(f=>t.some(u=>u._name===f)&&!n.includes(f))??[];if(l.length>0)r.push([new Set(l),c]);else{const f=_T(e,c).then(async()=>{c._name&&(n.push(c._name),await Promise.all(r.map(async([u,d])=>{u.has(c._name)&&(u.delete(c._name),u.size===0&&(i++,await a(d)))})))});c.parallel?s.push(f.catch(u=>o.push(u))):await f}}for(const c of t)gT(e,c);for(const c of t)await a(c);if(await Promise.all(s),i)for(let c=0;c<i;c++)await Promise.all(s);if(o.length)throw o[0]}function M_(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[mT]:!0,_name:t})}const A2=M_;function pp(e,t,n){const r=()=>t();return A_(e._id).set(e),e.vueApp.runWithContext(r)}function yT(e){let t;return Hg()&&(t=fr()?.appContext.app.$nuxt),t=t||A_(e).tryUse(),t||null}function nt(e){const t=yT(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function O_(e){return nt().$config}function _i(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function bT(e,t){return{ctx:{table:e},matchAll:n=>N_(n,e)}}function P_(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,s])=>[r,P_(s)])):new Map(Object.entries(e[n]));return t}function ST(e){return bT(P_(e))}function N_(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[o,i]of hp(t.wildcard))(e===o||e.startsWith(o+"/"))&&r.push(i);for(const[o,i]of hp(t.dynamic))if(e.startsWith(o+"/")){const a="/"+e.slice(o.length).split("/").splice(2).join("/");r.push(...N_(a,i))}const s=t.static.get(e);return s&&r.push(s),r.filter(Boolean)}function hp(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function zc(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Bu(e,t,n=".",r){if(!zc(t))return Bu(e,{},n,r);const s=Object.assign({},t);for(const o in e){if(o==="__proto__"||o==="constructor")continue;const i=e[o];i!=null&&(r&&r(s,o,i,n)||(Array.isArray(i)&&Array.isArray(s[o])?s[o]=[...i,...s[o]]:zc(i)&&zc(s[o])?s[o]=Bu(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function L_(e){return(...t)=>t.reduce((n,r)=>Bu(n,r,"",e),{})}const ET=L_(),vT=L_((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function wT(e,t){try{return t in e}catch{return!1}}class mp extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(t,n={}){super(t,n),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:ju(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=D_(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}function TT(e){if(typeof e=="string")return new mp(e);if(CT(e))return e;const t=new mp(e.message??e.statusMessage??"",{cause:e.cause||e});if(wT(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=ju(e.statusCode,t.statusCode):e.status&&(t.statusCode=ju(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;D_(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function CT(e){return e?.constructor?.__h3_error__===!0}const kT=/[^\u0009\u0020-\u007E]/g;function D_(e=""){return e.replace(kT,"")}function ju(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const M2=Symbol("layout-meta"),IT=Symbol("route"),Ur=()=>nt()?.$router,O2=()=>
18Hg()?Ct(IT,nt()._route):nt()._route;function P2(e){return e}const xT=()=>{try{if(nt()._processingMiddleware)return!0}catch{return!1}return!1},RT=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:"path"in e?Wu(e):Ur().resolve(e).href;if(t?.open){const{target:c="_blank",windowFeatures:l={}}=t.open,f=Object.entries(l).filter(([u,d])=>d!==void 0).map(([u,d])=>`${u.toLowerCase()}=${d}`).join(", ");return open(n,c,f),Promise.resolve()}const r=Vs(n,{acceptRelative:!0}),s=t?.external||r;if(s){if(!t?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:c}=new URL(n,window.location.href);if(c&&Gw(c))throw new Error(`Cannot navigate to a URL with '${c}' protocol.`)}const o=xT();if(!s&&o)return t?.replace?typeof e=="string"?{path:e,replace:!0}:{...e,replace:!0}:e;const i=Ur(),a=nt();return s?(a._scope.stop(),t?.replace?location.replace(n):location.href=n,o?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t?.replace?i.replace(e):i.push(e)};function Wu(e){return Yw(e.path||"",e.query||{})+(e.hash||"")}const $_="__nuxt_error",F_=()=>Mv(nt().payload,"error"),N2=e=>{const t=AT(e);try{const n=nt(),r=F_();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},L2=async(e={})=>{const t=nt(),n=F_();t.callHook("app:error:cleared",e),e.redirect&&await Ur().replace(e.redirect),n.value=pT},D2=e=>!!e&&typeof e=="object"&&$_ in e,AT=e=>{const t=TT(e);return Object.defineProperty(t,$_,{value:!0,configurable:!1,writable:!1}),t};function MT(){return H_().__VUE_DEVTOOLS_GLOBAL_HOOK__}function H_(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const OT=typeof Proxy=="function",PT="devtools-plugin:setup",NT="plugin:settings:set";let Qr,Vu;function LT(){var e;return Qr!==void 0||(typeof window<"u"&&window.performance?(Qr=!0,Vu=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(Qr=!0,Vu=globalThis.perf_hooks.performance):Qr=!1),Qr}function DT(){return LT()?Vu.now():Date.now()}class $T{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const i in t.settings){const a=t.settings[i];r[i]=a.defaultValue}const s=`__vue-devtools-plugin-settings__${t.id}`;let o=Object.assign({},r);try{const i=localStorage.getItem(s),a=JSON.parse(i);Object.assign(o,a)}catch{}this.fallbacks={getSettings(){return o},setSettings(i){try{localStorage.setItem(s,JSON.stringify(i))}catch{}o=i},now(){return DT()}},n&&n.on(NT,(i,a)=>{i===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(i,a)=>this.target?this.target.on[a]:(...c)=>{this.onQueue.push({method:a,args:c})}}),this.proxiedTarget=new Proxy({},{get:(i,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...c)=>(this.targetQueue.push({method:a,args:c,resolve:()=>{}}),this.fallbacks[a](...c)):(...c)=>new Promise(l=>{this.targetQueue.push({method:a,args:c,resolve:l})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function $2(e,t){const n=e,r=H_(),s=MT(),o=OT&&n.enableEarlyProxy;if(s&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!o))s.emit(PT,e,t);else{const i=o?new $T(n,s):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}}function gp(e){const t=HT(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let s=0;s<n.byteLength;s++)r.setUint8(s,t.charCodeAt(s));return n}const FT="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function HT(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,r=0;for(let s=0;s<e.length;s++)n<<=6,n|=FT.indexOf(e[s]),r+=6,r===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const UT=-1,BT=-2,jT=-3,WT=-4,VT=-5,zT=-6;function qT(e,t){return GT(JSON.parse(e),t)}function GT(e,t){if(typeof e=="number")return s(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function s(o,i=!1){if(o===UT)return;if(o===jT)return NaN;if(o===WT)return 1/0;if(o===VT)return-1/0;if(o===zT)return-0;if(i)throw new Error("Invalid input");if(o in r)return r[o];const a=n[o];if(!a||typeof a!="object")r[o]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const c=a[0],l=t?.[c];if(l)return r[o]=l(s(a[1]));switch(c){case"Date":r[o]=new Date(a[1]);break;case"Set":const f=new Set;r[o]=f;for(let p=1;p<a.length;p+=1)f.add(s(a[p]));break;case"Map":const u=new Map;r[o]=u;for(let p=1;p<a.length;p+=2)u.set(s(a[p]),s(a[p+1]));break;case"RegExp":r[o]=new RegExp(a[1],a[2]);break;case"Object":r[o]=Object(a[1]);break;case"BigInt":r[o]=BigInt(a[1]);break;case"null":const d=Object.create(null);r[o]=d;for(let p=1;p<a.length;p+=2)d[a[p]]=s(a[p+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{const p=globalThis[c],h=a[1],m=gp(h),w=new p(m);r[o]=w;break}case"ArrayBuffer":{const p=a[1],h=gp(p);r[o]=h;break}default:throw new Error(`Unknown type ${c}`)}}else{const c=new Array(a.length);r[o]=c;for(let l=0;l<a.length;l+=1){const f=a[l];f!==BT&&(c[l]=s(f))}}else{const c={};r[o]=c;for(const l in a){const f=a[l];c[l]=s(f)}}return r[o]}return s(0)}const KT=new Set(["title","titleTemplate","script","style","noscript"]),ji=new Set(["base","meta","link","style","script","noscript"]),YT=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),XT=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),U_=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),JT=typeof window<"u";function Ea(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function zu(e){if(e._h)return e._h;if(e._d)return Ea(e._d);let t=`${e.tag}:${e.textContent||e.innerHTML||""}:`;for(const n in e.props)t+=`${n}:${String(e.props[n])},`;return Ea(t)}function QT(e,t){return e instanceof Promise?e.then(t):t(e)}function qu(e,t,n,r){const s=r||j_(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},e==="templateParams"||e==="titleTemplate");if(s instanceof Promise)return s.then(i=>qu(e,t,n,i));const o={tag:e,props:s};for(const i of U_){const a=o.props[i]!==void 0?o.props[i]:n[i];a!==void 0&&((!(i==="innerHTML"||i==="textContent"||i==="children")||KT.has(o.tag))&&(o[i==="children"?"innerHTML":i]=a),delete o.props[i])}return o.props.body&&(o.tagPosition="bodyClose",delete o.props.body),o.tag==="script"&&typeof o.innerHTML=="object"&&(o.innerHTML=JSON.stringify(o.innerHTML),o.props.type=o.props.type||"application/json"),Array.isArray(o.props.content)?o.props.content.map(i=>({...o,props:{...o.props,content:i}})):o}function ZT(e,t){const n=e==="class"?" ":";";return t&&typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,r])=>r).map(([r,s])=>e==="style"?`${r}:${s}`:r)),String(Array.isArray(t)?t.join(n):t)?.split(n).filter(r=>!!r.trim()).join(n)}function B_(e,t,n,r){for(let s=r;s<n.length;s+=1){const o=n[s];if(o==="class"||o==="style"){e[o]=ZT(o,e[o]);continue}if(e[o]instanceof Promise)return e[o].then(i=>(e[o]=i,B_(e,t,n,s)));if(!t&&!U_.has(o)){const i=String(e[o]),a=o.startsWith("data-");i==="true"||i===""?e[o]=a?"true":!0:e[o]||(a&&i==="false"?e[o]="false":delete e[o])}}}function j_(e,t=!1){const n=B_(e,t,Object.keys(e),0);return n instanceof Promise?n.then(()=>e):e}const e1=10;function W_(e,t,n){for(let r=n;r<t.length;r+=1){const s=t[r];
18if(s instanceof Promise)return s.then(o=>(t[r]=o,W_(e,t,r)));Array.isArray(s)?e.push(...s):e.push(s)}}function t1(e){const t=[],n=e.resolvedInput;for(const s in n){if(!Object.prototype.hasOwnProperty.call(n,s))continue;const o=n[s];if(!(o===void 0||!YT.has(s))){if(Array.isArray(o)){for(const i of o)t.push(qu(s,i,e));continue}t.push(qu(s,o,e))}}if(t.length===0)return[];const r=[];return QT(W_(r,t,0),()=>r.map((s,o)=>(s._e=e._i,e.mode&&(s._m=e.mode),s._p=(e._i<<e1)+o,s)))}const _p=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),yp={base:-10,title:10},bp={critical:-80,high:-10,low:20};function va(e){const t=e.tagPriority;if(typeof t=="number")return t;let n=100;return e.tag==="meta"?e.props["http-equiv"]==="content-security-policy"?n=-30:e.props.charset?n=-20:e.props.name==="viewport"&&(n=-15):e.tag==="link"&&e.props.rel==="preconnect"?n=20:e.tag in yp&&(n=yp[e.tag]),t&&t in bp?n+bp[t]:n}const n1=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],r1=["name","property","http-equiv"];function V_(e){const{props:t,tag:n}=e;if(XT.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(t.id)return`${n}:id:${t.id}`;for(const r of r1)if(t[r]!==void 0)return`${n}:${r}:${t[r]}`;return!1}const Vn="%separator";function s1(e,t,n=!1){let r;if(t==="s"||t==="pageTitle")r=e.pageTitle;else if(t.includes(".")){const s=t.indexOf(".");r=e[t.substring(0,s)]?.[t.substring(s+1)]}else r=e[t];if(r!==void 0)return n?(r||"").replace(/"/g,'\\"'):r||""}const o1=new RegExp(`${Vn}(?:\\s*${Vn})*`,"g");function yi(e,t,n,r=!1){if(typeof e!="string"||!e.includes("%"))return e;let s=e;try{s=decodeURI(e)}catch{}const o=s.match(/%\w+(?:\.\w+)?/g);if(!o)return e;const i=e.includes(Vn);return e=e.replace(/%\w+(?:\.\w+)?/g,a=>{if(a===Vn||!o.includes(a))return a;const c=s1(t,a.slice(1),r);return c!==void 0?c:a}).trim(),i&&(e.endsWith(Vn)&&(e=e.slice(0,-Vn.length)),e.startsWith(Vn)&&(e=e.slice(Vn.length)),e=e.replace(o1,n).trim()),e}function Sp(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function i1(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 o=(await e.resolveTags()).map(u=>({tag:u,id:ji.has(u.tag)?zu(u):u.tag,shouldRender:!0}));let i=e._dom;if(!i){i={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};const u=new Set;for(const d of["body","head"]){const p=n[d]?.children;for(const h of p){const m=h.tagName.toLowerCase();if(!ji.has(m))continue;const w={tag:m,props:await j_(h.getAttributeNames().reduce((b,T)=>({...b,[T]:h.getAttribute(T)}),{})),innerHTML:h.innerHTML},v=V_(w);let S=v,g=1;for(;S&&u.has(S);)S=`${v}:${g++}`;S&&(w._d=S,u.add(S)),i.elMap[h.getAttribute("data-hid")||zu(w)]=h}}}i.pendingSideEffects={...i.sideEffects},i.sideEffects={};function a(u,d,p){const h=`${u}:${d}`;i.sideEffects[h]=p,delete i.pendingSideEffects[h]}function c({id:u,$el:d,tag:p}){const h=p.tag.endsWith("Attrs");if(i.elMap[u]=d,h||(p.textContent&&p.textContent!==d.textContent&&(d.textContent=p.textContent),p.innerHTML&&p.innerHTML!==d.innerHTML&&(d.innerHTML=p.innerHTML),a(u,"el",()=>{i.elMap[u]?.remove(),delete i.elMap[u]})),p._eventHandlers)for(const m in p._eventHandlers)Object.prototype.hasOwnProperty.call(p._eventHandlers,m)&&d.getAttribute(`data-${m}`)!==""&&((p.tag==="bodyAttrs"?n.defaultView:d).addEventListener(m.substring(2),p._eventHandlers[m].bind(d)),d.setAttribute(`data-${m}`,""));for(const m in p.props){if(!Object.prototype.hasOwnProperty.call(p.props,m))continue;const w=p.props[m],v=`attr:${m}`;if(m==="class"){if(!w)continue;for(const S of w.split(" "))h&&a(u,`${v}:${S}`,()=>d.classList.remove(S)),!d.classList.contains(S)&&d.classList.add(S)}else if(m==="style"){if(!w)continue;for(const S of w.split(";")){const g=S.indexOf(":"),b=S.substring(0,g).trim(),T=S.substring(g+1).trim();a(u,`${v}:${b}`,()=>{d.style.removeProperty(b)}),d.style.setProperty(b,T)}}else d.getAttribute(m)!==w&&d.setAttribute(m,w===!0?"":String(w)),h&&a(u,v,()=>d.removeAttribute(m))}}const l=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const u of o){const{tag:d,shouldRender:p,id:h}=u;if(p){if(d.tag==="title"){n.title=d.textContent;continue}u.$el=u.$el||i.elMap[h],u.$el?c(u):ji.has(d.tag)&&l.push(u)}}for(const u of l){const d=u.tag.tagPosition||"head";u.$el=n.createElement(u.tag.tag),c(u),f[d]=f[d]||n.createDocumentFragment(),f[d].appendChild(u.$el)}for(const u of o)await e.hooks.callHook("dom:renderTag",u,n,a);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 u in i.pendingSideEffects)i.pendingSideEffects[u]();e._dom=i,await e.hooks.callHook("dom:rendered",{renders:o}),s()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function a1(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domDebouncedUpdatePromise=e._domDebouncedUpdatePromise||new Promise(r=>n(()=>i1(e,t).then(()=>{delete e._domDebouncedUpdatePromise,r()})))}function c1(e){return t=>{const n=t.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;
18return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":r=>{a1(r,e)}}}}}const u1=new Set(["templateParams","htmlAttrs","bodyAttrs"]),l1={hooks:{"tag:normalise":({tag:e})=>{e.props.hid&&(e.key=e.props.hid,delete e.props.hid),e.props.vmid&&(e.key=e.props.vmid,delete e.props.vmid),e.props.key&&(e.key=e.props.key,delete e.props.key);const t=V_(e);t&&!t.startsWith("meta:og:")&&!t.startsWith("meta:twitter:")&&delete e.key;const n=t||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":e=>{const t=Object.create(null);for(const r of e.tags){const s=(r.key?`${r.tag}:${r.key}`:r._d)||zu(r),o=t[s];if(o){let a=r?.tagDuplicateStrategy;if(!a&&u1.has(r.tag)&&(a="merge"),a==="merge"){const c=o.props;c.style&&r.props.style&&(c.style[c.style.length-1]!==";"&&(c.style+=";"),r.props.style=`${c.style} ${r.props.style}`),c.class&&r.props.class?r.props.class=`${c.class} ${r.props.class}`:c.class&&(r.props.class=c.class),t[s].props={...c,...r.props};continue}else if(r._e===o._e){o._duped=o._duped||[],r._d=`${o._d}:${o._duped.length+1}`,o._duped.push(r);continue}else if(va(r)>va(o))continue}if(!(r.innerHTML||r.textContent||Object.keys(r.props).length!==0)&&ji.has(r.tag)){delete t[s];continue}t[s]=r}const n=[];for(const r in t){const s=t[r],o=s._duped;n.push(s),o&&(delete s._duped,n.push(...o))}e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},f1=new Set(["script","link","bodyAttrs"]),d1=e=>({hooks:{"tags:resolve":t=>{for(const n of t.tags){if(!f1.has(n.tag))continue;const r=n.props;for(const s in r){if(s[0]!=="o"||s[1]!=="n"||!Object.prototype.hasOwnProperty.call(r,s))continue;const o=r[s];typeof o=="function"&&(e.ssr&&_p.has(s)?r[s]=`this.dataset.${s}fired = true`:delete r[s],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[s]=o)}e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||Ea(n.props.src||n.props.href))}},"dom:renderTag":({$el:t,tag:n})=>{const r=t?.dataset;if(r)for(const s in r){if(!s.endsWith("fired"))continue;const o=s.slice(0,-5);_p.has(o)&&n._eventHandlers?.[o]?.call(t,new Event(o.substring(2)))}}}}),p1=new Set(["link","style","script","noscript"]),h1={hooks:{"tag:normalise":({tag:e})=>{e.key&&p1.has(e.tag)&&(e.props["data-hid"]=e._h=Ea(e.key))}}},m1={mode:"server",hooks:{"tags:beforeResolve":e=>{const t={};let n=!1;for(const r of e.tags)r._m!=="server"||r.tag!=="titleTemplate"&&r.tag!=="templateParams"&&r.tag!=="title"||(t[r.tag]=r.tag==="title"||r.tag==="titleTemplate"?r.textContent:r.props,n=!0);n&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},g1={hooks:{"tags:resolve":e=>{for(const t of e.tags)if(typeof t.tagPriority=="string")for(const{prefix:n,offset:r}of n1){if(!t.tagPriority.startsWith(n))continue;const s=t.tagPriority.substring(n.length),o=e.tags.find(i=>i._d===s)?._p;if(o!==void 0){t._p=o+r;break}}e.tags.sort((t,n)=>{const r=va(t),s=va(n);return r<s?-1:r>s?1:t._p-n._p})}}},_1={meta:"content",link:"href",htmlAttrs:"lang"},y1=["innerHTML","textContent"],b1=e=>({hooks:{"tags:resolve":t=>{const{tags:n}=t;let r;for(let i=0;i<n.length;i+=1)n[i].tag==="templateParams"&&(r=t.tags.splice(i,1)[0].props,i-=1);const s=r||{},o=s.separator||"|";delete s.separator,s.pageTitle=yi(s.pageTitle||n.find(i=>i.tag==="title")?.textContent||"",s,o);for(const i of n){if(i.processTemplateParams===!1)continue;const a=_1[i.tag];if(a&&typeof i.props[a]=="string")i.props[a]=yi(i.props[a],s,o);else if(i.processTemplateParams||i.tag==="titleTemplate"||i.tag==="title")for(const c of y1)typeof i[c]=="string"&&(i[c]=yi(i[c],s,o,i.tag==="script"&&i.props.type.endsWith("json")))}e._templateParams=s,e._separator=o},"tags:afterResolve":({tags:t})=>{let n;for(let r=0;r<t.length;r+=1){const s=t[r];s.tag==="title"&&s.processTemplateParams!==!1&&(n=s)}n?.textContent&&(n.textContent=yi(n.textContent,e._templateParams,e._separator))}}}),S1={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n,r;for(let s=0;s<t.length;s+=1){const o=t[s];o.tag==="title"?n=o:o.tag==="titleTemplate"&&(r=o)}if(r&&n){const s=Sp(r.textContent,n.textContent);s!==null?n.textContent=s||n.textContent:e.tags.splice(e.tags.indexOf(n),1)}
18else if(r){const s=Sp(r.textContent);s!==null&&(r.textContent=s,r.tag="title",r=void 0)}r&&e.tags.splice(e.tags.indexOf(r),1)}}},E1={hooks:{"tags:afterResolve":e=>{for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&(t.props.type==="application/ld+json"||t.props.type==="application/json")?t.innerHTML=t.innerHTML.replace(/</g,"\\u003C"):t.innerHTML=t.innerHTML.replace(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`))}}};let z_;function v1(e={}){const t=w1(e);return t.use(c1()),z_=t}function Ep(e,t){return!e||e==="server"&&t||e==="client"&&!t}function w1(e={}){const t=x_();t.addHooks(e.hooks||{}),e.document=e.document||(JT?document:void 0);const n=!e.document,r=()=>{a.dirty=!0,t.callHook("entries:updated",a)};let s=0,o=[];const i=[],a={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return o},use(c){const l=typeof c=="function"?c(a):c;(!l.key||!i.some(f=>f.key===l.key))&&(i.push(l),Ep(l.mode,n)&&t.addHooks(l.hooks||{}))},push(c,l){delete l?.head;const f={_i:s++,input:c,...l};return Ep(f.mode,n)&&(o.push(f),r()),{dispose(){o=o.filter(u=>u._i!==f._i),r()},patch(u){for(const d of o)d._i===f._i&&(d.input=f.input=u);r()}}},async resolveTags(){const c={tags:[],entries:[...o]};await t.callHook("entries:resolve",c);for(const l of c.entries){const f=l.resolvedInput||l.input;if(l.resolvedInput=await(l.transform?l.transform(f):f),l.resolvedInput)for(const u of await t1(l)){const d={tag:u,entry:l,resolvedOptions:a.resolvedOptions};await t.callHook("tag:normalise",d),c.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",c),await t.callHook("tags:resolve",c),await t.callHook("tags:afterResolve",c),c.tags},ssr:n};return[l1,m1,d1,h1,g1,b1,S1,E1,...e?.plugins||[]].forEach(c=>a.use(c)),a.hooks.callHook("init",a),a}function T1(){return z_}const C1=f_[0]==="3";function k1(e){return typeof e=="function"?e():En(e)}function wa(e){if(e instanceof Promise||e instanceof Date||e instanceof RegExp)return e;const t=k1(e);if(!e||!t)return t;if(Array.isArray(t))return t.map(n=>wa(n));if(typeof t=="object"){const n={};for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(r==="titleTemplate"||r[0]==="o"&&r[1]==="n"){n[r]=En(t[r]);continue}n[r]=wa(t[r])}return n}return t}const I1={hooks:{"entries:resolve":e=>{for(const t of e.entries)t.resolvedInput=wa(t.input)}}},q_="usehead";function x1(e){return{install(n){C1&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(q_,e))}}.install}function F2(e={}){e.domDelayFn=e.domDelayFn||(n=>Za(()=>setTimeout(()=>n(),0)));const t=v1(e);return t.use(I1),t.install=x1(t),t}const Gu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ku="__unhead_injection_handler__";function H2(e){Gu[Ku]=e}function R1(){return Ku in Gu?Gu[Ku]():Ct(q_)||T1()}function U2(e,t={}){const n=t.head||R1();if(n)return n.ssr?n.push(e,t):A1(n,e,t)}function A1(e,t,n={}){const r=Sn(!1),s=Sn({});w0(()=>{s.value=r.value?{}:wa(t)});const o=e.push(s.value,n);return _s(s,a=>{o.patch(a)}),fr()&&(qo(()=>{o.dispose()}),nf(()=>{r.value=!0}),tf(()=>{r.value=!1})),o}const M1=function(){const t=typeof document<"u"&&document.createElement("link").relList;return t&&t.supports&&t.supports("modulepreload")?"modulepreload":"preload"}(),O1=function(e,t){return new URL(e,t).href},vp={},B2=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){const i=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),c=a?.nonce||a?.getAttribute("nonce");s=Promise.allSettled(n.map(l=>{if(l=O1(l,r),l in vp)return;vp[l]=!0;const f=l.endsWith(".css"),u=f?'[rel="stylesheet"]':"";if(!!r)for(let h=i.length-1;h>=0;h--){const m=i[h];if(m.href===l&&(!f||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${u}`))return;const p=document.createElement("link");if(p.rel=f?"stylesheet":M1,f||(p.as="script"),p.crossOrigin="",p.href=l,c&&p.setAttribute("nonce",c),document.head.appendChild(p),f)return new Promise((h,m)=>{p.addEventListener("load",h),p.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${l}`)))})}))}function o(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return s.then(i=>{for(const a of i||[])a.status==="rejected"&&o(a.reason);return t().catch(o)})};let Wi,Vi;function P1(){return Wi=$fetch(C_(`builds/meta/${O_().app.buildId}.json`),{responseType:"json"}),Wi.then(e=>{Vi=ST(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),Wi}function N1(){return Wi||P1()}async function j2(e){const t=typeof e=="string"?e:e.path;if(await N1(),!Vi)return console.error("[nuxt] Error creating app manifest matcher.",Vi),{};try{return ET({},...Vi.matchAll(t).reverse())}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function L1(e){return null}let Er=null;async function W2(){if(Er)return Er;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await D1(e.textContent||""),n=e.dataset.src?await L1(e.dataset.src):void 0;return Er={...t,...n,...window.__NUXT__},Er.config?.public&&(Er.config.public=Vr(Er.config.public)),Er}async function D1(e){return await qT(e,nt()._payloadRevivers)}function V2(e,t){nt()._payloadRevivers[e]=t}/*!
19  * vue-router v4.5.0
20  * (c) 2024 Eduardo San Martin Morote
21  * @license MIT
22  */const ns=typeof document<"u";function G_(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}
vendor: 6,844 bytes, line 22
22function $1(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&G_(e.default)}const ve=Object.assign;function qc(e,t){const n={};for(const r in t){const s=t[r];n[r]=Xt(s)?s.map(e):e(s)}return n}const go=()=>{},Xt=Array.isArray,K_=/#/g,F1=/&/g,H1=/\//g,U1=/=/g,B1=/\?/g,Y_=/\+/g,j1=/%5B/g,W1=/%5D/g,X_=/%5E/g,V1=/%60/g,J_=/%7B/g,z1=/%7C/g,Q_=/%7D/g,q1=/%20/g;function pf(e){return encodeURI(""+e).replace(z1,"|").replace(j1,"[").replace(W1,"]")}function G1(e){return pf(e).replace(J_,"{").replace(Q_,"}").replace(X_,"^")}function Yu(e){return pf(e).replace(Y_,"%2B").replace(q1,"+").replace(K_,"%23").replace(F1,"%26").replace(V1,"`").replace(J_,"{").replace(Q_,"}").replace(X_,"^")}function K1(e){return Yu(e).replace(U1,"%3D")}function Y1(e){return pf(e).replace(K_,"%23").replace(B1,"%3F")}function X1(e){return e==null?"":Y1(e).replace(H1,"%2F")}function Po(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const J1=/\/$/,Q1=e=>e.replace(J1,"");function Gc(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("#");let c=t.indexOf("?");return a<c&&a>=0&&(c=-1),c>-1&&(r=t.slice(0,c),o=t.slice(c+1,a>-1?a:t.length),s=e(o)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=nC(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:Po(i)}}function Z1(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function wp(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function eC(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&ks(t.matched[r],n.matched[s])&&Z_(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function ks(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Z_(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!tC(e[n],t[n]))return!1;return!0}function tC(e,t){return Xt(e)?Tp(e,t):Xt(t)?Tp(t,e):e===t}function Tp(e,t){return Xt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function nC(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 o=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}const fn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var No;(function(e){e.pop="pop",e.push="push"})(No||(No={}));var _o;(function(e){e.back="back",e.forward="forward",e.unknown=""})(_o||(_o={}));function rC(e){if(!e)if(ns){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Q1(e)}const sC=/^[^#]+#/;function oC(e,t){return e.replace(sC,"#")+t}function iC(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 ac=()=>({left:window.scrollX,top:window.scrollY});function aC(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=iC(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 Cp(e,t){return(history.state?history.state.position-t:-1)+e}const Xu=new Map;function cC(e,t){Xu.set(e,t)}function uC(e){const t=Xu.get(e);return Xu.delete(e),t}let lC=()=>location.protocol+"//"+location.host;function ey(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let a=s.includes(e.slice(o))?e.slice(o).length:1,c=s.slice(a);return c[0]!=="/"&&(c="/"+c),wp(c,"")}return wp(n,e)+r+s}function fC(e,t,n,r){let s=[],o=[],i=null;const a=({state:d})=>{const p=ey(e,location),h=n.value,m=t.value;let w=0;if(d){if(n.value=p,t.value=d,i&&i===h){i=null;return}w=m?d.position-m.position:0}else r(p);s.forEach(v=>{v(n.value,h,{delta:w,type:No.pop,direction:w?w>0?_o.forward:_o.back:_o.unknown})})};function c(){i=n.value}function l(d){s.push(d);const p=()=>{const h=s.indexOf(d);h>-1&&s.splice(h,1)};return o.push(p),p}function f(){const{history:d}=window;d.state&&d.replaceState(ve({},d.state,{scroll:ac()}),"")}function u(){for(const d of o)d();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",f,{passive:!0}),{pauseListeners:c,listen:l,destroy:u}}function kp(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?ac():null}}function dC(e){const{history:t,location:n}=window,r={value:ey(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,l,f){const u=e.indexOf("#"),d=u>-1?(n.host&&document.querySelector("base")?e:e.slice(u))+c:lC()+e+c;try{t[f?"replaceState":"pushState"](l,"",d),s.value=l}catch(p){console.error(p),n[f?"replace":"assign"](d)}}function i(c,l){const f=ve({},t.state,kp(s.value.back,c,s.value.forward,!0),l,{position:s.value.position});o(c,f,!0),r.value=c}function a(c,l){const f=ve({},s.value,t.state,{forward:c,scroll:ac()});o(f.current,f,!0);const u=ve({},kp(r.value,c,null),{position:f.position+1},l);o(c,u,!1),r.value=c}return{location:r,state:s,push:a,replace:i}}function z2(e){e=rC(e);const t=dC(e),n=fC(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=ve({location:"",base:e,go:r,createHref:oC.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 pC(e){return typeof e=="string"||e&&typeof e=="object"}function ty(e){return typeof e=="string"||typeof e=="symbol"}const ny=Symbol("");var Ip;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ip||(Ip={}));function Is(e,t){return ve(new Error,{type:e,[ny]:!0},t)}function ln(e,t){return e instanceof Error&&ny in e&&(t==null||!!(e.type&t))}const xp="[^/]+?",hC={sensitive:!1,strict:!1,start:!0,end:!0},mC=/[.+*?^${}()[\]/\\]/g;function gC(e,t){const n=ve({},hC,t),r=[];let s=n.start?"^":"";const o=[];for(const l of e){const f=l.length?[]:[90];n.strict&&!l.length&&(s+="/");for(let u=0;u<l.length;u++){const d=l[u];let p=40+(n.sensitive?.25:0);if(d.type===0)u||(s+="/"),s+=d.value.replace(mC,"\\$&"),p+=40;else if(d.type===1){const{value:h,repeatable:m,optional:w,regexp:v}=d;o.push({name:h,repeatable:m,optional:w});const S=v||xp;if(S!==xp){p+=10;try{new RegExp(`(${S})`)}catch(b){throw new Error(`Invalid custom RegExp for param "${h}" (${S}): `+b.message)}}let g=m?`((?:${S}
22)(?:/(?:${S}))*)`:`(${S})`;u||(g=w&&l.length<2?`(?:/${g})`:"/"+g),w&&(g+="?"),s+=g,p+=20,w&&(p+=-8),m&&(p+=-20),S===".*"&&(p+=-50)}f.push(p)}r.push(f)}if(n.strict&&n.end){const l=r.length-1;r[l][r[l].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&!s.endsWith("/")&&(s+="(?:/|$)");const i=new RegExp(s,n.sensitive?"":"i");function a(l){const f=l.match(i),u={};if(!f)return null;for(let d=1;d<f.length;d++){const p=f[d]||"",h=o[d-1];u[h.name]=p&&h.repeatable?p.split("/"):p}return u}function c(l){let f="",u=!1;for(const d of e){(!u||!f.endsWith("/"))&&(f+="/"),u=!1;for(const p of d)if(p.type===0)f+=p.value;else if(p.type===1){const{value:h,repeatable:m,optional:w}=p,v=h in l?l[h]:"";if(Xt(v)&&!m)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const S=Xt(v)?v.join("/"):v;if(!S)if(w)d.length<2&&(f.endsWith("/")?f=f.slice(0,-1):u=!0);else throw new Error(`Missing required param "${h}"`);f+=S}}return f||"/"}return{re:i,score:r,keys:o,parse:a,stringify:c}}function _C(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function ry(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=_C(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(Rp(r))return 1;if(Rp(s))return-1}return s.length-r.length}function Rp(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const yC={type:0,value:""},bC=/[a-zA-Z0-9_]/;function SC(e){if(!e)return[[]];if(e==="/")return[[yC]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${l}": ${p}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,c,l="",f="";function u(){l&&(n===0?o.push({type:0,value:l}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:l,regexp:f,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),l="")}function d(){l+=c}for(;a<e.length;){if(c=e[a++],c==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:c==="/"?(l&&u(),i()):c===":"?(u(),n=1):d();break;case 4:d(),n=r;break;case 1:c==="("?n=2:bC.test(c)?d():(u(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&a--);break;case 2:c===")"?f[f.length-1]=="\\"?f=f.slice(0,-1)+c:n=3:f+=c;break;case 3:u(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&a--,f="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${l}"`),u(),i(),s}function EC(e,t,n){const r=gC(SC(e.path),n),s=ve(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function vC(e,t){const n=[],r=new Map;t=Pp({strict:!1,end:!0,sensitive:!1},t);function s(u){return r.get(u)}function o(u,d,p){const h=!p,m=Mp(u);m.aliasOf=p&&p.record;const w=Pp(t,u),v=[m];if("alias"in u){const b=typeof u.alias=="string"?[u.alias]:u.alias;for(const T of b)v.push(Mp(ve({},m,{components:p?p.record.components:m.components,path:T,aliasOf:p?p.record:m})))}let S,g;for(const b of v){const{path:T}=b;if(d&&T[0]!=="/"){const k=d.record.path,x=k[k.length-1]==="/"?"":"/";b.path=d.record.path+(T&&x+T)}if(S=EC(b,d,w),p?p.alias.push(S):(g=g||S,g!==S&&g.alias.push(S),h&&u.name&&!Op(S)&&i(u.name)),sy(S)&&c(S),m.children){const k=m.children;for(let x=0;x<k.length;x++)o(k[x],S,p&&p.children[x])}p=p||S}return g?()=>{i(g)}:go}function i(u){if(ty(u)){const d=r.get(u);d&&(r.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,1),u.record.name&&r.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function a(){return n}function c(u){const d=CC(u,n);n.splice(d,0,u),u.record.name&&!Op(u)&&r.set(u.record.name,u)}function l(u,d){let p,h={},m,w;if("name"in u&&u.name){if(p=r.get(u.name),!p)throw Is(1,{location:u});w=p.record.name,h=ve(Ap(d.params,p.keys.filter(g=>!g.optional).concat(p.parent?p.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),u.params&&Ap(u.params,p.keys.map(g=>g.name))),m=p.stringify(h)}else if(u.path!=null)m=u.path,p=n.find(g=>g.re.test(m)),p&&(h=p.parse(m),w=p.record.name);else{if(p=d.name?r.get(d.name):n.find(g=>g.re.test(d.path)),!p)throw Is(1,{location:u,currentLocation:d});w=p.record.name,h=ve({},d.params,u.params),m=p.stringify(h)}const v=[];let S=p;for(;S;)v.unshift(S.record),S=S.parent;return{name:w,path:m,params:h,matched:v,meta:TC(v)}}e.forEach(u=>o(u));function f(){n.length=0,r.clear()}return{addRoute:o,resolve:l,removeRoute:i,clearRoutes:f,getRoutes:a,getRecordMatcher:s}}function Ap(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Mp(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:wC(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 wC(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 Op(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function TC(e){return e.reduce((t,n)=>ve(t,n.meta),{})}function Pp(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function CC(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;ry(e,t[o])<0?r=o:n=o+1}const s=kC(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function kC(e){let t=e;for(;t=t.parent;)if(sy(t)&&ry(e,t)===0)return t}function sy({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function IC(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<r.length;++s){const o=r[s].replace(Y_," "),i=o.indexOf("="),a=Po(i<0?o:o.slice(0,i)),c=i<0?null:Po(o.slice(i+1));if(a in t){let l=t[a];Xt(l)||(l=t[a]=[l]),l.push(c)}else t[a]=c}return t}function Np(e){let t="";for(let n in e){const r=e[n];if(n=K1(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Xt(r)?r.map(o=>
vendor: 4,228 bytes, line 22
22o&&Yu(o)):[r&&Yu(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function xC(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Xt(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const hf=Symbol(""),Lp=Symbol(""),mf=Symbol(""),gf=Symbol(""),Ju=Symbol("");function to(){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 oy(e,t,n){const r=()=>{e[t].delete(n)};rf(r),nf(r),tf(()=>{e[t].add(n)}),e[t].add(n)}function q2(e){const t=Ct(hf,{}).value;t&&oy(t,"leaveGuards",e)}function G2(e){const t=Ct(hf,{}).value;t&&oy(t,"updateGuards",e)}function zn(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((a,c)=>{const l=d=>{d===!1?c(Is(4,{from:n,to:t})):d instanceof Error?c(d):pC(d)?c(Is(2,{from:t,to:d})):(i&&r.enterCallbacks[s]===i&&typeof d=="function"&&i.push(d),a())},f=o(()=>e.call(r&&r.instances[s],t,n,l));let u=Promise.resolve(f);e.length<3&&(u=u.then(l)),u.catch(d=>c(d))})}function Kc(e,t,n,r,s=o=>o()){const o=[];for(const i of e)for(const a in i.components){let c=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(G_(c)){const f=(c.__vccOpts||c)[t];f&&o.push(zn(f,n,r,i,a,s))}else{let l=c();o.push(()=>l.then(f=>{if(!f)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const u=$1(f)?f.default:f;i.mods[a]=f,i.components[a]=u;const p=(u.__vccOpts||u)[t];return p&&zn(p,n,r,i,a,s)()}))}}return o}function Dp(e){const t=Ct(mf),n=Ct(gf),r=Je(()=>{const c=En(e.to);return t.resolve(c)}),s=Je(()=>{const{matched:c}=r.value,{length:l}=c,f=c[l-1],u=n.matched;if(!f||!u.length)return-1;const d=u.findIndex(ks.bind(null,f));if(d>-1)return d;const p=$p(c[l-2]);return l>1&&$p(f)===p&&u[u.length-1].path!==p?u.findIndex(ks.bind(null,c[l-2])):d}),o=Je(()=>s.value>-1&&PC(n.params,r.value.params)),i=Je(()=>s.value>-1&&s.value===n.matched.length-1&&Z_(n.params,r.value.params));function a(c={}){if(OC(c)){const l=t[En(e.replace)?"replace":"push"](En(e.to)).catch(go);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>l),l}return Promise.resolve()}return{route:r,href:Je(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}function RC(e){return e.length===1?e[0]:e}const AC=ec({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"}},useLink:Dp,setup(e,{slots:t}){const n=Vr(Dp(e)),{options:r}=Ct(mf),s=Je(()=>({[Fp(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Fp(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&RC(t.default(n));return e.custom?o:Hr("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),MC=AC;function OC(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 PC(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(!Xt(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function $p(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Fp=(e,t,n)=>e??t??n,NC=ec({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ct(Ju),s=Je(()=>e.route||r.value),o=Ct(Lp,0),i=Je(()=>{let l=En(o);const{matched:f}=s.value;let u;for(;(u=f[l])&&!u.components;)l++;return l}),a=Je(()=>s.value.matched[i.value]);Hi(Lp,Je(()=>i.value+1)),Hi(hf,a),Hi(Ju,s);const c=Sn();return _s(()=>[c.value,a.value,e.name],([l,f,u],[d,p,h])=>{f&&(f.instances[u]=l,p&&p!==f&&l&&l===d&&(f.leaveGuards.size||(f.leaveGuards=p.leaveGuards),f.updateGuards.size||(f.updateGuards=p.updateGuards))),l&&f&&(!p||!ks(f,p)||!d)&&(f.enterCallbacks[u]||[]).forEac
vendor: 4,096 bytes, line 22
22h(m=>m(l))},{flush:"post"}),()=>{const l=s.value,f=e.name,u=a.value,d=u&&u.components[f];if(!d)return Hp(n.default,{Component:d,route:l});const p=u.props[f],h=p?p===!0?l.params:typeof p=="function"?p(l):p:null,w=Hr(d,ve({},h,t,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(u.instances[f]=null)},ref:c}));return Hp(n.default,{Component:w,route:l})||w}}});function Hp(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const LC=NC;function K2(e){const t=vC(e.routes,e),n=e.parseQuery||IC,r=e.stringifyQuery||Np,s=e.history,o=to(),i=to(),a=to(),c=gg(fn);let l=fn;ns&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=qc.bind(null,L=>""+L),u=qc.bind(null,X1),d=qc.bind(null,Po);function p(L,G){let V,Q;return ty(L)?(V=t.getRecordMatcher(L),Q=G):Q=L,t.addRoute(Q,V)}function h(L){const G=t.getRecordMatcher(L);G&&t.removeRoute(G)}function m(){return t.getRoutes().map(L=>L.record)}function w(L){return!!t.getRecordMatcher(L)}function v(L,G){if(G=ve({},G||c.value),typeof L=="string"){const y=Gc(n,L,G.path),R=t.resolve({path:y.path},G),$=s.createHref(y.fullPath);return ve(y,R,{params:d(R.params),hash:Po(y.hash),redirectedFrom:void 0,href:$})}let V;if(L.path!=null)V=ve({},L,{path:Gc(n,L.path,G.path).path});else{const y=ve({},L.params);for(const R in y)y[R]==null&&delete y[R];V=ve({},L,{params:u(y)}),G.params=u(G.params)}const Q=t.resolve(V,G),ne=L.hash||"";Q.params=f(d(Q.params));const he=Z1(r,ve({},L,{hash:G1(ne),path:Q.path})),_=s.createHref(he);return ve({fullPath:he,hash:ne,query:r===Np?xC(L.query):L.query||{}},Q,{redirectedFrom:void 0,href:_})}function S(L){return typeof L=="string"?Gc(n,L,c.value.path):ve({},L)}function g(L,G){if(l!==L)return Is(8,{from:G,to:L})}function b(L){return x(L)}function T(L){return b(ve(S(L),{replace:!0}))}function k(L){const G=L.matched[L.matched.length-1];if(G&&G.redirect){const{redirect:V}=G;let Q=typeof V=="function"?V(L):V;return typeof Q=="string"&&(Q=Q.includes("?")||Q.includes("#")?Q=S(Q):{path:Q},Q.params={}),ve({query:L.query,hash:L.hash,params:Q.path!=null?{}:L.params},Q)}}function x(L,G){const V=l=v(L),Q=c.value,ne=L.state,he=L.force,_=L.replace===!0,y=k(V);if(y)return x(ve(S(y),{state:typeof y=="object"?ve({},ne,y.state):ne,force:he,replace:_}),G||V);const R=V;R.redirectedFrom=G;let $;return!he&&eC(r,Q,V)&&($=Is(16,{to:R,from:Q}),He(Q,Q,!0,!1)),($?Promise.resolve($):E(R,Q)).catch(O=>ln(O)?ln(O,2)?O:Pe(O):U(O,R,Q)).then(O=>{if(O){if(ln(O,2))return x(ve({replace:_},S(O.to),{state:typeof O.to=="object"?ve({},ne,O.to.state):ne,force:he}),G||R)}else O=I(R,Q,!0,_,ne);return A(R,Q,O),O})}function P(L,G){const V=g(L,G);return V?Promise.reject(V):Promise.resolve()}function C(L){const G=rt.values().next().value;return G&&typeof G.runWithContext=="function"?G.runWithContext(L):L()}function E(L,G){let V;const[Q,ne,he]=DC(L,G);V=Kc(Q.reverse(),"beforeRouteLeave",L,G);for(const y of Q)y.leaveGuards.forEach(R=>{V.push(zn(R,L,G))});const _=P.bind(null,L,G);return V.push(_),Be(V).then(()=>{V=[];for(const y of o.list())V.push(zn(y,L,G));return V.push(_),Be(V)}).then(()=>{V=Kc(ne,"beforeRouteUpdate",L,G);for(const y of ne)y.updateGuards.forEach(R=>{V.push(zn(R,L,G))});return V.push(_),Be(V)}).then(()=>{V=[];for(const y of he)if(y.beforeEnter)if(Xt(y.beforeEnter))for(const R of y.beforeEnter)V.push(zn(R,L,G));else V.push(zn(y.beforeEnter,L,G));return V.push(_),Be(V)}).then(()=>(L.matched.forEach(y=>y.enterCallbacks={}),V=Kc(he,"beforeRouteEnter",L,G,C),V.push(_),Be(V))).then(()=>{V=[];for(const y of i.list())V.push(zn(y,L,G));return V.push(_),Be(V)}).catch(y=>ln(y,8)?y:Promise.reject(y))}function A(L,G,V){a.list().forEach(Q=>C(()=>Q(L,G,V)))}function I(L,G,V,Q,ne){const he=g(L,G);if(he)return he;const _=G===fn,y=ns?history.state:{};V&&(Q||_?s.replace(L.fullPath,ve({scroll:_&&y&&y.scroll},ne)):s.push(L.fullPath,ne)),c.value=L,He(L,G,V,_),Pe()}let H;function q(){H||(H=s.listen((L,G,V)=>{if(!ot.listening)return;const Q=v(L),ne=k(Q);if(ne){x(ve(ne,{replace:!0,force:!0}),Q).catch(go);return}l=Q;const he=c.value;ns&&cC(Cp(he.fullPath,V.delta),ac()),E(Q,he).catch(_=>
22ln(_,12)?_:ln(_,2)?(x(ve(S(_.to),{force:!0}),Q).then(y=>{ln(y,20)&&!V.delta&&V.type===No.pop&&s.go(-1,!1)}).catch(go),Promise.reject()):(V.delta&&s.go(-V.delta,!1),U(_,Q,he))).then(_=>{_=_||I(Q,he,!1),_&&(V.delta&&!ln(_,8)?s.go(-V.delta,!1):V.type===No.pop&&ln(_,20)&&s.go(-1,!1)),A(Q,he,_)}).catch(go)}))}let Y=to(),D=to(),X;function U(L,G,V){Pe(L);const Q=D.list();return Q.length?Q.forEach(ne=>ne(L,G,V)):console.error(L),Promise.reject(L)}function ce(){return X&&c.value!==fn?Promise.resolve():new Promise((L,G)=>{Y.add([L,G])})}function Pe(L){return X||(X=!L,q(),Y.list().forEach(([G,V])=>L?V(L):G()),Y.reset()),L}function He(L,G,V,Q){const{scrollBehavior:ne}=e;if(!ns||!ne)return Promise.resolve();const he=!V&&uC(Cp(L.fullPath,0))||(Q||!V)&&history.state&&history.state.scroll||null;return Za().then(()=>ne(L,G,he)).then(_=>_&&aC(_)).catch(_=>U(_,L,G))}const Ue=L=>s.go(L);let It;const rt=new Set,ot={currentRoute:c,listening:!0,addRoute:p,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:w,getRoutes:m,resolve:v,options:e,push:b,replace:T,go:Ue,back:()=>Ue(-1),forward:()=>Ue(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:D.add,isReady:ce,install(L){const G=this;L.component("RouterLink",MC),L.component("RouterView",LC),L.config.globalProperties.$router=G,Object.defineProperty(L.config.globalProperties,"$route",{enumerable:!0,get:()=>En(c)}),ns&&!It&&c.value===fn&&(It=!0,b(s.location).catch(ne=>{}));const V={};for(const ne in fn)Object.defineProperty(V,ne,{get:()=>c.value[ne],enumerable:!0});L.provide(mf,G),L.provide(gf,os(V)),L.provide(Ju,c);const Q=L.unmount;rt.add(L),L.unmount=function(){rt.delete(L),rt.size<1&&(l=fn,H&&H(),H=null,c.value=fn,It=!1,X=!1),Q()}}};function Be(L){return L.reduce((G,V)=>G.then(()=>C(V)),Promise.resolve())}return ot}function DC(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const a=t.matched[i];a&&(e.matched.find(l=>ks(l,a))?r.push(a):n.push(a));const c=e.matched[i];c&&(t.matched.find(l=>ks(l,c))||s.push(c))}return[n,r,s]}function Y2(e){return Ct(gf)}const X2=(e,t,n)=>(t=t===!0?{}:t,{default:()=>t?Hr(e,t,n):n.default?.()}),$C=/(:\w+)\([^)]+\)/g,FC=/(:\w+)[?+*]/g,HC=/:\w+/g;function Up(e){const t=e?.meta.key??e.path.replace($C,"$1").replace(FC,"$1").replace(HC,n=>e.params[n.slice(1)]?.toString()||"");return typeof t=="function"?t(e):t}function UC(e,t){return e===t||t===fn?!1:Up(e)!==Up(t)?!0:!e.matched.every((r,s)=>r.components&&r.components.default===t.matched[s]?.components?.default)}function BC(e,t=!1){if(e){if(e.nodeName==="#comment"&&e.nodeValue==="[")return iy(e,[],t);if(t){const n=e.cloneNode(!0);return n.querySelectorAll("[data-island-slot]").forEach(r=>{r.innerHTML=""}),[n.outerHTML]}return[e.outerHTML]}}function iy(e,t=[],n=!1){if(e&&e.nodeName){if(WC(e))return t;if(!jC(e)){const r=e.cloneNode(!0);n&&r.querySelectorAll("[data-island-slot]").forEach(s=>{s.innerHTML=""}),t.push(r.outerHTML)}iy(e.nextSibling,t,n)}return t}function J2(e,t){const n=e?BC(e):[t];return n?H0(n.join(""),n.length):Hr("div")}function jC(e){return e.nodeName==="#comment"&&e.nodeValue==="["}function WC(e){return e.nodeName==="#comment"&&e.nodeValue==="]"}const VC={scrollBehavior(e,t,n){const r=nt(),s=Ur().options?.scrollBehaviorType??"auto";let o=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!o&&t&&e&&i!==!1&&UC(e,t)&&(o={left:0,top:0}),e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Bp(e.hash),behavior:s}:!1;const a=l=>!!(l.meta.pageTransition??fT),c=a(t)&&a(e)?"page:transition:finish":"page:finish";return new Promise(l=>{r.hooks.hookOnce(c,async()=>{await new Promise(f=>setTimeout(f,0)),e.hash&&(o={el:e.hash,top:Bp(e.hash),behavior:s}),l(o)})})}};function Bp(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}const zC={hashMode:!1,scrollBehaviorType:"auto"},Q2={...zC,...VC},ie=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,vn="8.51.0",re=globalThis;function Ko(e,t,n){const r=re,s=r.__SENTRY__=r.__SENTRY__||{},o=s[vn]=s[vn]||{};return o[e]||(o[e]=t())}const dr=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,qC="Sentry Logger ",Ta=["debug","info","warn","error","log","assert","trace"],Ca={};function Lt(e){if(!("console"in re))return e();const t=re.console,n={},r=Object.keys(Ca);r.forEach(s=>{const o=Ca[s];n[s]=t[s],t[s]=o});try{return e()}finally{r.forEach(s=>{t[s]=n[s]})}}function GC(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return dr?Ta.forEach(n=>{t[n]=(...r)=>{e&&Lt(()=>{re.console[n](`${qC}[${n}]:`,...r)})}}):Ta.forEach(n=>{t[n]=()=>{}}),t}const N=Ko("logger",GC),ay=50,an="?",jp=/\(error: (.*)\)/,Wp=/captureMessage|captureException/;function cy(...e){const t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0,s=0)=>{const o=[],i=n.split(`
23`);for(let a=r;a<i.length;a++){const c=i[a];if(c.length>1024)continue;const l=jp.test(c)?c.replace(jp,"$1"):c;if(!l.match(/\S*Error: /)){for(const f of t){const u=f(l);
23if(u){o.push(u);break}}if(o.length>=ay+s)break}}return YC(o.slice(s))}}function KC(e){return Array.isArray(e)?cy(...e):e}function YC(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(bi(t).function||"")&&t.pop(),t.reverse(),Wp.test(bi(t).function||"")&&(t.pop(),Wp.test(bi(t).function||"")&&t.pop()),t.slice(0,ay).map(n=>({...n,filename:n.filename||bi(t).filename,function:n.function||an}))}function bi(e){return e[e.length-1]||{}}const Yc="<anonymous>";function kn(e){try{return!e||typeof e!="function"?Yc:e.name||Yc}catch{return Yc}}function Qu(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 zi={},Vp={};function pr(e,t){zi[e]=zi[e]||[],zi[e].push(t)}function hr(e,t){if(!Vp[e]){Vp[e]=!0;try{t()}catch(n){dr&&N.error(`Error while instrumenting ${e}`,n)}}}function Bt(e,t){const n=e&&zi[e];if(n)for(const r of n)try{r(t)}catch(s){dr&&N.error(`Error while triggering instrumentation handler.
24Type: ${e}
25Name: ${kn(r)}
26Error:`,s)}}let Xc=null;function uy(e){const t="error";pr(t,e),hr(t,XC)}function XC(){Xc=re.onerror,re.onerror=function(e,t,n,r,s){return Bt("error",{column:r,error:s,line:n,msg:e,url:t}),Xc?Xc.apply(this,arguments):!1},re.onerror.__SENTRY_INSTRUMENTED__=!0}let Jc=null;function ly(e){const t="unhandledrejection";pr(t,e),hr(t,JC)}function JC(){Jc=re.onunhandledrejection,re.onunhandledrejection=function(e){return Bt("unhandledrejection",e),Jc?Jc.apply(this,arguments):!0},re.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function $n(){return _f(re),re}function _f(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||vn,t[vn]=t[vn]||{}}const fy=Object.prototype.toString;function er(e){switch(fy.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return In(e,Error)}}function zs(e,t){return fy.call(e)===`[object ${t}]`}function dy(e){return zs(e,"ErrorEvent")}function zp(e){return zs(e,"DOMError")}function QC(e){return zs(e,"DOMException")}function wn(e){return zs(e,"String")}function yf(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function bf(e){return e===null||yf(e)||typeof e!="object"&&typeof e!="function"}function Br(e){return zs(e,"Object")}function cc(e){return typeof Event<"u"&&In(e,Event)}function ZC(e){return typeof Element<"u"&&In(e,Element)}function ek(e){return zs(e,"RegExp")}function Yo(e){return!!(e&&e.then&&typeof e.then=="function")}function tk(e){return Br(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function In(e,t){try{return e instanceof t}catch{return!1}}function py(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue))}const bs=re,nk=80;function xn(e,t={}){if(!e)return"<unknown>";try{let n=e;const r=5,s=[];let o=0,i=0;const a=" > ",c=a.length;let l;const f=Array.isArray(t)?t:t.keyAttrs,u=!Array.isArray(t)&&t.maxStringLength||nk;for(;n&&o++<r&&(l=rk(n,f),!(l==="html"||o>1&&i+s.length*c+l.length>=u));)s.push(l),i+=l.length,n=n.parentNode;return s.reverse().join(a)}catch{return"<unknown>"}}function rk(e,t){const n=e,r=[];if(!n||!n.tagName)return"";if(bs.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&&t.length?t.filter(i=>n.getAttribute(i)).map(i=>[i,n.getAttribute(i)]):null;if(s&&s.length)s.forEach(i=>{r.push(`[${i[0]}="${i[1]}"]`)});else{n.id&&r.push(`#${n.id}`);const i=n.className;if(i&&wn(i)){const a=i.split(/\s+/);for(const c of a)r.push(`.${c}`)}}const o=["aria-label","type","name","title","alt"];for(const i of o){const a=n.getAttribute(i);a&&r.push(`[${i}="${a}"]`)}return r.join("")}function Sf(){try{return bs.document.location.href}catch{return""}}function sk(e){return bs.document&&bs.document.querySelector?bs.document.querySelector(e):null}function hy(e){if(!bs.HTMLElement)return null;let t=e;const n=5;for(let r=0;r<n;r++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}function tr(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function Qc(e,t){let n=e;const r=n.length;if(r<=150)return n;t>r&&(t=r);let s=Math.max(t-60,0);s<5&&(s=0);let o=Math.min(s+140,r);return o>r-5&&(o=r),o===r&&(s=Math.max(o-140,0)),n=n.slice(s,o),s>0&&(n=`'{snip} ${n}`),o<r&&(n+=" {snip}"),n}function ka(e,t){if(!Array.isArray(e))return"";const n=[];for(let r=0;r<e.length;r++){const s=e[r];try{py(s)?n.push("[VueViewModel]"):n.push(String(s))}catch{n.push("[value cannot be serialized]")}}return n.join(t)}function ok(e,t,n=!1){return wn(e)?ek(t)?t.test(e):wn(t)?n?e===t:e.includes(t):!1:!1}function nr(e,t=[],n=!1){return t.some(r=>ok(e,r,n))}function _t(e,t,n){if(!(t in e))return;const r=e[t],s=n(r);typeof s=="function"&&my(s,r);try{e[t]=s}catch{dr&&N.log(`Failed to replace method "${t}" in object`,e)}}function kt(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{dr&&N.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function my(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,kt(e,"__sentry_original__",t)}catch{}}function Ef(e){return e.__sentry_original__}function gy(e){if(er(e))return{message:e.message,name:e.name,stack:e.stack,...Gp(e)};if(cc(e)){const t={type:e.type,target:qp(e.target),currentTarget:qp(e.currentTarget),...Gp(e)};return typeof CustomEvent<"u"&&In(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function qp(e){try{return ZC(e)?xn(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function Gp(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 ik(e,t=40){const n=Object.keys(gy(e));n.sort();const r=n[0];if(!r)return"[object has no keys]";if(r.length>=t)return tr(r,t);for(let s=n.length;s>0;s--){const o=n.slice(0,s).join(", ");
26if(!(o.length>t))return s===n.length?o:tr(o,t)}return""}function ze(e){return Zu(e,new Map)}function Zu(e,t){if(ak(e)){const n=t.get(e);if(n!==void 0)return n;const r={};t.set(e,r);for(const s of Object.getOwnPropertyNames(e))typeof e[s]<"u"&&(r[s]=Zu(e[s],t));return r}if(Array.isArray(e)){const n=t.get(e);if(n!==void 0)return n;const r=[];return t.set(e,r),e.forEach(s=>{r.push(Zu(s,t))}),r}return e}function ak(e){if(!Br(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||t==="Object"}catch{return!0}}const _y=1e3;function Xo(){return Date.now()/_y}function ck(){const{performance:e}=re;if(!e||!e.now)return Xo;const t=Date.now()-e.now(),n=e.timeOrigin==null?t:e.timeOrigin;return()=>(n+e.now())/_y}const Ne=ck(),at=(()=>{const{performance:e}=re;if(!e||!e.now)return;const t=3600*1e3,n=e.now(),r=Date.now(),s=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,o=s<t,i=e.timing&&e.timing.navigationStart,c=typeof i=="number"?Math.abs(i+n-r):t,l=c<t;return o||l?s<=c?e.timeOrigin:i:r})();function bt(){const e=re,t=e.crypto||e.msCrypto;let n=()=>Math.random()*16;try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{const r=new Uint8Array(1);return t.getRandomValues(r),r[0]})}catch{}return("10000000100040008000"+1e11).replace(/[018]/g,r=>(r^(n()&15)>>r/4).toString(16))}function yy(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function qn(e){const{message:t,event_id:n}=e;if(t)return t;const r=yy(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function el(e,t,n){const r=e.exception=e.exception||{},s=r.values=r.values||[],o=s[0]=s[0]||{};o.value||(o.value=t||""),o.type||(o.type="Error")}function or(e,t){const n=yy(e);if(!n)return;const r={type:"generic",handled:!0},s=n.mechanism;if(n.mechanism={...r,...s,...t},t&&"data"in t){const o={...s&&s.data,...t.data};n.mechanism.data=o}}function uk(e,t,n=5){if(t.lineno===void 0)return;const r=e.length,s=Math.max(Math.min(r-1,t.lineno-1),0);t.pre_context=e.slice(Math.max(0,s-n),s).map(i=>Qc(i,0));const o=Math.min(r-1,s);t.context_line=Qc(e[o],t.colno||0),t.post_context=e.slice(Math.min(s+1,r),s+1+n).map(i=>Qc(i,0))}function Kp(e){if(lk(e))return!0;try{kt(e,"__sentry_captured__",!0)}catch{}return!1}function lk(e){try{return e.__sentry_captured__}catch{}}var mn;(function(e){e[e.PENDING=0]="PENDING";const n=1;e[e.RESOLVED=n]="RESOLVED";const r=2;e[e.REJECTED=r]="REJECTED"})(mn||(mn={}));function Rn(e){return new Ft(t=>{t(e)})}function Ia(e){return new Ft((t,n)=>{n(e)})}class Ft{constructor(t){Ft.prototype.__init.call(this),Ft.prototype.__init2.call(this),Ft.prototype.__init3.call(this),Ft.prototype.__init4.call(this),this._state=mn.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}then(t,n){return new Ft((r,s)=>{this._handlers.push([!1,o=>{if(!t)r(o);else try{r(t(o))}catch(i){s(i)}},o=>{if(!n)s(o);else try{r(n(o))}catch(i){s(i)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new Ft((n,r)=>{let s,o;return this.then(i=>{o=!1,s=i,t&&t()},i=>{o=!0,s=i,t&&t()}).then(()=>{if(o){r(s);return}n(s)})})}__init(){this._resolve=t=>{this._setResult(mn.RESOLVED,t)}}__init2(){this._reject=t=>{this._setResult(mn.REJECTED,t)}}__init3(){this._setResult=(t,n)=>{if(this._state===mn.PENDING){if(Yo(n)){n.then(this._resolve,this._reject);return}this._state=t,this._value=n,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===mn.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===mn.RESOLVED&&n[1](this._value),this._state===mn.REJECTED&&n[2](this._value),n[0]=!0)})}}}function fk(e){const t=Ne(),n={sid:bt(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>pk(n)};return xs(n,e),n}function xs(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||Ne(),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:bt()),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),t
26ypeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function dk(e,t){let n={};e.status==="ok"&&(n={status:"exited"}),xs(e,n)}function pk(e){return ze({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 An(){return bt()}function ir(){return bt().substring(16)}function uc(e,t,n=2){if(!t||typeof t!="object"||n<=0)return t;if(e&&t&&Object.keys(t).length===0)return e;const r={...e};for(const s in t)Object.prototype.hasOwnProperty.call(t,s)&&(r[s]=uc(r[s],t[s],n-1));return r}const tl="_sentrySpan";function jr(e,t){t?kt(e,tl,t):delete e[tl]}function xa(e){return e[tl]}const hk=100;class vf{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:An(),spanId:ir()}}clone(){const t=new vf;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._requestSession=this._requestSession,t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,jr(t,xa(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&&xs(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}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,s]=n instanceof Mn?[n.getScopeData(),n.getRequestSession()]:Br(n)?[t,t.requestSession]:[],{tags:o,extra:i,user:a,contexts:c,level:l,fingerprint:f=[],propagationContext:u}=r||{};return this._tags={...this._tags,...o},this._extra={...this._extra,...i},this._contexts={...this._contexts,...c},a&&Object.keys(a).length&&(this._user=a),l&&(this._level=l),f.length&&(this._fingerprint=f),u&&(this._propagationContext=u),s&&(this._requestSession=s),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._requestSession=void 0,this._session=void 0,jr(this,void 0),this._attachments=[],this.setPropagationContext({traceId:An()}),this._notifyScopeListeners(),this}addBreadcrumb(t,n){const r=typeof n=="number"?n:hk;if(r<=0)return this;const s={timestamp:Xo(),...t},o=this._breadcrumbs;return o.push(s),this._breadcrumbs=o.length>r?o.slice(-r):o,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:xa(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=uc(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext={spanId:ir(),...t},this}getPropagationContext(){return this._propagationContext}captureException(t,n){const r=n&&n.event_id?n.event_id:bt();if(!this._client)return N.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&&r.event_id?r.event_id:bt();if(!this._client)return N.warn("No client configured on scope - will not capture message!"),s;const o=new Error(t);return this._client.captureMessage(t,n,{originalException:t,syntheticException:o,...r,event_id:s},this),s}captureEvent(t,n){const r=n&&n.event_id?n.event_id:bt();return this._client?(this._client.captureEvent(t,{...n,event_id:r},this),r):(N.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
26h(t=>{t(this)}),this._notifyingListeners=!1)}}const Mn=vf;function mk(){return Ko("defaultCurrentScope",()=>new Mn)}function gk(){return Ko("defaultIsolationScope",()=>new Mn)}class _k{constructor(t,n){let r;t?r=t:r=new Mn;let s;n?s=n:s=new Mn,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 Yo(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 Rs(){const e=$n(),t=_f(e);return t.stack=t.stack||new _k(mk(),gk())}function yk(e){return Rs().withScope(e)}function bk(e,t){const n=Rs();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function Yp(e){return Rs().withScope(()=>e(Rs().getIsolationScope()))}function Sk(){return{withIsolationScope:Yp,withScope:yk,withSetScope:bk,withSetIsolationScope:(e,t)=>Yp(t),getCurrentScope:()=>Rs().getScope(),getIsolationScope:()=>Rs().getIsolationScope()}}function mr(e){const t=_f(e);return t.acs?t.acs:Sk()}function de(){const e=$n();return mr(e).getCurrentScope()}function Ye(){const e=$n();return mr(e).getIsolationScope()}function lc(){return Ko("globalScope",()=>new Mn)}function jt(...e){const t=$n(),n=mr(t);if(e.length===2){const[r,s]=e;return r?n.withSetScope(r,s):n.withScope(s)}return n.withScope(e[0])}function Ek(...e){const t=$n(),n=mr(t);if(e.length===2){const[r,s]=e;return r?n.withSetIsolationScope(r,s):n.withIsolationScope(s)}return n.withIsolationScope(e[0])}function Z(){return de().getClient()}function vk(e){const t=e.getPropagationContext(),{traceId:n,spanId:r,parentSpanId:s}=t;return ze({trace_id:n,span_id:r,parent_span_id:s})}const nl="_sentryMetrics";function rl(e){const t=e[nl];if(!t)return;const n={};for(const[,[r,s]]of t)(n[r]||(n[r]=[])).push(ze(s));return n}function wk(e,t,n,r,s,o,i){const c=e[nl]||(e[nl]=new Map),l=`${t}:${n}@${s}`,f=c.get(i);if(f){const[,u]=f;c.set(i,[l,{min:Math.min(u.min,r),max:Math.max(u.max,r),count:u.count+=1,sum:u.sum+=r,tags:u.tags}])}else c.set(i,[l,{min:r,max:r,count:1,sum:r,tags:o}])}const yt="sentry.source",wf="sentry.sample_rate",ar="sentry.op",Le="sentry.origin",sl="sentry.idle_span_finish_reason",fc="sentry.measurement_unit",dc="sentry.measurement_value",ol="sentry.custom_span_name",Tk="sentry.profile_id",Tf="sentry.exclusive_time",Ck=0,by=1,Ke=2;function Sy(e){if(e<400&&e>=100)return{code:by};if(e>=400&&e<500)switch(e){case 401:return{code:Ke,message:"unauthenticated"};case 403:return{code:Ke,message:"permission_denied"};case 404:return{code:Ke,message:"not_found"};case 409:return{code:Ke,message:"already_exists"};case 413:return{code:Ke,message:"failed_precondition"};case 429:return{code:Ke,message:"resource_exhausted"};case 499:return{code:Ke,message:"cancelled"};default:return{code:Ke,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:Ke,message:"unimplemented"};case 503:return{code:Ke,message:"unavailable"};case 504:return{code:Ke,message:"deadline_exceeded"};default:return{code:Ke,message:"internal_error"}}return{code:Ke,message:"unknown_error"}}function Cf(e,t){e.setAttribute("http.response.status_code",t);const n=Sy(t);n.message!=="unknown_error"&&e.setStatus(n)}const kf="sentry-",kk=/^sentry-/,Ik=8192;function Ey(e){const t=xk(e);if(!t)return;const n=Object.entries(t).reduce((r,[s,o])=>{if(s.match(kk)){const i=s.slice(kf.length);r[i]=o}return r},{});if(Object.keys(n).length>0)return n}function vy(e){if(!e)return;const t=Object.entries(e).reduce((n,[r,s])=>(s&&(n[`${kf}${r}`]=s),n),{});return Rk(t)}function xk(e){if(!(!e||!wn(e)&&!Array.isArray(e)))return Array.isArray(e)?e.reduce((t,n)=>{const r=Xp(n);return Object.entries(r).forEach(([s,o])=>{t[s]=o}),t},{}):Xp(e)}function Xp(e){return e.split(",").map(t=>t.split("=").map(n=>decodeURIComponent(n.trim()))).reduce((t,[n,r])=>(n&&r&&(t[n]=r),t),{})}function Rk(e){if(Object.keys(e).length!==0)return Object.entries(e).reduce((t,[n,r],s)=>{const o=`${encodeURIComponent(n)}=${encodeURIComponent(r)}`,i=s===0?o:`${t},${o}`;return i.length>Ik?(dr&&N.warn(`Not adding key: ${n} with val: ${r} to baggage header due to exceeding baggage size limits.`),t):i},"")}const wy=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function Ak(e){if(!e)return;const t=e.match(wy);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 Ty(e,t){const n=Ak(e),r=Ey(t);if(!n||!n.traceId)return{traceId:An(),spanId:ir()};const{traceId:s,parentSpanId:o,parentSampled:i}=n,a=ir();return{traceId:s,parentSpanId:o,spanId:a,sampled:i,dsc:r||{}}}function Cy(e=An(),t=ir(),n){let r="";return n!==void 0&&(r=n?"-1":"-0"),`${e}-${t}${r}`}const ky=0,Iy=1;let Jp=!1;function Mk(e){const{spanId:t,traceId:n}=e.spanContext(),{data:r,op:s,parent_span_id:o,status:i,origin:a}=pe(e);return ze({parent_span_id:o,span_id:t,trace_id:n,data:r,op:s,status:i,origin:a})}function Ok(e){const{spanId:t,traceId:n,isRemote:r}=e.spanContext(),s=r?t:pe(e).parent_span_id,o=r?ir():t;return ze({parent_span_id:s,span_id:o,trace_id:n})}function xy(e){const{traceId:t,spanId:n}=e.spanContext(),r=zr(e);return Cy(t,n,r)}function Or(e){return typeof e=="number"?Qp(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?Qp(e.getTime()):Ne()}function Qp(e){return e>9999999999?e/1e3:e}function pe(e){if(Nk(e))return e.getSpanJSON();try{const{spanId:t,traceId:n}=e.spanContext();if(Pk(e)){const{attributes:r,startTime:s,name:o,endTime:i,parentSpanId:a,status:c}=e;return ze({span_id:t,trace_id:n,data:r,description:o,parent_span_id:a,start_timestamp:Or(s),timestamp:Or(i)||void 0,status:Ry(c),op:r[ar],origin:r[Le],_metrics_summary:rl(e)})}return{span_id:t,trace_id:n}}catch{return{}}}function Pk(e){const t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function Nk(e){return typeof e.getSpanJSON=="function"}function zr(e){const{traceFlags:t}=e.spanContext();return t===Iy}function Ry(e){if(!(!e||e.code===Ck))return e.code===by?"ok":e.message||"unknown_error"}const Pr="_sentryChildSpans",il="_sentryRootSpan";function Ay(e,t){const n=e[il]||e;kt(t,il,n),e[Pr]?e[Pr].add(t):kt(e,Pr,new Set([t]))}function Lk(e,t){e[Pr]&&e[Pr].delete(t)}function yo(e){const t=new Set;function n(r){if(!t.has(r)&&zr(r)){t.add(r);const s=r[Pr]?Array.from(r[Pr]):[];for(const o of s)n(o)}}return n(e),Array.from(t)}function Ve(e){return e[il]||e}function $e(){const e=$n(),t=mr(e);return t.getActiveSpan?t.getActiveSpan():xa(de())}function Dk(e,t,n,r,s,o){const i=$e();i&&wk(i,e,t,n,r,s,o)}function My(){Jp||(Lt(()=>{console.warn("[Sentry] Deprecation warning: Returning null from `beforeSendSpan` will be disallowed from SDK ver
26sion 9.0.0 onwards. The callback will only support mutating spans. To drop certain spans, configure the respective integrations directly.")}),Jp=!0)}function $k(e,t){e.updateName(t),e.setAttributes({[yt]:"custom",[ol]:t})}let Zp=!1;function If(){Zp||(Zp=!0,uy(al),ly(al))}function al(){const e=$e(),t=e&&Ve(e);if(t){const n="internal_error";ie&&N.log(`[Tracing] Root span: ${n} -> Global error occurred`),t.setStatus({code:Ke,message:n})}}al.tag="sentry_tracingErrorCallback";const Oy="_sentryScope",Py="_sentryIsolationScope";function Fk(e,t,n){e&&(kt(e,Py,n),kt(e,Oy,t))}function eh(e){return{scope:e[Oy],isolationScope:e[Py]}}function Hk(){If()}function On(e){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const t=Z(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}class gr{constructor(t={}){this._traceId=t.traceId||An(),this._spanId=t.spanId||ir()}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:ky}}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 xf(e,t,n=()=>{}){let r;try{r=e()}catch(s){throw t(s),n(),s}return Uk(r,t,n)}function Uk(e,t,n){return Yo(e)?e.then(r=>(n(),r),r=>{throw t(r),n(),r}):(n(),e)}const pc="production",Ny="_frozenDsc";function th(e,t){kt(e,Ny,t)}function Ly(e,t){const n=t.getOptions(),{publicKey:r}=t.getDsn()||{},s=ze({environment:n.environment||pc,release:n.release,public_key:r,trace_id:e});return t.emit("createDsc",s),s}function Dy(e,t){const n=t.getPropagationContext();return n.dsc||Ly(n.traceId,e)}function _r(e){const t=Z();if(!t)return{};const n=Ve(e),r=n[Ny];if(r)return r;const s=n.spanContext().traceState,o=s&&s.get("sentry.dsc"),i=o&&Ey(o);if(i)return i;const a=Ly(e.spanContext().traceId,t),c=pe(n),l=c.data||{},f=l[wf];f!=null&&(a.sample_rate=`${f}`);const u=l[yt],d=c.description;return u!=="url"&&d&&(a.transaction=d),On()&&(a.sampled=String(zr(n))),t.emit("createDsc",a,n),a}function Bk(e){const t=_r(e);return vy(t)}function jk(e){if(!ie)return;const{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:r}=pe(e),{spanId:s}=e.spanContext(),o=zr(e),i=Ve(e),a=i===e,c=`[Tracing] Starting ${o?"sampled":"unsampled"} ${a?"root ":""}span`,l=[`op: ${n}`,`name: ${t}`,`ID: ${s}`];if(r&&l.push(`parent ID: ${r}`),!a){const{op:f,description:u}=pe(i);l.push(`root ID: ${i.spanContext().spanId}`),f&&l.push(`root op: ${f}`),u&&l.push(`root description: ${u}`)}N.log(`${c}
27  ${l.join(`
28  `)}`)}function Wk(e){if(!ie)return;const{description:t="< unknown name >",op:n="< unknown op >"}=pe(e),{spanId:r}=e.spanContext(),o=Ve(e)===e,i=`[Tracing] Finishing "${n}" ${o?"root ":""}span "${t}" with ID ${r}`;N.log(i)}function Ra(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){ie&&N.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`);return}return t}function Vk(e,t){if(!On(e))return[!1];const n=Ye().getScopeData().sdkProcessingMetadata.normalizedRequest,r={...t,normalizedRequest:t.normalizedRequest||n};let s;typeof e.tracesSampler=="function"?s=e.tracesSampler(r):r.parentSampled!==void 0?s=r.parentSampled:typeof e.tracesSampleRate<"u"?s=e.tracesSampleRate:s=1;const o=Ra(s);return o===void 0?(ie&&N.warn("[Tracing] Discarding transaction because of invalid sample rate."),[!1]):o?Math.random()<o?[!0,o]:(ie&&N.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(s)})`),[!1,o]):(ie&&N.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,o])}const zk=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function qk(e){return e==="http"||e==="https"}function qr(e,t=!1){const{host:n,path:r,pass:s,port:o,projectId:i,protocol:a,publicKey:c}=e;return`${a}://${c}${t&&s?`:${s}`:""}@${n}${o?`:${o}`:""}/${r&&`${r}/`}${i}`}function $y(e){const t=zk.exec(e);if(!t){Lt(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}const[n,r,s="",o="",i="",a=""]=t.slice(1);let c="",l=a;const f=l.split("/");if(f.length>1&&(c=f.slice(0,-1).join("/"),l=f.pop()),l){const u=l.match(/^\d+/);u&&(l=u[0])}return Fy({host:o,pass:s,path:c,projectId:l,port:i,protocol:n,publicKey:r})}function Fy(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function Gk(e){if(!dr)return!0;const{port:t,projectId:n,protocol:r}=e;return["protocol","publicKey","host","projectId"].find(i=>e[i]?!1:(N.error(`Invalid Sentry Dsn: ${i} missing`),!0))?!1:n.match(/^\d+$/)?qk(r)?t&&isNaN(parseInt(t,10))?(N.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(N.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(N.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}
28function Hy(e){const t=typeof e=="string"?$y(e):Fy(e);if(!(!t||!Gk(t)))return t}function Kk(){const e=typeof WeakSet=="function",t=e?new WeakSet:[];function n(s){if(e)return t.has(s)?!0:(t.add(s),!1);for(let o=0;o<t.length;o++)if(t[o]===s)return!0;return t.push(s),!1}function r(s){if(e)t.delete(s);else for(let o=0;o<t.length;o++)if(t[o]===s){t.splice(o,1);break}}return[n,r]}function $t(e,t=100,n=1/0){try{return cl("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function Uy(e,t=3,n=100*1024){const r=$t(e,t);return Qk(r)>n?Uy(e,t-1,n):r}function cl(e,t,n=1/0,r=1/0,s=Kk()){const[o,i]=s;if(t==null||["boolean","string"].includes(typeof t)||typeof t=="number"&&Number.isFinite(t))return t;const a=Yk(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(o(t))return"[Circular ~]";const l=t;if(l&&typeof l.toJSON=="function")try{const p=l.toJSON();return cl("",p,c-1,r,s)}catch{}const f=Array.isArray(t)?[]:{};let u=0;const d=gy(t);for(const p in d){if(!Object.prototype.hasOwnProperty.call(d,p))continue;if(u>=r){f[p]="[MaxProperties ~]";break}const h=d[p];f[p]=cl(p,h,c-1,r,s),u++}return i(t),f}function Yk(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(py(t))return"[VueViewModel]";if(tk(t))return"[SyntheticEvent]";if(typeof t=="number"&&!Number.isFinite(t))return`[${t}]`;if(typeof t=="function")return`[Function: ${kn(t)}]`;if(typeof t=="symbol")return`[${String(t)}]`;if(typeof t=="bigint")return`[BigInt: ${String(t)}]`;const n=Xk(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}function Xk(e){const t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}function Jk(e){return~-encodeURI(e).split(/%..|./).length}function Qk(e){return Jk(JSON.stringify(e))}function Fn(e,t=[]){return[e,t]}function Zk(e,t){const[n,r]=e;return[n,[...r,t]]}function Wr(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 nh(e,t){return Wr(e,(n,r)=>t.includes(r))}function Aa(e){return re.__SENTRY__&&re.__SENTRY__.encodePolyfill?re.__SENTRY__.encodePolyfill(e):new TextEncoder().encode(e)}function eI(e){return re.__SENTRY__&&re.__SENTRY__.decodePolyfill?re.__SENTRY__.decodePolyfill(e):new TextDecoder().decode(e)}function Ma(e){const[t,n]=e;let r=JSON.stringify(t);function s(o){typeof r=="string"?r=typeof o=="string"?r+o:[Aa(r),o]:r.push(typeof o=="string"?Aa(o):o)}for(const o of n){const[i,a]=o;if(s(`
29${JSON.stringify(i)}
30`),typeof a=="string"||a instanceof Uint8Array)s(a);else{let c;try{c=JSON.stringify(a)}catch{c=JSON.stringify($t(a))}s(c)}}return typeof r=="string"?r:tI(r)}function tI(e){const t=e.reduce((s,o)=>s+o.length,0),n=new Uint8Array(t);let r=0;for(const s of e)n.set(s,r),r+=s.length;return n}function nI(e){let t=typeof e=="string"?Aa(e):e;function n(i){const a=t.subarray(0,i);return t=t.subarray(i+1),a}function r(){let i=t.indexOf(10);return i<0&&(i=t.length),JSON.parse(eI(n(i)))}const s=r(),o=[];for(;t.length;){const i=r(),a=typeof i.length=="number"?i.length:void 0;o.push([i,a?n(a):r()])}return[s,o]}function rI(e){return[{type:"span"},e]}function sI(e){const t=typeof e.data=="string"?Aa(e.data):e.data;return[ze({type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),t]}const oI={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",statsd:"metric_bucket",raw_security:"security"};function rh(e){return oI[e]}function Rf(e){if(!e||!e.sdk)return;
30const{name:t,version:n}=e.sdk;return{name:t,version:n}}function By(e,t,n,r){const s=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:qr(r)},...s&&{trace:ze({...s})}}}function iI(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 aI(e,t,n,r){const s=Rf(n),o={sent_at:new Date().toISOString(),...s&&{sdk:s},...!!r&&t&&{dsn:qr(t)}},i="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return Fn(o,[i])}function cI(e,t,n,r){const s=Rf(n),o=e.type&&e.type!=="replay_event"?e.type:"event";iI(e,n&&n.sdk);const i=By(e,s,r,t);return delete e.sdkProcessingMetadata,Fn(i,[[{type:o},e]])}function uI(e,t){function n(f){return!!f.trace_id&&!!f.public_key}const r=_r(e[0]),s=t&&t.getDsn(),o=t&&t.getOptions().tunnel,i={sent_at:new Date().toISOString(),...n(r)&&{trace:r},...!!o&&s&&{dsn:qr(s)}},a=t&&t.getOptions().beforeSendSpan,c=a?f=>{const u=a(pe(f));return u||My(),u}:f=>pe(f),l=[];for(const f of e){const u=c(f);u&&l.push(rI(u))}return Fn(i,l)}function jy(e,t,n,r=$e()){const s=r&&Ve(r);s&&(ie&&N.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${n}`),s.addEvent(e,{[dc]:t,[fc]:n}))}function sh(e){if(!e||e.length===0)return;const t={};return e.forEach(n=>{const r=n.attributes||{},s=r[fc],o=r[dc];typeof s=="string"&&typeof o=="number"&&(t[n.name]={value:o,unit:s})}),t}const oh=1e3;class Af{constructor(t={}){this._traceId=t.traceId||An(),this._spanId=t.spanId||ir(),this._startTime=t.startTimestamp||Ne(),this._attributes={},this.setAttributes({[Le]:"manual",[ar]: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}addLinks(t){return this}recordException(t,n){}spanContext(){const{_spanId:t,_traceId:n,_sampled:r}=this;return{spanId:t,traceId:n,traceFlags:r?Iy:ky}}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=Or(t)}setStatus(t){return this._status=t,this}updateName(t){return this._name=t,this.setAttribute(yt,"custom"),this}end(t){this._endTime||(this._endTime=Or(t),Wk(this),this._onSpanEnded())}getSpanJSON(){return ze({data:this._attributes,description:this._name,op:this._attributes[ar],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:Ry(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[Le],_metrics_summary:rl(this),profile_id:this._attributes[Tk],exclusive_time:this._attributes[Tf],measurements:sh(this._events),is_segment:this._isStandaloneSpan&&Ve(this)===this||void 0,segment_id:this._isStandaloneSpan?Ve(this).spanContext().spanId:void 0})}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,n,r){ie&&N.log("[Tracing] Adding an event to span:",t);const s=ih(n)?n:r||Ne(),o=ih(n)?{}:n||{},i={name:t,time:Or(s),attributes:o};return this._events.push(i),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const t=Z();if(t&&t.emit("spanEnd",this),!(this._isStandaloneSpan||this===Ve(this)))return;if(this._isStandaloneSpan){this._sampled?fI(uI([this],t)):(ie&&N.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&&(eh(this).scope||de()).captureEvent(r)}_convertSpanToTransaction(){if(!ah(pe(this)))return;this._name||(ie&&N.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");const{scope:t,isolationScope:n}=eh(this),s=(t||de()).getClient()||Z();if(this._sampled!==!0){ie&&N.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),s&&s.recordDroppedEvent("sample_rate","transaction");return}const i=yo(this).filter(u=>u!==this&&!lI(u)).map(u=>pe(u)).filter(ah),a=this._attributes[yt];
30delete this._attributes[ol],i.forEach(u=>{u.data&&delete u.data[ol]});const c={contexts:{trace:Mk(this)},spans:i.length>oh?i.sort((u,d)=>u.start_timestamp-d.start_timestamp).slice(0,oh):i,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:n,...ze({dynamicSamplingContext:_r(this)})},_metrics_summary:rl(this),...a&&{transaction_info:{source:a}}},l=sh(this._events);return l&&Object.keys(l).length&&(ie&&N.log("[Measurements] Adding measurements to transaction event",JSON.stringify(l,void 0,2)),c.measurements=l),c}}function ih(e){return e&&typeof e=="number"||e instanceof Date||Array.isArray(e)}function ah(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function lI(e){return e instanceof Af&&e.isStandaloneSpan()}function fI(e){const t=Z();if(!t)return;const n=e[1];if(!n||n.length===0){t.recordDroppedEvent("before_send","span");return}t.sendEnvelope(e)}const Mf="__SENTRY_SUPPRESS_TRACING__";function dI(e,t){const n=Qo();if(n.startSpan)return n.startSpan(e,t);const r=Pf(e),{forceTransaction:s,parentSpan:o}=e;return jt(e.scope,()=>Vy(o)(()=>{const a=de(),c=Nf(a),f=e.onlyIfParent&&!c?new gr:Of({parentSpan:c,spanArguments:r,forceTransaction:s,scope:a});return jr(a,f),xf(()=>t(f),()=>{const{status:u}=pe(f);f.isRecording()&&(!u||u==="ok")&&f.setStatus({code:Ke,message:"internal_error"})},()=>f.end())}))}function Wy(e,t){const n=Qo();if(n.startSpanManual)return n.startSpanManual(e,t);const r=Pf(e),{forceTransaction:s,parentSpan:o}=e;return jt(e.scope,()=>Vy(o)(()=>{const a=de(),c=Nf(a),f=e.onlyIfParent&&!c?new gr:Of({parentSpan:c,spanArguments:r,forceTransaction:s,scope:a});jr(a,f);function u(){f.end()}return xf(()=>t(f,u),()=>{const{status:d}=pe(f);f.isRecording()&&(!d||d==="ok")&&f.setStatus({code:Ke,message:"internal_error"})})}))}function cr(e){const t=Qo();if(t.startInactiveSpan)return t.startInactiveSpan(e);const n=Pf(e),{forceTransaction:r,parentSpan:s}=e;return(e.scope?i=>jt(e.scope,i):s!==void 0?i=>Jo(s,i):i=>i())(()=>{const i=de(),a=Nf(i);return e.onlyIfParent&&!a?new gr:Of({parentSpan:a,spanArguments:n,forceTransaction:r,scope:i})})}const pI=(e,t)=>{const n=$n(),r=mr(n);if(r.continueTrace)return r.continueTrace(e,t);const{sentryTrace:s,baggage:o}=e;return jt(i=>{const a=Ty(s,o);return i.setPropagationContext(a),t()})};function Jo(e,t){const n=Qo();return n.withActiveSpan?n.withActiveSpan(e,t):jt(r=>(jr(r,e||void 0),t(r)))}function hI(e){const t=Qo();return t.suppressTracing?t.suppressTracing(e):jt(n=>(n.setSDKProcessingMetadata({[Mf]:!0}),e()))}function mI(e){return jt(t=>(t.setPropagationContext({traceId:An()}),ie&&N.info(`Starting a new trace with id ${t.getPropagationContext().traceId}`),Jo(null,e)))}function Of({parentSpan:e,spanArguments:t,forceTransaction:n,scope:r}){if(!On())return new gr;const s=Ye();let o;if(e&&!n)o=gI(e,r,t),Ay(e,o);else if(e){const i=_r(e),{traceId:a,spanId:c}=e.spanContext(),l=zr(e);o=ch({traceId:a,parentSpanId:c,...t},r,l),th(o,i)}else{const{traceId:i,dsc:a,parentSpanId:c,sampled:l}={...s.getPropagationContext(),...r.getPropagationContext()};o=ch({traceId:i,parentSpanId:c,...t},r,l),a&&th(o,a)}return jk(o),Fk(o,r,s),o}function Pf(e){const n={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){const r={...n};return r.startTimestamp=Or(e.startTime),delete r.startTime,r}return n}function Qo(){const e=$n();return mr(e)}function ch(e,t,n){const r=Z(),s=r&&r.getOptions()||{},{name:o="",attributes:i}=e,[a,c]=t.getScopeData().sdkProcessingMetadata[Mf]?[!1]:Vk(s,{name:o,parentSampled:n,attributes:i,transactionContext:{name:o,parentSampled:n}}),l=new Af({...e,attributes:{[yt]:"custom",...e.attributes},sampled:a});return c!==void 0&&l.setAttribute(wf,c),r&&r.emit("spanStart",l),l}function gI(e,t,n){const{spanId:r,traceId:s}=e.spanContext(),o=t.getScopeData().sdkProcessingMetadata[Mf]?!1:zr(e),i=o?new Af({...n,parentSpanId:r,traceId:s,sampled:o}):new gr({traceId:s});Ay(e,i);const a=Z();return a&&(a.emit("spanStart",i),n.endTimestamp&&a.emit("spanEnd",i)),i}function Nf(e){const t=xa(e);if(!t)return;const n=Z();return(n?n.getOptions():{}).parentSpanIsAlwaysRootSpan?Ve(t):t}function Vy(e){return e!==void 0?t=>Jo(e,t):t=>t()}const qi={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3},_I="heartbeatFailed",yI="idleTimeout",bI="finalTimeout",SI="externalFinish";function zy(e,t={}){const n=new Map;let r=!1,s,o=SI,i=!t.disableAutoFinish;const a=[],{idleTimeout:c=qi.idleTimeout,finalTimeout:l=qi.finalTimeout,childSpanTimeout:f=qi.childSpanTimeout,beforeSpanEnd:u}=t,d=Z();if(!d||!On())return new gr;const p=de(),h=$e(),m=EI(e);m.end=new Proxy(m.end,{apply(k,x,P){u&&u(m);const[C,...E]=P,A=C||Ne(),I=Or(A),H=yo(m).filter(U=>U!==m);
30if(!H.length)return T(I),Reflect.apply(k,x,[I,...E]);const q=H.map(U=>pe(U).timestamp).filter(U=>!!U),Y=q.length?Math.max(...q):void 0,D=pe(m).start_timestamp,X=Math.min(D?D+l/1e3:1/0,Math.max(D||-1/0,Math.min(I,Y||1/0)));return T(X),Reflect.apply(k,x,[X,...E])}});function w(){s&&(clearTimeout(s),s=void 0)}function v(k){w(),s=setTimeout(()=>{!r&&n.size===0&&i&&(o=yI,m.end(k))},c)}function S(k){s=setTimeout(()=>{!r&&i&&(o=_I,m.end(k))},f)}function g(k){w(),n.set(k,!0);const x=Ne();S(x+f/1e3)}function b(k){if(n.has(k)&&n.delete(k),n.size===0){const x=Ne();v(x+c/1e3)}}function T(k){r=!0,n.clear(),a.forEach(I=>I()),jr(p,h);const x=pe(m),{start_timestamp:P}=x;if(!P)return;(x.data||{})[sl]||m.setAttribute(sl,o),N.log(`[Tracing] Idle span "${x.op}" finished`);const E=yo(m).filter(I=>I!==m);let A=0;E.forEach(I=>{I.isRecording()&&(I.setStatus({code:Ke,message:"cancelled"}),I.end(k),ie&&N.log("[Tracing] Cancelling span since span ended early",JSON.stringify(I,void 0,2)));const H=pe(I),{timestamp:q=0,start_timestamp:Y=0}=H,D=Y<=k,X=(l+c)/1e3,U=q-Y<=X;if(ie){const ce=JSON.stringify(I,void 0,2);D?U||N.log("[Tracing] Discarding span since it finished after idle span final timeout",ce):N.log("[Tracing] Discarding span since it happened after idle span was finished",ce)}(!U||!D)&&(Lk(m,I),A++)}),A>0&&m.setAttribute("sentry.idle_span_discarded_spans",A)}return a.push(d.on("spanStart",k=>{if(r||k===m||pe(k).timestamp)return;yo(m).includes(k)&&g(k.spanContext().spanId)})),a.push(d.on("spanEnd",k=>{r||b(k.spanContext().spanId)})),a.push(d.on("idleSpanEnableAutoFinish",k=>{k===m&&(i=!0,v(),n.size&&S())})),t.disableAutoFinish||v(),setTimeout(()=>{r||(m.setStatus({code:Ke,message:"deadline_exceeded"}),o=bI,m.end())},l),m}function EI(e){const t=cr(e);return jr(de(),t),ie&&N.log("[Tracing] Started span is an idle span"),t}function ul(e,t,n,r=0){return new Ft((s,o)=>{const i=e[r];if(t===null||typeof i!="function")s(t);else{const a=i({...t},n);ie&&i.id&&a===null&&N.log(`Event processor "${i.id}" dropped event`),Yo(a)?a.then(c=>ul(e,c,n,r+1).then(s)).then(null,o):ul(e,a,n,r+1).then(s).then(null,o)}})}let Si,uh,Ei;function qy(e){const t=re._sentryDebugIds;if(!t)return{};const n=Object.keys(t);return Ei&&n.length===uh||(uh=n.length,Ei=n.reduce((r,s)=>{Si||(Si={});const o=Si[s];if(o)r[o[0]]=o[1];else{const i=e(s);for(let a=i.length-1;a>=0;a--){const c=i[a],l=c&&c.filename,f=t[s];if(l&&f){r[l]=f,Si[s]=[l,f];break}}}return r},{})),Ei}function vI(e,t){const n=qy(e);if(!n)return[];const r=[];for(const s of t)s&&n[s]&&r.push({type:"sourcemap",code_file:s,debug_id:n[s]});return r}function wI(e,t){const{fingerprint:n,span:r,breadcrumbs:s,sdkProcessingMetadata:o}=t;TI(e,t),r&&II(e,r),xI(e,n),CI(e,s),kI(e,o)}function lh(e,t){const{extra:n,tags:r,user:s,contexts:o,level:i,sdkProcessingMetadata:a,breadcrumbs:c,fingerprint:l,eventProcessors:f,attachments:u,propagationContext:d,transactionName:p,span:h}=t;vi(e,"extra",n),vi(e,"tags",r),vi(e,"user",s),vi(e,"contexts",o),e.sdkProcessingMetadata=uc(e.sdkProcessingMetadata,a,2),i&&(e.level=i),p&&(e.transactionName=p),h&&(e.span=h),c.length&&(e.breadcrumbs=[...e.breadcrumbs,...c]),l.length&&(e.fingerprint=[...e.fingerprint,...l]),f.length&&(e.eventProcessors=[...e.eventProcessors,...f]),u.length&&(e.attachments=[...e.attachments,...u]),e.propagationContext={...e.propagationContext,...d}}function vi(e,t,n){e[t]=uc(e[t],n,1)}function TI(e,t){const{extra:n,tags:r,user:s,contexts:o,level:i,transactionName:a}=t,c=ze(n);c&&Object.keys(c).length&&(e.extra={...c,...e.extra});const l=ze(r);l&&Object.keys(l).length&&(e.tags={...l,...e.tags});const f=ze(s);f&&Object.keys(f).length&&(e.user={...f,...e.user});const u=ze(o);u&&Object.keys(u).length&&(e.contexts={...u,...e.contexts}),i&&(e.level=i),a&&e.type!=="transaction"&&(e.transaction=a)}function CI(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function kI(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function II(e,t){e.contexts={trace:Ok(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:_r(t),...e.sdkProcessingMetadata};const n=Ve(t),r=pe(n).description;r&&!e.transaction&&e.type==="transaction"&&(e.transaction=r)}function xI(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}function Gy(e,t,n,r,s,o){const{normalizeDepth:i=3,normalizeMaxBreadth:a=1e3}=e,c={...t,event_id:t.event_id||n.event_id||bt(),timestamp:t.timestamp||Xo()},l=n.integrations||e.integrations.map(w=>w.name);RI(c,e),OI(c,l),s&&s.emit("applyFrameMetadata",t),t.type===void 0&&AI(c,e.stackParser);const f=NI(r,n.captureContext);n.mechanism&&or(c,n.mechanism);const u=s?s.getEventProcessors():[],d=lc().getScopeData();if(o){const w=o.getScopeData();lh(d,w)}if(f){const w=f.getScopeData();lh(d,w)}const p=[...n.attachments||[],...d.attachments];p.length&&(n.attachments=p),wI(c,d);const h=[...u,...d.eventProcessors];return ul(h,c,n).then(w=>
30(w&&MI(w),typeof i=="number"&&i>0?PI(w,i,a):w))}function RI(e,t){const{environment:n,release:r,dist:s,maxValueLength:o=250}=t;e.environment=e.environment||n||pc,!e.release&&r&&(e.release=r),!e.dist&&s&&(e.dist=s),e.message&&(e.message=tr(e.message,o));const i=e.exception&&e.exception.values&&e.exception.values[0];i&&i.value&&(i.value=tr(i.value,o));const a=e.request;a&&a.url&&(a.url=tr(a.url,o))}function AI(e,t){const n=qy(t);try{e.exception.values.forEach(r=>{r.stacktrace.frames.forEach(s=>{n&&s.filename&&(s.debug_id=n[s.filename])})})}catch{}}function MI(e){const t={};try{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)})})}catch{}if(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 OI(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function PI(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(s=>({...s,...s.data&&{data:$t(s.data,t,n)}}))},...e.user&&{user:$t(e.user,t,n)},...e.contexts&&{contexts:$t(e.contexts,t,n)},...e.extra&&{extra:$t(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=$t(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(s=>({...s,...s.data&&{data:$t(s.data,t,n)}}))),e.contexts&&e.contexts.flags&&r.contexts&&(r.contexts.flags=$t(e.contexts.flags,3,n)),r}function NI(e,t){if(!t)return e;const n=e?e.clone():new Mn;return n.update(t),n}function LI(e){if(e)return DI(e)?{captureContext:e}:FI(e)?{captureContext:e}:e}function DI(e){return e instanceof Mn||typeof e=="function"}const $I=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function FI(e){return Object.keys(e).some(t=>$I.includes(t))}function Gr(e,t){return de().captureException(e,LI(t))}function Oa(e,t){const n=typeof t=="string"?t:void 0,r=typeof t!="string"?{captureContext:t}:void 0;return de().captureMessage(e,n,r)}function qs(e,t){return de().captureEvent(e,t)}function Lf(e,t){Ye().setContext(e,t)}function Ky(e){Ye().setExtras(e)}function Yy(e,t){Ye().setExtra(e,t)}function Xy(e){Ye().setTags(e)}function Jy(e,t){Ye().setTag(e,t)}function Qy(e){Ye().setUser(e)}function Zy(){return Ye().lastEventId()}async function HI(e){const t=Z();return t?t.flush(e):(ie&&N.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}async function UI(e){const t=Z();return t?t.close(e):(ie&&N.warn("Cannot flush events and disable SDK. No client defined."),Promise.resolve(!1))}function BI(){return!!Z()}function jI(){const e=Z();return!!e&&e.getOptions().enabled!==!1&&!!e.getTransport()}function eb(e){Ye().addEventProcessor(e)}function Pa(e){const t=Z(),n=Ye(),r=de(),{release:s,environment:o=pc}=t&&t.getOptions()||{},{userAgent:i}=re.navigator||{},a=fk({release:s,environment:o,user:r.getUser()||n.getUser(),...i&&{userAgent:i},...e}),c=n.getSession();return c&&c.status==="ok"&&xs(c,{status:"exited"}),Lo(),n.setSession(a),r.setSession(a),a}function Lo(){const e=Ye(),t=de(),n=t.getSession()||e.getSession();n&&dk(n),tb(),e.setSession(),t.setSession()}function tb(){const e=Ye(),t=de(),n=Z(),r=t.getSession()||e.getSession();r&&n&&n.captureSession(r)}function ll(e=!1){if(e){Lo();return}tb()}const WI="7";function nb(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function VI(e){return`${nb(e)}${e.projectId}/envelope/`}function zI(e,t){const n={sentry_version:WI};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}function rb(e,t,n){return t||`${VI(e)}?${zI(e,n)}`}function qI(e,t){const n=Hy(e);if(!n)return"";const r=`${nb(n)}embed/error-page/`;let s=`dsn=${qr(n)}`;for(const o in t)if(o!=="dsn"&&o!=="onClose")if(o==="user"){const i=t.user;if(!i)continue;i.name&&(s+=`&name=${encodeURIComponent(i.name)}`),i.email&&(s+=`&email=${encodeURIComponent(i.email)}`)}else s+=`&${encodeURIComponent(o)}=${encodeURIComponent(t[o])}`;return`${r}?${s}`}const fh=[];function GI(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 KI(e){const t=e.defaultIntegrations||[],n=e.integrations;t.forEach(i=>
30{i.isDefaultInstance=!0});let r;if(Array.isArray(n))r=[...t,...n];else if(typeof n=="function"){const i=n(t);r=Array.isArray(i)?i:[i]}else r=t;const s=GI(r),o=s.findIndex(i=>i.name==="Debug");if(o>-1){const[i]=s.splice(o,1);s.push(i)}return s}function YI(e,t){const n={};return t.forEach(r=>{r&&sb(e,r,n)}),n}function dh(e,t){for(const n of t)n&&n.afterAllSetup&&n.afterAllSetup(e)}function sb(e,t,n){if(n[t.name]){ie&&N.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,fh.indexOf(t.name)===-1&&typeof t.setupOnce=="function"&&(t.setupOnce(),fh.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,o)=>r(s,o,e))}if(typeof t.processEvent=="function"){const r=t.processEvent.bind(t),s=Object.assign((o,i)=>r(o,i,e),{id:t.name});e.addEventProcessor(s)}ie&&N.log(`Integration installed: ${t.name}`)}function fl(e){const t=Z();if(!t){ie&&N.warn(`Cannot add integration "${e.name}" because no SDK Client is available.`);return}t.addIntegration(e)}function XI(e,t,n){const r=[{type:"client_report"},{timestamp:Xo(),discarded_events:e}];return Fn(t?{dsn:t}:{},[r])}
30class nn extends Error{constructor(t,n="warn"){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=n}}const ph="Not capturing exception because it's already been captured.";class JI{constructor(t){if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],t.dsn?this._dsn=Hy(t.dsn):ie&&N.warn("No DSN provided, client will not send events."),this._dsn){const s=rb(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:s})}const r=["enableTracing","tracesSampleRate","tracesSampler"].find(s=>s in t&&t[s]==null);r&&Lt(()=>{console.warn(`[Sentry] Deprecation warning: \`${r}\` is set to undefined, which leads to tracing being enabled. In v9, a value of \`undefined\` will result in tracing being disabled.`)})}captureException(t,n,r){const s=bt();if(Kp(t))return ie&&N.log(ph),s;const o={event_id:s,...n};return this._process(this.eventFromException(t,o).then(i=>this._captureEvent(i,o,r))),o.event_id}captureMessage(t,n,r,s){const o={event_id:bt(),...r},i=yf(t)?t:String(t),a=bf(t)?this.eventFromMessage(i,n,o):this.eventFromException(t,o);return this._process(a.then(c=>this._captureEvent(c,o,s))),o.event_id}captureEvent(t,n,r){const s=bt();if(n&&n.originalException&&Kp(n.originalException))return ie&&N.log(ph),s;const o={event_id:s,...n},a=(t.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(t,o,a||r)),o.event_id}captureSession(t){typeof t.release!="string"?ie&&N.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),xs(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;
30return n?(this.emit("flush"),this._isClientDoneProcessing(t).then(r=>n.flush(t).then(s=>r&&s))):Rn(!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];sb(this,t,this._integrations),n||dh(this,[t])}sendEvent(t,n={}){this.emit("beforeSendEvent",t,n);let r=cI(t,this._dsn,this._options._metadata,this._options.tunnel);for(const o of n.attachments||[])r=Zk(r,sI(o));const s=this.sendEnvelope(r);s&&s.then(o=>this.emit("afterSendEvent",t,o),null)}sendSession(t){const n=aI(t,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(n)}recordDroppedEvent(t,n,r){if(this._options.sendClientReports){const s=typeof r=="number"?r:1,o=`${t}:${n}`;ie&&N.log(`Recording outcome: "${o}"${s>1?` (${s} times)`:""}`),this._outcomes[o]=(this._outcomes[o]||0)+s}}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=>(ie&&N.error("Error while sending envelope:",n),n)):(ie&&N.error("Transport disabled"),Rn({}))}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=YI(this,t),dh(this,t)}_updateSessionFromEvent(t,n){let r=n.level==="fatal",s=!1;const o=n.exception&&n.exception.values;if(o){s=!0;for(const c of o){const l=c.mechanism;if(l&&l.handled===!1){r=!0;break}}}const i=t.status==="ok";(i&&t.errors===0||i&&r)&&(xs(t,{...r&&{status:"crashed"},errors:t.errors||Number(s||r)}),this.captureSession(t))}_isClientDoneProcessing(t){return new Ft(n=>{let r=0;const s=1,o=setInterval(()=>{this._numProcessing==0?(clearInterval(o),n(!0)):(r+=s,t&&r>=t&&(clearInterval(o),n(!1)))},s)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(t,n,r=de(),s=Ye()){const o=this.getOptions(),i=Object.keys(this._integrations);return!n.integrations&&i.length>0&&(n.integrations=i),this.emit("preprocessEvent",t,n),t.type||s.setLastEventId(t.event_id||n.event_id),Gy(o,t,n,r,this,s).then(a=>{if(a===null)return a;a.contexts={trace:vk(r),...a.contexts};const c=Dy(this,r);return a.sdkProcessingMetadata={dynamicSamplingContext:c,...a.sdkProcessingMetadata},a})}_captureEvent(t,n={},r){return this._processEvent(t,n,r).then(s=>s.event_id,s=>{if(ie){const o=s;o.logLevel==="log"?N.log(o.message):N.warn(o)}})}_processEvent(t,n,r){const s=this.getOptions(),{sampleRate:o}=s,i=ib(t),a=ob(t),c=t.type||"error",l=`before send for type \`${c}\``,f=typeof o>"u"?void 0:Ra(o);if(a&&typeof f=="number"&&Math.random()>f)return this.recordDroppedEvent("sample_rate","error",t),Ia(new nn(`Discarding event because it's not included in the random sample (sampling rate = ${o})`,"log"));const u=c==="replay_event"?"replay":c,p=(t.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(t,n,r,p).then(h=>{if(h===null)throw this.recordDroppedEvent("event_processor",u,t),new nn("An event processor returned `null`, will not send event.","log");if(n.data&&n.data.__sentry__===!0)return h;const w=ZI(this,s,h,n);return QI(w,l)}).then(h=>{if(h===null){if(this.recordDroppedEvent("before_send",u,t),i){const S=1+(t.spans||[]).length;this.recordDroppedEvent("before_send","span",S)}throw new nn(`${l} returned \`null\`, will not send event.`,"log")}const m=r&&r.getSession();if(!i&&m&&this._updateSessionFromEvent(m,h),i){const v=h.sdkProcessingMetadata&&h.sdkProcessingMetadata.spanCountBeforeProcessing||0,S=h.spans?h.spans.length:0,g=v-S;g>0&&this.recordDroppedEvent("before_send","span",g)}const w=h.transaction_info;if(i&&w&&h.transaction!==t.transaction){const v="custom";h.transaction_info={...w,source:v}}return this.sendEvent(h,n),h}).then(null,h=>{throw h instanceof nn?h:(this.captureException(h,{data:{__sentry__:!0},originalException:h}),new nn(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
31Reason: ${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,o]=n.split(":");return{reason:s,category:o,quantity:r}})}_flushOutcomes(){ie&&N.log("Flushing outcomes...");const t=this._clearOutcomes();if(t.length===0){ie&&N.log("No outcomes to send");return}if(!this._dsn){ie&&N.log("No dsn provided, will not send outcomes");return}ie&&N.log("Sending outcomes:",t);const n=XI(t,this._options.tunnel&&qr(this._dsn));this.sendEnvelope(n)}}function QI(e,t){const n=`${t} must return \`null\` or a valid event.`;if(Yo(e))return e.then(r=>{if(!Br(r)&&r!==null)throw new nn(n);return r},r=>{throw new nn(`${t} rejected with ${r}`)});if(!Br(e)&&e!==null)throw new nn(n);return e}function ZI(e,t,n,r){const{beforeSend:s,beforeSendTransaction:o,beforeSendSpan:i}=t;if(ob(n)&&s)return s(n,r);
31if(ib(n)){if(n.spans&&i){const a=[];for(const c of n.spans){const l=i(c);l?a.push(l):(My(),e.recordDroppedEvent("before_send","span"))}n.spans=a}if(o){if(n.spans){const a=n.spans.length;n.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:a}}return o(n,r)}}return n}function ob(e){return e.type===void 0}function ib(e){return e.type==="transaction"}function ex(e,t){t.debug===!0&&(ie?N.enable():Lt(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),de().update(t.initialScope);const r=new e(t);return ab(r),r.init(),r}function ab(e){de().setClient(e)}function tx(e){const t=[];function n(){return e===void 0||t.length<e}function r(i){return t.splice(t.indexOf(i),1)[0]||Promise.resolve(void 0)}function s(i){if(!n())return Ia(new nn("Not adding Promise because buffer limit was reached."));const a=i();return t.indexOf(a)===-1&&t.push(a),a.then(()=>r(a)).then(null,()=>r(a).then(null,()=>{})),a}function o(i){return new Ft((a,c)=>{let l=t.length;if(!l)return a(!0);const f=setTimeout(()=>{i&&i>0&&a(!1)},i);t.forEach(u=>{Rn(u).then(()=>{--l||(clearTimeout(f),a(!0))},c)})})}return{$:t,add:s,drain:o}}const nx=60*1e3;function cb(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;const r=Date.parse(`${e}`);return isNaN(r)?nx:r-t}function rx(e,t){return e[t]||e.all||0}function ub(e,t,n=Date.now()){return rx(e,t)>n}function lb(e,{statusCode:t,headers:n},r=Date.now()){const s={...e},o=n&&n["x-sentry-rate-limits"],i=n&&n["retry-after"];if(o)for(const a of o.trim().split(",")){const[c,l,,,f]=a.split(":",5),u=parseInt(c,10),d=(isNaN(u)?60:u)*1e3;if(!l)s.all=r+d;else for(const p of l.split(";"))p==="metric_bucket"?(!f||f.split(";").includes("custom"))&&(s[p]=r+d):s[p]=r+d}else i?s.all=r+cb(i,r):t===429&&(s.all=r+60*1e3);return s}const sx=64;function fb(e,t,n=tx(e.bufferSize||sx)){let r={};const s=i=>n.drain(i);function o(i){const a=[];if(Wr(i,(u,d)=>{const p=rh(d);if(ub(r,p)){const h=hh(u,d);e.recordDroppedEvent("ratelimit_backoff",p,h)}else a.push(u)}),a.length===0)return Rn({});const c=Fn(i[0],a),l=u=>{Wr(c,(d,p)=>{const h=hh(d,p);e.recordDroppedEvent(u,rh(p),h)})},f=()=>t({body:Ma(c)}).then(u=>(u.statusCode!==void 0&&(u.statusCode<200||u.statusCode>=300)&&ie&&N.warn(`Sentry responded with status code ${u.statusCode} to sent event.`),r=lb(r,u),u),u=>{throw l("network_error"),u});return n.add(f).then(u=>u,u=>{if(u instanceof nn)return ie&&N.error("Skipped sending event because buffer is full."),l("queue_overflow"),Rn({});throw u})}return{send:o,flush:s}}function hh(e,t){if(!(t!=="event"&&t!=="transaction"))return Array.isArray(e)?e[1]:void 0}const Zc=100,eu=5e3,ox=36e5;function ix(e){function t(...n){ie&&N.info("[Offline]:",...n)}return n=>{const r=e(n);if(!n.createStore)throw new Error("No `createStore` function was provided");const s=n.createStore(n);let o=eu,i;function a(u,d,p){return nh(u,["client_report"])?!1:n.shouldStore?n.shouldStore(u,d,p):!0}function c(u){i&&clearTimeout(i),i=setTimeout(async()=>{i=void 0;const d=await s.shift();d&&(t("Attempting to send previously queued event"),d[0].sent_at=new Date().toISOString(),f(d,!0).catch(p=>{t("Failed to retry sending",p)}))},u),typeof i!="number"&&i.unref&&i.unref()}function l(){i||(c(o),o=Math.min(o*2,ox))}async function f(u,d=!1){if(!d&&nh(u,["replay_event","replay_recording"]))return await s.push(u),c(Zc),{};try{const p=await r.send(u);let h=Zc;if(p){if(p.headers&&p.headers["retry-after"])h=cb(p.headers["retry-after"]);else if(p.headers&&p.headers["x-sentry-rate-limits"])h=6e4;else if((p.statusCode||0)>=400)return p}return c(h),o=eu,p}catch(p){if(await a(u,p,o))return d?await s.unshift(u):await s.push(u),l(),t("Error sending. Event queued.",p),{};throw p}}return n.flushAtStartup&&l(),{send:f,flush:u=>(u===void 0&&(o=eu,c(Zc)),r.flush(u))}}}function db(e,t){let n;return Wr(e,(r,s)=>(t.includes(s)&&(n=Array.isArray(r)?r[1]:void 0),!!n)),n}function ax(e,t){return n=>{const r=e(n);return{...r,send:async s=>{const o=db(s,["event","transaction","profile","replay_event"]);return o&&(o.release=t),r.send(s)}}}}function cx(e,t){return Fn(t?{...e[0],dsn:t}:e[0],e[1])}function ux(e,t){return n=>{const r=e(n),s=new Map;function o(c,l){const f=l?`${c}:${l}`:c;let u=s.get(f);if(!u){const d=$y(c);if(!d)return;const p=rb(d,n.tunnel);u=l?ax(e,l)({...n,url:p}):e({...n,url:p}),s.set(f,u)}return[c,u]}async function i(c){function l(p){const h=p&&p.length?p:["event"];return db(c,h)}const f=t({envelope:c,getEvent:l}).map(p=>typeof p=="string"?o(p,void 0):o(p.dsn,p.release)).filter(p=>!!p),u=f.length?f:[["",r]];return(await Promise.all(u.map(([p,h])=>
31h.send(cx(c,p)))))[0]}async function a(c){const l=[...s.values(),r];return(await Promise.all(l.map(u=>u.flush(c)))).every(u=>u)}return{send:i,flush:a}}}function pb(e,t){const n=t&&t.getDsn(),r=t&&t.getOptions().tunnel;return fx(e,n)||lx(e,r)}function lx(e,t){return t?mh(e)===mh(t):!1}function fx(e,t){return t?e.includes(t.host):!1}function mh(e){return e[e.length-1]==="/"?e.slice(0,-1):e}function dx(e,...t){const n=new String(String.raw(e,...t));return n.__sentry_template_string__=e.join("\0").replace(/%/g,"%%").replace(/\0/g,"%s"),n.__sentry_template_values__=t,n}function hb(e,t,n=[t],r="npm"){const s=e._metadata||{};s.sdk||(s.sdk={name:`sentry.javascript.${t}`,packages:n.map(o=>({name:`${r}:@sentry/${o}`,version:vn})),version:vn}),e._metadata=s}function mb(e={}){const t=Z();if(!jI()||!t)return{};const n=$n(),r=mr(n);if(r.getTraceData)return r.getTraceData(e);const s=de(),o=e.span||$e(),i=o?xy(o):px(s),a=o?_r(o):Dy(t,s),c=vy(a);return wy.test(i)?{"sentry-trace":i,baggage:c}:(N.warn("Invalid sentry-trace data. Cannot generate trace data"),{})}function px(e){const{traceId:t,sampled:n,spanId:r}=e.getPropagationContext();return Cy(t,r,n)}const hx=100;function Jt(e,t){const n=Z(),r=Ye();if(!n)return;const{beforeBreadcrumb:s=null,maxBreadcrumbs:o=hx}=n.getOptions();if(o<=0)return;const a={timestamp:Xo(),...e},c=s?Lt(()=>s(a,t)):a;c!==null&&(n.emit&&n.emit("beforeAddBreadcrumb",c,t),r.addBreadcrumb(c,o))}let gh;const mx="FunctionToString",_h=new WeakMap,gx=()=>({name:mx,setupOnce(){gh=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=Ef(this),n=_h.has(Z())&&t!==void 0?t:this;return gh.apply(n,e)}}catch{}},setup(e){_h.set(e,!0)}}),gb=gx,_x=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,"undefined is not an object (evaluating 'a.L')",`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+$/],yx="InboundFilters",bx=(e={})=>({name:yx,processEvent(t,n,r){const s=r.getOptions(),o=Sx(e,s);return Ex(t,o)?null:t}}),_b=bx;function Sx(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:_x],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]],ignoreInternal:e.ignoreInternal!==void 0?e.ignoreInternal:!0}}function Ex(e,t){return t.ignoreInternal&&Ix(e)?(ie&&N.warn(`Event dropped due to being internal Sentry Error.
32Event: ${qn(e)}`),!0):vx(e,t.ignoreErrors)?(ie&&N.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
33Event: ${qn(e)}`),!0):Rx(e)?(ie&&N.warn(`Event dropped due to not having an error message, error type or stacktrace.
34Event: ${qn(e)}`),!0):wx(e,t.ignoreTransactions)?(ie&&N.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
35Event: ${qn(e)}`),!0):Tx(e,t.denyUrls)?(ie&&N.warn(`Event dropped due to being matched by \`denyUrls\` option.
36Event: ${qn(e)}.
37Url: ${Na(e)}`),!0):Cx(e,t.allowUrls)?!1:(ie&&N.warn(`Event dropped due to not being matched by \`allowUrls\` option.
38Event: ${qn(e)}.
39Url: ${Na(e)}`),!0)}function vx(e,t){return e.type||!t||!t.length?!1:kx(e).some(n=>nr(n,t))}function wx(e,t){if(e.type!=="transaction"||!t||!t.length)return!1;const n=e.transaction;return n?nr(n,t):!1}function Tx(e,t){if(!t||!t.length)return!1;const n=Na(e);return n?nr(n,t):!1}function Cx(e,t){if(!t||!t.length)return!0;const n=Na(e);return n?nr(n,t):!0}function kx(e){const t=[];e.message&&t.push(e.message);let n;try{n=e.exception.values[e.exception.values.length-1]}catch{}return n&&n.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`)),t}function Ix(e){try{return e.exception.values[0].type==="SentryError"}catch{}return!1}function xx(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&n.filename!=="<anonymous>"&&n.filename!=="[native code]")return n.filename||null}return null}function Na(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch{}return t?xx(t):null}catch{return ie&&N.error(`Cannot extract url for event ${qn(e)}`),null}}function Rx(e){return e.type||!e.exception||!e.exception.values||e.exception.values.length===0?!1:!e.message&&!e.exception.values.some(t=>t.stacktrace||t.type&&t.type!=="Error"||t.value)}function Ax(e,t,n=250,r,s,o,i){if(!o.exception||!o.exception.values||!i||!In(i.originalException,Error))return;const a=o.exception.values.length>0?o.exception.values[o.exception.values.length-1]:void 0;a&&(o.exception.values=Mx(dl(e,t,s,i.originalException,r,o.exception.values,a,0),n))}function dl(e,t,n,r,s,o,i,a){if(o.length>=n+1)return o;let c=[...o];if(In(r[s],Error)){yh(i,a);const l=e(t,r[s]),f=c.length;bh(l,s,f,a),c=dl(e,t,n,r[s],s,[l,...c],l,f)}
39return Array.isArray(r.errors)&&r.errors.forEach((l,f)=>{if(In(l,Error)){yh(i,a);const u=e(t,l),d=c.length;bh(u,`errors[${f}]`,d,a),c=dl(e,t,n,l,s,[u,...c],u,d)}}),c}function yh(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 bh(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 Mx(e,t){return e.map(n=>(n.value&&(n.value=tr(n.value,t)),n))}const yb=new Map,Sh=new Set;function Ox(e){if(re._sentryModuleMetadata)for(const t of Object.keys(re._sentryModuleMetadata)){const n=re._sentryModuleMetadata[t];if(Sh.has(t))continue;Sh.add(t);const r=e(t);for(const s of r.reverse())if(s.filename){yb.set(s.filename,n);break}}}function Px(e,t){return Ox(e),yb.get(t)}function bb(e,t){try{t.exception.values.forEach(n=>{if(n.stacktrace)for(const r of n.stacktrace.frames||[]){if(!r.filename||r.module_metadata)continue;const s=Px(e,r.filename);s&&(r.module_metadata=s)}})}catch{}}function Sb(e){try{e.exception.values.forEach(t=>{if(t.stacktrace)for(const n of t.stacktrace.frames||[])delete n.module_metadata})}catch{}}const Nx=()=>({name:"ModuleMetadata",setup(e){e.on("beforeEnvelope",t=>{Wr(t,(n,r)=>{if(r==="event"){const s=Array.isArray(n)?n[1]:void 0;s&&(Sb(s),n[1]=s)}})}),e.on("applyFrameMetadata",t=>{if(t.type)return;const n=e.getOptions().stackParser;bb(n,t)})}});function Nr(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function Lx(e){return e.split(/[?#]/,1)[0]}function Eb(e){const t="console";pr(t,e),hr(t,Dx)}function Dx(){"console"in re&&Ta.forEach(function(e){e in re.console&&_t(re.console,e,function(t){return Ca[e]=t,function(...n){Bt("console",{args:n,level:e});const s=Ca[e];s&&s.apply(re.console,n)}})})}function Df(e){return e==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}const $x="CaptureConsole",Fx=(e={})=>{const t=e.levels||Ta,n=!!e.handled;return{name:$x,setup(r){"console"in re&&Eb(({args:s,level:o})=>{Z()!==r||!t.includes(o)||Ux(s,o,n)})}}},Hx=Fx;function Ux(e,t,n){const r={level:Df(t),extra:{arguments:e}};jt(s=>{if(s.addEventProcessor(a=>(a.logger="console",or(a,{handled:n,type:"console"}),a)),t==="assert"){if(!e[0]){const a=`Assertion failed: ${ka(e.slice(1)," ")||"console.assert"}`;s.setExtra("arguments",e.slice(1)),Oa(a,r)}return}const o=e.find(a=>a instanceof Error);if(o){Gr(o,r);return}const i=ka(e," ");Oa(i,r)})}const Bx="Debug",jx=(e={})=>{const t={debugger:!1,stringify:!1,...e};return{name:Bx,setup(n){n.on("beforeSendEvent",(r,s)=>{if(t.debugger)debugger;Lt(()=>{t.stringify?(console.log(JSON.stringify(r,null,2)),s&&Object.keys(s).length&&console.log(JSON.stringify(s,null,2))):(console.log(r),s&&Object.keys(s).length&&console.log(s))})})}}},Wx=jx,Vx="Dedupe",zx=()=>{let e;return{name:Vx,processEvent(t){if(t.type)return t;try{if(qx(t,e))return ie&&N.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}},vb=zx;function qx(e,t){return t?!!(Gx(e,t)||Kx(e,t)):!1}function Gx(e,t){const n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!Tb(e,t)||!wb(e,t))}function Kx(e,t){const n=Eh(t),r=Eh(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!Tb(e,t)||!wb(e,t))}function wb(e,t){let n=Qu(e),r=Qu(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let s=0;s<r.length;s++){const o=r[s],i=n[s];if(o.filename!==i.filename||o.lineno!==i.lineno||o.colno!==i.colno||o.function!==i.function)return!1}return!0}function Tb(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return n.join("")===r.join("")}catch{return!1}}function Eh(e){return e.exception&&e.exception.values&&e.exception.values[0]}const Yx="ExtraErrorData",Xx=(e={})=>{const{depth:t=3,captureErrorCause:n=!0}=e;return{name:Yx,processEvent(r,s,o){const{maxValueLength:i=250}=o.getOptions();return Qx(r,s,t,n,i)}}},Jx=Xx;function Qx(e,t={},n,r,s){if(!t.originalException||!er(t.originalException))return e;const o=t.originalException.name||t.originalException.constructor.name,i=Zx(t.originalException,r,s);if(i){const a={...e.contexts},c=$t(i,n);return Br(c)&&(kt(c,"__sentry_skip_normalization__",!0),a[o]=c),{...e,contexts:a}}return e}
39function Zx(e,t,n){try{const r=["name","message","stack","line","column","fileName","lineNumber","columnNumber","toJSON"],s={};for(const o of Object.keys(e)){if(r.indexOf(o)!==-1)continue;const i=e[o];s[o]=er(i)||typeof i=="string"?tr(`${i}`,n):i}if(t&&e.cause!==void 0&&(s.cause=er(e.cause)?e.cause.toString():e.cause),typeof e.toJSON=="function"){const o=e.toJSON();for(const i of Object.keys(o)){const a=o[i];s[i]=er(a)?a.toString():a}}return s}catch(r){ie&&N.error("Unable to extract extra data from the Error object:",r)}return null}function eR(e,t){let n=0;for(let r=e.length-1;r>=0;r--){const s=e[r];s==="."?e.splice(r,1):s===".."?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}const tR=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function nR(e){const t=e.length>1024?`<truncated>${e.slice(-1024)}`:e,n=tR.exec(t);return n?n.slice(1):[]}function vh(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const s=r>=0?e[r]:"/";s&&(t=`${s}/${t}`,n=s.charAt(0)==="/")}return t=eR(t.split("/").filter(r=>!!r),!n).join("/"),(n?"/":"")+t||"."}function wh(e){let t=0;for(;t<e.length&&e[t]==="";t++);let n=e.length-1;for(;n>=0&&e[n]==="";n--);return t>n?[]:e.slice(t,n-t+1)}function rR(e,t){e=vh(e).slice(1),t=vh(t).slice(1);const n=wh(e.split("/")),r=wh(t.split("/")),s=Math.min(n.length,r.length);let o=s;for(let a=0;a<s;a++)if(n[a]!==r[a]){o=a;break}let i=[];for(let a=o;a<n.length;a++)i.push("..");return i=i.concat(r.slice(o)),i.join("/")}function sR(e,t){return nR(e)[2]||""}const oR="RewriteFrames",iR=(e={})=>{const t=e.root,n=e.prefix||"app:///",r="window"in re&&re.window!==void 0,s=e.iteratee||aR({isBrowser:r,root:t,prefix:n});function o(a){try{return{...a,exception:{...a.exception,values:a.exception.values.map(c=>({...c,...c.stacktrace&&{stacktrace:i(c.stacktrace)}}))}}}catch{return a}}function i(a){return{...a,frames:a&&a.frames&&a.frames.map(c=>s(c))}}return{name:oR,processEvent(a){let c=a;return a.exception&&Array.isArray(a.exception.values)&&(c=o(c)),c}}};function aR({isBrowser:e,root:t,prefix:n}){return r=>{if(!r.filename)return r;const s=/^[a-zA-Z]:\\/.test(r.filename)||r.filename.includes("\\")&&!r.filename.includes("/"),o=/^\//.test(r.filename);if(e){if(t){const i=r.filename;i.indexOf(t)===0&&(r.filename=i.replace(t,n))}}else if(s||o){const i=s?r.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):r.filename,a=t?rR(t,i):sR(i);r.filename=`${n}${a}`}return r}}const cR="SessionTiming",uR=()=>{const e=Ne()*1e3;return{name:cR,processEvent(t){const n=Ne()*1e3;return{...t,extra:{...t.extra,"session:start":e,"session:duration":n-e,"session:end":n}}}}},lR=uR,fR=10,dR="ZodErrors";function pR(e){return er(e)&&e.name==="ZodError"&&Array.isArray(e.errors)}function hR(e){return{...e,path:"path"in e&&Array.isArray(e.path)?e.path.join("."):void 0,keys:"keys"in e?JSON.stringify(e.keys):void 0,unionErrors:"unionErrors"in e?JSON.stringify(e.unionErrors):void 0}}function mR(e){const t=new Set;for(const r of e.issues)r.path&&r.path[0]&&t.add(r.path[0]);const n=Array.from(t);return`Failed to validate keys: ${tr(n.join(", "),100)}`}function gR(e,t,n){return!t.exception||!t.exception.values||!n||!n.originalException||!pR(n.originalException)||n.originalException.issues.length===0?t:{...t,exception:{...t.exception,values:[{...t.exception.values[0],value:mR(n.originalException)},...t.exception.values.slice(1)]},extra:{...t.extra,"zoderror.issues":n.originalException.errors.slice(0,e).map(hR)}}}const _R=(e={})=>{const t=e.limit||fR;return{name:dR,processEvent(n,r){return gR(t,n,r)}}},yR=_R,bR=e=>({name:"ThirdPartyErrorsFilter",setup(t){t.on("beforeEnvelope",n=>{Wr(n,(r,s)=>{if(s==="event"){const o=Array.isArray(r)?r[1]:void 0;o&&(Sb(o),r[1]=o)}})}),t.on("applyFrameMetadata",n=>{if(n.type)return;const r=t.getOptions().stackParser;bb(r,n)})},processEvent(t){const n=SR(t);if(n){const r=e.behaviour==="drop-error-if-contains-third-party-frames"||e.behaviour==="apply-tag-if-contains-third-party-frames"?"some":"every";if(n[r](o=>!o.some(i=>e.filterKeys.includes(i)))){if(e.behaviour==="drop-error-if-contains-third-party-frames"||e.behaviour==="drop-error-if-exclusively-contains-third-party-frames")return null;t.tags={...t.tags,third_party_code:!0}}}return t}});function SR(e){const t=Qu(e);if(t)return t.filter(n=>!!n.filename).map(n=>n.module_metadata?Object.keys(n.module_metadata).filter(r=>r.startsWith(Th)).map(r=>r.slice(Th.length)):[])}const Th="_sentryBundlerPluginAppKey:",Cb="c",kb="g",$f="s",Ib="d",ER=5e3;function xb(e,t){const n=Ko("globalMetricsAggregators",()=>
39new WeakMap),r=n.get(e);if(r)return r;const s=new t(e);return e.on("flush",()=>s.flush()),e.on("close",()=>s.close()),n.set(e,s),s}function hc(e,t,n,r,s={}){const o=s.client||Z();if(!o)return;const i=$e(),a=i?Ve(i):void 0,c=a&&pe(a).description,{unit:l,tags:f,timestamp:u}=s,{release:d,environment:p}=o.getOptions(),h={};d&&(h.release=d),p&&(h.environment=p),c&&(h.transaction=c),ie&&N.log(`Adding value of ${r} to ${t} metric ${n}`),xb(o,e).add(t,n,r,l,{...h,...f},u)}function vR(e,t,n=1,r){hc(e,Cb,t,Ff(n),r)}function pl(e,t,n,r){hc(e,Ib,t,Ff(n),r)}function wR(e,t,n,r="second",s){if(typeof n=="function"){const o=Ne();return Wy({op:"metrics.timing",name:t,startTime:o,onlyIfParent:!0},i=>xf(()=>n(),()=>{},()=>{const a=Ne(),c=a-o;pl(e,t,c,{...s,unit:"second"}),i.end(a)}))}pl(e,t,n,{...s,unit:r})}function TR(e,t,n,r){hc(e,$f,t,n,r)}function CR(e,t,n,r){hc(e,kb,t,Ff(n),r)}const Zo={increment:vR,distribution:pl,set:TR,gauge:CR,timing:wR,getMetricsAggregatorForClient:xb};function Ff(e){return typeof e=="string"?parseInt(e):e}function kR(e,t,n,r){const s=Object.entries(ze(r)).sort((o,i)=>o[0].localeCompare(i[0]));return`${e}${t}${n}${s}`}function IR(e){let t=0;for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);t=(t<<5)-t+r,t&=t}return t>>>0}function xR(e){let t="";for(const n of e){const r=Object.entries(n.tags),s=r.length>0?`|#${r.map(([o,i])=>`${o}:${i}`).join(",")}`:"";t+=`${n.name}@${n.unit}:${n.metric}|${n.metricType}${s}|T${n.timestamp}
40`}return t}function RR(e){return e.replace(/[^\w]+/gi,"_")}function AR(e){return e.replace(/[^\w\-.]+/gi,"_")}function MR(e){return e.replace(/[^\w\-./]+/gi,"")}const OR=[[`
41`,"\\n"],["\r","\\r"],["	","\\t"],["\\","\\\\"],["|","\\u{7c}"],[",","\\u{2c}"]];function PR(e){for(const[t,n]of OR)if(e===t)return n;return e}function NR(e){return[...e].reduce((t,n)=>t+PR(n),"")}function LR(e){const t={};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const r=MR(n);t[r]=NR(String(e[n]))}return t}function DR(e,t){N.log(`Flushing aggregated metrics, number of metrics: ${t.length}`);const n=e.getDsn(),r=e.getSdkMetadata(),s=e.getOptions().tunnel,o=$R(t,n,r,s);e.sendEnvelope(o)}function $R(e,t,n,r){const s={sent_at:new Date().toISOString()};n&&n.sdk&&(s.sdk={name:n.sdk.name,version:n.sdk.version}),r&&t&&(s.dsn=qr(t));const o=FR(e);return Fn(s,[o])}function FR(e){const t=xR(e);return[{type:"statsd",length:t.length},t]}class HR{constructor(t){this._value=t}get weight(){return 1}add(t){this._value+=t}toString(){return`${this._value}`}}class UR{constructor(t){this._last=t,this._min=t,this._max=t,this._sum=t,this._count=1}get weight(){return 5}add(t){this._last=t,t<this._min&&(this._min=t),t>this._max&&(this._max=t),this._sum+=t,this._count++}toString(){return`${this._last}:${this._min}:${this._max}:${this._sum}:${this._count}`}}class BR{constructor(t){this._value=[t]}get weight(){return this._value.length}add(t){this._value.push(t)}toString(){return this._value.join(":")}}class jR{constructor(t){this.first=t,this._value=new Set([t])}get weight(){return this._value.size}add(t){this._value.add(t)}toString(){return Array.from(this._value).map(t=>typeof t=="string"?IR(t):t).join(":")}}const WR={[Cb]:HR,[kb]:UR,[Ib]:BR,[$f]:jR};class ei{constructor(t){this._client=t,this._buckets=new Map,this._interval=setInterval(()=>this.flush(),ER)}add(t,n,r,s="none",o={},i=Ne()){const a=Math.floor(i),c=AR(n),l=LR(o),f=RR(s),u=kR(t,c,f,l);let d=this._buckets.get(u);const p=d&&t===$f?d.metric.weight:0;d?(d.metric.add(r),d.timestamp<a&&(d.timestamp=a)):(d={metric:new WR[t](r),timestamp:a,metricType:t,name:c,unit:f,tags:l},this._buckets.set(u,d));const h=typeof r=="string"?d.metric.weight-p:r;Dk(t,c,h,f,o,u)}flush(){if(this._buckets.size===0)return;const t=Array.from(this._buckets.values());DR(this._client,t),this._buckets.clear()}close(){clearInterval(this._interval),this.flush()}}function VR(e,t,n,r,s="auto.http.browser"){if(!e.fetchData)return;const o=On()&&t(e.fetchData.url);if(e.endTimestamp&&o){const d=e.fetchData.__span;if(!d)return;const p=r[d];p&&(GR(p,e),delete r[d]);return}const{method:i,url:a}=e.fetchData,c=qR(a),l=c?Nr(c).host:void 0,f=!!$e(),u=o&&f?cr({name:`${i} ${a}`,attributes:{url:a,type:"fetch","http.method":i,"http.url":c,"server.address":l,[Le]:s,[ar]:"http.client"}}):new gr;if(e.fetchData.__span=u.spanContext().spanId,r[u.spanContext().spanId]=u,n(e.fetchData.url)){const d=e.args[0],p=e.args[1]||{},h=zR(d,p,On()&&f?u:void 0);h&&(e.args[1]=p,p.headers=h)}return u}function zR(e,t,n){const r=mb({span:n}),s=r["sentry-trace"],o=r.baggage;if(!s)return;const i=t.headers||(KR(e)?e.headers:void 0);if(i)if(YR(i)){const a=new Headers(i);if(a.set("sentry-trace",s),o){const c=a.get("baggage");if(c){const l=wi(c);a.set("baggage",l?`${l},${o}`:o)}else a.set("baggage",o)}return a}else if(Array.isArray(i)){const a=[...i.filter(c=>!(Array.isArray(c)&&c[0]==="sentry-trace")).map(c=>{if(Array.isArray(c)&&c[0]==="baggage"&&typeof c[1]=="string"){const[l,f,...u]=c;return[l,wi(f),...u]}else return c}),["sentry-trace",s]];return o&&a.push(["baggage",o]),a}else{const a="baggage"in i?i.baggage:void 0;let c=[];
41return Array.isArray(a)?c=a.map(l=>typeof l=="string"?wi(l):l).filter(l=>l===""):a&&c.push(wi(a)),o&&c.push(o),{...i,"sentry-trace":s,baggage:c.length>0?c.join(","):void 0}}else return{...r}}function qR(e){try{return new URL(e).href}catch{return}}function GR(e,t){if(t.response){Cf(e,t.response.status);const n=t.response&&t.response.headers&&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:Ke,message:"internal_error"});e.end()}function wi(e){return e.split(",").filter(t=>!t.split("=")[0].startsWith(kf)).join(",")}function KR(e){return typeof Request<"u"&&In(e,Request)}function YR(e){return typeof Headers<"u"&&In(e,Headers)}function Rb(e,t={},n=de()){const{message:r,name:s,email:o,url:i,source:a,associatedEventId:c,tags:l}=e,f={contexts:{feedback:ze({contact_email:o,name:s,message:r,url:i,source:a,associated_event_id:c})},type:"feedback",level:"info",tags:l},u=n&&n.getClient()||Z();return u&&u.emit("beforeSendFeedback",f,t),n.captureEvent(f,t)}function XR(){return{bindClient(e){de().setClient(e)},withScope:jt,getClient:()=>Z(),getScope:de,getIsolationScope:Ye,captureException:(e,t)=>de().captureException(e,t),captureMessage:(e,t,n)=>de().captureMessage(e,t,n),captureEvent:qs,addBreadcrumb:Jt,setUser:Qy,setTags:Xy,setTag:Jy,setExtra:Yy,setExtras:Ky,setContext:Lf,getIntegration(e){const t=Z();return t&&t.getIntegrationByName(e.id)||null},startSession:Pa,endSession:Lo,captureSession(e){if(e)return Lo();QR()}}}const JR=XR;function QR(){const e=de(),t=Z(),n=e.getSession();t&&n&&t.captureSession(n)}function Ab(e){if(e!==void 0)return e>=400&&e<500?"warning":e>=500?"error":void 0}const La=re;function Mb(){if(!("fetch"in La))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function hl(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function Ob(){if(typeof EdgeRuntime=="string")return!0;if(!Mb())return!1;if(hl(La.fetch))return!0;let e=!1;const t=La.document;if(t&&typeof t.createElement=="function")try{const n=t.createElement("iframe");
41n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=hl(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){dr&&N.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}function ZR(){return"ReportingObserver"in La}function Hf(e,t){const n="fetch";pr(n,e),hr(n,()=>Pb(void 0,t))}function eA(e){const t="fetch-body-resolved";pr(t,e),hr(t,()=>Pb(nA))}function Pb(e,t=!1){t&&!Ob()||_t(re,"fetch",function(n){return function(...r){const s=new Error,{method:o,url:i}=rA(r),a={args:r,fetchData:{method:o,url:i},startTimestamp:Ne()*1e3,virtualError:s};return e||Bt("fetch",{...a}),n.apply(re,r).then(async c=>(e?e(c):Bt("fetch",{...a,endTimestamp:Ne()*1e3,response:c}),c),c=>{throw Bt("fetch",{...a,endTimestamp:Ne()*1e3,error:c}),er(c)&&c.stack===void 0&&(c.stack=s.stack,kt(c,"framesToPop",1)),c})}})}async function tA(e,t){if(e&&e.body){const n=e.body,r=n.getReader(),s=setTimeout(()=>{n.cancel().then(null,()=>{})},90*1e3);let o=!0;for(;o;){let i;try{i=setTimeout(()=>{n.cancel().then(null,()=>{})},5e3);const{done:a}=await r.read();clearTimeout(i),a&&(t(),o=!1)}catch{o=!1}finally{clearTimeout(i)}}clearTimeout(s),r.releaseLock(),n.cancel().then(null,()=>{})}}function nA(e){let t;try{t=e.clone()}catch{return}tA(t,()=>{Bt("fetch-body-resolved",{endTimestamp:Ne()*1e3,response:e})})}function ml(e,t){return!!e&&typeof e=="object"&&!!e[t]}function Ch(e){return typeof e=="string"?e:e?ml(e,"url")?e.url:e.toString?e.toString():"":""}function rA(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[n,r]=e;return{url:Ch(n),method:ml(r,"method")?String(r.method).toUpperCase():"GET"}}const t=e[0];return{url:Ch(t),method:ml(t,"method")?String(t.method).toUpperCase():"GET"}}function sA(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function oA(){return"npm"}function iA(){return!sA()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function gl(){return typeof window<"u"&&(!iA()||aA())}function aA(){const e=re.process;return!!e&&e.type==="renderer"}const Ti=re;function cA(){const e=Ti.chrome,t=e&&e.app&&e.app.runtime,n="history"in Ti&&!!Ti.history.pushState&&!!Ti.history.replaceState;return!t&&n}function uA(e,t){return e??t()}function Lr(e){let t,n=e[0],r=1;for(;r<e.length;){const s=e[r],o=e[r+1];if(r+=2,(s==="optionalAccess"||s==="optionalCall")&&n==null)return;s==="access"||s==="optionalAccess"?(t=n,n=o(n)):(s==="call"||s==="optionalCall")&&(n=o((...i)=>n.call(t,...i)),t=void 0)}return n}const J=re;let _l=0;function Nb(){return _l>0}function lA(){_l++,setTimeout(()=>{_l--})}function As(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(Ef(e))return e}catch{return e}const r=function(...s){try{const o=s.map(i=>As(i,t));return e.apply(this,o)}catch(o){throw lA(),jt(i=>{i.addEventProcessor(a=>(t.mechanism&&(el(a,void 0),or(a,t.mechanism)),a.extra={...a.extra,arguments:s},a)),Gr(o)}),o}};try{for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(r[s]=e[s])}catch{}my(r,e),kt(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}const _e=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function mc(e,t){const n=Uf(e,t),r={type:mA(t),value:gA(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function fA(e,t,n,r){const s=Z(),o=s&&s.getOptions().normalizeDepth,i=bA(t),a={__serialized__:Uy(t,o)};if(i)return{exception:{values:[mc(e,i)]},extra:a};const c={exception:{values:[{type:cc(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:_A(t,{isUnhandledRejection:r})}]},extra:a};if(n){const l=Uf(e,n);l.length&&(c.exception.values[0].stacktrace={frames:l})}return c}function tu(e,t){return{exception:{values:[mc(e,t)]}}}function Uf(e,t){const n=t.stacktrace||t.stack||"",r=pA(t),s=hA(t);try{return e(n,r,s)}catch{}return[]}const dA=/Minified React error #\d+;/i;function pA(e){return e&&dA.test(e.message)?1:0}function hA(e){return typeof e.framesToPop=="number"?e.framesToPop:0}
41function Lb(e){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?e instanceof WebAssembly.Exception:!1}function mA(e){const t=e&&e.name;return!t&&Lb(e)?e.message&&Array.isArray(e.message)&&e.message.length==2?e.message[0]:"WebAssembly.Exception":t}function gA(e){const t=e&&e.message;return t?t.error&&typeof t.error.message=="string"?t.error.message:Lb(e)&&Array.isArray(e.message)&&e.message.length==2?e.message[1]:t:"No error message"}function Db(e,t,n,r){const s=n&&n.syntheticException||void 0,o=Bf(e,t,s,r);return or(o),o.level="error",n&&n.event_id&&(o.event_id=n.event_id),Rn(o)}function $b(e,t,n="info",r,s){const o=r&&r.syntheticException||void 0,i=yl(e,t,o,s);return i.level=n,r&&r.event_id&&(i.event_id=r.event_id),Rn(i)}function Bf(e,t,n,r,s){let o;if(dy(t)&&t.error)return tu(e,t.error);if(zp(t)||QC(t)){const i=t;if("stack"in t)o=tu(e,t);else{const a=i.name||(zp(i)?"DOMError":"DOMException"),c=i.message?`${a}: ${i.message}`:a;o=yl(e,c,n,r),el(o,c)}return"code"in i&&(o.tags={...o.tags,"DOMException.code":`${i.code}`}),o}return er(t)?tu(e,t):Br(t)||cc(t)?(o=fA(e,t,n,s),or(o,{synthetic:!0}),o):(o=yl(e,t,n,r),el(o,`${t}`),or(o,{synthetic:!0}),o)}function yl(e,t,n,r){const s={};if(r&&n){const o=Uf(e,n);o.length&&(s.exception={values:[{value:t,stacktrace:{frames:o}}]}),or(s,{synthetic:!0})}if(yf(t)){const{__sentry_template_string__:o,__sentry_template_values__:i}=t;return s.logentry={message:o,params:i},s}return s.message=t,s}function _A(e,{isUnhandledRejection:t}){const n=ik(e),r=t?"promise rejection":"exception";return dy(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:cc(e)?`Event \`${yA(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function yA(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function bA(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];if(n instanceof Error)return n}}function Fb(e,{metadata:t,tunnel:n,dsn:r}){const s={event_id:e.event_id,sent_at:new Date().toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!r&&{dsn:qr(r)}},o=SA(e);return Fn(s,[o])}function SA(e){return[{type:"user_report"},e]}class Hb extends JI{constructor(t){const n={parentSpanIsAlwaysRootSpan:!0,...t},r=J.SENTRY_SDK_SOURCE||oA();hb(n,"browser",["browser"],r),super(n),n.sendClientReports&&J.document&&J.document.addEventListener("visibilitychange",()=>{J.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(t,n){return Db(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",r){return $b(this._options.stackParser,t,n,r,this._options.attachStacktrace)}captureUserFeedback(t){if(!this._isEnabled()){_e&&N.warn("SDK not enabled, will not capture user feedback.");return}const n=Fb(t,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(n)}_prepareEvent(t,n,r){return t.platform=t.platform||"javascript",super._prepareEvent(t,n,r)}}const jf=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,EA=(e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good",Gs=(e,t,n,r)=>{let s,o;return i=>{t.value>=0&&(i||r)&&(o=t.value-(s||0),(o||s===void 0)&&(s=t.value,t.delta=o,t.rating=EA(t.value,n),e(t)))}},se=re,vA=()=>`v4-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,ti=(e=!0)=>{const t=se.performance&&se.performance.getEntriesByType&&se.performance.getEntriesByType("navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t},ni=()=>{const e=ti();return e&&e.activationStart||0},Ks=(e,t)=>{const n=ti();let r="navigate";return n&&(se.document&&se.document.prerendering||ni()>0?r="prerender":se.document&&se.document.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:typeof t>"u"?-1:t,rating:"good",delta:0,entries:[],id:vA(),navigationType:r}},Kr=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver(s=>{Promise.resolve().then(()=>{t(s.getEntries())})});return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch{}},Ys=e=>{const t=n=>{(n.type==="pagehide"||se.document&&se.document.visibilityState==="hidden")&&e(n)};se.document&&(addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0))},gc=e=>{let t=!1;return()=>{t||(e(),t=!0)}};let bo=-1;const wA=()=>se.document.visibilityState==="hidden"&&!se.document.prerendering?0:1/0,Da=e=>{se.document.visibilityState==="hidden"&&bo>-1&&(bo=e.type==="visibilitychange"?e.timeStamp:0,CA())},TA=()=>{addEventListener("visibilitychange",Da,!0),addEventListener("prerenderingchange",Da,!0)},CA=()=>{removeEventListener("visibilitychange",Da,!0),removeEventListener("prerenderingchange",Da,!0)},_c=()=>(se.document&&bo<0&&(bo=wA(),TA()),{get firstHiddenTime(){return bo}}),ri=e=>{se.document&&se.document.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},kA=[1800,3e3],IA=(e,t={})=>{ri(()=>{const n=_c(),r=Ks("FCP");let s;const i=Kr("paint",a=>{a.forEach(c=>{c.name==="first-contentful-paint"&&(i.disconnect(),c.startTime<n.firstHiddenTime&&(r.value=Math.max(c.startTime-ni(),0),r.entries.push(c),s(!0)))})});i&&(s=Gs(e,r,kA,t.reportAllChanges))})},xA=[.1,.25],RA=(e,t={})=>{IA(gc(()=>{const n=Ks("CLS",0);let r,s=0,o=[];const i=c=>
41{c.forEach(l=>{if(!l.hadRecentInput){const f=o[0],u=o[o.length-1];s&&f&&u&&l.startTime-u.startTime<1e3&&l.startTime-f.startTime<5e3?(s+=l.value,o.push(l)):(s=l.value,o=[l])}}),s>n.value&&(n.value=s,n.entries=o,r())},a=Kr("layout-shift",i);a&&(r=Gs(e,n,xA,t.reportAllChanges),Ys(()=>{i(a.takeRecords()),r(!0)}),setTimeout(r,0))}))},AA=[100,300],MA=(e,t={})=>{ri(()=>{const n=_c(),r=Ks("FID");let s;const o=c=>{c.startTime<n.firstHiddenTime&&(r.value=c.processingStart-c.startTime,r.entries.push(c),s(!0))},i=c=>{c.forEach(o)},a=Kr("first-input",i);s=Gs(e,r,AA,t.reportAllChanges),a&&Ys(gc(()=>{i(a.takeRecords()),a.disconnect()}))})};let Ub=0,nu=1/0,Ci=0;const OA=e=>{e.forEach(t=>{t.interactionId&&(nu=Math.min(nu,t.interactionId),Ci=Math.max(Ci,t.interactionId),Ub=Ci?(Ci-nu)/7+1:0)})};let bl;const PA=()=>bl?Ub:performance.interactionCount||0,NA=()=>{"interactionCount"in performance||bl||(bl=Kr("event",OA,{type:"event",buffered:!0,durationThreshold:0}))},gn=[],ru=new Map,LA=40;let DA=0;const $A=()=>PA()-DA,FA=()=>{const e=Math.min(gn.length-1,Math.floor($A()/50));return gn[e]},su=10,HA=[],UA=e=>{if(HA.forEach(r=>r(e)),!(e.interactionId||e.entryType==="first-input"))return;const t=gn[gn.length-1],n=ru.get(e.interactionId);if(n||gn.length<su||t&&e.duration>t.latency){if(n)e.duration>n.latency?(n.entries=[e],n.latency=e.duration):e.duration===n.latency&&e.startTime===(n.entries[0]&&n.entries[0].startTime)&&n.entries.push(e);else{const r={id:e.interactionId,latency:e.duration,entries:[e]};ru.set(r.id,r),gn.push(r)}gn.sort((r,s)=>s.latency-r.latency),gn.length>su&&gn.splice(su).forEach(r=>ru.delete(r.id))}},Bb=e=>{const t=se.requestIdleCallback||se.setTimeout;let n=-1;return e=gc(e),se.document&&se.document.visibilityState==="hidden"?e():(n=t(e),Ys(e)),n},BA=[200,500],jA=(e,t={})=>{"PerformanceEventTiming"in se&&"interactionId"in PerformanceEventTiming.prototype&&ri(()=>{NA();const n=Ks("INP");let r;const s=i=>{Bb(()=>{i.forEach(UA);const a=FA();a&&a.latency!==n.value&&(n.value=a.latency,n.entries=a.entries,r())})},o=Kr("event",s,{durationThreshold:t.durationThreshold!=null?t.durationThreshold:LA});r=Gs(e,n,BA,t.reportAllChanges),o&&(o.observe({type:"first-input",buffered:!0}),Ys(()=>{s(o.takeRecords()),r(!0)}))})},WA=[2500,4e3],kh={},VA=(e,t={})=>{ri(()=>{const n=_c(),r=Ks("LCP");let s;const o=a=>{t.reportAllChanges||(a=a.slice(-1)),a.forEach(c=>{c.startTime<n.firstHiddenTime&&(r.value=Math.max(c.startTime-ni(),0),r.entries=[c],s())})},i=Kr("largest-contentful-paint",o);if(i){s=Gs(e,r,WA,t.reportAllChanges);const a=gc(()=>{kh[r.id]||(o(i.takeRecords()),i.disconnect(),kh[r.id]=!0,s(!0))});["keydown","click"].forEach(c=>{se.document&&addEventListener(c,()=>Bb(a),{once:!0,capture:!0})}),Ys(a)}})},zA=[800,1800],Sl=e=>{se.document&&se.document.prerendering?ri(()=>Sl(e)):se.document&&se.document.readyState!=="complete"?addEventListener("load",()=>Sl(e),!0):setTimeout(e,0)},qA=(e,t={})=>{const n=Ks("TTFB"),r=Gs(e,n,zA,t.reportAllChanges);Sl(()=>{const s=ti();s&&(n.value=Math.max(s.responseStart-ni(),0),n.entries=[s],r(!0))})},So={},$a={};let jb,Wb,Vb,zb,qb;function Wf(e,t=!1){return si("cls",e,KA,jb,t)}function Gb(e,t=!1){return si("lcp",e,XA,Vb,t)}function Kb(e){return si("fid",e,YA,Wb)}function GA(e){return si("ttfb",e,JA,zb)}function Yb(e){return si("inp",e,QA,qb)}function Ms(e,t){return Xb(e,t),$a[e]||(ZA(e),$a[e]=!0),Jb(e,t)}function Xs(e,t){const n=So[e];if(!(!n||!n.length))for(const r of n)try{r(t)}catch(s){jf&&N.error(`Error while triggering instrumentation handler.
42Type: ${e}
43Name: ${kn(r)}
44Error:`,s)}}function KA(){return RA(e=>{Xs("cls",{metric:e}),jb=e},{reportAllChanges:!0})}function YA(){return MA(e=>{Xs("fid",{metric:e}),Wb=e})}function XA(){return VA(e=>{Xs("lcp",{metric:e}),Vb=e},{reportAllChanges:!0})}function JA(){return qA(e=>{Xs("ttfb",{metric:e}),zb=e})}function QA(){return jA(e=>{Xs("inp",{metric:e}),qb=e})}function si(e,t,n,r,s=!1){Xb(e,t);let o;return $a[e]||(o=n(),$a[e]=!0),r&&t({metric:r}),Jb(e,t,s?o:void 0)}function ZA(e){const t={};e==="event"&&(t.durationThreshold=0),Kr(e,n=>{Xs(e,{entries:n})},t)}function Xb(e,t){So[e]=So[e]||[],So[e].push(t)}function Jb(e,t,n){return()=>{n&&n();const r=So[e];if(!r)return;const s=r.indexOf(t);s!==-1&&r.splice(s,1)}}function eM(e){return"duration"in e}function ou(e){return typeof e=="number"&&isFinite(e)}function Pn(e,t,n,{...r}){const s=pe(e).start_timestamp;return s&&s>t&&typeof e.updateStartTime=="function"&&e.updateStartTime(t),Jo(e,()=>
44{const o=cr({startTime:t,...r});return o&&o.end(n),o})}function Qb(e){const t=Z();if(!t)return;const{name:n,transaction:r,attributes:s,startTime:o}=e,{release:i,environment:a}=t.getOptions(),c=t.getIntegrationByName("Replay"),l=c&&c.getReplayId(),f=de(),u=f.getUser(),d=u!==void 0?u.email||u.id||u.ip_address:void 0;let p;try{p=f.getScopeData().contexts.profile.profile_id}catch{}const h={release:i,environment:a,user:d||void 0,profile_id:p||void 0,replay_id:l||void 0,transaction:r,"user_agent.original":se.navigator&&se.navigator.userAgent,...s};return cr({name:n,attributes:h,startTime:o,experimental:{standalone:!0}})}function Vf(){return se&&se.addEventListener&&se.performance}function qe(e){return e/1e3}function tM(){let e=0,t,n;if(!rM())return;let r=!1;function s(){r||(r=!0,n&&nM(e,t,n),o())}const o=Wf(({metric:i})=>{const a=i.entries[i.entries.length-1];a&&(e=i.value,t=a)},!0);Ys(()=>{s()}),setTimeout(()=>{const i=Z();if(!i)return;const a=i.on("startNavigationSpan",()=>{s(),a&&a()}),c=$e(),l=c&&Ve(c),f=l&&pe(l);f&&f.op==="pageload"&&(n=l.spanContext().spanId)},0)}function nM(e,t,n){jf&&N.log(`Sending CLS span (${e})`);const r=qe((at||0)+(t&&t.startTime||0)),s=de().getScopeData().transactionName,o=t?xn(t.sources[0]&&t.sources[0].node):"Layout shift",i=ze({[Le]:"auto.http.browser.cls",[ar]:"ui.webvital.cls",[Tf]:t&&t.duration||0,"sentry.pageload.span_id":n}),a=Qb({name:o,transaction:s,attributes:i,startTime:r});a&&(a.addEvent("cls",{[fc]:"",[dc]:e}),a.end(r))}function rM(){try{return PerformanceObserver.supportedEntryTypes.includes("layout-shift")}catch{return!1}}const sM=2147483647;let Ih=0,it={},Et,Eo;function oM({recordClsStandaloneSpans:e}){const t=Vf();if(t&&at){t.mark&&se.performance.mark("sentry-tracing-init");const n=fM(),r=lM(),s=dM(),o=e?tM():uM();return()=>{n(),r(),s(),o&&o()}}return()=>{}}function iM(){Ms("longtask",({entries:e})=>
44{const t=$e();if(!t)return;const{op:n,start_timestamp:r}=pe(t);for(const s of e){const o=qe(at+s.startTime),i=qe(s.duration);n==="navigation"&&r&&o<r||Pn(t,o,o+i,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[Le]:"auto.ui.browser.metrics"}})}})}function aM(){new PerformanceObserver(t=>{const n=$e();if(n)for(const r of t.getEntries()){if(!r.scripts[0])continue;const s=qe(at+r.startTime),{start_timestamp:o,op:i}=pe(n);if(i==="navigation"&&o&&s<o)continue;const a=qe(r.duration),c={[Le]:"auto.ui.browser.metrics"},l=r.scripts[0],{invoker:f,invokerType:u,sourceURL:d,sourceFunctionName:p,sourceCharPosition:h}=l;c["browser.script.invoker"]=f,c["browser.script.invoker_type"]=u,d&&(c["code.filepath"]=d),p&&(c["code.function"]=p),h!==-1&&(c["browser.script.source_char_position"]=h),Pn(n,s,s+a,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:c})}}).observe({type:"long-animation-frame",buffered:!0})}function cM(){Ms("event",({entries:e})=>{const t=$e();if(t){for(const n of e)if(n.name==="click"){const r=qe(at+n.startTime),s=qe(n.duration),o={name:xn(n.target),op:`ui.interaction.${n.name}`,startTime:r,attributes:{[Le]:"auto.ui.browser.metrics"}},i=hy(n.target);i&&(o.attributes["ui.component_name"]=i),Pn(t,r,r+s,o)}}})}function uM(){return Wf(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(it.cls={value:e.value,unit:""},Eo=t)},!0)}function lM(){return Gb(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(it.lcp={value:e.value,unit:"millisecond"},Et=t)},!0)}function fM(){return Kb(({metric:e})=>{const t=e.entries[e.entries.length-1];if(!t)return;
44const n=qe(at),r=qe(t.startTime);it.fid={value:e.value,unit:"millisecond"},it["mark.fid"]={value:n+r,unit:"second"}})}function dM(){return GA(({metric:e})=>{e.entries[e.entries.length-1]&&(it.ttfb={value:e.value,unit:"millisecond"})})}function pM(e,t){const n=Vf();if(!n||!n.getEntries||!at)return;const r=qe(at),s=n.getEntries(),{op:o,start_timestamp:i}=pe(e);if(s.slice(Ih).forEach(a=>{const c=qe(a.startTime),l=qe(Math.max(0,a.duration));if(!(o==="navigation"&&i&&r+c<i))switch(a.entryType){case"navigation":{mM(e,a,r);break}case"mark":case"paint":case"measure":{hM(e,a,c,l,r);const f=_c(),u=a.startTime<f.firstHiddenTime;a.name==="first-paint"&&u&&(it.fp={value:a.startTime,unit:"millisecond"}),a.name==="first-contentful-paint"&&u&&(it.fcp={value:a.startTime,unit:"millisecond"});break}case"resource":{yM(e,a,a.name,c,l,r);break}}}),Ih=Math.max(s.length-1,0),bM(e),o==="pageload"){EM(it);const a=it["mark.fid"];a&&it.fid&&(Pn(e,a.value,a.value+qe(it.fid.value),{name:"first input delay",op:"ui.action",attributes:{[Le]:"auto.ui.browser.metrics"}}),delete it["mark.fid"]),(!("fcp"in it)||!t.recordClsOnPageloadSpan)&&delete it.cls,Object.entries(it).forEach(([c,l])=>{jy(c,l.value,l.unit)}),e.setAttribute("performance.timeOrigin",r),e.setAttribute("performance.activationStart",ni()),SM(e)}Et=void 0,Eo=void 0,it={}}function hM(e,t,n,r,s){const o=ti(!1),i=qe(o?o.requestStart:0),a=s+Math.max(n,i),c=s+n,l=c+r,f={[Le]:"auto.resource.browser.metrics"};return a!==c&&(f["sentry.browser.measure_happened_before_request"]=!0,f["sentry.browser.measure_start_time"]=a),Pn(e,a,l,{name:t.name,op:t.entryType,attributes:f}),a}function mM(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{ki(e,t,r,n)}),ki(e,t,"secureConnection",n,"TLS/SSL"),ki(e,t,"fetch",n,"cache"),ki(e,t,"domainLookup",n,"DNS"),_M(e,t,n)}function ki(e,t,n,r,s=n){const o=gM(n),i=t[o],a=t[`${n}Start`];!a||!i||Pn(e,r+qe(a),r+qe(i),{op:`browser.${s}`,name:t.name,attributes:{[Le]:"auto.ui.browser.metrics"}})}function gM(e){return e==="secureConnection"?"connectEnd":e==="fetch"?"domainLookupStart":`${e}End`}function _M(e,t,n){const r=n+qe(t.requestStart),s=n+qe(t.responseEnd),o=n+qe(t.responseStart);t.responseEnd&&(Pn(e,r,s,{op:"browser.request",name:t.name,attributes:{[Le]:"auto.ui.browser.metrics"}}),Pn(e,o,s,{op:"browser.response",name:t.name,attributes:{[Le]:"auto.ui.browser.metrics"}}))}function yM(e,t,n,r,s,o){if(t.initiatorType==="xmlhttprequest"||t.initiatorType==="fetch")return;const i=Nr(n),a={[Le]:"auto.resource.browser.metrics"};iu(a,t,"transferSize","http.response_transfer_size"),iu(a,t,"encodedBodySize","http.response_content_length"),iu(a,t,"decodedBodySize","http.decoded_response_content_length");const c=t.deliveryType;c!=null&&(a["http.response_delivery_type"]=c);const l=t.renderBlockingStatus;l&&(a["resource.render_blocking_status"]=l),i.protocol&&(a["url.scheme"]=i.protocol.split(":").pop()),i.host&&(a["server.address"]=i.host),a["url.same_origin"]=n.includes(se.location.origin);const f=o+r,u=f+s;Pn(e,f,u,{name:n.replace(se.location.origin,""),op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",attributes:a})}function bM(e){const t=se.navigator;if(!t)return;const n=t.connection;n&&(n.effectiveType&&e.setAttribute("effectiveConnectionType",n.effectiveType),n.type&&e.setAttribute("connectionType",n.type),ou(n.rtt)&&(it["connection.rtt"]={value:n.rtt,unit:"millisecond"})),ou(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`),ou(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}function SM(e){Et&&(Et.element&&e.setAttribute("lcp.element",xn(Et.element)),Et.id&&e.setAttribute("lcp.id",Et.id),Et.url&&e.setAttribute("lcp.url",Et.url.trim().slice(0,200)),Et.loadTime!=null&&e.setAttribute("lcp.loadTime",Et.loadTime),Et.renderTime!=null&&e.setAttribute("lcp.renderTime",Et.renderTime),e.setAttribute("lcp.size",Et.size)),Eo&&Eo.sources&&Eo.sources.forEach((t,n)=>e.setAttribute(`cls.source.${n+1}`,xn(t.node)))}function iu(e,t,n,r){const s=t[n];s!=null&&s<sM&&(e[r]=s)}function EM(e){const t=ti(!1);if(!t)return;const{responseStart:n,requestStart:r}=t;r<=n&&(e["ttfb.requestTime"]={value:n-r,unit:"millisecond"})}const vM=1e3;let xh,El,vl;function Zb(e){const t="dom";pr(t,e),hr(t,wM)}function wM(){if(!se.document)return;const e=Bt.bind(null,"dom"),t=Rh(e,!0);se.document.addEventListener("click",t,!1),se.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{const s=se[n],o=s&&s.prototype;!o||!o.hasOwnProperty||!o.hasOwnProperty("addEventListener")||(_t(o,"addEventListener",function(i){return function(a,c,l){if(a==="click"||a=="keypress")try{const f=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},u=f[a]=f[a]||{refCount:0};if(!u.handler){const d=Rh(e);u.handler=d,i.call(this,a,d,l)}u.refCount++}catch{}return i.call(this,a,c,l)}}),_t(o,"removeEventListener",function(i){return function(a,c,l){if(a==="click"||a=="keypress")try{const f=this.__sentry_instrumentation_handlers__||{},u=f[a];u&&(u.refCount--,u.refCount<=0&&(i.call(this,a,u.handler,l),u.handler=void 0,delete f[a]),Object.keys(f).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return i.call(this,a,c,l)}}))})}function TM(e){if(e.type!==El)return!1;try{if(!e.target||e.target._sentryId!==vl)return!1}catch{}return!0}function CM(e,t){return e!=="keypress"?!1:!t||!t.tagName?!0:!(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable)}function Rh(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=kM(n);if(CM(n.type,r))return;kt(n,"_sentryCaptured",!0),r&&!r._sentryId&&kt(r,"_sentryId",bt());
44const s=n.type==="keypress"?"input":n.type;TM(n)||(e({event:n,name:s,global:t}),El=n.type,vl=r?r._sentryId:void 0),clearTimeout(xh),xh=se.setTimeout(()=>{vl=void 0,El=void 0},vM)}}function kM(e){try{return e.target}catch{return null}}let Ii;function yc(e){const t="history";pr(t,e),hr(t,IM)}function IM(){if(!cA())return;const e=se.onpopstate;se.onpopstate=function(...n){const r=se.location.href,s=Ii;if(Ii=r,Bt("history",{from:s,to:r}),e)try{return e.apply(this,n)}catch{}};function t(n){return function(...r){const s=r.length>2?r[2]:void 0;if(s){const o=Ii,i=String(s);Ii=i,Bt("history",{from:o,to:i})}return n.apply(this,r)}}_t(se.history,"pushState",t),_t(se.history,"replaceState",t)}const Gi={};function zf(e){const t=Gi[e];if(t)return t;let n=se[e];if(hl(n))return Gi[e]=n.bind(se);const r=se.document;if(r&&typeof r.createElement=="function")try{const s=r.createElement("iframe");s.hidden=!0,r.head.appendChild(s);const o=s.contentWindow;o&&o[e]&&(n=o[e]),r.head.removeChild(s)}catch(s){jf&&N.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,s)}return n&&(Gi[e]=n.bind(se))}function Ah(e){Gi[e]=void 0}function Os(...e){return zf("setTimeout")(...e)}const Jn="__sentry_xhr_v3__";function qf(e){const t="xhr";pr(t,e),hr(t,xM)}function xM(){if(!se.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(t,n,r){const s=new Error,o=Ne()*1e3,i=wn(r[0])?r[0].toUpperCase():void 0,a=RM(r[1]);if(!i||!a)return t.apply(n,r);n[Jn]={method:i,url:a,request_headers:{}},i==="POST"&&a.match(/sentry_key/)&&(n.__sentry_own_request__=!0);const c=()=>{const l=n[Jn];if(l&&n.readyState===4){try{l.status_code=n.status}catch{}const f={endTimestamp:Ne()*1e3,startTimestamp:o,xhr:n,virtualError:s};Bt("xhr",f)}};return"onreadystatechange"in n&&typeof n.onreadystatechange=="function"?n.onreadystatechange=new Proxy(n.onreadystatechange,{apply(l,f,u){return c(),l.apply(f,u)}}):n.addEventListener("readystatechange",c),n.setRequestHeader=new Proxy(n.setRequestHeader,{apply(l,f,u){const[d,p]=u,h=f[Jn];return h&&wn(d)&&wn(p)&&(h.request_headers[d.toLowerCase()]=p),l.apply(f,u)}}),t.apply(n,r)}}),e.send=new Proxy(e.send,{apply(t,n,r){const s=n[Jn];if(!s)return t.apply(n,r);r[0]!==void 0&&(s.body=r[0]);const o={startTimestamp:Ne()*1e3,xhr:n};return Bt("xhr",o),t.apply(n,r)}})}function RM(e){if(wn(e))return e;try{return e.toString()}catch{}}const au=[],Ki=new Map;function AM(){if(Vf()&&at){const t=MM();return()=>{t()}}return()=>{}}const Mh={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 MM(){return Yb(({metric:e})=>{if(e.value==null)return;const t=e.entries.find(h=>h.duration===e.value&&Mh[h.name]);if(!t)return;const{interactionId:n}=t,r=Mh[t.name],s=qe(at+t.startTime),o=qe(e.value),i=$e(),a=i?Ve(i):void 0,l=(n!=null?Ki.get(n):void 0)||a,f=l?pe(l).description:de().getScopeData().transactionName,u=xn(t.target),d=ze({[Le]:"auto.http.browser.inp",[ar]:`ui.interaction.${r}`,[Tf]:t.duration}),p=Qb({name:u,transaction:f,attributes:d,startTime:s});p&&(p.addEvent("inp",{[fc]:"millisecond",[dc]:e.value}),p.end(s+o))})}function OM(e){const t=({entries:n})=>{const r=$e(),s=r&&Ve(r);n.forEach(o=>{if(!eM(o)||!s)return;const i=o.interactionId;if(i!=null&&!Ki.has(i)){if(au.length>10){const a=au.shift();Ki.delete(a)}au.push(i),Ki.set(i,s)}})};Ms("event",t),Ms("first-input",t)}function Gf(e,t=zf("fetch")){let n=0,r=0;function s(o){const i=o.body.length;n+=i,r++;const a={body:o.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};if(!t)return Ah("fetch"),Ia("No fetch implementation available");try{return t(e.url,a).then(c=>(n-=i,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 Ah("fetch"),n-=i,r--,Ia(c)}}return fb(e,s)}
vendor: 7,628 bytes, line 44
44const PM=10,NM=20,LM=30,DM=40,$M=50;function Ps(e,t,n,r){const s={filename:e,function:t==="<anonymous>"?an:t,in_app:!0};return n!==void 0&&(s.lineno=n),r!==void 0&&(s.colno=r),s}const FM=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,HM=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,UM=/\((\S*)(?::(\d+))(?::(\d+))\)/,BM=e=>{const t=FM.exec(e);if(t){const[,r,s,o]=t;return Ps(r,an,+s,+o)}const n=HM.exec(e);if(n){if(n[2]&&n[2].indexOf("eval")===0){const i=UM.exec(n[2]);i&&(n[2]=i[1],n[3]=i[2],n[4]=i[3])}const[s,o]=sS(n[1]||an,n[2]);return Ps(o,s,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}},eS=[LM,BM],jM=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,WM=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,VM=e=>{const t=jM.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const o=WM.exec(t[3]);o&&(t[1]=t[1]||"eval",t[3]=o[1],t[4]=o[2],t[5]="")}let r=t[3],s=t[1]||an;return[s,r]=sS(s,r),Ps(r,s,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},tS=[$M,VM],zM=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,qM=e=>{const t=zM.exec(e);return t?Ps(t[2],t[1]||an,+t[3],t[4]?+t[4]:void 0):void 0},GM=[DM,qM],KM=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,YM=e=>{const t=KM.exec(e);return t?Ps(t[2],t[3]||an,+t[1]):void 0},XM=[PM,YM],JM=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,QM=e=>{const t=JM.exec(e);return t?Ps(t[5],t[3]||t[4]||an,+t[1],+t[2]):void 0},ZM=[NM,QM],nS=[eS,tS],rS=cy(...nS),sS=(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]:an,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},xi=1024,eO="Breadcrumbs",tO=(e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:eO,setup(n){t.console&&Eb(sO(n)),t.dom&&Zb(rO(n,t.dom)),t.xhr&&qf(oO(n)),t.fetch&&Hf(iO(n)),t.history&&yc(aO(n)),t.sentry&&n.on("beforeSendEvent",nO(n))}}},oS=tO;function nO(e){return function(n){Z()===e&&Jt({category:`sentry.${n.type==="transaction"?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:qn(n)},{event:n})}}function rO(e,t){return function(r){if(Z()!==e)return;let s,o,i=typeof t=="object"?t.serializeAttribute:void 0,a=typeof t=="object"&&typeof t.maxStringLength=="number"?t.maxStringLength:void 0;a&&a>xi&&(_e&&N.warn(`\`dom.maxStringLength\` cannot exceed ${xi}, but a value of ${a} was configured. Sentry will use ${xi} instead.`),a=xi),typeof i=="string"&&(i=[i]);try{const l=r.event,f=cO(l)?l.target:l;s=xn(f,{keyAttrs:i,maxStringLength:a}),o=hy(f)}catch{s="<unknown>"}if(s.length===0)return;const c={category:`ui.${r.name}`,message:s};o&&(c.data={"ui.component_name":o}),Jt(c,{event:r.event,name:r.name,global:r.global})}}function sO(e){return function(n){if(Z()!==e)return;const r={category:"console",data:{arguments:n.args,logger:"console"},level:Df(n.level),message:ka(n.args," ")};if(n.level==="assert")if(n.args[0]===!1)r.message=`Assertion failed: ${ka(n.args.slice(1)," ")||"console.assert"}`,r.data.arguments=n.args.slice(1);else return;Jt(r,{input:n.args,level:n.level})}}function oO(e){return function(n){if(Z()!==e)return;const{startTimestamp:r,endTimestamp:s}=n,o=n.xhr[Jn];if(!r||!s||!o)return;const{method:i,url:a,status_code:c,body:l}=o,f={method:i,url:a,status_code:c},u={xhr:n.xhr,input:l,startTimestamp:r,endTimestamp:s},d=Ab(c);Jt({category:"xhr",data:f,type:"http",level:d},u)}}function iO(e){return function(n){if(Z()!==e)return;const{startTimestamp:r,endTimestamp:s}=n;if(s&&!(n.fetchData.url.match(/sentry_key/)&&n.fetchData.method==="POST"))if(n.error){const o=n.fetchData,i={data:n.error,input:n.args,startTimestamp:r,endTimestamp:s};Jt({category:"fetch",data:o,level:"error",type:"http"},i)}else{const o=n.response,i={...n.fetchData,status_code:o&&o.status},a={input:n.args,response:o,startTimestamp:r,endTimestamp:s},c=Ab(i.status_code);Jt({category:"fetch",data:i,type:"http",level:c},a)}}}function aO(e){return function(n){if(Z()!==e)return;let r=n.from,s=n.to;const o=Nr(J.location.href);let i=r?Nr(r):void 0;const a=Nr(s);(!i||!i.path)&&(i=o),o.protocol===a.protocol&&o.host===a.host&&(s=a.relative),o.protocol===i.protocol&&o.host===i.host&&(r=i.relative),Jt({category:"navigation",data:{from:r,to:s}})}}function cO(e){return!!e&&!!e.target}const uO=["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"],lO="BrowserApiErrors",fO=(e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:lO,setupOnce(){t.setTimeout&&_t(J,"setTimeout",Oh),t.setInterval&&_t(J,"setInterval",Oh),t.requestAnimationFrame&&_t(J,"requestAnimationFrame",dO),t.XMLHttpRequest&&"XMLHttpRequest"in J&&_t(XMLHttpRequest.prototype,"send",pO);const n=t.eventTarget;n&&(Array.isArray(n)?n:uO).forEach(hO)}}},iS=fO;function Oh(e){return function(...t){const n=t[0];return t[0]=As(n,{mechanism:{data:{function:kn(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function dO(e){return function(t){return e.apply(this,[As(t,{mechanism:{data:{function:"requestAnimationFrame",handler:kn(e)},handled:!1,type:"instrument"}})])}}function pO(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(s=>{s in n&&typeof n[s]=="function"&&_t(n,s,function(o){const i={mechanism:{data:{function:s,handler:kn(o)},handled:!1,type:"instrument"}},a=Ef(o);return a&&(i.mechanism.data.handler=kn(a)),As(o,i)})}),e.apply(this,t)}}function hO(e){const n=J[e],r=n&&n.prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(_t(r,"addEventListener",function(s){return function(o,i,a){try{mO(i)&&(i.handleEvent=As(i.handleEvent,{mechanism:{data:{function:"handleEvent",handler:kn(i),target:e},handled:!1,type:"instrument"}}))}catch{}return s.apply(this,[o,As(i,{mechanism:{data:{function:"addEventListener",handler:kn(i),target:e},handled:!1,type:"instrument"}}),a])}}),_t(r,"removeEventListener",function(s){return function(o,i,a){try{const c=i.__sentry_wrapped__;c&&s.call(this,o,c,a)}catch{}return s.call(this,o,i,a)}}))}function mO(e){return typeof e.handleEvent=="function"}const aS=()=>({name:"BrowserSession",setupOnce(){if(typeof J.document>"u"){_e&&N.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}Pa({ignoreDuration:!0}),ll(),yc(({from:e,to:t})=>{e!==void 0&&e!==t&&(Pa({ignoreDuration:!0}),ll())})}}),gO="GlobalHandlers",_O=(e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:gO,setupOnce(){Error.stackTraceLimit=50},setup(n){t.onerror&&(yO(n),Ph("onerror")),t.onunhandledrejection&&(bO(n),Ph("onunhandledrejection"))}}},cS=_O;function yO(e){uy(t=>{const{stackParser:n,attachStacktrace:r}=uS();if(Z()!==e||Nb())return;const{msg:s,url:o,line:i,column:a,error:c}=t,l=vO(Bf(n,c||s,void 0,r,!1),o,i,a);l.level="error",qs(l,{originalException:c,mechanism:{handled:!1,type:"onerror"}})})}function bO(e){ly(t=>{const{stackParser:n,attachStacktrace:r}=uS();if(Z()!==e||Nb())return;
44const s=SO(t),o=bf(s)?EO(s):Bf(n,s,void 0,r,!0);o.level="error",qs(o,{originalException:s,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function SO(e){if(bf(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 EO(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function vO(e,t,n,r){const s=e.exception=e.exception||{},o=s.values=s.values||[],i=o[0]=o[0]||{},a=i.stacktrace=i.stacktrace||{},c=a.frames=a.frames||[],l=r,f=n,u=wn(t)&&t.length>0?t:Sf();return c.length===0&&c.push({colno:l,filename:u,function:an,in_app:!0,lineno:f}),e}function Ph(e){_e&&N.log(`Global Handler attached: ${e}`)}function uS(){const e=Z();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const lS=()=>({name:"HttpContext",preprocessEvent(e){if(!J.navigator&&!J.location&&!J.document)return;const t=e.request&&e.request.url||J.location&&J.location.href,{referrer:n}=J.document||{},{userAgent:r}=J.navigator||{},s={...e.request&&e.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},o={...e.request,...t&&{url:t},headers:s};e.request=o}}),wO="cause",TO=5,CO="LinkedErrors",kO=(e={})=>{const t=e.limit||TO,n=e.key||wO;return{name:CO,preprocessEvent(r,s,o){const i=o.getOptions();Ax(mc,i.stackParser,i.maxValueLength,n,t,r,s)}}},fS=kO;function Kf(e){const t=[_b(),gb(),iS(),oS(),cS(),fS(),vb(),lS()];return e.autoSessionTracking!==!1&&t.push(aS()),t}function IO(e={}){const t={defaultIntegrations:Kf(e),release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:J.SENTRY_RELEASE&&J.SENTRY_RELEASE.id?J.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0};return e.defaultIntegrations==null&&delete e.defaultIntegrations,{...t,...e}}function xO(){const e=typeof J.window<"u"&&J;if(!e)return!1;const t=e.chrome?"chrome":"browser",n=e[t],r=n&&n.runtime&&n.runtime.id,s=J.location&&J.location.href||"",o=["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"],i=!!r&&J===J.top&&o.some(c=>s.startsWith(`${c}//`)),a=typeof e.nw<"u";return!!r&&!i&&!a}function RO(e={}){const t=IO(e);if(!t.skipBrowserExtensionCheck&&xO()){Lt(()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")});return}_e&&(Mb()||N.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill."));const n={...t,stackParser:KC(t.stackParser||rS),integrations:KI(t),transport:t.transport||Gf};return ex(Hb,n)}function AO(e={}){if(!J.document){_e&&N.error("Global document not defined in showReportDialog call");return}const t=de(),n=t.getClient(),r=n&&n.getDsn();if(!r){_e&&N.error("DSN not configured for showReportDialog call");return}if(t&&(e.user={...t.getUser(),...e.user}),!e.eventId){const a=Zy();a&&(e.eventId=a)}const s=J.document.createElement("script");s.async=!0,s.crossOrigin="anonymous",s.src=qI(r,e),e.onLoad&&(s.onload=e.onLoad);const{onClose:o}=e;if(o){const a=c=>{if(c.data==="__sentry_reportdialog_closed__")try{o()}finally{J.removeEventListener("message",a)}};J.addEventListener("message",a)}const i=J.document.head||J.document.body;i?i.appendChild(s):_e&&N.error("Not injecting report dialog. No injection point found in HTML")}function MO(){}function OO(e){e()}function PO(e){const t=Z();t&&t.captureUserFeedback(e)}const NO={replayIntegration:"replay",replayCanvasIntegration:"replay-canvas",feedbackIntegration:"feedback",feedbackModalIntegration:"feedback-modal",feedbackScreenshotIntegration:"feedback-screenshot",captureConsoleIntegration:"captureconsole",contextLinesIntegration:"contextlines",linkedErrorsIntegration:"linkederrors",debugIntegration:"debug",dedupeIntegration:"dedupe",extraErrorDataIntegration:"extraerrordata",httpClientIntegration:"httpclient",reportingObserverIntegration:"reportingobserver",rewriteFramesIntegration:"rewriteframes",sessionTimingIntegration:"sessiontiming",browserProfilingIntegration:"browserprofiling",moduleMetadataIntegration:"modulemetadata"},Nh=J;async function dS(e,t){const n=NO[e],r=Nh.Sentry=Nh.Sentry||{};if(!n)throw new Error(`Cannot lazy load integration: ${e}`);const s=r[e];if(typeof s=="function"&&!("_isShim"in s))return s;const o=LO(n),i=J.document.createElement("script");i.src=o,i.crossOrigin="anonymous",i.referrerPolicy="origin",t&&i.setAttribute("nonce",t);const a=new Promise((u,d)=>{i.addEventListener("load",()=>u()),i.addEventListener("error",d)}),c=J.document.currentScript,l=J.document.body||J.document.head||c&&c.parentElement;if(l)l.appendChild(i);else throw new Error(`Could not find parent element to insert lazy-loaded ${e} script`);try{await a}catch{throw new Error(`Error when loading integration: ${e}`)}const f=r[e];if(typeof f!="function")throw new Error(`Could not load integration: ${e}`);return f}function LO(e){const t=Z(),n=t&&t.getOptions(),r=n&&n.cdnBaseUrl||"https://browser.sentry-cdn.com";return new URL(`/${vn}/${e}.min.js`,r).toString()}const DO=re,$O="ReportingObserver",Lh=new WeakMap,FO=(e={})=>{const t=e.types||["crash","deprecation","intervention"];function n(r){if(Lh.has(Z()))for(const s of r)jt(o=>{o.setExtra("url",s.url);const i=`ReportingObserver [${s.type}]`;let a="No details available";if(s.body){const c={};for(const l in s.body)c[l]=s.body[l];if(o.setExtra("body",c),s.type==="crash"){const l=s.body;a=[l.crashId||"",l.reason||""].join(" ").trim()||a}else a=s.body.message||a}Oa(`${i}: ${a}`)})}return{name:$O,setupOnce(){if(!ZR())return;new DO.ReportingObserver(n,{buffered:!0,types:t}).observe()},setup(r){Lh.set(r,!0)}}},HO=FO,UO="HttpClient",BO=(e={})=>{const t={failedRequestStatusCodes:[[500,599]],failedRequestTargets:[/.*/],...e};return{name:UO,setup(n){XO(n,t),JO(n,t)}}},jO=BO;
44function WO(e,t,n,r,s){if(hS(e,n.status,n.url)){const o=QO(t,r);let i,a,c,l;gS()&&([i,c]=Dh("Cookie",o),[a,l]=Dh("Set-Cookie",n));const f=mS({url:o.url,method:o.method,status:n.status,requestHeaders:i,responseHeaders:a,requestCookies:c,responseCookies:l,error:s});qs(f)}}function Dh(e,t){const n=qO(t.headers);let r;try{const s=n[e]||n[e.toLowerCase()]||void 0;s&&(r=pS(s))}catch{}return[n,r]}function VO(e,t,n,r,s){if(hS(e,t.status,t.responseURL)){let o,i,a;if(gS()){try{const l=t.getResponseHeader("Set-Cookie")||t.getResponseHeader("set-cookie")||void 0;l&&(i=pS(l))}catch{}try{a=GO(t)}catch{}o=r}const c=mS({url:t.responseURL,method:n,status:t.status,requestHeaders:o,responseHeaders:a,responseCookies:i,error:s});qs(c)}}function zO(e){if(e){const t=e["Content-Length"]||e["content-length"];if(t)return parseInt(t,10)}}function pS(e){return e.split("; ").reduce((t,n)=>{const[r,s]=n.split("=");return r&&s&&(t[r]=s),t},{})}function qO(e){const t={};return e.forEach((n,r)=>{t[r]=n}),t}function GO(e){const t=e.getAllResponseHeaders();return t?t.split(`\r
45`).reduce((n,r)=>{const[s,o]=r.split(": ");return s&&o&&(n[s]=o),n},{}):{}}function KO(e,t){return e.some(n=>typeof n=="string"?t.includes(n):n.test(t))}function YO(e,t){return e.some(n=>typeof n=="number"?n===t:t>=n[0]&&t<=n[1])}function XO(e,t){Ob()&&Hf(n=>{if(Z()!==e)return;const{response:r,args:s,error:o,virtualError:i}=n,[a,c]=s;r&&WO(t,a,r,c,o||i)},!1)}function JO(e,t){"XMLHttpRequest"in re&&qf(n=>{if(Z()!==e)return;const{error:r,virtualError:s}=n,o=n.xhr,i=o[Jn];if(!i)return;const{method:a,request_headers:c}=i;try{VO(t,o,a,c,r||s)}catch(l){_e&&N.warn("Error while extracting response event form XHR response",l)}})}function hS(e,t,n){return YO(e.failedRequestStatusCodes,t)&&KO(e.failedRequestTargets,n)&&!pb(n,Z())}function mS(e){const t=Z(),n=t&&e.error&&e.error instanceof Error?e.error.stack:void 0,r=n&&t?t.getOptions().stackParser(n,0,1):void 0,s=`HTTP Client Error with status code: ${e.status}`,o={message:s,exception:{values:[{type:"Error",value:s,stacktrace:r?{frames:r}:void 0}]},request:{url:e.url,method:e.method,headers:e.requestHeaders,cookies:e.requestCookies},contexts:{response:{status_code:e.status,headers:e.responseHeaders,cookies:e.responseCookies,body_size:zO(e.responseHeaders)}}};return or(o,{type:"http.client",handled:!1}),o}function QO(e,t){return!t&&e instanceof Request||e instanceof Request&&e.bodyUsed?e:new Request(e,t)}function gS(){const e=Z();return e?!!e.getOptions().sendDefaultPii:!1}const cu=re,ZO=7,eP="ContextLines",tP=(e={})=>{const t=e.frameContextLines!=null?e.frameContextLines:ZO;return{name:eP,processEvent(n){return rP(n,t)}}},nP=tP;function rP(e,t){const n=cu.document,r=cu.location&&Lx(cu.location.href);if(!n||!r)return e;const s=e.exception&&e.exception.values;if(!s||!s.length)return e;const o=n.documentElement.innerHTML;if(!o)return e;const i=["<!DOCTYPE html>","<html>",...o.split(`
46`),"</html>"];return s.forEach(a=>{const c=a.stacktrace;
46c&&c.frames&&(c.frames=c.frames.map(l=>sP(l,i,r,t)))}),e}function sP(e,t,n,r){return e.filename!==n||!e.lineno||!t.length||uk(t,e,r),e}const Oe=re,Yf="sentryReplaySession",oP="replay_event",Xf="Unable to send Replay",iP=3e5,aP=9e5,cP=5e3,uP=5500,lP=6e4,fP=5e3,dP=3,$h=15e4,Ri=5e3,pP=3e3,hP=300,Jf=2e7,mP=4999,gP=15e3,Fh=36e5;function wl(e,t){return e??t()}function Do(e){let t,n=e[0],r=1;for(;r<e.length;){const s=e[r],o=e[r+1];if(r+=2,(s==="optionalAccess"||s==="optionalCall")&&n==null)return;s==="access"||s==="optionalAccess"?(t=n,n=o(n)):(s==="call"||s==="optionalCall")&&(n=o((...i)=>n.call(t,...i)),t=void 0)}return n}var Qe;(function(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"})(Qe||(Qe={}));function _P(e){return e.nodeType===e.ELEMENT_NODE}function vo(e){const t=Do([e,"optionalAccess",n=>n.host]);return Do([t,"optionalAccess",n=>n.shadowRoot])===e}function wo(e){return Object.prototype.toString.call(e)==="[object ShadowRoot]"}function yP(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 bP(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 Fa(e){try{const t=e.rules||e.cssRules;return t?yP(Array.from(t,_S).join("")):null}catch{return null}}function SP(e){let t="";for(let n=0;n<e.style.length;n++){const r=e.style,s=r[n],o=r.getPropertyPriority(s);t+=`${s}:${r.getPropertyValue(s)}${o?" !important":""};`}return`${e.selectorText} { ${t} }`}function _S(e){let t;if(vP(e))try{t=Fa(e.styleSheet)||bP(e)}catch{}else if(wP(e)){let n=e.cssText;const r=e.selectorText.includes(":"),s=typeof e.style.all=="string"&&e.style.all;if(s&&(n=SP(e)),r&&(n=EP(n)),r||s)return n}return t||e.cssText}function EP(e){const t=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(t,"$1\\$2")}function vP(e){return"styleSheet"in e}function wP(e){return"selectorText"in e}class yS{constructor(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}getId(t){if(!t)return-1;const n=Do([this,"access",r=>r.getMeta,"call",r=>r(t),"optionalAccess",r=>r.id]);return wl(n,()=>-1)}getNode(t){return this.idNodeMap.get(t)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(t){return this.nodeMetaMap.get(t)||null}removeNodeFromMap(t){const n=this.getId(t);this.idNodeMap.delete(n),t.childNodes&&t.childNodes.forEach(r=>this.removeNodeFromMap(r))}has(t){return this.idNodeMap.has(t)}hasNode(t){return this.nodeMetaMap.has(t)}add(t,n){const r=n.id;this.idNodeMap.set(r,t),this.nodeMetaMap.set(t,n)}replace(t,n){const r=this.getNode(t);if(r){const s=this.nodeMetaMap.get(r);s&&this.nodeMetaMap.set(n,s)}this.idNodeMap.set(t,n)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function TP(){return new yS}function bc({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 $o({isMasked:e,element:t,value:n,maskInputFn:r}){let s=n||"";return e?(r&&(s=r(s,t)),"*".repeat(s.length)):s}function Ns(e){return e.toLowerCase()}function Tl(e){return e.toUpperCase()}const Hh="__rrweb_original__";function CP(e){const t=e.getContext("2d");if(!t)return!0;const n=50;for(let r=0;r<e.width;r+=n)for(let s=0;s<e.height;s+=n){const o=t.getImageData,i=Hh in o?o[Hh]:o;if(new Uint32Array(i.call(t,r,s,Math.min(n,e.width-r),Math.min(n,e.height-s)).data.buffer).some(c=>c!==0))return!1}return!0}function Qf(e){const t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?Ns(t):null}function Ha(e,t,n){return t==="INPUT"&&(n==="radio"||n==="checkbox")?e.getAttribute("value")||"":e.value}function bS(e,t){let n;try{n=new URL(e,wl(t,()=>window.location.href))}catch{return null}const r=/\.([0-9a-z]+)(?:$)/i,s=n.pathname.match(r);return wl(Do([s,"optionalAccess",o=>
46o[1]]),()=>null)}const Uh={};function SS(e){const t=Uh[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 o=s.contentWindow;o&&o[e]&&(r=o[e]),n.head.removeChild(s)}catch{}return Uh[e]=r.bind(window)}function Cl(...e){return SS("setTimeout")(...e)}function ES(...e){return SS("clearTimeout")(...e)}function vS(e){try{return e.contentDocument}catch{}}let kP=1;const IP=new RegExp("[^a-z0-9-_:]"),Fo=-2;function Zf(){return kP++}function xP(e){if(e instanceof HTMLFormElement)return"form";const t=Ns(e.tagName);return IP.test(t)?"div":t}function RP(e){let t="";return e.indexOf("//")>-1?t=e.split("/").slice(0,3).join("/"):t=e.split("/")[0],t=t.split("?")[0],t}let Zr,Bh;const AP=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,MP=/^(?:[a-z+]+:)?\/\//i,OP=/^www\..*/i,PP=/^(data:)([^,]*),(.*)/i;function Ua(e,t){return(e||"").replace(AP,(n,r,s,o,i,a)=>{const c=s||i||a,l=r||o||"";if(!c)return n;if(MP.test(c)||OP.test(c))return`url(${l}${c}${l})`;if(PP.test(c))return`url(${l}${c}${l})`;if(c[0]==="/")return`url(${l}${RP(t)+c}${l})`;const f=t.split("/"),u=c.split("/");f.pop();for(const d of u)d!=="."&&(d===".."?f.pop():f.push(d));return`url(${l}${f.join("/")}${l})`})}const NP=/^[^ \t\n\r\u000c]+/,LP=/^[, \t\n\r\u000c]+/;function DP(e,t){if(t.trim()==="")return t;let n=0;function r(o){let i;const a=o.exec(t.substring(n));return a?(i=a[0],n+=i.length,i):""}const s=[];for(;r(LP),!(n>=t.length);){let o=r(NP);if(o.slice(-1)===",")o=as(e,o.substring(0,o.length-1)),s.push(o);else{let i="";o=as(e,o);let a=!1;for(;;){const c=t.charAt(n);if(c===""){s.push((o+i).trim());break}else if(a)c===")"&&(a=!1);else if(c===","){n+=1,s.push((o+i).trim());break}else c==="("&&(a=!0);i+=c,n+=1}}}return s.join(", ")}const jh=new WeakMap;function as(e,t){return!t||t.trim()===""?t:Sc(e,t)}function $P(e){return!!(e.tagName==="svg"||e.ownerSVGElement)}function Sc(e,t){let n=jh.get(e);if(n||(n=e.createElement("a"),jh.set(e,n)),!t)t="";else if(t.startsWith("blob:")||t.startsWith("data:"))return t;return n.setAttribute("href",t),n.href}function wS(e,t,n,r,s,o){return r&&(n==="src"||n==="href"&&!(t==="use"&&r[0]==="#")||n==="xlink:href"&&r[0]!=="#"||n==="background"&&(t==="table"||t==="td"||t==="th")?as(e,r):n==="srcset"?DP(e,r):n==="style"?Ua(r,Sc(e)):t==="object"&&n==="data"?as(e,r):typeof o=="function"?o(n,r,s):r)}function TS(e,t,n){return(e==="video"||e==="audio")&&t==="autoplay"}function FP(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 o=e.classList[s];if(t.test(o))return!0}if(n)return e.matches(n)}catch{}return!1}function HP(e,t){for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}return!1}function kr(e,t,n=1/0,r=0){return!e||e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:kr(e.parentNode,t,n,r+1)}function cs(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(HP(r,e))return!0}return!!(t&&r.matches(t))}catch{return!1}}}function Ls(e,t,n,r,s,o){try{const i=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(i===null)return!1;if(i.tagName==="INPUT"){const l=i.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(o){if(c=kr(i,cs(r,s)),c<0)return!0;a=kr(i,cs(t,n),c>=0?c:1/0)}else{if(a=kr(i,cs(t,n)),a<0)return!1;c=kr(i,cs(r,s),a>=0?a:1/0)}return a>=0?c>=0?a<=c:!0:c>=0?!1:!!o}catch{}return!!o}function UP(e,t,n){const r=e.contentWindow;if(!r)return;let s=!1,o;try{o=r.document.readyState}catch{return}if(o!=="complete"){const a=Cl(()=>{s||(t(),s=!0)},n);e.addEventListener("load",()=>{ES(a),s=!0,t()});return}const i="about:blank";if(r.location.href!==i||e.src===i||e.src==="")return Cl(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}function BP(e,t,n){let r=!1,s;try{s=e.sheet}catch{return}if(s)return;const o=Cl(()=>{r||(t(),r=!0)},n);e.addEventListener("load",()=>{ES(o),r=!0,t()})}function jP(e,t){const{doc:n,mirror:r,blockClass:s,blockSelector:o,unblockSelector:i,maskAllText:a,maskAttributeFn:c,maskTextClass:l,unmaskTextClass:f,maskTextSelector:u,unmaskTextSelector:d,inlineStylesheet:p,maskInputOptions:h={},maskTextFn:m,maskInputFn:w,dataURLOptions:v={},inlineImages:S,recordCanvas:g,keepIframeSrcFn:b,newlyAddedElement:T=!1}=t,k=WP(n,r);switch(e.nodeType){case e.DOCUMENT_NODE:return e.compatMode!=="CSS1Compat"?{type:Qe.Document,childNodes:[],compatMode:e.compatMode}:{type:Qe.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:Qe.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:k};case e.ELEMENT_NODE:return zP(e,{doc:n,blockClass:s,blockSelector:o,unblockSelector:i,inlineStylesheet:p,maskAttributeFn:c,maskInputOptions:h,maskInputFn:w,dataURLOptions:v,inlineImages:S,recordCanvas:g,keepIframeSrcFn:b,newlyAddedElement:T,rootId:k,maskAllText:a,maskTextClass:l,unmaskTextClass:f,maskTextSelector:u,unmaskTextSelector:d});case e.TEXT_NODE:return VP(e,{doc:n,maskAllText:a,maskTextClass:l,unmaskTextClass:f,maskTextSelector:u,unmaskTextSelector:d,maskTextFn:m,maskInputOptions:h,maskInputFn:w,rootId:k});case e.CDATA_SECTION_NODE:return{type:Qe.CDATA,textContent:"",rootId:k};case e.COMMENT_NODE:return{type:Qe.Comment,textContent:e.textContent||"",rootId:k};default:return!1}}function WP(e,t){if(!t.hasNode(e))return;const n=t.getId(e);return n===1?void 0:n}function VP(e,t){const{maskAllText:n,maskTextClass:r,unmaskTextClass:s,maskTextSelector:o,unmaskTextSelector:i,maskTextFn:a,maskInputOptions:c,maskInputFn:l,rootId:f}=t,u=e.parentNode&&e.parentNode.tagName;let d=e.textContent;const p=u==="STYLE"?!0:void 0,h=u==="SCRIPT"?!0:void 0,m=u==="TEXTAREA"?!0:void 0;if(p&&d){try{e.nextSibling||e.previousSibling||Do([e,"access",v=>v.parentNode,"access",v=>v.sheet,"optionalAccess",v=>v.cssRules])&&(d=Fa(e.parentNode.sheet))}catch(v){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${v}`,e)}d=Ua(d,Sc(t.doc))}h&&(d="SCRIPT_PLACEHOLDER");const w=Ls(e,r,o,s,i,n);if(!p&&!h&&!m&&d&&w&&(d=a?a(d,e.parentElement):d.replace(/[\S]/g,"*")),m&&d&&(c.textarea||w)&&(d=l?l(d,e.parentNode):d.replace(/[\S]/g,"*")),u==="OPTION"&&d){const v=bc({type:null,tagName:u,maskInputOptions:c});d=$o({isMasked:Ls(e,r,o,s,i,v),element:e,value:d,maskInputFn:l})}return{type:Qe.Text,textContent:d||"",isStyle:p,rootId:f}}function zP(e,t){const{doc:n,blockClass:r,blockSelector:s,unblockSelector:o,inlineStylesheet:i,maskInputOptions:a={},maskAttributeFn:c,maskInputFn:l,dataURLOptions:f={},inlineImages:u,recordCanvas:d,keepIframeSrcFn:p,newlyAddedElement:h=!1,rootId:m,maskAllText:w,maskTextClass:v,unmaskTextClass:S,maskTextSelector:g,unmaskTextSelector:b}=t,T=FP(e,r,s,o),k=xP(e);let x={};const P=e.attributes.length;for(let E=0;E<P;E++){const A=e.attributes[E];A.name&&!TS(k,A.name,A.value)&&(x[A.name]=wS(n,k,Ns(A.name),A.value,e,c))}if(k==="link"&&i){const E=Array.from(n.styleSheets).find(I=>I.href===e.href);let A=null;E&&(A=Fa(E)),A&&(x.rel=null,x.href=null,x.crossorigin=null,x._cssText=Ua(A,E.href))}if(k==="style"&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){const E=Fa(e.sheet);
46E&&(x._cssText=Ua(E,Sc(n)))}if(k==="input"||k==="textarea"||k==="select"||k==="option"){const E=e,A=Qf(E),I=Ha(E,Tl(k),A),H=E.checked;if(A!=="submit"&&A!=="button"&&I){const q=Ls(E,v,g,S,b,bc({type:A,tagName:Tl(k),maskInputOptions:a}));x.value=$o({isMasked:q,element:E,value:I,maskInputFn:l})}H&&(x.checked=H)}if(k==="option"&&(e.selected&&!a.select?x.selected=!0:delete x.selected),k==="canvas"&&d){if(e.__context==="2d")CP(e)||(x.rr_dataURL=e.toDataURL(f.type,f.quality));else if(!("__context"in e)){const E=e.toDataURL(f.type,f.quality),A=n.createElement("canvas");A.width=e.width,A.height=e.height;const I=A.toDataURL(f.type,f.quality);E!==I&&(x.rr_dataURL=E)}}if(k==="img"&&u){Zr||(Zr=n.createElement("canvas"),Bh=Zr.getContext("2d"));const E=e,A=E.currentSrc||E.getAttribute("src")||"<unknown-src>",I=E.crossOrigin,H=()=>{E.removeEventListener("load",H);try{Zr.width=E.naturalWidth,Zr.height=E.naturalHeight,Bh.drawImage(E,0,0),x.rr_dataURL=Zr.toDataURL(f.type,f.quality)}catch(q){if(E.crossOrigin!=="anonymous"){E.crossOrigin="anonymous",E.complete&&E.naturalWidth!==0?H():E.addEventListener("load",H);return}else console.warn(`Cannot inline img src=${A}! Error: ${q}`)}E.crossOrigin==="anonymous"&&(I?x.crossOrigin=I:E.removeAttribute("crossorigin"))};E.complete&&E.naturalWidth!==0?H():E.addEventListener("load",H)}if((k==="audio"||k==="video")&&(x.rr_mediaState=e.paused?"paused":"played",x.rr_mediaCurrentTime=e.currentTime),h||(e.scrollLeft&&(x.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(x.rr_scrollTop=e.scrollTop)),T){const{width:E,height:A}=e.getBoundingClientRect();x={class:x.class,rr_width:`${E}px`,rr_height:`${A}px`}}k==="iframe"&&!p(x.src)&&(!T&&!vS(e)&&(x.rr_src=x.src),delete x.src);let C;try{customElements.get(k)&&(C=!0)}catch{}return{type:Qe.Element,tagName:k,attributes:x,childNodes:[],isSVG:$P(e)||void 0,needBlock:T,rootId:m,isCustom:C}}function Ae(e){return e==null?"":e.toLowerCase()}function qP(e,t){if(t.comment&&e.type===Qe.Comment)return!0;if(e.type===Qe.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"&&bS(e.attributes.href)==="js"))return!0;if(t.headFavicon&&(e.tagName==="link"&&e.attributes.rel==="shortcut icon"||e.tagName==="meta"&&(Ae(e.attributes.name).match(/^msapplication-tile(image|color)$/)||Ae(e.attributes.name)==="application-name"||Ae(e.attributes.rel)==="icon"||Ae(e.attributes.rel)==="apple-touch-icon"||Ae(e.attributes.rel)==="shortcut icon")))return!0;if(e.tagName==="meta"){if(t.headMetaDescKeywords&&Ae(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(Ae(e.attributes.property).match(/^(og|twitter|fb):/)||Ae(e.attributes.name).match(/^(og|twitter):/)||Ae(e.attributes.name)==="pinterest"))return!0;if(t.headMetaRobots&&(Ae(e.attributes.name)==="robots"||Ae(e.attributes.name)==="googlebot"||Ae(e.attributes.name)==="bingbot"))return!0;if(t.headMetaHttpEquiv&&e.attributes["http-equiv"]!==void 0)return!0;if(t.headMetaAuthorship&&(Ae(e.attributes.name)==="author"||Ae(e.attributes.name)==="generator"||Ae(e.attributes.name)==="framework"||Ae(e.attributes.name)==="publisher"||Ae(e.attributes.name)==="progid"||Ae(e.attributes.property).match(/^article:/)||Ae(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&(Ae(e.attributes.name)==="google-site-verification"||Ae(e.attributes.name)==="yandex-verification"||Ae(e.attributes.name)==="csrf-token"||Ae(e.attributes.name)==="p:domain_verify"||Ae(e.attributes.name)==="verify-v1"||Ae(e.attributes.name)==="verification"||Ae(e.attributes.name)==="shopify-checkout-api-token"))return!0}}return!1}function us(e,t){const{doc:n,mirror:r,blockClass:s,blockSelector:o,unblockSelector:i,maskAllText:a,maskTextClass:c,unmaskTextClass:l,maskTextSelector:f,unmaskTextSelector:u,skipChild:d=!1,inlineStylesheet:p=!0,maskInputOptions:h={},maskAttributeFn:m,maskTextFn:w,maskInputFn:v,slimDOMOptions:S,dataURLOptions:g={},inlineImages:b=!1,recordCanvas:T=!1,onSerialize:k,onIframeLoad:x,iframeLoadTimeout:P=5e3,onStylesheetLoad:C,stylesheetLoadTimeout:E=5e3,keepIframeSrcFn:A=()=>!1,newlyAddedElement:I=!1}=t;let{preserveWhiteSpace:H=!0}=t;const q=jP(e,{doc:n,mirror:r,blockClass:s,blockSelector:o,maskAllText:a,unblockSelector:i,maskTextClass:c,unmaskTextClass:l,maskTextSelector:f,unmaskTextSelector:u,inlineStylesheet:p,maskInputOptions:h,maskAttributeFn:m,maskTextFn:w,maskInputFn:v,dataURLOptions:g,inlineImages:b,recordCanvas:T,keepIframeSrcFn:A,newlyAddedElement:I});if(!q)return console.warn(e,"not serialized"),null;let Y;r.hasNode(e)?Y=r.getId(e):qP(q,S)||!H&&q.type===Qe.Text&&!q.isStyle&&!q.textContent.replace(/^\s+|\s+$/gm,"").length?Y=Fo:Y=Zf();const D=Object.assign(q,{id:Y});if(r.add(e,D),Y===Fo)return null;
46k&&k(e);let X=!d;if(D.type===Qe.Element){X=X&&!D.needBlock,delete D.needBlock;const U=e.shadowRoot;U&&wo(U)&&(D.isShadowHost=!0)}if((D.type===Qe.Document||D.type===Qe.Element)&&X){S.headWhitespace&&D.type===Qe.Element&&D.tagName==="head"&&(H=!1);const U={doc:n,mirror:r,blockClass:s,blockSelector:o,maskAllText:a,unblockSelector:i,maskTextClass:c,unmaskTextClass:l,maskTextSelector:f,unmaskTextSelector:u,skipChild:d,inlineStylesheet:p,maskInputOptions:h,maskAttributeFn:m,maskTextFn:w,maskInputFn:v,slimDOMOptions:S,dataURLOptions:g,inlineImages:b,recordCanvas:T,preserveWhiteSpace:H,onSerialize:k,onIframeLoad:x,iframeLoadTimeout:P,onStylesheetLoad:C,stylesheetLoadTimeout:E,keepIframeSrcFn:A};for(const ce of Array.from(e.childNodes)){const Pe=us(ce,U);Pe&&D.childNodes.push(Pe)}if(_P(e)&&e.shadowRoot)for(const ce of Array.from(e.shadowRoot.childNodes)){const Pe=us(ce,U);Pe&&(wo(e.shadowRoot)&&(Pe.isShadow=!0),D.childNodes.push(Pe))}}return e.parentNode&&vo(e.parentNode)&&wo(e.parentNode)&&(D.isShadow=!0),D.type===Qe.Element&&D.tagName==="iframe"&&UP(e,()=>{const U=vS(e);if(U&&x){const ce=us(U,{doc:U,mirror:r,blockClass:s,blockSelector:o,unblockSelector:i,maskAllText:a,maskTextClass:c,unmaskTextClass:l,maskTextSelector:f,unmaskTextSelector:u,skipChild:!1,inlineStylesheet:p,maskInputOptions:h,maskAttributeFn:m,maskTextFn:w,maskInputFn:v,slimDOMOptions:S,dataURLOptions:g,inlineImages:b,recordCanvas:T,preserveWhiteSpace:H,onSerialize:k,onIframeLoad:x,iframeLoadTimeout:P,onStylesheetLoad:C,stylesheetLoadTimeout:E,keepIframeSrcFn:A});ce&&x(e,ce)}},P),D.type===Qe.Element&&D.tagName==="link"&&typeof D.attributes.rel=="string"&&(D.attributes.rel==="stylesheet"||D.attributes.rel==="preload"&&typeof D.attributes.href=="string"&&bS(D.attributes.href)==="css")&&BP(e,()=>{if(C){const U=us(e,{doc:n,mirror:r,blockClass:s,blockSelector:o,unblockSelector:i,maskAllText:a,maskTextClass:c,unmaskTextClass:l,maskTextSelector:f,unmaskTextSelector:u,skipChild:!1,inlineStylesheet:p,maskInputOptions:h,maskAttributeFn:m,maskTextFn:w,maskInputFn:v,slimDOMOptions:S,dataURLOptions:g,inlineImages:b,recordCanvas:T,preserveWhiteSpace:H,onSerialize:k,onIframeLoad:x,iframeLoadTimeout:P,onStylesheetLoad:C,stylesheetLoadTimeout:E,keepIframeSrcFn:A});U&&C(e,U)}},E),D}function GP(e,t){const{mirror:n=new yS,blockClass:r="rr-block",blockSelector:s=null,unblockSelector:o=null,maskAllText:i=!1,maskTextClass:a="rr-mask",unmaskTextClass:c=null,maskTextSelector:l=null,unmaskTextSelector:f=null,inlineStylesheet:u=!0,inlineImages:d=!1,recordCanvas:p=!1,maskAllInputs:h=!1,maskAttributeFn:m,maskTextFn:w,maskInputFn:v,slimDOM:S=!1,dataURLOptions:g,preserveWhiteSpace:b,onSerialize:T,onIframeLoad:k,iframeLoadTimeout:x,onStylesheetLoad:P,stylesheetLoadTimeout:C,keepIframeSrcFn:E=()=>!1}=t;return us(e,{doc:e,mirror:n,blockClass:r,blockSelector:s,unblockSelector:o,maskAllText:i,maskTextClass:a,unmaskTextClass:c,maskTextSelector:l,unmaskTextSelector:f,skipChild:!1,inlineStylesheet:u,maskInputOptions:h===!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}:h===!1?{}:h,maskAttributeFn:m,maskTextFn:w,maskInputFn:v,slimDOMOptions:S===!0||S==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:S==="all",headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:S===!1?{}:S,dataURLOptions:g,inlineImages:d,recordCanvas:p,preserveWhiteSpace:b,onSerialize:T,onIframeLoad:k,iframeLoadTimeout:x,onStylesheetLoad:P,stylesheetLoadTimeout:C,keepIframeSrcFn:E,newlyAddedElement:!1})}function Gn(e){let t,n=e[0],r=1;for(;r<e.length;){const s=e[r],o=e[r+1];if(r+=2,(s==="optionalAccess"||s==="optionalCall")&&n==null)return;s==="access"||s==="optionalAccess"?(t=n,n=o(n)):(s==="call"||s==="optionalCall")&&(n=o((...i)=>n.call(t,...i)),t=void 0)}return n}function gt(e,t,n=document){const r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}const rs=`Please stop import mirror directly. Instead of that,\r
47now you can use replayer.getMirror() to access the mirror instance of a replayer,\r
48or you can use record.mirror to access the mirror instance during recording.`;let Wh={map:{},getId(){return console.error(rs),-1},getNode(){return console.error(rs),null},removeNodeFromMap(){console.error(rs)},has(){return console.error(rs),!1},reset(){console.error(rs)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(Wh=new Proxy(Wh,{get(e,t,n){return t==="map"&&console.error(rs),Reflect.get(e,t,n)}}));function Ho(e,t,n={}){let r=null,s=0;return function(...o){const i=Date.now();!s&&n.leading===!1&&(s=i);const a=t-(i-s),c=this;a<=0||a>t?(r&&(eN(r),r=null),s=i,e.apply(c,o)):!r&&n.trailing!==!1&&(r=Ec(()=>{s=n.leading===!1?0:Date.now(),r=null,e.apply(c,o)},a))}}function CS(e,t,n,r,s=window){const o=s.Object.getOwnPropertyDescriptor(e,t);return s.Object.defineProperty(e,t,r?n:{set(i){Ec(()=>{n.set.call(this,i)},0),o&&o.set&&o.set.call(this,i)}}),()=>CS(e,t,o||{},!0)}function ed(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 Ba=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(Ba=()=>new Date().getTime());function kS(e){const t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:e.pageXOffset!==void 0?e.pageXOffset:Gn([t,"optionalAccess",n=>n.documentElement,"access",n=>n.scrollLeft])||Gn([t,"optionalAccess",n=>n.body,"optionalAccess",n=>n.parentElement,"optionalAccess",n=>n.scrollLeft])||Gn([t,"optionalAccess",n=>n.body,"optionalAccess",n=>n.scrollLeft])||0,top:t.scrollingElement?t.scrollingElement.scrollTop:e.pageYOffset!==void 0?e.pageYOffset:Gn([t,"optionalAccess",n=>n.documentElement,"access",n=>n.scrollTop])||Gn([t,"optionalAccess",n=>n.body,"optionalAccess",n=>n.parentElement,"optionalAccess",n=>n.scrollTop])||Gn([t,"optionalAccess",n=>n.body,"optionalAccess",n=>n.scrollTop])||0}}function IS(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function xS(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function RS(e){return e?e.nodeType===e.ELEMENT_NODE?e:e.parentElement:null}function Mt(e,t,n,r,s){if(!e)return!1;const o=RS(e);if(!o)return!1;const i=cs(t,n);if(!s){const l=r&&o.matches(r);return i(o)&&!l}const a=kr(o,i);let c=-1;return a<0?!1:(r&&(c=kr(o,cs(null,r))),a>-1&&c<0?!0:a<c)}function KP(e,t){return t.getId(e)!==-1}function uu(e,t){return t.getId(e)===Fo}function AS(e,t){if(vo(e))return!1;const n=t.getId(e);return t.has(n)?e.parentNode&&e.parentNode.nodeType===e.DOCUMENT_NODE?!1:e.parentNode?AS(e.parentNode,t):!0:!0}function kl(e){return!!e.changedTouches}function YP(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...t)=>{let n=t[0];if(!(0 in t))throw new TypeError("1 argument is required");do if(this===n)return!0;while(n=n&&n.parentNode);return!1})}function MS(e,t){return!!(e.nodeName==="IFRAME"&&t.getMeta(e))}function OS(e,t){return!!(e.nodeName==="LINK"&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&e.getAttribute("rel")==="stylesheet"&&t.getMeta(e))}function Il(e){return!!Gn([e,"optionalAccess",t=>t.shadowRoot])}class XP{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(t){return uA(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 PS(e){let t=null;return Gn([e,"access",n=>n.getRootNode,"optionalCall",n=>n(),"optionalAccess",n=>n.nodeType])===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function JP(e){let t=e,n;for(;n=PS(t);)t=n;return t}function QP(e){const t=e.ownerDocument;if(!t)return!1;const n=JP(e);return t.contains(n)}function NS(e){const t=e.ownerDocument;return t?t.contains(e)||QP(e):!1}const Vh={};function td(e){const t=Vh[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 o=s.contentWindow;o&&o[e]&&(r=o[e]),n.head.removeChild(s)}catch{}return Vh[e]=r.bind(window)}function ZP(...e){return td("requestAnimationFrame")(...e)}
48function Ec(...e){return td("setTimeout")(...e)}function eN(...e){return td("clearTimeout")(...e)}var me=(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))(me||{}),fe=(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))(fe||{}),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||{}),dn=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(dn||{}),zh;(function(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"})(zh||(zh={}));var qh;(function(e){e[e.PLACEHOLDER=0]="PLACEHOLDER",e[e.ELEMENT_NODE=1]="ELEMENT_NODE",e[e.ATTRIBUTE_NODE=2]="ATTRIBUTE_NODE",e[e.TEXT_NODE=3]="TEXT_NODE",e[e.CDATA_SECTION_NODE=4]="CDATA_SECTION_NODE",e[e.ENTITY_REFERENCE_NODE=5]="ENTITY_REFERENCE_NODE",e[e.ENTITY_NODE=6]="ENTITY_NODE",e[e.PROCESSING_INSTRUCTION_NODE=7]="PROCESSING_INSTRUCTION_NODE",e[e.COMMENT_NODE=8]="COMMENT_NODE",e[e.DOCUMENT_NODE=9]="DOCUMENT_NODE",e[e.DOCUMENT_TYPE_NODE=10]="DOCUMENT_TYPE_NODE",e[e.DOCUMENT_FRAGMENT_NODE=11]="DOCUMENT_FRAGMENT_NODE"})(qh||(qh={}));function nd(e){try{return e.contentDocument}catch{}}function tN(e){try{return e.contentWindow}catch{}}function nN(e){let t,n=e[0],r=1;for(;r<e.length;){const s=e[r],o=e[r+1];if(r+=2,(s==="optionalAccess"||s==="optionalCall")&&n==null)return;s==="access"||s==="optionalAccess"?(t=n,n=o(n)):(s==="call"||s==="optionalCall")&&(n=o((...i)=>n.call(t,...i)),t=void 0)}return n}function Gh(e){return"__ln"in e}class rN{constructor(){this.length=0,this.head=null,this.tail=null}get(t){if(t>=this.length)throw new Error("Position outside of list range");let n=this.head;for(let r=0;r<t;r++)n=nN([n,"optionalAccess",s=>s.next])||null;return n}addNode(t){const n={value:t,previous:null,next:null};if(t.__ln=n,t.previousSibling&&Gh(t.previousSibling)){const r=t.previousSibling.__ln.next;n.next=r,n.previous=t.previousSibling.__ln,t.previousSibling.__ln.next=n,r&&(r.previous=n)}else if(t.nextSibling&&Gh(t.nextSibling)&&t.nextSibling.__ln.previous){const r=t.nextSibling.__ln.previous;n.previous=r,n.next=t.nextSibling.__ln,t.nextSibling.__ln.previous=n,r&&(r.next=n)}else this.head&&(this.head.previous=n),n.next=this.head,this.head=n;n.next===null&&(this.tail=n),this.length++}removeNode(t){const n=t.__ln;this.head&&(n.previous?(n.previous.next=n.next,n.next?n.next.previous=n.previous:this.tail=n.previous):(this.head=n.next,this.head?this.head.previous=null:this.tail=null),t.__ln&&delete t.__ln,this.length--)}}const Kh=(e,t)=>`${e}@${t}`;class sN{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 rN,s=c=>{let l=c,f=Fo;for(;f===Fo;)l=l&&l.nextSibling,f=l&&this.mirror.getId(l);return f},o=c=>{if(!c.parentNode||!NS(c))return;const l=vo(c.parentNode)?this.mirror.getId(PS(c)):this.mirror.getId(c.parentNode),f=s(c);if(l===-1||f===-1)return r.addNode(c);const u=us(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.inl
48ineStylesheet,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=>{MS(d,this.mirror)&&!Mt(d,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&this.iframeManager.addIframe(d),OS(d,this.mirror)&&this.stylesheetManager.trackLinkElement(d),Il(c)&&this.shadowDomManager.addShadowRoot(c.shadowRoot,this.doc)},onIframeLoad:(d,p)=>{Mt(d,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(this.iframeManager.attachIframe(d,p),d.contentWindow&&this.canvasManager.addWindow(d.contentWindow),this.shadowDomManager.observeAttachShadow(d))},onStylesheetLoad:(d,p)=>{this.stylesheetManager.attachLinkElement(d,p)}});u&&(t.push({parentId:l,nextId:f,node:u}),n.add(u.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const c of this.movedSet)Yh(this.removes,c,this.mirror)&&!this.movedSet.has(c.parentNode)||o(c);for(const c of this.addedSet)!Xh(this.droppedSet,c)&&!Yh(this.removes,c,this.mirror)||Xh(this.movedSet,c)?o(c):this.droppedSet.add(c);let i=null;for(;r.length;){let c=null;if(i){const l=this.mirror.getId(i.value.parentNode),f=s(i.value);l!==-1&&f!==-1&&(c=i)}if(!c){let l=r.tail;for(;l;){const f=l;if(l=l.previous,f){const u=this.mirror.getId(f.value.parentNode);if(s(f.value)===-1)continue;if(u!==-1){c=f;break}else{const p=f.value;if(p.parentNode&&p.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const h=p.parentNode.host;if(this.mirror.getId(h)!==-1){c=f;break}}}}}}if(!c){for(;r.head;)r.removeNode(r.head.value);break}i=c.previous,r.removeNode(c.value),o(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 f=JSON.stringify(c.styleDiff),u=JSON.stringify(c._unchangedStyles);f.length<l.style.length&&(f+u).split("var(").length===l.style.split("var(").length&&(l.style=c.styleDiff)}return{id:this.mirror.getId(c.node),attributes:l}}).filter(c=>!n.has(c.id)).filter(c=>this.mirror.has(c.id)),removes:this.removes,adds:t};!a.texts.length&&!a.attributes.length&&!a.removes.length&&!a.adds.length||(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(a))},this.processMutation=t=>{if(!uu(t.target,this.mirror))switch(t.type){case"characterData":{const n=t.target.textContent;!Mt(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&n!==t.oldValue&&this.texts.push({value:Ls(t.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&n?this.maskTextFn?this.maskTextFn(n,RS(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 i=Qf(n),a=n.tagName;s=Ha(n,a,i);const c=bc({maskInputOptions:this.maskInputOptions,tagName:a,type:i}),l=Ls(t.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,c);s=$o({isMasked:l,element:n,value:s,maskInputFn:this.maskInputFn})}if(Mt(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||s===t.oldValue)return;let o=this.attributeMap.get(t.target);if(n.tagName==="IFRAME"&&r==="src"&&!this.keepIframeSrcFn(s))if(!nd(n))r="rr_src";else return;if(o||(o={node:t.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(o),this.attributeMap.set(t.target,o)),r==="type"&&n.tagName==="INPUT"&&(t.oldValue||"").toLowerCase()==="password"&&n.setAttribute("data-rr-is-password","true"),!TS(n.tagName,r)&&(o.attributes[r]=wS(this.doc,Ns(n.tagName),Ns(r),s,n,this.maskAttributeFn),r==="style")){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch{this.unattachedDoc=this.doc}const i=this.unattachedDoc.createElement("span");t.oldValue&&i.setAttribute("style",t.oldValue);for(const a of Array.from(n.style)){const c=n.style.getPropertyValue(a),l=n.style.getPropertyPriority(a);c!==i.style.getPropertyValue(a)||l!==i.style.getPropertyPriority(a)?l===""?o.styleDiff[a]=c:o.styleDiff[a]=[c,l]:o._unchangedStyles[a]=[c,l]}for(const a of Array.from(i.style))n.style.getPropertyValue(a)===""&&(o.styleDiff[a]=!1)}break}
48case"childList":{if(Mt(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=vo(t.target)?this.mirror.getId(t.target.host):this.mirror.getId(t.target);Mt(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||uu(n,this.mirror)||!KP(n,this.mirror)||(this.addedSet.has(n)?(xl(this.addedSet,n),this.droppedSet.add(n)):this.addedSet.has(t.target)&&r===-1||AS(t.target,this.mirror)||(this.movedSet.has(n)&&this.movedMap[Kh(r,s)]?xl(this.movedSet,n):this.removes.push({parentId:s,id:r,isShadow:vo(t.target)&&wo(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(uu(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[Kh(this.mirror.getId(t),r)]=!0)}else this.addedSet.add(t),this.droppedSet.delete(t);Mt(t,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(t.childNodes.forEach(r=>this.genAdds(r)),Il(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 xl(e,t){e.delete(t),t.childNodes.forEach(n=>xl(e,n))}function Yh(e,t,n){return e.length===0?!1:oN(e,t,n)}function oN(e,t,n){let r=t.parentNode;for(;r;){const s=n.getId(r);if(e.some(o=>o.id===s))return!0;r=r.parentNode}return!1}function Xh(e,t){return e.size===0?!1:LS(e,t)}function LS(e,t){const{parentNode:n}=t;return n?e.has(n)?!0:LS(e,n):!1}let To;function iN(e){To=e}function aN(){To=void 0}const be=e=>To?(...n)=>{try{return e(...n)}catch(r){if(To&&To(r)===!0)return()=>{};throw r}}:e;function zt(e){let t,n=e[0],r=1;for(;r<e.length;){const s=e[r],o=e[r+1];if(r+=2,(s==="optionalAccess"||s==="optionalCall")&&n==null)return;s==="access"||s==="optionalAccess"?(t=n,n=o(n)):(s==="call"||s==="optionalCall")&&(n=o((...i)=>n.call(t,...i)),t=void 0)}return n}const ls=[];function oi(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 DS(e,t){const n=new sN;ls.push(n),n.init(e);let r=window.MutationObserver||window.__rrMutationObserver;const s=zt([window,"optionalAccess",i=>i.Zone,"optionalAccess",i=>i.__symbol__,"optionalCall",i=>i("MutationObserver")]);s&&window[s]&&(r=window[s]);const o=new r(be(i=>{e.onMutation&&e.onMutation(i)===!1||n.processMutations.bind(n)(i)}));return o.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),o}function cN({mousemoveCb:e,sampling:t,doc:n,mirror:r}){if(t.mousemove===!1)return()=>{};const s=typeof t.mousemove=="number"?t.mousemove:50,o=typeof t.mousemoveCallback=="number"?t.mousemoveCallback:500;let i=[],a;const c=Ho(be(u=>{const d=Date.now()-a;e(i.map(p=>(p.timeOffset-=d,p)),u),i=[],a=null}),o),l=be(Ho(be(u=>{const d=oi(u),{clientX:p,clientY:h}=kl(u)?u.changedTouches[0]:u;a||(a=Ba()),i.push({x:p,y:h,id:r.getId(d),timeOffset:Ba()-a}),c(typeof DragEvent<"u"&&u instanceof DragEvent?fe.Drag:u instanceof MouseEvent?fe.MouseMove:fe.TouchMove)}),s,{trailing:!1})),f=[gt("mousemove",l,n),gt("touchmove",l,n),gt("drag",l,n)];return be(()=>{f.forEach(u=>u())})}function uN({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:o,sampling:i}){if(i.mouseInteraction===!1)return()=>{};const a=i.mouseInteraction===!0||i.mouseInteraction===void 0?{}:i.mouseInteraction,c=[];let l=null;const f=u=>d=>{const p=oi(d);if(Mt(p,r,s,o,!0))return;let h=null,m=u;if("pointerType"in d){switch(d.pointerType){case"mouse":h=dn.Mouse;break;case"touch":h=dn.Touch;break;case"pen":h=dn.Pen;break}h===dn.Touch?dt[u]===dt.MouseDown?m="TouchStart":dt[u]===dt.MouseUp&&(m="TouchEnd"):dn.Pen}else kl(d)&&(h=dn.Touch);h!==null?(l=h,(m.startsWith("Touch")&&h===dn.Touch||m.startsWith("Mouse")&&h===dn.Mouse)&&(h=null)):dt[u]===dt.Click&&(h=l,l=null);const w=kl(d)?d.changedTouches[0]:d;if(!w)return;const v=n.getId(p),{clientX:S,clientY:g}=w;
48be(e)({type:dt[m],id:v,x:S,y:g,...h!==null&&{pointerType:h}})};return Object.keys(dt).filter(u=>Number.isNaN(Number(u))&&!u.endsWith("_Departed")&&a[u]!==!1).forEach(u=>{let d=Ns(u);const p=f(u);if(window.PointerEvent)switch(dt[u]){case dt.MouseDown:case dt.MouseUp:d=d.replace("mouse","pointer");break;case dt.TouchStart:case dt.TouchEnd:return}c.push(gt(d,p,t))}),be(()=>{c.forEach(u=>u())})}function $S({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:o,sampling:i}){const a=be(Ho(be(c=>{const l=oi(c);if(!l||Mt(l,r,s,o,!0))return;const f=n.getId(l);if(l===t&&t.defaultView){const u=kS(t.defaultView);e({id:f,x:u.left,y:u.top})}else e({id:f,x:l.scrollLeft,y:l.scrollTop})}),i.scroll||100));return gt("scroll",a,t)}function lN({viewportResizeCb:e},{win:t}){let n=-1,r=-1;const s=be(Ho(be(()=>{const o=IS(),i=xS();(n!==o||r!==i)&&(e({width:Number(i),height:Number(o)}),n=o,r=i)}),200));return gt("resize",s,t)}const fN=["INPUT","TEXTAREA","SELECT"],Jh=new WeakMap;function dN({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:o,ignoreClass:i,ignoreSelector:a,maskInputOptions:c,maskInputFn:l,sampling:f,userTriggeredOnInput:u,maskTextClass:d,unmaskTextClass:p,maskTextSelector:h,unmaskTextSelector:m}){function w(x){let P=oi(x);const C=x.isTrusted,E=P&&Tl(P.tagName);if(E==="OPTION"&&(P=P.parentElement),!P||!E||fN.indexOf(E)<0||Mt(P,r,s,o,!0))return;const A=P;if(A.classList.contains(i)||a&&A.matches(a))return;const I=Qf(P);let H=Ha(A,E,I),q=!1;const Y=bc({maskInputOptions:c,tagName:E,type:I}),D=Ls(P,d,h,p,m,Y);(I==="radio"||I==="checkbox")&&(q=P.checked),H=$o({isMasked:D,element:P,value:H,maskInputFn:l}),v(P,u?{text:H,isChecked:q,userTriggered:C}:{text:H,isChecked:q});const X=P.name;I==="radio"&&X&&q&&t.querySelectorAll(`input[type="radio"][name="${X}"]`).forEach(U=>{if(U!==P){const ce=$o({isMasked:D,element:U,value:Ha(U,E,I),maskInputFn:l});v(U,u?{text:ce,isChecked:!q,userTriggered:!1}:{text:ce,isChecked:!q})}})}function v(x,P){const C=Jh.get(x);if(!C||C.text!==P.text||C.isChecked!==P.isChecked){Jh.set(x,P);const E=n.getId(x);be(e)({...P,id:E})}}const g=(f.input==="last"?["change"]:["input","change"]).map(x=>gt(x,be(w),t)),b=t.defaultView;if(!b)return()=>{g.forEach(x=>x())};const T=b.Object.getOwnPropertyDescriptor(b.HTMLInputElement.prototype,"value"),k=[[b.HTMLInputElement.prototype,"value"],[b.HTMLInputElement.prototype,"checked"],[b.HTMLSelectElement.prototype,"value"],[b.HTMLTextAreaElement.prototype,"value"],[b.HTMLSelectElement.prototype,"selectedIndex"],[b.HTMLOptionElement.prototype,"selected"]];return T&&T.set&&g.push(...k.map(x=>CS(x[0],x[1],{set(){be(w)({target:this,isTrusted:!1})}},!1,b))),be(()=>{g.forEach(x=>x())})}function ja(e){const t=[];function n(r,s){if(Ai("CSSGroupingRule")&&r.parentRule instanceof CSSGroupingRule||Ai("CSSMediaRule")&&r.parentRule instanceof CSSMediaRule||Ai("CSSSupportsRule")&&r.parentRule instanceof CSSSupportsRule||Ai("CSSConditionRule")&&r.parentRule instanceof CSSConditionRule){const i=Array.from(r.parentRule.cssRules).indexOf(r);s.unshift(i)}else if(r.parentStyleSheet){const i=Array.from(r.parentStyleSheet.cssRules).indexOf(r);s.unshift(i)}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 pN({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((f,u,d)=>{const[p,h]=d,{id:m,styleId:w}=Kn(u,t,n.styleMirror);return(m&&m!==-1||w&&w!==-1)&&e({id:m,styleId:w,adds:[{rule:p,index:h}]}),f.apply(u,d)})});const o=r.CSSStyleSheet.prototype.deleteRule;r.CSSStyleSheet.prototype.deleteRule=new Proxy(o,{apply:be((f,u,d)=>{const[p]=d,{id:h,styleId:m}=Kn(u,t,n.styleMirror);return(h&&h!==-1||m&&m!==-1)&&e({id:h,styleId:m,removes:[{index:p}]}),f.apply(u,d)})});let i;r.CSSStyleSheet.prototype.replace&&(i=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(i,{apply:be((f,u,d)=>{const[p]=d,{id:h,styleId:m}=Kn(u,t,n.styleMirror);
48return(h&&h!==-1||m&&m!==-1)&&e({id:h,styleId:m,replace:p}),f.apply(u,d)})}));let a;r.CSSStyleSheet.prototype.replaceSync&&(a=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(a,{apply:be((f,u,d)=>{const[p]=d,{id:h,styleId:m}=Kn(u,t,n.styleMirror);return(h&&h!==-1||m&&m!==-1)&&e({id:h,styleId:m,replaceSync:p}),f.apply(u,d)})}));const c={};Mi("CSSGroupingRule")?c.CSSGroupingRule=r.CSSGroupingRule:(Mi("CSSMediaRule")&&(c.CSSMediaRule=r.CSSMediaRule),Mi("CSSConditionRule")&&(c.CSSConditionRule=r.CSSConditionRule),Mi("CSSSupportsRule")&&(c.CSSSupportsRule=r.CSSSupportsRule));const l={};return Object.entries(c).forEach(([f,u])=>{l[f]={insertRule:u.prototype.insertRule,deleteRule:u.prototype.deleteRule},u.prototype.insertRule=new Proxy(l[f].insertRule,{apply:be((d,p,h)=>{const[m,w]=h,{id:v,styleId:S}=Kn(p.parentStyleSheet,t,n.styleMirror);return(v&&v!==-1||S&&S!==-1)&&e({id:v,styleId:S,adds:[{rule:m,index:[...ja(p),w||0]}]}),d.apply(p,h)})}),u.prototype.deleteRule=new Proxy(l[f].deleteRule,{apply:be((d,p,h)=>{const[m]=h,{id:w,styleId:v}=Kn(p.parentStyleSheet,t,n.styleMirror);return(w&&w!==-1||v&&v!==-1)&&e({id:w,styleId:v,removes:[{index:[...ja(p),m]}]}),d.apply(p,h)})})}),be(()=>{r.CSSStyleSheet.prototype.insertRule=s,r.CSSStyleSheet.prototype.deleteRule=o,i&&(r.CSSStyleSheet.prototype.replace=i),a&&(r.CSSStyleSheet.prototype.replaceSync=a),Object.entries(c).forEach(([f,u])=>{u.prototype.insertRule=l[f].insertRule,u.prototype.deleteRule=l[f].deleteRule})})}function FS({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"?zt([n,"access",i=>i.defaultView,"optionalAccess",i=>i.Document]):zt([n,"access",i=>i.ownerDocument,"optionalAccess",i=>i.defaultView,"optionalAccess",i=>i.ShadowRoot]),o=zt([s,"optionalAccess",i=>i.prototype])?Object.getOwnPropertyDescriptor(zt([s,"optionalAccess",i=>i.prototype]),"adoptedStyleSheets"):void 0;return r===null||r===-1||!s||!o?()=>{}:(Object.defineProperty(n,"adoptedStyleSheets",{configurable:o.configurable,enumerable:o.enumerable,get(){return zt([o,"access",i=>i.get,"optionalAccess",i=>i.call,"call",i=>i(this)])},set(i){const a=zt([o,"access",c=>c.set,"optionalAccess",c=>c.call,"call",c=>c(this,i)]);if(r!==null&&r!==-1)try{t.adoptStyleSheets(i,r)}catch{}return a}}),be(()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:o.configurable,enumerable:o.enumerable,get:o.get,set:o.set})}))}function hN({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:s}){const o=s.CSSStyleDeclaration.prototype.setProperty;s.CSSStyleDeclaration.prototype.setProperty=new Proxy(o,{apply:be((a,c,l)=>{const[f,u,d]=l;if(n.has(f))return o.apply(c,[f,u,d]);const{id:p,styleId:h}=Kn(zt([c,"access",m=>m.parentRule,"optionalAccess",m=>m.parentStyleSheet]),t,r.styleMirror);return(p&&p!==-1||h&&h!==-1)&&e({id:p,styleId:h,set:{property:f,value:u,priority:d},index:ja(c.parentRule)}),a.apply(c,l)})});const i=s.CSSStyleDeclaration.prototype.removeProperty;return s.CSSStyleDeclaration.prototype.removeProperty=new Proxy(i,{apply:be((a,c,l)=>{const[f]=l;if(n.has(f))return i.apply(c,[f]);const{id:u,styleId:d}=Kn(zt([c,"access",p=>p.parentRule,"optionalAccess",p=>p.parentStyleSheet]),t,r.styleMirror);return(u&&u!==-1||d&&d!==-1)&&e({id:u,styleId:d,remove:{property:f},index:ja(c.parentRule)}),a.apply(c,l)})}),be(()=>{s.CSSStyleDeclaration.prototype.setProperty=o,s.CSSStyleDeclaration.prototype.removeProperty=i})}function mN({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:s,sampling:o,doc:i}){const a=be(l=>Ho(be(f=>{const u=oi(f);if(!u||Mt(u,t,n,r,!0))return;const{currentTime:d,volume:p,muted:h,playbackRate:m}=u;e({type:l,id:s.getId(u),currentTime:d,volume:p,muted:h,playbackRate:m})}),o.media||500)),c=[gt("play",a(0),i),gt("pause",a(1),i),gt("seeked",a(2),i),gt("volumechange",a(3),i),gt("ratechange",a(4),i)];return be(()=>{c.forEach(l=>l())})}function gN({fontCb:e,doc:t}){const n=t.defaultView;if(!n)return()=>{};const r=[],s=new WeakMap,o=n.FontFace;n.FontFace=function(c,l,f){const u=new o(c,l,f);return s.set(u,{family:c,buffer:typeof l!="string",descriptors:f,fontSource:typeof l=="string"?l:JSON.stringify(Array.from(new Uint8Array(l)))}),u};const i=ed(t.fonts,"add",function(a){return function(c){return Ec(be(()=>{const l=s.get(c);l&&(e(l),s.delete(c))}),0),a.apply(this,[c])}});return r.push(()=>{n.FontFace=o}),r.push(i),be(()=>{r.forEach(a=>a())})}function _N(e){const{doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:o,selectionCb:i}=e;let a=!0;const c=be(()=>{const l=t.getSelection();if(!l||a&&zt([l,"optionalAccess",d=>d.isCollapsed]))return;a=l.isCollapsed||!1;const f=[],u=l.rangeCount||0;for(let d=0;d<u;d++){const p=l.getRangeAt(d),{startContainer:h,startOffset:m,endContainer:w,endOffset:v}=p;Mt(h,r,s,o,!0)||Mt(w,r,s,o,!0)||f.push({start:n.getId(h),startOffset:m,end:n.getId(w),endOffset:v})}i({ranges:f})});return c(),gt("selectionchange",c)}function yN({doc:e,customElementCb:t}){const n=e.defaultView;return!n||!n.customElements?()=>{}:ed(n.customElements,"define",function(s){return function(o,i,a){try{t({define:{name:o}})}catch{}return s.apply(this,[o,i,a])}})}function bN(e,t={}){const n=e.doc.defaultView;if(!n)return()=>{};let r;e.recordDOM&&(r=DS(e,e.doc));const s=cN(e),o=uN(e),i=$S(e),a=lN(e,{win:n}),c=dN(e),l=mN(e);let f=()=>{},u=()=>{},d=()=>{},p=()=>{};e.recordDOM&&(f=pN(e,{win:n}),u=FS(e,e.doc),d=hN(e,{win:n}),e.collectFonts&&(p=gN(e)));const h=_N(e),m=yN(e),w=[];for(const v of e.plugins)w.push(v.observer(v.callback,n,v.options));return be(()=>
48{ls.forEach(v=>v.reset()),zt([r,"optionalAccess",v=>v.disconnect,"call",v=>v()]),s(),o(),i(),a(),c(),l(),f(),u(),d(),p(),h(),m(),w.forEach(v=>v())})}function Ai(e){return typeof window[e]<"u"}function Mi(e){return!!(typeof window[e]<"u"&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class Rl{constructor(t){this.generateIdFn=t,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(t,n,r,s){const o=r||this.getIdToRemoteIdMap(t),i=s||this.getRemoteIdToIdMap(t);let a=o.get(n);return a||(a=this.generateIdFn(),o.set(n,a),i.set(a,n)),a}getIds(t,n){const r=this.getIdToRemoteIdMap(t),s=this.getRemoteIdToIdMap(t);return n.map(o=>this.getId(t,o,r,s))}getRemoteId(t,n,r){const s=r||this.getRemoteIdToIdMap(t);if(typeof n!="number")return n;const o=s.get(n);return o||-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}}function Qh(e){let t,n=e[0],r=1;for(;r<e.length;){const s=e[r],o=e[r+1];if(r+=2,(s==="optionalAccess"||s==="optionalCall")&&n==null)return;s==="access"||s==="optionalAccess"?(t=n,n=o(n)):(s==="call"||s==="optionalCall")&&(n=o((...i)=>n.call(t,...i)),t=void 0)}return n}class SN{constructor(){this.crossOriginIframeMirror=new Rl(Zf),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class EN{constructor(t){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new Rl(Zf),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=t.mutationCb,this.wrappedEmit=t.wrappedEmit,this.stylesheetManager=t.stylesheetManager,this.recordCrossOriginIframes=t.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new Rl(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}),Qh([this,"access",s=>s.loadListener,"optionalCall",s=>s(t)]);const r=nd(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 o=this.transformCrossOriginEvent(s,n.data.event);o&&this.wrappedEmit(o,n.data.isCheckout)}transformCrossOriginEvent(t,n){switch(n.type){case me.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:me.IncrementalSnapshot,data:{source:fe.Mutation,adds:[{parentId:this.mirror.getId(t),nextId:null,node:n.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case me.Meta:case me.Load:case me.DomContentLoaded:return!1;case me.Plugin:return n;case me.Custom:return this.replaceIds(n.data.payload,t,["id","parentId","previousId","nextId"]),n;case me.IncrementalSnapshot:switch(n.data.source){case fe.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"])}
48),n.data.attributes.forEach(r=>{this.replaceIds(r,t,["id"])}),n.data.texts.forEach(r=>{this.replaceIds(r,t,["id"])}),n;case fe.Drag:case fe.TouchMove:case fe.MouseMove:return n.data.positions.forEach(r=>{this.replaceIds(r,t,["id"])}),n;case fe.ViewportResize:return!1;case fe.MediaInteraction:case fe.MouseInteraction:case fe.Scroll:case fe.CanvasMutation:case fe.Input:return this.replaceIds(n.data,t,["id"]),n;case fe.StyleSheetRule:case fe.StyleDeclaration:return this.replaceIds(n.data,t,["id"]),this.replaceStyleIds(n.data,t,["styleId"]),n;case fe.Font:return n;case fe.Selection:return n.data.ranges.forEach(r=>{this.replaceIds(r,t,["start","end"])}),n;case fe.AdoptedStyleSheet:return this.replaceIds(n.data,t,["id"]),this.replaceStyleIds(n.data,t,["styleIds"]),Qh([n,"access",r=>r.data,"access",r=>r.styles,"optionalAccess",r=>r.forEach,"call",r=>r(s=>{this.replaceStyleIds(s,t,["styleId"])})]),n}}return!1}replace(t,n,r,s){for(const o of s)!Array.isArray(n[o])&&typeof n[o]!="number"||(Array.isArray(n[o])?n[o]=t.getIds(r,n[o]):n[o]=t.getId(r,n[o]));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!==Qe.Document&&!t.rootId&&(t.rootId=n),"childNodes"in t&&t.childNodes.forEach(r=>{this.patchRootIdOnNode(r,n)})}}class vN{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class wN{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(!wo(t)||this.shadowDoms.has(t))return;this.shadowDoms.add(t),this.bypassOptions.canvasManager.addShadowRoot(t);const r=DS({...this.bypassOptions,doc:n,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},t);this.restoreHandlers.push(()=>r.disconnect()),this.restoreHandlers.push($S({...this.bypassOptions,scrollCb:this.scrollCb,doc:t,mirror:this.mirror})),Ec(()=>{t.adoptedStyleSheets&&t.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(t.adoptedStyleSheets,this.mirror.getId(t.host)),this.restoreHandlers.push(FS({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},t))},0)}observeAttachShadow(t){const n=nd(t),r=tN(t);!n||!r||this.patchAttachShadow(r.Element,n)}patchAttachShadow(t,n){const r=this;this.restoreHandlers.push(ed(t.prototype,"attachShadow",function(s){return function(o){const i=s.call(this,o);return this.shadowRoot&&NS(this)&&r.addShadowRoot(this.shadowRoot,n),i}}))}reset(){this.restoreHandlers.forEach(t=>{try{t()}catch{}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet,this.bypassOptions.canvasManager.resetShadowRoots()}}class Zh{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}addWindow(){}addShadowRoot(){}resetShadowRoots(){}}class TN{constructor(t){this.trackedLinkElements=new WeakSet,this.styleMirror=new XP,this.mutationCb=t.mutationCb,this.adoptedStyleSheetCb=t.adoptedStyleSheetCb}attachLinkElement(t,n){"_cssText"in n.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:n.id,attributes:n.attributes}]}),this.trackLinkElement(t)}trackLinkElement(t){this.trackedLinkElements.has(t)||(this.trackedLinkElements.add(t),this.trackStylesheetInLinkElement(t))}adoptStyleSheets(t,n){if(t.length===0)return;const r={id:n,styleIds:[]},s=[];for(const o of t){let i;this.styleMirror.has(o)?i=this.styleMirror.getId(o):(i=this.styleMirror.add(o),s.push({styleId:i,rules:Array.from(o.rules||CSSRule,(a,c)=>({rule:_S(a),index:c}))})),r.styleIds.push(i)}s.length>0&&(r.styles=s),this.adoptedStyleSheetCb(r)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(t){}}class CN{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,ZP(()=>{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(t,(this.nodeMap.get(t)||new Set).add(n))}destroy(){}}let je,Wa;try{if(Array.from([1],e=>e*2)[0]!==2){const e=document.createElement("iframe");document.body.appendChild(e),Array.from=Lr([e,"access",t=>t.contentWindow,"optionalAccess",t=>t.Array,"access",t=>t.from])||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}const Vt=TP();function Tn(e={}){const{emit:t,checkoutEveryNms:n,checkoutEveryNth:r,blockClass:s="rr
48-block",blockSelector:o=null,unblockSelector:i=null,ignoreClass:a="rr-ignore",ignoreSelector:c=null,maskAllText:l=!1,maskTextClass:f="rr-mask",unmaskTextClass:u=null,maskTextSelector:d=null,unmaskTextSelector:p=null,inlineStylesheet:h=!0,maskAllInputs:m,maskInputOptions:w,slimDOMOptions:v,maskAttributeFn:S,maskInputFn:g,maskTextFn:b,maxCanvasSize:T=null,packFn:k,sampling:x={},dataURLOptions:P={},mousemoveWait:C,recordDOM:E=!0,recordCanvas:A=!1,recordCrossOriginIframes:I=!1,recordAfter:H=e.recordAfter==="DOMContentLoaded"?e.recordAfter:"load",userTriggeredOnInput:q=!1,collectFonts:Y=!1,inlineImages:D=!1,plugins:X,keepIframeSrcFn:U=()=>!1,ignoreCSSAttributes:ce=new Set([]),errorHandler:Pe,onMutation:He,getCanvasManager:Ue}=e;iN(Pe);const It=I?window.parent===window:!0;let rt=!1;if(!It)try{window.parent.document&&(rt=!1)}catch{rt=!0}if(It&&!t)throw new Error("emit function is required");if(!It&&!rt)return()=>{};C!==void 0&&x.mousemove===void 0&&(x.mousemove=C),Vt.reset();const ot=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}:w!==void 0?w:{},Be=v===!0||v==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:v==="all",headMetaDescKeywords:v==="all"}:v||{};YP();let L,G=0;const V=F=>{for(const W of X||[])W.eventProcessor&&(F=W.eventProcessor(F));return k&&!rt&&(F=k(F)),F};je=(F,W)=>{const M=F;if(M.timestamp=Ba(),Lr([ls,"access",K=>K[0],"optionalAccess",K=>K.isFrozen,"call",K=>K()])&&M.type!==me.FullSnapshot&&!(M.type===me.IncrementalSnapshot&&M.data.source===fe.Mutation)&&ls.forEach(K=>K.unfreeze()),It)Lr([t,"optionalCall",K=>K(V(M),W)]);else if(rt){const K={type:"rrweb",event:V(M),origin:window.location.origin,isCheckout:W};window.parent.postMessage(K,"*")}if(M.type===me.FullSnapshot)L=M,G=0;else if(M.type===me.IncrementalSnapshot){if(M.data.source===fe.Mutation&&M.data.isAttachIframe)return;G++;const K=r&&G>=r,j=n&&L&&M.timestamp-L.timestamp>n;(K||j)&&z(!0)}};const Q=F=>{je({type:me.IncrementalSnapshot,data:{source:fe.Mutation,...F}})},ne=F=>je({type:me.IncrementalSnapshot,data:{source:fe.Scroll,...F}}),he=F=>je({type:me.IncrementalSnapshot,data:{source:fe.CanvasMutation,...F}}),_=F=>je({type:me.IncrementalSnapshot,data:{source:fe.AdoptedStyleSheet,...F}}),y=new TN({mutationCb:Q,adoptedStyleSheetCb:_}),R=typeof __RRWEB_EXCLUDE_IFRAME__=="boolean"&&__RRWEB_EXCLUDE_IFRAME__?new SN:new EN({mirror:Vt,mutationCb:Q,stylesheetManager:y,recordCrossOriginIframes:I,wrappedEmit:je});for(const F of X||[])F.getMirror&&F.getMirror({nodeMirror:Vt,crossOriginIframeMirror:R.crossOriginIframeMirror,crossOriginIframeStyleMirror:R.crossOriginIframeStyleMirror});const $=new CN,O=IN(Ue,{mirror:Vt,win:window,mutationCb:F=>je({type:me.IncrementalSnapshot,data:{source:fe.CanvasMutation,...F}}),recordCanvas:A,blockClass:s,blockSelector:o,unblockSelector:i,maxCanvasSize:T,sampling:x.canvas,dataURLOptions:P,errorHandler:Pe}),B=typeof __RRWEB_EXCLUDE_SHADOW_DOM__=="boolean"&&__RRWEB_EXCLUDE_SHADOW_DOM__?new vN:new wN({mutationCb:Q,scrollCb:ne,bypassOptions:{onMutation:He,blockClass:s,blockSelector:o,unblockSelector:i,maskAllText:l,maskTextClass:f,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:p,inlineStylesheet:h,maskInputOptions:ot,dataURLOptions:P,maskAttributeFn:S,maskTextFn:b,maskInputFn:g,recordCanvas:A,inlineImages:D,sampling:x,slimDOMOptions:Be,iframeManager:R,stylesheetManager:y,canvasManager:O,keepIframeSrcFn:U,processedNodeManager:$},mirror:Vt}),z=(F=!1)=>
48{if(!E)return;je({type:me.Meta,data:{href:window.location.href,width:xS(),height:IS()}},F),y.reset(),B.init(),ls.forEach(M=>M.lock());const W=GP(document,{mirror:Vt,blockClass:s,blockSelector:o,unblockSelector:i,maskAllText:l,maskTextClass:f,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:p,inlineStylesheet:h,maskAllInputs:ot,maskAttributeFn:S,maskInputFn:g,maskTextFn:b,slimDOM:Be,dataURLOptions:P,recordCanvas:A,inlineImages:D,onSerialize:M=>{MS(M,Vt)&&R.addIframe(M),OS(M,Vt)&&y.trackLinkElement(M),Il(M)&&B.addShadowRoot(M.shadowRoot,document)},onIframeLoad:(M,K)=>{R.attachIframe(M,K),M.contentWindow&&O.addWindow(M.contentWindow),B.observeAttachShadow(M)},onStylesheetLoad:(M,K)=>{y.attachLinkElement(M,K)},keepIframeSrcFn:U});if(!W)return console.warn("Failed to snapshot the document");je({type:me.FullSnapshot,data:{node:W,initialOffset:kS(window)}}),ls.forEach(M=>M.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&y.adoptStyleSheets(document.adoptedStyleSheets,Vt.getId(document))};Wa=z;try{const F=[],W=K=>be(bN)({onMutation:He,mutationCb:Q,mousemoveCb:(j,ee)=>je({type:me.IncrementalSnapshot,data:{source:ee,positions:j}}),mouseInteractionCb:j=>je({type:me.IncrementalSnapshot,data:{source:fe.MouseInteraction,...j}}),scrollCb:ne,viewportResizeCb:j=>je({type:me.IncrementalSnapshot,data:{source:fe.ViewportResize,...j}}),inputCb:j=>je({type:me.IncrementalSnapshot,data:{source:fe.Input,...j}}),mediaInteractionCb:j=>je({type:me.IncrementalSnapshot,data:{source:fe.MediaInteraction,...j}}),styleSheetRuleCb:j=>je({type:me.IncrementalSnapshot,data:{source:fe.StyleSheetRule,...j}}),styleDeclarationCb:j=>je({type:me.IncrementalSnapshot,data:{source:fe.StyleDeclaration,...j}}),canvasMutationCb:he,fontCb:j=>je({type:me.IncrementalSnapshot,data:{source:fe.Font,...j}}),selectionCb:j=>{je({type:me.IncrementalSnapshot,data:{source:fe.Selection,...j}})},customElementCb:j=>{je({type:me.IncrementalSnapshot,data:{source:fe.CustomElement,...j}})},blockClass:s,ignoreClass:a,ignoreSelector:c,maskAllText:l,maskTextClass:f,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:p,maskInputOptions:ot,inlineStylesheet:h,sampling:x,recordDOM:E,recordCanvas:A,inlineImages:D,userTriggeredOnInput:q,collectFonts:Y,doc:K,maskAttributeFn:S,maskInputFn:g,maskTextFn:b,keepIframeSrcFn:U,blockSelector:o,unblockSelector:i,slimDOMOptions:Be,dataURLOptions:P,mirror:Vt,iframeManager:R,stylesheetManager:y,shadowDomManager:B,processedNodeManager:$,canvasManager:O,ignoreCSSAttributes:ce,plugins:Lr([X,"optionalAccess",j=>j.filter,"call",j=>j(ee=>ee.observer),"optionalAccess",j=>j.map,"call",j=>j(ee=>({observer:ee.observer,options:ee.options,callback:ue=>je({type:me.Plugin,data:{plugin:ee.name,payload:ue}})}))])||[]},{});R.addLoadListener(K=>{try{F.push(W(K.contentDocument))}catch(j){console.warn(j)}});const M=()=>{z(),F.push(W(document))};return document.readyState==="interactive"||document.readyState==="complete"?M():(F.push(gt("DOMContentLoaded",()=>{je({type:me.DomContentLoaded,data:{}}),H==="DOMContentLoaded"&&M()})),F.push(gt("load",()=>{je({type:me.Load,data:{}}),H==="load"&&M()},window))),()=>{F.forEach(K=>K()),$.destroy(),Wa=void 0,aN()}}catch(F){console.warn(F)}}function kN(e){if(!Wa)throw new Error("please take full snapshot after start recording");Wa(e)}Tn.mirror=Vt;Tn.takeFullSnapshot=kN;function IN(e,t){try{return e?e(t):new Zh}catch{return console.warn("Unable to initialize CanvasManager"),new Zh}}const xN=3,RN=5;function rd(e){return e>9999999999?e:e*1e3}function lu(e){return e>9999999999?e/1e3:e}function ii(e,t){t.category!=="sentry.transaction"&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>(e.throttledAddEvent({type:me.Custom,timestamp:(t.timestamp||0)*1e3,data:{tag:"breadcrumb",payload:$t(t,10,1e3)}}),t.category==="console")))}const AN="button,a";function HS(e){return e.closest(AN)||e}function US(e){const t=BS(e);return!t||!(t instanceof Element)?t:HS(t)}function BS(e){return MN(e)?e.target:e}function MN(e){return typeof e=="object"&&!!e&&"target"in e}let Yn;function ON(e){return Yn||(Yn=[],PN()),Yn.push(e),()=>{const t=Yn?Yn.indexOf(e):-1;t>-1&&Yn.splice(t,1)}}function PN(){_t(Oe,"open",function(e){return function(...t){if(Yn)try{Yn.forEac
48h(n=>n())}catch{}return e.apply(Oe,t)}})}const NN=new Set([fe.Mutation,fe.StyleSheetRule,fe.StyleDeclaration,fe.AdoptedStyleSheet,fe.CanvasMutation,fe.Selection,fe.MediaInteraction]);function LN(e,t,n){e.handleClick(t,n)}class DN{constructor(t,n,r=ii){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=ON(()=>{this._lastMutation=em()});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(FN(n,this._ignoreSelector)||!HN(t))return;const r={timestamp:lu(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=lu(t)}registerScroll(t=Date.now()){this._lastScroll=lu(t)}registerClick(t){const n=HS(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=em();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,o=!r&&!s,{clickCount:i,clickBreadcrumb:a}=t;if(o){const c=Math.min(t.mutationAfter||this._timeout,this._timeout)*1e3,l=c<this._timeout*1e3?"mutation":"timeout",f={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.slowClickDetected",data:{...a.data,url:Oe.location.href,route:n.getCurrentRoute(),timeAfterClickMs:c,endReason:l,clickCount:i||1}};this._addBreadcrumbEvent(n,f);return}if(i>1){const c={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.multiClick",data:{...a.data,url:Oe.location.href,route:n.getCurrentRoute(),clickCount:i,metric:!0}};this._addBreadcrumbEvent(n,c)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=Os(()=>this._checkClicks(),1e3)}}const $N=["A","BUTTON","INPUT"];function FN(e,t){return!!(!$N.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 HN(e){return!!(e.data&&typeof e.data.nodeId=="number"&&e.timestamp)}function em(){return Date.now()/1e3}function UN(e,t){try{if(!BN(t))return;const{source:n}=t.data;if(NN.has(n)&&e.registerMutation(t.timestamp),n===fe.Scroll&&e.registerScroll(t.timestamp),jN(t)){const{type:r,id:s}=t.data,o=Tn.mirror.getNode(s);o instanceof HTMLElement&&r===dt.Click&&e.registerClick(o)}}catch{}}function BN(e){return e.type===xN}function jN(e){return e.data.source===fe.MouseInteraction}function rn(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var Va;(function(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"})(Va||(Va={}));const WN=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function VN(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(WN.has(n)){let r=n;(n==="data-testid"||n==="data-test-id")&&(r="testId"),t[r]=e[n]}return t}const zN=e=>t=>{if(!e.isEnabled())return;const n=qN(t);if(!n)return;
48const r=t.name==="click",s=r?t.event:void 0;r&&e.clickDetector&&s&&s.target&&!s.altKey&&!s.metaKey&&!s.ctrlKey&&!s.shiftKey&&LN(e.clickDetector,n,US(t.event)),ii(e,n)};function jS(e,t){const n=Tn.mirror.getId(e),r=n&&Tn.mirror.getNode(n),s=r&&Tn.mirror.getMeta(r),o=s&&KN(s)?s:null;return{message:t,data:o?{nodeId:n,node:{id:n,tagName:o.tagName,textContent:Array.from(o.childNodes).map(i=>i.type===Va.Text&&i.textContent).filter(Boolean).map(i=>i.trim()).join(""),attributes:VN(o.attributes)}}:{}}}function qN(e){const{target:t,message:n}=GN(e);return rn({category:`ui.${e.name}`,...jS(t,n)})}function GN(e){const t=e.name==="click";let n,r=null;try{r=t?US(e.event):BS(e.event),n=xn(r,{maxStringLength:200})||"<unknown>"}catch{n="<unknown>"}return{target:r,message:n}}function KN(e){return e.type===Va.Element}function YN(e,t){if(!e.isEnabled())return;e.updateUserActivity();const n=XN(t);n&&ii(e,n)}function XN(e){const{metaKey:t,shiftKey:n,ctrlKey:r,altKey:s,key:o,target:i}=e;if(!i||JN(i)||!o)return null;const a=t||r||s,c=o.length===1;if(!a&&c)return null;const l=xn(i,{maxStringLength:200})||"<unknown>",f=jS(i,l);return rn({category:"ui.keyDown",message:l,data:{...f.data,metaKey:t,shiftKey:n,ctrlKey:r,altKey:s,key:o}})}function JN(e){return e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable}const QN={resource:rL,paint:tL,navigation:nL};function Oi(e,t){return({metric:n})=>void t.replayPerformanceEntries.push(e(n))}function ZN(e){return e.map(eL).filter(Boolean)}function eL(e){const t=QN[e.entryType];return t?t(e):null}function Ds(e){return((at||Oe.performance.timeOrigin)+e)/1e3}function tL(e){const{duration:t,entryType:n,name:r,startTime:s}=e,o=Ds(s);return{type:n,name:r,start:o,end:o+t,data:void 0}}function nL(e){const{entryType:t,name:n,decodedBodySize:r,duration:s,domComplete:o,encodedBodySize:i,domContentLoadedEventStart:a,domContentLoadedEventEnd:c,domInteractive:l,loadEventStart:f,loadEventEnd:u,redirectCount:d,startTime:p,transferSize:h,type:m}=e;return s===0?null:{type:`${t}.${m}`,start:Ds(p),end:Ds(o),name:n,data:{size:h,decodedBodySize:r,encodedBodySize:i,duration:s,domInteractive:l,domContentLoadedEventStart:a,domContentLoadedEventEnd:c,loadEventStart:f,loadEventEnd:u,domComplete:o,redirectCount:d}}}function rL(e){const{entryType:t,initiatorType:n,name:r,responseEnd:s,startTime:o,decodedBodySize:i,encodedBodySize:a,responseStatus:c,transferSize:l}=e;return["fetch","xmlhttprequest"].includes(n)?null:{type:`${t}.${n}`,start:Ds(o),end:Ds(s),name:r,data:{size:l,statusCode:c,decodedBodySize:i,encodedBodySize:a}}}function sL(e){const t=e.entries[e.entries.length-1],n=t&&t.element?[t.element]:void 0;return vc(e,"largest-contentful-paint",n)}function oL(e){return e.sources!==void 0}function iL(e){const t=[],n=[];for(const r of e.entries)if(oL(r)){const s=[];for(const o of r.sources)if(o.node){n.push(o.node);const i=Tn.mirror.getId(o.node);i&&s.push(i)}t.push({value:r.value,nodeIds:s.length?s:void 0})}return vc(e,"cumulative-layout-shift",n,t)}function aL(e){const t=e.entries[e.entries.length-1],n=t&&t.target?[t.target]:void 0;return vc(e,"first-input-delay",n)}function cL(e){const t=e.entries[e.entries.length-1],n=t&&t.target?[t.target]:void 0;return vc(e,"interaction-to-next-paint",n)}function vc(e,t,n,r){const s=e.value,o=e.rating,i=Ds(s);return{type:"web-vital",name:t,start:i,end:i,data:{value:s,size:s,rating:o,nodeIds:n?n.map(a=>Tn.mirror.getId(a)):void 0,attributions:r}}}function uL(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(Ms(s,n))}),r.push(Gb(Oi(sL,e)),Wf(Oi(iL,e)),Kb(Oi(aL,e)),Yb(Oi(cL,e))),()=>{r.forEach(s=>s())}}const oe=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,lL='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]),a=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=function(t,e){for(var i=new n(31),a=0;a<31;++a)i[a]=e+=1<<t[a-1];var s=new r(i[30]);for(a=1;a<30;++a)for(var o=i[a];o<i[a+1];++o)s[o]=o-i[a]<<5|a;return{b:i,r:s}
vendor: 5,457 bytes, line 48
48},o=s(e,2),f=o.b,h=o.r;f[28]=258,h[258]=28;for(var l=s(i,0).r,u=new n(32768),c=0;c<32768;++c){var v=(43690&c)>>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,a=0,s=new n(r);a<i;++a)t[a]&&++s[t[a]-1];var o,f=new n(r);for(a=1;a<r;++a)f[a]=f[a-1]+s[a-1]<<1;if(e){o=new n(1<<r);var h=15-r;for(a=0;a<i;++a)if(t[a])for(var l=a<<4|t[a],c=r-t[a],v=f[t[a]-1]++<<c,d=v|(1<<c)-1;v<=d;++v)o[u[v]>>h]=l}else for(o=new n(i),a=0;a<i;++a)t[a]&&(o[a]=u[f[t[a]-1]++]>>15-t[a]);return o},g=new t(288);for(c=0;c<144;++c)g[c]=8;for(c=144;c<256;++c)g[c]=9;for(c=256;c<280;++c)g[c]=7;for(c=280;c<288;++c)g[c]=8;var w=new t(32);for(c=0;c<32;++c)w[c]=5;var p=d(g,9,0),y=d(w,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=[],a=0;a<r.length;++a)r[a]&&i.push({s:a,f:r[a]});var s=i.length,o=i.slice();if(!s)return{t:F,l:0};if(1==s){var f=new t(i[0].s+1);return f[i[0].s]=1,{t:f,l:1}}i.sort((function(t,n){return t.f-n.f})),i.push({s:-1,f:25001});var h=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:h.f+l.f,l:h,r:l};c!=s-1;)h=i[i[u].f<i[v].f?u++:v++],l=i[u!=c&&i[u].f<i[v].f?u++:v++],i[c++]={s:-1,f:h.f+l.f,l:h,r:l};var d=o[0].s;for(a=1;a<s;++a)o[a].s>d&&(d=o[a].s);var g=new n(d+1),w=A(i[c-1],g,0);if(w>e){a=0;var p=0,y=w-e,m=1<<y;for(o.sort((function(t,n){return g[n.s]-g[t.s]||t.f-n.f}));a<s;++a){var b=o[a].s;if(!(g[b]>e))break;p+=m-(1<<w-g[b]),g[b]=e}for(p>>=y;p>0;){var M=o[a].s;g[M]<e?p-=1<<e-g[M]++-1:++a}for(;a>=0&&p;--a){var E=o[a].s;g[E]==e&&(--g[E],++p)}w=e}return{t:new t(g),l:w}},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,a=t[0],s=1,o=function(t){e[i++]=t},f=1;f<=r;++f)if(t[f]==a&&f!=r)++s;else{if(!a&&s>2){for(;s>138;s-=138)o(32754);s>2&&(o(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(o(a),--s;s>6;s-=6)o(8304);s>2&&(o(s-3<<5|8208),s=0)}for(;s--;)o(a);s=1,a=t[f]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e<n.length;++e)r+=t[e]*n[e];return r},k=function(t,n,r){var e=r.length,i=m(n+2);t[i]=255&e,t[i+1]=e>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var a=0;a<e;++a)t[i+a+4]=r[a];return 8*(i+4+e)},U=function(t,r,s,o,f,h,l,u,c,v,m){z(r,m++,s),++f[256];for(var b=x(f,15),M=b.t,E=b.l,A=x(h,15),U=A.t,C=A.l,F=D(M),I=F.c,S=F.n,L=D(U),O=L.c,j=L.n,q=new n(19),B=0;B<I.length;++B)++q[31&I[B]];for(B=0;B<O.length;++B)++q[31&O[B]];for(var G=x(q,7),H=G.t,J=G.l,K=19;K>4&&!H[a[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(f,g)+T(h,w)+l,X=T(f,M)+T(h,U)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X<W)),m+=2,X<W){N=d(M,E,0),P=M,Q=d(U,C,0),R=U;var Y=d(H,J,0);z(r,m,S-257),z(r,m+5,j-1),z(r,m+10,K-4),m+=14;for(B=0;B<K;++B)z(r,m+3*B,H[a[B]]);m+=3*K;for(var Z=[I,O],$=0;$<2;++$){var tt=Z[$];for(B=0;B<tt.length;++B){var nt=31&tt[B];z(r,m,Y[nt]),m+=H[nt],nt>15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=p,P=g,Q=y,R=w;for(B=0;B<u;++B){var rt=o[B];if(rt>255){_(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;_(r,m,Q[et]),m+=R[et],et>3&&(_(r,m,rt>>5&8191),m+=i[et])}else _(r,m,N[rt]),m+=P[rt]}return _(r,m,N[256]),m+P[256]},C=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e<n.length;++e)r=I[255&r^n[e]]^r>>>8;t=r},d:function(){return~t}}},L=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,a=0|r.length,s=0;s!=a;){for(var o=Math.min(s+2655,a);s<o;++s)i+=e+=r[s];e=(65535&e)+15*(e>>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},O=function(a,s,o,f,u){if(!u&&(u={l:1},s.dictionary)){var c=s.dictionary.subarray(-32768),v=new t(c.length+a.length);v.set(c),v.set(a,c.length),a=v,u.w=c.length}return function(a,s,o,f,u,c){var v=c.z||a.length,d=new t(f+v+5*(1+Math.ceil(v/7e3))+u),g=d.subarray(f,d.length-u),w=c.l,p=7&(c.r||0);if(s){p&&(g[0]=c.r>>3);for(var y=C[s-1],M=y>>13,E=8191&y,z=(1<<o)-1,_=c.p||new n(32768),x=c.h||new n(z+1),A=Math.ceil(o/3),D=2*A,T=function(t){return(a[t]^a[t+1]<<A^a[t+2]<<D)&z},F=new r(25e3),I=new n(288),S=new n(32),L=0,O=0,j=c.i||0,q=0,B=c.w||0,G=0;j+2<v;++j){var H=T(j),J=32767&j,K=x[H];if(_[J]=K,x[H]=J,B<=j){var N=v-j;if((L>7e3||q>24576)&&(N>423||!w)){p=U(a,g,0,F,I,S,O,q,G,j-G,p),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(a[j+Q]==a[j+Q-W]){for(var $=0;$<Z&&a[j+$]==a[j+$-W];++$);if($>Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P<tt;
48++P){var rt=j-W+P&32767,et=rt-_[rt]&32767;et>nt&&(nt=et,K=rt)}}}W+=(J=K)-(K=_[J])&32767}if(R){F[q++]=268435456|h[Q]<<18|l[R];var it=31&h[Q],at=31&l[R];O+=e[it]+i[at],++I[257+it],++S[at],B=j+Q,++L}else F[q++]=a[j],++I[a[j]]}}for(j=Math.max(j,B);j<v;++j)F[q++]=a[j],++I[a[j]];p=U(a,g,w,F,I,S,O,q,G,j-G,p),w||(c.r=7&p|g[p/8|0]<<3,p-=7,c.h=x,c.p=_,c.i=j,c.w=B)}else{for(j=c.w||0;j<v+w;j+=65535){var st=j+65535;st>=v&&(g[p/8|0]=w,st=v),p=k(g,p+1,a.subarray(j,st))}c.i=v}return b(d,0,f+m(p)+u)}(a,null==s.level?6:s.level,null==s.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(a.length)))):12+s.mem,o,f,u)},j=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},q=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&&j(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)}},B=function(t){return 10+(t.filename?t.filename.length+1:0)},G=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(O(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 a=this.b.length-this.s.z;a&&(this.b.set(n.subarray(0,a),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(a),32768),this.s.z=n.length-a+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}();var H=function(){function t(t,n){this.c=L(),this.v=1,G.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),G.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=O(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=L();i.p(n.dictionary),j(t,2,i.d())}}(r,this.o),this.v=0),n&&j(r,r.length-4,this.c.d()),this.ondata(r,n)},t}(),J="undefined"!=typeof TextEncoder&&new TextEncoder,K="undefined"!=typeof TextDecoder&&new TextDecoder;try{K.decode(F,{stream:!0})}catch(t){}var N=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(P(t),this.d=n||!1)},t}();function P(n,r){if(J)return J.encode(n);for(var e=n.length,i=new t(n.length+(n.length>>1)),a=0,s=function(t){i[a++]=t},o=0;o<e;++o){if(a+5>i.length){var f=new t(a+8+(e-o<<1));f.set(i),i=f}var h=n.charCodeAt(o);h<128||r?s(h):h<2048?(s(192|h>>6),s(128|63&h)):h>55295&&h<57344?(s(240|(h=65536+(1047552&h)|1023&n.charCodeAt(++o))>>18),s(128|h>>12&63),s(128|h>>6&63),s(128|63&h)):(s(224|h>>12),s(128|h>>6&63),s(128|63&h))}return b(i,0,a)}function Q(t){return function(t,n){n||(n={});var r=S(),e=t.length;r.p(t);var i=O(t,n,B(n),8),a=i.length;return q(i,n),j(i,a-8,r.d()),j(i,a-4,e),i}(P(t))}const R=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(const r of t)n+=r.length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n<i;n++){const i=t[n];r.set(i,e),e+=i.length}return r}(this._deflatedData);return this._init(),t}_init(){this._hasEvents=!1,this._deflatedData=[],this.deflate=new H,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new N(((t,n)=>{this.deflate.push(t,n)})),this.stream.push("[")}},V={clear:()=>{R.clear()},addEvent:t=>R.addEvent(t),finish:()=>R.finish(),compress:t=>Q(t)};addEventListener("message",(function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in V&&"function"==typeof V[n])try{const t=V[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 fL(){const e=new Blob([lL]);return URL.createObjectURL(e)}const tm=["info","warn","error","log"],Yi="[Replay] ";function fu(e,t="info"){Jt({category:"console",data:{logger:"replay"},level:t,message:`${Yi}${e}`},{level:t})}function dL(){let e=!1,t=!1;const n={exception:()=>{},infoTick:()=>{},setConfig:r=>{e=r.captureExceptions,t=r.traceInternals}};return oe?(tm.forEach(r=>{n[r]=(...s)=>{N[r](Yi,...s),t&&fu(s.join(""),Df(r))}}),n.exception=(r,...s)=>
48{s.length&&n.error&&n.error(...s),N.error(Yi,r),e?Gr(r):t&&fu(r,"error")},n.infoTick=(...r)=>{N.info(Yi,...r),t&&setTimeout(()=>fu(r[0]),0)}):tm.forEach(r=>{n[r]=()=>{}}),n}const le=dL();class sd extends Error{constructor(){super(`Event buffer exceeded maximum size of ${Jf}.`)}}class WS{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>Jf)throw new sd;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?rd(t):null}}class pL{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(){oe&&le.info("Destroying compression worker"),this._worker.terminate()}postMessage(t,n){const r=this._getAndIncrementId();return new Promise((s,o)=>{const i=({data:a})=>{const c=a;if(c.method===t&&c.id===r){if(this._worker.removeEventListener("message",i),!c.success){oe&&le.error("Error in compression worker: ",c.response),o(new Error("Error in compression worker"));return}s(c.response)}};this._worker.addEventListener("message",i),this._worker.postMessage({id:r,method:t,arg:n})})}_getAndIncrementId(){return this._id++}}class hL{constructor(t){this._worker=new pL(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=rd(t.timestamp);(!this._earliestTimestamp||n<this._earliestTimestamp)&&(this._earliestTimestamp=n);const r=JSON.stringify(t);return this._totalSize+=r.length,this._totalSize>Jf?Promise.reject(new sd):this._sendEventToWorker(r)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,t=>{oe&&le.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 mL{constructor(t){this._fallback=new WS,this._compression=new hL(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){oe&&le.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 o of t)s.push(this._compression.addEvent(o));this._compression.hasCheckout=n,this._compression.waitForCheckout=r,this._used=this._compression;try{await Promise.all(s),this._fallback.clear()}catch(o){oe&&le.exception(o,"Failed to add events when switching buffers.")}}}function gL({useCompression:e,workerUrl:t}){if(e&&window.Worker){const n=_L(t);if(n)return n}return oe&&le.info("Using simple buffer"),new WS}function _L(e){try{const t=e||yL();if(!t)return;oe&&le.info(`Using compression worker${e?` from ${e}`:""}`);const n=new Worker(t);return new mL(n)}catch(t){oe&&le.exception(t,"Failed to create compression worker")}}function yL(){return typeof __SENTRY_EXCLUDE_REPLAY_WORKER__>"u"||!__SENTRY_EXCLUDE_REPLAY_WORKER__?fL():""}function od(){try{return"sessionStorage"in Oe&&!!Oe.sessionStorage}catch{return!1}}function bL(e){SL(),e.session=void 0}function SL(){if(od())try{Oe.sessionStorage.removeItem(Yf)}catch{}}function VS(e){return e===void 0?!1:Math.random()<e}function zS(e){const t=Date.now(),n=e.id||bt(),r=e.started||t,s=e.lastActivity||t,o=e.segmentId||0,i=e.sampled,a=e.previousSessionId;return{id:n,started:r,lastActivity:s,segmentId:o,sampled:i,previousSessionId:a}}function id(e){if(od())try{Oe.sessionStorage.setItem(Yf,JSON.stringify(e))}catch{}}function EL(e,t){return VS(e)?"session":t?"buffer":!1}function nm({sessionSampleRate:e,allowBuffering:t,stickySession:n=!1},{previousSessionId:r}={}){const s=EL(e,t),o=zS({sampled:s,previousSessionId:r});return n&&id(o),o}function vL(){if(!od())return null;try{const e=Oe.sessionStorage.getItem(Yf);if(!e)return null;const t=JSON.parse(e);return oe&&le.infoTick("Loading existing session"),zS(t)}catch{return null}}function Al(e,t,n=+new Date){return e===null||t===void 0||t<0?!0:t===0?!1:e+t<=n}function qS(e,{maxReplayDuration:t,sessionIdleExpire:n,targetTime:r=Date.now()}){return Al(e.started,t,r)||Al(e.lastActivity,n,r)}function GS(e,{sessionIdleExpire:t,maxReplayDuration:n}){return!(!qS(e,{sessionIdleExpire:t,maxReplayDuration:n})||e.sampled==="buffer"&&e.segmentId===0)}function du({sessionIdleExpire:e,maxReplayDuration:t,previousSessionId:n},r){const s=r.stickySession&&vL();return s?GS(s,{sessionIdleExpire:e,maxReplayDuration:t})?(oe&&le.infoTick("Session in sessionStorage is expired, creating new one..."),nm(r,{previousSessionId:s.id})):s:(oe&&le.infoTick("Creating new session"),nm(r,{previousSessionId:n}))}function wL(e){return e.type===me.Custom}
48function ad(e,t,n){return YS(e,t)?(KS(e,t,n),!0):!1}function TL(e,t,n){return YS(e,t)?KS(e,t,n):Promise.resolve(null)}async function KS(e,t,n){const{eventBuffer:r}=e;if(!r||r.waitForCheckout&&!n)return null;const s=e.recordingMode==="buffer";try{n&&s&&r.clear(),n&&(r.hasCheckout=!0,r.waitForCheckout=!1);const o=e.getOptions(),i=CL(t,o.beforeAddRecordingEvent);return i?await r.addEvent(i):void 0}catch(o){const i=o&&o instanceof sd,a=i?"addEventSizeExceeded":"addEvent";if(i&&s)return r.clear(),r.waitForCheckout=!0,null;e.handleException(o),await e.stop({reason:a});const c=Z();c&&c.recordDroppedEvent("internal_sdk_error","replay")}}function YS(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;const n=rd(t.timestamp);return n+e.timeouts.sessionIdlePause<Date.now()?!1:n>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration?(oe&&le.infoTick(`Skipping event with timestamp ${n} because it is after maxReplayDuration`),!1):!0}function CL(e,t){try{if(typeof t=="function"&&wL(e))return t(e)}catch(n){return oe&&le.exception(n,"An error occurred in the `beforeAddRecordingEvent` callback, skipping the event..."),null}return e}function cd(e){return!e.type}function Ml(e){return e.type==="transaction"}function kL(e){return e.type==="replay_event"}function rm(e){return e.type==="feedback"}function IL(e){return(t,n)=>{if(!e.isEnabled()||!cd(t)&&!Ml(t))return;const r=n&&n.statusCode;if(!(!r||r<200||r>=300)){if(Ml(t)){xL(e,t);return}RL(e,t)}}}function xL(e,t){const n=e.getContext();t.contexts&&t.contexts.trace&&t.contexts.trace.trace_id&&n.traceIds.size<100&&n.traceIds.add(t.contexts.trace.trace_id)}function RL(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)||Os(async()=>{try{await e.sendBufferedReplayOrFlush()}catch(s){e.handleException(s)}})}function AL(e){return t=>{!e.isEnabled()||!cd(t)||ML(e,t)}}function ML(e,t){const n=t.exception&&t.exception.values&&t.exception.values[0]&&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=rn({category:"replay.hydrate-error",data:{url:Sf()}});ii(e,r)}}function OL(e){const t=Z();t&&t.on("beforeAddBreadcrumb",n=>PL(e,n))}function PL(e,t){if(!e.isEnabled()||!XS(t))return;const n=NL(t);n&&ii(e,n)}function NL(e){return!XS(e)||["fetch","xhr","sentry.event","sentry.transaction"].includes(e.category)||e.category.startsWith("ui.")?null:e.category==="console"?LL(e):rn(e)}function LL(e){const t=e.data&&e.data.arguments;if(!Array.isArray(t)||t.length===0)return rn(e);let n=!1;const r=t.map(s=>{if(!s)return s;if(typeof s=="string")return s.length>Ri?(n=!0,`${s.slice(0,Ri)}…`):s;if(typeof s=="object")try{const o=$t(s,7);return JSON.stringify(o).length>Ri?(n=!0,`${JSON.stringify(o,null,2).slice(0,Ri)}…`):o}catch{}return s});return rn({...e,data:{...e.data,arguments:r,...n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}function XS(e){return!!e.category}function DL(e,t){return e.type||!e.exception||!e.exception.values||!e.exception.values.length?!1:!!(t.originalException&&t.originalException.__rrweb__)}function JS(){const e=de().getPropagationContext().dsc;e&&delete e.replay_id;
48const t=$e();if(t){const n=_r(t);delete n.replay_id}}function $L(e,t){e.triggerUserActivity(),e.addUpdate(()=>t.timestamp?(e.throttledAddEvent({type:me.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 FL(e,t){return e.recordingMode!=="buffer"||t.message===Xf||!t.exception||t.type?!1:VS(e.getOptions().errorSampleRate)}function HL(e){return Object.assign((t,n)=>!e.isEnabled()||e.isPaused()?t:kL(t)?(delete t.breadcrumbs,t):!cd(t)&&!Ml(t)&&!rm(t)?t:e.checkAndHandleExpiredSession()?rm(t)?(e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),$L(e,t),t):DL(t,n)&&!e.getOptions()._experiments.captureExceptions?(oe&&le.log("Ignoring error from rrweb internals",t),null):((FL(e,t)||e.recordingMode==="session")&&(t.tags={...t.tags,replayId:e.getSessionId()}),t):(JS(),t),{id:"Replay"})}function wc(e,t){return t.map(({type:n,start:r,end:s,name:o,data:i})=>{const a=e.throttledAddEvent({type:me.Custom,timestamp:r,data:{tag:"performanceSpan",payload:{op:n,description:o,startTimestamp:r,endTimestamp:s,data:i}}});return typeof a=="string"?Promise.resolve(null):a})}function UL(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 BL(e){return t=>{if(!e.isEnabled())return;const n=UL(t);n!==null&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate(()=>(wc(e,[n]),!1)))}}function jL(e,t){return oe&&e.getOptions()._experiments.traceInternals?!1:pb(t,Z())}function QS(e,t){e.isEnabled()&&t!==null&&(jL(e,t.name)||e.addUpdate(()=>(wc(e,[t]),!0)))}function Tc(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=nE(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch{}}function ZS(e){if(!e)return;const t=parseInt(e,10);return isNaN(t)?void 0:t}function eE(e){try{if(typeof e=="string")return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[nE(e)];if(!e)return[void 0]}catch(t){return oe&&le.exception(t,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return oe&&le.info("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function za(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 tE(e,t){if(!t)return null;const{startTimestamp:n,endTimestamp:r,url:s,method:o,statusCode:i,request:a,response:c}=t;return{type:e,start:n/1e3,end:r/1e3,name:s,data:ze({method:o,statusCode:i,request:a,response:c})}}function Uo(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function rr(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:o}=WL(n);return r.body=s,o&&o.length>0&&(r._meta={warnings:o}),r}function Ol(e,t){return Object.entries(e).reduce((n,[r,s])=>{const o=r.toLowerCase();return t.includes(o)&&e[r]&&(n[o]=s),n},{})}function nE(e){return new URLSearchParams(e).toString()}function WL(e){if(!e||typeof e!="string")return{body:e};const t=e.length>$h,n=VL(e);if(t){const r=e.slice(0,$h);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 VL(e){const t=e[0],n=e[e.length-1];return t==="["&&n==="]"||t==="{"&&n==="}"}function qa(e,t){const n=zL(e);return nr(n,t)}function zL(e,t=Oe.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(Oe.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 qL(e,t,n){try{const r=await KL(e,t,n),s=tE("resource.fetch",r);QS(n.replay,s)}catch(r){oe&&le.exception(r,"Failed to capture fetch breadcrumb")}}function GL(e,t){const{input:n,response:r}=t,s=n?rE(n):void 0,o=Tc(s),i=r?ZS(r.headers.get("content-length")):void 0;o!==void 0&&(e.data.request_body_size=o),i!==void 0&&(e.data.response_body_size=i)}async function KL(e,t,n){const r=Date.now(),{startTimestamp:s=r,endTimestamp:o=r}=t,{url:i,method:a,status_code:c=0,request_body_size:l,response_body_size:f}=e.data,u=qa(i,n.networkDetailAllowUrls)&&!qa(i,n.networkDetailDenyUrls),d=u?YL(n,t.input,l):Uo(l),p=await XL(u,n,t.response,f);return{startTimestamp:s,endTimestamp:o,url:i,method:a,statusCode:c,request:d,response:p}}function YL({networkCaptureBodies:e,networkRequestHeaders:t},n,r){const s=n?ZL(n,t):{};if(!e)return rr(s,r,void 0);const o=rE(n),[i,a]=eE(o),c=rr(s,r,i);return a?za(c,a):c}async function XL(e,{networkCaptureBodies:t,networkResponseHeaders:n}
48,r,s){if(!e&&s!==void 0)return Uo(s);const o=r?sE(r.headers,n):{};if(!r||!t&&s!==void 0)return rr(o,s,void 0);const[i,a]=await QL(r),c=JL(i,{networkCaptureBodies:t,responseBodySize:s,captureDetails:e,headers:o});return a?za(c,a):c}function JL(e,{networkCaptureBodies:t,responseBodySize:n,captureDetails:r,headers:s}){try{const o=e&&e.length&&n===void 0?Tc(e):n;return r?t?rr(s,o,e):rr(s,o,void 0):Uo(o)}catch(o){return oe&&le.exception(o,"Failed to serialize response body"),rr(s,n,void 0)}}async function QL(e){const t=eD(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{return[await tD(t)]}catch(n){return n instanceof Error&&n.message.indexOf("Timeout")>-1?(oe&&le.warn("Parsing text body from response timed out"),[void 0,"BODY_PARSE_TIMEOUT"]):(oe&&le.exception(n,"Failed to get text body from response"),[void 0,"BODY_PARSE_ERROR"])}}function rE(e=[]){if(!(e.length!==2||typeof e[1]!="object"))return e[1].body}function sE(e,t){const n={};return t.forEach(r=>{e.get(r)&&(n[r]=e.get(r))}),n}function ZL(e,t){return e.length===1&&typeof e[0]!="string"?sm(e[0],t):e.length===2?sm(e[1],t):{}}function sm(e,t){if(!e)return{};const n=e.headers;return n?n instanceof Headers?sE(n,t):Array.isArray(n)?{}:Ol(n,t):{}}function eD(e){try{return e.clone()}catch(t){oe&&le.exception(t,"Failed to clone response body")}}function tD(e){return new Promise((t,n)=>{const r=Os(()=>n(new Error("Timeout while trying to read response body")),500);nD(e).then(s=>t(s),s=>n(s)).finally(()=>clearTimeout(r))})}async function nD(e){return await e.text()}async function rD(e,t,n){try{const r=oD(e,t,n),s=tE("resource.xhr",r);QS(n.replay,s)}catch(r){oe&&le.exception(r,"Failed to capture xhr breadcrumb")}}function sD(e,t){const{xhr:n,input:r}=t;if(!n)return;const s=Tc(r),o=n.getResponseHeader("content-length")?ZS(n.getResponseHeader("content-length")):uD(n.response,n.responseType);s!==void 0&&(e.data.request_body_size=s),o!==void 0&&(e.data.response_body_size=o)}function oD(e,t,n){const r=Date.now(),{startTimestamp:s=r,endTimestamp:o=r,input:i,xhr:a}=t,{url:c,method:l,status_code:f=0,request_body_size:u,response_body_size:d}=e.data;if(!c)return null;if(!a||!qa(c,n.networkDetailAllowUrls)||qa(c,n.networkDetailDenyUrls)){const k=Uo(u),x=Uo(d);return{startTimestamp:s,endTimestamp:o,url:c,method:l,statusCode:f,request:k,response:x}}const p=a[Jn],h=p?Ol(p.request_headers,n.networkRequestHeaders):{},m=Ol(iD(a),n.networkResponseHeaders),[w,v]=n.networkCaptureBodies?eE(i):[void 0],[S,g]=n.networkCaptureBodies?aD(a):[void 0],b=rr(h,u,w),T=rr(m,d,S);return{startTimestamp:s,endTimestamp:o,url:c,method:l,statusCode:f,request:v?za(b,v):b,response:g?za(T,g):T}}function iD(e){const t=e.getAllResponseHeaders();return t?t.split(`\r
49`).reduce((n,r)=>{const[s,o]=r.split(": ");return o&&(n[s.toLowerCase()]=o),n},{}):{}}function aD(e){const t=[];try{return[e.responseText]}catch(n){t.push(n)}try{return cD(e.response,e.responseType)}catch(n){t.push(n)}return oe&&le.warn("Failed to get xhr response body",...t),[void 0]}function cD(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 oe&&le.exception(n,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return oe&&le.info("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function uD(e,t){try{const n=t==="json"&&e&&typeof e=="object"?JSON.stringify(e):e;return Tc(n)}catch{return}}function lD(e){const t=Z();try{const{networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:s,networkRequestHeaders:o,networkResponseHeaders:i}=e.getOptions(),a={replay:e,networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:s,networkRequestHeaders:o,networkResponseHeaders:i};t&&t.on("beforeAddBreadcrumb",(c,l)=>fD(a,c,l))}catch{}}function fD(e,t,n){if(t.data)try{dD(t)&&hD(n)&&(sD(t,n),rD(t,n,e)),pD(t)&&mD(n)&&(GL(t,n),qL(t,n,e))}catch(r){oe&&le.exception(r,"Error when enriching network breadcrumb")}}function dD(e){return e.category==="xhr"}function pD(e){return e.category==="fetch"}function hD(e){return e&&e.xhr}function mD(e){return e&&e.response}function gD(e){const t=Z();Zb(zN(e)),yc(BL(e)),OL(e),lD(e);const n=HL(e);eb(n),t&&(t.on("beforeSendEvent",AL(e)),t.on("afterSendEvent",IL(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",(r,s)=>{const o=e.getSessionId();s&&s.includeReplay&&e.isEnabled()&&o&&r.contexts&&r.contexts.feedback&&(r.contexts.feedback.replay_id=o)}))}async function _D(e){try{return Promise.all(wc(e,[yD(Oe.performance.memory)]))}catch{return[]}}function yD(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 bD(e,t,n){let r,s,o;const i=n.maxWait?Math.max(n.maxWait,t):0;function a(){return c(),r=e(),r}function c(){s!==void 0&&clearTimeout(s),o!==void 0&&clearTimeout(o),s=o=void 0}function l(){return s!==void 0||o!==void 0?a():r}function f(){return s&&clearTimeout(s),s=Os(a,t),i&&o===void 0&&(o=Os(a,i)),r}return f.cancel=c,f.flush=l,f}const vr=re.navigator;function SD(){return/iPhone|iPad|iPod/i.test(vr&&vr.userAgent||"")||/Macintosh/i.test(vr&&vr.userAgent||"")&&vr&&vr.maxTouchPoints&&vr.maxTouchPoints>1?{sampling:{mousemove:!1}}:{}}function ED(e){let t=!1;return(n,r)=>{if(!e.checkAndHandleExpiredSession()){oe&&le.warn("Received replay event after session expired.");return}const s=r||!t;t=!0,e.clickDetector&&UN(e.clickDetector,n),e.addUpdate(()=>{if(e.recordingMode==="buffer"&&s&&e.setInitialState(),!ad(e,n,s))return!0;
49if(!s)return!1;const o=e.session;if(wD(e,s),e.recordingMode==="buffer"&&o&&e.eventBuffer){const i=e.eventBuffer.getEarliestTimestamp();i&&(oe&&le.info(`Updating session start time to earliest event in buffer to ${new Date(i)}`),o.started=i,e.getOptions().stickySession&&id(o))}return o&&o.previousSessionId||e.recordingMode==="session"&&e.flush(),!0})}}function vD(e){const t=e.getOptions();return{type:me.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 wD(e,t){!t||!e.session||e.session.segmentId!==0||ad(e,vD(e),!1)}function TD(e,t,n,r){return Fn(By(e,Rf(e),r,n),[[{type:"replay_event"},e],[{type:"replay_recording",length:typeof t=="string"?new TextEncoder().encode(t).length:t.length},t]])}function CD({recordingData:e,headers:t}){let n;const r=`${JSON.stringify(t)}
50`;if(typeof e=="string")n=`${r}${e}`;else{const o=new TextEncoder().encode(r);n=new Uint8Array(o.length+e.length),n.set(o),n.set(e,o.length)}return n}async function kD({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,o={event_id:n,integrations:s};e.emit("preprocessEvent",r,o);const i=await Gy(e.getOptions(),r,o,t,e,Ye());if(!i)return null;i.platform=i.platform||"javascript";const a=e.getSdkMetadata(),{name:c,version:l}=a&&a.sdk||{};return i.sdk={...i.sdk,name:c||"sentry.javascript.unknown",version:l||"0.0.0"},i}async function ID({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:s,session:o}){const i=CD({recordingData:e,headers:{segment_id:n}}),{urls:a,errorIds:c,traceIds:l,initialTimestamp:f}=r,u=Z(),d=de(),p=u&&u.getTransport(),h=u&&u.getDsn();if(!u||!p||!h||!o.sampled)return Rn({});const m={type:oP,replay_start_timestamp:f/1e3,timestamp:s/1e3,error_ids:c,trace_ids:l,urls:a,replay_id:t,segment_id:n,replay_type:o.sampled},w=await kD({scope:d,client:u,replayId:t,event:m});if(!w)return u.recordDroppedEvent("event_processor","replay",m),oe&&le.info("An event processor returned `null`, will not send event."),Rn({});delete w.sdkProcessingMetadata;const v=TD(w,i,h,u.getOptions().tunnel);let S;try{S=await p.send(v)}catch(b){const T=new Error(Xf);try{T.cause=b}catch{}throw T}if(typeof S.statusCode=="number"&&(S.statusCode<200||S.statusCode>=300))throw new oE(S.statusCode);const g=lb({},S);if(ub(g,"replay"))throw new ud(g);return S}class oE extends Error{constructor(t){super(`Transport returned status code ${t}`)}}
50class ud extends Error{constructor(t){super("Rate limit hit"),this.rateLimits=t}}async function iE(e,t={count:0,interval:fP}){const{recordingData:n,onError:r}=e;if(n.length)try{return await ID(e),!0}catch(s){if(s instanceof oE||s instanceof ud)throw s;if(Lf("Replays",{_retryCount:t.count}),r&&r(s),t.count>=dP){const o=new Error(`${Xf} - max retries exceeded`);try{o.cause=s}catch{}throw o}return t.interval*=++t.count,new Promise((o,i)=>{Os(async()=>{try{await iE(e,t),o(!0)}catch(a){i(a)}},t.interval)})}}const aE="__THROTTLED",xD="__SKIPPED";function RD(e,t,n){const r=new Map,s=a=>{const c=a-n;r.forEach((l,f)=>{f<c&&r.delete(f)})},o=()=>[...r.values()].reduce((a,c)=>a+c,0);let i=!1;return(...a)=>{const c=Math.floor(Date.now()/1e3);if(s(c),o()>=t){const f=i;return i=!0,f?xD:aE}i=!1;const l=r.get(c)||0;return r.set(c,l+1),e(...a)}}class Xn{constructor({options:t,recordingOptions:n}){Xn.prototype.__init.call(this),Xn.prototype.__init2.call(this),Xn.prototype.__init3.call(this),Xn.prototype.__init4.call(this),Xn.prototype.__init5.call(this),Xn.prototype.__init6.call(this),this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:iP,sessionIdleExpire:aP},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=bD(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=RD((i,a)=>TL(this,i,a),300,5);const{slowClickTimeout:r,slowClickIgnoreSelectors:s}=this.getOptions(),o=r?{threshold:Math.min(pP,r),timeout:r,scrollTimeout:hP,ignoreSelector:s?s.join(","):""}:void 0;if(o&&(this.clickDetector=new DN(this,o)),oe){const i=t._experiments;le.setConfig({captureExceptions:!!i.captureExceptions,traceInternals:!!i.traceInternals})}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}handleException(t){oe&&le.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){oe&&le.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",oe&&le.infoTick(`Starting replay in ${this.recordingMode} mode`),this._initializeRecording())}}start(){if(this._isEnabled&&this.recordingMode==="session"){oe&&le.info("Recording is already in progress");return}if(this._isEnabled&&this.recordingMode==="buffer"){oe&&le.info("Buffering is in progress, call `flush()` to save the replay");return}oe&&le.infoTick("Starting replay in session mode"),this._updateUserActivity();const t=du({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=t,this._initializeRecording()}startBuffering(){if(this._isEnabled){oe&&le.info("Buffering is in progress, call `flush()` to save the replay");return}oe&&le.infoTick("Starting replay in buffer mode");const t=du({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=Tn({...this._recordingOptions,...this.recordingMode==="buffer"?{checkoutEveryNms:lP}:this._options._experiments.continuousCheckout&&{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:ED(this),...SD(),onMutation:this._onMutationHandler,...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;try{oe&&le.info(`Stopping Replay${n?` triggered by ${n}`:""}`),JS(),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),t&&await this._flush({force:!0}),this.eventBuffer&&this.eventBuffer.destroy(),this.eventBuffer=null,bL(this)}catch(r){this.handleException(r)}}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),oe&&le.info("Pausing replay"))}resume(){!this._isPaused||!this._checkSession()||(this._isPaused=!1,this.startRecording(),oe&&le.info("Resuming replay"))}async sendBufferedReplayOrFlush({continueRecording:t=!0}={}){if(this.recordingMode==="session")return this.flushImmediate();const n=Date.now();oe&&le.info("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"&&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&&this.session.id}
50checkAndHandleExpiredSession(){if(this._lastActivity&&Al(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&this.session.sampled==="session"){this.pause();return}return!!this._checkSession()}setInitialState(){const t=`${Oe.location.pathname}${Oe.location.hash}${Oe.location.search}`,n=`${Oe.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===aE){const s=rn({category:"replay.throttled"});this.addUpdate(()=>!ad(this,{type:RN,timestamp:s.timestamp||0,data:{tag:"breadcrumb",payload:s,metric:!0}}))}return r}getCurrentRoute(){const t=this.lastActiveSpan||$e(),n=t&&Ve(t),s=(n&&pe(n).data||{})[yt];if(!(!n||!s||!["route","custom"].includes(s)))return pe(n).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=gL({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=du({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 GS(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{Oe.document.addEventListener("visibilitychange",this._handleVisibilityChange),Oe.addEventListener("blur",this._handleWindowBlur),Oe.addEventListener("focus",this._handleWindowFocus),Oe.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(gD(this),this._hasInitializedCoreListeners=!0)}catch(t){this.handleException(t)}this._performanceCleanupCallback=uL(this)}_removeListeners(){try{Oe.document.removeEventListener("visibilitychange",this._handleVisibilityChange),Oe.removeEventListener("blur",this._handleWindowBlur),Oe.removeEventListener("focus",this._handleWindowFocus),Oe.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(t){this.handleException(t)}}__init(){this._handleVisibilityChange=()=>{Oe.document.visibilityState==="visible"?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()}}__init2(){this._handleWindowBlur=()=>{const t=rn({category:"ui.blur"});this._doChangeToBackgroundTasks(t)}}__init3(){this._handleWindowFocus=()=>{const t=rn({category:"ui.focus"});this._doChangeToForegroundTasks(t)}}__init4(){this._handleKeyboardEvent=t=>{YN(this,t)}}_doChangeToBackgroundTasks(t){!this.session||qS(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()){oe&&le.info("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:me.Custom,timestamp:t.timestamp||0,data:{tag:"breadcrumb",payload:t}})})}_addPerformanceEntries(){let t=ZN(this.performanceEntries).concat(this.replayPerformanceEntries);if(this.performanceEntries=[],this.replayPerformanceEntries=[],this._requiresManualStart){const n=this._context.
50initialTimestamp/1e3;t=t.filter(r=>r.start>=n)}return Promise.all(wc(this,t))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){const{session:t,eventBuffer:n}=this;if(!t||!n||this._requiresManualStart||t.segmentId)return;const r=n.getEarliestTimestamp();r&&r<this._context.initialTimestamp&&(this._context.initialTimestamp=r)}_popEventContext(){const t={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),urls:this._context.urls};return this._clearContext(),t}async _runFlush(){const t=this.getSessionId();if(!this.session||!this.eventBuffer||!t){oe&&le.error("No session or eventBuffer found to flush.");return}if(await this._addPerformanceEntries(),!(!this.eventBuffer||!this.eventBuffer.hasEvents)&&(await _D(this),!!this.eventBuffer&&t===this.getSessionId()))try{this._updateInitialTimestampFromEventBuffer();const n=Date.now();if(n-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw new Error("Session is too long, not sending replay");const r=this._popEventContext(),s=this.session.segmentId++;this._maybeSaveSession();const o=await this.eventBuffer.finish();await iE({replayId:t,recordingData:o,segmentId:s,eventContext:r,session:this.session,timestamp:n,onError:i=>this.handleException(i)})}catch(n){this.handleException(n),this.stop({reason:"sendReplay"});const r=Z();if(r){const s=n instanceof ud?"ratelimit_backoff":"send_error";r.recordDroppedEvent(s,"replay")}}}__init5(){this._flush=async({force:t=!1}={})=>{if(!this._isEnabled&&!t)return;if(!this.checkAndHandleExpiredSession()){oe&&le.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 o=s<this._options.minReplayDuration,i=s>this._options.maxReplayDuration+5e3;if(o||i){oe&&le.info(`Session duration (${Math.floor(s/1e3)}s) is too ${o?"short":"long"}, not sending replay.`),o&&this._debouncedFlush();return}const a=this.eventBuffer;a&&this.session.segmentId===0&&!a.hasCheckout&&oe&&le.info("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&&id(this.session)}__init6(){this._onMutationHandler=t=>{const n=t.length,r=this._options.mutationLimit,s=this._options.mutationBreadcrumbLimit,o=r&&n>r;if(n>s||o){const i=rn({category:"replay.mutations",data:{count:n,limit:o}});this._createCustomBreadcrumb(i)}return o?(this.stop({reason:"mutationLimit",forceFlush:this.recordingMode==="session"}),!1):!0}}}function no(e,t){return[...e,...t].join(",")}function AD({mask:e,unmask:t,block:n,unblock:r,ignore:s}){const o=["base","iframe[srcdoc]:not([src])"],i=no(e,[".sentry-mask","[data-sentry-mask]"]),a=no(t,[]);return{maskTextSelector:i,unmaskTextSelector:a,blockSelector:no(n,[".sentry-block","[data-sentry-block]",...o]),unblockSelector:no(r,[]),ignoreSelector:no(s,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'])}}function MD({el:e,key:t,maskAttributes:n,maskAllText:r,privacyOptions:s,value:o}){return!r||s.unmaskTextSelector&&e.matches(s.unmaskTextSelector)?o:n.includes(t)||t==="value"&&e.tagName==="INPUT"&&["submit","button"].includes(e.getAttribute("type")||"")?o.replace(/[\S]/g,"*"):o}const om='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',OD=["content-length","content-type","accept"];let im=!1;const PD=e=>new Cc(e);class Cc{static __initStatic(){this.id="Replay"}constructor({flushMinDelay:t=cP,flushMaxDelay:n=uP,minReplayDuration:r=mP,maxReplayDuration:s=Fh,stickySession:o=!0,useCompression:i=!0,workerUrl:a,_experiments:c={},maskAllText:l=!0,maskAllInputs:f=!0,blockAllMedia:u=!0,mutationBreadcrumbLimit:d=750,mutationLimit:p=1e4,slowClickTimeout:h=7e3,slowClickIgnoreSelectors:m=[],networkDetailAllowUrls:w=[],networkDetailDenyUrls:v=[],networkCaptureBodies:S=!0,networkRequestHeaders:g=[],networkResponseHeaders:b=[],mask:T=[],maskAttributes:k=["title","placeholder"],unmask:x=[],block:P=[],unblock:C=[],ignore:E=[],maskFn:A,beforeAddRecordingEvent:I,beforeErrorSampling:H,onError:q}={}){this.name=Cc.id;const Y=AD({mask:T,unmask:x,block:P,unblock:C,ignore:E});if(this._recordingOptions={maskAllInputs:f,maskAllText:l,maskInputOptions:{password:!0},maskTextFn:A,maskInputFn:A,maskAttributeFn:(D,X,U)=>
50MD({maskAttributes:k,maskAllText:l,privacyOptions:Y,key:D,value:X,el:U}),...Y,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:D=>{try{D.__rrweb__=!0}catch{}}},this._initialOptions={flushMinDelay:t,flushMaxDelay:n,minReplayDuration:Math.min(r,gP),maxReplayDuration:Math.min(s,Fh),stickySession:o,useCompression:i,workerUrl:a,blockAllMedia:u,maskAllInputs:f,maskAllText:l,mutationBreadcrumbLimit:d,mutationLimit:p,slowClickTimeout:h,slowClickIgnoreSelectors:m,networkDetailAllowUrls:w,networkDetailDenyUrls:v,networkCaptureBodies:S,networkRequestHeaders:am(g),networkResponseHeaders:am(b),beforeAddRecordingEvent:I,beforeErrorSampling:H,onError:q,_experiments:c},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${om}`:om),this._isInitialized&&gl())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return im}set _isInitialized(t){im=t}afterAllSetup(t){!gl()||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||!this._replay.isEnabled()))return this._replay.getSessionId()}getRecordingMode(){if(!(!this._replay||!this._replay.isEnabled()))return this._replay.recordingMode}_initialize(t){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(t),this._replay.initializeSampling())}_setup(t){const n=ND(this._initialOptions,t);this._replay=new Xn({options:n,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(t){try{const n=t.getIntegrationByName("ReplayCanvas");if(!n)return;this._replay._canvas=n.getOptions()}catch{}}}Cc.__initStatic();function ND(e,t){const n=t.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...ze(e)},s=Ra(n.replaysSessionSampleRate),o=Ra(n.replaysOnErrorSampleRate);return s==null&&o==null&&Lt(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),s!=null&&(r.sessionSampleRate=s),o!=null&&(r.errorSampleRate=o),r}function am(e){return[...OD,...e.map(t=>t.toLowerCase())]}function LD(){const e=Z();return e&&e.getIntegrationByName("Replay")}var cm;(function(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"})(cm||(cm={}));function DD(e,t){for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}return!1}function Pl(e,t,n=1/0,r=0){return!e||e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:Pl(e.parentNode,t,n,r+1)}function um(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(DD(r,e))return!0}return!!(t&&r.matches(t))}catch{return!1}}}const ss=`Please stop import mirror directly. Instead of that,\r
51now you can use replayer.getMirror() to access the mirror instance of a replayer,\r
52or you can use record.mirror to access the mirror instance during recording.`;let lm={map:{},getId(){return console.error(ss),-1},getNode(){return console.error(ss),null},removeNodeFromMap(){console.error(ss)},has(){return console.error(ss),!1},reset(){console.error(ss)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(lm=new Proxy(lm,{get(e,t,n){return t==="map"&&console.error(ss),Reflect.get(e,t,n)}}));function ld(e,t,n,r,s=window){const o=s.Object.getOwnPropertyDescriptor(e,t);return s.Object.defineProperty(e,t,r?n:{set(i){uE(()=>{n.set.call(this,i)},0),o&&o.set&&o.set.call(this,i)}}),()=>ld(e,t,o||{},!0)}function fd(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()=>{}}}/[1-9][0-9]{12}/.test(Date.now().toString());function $D(e){return e?e.nodeType===e.ELEMENT_NODE?e:e.parentElement:null}
52function kc(e,t,n,r,s){if(!e)return!1;const o=$D(e);if(!o)return!1;const i=um(t,n),a=Pl(o,i);let c=-1;return a<0?!1:(r&&(c=Pl(o,um(null,r))),a>-1&&c<0?!0:a<c)}const fm={};function cE(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 o=s.contentWindow;o&&o[e]&&(r=o[e]),n.head.removeChild(s)}catch{}return fm[e]=r.bind(window)}function wr(...e){return cE("requestAnimationFrame")(...e)}function uE(...e){return cE("setTimeout")(...e)}var $s=(e=>(e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e))($s||{});let Xi;function FD(e){Xi=e}const pu=e=>Xi?(...n)=>{try{return e(...n)}catch(r){if(Xi&&Xi(r)===!0)return()=>{};throw r}}:e;var fs="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",HD=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Pi=0;Pi<fs.length;Pi++)HD[fs.charCodeAt(Pi)]=Pi;var UD=function(e){var t=new Uint8Array(e),n,r=t.length,s="";for(n=0;n<r;n+=3)s+=fs[t[n]>>2],s+=fs[(t[n]&3)<<4|t[n+1]>>4],s+=fs[(t[n+1]&15)<<2|t[n+2]>>6],s+=fs[t[n+2]&63];return r%3===2?s=s.substring(0,s.length-1)+"=":r%3===1&&(s=s.substring(0,s.length-2)+"=="),s};const dm=new Map;function BD(e,t){let n=dm.get(e);return n||(n=new Map,dm.set(e,n)),n.has(t)||n.set(t,[]),n.get(t)}const lE=(e,t,n)=>{if(!e||!(dE(e,t)||typeof e=="object"))return;const r=e.constructor.name,s=BD(n,r);let o=s.indexOf(e);return o===-1&&(o=s.length,s.push(e)),o};function Ji(e,t,n){if(e instanceof Array)return e.map(r=>Ji(r,t,n));if(e===null)return e;if(e instanceof Float32Array||e instanceof Float64Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Uint8Array||e instanceof Uint16Array||e instanceof Int16Array||e instanceof Int8Array||e instanceof Uint8ClampedArray)return{rr_type:e.constructor.name,args:[Object.values(e)]};if(e instanceof ArrayBuffer){const r=e.constructor.name,s=UD(e);return{rr_type:r,base64:s}}else{if(e instanceof DataView)return{rr_type:e.constructor.name,args:[Ji(e.buffer,t,n),e.byteOffset,e.byteLength]};if(e instanceof HTMLImageElement){const r=e.constructor.name,{src:s}=e;return{rr_type:r,src:s}}else if(e instanceof HTMLCanvasElement){const r="HTMLImageElement",s=e.toDataURL();return{rr_type:r,src:s}}else{if(e instanceof ImageData)return{rr_type:e.constructor.name,args:[Ji(e.data,t,n),e.width,e.height]};if(dE(e,t)||typeof e=="object"){const r=e.constructor.name,s=lE(e,t,n);return{rr_type:r,index:s}}}}return e}const fE=(e,t,n)=>e.map(r=>Ji(r,t,n)),dE=(e,t)=>!!["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(s=>typeof t[s]=="function").find(s=>e instanceof t[s]);function jD(e,t,n,r,s){const o=[],i=Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype);for(const a of i)try{if(typeof t.CanvasRenderingContext2D.prototype[a]!="function")continue;const c=fd(t.CanvasRenderingContext2D.prototype,a,function(l){return function(...f){return kc(this.canvas,n,r,s,!0)||uE(()=>{const u=fE(f,t,this);e(this.canvas,{type:$s["2D"],property:a,args:u})},0),l.apply(this,f)}});o.push(c)}catch{const l=ld(t.CanvasRenderingContext2D.prototype,a,{set(f){e(this.canvas,{type:$s["2D"],property:a,args:[f],setter:!0})}});o.push(l)}return()=>{o.forEach(a=>a())}}function WD(e){return e==="experimental-webgl"?"webgl":e}function pm(e,t,n,r,s){const o=[];try{const i=fd(e.HTMLCanvasElement.prototype,"getContext",function(a){return function(c,...l){if(!kc(this,t,n,r,!0)){const f=WD(c);if("__context"in this||(this.__context=f),s&&["webgl","webgl2"].includes(f))if(l[0]&&typeof l[0]=="object"){const u=l[0];u.preserveDrawingBuffer||(u.preserveDrawingBuffer=!0)}else l.splice(0,1,{preserveDrawingBuffer:!0})}return a.apply(this,[c,...l])}});o.push(i)}catch{console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{o.forEach(i=>i())}}function hm(e,t,n,r,s,o,i,a){const c=[],l=Object.getOwnPropertyNames(e);for(const f of l)if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(f))try{if(typeof e[f]!="function")continue;const u=fd(e,f,function(d){return function(...p){const h=d.apply(this,p);if(lE(h,a,this),"tagName"in this.canvas&&!kc(this.canvas,r,s,o,!0)){const m=fE(p,a,this),w={type:t,property:f,args:m};n(this.canvas,w)}return h}});c.push(u)}catch{const d=ld(e,f,{set(p){n(this.canvas,{type:t,property:f,args:[p],setter:!0})}});c.push(d)}return c}function VD(e,t,n,r,s,o){const i=[];return i.push(...hm(t.WebGLRenderingContext.prototype,$s.WebGL,e,n,r,s,o,t)),typeof t.WebGL2RenderingContext<"u"&&i.push(...hm(t.WebGL2RenderingContext.prototype,$s.WebGL2,e,n,r,s,o,t)),()=>
52{i.forEach(a=>a())}}var zD='for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t="undefined"==typeof Uint8Array?[]:new Uint8Array(256),a=0;a<64;a++)t[e.charCodeAt(a)]=a;var n=function(t){var a,n=new Uint8Array(t),r=n.length,s="";for(a=0;a<r;a+=3)s+=e[n[a]>>2],s+=e[(3&n[a])<<4|n[a+1]>>4],s+=e[(15&n[a+1])<<2|n[a+2]>>6],s+=e[63&n[a+2]];return r%3==2?s=s.substring(0,s.length-1)+"=":r%3==1&&(s=s.substring(0,s.length-2)+"=="),s};const r=new Map,s=new Map;const i=self;i.onmessage=async function(e){if(!("OffscreenCanvas"in globalThis))return i.postMessage({id:e.data.id});{const{id:t,bitmap:a,width:o,height:f,maxCanvasSize:c,dataURLOptions:g}=e.data,u=async function(e,t,a){const r=e+"-"+t;if("OffscreenCanvas"in globalThis){if(s.has(r))return s.get(r);const i=new OffscreenCanvas(e,t);i.getContext("2d");const o=await i.convertToBlob(a),f=await o.arrayBuffer(),c=n(f);return s.set(r,c),c}return""}(o,f,g),[h,d]=function(e,t,a){if(!a)return[e,t];const[n,r]=a;if(e<=n&&t<=r)return[e,t];let s=e,i=t;return s>n&&(i=Math.floor(n*t/e),s=n),i>r&&(s=Math.floor(r*e/t),i=r),[s,i]}(o,f,c),l=new OffscreenCanvas(h,d),w=l.getContext("bitmaprenderer"),p=h===o&&d===f?a:await createImageBitmap(a,{resizeWidth:h,resizeHeight:d,resizeQuality:"low"});w.transferFromImageBitmap(p),a.close();const y=await l.convertToBlob(g),v=y.type,b=await y.arrayBuffer(),m=n(b);if(p.close(),!r.has(t)&&await u===m)return r.set(t,m),i.postMessage({id:t});if(r.get(t)===m)return i.postMessage({id:t});i.postMessage({id:t,type:v,base64:m,width:o,height:f}),r.set(t,m)}};';function qD(){const e=new Blob([zD]);return URL.createObjectURL(e)}class GD{reset(){this.pendingCanvasMutations.clear(),this.restoreHandlers.forEach(t=>{try{t()}catch{}}),this.restoreHandlers=[],this.windowsSet=new WeakSet,this.windows=[],this.shadowDoms=new Set,Lr([this,"access",t=>t.worker,"optionalAccess",t=>t.terminate,"call",t=>t()]),this.worker=null,this.snapshotInProgressMap=new Map}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}constructor(t){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.shadowDoms=new Set,this.windowsSet=new WeakSet,this.windows=[],this.restoreHandlers=[],this.frozen=!1,this.locked=!1,this.snapshotInProgressMap=new Map,this.worker=null,this.processMutation=(u,d)=>{(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId||!this.rafStamps.invokeId)&&(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(u)||this.pendingCanvasMutations.set(u,[]),this.pendingCanvasMutations.get(u).push(d)};const{sampling:n="all",win:r,blockClass:s,blockSelector:o,unblockSelector:i,maxCanvasSize:a,recordCanvas:c,dataURLOptions:l,errorHandler:f}=t;this.mutationCb=t.mutationCb,this.mirror=t.mirror,this.options=t,f&&FD(f),(c&&typeof n=="number"||t.enableManualSnapshot)&&(this.worker=this.initFPSWorker()),this.addWindow(r),!t.enableManualSnapshot&&pu(()=>{c&&n==="all"&&(this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher()),c&&typeof n=="number"&&this.initCanvasFPSObserver(n,s,o,i,a,{dataURLOptions:l})})()}addWindow(t){const{sampling:n="all",blockClass:r,blockSelector:s,unblockSelector:o,recordCanvas:i,enableManualSnapshot:a}=this.options;if(!this.windowsSet.has(t)){if(a){this.windowsSet.add(t),this.windows.push(new WeakRef(t));return}pu(()=>{if(i&&n==="all"&&this.initCanvasMutationObserver(t,r,s,o),i&&typeof n=="number"){const c=pm(t,r,s,o,!0);this.restoreHandlers.push(()=>{c()})}})(),this.windowsSet.add(t),this.windows.push(new WeakRef(t))}}addShadowRoot(t){this.shadowDoms.add(new WeakRef(t))}resetShadowRoots(){this.shadowDoms=new Set}initFPSWorker(){const t=new Worker(qD());return t.onmessage=n=>{const r=n.data,{id:s}=r;if(this.snapshotInProgressMap.set(s,!1),!("base64"in r))return;const{base64:o,type:i,width:a,height:c}=r;this.mutationCb({id:s,type:$s["2D"],commands:[{property:"clearRect",args:[0,0,a,c]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:o}],type:i}]},0,0,a,c]}]})},t}initCanvasFPSObserver(t,n,r,s,o,i){const a=this.takeSnapshot(!1,t,n,r,s,o,i.dataURLOptions);this.restoreHandlers.push(()=>{cancelAnimationFrame(a)})}initCanvasMutationObserver(t,n,r,s){const o=pm(t,n,r,s,!1),i=jD(this.processMutation.bind(this),t,n,r,s),a=VD(this.processMutation.bind(this),t,n,r,s,this.mirror);this.restoreHandlers.push(()=>{o(),i(),a()})}
52snapshot(t){const{options:n}=this,r=this.takeSnapshot(!0,n.sampling==="all"?2:n.sampling||2,n.blockClass,n.blockSelector,n.unblockSelector,n.maxCanvasSize,n.dataURLOptions,t);this.restoreHandlers.push(()=>{cancelAnimationFrame(r)})}takeSnapshot(t,n,r,s,o,i,a,c){const l=1e3/n;let f=0,u;const d=h=>{if(h)return[h];const m=[],w=v=>{v.querySelectorAll("canvas").forEach(S=>{kc(S,r,s,o)||m.push(S)})};for(const v of this.windows){const S=v.deref();S&&w(S.document)}for(const v of this.shadowDoms){const S=v.deref();S&&w(S)}return m},p=h=>{if(this.windows.length){if(f&&h-f<l){u=wr(p);return}f=h,d(c).forEach(m=>{if(!this.mirror.hasNode(m))return;const w=this.mirror.getId(m);if(!this.snapshotInProgressMap.get(w)&&!(!m.width||!m.height)){if(this.snapshotInProgressMap.set(w,!0),!t&&["webgl","webgl2"].includes(m.__context)){const v=m.getContext(m.__context);Lr([v,"optionalAccess",S=>S.getContextAttributes,"call",S=>S(),"optionalAccess",S=>S.preserveDrawingBuffer])===!1&&v.clear(v.COLOR_BUFFER_BIT)}createImageBitmap(m).then(v=>{Lr([this,"access",S=>S.worker,"optionalAccess",S=>S.postMessage,"call",S=>S({id:w,bitmap:v,width:m.width,height:m.height,dataURLOptions:a,maxCanvasSize:i},[v])])}).catch(v=>{pu(()=>{throw v})()})}}),t||(u=wr(p))}};return u=wr(p),u}startPendingCanvasMutationFlusher(){wr(()=>this.flushPendingCanvasMutations())}startRAFTimestamping(){const t=n=>{this.rafStamps.latestId=n,wr(t)};wr(t)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach((t,n)=>{const r=this.mirror.getId(n);this.flushPendingCanvasMutationFor(n,r)}),wr(()=>this.flushPendingCanvasMutations())}flushPendingCanvasMutationFor(t,n){if(this.frozen||this.locked)return;const r=this.pendingCanvasMutations.get(t);if(!r||n===-1)return;const s=r.map(i=>{const{type:a,...c}=i;return c}),{type:o}=r[0];this.mutationCb({id:n,type:o,commands:s}),this.pendingCanvasMutations.delete(t)}}const mm={low:{sampling:{canvas:1},dataURLOptions:{type:"image/webp",quality:.25}},medium:{sampling:{canvas:2},dataURLOptions:{type:"image/webp",quality:.4}},high:{sampling:{canvas:4},dataURLOptions:{type:"image/webp",quality:.5}}},KD="ReplayCanvas",Ni=1280,YD=(e={})=>{const[t,n]=e.maxCanvasSize||[],r={quality:e.quality||"medium",enableManualSnapshot:e.enableManualSnapshot,maxCanvasSize:[t?Math.min(t,Ni):Ni,n?Math.min(n,Ni):Ni]};let s;const o=new Promise(i=>s=i);return{name:KD,getOptions(){const{quality:i,enableManualSnapshot:a,maxCanvasSize:c}=r;return{enableManualSnapshot:a,recordCanvas:!0,getCanvasManager:l=>{const f=new GD({...l,enableManualSnapshot:a,maxCanvasSize:c,errorHandler:u=>{try{typeof u=="object"&&(u.__rrweb__=!0)}catch{}}});return s(f),f},...mm[i||"medium"]||mm.medium}},async snapshot(i){(await o).snapshot(i)}}},XD=YD,sn=re,Ce=sn.document,io=sn.navigator,pE="Report a Bug",JD="Cancel",QD="Send Bug Report",ZD="Confirm",e$="Report a Bug",t$="[email protected]",n$="Email",r$="What's the bug? What did you expect?",s$="Description",o$="Your Name",i$="Name",a$="Thank you for your report!",c$="(required)",u$="Add a screenshot",l$="Remove screenshot",f$="widget",d$="api",p$=5e3,hE=(e,t={includeReplay:!0})=>{if(!e.message)throw new Error("Unable to submit feedback with empty message");const n=Z();if(!n)throw new Error("No client setup, cannot send feedback.");e.tags&&Object.keys(e.tags).length&&de().setTags(e.tags);const r=Rb({source:d$,url:Sf(),...e},t);return new Promise((s,o)=>{const i=setTimeout(()=>o("Unable to determine if Feedback was correctly sent."),5e3),a=n.on("afterSendEvent",(c,l)=>{if(c.event_id===r)return clearTimeout(i),a(),l&&typeof l.statusCode=="number"&&l.statusCode>=200&&l.statusCode<300?s(r):l&&typeof l.statusCode=="number"&&l.statusCode===0?o("Unable to send Feedback. This is because of network issues, or because you are using an ad-blocker."):l&&typeof l.statusCode=="number"&&l.statusCode===403?o("Unable to send Feedback. This could be because this domain is not in your list of allowed domains."):o("Unable to send Feedback. This could be because of network issues, or because you are using an ad-blocker")})})},Qi=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function h$(){return!(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(io.userAgent)||/Macintosh/i.test(io.userAgent)&&io.maxTouchPoints&&io.maxTouchPoints>1||!isSecureContext)}function Li(e,t){return{...e,...t,tags:{...e.tags,...t.tags},onFormOpen:()=>{t.onFormOpen&&t.onFormOpen(),e.onFormOpen&&e.onFormOpen()},onFormClose:()=>
52{t.onFormClose&&t.onFormClose(),e.onFormClose&&e.onFormClose()},onSubmitSuccess:n=>{t.onSubmitSuccess&&t.onSubmitSuccess(n),e.onSubmitSuccess&&e.onSubmitSuccess(n)},onSubmitError:n=>{t.onSubmitError&&t.onSubmitError(n),e.onSubmitError&&e.onSubmitError(n)},onFormSubmitted:()=>{t.onFormSubmitted&&t.onFormSubmitted(),e.onFormSubmitted&&e.onFormSubmitted()},themeDark:{...e.themeDark,...t.themeDark},themeLight:{...e.themeLight,...t.themeLight}}}function m$(e){const t=Ce.createElement("style");return t.textContent=`
53.widget__actor {
54  position: fixed;
55  z-index: var(--z-index);
56  margin: var(--page-margin);
57  inset: var(--actor-inset);
58
59  display: flex;
60  align-items: center;
61  gap: 8px;
62  padding: 16px;
63
64  font-family: inherit;
65  font-size: var(--font-size);
66  font-weight: 600;
67  line-height: 1.14em;
68  text-decoration: none;
69
70  background: var(--actor-background, var(--background));
71  border-radius: var(--actor-border-radius, 1.7em/50%);
72  border: var(--actor-border, var(--border));
73  box-shadow: var(--actor-box-shadow, var(--box-sha
73dow));
74  color: var(--actor-color, var(--foreground));
75  fill: var(--actor-color, var(--foreground));
76  cursor: pointer;
77  opacity: 1;
78  transition: transform 0.2s ease-in-out;
79  transform: translate(0, 0) scale(1);
80}
81.widget__actor[aria-hidden="true"] {
82  opacity: 0;
83  pointer-events: none;
84  visibility: hidden;
85  transform: translate(0, 16px) scale(0.98);
86}
87
88.widget__actor:hover {
89  background: var(--actor-hover-background, var(--background));
90  filter: var(--interactive-filter);
91}
92
93.widget__actor svg {
94  width: 1.14em;
95  height: 1.14em;
96}
97
98@media (max-width: 600px) {
99  .widget__actor span {
100    display: none;
101  }
102}
103`,e&&t.setAttribute("nonce",e),t}function Pt(e,t){return Object.entries(t).forEach(([n,r])=>{e.setAttributeNS(null,n,r)}),e}const es=20,g$="http://www.w3.org/2000/svg";function _$(){const e=a=>sn.document.createElementNS(g$,a),t=Pt(e("svg"),{width:`${es}`,height:`${es}`,viewBox:`0 0 ${es} ${es}`,fill:"var(--actor-color, var(--foreground))"}),n=Pt(e("g"),{clipPath:"url(#clip0_57_80)"}),r=Pt(e("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.6622 15H12.3997C12.2129 14.9959 12.031 14.9396 11.8747 14.8375L8.04965 12.2H7.49956V19.1C7.4875 19.3348 7.3888 19.5568 7.22256 19.723C7.05632 19.8892 6.83435 19.9879 6.59956 20H2.04956C1.80193 19.9968 1.56535 19.8969 1.39023 19.7218C1.21511 19.5467 1.1153 19.3101 1.11206 19.0625V12.2H0.949652C0.824431 12.2017 0.700142 12.1783 0.584123 12.1311C0.468104 12.084 0.362708 12.014 0.274155 11.9255C0.185602 11.8369 0.115689 11.7315 0.0685419 11.6155C0.0213952 11.4995 -0.00202913 11.3752 -0.00034808 11.25V3.75C-0.00900498 3.62067 0.0092504 3.49095 0.0532651 3.36904C0.0972798 3.24712 0.166097 3.13566 0.255372 3.04168C0.344646 2.94771 0.452437 2.87327 0.571937 2.82307C0.691437 2.77286 0.82005 2.74798 0.949652 2.75H8.04965L11.8747 0.1625C12.031 0.0603649 12.2129 0.00407221 12.3997 0H15.6622C15.9098 0.00323746 16.1464 0.103049 16.3215 0.278167C16.4966 0.453286 16.5964 0.689866 16.5997 0.9375V3.25269C17.3969 3.42959 18.1345 3.83026 18.7211 4.41679C19.5322 5.22788 19.9878 6.32796 19.9878 7.47502C19.9878 8.62209 19.5322 9.72217 18.7211 10.5333C18.1345 11.1198 17.3969 11.5205 16.5997 11.6974V14.0125C16.6047 14.1393 16.5842 14.2659 16.5395 14.3847C16.4948 14.5035 16.4268 14.6121 16.3394 14.7042C16.252 14.7962 16.147 14.8698 16.0307 14.9206C15.9144 14.9714 15.7891 14.9984 15.6622 15ZM1.89695 10.325H1.88715V4.625H8.33715C8.52423 4.62301 8.70666 4.56654 8.86215 4.4625L12.6872 1.875H14.7247V13.125H12.6872L8.86215 10.4875C8.70666 10.3835 8.52423 10.327 8.33715 10.325H2.20217C2.15205 10.3167 2.10102 10.3125 2.04956 10.3125C1.9981 10.3125 1.94708 10.3167 1.89695 10.325ZM2.98706 12.2V18.1625H5.66206V12.2H2.98706ZM16.5997 9.93612V5.01393C16.6536 5.02355 16.7072 5.03495 16.7605 5.04814C17.1202 5.13709 17.4556 5.30487 17.7425 5.53934C18.0293 5.77381 18.2605 6.06912 18.4192 6.40389C18.578 6.73866 18.6603 7.10452 18.6603 7.47502C18.6603 7.84552 18.578 8.21139 18.4192 8.54616C18.2605 8.88093 18.0293 9.17624 17.7425 9.41071C17.4556 9.64518 17.1202 9.81296 16.7605 9.90191C16.7072 9.91509 16.6536 9.9265 16.5997 9.93612Z"});t.appendChild(n).appendChild(r);const s=e("defs"),o=Pt(e("clipPath"),{id:"clip0_57_80"}),i=Pt(e("rect"),{width:`${es}`,height:`${es}`,fill:"white"});return o.appendChild(i),s.appendChild(o),t.appendChild(s).appendChild(o).appendChild(i),t}function y$({triggerLabel:e,triggerAriaLabel:t,shadow:n,styleNonce:r}){const s=Ce.createElement("button");if(s.type="button",s.className="widget__actor",s.ariaHidden="false",s.ariaLabel=t||e||pE,s.appendChild(_$()),e){const i=Ce.createElement("span");i.appendChild(Ce.createTextNode(e)),s.appendChild(i)}const o=m$(r);return{el:s,appendToDom(){n.appendChild(o),n.appendChild(s)},removeFromDom(){n.removeChild(s),n.removeChild(o)},show(){s.ariaHidden="false"},hide(){s.ariaHidden="true"}}}const mE="rgba(88, 74, 192, 1)",b$={foreground:"#2b2233",background:"#ffffff",accentForeground:"white",accentBackground:mE,successColor:"#268d75",errorColor:"#df3338",border:"1.5px solid rgba(41, 35, 47, 0.13)",boxShadow:"0px 4px 24px 0px rgba(43, 34, 51, 0.12)",outline:"1px auto var(--accent-background)",interactiveFilter:"brightness(95%)"},gm={foreground:"#ebe6ef",background:"#29232f",accentForeground:"white",accentBackgroun
103d:mE,successColor:"#2da98c",errorColor:"#f55459",border:"1.5px solid rgba(235, 230, 239, 0.15)",boxShadow:"0px 4px 24px 0px rgba(43, 34, 51, 0.12)",outline:"1px auto var(--accent-background)",interactiveFilter:"brightness(150%)"};function _m(e){return`
104  --foreground: ${e.foreground};
105  --background: ${e.background};
106  --accent-foreground: ${e.accentForeground};
107  --accent-background: ${e.accentBackground};
108  --success-color: ${e.successColor};
109  --error-color: ${e.errorColor};
110  --border: ${e.border};
111  --box-shadow: ${e.boxShadow};
112  --outline: ${e.outline};
113  --interactive-filter: ${e.interactiveFilter};
114  `}function S$({colorScheme:e,themeDark:t,themeLight:n,styleNonce:r}){const s=Ce.createElement("style");return s.textContent=`
115:host {
116  --font-family: system-ui, 'Helvetica Neue', Arial, sans-serif;
117  --font-size: 14px;
118  --z-index: 100000;
119
120  --page-margin: 16px;
121  --inset: auto 0 0 auto;
122  --actor-inset: var(--inset);
123
124  font-family: var(--font-family);
125  font-size: var(--font-size);
126
127  ${e!=="system"?"color-scheme: only light;":""}
128
129  ${_m(e==="dark"?{...gm,...t}:{...b$,...n})}
130}
131
132${e==="system"?`
133@media (prefers-color-scheme: dark) {
134  :host {
135    ${_m({...gm,...t})}
136  }
137}`:""}
138}
139`,r&&s.setAttribute("nonce",r),s}const gE=({lazyLoadIntegration:e,getModalIntegration:t,getScreenshotIntegration:n})=>({id:s="sentry-feedback",autoInject:o=!0,showBranding:i=!0,isEmailRequired:a=!1,isNameRequired:c=!1,showEmail:l=!0,showName:f=!0,enableScreenshot:u=!0,useSentryUser:d={email:"email",name:"username"},tags:p,styleNonce:h,scriptNonce:m,colorScheme:w="system",themeLight:v={},themeDark:S={},addScreenshotButtonLabel:g=u$,cancelButtonLabel:b=JD,confirmButtonLabel:T=ZD,emailLabel:k=n$,emailPlaceholder:x=t$,formTitle:P=e$,isRequiredLabel:C=c$,messageLabel:E=s$,messagePlaceholder:A=r$,nameLabel:I=i$,namePlaceholder:H=o$,removeScreenshotButtonLabel:q=l$,submitButtonLabel:Y=QD,successMessageText:D=a$,triggerLabel:X=pE,triggerAriaLabel:U="",onFormOpen:ce,onFormClose:Pe,onSubmitSuccess:He,onSubmitError:Ue,onFormSubmitted:It}={})=>{const rt={id:s,autoInject:o,showBranding:i,isEmailRequired:a,isNameRequired:c,showEmail:l,showName:f,enableScreenshot:u,useSentryUser:d,tags:p,styleNonce:h,scriptNonce:m,colorScheme:w,themeDark:S,themeLight:v,triggerLabel:X,triggerAriaLabel:U,cancelButtonLabel:b,submitButtonLabel:Y,confirmButtonLabel:T,formTitle:P,emailLabel:k,emailPlaceholder:x,messageLabel:E,messagePlaceholder:A,nameLabel:I,namePlaceholder:H,successMessageText:D,isRequiredLabel:C,addScreenshotButtonLabel:g,removeScreenshotButtonLabel:q,onFormClose:Pe,onFormOpen:ce,onSubmitError:Ue,onSubmitSuccess:He,onFormSubmitted:It};let ot=null,Be=[];const L=ne=>{if(!ot){const he=Ce.createElement("div");he.id=String(ne.id),Ce.body.appendChild(he),ot=he.attachShadow({mode:"open"}),ot.appendChild(S$(ne))}return ot},G=async ne=>{const he=ne.enableScreenshot&&h$();let _,y;try{_=(t?t():await e("feedbackModalIntegration",m))(),fl(_)}catch{throw Qi&&N.error("[Feedback] Error when trying to load feedback integrations. Try using `feedbackSyncIntegration` in your `Sentry.init`."),new Error("[Feedback] Missing feedback modal integration!")}try{const $=he?n?n():await e("feedbackScreenshotIntegration",m):void 0;$&&(y=$(),fl(y))}catch{Qi&&N.error("[Feedback] Missing feedback screenshot integration. Proceeding without screenshots.")}const R=_.createDialog({options:{...ne,onFormClose:()=>{R&&R.close(),ne.onFormClose&&ne.onFormClose()},onFormSubmitted:()=>{R&&R.close(),ne.onFormSubmitted&&ne.onFormSubmitted()}},screenshotIntegration:y,sendFeedback:hE,shadow:L(ne)});return R},V=(ne,he={})=>{const _=Li(rt,he),y=typeof ne=="string"?Ce.querySelector(ne):typeof ne.addEventListener=="function"?ne:null;if(!y)throw Qi&&N.error("[Feedback] Unable to attach to target element"),new Error("Unable to attach to target element");let R=null;const $=async()=>{R||(R=await G({..._,onFormSubmitted:()=>{R&&R.removeFromDom(),_.onFormSubmitted&&_.onFormSubmitted()}})),R.appendToDom(),R.open()};y.addEventListener("click",$);const O=()=>{Be=Be.filter(B=>B!==O),R&&R.removeFromDom(),R=null,y.removeEventListener("click",$)};return Be.push(O),O},Q=(ne={})=>{const he=Li(rt,ne),_=L(he),y=y$({triggerLabel:he.triggerLabel,triggerAriaLabel:he.triggerAriaLabel,shadow:_,styleNonce:h});return V(y.el,{...he,onFormOpen(){y.hide()},onFormClose(){y.show()},onFormSubmitted(){y.show()}}),y};return{name:"Feedback",setupOnce(){!gl()||!rt.autoInject||(Ce.readyState==="loading"?Ce.addEventListener("DOMContentLoaded",()=>Q().appendToDom()):Q().appendToDom())},attachTo:V,createWidget(ne={}){const he=Q(Li(rt,ne));return he.appendToDom(),he},async createForm(ne={}){return G(Li(rt,ne))},remove(){ot&&(ot.parentElement&&ot.parentElement.remove(),ot=null),Be.forEach(ne=>ne()),Be=[]}}};function E$(){const e=Z();return e&&e.getIntegrationByName("Feedback")}var Ic,xe,_E,Cr,ym,yE,Nl,Bo={},dd=[],v$=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,pd=Array.isArray;function Qn(e,t){for(var n in t)e[n]=t[n];return e}function bE(e){var t=e.parentNode;t&&t.removeChild(e)}function ge(e,t,n){var r,s,o,i={};
vendor: 4,439 bytes, line 139
139for(o in t)o=="key"?r=t[o]:o=="ref"?s=t[o]:i[o]=t[o];if(arguments.length>2&&(i.children=arguments.length>3?Ic.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(o in e.defaultProps)i[o]===void 0&&(i[o]=e.defaultProps[o]);return Zi(e,i,r,s,null)}function Zi(e,t,n,r,s){var o={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:s??++_E,__i:-1,__u:0};return s==null&&xe.vnode!=null&&xe.vnode(o),o}function ai(e){return e.children}function ea(e,t){this.props=e,this.context=t}function Fs(e,t){if(t==null)return e.__?Fs(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?Fs(e):null}function w$(e,t,n){var r,s=e.__v,o=s.__e,i=e.__P;if(i)return(r=Qn({},s)).__v=s.__v+1,xe.vnode&&xe.vnode(r),hd(i,r,s,e.__n,i.ownerSVGElement!==void 0,32&s.__u?[o]:null,t,o??Fs(s),!!(32&s.__u),n),r.__.__k[r.__i]=r,r.__d=void 0,r.__e!=o&&SE(r),r}function SE(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return SE(e)}}function bm(e){(!e.__d&&(e.__d=!0)&&Cr.push(e)&&!Ga.__r++||ym!==xe.debounceRendering)&&((ym=xe.debounceRendering)||yE)(Ga)}function Ga(){var e,t,n,r=[],s=[];for(Cr.sort(Nl);e=Cr.shift();)e.__d&&(n=Cr.length,t=w$(e,r,s)||t,n===0||Cr.length>n?(Ll(r,t,s),s.length=r.length=0,t=void 0,Cr.sort(Nl)):t&&xe.__c&&xe.__c(t,dd));t&&Ll(r,t,s),Ga.__r=0}function EE(e,t,n,r,s,o,i,a,c,l,f){var u,d,p,h,m,w=r&&r.__k||dd,v=t.length;for(n.__d=c,T$(n,t,w),c=n.__d,u=0;u<v;u++)(p=n.__k[u])!=null&&typeof p!="boolean"&&typeof p!="function"&&(d=p.__i===-1?Bo:w[p.__i]||Bo,p.__i=u,hd(e,p,d,s,o,i,a,c,l,f),h=p.__e,p.ref&&d.ref!=p.ref&&(d.ref&&md(d.ref,null,p),f.push(p.ref,p.__c||h,p)),m==null&&h!=null&&(m=h),65536&p.__u||d.__k===p.__k?c=vE(p,c,e):typeof p.type=="function"&&p.__d!==void 0?c=p.__d:h&&(c=h.nextSibling),p.__d=void 0,p.__u&=-196609);n.__d=c,n.__e=m}function T$(e,t,n){var r,s,o,i,a,c=t.length,l=n.length,f=l,u=0;for(e.__k=[],r=0;r<c;r++)(s=e.__k[r]=(s=t[r])==null||typeof s=="boolean"||typeof s=="function"?null:typeof s=="string"||typeof s=="number"||typeof s=="bigint"||s.constructor==String?Zi(null,s,null,null,s):pd(s)?Zi(ai,{children:s},null,null,null):s.constructor===void 0&&s.__b>0?Zi(s.type,s.props,s.key,s.ref?s.ref:null,s.__v):s)!=null?(s.__=e,s.__b=e.__b+1,a=C$(s,n,i=r+u,f),s.__i=a,o=null,a!==-1&&(f--,(o=n[a])&&(o.__u|=131072)),o==null||o.__v===null?(a==-1&&u--,typeof s.type!="function"&&(s.__u|=65536)):a!==i&&(a===i+1?u++:a>i?f>c-i?u+=a-i:u--:u=a<i&&a==i-1?a-i:0,a!==r+u&&(s.__u|=65536))):(o=n[r])&&o.key==null&&o.__e&&(o.__e==e.__d&&(e.__d=Fs(o)),Dl(o,o,!1),n[r]=null,f--);if(f)for(r=0;r<l;r++)(o=n[r])!=null&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=Fs(o)),Dl(o,o))}function vE(e,t,n){var r,s;if(typeof e.type=="function"){for(r=e.__k,s=0;r&&s<r.length;s++)r[s]&&(r[s].__=e,t=vE(r[s],t,n));return t}e.__e!=t&&(n.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function C$(e,t,n,r){var s=e.key,o=e.type,i=n-1,a=n+1,c=t[n];if(c===null||c&&s==c.key&&o===c.type)return n;if(r>(c!=null&&!(131072&c.__u)?1:0))for(;i>=0||a<t.length;){if(i>=0){if((c=t[i])&&!(131072&c.__u)&&s==c.key&&o===c.type)return i;i--}if(a<t.length){if((c=t[a])&&!(131072&c.__u)&&s==c.key&&o===c.type)return a;a++}}return-1}function Sm(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||v$.test(t)?n:n+"px"}function Di(e,t,n,r,s){var o;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||Sm(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Sm(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")o=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r?n.u=r.u:(n.u=Date.now(),e.addEventListener(t,o?vm:Em,o)):e.removeEventListener(t,o?vm:Em,o);else{if(s)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!=="width"&&t!=="height"&&t!=="href"&&t!=="list"&&t!=="form"&&t!=="tabIndex"&&t!=="download"&&t!=="rowSpan"&&t!=="colSpan"&&t!=="role"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,n))}}function Em(e){if(this.l){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();
vendor: 5,232 bytes, line 139
139return t(xe.event?xe.event(e):e)}}function vm(e){if(this.l)return this.l[e.type+!0](xe.event?xe.event(e):e)}function hd(e,t,n,r,s,o,i,a,c,l){var f,u,d,p,h,m,w,v,S,g,b,T,k,x,P,C=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(c=!!(32&n.__u),o=[a=t.__e=n.__e]),(f=xe.__b)&&f(t);e:if(typeof C=="function")try{if(v=t.props,S=(f=C.contextType)&&r[f.__c],g=f?S?S.props.value:f.__:r,n.__c?w=(u=t.__c=n.__c).__=u.__E:("prototype"in C&&C.prototype.render?t.__c=u=new C(v,g):(t.__c=u=new ea(v,g),u.constructor=C,u.render=I$),S&&S.sub(u),u.props=v,u.state||(u.state={}),u.context=g,u.__n=r,d=u.__d=!0,u.__h=[],u._sb=[]),u.__s==null&&(u.__s=u.state),C.getDerivedStateFromProps!=null&&(u.__s==u.state&&(u.__s=Qn({},u.__s)),Qn(u.__s,C.getDerivedStateFromProps(v,u.__s))),p=u.props,h=u.state,u.__v=t,d)C.getDerivedStateFromProps==null&&u.componentWillMount!=null&&u.componentWillMount(),u.componentDidMount!=null&&u.__h.push(u.componentDidMount);else{if(C.getDerivedStateFromProps==null&&v!==p&&u.componentWillReceiveProps!=null&&u.componentWillReceiveProps(v,g),!u.__e&&(u.shouldComponentUpdate!=null&&u.shouldComponentUpdate(v,u.__s,g)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(u.props=v,u.state=u.__s,u.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(E){E&&(E.__=t)}),b=0;b<u._sb.length;b++)u.__h.push(u._sb[b]);u._sb=[],u.__h.length&&i.push(u);break e}u.componentWillUpdate!=null&&u.componentWillUpdate(v,u.__s,g),u.componentDidUpdate!=null&&u.__h.push(function(){u.componentDidUpdate(p,h,m)})}if(u.context=g,u.props=v,u.__P=e,u.__e=!1,T=xe.__r,k=0,"prototype"in C&&C.prototype.render){for(u.state=u.__s,u.__d=!1,T&&T(t),f=u.render(u.props,u.state,u.context),x=0;x<u._sb.length;x++)u.__h.push(u._sb[x]);u._sb=[]}else do u.__d=!1,T&&T(t),f=u.render(u.props,u.state,u.context),u.state=u.__s;while(u.__d&&++k<25);u.state=u.__s,u.getChildContext!=null&&(r=Qn(Qn({},r),u.getChildContext())),d||u.getSnapshotBeforeUpdate==null||(m=u.getSnapshotBeforeUpdate(p,h)),EE(e,pd(P=f!=null&&f.type===ai&&f.key==null?f.props.children:f)?P:[P],t,n,r,s,o,i,a,c,l),u.base=t.__e,t.__u&=-161,u.__h.length&&i.push(u),w&&(u.__E=u.__=null)}catch(E){t.__v=null,c||o!=null?(t.__e=a,t.__u|=c?160:32,o[o.indexOf(a)]=null):(t.__e=n.__e,t.__k=n.__k),xe.__e(E,t,n)}else o==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=k$(n.__e,t,n,r,s,o,i,c,l);(f=xe.diffed)&&f(t)}function Ll(e,t,n){for(var r=0;r<n.length;r++)md(n[r],n[++r],n[++r]);xe.__c&&xe.__c(t,e),e.some(function(s){try{e=s.__h,s.__h=[],e.some(function(o){o.call(s)})}catch(o){xe.__e(o,s.__v)}})}function k$(e,t,n,r,s,o,i,a,c){var l,f,u,d,p,h,m,w=n.props,v=t.props,S=t.type;if(S==="svg"&&(s=!0),o!=null){for(l=0;l<o.length;l++)if((p=o[l])&&"setAttribute"in p==!!S&&(S?p.localName===S:p.nodeType===3)){e=p,o[l]=null;break}}if(e==null){if(S===null)return document.createTextNode(v);e=s?document.createElementNS("http://www.w3.org/2000/svg",S):document.createElement(S,v.is&&v),o=null,a=!1}if(S===null)w===v||a&&e.data===v||(e.data=v);else{if(o=o&&Ic.call(e.childNodes),w=n.props||Bo,!a&&o!=null)for(w={},l=0;l<e.attributes.length;l++)w[(p=e.attributes[l]).name]=p.value;for(l in w)p=w[l],l=="children"||(l=="dangerouslySetInnerHTML"?u=p:l==="key"||l in v||Di(e,l,null,p,s));for(l in v)p=v[l],l=="children"?d=p:l=="dangerouslySetInnerHTML"?f=p:l=="value"?h=p:l=="checked"?m=p:l==="key"||a&&typeof p!="function"||w[l]===p||Di(e,l,p,w[l],s);if(f)a||u&&(f.__html===u.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(u&&(e.innerHTML=""),EE(e,pd(d)?d:[d],t,n,r,s&&S!=="foreignObject",o,i,o?o[0]:n.__k&&Fs(n,0),a,c),o!=null)for(l=o.length;l--;)o[l]!=null&&bE(o[l]);a||(l="value",h!==void 0&&(h!==e[l]||S==="progress"&&!h||S==="option"&&h!==w[l])&&Di(e,l,h,w[l],!1),l="checked",m!==void 0&&m!==e[l]&&Di(e,l,m,w[l],!1))}return e}function md(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){xe.__e(r,n)}}function Dl(e,t,n){var r,s;if(xe.unmount&&xe.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||md(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(o){xe.__e(o,t)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(s=0;s<r.length;s++)r[s]&&Dl(r[s],t,n||typeof e.type!="function");n||e.__e==null||bE(e.__e),e.__=e.__e=e.__d=void 0}function I$(e,t,n){return this.constructor(e,n)}function x$(e,t,n){var r,s,o,i;xe.__&&xe.__(e,t),s=(r=!1)?null:t.__k,o=[],i=[],hd(t,e=t.__k=ge(ai,null,[e]),s||Bo,Bo,t.ownerSVGElement!==void 0,s?null:t.firstChild?Ic.call(t.childNodes):null,o,s?s.__e:t.firstChild,r,i),e.__d=void 0,Ll(o,e,i)}Ic=dd.slice,xe={__e:function(e,t,n,r){for(var s,o,i;t=t.__;)if((s=t.__c)&&!s.__)try{if((o=s.constructor)&&o.getDerivedStateFromError!=null&&(s.setState(o.getDerivedStateFromError(e)),i=s.__d),s.componentDidCatch!=null&&(s.componentDidCatch(e,r||{}),i=s.__d),i)return s.__E=s}catch(a){e=a}throw e}},_E=0,ea.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Qn({},this.state),typeof e=="function"&&(e=e(Qn({},n),this.props)),e&&Qn(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),bm(this))},ea.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),bm(this))},ea.prototype.render=ai,Cr=[],yE=typeof Promise=="function"?Promise.prototype.then.bind(Prom
139ise.resolve()):setTimeout,Nl=function(e,t){return e.__v.__b-t.__v.__b},Ga.__r=0;var Nn,Ie,hu,wm,Hs=0,wE=[],ta=[],Fe=xe,Tm=Fe.__b,Cm=Fe.__r,km=Fe.diffed,Im=Fe.__c,xm=Fe.unmount,Rm=Fe.__;function Yr(e,t){Fe.__h&&Fe.__h(Ie,e,Hs||t),Hs=0;var n=Ie.__H||(Ie.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:ta}),n.__[e]}function Ss(e){return Hs=1,TE(kE,e)}function TE(e,t,n){var r=Yr(Nn++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):kE(void 0,t),function(a){var c=r.__N?r.__N[0]:r.__[0],l=r.t(c,a);c!==l&&(r.__N=[l,r.__[1]],r.__c.setState({}))}],r.__c=Ie,!Ie.u)){var s=function(a,c,l){if(!r.__c.__H)return!0;var f=r.__c.__H.__.filter(function(d){return!!d.__c});if(f.every(function(d){return!d.__N}))return!o||o.call(this,a,c,l);var u=!1;return f.forEach(function(d){if(d.__N){var p=d.__[0];d.__=d.__N,d.__N=void 0,p!==d.__[0]&&(u=!0)}}),!(!u&&r.__c.props===a)&&(!o||o.call(this,a,c,l))};Ie.u=!0;var o=Ie.shouldComponentUpdate,i=Ie.componentWillUpdate;Ie.componentWillUpdate=function(a,c,l){if(this.__e){var f=o;o=void 0,s(a,c,l),o=f}i&&i.call(this,a,c,l)},Ie.shouldComponentUpdate=s}return r.__N||r.__}function R$(e,t){var n=Yr(Nn++,3);!Fe.__s&&gd(n.__H,t)&&(n.__=e,n.i=t,Ie.__H.__h.push(n))}function CE(e,t){var n=Yr(Nn++,4);!Fe.__s&&gd(n.__H,t)&&(n.__=e,n.i=t,Ie.__h.push(n))}function A$(e){return Hs=5,ci(function(){return{current:e}},[])}function M$(e,t,n){Hs=6,CE(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function ci(e,t){var n=Yr(Nn++,7);return gd(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function Es(e,t){return Hs=8,ci(function(){return e},t)}function O$(e){var t=Ie.context[e.__c],n=Yr(Nn++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(Ie)),t.props.value):e.__}function P$(e,t){Fe.useDebugValue&&Fe.useDebugValue(t?t(e):e)}function N$(e){var t=Yr(Nn++,10),n=Ss();return t.__=e,Ie.componentDidCatch||(Ie.componentDidCatch=function(r,s){t.__&&t.__(r,s),n[1](r)}),[n[0],function(){n[1](void 0)}]}function L$(){var e=Yr(Nn++,11);if(!e.__){for(var t=Ie.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function D$(){for(var e;e=wE.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(na),e.__H.__h.forEach($l),e.__H.__h=[]}catch(t){e.__H.__h=[],Fe.__e(t,e.__v)}}Fe.__b=function(e){Ie=null,Tm&&Tm(e)},Fe.__=function(e,t){t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Rm&&Rm(e,t)},Fe.__r=function(e){Cm&&Cm(e),Nn=0;var t=(Ie=e.__c).__H;t&&(hu===Ie?(t.__h=[],Ie.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=ta,n.__N=n.i=void 0})):(t.__h.forEach(na),t.__h.forEach($l),t.__h=[],Nn=0)),hu=Ie},Fe.diffed=function(e){km&&km(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(wE.push(t)!==1&&wm===Fe.requestAnimationFrame||((wm=Fe.requestAnimationFrame)||$$)(D$)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==ta&&(n.__=n.__V),n.i=void 0,n.__V=ta})),hu=Ie=null},Fe.__c=function(e,t){t.some(function(n){try{n.__h.forEach(na),n.__h=n.__h.filter(function(r){return!r.__||$l(r)})}catch(r){t.some(function(s){s.__h&&(s.__h=[])}),t=[],Fe.__e(r,n.__v)}}),Im&&Im(e,t)},Fe.unmount=function(e){xm&&xm(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{na(r)}catch(s){t=s}}),n.__H=void 0,t&&Fe.__e(t,n.__v))};var Am=typeof requestAnimationFrame=="function";function $$(e){var t,n=function(){clearTimeout(r),Am&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Am&&(t=requestAnimationFrame(n))}function na(e){var t=Ie,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),Ie=t}function $l(e){var t=Ie;e.__c=e.__(),Ie=t}function gd(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function kE(e,t){return typeof t=="function"?t(e):t}const F$={__proto__:null,useCallback:Es,useContext:O$,useDebugValue:P$,useEffect:R$,useErrorBoundary:N$,useId:L$,useImperativeHandle:M$,useLayoutEffect:CE,useMemo:ci,useReducer:TE,useRef:A$,useState:Ss},H$="http://www.w3.org/2000/svg";function U$(){const e=r=>Ce.createElementNS(H$,r),t=Pt(e("svg"),{width:"32",height:"30",viewBox:"0 0 72 66",fill:"inherit"}),n=Pt(e("path"),{transform:"translate(11, 11)",d:"M29,2.26a4.67,4.67,0,0,0-8,0L14.42,13.53A32.21,32.21,0,0,1,32.17,40.19H27.55A27.68,27.68,0,0,0,12.09,17.47L6,28a15.92,15.92,0,0,1,9.23,12.17H4.62A.76.76,0,0,1,4,39.06l2.94-5a10.74,10.74,0,0,0-3.36-1.9l-2.91,5a4.54,4.54,0,0,0,1.69,6.24A4.66,4.66,0,0,0,4.62,44H19.15a19.4,19.4,0,0,0-8-17.31l2.31-4A23.87,23.87,0,0,1,23.76,44H36.07a35.88,35.88,0,0,0-16.41-31.8l4.67-8a.77.77,0,0,1,1.05-.27c.53.29,20.29,34.77,20.66,35.17a.76.76,0,0,1-.68,1.13H40.6q.09,1.91,0,3.81h4.78A4.59,4.59,0,0,0,50,39.43a4.49,4.49,0,0,0-.62-2.28Z"});return t.appendChild(n),t}function B$({options:e}){const t=ci(()=>({__html:U$().outerHTML}),[]);return ge("h2",{class:"dialog__header"},ge("span",{class:"dialog__title"},e.formTitle),e.showBranding?ge("a",{class:"brand-link",target:"_blank",href:"https://sentry.io/welcome/",title:"Powered by Sentry",rel:"noopener noreferrer",dangerouslySetInnerHTML:t}):null)}function j$(e,t){const n=[];return t.isNameRequired&&!e.name&&n.push(t.nameLabel),t.isEmailRequired&&!e.email&&n.push(t.emailLabel),e.message||n.push(t.messageLabel),n}function mu(e,t){const n=e.get(t);return typeof n=="string"?n.trim():""}function W$({options:e,defaultEmail:t,defaultName:n,onFormClose:r,onSubmit:s,onSubmitSuccess:o,onSubmitError:i,showEmail
139:a,showName:c,screenshotInput:l}){const{tags:f,addScreenshotButtonLabel:u,removeScreenshotButtonLabel:d,cancelButtonLabel:p,emailLabel:h,emailPlaceholder:m,isEmailRequired:w,isNameRequired:v,messageLabel:S,messagePlaceholder:g,nameLabel:b,namePlaceholder:T,submitButtonLabel:k,isRequiredLabel:x}=e,[P,C]=Ss(null),[E,A]=Ss(!1),I=l&&l.input,[H,q]=Ss(null),Y=Es(U=>{q(U),A(!1)},[]),D=Es(U=>{const ce=j$(U,{emailLabel:h,isEmailRequired:w,isNameRequired:v,messageLabel:S,nameLabel:b});return ce.length>0?C(`Please enter in the following required fields: ${ce.join(", ")}`):C(null),ce.length===0},[h,w,v,S,b]),X=Es(async U=>{try{if(U.preventDefault(),!(U.target instanceof HTMLFormElement))return;const ce=new FormData(U.target),Pe=await(l&&E?l.value():void 0),He={name:mu(ce,"name"),email:mu(ce,"email"),message:mu(ce,"message"),attachments:Pe?[Pe]:void 0};if(!D(He))return;try{await s({name:He.name,email:He.email,message:He.message,source:f$,tags:f},{attachments:He.attachments}),o(He)}catch(Ue){Qi&&N.error(Ue),C(Ue),i(Ue)}}catch{}},[l&&E,o,i]);return ge("form",{class:"form",onSubmit:X},I&&E?ge(I,{onError:Y}):null,ge("div",{class:"form__right","data-sentry-feedback":!0},ge("div",{class:"form__top"},P?ge("div",{class:"form__error-container"},P):null,c?ge("label",{for:"name",class:"form__label"},ge(gu,{label:b,isRequiredLabel:x,isRequired:v}),ge("input",{class:"form__input",defaultValue:n,id:"name",name:"name",placeholder:T,required:v,type:"text"})):ge("input",{"aria-hidden":!0,value:n,name:"name",type:"hidden"}),a?ge("label",{for:"email",class:"form__label"},ge(gu,{label:h,isRequiredLabel:x,isRequired:w}),ge("input",{class:"form__input",defaultValue:t,id:"email",name:"email",placeholder:m,required:w,type:"email"})):ge("input",{"aria-hidden":!0,value:t,name:"email",type:"hidden"}),ge("label",{for:"message",class:"form__label"},ge(gu,{label:S,isRequiredLabel:x,isRequired:!0}),ge("textarea",{autoFocus:!0,class:"form__input form__input--textarea",id:"message",name:"message",placeholder:g,required:!0,rows:5})),I?ge("label",{for:"screenshot",class:"form__label"},ge("button",{class:"btn btn--default",type:"button",onClick:()=>{q(null),A(U=>!U)}},E?d:u),H?ge("div",{class:"form__error-container"},H.message):null):null),ge("div",{class:"btn-group"},ge("button",{class:"btn btn--primary",type:"submit"},k),ge("button",{class:"btn btn--default",type:"button",onClick:r},p))))}function gu({label:e,isRequired:t,isRequiredLabel:n}){return ge("span",{class:"form__label__text"},e,t&&ge("span",{class:"form__label__text--required"},n))}const $i=16,Mm=17,V$="http://www.w3.org/2000/svg";function z$(){const e=c=>sn.document.createElementNS(V$,c),t=Pt(e("svg"),{width:`${$i}`,height:`${Mm}`,viewBox:`0 0 ${$i} ${Mm}`,fill:"inherit"}),n=Pt(e("g"),{clipPath:"url(#clip0_57_156)"}),r=Pt(e("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.55544 15.1518C4.87103 16.0308 6.41775 16.5 8 16.5C10.1217 16.5 12.1566 15.6571 13.6569 14.1569C15.1571 12.6566 16 10.6217 16 8.5C16 6.91775 15.5308 5.37103 14.6518 4.05544C13.7727 2.73985 12.5233 1.71447 11.0615 1.10897C9.59966 0.503466 7.99113 0.34504 6.43928 0.653721C4.88743 0.962403 3.46197 1.72433 2.34315 2.84315C1.22433 3.96197 0.462403 5.38743 0.153721 6.93928C-0.15496 8.49113 0.00346625 10.0997 0.608967 11.5615C1.21447 13.0233 2.23985 14.2727 3.55544 15.1518ZM4.40546 3.1204C5.46945 2.40946 6.72036 2.03 8 2.03C9.71595 2.03 11.3616 2.71166 12.575 3.92502C13.7883 5.13838 14.47 6.78405 14.47 8.5C14.47 9.77965 14.0905 11.0306 13.3796 12.0945C12.6687 13.1585 11.6582 13.9878 10.476 14.4775C9.29373 14.9672 7.99283 15.0953 6.73777 14.8457C5.48271 14.596 4.32987 13.9798 3.42502 13.075C2.52018 12.1701 1.90397 11.0173 1.65432 9.76224C1.40468 8.50718 1.5328 7.20628 2.0225 6.02404C2.5122 4.8418 3.34148 3.83133 4.40546 3.1204Z"}),s=Pt(e("path"),{d:"M6.68775 12.4297C6.78586 12.4745 6.89218 12.4984 7 12.5C7.11275 12.4955 7.22315 12.4664 7.32337 12.4145C7.4236 12.3627 7.51121 12.2894 7.58 12.2L12 5.63999C12.0848 5.47724 12.1071 5.28902 12.0625 5.11098C12.0178 4.93294 11.9095 4.77744 11.7579 4.67392C11.6064 4.57041 11.4221 4.52608 11.24 4.54931C11.0579 4.57254 10.8907 4.66173 
13910.77 4.79999L6.88 10.57L5.13 8.56999C5.06508 8.49566 4.98613 8.43488 4.89768 8.39111C4.80922 8.34735 4.713 8.32148 4.61453 8.31498C4.51605 8.30847 4.41727 8.32147 4.32382 8.35322C4.23038 8.38497 4.14413 8.43484 4.07 8.49999C3.92511 8.63217 3.83692 8.81523 3.82387 9.01092C3.81083 9.2066 3.87393 9.39976 4 9.54999L6.43 12.24C6.50187 12.3204 6.58964 12.385 6.68775 12.4297Z"});t.appendChild(n).append(s,r);const o=e("defs"),i=Pt(e("clipPath"),{id:"clip0_57_156"}),a=Pt(e("rect"),{width:`${$i}`,height:`${$i}`,fill:"white",transform:"translate(0 0.5)"});return i.appendChild(a),o.appendChild(i),t.appendChild(o).appendChild(i).appendChild(a),t}function q$({open:e,onFormSubmitted:t,...n}){const r=n.options,s=ci(()=>({__html:z$().outerHTML}),[]),[o,i]=Ss(null),a=Es(()=>{o&&(clearTimeout(o),i(null)),t()},[o]),c=Es(l=>{n.onSubmitSuccess(l),i(setTimeout(()=>{t(),i(null)},p$))},[t]);return ge(ai,null,o?ge("div",{class:"success__position",onClick:a},ge("div",{class:"success__content"},r.successMessageText,ge("span",{class:"success__icon",dangerouslySetInnerHTML:s}))):ge("dialog",{class:"dialog",onClick:r.onFormClose,open:e},ge("div",{class:"dialog__position"},ge("div",{class:"dialog__content",onClick:l=>{l.stopPropagation()}},ge(B$,{options:r}),ge(W$,{...n,onSubmitSuccess:c})))))}const G$=`
140.dialog {
141  position: fixed;
142  z-index: var(--z-index);
143  margin: 0;
144  inset: 0;
145
146  display: flex;
147  align-items: center;
148  justify-content: center;
149  padding: 0;
150  height: 100vh;
151  width: 100vw;
152
153  color: var(--dialog-color, var(--foreground));
154  fill: var(--dialog-color, var(--foreground));
155  line-height: 1.75em;
156
157  background-color: rgba(0, 0, 0, 0.05);
158  border: none;
159  inset: 0;
160  opacity: 1;
161  transition: opacity 0.2s ease-in-out;
162}
163
164.dialog__position {
165  position: fixed;
166  z-index: var(--z-index);
167  inset: var(--dialog-inset);
168  padding: var(--page-margin);
169  display: flex;
170  max-height: calc(100vh - (2 * var(--page-margin)));
171}
172@media (max-width: 600px) {
173  .dialog__position {
174    inset: var(--page-margin);
175    padding: 0;
176  }
177}
178
179.dialog__position:has(.editor) {
180  inset: var(--page-margin);
181  padding: 0;
182}
183
184.dialog:not([open]) {
185  opacity: 0;
186  pointer-events: none;
187  visibility: hidden;
188}
189.dialog:not([open]) .dialog__content {
190  transform: translate(0, -16px) scale(0.98);
191}
192
193.dialog__content {
194  display: flex;
195  flex-direction: column;
196  gap: 16px;
197  padding: var(--dialog-padding, 24px);
198  max-width: 100%;
199  width: 100%;
200  max-height: 100%;
201  overflow: auto;
202
203  background: var(--dialog-background, var(--background));
204  border-radius: var(--dialog-border-radius, 20px);
205  border: var(--dialog-border, var(--border));
206  box-shadow: var(--dialog-box-shadow, var(--box-shadow));
207  transform: translate(0, 0) scale(1);
208  transition: transform 0.2s ease-in-out;
209}
210
211`,K$=`
212.dialog__header {
213  display: flex;
214  gap: 4px;
215  justify-content: space-between;
216  font-weight: var(--dialog-header-weight, 600);
217  margin: 0;
218}
219.dialog__title {
220  align-self: center;
221  width: var(--form-width, 272px);
222}
223
224@media (max-width: 600px) {
225  .dialog__title {
226    width: auto;
227  }
228}
229
230.dialog__position:has(.editor) .dialog__title {
231  width: auto;
232}
233
234
235.brand-link {
236  display: inline-flex;
237}
238.brand-link:focus-visible {
239  outline: var(--outline);
240}
241`,Y$=`
242.form {
243  display: flex;
244  overflow: auto;
245  flex-direction: row;
246  gap: 16px;
247  flex: 1 0;
248}
249
250.form__right {
251  flex: 0 0 auto;
252  display: flex;
253  overflow: auto;
254  flex-direction: column;
255  justify-content: space-between;
256  gap: 20px;
257  width: var(--form-width, 100%);
258}
259
260.dialog__position:has(.editor) .form__right {
261  width: var(--form-width, 272px);
262}
263
264.form__top {
265  display: flex;
266  flex-direction: column;
267  gap: 8px;
268}
269
270.form__error-container {
271  color: var(--error-color);
272  fill: var(--error-color);
273}
274
275.form__label {
276  display: flex;
277  flex-direction: column;
278  gap: 4px;
279  margin: 0px;
280}
281
282.form__label__text {
283  display: flex;
284  gap: 4px;
285  align-items: center;
286}
287
288.form__label__text--required {
289  font-size: 0.85em;
290}
291
292.form__input {
293  font-family: inherit;
294  line-height: inherit;
295  background: transparent;
296  box-sizing: border-box;
297  border: var(--input-border, var(--border));
298  border-radius: var(--input-border-radius, 6px);
299  color: var(--input-color, inherit);
300  fill: var(--input-color, inherit);
301  font-size: var(--input-font-size, inherit);
302  font-weight: var(--input-font-weight, 500);
303  padding: 6px 12px;
304}
305
306.form__input::placeholder {
307  opacity: 0.65;
308  color: var(--input-placeholder-color, inherit);
309  filter: var(--interactive-filter);
310}
311
312.form__input:focus-visible {
313  outline: var(--input-focus-outline, var(--outline));
314}
315
316.form__input--textarea {
317  font-family: inherit;
318  resize: vertical;
319}
320
321.error {
322  color: var(--error-color);
323  fill: var(--error-color);
324}
325`,X$=`
326.btn-group {
327  display: grid;
328  gap: 8px;
329}
330
331.btn {
332  line-height: inherit;
333  border: var(--button-border, var(--border));
334  border-radius: var(--button-border-radius, 6px);
335  cursor: pointer;
336  font-family: inherit;
337  font-size: var(--button-font-size, inherit);
338  font-weight: var(--button-font-weight, 600);
339  padding: var(--button-padding, 6px 16px);
340}
341.btn[disabled] {
342  opacity: 0.6;
343  pointer-events: none;
344}
345
346.btn--primary {
347  color: var(--button-primary-color, var(--accent-foreground));
348  fill: var(--button-primary-color, var(--accent-foreground));
349  background: var(--button-primary-background, var(--accent-background));
350  border: var(--button-primary-border, var(--border));
351  border-radius: var(--button-primary-border-radius, 6px);
352  font-weight: var(--button-primary-font-weight, 500);
353}
354.btn--primary:hover {
355  color: var(--button-primary-hover-color, var(--accent-foreground));
356  fill: var(--button-primary-hover-color, var(--accent-foreground));
357  background: var(--button-primary-hover-background, var(--accent-background));
358  filter: var(--interactive-filter);
359}
360.btn--primary:focus-visible {
361  background: var(--button-primary-hover-background, var(--accent-background));
362  filter: var(--interactive-filter);
363  outline: var(--button-primary-focus-outline, var(--outline));
364}
365
366.btn--default {
367  color: var(--button-color, var(--foreground));
368  fill: var(--button-color, var(--foreground));
369  background: var(--button-background, var(--background));
370  border: var(--button-border, var(--border));
371  border-radius: var(--button-border-radius, 6px);
372  font-weight: var(--button-font-weight, 500);
373}
374.btn--default:hover {
375  color: var(--button-color, var(--foreground));
376  fill: var(--button-color, var(--foreground));
377  background: var(--button-hover-background, var(--background));
378  filter: var(--interactive-filter);
379}
380.btn--default:focus-visible {
381  background: var(--button-hover-background, var(--background));
382  filter: var(--interactive-filter);
383  outline: var(--button-focus-outline, var(--outline));
384}
385`,J$=`
386.success__position {
387  position: fixed;
388  inset: var(--dialog-inset);
389  padding: var(--page-margin);
390  z-index: var(--z-index);
391}
392.success__content {
393  background: var(--success-background, var(--background));
394  border: var(--success-border, var(--border));
395  border-radius: var(--success-border-radius, 1.7em/50%);
396  box-shadow: var(--success-box-shadow, var(--box-shadow));
397  font-weight: var(--success-font-weight, 600);
398  color: var(--success-color);
399  fill: var(--success-color);
400  padding: 12px 24px;
401  line-height: 1.75em;
402
403  display: grid;
404  align-items: center;
405  grid-auto-flow: column;
406  gap: 6px;
407  cursor: default;
408}
409
410.success__icon {
411  display: flex;
412}
413`;function Q$(e){const t=Ce.createElement("style");return t.textContent=`
414:host {
415  --dialog-inset: var(--inset);
416}
417
418${G$}
419${K$}
420${Y$}
421${X$}
422${J$}
423`,e&&t.setAttribute("nonce",e),t}function Z$(){const e=de().getUser(),t=Ye().getUser(),n=lc().getUser();return e&&Object.keys(e).length?e:t&&Object.keys(t).length?t:n}const eF=()=>({name:"FeedbackModal",setupOnce(){},createDialog:({options:e,screenshotIntegration:t,sendFeedback:n,shadow:r})=>{const s=r,o=e.useSentryUser,i=Z$(),a=Ce.createElement("div"),c=Q$(e.styleNonce);let l="";const f={get el(){return a},appendToDom(){!s.contains(c)&&!s.contains(a)&&(s.appendChild(c),s.appendChild(a))},removeFromDom(){s.removeChild(a),s.removeChild(c),Ce.body.style.overflow=l},open(){d(!0),e.onFormOpen&&e.onFormOpen(),l=Ce.body.style.overflow,Ce.body.style.overflow="hidden"},close(){d(!1),Ce.body.style.overflow=l}},u=t&&t.createInput({h:ge,hooks:F$,dialog:f,options:e}),d=p=>{x$(ge(q$,{options:e,screenshotInput:u,showName:e.showName||e.isNameRequired,showEmail:e.showEmail||e.isEmailRequired,defaultName:o&&i&&i[o.name]||"",defaultEmail:o&&i&&i[o.email]||"",onFormClose:()=>{d(!1),e.onFormClose&&e.onFormClose()},onSubmit:n,onSubmitSuccess:h=>{d(!1),e.onSubmitSuccess&&e.onSubmitSuccess(h)},onSubmitError:h=>{e.onSubmitError&&e.onSubmitError(h)},onFormSubmitted:()=>{e.onFormSubmitted&&e.onFormSubmitted()},open:p}),a)};return f}});function tF({h:e}){return function({top:n,left:r,corner:s,onGrabButton:o}){return e("button",{class:`editor__crop-corner editor__crop-corner--${s} `,style:{top:n,left:r},onMouseDown:i=>{i.preventDefault(),o(i,s)},onClick:i=>{i.preventDefault()}})}}function nF(e){const t=Ce.createElement("style"),n="#1A141F",r="#302735";return t.textContent=`
424.editor {
425  padding: 10px;
426  padding-top: 65px;
427  padding-bottom: 65px;
428  flex-grow: 1;
429
430  background-color: ${n};
431  background-image: repeating-linear-gradient(
432      -145deg,
433      transparent,
434      transparent 8px,
435      ${n} 8px,
436      ${n} 11px
437    ),
438    repeating-linear-gradient(
439      -45deg,
440      transparent,
441      transparent 15px,
442      ${r} 15px,
443      ${r} 16px
444    );
445}
446
447.editor__canvas-container {
448  width: 100%;
449  height: 100%;
450  position: relative;
451  display: flex;
452  align-items: center;
453  justify-content: center;
454}
455
456.editor__canvas-container canvas {
457  object-fit: contain;
458  position: relative;
459}
460
461.editor__crop-btn-group {
462  padding: 8px;
463  gap: 8px;
464  border-radius: var(--menu-border-radius, 6px);
465  background: var(--button-primary-background, var(--background));
466  width: 175px;
467  position: absolute;
468}
469
470.editor__crop-corner {
471  width: 30px;
472  height: 30px;
473  position: absolute;
474  background: none;
475  border: 3px solid #ffffff;
476}
477
478.editor__crop-corner--top-left {
479  cursor: nwse-resize;
480  border-right: none;
481  border-bottom: none;
482}
483.editor__crop-corner--top-right {
484  cursor: nesw-resize;
485  border-left: none;
486  border-bottom: none;
487}
488.editor__crop-corner--bottom-left {
489  cursor: nesw-resize;
490  border-right: none;
491  border-top: none;
492}
493.editor__crop-corner--bottom-right {
494  cursor: nwse-resize;
495  border-left: none;
496  border-top: none;
497}
498`,e&&t.setAttribute("nonce",e),t}function rF({hooks:e}){return function({onBeforeScreenshot:n,onScreenshot:r,onAfterScreenshot:s,onError:o}){e.useEffect(()=>{(async()=>{n();const a=await io.mediaDevices.getDisplayMedia({video:{width:sn.innerWidth*sn.devicePixelRatio,height:sn.innerHeight*sn.devicePixelRatio},audio:!1,monitorTypeSurfaces:"exclude",preferCurrentTab:!0,selfBrowserSurface:"include",surfaceSwitching:"exclude"}),c=Ce.createElement("video");await new Promise((l,f)=>{c.srcObject=a,c.onloadedmetadata=()=>{r(c),a.getTracks().forEach(u=>u.stop()),l()},c.play().catch(f)}),s()})().catch(o)},[])}}const ao=30,pn=3,Un=ao+pn,St=sn.devicePixelRatio,ro=e=>({x:Math.min(e.startX,e.endX),y:Math.min(e.startY,e.endY),width:Math.abs(e.startX-e.endX),height:Math.abs(e.startY-e.endY)}),_u=e=>{const t=e.clientHeight,n=e.clientWidth,r=e.width/e.height;let s=t*r,o=t;s>n&&(s=n,o=n/r);const i=(n-s)/2,a=(t-o)/2;return{startX:i,startY:a,endX:s+i,endY:o+a}};function sF({h:e,hooks:t,imageBuffer:n,dialog:r,options:s}){const o=rF({hooks:t});return function({onError:a}){const c=t.useMemo(()=>({__html:nF(s.styleNonce).innerText}),[]),l=tF({h:e}),f=t.useRef(null),u=t.useRef(null),d=t.useRef(null),[p,h]=t.useState({startX:0,startY:0,endX:0,endY:0}),[m,w]=t.useState(!1),[v,S]=t.useState(!1);t.useEffect(()=>{sn.addEventListener("resize",g,!1)},[]);function g(){const C=d.current,E=ro(_u(n));if(C){C.width=E.width*St,C.height=E.height*St,C.style.width=`${E.width}px`,C.style.height=`${E.height}px`;
498const I=C.getContext("2d");I&&I.scale(St,St)}const A=u.current;A&&(A.style.width=`${E.width}px`,A.style.height=`${E.height}px`),h({startX:0,startY:0,endX:E.width,endY:E.height})}t.useEffect(()=>{const C=d.current;if(!C)return;const E=C.getContext("2d");if(!E)return;const A=ro(_u(n)),I=ro(p);E.clearRect(0,0,A.width,A.height),E.fillStyle="rgba(0, 0, 0, 0.5)",E.fillRect(0,0,A.width,A.height),E.clearRect(I.x,I.y,I.width,I.height),E.strokeStyle="#ffffff",E.lineWidth=3,E.strokeRect(I.x+1,I.y+1,I.width-2,I.height-2),E.strokeStyle="#000000",E.lineWidth=1,E.strokeRect(I.x+3,I.y+3,I.width-6,I.height-6)},[p]);function b(C,E){w(!1),S(!0);const A=T(E),I=()=>{Ce.removeEventListener("mousemove",A),Ce.removeEventListener("mouseup",I),w(!0),S(!1)};Ce.addEventListener("mouseup",I),Ce.addEventListener("mousemove",A)}const T=t.useCallback(C=>function(E){if(!d.current)return;const A=d.current,I=A.getBoundingClientRect(),H=E.clientX-I.x,q=E.clientY-I.y;switch(C){case"top-left":h(Y=>({...Y,startX:Math.min(Math.max(0,H),Y.endX-Un),startY:Math.min(Math.max(0,q),Y.endY-Un)}));break;case"top-right":h(Y=>({...Y,endX:Math.max(Math.min(H,A.width/St),Y.startX+Un),startY:Math.min(Math.max(0,q),Y.endY-Un)}));break;case"bottom-left":h(Y=>({...Y,startX:Math.min(Math.max(0,H),Y.endX-Un),endY:Math.max(Math.min(q,A.height/St),Y.startY+Un)}));break;case"bottom-right":h(Y=>({...Y,endX:Math.max(Math.min(H,A.width/St),Y.startX+Un),endY:Math.max(Math.min(q,A.height/St),Y.startY+Un)}));break}},[]),k=t.useRef({initialX:0,initialY:0});function x(C){if(v)return;k.current={initialX:C.clientX,initialY:C.clientY};const E=I=>{const H=d.current;if(!H)return;const q=I.clientX-k.current.initialX,Y=I.clientY-k.current.initialY;h(D=>{const X=Math.max(0,Math.min(D.startX+q,H.width/St-(D.endX-D.startX))),U=Math.max(0,Math.min(D.startY+Y,H.height/St-(D.endY-D.startY))),ce=X+(D.endX-D.startX),Pe=U+(D.endY-D.startY);return k.current.initialX=I.clientX,k.current.initialY=I.clientY,{startX:X,startY:U,endX:ce,endY:Pe}})},A=()=>{Ce.removeEventListener("mousemove",E),Ce.removeEventListener("mouseup",A)};Ce.addEventListener("mousemove",E),Ce.addEventListener("mouseup",A)}function P(){const C=Ce.createElement("canvas"),E=ro(_u(n)),A=ro(p);C.width=A.width*St,C.height=A.height*St;const I=C.getContext("2d");I&&n&&I.drawImage(n,A.x/E.width*n.width,A.y/E.height*n.height,A.width/E.width*n.width,A.height/E.height*n.height,0,0,C.width,C.height);const H=n.getContext("2d");H&&(H.clearRect(0,0,n.width,n.height),n.width=C.width,n.height=C.height,n.style.width=`${A.width}px`,n.style.height=`${A.height}px`,H.drawImage(C,0,0),g())}return o({onBeforeScreenshot:t.useCallback(()=>{r.el.style.display="none"},[]),onScreenshot:t.useCallback(C=>{const E=n.getContext("2d");if(!E)throw new Error("Could not get canvas context");n.width=C.videoWidth,n.height=C.videoHeight,n.style.width="100%",n.style.height="100%",E.drawImage(C,0,0)},[n]),onAfterScreenshot:t.useCallback(()=>{r.el.style.display="block";const C=f.current;C&&C.appendChild(n),g()},[]),onError:t.useCallback(C=>{r.el.style.display="block",a(C)},[])}),e("div",{class:"editor"},e("style",{nonce:s.styleNonce,dangerouslySetInnerHTML:c}),e("div",{class:"editor__canvas-container",ref:f},e("div",{class:"editor__crop-container",style:{position:"absolute",zIndex:1},ref:u},e("canvas",{onMouseDown:x,style:{position:"absolute",cursor:m?"move":"auto"},ref:d}),e(l,{left:p.startX-pn,top:p.startY-pn,onGrabButton:b,corner:"top-left"}
498),e(l,{left:p.endX-ao+pn,top:p.startY-pn,onGrabButton:b,corner:"top-right"}),e(l,{left:p.startX-pn,top:p.endY-ao+pn,onGrabButton:b,corner:"bottom-left"}),e(l,{left:p.endX-ao+pn,top:p.endY-ao+pn,onGrabButton:b,corner:"bottom-right"}),e("div",{style:{left:Math.max(0,p.endX-191),top:Math.max(0,p.endY+8),display:m?"flex":"none"},class:"editor__crop-btn-group"},e("button",{onClick:C=>{C.preventDefault(),d.current&&h({startX:0,startY:0,endX:d.current.width/St,endY:d.current.height/St}),w(!1)},class:"btn btn--default"},s.cancelButtonLabel),e("button",{onClick:C=>{C.preventDefault(),P(),w(!1)},class:"btn btn--primary"},s.confirmButtonLabel)))))}}const oF=()=>({name:"FeedbackScreenshot",setupOnce(){},createInput:({h:e,hooks:t,dialog:n,options:r})=>{const s=Ce.createElement("canvas");return{input:sF({h:e,hooks:t,imageBuffer:s,dialog:n,options:r}),value:async()=>{const o=await new Promise(i=>{s.toBlob(i,"image/png")});if(o)return{data:new Uint8Array(await o.arrayBuffer()),filename:"screenshot.png",contentType:"application/png"}}}}}),iF=gE({lazyLoadIntegration:dS}),Om=gE({getModalIntegration:()=>eF,getScreenshotIntegration:()=>oF});function aF(e,t=1,n){Zo.increment(ei,e,t,n)}function cF(e,t,n){Zo.distribution(ei,e,t,n)}function uF(e,t,n){Zo.set(ei,e,t,n)}function lF(e,t,n){Zo.gauge(ei,e,t,n)}function fF(e,t,n="second",r){return Zo.timing(ei,e,t,n,r)}const dF={increment:aF,distribution:cF,set:uF,gauge:lF,timing:fF},Pm=new WeakMap,yu=new Map,Co={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function IE(e,t){const{traceFetch:n,traceXHR:r,trackFetchStreamPerformance:s,shouldCreateSpanForRequest:o,enableHTTPTimings:i,tracePropagationTargets:a}={traceFetch:Co.traceFetch,traceXHR:Co.traceXHR,trackFetchStreamPerformance:Co.trackFetchStreamPerformance,...t},c=typeof o=="function"?o:u=>!0,l=u=>gF(u,a),f={};n&&(e.addEventProcessor(u=>(u.type==="transaction"&&u.spans&&u.spans.forEach(d=>{if(d.op==="http.client"){const p=yu.get(d.span_id);p&&(d.timestamp=p/1e3,yu.delete(d.span_id))}}),u)),s&&eA(u=>{if(u.response){const d=Pm.get(u.response);d&&u.endTimestamp&&yu.set(d,u.endTimestamp)}}),Hf(u=>{const d=VR(u,c,l,f);if(u.response&&u.fetchData.__span&&Pm.set(u.response,u.fetchData.__span),d){const p=xE(u.fetchData.url),h=p?Nr(p).host:void 0;d.setAttributes({"http.url":p,"server.address":h})}i&&d&&Nm(d)})),r&&qf(u=>{const d=_F(u,c,l,f);i&&d&&Nm(d)})}function pF(e){return e.entryType==="resource"&&"initiatorType"in e&&typeof e.nextHopProtocol=="string"&&(e.initiatorType==="fetch"||e.initiatorType==="xmlhttprequest")}function Nm(e){const{url:t}=pe(e).data||{};if(!t||typeof t!="string")return;const n=Ms("resource",({entries:r})=>{r.forEach(s=>{pF(s)&&s.name.endsWith(t)&&(mF(s).forEach(i=>e.setAttribute(...i)),setTimeout(n))})})}function hF(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 Zt(e=0){return((at||performance.timeOrigin)+e)/1e3}function mF(e){const{name:t,version:n}=hF(e.nextHopProtocol),r=[];return r.push(["network.protocol.version",n],["network.protocol.name",t]),at?[...r,["http.request.redirect_start",Zt(e.redirectStart)],["http.request.fetch_start",Zt(e.fetchStart)],["http.request.domain_lookup_start",Zt(e.domainLookupStart)],["http.request.domain_lookup_end",Zt(e.domainLookupEnd)],["http.request.connect_start",Zt(e.connectStart)],["http.request.secure_connection_start",Zt(e.secureConnectionStart)],["http.request.connection_end",Zt(e.connectEnd)],["http.request.request_start",Zt(e.requestStart)],["http.request.response_start",Zt(e.responseStart)],["http.request.response_end",Zt(e.responseEnd)]]:r}function gF(e,t){const n=J.location&&J.location.href;if(n){let r,s;try{r=new URL(e,n),s=new URL(n).origin}catch{return!1}const o=r.origin===s;return t?nr(r.toString(),t)||o&&nr(r.pathname,t):o}else{const r=!!e.match(/^\/(?!\/)/);return t?nr(e,t):r}}function _F(e,t,n,r){const s=e.xhr,o=s&&s[Jn];if(!s||s.__sentry_own_request__||!o)return;const i=On()&&t(o.url);if(e.endTimestamp&&i){const u=s.__sentry_xhr_span_id__;if(!u)return;const d=r[u];d&&o.status_code!==void 0&&(Cf(d,o.status_code),d.end(),delete r[u]);return}const a=xE(o.url),c=a?Nr(a).host:void 0,l=!!$e(),f=i&&l?cr({name:`${o.method} ${o.url}`,attributes:{type:"xhr","http.method":o.method,"http.url":a,url:o.url,"server.address":c,[Le]:"auto.http.browser",[ar]:"http.client"}}):new gr;return s.__sentry_xhr_span_id__=f.spanContext().spanId,r[s.__sentry_xhr_span_id__]=f,n(o.url)&&yF(s,On()&&l?f:void 0),f}function yF(e,t){const{"sentry-trace":n,baggage:r}=mb({span:t});n&&bF(e,n,r)}function bF(e,t,n){try{e.setRequestHeader("sentry-trace",t),n&&e.setRequestHeader("baggage",n)}catch{}}function xE(e){try{return new URL(e,J.location.origin).href}catch{return}}function SF(){J&&J.document?J.document.addEventListener("visibilitychange",()=>{const e=$e();if(!e)return;const t=Ve(e);if(J.document.hidden&&t){const n="cancelled",{op:r,status:s}=pe(t);_e&&N.log(`[Tracing] Transaction: ${n} -> since tab moved to the background, op: ${r}`),s||t.setStatus({code:Ke,message:n}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):_e&&N.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const EF="BrowserTracing",vF={...qi,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroun
498dSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,_experiments:{},...Co},Lm=(e={})=>{If();const{enableInp:t,enableLongTask:n,enableLongAnimationFrame:r,_experiments:{enableInteractions:s,enableStandaloneClsSpans:o},beforeStartSpan:i,idleTimeout:a,finalTimeout:c,childSpanTimeout:l,markBackgroundSpan:f,traceFetch:u,traceXHR:d,trackFetchStreamPerformance:p,shouldCreateSpanForRequest:h,enableHTTPTimings:m,instrumentPageLoad:w,instrumentNavigation:v}={...vF,...e},S=oM({recordClsStandaloneSpans:o||!1});t&&AM(),r&&re.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?aM():n&&iM(),s&&cM();const g={name:void 0,source:void 0};function b(T,k){const x=k.op==="pageload",P=i?i(k):k,C=P.attributes||{};k.name!==P.name&&(C[yt]="custom",P.attributes=C),g.name=P.name,g.source=C[yt];const E=zy(P,{idleTimeout:a,finalTimeout:c,childSpanTimeout:l,disableAutoFinish:x,beforeSpanEnd:I=>{S(),pM(I,{recordClsOnPageloadSpan:!o})}});function A(){["interactive","complete"].includes(J.document.readyState)&&T.emit("idleSpanEnableAutoFinish",E)}return x&&J.document&&(J.document.addEventListener("readystatechange",()=>{A()}),A()),E}return{name:EF,afterAllSetup(T){let k,x=J.location&&J.location.href;function P(){k&&!pe(k).timestamp&&(_e&&N.log(`[Tracing] Finishing current active span with op: ${pe(k).op}`),k.end())}T.on("startNavigationSpan",C=>{Z()===T&&(P(),k=b(T,{op:"navigation",...C}))}),T.on("startPageLoadSpan",(C,E={})=>{if(Z()!==T)return;P();const A=E.sentryTrace||Dm("sentry-trace"),I=E.baggage||Dm("baggage"),H=Ty(A,I);de().setPropagationContext(H),k=b(T,{op:"pageload",...C})}),T.on("spanEnd",C=>{const E=pe(C).op;if(C!==Ve(C)||E!=="navigation"&&E!=="pageload")return;const A=de(),I=A.getPropagationContext();A.setPropagationContext({...I,sampled:I.sampled!==void 0?I.sampled:zr(C),dsc:I.dsc||_r(C)})}),J.location&&(w&&RE(T,{name:J.location.pathname,startTime:at?at/1e3:void 0,attributes:{[yt]:"url",[Le]:"auto.pageload.browser"}}),v&&yc(({to:C,from:E})=>{if(E===void 0&&x&&x.indexOf(C)!==-1){x=void 0;return}E!==C&&(x=void 0,_d(T,{name:J.location.pathname,attributes:{[yt]:"url",[Le]:"auto.navigation.browser"}}))})),f&&SF(),s&&wF(a,c,l,g),t&&OM(),IE(T,{traceFetch:u,traceXHR:d,trackFetchStreamPerformance:p,tracePropagationTargets:T.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:h,enableHTTPTimings:m})}}};function RE(e,t,n){e.emit("startPageLoadSpan",t,n),de().setTransactionName(t.name);const r=$e();return(r&&pe(r).op)==="pageload"?r:void 0}function _d(e,t){Ye().setPropagationContext({traceId:An()}),de().setPropagationContext({traceId:An()}),e.emit("startNavigationSpan",t),de().setTransactionName(t.name);const n=$e();return(n&&pe(n).op)==="navigation"?n:void 0}function Dm(e){const t=sk(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}function wF(e,t,n,r){let s;const o=()=>{const i="ui.action.click",a=$e(),c=a&&Ve(a);if(c){const l=pe(c).op;if(["navigation","pageload"].includes(l)){_e&&N.warn(`[Tracing] Did not create ${i} span because a pageload or navigation span is in progress.`);return}}if(s&&(s.setAttribute(sl,"interactionInterrupted"),s.end(),s=void 0),!r.name){_e&&N.warn(`[Tracing] Did not create ${i} transaction because _latestRouteName is missing.`);return}s=zy({name:r.name,op:i,attributes:{[yt]:r.source||"url"}},{idleTimeout:e,finalTimeout:t,childSpanTimeout:n})};J.document&&addEventListener("click",o,{once:!1,capture:!0})}function Us(e){return new Promise((t,n)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>n(e.error)})}function TF(e,t){const n=indexedDB.open(e);n.onupgradeneeded=()=>n.result.createObjectStore(t);const r=Us(n);return s=>r.then(o=>s(o.transaction(t,"readwrite").objectStore(t)))}function yd(e){return Us(e.getAllKeys())}function CF(e,t,n){return e(r=>yd(r).then(s=>{if(!(s.length>=n))return r.put(t,Math.max(...s,0)+1),Us(r.transaction)}))}
498function kF(e,t,n){return e(r=>yd(r).then(s=>{if(!(s.length>=n))return r.put(t,Math.min(...s,0)-1),Us(r.transaction)}))}function IF(e){return e(t=>yd(t).then(n=>{const r=n[0];if(r!=null)return Us(t.get(r)).then(s=>(t.delete(r),Us(t.transaction).then(()=>s)))}))}function xF(e){let t;function n(){return t==null&&(t=TF(e.dbName||"sentry-offline",e.storeName||"queue")),t}return{push:async r=>{try{const s=await Ma(r);await CF(n(),s,e.maxQueueSize||30)}catch{}},unshift:async r=>{try{const s=await Ma(r);await kF(n(),s,e.maxQueueSize||30)}catch{}},shift:async()=>{try{const r=await IF(n());if(r)return nI(r)}catch{}}}}function RF(e){return t=>{const n=e({...t,createStore:xF});return J.addEventListener("online",async r=>{await n.flush()}),n}}function AF(e=Gf){return RF(ix(e))}const $m=1e6,ra=String(0),MF="main";let AE="",ME="",OE="",Fl=J.navigator&&J.navigator.userAgent||"",PE="";const OF=J.navigator&&J.navigator.language||J.navigator&&J.navigator.languages&&J.navigator.languages[0]||"";function PF(e){return typeof e=="object"&&e!==null&&"getHighEntropyValues"in e}const Fm=J.navigator&&J.navigator.userAgentData;PF(Fm)&&Fm.getHighEntropyValues(["architecture","model","platform","platformVersion","fullVersionList"]).then(e=>{if(AE=e.platform||"",OE=e.architecture||"",PE=e.model||"",ME=e.platformVersion||"",e.fullVersionList&&e.fullVersionList.length>0){const t=e.fullVersionList[e.fullVersionList.length-1];Fl=`${t.brand} ${t.version}`}}).catch(e=>{});function NF(e){return!("thread_metadata"in e)}function LF(e){return NF(e)?FF(e):e}function DF(e){const t=e&&e.contexts&&e.contexts.trace&&e.contexts.trace.trace_id;return typeof t=="string"&&t.length!==32&&_e&&N.log(`[Profiling] Invalid traceId: ${t} on profiled event`),typeof t!="string"?"":t}function $F(e,t,n,r){if(r.type!=="transaction")throw new TypeError("Profiling events may only be attached to transactions, this should never occur.");if(n==null)throw new TypeError(`Cannot construct profiling event envelope without a valid profile. Got ${n} instead.`);const s=DF(r),o=LF(n),i=t||(typeof r.start_timestamp=="number"?r.start_timestamp*1e3:Ne()*1e3),a=typeof r.timestamp=="number"?r.timestamp*1e3:Ne()*1e3;return{event_id:e,timestamp:new Date(i).toISOString(),platform:"javascript",version:"1",release:r.release||"",environment:r.environment||pc,runtime:{name:"javascript",version:J.navigator.userAgent},os:{name:AE,version:ME,build_number:Fl},device:{locale:OF,model:PE,manufacturer:Fl,architecture:OE,is_emulator:!1},debug_meta:{images:BF(n.resources)},profile:o,transactions:[{name:r.transaction||"",id:r.event_id||bt(),trace_id:s,active_thread_id:ra,relative_start_ns:"0",relative_end_ns:((a-i)*1e6).toFixed(0)}]}}function NE(e){return pe(e).op==="pageload"}function FF(e){let t,n=0;const r={samples:[],stacks:[],frames:[],thread_metadata:{[ra]:{name:MF}}},s=e.samples[0];if(!s)return r;const o=s.timestamp,i=typeof performance.timeOrigin=="number"?performance.timeOrigin:at||0,a=i-(at||i);return e.samples.forEach((c,l)=>{if(c.stackId===void 0){t===void 0&&(t=n,r.stacks[t]=[],n++),r.samples[l]={elapsed_since_start_ns:((c.timestamp+a-o)*$m).toFixed(0),stack_id:t,thread_id:ra};return}let f=e.stacks[c.stackId];const u=[];for(;f;){u.push(f.frameId);const p=e.frames[f.frameId];p&&r.frames[f.frameId]===void 0&&(r.frames[f.frameId]={function:p.name,abs_path:typeof p.resourceId=="number"?e.resources[p.resourceId]:void 0,lineno:p.line,colno:p.column}),f=f.parentId===void 0?void 0:e.stacks[f.parentId]}const d={elapsed_since_start_ns:((c.timestamp+a-o)*$m).toFixed(0),stack_id:n,thread_id:ra};r.stacks[n]=u,r.samples[l]=d,n++}),r}function HF(e,t){if(!t.length)return e;for(const n of t)e[1].push([{type:"profile"},n]);return e}function UF(e){const t=[];return Wr(e,(n,r)=>{if(r==="transaction")for(let s=1;s<n.length;s++){const o=n[s];o&&o.contexts&&o.contexts.profile&&o.contexts.profile.profile_id&&t.push(n[s])}}),t}function BF(e){const t=Z(),n=t&&t.getOptions(),r=n&&n.stackParser;return r?vI(r,e):[]}function jF(e){return typeof e!="number"&&typeof e!="boolean"||typeof e=="number"&&isNaN(e)?(_e&&N.warn(`[Profiling] Invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`),!1):e===!0||e===!1?!0:e<0||e>1?(_e&&N.warn(`[Profiling] Invalid sample rate. Sample rate must be between 0 and 1. Got ${e}.`),!1):!0}function WF(e){return e.samples.length<2?(_e&&N.log("[Profiling] Discarding profile because it c
498ontains less than 2 samples"),!1):e.frames.length?!0:(_e&&N.log("[Profiling] Discarding profile because it contains no frames"),!1)}let LE=!1;const DE=3e4;function VF(e){return typeof e=="function"}function zF(){const e=J.Profiler;if(!VF(e)){_e&&N.log("[Profiling] Profiling is not supported by this browser, Profiler interface missing on window object.");return}const t=10,n=Math.floor(DE/t);try{return new e({sampleInterval:t,maxBufferSize:n})}catch{_e&&(N.log("[Profiling] Failed to initialize the Profiling constructor, this is likely due to a missing 'Document-Policy': 'js-profiling' header."),N.log("[Profiling] Disabling profiling for current user session.")),LE=!0}}function Hm(e){if(LE)return _e&&N.log("[Profiling] Profiling has been disabled for the duration of the current user session."),!1;if(!e.isRecording())return _e&&N.log("[Profiling] Discarding profile because transaction was not sampled."),!1;const t=Z(),n=t&&t.getOptions();if(!n)return _e&&N.log("[Profiling] Profiling disabled, no options found."),!1;const r=n.profilesSampleRate;return jF(r)?r?(r===!0?!0:Math.random()<r)?!0:(_e&&N.log(`[Profiling] Discarding profile because it's not included in the random sample (sampling rate = ${Number(r)})`),!1):(_e&&N.log("[Profiling] Discarding profile because a negative sampling decision was inherited or profileSampleRate is set to 0"),!1):(_e&&N.warn("[Profiling] Discarding profile because of invalid sample rate."),!1)}function qF(e,t,n,r){return WF(n)?$F(e,t,n,r):null}const Ir=new Map;function GF(){return Ir.size}function KF(e){const t=Ir.get(e);return t&&Ir.delete(e),t}function YF(e,t){if(Ir.set(e,t),Ir.size>30){const n=Ir.keys().next().value;Ir.delete(n)}}function Um(e){let t;NE(e)&&(t=Ne()*1e3);const n=zF();if(!n)return;_e&&N.log(`[Profiling] started profiling span: ${pe(e).description}`);const r=bt();de().setContext("profile",{profile_id:r,start_timestamp:t});async function s(){if(e&&n)return n.stop().then(c=>{if(o&&(J.clearTimeout(o),o=void 0),_e&&N.log(`[Profiling] stopped profiling of span: ${pe(e).description}`),!c){_e&&N.log(`[Profiling] profiler returned null profile for: ${pe(e).description}`,"this may indicate an overlapping span or a call to stopProfiling with a profile title that was never started");return}YF(r,c)}).catch(c=>{_e&&N.log("[Profiling] error while stopping profiler:",c)})}let o=J.setTimeout(()=>{_e&&N.log("[Profiling] max profile duration elapsed, stopping profiling for:",pe(e).description),s()},DE);const i=e.end.bind(e);function a(){return e?(s().then(()=>{i()},()=>{i()}),e):i()}e.end=a}const XF="BrowserProfiling",JF=()=>
498({name:XF,setup(e){const t=$e(),n=t&&Ve(t);n&&NE(n)&&Hm(n)&&Um(n),e.on("spanStart",r=>{r===Ve(r)&&Hm(r)&&Um(r)}),e.on("beforeEnvelope",r=>{if(!GF())return;const s=UF(r);if(!s.length)return;const o=[];for(const i of s){const a=i&&i.contexts,c=a&&a.profile&&a.profile.profile_id,l=a&&a.profile&&a.profile.start_timestamp;if(typeof c!="string"){_e&&N.log("[Profiling] cannot find profile for a span without a profile context");continue}if(!c){_e&&N.log("[Profiling] cannot find profile for a span without a profile context");continue}a&&a.profile&&delete a.profile;const f=KF(c);if(!f){_e&&N.log(`[Profiling] Could not retrieve profile for span: ${c}`);continue}const u=qF(c,l,f,i);u&&o.push(u)}HF(r,o)})}}),QF=JF,ZF="SpotlightBrowser",eH=(e={})=>{const t=e.sidecarUrl||"http://localhost:8969/stream";return{name:ZF,setup:()=>{_e&&N.log("Using Sidecar URL",t)},processEvent:n=>rH(n)?null:n,afterAllSetup:n=>{tH(n,t)}}};function tH(e,t){const n=zf("fetch");let r=0;e.on("beforeEnvelope",s=>{if(r>3){N.warn("[Spotlight] Disabled Sentry -> Spotlight integration due to too many failed requests:",r);return}n(t,{method:"POST",body:Ma(s),headers:{"Content-Type":"application/x-sentry-envelope"},mode:"cors"}).then(o=>{o.status>=200&&o.status<400&&(r=0)},o=>{r++,N.error("Sentry SDK can't connect to Sidecar is it running? See: https://spotlightjs.com/sidecar/npx/",o)})})}const nH=eH;function rH(e){return!!(e.type==="transaction"&&e.spans&&e.contexts&&e.contexts.trace&&e.contexts.trace.op==="ui.action.click"&&e.spans.some(({description:t})=>t&&t.includes("#sentry-spotlight")))}const sH=100;function xc(e){const n=de().getScopeData().contexts.flags,r=n?n.values:[];return r.length&&(e.contexts===void 0&&(e.contexts={}),e.contexts.flags={values:[...r]}),e}function jo(e,t,n=sH){const r=de().getScopeData().contexts;r.flags||(r.flags={values:[]});const s=r.flags.values;oH(s,e,t,n)}function oH(e,t,n,r){if(typeof n!="boolean")return;if(e.length>r){_e&&N.error(`[Feature Flags] insertToFlagBuffer called on a buffer larger than maxSize=${r}`);return}const s=e.findIndex(o=>o.flag===t);s!==-1&&e.splice(s,1),e.length===r&&e.shift(),e.push({flag:t,result:n})}const iH=()=>({name:"FeatureFlags",processEvent(e,t,n){return xc(e)},addFeatureFlag(e,t){jo(e,t)}}),aH=()=>({name:"LaunchDarkly",processEvent(e,t,n){return xc(e)}});function cH(){return{name:"sentry-flag-auditor",type:"flag-used",synchronous:!0,method:(e,t,n)=>{jo(e,t.value)}}}const uH=()=>({name:"OpenFeature",processEvent(e,t,n){return xc(e)}});class lH{after(t,n){jo(n.flagKey,n.value)}error(t,n,r){jo(t.flagKey,t.defaultValue)}}const fH=({unleashClientClass:e})=>({name:"Unleash",processEvent(t,n,r){return xc(t)},setupOnce(){const t=e.prototype;_t(t,"isEnabled",dH)}});function dH(e){return function(...t){const n=t[0],r=e.apply(this,t);return typeof n=="string"&&typeof r=="boolean"?jo(n,r):_e&&N.error(`[Feature Flags] UnleashClient.isEnabled does not match expected signature. arg0: ${n} (${typeof n}), result: ${r} (${typeof r})`),r}}const $E=["activate","mount","update"],FE=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,pH=/(?:^|[-_])(\w)/g,hH=e=>e.replace(pH,t=>t.toUpperCase()).replace(/[-_]/g,""),mH="<Root>",bu="<Anonymous>",gH=(e,t)=>e.repeat(t),ko=(e,t)=>{if(!e)return bu;if(e.$root===e)return mH;if(!e.$options)return bu;const n=e.$options;let r=n.name||n._componentTag||n.__name;const s=n.__file;if(!r&&s){const o=s.match(/([^/\\]+)\.vue$/);o&&(r=o[1])}return(r?`<${hH(r)}>`:bu)+(s&&t!==!1?` at ${s}`:"")},_H=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`
499
500found in
501
502${t.map((s,o)=>`${(o===0?"---> ":gH(" ",5+o*2))+(Array.isArray(s)?`${ko(s[0])}... (${s[1]} recursive calls)`:ko(s))}`).join(`
503`)}`}return`
504
505(found in ${ko(e)})`},HE=(e,t)=>{const{errorHandler:n,warnHandler:r,silent:s}=e.config;e.config.errorHandler=(o,i,a)=>{const c=ko(i,!1),l=i?_H(i):"",f={componentName:c,lifecycleHook:a,trace:l};if(t.attachProps&&i&&(i.$options&&i.$options.propsData?f.propsData=i.$options.propsData:i.$props&&(f.propsData=i.$props)),setTimeout(()=>
505{Gr(o,{captureContext:{contexts:{vue:f}},mechanism:{handled:!!n,type:"vue"}})}),typeof n=="function"&&e.config.errorHandler&&n.call(e,o,i,a),n){if(t.logErrors){const u=typeof console<"u",d=`Error in ${a}: "${o&&o.toString()}"`;r?r.call(null,d,i,l):u&&!s&&Lt(()=>{console.error(`[Vue warn]: ${d}${l}`)})}}else throw o}},Bm="ui.vue",yH={activate:["activated","deactivated"],create:["beforeCreate","created"],unmount:["beforeUnmount","unmounted"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]};function bH(e,t,n){e.$_sentryRootSpanTimer&&clearTimeout(e.$_sentryRootSpanTimer),e.$_sentryRootSpanTimer=setTimeout(()=>{e.$root&&e.$root.$_sentryRootSpan&&(e.$root.$_sentryRootSpan.end(t),e.$root.$_sentryRootSpan=void 0)},n)}function SH(e,t){function n(s){return s.replace(/^<([^\s]*)>(?: at [^\s]*)?$/,"$1")}return e.some(s=>n(t)===n(s))}const UE=e=>{const t=(e.hooks||[]).concat($E).filter((r,s,o)=>o.indexOf(r)===s),n={};for(const r of t){const s=yH[r];if(!s){FE&&N.warn(`Unknown hook: ${r}`);continue}for(const o of s)n[o]=function(){const i=this.$root===this;i&&(this.$_sentryRootSpan=this.$_sentryRootSpan||cr({name:"Application Render",op:`${Bm}.render`,attributes:{[Le]:"auto.ui.vue"},onlyIfParent:!0}));const a=ko(this,!1),c=Array.isArray(e.trackComponents)?SH(e.trackComponents,a):e.trackComponents;if(!(!i&&!c))if(this.$_sentrySpans=this.$_sentrySpans||{},o==s[0]){if(this.$root&&this.$root.$_sentryRootSpan||$e()){const f=this.$_sentrySpans[r];f&&f.end(),this.$_sentrySpans[r]=cr({name:`Vue ${a}`,op:`${Bm}.${r}`,attributes:{[Le]:"auto.ui.vue"},onlyIfParent:!0})}}else{const l=this.$_sentrySpans[r];if(!l)return;l.end(),bH(this,Ne(),e.timeout)}}}return n},EH=re,vH={Vue:EH.Vue,attachProps:!0,logErrors:!0,attachErrorHandler:!0,hooks:$E,timeout:2e3,trackComponents:!1},wH="Vue",TH=(e={})=>({name:wH,setup(t){const n={...vH,...t.getOptions(),...e};if(!n.Vue&&!n.app){Lt(()=>{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=>jm(s,n)):n.Vue&&jm(n.Vue,n)}}),jm=(e,t)=>{if(FE){const n=e;(n._instance&&n._instance.isMounted)===!0&&Lt(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue app is already mounted. Make sure to call `app.mount()` after `Sentry.init()`.")})}t.attachErrorHandler&&HE(e,t),On(t)&&e.mixin(UE({...t,...t.tracingOptions}))};function CH(e,t,n){let r=!0;e.onError(s=>Gr(s,{mechanism:{handled:!1}})),e.beforeEach((s,o,i)=>{const a=o.name==null&&o.matched.length===0||o.name===void 0&&r;r&&(r=!1);const c={[Le]:"auto.navigation.vue"};for(const u of Object.keys(s.params))c[`params.${u}`]=s.params[u];for(const u of Object.keys(s.query)){const d=s.query[u];d&&(c[`query.${u}`]=d)}let l=s.path,f="url";if(s.name&&t.routeLabel!=="path")l=s.name.toString(),f="custom";else if(s.matched.length>0){const u=s.matched.length-1;l=s.matched[u].path,f="route"}if(de().setTransactionName(l),t.instrumentPageLoad&&a){const u=kH();u&&((pe(u).data||{})[yt]!=="custom"&&(u.updateName(l),u.setAttribute(yt,f)),u.setAttributes({...c,[Le]:"auto.pageload.vue"}))}t.instrumentNavigation&&!a&&(c[yt]=f,c[Le]="auto.navigation.vue",n({name:l,op:"navigation",attributes:c})),i&&i()})}function kH(){const e=$e(),t=e&&Ve(e);if(!t)return;const n=pe(t).op;return n==="navigation"||n==="pageload"?t:void 0}function BE(e={}){if(!e.router)return Lm(e);const t=Lm({...e,instrumentNavigation:!1}),{router:n,instrumentNavigation:r=!0,instrumentPageLoad:s=!0,routeLabel:o="name"}=e;return{...t,afterAllSetup(i){t.afterAllSetup(i),CH(n,{routeLabel:o,instrumentNavigation:r,instrumentPageLoad:s},c=>{_d(i,c)})}}}const jE=(e={attachPiniaState:!0,addBreadcrumbs:!0,actionTransformer:t=>t,stateTransformer:t=>t})=>({store:n})=>{e.attachPiniaState!==!1&&lc().addEventProcessor((r,s)=>{try{const o=new Date().toTimeString().split(" ")[0],i=`pinia_state_${n.$id}_${o}.json`;s.attachments=[...s.attachments||[],{filename:i,data:JSON.stringify(n.$state)}]}catch{}return r}),n.$onAction(r=>{r.after(()=>{const s=e.actionTransformer?e.actionTransformer(r.name):r.name;typeof s<"u"&&s!==null&&e.addBreadcrumbs!==!1&&Jt({category:"action",message:s,level:"info"});const o=e.stateTransformer?e.stateTransformer(n.$state):n.$state,i=de(),a=i.getScopeData().contexts.state;if(typeof o<"u"&&o!==null){const c=Z(),l=c&&c.getOptions(),f=l&&l.normalizeDepth||3,d={...a||{},state:{type:"pinia",value:o}};kt(d,"__sentry_override_normalization_depth__",3+f),i.setContext("state",d)}else i.setContext("state",{...a||{},state:{type:"pinia",value:"undefined"}})})})};function IH(e){const t={defaultIntegrations:[...Kf(e)],...e};return hb(t,"nuxt",["nuxt","vue"]),RO(t)}const xH="Pinia",RH=(e,t={})=>({name:xH,setup(){!e||typeof e=="object"&&!("use"in e)?Lt(()=>{console.warn('[Sentry] The Pinia integration was added, but the passed parameter `pinia` has the wrong value. Make sure to enable Pinia by adding `"@pinia/nuxt"` to the Nuxt modules array and pass pinia to Sentry with `piniaIntegration(usePinia())`. Current value of `pinia`:',e)}):e.use(jE(t))}}),AH=RH,MH=(e={})=>({name:"NuxtVueIntegration",setup(){re._sentryNuxtVueIntegrationOptions=e}}),Z2=Object.freeze(Object.defineProperty({__proto__:null,BrowserClient:Hb,OpenFeatureIntegrationHook:lH,SDK_VERSION:vn,SEMANTIC_ATTRIBUTE_SENTRY_OP:ar,SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN:Le,SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE:wf,SEMANTIC_ATTRIBUTE_SENTRY_SOURCE:yt,Scope:Mn,WINDOW:J,addBreadcrumb:Jt,addEventProcessor:eb,addIntegration:fl,addTracingExtensions:Hk,attachErrorHandler:HE,breadcrumbsIntegration:oS,browserApiErrorsIntegration:iS,browserProfilingIntegration:QF,browserSessionIntegration:aS,browserTracingIntegration:BE,buildLaunchDarklyFlagUsedHandler:cH,captureConsoleIntegration:Hx,captureEvent:qs,captureException:Gr,captureFeedback:Rb,captureMessage:Oa,captureSession:ll,captureUserFeedback:PO,chromeStackLineParser:eS,close:UI,contextLinesIntegration:nP,continueTrace:pI,createSentryPiniaPlugin:jE,createTracingMixins:UE,createTransport:fb,createUserFeedbackEnvelope:Fb,debugIntegration:Wx,dedupeIntegration:vb,defaultRequestInstrumentationOptions:Co,defaultStackLineParsers:nS,defaultStackParser:rS,endSession:Lo,eventFromException:Db,eventFromMessage:$b,exceptionFromError:mc,extraErrorDataIntegration:Jx,featureFlagsIntegration:iH,feedbackAsyncIntegration:iF,feedbackIntegration:Om,feedbackSyncIntegration:Om,flush:HI,forceLoad:MO,functionToStringIntegration:gb,geckoStackLineParser:tS,getActiveSpan:$e,getClient:Z,getCurrentHub:JR,getCurrentScope:de,getDefaultIntegrations:Kf,getFeedback:E$,getGlobalScope:lc,getIsolationScope:Ye,getReplay:LD,getRootSpan:Ve,getSpanDescendants:yo,getSpanStatusFromHttpCode:Sy,globalHandlersIntegration:cS,httpClientIntegration:jO,httpContextIntegration:lS,inboundFiltersIntegration:_b,init:IH,instrumentOutgoingRequests:IE,isInitialized:BI,lastEventId:Zy,launchDarklyIntegration:aH,lazyLoadIntegration:dS,linkedErrorsIntegration:fS,makeBrowserOfflineTransport:AF,makeFetchTransport:Gf,makeMultiplexedTransport:ux,metrics:dF,moduleMetadataIntegration:Nx,onLoad:OO,openFeatureIntegration:uH,opera10StackLineParser:XM,opera11StackLineParser:ZM,parameterize:dx,piniaIntegration:AH,registerSpanErrorInstrumentation:If,replayCanvasIntegration:XD,replayIntegration:PD,reportingObserverIntegration:HO,rewriteFramesIntegration:iR,sendFeedback:hE,sessionTimingIntegration:lR,setContext:Lf,setCurrentClient:ab,setExtra:Yy,setExtras:Ky,setHttpStatus:Cf,setMeasurement:jy,setTag:Jy,setTags:Xy,setUser:Qy,showReportDialog:AO,spanToBaggageHeader:Bk,spanToJSON:pe,spanToTraceHeader:xy,spotlightBrowserIntegration:nH,startBrowserTracingNavigationSpan:_d,startBrowserTracingPageLoadSpan:RE,startInactiveSpan:cr,startNewTrace:mI,startSession:Pa,startSpan:dI,startSpanManual:Wy,suppressTracing:hI,thirdPartyErrorFilterIntegration:bR,unleashIntegration:fH,updateSpanName:$k,vueIntegration:MH,winjsStackLineParser:GM,withActiveSpan:Jo,withIsolationScope:Ek,withScope:jt,zodErrorsIntegration:yR},Symbol.toStringTag,{value:"Module"})),Hl=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),OH=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),PH=e=>{const t=nt();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Hl(()=>e())}):Hl(()=>e())};function eU(e={}){const t=e.path||window.location.pathname;let n={};try{n=Iw(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||n?.expires<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:nt().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}async function WE(e,t=Ur()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const s=t._preloadPromises=t._preloadPromises||[];if(s.length>4)return Promise.all(s).then(()=>WE(e,t));t._routePreloaded.add(n);const o=r.map(i=>i.components?.default).filter(i=>typeof i=="function");for(const i of o){const a=Promise.resolve(i()).catch(()=>{}).finally(()=>s.splice(s.indexOf(a)));s.push(a)}await Promise.all(s)}const NH=(...e)=>e.find(t=>t!==void 0);function LH(e){const t=e.componentName||"NuxtLink";
505function n(o){return typeof o=="string"&&o.startsWith("#")}function r(o,i){if(!o||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return o;if(typeof o=="string")return Wm(o,e.trailingSlash);const a="path"in o&&o.path!==void 0?o.path:i(o).path;return{...o,name:void 0,path:Wm(a,e.trailingSlash)}}function s(o){const i=Ur(),a=O_(),c=Je(()=>!!o.target&&o.target!=="_self"),l=Je(()=>{const w=o.to||o.href||"";return typeof w=="string"&&Vs(w,{acceptRelative:!0})}),f=Od("RouterLink"),u=f&&typeof f!="string"?f.useLink:void 0,d=Je(()=>{if(o.external)return!0;const w=o.to||o.href||"";return typeof w=="object"?!1:w===""||l.value}),p=Je(()=>{const w=o.to||o.href||"";return d.value?w:r(w,i.resolve)}),h=d.value?void 0:u?.({...o,to:p}),m=Je(()=>{if(!p.value||l.value||n(p.value))return p.value;if(d.value){const w=typeof p.value=="object"&&"path"in p.value?Wu(p.value):p.value,v=typeof w=="object"?i.resolve(w).href:w;return r(v,i.resolve)}return typeof p.value=="object"?i.resolve(p.value)?.href??null:r(v_(a.app.baseURL,p.value),i.resolve)});return{to:p,hasTarget:c,isAbsoluteUrl:l,isExternal:d,href:m,isActive:h?.isActive??Je(()=>p.value===i.currentRoute.value.path),isExactActive:h?.isExactActive??Je(()=>p.value===i.currentRoute.value.path),route:h?.route??Je(()=>i.resolve(p.value)),async navigate(){await RT(m.value,{replace:o.replace,external:d.value||c.value})}}}return ec({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},useLink:s,setup(o,{slots:i}){const a=Ur(),{to:c,href:l,navigate:f,isExternal:u,hasTarget:d,isAbsoluteUrl:p}=s(o),h=Sn(!1),m=Sn(null),w=g=>{m.value=o.custom?g?.$el?.nextElementSibling:g?.$el};function v(g){return!h.value&&(typeof o.prefetchOn=="string"?o.prefetchOn===g:o.prefetchOn?.[g]??e.prefetchOn?.[g])&&(o.prefetch??e.prefetch)!==!1&&o.noPrefetch!==!0&&o.target!=="_blank"&&!FH()}async function S(g=nt()){if(h.value)return;h.value=!0;const b=typeof c.value=="string"?c.value:u.value?Wu(c.value):a.resolve(c.value).fullPath,T=u.value?new URL(b,window.location.href).href:b;await Promise.all([g.hooks.callHook("link:prefetch",T).catch(()=>{}),!u.value&&!d.value&&WE(c.value,a).catch(()=>{})])}if(v("visibility")){const g=nt();let b,T=null;nc(()=>{const k=DH();PH(()=>{b=Hl(()=>{m?.value?.tagName&&(T=k.observe(m.value,async()=>{T?.(),T=null,await S(g)}))})})}),qo(()=>{b&&OH(b),T?.(),T=null})}return()=>{if(!u.value&&!d.value&&!n(c.value)){const T={ref:w,to:c.value,activeClass:o.activeClass||e.activeClass,exactActiveClass:o.exactActiveClass||e.exactActiveClass,replace:o.replace,ariaCurrentValue:o.ariaCurrentValue,custom:o.custom};
505return o.custom||(v("interaction")&&(T.onPointerenter=S.bind(null,void 0),T.onFocus=S.bind(null,void 0)),h.value&&(T.class=o.prefetchedClass||e.prefetchedClass),T.rel=o.rel||void 0),Hr(Od("RouterLink"),T,i.default)}const g=o.target||null,b=NH(o.noRel?"":o.rel,e.externalRelAttribute,p.value||d.value?"noopener noreferrer":"")||null;return o.custom?i.default?i.default({href:l.value,navigate:f,prefetch:S,get route(){if(!l.value)return;const T=new URL(l.value,window.location.href);return{path:T.pathname,fullPath:T.pathname,get query(){return S_(T.search)},hash:T.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:l.value}},rel:b,target:g,isExternal:u.value||d.value,isActive:!1,isExactActive:!1}):null:Hr("a",{ref:m,href:l.value||null,rel:b,target:g},i.default?.())}}})}const tU=LH(dT);function Wm(e,t){const n=t==="append"?ya:df;return Vs(e)&&!e.startsWith("http")?e:n(e,!0)}function DH(){const e=nt();if(e._observer)return e._observer;let t=null;const n=new Map,r=(o,i)=>(t||(t=new IntersectionObserver(a=>{for(const c of a){const l=n.get(c.target);(c.isIntersecting||c.intersectionRatio>0)&&l&&l()}})),n.set(o,i),t.observe(o),()=>{n.delete(o),t?.unobserve(o),n.size===0&&(t?.disconnect(),t=null)});return e._observer={observe:r}}const $H=/2g/;function FH(){const e=navigator.connection;return!!(e&&(e.saveData||$H.test(e.effectiveType)))}const HH={icon:{mode:"css"}},UH={nuxt:{},icon:{provider:"iconify",class:"",aliases:{},iconifyApiEndpoint:"https://api.iconify.design",localApiEndpoint:"/api/_nuxt_icon",fallbackToApi:!0,cssSelectorPrefix:"i-",cssWherePseudo:!0,mode:"css",attrs:{"aria-hidden":!0},collections:["academicons","akar-icons","ant-design","arcticons","basil","bi","bitcoin-icons","bpmn","brandico","bx","bxl","bxs","bytesize","carbon","catppuccin","cbi","charm","ci","cib","cif","cil","circle-flags","circum","clarity","codicon","covid","cryptocurrency","cryptocurrency-color","dashicons","devicon","devicon-plain","ei","el","emojione","emojione-monotone","emojione-v1","entypo","entypo-social","eos-icons","ep","et","eva","f7","fa","fa-brands","fa-regular","fa-solid","fa6-brands","fa6-regular","fa6-solid","fad","fe","feather","file-icons","flag","flagpack","flat-color-icons","flat-ui","flowbite","fluent","fluent-emoji","fluent-emoji-flat","fluent-emoji-high-contrast","fluent-mdl2","fontelico","fontisto","formkit","foundation","fxemoji","gala","game-icons","geo","gg","gis","gravity-ui","gridicons","grommet-icons","guidance","healthicons","heroicons","heroicons-outline","heroicons-solid","hugeicons","humbleicons","ic","icomoon-free","icon-park","icon-park-outline","icon-park-solid","icon-park-twotone","iconamoon","iconoir","icons8","il","ion","iwwa","jam","la","lets-icons","line-md","logos","ls","lucide","lucide-lab","mage","majesticons","maki","map","marketeq","material-symbols","material-symbols-light","mdi","mdi-light","medical-icon","memory","meteocons","mi","mingcute","mono-icons","mynaui","nimbus","nonicons","noto","noto-v1","octicon","oi","ooui","openmoji","oui","pajamas","pepicons","pepicons-pencil","pepicons-pop","pepicons-print","ph","pixelarticons","prime","ps","quill","radix-icons","raphael","ri","rivet-icons","si-glyph","simple-icons","simple-line-icons","skill-icons","solar","streamline","streamline-emojis","subway","svg-spinners","system-uicons","tabler","tdesign","teenyicons","token","token-branded","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","unjs","vaadin","vs","vscode-icons","websymbol","weui","whh","wi","wpf","zmdi","zondicons"],fetchTimeout:1500}},BH=vT(HH,UH);function nU(){const e=nt();return e._appConfig||(e._appConfig=Vr(BH)),e._appConfig}function Vm(e){const{error:t,instance:n,info:r}=e,s={info:r};if(n&&n.$props){const o=Z(),i=o?o.getOptions():null;i&&i.attachProps&&n.$props!==!1&&(s.propsData=n.$props)}setTimeout(()=>{Gr(t,{captureContext:{contexts:{nuxt:s}},mechanism:{handled:!1}})})}const rU=M_({name:"sentry-client-integrations",dependsOn:["sentry-client-config"],async setup(e){if(typeof __SENTRY_TRACING__>"u"||__SENTRY_TRACING__){const t=Z();t&&"$router"in e&&t.addIntegration(BE({router:e.$router,routeLabel:"path"}))}e.hook("app:created",t=>{const n=Z();n&&n.addIntegration(TH({...re._sentryNuxtVueIntegrationOptions,app:t,attachErrorHandler:!1}))}
505),e.hook("app:error",t=>{Vm({error:t})}),e.hook("vue:error",(t,n,r)=>{Vm({error:t,instance:n,info:r})})}});export{F_ as $,os as A,W2 as B,F2 as C,H2 as D,nt as E,i1 as F,Hr as G,P2 as H,Ur as I,N2 as J,JH as K,mg as L,xv as M,VH as N,fr as O,WH as P,Qy as Q,O2 as R,O_ as S,RT as T,j2 as U,Vs as V,Q2 as W,z2 as X,K2 as Y,fn as Z,B2 as _,Yw as a,y2 as a$,L2 as a0,$r as a1,TT as a2,S2 as a3,E2 as a4,PH as a5,I2 as a6,N1 as a7,C_ as a8,v_ as a9,m2 as aA,a2 as aB,Fv as aC,Vl as aD,a_ as aE,zl as aF,rU as aG,U2 as aH,Hi as aI,IT as aJ,LC as aK,M2 as aL,fT as aM,C2 as aN,X2 as aO,o2 as aP,Y2 as aQ,T2 as aR,U0 as aS,Ou as aT,tU as aU,t0 as aV,Oa as aW,ZH as aX,l2 as aY,QH as aZ,D2 as a_,eU as aa,XH as ab,En as ac,rf as ad,nc as ae,ET as af,ec as ag,n2 as ah,mt as ai,nU as aj,$2 as ak,Gr as al,qo as am,We as an,GH as ao,c2 as ap,Fr as aq,h2 as ar,ha as as,i2 as at,t2 as au,i_ as av,qH as aw,u2 as ax,e2 as ay,rv as az,v2 as b,_2 as b0,x2 as b1,R2 as b2,k2 as b3,IH as b4,PD as b5,aS as b6,MH as b7,f2 as b8,s2 as b9,YH as ba,d2 as bb,Od as bc,p2 as bd,KH as be,w0 as bf,G2 as bg,q2 as bh,Cn as bi,J2 as bj,zm as bk,qs as bl,r2 as bm,Ud as bn,g2 as bo,Z2 as bp,_s as c,Iw as d,sv as e,Vr as f,st as g,Rr as h,Ct as i,Hg as j,Je as k,Mv as l,Tv as m,eg as n,jH as o,Za as p,zH as q,Sn as r,A2 as s,Se as t,V2 as u,M_ as v,b2 as w,w2 as x,AT as y,gg as z};
506//# sourceMappingURL=sentry.C166FaKx.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.