1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./5orlNs0X.js","./error.ro-ezejk.css","./TqqHdWxi.js","./CgjkZkwC.js","./C1NpvOp5.js","./Bg1tBiUb.js","./card-promo.Dxs0OH86.css","./DJzkJkMr.js","./arrow-right.DhT1VDip.css","./benefits.B1W_KaFo.css","./BlhYJxWm.js","./CXwqX8Sr.js","./CHNebVJh.js","./Dyr8np63.js","./D3nlVJpQ.js","./BJXEgHdS.js","./C_MFJKPp.js","./emailQuotation.BQBfPHVz.css","./Ct-NgwGj.js","./emailBenefits.DVBGIuY4.css","./C316exef.js","./CQBGDqJH.js","./YHKRSvoh.js","./useDiscountService.xlWmkTuA.css","./emailGracias.BnP8t7VY.css","./BQUZqsKz.js","./CCbNxBTN.js","./useAvisoService.DILBhZX3.css","./gracias.DeASwGx8.css","./BCzFnjvw.js","./0I0XOeqi.js","./principal.D83IEUIP.css"])))=>i.map(i=>d[i]); 2function e(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return e=>e in t}!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"2f98f52a17435b7dc89dc9f718274213276f5a32"};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="6a471f37-d010-4e80-84f6-cf27e31a1eb4",e._sentryDebugIdIdentifier="sentry-dbid-6a471f37-d010-4e80-84f6-cf27e31a1eb4")}catch(n){}}(),function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver(e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)}).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const t={},n=[],r=()=>{},o=()=>!1,s=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),i=e=>e.startsWith("onUpdate:"),a=Object.assign,c=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},l=Object.prototype.hasOwnProperty,u=(e,t)=>l.call(e,t),d=Array.isArray,p=e=>"[object Map]"===w(e),f=e=>"[object Set]"===w(e),h=e=>"[object Date]"===w(e),m=e=>"function"==typeof e,g=e=>"string"==typeof e,y=e=>"symbol"==typeof e,v=e=>null!==e&&"object"==typeof e,_=e=>(v(e)||m(e))&&m(e.then)&&m(e.catch),b=Object.prototype.toString,w=e=>b.call(e),S=e=>"[object Object]"===w(e),k=e=>g(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,E=e(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),x=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},T=/-\w/g,C=x(e=>e.replace(T,e=>e.slice(1).toUpperCase())),I=/\B([A-Z])/g,A=x(e=>e.replace(I,"-$1").toLowerCase()),R=x(e=>e.charAt(0).toUpperCase()+e.slice(1)),O=x(e=>e?`on${R(e)}`:""),M=(e,t)=>!Object.is(e,t),P=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},L=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},N=e=>{const t=parseFloat(e);return isNaN(t)?e:t},D=e=>{const t=g(e)?Number(e):NaN;return isNaN(t)?e:t};let $;const j=()=>$||($="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function F(e){if(d(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=g(r)?W(r):F(r);if(o)for(const e in o)t[e]=o[e]}return t}if(g(e)||v(e))return e}const B=/;(?![^(]*\))/g,U=/:([^]+)/,H=/"(?:[^"\\]|\\[^])*"|'(?:[^'\\]|\\[^])*'|\\[^]|\/\*[^]*?\*\//g;function W(e){const t={};return e.replace(H,e=>e.startsWith("/*")?"":e).split(B).forEach(e=>{if(e){const n=e.split(U);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function q(e){let t="";if(g(e))t=e;else if(d(e))for(let n=0;n<e.length;n++){const r=q(e[n]);r&&(t+=r+" ")}else if(v(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const z=e("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function V(e){return!!e||""===e}function G(e,t,n){if(e.length!==t.length)return!1;let r=!0;for(let o=0;r&&o<e.length;o++)r=X(e[o],t[o],n);return r}function K(e,t,n){if(e.size!==t.size)return!1;const r=Array.from(t),o=new Uint8Array(r.length);for(const s of e){let e=-1;for(let t=0;t<r.length;t++)if(!o[t]&&X(s,r[t],n)){e=t;break}if(e<0)return!1;o[e]=1}return!0}function J(e,t,n){let r=p(e),o=p(t);
2if(r||o)return!(!r||!o)&&K(e,t,n);if(r=f(e),o=f(t),r||o)return!(!r||!o)&&K(e,t,n);if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const s in e){const r=e.hasOwnProperty(s),o=t.hasOwnProperty(s);if(r&&!o||!r&&o||!X(e[s],t[s],n))return!1}return String(e)===String(t)}function Y(e,t,n,r){n||(n=[new Map,new Map]);const[o,s]=n;if(o.has(e)||s.has(t))return o.get(e)===t&&s.get(t)===e;o.set(e,t),s.set(t,e);const i=r(e,t,n);return o.delete(e),s.delete(t),i}function X(e,t,n){if(e===t)return!0;let r=h(e),o=h(t);return r||o?!(!r||!o)&&e.getTime()===t.getTime():(r=y(e),o=y(t),r||o?e===t:(r=d(e),o=d(t),r||o?!(!r||!o)&&Y(e,t,n,G):(r=v(e),o=v(t),r||o?!(!r||!o)&&Y(e,t,n,J):String(e)===String(t))))}function Q(e,t){return e.findIndex(e=>X(e,t))}const Z=e=>!(!e||!0!==e.__v_isRef),ee=e=>g(e)?e:null==e?"":d(e)||v(e)&&(e.toString===b||!m(e.toString))?Z(e)?ee(e.value):JSON.stringify(e,te,2):String(e),te=(e,t)=>Z(t)?te(e,t.value):p(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[ne(t,r)+" =>"]=n,e),{})}:f(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>ne(e))}:y(t)?ne(t):!v(t)||d(t)||S(t)?t:String(t),ne=(e,t="")=>{var n;return y(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};let re,oe;class se{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&re&&(re.active?(this.parent=re,this.index=(re.scopes||(re.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes){const n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].pause()}for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){let e,t;if(this._isPaused=!1,this.scopes){const n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}const n=this.effects.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}}run(e){if(this._active){const t=re;try{return re=this,e()}finally{re=t}}}on(){1===++this._on&&(this.prevScope=re,re=this)}off(){if(this._on>0&&0===--this._on){if(re===this)re=this.prevScope;else{let e=re;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){let t,n;for(this._active=!1,t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){const e=this.scopes.slice();for(t=0,n=e.length;t<n;t++)e[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}}function ie(){return re}const ae=new WeakSet;class ce{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,re&&(re.active?re.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,ae.has(this)&&(ae.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||pe(this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,xe(this),me(this);const e=oe,t=we;oe=this,we=!0;try{return this.fn()}finally{ge(this),oe=e,we=t,this.flags&=-3}}stop(){if(1&this.flags){for(let e=this.deps;e;e=e.nextDep)_e(e);this.deps=this.depsTail=void 0,xe(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?ae.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ye(this)&&this.run()}get dirty(){return ye(this)}}let le,ue,de=0;function pe(e,t=!1){if(e.flags|=8,t)return e.next=ue,void(ue=e);e.next=le,le=e}function fe(){de++}function he(){if(--de>0)return;if(ue){let e=ue;for(ue=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;le;){let n=le;for(le=void 0;n;){const r=n.next;if(n.next=void 0,n.flags&=-9,1&n.flags)try{n.trigger()}catch(t){e||(e=t)}n=r}}if(e)throw e}function me(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function ge(e){let t,n=e.depsTail,r=n;for(;r;){const e=r.prevDep;-1===r.version?(r===n&&(n=e),_e(r),be(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function ye(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ve(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ve(e){if(4&e.flags&&!(16&e.flags))return;if(e.flags&=-17,e.globalVersion===Te)return;if(e.globalVersion=Te,!e.isSSR&&128&e.flags&&(!e.deps&&!e._dirty||!ye(e)))return;e.flags|=2;const t=e.dep,n=oe,r=we;oe=e,we=!0;try{me(e);const n=e.fn(e._value);(0===t.version||M(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(o){throw t.version++,o}finally{oe=n,we=r,ge(e),e.flags&=-3}}function _e(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)_e(e,!0)}t||--n.sc||!n.map||n.map.delete(n.key)}function be(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let we=!0;const Se=[];function ke(){Se.push(we),we=!1}function Ee(){const e=Se.pop();we=void 0===e||e}function xe(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const e=oe;oe=void 0;try{t()}finally{oe=e}}}let Te=0;class Ce{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Ie{constructor(e){this.computed=e,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(e){if(!oe||!we||oe===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==oe)t=this.activeLink=new Ce(oe,this),oe.deps?(t.prevDep=oe.depsTail,oe.depsTail.nextDep=t,oe.depsTail=t):oe.deps=oe.depsTail=t,Ae(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){const e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=oe.depsTail,t.nextDep=void 0,oe.depsTail.nextDep=t,oe.depsTail=t,oe.deps===t&&(oe.deps=e)}return t}trigger(e){this.version++,Te++,this.notify(e)}notify(e){fe();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{he()}}}function Ae(e){if(e.dep.sc++,4&e.sub.flags){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)Ae(e)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Re=new WeakMap,Oe=Symbol(""),Me=Symbol(""),Pe=Symbol("");function Le(e,t,n){if(we&&oe){let t=Re.get(e);t||Re.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new Ie),r.map=t,r.key=n),r.track()}}function Ne(e,t,n,r,o,s){const i=Re.get(e);if(!i)return void Te++;const a=e=>{e&&e.trigger()};if(fe(),"clear"===t)i.forEach(a);else{const o=d(e),s=o&&k(n);if(o&&"length"===n){const e=Number(r);
2i.forEach((t,n)=>{("length"===n||n===Pe||!y(n)&&n>=e)&&a(t)})}else switch((void 0!==n||i.has(void 0))&&a(i.get(n)),s&&a(i.get(Pe)),t){case"add":o?s&&a(i.get("length")):(a(i.get(Oe)),p(e)&&a(i.get(Me)));break;case"delete":o||(a(i.get(Oe)),p(e)&&a(i.get(Me)));break;case"set":p(e)&&a(i.get(Oe))}}he()}function De(e){const t=bt(e);return t===e?t:(Le(t,0,Pe),vt(e)?t:yt(e)?gt(e)?t.map(e=>St(wt(e))):t.map(St):t.map(wt))}function $e(e){return Le(e=bt(e),0,Pe),e}function je(e,t){return yt(e)?St(gt(e)?wt(t):t):wt(t)}const Fe={__proto__:null,[Symbol.iterator](){return Be(this,Symbol.iterator,e=>je(this,e))},concat(...e){return De(this).concat(...e.map(e=>d(e)?De(e):e))},entries(){return Be(this,"entries",e=>(e[1]=je(this,e[1]),e))},every(e,t){return He(this,"every",e,t,void 0,arguments)},filter(e,t){return He(this,"filter",e,t,e=>e.map(e=>je(this,e)),arguments)},find(e,t){return He(this,"find",e,t,e=>je(this,e),arguments)},findIndex(e,t){return He(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return He(this,"findLast",e,t,e=>je(this,e),arguments)},findLastIndex(e,t){return He(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return He(this,"forEach",e,t,void 0,arguments)},includes(...e){return qe(this,"includes",e)},indexOf(...e){return qe(this,"indexOf",e)},join(e){return De(this).join(e)},lastIndexOf(...e){return qe(this,"lastIndexOf",e)},map(e,t){return He(this,"map",e,t,void 0,arguments)},pop(){return ze(this,"pop")},push(...e){return ze(this,"push",e)},reduce(e,...t){return We(this,"reduce",e,t)},reduceRight(e,...t){return We(this,"reduceRight",e,t)},shift(){return ze(this,"shift")},some(e,t){return He(this,"some",e,t,void 0,arguments)},splice(...e){return ze(this,"splice",e)},toReversed(){return De(this).toReversed()},toSorted(e){return De(this).toSorted(e)},toSpliced(...e){return De(this).toSpliced(...e)},unshift(...e){return ze(this,"unshift",e)},values(){return Be(this,"values",e=>je(this,e))}};function Be(e,t,n){const r=$e(e),o=r[t]();return r===e||vt(e)||(o._next=o.next,o.next=()=>{const e=o._next();return e.done||(e.value=n(e.value)),e}),o}const Ue=Array.prototype;function He(e,t,n,r,o,s){const i=$e(e),a=i!==e&&!vt(e),c=i[t];if(c!==Ue[t]){const t=c.apply(e,s);return a?wt(t):t}let l=n;i!==e&&(a?l=function(t,r){return n.call(this,je(e,t),r,e)}:n.length>2&&(l=function(t,r){return n.call(this,t,r,e)}));const u=c.call(i,l,r);return a&&o?o(u):u}function We(e,t,n,r){const o=$e(e);let s=n,i=!1;o!==e&&(o===e||vt(e)?n.length>3&&(s=function(t,r,o){return n.call(this,t,r,o,e)}):(i=0===r.length,s=function(t,r,o){return i&&(i=!1,t=je(e,t)),n.call(this,t,je(e,r),o,e)}));const a=o[t](s,...r);return i?je(e,a):a}function qe(e,t,n){const r=bt(e);Le(r,0,Pe);const o=r[t](...n);return-1!==o&&!1!==o||!_t(n[0])?o:(n[0]=bt(n[0]),r[t](...n))}function ze(e,t,n=[]){ke(),fe();const r=bt(e)[t].apply(e,n);return he(),Ee(),r}const Ve=e("__proto__,__v_isRef,__isVue"),Ge=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(y));function Ke(e){y(e)||(e=String(e));const t=bt(this);return Le(t,0,e),t.hasOwnProperty(e)}class Je{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if("__v_skip"===t)return e.__v_skip;const r=this._isReadonly,o=this._isShallow;if("__v_isReactive"===t)return!r;if("__v_isReadonly"===t)return r;if("__v_isShallow"===t)return o;if("__v_raw"===t)return n===(r?o?dt:ut:o?lt:ct).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const s=d(e);if(!r){let e;if(s&&(e=Fe[t]))return e;if("hasOwnProperty"===t)return Ke}const i=Reflect.get(e,t,kt(e)?e:n);if(y(t)?Ge.has(t):Ve(t))return i;if(r||Le(e,0,t),o)return i;if(kt(i)){const e=s&&k(t)?i:i.value;return r&&v(e)?ht(e):e}return v(i)?r?ht(i):pt(i):i}}class Ye extends Je{constructor(e=!1){super(!1,e)}set(e,t,n,r){let o=e[t];const s=d(e)&&k(t);if(!this._isShallow){const e=yt(o);if(vt(n)||yt(n)||(o=bt(o),n=bt(n)),!s&&kt(o)&&!kt(n))return e||(o.value=n),!0}const i=s?Number(t)<e.length:u(e,t),a=Reflect.set(e,t,n,kt(e)?e:r);return e===bt(r)&&a&&(i?M(n,o)&&Ne(e,"set",t,n):Ne(e,"add",t,n)),a}deleteProperty(e,t){const n=u(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&Ne(e,"delete",t,void 0),r}has(e,t){const n=Reflect.has(e,t);return y(t)&&Ge.has(t)||Le(e,0,t),n}ownKeys(e){return Le(e,0,d(e)?"length":Oe),Reflect.ownKeys(e)}}class Xe extends Je{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const Qe=new Ye,Ze=new Xe,et=new Ye(!0),tt=e=>e,nt=e=>Reflect.getPrototypeOf(e);function rt(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function ot(e,t){const n=function(e,t){const n={get(n){const r=this.__v_raw,o=bt(r),s=bt(n);e||(M(n,s)&&Le(o,0,n),Le(o,0,s));const{has:i}=nt(o),a=t?tt:e?St:wt;return i.call(o,n)?a(r.get(n)):i.call(o,s)?a(r.get(s)):void(r!==o&&r.get(n))},get size(){const t=this.__v_raw;return!e&&Le(bt(t),0,Oe),t.size},has(t){const n=this.__v_raw,r=bt(n),o=bt(t);return e||(M(t,o)&&Le(r,0,t),Le(r,0,o)),t===o?n.has(t):n.has(t)||n.has(o)}
2,forEach(n,r){const o=this,s=o.__v_raw,i=t?tt:e?St:wt;return!e&&Le(bt(s),0,Oe),s.forEach((e,t)=>n.call(r,i(e),i(t),o))}};return a(n,e?{add:rt("add"),set:rt("set"),delete:rt("delete"),clear:rt("clear")}:{add(e){const n=bt(this),r=nt(n),o=bt(e),s=t||vt(e)||yt(e)?e:o;return r.has.call(n,s)||M(e,s)&&r.has.call(n,e)||M(o,s)&&r.has.call(n,o)||(n.add(s),Ne(n,"add",s,s)),this},set(e,n){t||vt(n)||yt(n)||(n=bt(n));const r=bt(this),{has:o,get:s}=nt(r);let i=o.call(r,e);i||(e=bt(e),i=o.call(r,e));const a=s.call(r,e);return r.set(e,n),i?M(n,a)&&Ne(r,"set",e,n):Ne(r,"add",e,n),this},delete(e){const t=bt(this),{has:n,get:r}=nt(t);let o=n.call(t,e);o||(e=bt(e),o=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return o&&Ne(t,"delete",e,void 0),s},clear(){const e=bt(this),t=0!==e.size,n=e.clear();return t&&Ne(e,"clear",void 0,void 0),n}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=function(e,t,n){return function(...r){const o=this.__v_raw,s=bt(o),i=p(s),c="entries"===e||e===Symbol.iterator&&i,l="keys"===e&&i,u=o[e](...r),d=n?tt:t?St:wt;return!t&&Le(s,0,l?Me:Oe),a(Object.create(u),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:c?[d(e[0]),d(e[1])]:d(e),done:t}}})}}(r,e,t)}),n}(e,t);return(t,r,o)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(u(n,r)&&r in t?n:t,r,o)}const st={get:ot(!1,!1)},it={get:ot(!1,!0)},at={get:ot(!0,!1)},ct=new WeakMap,lt=new WeakMap,ut=new WeakMap,dt=new WeakMap;function pt(e){return yt(e)?e:mt(e,!1,Qe,st,ct)}function ft(e){return mt(e,!1,et,it,lt)}function ht(e){return mt(e,!0,Ze,at,ut)}function mt(e,t,n,r,o){if(!v(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;if(e.__v_skip||!Object.isExtensible(e))return e;const s=o.get(e);if(s)return s;const i=function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(w(e).slice(8,-1));if(0===i)return e;const a=new Proxy(e,2===i?r:n);return o.set(e,a),a}function gt(e){return yt(e)?gt(e.__v_raw):!(!e||!e.__v_isReactive)}function yt(e){return!(!e||!e.__v_isReadonly)}function vt(e){return!(!e||!e.__v_isShallow)}function _t(e){return!!e&&!!e.__v_raw}function bt(e){const t=e&&e.__v_raw;return t?bt(t):e}const wt=e=>v(e)?pt(e):e,St=e=>v(e)?ht(e):e;function kt(e){return!!e&&!0===e.__v_isRef}function Et(e){return Tt(e,!1)}function xt(e){return Tt(e,!0)}function Tt(e,t){return kt(e)?e:new Ct(e,t)}class Ct{constructor(e,t){this.dep=new Ie,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:bt(e),this._value=t?e:wt(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){const t=this._rawValue,n=this.__v_isShallow||vt(e)||yt(e);M(e=n?e:bt(e),t)&&(this._rawValue=e,this._value=n?e:wt(e),this.dep.trigger())}}function It(e){return kt(e)?e.value:e}const At={get:(e,t,n)=>"__v_raw"===t?e:It(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return kt(o)&&!kt(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Rt(e){return gt(e)?e:new Proxy(e,At)}class Ot{constructor(e,t,n){this._object=e,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=y(t)?t:String(t),this._raw=bt(e);let r=!0,o=e;if(!d(e)||y(this._key)||!k(this._key))do{r=!_t(o)||vt(o)}while(r&&(o=o.__v_raw));this._shallow=r}get value(){let e=this._object[this._key];return this._shallow&&(e=It(e)),this._value=void 0===e?this._defaultValue:e}set value(e){if(this._shallow&&kt(this._raw[this._key])){const t=this._object[this._key];if(kt(t))return void(t.value=e)}this._object[this._key]=e}get dep(){return function(e,t){const n=Re.get(e);return n&&n.get(t)}(this._raw,this._key)}}class Mt{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Pt(e,t,n){return kt(e)?e:m(e)?new Mt(e):v(e)&&arguments.length>1?function(e,t,n){return new Ot(e,t,n)}(e,t,n):Et(e)}class Lt{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new Ie(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Te-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags)&&oe!==this)return pe(this,!0),!0}get value(){const e=this.dep.track();return ve(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function Nt(e,t,n=!1){let r,o;return m(e)?r=e:(r=e.get,o=e.set),new Lt(r,o,n)}const Dt={},$t=new WeakMap;let jt;function Ft(e,t=1/0,n){if(t<=0||!v(e)||e.__v_skip)return e;if(((n=n||new Map).get(e)||0)>=t)return e;if(n.set(e,t),t--,kt(e))Ft(e.value,t,n);else if(d(e))for(let r=0;r<e.length;r++)Ft(e[r],t,n);
2else if(f(e)||p(e))e.forEach(e=>{Ft(e,t,n)});else if(S(e)){for(const r in e)Ft(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Ft(e[r],t,n)}return e}function Bt(e,t,n,r){try{return r?e(...r):e()}catch(o){Ht(o,t,n)}}function Ut(e,t,n,r){if(m(e)){const o=Bt(e,t,n,r);return o&&_(o)&&o.catch(e=>{Ht(e,t,n)}),o}if(d(e)){const o=[];for(let s=0;s<e.length;s++)o.push(Ut(e[s],t,n,r));return o}}function Ht(e,n,r,o=!0){n&&n.vnode;const{errorHandler:s,throwUnhandledErrorInProduction:i}=n&&n.appContext.config||t;if(n){let t=n.parent;const o=n.proxy,i=`https://vuejs.org/error-reference/#runtime-${r}`;for(;t;){const n=t.ec;if(n)for(let t=0;t<n.length;t++)if(!1===n[t](e,o,i))return;t=t.parent}if(s)return ke(),Bt(s,null,10,[e,o,i]),void Ee()}!function(e,t,n,r=!0,o=!1){if(o)throw e}(e,0,0,o,i)}const Wt=[];let qt=-1;const zt=[];let Vt=null,Gt=0;const Kt=Promise.resolve();let Jt=null;function Yt(e){const t=Jt||Kt;return e?t.then(this?e.bind(this):e):t}function Xt(e){if(!(1&e.flags)){const t=nn(e),n=Wt[Wt.length-1];!n||!(2&e.flags)&&t>=nn(n)?Wt.push(e):Wt.splice(function(e){let t=qt+1,n=Wt.length;for(;t<n;){const r=t+n>>>1,o=Wt[r],s=nn(o);s<e||s===e&&2&o.flags?t=r+1:n=r}return t}(t),0,e),e.flags|=1,Qt()}}function Qt(){Jt||(Jt=Kt.then(rn))}function Zt(e){if(d(e))for(let t=0;t<e.length;t++)zt.push(e[t]);else Vt&&-1===e.id?Vt.splice(Gt+1,0,e):1&e.flags||(zt.push(e),e.flags|=1);Qt()}function en(e,t,n=qt+1){for(;n<Wt.length;n++){const t=Wt[n];if(t&&2&t.flags){if(e&&t.id!==e.uid)continue;Wt.splice(n,1),n--,4&t.flags&&(t.flags&=-2),t(),4&t.flags||(t.flags&=-2)}}}function tn(e){if(zt.length){const e=[...new Set(zt)].sort((e,t)=>nn(e)-nn(t));if(zt.length=0,Vt){for(let t=0;t<e.length;t++)Vt.push(e[t]);return}for(Vt=e,Gt=0;Gt<Vt.length;Gt++){const e=Vt[Gt];4&e.flags&&(e.flags&=-2),8&e.flags||e(),e.flags&=-2}Vt=null,Gt=0}}const nn=e=>null==e.id?2&e.flags?-1:1/0:e.id;function rn(e){try{for(qt=0;qt<Wt.length;qt++){const e=Wt[qt];!e||8&e.flags||(4&e.flags&&(e.flags&=-2),Bt(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2))}}finally{for(;qt<Wt.length;qt++){const e=Wt[qt];e&&(e.flags&=-2)}qt=-1,Wt.length=0,tn(),Jt=null,(Wt.length||zt.length)&&rn()}}let on=null,sn=null;function an(e){const t=on;return on=e,sn=e&&e.type.__scopeId||null,t}function cn(e,t=on,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&Vo(-1);const o=an(t),s=Uo.length;let i;try{i=e(...n)}finally{for(let e=Uo.length;e>s;e--)qo();an(o),r._d&&Vo(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function ln(e,n){if(null===on)return e;const r=xs(on),o=e.dirs||(e.dirs=[]);for(let s=0;s<n.length;s++){let[e,i,a,c=t]=n[s];e&&(m(e)&&(e={mounted:e,updated:e}),e.deep&&Ft(i),o.push({dir:e,instance:r,value:i,oldValue:void 0,arg:a,modifiers:c}))}return e}function un(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i<o.length;i++){const a=o[i];s&&(a.oldValue=s[i].value);let c=a.dir[r];c&&(ke(),Ut(c,n,8,[e.el,a,e,t]),Ee())}}function dn(e,t){if(hs){let n=hs.provides;const r=hs.parent&&hs.parent.provides;r===n&&(n=hs.provides=Object.create(r)),n[e]=t}}function pn(e,t,n=!1){const r=ms();if(r||Kr){let o=Kr?Kr._context.provides:r?null==r.parent||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&m(t)?t.call(r&&r.proxy):t}}function fn(){return!(!ms()&&!Kr)}const hn=Symbol.for("v-scx");function mn(e,t,n){return gn(e,t,n)}function gn(e,n,o=t){const{immediate:s,deep:i,flush:l,once:u}=o,p=a({},o),f=n&&s||!n&&"post"!==l;let h;if(ws)if("sync"===l){const e=pn(hn);h=e.__watcherHandles||(e.__watcherHandles=[])}else if(!f){const e=()=>{};return e.stop=r,e.resume=r,e.pause=r,e}const g=hs;p.call=(e,t,n)=>Ut(e,g,t,n);let y=!1;"post"===l?p.scheduler=e=>{bo(e,g&&g.suspense)}:"sync"!==l&&(y=!0,p.scheduler=(e,t)=>{t?e():Xt(e)}),p.augmentJob=e=>{n&&(e.flags|=4),y&&(e.flags|=2,g&&(e.id=g.uid,e.i=g))};const v=function(e,n,o=t){const{immediate:s,deep:i,once:a,scheduler:l,augmentJob:u,call:p}=o,f=e=>i?e:vt(e)||!1===i||0===i?Ft(e,1):Ft(e);let h,g,y,v,_=!1,b=!1;if(kt(e)?(g=()=>e.value,_=vt(e)):gt(e)?(g=()=>f(e),_=!0):d(e)?(b=!0,_=e.some(e=>gt(e)||vt(e)),g=()=>e.map(e=>kt(e)?e.value:gt(e)?f(e):m(e)?p?p(e,2):e():void 0)):g=m(e)?n?p?()=>p(e,2):e:()=>{if(y){ke();try{y()}finally{Ee()}}const t=jt;jt=h;try{return p?p(e,3,[v]):e(v)}finally{jt=t}}:r,n&&i){const e=g,t=!0===i?1/0:i;g=()=>Ft(e(),t)}const w=ie(),S=()=>{h.stop(),w&&w.active&&c(w.effects,h)};if(a&&n){const e=n;n=(...t)=>{const n=e(...t);return S(),n}}let k=b?new Array(e.length).fill(Dt):Dt;const E=e=>{if(1&h.flags&&(h.dirty||e))if(n){const t=h.run();if(e||i||_||(b?t.some((e,t)=>M(e,k[t])):M(t,k))){y&&y();const e=jt;jt=h;try{const e=[t,k===Dt?void 0:b&&k[0]===Dt?[]:k,v];k=t,p?p(n,3,e):n(...e)}
2finally{jt=e}}}else h.run()};return u&&u(E),h=new ce(g),h.scheduler=l?()=>l(E,!1):E,v=e=>function(e,t=!1,n=jt){if(n){let t=$t.get(n);t||$t.set(n,t=[]),t.push(e)}}(e,!1,h),y=h.onStop=()=>{const e=$t.get(h);if(e){if(p)p(e,4);else for(const t of e)t();$t.delete(h)}},n?s?E(!0):k=h.run():l?l(E.bind(null,!0),!0):h.run(),S.pause=h.pause.bind(h),S.resume=h.resume.bind(h),S.stop=S,S}(e,n,p);return ws&&(h?h.push(v):f&&v()),v}function yn(e,t,n){const r=this.proxy,o=g(e)?e.includes(".")?vn(r,e):()=>r[e]:e.bind(r,r);let s;m(t)?s=t:(s=t.handler,n=t);const i=vs(this),a=gn(o,s.bind(r),n);return i(),a}function vn(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}const _n=Symbol("_vte"),bn=e=>e.__isTeleport,wn=Symbol("_leaveCb"),Sn=Symbol("_enterCb"),kn=[Function,Array],En={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:kn,onEnter:kn,onAfterEnter:kn,onEnterCancelled:kn,onBeforeLeave:kn,onLeave:kn,onAfterLeave:kn,onLeaveCancelled:kn,onBeforeAppear:kn,onAppear:kn,onAfterAppear:kn,onAppearCancelled:kn},xn=e=>{const t=e.subTree;return t.component?xn(t.component):t};function Tn(e){let t=e[0];if(e.length>1)for(const n of e)if(n.type!==Fo){t=n;break}return t}const Cn={name:"BaseTransition",props:En,setup(e,{slots:t}){const n=ms(),r=function(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return pr(()=>{e.isMounted=!0}),mr(()=>{e.isUnmounting=!0}),e}();return()=>{const o=t.default&&Pn(t.default(),!0),s=o&&o.length?Tn(o):n.subTree?is():void 0;if(!s)return;const i=bt(e),{mode:a}=i;if(r.isLeaving)return Rn(s);const c=On(s);if(!c)return Rn(s);let l=An(c,i,r,n,e=>l=e);c.type!==Fo&&Mn(c,l);let u=n.subTree&&On(n.subTree);if(u&&u.type!==Fo&&!Xo(u,c)&&xn(n).type!==Fo){let e=An(u,i,r,n);if(Mn(u,e),"out-in"===a&&c.type!==Fo)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,8&n.job.flags||n.update(),delete e.afterLeave,u=void 0},Rn(s);"in-out"===a&&c.type!==Fo?e.delayLeave=(e,t,n)=>{In(r,u)[String(u.key)]=u,e[wn]=()=>{t(),e[wn]=void 0,delete l.delayedLeave,u=void 0},l.delayedLeave=()=>{n(),delete l.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return s}}};function In(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 An(e,t,n,r,o){const{appear:s,mode:i,persisted:a=!1,onBeforeEnter:c,onEnter:l,onAfterEnter:u,onEnterCancelled:p,onBeforeLeave:f,onLeave:h,onAfterLeave:m,onLeaveCancelled:g,onBeforeAppear:y,onAppear:v,onAfterAppear:_,onAppearCancelled:b}=t,w=String(e.key),S=In(n,e),k=(e,t)=>{e&&Ut(e,r,9,t)},E=(e,t)=>{const n=t[1];k(e,t),d(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},x={mode:i,persisted:a,beforeEnter(t){let r=c;if(!n.isMounted){if(!s)return;r=y||c}t[wn]&&t[wn](!0);const o=S[w];o&&Xo(e,o)&&o.el[wn]&&o.el[wn](),k(r,[t])},enter(t){if(S[w]===e)return;let r=l,o=u,i=p;if(!n.isMounted){if(!s)return;r=v||l,o=_||u,i=b||p}let a=!1;t[Sn]=e=>{a||(a=!0,k(e?i:o,[t]),x.delayedLeave&&x.delayedLeave(),t[Sn]=void 0)};const c=t[Sn].bind(null,!1);r?E(r,[t,c]):c()},leave(t,r){const o=String(e.key);if(t[Sn]&&t[Sn](!0),n.isUnmounting)return r();k(f,[t]);let s=!1;t[wn]=n=>{s||(s=!0,r(),k(n?g:m,[t]),t[wn]=void 0,S[o]===e&&delete S[o])};const i=t[wn].bind(null,!1);S[o]=e,h?E(h,[t,i]):i()},clone(e){const s=An(e,t,n,r,o);return o&&o(s),s}};return x}function Rn(e){if(er(e))return(e=rs(e)).children=null,e}function On(e){if(!er(e))return bn(e.type)&&e.children?Tn(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(16&t)return n[0];if(32&t&&m(n.default))return n.default()}}function Mn(e,t){if(6&e.shapeFlag&&e.component){e.transition=t;const n=e.component.subTree;Mn(bn(n.type)&&On(n)||n,t)}else 128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Pn(e,t=!1,n){let r=[],o=0;for(let s=0;s<e.length;s++){let i=e[s];const a=null==n?i.key:String(n)+String(null!=i.key?i.key:s);i.type===$o?(128&i.patchFlag&&o++,r=r.concat(Pn(i.children,t,a))):(t||i.type!==Fo)&&r.push(null!=a?rs(i,{key:a}):i)}if(o>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}function Ln(e,t){return m(e)?(()=>a({name:e.name},t,{setup:e}))():e}
2function Nn(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Dn(e,t){let n;return!(!(n=Object.getOwnPropertyDescriptor(e,t))||n.configurable)}const $n=new WeakMap;function jn(e,n,r,s,i=!1){if(d(e))return void e.forEach((e,t)=>jn(e,n&&(d(n)?n[t]:n),r,s,i));if(Xn(s)&&!i)return void(512&s.shapeFlag&&s.type.__asyncResolved&&s.component.subTree.component&&jn(e,n,r,s.component.subTree));const a=4&s.shapeFlag?xs(s.component):s.el,l=i?null:a,{i:p,r:f}=e,h=n&&n.r,y=p.refs===t?p.refs={}:p.refs,v=p.setupState,_=bt(v),b=v===t?o:e=>!Dn(y,e)&&u(_,e),w=(e,t)=>!t||!Dn(y,t);if(null!=h&&h!==f)if(Fn(n),g(h))y[h]=null,b(h)&&(v[h]=null);else if(kt(h)){const e=n;w(0,e.k)&&(h.value=null),e.k&&(y[e.k]=null)}if(m(f))Bt(f,p,12,[l,y]);else{const t=g(f),n=kt(f);if(t||n){const o=()=>{if(e.f){const n=t?b(f)?v[f]:y[f]:w()||!e.k?f.value:y[e.k];if(i)d(n)&&c(n,a);else if(d(n))n.includes(a)||n.push(a);else if(t)y[f]=[a],b(f)&&(v[f]=y[f]);else{const t=[a];w(0,e.k)&&(f.value=t),e.k&&(y[e.k]=t)}}else t?(y[f]=l,b(f)&&(v[f]=l)):n&&(w(0,e.k)&&(f.value=l),e.k&&(y[e.k]=l))};if(l){const t=()=>{o(),$n.delete(e)};t.id=-1,$n.set(e,t),bo(t,r)}else Fn(e),o()}}}function Fn(e){const t=$n.get(e);t&&(t.flags|=8,$n.delete(e))}let Bn=!1;const Un=()=>{Bn||(Bn=!0)},Hn=e=>{if(1===e.nodeType)return(e=>e.namespaceURI.includes("svg")&&"foreignObject"!==e.tagName)(e)?"svg":(e=>e.namespaceURI.includes("MathML"))(e)?"mathml":void 0},Wn=e=>8===e.nodeType;function qn(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:i,parentNode:a,remove:c,insert:l,createComment:u}}=e,d=(n,r,s,c,u,_=!1)=>{_=_||!!r.dynamicChildren;const b=Wn(n)&&"["===n.data,w=()=>m(n,r,s,c,u,b),{type:S,ref:k,shapeFlag:E,patchFlag:x}=r;let T=n.nodeType;r.el=n,-2===x&&(_=!1,r.dynamicChildren=null);let C=null;switch(S){case jo:3!==T?""===r.children?(l(r.el=o(""),a(n),n),C=n):C=w():(n.data!==r.children&&(Un(),n.data=r.children),C=i(n));break;case Fo:v(n)?(C=i(n),y(r.el=n.content.firstChild,n,s)):C=8!==T||b?w():i(n);break;case Bo:if(b&&(T=(n=i(n)).nodeType),1===T||3===T){C=n;const e=!r.children.length;for(let t=0;t<r.staticCount;t++)e&&(r.children+=1===C.nodeType?C.outerHTML:C.data),t===r.staticCount-1&&(r.anchor=C),C=i(C);return b?i(C):C}w();break;case $o:C=b?h(n,r,s,c,u,_):w();break;default:if(1&E)C=1===T&&r.type.toLowerCase()===n.tagName.toLowerCase()||v(n)?p(n,r,s,c,u,_):w();else if(6&E){r.slotScopeIds=u;const e=a(n);if(C=b?g(n):Wn(n)&&"teleport start"===n.data?g(n,n.data,"teleport end"):i(n),t(r,e,null,s,c,Hn(e),_),(Xn(r)||r.component.asyncDep)&&!r.component.subTree){let t;b?(t=ts(Bo),t.anchor=C?C.previousSibling:e.lastChild):t=3===n.nodeType?os(""):ts(8===n.nodeType?Fo:"div"),t.el=n,r.component.subTree=t}}else 64&E?C=8!==T?w():r.type.hydrate(n,r,s,c,u,_,e,f):128&E&&(C=r.type.hydrate(n,r,s,c,Hn(a(n)),u,_,e,d))}return null!=k&&jn(k,null,c,r),C},p=(e,t,n,o,i,a)=>{a=a||!!t.dynamicChildren;const{type:l,dynamicProps:u,props:d,patchFlag:p,shapeFlag:h,dirs:m,transition:g}=t,_="input"===l||"option"===l,b=!!u;if(_||b||-1!==p){m&&un(t,null,n,"created");let l,w=!1;if(v(e)){w=Eo(null,g)&&n&&n.vnode.props&&n.vnode.props.appear;const r=e.content.firstChild;if(w){const e=r.getAttribute("class");e&&(r.$cls=e),g.beforeEnter(r)}y(r,e,n),t.el=e=r}if(16&h&&(!d||!d.innerHTML&&!d.textContent)){let r=f(e.firstChild,t,e,n,o,i,a);for(r&&!Jn(e,1)&&Un();r;){const e=r;r=r.nextSibling,c(e)}}else if(8&h){let n=t.children;"\n"!==n[0]||"PRE"!==e.tagName&&"TEXTAREA"!==e.tagName||(n=n.slice(1));const{textContent:r}=e;r!==n&&r!==n.replace(/\r\n|\r/g,"\n")&&(Jn(e,0)||Un(),e.textContent=t.children)}if(d)if(_||b||!a||48&p){const t=e.tagName.includes("-"),o=e.namespaceURI.includes("svg")?"svg":e.namespaceURI.includes("MathML")?"mathml":void 0;for(const i in d)if(_&&(i.endsWith("value")||"indeterminate"===i)||s(i)&&!E(i)||"."===i[0]||t&&!E(i)||u&&u.includes(i)){if(Vn(e,i,d[i]))continue;r(e,i,null,d[i],o,n)}}else if(d.onClick)r(e,"onClick",null,d.onClick,void 0,n);else if(4&p&>(d.style))for(const e in d.style)d.style[e];(l=d&&d.onVnodeBeforeMount)&&ds(l,n,t),m&&un(t,null,n,"beforeMount"),((l=d&&d.onVnodeMounted)||m||w)&&No(()=>
2{l&&ds(l,n,t),w&&g.enter(e),m&&un(t,null,n,"mounted")},o)}return e.nextSibling},f=(e,t,r,s,a,c,u)=>{u=u||!!t.dynamicChildren;const p=t.children,f=p.length;let h=!1;for(let m=0;m<f;m++){const t=u?p[m]:p[m]=as(p[m]),g=t.type===jo;e?(g&&!u&&m+1<f&&as(p[m+1]).type===jo&&(l(o(e.data.slice(t.children.length)),r,i(e)),e.data=t.children),e=d(e,t,s,a,c,u)):g&&!t.children?l(t.el=o(""),r):(h||(h=!0,Jn(r,1)||Un()),n(null,t,r,null,s,a,Hn(r),c))}return e},h=(e,t,n,r,o,s)=>{const{slotScopeIds:c}=t;c&&(o=o?o.concat(c):c);const d=a(e),p=f(i(e),t,d,n,r,o,s);return p&&Wn(p)&&"]"===p.data?i(t.anchor=p):(Un(),l(t.anchor=u("]"),d,p),p)},m=(e,t,r,o,s,l)=>{if(function(e,t){return Jn(e.parentElement,1)||function(e){return 1===e.nodeType&&Yn(e.getAttribute(Gn),1)}(e)||function({props:e}){const t=e&&e[Gn];return"string"==typeof t&&Yn(t,1)}(t)}(e,t)||Un(),t.el=null,l){const t=g(e);for(;;){const n=i(e);if(!n||n===t)break;c(n)}}const u=i(e),d=a(e);return c(e),n(null,t,d,u,r,o,Hn(d),s),r&&(r.vnode.el=t.el,oo(r,t.el)),u},g=(e,t="[",n="]")=>{let r=0;for(;e;)if((e=i(e))&&Wn(e)&&(e.data===t&&r++,e.data===n)){if(0===r)return i(e);r--}return e},y=(e,t,n)=>{const r=t.parentNode;r&&r.replaceChild(e,t);let o=n;for(;o;)o.vnode.el===t&&(o.vnode.el=o.subTree.el=e),o=o.parent},v=e=>1===e.nodeType&&"TEMPLATE"===e.tagName;return[(e,t)=>{if(!t.hasChildNodes())return n(null,e,t),tn(),void(t._vnode=e);d(t.firstChild,e,null,null,null),tn(),t._vnode=e},d]}const zn=new Set(["src","srcset","href","poster"]);function Vn(e,t,n){return!!zn.has(t)&&e.getAttribute(t)===(null==n?null:`${n}`)}const Gn="data-allow-mismatch",Kn={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Jn(e,t){if(0===t||1===t)for(;e&&!e.hasAttribute(Gn);)e=e.parentElement;return Yn(e&&e.getAttribute(Gn),t)}function Yn(e,t){if(null==e)return!1;if(""===e)return!0;{const n=e.split(",");return!(0!==t||!n.includes("children"))||n.includes(Kn[t])}}j().requestIdleCallback,j().cancelIdleCallback;const Xn=e=>!!e.type.__asyncLoader;function Qn(e){m(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,hydrate:s,timeout:i,suspensible:a=!0,onError:c}=e;let l,u=null,d=0;const p=()=>{let e;return u||(e=u=t().catch(e=>{if(e=e instanceof Error?e:new Error(String(e)),c)return new Promise((t,n)=>{c(e,()=>t((d++,u=null,p())),()=>n(e),d+1)});throw e}).then(t=>e!==u&&u?u:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),l=t,t)))};return Ln({name:"AsyncComponentWrapper",__asyncLoader:p,__asyncHydrate(e,t,n){const r=e.isConnected;let o=!1;(t.bu||(t.bu=[])).push(()=>o=!0);const i=()=>{o||!e.parentNode||r&&!e.isConnected||n()},a=s?()=>{const n=s(i,t=>function(e,t){if(Wn(e)&&"["===e.data){let n=1,r=e.nextSibling;for(;r;){if(1===r.nodeType){if(!1===t(r))break}else if(Wn(r))if("]"===r.data){if(0===--n)break}else"["===r.data&&n++;r=r.nextSibling}}else t(e)}(e,t));n&&(t.bum||(t.bum=[])).push(n)}:i;l?a():p().then(()=>!t.isUnmounted&&a())},get __asyncResolved(){return l},setup(){const e=hs;if(Nn(e),l)return()=>Zn(l,e);const t=t=>{u=null,Ht(t,e,13,!r)};if(a&&e.suspense||ws)return p().then(t=>()=>Zn(t,e)).catch(e=>(t(e),()=>r?ts(r,{error:e}):null));const s=Et(!1),c=Et(),d=Et(!!o);let f,h;return gr(()=>{null!=f&&clearTimeout(f),null!=h&&clearTimeout(h)}),o&&(h=setTimeout(()=>{e.isUnmounted||(d.value=!1)},o)),null!=i&&(f=setTimeout(()=>{if(!e.isUnmounted&&!s.value&&!c.value){const e=new Error(`Async component timed out after ${i}ms.`);t(e),c.value=e}},i)),p().then(()=>{e.isUnmounted||(s.value=!0,e.parent&&er(e.parent.vnode)&&e.parent.update())}).catch(n=>{e.isUnmounted?u=null:(t(n),c.value=n)}),()=>s.value&&l?Zn(l,e):c.value&&r?ts(r,{error:c.value}):n&&!d.value?Zn(n,e):void 0}})}function Zn(e,t){const{ref:n,props:r,children:o,ce:s}=t.vnode,i=ts(e,r,o);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const er=e=>e.type.__isKeepAlive,tr={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=ms(),r=n.ctx;if(!r.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const o=new Map,s=new Set;let i=null;const a=n.suspense,{renderer:{p:c,m:l,um:u,o:{createElement:d}}}=r,p=d("div");function f(e){ar(e),u(e,n,a,!0)}function h(e){o.forEach((t,n)=>{const r=Ts(Xn(t)?t.type.__asyncResolved||{}:t.type);r&&!e(r)&&m(n)})}function m(e){const t=o.get(e);!t||i&&Xo(t,i)?i&&ar(i):f(t),o.delete(e),s.delete(e)}r.activate=(e,t,n,r,o)=>{const s=e.component;l(e,t,n,0,a),c(s.vnode,e,t,n,s,a,r,e.slotScopeIds,o),bo(()=>{s.isDeactivated=!1,s.a&&P(s.a);const t=e.props&&e.props.onVnodeMounted;t&&ds(t,s.parent,e)},a)},r.deactivate=e=>{const t=e.component;Co(t.m),Co(t.a),l(e,p,null,1,a),bo(()=>{t.da&&P(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&ds(n,t.parent,e),t.isDeactivated=!0},a)},mn(()=>[e.include,e.exclude],([e,t])=>{e&&h(t=>nr(e,t)),t&&h(e=>!nr(t,e))},{flush:"post",deep:!0});let g=null;const y=()=>{null!=g&&(Ao(n.subTree.type)?bo(()=>{const e=cr(n.subTree);e.component&&o.set(g,e)},n.subTree.suspense):o.set(g,cr(n.subTree)))};return pr(y),hr(y),mr(()=>
2{o.forEach(e=>{const{subTree:t,suspense:r}=n,o=cr(t);if(e.type===o.type&&e.key===o.key){ar(o);const e=o.component.da;return void(e&&bo(e,r))}f(e)})}),()=>{if(g=null,!t.default)return i=null;const n=t.default(),r=n[0];if(n.length>1)return i=null,n;if(!Yo(r)||!(4&r.shapeFlag||128&r.shapeFlag))return i=null,r;let a=cr(r);if(a.type===Fo)return i=null,a;const c=a.type,l=Ts(Xn(a)?a.type.__asyncResolved||{}:c),{include:u,exclude:d,max:p}=e;if(u&&(!l||!nr(u,l))||d&&l&&nr(d,l))return a.shapeFlag&=-257,i=a,r;const f=null==a.key?c:a.key,h=o.get(f);return a.el&&(a=rs(a),128&r.shapeFlag&&(r.ssContent=a)),g=f,h?(a.el=h.el,a.component=h.component,a.transition&&Mn(a,a.transition),a.shapeFlag|=512,s.delete(f),s.add(f)):(s.add(f),p&&s.size>parseInt(p,10)&&m(s.values().next().value)),a.shapeFlag|=256,i=a,Ao(r.type)?r:a}}};function nr(e,t){return d(e)?e.some(e=>nr(e,t)):g(e)?e.split(",").includes(t):"[object RegExp]"===w(e)&&(e.lastIndex=0,e.test(t))}function rr(e,t){sr(e,"a",t)}function or(e,t){sr(e,"da",t)}function sr(e,t,n=hs){const r=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(lr(t,r,n),n){let e=n.parent;for(;e&&e.parent;)er(e.parent.vnode)&&ir(r,t,n,e),e=e.parent}}function ir(e,t,n,r){const o=lr(t,e,r,!0);gr(()=>{c(r[t],o)},n)}function ar(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function cr(e){return 128&e.shapeFlag?e.ssContent:e}function lr(e,t,n=hs,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...r)=>{ke();const o=vs(n),s=Ut(t,n,e,r);return o(),Ee(),s});return r?o.unshift(s):o.push(s),s}}const ur=e=>(t,n=hs)=>{ws&&"sp"!==e||lr(e,(...e)=>t(...e),n)},dr=ur("bm"),pr=ur("m"),fr=ur("bu"),hr=ur("u"),mr=ur("bum"),gr=ur("um"),yr=ur("sp"),vr=ur("rtg"),_r=ur("rtc");function br(e,t=hs){lr("ec",e,t)}const wr="components";function Sr(e,t){return Er(wr,e,!0,t)||e}const kr=Symbol.for("v-ndc");function Er(e,t,n=!0,r=!1){const o=on||hs;if(o){const n=o.type;{const e=Ts(n,!1);if(e&&(e===t||e===C(t)||e===R(C(t))))return n}const s=xr(o[e]||n[e],t)||xr(o.appContext[e],t);return!s&&r?n:s}}function xr(e,t){return e&&(e[t]||e[C(t)]||e[R(C(t))])}function Tr(e,t,n,r){let o;const s=n,i=d(e);if(i||g(e)){let n=!1,r=!1;i&>(e)&&(n=!vt(e),r=yt(e),e=$e(e)),o=new Array(e.length);for(let i=0,a=e.length;i<a;i++)o[i]=t(n?r?St(wt(e[i])):wt(e[i]):e[i],i,void 0,s)}else if("number"==typeof e){o=new Array(e);for(let n=0;n<e;n++)o[n]=t(n+1,n,void 0,s)}else if(v(e))if(e[Symbol.iterator])o=Array.from(e,(e,n)=>t(e,n,void 0,s));else{const n=Object.keys(e);o=new Array(n.length);for(let r=0,i=n.length;r<i;r++){const i=n[r];o[r]=t(e[i],i,r,s)}}else o=[];return o}function Cr(e,t,n,r,o,s){if(null==n&&(n={}),on.ce||on.parent&&Xn(on.parent)&&on.parent.ce){const e=n,t=Object.keys(e).length>0;return Wo(),Jo($o,null,[ts("slot",e,r)],t?-2:64)}let i=e[t];i&&i._c&&(i._d=!1);const a=Uo.length;let c;Wo();try{const o=i&&Ir(i(n)),a=n.key||s||o&&o.key;c=Jo($o,{key:(a&&!y(a)?a:`_${t}`)+(!o&&r?"_fb":"")},o||(r?r():[]),o&&1===e._?64:-2)}catch(l){for(let e=Uo.length;e>a;e--)qo();throw l}finally{i&&i._c&&(i._d=!0)}return c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),c}function Ir(e){return e.some(e=>!Yo(e)||e.type!==Fo&&!(e.type===$o&&!Ir(e.children)))?e:null}const Ar=e=>e?bs(e)?xs(e):Ar(e.parent):null,Rr=a(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=>Ar(e.parent),$root:e=>Ar(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>$r(e),$forceUpdate:e=>e.f||(e.f=()=>{Xt(e.update)}),$nextTick:e=>e.n||(e.n=Yt.bind(e.proxy)),$watch:e=>yn.bind(e)}),Or=(e,n)=>e!==t&&!e.__isScriptSetup&&u(e,n),Mr={get({_:e},n){if("__v_skip"===n)return!0;const{ctx:r,setupState:o,data:s,props:i,accessCache:a,type:c,appContext:l}=e;if("$"!==n[0]){const e=a[n];if(void 0!==e)switch(e){case 1:return o[n];case 2:return s[n];case 4:return r[n];case 3:return i[n]}else{if(Or(o,n))return a[n]=1,o[n];if(s!==t&&u(s,n))return a[n]=2,s[n];if(u(i,n))return a[n]=3,i[n];if(r!==t&&u(r,n))return a[n]=4,r[n];Lr&&(a[n]=0)}}const d=Rr[n];let p,f;return d?("$attrs"===n&&Le(e.attrs,0,""),d(e)):(p=c.__cssModules)&&(p=p[n])?p:r!==t&&u(r,n)?(a[n]=4,r[n]):(f=l.config.globalProperties,u(f,n)?f[n]:void 0)},set({_:e},n,r){const{data:o,setupState:s,ctx:i}=e;return Or(s,n)?(s[n]=r,!0):o!==t&&u(o,n)?(o[n]=r,!0):!(u(e.props,n)||"$"===n[0]&&n.slice(1)in e||(i[n]=r,0)
vendor: 4,162 bytes, line 2
2)},has({_:{data:e,setupState:n,accessCache:r,ctx:o,appContext:s,props:i,type:a}},c){let l;return!!(r[c]||e!==t&&"$"!==c[0]&&u(e,c)||Or(n,c)||u(i,c)||u(o,c)||u(Rr,c)||u(s.config.globalProperties,c)||(l=a.__cssModules)&&l[c])},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:u(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Pr(e){return d(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}let Lr=!0;function Nr(e,t,n){Ut(d(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function Dr(e,t,n,r){let o=r.includes(".")?vn(n,r):()=>n[r];if(g(e)){const n=t[e];m(n)&&mn(o,n)}else if(m(e))mn(o,e.bind(n));else if(v(e))if(d(e))e.forEach(e=>Dr(e,t,n,r));else{const r=m(e.handler)?e.handler.bind(n):t[e.handler];m(r)&&mn(o,r,e)}}function $r(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,a=s.get(t);let c;return a?c=a:o.length||n||r?(c={},o.length&&o.forEach(e=>jr(c,e,i,!0)),jr(c,t,i)):c=t,v(t)&&s.set(t,c),c}function jr(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&jr(e,s,n,!0),o&&o.forEach(t=>jr(e,t,n,!0));for(const i in t)if(r&&"expose"===i);else{const r=Fr[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}const Fr={data:Br,props:qr,emits:qr,methods:Wr,computed:Wr,beforeCreate:Hr,created:Hr,beforeMount:Hr,mounted:Hr,beforeUpdate:Hr,updated:Hr,beforeDestroy:Hr,beforeUnmount:Hr,destroyed:Hr,unmounted:Hr,activated:Hr,deactivated:Hr,errorCaptured:Hr,serverPrefetch:Hr,components:Wr,directives:Wr,watch:function(e,t){if(!e)return t;if(!t)return e;const n=a(Object.create(null),e);for(const r in t)n[r]=Hr(e[r],t[r]);return n},provide:Br,inject:function(e,t){return Wr(Ur(e),Ur(t))}};function Br(e,t){return t?e?function(){return a(m(e)?e.call(this,this):e,m(t)?t.call(this,this):t)}:t:e}function Ur(e){if(d(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Hr(e,t){return e?[...new Set([].concat(e,t))]:t}function Wr(e,t){return e?a(Object.create(null),e,t):t}function qr(e,t){return e?d(e)&&d(t)?[...new Set([...e,...t])]:a(Object.create(null),Pr(e),Pr(null!=t?t:{})):t}function zr(){return{app:null,config:{isNativeTag:o,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 Vr=0;function Gr(e,t){return function(n,r=null){m(n)||(n=a({},n)),null==r||v(r)||(r=null);const o=zr(),s=new WeakSet,i=[];let c=!1;const l=o.app={_uid:Vr++,_component:n,_props:r,_container:null,_context:o,_instance:null,version:As,get config(){return o.config},set config(e){},use:(e,...t)=>(s.has(e)||(e&&m(e.install)?(s.add(e),e.install(l,...t)):m(e)&&(s.add(e),e(l,...t))),l),mixin:e=>(o.mixins.includes(e)||o.mixins.push(e),l),component:(e,t)=>t?(o.components[e]=t,l):o.components[e],directive:(e,t)=>t?(o.directives[e]=t,l):o.directives[e],mount(s,i,a){if(!c){const u=l._ceVNode||ts(n,r);return u.appContext=o,!0===a?a="svg":!1===a&&(a=void 0),i&&t?t(u,s):e(u,s,a),c=!0,l._container=s,s.__vue_app__=l,xs(u.component)}},onUnmount(e){i.push(e)},unmount(){c&&(Ut(i,l._instance,16),e(null,l._container),delete l._container.__vue_app__)},provide:(e,t)=>(o.provides[e]=t,l),runWithContext(e){const t=Kr;Kr=l;try{return e()}finally{Kr=t}}};return l}}let Kr=null;function Jr(e,n,...r){if(e.isUnmounted)return;const o=e.vnode.props||t;let s=r;const i=n.startsWith("update:"),a=i&&((e,t)=>"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${C(t)}Modifiers`]||e[`${A(t)}Modifiers`])(o,n.slice(7));let c;a&&(a.trim&&(s=r.map(e=>g(e)?e.trim():e)),a.number&&(s=s.map(N)));let l=o[c=O(n)]||o[c=O(C(n))];!l&&i&&(l=o[c=O(A(n))]),l&&Ut(l,e,6,s);const u=o[c+"Once"];if(u){if(e.emitted){if(e.emitted[c])return}else e.emitted={};e.emitted[c]=!0,Ut(u,e,6,s)}}const Yr=new WeakMap;function Xr(e,t,n=!1){const r=n?Yr:t.emitsCache,o=r.get(e);if(void 0!==o)return o;const s=e.emits;let i={},c=!1;if(!m(e)){const r=e=>{const n=Xr(e,t,!0);n&&(c=!0,a(i,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}
2return s||c?(d(s)?s.forEach(e=>i[e]=null):a(i,s),v(e)&&r.set(e,i),i):(v(e)&&r.set(e,null),null)}function Qr(e,t){return!(!e||!s(t))&&(t="Once"===(t=t.slice(2))?t:t.replace(/Once$/,""),u(e,t[0].toLowerCase()+t.slice(1))||u(e,A(t))||u(e,t))}function Zr(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[s],slots:a,attrs:c,emit:l,render:u,renderCache:d,props:p,data:f,setupState:h,ctx:m,inheritAttrs:g}=e,y=an(e);let v,_;try{if(4&n.shapeFlag){const e=o||r,t=e;v=as(u.call(t,e,d,p,h,f,m)),_=c}else{const e=t;v=as(e.length>1?e(p,{attrs:c,slots:a,emit:l}):e(p,null)),_=t.props?c:eo(c)}}catch(w){Uo.length=0,Ht(w,e,1),v=ts(Fo)}let b=v;if(_&&!1!==g){const e=Object.keys(_),{shapeFlag:t}=b;e.length&&7&t&&(s&&e.some(i)&&(_=to(_,s)),b=rs(b,_,!1,!0))}return n.dirs&&(b=rs(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&Mn(bn(b.type)&&On(b)||b,n.transition),v=b,an(y),v}const eo=e=>{let t;for(const n in e)("class"===n||"style"===n||s(n))&&((t||(t={}))[n]=e[n]);return t},to=(e,t)=>{const n={};for(const r in e)i(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function no(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const s=r[o];if(ro(t,e,s)&&!Qr(n,s))return!0}return!1}function ro(e,t,n){const r=e[n],o=t[n];return"style"===n&&v(r)&&v(o)?!X(r,o):r!==o}function oo({vnode:e,parent:t,suspense:n},r){for(;t;){const n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.suspense.vnode.el=n.el=r,e=n),n!==e)break;(e=t.vnode).el=r,t=t.parent}n&&n.activeBranch===e&&(n.vnode.el=r)}const so={},io=()=>Object.create(so),ao=e=>Object.getPrototypeOf(e)===so;function co(e,n,r,o){const[s,i]=e.propsOptions;let a,c=!1;if(n)for(let t in n){if(E(t))continue;const l=n[t];let d;s&&u(s,d=C(t))?i&&i.includes(d)?(a||(a={}))[d]=l:r[d]=l:Qr(e.emitsOptions,t)||t in o&&l===o[t]||(o[t]=l,c=!0)}if(i){const n=bt(r),o=a||t;for(let t=0;t<i.length;t++){const a=i[t];r[a]=lo(s,n,a,o[a],e,!u(o,a))}}return c}function lo(e,t,n,r,o,s){const i=e[n];if(null!=i){const e=u(i,"default");if(e&&void 0===r){const e=i.default;if(i.type!==Function&&!i.skipFactory&&m(e)){const{propsDefaults:s}=o;if(n in s)r=s[n];else{const i=vs(o);r=s[n]=e.call(null,t),i()}}else r=e;o.ce&&o.ce._setProp(n,r)}i[0]&&(s&&!e?r=!1:!i[1]||""!==r&&r!==A(n)||(r=!0))}return r}const uo=new WeakMap;function po(e,r,o=!1){const s=o?uo:r.propsCache,i=s.get(e);if(i)return i;const c=e.props,l={},p=[];let f=!1;if(!m(e)){const t=e=>{f=!0;const[t,n]=po(e,r,!0);a(l,t),n&&p.push(...n)};!o&&r.mixins.length&&r.mixins.forEach(t),e.extends&&t(e.extends),e.mixins&&e.mixins.forEach(t)}if(!c&&!f)return v(e)&&s.set(e,n),n;if(d(c))for(let n=0;n<c.length;n++){const e=C(c[n]);fo(e)&&(l[e]=t)}else if(c)for(const t in c){const e=C(t);if(fo(e)){const n=c[t],r=l[e]=d(n)||m(n)?{type:n}:a({},n),o=r.type;let s=!1,i=!0;if(d(o))for(let e=0;e<o.length;++e){const t=o[e],n=m(t)&&t.name;if("Boolean"===n){s=!0;break}"String"===n&&(i=!1)}else s=m(o)&&"Boolean"===o.name;r[0]=s,r[1]=i,(s||u(r,"default"))&&p.push(e)}}const h=[l,p];return v(e)&&s.set(e,h),h}function fo(e){return"$"!==e[0]&&!E(e)}const ho=e=>"_"===e||"_ctx"===e||"$stable"===e,mo=e=>d(e)?e.map(as):[as(e)],go=(e,t,n)=>{if(t._n)return t;const r=cn((...e)=>mo(t(...e)),n);return r._c=!1,r},yo=(e,t,n)=>{const r=e._ctx;for(const o in e){if(ho(o))continue;const n=e[o];if(m(n))t[o]=go(0,n,r);else if(null!=n){const e=mo(n);t[o]=()=>e}}},vo=(e,t)=>{const n=mo(t);e.slots.default=()=>n},_o=(e,t,n)=>{for(const r in t)!n&&ho(r)||(e[r]=t[r])},bo=No;function wo(e,o){j().__VUE__=!0;const{insert:s,remove:i,patchProp:a,createElement:c,createText:l,createComment:d,setText:p,setElementText:f,parentNode:h,nextSibling:m,setScopeId:g=r,insertStaticContent:y}=e,v=(e,t,r,o=null,s=null,i=null,a=void 0,c=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Xo(e,t)&&(o=X(e),V(e,s,i,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null),t.dynamicChildren&&e&&e.dynamicChildren&&e.dynamicChildren.hasOnce&&(t.dynamicChildren===n&&(t.dynamicChildren=[]),t.dynamicChildren.hasOnce=!0);const{type:u,ref:d,shapeFlag:p}=t;switch(u){case jo:b(e,t,r,o);break;case Fo:w(e,t,r,o);break;case Bo:null==e&&S(t,r,o,a);break;case $o:N(e,t,r,o,s,i,a,c,l);break;default:1&p?k(e,t,r,o,s,i,a,c,l):6&p?D(e,t,r,o,s,i,a,c,l):(64&p||128&p)&&u.process(e,t,r,o,s,i,a,c,l,ee)}null!=d&&s?jn(d,e&&e.ref,i,t||e,!t):null==d&&e&&null!=e.ref&&jn(e.ref,null,i,e,!0)},b=(e,t,n,r)=>{if(null==e)s(t.el=l(t.children),n,r);else{const n=t.el=e.el;t.children!==e.children&&p(n,t.children)}},w=(e,t,n,r)=>{null==e?s(t.el=d(t.children||""),n,r):t.el=e.el},S=(e,t,n,r)=>{[e.el,e.anchor]=y(e.children,t,n,r,e.el,e.anchor)},k=(e,t,n,r,o,s,i,a,c)=>{if("svg"===t.type?i="svg":"math"===t.type&&(i="mathml"),null==e)x(t,n,r,o,s,i,a,c);else{const n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),R(e,t,o,s,i,a,c)}finally{n&&n._endPatch()}}},x=(e,t,n,r,o,i,l,u)=>{let d,p;const{props:h,shapeFlag:m,transition:g,dirs:y}=e;if(d=e.el=c(e.type,i,h&&h.is,h),8&m?f(d,e.children):16&m&&I(e.children,d,null,r,o,So(e,i),l,u),y&&un(e,null,r,"created"),T(d,e,e.scopeId,l,r),h){for(const e in h)"value"===e||E(e)||a(d,e,null,h[e],i,r);"value"in h&&a(d,"value",null,h.value,i),(p=h.onVnodeBeforeMount)&&ds(p,r,e)}y&&un(e,null,r,"beforeMount");const v=Eo(o,g);v&&g.beforeEnter(d),s(d,t,n),((p=h&&h.onVnodeMounted)||v||y)&&bo(()=>{try{p&&ds(p,r,e),v&&g.enter(d),y&&un(e,null,r,"mounted")}finally{}},o)},T=(e,t,n,r,o)=>{if(n&&g(e,n),r)for(let s=0;s<r.length;s++)g(e,r[s]);if(o){let n=o.subTree;if(t===n||Ao(n.type)&&(n.ssContent===t||n.ssFallback===t)){const t=o.vnode;T(e,t,t.scopeId,t.slotScopeIds,o.parent)}}},I=(e,t,n,r,o,s,i,a,c=0)=>{for(let l=c;l<e.length;l++){const c=e[l]=a?cs(e[l]):as(e[l]);v(null,c,t,n,r,o,s,i,a)}},R=(e,n,r,o,s,i,c)=>{const l=n.el=e.el;let{patchFlag:u,dynamicChildren:d,dirs:p}=n;u|=16&e.patchFlag;const h=e.props||t,m=n.props||t;let g;if(r&&ko(r,!1),(g=m.onVnodeBeforeUpdate)&&ds(g,r,n,e),p&&un(n,e,r,"beforeUpdate"),r&&ko(r,!0),!d||e.dynamicChildren&&e.dynamicChildren.length===d.length||(u=0,c=!1,d=null),(h.innerHTML&&null==m.innerHTML||h.textContent&&null==m.textContent)&&f(l,""),d?O(e.dynamicChildren,d,l,r,o,So(n,s),i):c||H(e,n,l,null,r,o,So(n,s),i,!1),u>0){if(16&u)M(l,h,m,r,s);else if(2&u&&h.class!==m.class&&a(l,"class",null,m.class,s),4&u&&a(l,"style",h.style,m.style,s),8&u){const e=n.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t],o=h[n],i=m[n];i===o&&"value"!==n||a(l,n,o,i,s,r)}}1&u&&e.children!==n.children&&f(l,n.children)}else c||null!=d||M(l,h,m,r,s);((g=m.onVnodeUpdated)||p)&&bo(()=>{g&&ds(g,r,n,e),p&&un(n,e,r,"updated")},o)},O=(e,t,n,r,o,s,i)=>{for(let a=0;a<t.length;
2a++){const c=e[a],l=t[a],u=c.el&&(c.type===$o||!Xo(c,l)||198&c.shapeFlag)?h(c.el):n;v(c,l,u,null,r,o,s,i,!0)}},M=(e,n,r,o,s)=>{if(n!==r){if(n!==t)for(const t in n)E(t)||t in r||a(e,t,n[t],null,s,o);for(const t in r){if(E(t))continue;const i=r[t],c=n[t];i!==c&&"value"!==t&&a(e,t,c,i,s,o)}"value"in r&&a(e,"value",n.value,r.value,s)}},N=(e,t,n,r,o,i,a,c,u)=>{const d=t.el=e?e.el:l(""),p=t.anchor=e?e.anchor:l("");let{patchFlag:f,dynamicChildren:h,slotScopeIds:m}=t;m&&(c=c?c.concat(m):m),null==e?(s(d,n,r),s(p,n,r),I(t.children||[],n,p,o,i,a,c,u)):f>0&&64&f&&h&&e.dynamicChildren&&e.dynamicChildren.length===h.length?(O(e.dynamicChildren,h,n,o,i,a,c),(null!=t.key||o&&t===o.subTree)&&xo(e,t,!0)):H(e,t,n,p,o,i,a,c,u)},D=(e,t,n,r,o,s,i,a,c)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,i,c):$(t,n,r,o,s,i,c):F(e,t,c)},$=(e,n,r,o,s,i,a)=>{const c=e.component=function(e,n,r){const o=e.type,s=(n?n.appContext:e.appContext)||ps,i={uid:fs++,vnode:e,type:o,parent:n,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new se(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:n?n.provides:Object.create(s.provides),ids:n?n.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:po(o,s),emitsOptions:Xr(o,s),emit:null,emitted:null,propsDefaults:t,inheritAttrs:o.inheritAttrs,ctx:t,data:t,props:t,attrs:t,slots:t,refs:t,setupState:t,setupContext:null,suspense:r,suspenseId:r?r.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=n?n.root:i,i.emit=Jr.bind(null,i),e.ce&&e.ce(i),i}(e,o,s);if(er(e)&&(c.ctx.renderer=ee),function(e,t=!1,n=!1){t&&ys(t);const{props:r,children:o}=e.vnode,s=bs(e);(function(e,t,n,r=!1){const o={},s=io();e.propsDefaults=Object.create(null),co(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:ft(o):e.type.props?e.props=o:e.props=s,e.attrs=s})(e,r,s,t),((e,t,n)=>{const r=e.slots=io();if(32&e.vnode.shapeFlag){const e=t._;e?(_o(r,t,n),n&&L(r,"_",e,!0)):yo(t,r)}else t&&vo(e,t)})(e,o,n||t),s&&function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Mr);const{setup:r}=n;if(r){ke();const n=e.setupContext=r.length>1?function(e){return{attrs:new Proxy(e.attrs,Es),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}(e):null,o=vs(e),s=Bt(r,e,0,[e.props,n]),i=_(s);if(Ee(),o(),!i&&!e.sp||Xn(e)||Nn(e),i){if(s.then(_s,_s),t)return s.then(t=>{ys(!0);try{Ss(e,t)}finally{ys(!1)}}).catch(t=>{Ht(t,e,0)});e.asyncDep=s}else Ss(e,s)}else ks(e)}(e,t),t&&ys(!1)}(c,!1,a),c.asyncDep){if(s&&s.registerDep(c,B,a),!e.el){const t=c.subTree=ts(Fo);w(null,t,n,r),e.placeholder=t.el}}else B(c,e,n,r,s,i,a)},F=(e,t,n)=>{const r=t.component=e.component;if(function(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:a,patchFlag:c}=t,l=s.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&c>=0))return!(!o&&!a||a&&a.$stable)||r!==i&&(r?!i||no(r,i,l):!!i);if(1024&c)return!0;if(16&c)return r?no(r,i,l):!!i;if(8&c){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(ro(i,r,n)&&!Qr(l,n))return!0}}return!1}(e,t,n)){if(r.asyncDep&&!r.asyncResolved)return t.el=e.el,void U(r,t,n);r.next=t,r.update()}else t.el=e.el,r.vnode=t},B=(e,t,n,r,o,s,i)=>{e.scope.on();const a=e.effect=new ce(()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:a,vnode:l}=e;{const n=To(e);if(n)return t&&(t.el=l.el,U(e,t,i)),void n.asyncDep.then(()=>{bo(()=>{e.isUnmounted||c()},o)})}let u,d=t;ko(e,!1),t?(t.el=l.el,U(e,t,i)):t=l,n&&P(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&ds(u,a,t,l),ko(e,!0);const p=Zr(e),f=e.subTree;e.subTree=p,v(f,p,h(f.el),X(f),e,o,s),t.el=p.el,null===d&&oo(e,p.el),r&&bo(r,o),(u=t.props&&t.props.onVnodeUpdated)&&bo(()=>ds(u,a,t,l),o)}else{let i;const{el:a,props:c}=t,{bm:l,m:u,parent:d,root:p,type:f}=e,h=Xn(t);if(ko(e,!1),l&&P(l),!h&&(i=c&&c.onVnodeBeforeMount)&&ds(i,d,t),ko(e,!0),a&&ne){const t=()=>{e.subTree=Zr(e),ne(a,e.subTree,e,o,null)};h&&f.__asyncHydrate?f.__asyncHydrate(a,e,t):t()}
2else{p.ce&&p.ce._hasShadowRoot()&&p.ce._injectChildStyle(f,e.parent?e.parent.type:void 0);const i=e.subTree=Zr(e);v(null,i,n,r,e,o,s),t.el=i.el}if(u&&bo(u,o),!h&&(i=c&&c.onVnodeMounted)){const e=t;bo(()=>ds(i,d,e),o)}(256&t.shapeFlag||d&&Xn(d.vnode)&&256&d.vnode.shapeFlag)&&e.a&&bo(e.a,o),e.isMounted=!0,t=n=r=null}});e.scope.off();const c=e.update=a.run.bind(a),l=e.job=a.runIfDirty.bind(a);l.i=e,l.id=e.uid,a.scheduler=()=>Xt(l),ko(e,!0),c()},U=(e,n,r)=>{n.component=e;const o=e.vnode.props;e.vnode=n,e.next=null,function(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,a=bt(o),[c]=e.propsOptions;let l=!1;if(!(r||i>0)||16&i){let r;co(e,t,o,s)&&(l=!0);for(const s in a)t&&(u(t,s)||(r=A(s))!==s&&u(t,r))||(c?!n||void 0===n[s]&&void 0===n[r]||(o[s]=lo(c,a,s,void 0,e,!0)):delete o[s]);if(s!==a)for(const e in s)t&&u(t,e)||(delete s[e],l=!0)}else if(8&i){const n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let i=n[r];if(Qr(e.emitsOptions,i))continue;const d=t[i];if(c)if(u(s,i))d!==s[i]&&(s[i]=d,l=!0);else{const t=C(i);o[t]=lo(c,a,t,d,e,!1)}else d!==s[i]&&(s[i]=d,l=!0)}}l&&Ne(e.attrs,"set","")}(e,n.props,o,r),((e,n,r)=>{const{vnode:o,slots:s}=e;let i=!0,a=t;if(32&o.shapeFlag){const e=n._;e?r&&1===e?i=!1:_o(s,n,r):(i=!n.$stable,yo(n,s)),a=n}else n&&(vo(e,n),a={default:1});if(i)for(const t in s)ho(t)||null!=a[t]||delete s[t]})(e,n.children,r),ke(),en(e),Ee()},H=(e,t,n,r,o,s,i,a,c=!1)=>{const l=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:p,shapeFlag:h}=t;if(p>0){if(128&p)return void q(l,d,n,r,o,s,i,a,c);if(256&p)return void W(l,d,n,r,o,s,i,a,c)}8&h?(16&u&&Y(l,o,s),d!==l&&f(n,d)):16&u?16&h?q(l,d,n,r,o,s,i,a,c):Y(l,o,s,!0):(8&u&&f(n,""),16&h&&I(d,n,r,o,s,i,a,c))},W=(e,t,r,o,s,i,a,c,l)=>{t=t||n;const u=(e=e||n).length,d=t.length,p=Math.min(u,d);let f;for(f=0;f<p;f++){const n=t[f]=l?cs(t[f]):as(t[f]);v(e[f],n,r,null,s,i,a,c,l)}u>d?Y(e,s,i,!0,!1,p):I(t,r,o,s,i,a,c,l,p)},q=(e,t,r,o,s,i,a,c,l)=>{let u=0;const d=t.length;let p=e.length-1,f=d-1;for(;u<=p&&u<=f;){const n=e[u],o=t[u]=l?cs(t[u]):as(t[u]);if(!Xo(n,o))break;v(n,o,r,null,s,i,a,c,l),u++}for(;u<=p&&u<=f;){const n=e[p],o=t[f]=l?cs(t[f]):as(t[f]);if(!Xo(n,o))break;v(n,o,r,null,s,i,a,c,l),p--,f--}if(u>p){if(u<=f){const e=f+1,n=e<d?t[e].el:o;for(;u<=f;)v(null,t[u]=l?cs(t[u]):as(t[u]),r,n,s,i,a,c,l),u++}}else if(u>f)for(;u<=p;)V(e[u],s,i,!0),u++;else{const h=u,m=u,g=new Map;for(u=m;u<=f;u++){const e=t[u]=l?cs(t[u]):as(t[u]);null!=e.key&&g.set(e.key,u)}let y,_=0;const b=f-m+1;let w=!1,S=0;const k=new Array(b);for(u=0;u<b;u++)k[u]=0;for(u=h;u<=p;u++){const n=e[u];if(_>=b){V(n,s,i,!0);continue}let o;if(null!=n.key)o=g.get(n.key);else for(y=m;y<=f;y++)if(0===k[y-m]&&Xo(n,t[y])){o=y;break}void 0===o?V(n,s,i,!0):(k[o-m]=u+1,o>=S?S=o:w=!0,v(n,t[o],r,null,s,i,a,c,l),_++)}const E=w?function(e){const t=e.slice(),n=[0];let r,o,s,i,a;const c=e.length;for(r=0;r<c;r++){const c=e[r];if(0!==c){if(o=n[n.length-1],e[o]<c){t[r]=o,n.push(r);continue}for(s=0,i=n.length-1;s<i;)a=s+i>>1,e[n[a]]<c?s=a+1:i=a;c<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}(k):n;for(y=E.length-1,u=b-1;u>=0;u--){const e=m+u,n=t[e],p=t[e+1],f=e+1<d?p.el||Io(p):o;0===k[u]?v(null,n,r,f,s,i,a,c,l):w&&(y<0||u!==E[y]?z(n,r,f,2):y--)}}},z=(e,t,n,r,o=null)=>{const{el:a,type:c,transition:l,children:u,shapeFlag:d}=e;if(6&d)z(e.component.subTree,t,n,r);else if(128&d)e.suspense.move(t,n,r);else if(64&d)c.move(e,t,n,ee);else if(c!==$o)if(c!==Bo)if(2!==r&&1&d&&l)if(0===r)l.persisted&&!a[wn]?s(a,t,n):(l.beforeEnter(a),s(a,t,n),bo(()=>l.enter(a),o));else{const{leave:r,delayLeave:o,afterLeave:c}=l,u=()=>{e.ctx.isUnmounted?i(a):s(a,t,n)},d=()=>{const e=a._isLeaving||!!a[wn];a._isLeaving&&a[wn](!0),l.persisted&&!e?u():r(a,()=>{u(),c&&c()})};o?o(a,u,d):d()}else s(a,t,n);else(({el:e,anchor:t},n,r)=>{let o;for(;e&&e!==t;)o=m(e),s(e,n,r),e=o;s(t,n,r)})(e,t,n);else{s(a,t,n);for(let e=0;e<u.length;e++)z(u[e],t,n,r);s(e.anchor,t,n)}},V=(e,t,n,r=!1,o=!1)=>{const{type:s,props:i,ref:a,children:c,dynamicChildren:l,shapeFlag:u,patchFlag:d,dirs:p,cacheIndex:f,memo:h}=e;if((-2===d||l&&l.hasOnce)&&(o=!1),null!=a&&(ke(),jn(a,null,n,e,!0),Ee()),null==f||e.ctx&&e.ctx!==t||(t.renderCache[f]=void 0),256&u)return void t.ctx.deactivate(e);const m=1&u&&p,g=!Xn(e);let y;if(g&&(y=i&&i.onVnodeBeforeUnmount)&&ds(y,t,e),6&u)J(e.component,n,r);else{if(128&u)return void e.suspense.unmount(n,r);m&&un(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,ee,r):l&&!l.hasOnce&&(s!==$o||d>0&&64&d)?Y(l,t,n,!1,!0):(s===$o&&384&d||!o&&16&u)&&Y(c,t,n),r&&G(e)}const v=null!=h&&null==f;(g&&(y=i&&i.onVnodeUnmounted)||m||v)&&bo(()=>{y&&ds(y,t,e),m&&un(e,null,t,"unmounted"),v&&(e.el=null)},n)},G=e=>{const{type:t,el:n,anchor:r,transition:o}=e;if(t===$o)return void K(n,r);if(t===Bo)return(({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=m(e),i(e),e=n;i(t)})(e),void(o&&!o.persisted&&o.afterLeave&&o.afterLeave());const s=()=>{i(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&e.shapeFlag&&o&&!o.persisted){const{leave:t,delayLeave:r}=o,i=()=>t(n,s);r?r(e.el,s,i):i()}else s()},K=(e,t)=>{let n;for(;e!==t;)n=m(e),i(e),e=n;i(t)}
2,J=(e,t,n)=>{const{bum:r,scope:o,job:s,subTree:i,um:a,m:c,a:l}=e;Co(c),Co(l),r&&P(r),o.stop(),s?(s.flags|=8,V(i,e,t,n)):e.vnode.el&&i&&(i.transition=e.vnode.transition,V(i,e,t,n)),a&&bo(a,t),bo(()=>{e.isUnmounted=!0},t)},Y=(e,t,n,r=!1,o=!1,s=0)=>{for(let i=s;i<e.length;i++)V(e[i],t,n,r,o)},X=e=>{if(6&e.shapeFlag)return X(e.component.subTree);if(128&e.shapeFlag)return e.suspense.next();const t=m(e.anchor||e.el),n=t&&t[_n];return n?m(n):t};let Q=!1;const Z=(e,t,n)=>{let r;null==e?t._vnode&&(V(t._vnode,null,null,!0),r=t._vnode.component):v(t._vnode||null,e,t,null,null,null,n),t._vnode=e,Q||(Q=!0,en(r),tn(),Q=!1)},ee={p:v,um:V,m:z,r:G,mt:$,mc:I,pc:H,pbc:O,n:X,o:e};let te,ne;return o&&([te,ne]=o(ee)),{render:Z,hydrate:te,createApp:Gr(Z,te)}}function So({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function ko({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Eo(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function xo(e,t,n=!1){const r=e.children,o=t.children;if(d(r)&&d(o))for(let s=0;s<r.length;s++){const e=r[s];let t=o[s];1&t.shapeFlag&&!t.dynamicChildren&&((t.patchFlag<=0||32===t.patchFlag)&&(t=o[s]=cs(o[s]),t.el=e.el),n||-2===t.patchFlag||xo(e,t)),t.type===jo&&(-1===t.patchFlag&&(t=o[s]=cs(t)),t.el=e.el),t.type!==Fo||t.el||(t.el=e.el)}}function To(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:To(t)}function Co(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Io(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Io(t.subTree):null}const Ao=e=>e.__isSuspense;let Ro=0;const Oo={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,s,i,a,c,l){if(null==e)!function(e,t,n,r,o,s,i,a,c){const{p:l,o:{createElement:u}}=c,d=u("div"),p=e.suspense=Po(e,o,r,t,d,n,s,i,a,c);l(null,p.pendingBranch=e.ssContent,d,null,r,p,s,i),p.deps>0?(Mo(e,"onPending"),Mo(e,"onFallback"),l(null,e.ssFallback,t,n,r,null,s,i),Do(p,e.ssFallback)):p.resolve(!1,!0)}(t,n,r,o,s,i,a,c,l);else{if(s&&s.deps>0&&!e.suspense.isInFallback&&!s.isHydrating)return t.suspense=e.suspense,t.suspense.vnode=t,void(t.el=e.el);!function(e,t,n,r,o,s,i,a,{p:c,um:l,o:{createElement:u}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const p=t.ssContent,f=t.ssFallback,{activeBranch:h,pendingBranch:m,isInFallback:g,isHydrating:y}=d;if(m)d.pendingBranch=p,Xo(m,p)?(d.deps++,c(m,p,y?n:d.hiddenContainer,null,o,d,s,i,a),d.deps--,d.deps<=0?d.resolve():g&&(y||d.isFallbackMountPending||(c(h,f,n,r,o,null,s,i,a),Do(d,f)))):(d.pendingId=Ro++,y?(d.isHydrating=!1,d.activeBranch=m):l(m,o,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),g?(c(null,p,d.hiddenContainer,null,o,d,s,i,a),d.deps<=0?d.resolve():d.isFallbackMountPending||(c(h,f,n,r,o,null,s,i,a),Do(d,f))):h&&Xo(h,p)?(c(h,p,n,r,o,d,s,i,a),d.resolve(!0)):(c(null,p,d.hiddenContainer,null,o,d,s,i,a),d.deps<=0&&d.resolve()));else if(h&&Xo(h,p))c(h,p,n,r,o,d,s,i,a),Do(d,p);else if(Mo(t,"onPending"),d.pendingBranch=p,512&p.shapeFlag?d.pendingId=p.component.suspenseId:d.pendingId=Ro++,c(null,p,d.hiddenContainer,null,o,d,s,i,a),d.deps<=0)d.resolve();else{const{timeout:e,pendingId:t}=d;e>0?setTimeout(()=>{d.pendingId===t&&d.fallback(f)},e):0===e&&d.fallback(f)}}(e,t,n,r,o,i,a,c,l)}},hydrate:function(e,t,n,r,o,s,i,a,c){const l=t.suspense=Po(t,r,n,e.parentNode,document.createElement("div"),null,o,s,i,a,!0),u=c(e,l.pendingBranch=t.ssContent,n,l,s,i);return 0===l.deps&&l.resolve(!1,!0),u},normalize:function(e){const{shapeFlag:t,children:n}=e,r=32&t;e.ssContent=Lo(r?n.default:n),e.ssFallback=r?Lo(n.fallback):ts(Fo)}};function Mo(e,t){const n=e.props&&e.props[t];m(n)&&n()}function Po(e,t,n,r,o,s,i,a,c,l,u=!1){const{p:d,m:p,um:f,n:h,o:{parentNode:m,remove:g}}=l;let y;const v=function(e){const t=e.props&&e.props.suspensible;return null!=t&&!1!==t}(e);v&&t&&t.pendingBranch&&(y=t.pendingId,t.deps++);const _=e.props?D(e.props.timeout):void 0,b=s,w={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:o,deps:0,pendingId:Ro++,timeout:"number"==typeof _?_:-1,activeBranch:null,isFallbackMountPending:!1,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1,n=!1){const{vnode:r,activeBranch:o,pendingBranch:i,pendingId:a,effects:c,parentComponent:l,container:u,isInFallback:d}=w;let g=!1;if(w.isHydrating)w.isHydrating=!1;else if(!e){g=o&&i.transition&&"out-in"===i.transition.mode;let e=!1;g&&(o.transition.afterLeave=()=>{a===w.pendingId&&(p(i,u,s!==b||e?s:h(o),0),Zt(c),d&&r.ssFallback&&(r.ssFallback.el=null))}),o&&!w.isFallbackMountPending&&(m(o.el)===u&&(s=h(o),e=!0),f(o,l,w,!0),!g&&d&&r.ssFallback&&bo(()=>
2r.ssFallback.el=null,w)),g||p(i,u,s,0)}w.isFallbackMountPending=!1,Do(w,i),w.pendingBranch=null,w.isInFallback=!1;let _=w.parent,S=!1;for(;_;){if(_.pendingBranch){for(let e=0;e<c.length;e++)_.effects.push(c[e]);S=!0;break}_=_.parent}S||g||Zt(c),w.effects=[],v&&t&&t.pendingBranch&&y===t.pendingId&&(y=void 0,t.deps--,0!==t.deps||n||t.resolve()),Mo(r,"onResolve")},fallback(e){if(!w.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:r,container:o,namespace:s}=w;Mo(t,"onFallback");const i=h(n),l=()=>{if(w.isFallbackMountPending=!1,!w.isInFallback)return;const e=w.vnode.ssFallback;d(null,e,o,i,r,null,s,a,c),Do(w,e)},u=e.transition&&"out-in"===e.transition.mode;u&&(w.isFallbackMountPending=!0,n.transition.afterLeave=l),w.isInFallback=!0,f(n,r,null,!0),u||l()},move(e,t,n){w.activeBranch&&p(w.activeBranch,e,t,n),w.container=e},next:()=>w.activeBranch&&h(w.activeBranch),registerDep(e,t,n){const r=!!w.pendingBranch;r&&w.deps++;const o=e.vnode.el;e.asyncDep.catch(t=>{Ht(t,e,0)}).then(s=>{if(e.isUnmounted||w.isUnmounted||w.pendingId!==e.suspenseId)return;if(_s(),o&&!e.scope.active)return void(r&&0===--w.deps&&w.resolve());e.asyncResolved=!0;const{vnode:a}=e;Ss(e,s),o&&(a.el=o);const c=!o&&e.subTree.el;t(e,a,m(o||e.subTree.el),o?null:h(e.subTree),w,i,n),c&&(a.placeholder=null,g(c)),oo(e,a.el),r&&0===--w.deps&&w.resolve()})},unmount(e,t){w.isUnmounted=!0,w.activeBranch&&f(w.activeBranch,n,e,t),w.pendingBranch&&f(w.pendingBranch,n,e,t)}};return w}function Lo(e){let t;if(m(e)){const n=zo&&e._c;n&&(e._d=!1,Wo()),e=e(),n&&(e._d=!0,t=Ho,qo())}if(d(e)){const t=function(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if(!Yo(r))return;if(r.type!==Fo||"v-if"===r.children){if(t)return;t=r}}return t}(e);e=t}return e=as(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(t=>t!==e)),e}function No(e,t){t&&t.pendingBranch?d(e)?t.effects.push(...e):t.effects.push(e):Zt(e)}function Do(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)o=(t=t.component.subTree).el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,oo(r,o))}const $o=Symbol.for("v-fgt"),jo=Symbol.for("v-txt"),Fo=Symbol.for("v-cmt"),Bo=Symbol.for("v-stc"),Uo=[];let Ho=null;function Wo(e=!1){Uo.push(Ho=e?null:[])}function qo(){Uo.pop(),Ho=Uo[Uo.length-1]||null}let zo=1;function Vo(e,t=!1){zo+=e,e<0&&Ho&&t&&(Ho.hasOnce=!0)}function Go(e){return e.dynamicChildren=zo>0?Ho||n:null,qo(),zo>0&&Ho&&Ho.push(e),e}function Ko(e,t,n,r,o,s){return Go(es(e,t,n,r,o,s,!0))}function Jo(e,t,n,r,o){return Go(ts(e,t,n,r,o,!0))}function Yo(e){return!!e&&!0===e.__v_isVNode}function Xo(e,t){return e.type===t.type&&e.key===t.key}const Qo=({key:e})=>null!=e?e:null,Zo=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?g(e)||kt(e)||m(e)?{i:on,r:e,k:t,f:!!n}:e:null);function es(e,t=null,n=null,r=0,o=null,s=(e===$o?0:1),i=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Qo(t),ref:t&&Zo(t),scopeId:sn,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:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:on};return a?(ls(c,n),128&s&&e.normalize(c)):n&&(c.shapeFlag|=g(n)?8:16),zo>0&&!i&&Ho&&(c.patchFlag>0||6&s)&&32!==c.patchFlag&&Ho.push(c),c}const ts=function(e,t=null,n=null,r=0,o=null,s=!1){if(e&&e!==kr||(e=Fo),Yo(e)){const r=rs(e,t,!0);return n&&ls(r,n),zo>0&&!s&&Ho&&(6&r.shapeFlag?Ho[Ho.indexOf(e)]=r:Ho.push(r)),r.patchFlag=-2,r}var i;if(m(i=e)&&"__vccOpts"in i&&(e=e.__vccOpts),t){t=ns(t);let{class:e,style:n}=t;e&&!g(e)&&(t.class=q(e)),v(n)&&(_t(n)&&!d(n)&&(n=a({},n)),t.style=F(n))}return es(e,t,n,r,o,g(e)?1:Ao(e)?128:bn(e)?64:v(e)?4:m(e)?2:0,s,!0)};function ns(e){return e?_t(e)||ao(e)?a({},e):e:null}function rs(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:i,children:a,transition:c}=e,l=t?us(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Qo(l),ref:t&&t.ref?n&&s?d(s)?s.concat(Zo(t)):[s,Zo(t)]:Zo(t):s,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!==$o?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&rs(e.ssContent),ssFallback:e.ssFallback&&rs(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce,cacheIndex:e.cacheIndex};return c&&r&&Mn(u,c.clone(u)),u}function os(e=" ",t=0){return ts(jo,null,e,t)}function ss(e,t){const n=ts(Bo,null,e);return n.staticCount=t,n}function is(e="",t=!1){return t?(Wo(),Jo(Fo,null,e)):ts(Fo,null,e)}function as(e){return null==e||"boolean"==typeof e?ts(Fo):d(e)?ts($o,null,e.slice()):Yo(e)?cs(e):ts(jo,null,String(e))}function cs(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:rs(e)}function ls(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if(d(t))n=16;else if("object"==typeof t){if(65&r){const n=t.default;return void(n&&(n._c&&(n._d=!1),ls(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||ao(t)?3===r&&on&&(1===on.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=on}}else if(m(t)){if(65&r)return void ls(e,{default:t});t={default:t,_ctx:on},n=32}else t=String(t),64&r?(n=16,t=[os(t)]):n=8;e.children=t,e.shapeFlag|=n}function us(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const e in r)if("class"===e)t.class!==r.class&&(t.class=q([t.class,r.class]));else if("style"===e)t.style=F([t.style,r.style]);else if(s(e)){const n=t[e],o=r[e];!o||n===o||d(n)&&n.includes(o)?null!=o||null!=n||i(e)||(t[e]=o):t[e]=n?[].concat(n,o):o}else""!==e&&(t[e]=r[e])}return t}function ds(e,t,n,r=null){Ut(e,t,7,[n,r])}const ps=zr();let fs=0,hs=null;const ms=()=>hs||on;let gs,ys;{const e=j(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};gs=t("__VUE_INSTANCE_SETTERS__",e=>hs=e),ys=t("__VUE_SSR_SETTERS__",e=>ws=e)}const vs=e=>{const t=hs;return gs(e),e.scope.on(),()=>{e.scope.off(),gs(t)}},_s=()=>{hs&&hs.scope.off(),gs(null)};function bs(e){return 4&e.vnode.shapeFlag}let ws=!1;
2function Ss(e,t,n){m(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:v(t)&&(e.setupState=Rt(t)),ks(e)}function ks(e,t,n){const o=e.type;e.render||(e.render=o.render||r);{const t=vs(e);ke();try{!function(e){const t=$r(e),n=e.proxy,o=e.ctx;Lr=!1,t.beforeCreate&&Nr(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:a,watch:c,provide:l,inject:u,created:p,beforeMount:f,mounted:h,beforeUpdate:g,updated:y,activated:_,deactivated:b,beforeDestroy:w,beforeUnmount:S,destroyed:k,unmounted:E,render:x,renderTracked:T,renderTriggered:C,errorCaptured:I,serverPrefetch:A,expose:R,inheritAttrs:O,components:M,directives:P,filters:L}=t;if(u&&function(e,t){d(e)&&(e=Ur(e));for(const n in e){const r=e[n];let o;o=v(r)?"default"in r?pn(r.from||n,r.default,!0):pn(r.from||n):pn(r),kt(o)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:e=>o.value=e}):t[n]=o}}(u,o),a)for(const r in a){const e=a[r];m(e)&&(o[r]=e.bind(n))}if(s){const t=s.call(n,n);v(t)&&(e.data=pt(t))}if(Lr=!0,i)for(const d in i){const e=i[d],t=m(e)?e.bind(n,n):m(e.get)?e.get.bind(n,n):r,s=!m(e)&&m(e.set)?e.set.bind(n):r,a=Cs({get:t,set:s});Object.defineProperty(o,d,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(c)for(const r in c)Dr(c[r],o,n,r);if(l){const e=m(l)?l.call(n):l;Reflect.ownKeys(e).forEach(t=>{dn(t,e[t])})}function N(e,t){d(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(p&&Nr(p,e,"c"),N(dr,f),N(pr,h),N(fr,g),N(hr,y),N(rr,_),N(or,b),N(br,I),N(_r,T),N(vr,C),N(mr,S),N(gr,E),N(yr,A),d(R))if(R.length){const t=e.exposed||(e.exposed={});R.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||(e.exposed={});x&&e.render===r&&(e.render=x),null!=O&&(e.inheritAttrs=O),M&&(e.components=M),P&&(e.directives=P),A&&Nn(e)}(e)}finally{Ee(),t()}}}const Es={get:(e,t)=>(Le(e,0,""),e[t])};function xs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Rt((t=e.exposed,!u(t,"__v_skip")&&Object.isExtensible(t)&&L(t,"__v_skip",!0),t)),{get:(t,n)=>n in t?t[n]:n in Rr?Rr[n](e):void 0,has:(e,t)=>t in e||t in Rr})):e.proxy;var t}function Ts(e,t=!0){return m(e)?e.displayName||e.name:e.name||t&&e.__name}const Cs=(e,t)=>Nt(e,0,ws);function Is(e,t,n){try{Vo(-1);const r=arguments.length;return 2===r?v(t)&&!d(t)?Yo(t)?ts(e,null,[t]):ts(e,t):ts(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&Yo(n)&&(n=[n]),ts(e,t,n))}finally{Vo(1)}}const As="3.5.43";let Rs;const Os="undefined"!=typeof window&&window.trustedTypes;if(Os)try{Rs=Os.createPolicy("vue",{createHTML:e=>e})}catch(hC){}const Ms=Rs?e=>Rs.createHTML(e):e=>e,Ps="undefined"!=typeof document?document:null,Ls=Ps&&Ps.createElement("template"),Ns={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 o="svg"===t?Ps.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?Ps.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?Ps.createElement(e,{is:n}):Ps.createElement(e);return"select"===e&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),o},createText:e=>Ps.createTextNode(e),createComment:e=>Ps.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>
vendor: 5,128 bytes, line 2
2{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ps.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),o!==s&&(o=o.nextSibling););else{Ls.innerHTML=Ms("svg"===r?`<svg>${e}</svg>`:"mathml"===r?`<math>${e}</math>`:e);const o=Ls.content;if("svg"===r||"mathml"===r){const e=o.firstChild;for(;e.firstChild;)o.appendChild(e.firstChild);o.removeChild(e)}t.insertBefore(o,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ds="transition",$s="animation",js=Symbol("_vtc"),Fs={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},Bs=a({},En,Fs),Us=e=>(e.displayName="Transition",e.props=Bs,e),Hs=Us((e,{slots:t})=>Is(Cn,function(e){const t={};for(const a in e)a in Fs||(t[a]=e[a]);if(!1===e.css)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:c=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:u=i,appearToClass:d=c,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,m=function(e){if(null==e)return null;if(v(e))return[zs(e.enter),zs(e.leave)];{const t=zs(e);return[t,t]}}(o),g=m&&m[0],y=m&&m[1],{onBeforeEnter:_,onEnter:b,onEnterCancelled:w,onLeave:S,onLeaveCancelled:k,onBeforeAppear:E=_,onAppear:x=b,onAppearCancelled:T=w}=t,C=(e,t,n,r)=>{e._enterCancelled=r,Gs(e,t?d:c),Gs(e,t?u:i),n&&n()},I=(e,t)=>{e._isLeaving=!1,Gs(e,p),Gs(e,h),Gs(e,f),t&&t()},A=e=>(t,n)=>{const o=e?x:b,i=()=>C(t,e,n);Ws(o,[t,i]),Ks(()=>{Gs(t,e?l:s),Vs(t,e?d:c),qs(o)||Ys(t,r,g,i)})};return a(t,{onBeforeEnter(e){Ws(_,[e]),Vs(e,s),Vs(e,i)},onBeforeAppear(e){Ws(E,[e]),Vs(e,l),Vs(e,u)},onEnter:A(!1),onAppear:A(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>I(e,t);Vs(e,p),e._enterCancelled?(Vs(e,f),Zs(e)):(Zs(e),Vs(e,f)),Ks(()=>{e._isLeaving&&(Gs(e,p),Vs(e,h),qs(S)||Ys(e,r,y,n))}),Ws(S,[e,n])},onEnterCancelled(e){C(e,!1,void 0,!0),Ws(w,[e])},onAppearCancelled(e){C(e,!0,void 0,!0),Ws(T,[e])},onLeaveCancelled(e){I(e),Ws(k,[e])}})}(e),t)),Ws=(e,t=[])=>{d(e)?e.forEach(e=>e(...t)):e&&e(...t)},qs=e=>!!e&&(d(e)?e.some(e=>e.length>1):e.length>1);function zs(e){return D(e)}function Vs(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[js]||(e[js]=new Set)).add(t)}function Gs(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));const n=e[js];n&&(n.delete(t),n.size||(e[js]=void 0))}function Ks(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Js=0;function Ys(e,t,n,r){const o=e._endId=++Js,s=()=>{o===e._endId&&r()};if(null!=n)return setTimeout(s,n);const{type:i,timeout:a,propCount:c}=function(e,t){const n=window.getComputedStyle(e),r=e=>(n[e]||"").split(", "),o=r(`${Ds}Delay`),s=r(`${Ds}Duration`),i=Xs(o,s),a=r(`${$s}Delay`),c=r(`${$s}Duration`),l=Xs(a,c);let u=null,d=0,p=0;return t===Ds?i>0&&(u=Ds,d=i,p=s.length):t===$s?l>0&&(u=$s,d=l,p=c.length):(d=Math.max(i,l),u=d>0?i>l?Ds:$s:null,p=u?u===Ds?s.length:c.length:0),{type:u,timeout:d,propCount:p,hasTransform:u===Ds&&/\b(?:transform|all)(?:,|$)/.test(r(`${Ds}Property`).toString())}}(e,t);if(!i)return r();const l=i+"end";let u=0;const d=()=>{e.removeEventListener(l,p),s()},p=t=>{t.target===e&&++u>=c&&d()};setTimeout(()=>{u<c&&d()},a+1),e.addEventListener(l,p)}function Xs(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>Qs(t)+Qs(e[n])))}function Qs(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function Zs(e){return(e?e.ownerDocument:document).body.offsetHeight}const ei=Symbol("_vod"),ti=Symbol("_vsh"),ni={name:"show",beforeMount(e,{value:t},{transition:n}){e[ei]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):ri(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),ri(e,!0),r.enter(e)):r.leave(e,()=>{ri(e,!1)}):ri(e,t))},beforeUnmount(e,{value:t}){ri(e,t)}};function ri(e,t){e.style.display=t?e[ei]:"none",e[ti]=!t}const oi=Symbol(""),si=/(?:^|;)\s*display\s*:/,ii=/\s*!important$/;function ai(e,t,n){if(d(n))n.forEach(n=>ai(e,t,n));else if(null==n&&(n=""),t.startsWith("--"))ii.test(n)?e.setProperty(t,n.replace(ii,""),"important"):e.setProperty(t,n);else{const r=function(e,t){const n=li[t];if(n)return n;let r=C(t);if("filter"!==r&&r in e)return li[t]=r;r=R(r);for(let o=0;o<ci.length;o++){const n=ci[o]+r;if(n in e)return li[t]=n}return t}(e,t);ii.test(n)?e.setProperty(A(r),n.replace(ii,""),"important"):e[r]=n}}const ci=["Webkit","Moz","ms"],li={};function ui(e,t,n,r){return"TEXTAREA"===e.tagName&&("width"===t||"height"===t)&&g(r)&&n===r}const di="http://www.w3.org/1999/xlink";function pi(e,t,n,r,o,s=z(t)){r&&t.startsWith("xlink:")?null==n?e.removeAttributeNS(di,t.slice(6,t.length)):e.setAttributeNS(di,t,n):null==n||s&&
2!V(n)?e.removeAttribute(t):e.setAttribute(t,s?"":y(n)?String(n):n)}function fi(e,t,n,r,o){if("innerHTML"===t||"textContent"===t)return void(null!=n&&(e[t]="innerHTML"===t?Ms(n):n));const s=e.tagName;if("value"===t&&"PROGRESS"!==s&&!s.includes("-")){const r="OPTION"===s?e.getAttribute("value")||"":e.value,o=null==n?"checkbox"===e.type?"on":"":String(n);return r===o&&"_value"in e||(e.value=o),null==n&&e.removeAttribute(t),void(e._value=n)}let i=!1;if(""===n||null==n){const r=typeof e[t];"boolean"===r?n=V(n):null==n&&"string"===r?(n="",i=!0):"number"===r&&(n=0,i=!0)}try{e[t]=n}catch(hC){}i&&e.removeAttribute(o||t)}function hi(e,t,n,r){e.addEventListener(t,n,r)}const mi=Symbol("_vei"),gi=/(Once|Passive|Capture)$/,yi=/^on:?(?:Once|Passive|Capture)$/;let vi=0;const _i=Promise.resolve(),bi=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,wi=e=>{const t=e.props["onUpdate:modelValue"]||!1;return d(t)?e=>P(t,e):t};function Si(e){e.target.composing=!0}function ki(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ei=Symbol("_assign"),xi=Symbol("_initialValue");function Ti(e,t,n){return t&&(e=e.trim()),n&&(e=N(e)),e}const Ci={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e.parentNode&&("text"===e.type?e[xi]=e.defaultValue.replace(/[\r\n]/g,""):"textarea"===e.type&&(e[xi]=e.defaultValue.replace(/\r\n?/g,"\n"))),e[Ei]=wi(o);const s=r||o.props&&"number"===o.props.type;hi(e,t?"change":"input",t=>{t.target.composing||e[Ei](Ti(e.value,n,s))}),(n||s)&&hi(e,"change",()=>{e.value=Ti(e.value,n,s)}),t||(hi(e,"compositionstart",Si),hi(e,"compositionend",ki),hi(e,"change",ki))},mounted(e,{value:t,modifiers:{trim:n,number:r}}){const o=t??"",s=e[xi];delete e[xi],void 0===s||"text"!==e.type&&"textarea"!==e.type||e.value===s?e.value=o:e[Ei](Ti(e.value,n,r))},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:s}},i){if(e[Ei]=wi(i),e.composing)return;const a=t??"";if((!s&&"number"!==e.type||/^0\d/.test(e.value)?e.value:N(e.value))===a)return;const c=e.getRootNode();if((c instanceof Document||c instanceof ShadowRoot)&&c.activeElement===e&&"range"!==e.type){if(r&&t===n)return;if(o&&e.value.trim()===a)return}e.value=a}},Ii={deep:!0,created(e,{value:t,modifiers:{number:n}},r){e._modelValue=t,hi(e,"change",()=>{const t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>n?N(Ri(e)):Ri(e)),r=e.multiple,o=r?f(e._modelValue)?new Set(t):t:t[0],s=e._pendingValue=[r,r?d(o)?t.slice():t:o];try{e[Ei](o)}finally{Yt(()=>{e._pendingValue===s&&(e._pendingValue=void 0)})}}),e[Ei]=wi(r)},mounted(e,{value:t}){Ai(e,t)},beforeUpdate(e,{value:t},n){e._modelValue=t,e[Ei]=wi(n)},updated(e,{value:t}){const n=e._pendingValue;e._pendingValue=void 0,n&&n[0]===e.multiple&&function(e,t,n){if(!n)return X(e,t);if(d(e))return X(e,t);if(f(e)){if(e.size!==t.length)return!1;for(const n of t)if(!e.has(n))return!1;return!0}return!1}(t,n[1],n[0])||Ai(e,t)}};function Ai(e,t){const n=e.multiple,r=d(t);if(!n||r||f(t)){for(let o=0,s=e.options.length;o<s;o++){const s=e.options[o],i=Ri(s);if(n)if(r){const e=typeof i;s.selected="string"===e||"number"===e?t.some(e=>String(e)===String(i)):Q(t,i)>-1}else s.selected=t.has(i);else if(X(Ri(s),t))return void(e.selectedIndex!==o&&(e.selectedIndex=o))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function Ri(e){return"_value"in e?e._value:e.value}const Oi=["ctrl","shift","alt","meta"],Mi={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&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Oi.some(n=>e[`${n}Key`]&&!t.includes(n))},Pi=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(n,...r)=>{for(let e=0;e<t.length;e++){const r=Mi[t[e]];if(r&&r(n,t))return}return e(n,...r)})},Li={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Ni=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=n=>{if(!("key"in n))return;const r=A(n.key);return t.some(e=>e===r||Li[e]===r)?e(n):void 0})},Di=a({patchProp:(e,t,n,r,o,a)=>{const c="svg"===o;"class"===t?function(e,t,n){const r=e[js];r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,r,c):"style"===t?function(e,t,n){const r=e.style,o=g(n);let s=!1;if(n&&!o){if(t)if(g(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&ai(r,t,"")}else for(const e in t)null==n[e]&&ai(r,e,"");for(const o in n){"display"===o&&(s=!0);const i=n[o];null!=i?ui(e,o,!g(t)&&t?t[o]:void 0,i)||ai(r,o,i):ai(r,o,"")}}else if(o){if(t!==n){const e=r[oi];e&&(n+=";"+e),r.cssText=n,s=si.test(n)}}else t&&e.removeAttribute("style");
2ei in e&&(e[ei]=s?r.display:"",e[ti]&&(r.display="none"))}(e,n,r):s(t)?i(t)||function(e,t,n,r,o=null){const s=e[mi]||(e[mi]={}),i=s[t];if(r&&i)i.value=r;else{const[n,a]=function(e){let t,n;for(;(n=e.match(gi))&&!yi.test(e);)t||(t={}),e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[":"===e[2]?e.slice(3):A(e.slice(2)),t]}(t);if(r){const i=s[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();const r=n.value;if(d(r)){const n=e.stopImmediatePropagation;e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0};const o=r.slice(),s=[e];for(let r=0;r<o.length&&!e._stopped;r++){const e=o[r];e&&Ut(e,t,5,s)}}else Ut(r,t,5,[e])};return n.value=e,n.attached=vi||(_i.then(()=>vi=0),vi=Date.now()),n}(r,o);hi(e,n,i,a)}else i&&(function(e,t,n,r){e.removeEventListener(t,n,r)}(e,n,i,a),s[t]=void 0)}}(e,t,0,r,a):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,r){if(r)return"innerHTML"===t||"textContent"===t||!!(t in e&&bi(t)&&m(n));if("spellcheck"===t||"draggable"===t||"translate"===t||"autocorrect"===t)return!1;if("sandbox"===t&&"IFRAME"===e.tagName)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}return(!bi(t)||!g(n))&&t in e}(e,t,r,c))?(fi(e,t,r),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||pi(e,t,r,c,0,"value"!==t)):e._isVueCE&&(function(e,t){const n=e._def.props;if(!n)return!1;const r=C(t);return Array.isArray(n)?n.some(e=>C(e)===r):Object.keys(n).some(e=>C(e)===r)}(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!g(r)))?fi(e,C(t),r,0,t):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),pi(e,t,r,c))}},Ns);let $i,ji=!1;function Fi(e){return e instanceof SVGElement?"svg":"function"==typeof MathMLElement&&e instanceof MathMLElement?"mathml":void 0}function Bi(e){return g(e)?document.querySelector(e):e}const Ui=/"(?:_|\\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*:/,Hi=/"(?: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*:/,Wi=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function qi(e,t){if(!("__proto__"===e||"constructor"===e&&t&&"object"==typeof t&&"prototype"in t))return t}function zi(e,t={}){if("string"!=typeof e)return e;if('"'===e[0]&&'"'===e[e.length-1]&&-1===e.indexOf("\\"))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(!Wi.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Ui.test(e)||Hi.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,qi)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const Vi=/#/g,Gi=/&/g,Ki=/\//g,Ji=/=/g,Yi=/\?/g,Xi=/\+/g,Qi=/%5e/gi,Zi=/%60/gi,ea=/%7c/gi,ta=/%20/gi,na=/%2f/gi,ra=/%252f/gi;function oa(e){return encodeURI(""+e).replace(ea,"|")}function sa(e){return oa("string"==typeof e?e:JSON.stringify(e)).replace(Xi,"%2B").replace(ta,"+").replace(Vi,"%23").replace(Gi,"%26").replace(Zi,"`").replace(Qi,"^").replace(Ki,"%2F")}function ia(e){return sa(e).replace(Ji,"%3D")}function aa(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function ca(e){return aa(e.replace(Xi," "))}function la(e){return aa(e.replace(Xi," "))}function ua(e=""){const t=Object.create(null);"?"===e[0]&&(e=e.slice(1));for(const n of e.split("&")){const e=n.match(/([^=]+)=?(.*)/)||[];if(e.length<2)continue;const r=ca(e[1]);if("__proto__"===r||"constructor"===r)continue;const o=la(e[2]||"");void 0===t[r]?t[r]=o:Array.isArray(t[r])?t[r].push(o):t[r]=[t[r],o]}return t}const da=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,pa=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,fa=/^([/\\]\s*){2,}[^/\\]/,ha=/^[\s\0]*(blob|data|javascript|vbscript):$/i,ma=/\/$|\/\?|\/#/,ga=/^\.?\//;function ya(e,t={}){return"boolean"==typeof t&&(t={acceptRelative:t}),t.strict?da.test(e):pa.test(e)||!!t.acceptRelative&&fa.test(e)}function va(e){return!!e&&ha.test(e)}function _a(e="",t){return t?ma.test(e):e.endsWith("/")}function ba(e="",t){if(!t)return(_a(e)?e.slice(0,-1):e)||"/";if(!_a(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");-1!==o&&(n=e.slice(0,o),r=e.slice(o));const[s,...i]=n.split("?");return((s.endsWith("/")?s.slice(0,-1):s)||"/")+(i.length>0?`?${i.join("?")}`:"")+r}function wa(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(_a(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");if(-1!==o&&(n=e.slice(0,o),r=e.slice(o),!n))return r;const[s,...i]=n.split("?");return s+"/"+(i.length>0?`?${i.join("?")}`:"")+r}function Sa(e,t){if(Ea(t))return e;const n=ba(t);if(!e.startsWith(n))return e;const r=e[n.length];return r&&"/"!==r&&"?"!==r?e:"/"+e.slice(n.length).replace(/^\/+/,"")}function ka(e,t){const n=Ra(e),r={...ua(n.search),...t};return n.search=function(e){return Object.keys(e).filter(t=>void 0!==e[t]).map(t=>{return n=t,"number"!=typeof(r=e[t])&&"boolean"!=typeof r||(r=String(r)),r?Array.isArray(r)?r.map(e=>`${ia(n)}=${sa(e)}`).join("&"):`${ia(n)}=${sa(r)}`:ia(n);var n,r}
2).filter(Boolean).join("&")}(r),Ma(n)}function Ea(e){return!e||"/"===e}function xa(e,...t){let n=e||"";for(const r of t.filter(e=>function(e){return e&&"/"!==e}(e)))if(n){const e=r.replace(ga,"");n=wa(n)+e}else n=r;return n}function Ta(...e){const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let o=0;for(const i of n)if(i&&"/"!==i)for(const[e,n]of i.split(t).entries())if(n&&"."!==n)if(".."!==n)1===e&&r[r.length-1]?.endsWith(":/")?r[r.length-1]+="/"+n:(r.push(n),o++);else{if(1===r.length&&ya(r[0]))continue;r.pop(),o--}let s=r.join("/");return o>=0?n[0]?.startsWith("/")&&!s.startsWith("/")?s="/"+s:n[0]?.startsWith("./")&&!s.startsWith("./")&&(s="./"+s):s="../".repeat(-1*o)+s,n[n.length-1]?.endsWith("/")&&!s.endsWith("/")&&(s+="/"),s}function Ca(e,t){return aa(ba(e))===aa(ba(t))}function Ia(e){return Ma({...Ra(e),hash:""})}const Aa=Symbol.for("ufo:protocolRelative");function Ra(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,e,t=""]=n;return{protocol:e.toLowerCase(),pathname:t,href:e+t,auth:"",host:"",search:"",hash:""}}if(!ya(e,{acceptRelative:!0}))return Oa(e);const[,r="",o,s=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,i="",a=""]=s.match(/([^#/?]*)(.*)?/)||[];"file:"===r&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:c,search:l,hash:u}=Oa(a);return{protocol:r.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:i,pathname:c,search:l,hash:u,[Aa]:!r}}function Oa(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function Ma(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",o=e.auth?e.auth+"@":"",s=e.host||"";return(e.protocol||e[Aa]?(e.protocol||"")+"//":"")+o+s+t+n+r}class Pa extends Error{constructor(e,t){super(e,t),this.name="FetchError",t?.cause&&!this.cause&&(this.cause=t.cause)}}const La=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Na(e="GET"){return La.has(e.toUpperCase())}const Da=new Set(["image/svg","application/xml","application/xhtml","application/html"]),$a=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function ja(e,t,n,r){const o=function(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[o,s]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(o,s);return r}(t?.headers??e?.headers,n?.headers,r);let s;return(n?.query||n?.params||t?.params||t?.query)&&(s={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:s,params:s,headers:o}}async function Fa(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const Ba=new Set([408,409,425,429,500,502,503,504]),Ua=new Set([101,204,205,304]),Ha=function(){if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw new Error("unable to locate global object")}(),Wa=function e(t={}){const{fetch:n=globalThis.fetch,Headers:r=globalThis.Headers,AbortController:o=globalThis.AbortController}=t;async function s(e){const t=e.error&&"AbortError"===e.error.name&&!e.options.timeout||!1;if(!1!==e.options.retry&&!t){let t;t="number"==typeof e.options.retry?e.options.retry:Na(e.options.method)?0:1;const n=e.response&&e.response.status||500;if(t>0&&(Array.isArray(e.options.retryStatusCodes)?e.options.retryStatusCodes.includes(n):Ba.has(n))){const n="function"==typeof e.options.retryDelay?e.options.retryDelay(e):e.options.retryDelay||0;return n>0&&await new Promise(e=>setTimeout(e,n)),i(e.request,{...e.options,retry:t-1})}}const n=function(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",r=e.request?.url||String(e.request)||"/",o=`[${n}] ${JSON.stringify(r)}`,s=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=new Pa(`${o}: ${s}${t?` ${t}`:""}`,e.error?{cause:e.error}:void 0);for(const a of["request","options","response"])Object.defineProperty(i,a,{get:()=>e[a]});for(const[a,c]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(i,a,{get:()=>e.response&&e.response[c]});return i}(e);throw Error.captureStackTrace&&Error.captureStackTrace(n,i),n}const i=async function(e,i={}){const a={request:e,options:ja(e,i,t.defaults,r),response:void 0,error:void 0};if(a.options.method&&(a.options.method=a.options.method.toUpperCase()),a.options.onRequest&&(await Fa(a,a.options.onRequest),a.options.headers instanceof r||(a.options.headers=new r(a.options.headers||{}))),"string"==typeof a.request&&(a.options.baseURL&&(a.request=function(e,t){if(Ea(t)||ya(e))return e;const n=ba(t);
2if(e.startsWith(n)){const t=e[n.length];if(!t||"/"===t||"?"===t)return e}return xa(n,e)}(a.request,a.options.baseURL)),a.options.query&&(a.request=ka(a.request,a.options.query),delete a.options.query),"query"in a.options&&delete a.options.query,"params"in a.options&&delete a.options.params),a.options.body&&Na(a.options.method))if(function(e){if(void 0===e)return!1;const t=typeof e;return"string"===t||"number"===t||"boolean"===t||null===t||"object"===t&&(!!Array.isArray(e)||!e.buffer&&!(e instanceof FormData||e instanceof URLSearchParams)&&(e.constructor&&"Object"===e.constructor.name||"function"==typeof e.toJSON))}(a.options.body)){const e=a.options.headers.get("content-type");"string"!=typeof a.options.body&&(a.options.body="application/x-www-form-urlencoded"===e?new URLSearchParams(a.options.body).toString():JSON.stringify(a.options.body)),e||a.options.headers.set("content-type","application/json"),a.options.headers.has("accept")||a.options.headers.set("accept","application/json")}else("pipeTo"in a.options.body&&"function"==typeof a.options.body.pipeTo||"function"==typeof a.options.body.pipe)&&("duplex"in a.options||(a.options.duplex="half"));let c;if(!a.options.signal&&a.options.timeout){const e=new o;c=setTimeout(()=>{const t=new Error("[TimeoutError]: The operation was aborted due to timeout");t.name="TimeoutError",t.code=23,e.abort(t)},a.options.timeout),a.options.signal=e.signal}try{a.response=await n(a.request,a.options)}catch(l){return a.error=l,a.options.onRequestError&&await Fa(a,a.options.onRequestError),await s(a)}finally{c&&clearTimeout(c)}if((a.response.body||a.response._bodyInit)&&!Ua.has(a.response.status)&&"HEAD"!==a.options.method){const e=(a.options.parseResponse?"json":a.options.responseType)||function(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return $a.test(t)?"json":"text/event-stream"===t?"stream":Da.has(t)||t.startsWith("text/")?"text":"blob"}(a.response.headers.get("content-type")||"");switch(e){case"json":{const e=await a.response.text(),t=a.options.parseResponse||zi;a.response._data=t(e);break}case"stream":a.response._data=a.response.body||a.response._bodyInit;break;default:a.response._data=await a.response[e]()}}return a.options.onResponse&&await Fa(a,a.options.onResponse),!a.options.ignoreResponseError&&a.response.status>=400&&a.response.status<600?(a.options.onResponseError&&await Fa(a,a.options.onResponseError),await s(a)):a.response},a=async function(e,t){return(await i(e,t))._data};return a.raw=i,a.native=(...e)=>n(...e),a.create=(n={},r={})=>e({...t,...r,defaults:{...t.defaults,...r.defaults,...n}}),a}({fetch:Ha.fetch?(...e)=>Ha.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),Headers:Ha.Headers,AbortController:Ha.AbortController}),qa=Wa,za=()=>(window?.__NUXT__?.config||{}).app,Va=(...e)=>Ta(Ga(),za().buildAssetsDir,...e),Ga=(...e)=>{const t=za(),n=t.cdnURL||t.baseURL;return e.length?Ta(n,...e):n};function Ka(e,t={},n){for(const r in e){const o=e[r],s=n?`${n}:${r}`:r;"object"==typeof o&&null!==o?Ka(o,t,s):"function"==typeof o&&(t[s]=o)}return t}globalThis.__buildAssetsURL=Va,globalThis.__publicAssetsURL=Ga,globalThis.$fetch||(globalThis.$fetch=qa.create({baseURL:za().baseURL})),"global"in globalThis||(globalThis.global=globalThis);const Ja={run:e=>e()},Ya=void 0!==console.createTask?console.createTask:()=>Ja;function Xa(e,t){const n=t.shift(),r=Ya(n);return e.reduce((e,n)=>e.then(()=>r.run(()=>n(...t))),Promise.resolve())}function Qa(e,t){const n=t.shift(),r=Ya(n);return Promise.all(e.map(e=>r.run(()=>e(...t))))}function Za(e,t){for(const n of[...e])n(t)}let ec=class{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(e,t,n={}){if(!e||"function"!=typeof t)return()=>{};const r=e;let o;for(;this._deprecatedHooks[e];)o=this._deprecatedHooks[e],e=o.to;if(o&&!n.allowDeprecated){let e=o.message;e||(e=`${r} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(e)||this._deprecatedMessages.add(e)}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let n,r=(...e)=>("function"==typeof n&&n(),n=void 0,r=void 0,t(...e));return n=this.hook(e,r),n}removeHook(e,t){if(this._hooks[e]){const n=this._hooks[e].indexOf(t);-1!==n&&this._hooks[e].splice(n,1),0===this._hooks[e].length&&delete this._hooks[e]}}deprecateHook(e,t){this._deprecatedHooks[e]="string"==typeof t?{to:t}:t;const n=this._hooks[e]||[];delete this._hooks[e];for(const r of n)this.hook(e,r)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=Ka(e),n=Object.keys(t).map(e=>this.hook(e,t[e]));return()=>{for(const e of n.splice(0,n.length))e()}}removeHooks(e){const t=Ka(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...t){return t.unshift(e),this.callHookWith(Xa,e,...t)}callHookParallel(e,...t){return t.unshift(e),this.callHookWith(Qa,e,...t)}callHookWith(e,t,...n){const r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&Za(this._before,r);const o=e(t in this._hooks?[...this._hooks[t]]:[],n);return o instanceof Promise?o.finally(()=>{this._after&&r&&Za(this._after,r)}):(this._after&&r&&Za(this._after,r),o)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(void 0!==this._before){const t=this._before.indexOf(e);-1!==t&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(void 0!==this._after){const t=this._after.indexOf(e);-1!==t&&this._after.splice(t,1)}}}};const tc="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof global?global:"undefined"!=typeof window?window:{},nc="__unctx__",rc=tc[nc]||(tc[nc]=function(e={}){const t={};return{get:(n,r={})=>(t[n]||(t[n]=function(e={}){let t,n=!1;const r=e=>{if(t&&t!==e)throw new Error("Context conflict")};let o;if(e.asyncContext){const t=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;t&&(o=new t)}const s=()=>
2{if(o){const e=o.getStore();if(void 0!==e)return e}return t};return{use:()=>{const e=s();if(void 0===e)throw new Error("Context is not available");return e},tryUse:()=>s(),set:(e,o)=>{o||r(e),t=e,n=!0},unset:()=>{t=void 0,n=!1},call:(e,s)=>{r(e),t=e;try{return o?o.run(e,s):s()}finally{n||(t=void 0)}},async callAsync(e,r){t=e;const s=()=>{t=e},i=()=>t===e?s:void 0;sc.add(i);try{const s=o?o.run(e,r):r();return n||(t=void 0),await s}finally{sc.delete(i)}}}}({...e,...r})),t[n])}}()),oc="__unctx_async_handlers__",sc=tc[oc]||(tc[oc]=new Set);function ic(e){const t=[];for(const o of sc){const e=o();e&&t.push(e)}const n=()=>{for(const e of t)e()};let r=e();return r&&"object"==typeof r&&"catch"in r&&(r=r.catch(e=>{throw n(),e})),[r,n]}const ac={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},cc="nuxt-app",lc=36e5;function uc(e=cc){return((e,t={})=>rc.get(e,t))(e,{asyncContext:!1})}const dc="__nuxt_plugin";function pc(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}function fc(e){if("function"==typeof e)return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[dc]:!0,_name:t})}function hc(e,t,n){return uc(e._id).set(e),e.vueApp.runWithContext(()=>t())}function mc(e){let t;return fn()&&(t=ms()?.appContext.app.$nuxt),t||=uc(e).tryUse(),t||null}function gc(e){const t=mc(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function yc(e){return gc().$config}function vc(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function _c(e){if(null===e||"object"!=typeof e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.iterator in e||Symbol.toStringTag in e&&"[object Module]"!==Object.prototype.toString.call(e))}function bc(e,t,n=".",r){if(!_c(t))return bc(e,{},n,r);const o={...t};for(const s of Object.keys(e)){if("__proto__"===s||"constructor"===s)continue;const t=e[s];null!=t&&(r&&r(o,s,t,n)||(Array.isArray(t)&&Array.isArray(o[s])?o[s]=[...t,...o[s]]:_c(t)&&_c(o[s])?o[s]=bc(t,o[s],(n?`${n}.`:"")+s.toString(),r):o[s]=t))}return o}const wc=(...e)=>e.reduce((e,t)=>bc(e,t,"",void 0),{});class Sc extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(e,t={}){super(e,t),t.cause&&!this.cause&&(this.cause=t.cause)}toJSON(){const e={message:this.message,statusCode:xc(this.statusCode,500)};return this.statusMessage&&(e.statusMessage=Ec(this.statusMessage)),void 0!==this.data&&(e.data=this.data),e}}const kc=/[^\u0009\u0020-\u007E]/g;function Ec(e=""){return e.replace(kc,"")}function xc(e,t=200){return e?("string"==typeof e&&(e=Number.parseInt(e,10)),e<100||e>999?t:e):t}"undefined"==typeof setImmediate||setImmediate;const Tc=Symbol("layout-meta"),Cc=Symbol("route");import.meta.url.replace(/\/app\/.*$/,"/");const Ic=()=>gc()?.$router,Ac=()=>{if(fn()){const e=ms();if(!e||function(e){const t=e.scope;let n=ie();for(;n;){if(n===t)return!0;n=n.parent}return!1}(e))return pn(Cc,gc()._route)}return gc()._route};function Rc(e){return e}const Oc=(e,t)=>{e||="/";const n="string"==typeof e?e:"path"in e?Mc(e):Ic().resolve(e).href;if(t?.open){const{protocol:e}=new URL(n,window.location.href);if(e&&va(e))throw new Error(`Cannot navigate to a URL with '${e}' protocol.`);const{target:r="_blank",windowFeatures:o={}}=t.open,s=[];for(const[t,n]of Object.entries(o))void 0!==n&&s.push(`${t.toLowerCase()}=${n}`);return open(n,r,s.join(", ")),Promise.resolve()}const r=ya(n,{acceptRelative:!0}),o=t?.external||r;if(o){if(!t?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:e}=new URL(n,window.location.href);if(e&&va(e))throw new Error(`Cannot navigate to a URL with '${e}' protocol.`)}const s=(()=>{try{if(gc()._processingMiddleware)return!0}catch{return!1}return!1})();if(!o&&s){if(t?.replace){if("string"==typeof e){const{pathname:t,search:n,hash:r}=Ra(e);return{path:t,...n&&{query:ua(n)},...r&&{hash:r},replace:!0}}return{...e,replace:!0}}return e}const i=Ic(),a=gc();if(o)return a._scope.stop(),t?.replace?location.replace(n):location.href=n,s?!!a.isHydrating&&new Promise(()=>{}):Promise.resolve();const c="string"==typeof e?Pc(e):e;return t?.replace?i.replace(c):i.push(c)};function Mc(e){return ka(e.path||"",e.query||{})+(e.hash||"")}function Pc(e){const t=Ra(e);return oa(aa(t.pathname.replace(na,"%252F"))).replace(Vi,"%23").replace(Yi,"%3F").replace(ra,"%2F").replace(Gi,"%2
26").replace(Xi,"%2B")+t.search+t.hash}const Lc="__nuxt_error",Nc=()=>Pt(gc().payload,"error"),Dc=e=>{const t=Fc(e);try{const e=Nc();gc().hooks.callHook("app:error",t),e.value||=t}catch{throw t}return t},$c=async(e={})=>{const t=gc(),n=Nc();t.callHook("app:error:cleared",e),e.redirect&&await Ic().replace(e.redirect),n.value=null},jc=e=>!!e&&"object"==typeof e&&Lc in e,Fc=e=>{"string"!=typeof e&&e.statusText&&(e.message??=e.statusText);const t=function(e){if("string"==typeof e)return new Sc(e);if(function(e){return!0===e?.constructor?.__h3_error__}(e))return e;const t=new Sc(e.message??e.statusMessage??"",{cause:e.cause||e});if(function(e){try{return"stack"in e}catch{return!1}}(e))try{Object.defineProperty(t,"stack",{get:()=>e.stack})}catch{try{t.stack=e.stack}catch{}}return e.data&&(t.data=e.data),e.statusCode?t.statusCode=xc(e.statusCode,t.statusCode):e.status&&(t.statusCode=xc(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage&&(t.statusMessage,Ec(t.statusMessage)),void 0!==e.fatal&&(t.fatal=e.fatal),void 0!==e.unhandled&&(t.unhandled=e.unhandled),t}(e);return Object.defineProperty(t,Lc,{value:!0,configurable:!1,writable:!1}),Object.defineProperty(t,"status",{get:()=>t.statusCode,configurable:!0}),Object.defineProperty(t,"statusText",{get:()=>t.statusMessage,configurable:!0}),t};function Bc(e){return!(!Number.isInteger(e)||e<0||e>4294967294)}const Uc="function"==typeof Uint8Array.fromBase64,Hc="object"==typeof process&&void 0!==process.versions?.node,Wc=Uc?function(e){return Uint8Array.fromBase64(e).buffer}:Hc?function(e){return Uint8Array.from(Buffer.from(e,"base64")).buffer}:function(e){const t=atob(e),n=t.length,r=new Uint8Array(n);for(let o=0;o<n;o++)r[o]=t.charCodeAt(o);return r.buffer},qc=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get,zc="undefined"==typeof SharedArrayBuffer?void 0:Object.getOwnPropertyDescriptor(SharedArrayBuffer.prototype,"byteLength").get,Vc={fromPrimitive:e=>e,fromISOString:e=>new Date(e),fromStringValue:(e,t)=>"URL"===e?new URL(t):"URLSearchParams"===e?new URLSearchParams(t):Temporal[e.slice(9)].from(t),fromArrayBuffer:e=>e,fromRegExpInfo:(e,t)=>new RegExp(e,t),fromViewInfo:(e,t,n,r)=>{try{qc.call(t)}catch(s){if(!zc)throw s;zc.call(t)}const o=globalThis[e];return void 0!==n?new o(t,n,r):new o(t)},box:e=>Object(e),createArray:e=>new Array(e),createSparseArray:e=>{const t=[];return t[4294967294]=void 0,delete t[4294967294],t.length=e,t},createObject:()=>({}),createNullPrototypeObject:()=>Object.create(null),createSet:()=>new Set,createMap:()=>new Map,set:(e,t,n)=>{e[t]=n},addValue:(e,t)=>{e.add(t)},addEntry:(e,t,n)=>{e.set(t,n)}},Gc=Object.freeze(Vc),Kc=new Set(["link","style","script","noscript"]),Jc=new Set(["title","titleTemplate","script","style","noscript"]),Yc=new Set(["base","meta","link","style","script","noscript"]),Xc=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),Qc=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Zc=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),el=new Set(["templateParams","htmlAttrs","bodyAttrs"]),tl=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),nl=e=>"number"==typeof e?Number.isFinite(e):e;function rl(e){return"__proto__"===e||"constructor"===e||"prototype"===e}const ol=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,sl={base:-10,title:10},il={critical:-8,high:-1,low:2},al={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}},cl=/@import/,ll=e=>""===e||!0===e;function ul(e,t){if("number"==typeof t.tagPriority)return t.tagPriority;let n=100;const r=il[t.tagPriority]||0,o=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:al;if(t.tag in sl)n=sl[t.tag];else if("meta"===t.tag){const e="content-security-policy"===t.props["http-equiv"]?"content-security-policy":t.props.charset?"charset":"viewport"===t.props.name?"viewport":null;e&&(n=al.meta[e])}else if("link"===t.tag&&t.props.rel)n=o.link[t.props.rel];else if("script"===t.tag){const e=String(t.props.type);ll(t.props.async)?n=o.script.async:t.props.src&&!ll(t.props.defer)&&!ll(t.props.async)&&"module"!==e&&!e.endsWith("json")||t.innerHTML&&!e.endsWith("json")?n=o.script.sync:(ll(t.props.defer)&&t.props.src&&!ll(t.props.async)||"module"===e)&&(n=o.script.defer)}else"style"===t.tag&&(n=t.innerHTML&&cl.test(t.innerHTML)?o.style.imported:o.style.sync);return(n||100)+r}function dl(e){return e}function pl(e,t={},n){for(const r in e){const o=e[r],s=n?`${n}:${r}`:r;"object"==typeof o&&null!==o?pl(o,t,s):"function"==typeof o&&(t[s]=o)}return t}const fl=(()=>
2{if(console.createTask)return console.createTask;const e={run:e=>e()};return()=>e})();function hl(e,t,n,r){for(let s=n;s<e.length;s+=1)try{const n=r?r.run(()=>e[s](...t)):e[s](...t);if(n&&"function"==typeof n.then)return Promise.resolve(n).then(()=>hl(e,t,s+1,r))}catch(o){return Promise.reject(o)}}function ml(e,t,n){if(e.length>0)return hl(e,t,0,fl(n))}function gl(e,t,n){if(e.length>0){const r=fl(n);return Promise.all(e.map(e=>r.run(()=>e(...t))))}}function yl(e,t){for(const n of[...e])n(t)}var vl=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;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(e,t,n={}){if(!e||"function"!=typeof t)return()=>{};const r=e;let o;for(;this._deprecatedHooks[e];)o=this._deprecatedHooks[e],e=o.to;if(o&&!n.allowDeprecated){let e=o.message;e||(e=`${r} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(e)||this._deprecatedMessages.add(e)}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let n,r=(...e)=>("function"==typeof n&&n(),n=void 0,r=void 0,t(...e));return n=this.hook(e,r),n}removeHook(e,t){const n=this._hooks[e];if(n){const r=n.indexOf(t);-1!==r&&n.splice(r,1),0===n.length&&(this._hooks[e]=void 0)}}clearHook(e){this._hooks[e]=void 0}deprecateHook(e,t){this._deprecatedHooks[e]="string"==typeof t?{to:t}:t;const n=this._hooks[e]||[];this._hooks[e]=void 0;for(const r of n)this.hook(e,r)}deprecateHooks(e){for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=pl(e),n=Object.keys(t).map(e=>this.hook(e,t[e]));return()=>{for(const e of n)e();n.length=0}}removeHooks(e){const t=pl(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(ml,e,t)}callHookParallel(e,...t){return this.callHookWith(gl,e,t)}callHookWith(e,t,n){const r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&yl(this._before,r);const o=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return o instanceof Promise?o.finally(()=>{this._after&&r&&yl(this._after,r)}):(this._after&&r&&yl(this._after,r),o)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(void 0!==this._before){const t=this._before.indexOf(e);-1!==t&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(void 0!==this._after){const t=this._after.indexOf(e);-1!==t&&this._after.splice(t,1)}}}};const _l=["name","property","http-equiv"],bl=new Set(["viewport","description","keywords","robots"]);function wl(e){const t=e.indexOf(":");if(-1===t)return!1;const n=e.indexOf(":",t+1),r=e.slice(t+1,-1===n?e.length:n);return"twitter"===r?"meta:twitter:image"===e||e.startsWith("meta:twitter:image:"):tl.has(r)}function Sl(e){const{props:t,tag:n}=e;if(Qc.has(n))return n;if("link"===n&&"canonical"===t.rel)return"canonical";if("link"===n&&"alternate"===t.rel){if(t.hreflang)return`alternate:${t.hreflang}`;if(t.type)return`alternate:${t.type}:${t.href||""}`}if(t.charset)return"charset";if("meta"===e.tag)for(const r of _l)if(void 0!==t[r]){const o=t[r],s=o&&"string"==typeof o&&o.includes(":"),i=o&&bl.has(o);return`${n}:${o}${s||i||!e.key?"":`:key:${e.key}`}`}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if("link"===n&&"alternate"===t.rel)return`alternate:${t.href||""}`;if(Jc.has(n)){const t=e.textContent||e.innerHTML;if(t)return`${n}:content:${t}`}}function kl(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;if(n)return n;const r=Object.keys(e.props).sort();return`${e.tag}:${r.map(t=>`${t}:${String(e.props[t])}`).join(",")}`}function El(e,t,n){"function"==typeof e&&(n&&("titleTemplate"===n||"o"===n[0]&&"n"===n[1])||(e=e()));const r=t?t(n,e):e;if(Array.isArray(r)){let e;for(let n=0;n<r.length;n++){const o=El(r[n],t);e?e[n]=o:o!==r[n]&&(e=r.slice(0,n),e[n]=o)}return e||r}if(r?.constructor===Object){let e;for(const n in r){const o=rl(n),s=o?void 0:El(r[n],t,n);if(!e&&(o||"_resolver"===n||s!==r[n])){e={};for(const t in r){if(t===n)break;e[t]=r[t]}}e&&!o&&(e[n]=s)}return e||r}return r}const xl=/[\s"'<>/=\x00-\x1F\x7F]/;function Tl(e,t){const n="style"===e?new Map:new Set;function r(t){if(null==t||void 0===t)return;const r=String(t).trim();if(r)if("style"===e){const[e,...t]=r.split(":").map(e=>e?e.trim():"");e&&t.length&&n.set(e,t.join(":"))}
2else r.split(" ").filter(Boolean).forEach(e=>n.add(e))}return"string"==typeof t?"style"===e?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(e=>r(e)):t&&"object"==typeof t&&Object.entries(t).forEach(([t,o])=>{o&&"false"!==o&&("style"===e?n.set(String(t).trim(),String(o)):r(t))}),n}function Cl(e,t){if(e.props=e.props||{},!t)return e;if("templateParams"===e.tag)return e.props=t,e;const n=Yc.has(e.tag)||"htmlAttrs"===e.tag||"bodyAttrs"===e.tag;for(const r of Object.keys(t)){if(rl(r))continue;const o=r.startsWith("data-"),s=n&&!Zc.has(r),i=s&&!o?r.toLowerCase():r;if(s&&(!i||xl.test(i)))continue;const a=t[r];if(null===a){e.props[i]=null;continue}if("class"===r||"style"===r){e.props[r]=Tl(r,a);continue}if(Zc.has(r)){if("textContent"!==r&&"innerHTML"!==r||"object"!=typeof a)e[r]=a;else{let n=t.type;if(t.type||(n="application/json"),!n?.endsWith("json")&&"speculationrules"!==n)continue;t.type=n,e.props.type=n,e[r]=JSON.stringify(a)}continue}const c=String(a),l="meta"===e.tag&&"content"===i;"true"===c||""===c?e.props[i]=!o&&!l||c:!a&&o&&"false"===c?e.props[i]="false":void 0!==a&&(e.props[i]=a)}return e}function Il(e,t){const n=Cl({tag:e,props:{}},"object"==typeof t&&"function"!=typeof t?t:{["script"===e||"noscript"===e||"style"===e?"innerHTML":"textContent"]:t});return n.key&&Kc.has(n.tag)&&(n.props["data-hid"]=n._h=n.key),"script"===n.tag&&"object"==typeof n.innerHTML&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||"application/json"),Array.isArray(n.props.content)?n.props.content.map(e=>({...n,props:{...n.props,content:e}})):n}function Al(e,t){if(!e)return[];"function"==typeof e&&(e=e());const n=(e,n)=>{for(let r=0;r<t.length;r++)n=t[r](e,n);return n};e=n(void 0,e);const r=[];return e=El(e,n),Object.entries(e||{}).forEach(([e,t])=>{if(void 0!==t)for(const n of Array.isArray(t)?t:[t])r.push(Il(e,n))}),r.flat()}function Rl(e,t){const n="function"==typeof t?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 Ol(e={}){const t=new vl;t.addHooks(e.hooks||{});const n=!e.document,r=new Map,o=new Map,s=new Set,i={_entryCount:1,plugins:o,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries:()=>[...r.values()],use:e=>Rl(i,e),push(e,o){const a={...o||{}};delete a.head;const c=a._index??i._entryCount++,l={_i:c,input:e,options:a},u={_poll(e=!1){i.dirty=!0,!e&&s.add(c),t.callHook("entries:updated",i)},dispose(){r.delete(c)&&i.invalidate()},patch(e){(!a.mode||"server"===a.mode&&n||"client"===a.mode&&!n)&&(l.input=e,r.set(c,l),u._poll())}};return u.patch(e),u},async resolveTags(){const n={tagMap:new Map,tags:[],entries:[...i.entries.values()]};for(await t.callHook("entries:resolve",n);s.size;){const n=s.values().next().value;s.delete(n);const o=r.get(n);if(o){const n={tags:Al(o.input,e.propResolvers||[]).map(e=>Object.assign(e,o.options)),entry:o};await t.callHook("entries:normalize",n),o._tags=n.tags.map((e,t)=>(e._w=ul(i,e),e._p=(o._i<<10)+t,e._d=Sl(e),e._d||(e._h=kl(e)),e))}}let o=!1;
2n.entries.flatMap(e=>(e._tags||[]).map(e=>({...e,props:{...e.props}}))).sort(ol).reduce((e,t)=>{const n=t._d||t._h;if(!e.has(n))return e.set(n,t);const r=e.get(n);if("merge"===(t?.tagDuplicateStrategy||(el.has(t.tag)?"merge":null)||(t.key&&t.key===r.key?"merge":null))){const o={...r.props};Object.entries(t.props).forEach(([e,t])=>o[e]="style"===e?new Map([...r.props.style||new Map,...t]):"class"===e?new Set([...r.props.class||new Set,...t]):t),e.set(n,{...t,props:o})}else t._p>>10==r._p>>10&&"meta"===t.tag&&wl(n)?(e.set(n,Object.assign([...Array.isArray(r)?r:[r],t],t)),o=!0):(t._w===r._w?t._p>r._p:t?._w<r?._w)&&e.set(n,t);return e},n.tagMap);const a=n.tagMap.get("title"),c=n.tagMap.get("titleTemplate");if(i._title=a?.textContent,c){const e=c?.textContent;if(i._titleTemplate=e,e){let t="function"==typeof e?e(a?.textContent):e;"string"!=typeof t||i.plugins.has("template-params")||(t=t.replace("%s",a?.textContent||"")),a?null===t?n.tagMap.delete("title"):n.tagMap.set("title",{...a,textContent:t}):(c.tag="title",c.textContent=t)}}n.tags=Array.from(n.tagMap.values()),o&&(n.tags=n.tags.flat().sort(ol)),await t.callHook("tags:beforeResolve",n),await t.callHook("tags:resolve",n),await t.callHook("tags:afterResolve",n);const l=[];for(const e of n.tags){const{innerHTML:t,tag:n,props:r}=e;if(Xc.has(n)&&(0!==Object.keys(r).length||nl(e.innerHTML)||nl(e.textContent))&&("meta"!==n||nl(r.content)||r["http-equiv"]||r.charset)){if("script"===n&&t){if(String(r.type).endsWith("json")){const n="string"==typeof t?t:JSON.stringify(t);e.innerHTML=n.replace(/</g,"\\u003C")}else"string"==typeof t&&(e.innerHTML=t.replace(new RegExp(`</${n}`,"g"),`<\\/${n}`));e._d=Sl(e)}l.push(e)}}return l},invalidate(){for(const e of r.values())s.add(e._i);i.dirty=!0,t.callHook("entries:updated",i)}};return(e?.plugins||[]).forEach(e=>Rl(i,e)),i.hooks.callHook("init",i),e.init?.forEach(e=>e&&i.push(e)),i}const Ml="%separator";function Pl(e,t,n,r=!1){if("string"!=typeof e||!e.includes("%"))return e;let o=e;try{o=decodeURI(e)}catch{}const s=o.match(/%\w+(?:\.\w+)?/g);if(!s)return e;const i=e.includes(Ml);return e=e.replace(/%\w+(?:\.\w+)?/g,e=>{if(e===Ml||!s.includes(e))return e;const n=function(e,t,n=!1){let r;if("s"===t||"pageTitle"===t)r=e.pageTitle;else if(t.includes(".")){const n=t.indexOf(".");r=e[t.substring(0,n)]?.[t.substring(n+1)]}else r=e[t];if(void 0!==r)return n?(r||"").replace(/\\/g,"\\\\").replace(/</g,"\\u003C").replace(/"/g,'\\"'):r||""}(t,e.slice(1),r);return void 0!==n?n:e}).trim(),i&&(e=e.split(Ml).map(e=>e.trim()).filter(e=>""!==e).join(n?` ${n} `:" ")),e}const Ll=e=>e.includes(":key")?e:e.split(":").join(":key:"),Nl={key:"aliasSorting",hooks:{"tags:resolve":e=>{let t=!1;for(const n of e.tags){const r=n.tagPriority;if(!r)continue;const o=String(r);if(o.startsWith("before:")){const r=Ll(o.slice(7)),s=e.tagMap.get(r);s&&("number"==typeof s.tagPriority&&(n.tagPriority=s.tagPriority),n._p=s._p-1,t=!0)}else if(o.startsWith("after:")){const r=Ll(o.slice(6)),s=e.tagMap.get(r);s&&("number"==typeof s.tagPriority&&(n.tagPriority=s.tagPriority),n._p=s._p+1,t=!0)}}t&&(e.tags=e.tags.sort(ol))}}},Dl=dl({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 $l(e){if("function"==typeof e)return e;if(e instanceof Promise)return await e;if(Array.isArray(e))return await Promise.all(e.map(e=>$l(e)));if(e?.constructor===Object){const t={};for(const n of Object.keys(e))t[n]=await $l(e[n]);return t}return e}const jl=dl({key:"promises",hooks:{"entries:resolve":async e=>{const t=[];for(const n in e.entries)e.entries[n]._promisesProcessed||t.push($l(e.entries[n].input).then(t=>{e.entries[n].input=t,e.entries[n]._promisesProcessed=!0}));await Promise.all(t)}}}),Fl={meta:"content",link:"href",htmlAttrs:"lang"},Bl=["innerHTML","textContent"],Ul=dl(e=>({key:"template-params",hooks:{"entries:normalize":t=>{const n=t.tags.filter(e=>"templateParams"===e.tag&&"server"===e.mode)?.[0]?.props||{};Object.keys(n).length&&(e._ssrPayload={templateParams:{...e._ssrPayload?.templateParams||{},...n}})},"tags:resolve":({tagMap:t,tags:n})=>{const r=t.get("templateParams")?.props||{},o=r.separator||"|";delete r.separator,r.pageTitle=Pl(r.pageTitle||e._title||"",r,o);for(const e of n){if(!1===e.processTemplateParams)continue;const t=Fl[e.tag];if(t&&"string"==typeof e.props[t])e.props[t]=Pl(e.props[t],r,o);else if(e.processTemplateParams||"titleTemplate"===e.tag||"title"===e.tag)for(const n of Bl)"string"==typeof e[n]&&(e[n]=Pl(e[n],r,o,"script"===e.tag&&e.props.type.endsWith("json")))}e._templateParams=r,e._separator=o},"tags:afterResolve":({tagMap:t})=>{const n=t.get("title");n?.textContent&&!1!==n.processTemplateParams&&(n.textContent=Pl(n.textContent,e._templateParams,e._separator))}}})),Hl=(e,t)=>{return kt(t)?m(n=t)?n():It(n):t;var n},Wl="usehead";function ql(e){return{install(t){t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(Wl,e)}}.install}function zl(){if(fn()){const e=pn(Wl);if(e)return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function Vl(e){const t=e||mc();return t?.ssrContext?.head||t?.runWithContext(()=>{if(fn())return pn(Wl)})}function Gl(e,t={}
2){const n=Vl(t.nuxt);if(n)return function(e,t={}){const n=t.head||zl();return n.ssr?n.push(e||{},t):function(e,t,n={}){const r=ie();if(r&&!r.active)return{patch(){},dispose(){},_poll(){}};const o=Et(!1);let s;return gn(()=>{const r=o.value?{}:El(t,Hl);s?s.patch(r):s=e.push(r,n)},null,void 0),ms()&&(mr(()=>{s.dispose()}),or(()=>{o.value=!0}),rr(()=>{o.value=!1})),s}(n,e,t)}(e,{head:n,...t})}const Kl="undefined"!=typeof document;function Jl(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}const Yl=Object.assign;function Xl(e,t){const n={};for(const r in t){const o=t[r];n[r]=Zl(o)?o.map(e):e(o)}return n}const Ql=()=>{},Zl=Array.isArray;function eu(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const tu=/#/g,nu=/&/g,ru=/\//g,ou=/=/g,su=/\?/g,iu=/\+/g,au=/%5B/g,cu=/%5D/g,lu=/%5E/g,uu=/%60/g,du=/%7B/g,pu=/%7C/g,fu=/%7D/g,hu=/%20/g;function mu(e){return null==e?"":encodeURI(""+e).replace(pu,"|").replace(au,"[").replace(cu,"]")}function gu(e){return mu(e).replace(iu,"%2B").replace(hu,"+").replace(tu,"%23").replace(nu,"%26").replace(uu,"`").replace(du,"{").replace(fu,"}").replace(lu,"^")}function yu(e){return gu(e).replace(ou,"%3D")}function vu(e){return function(e){return mu(e).replace(tu,"%23").replace(su,"%3F")}(e).replace(ru,"%2F")}function _u(e){if(null==e)return null;try{return decodeURIComponent(""+e)}catch(t){}return""+e}const bu=/\/$/;function wu(e,t,n="/"){let r,o={},s="",i="";const a=t.indexOf("#");let c=t.indexOf("?");return c=a>=0&&c>a?-1:c,c>=0&&(r=t.slice(0,c),s=t.slice(c,a>0?a:t.length),o=e(s.slice(1))),a>=0&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];".."!==o&&"."!==o||r.push("");let s,i,a=n.length-1;for(s=0;s<r.length;s++)if(i=r[s],"."!==i){if(".."!==i)break;a>1&&a--}return n.slice(0,a).join("/")+"/"+r.slice(s).join("/")}(null!=r?r:t,n),{fullPath:r+s+i,path:r,query:o,hash:_u(i)}}function Su(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function ku(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Eu(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!xu(e[n],t[n]))return!1;return!0}function xu(e,t){return Zl(e)?Tu(e,t):Zl(t)?Tu(t,e):e?.valueOf()===t?.valueOf()}function Tu(e,t){return Zl(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):1===e.length&&e[0]===t}const Cu={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Iu=function(e){return e.pop="pop",e.push="push",e}({}),Au=function(e){return e.back="back",e.forward="forward",e.unknown="",e}({});const Ru=/^[^#]+#/;function Ou(e,t){return e.replace(Ru,"#")+t}const Mu=()=>({left:window.scrollX,top:window.scrollY});function Pu(e,t){return(history.state?history.state.position-t:-1)+e}const Lu=new Map;function Nu(e){return"string"==typeof e||"symbol"==typeof e}let Du=function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e}({});const $u=Symbol("");function ju(e,t){return Yl(new Error,{type:e,[$u]:!0},t)}function Fu(e,t){return e instanceof Error&&$u in e&&(null==t||!!(e.type&t))}function Bu(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const e=n[r].replace(iu," "),o=e.indexOf("="),s=_u(o<0?e:e.slice(0,o)),i=o<0?null:_u(e.slice(o+1));if(s in t){let e=t[s];Zl(e)||(e=t[s]=[e]),e.push(i)}else t[s]=i}return t}function Uu(e){let t="";for(let n in e){const r=e[n];n=yu(n),null!=r?(Zl(r)?r.map(e=>e&&gu(e)):[r&&gu(r)]).forEach(e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}):void 0!==r&&(t+=(t.length?"&":"")+n)}return t}function Hu(e){const t={};for(const n in e){const r=e[n];void 0!==r&&(t[n]=Zl(r)?r.map(e=>null==e?null:""+e):null==r?r:""+r)}return t}Du.MATCHER_NOT_FOUND,Du.NAVIGATION_GUARD_REDIRECT,Du.NAVIGATION_ABORTED,Du.NAVIGATION_CANCELLED,Du.NAVIGATION_DUPLICATED;const Wu=Symbol(""),qu=Symbol(""),zu=Symbol(""),Vu=Symbol(""),Gu=Symbol("");function Ku(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e.slice(),reset:function(){e=[]}}}function Ju(e,t,n,r,o,s=e=>e()){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,c)=>{const l=e=>{var s;!1===e?c(ju(Du.NAVIGATION_ABORTED,{from:n,to:t})):e instanceof Error?c(e):"string"==typeof(s=e)||s&&"object"==typeof s?c(ju(Du.NAVIGATION_GUARD_REDIRECT,{from:t,to:e})):(i&&r.enterCallbacks[o]===i&&"function"==typeof e&&i.push(e),a())},u=s(()=>e.call(r&&r.instances[o],t,n,l));
2let d=Promise.resolve(u);e.length<3&&(d=d.then(l)),d.catch(e=>c(e))})}function Yu(e,t,n,r,o=e=>e()){const s=[];for(const i of e)for(const e in i.components){let a=i.components[e];if("beforeRouteEnter"===t||i.instances[e])if(Jl(a)){const c=(a.__vccOpts||a)[t];c&&s.push(Ju(c,n,r,i,e,o))}else{let c=a();s.push(()=>c.then(s=>{if(!s)throw new Error(`Couldn't resolve component "${e}" at "${i.path}"`);const a=(c=s).__esModule||"Module"===c[Symbol.toStringTag]||c.default&&Jl(c.default)?s.default:s;var c;i.mods[e]=s,i.components[e]=a;const l=(a.__vccOpts||a)[t];return l&&Ju(l,n,r,i,e,o)()}))}}return s}function Xu(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let t=o.includes(e.slice(s))?e.slice(s).length:1,n=o.slice(t);return"/"!==n[0]&&(n="/"+n),Su(n,"")}return Su(n,e)+r+o}function Qu(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?Mu():null}}let Zu=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e}({});var ed=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e}(ed||{});const td={type:Zu.Static,value:""},nd=/[a-zA-Z0-9_]/,rd="[^/]+?",od={sensitive:!1,strict:!1,start:!0,end:!0};var sd=function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e}(sd||{});const id=/[.+*?^${}()[\]/\\]/g;function ad(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?1===e.length&&e[0]===sd.Static+sd.Segment?-1:1:e.length>t.length?1===t.length&&t[0]===sd.Static+sd.Segment?1:-1:0}function cd(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const e=ad(r[n],o[n]);if(e)return e;n++}if(1===Math.abs(o.length-r.length)){if(ld(r))return 1;if(ld(o))return-1}return o.length-r.length}function ld(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const ud={strict:!1,end:!0,sensitive:!1};function dd(e,t,n){const r=function(e,t){const n=Yl({},od,t),r=[];let o=n.start?"^":"";const s=[];for(const a of e){const e=a.length?[]:[sd.Root];n.strict&&!a.length&&(o+="/");for(let t=0;t<a.length;t++){const r=a[t];let i=sd.Segment+(n.sensitive?sd.BonusCaseSensitive:0);if(r.type===Zu.Static)t||(o+="/"),o+=r.value.replace(id,"\\$&"),i+=sd.Static;else if(r.type===Zu.Param){const{value:e,repeatable:n,optional:c,regexp:l}=r;s.push({name:e,repeatable:n,optional:c});const u=l||rd;u!==rd&&(i+=sd.BonusCustomRegExp);let d=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;t||(d=c&&a.length<2?`(?:/${d})`:"/"+d),c&&(d+="?"),o+=d,i+=sd.Dynamic,c&&(i+=sd.BonusOptional),n&&(i+=sd.BonusRepeatable),".*"===u&&(i+=sd.BonusWildcard)}e.push(i)}r.push(e)}if(n.strict&&n.end){const e=r.length-1;r[e][r[e].length-1]+=sd.BonusStrict}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const i=new RegExp(o,n.sensitive?"":"i");return{re:i,score:r,keys:s,parse:function(e){const t=e.match(i),n={};if(!t)return null;for(let r=1;r<t.length;r++){const e=t[r]||"",o=s[r-1];n[o.name]=e&&o.repeatable?e.split("/"):e}return n},stringify:function(t){let n="",r=!1;for(const o of e){r&&n.endsWith("/")||(n+="/"),r=!1;for(const e of o)if(e.type===Zu.Static)n+=e.value;else if(e.type===Zu.Param){const{value:s,repeatable:i,optional:a}=e,c=s in t?t[s]:"";if(Zl(c)&&!i)throw new Error(`Provided param "${s}" is an array but it is not repeatable (* or + modifiers)`);const l=Zl(c)?c.join("/"):c;if(!l){if(!a)throw new Error(`Missing required param "${s}"`);o.length<2&&(n.endsWith("/")?n=n.slice(0,-1):r=!0)}n+=l}}return n||"/"}}}(function(e){if(!e)return[[]];if("/"===e)return[[td]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){throw new Error(`ERR (${n})/"${l}": ${e}`)}let n=ed.Static,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let a,c=0,l="",u="";function d(){l&&(n===ed.Static?s.push({type:Zu.Static,value:l}):n===ed.Param||n===ed.ParamRegExp||n===ed.ParamRegExpEnd?(s.length>1&&("*"===a||"+"===a)&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),s.push({type:Zu.Param,value:l,regexp:u,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):t("Invalid state to consume buffer"),l="")}function p(){l+=a}for(;c<e.length;)if(a=e[c++],"\\"!==a||n===ed.ParamRegExp)switch(n){case ed.Static:"/"===a?(l&&d(),i()):":"===a?(d(),n=ed.Param):p();break;case ed.EscapeNext:p(),n=r;break;case ed.Param:"("===a?n=ed.ParamRegExp:nd.test(a)?p():(d(),n=ed.Static,"*"!==a&&"?"!==a&&"+"!==a&&c--);break;case ed.ParamRegExp:")"===a?"\\"==u[u.length-1]?u=u.slice(0,-1)+a:n=ed.ParamRegExpEnd:u+=a;break;case ed.ParamRegExpEnd:d(),n=ed.Static,"*"!==a&&"?"!==a&&"+"!==a&&c--,u="";break;default:t("Unknown state")}else r=n,n=ed.EscapeNext;return n===ed.ParamRegExp&&t(`Unfinished custom RegExp for param "${l}"`),d(),i(),o}(e.path),n),o=Yl(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function pd(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function fd(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:hd(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 hd(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]="object"==typeof n?n[r]:n;return t}function md(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function gd(e){return e.reduce((e,t)=>
2Yl(e,t.meta),{})}function yd({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function vd(e){const t=pn(zu),n=pn(Vu),r=Cs(()=>{const n=It(e.to);return t.resolve(n)}),o=Cs(()=>{const{matched:e}=r.value,{length:t}=e,o=e[t-1],s=n.matched;if(!o||!s.length)return-1;const i=s.findIndex(ku.bind(null,o));if(i>-1)return i;const a=bd(e[t-2]);return t>1&&bd(o)===a&&s[s.length-1].path!==a?s.findIndex(ku.bind(null,e[t-2])):i}),s=Cs(()=>o.value>-1&&function(e,t){for(const n in t){const r=t[n],o=e[n];if("string"==typeof r){if(r!==o)return!1}else if(!Zl(o)||o.length!==r.length||r.some((e,t)=>e.valueOf()!==o[t].valueOf()))return!1}return!0}(n.params,r.value.params)),i=Cs(()=>o.value>-1&&o.value===n.matched.length-1&&Eu(n.params,r.value.params));return{route:r,href:Cs(()=>r.value.href),isActive:s,isExactActive:i,navigate:function(n={}){if(function(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||void 0!==e.button&&0!==e.button)){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}}(n)){const n=t[It(e.replace)?"replace":"push"](It(e.to)).catch(Ql);return e.viewTransition&&"undefined"!=typeof document&&"startViewTransition"in document&&document.startViewTransition(()=>n),n}return Promise.resolve()}}}const _d=Ln({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:vd,setup(e,{slots:t}){const n=pt(vd(e)),{options:r}=pn(zu),o=Cs(()=>({[wd(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[wd(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&(1===(s=t.default(n)).length?s[0]:s);var s;return e.custom?r:Is("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}});function bd(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const wd=(e,t,n)=>null!=e?e:null!=t?t:n;function Sd(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const kd=Ln({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=pn(Gu),o=Cs(()=>e.route||r.value),s=pn(qu,0),i=Cs(()=>{let e=It(s);const{matched:t}=o.value;let n;for(;(n=t[e])&&!n.components;)e++;return e}),a=Cs(()=>o.value.matched[i.value]);dn(qu,Cs(()=>i.value+1)),dn(Wu,a),dn(Gu,o);const c=Et();return mn(()=>[c.value,a.value,e.name],([e,t,n],[r,o,s])=>{t&&(t.instances[n]=e,o&&o!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=o.leaveGuards),t.updateGuards.size||(t.updateGuards=o.updateGuards))),!e||!t||o&&ku(t,o)&&r||(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:"post"}),()=>{const r=o.value,s=e.name,i=a.value,l=i&&i.components[s];if(!l)return Sd(n.default,{Component:l,route:r});const u=i.props[s],d=u?!0===u?r.params:"function"==typeof u?u(r):u:null,p=Is(l,Yl({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(i.instances[s]=null)},ref:c}));return Sd(n.default,{Component:p,route:r})||p}}});function Ed(e){const t=function(e,t){const n=[],r=new Map;function o(e,n,r){const a=!r,c=fd(e);c.aliasOf=r&&r.record;const l=eu(t,e),u=[c];if("alias"in e){const t="string"==typeof e.alias?[e.alias]:e.alias;for(const e of t)u.push(fd(Yl({},c,{components:r?r.record.components:c.components,path:e,aliasOf:r?r.record:c})))}let d,p;for(const t of u){const{path:u}=t;if(n&&"/"!==u[0]){const e=n.record.path,r="/"===e[e.length-1]?"":"/";t.path=n.record.path+(u&&r+u)}if(d=dd(t,n,l),r?r.alias.push(d):(p=p||d,p!==d&&p.alias.push(d),a&&e.name&&!md(d)&&s(e.name)),yd(d)&&i(d),c.children){const e=c.children;for(let t=0;t<e.length;t++)o(e[t],d,r&&r.children[t])}r=r||d}return p?()=>{s(p)}:Ql}function s(e){if(Nu(e)){const t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(s),t.alias.forEach(s))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEac
2h(s),e.alias.forEach(s))}}function i(e){const t=function(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;cd(e,t[o])<0?r=o:n=o+1}const o=function(e){let t=e;for(;t=t.parent;)if(yd(t)&&0===cd(e,t))return t}(e);return o&&(r=t.lastIndexOf(o,r-1)),r}(e,n);n.splice(t,0,e),e.record.name&&!md(e)&&r.set(e.record.name,e)}return t=eu(ud,t),e.forEach(e=>o(e)),{addRoute:o,resolve:function(e,t){let o,s,i,a={};if("name"in e&&e.name){if(o=r.get(e.name),!o)throw ju(Du.MATCHER_NOT_FOUND,{location:e});i=o.record.name,a=Yl(pd(t.params,o.keys.filter(e=>!e.optional).concat(o.parent?o.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&pd(e.params,o.keys.map(e=>e.name))),s=o.stringify(a)}else if(null!=e.path)s=e.path,o=n.find(e=>e.re.test(s)),o&&(a=o.parse(s),i=o.record.name);else{if(o=t.name?r.get(t.name):n.find(e=>e.re.test(t.path)),!o)throw ju(Du.MATCHER_NOT_FOUND,{location:e,currentLocation:t});i=o.record.name,a=Yl({},t.params,e.params),s=o.stringify(a)}const c=[];let l=o;for(;l;)c.unshift(l.record),l=l.parent;return{name:i,path:s,params:a,matched:c,meta:gd(c)}},removeRoute:s,clearRoutes:function(){n.length=0,r.clear()},getRoutes:function(){return n},getRecordMatcher:function(e){return r.get(e)}}}(e.routes,e),n=e.parseQuery||Bu,r=e.stringifyQuery||Uu,o=e.history,s=Ku(),i=Ku(),a=Ku(),c=xt(Cu);let l=Cu;Kl&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Xl.bind(null,e=>""+e),d=Xl.bind(null,vu),p=Xl.bind(null,_u);function f(e,s){if(s=Yl({},s||c.value),"string"==typeof e){const r=wu(n,e,s.path),i=t.resolve({path:r.path},s),a=o.createHref(r.fullPath);return Yl(r,i,{params:p(i.params),hash:_u(r.hash),redirectedFrom:void 0,href:a})}let i;if(null!=e.path)i=Yl({},e,{path:wu(n,e.path,s.path).path});else{const t=Yl({},e.params);for(const e in t)null==t[e]&&delete t[e];i=Yl({},e,{params:d(t)}),s.params=d(s.params)}const a=t.resolve(i,s),l=e.hash||"";a.params=u(p(a.params));const f=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(r,Yl({},e,{hash:(h=l,mu(h).replace(du,"{").replace(fu,"}").replace(lu,"^")),path:a.path}));var h;const m=o.createHref(f);return Yl({fullPath:f,hash:l,query:r===Uu?Hu(e.query):e.query||{}},a,{redirectedFrom:void 0,href:m})}function h(e){return"string"==typeof e?wu(n,e,c.value.path):Yl({},e)}function m(e,t){if(l!==e)return ju(Du.NAVIGATION_CANCELLED,{from:t,to:e})}function g(e){return v(e)}function y(e,t){const n=e.matched[e.matched.length-1];if(n&&n.redirect){const{redirect:r}=n;let o="function"==typeof r?r(e,t):r;return"string"==typeof o&&(o=o.includes("?")||o.includes("#")?o=h(o):{path:o},o.params={}),Yl({query:e.query,hash:e.hash,params:null!=o.path?{}:e.params},o)}}function v(e,t){const n=l=f(e),o=c.value,s=e.state,i=e.force,a=!0===e.replace,u=y(n,o);if(u)return v(Yl(h(u),{state:"object"==typeof u?Yl({},s,u.state):s,force:i,replace:a}),t||n);const d=n;let p;return d.redirectedFrom=t,!i&&function(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&ku(t.matched[r],n.matched[o])&&Eu(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(r,o,n)&&(p=ju(Du.NAVIGATION_DUPLICATED,{to:d,from:o}),R(o,o,!0,!1)),(p?Promise.resolve(p):w(d,o)).catch(e=>Fu(e)?Fu(e,Du.NAVIGATION_GUARD_REDIRECT)?e:A(e):I(e,d,o)).then(e=>{if(e){if(Fu(e,Du.NAVIGATION_GUARD_REDIRECT))return v(Yl({replace:a},h(e.to),{state:"object"==typeof e.to?Yl({},s,e.to.state):s,force:i}),t||d)}else e=k(d,o,!0,a,s);return S(d,o,e),e})}function _(e,t){const n=m(e,t);return n?Promise.reject(n):Promise.resolve()}function b(e){const t=P.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function w(e,t){let n;const[r,o,a]=function(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;i<s;i++){const s=t.matched[i];s&&(e.matched.find(e=>ku(e,s))?r.push(s):n.push(s));const a=e.matched[i];a&&(t.matched.find(e=>ku(e,a))||o.push(a))}return[n,r,o]}(e,t);n=Yu(r.reverse(),"beforeRouteLeave",e,t);for(const s of r)s.leaveGuards.forEach(r=>{n.push(Ju(r,e,t))});const c=_.bind(null,e,t);return n.push(c),N(n).then(()=>{n=[];for(const r of s.list())n.push(Ju(r,e,t));return n.push(c),N(n)}).then(()=>{n=Yu(o,"beforeRouteUpdate",e,t);for(const r of o)r.updateGuards.forEach(r=>{n.push(Ju(r,e,t))});return n.push(c),N(n)}).then(()=>{n=[];for(const r of a)if(r.beforeEnter)if(Zl(r.beforeEnter))for(const o of r.beforeEnter)n.push(Ju(o,e,t));else n.push(Ju(r.beforeEnter,e,t));return n.push(c),N(n)}).then(()=>
2(e.matched.forEach(e=>e.enterCallbacks={}),n=Yu(a,"beforeRouteEnter",e,t,b),n.push(c),N(n))).then(()=>{n=[];for(const r of i.list())n.push(Ju(r,e,t));return n.push(c),N(n)}).catch(e=>Fu(e,Du.NAVIGATION_CANCELLED)?e:Promise.reject(e))}function S(e,t,n){a.list().forEach(r=>b(()=>r(e,t,n)))}function k(e,t,n,r,s){const i=m(e,t);if(i)return i;const a=t===Cu,l=Kl?history.state:{};n&&(r||a?o.replace(e.fullPath,Yl({scroll:a&&l&&l.scroll},s)):o.push(e.fullPath,s)),c.value=e,R(e,t,n,a),A()}let E,x,T=Ku(),C=Ku();function I(e,t,n){A(e);const r=C.list();return r.length&&r.forEach(r=>r(e,t,n)),Promise.reject(e)}function A(e){return x||(x=!e,E||(E=o.listen((e,t,n)=>{if(!L.listening)return;const r=f(e),s=y(r,L.currentRoute.value);if(s)return void v(Yl(s,{replace:!0,force:!0}),r).catch(Ql);l=r;const i=c.value;var a,u;Kl&&(a=Pu(i.fullPath,n.delta),u=Mu(),Lu.set(a,u)),w(r,i).catch(e=>Fu(e,Du.NAVIGATION_ABORTED|Du.NAVIGATION_CANCELLED)?e:Fu(e,Du.NAVIGATION_GUARD_REDIRECT)?(v(Yl(h(e.to),{force:!0}),r).then(e=>{Fu(e,Du.NAVIGATION_ABORTED|Du.NAVIGATION_DUPLICATED)&&!n.delta&&n.type===Iu.pop&&o.go(-1,!1)}).catch(Ql),Promise.reject()):(n.delta&&o.go(-n.delta,!1),I(e,r,i))).then(e=>{(e=e||k(r,i,!1))&&(n.delta&&!Fu(e,Du.NAVIGATION_CANCELLED)?o.go(-n.delta,!1):n.type===Iu.pop&&Fu(e,Du.NAVIGATION_ABORTED|Du.NAVIGATION_DUPLICATED)&&o.go(-1,!1)),S(r,i,e)}).catch(Ql)})),T.list().forEach(([t,n])=>e?n(e):t()),T.reset()),e}function R(t,n,r,o){const{scrollBehavior:s}=e;if(!Kl||!s)return Promise.resolve();const i=!r&&function(e){const t=Lu.get(e);return Lu.delete(e),t}(Pu(t.fullPath,0))||(o||!r)&&history.state&&history.state.scroll||null;return Yt().then(()=>s(t,n,i)).then(e=>e&&function(e){let t;if("el"in e){const n=e.el,r="string"==typeof n&&n.startsWith("#"),o="string"==typeof n?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=function(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)}}(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}(e)).catch(e=>I(e,t,n))}const O=e=>o.go(e);let M;const P=new Set,L={currentRoute:c,listening:!0,addRoute:function(e,n){let r,o;return Nu(e)?(r=t.getRecordMatcher(e),o=n):o=e,t.addRoute(o,r)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},clearRoutes:t.clearRoutes,hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map(e=>e.record)},resolve:f,options:e,push:g,replace:function(e){return g(Yl(h(e),{replace:!0}))},go:O,back:()=>O(-1),forward:()=>O(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:C.add,isReady:function(){return x&&c.value!==Cu?Promise.resolve():new Promise((e,t)=>{T.add([e,t])})},install(e){e.component("RouterLink",_d),e.component("RouterView",kd),e.config.globalProperties.$router=L,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>It(c)}),Kl&&!M&&c.value===Cu&&(M=!0,g(o.location).catch(e=>{}));const t={};for(const r in Cu)Object.defineProperty(t,r,{get:()=>c.value[r],enumerable:!0});e.provide(zu,L),e.provide(Vu,ft(t)),e.provide(Gu,c);const n=e.unmount;P.add(e),e.unmount=function(){P.delete(e),P.size<1&&(l=Cu,E&&E(),E=null,c.value=Cu,M=!1,x=!1),n()}}};function N(e){return e.reduce((e,t)=>e.then(()=>b(t)),Promise.resolve())}return L}function xd(){return pn(zu)}function Td(e){return pn(Vu)}const Cd=(e,t)=>({default:()=>e?Is(Hs,!0===e?{}:e,t):t.default?.()}),Id=/(:\w+)\([^)]+\)/g,Ad=/(:\w+)[?+*]/g,Rd=/:\w+/g;function Od(e){const t=e?.meta.key??e.path.replace(Id,"$1").replace(Ad,"$1").replace(Rd,t=>e.params[t.slice(1)]?.toString()||"");return"function"==typeof t?t(e):t}function Md(e,t){return e!==t&&t!==Cu&&(Od(e)!==Od(t)||!e.matched.every((e,n)=>e.components&&e.components.default===t.matched[n]?.components?.default))}function Pd(e,t=!1){if(e){if("#comment"===e.nodeName&&"["===e.nodeValue)return Ld(e,[],t);if(t){const t=e.cloneNode(!0);
2return t.querySelectorAll("[data-island-slot]").forEach(e=>{e.innerHTML=""}),[t.outerHTML]}return[e.outerHTML]}}function Ld(e,t=[],n=!1){if(e&&e.nodeName){if(function(e){return"#comment"===e.nodeName&&"]"===e.nodeValue}(e))return t;if(!function(e){return"#comment"===e.nodeName&&"["===e.nodeValue}(e)){const r=e.cloneNode(!0);n&&r.querySelectorAll?.("[data-island-slot]").forEach(e=>{e.innerHTML=""}),t.push(r.outerHTML)}Ld(e.nextSibling,t,n)}return t}function Nd(e,t){const n=e?Pd(e):[t];return n?ss(n.join(""),n.length):Is("div")}function Dd(e){return Array.isArray(e)?e:[e]}function $d(e){const t=[];for(const n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?Dd(n.onAfterLeave):void 0,onBeforeLeave:n.onBeforeLeave?Dd(n.onBeforeLeave):void 0});return wc(...t)}function jd(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function Fd(e,t,n,r){return n||(e.hash?{el:e.hash,top:jd(e.hash),behavior:Md(e,t)?r:"instant"}:{left:0,top:0})}const Bd={hashMode:!1,scrollBehaviorType:"auto",...{scrollBehavior(e,t,n){const r=gc(),o=Ic(),s=o.options?.scrollBehaviorType??"auto";return e.path.replace(/\/$/,"")===t.path.replace(/\/$/,"")?t.hash&&!e.hash?{left:0,top:0}:!!e.hash&&{el:e.hash,top:jd(e.hash),behavior:s}:!1!==("function"==typeof e.meta.scrollToTop?e.meta.scrollToTop(e,t):e.meta.scrollToTop)&&(t===Cu?Fd(e,t,n,s):new Promise(i=>{const a=()=>{requestAnimationFrame(()=>{o.currentRoute.value.fullPath===e.fullPath?i(Fd(e,t,n,s)):i(!1)})};r.hooks.hookOnce("page:loading:end",()=>{const e=r["~transitionPromise"];e?e.then(a):a()})}))}}},Ud=(e,t)=>{if("string"!=typeof e)return e;const n=function(e){if(!e.includes("%"))return e;const t=e.indexOf("?"),n=-1===t?e:e.slice(0,t);try{return-1===t?decodeURI(n):decodeURI(n)+e.slice(t)}catch{return e}}(e);return t?n.toLowerCase():n},Hd=e=>Bd.sensitive?wc({},...(Ud(e,!1),[]).map(e=>e.data).reverse()):wc({},...(Ud(e,!0),[]).map(e=>e.data).reverse()),Wd=Hd;let qd;function zd(){return qd||function(){let e;return e=$fetch(Va(`builds/meta/${yc().app.buildId}.json`),{responseType:"json"}).then(e=>{if(!e||"object"!=typeof e||!Array.isArray(e.prerendered))throw new Error("[nuxt] Received malformed app manifest. Ensure that `builds/meta/*.json` is served as JSON by your hosting/proxy and not rewritten to an HTML fallback.");return e}),qd=e,e.catch(t=>{qd===e&&(qd=void 0)}),e}()}function Vd(e){const t="string"==typeof e?e:e.path;try{return Wd(t)}catch(hC){return{}}}async function Gd(e,t={}){if(await async function(e=Ac().path){const t=Vd({path:Qd(e)});if(!1===t.ssr)return!1;const n=Xd(t);return void 0!==n?n:!!t.payload||await ep(e)}(e)){const n=await async function(e,t={}){const n=new URL(e,"http://localhost");if("localhost"!==n.host||ya(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=yc(),o=t.hash||(t.fresh?Date.now():r.app.buildId),s=r.app.cdnURL,i=s&&await async function(e=Ac().path){const t=Xd(Vd({path:Qd(e)}));return void 0!==t?t:await ep(e)}(e)?s:r.app.baseURL,a=xa(i,n.pathname,Kd);return Zd(e)||(n.search=""),o&&n.searchParams.set(Jd,String(o)),a+n.search}(e,t),r=Zd(e)?"default":"force-cache";return await Yd(n,r)||null}return null}const Kd="_payload.json",Jd="_b";async function Yd(e,t){try{{const n=await fetch(e,{cache:t});return n.ok?await rp(await n.text()):null}}catch(n){}return null}function Xd(e){return!e.redirect&&(!!e.prerender||void 0)}function Qd(e){return new URL(e,"http://localhost").pathname}function Zd(e){return!!Vd({path:Qd(e)}).payload}async function ep(e){e="/"===(e=Qd(e))?e:e.replace(/\/$/,"");try{return(await zd()).prerendered.includes(e)}catch{return!1}}let tp=null;async function np(){if(tp)return tp;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await rp(e.textContent||""),n=e.dataset.src?await Yd(e.dataset.src,t.prerenderedAt?"force-cache":"no-cache"):void 0;return tp={...t,...n,...window.__NUXT__},tp.config?.public&&(tp.config.public=pt(tp.config.public)),tp}async function rp(e){return await(t=e,n=gc()._payloadRevivers,function(e,t){const n=Gc;if("number"==typeof e)return i(e,!0);if(!Array.isArray(e)||0===e.length)throw new Error("Invalid input");const r=e,o=Array(r.length);let s=null;function i(e,a=!1){if(-1===e)return n.fromPrimitive(void 0);if(-3===e)return n.fromPrimitive(NaN);if(-4===e)return n.fromPrimitive(1/0);if(-5===e)return n.fromPrimitive(-1/0);if(-6===e)return n.fromPrimitive(-0);if(a||"number"!=typeof e)throw new Error("Invalid input");if(e in o)return o[e];if(e>=r.length)throw new Error("Invalid input");const c=r[e];if(c&&"object"==typeof c)if(Array.isArray(c))if("string"==typeof c[0]){const a=c[0],l=t&&Object.hasOwn(t,a)?t[a]:void 0;if(l){let t=c[1];if("number"!=typeof t&&(t=r.push(c[1])-1),Object.hasOwn(o,t))return o[e]=l(o[t]);if(s??=new Set,s.has(t))throw new Error("Invalid circular reference");return s.add(t),o[e]=l(i(t)),s.delete(t),o[e]}switch(a){case"Date":o[e]=n.fromISOString(c[1]);break;case"Set":const t=n.createSet();o[e]=t;for(let e=1;e<c.length;e+=1)n.addValue(t,i(c[e]));break;case"Map":const s=n.createMap();o[e]=s;for(let e=1;e<c.length;e+=2)n.addEntry(s,i(c[e]),i(c[e+1]));break;case"RegExp":o[e]=n.fromRegExpInfo(c[1],c[2]);break;case"Object":{const t=c[1];if("object"==typeof r[t]&&"BigInt"!==r[t][0])throw new Error("Invalid input");o[e]=n.box(i(t));break}case"BigInt":o[e]=n.fromPrimitive(BigInt(c[1]));break;case"null":const l=n.createNullPrototypeObject();o[e]=l;for(let e=1;e<c.length;e+=2){const t=c[e];if("string"!=typeof t)throw new Error("Cannot parse an object with a non-string key");if("__proto__"===t)throw new Error("Cannot parse an object with a `__proto__` property");n.set(l,t,i(c[e+1]))}break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Float16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":case"DataView":{if("ArrayBuffer"!==r[c[1]][0])throw new Error("Invalid data");const t=i(c[1]);o[e]=n.fromViewInfo(a,t,c[2],c[3]);break}case"ArrayBuffer":{const t=c[1];if("string"!=typeof t)throw new Error("Invalid ArrayBuffer encoding");o[e]=n.fromArrayBuffer(Wc(t));break}case"URL":case"URLSearchParams":case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":o[e]=n.fromStringValue(a,c[1]);break;default:throw new Error(`Unknown type ${a}`)}}else if(-7===c[0]){const t=c[1];if(l=t,!Number.isInteger(l)||l<0||l>4294967295)throw new Error("Invalid input");const r=n.createSparseArray(t);o[e]=r;for(let e=2;e<c.length;e+=2){const o=c[e];if(!Bc(o)||o>=t)throw new Error("Invalid input");n.set(r,o,i(c[e+1]))}}else{const t=n.createArray(c.length);o[e]=t;for(let e=0;e<c.length;e+=1){const r=c[e];-2!==r&&n.set(t,e,i(r))}}else{const t=n.createObject();o[e]=t;
2for(const e of Object.keys(c)){if("__proto__"===e)throw new Error("Cannot parse an object with a `__proto__` property");n.set(t,e,i(c[e]))}}else o[e]=n.fromPrimitive(c);var l;return o[e]}return i(0)}(JSON.parse(t),n));var t,n}function op(e,t){gc()._payloadRevivers[e]=t}const sp=[["NuxtError",e=>Fc(e)],["EmptyShallowRef",e=>xt("_"===e?void 0:"0n"===e?BigInt(0):zi(e))],["EmptyRef",e=>Et("_"===e?void 0:"0n"===e?BigInt(0):zi(e))],["ShallowRef",e=>xt(e)],["ShallowReactive",e=>ft(e)],["Ref",e=>Et(e)],["Reactive",e=>pt(e)]],ip=fc({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,o]of sp)op(r,o);Object.assign(e.payload,([t,n]=ic(()=>e.runWithContext(np)),t=await t,n(),t)),window.__NUXT__=e.payload}});async function ap(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};return await e.hooks.callHook("dom:beforeRender",r),r.shouldRender?(e._domUpdatePromise||(e._domUpdatePromise=new Promise(async t=>{const r=new Map,o=new Promise(t=>{e.resolveTags().then(e=>{t(e.map(e=>{const t=r.get(e._d)||0,n={tag:e,id:(t?`${e._d}:${t}`:e._d)||e._h,shouldRender:!0};return e._d&&wl(e._d)&&r.set(e._d,t+1),n}))})});let s=e._dom;if(!s){s={title:n.title,elMap:(new Map).set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const e of["body","head"]){const t=n[e]?.children;for(const e of t){const t=e.tagName.toLowerCase();if(!Yc.has(t))continue;const n=Cl({tag:t,props:{}},{innerHTML:e.innerHTML,...e.getAttributeNames().reduce((t,n)=>(t[n]=e.getAttribute(n),t),{})||{}});if(n.key=e.getAttribute("data-hid")||void 0,n._d=Sl(n)||kl(n),s.elMap.has(n._d)){let t=1,r=n._d;for(;s.elMap.has(r);)r=`${n._d}:${t++}`;s.elMap.set(r,e)}else s.elMap.set(n._d,e)}}}function i(e,t,n){const r=`${e}:${t}`;s.sideEffects[r]=n,delete s.pendingSideEffects[r]}function a({id:e,$el:t,tag:r}){const o=r.tag.endsWith("Attrs");s.elMap.set(e,t),o||(r.textContent&&r.textContent!==t.textContent&&(t.textContent=r.textContent),r.innerHTML&&r.innerHTML!==t.innerHTML&&(t.innerHTML=r.innerHTML),i(e,"el",()=>{t?.remove(),s.elMap.delete(e)}));for(const s in r.props){if(!Object.prototype.hasOwnProperty.call(r.props,s))continue;const a=r.props[s];if(s.startsWith("on")&&"function"==typeof a){const e=t?.dataset;if(e&&e[`${s}fired`]){const e=s.slice(0,-5);a.call(t,new Event(e.substring(2)))}""!==t.getAttribute(`data-${s}`)&&(("bodyAttrs"===r.tag?n.defaultView:t).addEventListener(s.substring(2),a.bind(t)),t.setAttribute(`data-${s}`,""));continue}const c=`attr:${s}`;if("class"===s){if(!a)continue;for(const n of a)o&&i(e,`${c}:${n}`,()=>t.classList.remove(n)),!t.classList.contains(n)&&t.classList.add(n)}else if("style"===s){if(!a)continue;for(const[n,r]of a)i(e,`${c}:${n}`,()=>{t.style.removeProperty(n)}),t.style.setProperty(n,r)}else!1!==a&&null!==a&&(t.getAttribute(s)!==a&&t.setAttribute(s,!0===a?"":String(a)),o&&i(e,c,()=>t.removeAttribute(s)))}}s.pendingSideEffects={...s.sideEffects},s.sideEffects={};const c=[],l={bodyClose:void 0,bodyOpen:void 0,head:void 0},u=await o;for(const e of u){const{tag:t,shouldRender:r,id:o}=e;r&&("title"!==t.tag?(e.$el=e.$el||s.elMap.get(o),e.$el?a(e):Yc.has(t.tag)&&c.push(e)):(n.title=t.textContent,i("title","",()=>n.title=s.title)))}for(const e of c){const t=e.tag.tagPosition||"head";e.$el=n.createElement(e.tag.tag),a(e),l[t]=l[t]||n.createDocumentFragment(),l[t].appendChild(e.$el)}for(const d of u)await e.hooks.callHook("dom:renderTag",d,n,i);l.head&&n.head.appendChild(l.head),l.bodyOpen&&n.body.insertBefore(l.bodyOpen,n.body.firstChild),l.bodyClose&&n.body.appendChild(l.bodyClose);for(const e in s.pendingSideEffects)s.pendingSideEffects[e]();e._dom=s,await e.hooks.callHook("dom:rendered",{renders:u}),t()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise):void 0}function cp(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function lp(e={}){const t=function(e={}){const t=e.domOptions?.render||ap;e.document=e.document||("undefined"!=typeof window?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1,r=Ol({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[!!n&&JSON.parse(n),...e.init||[]]});return r.ssr=!1,r}({domOptions:{render:cp(()=>ap(t),e=>setTimeout(e,0))},...e});return t.install=ql(t),t}const up={disableDefaults:!0,disableCapoSorting:!1,plugins:[Dl,jl,Ul,Nl]},dp=fc({name:"nuxt:head",enforce:"pre",setup(e){const t=lp(up);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await ap(t)};t.hooks.hook("dom:beforeRender",e=>{e.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);const o=t.push.bind(t);t.push=(t,n)=>{const r=o(t,n),s=r.dispose.bind(r);return r.dispose=()=>{const t=e["~transitionPromise"];t?t.then(s):s()},r}}}}),pp=/(:\w+)\([^)]+\)/g,fp=/(:\w+)[?+*]/g,hp=/:\w+/g,mp=(e,t)=>{const n=e.route.matched.find(t=>t.components?.default===e.Component.type),r=t??n?.meta.key??(n&&(o=e.route,n.path.replace(pp,"$1").replace(fp,"$1").replace(hp,e=>o.params[e.slice(1)]?.toString()||"")));var o;return"function"==typeof r?r(e.route):r};function gp(e){return Array.isArray(e)?e:[e]}const yp={},vp=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=function(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:"fulfilled",value:e}),e=>({status:"rejected",reason:e}))))};const o=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),i=s?.n
2once||s?.getAttribute("nonce");r=e(t.map(e=>{if(e=function(e,t){return new URL(e,t).href}(e,n),e in yp)return;yp[e]=!0;const t=e.endsWith(".css"),r=t?'[rel="stylesheet"]':"";if(n)for(let n=o.length-1;n>=0;n--){const r=o[n];if(r.href===e&&(!t||"stylesheet"===r.rel))return}else if(document.querySelector(`link[href="${e}"]${r}`))return;const s=document.createElement("link");return s.rel=t?"stylesheet":"modulepreload",t||(s.as="script"),s.crossOrigin="",s.href=e,i&&s.setAttribute("nonce",i),document.head.appendChild(s),t?new Promise((t,n)=>{s.addEventListener("load",t),s.addEventListener("error",()=>n(new Error(`Unable to preload CSS for ${e}`)))}):void 0}))}function o(e){const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(const e of t||[])"rejected"===e.status&&o(e.reason);return e().catch(o)})},_p=[{name:"error",path:"/error",component:()=>vp(()=>import("./5orlNs0X.js"),__vite__mapDeps([0,1]),import.meta.url)},{name:"index",path:"/",meta:{...{layout:"principal"}||{},middleware:["token","general-config"]},component:()=>vp(()=>import("./TqqHdWxi.js"),__vite__mapDeps([2,3,4,5,6,7,8,9]),import.meta.url)},{name:"dsp",path:"/dsp",meta:{...{layout:"principal"}||{},middleware:["token","general-config"]},component:()=>vp(()=>import("./BlhYJxWm.js"),__vite__mapDeps([10,3,4,5,6,7,8,9]),import.meta.url)},{name:"gen",path:"/gen",meta:{...{layout:"principal"}||{},middleware:["token","general-config"]},component:()=>vp(()=>import("./CXwqX8Sr.js"),__vite__mapDeps([11,3,4,5,6,7,8,9]),import.meta.url)},{name:"ppc",path:"/ppc",meta:{...{layout:"principal"}||{},middleware:["token","general-config"]},component:()=>vp(()=>import("./CHNebVJh.js"),__vite__mapDeps([12,3,4,5,6,7,8,9]),import.meta.url)},{name:"thank-you",path:"/thank-you",meta:{...{layout:"gracias"}||{},middleware:["token","thanks-config"]},component:()=>vp(()=>import("./B9rrhUPY.js"),[],import.meta.url)},{name:"bing",path:"/bing",meta:{...{layout:"principal"}||{},middleware:["token","general-config"]},component:()=>vp(()=>import("./Dyr8np63.js"),__vite__mapDeps([13,3,4,5,6,7,8,9]),import.meta.url)},{name:"email",path:"/email",meta:{...{layout:"principal"}||{},middleware:["token","general-config"]},component:()=>vp(()=>import("./Dy1O4_SX.js"),[],import.meta.url)},{name:"smart",path:"/smart",meta:{...{layout:"principal"}||{},middleware:["token","general-config"]},component:()=>vp(()=>import("./D3nlVJpQ.js"),__vite__mapDeps([14,3,4,5,6,7,8,9]),import.meta.url)},{name:"dsp-thank-you",path:"/dsp/thank-you",meta:{...{layout:"gracias"}||{},middleware:["token","thanks-config"]},component:()=>vp(()=>import("./Z7BAHhbD.js"),[],import.meta.url)},{name:"gen-thank-you",path:"/gen/thank-you",meta:{...{layout:"gracias"}||{},middleware:["token","thanks-config"]},component:()=>vp(()=>import("./v_RPa62G.js"),[],import.meta.url)},{name:"ppc-thank-you",path:"/ppc/thank-you",meta:{...{layout:"gracias"}||{},middleware:["token","thanks-config"]},component:()=>vp(()=>import("./Dtv7ZwdL.js"),[],import.meta.url)},{name:"bing-thank-you",path:"/bing/thank-you",meta:{...{layout:"gracias"}||{},middleware:["token","thanks-config"]},component:()=>vp(()=>import("./Bu8Yk1xZ.js"),[],import.meta.url)},{name:"timeline",path:"/timeline",meta:{...{layout:"principal"}||{},middleware:["token","general-config"]},component:()=>vp(()=>import("./BJXEgHdS.js"),__vite__mapDeps([15,16,4,5,6,17,18,19]),import.meta.url)},{name:"email-thank-you",path:"/email/thank-you",meta:{...{layout:"email-gracias"}||{},middleware:["token","thanks-config"]},component:()=>vp(()=>import("./Cy6Bb-xt.js"),[],import.meta.url)},{name:"smart-thank-you",path:"/smart/thank-you",meta:{...{layout:"gracias"}||{},middleware:["token","thanks-config"]},component:()=>vp(()=>import("./DSx7HiDS.js"),[],import.meta.url)},{name:"timeline-thank-you",path:"/timeline/thank-you",meta:{...{layout:"email-gracias"}||{},middleware:["token","thanks-config"]},component:()=>vp(()=>import("./yBKu7C0I.js"),[],import.meta.url)}],bp=[Rc(async e=>{let t,n;if(!e.meta?.validate)return;const r=([t,n]=ic(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t);return!0!==r?Fc({fatal:!0,status:r&&(r.status||r.statusCode)||404,statusText:r&&(r.statusText||r.statusMessage)||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}):void 0}),Rc(e=>{const t=Vd({path:e.path});if(t.redirect){const n=t.redirect.includes("#")?t.redirect:t.redirect+e.hash;return ya(n,{acceptRelative:!0})?(window.location.href=n,!1):n}})],wp={"general-config":()=>vp(()=>import("./DXD_YlR8.js"),[],import.meta.url),"thanks-config":()=>vp(()=>import("./CDTGf63q.js"),[],import.meta.url),token:()=>vp(()=>import("./C316exef.js"),__vite__mapDeps([20,5]),import.meta.url)};
2function Sp(e,t,n){const{pathname:r,search:o,hash:s}=t,i=e.indexOf("#");if(i>-1){const t=s.includes(e.slice(i))?e.slice(i).length:1;let n=s.slice(t);return"/"!==n[0]&&(n="/"+n),Sa(n,"")}const a=Sa(r,e),c=!n||Ca(a,n)?a:n;return c+(c.includes("?")?"":o)+s}const kp=fc({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=yc().app.baseURL;const o=Bd.history?.(r)??function(e){const t=function(e){const{history:t,location:n}=window,r={value:Xu(e,n)},o={value:t.state};function s(r,s,i){const a=e.indexOf("#"),c=a>-1?(n.host&&document.querySelector("base")?e:e.slice(a))+r:location.protocol+"//"+location.host+e+r;try{t[i?"replaceState":"pushState"](s,"",c),o.value=s}catch(l){n[i?"replace":"assign"](c)}}return o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:r,state:o,push:function(e,n){const i=Yl({},o.value,t.state,{forward:e,scroll:Mu()});s(i.current,i,!0),s(e,Yl({},Qu(r.value,e,null),{position:i.position+1},n),!1),r.value=e},replace:function(e,n){s(e,Yl({},t.state,Qu(o.value.back,e,o.value.forward,!0),n,{position:o.value.position}),!0),r.value=e}}}(e=function(e){if(!e)if(Kl){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(bu,"")}(e)),n=function(e,t,n,r){let o=[],s=[],i=null;const a=({state:s})=>{const a=Xu(e,location),c=n.value,l=t.value;let u=0;if(s){if(n.value=a,t.value=s,i&&i===c)return void(i=null);u=l?s.position-l.position:0}else r(a);o.forEach(e=>{e(n.value,c,{delta:u,type:Iu.pop,direction:u?u>0?Au.forward:Au.back:Au.unknown})})};function c(){if("hidden"===document.visibilityState){const{history:e}=window;if(!e.state)return;e.replaceState(Yl({},e.state,{scroll:Mu()}),"")}}return window.addEventListener("popstate",a),window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",c),{pauseListeners:function(){i=n.value},listen:function(e){o.push(e);const t=()=>{const t=o.indexOf(e);t>-1&&o.splice(t,1)};return s.push(t),t},destroy:function(){for(const e of s)e();s=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",c),document.removeEventListener("visibilitychange",c)}}}(e,t.state,t.location,t.replace),r=Yl({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:Ou.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}(r),s=Bd.routes?([t,n]=ic(()=>Bd.routes(_p)),t=await t,n(),t??_p):_p;let i;const a=Ed({...Bd,scrollBehavior:(e,t,n)=>{if(t!==Cu){if(Bd.scrollBehavior){if(a.options.scrollBehavior=Bd.scrollBehavior,"scrollRestoration"in window.history){const e=a.beforeEach(()=>{e(),window.history.scrollRestoration="manual"})}return Bd.scrollBehavior(e,Cu,i||n)}}else i=n},history:o,routes:s});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const c=xt(a.currentRoute.value);a.afterEach((e,t)=>{c.value=t}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const l=Sp(r,window.location,e.payload.path),u=xt(a.currentRoute.value),d=()=>{u.value=a.currentRoute.value};a.afterEach((e,t)=>{const n=e.matched.at(-1)?.components?.default,r=t.matched.at(-1)?.components?.default;n!==r?e.matched.length<t.matched.length&&e.matched.every((e,n)=>e.components?.default===t.matched[n]?.components?.default)&&d():mp({route:e,Component:{type:n}})===mp({route:t,Component:{type:r}})&&d()});const p={sync:d};for(const b in u.value)Object.defineProperty(p,b,{get:()=>u.value[b],enumerable:!0});e._route=ft(p),e._middleware||={global:[],named:{}};const f=Nc();a.afterEach(async(t,n,r)=>{delete e._processingMiddleware,!e.isHydrating&&f.value&&await e.runWithContext($c),r&&await e.callHook("page:loading:end")});try{[t,n]=ic(()=>a.isReady()),await t,n()}catch(_){[t,n]=ic(()=>e.runWithContext(()=>Dc(_))),await t,n()}const h=l!==a.currentRoute.value.fullPath?a.resolve(l):a.currentRoute.value,m=a.currentRoute.value.fullPath,g=e.isHydrating&&e.payload.prerenderedAt&&e.payload.path&&l!==e.payload.path&&Ca(a.currentRoute.value.path,e.payload.path);function y(t){e.isHydrating||t.fullPath===Sp(r,window.location)||o.push(t.fullPath)}d();const v=e.payload.state._layout;return a.beforeEach(async(t,n)=>{await e.callHook("page:loading:start"),t.meta=pt(t.meta),e.isHydrating&&v&&!yt(t.meta.layout)&&(t.meta.layout=v),e._processingMiddleware=!0;{const o=new Set([...bp,...e._middleware.global]);for(const e of t.matched){const t=e.meta.middleware;if(t)for(const e of gp(t))o.add(e)}const s=Vd({path:t.path});if(s.appMiddleware)for(const e in s.appMiddleware)s.appMiddleware[e]?o.add(e):o.delete(e);for(const i of o){const o="string"==typeof i?e._middleware.named[i]||await(wp[i]?.().then(e=>e.default||e)):i;if(!o)throw new Error(`Unknown route middleware: '${i}'.`);try{const r=await e.runWithContext(()=>o(t,n));if(!e.payload.serverRendered&&e.isHydrating&&(!1===r||r instanceof Error)){const t=r||Fc({status:404,statusText:`Page Not Found: ${l}`});return await e.runWithContext(()=>Dc(t)),!1}if(!0===r)continue;if(!1===r)return r;if(r)return jc(r)&&r.fatal&&(await e.runWithContext(()=>Dc(r)),y(t)),r}catch(r){const n=Fc(r);return n.fatal&&(await e.runWithContext(()=>Dc(n)),y(t)),n}}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),a.afterEach(t=>{if(0===t.matched.length&&!f.value)return e.runWithContext(()=>Dc(Fc({status:404,fatal:!1,statusText:`Page not found: ${t.fullPath}`,data:{path:t.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{if("name"in h&&(h.name=void 0),a.currentRoute.value.fullPath!==m);else if(g){const t=a.resolve(e.payload.path);"name"in t&&(t.name=void 0),await a.replace({...t,force:!0});const n=()=>{e["~restoreDeferredRoute"]&&(e["~restoreDeferredRoute"]=void 0,a.currentRoute.value=a.resolve(l),d(),a.replace({...h,force:!0}).catch(()=>{}))};e["~restoreDeferredRoute"]=n,e.hooks.hookOnce("app:suspense:resolve",n)}else await a.replace({...h,force:!0});a.options.scrollBehavior=Bd.scrollBehavior}catch(_){await e.runWithContext(()=>Dc(_))}}),{provide:{router:a}}}}),Ep=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),xp=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Tp=e=>{const t=gc();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Ep(()=>e())}):Ep(()=>e())},Cp=fc({name:"nuxt:payload",setup(e){const t=new Set;
2Ic().beforeResolve(async(n,r)=>{const o=Zd(n.path),s=o?Ia(n.fullPath):n.path;if(s===(o?Ia(r.fullPath):r.path))return;const i=await Gd(s);if(i){for(const n of t)delete e.static.data[n];for(const n in i.data)n in e.static.data||t.add(n),e.static.data[n]=i.data[n]}}),Tp(()=>{e.hooks.hook("link:prefetch",async e=>{const{hostname:t}=new URL(e,window.location.href);t===window.location.hostname&&await Gd(e).catch(()=>{})}),"slow-2g"!==navigator.connection?.effectiveType&&setTimeout(zd,1e3)})}}),Ip=fc(()=>{const e=Ic();Tp(()=>{e.beforeResolve(async()=>{await new Promise(e=>{setTimeout(e,100),requestAnimationFrame(()=>{setTimeout(e,0)})})})})}),Ap=fc(e=>{let t;async function n(){let r;try{r=await zd()}catch(hC){const t=hC;if(!("status"in t)||404!==t.status&&403!==t.status)throw t}t&&clearTimeout(t),t=setTimeout(n,lc);try{const n=await $fetch(Va("builds/latest.json")+`?${Date.now()}`);n.id!==r?.id&&(e.hooks.callHook("app:manifest:update",n),t&&clearTimeout(t))}catch{}}Tp(()=>{t=setTimeout(n,lc)})}),Rp=fc({name:"nuxt:chunk-reload",setup(e){const t=Ic(),n=yc(),r=new Set;function o(e){!function(e={}){const t=e.path||window.location.pathname,n=new URL(t,window.location.href);if(n.host!==window.location.host)throw new Error(`Cannot navigate to a URL with a different host: '${t}'.`);if(n.protocol&&va(n.protocol))throw new Error(`Cannot navigate to a URL with '${n.protocol}' protocol.`);let r={};try{r=zi(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||r?.path!==t||r?.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:gc().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}({path:xa(n.app.baseURL,e.fullPath),persistState:!0})}t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:e})=>{r.add(e)}),e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((e,t)=>{r.has(e)&&o(t)})}});async function Op(e,t=Ic()){const{path:n,matched:r}=t.resolve(e);if(!r.length)return;if(t._routePreloaded||=new Set,t._routePreloaded.has(n))return;const o=t._preloadPromises||=[];if(o.length>4)return Promise.all(o).then(()=>Op(e,t));t._routePreloaded.add(n);for(const s of r){const e=s.components?.default;if("function"!=typeof e)continue;const t=Promise.resolve(e()).catch(()=>{}).finally(()=>o.splice(o.indexOf(t),1));o.push(t)}await Promise.all(o)}function Mp(e){let t=e.replace(/[\u0000-\u001f\s]+/g,"");for(;t.toLowerCase().startsWith("view-source:");)t=t.slice(12);const n=t.indexOf(":");return n>0&&va(t.slice(0,n+1))?null:e}function Pp(e){function t(e){return"string"==typeof e&&e.startsWith("#")}function n(n){const r=Ic(),o=yc(),s=Cs(()=>!!It(n.target)&&"_self"!==It(n.target)),i=Cs(()=>{const e=It(n.to)||It(n.href)||"";return"string"==typeof e&&ya(e,{acceptRelative:!0})}),a=Sr("RouterLink"),c="string"!=typeof a?a.useLink:void 0,l=Cs(()=>
2{if(It(n.external))return!0;const e=It(n.to)||It(n.href)||"";return"object"!=typeof e&&(""===e||i.value)}),u=Cs(()=>{const t=It(n.to)||It(n.href)||"";return l.value?t:function(t,n,r){const o=r??e.trailingSlash;if(!t||"append"!==o&&"remove"!==o)return t;if("string"==typeof t)return Np(t,o);const s="path"in t&&void 0!==t.path?t.path:n(t).path;return{...t,name:void 0,path:Np(s,o)}}(t,r.resolve,It(n.trailingSlash))}),d=l.value?void 0:c?.({...n,to:u,viewTransition:It(n.viewTransition)}),p=Cs(()=>{const s=It(n.trailingSlash)??e.trailingSlash;if(!u.value||i.value||t(u.value)){const e=u.value;return"string"==typeof e?Mp(e):e}if(l.value){const e="object"==typeof u.value&&"path"in u.value?Mc(u.value):u.value,t="object"==typeof e?r.resolve(e).href:e,n="string"==typeof t?Mp(t):t;return null===n?null:Np(n,s)}return"object"==typeof u.value?r.resolve(u.value)?.href??null:Np(xa(o.app.baseURL,u.value),s)});return{to:u,hasTarget:s,isAbsoluteUrl:i,isExternal:l,href:p,isActive:d?.isActive??Cs(()=>u.value===r.currentRoute.value.path),isExactActive:d?.isExactActive??Cs(()=>u.value===r.currentRoute.value.path),route:d?.route??Cs(()=>r.resolve(u.value)),async navigate(e){null!==p.value&&await Oc(p.value,{replace:It(n.replace),external:l.value||s.value})}}}return Ln({name:e.componentName||"NuxtLink",props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:n,setup(r,{slots:o}){const s=Ic(),{to:i,href:a,navigate:c,isExternal:l,hasTarget:u,isAbsoluteUrl:d}=n(r),p=xt(!1),f=Et(null),h=e=>{f.value=r.custom?e?.$el?.nextElementSibling:e?.$el};function m(t){return!p.value&&("string"==typeof r.prefetchOn?r.prefetchOn===t:r.prefetchOn?.[t]??e.prefetchOn?.[t])&&!1!==(r.prefetch??e.prefetch)&&!0!==r.noPrefetch&&"_blank"!==r.target&&!function(){const e=navigator.connection;return!(!e||!e.saveData&&!Dp.test(e.effectiveType))}()}async function g(e=gc()){if(p.value)return;if(null===a.value)return;p.value=!0;const t="string"==typeof i.value?i.value:l.value?Mc(i.value):s.resolve(i.value).fullPath,n=l.value?new URL(t,window.location.href).href:t;await Promise.all([e.hooks.callHook("link:prefetch",n).catch(()=>{}),!l.value&&!u.value&&Op(i.value,s).catch(()=>{})])}if(m("visibility")){const e=gc();let t,n=null;pr(()=>{const r=function(){const e=gc();if(e._observer)return e._observer;let t=null;const n=new Map;return e._observer={observe:(e,r)=>(t||=new IntersectionObserver(e=>{for(const t of e){const e=n.get(t.target);(t.isIntersecting||t.intersectionRatio>0)&&e&&e()}}),n.set(e,r),t.observe(e),()=>{n.delete(e),t?.unobserve(e),0===n.size&&(t?.disconnect(),t=null)})}}();Tp(()=>{t=Ep(()=>{f?.value?.tagName&&(n=r.observe(f.value,async()=>{n?.(),n=null,await g(e)}))})})}),mr(()=>{t&&xp(t),n?.(),n=null})}return()=>{if(!l.value&&!u.value&&!t(i.value)){const t={ref:h,to:i.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};
2return r.custom||(m("interaction")&&(t.onPointerenter=g.bind(null,void 0),t.onFocus=g.bind(null,void 0)),p.value&&(t.class=r.prefetchedClass||e.prefetchedClass),t.rel=r.rel||void 0),Is(Sr("RouterLink"),t,o.default)}const n=r.target||null,y=((...e)=>e.find(e=>void 0!==e))(r.noRel?"":r.rel,e.externalRelAttribute,d.value||u.value?"noopener noreferrer":"")||null;return r.custom?o.default?o.default({href:a.value,navigate:c,prefetch:g,get route(){if(!a.value)return;const e=new URL(a.value,window.location.href);return{path:e.pathname,fullPath:e.pathname,get query(){return ua(e.search)},hash:e.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:a.value}},rel:y,target:n,isExternal:l.value||u.value,isActive:!1,isExactActive:!1}):null:Is("a",{ref:f,href:a.value||null,rel:y,target:n,onClick:async e=>{if(!l.value&&!u.value){e.preventDefault();try{const e=Pc(a.value??"");return await(r.replace?s.replace(e):s.push(e))}finally{if(t(i.value)){const e=i.value.slice(1);let t=e;try{t=decodeURIComponent(e)}catch{}const n=document.getElementById(t);n?.focus()}}}}},o.default?.())}}})}const Lp=Pp(ac);function Np(e,t){if("append"!==t&&"remove"!==t)return e;const n="append"===t?wa:ba;return ya(e)&&!e.startsWith("http")?e:n(e,!0)}const Dp=/2g/,$p=fc({name:"nuxt:island-link-navigation",setup(e){}}),jp=fc({name:"nuxt:global-components"}),Fp={"email-gracias":Qn(()=>vp(()=>import("./CQBGDqJH.js"),__vite__mapDeps([21,22,5,23,24]),import.meta.url).then(e=>e.default||e)),gracias:Qn(()=>vp(()=>import("./BQUZqsKz.js"),__vite__mapDeps([25,22,5,23,26,27,28]),import.meta.url).then(e=>e.default||e)),principal:Qn(()=>vp(()=>import("./BCzFnjvw.js"),__vite__mapDeps([29,26,27,30,31]),import.meta.url).then(e=>e.default||e))},Bp=fc({name:"nuxt:prefetch",setup(e){const t=Ic();e.hooks.hook("app:mounted",()=>{t.beforeEach(async e=>{const t=e?.meta?.layout;t&&"function"==typeof Fp[t]&&await Fp[t]()})}),e.hooks.hook("link:prefetch",e=>{if(ya(e))return;const n=t.resolve(e);if(!n)return;const r=n.meta.layout;let o=gp(n.meta.middleware);o=o.filter(e=>"string"==typeof e);for(const t of o)"function"==typeof wp[t]&&wp[t]();var s;"string"==typeof r&&r in Fp&&(s=Fp[r],s?.__asyncLoader&&!s.__asyncResolved&&s.__asyncLoader())})}}),Up=fc({name:"sentry-client-config",async setup(){let e,t;[e,t]=ic(()=>vp(()=>import("./DdTK3rym.js"),[],import.meta.url)),await e,t()}}),Hp="<div></div>",Wp=new WeakMap;function qp(e){if(Wp.has(e))return Wp.get(e);const t={...e};return t.render?t.render=(t,n,r,o,s,i)=>{if(o.mounted$??t.mounted$){const a=e.render?.bind(t)(t,n,r,o,s,i);return null===a.children||"string"==typeof a.children?rs(a):Is(a)}return Nd(t._.vnode.el,Hp)}:t.template&&=`\n <template v-if="mounted$">${e.template}</template>\n <template v-else>${Hp}</template>\n `,t.setup=(n,r)=>{const o=gc(),s=xt(!1===o.isHydrating),i=ms();if(o.isHydrating){const e={...i.attrs},t=function(e){if(!e||!e.vnode.dirs)return null;const t=e.vnode.dirs;return e.vnode.dirs=null,t}(i);for(const n in e)delete i.attrs[n];pr(()=>{Object.assign(i.attrs,e),i.vnode.dirs=t})}pr(()=>{s.value=!0});const a=e.setup?.(n,r)||{};return _(a)?Promise.resolve(a).then(e=>"function"!=typeof e?(e||={},e.mounted$=s,e):(...t)=>{if(s.value||!o.isHydrating){const n=e(...t);return null===n.children||"string"==typeof n.children?rs(n):Is(n)}return Nd(i?.vnode.el,Hp)}):"function"==typeof a?(...e)=>{if(s.value){const n=a(...e),o=!1!==t.inheritAttrs?r.attrs:void 0;return null===n.children||"string"==typeof n.children?rs(n,o):Is(n,o)}return Nd(i?.vnode.el,Hp)}:Object.assign(a,{mounted$:s})},Wp.set(e,t),t}var zp=/^GTM-[0-9A-Z]+$/;function Vp(e){if("string"!=typeof e||!zp.test(e)){let t=String(e).toUpperCase().replace(/.*-|[^0-9A-Z]/g,""),n=0===t.length?"":` Did you mean 'GTM-${t}'?`;throw new Error(`'${e}' is not a valid GTM-ID (${zp}).${n}`)}}function Gp(e,t="dataLayer"){return e[t]||(e[t]=[]),e[t]}function Kp(e,t){let n=document,r=n.createElement("script"),o=n=>{t.onReady?.({id:e,script:r}),r.removeEventListener("load",o)};r.addEventListener("load",o);let s=t.dataLayerName??"dataLayer";if(Gp(window,s).push({event:"gtm.js","gtm.start":(new Date).getTime()}),!e)return r;r.async=!t.defer,r.defer=!(!t.defer&&!t.compatibility),t.nonce&&r.setAttribute("nonce",t.nonce),t.scriptType&&(r.type=t.scriptType);let i=new URLSearchParams({id:e,...t.dataLayerName?{l:t.dataLayerName}:{},...t.queryParams??{}}),a=t.source??"https://www.googletagmanager.com/gtm.js";r.src=`${a}?${i}`;let c=t.parentElement??n.body;if("function"!=typeof c?.appendChild)throw new Error("parentElement must be a DOM element");return c.appendChild(r),r}var Jp,Yp=class{id;options;scriptElements=[];constructor(e){if(Array.isArray(e.id))for(let t of e.id)Vp("string"==typeof t?t:t.id);else Vp(e.id);this.id=e.id,this.options={enabled:!0,debug:!1,loadScript:!0,defer:!1,compatibility:!1,dataLayerName:"dataLayer",...e},delete this.options.id}isInBrowserContext=()=>typeof window<"u";enabled(){return this.options.enabled??!0}enable(e=!0,t){if(this.options.enabled=e,this.isInBrowserContext()&&e&&!function(e="https://www.googletagmanager.com/gtm.js"){return Array.from(document.getElementsByTagName("script")).some(t=>t.src.includes(e))}(t)&&this.options.loadScript)if(Array.isArray(this.id))this.id.forEac
2h(e=>{let t;t="string"==typeof e?Kp(e,{...this.options}):Kp(e.id,{...this.options,queryParams:e.queryParams}),this.scriptElements.push(t)});else{let e=Kp(this.id,{...this.options});this.scriptElements.push(e)}}debugEnabled(){return this.options.debug??!1}debug(e){this.options.debug=e}dataLayer(){return!(!this.isInBrowserContext()||!this.options.enabled)&&Gp(window,this.options.dataLayerName)}trackView(e,t,n={}){let r=this.isInBrowserContext()&&(this.options.enabled??!1);this.options.debug,r&&Gp(window,this.options.dataLayerName).push({...n,event:this.options.trackViewEventProperty??"content-view","content-name":t,"content-view-name":e})}trackEvent({event:e,category:t=null,action:n=null,label:r=null,value:o=null,noninteraction:s=!1,...i}={}){let a=this.isInBrowserContext()&&(this.options.enabled??!1);this.options.debug,a&&Gp(window,this.options.dataLayerName).push({event:e??"interaction",target:t,action:n,"target-properties":r,value:o,"interaction-type":s,...i})}push(e){let t=this.isInBrowserContext()&&(this.options.enabled??!1);this.options.debug,t&&Gp(window,this.options.dataLayerName).push(e)}};const Xp=fc(e=>{{const n=e.$config.public.gtm,r=Ic(),o={...n,vueRouter:n.enableRouterSync&&r?r:void 0};e.vueApp.use((t=o,{install:e=>function(e,t={id:""}){t={trackOnNextTick:!1,...t},Jp=new Yp(t),e.config.globalProperties.$gtm=Jp,Jp.isInBrowserContext()&&(t.vueRouter&&function(e,t,n=[],r,o=()=>({})){function s(e,t){return e instanceof Error&&!!(e.type&t)}t.afterEach(async(e,i,a)=>{if("string"!=typeof e.name||Array.isArray(n)&&n.includes(e.name)||"function"==typeof n&&n(e,i))return;let c=e.meta&&"string"==typeof e.meta.gtm&&e.meta.gtm?e.meta.gtm:e.name;(s(a,4)||s(a,8))&&Jp?.debugEnabled();let l={...await o(e,i),...e.meta?.gtmAdditionalEventData},u=t.options?.history?.base??"";u.endsWith("/")||(u+="/"),u+=e.fullPath.startsWith("/")?e.fullPath.substring(1):e.fullPath,r?Yt(()=>{Jp?.trackView(c,u,l)}):Jp?.trackView(c,u,l)})}(0,t.vueRouter,t.ignoredViews,t.trackOnNextTick,t.vueRouterAdditionalEventData),Jp.options.enabled&&Jp.options.loadScript&&(Array.isArray(t.id)?t.id.forEach(e=>{if("string"==typeof e)Kp(e,t);else{let n={...t};null!=e.queryParams&&(n.queryParams={...n.queryParams,...e.queryParams}),Kp(e.id,n)}}):Kp(t.id,t))),e.provide("gtm",t)}(e,t)}))}var t}),Qp=fc(()=>{if("undefined"!=typeof window){const e=new URLSearchParams(window.location.search),t={};["utm_source","utm_medium","utm_campaign","utm_term","utm_content","utm_id","gclid","gclsrc","dclid","gbraid","gad_source","gad_campaignid","matchtype","network","device","placement","fbclid"].forEach(n=>{const r=e.get(n);r&&(t[n]=r)}),Object.keys(t).length>0&&sessionStorage.setItem("utmParams",JSON.stringify(t))}}),Zp="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,ef=globalThis,tf="10.75.3";function nf(){return rf(ef),ef}function rf(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||tf,t[tf]=t[tf]||{}}function of(e,t,n=ef){const r=n.__SENTRY__=n.__SENTRY__||{},o=r[tf]=r[tf]||{};return o[e]||(o[e]=t())}const sf=["debug","info","warn","error","log","assert","trace"],af={};function cf(e){if(!("console"in ef))return e();const t=ef.console,n={},r=Object.keys(af);r.forEach(e=>{const r=af[e];n[e]=t[e],t[e]=r});try{return e()}finally{r.forEach(e=>{t[e]=n[e]})}}function lf(){return df().enabled}function uf(e,...t){Zp&&lf()&&cf(()=>{ef.console[e](`Sentry Logger [${e}]:`,...t)})}function df(){return Zp?of("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const pf={enable:function(){df().enabled=!0},disable:function(){df().enabled=!1},isEnabled:lf,log:function(...e){uf("log",...e)},warn:function(...e){uf("warn",...e)},error:function(...e){uf("error",...e)}},ff="?",hf=/\(error: (.*)\)/,mf=/captureMessage|captureException/;function gf(...e){const t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0,r=0)=>{const o=[],s=e.split("\n");for(let i=n;i<s.length;i++){let e=s[i];e.length>1024&&(e=e.slice(0,1024));const n=hf.test(e)?e.replace(hf,"$1"):e;if(!n.includes("Error: ")){for(const e of t){const t=e(n);if(t){o.push(t);break}}if(o.length>=50+r)break}}return function(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(yf(t).function||"")&&t.pop(),t.reverse(),mf.test(yf(t).function||"")&&(t.pop(),mf.test(yf(t).function||"")&&t.pop()),t.slice(0,50).map(e=>({...e,filename:e.filename||yf(t).filename,function:e.function||ff}))}(o.slice(r))}}function yf(e){return e[e.length-1]||{}}const vf="<anonymous>";function _f(e){try{return e&&"function"==typeof e&&e.name||vf}catch{return vf}}function bf(e){const t=e.exception;if(t){const e=[];
2try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch{return}}}const wf={},Sf={};function kf(e,t){return wf[e]=wf[e]||[],wf[e].push(t),()=>{const n=wf[e];if(n){const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}}function Ef(e,t){if(!Sf[e]){Sf[e]=!0;try{t()}catch(hC){Zp&&pf.error(`Error while instrumenting ${e}`,hC)}}}function xf(e,t){const n=e&&wf[e];if(n)for(const r of n)try{r(t)}catch(hC){Zp&&pf.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${_f(r)}\nError:`,hC)}}let Tf=null;function Cf(e){const t="error";kf(t,e),Ef(t,If)}function If(){Tf=ef.onerror,ef.onerror=function(e,t,n,r,o){return xf("error",{column:r,error:o,line:n,msg:e,url:t}),!!Tf&&Tf.apply(this,arguments)},ef.onerror.__SENTRY_INSTRUMENTED__=!0}let Af=null;function Rf(e){const t="unhandledrejection";kf(t,e),Ef(t,Of)}function Of(){Af=ef.onunhandledrejection,ef.onunhandledrejection=function(e){return xf("unhandledrejection",e),!Af||Af.apply(this,arguments)},ef.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const Mf=Object.prototype.toString;function Pf(e){switch(Mf.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return qf(e,Error)}}function Lf(e,t){return Mf.call(e)===`[object ${t}]`}function Nf(e){return Lf(e,"ErrorEvent")}function Df(e){return Lf(e,"DOMError")}function $f(e){return Lf(e,"String")}function jf(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function Ff(e){return null===e||jf(e)||"object"!=typeof e&&"function"!=typeof e}function Bf(e){return Lf(e,"Object")}function Uf(e){return"object"==typeof e&&null!==e}function Hf(e){return"undefined"!=typeof Event&&qf(e,Event)}function Wf(e){return Boolean(e?.then&&"function"==typeof e.then)}function qf(e,t){try{return e instanceof t}catch{return!1}}function zf(e){return"undefined"!=typeof Request&&qf(e,Request)}function Vf(e,t,n){if(!(t in e))return;const r=e[t];if("function"!=typeof r)return;const o=n(r);"function"==typeof o&&Kf(o,r);try{e[t]=o}catch{Zp&&pf.log(`Failed to replace method "${t}" in object`,e)}}function Gf(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{Zp&&pf.log(`Failed to add non-enumerable property "${String(t)}" to object`,e)}}function Kf(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,Gf(e,"__sentry_original__",t)}catch{}}function Jf(e){return e.__sentry_original__}function Yf(e){if(Pf(e))return{message:e.message,name:e.name,stack:e.stack,...Xf(e)};if(Hf(e)){const{type:t,target:n,currentTarget:r,detail:o}=e;return{type:t,target:n,currentTarget:r,...o?{detail:o}:{},...Xf(e)}}return e}function Xf(e){return Uf(e)?Object.fromEntries(Object.entries(e)):{}}let Qf;function Zf(e){if(void 0!==Qf)return Qf?Qf(e):e();const t=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),n=ef;return t in n&&"function"==typeof n[t]?(Qf=n[t],Qf(e)):(Qf=null,e())}function eh(){return Zf(()=>Math.random())}function th(){return Zf(()=>Date.now())}const nh=Symbol.for("sentry.skipNormalization"),rh=Symbol.for("sentry.overrideNormalizationDepth");let oh,sh,ih;function ah(e,t=100,n=1/0){try{return lh(0,e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function ch(e,t=3,n=102400){const r=ah(e,t);return o=r,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(o))>n?ch(e,t-1,n):r;var o}function lh(e,t,n=1/0,r=1/0,o=function(){const e=new WeakSet;return[function(t){return!!e.has(t)||(e.add(t),!1)},function(t){e.delete(t)}]}()){const[s,i]=o;if(null==t||["boolean","string"].includes(typeof t)||"number"==typeof t&&Number.isFinite(t))return t;const a=uh(0,t);if(!a.startsWith("[object "))return a;if(function(e){return Boolean(e[nh])}(t))return t;const c=function(e){const t=e[rh];return"number"==typeof t?t:void 0}(t),l=void 0!==c?c:n;
2if(0===l)return a.replace("object ","");if(s(t))return"[Circular ~]";const u=t;if(u&&"function"==typeof u.toJSON)try{return lh(0,u.toJSON(),l-1,r,o)}catch{}const d=Array.isArray(t)?[]:{};let p=0;const f=Yf(t);for(const h in f){if(!Object.prototype.hasOwnProperty.call(f,h))continue;if(p>=r){d[h]="[MaxProperties ~]";break}const e=f[h];d[h]=lh(0,e,l-1,r,o),p++}return i(t),d}function uh(e,t){try{if(oh){const e=oh(t);if(e)return e}if("undefined"!=typeof global&&t===global)return"[Global]";if("number"==typeof t&&!Number.isFinite(t))return`[${t}]`;if("function"==typeof t)return`[Function: ${_f(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;const e=function(e){const t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}(t);return`[object ${e}]`}catch(n){return`**non-serializable** (${n})`}}function dh(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function ph(e,t){if(!Array.isArray(e))return"";const n=[];for(let r=0;r<e.length;r++){const t=e[r];Ff(t)?n.push(String(t)):t instanceof Error?n.push(t.message?`${t.name}: ${t.message}`:t.name):n.push(uh(0,t))}return n.join(t)}function fh(e,t,n=!1){return!!$f(e)&&(Lf(t,"RegExp")?t.test(e):$f(t)?n?e===t:e.includes(t):"function"==typeof t&&t(e))}function hh(e,t=[],n=!1){for(const r of t)if(fh(e,r,n))return!0;return!1}function mh(e=function(){const e=ef;return e.crypto||e.msCrypto}()){try{if(e?.randomUUID)return Zf(()=>e.randomUUID()).replace(/-/g,"")}catch{}return sh||(sh="10000000100040008000100000000000"),sh.replace(/[018]/g,e=>(e^(16*eh()&15)>>e/4).toString(16))}function gh(e){return e.exception?.values?.[0]}function yh(e){const{message:t,event_id:n}=e;if(t)return t;const r=gh(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function vh(e,t,n){const r=e.exception=e.exception||{},o=r.values=r.values||[],s=o[0]=o[0]||{};s.value||(s.value=t||""),s.type||(s.type="Error")}function _h(e,t){const n=gh(e);if(!n)return;const r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...t},t&&"data"in t){const e={...r?.data,...t.data};n.mechanism.data=e}}function bh(e){if(function(e){try{return e.__sentry_captured__}catch{}}(e))return!0;try{Gf(e,"__sentry_captured__",!0)}catch{}return!1}function wh(){return th()/1e3}function Sh(){return(ih??(ih=function(){const{performance:e}=ef;if(!e?.now||!e.timeOrigin)return wh;const t=e.timeOrigin;return()=>(t+Zf(()=>e.now()))/1e3}()))()}let kh=null;function Eh(){return null===kh&&(kh=function(){const{performance:e}=ef;if(!e?.now)return;const t=3e5,n=Zf(()=>e.now()),r=th(),o=e.timeOrigin;if("number"==typeof o&&Math.abs(o+n-r)<t)return o;const s=e.timing?.navigationStart;return"number"==typeof s&&Math.abs(s+n-r)<t?s:r-n}()),kh}function xh(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||Sh(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:mh()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{const t=e.timestamp-e.started;e.duration=t>=0?t: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),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function Th(e,t,n=2){if(!t||"object"!=typeof t||n<=0)return t;if(e&&0===Object.keys(t).length)return e;const r={...e};for(const o in t)Object.prototype.hasOwnProperty.call(t,o)&&(r[o]=Th(r[o],t[o],n-1));return r}function Ch(){return mh()}function Ih(){return mh().substring(16)}function Ah(e){try{const t=ef.WeakRef;if("function"==typeof t)return new t(e)}catch{}return e}function Rh(e){if(e){if("object"==typeof e&&"deref"in e&&"function"==typeof e.deref)try{return e.deref()}catch{return}return e}}const Oh="_sentrySpan";function Mh(e,t){t?Gf(e,Oh,Ah(t)):delete e[Oh]}
vendor: 5,762 bytes, line 2
2function Ph(e){return Rh(e[Oh])}class Lh{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:Ch(),sampleRand:eh()}}clone(){const e=new Lh;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._attributes={...this._attributes},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,e._conversationId=this._conversationId,Mh(e,Ph(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&xh(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(e){return this._conversationId=e||void 0,this._notifyScopeListeners(),this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this.setTags({[e]:t})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,t){return this.setAttributes({[e]:t})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const t="function"==typeof e?e(this):e,n=t instanceof Lh?t.getScopeData():Bf(t)?e:void 0,{tags:r,attributes:o,extra:s,user:i,contexts:a,level:c,fingerprint:l=[],propagationContext:u,conversationId:d}=n||{};return this._tags={...this._tags,...r},this._attributes={...this._attributes,...o},this._extra={...this._extra,...s},this._contexts={...this._contexts,...a},i&&Object.keys(i).length&&(this._user=i),c&&(this._level=c),l.length&&(this._fingerprint=l),u&&(this._propagationContext=u),d&&(this._conversationId=d),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,Mh(this,void 0),this._attachments=[],this.setPropagationContext({traceId:Ch(),sampleRand:eh()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){const n="number"==typeof t?t:100;if(n<=0)return this;const r={timestamp:wh(),...e,message:e.message?dh(e.message,2048):e.message};return this._breadcrumbs.push(r),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:Ph(this),conversationId:this._conversationId}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=Th(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){const n=t?.event_id||mh();if(!this._client)return Zp&&pf.warn("No client configured on scope - will not capture exception!"),n;const r=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){const r=n?.event_id||mh();if(!this._client)return Zp&&pf.warn("No client configured on scope - will not capture message!"),r;const o=n?.syntheticException??new Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:o,...n,event_id:r},this),r}captureEvent(e,t){const n=e.event_id||t?.event_id||mh();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(Zp&&pf.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
2h(e=>{e(this)}),this._notifyingListeners=!1)}}const Nh=e=>e instanceof Promise&&!e[Dh],Dh=Symbol("chained PromiseLike");class $h{constructor(e,t){let n,r;n=e||new Lh,r=t||new Lh,this._stack=[{scope:n}],this._isolationScope=r}withScope(e){const t=this._pushScope();let n;try{n=e(t)}catch(hC){throw this._popScope(),hC}return Wf(n)?((e,t,n)=>{const r=e.then(e=>(t(),e),e=>{throw n(),e});return Nh(r)&&Nh(e)?r:((e,t)=>{if(!t)return e;let n=!1;for(const r in e){if(r in t)continue;n=!0;const o=e[r];"function"==typeof o?Object.defineProperty(t,r,{value:(...t)=>o.apply(e,t),enumerable:!0,configurable:!0,writable:!0}):t[r]=o}return n&&Object.assign(t,{[Dh]:!0}),t})(e,r)})(n,()=>this._popScope(),()=>this._popScope()):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1||!this._stack.pop())}}function jh(){const e=rf(nf());return e.stack=e.stack||new $h(of("defaultCurrentScope",()=>new Lh),of("defaultIsolationScope",()=>new Lh))}function Fh(e){return jh().withScope(e)}function Bh(e,t){const n=jh();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function Uh(e){return jh().withScope(()=>e(jh().getIsolationScope()))}function Hh(e){const t=rf(e);return t.acs?t.acs:{withIsolationScope:Uh,withScope:Fh,withSetScope:Bh,withSetIsolationScope:(e,t)=>Uh(t),getCurrentScope:()=>jh().getScope(),getIsolationScope:()=>jh().getIsolationScope()}}function Wh(e,t){const{value:n,unit:r}="object"==typeof(o=e)&&null!=o&&!Array.isArray(o)&&Object.keys(o).includes("value")?e:{value:e,unit:void 0};var o;const s=function(e){if(Array.isArray(e))return{value:e,type:"array"};const t="string"==typeof e?"string":"boolean"==typeof e?"boolean":"number"!=typeof e||Number.isNaN(e)?null:Number.isInteger(e)?"integer":"double";return t?{value:e,type:t}:void 0}(n),i=r&&"string"==typeof r?{unit:r}:{};if(s)return{...s,...i};if(!t||"skip-undefined"===t&&void 0===n)return;let a="";try{a=JSON.stringify(n)??""}catch{}return{value:a,type:"string",...i}}function qh(e,t=!1){const n={};for(const[r,o]of Object.entries(e??{})){const e=Wh(o,t);e&&(n[r]=e)}return n}function zh(){return Hh(nf()).getCurrentScope()}function Vh(){return Hh(nf()).getIsolationScope()}function Gh(...e){const t=Hh(nf());if(2===e.length){const[n,r]=e;return n?t.withSetScope(n,r):t.withScope(r)}return t.withScope(e[0])}function Kh(){return zh().getClient()}function Jh(e){const t=e.getPropagationContext(),{traceId:n,parentSpanId:r,propagationSpanId:o}=t,s={trace_id:n,span_id:o||Ih()};return r&&(s.parent_span_id=r),s}const Yh="sentry.source",Xh="sentry.sample_rate",Qh="sentry.previous_trace_sample_rate",Zh="sentry.op",em="sentry.origin",tm="sentry.status.message",nm="sentry.idle_span_finish_reason",rm="sentry.measurement_unit",om="sentry.measurement_value",sm="sentry.custom_span_name",im="sentry.profile_id",am="sentry.exclusive_time",cm="sentry.link.type";function lm(e,t){e.setAttribute("http.response.status_code",t);const n=function(e){if(e<400&&e>=100)return{code:1};if(e>=400&&e<500)switch(e){case 401:return{code:2,message:"unauthenticated"};case 403:return{code:2,message:"permission_denied"};case 404:return{code:2,message:"not_found"};case 409:return{code:2,message:"already_exists"};case 413:return{code:2,message:"failed_precondition"};case 429:return{code:2,message:"resource_exhausted"};case 499:return{code:2,message:"cancelled"};default:return{code:2,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:2,message:"unimplemented"};case 503:return{code:2,message:"unavailable"};case 504:return{code:2,message:"deadline_exceeded"};default:return{code:2,message:"internal_error"}}return{code:2,message:"internal_error"}}(t);"unknown_error"!==n.message&&e.setStatus(n)}const um="_sentryScope",dm="_sentryIsolationScope",pm=Symbol.for("sentry.otelSourceInference"),fm=Symbol.for("sentry.otelSourceExplicitlySet"),hm=Symbol.for("sentry.tracerProviderSpan");function mm(e,t,n){e&&(Gf(e,dm,Ah(n)),Gf(e,um,t))}function gm(e){const t=e;return{scope:t[um],isolationScope:Rh(t[dm])}}function ym(e){return!0===e[pm]}const vm="sentry-";function _m(e){const t=function(e){if(e&&($f(e)||Array.isArray(e)))return Array.isArray(e)?e.reduce((e,t)=>
2{const n=bm(t);return Object.entries(n).forEach(([t,n])=>{e[t]=n}),e},{}):bm(e)}(e);if(!t)return;const n=Object.entries(t).reduce((e,[t,n])=>(t.startsWith(vm)&&(e[t.slice(7)]=n),e),{});return Object.keys(n).length>0?n:void 0}function bm(e){return e.split(",").map(e=>{const t=e.indexOf("=");return-1===t?[]:[e.slice(0,t),e.slice(t+1)].map(e=>{try{return decodeURIComponent(e.trim())}catch{return}})}).reduce((e,[t,n])=>(t&&n&&(e[t]=n),e),{})}const wm=/^o(\d+)\./,Sm=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function km(e,t=!1){const{host:n,path:r,pass:o,port:s,projectId:i,protocol:a,publicKey:c}=e;return`${a}://${c}${t&&o?`:${o}`:""}@${n}${s?`:${s}`:""}/${r?`${r}/`:r}${i}`}function Em(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function xm(e){const t=e.getOptions(),{host:n}=e.getDsn()||{};let r;return t.orgId?r=String(t.orgId):n&&(r=function(e){const t=e.match(wm);return t?.[1]}(n)),r}function Tm(e){if("boolean"==typeof e)return Number(e);const t="string"==typeof e?parseFloat(e):e;return"number"!=typeof t||isNaN(t)||t<0||t>1?void 0:t}const Cm=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function Im(e=Ch(),t=Ih(),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${e}-${t}${r}`}function Am(e=Ch(),t=Ih(),n){return`00-${e}-${t}-${n?"01":"00"}`}let Rm=!1;function Om(e){const{spanId:t,traceId:n}=e.spanContext(),{data:r,op:o,parent_span_id:s,status:i,origin:a,links:c}=$m(e);return{parent_span_id:s,span_id:t,trace_id:n,data:r,op:o,status:i,origin:a,links:c}}function Mm(e){const{spanId:t,traceId:n,isRemote:r}=e.spanContext(),o=r?t:$m(e).parent_span_id,s=gm(e).scope;return{parent_span_id:o,span_id:r?s?.getPropagationContext().propagationSpanId||Ih():t,trace_id:n}}function Pm(e){return e&&e.length>0?e.map(({context:{spanId:e,traceId:t,traceFlags:n,...r},attributes:o})=>({span_id:e,trace_id:t,sampled:1===n,attributes:o,...r})):void 0}function Lm(e){return e?.length?e.map(({context:{spanId:e,traceId:t,traceFlags:n},attributes:r})=>({span_id:e,trace_id:t,sampled:1===n,attributes:r})):void 0}function Nm(e){return"number"==typeof e?Dm(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?Dm(e.getTime()):Sh()}function Dm(e){return e>9999999999?e/1e3:e}function $m(e){if(Um(e))return e.getSpanJSON();const{spanId:t,traceId:n}=e.spanContext();if(Bm(e)){const{attributes:r,startTime:o,name:s,endTime:i,status:a,links:c}=e;return{span_id:t,trace_id:n,data:r,description:s,parent_span_id:Fm(e),start_timestamp:Nm(o),timestamp:Nm(i)||void 0,status:Wm(a),op:r[Zh],origin:r[em],links:Pm(c)}}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function jm(e){if(Um(e))return e.getStreamedSpanJSON();const{spanId:t,traceId:n}=e.spanContext();if(Bm(e)){const{attributes:r,startTime:o,name:s,endTime:i,status:a,links:c}=e;return{name:s,span_id:t,trace_id:n,parent_span_id:Fm(e),start_timestamp:Nm(o),end_timestamp:Nm(i),is_segment:e===Xm(e),status:qm(a),attributes:zm(r,a),links:Lm(c)}}return{span_id:t,trace_id:n,start_timestamp:0,name:"",end_timestamp:0,status:"ok",is_segment:e===Xm(e)}}function Fm(e){return"parentSpanId"in e?e.parentSpanId:"parentSpanContext"in e?e.parentSpanContext?.spanId:void 0}function Bm(e){const t=e;return!!(t.attributes&&t.startTime&&t.name&&t.endTime&&t.status)}function Um(e){return"function"==typeof e.getSpanJSON}function Hm(e){const{traceFlags:t}=e.spanContext();return 1===t}function Wm(e){if(e&&0!==e.code)return 1===e.code?"ok":e.message||"internal_error"}function qm(e){return e&&1!==e.code&&0!==e.code&&"cancelled"!==e.message?"error":"ok"}function zm(e,t){const n="error"===qm(t)?t?.message:void 0;return{...n&&{[tm]:n},...e}}const Vm="_sentryChildSpans",Gm="_sentryRootSpan";function Km(e,t){const n=e[Gm]||e;Gf(t,Gm,n),Hm(e)&&(e.isRecording()||n.isRecording())&&(e[Vm]?e[Vm].add(t):Gf(e,Vm,new Set([t])))}function Jm(e){const t=new Set;return function e(n){if(!t.has(n)&&Hm(n)){t.add(n);const r=n[Vm]?Array.from(n[Vm]):[];for(const t of r)e(t)}}(e),Array.from(t)}const Ym=Xm;function Xm(e){return e[Gm]||e}function Qm(){const e=Hh(nf());return e.getActiveSpan?e.getActiveSpan():Ph(zh())}function Zm(){Rm||(cf(()=>{}),Rm=!0)}let eg=!1;function tg(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const t=e||Kh()?.getOptions();return!(!t||null==t.tracesSampleRate&&!t.tracesSampler)}function ng(e){pf.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function rg(e,t){if(!t?.length)return!1;
2for(const n of t){if(sg(n)){if(e.description&&fh(e.description,n))return Zp&&ng(e),!0;continue}const t=!!n.attributes&&Object.keys(n.attributes).length>0;if(!n.name&&!n.op&&!t)continue;const r=!n.name||e.description&&fh(e.description,n.name),o=!n.op||e.op&&fh(e.op,n.op),s=!n.attributes||Object.entries(n.attributes).every(([t,n])=>{return r=e.attributes?.[t],o=n,"string"==typeof r&&("string"==typeof o||o instanceof RegExp)?fh(r,o):Array.isArray(r)&&Array.isArray(o)?r.length===o.length&&r.every((e,t)=>e===o[t]):r===o;var r,o});if(r&&o&&s)return Zp&&ng(e),!0}return!1}function og(e,t){const n=t.parent_span_id,r=t.span_id;if(n)for(const o of e)o.parent_span_id===r&&(o.parent_span_id=n)}function sg(e){return"string"==typeof e||e instanceof RegExp}const ig=Symbol.for("sentry.nonRecordingSpan");class ag{constructor(e={}){this._traceId=e.traceId||Ch(),this._spanId=e.spanId||Ih(),this.dropReason=e.dropReason,Gf(this,ig,!0)}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:0}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}addEvent(e,t,n){return this}addLink(e){return this}addLinks(e){return this}recordException(e,t){}}function cg(e){return!!e&&!0===e[ig]}const lg="production",ug="_frozenDsc";function dg(e,t){Gf(e,ug,t)}function pg(e,t){const n=t.getOptions(),{publicKey:r}=t.getDsn()||{},o={environment:n.environment||lg,release:n.release,public_key:r,trace_id:e,org_id:xm(t)};return t.emit("createDsc",o),o}function fg(e,t){const n=t.getPropagationContext();return n.dsc||pg(n.traceId,e)}function hg(e){const t=Kh();if(!t)return{};const n=Ym(e),r=$m(n),o=r.data,s=n.spanContext().traceState,i=s?.get("sentry.sample_rate")??o[Xh]??o[Qh];function a(e){return"number"!=typeof i&&"string"!=typeof i||(e.sample_rate=`${i}`),e}const c=n[ug];if(c)return a(c);const l=cg(n),u=l&&"ignored"===n.dropReason;if(l&&(!tg(t.getOptions())||u)){const e=gm(n).scope;if(e){const n={...fg(t,e)};return u&&(n.sampled="false"),a(n)}}const d=s?.get("sentry.dsc"),p=d&&_m(d);if(p)return a(p);const f=pg(e.spanContext().traceId,t),h=o[Yh]??o["sentry.segment.name.source"],m=r.description;return"url"!==h&&m&&(f.transaction=m),tg()&&(f.sampled=String(Hm(n)),f.sample_rand=s?.get("sentry.sample_rand")??gm(n).scope?.getPropagationContext().sampleRand.toString()),a(f),t.emit("createDsc",f,n),f}function mg(e){return!!e&&"function"==typeof e&&"_streamed"in e&&!!e._streamed}function gg(e,t=[]){return[e,t]}function yg(e,t){const[n,r]=e;return[n,[...r,t]]}function vg(e,t){const n=e[1];for(const r of n)if(t(r,r[0].type))return!0;return!1}function _g(e){const t=rf(ef);return t.encodePolyfill?t.encodePolyfill(e):(new TextEncoder).encode(e)}function bg(e){const[t,n]=e;let r=JSON.stringify(t);function o(e){"string"==typeof r?r="string"==typeof e?r+e:[_g(r),e]:r.push("string"==typeof e?_g(e):e)}for(const s of n){const[e,t]=s;if(o(`\n${JSON.stringify(e)}\n`),"string"==typeof t||t instanceof Uint8Array)o(t);else{let e;try{e=JSON.stringify(t)}catch{e=JSON.stringify(ah(t))}o(e)}}return"string"==typeof r?r:function(e){const t=e.reduce((e,t)=>e+t.length,0),n=new Uint8Array(t);let r=0;for(const o of e)n.set(o,r),r+=o.length;return n}(r)}function wg(e){return[{type:"span"},e]}function Sg(e){const t="string"==typeof e.data?_g(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}const kg={sessions:"session",event:"error",client_report:"internal",user_report:"default",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",raw_security:"security",log:"log_item",trace_metric:"metric"};function Eg(e){return function(e){return e in kg}(e)?kg[e]:e}function xg(e){if(!e?.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function Tg(e,t,n,r){const o=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date(th()).toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:km(r)},...o&&{trace:o}}}function Cg(e,t,n,r=Qm()){const o=r&&Ym(r);o&&(Zp&&pf.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${n}`),o.addEvent(e,{[om]:t,[rm]:n}))}function Ig(e){if(!e||0===e.length)return;const t={};
2return e.forEach(e=>{const n=e.attributes||{},r=n[rm],o=n[om];"string"==typeof r&&"number"==typeof o&&(t[e.name]={value:o,unit:r})}),t}function Ag(){return rf(nf()).segmentSpanCaptureStrategy}function Rg(e){return"stream"===e.getOptions().traceLifecycle}class Og{constructor(e={}){this._traceId=e.traceId||Ch(),this._spanId=e.spanId||Ih(),this._startTime=e.startTimestamp||Sh(),this._links=e.links,this._attributes={},this.setAttributes({[em]:"manual",[Zh]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}addLink(e){return this._frozen||(this._links?this._links.push(e):this._links=[e]),this}addLinks(e){return this._frozen||(this._links?this._links.push(...e):this._links=e),this}recordException(e,t){}spanContext(){const{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:n?1:0}}setAttribute(e,t){return this._frozen||(void 0===t?delete this._attributes[e]:this._attributes[e]=t,e===Yh&&void 0!==t&&ym(this)&&Gf(this,fm,!0)),this}setAttributes(e){return Object.keys(e).forEach(t=>this.setAttribute(t,e[t])),this}updateStartTime(e){this._frozen||(this._startTime=Nm(e))}setStatus(e){return this._frozen||(this._status=e),this}updateName(e){return this._frozen||(this._name=e,ym(this)||this.setAttribute(Yh,"custom")),this}end(e){this._endTime||(this._endTime=Nm(e),function(e){if(!Zp)return;const{description:t="< unknown name >",op:n="< unknown op >"}=$m(e),{spanId:r}=e.spanContext(),o=`[Tracing] Finishing "${n}" ${Ym(e)===e?"root ":""}span "${t}" with ID ${r}`;pf.log(o)}(this),this._onSpanEnded()),this._frozen=!0===this[hm]}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[Zh],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:Wm(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[em],profile_id:this._attributes[im],exclusive_time:this._attributes[am],measurements:Ig(this._events),is_segment:this._isStandaloneSpan&&Ym(this)===this||void 0,segment_id:this._isStandaloneSpan?Ym(this).spanContext().spanId:void 0,links:Pm(this._links)}}getStreamedSpanJSON(){return{name:this._name??"",span_id:this._spanId,trace_id:this._traceId,parent_span_id:this._parentSpanId,start_timestamp:this._startTime,end_timestamp:this._endTime??this._startTime,is_segment:this._isStandaloneSpan||this===Ym(this),status:qm(this._status),attributes:zm(this._attributes,this._status),links:Lm(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,n){if(this._frozen)return this;Zp&&pf.log("[Tracing] Adding an event to span:",e);const r=Mg(t)?t:n||Sh(),o=Mg(t)?{}:t||{},s={name:e,time:Nm(r),attributes:o};return this._events.push(s),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const e=Kh();e&&(e.emit("spanEnd",this),this._isStandaloneSpan||e.emit("afterSpanEnd",this));const t=Ym(this),n=this._isStandaloneSpan||this===t;if(this._isStandaloneSpan)return void(this._sampled?function(e){const t=Kh();if(!t)return;const n=e[1];n&&0!==n.length?t.sendEnvelope(e):t.recordDroppedEvent("before_send","span")}(function(e,t){const n=hg(e[0]),r=t?.getDsn(),o=t?.getOptions().tunnel,s={sent_at:new Date(th()).toISOString(),...(i=n,!!i.trace_id&&!!i.public_key&&{trace:n}),...!!o&&r&&{dsn:km(r)}};var i;const{beforeSendSpan:a,ignoreSpans:c}=t?.getOptions()||{},l=c?.length?e.filter(e=>{const t=$m(e);return!rg({description:t.description,op:t.op,attributes:t.data},c)}):e,u=e.length-l.length;u&&t?.recordDroppedEvent("before_send","span",u);const d=a?e=>{const t=$m(e);return(mg(a)?t:a(t))||(Zm(),t)}:$m,p=[];for(const f of l){const e=d(f);e&&p.push(wg(e))}return gg(s,p)}([this],e)):(Zp&&pf.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),e&&e.recordDroppedEvent("sample_rate","span")));if(!n){const e=Ag();if(e){const n=gm(this).scope||zh();e.onChildSpanEnded(this,t,e=>this._convertSpanToTransaction(e),n)}return}if(e&&Rg(e))return void e.emit("afterSegmentSpanEnd",this);const r=gm(this).scope||zh(),o=Ag();if(o)o.onSegmentSpanEnded(e=>this._convertSpanToTransaction(e),r);else{const e=this._convertSpanToTransaction();e&&r.captureEvent(e)}}_convertSpanToTransaction(e={}){if(!Pg($m(this)))return;this._name||(Zp&&pf.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");const{scope:t,isolationScope:n}=gm(this),r=t?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(!0!==this._sampled)return;e.onSpanCaptured?.(this);const o=[];for(const l of Jm(this)){if(l===this||Lg(l)||e.isSpanAlreadyCaptured?.(l))continue;const t=$m(l);Pg(t)&&(e.onSpanCaptured?.(l),o.push(t))}const s=this._attributes[Yh];delete this._attributes[sm];let i=!1;
2o.forEach(e=>{delete e.data[sm],e.op?.startsWith("gen_ai.")&&(i=!0)});const a={contexts:{trace:Om(this)},spans:o.length>1e3?o.sort((e,t)=>e.start_timestamp-t.start_timestamp).slice(0,1e3):o,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:n,dynamicSamplingContext:hg(this),hasGenAiSpans:i},request:r,...s&&{transaction_info:{source:s}}},c=Ig(this._events);return c&&Object.keys(c).length&&(Zp&&pf.log("[Measurements] Adding measurements to transaction event",JSON.stringify(c,void 0,2)),a.measurements=c),a}}function Mg(e){return e&&"number"==typeof e||e instanceof Date||Array.isArray(e)}function Pg(e){return!!(e.start_timestamp&&e.timestamp&&e.span_id&&e.trace_id)}function Lg(e){return e instanceof Og&&e.isStandaloneSpan()}function Ng(e){const t=jg();return t.startInactiveSpan?t.startInactiveSpan(e):function(e){const t=function(e){const t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){const n={...t};return n.startTimestamp=Nm(e.startTime),delete n.startTime,n}return t}(e),{forceTransaction:n,parentSpan:r}=e;return(e.scope?t=>Gh(e.scope,t):void 0!==r?e=>Dg(r,e):e=>e())(()=>{const o=zh(),s=function(e,t){if(t)return t;if(null===t)return;const n=Ph(e);if(!n)return;const r=Kh();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?Ym(n):n}(o,r),i=Kh();return e.onlyIfParent&&!s?function(e,t){t?.recordDroppedEvent("no_parent_span","span");const n=new ag({traceId:e.getPropagationContext().traceId});return mm(n,e,Vh()),n}(o,i):function({parentSpan:e,spanArguments:t,forceTransaction:n,scope:r}){const o=Vh();if(!tg()){const t=r.getPropagationContext(),s=e?e.spanContext().traceId:t.traceId,i=new ag({traceId:s});return e&&!n&&Km(e,i),mm(i,r,o),i}const s=Kh();if(function(e,t){const n=e?.getOptions().ignoreSpans;return!!(e&&Rg(e)&&n?.length)&&rg({description:t.name||"",op:t.attributes?.[Zh]||t.op,attributes:t.attributes},n)}(s,t)){$g(r)||s?.recordDroppedEvent("ignored","span");const t=new ag({dropReason:"ignored",traceId:e?.spanContext().traceId??r.getPropagationContext().traceId});return e&&!n&&Km(e,t),mm(t,r,o),t}let i;if(e&&!n)i=function(e,t,n,r){const{spanId:o,traceId:s}=e.spanContext(),i=$g(t),a=!i&&Hm(e),c=a?new Og({...n,parentSpanId:o,traceId:s,sampled:a}):new ag({traceId:s});Km(e,c),mm(c,t,r);const l=Kh();return l?(Rg(l)&&cg(c)&&(cg(e)&&e.dropReason?(c.dropReason=e.dropReason,l.recordDroppedEvent(e.dropReason,"span")):i||(c.dropReason="sample_rate",l.recordDroppedEvent("sample_rate","span"))),l.emit("spanStart",c),n.endTimestamp&&(l.emit("spanEnd",c),l.emit("afterSpanEnd",c)),c):c}(e,r,t,o),Km(e,i);else if(e){const n=hg(e),{traceId:s,spanId:a}=e.spanContext(),c=Hm(e);i=Fg({traceId:s,parentSpanId:a,...t},r,o,c),dg(i,n)}else{const{traceId:e,dsc:n,parentSpanId:s,sampled:a}=r.getPropagationContext();i=Fg({traceId:e,parentSpanId:s,...t},r,o,a),n&&dg(i,n)}return function(e){if(!Zp)return;const{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:r}=$m(e),{spanId:o}=e.spanContext(),s=Hm(e),i=Ym(e),a=i===e,c=`[Tracing] Starting ${s?"sampled":"unsampled"} ${a?"root ":""}span`,l=[`op: ${n}`,`name: ${t}`,`ID: ${o}`];if(r&&l.push(`parent ID: ${r}`),!a){const{op:e,description:t}=$m(i);l.push(`root ID: ${i.spanContext().spanId}`),e&&l.push(`root op: ${e}`),t&&l.push(`root description: ${t}`)}pf.log(`${c}\n ${l.join("\n ")}`)}(i),i}({parentSpan:s,spanArguments:t,forceTransaction:n,scope:o})})}(e)}function Dg(e,t){const n=jg();return n.withActiveSpan?n.withActiveSpan(e,t):Gh(n=>(Mh(n,e||void 0),t(n)))}function $g(e=zh()){const t=jg();return t.isTracingSuppressed?t.isTracingSuppressed(e):!0===e.getScopeData().sdkProcessingMetadata.__SENTRY_SUPPRESS_TRACING__}function jg(){return Hh(nf())}function Fg(e,t,n,r){const o=Kh(),s=o?.getOptions()||{},{name:i=""}=e,a={spanAttributes:{...e.attributes},spanName:i,parentSampled:r};o?.emit("beforeSampling",a,{decision:!1});const c=a.parentSampled??r,l=a.spanAttributes,u=t.getPropagationContext(),d=$g(t),[p,f,h]=d?[!1]:function(e,t,n){if(!tg(e))return[!1];let r,o;"function"==typeof e.tracesSampler?(o=e.tracesSampler({...t,inheritOrSampleWith:e=>"number"==typeof t.parentSampleRate?t.parentSampleRate:"boolean"==typeof t.parentSampled?Number(t.parentSampled):e}),r=!0):void 0!==t.parentSampled?o=t.parentSampled:void 0!==e.tracesSampleRate&&(o=e.tracesSampleRate,r=!0);const s=Tm(o);if(void 0===s)return Zp&&pf.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(o)} of type ${JSON.stringify(typeof o)}.`),[!1];if(!s)return Zp&&pf.log("[Tracing] Discarding transaction because "+("function"==typeof e.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0")),[!1,s,r];const i=n<s;return i||Zp&&pf.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(o)})`),[i,s,r]}(s,{name:i,parentSampled:c,attributes:l,normalizedRequest:n.getScopeData().sdkProcessingMetadata.normalizedRequest,parentSampleRate:Tm(u.dsc?.sample_rate)},u.sampleRand),m=new Og({...e,attributes:{[Yh]:"custom",[Xh]:void 0!==f&&h?f:void 0,...l},sampled:p});return p||!o||d||(Zp&&pf.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),o.recordDroppedEvent("sample_rate",Rg(o)?"span":"transaction")),mm(m,t,n),o&&o.emit("spanStart",m),m}function Bg(e){return cg(e)&&"ignored"===e.dropReason}const Ug={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};function Hg(e,t={}){const n=new Map;let r,o,s=!1,i="externalFinish",a=!t.disableAutoFinish;const c=[],{idleTimeout:l=Ug.idleTimeout,finalTimeout:u=Ug.finalTimeout,childSpanTimeout:d=Ug.childSpanTimeout,beforeSpanEnd:p,trimIdleSpanEndTimestamp:f=!0}=t,h=Kh(),m=zh();if(!h||!tg()){const e=new ag({traceId:m.getPropagationContext().traceId});return mm(e,m,Vh()),e}const g=Qm(),y=function(e){const t=Ng(e);
2return Mh(zh(),t),Zp&&pf.log("[Tracing] Started span is an idle span"),t}(e);function v(){r&&(clearTimeout(r),r=void 0)}function _(){o&&(clearTimeout(o),o=void 0)}function b(e){v(),r=setTimeout(()=>{!s&&0===n.size&&a&&(i="idleTimeout",y.end(e))},l)}function w(e){_(),o=setTimeout(()=>{!s&&a&&(i="heartbeatFailed",y.end(e))},d)}function S(e){s=!0,n.clear(),c.forEach(e=>e()),Mh(m,g);const t=$m(y),{start_timestamp:r}=t;if(!r)return;t.data[nm]||y.setAttribute(nm,i);const o=t.status;o&&"unknown"!==o||y.setStatus({code:1}),pf.log(`[Tracing] Idle span "${t.op}" finished`);const a=Jm(y).filter(e=>e!==y);let d=0;a.forEach(t=>{t.isRecording()&&(t.setStatus({code:2,message:"cancelled"}),t.end(e),Zp&&pf.log("[Tracing] Cancelling span since span ended early",JSON.stringify(t,void 0,2)));const n=$m(t),{timestamp:r=0,start_timestamp:o=0}=n,s=o<=e,i=r-o<=(u+l)/1e3;if(Zp){const e=JSON.stringify(t,void 0,2);s?i||pf.log("[Tracing] Discarding span since it finished after idle span final timeout",e):pf.log("[Tracing] Discarding span since it happened after idle span was finished",e)}i&&s||(function(e,t){e[Vm]&&e[Vm].delete(t)}(y,t),d++)}),d>0&&y.setAttribute("sentry.idle_span_discarded_spans",d)}return y.end=new Proxy(y.end,{apply(e,t,n){if(p&&p(y),cg(t))return;const[r,...o]=n,s=Nm(r||Sh()),i=Jm(y).filter(e=>e!==y),a=$m(y);if(!i.length||!f)return S(s),Reflect.apply(e,t,[s,...o]);const c=h.getOptions().ignoreSpans,l=i?.reduce((e,t)=>{const n=$m(t);return n.timestamp?c&&rg({description:n.description,op:n.op,attributes:n.data},c)?e:e?Math.max(e,n.timestamp):n.timestamp:e},void 0),d=a.start_timestamp,m=Math.min(d?d+u/1e3:1/0,Math.max(d||-1/0,Math.min(s,l||1/0)));return S(m),Reflect.apply(e,t,[m,...o])}}),c.push(h.on("spanStart",e=>{var t;s||e===y||$m(e).timestamp||e instanceof Og&&e.isStandaloneSpan()||Jm(y).includes(e)&&(t=e.spanContext().spanId,v(),n.set(t,!0),w(Sh()+d/1e3))})),c.push(h.on("spanEnd",e=>{var t;s||(t=e.spanContext().spanId,n.has(t)&&n.delete(t),0===n.size&&(b(Sh()+l/1e3),_()))})),c.push(h.on("idleSpanEnableAutoFinish",e=>{e===y&&(a=!0,b(),n.size&&w())})),t.disableAutoFinish||b(),setTimeout(()=>{s||(y.setStatus({code:2,message:"deadline_exceeded"}),i="finalTimeout",y.end())},u),y}function Wg(e,t){const{extra:n,tags:r,attributes:o,user:s,contexts:i,level:a,sdkProcessingMetadata:c,breadcrumbs:l,fingerprint:u,eventProcessors:d,attachments:p,propagationContext:f,transactionName:h,span:m}=t;qg(e,"extra",n),qg(e,"tags",r),qg(e,"attributes",o),qg(e,"user",s),qg(e,"contexts",i),e.sdkProcessingMetadata=Th(e.sdkProcessingMetadata,c,2),a&&(e.level=a),h&&(e.transactionName=h),m&&(e.span=m),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),u.length&&(e.fingerprint=[...e.fingerprint,...u]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),p.length&&(e.attachments=[...e.attachments,...p]),e.propagationContext={...e.propagationContext,...f}}function qg(e,t,n){e[t]=Th(e[t],n,1)}function zg(e,t){const n=of("globalScope",()=>new Lh).getScopeData();return e&&Wg(n,e.getScopeData()),t&&Wg(n,t.getScopeData()),n}const Vg="http.url",Gg="sentry.segment.name",Kg="sentry.transaction",Jg="url.full",Yg="url.path",Xg="user_agent.original";function Qg(e,t){const n=e.attributes??(e.attributes={});Object.entries(t).forEach(([e,t])=>{null==t||e in n||(n[e]=t)})}function Zg(e){return new ty(t=>{t(e)})}function ey(e){return new ty((t,n)=>{n(e)})}class ty{constructor(e){this._state=0,this._handlers=[],this._runExecutor(e)}then(e,t){return new ty((n,r)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(hC){r(hC)}else n(t)},e=>{if(t)try{n(t(e))}catch(hC){r(hC)}else r(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new ty((t,n)=>{let r,o;return this.then(t=>{o=!1,r=t,e&&e()},t=>{o=!0,r=t,e&&e()}).then(()=>{o?n(r):t(r)})})}_executeHandlers(){if(0===this._state)return;const e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(1===this._state&&e[1](this._value),2===this._state&&e[2](this._value),e[0]=!0)})}_runExecutor(e){const t=(e,t)=>{0===this._state&&(Wf(t)?t.then(n,r):(this._state=e,this._value=t,this._executeHandlers()))},n=e=>{t(1,e)},r=e=>{t(2,e)};try{e(n,r)}catch(hC){r(hC)}}}function ny(e,t,n,r=0){try{const o=ry(t,n,e,r);return Wf(o)?o:Zg(o)}catch(o){return ey(o)}}function ry(e,t,n,r){const o=n[r];if(!e||!o)return e;const s=o({...e},t);return Zp&&null===s&&pf.log(`Event processor "${o.id||"?"}" dropped event`),Wf(s)?s.then(e=>ry(e,t,n,r+1)):ry(s,t,n,r+1)}let oy,sy,iy,ay;function cy(e,t,n,r,o,s){const{normalizeDepth:i=3,normalizeMaxBreadth:a=1e3}=e,c={...t,event_id:t.event_id||n.event_id||mh(),timestamp:t.timestamp||wh()},l=n.integrations||e.integrations.map(e=>e.name);!function(e,t){const{environment:n,release:r,dist:o,maxValueLength:s}=t;e.environment=e.environment||n||lg,!e.release&&r&&(e.release=r),!e.dist&&o&&(e.dist=o);const i=e.request;i?.url&&s&&(i.url=dh(i.url,s)),s&&e.exception?.values?.forEach(e
vendor: 2,101 bytes, line 2
2=>{e.value&&(e.value=dh(e.value,s))})}(c,e),function(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}(c,l),o&&o.emit("applyFrameMetadata",t),void 0===t.type&&function(e,t){const n=function(e){const t=ef._sentryDebugIds,n=ef._debugIds;if(!t&&!n)return{};const r=t?Object.keys(t):[],o=n?Object.keys(n):[];if(ay&&r.length===sy&&o.length===iy)return ay;sy=r.length,iy=o.length,ay={},oy||(oy={});const s=(t,n)=>{for(const r of t){const t=n[r],o=oy?.[r];if(o&&ay&&t)ay[o[0]]=t,oy&&(oy[r]=[o[0],t]);else if(t){const n=e(r);for(let e=n.length-1;e>=0;e--){const o=n[e],s=o?.filename;if(s&&ay&&oy){ay[s]=t,oy[r]=[s,t];break}}}}};return t&&s(r,t),n&&s(o,n),ay}(t);e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=n[e.filename])})})}(c,e.stackParser);const u=function(e,t){if(!t)return e;const n=e?e.clone():new Lh;return n.update(t),n}(r,n.captureContext);n.mechanism&&_h(c,n.mechanism);const d=o?o.getEventProcessors():[],p=zg(s,u),f=[...n.attachments||[],...p.attachments];f.length&&(n.attachments=f),function(e,t){const{fingerprint:n,span:r,breadcrumbs:o,sdkProcessingMetadata:s}=t;!function(e,t){const{extra:n,tags:r,user:o,contexts:s,level:i,transactionName:a}=t;Object.keys(n).length&&(e.extra={...n,...e.extra}),Object.keys(r).length&&(e.tags={...r,...e.tags}),Object.keys(o).length&&(e.user={...o,...e.user}),Object.keys(s).length&&(e.contexts={...s,...e.contexts}),i&&(e.level=i),a&&"transaction"!==e.type&&(e.transaction=a)}(e,t),r&&function(e,t){e.contexts={trace:Mm(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:hg(t),...e.sdkProcessingMetadata};const n=$m(Ym(t)).description;n&&!e.transaction&&"transaction"===e.type&&(e.transaction=n)}(e,r),function(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint.length||delete e.fingerprint}(e,n),function(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(e,o),function(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}
2(e,s)}(c,p);const h=[...d,...p.eventProcessors];return(n.data&&!0===n.data.__sentry__?Zg(c):ny(h,c,n)).then(e=>(e&&function(e){const t={};if(e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})}),0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{n.push({type:"sourcemap",code_file:e,debug_id:t})})}(e),"number"==typeof i&&i>0?function(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:ah(e.data,t,n)}}))},...e.user&&{user:ah(e.user,t,n)},...e.contexts&&{contexts:ah(e.contexts,t,n)},...e.extra&&{extra:ah(e.extra,t,n)}};return e.contexts?.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=ah(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(e=>({...e,...e.data&&{data:ah(e.data,t,n)}}))),e.contexts?.flags&&r.contexts&&(r.contexts.flags=ah(e.contexts.flags,3,n)),r}(e,i,a):e))}const ly=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function uy(e,t){return zh().captureException(e,function(e){if(e)return function(e){return e instanceof Lh||"function"==typeof e}(e)||function(e){return Object.keys(e).some(e=>ly.includes(e))}(e)?{captureContext:e}:e}(t))}function dy(e,t){return zh().captureEvent(e,t)}function py(e){const t=Vh(),{user:n}=zg(t,zh()),{userAgent:r}=ef.navigator||{},o=function(e){const t=Sh(),n={sid:mh(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return{sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${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}}}(n)};return e&&xh(n,e),n}({user:n,...r&&{userAgent:r},...e}),s=t.getSession();return"ok"===s?.status&&xh(s,{status:"exited"}),fy(),t.setSession(o),o}function fy(){const e=Vh(),t=zh().getSession()||e.getSession();t&&function(e){let t={};"ok"===e.status&&(t={status:"exited"}),xh(e,t)}(t),hy(),e.setSession()}function hy(){const e=Vh(),t=Kh(),n=e.getSession();n&&t&&t.captureSession(n)}function my(e=!1){e?fy():hy()}function gy(e){return"object"==typeof e&&"function"==typeof e.unref&&e.unref(),e}const yy=[];function vy(e){const t=e.defaultIntegrations||[],n=e.integrations;let r;if(t.forEach(e=>{e.isDefaultInstance=!0}),Array.isArray(n))r=[...t,...n];else if("function"==typeof n){const e=n(t);r=Array.isArray(e)?e:[e]}else r=t;return function(e){const t={};return e.forEach(e=>{const{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)}),Object.values(t)}(r)}function _y(e,t){for(const n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function by(e,t,n){if(n[t.name])Zp&&pf.log(`Integration skipped because it was already installed: ${t.name}`);else{if(n[t.name]=t,yy.includes(t.name)||"function"!=typeof t.setupOnce||(t.setupOnce(),yy.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){const n=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,r)=>n(t,r,e))}if("function"==typeof t.processEvent){const n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}["processSpan","processSegmentSpan"].forEach(n=>{const r=t[n];"function"==typeof r&&e.on(n,n=>r.call(t,n,e))}),Zp&&pf.log(`Integration installed: ${t.name}`)}}let wy,Sy=0;const ky={trace:1,debug:5,info:9,warn:13,error:17,fatal:21};function Ey(){return"undefined"!=typeof window&&(!(("undefined"==typeof __SENTRY_BROWSER_BUNDLE__||!__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0))||function(){const e=ef.process;return"renderer"===e?.type}())}function xy(e,t){const n=t?"auto":"never";return[{type:"log",item_count:e.length,content_type:"application/vnd.sentry.items.log+json"},{version:2,...Ey()&&{ingest_settings:{infer_ip:n,infer_user_agent:n}},items:e}]}function Ty(e,t,n,r=!0){!n||e[t]&&!r||(e[t]=n)}function Cy(e,t){const n=Oy(),r=Ry(e);void 0===r?n.set(e,[t]):r.length>=100?(Ay(e,r),n.set(e,[t])):n.set(e,[...r,t])}function Iy(e,t=zh(),n=Cy){const r=t?.getClient()??Kh();if(!r)return void(Zp&&pf.warn("No client available to capture log."));const{release:o,environment:s,enableLogs:i=!0,beforeSendLog:a}=r.getOptions();if(!i)return void(Zp&&pf.warn("logging option not enabled, log will not be captured."));const[,c]=function(e,t){return t?Gh(t,()=>{const n=Qm(),r=n?Mm(n):Jh(t);return[n?hg(n):fg(e,t),r]}):[void 0,void 0]}(r,t),l={...e.attributes},{user:{id:u,email:d,username:p},attributes:f={}}=zg(Vh(),t);Ty(l,"user.id",u,!1),Ty(l,"user.email",d,!1),Ty(l,"user.name",p,!1),Ty(l,"sentry.release",o),Ty(l,"sentry.environment",s);const{name:h,version:m}=r.getSdkMetadata()?.sdk??{};Ty(l,"sentry.sdk.name",h),Ty(l,"sentry.sdk.version",m);const g=r.getIntegrationByName("Replay"),y=g?.getReplayId(!0);Ty(l,"sentry.replay_id",y),y&&"buffer"===g?.getRecordingMode()&&Ty(l,"sentry._internal.replay_is_buffering",!0);const v=e.message;
2if(jf(v)){const{__sentry_template_string__:e,__sentry_template_values__:t=[]}=v;t?.length&&(l["sentry.message.template"]=e),t.forEach((e,t)=>{l[`sentry.message.parameter.${t}`]=e})}const _=Ph(t);Ty(l,"sentry.trace.parent_span_id",_?.spanContext().spanId);const b={...e,attributes:l};r.emit("beforeCaptureLog",b);const w=a?cf(()=>a(b)):b;if(!w)return r.recordDroppedEvent("before_send","log_item",1),void(Zp&&pf.warn("beforeSendLog returned null, log will not be captured."));const{level:S,message:k,attributes:E={},severityNumber:x}=w,T=Sh(),C=function(e){const t=Math.floor(1e3*e);void 0!==wy&&t!==wy&&(Sy=0);const n=Sy;return Sy++,wy=t,{key:"sentry.timestamp.sequence",value:{value:n,type:"integer"}}}(T);n(r,{timestamp:T,level:S,body:Py(String(k)),trace_id:c?.trace_id,severity_number:x??ky[S],attributes:My({...qh(f),...qh(E,!0),[C.key]:C.value})}),r.emit("afterCaptureLog",w)}function Ay(e,t){const n=t??Ry(e)??[];if(0===n.length)return;const r=e.getOptions(),o=function(e,t,n,r,o){const s={};return t?.sdk&&(s.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(s.dsn=km(r)),gg(s,[xy(e,o)])}(n,r._metadata,r.tunnel,e.getDsn(),e.getDataCollectionOptions().userInfo);Oy().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(o)}function Ry(e){return Oy().get(e)}function Oy(){return of("clientToLogBufferMap",()=>new WeakMap)}function My(e){const t={};for(const[n,r]of Object.entries(e)){const e=Py(n);"string"===r.type?t[e]={...r,value:Py(r.value)}:t[e]=r}return t}function Py(e){const t=Object(e),n=t.isWellFormed,r=t.toWellFormed;return"function"==typeof n&&"function"==typeof r?n.call(e)?e:r.call(e):e}function Ly(e,t){const n=t?"auto":"never";return[{type:"trace_metric",item_count:e.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{version:2,...Ey()&&{ingest_settings:{infer_ip:n,infer_user_agent:n}},items:e}]}function Ny(e,t){const n=t??function(e){return Dy().get(e)}(e)??[];if(0===n.length)return;const r=e.getOptions(),o=function(e,t,n,r,o){const s={};return t?.sdk&&(s.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(s.dsn=km(r)),gg(s,[Ly(e,o)])}(n,r._metadata,r.tunnel,e.getDsn(),e.getDataCollectionOptions().userInfo);Dy().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(o)}function Dy(){return of("clientToMetricBufferMap",()=>new WeakMap)}function $y(e){return t={trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,name:e.description||"",start_timestamp:e.start_timestamp,end_timestamp:e.timestamp||e.start_timestamp,status:e.status&&"ok"!==e.status&&"cancelled"!==e.status?"error":"ok",is_segment:!1,attributes:{...e.data},links:e.links},{...t,attributes:qh(t.attributes),links:t.links?.map(e=>({...e,attributes:qh(e.attributes)}))};var t}const jy=Symbol.for("SentryBufferFullError");function Fy(e=100){const t=new Set;function n(e){t.delete(e)}return{get $(){return Array.from(t)},add:function(r){if(!(t.size<e))return ey(jy);const o=r();return t.add(o),o.then(()=>n(o),()=>n(o)),o},drain:function(e){if(!t.size)return Zg(!0);const n=Promise.allSettled(Array.from(t)).then(()=>!0);if(!e)return n;const r=[n,new Promise(t=>gy(setTimeout(()=>t(!1),e)))];return Promise.race(r)}}}function By(e,t,n=th()){return function(e,t){return e[t]||e.all||0}(e,t)>n}function Uy(e,{statusCode:t,headers:n},r=th()){const o={...e},s=n?.["x-sentry-rate-limits"],i=n?.["retry-after"];if(s)for(const a of s.trim().split(",")){const[e,t,,,n]=a.split(":",5),s=parseInt(e,10),i=1e3*(isNaN(s)?60:s);if(t)for(const a of t.split(";"))"metric_bucket"===a&&n&&!n.split(";").includes("custom")||(o[a]=r+i);else o.all=r+i}else i?o.all=r+function(e,t=th()){const n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;const r=Date.parse(`${e}`);return isNaN(r)?6e4:r-t}(i,r):429===t&&(o.all=r+6e4);return o}function Hy(e){const t=[];e.message&&t.push(e.message);try{const n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}const Wy=["forwarded","-ip","remote-","via","-user"],qy=["auth","token","secret","session","password","passwd","pwd","key","jwt","bearer","sso","saml","csrf","xsrf","credentials","sid","identity","set-cookie","cookie"],zy={userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0}
2,databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:5};function Vy(e,t){return void 0===e?{...t.httpHeaders}:"boolean"==typeof(n=e)||"allow"in n||"deny"in n?{request:e,response:e}:{request:e.request??t.httpHeaders.request,response:e.response??t.httpHeaders.response};var n}const Gy="Not capturing exception because it's already been captured.",Ky="Discarded session because of missing or non-string release",Jy=Symbol.for("SentryInternalError"),Yy=Symbol.for("SentryDoNotSendEventError");function Xy(e){return{message:e,[Jy]:!0}}function Qy(e){return{message:e,[Yy]:!0}}function Zy(e){return Uf(e)&&Jy in e}function ev(e){return Uf(e)&&Yy in e}function tv(e,t,n,r,o){let s,i=0,a=!1;e.on(n,()=>{i=0,clearTimeout(s),a=!1}),e.on(t,t=>{if(i+=r(t),i>=8e5)o(e);else if(!a){const t=e.getOptions()._flushInterval??5e3;t>0&&(a=!0,s=gy(setTimeout(()=>{o(e)},t)))}}),e.on("flush",()=>{o(e)})}class nv{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=Fy(e.transportOptions?.bufferSize??64),this._dataCollection=function(e){const t=null!=e.dataCollection?zy:!0===e.sendDefaultPii?{userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0},databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:7}:{userInfo:!1,cookies:{deny:Wy},httpHeaders:{request:{deny:Wy},response:{deny:Wy}},httpBodies:[],urlQueryParams:{deny:Wy},graphQL:{document:!0,variables:!0},genAI:{inputs:!1,outputs:!1},databaseQueryData:!1,stackFrameVariables:!0,frameContextLines:7},n=e.dataCollection??{};return{userInfo:n.userInfo??t.userInfo,cookies:n.cookies??t.cookies,httpHeaders:Vy(n.httpHeaders,t),httpBodies:n.httpBodies??t.httpBodies,urlQueryParams:n.urlQueryParams??n.queryParams??t.urlQueryParams,graphQL:{document:n.graphQL?.document??t.graphQL.document,variables:n.graphQL?.variables??t.graphQL.variables},genAI:{inputs:n.genAI?.inputs??t.genAI.inputs,outputs:n.genAI?.outputs??t.genAI.outputs},databaseQueryData:n.databaseQueryData??t.databaseQueryData,stackFrameVariables:n.stackFrameVariables??t.stackFrameVariables,frameContextLines:n.frameContextLines??t.frameContextLines}}(e),e.dsn?this._dsn=function(e){const t="string"==typeof e?function(e){const t=Sm.exec(e);if(!t)return void cf(()=>{});const[n,r,o="",s="",i="",a=""]=t.slice(1);let c="",l=a;const u=l.split("/");if(u.length>1&&(c=u.slice(0,-1).join("/"),l=u.pop()),l){const e=l.match(/^\d+/);e&&(l=e[0])}return Em({host:s,pass:o,path:c,projectId:l,port:i,protocol:n,publicKey:r})}(e):Em(e);if(t&&function(e){if(!Zp)return!0;const{port:t,projectId:n,protocol:r}=e;return!(["protocol","publicKey","host","projectId"].find(t=>!e[t]&&(pf.error(`Invalid Sentry Dsn: ${t} missing`),!0))||(n.match(/^\d+$/)?function(e){return"http"===e||"https"===e}(r)?t&&isNaN(parseInt(t,10))&&(pf.error(`Invalid Sentry Dsn: Invalid port ${t}`),1):(pf.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),1):(pf.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),1)))}(t))return t}(e.dsn):Zp&&pf.warn("No DSN provided, client will not send events."),this._dsn){const o=(t=this._dsn,n=e.tunnel,r=e._metadata?e._metadata.sdk:void 0,n||`${function(e){return`${function(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}(e)}${e.projectId}/envelope/`}(t)}?${function(e,t){const n={sentry_version:"7"};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}(t,r)}`);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:o})}var t,n,r;this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs??!0,this._options.enableLogs&&tv(this,"afterCaptureLog","flushLogs",av,Ay),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&tv(this,"afterCaptureMetric","flushMetrics",iv,Ny)}captureException(e,t,n){const r=mh();if(bh(e))return Zp&&pf.log(Gy),r;const o={event_id:r,...t};return this._process(()=>this.eventFromException(e,o).then(e=>this._captureEvent(e,o,n)).then(e=>e),"error"),o.event_id}captureMessage(e,t,n,r){const o={event_id:mh(),...n},s=jf(e)?e:String(e),i=Ff(e),a=i?this.eventFromMessage(s,t,o):this.eventFromException(e,o);return this._process(()=>a.then(e=>this._captureEvent(e,o,r)),i?"unknown":"error"),o.event_id}captureEvent(e,t,n){const r=mh();if(t?.originalException&&bh(t.originalException))return Zp&&pf.log(Gy),r;const o={event_id:r,...t},s=e.sdkProcessingMetadata||{},i=s.capturedSpanScope,a=s.capturedSpanIsolationScope,c=rv(e.type);return this._process(()=>this._captureEvent(e,o,i||n,a),c),o.event_id}captureSession(e){this.sendSession(e),xh(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getDataCollectionOptions(){return this._dataCollection}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){const t=this._transport;
2if(this.emit("flush"),!t)return!0;const n=await this._isClientDoneProcessing(e),r=await t.flush(e);return n&&r}async close(e){const t=await this.flush(e);return this.getOptions().enabled=!1,this.emit("close"),t}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}getIntegrationNames(){return Object.keys(this._integrations)}addIntegration(e){const t=this._integrations[e.name];!t&&e.beforeSetup&&e.beforeSetup(this),by(this,e,this._integrations),t||_y(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);const n=function(e,t){if("transaction"!==e.type||!e.spans?.length||!e.sdkProcessingMetadata?.hasGenAiSpans||!1===t.getOptions().streamGenAiSpans||Rg(t))return;const n=[],r=[];for(const s of e.spans)s.op?.startsWith("gen_ai.")?n.push($y(s)):r.push(s);if(0===n.length)return;e.spans=r;const o=t.getDataCollectionOptions().userInfo?"auto":"never";return[{type:"span",item_count:n.length,content_type:"application/vnd.sentry.items.span.v2+json"},{version:2,...Ey()&&{ingest_settings:{infer_ip:o,infer_user_agent:o}},items:n}]}(e,this);let r=function(e,t,n,r){const o=xg(n),s=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){if(!t)return e;const n=e.sdk||{};e.sdk={...n,name:n.name||t.name,version:n.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0}}(e,n?.sdk);const i=Tg(e,o,r,t);return delete e.sdkProcessingMetadata,gg(i,[[{type:s},e]])}(e,this._dsn,this._options._metadata,this._options.tunnel);for(const o of t.attachments||[])r=yg(r,Sg(o));n&&(r=yg(r,n)),this.sendEnvelope(r).then(t=>this.emit("afterSendEvent",e,t))}sendSession(e){const{release:t,environment:n=lg}=this._options;if("aggregates"in e){const r=e.attrs||{};if(!r.release&&!t)return void(Zp&&pf.warn(Ky));r.release=r.release||t,r.environment=r.environment||n,e.attrs=r}else{if(!e.release&&!t)return void(Zp&&pf.warn(Ky));e.release=e.release||t,e.environment=e.environment||n}this.emit("beforeSendSession",e);const r=function(e,t,n,r){const o=xg(n);return gg({sent_at:new Date(th()).toISOString(),...o&&{sdk:o},...!!r&&t&&{dsn:km(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(e,t,n=1){if(this._options.sendClientReports){const r=`${e}:${t}`;Zp&&pf.log(`Recording outcome: "${r}"${n>1?` (${n} times)`:""}`),this._outcomes[r]=(this._outcomes[r]||0)+n}}on(e,t){const n=this._hooks[e]=this._hooks[e]||new Set,r=(...e)=>t(...e);return n.add(r),()=>{n.delete(r)}}emit(e,...t){const n=this._hooks[e];n&&n.forEach(e=>e(...t))}async sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(t){return Zp&&pf.error("Error while sending envelope:",t),{}}return Zp&&pf.error("Transport disabled"),{}}registerCleanup(e){}dispose(){}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=function(e,t){const n={};return t.forEach(t=>{t?.beforeSetup&&t.beforeSetup(e)}),t.forEach(t=>{t&&by(e,t,n)}),n}(this,e),_y(this,e)}_updateSessionFromEvent(e,t){let n="fatal"===t.level,r=!1;const o=t.exception?.values;if(o){r=!0,n=!1;for(const e of o)if(!1===e.mechanism?.handled){n=!0;break}}const s="ok"===e.status;(s&&0===e.errors||s&&n)&&(xh(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}async _isClientDoneProcessing(e){let t=0;for(;!e||t<e;){if(await new Promise(e=>setTimeout(e,1)),!this._numProcessing)return!0;t++}return!1}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,r){const o=this.getOptions(),s=this.getIntegrationNames();return!t.integrations&&s.length&&(t.integrations=s),this.emit("preprocessEvent",e,t),e.type||r.setLastEventId(e.event_id||t.event_id),cy(o,e,t,n,this,r).then(e=>{if(null===e)return e;
2this.emit("postprocessEvent",e,t),e.contexts={trace:{...e.contexts?.trace,...Jh(n)},...e.contexts};const r=fg(this,n);return e.sdkProcessingMetadata={dynamicSamplingContext:r,...e.sdkProcessingMetadata},e})}_captureEvent(e,t={},n=zh(),r=Vh()){return Zp&&ov(e)&&pf.log(`Captured error event \`${Hy(e)[0]||"<unknown>"}\``),this._processEvent(e,t,n,r).then(e=>e.event_id,e=>{Zp&&(ev(e)?pf.log(e.message):Zy(e)?pf.warn(e.message):pf.warn(e))})}_processEvent(e,t,n,r){const o=this.getOptions(),{sampleRate:s}=o,i=sv(e),a=ov(e),c=`before send for type \`${e.type||"error"}\``,l=void 0===s?void 0:Tm(s),u=rv(e.type);return this._prepareEvent(e,t,n,r).then(e=>{if(null===e)throw this.recordDroppedEvent("event_processor",u),Qy("An event processor returned `null`, will not send event.");if(!0===t.data?.__sentry__)return e;const n=function(e,t,n,r){const{beforeSend:o,beforeSendTransaction:s,ignoreSpans:i}=t,a=!mg(t.beforeSendSpan)&&t.beforeSendSpan;let c=n;if(ov(c)&&o)return o(c,r);if(sv(c)){if(a||i){const t=function(e){const{trace_id:t,parent_span_id:n,span_id:r,status:o,origin:s,data:i,op:a}=e.contexts?.trace??{};return{data:i??{},description:e.transaction,op:a,parent_span_id:n,span_id:r??"",start_timestamp:e.start_timestamp??0,status:o,timestamp:e.timestamp,trace_id:t??"",origin:s,profile_id:i?.[im],exclusive_time:i?.[am],measurements:e.measurements,is_segment:!0}}(c);if(i?.length&&rg({description:t.description,op:t.op,attributes:t.data},i))return null;if(a){const e=a(t);e?c=Th(n,{type:"transaction",timestamp:(l=e).timestamp,start_timestamp:l.start_timestamp,transaction:l.description,contexts:{trace:{trace_id:l.trace_id,span_id:l.span_id,parent_span_id:l.parent_span_id,op:l.op,status:l.status,origin:l.origin,data:{...l.data,...l.profile_id&&{[im]:l.profile_id},...l.exclusive_time&&{[am]:l.exclusive_time}}}},measurements:l.measurements}):Zm()}if(c.spans){const t=[],n=c.spans;for(const e of n)if(i?.length&&rg({description:e.description,op:e.op,attributes:e.data},i))og(n,e);else if(a){const n=a(e);n?t.push(n):(Zm(),t.push(e))}else t.push(e);const r=c.spans.length-t.length;r&&e.recordDroppedEvent("before_send","span",r),c.spans=t}}if(s){if(c.spans){const e=c.spans.length;c.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return s(c,r)}}var l;return c}(this,o,e,t);return function(e,t){const n=`${t} must return \`null\` or a valid event.`;if(Wf(e))return e.then(e=>{if(!Bf(e)&&null!==e)throw Xy(n);return e},e=>{throw Xy(`${t} rejected with ${e}`)});if(!Bf(e)&&null!==e)throw Xy(n);return e}(n,c)}).then(o=>{if(null===o){if(this.recordDroppedEvent("before_send",u),i){const t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw Qy(`${c} returned \`null\`, will not send event.`)}const d=n.getSession()||r.getSession();if(a&&d&&this._updateSessionFromEvent(d,o),a&&"number"==typeof l&&eh()>l)throw this.recordDroppedEvent("sample_rate","error"),Qy(`Discarding event because it's not included in the random sample (sampling rate = ${s})`);if(i){const e=(o.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(o.spans?o.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}const p=o.transaction_info;if(i&&p&&o.transaction!==e.transaction){const e="custom";o.transaction_info={...p,source:e}}return this.sendEvent(o,t),o}).then(null,e=>{if(ev(e)||Zy(e))throw e;throw this.captureException(e,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:e}),Xy(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`)})}_process(e,t){this._numProcessing++,this._promiseBuffer.add(e).then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e===jy&&this.recordDroppedEvent("queue_overflow",t),e))}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{const[n,r]=e.split(":");return{reason:n,category:r,quantity:t}})}_flushOutcomes(){Zp&&pf.log("Flushing outcomes...");const e=this._clearOutcomes();if(0===e.length)return void(Zp&&pf.log("No outcomes to send"));if(!this._dsn)return void(Zp&&pf.log("No dsn provided, will not send outcomes"));Zp&&pf.log("Sending outcomes:",e);const t=(n=e,gg((r=this._options.tunnel&&km(this._dsn))?{dsn:r}:{},[[{type:"client_report"},{timestamp:wh(),discarded_events:n}]]));var n,r;this.sendEnvelope(t)}}function rv(e){return"replay_event"===e?"replay":e||"error"}function ov(e){return void 0===e.type}function sv(e){return"transaction"===e.type}function iv(e){let t=0;return e.name&&(t+=2*e.name.length),t+=8,t+cv(e.attributes)}function av(e){let t=0;return e.message&&(t+=2*e.message.length),t+cv(e.attributes)}function cv(e){if(!e)return 0;let t=0;
2return Object.values(e).forEach(e=>{Array.isArray(e)?t+=e.length*lv(e[0]):Ff(e)?t+=lv(e):t+=100}),t}function lv(e){return"string"==typeof e?2*e.length:"number"==typeof e?8:"boolean"==typeof e?4:0}function uv(e,t){if(e&&!1!==t)return e.split("&").map(e=>{const n=e.indexOf("="),r=-1===n?e:e.slice(0,n),o=new URLSearchParams(`${r}=`).keys().next().value;return void 0!==o&&function(e,t){if(!1===t)return!0;const n=e.toLowerCase();if(r=n,qy.some(e=>r.includes(e)))return!0;var r;if(!0===t)return!1;const o=("deny"in t?t.deny:t.allow).some(e=>n.includes(e.toLowerCase()));return"deny"in t?o:!o}(o,t)?`${r}=[Filtered]`:e}).join("&")}function dv(e){return(e??Kh())?.getDataCollectionOptions().urlQueryParams??!0}function pv(e,t){return void 0===e?void 0:function(e,t){const n=e.indexOf("#"),r=-1===n?e.length:n,o=e.indexOf("?");if(-1===o||o>r)return e;const s=e.slice(0,o),i=e.slice(o+1,r),a=e.slice(r),c=uv(i,t);return c?`${s}?${c}${a}`:`${s}${a}`}(e,dv(t))}function fv(e,t){if(!e)return e;const n=e.startsWith("?"),r=uv(n?e.slice(1):e,dv(t));return r&&n?`?${r}`:r}function hv(e){return"isRelative"in e}function mv(e,t){const n=e.indexOf("://")<=0&&0!==e.indexOf("//"),r=n?"thismessage:/":void 0;try{if("canParse"in URL&&!URL.canParse(e,r))return;const t=new URL(e,r);return n?{isRelative:n,pathname:t.pathname,search:t.search,hash:t.hash}:t}catch{}}function gv(e){if(hv(e))return e.pathname;const t=new URL(e);return t.search="",t.hash="",["80","443"].includes(t.port)&&(t.port=""),t.password&&(t.password="%filtered%"),t.username&&(t.username="%filtered%"),t.toString()}function yv(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function vv(e,t=!0){if(e.startsWith("data:")){const n=e.match(/^data:([^;,]+)/),r=n?n[1]:"text/plain",o=e.includes(";base64,"),s=e.indexOf(",");let i="";if(t&&-1!==s){const t=e.slice(s+1);i=t.length>10?`${t.slice(0,10)}... [truncated]`:t}return`data:${r}${o?",base64":""}${i?`,${i}`:""}`}return e}function _v(e){return"/"===e[e.length-1]?e.slice(0,-1):e}function bv(e){"aggregates"in e?void 0===e.attrs?.ip_address&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):void 0===e.ipAddress&&(e.ipAddress="{{auto}}")}function wv(e,t,n=[t],r="npm"){const o=(e._metadata=e._metadata||{}).sdk=e._metadata.sdk||{};o.name||(o.name=`sentry.javascript.${t}`,o.packages=n.map(e=>({name:`${r}:@sentry/${e}`,version:tf})),o.version=tf)}function Sv(e={}){const t=e.client||Kh();if(!function(){const e=Kh();return!1!==e?.getOptions().enabled&&!!e?.getTransport()}()||!t)return{};const n=Hh(nf());if(n.getTraceData)return n.getTraceData(e);const r=e.scope||zh(),o=e.span||Qm(),s=cg(o)&&!tg(t.getOptions()),i=o&&!s?function(e){const{traceId:t,spanId:n}=e.spanContext();return Im(t,n,Hm(e))}(o):function(e){const{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return Im(t,r,n)}(r),a=function(e){if(e)return function(e){if(0!==Object.keys(e).length)return Object.entries(e).reduce((e,[t,n],r)=>{const o=`${encodeURIComponent(t)}=${encodeURIComponent(n)}`,s=0===r?o:`${e},${o}`;return s.length>8192?(Zp&&pf.warn(`Not adding key: ${t} with val: ${n} to baggage header due to exceeding baggage size limits.`),e):s},"")}(Object.entries(e).reduce((e,[t,n])=>(n&&(e[`${vm}${t}`]=n),e),{}))}(o?hg(o):fg(t,r));if(!Cm.test(i))return pf.warn("Invalid sentry-trace data. Cannot generate trace data"),{};const c={"sentry-trace":i,baggage:a};return e.propagateTraceparent&&(c.traceparent=o&&!s?function(e){const{traceId:t,spanId:n}=e.spanContext();return Am(t,n,Hm(e))}(o):function(e){const{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return Am(t,r,n)}(r)),c}const kv=100;function Ev(e,t){const n=Kh(),r=Vh();if(!n)return;const{beforeBreadcrumb:o=null,maxBreadcrumbs:s=kv}=n.getOptions();if(s<=0)return;const i={timestamp:wh(),...e},a=o?cf(()=>o(i,t)):i;null!==a&&(n.emit&&n.emit("beforeAddBreadcrumb",a,t),r.addBreadcrumb(a,s))}const xv=new WeakMap,Tv=()=>({name:"FunctionToString",setupOnce(){const e=Function.prototype.toString;try{Function.prototype.toString=function(...t){const n=Jf(this);let r;try{xv.has(Kh())&&void 0!==n&&(r=n)}catch{}return e.apply(r??this,t)}}catch{}},setup(e){xv.set(e,!0)}}),Cv=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,/can't redefine non-configurable property "solana"/,/vv\(\)\.getRestrictions is not a function/,/Can't find variable: _AutofillCallbackHandler/,/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,/Java exception was raised during method invocation$/,/Java object is gone$/],Iv=(e={})=>{let t;return{name:"EventFilters",setup(n){const r=n.getOptions();t=Rv(e,r)},processEvent(n,r,o){if(!t){const n=o.getOptions();t=Rv(e,n)}return function(e,t){if(e.type){if("transaction"===e.type&&function(e,t){if(!t?.length)return!1;const n=e.transaction;return!!n&&hh(n,t)}(e,t.ignoreTransactions))return Zp&&pf.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${yh(e)}`),!0}else{if(function(e,t){return!!t?.length&&Hy(e).some(e=>hh(e,t))}(e,t.ignoreErrors))return Zp&&pf.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${yh(e)}`),!0;if(function(e){return!!e.exception?.values?.length&&!e.message&&!e.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value)}(e))return Zp&&pf.warn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${yh(e)}`),!0;if(function(e,t){if(!t?.length)return!1;const n=Ov(e);return!!n&&hh(n,t)}(e,t.denyUrls))return Zp&&pf.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${yh(e)}.\nUrl: ${Ov(e)}`),!0;if(!function(e,t){if(!t?.length)return!0;const n=Ov(e);return!n||hh(n,t)}(e,t.allowUrls))return Zp&&pf.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${yh(e)}.\nUrl: ${Ov(e)}`),!0}return!1}(n,t)?null:n}}},Av=(e={})=>({...Iv(e),name:"InboundFilters"});function Rv(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:Cv],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function Ov(e){try{const t=[...e.exception?.values??[]].reverse().find(e=>void 0===e.mechanism?.parent_id&&e.stacktrace?.frames?.length),n=t?.stacktrace?.frames;return n?function(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(n):null}catch{return Zp&&pf.error(`Cannot extract url for event ${yh(e)}`),null}}function Mv(e,t,n,r,o,s){if(!o.exception?.values||!s||!Pf(s.originalException))return;const i=o.exception.values.length>0?o.exception.values[o.exception.values.length-1]:void 0;i&&(o.exception.values=Pv(e,t,r,s.originalException,n,o.exception.values,i,0
2))}function Pv(e,t,n,r,o,s,i,a){if(s.length>=n+1)return s;let c=[...s];if(Pf(r[o])){Nv(i,a,r);const s=e(t,r[o]),l=c.length;Dv(s,o,l,a),c=Pv(e,t,n,r[o],o,[s,...c],s,l)}return Lv(r)&&r.errors.forEach((s,l)=>{if(Pf(s)){Nv(i,a,r);const u=e(t,s),d=c.length;Dv(u,`errors[${l}]`,d,a),c=Pv(e,t,n,s,o,[u,...c],u,d)}}),c}function Lv(e){return Array.isArray(e.errors)}function Nv(e,t,n){e.mechanism={handled:!0,type:"auto.core.linked_errors",...Lv(n)&&{is_exception_group:!0},...e.mechanism,exception_id:t}}function Dv(e,t,n,r){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}function $v(e){return function(e){return Pf(e)&&"__sentry_fetch_url_host__"in e&&"string"==typeof e.__sentry_fetch_url_host__}(e)?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}const jv=new Set([]);function Fv(e){const t="console",n=kf(t,e);return Ef(t,Uv),n}const Bv=new Set;function Uv(){"console"in ef&&sf.forEach(function(e){!Bv.has(e)&&e in ef.console&&(Bv.add(e),Vf(ef.console,e,function(t){return af[e]=t,function(...t){const n=t[0],r=af[e],o=jv.size&&"string"==typeof n&&hh(n,jv);o||xf("console",{args:t,level:e}),(!o||Zp&&pf.isEnabled())&&r?.apply(ef.console,t)}}))})}function Hv(e){return"warn"===e?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}const Wv=()=>{let e;return{name:"Dedupe",processEvent(t){if(t.type)return t;try{if(function(e,t){return!(!t||!function(e,t){const n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!zv(e,t)||!qv(e,t))}(e,t)&&!function(e,t){const n=Vv(t),r=Vv(e);return!!(n&&r&&n.type===r.type&&n.value===r.value&&zv(e,t)&&qv(e,t))}(e,t))}(t,e))return Zp&&pf.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}};function qv(e,t){let n=bf(e),r=bf(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let o=0;o<r.length;o++){const e=r[o],t=n[o];if(e.filename!==t.filename||e.lineno!==t.lineno||e.colno!==t.colno||e.function!==t.function)return!1}return!0}function zv(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch{return!1}}function Vv(e){return e.exception?.values?.[0]}function Gv(e){return"string"==typeof e&&e.split(",").some(e=>e.trim().startsWith(vm))}function Kv(e,t,n,r,o){const s={url:pv(vv(e),o),type:"fetch","http.method":n,[em]:r,[Zh]:"http.client"};return t&&(hv(t)||(s[Vg]=pv(vv(t.href),o),s[Jg]=pv(vv(t.href),o),s["server.address"]=t.host),t.search&&(s["http.query"]=fv(t.search,o)),t.hash&&(s["http.fragment"]=t.hash)),s}function Jv(e,t,n){return"util"in ef&&"function"==typeof ef.util.format?ef.util.format(...e):function(e,t,n){return e.map(e=>Ff(e)?String(e):JSON.stringify(ah(e,t,n))).join(" ")}(e,t,n)}const Yv={[em]:"auto.log.console"},Xv=(e={})=>{const t=e.levels||sf;return{name:"ConsoleLogs",setup(e){const{enableLogs:n,normalizeDepth:r=3,normalizeMaxBreadth:o=1e3}=e.getOptions();if(!n)return void(Zp&&pf.warn("`enableLogs` is not enabled, ConsoleLogs integration disabled"));const s=Fv(({args:n,level:s})=>{if(Kh()!==e||!t.includes(s))return;const i=n[0],a=n.slice(1);if("assert"===s)return void(i||Iy({level:"error",message:a.length>0?`Assertion failed: ${Jv(a,r,o)}`:"Assertion failed",attributes:Yv}));const c="log"===s,l={...Yv};if(Bf(i)){Object.assign(l,ah(i,r,o));const e="string"==typeof n[1]?2:1;n.slice(e).forEach((e,t)=>{l[`sentry.message.parameter.${t}`]=ah(e,r,o)})}else if(a.length>0&&"string"==typeof i&&!/%[sdifocO]/.test(i)){const e=function(e,t){const n={},r=new Array(t.length).fill("{}").join(" ");return n["sentry.message.template"]=`${e} ${r}`,t.forEach((e,t)=>{n[`sentry.message.parameter.${t}`]=e}),n}(i,a);for(const[t,n]of Object.entries(e))l[t]=t.startsWith("sentry.message.parameter.")?ah(n,r,o):n}Iy({level:c?"info":s,message:Jv(n,r,o),severityNumber:c?10:void 0,attributes:l})});e.registerCleanup(s)}}};function Qv(e){return void 0===e?void 0:e>=400&&e<500?"warning":e>=500?"error":void 0}const Zv=ef;function e_(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function t_(e,t){const n="fetch",r=kf(n,e);return Ef(n,()=>n_(void 0,t)),r}function n_(e,t=!1){t&&!function(){if("string"==typeof EdgeRuntime)return!0;
2if(!function(){if(!("fetch"in Zv))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}())return!1;if(e_(Zv.fetch))return!0;let e=!1;const t=Zv.document;if(t&&"function"==typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=e_(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){Zp&&pf.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}()||Vf(ef,"fetch",function(t){return function(...n){const r=new Error,{method:o,url:s}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){const[t,n]=e;return{url:s_(t),method:o_(n,"method")?String(n.method).toUpperCase():zf(t)&&o_(t,"method")?String(t.method).toUpperCase():"GET"}}const t=e[0];return{url:s_(t),method:o_(t,"method")?String(t.method).toUpperCase():"GET"}}(n),i={args:n,fetchData:{method:o,url:s},startTimestamp:1e3*Sh(),virtualError:r,headers:i_(n)};return e||xf("fetch",{...i}),t.apply(ef,n).then(async t=>(e?e(t):xf("fetch",{...i,endTimestamp:1e3*Sh(),response:t}),t),e=>{xf("fetch",{...i,endTimestamp:1e3*Sh(),error:e}),Pf(e)&&void 0===e.stack&&(e.stack=r.stack,Gf(e,"framesToPop",1));const t=Kh(),n=t?.getOptions().enhanceFetchErrorMessages??"always";if(!1!==n&&Pf(e)&&"TypeError"===e.name&&("Failed to fetch"===e.message||"Load failed"===e.message||"NetworkError when attempting to fetch resource."===e.message))try{const t=new URL(i.fetchData.url).host;"always"===n?e.message=`${e.message} (${t})`:Gf(e,"__sentry_fetch_url_host__",t)}catch{}throw e})}})}function r_(e){let t;try{t=e.clone()}catch{return}!async function(e,t){if(e?.body){const n=e.body,r=n.getReader(),o=setTimeout(()=>{n.cancel().then(null,()=>{})},9e4);let s=!0;for(;s;){let e;try{e=setTimeout(()=>{n.cancel().then(null,()=>{})},5e3);const{done:o}=await r.read();clearTimeout(e),o&&(t(),s=!1)}catch{s=!1}finally{clearTimeout(e)}}clearTimeout(o),r.releaseLock(),n.cancel().then(null,()=>{})}}(t,()=>{xf("fetch-body-resolved",{endTimestamp:1e3*Sh(),response:e})})}function o_(e,t){return Uf(e)&&!!e[t]}function s_(e){return"string"==typeof e?e:e?o_(e,"url")?e.url:e.toString?e.toString():"":""}function i_(e){const[t,n]=e;try{if("object"==typeof n&&null!==n&&"headers"in n&&n.headers)return new Headers(n.headers);if(zf(t))return new Headers(t.headers)}catch{}}const a_=ef;function c_(){try{return a_.document.location.href}catch{return""}}function l_(e,t=5){if(!a_.HTMLElement)return null;let n=e;for(let r=0;r<t;r++){if(!n)return null;if(n instanceof HTMLElement){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}n=n.parentNode}return null}const u_=ef;let d_=0;function p_(){return d_>0}function f_(e,t={}){if("function"!=typeof e)return e;try{if(Object.prototype.hasOwnProperty.call(e,"__sentry_wrapped__")){const t=e.__sentry_wrapped__;return"function"==typeof t?t:e}if(Jf(e))return e}catch{return e}const n=function(...n){ef._sentryWrappedDepth=(ef._sentryWrappedDepth||0)+1;try{const r=n.map(e=>f_(e,t));return e.apply(this,r)}catch(r){throw d_++,setTimeout(()=>{d_--}),Gh(e=>{e.addEventProcessor(e=>(t.mechanism&&(vh(e,void 0),_h(e,t.mechanism)),e.extra={...e.extra,arguments:n},e)),uy(r)}),r}finally{ef._sentryWrappedDepth=(ef._sentryWrappedDepth||0)-1}};try{for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t])}catch{}Kf(n,e),Gf(e,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:()=>e.name})}catch{}return n}function h_(){const e=c_(),{referrer:t}=u_.document||{},{userAgent:n}=u_.navigator||{};return{url:e,headers:{...t&&{Referer:t},...n&&{"User-Agent":n}}}}function m_(e,t){const n=y_(e,t),r={type:b_(t),value:w_(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function g_(e,t){return{exception:{values:[m_(e,t)]}}}function y_(e,t){const n=t.stacktrace||t.stack||"",r=function(e){return e&&v_.test(e.message)?1:0}(t),o=function(e){return"number"==typeof e.framesToPop?e.framesToPop:0}(t);try{return e(n,r,o)}catch{}return[]}const v_=/Minified React error #\d+;/i;function __(e){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function b_(e){const t=e?.name;return!t&&__(e)?e.message&&Array.isArray(e.message)&&2==e.message.length?e.message[0]:"WebAssembly.Exception":t}function w_(e){const t=e?.message;return __(e)?Array.isArray(e.message)&&2==e.message.length?e.message[1]:"wasm exception":t?t.error&&"string"==typeof t.error.message?$v(t.error):$v(e):"No error message"}function S_(e,t,n,r,o){let s;if(Nf(t)&&t.error)return g_(e,t.error);if(Df(t)||Lf(t,"DOMException")){const o=t;if("stack"in t){s=g_(e,t);const o=s.exception?.values?.[0];if(r&&n&&o&&!o.stacktrace){const t=y_(e,n);t.length&&(o.stacktrace={frames:t},_h(s,{synthetic:!0}))}}else{const t=o.name||(Df(o)?"DOMError":"DOMException"),i=o.message?`${t}: ${o.message}`:t;s=k_(e,i,n,r),vh(s,i)}return"code"in o&&(s.tags={...s.tags,"DOMException.code":`${o.code}`}),s}return Pf(t)?g_(e,t):Bf(t)||Hf(t)?(s=function(e,t,n,r){const o=Kh(),s=o?.getOptions().normalizeDepth,i=(a=t,Object.values(a).find(Pf));var a;const c={__serialized__:ch(t,s)};if(i)return{exception:{values:[m_(e,i)]},extra:c};const l={exception:{values:[{type:Hf(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:E_(t,{isUnhandledRejection:r})}]},extra:c};if(n){const t=y_(e,n);t.length&&(l.exception.values[0].stacktrace={frames:t})}return l}(e,t,n,o),_h(s,{synthetic:!0}),s):(s=k_(e,t,n,r),vh(s,`${t}`),_h(s,{synthetic:!0}),s)}function k_(e,t,n,r){const o={};if(r&&n){const r=y_(e,n);r.length&&(o.exception={values:[{value:t,stacktrace:{frames:r}}]}),_h(o,{synthetic:!0})}
2if(jf(t)){const{__sentry_template_string__:e,__sentry_template_values__:n}=t;return o.logentry={message:e,params:n},o}return o.message=t,o}function E_(e,{isUnhandledRejection:t}){const n=function(e){const t=Object.keys(Yf(e));return t.sort(),t[0]?t.join(", "):"[object has no keys]"}(e),r=t?"promise rejection":"exception";return Nf(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:Hf(e)?`Event \`${function(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}class x_ extends nv{constructor(e){const t=(n=e,{release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:u_.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...n});var n;wv(t,"browser",["browser"],u_.SENTRY_SDK_SOURCE||"npm"),super(t);const{userInfo:r}=this.getDataCollectionOptions();t._metadata?.sdk&&(t._metadata.sdk.settings={infer_ip:r?"auto":"never",...t._metadata.sdk.settings});const{sendClientReports:o}=this._options;u_.document&&u_.document.addEventListener("visibilitychange",()=>{"hidden"===u_.document.visibilityState&&(o&&this._flushOutcomes(),queueMicrotask(()=>{this.flush()}))}),r&&this.on("beforeSendSession",bv)}eventFromException(e,t){return function(e,t,n,r){const o=S_(e,t,n?.syntheticException||void 0,r);return _h(o),o.level="error",n?.event_id&&(o.event_id=n.event_id),Zg(o)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return function(e,t,n="info",r,o){const s=k_(e,t,r?.syntheticException||void 0,o);return s.level=n,r?.event_id&&(s.event_id=r.event_id),Zg(s)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}_prepareEvent(e,t,n,r){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n,r)}}const T_="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,C_=ef,I_=(e,t,n,r)=>{let o,s;return i=>{t.value>=0&&(i||r)&&(s=t.value-(o??0),(s||void 0===o)&&(o=t.value,t.delta=s,t.rating=((e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good")(t.value,n),e(t)))}},A_=(e=!0)=>{const t=C_.performance?.getEntriesByType?.("navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t},R_=()=>{const e=A_();return e?.activationStart??0};function O_(e,t,n){C_.document&&C_.addEventListener(e,t,n)}function M_(e,t,n){C_.document&&C_.removeEventListener(e,t,n)}let P_=-1;const L_=new Set,N_=e=>{if(function(e){return"pagehide"===e.type||"hidden"===C_.document?.visibilityState}(e)&&P_>-1){if("visibilitychange"===e.type||"pagehide"===e.type)for(const e of L_)e();isFinite(P_)||(P_="visibilitychange"===e.type?e.timeStamp:0,M_("prerenderingchange",N_,!0))}},D_=()=>{if(C_.document&&P_<0){const e=R_(),t=C_.document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter(t=>"hidden"===t.name&&t.startTime>e)[0]?.startTime;P_=t??("hidden"!==C_.document?.visibilityState||C_.document?.prerendering?1/0:0),O_("visibilitychange",N_,!0),O_("pagehide",N_,!0),O_("prerenderingchange",N_,!0)}return{get firstHiddenTime(){return P_},onHidden(e){L_.add(e)}}},$_=(e,t=-1)=>{const n=A_();let r="navigate";return n&&(C_.document?.prerendering||R_()>0?r="prerender":C_.document?.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:t,rating:"good",delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:r}},j_=new WeakMap;function F_(e,t){try{return j_.get(e)||j_.set(e,new t),j_.get(e)}catch(n){return new t}}class B_{constructor(){this._sessionValue=0,this._sessionEntries=[]}_processEntry(e){if(e.hadRecentInput)return;const t=this._sessionEntries[0],n=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&t&&n&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(this._sessionValue+=e.value,this._sessionEntries.push(e)):(this._sessionValue=e.value,this._sessionEntries=[e]),this._onAfterProcessingUnexpectedShift?.(e)}}const U_=(e,t,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return r.observe({type:e,buffered:!0,...n}),r}}catch{}},H_=e=>{let t=!1;return()=>{t||(e(),t=!0)}},W_=e=>{C_.document?.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},q_=[1800,3e3],z_=[.1,.25];let V_=0,G_=1/0,K_=0;const J_=e=>
2{e.forEach(e=>{e.interactionId&&(G_=Math.min(G_,e.interactionId),K_=Math.max(K_,e.interactionId),V_=K_?(K_-G_)/7+1:0)})};let Y_;const X_=()=>Y_?V_:performance.interactionCount||0;let Q_=0;class Z_{constructor(){this._longestInteractionList=[],this._longestInteractionMap=new Map}_resetInteractions(){Q_=X_(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){const e=Math.min(this._longestInteractionList.length-1,Math.floor((X_()-Q_)/50));return this._longestInteractionList[e]}_processEntry(e){if(this._onBeforeProcessingEntry?.(e),!e.interactionId&&"first-input"!==e.entryType)return;const t=this._longestInteractionList.at(-1);let n=this._longestInteractionMap.get(e.interactionId);if(n||this._longestInteractionList.length<10||e.duration>t._latency){if(n?e.duration>n._latency?(n.entries=[e],n._latency=e.duration):e.duration===n._latency&&e.startTime===n.entries[0].startTime&&n.entries.push(e):(n={id:e.interactionId,entries:[e],_latency:e.duration},this._longestInteractionMap.set(n.id,n),this._longestInteractionList.push(n)),this._longestInteractionList.sort((e,t)=>t._latency-e._latency),this._longestInteractionList.length>10){const e=this._longestInteractionList.splice(10);for(const t of e)this._longestInteractionMap.delete(t.id)}this._onAfterProcessingINPCandidate?.(n)}}}const eb=e=>{const t=C_.requestIdleCallback||C_.setTimeout;"hidden"===C_.document?.visibilityState?e():(O_("visibilitychange",e=H_(e),{once:!0,capture:!0}),O_("pagehide",e,{once:!0,capture:!0}),t(()=>{e(),M_("visibilitychange",e,{capture:!0}),M_("pagehide",e,{capture:!0})}))},tb=[200,500];class nb{_processEntry(e){this._onBeforeProcessingEntry?.(e)}}const rb=[2500,4e3],ob=[800,1800],sb=e=>{C_.document?.prerendering?W_(()=>sb(e)):"complete"!==C_.document?.readyState?addEventListener("load",()=>sb(e),!0):setTimeout(e)},ib={},ab={};let cb,lb,ub,db;function pb(e,t=!1){return wb("cls",e,yb,cb,t)}function fb(e,t=!1){return wb("lcp",e,vb,lb,t)}function hb(e){return wb("inp",e,bb,db)}function mb(e,t){return Sb(e,t),ab[e]||(function(e){const t={};"event"===e&&(t.durationThreshold=0),U_(e,t=>{gb(e,{entries:t})},t)}(e),ab[e]=!0),kb(e,t)}function gb(e,t){const n=ib[e];if(n?.length)for(const r of n)try{r(t)}catch(hC){T_&&pf.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${_f(r)}\nError:`,hC)}}function yb(){return((e,t={})=>{((e,t={})=>{W_(()=>{const n=D_(),r=$_("FCP");let o;const s=U_("paint",e=>{for(const t of e)"first-contentful-paint"===t.name&&(s.disconnect(),t.startTime<n.firstHiddenTime&&(r.value=Math.max(t.startTime-R_(),0),r.entries.push(t),o(!0)))});s&&(o=I_(e,r,q_,t.reportAllChanges))})})(H_(()=>{const n=$_("CLS",0);let r;const o=D_(),s=F_(t,B_),i=e=>{for(const t of e)s._processEntry(t);s._sessionValue>n.value&&(n.value=s._sessionValue,n.entries=s._sessionEntries,r())},a=U_("layout-shift",i);a&&(r=I_(e,n,z_,t.reportAllChanges),o.onHidden(()=>{i(a.takeRecords()),r(!0)}),C_?.setTimeout?.(r))}))})(e=>{gb("cls",{metric:e}),cb=e},{reportAllChanges:!0})}function vb(){return((e,t={})=>{W_(()=>{const n=D_(),r=$_("LCP");let o;const s=F_(t,nb),i=e=>{t.reportAllChanges||(e=e.slice(-1));for(const t of e)t&&(s._processEntry(t),t.startTime<n.firstHiddenTime&&(r.value=Math.max(t.startTime-R_(),0),r.entries=[t],o()))},a=U_("largest-contentful-paint",i);if(a){o=I_(e,r,rb,t.reportAllChanges);const n=H_(()=>{i(a.takeRecords()),a.disconnect(),o(!0)}),s=e=>{e.isTrusted&&(eb(n),M_(e.type,s,{capture:!0}))};for(const e of["keydown","click","visibilitychange"])O_(e,s,{capture:!0})}})})(e=>{gb("lcp",{metric:e}),lb=e},{reportAllChanges:!0})}function _b(){return((e,t={})=>{const n=$_("TTFB"),r=I_(e,n,ob,t.reportAllChanges);sb(()=>{const e=A_();e&&(n.value=Math.max(e.responseStart-R_(),0),n.entries=[e],r(!0))})})(e=>{gb("ttfb",{metric:e}),ub=e})}function bb(){return((e,t={})=>{if(!globalThis.PerformanceEventTiming||!("interactionId"in PerformanceEventTiming.prototype))return;const n=D_();W_(()=>{"interactionCount"in performance||Y_||(Y_=U_("event",J_,{type:"event",buffered:!0,durationThreshold:0}));const r=$_("INP");let o;const s=F_(t,Z_),i=e=>{eb(()=>{for(const n of e)s._processEntry(n);const t=s._estimateP98LongestInteraction();t&&t._latency!==r.value&&(r.value=t._latency,r.entries=t.entries,o())})},a=U_("event",i,{durationThreshold:t.durationThreshold??40});o=I_(e,r,tb,t.reportAllChanges),a&&(a.observe({type:"first-input",buffered:!0}),n.onHidden(()=>{i(a.takeRecords()),o(!0)}))})})(e=>{gb("inp",{metric:e}),db=e})}function wb(e,t,n,r,o=!1){let s;return Sb(e,t),ab[e]||(s=n(),ab[e]=!0),r&&t({metric:r}),kb(e,t,o?s:void 0)}function Sb(e,t){ib[e]=ib[e]||[],ib[e].push(t)}function kb(e,t,n){return()=>{n&&n();const r=ib[e];if(!r)return;const o=r.indexOf(t);-1!==o&&r.splice(o,1)}}const Eb={};try{"undefined"!=typeof Node&&(Eb.parentNode=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode").get),"undefined"!=typeof Element&&(Eb.tagName=Object.getOwnPropertyDescriptor(Element.prototype,"tagName").get,Eb.id=Object.getOwnPropertyDescriptor(Element.prototype,"id").get,Eb.className=Object.getOwnPropertyDescriptor(Element.prototype,"className").get,Eb.getAttribute=Element.prototype.getAttribute),"undefined"!=typeof HTMLElement&&(Eb.dataset=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset").get)}catch{}function xb(e,t,n){const r=Eb[t];if(r)try{return r.call(e,n)}catch{}const o=e[t];return"function"==typeof o?o.call(e,n):o}function Tb(e,t={}){if(!e)return"<unknown>";try{let n=e;const r=5,o=[];let s=0,i=0;const a=" > ",c=a.length;let l;const u=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||80;for(;n&&s++<r&&(l=Cb(n,u),!("html"===l||s>1&&i+o.length*c+l.length>=d));)o.push(l),i+=l.length,n=xb(n,"parentNode");return o.reverse().join(a)}catch{return"<unknown>"}}function Cb(e,t){const n=[],r=xb(e,"tagName");if(!r)return"";if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement){const t=xb(e,"dataset");if(t){if(t.sentryComponent)return t.sentryComponent;if(t.sentryElement)return t.sentryElement}}n.push(r.toLowerCase());const o=t?.length?t.filter(t=>xb(e,"getAttribute",t)).map(t=>[t,xb(e,"getAttribute",t)]):null;
2if(o?.length)o.forEach(e=>{n.push(`[${e[0]}="${e[1]}"]`)});else{const t=xb(e,"id");t&&n.push(`#${t}`);const r=xb(e,"className");if(r&&$f(r)){const e=r.split(/\s+/);for(const t of e)n.push(`.${t}`)}}for(const s of["aria-label","type","name","title","alt"]){const t=xb(e,"getAttribute",s);t&&n.push(`[${s}="${t}"]`)}return n.join("")}function Ib(e){return"number"==typeof e&&isFinite(e)}function Ab(e,t,n,{...r}){const o=$m(e).start_timestamp;return o&&o>t&&"function"==typeof e.updateStartTime&&e.updateStartTime(t),Dg(e,()=>{const e=Ng({startTime:t,...r});return e&&e.end(n),e})}function Rb(e){const t=Kh();if(!t)return;const{name:n,transaction:r,attributes:o,startTime:s}=e,{release:i,environment:a}=t.getOptions(),{userInfo:c}=t.getDataCollectionOptions(),l=t.getIntegrationByName("Replay"),u=l?.getReplayId(),d=zh(),p=d.getUser(),f=void 0!==p?p.email||p.id||p.ip_address:void 0;let h;try{h=d.getScopeData().contexts.profile.profile_id}catch{}return Ng({name:n,attributes:{release:i,environment:a,user:f||void 0,profile_id:h||void 0,replay_id:u||void 0,transaction:r,"user_agent.original":C_.navigator?.userAgent,"client.address":c?"{{auto}}":void 0,...o},startTime:s,experimental:{standalone:!0}})}function Ob(){return C_.addEventListener&&C_.performance}function Mb(e){return e/1e3}function Pb(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch{return!1}}function Lb(e,t){let n,r=!1;function o(e){!r&&n&&t(e,n.spanContext().spanId,n),r=!0}(()=>{const e=e=>{"pagehide"!==e.type&&"hidden"!==C_.document?.visibilityState||o("pagehide")};O_("visibilitychange",e,{capture:!0,once:!0}),O_("pagehide",e,{capture:!0,once:!0})})();const s=e.on("beforeStartNavigationSpan",(e,t)=>{t?.isRedirect||(o("navigation"),s(),i())}),i=e.on("afterStartPageLoadSpan",e=>{n=e,i()})}function Nb(e){return null!=e&&e>0&&e<=6e4}function Db(e){return e?((Eh()||performance.timeOrigin)+e)/1e3:e}function $b(e){const t={};if(null!=e.nextHopProtocol){const{name:n,version:r}=function(e){let t="unknown",n="unknown",r="";for(const o of e){if("/"===o){[t,n]=e.split("/");break}if(!isNaN(Number(o))){t="h"===r?"http":r,n=e.split(r)[1];break}r+=o}return r===e&&(t=r),{name:t,version:n}}(e.nextHopProtocol);t["network.protocol.version"]=r,t["network.protocol.name"]=n}return Eh()||Ob()?.timeOrigin?(n={...t,"http.request.redirect_start":Db(e.redirectStart),"http.request.redirect_end":Db(e.redirectEnd),"http.request.worker_start":Db(e.workerStart),"http.request.fetch_start":Db(e.fetchStart),"http.request.domain_lookup_start":Db(e.domainLookupStart),"http.request.domain_lookup_end":Db(e.domainLookupEnd),"http.request.connect_start":Db(e.connectStart),"http.request.secure_connection_start":Db(e.secureConnectionStart),"http.request.connection_end":Db(e.connectEnd),"http.request.request_start":Db(e.requestStart),"http.request.response_start":Db(e.responseStart),"http.request.response_end":Db(e.responseEnd),"http.request.time_to_first_byte":null!=e.responseStart?e.responseStart/1e3:void 0},Object.fromEntries(Object.entries(n).filter(([,e])=>null!=e))):t;var n}let jb,Fb,Bb=0,Ub={};function Hb(){jb=void 0,Fb=void 0,Ub={}}function Wb(e,t,n,r,o=n){const s=function(e){return"secureConnection"===e?"connectEnd":"fetch"===e?"domainLookupStart":`${e}End`}(n),i=t[s],a=t[`${n}Start`];a&&i&&Ab(e,r+Mb(a),r+Mb(i),{op:`browser.${o}`,name:t.name,attributes:{[em]:"auto.ui.browser.metrics",..."redirect"===n&&null!=t.redirectCount?{"http.redirect_count":t.redirectCount}:{}}})}const qb=[],zb=new Map,Vb=new Map,Gb={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"},Kb=({metric:e})=>{if(null==e.value)return;const t=Mb(e.value);if(t>60)return;const n=e.entries.find(t=>t.duration===e.value&&Gb[t.name]);if(!n)return;const{interactionId:r}=n,o=Gb[n.name],s=Mb(Eh()+n.startTime),i=Qm(),a=i?Ym(i):void 0,c=null!=r?zb.get(r):void 0,l=c?.span||a,u=l?$m(l).description:zh().getScopeData().transactionName,d=Rb({name:c?.elementName||Tb(n.target),transaction:u,attributes:{[em]:"auto.http.browser.inp",[Zh]:`ui.interaction.${o}`,[am]:n.duration},startTime:s});d&&(d.addEvent("inp",{[rm]:"millisecond",[om]:e.value}),d.end(s+t))};function Jb(e){const{name:t,op:n,origin:r,metricName:o,value:s,attributes:i,parentSpan:a,reportEvent:c,startTime:l,endTime:u}=e,d=zh().getScopeData().transactionName,p={[em]:r,[Zh]:n,[am]:0,[`browser.web_vital.${o}.value`]:s,[Kg]:d,[Gg]:d,"user_agent.original":C_.navigator?.userAgent,...i};a&&"pageload"===jm(a).attributes?.[Zh]&&(p["sentry.pageload.span_id"]=a.spanContext().spanId),c&&(p[`browser.web_vital.${o}.report_event`]=c);const f=Ng({name:t,attributes:p,startTime:l,parentSpan:a});f&&f.end(u??l)}let Yb,Xb,Qb,Zb;function ew(e){kf("dom",e),Ef("dom",tw)}
2function tw(){if(!C_.document)return;const e=xf.bind(null,"dom"),t=nw(e,!0);C_.document.addEventListener("click",t,!1),C_.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{const n=C_,r=n[t]?.prototype;r?.hasOwnProperty?.("addEventListener")&&(Vf(r,"addEventListener",function(t){return function(n,r,o){if("click"===n||"keypress"==n)try{const r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},s=r[n]=r[n]||{refCount:0};if(!s.handler){const r=nw(e);s.handler=r,t.call(this,n,r,o)}s.refCount++}catch{}return t.call(this,n,r,o)}}),Vf(r,"removeEventListener",function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{const n=this.__sentry_instrumentation_handlers__||{},o=n[t];o&&(o.refCount--,o.refCount<=0&&(e.call(this,t,o.handler,r),o.handler=void 0,delete n[t]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,n,r)}}))})}function nw(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=function(e){try{return e.target}catch{return null}}(n);if(function(e,t){return"keypress"===e&&(!t?.tagName||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&!t.isContentEditable)}(n.type,r))return;Gf(n,"_sentryCaptured",!0),r&&!r._sentryId&&Gf(r,"_sentryId",mh());const o="keypress"===n.type?"input":n.type;(function(e){if(e.type!==Xb)return!1;try{if(!e.target||e.target._sentryId!==Qb)return!1}catch{}return!0})(n)||(e({event:n,name:o,global:t}),Xb=n.type,Qb=r?r._sentryId:void 0),clearTimeout(Yb),Yb=C_.setTimeout(()=>{Qb=void 0,Xb=void 0},1e3)}}function rw(e){const t="history";kf(t,e),Ef(t,ow)}function ow(){function e(e){return function(...t){const n=t.length>2?t[2]:void 0;if(n){const r=Zb,o=function(e){try{return new URL(e,C_.location.origin).toString()}catch{return e}}(String(n));if(Zb=o,r===o)return e.apply(this,t);xf("history",{from:r,to:o})}return e.apply(this,t)}}C_.addEventListener("popstate",()=>{const e=C_.location.href,t=Zb;Zb=e,t!==e&&xf("history",{from:t,to:e})}),"history"in Zv&&Zv.history&&(Vf(C_.history,"pushState",e),Vf(C_.history,"replaceState",e))}const sw={};function iw(e){const t=sw[e];if(t)return t;let n=C_[e];if(e_(n))return sw[e]=n.bind(C_);const r=C_.document;if(r&&"function"==typeof r.createElement)try{const t=r.createElement("iframe");t.hidden=!0,r.head.appendChild(t);const o=t.contentWindow;o?.[e]&&(n=o[e]),r.head.removeChild(t)}catch(hC){T_&&pf.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,hC)}return n?sw[e]=n.bind(C_):n}function aw(...e){return iw("setTimeout")(...e)}const cw="__sentry_xhr_v3__";function lw(e){kf("xhr",e),Ef("xhr",uw)}function uw(){if(!C_.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){let r=new Error;const o=1e3*Sh(),s=$f(n[0])?n[0].toUpperCase():void 0,i=function(e){if($f(e))return e;try{return e.toString()}catch{}}(n[1]);if(!s||!i)return e.apply(t,n);t[cw]={method:s,url:i,request_headers:{}},"POST"===s&&i.match(/sentry_key/)&&(t.__sentry_own_request__=!0);const a=()=>{const e=t[cw];if(e&&4===t.readyState){try{e.status_code=t.status}catch{}xf("xhr",{endTimestamp:1e3*Sh(),startTimestamp:o,xhr:t,virtualError:r}),r=void 0,t.removeEventListener("readystatechange",a)}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,n)=>(a(),e.apply(t,n))}):t.addEventListener("readystatechange",a),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){const[r,o]=n,s=t[cw];return s&&$f(r)&&$f(o)&&(s.request_headers[r.toLowerCase()]=o),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){const r=t[cw];return r?(void 0!==n[0]&&(r.body=n[0]),xf("xhr",{startTimestamp:1e3*Sh(),xhr:t}),e.apply(t,n)):e.apply(t,n)}})}const dw=Symbol.for("sentry__originalRequestBody");function pw(e){return new URLSearchParams(e).toString()}function fw(e,t=pf){try{if("string"==typeof e)return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[pw(e)];if(!e)return[void 0]}catch(n){return T_&&t.error(n,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return T_&&t.log("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function hw(e=[]){if(e.length>=2&&e[1]&&"object"==typeof e[1]&&"body"in e[1])return e[1].body;if(e.length>=1&&e[0]instanceof Request){const t=e[0][dw];return void 0!==t?t:void 0}}function mw(e){let t;try{t=e.getAllResponseHeaders()}catch(n){return T_&&pf.error(n,"Failed to get xhr response headers",e),{}}return t?t.split("\r\n").reduce((e,t)=>
2{const[n,r]=t.split(": ");return r&&(e[n.toLowerCase()]=r),e},{}):{}}function gw(e,t=iw("fetch")){let n=0,r=0;return function(e,t,n=Fy(e.bufferSize||64)){let r={};return{send:function(o){const s=[];if(vg(o,(t,n)=>{const o=Eg(n);By(r,o)?e.recordDroppedEvent("ratelimit_backoff",o):s.push(t)}),0===s.length)return Promise.resolve({});const i=gg(o[0],s),a=t=>{!function(e,t){return vg(e,(e,n)=>t.includes(n))}(i,["client_report"])?vg(i,(n,r)=>{e.recordDroppedEvent(t,Eg(r))}):Zp&&pf.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`)};return n.add(()=>t({body:bg(i)}).then(e=>413===e.statusCode?(Zp&&pf.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."),a("send_error"),e):(Zp&&void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&pf.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=Uy(r,e),e),e=>{throw a("network_error"),Zp&&pf.error("Encountered error running transport request:",e),e})).then(e=>e,e=>{if(e===jy)return Zp&&pf.error("Skipped sending event because buffer is full."),a("queue_overflow"),Promise.resolve({});throw e})},flush:e=>n.drain(e)}}(e,async function(o){const s=o.body.length;n+=s,r++;const i={body:o.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{const n=await t(e.url,i);return{statusCode:n.status,headers:{"x-sentry-rate-limits":n.headers.get("X-Sentry-Rate-Limits"),"retry-after":n.headers.get("Retry-After")}}}catch(hC){throw sw.fetch=void 0,hC}finally{n-=s,r--}},Fy(e.bufferSize||40))}const yw="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function vw(e,t,n,r){const o={filename:e,function:"<anonymous>"===t?ff:t,in_app:!0};return void 0!==n&&(o.lineno=n),void 0!==r&&(o.colno=r),o}const _w=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,bw=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,ww=/\((\S*)(?::(\d+))(?::(\d+))\)/,Sw=/at (.+?) ?\(data:(.+?),/,kw=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Ew=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,xw=gf([30,e=>{const t=e.match(Sw);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};const n=_w.exec(e);if(n){const[,e,t,r]=n;return vw(e,ff,+t,+r)}const r=bw.exec(e);if(r){if(0===r[2]?.indexOf("eval")){const e=ww.exec(r[2]);e&&(r[2]=e[1],r[3]=e[2],r[4]=e[3])}const[e,t]=Tw(r[1]||ff,r[2]);return vw(t,e,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}}],[50,e=>{const t=kw.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const e=Ew.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||ff;return[n,e]=Tw(n,e),vw(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]),Tw=(e,t)=>{const n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:ff,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},Cw=(e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){t.console&&Fv(function(e){return function(t){if(Kh()!==e)return;const n={category:"console",data:{arguments:t.args,logger:"console"},level:Hv(t.level),message:ph(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;n.message=`Assertion failed: ${ph(t.args.slice(1)," ")||"console.assert"}`,n.data.arguments=t.args.slice(1)}Ev(n,{input:t.args,level:t.level})}}(e)),t.dom&&ew(function(e,t){return function(n){if(Kh()!==e)return;let r,o,s="object"==typeof t?t.serializeAttribute:void 0,i="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;i&&i>1024&&(yw&&pf.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${i} was configured. Sentry will use 1024 instead.`),i=1024),"string"==typeof s&&(s=[s]);try{const e=n.event,t=function(e){return!!e&&!!e.target}(e)?e.target:e;r=Tb(t,{keyAttrs:s,maxStringLength:i}),o=l_(t)}catch{r="<unknown>"}if(0===r.length)return;const a={category:`ui.${n.name}`,message:r};o&&(a.data={"ui.component_name":o}),Ev(a,{event:n.event,name:n.name,global:n.global})}}(e,t.dom)),t.xhr&&lw(function(e){return function(t){if(Kh()!==e)return;const{startTimestamp:n,endTimestamp:r}=t,o=t.xhr[cw];if(!n||!r||!o)return;const{method:s,url:i,status_code:a,body:c}=o,l={method:s,url:i,status_code:a},u={xhr:t.xhr,input:c,startTimestamp:n,endTimestamp:r},d={category:"xhr",data:l,type:"http",level:Qv(a)};e.emit("beforeOutgoingRequestBreadcrumb",d,u),Ev(d,u)}}(e)),t.fetch&&t_(function(e){return function(t){if(Kh()!==e)return;const{startTimestamp:n,endTimestamp:r}=t;
2if(r&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.error){const o={data:t.error,input:t.args,startTimestamp:n,endTimestamp:r},s={category:"fetch",data:t.fetchData,level:"error",type:"http"};e.emit("beforeOutgoingRequestBreadcrumb",s,o),Ev(s,o)}else{const o=t.response,s={...t.fetchData,status_code:o?.status},i={input:t.args,response:o,startTimestamp:n,endTimestamp:r},a={category:"fetch",data:s,type:"http",level:Qv(s.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",a,i),Ev(a,i)}}}(e)),t.history&&rw(function(e){return function(t){if(Kh()!==e)return;let n=t.from,r=t.to;const o=yv(u_.location.href);let s=n?yv(n):void 0;const i=yv(r);s?.path||(s=o),o.protocol===i.protocol&&o.host===i.host&&(r=i.relative),o.protocol===s.protocol&&o.host===s.host&&(n=s.relative),Ev({category:"navigation",data:{from:n,to:r}})}}(e)),t.sentry&&e.on("beforeSendEvent",function(e){return function(t){Kh()===e&&Ev({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:yh(t)},{event:t})}}(e))}}},Iw="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".split(","),Aw=(e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&Vf(u_,"setTimeout",Rw),t.setInterval&&Vf(u_,"setInterval",Rw),t.requestAnimationFrame&&Vf(u_,"requestAnimationFrame",Ow),t.XMLHttpRequest&&"XMLHttpRequest"in u_&&Vf(XMLHttpRequest.prototype,"send",Mw);const e=t.eventTarget;e&&(Array.isArray(e)?e:Iw).forEach(e=>function(e,t){const n=u_,r=n[e]?.prototype;r?.hasOwnProperty?.("addEventListener")&&(Vf(r,"addEventListener",function(n){return function(r,o,s){try{"function"==typeof o.handleEvent&&(o.handleEvent=f_(o.handleEvent,{mechanism:{data:{handler:_f(o),target:e},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return t.unregisterOriginalCallbacks&&function(e,t,n){e&&"object"==typeof e&&"removeEventListener"in e&&"function"==typeof e.removeEventListener&&e.removeEventListener(t,n)}(this,r,o),n.apply(this,[r,f_(o,{mechanism:{data:{handler:_f(o),target:e},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),s])}}),Vf(r,"removeEventListener",function(e){return function(t,n,r){try{if(Object.prototype.hasOwnProperty.call(n,"__sentry_wrapped__")){const o=n.__sentry_wrapped__;o&&e.call(this,t,o,r)}}catch{}return e.call(this,t,n,r)}}))}(e,t))}}};function Rw(e){return function(...t){const n=t[0];return t[0]=f_(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${_f(e)}`}}),e.apply(this,t)}}function Ow(e){return function(t){return e.apply(this,[f_(t,{mechanism:{data:{handler:_f(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function Mw(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in n&&"function"==typeof n[e]&&Vf(n,e,function(t){const n={mechanism:{data:{handler:_f(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},r=Jf(t);return r&&(n.mechanism.data.handler=_f(r)),f_(t,n)})}),e.apply(this,t)}}const Pw=(e={})=>{const t=e.lifecycle??"route";return{name:"BrowserSession",setupOnce(){if(void 0===u_.document)return void(yw&&pf.warn("Using the `browserSessionIntegration` in non-browser environments is not supported."));py({ignoreDuration:!0});let e=!1;eb(()=>{e||(my(),e=!0)});const n=Vh();let r=n.getUser();n.addScopeListener(t=>{const n=t.getUser();r?.id===n?.id&&r?.ip_address===n?.ip_address||(r=n,e&&my())}),"route"===t&&rw(({from:t,to:n})=>{t!==n&&(py({ignoreDuration:!0}),my(),e=!0)})}}};function Lw(){try{const e=u_.Intl;if(!e)return;const t=e.DateTimeFormat().resolvedOptions();return{locale:t.locale,timezone:t.timeZone,calendar:t.calendar}}catch{return}}const Nw=(e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(function(e){Cf(t=>{const{stackParser:n,attachStacktrace:r}=$w();if(Kh()!==e||p_())return;const{msg:o,url:s,line:i,column:a,error:c}=t,l=function(e,t,n,r){const o=e.exception=e.exception||{},s=o.values=o.values||[],i=s[0]=s[0]||{},a=i.stacktrace=i.stacktrace||{},c=a.frames=a.frames||[];return 0===c.length&&c.push({colno:r,lineno:n,filename:jw(t)??c_(),function:ff,in_app:!0}),e}(S_(n,c||o,void 0,r,!1),s,i,a);l.level="error",dy(l,{originalException:c,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}(e),Dw("onerror")),t.onunhandledrejection&&(function(e){Rf(t=>{const{stackParser:n,attachStacktrace:r}=$w();if(Kh()!==e||p_())return;const o=function(e){if(Ff(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}(t),s=Ff(o)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(o)}`}]}}:S_(n,o,void 0,r,!0);s.level="error",dy(s,{originalException:o,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}(e),Dw("onunhandledrejection"))}}};function Dw(e){yw&&pf.log(`Global Handler attached: ${e}`)}function $w(){const e=Kh();return e?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function jw(e){if($f(e)&&0!==e.length)return e.startsWith("data:")?`<${vv(e,!1)}>`:e}const Fw=(e={})=>{const t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,r,o){Mv(m_,o.getOptions().stackParser,n,t,e,r)}}},Bw=/^HTML(\w*)Element$/;function Uw(e){if("undefined"!=typeof window&&e===window)return"[Window]";if("undefined"!=typeof document&&e===document)return"[Document]";if(function(e){if("undefined"==typeof Element)return!1;try{return e instanceof Element}catch{return!1}}(e)){const t=function(e){const t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}(e);if(Bw.test(t))return`[HTMLElement: ${Tb(e)}]`}}function Hw(e){return[Av(),Tv(),{name:"ConversationId",setup(e){e.on("spanStart",e=>{const t=zh().getScopeData(),n=Vh().getScopeData(),r=t.conversationId||n.conversationId;if(r){const{op:t,data:n,description:o}=$m(e);if(!t?.startsWith("gen_ai.")&&!n["ai.operationId"]&&!o?.startsWith("ai."))return;e.setAttribute("gen_ai.conversation.id",r)}})}},Aw(),Cw(),Nw(),Fw(),Wv(),{name:"HttpContext",preprocessEvent(e){if(!u_.navigator&&!u_.location&&!u_.document)return;const t=h_(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}},processSpan(e){if(!u_.navigator&&!u_.location&&!u_.document)return;const t=h_();Qg(e,{[Xg]:t.headers["User-Agent"],...e.is_segment&&{[Jg]:"http.client"!==e.attributes?.["sentry.op"]?pv(t.url):void 0,"http.request.header.referer":t.headers.Referer}})}},{name:"CultureContext",preprocessEvent(e){const t=Lw();t&&(e.contexts={...e.contexts,culture:{...t,...e.contexts?.culture}})},processSegmentSpan(e){const t=Lw();t&&Qg(e,{"culture.locale":t.locale,"culture.timezone":t.timezone,"culture.calendar":t.calendar})}},Pw()]}const Ww=ef,qw="sentryReplaySession",zw="Unable to send Replay",Vw=15e4,Gw=5e3,Kw=2e7;var Jw=Object.defineProperty,Yw=(e,t,n)=>((e,t,n)=>t in e?Jw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n),Xw=(e=>(e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e))(Xw||{});function Qw(e){const t=e?.host;return Boolean(t?.shadowRoot===e)}function Zw(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function eS(e){try{const n=e.rules||e.cssRules;return n?((t=Array.from(n,tS).join("")).includes(" background-clip: text;")&&!t.includes(" -webkit-background-clip: text;")&&(t=t.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),t):null}catch(n){return null}var t}function tS(e){let t;if(function(e){return"styleSheet"in e}(e))try{t=eS(e.styleSheet)||function(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(" ")+";"}(e)}catch(n){}else if(function(e){return"selectorText"in e}(e)){let t=e.cssText;const n=e.selectorText.includes(":"),r="string"==typeof e.style.all&&e.style.all;if(r&&(t=function(e){let t="";for(let n=0;n<e.style.length;n++){const r=e.style,o=r[n],s=r.getPropertyPriority(o);t+=`${o}:${r.getPropertyValue(o)}${s?" !important":""};`}return`${e.selectorText} { ${t} }`}(e)),n&&(t=t.replace(/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,"$1\\$2")),n||r)return t}return t||e.cssText}class nS{constructor(){Yw(this,"idNodeMap",new Map),Yw(this,"nodeMetaMap",new WeakMap)}getId(e){if(!e)return-1;const t=this.getMeta(e)?.id;return t??-1}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){const t=this.getId(e);
2this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach(e=>this.removeNodeFromMap(e))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){const n=t.id;this.idNodeMap.set(n,e),this.nodeMetaMap.set(e,t)}replace(e,t){const n=this.getNode(e);if(n){const e=this.nodeMetaMap.get(n);e&&this.nodeMetaMap.set(t,e)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function rS({maskInputOptions:e,tagName:t,type:n}){return"OPTION"===t&&(t="SELECT"),Boolean(e[t.toLowerCase()]||n&&e[n]||"password"===n||"INPUT"===t&&!n&&e.text)}function oS({isMasked:e,element:t,value:n,maskInputFn:r}){let o=n||"";return e?(r&&(o=r(o,t)),"*".repeat(o.length)):o}function sS(e){return e.toLowerCase()}function iS(e){return e.toUpperCase()}const aS="__rrweb_original__";function cS(e){const t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?sS(t):null}function lS(e,t,n){return"INPUT"!==t||"radio"!==n&&"checkbox"!==n?e.value:e.getAttribute("value")||""}function uS(e,t){let n;try{n=new URL(e,t??window.location.href)}catch(o){return null}const r=n.pathname.match(/\.([0-9a-z]+)(?:$)/i);return r?.[1]??null}const dS={};function pS(e){const t=dS[e];if(t)return t;const n=window.document;let r=window[e];if(n&&"function"==typeof n.createElement)try{const t=n.createElement("iframe");t.hidden=!0,n.head.appendChild(t);const o=t.contentWindow;o&&o[e]&&(r=o[e]),n.head.removeChild(t)}catch(hC){}return dS[e]=r.bind(window)}function fS(...e){return pS("setTimeout")(...e)}function hS(...e){return pS("clearTimeout")(...e)}function mS(e){try{return e.contentDocument}catch{}}let gS=1;const yS=new RegExp("[^a-z0-9-_:]");function vS(){return gS++}let _S,bS;const wS=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,SS=/^(?:[a-z+]+:)?\/\//i,kS=/^www\..*/i,ES=/^(data:)([^,]*),(.*)/i;function xS(e,t){return(e||"").replace(wS,(e,n,r,o,s,i)=>{const a=r||s||i,c=n||o||"";if(!a)return e;if(SS.test(a)||kS.test(a))return`url(${c}${a}${c})`;if(ES.test(a))return`url(${c}${a}${c})`;if("/"===a[0])return`url(${c}${function(e){let t="";return t=e.indexOf("//")>-1?e.split("/").slice(0,3).join("/"):e.split("/")[0],t=t.split("?")[0],t}(t)+a}${c})`;const l=t.split("/"),u=a.split("/");l.pop();for(const t of u)"."!==t&&(".."===t?l.pop():l.push(t));return`url(${c}${l.join("/")}${c})`})}const TS=/^[^ \t\n\r\u000c]+/,CS=/^[, \t\n\r\u000c]+/,IS=new WeakMap;function AS(e,t){return t&&""!==t.trim()?RS(e,t):t}function RS(e,t){let n=IS.get(e);if(n||(n=e.createElement("a"),IS.set(e,n)),t){if(t.startsWith("blob:")||t.startsWith("data:"))return t}else t="";return n.setAttribute("href",t),n.href}function OS(e,t,n,r,o,s,i){if(!r)return r;if("src"===n||"href"===n&&("use"!==t||"#"!==r[0]))return AS(e,r);if("xlink:href"===n&&"#"!==r[0])return AS(e,r);if("background"===n&&("table"===t||"td"===t||"th"===t))return AS(e,r);if("srcset"===n)return function(e,t){if(""===t.trim())return t;let n=0;function r(e){let r;const o=e.exec(t.substring(n));return o?(r=o[0],n+=r.length,r):""}const o=[];for(;r(CS),!(n>=t.length);){let s=r(TS);if(","===s.slice(-1))s=AS(e,s.substring(0,s.length-1)),o.push(s);else{let r="";s=AS(e,s);let i=!1;for(;;){const e=t.charAt(n);if(""===e){o.push((s+r).trim());break}if(i)")"===e&&(i=!1);else{if(","===e){n+=1,o.push((s+r).trim());break}"("===e&&(i=!0)}r+=e,n+=1}}}return o.join(", ")}(e,r);if("style"===n){let t=xS(r,RS(e));return i&&i.size>0&&(t=function(e,t){if(!e||0===t.size)return e;try{const n=e.split(";"),r=[];for(let e of n){if(e=e.trim(),!e)continue;const n=e.indexOf(":");if(-1===n){r.push(e);continue}const o=e.slice(0,n).trim();t.has(o)||r.push(e)}return r.join("; ")+(r.length>0&&e.endsWith(";")?";":"")}catch(n){return e}}(t,i)),t}return"object"===t&&"data"===n?AS(e,r):"function"==typeof s?s(n,r,o):r}function MS(e,t,n){return("video"===e||"audio"===e)&&"autoplay"===t}function PS(e,t,n=1/0,r=0){return e?e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:PS(e.parentNode,t,n,r+1):-1}function LS(e,t){return n=>{const r=n;if(null===r)return!1;try{if(e)if("string"==typeof e){if(r.matches(`.${e}`))return!0}else if(function(e,t){for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}return!1}(r,e))return!0;return!(!t||!r.matches(t))}catch{return!1}}}function NS(e,t,n,r,o,s){try{const i=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(null===i)return!1;if("INPUT"===i.tagName){const e=i.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(e))return!0}let a=-1,c=-1;if(s){if(c=PS(i,LS(r,o)),c<0)return!0;a=PS(i,LS(t,n),c>=0?c:1/0)}else{if(a=PS(i,LS(t,n)),a<0)return!1;c=PS(i,LS(r,o),a>=0?a:1/0)}return a>=0?!(c>=0)||a<=c:!(c>=0||!s)}catch(hC){}return!!s}function DS(e){return null==e?"":e.toLowerCase()}function $S(e,t){const{doc:n,mirror:r,blockClass:o,blockSelector:s,unblockSelector:i,maskAllText:a,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:d,skipChild:p=!1,inl
2ineStylesheet:f=!0,maskInputOptions:h={},maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:v,dataURLOptions:_={},inlineImages:b=!1,recordCanvas:w=!1,onSerialize:S,onIframeLoad:k,iframeLoadTimeout:E=5e3,onBlockedImageLoad:x,onStylesheetLoad:T,stylesheetLoadTimeout:C=5e3,keepIframeSrcFn:I=()=>!1,newlyAddedElement:A=!1,ignoreCSSAttributes:R}=t;let{preserveWhiteSpace:O=!0}=t;const M=function(e,t){const{doc:n,mirror:r,blockClass:o,blockSelector:s,unblockSelector:i,maskAllText:a,maskAttributeFn:c,maskTextClass:l,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:p,inlineStylesheet:f,maskInputOptions:h={},maskTextFn:m,maskInputFn:g,dataURLOptions:y={},inlineImages:v,recordCanvas:_,keepIframeSrcFn:b,newlyAddedElement:w=!1,ignoreCSSAttributes:S}=t,k=function(e,t){if(!t.hasNode(e))return;const n=t.getId(e);return 1===n?void 0:n}(n,r);switch(e.nodeType){case e.DOCUMENT_NODE:return"CSS1Compat"!==e.compatMode?{type:Xw.Document,childNodes:[],compatMode:e.compatMode}:{type:Xw.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:Xw.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:k};case e.ELEMENT_NODE:return function(e,t){const{doc:n,blockClass:r,blockSelector:o,unblockSelector:s,inlineStylesheet:i,maskInputOptions:a={},maskAttributeFn:c,maskInputFn:l,dataURLOptions:u={},inlineImages:d,recordCanvas:p,keepIframeSrcFn:f,newlyAddedElement:h=!1,rootId:m,maskTextClass:g,unmaskTextClass:y,maskTextSelector:v,unmaskTextSelector:_,ignoreCSSAttributes:b}=t,w=function(e,t,n,r){try{if(r&&e.matches(r))return!1;if("string"==typeof t){if(e.classList.contains(t))return!0}else for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}if(n)return e.matches(n)}catch(hC){}return!1}(e,r,o,s),S=function(e){if(e instanceof HTMLFormElement)return"form";const t=sS(e.tagName);return yS.test(t)?"div":t}(e);let k={};const E=e.attributes.length;for(let C=0;C<E;C++){const t=e.attributes[C];t.name&&!MS(S,t.name,t.value)&&(k[t.name]=OS(n,S,sS(t.name),t.value,e,c,b))}if("link"===S&&i){const t=Array.from(n.styleSheets).find(t=>t.href===e.href);let r=null;t&&(r=eS(t)),r&&(k.rel=null,k.href=null,k.crossorigin=null,k._cssText=xS(r,t.href))}if("style"===S&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){const t=eS(e.sheet);t&&(k._cssText=xS(t,RS(n)))}if("input"===S||"textarea"===S||"select"===S||"option"===S){const t=e,n=cS(t),r=lS(t,iS(S),n),o=t.checked;if("submit"!==n&&"button"!==n&&r){const e=NS(t,g,v,y,_,rS({type:n,tagName:iS(S),maskInputOptions:a}));k.value=oS({isMasked:e,element:t,value:r,maskInputFn:l})}o&&(k.checked=o)}if("option"===S&&(e.selected&&!a.select?k.selected=!0:delete k.selected),"canvas"===S&&p)if("2d"===e.__context)(function(e){const t=e.getContext("2d");if(!t)return!0;for(let n=0;n<e.width;n+=50)for(let r=0;r<e.height;r+=50){const o=t.getImageData,s=aS in o?o[aS]:o;if(new Uint32Array(s.call(t,n,r,Math.min(50,e.width-n),Math.min(50,e.height-r)).data.buffer).some(e=>0!==e))return!1}return!0})(e)||(k.rr_dataURL=e.toDataURL(u.type,u.quality));else if(!("__context"in e)){const t=e.toDataURL(u.type,u.quality),r=n.createElement("canvas");r.width=e.width,r.height=e.height,t!==r.toDataURL(u.type,u.quality)&&(k.rr_dataURL=t)}if("img"===S&&d){_S||(_S=n.createElement("canvas"),bS=_S.getContext("2d"));const t=e,r=(t.currentSrc||t.getAttribute("src"),t.crossOrigin),o=()=>{t.removeEventListener("load",o);try{_S.width=t.naturalWidth,_S.height=t.naturalHeight,bS.drawImage(t,0,0),k.rr_dataURL=_S.toDataURL(u.type,u.quality)}catch(e){if("anonymous"!==t.crossOrigin)return t.crossOrigin="anonymous",void(t.complete&&0!==t.naturalWidth?o():t.addEventListener("load",o))}"anonymous"===t.crossOrigin&&(r?k.crossOrigin=r:t.removeAttribute("crossorigin"))};t.complete&&0!==t.naturalWidth?o():t.addEventListener("load",o)}if("audio"!==S&&"video"!==S||(k.rr_mediaState=e.paused?"paused":"played",k.rr_mediaCurrentTime=e.currentTime),h||(e.scrollLeft&&(k.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(k.rr_scrollTop=e.scrollTop)),w){const{width:t,height:n}=e.getBoundingClientRect();k={class:k.class,rr_width:`${t}px`,rr_height:`${n}px`}}let x;
2"iframe"!==S||f(k.src)||(w||mS(e)||(k.rr_src=k.src),delete k.src);try{customElements.get(S)&&(x=!0)}catch(hC){}return{type:Xw.Element,tagName:S,attributes:k,childNodes:[],isSVG:(T=e,Boolean("svg"===T.tagName||T.ownerSVGElement)||void 0),needBlock:w,rootId:m,isCustom:x};var T}(e,{doc:n,blockClass:o,blockSelector:s,unblockSelector:i,inlineStylesheet:f,maskAttributeFn:c,maskInputOptions:h,maskInputFn:g,dataURLOptions:y,inlineImages:v,recordCanvas:_,keepIframeSrcFn:b,newlyAddedElement:w,rootId:k,maskTextClass:l,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:p,ignoreCSSAttributes:S});case e.TEXT_NODE:return function(e,t){const{maskAllText:n,maskTextClass:r,unmaskTextClass:o,maskTextSelector:s,unmaskTextSelector:i,maskTextFn:a,maskInputOptions:c,maskInputFn:l,rootId:u}=t,d=e.parentNode&&e.parentNode.tagName;let p=e.textContent;const f="STYLE"===d||void 0,h="SCRIPT"===d||void 0,m="TEXTAREA"===d||void 0;if(f&&p){try{e.nextSibling||e.previousSibling||e.parentNode.sheet?.cssRules&&(p=eS(e.parentNode.sheet))}catch(y){}p=xS(p,RS(t.doc))}h&&(p="SCRIPT_PLACEHOLDER");const g=NS(e,r,s,o,i,n);return f||h||m||!p||!g||(p=a?a(p,e.parentElement):p.replace(/[\S]/g,"*")),m&&p&&(c.textarea||g)&&(p=l?l(p,e.parentNode):p.replace(/[\S]/g,"*")),"OPTION"===d&&p&&(p=oS({isMasked:NS(e,r,s,o,i,rS({type:null,tagName:d,maskInputOptions:c})),element:e,value:p,maskInputFn:l})),{type:Xw.Text,textContent:p||"",isStyle:f,rootId:u}}(e,{doc:n,maskAllText:a,maskTextClass:l,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:p,maskTextFn:m,maskInputOptions:h,maskInputFn:g,rootId:k});case e.CDATA_SECTION_NODE:return{type:Xw.CDATA,textContent:"",rootId:k};case e.COMMENT_NODE:return{type:Xw.Comment,textContent:e.textContent||"",rootId:k};default:return!1}}(e,{doc:n,mirror:r,blockClass:o,blockSelector:s,maskAllText:a,unblockSelector:i,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:d,inlineStylesheet:f,maskInputOptions:h,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,dataURLOptions:_,inlineImages:b,recordCanvas:w,keepIframeSrcFn:I,newlyAddedElement:A,ignoreCSSAttributes:R});if(!M)return null;let P;P=r.hasNode(e)?r.getId(e):!function(e,t){if(t.comment&&e.type===Xw.Comment)return!0;if(e.type===Xw.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&"js"===uS(e.attributes.href)))return!0;if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(DS(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===DS(e.attributes.name)||"icon"===DS(e.attributes.rel)||"apple-touch-icon"===DS(e.attributes.rel)||"shortcut icon"===DS(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&DS(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(DS(e.attributes.property).match(/^(og|twitter|fb):/)||DS(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===DS(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===DS(e.attributes.name)||"googlebot"===DS(e.attributes.name)||"bingbot"===DS(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;if(t.headMetaAuthorship&&("author"===DS(e.attributes.name)||"generator"===DS(e.attributes.name)||"framework"===DS(e.attributes.name)||"publisher"===DS(e.attributes.name)||"progid"===DS(e.attributes.name)||DS(e.attributes.property).match(/^article:/)||DS(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&("google-site-verification"===DS(e.attributes.name)||"yandex-verification"===DS(e.attributes.name)||"csrf-token"===DS(e.attributes.name)||"p:domain_verify"===DS(e.attributes.name)||"verify-v1"===DS(e.attributes.name)||"verification"===DS(e.attributes.name)||"shopify-checkout-api-token"===DS(e.attributes.name)))return!0}}return!1}(M,v)&&(O||M.type!==Xw.Text||M.isStyle||M.textContent.trim().length)?vS():-2;const L=Object.assign(M,{id:P});if(r.add(e,L),-2===P)return null;S&&S(e);let N=!p;if(L.type===Xw.Element){N=N&&!L.needBlock;const t=e.shadowRoot;t&&Zw(t)&&(L.isShadowHost=!0)}if((L.type===Xw.Document||L.type===Xw.Element)&&N){v.headWhitespace&&L.type===Xw.Element&&"head"===L.tagName&&(O=!1);const t={doc:n,mirror:r,blockClass:o,blockSelector:s,maskAllText:a,unblockSelector:i,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:d,skipChild:p,inlineStylesheet:f,maskInputOptions:h,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:v,dataURLOptions:_,inlineImages:b,recordCanvas:w,preserveWhiteSpace:O,onSerialize:S,onIframeLoad:k,iframeLoadTimeout:E,onBlockedImageLoad:x,onStylesheetLoad:T,stylesheetLoadTimeout:C,keepIframeSrcFn:I,ignoreCSSAttributes:R},A=e.childNodes?Array.from(e.childNodes):[];for(const e of A){const n=$S(e,t);n&&L.childNodes.push(n)}
2if(function(e){return e.nodeType===e.ELEMENT_NODE}(e)&&e.shadowRoot)for(const n of Array.from(e.shadowRoot.childNodes)){const r=$S(n,t);r&&(Zw(e.shadowRoot)&&(r.isShadow=!0),L.childNodes.push(r))}}if(e.parentNode&&Qw(e.parentNode)&&Zw(e.parentNode)&&(L.isShadow=!0),L.type!==Xw.Element||"iframe"!==L.tagName||L.needBlock||function(e,t,n){const r=function(e){try{return e.contentWindow}catch{}}(e);if(!r)return;let o,s=!1;try{o=r.document.readyState}catch(a){return}if("complete"!==o){const r=fS(()=>{s||(t(),s=!0)},n);return void e.addEventListener("load",()=>{hS(r),s=!0,t()})}const i="about:blank";if(r.location.href!==i||e.src===i||""===e.src)return fS(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}(e,()=>{const t=mS(e);if(t&&k){const n=$S(t,{doc:t,mirror:r,blockClass:o,blockSelector:s,unblockSelector:i,maskAllText:a,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:f,maskInputOptions:h,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:v,dataURLOptions:_,inlineImages:b,recordCanvas:w,preserveWhiteSpace:O,onSerialize:S,onIframeLoad:k,iframeLoadTimeout:E,onStylesheetLoad:T,stylesheetLoadTimeout:C,keepIframeSrcFn:I,ignoreCSSAttributes:R});n&&k(e,n)}},E),L.type===Xw.Element&&"img"===L.tagName&&!e.complete&&L.needBlock){const t=e,n=()=>{if(t.isConnected&&!t.complete&&x)try{const e=t.getBoundingClientRect();e.width>0&&e.height>0&&x(t,L,e)}catch(e){}t.removeEventListener("load",n)};t.isConnected&&t.addEventListener("load",n)}return L.type===Xw.Element&&"link"===L.tagName&&"string"==typeof L.attributes.rel&&("stylesheet"===L.attributes.rel||"preload"===L.attributes.rel&&"string"==typeof L.attributes.href&&"css"===uS(L.attributes.href))&&function(e,t,n){let r,o=!1;try{r=e.sheet}catch(i){r=null}if(r)return;const s=fS(()=>{o||(t(),o=!0)},n);e.addEventListener("load",()=>{hS(s),o=!0,t()})}(e,()=>{if(T){const t=$S(e,{doc:n,mirror:r,blockClass:o,blockSelector:s,unblockSelector:i,maskAllText:a,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:f,maskInputOptions:h,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:v,dataURLOptions:_,inlineImages:b,recordCanvas:w,preserveWhiteSpace:O,onSerialize:S,onIframeLoad:k,iframeLoadTimeout:E,onStylesheetLoad:T,stylesheetLoadTimeout:C,keepIframeSrcFn:I,ignoreCSSAttributes:R});t&&T(e,t)}},C),L.type===Xw.Element&&delete L.needBlock,L}function jS(e,t,n=document){const r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}let FS={map:{},getId:()=>-1,getNode:()=>null,removeNodeFromMap(){},has:()=>!1,reset(){}};function BS(e,t,n={}){let r=null,o=0;return function(...s){const i=Date.now();o||!1!==n.leading||(o=i);const a=t-(i-o),c=this;a<=0||a>t?(r&&(function(...e){sk("clearTimeout")(...e)}(r),r=null),o=i,e.apply(c,s)):r||!1===n.trailing||(r=ik(()=>{o=!1===n.leading?0:Date.now(),r=null,e.apply(c,s)},a))}}function US(e,t,n,r,o=window){const s=o.Object.getOwnPropertyDescriptor(e,t);return o.Object.defineProperty(e,t,r?n:{set(e){ik(()=>{n.set.call(this,e)},0),s&&s.set&&s.set.call(this,e)}}),()=>US(e,t,s||{},!0)}function HS(e,t,n){try{if(!(t in e))return()=>{};const r=e[t],o=n(r);return"function"==typeof o&&(o.prototype=o.prototype||{},Object.defineProperties(o,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=o,()=>{e[t]=r}}catch{return()=>{}}}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(FS=new Proxy(FS,{get:(e,t,n)=>Reflect.get(e,t,n)}));let WS=Date.now;function qS(e){const t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:t?.documentElement.scrollLeft||t?.body?.parentElement?.scrollLeft||t?.body?.scrollLeft||0,top:t.scrollingElement?t.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:t?.documentElement.scrollTop||t?.body?.parentElement?.scrollTop||t?.body?.scrollTop||0}}function zS(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function VS(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function GS(e){if(!e)return null;
2try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch(t){return null}}function KS(e,t,n,r,o){if(!e)return!1;const s=GS(e);if(!s)return!1;const i=LS(t,n);if(!o){const e=r&&s.matches(r);return i(s)&&!e}const a=PS(s,i);let c=-1;return!(a<0)&&(r&&(c=PS(s,LS(null,r))),a>-1&&c<0||a<c)}function JS(e,t){return-2===t.getId(e)}function YS(e,t){if(Qw(e))return!1;const n=t.getId(e);return!t.has(n)||(!e.parentNode||e.parentNode.nodeType!==e.DOCUMENT_NODE)&&(!e.parentNode||YS(e.parentNode,t))}function XS(e){return Boolean(e.changedTouches)}function QS(e,t){return Boolean("IFRAME"===e.nodeName&&t.getMeta(e))}function ZS(e,t){return Boolean("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function ek(e){return Boolean(e?.shadowRoot)}/[1-9][0-9]{12}/.test(Date.now().toString())||(WS=()=>(new Date).getTime());class tk{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){return this.styleIDMap.get(e)??-1}has(e){return this.styleIDMap.has(e)}add(e,t){if(this.has(e))return this.getId(e);let n;return n=void 0===t?this.id++:t,this.styleIDMap.set(e,n),this.idStyleMap.set(n,e),n}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function nk(e){let t=null;return e.getRootNode?.()?.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function rk(e){const t=e.ownerDocument;return!!t&&(t.contains(e)||function(e){const t=e.ownerDocument;if(!t)return!1;const n=function(e){let t,n=e;for(;t=nk(n);)n=t;return n}(e);return t.contains(n)}(e))}const ok={};function sk(e){const t=ok[e];if(t)return t;const n=window.document;let r=window[e];if(n&&"function"==typeof n.createElement)try{const t=n.createElement("iframe");t.hidden=!0,n.head.appendChild(t);const o=t.contentWindow;o&&o[e]&&(r=o[e]),n.head.removeChild(t)}catch(hC){}return ok[e]=r.bind(window)}function ik(...e){return sk("setTimeout")(...e)}var ak=(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))(ak||{}),ck=(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))(ck||{}),lk=(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))(lk||{}),uk=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(uk||{}),dk=(e=>(e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange",e[e.RateChange=4]="RateChange",e))(dk||{});let pk;const fk=e=>pk?(...t)=>{try{return e(...t)}catch(n){if(pk&&!0===pk(n))return()=>{};throw n}}:e;for(var hk="undefined"==typeof Uint8Array?[]:new Uint8Array(256),mk=0;mk<64;mk++)hk["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(mk)]=mk;class gk{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}addWindow(){}addShadowRoot(){}resetShadowRoots(){}}function yk(e){try{return e.contentDocument}catch(hC){}}function vk(e){try{return e.contentWindow}catch(hC){}}class _k{constructor(e){this.doc=e,this.unattachedDoc=null}parse(e){return this.parseWithConstructableStylesheet(e)||this.parseWithDetachedElement(e)}parseWithConstructableStylesheet(e){if("undefined"==typeof CSSStyleSheet||"function"!=typeof CSSStyleSheet.prototype.replaceSync)return null;try{const t=new CSSStyleSheet;t.replaceSync(`x { ${e} }`);const n=t.cssRules[0];
2return n&&n.type===CSSRule.STYLE_RULE?n.style:null}catch{return null}}parseWithDetachedElement(e){const t=this.getUnattachedDoc().createElement("span");return t.setAttribute("style",e),t.style}getUnattachedDoc(){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch{this.unattachedDoc=this.doc}return this.unattachedDoc}}function bk(e){return"__ln"in e}class wk{constructor(){this.length=0,this.head=null,this.tail=null}get(e){if(e>=this.length)throw new Error("Position outside of list range");let t=this.head;for(let n=0;n<e;n++)t=t?.next||null;return t}addNode(e){const t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&bk(e.previousSibling)){const n=e.previousSibling.__ln.next;t.next=n,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,n&&(n.previous=t)}else if(e.nextSibling&&bk(e.nextSibling)&&e.nextSibling.__ln.previous){const n=e.nextSibling.__ln.previous;t.previous=n,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,n&&(n.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&&(this.tail=t),this.length++}removeNode(e){const t=e.__ln;this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)}}const Sk=(e,t)=>`${e}@${t}`;class kk{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=e=>{e.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;const e=[],t=new Set,n=new wk,r=e=>{let t=e,n=-2;for(;-2===n;)t=t&&t.nextSibling,n=t&&this.mirror.getId(t);return n},o=o=>{if(!o.parentNode||!rk(o))return;const s=Qw(o.parentNode)?this.mirror.getId(nk(o)):this.mirror.getId(o.parentNode),i=r(o);if(-1===s||-1===i)return n.addNode(o);const a=$S(o,{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:e=>{QS(e,this.mirror)&&!KS(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&this.iframeManager.addIframe(e),ZS(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),ek(o)&&this.shadowDomManager.addShadowRoot(o.shadowRoot,this.doc)},onIframeLoad:(e,t)=>{if(KS(e,this.blockClass,this.blockSelector,this.unblockSelector,!1))return;this.iframeManager.attachIframe(e,t);const n=vk(e);n&&this.canvasManager.addWindow(n),this.shadowDomManager.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{this.stylesheetManager.attachLinkElement(e,t)},onBlockedImageLoad:(e,t,{width:n,height:r})=>{this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:{style:{width:`${n}px`,height:`${r}px`}}}]})},ignoreCSSAttributes:this.ignoreCSSAttributes});a&&(e.push({parentId:s,nextId:i,node:a}),t.add(a.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const a of this.movedSet)xk(this.removes,a,this.mirror)&&!this.movedSet.has(a.parentNode)||o(a);for(const a of this.addedSet)Tk(this.droppedSet,a)||xk(this.removes,a,this.mirror)?Tk(this.movedSet,a)?o(a):this.droppedSet.add(a):o(a);let s=null;for(;n.length;){let e=null;if(s){const t=this.mirror.getId(s.value.parentNode),n=r(s.value);-1!==t&&-1!==n&&(e=s)}if(!e){let t=n.tail;for(;t;){const n=t;if(t=t.previous,n){const t=this.mirror.getId(n.value.parentNode);if(-1===r(n.value))continue;if(-1!==t){e=n;break}{const t=n.value;if(t.parentNode&&t.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const r=t.parentNode.host;if(-1!==this.mirror.getId(r)){e=n;break}}}}}}if(!e){for(;n.head;)n.removeNode(n.head.value);break}s=e.previous,n.removeNode(e.value),o(e.value)}const i={texts:this.texts.map(e=>
2({id:this.mirror.getId(e.node),value:e.value})).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),attributes:this.attributes.map(e=>{const{attributes:t}=e;if("string"==typeof t.style){const n=JSON.stringify(e.styleDiff),r=JSON.stringify(e._unchangedStyles);n.length<t.style.length&&(n+r).split("var(").length===t.style.split("var(").length&&(t.style=e.styleDiff)}return{id:this.mirror.getId(e.node),attributes:t}}).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),removes:this.removes,adds:e};(i.texts.length||i.attributes.length||i.removes.length||i.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(i))},this.processMutation=e=>{if(!JS(e.target,this.mirror))switch(e.type){case"characterData":{const t=e.target.textContent;KS(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||t===e.oldValue||this.texts.push({value:NS(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&t?this.maskTextFn?this.maskTextFn(t,GS(e.target)):t.replace(/[\S]/g,"*"):t,node:e.target});break}case"attributes":{const t=e.target;let n=e.attributeName,r=e.target.getAttribute(n);if("value"===n){const n=cS(t),o=t.tagName;r=lS(t,o,n);const s=rS({maskInputOptions:this.maskInputOptions,tagName:o,type:n});r=oS({isMasked:NS(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,s),element:t,value:r,maskInputFn:this.maskInputFn})}if(KS(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||r===e.oldValue)return;let o=this.attributeMap.get(e.target);if("IFRAME"===t.tagName&&"src"===n&&!this.keepIframeSrcFn(r)){if(yk(t))return;n="rr_src"}if(o||(o={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(o),this.attributeMap.set(e.target,o)),"type"===n&&"INPUT"===t.tagName&&"password"===(e.oldValue||"").toLowerCase()&&t.setAttribute("data-rr-is-password","true"),!MS(t.tagName,n)&&(o.attributes[n]=OS(this.doc,sS(t.tagName),sS(n),r,t,this.maskAttributeFn),"style"===n)){const n=e.oldValue?this.styleDeclarationParser.parse(e.oldValue):null;for(const e of Array.from(t.style)){const r=t.style.getPropertyValue(e),s=t.style.getPropertyPriority(e);r!==(n?.getPropertyValue(e)||"")||s!==(n?.getPropertyPriority(e)||"")?o.styleDiff[e]=""===s?r:[r,s]:o._unchangedStyles[e]=[r,s]}if(n)for(const e of Array.from(n))""===t.style.getPropertyValue(e)&&(o.styleDiff[e]=!1)}break}case"childList":if(KS(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;e.addedNodes.forEach(t=>this.genAdds(t,e.target)),e.removedNodes.forEach(t=>{const n=this.mirror.getId(t),r=Qw(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);KS(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||JS(t,this.mirror)||!function(e,t){return-1!==t.getId(e)}(t,this.mirror)||(this.addedSet.has(t)?(Ek(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===n||YS(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[Sk(n,r)]?Ek(this.movedSet,t):this.removes.push({parentId:r,id:n,isShadow:!(!Qw(e.target)||!Zw(e.target))||void 0})),this.mapRemoves.push(t))})}},this.genAdds=(e,t)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)&&!this.addedSet.has(e)&&!this.movedSet.has(e)){if(this.mirror.hasNode(e)){if(JS(e,this.mirror))return;this.movedSet.add(e);let n=null;t&&this.mirror.hasNode(t)&&(n=this.mirror.getId(t)),n&&-1!==n&&(this.movedMap[Sk(this.mirror.getId(e),n)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);KS(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(e.childNodes&&e.childNodes.forEach(e=>this.genAdds(e)),ek(e)&&e.shadowRoot.childNodes.forEach(t=>{this.processedNodeManager.add(t,this),this.genAdds(t,e)}))}}}init(e){["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager","ignoreCSSAttributes"].forEach(t=>{this[t]=e[t]}),this.styleDeclarationParser=new _k(this.doc)}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit
2()}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 Ek(e,t){e.delete(t),t.childNodes?.forEach(t=>Ek(e,t))}function xk(e,t,n){return 0!==e.length&&function(e,t,n){let r=t.parentNode;for(;r;){const t=n.getId(r);if(e.some(e=>e.id===t))return!0;r=r.parentNode}return!1}(e,t,n)}function Tk(e,t){return 0!==e.size&&Ck(e,t)}function Ck(e,t){const{parentNode:n}=t;return!!n&&(!!e.has(n)||Ck(e,n))}const Ik=[];function Ak(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 Rk(e,t){const n=new kk;Ik.push(n),n.init(e);let r=window.MutationObserver||window.__rrMutationObserver;const o=window?.Zone?.__symbol__?.("MutationObserver");o&&window[o]&&(r=window[o]);const s=new r(fk(t=>{e.onMutation&&!1===e.onMutation(t)||n.processMutations.bind(n)(t)}));return s.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),s}function Ok({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:o,unblockSelector:s,sampling:i}){return jS("scroll",fk(BS(fk(i=>{const a=Ak(i);if(!a||KS(a,r,o,s,!0))return;const c=n.getId(a);if(a===t&&t.defaultView){const n=qS(t.defaultView);e({id:c,x:n.left,y:n.top})}else e({id:c,x:a.scrollLeft,y:a.scrollTop})}),i.scroll||100)),t)}const Mk=["INPUT","TEXTAREA","SELECT"],Pk=new WeakMap;function Lk({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:o,unblockSelector:s,ignoreClass:i,ignoreSelector:a,maskInputOptions:c,maskInputFn:l,sampling:u,userTriggeredOnInput:d,maskTextClass:p,unmaskTextClass:f,maskTextSelector:h,unmaskTextSelector:m}){function g(e){let n=Ak(e);const u=e.isTrusted,g=n&&iS(n.tagName);if("OPTION"===g&&(n=n.parentElement),!n||!g||Mk.indexOf(g)<0||KS(n,r,o,s,!0))return;const v=n;if(v.classList.contains(i)||a&&v.matches(a))return;const _=cS(n);let b=lS(v,g,_),w=!1;const S=rS({maskInputOptions:c,tagName:g,type:_}),k=NS(n,p,h,f,m,S);"radio"!==_&&"checkbox"!==_||(w=n.checked),b=oS({isMasked:k,element:n,value:b,maskInputFn:l}),y(n,d?{text:b,isChecked:w,userTriggered:u}:{text:b,isChecked:w});const E=n.name;"radio"===_&&E&&w&&t.querySelectorAll(`input[type="radio"][name="${E}"]`).forEach(e=>{if(e!==n){const t=oS({isMasked:k,element:e,value:lS(e,g,_),maskInputFn:l});y(e,d?{text:t,isChecked:!w,userTriggered:!1}:{text:t,isChecked:!w})}})}function y(t,r){const o=Pk.get(t);if(!o||o.text!==r.text||o.isChecked!==r.isChecked){Pk.set(t,r);const o=n.getId(t);fk(e)({...r,id:o})}}const v=("last"===u.input?["change"]:["input","change"]).map(e=>jS(e,fk(g),t)),_=t.defaultView;if(!_)return()=>{v.forEach(e=>e())};const b=_.Object.getOwnPropertyDescriptor(_.HTMLInputElement.prototype,"value"),w=[[_.HTMLInputElement.prototype,"value"],[_.HTMLInputElement.prototype,"checked"],[_.HTMLSelectElement.prototype,"value"],[_.HTMLTextAreaElement.prototype,"value"],[_.HTMLSelectElement.prototype,"selectedIndex"],[_.HTMLOptionElement.prototype,"selected"]];return b&&b.set&&v.push(...w.map(e=>US(e[0],e[1],{set(){fk(g)({target:this,isTrusted:!1})}},!1,_))),fk(()=>{v.forEach(e=>e())})}function Nk(e){return function(e,t){if(Fk("CSSGroupingRule")&&e.parentRule instanceof CSSGroupingRule||Fk("CSSMediaRule")&&e.parentRule instanceof CSSMediaRule||Fk("CSSSupportsRule")&&e.parentRule instanceof CSSSupportsRule||Fk("CSSConditionRule")&&e.parentRule instanceof CSSConditionRule){const n=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(n)}else if(e.parentStyleSheet){const n=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(n)}return t}(e,[])}function Dk(e,t,n){let r,o;return e?(e.ownerNode?r=t.getId(e.ownerNode):o=n.getId(e),{styleId:o,id:r}):{}}function $k({mirror:e,stylesheetManager:t},n){let r=null;r="#document"===n.nodeName?e.getId(n):e.getId(n.host);const o="#document"===n.nodeName?n.defaultView?.Document:n.ownerDocument?.defaultView?.ShadowRoot,s=o?.prototype?Object.getOwnPropertyDescriptor(o?.prototype,"adoptedStyleSheets"):void 0;return null!==r&&-1!==r&&o&&s?(Object.defineProperty(n,"adoptedStyleSheets",{configurable:s.configurable,enumerable:s.enumerable,get(){return s.get?.call(this)},set(e){const n=s.set?.call(this,e);if(null!==r&&-1!==r)try{t.adoptStyleSheets(e,r)}catch(hC){}return n}}),fk(()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:s.configurable,enumerable:s.enumerable,get:s.get,set:s.set})})):()=>{}}function jk(e,t={}){const n=e.doc.defaultView;if(!n)return()=>{};let r;e.recordDOM&&(r=Rk(e,e.doc));const o=function({mousemoveCb:e,sampling:t,doc:n,mirror:r}){if(!1===t.mousemove)return()=>{};const o="number"==typeof t.mousemove?t.mousemove:50,s="number"==typeof t.mousemoveCallback?t.mousemoveCallback:500;let i,a=[];const c=BS(fk(t=>{const n=Date.now()-i;e(a.map(e=>(e.timeOffset-=n,e)),t),a=[],i=null}),s),l=fk(BS(fk(e=>{const t=Ak(e),{clientX:n,clientY:o}=XS(e)?e.changedTouches[0]:e;i||(i=WS()),a.push({x:n,y:o,id:r.getId(t),timeOffset:WS()-i}),c("undefined"!=typeof DragEvent&&e instanceof DragEvent?ck.Drag:e instanceof MouseEvent?ck.MouseMove:ck.TouchMove)}),o,{trailing:!1})),u=[jS("mousemove",l,n),jS("touchmove",l,n),jS("drag",l,n)];return fk(()=>
vendor: 4,217 bytes, line 2
2{u.forEach(e=>e())})}(e),s=function({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:o,unblockSelector:s,sampling:i}){if(!1===i.mouseInteraction)return()=>{};const a=!0===i.mouseInteraction||void 0===i.mouseInteraction?{}:i.mouseInteraction,c=[];let l=null;return Object.keys(lk).filter(e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==a[e]).forEach(i=>{let a=sS(i);const u=(t=>i=>{const a=Ak(i);if(KS(a,r,o,s,!0))return;let c=null,u=t;if("pointerType"in i){switch(i.pointerType){case"mouse":c=uk.Mouse;break;case"touch":c=uk.Touch;break;case"pen":c=uk.Pen}c===uk.Touch?lk[t]===lk.MouseDown?u="TouchStart":lk[t]===lk.MouseUp&&(u="TouchEnd"):uk.Pen}else XS(i)&&(c=uk.Touch);null!==c?(l=c,(u.startsWith("Touch")&&c===uk.Touch||u.startsWith("Mouse")&&c===uk.Mouse)&&(c=null)):lk[t]===lk.Click&&(c=l,l=null);const d=XS(i)?i.changedTouches[0]:i;if(!d)return;const p=n.getId(a),{clientX:f,clientY:h}=d;fk(e)({type:lk[u],id:p,x:f,y:h,...null!==c&&{pointerType:c}})})(i);if(window.PointerEvent)switch(lk[i]){case lk.MouseDown:case lk.MouseUp:a=a.replace("mouse","pointer");break;case lk.TouchStart:case lk.TouchEnd:return}c.push(jS(a,u,t))}),fk(()=>{c.forEach(e=>e())})}(e),i=Ok(e),a=function({viewportResizeCb:e},{win:t}){let n=-1,r=-1;return jS("resize",fk(BS(fk(()=>{const t=zS(),o=VS();n===t&&r===o||(e({width:Number(o),height:Number(t)}),n=t,r=o)}),200)),t)}(e,{win:n}),c=Lk(e),l=function({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:o,sampling:s,doc:i}){const a=fk(i=>BS(fk(s=>{const a=Ak(s);if(!a||KS(a,t,n,r,!0))return;const{currentTime:c,volume:l,muted:u,playbackRate:d}=a;e({type:i,id:o.getId(a),currentTime:c,volume:l,muted:u,playbackRate:d})}),s.media||500)),c=[jS("play",a(dk.Play),i),jS("pause",a(dk.Pause),i),jS("seeked",a(dk.Seeked),i),jS("volumechange",a(dk.VolumeChange),i),jS("ratechange",a(dk.RateChange),i)];return fk(()=>{c.forEach(e=>e())})}(e);let u=()=>{},d=()=>{},p=()=>{},f=()=>{};e.recordDOM&&(u=function({styleSheetRuleCb:e,mirror:t,stylesheetManager:n},{win:r}){if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};const o=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(o,{apply:fk((r,o,s)=>{const[i,a]=s,{id:c,styleId:l}=Dk(o,t,n.styleMirror);return(c&&-1!==c||l&&-1!==l)&&e({id:c,styleId:l,adds:[{rule:i,index:a}]}),r.apply(o,s)})});const s=r.CSSStyleSheet.prototype.deleteRule;let i,a;r.CSSStyleSheet.prototype.deleteRule=new Proxy(s,{apply:fk((r,o,s)=>{const[i]=s,{id:a,styleId:c}=Dk(o,t,n.styleMirror);return(a&&-1!==a||c&&-1!==c)&&e({id:a,styleId:c,removes:[{index:i}]}),r.apply(o,s)})}),r.CSSStyleSheet.prototype.replace&&(i=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(i,{apply:fk((r,o,s)=>{const[i]=s,{id:a,styleId:c}=Dk(o,t,n.styleMirror);return(a&&-1!==a||c&&-1!==c)&&e({id:a,styleId:c,replace:i}),r.apply(o,s)})})),r.CSSStyleSheet.prototype.replaceSync&&(a=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(a,{apply:fk((r,o,s)=>{const[i]=s,{id:a,styleId:c}=Dk(o,t,n.styleMirror);return(a&&-1!==a||c&&-1!==c)&&e({id:a,styleId:c,replaceSync:i}),r.apply(o,s)})}));const c={};Bk("CSSGroupingRule")?c.CSSGroupingRule=r.CSSGroupingRule:(Bk("CSSMediaRule")&&(c.CSSMediaRule=r.CSSMediaRule),Bk("CSSConditionRule")&&(c.CSSConditionRule=r.CSSConditionRule),Bk("CSSSupportsRule")&&(c.CSSSupportsRule=r.CSSSupportsRule));const l={};return Object.entries(c).forEach(([r,o])=>{l[r]={insertRule:o.prototype.insertRule,deleteRule:o.prototype.deleteRule},o.prototype.insertRule=new Proxy(l[r].insertRule,{apply:fk((r,o,s)=>{const[i,a]=s,{id:c,styleId:l}=Dk(o.parentStyleSheet,t,n.styleMirror);return(c&&-1!==c||l&&-1!==l)&&e({id:c,styleId:l,adds:[{rule:i,index:[...Nk(o),a||0]}]}),r.apply(o,s)})}),o.prototype.deleteRule=new Proxy(l[r].deleteRule,{apply:fk((r,o,s)=>{const[i]=s,{id:a,styleId:c}=Dk(o.parentStyleSheet,t,n.styleMirror);return(a&&-1!==a||c&&-1!==c)&&e({id:a,styleId:c,removes:[{index:[...Nk(o),i]}]}),r.apply(o,s)})})}),fk(()=>{r.CSSStyleSheet.prototype.insertRule=o,r.CSSStyleSheet.prototype.deleteRule=s,i&&(r.CSSStyleSheet.prototype.replace=i),a&&(r.CSSStyleSheet.prototype.replaceSync=a),Object.entries(c).forEac
vendor: 3,120 bytes, line 2
2h(([e,t])=>{t.prototype.insertRule=l[e].insertRule,t.prototype.deleteRule=l[e].deleteRule})})}(e,{win:n}),d=$k(e,e.doc),p=function({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:o}){const s=o.CSSStyleDeclaration.prototype.setProperty;o.CSSStyleDeclaration.prototype.setProperty=new Proxy(s,{apply:fk((o,i,a)=>{const[c,l,u]=a;if(n.has(c))return s.apply(i,[c,l,u]);const{id:d,styleId:p}=Dk(i.parentRule?.parentStyleSheet,t,r.styleMirror);return(d&&-1!==d||p&&-1!==p)&&e({id:d,styleId:p,set:{property:c,value:l,priority:u},index:Nk(i.parentRule)}),o.apply(i,a)})});const i=o.CSSStyleDeclaration.prototype.removeProperty;return o.CSSStyleDeclaration.prototype.removeProperty=new Proxy(i,{apply:fk((o,s,a)=>{const[c]=a;if(n.has(c))return i.apply(s,[c]);const{id:l,styleId:u}=Dk(s.parentRule?.parentStyleSheet,t,r.styleMirror);return(l&&-1!==l||u&&-1!==u)&&e({id:l,styleId:u,remove:{property:c},index:Nk(s.parentRule)}),o.apply(s,a)})}),fk(()=>{o.CSSStyleDeclaration.prototype.setProperty=s,o.CSSStyleDeclaration.prototype.removeProperty=i})}(e,{win:n}),e.collectFonts&&(f=function({fontCb:e,doc:t}){const n=t.defaultView;if(!n)return()=>{};const r=[],o=new WeakMap,s=n.FontFace;n.FontFace=function(e,t,n){const r=new s(e,t,n);return o.set(r,{family:e,buffer:"string"!=typeof t,descriptors:n,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),r};const i=HS(t.fonts,"add",function(t){return function(n){return ik(fk(()=>{const t=o.get(n);t&&(e(t),o.delete(n))}),0),t.apply(this,[n])}});return r.push(()=>{n.FontFace=s}),r.push(i),fk(()=>{r.forEach(e=>e())})}(e)));const h=function(e){const{doc:t,mirror:n,blockClass:r,blockSelector:o,unblockSelector:s,selectionCb:i}=e;let a=!0;const c=fk(()=>{const e=t.getSelection();if(!e||a&&e?.isCollapsed)return;a=e.isCollapsed||!1;const c=[],l=e.rangeCount||0;for(let t=0;t<l;t++){const i=e.getRangeAt(t),{startContainer:a,startOffset:l,endContainer:u,endOffset:d}=i;KS(a,r,o,s,!0)||KS(u,r,o,s,!0)||c.push({start:n.getId(a),startOffset:l,end:n.getId(u),endOffset:d})}i({ranges:c})});return c(),jS("selectionchange",c)}(e),m=function({doc:e,customElementCb:t}){const n=e.defaultView;return n&&n.customElements?HS(n.customElements,"define",function(e){return function(n,r,o){try{t({define:{name:n}})}catch(hC){}return e.apply(this,[n,r,o])}}):()=>{}}(e),g=[];for(const y of e.plugins)g.push(y.observer(y.callback,n,y.options));return fk(()=>{Ik.forEach(e=>e.reset()),r?.disconnect(),o(),s(),i(),a(),c(),l(),u(),d(),p(),f(),h(),m(),g.forEach(e=>e())})}function Fk(e){return void 0!==window[e]}function Bk(e){return Boolean(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class Uk{constructor(e){this.generateIdFn=e,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(e,t,n,r){const o=n||this.getIdToRemoteIdMap(e),s=r||this.getRemoteIdToIdMap(e);let i=o.get(t);return i||(i=this.generateIdFn(),o.set(t,i),s.set(i,t)),i}getIds(e,t){const n=this.getIdToRemoteIdMap(e),r=this.getRemoteIdToIdMap(e);return t.map(t=>this.getId(e,t,n,r))}
2getRemoteId(e,t,n){const r=n||this.getRemoteIdToIdMap(e);return"number"!=typeof t?t:r.get(t)||-1}getRemoteIds(e,t){const n=this.getRemoteIdToIdMap(e);return t.map(t=>this.getRemoteId(e,t,n))}reset(e){if(!e)return this.iframeIdToRemoteIdMap=new WeakMap,void(this.iframeRemoteIdToIdMap=new WeakMap);this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){let t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t}getRemoteIdToIdMap(e){let t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t}}class Hk{constructor(){this.crossOriginIframeMirror=new Uk(vS),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class Wk{constructor(e){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new Uk(vS),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new Uk(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(e){this.iframes.set(e,!0);const t=vk(e);t&&this.crossOriginIframeMap.set(t,e)}addLoadListener(e){this.loadListener=e}attachIframe(e,t){this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&&vk(e)?.addEventListener("message",this.handleMessage.bind(this)),this.loadListener?.(e);const n=yk(e);n&&n.adoptedStyleSheets&&n.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(n.adoptedStyleSheets,this.mirror.getId(n))}handleMessage(e){const t=e;if("rrweb"!==t.data.type||t.origin!==t.data.origin)return;if(!e.source)return;const n=this.crossOriginIframeMap.get(e.source);if(!n)return;const r=this.transformCrossOriginEvent(n,t.data.event);r&&this.wrappedEmit(r,t.data.isCheckout)}transformCrossOriginEvent(e,t){switch(t.type){case ak.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);const n=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,n),this.patchRootIdOnNode(t.data.node,n),{timestamp:t.timestamp,type:ak.IncrementalSnapshot,data:{source:ck.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case ak.Meta:case ak.Load:case ak.DomContentLoaded:return!1;case ak.Plugin:return t;case ak.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case ak.IncrementalSnapshot:switch(t.data.source){case ck.Mutation:return t.data.adds.forEach(t=>{this.replaceIds(t,e,["parentId","nextId","previousId"]),this.replaceIdOnNode(t.node,e);const n=this.crossOriginIframeRootIdMap.get(e);n&&this.patchRootIdOnNode(t.node,n)}),t.data.removes.forEach(t=>{this.replaceIds(t,e,["parentId","id"])}),t.data.attributes.forEach(t=>{this.replaceIds(t,e,["id"])}),t.data.texts.forEach(t=>{this.replaceIds(t,e,["id"])}),t;case ck.Drag:case ck.TouchMove:case ck.MouseMove:return t.data.positions.forEach(t=>{this.replaceIds(t,e,["id"])}),t;case ck.ViewportResize:return!1;case ck.MediaInteraction:case ck.MouseInteraction:case ck.Scroll:case ck.CanvasMutation:case ck.Input:return this.replaceIds(t.data,e,["id"]),t;case ck.StyleSheetRule:case ck.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case ck.Font:return t;case ck.Selection:return t.data.ranges.forEach(t=>{this.replaceIds(t,e,["start","end"])}),t;case ck.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),t.data.styles?.forEach(t=>{this.replaceStyleIds(t,e,["styleId"])}),t}}return!1}replace(e,t,n,r){for(const o of r)(Array.isArray(t[o])||"number"==typeof t[o])&&(Array.isArray(t[o])?t[o]=e.getIds(n,t[o]):t[o]=e.getId(n,t[o]));return t}replaceIds(e,t,n){return this.replace(this.crossOriginIframeMirror,e,t,n)}replaceStyleIds(e,t,n){return this.replace(this.crossOriginIframeStyleMirror,e,t,n)}replaceIdOnNode(e,t){this.replaceIds(e,t,["id","rootId"]),"childNodes"in e&&e.childNodes.forEac
2h(e=>{this.replaceIdOnNode(e,t)})}patchRootIdOnNode(e,t){e.type===Xw.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach(e=>{this.patchRootIdOnNode(e,t)})}}class qk{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class zk{constructor(e){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(e,t){if(!Zw(e))return;if(this.shadowDoms.has(e))return;this.shadowDoms.add(e),this.bypassOptions.canvasManager.addShadowRoot(e);const n=Rk({...this.bypassOptions,doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},e);this.restoreHandlers.push(()=>n.disconnect()),this.restoreHandlers.push(Ok({...this.bypassOptions,scrollCb:this.scrollCb,doc:e,mirror:this.mirror})),ik(()=>{e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(e.host)),this.restoreHandlers.push($k({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e))},0)}observeAttachShadow(e){const t=yk(e),n=vk(e);t&&n&&this.patchAttachShadow(n.Element,t)}patchAttachShadow(e,t){const n=this;this.restoreHandlers.push(HS(e.prototype,"attachShadow",function(e){return function(r){const o=e.call(this,r);return this.shadowRoot&&rk(this)&&n.addShadowRoot(this.shadowRoot,t),o}}))}reset(){this.restoreHandlers.forEach(e=>{try{e()}catch(hC){}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet,this.bypassOptions.canvasManager.resetShadowRoots()}}class Vk{constructor(e){this.trackedLinkElements=new WeakSet,this.styleMirror=new tk,this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}attachLinkElement(e,t){"_cssText"in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)}trackLinkElement(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))}adoptStyleSheets(e,t){if(0===e.length)return;const n={id:t,styleIds:[]},r=[];for(const o of e){let e;this.styleMirror.has(o)?e=this.styleMirror.getId(o):(e=this.styleMirror.add(o),r.push({styleId:e,rules:Array.from(o.rules||CSSRule,(e,t)=>({rule:tS(e),index:t}))})),n.styleIds.push(e)}r.length>0&&(n.styles=r),this.adoptedStyleSheetCb(n)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}}class Gk{constructor(){this.nodeMap=new WeakMap,this.active=!1}inOtherBuffer(e,t){const n=this.nodeMap.get(e);return n&&Array.from(n).some(e=>e!==t)}add(e,t){this.active||(this.active=!0,function(...e){sk("requestAnimationFrame")(...e)}(()=>{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))}destroy(){}}let Kk,Jk;try{if(2!==Array.from([1],e=>2*e)[0]){const e=document.createElement("iframe");document.body.appendChild(e),Array.from=e.contentWindow?.Array.from||Array.from,document.body.removeChild(e)}}catch(mC){}const Yk=new nS;function Xk(e={}){const{emit:t,checkoutEveryNms:n,checkoutEveryNth:r,blockClass:o="rr-block",blockSelector:s=null,unblockSelector:i=null,ignoreClass:a="rr-ignore",ignoreSelector:c=null,maskAllText:l=!1,maskTextClass:u="rr-mask",unmaskTextClass:d=null,maskTextSelector:p=null,unmaskTextSelector:f=null,inlineStylesheet:h=!0,maskAllInputs:m,maskInputOptions:g,slimDOMOptions:y,maskAttributeFn:v,maskInputFn:_,maskTextFn:b,maxCanvasSize:w=null,packFn:S,sampling:k={},dataURLOptions:E={},mousemoveWait:x,recordDOM:T=!0,recordCanvas:C=!1,recordCrossOriginIframes:I=!1,recordAfter:A=("DOMContentLoaded"===e.recordAfter?e.recordAfter:"load"),userTriggeredOnInput:R=!1,collectFonts:O=!1,inlineImages:M=!1,plugins:P,keepIframeSrcFn:L=()=>!1,ignoreCSSAttributes:N=new Set([]),errorHandler:D,onMutation:$,getCanvasManager:j}=e;pk=D;const F=!I||window.parent===window;let B=!1;if(!F)try{window.parent.document&&(B=!1)}catch(hC){B=!0}if(F&&!t)throw new Error("emit function is required");if(!F&&!B)return()=>{};
2void 0!==x&&void 0===k.mousemove&&(k.mousemove=x),Yk.reset();const U=!0===m?{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}:void 0!==g?g:{},H=!0===y||"all"===y?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===y,headMetaDescKeywords:"all"===y}:y||{};let W;!function(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=(...e)=>{let t=e[0];if(!(0 in e))throw new TypeError("1 argument is required");do{if(this===t)return!0}while(t=t&&t.parentNode);return!1})}();let q=0;const z=e=>{for(const t of P||[])t.eventProcessor&&(e=t.eventProcessor(e));return S&&!B&&(e=S(e)),e};Kk=(e,o)=>{const s=e;if(s.timestamp=WS(),!Ik[0]?.isFrozen()||s.type===ak.FullSnapshot||s.type===ak.IncrementalSnapshot&&s.data.source===ck.Mutation||Ik.forEach(e=>e.unfreeze()),F)t?.(z(s),o);else if(B){const e={type:"rrweb",event:z(s),origin:window.location.origin,isCheckout:o};window.parent.postMessage(e,"*")}if(s.type===ak.FullSnapshot)W=s,q=0;else if(s.type===ak.IncrementalSnapshot){if(s.data.source===ck.Mutation&&s.data.isAttachIframe)return;q++;const e=r&&q>=r,t=n&&W&&s.timestamp-W.timestamp>n;(e||t)&&ee(!0)}};const V=e=>{Kk({type:ak.IncrementalSnapshot,data:{source:ck.Mutation,...e}})},G=e=>Kk({type:ak.IncrementalSnapshot,data:{source:ck.Scroll,...e}}),K=e=>Kk({type:ak.IncrementalSnapshot,data:{source:ck.CanvasMutation,...e}}),J=new Vk({mutationCb:V,adoptedStyleSheetCb:e=>Kk({type:ak.IncrementalSnapshot,data:{source:ck.AdoptedStyleSheet,...e}})}),Y="boolean"==typeof __RRWEB_EXCLUDE_IFRAME__&&__RRWEB_EXCLUDE_IFRAME__?new Hk:new Wk({mirror:Yk,mutationCb:V,stylesheetManager:J,recordCrossOriginIframes:I,wrappedEmit:Kk});for(const ne of P||[])ne.getMirror&&ne.getMirror({nodeMirror:Yk,crossOriginIframeMirror:Y.crossOriginIframeMirror,crossOriginIframeStyleMirror:Y.crossOriginIframeStyleMirror});const X=new Gk,Q=function(e,t){try{return e?e(t):new gk}catch{return new gk}}(j,{mirror:Yk,win:window,mutationCb:e=>Kk({type:ak.IncrementalSnapshot,data:{source:ck.CanvasMutation,...e}}),recordCanvas:C,blockClass:o,blockSelector:s,unblockSelector:i,maxCanvasSize:w,sampling:k.canvas,dataURLOptions:E,errorHandler:D}),Z="boolean"==typeof __RRWEB_EXCLUDE_SHADOW_DOM__&&__RRWEB_EXCLUDE_SHADOW_DOM__?new qk:new zk({mutationCb:V,scrollCb:G,bypassOptions:{onMutation:$,blockClass:o,blockSelector:s,unblockSelector:i,maskAllText:l,maskTextClass:u,unmaskTextClass:d,maskTextSelector:p,unmaskTextSelector:f,inlineStylesheet:h,maskInputOptions:U,dataURLOptions:E,maskAttributeFn:v,maskTextFn:b,maskInputFn:_,recordCanvas:C,inlineImages:M,sampling:k,slimDOMOptions:H,iframeManager:Y,stylesheetManager:J,canvasManager:Q,keepIframeSrcFn:L,processedNodeManager:X,ignoreCSSAttributes:N},mirror:Yk}),ee=(e=!1)=>{if(!T)return;Kk({type:ak.Meta,data:{href:window.location.href,width:VS(),height:zS()}},e),J.reset(),Z.init(),Ik.forEach(e=>e.lock());const t=function(e,t){const{mirror:n=new nS,blockClass:r="rr-block",blockSelector:o=null,unblockSelector:s=null,maskAllText:i=!1,maskTextClass:a="rr-mask",unmaskTextClass:c=null,maskTextSelector:l=null,unmaskTextSelector:u=null,inlineStylesheet:d=!0,inlineImages:p=!1,recordCanvas:f=!1,maskAllInputs:h=!1,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOM:v=!1,dataURLOptions:_,preserveWhiteSpace:b,onSerialize:w,onIframeLoad:S,iframeLoadTimeout:k,onBlockedImageLoad:E,onStylesheetLoad:x,stylesheetLoadTimeout:T,keepIframeSrcFn:C=()=>!1,ignoreCSSAttributes:I=new Set([])}=t||{};return $S(e,{doc:e,mirror:n,blockClass:r,blockSelector:o,unblockSelector:s,maskAllText:i,maskTextClass:a,unmaskTextClass:c,maskTextSelector:l,unmaskTextSelector:u,skipChild:!1,inlineStylesheet:d,maskInputOptions:!0===h?{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}:!1===h?{}:h,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:!0===v||"all"===v?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===v,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}
2:!1===v?{}:v,dataURLOptions:_,inlineImages:p,recordCanvas:f,preserveWhiteSpace:b,onSerialize:w,onIframeLoad:S,iframeLoadTimeout:k,onBlockedImageLoad:E,onStylesheetLoad:x,stylesheetLoadTimeout:T,keepIframeSrcFn:C,newlyAddedElement:!1,ignoreCSSAttributes:I})}(document,{mirror:Yk,blockClass:o,blockSelector:s,unblockSelector:i,maskAllText:l,maskTextClass:u,unmaskTextClass:d,maskTextSelector:p,unmaskTextSelector:f,inlineStylesheet:h,maskAllInputs:U,maskAttributeFn:v,maskInputFn:_,maskTextFn:b,slimDOM:H,dataURLOptions:E,recordCanvas:C,inlineImages:M,onSerialize:e=>{QS(e,Yk)&&Y.addIframe(e),ZS(e,Yk)&&J.trackLinkElement(e),ek(e)&&Z.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,t)=>{Y.attachIframe(e,t);const n=vk(e);n&&Q.addWindow(n),Z.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{J.attachLinkElement(e,t)},onBlockedImageLoad:(e,t,{width:n,height:r})=>{V({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:{style:{width:`${n}px`,height:`${r}px`}}}]})},keepIframeSrcFn:L,ignoreCSSAttributes:N});t&&(Kk({type:ak.FullSnapshot,data:{node:t,initialOffset:qS(window)}}),Ik.forEach(e=>e.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&J.adoptStyleSheets(document.adoptedStyleSheets,Yk.getId(document)))};Jk=ee;try{const e=[],t=e=>fk(jk)({onMutation:$,mutationCb:V,mousemoveCb:(e,t)=>Kk({type:ak.IncrementalSnapshot,data:{source:t,positions:e}}),mouseInteractionCb:e=>Kk({type:ak.IncrementalSnapshot,data:{source:ck.MouseInteraction,...e}}),scrollCb:G,viewportResizeCb:e=>Kk({type:ak.IncrementalSnapshot,data:{source:ck.ViewportResize,...e}}),inputCb:e=>Kk({type:ak.IncrementalSnapshot,data:{source:ck.Input,...e}}),mediaInteractionCb:e=>Kk({type:ak.IncrementalSnapshot,data:{source:ck.MediaInteraction,...e}}),styleSheetRuleCb:e=>Kk({type:ak.IncrementalSnapshot,data:{source:ck.StyleSheetRule,...e}}),styleDeclarationCb:e=>Kk({type:ak.IncrementalSnapshot,data:{source:ck.StyleDeclaration,...e}}),canvasMutationCb:K,fontCb:e=>Kk({type:ak.IncrementalSnapshot,data:{source:ck.Font,...e}}),selectionCb:e=>{Kk({type:ak.IncrementalSnapshot,data:{source:ck.Selection,...e}})},customElementCb:e=>{Kk({type:ak.IncrementalSnapshot,data:{source:ck.CustomElement,...e}})},blockClass:o,ignoreClass:a,ignoreSelector:c,maskAllText:l,maskTextClass:u,unmaskTextClass:d,maskTextSelector:p,unmaskTextSelector:f,maskInputOptions:U,inlineStylesheet:h,sampling:k,recordDOM:T,recordCanvas:C,inlineImages:M,userTriggeredOnInput:R,collectFonts:O,doc:e,maskAttributeFn:v,maskInputFn:_,maskTextFn:b,keepIframeSrcFn:L,blockSelector:s,unblockSelector:i,slimDOMOptions:H,dataURLOptions:E,mirror:Yk,iframeManager:Y,stylesheetManager:J,shadowDomManager:Z,processedNodeManager:X,canvasManager:Q,ignoreCSSAttributes:N,plugins:P?.filter(e=>e.observer)?.map(e=>({observer:e.observer,options:e.options,callback:t=>Kk({type:ak.Plugin,data:{plugin:e.name,payload:t}})}))||[]},{});Y.addLoadListener(n=>{try{e.push(t(n.contentDocument))}catch(r){}});const n=()=>{ee(),e.push(t(document))};return"interactive"===document.readyState||"complete"===document.readyState?n():(e.push(jS("DOMContentLoaded",()=>{Kk({type:ak.DomContentLoaded,data:{}}),"DOMContentLoaded"===A&&n()})),e.push(jS("load",()=>{Kk({type:ak.Load,data:{}}),"load"===A&&n()},window))),()=>{e.forEach(e=>e()),X.destroy(),Jk=void 0,pk=void 0}}catch(te){}}var Qk,Zk;function eE(e){return e>9999999999?e:1e3*e}function tE(e){return e>9999999999?e/1e3:e}function nE(e,t){"sentry.transaction"!==t.category&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>(e.throttledAddEvent({type:ak.Custom,timestamp:1e3*(t.timestamp||0),data:{tag:"breadcrumb",payload:ah(t,10,1e3)}}),"console"===t.category)))}function rE(e){return e.closest("button,a")||e}function oE(e){const t=sE(e);return t&&t instanceof Element?rE(t):t}function sE(e){return function(e){return Uf(e)&&"target"in e}(e)?e.target:e}let iE;Xk.mirror=Yk,Xk.takeFullSnapshot=function(e){if(!Jk)throw new Error("please take full snapshot after start recording");Jk(e)},(Zk=Qk||(Qk={}))[Zk.NotStarted=0]="NotStarted",Zk[Zk.Running=1]="Running",Zk[Zk.Stopped=2]="Stopped";const aE=new Set([ck.Mutation,ck.StyleSheetRule,ck.StyleDeclaration,ck.AdoptedStyleSheet,ck.CanvasMutation,ck.Selection,ck.MediaInteraction]);class cE{constructor(e,t,n=nE){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=t.timeout/1e3,this._threshold=t.threshold/1e3,this._scrollTimeout=t.scrollTimeout/1e3,this._replay=e,this._ignoreSelector=t.ignoreSelector,this._addBreadcrumbEvent=n}addListeners(){const e=(t=()=>{this._lastMutation=uE()},iE||(iE=[],Vf(Ww,"open",function(e){return function(...t){if(iE)try{iE.forEach(e
2=>e())}catch{}return e.apply(Ww,t)}})),iE.push(t),()=>{const e=iE?iE.indexOf(t):-1;e>-1&&iE.splice(e,1)});var t;this._teardown=()=>{e(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(e,t){if(function(e,t){return!lE.includes(e.tagName)||"INPUT"===e.tagName&&!["submit","button"].includes(e.getAttribute("type")||"")||!("A"!==e.tagName||!(e.hasAttribute("download")||e.hasAttribute("target")&&"_self"!==e.getAttribute("target")))||!(!t||!e.matches(t))}(t,this._ignoreSelector)||!function(e){return!(!e.data||"number"!=typeof e.data.nodeId||!e.timestamp)}(e))return;const n={timestamp:tE(e.timestamp),clickBreadcrumb:e,clickCount:0,node:t};this._clicks.some(e=>e.node===n.node&&Math.abs(e.timestamp-n.timestamp)<1)||(this._clicks.push(n),1===this._clicks.length&&this._scheduleCheckClicks())}registerMutation(e=Date.now()){this._lastMutation=tE(e)}registerScroll(e=Date.now()){this._lastScroll=tE(e)}registerClick(e){const t=rE(e);this._handleMultiClick(t)}_handleMultiClick(e){this._getClicks(e).forEach(e=>{e.clickCount++})}_getClicks(e){return this._clicks.filter(t=>t.node===e)}_checkClicks(){const e=[],t=uE();this._clicks.forEach(n=>{!n.mutationAfter&&this._lastMutation&&(n.mutationAfter=n.timestamp<=this._lastMutation?this._lastMutation-n.timestamp:void 0),!n.scrollAfter&&this._lastScroll&&(n.scrollAfter=n.timestamp<=this._lastScroll?this._lastScroll-n.timestamp:void 0),n.timestamp+this._timeout<=t&&e.push(n)});for(const n of e){const e=this._clicks.indexOf(n);e>-1&&(this._generateBreadcrumbs(n),this._clicks.splice(e,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(e){const t=this._replay,n=e.scrollAfter&&e.scrollAfter<=this._scrollTimeout,r=e.mutationAfter&&e.mutationAfter<=this._threshold,o=!n&&!r,{clickCount:s,clickBreadcrumb:i}=e;if(o){const n=1e3*Math.min(e.mutationAfter||this._timeout,this._timeout),r=n<1e3*this._timeout?"mutation":"timeout",o={type:"default",message:i.message,timestamp:i.timestamp,category:"ui.slowClickDetected",data:{...i.data,url:Ww.location.href,route:t.getCurrentRoute(),timeAfterClickMs:n,endReason:r,clickCount:s||1}};return void this._addBreadcrumbEvent(t,o)}if(s>1){const e={type:"default",message:i.message,timestamp:i.timestamp,category:"ui.multiClick",data:{...i.data,url:Ww.location.href,route:t.getCurrentRoute(),clickCount:s,metric:!0}};this._addBreadcrumbEvent(t,e)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=aw(()=>this._checkClicks(),1e3)}}const lE=["A","BUTTON","INPUT"];function uE(){return Date.now()/1e3}function dE(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var pE=(e=>(e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e))(pE||{});const fE=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]),hE=new Set([...fE,"data-sentry-element"]);function mE(e){const t={};for(const n in e)if(fE.has(n)){let r=n;"data-testid"!==n&&"data-test-id"!==n||(r="testId"),t[r]=e[n]}return!t["data-sentry-component"]&&e["data-sentry-element"]&&(t["data-sentry-component"]=e["data-sentry-element"]),t}function gE(e,t){const n=Xk.mirror.getId(e),r=n&&Xk.mirror.getNode(n),o=r&&Xk.mirror.getMeta(r),s=o&&function(e){return e.type===pE.Element}(o)?o:null;return{message:t,data:s?{nodeId:n,node:{id:n,tagName:s.tagName,textContent:Array.from(s.childNodes).map(e=>e.type===pE.Text&&e.textContent).filter(Boolean).map(e=>e.trim()).join(""),attributes:mE(s.attributes)}}:{}}}const yE={resource:function(e){const{entryType:t,initiatorType:n,name:r,responseEnd:o,startTime:s,decodedBodySize:i,encodedBodySize:a,responseStatus:c,transferSize:l}=e;return["fetch","xmlhttprequest"].includes(n)?null:{type:`${t}.${n}`,start:bE(s),end:bE(o),name:r,data:{size:l,statusCode:c,decodedBodySize:i,encodedBodySize:a}}},paint:function(e){const{duration:t,entryType:n,name:r,startTime:o}=e,s=bE(o);return{type:n,name:r,start:s,end:s+t,data:void 0}},navigation:function(e){const{entryType:t,name:n,decodedBodySize:r,duration:o,domComplete:s,encodedBodySize:i,domContentLoadedEventStart:a,domContentLoadedEventEnd:c,domInteractive:l,loadEventStart:u,loadEventEnd:d,redirectCount:p,startTime:f,transferSize:h,type:m}=e;return 0===o?null:{type:`${t}.${m}`,start:bE(f),end:bE(s),name:n,data:{size:h,decodedBodySize:r,encodedBodySize:i,duration:o,domInteractive:l,domContentLoadedEventStart:a,domContentLoadedEventEnd:c,loadEventStart:u,loadEventEnd:d,domComplete:s,redirectCount:p}}}};function vE(e,t){return({metric:n})=>{t.replayPerformanceEntries.push(e(n))}}function _E(e){const t=yE[e.entryType];return t?t(e):null}function bE(e){return((Eh()||Ww.performance.timeOrigin)+e)/1e3}function wE(e){const t=e.entries[e.entries.length-1];return xE(e,"largest-contentful-paint",t?.element?[t.element]:void 0)}function SE(e){return void 0!==e.sources}function kE(e){const t=[],n=[];for(const r of e.entries)if(SE(r)){const e=[];for(const t of r.sources)if(t.node){n.push(t.node);const r=Xk.mirror.getId(t.node);r&&e.push(r)}t.push({value:r.value,nodeIds:e.length?e:void 0})}return xE(e,"cumulative-layout-shift",n,t)}function EE(e){const t=e.entries[e.entries.length-1];return xE(e,"interaction-to-next-paint",t?.target?[t.target]:void 0)}function xE(e,t,n,r){const o=e.value,s=e.rating,i=bE(o);return{type:"web-vital",name:t,start:i,end:i,data:{value:o,size:o,rating:s,nodeIds:n?n.map(e=>Xk.mirror.getId(e)):void 0,attributions:r}}}const TE="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,CE=["log","warn","error"],IE="[Replay] ";function AE(e,t="info"){Ev({category:"console",data:{logger:"replay"},level:t,message:`${IE}${e}`},{level:t})}const RE=function(){let e=!1,t=!1;const n={exception:()=>{},infoTick:()=>{},setConfig:n=>{e=!!n.captureExceptions,t=!!n.traceInternals}};
2return TE?(CE.forEach(e=>{n[e]=(...n)=>{pf[e](IE,...n),t&&AE(n.join(""),Hv(e))}}),n.exception=(r,...o)=>{o.length&&n.error&&n.error(...o),pf.error(IE,r),e?uy(r,{mechanism:{handled:!0,type:"auto.function.replay.debug"}}):t&&AE(r,"error")},n.infoTick=(...e)=>{pf.log(IE,...e),t&&setTimeout(()=>AE(e[0]),0)}):CE.forEach(e=>{n[e]=()=>{}}),n}();class OE extends Error{constructor(){super("Event buffer exceeded maximum size of 20000000.")}}class ME extends Error{constructor(){super("Worker destroyed")}}class PE{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(e){const t=JSON.stringify(e).length;if(this._totalSize+=t,this._totalSize>Kw)throw new OE;this.events.push(e)}finish(){return new Promise(e=>{const t=this.events;this.clear(),e(JSON.stringify(t))})}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){let e=null;for(const{timestamp:t}of this.events)(null===e||t<e)&&(e=t);return null===e?e:eE(e)}}class LE{constructor(e){this._onMessage=({data:e})=>{const t=e;if("number"!=typeof t.id)return;const n=this._pending.get(t.id);if(n&&n.method===t.method){if(this._pending.delete(t.id),!t.success)return TE&&RE.error("Error in compression worker: ",t.response),void n.reject(new Error("Error in compression worker"));n.resolve(t.response)}},this._worker=e,this._id=0,this._pending=new Map,this._worker.addEventListener("message",this._onMessage)}ensureReady(){return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise((e,t)=>{this._worker.addEventListener("message",({data:n})=>{n.success?e():(TE&&RE.warn("Received worker message with unsuccessful status",n),t(new Error("Received worker message with unsuccessful status")))},{once:!0}),this._worker.addEventListener("error",e=>{TE&&RE.warn("Failed to load Replay compression worker",e),t(new Error(`Failed to load Replay compression worker: ${e instanceof ErrorEvent&&e.message?e.message:"Unknown error. This can happen due to CSP policy restrictions, network issues, or the worker script failing to load."}`))},{once:!0})})),this._ensureReadyPromise}destroy(){TE&&RE.log("Destroying compression worker"),this._worker.removeEventListener("message",this._onMessage),this._pending.forEach(e=>e.reject(new ME)),this._pending.clear(),this._worker.terminate()}postMessage(e,t){const n=this._getAndIncrementId();return new Promise((r,o)=>{this._pending.set(n,{method:e,resolve:r,reject:o});try{this._worker.postMessage({id:n,method:e,arg:t})}catch(s){this._pending.delete(n),o(s)}})}_getAndIncrementId(){return this._id++}}class NE{constructor(e){this._worker=new LE(e),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(e){const t=eE(e.timestamp);(!this._earliestTimestamp||t<this._earliestTimestamp)&&(this._earliestTimestamp=t);const n=JSON.stringify(e);return this._totalSize+=n.length,this._totalSize>Kw?Promise.reject(new OE):this._sendEventToWorker(n)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,e=>{TE&&RE.exception(e,'Sending "clear" message to worker failed',e)})}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(e){return this._worker.postMessage("addEvent",e)}async _finishRequest(){const e=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,e}}class DE{constructor(e){this._fallback=new PE,this._compression=new NE(e),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get waitForCheckout(){return this._used.waitForCheckout}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(e){this._used.hasCheckout=e}set waitForCheckout(e){this._used.waitForCheckout=e}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(e){return this._used.addEvent(e)}
2async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(e){return void(TE&&RE.exception(e,"Failed to load the compression worker, falling back to simple buffer"))}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){const{events:e,hasCheckout:t,waitForCheckout:n}=this._fallback,r=[];for(const s of e)r.push(this._compression.addEvent(s));this._compression.hasCheckout=t,this._compression.waitForCheckout=n,this._used=this._compression;try{await Promise.all(r),this._fallback.clear()}catch(o){if(o instanceof ME)return;TE&&RE.exception(o,"Failed to add events when switching buffers.")}}}function $E(){try{return"sessionStorage"in Ww&&!!Ww.sessionStorage}catch{return!1}}function jE(e){return void 0!==e&&Math.random()<e}function FE(e){if($E())try{Ww.sessionStorage.setItem(qw,JSON.stringify(e))}catch{}}function BE(e){const t=Date.now();return{id:e.id||mh(),started:e.started||t,lastActivity:e.lastActivity||t,segmentId:e.segmentId||0,sampled:e.sampled,previousSessionId:e.previousSessionId,dirty:e.dirty||!1}}function UE({sessionSampleRate:e,allowBuffering:t,stickySession:n=!1},{previousSessionId:r}={}){const o=function(e,t){return jE(e)?"session":!!t&&"buffer"}(e,t),s=BE({sampled:o,previousSessionId:r});return n&&FE(s),s}function HE(e,t,n=+new Date){return null===e||void 0===t||t<0||0!==t&&e+t<=n}function WE(e,{sessionIdleExpire:t,maxReplayDuration:n}){return!!function(e,{maxReplayDuration:t,sessionIdleExpire:n,targetTime:r=Date.now()}){return HE(e.started,t,r)||HE(e.lastActivity,n,r)}(e,{sessionIdleExpire:t,maxReplayDuration:n})&&("buffer"!==e.sampled||0!==e.segmentId)}function qE({sessionIdleExpire:e,maxReplayDuration:t,previousSessionId:n},r){const o=r.stickySession&&function(){if(!$E())return null;try{const e=Ww.sessionStorage.getItem(qw);if(!e)return null;const t=JSON.parse(e);return TE&&RE.infoTick("Loading existing session"),BE(t)}catch{return null}}();return o?WE(o,{sessionIdleExpire:e,maxReplayDuration:t})?(TE&&RE.infoTick("Session in sessionStorage is expired, creating new one..."),UE(r,{previousSessionId:o.id})):o:(TE&&RE.infoTick("Creating new session"),UE(r,{previousSessionId:n}))}function zE(e,t,n){return!!GE(e,t)&&(VE(e,t,n),!0)}async function VE(e,t,n){const{eventBuffer:r}=e;if(!r||r.waitForCheckout&&!n)return null;const o="buffer"===e.recordingMode;try{n&&o&&r.clear(),n&&(r.hasCheckout=!0,r.waitForCheckout=!1);const s=function(e,t){try{if("function"==typeof t&&function(e){return e.type===ak.Custom}(e))return t(e)}catch(n){return TE&&RE.exception(n,"An error occurred in the `beforeAddRecordingEvent` callback, skipping the event..."),null}return e}(t,e.getOptions().beforeAddRecordingEvent);if(!s)return;return await r.addEvent(s)}catch(s){if(!e.isEnabled())return e.handleException(s),null;const t=s&&s instanceof OE,n=t?"eventBufferOverflow":"eventBufferError",i=Kh();if(i){const e=t?"buffer_overflow":"internal_sdk_error";i.recordDroppedEvent(e,"replay")}if(t&&o)return r.clear(),r.waitForCheckout=!0,null;e.handleException(s),await e.stop({reason:n})}}function GE(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;const n=eE(t.timestamp);return!(n+e.timeouts.sessionIdlePause<Date.now()||n>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration&&(TE&&RE.infoTick(`Skipping event with timestamp ${n} because it is after maxReplayDuration`),1))}function KE(e,t,n){const r=e.getContext();t&&r.traceIds.size<100&&r.traceIds.add(t),n&&r.segmentNames.size<100&&r.segmentNames.add(n)}function JE(e){return!e.type}function YE(e){return"transaction"===e.type}function XE(e){return"feedback"===e.type}function QE(e){return!!e.category}function ZE(){const e=zh().getPropagationContext().dsc;e&&delete e.replay_id;const t=Qm();t&&delete hg(t).replay_id}function ex(e){const t=zh().getPropagationContext().dsc;t&&(t.replay_id=e);const n=Qm();n&&(hg(n).replay_id=e)}function tx(e,t){return t.map(({type:t,start:n,end:r,name:o,data:s})=>{const i=e.throttledAddEvent({type:ak.Custom,timestamp:n,data:{tag:"performanceSpan",payload:{op:t,description:o,startTimestamp:n,endTimestamp:r,data:s}}});return"string"==typeof i?Promise.resolve(null):i})}function nx(e,t){e.isEnabled()&&null!==t&&(function(e,t){return(!TE||!e.getOptions()._experiments.traceInternals)&&function(e,t){const n=t?.getDsn(),r=t?.getOptions().tunnel;return function(e,t){const n=mv(e);return!(!n||hv(n))&&!!t&&((r=n.hostname)===(o=t.host)||o.length>0&&r.endsWith(`.${o}`))&&/(^|&|\?)sentry_key=/.test(n.search);var r,o}(e,n)||function(e,t){return!!t&&_v(e)===_v(t)}(e,r)}(t,Kh())}(e,t.name)||e.addUpdate(()=>(tx(e,[t]),!0)))}function rx(e){if(!e)return;const t=new TextEncoder;try{if("string"==typeof e)return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){const n=pw(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch{}}function ox(e){if(!e)return;const t=parseInt(e,10);return isNaN(t)?void 0:t}function sx(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 ix(e,t){if(!t)return null;const{startTimestamp:n,endTimestamp:r,url:o,method:s,statusCode:i,request:a,response:c}=t;return{type:e,start:n/1e3,end:r/1e3,name:o,data:{method:s,statusCode:i,request:a,response:c}}}function ax(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function cx(e,t,n){if(!t&&0===Object.keys(e).length)return;if(!t)return{headers:e};if(!n)return{headers:e,size:t};const r={headers:e,size:t},{body:o,warnings:s}=function(e){if(!e||"string"!=typeof e)return{body:e};const t=e.length>Vw,n=function(e){const t=e[0],n=e[e.length-1];return"["===t&&"]"===n||"{"===t&&"}"===n}(e);if(t){const t=e.slice(0,Vw);return n?{body:t,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${t}…`,warnings:["TEXT_TRUNCATED"]}}if(n)try{return{body:JSON.parse(e)}}catch{}return{body:e}}(n);return r.body=o,s?.length&&(r._meta={warnings:s}),r}function lx(e,t){return Object.entries(e).reduce((n,[r,o])=>{const s=r.toLowerCase();return t.includes(s)&&e[r]&&(n[s]=o),n},{})}function ux(e,t){const n=function(e,t=Ww.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(Ww.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}(e);return hh(n,t)}function dx(e,t){const n={};return t.forEach(t=>{e.get(t)&&(n[t]=e.get(t))}),n}function px(e,t){if(!e)return{};const n=e.headers;return n?n instanceof Headers?dx(n,t):Array.isArray(n)?{}:lx(n,t):{}}function fx(e){const{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}=e,o=Date.now()/1e3;return{type:"memory",name:"memory",start:o,end:o,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}}}}const hx=ef.navigator;function mx(e){let t=!1;return(n,r)=>{try{if(!e.checkAndHandleExpiredSession())return void(TE&&RE.warn("Received replay event after session expired."));const o=r||!t;t=!0,function(e){const t=e.data;if(e.type===ak.IncrementalSnapshot&&t&&"object"==typeof t&&"source"in t&&t.source===ck.Mutation&&"attributes"in t&&Array.isArray(t.attributes))for(const n of t.attributes){const e=Xk.mirror.getNode(n.id),t=e&&Xk.mirror.getMeta(e);if(!e||t?.type!==pE.Element)continue;const r={...t.attributes};let o=!1;for(const[s,i]of Object.entries(n.attributes))hE.has(s)&&(null===i?delete r[s]:r[s]=i,o=!0);o&&Xk.mirror.add(e,{...t,attributes:r})}}(n),e.clickDetector&&function(e,t){try{if(!function(e){return 3===e.type}(t))return;const{source:n}=t.data;if(aE.has(n)&&e.registerMutation(t.timestamp),n===ck.Scroll&&e.registerScroll(t.timestamp),function(e){return e.data.source===ck.MouseInteraction}(t)){const{type:n,id:r}=t.data,o=Xk.mirror.getNode(r);o instanceof HTMLElement&&n===lk.Click&&e.registerClick(o)}}catch{}}(e.clickDetector,n),e.addUpdate(()=>{if("buffer"===e.recordingMode&&o&&e.setInitialState(),!zE(e,n,o))return!0;
2if(!o)return!1;const t=e.session;if(function(e,t){t&&0===e.session?.segmentId&&zE(e,function(e){const t=e.getOptions();return{type:ak.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&&"worker"===e.eventBuffer.type,networkDetailHasUrls:t.networkDetailAllowUrls.length>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}}(e),!1)}(e,o),"buffer"===e.recordingMode&&t&&e.eventBuffer&&!t.dirty){const n=e.eventBuffer.getEarliestTimestamp();n&&(TE&&RE.log(`Updating session start time to earliest event in buffer to ${new Date(n)}`),t.started=n,e.getOptions().stickySession&&FE(t))}return t?.previousSessionId||"session"===e.recordingMode&&e.flush(),!0})}catch(o){e.handleException(o)}}}class gx extends Error{constructor(e){super(`Transport returned status code ${e}`)}}class yx extends Error{constructor(e){super("Rate limit hit"),this.rateLimits=e}}class vx extends Error{constructor(){super("Session is too long, not sending replay")}}async function _x(e,t={count:0,interval:5e3}){const{recordingData:n,onError:r}=e;var o;if(n.length)try{return await async function({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:o,session:s}){const i=function({recordingData:e,headers:t}){let n;const r=`${JSON.stringify(t)}\n`;if("string"==typeof e)n=`${r}${e}`;else{const t=(new TextEncoder).encode(r);n=new Uint8Array(t.length+e.length),n.set(t),n.set(e,t.length)}return n}({recordingData:e,headers:{segment_id:n}}),{urls:a,errorIds:c,traceIds:l,segmentNames:u,initialTimestamp:d}=r,p=Kh(),f=zh(),h=p?.getTransport(),m=p?.getDsn();if(!(p&&h&&m&&s.sampled))return Promise.resolve({});const g={type:"replay_event",replay_start_timestamp:d/1e3,timestamp:o/1e3,error_ids:c,trace_ids:l,segment_names:u,urls:a,replay_id:t,segment_id:n,replay_type:s.sampled},y=await async function({client:e,scope:t,replayId:n,event:r}){const o={event_id:n,integrations:"object"!=typeof e._integrations||null===e._integrations||Array.isArray(e._integrations)?void 0:Object.keys(e._integrations)};e.emit("preprocessEvent",r,o);const s=await cy(e.getOptions(),r,o,t,e,Vh());if(!s)return null;e.emit("postprocessEvent",s,o),s.platform=s.platform||"javascript";const i=e.getSdkMetadata(),{name:a,version:c,settings:l}=i?.sdk||{};return s.sdk={...s.sdk,name:a||"sentry.javascript.unknown",version:c||"0.0.0",settings:l},s}({scope:f,client:p,replayId:t,event:g});if(!y)return p.recordDroppedEvent("event_processor","replay"),TE&&RE.log("An event processor returned `null`, will not send event."),Promise.resolve({});delete y.sdkProcessingMetadata;const v=function(e,t,n,r){return gg(Tg(e,xg(e),r,n),[[{type:"replay_event"},e],[{type:"replay_recording",length:"string"==typeof t?(new TextEncoder).encode(t).length:t.length},t]])}(y,i,m,p.getOptions().tunnel);let _;try{_=await h.send(v)}catch(mC){const t=new Error(zw);try{t.cause=mC}catch{}throw t}const b=Uy({},_);if(By(b,"replay"))throw new yx(b);if("number"==typeof _.statusCode&&(_.statusCode<200||_.statusCode>=300))throw new gx(_.statusCode);return _}(e),!0}catch(mC){if(mC instanceof gx||mC instanceof yx)throw mC;if(o={_retryCount:t.count},Vh().setContext("Replays",o),r&&r(mC),t.count>=3){const e=new Error(`${zw} - max retries exceeded`);try{e.cause=mC}catch{}throw e}return t.interval*=++t.count,new Promise((n,r)=>{aw(async()=>{try{await _x(e,t),n(!0)}catch(o){r(o)}},t.interval)})}}const bx="__THROTTLED";class wx{constructor({options:e,recordingOptions:t}){this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:3e5,sessionIdleExpire:9e5},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._requiresManualStart=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,segmentNames:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=t,this._options=e,this._debouncedFlush=function(e,t,n){return function(e,t,n){let r,o,s;const i=n?.maxWait?Math.max(n.maxWait,t):0,a=n?.setTimeoutImpl||setTimeout;function c(){return l(),r=e(),r}function l(){void 0!==o&&clearTimeout(o),void 0!==s&&clearTimeout(s),o=s=void 0}function u(){return o&&clearTimeout(o),o=a(c,t),i&&void 0===s&&(s=a(c,i)),r}return u.cancel=l,u.flush=function(){return void 0!==o||void 0!==s?c():r},u}(e,t,{...n,setTimeoutImpl:aw})}(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=function(e){const t=new Map;let n=!1;return(...r)=>{const o=Math.floor(Date.now()/1e3);if((e=>{const n=e-5;t.forEach((e,r)=>{r<n&&t.delete(r)})})(o),[...t.values()].reduce((e,t)=>
2e+t,0)>=300){const e=n;return n=!0,e?"__SKIPPED":bx}n=!1;const s=t.get(o)||0;return t.set(o,s+1),e(...r)}}((e,t)=>function(e,t,n){return GE(e,t)?VE(e,t,n):Promise.resolve(null)}(this,e,t));const{slowClickTimeout:n,slowClickIgnoreSelectors:r}=this.getOptions(),o=n?{threshold:Math.min(3e3,n),timeout:n,scrollTimeout:300,ignoreSelector:r?r.join(","):""}:void 0;if(o&&(this.clickDetector=new cE(this,o)),TE){const t=e._experiments;RE.setConfig({captureExceptions:!!t.captureExceptions,traceInternals:!!t.traceInternals})}this._handleVisibilityChange=()=>{"visible"===Ww.document.visibilityState?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()},this._handleWindowBlur=()=>{const e=dE({category:"ui.blur"});this._doChangeToBackgroundTasks(e)},this._handleWindowFocus=()=>{const e=dE({category:"ui.focus"});this._doChangeToForegroundTasks(e)},this._handleKeyboardEvent=e=>{!function(e,t){if(!e.isEnabled())return;e.updateUserActivity();const n=function(e){const{metaKey:t,shiftKey:n,ctrlKey:r,altKey:o,key:s,target:i}=e;if(!i||function(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable}(i)||!s)return null;const a=t||r||o,c=1===s.length;if(!a&&c)return null;const l=Tb(i,{maxStringLength:200})||"<unknown>";return dE({category:"ui.keyDown",message:l,data:{...gE(i,l).data,metaKey:t,shiftKey:n,ctrlKey:r,altKey:o,key:s}})}(t);n&&nE(e,n)}(this,e)}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return Boolean(this._canvas)}getOptions(){return this._options}handleException(e){TE&&RE.exception(e),this._options.onError&&this._options.onError(e)}initializeSampling(e){const{errorSampleRate:t,sessionSampleRate:n}=this._options,r=t<=0&&n<=0;this._requiresManualStart=r,r||(this._initializeSessionForSampling(e),this.session?!1!==this.session.sampled&&(this.recordingMode="buffer"===this.session.sampled&&0===this.session.segmentId?"buffer":"session",TE&&RE.infoTick(`Starting replay in ${this.recordingMode} mode`),this._initializeRecording()):TE&&RE.exception(new Error("Unable to initialize and create session")))}start(){if(this._isEnabled&&"session"===this.recordingMode)return void(TE&&RE.log("Recording is already in progress"));if(this._isEnabled&&"buffer"===this.recordingMode)return void(TE&&RE.log("Buffering is in progress, call `flush()` to save the replay"));TE&&RE.infoTick("Starting replay in session mode"),this._updateUserActivity();const e=qE({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=e,this.recordingMode="session",this._initializeRecording()}startBuffering(){if(this._isEnabled)return void(TE&&RE.log("Buffering is in progress, call `flush()` to save the replay"));TE&&RE.infoTick("Starting replay in buffer mode");const e=qE({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=e,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{const e=this._canvas;this._stopRecording=Xk({...this._recordingOptions,..."buffer"===this.recordingMode?{checkoutEveryNms:6e4}:this._options._experiments.continuousCheckout&&{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:mx(this),.../iPhone|iPad|iPod/i.test(hx?.userAgent??"")||/Macintosh/i.test(hx?.userAgent??"")&&hx?.maxTouchPoints&&hx?.maxTouchPoints>1?{sampling:{mousemove:!1}}:{},onMutation:this._onMutationHandler.bind(this),...e?{recordCanvas:e.recordCanvas,getCanvasManager:e.getCanvasManager,sampling:e.sampling,dataURLOptions:e.dataURLOptions}:{}})}catch(mC){this.handleException(mC)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(mC){return this.handleException(mC),!1}}async stop({forceFlush:e=!1,reason:t}={}){if(!this._isEnabled)return;this._isEnabled=!1,this.recordingMode="buffer";const n=t??"manual";Kh()?.emit("replayEnd",{sessionId:this.session?.id,reason:n});try{TE&&RE.log(`Stopping Replay triggered by ${n}`),ZE(),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),e&&await this._flush({force:!0}),this.eventBuffer?.destroy(),this.eventBuffer=null,function(){if($E())try{Ww.sessionStorage.removeItem(qw)}catch{}}(),this.session=void 0}catch(mC){this.handleException(mC)}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),TE&&RE.log("Pausing replay"))}resume(){this._isPaused&&this._checkSession()&&(this._isPaused=!1,this.startRecording(),TE&&RE.log("Resuming replay"))}async sendBufferedReplayOrFlush({continueRecording:e=!0}={}){if("session"===this.recordingMode)return this.flushImmediate();const t=Date.now();TE&&RE.log("Converting buffer to session"),await this.flushImmediate();const n=this.stopRecording();e&&n&&"session"!==this.recordingMode&&(this.recordingMode="session",this.session&&(this.session.dirty=!1,this._updateUserActivity(t),this._updateSessionActivity(t),this._maybeSaveSession(),ex(this.session.id)),this.startRecording())}addUpdate(e){const t=e();"buffer"!==this.recordingMode&&this._isEnabled&&!0!==t&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),this._stopRecording)this.checkAndHandleExpiredSession(),this._updateSessionActivity();else{if(!this._checkSession())return;this.resume()}}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return"buffer"===this.recordingMode?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(e){if(!e||!1!==this.session?.sampled)return this.session?.id}
2checkAndHandleExpiredSession(){if(!this._lastActivity||!HE(this._lastActivity,this.timeouts.sessionIdlePause)||"session"!==this.session?.sampled)return!!this._checkSession();this.pause()}setInitialState(){const e=`${Ww.location.pathname}${Ww.location.hash}${Ww.location.search}`,t=`${Ww.location.origin}${e}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=t,this._context.initialTimestamp=Date.now(),this._context.urls.push(t)}throttledAddEvent(e,t){const n=this._throttledAddEvent(e,t);if(n===bx){const e=dE({category:"replay.throttled"});this.addUpdate(()=>!zE(this,{type:5,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e,metric:!0}}))}return n}getCurrentRoute(){const e=this.lastActiveSpan||Qm(),t=e&&Ym(e),n=(t&&$m(t).data||{})[Yh];if(t&&n&&["route","custom"].includes(n))return $m(t).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=function({useCompression:e,workerUrl:t}){if(e&&window.Worker){const e=function(e){try{const t=e||("undefined"!=typeof __SENTRY_EXCLUDE_REPLAY_WORKER__&&__SENTRY_EXCLUDE_REPLAY_WORKER__?"":function(){const e=new Blob(['
vendor: 10,329 bytes, line 2
2var t=Uint8Array,n=Uint16Array,r=Int32Array,e=new t([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),i=new t([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),s=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),a=function(t,e){for(var i=new n(31),s=0;s<31;++s)i[s]=e+=1<<t[s-1];var a=new r(i[30]);for(s=1;s<30;++s)for(var o=i[s];o<i[s+1];++o)a[o]=o-i[s]<<5|s;return{b:i,r:a}},o=a(e,2),h=o.b,f=o.r;h[28]=258,f[258]=28;for(var l=a(i,0).r,u=new n(32768),c=0;c<32768;++c){var v=(43690&c)>>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,s=0,a=new n(r);s<i;++s)t[s]&&++a[t[s]-1];var o,h=new n(r);for(s=1;s<r;++s)h[s]=h[s-1]+a[s-1]<<1;if(e){o=new n(1<<r);var f=15-r;for(s=0;s<i;++s)if(t[s])for(var l=s<<4|t[s],c=r-t[s],v=h[t[s]-1]++<<c,d=v|(1<<c)-1;v<=d;++v)o[u[v]>>f]=l}else for(o=new n(i),s=0;s<i;++s)t[s]&&(o[s]=u[h[t[s]-1]++]>>15-t[s]);return o},p=new t(288);for(c=0;c<144;++c)p[c]=8;for(c=144;c<256;++c)p[c]=9;for(c=256;c<280;++c)p[c]=7;for(c=280;c<288;++c)p[c]=8;var g=new t(32);for(c=0;c<32;++c)g[c]=5;var w=d(p,9,0),y=d(g,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))},M=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8},_=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8,t[e+2]|=r>>16},x=function(r,e){for(var i=[],s=0;s<r.length;++s)r[s]&&i.push({s:s,f:r[s]});var a=i.length,o=i.slice();if(!a)return{t:F,l:0};if(1==a){var h=new t(i[0].s+1);return h[i[0].s]=1,{t:h,l:1}}i.sort(function(t,n){return t.f-n.f}),i.push({s:-1,f:25001});var f=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:f.f+l.f,l:f,r:l};c!=a-1;)f=i[i[u].f<i[v].f?u++:v++],l=i[u!=c&&i[u].f<i[v].f?u++:v++],i[c++]={s:-1,f:f.f+l.f,l:f,r:l};var d=o[0].s;for(s=1;s<a;++s)o[s].s>d&&(d=o[s].s);var p=new n(d+1),g=A(i[c-1],p,0);if(g>e){s=0;var w=0,y=g-e,m=1<<y;for(o.sort(function(t,n){return p[n.s]-p[t.s]||t.f-n.f});s<a;++s){var b=o[s].s;if(!(p[b]>e))break;w+=m-(1<<g-p[b]),p[b]=e}for(w>>=y;w>0;){var M=o[s].s;p[M]<e?w-=1<<e-p[M]++-1:++s}for(;s>=0&&w;--s){var E=o[s].s;p[E]==e&&(--p[E],++w)}g=e}return{t:new t(p),l:g}},A=function(t,n,r){return-1==t.s?Math.max(A(t.l,n,r+1),A(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&&!t[--r];);for(var e=new n(++r),i=0,s=t[0],a=1,o=function(t){e[i++]=t},h=1;h<=r;++h)if(t[h]==s&&h!=r)++a;else{if(!s&&a>2){for(;a>138;a-=138)o(32754);a>2&&(o(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(o(s),--a;a>6;a-=6)o(8304);a>2&&(o(a-3<<5|8208),a=0)}for(;a--;)o(s);a=1,s=t[h]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e<n.length;++e)r+=t[e]*n[e];return r},k=function(t,n,r){var e=r.length,i=m(n+2);t[i]=255&e,t[i+1]=e>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var s=0;s<e;++s)t[i+s+4]=r[s];return 8*(i+4+e)},U=function(t,r,a,o,h,f,l,u,c,v,m){z(r,m++,a),++h[256];for(var b=x(h,15),M=b.t,E=b.l,A=x(f,15),U=A.t,C=A.l,F=D(M),I=F.c,S=F.n,L=D(U),O=L.c,j=L.n,q=new n(19),B=0;B<I.length;++B)++q[31&I[B]];for(B=0;B<O.length;++B)++q[31&O[B]];for(var G=x(q,7),H=G.t,J=G.l,K=19;K>4&&!H[s[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(h,p)+T(f,g)+l,X=T(h,M)+T(f,U)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X<W)),m+=2,X<W){N=d(M,E,0),P=M,Q=d(U,C,0),R=U;var Y=d(H,J,0);z(r,m,S-257),z(r,m+5,j-1),z(r,m+10,K-4),m+=14;for(B=0;B<K;++B)z(r,m+3*B,H[s[B]]);m+=3*K;for(var Z=[I,O],$=0;$<2;++$){var tt=Z[$];for(B=0;B<tt.length;++B){var nt=31&tt[B];z(r,m,Y[nt]),m+=H[nt],nt>15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=w,P=p,Q=y,R=g;for(B=0;B<u;++B){var rt=o[B];if(rt>255){_(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;_(r,m,Q[et]),m+=R[et],et>3&&(_(r,m,rt>>5&8191),m+=i[et])}else _(r,m,N[rt]),m+=P[rt]}return _(r,m,N[256]),m+P[256]},C=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,s=0|r.length,a=0;a!=s;){for(var o=Math.min(a+2655,s);a<o;++a)i+=e+=r[a];e=(65535&e)+15*(e>>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},L=function(s,a,o,h,u){if(!u&&(u={l:1},a.dictionary)){var c=a.dictionary.subarray(-32768),v=new t(c.length+s.length);v.set(c),v.set(s,c.length),s=v,u.w=c.length}return function(s,a,o,h,u,c){var v=c.z||s.length,d=new t(h+v+5*(1+Math.ceil(v/7e3))+u),p=d.subarray(h,d.length-u),g=c.l,w=7&(c.r||0);if(a){w&&(p[0]=c.r>>3);for(var y=C[a-1],M=y>>13,E=8191&y,z=(1<<o)-1,_=c.p||new n(32768),x=c.h||new n(z+1),A=Math.ceil(o/3),D=2*A,T=function(t){return(s[t]^s[t+1]<<A^s[t+2]<<D)&z},F=new r(25e3),I=new n(288),S=new n(32),L=0,O=0,j=c.i||0,q=0,B=c.w||0,G=0;j+2<v;++j){var H=T(j),J=32767&j,K=x[H];if(_[J]=K,x[H]=J,B<=j){var N=v-j;if((L>7e3||q>24576)&&(N>423||!g)){w=U(s,p,0,F,I,S,O,q,G,j-G,w),q=L=O=0,G=j;for(var P=0;P<286;++P)I[P]=0;for(P=0;P<30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&32767;if(N>2&&H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W<=Y&&--V&&J!=K;){if(s[j+Q]==s[j+Q-W]){for(var $=0;$<Z&&s[j+$]==s[j+$-W];++$);if($>Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P<tt;++P){var rt=j-W+P&32767,et=rt-_[rt]&32767;et>nt&&(nt=et,K=rt)}}}W+=(J=K)-(K=_[J])&32767}if(R){F[q++]=268435456|f[Q]<<18|l[R];var it=31&f[Q],st=31&l[R];O+=e[it]+i[st],++I[257+it],++S[st],B=j+Q,++L}else F[q++]=s[j],++I[s[j]]}}for(j=Math.max(j,B);j<v;++j)F[q++]=s[j],++I[s[j]];w=U(s,p,g,F,I,S,O,q,G,j-G,w),g||(c.r=7&w|p[w/8|0]<<3,w-=7,c.h=x,c.p=_,c.i=j,c.w=B)}else{for(j=c.w||0;j<v+g;j+=65535){var at=j+65535;at>=v&&(p[w/8|0]=g,at=v),w=k(p,w+1,s.subarray(j,at))}c.i=v}return b(d,0,h+m(w)+u)}(s,null==a.level?6:a.level,null==a.mem?u.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(s.length)))):20:12+a.mem,o,h,u)},O=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},j=function(){function n(n,r){if("function"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(L(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var s=this.b.length-this.s.z;this.b.set(n.subarray(0,s),this.s.z),this.s.z=this.b.length,this.p(this.b,!1),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(s),32768),this.s.z=n.length-s+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&r,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n.prototype.flush=function(){this.ondata||E(5),this.s.l&&E(4),this.p(this.b,!1),this.s.w=this.s.i,this.s.i-=2},n}();function q(t,n){n||(n={});var r=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e<n.length;++e)r=I[255&r^n[e]]^r>>>8;t=r},d:function(){return~t}}}(),e=t.length;r.p(t);var i,s=L(t,n,10+((i=n).filename?i.filename.length+1:0),8),a=s.length;return function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&O(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}}(s,n),O(s,a-8,r.d()),O(s,a-4,e),s}var B=function(){function t(t,n){this.c=S(),this.v=1,j.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),j.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=L(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=S();i.p(n.dictionary),O(t,2,i.d())}}(r,this.o),this.v=0),n&&O(r,r.length-4,this.c.d()),this.ondata(r,n)},t.prototype.flush=function(){j.prototype.flush.call(this)},t}(),G="undefined"!=typeof TextEncoder&&new TextEncoder,H="undefined"!=typeof TextDecoder&&new TextDecoder;try{H.decode(F,{stream:!0})}catch(t){}var J=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(K(t),this.d=n||!1)},t}();function K(n,r){if(G)return G.encode(n);for(var e=n.length,i=new t(n.length+(n.length>>1)),s=0,a=function(t){i[s++]=t},o=0;o<e;++o){if(s+5>i.length){var h=new t(s+8+(e-o<<1));h.set(i),i=h}var f=n.charCodeAt(o);f<128||r?a(f):f<2048?(a(192|f>>6),a(128|63&f)):f>55295&&f<57344?(a(240|(f=65536+(1047552&f)|1023&n.charCodeAt(++o))>>18),a(128|f>>12&63),a(128|f>>6&63),a(128|63&f)):(a(224|f>>12),a(128|f>>6&63),a(128|63&f))}return b(i,0,s)}const N=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(const r of t)n+=r.length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n<i;n++){const i=t[n];r.set(i,e),e+=i.length}return r}(this._deflatedData);return this._init(),t}_init(){this._hasEvents=!1,this._deflatedData=[],this.deflate=new B,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new J((t,n)=>{this.deflate.push(t,n)}),this.stream.push("[")}},P={clear:()=>{N.clear()},addEvent:t=>N.addEvent(t),finish:()=>N.finish(),compress:t=>function(t){return q(K(t))}(t)};addEventListener("message",function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in P&&"function"==typeof P[n])try{const t=P[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}}),postMessage({id:void 0,method:"init",success:!0,response:void 0});
2'],{type:"text/javascript"});return URL.createObjectURL(e)}());if(!t)return;TE&&RE.log("Using compression worker"+(e?` from ${e}`:""));const n=new Worker(t);return new DE(n)}catch(t){TE&&RE.exception(t,"Failed to create compression worker")}}(t);if(e)return e}return TE&&RE.log("Using simple buffer"),new PE}({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.session&&Kh()?.emit("replayStart",{sessionId:this.session.id,recordingMode:this.recordingMode}),this.startRecording(),"session"===this.recordingMode&&this.session&&ex(this.session.id)}_initializeSessionForSampling(e){const t=this._options.errorSampleRate>0,n=qE({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,previousSessionId:e},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:t});this.session=n}_checkSession(){if(!this.session)return!1;const e=this.session;return!WE(e,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})||(this._refreshSession(e),!1)}async _refreshSession(e){this._isEnabled&&(await this.stop({reason:"sessionExpired"}),this.initializeSampling(e.id))}_addListeners(){try{Ww.document.addEventListener("visibilitychange",this._handleVisibilityChange),Ww.addEventListener("blur",this._handleWindowBlur),Ww.addEventListener("focus",this._handleWindowFocus),Ww.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(function(e){const t=Kh();ew((e=>t=>{if(!e.isEnabled())return;const n=function(e){const{target:t,message:n}=function(e){const t="click"===e.name;let n,r=null;try{r=t?oE(e.event):sE(e.event),n=Tb(r,{maxStringLength:200})||"<unknown>"}catch{n="<unknown>"}return{target:r,message:n}}(e);return dE({category:`ui.${e.name}`,...gE(t,n)})}(t);if(!n)return;const r="click"===t.name,o=r?t.event:void 0;var s,i,a;!(r&&e.clickDetector&&o?.target)||o.altKey||o.metaKey||o.ctrlKey||o.shiftKey||(s=e.clickDetector,i=n,a=oE(t.event),s.handleClick(i,a)),nE(e,n)})(e)),rw(function(e){return t=>{if(!e.isEnabled())return;const n=function(e){const{from:t,to:n}=e,r=Date.now()/1e3;return{type:"navigation.push",start:r,end:r,name:n,data:{previous:t}}}(t);null!==n&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate(()=>(tx(e,[n]),!1)))}}(e)),function(e){const t=Kh();t&&t.on("beforeAddBreadcrumb",t=>function(e,t){if(!e.isEnabled()||!QE(t))return;const n=function(e){return!QE(e)||["fetch","xhr","sentry.event","sentry.transaction"].includes(e.category)||e.category.startsWith("ui.")?null:"console"===e.category?function(e){const t=e.data?.arguments;if(!Array.isArray(t)||0===t.length)return dE(e);let n=!1;const r=t.map(e=>{if(!e)return e;if("string"==typeof e)return e.length>Gw?(n=!0,`${e.slice(0,Gw)}…`):e;if("object"==typeof e)try{const t=ah(e,7);return JSON.stringify(t).length>Gw?(n=!0,`${JSON.stringify(t,null,2).slice(0,Gw)}…`):t}catch{}return e});return dE({...e,data:{...e.data,arguments:r,...n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}(e):dE(e)}(t);n&&nE(e,n)}(e,t))}(e),function(e){const t=Kh();try{const{networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:o,networkRequestHeaders:s,networkResponseHeaders:i}=e.getOptions(),a={replay:e,networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:o,networkRequestHeaders:s,networkResponseHeaders:i};t&&t.on("beforeAddBreadcrumb",(e,t)=>function(e,t,n){if(t.data)try{(function(e){return"xhr"===e.category})(t)&&function(e){return e?.xhr}(n)&&(function(e,t){const{xhr:n,input:r}=t;if(!n)return;const o=rx(r),s=n.getResponseHeader("content-length")?ox(n.getResponseHeader("content-length")):function(e,t){try{return rx("json"===t&&Uf(e)?JSON.stringify(e):e)}catch{return}}(n.response,n.responseType);void 0!==o&&(e.data.request_body_size=o),void 0!==s&&(e.data.response_body_size=s)}(t,n),async function(e,t,n){try{const r=function(e,t,n){const r=Date.now(),{startTimestamp:o=r,endTimestamp:s=r,input:i,xhr:a}=t,{url:c,method:l,status_code:u=0,request_body_size:d,response_body_size:p}=e.data;if(!c)return null;if(!a||!ux(c,n.networkDetailAllowUrls)||ux(c,n.networkDetailDenyUrls))return{startTimestamp:o,endTimestamp:s,url:c,method:l,statusCode:u,request:ax(d),response:ax(p)};const f=a[cw],h=f?lx(f.request_headers,n.networkRequestHeaders):{},m=lx(mw(a),n.networkResponseHeaders),[g,y]=n.networkCaptureBodies?fw(i,RE):[void 0],[v,_]=n.networkCaptureBodies?function(e){const t=[];try{return[e.responseText]}catch(hC){t.push(hC)}try{return function(e,t){try{if("string"==typeof e)return[e];if(e instanceof Document)return[e.body.outerHTML];if("json"===t&&Uf(e))return[JSON.stringify(e)];if(!e)return[void 0]}catch(n){return TE&&RE.exception(n,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return TE&&RE.log("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}(e.response,e.responseType)}catch(hC){t.push(hC)}return TE&&RE.warn("Failed to get xhr response body",...t),[void 0]}(a):[void 0],b=cx(h,d,g),w=cx(m,p,v);return{startTimestamp:o,endTimestamp:s,url:c,method:l,statusCode:u,request:y?sx(b,y):b,response:_?sx(w,_):w}}
2(e,t,n),o=ix("resource.xhr",r);nx(n.replay,o)}catch(r){TE&&RE.exception(r,"Failed to capture xhr breadcrumb")}}(t,n,e)),function(e){return"fetch"===e.category}(t)&&function(e){return void 0!==e?.input}(n)&&(function(e,t){const{input:n,response:r}=t,o=rx(n?hw(n):void 0),s=r?ox(r.headers.get("content-length")):void 0;void 0!==o&&(e.data.request_body_size=o),void 0!==s&&(e.data.response_body_size=s)}(t,n),async function(e,t,n){try{const r=await async function(e,t,n){const r=Date.now(),{startTimestamp:o=r,endTimestamp:s=r}=t,{url:i,method:a,status_code:c=0,request_body_size:l,response_body_size:u}=e.data,d=ux(i,n.networkDetailAllowUrls)&&!ux(i,n.networkDetailDenyUrls),p=d?function({networkCaptureBodies:e,networkRequestHeaders:t},n,r){const o=n?(i=t,1===(s=n).length&&"string"!=typeof s[0]?px(s[0],i):2===s.length?px(s[1],i):{}):{};var s,i;if(!e)return cx(o,r,void 0);const a=hw(n),[c,l]=fw(a,RE),u=cx(o,r,c);return l?sx(u,l):u}(n,t.input,l):ax(l),f=await async function(e,{networkCaptureBodies:t,networkResponseHeaders:n},r,o){if(!e&&void 0!==o)return ax(o);const s=r?dx(r.headers,n):{};if(!r||!t&&void 0!==o)return cx(s,o,void 0);const[i,a]=await async function(e){const t=function(e){try{return e.clone()}catch(t){TE&&RE.exception(t,"Failed to clone response body")}}(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{const e=await function(e){return new Promise((t,n)=>{const r=aw(()=>n(new Error("Timeout while trying to read response body")),500);(async function(e){return await e.text()})(e).then(e=>t(e),e=>n(e)).finally(()=>clearTimeout(r))})}(t);return[e]}catch(n){return n instanceof Error&&n.message.indexOf("Timeout")>-1?(TE&&RE.warn("Parsing text body from response timed out"),[void 0,"BODY_PARSE_TIMEOUT"]):(TE&&RE.exception(n,"Failed to get text body from response"),[void 0,"BODY_PARSE_ERROR"])}}(r),c=function(e,{networkCaptureBodies:t,responseBodySize:n,captureDetails:r,headers:o}){try{const s=e?.length&&void 0===n?rx(e):n;return r?cx(o,s,t?e:void 0):ax(s)}catch(s){return TE&&RE.exception(s,"Failed to serialize response body"),cx(o,n,void 0)}}(i,{networkCaptureBodies:t,responseBodySize:o,captureDetails:e,headers:s});return a?sx(c,a):c}(d,n,t.response,u);return{startTimestamp:o,endTimestamp:s,url:i,method:a,statusCode:c,request:p,response:f}}(e,t,n),o=ix("resource.fetch",r);nx(n.replay,o)}catch(r){TE&&RE.exception(r,"Failed to capture fetch breadcrumb")}}(t,n,e))}catch(hC){TE&&RE.exception(hC,"Error when enriching network breadcrumb")}}(a,e,t))}catch{}}(e);const n=function(e){return Object.assign((t,n)=>{if(e.session&&WE(e.session,{maxReplayDuration:e.getOptions().maxReplayDuration,sessionIdleExpire:e.timeouts.sessionIdleExpire})&&ZE(),!e.isEnabled()||e.isPaused())return t;if(function(e){return"replay_event"===e.type}(t))return delete t.breadcrumbs,t;if(!JE(t)&&!YE(t)&&!XE(t))return t;if(!e.checkAndHandleExpiredSession())return ZE(),t;if(XE(t))return e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),function(e,t){e.triggerUserActivity(),e.addUpdate(()=>!t.timestamp||(e.throttledAddEvent({type:ak.Custom,timestamp:1e3*t.timestamp,data:{tag:"breadcrumb",payload:{timestamp:t.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:t.event_id}}}}),!1))}(e,t),t;if(function(e,t){return!(e.type||!e.exception?.values?.length||!t.originalException?.__rrweb__)}(t,n)&&!e.getOptions()._experiments.captureExceptions)return TE&&RE.log("Ignoring error from rrweb internals",t),null;const r=function(e,t){return"buffer"===e.recordingMode&&t.message!==zw&&!(!t.exception||t.type)&&jE(e.getOptions().errorSampleRate)}(e,t);if((r||"session"===e.recordingMode)&&(t.tags={...t.tags,replayId:e.getSessionId()}),r&&"buffer"===e.recordingMode&&"buffer"===e.session?.sampled){const t=e.session;t.dirty=!0,e.getOptions().stickySession&&FE(t)}return t},{id:"Replay"})}(e);var r;r=n,Vh().addEventProcessor(r),t&&(t.on("beforeSendEvent",function(e){return t=>{e.isEnabled()&&JE(t)&&function(e,t){const n=t.exception?.values?.[0]?.value;"string"==typeof n&&(n.match(/(reactjs\.org\/docs\/error-decoder\.html\?invariant=|react\.dev\/errors\/)(418|419|422|423|425)/)||n.match(/(does not match server-rendered HTML|Hydration failed because)/i))&&nE(e,dE({category:"replay.hydrate-error",data:{url:c_()}}))}(e,t)}}(e)),t.on("afterSendEvent",function(e){return(t,n)=>{if(!e.isEnabled()||!JE(t)&&!YE(t))return;const r=n.statusCode;!r||r<200||r>=300||(YE(t)?function(e,t){KE(e,t.contexts?.trace?.trace_id,t.transaction)}(e,t):function(e,t){const n=e.getContext();if(t.event_id&&n.errorIds.size<100&&n.errorIds.add(t.event_id),"buffer"!==e.recordingMode||!t.tags?.replayId)return;const{beforeErrorSampling:r}=e.getOptions();("function"!=typeof r||r(t))&&aw(async()=>{try{await e.sendBufferedReplayOrFlush()}catch(mC){e.handleException(mC)}})}(e,t))}}(e)),t.on("createDsc",t=>{const n=e.getSessionId();n&&e.isEnabled()&&"session"===e.recordingMode&&e.checkAndHandleExpiredSession()&&(t.replay_id=n)}),t.on("processSegmentSpan",function(e){return t=>{e.isEnabled()&&KE(e,t.trace_id,t.name||void 0)}}(e)),t.on("spanStart",t=>{e.lastActiveSpan=t}),t.on("spanEnd",t=>{e.lastActiveSpan=t}),t.on("beforeSendFeedback",async(t,n)=>{const r=e.getSessionId();n?.includeReplay&&e.isEnabled()&&r&&t.contexts?.feedback&&("api"===t.contexts.feedback.source&&await e.sendBufferedReplayOrFlush(),t.contexts.feedback.replay_id=r)}),t.on("openFeedbackWidget",async()=>{await e.sendBufferedReplayOrFlush()}))}(this),this._hasInitializedCoreListeners=!0)}catch(mC){this.handleException(mC)}this._performanceCleanupCallback=function(e){function t(t){e.performanceEntries.includes(t)||e.performanceEntries.push(t)}function n({entries:e}){e.forEach(t)}const r=[];
2return["navigation","paint","resource"].forEach(e=>{r.push(mb(e,n))}),r.push(fb(vE(wE,e)),pb(vE(kE,e)),hb(vE(EE,e))),()=>{r.forEach(e=>e())}}(this)}_removeListeners(){try{Ww.document.removeEventListener("visibilitychange",this._handleVisibilityChange),Ww.removeEventListener("blur",this._handleWindowBlur),Ww.removeEventListener("focus",this._handleWindowFocus),Ww.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(mC){this.handleException(mC)}}_doChangeToBackgroundTasks(e){this.session&&(WE(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})?ZE():(e&&this._createCustomBreadcrumb(e),this.conditionalFlush()))}_doChangeToForegroundTasks(e){this.session&&(this.checkAndHandleExpiredSession()?e&&this._createCustomBreadcrumb(e):TE&&RE.log("Document has become active, but session has expired"))}_updateUserActivity(e=Date.now()){this._lastActivity=e}_updateSessionActivity(e=Date.now()){this.session&&(this.session.lastActivity=e,this._maybeSaveSession())}_createCustomBreadcrumb(e){this.addUpdate(()=>{this.throttledAddEvent({type:ak.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})})}_addPerformanceEntries(){let e=(t=this.performanceEntries,t.map(_E).filter(Boolean)).concat(this.replayPerformanceEntries);var t;if(this.performanceEntries=[],this.replayPerformanceEntries=[],this._requiresManualStart){const t=this._context.initialTimestamp/1e3;e=e.filter(e=>e.start>=t)}return Promise.all(tx(this,e))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.segmentNames.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){const{session:e,eventBuffer:t}=this;if(!e||!t||this._requiresManualStart)return;if(e.segmentId)return;const n=t.getEarliestTimestamp();n&&n<this._context.initialTimestamp&&(this._context.initialTimestamp=n)}_popEventContext(){const e={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),segmentNames:Array.from(this._context.segmentNames),urls:this._context.urls};return this._clearContext(),e}async _runFlush(){const e=this.getSessionId();if(this.session&&this.eventBuffer&&e){if(await this._addPerformanceEntries(),this.eventBuffer?.hasEvents&&(await async function(e){try{return Promise.all(tx(e,[fx(Ww.performance.memory)]))}catch{return[]}}(this),this.eventBuffer&&e===this.getSessionId()))try{this._updateInitialTimestampFromEventBuffer();const t=Date.now();if(t-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw new vx;const n=this._popEventContext(),r=this.session.segmentId++;this._maybeSaveSession();const o=await this.eventBuffer.finish();await _x({replayId:e,recordingData:o,segmentId:r,eventContext:n,session:this.session,timestamp:t,onError:e=>this.handleException(e)})}catch(mC){this.handleException(mC),this.stop({reason:"sendError"});const t=Kh();if(t){let n;n=mC instanceof yx?"ratelimit_backoff":mC instanceof vx?"invalid":"send_error",t.recordDroppedEvent(n,"replay")}}}else TE&&RE.error("No session or eventBuffer found to flush.")}async _flush({force:e=!1}={}){if(!this._isEnabled&&!e)return;if(!this.checkAndHandleExpiredSession())return void(TE&&RE.error("Attempting to finish replay event after session expired."));if(!this.session)return;const t=this.session.started,n=Date.now()-t;this._debouncedFlush.cancel();const r=n<this._options.minReplayDuration,o=n>this._options.maxReplayDuration+5e3;if(r||o)return TE&&RE.log(`Session duration (${Math.floor(n/1e3)}s) is too ${r?"short":"long"}, not sending replay.`),void(r&&this._debouncedFlush());const s=this.eventBuffer;s&&0===this.session.segmentId&&!s.hasCheckout&&TE&&RE.log("Flushing initial segment without checkout.");const i=!!this._flushLock;this._flushLock||(this._flushLock=this._runFlush());try{await this._flushLock}catch(mC){this.handleException(mC)}finally{this._flushLock=void 0,i&&this._debouncedFlush()}}_maybeSaveSession(){this.session&&this._options.stickySession&&FE(this.session)}_onMutationHandler(e){const{ignoreMutations:t}=this._options._experiments;if(t?.length&&e.some(e=>{const n=function(e){if(!e)return null;
2try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch{return null}}(e.target),r=t.join(",");return n?.matches(r)}))return!1;const n=e.length,r=this._options.mutationLimit,o=r&&n>r;if(n>this._options.mutationBreadcrumbLimit||o){const e=dE({category:"replay.mutations",data:{count:n,limit:o}});this._createCustomBreadcrumb(e)}return!o||(this.stop({reason:"mutationLimit",forceFlush:"session"===this.recordingMode}),!1)}}function Sx(e,t){return[...e,...t].join(",")}const kx='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',Ex=["content-length","content-type","accept"],xx=Symbol.for("sentry__originalRequestBody");let Tx=!1,Cx=!1;const Ix=e=>new Ax(e);class Ax{constructor({flushMinDelay:e=5e3,flushMaxDelay:t=5500,minReplayDuration:n=4999,maxReplayDuration:r=36e5,stickySession:o=!0,useCompression:s=!0,workerUrl:i,_experiments:a={},maskAllText:c=!0,maskAllInputs:l=!0,blockAllMedia:u=!0,mutationBreadcrumbLimit:d=750,mutationLimit:p=1e4,slowClickTimeout:f=7e3,slowClickIgnoreSelectors:h=[],networkDetailAllowUrls:m=[],networkDetailDenyUrls:g=[],networkCaptureBodies:y=!0,networkRequestHeaders:v=[],networkResponseHeaders:_=[],mask:b=[],maskAttributes:w=["title","placeholder","aria-label"],unmask:S=[],block:k=[],unblock:E=[],ignore:x=[],maskFn:T,beforeAddRecordingEvent:C,beforeErrorSampling:I,onError:A,attachRawBodyFromRequest:R=!1}={}){this.name="Replay";const O=function({mask:e,unmask:t,block:n,unblock:r,ignore:o}){return{maskTextSelector:Sx(e,[".sentry-mask","[data-sentry-mask]"]),unmaskTextSelector:Sx(t,[]),blockSelector:Sx(n,[".sentry-block","[data-sentry-block]","base","iframe[srcdoc]:not([src])"]),unblockSelector:Sx(r,[]),ignoreSelector:Sx(o,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'])}}({mask:b,unmask:S,block:k,unblock:E,ignore:x});if(this._recordingOptions={maskAllInputs:l,maskAllText:c,maskInputOptions:{password:!0},maskTextFn:T,maskInputFn:T,maskAttributeFn:(e,t,n)=>function({el:e,key:t,maskAttributes:n,maskAllText:r,privacyOptions:o,value:s}){if(o.unmaskTextSelector&&e.matches(o.unmaskTextSelector))return s;const i=n.includes(t),a=r&&"value"===t&&"INPUT"===e.tagName&&["submit","button"].includes(e.getAttribute("type")||"");return i||a?s.replace(/[\S]/g,"*"):s}({maskAttributes:w,maskAllText:c,privacyOptions:O,key:e,value:t,el:n}),...O,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:e=>{try{e.__rrweb__=!0}catch{}},recordCrossOriginIframes:Boolean(a.recordCrossOriginIframes)},this._initialOptions={flushMinDelay:e,flushMaxDelay:t,minReplayDuration:Math.min(n,5e4),maxReplayDuration:Math.min(r,3
26e5),stickySession:o,useCompression:s,workerUrl:i,blockAllMedia:u,maskAllInputs:l,maskAllText:c,mutationBreadcrumbLimit:d,mutationLimit:p,slowClickTimeout:f,slowClickIgnoreSelectors:h,networkDetailAllowUrls:m,networkDetailDenyUrls:g,networkCaptureBodies:y,networkRequestHeaders:Rx(v),networkResponseHeaders:Rx(_),beforeAddRecordingEvent:C,beforeErrorSampling:I,onError:A,attachRawBodyFromRequest:R,_experiments:a},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${kx}`:kx,this._recordingOptions.ignoreCSSAttributes=new Set(["background-image"])),this._isInitialized&&Ey())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return Tx}set _isInitialized(e){Tx=e}afterAllSetup(e){Ey()&&!this._replay&&(this._initialOptions.attachRawBodyFromRequest&&function(){if("undefined"==typeof Request||Cx)return;const e=Request;try{const t=function(t,n){const r=new e(t,n);return null!=n?.body&&(r[xx]=n.body),r};t.prototype=e.prototype,ef.Request=t,Cx=!0}catch{}}(),this._setup(e),this._initialize(e))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(e){return this._replay?this._replay.stop({forceFlush:e?.flush??"session"===this._replay.recordingMode,reason:"manual"}):Promise.resolve()}flush(e){return this._replay?this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(e):(this._replay.start(),Promise.resolve()):Promise.resolve()}getReplayId(e){if(this._replay?.isEnabled())return this._replay.getSessionId(e)}getRecordingMode(){if(this._replay?.isEnabled())return this._replay.recordingMode}processSpan(e){const t=this.getReplayId(!0);t&&(Qg(e,{"sentry.replay_id":t}),"buffer"===this.getRecordingMode()&&Qg(e,{"sentry._internal.replay_is_buffering":!0}))}_initialize(e){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(e),this._replay.initializeSampling())}_setup(e){const t=function(e,t){const n=t.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...e},o=Tm(n.replaysSessionSampleRate),s=Tm(n.replaysOnErrorSampleRate);return null==o&&null==s&&cf(()=>{}),null!=o&&(r.sessionSampleRate=o),null!=s&&(r.errorSampleRate=s),r}(this._initialOptions,e);this._replay=new wx({options:t,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(e){try{const t=e.getIntegrationByName("ReplayCanvas");if(!t)return;this._replay._canvas=t.getOptions()}catch{}}}function Rx(e){return[...Ex,...e.map(e=>e.toLowerCase())]}function Ox(e){try{return new URL(e,u_.location.origin).href}catch{return}}function Mx(e){try{return new Headers(e)}catch{return}}const Px={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function Lx(e,t){const{url:n}=$m(e).data;if(!n||"string"!=typeof n)return;let r=()=>{setTimeout(o)};if(Rg(t)){const t=e.end.bind(e);e.end=e=>{const n=e??Sh();let s=!1;const i=()=>{s||(s=!0,setTimeout(o),t(n),clearTimeout(a))};r=i;const a=setTimeout(i,300)}}const o=mb("resource",({entries:t})=>{t.forEach(t=>{(function(e){return"resource"===e.entryType&&"initiatorType"in e&&"string"==typeof e.nextHopProtocol&&("fetch"===e.initiatorType||"xmlhttprequest"===e.initiatorType)})(t)&&t.name.endsWith(n)&&(e.setAttributes($b(t)),r())})})}const Nx=new WeakMap,Dx=new WeakMap,$x=["text/event-stream","application/x-ndjson","application/stream+json"],jx="WebVitals",Fx="sentry_previous_trace";function Bx(e){return 1===e.traceFlags}const Ux=/Googlebot|Google-InspectionTool|Storebot-Google|Bingbot|Slurp|DuckDuckBot|Baiduspider|YandexBot|Facebot|facebookexternalhit|LinkedInBot|Twitterbot|Applebot/i,Hx={...Ug,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{},...Px},Wx=(e={})=>{"enableElementTiming"in e&&cf(()=>{});const t={name:void 0,source:void 0},n=u_.document,{enableInp:r,enableLongTask:o,enableLongAnimationFrame:s,_experiments:{enableInteractions:i,enableStandaloneClsSpans:a,enableStandaloneLcpSpans:c},beforeStartSpan:l,idleTimeout:u,finalTimeout:d,childSpanTimeout:p,markBackgroun
2dSpan:f,traceFetch:h,traceXHR:m,trackFetchStreamPerformance:g,shouldCreateSpanForRequest:y,enableHTTPTimings:v,ignoreResourceSpans:_,ignorePerformanceApiSpans:b,instrumentPageLoad:w,instrumentNavigation:S,detectRedirects:k,linkPreviousTrace:E,consistentTraceSampling:x,enableReportPageLoaded:T,onRequestSpanStart:C,onRequestSpanEnd:I}={...Hx,...e},A=function(){const e=u_.navigator;return!!e?.userAgent&&Ux.test(e.userAgent)}();let R,O;function M(e,r,o=!0,s){const i="pageload"===r.op,a=r.name,c=l?l(r):r,f=mv(s||c_()),h={...f?.pathname&&{[Yg]:f.pathname},...f&&!hv(f)&&{[Jg]:pv(f.href)},...c.attributes};if(a!==c.name&&(h[Yh]="custom"),c.attributes=h,!o){const e=wh();return void Ng({...c,startTime:e}).end(e)}t.name=c.name,t.source=h[Yh];const m=Hg(c,{idleTimeout:u,finalTimeout:d,childSpanTimeout:p,disableAutoFinish:i,beforeSpanEnd:t=>{(function(e,t){const n=Ob(),r=Eh();if(!n?.getEntries||!r)return;const{spanStreamingEnabled:o,ignorePerformanceApiSpans:s,ignoreResourceSpans:i}=t,a=Mb(r),c=n.getEntries(),{op:l,start_timestamp:u}=$m(e);c.slice(Bb).forEach(t=>{const n=Mb(t.startTime),r=Mb(Math.max(0,t.duration));if(!("navigation"===l&&u&&a+n<u))switch(t.entryType){case"navigation":!function(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{Wb(e,t,r,n)}),Wb(e,t,"secureConnection",n,"TLS/SSL"),Wb(e,t,"fetch",n,"cache"),Wb(e,t,"domainLookup",n,"DNS"),function(e,t,n){const r=n+Mb(t.requestStart),o=n+Mb(t.responseEnd),s=n+Mb(t.responseStart);t.responseEnd&&(Ab(e,r,o,{op:"browser.request",name:t.name,attributes:{[em]:"auto.ui.browser.metrics"}}),Ab(e,s,o,{op:"browser.response",name:t.name,attributes:{[em]:"auto.ui.browser.metrics"}}))}(e,t,n)}(e,t,a);break;case"mark":case"paint":case"measure":!function(e,t,n,r,o,s){if(function(e){if("measure"===e?.entryType)try{return"Components ⚛"===e.detail.devtools.track}catch{return}}(t))return;if(["mark","measure"].includes(t.entryType)&&hh(t.name,s))return;const i=A_(!1),a=Mb(i?i.requestStart:0),c=o+Math.max(n,a),l=o+n,u=l+r,d={[em]:"auto.resource.browser.metrics"};c!==l&&(d["sentry.browser.measure_happened_before_request"]=!0,d["sentry.browser.measure_start_time"]=c),function(e,t){try{const n=t.detail;if(!n)return;if("object"==typeof n){for(const[t,r]of Object.entries(n))if(r&&Ff(r))e[`sentry.browser.measure.detail.${t}`]=r;else if(void 0!==r)try{e[`sentry.browser.measure.detail.${t}`]=JSON.stringify(r)}catch{}return}if(Ff(n))return void(e["sentry.browser.measure.detail"]=n);try{e["sentry.browser.measure.detail"]=JSON.stringify(n)}catch{}}catch{}}(d,t),c<=u&&Ab(e,c,u,{name:t.name,op:t.entryType,attributes:d})}(e,t,n,r,a,s);break;case"resource":!function(e,t,n,r,o,s,i){if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;const a=t.initiatorType?`resource.${t.initiatorType}`:"resource.other";if(i?.includes(a))return;const c={[em]:"auto.resource.browser.metrics"},l=yv(n);l.protocol&&(c["url.scheme"]=l.protocol.split(":").pop()),l.host&&(c["server.address"]=l.host),c["url.same_origin"]=n.includes(C_.location.origin),c[Jg]=pv(n),function(e,t){[["responseStatus","http.response.status_code"],["transferSize","http.response_transfer_size"],["encodedBodySize","http.response_content_length"],["decodedBodySize","http.decoded_response_content_length"],["renderBlockingStatus","resource.render_blocking_status"],["deliveryType","http.response_delivery_type"]].forEach(([n,r])=>{const o=e[n];null!=o&&("number"==typeof o&&o<2147483647||"string"==typeof o)&&(t[r]=o)})}(t,c);const u={...c,...$b(t)},d=s+r;Ab(e,d,d+o,{name:n.replace(C_.location.origin,""),op:a,attributes:u})}(e,t,t.name,n,r,a,i)}}),Bb=Math.max(c.length-1,0),function(e,t){const n=C_.navigator;if(!n)return;const r=n.connection;r&&(r.effectiveType&&e.setAttribute(t?"network.connection.effective_type":"effectiveConnectionType",r.effectiveType),r.type&&e.setAttribute(t?"network.connection.type":"connectionType",r.type),Ib(r.rtt)&&(t?e.setAttribute("network.connection.rtt",r.rtt):"pageload"===$m(e).op&&Cg("connection.rtt",r.rtt,"millisecond"))),Ib(n.deviceMemory)&&(t?e.setAttribute("device.memory.estimated_capacity",n.deviceMemory):e.setAttribute("deviceMemory",`${n.deviceMemory} GB`)),Ib(n.hardwareConcurrency)&&(t?e.setAttribute("device.processor_count",n.hardwareConcurrency):e.setAttribute("hardwareConcurrency",String(n.hardwareConcurrency)))}(e,o)})(t,{ignoreResourceSpans:_,ignorePerformanceApiSpans:b,spanStreamingEnabled:Rg(e)}),Jx(e,void 0);const n=zh(),r=n.getPropagationContext();n.setPropagationContext({...r,traceId:m.spanContext().traceId,sampled:Hm(m),dsc:hg(t)}),i&&(O=void 0)},trimIdleSpanEndTimestamp:!T});function g(){n&&["interactive","complete"].includes(n.readyState)&&(e.emit("idleSpanEnableAutoFinish",m),n.removeEventListener("readystatechange",g))}i&&T&&(O=m),Jx(e,m),i&&!T&&n&&(n.addEventListener("readystatechange",g),g())}return{name:"BrowserTracing",setup(e){if(A)yw&&pf.log("[Tracing] Skipping browserTracingIntegration setup for bot user agent.");else{if(function(){function e(){const e=Qm(),t=e&&Ym(e);if(t){const e="internal_error";Zp&&pf.log(`[Tracing] Root span: ${e} -> Global error occurred`),t.setStatus({code:2,message:e})}}eg||(eg=!0,Cf(e),Rf(e))}(),s&&ef.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?.includes("long-animation-frame")?new PerformanceObserver(e=>{const t=Qm();if(t)for(const n of e.getEntries()){if(!n.scripts[0])continue;const e=Mb(Eh()+n.startTime),{start_timestamp:r,op:o}=$m(t);if("navigation"===o&&r&&e<r)continue;const s=Mb(n.duration),i={[em]:"auto.ui.browser.metrics"}
2,a=n.scripts[0],{invoker:c,invokerType:l,sourceURL:u,sourceFunctionName:d,sourceCharPosition:p}=a;i["browser.script.invoker"]=c,i["browser.script.invoker_type"]=l,u&&(i["code.filepath"]=u),d&&(i["code.function"]=d),-1!==p&&(i["browser.script.source_char_position"]=p),Ab(t,e,e+s,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:i})}}).observe({type:"long-animation-frame",buffered:!0}):o&&mb("longtask",({entries:e})=>{const t=Qm();if(!t)return;const{op:n,start_timestamp:r}=$m(t);for(const o of e){const e=Mb(Eh()+o.startTime),s=Mb(o.duration);"navigation"===n&&r&&e<r||Ab(t,e,e+s,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[em]:"auto.ui.browser.metrics"}})}}),i&&mb("event",({entries:e})=>{const t=Qm();if(t)for(const n of e)if("click"===n.name){const e=Mb(Eh()+n.startTime),r=Mb(n.duration),o={name:Tb(n.target),op:`ui.interaction.${n.name}`,startTime:e,attributes:{[em]:"auto.ui.browser.metrics"}},s=l_(n.target);s&&(o.attributes["ui.component_name"]=s),Ab(t,e,e+r,o)}}),k&&n){const e=()=>{R=Sh()};addEventListener("click",e,{capture:!0}),addEventListener("keydown",e,{capture:!0,passive:!0})}e.on("startNavigationSpan",(n,r)=>{if(Kh()!==e)return;if(r?.isRedirect)return yw&&pf.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),void M(e,{op:"navigation.redirect",...n},!1,r.url);R=void 0,t();const o=zh();o.setPropagationContext({traceId:Ch(),sampleRand:Math.random(),propagationSpanId:tg()?void 0:Ih()}),o.setSDKProcessingMetadata({normalizedRequest:void 0}),M(e,{op:"navigation",...n,parentSpan:null,forceTransaction:!0},!0,r?.url)}),e.on("startPageLoadSpan",(n,r={})=>{if(Kh()!==e)return;t();const o=function(e,t){const n=function(e){if(!e)return;const t=e.match(Cm);if(!t)return;let n;return"1"===t[3]?n=!0:"0"===t[3]&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}(e),r=_m(t);if(!n?.traceId)return{traceId:Ch(),sampleRand:eh()};const o=function(e,t){const n=Tm(t?.sample_rand);if(void 0!==n)return n;const r=Tm(t?.sample_rate);return r&&void 0!==e?.parentSampled?e.parentSampled?eh()*r:r+eh()*(1-r):eh()}(n,r);r&&(r.sample_rand=o.toString());const{traceId:s,parentSpanId:i,parentSampled:a}=n;return{traceId:s,parentSpanId:i,sampled:a,dsc:r||{},sampleRand:o}}(r.sentryTrace||zx("sentry-trace")||Vx("sentry-trace"),r.baggage||zx("baggage")||Vx("baggage")),s=zh();s.setPropagationContext(o),tg()||(s.getPropagationContext().propagationSpanId=Ih()),s.setSDKProcessingMetadata({normalizedRequest:h_()}),M(e,{op:"pageload",...n})}),e.on("endPageloadSpan",()=>{T&&O&&(O.setAttribute(nm,"reportPageLoaded"),O.end())})}function t(){const t=Kx(e);t&&!$m(t).timestamp&&(yw&&pf.log(`[Tracing] Finishing current active span with op: ${$m(t).op}`),t.setAttribute(nm,"cancelled"),t.end())}},afterAllSetup(e){if(A)return;e.addIntegration&&!e.getIntegrationByName?.(jx)&&e.addIntegration(((e={})=>{const t=new Set(e.ignore??[]);return{name:jx,setup(n){const r=Rg(n),{enableStandaloneClsSpans:o,enableStandaloneLcpSpans:s}=e._experiments??{},i=r||t.has("cls")?void 0:o||!1,a=r||t.has("lcp")?void 0:s||!1,c=function({recordClsStandaloneSpans:e,recordLcpStandaloneSpans:t,client:n}){const r=Ob();if(r&&Eh()){r.mark&&C_.performance.mark("sentry-tracing-init");const o=t?function(e){let t,n=0;if(!Pb("largest-contentful-paint"))return;const r=fb(({metric:e})=>{const r=e.entries[e.entries.length-1];r&&Nb(e.value)&&(n=e.value,t=r)},!0);Lb(e,(e,o)=>{!function(e,t,n,r){if(!Nb(e))return;T_&&pf.log(`Sending LCP span (${e})`);const o=Mb((Eh()||0)+(t?.startTime||0)),s=zh().getScopeData().transactionName,i=t?Tb(t.element):"Largest contentful paint",a={[em]:"auto.http.browser.lcp",[Zh]:"ui.webvital.lcp",[am]:0,"sentry.pageload.span_id":n,"sentry.report_event":r};t&&(t.element&&(a["lcp.element"]=Tb(t.element)),t.id&&(a["lcp.id"]=t.id),t.url&&(a["lcp.url"]=t.url),null!=t.loadTime&&(a["lcp.loadTime"]=t.loadTime),null!=t.renderTime&&(a["lcp.renderTime"]=t.renderTime),null!=t.size&&(a["lcp.size"]=t.size));const c=Rb({name:i,transaction:s,attributes:a,startTime:o});c&&(c.addEvent("lcp",{[rm]:"millisecond",[om]:e}),c.end(o))}(n,t,o,e),r()})}(n):!1===t?fb(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&Nb(e.value)&&(Ub.lcp={value:e.value,unit:"millisecond"},jb=t)},!0):void 0,s=e?function(e){let t,n=0;if(!Pb("layout-shift"))return;const r=pb(({metric:e})=>{const r=e.entries[e.entries.length-1];r&&(n=e.value,t=r)},!0);Lb(e,(e,o)=>{!function(e,t,n,r){T_&&pf.log(`Sending CLS span (${e})`);const o=t?Mb((Eh()||0)+t.startTime):Sh(),s=zh().getScopeData().transactionName,i=t?Tb(t.
2sources[0]?.node):"Layout shift",a={[em]:"auto.http.browser.cls",[Zh]:"ui.webvital.cls",[am]:0,"sentry.pageload.span_id":n,"sentry.report_event":r};t?.sources&&t.sources.forEach((e,t)=>{a[`cls.source.${t+1}`]=Tb(e.node)});const c=Rb({name:i,transaction:s,attributes:a,startTime:o});c&&(c.addEvent("cls",{[rm]:"",[om]:e}),c.end(o))}(n,t,o,e),r()})}(n):!1===e?pb(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(Ub.cls={value:e.value,unit:""},Fb=t)},!0):void 0,i=wb("ttfb",({metric:e})=>{e.entries[e.entries.length-1]&&(Ub.ttfb={value:e.value,unit:"millisecond"})},_b,ub),a=mb("paint",({entries:e})=>{const t=D_();for(const n of e){const e=n.startTime<t.firstHiddenTime;"first-paint"===n.name&&e&&(Ub.fp={value:n.startTime,unit:"millisecond"}),"first-contentful-paint"===n.name&&e&&(Ub.fcp={value:n.startTime,unit:"millisecond"})}});return()=>{i(),a(),o?.(),s?.()}}return()=>{}}({recordClsStandaloneSpans:i,recordLcpStandaloneSpans:a,client:n}),l=new WeakSet;n.on("afterStartPageLoadSpan",e=>{l.add(e)}),n.on("spanEnd",e=>{l.delete(e)&&(c(),function(e,t){const n=Eh();if(!Ob()?.getEntries||!n)return void Hb();const{spanStreamingEnabled:r,recordClsOnPageloadSpan:o,recordLcpOnPageloadSpan:s}=t,i=Mb(n);if("pageload"===$m(e).op){if(function(e){const t=A_(!1);if(!t)return;const{responseStart:n,requestStart:r}=t;r<=n&&(e["ttfb.requestTime"]={value:n-r,unit:"millisecond"})}(Ub),r){const t=(t,n,r)=>{const o=r??`browser.web_vital.${t}.value`;e.setAttribute(o,n),T_&&pf.log("Setting web vital attribute",{[o]:n},"on pageload span")};["ttfb","fp","fcp"].forEach(e=>{Ub[e]&&t(e,Ub[e].value)}),Ub["ttfb.requestTime"]&&t("ttfb.requestTime",Ub["ttfb.requestTime"].value,"browser.web_vital.ttfb.request_time")}else o||delete Ub.cls,s||delete Ub.lcp,Object.entries(Ub).forEach(([t,n])=>{Cg(t,n.value,n.unit,e)}),function(e,t){jb&&t.recordLcpOnPageloadSpan&&(jb.element&&e.setAttribute("lcp.element",Tb(jb.element)),jb.id&&e.setAttribute("lcp.id",jb.id),jb.url&&e.setAttribute("lcp.url",jb.url.trim().slice(0,200)),null!=jb.loadTime&&e.setAttribute("lcp.loadTime",jb.loadTime),null!=jb.renderTime&&e.setAttribute("lcp.renderTime",jb.renderTime),e.setAttribute("lcp.size",jb.size)),Fb?.sources&&t.recordClsOnPageloadSpan&&Fb.sources.forEach((t,n)=>e.setAttribute(`cls.source.${n+1}`,Tb(t.node)))}(e,t);e.setAttribute(r?"browser.performance.time_origin":"performance.timeOrigin",i),e.setAttribute(r?"browser.performance.navigation.activation_start":"performance.activationStart",R_())}Hb()}(e,{recordClsOnPageloadSpan:!1===i,recordLcpOnPageloadSpan:!1===a,spanStreamingEnabled:r}))}),r?(t.has("lcp")||function(e){let t,n=0;if(!Pb("largest-contentful-paint"))return;const r=fb(({metric:e})=>{const r=e.entries[e.entries.length-1];r&&Nb(e.value)&&(n=e.value,t=r)},!0);Lb(e,(e,o,s)=>{!function(e,t,n,r){if(!Nb(e))return;T_&&pf.log(`Sending LCP span (${e})`);const o=Eh()||0,s=Mb(o),i=Mb(o+(t?.startTime||0)),a=t?Tb(t.element):"Largest contentful paint",c={};t?.element&&(c["browser.web_vital.lcp.element"]=Tb(t.element)),t?.id&&(c["browser.web_vital.lcp.id"]=t.id),t?.url&&(c["browser.web_vital.lcp.url"]=t.url),null!=t?.loadTime&&(c["browser.web_vital.lcp.load_time"]=t.loadTime),null!=t?.renderTime&&(c["browser.web_vital.lcp.render_time"]=t.renderTime),null!=t?.size&&(c["browser.web_vital.lcp.size"]=t.size),Jb({name:a,op:"ui.webvital.lcp",origin:"auto.http.browser.lcp",metricName:"lcp",value:e,attributes:c,parentSpan:n,reportEvent:r,startTime:s,endTime:i})}(n,t,s,e),r()})}(n),t.has("cls")||function(e){let t,n=0;if(!Pb("layout-shift"))return;const r=pb(({metric:e})=>{const r=e.entries[e.entries.length-1];r&&(n=e.value,t=r)},!0);Lb(e,(e,o,s)=>{!function(e,t,n,r){T_&&pf.log(`Sending CLS span (${e})`);const o=t?Mb((Eh()||0)+t.startTime):Sh(),s=t?Tb(t.sources[0]?.node):"Layout shift",i={};t?.sources&&t.sources.forEach((e,t)=>{i[`browser.web_vital.cls.source.${t+1}`]=Tb(e.node)}),Jb({name:s,op:"ui.webvital.cls",origin:"auto.http.browser.cls",metricName:"cls",value:e,attributes:i,parentSpan:n,reportEvent:r,startTime:o})}(n,t,s,e),r()})}(n),t.has("inp")||Ob()&&Eh()&&hb(({metric:e})=>{if(null==e.value)return;if(Mb(e.value)>60)return;const t=e.entries.find(t=>t.duration===e.value&&Gb[t.name]);t&&function(e,t){T_&&pf.log(`Sending INP span (${e})`);const n=Mb(Eh()+t.startTime),r=Mb(e),o=Gb[t.name],s=null!=(u=t.interactionId)?zb.get(u):void 0,i=Qm(),a=i?Ym(i):void 0,c=s?.span||a,l=c?jm(c).name:zh().getScopeData().transactionName;var u;Jb({name:s?.elementName||Tb(t.target),op:`ui.interaction.${o}`,origin:"auto.http.browser.inp",metricName:"inp",value:e,attributes:{[am]:t.duration,[Kg]:l,[Gg]:l},startTime:n,endTime:n+r,parentSpan:c})}(e.value,t)})):t.has("inp")||Ob()&&Eh()&&hb(Kb)},afterAllSetup(){t.has("inp")||function(){const e=Object.keys(Gb);function t(e){const t=e.target;if(!t)return;const n=Tb(t),r=Math.round(e.timeStamp);if(Vb.set(r,n),Vb.size>50){const e=Vb.keys().next().value;void 0!==e&&Vb.delete(e)}}
2Ey()&&e.forEach(e=>{C_.addEventListener(e,t,{capture:!0,passive:!0})});const n=({entries:e})=>{const t=Qm(),n=t&&Ym(t);e.forEach(e=>{if(!function(e){return"duration"in e}(e))return;const t=e.interactionId;if(null==t)return;if(zb.has(t))return;const r=e.target?Tb(e.target):function(e){const t=Math.round(e.startTime);let n=Vb.get(t);if(!n)for(let r=-5;r<=5;r++){const e=Vb.get(t+r);if(e){n=e;break}}return n||"<unknown>"}(e);if(qb.length>10){const e=qb.shift();zb.delete(e)}qb.push(t),zb.set(t,{span:n,elementName:r})})};mb("event",n),mb("first-input",n)}()}}})({ignore:r?[]:["inp"],_experiments:{enableStandaloneClsSpans:a,enableStandaloneLcpSpans:c}}));let n=c_();if("off"!==E&&function(e,{linkPreviousTrace:t,consistentTraceSampling:n}){const r="session-storage"===t;let o=r?function(){try{const e=u_.sessionStorage?.getItem(Fx);return JSON.parse(e)}catch{return}}():void 0;e.on("spanStart",e=>{if(Ym(e)!==e)return;const t=zh().getPropagationContext();o=function(e,t,n){const r=$m(t),o={spanContext:t.spanContext(),startTimestamp:r.start_timestamp,sampleRate:function(){try{const e=Number(r.data?.[Xh]??n.dsc?.sample_rate);return Number.isNaN(e)?0:e}catch{return 0}}(),sampleRand:n.sampleRand};if(!e)return o;const s=e.spanContext;return s.traceId===r.trace_id?e:(Date.now()/1e3-e.startTimestamp<=3600&&(yw&&pf.log(`Adding previous_trace \`${JSON.stringify(s)}\` link to span \`${JSON.stringify({op:r.op,...t.spanContext()})}\``),t.addLink({context:s,attributes:{[cm]:"previous_trace"}}),t.setAttribute("sentry.previous_trace",`${s.traceId}-${s.spanId}-${Bx(s)?1:0}`)),o)}(o,e,t),r&&function(e){try{u_.sessionStorage.setItem(Fx,JSON.stringify(e))}catch(hC){yw&&pf.warn("Could not store previous trace in sessionStorage",hC)}}(o)});let s=!0;n&&e.on("beforeSampling",e=>{if(!o)return;const t=zh(),n=t.getPropagationContext();s&&n.parentSpanId?s=!1:(t.setPropagationContext({...n,dsc:{...n.dsc,sample_rate:String(o.sampleRate),sampled:String(Bx(o.spanContext))},sampleRand:o.sampleRand}),e.parentSampled=Bx(o.spanContext),e.parentSampleRate=o.sampleRate,e.spanAttributes={...e.spanAttributes,[Qh]:o.sampleRate})})}(e,{linkPreviousTrace:E,consistentTraceSampling:x}),u_.location){if(w){const t=Eh();!function(e,t){e.emit("startPageLoadSpan",t,void 0),zh().setTransactionName(t.name);const n=Kx(e);n&&e.emit("afterStartPageLoadSpan",n)}(e,{name:u_.location.pathname,startTime:t?t/1e3:void 0,attributes:{[Yh]:"url",[em]:"auto.pageload.browser"}})}S&&rw(({to:t,from:r})=>{if(void 0===r&&-1!==n?.indexOf(t))return void(n=void 0);n=void 0;const o=mv(t),s=Kx(e),i=s&&k&&function(e,t){const n=$m(e),r=wh();return!(r-n.start_timestamp>Yx||t&&r-t<=Yx)}(s,R);qx(e,{name:o?.pathname||u_.location.pathname,attributes:{[Yh]:"url",[em]:"auto.navigation.browser"}},{url:t,isRedirect:i})})}f&&(u_.document?u_.document.addEventListener("visibilitychange",()=>{const e=Qm();if(!e)return;const t=Ym(e);if(u_.document.hidden&&t){const e="cancelled",{op:n,status:r}=$m(t);yw&&pf.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${n}`),r||t.setStatus({code:2,message:e}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):yw&&pf.warn("[Tracing] Could not set up background tab detection due to lack of global document")),i&&function(e,t,n,r,o){let s;u_.document&&addEventListener("click",()=>{const i="ui.action.click",a=Kx(e);if(a){const e=$m(a).op;if(["navigation","pageload"].includes(e))return void(yw&&pf.warn(`[Tracing] Did not create ${i} span because a pageload or navigation span is in progress.`))}s&&(s.setAttribute(nm,"interactionInterrupted"),s.end(),s=void 0),o.name?s=Hg({name:o.name,op:i,attributes:{[Yh]:o.source||"url"}},{idleTimeout:t,finalTimeout:n,childSpanTimeout:r}):yw&&pf.warn(`[Tracing] Did not create ${i} transaction because _latestRouteName is missing.`)},{capture:!0})}(e,u,d,p,t),function(e,t){const{traceFetch:n,traceXHR:r,shouldCreateSpanForRequest:o,enableHTTPTimings:s,tracePropagationTargets:i,onRequestSpanStart:a,onRequestSpanEnd:c}
2={...Px,...t},l="function"==typeof o?o:e=>!0,u=e=>function(e,t){const n=c_();if(n){let r,o;try{r=new URL(e,n),o=new URL(n).origin}catch{return!1}const s=r.origin===o;return t?hh(r.toString(),t)||s&&hh(r.pathname,t):s}{const n=!!e.match(/^\/(?!\/)/);return t?hh(e,t):n}}(e,i),d={},p=e.getOptions().propagateTraceparent;n&&t_(t=>{const n=function(e,t,n,r,o){if(!e.fetchData)return;const{method:s,url:i}=e.fetchData,a=tg()&&t(i);if(e.endTimestamp){const t=e.fetchData.__span;if(!t)return;const n=r[t];return void(n&&(a&&(function(e,t){if(t.response){lm(e,t.response.status);const n=t.response?.headers?.get("content-length");if(n){const t=parseInt(n);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus({code:2,message:"internal_error"});e.end()}(n,e),function(e,t,n){const r="object"==typeof n&&null!==n?n.onRequestSpanEnd:void 0;r?.(e,{headers:t.response?.headers,error:t.error})}(n,e,o)),delete r[t]))}const{spanOrigin:c="auto.http.browser",propagateTraceparent:l=!1}=o,u=Kh(),d=!!Qm(),p=d||!!u&&Rg(u),f=a&&p?Ng(function(e,t,n,r){if(e.startsWith("data:"))return{name:`${t} ${vv(e)}`,attributes:Kv(e,void 0,t,n,r)};const o=mv(e);return{name:`${t} ${o?gv(o):e}`,attributes:Kv(e,o,t,n,r)}}(i,s,c,u)):new ag,h=Bg(f)&&d?void 0:f;if(a&&!p&&u?.recordDroppedEvent("no_parent_span","span"),e.fetchData.__span=f.spanContext().spanId,r[f.spanContext().spanId]=f,n(e.fetchData.url)){const t=e.args[0],n={...e.args[1]||{}},r=function(e,t,n,r){const o=Sv({span:n,propagateTraceparent:r}),s=o["sentry-trace"],i=o.baggage,a=o.traceparent;if(!s)return;const c=t.headers||(zf(e)?e.headers:void 0);if(c){if(function(e){return"undefined"!=typeof Headers&&qf(e,Headers)}(c)){const e=new Headers(c);if(e.get("sentry-trace")||e.set("sentry-trace",s),r&&a&&!e.get("traceparent")&&e.set("traceparent",a),i){const t=e.get("baggage");t?Gv(t)||e.set("baggage",`${t},${i}`):e.set("baggage",i)}return e}if(function(e){return!!Array.isArray(e)&&e.every(e=>Array.isArray(e)&&2===e.length&&"string"==typeof e[0])}(c)){const e=[...c];e.find(e=>"sentry-trace"===e[0])||e.push(["sentry-trace",s]),r&&a&&!e.find(e=>"traceparent"===e[0])&&e.push(["traceparent",a]);const t=c.find(e=>"baggage"===e[0]&&"string"==typeof e[1]&&Gv(e[1]));return i&&!t&&e.push(["baggage",i]),e}{const e="sentry-trace"in c?c["sentry-trace"]:void 0,t="traceparent"in c?c.traceparent:void 0,n="baggage"in c?c.baggage:void 0,o=n?Array.isArray(n)?[...n]:[n]:[],l=n&&(Array.isArray(n)?n.find(e=>Gv(e)):Gv(n));i&&!l&&o.push(i);const u=Object.assign({},c,{"sentry-trace":e??s,...o.length>0&&{baggage:o.join(",")}});return r&&a&&!t&&(u.traceparent=a),u}}return{"sentry-trace":s,...i&&{baggage:i},...a&&{traceparent:a}}}(t,n,tg()&&p?h:void 0,l);r&&(e.args[1]=n,n.headers=r)}if(u){const t={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};u.emit("beforeOutgoingRequestSpan",f,t)}return f}(t,l,u,d,{propagateTraceparent:p,onRequestSpanEnd:c}
2);if(n){const r=Ox(t.fetchData.url),o=r?yv(r).host:void 0,i=r?vv(r):void 0;n.setAttributes({[Vg]:pv(i),[Jg]:pv(i),"server.address":o}),s&&Lx(n,e),a?.(n,{headers:t.headers})}}),r&&lw(t=>{const n=function(e,t,n,r,o,s){const i=e.xhr,a=i?.[cw];if(!i||i.__sentry_own_request__||!a)return;const{url:c,method:l}=a,u=tg()&&t(c);if(e.endTimestamp){const t=i.__sentry_xhr_span_id__;if(!t)return;const n=r[t];return void(n&&(u&&void 0!==a.status_code&&(lm(n,a.status_code),n.end(),s?.(n,{headers:Mx(mw(i)),error:e.error})),delete r[t]))}const d=Ox(c),p=yv(d||c),f=d?vv(d):void 0,h=vv(c.split(/[?#]/,1)[0]),m=Kh(),g=!!Qm(),y=g||!!m&&Rg(m),v=u&&y?Ng({name:`${l} ${h}`,attributes:{url:pv(vv(c)),type:"xhr","http.method":l,"http.url":pv(f),[Jg]:pv(f),"server.address":p?.host,[em]:"auto.http.browser",[Zh]:"http.client",...p?.search&&{"http.query":fv(p?.search)},...p?.hash&&{"http.fragment":p?.hash}}}):new ag,_=Bg(v)&&g?void 0:v;return u&&!y&&m?.recordDroppedEvent("no_parent_span","span"),i.__sentry_xhr_span_id__=v.spanContext().spanId,r[i.__sentry_xhr_span_id__]=v,n(c)&&function(e,t,n){const{"sentry-trace":r,baggage:o,traceparent:s}=Sv({span:t,propagateTraceparent:n});r&&function(e,t,n,r){const o=e.__sentry_xhr_v3__?.request_headers;if(!o?.["sentry-trace"]&&e.setRequestHeader)try{if(e.setRequestHeader("sentry-trace",t),r&&!o?.traceparent&&e.setRequestHeader("traceparent",r),n){const t=o?.baggage;t&&t.split(",").some(e=>e.trim().startsWith("sentry-"))||e.setRequestHeader("baggage",n)}}catch{}}(e,r,o,s)}(i,tg()&&y?_:void 0,o),m&&m.emit("beforeOutgoingRequestSpan",v,e),v}(t,l,u,d,p,c);n&&(s&&Lx(n,e),a?.(n,{headers:Mx(t.xhr.__sentry_xhr_v3__?.request_headers)}))})}(e,{traceFetch:h,traceXHR:m,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:y,enableHTTPTimings:v,onRequestSpanStart:C,onRequestSpanEnd:I}),g&&e.addIntegration({name:"FetchStreamPerformance",setup(){!function(){const e="fetch-body-resolved";kf(e,e=>{if(e.response){const t=Nx.get(e.response);if(t&&e.endTimestamp){t.end(e.endTimestamp);const n=Dx.get(e.response);n&&clearTimeout(n)}}}),Ef(e,()=>n_(r_))}(),t_(e=>{if(e.endTimestamp&&e.response){const t=e.response.headers?.get("content-type")||"";if(e.response.headers?.get("content-length")||!$x.some(e=>
2t.startsWith(e)))return;const n=e.fetchData?.url||"",r=e.fetchData?.method||"GET",o=mv(n),s=Ng({name:`${r} ${n.startsWith("data:")?vv(n):o?gv(o):n}`,startTime:e.endTimestamp,attributes:{url:pv(vv(n)),"http.method":r,type:"fetch",[Zh]:"http.client.stream",[em]:"auto.http.browser.stream"}});Nx.set(e.response,s);const i=setTimeout(()=>{s.isRecording()&&s.end()},9e4);Dx.set(e.response,i)}})}})}}};function qx(e,t,n){const{url:r,isRedirect:o}=n||{};e.emit("beforeStartNavigationSpan",t,{isRedirect:o,url:r}),e.emit("startNavigationSpan",t,{isRedirect:o,url:r});const s=zh();return s.setTransactionName(t.name),r&&!o&&s.setSDKProcessingMetadata({normalizedRequest:{...h_(),url:r}}),Kx(e)}function zx(e){const t=u_.document,n=t?.querySelector(`meta[name=${e}]`);return n?.getAttribute("content")||void 0}function Vx(e){const t=u_.performance?.getEntriesByType?.("navigation")[0],n=t?.serverTiming?.find(t=>t.name===e);return n?.description}const Gx="_sentry_idleSpan";function Kx(e){return e[Gx]}function Jx(e,t){Gf(e,Gx,t)}const Yx=1.5,Xx=["activate","mount"],Qx="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,Zx=/(?:^|[-_])(\w)/g,eT="<Anonymous>",tT=(e,t)=>{if(!e)return eT;if(e.$root===e)return"<Root>";if(!e.$options)return eT;const n=e.$options;let r=n.name||n._componentTag||n.__name;const o=n.__file;if(!r&&o){const e=o.match(/([^/\\]+)\.vue$/);e&&(r=e[1])}return(r?`<${s=r,s.replace(Zx,e=>e.toUpperCase()).replace(/[-_]/g,"")}>`:eT)+(o&&!1!==t?` at ${o}`:"");var s},nT="ui.vue",rT={activate:["activated","deactivated"],create:["beforeCreate","created"],unmount:["beforeUnmount","unmounted"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]};function oT(e,t,n){e.$_sentryRootComponentSpanTimer&&clearTimeout(e.$_sentryRootComponentSpanTimer),e.$_sentryRootComponentSpanTimer=setTimeout(()=>{e.$root?.$_sentryRootComponentSpan&&(e.$root.$_sentryRootComponentSpan.end(t),e.$root.$_sentryRootComponentSpan=void 0)},n)}function sT(e,t){function n(e){return e.replace(/^<([^\s]*)>(?: at [^\s]*)?$/,"$1")}return e.some(e=>n(t)===n(e))}const iT=(e={})=>{const t=(n=(e.hooks||[]).concat(Xx),Array.from(new Set(n)));var n;const r={},o=e.timeout||2e3;for(const s of t){const t=rT[s];if(t)for(const n of t)r[n]=function(){const r=this.$root===this;r&&(this.$_sentryRootComponentSpan=this.$_sentryRootComponentSpan||Ng({name:"Application Render",op:`${nT}.render`,attributes:{[em]:"auto.ui.vue"},onlyIfParent:!0}),oT(this,Sh(),o));const i=tT(this,!1);if(!r&&!(Array.isArray(e.trackComponents)?sT(e.trackComponents,i):e.trackComponents))return void oT(this,Sh(),o);this.$_sentryComponentSpans=this.$_sentryComponentSpans||{};const a=n===t[0],c=this.$root?.$_sentryRootComponentSpan||Qm();if(a){if(c){const e=this.$_sentryComponentSpans[s];e&&e.end(),this.$_sentryComponentSpans[s]=Ng({name:`Vue ${i}`,op:`${nT}.${s}`,attributes:{[em]:"auto.ui.vue"},onlyIfParent:!0})}}else{const e=this.$_sentryComponentSpans[s];if(!e)return;e.end(),oT(this,Sh(),o)}};else Qx&&pf.warn(`Unknown hook: ${s}`)}return r},aT={Vue:ef.Vue,attachProps:!0,attachErrorHandler:!0,tracingOptions:{hooks:Xx,timeout:2e3,trackComponents:!1}},cT=(e,t)=>{if(Qx){const t=e,n=t._instance?.isMounted;!0===n&&cf(()=>{})}t.attachErrorHandler&&((e,t)=>{const{errorHandler:n}=e.config;e.config.errorHandler=(r,o,s)=>{const i=tT(o,!1),a=o?(e=>{if(e&&(e._isVue||e.__isVue)&&e.$parent){const t=[];let n=0;for(;e;){if(t.length>0){const r=t[t.length-1];if(r.constructor===e.constructor){n++,e=e.$parent;continue}n>0&&(t[t.length-1]=[r,n],n=0)}t.push(e),e=e.$parent}return`\n\nfound in\n\n${t.map((e,t)=>{return`${(0===t?"---\x3e ":(n=5+2*t," ".repeat(n)))+(Array.isArray(e)?`${tT(e[0])}... (${e[1]} recursive calls)`:tT(e))}`;var n}).join("\n")}`}return`\n\n(found in ${tT(e)})`})(o):"",c={componentName:i,lifecycleHook:s,trace:a};if(!1!==t?.attachProps&&o&&(o.$options?.propsData?c.propsData=o.$options.propsData:o.$props&&(c.propsData=o.$props)),setTimeout(()=>{uy(r,{captureContext:{contexts:{vue:c}},mechanism:{handled:!!n,type:"auto.function.vue.error_handler"}})}),"function"!=typeof n||!e.config.errorHandler)throw r;n.call(e,r,o,s)}})(e,t),tg(t)&&e.mixin(iT(t.tracingOptions))};function lT(e){const{error:t,instance:n,info:r}=e,o={info:r};if(n?.$props){const e=Kh(),t=e?e.getOptions():null;t?.attachProps&&!1!==n.$props&&(o.propsData=n.$props)}setTimeout(()=>{uy(t,{captureContext:{contexts:{nuxt:o}},mechanism:{handled:!1,type:`auto.function.nuxt.${n?"vue":"app"}-error`}})})}const uT=[ip,dp,kp,Cp,Ip,Ap,Rp,$p,jp,Bp,Up,Xp,Qp,fc({dependsOn:["sentry-client-config"],async setup(e){if("undefined"==typeof __SENTRY_TRACING__||__SENTRY_TRACING__){const t=Kh();t&&"$router"in e&&t.addIntegration(function(e={}){if(!e.router)return Wx(e);const t=Wx({...e,instrumentNavigation:!1}),{router:n,instrumentNavigation:r=!0,instrumentPageLoad:o=!0,routeLabel:s="name"}=e;return{...t,afterAllSetup(e){t.afterAllSetup(e),function(t,n){let r=!1;const o="mode"in t;t.onError(e=>uy(e,{mechanism:{handled:!1}})),t.beforeEach((t,s,...i)=>{const a=r?void 0:function(){const e=Qm(),t=e&&Ym(e);if(t)return"pageload"===$m(t).op?t:void 0}(),c={};for(const e of Object.keys(t.params))c[`url.path.parameter.${e}`]=t.params[e],c[`params.${e}`]=t.params[e];for(const e of Object.keys(t.query)){const n=t.query[e];n&&(c[`query.${e}`]=n)}let l=t.path,u="url";if(t.name&&"path"!==n.routeLabel)l=t.name.toString(),u="custom";else if(t.matched.length>0){const e=t.matched.length-1;l=t.matched[e].path,u="route"}
2if("route"===u&&(c["url.template"]=l),t.name&&(c["navigation.route.id"]=t.name.toString()),zh().setTransactionName(l),n.instrumentPageLoad&&a&&("custom"!==$m(a).data[Yh]&&(a.updateName(l),a.setAttribute(Yh,u)),a.setAttributes({...c,[em]:"auto.pageload.vue"}),r=!0),n.instrumentNavigation&&!a&&(d={name:l,op:"navigation",attributes:{...c,[em]:"auto.navigation.vue",[Yh]:u}},p=function(e){try{return new URL(e,C_.location.origin).toString()}catch{return e}}(t.fullPath??t.path),qx(e,d,{url:p})),o){const e=i[0];"function"==typeof e&&e()}var d,p})}(n,{routeLabel:s,instrumentNavigation:r,instrumentPageLoad:o})}}}({router:e.$router,routeLabel:"path"}))}e.hook("app:created",e=>{const t=Kh();t&&t.addIntegration(((e={})=>({name:"Vue",setup(t){const n={...aT,...t.getOptions(),...e};n.Vue||n.app?n.app?(Array.isArray(n.app)?n.app:[n.app]).forEach(e=>cT(e,n)):n.Vue&&cT(n.Vue,n):cf(()=>{})}}))({...ef._sentryNuxtVueIntegrationOptions,app:e,attachErrorHandler:!1}))}),e.hook("app:error",e=>{jc(e)&&e?.statusCode&&e.statusCode>=300&&e.statusCode<500||lT({error:e})}),e.hook("vue:error",(e,t,n)=>{lT({error:e,instance:t,info:n})})}})],dT=Ln({name:"NuxtRouteAnnouncer",props:{atomic:{type:Boolean,default:!1},politeness:{type:String,default:"polite"}},setup(e,{slots:t,expose:n}){const{set:r,polite:o,assertive:s,message:i,politeness:a}=function(e={}){const t=gc(),n=t._routeAnnouncer||=function(e={}){const t=xt(""),n=xt(e.politeness||"polite"),r=Vl();function o(e="",r="polite"){t.value=e,n.value=r}function s(){o(document?.title?.trim(),n.value)}return s(),r?.hooks?.hook("dom:rendered",s),{_cleanup:function(){r?.hooks?.removeHook("dom:rendered",s)},message:t,politeness:n,set:o,polite:function(e){return o(e,"polite")},assertive:function(e){return o(e,"assertive")}}}(e);var r;return e.politeness!==n.politeness.value&&(n.politeness.value=e.politeness||"polite"),ie()&&(t._routeAnnouncerDeps||=0,t._routeAnnouncerDeps++,r=()=>{t._routeAnnouncerDeps--,0===t._routeAnnouncerDeps&&(n._cleanup(),delete t._routeAnnouncer)},re&&re.cleanups.push(r)),n}({politeness:e.politeness});return n({set:r,polite:o,assertive:s,message:i,politeness:a}),()=>Is("span",{class:"nuxt-route-announcer",style:{position:"absolute"}},Is("span",{role:"alert","aria-live":a.value,"aria-atomic":e.atomic,style:{border:"0",clip:"rect(0 0 0 0)","clip-path":"inset(50%)",height:"1px",width:"1px",overflow:"hidden",position:"absolute","white-space":"nowrap","word-wrap":"normal",margin:"-1px",padding:"0"}},t.default?t.default({message:i.value}):i.value))}}),pT=(e="RouteProvider")=>Ln({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,n=e.route,r={};for(const o in e.route)Object.defineProperty(r,o,{get:()=>t===e.renderKey?e.route[o]:n[o],enumerable:!0});return dn(Cc,ft(r)),()=>e.vnode?Is(e.vnode,{ref:e.vnodeRef}):e.vnode}}),fT=pT(),hT=new WeakMap,mT=Ln({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 o=gc(),s=Et(),i=pn(Cc,null),a=new Set;let c;r({pageRef:s});const l=pn(Tc,null);let u;const d=o.deferHydration();let p,f=!1,h=!1,m=0;if(o.isHydrating){const e=o.hooks.hookOnce("app:error",d),t=Ic().beforeEach(()=>{e(),t()})}e.pageKey&&mn(()=>e.pageKey,(e,t)=>{e!==t&&o.callHook("page:loading:start")});let g=!1;{const e=Ic().beforeResolve(()=>{g=!1});mr(()=>{e(),d()})}return()=>Is(kd,{name:e.name,route:e.route,...t},{default:gT(t=>{const r=function(e,t,n){if(!e)return!1;const r=t.matched.findIndex(e=>e.components?.default===n?.type);if(-1===r)return!1;const o=t.matched.slice(0,r).filter(e=>e.components?.default);if(!o.length)return!1;const s=e.matched.filter(e=>e.components?.default);return o.some((e,t)=>e.components?.default!==s[t]?.components?.default)||n&&mp({route:t,Component:n})!==mp({route:e,Component:n})}(i,t.route,t.Component),y=i&&i.matched.length===t.route.matched.length;if(!t.Component)return!u||y||vT(u)?void d():u;if(u&&l&&!vT(u)&&!l.isCurrent(t.route))return u;if(r&&i&&(!l||l?.isCurrent(i)))return!y&&!u||vT(u)?null:u;const v=mp(t,e.pageKey),_=(b=i,w=t.route,S=t.Component,!!b&&w.matched.findIndex(e=>e.components?.default===S?.type)<w.matched.length-1);var b,w,S;o.isHydrating||c!==v||_||Yt(()=>{g||(g=!0,o.callHook("page:loading:end"))}),f&&c!==v&&h&&m++,c=v;const k=!!(e.transition??t.route.meta.pageTransition),E=k&&$d([e.transition,t.route.meta.pageTransition,!1,{onAfterLeave(){o["~transitionFinish"]?.(),delete o["~transitionFinish"],delete o["~transitionPromise"],o.callHook("page:transition:finish",t.Component)}}]),x=e.keepalive??t.route.meta.keepalive??!1,T=t.Component.type,C=T.name||T.__name;let I;if(t.route.meta.keepalive&&C&&a.add(C),a.size>0&&null==e.keepalive&&(!x||"object"==typeof x&&x&&x.include)){const e="object"==typeof x&&x?{...x}:{},t=e.include?Array.isArray(e.include)?e.include:[e.include]:[];I={...e,include:Array.from(new Set([...t,...a]))}}else I=x;return u=Cd(k&&E,((e,t)=>({default:()=>e?Is(tr,!0===e?{}:e,t):t}))(I,Is(Oo,{key:m,suspensible:!0,onPending:()=>{f=!0,k&&!o["~transitionPromise"]&&(o["~transitionPromise"]=new Promise(e=>{o["~transitionFinish"]=e})),p=o.callHook("page:start",t.Component)}
2,onResolve:async()=>{f=!1,h=!0,o.isHydrating&&o["~restoreDeferredRoute"]?.();try{await Yt(),o._route.sync?.(),await p,await o.callHook("page:finish",t.Component),g||_||(g=!0,await o.callHook("page:loading:end"))}finally{d()}}},{default:()=>{const e={key:v||void 0,vnode:n.default?yT(n.default,t):t.Component,route:t.route,renderKey:v||void 0,trackRootNodes:k,vnodeRef:s};if(!I)return Is(fT,e);const r=T;let o=hT.get(r);return o||(o=pT(C),hT.set(r,o)),Is(o,e)}}))).default(),u})})}});function gT(e){const t=t=>{const n=e(t);return Array.isArray(n)?n:null!=n&&Yo(n)?[n]:[is()]};return t._n=!0,t}function yT(e,t){const n=e(t);return 1===n.length?Is(n[0]):Is($o,void 0,n)}function vT(e){return!(!e||!e.suspense?.isUnmounted&&!e.component?.isUnmounted)}const _T=Hd,bT=Ln({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup:(e,t)=>()=>Is(Fp[e.name],e.layoutProps,t.slots)}),wT=Ln({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},setup(e,t){const n=gc(),r=pn(Cc),o=r&&r!==Ac()?r:Td(),s=Cs(()=>{let t=It(e.name)??o?.meta.layout??_T(o?.path).appLayout??"default";return t&&!(t in Fp)&&e.fallback&&(t=It(e.fallback)),t}),i=xt();t.expose({layoutRef:i});const a=n.deferHydration();if(n.isHydrating){const e=n.hooks.hookOnce("app:error",a),t=Ic().beforeEach(()=>{e(),t()})}let c;return()=>{const r=!!s.value&&s.value in Fp&&!!o?.meta.layoutTransition,l=r&&$d([o?.meta.layoutTransition,!1,{onBeforeLeave(){n["~transitionPromise"]=new Promise(e=>{n["~transitionFinish"]=e})},onAfterLeave(){n["~transitionFinish"]?.(),delete n["~transitionFinish"],delete n["~transitionPromise"]}}]),u=c;return c=s.value,Cd(l,{default:()=>Is(Oo,{suspensible:!0,onResolve:async()=>{await Yt(a)}},{default:()=>Is(ST,{layoutProps:us(t.attrs,o.meta.layoutProps??{},{ref:i}),key:s.value||void 0,name:s.value,shouldProvide:!e.name,isRenderingNewLayout:e=>e!==u&&e===s.value,hasTransition:r},t.slots)})}).default()}}}),ST=Ln({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean},isRenderingNewLayout:{type:Function,required:!0}},setup(e,t){const n=e.name;e.shouldProvide&&dn(Tc,{isCurrent:e=>!1===n||n===(e.meta.layout??_T(e.path).appLayout??"default")});const r=pn(Cc),o=r&&r===Ac(),s=pn(Tc,null);if(o){const t=Td(),n={};for(const o in t){const i=o;Object.defineProperty(n,i,{enumerable:!0,get:()=>!e.isRenderingNewLayout(e.name)||s&&!s.isCurrent(t)?r[i]:t[i]})}dn(Cc,ft(n))}return()=>!n||"string"==typeof n&&!(n in Fp)?t.slots.default?.():Is(bT,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}),kT=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},ET=qp(dT),xT=kT({},[["render",function(e,t){const n=ET,r=mT,o=wT;return Wo(),Jo(o,null,{default:cn(()=>[ts(n),ts(r)]),_:1})}]]),TT={__name:"nuxt-error-page",props:{error:Object},setup(e){const t=e.error,n=Number(t.statusCode||500),r=404===n,o=t.statusMessage??(r?"Page Not Found":"Internal Server Error"),s=t.message||t.toString(),i=Qn(r?()=>vp(()=>Promise.resolve().then(()=>aC),void 0,import.meta.url):()=>vp(()=>Promise.resolve().then(()=>fC),void 0,import.meta.url));return(e,t)=>(Wo(),Jo(It(i),function(e){if(!e)return null;let{class:t,style:n}=e;return t&&!g(t)&&(e.class=q(t)),n&&(e.style=F(n)),e}(ns({status:It(n),statusText:It(o),statusCode:It(n),statusMessage:It(o),description:It(s),stack:It(void 0)})),null,16))}},CT={key:0},IT={__name:"nuxt-root",setup(e){const t=()=>null,n=gc(),r=n.deferHydration();if(n.isHydrating){const e=n.hooks.hookOnce("app:error",r),t=Ic().beforeEach(()=>{e(),t()})}const o=!1;dn(Cc,Ac()),n.hooks.callHookWith(e=>e.map(e=>e()),"vue:setup",[]);const s=Nc(),i=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;br((e,t,r)=>(n.hooks.callHook("vue:error",e,t,r).catch(e=>{}),i.test(navigator.userAgent)?(n.hooks.callHook("app:error",e),!1):jc(e)&&(e.fatal||e.unhandled)?(n.runWithContext(()=>Dc(e)),function(e,t,r){const o=n.vueApp.config.errorHandler;if(o&&!o.__nuxt_default)try{o(e,t,r)}catch(s){}}(e,t,r),!1):void 0));const a=!1;return(e,n)=>(Wo(),Jo(Oo,{onResolve:It(r)},{default:cn(()=>
2{return[It(!1)?(Wo(),Ko("div",CT)):It(s)?(Wo(),Jo(It(TT),{key:1,error:It(s)},null,8,["error"])):It(a)?(Wo(),Jo(It(t),{key:2,context:It(a)},null,8,["context"])):It(o)?(Wo(),Jo((e=It(o),g(e)?Er(wr,e,!1)||e:e||kr),{key:3})):(Wo(),Jo(It(xT),{key:4}))];var e}),_:1},8,["onResolve"]))}};let AT;{let e;AT=async function(){if(e)return e;const t=Boolean(window.__NUXT__?.serverRendered??"true"===document.getElementById("__NUXT_DATA__")?.dataset.ssr)?((...e)=>{const t=($i=ji?$i:wo(Di,qn),ji=!0,$i).createApp(...e),{mount:n}=t;return t.mount=e=>{const t=Bi(e);if(t)return n(t,!0,Fi(t))},t})(IT):((...e)=>{const t=($i||($i=wo(Di))).createApp(...e),{mount:n}=t;return t.mount=e=>{const r=Bi(e);if(!r)return;const o=t._component;m(o)||o.render||o.template||(o.template=r.innerHTML),1===r.nodeType&&(r.textContent="");const s=n(r,!1,Fi(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),s},t})(IT),n=function(e){let t=0;const n={_id:e.id||cc||"nuxt-app",_scope:new se(void 0),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.21.11"},get vue(){return n.vueApp.version}},payload:ft({...e.ssrContext?.payload||{},data:ft({}),state:pt({}),once:new Set,_errors:ft({})}),static:{data:{}},runWithContext:e=>n._scope.active&&!ie()?n._scope.run(()=>hc(n,e)):hc(n,e),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let e=!1;return()=>{if(!e)return e=!0,t--,0===t?(n.isHydrating=!1,n.callHook("app:suspense:resolve")):void 0}},_asyncDataPromises:{},_asyncData:ft({}),_payloadRevivers:{},...e};{const e=window.__NUXT__;if(e)for(const t in e)switch(t){case"data":case"state":case"_errors":Object.assign(n.payload[t],e[t]);break;default:n.payload[t]=e[t]}}n.hooks=new ec,n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(e,t)=>{const r="$"+e;vc(n,r,t),vc(n.vueApp.config.globalProperties,r,t)},vc(n.vueApp,"$nuxt",n),vc(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("vite:preloadError",e=>{n.callHook("app:chunkError",{error:e.payload}),e.payload?.message?.includes("Unable to preload CSS")&&e.preventDefault()}),window.useNuxtApp||=gc;const e=n.hook("app:error",(...e)=>{});n.hook("app:mounted",e)}const r=n.payload.config;return n.provide("config",r),n}({vueApp:t});async function r(e){await n.callHook("app:error",e),n.payload.error||=Fc(e)}r.__nuxt_default=!0,t.config.errorHandler=r,n.hook("app:suspense:resolve",()=>{t.config.errorHandler===r&&(t.config.errorHandler=void 0)});try{await async function(e,t){const n=new Set,r=[],o=[];let s,i=0;async function a(c){const l=c.dependsOn?.filter(e=>t.some(t=>t._name===e)&&!n.has(e))??[];if(l.length>0)r.push([new Set(l),c]);else{const t=async function(e,t){if("function"==typeof t){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&"object"==typeof n)for(const t in n)e.provide(t,n[t])}}(e,c).then(async()=>{c._name&&(n.add(c._name),await Promise.all(r.map(async([e,t])=>{e.has(c._name)&&(e.delete(c._name),0===e.size&&(i++,await a(t)))})))}).catch(t=>{if(!c.parallel&&!e.payload.error)throw t;s||=t});c.parallel?o.push(t):await t}}for(const c of t)pc(e,c);for(const c of t)await a(c);if(await Promise.all(o),i)for(let c=0;c<i;c++)await Promise.all(o);if(s)throw e.payload.error||s}(n,uT)}catch(mC){r(mC)}try{await n.hooks.callHook("app:created",t),await n.hooks.callHook("app:beforeMount",t),t.mount("#__nuxt"),await n.hooks.callHook("app:mounted",t),await Yt()}catch(mC){r(mC)}return t},e=AT().catch(e=>{throw e})}var RT=function(e,t){return(RT=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function OT(e,t,n,r){return new(n||(n=Promise))(function(o,s){function i(e){try{c(r.next(e))}catch(hC){s(hC)}}function a(e){try{c(r.throw(e))}catch(hC){s(hC)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(i,a)}c((r=r.apply(e,t||[])).next())})}function MT(e,t){var n,r,o,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=a(0),i.throw=a(1),i.return=a(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;
2function a(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(hC){a=[6,hC],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}}function PT(e,t,n){if(n||2===arguments.length)for(var r,o=0,s=t.length;o<s;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var LT="electron",NT="phantomjs",DT="selenium",$T="slimerjs",jT="headless_chrome",FT="unknown",BT=function(e){function t(n,r){var o=e.call(this,r)||this;return o.state=n,o.name="BotdError",Object.setPrototypeOf(o,t.prototype),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}RT(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t}(Error);function UT(e){return OT(this,void 0,void 0,function(){var t,n,r=this;return MT(this,function(o){switch(o.label){case 0:return t={},n=Object.keys(e),[4,Promise.all(n.map(function(n){return OT(r,void 0,void 0,function(){var r,o,s,i,a;return MT(this,function(c){switch(c.label){case 0:r=e[n],c.label=1;case 1:return c.trys.push([1,3,,4]),o=t,s=n,a={},[4,r()];case 2:return o[s]=(a.value=c.sent(),a.state=0,a),[3,4];case 3:return i=c.sent(),t[n]=i instanceof BT?{state:i.state,error:"".concat(i.name,": ").concat(i.message)}:{state:-3,error:i instanceof Error?"".concat(i.name,": ").concat(i.message):String(i)},[3,4];case 4:return[2]}})})}))];case 1:return o.sent(),[2,t]}})})}function HT(e,t){return-1!==e.indexOf(t)}function WT(e,t){return-1!==e.indexOf(t)}function qT(e){return Object.getOwnPropertyNames(e)}function zT(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=function(t){if("string"==typeof t){if(HT(e,t))return{value:!0}}else if(null!=function(e,t){if("find"in e)return e.find(t);for(var n=0;n<e.length;n++)if(t(e[n]))return e[n]}(e,function(e){return t.test(e)}))return{value:!0}},o=0,s=t;o<s.length;o++){var i=r(s[o]);if("object"==typeof i)return i.value}return!1}function VT(e){return e.reduce(function(e,t){return e+(t?1:0)},0)}var GT={detectAppVersion:function(e){var t=e.appVersion;return 0===t.state&&(/headless/i.test(t.value)?jT:/electron/i.test(t.value)?LT:/slimerjs/i.test(t.value)?$T:void 0)},detectDocumentAttributes:function(e){var t=e.documentElementKeys;return 0===t.state&&(zT(t.value,"selenium","webdriver","driver")?DT:void 0)},detectErrorTrace:function(e){var t=e.errorTrace;return 0===t.state&&(/PhantomJS/i.test(t.value)?NT:void 0)},detectEvalLengthInconsistency:function(e){var t=e.evalLength,n=e.browserKind,r=e.browserEngineKind;if(0===t.state&&0===n.state&&0===r.state){var o=t.value;return"unknown"!==r.value&&(37===o&&!HT(["webkit","gecko"],r.value)||39===o&&!HT(["internet_explorer"],n.value)||33===o&&!HT(["chromium"],r.value))}},detectFunctionBind:function(e){if(-2===e.functionBind.state)return NT},detectLanguagesLengthInconsistency:function(e){var t=e.languages;if(0===t.state&&0===t.value.length)return jT},detectNotificationPermissions:function(e){var t=e.notificationPermissions,n=e.browserKind;return 0===n.state&&"chrome"===n.value&&(0===t.state&&t.value?jT:void 0)},detectPluginsArray:function(e){var t=e.pluginsArray;if(0===t.state&&!t.value)return jT},detectPluginsLengthInconsistency:function(e){var t=e.pluginsLength,n=e.android,r=e.browserKind,o=e.browserEngineKind;if(0===t.state&&0===n.state&&0===r.state&&0===o.state&&"chrome"===r.value&&!n.value&&"chromium"===o.value)return 0===t.value?jT:void 0},detectProcess:function(e){var t,n=e.process;return 0===n.state&&("renderer"===n.value.type||null!=(null===(t=n.value.versions)||void 0===t?void 0:t.electron)?LT:void 0)},detectUserAgent:function(e){var t=e.userAgent;return 0===t.state&&(/PhantomJS/i.test(t.value)?NT:/Headless/i.test(t.value)?jT:/Electron/i.test(t.value)?LT:/slimerjs/i.test(t.value)?$T:void 0)},detectWebDriver:function(e){var t=e.webDriver;if(0===t.state&&t.value)return jT},detectWebGL:function(e){var t=e.webGL;if(0===t.state){var n=t.value,r=n.vendor,o=n.renderer;
2if("Brian Paul"==r&&"Mesa OffScreen"==o)return jT}},detectWindowExternal:function(e){var t=e.windowExternal;return 0===t.state&&(/Sequentum/i.test(t.value)?"sequentum":void 0)},detectWindowSize:function(e){var t=e.windowSize,n=e.documentFocus;if(0!==t.state||0!==n.state)return!1;var r=t.value,o=r.outerWidth,s=r.outerHeight;return n.value&&0===o&&0===s?jT:void 0},detectMimeTypesConsistent:function(e){var t=e.mimeTypesConsistent;if(0===t.state&&!t.value)return FT},detectProductSub:function(e){var t=e.productSub,n=e.browserKind;return 0===t.state&&0===n.state&&("chrome"!==n.value&&"safari"!==n.value&&"opera"!==n.value&&"wechat"!==n.value||"20030107"===t.value?void 0:FT)},detectDistinctiveProperties:function(e){var t=e.distinctiveProps;if(0!==t.state)return!1;var n,r=t.value;for(n in r)if(r[n])return n}};function KT(){var e,t,n=window,r=navigator;return VT(["webkitPersistentStorage"in r,"webkitTemporaryStorage"in r,0===r.vendor.indexOf("Google"),"webkitResolveLocalFileSystemURL"in n,"BatteryManager"in n,"webkitMediaStream"in n,"webkitSpeechGrammar"in n])>=5?"chromium":VT(["ApplePayError"in n,"CSSPrimitiveValue"in n,"Counter"in n,0===r.vendor.indexOf("Apple"),"getStorageUpdates"in r,"WebKitMediaKeys"in n])>=4?"webkit":VT(["buildID"in navigator,"MozAppearance"in(null!==(t=null===(e=document.documentElement)||void 0===e?void 0:e.style)&&void 0!==t?t:{}),"onmozfullscreenchange"in n,"mozInnerScreenX"in n,"CSSMozDocumentRule"in n,"CanvasCaptureMediaStream"in n])>=4?"gecko":"unknown"}var JT={android:function(){var e=KT(),t="chromium"===e,n="gecko"===e;if(!t&&!n)return!1;var r=window;return VT(["onorientationchange"in r,"orientation"in r,t&&!("SharedWorker"in r),n&&/android/i.test(navigator.appVersion)])>=2},browserKind:function(){var e,t=null===(e=navigator.userAgent)||void 0===e?void 0:e.toLowerCase();return WT(t,"edg/")?"edge":WT(t,"trident")||WT(t,"msie")?"internet_explorer":WT(t,"wechat")?"wechat":WT(t,"firefox")?"firefox":WT(t,"opera")||WT(t,"opr")?"opera":WT(t,"chrome")?"chrome":WT(t,"safari")?"safari":"unknown"},browserEngineKind:KT,documentFocus:function(){return void 0!==document.hasFocus&&document.hasFocus()},userAgent:function(){return navigator.userAgent},appVersion:function(){var e=navigator.appVersion;if(null==e)throw new BT(-1,"navigator.appVersion is undefined");return e},rtt:function(){if(void 0===navigator.connection)throw new BT(-1,"navigator.connection is undefined");if(void 0===navigator.connection.rtt)throw new BT(-1,"navigator.connection.rtt is undefined");return navigator.connection.rtt},windowSize:function(){return{outerWidth:window.outerWidth,outerHeight:window.outerHeight,innerWidth:window.innerWidth,innerHeight:window.innerHeight}},pluginsLength:function(){if(void 0===navigator.plugins)throw new BT(-1,"navigator.plugins is undefined");if(void 0===navigator.plugins.length)throw new BT(-3,"navigator.plugins.length is undefined");return navigator.plugins.length},pluginsArray:function(){if(void 0===navigator.plugins)throw new BT(-1,"navigator.plugins is undefined");if(void 0===window.PluginArray)throw new BT(-1,"window.PluginArray is undefined");return navigator.plugins instanceof PluginArray},errorTrace:function(){try{null[0]()}catch(e){if(e instanceof Error&&null!=e.stack)return e.stack.toString()}throw new BT(-3,"errorTrace signal unexpected behaviour")},productSub:function(){var e=navigator.productSub;if(void 0===e)throw new BT(-1,"navigator.productSub is undefined");return e},windowExternal:function(){if(void 0===window.external)throw new BT(-1,"window.external is undefined");var e=window.external;if("function"!=typeof e.toString)throw new BT(-2,"window.external.toString is not a function");return e.toString()},mimeTypesConsistent:function(){if(void 0===navigator.mimeTypes)throw new BT(-1,"navigator.mimeTypes is undefined");for(var e=navigator.mimeTypes,t=Object.getPrototypeOf(e)===MimeTypeArray.prototype,n=0;n<e.length;n++)t&&(t=Object.getPrototypeOf(e[n])===MimeType.prototype);return t},evalLength:function(){return eval.toString().length},webGL:function(){var e=document.createElement("canvas");if("function"!=typeof e.getContext)throw new BT(-2,"HTMLCanvasElement.getContext is not a function");var t=e.getContext("webgl");
2if(null===t)throw new BT(-4,"WebGLRenderingContext is null");if("function"!=typeof t.getParameter)throw new BT(-2,"WebGLRenderingContext.getParameter is not a function");return{vendor:t.getParameter(t.VENDOR),renderer:t.getParameter(t.RENDERER)}},webDriver:function(){if(null==navigator.webdriver)throw new BT(-1,"navigator.webdriver is undefined");return navigator.webdriver},languages:function(){var e,t=navigator,n=[],r=t.language||t.userLanguage||t.browserLanguage||t.systemLanguage;if(void 0!==r&&n.push([r]),Array.isArray(t.languages))"chromium"===KT()&&VT([!("MediaSettingsRange"in(e=window)),"RTCEncodedAudioFrame"in e,""+e.Intl=="[object Intl]",""+e.Reflect=="[object Reflect]"])>=3||n.push(t.languages);else if("string"==typeof t.languages){var o=t.languages;o&&n.push(o.split(","))}return n},notificationPermissions:function(){return OT(this,void 0,void 0,function(){var e,t;return MT(this,function(n){switch(n.label){case 0:if(void 0===window.Notification)throw new BT(-1,"window.Notification is undefined");if(void 0===navigator.permissions)throw new BT(-1,"navigator.permissions is undefined");if("function"!=typeof(e=navigator.permissions).query)throw new BT(-2,"navigator.permissions.query is not a function");n.label=1;case 1:return n.trys.push([1,3,,4]),[4,e.query({name:"notifications"})];case 2:return t=n.sent(),[2,"denied"===window.Notification.permission&&"prompt"===t.state];case 3:throw n.sent(),new BT(-3,"notificationPermissions signal unexpected behaviour");case 4:return[2]}})})},documentElementKeys:function(){if(void 0===document.documentElement)throw new BT(-1,"document.documentElement is undefined");var e=document.documentElement;if("function"!=typeof e.getAttributeNames)throw new BT(-2,"document.documentElement.getAttributeNames is not a function");return e.getAttributeNames()},functionBind:function(){if(void 0===Function.prototype.bind)throw new BT(-2,"Function.prototype.bind is undefined");return Function.prototype.bind.toString()},process:function(){var e=window.process,t="window.process is";if(void 0===e)throw new BT(-1,"".concat(t," undefined"));if(e&&"object"!=typeof e)throw new BT(-3,"".concat(t," not an object"));return e},distinctiveProps:function(){var e,t,n=((e={}).awesomium={window:["awesomium"]},e.cef={window:["RunPerfTest"]},e.cefsharp={window:["CefSharp"]},e.coachjs={window:["emit"]},e.fminer={window:["fmget_targets"]},e.geb={window:["geb"]}
2,e.nightmarejs={window:["__nightmare","nightmare"]},e.phantomas={window:["__phantomas"]},e[NT]={window:["callPhantom","_phantom"]},e.rhino={window:["spawn"]},e[DT]={window:["_Selenium_IDE_Recorder","_selenium","calledSelenium",/^([a-z]){3}_.*_(Array|Promise|Symbol)$/],document:["__selenium_evaluate","selenium-evaluate","__selenium_unwrapped"]},e.webdriverio={window:["wdioElectron"]},e.webdriver={window:["webdriver","__webdriverFunc","__lastWatirAlert","__lastWatirConfirm","__lastWatirPrompt","_WEBDRIVER_ELEM_CACHE","ChromeDriverw"],document:["__webdriver_script_fn","__driver_evaluate","__webdriver_evaluate","__fxdriver_evaluate","__driver_unwrapped","__webdriver_unwrapped","__fxdriver_unwrapped","__webdriver_script_fn","__webdriver_script_func","__webdriver_script_function","$cdc_asdjflasutopfhvcZLmcf","$cdc_asdjflasutopfhvcZLmcfl_","$chrome_asyncScriptInfo","__$webdriverAsyncExecutor"]},e[jT]={window:["domAutomation","domAutomationController"]},e),r={},o=qT(window),s=[];for(t in void 0!==window.document&&(s=qT(window.document)),n){var i=n[t];if(void 0!==i){var a=void 0!==i.window&&zT.apply(void 0,PT([o],i.window,!1)),c=!(void 0===i.document||!s.length)&&zT.apply(void 0,PT([s],i.document,!1));r[t]=a||c}}return r}},YT=function(){function e(){this.components=void 0,this.detections=void 0}return e.prototype.getComponents=function(){return this.components},e.prototype.getDetections=function(){return this.detections},e.prototype.detect=function(){if(void 0===this.components)throw new Error("BotDetector.detect can't be called before BotDetector.collect");var e=function(e,t){var n={},r={bot:!1};for(var o in t){var s=(0,t[o])(e),i={bot:!1};"string"==typeof s?i={bot:!0,botKind:s}:s&&(i={bot:!0,botKind:FT}),n[o]=i,i.bot&&(r=i)}return[n,r]}(this.components,GT),t=e[0],n=e[1];return this.detections=t,n},e.prototype.collect=function(){return OT(this,void 0,void 0,function(){var e;return MT(this,function(t){switch(t.label){case 0:return e=this,[4,UT(JT)];case 1:return e.components=t.sent(),[2,this.components]}})})},e}();function XT(e){var t=(void 0===e?{}:e).monitoring,n=void 0===t||t;return OT(this,void 0,void 0,function(){var e;return MT(this,function(t){switch(t.label){case 0:return n&&function(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{var e=new XMLHttpRequest;e.open("get","https://m1.openfpcdn.io/botd/v".concat("1.9.1","/npm-monitoring"),!0),e.send()}catch(t){}}(),[4,(e=new YT).collect()];case 1:return t.sent(),[2,e]}})})}const QT=globalThis.setInterval;var ZT={};function eC(e){const t=lg,n={defaultIntegrations:[...Hw()],environment:e.environment??ZT.SENTRY_ENVIRONMENT??t,...e};return wv(n,"nuxt",["nuxt","vue"]),function(e={}){const t=!e.skipBrowserExtensionCheck&&!!function(){if(void 0===u_.window)return!1;const e=u_;if(e.nw)return!1;const t=e.chrome||e.browser;if(!t?.runtime?.id)return!1;const n=c_();return!(u_===u_.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(n))}()&&(yw&&cf(()=>{}),!0);let n=null==e.defaultIntegrations?Hw():e.defaultIntegrations;const r={...e,enabled:!t&&e.enabled,stackParser:(o=e.stackParser||xw,Array.isArray(o)?gf(...o):o),integrations:vy({integrations:e.integrations,defaultIntegrations:n}),transport:e.transport||gw};var o;return oh=Uw,function(e,t){!0===t.debug&&(Zp?pf.enable():cf(()=>{})),zh().update(t.initialScope);const n=new e(t);return function(e){zh().setClient(e)}(n),n.init(),n}(x_,r)}(n)}const tC={class:"antialiased bg-white dark:bg-black dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-black"},nC={class:"max-w-520px text-center z-20"},rC=["textContent"],oC=["textContent"],sC={class:"flex items-center justify-center w-full"},iC=kT({__name:"error-404",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},status:{type:Number,default:404},statusText:{type:String,default:"Not Found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(e){const t=e;return Gl({title:`${t.status} - ${t.statusText} | ${t.appName}`,script:[{innerHTML:'!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll(\'link[rel="modulepreload"]\'))r(e);new MutationObserver(e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)}).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();'}],style:[{innerHTML:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}h1,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);
2--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(t,n)=>{const r=Lp;return Wo(),Ko("div",tC,[n[0]||(n[0]=es("div",{class:"fixed left-0 right-0 spotlight z-10"},null,-1)),es("div",nC,[es("h1",{class:"font-medium mb-8 sm:text-10xl text-8xl",textContent:ee(e.status)},null,8,rC),es("p",{class:"font-light leading-tight mb-16 px-8 sm:px-0 sm:text-4xl text-xl",textContent:ee(e.description)},null,8,oC),es("div",sC,[ts(r,{to:"/",class:"cursor-pointer gradient-border px-4 py-2 sm:px-6 sm:py-3 sm:text-xl text-md"},{default:cn(()=>[os(ee(e.backHome),1)]),_:1})])])])}}},[["__scopeId","data-v-1bd9e11a"]]),aC=Object.freeze(Object.defineProperty({__proto__:null,default:iC},Symbol.toStringTag,{value:"Module"})),cC={class:"antialiased bg-white dark:bg-black dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-black"},lC={class:"max-w-520px text-center"},uC=["textContent"],dC=["textContent"],pC=kT({__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},status:{type:Number,default:500},statusText:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(e){const t=e;return Gl({title:`${t.status} - ${t.statusText} | ${t.appName}`,script:[{innerHTML:'!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll(\'link[rel="modulepreload"]\'))r(e);new MutationObserver(e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)}).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();'}],style:[{innerHTML:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1{font-size:inherit;font-weight:inherit}h1,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(t,n)=>(Wo(),Ko("div",cC,[n[0]||(n[0]=es("div",{class:"-bottom-1/2 fixed h-1/2 left-0 right-0 spotlight"},null,-1)),es("div",lC,[es("h1",{class:"font-medium mb-8 sm:text-10xl text-8xl",textContent:ee(e.status)},null,8,uC),es("p",{class:"font-light leading-tight mb-16 px-8 sm:px-0 sm:text-4xl text-xl",textContent:ee(e.description)},null,8,dC)])]))}},[["__scopeId","data-v-a01dd0ba"]]),fC=Object.freeze(Object.defineProperty({__proto__:null,default:pC},Symbol.toStringTag,{value:"Module"}));
2export{XT as A,Cs as B,QT as C,hr as D,Rc as E,$o as F,ic as G,Ic as H,Oc as I,dn as J,ni as K,Gl as L,Cr as M,eC as N,Xv as O,Ix as P,cn as Q,pn as R,Hs as T,kT as _,ss as a,dr as b,Ko as c,ts as d,Jo as e,is as f,Qn as g,vp as h,es as i,Td as j,xd as k,pr as l,ln as m,q as n,Wo as o,Ga as p,Tr as q,Et as r,Ci as s,Ni as t,It as u,Ii as v,mn as w,Pi as x,os as y,ee 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.