vendor: 1,727 bytes, lines 1-5
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BoTpAYws.js","./CBQgtrOA.js","./C2bg_CTl.js","./gVsJGfW_.js","./BxrvINO7.js","./Section.Boa_u0XF.css","./DGkG3Dl3.js","./BnmAFlIz.js","./Icon.CiYO-sM9.css","./q_J8EtFg.js","./Page.CTjyJY5D.css","./CI5BeUsS.js","./DeID0q7W.js","./DLWmn1T9.js","./ByComi6i.js","./IconCSS.Dq_-3BH8.css","./BdLbw8pG.js","./default.C6A42P9M.css","./CCok_YAc.js","./error-404.BEhGo7z2.css","./CEyoXQ-K.js","./error-500.EGq62NcK.css"])))=>i.map(i=>d[i]); 2var IT=Object.defineProperty;var ih=e=>{throw TypeError(e)};var CT=(e,t,n)=>t in e?IT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var He=(e,t,n)=>CT(e,typeof t!="symbol"?t+"":t,n),kT=(e,t,n)=>t.has(e)||ih("Cannot "+n);var Pi=(e,t,n)=>(kT(e,t,"read from private field"),n?n.call(e):t.get(e)),oh=(e,t,n)=>t.has(e)?ih("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();/** 3* @vue/shared v3.5.18 4* (c) 2018-present Yuxi (Evan) You and Vue contributors 5* @license MIT
6**//*! #__NO_SIDE_EFFECTS__ */function td(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const xe={},Fs=[],rn=()=>{},xT=()=>!1,Do=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),nd=e=>e.startsWith("onUpdate:"),lt=Object.assign,rd=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},RT=Object.prototype.hasOwnProperty,we=(e,t)=>RT.call(e,t),ie=Array.isArray,Bs=e=>$o(e)==="[object Map]",d_=e=>$o(e)==="[object Set]",AT=e=>$o(e)==="[object RegExp]",ae=e=>typeof e=="function",Be=e=>typeof e=="string",Jn=e=>typeof e=="symbol",De=e=>e!==null&&typeof e=="object",sd=e=>(De(e)||ae(e))&&ae(e.then)&&ae(e.catch),p_=Object.prototype.toString,$o=e=>p_.call(e),OT=e=>$o(e).slice(8,-1),h_=e=>$o(e)==="[object Object]",id=e=>Be(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,js=td(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),jc=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},MT=/-(\w)/g,Vt=jc(e=>e.replace(MT,(t,n)=>n?n.toUpperCase():"")),NT=/\B([A-Z])/g,ss=jc(e=>e.replace(NT,"-$1").toLowerCase()),Hc=jc(e=>e.charAt(0).toUpperCase()+e.slice(1)),La=jc(e=>e?`on${Hc(e)}`:""),mr=(e,t)=>!Object.is(e,t),Hs=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Cu=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},ku=e=>{const t=parseFloat(e);return isNaN(t)?e:t},m_=e=>{const t=Be(e)?Number(e):NaN;return isNaN(t)?e:t};let ah;const Uc=()=>ah||(ah=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function vi(e){if(ie(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Be(r)?$T(r):vi(r);if(s)for(const i in s)t[i]=s[i]}return t}else if(Be(e)||De(e))return e}const PT=/;(?![^(]*\))/g,LT=/:([^]+)/,DT=/\/\*[^]*?\*\//g;function $T(e){const t={};return e.replace(DT,"").split(PT).forEach(n=>{if(n){const r=n.split(LT);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Gr(e){let t="";if(Be(e))t=e;else if(ie(e))for(let n=0;n<e.length;n++){const r=Gr(e[n]);r&&(t+=r+" ")}else if(De(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function FT(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Be(t)&&(e.class=Gr(t)),n&&(e.style=vi(n)),e}const BT="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",jT=td(BT);function g_(e){return!!e||e===""}const y_=e=>!!(e&&e.__v_isRef===!0),HT=e=>Be(e)?e:e==null?"":ie(e)||De(e)&&(e.toString===p_||!ae(e.toString))?y_(e)?HT(e.value):JSON.stringify(e,__,2):String(e),__=(e,t)=>
vendor: 4,355 bytes, lines 6-10
6y_(t)?__(e,t.value):Bs(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],i)=>(n[Il(r,i)+" =>"]=s,n),{})}:d_(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Il(n))}:Jn(t)?Il(t):De(t)&&!ie(t)&&!h_(t)?String(t):t,Il=(e,t="")=>{var n;return Jn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function UT(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:String(e)}/** 7* @vue/reactivity v3.5.18 8* (c) 2018-present Yuxi (Evan) You and Vue contributors 9* @license MIT 10**/let Et;class v_{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Et,!t&&Et&&(this.index=(Et.scopes||(Et.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=Et;try{return Et=this,t()}finally{Et=n}}}on(){++this._on===1&&(this.prevScope=Et,Et=this)}off(){this._on>0&&--this._on===0&&(Et=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function qT(e){return new v_(e)}function Fo(){return Et}function _o(e,t=!1){Et&&Et.cleanups.push(e)}let Ne;const Cl=new WeakSet;class b_{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,Et&&Et.active&&Et.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Cl.has(this)&&(Cl.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||S_(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ch(this),w_(this);const t=Ne,n=sn;Ne=this,sn=!0;try{return this.fn()}finally{T_(this),Ne=t,sn=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)cd(t);this.deps=this.depsTail=void 0,ch(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Cl.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){xu(this)&&this.run()}get dirty(){return xu(this)}}let E_=0,eo,to;function S_(e,t=!1){if(e.flags|=8,t){e.next=to,to=e;return}e.next=eo,eo=e}function od(){E_++}function ad(){if(--E_>0)return;if(to){let t=to;for(to=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;eo;){let t=eo;for(eo=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 w_(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function T_(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),cd(r),WT(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function xu(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(I_(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function I_(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===vo)||(e.globalVersion=vo,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!xu(e))))return;e.flags|=2;const t=e.dep,n=Ne,r=sn;Ne=e,sn=!0;try{w_(e);const s=e.fn(e._value);(t.version===0||mr(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{Ne=n,sn=r,T_(e),e.flags&=-3}}function cd(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)cd(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function WT(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let sn=!0;const C_=[];
vendor: 6,069 bytes, line 10
10function qn(){C_.push(sn),sn=!1}function Wn(){const e=C_.pop();sn=e===void 0?!0:e}function ch(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ne;Ne=void 0;try{t()}finally{Ne=n}}}let vo=0;class zT{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 qc{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!Ne||!sn||Ne===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ne)n=this.activeLink=new zT(Ne,this),Ne.deps?(n.prevDep=Ne.depsTail,Ne.depsTail.nextDep=n,Ne.depsTail=n):Ne.deps=Ne.depsTail=n,k_(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=Ne.depsTail,n.nextDep=void 0,Ne.depsTail.nextDep=n,Ne.depsTail=n,Ne.deps===n&&(Ne.deps=r)}return n}trigger(t){this.version++,vo++,this.notify(t)}notify(t){od();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{ad()}}}function k_(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)k_(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Ja=new WeakMap,Ur=Symbol(""),Ru=Symbol(""),bo=Symbol("");function St(e,t,n){if(sn&&Ne){let r=Ja.get(e);r||Ja.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new qc),s.map=r,s.key=n),s.track()}}function Dn(e,t,n,r,s,i){const o=Ja.get(e);if(!o){vo++;return}const a=c=>{c&&c.trigger()};if(od(),t==="clear")o.forEach(a);else{const c=ie(e),u=c&&id(n);if(c&&n==="length"){const l=Number(r);o.forEach((f,d)=>{(d==="length"||d===bo||!Jn(d)&&d>=l)&&a(f)})}else switch((n!==void 0||o.has(void 0))&&a(o.get(n)),u&&a(o.get(bo)),t){case"add":c?u&&a(o.get("length")):(a(o.get(Ur)),Bs(e)&&a(o.get(Ru)));break;case"delete":c||(a(o.get(Ur)),Bs(e)&&a(o.get(Ru)));break;case"set":Bs(e)&&a(o.get(Ur));break}}ad()}function VT(e,t){const n=Ja.get(e);return n&&n.get(t)}function ms(e){const t=Ee(e);return t===e?t:(St(t,"iterate",bo),zt(e)?t:t.map(dt))}function Wc(e){return St(e=Ee(e),"iterate",bo),e}const GT={__proto__:null,[Symbol.iterator](){return kl(this,Symbol.iterator,dt)},concat(...e){return ms(this).concat(...e.map(t=>ie(t)?ms(t):t))},entries(){return kl(this,"entries",e=>(e[1]=dt(e[1]),e))},every(e,t){return Rn(this,"every",e,t,void 0,arguments)},filter(e,t){return Rn(this,"filter",e,t,n=>n.map(dt),arguments)},find(e,t){return Rn(this,"find",e,t,dt,arguments)},findIndex(e,t){return Rn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Rn(this,"findLast",e,t,dt,arguments)},findLastIndex(e,t){return Rn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Rn(this,"forEach",e,t,void 0,arguments)},includes(...e){return xl(this,"includes",e)},indexOf(...e){return xl(this,"indexOf",e)},join(e){return ms(this).join(e)},lastIndexOf(...e){return xl(this,"lastIndexOf",e)},map(e,t){return Rn(this,"map",e,t,void 0,arguments)},pop(){return Li(this,"pop")},push(...e){return Li(this,"push",e)},reduce(e,...t){return lh(this,"reduce",e,t)},reduceRight(e,...t){return lh(this,"reduceRight",e,t)},shift(){return Li(this,"shift")},some(e,t){return Rn(this,"some",e,t,void 0,arguments)},splice(...e){return Li(this,"splice",e)},toReversed(){return ms(this).toReversed()},toSorted(e){return ms(this).toSorted(e)},toSpliced(...e){return ms(this).toSpliced(...e)},unshift(...e){return Li(this,"unshift",e)},values(){return kl(this,"values",dt)}};function kl(e,t,n){const r=Wc(e),s=r[t]();return r!==e&&!zt(e)&&(s._next=s.next,s.next=()=>{const i=s._next();return i.value&&(i.value=n(i.value)),i}),s}const YT=Array.prototype;function Rn(e,t,n,r,s,i){const o=Wc(e),a=o!==e&&!zt(e),c=o[t];if(c!==YT[t]){const f=c.apply(e,i);return a?dt(f):f}let u=n;o!==e&&(a?u=function(f,d){return n.call(this,dt(f),d,e)}:n.length>2&&(u=function(f,d){return n.call(this,f,d,e)}));const l=c.call(o,u,r);return a&&s?s(l):l}function lh(e,t,n,r){const s=Wc(e);let i=n;return s!==e&&(zt(e)?n.length>3&&(i=function(o,a,c){return n.call(this,o,a,c,e)}):i=function(o,a,c){return n.call(this,o,dt(a),c,e)}),s[t](i,...r)}function xl(e,t,n){const r=Ee(e);St(r,"iterate",bo);const s=r[t](...n);return(s===-1||s===!1)&&fd(n[0])?(n[0]=Ee(n[0]),r[t](...n)):s}function Li(e,t,n=[]){qn(),od();const r=Ee(e)[t].apply(e,n);return ad(),Wn(),r}const KT=td("__proto__,__v_isRef,__isVue"),x_=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Jn));function JT(e){Jn(e)||(e=String(e));const t=Ee(this);return St(t,"has",e),t.hasOwnProperty(e)}class R_{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(s?i?o1:N_:i?M_:O_).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=ie(t);if(!s){let c;if(o&&(c=GT[n]))return c;if(n==="hasOwnProperty")return JT}const a=Reflect.get(t,n,rt(t)?t:r);return(Jn(n)?x_.has(n):KT(n))||(s||St(t,"get",n),i)?a:rt(a)?o&&id(n)?a:a.value:De(a)?s?P_(a):Xn(a):a}}class A_ extends R_{constructor(t=!1){super(!1,t)}set(t,n,r,s){let i=t[n];if(!this._isShallow){const c=zn(i);if(!zt(r)&&!zn(r)&&(i=Ee(i),r=Ee(r)),!ie(t)&&rt(i)&&!rt(r))return c?!1:(i.value=r,!0)}const o=ie(t)&&id(n)?Number(n)<t.length:we(t,n),a=Reflect.set(t,n,r,rt(t)?t:s);return t===Ee(s)&&(o?mr(r,i)&&Dn(t,"set",n,r):Dn(t,"add",n,r)),a}deleteProperty(t,n){const r=we(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&Dn(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!Jn(n)||!x_.has(n))&&St(t,"has",n),r}ownKeys(t){return St(t,"iterate",ie(t)?"length":Ur),Reflect.ownKeys(t)}}class XT extends R_{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const QT=new A_,ZT=new XT,e1=new A_(!0);const Au=e=>e,ra=e=>Reflect.getPrototypeOf(e);
vendor: 6,880 bytes, lines 10-13
10function t1(e,t,n){return function(...r){const s=this.__v_raw,i=Ee(s),o=Bs(i),a=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,u=s[e](...r),l=n?Au:t?Xa:dt;return!t&&St(i,"iterate",c?Ru:Ur),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:a?[l(f[0]),l(f[1])]:l(f),done:d}},[Symbol.iterator](){return this}}}}function sa(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function n1(e,t){const n={get(s){const i=this.__v_raw,o=Ee(i),a=Ee(s);e||(mr(s,a)&&St(o,"get",s),St(o,"get",a));const{has:c}=ra(o),u=t?Au:e?Xa:dt;if(c.call(o,s))return u(i.get(s));if(c.call(o,a))return u(i.get(a));i!==o&&i.get(s)},get size(){const s=this.__v_raw;return!e&&St(Ee(s),"iterate",Ur),Reflect.get(s,"size",s)},has(s){const i=this.__v_raw,o=Ee(i),a=Ee(s);return e||(mr(s,a)&&St(o,"has",s),St(o,"has",a)),s===a?i.has(s):i.has(s)||i.has(a)},forEach(s,i){const o=this,a=o.__v_raw,c=Ee(a),u=t?Au:e?Xa:dt;return!e&&St(c,"iterate",Ur),a.forEach((l,f)=>s.call(i,u(l),u(f),o))}};return lt(n,e?{add:sa("add"),set:sa("set"),delete:sa("delete"),clear:sa("clear")}:{add(s){!t&&!zt(s)&&!zn(s)&&(s=Ee(s));const i=Ee(this);return ra(i).has.call(i,s)||(i.add(s),Dn(i,"add",s,s)),this},set(s,i){!t&&!zt(i)&&!zn(i)&&(i=Ee(i));const o=Ee(this),{has:a,get:c}=ra(o);let u=a.call(o,s);u||(s=Ee(s),u=a.call(o,s));const l=c.call(o,s);return o.set(s,i),u?mr(i,l)&&Dn(o,"set",s,i):Dn(o,"add",s,i),this},delete(s){const i=Ee(this),{has:o,get:a}=ra(i);let c=o.call(i,s);c||(s=Ee(s),c=o.call(i,s)),a&&a.call(i,s);const u=i.delete(s);return c&&Dn(i,"delete",s,void 0),u},clear(){const s=Ee(this),i=s.size!==0,o=s.clear();return i&&Dn(s,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=t1(s,e,t)}),n}function ld(e,t){const n=n1(e,t);return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(we(n,s)&&s in r?n:r,s,i)}const r1={get:ld(!1,!1)},s1={get:ld(!1,!0)},i1={get:ld(!0,!1)};const O_=new WeakMap,M_=new WeakMap,N_=new WeakMap,o1=new WeakMap;function a1(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function c1(e){return e.__v_skip||!Object.isExtensible(e)?0:a1(OT(e))}function Xn(e){return zn(e)?e:ud(e,!1,QT,r1,O_)}function Fn(e){return ud(e,!1,e1,s1,M_)}function P_(e){return ud(e,!0,ZT,i1,N_)}function ud(e,t,n,r,s){if(!De(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=c1(e);if(i===0)return e;const o=s.get(e);if(o)return o;const a=new Proxy(e,i===2?r:n);return s.set(e,a),a}function qr(e){return zn(e)?qr(e.__v_raw):!!(e&&e.__v_isReactive)}function zn(e){return!!(e&&e.__v_isReadonly)}function zt(e){return!!(e&&e.__v_isShallow)}function fd(e){return e?!!e.__v_raw:!1}function Ee(e){const t=e&&e.__v_raw;return t?Ee(t):e}function l1(e){return!we(e,"__v_skip")&&Object.isExtensible(e)&&Cu(e,"__v_skip",!0),e}const dt=e=>De(e)?Xn(e):e,Xa=e=>De(e)?P_(e):e;function rt(e){return e?e.__v_isRef===!0:!1}function me(e){return L_(e,!1)}function ei(e){return L_(e,!0)}function L_(e,t){return rt(e)?e:new u1(e,t)}class u1{constructor(t,n){this.dep=new qc,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Ee(t),this._value=n?t:dt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||zt(t)||zn(t);t=r?t:Ee(t),mr(t,n)&&(this._rawValue=t,this._value=r?t:dt(t),this.dep.trigger())}}function Le(e){return rt(e)?e.value:e}function dr(e){return ae(e)?e():Le(e)}const f1={get:(e,t,n)=>t==="__v_raw"?e:Le(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return rt(s)&&!rt(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function D_(e){return qr(e)?e:new Proxy(e,f1)}class d1{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new qc,{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 p1(e){return new d1(e)}class h1{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 VT(Ee(this._object),this._key)}}class m1{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 $_(e,t,n){return rt(e)?e:ae(e)?new m1(e):De(e)&&arguments.length>1?g1(e,t,n):me(e)}function g1(e,t,n){const r=e[t];return rt(r)?r:new h1(e,t,n)}class y1{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new qc(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=vo-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Ne!==this)return S_(this,!0),!0}get value(){const t=this.dep.track();return I_(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function _1(e,t,n=!1){let r,s;return ae(e)?r=e:(r=e.get,s=e.set),new y1(r,s,n)}const ia={},Qa=new WeakMap;let Lr;function v1(e,t=!1,n=Lr){if(n){let r=Qa.get(n);r||Qa.set(n,r=[]),r.push(e)}}function b1(e,t,n=xe){const{immediate:r,deep:s,once:i,scheduler:o,augmentJob:a,call:c}=n,u=b=>s?b:zt(b)||s===!1||s===0?$n(b,1):$n(b);let l,f,d,p,h=!1,m=!1;if(rt(e)?(f=()=>e.value,h=zt(e)):qr(e)?(f=()=>u(e),h=!0):ie(e)?(m=!0,h=e.some(b=>qr(b)||zt(b)),f=()=>e.map(b=>{if(rt(b))return b.value;if(qr(b))return u(b);if(ae(b))return c?c(b,2):b()})):ae(e)?t?f=c?()=>c(e,2):e:f=()=>{if(d){qn();try{d()}finally{Wn()}}const b=Lr;Lr=l;try{return c?c(e,3,[p]):e(p)}finally{Lr=b}}:f=rn,t&&s){const b=f,S=s===!0?1/0:s;f=()=>$n(b(),S)}const v=Fo(),y=()=>{l.stop(),v&&v.active&&rd(v.effects,l)};if(i&&t){const b=t;t=(...S)=>{b(...S),y()}}let _=m?new Array(e.length).fill(ia):ia;const g=b=>{if(!(!(l.flags&1)||!l.dirty&&!b))if(t){const S=l.run();if(s||h||(m?S.some((T,C)=>mr(T,_[C])):mr(S,_))){d&&d();const T=Lr;Lr=l;try{const C=[S,_===ia?void 0:m&&_[0]===ia?[]:_,p];_=S,c?c(t,3,C):t(...C)}finally{Lr=T}}}else l.run()};return a&&a(g),l=new b_(f),l.scheduler=o?()=>o(g,!1):g,p=b=>v1(b,!1,l),d=l.onStop=()=>{const b=Qa.get(l);if(b){if(c)c(b,4);else for(const S of b)S();Qa.delete(l)}},t?r?g(!0):_=l.run():o?o(g.bind(null,!0),!0):l.run(),y.pause=l.pause.bind(l),y.resume=l.resume.bind(l),y.stop=y,y}function $n(e,t=1/0,n){if(t<=0||!De(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,rt(e))$n(e.value,t,n);else if(ie(e))for(let r=0;r<e.length;r++)$n(e[r],t,n);else if(d_(e)||Bs(e))e.forEach(r=>{$n(r,t,n)});else if(h_(e)){for(const r in e)$n(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&$n(e[r],t,n)}return e}/** 11* @vue/runtime-core v3.5.18 12* (c) 2018-present Yuxi (Evan) You and Vue contributors 13* @license MIT
14**/function Bo(e,t,n,r){try{return r?e(...r):e()}catch(s){bi(s,t,n)}}function an(e,t,n,r){if(ae(e)){const s=Bo(e,t,n,r);return s&&sd(s)&&s.catch(i=>{bi(i,t,n)}),s}if(ie(e)){const s=[];for(let i=0;i<e.length;i++)s.push(an(e[i],t,n,r));return s}}function bi(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||xe;if(t){let a=t.parent;const c=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const l=a.ec;if(l){for(let f=0;f<l.length;f++)if(l[f](e,c,u)===!1)return}a=a.parent}if(i){qn(),Bo(i,null,10,[e,c,u]),Wn();return}}E1(e,n,s,r,o)}function E1(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const kt=[];let pn=-1;const Us=[];let nr=null,ws=0;const F_=Promise.resolve();let Za=null;function Ei(e){const t=Za||F_;return e?t.then(this?e.bind(this):e):t}function S1(e){let t=pn+1,n=kt.length;for(;t<n;){const r=t+n>>>1,s=kt[r],i=Eo(s);i<e||i===e&&s.flags&2?t=r+1:n=r}return t}function dd(e){if(!(e.flags&1)){const t=Eo(e),n=kt[kt.length-1];!n||!(e.flags&2)&&t>=Eo(n)?kt.push(e):kt.splice(S1(t),0,e),e.flags|=1,B_()}}function B_(){Za||(Za=F_.then(j_))}function ec(e){ie(e)?Us.push(...e):nr&&e.id===-1?nr.splice(ws+1,0,e):e.flags&1||(Us.push(e),e.flags|=1),B_()}function uh(e,t,n=pn+1){for(;n<kt.length;n++){const r=kt[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;kt.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function tc(e){if(Us.length){const t=[...new Set(Us)].sort((n,r)=>Eo(n)-Eo(r));if(Us.length=0,nr){nr.push(...t);return}for(nr=t,ws=0;ws<nr.length;ws++){const n=nr[ws];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}nr=null,ws=0}}const Eo=e=>e.id==null?e.flags&2?-1:1/0:e.id;function j_(e){try{for(pn=0;pn<kt.length;pn++){const t=kt[pn];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Bo(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;pn<kt.length;pn++){const t=kt[pn];t&&(t.flags&=-2)}pn=-1,kt.length=0,tc(),Za=null,(kt.length||Us.length)&&j_()}}let ht=null,H_=null;function nc(e){const t=ht;return ht=e,H_=e&&e.type.__scopeId||null,t}function pd(e,t=ht,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Sh(-1);const i=nc(t);let o;try{o=e(...s)}finally{nc(i),r._d&&Sh(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function q4(e,t){if(ht===null)return e;const n=Jc(ht),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[i,o,a,c=xe]=t[s];i&&(ae(i)&&(i={mounted:i,updated:i}),i.deep&&$n(o),r.push({dir:i,instance:n,value:o,oldValue:void 0,arg:a,modifiers:c}))}return e}function gn(e,t,n,r){const s=e.dirs,i=t&&t.dirs;for(let o=0;o<s.length;o++){const a=s[o];i&&(a.oldValue=i[o].value);let c=a.dir[r];c&&(qn(),an(c,n,8,[e.el,a,e,t]),Wn())}}const w1=Symbol("_vte"),U_=e=>e.__isTeleport,rr=Symbol("_leaveCb"),oa=Symbol("_enterCb");function T1(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Si(()=>{e.isMounted=!0}),wi(()=>{e.isUnmounting=!0}),e}const qt=[Function,Array],q_={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:qt,onEnter:qt,onAfterEnter:qt,onEnterCancelled:qt,onBeforeLeave:qt,onLeave:qt,onAfterLeave:qt,onLeaveCancelled:qt,onBeforeAppear:qt,onAppear:qt,onAfterAppear:qt,onAppearCancelled:qt},W_=e=>{const t=e.subTree;return t.component?W_(t.component):t},I1={name:"BaseTransition",props:q_,setup(e,{slots:t}){const n=un(),r=T1();return()=>{const s=t.default&&G_(t.default(),!0);if(!s||!s.length)return;const i=z_(s),o=Ee(e),{mode:a}=o;if(r.isLeaving)return Rl(i);const c=fh(i);if(!c)return Rl(i);let u=Ou(c,o,r,n,f=>u=f);c.type!==Ze&&ti(c,u);let l=n.subTree&&fh(n.subTree);if(l&&l.type!==Ze&&!en(c,l)&&W_(n).type!==Ze){let f=Ou(l,o,r,n);if(ti(l,f),a==="out-in"&&c.type!==Ze)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,l=void 0},Rl(i);a==="in-out"&&c.type!==Ze?f.delayLeave=(d,p,h)=>{const m=V_(r,l);m[String(l.key)]=l,d[rr]=()=>{p(),d[rr]=void 0,delete u.delayedLeave,l=void 0},u.delayedLeave=()=>{h(),delete u.delayedLeave,l=void 0}}:l=void 0}else l&&(l=void 0);return i}}};function z_(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ze){t=n;break}}return t}const C1=I1;
vendor: 49,125 bytes, lines 14-18
14function V_(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 Ou(e,t,n,r,s){const{appear:i,mode:o,persisted:a=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:l,onEnterCancelled:f,onBeforeLeave:d,onLeave:p,onAfterLeave:h,onLeaveCancelled:m,onBeforeAppear:v,onAppear:y,onAfterAppear:_,onAppearCancelled:g}=t,b=String(e.key),S=V_(n,e),T=(x,k)=>{x&&an(x,r,9,k)},C=(x,k)=>{const B=k[1];T(x,k),ie(x)?x.every(A=>A.length<=1)&&B():x.length<=1&&B()},M={mode:o,persisted:a,beforeEnter(x){let k=c;if(!n.isMounted)if(i)k=v||c;else return;x[rr]&&x[rr](!0);const B=S[b];B&&en(e,B)&&B.el[rr]&&B.el[rr](),T(k,[x])},enter(x){let k=u,B=l,A=f;if(!n.isMounted)if(i)k=y||u,B=_||l,A=g||f;else return;let U=!1;const X=x[oa]=re=>{U||(U=!0,re?T(A,[x]):T(B,[x]),M.delayedLeave&&M.delayedLeave(),x[oa]=void 0)};k?C(k,[x,X]):X()},leave(x,k){const B=String(e.key);if(x[oa]&&x[oa](!0),n.isUnmounting)return k();T(d,[x]);let A=!1;const U=x[rr]=X=>{A||(A=!0,k(),X?T(m,[x]):T(h,[x]),x[rr]=void 0,S[B]===e&&delete S[B])};S[B]=e,p?C(p,[x,U]):U()},clone(x){const k=Ou(x,t,n,r,s);return s&&s(k),k}};return M}function Rl(e){if(jo(e))return e=Vn(e),e.children=null,e}function fh(e){if(!jo(e))return U_(e.type)&&e.children?z_(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ae(n.default))return n.default()}}function ti(e,t){e.shapeFlag&6&&e.component?(e.transition=t,ti(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 G_(e,t=!1,n){let r=[],s=0;for(let i=0;i<e.length;i++){let o=e[i];const a=n==null?o.key:String(n)+String(o.key!=null?o.key:i);o.type===ot?(o.patchFlag&128&&s++,r=r.concat(G_(o.children,t,a))):(t||o.type!==Ze)&&r.push(a!=null?Vn(o,{key:a}):o)}if(s>1)for(let i=0;i<r.length;i++)r[i].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function kn(e,t){return ae(e)?lt({name:e.name},t,{setup:e}):e}function W4(){const e=un();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function hd(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function qs(e,t,n,r,s=!1){if(ie(e)){e.forEach((h,m)=>qs(h,t&&(ie(t)?t[m]:t),n,r,s));return}if(gr(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&qs(e,t,n,r.component.subTree);return}const i=r.shapeFlag&4?Jc(r.component):r.el,o=s?null:i,{i:a,r:c}=e,u=t&&t.r,l=a.refs===xe?a.refs={}:a.refs,f=a.setupState,d=Ee(f),p=f===xe?()=>!1:h=>we(d,h);if(u!=null&&u!==c&&(Be(u)?(l[u]=null,p(u)&&(f[u]=null)):rt(u)&&(u.value=null)),ae(c))Bo(c,a,12,[o,l]);else{const h=Be(c),m=rt(c);if(h||m){const v=()=>{if(e.f){const y=h?p(c)?f[c]:l[c]:c.value;s?ie(y)&&rd(y,i):ie(y)?y.includes(i)||y.push(i):h?(l[c]=[i],p(c)&&(f[c]=l[c])):(c.value=[i],e.k&&(l[e.k]=c.value))}else h?(l[c]=o,p(c)&&(f[c]=o)):m&&(c.value=o,e.k&&(l[e.k]=o))};o?(v.id=-1,ft(v,n)):v()}}}let dh=!1;const gs=()=>{dh||(console.error("Hydration completed but contains mismatches."),dh=!0)},k1=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",x1=e=>e.namespaceURI.includes("MathML"),aa=e=>{if(e.nodeType===1){if(k1(e))return"svg";if(x1(e))return"mathml"}},Rs=e=>e.nodeType===8;function R1(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:i,parentNode:o,remove:a,insert:c,createComment:u}}=e,l=(g,b)=>{if(!b.hasChildNodes()){n(null,g,b),tc(),b._vnode=g;return}f(b.firstChild,g,null,null,null),tc(),b._vnode=g},f=(g,b,S,T,C,M=!1)=>{M=M||!!b.dynamicChildren;const x=Rs(g)&&g.data==="[",k=()=>m(g,b,S,T,C,x),{type:B,ref:A,shapeFlag:U,patchFlag:X}=b;let re=g.nodeType;b.el=g,X===-2&&(M=!1,b.dynamicChildren=null);let $=null;switch(B){case zr:re!==3?b.children===""?(c(b.el=s(""),o(g),g),$=g):$=k():(g.data!==b.children&&(gs(),g.data=b.children),$=i(g));break;case Ze:_(g)?($=i(g),y(b.el=g.content.firstChild,g,S)):re!==8||x?$=k():$=i(g);break;case zs:if(x&&(g=i(g),re=g.nodeType),re===1||re===3){$=g;const Y=!b.children.length;for(let q=0;q<b.staticCount;q++)Y&&(b.children+=$.nodeType===1?$.outerHTML:$.data),q===b.staticCount-1&&(b.anchor=$),$=i($);return x?i($):$}else k();break;case ot:x?$=h(g,b,S,T,C,M):$=k();break;default:if(U&1)(re!==1||b.type.toLowerCase()!==g.tagName.toLowerCase())&&!_(g)?$=k():$=d(g,b,S,T,C,M);else if(U&6){b.slotScopeIds=C;const Y=o(g);if(x?$=v(g):Rs(g)&&g.data==="teleport start"?$=v(g,g.data,"teleport end"):$=i(g),t(b,Y,null,S,T,aa(Y),M),gr(b)&&!b.type.__asyncResolved){let q;x?(q=qe(ot),q.anchor=$?$.previousSibling:Y.lastChild):q=g.nodeType===3?Cv(""):qe("div"),q.el=g,b.component.subTree=q}}else U&64?re!==8?$=k():$=b.type.hydrate(g,b,S,T,C,M,e,p):U&128&&($=b.type.hydrate(g,b,S,T,aa(o(g)),C,M,e,f))}return A!=null&&qs(A,null,T,b),$},d=(g,b,S,T,C,M)=>{M=M||!!b.dynamicChildren;const{type:x,props:k,patchFlag:B,shapeFlag:A,dirs:U,transition:X}=b,re=x==="input"||x==="option";if(re||B!==-1){U&&gn(b,null,S,"created");let $=!1;if(_(g)){$=mv(null,X)&&S&&S.vnode.props&&S.vnode.props.appear;const q=g.content.firstChild;if($){const fe=q.getAttribute("class");fe&&(q.$cls=fe),X.beforeEnter(q)}y(q,g,S),b.el=g=q}if(A&16&&!(k&&(k.innerHTML||k.textContent))){let q=p(g.firstChild,b,g,S,T,C,M);for(;q;){ca(g,1)||gs();const fe=q;q=q.nextSibling,a(fe)}}else if(A&8){let q=b.children;q[0]===` 15`&&(g.tagName==="PRE"||g.tagName==="TEXTAREA")&&(q=q.slice(1)),g.textContent!==q&&(ca(g,0)||gs(),g.textContent=b.children)}if(k){if(re||!M||B&48){const q=g.tagName.includes("-");for(const fe in k)(re&&(fe.endsWith("value")||fe==="indeterminate")||Do(fe)&&!js(fe)||fe[0]==="."||q)&&r(g,fe,null,k[fe],void 0,S)}else if(k.onClick)r(g,"onClick",null,k.onClick,void 0,S);else if(B&4&&qr(k.style))for(const q in k.style)k.style[q]}let Y;(Y=k&&k.onVnodeBeforeMount)&&Ot(Y,S,b),U&&gn(b,null,S,"beforeMount"),((Y=k&&k.onVnodeMounted)||U||$)&&Ev(()=>{Y&&Ot(Y,S,b),$&&X.enter(g),U&&gn(b,null,S,"mounted")},T)}return g.nextSibling},p=(g,b,S,T,C,M,x)=>{x=x||!!b.dynamicChildren;const k=b.children,B=k.length;for(let A=0;A<B;A++){const U=x?k[A]:k[A]=Ft(k[A]),X=U.type===zr;g?(X&&!x&&A+1<B&&Ft(k[A+1]).type===zr&&(c(s(g.data.slice(U.children.length)),S,i(g)),g.data=U.children),g=f(g,U,T,C,M,x)):X&&!U.children?c(U.el=s(""),S):(ca(S,1)||gs(),n(null,U,S,null,T,C,aa(S),M))}return g},h=(g,b,S,T,C,M)=>{const{slotScopeIds:x}=b;x&&(C=C?C.concat(x):x);const k=o(g),B=p(i(g),b,k,S,T,C,M);return B&&Rs(B)&&B.data==="]"?i(b.anchor=B):(gs(),c(b.anchor=u("]"),k,B),B)},m=(g,b,S,T,C,M)=>{if(ca(g.parentElement,1)||gs(),b.el=null,M){const B=v(g);for(;;){const A=i(g);if(A&&A!==B)a(A);else break}}const x=i(g),k=o(g);return a(g),n(null,b,k,x,S,T,aa(k),C),S&&(S.vnode.el=b.el,Kc(S,b.el)),x},v=(g,b="[",S="]")=>{let T=0;for(;g;)if(g=i(g),g&&Rs(g)&&(g.data===b&&T++,g.data===S)){if(T===0)return i(g);T--}return g},y=(g,b,S)=>{const T=b.parentNode;T&&T.replaceChild(g,b);let C=S;for(;C;)C.vnode.el===b&&(C.vnode.el=C.subTree.el=g),C=C.parent},_=g=>g.nodeType===1&&g.tagName==="TEMPLATE";return[l,f]}const ph="data-allow-mismatch",A1={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function ca(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(ph);)e=e.parentElement;const n=e&&e.getAttribute(ph);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:r.includes(A1[t])}}Uc().requestIdleCallback;Uc().cancelIdleCallback;function O1(e,t){if(Rs(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(Rs(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const gr=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function So(e){ae(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,hydrate:i,timeout:o,suspensible:a=!0,onError:c}=e;let u=null,l,f=0;const d=()=>(f++,u=null,p()),p=()=>{let h;return u||(h=u=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),c)return new Promise((v,y)=>{c(m,()=>v(d()),()=>y(m),f+1)});throw m}).then(m=>h!==u&&u?u:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),l=m,m)))};return kn({name:"AsyncComponentWrapper",__asyncLoader:p,__asyncHydrate(h,m,v){let y=!1;(m.bu||(m.bu=[])).push(()=>y=!0);const _=()=>{y||v()},g=i?()=>{const b=i(_,S=>O1(h,S));b&&(m.bum||(m.bum=[])).push(b)}:_;l?g():p().then(()=>!m.isUnmounted&&g())},get __asyncResolved(){return l},setup(){const h=pt;if(hd(h),l)return()=>Al(l,h);const m=g=>{u=null,bi(g,h,13,!r)};if(a&&h.suspense||si)return p().then(g=>()=>Al(g,h)).catch(g=>(m(g),()=>r?qe(r,{error:g}):null));const v=me(!1),y=me(),_=me(!!s);return s&&setTimeout(()=>{_.value=!1},s),o!=null&&setTimeout(()=>{if(!v.value&&!y.value){const g=new Error(`Async component timed out after ${o}ms.`);m(g),y.value=g}},o),p().then(()=>{v.value=!0,h.parent&&jo(h.parent.vnode)&&h.parent.update()}).catch(g=>{m(g),y.value=g}),()=>{if(v.value&&l)return Al(l,h);if(y.value&&r)return qe(r,{error:y.value});if(n&&!_.value)return qe(n)}}})}function Al(e,t){const{ref:n,props:r,children:s,ce:i}=t.vnode,o=qe(e,r,s);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const jo=e=>e.type.__isKeepAlive,M1={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=un(),r=n.ctx;if(!r.renderer)return()=>{const _=t.default&&t.default();return _&&_.length===1?_[0]:_};const s=new Map,i=new Set;let o=null;const a=n.suspense,{renderer:{p:c,m:u,um:l,o:{createElement:f}}}=r,d=f("div");r.activate=(_,g,b,S,T)=>{const C=_.component;u(_,g,b,0,a),c(C.vnode,_,g,b,C,a,S,_.slotScopeIds,T),ft(()=>{C.isDeactivated=!1,C.a&&Hs(C.a);const M=_.props&&_.props.onVnodeMounted;M&&Ot(M,C.parent,_)},a)},r.deactivate=_=>{const g=_.component;sc(g.m),sc(g.a),u(_,d,null,1,a),ft(()=>{g.da&&Hs(g.da);const b=_.props&&_.props.onVnodeUnmounted;b&&Ot(b,g.parent,_),g.isDeactivated=!0},a)};function p(_){Ol(_),l(_,n,a,!0)}function h(_){s.forEach((g,b)=>{const S=ju(g.type);S&&!_(S)&&m(b)})}function m(_){const g=s.get(_);g&&(!o||!en(g,o))?p(g):o&&Ol(o),s.delete(_),i.delete(_)}Ht(()=>[e.include,e.exclude],([_,g])=>{_&&h(b=>Gi(_,b)),g&&h(b=>!Gi(g,b))},{flush:"post",deep:!0});let v=null;const y=()=>{v!=null&&(ic(n.subTree.type)?ft(()=>{s.set(v,la(n.subTree))},n.subTree.suspense):s.set(v,la(n.subTree)))};return Si(y),Z_(y),wi(()=>{s.forEach(_=>{const{subTree:g,suspense:b}=n,S=la(g);if(_.type===S.type&&_.key===S.key){Ol(S);const T=S.component.da;T&&ft(T,b);return}p(_)})}),()=>{if(v=null,!t.default)return o=null;const _=t.default(),g=_[0];if(_.length>1)return o=null,_;if(!Yr(g)||!(g.shapeFlag&4)&&!(g.shapeFlag&128))return o=null,g;let b=la(g);if(b.type===Ze)return o=null,b;const S=b.type,T=ju(gr(b)?b.type.__asyncResolved||{}:S),{include:C,exclude:M,max:x}=e;if(C&&(!T||!Gi(C,T))||M&&T&&Gi(M,T))return b.shapeFlag&=-257,o=b,g;const k=b.key==null?S:b.key,B=s.get(k);return b.el&&(b=Vn(b),g.shapeFlag&128&&(g.ssContent=b)),v=k,B?(b.el=B.el,b.component=B.component,b.transition&&ti(b,b.transition),b.shapeFlag|=512,i.delete(k),i.add(k)):(i.add(k),x&&i.size>parseInt(x,10)&&m(i.values().next().value)),b.shapeFlag|=256,o=b,ic(g.type)?g:b}}},N1=M1;function Gi(e,t){return ie(e)?e.some(n=>Gi(n,t)):Be(e)?e.split(",").includes(t):AT(e)?(e.lastIndex=0,e.test(t)):!1}function Y_(e,t){J_(e,"a",t)}function K_(e,t){J_(e,"da",t)}function J_(e,t,n=pt){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(zc(t,r,n),n){let s=n.parent;for(;s&&s.parent;)jo(s.parent.vnode)&&P1(r,t,n,s),s=s.parent}}function P1(e,t,n,r){const s=zc(t,e,r,!0);Vc(()=>{rd(r[t],s)},n)}function Ol(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function la(e){return e.shapeFlag&128?e.ssContent:e}function zc(e,t,n=pt,r=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{qn();const a=Kr(n),c=an(t,n,e,o);return a(),Wn(),c});return r?s.unshift(i):s.push(i),i}}const Qn=e=>(t,n=pt)=>{(!si||e==="sp")&&zc(e,(...r)=>t(...r),n)},X_=Qn("bm"),Si=Qn("m"),Q_=Qn("bu"),Z_=Qn("u"),wi=Qn("bum"),Vc=Qn("um"),L1=Qn("sp"),D1=Qn("rtg"),$1=Qn("rtc");function ev(e,t=pt){zc("ec",e,t)}const md="components",F1="directives";function z4(e,t){return gd(md,e,!0,t)||e}const tv=Symbol.for("v-ndc");function B1(e){return Be(e)?gd(md,e,!1)||e:e||tv}function V4(e){return gd(F1,e)}function gd(e,t,n=!0,r=!1){const s=ht||pt;if(s){const i=s.type;if(e===md){const a=ju(i,!1);if(a&&(a===t||a===Vt(t)||a===Hc(Vt(t))))return i}const o=hh(s[e]||i[e],t)||hh(s.appContext[e],t);return!o&&r?i:o}}function hh(e,t){return e&&(e[t]||e[Vt(t)]||e[Hc(Vt(t))])}function j1(e,t,n,r){let s;const i=n,o=ie(e);if(o||Be(e)){const a=o&&qr(e);let c=!1,u=!1;a&&(c=!zt(e),u=zn(e),e=Wc(e)),s=new Array(e.length);for(let l=0,f=e.length;l<f;l++)s[l]=t(c?u?Xa(dt(e[l])):dt(e[l]):e[l],l,void 0,i)}else if(typeof e=="number"){s=new Array(e);for(let a=0;a<e;a++)s[a]=t(a+1,a,void 0,i)}else if(De(e))if(e[Symbol.iterator])s=Array.from(e,(a,c)=>t(a,c,void 0,i));else{const a=Object.keys(e);s=new Array(a.length);for(let c=0,u=a.length;c<u;c++){const l=a[c];s[c]=t(e[l],l,c,i)}}else s=[];return s}function yr(e,t,n={},r,s){if(ht.ce||ht.parent&&gr(ht.parent)&&ht.parent.ce)return t!=="default"&&(n.name=t),Ge(),_n(ot,null,[qe("slot",n,r&&r())],64);let i=e[t];i&&i._c&&(i._d=!1),Ge();const o=i&&nv(i(n)),a=n.key||o&&o.key,c=_n(ot,{key:(a&&!Jn(a)?a:`_${t}`)+(!o&&r?"_fb":"")},o||(r?r():[]),o&&e._===1?64:-2);return!s&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),i&&i._c&&(i._d=!0),c}function nv(e){return e.some(t=>Yr(t)?!(t.type===Ze||t.type===ot&&!nv(t.children)):!0)?e:null}function H1(e,t){const n={};for(const r in e)n[/[A-Z]/.test(r)?`on:${r}`:La(r)]=e[r];return n}const Mu=e=>e?kv(e)?Jc(e):Mu(e.parent):null,no=lt(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=>Mu(e.parent),$root:e=>Mu(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>sv(e),$forceUpdate:e=>e.f||(e.f=()=>{dd(e.update)}),$nextTick:e=>e.n||(e.n=Ei.bind(e.proxy)),$watch:e=>uI.bind(e)}),Ml=(e,t)=>e!==xe&&!e.__isScriptSetup&&we(e,t),U1={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:i,accessCache:o,type:a,appContext:c}=e;let u;if(t[0]!=="$"){const p=o[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 i[t]}else{if(Ml(r,t))return o[t]=1,r[t];if(s!==xe&&we(s,t))return o[t]=2,s[t];if((u=e.propsOptions[0])&&we(u,t))return o[t]=3,i[t];if(n!==xe&&we(n,t))return o[t]=4,n[t];Nu&&(o[t]=0)}}const l=no[t];let f,d;if(l)return t==="$attrs"&&St(e.attrs,"get",""),l(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==xe&&we(n,t))return o[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:i}=e;return Ml(s,t)?(s[t]=n,!0):r!==xe&&we(r,t)?(r[t]=n,!0):we(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:i}},o){let a;return!!n[o]||e!==xe&&we(e,o)||Ml(t,o)||(a=i[0])&&we(a,o)||we(r,o)||we(no,o)||we(s.config.globalProperties,o)},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 G4(){return q1().attrs}function q1(e){const t=un();return t.setupContext||(t.setupContext=Rv(t))}function mh(e){return ie(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function W1(e){const t=un();let n=e();return Fu(),sd(n)&&(n=n.catch(r=>{throw Kr(t),r})),[n,()=>Kr(t)]}let Nu=!0;function z1(e){const t=sv(e),n=e.proxy,r=e.ctx;Nu=!1,t.beforeCreate&&gh(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:a,provide:c,inject:u,created:l,beforeMount:f,mounted:d,beforeUpdate:p,updated:h,activated:m,deactivated:v,beforeDestroy:y,beforeUnmount:_,destroyed:g,unmounted:b,render:S,renderTracked:T,renderTriggered:C,errorCaptured:M,serverPrefetch:x,expose:k,inheritAttrs:B,components:A,directives:U,filters:X}=t;if(u&&V1(u,r,null),o)for(const Y in o){const q=o[Y];ae(q)&&(r[Y]=q.bind(n))}if(s){const Y=s.call(n,n);De(Y)&&(e.data=Xn(Y))}if(Nu=!0,i)for(const Y in i){const q=i[Y],fe=ae(q)?q.bind(n,n):ae(q.get)?q.get.bind(n,n):rn,je=!ae(q)&&ae(q.set)?q.set.bind(n):rn,ut=et({get:fe,set:je});Object.defineProperty(r,Y,{enumerable:!0,configurable:!0,get:()=>ut.value,set:$e=>ut.value=$e})}if(a)for(const Y in a)rv(a[Y],r,n,Y);if(c){const Y=ae(c)?c.call(n):c;Reflect.ownKeys(Y).forEach(q=>{_r(q,Y[q])})}l&&gh(l,e,"c");function $(Y,q){ie(q)?q.forEach(fe=>Y(fe.bind(n))):q&&Y(q.bind(n))}if($(X_,f),$(Si,d),$(Q_,p),$(Z_,h),$(Y_,m),$(K_,v),$(ev,M),$($1,T),$(D1,C),$(wi,_),$(Vc,b),$(L1,x),ie(k))if(k.length){const Y=e.exposed||(e.exposed={});k.forEach(q=>{Object.defineProperty(Y,q,{get:()=>n[q],set:fe=>n[q]=fe,enumerable:!0})})}else e.exposed||(e.exposed={});S&&e.render===rn&&(e.render=S),B!=null&&(e.inheritAttrs=B),A&&(e.components=A),U&&(e.directives=U),x&&hd(e)}function V1(e,t,n=rn){ie(e)&&(e=Pu(e));for(const r in e){const s=e[r];let i;De(s)?"default"in s?i=gt(s.from||r,s.default,!0):i=gt(s.from||r):i=gt(s),rt(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[r]=i}}function gh(e,t,n){an(ie(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function rv(e,t,n,r){let s=r.includes(".")?_v(n,r):()=>n[r];if(Be(e)){const i=t[e];ae(i)&&Ht(s,i)}else if(ae(e))Ht(s,e.bind(n));else if(De(e))if(ie(e))e.forEach(i=>rv(i,t,n,r));else{const i=ae(e.handler)?e.handler.bind(n):t[e.handler];ae(i)&&Ht(s,i,e)}}function sv(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,a=i.get(t);let c;return a?c=a:!s.length&&!n&&!r?c=t:(c={},s.length&&s.forEach(u=>rc(c,u,o,!0)),rc(c,t,o)),De(t)&&i.set(t,c),c}function rc(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&rc(e,i,n,!0),s&&s.forEach(o=>rc(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const a=G1[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const G1={data:yh,props:_h,emits:_h,methods:Yi,computed:Yi,beforeCreate:Tt,created:Tt,beforeMount:Tt,mounted:Tt,beforeUpdate:Tt,updated:Tt,beforeDestroy:Tt,beforeUnmount:Tt,destroyed:Tt,unmounted:Tt,activated:Tt,deactivated:Tt,errorCaptured:Tt,serverPrefetch:Tt,components:Yi,directives:Yi,watch:K1,provide:yh,inject:Y1};function yh(e,t){return t?e?function(){return lt(ae(e)?e.call(this,this):e,ae(t)?t.call(this,this):t)}:t:e}function Y1(e,t){return Yi(Pu(e),Pu(t))}function Pu(e){if(ie(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Tt(e,t){return e?[...new Set([].concat(e,t))]:t}function Yi(e,t){return e?lt(Object.create(null),e,t):t}function _h(e,t){return e?ie(e)&&ie(t)?[...new Set([...e,...t])]:lt(Object.create(null),mh(e),mh(t??{})):t}function K1(e,t){if(!e)return t;if(!t)return e;const n=lt(Object.create(null),e);for(const r in t)n[r]=Tt(e[r],t[r]);return n}function iv(){return{app:null,config:{isNativeTag:xT,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 J1=0;function X1(e,t){return function(r,s=null){ae(r)||(r=lt({},r)),s!=null&&!De(s)&&(s=null);const i=iv(),o=new WeakSet,a=[];let c=!1;const u=i.app={_uid:J1++,_component:r,_props:s,_container:null,_context:i,_instance:null,version:MI,get config(){return i.config},set config(l){},use(l,...f){return o.has(l)||(l&&ae(l.install)?(o.add(l),l.install(u,...f)):ae(l)&&(o.add(l),l(u,...f))),u},mixin(l){return i.mixins.includes(l)||i.mixins.push(l),u},component(l,f){return f?(i.components[l]=f,u):i.components[l]},directive(l,f){return f?(i.directives[l]=f,u):i.directives[l]},mount(l,f,d){if(!c){const p=u._ceVNode||qe(r,s);return p.appContext=i,d===!0?d="svg":d===!1&&(d=void 0),f&&t?t(p,l):e(p,l,d),c=!0,u._container=l,l.__vue_app__=u,Jc(p.component)}},onUnmount(l){a.push(l)},unmount(){c&&(an(a,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(l,f){return i.provides[l]=f,u},runWithContext(l){const f=Wr;Wr=u;try{return l()}finally{Wr=f}}};return u}}let Wr=null;function _r(e,t){if(pt){let n=pt.provides;const r=pt.parent&&pt.parent.provides;r===n&&(n=pt.provides=Object.create(r)),n[e]=t}}function gt(e,t,n=!1){const r=un();if(r||Wr){let s=Wr?Wr._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&ae(t)?t.call(r&&r.proxy):t}}function Gc(){return!!(un()||Wr)}const ov={},av=()=>Object.create(ov),cv=e=>Object.getPrototypeOf(e)===ov;function Q1(e,t,n,r=!1){const s={},i=av();e.propsDefaults=Object.create(null),lv(e,t,s,i);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=r?s:Fn(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function Z1(e,t,n,r){const{props:s,attrs:i,vnode:{patchFlag:o}}=e,a=Ee(s),[c]=e.propsOptions;let u=!1;if((r||o>0)&&!(o&16)){if(o&8){const l=e.vnode.dynamicProps;for(let f=0;f<l.length;f++){let d=l[f];if(Yc(e.emitsOptions,d))continue;const p=t[d];if(c)if(we(i,d))p!==i[d]&&(i[d]=p,u=!0);else{const h=Vt(d);s[h]=Lu(c,a,h,p,e,!1)}else p!==i[d]&&(i[d]=p,u=!0)}}}else{lv(e,t,s,i)&&(u=!0);let l;for(const f in a)(!t||!we(t,f)&&((l=ss(f))===f||!we(t,l)))&&(c?n&&(n[f]!==void 0||n[l]!==void 0)&&(s[f]=Lu(c,a,f,void 0,e,!0)):delete s[f]);if(i!==a)for(const f in i)(!t||!we(t,f))&&(delete i[f],u=!0)}u&&Dn(e.attrs,"set","")}function lv(e,t,n,r){const[s,i]=e.propsOptions;let o=!1,a;if(t)for(let c in t){if(js(c))continue;const u=t[c];let l;s&&we(s,l=Vt(c))?!i||!i.includes(l)?n[l]=u:(a||(a={}))[l]=u:Yc(e.emitsOptions,c)||(!(c in r)||u!==r[c])&&(r[c]=u,o=!0)}if(i){const c=Ee(n),u=a||xe;for(let l=0;l<i.length;l++){const f=i[l];n[f]=Lu(s,c,f,u[f],e,!we(u,f))}}return o}function Lu(e,t,n,r,s,i){const o=e[n];if(o!=null){const a=we(o,"default");if(a&&r===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&ae(c)){const{propsDefaults:u}=s;if(n in u)r=u[n];else{const l=Kr(s);r=u[n]=c.call(null,t),l()}}else r=c;s.ce&&s.ce._setProp(n,r)}o[0]&&(i&&!a?r=!1:o[1]&&(r===""||r===ss(n))&&(r=!0))}return r}const eI=new WeakMap;function uv(e,t,n=!1){const r=n?eI:t.propsCache,s=r.get(e);if(s)return s;const i=e.props,o={},a=[];let c=!1;if(!ae(e)){const l=f=>{c=!0;const[d,p]=uv(f,t,!0);lt(o,d),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}if(!i&&!c)return De(e)&&r.set(e,Fs),Fs;if(ie(i))for(let l=0;l<i.length;l++){const f=Vt(i[l]);vh(f)&&(o[f]=xe)}else if(i)for(const l in i){const f=Vt(l);if(vh(f)){const d=i[l],p=o[f]=ie(d)||ae(d)?{type:d}:lt({},d),h=p.type;let m=!1,v=!0;if(ie(h))for(let y=0;y<h.length;++y){const _=h[y],g=ae(_)&&_.name;if(g==="Boolean"){m=!0;break}else g==="String"&&(v=!1)}else m=ae(h)&&h.name==="Boolean";p[0]=m,p[1]=v,(m||we(p,"default"))&&a.push(f)}}const u=[o,a];return De(e)&&r.set(e,u),u}function vh(e){return e[0]!=="$"&&!js(e)}const yd=e=>e==="_"||e==="__"||e==="_ctx"||e==="$stable",_d=e=>ie(e)?e.map(Ft):[Ft(e)],tI=(e,t,n)=>{if(t._n)return t;const r=pd((...s)=>_d(t(...s)),n);return r._c=!1,r},fv=(e,t,n)=>{const r=e._ctx;for(const s in e){if(yd(s))continue;const i=e[s];if(ae(i))t[s]=tI(s,i,r);else if(i!=null){const o=_d(i);t[s]=()=>o}}},dv=(e,t)=>{const n=_d(t);e.slots.default=()=>n},pv=(e,t,n)=>{for(const r in t)(n||!yd(r))&&(e[r]=t[r])},nI=(e,t,n)=>{const r=e.slots=av();if(e.vnode.shapeFlag&32){const s=t.__;s&&Cu(r,"__",s,!0);const i=t._;i?(pv(r,t,n),n&&Cu(r,"_",i,!0)):fv(t,r)}else t&&dv(e,t)},rI=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,o=xe;if(r.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:pv(s,t,n):(i=!t.$stable,fv(t,s)),o=t}else t&&(dv(e,t),o={default:1});if(i)for(const a in s)!yd(a)&&o[a]==null&&delete s[a]},ft=Ev;function sI(e){return hv(e)}function iI(e){return hv(e,R1)}function hv(e,t){const n=Uc();n.__VUE__=!0;const{insert:r,remove:s,patchProp:i,createElement:o,createText:a,createComment:c,setText:u,setElementText:l,parentNode:f,nextSibling:d,setScopeId:p=rn,insertStaticContent:h}=e,m=(E,w,R,j=null,O=null,H=null,F=void 0,W=null,L=!!w.dynamicChildren)=>{if(E===w)return;E&&!en(E,w)&&(j=P(E),$e(E,O,H,!0),E=null),w.patchFlag===-2&&(L=!1,w.dynamicChildren=null);const{type:N,ref:z,shapeFlag:V}=w;switch(N){case zr:v(E,w,R,j);break;case Ze:y(E,w,R,j);break;case zs:E==null&&_(w,R,j,F);break;case ot:A(E,w,R,j,O,H,F,W,L);break;default:V&1?S(E,w,R,j,O,H,F,W,L):V&6?U(E,w,R,j,O,H,F,W,L):(V&64||V&128)&&N.process(E,w,R,j,O,H,F,W,L,Q)}z!=null&&O?qs(z,E&&E.ref,H,w||E,!w):z==null&&E&&E.ref!=null&&qs(E.ref,null,H,E,!0)},v=(E,w,R,j)=>{if(E==null)r(w.el=a(w.children),R,j);else{const O=w.el=E.el;w.children!==E.children&&u(O,w.children)}},y=(E,w,R,j)=>{E==null?r(w.el=c(w.children||""),R,j):w.el=E.el},_=(E,w,R,j)=>{[E.el,E.anchor]=h(E.children,w,R,j,E.el,E.anchor)},g=({el:E,anchor:w},R,j)=>{let O;for(;E&&E!==w;)O=d(E),r(E,R,j),E=O;r(w,R,j)},b=({el:E,anchor:w})=>{let R;for(;E&&E!==w;)R=d(E),s(E),E=R;s(w)},S=(E,w,R,j,O,H,F,W,L)=>{w.type==="svg"?F="svg":w.type==="math"&&(F="mathml"),E==null?T(w,R,j,O,H,F,W,L):x(E,w,O,H,F,W,L)},T=(E,w,R,j,O,H,F,W)=>{let L,N;const{props:z,shapeFlag:V,transition:ee,dirs:le}=E;if(L=E.el=o(E.type,H,z&&z.is,z),V&8?l(L,E.children):V&16&&M(E.children,L,null,j,O,Nl(E,H),F,W),le&&gn(E,null,j,"created"),C(L,E,E.scopeId,F,j),z){for(const Oe in z)Oe!=="value"&&!js(Oe)&&i(L,Oe,null,z[Oe],H,j);"value"in z&&i(L,"value",null,z.value,H),(N=z.onVnodeBeforeMount)&&Ot(N,j,E)}le&&gn(E,null,j,"beforeMount");const ge=mv(O,ee);ge&&ee.beforeEnter(L),r(L,w,R),((N=z&&z.onVnodeMounted)||ge||le)&&ft(()=>{N&&Ot(N,j,E),ge&&ee.enter(L),le&&gn(E,null,j,"mounted")},O)},C=(E,w,R,j,O)=>{if(R&&p(E,R),j)for(let H=0;H<j.length;H++)p(E,j[H]);if(O){let H=O.subTree;if(w===H||ic(H.type)&&(H.ssContent===w||H.ssFallback===w)){const F=O.vnode;C(E,F,F.scopeId,F.slotScopeIds,O.parent)}}},M=(E,w,R,j,O,H,F,W,L=0)=>{for(let N=L;N<E.length;N++){const z=E[N]=W?sr(E[N]):Ft(E[N]);m(null,z,w,R,j,O,H,F,W)}},x=(E,w,R,j,O,H,F)=>{const W=w.el=E.el;let{patchFlag:L,dynamicChildren:N,dirs:z}=w;L|=E.patchFlag&16;const V=E.props||xe,ee=w.props||xe;let le;if(R&&xr(R,!1),(le=ee.onVnodeBeforeUpdate)&&Ot(le,R,w,E),z&&gn(w,E,R,"beforeUpdate"),R&&xr(R,!0),(V.innerHTML&&ee.innerHTML==null||V.textContent&&ee.textContent==null)&&l(W,""),N?k(E.dynamicChildren,N,W,R,j,Nl(w,O),H):F||q(E,w,W,null,R,j,Nl(w,O),H,!1),L>0){if(L&16)B(W,V,ee,R,O);else if(L&2&&V.class!==ee.class&&i(W,"class",null,ee.class,O),L&4&&i(W,"style",V.style,ee.style,O),L&8){const ge=w.dynamicProps;for(let Oe=0;Oe<ge.length;Oe++){const Te=ge[Oe],At=V[Te],bt=ee[Te];(bt!==At||Te==="value")&&i(W,Te,At,bt,O,R)}}L&1&&E.children!==w.children&&l(W,w.children)}else!F&&N==null&&B(W,V,ee,R,O);((le=ee.onVnodeUpdated)||z)&&ft(()=>{le&&Ot(le,R,w,E),z&&gn(w,E,R,"updated")},j)},k=(E,w,R,j,O,H,F)=>{for(let W=0;W<w.length;W++){const L=E[W],N=w[W],z=L.el&&(L.type===ot||!en(L,N)||L.shapeFlag&198)?f(L.el):R;m(L,N,z,null,j,O,H,F,!0)}},B=(E,w,R,j,O)=>{if(w!==R){if(w!==xe)for(const H in w)!js(H)&&!(H in R)&&i(E,H,w[H],null,O,j);for(const H in R){if(js(H))continue;const F=R[H],W=w[H];F!==W&&H!=="value"&&i(E,H,W,F,O,j)}"value"in R&&i(E,"value",w.value,R.value,O)}},A=(E,w,R,j,O,H,F,W,L)=>{const N=w.el=E?E.el:a(""),z=w.anchor=E?E.anchor:a("");let{patchFlag:V,dynamicChildren:ee,slotScopeIds:le}=w;le&&(W=W?W.concat(le):le),E==null?(r(N,R,j),r(z,R,j),M(w.children||[],R,z,O,H,F,W,L)):V>0&&V&64&&ee&&E.dynamicChildren?(k(E.dynamicChildren,ee,R,O,H,F,W),(w.key!=null||O&&w===O.subTree)&&gv(E,w,!0)):q(E,w,R,z,O,H,F,W,L)},U=(E,w,R,j,O,H,F,W,L)=>{w.slotScopeIds=W,E==null?w.shapeFlag&512?O.ctx.activate(w,R,j,F,L):X(w,R,j,O,H,F,L):re(E,w,L)},X=(E,w,R,j,O,H,F)=>{const W=E.component=kI(E,j,O);if(jo(E)&&(W.ctx.renderer=Q),xI(W,!1,F),W.asyncDep){if(O&&O.registerDep(W,$,F),!E.el){const L=W.subTree=qe(Ze);y(null,L,w,R),E.placeholder=L.el}}else $(W,E,w,R,O,H,F)},re=(E,w,R)=>{const j=w.component=E.component;if(gI(E,w,R))if(j.asyncDep&&!j.asyncResolved){Y(j,w,R);return}else j.next=w,j.update();else w.el=E.el,j.vnode=w},$=(E,w,R,j,O,H,F)=>{const W=()=>{if(E.isMounted){let{next:V,bu:ee,u:le,parent:ge,vnode:Oe}=E;{const Dt=yv(E);if(Dt){V&&(V.el=Oe.el,Y(E,V,F)),Dt.asyncDep.then(()=>{E.isUnmounted||W()});return}}let Te=V,At;xr(E,!1),V?(V.el=Oe.el,Y(E,V,F)):V=Oe,ee&&Hs(ee),(At=V.props&&V.props.onVnodeBeforeUpdate)&&Ot(At,ge,V,Oe),xr(E,!0);const bt=Pl(E),Gt=E.subTree;E.subTree=bt,m(Gt,bt,f(Gt.el),P(Gt),E,O,H),V.el=bt.el,Te===null&&Kc(E,bt.el),le&&ft(le,O),(At=V.props&&V.props.onVnodeUpdated)&&ft(()=>Ot(At,ge,V,Oe),O)}else{let V;const{el:ee,props:le}=w,{bm:ge,m:Oe,parent:Te,root:At,type:bt}=E,Gt=gr(w);if(xr(E,!1),ge&&Hs(ge),!Gt&&(V=le&&le.onVnodeBeforeMount)&&Ot(V,Te,w),xr(E,!0),ee&&Ae){const Dt=()=>{E.subTree=Pl(E),Ae(ee,E.subTree,E,O,null)};Gt&&bt.__asyncHydrate?bt.__asyncHydrate(ee,E,Dt):Dt()}else{At.ce&&At.ce._def.shadowRoot!==!1&&At.ce._injectChildStyle(bt);const Dt=E.subTree=Pl(E);m(null,Dt,R,j,E,O,H),w.el=Dt.el}if(Oe&&ft(Oe,O),!Gt&&(V=le&&le.onVnodeMounted)){const Dt=w;ft(()=>Ot(V,Te,Dt),O)}(w.shapeFlag&256||Te&&gr(Te.vnode)&&Te.vnode.shapeFlag&256)&&E.a&&ft(E.a,O),E.isMounted=!0,w=R=j=null}};E.scope.on();const L=E.effect=new b_(W);E.scope.off();const N=E.update=L.run.bind(L),z=E.job=L.runIfDirty.bind(L);z.i=E,z.id=E.uid,L.scheduler=()=>dd(z),xr(E,!0),N()},Y=(E,w,R)=>{w.component=E;const j=E.vnode.props;E.vnode=w,E.next=null,Z1(E,w.props,j,R),rI(E,w.children,R),qn(),uh(E),Wn()},q=(E,w,R,j,O,H,F,W,L=!1)=>{const N=E&&E.children,z=E?E.shapeFlag:0,V=w.children,{patchFlag:ee,shapeFlag:le}=w;if(ee>0){if(ee&128){je(N,V,R,j,O,H,F,W,L);return}else if(ee&256){fe(N,V,R,j,O,H,F,W,L);return}}le&8?(z&16&&st(N,O,H),V!==N&&l(R,V)):z&16?le&16?je(N,V,R,j,O,H,F,W,L):st(N,O,H,!0):(z&8&&l(R,""),le&16&&M(V,R,j,O,H,F,W,L))},fe=(E,w,R,j,O,H,F,W,L)=>{E=E||Fs,w=w||Fs;const N=E.length,z=w.length,V=Math.min(N,z);let ee;for(ee=0;ee<V;ee++){const le=w[ee]=L?sr(w[ee]):Ft(w[ee]);m(E[ee],le,R,null,O,H,F,W,L)}N>z?st(E,O,H,!0,!1,V):M(w,R,j,O,H,F,W,L,V)},je=(E,w,R,j,O,H,F,W,L)=>{let N=0;const z=w.length;let V=E.length-1,ee=z-1;for(;N<=V&&N<=ee;){const le=E[N],ge=w[N]=L?sr(w[N]):Ft(w[N]);if(en(le,ge))m(le,ge,R,null,O,H,F,W,L);else break;N++}for(;N<=V&&N<=ee;){const le=E[V],ge=w[ee]=L?sr(w[ee]):Ft(w[ee]);if(en(le,ge))m(le,ge,R,null,O,H,F,W,L);else break;V--,ee--}if(N>V){if(N<=ee){const le=ee+1,ge=le<z?w[le].el:j;for(;N<=ee;)m(null,w[N]=L?sr(w[N]):Ft(w[N]),R,ge,O,H,F,W,L),N++}}else if(N>ee)for(;N<=V;)$e(E[N],O,H,!0),N++;else{const le=N,ge=N,Oe=new Map;for(N=ge;N<=ee;N++){const $t=w[N]=L?sr(w[N]):Ft(w[N]);$t.key!=null&&Oe.set($t.key,N)}let Te,At=0;const bt=ee-ge+1;let Gt=!1,Dt=0;const Ni=new Array(bt);for(N=0;N<bt;N++)Ni[N]=0;for(N=le;N<=V;N++){const $t=E[N];if(At>=bt){$e($t,O,H,!0);continue}let fn;if($t.key!=null)fn=Oe.get($t.key);else for(Te=ge;Te<=ee;Te++)if(Ni[Te-ge]===0&&en($t,w[Te])){fn=Te;break}fn===void 0?$e($t,O,H,!0):(Ni[fn-ge]=N+1,fn>=Dt?Dt=fn:Gt=!0,m($t,w[fn],R,null,O,H,F,W,L),At++)}const nh=Gt?oI(Ni):Fs;for(Te=nh.length-1,N=bt-1;N>=0;N--){const $t=ge+N,fn=w[$t],rh=w[$t+1],sh=$t+1<z?rh.el||rh.placeholder:j;Ni[N]===0?m(null,fn,R,sh,O,H,F,W,L):Gt&&(Te<0||N!==nh[Te]?ut(fn,R,sh,2):Te--)}}},ut=(E,w,R,j,O=null)=>{const{el:H,type:F,transition:W,children:L,shapeFlag:N}=E;if(N&6){ut(E.component.subTree,w,R,j);return}if(N&128){E.suspense.move(w,R,j);return}if(N&64){F.move(E,w,R,Q);return}if(F===ot){r(H,w,R);for(let V=0;V<L.length;V++)ut(L[V],w,R,j);r(E.anchor,w,R);return}if(F===zs){g(E,w,R);return}if(j!==2&&N&1&&W)if(j===0)W.beforeEnter(H),r(H,w,R),ft(()=>W.enter(H),O);else{const{leave:V,delayLeave:ee,afterLeave:le}=W,ge=()=>{E.ctx.isUnmounted?s(H):r(H,w,R)},Oe=()=>{V(H,()=>{ge(),le&&le()})};ee?ee(H,ge,Oe):Oe()}else r(H,w,R)},$e=(E,w,R,j=!1,O=!1)=>{const{type:H,props:F,ref:W,children:L,dynamicChildren:N,shapeFlag:z,patchFlag:V,dirs:ee,cacheIndex:le}=E;if(V===-2&&(O=!1),W!=null&&(qn(),qs(W,null,R,E,!0),Wn()),le!=null&&(w.renderCache[le]=void 0),z&256){w.ctx.deactivate(E);return}const ge=z&1&&ee,Oe=!gr(E);let Te;if(Oe&&(Te=F&&F.onVnodeBeforeUnmount)&&Ot(Te,w,E),z&6)Rt(E.component,R,j);else{if(z&128){E.suspense.unmount(R,j);return}ge&&gn(E,null,w,"beforeUnmount"),z&64?E.type.remove(E,w,R,Q,j):N&&!N.hasOnce&&(H!==ot||V>0&&V&64)?st(N,w,R,!1,!0):(H===ot&&V&384||!O&&z&16)&&st(L,w,R),j&&Je(E)}(Oe&&(Te=F&&F.onVnodeUnmounted)||ge)&&ft(()=>{Te&&Ot(Te,w,E),ge&&gn(E,null,w,"unmounted")},R)},Je=E=>{const{type:w,el:R,anchor:j,transition:O}=E;if(w===ot){vt(R,j);return}if(w===zs){b(E);return}const H=()=>{s(R),O&&!O.persisted&&O.afterLeave&&O.afterLeave()};if(E.shapeFlag&1&&O&&!O.persisted){const{leave:F,delayLeave:W}=O,L=()=>F(R,H);W?W(E.el,H,L):L()}else H()},vt=(E,w)=>{let R;for(;E!==w;)R=d(E),s(E),E=R;s(w)},Rt=(E,w,R)=>{const{bum:j,scope:O,job:H,subTree:F,um:W,m:L,a:N,parent:z,slots:{__:V}}=E;sc(L),sc(N),j&&Hs(j),z&&ie(V)&&V.forEach(ee=>{z.renderCache[ee]=void 0}),O.stop(),H&&(H.flags|=8,$e(F,E,w,R)),W&&ft(W,w),ft(()=>{E.isUnmounted=!0},w),w&&w.pendingBranch&&!w.isUnmounted&&E.asyncDep&&!E.asyncResolved&&E.suspenseId===w.pendingId&&(w.deps--,w.deps===0&&w.resolve())},st=(E,w,R,j=!1,O=!1,H=0)=>{for(let F=H;F<E.length;F++)$e(E[F],w,R,j,O)},P=E=>{if(E.shapeFlag&6)return P(E.component.subTree);if(E.shapeFlag&128)return E.suspense.next();const w=d(E.anchor||E.el),R=w&&w[w1];return R?d(R):w};let K=!1;const G=(E,w,R)=>{E==null?w._vnode&&$e(w._vnode,null,null,!0):m(w._vnode||null,E,w,null,null,null,R),w._vnode=E,K||(K=!0,uh(),tc(),K=!1)},Q={p:m,um:$e,m:ut,r:Je,mt:X,mc:M,pc:q,pbc:k,n:P,o:e};let be,Ae;return t&&([be,Ae]=t(Q)),{render:G,hydrate:be,createApp:X1(G,be)}}function Nl({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 xr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function mv(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function gv(e,t,n=!1){const r=e.children,s=t.children;if(ie(r)&&ie(s))for(let i=0;i<r.length;i++){const o=r[i];let a=s[i];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[i]=sr(s[i]),a.el=o.el),!n&&a.patchFlag!==-2&&gv(o,a)),a.type===zr&&(a.el=o.el),a.type===Ze&&!a.el&&(a.el=o.el)}}function oI(e){const t=e.slice(),n=[0];let r,s,i,o,a;const c=e.length;for(r=0;r<c;r++){const u=e[r];if(u!==0){if(s=n[n.length-1],e[s]<u){t[r]=s,n.push(r);continue}for(i=0,o=n.length-1;i<o;)a=i+o>>1,e[n[a]]<u?i=a+1:o=a;u<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function yv(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:yv(t)}function sc(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const aI=Symbol.for("v-scx"),cI=()=>gt(aI);function lI(e,t){return vd(e,null,t)}function Ht(e,t,n){return vd(e,t,n)}function vd(e,t,n=xe){const{immediate:r,deep:s,flush:i,once:o}=n,a=lt({},n),c=t&&r||!t&&i!=="post";let u;if(si){if(i==="sync"){const p=cI();u=p.__watcherHandles||(p.__watcherHandles=[])}else if(!c){const p=()=>{};return p.stop=rn,p.resume=rn,p.pause=rn,p}}const l=pt;a.call=(p,h,m)=>an(p,l,h,m);let f=!1;i==="post"?a.scheduler=p=>{ft(p,l&&l.suspense)}:i!=="sync"&&(f=!0,a.scheduler=(p,h)=>{h?p():dd(p)}),a.augmentJob=p=>{t&&(p.flags|=4),f&&(p.flags|=2,l&&(p.id=l.uid,p.i=l))};const d=b1(e,t,a);return si&&(u?u.push(d):c&&d()),d}function uI(e,t,n){const r=this.proxy,s=Be(e)?e.includes(".")?_v(r,e):()=>r[e]:e.bind(r,r);let i;ae(t)?i=t:(i=t.handler,n=t);const o=Kr(this),a=vd(s,i.bind(r),n);return o(),a}function _v(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}const fI=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Vt(t)}Modifiers`]||e[`${ss(t)}Modifiers`];function dI(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||xe;let s=n;const i=t.startsWith("update:"),o=i&&fI(r,t.slice(7));o&&(o.trim&&(s=n.map(l=>Be(l)?l.trim():l)),o.number&&(s=n.map(ku)));let a,c=r[a=La(t)]||r[a=La(Vt(t))];!c&&i&&(c=r[a=La(ss(t))]),c&&an(c,e,6,s);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,an(u,e,6,s)}}function vv(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const i=e.emits;let o={},a=!1;if(!ae(e)){const c=u=>{const l=vv(u,t,!0);l&&(a=!0,lt(o,l))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!a?(De(e)&&r.set(e,null),null):(ie(i)?i.forEach(c=>o[c]=null):lt(o,i),De(e)&&r.set(e,o),o)}function Yc(e,t){return!e||!Do(t)?!1:(t=t.slice(2).replace(/Once$/,""),we(e,t[0].toLowerCase()+t.slice(1))||we(e,ss(t))||we(e,t))}function Pl(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[i],slots:o,attrs:a,emit:c,render:u,renderCache:l,props:f,data:d,setupState:p,ctx:h,inheritAttrs:m}=e,v=nc(e);let y,_;try{if(n.shapeFlag&4){const b=s||r,S=b;y=Ft(u.call(S,b,l,f,p,d,h)),_=a}else{const b=t;y=Ft(b.length>1?b(f,{attrs:a,slots:o,emit:c}):b(f,null)),_=t.props?a:hI(a)}}catch(b){ro.length=0,bi(b,e,1),y=qe(Ze)}let g=y;if(_&&m!==!1){const b=Object.keys(_),{shapeFlag:S}=g;b.length&&S&7&&(i&&b.some(nd)&&(_=mI(_,i)),g=Vn(g,_,!1,!0))}return n.dirs&&(g=Vn(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&ti(g,n.transition),y=g,nc(v),y}function pI(e,t=!0){let n;for(let r=0;r<e.length;r++){const s=e[r];if(Yr(s)){if(s.type!==Ze||s.children==="v-if"){if(n)return;n=s}}else return}return n}const hI=e=>{let t;for(const n in e)(n==="class"||n==="style"||Do(n))&&((t||(t={}))[n]=e[n]);return t},mI=(e,t)=>{const n={};for(const r in e)(!nd(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function gI(e,t,n){const{props:r,children:s,component:i}=e,{props:o,children:a,patchFlag:c}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?bh(r,o,u):!!o;if(c&8){const l=t.dynamicProps;for(let f=0;f<l.length;f++){const d=l[f];if(o[d]!==r[d]&&!Yc(u,d))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===o?!1:r?o?bh(r,o,u):!0:!!o;return!1}function bh(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const i=r[s];if(t[i]!==e[i]&&!Yc(n,i))return!0}return!1}function Kc({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 ic=e=>e.__isSuspense;let Du=0;const yI={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,i,o,a,c,u){if(e==null)_I(t,n,r,s,i,o,a,c,u);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}vI(e,t,n,r,s,o,a,c,u)}},hydrate:bI,normalize:EI},bd=yI;function wo(e,t){const n=e.props&&e.props[t];ae(n)&&n()}function _I(e,t,n,r,s,i,o,a,c){const{p:u,o:{createElement:l}}=c,f=l("div"),d=e.suspense=bv(e,s,r,t,f,n,i,o,a,c);u(null,d.pendingBranch=e.ssContent,f,null,r,d,i,o),d.deps>0?(wo(e,"onPending"),wo(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,i,o),Ws(d,e.ssFallback)):d.resolve(!1,!0)}function vI(e,t,n,r,s,i,o,a,{p:c,um:u,o:{createElement:l}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,p=t.ssFallback,{activeBranch:h,pendingBranch:m,isInFallback:v,isHydrating:y}=f;if(m)f.pendingBranch=d,en(d,m)?(c(m,d,f.hiddenContainer,null,s,f,i,o,a),f.deps<=0?f.resolve():v&&(y||(c(h,p,n,r,s,null,i,o,a),Ws(f,p)))):(f.pendingId=Du++,y?(f.isHydrating=!1,f.activeBranch=m):u(m,s,f),f.deps=0,f.effects.length=0,f.hiddenContainer=l("div"),v?(c(null,d,f.hiddenContainer,null,s,f,i,o,a),f.deps<=0?f.resolve():(c(h,p,n,r,s,null,i,o,a),Ws(f,p))):h&&en(d,h)?(c(h,d,n,r,s,f,i,o,a),f.resolve(!0)):(c(null,d,f.hiddenContainer,null,s,f,i,o,a),f.deps<=0&&f.resolve()));else if(h&&en(d,h))c(h,d,n,r,s,f,i,o,a),Ws(f,d);else if(wo(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=Du++,c(null,d,f.hiddenContainer,null,s,f,i,o,a),f.deps<=0)f.resolve();else{const{timeout:_,pendingId:g}=f;_>0?setTimeout(()=>{f.pendingId===g&&f.fallback(p)},_):_===0&&f.fallback(p)}}function bv(e,t,n,r,s,i,o,a,c,u,l=!1){const{p:f,m:d,um:p,n:h,o:{parentNode:m,remove:v}}=u;let y;const _=SI(e);_&&t&&t.pendingBranch&&(y=t.pendingId,t.deps++);const g=e.props?m_(e.props.timeout):void 0,b=i,S={vnode:e,parent:t,parentComponent:n,namespace:o,container:r,hiddenContainer:s,deps:0,pendingId:Du++,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!l,isHydrating:l,isUnmounted:!1,effects:[],resolve(T=!1,C=!1){const{vnode:M,activeBranch:x,pendingBranch:k,pendingId:B,effects:A,parentComponent:U,container:X}=S;let re=!1;S.isHydrating?S.isHydrating=!1:T||(re=x&&k.transition&&k.transition.mode==="out-in",re&&(x.transition.afterLeave=()=>{B===S.pendingId&&(d(k,X,i===b?h(x):i,0),ec(A))}),x&&(m(x.el)===X&&(i=h(x)),p(x,U,S,!0)),re||d(k,X,i,0)),Ws(S,k),S.pendingBranch=null,S.isInFallback=!1;let $=S.parent,Y=!1;for(;$;){if($.pendingBranch){$.effects.push(...A),Y=!0;break}$=$.parent}!Y&&!re&&ec(A),S.effects=[],_&&t&&t.pendingBranch&&y===t.pendingId&&(t.deps--,t.deps===0&&!C&&t.resolve()),wo(M,"onResolve")},fallback(T){if(!S.pendingBranch)return;const{vnode:C,activeBranch:M,parentComponent:x,container:k,namespace:B}=S;wo(C,"onFallback");const A=h(M),U=()=>{S.isInFallback&&(f(null,T,k,A,x,null,B,a,c),Ws(S,T))},X=T.transition&&T.transition.mode==="out-in";X&&(M.transition.afterLeave=U),S.isInFallback=!0,p(M,x,null,!0),X||U()},move(T,C,M){S.activeBranch&&d(S.activeBranch,T,C,M),S.container=T},next(){return S.activeBranch&&h(S.activeBranch)},registerDep(T,C,M){const x=!!S.pendingBranch;x&&S.deps++;const k=T.vnode.el;T.asyncDep.catch(B=>{bi(B,T,0)}).then(B=>{if(T.isUnmounted||S.isUnmounted||S.pendingId!==T.suspenseId)return;T.asyncResolved=!0;const{vnode:A}=T;Bu(T,B),k&&(A.el=k);const U=!k&&T.subTree.el;C(T,A,m(k||T.subTree.el),k?null:h(T.subTree),S,o,M),U&&v(U),Kc(T,A.el),x&&--S.deps===0&&S.resolve()})},unmount(T,C){S.isUnmounted=!0,S.activeBranch&&p(S.activeBranch,n,T,C),S.pendingBranch&&p(S.pendingBranch,n,T,C)}};return S}function bI(e,t,n,r,s,i,o,a,c){const u=t.suspense=bv(t,r,n,e.parentNode,document.createElement("div"),null,s,i,o,a,!0),l=c(e,u.pendingBranch=t.ssContent,n,u,i,o);return u.deps===0&&u.resolve(!1,!0),l}function EI(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Eh(r?n.default:n),e.ssFallback=r?Eh(n.fallback):qe(Ze)}function Eh(e){let t;if(ae(e)){const n=ni&&e._c;n&&(e._d=!1,Ge()),e=e(),n&&(e._d=!0,t=Nt,Sv())}return ie(e)&&(e=pI(e)),e=Ft(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Ev(e,t){t&&t.pendingBranch?ie(e)?t.effects.push(...e):t.effects.push(e):ec(e)}function Ws(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,Kc(r,s))}function SI(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const ot=Symbol.for("v-fgt"),zr=Symbol.for("v-txt"),Ze=Symbol.for("v-cmt"),zs=Symbol.for("v-stc"),ro=[];let Nt=null;function Ge(e=!1){ro.push(Nt=e?null:[])}function Sv(){ro.pop(),Nt=ro[ro.length-1]||null}let ni=1;function Sh(e,t=!1){ni+=e,e<0&&Nt&&t&&(Nt.hasOnce=!0)}function wv(e){return e.dynamicChildren=ni>0?Nt||Fs:null,Sv(),ni>0&&Nt&&Nt.push(e),e}function Zt(e,t,n,r,s,i){return wv(ri(e,t,n,r,s,i,!0))}function _n(e,t,n,r,s){return wv(qe(e,t,n,r,s,!0))}function Yr(e){return e?e.__v_isVNode===!0:!1}function en(e,t){return e.type===t.type&&e.key===t.key}const Tv=({key:e})=>e??null,Da=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Be(e)||rt(e)||ae(e)?{i:ht,r:e,k:t,f:!!n}:e:null);function ri(e,t=null,n=null,r=0,s=null,i=e===ot?0:1,o=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Tv(t),ref:t&&Da(t),scopeId:H_,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:ht};return a?(Ed(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=Be(n)?8:16),ni>0&&!o&&Nt&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Nt.push(c),c}const qe=wI;function wI(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===tv)&&(e=Ze),Yr(e)){const a=Vn(e,t,!0);return n&&Ed(a,n),ni>0&&!i&&Nt&&(a.shapeFlag&6?Nt[Nt.indexOf(e)]=a:Nt.push(a)),a.patchFlag=-2,a}if(OI(e)&&(e=e.__vccOpts),t){t=Iv(t);let{class:a,style:c}=t;a&&!Be(a)&&(t.class=Gr(a)),De(c)&&(fd(c)&&!ie(c)&&(c=lt({},c)),t.style=vi(c))}const o=Be(e)?1:ic(e)?128:U_(e)?64:De(e)?4:ae(e)?2:0;return ri(e,t,n,r,s,o,i,!0)}function Iv(e){return e?fd(e)||cv(e)?lt({},e):e:null}function Vn(e,t,n=!1,r=!1){const{props:s,ref:i,patchFlag:o,children:a,transition:c}=e,u=t?Sd(s||{},t):s,l={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Tv(u),ref:t&&t.ref?n&&i?ie(i)?i.concat(Da(t)):[i,Da(t)]:Da(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ot?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Vn(e.ssContent),ssFallback:e.ssFallback&&Vn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&ti(l,c.clone(l)),l}function Cv(e=" ",t=0){return qe(zr,null,e,t)}function TI(e,t){const n=qe(zs,null,e);return n.staticCount=t,n}function Ll(e="",t=!1){return t?(Ge(),_n(Ze,null,e)):qe(Ze,null,e)}function Ft(e){return e==null||typeof e=="boolean"?qe(Ze):ie(e)?qe(ot,null,e.slice()):Yr(e)?sr(e):qe(zr,null,String(e))}function sr(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Vn(e)}function Ed(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ie(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Ed(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!cv(t)?t._ctx=ht:s===3&&ht&&(ht.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ae(t)?(t={default:t,_ctx:ht},n=32):(t=String(t),r&64?(n=16,t=[Cv(t)]):n=8);e.children=t,e.shapeFlag|=n}function Sd(...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=Gr([t.class,r.class]));else if(s==="style")t.style=vi([t.style,r.style]);else if(Do(s)){const i=t[s],o=r[s];o&&i!==o&&!(ie(i)&&i.includes(o))&&(t[s]=i?[].concat(i,o):o)}else s!==""&&(t[s]=r[s])}return t}function Ot(e,t,n,r=null){an(e,t,7,[n,r])}const II=iv();let CI=0;function kI(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||II,i={uid:CI++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new v_(!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:uv(r,s),emitsOptions:vv(r,s),emit:null,emitted:null,propsDefaults:xe,inheritAttrs:r.inheritAttrs,ctx:xe,data:xe,props:xe,attrs:xe,slots:xe,refs:xe,setupState:xe,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=dI.bind(null,i),e.ce&&e.ce(i),i}let pt=null;const un=()=>pt||ht;let oc,$u;{const e=Uc(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),i=>{s.length>1?s.forEach(o=>o(i)):s[0](i)}};oc=t("__VUE_INSTANCE_SETTERS__",n=>pt=n),$u=t("__VUE_SSR_SETTERS__",n=>si=n)}const Kr=e=>{const t=pt;return oc(e),e.scope.on(),()=>{e.scope.off(),oc(t)}},Fu=()=>{pt&&pt.scope.off(),oc(null)};function kv(e){return e.vnode.shapeFlag&4}let si=!1;function xI(e,t=!1,n=!1){t&&$u(t);const{props:r,children:s}=e.vnode,i=kv(e);Q1(e,r,i,t),nI(e,s,n||t);const o=i?RI(e,t):void 0;return t&&$u(!1),o}function RI(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,U1);const{setup:r}=n;if(r){qn();const s=e.setupContext=r.length>1?Rv(e):null,i=Kr(e),o=Bo(r,e,0,[e.props,s]),a=sd(o);if(Wn(),i(),(a||e.sp)&&!gr(e)&&hd(e),a){if(o.then(Fu,Fu),t)return o.then(c=>{Bu(e,c)}).catch(c=>{bi(c,e,0)});e.asyncDep=o}else Bu(e,o)}else xv(e)}function Bu(e,t,n){ae(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:De(t)&&(e.setupState=D_(t)),xv(e)}function xv(e,t,n){const r=e.type;e.render||(e.render=r.render||rn);{const s=Kr(e);qn();try{z1(e)}finally{Wn(),s()}}}const AI={get(e,t){return St(e,"get",""),e[t]}};function Rv(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,AI),slots:e.slots,emit:e.emit,expose:t}}function Jc(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(D_(l1(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in no)return no[n](e)},has(t,n){return n in t||n in no}})):e.proxy}function ju(e,t=!0){return ae(e)?e.displayName||e.name:e.name||t&&e.__name}function OI(e){return ae(e)&&"__vccOpts"in e}const et=(e,t)=>_1(e,t,si);function mt(e,t,n){const r=arguments.length;return r===2?De(t)&&!ie(t)?Yr(t)?qe(e,null,[t]):qe(e,t):qe(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Yr(n)&&(n=[n]),qe(e,t,n))}const MI="3.5.18";/** 16* @vue/runtime-dom v3.5.18 17* (c) 2018-present Yuxi (Evan) You and Vue contributors 18* @license MIT
19**/let Hu;const wh=typeof window<"u"&&window.trustedTypes;if(wh)try{Hu=wh.createPolicy("vue",{createHTML:e=>e})}catch{}const Av=Hu?e=>Hu.createHTML(e):e=>e,NI="http://www.w3.org/2000/svg",PI="http://www.w3.org/1998/Math/MathML",Nn=typeof document<"u"?document:null,Th=Nn&&Nn.createElement("template"),LI={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"?Nn.createElementNS(NI,e):t==="mathml"?Nn.createElementNS(PI,e):n?Nn.createElement(e,{is:n}):Nn.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Nn.createTextNode(e),createComment:e=>Nn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Nn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,i){const o=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{Th.innerHTML=Av(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=Th.content;if(r==="svg"||r==="mathml"){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}t.insertBefore(a,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},er="transition",Di="animation",To=Symbol("_vtc"),Ov={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},DI=lt({},q_,Ov),$I=e=>(e.displayName="Transition",e.props=DI,e),FI=$I((e,{slots:t})=>mt(C1,BI(e),t)),Rr=(e,t=[])=>{ie(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ih=e=>e?ie(e)?e.some(t=>t.length>1):e.length>1:!1;function BI(e){const t={};for(const A in e)A in Ov||(t[A]=e[A]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:u=o,appearToClass:l=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=jI(s),m=h&&h[0],v=h&&h[1],{onBeforeEnter:y,onEnter:_,onEnterCancelled:g,onLeave:b,onLeaveCancelled:S,onBeforeAppear:T=y,onAppear:C=_,onAppearCancelled:M=g}=t,x=(A,U,X,re)=>{A._enterCancelled=re,Ar(A,U?l:a),Ar(A,U?u:o),X&&X()},k=(A,U)=>{A._isLeaving=!1,Ar(A,f),Ar(A,p),Ar(A,d),U&&U()},B=A=>(U,X)=>{const re=A?C:_,$=()=>x(U,A,X);Rr(re,[U,$]),Ch(()=>{Ar(U,A?c:i),An(U,A?l:a),Ih(re)||kh(U,r,m,$)})};return lt(t,{onBeforeEnter(A){Rr(y,[A]),An(A,i),An(A,o)},onBeforeAppear(A){Rr(T,[A]),An(A,c),An(A,u)},onEnter:B(!1),onAppear:B(!0),onLeave(A,U){A._isLeaving=!0;const X=()=>k(A,U);An(A,f),A._enterCancelled?(An(A,d),Ah()):(Ah(),An(A,d)),Ch(()=>{A._isLeaving&&(Ar(A,f),An(A,p),Ih(b)||kh(A,r,v,X))}),Rr(b,[A,X])},onEnterCancelled(A){x(A,!1,void 0,!0),Rr(g,[A])},onAppearCancelled(A){x(A,!0,void 0,!0),Rr(M,[A])},onLeaveCancelled(A){k(A),Rr(S,[A])}})}function jI(e){if(e==null)return null;if(De(e))return[Dl(e.enter),Dl(e.leave)];{const t=Dl(e);return[t,t]}}function Dl(e){return m_(e)}function An(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[To]||(e[To]=new Set)).add(t)}function Ar(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[To];n&&(n.delete(t),n.size||(e[To]=void 0))}function Ch(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let HI=0;function kh(e,t,n,r){const s=e._endId=++HI,i=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:a,propCount:c}=UI(e,t);if(!o)return r();const u=o+"end";let l=0;const f=()=>{e.removeEventListener(u,d),i()},d=p=>{p.target===e&&++l>=c&&f()};setTimeout(()=>{l<c&&f()},a+1),e.addEventListener(u,d)}function UI(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),s=r(`${er}Delay`),i=r(`${er}Duration`),o=xh(s,i),a=r(`${Di}Delay`),c=r(`${Di}Duration`),u=xh(a,c);let l=null,f=0,d=0;t===er?o>0&&(l=er,f=o,d=i.length):t===Di?u>0&&(l=Di,f=u,d=c.length):(f=Math.max(o,u),l=f>0?o>u?er:Di:null,d=l?l===er?i.length:c.length:0);const p=l===er&&/\b(transform|all)(,|$)/.test(r(`${er}Property`).toString());return{type:l,timeout:f,propCount:d,hasTransform:p}}function xh(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Rh(n)+Rh(e[r])))}function Rh(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ah(){return document.body.offsetHeight}function qI(e,t,n){const r=e[To];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}
vendor: 4,236 bytes, line 19
19const ac=Symbol("_vod"),Mv=Symbol("_vsh"),Y4={beforeMount(e,{value:t},{transition:n}){e[ac]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):$i(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),$i(e,!0),r.enter(e)):r.leave(e,()=>{$i(e,!1)}):$i(e,t))},beforeUnmount(e,{value:t}){$i(e,t)}};function $i(e,t){e.style.display=t?e[ac]:"none",e[Mv]=!t}const Nv=Symbol("");function K4(e){const t=un();if(!t)return;const n=t.ut=(s=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>cc(i,s))},r=()=>{const s=e(t.proxy);t.ce?cc(t.ce,s):Uu(t.subTree,s),n(s)};Q_(()=>{ec(r)}),Si(()=>{Ht(r,rn,{flush:"post"});const s=new MutationObserver(r);s.observe(t.subTree.el.parentNode,{childList:!0}),Vc(()=>s.disconnect())})}function Uu(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Uu(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)cc(e.el,t);else if(e.type===ot)e.children.forEach(n=>Uu(n,t));else if(e.type===zs){let{el:n,anchor:r}=e;for(;n&&(cc(n,t),n!==r);)n=n.nextSibling}}function cc(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const s in t){const i=UT(t[s]);n.setProperty(`--${s}`,i),r+=`--${s}: ${i};`}n[Nv]=r}}const WI=/(^|;)\s*display\s*:/;function zI(e,t,n){const r=e.style,s=Be(n);let i=!1;if(n&&!s){if(t)if(Be(t))for(const o of t.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&$a(r,a,"")}else for(const o in t)n[o]==null&&$a(r,o,"");for(const o in n)o==="display"&&(i=!0),$a(r,o,n[o])}else if(s){if(t!==n){const o=r[Nv];o&&(n+=";"+o),r.cssText=n,i=WI.test(n)}}else t&&e.removeAttribute("style");ac in e&&(e[ac]=i?r.display:"",e[Mv]&&(r.display="none"))}const Oh=/\s*!important$/;function $a(e,t,n){if(ie(n))n.forEach(r=>$a(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=VI(e,t);Oh.test(n)?e.setProperty(ss(r),n.replace(Oh,""),"important"):e[r]=n}}const Mh=["Webkit","Moz","ms"],$l={};function VI(e,t){const n=$l[t];if(n)return n;let r=Vt(t);if(r!=="filter"&&r in e)return $l[t]=r;r=Hc(r);for(let s=0;s<Mh.length;s++){const i=Mh[s]+r;if(i in e)return $l[t]=i}return t}const Nh="http://www.w3.org/1999/xlink";function Ph(e,t,n,r,s,i=jT(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Nh,t.slice(6,t.length)):e.setAttributeNS(Nh,t,n):n==null||i&&!g_(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Jn(n)?String(n):n)}function Lh(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Av(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const a=i==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(a!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=g_(n):n==null&&a==="string"?(n="",o=!0):a==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(s||t)}function Ts(e,t,n,r){e.addEventListener(t,n,r)}function GI(e,t,n,r){e.removeEventListener(t,n,r)}const Dh=Symbol("_vei");function YI(e,t,n,r,s=null){const i=e[Dh]||(e[Dh]={}),o=i[t];if(r&&o)o.value=r;else{const[a,c]=KI(t);if(r){const u=i[t]=QI(r,s);Ts(e,a,u,c)}else o&&(GI(e,a,o,c),i[t]=void 0)}}const $h=/(?:Once|Passive|Capture)$/;function KI(e){let t;if($h.test(e)){t={};let r;for(;r=e.match($h);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):ss(e.slice(2)),t]}let Fl=0;const JI=Promise.resolve(),XI=()=>Fl||(JI.then(()=>Fl=0),Fl=Date.now());function QI(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;an(ZI(r,n.value),t,5,[r])};return n.value=e,n.attached=XI(),n}function ZI(e,t){if(ie(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 Fh=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,eC=(e,t,n,r,s,i)=>{const o=s==="svg";t==="class"?qI(e,r,o):t==="style"?zI(e,n,r):Do(t)?nd(t)||YI(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.
19slice(1),!1):tC(e,t,r,o))?(Lh(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ph(e,t,r,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Be(r))?Lh(e,Vt(t),r,i,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Ph(e,t,r,o))};function tC(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Fh(t)&&ae(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Fh(t)&&Be(n)?!1:t in e}const Bh=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ie(t)?n=>Hs(t,n):t};function nC(e){e.target.composing=!0}function jh(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Bl=Symbol("_assign"),J4={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[Bl]=Bh(s);const i=r||s.props&&s.props.type==="number";Ts(e,t?"change":"input",o=>{if(o.target.composing)return;let a=e.value;n&&(a=a.trim()),i&&(a=ku(a)),e[Bl](a)}),n&&Ts(e,"change",()=>{e.value=e.value.trim()}),t||(Ts(e,"compositionstart",nC),Ts(e,"compositionend",jh),Ts(e,"change",jh))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:i}},o){if(e[Bl]=Bh(o),e.composing)return;const a=(i||e.type==="number")&&!/^0\d/.test(e.value)?ku(e.value):e.value,c=t??"";a!==c&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===c)||(e.value=c))}},rC=["ctrl","shift","alt","meta"],sC={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)=>rC.some(n=>e[`${n}Key`]&&!t.includes(n))},X4=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...i)=>{for(let o=0;o<t.length;o++){const a=sC[t[o]];if(a&&a(s,t))return}return e(s,...i)})},Pv=lt({patchProp:eC},LI);let so,Hh=!1;function iC(){return so||(so=sI(Pv))}function oC(){return so=Hh?so:iI(Pv),Hh=!0,so}const qu=(...e)=>{const t=iC().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Dv(r);if(!s)return;const i=t._component;!ae(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const o=n(s,!1,Lv(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t},aC=(...e)=>{const t=oC().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Dv(r);if(s)return n(s,!0,Lv(s))},t};function Lv(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Dv(e){return Be(e)?document.querySelector(e):e}const cC=/"(?:_|\\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*:/,lC=/"(?: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*:/,uC=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function fC(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){dC(e);return}return t}function dC(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Io(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!uC.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(cC.test(e)||lC.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,fC)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const pC=/#/g,hC=/&/g,mC=/\//g,gC=/=/g,wd=/\+/g,yC=/%5e/gi,_C=/%60/gi,vC=/%7c/gi,bC=/%20/gi;function EC(e){return encodeURI(""+e).replace(vC,"|")}function Wu(e){return EC(typeof e=="string"?e:JSON.stringify(e)).replace(wd,"%2B").replace(bC,"+").replace(pC,"%23").replace(hC,"%26").replace(_C,"`").replace(yC,"^").replace(mC,"%2F")}function jl(e){return Wu(e).replace(gC,"%3D")}function lc(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function SC(e){return lc(e.replace(wd," "))}function wC(e){return lc(e.replace(wd," "))}function $v(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const s=SC(r[1]);if(s==="__proto__"||s==="constructor")continue;const i=wC(r[2]||"");t[s]===void 0?t[s]=i:Array.isArray(t[s])?t[s].push(i):t[s]=[t[s],i]}return t}function TC(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${jl(e)}=${Wu(n)}`).join("&"):`${jl(e)}=${Wu(t)}`:jl(e)}function IC(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>
19TC(t,e[t])).filter(Boolean).join("&")}const CC=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,kC=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,xC=/^([/\\]\s*){2,}[^/\\]/,RC=/^[\s\0]*(blob|data|javascript|vbscript):$/i,AC=/\/$|\/\?|\/#/,OC=/^\.?\//;function is(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?CC.test(e):kC.test(e)||(t.acceptRelative?xC.test(e):!1)}function MC(e){return!!e&&RC.test(e)}function zu(e="",t){return t?AC.test(e):e.endsWith("/")}function Td(e="",t){if(!t)return(zu(e)?e.slice(0,-1):e)||"/";if(!zu(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");s!==-1&&(n=e.slice(0,s),r=e.slice(s));const[i,...o]=n.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(o.length>0?`?${o.join("?")}`:"")+r}function Vu(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(zu(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");if(s!==-1&&(n=e.slice(0,s),r=e.slice(s),!n))return r;const[i,...o]=n.split("?");return i+"/"+(o.length>0?`?${o.join("?")}`:"")+r}function NC(e=""){return e.startsWith("/")}function Uh(e=""){return NC(e)?e:"/"+e}function PC(e,t){if(Bv(t)||is(e))return e;const n=Td(t);return e.startsWith(n)?e:Id(n,e)}function qh(e,t){if(Bv(t))return e;const n=Td(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function Fv(e,t){const n=Uv(e),r={...$v(n.search),...t};return n.search=IC(r),$C(n)}function Bv(e){return!e||e==="/"}function LC(e){return e&&e!=="/"}function Id(e,...t){let n=e||"";for(const r of t.filter(s=>LC(s)))if(n){const s=r.replace(OC,"");n=Vu(n)+s}else n=r;return n}function jv(...e){var o,a,c,u;const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let s=0;for(const l of n)if(!(!l||l==="/")){for(const[f,d]of l.split(t).entries())if(!(!d||d===".")){if(d===".."){if(r.length===1&&is(r[0]))continue;r.pop(),s--;continue}if(f===1&&((o=r[r.length-1])!=null&&o.endsWith(":/"))){r[r.length-1]+="/"+d;continue}r.push(d),s++}}let i=r.join("/");return s>=0?(a=n[0])!=null&&a.startsWith("/")&&!i.startsWith("/")?i="/"+i:(c=n[0])!=null&&c.startsWith("./")&&!i.startsWith("./")&&(i="./"+i):i="../".repeat(-1*s)+i,(u=n[n.length-1])!=null&&u.endsWith("/")&&!i.endsWith("/")&&(i+="/"),i}function DC(e,t,n={}){return n.trailingSlash||(e=Vu(e),t=Vu(t)),n.leadingSlash||(e=Uh(e),t=Uh(t)),n.encoding||(e=lc(e),t=lc(t)),e===t}const Hv=Symbol.for("ufo:protocolRelative");function Uv(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,d=""]=n;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!is(e,{acceptRelative:!0}))return Wh(e);const[,r="",s,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,o="",a=""]=i.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:c,search:u,hash:l}=Wh(a);return{protocol:r.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:o,pathname:c,search:u,hash:l,[Hv]:!r}}function Wh(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function $C(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",s=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[Hv]?(e.protocol||"")+"//":"")+s+i+t+n+r}class FC extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function BC(e){var c,u,l,f,d;const t=((c=e.error)==null?void 0:c.message)||((u=e.error)==null?void 0:u.toString())||"",n=((l=e.request)==null?void 0:l.method)||((f=e.options)==null?void 0:f.method)||"GET",r=((d=e.request)==null?void 0:d.url)||String(e.request)||"/",s=`[${n}] ${JSON.stringify(r)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",o=`${s}: ${i}${t?` ${t}`:""}`,a=new FC(o,e.error?{cause:e.error}:void 0);for(const p of["request","options","response"])Object.defineProperty(a,p,{get(){return e[p]}});for(const[p,h]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,p,{get(){return e.response&&e.response[h]}});return a}const jC=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function zh(e="GET"){return jC.has(e.toUpperCase())}function HC(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const UC=new Set(["image/svg","application/xml","application/xhtml","application/html"]),qC=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function WC(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return qC.test(t)?"json":UC.has(t)||t.startsWith("text/")?"text":"blob"}function zC(e,t,n,r){const s=VC((t==null?void 0:t.headers)??(e==null?void 0:e.headers),n==null?void 0:n.headers,r);let i;return(n!=null&&n.query||n!=null&&n.params||t!=null&&t.params||t!=null&&t.query)&&(i={...n==null?void 0:n.params,...n==null?void 0:n.query,...t==null?void 0:t.params,...t==null?void 0:t.query}),{...n,...t,query:i,params:i,headers:s}}function VC(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[s,i]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(s,i);return r}async function ua(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const GC=new Set([408,409,425,429,500,502,503,504]),YC=new Set([101,204,205,304]);function qv(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function s(a){const c=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!c){let l;typeof a.options.retry=="number"?l=a.options.retry:l=zh(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(l>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):GC.has(f))){const d=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return d>0&&await new Promise(p=>setTimeout(p,d)),i(a.request,{...a.options,retry:l-1})}}const u=BC(a);throw Error.captureStackTrace&&Error.captureStackTrace(u,i),u}const i=async function(c,u={}){const l={request:c,options:zC(c,u,e.defaults,n),response:void 0,error:void 0};l.options.method&&(l.options.method=l.options.method.toUpperCase()),l.options.onRequest&&await ua(l,l.options.onRequest),typeof l.request=="string"&&(l.options.baseURL&&(l.request=PC(l.request,l.options.baseURL)),l.options.query&&(l.request=Fv(l.request,l.options.query),delete l.options.query),"query"in l.options&&delete l.options.query,"params"in l.options&&delete l.options.params),l.options.body&&zh(l.options.method)&&(HC(l.options.body)?(l.options.body=typeof l.options.body=="str
19ing"?l.options.body:JSON.stringify(l.options.body),l.options.headers=new n(l.options.headers||{}),l.options.headers.has("content-type")||l.options.headers.set("content-type","application/json"),l.options.headers.has("accept")||l.options.headers.set("accept","application/json")):("pipeTo"in l.options.body&&typeof l.options.body.pipeTo=="function"||typeof l.options.body.pipe=="function")&&("duplex"in l.options||(l.options.duplex="half")));let f;if(!l.options.signal&&l.options.timeout){const p=new r;f=setTimeout(()=>{const h=new Error("[TimeoutError]: The operation was aborted due to timeout");h.name="TimeoutError",h.code=23,p.abort(h)},l.options.timeout),l.options.signal=p.signal}try{l.response=await t(l.request,l.options)}catch(p){return l.error=p,l.options.onRequestError&&await ua(l,l.options.onRequestError),await s(l)}finally{f&&clearTimeout(f)}if((l.response.body||l.response._bodyInit)&&!YC.has(l.response.status)&&l.options.method!=="HEAD"){const p=(l.options.parseResponse?"json":l.options.responseType)||WC(l.response.headers.get("content-type")||"");switch(p){case"json":{const h=await l.response.text(),m=l.options.parseResponse||Io;l.response._data=m(h);break}case"stream":{l.response._data=l.response.body||l.response._bodyInit;break}default:l.response._data=await l.response[p]()}}return l.options.onResponse&&await ua(l,l.options.onResponse),!l.options.ignoreResponseError&&l.response.status>=400&&l.response.status<600?(l.options.onResponseError&&await ua(l,l.options.onResponseError),await s(l)):l.response},o=async function(c,u){return(await i(c,u))._data};return o.raw=i,o.native=(...a)=>t(...a),o.create=(a={},c={})=>qv({...e,...c,defaults:{...e.defaults,...c.defaults,...a}}),o}const uc=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),KC=uc.fetch?(...e)=>uc.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),JC=uc.Headers,XC=uc.AbortController,QC=qv({fetch:KC,Headers:JC,AbortController:XC}),ZC=QC,ek=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},fc=ek().app,tk=()=>fc.baseURL,nk=()=>fc.buildAssetsDir,Cd=(...e)=>jv(Wv(),nk(),...e),Wv=(...e)=>{const t=fc.cdnURL||fc.baseURL;return e.length?jv(t,...e):t};globalThis.__buildAssetsURL=Cd,globalThis.__publicAssetsURL=Wv;globalThis.$fetch||(globalThis.$fetch=ZC.create({baseURL:tk()}));function Gu(e,t={},n){for(const r in e){const s=e[r],i=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?Gu(s,t,i):typeof s=="function"&&(t[i]=s)}return t}const rk={run:e=>e()},sk=()=>rk,zv=typeof console.createTask<"u"?console.createTask:sk;function ik(e,t){const n=t.shift(),r=zv(n);return e.reduce((s,i)=>s.then(()=>r.run(()=>i(...t))),Promise.resolve())}function ok(e,t){const n=t.shift(),r=zv(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function Hl(e,t){for(const n of[...e])n(t)}class ak{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const s=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!r.allowDeprecated){let o=i.message;o||(o=`${s} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(o)||(console.warn(o),this._deprecatedMessages.add(o))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,s=(...i)=>(typeof r=="function"&&r(),r=void 0,s=void 0,n(...i));return r=this.hook(t,s),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const s of r)this.hook(t,s)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Gu(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=Gu(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(ik,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(ok,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;
19this._before&&Hl(this._before,s);const i=t(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&s&&Hl(this._after,s)}):(this._after&&s&&Hl(this._after,s),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function Vv(){return new ak}function ck(e={}){let t,n=!1;const r=o=>{if(t&&t!==o)throw new Error("Context conflict")};let s;if(e.asyncContext){const o=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;o?s=new o:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const i=()=>{if(s){const o=s.getStore();if(o!==void 0)return o}return t};return{use:()=>{const o=i();if(o===void 0)throw new Error("Context is not available");return o},tryUse:()=>i(),set:(o,a)=>{a||r(o),t=o,n=!0},unset:()=>{t=void 0,n=!1},call:(o,a)=>{r(o),t=o;try{return s?s.run(o,a):a()}finally{n||(t=void 0)}},async callAsync(o,a){t=o;const c=()=>{t=o},u=()=>t===o?c:void 0;Yu.add(u);try{const l=s?s.run(o,a):a();return n||(t=void 0),await l}finally{Yu.delete(u)}}}}function lk(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=ck({...e,...r})),t[n]}}}const dc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Vh="__unctx__",uk=dc[Vh]||(dc[Vh]=lk()),fk=(e,t={})=>uk.get(e,t),Gh="__unctx_async_handlers__",Yu=dc[Gh]||(dc[Gh]=new Set);function Vs(e){const t=[];for(const s of Yu){const i=s();i&&t.push(i)}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 Ku={name:"page",mode:"out-in"},dk=!1,pk=!1,Q4={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},As={value:null,errorValue:null,deep:!0},hk=null,mk={},gk="#__nuxt",Gv="nuxt-app",Yh=36e5,yk="vite:preloadError";function Yv(e=Gv){return fk(e,{asyncContext:!1})}const _k="__nuxt_plugin";function vk(e){var s;let t=0;const n={_id:e.id||Gv||"nuxt-app",_scope:qT(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.16.2"},get vue(){return n.vueApp.version}},payload:Fn({...((s=e.ssrContext)==null?void 0:s.payload)||{},data:Fn({}),state:Xn({}),once:new Set,_errors:Fn({})}),static:{data:{}},runWithContext(i){return n._scope.active&&!Fo()?n._scope.run(()=>Kh(n,i)):Kh(n,i)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let i=!1;return()=>{if(!i&&(i=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:Fn({}),_payloadRevivers:{},...e};{const i=window.__NUXT__;if(i)for(const o in i)switch(o){case"data":case"state":case"_errors":Object.assign(n.payload[o],i[o]);break;default:n.payload[o]=i[o]}}n.hooks=Vv(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(i,o)=>{const a="$"+i;fa(n,a,o),fa(n.vueApp.config.globalProperties,a,o)},fa(n.vueApp,"$nuxt",n),fa(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(yk,o=>{n.callHook("app:chunkError",{error:o.payload}),(n.isHydrating||o.payload.message.includes("Unable to preload CSS"))&&o.preventDefault()}),window.useNuxtApp||(window.useNuxtApp=Ye);const i=n.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});n.hook("app:mounted",i)}const r=n.payload.config;return n.provide("config",r),n}function bk(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function Ek(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 Sk(e,t){const n=[],r=[],s=[],i=[];let o=0;async function a(c){var l;const u=((l=c.dependsOn)==null?void 0:l.filter(f=>t.some(d=>d._name===f)&&!n.includes(f)))??[];if(u.length>0)r.push([new Set(u),c]);else{const f=Ek(e,c).then(async()=>{c._name&&(n.push(c._name),await Promise.all(r.map(async([d,p])=>{d.has(c._name)&&(d.delete(c._name),d.size===0&&(o++,await a(p)))}
19)))});c.parallel?s.push(f.catch(d=>i.push(d))):await f}}for(const c of t)bk(e,c);for(const c of t)await a(c);if(await Promise.all(s),o)for(let c=0;c<o;c++)await Promise.all(s);if(i.length)throw i[0]}function wt(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[_k]:!0,_name:t})}function Kh(e,t,n){const r=()=>t();return Yv(e._id).set(e),e.vueApp.runWithContext(r)}function Kv(e){var n;let t;return Gc()&&(t=(n=un())==null?void 0:n.appContext.app.$nuxt),t||(t=Yv(e).tryUse()),t||null}function Ye(e){const t=Kv(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function os(e){return Ye().$config}function fa(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function wk(e,t){return{ctx:{table:e},matchAll:n=>Xv(n,e)}}function Jv(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,s])=>[r,Jv(s)])):new Map(Object.entries(e[n]));return t}function Tk(e){return wk(Jv(e))}function Xv(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[i,o]of Jh(t.wildcard))(e===i||e.startsWith(i+"/"))&&r.push(o);for(const[i,o]of Jh(t.dynamic))if(e.startsWith(i+"/")){const a="/"+e.slice(i.length).split("/").splice(2).join("/");r.push(...Xv(a,o))}const s=t.static.get(e);return s&&r.push(s),r.filter(Boolean)}function Jh(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function Ul(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 Ju(e,t,n=".",r){if(!Ul(t))return Ju(e,{},n,r);const s=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const o=e[i];o!=null&&(r&&r(s,i,o,n)||(Array.isArray(o)&&Array.isArray(s[i])?s[i]=[...o,...s[i]]:Ul(o)&&Ul(s[i])?s[i]=Ju(o,s[i],(n?`${n}.`:"")+i.toString(),r):s[i]=o))}return s}function Qv(e){return(...t)=>t.reduce((n,r)=>Ju(n,r,"",e),{})}const pc=Qv(),Z4=Qv((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function Ik(e,t){try{return t in e}catch{return!1}}class Xu extends Error{constructor(n,r={}){super(n,r);He(this,"statusCode",500);He(this,"fatal",!1);He(this,"unhandled",!1);He(this,"statusMessage");He(this,"data");He(this,"cause");r.cause&&!this.cause&&(this.cause=r.cause)}toJSON(){const n={message:this.message,statusCode:Qu(this.statusCode,500)};return this.statusMessage&&(n.statusMessage=Zv(this.statusMessage)),this.data!==void 0&&(n.data=this.data),n}}He(Xu,"__h3_error__",!0);function Fa(e){if(typeof e=="string")return new Xu(e);if(Ck(e))return e;const t=new Xu(e.message??e.statusMessage??"",{cause:e.cause||e});if(Ik(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=Qu(e.statusCode,t.statusCode):e.status&&(t.statusCode=Qu(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Zv(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 Ck(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const kk=/[^\u0009\u0020-\u007E]/g;function Zv(e=""){return e.replace(kk,"")}function Qu(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const e0=Symbol("layout-meta"),Ho=Symbol("route"),Ut=()=>{var e;return(e=Ye())==null?void 0:e.$router},kd=()=>Gc()?gt(Ho,Ye()._route):Ye()._route;function e6(e){return e}const xk=()=>{try{if(Ye()._processingMiddleware)return!0}catch{return!1}return!1},t6=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:"path"in e?Rk(e):Ut().resolve(e).href;if(t!=null&&t.open){const{target:c="_blank",windowFeatures:u={}}=t.open,l=Object.entries(u).filter(([f,d])=>d!==void 0).map(([f,d])=>`${f.toLowerCase()}=${d}`).join(", ");return open(n,c,l),Promise.resolve()}const r=is(n,{acceptRelative:!0}),s=(t==null?void 0:t.external)||r;if(s){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:c}=new URL(n,window.location.href);if(c&&MC(c))throw new Error(`Cannot navigate to a URL with '${c}' protocol.`)}const i=xk();if(!s&&i){if(t!=null&&t.replace){if(typeof e=="string"){const{pathname:c,search:u,hash:l}=Uv(e);return{path:c,...u&&{query:$v(u)},...l&&{hash:l},replace:!0}}return{...e,replace:!0}}return e}const o=Ut(),a=Ye();return s?(a._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,i?a.isHydrating?new Promise(()=>{}
19):!1:Promise.resolve()):t!=null&&t.replace?o.replace(e):o.push(e)};function Rk(e){return Fv(e.path||"",e.query||{})+(e.hash||"")}const t0="__nuxt_error",Xc=()=>$_(Ye().payload,"error"),ir=e=>{const t=Ti(e);try{const n=Ye(),r=Xc();n.hooks.callHook("app:error",t),r.value||(r.value=t)}catch{throw t}return t},Ak=async(e={})=>{const t=Ye(),n=Xc();t.callHook("app:error:cleared",e),e.redirect&&await Ut().replace(e.redirect),n.value=hk},n0=e=>!!e&&typeof e=="object"&&t0 in e,Ti=e=>{const t=Fa(e);return Object.defineProperty(t,t0,{value:!0,configurable:!1,writable:!1}),t};function Xh(e){const t=Mk(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 Ok="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function Mk(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|=Ok.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 Nk=-1,Pk=-2,Lk=-3,Dk=-4,$k=-5,Fk=-6;function Bk(e,t){return jk(JSON.parse(e),t)}function jk(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(i,o=!1){if(i===Nk)return;if(i===Lk)return NaN;if(i===Dk)return 1/0;if(i===$k)return-1/0;if(i===Fk)return-0;if(o)throw new Error("Invalid input");if(i in r)return r[i];const a=n[i];if(!a||typeof a!="object")r[i]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const c=a[0],u=t==null?void 0:t[c];if(u)return r[i]=u(s(a[1]));switch(c){case"Date":r[i]=new Date(a[1]);break;case"Set":const l=new Set;r[i]=l;for(let p=1;p<a.length;p+=1)l.add(s(a[p]));break;case"Map":const f=new Map;r[i]=f;for(let p=1;p<a.length;p+=2)f.set(s(a[p]),s(a[p+1]));break;case"RegExp":r[i]=new RegExp(a[1],a[2]);break;case"Object":r[i]=Object(a[1]);break;case"BigInt":r[i]=BigInt(a[1]);break;case"null":const d=Object.create(null);r[i]=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=Xh(h),v=new p(m);r[i]=v;break}case"ArrayBuffer":{const p=a[1],h=Xh(p);r[i]=h;break}default:throw new Error(`Unknown type ${c}`)}}else{const c=new Array(a.length);r[i]=c;for(let u=0;u<a.length;u+=1){const l=a[u];l!==Pk&&(c[u]=s(l))}}else{const c={};r[i]=c;for(const u in a){const l=a[u];c[u]=s(l)}}return r[i]}return s(0)}const Hk=new Set(["link","style","script","noscript"]),Uk=new Set(["title","titleTemplate","script","style","noscript"]),Qh=new Set(["base","meta","link","style","script","noscript"]),qk=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),Wk=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),zk=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),Vk=new Set(["templateParams","htmlAttrs","bodyAttrs"]),Gk=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]);const Yk=["name","property","http-equiv"],Kk=new Set(["viewport","description","keywords","robots"]);function r0(e){const t=e.split(":");return t.length?Gk.has(t[1]):!1}function Zu(e){const{props:t,tag:n}=e;if(Wk.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const r of Yk)if(t[r]!==void 0){const s=t[r],i=s.includes(":"),o=Kk.has(s),c=!(i||o)&&e.key?`:key:${e.key}`:"";return`${n}:${s}${c}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(Uk.has(n)){const r=e.textContent||e.innerHTML;if(r)return`${n}:content:${r}`}}function Zh(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([r,s])=>`${r}:${String(s)}`).join(",")}`}function hc(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());let s;if(t&&(s=t(n,e)),Array.isArray(s))return s.map(i=>hc(i,t));if((s==null?void 0:s.constructor)===Object){const i={};for(const o of Object.keys(s))i[o]=hc(s[o],t,o);return i}return s}function Jk(e,t){const n=e==="style"?new Map:new Set;function r(s){const i=s.trim();if(i)if(e==="style"){const[o,...a]=i.split(":").map(c=>c.trim());o&&a.length&&n.set(o,a.join(":"))}
19else i.split(" ").filter(Boolean).forEach(o=>n.add(o))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(s=>r(s)):t&&typeof t=="object"&&Object.entries(t).forEach(([s,i])=>{i&&i!=="false"&&(e==="style"?n.set(s.trim(),i):r(s))}),n}function s0(e,t){return e.props=e.props||{},t?e.tag==="templateParams"?(e.props=t,e):(Object.entries(t).forEach(([n,r])=>{if(r===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=Jk(n,r);return}if(zk.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof r=="object"){let o=t.type;if(t.type||(o="application/json"),!(o!=null&&o.endsWith("json"))&&o!=="speculationrules")return;t.type=o,e.props.type=o,e[n]=JSON.stringify(r)}else e[n]=r;return}const s=String(r),i=n.startsWith("data-");s==="true"||s===""?e.props[n]=i?s:!0:!r&&i&&s==="false"?e.props[n]="false":r!==void 0&&(e.props[n]=r)}),e):e}function Xk(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=s0({tag:e,props:{}},n);return r.key&&Hk.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(s=>({...r,props:{...r.props,content:s}})):r}function Qk(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(s,i)=>{for(let o=0;o<t.length;o++)i=t[o](s,i);return i};e=n(void 0,e);const r=[];return e=hc(e,n),Object.entries(e||{}).forEach(([s,i])=>{if(i!==void 0)for(const o of Array.isArray(i)?i:[i])r.push(Xk(s,o))}),r.flat()}const ef=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,em={base:-10,title:10},Zk={critical:-8,high:-1,low:2},tm={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},ex=/@import/,Fi=e=>e===""||e===!0;function tx(e,t){var i;if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=Zk[t.tagPriority]||0,s=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:tm;if(t.tag in em)n=em[t.tag];else if(t.tag==="meta"){const o=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;o&&(n=tm.meta[o])}else t.tag==="link"&&t.props.rel?n=s.link[t.props.rel]:t.tag==="script"?Fi(t.props.async)?n=s.script.async:t.props.src&&!Fi(t.props.defer)&&!Fi(t.props.async)&&t.props.type!=="module"&&!((i=t.props.type)!=null&&i.endsWith("json"))?n=s.script.sync:Fi(t.props.defer)&&t.props.src&&!Fi(t.props.async)&&(n=s.script.defer):t.tag==="style"&&(n=t.innerHTML&&ex.test(t.innerHTML)?s.style.imported:s.style.sync);return(n||100)+r}function nm(e,t){const n=typeof t=="function"?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}function nx(e={}){var a;const t=Vv();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,s=new Map,i=new Set,o={_entryCount:1,plugins:s,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:c=>nm(o,c),push(c,u){const l={...u||{}};delete l.head;const f=l._index??o._entryCount++,d={_i:f,input:c,options:l},p={_poll(h=!1){o.dirty=!0,!h&&i.add(f),t.callHook("entries:updated",o)},dispose(){r.delete(f)&&o.invalidate()},patch(h){(!l.mode||l.mode==="server"&&n||l.mode==="client"&&!n)&&(d.input=h,r.set(f,d),p._poll())}};return p.patch(c),p},async resolveTags(){var p;const c={tagMap:new Map,tags:[],entries:[...o.entries.values()]};for(await t.callHook("entries:resolve",c);i.size;){const h=i.values().next().value;i.delete(h);const m=r.get(h);if(m){const v={tags:Qk(m.input,e.propResolvers||[]).map(y=>Object.assign(y,m.options)),entry:m};await t.callHook("entries:normalize",v),m._tags=v.tags.map((y,_)=>(y._w=tx(o,y),y._p=(m._i<<10)+_,y._d=Zu(y),y))}}let u=!1;c.entries.flatMap(h=>(h._tags||[]).map(m=>({...m,props:{...m.props}}))).sort(ef).reduce((h,m)=>{const v=String(m._d||m._p);if(!h.has(v))return h.set(v,m);const y=h.get(v);if(((m==null?void 0:m.tagDuplicateStrategy)||(Vk.has(m.tag)?"merge":null)||(m.key&&m.key===y.key?"merge":null))==="merge"){const g={...y.props};
19Object.entries(m.props).forEach(([b,S])=>g[b]=b==="style"?new Map([...y.props.style||new Map,...S]):b==="class"?new Set([...y.props.class||new Set,...S]):S),h.set(v,{...m,props:g})}else m._p>>10===y._p>>10&&m.tag==="meta"&&r0(v)?(h.set(v,Object.assign([...Array.isArray(y)?y:[y],m],m)),u=!0):(m._w===y._w?m._p>y._p:(m==null?void 0:m._w)<(y==null?void 0:y._w))&&h.set(v,m);return h},c.tagMap);const l=c.tagMap.get("title"),f=c.tagMap.get("titleTemplate");if(o._title=l==null?void 0:l.textContent,f){const h=f==null?void 0:f.textContent;if(o._titleTemplate=h,h){let m=typeof h=="function"?h(l==null?void 0:l.textContent):h;typeof m=="string"&&!o.plugins.has("template-params")&&(m=m.replace("%s",(l==null?void 0:l.textContent)||"")),l?m===null?c.tagMap.delete("title"):c.tagMap.set("title",{...l,textContent:m}):(f.tag="title",f.textContent=m)}}c.tags=Array.from(c.tagMap.values()),u&&(c.tags=c.tags.flat().sort(ef)),await t.callHook("tags:beforeResolve",c),await t.callHook("tags:resolve",c),await t.callHook("tags:afterResolve",c);const d=[];for(const h of c.tags){const{innerHTML:m,tag:v,props:y}=h;if(qk.has(v)&&!(Object.keys(y).length===0&&!h.innerHTML&&!h.textContent)&&!(v==="meta"&&!y.content&&!y["http-equiv"]&&!y.charset)){if(v==="script"&&m){if((p=y.type)!=null&&p.endsWith("json")){const _=typeof m=="string"?m:JSON.stringify(m);h.innerHTML=_.replace(/</g,"\\u003C")}else typeof m=="string"&&(h.innerHTML=m.replace(new RegExp(`</${v}`,"g"),`<\\/${v}`));h._d=Zu(h)}d.push(h)}}return d},invalidate(){for(const c of r.values())i.add(c._i);o.dirty=!0,t.callHook("entries:updated",o)}};return((e==null?void 0:e.plugins)||[]).forEach(c=>nm(o,c)),o.hooks.callHook("init",o),(a=e.init)==null||a.forEach(c=>c&&o.push(c)),o}const ql="%separator";function rx(e,t,n=!1){var s;let r;if(t==="s"||t==="pageTitle")r=e.pageTitle;else if(t.includes(".")){const i=t.indexOf(".");r=(s=e[t.substring(0,i)])==null?void 0:s[t.substring(i+1)]}else r=e[t];if(r!==void 0)return n?(r||"").replace(/\\/g,"\\\\").replace(/</g,"\\u003C").replace(/"/g,'\\"'):r||""}function da(e,t,n,r=!1){if(typeof e!="string"||!e.includes("%"))return e;let s=e;try{s=decodeURI(e)}catch{}const i=s.match(/%\w+(?:\.\w+)?/g);if(!i)return e;const o=e.includes(ql);return e=e.replace(/%\w+(?:\.\w+)?/g,a=>{if(a===ql||!i.includes(a))return a;const c=rx(t,a.slice(1),r);return c!==void 0?c:a}).trim(),o&&(e=e.split(ql).map(a=>a.trim()).filter(a=>a!=="").join(n?` ${n} `:" ")),e}const rm=e=>e.includes(":key")?e:e.split(":").join(":key:"),sx={key:"aliasSorting",hooks:{"tags:resolve":e=>{let t=!1;for(const n of e.tags){const r=n.tagPriority;if(!r)continue;const s=String(r);if(s.startsWith("before:")){const i=rm(s.slice(7)),o=e.tagMap.get(i);o&&(typeof o.tagPriority=="number"&&(n.tagPriority=o.tagPriority),n._p=o._p-1,t=!0)}else if(s.startsWith("after:")){const i=rm(s.slice(6)),o=e.tagMap.get(i);o&&(typeof o.tagPriority=="number"&&(n.tagPriority=o.tagPriority),n._p=o._p+1,t=!0)}}t&&(e.tags=e.tags.sort(ef))}}},ix={key:"deprecations",hooks:{"entries:normalize":({tags:e})=>{for(const t of e)t.props.children&&(t.innerHTML=t.props.children,delete t.props.children),t.props.hid&&(t.key=t.props.hid,delete t.props.hid),t.props.vmid&&(t.key=t.props.vmid,delete t.props.vmid),t.props.body&&(t.tagPosition="bodyClose",delete t.props.body)}}};async function tf(e){if(typeof e==="function")return e;if(e instanceof Promise)return await e;if(Array.isArray(e))return await Promise.all(e.map(n=>tf(n)));if((e==null?void 0:e.constructor)===Object){const n={};for(const r of Object.keys(e))n[r]=await tf(e[r]);return n}return e}const ox={key:"promises",hooks:{"entries:resolve":async e=>{const t=[];for(const n in e.entries)e.entries[n]._promisesProcessed||t.push(tf(e.entries[n].input).then(r=>{e.entries[n].input=r,e.entries[n]._promisesProcessed=!0}));await Promise.all(t)}}},ax={meta:"content",link:"href",htmlAttrs:"lang"},cx=["innerHTML","textContent"],lx=e=>({key:"template-params",hooks:{"entries:normalize":t=>{var r,s,i;const n=((s=(r=t.tags.filter(o=>o.tag==="templateParams"&&o.mode==="server"))==null?void 0:r[0])==null?void 0:s.props)||{};Object.keys(n).length&&(e._ssrPayload={templateParams:{...((i=e._ssrPayload)==null?void 0:i.templateParams)||{},...n}})},"tags:resolve":({tagMap:t,tags:n})=>{var i;const r=((i=t.get("templateParams"))==null?void 0:i.props)||{},s=r.separator||"|";delete r.separator,r.pageTitle=da(r.pageTitle||e._title||"",r,s);for(const o of n){if(o.processTemplateParams===!1)continue;const a=ax[o.tag];
19if(a&&typeof o.props[a]=="string")o.props[a]=da(o.props[a],r,s);else if(o.processTemplateParams||o.tag==="titleTemplate"||o.tag==="title")for(const c of cx)typeof o[c]=="string"&&(o[c]=da(o[c],r,s,o.tag==="script"&&o.props.type.endsWith("json")))}e._templateParams=r,e._separator=s},"tags:afterResolve":({tagMap:t})=>{const n=t.get("title");n!=null&&n.textContent&&n.processTemplateParams!==!1&&(n.textContent=da(n.textContent,e._templateParams,e._separator))}}}),ux=(e,t)=>rt(t)?dr(t):t,xd="usehead";function fx(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(xd,e)}}.install}function dx(){if(Gc()){const e=gt(xd);if(!e)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function px(e,t={}){const n=t.head||dx();return n.ssr?n.push(e||{},t):hx(n,e,t)}function hx(e,t,n={}){const r=me(!1);let s;return lI(()=>{const o=r.value?{}:hc(t,ux);s?s.patch(o):s=e.push(o,n)}),un()&&(wi(()=>{s.dispose()}),K_(()=>{r.value=!0}),Y_(()=>{r.value=!1})),s}function mx(e){var n;const t=e||Kv();return((n=t==null?void 0:t.ssrContext)==null?void 0:n.head)||(t==null?void 0:t.runWithContext(()=>{if(Gc())return gt(xd)}))}function gx(e,t={}){const n=mx(t.nuxt);if(n)return px(e,{head:n,...t})}const yx="modulepreload",_x=function(e,t){return new URL(e,t).href},sm={},Hn=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){let o=function(l){return Promise.all(l.map(f=>Promise.resolve(f).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};const a=document.getElementsByTagName("link"),c=document.querySelector("meta[property=csp-nonce]"),u=(c==null?void 0:c.nonce)||(c==null?void 0:c.getAttribute("nonce"));s=o(n.map(l=>{if(l=_x(l,r),l in sm)return;sm[l]=!0;const f=l.endsWith(".css"),d=f?'[rel="stylesheet"]':"";if(!!r)for(let m=a.length-1;m>=0;m--){const v=a[m];if(v.href===l&&(!f||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${d}`))return;const h=document.createElement("link");if(h.rel=f?"stylesheet":yx,f||(h.as="script"),h.crossOrigin="",h.href=l,u&&h.setAttribute("nonce",u),document.head.appendChild(h),f)return new Promise((m,v)=>{h.addEventListener("load",m),h.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${l}`)))})}))}function i(o){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return s.then(o=>{for(const a of o||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})};let Ba,ja;function vx(){return Ba=$fetch(Cd(`builds/meta/${os().app.buildId}.json`),{responseType:"json"}),Ba.then(e=>{ja=Tk(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),Ba}function Qc(){return Ba||vx()}async function Rd(e){const t=typeof e=="string"?e:e.path;if(await Qc(),!ja)return console.error("[nuxt] Error creating app manifest matcher.",ja),{};try{return pc({},...ja.matchAll(t).reverse())}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function im(e,t={}){if(!await o0(e))return null;const r=await Ex(e,t);return await i0(r)||null}const bx="_payload.json";async function Ex(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||is(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=os(),s=t.hash||(t.fresh?Date.now():r.app.buildId),i=r.app.cdnURL,o=i&&await o0(e)?i:r.app.baseURL;return Id(o,n.pathname,bx+(s?`?${s}`:""))}async function i0(e){const t=fetch(e,{cache:"force-cache"}).then(n=>n.text().then(a0));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function o0(e=kd().path){const t=Ye();return e=Td(e),(await Qc()).prerendered.includes(e)?!0:t.runWithContext(async()=>{const r=await Rd({path:e});return!!r.prerender&&!r.redirect})}let Or=null;async function Sx(){var r;if(Or)return Or;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await a0(e.textContent||""),n=e.dataset.src?await i0(e.dataset.src):void 0;return Or={...t,...n,...window.__NUXT__},(r=Or.config)!=null&&r.public&&(Or.config.public=Xn(Or.config.public)),Or}async function a0(e){return await Bk(e,Ye()._payloadRevivers)}function wx(e,t){Ye()._payloadRevivers[e]=t}const Tx=[["NuxtError",e=>Ti(e)],["EmptyShallowRef",e=>ei(e==="_"?void 0:e==="0n"?BigInt(0):Io(e))],["EmptyRef",e=>me(e==="_"?void 0:e==="0n"?BigInt(0):Io(e))],["ShallowRef",e=>ei(e)],["ShallowReactive",e=>Fn(e)],["Ref",e=>me(e)],["Reactive",e=>Xn(e)]],Ix=wt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,s]of Tx)wx(r,s);Object.assign(e.payload,([t,n]=Vs(()=>e.runWithContext(Sx)),t=await t,n(),t)),window.__NUXT__=e.payload}});async function Ad(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=>{var p;const i=new Map,o=new Promise(h=>{e.resolveTags().then(m=>{h(m.map(v=>{const y=i.get(v._d)||0,_={tag:v,id:(y?`${v._d}:${y}`:v._d)||Zh(v),shouldRender:!0};return v._d&&r0(v._d)&&i.set(v._d,y+1),_}))})});let a=e._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const h of["body","head"]){const m=(p=n[h])==null?void 0:p.children;for(const v of m){const y=v.tagName.toLowerCase();if(!Qh.has(y))continue;const _=s0({tag:y,props:{}},{innerHTML:v.innerHTML,...v.getAttributeNames().reduce((g,b)=>(g[b]=v.getAttribute(b),g),{})||{}});if(_.key=v.getAttribute("data-hid")||void 0,_._d=Zu(_)||Zh(_),a.elMap.has(_._d)){let g=1,b=_._d;for(;a.elMap.has(b);)b=`${_._d}:${g++}`;a.elMap.set(b,v)}else a.elMap.set(_._d,v)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function c(h,m,v){const y=`${h}:${m}`;a.sideEffects[y]=v,delete a.pendingSideEffects[y]}function u({id:h,$el:m,tag:v}){const y=v.tag.endsWith("Attrs");a.elMap.set(h,m),y||(v.textContent&&v.textContent!==m.textContent&&(m.textContent=v.textContent),v.innerHTML&&v.innerHTML!==m.innerHTML&&(m.innerHTML=v.innerHTML),c(h,"el",()=>{m==null||m.remove(),a.elMap.delete(h)}));for(const _ in v.props){if(!Object.prototype.hasOwnProperty.call(v.props,_))continue;const g=v.props[_];if(_.startsWith("on")&&typeof g=="function"){const S=m==null?void 0:m.dataset;if(S&&S[`${_}fired`]){const T=_.slice(0,-5);g.call(m,new Event(T.substring(2)))}m.getAttribute(`data-${_}`)!==""&&((v.tag==="bodyAttrs"?n.defaultView:m).addEventListener(_.substring(2),g.bind(m)),m.setAttribute(`data-${_}`,""));continue}const b=`attr:${_}`;if(_==="class"){if(!g)continue;for(const S of g)y&&c(h,`${b}:${S}`,()=>m.classList.remove(S)),!m.classList.contains(S)&&m.classList.add(S)}else if(_==="style"){if(!g)continue;for(const[S,T]of g)c(h,`${b}:${S}`,()=>{m.style.removeProperty(S)}),m.style.setProperty(S,T)}else g!==!1&&g!==null&&(m.getAttribute(_)!==g&&m.setAttribute(_,g===!0?"":String(g)),y&&c(h,b,()=>m.removeAttribute(_)))}}const l=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},d=await o;for(const h of d){const{tag:m,shouldRender:v,id:y}=h;if(v){if(m.tag==="title"){n.title=m.textContent,c("title","",()=>n.title=a.title);continue}h.$el=h.$el||a.elMap.get(y),h.$el?u(h):Qh.has(m.tag)&&l.push(h)}}for(const h of l){const m=h.tag.tagPosition||"head";h.$el=n.createElement(h.tag.tag),u(h),f[m]=f[m]||n.createDocumentFragment(),f[m].appendChild(h.$el)}
19for(const h of d)await e.hooks.callHook("dom:renderTag",h,n,c);f.head&&n.head.appendChild(f.head),f.bodyOpen&&n.body.insertBefore(f.bodyOpen,n.body.firstChild),f.bodyClose&&n.body.appendChild(f.bodyClose);for(const h in a.pendingSideEffects)a.pendingSideEffects[h]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:d}),s()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function Cx(e={}){var r,s,i;const t=((r=e.domOptions)==null?void 0:r.render)||Ad;e.document=e.document||(typeof window<"u"?document:void 0);const n=((i=(s=e.document)==null?void 0:s.head.querySelector('script[id="unhead:payload"]'))==null?void 0:i.innerHTML)||!1;return nx({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function kx(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function xx(e={}){const t=Cx({domOptions:{render:kx(()=>Ad(t),n=>setTimeout(n,0))},...e});return t.install=fx(t),t}const Rx={disableDefaults:!0,disableCapoSorting:!1,plugins:[ix,ox,lx,sx]},Ax=wt({name:"nuxt:head",enforce:"pre",setup(e){const t=xx(Rx);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await Ad(t)};t.hooks.hook("dom:beforeRender",s=>{s.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}});/*! 20 * vue-router v4.5.1 21 * (c) 2025 Eduardo San Martin Morote 22 * @license MIT 23 */const Is=typeof document<"u";function c0(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Ox(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&c0(e.default)}const Se=Object.assign;function Wl(e,t){const n={};for(const r in t){const s=t[r];n[r]=cn(s)?s.map(e):e(s)}return n}const io=()=>{},cn=Array.isArray,l0=/#/g,Mx=/&/g,Nx=/\//g,Px=/=/g,Lx=/\?/g,u0=/\+/g,Dx=/%5B/g,$x=/%5D/g,f0=/%5E/g,Fx=/%60/g,d0=/%7B/g,Bx=/%7C/g,p0=/%7D/g,jx=/%20/g;function Od(e){return encodeURI(""+e).replace(Bx,"|").replace(Dx,"[").replace($x,"]")}function Hx(e){return Od(e).replace(d0,"{").replace(p0,"}").replace(f0,"^")}function nf(e){return Od(e).replace(u0,"%2B").replace(jx,"+").replace(l0,"%23").replace(Mx,"%26").replace(Fx,"`").replace(d0,"{").replace(p0,"}").replace(f0,"^")}function Ux(e){return nf(e).replace(Px,"%3D")}function qx(e){return Od(e).replace(l0,"%23").replace(Lx,"%3F")}function Wx(e){return e==null?"":qx(e).replace(Nx,"%2F")}function Co(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const zx=/\/$/,Vx=e=>e.replace(zx,"");function zl(e,t,n="/"){let r,s={},i="",o="";const a=t.indexOf("#");let c=t.indexOf("?");return a<c&&a>=0&&(c=-1),c>-1&&(r=t.slice(0,c),i=t.slice(c+1,a>-1?a:t.length),s=e(i)),a>-1&&(r=r||t.slice(0,a),o=t.slice(a,t.length)),r=Jx(r??t,n),{fullPath:r+(i&&"?")+i+o,path:r,query:s,hash:Co(o)}}function Gx(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function om(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Yx(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&ii(t.matched[r],n.matched[s])&&h0(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function ii(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function h0(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Kx(e[n],t[n]))return!1;return!0}function Kx(e,t){return cn(e)?am(e,t):cn(t)?am(t,e):e===t}function am(e,t){return cn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Jx(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let i=n.length-1,o,a;for(o=0;o<r.length;o++)if(a=r[o],a!==".")if(a==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(o).join("/")}const Jt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var ko;(function(e){e.pop="pop",e.push="push"})(ko||(ko={}));var oo;(function(e){e.back="back",e.forward="forward",e.unknown=""})(oo||(oo={}));function Xx(e){if(!e)if(Is){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Vx(e)}const Qx=/^[^#]+#/;function Zx(e,t){return e.replace(Qx,"#")+t}function eR(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 Zc=()=>({left:window.scrollX,top:window.scrollY});function tR(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=eR(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)}
vendor: 9,676 bytes, line 23
23function cm(e,t){return(history.state?history.state.position-t:-1)+e}const rf=new Map;function nR(e,t){rf.set(e,t)}function rR(e){const t=rf.get(e);return rf.delete(e),t}let sR=()=>location.protocol+"//"+location.host;function m0(e,t){const{pathname:n,search:r,hash:s}=t,i=e.indexOf("#");if(i>-1){let a=s.includes(e.slice(i))?e.slice(i).length:1,c=s.slice(a);return c[0]!=="/"&&(c="/"+c),om(c,"")}return om(n,e)+r+s}function iR(e,t,n,r){let s=[],i=[],o=null;const a=({state:d})=>{const p=m0(e,location),h=n.value,m=t.value;let v=0;if(d){if(n.value=p,t.value=d,o&&o===h){o=null;return}v=m?d.position-m.position:0}else r(p);s.forEach(y=>{y(n.value,h,{delta:v,type:ko.pop,direction:v?v>0?oo.forward:oo.back:oo.unknown})})};function c(){o=n.value}function u(d){s.push(d);const p=()=>{const h=s.indexOf(d);h>-1&&s.splice(h,1)};return i.push(p),p}function l(){const{history:d}=window;d.state&&d.replaceState(Se({},d.state,{scroll:Zc()}),"")}function f(){for(const d of i)d();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",l)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:c,listen:u,destroy:f}}function lm(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Zc():null}}function oR(e){const{history:t,location:n}=window,r={value:m0(e,n)},s={value:t.state};s.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(c,u,l){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:sR()+e+c;try{t[l?"replaceState":"pushState"](u,"",d),s.value=u}catch(p){console.error(p),n[l?"replace":"assign"](d)}}function o(c,u){const l=Se({},t.state,lm(s.value.back,c,s.value.forward,!0),u,{position:s.value.position});i(c,l,!0),r.value=c}function a(c,u){const l=Se({},s.value,t.state,{forward:c,scroll:Zc()});i(l.current,l,!0);const f=Se({},lm(r.value,c,null),{position:l.position+1},u);i(c,f,!1),r.value=c}return{location:r,state:s,push:a,replace:o}}function aR(e){e=Xx(e);const t=oR(e),n=iR(e,t.state,t.location,t.replace);function r(i,o=!0){o||n.pauseListeners(),history.go(i)}const s=Se({location:"",base:e,go:r,createHref:Zx.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 cR(e){return typeof e=="string"||e&&typeof e=="object"}function g0(e){return typeof e=="string"||typeof e=="symbol"}const y0=Symbol("");var um;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(um||(um={}));function oi(e,t){return Se(new Error,{type:e,[y0]:!0},t)}function On(e,t){return e instanceof Error&&y0 in e&&(t==null||!!(e.type&t))}const fm="[^/]+?",lR={sensitive:!1,strict:!1,start:!0,end:!0},uR=/[.+*?^${}()[\]/\\]/g;function fR(e,t){const n=Se({},lR,t),r=[];let s=n.start?"^":"";const i=[];for(const u of e){const l=u.length?[]:[90];n.strict&&!u.length&&(s+="/");for(let f=0;f<u.length;f++){const d=u[f];let p=40+(n.sensitive?.25:0);if(d.type===0)f||(s+="/"),s+=d.value.replace(uR,"\\$&"),p+=40;else if(d.type===1){const{value:h,repeatable:m,optional:v,regexp:y}=d;i.push({name:h,repeatable:m,optional:v});const _=y||fm;if(_!==fm){p+=10;try{new RegExp(`(${_})`)}catch(b){throw new Error(`Invalid custom RegExp for param "${h}" (${_}): `+b.message)}}let g=m?`((?:${_})(?:/(?:${_}))*)`:`(${_})`;f||(g=v&&u.length<2?`(?:/${g})`:"/"+g),v&&(g+="?"),s+=g,p+=20,v&&(p+=-8),m&&(p+=-20),_===".*"&&(p+=-50)}l.push(p)}r.push(l)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&!s.endsWith("/")&&(s+="(?:/|$)");const o=new RegExp(s,n.sensitive?"":"i");function a(u){const l=u.match(o),f={};if(!l)return null;for(let d=1;d<l.length;d++){const p=l[d]||"",h=i[d-1];f[h.name]=p&&h.repeatable?p.split("/"):p}return f}function c(u){let l="",f=!1;for(const d of e){(!f||!l.endsWith("/"))&&(l+="/"),f=!1;for(const p of d)if(p.type===0)l+=p.value;else if(p.type===1){const{value:h,repeatable:m,optional:v}=p,y=h in u?u[h]:"";if(cn(y)&&!m)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const _=cn(y)?y.join("/"):y;if(!_)if(v)d.length<2&&(l.endsWith("/")?l=l.slice(0,-1):f=!0);else throw new Error(`Missing required param "${h}"`);l+=_}}return l||"/"}return{re:o,score:r,keys:i,parse:a,stringify:c}}function dR(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 _0(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const i=dR(r[n],s[n]);if(i)return i;n++}if(Math.abs(s.length-r.length)===1){if(dm(r))return 1;if(dm(s))return-1}return s.length-r.length}function dm(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const pR={type:0,value:""},hR=/[a-zA-Z0-9_]/;function mR(e){if(!e)return[[]];if(e==="/")return[[pR]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${u}": ${p}`)}let n=0,r=n;const s=[];let i;function o(){i&&s.push(i),i=[]}let a=0,c,u="",l="";function f(){u&&(n===0?i.push({type:0,value:u}):n===1||n===2||n===3?(i.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:u,regexp:l,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=c}for(;a<e.length;){if(c=e[a++],c==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:c==="/"?(u&&f(),o()):c===":"?(f(),n=1):d();break;case 4:d(),n=r;break;case 1:c==="("?n=2:hR.test(c)?d():(f(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&a--);break;case 2:c===")"?l[l.length-1]=="\\"?l=l.slice(0,-1)+c:n=3:l+=c;break;case 3:f(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&a--,l="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${u}"`),f(),o(),s}function gR(e,t,n){const r=fR(mR(e.path),n),s=Se(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function yR(e,t){const n=[],r=new Map;t=gm({strict:!1,end:!0,sensitive:!1},t);function s(f){return r.get(f)}function i(f,d,p){const h=!p,m=hm(f);m.aliasOf=p&&p.record;const v=gm(t,f),y=[m];if("alias"in f){const b=typeof f.alias=="string"?[f.alias]:f.alias;for(const S of b)y.push(hm(Se({},m,{components:p?p.record.components:m.components,path:S,aliasOf:p?p.record:m})))}let _,g;for(const b of y){const{path:S}=b;if(d&&S[0]!=="/"){const T=d.record.path,C=T[T.length-1]==="/"?"":"/";b.path=d.record.path+(S&&C+S)}if(_=gR(b,d,v),p?p.alias.push(_):(g=g||_,g!==_&&g.alias.push(_),h&&f.name&&!mm(_)&&o(f.name)),v0(_)&&c(_),m.children){const T=m.children;for(let C=0;C<T.length;C++)i(T[C],_,p&&p.children[C])}p=p||_}return g?()=>{o(g)}:io}function o(f){if(g0(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(o),d.alias.forEach(o))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(o),f.alias.forEach(o))}}function a(){return n}function c(f){const d=bR(f,n);n.splice(d,0,f),f.record.name&&!mm(f)&&r.set(f.record.name,f)}function u(f,d){let p,h={},m,v;if("name"in f&&f.name){if(p=r.get(f.name),!p)throw oi(1,{location:f});v=p.record.name,h=Se(pm(d.params,p.keys.filter(g=>!g.optional).concat(p.parent?p.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),f.params&&pm(f.params,p.keys.map(g=>g.name))),m=p.stringify(h)}else if(f.path!=null)m=f.path,p=n.find(g=>g.re.test(m)),p&&(h=p.parse(m),v=p.record.name);else{if(p=d.name?r.get(d.name):n.find(g=>g.re.test(d.path)),!p)throw oi(1,{location:f,currentLocation:d});v=p.record.name,h=Se({},d.params,f.params),m=p.stringify(h)}const y=[];let _=p;for(;_;)y.unshift(_.record),_=_.parent;return{name:v,path:m,params:h,matched:y,meta:vR(y)}}e.forEach(f=>i(f));function l(){n.length=0,r.clear()}return{addRoute:i,resolve:u,removeRoute:o,clearRoutes:l,getRoutes:a,getRecordMatcher:s}}function pm(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function hm(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:_R(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 _R(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 mm(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function vR(e){return e.reduce((t,n)=>Se(t,n.meta),{})}function gm(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function bR(e,t){let n=0,r=t.length;for(;n!==r;){const i=n+r>>1;_0(e,t[i])<0?r=i:n=i+1}const s=ER(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function ER(e){let t=e;for(;t=t.parent;)if(v0(t)&&_0(e,t)===0)return t}function v0({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function SR(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 i=r[s].replace(u0," "),o=i.indexOf("="),a=Co(o<0?i:i.slice(0,o)),c=o<0?null:Co(i.slice(o+1));if(a in t){let u=t[a];cn(u)||(u=t[a]=[u]),u.push(c)}else t[a]=c}return t}function ym(e){let t="";for(let n in e){const r=e[n];if(n=Ux(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(cn(r)?r.map(i=>
vendor: 6,667 bytes, line 23
23i&&nf(i)):[r&&nf(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function wR(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=cn(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const TR=Symbol(""),_m=Symbol(""),Md=Symbol(""),Nd=Symbol(""),sf=Symbol("");function Bi(){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 or(e,t,n,r,s,i=o=>o()){const o=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((a,c)=>{const u=d=>{d===!1?c(oi(4,{from:n,to:t})):d instanceof Error?c(d):cR(d)?c(oi(2,{from:t,to:d})):(o&&r.enterCallbacks[s]===o&&typeof d=="function"&&o.push(d),a())},l=i(()=>e.call(r&&r.instances[s],t,n,u));let f=Promise.resolve(l);e.length<3&&(f=f.then(u)),f.catch(d=>c(d))})}function Vl(e,t,n,r,s=i=>i()){const i=[];for(const o of e)for(const a in o.components){let c=o.components[a];if(!(t!=="beforeRouteEnter"&&!o.instances[a]))if(c0(c)){const l=(c.__vccOpts||c)[t];l&&i.push(or(l,n,r,o,a,s))}else{let u=c();i.push(()=>u.then(l=>{if(!l)throw new Error(`Couldn't resolve component "${a}" at "${o.path}"`);const f=Ox(l)?l.default:l;o.mods[a]=l,o.components[a]=f;const p=(f.__vccOpts||f)[t];return p&&or(p,n,r,o,a,s)()}))}}return i}function vm(e){const t=gt(Md),n=gt(Nd),r=et(()=>{const c=Le(e.to);return t.resolve(c)}),s=et(()=>{const{matched:c}=r.value,{length:u}=c,l=c[u-1],f=n.matched;if(!l||!f.length)return-1;const d=f.findIndex(ii.bind(null,l));if(d>-1)return d;const p=bm(c[u-2]);return u>1&&bm(l)===p&&f[f.length-1].path!==p?f.findIndex(ii.bind(null,c[u-2])):d}),i=et(()=>s.value>-1&&RR(n.params,r.value.params)),o=et(()=>s.value>-1&&s.value===n.matched.length-1&&h0(n.params,r.value.params));function a(c={}){if(xR(c)){const u=t[Le(e.replace)?"replace":"push"](Le(e.to)).catch(io);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:et(()=>r.value.href),isActive:i,isExactActive:o,navigate:a}}function IR(e){return e.length===1?e[0]:e}const CR=kn({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:vm,setup(e,{slots:t}){const n=Xn(vm(e)),{options:r}=gt(Md),s=et(()=>({[Em(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Em(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&IR(t.default(n));return e.custom?i:mt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},i)}}}),kR=CR;function xR(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 RR(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(!cn(s)||s.length!==r.length||r.some((i,o)=>i!==s[o]))return!1}return!0}function bm(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Em=(e,t,n)=>e??t??n,AR=kn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=gt(sf),s=et(()=>e.route||r.value),i=gt(_m,0),o=et(()=>{let u=Le(i);const{matched:l}=s.value;let f;for(;(f=l[u])&&!f.components;)u++;return u}),a=et(()=>s.value.matched[o.value]);_r(_m,et(()=>o.value+1)),_r(TR,a),_r(sf,s);const c=me();return Ht(()=>[c.value,a.value,e.name],([u,l,f],[d,p,h])=>{l&&(l.instances[f]=u,p&&p!==l&&u&&u===d&&(l.leaveGuards.size||(l.leaveGuards=p.leaveGuards),l.updateGuards.size||(l.updateGuards=p.updateGuards))),u&&l&&(!p||!ii(l,p)||!d)&&(l.enterCallbacks[f]||[]).forEach(m=>m(u))},{flush:"post"}),()=>{const u=s.value,l=e.name,f=a.value,d=f&&f.components[l];if(!d)return Sm(n.default,{Component:d,route:u});const p=f.props[l],h=p?p===!0?u.params:typeof p=="function"?p(u):p:null,v=mt(d,Se({},h,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(f.instances[l]=null)},ref:c}));return Sm(n.default,{Component:v,route:u})||v}}});function Sm(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const b0=AR;function OR(e){const t=yR(e.routes,e),n=e.parseQuery||SR,r=e.stringifyQuery||ym,s=e.history,i=Bi(),o=Bi(),a=Bi(),c=ei(Jt);let u=Jt;Is&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const l=Wl.bind(null,P=>""+P),f=Wl.bind(null,Wx),d=Wl.bind(null,Co);function p(P,K){let G,Q;return g0(P)?(G=t.getRecordMatcher(P),Q=K):Q=P,t.addRoute(Q,G)}function h(P){const K=t.getRecordMatcher(P);K&&t.removeRoute(K)}function m(){return t.getRoutes().map(P=>P.record)}function v(P){return!!t.getRecordMatcher(P)}function y(P,K){if(K=Se({},K||c.value),typeof P=="string"){const w=zl(n,P,K.path),R=t.resolve({path:w.path},K),j=s.createHref(w.fullPath);return Se(w,R,{params:d(R.params),hash:Co(w.hash),redirectedFrom:void 0,href:j})}let G;if(P.path!=null)G=Se({},P,{path:zl(n,P.path,K.path).path});else{const w=Se({},P.params);for(const R in w)w[R]==null&&delete w[R];G=Se({},P,{params:f(w)}),K.params=f(K.params)}const Q=t.resolve(G,K),be=P.hash||"";Q.params=l(d(Q.params));const Ae=Gx(r,Se({},P,{hash:Hx(be),path:Q.path})),E=s.createHref(Ae);return Se({fullPath:Ae,hash:be,query:r===ym?wR(P.query):P.query||{}},Q,{redirectedFrom:void 0,href:E})}function _(P){return typeof P=="string"?zl(n,P,c.value.path):Se({},P)}function g(P,K){if(u!==P)return oi(8,{from:K,to:P})}function b(P){return C(P)}function S(P){return b(Se(_(P),{replace:!0}))}function T(P){const K=P.matched[P.matched.length-1];if(K&&K.redirect){const{redirect:G}=K;let Q=typeof G=="function"?G(P):G;return typeof Q=="string"&&(Q=Q.includes("?")||Q.includes("#")?Q=_(Q):{path:Q},Q.params={}),Se({query:P.query,hash:P.hash,params:Q.path!=null?{}:P.params},Q)}}function C(P,K){const G=u=y(P),Q=c.value,be=P.state,Ae=P.force,E=P.replace===!0,w=T(G);if(w)return C(Se(_(w),{state:typeof w=="object"?Se({},be,w.state):be,force:Ae,replace:E}),K||G);const R=G;R.redirectedFrom=K;let j;return!Ae&&Yx(r,Q,G)&&(j=oi(16,{to:R,from:Q}),ut(Q,Q,!0,!1)),(j?Promise.resolve(j):k(R,Q)).catch(O=>On(O)?On(O,2)?O:je(O):q(O,R,Q)).then(O=>{if(O){if(On(O,2))return C(Se({replace:E},_(O.to),{state:typeof O.to=="object"?Se({},be,O.to.state):be,force:Ae}),K||R)}else O=A(R,Q,!0,E,be);return B(R,Q,O),O})}function M(P,K){const G=g(P,K);
vendor: 2,165 bytes, line 23
23return G?Promise.reject(G):Promise.resolve()}function x(P){const K=vt.values().next().value;return K&&typeof K.runWithContext=="function"?K.runWithContext(P):P()}function k(P,K){let G;const[Q,be,Ae]=MR(P,K);G=Vl(Q.reverse(),"beforeRouteLeave",P,K);for(const w of Q)w.leaveGuards.forEach(R=>{G.push(or(R,P,K))});const E=M.bind(null,P,K);return G.push(E),st(G).then(()=>{G=[];for(const w of i.list())G.push(or(w,P,K));return G.push(E),st(G)}).then(()=>{G=Vl(be,"beforeRouteUpdate",P,K);for(const w of be)w.updateGuards.forEach(R=>{G.push(or(R,P,K))});return G.push(E),st(G)}).then(()=>{G=[];for(const w of Ae)if(w.beforeEnter)if(cn(w.beforeEnter))for(const R of w.beforeEnter)G.push(or(R,P,K));else G.push(or(w.beforeEnter,P,K));return G.push(E),st(G)}).then(()=>(P.matched.forEach(w=>w.enterCallbacks={}),G=Vl(Ae,"beforeRouteEnter",P,K,x),G.push(E),st(G))).then(()=>{G=[];for(const w of o.list())G.push(or(w,P,K));return G.push(E),st(G)}).catch(w=>On(w,8)?w:Promise.reject(w))}function B(P,K,G){a.list().forEach(Q=>x(()=>Q(P,K,G)))}function A(P,K,G,Q,be){const Ae=g(P,K);if(Ae)return Ae;const E=K===Jt,w=Is?history.state:{};G&&(Q||E?s.replace(P.fullPath,Se({scroll:E&&w&&w.scroll},be)):s.push(P.fullPath,be)),c.value=P,ut(P,K,G,E),je()}let U;function X(){U||(U=s.listen((P,K,G)=>{if(!Rt.listening)return;const Q=y(P),be=T(Q);if(be){C(Se(be,{replace:!0,force:!0}),Q).catch(io);return}u=Q;const Ae=c.value;Is&&nR(cm(Ae.fullPath,G.delta),Zc()),k(Q,Ae).catch(E=>On(E,12)?E:On(E,2)?(C(Se(_(E.to),{force:!0}),Q).then(w=>{On(w,20)&&!G.delta&&G.type===ko.pop&&s.go(-1,!1)}).catch(io),Promise.reject()):(G.delta&&s.go(-G.delta,!1),q(E,Q,Ae))).then(E=>{E=E||A(Q,Ae,!1),E&&(G.delta&&!On(E,8)?s.go(-G.delta,!1):G.type===ko.pop&&On(E,20)&&s.go(-1,!1)),B(Q,Ae,E)}).catch(io)}))}let re=Bi(),$=Bi(),Y;function q(P,K,G){je(P);const Q=$.list();return Q.length?Q.forEach(be=>be(P,K,G)):console.error(P),Promise.reject(P)}function fe(){return Y&&c.value!==Jt?Promise.resolve():new Promise((P,K)=>{re.add([P,K])})}function je(P){return Y||(Y=!P,X(),re.list().forEach(([K,G])=>P?G(P):K()),re.reset()),P}function ut(P,K,G,Q){const{scrollBehavior:be}=e;if(!Is||!be)return Promise.resolve();
23const Ae=!G&&rR(cm(P.fullPath,0))||(Q||!G)&&history.state&&history.state.scroll||null;return Ei().then(()=>be(P,K,Ae)).then(E=>E&&tR(E)).catch(E=>q(E,P,K))}const $e=P=>s.go(P);let Je;const vt=new Set,Rt={currentRoute:c,listening:!0,addRoute:p,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:m,resolve:y,options:e,push:b,replace:S,go:$e,back:()=>$e(-1),forward:()=>$e(1),beforeEach:i.add,beforeResolve:o.add,afterEach:a.add,onError:$.add,isReady:fe,install(P){const K=this;P.component("RouterLink",kR),P.component("RouterView",b0),P.config.globalProperties.$router=K,Object.defineProperty(P.config.globalProperties,"$route",{enumerable:!0,get:()=>Le(c)}),Is&&!Je&&c.value===Jt&&(Je=!0,b(s.location).catch(be=>{}));const G={};for(const be in Jt)Object.defineProperty(G,be,{get:()=>c.value[be],enumerable:!0});P.provide(Md,K),P.provide(Nd,Fn(G)),P.provide(sf,c);const Q=P.unmount;vt.add(P),P.unmount=function(){vt.delete(P),vt.size<1&&(u=Jt,U&&U(),U=null,c.value=Jt,Je=!1,Y=!1),Q()}}};function st(P){return P.reduce((K,G)=>K.then(()=>x(G)),Promise.resolve())}return Rt}function MR(e,t){const n=[],r=[],s=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const a=t.matched[o];a&&(e.matched.find(u=>ii(u,a))?r.push(a):n.push(a));const c=e.matched[o];c&&(t.matched.find(u=>ii(u,c))||s.push(c))}return[n,r,s]}function NR(e){return gt(Nd)}const PR=/(:\w+)\([^)]+\)/g,LR=/(:\w+)[?+*]/g,DR=/:\w+/g,$R=(e,t)=>t.path.replace(PR,"$1").replace(LR,"$1").replace(DR,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),of=(e,t)=>{const n=e.route.matched.find(s=>{var i;return((i=s.components)==null?void 0:i.default)===e.Component.type}),r=t??(n==null?void 0:n.meta.key)??(n&&$R(e.route,n));return typeof r=="function"?r(e.route):r},FR=(e,t)=>({default:()=>e?mt(N1,e===!0?{}:e,t):t});function Pd(e){return Array.isArray(e)?e:[e]}const Gl=[{name:"index",path:"/",component:()=>Hn(()=>import("./BoTpAYws.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url)},{name:"sitemap",path:"/sitemap",component:()=>Hn(()=>import("./CI5BeUsS.js"),__vite__mapDeps([11,9,3,4,5]),import.meta.url)},{name:"slug",path:"/:slug(.*)*",component:()=>Hn(()=>import("./DeID0q7W.js"),__vite__mapDeps([12,1,2,3,4,5,6,7,8,9,10,13]),import.meta.url)}],E0=(e,t)=>({default:()=>{var n;return e?mt(FI,e===!0?{}:e,t):(n=t.default)==null?void 0:n.call(t)}}),BR=/(:\w+)\([^)]+\)/g,jR=/(:\w+)[?+*]/g,HR=/:\w+/g;function wm(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(BR,"$1").replace(jR,"$1").replace(HR,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""});return typeof t=="function"?t(e):t}function UR(e,t){return e===t||t===Jt?!1:wm(e)!==wm(t)?!0:!e.matched.every((r,s)=>{var i,o;return r.components&&r.components.default===((o=(i=t.matched[s])==null?void 0:i.components)==null?void 0:o.default)})}function qR(e,t=!1){if(e){if(e.nodeName==="#comment"&&e.nodeValue==="[")return S0(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 S0(e,t=[],n=!1){if(e&&e.nodeName){if(zR(e))return t;if(!WR(e)){const r=e.cloneNode(!0);n&&r.querySelectorAll("[data-island-slot]").forEach(s=>{s.innerHTML=""}),t.push(r.outerHTML)}S0(e.nextSibling,t,n)}return t}function n6(e,t){const n=e?qR(e):[t];return n?TI(n.join(""),n.length):mt("div")}function WR(e){return e.nodeName==="#comment"&&e.nodeValue==="["}function zR(e){return e.nodeName==="#comment"&&e.nodeValue==="]"}const VR={scrollBehavior(e,t,n){var u;const r=Ye(),s=((u=Ut().options)==null?void 0:u.scrollBehaviorType)??"auto";let i=n||void 0;const o=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!i&&t&&e&&o!==!1&&UR(e,t)&&(i={left:0,top:0}),e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:w0(e.hash),behavior:s}:!1;const a=l=>!!(l.meta.pageTransition??Ku),c=a(t)&&a(e)?"page:transition:finish":"page:loading:end";return new Promise(l=>{r.hooks.hookOnce(c,()=>{requestAnimationFrame(()=>l(GR(e,"instant",i)))})})}};function w0(e){try{const t=document.querySelector(e);
23if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function GR(e,t,n){return n||(e.hash?{el:e.hash,top:w0(e.hash),behavior:t}:{left:0,top:0,behavior:t})}const YR={hashMode:!1,scrollBehaviorType:"auto"},Wt={...YR,...VR},KR=async e=>{var c;let t,n;if(!((c=e.meta)!=null&&c.validate))return;const r=Ye(),s=Ut(),i=([t,n]=Vs(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t);if(i===!0)return;const o=Ti({statusCode:i&&i.statusCode||404,statusMessage:i&&i.statusMessage||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),a=s.beforeResolve(u=>{if(a(),u===e){const l=s.afterEach(async()=>{l(),await r.runWithContext(()=>ir(o)),window==null||window.history.pushState({},"",e.fullPath)});return!1}})},JR=async e=>{let t,n;const r=([t,n]=Vs(()=>Rd({path:e.path})),t=await t,n(),t);if(r.redirect)return is(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},XR=[KR,JR],ao={redirects:()=>Hn(()=>import("./D7yxAEtA.js"),[],import.meta.url)};function QR(e,t,n){const{pathname:r,search:s,hash:i}=t,o=e.indexOf("#");if(o>-1){const u=i.includes(e.slice(o))?e.slice(o).length:1;let l=i.slice(u);return l[0]!=="/"&&(l="/"+l),qh(l,"")}const a=qh(r,e),c=!n||DC(a,n,{trailingSlash:!0})?a:n;return c+(c.includes("?")?"":s)+i}const ZR=wt({name:"nuxt:router",enforce:"pre",async setup(e){var v;let t,n,r=os().app.baseURL;const s=((v=Wt.history)==null?void 0:v.call(Wt,r))??aR(r),i=Wt.routes?([t,n]=Vs(()=>Wt.routes(Gl)),t=await t,n(),t??Gl):Gl;let o;const a=OR({...Wt,scrollBehavior:(y,_,g)=>{if(_===Jt){o=g;return}if(Wt.scrollBehavior){if(a.options.scrollBehavior=Wt.scrollBehavior,"scrollRestoration"in window.history){const b=a.beforeEach(()=>{b(),window.history.scrollRestoration="manual"})}return Wt.scrollBehavior(y,Jt,o||g)}},history:s,routes:i});Wt.routes&&Wt.routes,"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const c=ei(a.currentRoute.value);a.afterEach((y,_)=>{c.value=_}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const u=QR(r,window.location,e.payload.path),l=ei(a.currentRoute.value),f=()=>{l.value=a.currentRoute.value};e.hook("page:finish",f),a.afterEach((y,_)=>{var g,b,S,T;((b=(g=y.matched[0])==null?void 0:g.components)==null?void 0:b.default)===((T=(S=_.matched[0])==null?void 0:S.components)==null?void 0:T.default)&&f()});const d={};for(const y in l.value)Object.defineProperty(d,y,{get:()=>l.value[y],enumerable:!0});e._route=Fn(d),e._middleware||(e._middleware={global:[],named:{}});const p=Xc();a.afterEach(async(y,_,g)=>{delete e._processingMiddleware,!e.isHydrating&&p.value&&await e.runWithContext(Ak),g&&await e.callHook("page:loading:end")});try{[t,n]=Vs(()=>a.isReady()),await t,n()}catch(y){[t,n]=Vs(()=>e.runWithContext(()=>ir(y))),await t,n()}const h=u!==a.currentRoute.value.fullPath?a.resolve(u):a.currentRoute.value;f();const m=e.payload.state._layout;return a.beforeEach(async(y,_)=>{var g;await e.callHook("page:loading:start"),y.meta=Xn(y.meta),e.isHydrating&&m&&!zn(y.meta.layout)&&(y.meta.layout=m),e._processingMiddleware=!0;{const b=new Set([...XR,...e._middleware.global]);for(const S of y.matched){const T=S.meta.middleware;if(T)for(const C of Pd(T))b.add(C)}{const S=await e.runWithContext(()=>Rd({path:y.path}));if(S.appMiddleware)for(const T in S.appMiddleware)S.appMiddleware[T]?b.add(T):b.delete(T)}for(const S of b){const T=typeof S=="string"?e._middleware.named[S]||await((g=ao[S])==null?void 0:g.call(ao).then(C=>C.default||C)):S;if(!T)throw new Error(`Unknown route middleware: '${S}'.`);try{const C=await e.runWithContext(()=>T(y,_));if(!e.payload.serverRendered&&e.isHydrating&&(C===!1||C instanceof Error)){const M=C||Fa({statusCode:404,statusMessage:`Page Not Found: ${u}`});return await e.runWithContext(()=>ir(M)),!1}if(C===!0)continue;if(C===!1)return C;if(C)return n0(C)&&C.fatal&&await e.runWithContext(()=>ir(C)),C}catch(C){const M=Fa(C);return M.fatal&&await e.runWithContext(()=>ir(M)),M}}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),a.afterEach(async(y,_)=>{y.matched.length===0&&await e.runWithContext(()=>ir(Fa({statusCode:404,fatal:!1,statusMessage:`Page not found: ${y.fullPath}`,data:{path:y.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in h&&(h.name=void 0),await a.replace({...h,force:!0}),a.options.scrollBehavior=Wt.scrollBehavior}catch(y){await e.runWithContext(()=>ir(y))}}),{provide:{router:a}}}}),Tm=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),r6=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Ld=e=>{const t=Ye();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Tm(()=>e())}):Tm(()=>e())},eA=wt({name:"nuxt:payload",setup(e){const t=new Set;
23Ut().beforeResolve(async(n,r)=>{if(n.path===r.path)return;const s=await im(n.path);if(s){for(const i of t)delete e.static.data[i];for(const i in s.data)i in e.static.data||t.add(i),e.static.data[i]=s.data[i]}}),Ld(()=>{var n;e.hooks.hook("link:prefetch",async r=>{const{hostname:s}=new URL(r,window.location.href);s===window.location.hostname&&await im(r).catch(()=>{console.warn("[nuxt] Error preloading payload for",r)})}),((n=navigator.connection)==null?void 0:n.effectiveType)!=="slow-2g"&&setTimeout(Qc,1e3)})}}),tA=wt(()=>{const e=Ut();Ld(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),nA=wt(e=>{let t;async function n(){const r=await Qc();t&&clearTimeout(t),t=setTimeout(n,Yh);try{const s=await $fetch(Cd("builds/latest.json")+`?${Date.now()}`);s.id!==r.id&&e.hooks.callHook("app:manifest:update",s)}catch{}}Ld(()=>{t=setTimeout(n,Yh)})});function rA(e={}){const t=e.path||window.location.pathname;let n={};try{n=Io(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires)<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:Ye().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const sA=wt({name:"nuxt:chunk-reload",setup(e){const t=Ut(),n=os(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:i})=>{r.add(i)});function s(i){const a="href"in i&&i.href[0]==="#"?n.app.baseURL+i.href:Id(n.app.baseURL,i.fullPath);rA({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((i,o)=>{r.has(i)&&s(o)})}}),iA=So(()=>Hn(()=>import("./DGkG3Dl3.js").then(e=>e.I),__vite__mapDeps([6,7,8]),import.meta.url).then(e=>e.default||e.default||e)),oA=So(()=>Hn(()=>import("./ByComi6i.js"),__vite__mapDeps([14,7,15]),import.meta.url).then(e=>e.default||e.default||e)),aA=[["Icon",iA],["IconCSS",oA]],cA=wt({name:"nuxt:global-components",setup(e){for(const[t,n]of aA)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),hr={default:So(()=>Hn(()=>import("./BdLbw8pG.js"),__vite__mapDeps([16,4,9,6,7,8,1,13,17]),import.meta.url).then(e=>e.default||e))},lA=wt({name:"nuxt:prefetch",setup(e){const t=Ut();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var s;const r=(s=n==null?void 0:n.meta)==null?void 0:s.layout;r&&typeof hr[r]=="function"&&await hr[r]()})}),e.hooks.hook("link:prefetch",n=>{if(is(n))return;const r=t.resolve(n);if(!r)return;const s=r.meta.layout;let i=Pd(r.meta.middleware);i=i.filter(o=>typeof o=="string");for(const o of i)typeof ao[o]=="function"&&ao[o]();s&&typeof hr[s]=="function"&&hr[s]()})}});class Gs extends Error{constructor(n,r){const s=`${Gs.extractMessage(n)}: ${JSON.stringify({response:n,request:r})}`;super(s);He(this,"response");He(this,"request");Object.setPrototypeOf(this,Gs.prototype),this.response=n,this.request=r,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Gs)}static extractMessage(n){var r,s;return((s=(r=n.errors)==null?void 0:r[0])==null?void 0:s.message)??`GraphQL Error (Code: ${String(n.status)})`}}const Im=e=>e.toUpperCase(),Yl=e=>typeof e=="function"?e():e,T0=(e,t)=>e.map((n,r)=>[n,t[r]]),ys=e=>{let t={};return e instanceof Headers?t=uA(e):Array.isArray(e)?e.forEach(([n,r])=>{n&&r!==void 0&&(t[n]=r)}):e&&(t=e),t},uA=e=>{const t={};return e.forEach((n,r)=>{t[r]=n}),t},fA=e=>{try{const t=e();return dA(t)?t.catch(n=>Cm(n)):t}catch(t){return Cm(t)}},Cm=e=>e instanceof Error?e:new Error(String(e)),dA=e=>typeof e=="object"&&e!==null&&"then"in e&&typeof e.then=="function"&&"catch"in e&&typeof e.catch=="function"&&"finally"in e&&typeof e.finally=="function",Dd=e=>{throw new Error(`Unhandled case: ${String(e)}`)},Ha=e=>typeof e=="object"&&e!==null&&!Array.isArray(e),pA=(e,t)=>e.documents?e:{documents:e,requestHeaders:t,signal:void 0},hA=(e,t,n)=>e.query?e:{query:e,variables:t,requestHeaders:n,signal:void 0};function Ua(e,t){if(!!!e)throw new Error(t)}function mA(e){return typeof e=="object"&&e!==null}function gA(e,t){if(!!!e)throw new Error("Unexpected invariant triggered.")}const yA=/\r\n|[\n\r]/g;function af(e,t){let n=0,r=1;for(const s of e.body.matchAll(yA)){if(typeof s.index=="number"||gA(!1),s.index>=t)break;n=s.index+s[0].length,r+=1}return{line:r,column:t+1-n}}function _A(e){return I0(e.source,af(e.source,e.start))}function I0(e,t){const n=e.locationOffset.column-1,r="".padStart(n)+e.body,s=t.line-1,i=e.locationOffset.line-1,o=t.line+i,a=t.line===1?n:0,c=t.column+a,u=`${e.name}:${o}:${c} 24`,l=r.split(/\r\n|[\n\r]/g),f=l[s];if(f.length>120){const d=Math.floor(c/80),p=c%80,h=[];for(let m=0;m<f.length;m+=80)h.push(f.slice(m,m+80));return u+km([[`${o} |`,h[0]],...h.slice(1,d+1).map(m=>["|",m]),["|","^".padStart(p)],["|",h[d+1]]])}return u+km([[`${o-1} |`,l[s-1]],[`${o} |`,f],["|","^".padStart(c)],[`${o+1} |`,l[s+1]]])}function km(e){const t=e.filter(([r,s])=>s!==void 0),n=Math.max(...t.map(([r])=>r.length));return t.map(([r,s])=>r.padStart(n)+(s?" "+s:"")).join(` 25`)}function vA(e){const t=e[0];return t==null||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}
25class $d extends Error{constructor(t,...n){var r,s,i;const{nodes:o,source:a,positions:c,path:u,originalError:l,extensions:f}=vA(n);super(t),this.name="GraphQLError",this.path=u??void 0,this.originalError=l??void 0,this.nodes=xm(Array.isArray(o)?o:o?[o]:void 0);const d=xm((r=this.nodes)===null||r===void 0?void 0:r.map(h=>h.loc).filter(h=>h!=null));this.source=a??(d==null||(s=d[0])===null||s===void 0?void 0:s.source),this.positions=c??(d==null?void 0:d.map(h=>h.start)),this.locations=c&&a?c.map(h=>af(a,h)):d==null?void 0:d.map(h=>af(h.source,h.start));const p=mA(l==null?void 0:l.extensions)?l==null?void 0:l.extensions:void 0;this.extensions=(i=f??p)!==null&&i!==void 0?i:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),l!=null&&l.stack?Object.defineProperty(this,"stack",{value:l.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,$d):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let t=this.message;if(this.nodes)for(const n of this.nodes)n.loc&&(t+=` 26 27`+_A(n.loc));else if(this.source&&this.locations)for(const n of this.locations)t+=` 28 29`+I0(this.source,n);return t}toJSON(){const t={message:this.message};return this.locations!=null&&(t.locations=this.locations),this.path!=null&&(t.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(t.extensions=this.extensions),t}}function xm(e){return e===void 0||e.length===0?void 0:e}function it(e,t,n){return new $d(`Syntax Error: ${n}`,{source:e,positions:[t]})}class bA{constructor(t,n,r){this.start=t.start,this.end=n.end,this.startToken=t,this.endToken=n,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class C0{constructor(t,n,r,s,i,o){this.kind=t,this.start=n,this.end=r,this.line=s,this.column=i,this.value=o,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const k0={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},EA=new Set(Object.keys(k0));function Rm(e){const t=e==null?void 0:e.kind;return typeof t=="string"&&EA.has(t)}var Os;(function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"})(Os||(Os={}));var cf;(function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"})(cf||(cf={}));var oe;(function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="Str
vendor: 4,372 bytes, lines 29-31
29ingValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"})(oe||(oe={}));function lf(e){return e===9||e===32}function xo(e){return e>=48&&e<=57}function x0(e){return e>=97&&e<=122||e>=65&&e<=90}function R0(e){return x0(e)||e===95}function SA(e){return x0(e)||xo(e)||e===95}function wA(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,s=-1;for(let o=0;o<e.length;++o){var i;const a=e[o],c=TA(a);c!==a.length&&(r=(i=r)!==null&&i!==void 0?i:o,s=o,o!==0&&c<n&&(n=c))}return e.map((o,a)=>a===0?o:o.slice(n)).slice((t=r)!==null&&t!==void 0?t:0,s+1)}function TA(e){let t=0;for(;t<e.length&&lf(e.charCodeAt(t));)++t;return t}function IA(e,t){const n=e.replace(/"""/g,'\\"""'),r=n.split(/\r\n|[\n\r]/g),s=r.length===1,i=r.length>1&&r.slice(1).every(p=>p.length===0||lf(p.charCodeAt(0))),o=n.endsWith('\\"""'),a=e.endsWith('"')&&!o,c=e.endsWith("\\"),u=a||c,l=!s||e.length>70||u||i||o;let f="";const d=s&&lf(e.charCodeAt(0));return(l&&!d||i)&&(f+=` 30`),f+=n,(l||u)&&(f+=` 31`),'"""'+f+'"""'}var D;(function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"})(D||(D={}));class CA{constructor(t){const n=new C0(D.SOF,0,0,0,0);this.source=t,this.lastToken=n,this.token=n,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let t=this.token;if(t.kind!==D.EOF)do if(t.next)t=t.next;else{const n=xA(this,t.end);t.next=n,n.prev=t,t=n}while(t.kind===D.COMMENT);return t}}function kA(e){return e===D.BANG||e===D.DOLLAR||e===D.AMP||e===D.PAREN_L||e===D.PAREN_R||e===D.SPREAD||e===D.COLON||e===D.EQUALS||e===D.AT||e===D.BRACKET_L||e===D.BRACKET_R||e===D.BRACE_L||e===D.PIPE||e===D.BRACE_R}function Ii(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function el(e,t){return A0(e.charCodeAt(t))&&O0(e.charCodeAt(t+1))}function A0(e){return e>=55296&&e<=56319}function O0(e){return e>=56320&&e<=57343}function Jr(e,t){const n=e.source.body.codePointAt(t);if(n===void 0)return D.EOF;if(n>=32&&n<=126){const r=String.fromCodePoint(n);return r==='"'?`'"'`:`"${r}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function Qe(e,t,n,r,s){const i=e.line,o=1+n-e.lineStart;return new C0(t,n,r,i,o,s)}function xA(e,t){const n=e.source.body,r=n.length;let s=t;for(;s<r;){const i=n.charCodeAt(s);switch(i){case 65279:case 9:case 32:case 44:++s;continue;case 10:++s,++e.line,e.lineStart=s;continue;case 13:n.charCodeAt(s+1)===10?s+=2:++s,++e.line,e.lineStart=s;continue;case 35:return RA(e,s);case 33:return Qe(e,D.BANG,s,s+1);case 36:return Qe(e,D.DOLLAR,s,s+1);case 38:return Qe(e,D.AMP,s,s+1);case 40:return Qe(e,D.PAREN_L,s,s+1);case 41:return Qe(e,D.PAREN_R,s,s+1);case 46:if(n.charCodeAt(s+1)===46&&n.charCodeAt(s+2)===46)return Qe(e,D.SPREAD,s,s+3);break;case 58:return Qe(e,D.COLON,s,s+1);case 61:return Qe(e,D.EQUALS,s,s+1);case 64:return Qe(e,D.AT,s,s+1);case 91:return Qe(e,D.BRACKET_L,s,s+1);case 93:return Qe(e,D.BRACKET_R,s,s+1);case 123:return Qe(e,D.BRACE_L,s,s+1);case 124:return Qe(e,D.PIPE,s,s+1);case 125:return Qe(e,D.BRACE_R,s,s+1);
vendor: 5,069 bytes, lines 31-33
31case 34:return n.charCodeAt(s+1)===34&&n.charCodeAt(s+2)===34?LA(e,s):OA(e,s)}if(xo(i)||i===45)return AA(e,s,i);if(R0(i))return DA(e,s);throw it(e.source,s,i===39?`Unexpected single quote character ('), did you mean to use a double quote (")?`:Ii(i)||el(n,s)?`Unexpected character: ${Jr(e,s)}.`:`Invalid character: ${Jr(e,s)}.`)}return Qe(e,D.EOF,r,r)}function RA(e,t){const n=e.source.body,r=n.length;let s=t+1;for(;s<r;){const i=n.charCodeAt(s);if(i===10||i===13)break;if(Ii(i))++s;else if(el(n,s))s+=2;else break}return Qe(e,D.COMMENT,t,s,n.slice(t+1,s))}function AA(e,t,n){const r=e.source.body;let s=t,i=n,o=!1;if(i===45&&(i=r.charCodeAt(++s)),i===48){if(i=r.charCodeAt(++s),xo(i))throw it(e.source,s,`Invalid number, unexpected digit after 0: ${Jr(e,s)}.`)}else s=Kl(e,s,i),i=r.charCodeAt(s);if(i===46&&(o=!0,i=r.charCodeAt(++s),s=Kl(e,s,i),i=r.charCodeAt(s)),(i===69||i===101)&&(o=!0,i=r.charCodeAt(++s),(i===43||i===45)&&(i=r.charCodeAt(++s)),s=Kl(e,s,i),i=r.charCodeAt(s)),i===46||R0(i))throw it(e.source,s,`Invalid number, expected digit but got: ${Jr(e,s)}.`);return Qe(e,o?D.FLOAT:D.INT,t,s,r.slice(t,s))}function Kl(e,t,n){if(!xo(n))throw it(e.source,t,`Invalid number, expected digit but got: ${Jr(e,t)}.`);const r=e.source.body;let s=t+1;for(;xo(r.charCodeAt(s));)++s;return s}function OA(e,t){const n=e.source.body,r=n.length;let s=t+1,i=s,o="";for(;s<r;){const a=n.charCodeAt(s);if(a===34)return o+=n.slice(i,s),Qe(e,D.STRING,t,s+1,o);if(a===92){o+=n.slice(i,s);const c=n.charCodeAt(s+1)===117?n.charCodeAt(s+2)===123?MA(e,s):NA(e,s):PA(e,s);o+=c.value,s+=c.size,i=s;continue}if(a===10||a===13)break;if(Ii(a))++s;else if(el(n,s))s+=2;else throw it(e.source,s,`Invalid character within String: ${Jr(e,s)}.`)}throw it(e.source,s,"Unterminated string.")}function MA(e,t){const n=e.source.body;let r=0,s=3;for(;s<12;){const i=n.charCodeAt(t+s++);if(i===125){if(s<5||!Ii(r))break;return{value:String.fromCodePoint(r),size:s}}if(r=r<<4|Ki(i),r<0)break}throw it(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+s)}".`)}function NA(e,t){const n=e.source.body,r=Am(n,t+2);if(Ii(r))return{value:String.fromCodePoint(r),size:6};if(A0(r)&&n.charCodeAt(t+6)===92&&n.charCodeAt(t+7)===117){const s=Am(n,t+8);if(O0(s))return{value:String.fromCodePoint(r,s),size:12}}throw it(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}function Am(e,t){return Ki(e.charCodeAt(t))<<12|Ki(e.charCodeAt(t+1))<<8|Ki(e.charCodeAt(t+2))<<4|Ki(e.charCodeAt(t+3))}function Ki(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function PA(e,t){const n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:` 32`,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw it(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function LA(e,t){const n=e.source.body,r=n.length;let s=e.lineStart,i=t+3,o=i,a="";const c=[];for(;i<r;){const u=n.charCodeAt(i);if(u===34&&n.charCodeAt(i+1)===34&&n.charCodeAt(i+2)===34){a+=n.slice(o,i),c.push(a);const l=Qe(e,D.BLOCK_STRING,t,i+3,wA(c).join(` 33`));return e.line+=c.length-1,e.lineStart=s,l}if(u===92&&n.charCodeAt(i+1)===34&&n.charCodeAt(i+2)===34&&n.charCodeAt(i+3)===34){a+=n.slice(o,i),o=i+1,i+=4;continue}if(u===10||u===13){a+=n.slice(o,i),c.push(a),u===13&&n.charCodeAt(i+1)===10?i+=2:++i,a="",o=i,s=i;continue}if(Ii(u))++i;else if(el(n,i))i+=2;else throw it(e.source,i,`Invalid character within String: ${Jr(e,i)}.`)}throw it(e.source,i,"Unterminated string.")}function DA(e,t){const n=e.source.body,r=n.length;let s=t+1;for(;s<r;){const i=n.charCodeAt(s);if(SA(i))++s;else break}return Qe(e,D.NAME,t,s,n.slice(t,s))}const $A=10,M0=2;function Fd(e){return tl(e,[])}function tl(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return FA(e,t);default:return String(e)}}function FA(e,t){if(e===null)return"null";if(t.includes(e))return"[Circular]";const n=[...t,e];if(BA(e)){const r=e.toJSON();if(r!==e)return typeof r=="string"?r:tl(r,n)}else if(Array.isArray(e))return HA(e,n);return jA(e,n)}function BA(e){return typeof e.toJSON=="function"}function jA(e,t){const n=Object.entries(e);return n.length===0?"{}":t.length>M0?"["+UA(e)+"]":"{ "+n.map(([s,i])=>s+": "+tl(i,t)).join(", ")+" }"}function HA(e,t){if(e.length===0)return"[]";if(t.length>M0)return"[Array]";const n=Math.min($A,e.length),r=e.length-n,s=[];for(let i=0;i<n;++i)s.push(tl(e[i],t));return r===1?s.push("... 1 more item"):r>1&&s.push(`... ${r} more items`),"["+s.join(", ")+"]"}function UA(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if(t==="Object"&&typeof e.constructor=="function"){const n=e.constructor.name;if(typeof n=="string"&&n!=="")return n}return t}const qA=globalThis.process&&!0,WA=qA?function(t,n){return t instanceof n}:function(t,n){if(t instanceof n)return!0;
vendor: 21,290 bytes, lines 33-49
33if(typeof t=="object"&&t!==null){var r;const s=n.prototype[Symbol.toStringTag],i=Symbol.toStringTag in t?t[Symbol.toStringTag]:(r=t.constructor)===null||r===void 0?void 0:r.name;if(s===i){const o=Fd(t);throw new Error(`Cannot use ${s} "${o}" from another module or realm. 34 35Ensure that there is only one instance of "graphql" in the node_modules 36directory. If different versions of "graphql" are the dependencies of other 37relied on modules, use "resolutions" to ensure only one version is installed. 38 39https://yarnpkg.com/en/docs/selective-version-resolutions 40 41Duplicate "graphql" modules cannot be used at the same time since different 42versions may have different capabilities and behavior. The data from one 43version used in the function from another could produce confusing and 44spurious results.`)}}return!1};class N0{constructor(t,n="GraphQL request",r={line:1,column:1}){typeof t=="string"||Ua(!1,`Body must be a string. Received: ${Fd(t)}.`),this.body=t,this.name=n,this.locationOffset=r,this.locationOffset.line>0||Ua(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||Ua(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function zA(e){return WA(e,N0)}function VA(e,t){const n=new GA(e,t),r=n.parseDocument();return Object.defineProperty(r,"tokenCount",{enumerable:!1,value:n.tokenCount}),r}class GA{constructor(t,n={}){const r=zA(t)?t:new N0(t);this._lexer=new CA(r),this._options=n,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){const t=this.expectToken(D.NAME);return this.node(t,{kind:oe.NAME,value:t.value})}parseDocument(){return this.node(this._lexer.token,{kind:oe.DOCUMENT,definitions:this.many(D.SOF,this.parseDefinition,D.EOF)})}parseDefinition(){if(this.peek(D.BRACE_L))return this.parseOperationDefinition();const t=this.peekDescription(),n=t?this._lexer.lookahead():this._lexer.token;if(n.kind===D.NAME){switch(n.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(t)throw it(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(n.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(n)}parseOperationDefinition(){const t=this._lexer.token;if(this.peek(D.BRACE_L))return this.node(t,{kind:oe.OPERATION_DEFINITION,operation:Os.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const n=this.parseOperationType();let r;return this.peek(D.NAME)&&(r=this.parseName()),this.node(t,{kind:oe.OPERATION_DEFINITION,operation:n,name:r,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const t=this.expectToken(D.NAME);switch(t.value){case"query":return Os.QUERY;case"mutation":return Os.MUTATION;case"subscription":return Os.SUBSCRIPTION}throw this.unexpected(t)}parseVariableDefinitions(){return this.optionalMany(D.PAREN_L,this.parseVariableDefinition,D.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:oe.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(D.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(D.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const t=this._lexer.token;return this.expectToken(D.DOLLAR),this.node(t,{kind:oe.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:oe.SELECTION_SET,selections:this.many(D.BRACE_L,this.parseSelection,D.BRACE_R)})}parseSelection(){return this.peek(D.SPREAD)?this.parseFragment():this.parseField()}parseField(){const t=this._lexer.token,n=this.parseName();let r,s;return this.expectOptionalToken(D.COLON)?(r=n,s=this.parseName()):s=n,this.node(t,{kind:oe.FIELD,alias:r,name:s,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(D.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(t){const n=t?this.parseConstArgument:this.parseArgument;return this.optionalMany(D.PAREN_L,n,D.PAREN_R)}parseArgument(t=!1){const n=this._lexer.token,r=this.parseName();return this.expectToken(D.COLON),this.node(n,{kind:oe.ARGUMENT,name:r,value:this.parseValueLiteral(t)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const t=this._lexer.token;this.expectToken(D.SPREAD);const n=this.expectOptionalKeyword("on");return!n&&this.peek(D.NAME)?this.node(t,{kind:oe.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(t,{kind:oe.INLINE_FRAGMENT,typeCondition:n?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const t=this._lexer.token;return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(t,{kind:oe.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(t,{kind:oe.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(t){const n=this._lexer.token;switch(n.kind){case D.BRACKET_L:return this.parseList(t);case D.BRACE_L:return this.parseObject(t);case D.INT:return this.advanceLexer(),this.node(n,{kind:oe.INT,value:n.value});case D.FLOAT:return this.advanceLexer(),this.node(n,{kind:oe.FLOAT,value:n.value});case D.STRING:case D.BLOCK_STRING:return this.parseStringLiteral();case D.NAME:switch(this.advanceLexer(),n.value){case"true":return this.node(n,{kind:oe.BOOLEAN,value:!0});case"false":return this.node(n,{kind:oe.BOOLEAN,value:!1});case"null":return this.node(n,{kind:oe.NULL});default:return this.node(n,{kind:oe.ENUM,value:n.value})}case D.DOLLAR:if(t)if(this.expectToken(D.DOLLAR),this._lexer.token.kind===D.NAME){const r=this._lexer.token.value;throw it(this._lexer.source,n.start,`Unexpected variable "$${r}" in constant value.`)}else throw this.unexpected(n);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const t=this._lexer.token;return this.advanceLexer(),this.node(t,{kind:oe.STRING,value:t.value,block:t.kind===D.BLOCK_STRING})}parseList(t){const n=()=>this.parseValueLiteral(t);return this.node(this._lexer.token,{kind:oe.LIST,values:this.any(D.BRACKET_L,n,D.BRACKET_R)})}parseObject(t){const n=()=>this.parseObjectField(t);return this.node(this._lexer.token,{kind:oe.OBJECT,fields:this.any(D.BRACE_L,n,D.BRACE_R)})}parseObjectField(t){const n=this._lexer.token,r=this.parseName();return this.expectToken(D.COLON),this.node(n,{kind:oe.OBJECT_FIELD,name:r,value:this.parseValueLiteral(t)})}parseDirectives(t){const n=[];for(;this.peek(D.AT);)n.push(this.parseDirective(t));return n}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(t){const n=this._lexer.token;return this.expectToken(D.AT),this.node(n,{kind:oe.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(t)})}parseTypeReference(){const t=this._lexer.token;let n;if(this.expectOptionalToken(D.BRACKET_L)){const r=this.parseTypeReference();this.expectToken(D.BRACKET_R),n=this.node(t,{kind:oe.LIST_TYPE,type:r})}else n=this.parseNamedType();return this.expectOptionalToken(D.BANG)?this.node(t,{kind:oe.NON_NULL_TYPE,type:n}):n}parseNamedType(){return this.node(this._lexer.token,{kind:oe.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(D.STRING)||this.peek(D.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("schema");const r=this.parseConstDirectives(),s=this.many(D.BRACE_L,this.parseOperationTypeDefinition,D.BRACE_R);return this.node(t,{kind:oe.SCHEMA_DEFINITION,description:n,directives:r,operationTypes:s})}parseOperationTypeDefinition(){const t=this._lexer.token,n=this.parseOperationType();this.expectToken(D.COLON);const r=this.parseNamedType();return this.node(t,{kind:oe.OPERATION_TYPE_DEFINITION,operation:n,type:r})}parseScalarTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("scalar");const r=this.parseName(),s=this.parseConstDirectives();return this.node(t,{kind:oe.SCALAR_TYPE_DEFINITION,description:n,name:r,directives:s})}parseObjectTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("type");const r=this.parseName(),s=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(t,{kind:oe.OBJECT_TYPE_DEFINITION,description:n,name:r,interfaces:s,directives:i,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(D.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(D.BRACE_L,this.parseFieldDefinition,D.BRACE_R)}parseFieldDefinition(){const t=this._lexer.token,n=this.parseDescription(),r=this.parseName(),s=this.parseArgumentDefs();this.expectToken(D.COLON);const i=this.parseTypeReference(),o=this.parseConstDirectives();return this.node(t,{kind:oe.FIELD_DEFINITION,description:n,name:r,arguments:s,type:i,directives:o})}parseArgumentDefs(){return this.optionalMany(D.PAREN_L,this.parseInputValueDef,D.PAREN_R)}parseInputValueDef(){const t=this._lexer.token,n=this.parseDescription(),r=this.parseName();this.expectToken(D.COLON);const s=this.parseTypeReference();let i;this.expectOptionalToken(D.EQUALS)&&(i=this.parseConstValueLiteral());const o=this.parseConstDirectives();return this.node(t,{kind:oe.INPUT_VALUE_DEFINITION,description:n,name:r,type:s,defaultValue:i,directives:o})}parseInterfaceTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("interface");const r=this.parseName(),s=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(t,{kind:oe.INTERFACE_TYPE_DEFINITION,description:n,name:r,interfaces:s,directives:i,fields:o})}parseUnionTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("union");const r=this.parseName(),s=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(t,{kind:oe.UNION_TYPE_DEFINITION,description:n,name:r,directives:s,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(D.EQUALS)?this.delimitedMany(D.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("enum");const r=this.parseName(),s=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(t,{kind:oe.ENUM_TYPE_DEFINITION,description:n,name:r,directives:s,values:i})}parseEnumValuesDefinition(){return this.optionalMany(D.BRACE_L,this.parseEnumValueDefinition,D.BRACE_R)}parseEnumValueDefinition(){const t=this._lexer.token,n=this.parseDescription(),r=this.parseEnumValueName(),s=this.parseConstDirectives();return this.node(t,{kind:oe.ENUM_VALUE_DEFINITION,description:n,name:r,directives:s})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw it(this._lexer.source,this._lexer.token.start,`${pa(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("input");const r=this.parseName(),s=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(t,{kind:oe.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:r,directives:s,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(D.BRACE_L,this.parseInputValueDef,D.BRACE_R)}parseTypeSystemExtension(){const t=this._lexer.lookahead();if(t.kind===D.NAME)switch(t.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(t)}parseSchemaExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const n=this.parseConstDirectives(),r=this.optionalMany(D.BRACE_L,this.parseOperationTypeDefinition,D.BRACE_R);if(n.length===0&&r.length===0)throw this.unexpected();return this.node(t,{kind:oe.SCHEMA_EXTENSION,directives:n,operationTypes:r})}parseScalarTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const n=this.parseName(),r=this.parseConstDirectives();if(r.length===0)throw this.unexpected();return this.node(t,{kind:oe.SCALAR_TYPE_EXTENSION,name:n,directives:r})}parseObjectTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const n=this.parseName(),r=this.parseImplementsInterfaces(),s=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(r.length===0&&s.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:oe.OBJECT_TYPE_EXTENSION,name:n,interfaces:r,directives:s,fields:i})}parseInterfaceTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const n=this.parseName(),r=this.parseImplementsInterfaces(),s=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(r.length===0&&s.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:oe.INTERFACE_TYPE_EXTENSION,name:n,interfaces:r,directives:s,fields:i})}parseUnionTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const n=this.parseName(),r=this.parseConstDirectives(),s=this.parseUnionMemberTypes();if(r.length===0&&s.length===0)throw this.unexpected();return this.node(t,{kind:oe.UNION_TYPE_EXTENSION,name:n,directives:r,types:s})}parseEnumTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const n=this.parseName(),r=this.parseConstDirectives(),s=this.parseEnumValuesDefinition();if(r.length===0&&s.length===0)throw this.unexpected();return this.node(t,{kind:oe.ENUM_TYPE_EXTENSION,name:n,directives:r,values:s})}parseInputObjectTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const n=this.parseName(),r=this.parseConstDirectives(),s=this.parseInputFieldsDefinition();if(r.length===0&&s.length===0)throw this.unexpected();return this.node(t,{kind:oe.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:r,fields:s})}parseDirectiveDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("directive"),this.expectToken(D.AT);const r=this.parseName(),s=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const o=this.parseDirectiveLocations();return this.node(t,{kind:oe.DIRECTIVE_DEFINITION,description:n,name:r,arguments:s,repeatable:i,locations:o})}parseDirectiveLocations(){return this.delimitedMany(D.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const t=this._lexer.token,n=this.parseName();if(Object.prototype.hasOwnProperty.call(cf,n.value))return n;throw this.unexpected(t)}node(t,n){return this._options.noLocation!==!0&&(n.loc=new bA(t,this._lexer.lastToken,this._lexer.source)),n}peek(t){return this._lexer.token.kind===t}expectToken(t){const n=this._lexer.token;if(n.kind===t)return this.advanceLexer(),n;throw it(this._lexer.source,n.start,`Expected ${P0(t)}, found ${pa(n)}.`)}expectOptionalToken(t){return this._lexer.token.kind===t?(this.advanceLexer(),!0):!1}expectKeyword(t){const n=this._lexer.token;if(n.kind===D.NAME&&n.value===t)this.advanceLexer();else throw it(this._lexer.source,n.start,`Expected "${t}", found ${pa(n)}.`)}expectOptionalKeyword(t){const n=this._lexer.token;return n.kind===D.NAME&&n.value===t?(this.advanceLexer(),!0):!1}unexpected(t){const n=t??this._lexer.token;return it(this._lexer.source,n.start,`Unexpected ${pa(n)}.`)}any(t,n,r){this.expectToken(t);const s=[];for(;!this.expectOptionalToken(r);)s.push(n.call(this));return s}optionalMany(t,n,r){if(this.expectOptionalToken(t)){const s=[];do s.push(n.call(this));while(!this.expectOptionalToken(r));return s}return[]}many(t,n,r){this.expectToken(t);const s=[];do s.push(n.call(this));while(!this.expectOptionalToken(r));return s}delimitedMany(t,n){this.expectOptionalToken(t);const r=[];do r.push(n.call(this));while(this.expectOptionalToken(t));return r}advanceLexer(){const{maxTokens:t}=this._options,n=this._lexer.advance();if(n.kind!==D.EOF&&(++this._tokenCounter,t!==void 0&&this._tokenCounter>t))throw it(this._lexer.source,n.start,`Document contains more that ${t} tokens. Parsing aborted.`)}}function pa(e){const t=e.value;return P0(e.kind)+(t!=null?` "${t}"`:"")}function P0(e){return kA(e)?`"${e}"`:e}function YA(e){return`"${e.replace(KA,JA)}"`}const KA=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function JA(e){return XA[e.charCodeAt(0)]}const XA=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"],QA=Object.freeze({});function ZA(e,t,n=k0){const r=new Map;for(const y of Object.values(oe))r.set(y,eO(t,y));let s,i=Array.isArray(e),o=[e],a=-1,c=[],u=e,l,f;const d=[],p=[];do{a++;const y=a===o.length,_=y&&c.length!==0;if(y){if(l=p.length===0?void 0:d[d.length-1],u=f,f=p.pop(),_)if(i){u=u.slice();let b=0;for(const[S,T]of c){const C=S-b;T===null?(u.splice(C,1),b++):u[C]=T}}else{u={...u};for(const[b,S]of c)u[b]=S}a=s.index,o=s.keys,c=s.edits,i=s.inArray,s=s.prev}else if(f){if(l=i?a:o[a],u=f[l],u==null)continue;d.push(l)}let g;if(!Array.isArray(u)){var h,m;Rm(u)||Ua(!1,`Invalid AST Node: ${Fd(u)}.`);const b=y?(h=r.get(u.kind))===null||h===void 0?void 0:h.leave:(m=r.get(u.kind))===null||m===void 0?void 0:m.enter;if(g=b==null?void 0:b.call(t,u,l,f,d,p),g===QA)break;if(g===!1){if(!y){d.pop();continue}}else if(g!==void 0&&(c.push([l,g]),!y))if(Rm(g))u=g;else{d.pop();continue}}if(g===void 0&&_&&c.push([l,u]),y)d.pop();else{var v;s={inArray:i,index:a,keys:o,edits:c,prev:s},i=Array.isArray(u),o=i?u:(v=n[u.kind])!==null&&v!==void 0?v:[],a=-1,c=[],f&&p.push(f),f=u}}while(s!==void 0);return c.length!==0?c[c.length-1][1]:e}function eO(e,t){const n=e[t];return typeof n=="object"?n:typeof n=="function"?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}function tO(e){return ZA(e,rO)}const nO=80,rO={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>J(e.definitions,` 45 46`)},OperationDefinition:{leave(e){const t=he("(",J(e.variableDefinitions,", "),")"),n=J([e.operation,J([e.name,t]),J(e.directives," ")]," ");return(n==="query"?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r})=>e+": "+t+he(" = ",n)+he(" ",J(r," "))},SelectionSet:{leave:({selections:e})=>Yt(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:s}){const i=he("",e,": ")+t;let o=i+he("(",J(n,", "),")");return o.length>nO&&(o=i+he(`( 47`,qa(J(n,` 48`)),` 49)`)),J([o,J(r," "),s]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+he(" ",J(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>J(["...",he("on ",e),J(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:s})=>`fragment ${e}${he("(",J(n,", "),")")} on ${t} ${he("",J(r," ")," ")}`+s},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e}
49,StringValue:{leave:({value:e,block:t})=>t?IA(e):YA(e)},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+J(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+J(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+he("(",J(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>he("",e,` 50`)+J(["schema",J(t," "),Yt(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>he("",e,` 51`)+J(["scalar",t,J(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:s})=>he("",e,` 52`)+J(["type",t,he("implements ",J(n," & ")),J(r," "),Yt(s)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:s})=>he("",e,` 53`)+t+(Om(n)?he(`( 54`,qa(J(n,` 55`)),` 56)`):he("(",J(n,", "),")"))+": "+r+he(" ",J(s," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:s})=>he("",e,` 57`)+J([t+": "+n,he("= ",r),J(s," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:s})=>he("",e,` 58`)+J(["interface",t,he("implements ",J(n," & ")),J(r," "),Yt(s)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>he("",e,` 59`)+J(["union",t,J(n," "),he("= ",J(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>he("",e,` 60`)+J(["enum",t,J(n," "),Yt(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>he("",e,` 61`)+J([t,J(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>he("",e,` 62`)+J(["input",t,J(n," "),Yt(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:r,locations:s})=>he("",e,` 63`)+"directive @"+t+(Om(n)?he(`( 64`,qa(J(n,` 65`)),` 66)`):he("(",J(n,", "),")"))+(r?" repeatable":"")+" on "+J(s," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>J(["extend schema",J(e," "),Yt(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>J(["extend scalar",e,J(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>J(["extend type",e,he("implements ",J(t," & ")),J(n," "),Yt(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>J(["extend interface",e,he("implements ",J(t," & ")),J(n," "),Yt(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>J(["extend union",e,J(t," "),he("= ",J(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>J(["extend enum",e,J(t," "),Yt(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>J(["extend input",e,J(t," "),Yt(n)]," ")}};function J(e,t=""){var n;return(n=e==null?void 0:e.filter(r=>r).join(t))!==null&&n!==void 0?n:""}function Yt(e){return he(`{ 67`,qa(J(e,` 68`)),` 69}`)}function he(e,t,n=""){return t!=null&&t!==""?e+t+n:""}function qa(e){return he(" ",e.replace(/\n/g,` 70 `))}function Om(e){var t;return(t=e==null?void 0:e.some(n=>n.includes(` 71`)))!==null&&t!==void 0?t:!1}const Mm="Accept",uf="Content-Type",ff="application/json",L0="application/graphql-response+json",Nm=e=>e.replace(/([\s,]|#[^\n\r]+)+/g," ").trim(),sO=e=>{const t=e.toLowerCase();return t.includes(L0)||t.includes(ff)},Pm=e=>{try{if(Array.isArray(e))return{_tag:"Batch",executionResults:e.map(Lm)};if(Ha(e))return{_tag:"Single",executionResult:Lm(e)};throw new Error(`Invalid execution result: result is not object or array. 72Got: 73${String(e)}`)}catch(t){return t}},Lm=e=>{if(typeof e!="object"||e===null)throw new Error("Invalid execution result: result is not object");let t,n,r;if("errors"in e){if(!Ha(e.errors)&&!Array.isArray(e.errors))throw new Error("Invalid execution result: errors is not plain object OR array");t=e.errors}if("data"in e){if(!Ha(e.data)&&e.data!==null)throw new Error("Invalid execution result: data is not plain object");n=e.data}if("extensions"in e){if(!Ha(e.extensions))throw new Error("Invalid execution result: extensions is not plain object");r=e.extensions}return{data:n,errors:t,extensions:r}},iO=e=>e._tag==="Batch"?e.executionResults.some(Dm):Dm(e.executionResult),Dm=e=>Array.isArray(e.errors)?e.errors.length>0:!!e.errors,D0=e=>typeof e=="object"&&e!==null&&"kind"in e&&e.kind===oe.OPERATION_DEFINITION,oO=e=>{var r;let t;const n=e.definitions.filter(D0);return n.length===1&&(t=(r=n[0].name)==null?void 0:r.value),t},aO=e=>{let t=!1;const n=e.definitions.filter(D0);return n.length===1&&(t=n[0].operation==="mutation"),t},Jl=(e,t)=>
73{const n=typeof e=="string"?e:tO(e);let r=!1,s;if(t)return{expression:n,isMutation:r,operationName:s};const i=fA(()=>typeof e=="string"?VA(e):e);return i instanceof Error?{expression:n,isMutation:r,operationName:s}:(s=oO(i),r=aO(i),{expression:n,operationName:s,isMutation:r})},Bd=JSON,Xl=async e=>{const t={...e,method:e.request._tag==="Single"?e.request.document.isMutation?"POST":Im(e.method??"post"):e.request.hasMutations?"POST":Im(e.method??"post"),fetchOptions:{...e.fetchOptions,errorPolicy:e.fetchOptions.errorPolicy??"none"}},r=await lO(t.method)(t);if(!r.ok)return new Gs({status:r.status,headers:r.headers},{query:e.request._tag==="Single"?e.request.document.expression:e.request.query,variables:e.request.variables});const s=await cO(r,e.fetchOptions.jsonSerializer??Bd);if(s instanceof Error)throw s;const i={status:r.status,headers:r.headers};if(iO(s)&&t.fetchOptions.errorPolicy==="none"){const o=s._tag==="Batch"?{...s.executionResults,...i}:{...s.executionResult,...i};return new Gs(o,{query:e.request._tag==="Single"?e.request.document.expression:e.request.query,variables:e.request.variables})}switch(s._tag){case"Single":return{...i,...$m(t)(s.executionResult)};case"Batch":return{...i,data:s.executionResults.map($m(t))};default:Dd(s)}},$m=e=>t=>({extensions:t.extensions,data:t.data,errors:e.fetchOptions.errorPolicy==="all"?t.errors:void 0}),cO=async(e,t)=>{const n=e.headers.get(uf),r=await e.text();return n&&sO(n)?Pm(t.parse(r)):Pm(r)},lO=e=>async t=>{const n=new Headers(t.headers);let r=null,s;n.has(Mm)||n.set(Mm,[L0,ff].join(", ")),e==="POST"?(s=(t.fetchOptions.jsonSerializer??Bd).stringify(uO(t)),typeof s=="string"&&!n.has(uf)&&n.set(uf,ff)):r=fO(t);const i={method:e,headers:n,body:s,...t.fetchOptions};let o=new URL(t.url),a=i;if(t.middleware){const u=await Promise.resolve(t.middleware({...i,url:t.url,operationName:t.request._tag==="Single"?t.request.document.operationName:void 0,variables:t.request.variables})),{url:l,...f}=u;o=new URL(l),a=f}return r&&r.forEach((u,l)=>{o.searchParams.append(l,u)}),await(t.fetch??fetch)(o,a)},uO=e=>{switch(e.request._tag){case"Single":return{query:e.request.document.expression,variables:e.request.variables,operationName:e.request.document.operationName};case"Batch":return T0(e.request.query,e.request.variables??[]).map(([t,n])=>({query:t,variables:n}));default:throw Dd(e.request)}},fO=e=>{var r;const t=e.fetchOptions.jsonSerializer??Bd,n=new URLSearchParams;switch(e.request._tag){case"Single":return n.append("query",Nm(e.request.document.expression)),e.request.variables&&n.append("variables",t.stringify(e.request.variables)),e.request.document.operationName&&n.append("operationName",e.request.document.operationName),n;case"Batch":{const s=((r=e.request.variables)==null?void 0:r.map(a=>t.stringify(a)))??[],i=e.request.query.map(Nm),o=T0(i,s).map(([a,c])=>({query:a,variables:c}));return n.append("query",t.stringify(o)),n}default:throw Dd(e.request)}};class dO{constructor(t,n={}){He(this,"url");He(this,"requestConfig");He(this,"rawRequest",async(...t)=>{const[n,r,s]=t,i=hA(n,r,s),{headers:o,fetch:a=globalThis.fetch,method:c="POST",requestMiddleware:u,responseMiddleware:l,excludeOperationName:f,...d}=this.requestConfig,{url:p}=this;i.signal!==void 0&&(d.signal=i.signal);const h=Jl(i.query,f),m=await Xl({url:p,request:{_tag:"Single",document:h,variables:i.variables},headers:{...ys(Yl(o)),...ys(i.requestHeaders)},fetch:a,method:c,fetchOptions:d,middleware:u});if(l&&await l(m,{operationName:h.operationName,variables:r,url:this.url}),m instanceof Error)throw m;return m});this.url=t,this.requestConfig=n}async request(t,...n){const[r,s]=n,i=pO(t,r,s),{headers:o,fetch:a=globalThis.fetch,method:c="POST",requestMiddleware:u,responseMiddleware:l,excludeOperationName:f,...d}=this.requestConfig,{url:p}=this;i.signal!==void 0&&(d.signal=i.signal);const h=Jl(i.document,f),m=await Xl({url:p,request:{_tag:"Single",document:h,variables:i.variables},headers:{...ys(Yl(o)),...ys(i.requestHeaders)},fetch:a,method:c,fetchOptions:d,middleware:u});if(l&&await l(m,{operationName:h.operationName,variables:i.variables,url:this.url}),m instanceof Error)throw m;return m.data}async batchRequests(t,n){const r=pA(t,n),{headers:s,excludeOperationName:i,...o}=this.requestConfig;r.signal!==void 0&&(o.signal=r.signal);const a=r.documents.map(({document:d})=>Jl(d,i)),c=a.map(({expression:d})=>d),u=a.some(({isMutation:d})=>d),l=r.documents.map(({variables:d})=>d),f=await Xl({url:this.url,request:{_tag:"Batch",operationName:void 0,query:c,hasMutations:u,variables:l},headers:{...ys(Yl(s)),...ys(r.requestHeaders)},fetch:this.requestConfig.fetch??globalThis.fetch,method:this.requestConfig.method||"POST",fetchOptions:o,middleware:this.requestConfig.requestMiddleware});if(this.requestConfig.responseMiddleware&&await this.requestConfig.responseMiddleware(f,{operationName:void 0,variables:l,url:this.url}),f instanceof Error)throw f;return f.data}setHeaders(t){return this.requestConfig.headers=t,this}setHeader(t,n){const{headers:r}=this.requestConfig;return r?r[t]=n:this.requestConfig.headers={[t]:n},this}setEndpoint(t){return this.url=t,this}}
73const pO=(e,t,n)=>e.document?e:{document:e,variables:t,requestHeaders:n,signal:void 0};function hO(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},r=t||{},s=r.decode||mO;let i=0;for(;i<e.length;){const o=e.indexOf("=",i);if(o===-1)break;let a=e.indexOf(";",i);if(a===-1)a=e.length;else if(a<o){i=e.lastIndexOf(";",o-1)+1;continue}const c=e.slice(i,o).trim();if(r!=null&&r.filter&&!(r!=null&&r.filter(c))){i=a+1;continue}if(n[c]===void 0){let u=e.slice(o+1,a).trim();u.codePointAt(0)===34&&(u=u.slice(1,-1)),n[c]=gO(u,s)}i=a+1}return n}function mO(e){return e.includes("%")?decodeURIComponent(e):e}function gO(e,t){try{return t(e)}catch{return e}}const ha=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function Fm(e,t,n){const r=n||{},s=r.encode||encodeURIComponent;if(typeof s!="function")throw new TypeError("option encode is invalid");if(!ha.test(e))throw new TypeError("argument name is invalid");const i=s(t);if(i&&!ha.test(i))throw new TypeError("argument val is invalid");let o=e+"="+i;if(r.maxAge!==void 0&&r.maxAge!==null){const a=r.maxAge-0;if(Number.isNaN(a)||!Number.isFinite(a))throw new TypeError("option maxAge is invalid");o+="; Max-Age="+Math.floor(a)}if(r.domain){if(!ha.test(r.domain))throw new TypeError("option domain is invalid");o+="; Domain="+r.domain}if(r.path){if(!ha.test(r.path))throw new TypeError("option path is invalid");o+="; Path="+r.path}if(r.expires){if(!yO(r.expires)||Number.isNaN(r.expires.valueOf()))throw new TypeError("option expires is invali
73d");o+="; Expires="+r.expires.toUTCString()}if(r.httpOnly&&(o+="; HttpOnly"),r.secure&&(o+="; Secure"),r.priority)switch(typeof r.priority=="string"?r.priority.toLowerCase():r.priority){case"low":{o+="; Priority=Low";break}case"medium":{o+="; Priority=Medium";break}case"high":{o+="; Priority=High";break}default:throw new TypeError("option priority is invalid")}if(r.sameSite)switch(typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite){case!0:{o+="; SameSite=Strict";break}case"lax":{o+="; SameSite=Lax";break}case"strict":{o+="; SameSite=Strict";break}case"none":{o+="; SameSite=None";break}default:throw new TypeError("option sameSite is invalid")}return r.partitioned&&(o+="; Partitioned"),o}function yO(e){return Object.prototype.toString.call(e)==="[object Date]"||e instanceof Date}function df(e){return typeof e=="string"?`'${e}'`:new _O().serialize(e)}const _O=function(){var t;class e{constructor(){oh(this,t,new Map)}compare(r,s){const i=typeof r,o=typeof s;return i==="string"&&o==="string"?r.localeCompare(s):i==="number"&&o==="number"?r-s:String.prototype.localeCompare.call(this.serialize(r,!0),this.serialize(s,!0))}serialize(r,s){if(r===null)return"null";switch(typeof r){case"string":return s?r:`'${r}'`;case"bigint":return`${r}n`;case"object":return this.$object(r);case"function":return this.$function(r)}return String(r)}serializeObject(r){const s=Object.prototype.toString.call(r);if(s!=="[object Object]")return this.serializeBuiltInType(s.length<10?`unknown:${s}`:s.slice(8,-1),r);const i=r.constructor,o=i===Object||i===void 0?"":i.name;if(o!==""&&globalThis[o]===i)return this.serializeBuiltInType(o,r);if(typeof r.toJSON=="function"){const a=r.toJSON();return o+(a!==null&&typeof a=="object"?this.$object(a):`(${this.serialize(a)})`)}return this.serializeObjectEntries(o,Object.entries(r))}serializeBuiltInType(r,s){const i=this["$"+r];if(i)return i.call(this,s);if(typeof(s==null?void 0:s.entries)=="function")return this.serializeObjectEntries(r,s.entries());throw new Error(`Cannot serialize ${r}`)}serializeObjectEntries(r,s){const i=Array.from(s).sort((a,c)=>this.compare(a[0],c[0]));let o=`${r}{`;for(let a=0;a<i.length;a++){const[c,u]=i[a];o+=`${this.serialize(c,!0)}:${this.serialize(u)}`,a<i.length-1&&(o+=",")}return o+"}"}$object(r){let s=Pi(this,t).get(r);return s===void 0&&(Pi(this,t).set(r,`#${Pi(this,t).size}`),s=this.serializeObject(r),Pi(this,t).set(r,s)),s}$function(r){const s=Function.prototype.toString.call(r);return s.slice(-15)==="[native code] }"?`${r.name||""}()[native]`:`${r.name}(${r.length})${s.replace(/\s*\n\s*/g,"")}`}$Array(r){let s="[";for(let i=0;i<r.length;i++)s+=this.serialize(r[i]),i<r.length-1&&(s+=",");return s+"]"}$Date(r){try{return`Date(${r.toISOString()})`}catch{return"Date(null)"}}$ArrayBuffer(r){return`ArrayBuffer[${new Uint8Array(r).join(",")}]`}$Set(r){return`Set${this.$Array(Array.from(r).sort((s,i)=>this.compare(s,i)))}`}$Map(r){return this.serializeObjectEntries("Map",r.entries())}}t=new WeakMap;for(const n of["Error","RegExp","URL"])e.prototype["$"+n]=function(r){return`${n}(${r})`};for(const n of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])e.prototype["$"+n]=function(r){return`${n}[${r.join(",")}]`};for(const n of["BigInt64Array","BigUint64Array"])e.prototype["$"+n]=function(r){return`${n}[${r.join("n,")}${r.length>0?"n":""}]`};return e}();function vO(e,t){return e===t||df(e)===df(t)}const bO=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],EO=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],SO="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",Mr=[];let wO=class{constructor(){He(this,"_data",new ma);He(this,"_hash",new ma([...bO]));He(this,"_nDataBytes",0);He(this,"_minBufferSize",0)}finalize(t){t&&this._append(t);const n=this._nDataBytes*8,r=this._data.sigBytes*8;return this._data.words[r>>>5]|=128<<24-r%32,this._data.words[(r+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(r+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}_doProcessBlock(t,n){const r=this._hash.words;let s=r[0],i=r[1],o=r[2],a=r[3],c=r[4],u=r[5],l=r[6],f=r[7];for(let d=0;d<64;d++){if(d<16)Mr[d]=t[n+d]|0;else{const g=Mr[d-15],b=(g<<25|g>>>7)^(g<<14|g>>>18)^g>>>3,S=Mr[d-2],T=(S<<15|S>>>17)^(S<<13|S>>>19)^S>>>10;Mr[d]=b+Mr[d-7]+T+Mr[d-16]}const p=c&u^~c&l,h=s&i^s&o^i&o,m=(s<<30|s>>>2)^(s<<19|s>>>13)^(s<<10|s>>>22),v=(c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25),y=f+v+p+EO[d]+Mr[d],_=m+h;f=l,l=u,u=c,c=a+y|0,a=o,o=i,i=s,s=y+_|0}r[0]=r[0]+s|0,r[1]=r[1]+i|0,r[2]=r[2]+o|0,r[3]=r[3]+a|0,r[4]=r[4]+c|0,r[5]=r[5]+u|0,r[6]=r[6]+l|0,r[7]=r[7]+f|0}_append(t){typeof t=="string"&&(t=ma.fromUtf8(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_process(t){let n,r=this._data.sigBytes/64;t?r=Math.ceil(r):r=Math.max((r|0)-this._minBufferSize,0);const s=r*16,i=Math.min(s*4,this._data.sigBytes);if(s){for(let o=0;o<s;o+=16)this._doProcessBlock(this._data.words,o);n=this._data.words.splice(0,s),this._data.sigBytes-=i}return new ma(n,i)}},ma=class $0{constructor(t,n){He(this,"words");He(this,"sigBytes");t=this.words=t||[],this.sigBytes=n===void 0?t.length*4:n}static fromUtf8(t){const n=unescape(encodeURIComponent(t)),r=n.length,s=[];for(let i=0;i<r;i++)s[i>>>2]|=(n.charCodeAt(i)&255)<<24-i%4*8;return new $0(s,r)}toBase64(){const t=[];for(let n=0;n<this.sigBytes;n+=3){const r=this.words[n>>>2]>>>24-n%4*8&255,s=this.words[n+1>>>2]>>>24-(n+1)%4*8&255,i=this.words[n+2>>>2]>>>24-(n+2)%4*8&255,o=r<<16|s<<8|i;for(let a=0;a<4&&n*8+a*6<this.sigBytes*8;a++)t.push(SO.charAt(o>>>6*(3-a)&63))}return t.join("")}concat(t){if(this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4),this.sigBytes%4)for(let n=0;n<t.sigBytes;n++){const r=t.words[n>>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=r<<24-(this.sigBytes+n)%4*8}else for(let n=0;n<t.sigBytes;n+=4)this.words[this.sigBytes+n>>>2]=t.words[n>>>2];this.sigBytes+=t.sigBytes}};function TO(e){return new wO().finalize(e).toBase64()}function IO(e){return TO(df(e))}function Xt(e){if(typeof e!="object")return e;var t,n,r=Object.prototype.toString.call(e);
73if(r==="[object Object]"){if(e.constructor!==Object&&typeof e.constructor=="function"){n=new e.constructor;for(t in e)e.hasOwnProperty(t)&&n[t]!==e[t]&&(n[t]=Xt(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:Xt(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=Xt(e[t])}return n}if(r==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=Xt(e[t]);return n}return r==="[object Set]"?(n=new Set,e.forEach(function(s){n.add(Xt(s))}),n):r==="[object Map]"?(n=new Map,e.forEach(function(s,i){n.set(Xt(i),Xt(s))}),n):r==="[object Date]"?new Date(+e):r==="[object RegExp]"?(n=new RegExp(e.source,e.flags),n.lastIndex=e.lastIndex,n):r==="[object DataView]"?new e.constructor(Xt(e.buffer)):r==="[object ArrayBuffer]"?e.slice(0):r.slice(-6)==="Array]"?new e.constructor(e):e}function CO(e){return{}}const kO={path:"/",watch:!0,decode:e=>Io(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},ga=window.cookieStore;function xO(e,t){var u;const n={...kO,...t};n.filter??(n.filter=l=>l===e);const r=Bm(n)||{};let s;n.maxAge!==void 0?s=n.maxAge*1e3:n.expires&&(s=n.expires.getTime()-Date.now());const i=s!==void 0&&s<=0,o=i||r[e]===void 0||r[e]===null,a=Xt(i?void 0:r[e]??((u=n.default)==null?void 0:u.call(n))),c=s&&!i?OO(a,s,n.watch&&n.watch!=="shallow"):me(a);{let l=null;try{!ga&&typeof BroadcastChannel<"u"&&(l=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const f=(m=!1)=>{!m&&(n.readonly||vO(c.value,r[e]))||(AO(e,c.value,n),r[e]=Xt(c.value),l==null||l.postMessage({value:n.encode(c.value)}))},d=m=>{var y;const v=m.refresh?(y=Bm(n))==null?void 0:y[e]:n.decode(m.value);p=!0,c.value=v,r[e]=Xt(v),Ei(()=>{p=!1})};let p=!1;const h=!!Fo();if(h&&_o(()=>{p=!0,f(),l==null||l.close()}),ga){const m=v=>{const y=v.changed.find(g=>g.name===e),_=v.deleted.find(g=>g.name===e);y&&d({value:y.value}),_&&d({value:null})};ga.addEventListener("change",m),h&&_o(()=>ga.removeEventListener("change",m))}else l&&(l.onmessage=({data:m})=>d(m));n.watch&&Ht(c,()=>{p||f()},{deep:n.watch!=="shallow"}),o&&f(o)}return c}function Bm(e={}){return hO(document.cookie,e)}function RO(e,t,n={}){return t==null?Fm(e,t,{...n,maxAge:-1}):Fm(e,t,n)}function AO(e,t,n={}){document.cookie=RO(e,t,n)}const jm=2147483647;function OO(e,t,n){let r,s,i=0;const o=n?me(e):{value:e};return Fo()&&_o(()=>{s==null||s(),clearTimeout(r)}),p1((a,c)=>{n&&(s=Ht(o,c));function u(){i=0,clearTimeout(r);const l=t-i,f=l<jm?l:jm;r=setTimeout(()=>{if(i+=f,i<t)return u();o.value=void 0,c()},f)}return{get(){return a(),o.value},set(l){u(),o.value=l,c()}}})}const MO=wt(()=>{var t;const e=Ye();if(!(e!=null&&e._gqlState)){e._gqlState=me({});const n=os(),{clients:r}=(t=n==null?void 0:n.public)==null?void 0:t["graphql-client"],s=Object.values(r||{}).flatMap(i=>i==null?void 0:i.proxyHeaders).filter((i,o,a)=>!!i&&a.indexOf(i)===o);s.includes("cookie")||s.push("cookie");for(const[i,o]of Object.entries(r||{})){const a=(o==null?void 0:o.clientHost)||o.host,c=(o==null?void 0:o.proxyCookies)&&!1;let u=o==null?void 0:o.headers;const l={};u!=null&&u.serverOnly&&(u={...u},delete u.serverOnly);for(const d of(o==null?void 0:o.proxyHeaders)||[]);const f={headers:{...u,...l,...c},...o==null?void 0:o.corsOptions,...o==null?void 0:o.fetchOptions};e._gqlState.value[i]={options:f,instance:new dO(a,{...(o==null?void 0:o.preferGETQueries)&&{method:"GET",jsonSerializer:{parse:JSON.parse,stringify:JSON.stringify}},requestMiddleware:async d=>{var m,v,y,_,g,b,S,T,C,M,x,k,B,A,U,X,re;const p=me();await e.callHook("gql:auth:init",{token:p,client:i});const h=pc(((v=(m=e._gqlState.value)==null?void 0:m[i])==null?void 0:v.options)||{},{headers:{}});if(p.value||(p.value=(y=h==null?void 0:h.token)==null?void 0:y.value),p.value===void 0&&typeof o.tokenStorage=="object"){if(((_=o.tokenStorage)==null?void 0:_.mode)==="cookie")p.value=xO(o.tokenStorage.name).value||void 0;else if(((g=o.tokenStorage)==null?void 0:g.mode)==="localStorage"){const $=localStorage.getItem(o.tokenStorage.name);$&&(p.value=$)}}if(p.value===void 0&&(p.value=(b=o==null?void 0:o.token)==null?void 0:b.value),p.value){p.value=p.value.trim();
73const $=p.value===((S=h==null?void 0:h.token)==null?void 0:S.value)?((T=h==null?void 0:h.token)==null?void 0:T.name)||((C=o==null?void 0:o.token)==null?void 0:C.name):(M=o==null?void 0:o.token)==null?void 0:M.name,Y=p.value===((x=h==null?void 0:h.token)==null?void 0:x.value)?((k=h==null?void 0:h.token)==null?void 0:k.type)===null?null:((B=h==null?void 0:h.token)==null?void 0:B.type)||((A=o==null?void 0:o.token)==null?void 0:A.type):(U=o==null?void 0:o.token)==null?void 0:U.type;!!((re=(X=p.value)==null?void 0:X.match(/^[a-z]+\s/i))!=null&&re[0])?h.headers[$]=p.value:h.headers[$]=Y?`${Y} ${p.value}`:p.value}return h!=null&&h.token&&delete h.token,pc(h,d,{headers:{"Content-Type":"application/json",Accept:"application/graphql-response+json, application/json"}})},...o==null?void 0:o.fetchOptions})}}}}),F0=Object.prototype.toString;function Ys(e){switch(F0.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return Gn(e,Error)}}function Ci(e,t){return F0.call(e)===`[object ${t}]`}function jd(e){return Ci(e,"ErrorEvent")}function Hm(e){return Ci(e,"DOMError")}function NO(e){return Ci(e,"DOMException")}function Tn(e){return Ci(e,"String")}function Hd(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function Ud(e){return e===null||Hd(e)||typeof e!="object"&&typeof e!="function"}function Xr(e){return Ci(e,"Object")}function nl(e){return typeof Event<"u"&&Gn(e,Event)}function PO(e){return typeof Element<"u"&&Gn(e,Element)}function LO(e){return Ci(e,"RegExp")}function Uo(e){return!!(e&&e.then&&typeof e.then=="function")}function DO(e){return Xr(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function B0(e){return typeof e=="number"&&e!==e}function Gn(e,t){try{return e instanceof t}catch{return!1}}function j0(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue))}function Ks(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function Ql(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 i=Math.min(s+140,r);return i>r-5&&(i=r),i===r&&(s=Math.max(i-140,0)),n=n.slice(s,i),s>0&&(n=`'{snip} ${n}`),i<r&&(n+=" {snip}"),n}function mc(e,t){if(!Array.isArray(e))return"";const n=[];for(let r=0;r<e.length;r++){const s=e[r];try{j0(s)?n.push("[VueViewModel]"):n.push(String(s))}catch{n.push("[value cannot be serialized]")}}return n.join(t)}function $O(e,t,n=!1){return Tn(e)?LO(t)?t.test(e):Tn(t)?n?e===t:e.includes(t):!1:!1}function ki(e,t=[],n=!1){return t.some(r=>$O(e,r,n))}function H0(e,t,n=250,r,s,i,o){if(!i.exception||!i.exception.values||!o||!Gn(o.originalException,Error))return;const a=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;a&&(i.exception.values=FO(pf(e,t,s,o.originalException,r,i.exception.values,a,0),n))}function pf(e,t,n,r,s,i,o,a){if(i.length>=n+1)return i;let c=[...i];if(Gn(r[s],Error)){Um(o,a);const u=e(t,r[s]),l=c.length;qm(u,s,l,a),c=pf(e,t,n,r[s],s,[u,...c],u,l)}return Array.isArray(r.errors)&&r.errors.forEach((u,l)=>{if(Gn(u,Error)){Um(o,a);const f=e(t,u),d=c.length;qm(f,`errors[${l}]`,d,a),c=pf(e,t,n,u,s,[f,...c],f,d)}}),c}function Um(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 qm(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 FO(e,t){return e.map(n=>(n.value&&(n.value=Ks(n.value,t)),n))}function ya(e){return e&&e.Math==Math?e:void 0}const ue=typeof globalThis=="object"&&ya(globalThis)||typeof window=="object"&&ya(window)||typeof self=="object"&&ya(self)||typeof global=="object"&&ya(global)||function(){return this}()||{};function qd(){return ue}function U0(e,t,n){const r=n||ue,s=r.__SENTRY__=r.__SENTRY__||{};return s[e]||(s[e]=t())}const Js=qd(),BO=80;function Er(e,t={}){if(!e)return"<unknown>";try{let n=e;const r=5,s=[];let i=0,o=0;const a=" > ",c=a.length;let u;const l=Array.isArray(t)?t:t.keyAttrs,f=!Array.isArray(t)&&t.maxStringLength||BO;for(;n&&i++<r&&(u=jO(n,l),!(u==="html"||i>1&&o+s.length*c+u.length>=f));)s.push(u),o+=u.length,n=n.parentNode;return s.reverse().join(a)}catch{return"<unknown>"}}function jO(e,t){const n=e,r=[];let s,i,o,a,c;if(!n||!n.tagName)return"";if(Js.HTMLElement&&n instanceof HTMLElement&&n.dataset&&n.dataset.sentryComponent)return n.dataset.sentryComponent;r.push(n.tagName.toLowerCase());const u=t&&t.length?t.filter(f=>n.getAttribute(f)).map(f=>[f,n.getAttribute(f)]):null;if(u&&u.length)u.forEach(f=>{r.push(`[${f[0]}="${f[1]}"]`)});else if(n.id&&r.push(`#${n.id}`),s=n.className,s&&Tn(s))for(i=s.split(/\s+/),c=0;c<i.length;c++)r.push(`.${i[c]}`);const l=["aria-label","type","name","title","alt"];for(c=0;c<l.length;c++)o=l[c],a=n.getAttribute(o),a&&r.push(`[${o}="${a}"]`);return r.join("")}function q0(){try{return Js.document.location.href}catch{return""}}function W0(e){return Js.document&&Js.document.querySelector?Js.document.querySelector(e):null}function z0(e){if(!Js.HTMLElement)return null;let t=e;const n=5;for(let r=0;r<n;r++){if(!t)return null;if(t instanceof HTMLElement&&t.dataset.sentryComponent)return t.dataset.sentryComponent;t=t.parentNode}return null}const xi=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,HO="Sentry Logger ",gc=["debug","info","warn","error","log","assert","trace"],yc={};function ln(e){if(!("console"in ue))return e();const t=ue.console,n={},r=Object.keys(yc);r.forEach(s=>{const i=yc[s];n[s]=t[s],t[s]=i});try{return e()}finally{r.forEach(s=>{t[s]=n[s]})}}function UO(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};
73return xi?gc.forEach(n=>{t[n]=(...r)=>{e&&ln(()=>{ue.console[n](`${HO}[${n}]:`,...r)})}}):gc.forEach(n=>{t[n]=()=>{}}),t}const I=UO(),qO=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function WO(e){return e==="http"||e==="https"}function as(e,t=!1){const{host:n,path:r,pass:s,port:i,projectId:o,protocol:a,publicKey:c}=e;return`${a}://${c}${t&&s?`:${s}`:""}@${n}${i?`:${i}`:""}/${r&&`${r}/`}${o}`}function V0(e){const t=qO.exec(e);if(!t){ln(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}const[n,r,s="",i,o="",a]=t.slice(1);let c="",u=a;const l=u.split("/");if(l.length>1&&(c=l.slice(0,-1).join("/"),u=l.pop()),u){const f=u.match(/^\d+/);f&&(u=f[0])}return G0({host:i,pass:s,path:c,projectId:u,port:o,protocol:n,publicKey:r})}function G0(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function zO(e){if(!xi)return!0;const{port:t,projectId:n,protocol:r}=e;return["protocol","publicKey","host","projectId"].find(o=>e[o]?!1:(I.error(`Invalid Sentry Dsn: ${o} missing`),!0))?!1:n.match(/^\d+$/)?WO(r)?t&&isNaN(parseInt(t,10))?(I.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(I.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(I.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function Y0(e){const t=typeof e=="string"?V0(e):G0(e);if(!(!t||!zO(t)))return t}class vn 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}}function at(e,t,n){if(!(t in e))return;const r=e[t],s=n(r);typeof s=="function"&&K0(s,r),e[t]=s}function Sr(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{xi&&I.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function K0(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,Sr(e,"__sentry_original__",t)}catch{}}function Wd(e){return e.__sentry_original__}function VO(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function J0(e){if(Ys(e))return{message:e.message,name:e.name,stack:e.stack,...zm(e)};if(nl(e)){const t={type:e.type,target:Wm(e.target),currentTarget:Wm(e.currentTarget),...zm(e)};return typeof CustomEvent<"u"&&Gn(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function Wm(e){try{return PO(e)?Er(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function zm(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 GO(e,t=40){const n=Object.keys(J0(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return Ks(n[0],t);for(let r=n.length;r>0;r--){const s=n.slice(0,r).join(", ");if(!(s.length>t))return r===n.length?s:Ks(s,t)}return""}function ct(e){return hf(e,new Map)}function hf(e,t){if(YO(e)){const n=t.get(e);if(n!==void 0)return n;const r={};t.set(e,r);for(const s of Object.keys(e))typeof e[s]<"u"&&(r[s]=hf(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(hf(s,t))}),r}return e}function YO(e){if(!Xr(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||t==="Object"}catch{return!0}}const X0=50,Vm=/\(error: (.*)\)/,Gm=/captureMessage|captureException/;function Q0(...e){const t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0)=>{const s=[],i=n.split(` 74`);for(let o=r;o<i.length;o++){const a=i[o];if(a.length>1024)continue;const c=Vm.test(a)?a.replace(Vm,"$1"):a;if(!c.match(/\S*Error: /)){for(const u of t){const l=u(c);if(l){s.push(l);break}}if(s.length>=X0)break}}return JO(s)}}function KO(e){return Array.isArray(e)?Q0(...e):e}function JO(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(t[t.length-1].function||"")&&t.pop(),t.reverse(),Gm.test(t[t.length-1].function||"")&&(t.pop(),Gm.test(t[t.length-1].function||"")&&t.pop()),t.slice(0,X0).map(n=>({...n,filename:n.filename||t[t.length-1].filename,function:n.function||"?"}))}const Zl="<anonymous>";function Yn(e){try{return!e||typeof e!="function"?Zl:e.name||Zl}catch{return Zl}}const Wa={},Ym={};function cs(e,t){Wa[e]=Wa[e]||[],Wa[e].push(t)}function ls(e,t){Ym[e]||(t(),Ym[e]=!0)}function on(e,t){const n=e&&Wa[e];if(n)for(const r of n)try{r(t)}catch(s){xi&&I.error(`Error while triggering instrumentation handler. 75Type: ${e} 76Name: ${Yn(r)} 77Error:`,s)}}function Z0(e){const t="console";cs(t,e),ls(t,XO)}
77function XO(){"console"in ue&&gc.forEach(function(e){e in ue.console&&at(ue.console,e,function(t){return yc[e]=t,function(...n){on("console",{args:n,level:e});const s=yc[e];s&&s.apply(ue.console,n)}})})}function Ie(){const e=ue,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 eb(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function pr(e){const{message:t,event_id:n}=e;if(t)return t;const r=eb(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function mf(e,t,n){const r=e.exception=e.exception||{},s=r.values=r.values||[],i=s[0]=s[0]||{};i.value||(i.value=t||""),i.type||(i.type="Error")}function Qr(e,t){const n=eb(e);if(!n)return;const r={type:"generic",handled:!0},s=n.mechanism;if(n.mechanism={...r,...s,...t},t&&"data"in t){const i={...s&&s.data,...t.data};n.mechanism.data=i}}function QO(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=>Ql(i,0)),t.context_line=Ql(e[Math.min(r-1,s)],t.colno||0),t.post_context=e.slice(Math.min(s+1,r),s+1+n).map(i=>Ql(i,0))}function Km(e){if(e&&e.__sentry_captured__)return!0;try{Sr(e,"__sentry_captured__",!0)}catch{}return!1}function zd(e){return Array.isArray(e)?e:[e]}const Cs=ue,ZO=1e3;let Jm,gf,yf;function tb(e){cs("dom",e),ls("dom",eM)}function eM(){if(!Cs.document)return;const e=on.bind(null,"dom"),t=Xm(e,!0);Cs.document.addEventListener("click",t,!1),Cs.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{const r=Cs[n]&&Cs[n].prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(at(r,"addEventListener",function(s){return function(i,o,a){if(i==="click"||i=="keypress")try{const c=this,u=c.__sentry_instrumentation_handlers__=c.__sentry_instrumentation_handlers__||{},l=u[i]=u[i]||{refCount:0};if(!l.handler){const f=Xm(e);l.handler=f,s.call(this,i,f,a)}l.refCount++}catch{}return s.call(this,i,o,a)}}),at(r,"removeEventListener",function(s){return function(i,o,a){if(i==="click"||i=="keypress")try{const c=this,u=c.__sentry_instrumentation_handlers__||{},l=u[i];l&&(l.refCount--,l.refCount<=0&&(s.call(this,i,l.handler,a),l.handler=void 0,delete u[i]),Object.keys(u).length===0&&delete c.__sentry_instrumentation_handlers__)}catch{}return s.call(this,i,o,a)}}))})}function tM(e){if(e.type!==gf)return!1;try{if(!e.target||e.target._sentryId!==yf)return!1}catch{}return!0}function nM(e,t){return e!=="keypress"?!1:!t||!t.tagName?!0:!(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable)}function Xm(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=rM(n);if(nM(n.type,r))return;Sr(n,"_sentryCaptured",!0),r&&!r._sentryId&&Sr(r,"_sentryId",Ie());
77const s=n.type==="keypress"?"input":n.type;tM(n)||(e({event:n,name:s,global:t}),gf=n.type,yf=r?r._sentryId:void 0),clearTimeout(Jm),Jm=Cs.setTimeout(()=>{yf=void 0,gf=void 0},ZO)}}function rM(e){try{return e.target}catch{return null}}const _c=qd();function nb(){if(!("fetch"in _c))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function _f(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function rb(){if(typeof EdgeRuntime=="string")return!0;if(!nb())return!1;if(_f(_c.fetch))return!0;let e=!1;const t=_c.document;if(t&&typeof t.createElement=="function")try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=_f(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){xi&&I.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}function sM(){return"ReportingObserver"in _c}function rl(e){const t="fetch";cs(t,e),ls(t,iM)}function iM(){rb()&&at(ue,"fetch",function(e){return function(...t){const{method:n,url:r}=oM(t),s={args:t,fetchData:{method:n,url:r},startTimestamp:Date.now()};return on("fetch",{...s}),e.apply(ue,t).then(i=>{const o={...s,endTimestamp:Date.now(),response:i};return on("fetch",o),i},i=>{const o={...s,endTimestamp:Date.now(),error:i};throw on("fetch",o),i})}})}function vf(e,t){return!!e&&typeof e=="object"&&!!e[t]}function Qm(e){return typeof e=="string"?e:e?vf(e,"url")?e.url:e.toString?e.toString():"":""}function oM(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[n,r]=e;return{url:Qm(n),method:vf(r,"method")?String(r.method).toUpperCase():"GET"}}const t=e[0];return{url:Qm(t),method:vf(t,"method")?String(t.method).toUpperCase():"GET"}}let _a=null;function sb(e){const t="error";cs(t,e),ls(t,aM)}function aM(){_a=ue.onerror,ue.onerror=function(e,t,n,r,s){return on("error",{column:r,error:s,line:n,msg:e,url:t}),_a&&!_a.__SENTRY_LOADER__?_a.apply(this,arguments):!1},ue.onerror.__SENTRY_INSTRUMENTED__=!0}let va=null;function ib(e){const t="unhandledrejection";cs(t,e),ls(t,cM)}function cM(){va=ue.onunhandledrejection,ue.onunhandledrejection=function(e){return on("unhandledrejection",e),va&&!va.__SENTRY_LOADER__?va.apply(this,arguments):!0},ue.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const ba=qd();function lM(){const e=ba.chrome,t=e&&e.app&&e.app.runtime,n="history"in ba&&!!ba.history.pushState&&!!ba.history.replaceState;return!t&&n}const ji=ue;let Ea;function qo(e){const t="history";cs(t,e),ls(t,uM)}function uM(){if(!lM())return;const e=ji.onpopstate;ji.onpopstate=function(...n){const r=ji.location.href,s=Ea;if(Ea=r,on("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 i=Ea,o=String(s);Ea=o,on("history",{from:i,to:o})}return n.apply(this,r)}}at(ji.history,"pushState",t),at(ji.history,"replaceState",t)}const fM=ue,Bn="__sentry_xhr_v3__";function sl(e){cs("xhr",e),ls("xhr",dM)}function dM(){if(!fM.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;at(e,"open",function(t){return function(...n){const r=Date.now(),s=Tn(n[0])?n[0].toUpperCase():void 0,i=pM(n[1]);if(!s||!i)return t.apply(this,n);this[Bn]={method:s,url:i,request_headers:{}},s==="POST"&&i.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const o=()=>{const a=this[Bn];if(a&&this.readyState===4){try{a.status_code=this.status}catch{}const c={args:[s,i],endTimestamp:Date.now(),startTimestamp:r,xhr:this};on("xhr",c)}};return"onreadystatechange"in this&&typeof this.onreadystatechange=="function"?at(this,"onreadystatechange",function(a){return function(...c){return o(),a.apply(this,c)}}):this.addEventListener("readystatechange",o),at(this,"setRequestHeader",function(a){return function(...c){const[u,l]=c,f=this[Bn];return f&&Tn(u)&&Tn(l)&&(f.request_headers[u.toLowerCase()]=l),a.apply(this,c)}}),t.apply(this,n)}}),at(e,"send",function(t){return function(...n){const r=this[Bn];if(!r)return t.apply(this,n);n[0]!==void 0&&(r.body=n[0]);const s={args:[r.method,r.url],startTimestamp:Date.now(),xhr:this};return on("xhr",s),t.apply(this,n)}})}function pM(e){if(Tn(e))return e;try{return e.toString()}catch{}}function hM(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function mM(){return"npm"}function gM(){return!hM()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function bf(){return typeof window<"u"&&(!gM()||yM())}function yM(){return ue.process!==void 0&&ue.process.type==="renderer"}function _M(){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 i=0;i<t.length;i++)if(t[i]===s)return!0;return t.push(s),!1}function r(s){if(e)t.delete(s);else for(let i=0;i<t.length;i++)if(t[i]===s){t.splice(i,1);break}}return[n,r]}function Qt(e,t=100,n=1/0){try{return Ef("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}
77function ob(e,t=3,n=100*1024){const r=Qt(e,t);return SM(r)>n?ob(e,t-1,n):r}function Ef(e,t,n=1/0,r=1/0,s=_M()){const[i,o]=s;if(t==null||["number","boolean","string"].includes(typeof t)&&!B0(t))return t;const a=vM(e,t);if(!a.startsWith("[object "))return a;if(t.__sentry_skip_normalization__)return t;const c=typeof t.__sentry_override_normalization_depth__=="number"?t.__sentry_override_normalization_depth__:n;if(c===0)return a.replace("object ","");if(i(t))return"[Circular ~]";const u=t;if(u&&typeof u.toJSON=="function")try{const p=u.toJSON();return Ef("",p,c-1,r,s)}catch{}const l=Array.isArray(t)?[]:{};let f=0;const d=J0(t);for(const p in d){if(!Object.prototype.hasOwnProperty.call(d,p))continue;if(f>=r){l[p]="[MaxProperties ~]";break}const h=d[p];l[p]=Ef(p,h,c-1,r,s),f++}return o(t),l}function vM(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(j0(t))return"[VueViewModel]";if(DO(t))return"[SyntheticEvent]";if(typeof t=="number"&&t!==t)return"[NaN]";if(typeof t=="function")return`[Function: ${Yn(t)}]`;if(typeof t=="symbol")return`[${String(t)}]`;if(typeof t=="bigint")return`[BigInt: ${String(t)}]`;const n=bM(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}function bM(e){const t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}function EM(e){return~-encodeURI(e).split(/%..|./).length}function SM(e){return EM(JSON.stringify(e))}function wM(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 TM=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function IM(e){const t=e.length>1024?`<truncated>${e.slice(-1024)}`:e,n=TM.exec(t);return n?n.slice(1):[]}function Zm(...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=wM(t.split("/").filter(r=>!!r),!n).join("/"),(n?"/":"")+t||"."}function eg(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 CM(e,t){e=Zm(e).slice(1),t=Zm(t).slice(1);const n=eg(e.split("/")),r=eg(t.split("/")),s=Math.min(n.length,r.length);let i=s;for(let a=0;a<s;a++)if(n[a]!==r[a]){i=a;break}let o=[];for(let a=i;a<n.length;a++)o.push("..");return o=o.concat(r.slice(i)),o.join("/")}function kM(e,t){return IM(e)[2]}var Pn;(function(e){e[e.PENDING=0]="PENDING";const n=1;e[e.RESOLVED=n]="RESOLVED";const r=2;e[e.REJECTED=r]="REJECTED"})(Pn||(Pn={}));function ai(e){return new Bt(t=>{t(e)})}function Vd(e){return new Bt((t,n)=>{n(e)})}class Bt{constructor(t){Bt.prototype.__init.call(this),Bt.prototype.__init2.call(this),Bt.prototype.__init3.call(this),Bt.prototype.__init4.call(this),this._state=Pn.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}then(t,n){return new Bt((r,s)=>{this._handlers.push([!1,i=>{if(!t)r(i);else try{r(t(i))}catch(o){s(o)}},i=>{if(!n)s(i);else try{r(n(i))}catch(o){s(o)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new Bt((n,r)=>{let s,i;return this.then(o=>{i=!1,s=o,t&&t()},o=>{i=!0,s=o,t&&t()}).then(()=>{if(i){r(s);return}n(s)})})}__init(){this._resolve=t=>{this._setResult(Pn.RESOLVED,t)}}__init2(){this._reject=t=>{this._setResult(Pn.REJECTED,t)}}__init3(){this._setResult=(t,n)=>{if(this._state===Pn.PENDING){if(Uo(n)){n.then(this._resolve,this._reject);return}this._state=t,this._value=n,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===Pn.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===Pn.RESOLVED&&n[1](this._value),this._state===Pn.REJECTED&&n[2](this._value),n[0]=!0)})}}}function xM(e){const t=[];function n(){return e===void 0||t.length<e}function r(o){return t.splice(t.indexOf(o),1)[0]}function s(o){if(!n())return Vd(new vn("Not adding Promise because buffer limit was reached."));const a=o();return t.indexOf(a)===-1&&t.push(a),a.then(()=>r(a)).then(null,()=>r(a).then(null,()=>{})),a}function i(o){return new Bt((a,c)=>{let u=t.length;if(!u)return a(!0);const l=setTimeout(()=>{o&&o>0&&a(!1)},o);t.forEach(f=>{ai(f).then(()=>{--u||(clearTimeout(l),a(!0))},c)})})}return{$:t,add:s,drain:i}}function Vr(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}}
77function RM(e){return e.split(/[\?#]/,1)[0]}const AM=["fatal","error","warning","log","info","debug"];function ab(e){return e==="warn"?"warning":AM.includes(e)?e:"log"}const cb=1e3;function Wo(){return Date.now()/cb}function OM(){const{performance:e}=ue;if(!e||!e.now)return Wo;const t=Date.now()-e.now(),n=e.timeOrigin==null?t:e.timeOrigin;return()=>(n+e.now())/cb}const Tr=OM(),_t=(()=>{const{performance:e}=ue;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,i=s<t,o=e.timing&&e.timing.navigationStart,c=typeof o=="number"?Math.abs(o+n-r):t,u=c<t;return i||u?s<=c?e.timeOrigin:o:r})(),Sf="baggage",lb="sentry-",MM=/^sentry-/,NM=8192;function ub(e){if(!Tn(e)&&!Array.isArray(e))return;let t={};if(Array.isArray(e))t=e.reduce((r,s)=>{const i=tg(s);for(const o of Object.keys(i))r[o]=i[o];return r},{});else{if(!e)return;t=tg(e)}const n=Object.entries(t).reduce((r,[s,i])=>{if(s.match(MM)){const o=s.slice(lb.length);r[o]=i}return r},{});if(Object.keys(n).length>0)return n}function fb(e){if(!e)return;const t=Object.entries(e).reduce((n,[r,s])=>(s&&(n[`${lb}${r}`]=s),n),{});return PM(t)}function tg(e){return e.split(",").map(t=>t.split("=").map(n=>decodeURIComponent(n.trim()))).reduce((t,[n,r])=>(t[n]=r,t),{})}function PM(e){if(Object.keys(e).length!==0)return Object.entries(e).reduce((t,[n,r],s)=>{const i=`${encodeURIComponent(n)}=${encodeURIComponent(r)}`,o=s===0?i:`${t},${i}`;return o.length>NM?(xi&&I.warn(`Not adding key: ${n} with val: ${r} to baggage header due to exceeding baggage size limits.`),t):o},"")}const LM=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function Gd(e){if(!e)return;const t=e.match(LM);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 DM(e,t){const n=Gd(e),r=ub(t),{traceId:s,parentSpanId:i,parentSampled:o}=n||{};return n?{traceparentData:n,dynamicSamplingContext:r||{},propagationContext:{traceId:s||Ie(),parentSpanId:i||Ie().substring(16),spanId:Ie().substring(16),sampled:o,dsc:r||{}}}:{traceparentData:n,dynamicSamplingContext:void 0,propagationContext:{traceId:s||Ie(),spanId:Ie().substring(16)}}}function db(e,t){const n=Gd(e),r=ub(t),{traceId:s,parentSpanId:i,parentSampled:o}=n||{};return n?{traceId:s||Ie(),parentSpanId:i||Ie().substring(16),spanId:Ie().substring(16),sampled:o,dsc:r||{}}:{traceId:s||Ie(),spanId:Ie().substring(16)}}function Yd(e=Ie(),t=Ie().substring(16),n){let r="";return n!==void 0&&(r=n?"-1":"-0"),`${e}-${t}${r}`}function Zn(e,t=[]){return[e,t]}function $M(e,t){const[n,r]=e;return[n,[...r,t]]}function ci(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 FM(e,t){return ci(e,(n,r)=>t.includes(r))}function wf(e,t){return(t||new TextEncoder).encode(e)}function pb(e,t){const[n,r]=e;let s=JSON.stringify(n);function i(o){typeof s=="string"?s=typeof o=="string"?s+o:[wf(s,t),o]:s.push(typeof o=="string"?wf(o,t):o)}for(const o of r){const[a,c]=o;if(i(` 78${JSON.stringify(a)} 79`),typeof c=="string"||c instanceof Uint8Array)i(c);else{let u;try{u=JSON.stringify(c)}catch{u=JSON.stringify(Qt(c))}i(u)}}return typeof s=="string"?s:BM(s)}function BM(e){const t=e.reduce((s,i)=>s+i.length,0),n=new Uint8Array(t);let r=0;for(const s of e)n.set(s,r),r+=s.length;return n}function jM(e,t,n){let r=typeof e=="string"?t.encode(e):e;function s(c){const u=r.subarray(0,c);return r=r.subarray(c+1),u}function i(){let c=r.indexOf(10);return c<0&&(c=r.length),JSON.parse(n.decode(s(c)))}const o=i(),a=[];for(;r.length;){const c=i(),u=typeof c.length=="number"?c.length:void 0;a.push([c,u?s(u):i()])}return[o,a]}function HM(e,t){const n=typeof e.data=="string"?wf(e.data,t):e.data;return[ct({type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),n]}const UM={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function ng(e){return UM[e]}function Kd(e){if(!e||!e.sdk)return;
79const{name:t,version:n}=e.sdk;return{name:t,version:n}}function hb(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:as(r)},...s&&{trace:ct({...s})}}}function qM(e,t,n){const r=[{type:"client_report"},{timestamp:Wo(),discarded_events:e}];return Zn(t?{dsn:t}:{},[r])}const WM=60*1e3;function mb(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;const r=Date.parse(`${e}`);return isNaN(r)?WM:r-t}function zM(e,t){return e[t]||e.all||0}function gb(e,t,n=Date.now()){return zM(e,t)>n}function yb(e,{statusCode:t,headers:n},r=Date.now()){const s={...e},i=n&&n["x-sentry-rate-limits"],o=n&&n["retry-after"];if(i)for(const a of i.trim().split(",")){const[c,u,,,l]=a.split(":",5),f=parseInt(c,10),d=(isNaN(f)?60:f)*1e3;if(!u)s.all=r+d;else for(const p of u.split(";"))p==="metric_bucket"?(!l||l.split(";").includes("custom"))&&(s[p]=r+d):s[p]=r+d}else o?s.all=r+mb(o,r):t===429&&(s.all=r+60*1e3);return s}function VM(e,t){return e(t.stack||"",1)}function GM(e,t){const n={type:t.name||t.constructor.name,value:t.message},r=VM(e,t);return r.length&&(n.stacktrace={frames:r}),n}function YM(e,t){return e??t()}function za(e){let t,n=e[0],r=1;for(;r<e.length;){const s=e[r],i=e[r+1];if(r+=2,(s==="optionalAccess"||s==="optionalCall")&&n==null)return;s==="access"||s==="optionalAccess"?(t=n,n=i(n)):(s==="call"||s==="optionalCall")&&(n=i((...o)=>n.call(t,...o)),t=void 0)}return n}const Z=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,zo="production";function Jd(){return U0("globalEventProcessors",()=>[])}function _b(e){Jd().push(e)}function vc(e,t,n,r=0){return new Bt((s,i)=>{const o=e[r];if(t===null||typeof o!="function")s(t);else{const a=o({...t},n);Z&&o.id&&a===null&&I.log(`Event processor "${o.id}" dropped event`),Uo(a)?a.then(c=>vc(e,c,n,r+1).then(s)).then(null,i):vc(e,a,n,r+1).then(s).then(null,i)}})}function vb(e){const t=Tr(),n={sid:Ie(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>KM(n)};return e&&Zr(n,e),n}function Zr(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||Tr(),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:Ie()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{const n=e.timestamp-e.started;e.duration=n>=0?n:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function bb(e,t){let n={};e.status==="ok"&&(n={status:"exited"}),Zr(e,n)}function KM(e){return ct({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}})}const JM=0,Eb=1;function Xd(e){const{spanId:t,traceId:n}=e.spanContext(),{data:r,op:s,parent_span_id:i,status:o,tags:a,origin:c}=Ce(e);return ct({data:r,op:s,parent_span_id:i,span_id:t,status:o,tags:a,trace_id:n,origin:c})}function il(e){const{traceId:t,spanId:n}=e.spanContext(),r=Qd(e);return Yd(t,n,r)}function ol(e){return typeof e=="number"?rg(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?rg(e.getTime()):Tr()}function rg(e){return e>9999999999?e/1e3:e}function Ce(e){return XM(e)?e.getSpanJSON():typeof e.toJSON=="function"?e.toJSON():{}}function XM(e){return typeof e.getSpanJSON=="function"}function Qd(e){const{traceFlags:t}=e.spanContext();return!!(t&Eb)}function Zd(e,t,n,r,s,i){const{normalizeDepth:o=3,normalizeMaxBreadth:a=1e3}=e,c={...t,event_id:t.event_id||n.event_id||Ie(),timestamp:t.timestamp||Wo()},u=n.integrations||e.integrations.map(v=>
79v.name);QM(c,e),tN(c,u),t.type===void 0&&ZM(c,e.stackParser);const l=rN(r,n.captureContext);n.mechanism&&Qr(c,n.mechanism);const f=s&&s.getEventProcessors?s.getEventProcessors():[],d=CN().getScopeData();if(i){const v=i.getScopeData();ig(d,v)}if(l){const v=l.getScopeData();ig(d,v)}const p=[...n.attachments||[],...d.attachments];p.length&&(n.attachments=p),Ib(c,d);const h=[...f,...Jd(),...d.eventProcessors];return vc(h,c,n).then(v=>(v&&eN(v),typeof o=="number"&&o>0?nN(v,o,a):v))}function QM(e,t){const{environment:n,release:r,dist:s,maxValueLength:i=250}=t;"environment"in e||(e.environment="environment"in t?n:zo),e.release===void 0&&r!==void 0&&(e.release=r),e.dist===void 0&&s!==void 0&&(e.dist=s),e.message&&(e.message=Ks(e.message,i));const o=e.exception&&e.exception.values&&e.exception.values[0];o&&o.value&&(o.value=Ks(o.value,i));const a=e.request;a&&a.url&&(a.url=Ks(a.url,i))}const sg=new WeakMap;function ZM(e,t){const n=ue._sentryDebugIds;if(!n)return;let r;const s=sg.get(t);s?r=s:(r=new Map,sg.set(t,r));const i=Object.keys(n).reduce((o,a)=>{let c;const u=r.get(a);u?c=u:(c=t(a),r.set(a,c));for(let l=c.length-1;l>=0;l--){const f=c[l];if(f.filename){o[f.filename]=n[a];break}}return o},{});try{e.exception.values.forEach(o=>{o.stacktrace.frames.forEach(a=>{a.filename&&(a.debug_id=i[a.filename])})})}catch{}}function eN(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.keys(t).forEach(r=>{n.push({type:"sourcemap",code_file:r,debug_id:t[r]})})}function tN(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function nN(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(s=>({...s,...s.data&&{data:Qt(s.data,t,n)}}))},...e.user&&{user:Qt(e.user,t,n)},...e.contexts&&{contexts:Qt(e.contexts,t,n)},...e.extra&&{extra:Qt(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=Qt(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(s=>{const i=Ce(s).data;return i&&(s.data=Qt(i,t,n)),s})),r}function rN(e,t){if(!t)return e;const n=e?e.clone():new In;return n.update(t),n}function sN(e){if(e)return iN(e)?{captureContext:e}:aN(e)?{captureContext:e}:e}function iN(e){return e instanceof In||typeof e=="function"}const oN=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function aN(e){return Object.keys(e).some(t=>oN.includes(t))}function us(e,t){return ke().captureException(e,sN(t))}function bc(e,t){const n=typeof t=="string"?t:void 0,r=typeof t!="string"?{captureContext:t}:void 0;return ke().captureMessage(e,n,r)}function Vo(e,t){return ke().captureEvent(e,t)}function cN(e){ke().configureScope(e)}function Kn(e,t){ke().addBreadcrumb(e,t)}function Sb(e,t){ke().setContext(e,t)}function lN(e){ke().setExtras(e)}function uN(e,t){ke().setExtra(e,t)}function fN(e){ke().setTags(e)}function wb(e,t){ke().setTag(e,t)}function dN(e){ke().setUser(e)}function Ir(...e){const t=ke();if(e.length===2){const[n,r]=e;return n?t.withScope(()=>(t.getStackTop().scope=n,r(n))):t.withScope(r)}return t.withScope(e[0])}function pN(e){return cl(()=>e(xn()))}function hN(e,t){return Ir(n=>(n.setSpan(e),t(n)))}function mN(e,t){return ke().startTransaction({...e},t)}async function gN(e){const t=ce();return t?t.flush(e):(Z&&I.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}async function yN(e){const t=ce();return t?t.close(e):(Z&&I.warn("Cannot flush events and disable SDK. No client defined."),Promise.resolve(!1))}function _N(){return ke().lastEventId()}function ce(){return ke().getClient()}function vN(){return!!ce()}function Xe(){return ke().getScope()}function Tf(e){const t=ce(),n=xn(),r=Xe(),{release:s,environment:i=zo}=t&&t.getOptions()||{},{userAgent:o}=ue.navigator||{},a=vb({release:s,environment:i,user:r.getUser()||n.getUser(),...o&&{userAgent:o},...e}),c=n.getSession();return c&&c.status==="ok"&&Zr(c,{status:"exited"}),ep(),n.setSession(a),r.setSession(a),a}function ep(){const e=xn(),t=Xe(),n=t.getSession()||e.getSession();n&&bb(n),Tb(),e.setSession(),t.setSession()}function Tb(){const e=xn(),t=Xe(),n=ce(),r=t.getSession()||e.getSession();r&&n&&n.captureSession&&n.captureSession(r)}function If(e=!1){if(e){ep();return}Tb()}function Ec(e){return e.transaction}function al(e,t,n){const r=t.getOptions(),{publicKey:s}=t.getDsn()||{},{segment:i}=n&&n.getUser()||{},o=ct({environment:r.environment||zo,release:r.release,user_segment:i,public_key:s,trace_id:e});return t.emit&&t.emit("createDsc",o),o}function li(e){const t=ce();if(!t)return{};const n=al(Ce(e).trace_id||"",t,Xe()),r=Ec(e);if(!r)return n;const s=r&&r._frozenDynamicSamplingContext;if(s)return s;const{sampleRate:i,source:o}=r.metadata;i!=null&&(n.sample_rate=`${i}`);const a=Ce(r);return o&&o!=="url"&&(n.transaction=a.description),n.sampled=String(Qd(r)),t.emit&&t.emit("createDsc",n),n}function Ib(e,t){const{fingerprint:n,span:r,breadcrumbs:s,sdkProcessingMetadata:i}=t;bN(e,t),r&&wN(e,r),TN(e,n),EN(e,s),SN(e,i)}function ig(e,t){const{extra:n,tags:r,user:s,contexts:i,level:o,sdkProcessingMetadata:a,breadcrumbs:c,fingerprint:u,eventProcessors:l,attachments:f,propagationContext:d,transactionName:p,span:h}=t;Hi(e,"extra",n),Hi(e,"tags",r),Hi(e,"user",s),Hi(e,"contexts",i),Hi(e,"sdkProcessingMetadata",a),o&&(e.level=o),p&&(e.transactionName=p),h&&(e.span=h),c.length&&(e.breadcrumbs=[...e.breadcrumbs,...c]),u.length&&(e.fingerprint=[...e.fingerprint,...u]),l.length&&(e.eventProcessors=[...e.eventProcessors,...l]),f.length&&(e.attachments=[...e.attachments,...f]),e.propagationContext={...e.propagationContext,...d}}function Hi(e,t,n){if(n&&Object.keys(n).length){e[t]={...e[t]};for(const r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[t][r]=n[r])}}function bN(e,t){const{extra:n,tags:r,user:s,contexts:i,level:o,transactionName:a}=t,c=ct(n);c&&Object.keys(c).length&&(e.extra={...c,...e.extra});const u=ct(r);u&&Object.keys(u).length&&(e.tags={...u,...e.tags});const l=ct(s);l&&Object.keys(l).length&&(e.user={...l,...e.user});const f=ct(i);f&&Object.keys(f).length&&(e.contexts={...f,...e.contexts}),o&&(e.level=o),a&&(e.transaction=a)}function EN(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function SN(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function wN(e,t){e.contexts={trace:Xd(t),...e.contexts};const n=Ec(t);if(n){e.sdkProcessingMetadata={dynamicSamplingContext:li(t),...e.sdkProcessingMetadata};const r=Ce(n).description;r&&(e.tags={transaction:r,...e.tags})}}function TN(e,t){e.fingerprint=e.fingerprint?zd(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}const IN=100;let eu;class In{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=og()}static clone(t){return t?t.clone():new In}clone(){const t=new In;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},t._user=this._user,t._level=this._level,t._span=this._span,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}setClient(t){this._client=t}getClient(){return this._client}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,segment:void 0,username:void 0},this._session&&Zr(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}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const t=this._span;return t&&t.transaction}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;if(n instanceof In){const r=n.getScopeData();this._tags={...this._tags,...r.tags},this._extra={...this._extra,...r.extra},this._contexts={...this._contexts,...r.contexts},r.user&&Object.keys(r.user).length&&(this._user=r.user),r.level&&(this._level=r.level),r.fingerprint.length&&(this._fingerprint=r.fingerprint),n.getRequestSession()&&(this._requestSession=n.getRequestSession()),r.propagationContext&&(this._propagationContext=r.propagationContext)}else if(Xr(n)){const r=t;this._tags={...this._tags,...r.tags},this._extra={...this._extra,...r.extra},this._contexts={...this._contexts,...r.contexts},r.user&&(this._user=r.user),r.level&&(this._level=r.level),r.fingerprint&&(this._fingerprint=r.fingerprint),r.requestSession&&(this._requestSession=r.requestSession),r.propagationContext&&(this._propagationContext=r.propagationContext)}return 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._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=og(),this}addBreadcrumb(t,n){const r=typeof n=="number"?n:IN;if(r<=0)return this;const s={timestamp:Wo(),...t},i=this._breadcrumbs;return i.push(s),this._breadcrumbs=i.length>r?i.slice(-r):i,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}
79getAttachments(){return this.getScopeData().attachments}clearAttachments(){return this._attachments=[],this}getScopeData(){const{_breadcrumbs:t,_attachments:n,_contexts:r,_tags:s,_extra:i,_user:o,_level:a,_fingerprint:c,_eventProcessors:u,_propagationContext:l,_sdkProcessingMetadata:f,_transactionName:d,_span:p}=this;return{breadcrumbs:t,attachments:n,contexts:r,tags:s,extra:i,user:o,level:a,fingerprint:c||[],eventProcessors:u,propagationContext:l,sdkProcessingMetadata:f,transactionName:d,span:p}}applyToEvent(t,n={},r=[]){Ib(t,this.getScopeData());const s=[...r,...Jd(),...this._eventProcessors];return vc(s,t,n)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,n){const r=n&&n.event_id?n.event_id:Ie();if(!this._client)return I.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:Ie();if(!this._client)return I.warn("No client configured on scope - will not capture message!"),s;const i=new Error(t);return this._client.captureMessage(t,n,{originalException:t,syntheticException:i,...r,event_id:s},this),s}captureEvent(t,n){const r=n&&n.event_id?n.event_id:Ie();return this._client?(this._client.captureEvent(t,{...n,event_id:r},this),r):(I.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}}function CN(){return eu||(eu=new In),eu}function og(){return{traceId:Ie(),spanId:Ie().substring(16)}}
79const ui="7.120.4",Cb=parseFloat(ui),kN=100;class tp{constructor(t,n,r,s=Cb){this._version=s;let i;n?i=n:(i=new In,i.setClient(t));let o;r?o=r:(o=new In,o.setClient(t)),this._stack=[{scope:i}],t&&this.bindClient(t),this._isolationScope=o}isOlderThan(t){return this._version<t}bindClient(t){const n=this.getStackTop();n.client=t,n.scope.setClient(t),t&&t.setupIntegrations&&t.setupIntegrations()}pushScope(){const t=this.getScope().clone();return this.getStack().push({client:this.getClient(),scope:t}),t}popScope(){return this.getStack().length<=1?!1:!!this.getStack().pop()}withScope(t){const n=this.pushScope();let r;try{r=t(n)}catch(s){throw this.popScope(),s}return Uo(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}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(t,n){const r=this._lastEventId=n&&n.event_id?n.event_id:Ie(),s=new Error("Sentry syntheticException");return this.getScope().captureException(t,{originalException:t,syntheticException:s,...n,event_id:r}),r}captureMessage(t,n,r){const s=this._lastEventId=r&&r.event_id?r.event_id:Ie(),i=new Error(t);return this.getScope().captureMessage(t,n,{originalException:t,syntheticException:i,...r,event_id:s}),s}captureEvent(t,n){const r=n&&n.event_id?n.event_id:Ie();return t.type||(this._lastEventId=r),this.getScope().captureEvent(t,{...n,event_id:r}),r}lastEventId(){return this._lastEventId}addBreadcrumb(t,n){const{scope:r,client:s}=this.getStackTop();if(!s)return;const{beforeBreadcrumb:i=null,maxBreadcrumbs:o=kN}=s.getOptions&&s.getOptions()||{};if(o<=0)return;const c={timestamp:Wo(),...t},u=i?ln(()=>i(c,n)):c;u!==null&&(s.emit&&s.emit("beforeAddBreadcrumb",u,n),r.addBreadcrumb(u,o))}setUser(t){this.getScope().setUser(t),this.getIsolationScope().setUser(t)}setTags(t){this.getScope().setTags(t),this.getIsolationScope().setTags(t)}setExtras(t){this.getScope().setExtras(t),this.getIsolationScope().setExtras(t)}setTag(t,n){this.getScope().setTag(t,n),this.getIsolationScope().setTag(t,n)}setExtra(t,n){this.getScope().setExtra(t,n),this.getIsolationScope().setExtra(t,n)}setContext(t,n){this.getScope().setContext(t,n),this.getIsolationScope().setContext(t,n)}configureScope(t){const{scope:n,client:r}=this.getStackTop();r&&t(n)}run(t){const n=Cf(this);try{t(this)}finally{Cf(n)}}getIntegration(t){const n=this.getClient();if(!n)return null;try{return n.getIntegration(t)}catch{return Z&&I.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,n){const r=this._callExtensionMethod("startTransaction",t,n);return Z&&!r&&(this.getClient()?I.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init': 80Sentry.addTracingExtensions(); 81Sentry.init({...}); 82`):I.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")),r}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){const n=this.getStackTop().scope,r=n.getSession();r&&bb(r),this._sendSessionUpdate(),n.setSession()}startSession(t){const{scope:n,client:r}=this.getStackTop(),{release:s,environment:i=zo}=r&&r.getOptions()||{},{userAgent:o}=ue.navigator||{},a=vb({release:s,environment:i,user:n.getUser(),...o&&{userAgent:o},...t}),c=n.getSession&&n.getSession();return c&&c.status==="ok"&&Zr(c,{status:"exited"}),this.endSession(),n.setSession(a),a}shouldSendDefaultPii(){const t=this.getClient(),n=t&&t.getOptions();return!!(n&&n.sendDefaultPii)}_sendSessionUpdate(){const{scope:t,client:n}=this.getStackTop(),r=t.getSession();r&&n&&n.captureSession&&n.captureSession(r)}_callExtensionMethod(t,...n){const s=Ri().__SENTRY__;if(s&&s.extensions&&typeof s.extensions[t]=="function")return s.extensions[t].apply(this,n);Z&&I.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function Ri(){return ue.__SENTRY__=ue.__SENTRY__||{extensions:{},hub:void 0},ue}function Cf(e){const t=Ri(),n=Sc(t);return kb(t,e),n}function ke(){const e=Ri();if(e.__SENTRY__&&e.__SENTRY__.acs){const t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return xN(e)}function xn(){return ke().getIsolationScope()}function xN(e=Ri()){return(!RN(e)||Sc(e).isOlderThan(Cb))&&kb(e,new tp),Sc(e)}function cl(e,t={}){const n=Ri();return n.__SENTRY__&&n.__SENTRY__.acs?n.__SENTRY__.acs.runWithAsyncContext(e,t):e()}function RN(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function Sc(e){return U0("hub",()=>new tp,e)}function kb(e,t){if(!e)return!1;const n=e.__SENTRY__=e.__SENTRY__||{};return n.hub=t,!0}function Cn(e){return(e||ke()).getScope().getTransaction()}const AN=Gd;let ag=!1;function ON(){ag||(ag=!0,sb(kf),ib(kf))}function kf(){const e=Cn();if(e){const t="internal_error";Z&&I.log(`[Tracing] Transaction: ${t} -> Global error occured`),e.setStatus(t)}}kf.tag="sentry_tracingErrorCallback";var cg;(function(e){e.Ok="ok";const n="deadline_exceeded";e.DeadlineExceeded=n;const r="unauthenticated";e.Unauthenticated=r;const s="permission_denied";e.PermissionDenied=s;const i="not_found";e.NotFound=i;const o="resource_exhausted";e.ResourceExhausted=o;const a="invalid_argument";e.InvalidArgument=a;const c="unimplemented";e.Unimplemented=c;const u="unavailable";e.Unavailable=u;const l="internal_error";e.InternalError=l;const f="unknown_error";e.UnknownError=f;const d="cancelled";e.Cancelled=d;const p="already_exists";e.AlreadyExists=p;const h="failed_precondition";e.FailedPrecondition=h;const m="aborted";e.Aborted=m;const v="out_of_range";e.OutOfRange=v;const y="data_loss";e.DataLoss=y})(cg||(cg={}));function np(e){if(e<400&&e>=100)return"ok";if(e>
82=400&&e<500)switch(e){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(e>=500&&e<600)switch(e){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}const MN=np;function ll(e,t){e.setTag("http.status_code",String(t)),e.setData("http.response.status_code",t);const n=np(t);n!=="unknown_error"&&e.setStatus(n)}function rp(e,t,n=()=>{}){let r;try{r=e()}catch(s){throw t(s),n(),s}return NN(r,t,n)}function NN(e,t,n){return Uo(e)?e.then(r=>(n(),r),r=>{throw t(r),n(),r}):(n(),e)}function fs(e){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const t=ce(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}function PN(e,t,n=()=>{},r=()=>{}){const s=ke(),i=Xe(),o=i.getSpan(),a=fl(e),c=ul(s,{parentSpan:o,spanContext:a,forceTransaction:!1,scope:i});return i.setSpan(c),rp(()=>t(c),u=>{c&&c.setStatus("internal_error"),n(u,c)},()=>{c&&c.end(),i.setSpan(o),r()})}function LN(e,t){const n=fl(e);return cl(()=>Ir(e.scope,r=>{const s=ke(),i=r.getSpan(),a=e.onlyIfParent&&!i?void 0:ul(s,{parentSpan:i,spanContext:n,forceTransaction:e.forceTransaction,scope:r});return rp(()=>t(a),()=>{if(a){const{status:c}=Ce(a);(!c||c==="ok")&&a.setStatus("internal_error")}},()=>a&&a.end())}))}function DN(e,t){const n=fl(e);return cl(()=>Ir(e.scope,r=>{const s=ke(),i=r.getSpan(),a=e.onlyIfParent&&!i?void 0:ul(s,{parentSpan:i,spanContext:n,forceTransaction:e.forceTransaction,scope:r});function c(){a&&a.end()}return rp(()=>t(a,c),()=>{if(a&&a.isRecording()){const{status:u}=Ce(a);(!u||u==="ok")&&a.setStatus("internal_error")}})}))}function Ro(e){if(!fs())return;const t=fl(e),n=ke(),r=e.scope?e.scope.getSpan():es();if(e.onlyIfParent&&!r)return;const o=(e.scope||Xe()).clone();return ul(n,{parentSpan:r,spanContext:t,forceTransaction:e.forceTransaction,scope:o})}function es(){return Xe().getSpan()}const $N=({sentryTrace:e,baggage:t},n)=>{const r=Xe(),{traceparentData:s,dynamicSamplingContext:i,propagationContext:o}=DM(e,t);r.setPropagationContext(o),Z&&s&&I.log(`[Tracing] Continuing trace ${s.traceId}.`);const a={...s,metadata:ct({dynamicSamplingContext:i})};return n?cl(()=>n(a)):a};function ul(e,{parentSpan:t,spanContext:n,forceTransaction:r,scope:s}){if(!fs())return;const i=xn();let o;if(t&&!r)o=t.startChild(n);else if(t){const a=li(t),{traceId:c,spanId:u}=t.spanContext(),l=Qd(t);o=e.startTransaction({traceId:c,parentSpanId:u,parentSampled:l,...n,metadata:{dynamicSamplingContext:a,...n.metadata}})}else{const{traceId:a,dsc:c,parentSpanId:u,sampled:l}={...i.getPropagationContext(),...s.getPropagationContext()};o=e.startTransaction({traceId:a,parentSpanId:u,parentSampled:l,...n,metadata:{dynamicSamplingContext:c,...n.metadata}})}return s.setSpan(o),FN(o,s,i),o}function fl(e){if(e.startTime){const t={...e};return t.startTimestamp=ol(e.startTime),delete t.startTime,t}return e}const xb="_sentryScope",Rb="_sentryIsolationScope";function FN(e,t,n){e&&(Sr(e,Rb,n),Sr(e,xb,t))}function BN(e){return{scope:e[xb],isolationScope:e[Rb]}}let co;function Ab(e){return co?co.get(e):void 0}function Ob(e){const t=Ab(e);if(!t)return;const n={};for(const[,[r,s]]of t)n[r]||(n[r]=[]),n[r].push(ct(s));return n}function jN(e,t,n,r,s,i){const o=es();if(o){const a=Ab(o)||new Map,c=`${e}:${t}@${r}`,u=a.get(i);if(u){const[,l]=u;a.set(i,[c,{min:Math.min(l.min,n),max:Math.max(l.max,n),count:l.count+=1,sum:l.sum+=n,tags:l.tags}])}else a.set(i,[c,{min:n,max:n,count:1,sum:n,tags:s}]);co||(co=new WeakMap),co.set(o,a)}}const yt="sentry.source",Fr="sentry.sample_rate",Ji="sentry.op",bn="sentry.origin",HN="profile_id";class Mb{constructor(t=1e3){this._maxlen=t,this.spans=[]}add(t){this.spans.length>this._maxlen?t.spanRecorder=void 0:this.spans.push(t)}}class dl{constructor(t={}){this._traceId=t.traceId||Ie(),this._spanId=t.spanId||Ie().substring(16),this._startTime=t.startTimestamp||Tr(),this.tags=t.tags?{...t.tags}:{},this.data=t.data?{...t.data}:{},this.instrumenter=t.instrumenter||"sentry",this._attributes={}
82,this.setAttributes({[bn]:t.origin||"manual",[Ji]:t.op,...t.attributes}),this._name=t.name||t.description,t.parentSpanId&&(this._parentSpanId=t.parentSpanId),"sampled"in t&&(this._sampled=t.sampled),t.status&&(this._status=t.status),t.endTimestamp&&(this._endTime=t.endTimestamp),t.exclusiveTime!==void 0&&(this._exclusiveTime=t.exclusiveTime),this._measurements=t.measurements?{...t.measurements}:{}}get name(){return this._name||""}set name(t){this.updateName(t)}get description(){return this._name}set description(t){this._name=t}get traceId(){return this._traceId}set traceId(t){this._traceId=t}get spanId(){return this._spanId}set spanId(t){this._spanId=t}set parentSpanId(t){this._parentSpanId=t}get parentSpanId(){return this._parentSpanId}get sampled(){return this._sampled}set sampled(t){this._sampled=t}get attributes(){return this._attributes}set attributes(t){this._attributes=t}get startTimestamp(){return this._startTime}set startTimestamp(t){this._startTime=t}get endTimestamp(){return this._endTime}set endTimestamp(t){this._endTime=t}get status(){return this._status}set status(t){this._status=t}get op(){return this._attributes[Ji]}set op(t){this.setAttribute(Ji,t)}get origin(){return this._attributes[bn]}set origin(t){this.setAttribute(bn,t)}spanContext(){const{_spanId:t,_traceId:n,_sampled:r}=this;return{spanId:t,traceId:n,traceFlags:r?Eb:JM}}startChild(t){const n=new dl({...t,parentSpanId:this._spanId,sampled:this._sampled,traceId:this._traceId});n.spanRecorder=this.spanRecorder,n.spanRecorder&&n.spanRecorder.add(n);const r=Ec(this);if(n.transaction=r,Z&&r){const s=t&&t.op||"< unknown op >",i=Ce(n).description||"< unknown name >",o=r.spanContext().spanId,a=`[Tracing] Starting '${s}' span on transaction '${i}' (${o}).`;I.log(a),this._logMessage=a}return n}setTag(t,n){return this.tags={...this.tags,[t]:n},this}setData(t,n){return this.data={...this.data,[t]:n},this}setAttribute(t,n){n===void 0?delete this._attributes[t]:this._attributes[t]=n}setAttributes(t){Object.keys(t).forEach(n=>this.setAttribute(n,t[n]))}setStatus(t){return this._status=t,this}setHttpStatus(t){return ll(this,t),this}setName(t){this.updateName(t)}updateName(t){return this._name=t,this}isSuccess(){return this._status==="ok"}finish(t){return this.end(t)}end(t){if(this._endTime)return;const n=Ec(this);if(Z&&n&&n.spanContext().spanId!==this._spanId){const r=this._logMessage;r&&I.log(r.replace("Starting","Finishing"))}this._endTime=ol(t)}toTraceparent(){return il(this)}toContext(){return ct({data:this._getData(),description:this._name,endTimestamp:this._endTime,op:this.op,parentSpanId:this._parentSpanId,sampled:this._sampled,spanId:this._spanId,startTimestamp:this._startTime,status:this._status,tags:this.tags,traceId:this._traceId})}updateWithContext(t){return this.data=t.data||{},this._name=t.name||t.description,this._endTime=t.endTimestamp,this.op=t.op,this._parentSpanId=t.parentSpanId,this._sampled=t.sampled,this._spanId=t.spanId||this._spanId,this._startTime=t.startTimestamp||this._startTime,this._status=t.status,this.tags=t.tags||{},this._traceId=t.traceId||this._traceId,this}getTraceContext(){return Xd(this)}getSpanJSON(){return ct({data:this._getData(),description:this._name,op:this._attributes[Ji],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:this._status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[bn],_metrics_summary:Ob(this),profile_id:this._attributes[HN],exclusive_time:this._exclusiveTime,measurements:Object.keys(this._measurements).length>0?this._measurements:void 0})}isRecording(){return!this._endTime&&!!this._sampled}toJSON(){return this.getSpanJSON()}_getData(){const{data:t,_attributes:n}=this,r=Object.keys(t).length>0,s=Object.keys(n).length>0;if(!(!r&&!s))return r&&s?{...t,...n}:r?t:n}}class Nb extends dl{constructor(t,n){super(t),this._contexts={},this._hub=n||ke(),this._name=t.name||"",this._metadata={...t.metadata},this._trimEnd=t.trimEnd,this.transaction=this;const r=this._metadata.dynamicSamplingContext;r&&(this._frozenDynamicSamplingContext={...r})}get name(){return this._name}set name(t){this.setName(t)}get metadata(){return{source:"custom",spanMetadata:{},...this._metadata,...this._attributes[yt]&&{source:this._attributes[yt]},...this._attributes[Fr]&&{sampleRate:this._attributes[Fr]}}}set metadata(t){this._metadata=t}setName(t,n="custom"){this._name=t,this.setAttribute(yt,n)}updateName(t){return this._name=t,this}initSpanRecorder(t=1e3){this.spanRecorder||(this.spanRecorder=new Mb(t)),this.spanRecorder.add(this)}setContext(t,n){n===null?delete this._contexts[t]:this._contexts[t]=n}setMeasurement(t,n,r=""){this._measurements[t]={value:n,unit:r}}setMetadata(t){this._metadata={...this._metadata,...t}}end(t){const n=ol(t),r=this._finishTransaction(n);if(r)return this._hub.captureEvent(r)}toContext(){const t=super.toContext();return ct({...t,name:this._name,trimEnd:this._trimEnd})}updateWithContext(t){return super.updateWithContext(t),this._name=t.name||"",this._trimEnd=t.trimEnd,this}getDynamicSamplingContext(){return li(this)}setHub(t){this._hub=t}getProfileId(){if(this._contexts!==void 0&&this._contexts.profile!==void 0)return this._contexts.profile.profile_id}_finishTransaction(t){if(this._endTime!==void 0)return;this._name||(Z&&I.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>"),super.end(t);const n=this._hub.getClient();if(n&&n.emit&&n.emit("finishTransaction",this),this._sampled!==!0){Z&&I.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),n&&n.recordDroppedEvent("sample_rate","transaction");return}const r=this.spanRecorder?this.spanRecorder.spans.filter(l=>l!==this&&Ce(l).timestamp):[];if(this._trimEnd&&r.length>0){const l=r.map(f=>
82Ce(f).timestamp).filter(Boolean);this._endTime=l.reduce((f,d)=>f>d?f:d)}const{scope:s,isolationScope:i}=BN(this),{metadata:o}=this,{source:a}=o,c={contexts:{...this._contexts,trace:Xd(this)},spans:r,start_timestamp:this._startTime,tags:this.tags,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{...o,capturedSpanScope:s,capturedSpanIsolationScope:i,...ct({dynamicSamplingContext:li(this)})},_metrics_summary:Ob(this),...a&&{transaction_info:{source:a}}};return Object.keys(this._measurements).length>0&&(Z&&I.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),c.measurements=this._measurements),Z&&I.log(`[Tracing] Finishing ${this.op} transaction: ${this._name}.`),c}}const lo={idleTimeout:1e3,finalTimeout:3e4,heartbeatInterval:5e3},UN="finishReason",_s=["heartbeatFailed","idleTimeout","documentHidden","finalTimeout","externalFinish","cancelled"];class qN extends Mb{constructor(t,n,r,s){super(s),this._pushActivity=t,this._popActivity=n,this.transactionSpanId=r}add(t){if(t.spanContext().spanId!==this.transactionSpanId){const n=t.end;t.end=(...r)=>(this._popActivity(t.spanContext().spanId),n.apply(t,r)),Ce(t).timestamp===void 0&&this._pushActivity(t.spanContext().spanId)}super.add(t)}}class WN extends Nb{constructor(t,n,r=lo.idleTimeout,s=lo.finalTimeout,i=lo.heartbeatInterval,o=!1,a=!1){super(t,n),this._idleHub=n,this._idleTimeout=r,this._finalTimeout=s,this._heartbeatInterval=i,this._onScope=o,this.activities={},this._heartbeatCounter=0,this._finished=!1,this._idleTimeoutCanceledPermanently=!1,this._beforeFinishCallbacks=[],this._finishReason=_s[4],this._autoFinishAllowed=!a,o&&(Z&&I.log(`Setting idle transaction on scope. Span ID: ${this.spanContext().spanId}`),n.getScope().setSpan(this)),a||this._restartIdleTimeout(),setTimeout(()=>{this._finished||(this.setStatus("deadline_exceeded"),this._finishReason=_s[3],this.end())},this._finalTimeout)}end(t){const n=ol(t);if(this._finished=!0,this.activities={},this.op==="ui.action.click"&&this.setAttribute(UN,this._finishReason),this.spanRecorder){Z&&I.log("[Tracing] finishing IdleTransaction",new Date(n*1e3).toISOString(),this.op);for(const r of this._beforeFinishCallbacks)r(this,n);this.spanRecorder.spans=this.spanRecorder.spans.filter(r=>{if(r.spanContext().spanId===this.spanContext().spanId)return!0;Ce(r).timestamp||(r.setStatus("cancelled"),r.end(n),Z&&I.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(r,void 0,2)));const{start_timestamp:s,timestamp:i}=Ce(r),o=s&&s<n,a=(this._finalTimeout+this._idleTimeout)/1e3,c=i&&s&&i-s<a;if(Z){const u=JSON.stringify(r,void 0,2);o?c||I.log("[Tracing] discarding Span since it finished after Transaction final timeout",u):I.log("[Tracing] discarding Span since it happened after Transaction was finished",u)}return o&&c}),Z&&I.log("[Tracing] flushing IdleTransaction")}else Z&&I.log("[Tracing] No active IdleTransaction");if(this._onScope){const r=this._idleHub.getScope();r.getTransaction()===this&&r.setSpan(void 0)}return super.end(t)}registerBeforeFinishCallback(t){this._beforeFinishCallbacks.push(t)}initSpanRecorder(t){if(!this.spanRecorder){const n=s=>{this._finished||this._pushActivity(s)},r=s=>{this._finished||this._popActivity(s)};this.spanRecorder=new qN(n,r,this.spanContext().spanId,t),Z&&I.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}cancelIdleTimeout(t,{restartOnChildSpanChange:n}={restartOnChildSpanChange:!0}){this._idleTimeoutCanceledPermanently=n===!1,this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0,Object.keys(this.activities).length===0&&this._idleTimeoutCanceledPermanently&&(this._finishReason=_s[5],this.end(t)))}setFinishReason(t){this._finishReason=t}sendAutoFinishSignal(){this._autoFinishAllowed||(Z&&I.log("[Tracing] Received finish signal for idle transaction."),this._restartIdleTimeout(),this._autoFinishAllowed=!0)}_restartIdleTimeout(t){this.cancelIdleTimeout(),this._idleTimeoutID=setTimeout(()=>{!this._finished&&Object.keys(this.activities).length===0&&(this._finishReason=_s[1],this.end(t))},this._idleTimeout)}
82_pushActivity(t){this.cancelIdleTimeout(void 0,{restartOnChildSpanChange:!this._idleTimeoutCanceledPermanently}),Z&&I.log(`[Tracing] pushActivity: ${t}`),this.activities[t]=!0,Z&&I.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(t){if(this.activities[t]&&(Z&&I.log(`[Tracing] popActivity ${t}`),delete this.activities[t],Z&&I.log("[Tracing] new activities count",Object.keys(this.activities).length)),Object.keys(this.activities).length===0){const n=Tr();this._idleTimeoutCanceledPermanently?this._autoFinishAllowed&&(this._finishReason=_s[5],this.end(n)):this._restartIdleTimeout(n+this._idleTimeout/1e3)}}_beat(){if(this._finished)return;const t=Object.keys(this.activities).join("");t===this._prevHeartbeatString?this._heartbeatCounter++:this._heartbeatCounter=1,this._prevHeartbeatString=t,this._heartbeatCounter>=3?this._autoFinishAllowed&&(Z&&I.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this._finishReason=_s[0],this.end()):this._pingHeartbeat()}_pingHeartbeat(){Z&&I.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout(()=>{this._beat()},this._heartbeatInterval)}}function Pb(e,t,n){if(!fs(t))return e.sampled=!1,e;if(e.sampled!==void 0)return e.setAttribute(Fr,Number(e.sampled)),e;let r;return typeof t.tracesSampler=="function"?(r=t.tracesSampler(n),e.setAttribute(Fr,Number(r))):n.parentSampled!==void 0?r=n.parentSampled:typeof t.tracesSampleRate<"u"?(r=t.tracesSampleRate,e.setAttribute(Fr,Number(r))):(r=1,e.setAttribute(Fr,r)),Lb(r)?r?(e.sampled=Math.random()<r,e.sampled?(Z&&I.log(`[Tracing] starting ${e.op} transaction - ${Ce(e).description}`),e):(Z&&I.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(r)})`),e)):(Z&&I.log(`[Tracing] Discarding transaction because ${typeof t.tracesSampler=="function"?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),e.sampled=!1,e):(Z&&I.warn("[Tracing] Discarding transaction because of invalid sample rate."),e.sampled=!1,e)}function Lb(e){return B0(e)||!(typeof e=="number"||typeof e=="boolean")?(Z&&I.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)}.`),!1):e<0||e>1?(Z&&I.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${e}.`),!1):!0}function zN(){const t=this.getScope().getSpan();return t?{"sentry-trace":il(t)}:{}}function VN(e,t){const n=this.getClient(),r=n&&n.getOptions()||{},s=r.instrumenter||"sentry",i=e.instrumenter||"sentry";s!==i&&(Z&&I.error(`A transaction was started with instrumenter=\`${i}\`, but the SDK is configured with the \`${s}\` instrumenter. 83The transaction will not be sampled. Please use the ${s} instrumentation to start transactions.`),e.sampled=!1);let o=new Nb(e,this);return o=Pb(o,r,{name:e.name,parentSampled:e.parentSampled,transactionContext:e,attributes:{...e.data,...e.attributes},...t}),o.isRecording()&&o.initSpanRecorder(r._experiments&&r._experiments.maxSpans),n&&n.emit&&n.emit("startTransaction",o),o}function wc(e,t,n,r,s,i,o,a=!1){const c=e.getClient(),u=c&&c.getOptions()||{};let l=new WN(t,e,n,r,o,s,a);return l=Pb(l,u,{name:t.name,parentSampled:t.parentSampled,transactionContext:t,attributes:{...t.data,...t.attributes},...i}),l.isRecording()&&l.initSpanRecorder(u._experiments&&u._experiments.maxSpans),c&&c.emit&&c.emit("startTransaction",l),l}function sp(){const e=Ri();e.__SENTRY__&&(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=VN),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=zN),ON())}function Db(e,t,n){const r=Cn();r&&r.setMeasurement(e,t,n)}function GN(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 YN(e,t,n,r){const s=Kd(n),i={sent_at:new Date().toISOString(),...s&&{sdk:s},...!!r&&t&&{dsn:as(t)}},o="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return Zn(i,[o])}function $b(e,t,n,r){const s=Kd(n),i=e.type&&e.type!=="replay_event"?e.type:"event";GN(e,n&&n.sdk);const o=hb(e,s,r,t);return delete e.sdkProcessingMetadata,Zn(o,[[{type:i},e]])}const KN="7";function Fb(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function JN(e){return`${Fb(e)}${e.projectId}/envelope/`}function XN(e,t){return VO({sentry_key:e.publicKey,sentry_version:KN,...t&&{sentry_client:`${t.name}/${t.version}`}})}function Bb(e,t={}){const n=typeof t=="string"?t:t.tunnel,r=typeof t=="string"||!t._metadata?void 0:t._metadata.sdk;return n||`${JN(e)}?${XN(e,r)}`}function QN(e,t){const n=Y0(e);if(!n)return"";const r=`${Fb(n)}embed/error-page/`;let s=`dsn=${as(n)}`;for(const i in t)if(i!=="dsn"&&i!=="onClose")if(i==="user"){const o=t.user;if(!o)continue;o.name&&(s+=`&name=${encodeURIComponent(o.name)}`),o.email&&(s+=`&email=${encodeURIComponent(o.email)}`)}else s+=`&${encodeURIComponent(i)}=${encodeURIComponent(t[i])}`;return`${r}?${s}`}const lg=[];function ZN(e){const t={};return e.forEach(n=>{const{name:r}=n,s=t[r];s&&!s.isDefaultInstance&&n.isDefaultInstance||(t[r]=n)}),Object.keys(t).map(n=>t[n])}function eP(e){const t=e.defaultIntegrations||[],n=e.integrations;t.forEach(o=>{o.isDefaultInstance=!0});let r;Array.isArray(n)?r=[...t,...n]:typeof n=="function"?r=zd(n(t)):r=t;const s=ZN(r),i=rP(s,o=>o.name==="Debug");if(i!==-1){const[o]=s.splice(i,1);s.push(o)}return s}function tP(e,t){const n={};return t.forEach(r=>{r&&jb(e,r,n)}),n}function ug(e,t){for(const n of t)n&&n.afterAllSetup&&n.afterAllSetup(e)}function jb(e,t,n){if(n[t.name]){Z&&I.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,lg.indexOf(t.name)===-1&&(t.setupOnce(_b,ke),lg.pu
83sh(t.name)),t.setup&&typeof t.setup=="function"&&t.setup(e),e.on&&typeof t.preprocessEvent=="function"){const r=t.preprocessEvent.bind(t);e.on("preprocessEvent",(s,i)=>r(s,i,e))}if(e.addEventProcessor&&typeof t.processEvent=="function"){const r=t.processEvent.bind(t),s=(i,o)=>r(i,o,e);s.id=t.name,e.addEventProcessor(s)}Z&&I.log(`Integration installed: ${t.name}`)}function nP(e){const t=ce();if(!t||!t.addIntegration){Z&&I.warn(`Cannot add integration "${e.name}" because no SDK Client is available.`);return}t.addIntegration(e)}function rP(e,t){for(let n=0;n<e.length;n++)if(t(e[n])===!0)return n;return-1}function We(e,t){const n=function(...s){return t(...s)};return n.id=e,n}function sP(e,t,n,r){const s=Object.entries(ct(r)).sort((i,o)=>i[0].localeCompare(o[0]));return`${e}${t}${n}${s}`}function iP(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 oP(e){let t="";for(const n of e){const r=Object.entries(n.tags),s=r.length>0?`|#${r.map(([i,o])=>`${i}:${o}`).join(",")}`:"";t+=`${n.name}@${n.unit}:${n.metric}|${n.metricType}${s}|T${n.timestamp} 84`}return t}function aP(e){return e.replace(/[^\w]+/gi,"_")}function cP(e){return e.replace(/[^\w\-.]+/gi,"_")}function lP(e){return e.replace(/[^\w\-./]+/gi,"")}const uP=[[` 85`,"\\n"],["\r","\\r"],[" ","\\t"],["\\","\\\\"],["|","\\u{7c}"],[",","\\u{2c}"]];function fP(e){for(const[t,n]of uP)if(e===t)return n;return e}function dP(e){return[...e].reduce((t,n)=>t+fP(n),"")}function pP(e){const t={};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const r=lP(n);t[r]=dP(String(e[n]))}return t}function hP(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=as(t));const i=mP(e);return Zn(s,[i])}function mP(e){const t=oP(e);return[{type:"statsd",length:t.length},t]}const fg="Not capturing exception because it's already been captured.";class gP{constructor(t){if(this._options=t,this._integrations={},this._integrationsInitialized=!1,this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],t.dsn?this._dsn=Y0(t.dsn):Z&&I.warn("No DSN provided, client will not send events."),this._dsn){const n=Bb(this._dsn,t);this._transport=t.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:n})}}captureException(t,n,r){if(Km(t)){Z&&I.log(fg);return}let s=n&&n.event_id;return this._process(this.eventFromException(t,n).then(i=>this._captureEvent(i,n,r)).then(i=>{s=i}
85)),s}captureMessage(t,n,r,s){let i=r&&r.event_id;const o=Hd(t)?t:String(t),a=Ud(t)?this.eventFromMessage(o,n,r):this.eventFromException(t,r);return this._process(a.then(c=>this._captureEvent(c,r,s)).then(c=>{i=c})),i}captureEvent(t,n,r){if(n&&n.originalException&&Km(n.originalException)){Z&&I.log(fg);return}let s=n&&n.event_id;const o=(t.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(t,n,o||r).then(a=>{s=a})),s}captureSession(t){typeof t.release!="string"?Z&&I.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),Zr(t,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const n=this._transport;return n?(this.metricsAggregator&&this.metricsAggregator.flush(),this._isClientDoneProcessing(t).then(r=>n.flush(t).then(s=>r&&s))):ai(!0)}close(t){return this.flush(t).then(n=>(this.getOptions().enabled=!1,this.metricsAggregator&&this.metricsAggregator.close(),n))}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}setupIntegrations(t){(t&&!this._integrationsInitialized||this._isEnabled()&&!this._integrationsInitialized)&&this._setupIntegrations()}init(){this._isEnabled()&&this._setupIntegrations()}getIntegrationById(t){return this.getIntegrationByName(t)}getIntegrationByName(t){return this._integrations[t]}getIntegration(t){try{return this._integrations[t.id]||null}catch{return Z&&I.warn(`Cannot retrieve integration ${t.id} from the current Client`),null}}addIntegration(t){const n=this._integrations[t.name];jb(this,t,this._integrations),n||ug(this,[t])}sendEvent(t,n={}){this.emit("beforeSendEvent",t,n);let r=$b(t,this._dsn,this._options._metadata,this._options.tunnel);for(const i of n.attachments||[])r=$M(r,HM(i,this._options.transportOptions&&this._options.transportOptions.textEncoder));const s=this._sendEnvelope(r);s&&s.then(i=>this.emit("afterSendEvent",t,i),null)}sendSession(t){const n=YN(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,i=`${t}:${n}`;Z&&I.log(`Recording outcome: "${i}"${s>1?` (${s} times)`:""}`),this._outcomes[i]=(this._outcomes[i]||0)+s}}captureAggregateMetrics(t){Z&&I.log(`Flushing aggregated metrics, number of metrics: ${t.length}`);const n=hP(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(n)}on(t,n){this._hooks[t]||(this._hooks[t]=[]),this._hooks[t].push(n)}emit(t,...n){this._hooks[t]&&this._hooks[t].forEach(r=>r(...n))}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=tP(this,t),ug(this,t),this._integrationsInitialized=!0}_updateSessionFromEvent(t,n){let r=!1,s=!1;const i=n.exception&&n.exception.values;if(i){s=!0;for(const c of i){const u=c.mechanism;if(u&&u.handled===!1){r=!0;break}}}const o=t.status==="ok";(o&&t.errors===0||o&&r)&&(Zr(t,{...r&&{status:"crashed"},errors:t.errors||Number(s||r)}),this.captureSession(t))}_isClientDoneProcessing(t){return new Bt(n=>{let r=0;const s=1,i=setInterval(()=>{this._numProcessing==0?(clearInterval(i),n(!0)):(r+=s,t&&r>=t&&(clearInterval(i),n(!1)))},s)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(t,n,r,s=xn()){const i=this.getOptions(),o=Object.keys(this._integrations);return!n.integrations&&o.length>0&&(n.integrations=o),this.emit("preprocessEvent",t,n),Zd(i,t,n,r,this,s).then(a=>{if(a===null)return a;const c={...s.getPropagationContext(),...r?r.getPropagationContext():void 0};if(!(a.contexts&&a.contexts.trace)&&c){const{traceId:l,spanId:f,parentSpanId:d,dsc:p}=c;a.contexts={trace:{trace_id:l,span_id:f,parent_span_id:d},...a.contexts};const h=p||al(l,this,r);a.sdkProcessingMetadata={dynamicSamplingContext:h,...a.sdkProcessingMetadata}}return a})}_captureEvent(t,n={},r){return this._processEvent(t,n,r).then(s=>s.event_id,s=>{if(Z){const i=s;i.logLevel==="log"?I.log(i.message):I.warn(i)}})}_processEvent(t,n,r){const s=this.getOptions(),{sampleRate:i}=s,o=Ub(t),a=Hb(t),c=t.type||"error",u=`before send for type \`${c}\``;if(a&&typeof i=="number"&&Math.random()>i)return this.recordDroppedEvent("sample_rate","error",t),Vd(new vn(`Discarding event because it's not included in the random sample (sampling rate = ${i})`,"log"));const l=c==="replay_event"?"replay":c,d=(t.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(t,n,r,d).then(p=>{if(p===null)throw this.recordDroppedEvent("event_processor",l,t),new vn("An event processor returned `null`, will not send event.","log");if(n.data&&n.data.__sentry__===!0)return p;const m=_P(s,p,n);return yP(m,u)}).then(p=>{if(p===null){if(this.recordDroppedEvent("before_send",l,t),o){const y=1+(t.spans||[]).length;this.recordDroppedEvent("before_send","span",y)}throw new vn(`${u} returned \`null\`, will not send event.`,"log")}const h=r&&r.getSession();if(!o&&h&&this._updateSessionFromEvent(h,p),o){const v=p.sdkProcessingMetadata&&p.sdkProcessingMetadata.spanCountBeforeProcessing||0,y=p.spans?p.spans.length:0,_=v-y;_>0&&this.recordDroppedEvent("before_send","span",_)}const m=p.transaction_info;if(o&&m&&p.transaction!==t.transaction){const v="custom";p.transaction_info={...m,source:v}}return this.sendEvent(p,n),p}).then(null,p=>{throw p instanceof vn?p:(this.captureException(p,{data:{__sentry__:!0},originalException:p}),new vn(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. 86Reason: ${p}`))})}_process(t){this._numProcessing++,t.then(n=>(this._numProcessing--,n),n=>(this._numProcessing--,n))}
86_sendEnvelope(t){if(this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport)return this._transport.send(t).then(null,n=>{Z&&I.error("Error while sending event:",n)});Z&&I.error("Transport disabled")}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.keys(t).map(n=>{const[r,s]=n.split(":");return{reason:r,category:s,quantity:t[n]}})}}function yP(e,t){const n=`${t} must return \`null\` or a valid event.`;if(Uo(e))return e.then(r=>{if(!Xr(r)&&r!==null)throw new vn(n);return r},r=>{throw new vn(`${t} rejected with ${r}`)});if(!Xr(e)&&e!==null)throw new vn(n);return e}function _P(e,t,n){const{beforeSend:r,beforeSendTransaction:s}=e;if(Hb(t)&&r)return r(t,n);if(Ub(t)&&s){if(t.spans){const i=t.spans.length;t.sdkProcessingMetadata={...t.sdkProcessingMetadata,spanCountBeforeProcessing:i}}return s(t,n)}return t}function Hb(e){return e.type===void 0}function Ub(e){return e.type==="transaction"}function qb(e){const t=ce();!t||!t.addEventProcessor||t.addEventProcessor(e)}const Wb="c",zb="g",ip="s",Vb="d",vP=5e3;class bP{constructor(t){this._value=t}get weight(){return 1}add(t){this._value+=t}toString(){return`${this._value}`}}class EP{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 SP{constructor(t){this._value=[t]}get weight(){return this._value.length}add(t){this._value.push(t)}toString(){return this._value.join(":")}}class wP{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"?iP(t):t).join(":")}}const TP={[Wb]:bP,[zb]:EP,[Vb]:SP,[ip]:wP};function IP(e,t){t.debug===!0&&(Z?I.enable():ln(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),Xe().update(t.initialScope);const r=new e(t);Gb(r),CP(r)}function Gb(e){const n=ke().getStackTop();n.client=e,n.scope.setClient(e)}function CP(e){e.init?e.init():e.setupIntegrations&&e.setupIntegrations()}const kP=30;function op(e,t,n=xM(e.bufferSize||kP)){let r={};const s=o=>n.drain(o);function i(o){const a=[];if(ci(o,(f,d)=>{const p=ng(d);if(gb(r,p)){const h=dg(f,d);e.recordDroppedEvent("ratelimit_backoff",p,h)}else a.push(f)}),a.length===0)return ai();const c=Zn(o[0],a),u=f=>{ci(c,(d,p)=>{const h=dg(d,p);e.recordDroppedEvent(f,ng(p),h)})},l=()=>t({body:pb(c,e.textEncoder)}).then(f=>(f.statusCode!==void 0&&(f.statusCode<200||f.statusCode>=300)&&Z&&I.warn(`Sentry responded with status code ${f.statusCode} to sent event.`),r=yb(r,f),f),f=>{throw u("network_error"),f});return n.add(l).then(f=>f,f=>{if(f instanceof vn)return Z&&I.error("Skipped sending event because buffer is full."),u("queue_overflow"),ai();throw f})}return i.__sentry__baseTransport__=!0,{send:i,flush:s}}function dg(e,t){if(!(t!=="event"&&t!=="transaction"))return Array.isArray(e)?e[1]:void 0}const xP=100,pg=5e3,RP=36e5;function tu(e,t){Z&&I.info(`[Offline]: ${e}`,t)}function AP(e){return t=>{const n=e(t),r=t.createStore?t.createStore(t):void 0;let s=pg,i;function o(l,f,d){return FM(l,["replay_event","replay_recording","client_report"])?!1:t.shouldStore?t.shouldStore(l,f,d):!0}function a(l){r&&(i&&clearTimeout(i),i=setTimeout(async()=>{i=void 0;const f=await r.pop();f&&(tu("Attempting to send previously queued event"),u(f).catch(d=>{tu("Failed to retry sending",d)}))},l),typeof i!="number"&&i.unref&&i.unref())}function c(){i||(a(s),s=Math.min(s*2,RP))}async function u(l){try{const f=await n.send(l);let d=xP;if(f){if(f.headers&&f.headers["retry-after"])d=mb(f.headers["retry-after"]);else if((f.statusCode||0)>=400)return f}return a(d),s=pg,f}catch(f){if(r&&await o(l,f,s))return await r.insert(l),c(),tu("Error sending. Event queued",f),{};throw f}}return t.flushAtStartup&&c(),{send:u,flush:l=>n.flush(l)}}}function Yb(e,t){let n;return ci(e,(r,s)=>(t.includes(s)&&(n=Array.isArray(r)?r[1]:void 0),!!n)),n}function OP(e,t){return n=>{const r=e(n);return{...r,send:async s=>{const i=Yb(s,["event","transaction","profile","replay_event"]);return i&&(i.release=t),r.send(s)}}}}function MP(e,t){return Zn(t?{...e[0],dsn:t}:e[0],e[1])}function NP(e,t){return n=>{const r=e(n),s=new Map;function i(c,u){const l=u?`${c}:${u}`:c;let f=s.get(l);if(!f){const d=V0(c);if(!d)return;const p=Bb(d,n.tunnel);f=u?OP(e,u)({...n,url:p}):e({...n,url:p}),s.set(l,f)}return[c,f]}async function o(c){function u(d){const p=d&&d.length?d:["event"];return Yb(c,p)}const l=t({envelope:c,getEvent:u}).map(d=>
86typeof d=="string"?i(d,void 0):i(d.dsn,d.release)).filter(d=>!!d);return l.length===0&&l.push(["",r]),(await Promise.all(l.map(([d,p])=>p.send(MP(c,d)))))[0]}async function a(c){const u=[await r.flush(c)];for(const[,l]of s)u.push(await l.flush(c));return u.every(l=>l)}return{send:o,flush:a}}}function PP(e,t){const n={sent_at:new Date().toISOString()};t&&(n.dsn=as(t));const r=e.map(LP);return Zn(n,r)}function LP(e){return[{type:"span"},e]}function Kb(e,t){const n=t&&FP(t)?t.getClient():t,r=n&&n.getDsn(),s=n&&n.getOptions().tunnel;return $P(e,r)||DP(e,s)}function DP(e,t){return t?hg(e)===hg(t):!1}function $P(e,t){return t?e.includes(t.host):!1}function hg(e){return e[e.length-1]==="/"?e.slice(0,-1):e}function FP(e){return e.getClient!==void 0}function BP(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 jP(e,t,n=[t],r="npm"){const s=e._metadata||{};s.sdk||(s.sdk={name:`sentry.javascript.${t}`,packages:n.map(i=>({name:`${r}:@sentry/${i}`,version:ui})),version:ui}),e._metadata=s}const Jb=new Map,mg=new Set;function HP(e){if(ue._sentryModuleMetadata)for(const t of Object.keys(ue._sentryModuleMetadata)){const n=ue._sentryModuleMetadata[t];if(mg.has(t))continue;mg.add(t);const r=e(t);for(const s of r.reverse())if(s.filename){Jb.set(s.filename,n);break}}}function UP(e,t){return HP(e),Jb.get(t)}function qP(e,t){try{t.exception.values.forEach(n=>{if(n.stacktrace)for(const r of n.stacktrace.frames||[]){if(!r.filename)continue;const s=UP(e,r.filename);s&&(r.module_metadata=s)}})}catch{}}function WP(e){try{e.exception.values.forEach(t=>{if(t.stacktrace)for(const n of t.stacktrace.frames||[])delete n.module_metadata})}catch{}}const Xb="ModuleMetadata",zP=()=>({name:Xb,setupOnce(){},setup(e){typeof e.on=="function"&&e.on("beforeEnvelope",t=>{ci(t,(n,r)=>{if(r==="event"){const s=Array.isArray(n)?n[1]:void 0;s&&(WP(s),n[1]=s)}})})},processEvent(e,t,n){const r=n.getOptions().stackParser;return qP(r,e),e}}),Qb=zP,VP=We(Xb,Qb),GP=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/],YP=[/^.*\/healthcheck$/,/^.*\/healthy$/,/^.*\/live$/,/^.*\/ready$/,/^.*\/heartbeat$/,/^.*\/health$/,/^.*\/healthz$/],Zb="InboundFilters",KP=(e={})=>({name:Zb,setupOnce(){},processEvent(t,n,r){const s=r.getOptions(),i=JP(e,s);return XP(t,i)?null:t}}),ap=KP,eE=We(Zb,ap);function JP(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:GP],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[],...e.disableTransactionDefaults?[]:YP],ignoreInternal:e.ignoreInternal!==void 0?e.ignoreInternal:!0}}function XP(e,t){return t.ignoreInternal&&rL(e)?(Z&&I.warn(`Event dropped due to being internal Sentry Error. 87Event: ${pr(e)}`),!0):QP(e,t.ignoreErrors)?(Z&&I.warn(`Event dropped due to being matched by \`ignoreErrors\` option. 88Event: ${pr(e)}`),!0):ZP(e,t.ignoreTransactions)?(Z&&I.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. 89Event: ${pr(e)}`),!0):eL(e,t.denyUrls)?(Z&&I.warn(`Event dropped due to being matched by \`denyUrls\` option. 90Event: ${pr(e)}. 91Url: ${Tc(e)}`),!0):tL(e,t.allowUrls)?!1:(Z&&I.warn(`Event dropped due to not being matched by \`allowUrls\` option. 92Event: ${pr(e)}. 93Url: ${Tc(e)}`),!0)}function QP(e,t){return e.type||!t||!t.length?!1:nL(e).some(n=>ki(n,t))}function ZP(e,t){if(e.type!=="transaction"||!t||!t.length)return!1;const n=e.transaction;return n?ki(n,t):!1}function eL(e,t){if(!t||!t.length)return!1;const n=Tc(e);return n?ki(n,t):!1}function tL(e,t){if(!t||!t.length)return!0;const n=Tc(e);return n?ki(n,t):!0}function nL(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}`)),Z&&t.length===0&&I.error(`Could not extract message for event ${pr(e)}`),t}function rL(e){try{return e.exception.values[0].type==="SentryError"}catch{}return!1}function sL(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 Tc(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch{}return t?sL(t):null}catch{return Z&&I.error(`Cannot extract url for event ${pr(e)}`),null}}let gg;const tE="FunctionToString",yg=new WeakMap,iL=()=>
93({name:tE,setupOnce(){gg=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=Wd(this),n=yg.has(ce())&&t!==void 0?t:this;return gg.apply(n,e)}}catch{}},setup(e){yg.set(e,!0)}}),cp=iL,nE=We(tE,cp),oL="cause",aL=5,rE="LinkedErrors",cL=(e={})=>{const t=e.limit||aL,n=e.key||oL;return{name:rE,setupOnce(){},preprocessEvent(r,s,i){const o=i.getOptions();H0(GM,o.stackParser,o.maxValueLength,n,t,r,s)}}},lL=cL,uL=We(rE,lL),fL=Object.freeze(Object.defineProperty({__proto__:null,FunctionToString:nE,InboundFilters:eE,LinkedErrors:uL},Symbol.toStringTag,{value:"Module"}));class dL{constructor(t){this._client=t,this._buckets=new Map,this._interval=setInterval(()=>this.flush(),vP)}add(t,n,r,s="none",i={},o=Tr()){const a=Math.floor(o),c=cP(n),u=pP(i),l=aP(s),f=sP(t,c,l,u);let d=this._buckets.get(f);const p=d&&t===ip?d.metric.weight:0;d?(d.metric.add(r),d.timestamp<a&&(d.timestamp=a)):(d={metric:new TP[t](r),timestamp:a,metricType:t,name:c,unit:l,tags:u},this._buckets.set(f,d));const h=typeof r=="string"?d.metric.weight-p:r;jN(t,c,h,l,i,f)}flush(){if(this._buckets.size!==0){if(this._client.captureAggregateMetrics){const t=Array.from(this._buckets).map(([,n])=>n);this._client.captureAggregateMetrics(t)}this._buckets.clear()}}close(){clearInterval(this._interval),this.flush()}}const sE="MetricsAggregator",pL=()=>({name:sE,setupOnce(){},setup(e){e.metricsAggregator=new dL(e)}}),iE=pL,hL=We(sE,iE);function pl(e,t,n,r={}){const s=ce(),i=Xe();if(s){if(!s.metricsAggregator){Z&&I.warn("No metrics aggregator enabled. Please add the MetricsAggregator integration to use metrics APIs");return}const{unit:o,tags:a,timestamp:c}=r,{release:u,environment:l}=s.getOptions(),f=i.getTransaction(),d={};u&&(d.release=u),l&&(d.environment=l),f&&(d.transaction=Ce(f).description||""),Z&&I.log(`Adding value of ${n} to ${e} metric ${t}`),s.metricsAggregator.add(e,t,n,o,{...d,...a},c)}}function mL(e,t=1,n){pl(Wb,e,t,n)}function gL(e,t,n){pl(Vb,e,t,n)}function yL(e,t,n){pl(ip,e,t,n)}
93function _L(e,t,n){pl(zb,e,t,n)}const vL={increment:mL,distribution:gL,set:yL,gauge:_L,MetricsAggregator:hL,metricsAggregatorIntegration:iE},bL=fL,ye=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,te=ue;function oE(){te.document?te.document.addEventListener("visibilitychange",()=>{const e=Cn();if(te.document.hidden&&e){const t="cancelled",{op:n,status:r}=Ce(e);ye&&I.log(`[Tracing] Transaction: ${t} -> since tab moved to the background, op: ${n}`),r||e.setStatus(t),e.setTag("visibilitychange","document.hidden"),e.end()}}):ye&&I.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const Go=(e,t,n)=>{let r,s;return i=>{t.value>=0&&(i||n)&&(s=t.value-(r||0),(s||r===void 0)&&(r=t.value,t.delta=s,e(t)))}},EL=()=>`v3-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,SL=()=>{const e=te.performance.timing,t=te.performance.navigation.type,n={entryType:"navigation",startTime:0,type:t==2?"back_forward":t===1?"reload":"navigate"};for(const r in e)r!=="navigationStart"&&r!=="toJSON"&&(n[r]=Math.max(e[r]-e.navigationStart,0));return n},hl=()=>te.__WEB_VITALS_POLYFILL__?te.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||SL()):te.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],lp=()=>{const e=hl();return e&&e.activationStart||0},Yo=(e,t)=>{const n=hl();let r="navigate";return n&&(te.document&&te.document.prerendering||lp()>0?r="prerender":r=n.type.replace(/_/g,"-")),{name:e,value:typeof t>"u"?-1:t,rating:"good",delta:0,entries:[],id:EL(),navigationType:r}},Ai=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver(s=>{t(s.getEntries())});return r.observe({type:e,buffered:!0,...n}),r}}catch{}},Ko=(e,t)=>{const n=r=>{(r.type==="pagehide"||te.document.visibilityState==="hidden")&&(e(r),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};te.document&&(addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0))},wL=(e,t={})=>{const n=Yo("CLS",0);let r,s=0,i=[];const o=c=>{c.forEach(u=>{if(!u.hadRecentInput){const l=i[0],f=i[i.length-1];s&&i.length!==0&&u.startTime-f.startTime<1e3&&u.startTime-l.startTime<5e3?(s+=u.value,i.push(u)):(s=u.value,i=[u]),s>n.value&&(n.value=s,n.entries=i,r&&r())}})},a=Ai("layout-shift",o);if(a){r=Go(e,n,t.reportAllChanges);const c=()=>{o(a.takeRecords()),r(!0)};return Ko(c),c}};let Ic=-1;const TL=()=>{te.document&&te.document.visibilityState&&(Ic=te.document.visibilityState==="hidden"&&!te.document.prerendering?0:1/0)},IL=()=>{Ko(({timeStamp:e})=>{Ic=e},!0)},up=()=>(Ic<0&&(TL(),IL()),{get firstHiddenTime(){return Ic}}),CL=e=>{const t=up(),n=Yo("FID");let r;const s=a=>{a.startTime<t.firstHiddenTime&&(n.value=a.processingStart-a.startTime,n.entries.push(a),r(!0))},i=a=>{a.forEach(s)},o=Ai("first-input",i);r=Go(e,n),o&&Ko(()=>{i(o.takeRecords()),o.disconnect()},!0)};let aE=0,nu=1/0,Sa=0;const kL=e=>{e.forEach(t=>{t.interactionId&&(nu=Math.min(nu,t.interactionId),Sa=Math.max(Sa,t.interactionId),aE=Sa?(Sa-nu)/7+1:0)})};let xf;const xL=()=>xf?aE:performance.interactionCount||0,RL=()=>{"interactionCount"in performance||xf||(xf=Ai("event",kL,{type:"event",buffered:!0,durationThreshold:0}))},cE=()=>xL(),_g=10,Ln=[],ru={},vg=e=>{const t=Ln[Ln.length-1],n=ru[e.interactionId];if(n||Ln.length<_g||e.duration>t.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{const r={id:e.interactionId,latency:e.duration,entries:[e]};ru[r.id]=r,Ln.push(r)}Ln.sort((r,s)=>s.latency-r.latency),Ln.splice(_g).forEach(r=>{delete ru[r.id]})}},AL=()=>{const e=Math.min(Ln.length-1,Math.floor(cE()/50));return Ln[e]},OL=(e,t)=>{t=t||{},RL();const n=Yo("INP");let r;const s=o=>{o.forEach(c=>{c.interactionId&&vg(c),c.entryType==="first-input"&&!Ln.some(l=>l.entries.some(f=>c.duration===f.duration&&c.startTime===f.startTime))&&vg(c)});const a=AL();a&&a.latency!==n.value&&(n.value=a.latency,n.entries=a.entries,r())},i=Ai("event",s,{durationThreshold:t.durationThreshold||40});r=Go(e,n,t.reportAllChanges),i&&(i.observe({type:"first-input",buffered:!0}),Ko(()=>{s(i.takeRecords()),n.value<0&&cE()>0&&(n.value=0,n.entries=[]),r(!0)}))},bg={},ML=e=>{const t=up(),n=Yo("LCP");let r;const s=o=>{const a=o[o.length-1];if(a){const c=Math.max(a.startTime-lp(),0);c<t.firstHiddenTime&&(n.value=c,n.entries=[a],r())}},i=Ai("largest-contentful-paint",s);if(i){r=Go(e,n);const o=()=>{bg[n.id]||(s(i.takeRecords()),i.disconnect(),bg[n.id]=!0,r(!0))};return["keydown","click"].forEach(a=>{te.document&&addEventListener(a,o,{once:!0,capture:!0})}),Ko(o,!0),o}},Rf=e=>{te.document&&(te.document.prerendering?addEventListener("prerenderingchange",()=>Rf(e),!0):te.document.readyState!=="complete"?addEventListener("load",()=>
93Rf(e),!0):setTimeout(e,0))},NL=(e,t)=>{t=t||{};const n=Yo("TTFB"),r=Go(e,n,t.reportAllChanges);Rf(()=>{const s=hl();if(s){if(n.value=Math.max(s.responseStart-lp(),0),n.value<0||n.value>performance.now())return;n.entries=[s],r(!0)}})},uo={},Cc={};let lE,uE,fE,dE,pE;function PL(e,t=!1){return Jo("cls",e,FL,lE,t)}function hE(e,t=!1){return Jo("lcp",e,jL,fE,t)}function LL(e){return Jo("ttfb",e,HL,dE)}function DL(e){return Jo("fid",e,BL,uE)}function $L(e){return Jo("inp",e,UL,pE)}function wr(e,t){return mE(e,t),Cc[e]||(qL(e),Cc[e]=!0),gE(e,t)}function Oi(e,t){const n=uo[e];if(!(!n||!n.length))for(const r of n)try{r(t)}catch(s){ye&&I.error(`Error while triggering instrumentation handler. 94Type: ${e} 95Name: ${Yn(r)} 96Error:`,s)}}function FL(){return wL(e=>{Oi("cls",{metric:e}),lE=e},{reportAllChanges:!0})}function BL(){return CL(e=>{Oi("fid",{metric:e}),uE=e})}function jL(){return ML(e=>{Oi("lcp",{metric:e}),fE=e})}function HL(){return NL(e=>{Oi("ttfb",{metric:e}),dE=e})}function UL(){return OL(e=>{Oi("inp",{metric:e}),pE=e})}function Jo(e,t,n,r,s=!1){mE(e,t);let i;return Cc[e]||(i=n(),Cc[e]=!0),r&&t({metric:r}),gE(e,t,s?i:void 0)}function qL(e){const t={};e==="event"&&(t.durationThreshold=0),Ai(e,n=>{Oi(e,{entries:n})},t)}function mE(e,t){uo[e]=uo[e]||[],uo[e].push(t)}function gE(e,t,n){return()=>{n&&n();const r=uo[e];if(!r)return;const s=r.indexOf(t);s!==-1&&r.splice(s,1)}}function su(e){return typeof e=="number"&&isFinite(e)}function fi(e,{startTimestamp:t,...n}){return t&&e.startTimestamp>t&&(e.startTimestamp=t),e.startChild({startTimestamp:t,...n})}const WL=2147483647;function nt(e){return e/1e3}function fp(){return te&&te.addEventListener&&te.performance}let Eg=0,Ve={},hn,fo;function yE(){const e=fp();if(e&&_t){e.mark&&te.performance.mark("sentry-tracing-init");const t=GL(),n=zL(),r=VL(),s=YL();return()=>{t(),n(),r(),s()}}return()=>{}}function _E(){wr("longtask",({entries:e})=>{for(const t of e){const n=Cn();if(!n)return;const r=nt(_t+t.startTime),s=nt(t.duration);n.startChild({description:"Main UI thread blocked",op:"ui.long-task",origin:"auto.ui.browser.metrics",startTimestamp:r,endTimestamp:r+s})}})}function vE(){wr("event",({entries:e})=>{for(const t of e){const n=Cn();if(!n)return;if(t.name==="click"){const r=nt(_t+t.startTime),s=nt(t.duration),i={description:Er(t.target),op:`ui.interaction.${t.name}`,origin:"auto.ui.browser.metrics",startTimestamp:r,endTimestamp:r+s},o=z0(t.target);o&&(i.attributes={"ui.component_name":o}),n.startChild(i)}}})}function bE(e,t){if(fp()&&_t){const r=KL(e,t);return()=>{r()}}return()=>{}}function zL(){return PL(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(ye&&I.log("[Measurements] Adding CLS"),Ve.cls={value:e.value,unit:""},fo=t)},!0)}function VL(){return hE(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(ye&&I.log("[Measurements] Adding LCP"),Ve.lcp={value:e.value,unit:"millisecond"},hn=t)},!0)}function GL(){return DL(({metric:e})=>{const t=e.entries[e.entries.length-1];if(!t)return;const n=nt(_t),r=nt(t.startTime);ye&&I.log("[Measurements] Adding FID"),Ve.fid={value:e.value,unit:"millisecond"},Ve["mark.fid"]={value:n+r,unit:"second"}})}function YL(){return LL(({metric:e})=>{e.entries[e.entries.length-1]&&(ye&&I.log("[Measurements] Adding TTFB"),Ve.ttfb={value:e.value,unit:"millisecond"})})}const Sg={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 KL(e,t){return $L(({metric:n})=>{if(n.value===void 0)return;const r=n.entries.find(g=>g.duration===n.value&&Sg[g.name]!==void 0),s=ce();if(!r||!s)return;const i=Sg[r.name],o=s.getOptions(),a=nt(_t+r.startTime),c=nt(n.value),u=r.interactionId!==void 0?e[r.interactionId]:void 0;if(u===void 0)return;const{routeName:l,parentContext:f,activeTransaction:d,user:p,replayId:h}=u,m=p!==void 0?p.email||p.id||p.ip_address:void 0,v=d!==void 0?d.getProfileId():void 0,y=new dl({startTimestamp:a,endTimestamp:a+c,op:`ui.interaction.${i}`,name:Er(r.target),attributes:{release:o.release,environment:o.environment,transaction:l,...m!==void 0&&m!==""?{user:m}:{},...v!==void 0?{profile_id:v}:{},...h!==void 0?{replay_id:h}:{}},exclusiveTime:n.value,measurements:{inp:{value:n.value,unit:"millisecond"}}}),_=rD(f,o,t);if(_&&Math.random()<_){const g=y?PP([y],s.getDsn()):void 0,b=s&&s.getTransport();b&&g&&b.send(g).then(null,S=>{ye&&I.error("Error while sending interaction:",S)});return}})}function EE(e){const t=fp();if(!t||!te.performance.getEntries||!_t)return;ye&&I.log("[Tracing] Adding & adjusting spans using Performance API");const n=nt(_t),r=t.getEntries(),{op:s,start_timestamp:i}=Ce(e);if(r.slice(Eg).forEach(o=>{const a=nt(o.startTime),c=nt(o.duration);if(!(e.op==="navigation"&&i&&n+a<i))switch(o.entryType){case"navigation":{XL(e,o,n);break}case"mark":case"paint":case"measure":{JL(e,o,a,c,n);const u=up(),l=o.startTime<u.firstHiddenTime;o.name==="first-paint"&&l&&(ye&&I.log("[Measurements] Adding FP"),Ve.fp={value:o.startTime,unit:"millisecond"}),o.name==="first-contentful-paint"&&l&&(ye&&I.log("[Measurements] Adding FCP"),Ve.fcp={value:o.startTime,unit:"millisecond"});break}case"resource":{ZL(e,o,o.name,a,c,n);break}}}),Eg=Math.max(r.length-1,0),eD(e),s==="pageload"){nD(Ve),["fcp","fp","lcp"].forEach(a=>{if(!Ve[a]||!i||n>=i)return;const c=Ve[a].value,u=n+nt(c),l=Math.abs((u-i)*1e3),f=l-c;ye&&I.log(`[Measurements] Normalized ${a} from ${c} to ${l} (${f})`),Ve[a].value=l});const o=Ve["mark.fid"];o&&Ve.fid&&(fi(e,{description:"first input delay",endTimestamp:o.value+nt(Ve.fid.value),op:"ui.action",origin:"auto.ui.browser.metrics",startTimestamp:o.value}),delete Ve["mark.fid"]),"fcp"in Ve||delete Ve.cls,Object.keys(Ve).forEach(a=>{Db(a,Ve[a].value,Ve[a].unit)}),tD(e)}hn=void 0,fo=void 0,Ve={}}
96function JL(e,t,n,r,s){const i=s+n,o=i+r;return fi(e,{description:t.name,endTimestamp:o,op:t.entryType,origin:"auto.resource.browser.metrics",startTimestamp:i}),i}function XL(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{wa(e,t,r,n)}),wa(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),wa(e,t,"fetch",n,"cache","domainLookupStart"),wa(e,t,"domainLookup",n,"DNS"),QL(e,t,n)}function wa(e,t,n,r,s,i){const o=i?t[i]:t[`${n}End`],a=t[`${n}Start`];!a||!o||fi(e,{op:"browser",origin:"auto.browser.browser.metrics",description:s||n,startTimestamp:r+nt(a),endTimestamp:r+nt(o)})}function QL(e,t,n){t.responseEnd&&(fi(e,{op:"browser",origin:"auto.browser.browser.metrics",description:"request",startTimestamp:n+nt(t.requestStart),endTimestamp:n+nt(t.responseEnd)}),fi(e,{op:"browser",origin:"auto.browser.browser.metrics",description:"response",startTimestamp:n+nt(t.responseStart),endTimestamp:n+nt(t.responseEnd)}))}function ZL(e,t,n,r,s,i){if(t.initiatorType==="xmlhttprequest"||t.initiatorType==="fetch")return;const o=Vr(n),a={};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"),"renderBlockingStatus"in t&&(a["resource.render_blocking_status"]=t.renderBlockingStatus),o.protocol&&(a["url.scheme"]=o.protocol.split(":").pop()),o.host&&(a["server.address"]=o.host),a["url.same_origin"]=n.includes(te.location.origin);const c=i+r,u=c+s;fi(e,{description:n.replace(te.location.origin,""),endTimestamp:u,op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",origin:"auto.resource.browser.metrics",startTimestamp:c,data:a})}function eD(e){const t=te.navigator;if(!t)return;const n=t.connection;n&&(n.effectiveType&&e.setTag("effectiveConnectionType",n.effectiveType),n.type&&e.setTag("connectionType",n.type),su(n.rtt)&&(Ve["connection.rtt"]={value:n.rtt,unit:"millisecond"})),su(t.deviceMemory)&&e.setTag("deviceMemory",`${t.deviceMemory} GB`),su(t.hardwareConcurrency)&&e.setTag("hardwareConcurrency",String(t.hardwareConcurrency))}function tD(e){hn&&(ye&&I.log("[Measurements] Adding LCP Data"),hn.element&&e.setTag("lcp.element",Er(hn.element)),hn.id&&e.setTag("lcp.id",hn.id),hn.url&&e.setTag("lcp.url",hn.url.trim().slice(0,200)),e.setTag("lcp.size",hn.size)),fo&&fo.sources&&(ye&&I.log("[Measurements] Adding CLS Data"),fo.sources.forEach((t,n)=>e.setTag(`cls.source.${n+1}`,Er(t.node))))}function iu(e,t,n,r){const s=t[n];s!=null&&s<WL&&(e[r]=s)}function nD(e){const t=hl();if(!t)return;const{responseStart:n,requestStart:r}=t;r<=n&&(ye&&I.log("[Measurements] Adding TTFB Request Time"),e["ttfb.requestTime"]={value:n-r,unit:"millisecond"})}function rD(e,t,n){if(!fs(t))return!1;let r;return e!==void 0&&typeof t.tracesSampler=="function"?r=t.tracesSampler({transactionContext:e,name:e.name,parentSampled:e.parentSampled,attributes:{...e.data,...e.attributes},location:te.location}):e!==void 0&&e.sampled!==void 0?r=e.sampled:typeof t.tracesSampleRate<"u"?r=t.tracesSampleRate:r=1,Lb(r)?r===!0?n:r===!1?0:r*n:(ye&&I.warn("[Tracing] Discarding interaction span because of invalid sample rate."),!1)}function sD(e,t,n,r,s="auto.http.browser"){if(!fs()||!e.fetchData)return;const i=t(e.fetchData.url);if(e.endTimestamp&&i){const p=e.fetchData.__span;if(!p)return;const h=r[p];h&&(aD(h,e),delete r[p]);return}const o=Xe(),a=ce(),{method:c,url:u}=e.fetchData,l=oD(u),f=l?Vr(l).host:void 0,d=i?Ro({name:`${c} ${u}`,onlyIfParent:!0,attributes:{url:u,type:"fetch","http.method":c,"http.url":l,"server.address":f,[bn]:s},op:"http.client"}):void 0;if(d&&(e.fetchData.__span=d.spanContext().spanId,r[d.spanContext().spanId]=d),n(e.fetchData.url)&&a){const p=e.args[0];e.args[1]=e.args[1]||{};const h=e.args[1];h.headers=iD(p,a,o,h,d)}return d}function iD(e,t,n,r,s){const i=s||n.getSpan(),o=xn(),{traceId:a,spanId:c,sampled:u,dsc:l}={...o.getPropagationContext(),...n.getPropagationContext()},f=i?il(i):Yd(a,c,u),d=fb(l||(i?li(i):al(a,t,n))),p=r.headers||(typeof Request<"u"&&Gn(e,Request)?e.headers:void 0);if(p)if(typeof Headers<"u"&&Gn(p,Headers)){const h=new Headers(p);return h.append("sentry-trace",f),d&&h.append(Sf,d),h}else if(Array.isArray(p)){const h=[...p,["sentry-trace",f]];return d&&h.push([Sf,d]),h}else{const h="baggage"in p?p.baggage:void 0,m=[];return Array.isArray(h)?m.push(...h):h&&m.push(h),d&&m.push(d),{...p,"sentry-trace":f,baggage:m.length>0?m.join(","):void 0}}else return{"sentry-trace":f,baggage:d}}function oD(e){try{return new URL(e).href}catch{return}}function aD(e,t){if(t.response){ll(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("internal_error");e.end()}const Af=["localhost",/^\/(?!\/)/],Ao={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,tracingOrigins:Af,tracePropagationTargets:Af};function dp(e){const{traceFetch:t,traceXHR:n,tracePropagationTargets:r,tracingOrigins:s,shouldCreateSpanForRequest:i,enableHTTPTimings:o}={traceFetch:Ao.traceFetch,traceXHR:Ao.traceXHR,...e},a=typeof i=="function"?i:l=>
96!0,c=l=>fD(l,r||s),u={};t&&rl(l=>{const f=sD(l,a,c,u);if(f){const d=SE(l.fetchData.url),p=d?Vr(d).host:void 0;f.setAttributes({"http.url":d,"server.address":p})}o&&f&&wg(f)}),n&&sl(l=>{const f=dD(l,a,c,u);o&&f&&wg(f)})}function cD(e){return e.entryType==="resource"&&"initiatorType"in e&&typeof e.nextHopProtocol=="string"&&(e.initiatorType==="fetch"||e.initiatorType==="xmlhttprequest")}function wg(e){const{url:t}=Ce(e).data||{};if(!t||typeof t!="string")return;const n=wr("resource",({entries:r})=>{r.forEach(s=>{cD(s)&&s.name.endsWith(t)&&(uD(s).forEach(o=>e.setAttribute(...o)),setTimeout(n))})})}function lD(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 dn(e=0){return((_t||performance.timeOrigin)+e)/1e3}function uD(e){const{name:t,version:n}=lD(e.nextHopProtocol),r=[];return r.push(["network.protocol.version",n],["network.protocol.name",t]),_t?[...r,["http.request.redirect_start",dn(e.redirectStart)],["http.request.fetch_start",dn(e.fetchStart)],["http.request.domain_lookup_start",dn(e.domainLookupStart)],["http.request.domain_lookup_end",dn(e.domainLookupEnd)],["http.request.connect_start",dn(e.connectStart)],["http.request.secure_connection_start",dn(e.secureConnectionStart)],["http.request.connection_end",dn(e.connectEnd)],["http.request.request_start",dn(e.requestStart)],["http.request.response_start",dn(e.responseStart)],["http.request.response_end",dn(e.responseEnd)]]:r}function fD(e,t){return ki(e,t||Af)}function dD(e,t,n,r){const s=e.xhr,i=s&&s[Bn];if(!fs()||!s||s.__sentry_own_request__||!i)return;const o=t(i.url);if(e.endTimestamp&&o){const p=s.__sentry_xhr_span_id__;if(!p)return;const h=r[p];h&&i.status_code!==void 0&&(ll(h,i.status_code),h.end(),delete r[p]);return}const a=Xe(),c=xn(),u=SE(i.url),l=u?Vr(u).host:void 0,f=o?Ro({name:`${i.method} ${i.url}`,onlyIfParent:!0,attributes:{type:"xhr","http.method":i.method,"http.url":u,url:i.url,"server.address":l,[bn]:"auto.http.browser"},op:"http.client"}):void 0;f&&(s.__sentry_xhr_span_id__=f.spanContext().spanId,r[s.__sentry_xhr_span_id__]=f);const d=ce();if(s.setRequestHeader&&n(i.url)&&d){const{traceId:p,spanId:h,sampled:m,dsc:v}={...c.getPropagationContext(),...a.getPropagationContext()},y=f?il(f):Yd(p,h,m),_=fb(v||(f?li(f):al(p,d,a)));pD(s,y,_)}return f}function pD(e,t,n){try{e.setRequestHeader("sentry-trace",t),n&&e.setRequestHeader(Sf,n)}catch{}}function SE(e){try{return new URL(e,te.location.origin).href}catch{return}}function hD(e,t=!0,n=!0){if(!te||!te.location){ye&&I.warn("Could not initialize routing instrumentation due to invalid location");return}let r=te.location.href,s;t&&(s=e({name:te.location.pathname,startTimestamp:_t?_t/1e3:void 0,op:"pageload",origin:"auto.pageload.browser",metadata:{source:"url"}})),n&&qo(({to:i,from:o})=>{if(o===void 0&&r&&r.indexOf(i)!==-1){r=void 0;return}o!==i&&(r=void 0,s&&(ye&&I.log(`[Tracing] Finishing current transaction with op: ${s.op}`),s.end()),s=e({name:te.location.pathname,op:"navigation",origin:"auto.navigation.browser",metadata:{source:"url"}}))})}const mD="BrowserTracing",gD={...lo,markBackgroundTransactions:!0,routingInstrumentation:hD,startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,enableLongTask:!0,enableInp:!1,interactionsSampleRate:1,_experiments:{},...Ao},Tg=10;class yD{constructor(t){this.name=mD,this._hasSetTracePropagationTargets=!1,sp(),ye&&(this._hasSetTracePropagationTargets=!!(t&&(t.tracePropagationTargets||t.tracingOrigins))),this.options={...gD,...t},this.options._experiments.enableLongTask!==void 0&&(this.options.enableLongTask=this.options._experiments.enableLongTask),t&&!t.tracePropagationTargets&&t.tracingOrigins&&(this.options.tracePropagationTargets=t.tracingOrigins),this._collectWebVitals=yE(),this._interactionIdToRouteNameMapping={},this.options.enableInp&&bE(this._interactionIdToRouteNameMapping,this.options.interactionsSampleRate),this.options.enableLongTask&&_E(),this.options._experiments.enableInteractions&&vE(),this._latestRoute={name:void 0,context:void 0}}setupOnce(t,n){this._getCurrentHub=n;const s=n().getClient(),i=s&&s.getOptions(),{routingInstrumentation:o,startTransactionOnLocationChange:a,startTransactionOnPageLoad:c,markBackgroun
96dTransactions:u,traceFetch:l,traceXHR:f,shouldCreateSpanForRequest:d,enableHTTPTimings:p,_experiments:h}=this.options,m=i&&i.tracePropagationTargets,v=m||this.options.tracePropagationTargets;ye&&this._hasSetTracePropagationTargets&&m&&I.warn("[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used."),o(y=>{const _=this._createRouteTransaction(y);return this.options._experiments.onStartRouteTransaction&&this.options._experiments.onStartRouteTransaction(_,y,n),_},c,a),u&&oE(),h.enableInteractions&&this._registerInteractionListener(),this.options.enableInp&&this._registerInpInteractionListener(),dp({traceFetch:l,traceXHR:f,tracePropagationTargets:v,shouldCreateSpanForRequest:d,enableHTTPTimings:p})}_createRouteTransaction(t){if(!this._getCurrentHub){ye&&I.warn(`[Tracing] Did not create ${t.op} transaction because _getCurrentHub is invalid.`);return}const n=this._getCurrentHub(),{beforeNavigate:r,idleTimeout:s,finalTimeout:i,heartbeatInterval:o}=this.options,a=t.op==="pageload";let c;if(a){const p=a?Ig("sentry-trace"):"",h=a?Ig("baggage"):void 0,{traceId:m,dsc:v,parentSpanId:y,sampled:_}=db(p,h);c={traceId:m,parentSpanId:y,parentSampled:_,...t,metadata:{...t.metadata,dynamicSamplingContext:v},trimEnd:!0}}else c={trimEnd:!0,...t};const u=typeof r=="function"?r(c):c,l=u===void 0?{...c,sampled:!1}:u;l.metadata=l.name!==c.name?{...l.metadata,source:"custom"}:l.metadata,this._latestRoute.name=l.name,this._latestRoute.context=l,l.sampled===!1&&ye&&I.log(`[Tracing] Will not send ${l.op} transaction because of beforeNavigate.`),ye&&I.log(`[Tracing] Starting ${l.op} transaction on scope`);const{location:f}=te,d=wc(n,l,s,i,!0,{location:f},o,a);return a&&te.document&&(te.document.addEventListener("readystatechange",()=>{["interactive","complete"].includes(te.document.readyState)&&d.sendAutoFinishSignal()}),["interactive","complete"].includes(te.document.readyState)&&d.sendAutoFinishSignal()),d.registerBeforeFinishCallback(p=>{this._collectWebVitals(),EE(p)}),d}_registerInteractionListener(){let t;const n=()=>{const{idleTimeout:r,finalTimeout:s,heartbeatInterval:i}=this.options,o="ui.action.click",a=Cn();if(a&&a.op&&["navigation","pageload"].includes(a.op)){ye&&I.warn(`[Tracing] Did not create ${o} transaction because a pageload or navigation transaction is in progress.`);return}if(t&&(t.setFinishReason("interactionInterrupted"),t.end(),t=void 0),!this._getCurrentHub){ye&&I.warn(`[Tracing] Did not create ${o} transaction because _getCurrentHub is invalid.`);return}if(!this._latestRoute.name){ye&&I.warn(`[Tracing] Did not create ${o} transaction because _latestRouteName is missing.`);return}const c=this._getCurrentHub(),{location:u}=te,l={name:this._latestRoute.name,op:o,trimEnd:!0,data:{[yt]:this._latestRoute.context?_D(this._latestRoute.context):"url"}};t=wc(c,l,r,s,!0,{location:u},i)};["click"].forEach(r=>{te.document&&addEventListener(r,n,{once:!1,capture:!0})})}_registerInpInteractionListener(){const t=({entries:n})=>{const r=ce(),s=r!==void 0&&r.getIntegrationByName!==void 0?r.getIntegrationByName("Replay"):void 0,i=s!==void 0?s.getReplayId():void 0,o=Cn(),a=Xe(),c=a!==void 0?a.getUser():void 0;n.forEach(u=>{if(vD(u)){const l=u.interactionId;if(l===void 0)return;const f=this._interactionIdToRouteNameMapping[l],d=u.duration,p=u.startTime,h=Object.keys(this._interactionIdToRouteNameMapping),m=h.length>0?h.reduce((v,y)=>this._interactionIdToRouteNameMapping[v].duration<this._interactionIdToRouteNameMapping[y].duration?v:y):void 0;if(u.entryType==="first-input"&&h.map(y=>this._interactionIdToRouteNameMapping[y]).some(y=>y.duration===d&&y.startTime===p)||!l)return;if(f)f.duration=Math.max(f.duration,d);else if(h.length<Tg||m===void 0||d>this._interactionIdToRouteNameMapping[m].duration){const v=this._latestRoute.name,y=this._latestRoute.context;v&&y&&(m&&Object.keys(this._interactionIdToRouteNameMapping).length>=Tg&&delete this._interactionIdToRouteNameMapping[m],this._interactionIdToRouteNameMapping[l]={routeName:v,duration:d,parentContext:y,user:c,activeTransaction:o,replayId:i,startTime:p})}}})};wr("event",t),wr("first-input",t)}}function Ig(e){const t=W0(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}function _D(e){const t=e.attributes&&e.attributes[yt],n=e.data&&e.data[yt],r=e.metadata&&e.metadata.source;return t||n||r}function vD(e){return"duration"in e}const bD="BrowserTracing",ED={...lo,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroun
96dSpan:!0,enableLongTask:!0,enableInp:!1,interactionsSampleRate:1,_experiments:{},...Ao},Cg=(e={})=>{const t=ye?!!(e.tracePropagationTargets||e.tracingOrigins):!1;sp(),!e.tracePropagationTargets&&e.tracingOrigins&&(e.tracePropagationTargets=e.tracingOrigins);const n={...ED,...e},r=yE(),s={};n.enableInp&&bE(s,n.interactionsSampleRate),n.enableLongTask&&_E(),n._experiments.enableInteractions&&vE();const i={name:void 0,context:void 0};function o(a){const c=ke(),{beforeStartSpan:u,idleTimeout:l,finalTimeout:f,heartbeatInterval:d}=n,p=a.op==="pageload";let h;if(p){const _=p?kg("sentry-trace"):"",g=p?kg("baggage"):void 0,{traceId:b,dsc:S,parentSpanId:T,sampled:C}=db(_,g);h={traceId:b,parentSpanId:T,parentSampled:C,...a,metadata:{...a.metadata,dynamicSamplingContext:S},trimEnd:!0}}else h={trimEnd:!0,...a};const m=u?u(h):h;m.metadata=m.name!==h.name?{...m.metadata,source:"custom"}:m.metadata,i.name=m.name,i.context=m,m.sampled===!1&&ye&&I.log(`[Tracing] Will not send ${m.op} transaction because of beforeNavigate.`),ye&&I.log(`[Tracing] Starting ${m.op} transaction on scope`);const{location:v}=te,y=wc(c,m,l,f,!0,{location:v},d,p);return p&&te.document&&(te.document.addEventListener("readystatechange",()=>{["interactive","complete"].includes(te.document.readyState)&&y.sendAutoFinishSignal()}),["interactive","complete"].includes(te.document.readyState)&&y.sendAutoFinishSignal()),y.registerBeforeFinishCallback(_=>{r(),EE(_)}),y}return{name:bD,setupOnce:()=>{},afterAllSetup(a){const c=a.getOptions(),{markBackgroundSpan:u,traceFetch:l,traceXHR:f,shouldCreateSpanForRequest:d,enableHTTPTimings:p,_experiments:h}=n,m=c&&c.tracePropagationTargets,v=m||n.tracePropagationTargets;ye&&t&&m&&I.warn("[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used.");let y,_=te.location&&te.location.href;if(a.on&&(a.on("startNavigationSpan",g=>{y&&(ye&&I.log(`[Tracing] Finishing current transaction with op: ${Ce(y).op}`),y.end()),y=o({op:"navigation",...g})}),a.on("startPageLoadSpan",g=>{y&&(ye&&I.log(`[Tracing] Finishing current transaction with op: ${Ce(y).op}`),y.end()),y=o({op:"pageload",...g})})),n.instrumentPageLoad&&a.emit&&te.location){const g={name:te.location.pathname,startTimestamp:_t?_t/1e3:void 0,origin:"auto.pageload.browser",attributes:{[yt]:"url"}};wE(a,g)}n.instrumentNavigation&&a.emit&&te.location&&qo(({to:g,from:b})=>{if(b===void 0&&_&&_.indexOf(g)!==-1){_=void 0;return}if(b!==g){_=void 0;const S={name:te.location.pathname,origin:"auto.navigation.browser",attributes:{[yt]:"url"}};pp(a,S)}}),u&&oE(),h.enableInteractions&&SD(n,i),n.enableInp&&TD(s,i),dp({traceFetch:l,traceXHR:f,tracePropagationTargets:v,shouldCreateSpanForRequest:d,enableHTTPTimings:p})},options:n}};function wE(e,t){if(!e.emit)return;e.emit("startPageLoadSpan",t);const n=es();return(n&&Ce(n).op)==="pageload"?n:void 0}function pp(e,t){if(!e.emit)return;e.emit("startNavigationSpan",t);const n=es();return(n&&Ce(n).op)==="navigation"?n:void 0}function kg(e){const t=W0(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}function SD(e,t){let n;const r=()=>{const{idleTimeout:s,finalTimeout:i,heartbeatInterval:o}=e,a="ui.action.click",c=Cn();if(c&&c.op&&["navigation","pageload"].includes(c.op)){ye&&I.warn(`[Tracing] Did not create ${a} transaction because a pageload or navigation transaction is in progress.`);return}if(n&&(n.setFinishReason("interactionInterrupted"),n.end(),n=void 0),!t.name){ye&&I.warn(`[Tracing] Did not create ${a} transaction because _latestRouteName is missing.`);return}const{location:u}=te,l={name:t.name,op:a,trimEnd:!0,data:{[yt]:t.context?ID(t.context):"url"}};n=wc(ke(),l,s,i,!0,{location:u},o)};["click"].forEach(s=>{te.document&&addEventListener(s,r,{once:!1,capture:!0})})}function wD(e){return"duration"in e}const xg=10;function TD(e,t){const n=({entries:r})=>{const s=ce(),i=s!==void 0&&s.getIntegrationByName!==void 0?s.getIntegrationByName("Replay"):void 0,o=i!==void 0?i.getReplayId():void 0,a=Cn(),c=Xe(),u=c!==void 0?c.getUser():void 0;r.forEach(l=>{if(wD(l)){const f=l.interactionId;if(f===void 0)return;const d=e[f],p=l.duration,h=l.startTime,m=Object.keys(e),v=m.length>0?m.reduce((y,_)=>e[y].duration<e[_].duration?y:_):void 0;if(l.entryType==="first-input"&&m.map(_=>e[_]).some(_=>_.duration===p&&_.startTime===h)||!f)return;if(d)d.duration=Math.max(d.duration,p);else if(m.length<xg||v===void 0||p>e[v].duration){const y=t.name,_=t.context;
96y&&_&&(v&&Object.keys(e).length>=xg&&delete e[v],e[f]={routeName:y,duration:p,parentContext:_,user:u,activeTransaction:a,replayId:o,startTime:h})}}})};wr("event",n),wr("first-input",n)}function ID(e){const t=e.attributes&&e.attributes[yt],n=e.data&&e.data[yt],r=e.metadata&&e.metadata.source;return t||n||r}const se=ue;let Of=0;function TE(){return Of>0}function CD(){Of++,setTimeout(()=>{Of--})}function ts(e,t={},n){if(typeof e!="function")return e;try{const s=e.__sentry_wrapped__;if(s)return typeof s=="function"?s:e;if(Wd(e))return e}catch{return e}const r=function(){const s=Array.prototype.slice.call(arguments);try{const i=s.map(o=>ts(o,t));return e.apply(this,i)}catch(i){throw CD(),Ir(o=>{o.addEventProcessor(a=>(t.mechanism&&(mf(a,void 0),Qr(a,t.mechanism)),a.extra={...a.extra,arguments:s},a)),us(i)}),i}};try{for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(r[s]=e[s])}catch{}K0(r,e),Sr(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}const ve=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function hp(e,t){const n=mp(e,t),r={type:t&&t.name,value:AD(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function kD(e,t,n,r){const s=ce(),i=s&&s.getOptions().normalizeDepth,o={exception:{values:[{type:nl(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:OD(t,{isUnhandledRejection:r})}]},extra:{__serialized__:ob(t,i)}};if(n){const a=mp(e,n);a.length&&(o.exception.values[0].stacktrace={frames:a})}return o}function ou(e,t){return{exception:{values:[hp(e,t)]}}}function mp(e,t){const n=t.stacktrace||t.stack||"",r=RD(t);try{return e(n,r)}catch{}return[]}const xD=/Minified React error #\d+;/i;function RD(e){if(e){if(typeof e.framesToPop=="number")return e.framesToPop;if(xD.test(e.message))return 1}return 0}function AD(e){const t=e&&e.message;return t?t.error&&typeof t.error.message=="string"?t.error.message:t:"No error message"}function IE(e,t,n,r){const s=n&&n.syntheticException||void 0,i=gp(e,t,s,r);return Qr(i),i.level="error",n&&n.event_id&&(i.event_id=n.event_id),ai(i)}function CE(e,t,n="info",r,s){const i=r&&r.syntheticException||void 0,o=Mf(e,t,i,s);return o.level=n,r&&r.event_id&&(o.event_id=r.event_id),ai(o)}function gp(e,t,n,r,s){let i;if(jd(t)&&t.error)return ou(e,t.error);if(Hm(t)||NO(t)){const o=t;if("stack"in t)i=ou(e,t);else{const a=o.name||(Hm(o)?"DOMError":"DOMException"),c=o.message?`${a}: ${o.message}`:a;i=Mf(e,c,n,r),mf(i,c)}return"code"in o&&(i.tags={...i.tags,"DOMException.code":`${o.code}`}),i}return Ys(t)?ou(e,t):Xr(t)||nl(t)?(i=kD(e,t,n,s),Qr(i,{synthetic:!0}),i):(i=Mf(e,t,n,r),mf(i,`${t}`),Qr(i,{synthetic:!0}),i)}function Mf(e,t,n,r){const s={};if(r&&n){const i=mp(e,n);i.length&&(s.exception={values:[{value:t,stacktrace:{frames:i}}]})}if(Hd(t)){const{__sentry_template_string__:i,__sentry_template_values__:o}=t;return s.logentry={message:i,params:o},s}return s.message=t,s}function OD(e,{isUnhandledRejection:t}){const n=GO(e),r=t?"promise rejection":"exception";return jd(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:nl(e)?`Event \`${MD(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function MD(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function kE(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:as(r)}},i=ND(e);return Zn(s,[i])}function ND(e){return[{type:"user_report"},e]}class xE extends gP{constructor(t){const n=se.SENTRY_SDK_SOURCE||mM();jP(t,"browser",["browser"],n),super(t),t.sendClientReports&&se.document&&se.document.addEventListener("visibilitychange",()=>{se.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(t,n){return IE(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",r){return CE(this._options.stackParser,t,n,r,this._options.attachStacktrace)}captureUserFeedback(t){if(!this._isEnabled()){ve&&I.warn("SDK not enabled, will not capture user feedback.");return}const n=kE(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)}_flushOutcomes(){const t=this._clearOutcomes();if(t.length===0){ve&&I.log("No outcomes to send");return}if(!this._dsn){ve&&I.log("No dsn provided, will not send outcomes");return}ve&&I.log("Sending outcomes:",t);const n=qM(t,this._options.tunnel&&as(this._dsn));this._sendEnvelope(n)}}
96let Xi;function PD(){if(Xi)return Xi;if(_f(se.fetch))return Xi=se.fetch.bind(se);const e=se.document;let t=se.fetch;if(e&&typeof e.createElement=="function")try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);const r=n.contentWindow;r&&r.fetch&&(t=r.fetch),e.head.removeChild(n)}catch(n){ve&&I.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return Xi=t.bind(se)}function LD(){Xi=void 0}function RE(e,t=PD()){let n=0,r=0;function s(i){const o=i.body.length;n+=o,r++;const a={body:i.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{return t(e.url,a).then(c=>(n-=o,r--,{statusCode:c.status,headers:{"x-sentry-rate-limits":c.headers.get("X-Sentry-Rate-Limits"),"retry-after":c.headers.get("Retry-After")}}))}catch(c){return LD(),n-=o,r--,Vd(c)}}return op(e,s)}const DD=4;function AE(e){function t(n){return new Bt((r,s)=>{const i=new XMLHttpRequest;i.onerror=s,i.onreadystatechange=()=>{i.readyState===DD&&r({statusCode:i.status,headers:{"x-sentry-rate-limits":i.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":i.getResponseHeader("Retry-After")}})},i.open("POST",e.url);for(const o in e.headers)Object.prototype.hasOwnProperty.call(e.headers,o)&&i.setRequestHeader(o,e.headers[o]);i.send(n.body)})}return op(e,t)}const Mi="?",$D=10,FD=20,BD=30,jD=40,HD=50;function Xo(e,t,n,r){const s={filename:e,function:t,in_app:!0};return n!==void 0&&(s.lineno=n),r!==void 0&&(s.colno=r),s}const UD=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,qD=/\((\S*)(?::(\d+))(?::(\d+))\)/,WD=e=>{const t=UD.exec(e);if(t){if(t[2]&&t[2].indexOf("eval")===0){const i=qD.exec(t[2]);i&&(t[2]=i[1],t[3]=i[2],t[4]=i[3])}const[r,s]=DE(t[1]||Mi,t[2]);return Xo(s,r,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}},OE=[BD,WD],zD=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,VD=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,GD=e=>{const t=zD.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const i=VD.exec(t[3]);i&&(t[1]=t[1]||"eval",t[3]=i[1],t[4]=i[2],t[5]="")}let r=t[3],s=t[1]||Mi;return[s,r]=DE(s,r),Xo(r,s,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},ME=[HD,GD],YD=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,KD=e=>{const t=YD.exec(e);return t?Xo(t[2],t[1]||Mi,+t[3],t[4]?+t[4]:void 0):void 0},NE=[jD,KD],JD=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,XD=e=>{const t=JD.exec(e);return t?Xo(t[2],t[3]||Mi,+t[1]):void 0},QD=[$D,XD],ZD=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,e$=e=>{const t=ZD.exec(e);return t?Xo(t[5],t[3]||t[4]||Mi,+t[1],+t[2]):void 0},t$=[FD,e$],PE=[OE,ME,NE],LE=Q0(...PE),DE=(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]:Mi,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},Ta=1024,$E="Breadcrumbs",n$=(e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:$E,setupOnce(){},setup(n){t.console&&Z0(i$(n)),t.dom&&tb(s$(n,t.dom)),t.xhr&&sl(o$(n)),t.fetch&&rl(a$(n)),t.history&&qo(c$(n)),t.sentry&&n.on&&n.on("beforeSendEvent",r$(n))}}},yp=n$,FE=We($E,yp);function r$(e){return function(n){ce()===e&&Kn({category:`sentry.${n.type==="transaction"?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:pr(n)},{event:n})}}function s$(e,t){return function(r){if(ce()!==e)return;let s,i,o=typeof t=="object"?t.serializeAttribute:void 0,a=typeof t=="object"&&typeof t.maxStringLength=="number"?t.maxStringLength:void 0;a&&a>Ta&&(ve&&I.warn(`\`dom.maxStringLength\` cannot exceed ${Ta}, but a value of ${a} was configured. Sentry will use ${Ta} instead.`),a=Ta),typeof o=="string"&&(o=[o]);try{const u=r.event,l=l$(u)?u.target:u;s=Er(l,{keyAttrs:o,maxStringLength:a}),i=z0(l)}catch{s="<unknown>"}if(s.length===0)return;const c={category:`ui.${r.name}`,message:s};i&&(c.data={"ui.component_name":i}),Kn(c,{event:r.event,name:r.name,global:r.global})}}function i$(e){return function(n){if(ce()!==e)return;const r={category:"console",data:{arguments:n.args,logger:"console"},level:ab(n.level),message:mc(n.args," ")};if(n.level==="assert")if(n.args[0]===!1)r.message=`Assertion failed: ${mc(n.args.slice(1)," ")||"console.assert"}`,r.data.arguments=n.args.slice(1);else return;Kn(r,{input:n.args,level:n.level})}}function o$(e){return function(n){if(ce()!==e)return;const{startTimestamp:r,endTimestamp:s}=n,i=n.xhr[Bn];if(!r||!s||!i)return;const{method:o,url:a,status_code:c,body:u}=i,l={method:o,url:a,status_code:c},f={xhr:n.xhr,input:u,startTimestamp:r,endTimestamp:s};Kn({category:"xhr",data:l,type:"http"},f)}}function a$(e){return function(n){if(ce()!==e)return;const{startTimestamp:r,endTimestamp:s}=n;
96if(s&&!(n.fetchData.url.match(/sentry_key/)&&n.fetchData.method==="POST"))if(n.error){const i=n.fetchData,o={data:n.error,input:n.args,startTimestamp:r,endTimestamp:s};Kn({category:"fetch",data:i,level:"error",type:"http"},o)}else{const i=n.response,o={...n.fetchData,status_code:i&&i.status},a={input:n.args,response:i,startTimestamp:r,endTimestamp:s};Kn({category:"fetch",data:o,type:"http"},a)}}}function c$(e){return function(n){if(ce()!==e)return;let r=n.from,s=n.to;const i=Vr(se.location.href);let o=r?Vr(r):void 0;const a=Vr(s);(!o||!o.path)&&(o=i),i.protocol===a.protocol&&i.host===a.host&&(s=a.relative),i.protocol===o.protocol&&i.host===o.host&&(r=o.relative),Kn({category:"navigation",data:{from:r,to:s}})}}function l$(e){return!!e&&!!e.target}const BE="Dedupe",u$=()=>{let e;return{name:BE,setupOnce(){},processEvent(t){if(t.type)return t;try{if(f$(t,e))return ve&&I.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}},jE=u$,HE=We(BE,jE);function f$(e,t){return t?!!(d$(e,t)||p$(e,t)):!1}function d$(e,t){const n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!qE(e,t)||!UE(e,t))}function p$(e,t){const n=Rg(t),r=Rg(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!qE(e,t)||!UE(e,t))}function UE(e,t){let n=Ag(e),r=Ag(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let s=0;s<r.length;s++){const i=r[s],o=n[s];if(i.filename!==o.filename||i.lineno!==o.lineno||i.colno!==o.colno||i.function!==o.function)return!1}return!0}function qE(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 Rg(e){return e.exception&&e.exception.values&&e.exception.values[0]}function Ag(e){const t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch{return}}const WE="GlobalHandlers",h$=(e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:WE,setupOnce(){Error.stackTraceLimit=50},setup(n){t.onerror&&(m$(n),Og("onerror")),t.onunhandledrejection&&(g$(n),Og("onunhandledrejection"))}}},_p=h$,zE=We(WE,_p);function m$(e){sb(t=>{const{stackParser:n,attachStacktrace:r}=GE();if(ce()!==e||TE())return;const{msg:s,url:i,line:o,column:a,error:c}=t,u=c===void 0&&Tn(s)?v$(s,i,o,a):VE(gp(n,c||s,void 0,r,!1),i,o,a);u.level="error",Vo(u,{originalException:c,mechanism:{handled:!1,type:"onerror"}})})}function g$(e){ib(t=>{const{stackParser:n,attachStacktrace:r}=GE();if(ce()!==e||TE())return;const s=y$(t),i=Ud(s)?_$(s):gp(n,s,void 0,r,!0);i.level="error",Vo(i,{originalException:s,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function y$(e){if(Ud(e))return e;const t=e;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch{}return e}function _$(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function v$(e,t,n,r){const s=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let i=jd(e)?e.message:e,o="Error";const a=i.match(s);return a&&(o=a[1],i=a[2]),VE({exception:{values:[{type:o,value:i}]}},t,n,r)}function VE(e,t,n,r){const s=e.exception=e.exception||{},i=s.values=s.values||[],o=i[0]=i[0]||{},a=o.stacktrace=o.stacktrace||{},c=a.frames=a.frames||[],u=isNaN(parseInt(r,10))?void 0:r,l=isNaN(parseInt(n,10))?void 0:n,f=Tn(t)&&t.length>0?t:q0();return c.length===0&&c.push({colno:u,filename:f,function:"?",in_app:!0,lineno:l}),e}function Og(e){ve&&I.log(`Global Handler attached: ${e}`)}function GE(){const e=ce();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const YE="HttpContext",b$=()=>({name:YE,setupOnce(){},preprocessEvent(e){if(!se.navigator&&!se.location&&!se.document)return;const t=e.request&&e.request.url||se.location&&se.location.href,{referrer:n}=se.document||{},{userAgent:r}=se.navigator||{},s={...e.request&&e.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},i={...e.request,...t&&{url:t},headers:s};e.request=i}}),vp=b$,KE=We(YE,vp),E$="cause",S$=5,JE="LinkedErrors",w$=(e={})=>{const t=e.limit||S$,n=e.key||E$;return{name:JE,setupOnce(){},preprocessEvent(r,s,i){const o=i.getOptions();H0(hp,o.stackParser,o.maxValueLength,n,t,r,s)}}},bp=w$,XE=We(JE,bp),T$=["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"],QE="TryCatch",I$=(e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:QE,setupOnce(){t.setTimeout&&at(se,"setTimeout",Mg),t.setInterval&&at(se,"setInterval",Mg),t.requestAnimationFrame&&at(se,"requestAnimationFrame",C$),t.XMLHttpRequest&&"XMLHttpRequest"in se&&at(XMLHttpRequest.prototype,"send",k$);const n=t.eventTarget;n&&(Array.isArray(n)?n:T$).forEach(x$)}}},Ep=I$,ZE=We(QE,Ep);function Mg(e){return function(...t){const n=t[0];return t[0]=ts(n,{mechanism:{data:{function:Yn(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function C$(e){return function(t){return e.apply(this,[ts(t,{mechanism:{data:{function:"requestAnimationFrame",handler:Yn(e)},handled:!1,type:"instrument"}})])}}function k$(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(s=>{s in n&&typeof n[s]=="function"&&at(n,s,function(i){const o={mechanism:{data:{function:s,handler:Yn(i)},handled:!1,type:"instrument"}},a=Wd(i);return a&&(o.mechanism.data.handler=Yn(a)),ts(i,o)})}),e.apply(this,t)}}function x$(e){const t=se,n=t[e]&&t[e].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty("addEventListener")||(at(n,"addEventListener",function(r){return function(s,i,o){try{typeof i.handleEvent=="function"&&(i.handleEvent=ts(i.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Yn(i),target:e},handled:!1,type:"instrument"}}))}catch{}return r.apply(this,[s,ts(i,{mechanism:{data:{function:"addEventListener",handler:Yn(i),target:e},handled:!1,type:"instrument"}}),o])}}),at(n,"removeEventListener",function(r){return function(s,i,o){const a=i;try{const c=a&&a.__sentry_wrapped__;c&&r.call(this,s,c,o)}catch{}return r.call(this,s,a,o)}}))}const eS=[ap(),cp(),Ep(),yp(),_p(),bp(),jE(),vp()];function Sp(e){return[...eS]}function R$(e={}){e.defaultIntegrations===void 0&&(e.defaultIntegrations=Sp()),e.release===void 0&&(typeof __SENTRY_RELEASE__=="string"&&(e.release=__SENTRY_RELEASE__),se.SENTRY_RELEASE&&se.SENTRY_RELEASE.id&&(e.release=se.SENTRY_RELEASE.id)),e.autoSessionTracking===void 0&&(e.autoSessionTracking=!0),e.sendClientReports===void 0&&(e.sendClientReports=!0);const t={...e,stackParser:KO(e.stackParser||LE),integrations:eP(e),transport:e.transport||(nb()?RE:AE)};IP(xE,t),e.autoSessionTracking&&P$()}const A$=(e={}
96,t=ke())=>{if(!se.document){ve&&I.error("Global document not defined in showReportDialog call");return}const{client:n,scope:r}=t.getStackTop(),s=e.dsn||n&&n.getDsn();if(!s){ve&&I.error("DSN not configured for showReportDialog call");return}r&&(e.user={...r.getUser(),...e.user}),e.eventId||(e.eventId=t.lastEventId());const i=se.document.createElement("script");i.async=!0,i.crossOrigin="anonymous",i.src=QN(s,e),e.onLoad&&(i.onload=e.onLoad);const{onClose:o}=e;if(o){const c=u=>{if(u.data==="__sentry_reportdialog_closed__")try{o()}finally{se.removeEventListener("message",c)}};se.addEventListener("message",c)}const a=se.document.head||se.document.body;a?a.appendChild(i):ve&&I.error("Not injecting report dialog. No injection point found in HTML")};function O$(){}function M$(e){e()}function N$(e){return ts(e)()}function P$(){if(typeof se.document>"u"){ve&&I.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}Tf({ignoreDuration:!0}),If(),qo(({from:e,to:t})=>{e!==void 0&&e!==t&&(Tf({
96ignoreDuration:!0}),If())})}function L$(e){const t=ce();t&&t.captureUserFeedback(e)}const D$=Object.freeze(Object.defineProperty({__proto__:null,Breadcrumbs:FE,Dedupe:HE,GlobalHandlers:zE,HttpContext:KE,LinkedErrors:XE,TryCatch:ZE},Symbol.toStringTag,{value:"Module"})),Pe=ue,wp="sentryReplaySession",$$="replay_event",Tp="Unable to send Replay",F$=3e5,B$=9e5,j$=5e3,H$=5500,U$=6e4,q$=5e3,W$=3,Ng=15e4,Ia=5e3,z$=3e3,V$=300,Ip=2e7,G$=4999,Y$=15e3,Pg=36e5;function K$(e,t){return e??t()}function kc(e){let t,n=e[0],r=1;for(;r<e.length;){const s=e[r],i=e[r+1];if(r+=2,(s==="optionalAccess"||s==="optionalCall")&&n==null)return;s==="access"||s==="optionalAccess"?(t=n,n=i(n)):(s==="call"||s==="optionalCall")&&(n=i((...o)=>n.call(t,...o)),t=void 0)}return n}var tt;(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"})(tt||(tt={}));function J$(e){return e.nodeType===e.ELEMENT_NODE}function po(e){const t=kc([e,"optionalAccess",n=>n.host]);return kc([t,"optionalAccess",n=>n.shadowRoot])===e}function ho(e){return Object.prototype.toString.call(e)==="[object ShadowRoot]"}function X$(e){return e.includes(" background-clip: text;")&&!e.includes(" -webkit-background-clip: text;")&&(e=e.replace(" background-clip: text;"," -webkit-background-clip: text; background-clip: text;")),e}function Q$(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 xc(e){try{const t=e.rules||e.cssRules;return t?X$(Array.from(t,tS).join("")):null}catch{return null}}function tS(e){let t;if(e2(e))try{t=xc(e.styleSheet)||Q$(e)}catch{}else if(t2(e)&&e.selectorText.includes(":"))return Z$(e.cssText);return t||e.cssText}function Z$(e){const t=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(t,"$1\\$2")}function e2(e){return"styleSheet"in e}function t2(e){return"selectorText"in e}class nS{constructor(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}getId(t){if(!t)return-1;const n=kc([this,"access",r=>r.getMeta,"call",r=>r(t),"optionalAccess",r=>r.id]);return K$(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 n2(){return new nS}function ml({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 Oo({isMasked:e,element:t,value:n,maskInputFn:r}){let s=n||"";return e?(r&&(s=r(s,t)),"*".repeat(s.length)):s}function di(e){return e.toLowerCase()}function Nf(e){return e.toUpperCase()}const Lg="__rrweb_original__";function r2(e){const t=e.getContext("2d");if(!t)return!0;const n=50;for(let r=0;r<e.width;r+=n)for(let s=0;s<e.height;s+=n){const i=t.getImageData,o=Lg in i?i[Lg]:i;if(new Uint32Array(o.call(t,r,s,Math.min(n,e.width-r),Math.min(n,e.height-s)).data.buffer).some(c=>c!==0))return!1}return!0}function Cp(e){const t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?di(t):null}function Rc(e,t,n){return t==="INPUT"&&(n==="radio"||n==="checkbox")?e.getAttribute("value")||"":e.value}let s2=1;const i2=new RegExp("[^a-z0-9-_:]"),Mo=-2;function kp(){return s2++}function o2(e){if(e instanceof HTMLFormElement)return"form";const t=di(e.tagName);return i2.test(t)?"div":t}function a2(e){let t="";return e.indexOf("//")>-1?t=e.split("/").slice(0,3).join("/"):t=e.split("/")[0],t=t.split("?")[0],t}let vs,Dg;const c2=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,l2=/^(?:[a-z+]+:)?\/\//i,u2=/^www\..*/i,f2=/^(data:)([^,]*),(.*)/i;function Ac(e,t){return(e||"").replace(c2,(n,r,s,i,o,a)=>{const c=s||o||a,u=r||i||"";if(!c)return n;if(l2.test(c)||u2.test(c))return`url(${u}${c}${u})`;if(f2.test(c))return`url(${u}${c}${u})`;if(c[0]==="/")return`url(${u}${a2(t)+c}${u})`;const l=t.split("/"),f=c.split("/");l.pop();for(const d of f)d!=="."&&(d===".."?l.pop():l.push(d));return`url(${u}${l.join("/")}${u})`})}const d2=/^[^ \t\n\r\u000c]+/,p2=/^[, \t\n\r\u000c]+/;function h2(e,t){if(t.trim()==="")return t;let n=0;function r(i){let o;const a=i.exec(t.substring(n));return a?(o=a[0],n+=o.length,o):""}const s=[];for(;r(p2),!(n>=t.length);){let i=r(d2);if(i.slice(-1)===",")i=Ms(e,i.substring(0,i.length-1)),s.push(i);else{let o="";i=Ms(e,i);let a=!1;for(;;){const c=t.charAt(n);if(c===""){s.push((i+o).trim());break}else if(a)c===")"&&(a=!1);else if(c===","){n+=1,s.push((i+o).trim());break}else c==="("&&(a=!0);o+=c,n+=1}}}return s.join(", ")}function Ms(e,t){if(!t||t.trim()==="")return t;const n=e.createElement("a");return n.href=t,n.href}function m2(e){return!!(e.tagName==="svg"||e.ownerSVGElement)}function xp(){const e=document.createElement("a");return e.href="",e.href}function rS(e,t,n,r,s,i){return r&&(n==="src"||n==="href"&&!(t==="use"&&r[0]==="#")||n==="xlink:href"&&r[0]!=="#"||n==="background"&&(t==="table"||t==="td"||t==="th")?Ms(e,r):n==="srcset"?h2(e,r):n==="style"?Ac(r,xp()):t==="object"&&n==="data"?Ms(e,r):typeof i=="function"?i(n,r,s):r)}function sS(e,t,n){return(e==="video"||e==="audio")&&t==="autoplay"}function g2(e,t,n,r){try{if(r&&e.matches(r))return!1;if(typeof t=="string"){if(e.classList.contains(t))return!0}else for(let s=e.classList.length;s--;){const i=e.classList[s];if(t.test(i))return!0}if(n)return e.matches(n)}catch{}return!1}function y2(e,t){for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}return!1}function Br(e,t,n=1/0,r=0){return!e||e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:Br(e.parentNode,t,n,r+1)}function Ns(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(y2(r,e))return!0}return!!(t&&r.matches(t))}catch{return!1}}}function pi(e,t,n,r,s,i){try{const o=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(o===null)return!1;if(o.tagName==="INPUT"){const u=o.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(u))return!0}let a=-1,c=-1;if(i){if(c=Br(o,Ns(r,s)),c<0)return!0;a=Br(o,Ns(t,n),c>=0?c:1/0)}else{if(a=Br(o,Ns(t,n)),a<0)return!1;c=Br(o,Ns(r,s),a>=0?a:1/0)}return a>=0?c>=0?a<=c:!0:c>=0?!1:!!i}catch{}return!!i}function _2(e,t,n){const r=e.contentWindow;if(!r)return;let s=!1,i;try{i=r.document.readyState}catch{return}if(i!=="complete"){const a=setTimeout(()=>{s||(t(),s=!0)},n);e.addEventListener("load",()=>{clearTimeout(a),s=!0,t()});return}const o="about:blank";if(r.location.href!==o||e.src===o||e.src==="")return setTimeout(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}function v2(e,t,n){let r=!1,s;try{s=e.sheet}catch{return}if(s)return;const i=setTimeout(()=>{r||(t(),r=!0)},n);e.addEventListener("load",()=>{clearTimeout(i),r=!0,t()})}function b2(e,t){const{doc:n,mirror:r,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:a,maskAttributeFn:c,maskTextClass:u,unmaskTextClass:l,maskTextSelector:f,unmaskTextSelector:d,inlineStylesheet:p,maskInputOptions:h={},maskTextFn:m,maskInputFn:v,dataURLOptions:y={}
96,inlineImages:_,recordCanvas:g,keepIframeSrcFn:b,newlyAddedElement:S=!1}=t,T=E2(n,r);switch(e.nodeType){case e.DOCUMENT_NODE:return e.compatMode!=="CSS1Compat"?{type:tt.Document,childNodes:[],compatMode:e.compatMode}:{type:tt.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:tt.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:T};case e.ELEMENT_NODE:return w2(e,{doc:n,blockClass:s,blockSelector:i,unblockSelector:o,inlineStylesheet:p,maskAttributeFn:c,maskInputOptions:h,maskInputFn:v,dataURLOptions:y,inlineImages:_,recordCanvas:g,keepIframeSrcFn:b,newlyAddedElement:S,rootId:T,maskTextClass:u,unmaskTextClass:l,maskTextSelector:f,unmaskTextSelector:d});case e.TEXT_NODE:return S2(e,{maskAllText:a,maskTextClass:u,unmaskTextClass:l,maskTextSelector:f,unmaskTextSelector:d,maskTextFn:m,maskInputOptions:h,maskInputFn:v,rootId:T});case e.CDATA_SECTION_NODE:return{type:tt.CDATA,textContent:"",rootId:T};case e.COMMENT_NODE:return{type:tt.Comment,textContent:e.textContent||"",rootId:T};default:return!1}}function E2(e,t){if(!t.hasNode(e))return;const n=t.getId(e);return n===1?void 0:n}function S2(e,t){const{maskAllText:n,maskTextClass:r,unmaskTextClass:s,maskTextSelector:i,unmaskTextSelector:o,maskTextFn:a,maskInputOptions:c,maskInputFn:u,rootId:l}=t,f=e.parentNode&&e.parentNode.tagName;let d=e.textContent;const p=f==="STYLE"?!0:void 0,h=f==="SCRIPT"?!0:void 0,m=f==="TEXTAREA"?!0:void 0;if(p&&d){try{e.nextSibling||e.previousSibling||kc([e,"access",y=>y.parentNode,"access",y=>y.sheet,"optionalAccess",y=>y.cssRules])&&(d=xc(e.parentNode.sheet))}catch(y){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${y}`,e)}d=Ac(d,xp())}h&&(d="SCRIPT_PLACEHOLDER");const v=pi(e,r,i,s,o,n);if(!p&&!h&&!m&&d&&v&&(d=a?a(d,e.parentElement):d.replace(/[\S]/g,"*")),m&&d&&(c.textarea||v)&&(d=u?u(d,e.parentNode):d.replace(/[\S]/g,"*")),f==="OPTION"&&d){const y=ml({type:null,tagName:f,maskInputOptions:c});d=Oo({isMasked:pi(e,r,i,s,o,y),element:e,value:d,maskInputFn:u})}return{type:tt.Text,textContent:d||"",isStyle:p,rootId:l}}function w2(e,t){const{doc:n,blockClass:r,blockSelector:s,unblockSelector:i,inlineStylesheet:o,maskInputOptions:a={},maskAttributeFn:c,maskInputFn:u,dataURLOptions:l={},inlineImages:f,recordCanvas:d,keepIframeSrcFn:p,newlyAddedElement:h=!1,rootId:m,maskTextClass:v,unmaskTextClass:y,maskTextSelector:_,unmaskTextSelector:g}=t,b=g2(e,r,s,i),S=o2(e);let T={};const C=e.attributes.length;for(let x=0;x<C;x++){const k=e.attributes[x];k.name&&!sS(S,k.name,k.value)&&(T[k.name]=rS(n,S,di(k.name),k.value,e,c))}if(S==="link"&&o){const x=Array.from(n.styleSheets).find(B=>B.href===e.href);let k=null;x&&(k=xc(x)),k&&(delete T.rel,delete T.href,T._cssText=Ac(k,x.href))}if(S==="style"&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){const x=xc(e.sheet);x&&(T._cssText=Ac(x,xp()))}if(S==="input"||S==="textarea"||S==="select"||S==="option"){const x=e,k=Cp(x),B=Rc(x,Nf(S),k),A=x.checked;if(k!=="submit"&&k!=="button"&&B){const U=pi(x,v,_,y,g,ml({type:k,tagName:Nf(S),maskInputOptions:a}));T.value=Oo({isMasked:U,element:x,value:B,maskInputFn:u})}A&&(T.checked=A)}if(S==="option"&&(e.selected&&!a.select?T.selected=!0:delete T.selected),S==="canvas"&&d){if(e.__context==="2d")r2(e)||(T.rr_dataURL=e.toDataURL(l.type,l.quality));else if(!("__context"in e)){const x=e.toDataURL(l.type,l.quality),k=document.createElement("canvas");k.width=e.width,k.height=e.height;const B=k.toDataURL(l.type,l.quality);x!==B&&(T.rr_dataURL=x)}}if(S==="img"&&f){vs||(vs=n.createElement("canvas"),Dg=vs.getContext("2d"));const x=e,k=x.crossOrigin;x.crossOrigin="anonymous";const B=()=>{x.removeEventListener("load",B);try{vs.width=x.naturalWidth,vs.height=x.naturalHeight,Dg.drawImage(x,0,0),T.rr_dataURL=vs.toDataURL(l.type,l.quality)}catch(A){console.warn(`Cannot inline img src=${x.currentSrc}! Error: ${A}`)}k?T.crossOrigin=k:x.removeAttribute("crossorigin")};x.complete&&x.naturalWidth!==0?B():x.addEventListener("load",B)}if((S==="audio"||S==="video")&&(T.rr_mediaState=e.paused?"paused":"played",T.rr_mediaCurrentTime=e.currentTime),h||(e.scrollLeft&&(T.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(T.rr_scrollTop=e.scrollTop)),b){const{width:x,height:k}=e.getBoundingClientRect();T={class:T.class,rr_width:`${x}px`,rr_height:`${k}
96px`}}S==="iframe"&&!p(T.src)&&(e.contentDocument||(T.rr_src=T.src),delete T.src);let M;try{customElements.get(S)&&(M=!0)}catch{}return{type:tt.Element,tagName:S,attributes:T,childNodes:[],isSVG:m2(e)||void 0,needBlock:b,rootId:m,isCustom:M}}function Me(e){return e==null?"":e.toLowerCase()}function T2(e,t){if(t.comment&&e.type===tt.Comment)return!0;if(e.type===tt.Element){if(t.script&&(e.tagName==="script"||e.tagName==="link"&&(e.attributes.rel==="preload"||e.attributes.rel==="modulepreload")&&e.attributes.as==="script"||e.tagName==="link"&&e.attributes.rel==="prefetch"&&typeof e.attributes.href=="string"&&e.attributes.href.endsWith(".js")))return!0;if(t.headFavicon&&(e.tagName==="link"&&e.attributes.rel==="shortcut icon"||e.tagName==="meta"&&(Me(e.attributes.name).match(/^msapplication-tile(image|color)$/)||Me(e.attributes.name)==="application-name"||Me(e.attributes.rel)==="icon"||Me(e.attributes.rel)==="apple-touch-icon"||Me(e.attributes.rel)==="shortcut icon")))return!0;if(e.tagName==="meta"){if(t.headMetaDescKeywords&&Me(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(Me(e.attributes.property).match(/^(og|twitter|fb):/)||Me(e.attributes.name).match(/^(og|twitter):/)||Me(e.attributes.name)==="pinterest"))return!0;if(t.headMetaRobots&&(Me(e.attributes.name)==="robots"||Me(e.attributes.name)==="googlebot"||Me(e.attributes.name)==="bingbot"))return!0;if(t.headMetaHttpEquiv&&e.attributes["http-equiv"]!==void 0)return!0;if(t.headMetaAuthorship&&(Me(e.attributes.name)==="author"||Me(e.attributes.name)==="generator"||Me(e.attributes.name)==="framework"||Me(e.attributes.name)==="publisher"||Me(e.attributes.name)==="progid"||Me(e.attributes.property).match(/^article:/)||Me(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&(Me(e.attributes.name)==="google-site-verification"||Me(e.attributes.name)==="yandex-verification"||Me(e.attributes.name)==="csrf-token"||Me(e.attributes.name)==="p:domain_verify"||Me(e.attributes.name)==="verify-v1"||Me(e.attributes.name)==="verification"||Me(e.attributes.name)==="shopify-checkout-api-token"))return!0}}return!1}function Ps(e,t){const{doc:n,mirror:r,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:a,maskTextClass:c,unmaskTextClass:u,maskTextSelector:l,unmaskTextSelector:f,skipChild:d=!1,inlineStylesheet:p=!0,maskInputOptions:h={},maskAttributeFn:m,maskTextFn:v,maskInputFn:y,slimDOMOptions:_,dataURLOptions:g={},inlineImages:b=!1,recordCanvas:S=!1,onSerialize:T,onIframeLoad:C,iframeLoadTimeout:M=5e3,onStylesheetLoad:x,stylesheetLoadTimeout:k=5e3,keepIframeSrcFn:B=()=>!1,newlyAddedElement:A=!1}=t;let{preserveWhiteSpace:U=!0}=t;const X=b2(e,{doc:n,mirror:r,blockClass:s,blockSelector:i,maskAllText:a,unblockSelector:o,maskTextClass:c,unmaskTextClass:u,maskTextSelector:l,unmaskTextSelector:f,inlineStylesheet:p,maskInputOptions:h,maskAttributeFn:m,maskTextFn:v,maskInputFn:y,dataURLOptions:g,inlineImages:b,recordCanvas:S,keepIframeSrcFn:B,newlyAddedElement:A});if(!X)return console.warn(e,"not serialized"),null;let re;r.hasNode(e)?re=r.getId(e):T2(X,_)||!U&&X.type===tt.Text&&!X.isStyle&&!X.textContent.replace(/^\s+|\s+$/gm,"").length?re=Mo:re=kp();const $=Object.assign(X,{id:re});if(r.add(e,$),re===Mo)return null;T&&T(e);let Y=!d;if($.type===tt.Element){Y=Y&&!$.needBlock,delete $.needBlock;const q=e.shadowRoot;q&&ho(q)&&($.isShadowHost=!0)}if(($.type===tt.Document||$.type===tt.Element)&&Y){_.headWhitespace&&$.type===tt.Element&&$.tagName==="head"&&(U=!1);const q={doc:n,mirror:r,blockClass:s,blockSelector:i,maskAllText:a,unblockSelector:o,maskTextClass:c,unmaskTextClass:u,maskTextSelector:l,unmaskTextSelector:f,skipChild:d,inlineStylesheet:p,maskInputOptions:h,maskAttributeFn:m,maskTextFn:v,maskInputFn:y,slimDOMOptions:_,dataURLOptions:g,inlineImages:b,recordCanvas:S,preserveWhiteSpace:U,onSerialize:T,onIframeLoad:C,iframeLoadTimeout:M,onStylesheetLoad:x,stylesheetLoadTimeout:k,keepIframeSrcFn:B};for(const fe of Array.from(e.childNodes)){const je=Ps(fe,q);je&&$.childNodes.push(je)}if(J$(e)&&e.shadowRoot)for(const fe of Array.from(e.shadowRoot.childNodes)){const je=Ps(fe,q);je&&(ho(e.shadowRoot)&&(je.isShadow=!0),$.childNodes.push(je))}}return e.parentNode&&po(e.parentNode)&&ho(e.parentNode)&&($.isShadow=!0),$.type===tt.Element&&$.tagName==="iframe"&&_2(e,()=>{const q=e.contentDocument;if(q&&C){const fe=Ps(q,{doc:q,mirror:r,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:a,maskTextClass:c,unmaskTextClass:u,maskTextSelector:l,unmaskTextSelector:f,skipChild:!1,inlineStylesheet:p,maskInputOptions:h,maskAttributeFn:m,maskTextFn:v,maskInputFn:y,slimDOMOptions:_,dataURLOptions:g,inlineImages:b,recordCanvas:S,preserveWhiteSpace:U,onSerialize:T,onIframeLoad:C,iframeLoadTimeout:M,onStylesheetLoad:x,stylesheetLoadTimeout:k,keepIframeSrcFn:B});fe&&C(e,fe)}},M),$.type===tt.Element&&$.tagName==="link"&&$.attributes.rel==="stylesheet"&&v2(e,()=>{if(x){const q=Ps(e,{doc:n,mirror:r,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:a,maskTextClass:c,unmaskTextClass:u,maskTextSelector:l,unmaskTextSelector:f,skipChild:!1,inlineStylesheet:p,maskInputOptions:h,maskAttributeFn:m,maskTextFn:v,maskInputFn:y,slimDOMOptions:_,dataURLOptions:g,inlineImages:b,recordCanvas:S,preserveWhiteSpace:U,onSerialize:T,onIframeLoad:C,iframeLoadTimeout:M,onStylesheetLoad:x,stylesheetLoadTimeout:k,keepIframeSrcFn:B});q&&x(e,q)}},k),$}function I2(e,t){const{mirror:n=new nS,blockClass:r="rr-block",blockSelector:s=null,unblockSelector:i=null,maskAllText:o=!1,maskTextClass:a="rr-mask",unmaskTextClass:c=null,maskTextSelector:u=null,unmaskTextSelector:l=null,inlineStylesheet:f=!0,inlineImages:d=!1,recordCanvas:p=!1,maskAllInputs:h=!1,maskAttributeFn:m,maskTextFn:v,maskInputFn:y,slimDOM:_=!1,dataURLOptions:g,preserveWhiteSpace:b,onSerialize:S,onIframeLoad:T,iframeLoadTimeout:C,onStylesheetLoad:M,stylesheetLoadTimeout:x,keepIframeSrcFn:k=()=>!1}=t||{};return Ps(e,{doc:e,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,maskAllText:o,maskTextClass:a,unmaskTextClass:c,maskTextSelector:u,unmaskTextSelector:l,skipChild:!1,inlineStylesheet:f,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:v,maskInputFn:y,slimDOMOptions:_===!0||_==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:_==="all",headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}
96:_===!1?{}:_,dataURLOptions:g,inlineImages:d,recordCanvas:p,preserveWhiteSpace:b,onSerialize:S,onIframeLoad:T,iframeLoadTimeout:C,onStylesheetLoad:M,stylesheetLoadTimeout:x,keepIframeSrcFn:k,newlyAddedElement:!1})}function ar(e){let t,n=e[0],r=1;for(;r<e.length;){const s=e[r],i=e[r+1];if(r+=2,(s==="optionalAccess"||s==="optionalCall")&&n==null)return;s==="access"||s==="optionalAccess"?(t=n,n=i(n)):(s==="call"||s==="optionalCall")&&(n=i((...o)=>n.call(t,...o)),t=void 0)}return n}function xt(e,t,n=document){const r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}const ks=`Please stop import mirror directly. Instead of that,\r 97now you can use replayer.getMirror() to access the mirror instance of a replayer,\r 98or you can use record.mirror to access the mirror instance during recording.`;let $g={map:{},getId(){return console.error(ks),-1},getNode(){return console.error(ks),null},removeNodeFromMap(){console.error(ks)},has(){return console.error(ks),!1},reset(){console.error(ks)}};typeof window<"u"&&window.Proxy&&window.Reflect&&($g=new Proxy($g,{get(e,t,n){return t==="map"&&console.error(ks),Reflect.get(e,t,n)}}));function No(e,t,n={}){let r=null,s=0;return function(...i){const o=Date.now();!s&&n.leading===!1&&(s=o);const a=t-(o-s),c=this;a<=0||a>t?(r&&(M2(r),r=null),s=o,e.apply(c,i)):!r&&n.trailing!==!1&&(r=gl(()=>{s=n.leading===!1?0:Date.now(),r=null,e.apply(c,i)},a))}}function iS(e,t,n,r,s=window){const i=s.Object.getOwnPropertyDescriptor(e,t);return s.Object.defineProperty(e,t,r?n:{set(o){gl(()=>{n.set.call(this,o)},0),i&&i.set&&i.set.call(this,o)}}),()=>iS(e,t,i||{},!0)}function Rp(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 Oc=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(Oc=()=>new Date().getTime());function oS(e){const t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:e.pageXOffset!==void 0?e.pageXOffset:ar([t,"optionalAccess",n=>n.documentElement,"access",n=>n.scrollLeft])||ar([t,"optionalAccess",n=>n.body,"optionalAccess",n=>n.parentElement,"optionalAccess",n=>n.scrollLeft])||ar([t,"optionalAccess",n=>n.body,"optionalAccess",n=>n.scrollLeft])||0,top:t.scrollingElement?t.scrollingElement.scrollTop:e.pageYOffset!==void 0?e.pageYOffset:ar([t,"optionalAccess",n=>n.documentElement,"access",n=>n.scrollTop])||ar([t,"optionalAccess",n=>n.body,"optionalAccess",n=>n.parentElement,"optionalAccess",n=>n.scrollTop])||ar([t,"optionalAccess",n=>n.body,"optionalAccess",n=>n.scrollTop])||0}}function aS(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function cS(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function lS(e){return e?e.nodeType===e.ELEMENT_NODE?e:e.parentElement:null}function tn(e,t,n,r,s){if(!e)return!1;const i=lS(e);if(!i)return!1;const o=Ns(t,n);if(!s){const u=r&&i.matches(r);return o(i)&&!u}const a=Br(i,o);let c=-1;return a<0?!1:(r&&(c=Br(i,Ns(null,r))),a>-1&&c<0?!0:a<c)}function C2(e,t){return t.getId(e)!==-1}function au(e,t){return t.getId(e)===Mo}function uS(e,t){if(po(e))return!1;const n=t.getId(e);return t.has(n)?e.parentNode&&e.parentNode.nodeType===e.DOCUMENT_NODE?!1:e.parentNode?uS(e.parentNode,t):!0:!0}function Pf(e){return!!e.changedTouches}function k2(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 fS(e,t){return!!(e.nodeName==="IFRAME"&&t.getMeta(e))}function dS(e,t){return!!(e.nodeName==="LINK"&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&e.getAttribute("rel")==="stylesheet"&&t.getMeta(e))}function Lf(e){return!!ar([e,"optionalAccess",t=>t.shadowRoot])}class x2{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(t){return YM(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 ar([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 R2(e){let t=e,n;for(;n=pS(t);)t=n;return t}function A2(e){const t=e.ownerDocument;if(!t)return!1;const n=R2(e);return t.contains(n)}function hS(e){const t=e.ownerDocument;return t?t.contains(e)||A2(e):!1}const Fg={};function Ap(e){const t=Fg[e];if(t)return t;const n=window.document;let r=window[e];if(n&&typeof n.createElement=="function")try{const s=n.createElement("iframe");s.hidden=!0,n.head.appendChild(s);const i=s.contentWindow;i&&i[e]&&(r=i[e]),n.head.removeChild(s)}catch{}return Fg[e]=r.bind(window)}function O2(...e){return Ap("requestAnimationFrame")(...e)}
98function gl(...e){return Ap("setTimeout")(...e)}function M2(...e){return Ap("clearTimeout")(...e)}var de=(e=>(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))(de||{}),pe=(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))(pe||{}),It=(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))(It||{}),Mn=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(Mn||{});function N2(e){let t,n=e[0],r=1;for(;r<e.length;){const s=e[r],i=e[r+1];if(r+=2,(s==="optionalAccess"||s==="optionalCall")&&n==null)return;s==="access"||s==="optionalAccess"?(t=n,n=i(n)):(s==="call"||s==="optionalCall")&&(n=i((...o)=>n.call(t,...o)),t=void 0)}return n}function Bg(e){return"__ln"in e}class P2{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=N2([n,"optionalAccess",s=>s.next])||null;return n}addNode(t){const n={value:t,previous:null,next:null};if(t.__ln=n,t.previousSibling&&Bg(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&&Bg(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 jg=(e,t)=>`${e}@${t}`;class L2{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 P2,s=c=>{let u=c,l=Mo;for(;l===Mo;)u=u&&u.nextSibling,l=u&&this.mirror.getId(u);return l},i=c=>{if(!c.parentNode||!hS(c))return;const u=po(c.parentNode)?this.mirror.getId(pS(c)):this.mirror.getId(c.parentNode),l=s(c);if(u===-1||l===-1)return r.addNode(c);const f=Ps(c,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:d=>{fS(d,this.mirror)&&this.iframeManager.addIframe(d),dS(d,this.mirror)&&this.stylesheetManager.trackLinkElement(d),Lf(c)&&this.shadowDomManager.addShadowRoot(c.shadowRoot,this.doc)},onIframeLoad:(d,p)=>{this.iframeManager.attachIframe(d,p),this.shadowDomManager.observeAttachShadow(d)},onStylesheetLoad:(d,p)=>{this.stylesheetManager.attachLinkElement(d,p)}});f&&(t.push({parentId:u,nextId:l,node:f}),n.add(f.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const c of this.movedSet)Hg(this.removes,c,this.mirror)&&!this.movedSet.has(c.parentNode)||i(c);for(const c of this.addedSet)!Ug(this.droppedSet,c)&&!Hg(this.removes,c,this.mirror)||Ug(this.movedSet,c)?i(c):this.droppedSet.add(c);let o=null;for(;r.length;){let c=null;if(o){const u=this.mirror.getId(o.value.parentNode),l=s(o.value);u!==-1&&l!==-1&&(c=o)}if(!c){let u=r.tail;for(;u;){const l=u;if(u=u.previous,l){const f=this.mirror.getId(l.value.parentNode);
98if(s(l.value)===-1)continue;if(f!==-1){c=l;break}else{const p=l.value;if(p.parentNode&&p.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const h=p.parentNode.host;if(this.mirror.getId(h)!==-1){c=l;break}}}}}}if(!c){for(;r.head;)r.removeNode(r.head.value);break}o=c.previous,r.removeNode(c.value),i(c.value)}const a={texts:this.texts.map(c=>({id:this.mirror.getId(c.node),value:c.value})).filter(c=>!n.has(c.id)).filter(c=>this.mirror.has(c.id)),attributes:this.attributes.map(c=>{const{attributes:u}=c;if(typeof u.style=="string"){const l=JSON.stringify(c.styleDiff),f=JSON.stringify(c._unchangedStyles);l.length<u.style.length&&(l+f).split("var(").length===u.style.split("var(").length&&(u.style=c.styleDiff)}return{id:this.mirror.getId(c.node),attributes:u}}).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(!au(t.target,this.mirror))switch(t.type){case"characterData":{const n=t.target.textContent;!tn(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&n!==t.oldValue&&this.texts.push({value:pi(t.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&n?this.maskTextFn?this.maskTextFn(n,lS(t.target)):n.replace(/[\S]/g,"*"):n,node:t.target});break}case"attributes":{const n=t.target;let r=t.attributeName,s=t.target.getAttribute(r);if(r==="value"){const o=Cp(n),a=n.tagName;s=Rc(n,a,o);const c=ml({maskInputOptions:this.maskInputOptions,tagName:a,type:o}),u=pi(t.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,c);s=Oo({isMasked:u,element:n,value:s,maskInputFn:this.maskInputFn})}if(tn(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||s===t.oldValue)return;let i=this.attributeMap.get(t.target);if(n.tagName==="IFRAME"&&r==="src"&&!this.keepIframeSrcFn(s))if(!n.contentDocument)r="rr_src";else return;if(i||(i={node:t.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(i),this.attributeMap.set(t.target,i)),r==="type"&&n.tagName==="INPUT"&&(t.oldValue||"").toLowerCase()==="password"&&n.setAttribute("data-rr-is-password","true"),!sS(n.tagName,r)&&(i.attributes[r]=rS(this.doc,di(n.tagName),di(r),s,n,this.maskAttributeFn),r==="style")){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch{this.unattachedDoc=this.doc}const o=this.unattachedDoc.createElement("span");t.oldValue&&o.setAttribute("style",t.oldValue);for(const a of Array.from(n.style)){const c=n.style.getPropertyValue(a),u=n.style.getPropertyPriority(a);c!==o.style.getPropertyValue(a)||u!==o.style.getPropertyPriority(a)?u===""?i.styleDiff[a]=c:i.styleDiff[a]=[c,u]:i._unchangedStyles[a]=[c,u]}for(const a of Array.from(o.style))n.style.getPropertyValue(a)===""&&(i.styleDiff[a]=!1)}break}case"childList":{if(tn(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=po(t.target)?this.mirror.getId(t.target.host):this.mirror.getId(t.target);tn(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||au(n,this.mirror)||!C2(n,this.mirror)||(this.addedSet.has(n)?(Df(this.addedSet,n),this.droppedSet.add(n)):this.addedSet.has(t.target)&&r===-1||uS(t.target,this.mirror)||(this.movedSet.has(n)&&this.movedMap[jg(r,s)]?Df(this.movedSet,n):this.removes.push({parentId:s,id:r,isShadow:po(t.target)&&ho(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(au(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[jg(this.mirror.getId(t),r)]=!0)}else this.addedSet.add(t),this.droppedSet.delete(t);tn(t,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(t.childNodes.forEac
98h(r=>this.genAdds(r)),Lf(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 Df(e,t){e.delete(t),t.childNodes.forEach(n=>Df(e,n))}function Hg(e,t,n){return e.length===0?!1:mS(e,t,n)}function mS(e,t,n){const{parentNode:r}=t;if(!r)return!1;const s=n.getId(r);return e.some(i=>i.id===s)?!0:mS(e,r,n)}function Ug(e,t){return e.size===0?!1:gS(e,t)}function gS(e,t){const{parentNode:n}=t;return n?e.has(n)?!0:gS(e,n):!1}let mo;function D2(e){mo=e}function $2(){mo=void 0}const _e=e=>mo?(...n)=>{try{return e(...n)}catch(r){if(mo&&mo(r)===!0)return()=>{};throw r}}:e;function yn(e){let t,n=e[0],r=1;for(;r<e.length;){const s=e[r],i=e[r+1];if(r+=2,(s==="optionalAccess"||s==="optionalCall")&&n==null)return;s==="access"||s==="optionalAccess"?(t=n,n=i(n)):(s==="call"||s==="optionalCall")&&(n=i((...o)=>n.call(t,...o)),t=void 0)}return n}const Ls=[];function Qo(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 yS(e,t){const n=new L2;Ls.push(n),n.init(e);let r=window.MutationObserver||window.__rrMutationObserver;const s=yn([window,"optionalAccess",o=>o.Zone,"optionalAccess",o=>o.__symbol__,"optionalCall",o=>o("MutationObserver")]);s&&window[s]&&(r=window[s]);const i=new r(_e(o=>{e.onMutation&&e.onMutation(o)===!1||n.processMutations.bind(n)(o)}));return i.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),i}function F2({mousemoveCb:e,sampling:t,doc:n,mirror:r}){if(t.mousemove===!1)return()=>{};const s=typeof t.mousemove=="number"?t.mousemove:50,i=typeof t.mousemoveCallback=="number"?t.mousemoveCallback:500;let o=[],a;const c=No(_e(f=>{const d=Date.now()-a;e(o.map(p=>(p.timeOffset-=d,p)),f),o=[],a=null}),i),u=_e(No(_e(f=>{const d=Qo(f),{clientX:p,clientY:h}=Pf(f)?f.changedTouches[0]:f;a||(a=Oc()),o.push({x:p,y:h,id:r.getId(d),timeOffset:Oc()-a}),c(typeof DragEvent<"u"&&f instanceof DragEvent?pe.Drag:f instanceof MouseEvent?pe.MouseMove:pe.TouchMove)}),s,{trailing:!1})),l=[xt("mousemove",u,n),xt("touchmove",u,n),xt("drag",u,n)];return _e(()=>{l.forEach(f=>f())})}function B2({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,sampling:o}){if(o.mouseInteraction===!1)return()=>{};const a=o.mouseInteraction===!0||o.mouseInteraction===void 0?{}:o.mouseInteraction,c=[];let u=null;const l=f=>d=>{const p=Qo(d);if(tn(p,r,s,i,!0))return;let h=null,m=f;if("pointerType"in d){switch(d.pointerType){case"mouse":h=Mn.Mouse;break;case"touch":h=Mn.Touch;break;case"pen":h=Mn.Pen;break}h===Mn.Touch?It[f]===It.MouseDown?m="TouchStart":It[f]===It.MouseUp&&(m="TouchEnd"):Mn.Pen}else Pf(d)&&(h=Mn.Touch);h!==null?(u=h,(m.startsWith("Touch")&&h===Mn.Touch||m.startsWith("Mouse")&&h===Mn.Mouse)&&(h=null)):It[f]===It.Click&&(h=u,u=null);const v=Pf(d)?d.changedTouches[0]:d;if(!v)return;const y=n.getId(p),{clientX:_,clientY:g}=v;_e(e)({type:It[m],id:y,x:_,y:g,...h!==null&&{pointerType:h}})};return Object.keys(It).filter(f=>Number.isNaN(Number(f))&&!f.endsWith("_Departed")&&a[f]!==!1).forEach(f=>{let d=di(f);const p=l(f);if(window.PointerEvent)switch(It[f]){case It.MouseDown:case It.MouseUp:d=d.replace("mouse","pointer");break;case It.TouchStart:case It.TouchEnd:return}c.push(xt(d,p,t))}),_e(()=>
98{c.forEach(f=>f())})}function _S({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,sampling:o}){const a=_e(No(_e(c=>{const u=Qo(c);if(!u||tn(u,r,s,i,!0))return;const l=n.getId(u);if(u===t&&t.defaultView){const f=oS(t.defaultView);e({id:l,x:f.left,y:f.top})}else e({id:l,x:u.scrollLeft,y:u.scrollTop})}),o.scroll||100));return xt("scroll",a,t)}function j2({viewportResizeCb:e},{win:t}){let n=-1,r=-1;const s=_e(No(_e(()=>{const i=aS(),o=cS();(n!==i||r!==o)&&(e({width:Number(o),height:Number(i)}),n=i,r=o)}),200));return xt("resize",s,t)}const H2=["INPUT","TEXTAREA","SELECT"],qg=new WeakMap;function U2({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,ignoreClass:o,ignoreSelector:a,maskInputOptions:c,maskInputFn:u,sampling:l,userTriggeredOnInput:f,maskTextClass:d,unmaskTextClass:p,maskTextSelector:h,unmaskTextSelector:m}){function v(C){let M=Qo(C);const x=C.isTrusted,k=M&&Nf(M.tagName);if(k==="OPTION"&&(M=M.parentElement),!M||!k||H2.indexOf(k)<0||tn(M,r,s,i,!0))return;const B=M;if(B.classList.contains(o)||a&&B.matches(a))return;const A=Cp(M);let U=Rc(B,k,A),X=!1;const re=ml({maskInputOptions:c,tagName:k,type:A}),$=pi(M,d,h,p,m,re);(A==="radio"||A==="checkbox")&&(X=M.checked),U=Oo({isMasked:$,element:M,value:U,maskInputFn:u}),y(M,f?{text:U,isChecked:X,userTriggered:x}:{text:U,isChecked:X});const Y=M.name;A==="radio"&&Y&&X&&t.querySelectorAll(`input[type="radio"][name="${Y}"]`).forEach(q=>{if(q!==M){const fe=Oo({isMasked:$,element:q,value:Rc(q,k,A),maskInputFn:u});y(q,f?{text:fe,isChecked:!X,userTriggered:!1}:{text:fe,isChecked:!X})}})}function y(C,M){const x=qg.get(C);if(!x||x.text!==M.text||x.isChecked!==M.isChecked){qg.set(C,M);const k=n.getId(C);_e(e)({...M,id:k})}}const g=(l.input==="last"?["change"]:["input","change"]).map(C=>xt(C,_e(v),t)),b=t.defaultView;if(!b)return()=>{g.forEach(C=>C())};const S=b.Object.getOwnPropertyDescriptor(b.HTMLInputElement.prototype,"value"),T=[[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 S&&S.set&&g.push(...T.map(C=>iS(C[0],C[1],{set(){_e(v)({target:this,isTrusted:!1})}},!1,b))),_e(()=>{g.forEach(C=>C())})}function Mc(e){const t=[];function n(r,s){if(Ca("CSSGroupingRule")&&r.parentRule instanceof CSSGroupingRule||Ca("CSSMediaRule")&&r.parentRule instanceof CSSMediaRule||Ca("CSSSupportsRule")&&r.parentRule instanceof CSSSupportsRule||Ca("CSSConditionRule")&&r.parentRule instanceof CSSConditionRule){const o=Array.from(r.parentRule.cssRules).indexOf(r);s.unshift(o)}else if(r.parentStyleSheet){const o=Array.from(r.parentStyleSheet.cssRules).indexOf(r);s.unshift(o)}return s}return n(e,t)}function cr(e,t,n){let r,s;return e?(e.ownerNode?r=t.getId(e.ownerNode):s=n.getId(e),{styleId:s,id:r}):{}}function q2({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:_e((l,f,d)=>{const[p,h]=d,{id:m,styleId:v}=cr(f,t,n.styleMirror);return(m&&m!==-1||v&&v!==-1)&&e({id:m,styleId:v,adds:[{rule:p,index:h}]}),l.apply(f,d)})});const i=r.CSSStyleSheet.prototype.deleteRule;r.CSSStyleSheet.prototype.deleteRule=new Proxy(i,{apply:_e((l,f,d)=>{const[p]=d,{id:h,styleId:m}=cr(f,t,n.styleMirror);return(h&&h!==-1||m&&m!==-1)&&e({id:h,styleId:m,removes:[{index:p}]}),l.apply(f,d)})});let o;r.CSSStyleSheet.prototype.replace&&(o=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(o,{apply:_e((l,f,d)=>{const[p]=d,{id:h,styleId:m}=cr(f,t,n.styleMirror);return(h&&h!==-1||m&&m!==-1)&&e({id:h,styleId:m,replace:p}),l.apply(f,d)})}));let a;r.CSSStyleSheet.prototype.replaceSync&&(a=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(a,{apply:_e((l,f,d)=>{const[p]=d,{id:h,styleId:m}=cr(f,t,n.styleMirror);return(h&&h!==-1||m&&m!==-1)&&e({id:h,styleId:m,replaceSync:p}),l.apply(f,d)})}));const c={};ka("CSSGroupingRule")?c.CSSGroupingRule=r.CSSGroupingRule:(ka("CSSMediaRule")&&(c.CSSMediaRule=r.CSSMediaRule),ka("CSSConditionRule")&&(c.CSSConditionRule=r.CSSConditionRule),ka("CSSSupportsRule")&&(c.CSSSupportsRule=r.CSSSupportsRule));const u={};
98return Object.entries(c).forEach(([l,f])=>{u[l]={insertRule:f.prototype.insertRule,deleteRule:f.prototype.deleteRule},f.prototype.insertRule=new Proxy(u[l].insertRule,{apply:_e((d,p,h)=>{const[m,v]=h,{id:y,styleId:_}=cr(p.parentStyleSheet,t,n.styleMirror);return(y&&y!==-1||_&&_!==-1)&&e({id:y,styleId:_,adds:[{rule:m,index:[...Mc(p),v||0]}]}),d.apply(p,h)})}),f.prototype.deleteRule=new Proxy(u[l].deleteRule,{apply:_e((d,p,h)=>{const[m]=h,{id:v,styleId:y}=cr(p.parentStyleSheet,t,n.styleMirror);return(v&&v!==-1||y&&y!==-1)&&e({id:v,styleId:y,removes:[{index:[...Mc(p),m]}]}),d.apply(p,h)})})}),_e(()=>{r.CSSStyleSheet.prototype.insertRule=s,r.CSSStyleSheet.prototype.deleteRule=i,o&&(r.CSSStyleSheet.prototype.replace=o),a&&(r.CSSStyleSheet.prototype.replaceSync=a),Object.entries(c).forEach(([l,f])=>{f.prototype.insertRule=u[l].insertRule,f.prototype.deleteRule=u[l].deleteRule})})}function vS({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"?yn([n,"access",o=>o.defaultView,"optionalAccess",o=>o.Document]):yn([n,"access",o=>o.ownerDocument,"optionalAccess",o=>o.defaultView,"optionalAccess",o=>o.ShadowRoot]),i=yn([s,"optionalAccess",o=>o.prototype])?Object.getOwnPropertyDescriptor(yn([s,"optionalAccess",o=>o.prototype]),"adoptedStyleSheets"):void 0;return r===null||r===-1||!s||!i?()=>{}:(Object.defineProperty(n,"adoptedStyleSheets",{configurable:i.configurable,enumerable:i.enumerable,get(){return yn([i,"access",o=>o.get,"optionalAccess",o=>o.call,"call",o=>o(this)])},set(o){const a=yn([i,"access",c=>c.set,"optionalAccess",c=>c.call,"call",c=>c(this,o)]);if(r!==null&&r!==-1)try{t.adoptStyleSheets(o,r)}catch{}return a}}),_e(()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:i.configurable,enumerable:i.enumerable,get:i.get,set:i.set})}))}function W2({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:s}){const i=s.CSSStyleDeclaration.prototype.setProperty;s.CSSStyleDeclaration.prototype.setProperty=new Proxy(i,{apply:_e((a,c,u)=>{const[l,f,d]=u;if(n.has(l))return i.apply(c,[l,f,d]);const{id:p,styleId:h}=cr(yn([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:l,value:f,priority:d},index:Mc(c.parentRule)}),a.apply(c,u)})});const o=s.CSSStyleDeclaration.prototype.removeProperty;return s.CSSStyleDeclaration.prototype.removeProperty=new Proxy(o,{apply:_e((a,c,u)=>{const[l]=u;if(n.has(l))return o.apply(c,[l]);const{id:f,styleId:d}=cr(yn([c,"access",p=>p.parentRule,"optionalAccess",p=>p.parentStyleSheet]),t,r.styleMirror);return(f&&f!==-1||d&&d!==-1)&&e({id:f,styleId:d,remove:{property:l},index:Mc(c.parentRule)}),a.apply(c,u)})}),_e(()=>{s.CSSStyleDeclaration.prototype.setProperty=i,s.CSSStyleDeclaration.prototype.removeProperty=o})}function z2({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:s,sampling:i,doc:o}){const a=_e(u=>No(_e(l=>{const f=Qo(l);if(!f||tn(f,t,n,r,!0))return;const{currentTime:d,volume:p,muted:h,playbackRate:m}=f;e({type:u,id:s.getId(f),currentTime:d,volume:p,muted:h,playbackRate:m})}),i.media||500)),c=[xt("play",a(0),o),xt("pause",a(1),o),xt("seeked",a(2),o),xt("volumechange",a(3),o),xt("ratechange",a(4),o)];return _e(()=>{c.forEach(u=>u())})}function V2({fontCb:e,doc:t}){const n=t.defaultView;if(!n)return()=>{};const r=[],s=new WeakMap,i=n.FontFace;n.FontFace=function(c,u,l){const f=new i(c,u,l);return s.set(f,{family:c,buffer:typeof u!="string",descriptors:l,fontSource:typeof u=="string"?u:JSON.stringify(Array.from(new Uint8Array(u)))}),f};const o=Rp(t.fonts,"add",function(a){return function(c){return gl(_e(()=>{const u=s.get(c);u&&(e(u),s.delete(c))}),0),a.apply(this,[c])}});return r.push(()=>{n.FontFace=i}),r.push(o),_e(()=>{r.forEach(a=>a())})}function G2(e){const{doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,selectionCb:o}=e;let a=!0;const c=_e(()=>{const u=t.getSelection();if(!u||a&&yn([u,"optionalAccess",d=>d.isCollapsed]))return;a=u.isCollapsed||!1;const l=[],f=u.rangeCount||0;for(let d=0;d<f;d++){const p=u.getRangeAt(d),{startContainer:h,startOffset:m,endContainer:v,endOffset:y}=p;tn(h,r,s,i,!0)||tn(v,r,s,i,!0)||l.push({start:n.getId(h),startOffset:m,end:n.getId(v),endOffset:y})}o({ranges:l})});return c(),xt("selectionchange",c)}function Y2({doc:e,customElementCb:t}){const n=e.defaultView;return!n||!n.customElements?()=>{}:Rp(n.customElements,"define",function(s){return function(i,o,a){try{t({define:{name:i}})}catch{}return s.apply(this,[i,o,a])}})}function K2(e,t={}){const n=e.doc.defaultView;if(!n)return()=>{};const r=yS(e,e.doc),s=F2(e),i=B2(e),o=_S(e),a=j2(e,{win:n}),c=U2(e),u=z2(e),l=q2(e,{win:n}),f=vS(e,e.doc),d=W2(e,{win:n}
98),p=e.collectFonts?V2(e):()=>{},h=G2(e),m=Y2(e),v=[];for(const y of e.plugins)v.push(y.observer(y.callback,n,y.options));return _e(()=>{Ls.forEach(y=>y.reset()),r.disconnect(),s(),i(),o(),a(),c(),u(),l(),f(),d(),p(),h(),m(),v.forEach(y=>y())})}function Ca(e){return typeof window[e]<"u"}function ka(e){return!!(typeof window[e]<"u"&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class $f{constructor(t){this.generateIdFn=t,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(t,n,r,s){const i=r||this.getIdToRemoteIdMap(t),o=s||this.getRemoteIdToIdMap(t);let a=i.get(n);return a||(a=this.generateIdFn(),i.set(n,a),o.set(a,n)),a}getIds(t,n){const r=this.getIdToRemoteIdMap(t),s=this.getRemoteIdToIdMap(t);return n.map(i=>this.getId(t,i,r,s))}getRemoteId(t,n,r){const s=r||this.getRemoteIdToIdMap(t);if(typeof n!="number")return n;const i=s.get(n);return i||-1}getRemoteIds(t,n){const r=this.getRemoteIdToIdMap(t);return n.map(s=>this.getRemoteId(t,s,r))}reset(t){if(!t){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(t),this.iframeRemoteIdToIdMap.delete(t)}getIdToRemoteIdMap(t){let n=this.iframeIdToRemoteIdMap.get(t);return n||(n=new Map,this.iframeIdToRemoteIdMap.set(t,n)),n}getRemoteIdToIdMap(t){let n=this.iframeRemoteIdToIdMap.get(t);return n||(n=new Map,this.iframeRemoteIdToIdMap.set(t,n)),n}}function Wg(e){let t,n=e[0],r=1;for(;r<e.length;){const s=e[r],i=e[r+1];if(r+=2,(s==="optionalAccess"||s==="optionalCall")&&n==null)return;s==="access"||s==="optionalAccess"?(t=n,n=i(n)):(s==="call"||s==="optionalCall")&&(n=i((...o)=>n.call(t,...o)),t=void 0)}return n}class J2{constructor(){this.crossOriginIframeMirror=new $f(kp),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class X2{constructor(t){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new $f(kp),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=t.mutationCb,this.wrappedEmit=t.wrappedEmit,this.stylesheetManager=t.stylesheetManager,this.recordCrossOriginIframes=t.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new $f(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}),Wg([this,"access",r=>r.loadListener,"optionalCall",r=>r(t)]),t.contentDocument&&t.contentDocument.adoptedStyleSheets&&t.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(t.contentDocument.adoptedStyleSheets,this.mirror.getId(t.contentDocument))}handleMessage(t){const n=t;if(n.data.type!=="rrweb"||n.origin!==n.data.origin||!t.source)return;const s=this.crossOriginIframeMap.get(t.source);if(!s)return;const i=this.transformCrossOriginEvent(s,n.data.event);i&&this.wrappedEmit(i,n.data.isCheckout)}transformCrossOriginEvent(t,n){switch(n.type){case de.FullSnapshot:{this.crossOriginIframeMirror.reset(t),this.crossOriginIframeStyleMirror.reset(t),this.replaceIdOnNode(n.data.node,t);const r=n.data.node.id;return this.crossOriginIframeRootIdMap.set(t,r),this.patchRootIdOnNode(n.data.node,r),{timestamp:n.timestamp,type:de.IncrementalSnapshot,data:{source:pe.Mutation,adds:[{parentId:this.mirror.getId(t),nextId:null,node:n.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case de.Meta:case de.Load:case de.DomContentLoaded:return!1;case de.Plugin:return n;case de.Custom:return this.replaceIds(n.data.payload,t,["id","parentId","previousId","nextId"]),n;case de.IncrementalSnapshot:switch(n.data.source){case pe.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)}
98),n.data.removes.forEach(r=>{this.replaceIds(r,t,["parentId","id"])}),n.data.attributes.forEach(r=>{this.replaceIds(r,t,["id"])}),n.data.texts.forEach(r=>{this.replaceIds(r,t,["id"])}),n;case pe.Drag:case pe.TouchMove:case pe.MouseMove:return n.data.positions.forEach(r=>{this.replaceIds(r,t,["id"])}),n;case pe.ViewportResize:return!1;case pe.MediaInteraction:case pe.MouseInteraction:case pe.Scroll:case pe.CanvasMutation:case pe.Input:return this.replaceIds(n.data,t,["id"]),n;case pe.StyleSheetRule:case pe.StyleDeclaration:return this.replaceIds(n.data,t,["id"]),this.replaceStyleIds(n.data,t,["styleId"]),n;case pe.Font:return n;case pe.Selection:return n.data.ranges.forEach(r=>{this.replaceIds(r,t,["start","end"])}),n;case pe.AdoptedStyleSheet:return this.replaceIds(n.data,t,["id"]),this.replaceStyleIds(n.data,t,["styleIds"]),Wg([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 i of s)!Array.isArray(n[i])&&typeof n[i]!="number"||(Array.isArray(n[i])?n[i]=t.getIds(r,n[i]):n[i]=t.getId(r,n[i]));return n}replaceIds(t,n,r){return this.replace(this.crossOriginIframeMirror,t,n,r)}replaceStyleIds(t,n,r){return this.replace(this.crossOriginIframeStyleMirror,t,n,r)}replaceIdOnNode(t,n){this.replaceIds(t,n,["id","rootId"]),"childNodes"in t&&t.childNodes.forEach(r=>{this.replaceIdOnNode(r,n)})}patchRootIdOnNode(t,n){t.type!==tt.Document&&!t.rootId&&(t.rootId=n),"childNodes"in t&&t.childNodes.forEach(r=>{this.patchRootIdOnNode(r,n)})}}class Q2{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class Z2{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(!ho(t)||this.shadowDoms.has(t))return;this.shadowDoms.add(t);const r=yS({...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})),gl(()=>{t.adoptedStyleSheets&&t.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(t.adoptedStyleSheets,this.mirror.getId(t.host)),this.restoreHandlers.push(vS({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},t))},0)}observeAttachShadow(t){!t.contentWindow||!t.contentDocument||this.patchAttachShadow(t.contentWindow.Element,t.contentDocument)}patchAttachShadow(t,n){const r=this;this.restoreHandlers.push(Rp(t.prototype,"attachShadow",function(s){return function(i){const o=s.call(this,i);return this.shadowRoot&&hS(this)&&r.addShadowRoot(this.shadowRoot,n),o}}))}reset(){this.restoreHandlers.forEach(t=>{try{t()}catch{}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet}}class zg{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}}class eF{constructor(t){this.trackedLinkElements=new WeakSet,this.styleMirror=new x2,this.mutationCb=t.mutationCb,this.adoptedStyleSheetCb=t.adoptedStyleSheetCb}attachLinkElement(t,n){"_cssText"in n.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:n.id,attributes:n.attributes}]}),this.trackLinkElement(t)}trackLinkElement(t){this.trackedLinkElements.has(t)||(this.trackedLinkElements.add(t),this.trackStylesheetInLinkElement(t))}adoptStyleSheets(t,n){if(t.length===0)return;const r={id:n,styleIds:[]},s=[];for(const i of t){let o;this.styleMirror.has(i)?o=this.styleMirror.getId(i):(o=this.styleMirror.add(i),s.push({styleId:o,rules:Array.from(i.rules||CSSRule,(a,c)=>({rule:tS(a),index:c}))})),r.styleIds.push(o)}s.length>0&&(r.styles=s),this.adoptedStyleSheetCb(r)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(t){}}class tF{constructor(){this.nodeMap=new WeakMap,this.loop=!0,this.periodicallyClear()}periodicallyClear(){O2(()=>{this.clear(),this.loop&&this.periodicallyClear()})}inOtherBuffer(t,n){const r=this.nodeMap.get(t);return r&&Array.from(r).some(s=>s!==n)}add(t,n){this.nodeMap.set(t,(this.nodeMap.get(t)||new Set).add(n))}clear(){this.nodeMap=new WeakMap}destroy(){this.loop=!1}}let ze,Nc;const Kt=n2();function vr(e={}){const{emit:t,checkoutEveryNms:n,checkoutEveryNth:r,blockClass:s="rr
98-block",blockSelector:i=null,unblockSelector:o=null,ignoreClass:a="rr-ignore",ignoreSelector:c=null,maskAllText:u=!1,maskTextClass:l="rr-mask",unmaskTextClass:f=null,maskTextSelector:d=null,unmaskTextSelector:p=null,inlineStylesheet:h=!0,maskAllInputs:m,maskInputOptions:v,slimDOMOptions:y,maskAttributeFn:_,maskInputFn:g,maskTextFn:b,maxCanvasSize:S=null,packFn:T,sampling:C={},dataURLOptions:M={},mousemoveWait:x,recordCanvas:k=!1,recordCrossOriginIframes:B=!1,recordAfter:A=e.recordAfter==="DOMContentLoaded"?e.recordAfter:"load",userTriggeredOnInput:U=!1,collectFonts:X=!1,inlineImages:re=!1,plugins:$,keepIframeSrcFn:Y=()=>!1,ignoreCSSAttributes:q=new Set([]),errorHandler:fe,onMutation:je,getCanvasManager:ut}=e;D2(fe);const $e=B?window.parent===window:!0;let Je=!1;if(!$e)try{window.parent.document&&(Je=!1)}catch{Je=!0}if($e&&!t)throw new Error("emit function is required");x!==void 0&&C.mousemove===void 0&&(C.mousemove=x),Kt.reset();const vt=m===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:v!==void 0?v:{},Rt=y===!0||y==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:y==="all",headMetaDescKeywords:y==="all"}:y||{};k2();let st,P=0;const K=F=>{for(const W of $||[])W.eventProcessor&&(F=W.eventProcessor(F));return T&&!Je&&(F=T(F)),F};ze=(F,W)=>{const L=F;if(L.timestamp=Oc(),za([Ls,"access",N=>N[0],"optionalAccess",N=>N.isFrozen,"call",N=>N()])&&L.type!==de.FullSnapshot&&!(L.type===de.IncrementalSnapshot&&L.data.source===pe.Mutation)&&Ls.forEach(N=>N.unfreeze()),$e)za([t,"optionalCall",N=>N(K(L),W)]);else if(Je){const N={type:"rrweb",event:K(L),origin:window.location.origin,isCheckout:W};window.parent.postMessage(N,"*")}if(L.type===de.FullSnapshot)st=L,P=0;else if(L.type===de.IncrementalSnapshot){if(L.data.source===pe.Mutation&&L.data.isAttachIframe)return;P++;const N=r&&P>=r,z=n&&st&&L.timestamp-st.timestamp>n;(N||z)&&H(!0)}};const G=F=>{ze({type:de.IncrementalSnapshot,data:{source:pe.Mutation,...F}})},Q=F=>ze({type:de.IncrementalSnapshot,data:{source:pe.Scroll,...F}}),be=F=>ze({type:de.IncrementalSnapshot,data:{source:pe.CanvasMutation,...F}}),Ae=F=>ze({type:de.IncrementalSnapshot,data:{source:pe.AdoptedStyleSheet,...F}}),E=new eF({mutationCb:G,adoptedStyleSheetCb:Ae}),w=typeof __RRWEB_EXCLUDE_IFRAME__=="boolean"&&__RRWEB_EXCLUDE_IFRAME__?new J2:new X2({mirror:Kt,mutationCb:G,stylesheetManager:E,recordCrossOriginIframes:B,wrappedEmit:ze});for(const F of $||[])F.getMirror&&F.getMirror({nodeMirror:Kt,crossOriginIframeMirror:w.crossOriginIframeMirror,crossOriginIframeStyleMirror:w.crossOriginIframeStyleMirror});const R=new tF,j=rF(ut,{mirror:Kt,win:window,mutationCb:F=>ze({type:de.IncrementalSnapshot,data:{source:pe.CanvasMutation,...F}}),recordCanvas:k,blockClass:s,blockSelector:i,unblockSelector:o,maxCanvasSize:S,sampling:C.canvas,dataURLOptions:M,errorHandler:fe}),O=typeof __RRWEB_EXCLUDE_SHADOW_DOM__=="boolean"&&__RRWEB_EXCLUDE_SHADOW_DOM__?new Q2:new Z2({mutationCb:G,scrollCb:Q,bypassOptions:{onMutation:je,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:u,maskTextClass:l,unmaskTextClass:f,maskTextSelector:d,unmaskTextSelector:p,inlineStylesheet:h,maskInputOptions:vt,dataURLOptions:M,maskAttributeFn:_,maskTextFn:b,maskInputFn:g,recordCanvas:k,inlineImages:re,sampling:C,slimDOMOptions:Rt,iframeManager:w,stylesheetManager:E,canvasManager:j,keepIframeSrcFn:Y,processedNodeManager:R},mirror:Kt}),H=(F=!1)=>{ze({type:de.Meta,data:{href:window.location.href,width:cS(),height:aS()}},F),E.reset(),O.init(),Ls.forEach(L=>L.lock());const W=I2(document,{mirror:Kt,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:u,maskTextClass:l,unmaskTextClass:f,maskTextSelector:d,unmaskTextSelector:p,inlineStylesheet:h,maskAllInputs:vt,maskAttributeFn:_,maskInputFn:g,maskTextFn:b,slimDOM:Rt,dataURLOptions:M,recordCanvas:k,inlineImages:re,onSerialize:L=>{fS(L,Kt)&&w.addIframe(L),dS(L,Kt)&&E.trackLinkElement(L),Lf(L)&&O.addShadowRoot(L.shadowRoot,document)},onIframeLoad:(L,N)=>{w.attachIframe(L,N),O.observeAttachShadow(L)},onStylesheetLoad:(L,N)=>{E.attachLinkElement(L,N)},keepIframeSrcFn:Y});if(!W)return console.warn("Failed to snapshot the document");ze({type:de.FullSnapshot,data:{node:W,initialOffset:oS(window)}}),Ls.forEach(L=>L.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&E.adoptStyleSheets(document.adoptedStyleSheets,Kt.getId(document))};Nc=H;try{const F=[],W=N=>_e(K2)({onMutation:je,mutationCb:G,mousemoveCb:(z,V)=>ze({type:de.IncrementalSnapshot,data:{source:V,positions:z}}),mouseInteractionCb:z=>ze({type:de.IncrementalSnapshot,data:{source:pe.MouseInteraction,...z}}),scrollCb:Q,viewportResizeCb:z=>ze({type:de.IncrementalSnapshot,data:{source:pe.ViewportResize,...z}}),inputCb:z=>ze({type:de.IncrementalSnapshot,data:{source:pe.Input,...z}}),mediaInteractionCb:z=>ze({type:de.IncrementalSnapshot,data:{source:pe.MediaInteraction,...z}}),styleSheetRuleCb:z=>ze({type:de.IncrementalSnapshot,data:{source:pe.StyleSheetRule,...z}}),styleDeclarationCb:z=>ze({type:de.IncrementalSnapshot,data:{source:pe.StyleDeclaration,...z}}),canvasMutationCb:be,fontCb:z=>ze({type:de.IncrementalSnapshot,data:{source:pe.Font,...z}}),selectionCb:z=>{ze({type:de.IncrementalSnapshot,data:{source:pe.Selection,...z}})},customElementCb:z=>{ze({type:de.IncrementalSnapshot,data:{source:pe.CustomElement,...z}})},blockClass:s,ignoreClass:a,ignoreSelector:c,maskAllText:u,maskTextClass:l,unmaskTextClass:f,maskTextSelector:d,unmaskTextSelector:p,maskInputOptions:vt,inlineStylesheet:h,sampling:C,recordCanvas:k,inlineImages:re,userTriggeredOnInput:U,collectFonts:X,doc:N,maskAttributeFn:_,maskInputFn:g,maskTextFn:b,keepIframeSrcFn:Y,blockSelector:i,unblockSelector:o,slimDOMOptions:Rt,dataURLOptions:M,mirror:Kt,iframeManager:w,stylesheetManager:E,shadowDomManager:O,processedNodeManager:R,canvasManager:j,ignoreCSSAttributes:q,plugins:za([$,"optionalAccess",z=>z.filter,"call",z=>z(V=>V.observer),"optionalAccess",z=>z.map,"call",z=>z(V=>({observer:V.observer,options:V.options,callback:ee=>ze({type:de.Plugin,data:{plugin:V.name,payload:ee}})}))])||[]},{});w.addLoadListener(N=>{try{F.push(W(N.contentDocument))}catch(z){console.warn(z)}});const L=()=>{H(),F.push(W(document))};return document.readyState==="interactive"||document.readyState==="complete"?L():(F.push(xt("DOMContentLoaded",()=>{ze({type:de.DomContentLoaded,data:{}}),A==="DOMContentLoaded"&&L()})),F.push(xt("load",()=>{ze({type:de.Load,data:{}}),A==="load"&&L()}
98,window))),()=>{F.forEach(N=>N()),R.destroy(),Nc=void 0,$2()}}catch(F){console.warn(F)}}function nF(e){if(!Nc)throw new Error("please take full snapshot after start recording");Nc(e)}vr.mirror=Kt;vr.takeFullSnapshot=nF;function rF(e,t){try{return e?e(t):new zg}catch{return console.warn("Unable to initialize CanvasManager"),new zg}}const sF=3,iF=5;function Op(e){return e>9999999999?e:e*1e3}function cu(e){return e>9999999999?e/1e3:e}function Zo(e,t){t.category!=="sentry.transaction"&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>(e.throttledAddEvent({type:de.Custom,timestamp:(t.timestamp||0)*1e3,data:{tag:"breadcrumb",payload:Qt(t,10,1e3)}}),t.category==="console")))}const oF="button,a";function bS(e){return e.closest(oF)||e}function ES(e){const t=SS(e);return!t||!(t instanceof Element)?t:bS(t)}function SS(e){return aF(e)?e.target:e}function aF(e){return typeof e=="object"&&!!e&&"target"in e}let lr;function cF(e){return lr||(lr=[],lF()),lr.push(e),()=>{const t=lr?lr.indexOf(e):-1;t>-1&&lr.splice(t,1)}}function lF(){at(Pe,"open",function(e){return function(...t){if(lr)try{lr.forEach(n=>n())}catch{}return e.apply(Pe,t)}})}function uF(e,t,n){e.handleClick(t,n)}class fF{constructor(t,n,r=Zo){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=n.timeout/1e3,this._threshold=n.threshold/1e3,this._scollTimeout=n.scrollTimeout/1e3,this._replay=t,this._ignoreSelector=n.ignoreSelector,this._addBreadcrumbEvent=r}addListeners(){const t=cF(()=>{this._lastMutation=Vg()});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(pF(n,this._ignoreSelector)||!hF(t))return;const r={timestamp:cu(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=cu(t)}registerScroll(t=Date.now()){this._lastScroll=cu(t)}registerClick(t){const n=bS(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=Vg();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._scollTimeout,s=t.mutationAfter&&t.mutationAfter<=this._threshold,i=!r&&!s,{clickCount:o,clickBreadcrumb:a}=t;if(i){const c=Math.min(t.mutationAfter||this._timeout,this._timeout)*1e3,u=c<this._timeout*1e3?"mutation":"timeout",l={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.slowClickDetected",data:{...a.data,url:Pe.location.href,route:n.getCurrentRoute(),timeAfterClickMs:c,endReason:u,clickCount:o||1}};this._addBreadcrumbEvent(n,l);return}if(o>1){const c={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.multiClick",data:{...a.data,url:Pe.location.href,route:n.getCurrentRoute(),clickCount:o,metric:!0}};this._addBreadcrumbEvent(n,c)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=setTimeout(()=>this._checkClicks(),1e3)}}const dF=["A","BUTTON","INPUT"];function pF(e,t){return!!(!dF.includes(e.tagName)||e.tagName==="INPUT"&&!["submit","button"].includes(e.getAttribute("type")||"")||e.tagName==="A"&&(e.hasAttribute("download")||e.hasAttribute("target")&&e.getAttribute("target")!=="_self")||t&&e.matches(t))}function hF(e){return!!(e.data&&typeof e.data.nodeId=="number"&&e.timestamp)}function Vg(){return Date.now()/1e3}function mF(e,t){try{if(!gF(t))return;const{source:n}=t.data;if(n===pe.Mutation&&e.registerMutation(t.timestamp),n===pe.Scroll&&e.registerScroll(t.timestamp),yF(t)){const{type:r,id:s}=t.data,i=vr.mirror.getNode(s);i instanceof HTMLElement&&r===It.Click&&e.registerClick(i)}}catch{}}function gF(e){return e.type===sF}function yF(e){return e.data.source===pe.MouseInteraction}function En(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var Pc;(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"})(Pc||(Pc={}));const _F=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function vF(e){const t={};for(const n in e)if(_F.has(n)){let r=n;(n==="data-testid"||n==="data-test-id")&&(r="testId"),t[r]=e[n]}return t}const bF=e=>t=>{if(!e.isEnabled())return;const n=EF(t);if(!n)return;
98const r=t.name==="click",s=r?t.event:void 0;r&&e.clickDetector&&s&&s.target&&!s.altKey&&!s.metaKey&&!s.ctrlKey&&!s.shiftKey&&uF(e.clickDetector,n,ES(t.event)),Zo(e,n)};function wS(e,t){const n=vr.mirror.getId(e),r=n&&vr.mirror.getNode(n),s=r&&vr.mirror.getMeta(r),i=s&&wF(s)?s:null;return{message:t,data:i?{nodeId:n,node:{id:n,tagName:i.tagName,textContent:Array.from(i.childNodes).map(o=>o.type===Pc.Text&&o.textContent).filter(Boolean).map(o=>o.trim()).join(""),attributes:vF(i.attributes)}}:{}}}function EF(e){const{target:t,message:n}=SF(e);return En({category:`ui.${e.name}`,...wS(t,n)})}function SF(e){const t=e.name==="click";let n,r=null;try{r=t?ES(e.event):SS(e.event),n=Er(r,{maxStringLength:200})||"<unknown>"}catch{n="<unknown>"}return{target:r,message:n}}function wF(e){return e.type===Pc.Element}function TF(e,t){if(!e.isEnabled())return;e.updateUserActivity();const n=IF(t);n&&Zo(e,n)}function IF(e){const{metaKey:t,shiftKey:n,ctrlKey:r,altKey:s,key:i,target:o}=e;if(!o||CF(o)||!i)return null;const a=t||r||s,c=i.length===1;if(!a&&c)return null;const u=Er(o,{maxStringLength:200})||"<unknown>",l=wS(o,u);return En({category:"ui.keyDown",message:u,data:{...l.data,metaKey:t,shiftKey:n,ctrlKey:r,altKey:s,key:i}})}function CF(e){return e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable}const Gg={resource:OF,paint:RF,navigation:AF};function kF(e){return e.map(xF).filter(Boolean)}function xF(e){return Gg[e.entryType]?Gg[e.entryType](e):null}function hi(e){return((_t||Pe.performance.timeOrigin)+e)/1e3}function RF(e){const{duration:t,entryType:n,name:r,startTime:s}=e,i=hi(s);return{type:n,name:r,start:i,end:i+t,data:void 0}}function AF(e){const{entryType:t,name:n,decodedBodySize:r,duration:s,domComplete:i,encodedBodySize:o,domContentLoadedEventStart:a,domContentLoadedEventEnd:c,domInteractive:u,loadEventStart:l,loadEventEnd:f,redirectCount:d,startTime:p,transferSize:h,type:m}=e;return s===0?null:{type:`${t}.${m}`,start:hi(p),end:hi(i),name:n,data:{size:h,decodedBodySize:r,encodedBodySize:o,duration:s,domInteractive:u,domContentLoadedEventStart:a,domContentLoadedEventEnd:c,loadEventStart:l,loadEventEnd:f,domComplete:i,redirectCount:d}}}function OF(e){const{entryType:t,initiatorType:n,name:r,responseEnd:s,startTime:i,decodedBodySize:o,encodedBodySize:a,responseStatus:c,transferSize:u}=e;return["fetch","xmlhttprequest"].includes(n)?null:{type:`${t}.${n}`,start:hi(i),end:hi(s),name:r,data:{size:u,statusCode:c,decodedBodySize:o,encodedBodySize:a}}}function MF(e){const t=e.entries,n=t[t.length-1],r=n?n.element:void 0,s=e.value,i=hi(s);return{type:"largest-contentful-paint",name:"largest-contentful-paint",start:i,end:i,data:{value:s,size:s,nodeId:r?vr.mirror.getId(r):void 0}}}function NF(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(wr(s,n))}),r.push(hE(({metric:s})=>{e.replayPerformanceEntries.push(MF(s))})),()=>{r.forEach(s=>s())}}const Re=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,PF='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}},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==r||r<0)&&(r=0),(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))}
vendor: 4,465 bytes, line 98
98,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},A=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},_=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=x(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}},x=function(t,n,r){return-1==t.s?Math.max(x(t.l,n,r+1),x(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)},C=function(t,r,s,o,f,h,l,u,c,v,m){z(r,m++,s),++f[256];for(var b=_(f,15),M=b.t,E=b.l,x=_(h,15),C=x.t,U=x.l,F=D(M),I=F.c,S=F.n,L=D(C),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=_(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,C)+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(C,U,0),R=C;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){A(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;A(r,m,Q[et]),m+=R[et],et>3&&(A(r,m,rt>>5&8191),m+=i[et])}else A(r,m,N[rt]),m+=P[rt]}return A(r,m,N[256]),m+P[256]},U=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,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}}},L=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=U[s-1],M=y>>13,E=8191&y,z=(1<<o)-1,A=c.p||new n(32768),_=c.h||new n(z+1),x=Math.ceil(o/3),D=2*x,T=function(t){return(a[t]^a[t+1]<<x^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=_[H];if(A[J]=K,_[H]=J,B<=j){var N=v-j;if((L>7e3||q>24576)&&(N>423||!w)){p=C(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;
98++P){var rt=j-W+P&32767,et=rt-A[rt]&32767;et>nt&&(nt=et,K=rt)}}}W+=(J=K)-(K=A[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=C(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=_,c.p=A,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)},O=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},j=function(){function n(n,r){if("function"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(L(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var 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}();function q(t,n){n||(n={});var r=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e<n.length;++e)r=I[255&r^n[e]]^r>>>8;t=r},d:function(){return~t}}}(),e=t.length;r.p(t);var i,a=L(t,n,10+((i=n).filename?i.filename.length+1:0),8),s=a.length;return function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&O(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}}(a,n),O(a,s-8,r.d()),O(a,s-4,e),a}var B=function(){function t(t,n){this.c=S(),this.v=1,j.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),j.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=L(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=S();i.p(n.dictionary),O(t,2,i.d())}}(r,this.o),this.v=0),n&&O(r,r.length-4,this.c.d()),this.ondata(r,n)},t}(),G="undefined"!=typeof TextEncoder&&new TextEncoder,H="undefined"!=typeof TextDecoder&&new TextDecoder;try{H.decode(F,{stream:!0})}catch(t){}var J=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(K(t),this.d=n||!1)},t}();function K(n,r){if(r){for(var e=new t(n.length),i=0;i<n.length;++i)e[i]=n.charCodeAt(i);return e}if(G)return G.encode(n);var a=n.length,s=new t(n.length+(n.length>>1)),o=0,f=function(t){s[o++]=t};for(i=0;i<a;++i){if(o+5>s.length){var h=new t(o+8+(a-i<<1));h.set(s),s=h}var l=n.charCodeAt(i);l<128||r?f(l):l<2048?(f(192|l>>6),f(128|63&l)):l>55295&&l<57344?(f(240|(l=65536+(1047552&l)|1023&n.charCodeAt(++i))>>18),f(128|l>>12&63),f(128|l>>6&63),f(128|63&l)):(f(224|l>>12),f(128|l>>6&63),f(128|63&l))}return b(s,0,o)}const N=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(let r=0,e=t.length;r<e;r++)n+=t[r].length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n<i;n++){const i=t[n];r.set(i,e),e+=i.length}return r}(this._deflatedData);return this._init(),t}_init(){this._hasEvents=!1,this._deflatedData=[],this.deflate=new B,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new J(((t,n)=>{this.deflate.push(t,n)})),this.stream.push("[")}},P={clear:()=>{N.clear()},addEvent:t=>N.addEvent(t),finish:()=>N.finish(),compress:t=>function(t){return q(K(t))}(t)};addEventListener("message",(function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in P&&"function"==typeof P[n])try{const t=P[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}})),postMessage({id:void 0,method:"init",success:!0,response:void 0});';function LF(){const e=new Blob([PF]);return URL.createObjectURL(e)}function Ct(e,t){Re&&(I.info(e),t&&TS(e))}function Xs(e,t){Re&&(I.info(e),t&&setTimeout(()=>{TS(e)},0))}function TS(e){Kn({category:"console",data:{logger:"replay"},level:"info",message:e},{level:"info"})}
98class Mp extends Error{constructor(){super(`Event buffer exceeded maximum size of ${Ip}.`)}}class IS{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!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>Ip)throw new Mp;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?Op(t):null}}class DF{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(){Ct("[Replay] Destroying compression worker"),this._worker.terminate()}postMessage(t,n){const r=this._getAndIncrementId();return new Promise((s,i)=>{const o=({data:a})=>{const c=a;if(c.method===t&&c.id===r){if(this._worker.removeEventListener("message",o),!c.success){Re&&I.error("[Replay]",c.response),i(new Error("Error in compression worker"));return}s(c.response)}};this._worker.addEventListener("message",o),this._worker.postMessage({id:r,method:t,arg:n})})}_getAndIncrementId(){return this._id++}}class $F{constructor(t){this._worker=new DF(t),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(t){const n=Op(t.timestamp);(!this._earliestTimestamp||n<this._earliestTimestamp)&&(this._earliestTimestamp=n);const r=JSON.stringify(t);return this._totalSize+=r.length,this._totalSize>Ip?Promise.reject(new Mp):this._sendEventToWorker(r)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,t=>{Re&&I.warn('[Replay] 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 FF{constructor(t){this._fallback=new IS,this._compression=new $F(t),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}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}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{Ct("[Replay] Failed to load the compression worker, falling back to simple buffer");return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){const{events:t,hasCheckout:n}=this._fallback,r=[];for(const s of t)r.push(this._compression.addEvent(s));this._compression.hasCheckout=n,this._used=this._compression;try{await Promise.all(r)}catch(s){Re&&I.warn("[Replay] Failed to add events when switching buffers.",s)}}}function BF({useCompression:e,workerUrl:t}){if(e&&window.Worker){const n=jF(t);if(n)return n}return Ct("[Replay] Using simple buffer"),new IS}function jF(e){try{const t=e||HF();if(!t)return;Ct(`[Replay] Using compression worker${e?` from ${e}`:""}`);const n=new Worker(t);return new FF(n)}catch{Ct("[Replay] Failed to create compression worker")}}function HF(){return typeof __SENTRY_EXCLUDE_REPLAY_WORKER__>"u"||!__SENTRY_EXCLUDE_REPLAY_WORKER__?LF():""}function Np(){try{return"sessionStorage"in Pe&&!!Pe.sessionStorage}catch{return!1}}function UF(e){qF(),e.session=void 0}function qF(){if(Np())try{Pe.sessionStorage.removeItem(wp)}catch{}}function CS(e){return e===void 0?!1:Math.random()<e}function kS(e){const t=Date.now(),n=e.id||Ie(),r=e.started||t,s=e.lastActivity||t,i=e.segmentId||0,o=e.sampled,a=e.previousSessionId;return{id:n,started:r,lastActivity:s,segmentId:i,sampled:o,previousSessionId:a}}function Pp(e){if(Np())try{Pe.sessionStorage.setItem(wp,JSON.stringify(e))}catch{}}function WF(e,t){return CS(e)?"session":t?"buffer":!1}function Yg({sessionSampleRate:e,allowBuffering:t,stickySession:n=!1},{previousSessionId:r}={}){const s=WF(e,t),i=kS({sampled:s,previousSessionId:r});return n&&Pp(i),i}function zF(e){if(!Np())return null;try{const t=Pe.sessionStorage.getItem(wp);if(!t)return null;const n=JSON.parse(t);return Xs("[Replay] Loading existing session",e),kS(n)}catch{return null}}function Ff(e,t,n=+new Date){return e===null||t===void 0||t<0?!0:t===0?!1:e+t<=n}function xS(e,{maxReplayDuration:t,sessionIdleExpire:n,targetTime:r=Date.now()}){return Ff(e.started,t,r)||Ff(e.lastActivity,n,r)}function RS(e,{sessionIdleExpire:t,maxReplayDuration:n}){return!(!xS(e,{sessionIdleExpire:t,maxReplayDuration:n})||e.sampled==="buffer"&&e.segmentId===0)}function lu({traceInternals:e,sessionIdleExpire:t,maxReplayDuration:n,previousSessionId:r},s){const i=s.stickySession&&zF(e);return i?RS(i,{sessionIdleExpire:t,maxReplayDuration:n})?(Xs("[Replay] Session in sessionStorage is expired, creating new one..."),Yg(s,{previousSessionId:i.id})):i:(Xs("[Replay] Creating new session",e),Yg(s,{previousSessionId:r}))}function VF(e){return e.type===de.Custom}
98function Lp(e,t,n){return OS(e,t)?(AS(e,t,n),!0):!1}function GF(e,t,n){return OS(e,t)?AS(e,t,n):Promise.resolve(null)}async function AS(e,t,n){if(!e.eventBuffer)return null;try{n&&e.recordingMode==="buffer"&&e.eventBuffer.clear(),n&&(e.eventBuffer.hasCheckout=!0);const r=e.getOptions(),s=YF(t,r.beforeAddRecordingEvent);return s?await e.eventBuffer.addEvent(s):void 0}catch(r){const s=r&&r instanceof Mp?"addEventSizeExceeded":"addEvent";Re&&I.error(r),await e.stop({reason:s});const i=ce();i&&i.recordDroppedEvent("internal_sdk_error","replay")}}function OS(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;const n=Op(t.timestamp);return n+e.timeouts.sessionIdlePause<Date.now()?!1:n>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration?(Ct(`[Replay] Skipping event with timestamp ${n} because it is after maxReplayDuration`,e.getOptions()._experiments.traceInternals),!1):!0}function YF(e,t){try{if(typeof t=="function"&&VF(e))return t(e)}catch(n){return Re&&I.error("[Replay] An error occured in the `beforeAddRecordingEvent` callback, skipping the event...",n),null}return e}function Dp(e){return!e.type}function Bf(e){return e.type==="transaction"}function KF(e){return e.type==="replay_event"}function Kg(e){return e.type==="feedback"}function MS(e){const t=QF();return(n,r)=>{if(!e.isEnabled()||!Dp(n)&&!Bf(n))return;const s=r&&r.statusCode;if(!(t&&(!s||s<200||s>=300))){if(Bf(n)){JF(e,n);return}XF(e,n)}}}function JF(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 XF(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)||setTimeout(()=>{e.sendBufferedReplayOrFlush()})}function QF(){const e=ce();if(!e)return!1;const t=e.getTransport();return t&&t.send.__sentry__baseTransport__||!1}function ZF(e){return t=>{!e.isEnabled()||!Dp(t)||eB(e,t)}}function eB(e,t){const n=t.exception&&t.exception.values&&t.exception.values[0].value;if(typeof n=="string"&&(n.match(/reactjs\.org\/docs\/error-decoder\.html\?invariant=(418|419|422|423|425)/)||n.match(/(does not match server-rendered HTML|Hydration failed because)/i))){const r=En({category:"replay.hydrate-error"});Zo(e,r)}}function tB(e,t){return e.type||!e.exception||!e.exception.values||!e.exception.values.length?!1:!!(t.originalException&&t.originalException.__rrweb__)}function nB(e,t){e.triggerUserActivity(),e.addUpdate(()=>t.timestamp?(e.throttledAddEvent({type:de.Custom,timestamp:t.timestamp*1e3,data:{tag:"breadcrumb",payload:{timestamp:t.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:t.event_id}}}}),!1):!0)}function rB(e,t){return e.recordingMode!=="buffer"||t.message===Tp||!t.exception||t.type?!1:CS(e.getOptions().errorSampleRate)}function sB(e,t=!1){const n=t?MS(e):void 0;return Object.assign((r,s)=>e.isEnabled()?KF(r)?(delete r.breadcrumbs,r):!Dp(r)&&!Bf(r)&&!Kg(r)||!e.checkAndHandleExpiredSession()?r:Kg(r)?(e.flush(),r.contexts.feedback.replay_id=e.getSessionId(),nB(e,r),r):tB(r,s)&&!e.getOptions()._experiments.captureExceptions?(Re&&I.log("[Replay] Ignoring error from rrweb internals",r),null):((rB(e,r)||e.recordingMode==="session")&&(r.tags={...r.tags,replayId:e.getSessionId()}),n&&n(r,{statusCode:200}),r):r,{id:"Replay"})}function yl(e,t){return t.map(({type:n,start:r,end:s,name:i,data:o})=>{const a=e.throttledAddEvent({type:de.Custom,timestamp:r,data:{tag:"performanceSpan",payload:{op:n,description:i,startTimestamp:r,endTimestamp:s,data:o}}});return typeof a=="string"?Promise.resolve(null):a})}function iB(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 oB(e){return t=>{if(!e.isEnabled())return;const n=iB(t);n!==null&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate(()=>(yl(e,[n]),!1)))}}function aB(e,t){return Re&&e.getOptions()._experiments.traceInternals?!1:Kb(t,ce())}function _l(e,t){e.isEnabled()&&t!==null&&(aB(e,t.name)||e.addUpdate(()=>(yl(e,[t]),!0)))}function cB(e){const{startTimestamp:t,endTimestamp:n,fetchData:r,response:s}=e;if(!n)return null;const{method:i,url:o}=r;return{type:"resource.fetch",start:t/1e3,end:n/1e3,name:o,data:{method:i,statusCode:s?s.status:void 0}}}function lB(e){return t=>{if(!e.isEnabled())return;const n=cB(t);_l(e,n)}}function uB(e){const{startTimestamp:t,endTimestamp:n,xhr:r}=e,s=r[Bn];if(!t||!n||!s)return null;const{method:i,url:o,status_code:a}=s;return o===void 0?null:{type:"resource.xhr",name:o,start:t/1e3,end:n/1e3,data:{method:i,statusCode:a}}}function fB(e){return t=>{if(!e.isEnabled())return;const n=uB(t);_l(e,n)}}function vl(e,t){if(e)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=DS(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch{}}function NS(e){if(!e)return;const t=parseInt(e,10);return isNaN(t)?void 0:t}function PS(e){try{if(typeof e=="string")return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[DS(e)];if(!e)return[void 0]}catch{return Re&&I.warn("[Replay] Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return Re&&I.info("[Replay] Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function Lc(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 LS(e,t){if(!t)return null;const{startTimestamp:n,endTimestamp:r,url:s,method:i,statusCode:o,request:a,response:c}=t;return{type:e,start:n/1e3,end:r/1e3,name:s,data:ct({method:i,statusCode:o,request:a,response:c})}}function Po(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function br(e,t,n){if(!t&&Object.keys(e).length===0)return;if(!t)return{headers:e};if(!n)return{headers:e,size:t};const r={headers:e,size:t},{body:s,warnings:i}=dB(n);return r.body=s,i&&i.length>0&&(r._meta={warnings:i}),r}function jf(e,t){return Object.keys(e).reduce((n,r)=>{const s=r.toLowerCase();return t.includes(s)&&e[r]&&(n[s]=e[r]),n},{})}function DS(e){return new URLSearchParams(e).toString()}function dB(e){if(!e||typeof e!="string")return{body:e};const t=e.length>Ng,n=pB(e);if(t){const r=e.slice(0,Ng);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 pB(e){const t=e[0],n=e[e.length-1];return t==="["&&n==="]"||t==="{"&&n==="}"}function Dc(e,t){const n=hB(e);return ki(n,t)}function hB(e,t=Pe.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(Pe.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 mB(e,t,n){try{const r=await yB(e,t,n),s=LS("resource.fetch",r);_l(n.replay,s)}catch(r){Re&&I.error("[Replay] Failed to capture fetch breadcrumb",r)}}function gB(e,t,n){const{input:r,response:s}=t,i=r?$S(r):void 0,o=vl(i,n.textEncoder),a=s?NS(s.headers.get("content-length")):void 0;o!==void 0&&(e.data.request_body_size=o),a!==void 0&&(e.data.response_body_size=a
98)}async function yB(e,t,n){const r=Date.now(),{startTimestamp:s=r,endTimestamp:i=r}=t,{url:o,method:a,status_code:c=0,request_body_size:u,response_body_size:l}=e.data,f=Dc(o,n.networkDetailAllowUrls)&&!Dc(o,n.networkDetailDenyUrls),d=f?_B(n,t.input,u):Po(u),p=await vB(f,n,t.response,l);return{startTimestamp:s,endTimestamp:i,url:o,method:a,statusCode:c,request:d,response:p}}function _B({networkCaptureBodies:e,networkRequestHeaders:t},n,r){const s=n?SB(n,t):{};if(!e)return br(s,r,void 0);const i=$S(n),[o,a]=PS(i),c=br(s,r,o);return a?Lc(c,a):c}async function vB(e,{networkCaptureBodies:t,textEncoder:n,networkResponseHeaders:r},s,i){if(!e&&i!==void 0)return Po(i);const o=s?FS(s.headers,r):{};if(!s||!t&&i!==void 0)return br(o,i,void 0);const[a,c]=await EB(s),u=bB(a,{networkCaptureBodies:t,textEncoder:n,responseBodySize:i,captureDetails:e,headers:o});return c?Lc(u,c):u}function bB(e,{networkCaptureBodies:t,textEncoder:n,responseBodySize:r,captureDetails:s,headers:i}){try{const o=e&&e.length&&r===void 0?vl(e,n):r;return s?t?br(i,o,e):br(i,o,void 0):Po(o)}catch(o){return Re&&I.warn("[Replay] Failed to serialize response body",o),br(i,r,void 0)}}async function EB(e){const t=wB(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{return[await TB(t)]}catch(n){return Re&&I.warn("[Replay] Failed to get text body from response",n),[void 0,"BODY_PARSE_ERROR"]}}function $S(e=[]){if(!(e.length!==2||typeof e[1]!="object"))return e[1].body}function FS(e,t){const n={};return t.forEach(r=>{e.get(r)&&(n[r]=e.get(r))}),n}function SB(e,t){return e.length===1&&typeof e[0]!="string"?Jg(e[0],t):e.length===2?Jg(e[1],t):{}}function Jg(e,t){if(!e)return{};const n=e.headers;return n?n instanceof Headers?FS(n,t):Array.isArray(n)?{}:jf(n,t):{}}function wB(e){try{return e.clone()}catch(t){Re&&I.warn("[Replay] Failed to clone response body",t)}}function TB(e){return new Promise((t,n)=>{const r=setTimeout(()=>n(new Error("Timeout while trying to read response body")),500);IB(e).then(s=>t(s),s=>n(s)).finally(()=>clearTimeout(r))})}async function IB(e){return await e.text()}async function CB(e,t,n){try{const r=xB(e,t,n),s=LS("resource.xhr",r);_l(n.replay,s)}catch(r){Re&&I.error("[Replay] Failed to capture xhr breadcrumb",r)}}function kB(e,t,n){const{xhr:r,input:s}=t;if(!r)return;const i=vl(s,n.textEncoder),o=r.getResponseHeader("content-length")?NS(r.getResponseHeader("content-length")):MB(r.response,r.responseType,n.textEncoder);i!==void 0&&(e.data.request_body_size=i),o!==void 0&&(e.data.response_body_size=o)}function xB(e,t,n){const r=Date.now(),{startTimestamp:s=r,endTimestamp:i=r,input:o,xhr:a}=t,{url:c,method:u,status_code:l=0,request_body_size:f,response_body_size:d}=e.data;if(!c)return null;if(!a||!Dc(c,n.networkDetailAllowUrls)||Dc(c,n.networkDetailDenyUrls)){const T=Po(f),C=Po(d);return{startTimestamp:s,endTimestamp:i,url:c,method:u,statusCode:l,request:T,response:C}}const p=a[Bn],h=p?jf(p.request_headers,n.networkRequestHeaders):{},m=jf(RB(a),n.networkResponseHeaders),[v,y]=n.networkCaptureBodies?PS(o):[void 0],[_,g]=n.networkCaptureBodies?AB(a):[void 0],b=br(h,f,v),S=br(m,d,_);return{startTimestamp:s,endTimestamp:i,url:c,method:u,statusCode:l,request:y?Lc(b,y):b,response:g?Lc(S,g):S}}function RB(e){const t=e.getAllResponseHeaders();return t?t.split(`\r 99`).reduce((n,r)=>{const[s,i]=r.split(": ");return n[s.toLowerCase()]=i,n},{}):{}}function AB(e){const t=[];try{return[e.responseText]}catch(n){t.push(n)}try{return OB(e.response,e.responseType)}catch(n){t.push(n)}return Re&&I.warn("[Replay] Failed to get xhr response body",...t),[void 0]}function OB(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{return Re&&I.warn("[Replay] Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return Re&&I.info("[Replay] Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function MB(e,t,n){try{const r=t==="json"&&e&&typeof e=="object"?JSON.stringify(e):e;return vl(r,n)}catch{return}}function NB(e){const t=ce();try{const n=new TextEncoder,{networkDetailAllowUrls:r,networkDetailDenyUrls:s,networkCaptureBodies:i,networkRequestHeaders:o,networkResponseHeaders:a}=e.getOptions(),c={replay:e,textEncoder:n,networkDetailAllowUrls:r,networkDetailDenyUrls:s,networkCaptureBodies:i,networkRequestHeaders:o,networkResponseHeaders:a};t&&t.on?t.on("beforeAddBreadcrumb",(u,l)=>PB(c,u,l)):(rl(lB(e)),sl(fB(e)))}catch{}}function PB(e,t,n){if(t.data)try{LB(t)&&$B(n)&&(kB(t,n,e),CB(t,n,e)),DB(t)&&FB(n)&&(gB(t,n,e),mB(t,n,e))}catch{Re&&I.warn("Error when enriching network breadcrumb")}}function LB(e){return e.category==="xhr"}function DB(e){return e.category==="fetch"}function $B(e){return e&&e.xhr}function FB(e){return e&&e.response}let Xg=null;function BB(e){return!!e.category}const jB=e=>t=>{if(!e.isEnabled())return;const n=HB(t);n&&Zo(e,n)};function HB(e){const t=e.getLastBreadcrumb&&e.getLastBreadcrumb();return Xg===t||!t||(Xg=t,!BB(t)||["fetch","xhr","sentry.event","sentry.transaction"].includes(t.category)||t.category.startsWith("ui."))?null:t.category==="console"?UB(t):En(t)}function UB(e){const t=e.data&&e.data.arguments;if(!Array.isArray(t)||t.length===0)return En(e);let n=!1;const r=t.map(s=>{if(!s)return s;if(typeof s=="string")return s.length>Ia?(n=!0,`${s.slice(0,Ia)}…`):s;if(typeof s=="object")try{const i=Qt(s,7);return JSON.stringify(i).length>Ia?(n=!0,`${JSON.stringify(i,null,2).slice(0,Ia)}…`):i}catch{}return s});return En({...e,data:{...e.data,arguments:r,...n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}function qB(e){const t=Xe(),n=ce();t.addScopeListener(jB(e)),tb(bF(e)),qo(oB(e)),NB(e);const r=sB(e,!Qg(n));n&&n.addEventProcessor?n.addEventProcessor(r):qb(r),Qg(n)&&(n.on("beforeSendEvent",ZF(e)),n.on("afterSendEvent",MS(e)),n.on("createDsc",s=>{const i=e.getSessionId();i&&e.isEnabled()&&e.recordingMode==="session"&&e.checkAndHandleExpiredSession()&&(s.replay_id=i)}),n.on("startTransaction",s=>{e.lastTransaction=s}),n.on("finishTransaction",s=>{e.lastTransaction=s}),n.on("beforeSendFeedback",(s,i)=>{const o=e.getSessionId();i&&i.includeReplay&&e.isEnabled()&&o&&s.contexts&&s.contexts.feedback&&(s.contexts.feedback.replay_id=o)}))}function Qg(e){return!!(e&&e.on)}async function WB(e){try{return Promise.all(yl(e,[zB(Pe.performance.memory)]))}catch{return[]}}function zB(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 VB(e,t,n){let r,s,i;const o=n&&n.maxWait?Math.max(n.maxWait,t):0;function a(){return c(),r=e(),r}function c(){s!==void 0&&clearTimeout(s),i!==void 0&&clearTimeout(i),s=i=void 0}function u(){return s!==void 0||i!==void 0?a():r}function l(){return s&&clearTimeout(s),s=setTimeout(a,t),o&&i===void 0&&(i=setTimeout(a,o)),r}return l.cancel=c,l.flush=u,l}function GB(e){let t=!1;return(n,r)=>{if(!e.checkAndHandleExpiredSession()){Re&&I.warn("[Replay] Received replay event after session expired.");return}const s=r||!t;t=!0,e.clickDetector&&mF(e.clickDetector,n),e.addUpdate(()=>{if(e.recordingMode==="buffer"&&s&&e.setInitialState(),!Lp(e,n,s))return!0;
99if(!s)return!1;if(KB(e,s),e.session&&e.session.previousSessionId)return!0;if(e.recordingMode==="buffer"&&e.session&&e.eventBuffer){const i=e.eventBuffer.getEarliestTimestamp();i&&(Ct(`[Replay] Updating session start time to earliest event in buffer to ${new Date(i)}`,e.getOptions()._experiments.traceInternals),e.session.started=i,e.getOptions().stickySession&&Pp(e.session))}return e.recordingMode==="session"&&e.flush(),!0})}}function YB(e){const t=e.getOptions();return{type:de.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:e.isRecordingCanvas(),sessionSampleRate:t.sessionSampleRate,errorSampleRate:t.errorSampleRate,useCompressionOption:t.useCompression,blockAllMedia:t.blockAllMedia,maskAllText:t.maskAllText,maskAllInputs:t.maskAllInputs,useCompression:e.eventBuffer?e.eventBuffer.type==="worker":!1,networkDetailHasUrls:t.networkDetailAllowUrls.length>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}}function KB(e,t){!t||!e.session||e.session.segmentId!==0||Lp(e,YB(e),!1)}function JB(e,t,n,r){return Zn(hb(e,Kd(e),r,n),[[{type:"replay_event"},e],[{type:"replay_recording",length:typeof t=="string"?new TextEncoder().encode(t).length:t.length},t]])}function XB({recordingData:e,headers:t}){let n;const r=`${JSON.stringify(t)} 100`;if(typeof e=="string")n=`${r}${e}`;else{const i=new TextEncoder().encode(r);n=new Uint8Array(i.length+e.length),n.set(i),n.set(e,i.length)}return n}async function QB({client:e,scope:t,replayId:n,event:r}){const s=typeof e._integrations=="object"&&e._integrations!==null&&!Array.isArray(e._integrations)?Object.keys(e._integrations):void 0,i={event_id:n,integrations:s};e.emit&&e.emit("preprocessEvent",r,i);const o=await Zd(e.getOptions(),r,i,t,e,xn());if(!o)return null;o.platform=o.platform||"javascript";const a=e.getSdkMetadata&&e.getSdkMetadata(),{name:c,version:u}=a&&a.sdk||{};return o.sdk={...o.sdk,name:c||"sentry.javascript.unknown",version:u||"0.0.0"},o}async function ZB({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:s,session:i}){const o=XB({recordingData:e,headers:{segment_id:n}}),{urls:a,errorIds:c,traceIds:u,initialTimestamp:l}=r,f=ce(),d=Xe(),p=f&&f.getTransport(),h=f&&f.getDsn();if(!f||!p||!h||!i.sampled)return;const m={type:$$,replay_start_timestamp:l/1e3,timestamp:s/1e3,error_ids:c,trace_ids:u,urls:a,replay_id:t,segment_id:n,replay_type:i.sampled},v=await QB({scope:d,client:f,replayId:t,event:m});if(!v){f.recordDroppedEvent("event_processor","replay",m),Ct("An event processor returned `null`, will not send event.");return}delete v.sdkProcessingMetadata;const y=JB(v,o,h,f.getOptions().tunnel);let _;try{_=await p.send(y)}catch(b){const S=new Error(Tp);try{S.cause=b}catch{}throw S}if(!_)return _;if(typeof _.statusCode=="number"&&(_.statusCode<200||_.statusCode>=300))throw new BS(_.statusCode);const g=yb({},_);if(gb(g,"replay"))throw new jS(g);return _}class BS extends Error{constructor(t){super(`Transport returned status code ${t}`)}}class jS extends Error{constructor(t){super("Rate limit hit"),this.rateLimits=t}}async function HS(e,t={count:0,interval:q$}){const{recordingData:n,options:r}=e;if(n.length)try{return await ZB(e),!0}catch(s){if(s instanceof BS||s instanceof jS)throw s;if(Sb("Replays",{_retryCount:t.count}),Re&&r._experiments&&r._experiments.captureExceptions&&us(s),t.count>=W$){const i=new Error(`${Tp} - max retries exceeded`);try{i.cause=s}catch{}throw i}return t.interval*=++t.count,new Promise((i,o)=>{setTimeout(async()=>{try{await HS(e,t),i(!0)}catch(a){o(a)}},t.interval)})}}const US="__THROTTLED",ej="__SKIPPED";function tj(e,t,n){const r=new Map,s=a=>{const c=a-n;r.forEach((u,l)=>{l<c&&r.delete(l)})},i=()=>[...r.values()].reduce((a,c)=>a+c,0);let o=!1;return(...a)=>{const c=Math.floor(Date.now()/1e3);if(s(c),i()>=t){const l=o;return o=!0,l?ej:US}o=!1;const u=r.get(c)||0;return r.set(c,u+1),e(...a)}}class ur{constructor({options:t,recordingOptions:n}){ur.prototype.__init.call(this),ur.prototype.__init2.call(this),ur.prototype.__init3.call(this),ur.prototype.__init4.call(this),ur.prototype.__init5.call(this),ur.prototype.__init6.call(this),this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:F$,sessionIdleExpire:B$},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!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=VB(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=tj((o,a)=>GF(this,o,a),300,5);const{slowClickTimeout:r,slowClickIgnoreSelectors:s}=this.getOptions(),i=r?{threshold:Math.min(z$,r),timeout:r,scrollTimeout:V$,ignoreSelector:s?s.join(","):""}:void 0;i&&(this.clickDetector=new fF(this,i))}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}initializeSampling(t){const{errorSampleRate:n,sessionSampleRate:r}=this._options;
100if(!(n<=0&&r<=0)){if(this._initializeSessionForSampling(t),!this.session){this._handleException(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",Xs(`[Replay] Starting replay in ${this.recordingMode} mode`,this._options._experiments.traceInternals),this._initializeRecording())}}start(){if(this._isEnabled&&this.recordingMode==="session")throw new Error("Replay recording is already in progress");if(this._isEnabled&&this.recordingMode==="buffer")throw new Error("Replay buffering is in progress, call `flush()` to save the replay");Xs("[Replay] Starting replay in session mode",this._options._experiments.traceInternals),this._updateUserActivity();const t=lu({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire,traceInternals:this._options._experiments.traceInternals},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=t,this._initializeRecording()}startBuffering(){if(this._isEnabled)throw new Error("Replay recording is already in progress");Xs("[Replay] Starting replay in buffer mode",this._options._experiments.traceInternals);const t=lu({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,traceInternals:this._options._experiments.traceInternals},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=t,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{const t=this._canvas;this._stopRecording=vr({...this._recordingOptions,...this.recordingMode==="buffer"&&{checkoutEveryNms:U$},emit:GB(this),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{Ct(`[Replay] Stopping Replay${n?` triggered by ${n}`:""}`,this._options._experiments.traceInternals),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),t&&await this._flush({force:!0}),this.eventBuffer&&this.eventBuffer.destroy(),this.eventBuffer=null,UF(this)}catch(r){this._handleException(r)}}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),Ct("[Replay] Pausing replay",this._options._experiments.traceInternals))}resume(){!this._isPaused||!this._checkSession()||(this._isPaused=!1,this.startRecording(),Ct("[Replay] Resuming replay",this._options._experiments.traceInternals))}async sendBufferedReplayOrFlush({continueRecording:t=!0}={}){if(this.recordingMode==="session")return this.flushImmediate();const n=Date.now();Ct("[Replay] Converting buffer to session",this._options._experiments.traceInternals),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}checkAndHandleExpiredSession(){if(this._lastActivity&&Ff(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&this.session.sampled==="session"){this.pause();return}return!!this._checkSession()}setInitialState(){const t=`${Pe.location.pathname}${Pe.location.hash}${Pe.location.search}`,n=`${Pe.location.origin}${t}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.
100initialUrl=n,this._context.initialTimestamp=Date.now(),this._context.urls.push(n)}throttledAddEvent(t,n){const r=this._throttledAddEvent(t,n);if(r===US){const s=En({category:"replay.throttled"});this.addUpdate(()=>!Lp(this,{type:iF,timestamp:s.timestamp||0,data:{tag:"breadcrumb",payload:s,metric:!0}}))}return r}getCurrentRoute(){const t=this.lastTransaction||Xe().getTransaction(),r=(t&&Ce(t).data||{})[yt];if(!(!t||!r||!["route","custom"].includes(r)))return Ce(t).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=BF({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_handleException(t){Re&&I.error("[Replay]",t),Re&&this._options._experiments&&this._options._experiments.captureExceptions&&us(t)}_initializeSessionForSampling(t){const n=this._options.errorSampleRate>0,r=lu({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,traceInternals:this._options._experiments.traceInternals,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 RS(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{Pe.document.addEventListener("visibilitychange",this._handleVisibilityChange),Pe.addEventListener("blur",this._handleWindowBlur),Pe.addEventListener("focus",this._handleWindowFocus),Pe.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(qB(this),this._hasInitializedCoreListeners=!0)}catch(t){this._handleException(t)}this._performanceCleanupCallback=NF(this)}_removeListeners(){try{Pe.document.removeEventListener("visibilitychange",this._handleVisibilityChange),Pe.removeEventListener("blur",this._handleWindowBlur),Pe.removeEventListener("focus",this._handleWindowFocus),Pe.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(t){this._handleException(t)}}__init(){this._handleVisibilityChange=()=>{Pe.document.visibilityState==="visible"?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()}}__init2(){this._handleWindowBlur=()=>{const t=En({category:"ui.blur"});this._doChangeToBackgroundTasks(t)}}__init3(){this._handleWindowFocus=()=>{const t=En({category:"ui.focus"});this._doChangeToForegroundTasks(t)}}__init4(){this._handleKeyboardEvent=t=>{TF(this,t)}}_doChangeToBackgroundTasks(t){!this.session||xS(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()){Ct("[Replay] Document has become active, but session has expired");return}t&&this._createCustomBreadcrumb(t)}_updateUserActivity(t=Date.now()){this._lastActivity=t}_updateSessionActivity(t=Date.now()){this.session&&(this.session.lastActivity=t,this._maybeSaveSession())}_createCustomBreadcrumb(t){this.addUpdate(()=>{this.throttledAddEvent({type:de.Custom,timestamp:t.timestamp||0,data:{tag:"breadcrumb",payload:t}})})}_addPerformanceEntries(){const t=kF(this.performanceEntries).concat(this.replayPerformanceEntries);return this.performanceEntries=[],this.replayPerformanceEntries=[],Promise.all(yl(this,t))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){const{session:t,eventBuffer:n}=this;if(!t||!n||t.segmentId)return;const r=n.getEarliestTimestamp();
100r&&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){Re&&I.error("[Replay] No session or eventBuffer found to flush.");return}if(await this._addPerformanceEntries(),!(!this.eventBuffer||!this.eventBuffer.hasEvents)&&(await WB(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 i=await this.eventBuffer.finish();await HS({replayId:t,recordingData:i,segmentId:s,eventContext:r,session:this.session,options:this.getOptions(),timestamp:n})}catch(n){this._handleException(n),this.stop({reason:"sendReplay"});const r=ce();r&&r.recordDroppedEvent("send_error","replay")}}__init5(){this._flush=async({force:t=!1}={})=>{if(!this._isEnabled&&!t)return;if(!this.checkAndHandleExpiredSession()){Re&&I.error("[Replay] Attempting to finish replay event after session expired.");return}if(!this.session)return;const n=this.session.started,s=Date.now()-n;this._debouncedFlush.cancel();const i=s<this._options.minReplayDuration,o=s>this._options.maxReplayDuration+5e3;if(i||o){Ct(`[Replay] Session duration (${Math.floor(s/1e3)}s) is too ${i?"short":"long"}, not sending replay.`,this._options._experiments.traceInternals),i&&this._debouncedFlush();return}const a=this.eventBuffer;if(a&&this.session.segmentId===0&&!a.hasCheckout&&Ct("[Replay] Flushing initial segment without checkout.",this._options._experiments.traceInternals),!this._flushLock){this._flushLock=this._runFlush(),await this._flushLock,this._flushLock=void 0;return}try{await this._flushLock}catch(c){Re&&I.error(c)}finally{this._debouncedFlush()}}}_maybeSaveSession(){this.session&&this._options.stickySession&&Pp(this.session)}__init6(){this._onMutationHandler=t=>{const n=t.length,r=this._options.mutationLimit,s=this._options.mutationBreadcrumbLimit,i=r&&n>r;if(n>s||i){const o=En({category:"replay.mutations",data:{count:n,limit:i}});this._createCustomBreadcrumb(o)}return i?(this.stop({reason:"mutationLimit",forceFlush:this.recordingMode==="session"}),!1):!0}}}function Ui(e,t,n,r){const s=typeof r=="string"?r.split(","):[],i=[...e,...s,...t];return typeof n<"u"&&(typeof n=="string"&&i.push(`.${n}`),ln(()=>{console.warn("[Replay] You are using a deprecated configuration item for privacy. Read the documentation on how to use the new privacy configuration.")})),i.join(",")}function nj({mask:e,unmask:t,block:n,unblock:r,ignore:s,blockClass:i,blockSelector:o,maskTextClass:a,maskTextSelector:c,ignoreClass:u}){const l=['base[href="/"]'],f=Ui(e,[".sentry-mask","[data-sentry-mask]"],a,c),d=Ui(t,[".sentry-unmask","[data-sentry-unmask]"]),p={maskTextSelector:f,unmaskTextSelector:d,blockSelector:Ui(n,[".sentry-block","[data-sentry-block]",...l],i,o),unblockSelector:Ui(r,[".sentry-unblock","[data-sentry-unblock]"]),ignoreSelector:Ui(s,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'],u)};return i instanceof RegExp&&(p.blockClass=i),a instanceof RegExp&&(p.maskTextClass=a),p}function rj({el:e,key:t,maskAttributes:n,maskAllText:r,privacyOptions:s,value:i}){return!r||s.unmaskTextSelector&&e.matches(s.unmaskTextSelector)?i:n.includes(t)||t==="value"&&e.tagName==="INPUT"&&["submit","button"].includes(e.getAttribute("type")||"")?i.replace(/[\S]/g,"*"):i}const Zg='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',sj=["content-length","content-type","accept"];let ey=!1;const ij=e=>new ea(e);class ea{static __initStatic(){this.id="Replay"}constructor({flushMinDelay:t=j$,flushMaxDelay:n=H$,minReplayDuration:r=G$,maxReplayDuration:s=Pg,stickySession:i=!0,useCompression:o=!0,workerUrl:a,_experiments:c={},sessionSampleRate:u,errorSampleRate:l,maskAllText:f=!0,maskAllInputs:d=!0,blockAllMedia:p=!0,mutationBreadcrumbLimit:h=750,mutationLimit:m=1e4,slowClickTimeout:v=7e3,slowClickIgnoreSelectors:y=[],networkDetailAllowUrls:_=[],networkDetailDenyUrls:g=[],networkCaptureBodies:b=!0,networkRequestHeaders:S=[],networkResponseHeaders:T=[],mask:C=[],maskAttributes:M=["title","placeholder"],unmask:x=[],block:k=[],unblock:B=[],ignore:A=[],maskFn:U,beforeAddRecordingEvent:X,beforeErrorSampling:re,blockClass:$,blockSelector:Y,maskInputOptions:q,maskTextClass:fe,maskTextSelector:je,ignoreClass:ut}={}){this.name=ea.id;const $e=nj({mask:C,unmask:x,block:k,unblock:B,ignore:A,blockClass:$,blockSelector:Y,maskTextClass:fe,maskTextSelector:je,ignoreClass:ut});if(this._recordingOptions={maskAllInputs:d,maskAllText:f,maskInputOptions:{...q||{},password:!0},maskTextFn:U,maskInputFn:U,maskAttributeFn:(Je,vt,Rt)=>rj({maskAttributes:M,maskAllText:f,privacyOptions:$e,key:Je,value:vt,el:Rt}),...$e,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:Je=>{try{Je.__rrweb__=!0}catch{}}},this._initialOptions={flushMinDelay:t,flushMaxDelay:n,minReplayDuration:Math.min(r,Y$),maxReplayDuration:Math.min(s,Pg),stickySession:i,sessionSampleRate:u,errorSampleRate:l,useCompression:o,workerUrl:a,blockAllMedia:p,maskAllInputs:d,maskAllText:f,mutationBreadcrumbLimit:h,mutationLimit:m,slowClickTimeout:v,slowClickIgnoreSelectors:y,networkDetailAllowUrls:_,networkDetailDenyUrls:g,networkCaptureBodies:b,networkRequestHeaders:ty(S),networkResponseHeaders:ty(T),beforeAddRecordingEvent:X,beforeErrorSampling:re,_experiments:c},typeof u=="number"&&(console.warn(`[Replay] You are passing \`sessionSampleRate\` to the Replay integration. 101This option is deprecated and will be removed soon. 102Instead, configure \`replaysSessionSampleRate\` directly in the SDK init options, e.g.: 103Sentry.init({ replaysSessionSampleRate: ${u} })`),this._initialOptions.sessionSampleRate=u),typeof l=="number"&&(console.warn(`[Replay] You are passing \`errorSampleRate\` to the Replay integration. 104This option is deprecated and will be removed soon. 105Instead, configure \`replaysOnErrorSampleRate\` directly in the SDK init options, e.g.: 106Sentry.init({ replaysOnErrorSampleRate: ${l} })`),this._initialOptions.errorSampleRate=l),this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${Zg}`:Zg),this._isInitialized&&bf())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return ey}set _isInitialized(t){ey=t}setupOnce(){bf()&&(this._setup(),setTimeout(()=>this._initialize()))}start(){this._replay&&this._replay.start()}
106startBuffering(){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()?Promise.resolve():this._replay.sendBufferedReplayOrFlush(t)}getReplayId(){if(!(!this._replay||!this._replay.isEnabled()))return this._replay.getSessionId()}_initialize(){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(),this._replay.initializeSampling())}_setup(){const t=oj(this._initialOptions);this._replay=new ur({options:t,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(){try{const n=ce().getIntegrationByName("ReplayCanvas");if(!n)return;this._replay._canvas=n.getOptions()}catch{}}}ea.__initStatic();function oj(e){const t=ce(),n=t&&t.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...ct(e)};return n?(e.sessionSampleRate==null&&e.errorSampleRate==null&&n.replaysSessionSampleRate==null&&n.replaysOnErrorSampleRate==null&&ln(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),typeof n.replaysSessionSampleRate=="number"&&(r.sessionSampleRate=n.replaysSessionSampleRate),typeof n.replaysOnErrorSampleRate=="number"&&(r.errorSampleRate=n.replaysOnErrorSampleRate),r):(ln(()=>{console.warn("SDK client is not available.")}),r)}function ty(e){return[...sj,...e.map(t=>t.toLowerCase())]}function aj(){const e=ce();return e&&e.getIntegrationByName&&e.getIntegrationByName("Replay")}var ny;(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"})(ny||(ny={}));function cj(e,t){for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}return!1}function Hf(e,t,n=1/0,r=0){return!e||e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:Hf(e.parentNode,t,n,r+1)}function ry(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(cj(r,e))return!0}return!!(t&&r.matches(t))}catch{return!1}}}const xs=`Please stop import mirror directly. Instead of that,\r 107now you can use replayer.getMirror() to access the mirror instance of a replayer,\r 108or you can use record.mirror to access the mirror instance during recording.`;let sy={map:{},getId(){return console.error(xs),-1},getNode(){return console.error(xs),null},removeNodeFromMap(){console.error(xs)},has(){return console.error(xs),!1},reset(){console.error(xs)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(sy=new Proxy(sy,{get(e,t,n){return t==="map"&&console.error(xs),Reflect.get(e,t,n)}}));function $p(e,t,n,r,s=window){const i=s.Object.getOwnPropertyDescriptor(e,t);return s.Object.defineProperty(e,t,r?n:{set(o){WS(()=>{n.set.call(this,o)},0),i&&i.set&&i.set.call(this,o)}}),()=>$p(e,t,i||{},!0)}function Fp(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 lj(e){return e?e.nodeType===e.ELEMENT_NODE?e:e.parentElement:null}function bl(e,t,n,r,s){if(!e)return!1;const i=lj(e);if(!i)return!1;const o=ry(t,n),a=Hf(i,o);let c=-1;return a<0?!1:(r&&(c=Hf(i,ry(null,r))),a>-1&&c<0?!0:a<c)}const iy={};function qS(e){const t=iy[e];if(t)return t;const n=window.document;let r=window[e];if(n&&typeof n.createElement=="function")try{const s=n.createElement("iframe");s.hidden=!0,n.head.appendChild(s);const i=s.contentWindow;i&&i[e]&&(r=i[e]),n.head.removeChild(s)}catch{}return iy[e]=r.bind(window)}function Nr(...e){return qS("requestAnimationFrame")(...e)}function WS(...e){return qS("setTimeout")(...e)}var mi=(e=>(e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e))(mi||{});let Va;function uj(e){Va=e}const oy=e=>Va?(...n)=>{try{return e(...n)}catch(r){if(Va&&Va(r)===!0)return()=>{};throw r}}:e;var Ds="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
108+/",fj=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var xa=0;xa<Ds.length;xa++)fj[Ds.charCodeAt(xa)]=xa;var dj=function(e){var t=new Uint8Array(e),n,r=t.length,s="";for(n=0;n<r;n+=3)s+=Ds[t[n]>>2],s+=Ds[(t[n]&3)<<4|t[n+1]>>4],s+=Ds[(t[n+1]&15)<<2|t[n+2]>>6],s+=Ds[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 ay=new Map;function pj(e,t){let n=ay.get(e);return n||(n=new Map,ay.set(e,n)),n.has(t)||n.set(t,[]),n.get(t)}const zS=(e,t,n)=>{if(!e||!(GS(e,t)||typeof e=="object"))return;const r=e.constructor.name,s=pj(n,r);let i=s.indexOf(e);return i===-1&&(i=s.length,s.push(e)),i};function Ga(e,t,n){if(e instanceof Array)return e.map(r=>Ga(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=dj(e);return{rr_type:r,base64:s}}else{if(e instanceof DataView)return{rr_type:e.constructor.name,args:[Ga(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:[Ga(e.data,t,n),e.width,e.height]};if(GS(e,t)||typeof e=="object"){const r=e.constructor.name,s=zS(e,t,n);return{rr_type:r,index:s}}}}return e}const VS=(e,t,n)=>e.map(r=>Ga(r,t,n)),GS=(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 hj(e,t,n,r,s){const i=[],o=Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype);for(const a of o)try{if(typeof t.CanvasRenderingContext2D.prototype[a]!="function")continue;const c=Fp(t.CanvasRenderingContext2D.prototype,a,function(u){return function(...l){return bl(this.canvas,n,r,s,!0)||WS(()=>{const f=VS(l,t,this);e(this.canvas,{type:mi["2D"],property:a,args:f})},0),u.apply(this,l)}});i.push(c)}catch{const u=$p(t.CanvasRenderingContext2D.prototype,a,{set(l){e(this.canvas,{type:mi["2D"],property:a,args:[l],setter:!0})}});i.push(u)}return()=>{i.forEach(a=>a())}}function mj(e){return e==="experimental-webgl"?"webgl":e}function cy(e,t,n,r,s){const i=[];try{const o=Fp(e.HTMLCanvasElement.prototype,"getContext",function(a){return function(c,...u){if(!bl(this,t,n,r,!0)){const l=mj(c);if("__context"in this||(this.__context=l),s&&["webgl","webgl2"].includes(l))if(u[0]&&typeof u[0]=="object"){const f=u[0];f.preserveDrawingBuffer||(f.preserveDrawingBuffer=!0)}else u.splice(0,1,{preserveDrawingBuffer:!0})}return a.apply(this,[c,...u])}});i.push(o)}catch{console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{i.forEach(o=>o())}}function ly(e,t,n,r,s,i,o,a){const c=[],u=Object.getOwnPropertyNames(e);for(const l of u)if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(l))try{if(typeof e[l]!="function")continue;const f=Fp(e,l,function(d){return function(...p){const h=d.apply(this,p);if(zS(h,a,this),"tagName"in this.canvas&&!bl(this.canvas,r,s,i,!0)){const m=VS(p,a,this),v={type:t,property:l,args:m};n(this.canvas,v)}return h}});c.push(f)}catch{const d=$p(e,l,{set(p){n(this.canvas,{type:t,property:l,args:[p],setter:!0})}});c.push(d)}return c}function gj(e,t,n,r,s,i){const o=[];return o.push(...ly(t.WebGLRenderingContext.prototype,mi.WebGL,e,n,r,s,i,t)),typeof t.WebGL2RenderingContext<"u"&&o.push(...ly(t.WebGL2RenderingContext.prototype,mi.WebGL2,e,n,r,s,i,t)),()=>{o.forEach(a=>a())}}var yj='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;
108if("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 _j(){const e=new Blob([yj]);return URL.createObjectURL(e)}class vj{reset(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()}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.frozen=!1,this.locked=!1,this.processMutation=(f,d)=>{(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId||!this.rafStamps.invokeId)&&(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(f)||this.pendingCanvasMutations.set(f,[]),this.pendingCanvasMutations.get(f).push(d)};const{sampling:n="all",win:r,blockClass:s,blockSelector:i,unblockSelector:o,maxCanvasSize:a,recordCanvas:c,dataURLOptions:u,errorHandler:l}=t;this.mutationCb=t.mutationCb,this.mirror=t.mirror,this.options=t,l&&uj(l),!t.enableManualSnapshot&&oy(()=>{c&&n==="all"&&this.initCanvasMutationObserver(r,s,i,o),c&&typeof n=="number"&&this.initCanvasFPSObserver(n,r,s,i,o,a,{dataURLOptions:u})})()}initCanvasFPSObserver(t,n,r,s,i,o,a){const c=cy(n,r,s,i,!0),u=this.takeSnapshot(!1,t,n,r,s,i,o,a.dataURLOptions);this.resetObservers=()=>{c(),cancelAnimationFrame(u)}}initCanvasMutationObserver(t,n,r,s){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();const i=cy(t,n,r,s,!1),o=hj(this.processMutation.bind(this),t,n,r,s),a=gj(this.processMutation.bind(this),t,n,r,s,this.mirror);this.resetObservers=()=>{i(),o(),a()}}snapshot(t){const{options:n}=this,r=this.takeSnapshot(!0,n.sampling==="all"?2:n.sampling||2,n.win,n.blockClass,n.blockSelector,n.unblockSelector,n.maxCanvasSize,n.dataURLOptions,t);this.resetObservers=()=>{cancelAnimationFrame(r)}}takeSnapshot(t,n,r,s,i,o,a,c,u){const l=new Map,f=new Worker(_j());f.onmessage=y=>{const _=y.data,{id:g}=_;if(l.set(g,!1),!("base64"in _))return;const{base64:b,type:S,width:T,height:C}=_;this.mutationCb({id:g,type:mi["2D"],commands:[{property:"clearRect",args:[0,0,T,C]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:b}],type:S}]},0,0,T,C]}]})};const d=1e3/n;let p=0,h;const m=y=>{if(y)return[y];const _=[];return r.document.querySelectorAll("canvas").forEach(g=>{bl(g,s,i,o)||_.push(g)}),_},v=y=>{if(p&&y-p<d){h=Nr(v);return}p=y,m(u).forEach(_=>{const g=this.mirror.getId(_);if(!l.get(g)&&!(!_.width||!_.height)){if(l.set(g,!0),!t&&["webgl","webgl2"].includes(_.__context)){const b=_.getContext(_.__context);za([b,"optionalAccess",S=>S.getContextAttributes,"call",S=>S(),"optionalAccess",S=>S.preserveDrawingBuffer])===!1&&b.clear(b.COLOR_BUFFER_BIT)}createImageBitmap(_).then(b=>{f.postMessage({id:g,bitmap:b,width:_.width,height:_.height,dataURLOptions:c,maxCanvasSize:a},[b])}).catch(b=>{oy(()=>{throw b})()})}}),h=Nr(v)};return h=Nr(v),h}startPendingCanvasMutationFlusher(){Nr(()=>this.flushPendingCanvasMutations())}startRAFTimestamping(){const t=n=>{this.rafStamps.latestId=n,Nr(t)};Nr(t)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach((t,n)=>{const r=this.mirror.getId(n);this.flushPendingCanvasMutationFor(n,r)}),Nr(()=>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(o=>{const{type:a,...c}=o;return c}),{type:i}=r[0];this.mutationCb({id:n,type:i,commands:s}),this.pendingCanvasMutations.delete(t)}}const uy={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}}},YS="ReplayCanvas",Ra=1280,bj=(e={})=>{const[t,n]=e.maxCanvasSize||[],r={quality:e.quality||"medium",enableManualSnapshot:e.enableManualSnapshot,maxCanvasSize:[t?Math.min(t,Ra):Ra,n?Math.min(n,Ra):Ra]};let s;const i=new Promise(o=>s=o);return{name:YS,setupOnce(){},getOptions(){const{quality:o,enableManualSnapshot:a,maxCanvasSize:c}=r;return{enableManualSnapshot:a,recordCanvas:!0,getCanvasManager:u=>{const l=new vj({...u,enableManualSnapshot:a,maxCanvasSize:c,errorHandler:f=>{try{typeof f=="object"&&(f.__rrweb__=!0)}catch{}}});return s(l),l},...uy[o]||uy.medium}},async snapshot(o){(await i).snapshot(o)}}},KS=bj,Ej=We(YS,KS),ds=ue,uu="#ffffff",fy="inherit",fu="rgba(108, 95, 199, 1)",dy={fontFamily:"system-ui, 'Helvetica Neue', Arial, sans-serif",fontSize:"14px",background:uu,backgroundHover:"#f6f6f7",foreground:"#2b2233",border:"1.5px solid rgba(41, 35, 47, 0.13)",borderRadius:"25px",boxShadow:"0px 4px 24px 0px rgba(43, 34, 51, 0.12)",success:"#268d75",error:"#df3338",submitBackgroun
108d:"rgba(88, 74, 192, 1)",submitBackgroundHover:fu,submitBorder:fu,submitOutlineFocus:"#29232f",submitForeground:uu,submitForegroundHover:uu,cancelBackground:"transparent",cancelBackgroundHover:"var(--background-hover)",cancelBorder:"var(--border)",cancelOutlineFocus:"var(--input-outline-focus)",cancelForeground:"var(--foreground)",cancelForegroundHover:"var(--foreground)",inputBackground:fy,inputForeground:fy,inputBorder:"var(--border)",inputOutlineFocus:fu,formBorderRadius:"20px",formContentBorderRadius:"6px"},py={light:dy,dark:{...dy,background:"#29232f",backgroundHover:"#352f3b",foreground:"#ebe6ef",border:"1.5px solid rgba(235, 230, 239, 0.15)",success:"#2da98c",error:"#f55459"}},Sj="Report a Bug",wj="Cancel",Tj="Send Bug Report",Ij="Report a Bug",Cj="[email protected]",kj="Email",xj="What's the bug? What did you expect?",Rj="Description",Aj="Your Name",Oj="Name",Mj="(required)",Nj="Thank you for your report!",JS="widget",XS="api";async function Pj({client:e,scope:t,event:n}){const r={};e.emit&&e.emit("preprocessEvent",n,r);const s=await Zd(e.getOptions(),n,r,t,e,xn());return s===null?(e.recordDroppedEvent("event_processor","feedback",n),null):(s.platform=s.platform||"javascript",s)}async function Lj({feedback:{message:e,email:t,name:n,source:r,url:s}},{includeReplay:i=!0}={}){const o=ce(),a=o&&o.getTransport(),c=o&&o.getDsn();if(!o||!a||!c)return;const u={contexts:{feedback:{contact_email:t,name:n,message:e,url:s,source:r}},type:"feedback"};return Ir(async l=>{l.clearBreadcrumbs(),[XS,JS].includes(String(r))&&l.setLevel("info");const f=await Pj({scope:l,client:o,event:u});if(!f)return;o.emit&&o.emit("beforeSendFeedback",f,{includeReplay:!!i});const d=$b(f,c,o.getOptions()._metadata,o.getOptions().tunnel);let p;try{p=await a.send(d)}catch(h){const m=new Error("Unable to send Feedback");try{m.cause=h}catch{}throw m}if(p){if(typeof p.statusCode=="number"&&(p.statusCode<200||p.statusCode>=300))throw new Error("Unable to send Feedback");return p}})}function QS({name:e,email:t,message:n,source:r=XS,url:s=q0()},i={}){if(!n)throw new Error("Unable to submit feedback with empty message");return Lj({feedback:{name:e,email:t,message:n,url:s,source:r}},i)}const Dr=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function hy(e,t){return{...e,...t,themeDark:{...e.themeDark,...t.themeDark},themeLight:{...e.themeLight,...t.themeLight}}}function Dj(e){const t=e.createElement("style");return t.textContent=` 109.widget__actor { 110 position: fixed; 111 left: var(--left); 112 right: var(--right); 113 bottom: var(--bottom); 114 top: var(--top); 115 z-index: var(--z-index); 116 117 line-height: 16px; 118 119 display: flex; 120 align-items: center; 121 gap: 8px; 122 123 border-radius: var(--border-radius); 124 cursor: pointer; 125 font-family: inherit; 126 font-size: var(--font-size); 127 font-weight: 600; 128 padding: 16px; 129 text-decoration: none; 130 z-index: 9000; 131 132 color: var(--foreground); 133 background-color: var(--background); 134 border: var(--border);
135 box-shadow: var(--box-shadow); 136 opacity: 1; 137 transition: opacity 0.1s ease-in-out; 138} 139 140.widget__actor:hover { 141 background-color: var(--background-hover); 142} 143 144.widget__actor svg { 145 width: 16px; 146 height: 16px; 147} 148 149.widget__actor--hidden { 150 opacity: 0; 151 pointer-events: none; 152 visibility: hidden; 153} 154 155.widget__actor__text { 156} 157 158@media (max-width: 600px) { 159 .widget__actor__text { 160 display: none; 161 } 162} 163 164.feedback-icon path { 165 fill: var(--foreground); 166} 167`,t}function $j(e){const t=e.createElement("style");return t.textContent=` 168.dialog { 169 line-height: 25px; 170 background-color: rgba(0, 0, 0, 0.05); 171 border: none; 172 position: fixed; 173 inset: 0; 174 z-index: 10000; 175 width: 100vw; 176 height: 100vh; 177 display: flex; 178 align-items: center; 179 justify-content: center; 180 opacity: 1; 181 transition: opacity 0.2s ease-in-out; 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 position: fixed; 195 left: var(--left); 196 right: var(--right); 197 bottom: var(--bottom); 198 top: var(--top); 199 200 border: var(--border); 201 border-radius: var(--form-border-radius); 202 background-color: var(--background); 203 color: var(--foreground); 204 205 width: 320px; 206 max-width: 100%; 207 max-height: calc(100% - 2rem); 208 display: flex; 209 flex-direction: column;
210 box-shadow: var(--box-shadow); 211 transition: transform 0.2s ease-in-out; 212 transform: translate(0, 0) scale(1); 213} 214 215.dialog__header { 216 display: flex; 217 align-items: center; 218 justify-content: space-between; 219 font-size: 20px; 220 font-weight: 600; 221 padding: 24px 24px 0 24px; 222 margin: 0; 223 margin-bottom: 16px; 224} 225 226.brand-link { 227 display: inline-flex; 228} 229 230.error { 231 color: var(--error); 232 margin-bottom: 16px; 233} 234 235.form { 236 display: grid; 237 overflow: auto; 238 flex-direction: column; 239 gap: 16px; 240 padding: 0 24px 24px; 241} 242 243.form__error-container { 244 color: var(--error); 245} 246 247.form__error-container--hidden { 248 display: none; 249} 250 251.form__label { 252 display: flex; 253 flex-direction: column; 254 gap: 4px; 255 margin: 0px; 256} 257 258.form__label__text { 259 display: grid; 260 gap: 4px; 261 align-items: center; 262 grid-auto-flow: column; 263 grid-auto-columns: max-content; 264} 265 266.form__label__text--required { 267 font-size: 0.85em; 268} 269 270.form__input { 271 line-height: inherit; 272 background-color: var(--input-background); 273 box-sizing: border-box; 274 border: var(--input-border); 275 border-radius: var(--form-content-border-radius); 276 color: var(--input-foreground); 277 font-family: inherit; 278 font-size: var(--font-size); 279 font-weight: 500; 280 padding: 6px 12px; 281} 282 283.form__input::placeholder { 284 color: var(--input-foreground); 285 opacity: 0.65; 286} 287 288.form__input:focus-visible { 289 outline: 1px auto var(--input-outline-focus); 290} 291 292.form__input--textarea { 293 font-family: inherit; 294 resize: vertical; 295} 296 297.btn-group { 298 display: grid; 299 gap: 8px; 300 margin-top: 8px; 301} 302 303.btn { 304 line-height: inherit; 305 border: var(--cancel-border); 306 border-radius: var(--form-content-border-radius); 307 cursor: pointer; 308 font-family: inherit; 309 font-size: var(--font-size); 310 font-weight: 600; 311 padding: 6px 16px; 312} 313.btn[disabled] { 314 opacity: 0.6; 315 pointer-events: none; 316} 317 318.btn--primary { 319 background-color: var(--submit-background); 320 border-color: var(--submit-border); 321 color: var(--submit-foreground); 322} 323.btn--primary:hover { 324 background-color: var(--submit-background-hover); 325 color: var(--submit-foreground-hover); 326} 327.btn--primary:focus-visible { 328 outline: 1px auto var(--submit-outline-focus); 329} 330 331.btn--default { 332 background-color: var(--cancel-background); 333 color: var(--cancel-foreground); 334 font-weight: 500; 335} 336.btn--default:hover { 337 background-color: var(--cancel-background-hover); 338 color: var(--cancel-foreground-hover); 339} 340.btn--default:focus-visible { 341 outline: 1px auto var(--cancel-outline-focus); 342} 343 344.success-message { 345 background-color: var(--background); 346 border: var(--border); 347 border-radius: var(--border-radius);
348 box-shadow: var(--box-shadow); 349 font-weight: 600; 350 color: var(--success); 351 padding: 12px 24px; 352 line-height: 25px; 353 display: grid; 354 align-items: center; 355 grid-auto-flow: column; 356 gap: 6px; 357 cursor: default; 358} 359 360.success-icon path { 361 fill: var(--success); 362} 363`,t}function my(e){return` 364 --background: ${e.background}; 365 --background-hover: ${e.backgroundHover}; 366 --foreground: ${e.foreground}; 367 --error: ${e.error}; 368 --success: ${e.success}; 369 --border: ${e.border}; 370 --border-radius: ${e.borderRadius}; 371 --box-shadow: ${e.boxShadow}; 372 373 --submit-background: ${e.submitBackground}; 374 --submit-background-hover: ${e.submitBackgroundHover}; 375 --submit-border: ${e.submitBorder}; 376 --submit-outline-focus: ${e.submitOutlineFocus}; 377 --submit-foreground: ${e.submitForeground}; 378 --submit-foreground-hover: ${e.submitForegroundHover}; 379 380 --cancel-background: ${e.cancelBackground}; 381 --cancel-background-hover: ${e.cancelBackgroundHover}; 382 --cancel-border: ${e.cancelBorder}; 383 --cancel-outline-focus: ${e.cancelOutlineFocus}; 384 --cancel-foreground: ${e.cancelForeground}; 385 --cancel-foreground-hover: ${e.cancelForegroundHover}; 386 387 --input-background: ${e.inputBackground}; 388 --input-foreground: ${e.inputForeground}; 389 --input-border: ${e.inputBorder}; 390 --input-outline-focus: ${e.inputOutlineFocus}; 391 392 --form-border-radius: ${e.formBorderRadius}; 393 --form-content-border-radius: ${e.formContentBorderRadius}; 394 `}function Fj(e,t,n){const r=e.createElement("style");return r.textContent=` 395:host { 396 --bottom: 1rem; 397 --right: 1rem; 398 --top: auto; 399 --left: auto; 400 --z-index: 100000; 401 --font-family: ${n.light.fontFamily}; 402 --font-size: ${n.light.fontSize}; 403 404 position: fixed; 405 left: var(--left); 406 right: var(--right); 407 bottom: var(--bottom); 408 top: var(--top); 409 z-index: var(--z-index); 410 411 font-family: var(--font-family); 412 font-size: var(--font-size); 413 414 ${my(t==="dark"?n.dark:n.light)} 415} 416 417${t==="system"?` 418@media (prefers-color-scheme: dark) { 419 :host { 420 ${my(n.dark)} 421 } 422}`:""} 423}`,r}function Bj({id:e,colorScheme:t,themeDark:n,themeLight:r}){try{const s=ds.document,i=s.createElement("div");i.id=e;const o=i.attachShadow({mode:"open"});return o.appendChild(Fj(s,t,{dark:n,light:r})),o.appendChild($j(s)),{shadow:o,host:i}}catch{throw I.warn("[Feedback] Browser does not support shadow DOM API"),new Error("Browser does not support shadow DOM API.")}}async function jj(e,t,n){if(!e)return;const r=()=>{e&&e.showError("There was a problem submitting feedback, please wait and try again.")};e.hideError();try{return await QS({...t,source:JS},n)}catch(s){Dr&&I.error(s),r()}}function jt(e,t){return Object.entries(t).forEach(([n,r])=>{e.setAttributeNS(null,n,r)}),e}const bs=20,Hj="http://www.w3.org/2000/svg";function Uj(){const e=a=>ds.document.createElementNS(Hj,a),t=jt(e("svg"),{class:"feedback-icon",width:`${bs}`,height:`${bs}`,viewBox:`0 0 ${bs} ${bs}`,fill:"none"}),n=jt(e("g"),{clipPath:"url(#clip0_57_80)"}),r=jt(e("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.6622 15H12.3997C12.2129 14.9959 12.031 14.9396 11.8747 14.8375L8.04965 12.2H7.49956V19.1C7.4875 19.3348 7.3888 19.5568 7.22256 19.723C7.05632 19.8892 6.83435 19.9879 6.59956 20H2.04956C1.80193 19.9968 1.56535 19.8969 1.39023 19.7218C1.21511 19.5467 1.1153 19.3101 1.11206 19.0625V12.2H0.949652C0.824431 12.2017 0.700142 12.1783 0.584123 12.1311C0.468104 12.084 0.362708 12.014 0.274155 11.9255C0.185602 11.8369 0.115689 11.7315 0.0685419 11.6155C0.0213952 11.4995 -0.00202913 11.3752 -0.00034808 11.25V3.75C-0.00900498 3.62067 0.0092504 3.49095 0.0532651 3.36904C0.0972798 3.24712 0.166097 3.13566 0.255372 3.04168C0.344646 2.94771 0.452437 2.87327 0.571937 2.82307C0.691437 2.77286 0.82005 2.74798 0.949652 2.75H8.04965L11.8747 0.1625C12.031 0.0603649 12.2129 0.00407221 12.3997 0H15.6622C15.9098 0.00323746 16.1464 0.103049 16.3215 0.278167C16.4966 0.453286 16.5964 0.689866 16.5997 0.9375V3.25269C17.3969 3.42959 18.1345 3.83026 18.7211 4.41679C19.5322 5.22788 19.9878 6.32796 19.9878 7.47502C19.9878 8.62209 19.5322 9.72217 18.7211 10.5333C18.1345 11.1198 17.3969 11.5205 16.5997 11.6974V14.0125C16.6047 14.1393 16.5842 14.2659 16.5395 14.3847C16.4948 14.5035 16.4268 14.6121 16.3394 14.7042C16.252 14.7962 16.147 14.8698 16.0307 14.9206C15.9144 14.9714 15.7891 14.9984 15.6622 15ZM1.89695 10.325H1.88715V4.625H8.33715C8.52423 4.62301 8.70666 4.56654 8.86215 4.4625L12.6872 1.875H14.7247V13.125H12.6872L8.86215 10.4875C8.70666 10.3835 8.52423 10.327 8.33715 10.325H2.20217C2.15205 10.3167 2.10102 10.3125 2.04956 10.3125C1.9981 10.3125 1.94708 10.3167 1.89695 10.325ZM2.98706 12.2V18.1625H5.66206V12.2H2.98706ZM16.5997 9.93612V5.01393C16.6536 5.02355 16.7072 5.03495 16.7605 5.04814C17.1202 5.13709 17.45
42356 5.30487 17.7425 5.53934C18.0293 5.77381 18.2605 6.06912 18.4192 6.40389C18.578 6.73866 18.6603 7.10452 18.6603 7.47502C18.6603 7.84552 18.578 8.21139 18.4192 8.54616C18.2605 8.88093 18.0293 9.17624 17.7425 9.41071C17.4556 9.64518 17.1202 9.81296 16.7605 9.90191C16.7072 9.91509 16.6536 9.9265 16.5997 9.93612Z"});t.appendChild(n).appendChild(r);const s=e("defs"),i=jt(e("clipPath"),{id:"clip0_57_80"}),o=jt(e("rect"),{width:`${bs}`,height:`${bs}`,fill:"white"});return i.appendChild(o),s.appendChild(i),t.appendChild(s).appendChild(i).appendChild(o),{get el(){return t}}}function Fe(e,t,...n){const s=ds.document.createElement(e);t&&Object.entries(t).forEach(([i,o])=>{i==="className"&&typeof o=="string"?s.setAttribute("class",o):typeof o=="boolean"&&o?s.setAttribute(i,""):typeof o=="string"?s.setAttribute(i,o):i.startsWith("on")&&typeof o=="function"&&s.addEventListener(i.substring(2).toLowerCase(),o)});for(const i of n)ZS(s,i);return s}function ZS(e,t){const n=ds.document;if(!(typeof t>"u"||t===null))if(Array.isArray(t))for(const r of t)ZS(e,r);else t===!1||(typeof t=="string"?e.appendChild(n.createTextNode(t)):t instanceof Node?e.appendChild(t):e.appendChild(n.createTextNode(String(t))))}function qj({buttonLabel:e,onClick:t}){function n(s){t&&t(s)}const r=Fe("button",{type:"button",className:"widget__actor","aria-label":e,"aria-hidden":"false"},Uj().el,e?Fe("span",{className:"widget__actor__text"},e):null);return r.addEventListener("click",n),{get el(){return r},show:()=>{r.classList.remove("widget__actor--hidden"),r.setAttribute("aria-hidden","false")},hide:()=>{r.classList.add("widget__actor--hidden"),r.setAttribute("aria-hidden","true")}}}function Wj({label:e}){return{el:Fe("button",{type:"submit",className:"btn btn--primary","aria-label":e},e)}}function du(e,t){const n=e.get(t);return typeof n=="string"?n.trim():""}function zj({nameLabel:e,namePlaceholder:t,emailLabel:n,emailPlaceholder:r,messageLabel:s,messagePlaceholder:i,isRequiredLabel:o,cancelButtonLabel:a,submitButtonLabel:c,showName:u,showEmail:l,isNameRequired:f,isEmailRequired:d,defaultName:p,defaultEmail:h,onCancel:m,onSubmit:v}){const{el:y}=Wj({label:c});function _(B){if(B.preventDefault(),B.target instanceof HTMLFormElement)try{if(v){const A=new FormData(B.target),U={name:du(A,"name"),email:du(A,"email"),message:du(A,"message")};v(U)}}catch{}}const g=Fe("div",{className:"form__error-container form__error-container--hidden","aria-hidden":"true"});function b(B){g.textContent=B,g.classList.remove("form__error-container--hidden"),g.setAttribute("aria-hidden","false")}function S(){g.textContent="",g.classList.add("form__error-container--hidden"),g.setAttribute("aria-hidden","true")}const T=Fe("input",{id:"name",type:u?"text":"hidden","aria-hidden":u?"false":"true",name:"name",required:f,className:"form__input",placeholder:t,value:p}),C=Fe("input",{id:"email",type:l?"text":"hidden","aria-hidden":l?"false":"true",name:"email",required:d,className:"form__input",placeholder:r,value:h}),M=Fe("textarea",{id:"message",autoFocus:"true",rows:"5",name:"message",required:!0,className:"form__input form__input--textarea",placeholder:i}),x=Fe("button",{type:"button",className:"btn btn--default","aria-label":a,onClick:B=>{m&&m(B)}},a),k=Fe("form",{className:"form",onSubmit:_},[g,u&&Fe("label",{htmlFor:"name",className:"form__label"},[Fe("span",{className:"form__label__text"},e,f&&Fe("span",{className:"form__label__text--required"},` ${o}`)),T]),!u&&T,l&&Fe("label",{htmlFor:"email",className:"form__label"},[Fe("span",{className:"form__label__text"},n,d&&Fe("span",{className:"form__label__text--required"},` ${o}`)),C]),!l&&C,Fe("label",{htmlFor:"message",className:"form__label"},[Fe("span",{className:"form__label__text"},s,Fe("span",{className:"form__label__text--required"},` ${o}`)),M]),Fe("div",{className:"btn-group"},[y,x])]);return{get el(){return k},showError:b,hideError:S}}const Vj="http://www.w3.org/2000/svg";function Gj({colorScheme:e}){const t=o=>ds.document.createElementNS(Vj,o),n=jt(t("svg"),{class:"sentry-logo",width:"32",height:"30",viewBox:"0 0 72 66",fill:"none"}),r=jt(t("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"});n.append(r);const s=t("defs"),i=t("style");return i.textContent=` 424 path { 425 fill: ${e==="dark"?"#fff":"#362d59"}; 426 }`,e==="system"&&(i.textContent+=` 427 @media (prefers-color-scheme: dark) { 428 path: { 429 fill: '#fff'; 430 } 431 } 432 `),s.append(i),n.append(s),{get el(){return n}}}
432function Yj({formTitle:e,showBranding:t,showName:n,showEmail:r,isNameRequired:s,isEmailRequired:i,colorScheme:o,defaultName:a,defaultEmail:c,onClosed:u,onCancel:l,onSubmit:f,...d}){let p=null;function h(){m(),u&&u()}function m(){p&&(p.open=!1)}function v(){p&&(p.open=!0)}function y(){return p&&p.open===!0||!1}const{el:_,showError:g,hideError:b}=zj({showEmail:r,showName:n,isEmailRequired:i,isNameRequired:s,defaultName:a,defaultEmail:c,onSubmit:f,onCancel:l,...d});return p=Fe("dialog",{className:"dialog",open:!0,onClick:h},Fe("div",{className:"dialog__content",onClick:S=>{S.stopPropagation()}},Fe("h2",{className:"dialog__header"},e,t&&Fe("a",{className:"brand-link",target:"_blank",href:"https://sentry.io/welcome/",title:"Powered by Sentry",rel:"noopener noreferrer"},Gj({colorScheme:o}).el)),_)),{get el(){return p},showError:g,hideError:b,open:v,close:m,checkIsOpen:y}}const Aa=16,gy=17,Kj="http://www.w3.org/2000/svg";function Jj(){const e=c=>ds.document.createElementNS(Kj,c),t=jt(e("svg"),{class:"success-icon",width:`${Aa}`,height:`${gy}`,viewBox:`0 0 ${Aa} ${gy}`,fill:"none"}),n=jt(e("g"),{clipPath:"url(#clip0_57_156)"}),r=jt(e("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.55544 15.1518C4.87103 16.0308 6.41775 16.5 8 16.5C10.1217 16.5 12.1566 15.6571 13.6569 14.1569C15.1571 12.6566 16 10.6217 16 8.5C16 6.91775 15.5308 5.37103 14.6518 4.05544C13.7727 2.73985 12.5233 1.71447 11.0615 1.10897C9.59966 0.503466 7.99113 0.34504 6.43928 0.653721C4.88743 0.962403 3.46197 1.72433 2.34315 2.84315C1.22433 3.96197 0.462403 5.38743 0.153721 6.93928C-0.15496 8.49113 0.00346625 10.0997 0.608967 11.5615C1.21447 13.0233 2.23985 14.2727 3.55544 15.1518ZM4.40546 3.1204C5.46945 2.40946 6.72036 2.03 8 2.03C9.71595 2.03 11.3616 2.71166 12.575 3.92502C13.7883 5.13838 14.47 6.78405 14.47 8.5C14.47 9.77965 14.0905 11.0306 13.3796 12.0945C12.6687 13.1585 11.6582 13.9878 10.476 14.4775C9.29373 14.9672 7.99283 15.0953 6.73777 14.8457C5.48271 14.596 4.32987 13.9798 3.42502 13.075C2.52018 12.1701 1.90397 11.0173 1.65432 9.76224C1.40468 8.50718 1.5328 7.20628 2.0225 6.02404C2.5122 4.8418 3.34148 3.83133 4.40546 3.1204Z"}),s=jt(e("path"),{d:"M6.68775 12.4297C6.78586 12.4745 6.89218 12.4984 7 12.5C7.11275 12.4955 7.22315 12.4664 7.32337 12.4145C7.4236 12.3627 7.51121 12.2894 7.58 12.2L12 5.63999C12.0848 5.47724 12.1071 5.28902 12.0625 5.11098C12.0178 4.93294 11.9095 4.77744 11.7579 4.67392C11.6064 4.57041 11.4221 4.52608 11.24 4.54931C11.0579 4.57254 10.8907 4.66173 10.77 4.79999L6.88 10.57L5.13 8.56999C5.06508 8.49566 4.98613 8.43488 4.89768 8.39111C4.80922 8.34735 4.713 8.32148 4.61453 8.31498C4.51605 8.30847 4.41727 8.32147 4.32382 8.35322C4.23038 8.38497 4.14413 8.43484 4.07 8.49999C3.92511 8.63217 3.83692 8.81523 3.82387 9.01092C3.81083 9.2066 3.87393 9.39976 4 9.54999L6.43 12.24C6.50187 12.3204 6.58964 12.385 6.68775 12.4297Z"});t.appendChild(n).append(s,r);const i=e("defs"),o=jt(e("clipPath"),{id:"clip0_57_156"}),a=jt(e("rect"),{width:`${Aa}`,height:`${Aa}`,fill:"white",transform:"translate(0 0.5)"});return o.appendChild(a),i.appendChild(o),t.appendChild(i).appendChild(o).appendChild(a),{get el(){return t}}}function Xj({message:e,onRemove:t}){function n(){r&&(r.remove(),t&&t())}const r=Fe("div",{className:"success-message",onClick:n},Jj().el,e);return{el:r,remove:n}}function yy({shadow:e,options:{shouldCreateActor:t=!0,...n},attachTo:r}){let s,i,o=!1;function a(){if(e)try{const y=Xj({message:n.successMessageText,onRemove:()=>{_&&clearTimeout(_),l()}});if(!y.el)throw new Error("Unable to show success message");e.appendChild(y.el);const _=setTimeout(()=>{y&&y.remove()},5e3)}catch(y){I.error(y)}}async function c(y){if(!i)return;const _=[];if(n.isNameRequired&&!y.name&&_.push(n.nameLabel),n.isEmailRequired&&!y.email&&_.push(n.emailLabel),y.message||_.push(n.messageLabel),_.length>0){i.showError(`Please enter in the following required fields: ${_.join(", ")}`);return}if(!await jj(i,y)){n.onSubmitError&&n.onSubmitError();return}m(),a(),n.onSubmitSuccess&&n.onSubmitSuccess()}function u(){const y=ce(),_=y&&y.getIntegrationByName&&y.getIntegrationByName("Replay");_&&_.flush().catch(g=>{Dr&&I.error(g)})}function l(){s&&s.show()}function f(){s&&s.hide()}function d(){s&&s.el&&s.el.remove()}function p(){try{if(i){i.open(),o=!0,n.onFormOpen&&n.onFormOpen(),u();return}const y=n.useSentryUser,_=Xe(),g=_&&_.getUser();if(i=Yj({colorScheme:n.colorScheme,showBranding:n.showBranding,showName:n.showName||n.isNameRequired,showEmail
432:n.showEmail||n.isEmailRequired,isNameRequired:n.isNameRequired,isEmailRequired:n.isEmailRequired,formTitle:n.formTitle,cancelButtonLabel:n.cancelButtonLabel,submitButtonLabel:n.submitButtonLabel,emailLabel:n.emailLabel,emailPlaceholder:n.emailPlaceholder,messageLabel:n.messageLabel,messagePlaceholder:n.messagePlaceholder,nameLabel:n.nameLabel,namePlaceholder:n.namePlaceholder,isRequiredLabel:n.isRequiredLabel,defaultName:y&&g&&g[y.name]||"",defaultEmail:y&&g&&g[y.email]||"",onClosed:()=>{l(),o=!1,n.onFormClose&&n.onFormClose()},onCancel:()=>{h(),l()},onSubmit:c}),!i.el)throw new Error("Unable to open Feedback dialog");e.appendChild(i.el),f(),n.onFormOpen&&n.onFormOpen(),u()}catch(y){I.error(y)}}function h(){i&&(i.close(),o=!1,n.onFormClose&&n.onFormClose())}function m(){if(i){h();const y=i.el;y&&y.remove(),i=void 0}}function v(){o||p(),f()}return r?r.addEventListener("click",v):t&&(s=qj({buttonLabel:n.buttonLabel,onClick:v}),s.el&&e.appendChild(s.el)),{get actor(){return s},get dialog(){return i},showActor:l,hideActor:f,removeActor:d,openDialog:p,closeDialog:h,removeDialog:m}}const Oa=ds.document,Qj=e=>new ta(e);class ta{static __initStatic(){this.id="Feedback"}constructor({autoInject:t=!0,id:n="sentry-feedback",isEmailRequired:r=!1,isNameRequired:s=!1,showBranding:i=!0,showEmail:o=!0,showName:a=!0,useSentryUser:c={email:"email",name:"username"},themeDark:u,themeLight:l,colorScheme:f="system",buttonLabel:d=Sj,cancelButtonLabel:p=wj,submitButtonLabel:h=Tj,formTitle:m=Ij,emailPlaceholder:v=Cj,emailLabel:y=kj,messagePlaceholder:_=xj,messageLabel:g=Rj,namePlaceholder:b=Aj,nameLabel:S=Oj,isRequiredLabel:T=Mj,successMessageText:C=Nj,onFormClose:M,onFormOpen:x,onSubmitError:k,onSubmitSuccess:B}={}){this.name=ta.id,this._host=null,this._shadow=null,this._widget=null,this._widgets=new Set,this._hasInsertedActorStyles=!1,this.options={autoInject:t,showBranding:i,id:n,isEmailRequired:r,isNameRequired:s,showEmail:o,showName:a,useSentryUser:c,colorScheme:f,themeDark:{...py.dark,...u},themeLight:{...py.light,...l},buttonLabel:d,cancelButtonLabel:p,submitButtonLabel:h,formTitle:m,emailLabel:y,emailPlaceholder:v,messageLabel:g,messagePlaceholder:_,nameLabel:S,namePlaceholder:b,isRequiredLabel:T,successMessageText:C,onFormClose:M,onFormOpen:x,onSubmitError:k,onSubmitSuccess:B}}setupOnce(){if(bf())try{this._cleanupWidgetIfExists();const{autoInject:t}=this.options;if(!t)return;this._createWidget(this.options)}catch(t){Dr&&I.error(t)}}openDialog(){this._widget||this._createWidget({...this.options,shouldCreateActor:!1}),this._widget&&this._widget.openDialog()}closeDialog(){this._widget&&this._widget.closeDialog()}attachTo(t,n){try{const r=hy(this.options,n||{});return this._ensureShadowHost(r,({shadow:s})=>{const i=typeof t=="string"?Oa.querySelector(t):typeof t.addEventListener=="function"?t:null;if(!i)return Dr&&I.error("[Feedback] Unable to attach to target element"),null;const o=yy({shadow:s,options:r,attachTo:i});return this._widgets.add(o),this._widget||(this._widget=o),o})}catch(r){return Dr&&I.error(r),null}}createWidget(t){try{return this._createWidget(hy(this.options,t||{}))}catch(n){return Dr&&I.error(n),null}}removeWidget(t){if(!t)return!1;try{if(this._widgets.has(t))return t.removeActor(),t.removeDialog(),this._widgets.delete(t),this._widget===t&&(this._widget=null),!0}catch(n){Dr&&I.error(n)}return!1}getWidget(){return this._widget}remove(){this._host&&this._host.remove(),this._initialize()}_initialize(){this._host=null,this._shadow=null,this._widget=null,this._widgets=new Set,this._hasInsertedActorStyles=!1}_cleanupWidgetIfExists(){this._host&&this.remove();const t=Oa.querySelector(`#${this.options.id}`);t&&t.remove()}_createWidget(t){return this._ensureShadowHost(t,({shadow:n})=>{const r=yy({shadow:n,options:t});return!this._hasInsertedActorStyles&&r.actor&&(n.appendChild(Dj(Oa)),this._hasInsertedActorStyles=!0),this._widgets.add(r),this._widget||(this._widget=r),r})}_ensureShadowHost(t,n){let r=!1;if(!this._shadow||!this._host){const{id:i,colorScheme:o,themeLight:a,themeDark:c}=t,{shadow:u,host:l}=Bj({id:i,colorScheme:o,themeLight:a,themeDark:c});this._shadow=u,this._host=l,r=!0}this._host.dataset.sentryFeedbackColorscheme=t.colorScheme;const s=n({shadow:this._shadow,host:this._host});return r&&Oa.body.appendChild(this._host),s}}ta.__initStatic();const ew="CaptureConsole",Zj=(e={})=>{const t=e.levels||gc;return{name:ew,setupOnce(){},setup(n){"console"in ue&&Z0(({args:r,level:s})=>{ce()!==n||!t.includes(s)||eH(r,s)})}}},tw=Zj;We(ew,tw);function eH(e,t){const n={level:ab(t),extra:{arguments:e}};Ir(r=>{if(r.addEventProcessor(o=>(o.logger="console",Qr(o,{handled:!1,type:"console"}),o)),t==="assert"&&e[0]===!1){const o=`Assertion failed: ${mc(e.slice(1)," ")||"console.assert"}`;r.setExtra("arguments",e.slice(1)),bc(o,n);return}const s=e.find(o=>o instanceof Error);if(t==="error"&&s){us(s,n);return}const i=mc(e," ");bc(i,n)})}const nw="Debug",tH=(e={})=>{const t={debugger:!1,stringify:!1,...e};return{name:nw,setupOnce(){},setup(n){n.on&&n.on("beforeSendEvent",(r,s)=>{if(t.debugger)debugger;ln(()=>{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))})})}}},rw=tH;We(nw,rw);const gi=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,sw="Dedupe",nH=()=>{let e;return{name:sw,setupOnce(){},processEvent(t){if(t.type)return t;try{if(rH(t,e))return gi&&I.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}},iw=nH;We(sw,iw);function rH(e,t){return t?!!(sH(e,t)||iH(e,t)):!1}function sH(e,t){const n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!aw(e,t)||!ow(e,t))}function iH(e,t){const n=_y(t),r=_y(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!aw(e,t)||!ow(e,t))}function ow(e,t){let n=vy(e),r=vy(t);if(!n&&!r)return!0;
432if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let s=0;s<r.length;s++){const i=r[s],o=n[s];if(i.filename!==o.filename||i.lineno!==o.lineno||i.colno!==o.colno||i.function!==o.function)return!1}return!0}function aw(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 _y(e){return e.exception&&e.exception.values&&e.exception.values[0]}function vy(e){const t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch{return}}const cw="ExtraErrorData",oH=(e={})=>{const t=e.depth||3,n=e.captureErrorCause||!1;return{name:cw,setupOnce(){},processEvent(r,s){return aH(r,s,t,n)}}},lw=oH;We(cw,lw);function aH(e,t={},n,r){if(!t.originalException||!Ys(t.originalException))return e;const s=t.originalException.name||t.originalException.constructor.name,i=cH(t.originalException,r);if(i){const o={...e.contexts},a=Qt(i,n);return Xr(a)&&(Sr(a,"__sentry_skip_normalization__",!0),o[s]=a),{...e,contexts:o}}return e}function cH(e,t){try{const n=["name","message","stack","line","column","fileName","lineNumber","columnNumber","toJSON"],r={};for(const s of Object.keys(e)){if(n.indexOf(s)!==-1)continue;const i=e[s];r[s]=Ys(i)?i.toString():i}if(t&&e.cause!==void 0&&(r.cause=Ys(e.cause)?e.cause.toString():e.cause),typeof e.toJSON=="function"){const s=e.toJSON();for(const i of Object.keys(s)){const o=s[i];r[i]=Ys(o)?o.toString():o}}return r}catch(n){gi&&I.error("Unable to extract extra data from the Error object:",n)}return null}const lH=ue,uw="ReportingObserver",by=new WeakMap,uH=(e={})=>{const t=e.types||["crash","deprecation","intervention"];function n(r){if(by.has(ce()))for(const s of r)Ir(i=>{i.setExtra("url",s.url);const o=`ReportingObserver [${s.type}]`;let a="No details available";if(s.body){const c={};for(const u in s.body)c[u]=s.body[u];if(i.setExtra("body",c),s.type==="crash"){const u=s.body;a=[u.crashId||"",u.reason||""].join(" ").trim()||a}else a=s.body.message||a}bc(`${o}: ${a}`)})}return{name:uw,setupOnce(){if(!sM())return;new lH.ReportingObserver(n,{buffered:!0,types:t}).observe()},setup(r){by.set(r,!0)}}},fw=uH;We(uw,fw);const dw="RewriteFrames",fH=(e={})=>{const t=e.root,n=e.prefix||"app:///",r=e.iteratee||(o=>{if(!o.filename)return o;const a=/^[a-zA-Z]:\\/.test(o.filename)||o.filename.includes("\\")&&!o.filename.includes("/"),c=/^\//.test(o.filename);if(a||c){const u=a?o.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):o.filename,l=t?CM(t,u):kM(u);o.filename=`${n}${l}`}return o});function s(o){try{return{...o,exception:{...o.exception,values:o.exception.values.map(a=>({...a,...a.stacktrace&&{stacktrace:i(a.stacktrace)}}))}}}catch{return o}}function i(o){return{...o,frames:o&&o.frames&&o.frames.map(a=>r(a))}}return{name:dw,setupOnce(){},processEvent(o){let a=o;return o.exception&&Array.isArray(o.exception.values)&&(a=s(a)),a}}},pw=fH;We(dw,pw);const hw="SessionTiming",dH=()=>{const e=Date.now();return{name:hw,setupOnce(){},processEvent(t){const n=Date.now();return{...t,extra:{...t.extra,"session:start":e,"session:duration":n-e,"session:end":n}}}}},mw=dH;We(hw,mw);const gw="HttpClient",pH=(e={})=>{const t={failedRequestStatusCodes:[[500,599]],failedRequestTargets:[/.*/],...e};return{name:gw,setupOnce(){},setup(n){EH(n,t),SH(n,t)}}},yw=pH;We(gw,yw);function hH(e,t,n,r){if(vw(e,n.status,n.url)){const s=wH(t,r);let i,o,a,c;Ew()&&([{headers:i,cookies:a},{headers:o,cookies:c}]=[{cookieHeader:"Cookie",obj:s},{cookieHeader:"Set-Cookie",obj:n}].map(({cookieHeader:l,obj:f})=>{const d=yH(f.headers);let p;try{const h=d[l]||d[l.toLowerCase()]||void 0;h&&(p=_w(h))}catch{gi&&I.log(`Could not extract cookies from header ${l}`)}return{headers:d,cookies:p}}));const u=bw({url:s.url,method:s.method,status:n.status,requestHeaders:i,responseHeaders:o,requestCookies:a,responseCookies:c});Vo(u)}}function mH(e,t,n,r){if(vw(e,t.status,t.responseURL)){let s,i,o;if(Ew()){try{const c=t.getResponseHeader("Set-Cookie")||t.getResponseHeader("set-cookie")||void 0;c&&(i=_w(c))}catch{gi&&I.log("Could not extract cookies from response headers")}try{o=_H(t)}catch{gi&&I.log("Could not extract headers from response")}s=r}const a=bw({url:t.responseURL,method:n,status:t.status,requestHeaders:s,responseHeaders:o,responseCookies:i}
432);Vo(a)}}function gH(e){if(e){const t=e["Content-Length"]||e["content-length"];if(t)return parseInt(t,10)}}function _w(e){return e.split("; ").reduce((t,n)=>{const[r,s]=n.split("=");return t[r]=s,t},{})}function yH(e){const t={};return e.forEach((n,r)=>{t[r]=n}),t}function _H(e){const t=e.getAllResponseHeaders();return t?t.split(`\r 433`).reduce((n,r)=>{const[s,i]=r.split(": ");return n[s]=i,n},{}):{}}function vH(e,t){return e.some(n=>typeof n=="string"?t.includes(n):n.test(t))}function bH(e,t){return e.some(n=>typeof n=="number"?n===t:t>=n[0]&&t<=n[1])}function EH(e,t){rb()&&rl(n=>{if(ce()!==e)return;const{response:r,args:s}=n,[i,o]=s;r&&hH(t,i,r,o)})}function SH(e,t){"XMLHttpRequest"in ue&&sl(n=>{if(ce()!==e)return;const r=n.xhr,s=r[Bn];if(!s)return;const{method:i,request_headers:o}=s;try{mH(t,r,i,o)}catch(a){gi&&I.warn("Error while extracting response event form XHR response",a)}})}function vw(e,t,n){return bH(e.failedRequestStatusCodes,t)&&vH(e.failedRequestTargets,n)&&!Kb(n,ce())}function bw(e){const t=`HTTP Client Error with status code: ${e.status}`,n={message:t,exception:{values:[{type:"Error",value:t}]},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:gH(e.responseHeaders)}}};return Qr(n,{type:"http.client",handled:!1}),n}function wH(e,t){return!t&&e instanceof Request||e instanceof Request&&e.bodyUsed?e:new Request(e,t)}function Ew(){const e=ce();return e?!!e.getOptions().sendDefaultPii:!1}const pu=ue,TH=7,Sw="ContextLines",IH=(e={})=>{const t=e.frameContextLines!=null?e.frameContextLines:TH;return{name:Sw,setupOnce(){},processEvent(n){return CH(n,t)}}},ww=IH;We(Sw,ww);function CH(e,t){const n=pu.document,r=pu.location&&RM(pu.location.href);if(!n||!r)return e;const s=e.exception&&e.exception.values;if(!s||!s.length)return e;const i=n.documentElement.innerHTML;if(!i)return e;const o=["<!DOCTYPE html>","<html>",...i.split(` 434`),"</html>"];return s.forEach(a=>{const c=a.stacktrace;c&&c.frames&&(c.frames=c.frames.map(u=>kH(u,o,r,t)))}),e}function kH(e,t,n,r){return e.filename!==n||!e.lineno||!t.length||QO(t,e,r),e}function Lo(e){return new Promise((t,n)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>n(e.error)})}function xH(e,t){const n=indexedDB.open(e);n.onupgradeneeded=()=>n.result.createObjectStore(t);const r=Lo(n);return s=>r.then(i=>s(i.transaction(t,"readwrite").objectStore(t)))}function Tw(e){return Lo(e.getAllKeys())}function RH(e,t,n){return e(r=>Tw(r).then(s=>{if(!(s.length>=n))return r.put(t,Math.max(...s,0)+1),Lo(r.transaction)}))}function AH(e){return e(t=>Tw(t).then(n=>{if(n.length!==0)return Lo(t.get(n[0])).then(r=>(t.delete(n[0]),Lo(t.transaction).then(()=>r)))}))}function OH(e){let t;function n(){return t==null&&(t=xH(e.dbName||"sentry-offline",e.storeName||"queue")),t}return{insert:async r=>{try{const s=await pb(r,e.textEncoder);await RH(n(),s,e.maxQueueSize||30)}catch{}},pop:async()=>{try{const r=await AH(n());if(r)return jM(r,e.textEncoder||new TextEncoder,e.textDecoder||new TextDecoder)}catch{}}}}function MH(e){return t=>e({...t,createStore:OH})}function NH(e){return MH(AP(e))}const Ey=1e6,Ya=String(0),PH="main";let Iw="",Cw="",kw="",Uf=se.navigator&&se.navigator.userAgent||"",xw="";const LH=se.navigator&&se.navigator.language||se.navigator&&se.navigator.languages&&se.navigator.languages[0]||"";function DH(e){return typeof e=="object"&&e!==null&&"getHighEntropyValues"in e}const Sy=se.navigator&&se.navigator.userAgentData;DH(Sy)&&Sy.getHighEntropyValues(["architecture","model","platform","platformVersion","fullVersionList"]).then(e=>{if(Iw=e.platform||"",kw=e.architecture||"",xw=e.model||"",Cw=e.platformVersion||"",e.fullVersionList&&e.fullVersionList.length>0){const t=e.fullVersionList[e.fullVersionList.length-1];Uf=`${t.brand} ${t.version}`}}).catch(e=>{});function $H(e){return!("thread_metadata"in e)}function FH(e){return $H(e)?HH(e):e}function BH(e){const t=e&&e.contexts&&e.contexts.trace&&e.contexts.trace.trace_id;return typeof t=="string"&&t.length!==32&&ve&&I.log(`[Profiling] Invalid traceId: ${t} on profiled event`),typeof t!="string"?"":t}function jH(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=BH(r),i=FH(n),o=t||(typeof r.start_timestamp=="number"?r.start_timestamp*1e3:Date.now()),a=typeof r.timestamp=="number"?r.timestamp*1e3:Date.now();return{event_id:e,timestamp:new Date(o).toISOString(),platform:"javascript",version:"1",release:r.release||"",environment:r.environment||zo,runtime:{name:"javascript",version:se.navigator.userAgent},os:{name:Iw,version:Cw,build_number:Uf},device:{locale:LH,model:xw,manufacturer:Uf,architecture:kw,is_emulator:!1},debug_meta:{images:WH(n.resources)},profile:i,transactions:[{name:r.transaction||"",id:r.event_id||Ie(),trace_id:s,active_thread_id:Ya,relative_start_ns:"0",relative_end_ns:((a-o)*1e6).toFixed(0)}]}}function Rw(e){return e.op==="pageload"}function HH(e){let t,n=0;const r={samples:[],stacks:[],frames:[],thread_metadata:{[Ya]:{name:PH}}};if(!e.samples.length)return r;const s=e.samples[0].timestamp,i=typeof performance.timeOrigin=="number"?performance.timeOrigin:_t||0,o=i-(_t||i);for(let a=0;a<e.samples.length;a++){const c=e.samples[a];if(c.stackId===void 0){t===void 0&&(t=n,r.stacks[t]=[],n++),r.samples[a]={elapsed_since_start_ns:((c.timestamp+o-s)*Ey).toFixed(0),stack_id:t,thread_id:Ya};continue}let u=e.stacks[c.stackId];const l=[];for(;u;){l.push(u.frameId);const d=e.frames[u.frameId];r.frames[u.frameId]===void 0&&(r.frames[u.frameId]={function:d.name,abs_path:typeof d.resourceId=="number"?e.resources[d.resourceId]:void 0,lineno:d.line,colno:d.column}),u=u.parentId===void 0?void 0:e.stacks[u.parentId]}const f={elapsed_since_start_ns:((c.timestamp+o-s)*Ey).toFixed(0),stack_id:n,thread_id:Ya};r.stacks[n]=l,r.samples[a]=f,n++}return r}function UH(e,t){if(!t.length)return e;for(const n of t)e[1].push([{type:"profile"},n]);return e}function qH(e){const t=[];return ci(e,(n,r)=>{if(r==="transaction")for(let s=1;s<n.length;s++){const i=n[s];
434i&&i.contexts&&i.contexts.profile&&i.contexts.profile.profile_id&&t.push(n[s])}}),t}const wy=new WeakMap;function WH(e){const t=ue._sentryDebugIds;if(!t)return[];const n=ce(),r=n&&n.getOptions(),s=r&&r.stackParser;if(!s)return[];let i;const o=wy.get(s);o?i=o:(i=new Map,wy.set(s,i));const a=Object.keys(t).reduce((u,l)=>{let f;const d=i.get(l);d?f=d:(f=s(l),i.set(l,f));for(let p=f.length-1;p>=0;p--){const h=f[p],m=h&&h.filename;if(h&&m){u[m]=t[l];break}}return u},{}),c=[];for(const u of e)u&&a[u]&&c.push({type:"sourcemap",code_file:u,debug_id:a[u]});return c}function zH(e){return typeof e!="number"&&typeof e!="boolean"||typeof e=="number"&&isNaN(e)?(ve&&I.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?(ve&&I.warn(`[Profiling] Invalid sample rate. Sample rate must be between 0 and 1. Got ${e}.`),!1):!0}function VH(e){return e.samples.length<2?(ve&&I.log("[Profiling] Discarding profile because it contains less than 2 samples"),!1):e.frames.length?!0:(ve&&I.log("[Profiling] Discarding profile because it contains no frames"),!1)}let Aw=!1;const Ow=3e4;function GH(e){return typeof e=="function"}function YH(){const e=se.Profiler;if(!GH(e)){ve&&I.log("[Profiling] Profiling is not supported by this browser, Profiler interface missing on window object.");return}const t=10,n=Math.floor(Ow/t);try{return new e({sampleInterval:t,maxBufferSize:n})}catch{ve&&(I.log("[Profiling] Failed to initialize the Profiling constructor, this is likely due to a missing 'Document-Policy': 'js-profiling' header."),I.log("[Profiling] Disabling profiling for current user session.")),Aw=!0}}function qf(e){if(Aw)return ve&&I.log("[Profiling] Profiling has been disabled for the duration of the current user session."),!1;if(!e.isRecording())return ve&&I.log("[Profiling] Discarding profile because transaction was not sampled."),!1;const t=ce(),n=t&&t.getOptions();if(!n)return ve&&I.log("[Profiling] Profiling disabled, no options found."),!1;const r=n.profilesSampleRate;return zH(r)?r?(r===!0?!0:Math.random()<r)?!0:(ve&&I.log(`[Profiling] Discarding profile because it's not included in the random sample (sampling rate = ${Number(r)})`),!1):(ve&&I.log("[Profiling] Discarding profile because a negative sampling decision was inherited or profileSampleRate is set to 0"),!1):(ve&&I.warn("[Profiling] Discarding profile because of invalid sample rate."),!1)}function KH(e,t,n,r){return VH(n)?jH(e,t,n,r):null}const jr=new Map;function JH(){return jr.size}function XH(e){const t=jr.get(e);return t&&jr.delete(e),t}function QH(e,t){if(jr.set(e,t),jr.size>30){const n=jr.keys().next().value;jr.delete(n)}}function ZH(e){return e?qf(e)?Wf(e):e:(ve&&I.log("[Profiling] Transaction is undefined, skipping profiling"),e)}function Wf(e){let t;Rw(e)&&(t=Tr()*1e3);const n=YH();if(!n)return e;ve&&I.log(`[Profiling] started profiling transaction: ${Ce(e).description}`);const r=Ie();async function s(){return!e||!n?null:n.stop().then(c=>(i&&(se.clearTimeout(i),i=void 0),ve&&I.log(`[Profiling] stopped profiling of transaction: ${Ce(e).description}`),c?(QH(r,c),null):(ve&&I.log(`[Profiling] profiler returned null profile for: ${Ce(e).description}`,"this may indicate an overlapping transaction or a call to stopProfiling with a profile title that was never started"),null))).catch(c=>(ve&&I.log("[Profiling] error while stopping profiler:",c),null))}let i=se.setTimeout(()=>{ve&&I.log("[Profiling] max profile duration elapsed, stopping profiling for:",Ce(e).description),s()},Ow);const o=e.end.bind(e);function a(){return e?(s().then(()=>{e.setContext("profile",{profile_id:r,start_timestamp:t}),o()},()=>{o()}),e):o()}return e.end=a,e}const Mw="BrowserProfiling",e3=()=>({name:Mw,setupOnce(){},setup(e){const n=Xe().getTransaction();if(n&&Rw(n)&&qf(n)&&Wf(n),typeof e.on!="function"){I.warn("[Profiling] Client does not support hooks, profiling will be disabled");return}e.on("startTransaction",r=>{qf(r)&&Wf(r)}),e.on("beforeEnvelope",r=>{if(!JH())return;const s=qH(r);if(!s.length)return;const i=[];for(const o of s){const a=o&&o.contexts,c=a&&a.profile&&a.profile.profile_id,u=a&&a.profile&&a.profile.start_timestamp;if(typeof c!="string"){ve&&I.log("[Profiling] cannot find profile for a transaction without a profile context");continue}if(!c){ve&&I.log("[Profiling] cannot find profile for a transaction without a profile context");continue}a&&a.profile&&delete a.profile;const l=XH(c);if(!l){ve&&I.log(`[Profiling] Could not retrieve profile for transaction: ${c}`);continue}const f=KH(c,u,l,o);f&&i.push(f)}UH(r,i)})}}),Nw=e3,t3=We(Mw,Nw);let Pw={};se.Sentry&&se.Sentry.Integrations&&(Pw=se.Sentry.Integrations);const n3={...Pw,...bL,...D$},Lw=["activate","mount","update"],r3=/(?:^|[-_])(\w)/g,s3=e=>e.replace(r3,t=>t.toUpperCase()).replace(/[-_]/g,""),i3="<Root>",hu="<Anonymous>",o3=(e,t)=>e.repeat?e.repeat(t):e,go=(e,t)=>{if(!e)return hu;if(e.$root===e)return i3;if(!e.$options)return hu;const n=e.$options;let r=n.name||n._componentTag;const s=n.__file;if(!r&&s){const i=s.match(/([^/\\]+)\.vue$/);i&&(r=i[1])}return(r?`<${s3(r)}>`:hu)+(s&&t!==!1?` at ${s}`:"")},a3=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` 435 436found in 437 438${t.map((s,i)=>`${(i===0?"---> ":o3(" ",5+i*2))+(Array.isArray(s)?`${go(s[0])}... (${s[1]} recursive calls)`:go(s))}`).join(` 439`)}`}return` 440 441(found in ${go(e)})`},Dw=(e,t)=>{const{errorHandler:n,warnHandler:r,silent:s}=e.config;e.config.errorHandler=(i,o,a)=>{const c=go(o,!1),u=o?a3(o):"",l={componentName:c,lifecycleHook:a,trace:u};if(t.attachProps&&o&&(o.$options&&o.$options.propsData?l.propsData=o.$options.propsData:o.$props&&(l.propsData=o.$props)),setTimeout(()=>{us(i,{captureContext:{contexts:{vue:l}},mechanism:{handled:!1}})}),typeof n=="function"&&n.call(e,i,o,a),t.logErrors){const f=typeof console<"u",d=`Error in ${a}: "${i&&i.toString()}"`;r?r.call(null,d,o,u):f&&!s&&ln(()=>{console.error(`[Vue warn]: ${d}${u}`)})}}},c3=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Ty="ui.vue",l3={activate:["activated","deactivated"],create:["beforeCreate","created"],unmount:["beforeUnmount","unmounted"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]};function u3(){return Xe().getTransaction()}function f3(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)}const $w=e=>{const t=(e.hooks||[]).concat(Lw).filter((r,s,i)=>i.indexOf(r)===s),n={};for(const r of t){const s=l3[r];if(!s){c3&&I.warn(`Unknown hook: ${r}`);continue}for(const i of s)n[i]=function(){const o=this.$root===this;o&&es()&&(this.$_sentryRootSpan=this.$_sentryRootSpan||Ro({name:"Application Render",op:`${Ty}.render`,origin:"auto.ui.vue"}));const a=go(this,!1),c=Array.isArray(e.trackComponents)?e.trackComponents.indexOf(a)>-1:e.trackComponents;if(!(!o&&!c))if(this.$_sentrySpans=this.$_sentrySpans||{},i==s[0]){if(this.$root&&this.$root.$_sentryRootSpan||es()){const l=this.$_sentrySpans[r];l&&l.end(),this.$_sentrySpans[r]=Ro({name:`Vue <${a}>`,op:`${Ty}.${r}`,origin:"auto.ui.vue"})}}else{const u=this.$_sentrySpans[r];if(!u)return;u.end(),f3(this,Tr(),e.timeout)}}}return n},d3=ue,p3={Vue:d3.Vue,attachProps:!0,logErrors:!0,hooks:Lw,timeout:2e3,trackComponents:!1},Fw="Vue",h3=(e={})=>({name:Fw,setupOnce(){},setup(t){g3(t,e)}}),Bp=h3,m3=We(Fw,Bp);function g3(e,t){const n={...p3,...e.getOptions(),...t};if(!n.Vue&&!n.app){ln(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue specific errors will not be captured.\nUpdate your `Sentry.init` call with an appropriate config option:\n`app` (Application Instance - Vue 3) or `Vue` (Vue Constructor - Vue 2).")});return}
441n.app?zd(n.app).forEach(s=>Iy(s,n)):n.Vue&&Iy(n.Vue,n)}const Iy=(e,t)=>{const n=e;(n._instance&&n._instance.isMounted)===!0&&ln(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue app is already mounted. Make sure to call `app.mount()` after `Sentry.init()`.")}),Dw(e,t),fs(t)&&e.mixin($w({...t,...t.tracingOptions}))};function Bw(e={}){const t={_metadata:{sdk:{name:"sentry.javascript.vue",packages:[{name:"npm:@sentry/vue",version:ui}],version:ui}},defaultIntegrations:[...Sp(),Bp()],...e};R$(t)}function y3(e,t={}){return(n,r=!0,s=!0)=>{r&&se&&se.location&&n({name:se.location.pathname,op:"pageload",attributes:{[bn]:"auto.pageload.vue",[yt]:"url"}}),jw(e,{routeLabel:t.routeLabel||"name",instrumentNavigation:s,instrumentPageLoad:r},n)}}function jw(e,t,n){e.onError(r=>us(r,{mechanism:{handled:!1}})),e.beforeEach((r,s,i)=>{const o=s.name==null&&s.matched.length===0,a={[bn]:"auto.navigation.vue"};for(const l of Object.keys(r.params))a[`params.${l}`]=r.params[l];for(const l of Object.keys(r.query)){const f=r.query[l];f&&(a[`query.${l}`]=f)}let c=r.path,u="url";if(r.name&&t.routeLabel!=="path"?(c=r.name.toString(),u="custom"):r.matched[0]&&r.matched[0].path&&(c=r.matched[0].path,u="route"),t.instrumentPageLoad&&o){const l=u3();l&&((Ce(l).data||{})[yt]!=="custom"&&(l.updateName(c),l.setAttribute(yt,u)),l.setAttributes({...a,[bn]:"auto.pageload.vue"}))}t.instrumentNavigation&&!o&&(a[yt]=u,n({name:c,op:"navigation",attributes:a})),i&&i()})}function _3(e={}){if(!e.router)return Cg(e);const t=Cg({...e,instrumentNavigation:!1}),{router:n,instrumentNavigation:r=!0,instrumentPageLoad:s=!0,routeLabel:i="name"}=e;return{...t,afterAllSetup(o){t.afterAllSetup(o),jw(n,{routeLabel:i,instrumentNavigation:r,instrumentPageLoad:s},c=>{pp(o,c)})}}}const v3=Object.freeze(Object.defineProperty({__proto__:null,Breadcrumbs:FE,BrowserClient:xE,BrowserProfilingIntegration:t3,BrowserTracing:yD,Dedupe:HE,Feedback:ta,FunctionToString:nE,GlobalHandlers:zE,HttpContext:KE,Hub:tp,InboundFilters:eE,Integrations:n3,LinkedErrors:XE,ModuleMetadata:VP,Replay:ea,ReplayCanvas:Ej,SDK_VERSION:ui,SEMANTIC_ATTRIBUTE_SENTRY_OP:Ji,SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN:bn,SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE:Fr,SEMANTIC_ATTRIBUTE_SENTRY_SOURCE:yt,Scope:In,TryCatch:ZE,VueIntegration:m3,WINDOW:se,addBreadcrumb:Kn,addEventProcessor:qb,addGlobalEventProcessor:_b,addIntegration:nP,addTracingExtensions:sp,attachErrorHandler:Dw,breadcrumbsIntegration:yp,browserApiErrorsIntegration:Ep,browserProfilingIntegration:Nw,browserTracingIntegration:_3,captureConsoleIntegration:tw,captureEvent:Vo,captureException:us,captureMessage:bc,captureSession:If,captureUserFeedback:L$,chromeStackLineParser:OE,close:yN,configureScope:cN,contextLinesIntegration:ww,continueTrace:$N,createTracingMixins:$w,createTransport:op,createUserFeedbackEnvelope:kE,debugIntegration:rw,dedupeIntegration:iw,defaultIntegrations:eS,defaultRequestInstrumentationOptions:Ao,defaultStackLineParsers:PE,defaultStackParser:LE,endSession:ep,eventFromException:IE,eventFromMessage:CE,exceptionFromError:hp,extraErrorDataIntegration:lw,extractTraceparentData:AN,feedbackIntegration:Qj,flush:gN,forceLoad:O$,functionToStringIntegration:cp,geckoStackLineParser:ME,getActiveSpan:es,getActiveTransaction:Cn,getClient:ce,getCurrentHub:ke,getCurrentScope:Xe,getDefaultIntegrations:Sp,getHubFromCarrier:Sc,getReplay:aj,getSpanStatusFromHttpCode:np,globalHandlersIntegration:_p,httpClientIntegration:yw,httpContextIntegration:vp,inboundFiltersIntegration:ap,init:Bw,instrumentOutgoingRequests:dp,isInitialized:vN,lastEventId:_N,linkedErrorsIntegration:bp,makeBrowserOfflineTransport:NH,makeFetchTransport:RE,makeMain:Cf,makeMultiplexedTransport:NP,makeXHRTransport:AE,metrics:vL,moduleMetadataIntegration:Qb,onLoad:M$,onProfilingStartRouteTransaction:ZH,opera10StackLineParser:QD,opera11StackLineParser:t$,parameterize:BP,replayCanvasIntegration:KS,replayIntegration:ij,reportingObserverIntegration:fw,rewriteFramesIntegration:pw,sendFeedback:QS,sessionTimingIntegration:mw,setContext:Sb,setCurrentClient:Gb,setExtra:uN,setExtras:lN,setHttpStatus:ll,setMeasurement:Db,setTag:wb,setTags:fN,setUser:dN,showReportDialog:A$,spanStatusfromHttpCode:MN,startBrowserTracingNavigationSpan:pp,startBrowserTracingPageLoadSpan:wE,startInactiveSpan:Ro,startSession:Tf,startSpan:LN,startSpanManual:DN,startTransaction:mN,trace:PN,vueIntegration:Bp,vueRouterInstrumentation:y3,winjsStackLineParser:NE,withActiveSpan:hN,withIsolationScope:pN,withScope:Ir,wrap:N$},Symbol.toStringTag,{value:"Module"}));function Hw(){var e;return(e=os().public)==null?void 0:e.sentry}function i6(){return Hw()?v3:void 0}const b3=wt(e=>{const t=Hw();t&&(Bw({app:e.vueApp,dsn:t.dsn,environment:t.environment,release:t.release}),wb("realm","client"))});var Uw={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},jp={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},E3=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"],$c={CSS:{},springs:{}};function Sn(e,t,n){return Math.min(Math.max(e,t),n)}function yo(e,t){return e.indexOf(t)>-1}function mu(e,t){return e.apply(null,t)}var ne={arr:function(e){return Array.isArray(e)},obj:function(e){return yo(Object.prototype.toString.call(e),"Object")},pth:function(e){return ne.obj(e)&&e.hasOwnProperty("totalLength")},svg:function(e){return e instanceof SVGElement},inp:function(e){return e instanceof HTMLInputElement}
vendor: 12,752 bytes, line 441
441,dom:function(e){return e.nodeType||ne.svg(e)},str:function(e){return typeof e=="string"},fnc:function(e){return typeof e=="function"},und:function(e){return typeof e>"u"},nil:function(e){return ne.und(e)||e===null},hex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},rgb:function(e){return/^rgb/.test(e)},hsl:function(e){return/^hsl/.test(e)},col:function(e){return ne.hex(e)||ne.rgb(e)||ne.hsl(e)},key:function(e){return!Uw.hasOwnProperty(e)&&!jp.hasOwnProperty(e)&&e!=="targets"&&e!=="keyframes"}};function qw(e){var t=/\(([^)]+)\)/.exec(e);return t?t[1].split(",").map(function(n){return parseFloat(n)}):[]}function Ww(e,t){var n=qw(e),r=Sn(ne.und(n[0])?1:n[0],.1,100),s=Sn(ne.und(n[1])?100:n[1],.1,100),i=Sn(ne.und(n[2])?10:n[2],.1,100),o=Sn(ne.und(n[3])?0:n[3],.1,100),a=Math.sqrt(s/r),c=i/(2*Math.sqrt(s*r)),u=c<1?a*Math.sqrt(1-c*c):0,l=1,f=c<1?(c*a+-o)/u:-o+a;function d(h){var m=t?t*h/1e3:h;return c<1?m=Math.exp(-m*c*a)*(l*Math.cos(u*m)+f*Math.sin(u*m)):m=(l+f*m)*Math.exp(-m*a),h===0||h===1?h:1-m}function p(){var h=$c.springs[e];if(h)return h;for(var m=1/6,v=0,y=0;;)if(v+=m,d(v)===1){if(y++,y>=16)break}else y=0;var _=v*m*1e3;return $c.springs[e]=_,_}return t?d:p}function S3(e){return e===void 0&&(e=10),function(t){return Math.ceil(Sn(t,1e-6,1)*e)*(1/e)}}var w3=function(){var e=11,t=1/(e-1);function n(l,f){return 1-3*f+3*l}function r(l,f){return 3*f-6*l}function s(l){return 3*l}function i(l,f,d){return((n(f,d)*l+r(f,d))*l+s(f))*l}function o(l,f,d){return 3*n(f,d)*l*l+2*r(f,d)*l+s(f)}function a(l,f,d,p,h){var m,v,y=0;do v=f+(d-f)/2,m=i(v,p,h)-l,m>0?d=v:f=v;while(Math.abs(m)>1e-7&&++y<10);return v}function c(l,f,d,p){for(var h=0;h<4;++h){var m=o(f,d,p);if(m===0)return f;var v=i(f,d,p)-l;f-=v/m}return f}function u(l,f,d,p){if(!(0<=l&&l<=1&&0<=d&&d<=1))return;var h=new Float32Array(e);if(l!==f||d!==p)for(var m=0;m<e;++m)h[m]=i(m*t,l,d);function v(y){for(var _=0,g=1,b=e-1;g!==b&&h[g]<=y;++g)_+=t;--g;var S=(y-h[g])/(h[g+1]-h[g]),T=_+S*t,C=o(T,l,d);return C>=.001?c(y,T,l,d):C===0?T:a(y,_,_+t,l,d)}return function(y){return l===f&&d===p||y===0||y===1?y:i(v(y),f,p)}}return u}(),zw=function(){var e={linear:function(){return function(r){return r}}},t={Sine:function(){return function(r){return 1-Math.cos(r*Math.PI/2)}},Expo:function(){return function(r){return r?Math.pow(2,10*r-10):0}},Circ:function(){return function(r){return 1-Math.sqrt(1-r*r)}},Back:function(){return function(r){return r*r*(3*r-2)}},Bounce:function(){return function(r){for(var s,i=4;r<((s=Math.pow(2,--i))-1)/11;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((s*3-2)/22-r,2)}},Elastic:function(r,s){r===void 0&&(r=1),s===void 0&&(s=.5);var i=Sn(r,1,10),o=Sn(s,.1,2);return function(a){return a===0||a===1?a:-i*Math.pow(2,10*(a-1))*Math.sin((a-1-o/(Math.PI*2)*Math.asin(1/i))*(Math.PI*2)/o)}}},n=["Quad","Cubic","Quart","Quint"];return n.forEach(function(r,s){t[r]=function(){return function(i){return Math.pow(i,s+2)}}}),Object.keys(t).forEach(function(r){var s=t[r];e["easeIn"+r]=s,e["easeOut"+r]=function(i,o){return function(a){return 1-s(i,o)(1-a)}},e["easeInOut"+r]=function(i,o){return function(a){return a<.5?s(i,o)(a*2)/2:1-s(i,o)(a*-2+2)/2}},e["easeOutIn"+r]=function(i,o){return function(a){return a<.5?(1-s(i,o)(1-a*2))/2:(s(i,o)(a*2-1)+1)/2}}}),e}();function Hp(e,t){if(ne.fnc(e))return e;var n=e.split("(")[0],r=zw[n],s=qw(e);switch(n){case"spring":return Ww(e,t);case"cubicBezier":return mu(w3,s);case"steps":return mu(S3,s);default:return mu(r,s)}}function Vw(e){try{var t=document.querySelectorAll(e);return t}catch{return}}function El(e,t){for(var n=e.length,r=arguments.length>=2?arguments[1]:void 0,s=[],i=0;i<n;i++)if(i in e){var o=e[i];t.call(r,o,i,e)&&s.push(o)}return s}function Sl(e){return e.reduce(function(t,n){return t.concat(ne.arr(n)?Sl(n):n)},[])}function Cy(e){return ne.arr(e)?e:(ne.str(e)&&(e=Vw(e)||e),e instanceof NodeList||e instanceof HTMLCollection?[].slice.call(e):[e])}function Up(e,t){return e.some(function(n){return n===t})}function qp(e){var t={};for(var n in e)t[n]=e[n];return t}function zf(e,t){var n=qp(e);for(var r in e)n[r]=t.hasOwnProperty(r)?t[r]:e[r];return n}function wl(e,t){var n=qp(e);for(var r in t)n[r]=ne.und(e[r])?t[r]:e[r];return n}function T3(e){var t=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(e);return t?"rgba("+t[1]+",1)":e}function I3(e){var t=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,n=e.replace(t,function(a,c,u,l){return c+c+u+u+l+l}),r=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(n),s=parseInt(r[1],16),i=parseInt(r[2],16),o=parseInt(r[3],16);return"rgba("+s+","+i+","+o+",1)"}function C3(e){var t=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(e)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(e),n=parseInt(t[1],10)/360,r=parseInt(t[2],10)/100,s=parseInt(t[3],10)/100,i=t[4]||1;function o(d,p,h){return h<0&&(h+=1),h>1&&(h-=1),h<1/6?d+(p-d)*6*h:h<1/2?p:h<2/3?d+(p-d)*(2/3-h)*6:d}var a,c,u;if(r==0)a=c=u=s;else{var l=s<.5?s*(1+r):s+r-s*r,f=2*s-l;a=o(f,l,n+1/3),c=o(f,l,n),u=o(f,l,n-1/3)}return"rgba("+a*255+","+c*255+","+u*255+","+i+")"}function k3(e){if(ne.rgb(e))return T3(e);if(ne.hex(e))return I3(e);if(ne.hsl(e))return C3(e)}function Un(e){var t=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e);if(t)return t[1]}function x3(e){if(yo(e,"translate")||e==="perspective")return"px";if(yo(e,"rotate")||yo(e,"skew"))return"deg"}function Vf(e,t){return ne.fnc(e)?e(t.target,t.id,t.total):e}function wn(e,t){return e.getAttribute(t)}function Wp(e,t,n){var r=Un(t);if(Up([n,"deg","rad","turn"],r))return t;var s=$c.CSS[t+n];if(!ne.und(s))return s;var i=100,o=document.createElement(e.tagName),a=e.parentNode&&e.parentNode!==document?e.parentNode:document.body;a.appendChild(o),o.style.position="absolute",o.style.width=i+n;var c=i/o.offsetWidth;a.removeChild(o);var u=c*parseFloat(t);return $c.CSS[t+n]=u,u}function Gw(e,t,n){if(t in e.style){var r=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),s=e.style[t]||getComputedStyle(e).getPropertyValue(r)||"0";return n?Wp(e,s,n):s}}function zp(e,t){if(ne.dom(e)&&!ne.inp(e)&&(!ne.nil(wn(e,t))||ne.svg(e)&&e[t]))return"attribute";if(ne.dom(e)&&Up(E3,t))return"transform";if(ne.dom(e)&&t!=="transform"&&Gw(e,t))return"css";if(e[t]!=null)return"object"}function Yw(e){if(ne.dom(e)){for(var t=e.style.transform||"",n=/(\w+)\(([^)]*)\)/g,r=new Map,s;s=n.exec(t);)r.set(s[1],s[2]);return r}}function R3(e,t,n,r){var s=yo(t,"scale")?1:0+x3(t),i=Yw(e).get(t)||s;return n&&(n.transforms.list.set(t,i),n.transforms.last=t),r?Wp(e,i,r):i}function Vp(e,t,n,r){switch(zp(e,t)){case"transform":return R3(e,t,r,n);case"css":return Gw(e,t,n);case"attribute":return wn(e,t);default:return e[t]||0}}function Gp(e,t){var n=/^(\*=|\+=|-=)/.exec(e);if(!n)return e;var r=Un(e)||0,s=parseFloat(t),i=parseFloat(e.replace(n[0],""));switch(n[0][0]){case"+":return s+i+r;case"-":return s-i+r;case"*":return s*i+r}}function Kw(e,t){if(ne.col(e))return k3(e);if(/\s/g.test(e))return e;var n=Un(e),r=n?e.substr(0,e.length-n.length):e;return t?r+t:r}function Yp(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function A3(e){return Math.PI*2*wn(e,"r")}function O3(e){return wn(e,"width")*2+wn(e,"height")*2}function M3(e){return Yp({x:wn(e,"x1"),y:wn(e,"y1")},{x:wn(e,"x2"),y:wn(e,"y2")})}function Jw(e){for(var t=e.points,n=0,r,s=0;s<t.numberOfItems;s++){var i=t.getItem(s);s>0&&(n+=Yp(r,i)),r=i}return n}function N3(e){var t=e.points;return Jw(e)+Yp(t.getItem(t.numberOfItems-1),t.getItem(0))}function Xw(e){if(e.getTotalLength)return e.getTotalLength();switch(e.tagName.toLowerCase()){case"circle":return A3(e);case"rect":return O3(e);case"line":return M3(e);case"polyline":return Jw(e);case"polygon":return N3(e)}}function P3(e){var t=Xw(e);return e.setAttribute("stroke-dasharray",t),t}function L3(e){for(var t=e.parentNode;ne.svg(t)&&ne.svg(t.parentNode);)t=t.parentNode;return t}function Qw(e,t){var n=t||{},r=n.el||L3(e),s=r.getBoundingClientRect(),i=wn(r,"viewBox"),o=s.width,a=s.height,c=n.viewBox||(i?i.split(" "):[0,0,o,a]);return{el:r,viewBox:c,x:c[0]/1,y:c[1]/1,w:o,h:a,vW:c[2],vH:c[3]}}function D3(e,t){var n=ne.str(e)?Vw(e)[0]:e,r=t||100;return function(s){return{property:s,el:n,svg:Qw(n),totalLength:Xw(n)*(r/100)}}}function $3(e,t,n){function r(l){l===void 0&&(l=0);var f=t+l>=1?t+l:0;return e.el.getPointAtLength(f)}var s=Qw(e.el,e.svg),i=r(),o=r(-1),a=r(1),c=n?1:s.w/s.vW,u=n?1:s.h/s.vH;switch(e.property){case"x":return(i.x-s.x)*c;case"y":return(i.y-s.y)*u;case"angle":return Math.atan2(a.y-o.y,a.x-o.x)*180/Math.PI}}function ky(e,t){var n=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,r=Kw(ne.pth(e)?e.totalLength:e,t)+"";return{original:r,numbers:r.match(n)?r.match(n).map(Number):[0],strings:ne.str(e)||t?r.split(n):[]}}function Kp(e){var t=e?Sl(ne.arr(e)?e.map(Cy):Cy(e)):[];return El(t,function(n,r,s){return s.indexOf(n)===r})}function Zw(e){var t=Kp(e);return t.map(function(n,r){return{target:n,id:r,total:t.length,transforms:{list:Yw(n)}}})}function F3(e,t){var n=qp(t);if(/^spring/.test(n.easing)&&(n.duration=Ww(n.easing)),ne.arr(e)){var r=e.length,s=r===2&&!ne.obj(e[0]);s?e={value:e}:ne.fnc(t.duration)||(n.duration=t.duration/r)}var i=ne.arr(e)?e:[e];return i.map(function(o,a){var c=ne.obj(o)&&!ne.pth(o)?o:{value:o};return ne.und(c.delay)&&(c.delay=a?0:t.delay),ne.und(c.endDelay)&&(c.endDelay=a===i.length-1?t.endDelay:0),c}).map(function(o){return wl(o,n)})}function B3(e){for(var t=El(Sl(e.map(function(i){return Object.keys(i)})),function(i){return ne.key(i)}).reduce(function(i,o){return i.indexOf(o)<0&&i.push(o),i},[]),n={},r=function(i){var o=t[i];n[o]=e.map(function(a){var c={};for(var u in a)ne.key(u)?u==o&&(c.value=a[u]):c[u]=a[u];return c})},s=0;s<t.length;s++)r(s);return n}function j3(e,t){var n=[],r=t.keyframes;r&&(t=wl(B3(r),t));for(var s in t)ne.key(s)&&n.push({name:s,tweens:F3(t[s],e)});return n}function H3(e,t){var n={};for(var r in e){var s=Vf(e[r],t);ne.arr(s)&&(s=s.map(function(i){return Vf(i,t)}),s.length===1&&(s=s[0])),n[r]=s}return n.duration=parseFloat(n.duration),n.delay=parseFloat(n.delay),n}function U3(e,t){var n;return e.tweens.map(function(r){var s=H3(r,t),i=s.value,o=ne.arr(i)?i[1]:i,a=Un(o),c=Vp(t.target,e.name,a,t),u=n?n.to.original:c,l=ne.arr(i)?i[0]:u,f=Un(l)||Un(c),d=a||f;return ne.und(o)&&(o=u),s.from=ky(l,d),s.to=ky(Gp(o,l),d),s.start=n?n.end:0,s.end=s.start+s.delay+s.duration+s.endDelay,s.easing=Hp(s.easing,s.duration),s.isPath=ne.pth(i),s.isPathTargetInsideSVG=s.isPath&&ne.svg(t.target),s.isColor=ne.col(s.from.original),s.isColor&&(s.round=1),n=s,s})}var eT={css:function(e,t,n){return e.style[t]=n},attribute:function(e,t,n){return e.setAttribute(t,n)},object:function(e,t,n){return e[t]=n},transform:function(e,t,n,r,s){if(r.list.set(t,n),t===r.last||s){var i="";r.list.forEach(function(o,a){i+=a+"("+o+") "}),e.style.transform=i}}};function tT(e,t){var n=Zw(e);n.forEach(function(r){for(var s in t){var i=Vf(t[s],r),o=r.target,a=Un(i),c=Vp(o,s,a,r),u=a||Un(c),l=Gp(Kw(i,u),c),f=zp(o,s);eT[f](o,s,l,r.transforms,!0)}})}function q3(e,t){var n=zp(e.target,t.name);if(n){var r=U3(t,e),s=r[r.length-1];return{type:n,property:t.name,animatable:e,tweens:r,duration:s.end,delay:r[0].delay,endDelay:s.endDelay}}}function W3(e,t){return El(Sl(e.map(function(n){return t.map(function(r){return q3(n,r)})})),function(n){return!ne.und(n)})}function nT(e,t){var n=e.length,r=function(i){return i.timelineOffset?i.timelineOffset:0},s={};return s.duration=n?Math.max.apply(Math,e.map(function(i){return r(i)+i.duration})):t.duration,s.delay=n?Math.min.apply(Math,e.map(function(i){return r(i)+i.delay})):t.delay,s.endDelay=n?s.duration-Math.max.apply(Math,e.map(function(i){return r(i)+i.duration-i.endDelay})):t.endDelay,s}var xy=0;function z3(e){var t=zf(Uw,e),n=zf(jp,e),r=j3(n,e),s=Zw(e.targets),i=W3(s,r),o=nT(i,n),a=xy;return xy++,wl(t,{id:a,children:[],animatables:s,animations:i,duration:o.duration,delay:o.delay,endDelay:o.endDelay})}var nn=[],rT=function(){var e;function t(){!e&&(!Ry()||!Ke.suspendWhenDocumentHidden)&&nn.length>0&&(e=requestAnimationFrame(n))}function n(s){for(var i=nn.length,o=0;o<i;){var a=nn[o];a.paused?(nn.splice(o,1),i--):(a.tick(s),o++)}e=o>0?requestAnimationFrame(n):void 0}function r(){Ke.suspendWhenDocumentHidden&&(Ry()?e=cancelAnimationFrame(e):(nn.forEach(function(s){return s._onDocumentVisibility()}),rT()))}return typeof document<"u"&&document.addEventListener("visibilitychange",r),t}();function Ry(){return!!document&&document.hidden}function Ke(e){e===void 0&&(e={});var t=0,n=0,r=0,s,i=0,o=null;function a(_){var g=window.Promise&&new Promise(function(b){return o=b});return _.finished=g,g}var c=z3(e);a(c);function u(){var _=c.direction;_!=="alternate"&&(c.direction=_!=="normal"?"normal":"reverse"),c.reversed=!c.reversed,s.forEac
441h(function(g){return g.reversed=c.reversed})}function l(_){return c.reversed?c.duration-_:_}function f(){t=0,n=l(c.currentTime)*(1/Ke.speed)}function d(_,g){g&&g.seek(_-g.timelineOffset)}function p(_){if(c.reversePlayback)for(var b=i;b--;)d(_,s[b]);else for(var g=0;g<i;g++)d(_,s[g])}function h(_){for(var g=0,b=c.animations,S=b.length;g<S;){var T=b[g],C=T.animatable,M=T.tweens,x=M.length-1,k=M[x];x&&(k=El(M,function(st){return _<st.end})[0]||k);for(var B=Sn(_-k.start-k.delay,0,k.duration)/k.duration,A=isNaN(B)?1:k.easing(B),U=k.to.strings,X=k.round,re=[],$=k.to.numbers.length,Y=void 0,q=0;q<$;q++){var fe=void 0,je=k.to.numbers[q],ut=k.from.numbers[q]||0;k.isPath?fe=$3(k.value,A*je,k.isPathTargetInsideSVG):fe=ut+A*(je-ut),X&&(k.isColor&&q>2||(fe=Math.round(fe*X)/X)),re.push(fe)}var $e=U.length;if(!$e)Y=re[0];else{Y=U[0];for(var Je=0;Je<$e;Je++){U[Je];var vt=U[Je+1],Rt=re[Je];isNaN(Rt)||(vt?Y+=Rt+vt:Y+=Rt+" ")}}eT[T.type](C.target,T.property,Y,C.transforms),T.currentValue=Y,g++}}function m(_){c[_]&&!c.passThrough&&c[_](c)}function v(){c.remaining&&c.remaining!==!0&&c.remaining--}function y(_){var g=c.duration,b=c.delay,S=g-c.endDelay,T=l(_);c.progress=Sn(T/g*100,0,100),c.reversePlayback=T<c.currentTime,s&&p(T),!c.began&&c.currentTime>0&&(c.began=!0,m("begin")),!c.loopBegan&&c.currentTime>0&&(c.loopBegan=!0,m("loopBegin")),T<=b&&c.currentTime!==0&&h(0),(T>=S&&c.currentTime!==g||!g)&&h(g),T>b&&T<S?(c.changeBegan||(c.changeBegan=!0,c.changeCompleted=!1,m("changeBegin")),m("change"),h(T)):c.changeBegan&&(c.changeCompleted=!0,c.changeBegan=!1,m("changeComplete")),c.currentTime=Sn(T,0,g),c.began&&m("update"),_>=g&&(n=0,v(),c.remaining?(t=r,m("loopComplete"),c.loopBegan=!1,c.direction==="alternate"&&u()):(c.paused=!0,c.completed||(c.completed=!0,m("loopComplete"),m("complete"),!c.passThrough&&"Promise"in window&&(o(),a(c)))))}return c.reset=function(){var _=c.direction;c.passThrough=!1,c.currentTime=0,c.progress=0,c.paused=!0,c.began=!1,c.loopBegan=!1,c.changeBegan=!1,c.completed=!1,c.changeCompleted=!1,c.reversePlayback=!1,c.reversed=_==="reverse",c.remaining=c.loop,s=c.children,i=s.length;for(var g=i;g--;)c.children[g].reset();(c.reversed&&c.loop!==!0||_==="alternate"&&c.loop===1)&&c.remaining++,h(c.reversed?c.duration:0)},c._onDocumentVisibility=f,c.set=function(_,g){return tT(_,g),c},c.tick=function(_){r=_,t||(t=r),y((r+(n-t))*Ke.speed)},c.seek=function(_){y(l(_))},c.pause=function(){c.paused=!0,f()},c.play=function(){c.paused&&(c.completed&&c.reset(),c.paused=!1,nn.push(c),f(),rT())},c.reverse=function(){u(),c.completed=!c.reversed,f()},c.restart=function(){c.reset(),c.play()},c.remove=function(_){var g=Kp(_);sT(g,c)},c.reset(),c.autoplay&&c.play(),c}function Ay(e,t){for(var n=t.length;n--;)Up(e,t[n].animatable.target)&&t.splice(n,1)}function sT(e,t){var n=t.animations,r=t.children;Ay(e,n);for(var s=r.length;s--;){var i=r[s],o=i.animations;Ay(e,o),!o.length&&!i.children.length&&r.splice(s,1)}!n.length&&!r.length&&t.pause()}function V3(e){for(var t=Kp(e),n=nn.length;n--;){var r=nn[n];sT(t,r)}}function G3(e,t){t===void 0&&(t={});var n=t.direction||"normal",r=t.easing?Hp(t.easing):null,s=t.grid,i=t.axis,o=t.from||0,a=o==="first",c=o==="center",u=o==="last",l=ne.arr(e),f=parseFloat(l?e[0]:e),d=l?parseFloat(e[1]):0,p=Un(l?e[1]:e)||0,h=t.start||0+(l?f:0),m=[],v=0;return function(y,_,g){if(a&&(o=0),c&&(o=(g-1)/2),u&&(o=g-1),!m.length){for(var b=0;b<g;b++){if(!s)m.push(Math.abs(o-b));else{var S=c?(s[0]-1)/2:o%s[0],T=c?(s[1]-1)/2:Math.floor(o/s[0]),C=b%s[0],M=Math.floor(b/s[0]),x=S-C,k=T-M,B=Math.sqrt(x*x+k*k);i==="x"&&(B=-x),i==="y"&&(B=-k),m.push(B)}v=Math.max.apply(Math,m)}r&&(m=m.map(function(U){return r(U/v)*v})),n==="reverse"&&(m=m.map(function(U){return i?U<0?U*-1:-U:Math.abs(v-U)}))}var A=l?(d-f)/v:f;return h+A*(Math.round(m[_]*100)/100)+p}}function Y3(e){e===void 0&&(e={});var t=Ke(e);return t.duration=0,t.add=function(n,r){var s=nn.indexOf(t),i=t.children;s>-1&&nn.splice(s,1);function o(d){d.passThrough=!0}for(var a=0;a<i.length;a++)o(i[a]);var c=wl(n,zf(jp,e));c.targets=c.targets||e.targets;var u=t.duration;c.autoplay=!1,c.direction=t.direction,c.timelineOffset=ne.und(r)?u:Gp(r,u),o(t),t.seek(c.timelineOffset);var l=Ke(c);o(l),i.push(l);var f=nT(i,e);return t.delay=f.delay,t.endDelay=f.endDelay,t.duration=f.duration,t.seek(0),t.reset(),t.autoplay&&t.play(),t},t}Ke.version="3.2.1";Ke.speed=1;Ke.suspendWhenDocumentHidden=!0;Ke.running=nn;Ke.remove=V3;Ke.get=Vp;Ke.set=tT;Ke.convertPx=Wp;Ke.path=D3;Ke.setDashoffset=P3;Ke.stagger=G3;Ke.timeline=Y3;Ke.easing=Hp;Ke.penner=zw;Ke.random=function(e,t){return Math.floor(Math.random()*(t-e+1))+e};var f_;const K3=typeof window<"u"&&((f_=window.matchMedia("(prefers-reduced-motion: reduce)"))==null?void 0:f_.matches),gu={easeLeft:{translateX:[60,0],opacity:[.5,1],duration:1500,easing:"easeOutCubic"},easeRight:{translateX:[-60,0],opacity:[.5,1],duration:1500,easing:"easeOutCubic"},easeUp:{translateY:[90,0],opacity:[0,1],duration:1500,easing:"easeOutCubic"},easeDown:{translateY:[-90,0],opacity:[0,1],duration:1500,easing:"easeOutCubic"},bounceUp:{translateY:[40,0],opacity:[0,1],duration:1500,easing:"easeOutElastic(3, .6)"},increment:{round:1,duration:2500,easing:"easeInOutExpo"}},J3=e=>{if(typeof e=="string")return gu[e];const{name:t,...n}=e;if(!(t&&!gu[t]))return t?{...gu[t],...n}:n},Es=(()=>
441{if(!K3)return new IntersectionObserver(e=>{e.forEach(t=>{var n,r;if(t.isIntersecting){if(t.target.intersected)return;const s=JSON.parse((r=(n=t.target)==null?void 0:n.dataset)==null?void 0:r.animation),i=J3(s);t.target.intersected=!0,i&&Ke({targets:t.target,...i})}})},{root:null,threshold:.2,rootMargin:"0px"})})(),X3=wt(e=>{e.vueApp.directive("animate",{created(t,n){t.dataset.animation=JSON.stringify(n.value)},mounted(t){Es==null||Es.observe(t)},beforeUnmount(t){Es==null||Es.unobserve(t)}})}),iT=new Set,Pt=new WeakMap,Qs=new WeakMap,ns=new WeakMap,Gf=new WeakMap,Q3=new WeakMap,yi=new WeakMap,Fc=new WeakMap,Qi=new WeakSet;let rs;const jn="__aa_tgt",Yf="__aa_del",Z3=e=>{const t=s5(e);t&&t.forEach(n=>i5(n))},e5=e=>{e.forEach(t=>{t.target===rs&&n5(),Pt.has(t.target)&&ps(t.target)})};function t5(e){const t=Gf.get(e);t==null||t.disconnect();let n=Pt.get(e),r=0;const s=5;n||(n=_i(e),Pt.set(e,n));const{offsetWidth:i,offsetHeight:o}=rs,c=[n.top-s,i-(n.left+s+n.width),o-(n.top+s+n.height),n.left-s].map(l=>`${-1*Math.floor(l)}px`).join(" "),u=new IntersectionObserver(()=>{++r>1&&ps(e)},{root:rs,threshold:1,rootMargin:c});u.observe(e),Gf.set(e,u)}function ps(e){clearTimeout(Fc.get(e));const t=Tl(e),n=typeof t=="function"?500:t.duration;Fc.set(e,setTimeout(async()=>{const r=ns.get(e);try{await(r==null?void 0:r.finished),Pt.set(e,_i(e)),t5(e)}catch{}},n))}function n5(){clearTimeout(Fc.get(rs)),Fc.set(rs,setTimeout(()=>{iT.forEach(e=>lT(e,t=>oT(()=>ps(t))))},100))}function r5(e){setTimeout(()=>{Q3.set(e,setInterval(()=>oT(ps.bind(null,e)),2e3))},Math.round(2e3*Math.random()))}function oT(e){typeof requestIdleCallback=="function"?requestIdleCallback(()=>e()):requestAnimationFrame(()=>e())}let Kf,$s;typeof window<"u"&&(rs=document.documentElement,Kf=new MutationObserver(Z3),$s=new ResizeObserver(e5),$s.observe(rs));function s5(e){return e.reduce((r,s)=>[...r,...Array.from(s.addedNodes),...Array.from(s.removedNodes)],[]).every(r=>r.nodeName==="#comment")?!1:e.reduce((r,s)=>{if(r===!1)return!1;if(s.target instanceof Element){if(yu(s.target),!r.has(s.target)){r.add(s.target);for(let i=0;i<s.target.children.length;i++){const o=s.target.children.item(i);if(o){if(Yf in o)return!1;yu(s.target,o),r.add(o)}}}if(s.removedNodes.length)for(let i=0;i<s.removedNodes.length;i++){const o=s.removedNodes[i];if(Yf in o)return!1;o instanceof Element&&(r.add(o),yu(s.target,o),Qs.set(o,[s.previousSibling,s.nextSibling]))}}return r},new Set)}function yu(e,t){!t&&!(jn in e)?Object.defineProperty(e,jn,{value:e}):t&&!(jn in t)&&Object.defineProperty(t,jn,{value:e})}function i5(e){var t;const n=e.isConnected,r=Pt.has(e);n&&Qs.has(e)&&Qs.delete(e),ns.has(e)&&((t=ns.get(e))===null||t===void 0||t.cancel()),r&&n?a5(e):r&&!n?l5(e):c5(e)}function mn(e){return Number(e.replace(/[^0-9.\-]/g,""))}function o5(e){let t=e.parentElement;for(;t;){if(t.scrollLeft||t.scrollTop)return{x:t.scrollLeft,y:t.scrollTop};t=t.parentElement}return{x:0,y:0}}function _i(e){const t=e.getBoundingClientRect(),{x:n,y:r}=o5(e);return{top:t.top+r,left:t.left+n,width:t.width,height:t.height}}function aT(e,t,n){let r=t.width,s=t.height,i=n.width,o=n.height;const a=getComputedStyle(e);if(a.getPropertyValue("box-sizing")==="content-box"){const u=mn(a.paddingTop)+mn(a.paddingBottom)+mn(a.borderTopWidth)+mn(a.borderBottomWidth),l=mn(a.paddingLeft)+mn(a.paddingRight)+mn(a.borderRightWidth)+mn(a.borderLeftWidth);r-=l,i-=l,s-=u,o-=u}return[r,i,s,o].map(Math.round)}function Tl(e){return jn in e&&yi.has(e[jn])?yi.get(e[jn]):{duration:250,easing:"ease-in-out"}}function cT(e){if(jn in e)return e[jn]}function Jp(e){const t=cT(e);return t?Qi.has(t):!1}function lT(e,...t){t.forEach(n=>n(e,yi.has(e)));for(let n=0;n<e.children.length;n++){const r=e.children.item(n);r&&t.forEach(s=>s(r,yi.has(r)))}}function a5(e){const t=Pt.get(e),n=_i(e);if(!Jp(e))return Pt.set(e,n);let r;if(!t)return;const s=Tl(e);if(typeof s!="function"){const i=t.left-n.left,o=t.top-n.top,[a,c,u,l]=aT(e,t,n),f={transform:`translate(${i}px, ${o}px)`},d={transform:"translate(0, 0)"};a!==c&&(f.width=`${a}px`,d.width=`${c}px`),u!==l&&(f.height=`${u}px`,d.height=`${l}px`),r=e.animate([f,d],{duration:s.duration,easing:s.easing})}else r=new Animation(s(e,"remain",t,n)),r.play();ns.set(e,r),Pt.set(e,n),r.addEventListener("finish",ps.bind(null,e))}function c5(e){const t=_i(e);Pt.set(e,t);const n=Tl(e);
441if(!Jp(e))return;let r;typeof n!="function"?r=e.animate([{transform:"scale(.98)",opacity:0},{transform:"scale(0.98)",opacity:0,offset:.5},{transform:"scale(1)",opacity:1}],{duration:n.duration*1.5,easing:"ease-in"}):(r=new Animation(n(e,"add",t)),r.play()),ns.set(e,r),r.addEventListener("finish",ps.bind(null,e))}function l5(e){var t;if(!Qs.has(e)||!Pt.has(e))return;const[n,r]=Qs.get(e);Object.defineProperty(e,Yf,{value:!0}),r&&r.parentNode&&r.parentNode instanceof Element?r.parentNode.insertBefore(e,r):n&&n.parentNode?n.parentNode.appendChild(e):(t=cT(e))===null||t===void 0||t.appendChild(e);function s(){var d;e.remove(),Pt.delete(e),Qs.delete(e),ns.delete(e),(d=Gf.get(e))===null||d===void 0||d.disconnect()}if(!Jp(e))return s();const[i,o,a,c]=u5(e),u=Tl(e),l=Pt.get(e);let f;Object.assign(e.style,{position:"absolute",top:`${i}px`,left:`${o}px`,width:`${a}px`,height:`${c}px`,margin:0,pointerEvents:"none",transformOrigin:"center",zIndex:100}),typeof u!="function"?f=e.animate([{transform:"scale(1)",opacity:1},{transform:"scale(.98)",opacity:0}
441],{duration:u.duration,easing:"ease-out"}):(f=new Animation(u(e,"remove",l)),f.play()),ns.set(e,f),f.addEventListener("finish",s)}function u5(e){const t=Pt.get(e),[n,,r]=aT(e,t,_i(e));let s=e.parentElement;for(;s&&(getComputedStyle(s).position==="static"||s instanceof HTMLBodyElement);)s=s.parentElement;s||(s=document.body);const i=getComputedStyle(s),o=Pt.get(s)||_i(s),a=Math.round(t.top-o.top)-mn(i.borderTopWidth),c=Math.round(t.left-o.left)-mn(i.borderLeftWidth);return[a,c,n,r]}function f5(e,t={}){return Kf&&$s&&(window.matchMedia("(prefers-reduced-motion: reduce)").matches&&typeof t!="function"&&!t.disrespectUserMotionPreference||(Qi.add(e),getComputedStyle(e).position==="static"&&Object.assign(e.style,{position:"relative"}),lT(e,ps,r5,s=>$s==null?void 0:$s.observe(s)),typeof t=="function"?yi.set(e,t):yi.set(e,{duration:250,easing:"ease-in-out",...t}),Kf.observe(e,{childList:!0}),iT.add(e))),Object.freeze({parent:e,enable:()=>{Qi.add(e)},disable:()=>{Qi.delete(e)},isEnabled:()=>Qi.has(e)})}const d5={mounted:(e,t)=>{f5(e,t.value||{})}},p5={install(e){e.directive("auto-animate",d5)}},h5=wt(e=>{e.vueApp.use(p5)});(function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.vue3-marquee{display:flex!important;position:relative}.vue3-marquee.horizontal{overflow-x:hidden!important;flex-direction:row!important;width:100%;height:max-content}.vue3-marquee.vertical{overflow-y:hidden!important;flex-direction:column!important;height:100%;width:max-content}.vue3-marquee:hover>.marquee{animation-play-state:var(--pauseOnHover)}.vue3-marquee:active>.marquee{animation-play-state:var(--pauseOnClick)}.vue3-marquee>.marquee{flex:0 0 auto;min-width:var(--min-width);min-height:var(--min-height);z-index:1;animation:var(--orientation) var(--duration) linear var(--delay) var(--loops);animation-play-state:var(--pauseAnimation);animation-direction:var(--direction)}.vue3-marquee.horizontal>.marquee{display:flex;flex-direction:row;align-items:center}.vue3-marquee.vertical>.marquee{display:flex;flex-direction:column;align-items:center}@keyframes scrollX{0%{transform:translate(0)}to{transform:translate(-100%)}}@keyframes scrollY{0%{transform:translateY(0)}to{transform:translateY(-100%)}}.vue3-marquee>.overlay{position:absolute;width:100%;height:100%}.vue3-marquee>.transparent-overlay{position:absolute;width:100%;height:100%}.vue3-marquee>.overlay:before,.vue3-marquee>.overlay:after{content:"";position:absolute;z-index:2}.vue3-marquee.horizontal>.overlay:before,.vue3-marquee.horizontal>.overlay:after{background:linear-gradient(to right,var(--gradient-color));height:100%;width:var(--gradient-length)}.vue3-marquee.vertical>.overlay:before,.vue3-marquee.vertical>.overlay:after{background:linear-gradient(to bottom,var(--gradient-color));height:var(--gradient-length);width:100%}.vue3-marquee.horizontal>.overlay:after{transform:rotate(180deg)}.vue3-marquee.vertical>.overlay:after{transform:rotate(-180deg)}.vue3-marquee>.overlay:before{left:0;top:0}.vue3-marquee.horizontal>.overlay:after{right:0;top:0}.vue3-marquee.vertical>.overlay:after{left:0;bottom:0}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();var m5=Object.defineProperty,Oy=Object.getOwnPropertySymbols,g5=Object.prototype.hasOwnProperty,y5=Object.prototype.propertyIsEnumerable,My=(e,t,n)=>t in e?m5(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ny=(e,t)=>{for(var n in t||(t={}))g5.call(t,n)&&My(e,n,t[n]);if(Oy)for(var n of Oy(t))y5.call(t,n)&&My(e,n,t[n]);return e},_5=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};const v5=kn({props:{vertical:{type:Boolean,default:!1},direction:{type:String,default:"normal"},duration:{type:Number,default:20},delay:{type:Number,default:0},loop:{type:Number,default:0},clone:{type:Boolean,default:!1},gradient:{type:Boolean,default:!1},gradientColor:{type:Array,default:[255,255,255]},gradientWidth:{type:String},gradientLength:{type:String},pauseOnHover:{type:Boolean,default:!1},pauseOnClick:{type:Boolean,default:!1},pause:{type:Boolean,default:!1}
441,animateOnOverflowOnly:{type:Boolean,default:!1}},emits:["onComplete","onLoopComplete","onPause","onResume","onOverflowDetected","onOverflowCleared"],setup(e,{emit:t}){const n=me(0),r=me("100%"),s=me("100%"),i=me(0),o=me(!1),a=me(!0),c=me(0),u=me(0),l=me(0),f=me(0),d=me(!1),p=me(!1),h=me(0),m=me(null),v=me("200px"),y=me(!1),_=me(null),g=me(null),b=async()=>{await S(),i.value++},S=async()=>{e.vertical&&(o.value=!0),setInterval(()=>{if(r.value="0%",s.value="0%",_.value!==null&&g.value!==null&&_.value&&g.value)if(e.vertical&&"clientHeight"in _.value&&"clientHeight"in g.value){f.value=_.value.clientHeight,l.value=g.value.clientHeight;const $=Math.ceil(l.value/f.value);return n.value=e.animateOnOverflowOnly?0:isFinite($)?$:0,o.value=!1,n.value}else if(!e.vertical&&"clientWidth"in _.value&&"clientWidth"in g.value){if(u.value=_.value.clientWidth,c.value=g.value.clientWidth,e.animateOnOverflowOnly&&y.value)return u.value<=c.value?(a.value=!0,t("onOverflowCleared")):(a.value=!1,t("onOverflowDetected")),0;const $=Math.ceil(c.value/u.value);return n.value=isFinite($)?$:0,n.value}else return r.value="100%",s.value="100%",0;else return r.value="100%",s.value="100%",0},100)};Ht(u,async()=>{e.clone&&b()}),Ht(c,async()=>{(e.clone||e.animateOnOverflowOnly)&&b()}),Ht(()=>e.pause,($,Y)=>{$!==Y&&t($?"onResume":"onPause")});const T=()=>{e.pauseOnHover&&(t("onPause"),d.value=!0)},C=()=>{e.pauseOnHover&&(t("onResume"),d.value=!1)},M=()=>{e.pauseOnClick&&(t("onPause"),p.value=!0)},x=()=>{e.pauseOnClick&&(t("onResume"),p.value=!1)},k=et(()=>e.pause||e.vertical&&o.value||e.animateOnOverflowOnly&&a.value?"paused":"running"),B=et(()=>e.pauseOnHover&&(d.value||p.value)||!e.pauseOnHover&&k.value==="paused"?"paused":"running"),A=et(()=>e.pauseOnHover&&d.value||e.pauseOnClick&&p.value||!e.pauseOnHover&&k.value==="paused"?"paused":"running"),U=et(()=>{const $={"--duration":`${e.duration}s`,"--delay":`${e.delay}s`,"--direction":`${e.direction}`,"--pauseOnHover":`${B.value}`,"--pauseOnClick":`${A.value}`,"--pauseAnimation":`${k.value}`,"--loops":`${e.loop===0?"infinite":e.loop}`,"--gradient-color":`rgba(${e.gradientColor[0]}, ${e.gradientColor[1]}, ${e.gradientColor[2]}, 1), rgba(${e.gradientColor[0]}, ${e.gradientColor[1]}, ${e.gradientColor[2]}, 0)`,"--gradient-length":`${v.value}`,"--min-width":`${r.value}`,"--min-height":`${s.value}`},Y={"--orientation":"scrollX",orientation:"horizontal"};return e.vertical&&(Y["--orientation"]="scrollY"),Ny(Ny({},$),Y)}),X=et(()=>!!e.gradient),re=async()=>{e.vertical?(s.value="100%",r.value="auto",e.animateOnOverflowOnly&&console.warn("The `animateOnOverflowOnly` prop is not supported for vertical marquees.")):(s.value="auto",e.animateOnOverflowOnly?r.value="auto":r.value="100%"),e.gradient&&(e.gradientWidth?(console.warn("The `gradientWidth` prop has been deprecated and will be removed in a future release. Please use `gradientLength` instead."),v.value=e.gradientWidth):e.gradientLength&&(v.value=e.gradientLength)),(e.clone||e.animateOnOverflowOnly)&&(await S(),b()),y.value=!0};return Si(async()=>{re(),m.value=setInterval(()=>{h.value++,e.loop!==0&&h.value===e.loop&&(t("onComplete"),clearInterval(m.value)),t("onLoopComplete")},e.duration*1e3)}),wi(()=>{clearInterval(m.value)}),{ready:y,contentWidth:u,containerWidth:c,contentHeight:f,containerHeight:l,loopCounter:h,loopInterval:m,mouseOverMarquee:d,mouseDownMarquee:p,minWidth:r,minHeight:s,animateO
441nOverflowPause:a,marqueeContent:_,marqueeOverlayContainer:g,componentKey:i,showGradient:X,cloneAmount:n,ForcesUpdate:b,checkForClone:S,setupMarquee:re,getCurrentStyle:U,hoverStarted:T,hoverEnded:C,mouseDown:M,mouseUp:x}}}),b5={class:"transparent-overlay",ref:"marqueeOverlayContainer","aria-hidden":!0},E5={class:"marquee",ref:"marqueeContent"},S5={key:1,"aria-hidden":!0,class:"marquee"};function w5(e,t,n,r,s,i){return e.ready?(Ge(),Zt("div",{class:Gr(["vue3-marquee",{vertical:e.vertical,horizontal:!e.vertical}]),style:vi(e.getCurrentStyle),key:e.componentKey,onMouseenter:t[0]||(t[0]=(...o)=>e.hoverStarted&&e.hoverStarted(...o)),onMouseleave:t[1]||(t[1]=(...o)=>e.hoverEnded&&e.hoverEnded(...o)),onMousedown:t[2]||(t[2]=(...o)=>e.mouseDown&&e.mouseDown(...o)),onMouseup:t[3]||(t[3]=(...o)=>e.mouseUp&&e.mouseUp(...o))},[ri("div",b5,null,512),e.showGradient?(Ge(),Zt("div",{key:0,"aria-hidden":!0,class:Gr(["overlay",{vertical:e.vertical,horizontal:!e.vertical}])},null,2)):Ll("",!0),ri("div",E5,[yr(e.$slots,"default")],512),!e.animateOnOverflowOnly||e.animateOnOverflowOnly&&!e.animateOnOverflowPause?(Ge(),Zt("div",S5,[yr(e.$slots,"default")])):Ll("",!0),(Ge(!0),Zt(ot,null,j1(e.cloneAmount,o=>(Ge(),Zt("div",{"aria-hidden":!0,class:"marquee cloned",key:o},[yr(e.$slots,"default")]))),128))],38)):Ll("",!0)}var T5=_5(v5,[["render",w5]]),I5={install(e,t){var n;const r=(n=t==null?void 0:t.name)!=null?n:"Vue3Marquee";e.component(r,T5)}};const C5=wt(e=>{e.vueApp.use(I5,{name:"Vue3Marquee"})});/*! 442 * Jarallax v2.2.1 (https://github.com/nk-o/jarallax) 443 * Copyright 2024 nK <https://nkdev.info> 444 * Licensed under MIT (https://github.com/nk-o/jarallax/blob/master/LICENSE) 445 */var k5={type:"scroll",speed:.5,containerClass:"jarallax-container",imgSrc:null,imgElement:".jarallax-img",imgSize:"cover",imgPosition:"50% 50%",imgRepeat:"no-repeat",keepImg:!1,elementInViewport:null,zIndex:-100,disableParallax:!1,onScroll:null,onInit:null,onDestroy:null,onCoverImage:null,videoClass:"jarallax-video",videoSrc:null,videoStartTime:0,videoEndTime:0,videoVolume:0,videoLoop:!0,videoPlayOnlyVisible:!0,videoLazyLoading:!0,disableVideo:!1,onVideoInsert:null,onVideoWorkerInit:null};let uT;uT=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};var Lt=uT;const{navigator:x5}=Lt,R5=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(x5.userAgent);let fT,Jf,Ss;function qi(){fT=Lt.innerWidth||document.documentElement.clientWidth,R5?(!Ss&&document.body&&(Ss=document.createElement("div"),Ss.style.cssText="position: fixed; top: -9999px; left: 0; height: 100vh; width: 0;",document.body.appendChild(Ss)),Jf=(Ss?Ss.clientHeight:0)||Lt.innerHeight||document.documentElement.clientHeight):Jf=Lt.
445innerHeight||document.documentElement.clientHeight}var _u;function Ka(){return{width:fT,height:Jf}}qi(),Lt.addEventListener("resize",qi),Lt.addEventListener("orientationchange",qi),Lt.addEventListener("load",qi),_u=()=>{qi()},document.readyState==="complete"||document.readyState==="interactive"?_u():document.addEventListener("DOMContentLoaded",_u,{capture:!0,once:!0,passive:!0});const Hr=[];function dT(){if(!Hr.length)return;const{width:e,height:t}=Ka();Hr.forEach((n,r)=>{const{instance:s,oldData:i}=n;if(!s.isVisible())return;const o=s.$item.getBoundingClientRect(),a={width:o.width,height:o.height,top:o.top,bottom:o.bottom,wndW:e,wndH:t},c=!i||i.wndW!==a.wndW||i.wndH!==a.wndH||i.width!==a.width||i.height!==a.height,u=c||!i||i.top!==a.top||i.bottom!==a.bottom;Hr[r].oldData=a,c&&s.onResize(),u&&s.onScroll()}),Lt.requestAnimationFrame(dT)}const Py=new Lt.IntersectionObserver(e=>{e.forEach(t=>{t.target.jarallax.isElementInViewport=t.isIntersecting})},{rootMargin:"50px"}),{navigator:Ly}=Lt;let Dy=0;class pT{constructor(t,n){const r=this;r.instanceID=Dy,Dy+=1,r.$item=t,r.defaults={...k5};const s=r.$item.dataset||{},i={};if(Object.keys(s).forEach(a=>{const c=a.substr(0,1).toLowerCase()+a.substr(1);c&&r.defaults[c]!==void 0&&(i[c]=s[a])}),r.options=r.extend({},r.defaults,i,n),r.pureOptions=r.extend({},r.options),Object.keys(r.options).forEach(a=>{r.options[a]==="true"?r.options[a]=!0:r.options[a]==="false"&&(r.options[a]=!1)}),r.options.speed=Math.min(2,Math.max(-1,parseFloat(r.options.speed))),typeof r.options.disableParallax=="string"&&(r.options.disableParallax=new RegExp(r.options.disableParallax)),r.options.disableParallax instanceof RegExp){const a=r.options.disableParallax;r.options.disableParallax=()=>a.test(Ly.userAgent)}if(typeof r.options.disableParallax!="function"){const a=r.options.disableParallax;r.options.disableParallax=()=>a===!0}if(typeof r.options.disableVideo=="string"&&(r.options.disableVideo=new RegExp(r.options.disableVideo)),r.options.disableVideo instanceof RegExp){const a=r.options.disableVideo;r.options.disableVideo=()=>a.test(Ly.userAgent)}if(typeof r.options.disableVideo!="function"){const a=r.options.disableVideo;r.options.disableVideo=()=>a===!0}let o=r.options.elementInViewport;o&&typeof o=="object"&&o.length!==void 0&&([o]=o),o instanceof Element||(o=null),r.options.elementInViewport=o,r.image={src:r.options.imgSrc||null,$container:null,useImgTag:!1,position:"fixed"},r.initImg()&&r.canInitParallax()&&r.init()}css(t,n){return function(r,s){return typeof s=="string"?Lt.getComputedStyle(r).getPropertyValue(s):(Object.keys(s).forEach(i=>{r.style[i]=s[i]}),r)}(t,n)}extend(t,...n){return function(r,...s){return r=r||{},Object.keys(s).forEach(i=>{s[i]&&Object.keys(s[i]).forEach(o=>{r[o]=s[i][o]})}),r}(t,...n)}getWindowData(){const{width:t,height:n}=Ka();return{width:t,height:n,y:document.documentElement.scrollTop}}initImg(){const t=this;let n=t.options.imgElement;return n&&typeof n=="string"&&(n=t.$item.querySelector(n)),n instanceof Element||(t.options.imgSrc?(n=new Image,n.src=t.options.imgSrc):n=null),n&&(t.options.keepImg?t.image.$item=n.cloneNode(!0):(t.image.$item=n,t.image.$itemParent=n.parentNode),t.image.useImgTag=!0),!!t.image.$item||(t.image.src===null&&(t.image.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",t.image.bgImage=t.css(t.$item,"background-image")),!(!t.image.bgImage||t.image.bgImage==="none"))}canInitParallax(){return!this.options.disableParallax()}init(){const t=this,n={position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"hidden"};let r={pointerEvents:"none",transformStyle:"preserve-3d",backfaceVisibility:"hidden"};if(!t.options.keepImg){const i=t.$item.getAttribute("style");if(i&&t.$item.setAttribute("data-jarallax-original-styles",i),t.image.useImgTag){const o=t.image.$item.getAttribute("style");o&&t.image.$item.setAttribute("data-jarallax-original-styles",o)}}if(t.css(t.$item,"position")==="static"&&t.css(t.$item,{position:"relative"}),t.css(t.$item,"z-index")==="auto"&&t.css(t.$item,{zIndex:0}),t.image.$container=document.createElement("div"),t.css(t.image.$container,n),t.css(t.image.$container,{"z-index":t.options.zIndex}),this.image.position==="fixed"&&t.css(t.image.$container,{"-webkit-clip-path":"polygon(0 0, 100% 0, 100% 100%, 0 100%)","clip-path":"polygon(0 0, 100% 0, 100% 100%, 0 100%)"}),t.image.$container.setAttribute("id",`jarallax-container-${t.instanceID}`),t.options.containerClass&&t.image.$container.setAttribute("class",t.options.containerClass),t.$item.appendChild(t.image.$container),t.image.useImgTag?r=t.extend({"object-fit":t.options.imgSize,"object-position":t.options.imgPosition,"max-width":"none"},n,r):(t.image.$item=document.createElement("div"),t.image.src&&(r=t.extend({"background-position":t.options.imgPosition,"background-size":t.options.imgSize,"background-repeat":t.options.imgRepeat,"background-image":t.image.bgImage||`url("${t.image.src}")`},n,r))),t.options.type!=="opacity"&&t.options.type!=="scale"&&t.options.type!=="scale-opacity"&&t.options.speed!==1||(t.image.position="absolute"),t.image.position==="fixed"){const i=function(o){const a=[];for(;o.parentElement!==null;)(o=o.parentElement).nodeType===1&&a.push(o);return a}(t.$item).filter(o=>{const a=Lt.getComputedStyle(o),c=a["-webkit-transform"]||a["-moz-transform"]||a.transform;return c&&c!=="none"||/(auto|scroll)/.test(a.overflow+a["overflow-y"]+a["overflow-x"])});t.image.position=i.length?"absolute":"fixed"}var s;r.position=t.image.position,t.css(t.image.$item,r),t.image.$container.appendChild(t.image.$item),t.onResize(),t.onScroll(!0),t.options.onInit&&t.options.onInit.call(t),t.css(t.$item,"background-image")!=="none"&&t.css(t.$item,{"background-image":"none"}),s=t,Hr.push({instance:s}),Hr.length===1&&Lt.requestAnimationFrame(dT),Py.observe(s.options.elementInViewport||s.$item)}destroy(){const t=this;var n;n=t,Hr.forEach((s,i)=>{s.instance.instanceID===n.instanceID&&Hr.splice(i,1)}),Py.unobserve(n.options.elementInViewport||n.$item);const r=t.$item.getAttribute("data-jarallax-original-styles");if(t.$item.removeAttribute("data-jarallax-original-styles"),r?t.$item.setAttribute("style",r):t.$item.removeAttribute("style"),t.image.useImgTag){const s=t.image.$item.getAttribute("data-jarallax-original-styles");t.image.$item.removeAttribute("data-jarallax-original-styles"),s?t.image.$item.setAttribute("style",r):t.image.$item.removeAttribute("style"),t.image.$itemParent&&t.image.$itemParent.appendChild(t.image.$item)}t.image.$container&&t.image.$container.parentNode.removeChild(t.image.$container),t.options.onDestroy&&t.options.onDestroy.call(t),delete t.$item.jarallax}coverImage(){const t=this,{height:n}=Ka(),r=t.image.$container.getBoundingClientRect(),s=r.height,{speed:i}=t.options,o=t.options.type==="scroll"||t.options.type==="scroll-opacity";let a=0,c=s,u=0;return o&&(i<0?(a=i*Math.max(s,n),n<s&&(a-=i*(s-n))):a=i*(s+n),i>1?c=Math.abs(a-n):i<0?c=a/i+Math.abs(a):c+=(n-s)*(1-i),a/=2),t.parallaxScrollDistance=a,u=o?(n-c)/2:(s-c)/2,t.css(t.image.$item,{height:`${c}px`,marginTop:`${u}px`,left:t.image.position==="fixed"?`${r.left}px`:"0",width:`${r.width}px`}),t.options.onCoverImage&&t.options.onCoverImage.call(t),{image:{height:c,marginTop:u},container:r}}isVisible(){return this.isElementInViewport||!1}onScroll(t){const n=this;if(!t&&!n.isVisible())return;const{height:r}=Ka(),s=n.$item.getBoundingClientRect(),i=s.top,o=s.height,a={},c=Math.max(0,i),u=Math.max(0,o+i),l=Math.max(0,-i),f=Math.max(0,i+o-r),d=Math.max(0,o-(i+o-r)),p=Math.max(0,-i+r-o),h=1-(r-i)/(r+o)*2;let m=1;if(o<r?m=1-(l||f)/o:u<=r?m=u/r:d<=r&&(m=d/r),n.options.type!=="opacity"&&n.options.type!=="scale-opacity"&&n.options.type!=="scroll-opacity"||(a.transform="translate3d(0,
4450,0)",a.opacity=m),n.options.type==="scale"||n.options.type==="scale-opacity"){let v=1;n.options.speed<0?v-=n.options.speed*m:v+=n.options.speed*(1-m),a.transform=`scale(${v}) translate3d(0,0,0)`}if(n.options.type==="scroll"||n.options.type==="scroll-opacity"){let v=n.parallaxScrollDistance*h;n.image.position==="absolute"&&(v-=i),a.transform=`translate3d(0,${v}px,0)`}n.css(n.image.$item,a),n.options.onScroll&&n.options.onScroll.call(n,{section:s,beforeTop:c,beforeTopEnd:u,afterTop:l,beforeBottom:f,beforeBottomEnd:d,afterBottom:p,visiblePercent:m,fromViewportCenter:h})}onResize(){this.coverImage()}}const hT=function(e,t,...n){(typeof HTMLElement=="object"?e instanceof HTMLElement:e&&typeof e=="object"&&e!==null&&e.nodeType===1&&typeof e.nodeName=="string")&&(e=[e]);const r=e.length;let s,i=0;for(;i<r;i+=1)if(typeof t=="object"||t===void 0?e[i].jarallax||(e[i].jarallax=new pT(e[i],t)):e[i].jarallax&&(s=e[i].jarallax[t].apply(e[i].jarallax,n)),s!==void 0)return s;return e};hT.constructor=pT;/*! 446 * Video Worker v2.2.0 (https://github.com/nk-o/video-worker) 447 * Copyright 2024 nK <https://nkdev.info> 448 * Licensed under MIT (https://github.com/nk-o/video-worker/blob/master/LICENSE) 449 */var A5={autoplay:!1,loop:!1,mute:!1,volume:100,showControls:!0,accessibilityHidden:!1,startTime:0,endTime:0};let mT,$y=0;class Zi{constructor(t,n){He(this,"type","none");const r=this;r.url=t,r.options_default={...A5},r.options=function(s,...i){return s=s||{}
449,Object.keys(i).forEach(o=>{i[o]&&Object.keys(i[o]).forEach(a=>{s[a]=i[o][a]})}),s}({},r.options_default,n),r.videoID=r.constructor.parseURL(t),r.videoID&&r.init()}isValid(){return!!this.videoID}init(){const t=this;t.ID=$y,$y+=1,t.playerID=`VideoWorker-${t.ID}`}on(t,n){this.userEventsList=this.userEventsList||[],(this.userEventsList[t]||(this.userEventsList[t]=[])).push(n)}off(t,n){this.userEventsList&&this.userEventsList[t]&&(n?this.userEventsList[t].forEach((r,s)=>{r===n&&(this.userEventsList[t][s]=!1)}):delete this.userEventsList[t])}fire(t,...n){this.userEventsList&&this.userEventsList[t]!==void 0&&this.userEventsList[t].forEach(r=>{r&&r.apply(this,n)})}static parseURL(t){return!1}play(t){}pause(){}mute(){}unmute(){}setVolume(t=!1){}getVolume(t){}getMuted(t){}setCurrentTime(t=!1){}getCurrentTime(t){}getImageURL(t){}getVideo(t){}}mT=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};var Ue=mT;function Xp(){this.doneCallbacks=[],this.failCallbacks=[]}Xp.prototype={execute(e,t){let n=e.length;for(t=Array.prototype.slice.call(t);n;)n-=1,e[n].apply(null,t)},resolve(...e){this.execute(this.doneCallbacks,e)},reject(...e){this.execute(this.failCallbacks,e)},done(e){this.doneCallbacks.push(e)},fail(e){this.failCallbacks.push(e)}};let Fy=0,By=0;const jy=new Xp;let Hy=0,Uy=0;const qy=new Xp;function Zs(e,t){let n=!1;return Object.keys(Zs.providers).forEach(r=>{!n&&Zs.providers[r].parseURL(e)&&(n=new Zs.providers[r](e,t))}),n||new Zi(e,t)}Zs.BaseClass=Zi,Zs.providers={Youtube:class extends Zi{constructor(){super(...arguments);He(this,"type","youtube")}static parseURL(t){const n=t.match(/.*(?:youtu.be\/|v\/|u\/\w\/|embed\/|shorts\/|watch\?v=)([^#\&\?]*).*/);return!(!n||n[1].length!==11)&&n[1]}init(){super.init(),function(){if(Fy)return;Fy=!0;let t=document.createElement("script"),n=document.getElementsByTagName("head")[0];t.src="https://www.youtube.com/iframe_api",n.appendChild(t),n=null,t=null}()}play(t){const n=this;n.player&&n.player.playVideo&&(t!==void 0&&n.player.seekTo(t||0),Ue.YT.PlayerState.PLAYING!==n.player.getPlayerState()&&(n.options.endTime&&!n.options.loop?n.getCurrentTime(r=>{r<n.options.endTime&&n.player.playVideo()}):n.player.playVideo()))}pause(){const t=this;t.player&&t.player.pauseVideo&&Ue.YT.PlayerState.PLAYING===t.player.getPlayerState()&&t.player.pauseVideo()}mute(){const t=this;t.player&&t.player.mute&&t.player.mute()}unmute(){const t=this;t.player&&t.player.unMute&&t.player.unMute()}setVolume(t=!1){const n=this;n.player&&typeof t=="number"&&n.player.setVolume&&n.player.setVolume(t)}getVolume(t){const n=this;n.player?n.player.getVolume&&t(n.player.getVolume()):t(!1)}getMuted(t){const n=this;n.player?n.player.isMuted&&t(n.player.isMuted()):t(null)}setCurrentTime(t=!1){const n=this;n.player&&typeof t=="number"&&n.player.seekTo&&n.player.seekTo(t)}getCurrentTime(t){const n=this;n.player&&n.player.getCurrentTime&&t(n.player.getCurrentTime())}getImageURL(t){const n=this;if(n.videoImage)return void t(n.videoImage);const r=["maxresdefault","sddefault","hqdefault","0"];let s=0;const i=new Image;i.onload=function(){(this.naturalWidth||this.width)!==120||s===r.length-1?(n.videoImage=`https://img.youtube.com/vi/${n.videoID}/${r[s]}.jpg`,t(n.videoImage)):(s+=1,this.src=`https://img.youtube.com/vi/${n.videoID}/${r[s]}.jpg`)},i.src=`https://img.youtube.com/vi/${n.videoID}/${r[s]}.jpg`}getVideo(t){const n=this;n.$video?t(n.$video):function(r){Ue.YT!==void 0&&Ue.YT.loaded!==0||By?typeof Ue.YT=="object"&&Ue.YT.loaded===1?r():jy.done(()=>{r()}):(By=1,Ue.onYouTubeIframeAPIReady=function(){Ue.onYouTubeIframeAPIReady=null,jy.resolve("done"),r()})}(()=>{let r,s,i;n.$video||(r=document.createElement("div"),r.style.display="none"),n.playerOptions={host:"https://www.youtube-nocookie.com",videoId:n.videoID,playerVars:{autohide:1,rel:0,autoplay:0,playsinline:1}},n.options.showControls||(n.playerOptions.playerVars.iv_load_policy=3,n.playerOptions.playerVars.modestbranding=1,n.playerOptions.playerVars.controls=0,n.playerOptions.playerVars.showinfo=0,n.playerOptions.playerVars.disablekb=1),n.playerOptions.events={onReady(a){n.options.mute?a.target.mute():typeof n.options.volume=="number"&&a.target.setVolume(n.options.volume),n.options.autoplay&&n.play(n.options.startTime),n.fire("ready",a),n.options.loop&&!n.options.endTime&&(n.options.endTime=n.player.getDuration()-.1),setInterval(()=>{n.getVolume(c=>{n.options.volume!==c&&(n.options.volume=c,n.fire("volumechange",a))})},150)},onStateChange(a){n.options.loop&&a.data===Ue.YT.PlayerState.ENDED&&n.play(n.options.startTime),s||a.data!==Ue.YT.PlayerState.PLAYING||(s=1,n.fire("started",a)),a.data===Ue.YT.PlayerState.PLAYING&&n.fire("play",a),a.data===Ue.YT.PlayerState.PAUSED&&n.fire("pause",a),a.data===Ue.YT.PlayerState.ENDED&&n.fire("ended",a),a.data===Ue.YT.PlayerState.PLAYING?i=setInterval(()=>{n.fire("timeupdate",a),n.options.endTime&&n.player.getCurrentTime()>=n.options.endTime&&(n.options.loop?n.play(n.options.startTime):n.pause())},150):clearInterval(i)},onError(a){n.fire("error",a)}};const o=!n.$video;
449if(o){const a=document.createElement("div");a.setAttribute("id",n.playerID),r.appendChild(a),document.body.appendChild(r)}n.player=n.player||new Ue.YT.Player(n.playerID,n.playerOptions),o&&(n.$video=document.getElementById(n.playerID),n.options.accessibilityHidden&&(n.$video.setAttribute("tabindex","-1"),n.$video.setAttribute("aria-hidden","true")),n.videoWidth=parseInt(n.$video.getAttribute("width"),10)||1280,n.videoHeight=parseInt(n.$video.getAttribute("height"),10)||720),t(n.$video)})}},Vimeo:class extends Zi{constructor(){super(...arguments);He(this,"type","vimeo")}static parseURL(t){const n=t.match(/https?:\/\/(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/([^/]*)\/videos\/|album\/(\d+)\/video\/|video\/|)(\d+)(?:$|\/|\?)/);return!(!n||!n[3])&&n[3]}static parseURLHash(t){const n=t.match(/^.*(vimeo.com\/|video\/)(\d+)(\?.*&*h=|\/)+([\d,a-f]+)/);return n&&n.length===5?n[4]:null}init(){super.init(),function(){if(Hy||(Hy=!0,Ue.Vimeo!==void 0))return;let t=document.createElement("script"),n=document.getElementsByTagName("head")[0];t.src="https://player.vimeo.com/api/player.js",n.appendChild(t),n=null,t=null}()}play(t){const n=this;n.player&&(t!==void 0&&n.player.setCurrentTime(t),n.player.getPaused().then(r=>{r&&(n.options.endTime&&!n.options.loop?n.getCurrentTime(s=>{s<n.options.endTime&&n.player.play()}):n.player.play())}))}pause(){const t=this;t.player&&t.player.getPaused().then(n=>{n||t.player.pause()})}mute(){const t=this;t.player&&t.player.setVolume&&t.setVolume(0)}unmute(){const t=this;t.player&&t.player.setVolume&&t.setVolume(t.options.volume||100)}setVolume(t=!1){const n=this;n.player&&typeof t=="number"&&n.player.setVolume&&n.player.setVolume(t/100)}getVolume(t){const n=this;n.player?n.player.getVolume&&n.player.getVolume().then(r=>{t(100*r)}):t(!1)}getMuted(t){const n=this;n.player?n.player.getVolume&&n.player.getVolume().then(r=>{t(!!r)}):t(null)}setCurrentTime(t=!1){const n=this;n.player&&typeof t=="number"&&n.player.setCurrentTime&&n.player.setCurrentTime(t)}getCurrentTime(t){const n=this;n.player&&n.player.getCurrentTime&&n.player.getCurrentTime().then(r=>{t(r)})}getImageURL(t){const n=this;if(n.videoImage)return void t(n.videoImage);let r=Ue.innerWidth||1920;Ue.devicePixelRatio&&(r*=Ue.devicePixelRatio),r=Math.min(r,1920);let s=new XMLHttpRequest;s.open("GET",`https://vimeo.com/api/oembed.json?url=${n.url}&width=${r}`,!0),s.onreadystatechange=function(){if(this.readyState===4&&this.status>=200&&this.status<400){const i=JSON.parse(this.responseText);i.thumbnail_url&&(n.videoImage=i.thumbnail_url,t(n.videoImage))}},s.send(),s=null}getVideo(t){const n=this;n.$video?t(n.$video):function(r){if(Ue.Vimeo!==void 0||Uy)Ue.Vimeo!==void 0?r():qy.done(()=>{r()});else{Uy=1;const s=setInterval(()=>{Ue.Vimeo!==void 0&&(clearInterval(s),qy.resolve("done"),r())},20)}}(()=>{let r;n.$video||(r=document.createElement("div"),r.style.display="none"),n.playerOptions={dnt:1,id:n.videoID,autopause:0,transparent:0,autoplay:n.options.autoplay?1:0,loop:n.options.loop?1:0,muted:n.options.mute||n.options.volume===0?1:0};const s=n.constructor.parseURLHash(n.url);if(s&&(n.playerOptions.h=s),n.options.showControls||(n.playerOptions.controls=0),!n.options.showControls&&n.options.loop&&n.options.autoplay&&(n.playerOptions.background=1),!n.$video){let o="";Object.keys(n.playerOptions).forEach(a=>{o!==""&&(o+="&"),o+=`${a}=${encodeURIComponent(n.playerOptions[a])}`}),n.$video=document.createElement("iframe"),n.$video.setAttribute("id",n.playerID),n.$video.setAttribute("src",`https://player.vimeo.com/video/${n.videoID}?${o}`),n.$video.setAttribute("frameborder","0"),n.$video.setAttribute("mozallowfullscreen",""),n.$video.setAttribute("allowfullscreen",""),n.$video.setAttribute("title","Vimeo video player"),n.options.accessibilityHidden&&(n.$video.setAttribute("tabindex","-1"),n.$video.setAttribute("aria-hidden","true")),r.appendChild(n.$video),document.body.appendChild(r)}let i;n.player=n.player||new Ue.Vimeo.Player(n.$video,n.playerOptions),n.options.mute||typeof n.options.volume!="number"||n.setVolume(n.options.volume),n.options.startTime&&n.options.autoplay&&n.player.setCurrentTime(n.options.startTime),n.player.getVideoWidth().then(o=>{n.videoWidth=o||1280}),n.player.getVideoHeight().then(o=>{n.videoHeight=o||720}),n.player.on("timeupdate",o=>{i||(n.fire("started",o),i=1),n.fire("timeupdate",o),n.options.endTime&&o.seconds>=n.options.endTime&&(n.options.loop?n.play(n.options.startTime):n.pause())}),n.player.on("play",o=>{n.fire("play",o),n.options.startTime&&o.seconds===0&&n.play(n.options.startTime)}),n.player.on("pause",o=>{n.fire("pause",o)}),n.player.on("ended",o=>{n.fire("ended",o)}),n.player.on("loaded",o=>{n.fire("ready",o)}),n.player.on("volumechange",o=>{n.getVolume(a=>{n.options.volume=a}),n.fire("volumechange",o)}),n.player.on("error",o=>{n.fire("error",o)}),t(n.$video)})}},Local:class extends Zi{constructor(){super(...arguments);He(this,"type","local")}static parseURL(t){const n=t.split(/,(?=mp4\:|webm\:|ogv\:|ogg\:)/),r={};let s=0;
449return n.forEach(i=>{const o=i.match(/^(mp4|webm|ogv|ogg)\:(.*)/);o&&o[1]&&o[2]&&(r[o[1]==="ogv"?"ogg":o[1]]=o[2],s=1)}),!!s&&r}play(t){const n=this;n.player&&(t!==void 0&&(n.player.currentTime=t),n.player.paused&&(n.options.endTime&&!n.options.loop?n.getCurrentTime(r=>{r<n.options.endTime&&n.player.play()}):n.player.play()))}pause(){const t=this;t.player&&!t.player.paused&&t.player.pause()}mute(){this.player&&(this.$video.muted=!0)}unmute(){this.player&&(this.$video.muted=!1)}setVolume(t=!1){this.player&&typeof t=="number"&&(this.$video.volume=t/100)}getVolume(t){this.player?t(100*this.$video.volume):t(!1)}getMuted(t){this.player?t(this.$video.muted):t(null)}setCurrentTime(t=!1){this.player&&typeof t=="number"&&(this.$video.currentTime=t)}getCurrentTime(t){this.player&&t(this.player.currentTime)}getImageURL(t){const n=this;n.videoImage&&t(n.videoImage)}getVideo(t){const n=this;if(n.$video)return void t(n.$video);let r,s;n.$video||(r=document.createElement("div"),r.style.display="none"),n.$video||(n.$video=document.createElement("video"),n.player=n.$video,n.options.showControls&&(n.$video.controls=!0),typeof n.options.volume=="number"&&n.setVolume(n.options.volume),n.options.mute&&n.mute(),n.options.loop&&(n.$video.loop=!0),n.$video.setAttribute("playsinline",""),n.$video.setAttribute("webkit-playsinline",""),n.options.accessibilityHidden&&(n.$video.setAttribute("tabindex","-1"),n.$video.setAttribute("aria-hidden","true")),n.$video.setAttribute("id",n.playerID),r.appendChild(n.$video),document.body.appendChild(r),Object.keys(n.videoID).forEach(i=>{(function(o,a,c){const u=document.createElement("source");u.src=a,u.type=c,o.appendChild(u)})(n.$video,n.videoID[i],`video/${i}`)})),n.player.addEventListener("playing",i=>{s||n.fire("started",i),s=1}),n.player.addEventListener("timeupdate",function(i){n.fire("timeupdate",i),n.options.endTime&&this.currentTime>=n.options.endTime&&(n.options.loop?n.play(n.options.startTime):n.pause())}),n.player.addEventListener("play",i=>{n.fire("play",i)}),n.player.addEventListener("pause",i=>{n.fire("pause",i)}),n.player.addEventListener("ended",i=>{n.fire("ended",i)}),n.player.addEventListener("loadedmetadata",function(){n.videoWidth=this.videoWidth||1280,n.videoHeight=this.videoHeight||720,n.fire("ready"),n.options.autoplay&&n.play(n.options.startTime)}),n.player.addEventListener("volumechange",i=>{n.getVolume(o=>{n.options.volume=o}),n.fire("volumechange",i)}),n.player.addEventListener("error",i=>{n.fire("error",i)}),t(n.$video)}}};const gT=hT,O5=function(){return function(e=Lt.jarallax){if(e===void 0)return;const t=e.constructor,n=t.prototype.onScroll;t.prototype.onScroll=function(){const a=this;n.apply(a),!a.isVideoInserted&&a.video&&(!a.options.videoLazyLoading||a.isElementInViewport)&&!a.options.disableVideo()&&(a.isVideoInserted=!0,a.video.getVideo(c=>{const u=c.parentNode;a.css(c,{position:a.image.position,top:"0px",left:"0px",right:"0px",bottom:"0px",width:"100%",height:"100%",maxWidth:"none",maxHeight:"none",pointerEvents:"none",transformStyle:"preserve-3d",backfaceVisibility:"hidden",margin:0,zIndex:-1}),a.$video=c,a.video.type==="local"&&(a.image.src?a.$video.setAttribute("poster",a.image.src):a.image.$item&&a.image.$item.tagName==="IMG"&&a.image.$item.src&&a.$video.setAttribute("poster",a.image.$item.src)),a.options.videoClass&&a.$video.setAttribute("class",`${a.options.videoClass} ${a.options.videoClass}-${a.video.type}`),a.image.$container.appendChild(c),u.parentNode.removeChild(u),a.options.onVideoInsert&&a.options.onVideoInsert.call(a)}))};const r=t.prototype.coverImage;t.prototype.coverImage=function(){const a=this,c=r.apply(a),u=!!a.image.$item&&a.image.$item.nodeName;if(c&&a.video&&u&&(u==="IFRAME"||u==="VIDEO")){let l=c.image.height,f=l*a.image.width/a.image.height,d=(c.container.width-f)/2,p=c.image.marginTop;c.container.width>f&&(f=c.container.width,l=f*a.image.height/a.image.width,d=0,p+=(c.image.height-l)/2),u==="IFRAME"&&(l+=400,p-=200),a.css(a.$video,{width:`${f}px`,marginLeft:`${d}px`,height:`${l}px`,marginTop:`${p}px`})}return c};const s=t.prototype.initImg;t.prototype.initImg=function(){const a=this,c=s.apply(a);return a.options.videoSrc||(a.options.videoSrc=a.$item.getAttribute("data-jarallax-video")||null),a.options.videoSrc?(a.defaultInitImgResult=c,!0):c};const i=t.prototype.canInitParallax;t.prototype.canInitParallax=function(){const a=this;let c=i.apply(a);if(!a.options.videoSrc)return c;const u=new Zs(a.options.videoSrc,{autoplay:!0,loop:a.options.videoLoop,showControls:!1,accessibilityHidden:!0,startTime:a.options.videoStartTime||0,endTime:a.options.videoEndTime||0,mute:!a.options.videoVolume,volume:a.options.videoVolume||0});function l(){a.image.$default_item&&(a.image.$item=a.image.$default_item,a.image.$item.style.display="block",a.coverImage(),a.onScroll())}if(a.options.onVideoWorkerInit&&a.options.onVideoWorkerInit.call(a,u),u.isValid())if(this.options.disableParallax()&&(c=!0,a.image.position="absolute",a.options.type="scroll",a.options.speed=1),c){if(u.on("ready",()=>{if(a.options.videoPlayOnlyVisible){const f=a.onScroll;a.onScroll=function(){f.apply(a),a.videoError||!a.options.videoLoop&&(a.options.videoLoop||a.videoEnded)||(a.isVisible()?u.play():u.pause())}}else u.play()}),u.on("started",()=>{a.image.$default_item=a.image.$item,a.image.$item=a.$video,a.image.width=a.video.videoWidth||1280,a.image.height=a.video.videoHeight||720,a.coverImage(),a.onScroll(),a.image.$default_item&&(a.image.$default_item.style.display="none")}),u.on("ended",()=>{a.videoEnded=!0,a.options.videoLoop||l()}),u.on("error",()=>{a.videoError=!0,l()}),a.video=u,!a.defaultInitImgResult&&(a.image.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",u.type!=="local"))return u.getImageURL(f=>{a.image.bgImage=`url("${f}")`,a.init()}),!1}else a.defaultInitImgResult||u.getImageURL(f=>{const d=a.$item.getAttribute("style");d&&a.$item.setAttribute("data-jarallax-original-styles",d),a.css(a.$item,{"background-image":`url("${f}")`,"background-position":"center","background-size":"cover"})});return c};const o=t.prototype.destroy;t.prototype.destroy=function(){const a=this;a.image.$default_item&&(a.image.$item=a.image.$default_item,delete a.image.$default_item),o.apply(a)}}(gT)},M5=wt(e=>({provide:{jarallaxVideo:O5,jarallax:gT}})),Wy=e=>{let t=!1,n;return()=>(t||(t=!0,n=e()),n)};class Xf{static isServer(){return typeof document>"u"}}function N5(e){const t=document.createElement("SCRIPT");if(typeof e!="object")throw new Error("options should be an object");Array.prototype.isPrototypeOf(e.libraries)&&(e.libraries=e.libraries.join(",")),e.v||(e.v=3.47),e.callback="vueGoogleMapsInit";
449let r="https://maps.googleapis.com/maps/api/js?"+Object.keys(e).map(s=>encodeURIComponent(s)+"="+encodeURIComponent(e[s])).join("&");return t.setAttribute("src",r),t.setAttribute("async",""),t.setAttribute("defer",""),t}let zy=!1;function P5(e){if(!Xf.isServer()){if(zy)throw new Error("You already started the loading of google maps");{zy=!0;const t=N5(e);document.head.appendChild(t)}}}const yT=(e,t,n)=>{for(let r of n){const s=`on${r.charAt(0).toUpperCase()}${r.slice(1)}`.replace(/[-_]+(.)?/g,(i,o)=>o?o.toUpperCase():"");e.$props[s]||e.$attrs[s]?t.addListener(r,i=>{e.$emit(r,i)}):(e.$gmapOptions.autobindAllEvents||e.$attrs[r])&&t.addListener(r,i=>{e.$emit(r,i)})}};function _T(e,t,n,r=!1){let s=!1;function i(){s||(s=!0,e.$nextTick(()=>{s=!1,n()}))}for(let o of t)e.$watch(o,i,{immediate:r})}class Vy{static capitalizeFirstLetter(t){return t.charAt(0).toUpperCase()+t.slice(1)}}function Bc(e,t){return Object.keys(t).reduce((n,r)=>(e[r]!==void 0&&(n[r]=e[r]),n),{})}function Qp(e,t,n){for(let r in n){let{twoWay:s,type:i,trackProperties:o,noBind:a}=n[r];if(a)continue;const c="set"+Vy.capitalizeFirstLetter(r),u="get"+Vy.capitalizeFirstLetter(r),l=r.toLowerCase()+"_changed",f=e[r];if(typeof t[c]>"u")throw new Error(`${c} is not a method of (the Maps object corresponding to) ${e.$options._componentTag}`);i!==Object||!o?e.$watch(r,()=>{const d=e[r];t[c](d)},{immediate:typeof f<"u",deep:i===Object}):_T(e,o.map(d=>`${r}.${d}`),()=>{t[c](e[r])},e[r]!==void 0),s&&(e.$gmapOptions.autobindAllEvents||e.$attrs[l])&&t.addListener(l,()=>{e.$emit(l,t[u]())})}}const L5={inject:{$mapPromise:{default:"abcdef"}},provide(){return this.$mapPromise.then(e=>{this.$map=e}),{}}};function Cr(e){const{mappedProps:t,name:n,ctr:r,ctrArgs:s,events:i,beforeCreate:o,afterCreate:a,props:c,...u}=e,l=`$${n}Promise`,f=`$${n}Object`;return D5(!(u.props instanceof Array),"`props` should be an object, not Array"),{...typeof GENERATE_DOC<"u"?{$vgmOptions:e}:{},mixins:[L5],props:{...c,...Zp(t)},render(){return""},provide(){const d=this.$mapPromise.then(p=>{this.$map=p;const h={...this.options,map:p,...Bc(this,t)};if(delete h.options,o){const m=o.bind(this)(h);if(m instanceof Promise)return m.then(()=>({options:h}))}return{options:h}}).then(({options:p})=>{const h=r();return this[f]=s?new(Function.prototype.bind.call(h,null,...s(p,Bc(this,c||{})))):new h(p),Qp(this,this[f],t),yT(this,this[f],i),a&&a.bind(this)(this[f]),this[f]});return this[l]=d,{[l]:d}},unmounted(){this[f]&&this[f].setMap&&this[f].setMap(null)},...u}}function D5(e,t){if(!e)throw new Error(t)}function Zp(e){return Object.entries(e).map(([t,n])=>{const r={};return"type"in n&&(r.type=n.type),"default"in n&&(r.default=n.default),"required"in n&&(r.required=n.required),[t,r]}).reduce((t,[n,r])=>(t[n]=r,t),{})}const $5={draggable:{type:Boolean},editable:{type:Boolean},options:{twoWay:!1,type:Object},path:{type:Array,twoWay:!0}},F5=["click","dblclick","drag","dragend","dragstart","mousedown","mousemove","mouseout","mouseover","mouseup","rightclick"],B5=Cr({mappedProps:$5,props:{deepWatch:{type:Boolean,default:!1}},events:F5,name:"polyline",ctr:()=>google.maps.Polyline,afterCreate(){let e=()=>{};this.$watch("path",t=>{if(t){e(),this.$polylineObject.setPath(t);const n=this.$polylineObject.getPath(),r=[],s=()=>{this.$emit("path_changed",this.$polylineObject.getPath())};r.push([n,n.addListener("insert_at",s)]),r.push([n,n.addListener("remove_at",s)]),r.push([n,n.addListener("set_at",s)]),e=()=>{r.map(([i,o])=>google.maps.event.removeListener(o))}}},{deep:this.deepWatch,immediate:!0})}}),j5={draggable:{type:Boolean},editable:{type:Boolean},options:{type:Object},path:{type:Array,twoWay:!0,noBind:!0},paths:{type:Array,twoWay:!0,noBind:!0}},H5=["click","dblclick","drag","dragend","dragstart","mousedown","mousemove","mouseout","mouseover","mouseup","rightclick"],U5=Cr({props:{deepWatch:{type:Boolean,default:!1}},events:H5,mappedProps:j5,name:"polygon",ctr:()=>google.maps.Polygon,beforeCreate(e){e.path||delete e.path,e.paths||delete e.paths},afterCreate(e){let t=()=>{};this.$watch("paths",n=>{if(n){t(),e.setPaths(n);const r=()=>{this.$emit("paths_changed",e.getPaths())},s=[],i=e.getPaths();for(let o=0;o<i.getLength();o++){let a=i.getAt(o);s.push([a,a.addListener("insert_at",r)]),s.push([a,a.addListener("remove_at",r)]),s.push([a,a.addListener("set_at",r)])}s.push([i,i.addListener("insert_at",r)]),s.push([i,i.addListener("remove_at",r)]),s.push([i,i.addListener("set_at",r)]),t=()=>{s.map(([o,a])=>google.maps.event.removeListener(a))}}},{deep:this.deepWatch,immediate:!0}),this.$watch("path",n=>{if(n){t(),e.setPaths(n);const r=e.getPath(),s=[],i=()=>{this.$emit("path_changed",e.getPath())};s.push([r,r.addListener("insert_at",i)]),s.push([r,r.addListener("remove_at",i)]),s.push([r,r.addListener("set_at",i)]),t=()=>{s.map(([o,a])=>google.maps.event.removeListener(a))}}},{deep:this.deepWatch,immediate:!0})}}),q5={center:{type:Object,twoWay:!0,required:!0},radius:{type:Number,twoWay:!0},draggable:{type:Boolean,default:!1},editable:{type:Boolean,default:!1},options:{type:Object,twoWay:!1}},W5=["click","dblclick","drag","dragend","dragstart","mousedown","mousemove","mouseout","mouseover","mouseup","rightclick"],z5=Cr({mappedProps:q5,name:"circle",ctr:()=>google.maps.Circle,events:W5}),V5={bounds:{type:Object,twoWay:!0},draggable:{type:Boolean,default:!1},editable:{type:Boolean,default:!1},options:{type:Object,twoWay:!1}},G5=["click","dblclick","drag","dragend","dragstart","mousedown","mousemove","mouseout","mouseover","mouseup","rightclick"],Y5=Cr({mappedProps:V5,name:"rectangle",ctr:()=>google.maps.Rectangle,events:G5}),na=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},K5={animation:{twoWay:!0,type:Number},attribution:{type:Object},clickable:{type:Boolean,twoWay:!0,default:!0},cursor:{type:String,twoWay:!0},draggable:{type:Boolean,twoWay:!0,default:!1},icon:{twoWay:!0},label:{},opacity:{type:Number,default:1},options:{type:Object},place:{type:Object},position:{type:Object,twoWay:!0},shape:{type:Object,twoWay:!0},title:{type:String,twoWay:!0},zIndex:{type:Number,twoWay:!0},visible:{twoWay:!0,default:!0}},vu=["click","rightclick","dblclick","drag","dragstart","dragend","mouseup","mousedown","mouseover","mouseout"],J5=Cr({mappedProps:K5,events:vu,name:"marker",ctr:()=>google.maps.Marker,inject:{$clusterPromise:{default:null}},emits:vu,unmounted(){this.$markerObject&&(this.$clusterObject?this.$clusterObject.removeMarker(this.$markerObject,!0):this.$markerObject.setMap(null))},beforeCreate(e){return this.$clusterPromise&&(e.map=null),this.$clusterPromise},afterCreate(e){vu.forEach(t=>{e.addListener(t,n=>{this.$emit(t,n)})}),this.$clusterPromise&&this.$clusterPromise.then(t=>{this.$clusterObject=t,t.addMarker(e)})}});function X5(e,t,n,r,s,i){return Ge(),Zt("div",{onClick:t[0]||(t[0]=()=>{console.log("sdfsd")})},[yr(e.$slots,"default")])}const Q5=na(J5,[["render",X5]]);var Z5=Object.getOwnPropertyNames,eU=Object.getOwnPropertySymbols,tU=Object.prototype.hasOwnProperty;function Gy(e,t){return function(r,s,i){return e(r,s,i)&&t(r,s,i)}}function Ma(e){return function(n,r,s){if(!n||!r||typeof n!="object"||typeof r!="object")return e(n,r,s);var i=s.cache,o=i.get(n),a=i.get(r);if(o&&a)return o===r&&a===n;i.set(n,r),i.set(r,n);var c=e(n,r,s);return i.delete(n),i.delete(r),c}}function Yy(e){return Z5(e).concat(eU(e))}var nU=Object.hasOwn||function(e,t){return tU.call(e,t)};function hs(e,t){return e===t||!e&&!t&&e!==e&&t!==t}var rU="__v",sU="__o",iU="_owner",Ky=Object.getOwnPropertyDescriptor,Jy=Object.keys;function oU(e,t,n){var r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(!n.equals(e[r],t[r],r,r,e,t,n))return!1;return!0}function aU(e,t){return hs(e.getTime(),t.getTime())}function cU(e,t){return e.name===t.name&&e.message===t.message&&e.cause===t.cause&&e.stack===t.stack}function lU(e,t){return e===t}function Xy(e,t,n){var r=e.size;if(r!==t.size)return!1;if(!r)return!0;for(var s=new Array(r),i=e.entries(),o,a,c=0;(o=i.next())&&!o.done;){for(var u=t.entries(),l=!1,f=0;(a=u.next())&&!a.done;){if(s[f]){f++;continue}var d=o.value,p=a.value;if(n.equals(d[0],p[0],c,f,e,t,n)&&n.equals(d[1],p[1],d[0],p[0],e,t,n)){l=s[f]=!0;break}f++}if(!l)return!1;c++}return!0}var uU=hs;function fU(e,t,n){var r=Jy(e),s=r.length;if(Jy(t).length!==s)return!1;for(;s-- >0;)if(!vT(e,t,n,r[s]))return!1;return!0}function Wi(e,t,n){var r=Yy(e),s=r.length;if(Yy(t).length!==s)return!1;for(var i,o,a;s-- >0;)if(i=r[s],!vT(e,t,n,i)||(o=Ky(e,i),a=Ky(t,i),(o||a)&&(!o||!a||o.configurable!==a.configurable||o.enumerable!==a.enumerable||o.writable!==a.writable)))return!1;return!0}function dU(e,t){return hs(e.valueOf(),t.valueOf())}function pU(e,t){return e.source===t.source&&e.flags===t.flags}function Qy(e,t,n){var r=e.size;if(r!==t.size)return!1;if(!r)return!0;for(var s=new Array(r),i=e.values(),o,a;(o=i.next())&&!o.done;){for(var c=t.values(),u=!1,l=0;(a=c.next())&&!a.done;){if(!s[l]&&n.equals(o.value,a.value,o.value,a.value,e,t,n)){u=s[l]=!0;break}l++}if(!u)return!1}return!0}function hU(e,t){var n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(e[n]!==t[n])return!1;return!0}function mU(e,t){return e.hostname===t.hostname&&e.pathname===t.pathname&&e.protocol===t.protocol&&e.port===t.port&&e.hash===t.hash&&e.username===t.username&&e.password===t.password}function vT(e,t,n,r){return(r===iU||r===sU||r===rU)&&(e.$$typeof||t.$$typeof)?!0:nU(t,r)&&n.equals(e[r],t[r],r,r,e,t,n)}var gU="[object Arguments]",yU="[object Boolean]",_U="[object Date]",vU="[object Error]",bU="[object Map]",EU="[object Number]",SU="[object Object]",wU="[object RegExp]",TU="[object Set]",IU="[object String]",CU="[object URL]",kU=Array.isArray,Zy=typeof ArrayBuffer=="function"&&ArrayBuffer.isView?ArrayBuffer.isView:null,e_=Object.assign,xU=Object.prototype.toString.call.bind(Object.prototype.toString);function RU(e){var t=e.areArraysEqual,n=e.areDatesEqual,r=e.areErrorsEqual,s=e.areFunctionsEqual,i=e.areMapsEqual,o=e.areNumbersEqual,a=e.areObjectsEqual,c=e.arePrimitiveWrappersEqual,u=e.areRegExpsEqual,l=e.areSetsEqual,f=e.areTypedArraysEqual,d=e.areUrlsEqual;return function(h,m,v){if(h===m)return!0;
449if(h==null||m==null)return!1;var y=typeof h;if(y!==typeof m)return!1;if(y!=="object")return y==="number"?o(h,m,v):y==="function"?s(h,m,v):!1;var _=h.constructor;if(_!==m.constructor)return!1;if(_===Object)return a(h,m,v);if(kU(h))return t(h,m,v);if(Zy!=null&&Zy(h))return f(h,m,v);if(_===Date)return n(h,m,v);if(_===RegExp)return u(h,m,v);if(_===Map)return i(h,m,v);if(_===Set)return l(h,m,v);var g=xU(h);return g===_U?n(h,m,v):g===wU?u(h,m,v):g===bU?i(h,m,v):g===TU?l(h,m,v):g===SU?typeof h.then!="function"&&typeof m.then!="function"&&a(h,m,v):g===CU?d(h,m,v):g===vU?r(h,m,v):g===gU?a(h,m,v):g===yU||g===EU||g===IU?c(h,m,v):!1}}function AU(e){var t=e.circular,n=e.createCustomConfig,r=e.strict,s={areArraysEqual:r?Wi:oU,areDatesEqual:aU,areErrorsEqual:cU,areFunctionsEqual:lU,areMapsEqual:r?Gy(Xy,Wi):Xy,areNumbersEqual:uU,areObjectsEqual:r?Wi:fU,arePrimitiveWrappersEqual:dU,areRegExpsEqual:pU,areSetsEqual:r?Gy(Qy,Wi):Qy,areTypedArraysEqual:r?Wi:hU,areUrlsEqual:mU};if(n&&(s=e_({},s,n(s))),t){var i=Ma(s.areArraysEqual),o=Ma(s.areMapsEqual),a=Ma(s.areObjectsEqual),c=Ma(s.areSetsEqual);s=e_({},s,{areArraysEqual:i,areMapsEqual:o,areObjectsEqual:a,areSetsEqual:c})}return s}function OU(e){return function(t,n,r,s,i,o,a){return e(t,n,a)}}function MU(e){var t=e.circular,n=e.comparator,r=e.createState,s=e.equals,i=e.strict;if(r)return function(c,u){var l=r(),f=l.cache,d=f===void 0?t?new WeakMap:void 0:f,p=l.meta;return n(c,u,{cache:d,equals:s,meta:p,strict:i})};if(t)return function(c,u){return n(c,u,{cache:new WeakMap,equals:s,meta:void 0,strict:i})};var o={cache:void 0,equals:s,meta:void 0,strict:i};return function(c,u){return n(c,u,o)}}var t_=kr();kr({strict:!0});kr({circular:!0});kr({circular:!0,strict:!0});kr({createInternalComparator:function(){return hs}});kr({strict:!0,createInternalComparator:function(){return hs}});kr({circular:!0,createInternalComparator:function(){return hs}});kr({circular:!0,createInternalComparator:function(){return hs},strict:!0});function kr(e){e===void 0&&(e={});var t=e.circular,n=t===void 0?!1:t,r=e.createInternalComparator,s=e.createState,i=e.strict,o=i===void 0?!1:i,a=AU(e),c=RU(a),u=r?r(c):OU(c);return MU({circular:n,comparator:c,createState:s,equals:u,strict:o})}const n_=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array],bu=1,zi=8;class eh{static from(t){if(!(t instanceof ArrayBuffer))throw new Error("Data must be an instance of ArrayBuffer.");const[n,r]=new Uint8Array(t,0,2);if(n!==219)throw new Error("Data does not appear to be in a KDBush format.");const s=r>>4;if(s!==bu)throw new Error(`Got v${s} data when expected v${bu}.`);const i=n_[r&15];if(!i)throw new Error("Unrecognized array type.");const[o]=new Uint16Array(t,2,1),[a]=new Uint32Array(t,4,1);return new eh(a,o,i,t)}constructor(t,n=64,r=Float64Array,s){if(isNaN(t)||t<0)throw new Error(`Unpexpected numItems value: ${t}.`);this.numItems=+t,this.nodeSize=Math.min(Math.max(+n,2),65535),this.ArrayType=r,this.IndexArrayType=t<65536?Uint16Array:Uint32Array;const i=n_.indexOf(this.ArrayType),o=t*2*this.ArrayType.BYTES_PER_ELEMENT,a=t*this.IndexArrayType.BYTES_PER_ELEMENT,c=(8-a%8)%8;if(i<0)throw new Error(`Unexpected typed array class: ${r}.`);s&&s instanceof ArrayBuffer?(this.data=s,this.ids=new this.IndexArrayType(this.data,zi,t),this.coords=new this.ArrayType(this.data,zi+a+c,t*2),this._pos=t*2,this._finished=!0):(this.data=new ArrayBuffer(zi+o+a+c),this.ids=new this.IndexArrayType(this.data,zi,t),this.coords=new this.ArrayType(this.data,zi+a+c,t*2),this._pos=0,this._finished=!1,new Uint8Array(this.data,0,2).set([219,(bu<<4)+i]),new Uint16Array(this.data,2,1)[0]=n,new Uint32Array(this.data,4,1)[0]=t)}add(t,n){const r=this._pos>>1;return this.ids[r]=r,this.coords[this._pos++]=t,this.coords[this._pos++]=n,r}finish(){const t=this._pos>>1;if(t!==this.numItems)throw new Error(`Added ${t} items when expected ${this.numItems}.`);return Qf(this.ids,this.coords,this.nodeSize,0,this.numItems-1,0),this._finished=!0,this}range(t,n,r,s){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:i,coords:o,nodeSize:a}=this,c=[0,i.length-1,0],u=[];for(;c.length;){const l=c.pop()||0,f=c.pop()||0,d=c.pop()||0;if(f-d<=a){for(let v=d;v<=f;v++){const y=o[2*v],_=o[2*v+1];y>=t&&y<=r&&_>=n&&_<=s&&u.push(i[v])}continue}const p=d+f>>1,h=o[2*p],m=o[2*p+1];h>=t&&h<=r&&m>=n&&m<=s&&u.push(i[p]),(l===0?t<=h:n<=m)&&(c.push(d),c.push(p-1),c.push(1-l)),(l===0?r>=h:s>=m)&&(c.push(p+1),c.push(f),c.push(1-l))}return u}within(t,n,r){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:s,coords:i,nodeSize:o}=this,a=[0,s.length-1,0],c=[],u=r*r;for(;a.length;){const l=a.pop()||0,f=a.pop()||0,d=a.pop()||0;if(f-d<=o){for(let v=d;v<=f;v++)r_(i[2*v],i[2*v+1],t,n)<=u&&c.push(s[v]);continue}const p=d+f>>1,h=i[2*p],m=i[2*p+1];r_(h,m,t,n)<=u&&c.push(s[p]),(l===0?t-r<=h:n-r<=m)&&(a.push(d),a.push(p-1),a.push(1-l)),(l===0?t+r>=h:n+r>=m)&&(a.push(p+1),a.push(f),a.push(1-l))}return c}}function Qf(e,t,n,r,s,i){if(s-r<=n)return;const o=r+s>>1;bT(e,t,o,r,s,i),Qf(e,t,n,r,o-1,1-i),Qf(e,t,n,o+1,s,1-i)}function bT(e,t,n,r,s,i){for(;s>r;){if(s-r>600){const u=s-r+1,l=n-r+1,f=Math.log(u),d=.5*Math.exp(2*f/3),p=.5*Math.sqrt(f*d*(u-d)/u)*(l-u/2<0?-1:1),h=Math.max(r,Math.floor(n-l*d/u+p)),m=Math.min(s,Math.floor(n+(u-l)*d/u+p));bT(e,t,n,h,m,i)}const o=t[2*n+i];let a=r,c=s;for(Vi(e,t,r,n),t[2*s+i]>o&&Vi(e,t,r,s);a<c;){for(Vi(e,t,a,c),a++,c--;t[2*a+i]<o;)a++;for(;t[2*c+i]>o;)c--}t[2*r+i]===o?Vi(e,t,r,c):(c++,Vi(e,t,c,s)),c<=n&&(r=c+1),n<=c&&(s=c-1)}}function Vi(e,t,n,r){Eu(e,n,r),Eu(t,2*n,2*r),Eu(t,2*n+1,2*r+1)}function Eu(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function r_(e,t,n,r){const s=e-n,i=t-r;return s*s+i*i}const NU={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:e=>e},s_=Math.fround||(e=>t=>(e[0]=+t,e[0]))(new Float32Array(1)),Pr=2,fr=3,Su=4,tr=5,ET=6;class PU{constructor(t){this.options=Object.assign(Object.create(NU),t),this.trees=new Array(this.options.maxZoom+1),this.stride=this.options.reduce?7:6,this.clusterProps=[]}load(t){const{log:n,minZoom:r,maxZoom:s}=this.options;n&&console.time("total time");const i=`prepare ${t.length} points`;n&&console.time(i),this.points=t;const o=[];for(let c=0;c<t.length;c++){const u=t[c];if(!u.geometry)continue;const[l,f]=u.geometry.coordinates,d=s_(Na(l)),p=s_(Pa(f));o.push(d,p,1/0,c,-1,1),this.options.reduce&&o.push(0)}let a=this.trees[s+1]=this._createTree(o);n&&console.timeEnd(i);for(let c=s;c>=r;c--){const u=+Date.now();a=this.trees[c]=this._createTree(this._cluster(a,c)),n&&console.log("z%d: %d clusters in %dms",c,a.numItems,+Date.now()-u)}return n&&console.timeEnd("total time"),this}getClusters(t,n){let r=((t[0]+180)%360+360)%360-180;const s=Math.max(-90,Math.min(90,t[1]));let i=t[2]===180?180:((t[2]+180)%360+360)%360-180;const o=Math.max(-90,Math.min(90,t[3]));if(t[2]-t[0]>=360)r=-180,i=180;else if(r>i){const f=this.getClusters([r,s,180,o],n),d=this.getClusters([-180,s,i,o],n);return f.concat(d)}const a=this.trees[this._limitZoom(n)],c=a.range(Na(r),Pa(o),Na(i),Pa(s)),u=a.data,l=[];for(const f of c){const d=this.stride*f;l.push(u[d+tr]>1?i_(u,d,this.clusterProps):this.points[u[d+fr]])}return l}getChildren(t){const n=this._getOriginId(t),r=this._getOriginZoom(t),s="No cluster with the specified id.",i=this.trees[r];if(!i)throw new Error(s);const o=i.data;if(n*this.stride>=o.length)throw new Error(s);const a=this.options.radius/(this.options.extent*Math.pow(2,r-1)),c=o[n*this.stride],u=o[n*this.stride+1],l=i.within(c,u,a),f=[];for(const d of l){const p=d*this.stride;
449o[p+Su]===t&&f.push(o[p+tr]>1?i_(o,p,this.clusterProps):this.points[o[p+fr]])}if(f.length===0)throw new Error(s);return f}getLeaves(t,n,r){n=n||10,r=r||0;const s=[];return this._appendLeaves(s,t,n,r,0),s}getTile(t,n,r){const s=this.trees[this._limitZoom(t)],i=Math.pow(2,t),{extent:o,radius:a}=this.options,c=a/o,u=(r-c)/i,l=(r+1+c)/i,f={features:[]};return this._addTileFeatures(s.range((n-c)/i,u,(n+1+c)/i,l),s.data,n,r,i,f),n===0&&this._addTileFeatures(s.range(1-c/i,u,1,l),s.data,i,r,i,f),n===i-1&&this._addTileFeatures(s.range(0,u,c/i,l),s.data,-1,r,i,f),f.features.length?f:null}getClusterExpansionZoom(t){let n=this._getOriginZoom(t)-1;for(;n<=this.options.maxZoom;){const r=this.getChildren(t);if(n++,r.length!==1)break;t=r[0].properties.cluster_id}return n}_appendLeaves(t,n,r,s,i){const o=this.getChildren(n);for(const a of o){const c=a.properties;if(c&&c.cluster?i+c.point_count<=s?i+=c.point_count:i=this._appendLeaves(t,c.cluster_id,r,s,i):i<s?i++:t.push(a),t.length===r)break}return i}_createTree(t){const n=new eh(t.length/this.stride|0,this.options.nodeSize,Float32Array);for(let r=0;r<t.length;r+=this.stride)n.add(t[r],t[r+1]);return n.finish(),n.data=t,n}_addTileFeatures(t,n,r,s,i,o){for(const a of t){const c=a*this.stride,u=n[c+tr]>1;let l,f,d;if(u)l=ST(n,c,this.clusterProps),f=n[c],d=n[c+1];else{const m=this.points[n[c+fr]];l=m.properties;const[v,y]=m.geometry.coordinates;f=Na(v),d=Pa(y)}const p={type:1,geometry:[[Math.round(this.options.extent*(f*i-r)),Math.round(this.options.extent*(d*i-s))]],tags:l};let h;u||this.options.generateId?h=n[c+fr]:h=this.points[n[c+fr]].id,h!==void 0&&(p.id=h),o.features.push(p)}}_limitZoom(t){return Math.max(this.options.minZoom,Math.min(Math.floor(+t),this.options.maxZoom+1))}_cluster(t,n){const{radius:r,extent:s,reduce:i,minPoints:o}=this.options,a=r/(s*Math.pow(2,n)),c=t.data,u=[],l=this.stride;for(let f=0;f<c.length;f+=l){if(c[f+Pr]<=n)continue;c[f+Pr]=n;const d=c[f],p=c[f+1],h=t.within(c[f],c[f+1],a),m=c[f+tr];let v=m;for(const y of h){const _=y*l;c[_+Pr]>n&&(v+=c[_+tr])}if(v>m&&v>=o){let y=d*m,_=p*m,g,b=-1;const S=((f/l|0)<<5)+(n+1)+this.points.length;for(const T of h){const C=T*l;if(c[C+Pr]<=n)continue;c[C+Pr]=n;const M=c[C+tr];y+=c[C]*M,_+=c[C+1]*M,c[C+Su]=S,i&&(g||(g=this._map(c,f,!0),b=this.clusterProps.length,this.clusterProps.push(g)),i(g,this._map(c,C)))}c[f+Su]=S,u.push(y/v,_/v,1/0,S,-1,v),i&&u.push(b)}else{for(let y=0;y<l;y++)u.push(c[f+y]);if(v>1)for(const y of h){const _=y*l;if(!(c[_+Pr]<=n)){c[_+Pr]=n;for(let g=0;g<l;g++)u.push(c[_+g])}}}}return u}_getOriginId(t){return t-this.points.length>>5}_getOriginZoom(t){return(t-this.points.length)%32}_map(t,n,r){if(t[n+tr]>1){const o=this.clusterProps[t[n+ET]];return r?Object.assign({},o):o}const s=this.points[t[n+fr]].properties,i=this.options.map(s);return r&&i===s?Object.assign({},i):i}}function i_(e,t,n){return{type:"Feature",id:e[t+fr],properties:ST(e,t,n),geometry:{type:"Point",coordinates:[LU(e[t]),DU(e[t+1])]}}}function ST(e,t,n){const r=e[t+tr],s=r>=1e4?`${Math.round(r/1e3)}k`:r>=1e3?`${Math.round(r/100)/10}k`:r,i=e[t+ET],o=i===-1?{}:Object.assign({},n[i]);return Object.assign(o,{cluster:!0,cluster_id:e[t+fr],point_count:r,point_count_abbreviated:s})}function Na(e){return e/360+.5}function Pa(e){const t=Math.sin(e*Math.PI/180),n=.5-.25*Math.log((1+t)/(1-t))/Math.PI;return n<0?0:n>1?1:n}function LU(e){return(e-.5)*360}function DU(e){const t=(180-e*360)*Math.PI/180;return 360*Math.atan(Math.exp(t))/Math.PI-90}function $U(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]]);return n}class Mt{static isAdvancedMarkerAvailable(t){return google.maps.marker&&t.getMapCapabilities().isAdvancedMarkersAvailable===!0}static isAdvancedMarker(t){return google.maps.marker&&t instanceof google.maps.marker.AdvancedMarkerElement}static setMap(t,n){this.isAdvancedMarker(t)?t.map=n:t.setMap(n)}static getPosition(t){if(this.isAdvancedMarker(t)){if(t.position){if(t.position instanceof google.maps.LatLng)return t.position;if(Number.isFinite(t.position.lat)&&Number.isFinite(t.position.lng))return new google.maps.LatLng(t.position.lat,t.position.lng)}return new google.maps.LatLng(null)}return t.getPosition()}static getVisible(t){return this.isAdvancedMarker(t)?!0:t.getVisible()}}class Zf{constructor({markers:t,position:n}){this.markers=[],t&&(this.markers=t),n&&(n instanceof google.maps.LatLng?this._position=n:this._position=new google.maps.LatLng(n))}get bounds(){if(this.markers.length===0&&!this._position)return;const t=new google.maps.LatLngBounds(this._position,this._position);for(const n of this.markers)t.extend(Mt.getPosition(n));return t}get position(){return this._position||this.bounds.getCenter()}get count(){return this.markers.filter(t=>
449Mt.getVisible(t)).length}push(t){this.markers.push(t)}delete(){this.marker&&(Mt.setMap(this.marker,null),this.marker=void 0),this.markers.length=0}}function ed(e,t="assertion failed"){if(e==null)throw Error(t)}class FU{constructor({maxZoom:t=16}){this.maxZoom=t}noop({markers:t}){return BU(t)}}const BU=e=>e.map(n=>new Zf({position:Mt.getPosition(n),markers:[n]}));class jU extends FU{constructor(t){var{maxZoom:n,radius:r=60}=t,s=$U(t,["maxZoom","radius"]);super({maxZoom:n}),this.markers=[],this.clusters=[],this.state={zoom:-1},this.superCluster=new PU(Object.assign({maxZoom:this.maxZoom,radius:r},s))}calculate(t){let n=!1,r=t.map.getZoom();ed(r),r=Math.round(r);const s={zoom:r};if(!t_(t.markers,this.markers)){n=!0,this.markers=[...t.markers];const i=this.markers.map(o=>{const a=Mt.getPosition(o);return{type:"Feature",geometry:{type:"Point",coordinates:[a.lng(),a.lat()]},properties:{marker:o}}});this.superCluster.load(i)}return n||(this.state.zoom<=this.maxZoom||s.zoom<=this.maxZoom)&&(n=!t_(this.state,s)),this.state=s,t.markers.length===0?(this.cluster
449s=[],{clusters:this.clusters,changed:n}):(n&&(this.clusters=this.cluster(t)),{clusters:this.clusters,changed:n})}cluster({map:t}){const n=t.getZoom();return ed(n),this.superCluster.getClusters([-180,-90,180,90],Math.round(n)).map(r=>this.transformCluster(r))}transformCluster({geometry:{coordinates:[t,n]},properties:r}){if(r.cluster)return new Zf({markers:this.superCluster.getLeaves(r.cluster_id,1/0).map(i=>i.properties.marker),position:{lat:n,lng:t}});const s=r.marker;return new Zf({markers:[s],position:Mt.getPosition(s)})}}class HU{constructor(t,n){this.markers={sum:t.length};const r=n.map(i=>i.count),s=r.reduce((i,o)=>i+o,0);this.clusters={count:n.length,markers:{mean:s/n.length,sum:s,min:Math.min(...r),max:Math.max(...r)}}}}class UU{render({count:t,position:n},r,s){const o=`<svg fill="${t>Math.max(10,r.clusters.markers.mean)?"#ff0000":"#0000ff"}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 240" width="50" height="50"> 450<circle cx="120" cy="120" opacity=".6" r="70" /> 451<circle cx="120" cy="120" opacity=".3" r="90" /> 452<circle cx="120" cy="120" opacity=".2" r="110" /> 453<text x="50%" y="50%" style="fill:#fff" text-anchor="middle" font-size="50" dominant-baseline="middle" font-family="roboto,arial,sans-serif">${t}</text> 454</svg>`,a=`Cluster of ${t} markers`,c=Number(google.maps.Marker.MAX_ZINDEX)+t;if(Mt.isAdvancedMarkerAvailable(s)){const f=new DOMParser().parseFromString(o,"image/svg+xml").documentElement;f.setAttribute("transform","translate(0 25)");const d={map:s,position:n,zIndex:c,title:a,content:f};return new google.maps.marker.AdvancedMarkerElement(d)}const u={position:n,zIndex:c,title:a,icon:{url:`data:image/svg+xml;base64,${btoa(o)}`,anchor:new google.maps.Point(25,25)}};return new google.maps.Marker(u)}}function qU(e,t){for(let n in t.prototype)e.prototype[n]=t.prototype[n]}class th{constructor(){qU(th,google.maps.OverlayView)}}var $r;(function(e){e.CLUSTERING_BEGIN="clusteringbegin",e.CLUSTERING_END="clusteringend",e.CLUSTER_CLICK="click",e.GMP_CLICK="gmp-click"})($r||($r={}));const WU=(e,t,n)=>{t.bounds&&n.fitBounds(t.bounds)};class o_ extends th{constructor({map:t,markers:n=[],algorithmOptions:r={},algorithm:s=new jU(r),renderer:i=new UU,onClusterClick:o=WU}){super(),this.map=null,this.idleListener=null,this.markers=[...n],this.clusters=[],this.algorithm=s,this.renderer=i,this.onClusterClick=o,t&&this.setMap(t)}addMarker(t,n){this.markers.includes(t)||(this.markers.push(t),n||this.render())}addMarkers(t,n){t.forEach(r=>{this.addMarker(r,!0)}),n||this.render()}removeMarker(t,n){const r=this.markers.indexOf(t);return r===-1?!1:(Mt.setMap(t,null),this.markers.splice(r,1),n||this.render(),!0)}removeMarkers(t,n){let r=!1;return t.forEach(s=>{r=this.removeMarker(s,!0)||r}),r&&!n&&this.render(),r}clearMarkers(t){this.markers.length=0,t||this.render()}render(){const t=this.getMap();if(t instanceof google.maps.Map&&t.getProjection()){google.maps.event.trigger(this,$r.CLUSTERING_BEGIN,this);const{clusters:n,changed:r}=this.algorithm.calculate({markers:this.markers,map:t,mapCanvasProjection:this.getProjection()});if(r||r==null){const s=new Set;for(const o of n)o.markers.length==1&&s.add(o.markers[0]);const i=[];for(const o of this.clusters)o.marker!=null&&(o.markers.length==1?s.has(o.marker)||Mt.setMap(o.marker,null):i.push(o.marker));this.clusters=n,this.renderClusters(),requestAnimationFrame(()=>i.forEach(o=>Mt.setMap(o,null)))}google.maps.event.trigger(this,$r.CLUSTERING_END,this)}}onAdd(){const t=this.getMap();ed(t),this.idleListener=t.addListener("idle",this.render.bind(this)),this.render()}onRemove(){this.idleListener&&google.maps.event.removeListener(this.idleListener),this.reset()}reset(){this.markers.forEach(t=>Mt.setMap(t,null)),this.clusters.forEach(t=>t.delete()),this.clusters=[]}renderClusters(){const t=new HU(this.markers,this.clusters),n=this.getMap();this.clusters.forEach(r=>{if(r.markers.length===1)r.marker=r.markers[0];else if(r.marker=this.renderer.render(r,t,n),r.markers.forEach(s=>Mt.setMap(s,null)),this.onClusterClick){const s=Mt.isAdvancedMarker(r.marker)?$r.GMP_CLICK:$r.CLUSTER_CLICK;r.marker.addListener(s,i=>{google.maps.event.trigger(this,$r.CLUSTER_CLICK,r),this.onClusterClick(i,r,n)})}Mt.setMap(r.marker,n)})}}const wu={maxZoom:{type:Number,twoWay:!1},batchSizeIE:{type:Number,twoWay:!1},calculator:{type:Function,twoWay:!1},enableRetinaIcons:{type:Boolean,twoWay:!1},gridSize:{type:Number,twoWay:!1},ignoreHidden:{type:Boolean,twoWay:!1},imageExtension:{type:String,twoWay:!1},imagePath:{type:String,twoWay:!1},imageSizes:{type:Array,twoWay:!1},minimumClusterSize:{type:Number,twoWay:!1},styles:{type:Array,twoWay:!1},zoomOnClick:{type:Boolean,twoWay:!1}},zU=["click","rightclick","dblclick","drag","dragstart","dragend","mouseup","mousedown","mouseover","mouseout"],VU=Cr({mappedProps:wu,events:zU,name:"cluster",ctr:()=>{if(typeof o_>"u"){const e="MarkerClusterer is not installed!";throw console.error(e),new Error(e)}return o_}
454,ctrArgs:({map:e,...t})=>[e,[],t],afterCreate(e){const t=()=>{const n=e.getMarkers();e.clearMarkers(),e.addMarkers(n)};for(let n in wu)wu[n].twoWay&&this.$on(n.toLowerCase()+"_changed",t)},updated(){this.$clusterObject&&this.$clusterObject.repaint()},beforeUnmount(){this.$children&&this.$children.length&&this.$children.forEach(e=>{e.$clusterObject===this.$clusterObject&&(e.$clusterObject=null)}),this.$clusterObject&&this.$clusterObject.clearMarkers()}});function GU(e,t,n,r,s,i){return Ge(),Zt("div",null,[yr(e.$slots,"default")])}const YU=na(VU,[["render",GU]]),KU={options:{type:Object,required:!1,default(){return{}}},position:{type:Object,twoWay:!0},zIndex:{type:Number,twoWay:!0}},JU=["domready","click","closeclick","content_changed"],XU=Cr({mappedProps:KU,events:JU,name:"infoWindow",ctr:()=>google.maps.InfoWindow,props:{opened:{type:Boolean,default:!0}},inject:{$markerPromise:{default:null}},mounted(){const e=this.$refs.infoWindow;e.parentNode.removeChild(e)},beforeCreate(e){if(e.content=this.$refs.infoWindow,this.$markerPromise)return delete e.position,this.$markerPromise.then(t=>(this.$markerObject=t,t))},emits:["closeclick"],methods:{_openInfoWindow(){this.$infoWindowObject.close(),this.opened?this.$infoWindowObject.open(this.$map,this.$markerObject):this.$emit("closeclick")}},afterCreate(){this._openInfoWindow(),this.$watch("opened",()=>{this._openInfoWindow()})}}),QU={ref:"infoWindow"};function ZU(e,t,n,r,s,i){return Ge(),Zt("div",QU,[yr(e.$slots,"default")],512)}const e4=na(XU,[["render",ZU]]),t4={props:["resizeBus"],data(){return{_actualResizeBus:null}},created(){typeof this.resizeBus>"u"?this.$data._actualResizeBus=this.$gmapDefaultResizeBus:this.$data._actualResizeBus=this.resizeBus},methods:{_resizeCallback(){this.resize()},isFunction(e){return e&&{}.toString.call(e)==="[object Function]"},_delayedResizeCallback(){this.$nextTick(()=>this._resizeCallback())}},watch:{resizeBus(e){this.$data._actualResizeBus=e},"$data._actualResizeBus"(e,t){t&&t.$off("resize",this._delayedResizeCallback)}},unmounted(){this.$data._actualResizeBus&&this.isFunction(this.$data._actualResizeBus.$off)&&this.$data._actualResizeBus.$off("resize",this._delayedResizeCallback)}};function n4(e){let t=0;e(()=>{t+=1},()=>{t=Math.max(0,t-1)},()=>t===0)}const Tu={center:{required:!0,twoWay:!0,type:Object,noBind:!0},zoom:{required:!1,twoWay:!0,type:Number,noBind:!0},heading:{type:Number,twoWay:!0},mapTypeId:{twoWay:!0,type:String},tilt:{twoWay:!0,type:Number},options:{type:Object,default(){return{}}}},a_=["bounds_changed","click","dblclick","drag","dragend","dragstart","idle","mousemove","mouseout","mouseover","resize","rightclick","tilesloaded"],r4=["panBy","panTo","panToBounds","fitBounds"].reduce((e,t)=>(e[t]=function(){this.$mapObject&&this.$mapObject[t].apply(this.$mapObject,arguments)},e),{}),s4={resize(){this.$mapObject&&google.maps.event.trigger(this.$mapObject,"resize")},resizePreserveCenter(){if(!this.$mapObject)return;const e=this.$mapObject.getCenter();google.maps.event.trigger(this.$mapObject,"resize"),this.$mapObject.setCenter(e)},_resizeCallback(){this.resizePreserveCenter()}},i4={mixins:[t4],props:Zp({...Tu,...a_.reduce((e,t)=>({...e,[`on${t.charAt(0).toUpperCase()}${t.slice(1)}`.replace(/[-_]+(.)?/g,(n,r)=>r?r.toUpperCase():"")]:Function}),{})}),inheritAttrs:!1,provide(){return this.$mapPromise=new Promise((e,t)=>{this.$mapPromiseDeferred={resolve:e,reject:t}}),{$mapPromise:this.$mapPromise}},emits:["center_changed","zoom_changed","bounds_changed"],computed:{finalLat(){return this.center&&typeof this.center.lat=="function"?this.center.lat():this.center.lat},finalLng(){return this.center&&typeof this.center.lng=="function"?this.center.lng():this.center.lng},finalLatLng(){return{lat:this.finalLat,lng:this.finalLng}}},watch:{zoom(e){this.$mapObject&&this.$mapObject.setZoom(e)}},mounted(){return this.$gmapApiPromiseLazy().then(()=>{const e=this.$refs["vue-map"],t={...this.options,...Bc(this,Tu)};return delete t.options,this.$mapObject=new google.maps.Map(e,t),Qp(this,this.$mapObject,Tu),yT(this,this.$mapObject,a_),n4((n,r,s)=>{this.$mapObject.addListener("center_changed",()=>{s()&&this.$emit("center_changed",this.$mapObject.getCenter()),r()}),_T(this,["finalLat","finalLng"],()=>{n(),this.$mapObject.setCenter(this.finalLatLng)})}),this.$mapObject.addListener("zoom_changed",()=>{this.$emit("zoom_changed",this.$mapObject.getZoom())}),this.$mapObject.addListener("bounds_changed",()=>{this.$emit("bounds_changed",this.$mapObject.getBounds())}),this.$mapPromiseDeferred.resolve(this.$mapObject),this.$mapObject}).catch(e=>{throw e})},methods:{...s4,...r4}},o4={class:"vue-map-hidden"};function a4(e,t,n,r,s,i){return Ge(),Zt("div",{class:Gr(["vue-map-container",e.$attrs.class])},[ri("div",{ref:"vue-map",class:"vue-map",style:vi(e.$attrs.style?e.$attrs.style:"")}
454,null,4),ri("div",o4,[yr(e.$slots,"default")]),yr(e.$slots,"visible")],2)}const c4=na(i4,[["render",a4]]),l4={options:{type:Object,twoWay:!1,default:()=>{}},data:{type:Array,twoWay:!0}},u4=[],f4=Cr({mappedProps:l4,name:"heatmap",ctr:()=>google.maps.visualization.HeatmapLayer,events:u4}),d4=e=>{const t=e.addEventListener?e.addEventListener:e.attachEvent;function n(r,s){if(r==="keydown"){const i=s;s=function(o){const a=document.getElementsByClassName("pac-item-selected").length>0;if(o.which===13&&!a){const c=document.createEvent("Event");c.keyCode=40,c.which=40,i.apply(e,[c])}i.apply(e,[o])}}t.apply(e,[r,s])}e.addEventListener=n,e.attachEvent=n},Iu={bounds:{type:Object},componentRestrictions:{type:Object,noBind:!0},types:{type:Array,default:function(){return[]}}},p4={selectFirstOnEnter:{required:!1,type:Boolean,default:!1},options:{type:Object}},h4={mounted(){this.$gmapApiPromiseLazy().then(()=>{if(this.selectFirstOnEnter&&d4(this.$refs.input),typeof google.maps.places.Autocomplete!="function")throw new Error("google.maps.places.Autocomplete is undefined. Did you add 'places' to libraries when loading Google Maps?");const e={...Bc(this,Iu),...this.options};this.$autocomplete=new google.maps.places.Autocomplete(this.$refs.input,e),Qp(this,this.$autocomplete,Iu),this.$watch("componentRestrictions",t=>{t!==void 0&&this.$autocomplete.setComponentRestrictions(t)}),this.$autocomplete.addListener("place_changed",()=>{this.$emit("place_changed",this.$autocomplete.getPlace())})})},props:{...Zp(Iu),...p4}};function m4(e,t,n,r,s,i){return Ge(),Zt("input",Sd({ref:"input"},e.$attrs,H1(e.$attrs)),null,16)}const g4=na(h4,[["render",m4]]);let wT=null;function y4(e,t){t={installComponents:!0,autobindAllEvents:!1,...t},wT=qu({data:function(){return{gmapApi:null}}});const n=qu();let r=_4(t);e.mixin({created(){this.$gmapDefaultResizeBus=n,this.$gmapOptions=t,this.$gmapApiPromiseLazy=r}}),e.$gmapDefaultResizeBus=n,e.$gmapApiPromiseLazy=r,t.installComponents&&(e.component("GMapMap",c4),e.component("GMapMarker",Q5),e.component("GMapInfoWindow",e4),e.component("GMapCluster",YU),e.component("GMapPolyline",B5),e.component("GMapPolygon",U5),e.component("GMapCircle",z5),e.component("GMapRectangle",Y5),e.component("GMapAutocomplete",g4),e.component("GMapHeatmap",f4))}function _4(e){function t(){return wT.gmapApi={},window.google}if(e.load)return Wy(()=>Xf.isServer()?new Promise(()=>{}).then(t):new Promise((n,r)=>{try{window.vueGoogleMapsInit=n,P5(e.load)}catch(s){r(s)}}).then(t));{const n=new Promise(r=>{Xf.isServer()||(window.vueGoogleMapsInit=r)}).then(t);return Wy(()=>n)}}const v4=wt(e=>{const{googleMapsApiKey:t}=os().public;e.vueApp.use(y4,{load:{key:t}})}),b4=[Ix,Ax,ZR,eA,tA,nA,sA,cA,lA,MO,b3,X3,h5,C5,M5,v4],TT=(e="RouteProvider")=>kn({name:e,props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(t){const n=t.renderKey,r=t.route,s={};for(const i in t.route)Object.defineProperty(s,i,{get:()=>n===t.renderKey?t.route[i]:r[i],enumerable:!0});return _r(Ho,Fn(s)),()=>mt(t.vnode,{ref:t.vnodeRef})}}),E4=TT(),c_=new WeakMap,S4=kn({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:r}){const s=Ye(),i=me(),o=gt(Ho,null);let a;r({pageRef:i});const c=gt(e0,null);let u;const l=s.deferHydration();if(s.isHydrating){const d=s.hooks.hookOnce("app:error",l);Ut().beforeEach(d)}e.pageKey&&Ht(()=>e.pageKey,(d,p)=>{d!==p&&s.callHook("page:loading:start")});let f=!1;{const d=Ut().beforeResolve(()=>{f=!1});wi(()=>{d()})}return()=>mt(b0,{name:e.name,route:e.route,...t},{default:d=>{const p=T4(o,d.route,d.Component),h=o&&o.matched.length===d.route.matched.length;if(!d.Component){if(u&&!h)return u;l();return}if(u&&c&&!c.isCurrent(d.route))return u;if(p&&o&&(!c||c!=null&&c.isCurrent(o)))return h?u:null;const m=of(d,e.pageKey),v=I4(o,d.route,d.Component);!s.isHydrating&&a===m&&!v&&(s.callHook("page:loading:end"),f=!0),a=m;const y=!!(e.transition??d.route.meta.pageTransition??Ku),_=y&&w4([e.transition,d.route.meta.pageTransition,Ku,{onAfterLeave:()=>{s.callHook("page:transition:finish",d.Component)}}]),g=e.keepalive??d.route.meta.keepalive??pk;return u=E0(y&&_,FR(g,mt(bd,{suspensible:!0,onPending:()=>s.callHook("page:start",d.Component),onResolve:()=>{Ei(()=>s.callHook("page:finish",d.Component).then(()=>
454{if(!f&&!v)return f=!0,s.callHook("page:loading:end")}).finally(l))}},{default:()=>{const b={key:m||void 0,vnode:n.default?C4(n.default,d):d.Component,route:d.route,renderKey:m||void 0,trackRootNodes:y,vnodeRef:i};if(!g)return mt(E4,b);const S=d.Component.type,T=S;let C=c_.get(T);return C||(C=TT(S.name||S.__name),c_.set(T,C)),mt(C,b)}}))).default(),u}})}});function w4(e){const t=e.filter(Boolean).map(n=>({...n,onAfterLeave:n.onAfterLeave?Pd(n.onAfterLeave):void 0}));return pc(...t)}function T4(e,t,n){if(!e)return!1;const r=t.matched.findIndex(s=>{var i;return((i=s.components)==null?void 0:i.default)===(n==null?void 0:n.type)});return!r||r===-1?!1:t.matched.slice(0,r).some((s,i)=>{var o,a,c;return((o=s.components)==null?void 0:o.default)!==((c=(a=e.matched[i])==null?void 0:a.components)==null?void 0:c.default)})||n&&of({route:t,Component:n})!==of({route:e,Component:n})}function I4(e,t,n){return e?t.matched.findIndex(s=>{var i;return((i=s.components)==null?void 0:i.default)===(n==null?void 0:n.type)})<t.matched.length-1:!1}function C4(e,t){const n=e(t);return n.length===1?mt(n[0]):mt(ot,void 0,n)}const k4=kn({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>mt(hr[e.name],e.layoutProps,t.slots)}}),x4={name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},R4=kn({name:"NuxtLayout",inheritAttrs:!1,props:x4,setup(e,t){const n=Ye(),r=gt(Ho),s=r===kd()?NR():r,i=et(()=>{let c=Le(e.name)??s.meta.layout??"default";return c&&!(c in hr)&&e.fallback&&(c=Le(e.fallback)),c}),o=me();t.expose({layoutRef:o});const a=n.deferHydration();if(n.isHydrating){const c=n.hooks.hookOnce("app:error",a);Ut().beforeEach(c)}return()=>{const c=i.value&&i.value in hr,u=s.meta.layoutTransition??dk;return E0(c&&u,{default:()=>mt(bd,{suspensible:!0,onResolve:()=>{Ei(a)}},{default:()=>mt(A4,{layoutProps:Sd(t.attrs,{ref:o}),key:i.value||void 0,name:i.value,shouldProvide:!e.name,hasTransition:!!u},t.slots)})}).default()}}}),A4=kn({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(e,t){const n=e.name;return e.shouldProvide&&_r(e0,{isCurrent:r=>n===(r.meta.layout??"default")}),()=>{var r,s;return!n||typeof n=="string"&&!(n in hr)?(s=(r=t.slots).default)==null?void 0:s.call(r):mt(k4,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}}),O4=e=>e==="defer"||e===!1;function M4(...e){var m;const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);let[n,r,s={}]=e;if(typeof n!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof r!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");const i=Ye(),o=r,a=()=>As.value,c=()=>i.isHydrating?i.payload.data[n]:i.static.data[n];s.server??(s.server=!0),s.default??(s.default=a),s.getCachedData??(s.getCachedData=c),s.lazy??(s.lazy=!1),s.immediate??(s.immediate=!0),s.deep??(s.deep=As.deep),s.dedupe??(s.dedupe="cancel");const u=s.getCachedData(n,i),l=u!=null;if(!i._asyncData[n]||!s.immediate){(m=i.payload._errors)[n]??(m[n]=As.errorValue);const v=s.deep?me:ei;i._asyncData[n]={data:v(l?u:s.default()),pending:me(!l),error:$_(i.payload._errors,n),status:me("idle"),_default:s.default}}const f={...i._asyncData[n]};delete f._default,f.refresh=f.execute=(v={})=>{if(i._asyncDataPromises[n]){if(O4(v.dedupe??s.dedupe))return i._asyncDataPromises[n];i._asyncDataPromises[n].cancelled=!0}if(v._initial||i.isHydrating&&v._initial!==!1){const _=v._initial?u:s.getCachedData(n,i);if(_!=null)return Promise.resolve(_)}f.pending.value=!0,f.status.value="pending";const y=new Promise((_,g)=>{try{_(o(i))}catch(b){g(b)}}).then(async _=>{if(y.cancelled)return i._asyncDataPromises[n];let g=_;s.transform&&(g=await s.transform(_)),s.pick&&(g=P4(g,s.pick)),i.payload.data[n]=g,f.data.value=g,f.error.value=As.errorValue,f.status.value="success"}).catch(_=>{if(y.cancelled)return i._asyncDataPromises[n];f.error.value=Ti(_),f.data.value=Le(s.default()),f.status.value="error"}).finally(()=>{y.cancelled||(f.pending.value=!1,delete i._asyncDataPromises[n])});return i._asyncDataPromises[n]=y,i._asyncDataPromises[n]},f.clear=()=>
454N4(i,n);const d=()=>f.refresh({_initial:!0}),p=s.server!==!1&&i.payload.serverRendered;{const v=un();if(v&&p&&s.immediate&&!v.sp&&(v.sp=[]),v&&!v._nuxtOnBeforeMountCbs){v._nuxtOnBeforeMountCbs=[];const g=v._nuxtOnBeforeMountCbs;X_(()=>{g.forEach(b=>{b()}),g.splice(0,g.length)}),Vc(()=>g.splice(0,g.length))}p&&i.isHydrating&&(f.error.value||u!=null)?(f.pending.value=!1,f.status.value=f.error.value?"error":"success"):v&&(i.payload.serverRendered&&i.isHydrating||s.lazy)&&s.immediate?v._nuxtOnBeforeMountCbs.push(d):s.immediate&&d();const y=Fo();if(s.watch){const g=Ht(s.watch,()=>f.refresh());y&&_o(g)}const _=i.hook("app:data:refresh",async g=>{(!g||g.includes(n))&&await f.refresh()});y&&_o(_)}const h=Promise.resolve(i._asyncDataPromises[n]).then(()=>f);return Object.assign(h,f),h}function N4(e,t){t in e.payload.data&&(e.payload.data[t]=void 0),t in e.payload._errors&&(e.payload._errors[t]=As.errorValue),e._asyncData[t]&&(e._asyncData[t].data.value=void 0,e._asyncData[t].error.value=As.errorValue,e._asyncData[t].pending.value=!1,e._asyncData[t].status.value="idle"),t in e._asyncDataPromises&&(e._asyncDataPromises[t]&&(e._asyncDataPromises[t].cancelled=!0),e._asyncDataPromises[t]=void 0)}function P4(e,t){const n={};for(const r of t)n[r]=e[r];return n}function L4(e,t,n){const[r={},s]=typeof t=="string"?[{},t]:[t,n],i=et(()=>dr(e)),o=r.key||IO([s,typeof i.value=="string"?i.value:"",...D4(r)]);if(!o||typeof o!="string")throw new TypeError("[nuxt] [useFetch] key must be a string: "+o);if(!e)throw new Error("[nuxt] [useFetch] request is missing.");const a=o===s?"$f"+o:o;if(!r.baseURL&&typeof i.value=="string"&&i.value[0]==="/"&&i.value[1]==="/")throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:c,lazy:u,default:l,transform:f,pick:d,watch:p,immediate:h,getCachedData:m,deep:v,dedupe:y,..._}=r,g=Xn({...mk,..._,cache:typeof r.cache=="boolean"?void 0:r.cache}),b={server:c,lazy:u,default:l,transform:f,pick:d,immediate:h,getCachedData:m,deep:v,dedupe:y,watch:p===!1?[]:[g,i,...p||[]]};let S;return M4(a,()=>{var k;(k=S==null?void 0:S.abort)==null||k.call(S,new DOMException("Request aborted as another request to the same endpoint was initiated.","AbortError")),S=typeof AbortController<"u"?new AbortController:{};const C=dr(r.timeout);let M;return C&&(M=setTimeout(()=>S.abort(new DOMException("Request aborted due to timeout.","AbortError")),C),S.signal.onabort=()=>clearTimeout(M)),(r.$fetch||globalThis.$fetch)(i.value,{signal:S.signal,...g}).finally(()=>{clearTimeout(M)})},b)}function D4(e){var n;const t=[((n=dr(e.method))==null?void 0:n.toUpperCase())||"GET",dr(e.baseURL)];for(const r of[e.params||e.query]){const s=dr(r);if(!s)continue;const i={};for(const[o,a]of Object.entries(s))i[dr(o)]=dr(a);t.push(i)}return t}const $4=async()=>{const e=CO();return L4("/api/event",{headers:e,key:"api/event"},"$242dCW54Jh")};function F4(e){return _r("event",e)}function o6(){return gt("event")}const B4=kn({__name:"app",async setup(e){let t,n;const{data:r,error:s}=([t,n]=W1(()=>$4()),t=await t,n(),t);if(!r.value)throw Ti({statusCode:500,statusMessage:"Unable to load the website",cause:s.value,fatal:!0});const i=et(()=>{var a;return((a=r.value)==null?void 0:a.brand.domain)==="devworldconference.com"}),o=et(()=>{var a;return((a=r.value)==null?void 0:a.brand.domain)==="viteconf.amsterdam"});return gx({...i&&{script:[{src:"https://plausible.io/js/script.js","data-domain":"devworldconference.com",defer:!0}]},...o&&{script:[{src:"https://plausible.io/js/script.file-downloads.hash.outbound-links.pageview-props.revenue.tagged-events.js","data-domain":"viteconf.amsterdam",defer:!0}]}}),F4(r),Si(()=>{o.value&&(window.plausible=window.plausible||function(){(window.plausible.q=window.plausible.q||[]).push(arguments)})}),(a,c)=>{const u=S4,l=R4;return Ge(),_n(l,null,{default:pd(()=>[qe(u)]),_:1})}}}),j4={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(` 455`).splice(1).map(f=>({text:f.replace("webpack:/","").replace(".vue",".js").trim(),internal:f.includes("node_modules")&&!f.includes(".cache")||f.includes("internal")||f.includes("new Promise")})).map(f=>`<span class="stack${f.internal?" internal":""}">${f.text}</span>`).join(` 456`);const r=Number(n.statusCode||500),s=r===404,i=n.statusMessage??(s?"Page Not Found":"Internal Server Error"),o=n.message||n.toString(),a=void 0,l=s?So(()=>Hn(()=>import("./CCok_YAc.js"),__vite__mapDeps([18,9,19]),import.meta.url)):So(()=>Hn(()=>import("./CEyoXQ-K.js"),__vite__mapDeps([20,21]),import.meta.url));return(f,d)=>(Ge(),_n(Le(l),FT(Iv({statusCode:Le(r),statusMessage:Le(i),description:Le(o),stack:Le(a)})),null,16))}},H4={key:0},l_={__name:"nuxt-root",setup(e){const t=()=>null,n=Ye(),r=n.deferHydration();if(n.isHydrating){const c=n.hooks.hookOnce("app:error",r);Ut().beforeEach(c)}const s=!1;_r(Ho,kd()),n.hooks.callHookWith(c=>c.map(u=>u()),"vue:setup");const i=Xc(),o=!1;ev((c,u,l)=>{if(n.hooks.callHook("vue:error",c,u,l).catch(f=>console.error("[nuxt] Error in `vue:error` hook",f)),n0(c)&&(c.fatal||c.unhandled))return n.runWithContext(()=>ir(c)),!1});const a=!1;return(c,u)=>(Ge(),_n(bd,{onResolve:Le(r)},{default:pd(()=>[Le(o)?(Ge(),Zt("div",H4)):Le(i)?(Ge(),_n(Le(j4),{key:1,error:Le(i)}
456,null,8,["error"])):Le(a)?(Ge(),_n(Le(t),{key:2,context:Le(a)},null,8,["context"])):Le(s)?(Ge(),_n(B1(Le(s)),{key:3})):(Ge(),_n(Le(B4),{key:4}))]),_:1},8,["onResolve"]))}};let u_;{let e;u_=async function(){var o,a;if(e)return e;const r=!!(((o=window.__NUXT__)==null?void 0:o.serverRendered)??((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?aC(l_):qu(l_),s=vk({vueApp:r});async function i(c){var u;await s.callHook("app:error",c),(u=s.payload).error||(u.error=Ti(c))}r.config.errorHandler=i,s.hook("app:suspense:resolve",()=>{r.config.errorHandler===i&&(r.config.errorHandler=void 0)});try{await Sk(s,b4)}catch(c){i(c)}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount(gk),await s.hooks.callHook("app:mounted",r),await Ei()}catch(c){i(c)}return r},e=u_().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{W4 as $,Vc as A,i6 as B,yr as C,V4 as D,So as E,ot as F,q4 as G,vi as H,Hn as I,z4 as J,Iv as K,kd as L,lI as M,Vn as N,mt as O,n6 as P,Ye as Q,un as R,sd as S,P_ as T,X4 as U,J4 as V,rt as W,t6 as X,FC as Y,K4 as Z,na as _,ri as a,n0 as a0,K3 as a1,e6 as a2,CO as a3,_r as a4,Y4 as a5,Ut as a6,gt as a7,Xn as a8,Fo as a9,_o as aa,Ei as ab,pc as ac,Uh as ad,is as ae,Id as af,Uv as ag,os as ah,G4 as ai,Ld as aj,Tm as ak,wi as al,r6 as am,$v as an,Rk as ao,Vu as ap,Td as aq,Q4 as ar,Z4 as as,qe as b,Zt as c,Cv as d,kn as e,W1 as f,Ti as g,_n as h,o6 as i,Ll as j,Le as k,Ht as l,Sd as m,L4 as n,Ge as o,et as p,Gr as q,j1 as r,FT as s,HT as t,gx as u,$_ as v,pd as w,B1 as x,me as y,Si as z};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.