1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./B6Mg2Ld8.js","./3Y-J-4Mk.js","./ydZ5IrsR.js","./leaflet.DgiS9jGb.css","./BuuqxS5P.js","./EtJAydNE.js","./B4e4DZbH.js","./9ZeSdaeT.js","./DEnfu5Lq.js","./Do_pYoFU.js","./I8miC8Yn.js","./fWCnHU3h.js","./DqyGGFxq.js","./oYp-SMFR.js","./DFrBDDHI.js","./rKOsO7NB.js","./HeaderLayoutComponent.rOwpdeh9.css","./_slug_.BYZPiQhC.css","./C-wXaMq_.js","./Cnn8a5Qx.js","./Bx6kJ2DY.js","./searchStore.CYBpKQMR.css","./pages.C6XqPRSJ.css","./3K7FASQ3.js"])))=>i.map(i=>d[i]); 2(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`441504bb-29ec-479a-8a88-c220900f4116`,e._sentryDebugIdIdentifier=`sentry-dbid-441504bb-29ec-479a-8a88-c220900f4116`)}catch{}})();import{C as e,S as t,T as n,a as r,b as i,c as a,d as o,f as s,g as c,i as l,l as u,m as d,n as f,o as p,s as m,t as h,u as g,v as _,w as ee,y as v}from"./B4e4DZbH.js";import{$ as y,At as b,B as x,C as S,Ct as C,D as w,Dt as T,E,Et as D,F as O,H as te,I as k,J as ne,K as re,M as ie,Mt as A,N as j,O as M,Ot as N,R as P,St as F,T as I,Tt as L,V as R,W as z,X as B,Y as ae,Z as oe,b as se,bt as ce,d as le,dt as V,et as ue,f as H,gt as de,j as fe,jt as U,kt as pe,l as me,lt as he,mt as ge,nt as _e,ot as W,q as ve,rt as ye,st as be,ut as xe,v as Se,vt as Ce,w as G,xt as we,y as Te,yt as Ee,z as De}from"./3Y-J-4Mk.js";import{A as Oe,B as ke,C as Ae,Ct as je,D as Me,Dt as Ne,E as Pe,Et as Fe,F as Ie,G as Le,H as Re,I as ze,J as Be,K as Ve,L as He,M as Ue,N as We,O as Ge,Ot as Ke,P as qe,Q as Je,R as K,S as Ye,St as Xe,T as Ze,Tt as Qe,U as $e,V as q,W as et,X as tt,Y as nt,_ as rt,_t as it,a as at,at as ot,b as st,c as ct,ct as lt,d as ut,dt,et as ft,f as pt,ft as mt,g as ht,gt,h as _t,ht as vt,it as yt,j as bt,k as xt,l as St,lt as Ct,m as wt,mt as Tt,n as Et,nt as Dt,ot as Ot,p as kt,pt as At,q as jt,r as Mt,rt as Nt,st as Pt,t as Ft,tt as It,ut as Lt,v as Rt,vt as zt,w as Bt,wt as Vt,x as Ht,y as Ut,z as Wt}from"./DEnfu5Lq.js";import{d as Gt,f as Kt,l as qt,o as Jt,r as Yt,t as Xt,u as Zt,v as Qt,y as $t}from"./9ZeSdaeT.js";import{i as en,o as tn}from"./Do_pYoFU.js";import{t as nn}from"./BuuqxS5P.js";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})(),`global`in globalThis||(globalThis.global=globalThis);var rn=/\\/g,an=/</g,on=/"/g,sn=/%\w+(?:\.\w+)?/g,cn=`%separator`;function ln(e,t,n=!1){let r;if(t===`s`||t===`pageTitle`)r=e.pageTitle;else if(t.includes(`.`)){let n=t.indexOf(`.`);r=e[t.substring(0,n)]?.[t.substring(n+1)]}else r=e[t];if(r!==void 0)return n?(r||``).replace(rn,`\\\\`).replace(an,`\\u003C`).replace(on,`\\"`):r||``}function un(e,t,n,r=!1){if(typeof e!=`string`||!e.includes(`%`))return e;let i=e;try{i=decodeURI(e)}catch{}let a=i.match(sn);if(!a)return e;let o=e.includes(cn);return e=e.replace(sn,e=>{if(e===cn||!a.includes(e))return e;let n=ln(t,e.slice(1),r);return n===void 0?e:n}).trim(),o&&(e=e.split(cn).map(e=>e.trim()).filter(e=>e!==``).join(n?` ${n} `:` `)),e}var dn=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,fn=e=>e.includes(`:key`)?e:e.split(`:`).join(`:key:`),pn=Lt({key:`aliasSorting`,hooks:{"tags:resolve":e=>{let t=!1;for(let n of e.tags){let r=n.tagPriority;if(!r)continue;let i=String(r);if(i.startsWith(`before:`)){let r=fn(i.slice(7)),a=e.tagMap.get(r);a&&(typeof a.tagPriority==`number`&&(n.tagPriority=a.tagPriority),n._p=a._p-1,t=!0)}else if(i.startsWith(`after:`)){let r=fn(i.slice(6)),a=e.tagMap.get(r);a&&(typeof a.tagPriority==`number`&&(n.tagPriority=a.tagPriority),n._p=a._p+1,t=!0)}}t&&(e.tags=e.tags.sort(dn))}}}),mn=Lt({key:`deprecations`,hooks:{"entries:normalize":({tags:e})=>{for(let 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),`body`
2in t.props&&(t.props.body&&(t.tagPosition=`bodyClose`),delete t.props.body),t.props.renderPriority!=null&&(t.tagPriority=t.props.renderPriority,delete t.props.renderPriority)}}});function hn(e){return typeof e?.then==`function`}var gn=256;function _n(e,t){if(t===e.length)return;if(t===gn){let n=Array(e.length),r=!1;for(;t<e.length;t++){let i=yn(e[t]);n[t]=i,r||=hn(i)}return r?n:void 0}let n=yn(e[t]);if(hn(n)){let r=Array(e.length);r[t]=n;for(let n=t+1;n<e.length;n++)r[n]=yn(e[n]);return r}let r=_n(e,t+1);return r&&(r[t]=n),r}function vn(e,t,n){if(n===t.length)return;if(n===gn){let r=Array(t.length),i=!1;for(;n<t.length;n++){let a=yn(e[t[n]]);r[n]=a,i||=hn(a)}return i?r:void 0}let r=yn(e[t[n]]);if(hn(r)){let i=Array(t.length);i[n]=r;for(let r=n+1;r<t.length;r++)i[r]=yn(e[t[r]]);return i}let i=vn(e,t,n+1);return i&&(i[n]=r),i}function yn(e){if(typeof e==`function`)return e;if(hn(e))return Promise.resolve(e).then(yn);if(Array.isArray(e)){let t=_n(e,0);return t?Promise.all(t):e}if(e?.constructor===Object){let t=Object.keys(e),n=vn(e,t,0);if(n)return Promise.all(n).then(e=>Object.fromEntries(t.map((t,n)=>[t,e[n]])))}return e}var bn=Lt(e=>{let t=new WeakMap;return{key:`promises`,hooks:{"entries:resolve":n=>{for(let r=n.entries.length-1;r>=0;r--){let i=n.entries[r],a=i.input;if(t.get(i)===a){n.entries.splice(r,1);continue}let o=yn(a);if(!hn(o)){t.delete(i);continue}t.set(i,a),n.entries.splice(r,1),Promise.resolve(o).then(n=>{t.get(i)===a&&(t.delete(i),i.input=n,delete i._tags,e.invalidate?.())},()=>{t.get(i)===a&&t.delete(i)})}}}}},`promises`),xn={meta:`content`,link:`href`,htmlAttrs:`lang`},Sn=[`innerHTML`,`textContent`];function Cn(e,t,n,r=!1){return typeof e==`string`&&e.includes(`%`)?un(e,t,n,r):e}var wn=Lt(e=>({key:`template-params`,hooks:{"tags:resolve":({tagMap:t,tags:n})=>{let r=t.get(`templateParams`)?.props||{},i=r.separator||`|`;delete r.separator,r.pageTitle=Cn(r.pageTitle||e._title||``,r,i);for(let e of n){if(e.processTemplateParams===!1)continue;let t=xn[e.tag];if(t&&typeof e.props[t]==`string`)e.props[t]=Cn(e.props[t],r,i);else if(e.processTemplateParams||e.tag===`titleTemplate`||e.tag===`title`)for(let t of Sn)typeof e[t]==`string`&&(e[t]=Cn(e[t],r,i,e.tag===`script`&&typeof e.props.type==`string`&&e.props.type.endsWith(`json`)))}e._templateParams=r,e._separator=i},"tags:afterResolve":({tagMap:t})=>{let n=t.get(`title`);n?.textContent&&n.processTemplateParams!==!1&&(n.textContent=Cn(n.textContent,e._templateParams,e._separator))}}}),`template-params`);function Tn(e,t){if(typeof t==`function`&&t.key&&e.plugins.has(t.key))return;let n=typeof t==`function`?t(e):t,r=n.key||String(e.plugins.size+1);if(!e.plugins.get(r)){e.plugins.set(r,n);for(let t in n.hooks||{})e.hooks?.hook(t,n.hooks[t])}}function En(e,t={}){let n=!t.document,r=new Map,i={_entryCount:1,_h:0,plugins:new Map,resolvedOptions:t,ssr:n,entries:r,hooks:void 0,render:()=>e(i),use:e=>Tn(i,e),push(e,t){let a=t?._index??i._entryCount++,o=t?{...t}:{};delete o.head,delete o.onRendered,delete o._index;let s={_i:a,input:e,options:o};return r.set(a,s),{_i:a,dispose(){r.delete(a)},patch(e){n?(s.input=e,delete s._tags):s._pending=e,r.has(a)||r.set(a,s)}}}};return t.init?.forEach(e=>e&&i.push(e)),i}var Dn=n({docsBase:e,reporters:ee}),On=n({docsBase:e,reporters:ee}),kn=()=>location.protocol+`//`+location.host;function An(e,t){let{pathname:n,search:r,hash:i}=t,a=e.indexOf(`#`);if(a>-1){let t=i.includes(e.slice(a))?e.slice(a).length:1,n=i.slice(t);return n[0]!==`/`&&(n=`/`+n),Ie(n,``)}return Ie(n,e)+r+i}function jn(e,t,n,r){let i=[],a=[],o=null,s=({state:a})=>{let s=An(e,location),c=n.value,l=t.value,u=0;if(a){if(n.value=s,t.value=a,o&&o===c){o=null;return}u=l?a.position-l.position:0}else r(s);i.forEach(e=>{e(n.value,c,{delta:u,type:`pop`,direction:u?u>0?`forward`:`back`:``})})};function c(){o=n.value}function l(e){i.push(e);let t=()=>{let t=i.indexOf(e);t>-1&&i.splice(t,1)};return a.push(t),t}function u(){let{history:e}=window;e.state&&e.replaceState(K({},e.state,{scroll:pt()}),``)}function d(){for(let e of a)e();a=[],window.removeEventListener(`popstate`,s),window.removeEventListener(`pagehide`,u)}return window.addEventListener(`popstate`,s),window.addEventListener(`pagehide`,u),{pauseListeners:c,listen:l,destroy:d}}function Mn(e,t,n,r=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:null}}function Nn(e){let{history:t,location:n}=window,r={value:An(e,n)},i={value:t.state};i.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(r,a,o){let s=e.indexOf(`#`),c=s>-1?(n.host&&document.querySelector(`base`)?e:e.slice(s))+r:kn()+e+r;
vendor: 4,189 bytes, line 2
2try{t[o?`replaceState`:`pushState`](a,``,c),i.value=a}catch(e){console.error(e),n[o?`replace`:`assign`](c)}}function o(e,n){a(e,K({},t.state,Mn(i.value.back,e,i.value.forward,!0),n,{position:i.value.position}),!0),r.value=e}function s(e,n){let o=K({},i.value,t.state,{forward:e,scroll:pt()});a(o.current,o,!0),a(e,K({},Mn(r.value,e,null),{position:o.position+1},n),!1),r.value=e}return{location:r,state:i,push:s,replace:o}}function Pn(e){e=Me(e);let t=Nn(e),n=jn(e,t.state,t.location,t.replace);function r(e,t=!0){t||n.pauseListeners(),history.go(e)}let i=K({location:``,base:e,go:r,createHref:kt.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}var Fn={type:0,value:``},In=/[a-zA-Z0-9_]/;function Ln(e){if(!e)return[[]];if(e===`/`)return[[Fn]];if(!ke(e))throw Error(`Invalid path "${e}"`);function t(e){throw Error(`ERR (${n})/"${l}": ${e}`)}let n=0,r=n,i=[],a;function o(){a&&i.push(a),a=[]}let s=0,c,l=``,u=``;function d(){l&&=(n===0?a.push({type:0,value:l}):n===1||n===2||n===3?(a.length>1&&(c===`*`||c===`+`)&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:l,regexp:u,repeatable:c===`*`||c===`+`,optional:c===`*`||c===`?`})):t(`Invalid state to consume buffer`),``)}function f(){l+=c}for(;s<e.length;)switch(c=e[s++],n){case 0:c===`\\`?(r=n,n=4):c===`/`?(l&&d(),o()):c===`:`?(d(),n=1):f();break;case 4:f(),n=r;break;case 1:c===`(`?n=2:In.test(c)?f():(d(),n=0,c!==`*`&&c!==`?`&&c!==`+`&&s--);break;case 2:c===`)`?u[u.length-1]==`\\`?u=u.slice(0,-1)+c:n=3:u+=c;break;case 3:d(),n=0,c!==`*`&&c!==`?`&&c!==`+`&&s--,u=``;break;default:t(`Unknown state`)}return n===2&&t(`Unfinished custom RegExp for param "${l}"`),d(),o(),i}var Rn=`[^/]+?`,zn={sensitive:!1,strict:!1,start:!0,end:!0},Bn=/[.+*?^${}()[\]/\\]/g;function Vn(e,t){let n=K({},zn,t),r=[],i=n.start?`^`:``,a=[];for(let t of e){let e=t.length?[]:[90];n.strict&&!t.length&&(i+=`/`);for(let r=0;r<t.length;r++){let o=t[r],s=40+(n.sensitive?.25:0);if(o.type===0)r||(i+=`/`),i+=o.value.replace(Bn,`\\$&`),s+=40;else if(o.type===1){let{value:e,repeatable:n,optional:c,regexp:l}=o;a.push({name:e,repeatable:n,optional:c});let u=l||Rn;if(u!==Rn){s+=10;try{RegExp(`(${u})`)}catch(t){throw Error(`Invalid custom RegExp for param "${e}" (${u}): `+t.message)}}let d=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;r||(d=c&&t.length<2?`(?:/${d})`:`/`+d),c&&(d+=`?`),i+=d,s+=20,c&&(s+=-8),n&&(s+=-20),u===`.*`&&(s+=-50)}e.push(s)}r.push(e)}if(n.strict&&n.end){let e=r.length-1;r[e][r[e].length-1]+=.7000000000000001}n.strict||(i+=`/?`),n.end?i+=`$`:n.strict&&!i.endsWith(`/`)&&(i+=`(?:/|$)`);let o=new RegExp(i,n.sensitive?``:`i`);function s(e){let t=e.match(o),n={};if(!t)return null;for(let e=1;e<t.length;e++){let r=t[e]||``,i=a[e-1];n[i.name]=r&&i.repeatable?r.split(`/`):r}return n}function c(t){let n=``,r=!1;for(let i of e){(!r||!n.endsWith(`/`))&&(n+=`/`),r=!1;for(let e of i)if(e.type===0)n+=e.value;else if(e.type===1){let{value:a,repeatable:o,optional:s}=e,c=a in t?t[a]:``;if(q(c)&&!o)throw Error(`Provided param "${a}" is an array but it is not repeatable (* or + modifiers)`);let l=q(c)?c.join(`/`):c;if(!l){if(s)i.length<2&&(n.endsWith(`/`)?n=n.slice(0,-1):r=!0);else throw Error(`Missing required param "${a}"`)}n+=l}}return n||`/`}return{re:o,score:r,keys:a,parse:s,stringify:c}}function Hn(e,t){let n=0;for(;n<e.length&&n<t.length;){let r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function Un(e,t){let n=0,r=e.score,i=t.score;for(;n<r.length&&n<i.length;){let e=Hn(r[n],i[n]);if(e)return e;n++}if(Math.abs(i.length-r.length)===1){if(Wn(r))return 1;if(Wn(i))return-1}return i.length-r.length}function Wn(e){let t=e[e.length-1];return e.length>0&&t[t.length-1]<0}var Gn={strict:!1,end:!0,sensitive:!1};function Kn(e,t,n){let r=Vn(Ln(e.path),n),i=K(r,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function qn(e,t){let n=[],r=new Map;t=et(Gn,t);function i(e){return r.get(e)}function a(e,n,r){let i=!r,s=Yn(e);
vendor: 8,929 bytes, line 2
2s.aliasOf=r&&r.record;let l=et(t,e),u=[s];if(`alias`in e){let t=typeof e.alias==`string`?[e.alias]:e.alias;for(let e of t)u.push(Yn(K({},s,{components:r?r.record.components:s.components,path:e,aliasOf:r?r.record:s})))}let d,f;for(let t of u){let{path:u}=t;if(n&&!ke(u)){let e=n.record.path,r=e[e.length-1]===`/`?``:`/`;t.path=n.record.path+(u&&r+u)}if(d=Kn(t,n,l),r?r.alias.push(d):(f||=d,f!==d&&f.alias.push(d),i&&e.name&&!Zn(d)&&o(e.name)),tr(d)&&c(d),s.children){let e=s.children;for(let t=0;t<e.length;t++)a(e[t],d,r&&r.children[t])}r||=d}return f?()=>{o(f)}:Le}function o(e){if(Ae(e)){let t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(o),t.alias.forEach(o))}else{let t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(o),e.alias.forEach(o))}}function s(){return n}function c(e){let t=$n(e,n);n.splice(t,0,e),e.record.name&&!Zn(e)&&r.set(e.record.name,e)}function l(e,t){let i,a={},o,s;if(`name`in e&&e.name){if(i=r.get(e.name),!i)throw Wt(1,{location:e});s=i.record.name,a=K(Jn(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&Jn(e.params,i.keys.map(e=>e.name))),o=i.stringify(a)}else if(e.path!=null)o=e.path,i=n.find(e=>e.re.test(o)),i&&(a=i.parse(o),s=i.record.name,i.keys.forEach(e=>{e.optional&&!a[e.name]&&delete a[e.name]}));else{if(i=t.name?r.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw Wt(1,{location:e,currentLocation:t});s=i.record.name,a=K({},t.params,e.params),o=i.stringify(a)}let c=[],l=i;for(;l;)c.unshift(l.record),l=l.parent;return{name:s,path:o,params:a,matched:c,meta:Qn(c)}}e.forEach(e=>a(e));function u(){n.length=0,r.clear()}return{addRoute:a,resolve:l,removeRoute:o,clearRoutes:u,getRoutes:s,getRecordMatcher:i}}function Jn(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function Yn(e){let t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Xn(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 Xn(e){let t={},n=e.props||!1;if(`component`in e)t.default=n;else for(let r in e.components)t[r]=typeof n==`object`?n[r]:n;return t}function Zn(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Qn(e){return e.reduce((e,t)=>K(e,t.meta),{})}function $n(e,t){let n=0,r=t.length;for(;n!==r;){let i=n+r>>1;Un(e,t[i])<0?r=i:n=i+1}let i=er(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function er(e){let t=e;for(;t=t.parent;)if(tr(t)&&Un(e,t)===0)return t}function tr({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function nr(e){let t=P(jt),n=P(Ve),r=S(()=>{let n=T(e.to);return t.resolve(n)}),i=S(()=>{let{matched:e}=r.value,{length:t}=e,i=e[t-1],a=n.matched;if(!i||!a.length)return-1;let o=a.findIndex(Pe.bind(null,i));if(o>-1)return o;let s=sr(e[t-2]);return t>1&&sr(i)===s&&a[a.length-1].path!==s?a.findIndex(Pe.bind(null,e[t-2])):o}),a=S(()=>i.value>-1&&or(n.params,r.value.params)),o=S(()=>i.value>-1&&i.value===n.matched.length-1&&Ze(n.params,r.value.params));function s(n={}){if(ar(n)){let n=t[T(e.replace)?`replace`:`push`](T(e.to)).catch(Le);return e.viewTransition&&typeof document<`u`&&`startViewTransition`in document&&document.startViewTransition(()=>n),n}return Promise.resolve()}return{route:r,href:S(()=>r.value.href),isActive:a,isExactActive:o,navigate:s}}function rr(e){return e.length===1?e[0]:e}var ir=j({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:nr,setup(e,{slots:t}){let n=Ce(nr(e)),{options:r}=P(jt),i=S(()=>({[cr(e.activeClass,r.linkActiveClass,`router-link-active`)]:n.isActive,[cr(e.exactActiveClass,r.linkExactActiveClass,`router-link-exact-active`)]:n.isExactActive}));return()=>{let r=t.default&&rr(t.default(n));return e.custom?r:k(`a`,{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}});function ar(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&(e.button===void 0||e.button===0)){if(e.currentTarget&&e.currentTarget.getAttribute){let t=e.currentTarget.getAttribute(`target`);if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function or(e,t){for(let n in t){let r=t[n],i=e[n];if(q(r)){if(!q(i)||i.length!==r.length||r.some((e,t)=>e.valueOf()!==i[t].valueOf()))return!1}else if(r!==i)return!1}return!0}function sr(e){return e?e.aliasOf?e.aliasOf.path:e.path:``}var cr=(e,t,n)=>e??t??n,lr=j({name:`RouterView`,inheritAttrs:!1,props:{name:{type:String,default:`default`},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){let r=P(Be),i=S(()=>e.route||r.value),a=P(tt,0),o=S(()=>{let e=T(a),{matched:t}=i.value,n;for(;(n=t[e])&&!n.components;)e++;return e}),s=S(()=>i.value.matched[o.value]);oe(tt,S(()=>o.value+1)),oe($e,s),oe(Be,i);let c=Ee();return W(()=>[c.value,s.value,e.name],([e,t,n],[r,i,a])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),e&&t&&(!i||!Pe(t,i)||!r)&&(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:`post`}),()=>{let r=i.value,a=e.name,o=s.value,l=o&&o.components[a];if(!l)return ur(n.default,{Component:l,route:r});let u=o.props[a],d=u?u===!0?r.params:typeof u==`function`?u(r):u:null,f=k(l,K({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(o.instances[a]=null)},ref:c}));return ur(n.default,{Component:f,route:r})||f}}});function ur(e,t){if(!e)return null;let n=e(t);return n.length===1?n[0]:n}var dr=lr;function fr(e){let t=qn(e.routes,e),n=e.parseQuery||xt,r=e.stringifyQuery||We,i=e.history,a=ze(),o=ze(),s=ze(),c=we(ut),l=we(0),u=ut;Ye&&e.scrollBehavior&&`scrollRestoration`in history&&(history.scrollRestoration=`manual`);let d=He.bind(null,e=>``+e),f=He.bind(null,ht),p=He.bind(null,wt);function m(e,n){let r,i;Ae(e)?(r=t.getRecordMatcher(e),i=n):i=e;let a=t.addRoute(i,r);return l.value++,()=>{a(),l.value++}}function h(e){let n=t.getRecordMatcher(e);n&&(t.removeRoute(n),l.value++)}function g(){t.clearRoutes(),l.value++}function _(){return t.getRoutes().map(e=>e.record)}function ee(e){return!!t.getRecordMatcher(e)}function v(e,a){if(l.value,typeof e==`string`){a||=e.startsWith(`/`)?ut:c.value;let r=Oe(n,e,a.path),o=t.resolve({path:r.path},a),s=i.createHref(r.fullPath);return K(r,o,{params:p(o.params),redirectedFrom:void 0,href:s})}a=K({},a||(e.path!=null&&e.path.startsWith(`/`)&&!(`name`in e&&e.name)?ut:c.value));let o;if(e.path!=null)o=K({},e,{path:Oe(n,e.path,a.path).path});else{let t=K({},e.params);for(let e in t)t[e]??delete t[e];o=K({},e,{params:f(t)}),a.params=f(a.params)}let s=t.resolve(o,a),u=e.hash||``;s.params=d(p(s.params));let m=qe(r,K({},e,{hash:_t(u),path:s.path})),h=i.createHref(m);return K({fullPath:m,hash:u,query:r===We?Ge(e.query):e.query||{}},s,{redirectedFrom:void 0,href:h})}function y(e){return typeof e==`string`?Oe(n,e,c.value.path):K({},e)}function b(e,t){if(u!==e)return Wt(8,{from:t,to:e})}function x(e){return w(e)}function S(e){return x(K(y(e),{replace:!0}))}function C(e,t){let n=e.matched[e.matched.length-1];if(n&&n.redirect){let{redirect:r}=n,i=typeof r==`function`?r(e,t):r;return typeof i==`string`&&(i=i.includes(`?`)||i.includes(`#`)?i=y(i):{path:i},i.params={}),K({query:e.query,hash:e.hash,params:i.path==null?e.params:{}},i)}}function w(e,t){let n=u=v(e),i=c.value,a=e.state,o=e.force,s=e.replace===!0,l=C(n,i);if(l)return w(K(y(l),{state:typeof l==`object`?K({},a,l.state):a,force:o,replace:s}),t||n);let d=n;d.redirectedFrom=t;let f;return!o&&Bt(r,i,n)&&(f=Wt(16,{to:d,from:i}),F(i,i,!0,!1)),(f?Promise.resolve(f):O(d,i)).catch(e=>Re(e)?Re(e,2)?e:P(e):M(e,d,i)).then(e=>{if(e){if(Re(e,2))return w(K({replace:s},y(e.to),{state:typeof e.to==`object`?K({},a,e.to.state):a,force:o}),t||d)}else e=k(d,i,!0,s,a);return te(d,i,e),e})}function E(e,t){let n=b(e,t);return n?Promise.reject(n):Promise.resolve()}function D(e){let t=z.values().next().value;return t&&typeof t.runWithContext==`function`?t.runWithContext(e):e()}function O(e,t){let n,[r,i,s]=rt(e,t);n=Rt(r.reverse(),`beforeRouteLeave`,e,t);for(let i of r)i.leaveGuards.forEach(r=>{n.push(Ht(r,e,t))});let c=E.bind(null,e,t);return n.push(c),ae(n).then(()=>{n=[];for(let r of a.list())n.push(Ht(r,e,t));return n.push(c),ae(n)}).then(()=>{n=Rt(i,`beforeRouteUpdate`,e,t);for(let r of i)r.updateGuards.forEach(r=>{n.push(Ht(r,e,t))});return n.push(c),ae(n)}).then(()=>{n=[];for(let r of s)if(r.beforeEnter){if(q(r.beforeEnter))for(let i of r.beforeEnter)n.push(Ht(i,e,t));else n.push(Ht(r.beforeEnter,e,t))}return n.push(c),ae(n)}).then(()=>
2(e.matched.forEach(e=>e.enterCallbacks={}),n=Rt(s,`beforeRouteEnter`,e,t,D),n.push(c),ae(n))).then(()=>{n=[];for(let r of o.list())n.push(Ht(r,e,t));return n.push(c),ae(n)}).catch(e=>Re(e,8)?e:Promise.reject(e))}function te(e,t,n){s.list().forEach(r=>D(()=>r(e,t,n)))}function k(e,t,n,r,a){let o=b(e,t);if(o)return o;let s=t===ut,l=Ye?history.state:{};n&&(r||s?i.replace(e.fullPath,K({scroll:s&&l&&l.scroll},a)):i.push(e.fullPath,a)),c.value=e,F(e,t,n,s),P()}let ne;function re(){ne||=i.listen((e,t,n)=>{if(!B.listening)return;let r=v(e),a=C(r,B.currentRoute.value);if(a){w(K(a,{replace:!0,force:!0}),r).catch(Le);return}u=r;let o=c.value;Ye&&n.delta&&bt(st(o.fullPath,n.delta)),O(r,o).catch(e=>Re(e,12)?e:Re(e,2)?(w(K(y(e.to),{force:!0}),r).then(e=>{Re(e,20)&&!n.delta&&n.type===`pop`&&i.go(-1,!1)}).catch(Le),Promise.reject()):(n.delta&&i.go(-n.delta,!1),M(e,r,o))).then(e=>{e||=k(r,o,!1),e&&(n.delta&&!Re(e,8)?i.go(-n.delta,!1):n.type===`pop`&&Re(e,20)&&i.go(-1,!1)),te(r,o,e)}).catch(Le)})}let ie=ze(),A=ze(),j;function M(e,t,n){P(e);let r=A.list();return r.length?r.forEach(r=>r(e,t,n)):console.error(e),Promise.reject(e)}function N(){return j&&c.value!==ut?Promise.resolve():new Promise((e,t)=>{ie.add([e,t])})}function P(e){return j||(j=!e,re(),ie.list().forEach(([t,n])=>e?n(e):t()),ie.reset()),e}function F(t,n,r,i){let{scrollBehavior:a}=e;if(!Ye||!a)return Promise.resolve();let o=!r&&Ut(st(t.fullPath,0))||(i||!r)&&history.state&&history.state.scroll||null;return R().then(()=>a(t,n,o)).then(e=>t===c.value&&e&&Ue(e)).catch(e=>t===c.value&&M(e,t,n))}let I=e=>i.go(e),L,z=new Set,B={currentRoute:c,listening:!0,addRoute:m,removeRoute:h,clearRoutes:g,hasRoute:ee,getRoutes:_,resolve:v,options:e,push:x,replace:S,go:I,back:()=>I(-1),forward:()=>I(1),beforeEach:a.add,beforeResolve:o.add,afterEach:s.add,onError:A.add,isReady:N,install(e){e.component(`RouterLink`,ir),e.component(`RouterView`,dr),e.config.globalProperties.$router=B,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>T(c)}),Ye&&!L&&c.value===ut&&(L=!0,x(i.location).catch(e=>{}));let t={};for(let e in ut)Object.defineProperty(t,e,{get:()=>c.value[e],enumerable:!0});e.provide(jt,B),e.provide(Ve,ce(t)),e.provide(Be,c);let n=e.unmount;z.add(e),e.unmount=function(){z.delete(e),z.size<1&&(u=ut,ne&&ne(),ne=null,c.value=ut,L=!1,j=!1),n()}}};function ae(e){return e.reduce((e,t)=>e.then(()=>D(t)),Promise.resolve())}return B}var pr=(()=>{let e={};return(t,n)=>{let r=[];n.charCodeAt(n.length-1)===47&&(n=n.slice(0,-1));let i=n.split(`/`);return i.length>1&&i[i.length-1]===``&&(i.pop(),n=n.slice(0,-1)),i.length,r.push({data:e,params:{_:n.slice(1)}}),r.reverse()}})(),mr=pr,hr=function(e){if(!e.includes(`%`))return e;let t=e.indexOf(`?`),n=t===-1?e:e.slice(0,t);try{return t===-1?decodeURI(n):decodeURI(n)+e.slice(t)}catch{return e}},gr=(e,t)=>{if(typeof e!=`string`)return e;let n=hr(e);return t?n.toLowerCase():n},_r=e=>tn.sensitive?Vt({},...pr(``,gr(e,!1)).map(e=>e.data).reverse()):Vt({},...mr(``,gr(e,!0)).map(e=>e.data).reverse()),vr=l,yr=_r,br;function xr(){let e;return e=vr(Jt(`builds/meta/${o().app.buildId}.json`),{responseType:`json`}).then(e=>{if(!e||typeof e!=`object`||!Array.isArray(e.prerendered))throw On.NUXT_E5004();return e}),br=e,e.catch(t=>{br===e&&(br=void 0),On.NUXT_E5002({cause:t})}),e}function Sr(){return br||xr()}function Cr(e){let t=typeof e==`string`?e:e.path;try{return yr(t)}catch(e){return On.NUXT_E5003({path:t,cause:e}),{}}}var wr=2**32-1,Tr=wr-1,Er=Object.getOwnPropertyNames(Object.prototype).sort().join(`\0`);function Dr(e){let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null||Object.getPrototypeOf(t)===null||Object.getOwnPropertyNames(t).sort().join(`\0`)===Er}function Or(e){return Object.prototype.toString.call(e).slice(8,-1)}function kr(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.getOwnPropertyDescriptor(e,t).enumerable)}function Ar(e){return!(!Number.isInteger(e)||e<0||e>Tr)}function jr(e){return!(!Number.isInteger(e)||e<0||e>wr)}function Mr(e){if(e.length===0||e.length>1&&e.charCodeAt(0)===48)return!1;for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n<48||n>57)return!1}return Ar(+e)}function Nr(e){for(var t=e.length-1;t>=0&&!Mr(e[t]);t--);return t+1}function Pr(e){let t=Object.keys(e);return t.length=Nr(t),t}function Fr(e){return Uint8Array.fromBase64(e).buffer}function Ir(e){return Uint8Array.from(Buffer.from(e,`base64`)).buffer}function Lr(e){let t=atob(e),n=t.length,r=new Uint8Array(n);for(let e=0;e<n;e++)r[e]=t.charCodeAt(e);return r.buffer}var Rr=typeof Uint8Array.fromBase64==`function`,zr=typeof process==`object`&&process.versions?.n
2ode!==void 0,Br=Rr?Fr:zr?Ir:Lr;function Vr(e,t){if(!t)return e;let n={};for(let r of Object.keys(e))n[r]=t[r]??e[r];return n}var Hr=Object.freeze({kind:`not-plain`}),Ur=Object.freeze({kind:`symbol-keys`});Object.freeze({identify:e=>e,typeOf:e=>e===null?`null`:typeof e,toPrimitive:e=>e,tagOf:e=>Or(e),isThenable:e=>typeof e.then==`function`,toPromise:e=>Promise.resolve(e),unbox:e=>e.valueOf(),toISOString:e=>isNaN(e.getDate())?``:e.toISOString(),toStringValue:e=>e.toString(),regExpInfo:e=>({source:e.source,flags:e.flags}),valuesOf:e=>e,entriesOf:e=>e,viewInfo:e=>({buffer:e.buffer,byteOffset:e.byteOffset,byteLength:e.byteLength,length:e.length,bufferByteLength:e.buffer.byteLength}),toArrayBuffer:e=>e,lengthOf:e=>e.length,hasOwn:(e,t)=>Object.hasOwn(e,t),indicesOf:e=>Pr(e),shapeOf:e=>Dr(e)?kr(e).length>0?Ur:{kind:Object.getPrototypeOf(e)===null?`null-proto`:`plain`,keys:Object.keys(e)}:Hr,get:(e,t)=>e[t]});var Wr=Object.freeze({fromPrimitive:e=>e,fromISOString:e=>new Date(e),fromStringValue:(e,t)=>e===`URL`?new URL(t):e===`URLSearchParams`?new URLSearchParams(t):Temporal[e.slice(9)].from(t),fromArrayBuffer:e=>e,fromRegExpInfo:(e,t)=>new RegExp(e,t),fromViewInfo:(e,t,n,r)=>{let i=globalThis[e];return n===void 0?new i(t):new i(t,n,r)},box:e=>Object(e),createArray:e=>Array(e),createSparseArray:e=>{let t=[];return t[Tr]=void 0,delete t[Tr],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)}});function Gr(e,t,n){return Kr(JSON.parse(e),t,n)}function Kr(e,t,n){let r=Vr(Wr,n?.operations);if(typeof e==`number`)return s(e,!0);if(!Array.isArray(e)||e.length===0)throw Error(`Invalid input`);let i=e,a=Array(i.length),o=null;function s(e,n=!1){if(e===-1)return r.fromPrimitive(void 0);if(e===-3)return r.fromPrimitive(NaN);if(e===-4)return r.fromPrimitive(1/0);if(e===-5)return r.fromPrimitive(-1/0);if(e===-6)return r.fromPrimitive(-0);if(n||typeof e!=`number`)throw Error(`Invalid input`);if(e in a)return a[e];let c=i[e];if(!c||typeof c!=`object`)a[e]=r.fromPrimitive(c);else if(Array.isArray(c)){if(typeof c[0]==`string`){let n=c[0],l=t&&Object.hasOwn(t,n)?t[n]:void 0;if(l){let t=c[1];if(typeof t!=`number`&&(t=i.push(c[1])-1),Object.hasOwn(a,t))return a[e]=l(a[t]);if(o??=new Set,o.has(t))throw Error(`Invalid circular reference`);return o.add(t),a[e]=l(s(t)),o.delete(t),a[e]}switch(n){case`Date`:a[e]=r.fromISOString(c[1]);break;case`Set`:let t=r.createSet();a[e]=t;for(let e=1;e<c.length;e+=1)r.addValue(t,s(c[e]));break;case`Map`:let o=r.createMap();a[e]=o;for(let e=1;e<c.length;e+=2)r.addEntry(o,s(c[e]),s(c[e+1]));break;case`RegExp`:a[e]=r.fromRegExpInfo(c[1],c[2]);break;case`Object`:{let t=c[1];if(typeof i[t]==`object`&&i[t][0]!==`BigInt`)throw Error(`Invalid input`);a[e]=r.box(s(t));break}case`BigInt`:a[e]=r.fromPrimitive(BigInt(c[1]));break;case`null`:let l=r.createNullPrototypeObject();a[e]=l;for(let e=1;e<c.length;e+=2){if(c[e]===`__proto__`)throw Error("Cannot parse an object with a `__proto__` property");r.set(l,c[e],s(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(i[c[1]][0]!==`ArrayBuffer`)throw Error(`Invalid data`);let t=s(c[1]);a[e]=r.fromViewInfo(n,t,c[2],c[3]);break}case`ArrayBuffer`:{let t=c[1];if(typeof t!=`string`)throw Error(`Invalid ArrayBuffer encoding`);a[e]=r.fromArrayBuffer(Br(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`:a[e]=r.fromStringValue(n,c[1]);break;default:throw Error(`Unknown type ${n}`)}}else if(c[0]===-7){let t=c[1];if(!jr(t))throw Error(`Invalid input`);let n=r.createSparseArray(t);a[e]=n;for(let e=2;e<c.length;e+=2){let i=c[e];if(!Ar(i)||i>=t)throw Error(`Invalid input`);
2r.set(n,i,s(c[e+1]))}}else{let t=r.createArray(c.length);a[e]=t;for(let e=0;e<c.length;e+=1){let n=c[e];n!==-2&&r.set(t,e,s(n))}}}else{let t=r.createObject();a[e]=t;for(let e of Object.keys(c)){if(e===`__proto__`)throw Error("Cannot parse an object with a `__proto__` property");r.set(t,e,s(c[e]))}}return a[e]}return s(0)}async function qr(e,t={}){return null}async function Jr(e,t){return null}function Yr(e){return new URL(e,`http://localhost`).pathname}function Xr(e){return!!Cr({path:Yr(e)}).payload}var Zr=null;async function Qr(){if(Zr)return Zr;let e=document.getElementById(`__NUXT_DATA__`);if(!e)return{};let t=await $r(e.textContent||``),n=e.dataset.src?await Jr(e.dataset.src,t.prerenderedAt?`force-cache`:`no-cache`):void 0;return Zr={...t,...n,...window.__NUXT__},Zr.config?.public&&(Zr.config.public=Ce(Zr.config.public)),Zr}async function $r(e){return await Gr(e,g()._payloadRevivers)}function ei(e,t){g()._payloadRevivers[e]=t}var ti=u(()=>{ei(`skipHydrate`,e=>void 0)});function ni(e){try{return JSON.parse(e)}catch{return e}}var ri=[[`NuxtError`,e=>Tt(e)],[`EmptyShallowRef`,e=>we(e===`_`?void 0:e===`0n`?BigInt(0):ni(e))],[`EmptyRef`,e=>Ee(e===`_`?void 0:e===`0n`?BigInt(0):ni(e))],[`ShallowRef`,e=>we(e)],[`ShallowReactive`,e=>ce(e)],[`Ref`,e=>Ee(e)],[`Reactive`,e=>Ce(e)]],ii=a({name:`nuxt:revive-payload:client`,order:-30,async setup(e){let t,n;for(let[e,t]of ri)ei(e,t);Object.assign(e.payload,([t,n]=i(()=>e.runWithContext(Qr)),t=await t,n(),t)),delete window.__NUXT__}},1);function ai(e,t){t.push(s),e.vueApp.use(t);let n=!0,r=()=>{n=!1,t.render()};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);let i=t.push.bind(t);t.push=((t,n)=>{let r=i(t,n),a=r.dispose.bind(r);return r.dispose=()=>{let t=e[`~transitionPromise`];t?t.finally(a):a()},r})}function oi(e,t,n){let r=e.push,i=e;return i.ssr=!1,i.hooks=t,i.dirty=!!i.dirty,i.use=e=>Tn(i,e),i.render=()=>n(i),i.invalidate=()=>{for(let e of i.entries.values())delete e._tags;i.dirty=!0,t.callHook(`entries:updated`,i)},i.push=(n,a)=>{let o=a?.onRendered?t.hook(`dom:rendered`,a.onRendered):void 0,s=r(n,a),c=e.entries.get(s._i);return c&&(c._o=n),i.dirty=!0,t.callHook(`entries:updated`,i),{_i:s._i,patch(e){s.patch(e),i.dirty=!0,t.callHook(`entries:updated`,i)},dispose(){o?.(),e.entries.has(s._i)&&(s.dispose(),i.invalidate())}}},t.hook(`entries:updated`,()=>{i.render()}),i}var si=/\s+/;function ci(e={}){return t=>di(t,e)}function li(e){for(let t of e.entries.values())if(t._pending!==void 0)return!0;return!1}function ui(e,t){let n={_d:t,_t:t.title,_e:new Map([[`htmlAttrs`,t.documentElement],[`bodyAttrs`,t.body]]),_p:{},_s:{},_l:new Map};for(let e of[...t.body.children,...t.head.children]){let t=e.tagName.toLowerCase();if(!lt.has(t))continue;let r={innerHTML:e.innerHTML};for(let t of e.getAttributeNames())r[t]=e.getAttribute(t);let i=yt({tag:t,props:{}},r);i.key=e.getAttribute(`data-hid`)||void 0;let a=It(i)||Dt(i),o=a,s=1;for(;n._e.has(o);)o=`${a}:${s++}`;n._e.set(o,e)}for(let t of e.entries.values())if(t._o!==void 0){let e=t._o;for(let t of[`bodyAttrs`,`htmlAttrs`]){let r=e[t]?.class;if(typeof r==`string`){let e=n._e.get(t);for(let i of r.split(si))i&&(n._p[`${t}:attr:class:${i}`]=()=>e.classList.remove(i))}}}return n}function di(e,t={}){let n=t.document||e.resolvedOptions.document,r=e._dom,i=!!r&&r._d!==n;if(!n||r&&!i&&!e.dirty&&!li(e)||e._du)return!1;let a=n.defaultView;e._du=!0;let o=!1;try{let i=function(e,t,n){d._s[e]=!n&&f[e]||t,delete f[e]},s=function(e,t,n,r,a,o){let s=`${e}:event:${t}`,c=d._l.get(s);if(c&&c[0]===o&&c[1]===n&&c[2]===r){i(s,c[4]);return}c?.[4]();let l=`data-${t}`,u=(e=>r.call(a,e)),f=()=>{o.removeEventListener(n,u),a.getAttribute(l)===``&&a.removeAttribute(l),d._l.get(s)?.[3]===u&&d._l.delete(s)};o.addEventListener(n,u),d._l.set(s,[o,n,r,u,f]),a.setAttribute(l,``),i(s,f,!0)},c=function({id:e,$el:t,tag:n}){let r=n.tag.endsWith(`Attrs`);if(d._e.set(e,t),!r){let r=n.textContent;r!=null&&r!==``&&(r!==t.textContent&&(t.textContent=r),i(`${e}:text`,()=>{t.textContent===r&&(t.textContent=``)},!0));let a=n.innerHTML;a!=null&&a!==``&&(a!==t.innerHTML&&(t.innerHTML=a),i(`${e}:html`,()=>{t.innerHTML===a&&(t.innerHTML=``)},!0));let o=`${e}:el`;i(o,f[o]||(()=>{t?.remove(),d._e.delete(e)}))}for(let r in n.props){let o=n.props[r];if(r[0]===`o`&&r[1]===`n`&&typeof o==`function`){let i=r.slice(2);t?.dataset?.[`${r}fired`]&&o.call(t,new((a?.Event)||Event)(i)),s(e,r,i,o,t,n.tag===`bodyAttrs`&&a?a:t);continue}let c=`${e}:attr:${r}`;if(r===`class`&&o)for(let e of o){let n=`${c}:${e}`;i(n,f[n]||(()=>t.classList.remove(e))),t.classList.contains(e)||t.classList.add(e)}else if(r===`style`&&o)for(let[e,n]of o){let r=`${c}:${e}`;i(r,f[r]||(()=>t.style.removeProperty(e))),t.style.setProperty(e,n)}else o!==!1&&o!==null&&(t.getAttribute(r)!==o&&t.setAttribute(r,o===!0?``:String(o)),i(c,f[c]||(()=>t.removeAttribute(r))))}},l={shouldRender:!0,tags:[]};if(Ot(e,`dom:beforeRender`,l),!l.shouldRender)return!1;let u=r;if(u?._d!==n){if(u){for(let e in u._s)u._s[e]();for(let e in u._p)u._p[e]();u._s=u._p={},u._e.clear(),u._l.clear()}u=void 0}u?u._p=u._s:u=ui(e,n),u._s={};let d=u,f=d._p,p=[],m={};e.dirty=!1;let h=ot(e,t.tagWeight?{tagWeight:t.tagWeight}:void 0),g=[],_={};for(let e of h){let t=_[e._d]||0,r=(t?`${e._d}:${t}`:e._d)||e._h,a={tag:e,id:r,shouldRender:!0};if(e.tag===`meta`&&e._d&&Nt(e._d)&&(_[e._d]=t+1),g.push(a),e.tag===`title`){n.title=e.textContent,i(`title:`,()=>n.title=d._t);continue}a.$el=d._e.get(r),a.$el?c(a):lt.has(e.tag)&&p.push(a)}for(let e of p)e.$el=n.createElement(e.tag.tag),c(e),(m[e.tag.tagPosition||`head`]??=n.createDocumentFragment()).appendChild(e.$el);m.head&&n.head.appendChild(m.head),m.bodyOpen&&n.body.insertBefore(m.bodyOpen,n.body.firstChild),m.bodyClose&&n.body.appendChild(m.bodyClose);for(let e in f)f[e]();e._dom=d,o=!0,Ot(e,`dom:rendered`,{renders:g})}catch(t){throw e.dirty=!0,t}finally{e._du=!1}return o&&(e.dirty||li(e))&&di(e,t),o}var fi=e=>typeof e.tagPriority==`number`?e.tagPriority:100+(Ct[e.tagPriority]||0);function pi(e={}){e.document=e.document||(typeof window<`u`?document:void 0);let t=e.render||ci({document:e.document}),n=oi(En(t,{document:e.document,propResolvers:e.propResolvers,_tagWeight:fi,init:[]}),Pt(e.hooks),t);
2return e.plugins?.forEach(e=>n.use(e)),e.init?.forEach(e=>e&&n.push(e)),n}function mi(e={}){let t=ci(),n,r=0;return n=pi({render:()=>{let e=++r;setTimeout(()=>{e===r&&t(n)},0)},...e}),n.install=ft(n),n}var hi={disableDefaults:!0,plugins:[mn,bn,wn,pn]},gi=a({name:`nuxt:head`,enforce:`pre`,setup(e){ai(e,mi(hi))}}),_i=/(:\w+)\([^)]+\)/g,vi=/(:\w+)[?+*]/g,yi=/:\w+/g,bi=(e,t)=>t.path.replace(_i,`$1`).replace(vi,`$1`).replace(yi,t=>e.params[t.slice(1)]?.toString()||``),xi=(e,t)=>{let n=e.route.matched.find(t=>t.components?.default===e.Component.type),r=t??n?.meta.key??(n&&bi(e.route,n));return typeof r==`function`?r(e.route):r},Si=(e,t)=>({default:()=>e?k(Te,e===!0?{}:e,t):t});function Ci(e){return Array.isArray(e)?e:[e]}var wi=[zt(async e=>{let t,n;if(!e.meta?.validate)return;let r=([t,n]=i(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t);if(r!==!0)return Tt({fatal:!0,status:r&&(r.status||r.statusCode)||404,statusText:r&&(r.statusText||r.statusMessage)||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}})},1),zt(e=>{let t=Cr({path:e.path});if(t.redirect){let n=t.redirect.includes(`#`)?t.redirect:t.redirect+e.hash;return qt(n,{acceptRelative:!0})?(window.location.href=n,!1):n}})],Ti={},Ei=[{name:`health`,path:`/health`,component:()=>me(()=>import(`./B6Mg2Ld8.js`),__vite__mapDeps([0,1,2,3,4]),import.meta.url)},{name:`slug`,path:`/:slug()`,component:()=>me(()=>import(`./EtJAydNE.js`),__vite__mapDeps([5,6,2,1,3,7,8,9,4,10,11,12,13,14,15,16,17]),import.meta.url)},{name:`index`,path:`/`,component:()=>me(()=>import(`./C-wXaMq_.js`),__vite__mapDeps([18,2,6,1,3,7,8,4,11,19,12,13,14,20,21,15,16,22]),import.meta.url)}];function Di(e,t,n){let{pathname:r,search:i,hash:a}=t,o=e.indexOf(`#`);if(o>-1){let t=a.includes(e.slice(o))?e.slice(o).length:1,n=a.slice(t);return n[0]!==`/`&&(n=`/`+n),Qt(n,``)}let s=Qt(r,e),c=!n||Zt(s,n)?s:n;return c+(c.includes(`?`)?``:i)+a}var Oi=a({name:`nuxt:router`,enforce:`pre`,async setup(e){let t,n,r=o().app.baseURL,a=tn.history?.(r)??Pn(r),s=tn.routes?([t,n]=i(()=>tn.routes(Ei)),t=await t,n(),t??Ei):Ei,c,l=fr({...tn,scrollBehavior:(e,t,n)=>{if(t===ut){c=n;return}if(tn.scrollBehavior){if(l.options.scrollBehavior=tn.scrollBehavior,`scrollRestoration`in window.history){let e=l.beforeEach(()=>{e(),window.history.scrollRestoration=`manual`})}return tn.scrollBehavior(e,ut,c||n)}},history:a,routes:s});`scrollRestoration`in window.history&&(window.history.scrollRestoration=`auto`),e.vueApp.use(l);let u=we(l.currentRoute.value);l.afterEach((e,t)=>{u.value=t}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>u.value});let d=Di(r,window.location,e.payload.path),f=we(l.currentRoute.value),p=()=>{f.value=l.currentRoute.value};l.afterEach((e,t)=>{let n=e.matched.at(-1)?.components?.default,r=t.matched.at(-1)?.components?.default;if(n===r){xi({route:e,Component:{type:n}})===xi({route:t,Component:{type:r}})&&p();return}e.matched.length<t.matched.length&&e.matched.every((e,n)=>e.components?.default===t.matched[n]?.components?.default)&&p()});let m={sync:p};for(let e in f.value)Object.defineProperty(m,e,{get:()=>f.value[e],enumerable:!0});e._route=ce(m),e._middleware||={global:[],named:{}};let h=it();l.afterEach(async(t,n,r)=>{delete e._processingMiddleware,!e.isHydrating&&h.value&&await e.runWithContext(At),r&&await e.callHook(`page:loading:end`)});try{[t,n]=i(()=>l.isReady()),await t,n()}catch(r){[t,n]=i(()=>mt(e,r)),await t,n()}let g=d===l.currentRoute.value.fullPath?l.currentRoute.value:l.resolve(d),_=l.currentRoute.value.fullPath,ee=e.isHydrating&&e.payload.prerenderedAt&&e.payload.path&&d!==e.payload.path&&Zt(l.currentRoute.value.path,e.payload.path);p();function v(t){!e.isHydrating&&t.fullPath!==Di(r,window.location)&&a.push(t.fullPath)}let y=e.payload.state._layout;return l.beforeEach(async(t,n)=>{await e.callHook(`page:loading:start`),t.meta=Ce(t.meta),e.isHydrating&&y&&!ge(t.meta.layout)&&(t.meta.layout=y),e._processingMiddleware=!0;{let r=new Set([...wi,...e._middleware.global]);for(let e of t.matched){let t=e.meta.middleware;if(t)for(let e of Ci(t))r.add(e)}let i=Cr({path:t.path});if(i.appMiddleware)for(let e in i.appMiddleware)i.appMiddleware[e]?r.add(e):r.delete(e);for(let i of r){let r=typeof i==`string`?e._middleware.named[i]||await Ti[i]?.().then(e=>e.default||e):i;if(!r)throw Qe.NUXT_E2004({entry:String(i),validMiddleware:void 0});try{let i=await e.runWithContext(()=>r(t,n));if(!e.payload.serverRendered&&e.isHydrating&&(i===!1||i instanceof Error)){let t=i||Tt({status:404,statusText:`Page Not Found: ${d}`});return await e.runWithContext(()=>gt(t)),!1}if(i===!0)continue;if(i===!1)return i;if(i)return vt(i)&&i.fatal&&(await e.runWithContext(()=>gt(i)),v(t)),i}catch(n){let r=Tt(n);return r.fatal&&(await e.runWithContext(()=>gt(r)),v(t)),r}}}}),l.onError(async()=>{delete e._processingMiddleware,await e.callHook(`page:loading:end`)}),l.afterEach(t=>{if(t.matched.length===0&&!h.value)return e.runWithContext(()=>gt(Tt({status:404,fatal:!1,statusText:`Page not found: ${t.fullPath}`,data:{path:t.fullPath}})))}),e.hooks.hookOnce(`app:created`,async()=>
2{try{if(`name`in g&&(g.name=void 0),l.currentRoute.value.fullPath===_){if(ee){let t=l.resolve(e.payload.path);`name`in t&&(t.name=void 0),await l.replace({...t,force:!0});let n=()=>{e[`~restoreDeferredRoute`]&&(e[`~restoreDeferredRoute`]=void 0,l.currentRoute.value=l.resolve(d),p(),l.replace({...g,force:!0}).catch(()=>{}))};e[`~restoreDeferredRoute`]=n,e.hooks.hookOnce(`app:suspense:resolve`,n)}else await l.replace({...g,force:!0})}l.options.scrollBehavior=tn.scrollBehavior}catch(t){await mt(e,t)}}),{provide:{router:l}}}},1),ki=a({name:`nuxt:payload`,setup(e){let t=new Set;je().beforeResolve(async(n,r)=>{let i=Xr(n.path),a=i?$t(n.fullPath):n.path;if(a===(i?$t(r.fullPath):r.path))return;let o=await qr(a);if(o){for(let n of t)delete e.static.data[n];for(let n in o.data)n in e.static.data||t.add(n),e.static.data[n]=o.data[n]}}),at(()=>{e.hooks.hook(`link:prefetch`,async e=>{let{hostname:t,pathname:n}=new URL(e,window.location.href);t===window.location.hostname&&await qr(e).catch(()=>{Dn.NUXT_E7003({url:e})})}),navigator.connection?.effectiveType!==`slow-2g`&&setTimeout(Sr,1e3)})}}),Ai=a(()=>{let e=je();at(()=>{e.beforeResolve(async()=>{await new Promise(e=>{setTimeout(e,100),requestAnimationFrame(()=>{setTimeout(e,0)})})})})}),ji=a(e=>{let t;async function n(){let r;try{r=await Sr()}catch(e){let t=e;if(!(`status`in t&&(t.status===404||t.status===403)))throw t}t&&clearTimeout(t),t=setTimeout(n,_);try{let n=await l(Jt(`builds/latest.json`)+`?${Date.now()}`);n.id!==r?.id&&(e.hooks.callHook(`app:manifest:update`,n),t&&clearTimeout(t))}catch{}}at(()=>{t=setTimeout(n,_)})});function Mi(e={}){let t=e.path||window.location.pathname,n=new URL(t,window.location.href);if(n.host!==window.location.host)throw Qe.NUXT_E2010({path:t});if(n.protocol&&Gt(n.protocol))throw Qe.NUXT_E2002({toPath:t,protocol:n.protocol});let r={};try{r=JSON.parse(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:g().payload.state}))}catch{}window.location.pathname===t?window.location.reload():window.location.href=t}}var Ni=a({name:`nuxt:chunk-reload-crawler`,setup(e){let t=!0;e.hooks.hookOnce(`app:suspense:resolve`,()=>{t=!1}),e.hook(`app:chunkError`,()=>{t&&r(navigator.userAgent)&&Mi()})}}),Pi=a({name:`nuxt:chunk-reload`,setup(e){let t=je(),n=o(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook(`app:chunkError`,({error:e})=>{r.add(e)});function i(e){Mi({path:Kt(n.app.baseURL,e.fullPath),persistState:!0})}e.hook(`app:manifest:update`,()=>{t.beforeResolve(i)}),t.onError((e,t)=>{r.has(e)&&i(t)})}}),Fi=a({name:`nuxt:island-link-navigation`,setup(e){}});function Ii(e){let t=e.length,n=0,r=0,i=8997,a=0,o=33826,s=0,c=40164,l=0,u=52210;for(;n<t;)i^=e.charCodeAt(n++),r=i*435,a=o*435,s=c*435,l=u*435,s+=i<<8,l+=o<<8,a+=r>>>16,i=r&65535,s+=a>>>16,o=a&65535,u=l+(s>>>16)&65535,c=s&65535;return{high:(u<<16|c)>>>0,low:(o<<16|i)>>>0}}function Li(e){let{high:t,low:n}=Ii(e);return BigInt(t)<<32n|BigInt(n)}var Ri=`0123456789abcdef`;Array.from({length:256},(e,t)=>Ri.charAt(t>>4)+Ri.charAt(t&15));function zi(e){return Li(e).toString(36)}function Bi(e,t){if(e===null)return`L`;let n,r=0,i=e,a=typeof e;if(a!==`object`)return a===`number`?e-e===0?`n`+e:`L`:a===`string`?`s`+e:a===`bigint`?`n`+e:a===`boolean`?e?`T`:`F`:void 0;let o=Array.isArray(e);if(!o){if(e instanceof Date)return`d`+ +e;if(e instanceof RegExp)return`r`+e.source+e.flags}if(a=t.indexOf(e),~a)return`~`+(a+1);if(typeof e.toJSON==`function`&&!ArrayBuffer.isView(e)){if(e=e.toJSON(),typeof e!=`object`||!e)return Bi(e,t);if(a=t.indexOf(e),~a)return`~`+(a+1);o=Array.isArray(e)}if(t.push(i),o)for(n=`a`;r<e.length;n+=(a=Bi(e[r++],t))===void 0?`L`:a);else if(e instanceof Set){n=`e`;for(let r of e)n+=(a=Bi(r,t))===void 0?`L`:a}else if(e instanceof Map)for(i=[...e.keys()],i.length>1&&i.sort(),n=`o`;r<i.length;r++)(a=Bi(e.get(i[r]),t))!==void 0&&(n+=i[r]+a);else if(e[Symbol.toStringTag]===void 0||ArrayBuffer.isView(e))for(i=Object.keys(e),i.length>1&&i.sort(),n=`o`;r<i.length;r++)(a=Bi(e[i[r]],t))!==void 0&&(n+=i[r]+a);else throw Error(`Unsupported value`);return t.pop(),n}function Vi(e){return Bi(e,[])??`U`}function Hi(e){return zi(Vi(e))}var Ui=l,Wi=[`method`,`baseURL`,`query`,`params`,`body`,`headers`];function Gi(e){let t=[L(e.method)?.toUpperCase()||`GET`,L(e.baseURL)];for(let n of[e.query||e.params]){let e=L(n);if(!e)continue;let r={};for(let[t,n]of Object.entries(e))r[L(t)]=L(n);t.push(r)}if(e.body){let n=L(e.body);if(!n)t.push(Hi(n));else if(n instanceof ArrayBuffer)t.push(Hi(Object.fromEntries([...new Uint8Array(n).entries()].map(([e,t])=>[e,t.toString()]))));else if(n instanceof FormData){let e=[];for(let t of n.entries()){let[n,r]=t;e.push([n,r instanceof File?`${r.name}:${r.size}:${r.lastModified}`:r])}t.push(Hi(e))}else if(N(n))t.push(Hi(Ce(n)));else try{t.push(Hi(n))}catch{Et.NUXT_E3002({cause:n})}}return t}var Ki=Mt({name:`createUseFetch`,factory(e={}){function t(t,n,r){let[i={},a]=typeof n==`string`?[{},n]:[n,r],o=typeof e==`function`?e(i):e,{server:s,lazy:l,default:u,transform:d,pick:f,watch:p,immediate:m,getCachedData:h,deep:g,dedupe:_,timeout:ee,enabled:v,...y}={...typeof e==`function`?{}:o,...i,...typeof e==`function`?o:{}},b=S(()=>L(t)),x=S(()=>L(y.key)||`$f`+Hi([a,typeof b.value==`string`?b.value:``,...Gi(y)]));if(!y.baseURL&&typeof b.value==`string`&&b.value[0]===`/`&&b.value[1]===`/`)throw Et.NUXT_E3001({url:b.value});let C=Ce({...c,...y,cache:typeof y.cache==`boolean`?void 0:y.cache}),w={server:s,lazy:l,default:u,transform:d,pick:f,immediate:m,getCachedData:h,deep:g,dedupe:_,timeout:ee,enabled:v,watch:p===!1?[]:[...p||[],C]};return p===!1&&(w._keyTriggersExecute=!1),Ft(x,(e,{signal:t})=>{let n=y.$fetch||Ui,r={signal:t,...C};for(let e of Wi)typeof r[e]==`function`&&(r[e]=L(r[e]));return n(b.value,r)},w)}return t}});Ki.__nuxt_factory(),Ki.__nuxt_factory({lazy:!0,_functionName:`useLazyFetch`}),globalThis.cookieStore;var qi=_r;function Ji(e,t){return T(t)??e?.meta.layout??qi(e?.path??`/`).appLayout??`default`}var Yi=a({name:`pinia`,setup(e){let t=Xt();return e.vueApp.use(t),Yt(t),e.payload&&e.payload.pinia&&(t.state.value=e.payload.pinia),{provide:{pinia:t}}},hooks:{"app:rendered"(){let e=g();e.payload.pinia=F(e.$pinia).state.value,Yt(void 0)}}}),Xi=a({name:`nuxt:global-components`}),Zi={default:ie(()=>me(()=>import(`./3K7FASQ3.js`).then(e=>e.default||e),__vite__mapDeps([23,1,2,3,4]),import.meta.url))},Qi=a({name:`nuxt:prefetch`,setup(e){let t=je();e.hooks.hook(`app:mounted`,()=>{t.beforeEach(async e=>{let t=e?.meta?.layout;t&&typeof Zi[t]==`function`&&await Zi[t]()})}),e.hooks.hook(`link:prefetch`,e=>
2{if(qt(e))return;let n=t.resolve(e);if(!n)return;let r=n.meta.layout,i=Ci(n.meta.middleware).filter(e=>typeof e==`string`);for(let e of i){let t=Ti[e];typeof t==`function`&&t()}typeof r==`string`&&r in Zi&&en(Zi[r])})}});function $i(e){return e==null?`null`:typeof e==`function`?`a function`:`'${e}'`}function ea(e,t,n){if(!n)return t;let r=typeof n==`function`?n(e,t):e?.[n];if(r==null)throw Error(`Key is ${r} on item (keyField is ${$i(n)})`);return r}function ta(e,t,n){if(typeof n==`function`&&t==null)throw Error(`index is required when using a function keyField`);return ea(e,t??0,n)}function na(e,t,n){return ea(e,t,n)}function ra(e,t){return e.map((e,n)=>na(e,n,t))}function ia(e,t,n){let r=[],i=[];for(let a=0;a<e.length;a++){let o=e[a],s=na(o,a,t),c=n(o,a,s);r.push(s),i.push(typeof c==`number`&&c>0?c:null)}return{keys:r,sizes:i}}function aa(e,t,n){if(!e||e.keys.length!==t.length||e.sizes.length!==t.length)return!1;for(let r=0;r<t.length;r++)if(e.keys[r]!==na(t[r],r,n))return!1;return!0}function oa(e,t,n){if(!aa(e,t,n))return{};let r={};for(let t=0;t<e.keys.length;t++){let n=e.sizes[t];
2typeof n==`number`&&n>0&&(r[e.keys[t]]=n)}return r}function sa(e,t){if(!e.length||t.length<=e.length)return 0;let n=e[0],r=t.indexOf(n);if(r<=0||r+e.length<t.length&&e.length>t.length-r)return 0;for(let n=0;n<e.length;n++)if(t[r+n]!==e[n])return 0;return r}function ca(e,t,n,r,i,a=0){let o=i??`start`;if(o===`nearest`){let i=n+r,o=e+t;return e>=n&&o<=i?null:e<n?e+a:o-r+a}return o===`end`?e+t-r+a:o===`center`?e+(t-r)/2+a:e+a}function la(e){return e.flowMode&&e.direction===`vertical`&&!e.gridItems?`flow`:e.disableTransform?`position`:`transform`}function ua(e,t){let n=t.direction===`vertical`,r=t.mode??`transform`,i={visibility:e.nr.used?`visible`:`hidden`,pointerEvents:e.nr.used?void 0:`none`};if(r===`flow`?i.display=e.nr.used?void 0:`none`:(i.position=`absolute`,i.top=`0px`,i.left=`0px`,i.display=void 0),r===`position`?(i[n?`top`:`left`]=`${e.position}px`,i[n?`left`:`top`]=`${e.offset}px`,i.transform=`none`,i.willChange=`unset`):r===`transform`&&(i.transform=n?`translateY(${e.position}px) translateX(${e.offset}px)`:`translateX(${e.position}px) translateY(${e.offset}px)`,i.willChange=`transform`),t.gridItems&&t.itemSize!=null){let e=t.itemSecondarySize||t.itemSize;i.width=`${n?e:t.itemSize}px`,i.height=`${n?t.itemSize:e}px`}return i}function da(e){return S(()=>L(e))}function fa(e,t,n,r,i){let a=da(e);return{el:S(()=>{let e=a.value.el;return L(t??e)}),before:S(()=>{let e=a.value.before;return L(n??e)}),after:S(()=>{let e=a.value.after;return L(r??e)}),scrollParent:S(()=>{let e=a.value.scrollParent;return L(e)}),callbacks:{onResize:()=>(i?.onResize??a.value.onResize)?.(),onVisible:()=>(i?.onVisible??a.value.onVisible)?.(),onHidden:()=>(i?.onHidden??a.value.onHidden)?.(),onUpdate:(e,t,n,r)=>(i?.onUpdate??a.value.onUpdate)?.(e,t,n,r)}}}var pa={itemsLimit:1e3};function ma(e){return typeof window<`u`&&e===window}var ha=(()=>{if(typeof document>`u`)return`negative`;let e=document.createElement(`div`),t=document.createElement(`div`);e.style.width=`4px`,e.style.height=`1px`,e.style.overflow=`auto`,e.style.direction=`rtl`,t.style.width=`8px`,t.style.height=`1px`,e.appendChild(t),document.body.appendChild(e),e.scrollLeft=-1;let n=e.scrollLeft<0;return document.body.removeChild(e),n?`negative`:`default`})();function ga(e,t,n){return t!==`horizontal`||!n||ma(n)||getComputedStyle(n).direction!==`rtl`?e:ha===`negative`?-e:e}function _a(e,t,n){return ga(e,t,n)}function va(e,t,n,r){let i=_a(n,t,e),a=!!(r!=null&&r.smooth);if(ma(e)){t===`vertical`?e.scrollTo({top:i,behavior:a?`smooth`:`auto`}):e.scrollTo({left:i,behavior:a?`smooth`:`auto`});return}if(typeof e.scrollTo==`function`){e.scrollTo(t===`vertical`?{top:i,behavior:a?`smooth`:`auto`}:{left:i,behavior:a?`smooth`:`auto`});return}t===`vertical`?e.scrollTop=i:e.scrollLeft=i}function ya(e,t,n,r){if(n){if(r&&r!==window){let e=r;return t===`vertical`?e.clientHeight:e.clientWidth}return t===`vertical`?window.innerHeight:window.innerWidth}return t===`vertical`?e.clientHeight:e.clientWidth}var ba=/auto|scroll/;function xa(e,t){return e.parentNode===null?t:xa(e.parentNode,[...t,e])}function Sa(e,t){return getComputedStyle(e,null).getPropertyValue(t)}function Ca(e){return Sa(e,`overflow`)+Sa(e,`overflow-y`)+Sa(e,`overflow-x`)}function wa(e){return ba.test(Ca(e))}function Ta(e){if(!(e instanceof HTMLElement||e instanceof SVGElement))return;if(e.parentNode===null)return document.scrollingElement||document.documentElement;let t=xa(e.parentNode,[]);for(let e=0;e<t.length;e+=1)if(t[e]instanceof Element&&wa(t[e]))return t[e];return document.scrollingElement||document.documentElement}function Ea(e,t){if(t)return t;if(!e)return;let n=Ta(e);if(n)return typeof window<`u`&&window.document&&(n===window.document.documentElement||n===window.document.body)?window:n}var Da=!1;function Oa(){return Da}if(typeof window<`u`){Da=!1;try{let e=Object.defineProperty({},"passive",{get(){Da=!0}});window.addEventListener(`test`,null,e)}catch{}}function ka(e){return typeof e==`number`?e:null}
2function Aa(e,t,n,r,i){return typeof n==`number`?n:typeof n==`function`?n(e,t)||r||void 0:r||e?.[i??`size`]||void 0}function ja(e,t,n,r,i,a){return typeof n==`function`?n(e,t)||r||Number(i)||0:r||e?.[a??`size`]||Number(i)||0}var Ma=0,Na=[];function Pa(e){for(let t=0;t<e.length;t++)e[t]}function Fa(e,t){return e&&typeof e==`object`?e[t]:void 0}function Ia(e,t){return e.map(e=>Fa(e,t))}function La(e,t,n,r){if(e.length!==n.length||t.length!==r.length)return!1;for(let i=0;i<e.length;i++)if(e[i]!==n[i]||t[i]!==r[i])return!1;return!0}function Ra(e){let t=e;t._vs_styleStamp++}function za(e){let t=e;t._vs_visibilityStamp++,t._vs_styleStamp++}function Ba(e,t,n,r){if(n){for(let e of n)r(e);return}for(let n=e;n<t;n++)r(n)}var Va=8,Ha=1;function Ua(e,t,n,r,i,a){let o=da(e),s=fa(o,t,n,r,i),c=S(()=>{let e=L(V().items);return Pa(e),e}),l=Ee([]),u=Ee(0),d=Ee(0),f=Ee(0),p=Ee(!1),m=0,h=0,g=0,_=0,ee=!1,v=null,y=new Map,b=new Map,x=!1,C=0,w=0,T=!1,E=null,D=null,O=null,k=0,re=null,ie=null,A=[],j=[],M=null,N=null,P=null,F=!1,I=!1,B=!1,ae=new Set,oe=Ee({}),se=[],le={accumulator:0};function V(){return o.value}function ue(){return a?.pageMode??V().pageMode}let H=S(()=>L(V().enabled??!0)),fe=S(()=>Ea(s.el.value,s.scrollParent.value)),U=S(()=>{let e=c.value;return e.length>0&&typeof e[0]!=`object`}),pe=S(()=>{let e=V();if(ka(e.itemSize)===null){let t=c.value,n=Array.from({length:t.length});le.accumulator=0,n[-1]=le;let r=e.minItemSize,i=oe.value,a=U.value,o=1e4,s=0,l;for(let c=0,u=t.length;c<u;c++){let u=a?c:ea(t[c],c,e.keyField);l=ja(t[c],c,e.itemSize,i[u],r,e.sizeField),l<o&&(o=l),s+=l;let d=se[c]??(se[c]={accumulator:0,size:void 0});d.accumulator=s,d.size=l,n[c]=d}return se.length=t.length,k=o,n}return Na}),me=S(()=>l.value.filter(e=>(e._vs_visibilityStamp,e.nr.used)).sort((e,t)=>e.nr.index-t.nr.index)),he=S(()=>{let e=V(),t=U.value?null:e.keyField;return ia(c.value,t,(t,n,r)=>Aa(t,n,e.itemSize,oe.value[r],e.sizeField))});function ge(e=V()){return e.direction??`vertical`}function _e(e=V()){let t=ge(e),n=e.flowMode??!1;return n&&t!==`vertical`&&(I||=(console.warn(`[vue-recycle-scroller] flowMode only supports vertical lists. Falling back to standard positioning.`),!0),n=!1),n&&e.gridItems&&(B||=(console.warn(`[vue-recycle-scroller] flowMode does not support gridItems. Falling back to standard positioning.`),!0),n=!1),la({direction:t,disableTransform:e.disableTransform??!1,flowMode:n,gridItems:e.gridItems})}function ve(){l.value.sort((e,t)=>e.nr.used===t.nr.used?e.nr.used&&t.nr.used?e.nr.index-t.nr.index:e.nr.id-t.nr.id:e.nr.used?-1:1)}function ye(e){let t=V();return oe.value=oa(e,c.value,U.value?null:t.keyField),Object.keys(oe.value).length>0}function be(e){let t=b.get(e);return t||(t=[],b.set(e,t)),t}function xe(e,t,n,r,i){let a=de({id:Ma++,index:t,used:!0,key:r,type:i}),o=ce({item:n,position:0,offset:0,nr:a,_vs_styleStamp:0,_vs_visibilityStamp:0});return e.push(o),o}function Se(e){let t=be(e);if(t&&t.length){let e=t.pop();return e.nr.used=!0,za(e),e}}function Ce(e,t){let n=l.value,r=n.indexOf(e);if(r===-1)return;let i=Math.max(0,Math.min(t,n.length-1));r!==i&&(n.splice(r,1),n.splice(i,0,e))}function G(e){Ce(e,l.value.length-1)}function we(){let e=l.value,t=0;for(;t<e.length&&!e[t].nr.used;)t++;let n=0;for(let r=t;r<e.length&&e[r].nr.used;r++)n++;return{activeStart:t,activeCount:n,headInsertCount:0}}function Te(e,t,n){let r=null;t<m?(r=n.activeStart+n.headInsertCount,n.headInsertCount++,n.activeCount++):t>=h&&(r=n.activeStart+n.activeCount,n.activeCount++),r!=null&&Ce(e,r)}function De(e,t=!1){let n=e.nr.type;be(n).push(e),e.nr.used=!1,e.position=V().hiddenPosition??-999999,za(e),y.delete(e.nr.key),t&&G(e)}function Oe(){y.clear(),b.clear();for(let e=0,t=l.value.length;e<t;e++){let t=l.value[e];t&&De(t)}}function ke(e){let t=-1;return t=requestAnimationFrame(()=>{ae.delete(t),e()}),ae.add(t),t}function Ae(){for(let e of ae)cancelAnimationFrame(e);ae.clear()}function je(){E&&=(clearTimeout(E),null),D&&=(clearTimeout(D),null),O&&=(clearTimeout(O),null),N&&=(clearTimeout(N),null),P&&=(clearTimeout(P),null)}function Me(){var e,t;H.value&&((t=(e=s.callbacks).onResize)==null||t.call(e),p.value&&q(!1))}function Ne(){if(!H.value)return;M&&!F&&We();let e=V();if(!x){if(x=!0,E)return;let t=()=>ke(()=>{x=!1;let{continuous:t}=q(!1,!0);t||(D&&clearTimeout(D),D=setTimeout(Ne,e.updateInterval+100))});t(),e.updateInterval&&(E=setTimeout(()=>{E=null,x&&t()},e.updateInterval))}}function Pe(e,t){var n,r,i,a;H.value&&p.value&&(e||t.boundingClientRect.width!==0||t.boundingClientRect.height!==0?((r=(n=s.callbacks).onVisible)==null||r.call(n),ke(()=>{q(!1)}
2)):(a=(i=s.callbacks).onHidden)==null||a.call(i))}function Fe(){return fe.value??window}function Ie(){let e=s.before.value;return e?ge(V())===`vertical`?e.scrollHeight:e.scrollWidth:0}function Le(){let e=s.el.value;if(!e)return{start:0,end:0};let t=ge(V()),n=t===`vertical`,r;if(ue()){let t=e.getBoundingClientRect(),i=n?t.height:t.width,a=fe.value,o=!a||a===window,s=o?0:a.getBoundingClientRect().top,c=o?0:a.getBoundingClientRect().left,l=o?window.innerHeight:a.clientHeight,u=o?window.innerWidth:a.clientWidth,d=n?-(t.top-s):-(t.left-c),f=n?l:u;d<0&&(f+=d,d=0),d+f>i&&(f=i-d),r={start:d,end:d+f}}else r=n?{start:e.scrollTop,end:e.scrollTop+e.clientHeight}:{start:ga(e.scrollLeft,t,e),end:ga(e.scrollLeft,t,e)+e.clientWidth};return r}function Re(){let e=s.el.value;if(!e)return{start:0,end:0};if(ge(V())===`vertical`){let t=ga(e.scrollLeft,`horizontal`,e);return{start:t,end:t+e.clientWidth}}return{start:e.scrollTop,end:e.scrollTop+e.clientHeight}}function ze(e,t,n,r){let i=Ie(),a=e.start-r-i,o=e.end+r-i;return m>0&&a<=(n[m-1]?.accumulator??0)||m<t-1&&a>(n[m]?.accumulator??1/0)||h>1&&o<=(n[h-2]?.accumulator??0)||h<t&&o>(n[h-1]?.accumulator??1/0)}function Be(e){let t=V(),n=ka(t.itemSize);return n===null?pe.value[e]?.size||Number(t.minItemSize)||0:n}function Ve(e){let t=V();return ua(e,{direction:ge(t),mode:_e(t),itemSize:ka(t.itemSize),gridItems:t.gridItems,itemSecondarySize:t.itemSecondarySize})}function He(e){let t=V(),n=t.gridItems||1,r=ka(t.itemSize);return e<=0?0:r===null?pe.value[e-1]?.accumulator||0:Math.floor(e/n)*r}function Ue(e){let t=V(),n=c.value.length,r=t.gridItems||1,i=ka(t.itemSize);if(!n)return 0;if(i!==null){let t=Math.floor(e/i)*r;return Math.min(Math.max(t,0),n-1)}let a=0,o=n-1,s=0;for(;a<=o;){let t=Math.floor((a+o)/2);He(t)<=e?(s=t,a=t+1):o=t-1}return s}function We(){N&&=(clearTimeout(N),null),M=null}function Ge(){N&&clearTimeout(N),N=setTimeout(()=>{M=null,N=null},150)}function Ke(e,t){if(!e.length){We();return}let n=Math.max(Le().start-Ie(),0),r=Math.min(Ue(n),e.length-1),i=e[r],a=t?ea(i,r,t):r,o=Ie()+He(r);M={key:a,offset:Le().start-o}}function qe(e){if(!M)return!1;let t=V(),n=ra(e??c.value,U.value?null:t.keyField).indexOf(M.key);if(n===-1)return We(),!1;let r=Ie()+He(n)+M.offset,i=Le().start;return Math.abs(r-i)<.5?!1:(F=!0,it(r),ke(()=>{F=!1}),!0)}function Je(){if(K(),!H.value)return;let e=ue()?Fe():s.el.value;e&&(re=e,re.addEventListener(`scroll`,Ne,Oa()?{passive:!0}:!1),ue()&&e===window&&(ie=e,ie.addEventListener(`resize`,Me)))}function K(){re&&=(re.removeEventListener(`scroll`,Ne),null),ie&&=(ie.removeEventListener(`resize`,Me),null)}function Ye(e,t,n,r,i,a){let o=Math.ceil(e/t)*n,s=Math.max(0,Math.floor(i.start/n)),c=Math.min(Math.ceil(i.end/n),Math.ceil(e/t)),l=Math.max(0,Math.floor(a.start/r)),u=Math.min(Math.ceil(a.end/r),t),d=[];for(let n=s;n<c;n++){let r=n*t;for(let t=l;t<u;t++){let n=r+t;if(n>=e)break;d.push(n)}}let f=d[0]??0,p=d.at(-1)??-1;return{renderedIndices:d,startIndex:f,endIndex:p+1,visibleStartIndex:f,visibleEndIndex:p,totalSize:o}}function Xe(){let e=V(),t=ka(e.itemSize);if(!e.gridItems||t==null)return!1;let n=s.el.value;if(!n)return!1;let r=e.itemSecondarySize||t,i=ge(e)===`vertical`?n.clientWidth:n.clientHeight;return r*e.gridItems>i}function Ze(e,t,n,r){if(Math.abs(e-t)!==1||t<0||t>=n)return e;let i=e>t?He(t)+Be(t):He(t);return Math.abs(i-r)<=Va?t:e}function Qe(e,t,n,r,i){if(Math.abs(e-t)!==1)return e;let a=i?t-1:t;if(a<0||a>=n)return e;let o=e>t?He(a)+Be(a):He(a);return Math.abs(o-r)<=Va?t:e}function $e(e,t,n){let r={...e,visibleStartIndex:Ze(e.visibleStartIndex,g,t,n.rawViewportStart),visibleEndIndex:Qe(e.visibleEndIndex,_,t,n.rawViewportEnd,!1),startIndex:Ze(e.startIndex,m,t,n.renderStart),endIndex:Qe(e.endIndex,h,t,n.renderEnd,!0)};r.startIndex>r.visibleStartIndex&&(r.startIndex=r.visibleStartIndex);let i=Math.min(t,r.visibleEndIndex+1);return r.endIndex<i&&(r.endIndex=i),r.endIndex<r.startIndex&&(r.endIndex=r.startIndex),r}function q(e,t=!1){var n,r;if(!H.value)return{continuous:!0};let i=V(),a=ka(i.itemSize),o=i.gridItems||1,p=i.itemSecondarySize||a||0,b=k,x=i.typeField,S=U.value?null:i.keyField,E=c.value,D=E.length,te=pe.value,ne=y,re=l.value,ie=null,A=null,j,M,N,P,F,I=a!==null||D===0||te[D-1]!=null;if(!D||!I)!D||!v?j=M=P=F=N=0:(j=Math.min(v.startIndex,D),M=Math.min(v.endIndex,D),P=Math.min(v.visibleStartIndex,D),F=Math.min(v.visibleEndIndex,D),N=te[D-1]?.accumulator??v.totalSizeValue);else if(T)j=P=0,M=F=Math.min(i.prerender,E.length),N=0;
2else{let e=Le(),n=Re(),r=C,c=w,l={...e},u={...n};if(t){let t=e.start-r;t<0&&(t=-t);let s=n.start-c;s<0&&(s=-s);let l=a===null&&ze(e,D,te,i.buffer);if(!(a===null&&(t>=b||l)||a!==null&&t>=a)&&!(o>1&&a!=null&&s>=p))return{continuous:!0}}C=e.start,w=n.start;let d=i.buffer;l.start-=d,l.end+=d,u.start-=d,u.end+=d;let f=0,m=s.before.value;m&&(f=m.scrollHeight,l.start-=f);let h=s.after.value;if(h){let e=h.scrollHeight;l.end+=e}let g=_e(i)===`flow`&&a===null&&!t&&ee&&Math.abs(e.start-r)<=Ha&&Math.abs(n.start-c)<=Ha;if(a===null){let t,n=0,r=D-1,i=~~(D/2),a;do a=i,t=te[i]?.accumulator??0,t<l.start?n=i:i<D-1&&(te[i+1]?.accumulator??1/0)>l.start&&(r=i),i=~~((n+r)/2);while(i!==a);for(i<0&&(i=0),j=i,N=te[D-1]?.accumulator??0,M=i;M<D&&(te[M]?.accumulator??0)<l.end;M++);for(M===-1?M=E.length-1:(M++,M>D&&(M=D)),P=j;P<D&&f+(te[P]?.accumulator??1/0)<l.start;P++);for(F=P;F<D&&f+(te[F]?.accumulator??0)<l.end;F++);if(g){let t=$e({startIndex:j,endIndex:M,visibleStartIndex:P,visibleEndIndex:F},D,{rawViewportStart:e.start-f,rawViewportEnd:e.end-f,renderStart:e.start-d-f,renderEnd:e.end+d-f});j=t.startIndex,M=t.endIndex,P=t.visibleStartIndex,F=t.visibleEndIndex}v={startIndex:j,endIndex:M,visibleStartIndex:P,visibleEndIndex:F,totalSizeValue:N}}else if(o>1){let e=Ye(D,o,a,p,l,u);ie=e.renderedIndices,A=new Set(ie),j=e.startIndex,M=e.endIndex,P=e.visibleStartIndex,F=e.visibleEndIndex,N=e.totalSize}else{j=~~(l.start/a*o);let e=j%o;j-=e,M=Math.ceil(l.end/a*o),P=Math.max(0,Math.floor((l.start-f)/a*o)),F=Math.floor((l.end-f)/a*o),j<0&&(j=0),M>D&&(M=D),P<0&&(P=0),F>D&&(F=D),N=Math.ceil(D/o)*a}}let L=typeof i.itemsLimit==`number`&&i.itemsLimit>0?i.itemsLimit:pa.itemsLimit;(ie?.length??M-j)>L&&et(),u.value=N,d.value=0,f.value=_e(i)===`flow`?N:0;let R,z=j<=h&&M>=m,B=_e(i)===`flow`,ae=B&&z&&!e,oe=null;if(!z||e)Oe();else{let e=e=>{let t=re[e];t&&(R=t,R.nr.used&&((A?A.has(R.nr.index):R.nr.index>=j&&R.nr.index<M)||De(R,ae)))};if(ae){for(let t=re.length-1;t>=0;t--)e(t);oe=we()}else for(let t=0,n=re.length;t<n;t++)e(t)}let se,ce,le=null,ue=0;return Ba(j,M,ie,e=>{let t=te[e]&&te[e].size,n=a||t||k||1;se=E[e];let r=S?ea(se,e,S):e;R=ne.get(r);let i=!1;if(R)R.item!==se&&(R.item=se),R.nr.used||console.warn(`Expected existing view's used flag to be true, got ${R.nr.used}`);else{if(ce=se[x],R=Se(ce),R){let t=R.nr.index!==e||R.nr.key!==r;R.item=se,R.nr.index=e,R.nr.key=r,R.nr.type!==ce&&console.warn(`Reused view's type does not match pool's type`),t&&Ra(R)}else R=xe(re,e,se,r,ce);ne.set(r,R),i=!0}a===null?(R.position=te[e-1]?.accumulator||0,R.offset=0):(R.position=Math.floor(e/o)*a,R.offset=e%o*p),oe&&i&&Te(R,e,oe),le??=R.position,ue+=n}),B?(le==null?(d.value=0,f.value=N):(d.value=le,f.value=Math.max(0,N-le-ue)),ae||ve()):(d.value=0,f.value=0),m=j,h=M,g=P,_=F,ee=!0,i.emitUpdate&&((r=(n=s.callbacks).onUpdate)==null||r.call(n,j,M,P,F)),_e(i)!==`flow`&&(O&&clearTimeout(O),O=setTimeout(nt,i.updateInterval+300)),{continuous:z}}function et(){throw P=setTimeout(()=>{P=null,console.warn(`It seems the scroller element isn't scrolling, so it tries to render all the items at once.`,`Scroller:`,s.el.value),console.warn(`Make sure the scroller has a fixed height (or width) and 'overflow-y' (or 'overflow-x') set to 'auto' so it can scroll correctly and only render the items visible in the scroll viewport.`)}),Error(`Rendered items limit reached`)}function tt(){if(Xe())return!1;let e=l.value.filter(({nr:e})=>e.used);for(let t=1;t<e.length;t++)if(e[t].nr.index!==e[t-1].nr.index+1)return!0;return!1}function nt(){if(H.value){if(_e()===`flow`){ve();return}l.value.sort((e,t)=>e.nr.index-t.nr.index),tt()&&(q(!1),O&&clearTimeout(O))}}function rt(e,t){if(!H.value)return;let n=V(),r=ge(n),i=s.el.value;if(!i)return;let a=Math.max(0,Math.min(e,c.value.length-1)),o=Le().start,l=ya(i,r,n.pageMode,fe.value),u=ca(He(a),Be(a),o,l,t?.align,t?.offset??0);if(u==null)return;it(u,t);let d=ka(n.itemSize);if(n.gridItems&&d!=null){let e=s.el.value;if(!e)return;let i=n.gridItems,o=n.itemSecondarySize||d,c=a%i*o,l=r===`vertical`?`horizontal`:`vertical`,u=ca(c,o,l===`horizontal`?ga(e.scrollLeft,`horizontal`,e):e.scrollTop,l===`horizontal`?e.clientWidth:e.clientHeight,t?.align,t?.offset??0);u!=null&&va(e,l,u,t)}}function it(e,t){if(!H.value)return;let n=ge(V()),r=s.el.value;if(r){if(ue()){let i=fe.value??window,a=n===`vertical`?`top`:`left`,o=i===window,s=o?document.scrollingElement||document.documentElement:i,
2c=s.getBoundingClientRect(),l=r.getBoundingClientRect(),u=o?n===`vertical`?window.scrollY:window.scrollX:ga(n===`vertical`?s.scrollTop:s.scrollLeft,n,s),d=l[a]-c[a];va(o?window:s,n,e+u+d,t)}else va(r,n,e,t)}}let at=V(),ot=c.value;return A=ra(ot,ot.length>0&&typeof ot[0]!=`object`?null:at.keyField),j=Ia(ot,at.typeField),at.cache&&ye(at.cache),H.value&&at.prerender&&(T=!0,q(!1)),at.gridItems&&ka(at.itemSize)==null&&console.error(`[vue-recycle-scroller] You must provide an itemSize when using gridItems`),ne(()=>{H.value&&(Je(),R(()=>{T=!1,q(!0),p.value=!0}))}),te(()=>{if(!H.value)return;let e=C;typeof e==`number`&&R(()=>{it(e)})}),z(()=>{je(),Ae(),K()}),W(H,e=>{e?(Je(),R(()=>{q(!0),p.value=!0})):(K(),je(),Ae(),p.value=!1)}),W(()=>V().cache,e=>{H.value&&(ye(e),q(!0))}),W(()=>L(V().items).slice(),(e,t)=>{if(!H.value)return;let n=V(),r=U.value?null:n.keyField,i=ra(e,r),a=Ia(e,n.typeField),o=A,s=!La(i,a,o,j);n.shift&&sa(o,i)>0?Ke(t??[],r):We(),A=i,j=a,qe(e),q(s)}),W(()=>V().keyField,()=>{if(!H.value)return;let e=V(),t=U.value?null:e.keyField;A=ra(c.value,t),j=Ia(c.value,e.typeField),We(),q(!0)}),W(()=>V().typeField,()=>{if(!H.value)return;let e=V();j=Ia(c.value,e.typeField),We(),q(!0)}),W(ue,()=>{H.value&&(K(),Je(),q(!1))}),W(s.el,()=>{H.value&&(K(),Je(),q(!1))}),W(fe,()=>{!H.value||!ue()||(K(),Je(),q(!1))}),W(pe,()=>{H.value&&(qe()&&Ge(),q(!1))}),W(()=>V().gridItems,()=>{H.value&&q(!0)}),W(()=>V().itemSecondarySize,()=>{H.value&&q(!0)}),{pool:l,visiblePool:me,totalSize:u,startSpacerSize:d,endSpacerSize:f,ready:p,sizes:pe,simpleArray:U,scrollToItem:rt,scrollToPosition:it,getScroll:Le,findItemIndex:Ue,getItemOffset:He,getItemSize:Be,getViewStyle:Ve,cacheSnapshot:he,restoreCache:ye,updateVisibleItems:q,handleResize:Me,handleVisibilityChange:Pe,sortViews:nt}}var Wa="[vue-virtual-scroller] `sizeDependencies` is deprecated and will be removed in the next major release. Dynamic item sizing uses ResizeObserver in modern browsers.",Ga=!1;function Ka(e){e==null||Ga||(Ga=!0,console.warn(Wa))}function qa(e,t,n,r){let i=null,a=null,o=null,s=!1,c=null,l=[],u=n.resizeObserver?()=>{}:n.onVscrollUpdate(g),d=S(()=>{let t=L(e);if(n.vscrollData.simpleArray){if(t.index==null)throw Error(`index is required when using simple-array mode with dynamic item measurement`);return t.index}return ta(t.item,t.index,n.vscrollData.keyField)}),f=S(()=>n.vscrollData.sizes[d.value]||0),p=S(()=>L(e).active&&n.vscrollData.active);function m(){p.value?a!==d.value&&(a=d.value,i=null,o=null,y(d.value)):i=d.value}function h(){L(e).watchData&&!n.resizeObserver?c=W(()=>L(e).item,()=>{_()},{deep:!0}):c&&=(c(),null)}function g({force:e}){!p.value&&e&&(o=d.value),(i===d.value||e||!f.value)&&m()}function _(){m()}function ee(e){n.undefinedMap[e]&&n.undefinedSizeCount.value--,n.undefinedMap[e]=void 0}function v(e,t){if(n.vscrollData.sizes[e]){ee(e);return}if(t){n.undefinedMap[e]||n.undefinedSizeCount.value++,n.undefinedMap[e]=!0;return}n.undefinedMap[e]&&(n.undefinedSizeCount.value--,n.undefinedMap[e]=!1)}function y(e){n.measureQueue.schedule(e,{read(){if(d.value!==e)return null;let n=L(t);return n?{width:n.offsetWidth,height:n.offsetHeight}:null},write(e){let{width:t,height:n}=e;b(t,n)},done(){a=null}})}function b(e,t){let r=~~(n.direction.value===`vertical`?t:e);r&&f.value!==r&&x(r)}function x(t){var i,a;ee(d.value),n.vscrollData.sizes[d.value]=t,L(e).emitResize&&((a=(i=L(r))?.onResize)==null||a.call(i,d.value))}function C(){if(!n.resizeObserver||s)return;let e=L(t);e&&(n.resizeObserver.observe(e),e.$_vs_id=d.value,e.$_vs_onResize=T,s=!0)}function w(){if(!n.resizeObserver||!s)return;let e=L(t);e&&(n.resizeObserver.unobserve(e),e.$_vs_onResize=void 0,s=!1)}function T(e,t,n){d.value===e&&b(t,n)}Ka(L(e).sizeDependencies),l.push(W(()=>L(e).watchData,()=>{h()})),l.push(W(()=>L(e).sizeDependencies,e=>{Ka(e),n.resizeObserver||_()},{deep:!0})),l.push(W(d,(e,r)=>{let a=L(t);a&&(a.$_vs_id=e),ee(r),v(e,p.value);let o=n.vscrollData.sizes[e];if(!o){i=e,_();return}ee(e),s&&(n.vscrollData.sizes[e]=o)})),l.push(W(p,e=>{v(d.value,e),n.resizeObserver?e?C():w():e&&o===d.value&&m()})),h();function E(){p.value&&(m(),C())}function D(){n.measureQueue.cancel(d.value),u(),w(),ee(d.value);let e=L(t);e&&(e.$_vs_id=void 0,e.$_vs_onResize=void 0),c&&=(c(),null);for(let e of l)e();l.length=0}return{id:d,size:f,finalActive:p,updateSize:m,mount:E,unmount:D}}function Ja(){let e=new Map;return{on(t,n){let r=e.get(t);r||(r=new Set,e.set(t,r)),r.add(n)},off(t,n){let r=e.get(t);r&&(r.delete(n),r.size||e.delete(t))},emit(t,n){let r=e.get(t);if(r!=null&&r.size)for(let e of[...r])e(n)},clear(){e.clear()}}}function Ya(e={}){let t=e.queueFlush??(e=>R(e)),n=e.overflowQueueFlush??t,r=Math.max(1,e.maxTasksPerFlush??1/0),i=!1,a=new Map;function o(){i||!a.size||(i=!0,t(s))}function s(){if(i=!1,!a.size)return;let e=[];for(let[t,n]of a)if(e.push(n),a.delete(t),e.length>=r)break;let t=e.map(e=>({task:e,value:e.read()}));for(let e of t)e.value!=null&&e.task.write(e.value),e.task.done();a.size&&(n(s),i=!0)}function c(e,t){a.set(e,t),o()}function l(e){a.delete(e)}return{schedule:c,cancel:l}}function Xa(e){for(let t=0;t<e.length;t++)e[t]}function Za(e){return e.item}function Qa(e,t){return t.get(e)||e}function $a(e){let t={};return Object.defineProperties(t,{item:{enumerable:!0,get:()=>e.item.item},itemWithSize:{enumerable:!0,get:()=>e.item},size:{enumerable:!0,get:()=>e.item.size},position:{enumerable:!0,get:()=>e.position},offset:{enumerable:!0,get:()=>e.offset},id:{enumerable:!0,get:()=>e.nr.id},index:{enumerable:!0,get:()=>e.nr.index},used:{enumerable:!0,get:()=>e.nr.used},key:{enumerable:!0,get:()=>e.nr.key},type:{enumerable:!0,get:()=>e.nr.type}}),t}function eo(e){return e._vs_styleStamp??0}function to(e){return e._vs_visibilityStamp??0}var no=[`position`,`top`,`left`,`transform`,`willChange`,`visibility`,`pointerEvents`,`display`];function ro(e){let t={};for(let n of no)t[n]=e.style[n];return t}function io(e,t){for(let n of no)e.style[n]=t[n]??``}
2function ao(e,t,n){e.style[t]!==n&&(e.style[t]=n)}function oo(e,t,n,r,i,a,o){if(!(`view`in t)){io(e,a);return}let s=e.tagName===`TR`,c=la(i?{direction:n,flowMode:!0}:{direction:n,disableTransform:r||s}),l=ua(Qa(t.view,o),{direction:n,mode:c});ao(e,`position`,String(l.position??``)),ao(e,`top`,String(l.top??``)),ao(e,`left`,String(l.left??``)),ao(e,`transform`,c===`flow`||s?``:String(l.transform??``)),ao(e,`willChange`,String(l.willChange??``)),ao(e,`visibility`,String(l.visibility??``)),ao(e,`pointerEvents`,String(l.pointerEvents??``)),ao(e,`display`,String(l.display??``))}function so(e,t){return`view`in e&&!t}function co(e,t,n,r,i,a){if(`view`in e){let t=Qa(e.view,a);return{active:t.nr.used&&i,id:Za(t).id}}return{active:t.active&&i,id:mo(t.item,n,r,t.index)}}function lo(e,t,n,r){if(!(`view`in e))return{direction:t,flowMode:n,legacy:!0};if(n)return{direction:t,flowMode:n,legacy:!1,visibilityStamp:to(Qa(e.view,r))};let i=Qa(e.view,r);return{active:i.nr.used,direction:t,flowMode:n,legacy:!1,styleStamp:eo(i),position:so(e,n)?i.position:null,offset:so(e,n)?i.offset:null}}function uo(e,t){if(`view`in e){let n=Qa(e.view,t);return{item:Za(n).item,active:n.nr.used,index:n.nr.index,watchData:e.watchData??!1,emitResize:e.emitResize??!1,sizeDependencies:e.sizeDependencies??null,onResize:e.onResize}}return{watchData:!1,emitResize:!1,sizeDependencies:null,...e}}function fo(e,t){e.item!==t.item&&(e.item=t.item),e.active!==t.active&&(e.active=t.active),e.index!==t.index&&(e.index=t.index),e.watchData!==t.watchData&&(e.watchData=t.watchData),e.sizeDependencies!==t.sizeDependencies&&(e.sizeDependencies=t.sizeDependencies),e.emitResize!==t.emitResize&&(e.emitResize=t.emitResize),e.onResize!==t.onResize&&(e.onResize=t.onResize)}function po(e,t){e.onResize!==t.onResize&&(e.onResize=t.onResize)}function mo(e,t,n,r){return n?r??null:ta(e,r,t)}function ho(e){let t=da(e),n=0,r={},i=Ja(),a=!1,o,s=!1,c=[],l=null,u=null,d=null,f=new Set,p=[],m=Ce({active:!0,sizes:{},keyField:b().keyField,simpleArray:!1}),h=S(()=>{let e=L(b().items);return Xa(e),e}),g=S(()=>b().direction??`vertical`),_=S(()=>L(b().el)),ee=S(()=>L(b().before)),v=S(()=>L(b().after)),y=new Map;function b(){return t.value}let x=S(()=>L(b().enabled??!0));function C(e){let t=-1;return t=requestAnimationFrame(()=>{f.delete(t),e()}),f.add(t),t}function w(){for(let e of f)cancelAnimationFrame(e);f.clear()}let T=Ya({maxTasksPerFlush:6,overflowQueueFlush(e){C(e)}});typeof ResizeObserver<`u`&&(o=new ResizeObserver(e=>{C(()=>{if(Array.isArray(e)){for(let t of e)if(t.target&&t.target.$_vs_onResize){let e,n;if(t.borderBoxSize){let r=t.borderBoxSize[0];e=r.inlineSize,n=r.blockSize}else e=t.contentRect.width,n=t.contentRect.height;t.target.$_vs_onResize(t.target.$_vs_id,e,n)}}})}));let E={vscrollData:m,resizeObserver:o,measureQueue:T,direction:g,undefinedMap:r,undefinedSizeCount:{get value(){return n},set value(e){n=e}},onVscrollUpdate(e){let t=t=>{e(t)};return i.on(`vscroll:update`,t),()=>i.off(`vscroll:update`,t)}};oe(`vscrollData`,m),oe(`vscrollParent`,{get $_undefinedSizes(){return n},set $_undefinedSizes(e){n=e},get $_undefinedMap(){return r},set $_undefinedMap(e){r=e},$_events:i,direction:g}),oe(`vscrollResizeObserver`,o),oe(`vscrollMeasurementContext`,E),oe(`vscrollAnchorRegistry`,{delete(e){y.delete(e)},set(e,t){y.set(e,t)}});let O=S(()=>{let e=h.value;return e.length>0&&typeof e[0]!=`object`}),k=we(0),ne=we(p);be(()=>{if(!x.value)return;let e=u||!_.value?null:ie(_.value.scrollTop,p),t=b().keyField,n=O.value,i=m.sizes,a=h.value,o=a.length,s=p.length!==o,c=p.length!==o;for(let e=0;e<o;e++){let o=a[e],l=n?e:ea(o,e,t),u=i[l];typeof u>`u`&&!r[l]&&(u=0);let d=p[e];if(!d){d=ce({item:o,id:l,size:u}),p[e]=d,s=!0,c=!0;continue}d.item!==o&&(d.item=o,s=!0,c=!0),d.id!==l&&(d.id=l,s=!0,c=!0),d.size!==u&&(d.size=u,s=!0)}p.length!==o&&(p.length=o,s=!0,c=!0),s&&(l=e,k.value++,c?ne.value=p.slice():D(ne))});function ie(e,t){if(!t.length)return null;let n=b().minItemSize,r=0,i=0,a=t[0].id;for(let o of t){let t=o.size||n,s=r+t;if(i=r,a=o.id,e<s)return{key:o.id,offset:e-r};r=s}return{key:a,offset:Math.max(0,e-i)}}let A=b();c=ra(h.value,O.value?null:A.keyField),A.cache&&(m.sizes=oa(A.cache,h.value,O.value?null:A.keyField));function j(){var e,t;
2(t=(e=b()).onHidden)==null||t.call(e)}function M(e,t,n,r){var i,a;(a=(i=b()).onUpdate)==null||a.call(i,e,t,n,r)}let N=Ce({get enabled(){return x.value},get items(){return ne.value},get keyField(){return`id`},get direction(){return g.value},get itemSize(){return null},get gridItems(){},get itemSecondarySize(){},get minItemSize(){return b().minItemSize},get sizeField(){return`size`},get typeField(){return`type`},get buffer(){return b().buffer??200},get pageMode(){return b().pageMode??!1},get shift(){return!1},get cache(){return b().cache},get prerender(){return b().prerender??0},get emitUpdate(){return b().emitUpdate??!1},get disableTransform(){return b().disableTransform??!1},get flowMode(){return b().flowMode??!1},get hiddenPosition(){return b().hiddenPosition},get updateInterval(){return b().updateInterval??0},get el(){return _.value},get before(){return ee.value},get after(){return v.value},get scrollParent(){return b().scrollParent},get onResize(){return P},get onVisible(){return F},get onHidden(){return j},get onUpdate(){return M}});function P(){var e,t;xe(),(t=(e=b()).onResize)==null||t.call(e)}function F(){var e,t;i.emit(`vscroll:update`,{force:!1}),(t=(e=b()).onVisible)==null||t.call(e)}let I=Ua(N),z=new WeakMap,B=new WeakMap,se=we([]);function le(e){let t=b();return ua(Qa(e,z),{direction:g.value,mode:la({direction:g.value,disableTransform:t.disableTransform??!1,flowMode:t.flowMode??!1})})}function ue(e){let t=B.get(e);return t||(t=$a(e),B.set(e,t),z.set(t,e)),t}be(()=>{let e=I.pool.value,t=e.length,n=se.value,r=n.length!==t;for(let i=0;i<t;i++){let t=ue(e[i]);n[i]!==t&&(n[i]=t,r=!0)}n.length!==t&&(n.length=t,r=!0),r&&D(se)});let H=S(()=>I.visiblePool.value.map(ue)),de=new WeakMap;function fe(){d!=null&&(cancelAnimationFrame(d),f.delete(d),d=null)}function U(){fe(),u=null}function pe(){u==null||d!=null||(d=C(()=>{d=null,_e()}))}function me(){let e=_.value;if(!e)return null;let t=e.getBoundingClientRect(),n=null;for(let[e,r]of y.entries()){if(!r.active||getComputedStyle(e).visibility===`hidden`)continue;let i=e.getBoundingClientRect();if(i.bottom<=t.top||i.top>=t.bottom)continue;let a=Math.max(i.top,t.top)-t.top;(!n||a<n.score)&&(n={key:r.id,offset:i.top-t.top,score:a})}return n}function he(e){let t=_.value;if(!t){U();return}let n=t.scrollTop,r=Math.min(I.findItemIndex(n),e.length-1),i=e[r];if(i==null){U();return}let a=me();u={logicalKey:i,logicalOffset:n-I.getItemOffset(r),pendingKeys:new Set,stableFrames:0,visualKey:a?.key??null,visualOffset:a?.offset??0}}function ge(e){let t=_.value;return!t||Math.abs(t.scrollTop-e)<.5?!1:(s=!0,t.scrollTop=e,I.updateVisibleItems(!0),t.dispatchEvent(new Event(`scroll`)),C(()=>{s=!1}),!0)}function _e(){let e=u,t=_.value;if(!e||!t)return;let n=ne.value.findIndex(t=>t.id===e.logicalKey);if(n===-1){U();return}let r=!1;if(r=ge(I.getItemOffset(n)+e.logicalOffset)||r,!r&&e.visualKey!=null)for(let[n,i]of y.entries()){if(!i.active||i.id!==e.visualKey||getComputedStyle(n).visibility===`hidden`)continue;let a=n.getBoundingClientRect().top-t.getBoundingClientRect().top-e.visualOffset;r=ge(t.scrollTop+a)||r;break}let i=!0;for(let t of e.pendingKeys)if(!(typeof m.sizes[t]==`number`&&m.sizes[t]>0)){i=!1;break}if(!r&&i){if(e.stableFrames++,e.stableFrames>=2){U();return}}else e.stableFrames=0;pe()}function ve(e,t,n,r){let i=V(),a=we(t),o=ce({...n}),s=ce({onResize:n.onResize}),c=we(e),l=i.run(()=>(W(()=>co(a.value,o,b().keyField,m.simpleArray,m.active,z),()=>{let e=c.value;if(e){let t=co(a.value,o,b().keyField,m.simpleArray,m.active,z),n=t.id;n!=null&&y.set(e,{active:t.active,id:n})}},{immediate:!0}),W(()=>lo(a.value,g.value,b().flowMode??!1,z),()=>{let e=c.value;e&&oo(e,a.value,g.value,b().disableTransform??!1,b().flowMode??!1,r,z)},{immediate:!0}),qa(o,c,E,s)));l.mount(),de.set(e,{binding:a,scope:i,options:o,callbacks:s,el:c,controller:l,restoreStyles:r})}let ye={mounted(e,t){if(!x.value)return;let n=ro(e);ve(e,t.value,uo(t.value,z),n)},updated(e,t){if(!x.value)return;let n=de.get(e),r=uo(t.value,z);if(!n){let n=ro(e);ve(e,t.value,r,n);return}let i=n.binding.value!==t.value;i&&(n.binding.value=t.value),fo(n.options,r),po(n.callbacks,r),n.el.value!==e&&(n.el.value=e),i&&oo(e,t.value,g.value,b().disableTransform??!1,b().flowMode??!1,n.restoreStyles,z)},unmounted(e){let t=de.get(e);t&&(t.controller.unmount(),t.scope.stop(),io(e,t.restoreStyles),y.delete(e),de.delete(e))}};function xe(e=!1){x.value&&((e||O.value)&&(m.sizes={}),i.emit(`vscroll:update`,{force:!0}))}function Se(e,t){I.scrollToItem(e,t)}function G(e){let t=b();return m.sizes=oa(e,h.value,O.value?null:t.keyField),I.restoreCache(e)}function Te(e,t){let n=b(),r=t??h.value.indexOf(e),i=O.value?r:ta(e,r>=0?r:t,n.keyField);return m.sizes[i]||0}function Ee(){if(!x.value)return;let e=_.value;e&&(a||(a=!0,R(()=>{e.scrollTop=e.scrollHeight+5e3;let t=()=>{e.scrollTop=e.scrollHeight+5e3,C(()=>{e.scrollTop=e.scrollHeight+5e3,n===0?a=!1:C(t)})};C(t)})))}function De(){u&&!s&&U()}return W(()=>h.value.slice(),(e,t)=>{if(!x.value)return;let n=b(),r=O.value?null:n.keyField,i=ra(e,r);if(n.shift){let e=t?ra(t,r):c,n=sa(e,i);n>0?(he(e),u&&(u.pendingKeys=new Set(i.slice(0,n)),u.stableFrames=0,R(()=>{u&&_e()}))):U()}else U();c=i,xe()},{flush:`sync`}),W(()=>b().cache,e=>{x.value&&e&&G(e)}),W(()=>b().keyField,e=>{x.value&&(m.keyField=e,c=ra(h.value,O.value?null:e),U(),xe(!0))},{flush:`sync`}),W(O,e=>{m.simpleArray=e},{immediate:!0}),W(()=>b().direction,()=>{x.value&&(U(),xe(!0))}),W(_,(e,t)=>{t?.removeEventListener(`scroll`,De),x.value&&e?.addEventListener(`scroll`,De)},{immediate:!0}),W(x,e=>{let t=_.value;e?(t?.addEventListener(`scroll`,De),xe()):(t?.removeEventListener(`scroll`,De),fe(),w(),U())}),W(k,()=>{if(!x.value)return;let e=_.value;if(!e)return;
2if(u){_e();return}let t=l;if(l=null,!t)return;let n=ne.value.findIndex(e=>e.id===t.key);if(n===-1)return;let r=I.getItemOffset(n)+t.offset;r-e.scrollTop!==0&&(e.scrollTop=r)},{flush:`post`}),te(()=>{m.active=!0}),re(()=>{m.active=!1}),ae(()=>{var e;fe(),w(),(e=_.value)==null||e.removeEventListener(`scroll`,De),i.clear()}),{vscrollData:m,itemsWithSize:ne,resizeObserver:o,measurementContext:E,vDynamicScrollerItem:ye,...I,pool:se,visiblePool:H,simpleArray:O,forceUpdate:xe,scrollToItem:Se,restoreCache:G,getItemSize:Te,getViewStyle:le,scrollToBottom:Ee,onScrollerResize:P,onScrollerVisible:F}}var go=new WeakMap;function _o(e){return typeof e==`function`?{callback:e,observer:null,intersection:void 0,visible:null}:{callback:e.callback,observer:null,intersection:e.intersection,visible:null}}function vo(e,t){yo(e);let n=_o(t.value);if(go.set(e,n),typeof IntersectionObserver>`u`){let t=e.getBoundingClientRect();n.visible=!0,n.callback(!0,{boundingClientRect:t});return}n.observer=new IntersectionObserver(e=>{let t=e[0],r=!!(t!=null&&t.isIntersecting);n.visible!==null&&n.visible===r||(n.visible=r,n.callback(r,t))},n.intersection),n.observer.observe(e)}function yo(e){let t=go.get(e);t!=null&&t.observer&&(t.observer.disconnect(),t.observer=null)}var bo={mounted(e,t){vo(e,t)},updated(e,t){t.value!==t.oldValue&&vo(e,t)},unmounted(e){yo(e),go.delete(e)}},xo=j({__name:`ItemView`,props:{view:{},itemTag:{}},setup(e){let t=e;return(e,n)=>(B(),I(_e(t.itemTag),{class:`vue-recycle-scroller__item-view`},{default:he(()=>[ue(e.$slots,`default`,{item:t.view.item,index:t.view.nr.index,active:t.view.nr.used})]),_:3}))}}),So=((e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n})(j({__name:`ResizeObserver`,emits:[`notify`],setup(e,{emit:t}){let n=t,r=Ee(),i=null,a=null;function o(){n(`notify`)}return ne(()=>{let e=r.value?.parentElement;if(e){if(typeof ResizeObserver<`u`){i=new ResizeObserver(()=>{o()}),i.observe(e);return}a=()=>o(),window.addEventListener(`resize`,a)}}),z(()=>{i&&=(i.disconnect(),null),a&&=(window.removeEventListener(`resize`,a),null)}),(e,t)=>(B(),w(`div`,{ref_key:`el`,ref:r,class:`vue-recycle-scroller__resize-observer`,"aria-hidden":`true`},null,512))}}),[[`__scopeId`,`data-v-08cc04ab`]]),Co=j({__name:`RecycleScroller`,props:{items:{},keyField:{default:`id`},direction:{default:`vertical`},listTag:{default:`div`},itemTag:{default:`div`},itemSize:{default:null},gridItems:{default:void 0},itemSecondarySize:{default:void 0},minItemSize:{default:null},sizeField:{default:`size`},typeField:{default:`type`},buffer:{default:200},pageMode:{type:Boolean,default:!1},scrollParent:{default:void 0},shift:{type:Boolean,default:!1},cache:{default:void 0},prerender:{default:0},emitUpdate:{type:Boolean,default:!1},disableTransform:{type:Boolean,default:!1},flowMode:{type:Boolean,default:!1},hiddenPosition:{default:void 0},updateInterval:{default:0},itemsLimit:{default:void 0},skipHover:{type:Boolean,default:!1},enabled:{type:Boolean,default:!0},listClass:{default:``},itemClass:{default:``}},emits:[`resize`,`visible`,`hidden`,`update`,`scrollStart`,`scrollEnd`],setup(e,{expose:t,emit:n}){let r=e,i=n,a=bo,o=Ee(),s=Ee(),c=Ee(),l=Ee(null),u=C(r,`items`),{pool:d,visiblePool:f,totalSize:p,startSpacerSize:m,endSpacerSize:h,ready:g,scrollToItem:_,scrollToPosition:ee,getScroll:v,findItemIndex:b,getItemOffset:D,getItemSize:O,getViewStyle:te,cacheSnapshot:k,restoreCache:ne,updateVisibleItems:re,handleResize:ie,handleVisibilityChange:A}=Ua(S(()=>({items:u,el:o,before:s,after:c,keyField:r.keyField,direction:r.direction,itemSize:r.itemSize,gridItems:r.gridItems,itemSecondarySize:r.itemSecondarySize,minItemSize:r.minItemSize,sizeField:r.sizeField,typeField:r.typeField,buffer:r.buffer,pageMode:r.pageMode,scrollParent:r.scrollParent,shift:r.shift,cache:r.cache,prerender:r.prerender,emitUpdate:r.emitUpdate,disableTransform:r.disableTransform,flowMode:r.flowMode,hiddenPosition:r.hiddenPosition,updateInterval:r.updateInterval,itemsLimit:r.itemsLimit,enabled:r.enabled,onResize:()=>i(`resize`),onVisible:()=>i(`visible`),onHidden:()=>i(`hidden`),onUpdate:(e,t,n,a)=>{i(`update`,e,t,n,a),n<=0&&i(`scrollStart`),a>=r.items.length-1&&i(`scrollEnd`)}}))),j=S(()=>la({direction:r.direction,disableTransform:r.disableTransform,flowMode:r.flowMode,gridItems:r.gridItems})===`flow`),M=S(()=>({height:`${m.value}px`})),N=S(()=>({height:`${h.value}px`}));function P(e){l.value=e}function F(){l.value=null}let L=S(()=>{let e={[r.direction===`vertical`?`minHeight`:`minWidth`]:`${p.value}px`},t=ka(r.itemSize);if(r.gridItems&&t!=null){let n=(r.itemSecondarySize||t)*r.gridItems;e[r.direction===`vertical`?`minWidth`:`minHeight`]=`${n}px`}return e});return t({el:o,visiblePool:f,startSpacerSize:m,endSpacerSize:h,scrollToItem:_,scrollToPosition:ee,getScroll:v,findItemIndex:b,getItemOffset:D,getItemSize:O,cacheSnapshot:k,restoreCache:ne,updateVisibleItems:re}),(e,t)=>xe((B(),w(`div`,{ref_key:`el`,ref:o,class:pe([`vue-recycle-scroller`,{"grid-mode":r.gridItems,"flow-mode":j.value,ready:T(g),"page-mode":r.pageMode,[`direction-${r.direction}`]:!0}])},[e.$slots.before?(B(),w(`div`,{key:0,ref_key:`before`,ref:s,class:`vue-recycle-scroller__slot`},[ue(e.$slots,`before`)],512)):E(``,!0),(B(),I(_e(r.listTag),{style:U(L.value),
2class:pe([`vue-recycle-scroller__item-wrapper`,r.listClass])},{default:he(()=>[j.value&&T(m)>0?(B(),I(_e(r.itemTag),{key:0,"aria-hidden":`true`,class:`vue-recycle-scroller__item-spacer`,style:U(M.value)},null,8,[`style`])):E(``,!0),(B(!0),w(Se,null,y(T(d),t=>(B(),I(xo,x({key:t.nr.id,view:t,"item-tag":r.itemTag,style:T(g)?T(te)(t):null,class:[`vue-recycle-scroller__item-view`,[r.itemClass,{hover:!r.skipHover&&l.value===t.nr.key}]]},ye(r.skipHover?{}:{mouseenter:()=>{P(t.nr.key)},mouseleave:()=>{F()}})),{default:he(t=>[ue(e.$slots,`default`,x({ref_for:!0},t))]),_:2},1040,[`view`,`item-tag`,`style`,`class`]))),128)),j.value&&T(h)>0?(B(),I(_e(r.itemTag),{key:1,"aria-hidden":`true`,class:`vue-recycle-scroller__item-spacer`,style:U(N.value)},null,8,[`style`])):E(``,!0),r.items.length===0?ue(e.$slots,`empty`,{key:2}):E(``,!0)]),_:3},8,[`style`,`class`])),e.$slots.after?(B(),w(`div`,{key:1,ref_key:`after`,ref:c,class:`vue-recycle-scroller__slot`},[ue(e.$slots,`after`)],512)):E(``,!0),fe(So,{onNotify:T(ie)},null,8,[`onNotify`])],2)),[[T(a),T(A)]])}}),wo=j({inheritAttrs:!1,__name:`DynamicScroller`,props:{items:{},keyField:{default:`id`},direction:{default:`vertical`},listTag:{default:`div`},itemTag:{default:`div`},minItemSize:{},shift:{type:Boolean,default:!1},cache:{default:void 0},disableTransform:{type:Boolean,default:!1},flowMode:{type:Boolean,default:!1},hiddenPosition:{default:void 0},enabled:{type:Boolean,default:!0},pageMode:{type:Boolean,default:!1},scrollParent:{default:void 0}},emits:[`resize`,`visible`],setup(e,{expose:t,emit:n}){let r=e,i=n,a=Ee(),o=C(r,`items`),s=S(()=>{let e=a.value?.el;return e&&typeof e==`object`&&`value`in e?e.value:e}),{itemsWithSize:c,forceUpdate:l,startSpacerSize:u,endSpacerSize:d,scrollToItem:f,scrollToPosition:p,findItemIndex:m,getItemOffset:h,getItemSize:g,cacheSnapshot:_,restoreCache:ee,scrollToBottom:v,onScrollerResize:y,onScrollerVisible:w}=ho(S(()=>({items:o,keyField:r.keyField,direction:r.direction,minItemSize:r.minItemSize,shift:r.shift,cache:r.cache,flowMode:r.flowMode,hiddenPosition:r.hiddenPosition,enabled:r.enabled,pageMode:r.pageMode,scrollParent:r.scrollParent,el:s.value,onResize:()=>i(`resize`),onVisible:()=>i(`visible`)})));function E(e,t,n){return{item:e.item,index:t,active:n,itemWithSize:e}}return t({startSpacerSize:u,endSpacerSize:d,scrollToItem:f,scrollToPosition:p,findItemIndex:m,getItemOffset:h,scrollToBottom:v,getItemSize:g,cacheSnapshot:_,restoreCache:ee,forceUpdate:l}),(e,t)=>(B(),I(Co,x({ref_key:`scroller`,ref:a,items:T(c),"min-item-size":r.minItemSize,direction:r.direction,cache:r.cache,"disable-transform":r.disableTransform,"flow-mode":r.flowMode,"hidden-position":r.hiddenPosition,enabled:r.enabled,"page-mode":r.pageMode,"scroll-parent":r.scrollParent,"key-field":`id`,"list-tag":r.listTag,"item-tag":r.itemTag},e.$attrs,{onResize:T(y),onVisible:T(w)}),M({default:he(({item:t,index:n,active:r})=>[ue(e.$slots,`default`,b(O(E(t,n,r))))]),empty:he(()=>[ue(e.$slots,`empty`)]),_:2},[e.$slots.before?{name:`before`,fn:he(()=>[ue(e.$slots,`before`)]),key:`0`}:void 0,e.$slots.after?{name:`after`,fn:he(()=>[ue(e.$slots,`after`)]),key:`1`}:void 0]),1040,[`items`,`min-item-size`,`direction`,`cache`,`disable-transform`,`flow-mode`,`hidden-position`,`enabled`,`page-mode`,`scroll-parent`,`list-tag`,`item-tag`,`onResize`,`onVisible`]))}});function To(e,t,n){let r=P(`vscrollMeasurementContext`),i=P(`vscrollAnchorRegistry`,null),a=S(()=>{let n=L(e).el;return L(t??n)}),o={onResize:t=>(n?.onResize??L(e).onResize)?.(t)},s=S(()=>L(L(e).enabled??!0)),c=qa(e,a,r,o),l=!1;function u(){l||=(c.mount(),!0)}function d(){l&&=(c.unmount(),!1)}return ne(()=>{s.value&&u()}),W(s,e=>{if(e)u();else{let e=a.value;i&&e&&i.delete(e),d()}}),i&&W([c.id,c.finalActive,a,s],([e,t,n,r],[a,o,s])=>{s&&s!==n&&i.delete(s),r&&n&&i.set(n,{active:t,id:e})},{immediate:!0}),z(()=>{let e=a.value;i&&e&&i.delete(e),d()}),{id:c.id,size:c.size,finalActive:c.finalActive,updateSize:c.updateSize}}var Eo=j({__name:`DynamicScrollerItem`,props:{item:{},watchData:{type:Boolean,default:!1},active:{type:Boolean},index:{default:void 0},sizeDependencies:{default:null},emitResize:{type:Boolean,default:!1},enabled:{type:Boolean,default:!0},tag:{default:`div`}},emits:[`resize`],setup(e,{emit:t}){let n=e,r=t,i=Ee();return To(n,i,{onResize:e=>r(`resize`,e)}),(e,t)=>(B(),I(_e(n.tag),{ref_key:`el`,ref:i},{default:he(()=>[ue(e.$slots,`default`)]),_:3},512))}}),Do=a(e=>{e.vueApp.component(`RecycleScroller`,Co),e.vueApp.component(`DynamicScroller`,wo),e.vueApp.component(`DynamicScrollerItem`,Eo)}),Oo=Object.freeze([404,406,410]),ko=[/Failed to fetch dynamically imported module|Importing a module script failed|error loading dynamically imported module|Loading chunk|Loading CSS chunk/i,/undefined is not an object \(evaluating '[^']*\.default'\)/i,/Cannot read propert(?:y|ies) of undefined \(reading 'default'\)/i,/Cannot read property 'default' of undefined/i];function Ao(e){return Oo.includes(e?.statusCode)}function jo(e){if(!e)return!1;let t=e.message||e.statusMessage||String(e);return e.name===`ChunkLoadError`||ko.some(e=>e.test(t))}var Mo=a(e=>{let t=`nuxt-chunk-reload`;function n(){let e=window.location.href,n=sessionStorage.getItem(t),r;try{r=n?JSON.parse(n):{}}catch{r={}}let i=r[e]||0;return i<1?(r[e]=i+1,sessionStorage.setItem(t,JSON.stringify(r)),window.location.reload(),!0):(delete r[e],sessionStorage.setItem(t,JSON.stringify(r)),sessionStorage.setItem(`nuxt-chunk-error-detected`,`true`),!1)}window.addEventListener(`vite:preloadError`,e=>{n()&&e.preventDefault()}),window.addEventListener(`unhandledrejection`,e=>{let t=e.reason;jo(t)&&(e.preventDefault(),n())}),e.hook(`vue:error`,e=>{jo(e)&&n()}),e.hook(`app:error`,e=>{jo(e)&&n()}),e.hook(`page:finish`,()=>{let e=window.location.href,n=sessionStorage.getItem(t);if(n)try{let r=JSON.parse(n);r[e]&&(delete r[e],sessionStorage.setItem(t,JSON.stringify(r)))}catch{sessionStorage.removeItem(t)}})}),No={beforeMount:(e,t)=>
2{e.clickOutsideEvent=n=>{e==n.target||e.contains(n.target)||t.value()},document.addEventListener(`click`,e.clickOutsideEvent)},unmounted:e=>{document.removeEventListener(`click`,e.clickOutsideEvent)}},Po=a(e=>{e.vueApp.directive(`click-outside`,No)}),J=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,Y=globalThis,Fo=`10.74.0`;function Io(){return Lo(Y),Y}function Lo(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||`10.74.0`,t[Fo]=t[`10.74.0`]||{}}function Ro(e,t,n=Y){let r=n.__SENTRY__=n.__SENTRY__||{},i=r[Fo]=r[`10.74.0`]||{};return i[e]||(i[e]=t())}var zo=[`debug`,`info`,`warn`,`error`,`log`,`assert`,`trace`],Bo=`Sentry Logger `,Vo={};function Ho(e){if(!(`console`in Y))return e();let t=Y.console,n={},r=Object.keys(Vo);r.forEach(e=>{let r=Vo[e];n[e]=t[e],t[e]=r});try{return e()}finally{r.forEach(e=>{t[e]=n[e]})}}function Uo(){Xo().enabled=!0}function Wo(){Xo().enabled=!1}function Go(){return Xo().enabled}function Ko(...e){Yo(`log`,...e)}function qo(...e){Yo(`warn`,...e)}function Jo(...e){Yo(`error`,...e)}function Yo(e,...t){J&&Go()&&Ho(()=>{Y.console[e](`${Bo}[${e}]:`,...t)})}function Xo(){return J?Ro(`loggerSettings`,()=>({enabled:!1})):{enabled:!1}}var X={enable:Uo,disable:Wo,isEnabled:Go,log:Ko,warn:qo,error:Jo},Zo=50,Qo=/\(error: (.*)\)/,$o=/captureMessage|captureException/;function es(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0,r=0)=>{let i=[],a=e.split(` 3`);for(let e=n;e<a.length;e++){let n=a[e];n.length>1024&&(n=n.slice(0,1024));let o=Qo.test(n)?n.replace(Qo,`$1`):n;if(!o.includes(`Error: `)){for(let e of t){let t=e(o);if(t){i.push(t);break}}if(i.length>=Zo+r)break}}return ns(i.slice(r))}}function ts(e){return Array.isArray(e)?es(...e):e}function ns(e){if(!e.length)return[];let t=Array.from(e);return/sentryWrapped/.test(rs(t).function||``)&&t.pop(),t.reverse(),$o.test(rs(t).function||``)&&(t.pop(),$o.test(rs(t).function||``)&&t.pop()),t.slice(0,Zo).map(e=>({...e,filename:e.filename||rs(t).filename,function:e.function||`?`}))}function rs(e){return e[e.length-1]||{}}var is=`<anonymous>`;function as(e){try{return!e||typeof e!=`function`?is:e.name||is}catch{return is}}function os(e){let t=e.exception;if(t){let e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch{return}}}var ss={},cs={};function ls(e,t){return ss[e]=ss[e]||[],ss[e].push(t),()=>{let n=ss[e];if(n){let e=n.indexOf(t);e!==-1&&n.splice(e,1)}}}function us(e,t){if(!cs[e]){cs[e]=!0;try{t()}catch(t){J&&X.error(`Error while instrumenting ${e}`,t)}}}function ds(e,t){let n=e&&ss[e];if(n)for(let r of n)try{r(t)}catch(t){J&&X.error(`Error while triggering instrumentation handler. 4Type: ${e} 5Name: ${as(r)} 6Error:`,t)}}var fs=null;function ps(e){let t=`error`;ls(t,e),us(t,ms)}function ms(){fs=Y.onerror,Y.onerror=function(e,t,n,r,i){return ds(`error`,{column:r,error:i,line:n,msg:e,url:t}),fs?fs.apply(this,arguments):!1},Y.onerror.__SENTRY_INSTRUMENTED__=!0}var hs=null;function gs(e){let t=`unhandledrejection`;ls(t,e),us(t,_s)}function _s(){hs=Y.onunhandledrejection,Y.onunhandledrejection=function(e){return ds(`unhandledrejection`,e),!hs||hs.apply(this,arguments)},Y.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}var vs=Object.prototype.toString;function ys(e){switch(vs.call(e)){case`[object Error]`:case`[object Exception]`:case`[object DOMException]`:case`[object WebAssembly.Exception]`:return!0;default:return Ms(e,Error)}}function bs(e,t){return vs.call(e)===`[object ${t}]`}function xs(e){return bs(e,`ErrorEvent`)}function Ss(e){return bs(e,`DOMError`)}function Cs(e){return bs(e,`DOMException`)}function ws(e){return bs(e,`String`)}function Ts(e){return typeof e==`object`&&!!e&&`__sentry_template_string__`in e&&`__sentry_template_values__`in e}function Es(e){return e===null||Ts(e)||typeof e!=`object`&&typeof e!=`function`}function Ds(e){return bs(e,`Object`)}function Os(e){return typeof e==`object`&&!!e}function ks(e){return typeof Event<`u`&&Ms(e,Event)}function As(e){return bs(e,`RegExp`)}function js(e){return!!(e?.then&&typeof e.then==`function`)}function Ms(e,t){try{return e instanceof t}catch{return!1}}function Ns(e){return typeof Request<`u`&&Ms(e,Request)}function Ps(e,t,n){if(!(t in e))return;let r=e[t];if(typeof r!=`function`)return;let i=n(r);typeof i==`function`&&Is(i,r);try{e[t]=i}catch{J&&X.log(`Failed to replace method "${t}" in object`,e)}}function Fs(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{J&&X.log(`Failed to add non-enumerable property "${String(t)}" to object`,e)}}function Is(e,t){try{e.prototype=t.prototype=t.prototype||{},Fs(e,`__sentry_original__`,t)}catch{}}function Ls(e){return e.__sentry_original__}function Rs(e){if(ys(e))return{message:e.message,name:e.name,stack:e.stack,...zs(e)};
6if(ks(e)){let{type:t,target:n,currentTarget:r,detail:i}=e;return{type:t,target:n,currentTarget:r,...i?{detail:i}:{},...zs(e)}}return e}function zs(e){return Os(e)?Object.fromEntries(Object.entries(e)):{}}function Bs(e){let t=Object.keys(Rs(e));return t.sort(),t[0]?t.join(`, `):`[object has no keys]`}var Vs;function Hs(e){if(Vs!==void 0)return Vs?Vs(e):e();let t=Symbol.for(`__SENTRY_SAFE_RANDOM_ID_WRAPPER__`),n=Y;return t in n&&typeof n[t]==`function`?(Vs=n[t],Vs(e)):(Vs=null,e())}function Us(){return Hs(()=>Math.random())}function Ws(){return Hs(()=>Date.now())}var Gs=Symbol.for(`sentry.skipNormalization`),Ks=Symbol.for(`sentry.overrideNormalizationDepth`);function qs(e){return!!e[Gs]}function Js(e){let t=e[Ks];return typeof t==`number`?t:void 0}var Ys;function Xs(e){Ys=e}function Zs(e,t=100,n=1/0){try{return $s(``,e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function Qs(e,t=3,n=102400){let r=Zs(e,t);return rc(r)>n?Qs(e,t-1,n):r}function $s(e,t,n=1/0,r=1/0,i=ic()){let[a,o]=i;if(t==null||[`boolean`,`string`].includes(typeof t)||typeof t==`number`&&Number.isFinite(t))return t;let s=ec(e,t);if(!s.startsWith(`[object `))return s;if(qs(t))return t;let c=Js(t),l=c===void 0?n:c;if(l===0)return s.replace(`object `,``);if(a(t))return`[Circular ~]`;let u=t;if(u&&typeof u.toJSON==`function`)try{return $s(``,u.toJSON(),l-1,r,i)}catch{}let d=Array.isArray(t)?[]:{},f=0,p=Rs(t);for(let e in p){if(!Object.prototype.hasOwnProperty.call(p,e))continue;if(f>=r){d[e]=`[MaxProperties ~]`;break}let t=p[e];d[e]=$s(e,t,l-1,r,i),f++}return o(t),d}function ec(e,t){try{if(Ys){let e=Ys(t);if(e)return e}return typeof global<`u`&&t===global?`[Global]`:typeof t==`number`&&!Number.isFinite(t)?`[${t}]`:typeof t==`function`?`[Function: ${as(t)}]`:typeof t==`symbol`?`[${String(t)}]`:typeof t==`bigint`?`[BigInt: ${String(t)}]`:`[object ${tc(t)}]`}catch(e){return`**non-serializable** (${e})`}}function tc(e){let t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:`null prototype`}function nc(e){return~-encodeURI(e).split(/%..|./).length}function rc(e){return nc(JSON.stringify(e))}function ic(){let e=new WeakSet;function t(t){return e.has(t)?!0:(e.add(t),!1)}function n(t){e.delete(t)}return[t,n]}function ac(e,t=0){return typeof e!=`string`||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function oc(e,t){if(!Array.isArray(e))return``;let n=[];for(let t=0;t<e.length;t++){let r=e[t];Es(r)?n.push(String(r)):r instanceof Error?n.push(r.message?`${r.name}: ${r.message}`:r.name):n.push(ec(void 0,r))}return n.join(t)}function sc(e,t,n=!1){return ws(e)?As(t)?t.test(e):ws(t)?n?e===t:e.includes(t):typeof t==`function`&&t(e):!1}function cc(e,t=[],n=!1){for(let r of t)if(sc(e,r,n))return!0;return!1}function lc(){let e=Y;return e.crypto||e.msCrypto}var uc;function dc(){return Us()*16}function fc(e=lc()){try{if(e?.randomUUID)return Hs(()=>e.randomUUID()).replace(/-/g,``)}catch{}return uc||=`10000000100040008000100000000000`,uc.replace(/[018]/g,e=>(e^(dc()&15)>>e/4).toString(16))}function pc(e){return e.exception?.values?.[0]}function mc(e){let{message:t,event_id:n}=e;if(t)return t;let r=pc(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||`<unknown>`:n||`<unknown>`}function hc(e,t,n){let r=e.exception=e.exception||{},i=r.values=r.values||[],a=i[0]=i[0]||{};a.value||=t||``,a.type||=n||`Error`}function gc(e,t){let n=pc(e);if(!n)return;let r={type:`generic`,handled:!0},i=n.mechanism;if(n.mechanism={...r,...i,...t},t&&`data`in t){let e={...i?.data,...t.data};n.mechanism.data=e}}function _c(e){if(vc(e))return!0;try{Fs(e,`__sentry_captured__`,!0)}catch{}return!1}function vc(e){try{return e.__sentry_captured__}catch{}}var yc=1e3;function bc(){return Ws()/yc}function xc(){let{performance:e}=Y;if(!e?.now||!e.timeOrigin)return bc;let t=e.timeOrigin;return()=>(t+Hs(()=>e.now()))/yc}var Sc;function Cc(){return(Sc??=xc())()}function wc(e){let t=Cc(),n={sid:fc(),init:!0,timestamp:t,started:t,duration:0,status:`ok`,errors:0,ignoreDuration:!1,toJSON:()=>Dc(n)};return e&&Tc(n,e),n}function Tc(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||Cc(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:fc()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started==`number`&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration==`number`)e.duration=t.duration;else{let 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),t
6ypeof t.errors==`number`&&(e.errors=t.errors),t.status&&(e.status=t.status)}function Ec(e,t){let n={};t?n={status:t}:e.status===`ok`&&(n={status:`exited`}),Tc(e,n)}function Dc(e){return{sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did==`number`||typeof e.did==`string`?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}function Oc(e,t,n=2){if(!t||typeof t!=`object`||n<=0)return t;if(e&&Object.keys(t).length===0)return e;let r={...e};for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=Oc(r[e],t[e],n-1));return r}function kc(){return fc()}function Ac(){return fc().substring(16)}function jc(e){try{let t=Y.WeakRef;if(typeof t==`function`)return new t(e)}catch{}return e}function Mc(e){if(e){if(typeof e==`object`&&`deref`in e&&typeof e.deref==`function`)try{return e.deref()}catch{return}return e}}var Nc=`_sentrySpan`;function Pc(e,t){t?Fs(e,Nc,jc(t)):delete e[Nc]}function Fc(e){return Mc(e[Nc])}var Ic=100,Lc=class e{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:kc(),sampleRand:Us()}}clone(){let t=new e;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._attributes={...this._attributes},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,t._conversationId=this._conversationId,Pc(t,Fc(this)),t}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&&Tc(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 t===null?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(t){if(!t)return this;let n=typeof t==`function`?t(this):t,{tags:r,attributes:i,extra:a,user:o,contexts:s,level:c,fingerprint:l=[],propagationContext:u,conversationId:d}=(n instanceof e?n.getScopeData():Ds(n)?t:void 0)||{};return this._tags={...this._tags,...r},this._attributes={...this._attributes,...i},this._extra={...this._extra,...a},this._contexts={...this._contexts,...s},o&&Object.keys(o).length&&(this._user=o),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,Pc(this,void 0),this._attachments=[],this.setPropagationContext({traceId:kc(),sampleRand:Us()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let n=typeof t==`number`?t:Ic;if(n<=0)return this;let r={timestamp:bc(),...e,message:e.message?ac(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:Fc(this),conversationId:this._conversationId}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=Oc(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){let n=t?.event_id||fc();if(!this._client)return J&&X.warn(`No client configured on scope - will not capture exception!`),n;let r=Error(`Sentry syntheticException`);return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){let r=n?.event_id||fc();if(!this._client)return J&&X.warn(`No client configured on scope - will not capture message!`),r;let i=n?.syntheticException??Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r},this),r}captureEvent(e,t){let n=e.event_id||t?.event_id||fc();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(J&&X.warn(`No client configured on scope - will not capture event!`),n)}_notifyScopeListeners(){this._notifyingListeners||=(this._notifyingListeners=!0,this._scopeListeners.forEac
6h(e=>{e(this)}),!1)}};function Rc(){return Ro(`defaultCurrentScope`,()=>new Lc)}function zc(){return Ro(`defaultIsolationScope`,()=>new Lc)}var Bc=e=>e instanceof Promise&&!e[Vc],Vc=Symbol(`chained PromiseLike`),Hc=(e,t,n)=>{let r=e.then(e=>(t(e),e),e=>{throw n(e),e});return Bc(r)&&Bc(e)?r:Uc(e,r)},Uc=(e,t)=>{if(!t)return e;let n=!1;for(let r in e){if(r in t)continue;n=!0;let i=e[r];typeof i==`function`?Object.defineProperty(t,r,{value:(...t)=>i.apply(e,t),enumerable:!0,configurable:!0,writable:!0}):t[r]=i}return n&&Object.assign(t,{[Vc]:!0}),t},Wc=class{constructor(e,t){let n;n=e||new Lc;let r;r=t||new Lc,this._stack=[{scope:n}],this._isolationScope=r}withScope(e){let t=this._pushScope(),n;try{n=e(t)}catch(e){throw this._popScope(),e}return js(n)?Hc(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(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}};function Gc(){let e=Lo(Io());return e.stack=e.stack||new Wc(Rc(),zc())}function Kc(e){return Gc().withScope(e)}function qc(e,t){let n=Gc();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function Jc(e){return Gc().withScope(()=>e(Gc().getIsolationScope()))}function Yc(){return{withIsolationScope:Jc,withScope:Kc,withSetScope:qc,withSetIsolationScope:(e,t)=>Jc(t),getCurrentScope:()=>Gc().getScope(),getIsolationScope:()=>Gc().getIsolationScope()}}function Xc(e){let t=Lo(e);return t.acs?t.acs:Yc()}function Zc(e){return typeof e==`object`&&!!e&&!Array.isArray(e)&&Object.keys(e).includes(`value`)}function Qc(e,t){let{value:n,unit:r}=Zc(e)?e:{value:e,unit:void 0},i=el(n),a=r&&typeof r==`string`?{unit:r}:{};if(i)return{...i,...a};if(!t||t===`skip-undefined`&&n===void 0)return;let o=``;try{o=JSON.stringify(n)??``}catch{}return{value:o,type:`string`,...a}}function $c(e,t=!1){let n={};for(let[r,i]of Object.entries(e??{})){let e=Qc(i,t);e&&(n[r]=e)}return n}function el(e){if(Array.isArray(e))return{value:e,type:`array`};let t=typeof e==`string`?`string`:typeof e==`boolean`?`boolean`:typeof e==`number`&&!Number.isNaN(e)?Number.isInteger(e)?`integer`:`double`:null;if(t)return{value:e,type:t}}var tl;function nl(){return tl?.()}function rl(){return Xc(Io()).getCurrentScope()}function il(){return Xc(Io()).getIsolationScope()}function al(){return Ro(`globalScope`,()=>new Lc)}function ol(...e){let t=Xc(Io());if(e.length===2){let[n,r]=e;return n?t.withSetScope(n,r):t.withScope(r)}return t.withScope(e[0])}function Z(){return rl().getClient()}function sl(e){let t=nl();if(t)return{trace_id:t.traceId,span_id:t.spanId};let{traceId:n,parentSpanId:r,propagationSpanId:i}=e.getPropagationContext(),a={trace_id:n,span_id:i||Ac()};return r&&(a.parent_span_id=r),a}var cl=`sentry.source`,ll=`sentry.sample_rate`,ul=`sentry.op`,dl=`sentry.origin`,fl=`sentry.measurement_unit`,pl=`sentry.measurement_value`,ml=`sentry.custom_span_name`,hl=`sentry.profile_id`,gl=`sentry.exclusive_time`,_l=`gen_ai.conversation.id`,vl=`_sentryScope`,yl=`_sentryIsolationScope`,bl=Symbol.for(`sentry.otelSourceInference`),xl=Symbol.for(`sentry.otelSourceExplicitlySet`),Sl=Symbol.for(`sentry.tracerProviderSpan`);function Cl(e,t,n){e&&(Fs(e,yl,jc(n)),Fs(e,vl,t))}function wl(e){let t=e;return{scope:t[vl],isolationScope:Mc(t[yl])}}function Tl(e){return e[bl]===!0}function El(e){Fs(e,xl,!0)}function Dl(e){return e[Sl]===!0}function Ol(e){let t=kl(e);if(!t)return;let n=Object.entries(t).reduce((e,[t,n])=>{if(t.startsWith(`sentry-`)){let r=t.slice(7);e[r]=n}return e},{});if(Object.keys(n).length>0)return n}function kl(e){if(!(!e||!ws(e)&&!Array.isArray(e)))return Array.isArray(e)?e.reduce((e,t)=>{let n=Al(t);return Object.entries(n).forEach(([t,n])=>{e[t]=n}),e},{}):Al(e)}function Al(e){return e.split(`,`).map(e=>{let t=e.indexOf(`=`);return t===-1?[]:[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),{})}var jl=/^o(\d+)\./,Ml=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function Nl(e){return e===`http`||e===`https`}function Pl(e,t=!1){let{host:n,path:r,pass:i,port:a,projectId:o,protocol:s,publicKey:c}=e;return`${s}://${c}${t&&i?`:${i}`:``}@${n}${a?`:${a}`:``}/${r&&`${r}/`}${o}`}function Fl(e){let t=Ml.exec(e);if(!t){Ho(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}let[n,r,i=``,a=``,o=``,s=``]=t.slice(1),c=``,l=s,u=l.split(`/`);if(u.length>1&&(c=u.slice(0,-1).join(`/`),l=u.pop()),l){let e=l.match(/^\d+/);e&&(l=e[0])}return Il({host:a,pass:i,path:c,projectId:l,port:o,protocol:n,publicKey:r})}function Il(e){return{protocol:e.protocol,publicKey:e.publicKey||``,pass:e.pass||``,host:e.host,port:e.port||``,path:e.path||``,projectId:e.projectId}}function Ll(e){if(!J)return!0;let{port:t,projectId:n,protocol:r}=e;return[`protocol`,`publicKey`,`host`,`projectId`].find(t=>!e[t]&&(X.error(`Invalid Sentry Dsn: ${t} missing`),!0))?!1:n.match(/^\d+$/)?Nl(r)?t&&isNaN(parseInt(t,10))?(X.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(X.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(X.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function Rl(e){return e.match(jl)?.[1]}function zl(e){let t=e.getOptions(),{host:n}=e.getDsn()||{},r;return t.orgId?r=String(t.orgId):n&&(r=Rl(n)),r}function Bl(e){let t=typeof e==`string`?Fl(e):Il(e);if(!(!t||!Ll(t)))return t}function Vl(e){if(typeof e==`boolean`)return Number(e);let t=typeof e==`string`?parseFloat(e):e;if(!(typeof t!=`number`||isNaN(t)||t<0||t>1))return t}var Hl=!1;function Ul(e){let{spanId:t,traceId:n}=e.spanContext(),{data:r,op:i,parent_span_id:a,status:o,origin:s,links:c}=Yl(e);return{parent_span_id:a,span_id:t,trace_id:n,data:r,op:i,status:o,origin:s,links:c}}function Wl(e){let{spanId:t,traceId:n,isRemote:r}=e.spanContext(),i=r?t:Yl(e).parent_span_id,a=wl(e).scope;return{parent_span_id:i,span_id:r?a?.getPropagationContext().propagationSpanId||Ac():t,trace_id:n}}function Gl(e){if(e&&e.length>0)return e.map(({context:{spanId:e,traceId:t,traceFlags:n,...r},attributes:i})=>({span_id:e,trace_id:t,sampled:n===1,attributes:i,...r}))}function Kl(e){if(e?.length)return e.map(({context:{spanId:e,traceId:t,traceFlags:n},attributes:r})=>({span_id:e,trace_id:t,sampled:n===1,attributes:r}))}function ql(e){return typeof e==`number`?Jl(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?Jl(e.getTime()):Cc()}function Jl(e){return e>9999999999?e/1e3:e}function Yl(e){if($l(e))return e.getSpanJSON();let{spanId:t,traceId:n}=e.spanContext();if(Ql(e)){let{attributes:r,startTime:i,name:a,endTime:o,status:s,links:c}=e;return{span_id:t,trace_id:n,data:r,description:a,parent_span_id:Xl(e),start_timestamp:ql(i),timestamp:ql(o)||void 0,status:tu(s),op:r[ul],origin:r[dl],links:Gl(c)}}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function Xl(e){return`parentSpanId`in e?e.parentSpanId:`parentSpanContext`in e?e.parentSpanContext?.spanId:void 0}function Zl(e){return{...e,attributes:$c(e.attributes),links:e.links?.map(e=>({...e,attributes:$c(e.attributes)}))}}function Ql(e){let t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function $l(e){return typeof e.getSpanJSON==`function`}function eu(e){let{traceFlags:t}=e.spanContext();return t===1}function tu(e){if(!(!e||e.code===0))return e.code===1?`ok`:e.message||`internal_error`}function nu(e){return!e||e.code===1||e.code===0||e.message===`cancelled`?`ok`:`error`}function ru(e,t){let n=nu(t)===`error`?t?.message:void 0;return{...n&&{"sentry.status.message":n},...e}}var iu=`_sentryChildSpans`,au=`_sentryRootSpan`;function ou(e,t){let n=e[au]||e;Fs(t,au,n),eu(e)&&(!e.isRecording()&&!n.isRecording()||(e[iu]?e[iu].add(t):Fs(e,iu,new Set([t]))))}function su(e){let t=new Set;function n(e){if(!t.has(e)&&eu(e)){t.add(e);let r=e[iu]?Array.from(e[iu]):[];for(let e of r)n(e)}}return n(e),Array.from(t)}var cu=lu;function lu(e){return e[au]||e}function uu(){let e=Xc(Io());return e.getActiveSpan?e.getActiveSpan():Fc(rl())}function du(){Hl||=(Ho(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),!0)}function fu(e){if(typeof __SENTRY_TRACING__==`boolean`&&!__SENTRY_TRACING__)return!1;let t=e||Z()?.getOptions();return!!t&&(t.tracesSampleRate!=null||!!t.tracesSampler)}function pu(e){X.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function mu(e,t){if(!t?.length)return!1;
6for(let n of t){if(_u(n)){if(e.description&&sc(e.description,n))return J&&pu(e),!0;continue}let t=!!n.attributes&&Object.keys(n.attributes).length>0;if(!n.name&&!n.op&&!t)continue;let r=!n.name||e.description&&sc(e.description,n.name),i=!n.op||e.op&&sc(e.op,n.op),a=!n.attributes||Object.entries(n.attributes).every(([t,n])=>hu(e.attributes?.[t],n));if(r&&i&&a)return J&&pu(e),!0}return!1}function hu(e,t){return typeof e==`string`&&(typeof t==`string`||t instanceof RegExp)?sc(e,t):Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e===t}function gu(e,t){let n=t.parent_span_id,r=t.span_id;if(n)for(let t of e)t.parent_span_id===r&&(t.parent_span_id=n)}function _u(e){return typeof e==`string`||e instanceof RegExp}var vu=Symbol.for(`sentry.nonRecordingSpan`),yu=class{constructor(e={}){this._traceId=e.traceId||kc(),this._spanId=e.spanId||Ac(),this.dropReason=e.dropReason,Fs(this,vu,!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 bu(e){return!!e&&e[vu]===!0}var xu=`production`,Su=`_frozenDsc`;function Cu(e,t){Fs(e,Su,t)}function wu(e,t){let n=t.getOptions(),{publicKey:r}=t.getDsn()||{},i={environment:n.environment||`production`,release:n.release,public_key:r,trace_id:e,org_id:zl(t)};return t.emit(`createDsc`,i),i}function Tu(e,t){let n=t.getPropagationContext();return n.dsc||wu(n.traceId,e)}function Eu(e){let t=Z();if(!t)return{};let n=cu(e),r=Yl(n),i=r.data,a=n.spanContext().traceState,o=a?.get(`sentry.sample_rate`)??i[`sentry.sample_rate`]??i[`sentry.previous_trace_sample_rate`];function s(e){return(typeof o==`number`||typeof o==`string`)&&(e.sample_rate=`${o}`),e}let c=n[Su];if(c)return s(c);let l=bu(n),u=l&&n.dropReason===`ignored`;if(l&&(!fu(t.getOptions())||u)){let e=wl(n).scope;if(e){let n={...Tu(t,e)};return u&&(n.sampled=`false`),s(n)}}let d=a?.get(`sentry.dsc`),f=d&&Ol(d);if(f)return s(f);let p=wu(e.spanContext().traceId,t),m=i[`sentry.source`]??i[`sentry.segment.name.source`],h=r.description;return m!==`url`&&h&&(p.transaction=h),fu()&&(p.sampled=String(eu(n)),p.sample_rand=a?.get(`sentry.sample_rand`)??wl(n).scope?.getPropagationContext().sampleRand.toString()),s(p),t.emit(`createDsc`,p,n),p}function Du(e){return!!e&&typeof e==`function`&&`_streamed`in e&&!!e._streamed}function Ou(e,t=[]){return[e,t]}function ku(e,t){let[n,r]=e;return[n,[...r,t]]}function Au(e,t){let n=e[1];for(let e of n){let n=e[0].type;if(t(e,n))return!0}return!1}function ju(e,t){return Au(e,(e,n)=>t.includes(n))}function Mu(e){let t=Lo(Y);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function Nu(e){let[t,n]=e,r=JSON.stringify(t);function i(e){typeof r==`string`?r=typeof e==`string`?r+e:[Mu(r),e]:r.push(typeof e==`string`?Mu(e):e)}for(let e of n){let[t,n]=e;if(i(` 7${JSON.stringify(t)} 8`),typeof n==`string`||n instanceof Uint8Array)i(n);else{let e;try{e=JSON.stringify(n)}catch{e=JSON.stringify(Zs(n))}i(e)}}return typeof r==`string`?r:Pu(r)}function Pu(e){let t=e.reduce((e,t)=>e+t.length,0),n=new Uint8Array(t),r=0;for(let t of e)n.set(t,r),r+=t.length;return n}function Fu(e){return[{type:`span`},e]}function Iu(e){let t=typeof e.data==`string`?Mu(e.data):e.data;return[{type:`attachment`,length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}var Lu={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 Ru(e){return e in Lu}function zu(e){return Ru(e)?Lu[e]:e}function Bu(e){if(!e?.sdk)return;let{name:t,version:n}=e.sdk;return{name:t,version:n}}function Vu(e,t,n,r){let i=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date(Ws()).toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:Pl(r)},...i&&{trace:i}}}function Hu(e,t){if(!t)return e;let n=e.sdk||{};return 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}function Uu(e,t,n,r){let i=Bu(n);return Ou({sent_at:new Date(Ws()).toISOString(),...i&&{sdk:i},...!!r&&t&&{dsn:Pl(t)}
8},[`aggregates`in e?[{type:`sessions`},e]:[{type:`session`},e.toJSON()]])}function Wu(e,t,n,r){let i=Bu(n),a=e.type&&e.type!==`replay_event`?e.type:`event`;Hu(e,n?.sdk);let o=Vu(e,i,r,t);return delete e.sdkProcessingMetadata,Ou(o,[[{type:a},e]])}function Gu(e,t){function n(e){return!!e.trace_id&&!!e.public_key}let r=Eu(e[0]),i=t?.getDsn(),a=t?.getOptions().tunnel,o={sent_at:new Date(Ws()).toISOString(),...n(r)&&{trace:r},...!!a&&i&&{dsn:Pl(i)}},{beforeSendSpan:s,ignoreSpans:c}=t?.getOptions()||{},l=c?.length?e.filter(e=>{let t=Yl(e);return!mu({description:t.description,op:t.op,attributes:t.data},c)}):e,u=e.length-l.length;u&&t?.recordDroppedEvent(`before_send`,`span`,u);let d=s?e=>{let t=Yl(e);return(Du(s)?t:s(t))||(du(),t)}:Yl,f=[];for(let e of l){let t=d(e);t&&f.push(Fu(t))}return Ou(o,f)}function Ku(e){if(!J)return;let{description:t=`< unknown name >`,op:n=`< unknown op >`,parent_span_id:r}=Yl(e),{spanId:i}=e.spanContext(),a=eu(e),o=cu(e),s=o===e,c=`[Tracing] Starting ${a?`sampled`:`unsampled`} ${s?`root `:``}span`,l=[`op: ${n}`,`name: ${t}`,`ID: ${i}`];if(r&&l.push(`parent ID: ${r}`),!s){let{op:e,description:t}=Yl(o);l.push(`root ID: ${o.spanContext().spanId}`),e&&l.push(`root op: ${e}`),t&&l.push(`root description: ${t}`)}X.log(`${c} 9 ${l.join(` 10 `)}`)}function qu(e){if(!J)return;let{description:t=`< unknown name >`,op:n=`< unknown op >`}=Yl(e),{spanId:r}=e.spanContext(),i=`[Tracing] Finishing "${n}" ${cu(e)===e?`root `:``}span "${t}" with ID ${r}`;X.log(i)}function Ju(e){if(!e||e.length===0)return;let t={};return e.forEach(e=>{let n=e.attributes||{},r=n[fl],i=n[pl];typeof r==`string`&&typeof i==`number`&&(t[e.name]={value:i,unit:r})}),t}function Yu(){return Lo(Io()).segmentSpanCaptureStrategy}function Xu(e){return e.getOptions().traceLifecycle===`stream`}var Zu=1e3,Qu=class{constructor(e={}){this._traceId=e.traceId||kc(),this._spanId=e.spanId||Ac(),this._startTime=e.startTimestamp||Cc(),this._links=e.links,this._attributes={},this.setAttributes({[dl]:`manual`,[ul]: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(){let{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:+!!n}}setAttribute(e,t){return this._frozen?this:(t===void 0?delete this._attributes[e]:this._attributes[e]=t,e===`sentry.source`&&t!==void 0&&Tl(this)&&El(this),this)}setAttributes(e){return Object.keys(e).forEach(t=>this.setAttribute(t,e[t])),this}updateStartTime(e){this._frozen||(this._startTime=ql(e))}setStatus(e){return this._frozen||(this._status=e),this}updateName(e){return this._frozen?this:(this._name=e,Tl(this)||this.setAttribute(cl,`custom`),this)}end(e){if(this._endTime){this._frozen=Dl(this);return}this._endTime=ql(e),qu(this),this._onSpanEnded(),this._frozen=Dl(this)}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[ul],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:tu(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[dl],profile_id:this._attributes[hl],exclusive_time:this._attributes[gl],measurements:Ju(this._events),is_segment:this._isStandaloneSpan&&cu(this)===this||void 0,segment_id:this._isStandaloneSpan?cu(this).spanContext().spanId:void 0,links:Gl(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===cu(this),status:nu(this._status),attributes:ru(this._attributes,this._status),links:Kl(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,n){if(this._frozen)return this;J&&X.log(`[Tracing] Adding an event to span:`,e);let r=$u(t)?t:n||Cc(),i=$u(t)?{}:t||{},a={name:e,time:ql(r),attributes:i};return this._events.push(a),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let e=Z();e&&(e.emit(`spanEnd`,this),this._isStandaloneSpan||e.emit(`afterSpanEnd`,this));let t=cu(this),n=this._isStandaloneSpan||this===t;if(this._isStandaloneSpan){this._sampled?nd(Gu([this],e)):(J&&X.log(`[Tracing] Discarding standalone span because its trace was not chosen to be sampled.`),e&&e.recordDroppedEvent(`sample_rate`,`span`));return}if(!n){let e=Yu();if(e){let n=wl(this).scope||rl();e.onChildSpanEnded(this,t,e=>this._convertSpanToTransaction(e),n)}return}if(e&&Xu(e)){e.emit(`afterSegmentSpanEnd`,this);return}let r=wl(this).scope||rl(),i=Yu();if(i)i.onSegmentSpanEnded(e=>this._convertSpanToTransaction(e),r);else{let e=this._convertSpanToTransaction();e&&r.captureEvent(e)}}_convertSpanToTransaction(e={}){if(!ed(Yl(this)))return;this._name||=(J&&X.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),`<unlabeled transaction>`);let{scope:t,isolationScope:n}=wl(this),r=t?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(this._sampled!==!0)return;e.onSpanCaptured?.(this);let i=[];for(let t of su(this)){if(t===this||td(t)||e.isSpanAlreadyCaptured?.(t))continue;let n=Yl(t);ed(n)&&(e.onSpanCaptured?.(t),i.push(n))}let a=this._attributes[cl];delete this._attributes[ml];let o=!1;
10i.forEach(e=>{delete e.data[ml],e.op?.startsWith(`gen_ai.`)&&(o=!0)});let s={contexts:{trace:Ul(this)},spans:i.length>Zu?i.sort((e,t)=>e.start_timestamp-t.start_timestamp).slice(0,Zu):i,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:`transaction`,sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:n,dynamicSamplingContext:Eu(this),hasGenAiSpans:o},request:r,...a&&{transaction_info:{source:a}}},c=Ju(this._events);return c&&Object.keys(c).length&&(J&&X.log(`[Measurements] Adding measurements to transaction event`,JSON.stringify(c,void 0,2)),s.measurements=c),s}};function $u(e){return e&&typeof e==`number`||e instanceof Date||Array.isArray(e)}function ed(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function td(e){return e instanceof Qu&&e.isStandaloneSpan()}function nd(e){let t=Z();if(!t)return;let n=e[1];if(!n||n.length===0){t.recordDroppedEvent(`before_send`,`span`);return}t.sendEnvelope(e)}function rd(e,t,n){if(!fu(e))return[!1];let r,i;typeof e.tracesSampler==`function`?(i=e.tracesSampler({...t,inheritOrSampleWith:e=>typeof t.parentSampleRate==`number`?t.parentSampleRate:typeof t.parentSampled==`boolean`?Number(t.parentSampled):e}),r=!0):t.parentSampled===void 0?e.tracesSampleRate!==void 0&&(i=e.tracesSampleRate,r=!0):i=t.parentSampled;let a=Vl(i);if(a===void 0)return J&&X.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(i)} of type ${JSON.stringify(typeof i)}.`),[!1];if(!a)return J&&X.log(`[Tracing] Discarding transaction because ${typeof e.tracesSampler==`function`?`tracesSampler returned 0 or false`:`a negative sampling decision was inherited or tracesSampleRate is set to 0`}`),[!1,a,r];let o=n<a;return o||J&&X.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(i)})`),[o,a,r]}var id=`__SENTRY_SUPPRESS_TRACING__`;function ad(e){let t=fd();return t.startInactiveSpan?t.startInactiveSpan(e):od(e)}function od(e){let t=dd(e),{forceTransaction:n,parentSpan:r}=e;return(e.scope?t=>ol(e.scope,t):r===void 0?e=>e():e=>sd(r,e))(()=>{let i=rl(),a=hd(i,r),o=Z();return e.onlyIfParent&&!a?ld(i,o):ud({parentSpan:a,spanArguments:t,forceTransaction:n,scope:i})})}function sd(e,t){let n=fd();return n.withActiveSpan?n.withActiveSpan(e,t):ol(n=>(Pc(n,e||void 0),t(n)))}function cd(e=rl()){let t=fd();return t.isTracingSuppressed?t.isTracingSuppressed(e):e.getScopeData().sdkProcessingMetadata[id]===!0}function ld(e,t){t?.recordDroppedEvent(`no_parent_span`,`span`);let n=new yu({traceId:e.getPropagationContext().traceId});return Cl(n,e,il()),n}function ud({parentSpan:e,spanArguments:t,forceTransaction:n,scope:r}){let i=il();if(!fu()){let t=r.getPropagationContext(),a=new yu({traceId:e?e.spanContext().traceId:t.traceId});return e&&!n&&ou(e,a),Cl(a,r,i),a}let a=Z();if(gd(a,t)){cd(r)||a?.recordDroppedEvent(`ignored`,`span`);let t=new yu({dropReason:`ignored`,traceId:e?.spanContext().traceId??r.getPropagationContext().traceId});return e&&!n&&ou(e,t),Cl(t,r,i),t}let o;if(e&&!n)o=md(e,r,t,i),ou(e,o);else if(e){let n=Eu(e),{traceId:a,spanId:s}=e.spanContext(),c=eu(e);o=pd({traceId:a,parentSpanId:s,...t},r,i,c),Cu(o,n)}else{let{traceId:e,dsc:n,parentSpanId:a,sampled:s}=r.getPropagationContext();o=pd({traceId:e,parentSpanId:a,...t},r,i,s),n&&Cu(o,n)}return Ku(o),o}function dd(e){let t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){let n={...t};return n.startTimestamp=ql(e.startTime),delete n.startTime,n}return t}function fd(){return Xc(Io())}function pd(e,t,n,r){let i=Z(),a=i?.getOptions()||{},{name:o=``}=e,s={spanAttributes:{...e.attributes},spanName:o,parentSampled:r};i?.emit(`beforeSampling`,s,{decision:!1});let c=s.parentSampled??r,l=s.spanAttributes,u=t.getPropagationContext(),d=cd(t),[f,p,m]=d?[!1]:rd(a,{name:o,parentSampled:c,attributes:l,normalizedRequest:n.getScopeData().sdkProcessingMetadata.normalizedRequest,parentSampleRate:Vl(u.dsc?.sample_rate)}
10,u.sampleRand),h=new Qu({...e,attributes:{[cl]:`custom`,[ll]:p!==void 0&&m?p:void 0,...l},sampled:f});return!f&&i&&!d&&(J&&X.log(`[Tracing] Discarding root span because its trace was not chosen to be sampled.`),i.recordDroppedEvent(`sample_rate`,Xu(i)?`span`:`transaction`)),Cl(h,t,n),i&&i.emit(`spanStart`,h),h}function md(e,t,n,r){let{spanId:i,traceId:a}=e.spanContext(),o=cd(t),s=!o&&eu(e),c=s?new Qu({...n,parentSpanId:i,traceId:a,sampled:s}):new yu({traceId:a});ou(e,c),Cl(c,t,r);let l=Z();return l?(Xu(l)&&bu(c)&&(bu(e)&&e.dropReason?(c.dropReason=e.dropReason,l.recordDroppedEvent(e.dropReason,`span`)):o||(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}function hd(e,t){if(t)return t;if(t===null)return;let n=Fc(e);if(!n)return;let r=Z();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?cu(n):n}function gd(e,t){let n=e?.getOptions().ignoreSpans;return!e||!Xu(e)||!n?.length?!1:mu({description:t.name||``,op:t.attributes?.[`sentry.op`]||t.op,attributes:t.attributes},n)}function _d(e,t){let{fingerprint:n,span:r,breadcrumbs:i,sdkProcessingMetadata:a}=t;xd(e,t),r&&wd(e,r),Td(e,n),Sd(e,i),Cd(e,a)}function vd(e,t){let{extra:n,tags:r,attributes:i,user:a,contexts:o,level:s,sdkProcessingMetadata:c,breadcrumbs:l,fingerprint:u,eventProcessors:d,attachments:f,propagationContext:p,transactionName:m,span:h}=t;yd(e,`extra`,n),yd(e,`tags`,r),yd(e,`attributes`,i),yd(e,`user`,a),yd(e,`contexts`,o),e.sdkProcessingMetadata=Oc(e.sdkProcessingMetadata,c,2),s&&(e.level=s),m&&(e.transactionName=m),h&&(e.span=h),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),u.length&&(e.fingerprint=[...e.fingerprint,...u]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),f.length&&(e.attachments=[...e.attachments,...f]),e.propagationContext={...e.propagationContext,...p}}function yd(e,t,n){e[t]=Oc(e[t],n,1)}function bd(e,t){let n=al().getScopeData();return e&&vd(n,e.getScopeData()),t&&vd(n,t.getScopeData()),n}function xd(e,t){let{extra:n,tags:r,user:i,contexts:a,level:o,transactionName:s}=t;Object.keys(n).length&&(e.extra={...n,...e.extra}),Object.keys(r).length&&(e.tags={...r,...e.tags}),Object.keys(i).length&&(e.user={...i,...e.user}),Object.keys(a).length&&(e.contexts={...a,...e.contexts}),o&&(e.level=o),s&&e.type!==`transaction`&&(e.transaction=s)}function Sd(e,t){let n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function Cd(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function wd(e,t){e.contexts={trace:Wl(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:Eu(t),...e.sdkProcessingMetadata};let n=Yl(cu(t)).description;n&&!e.transaction&&e.type===`transaction`&&(e.transaction=n)}function Td(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}var Ed=`user_agent.original`;function Dd(e,t){let n=e.attributes??={};Object.entries(t).forEach(([e,t])=>{t!=null&&!(e in n)&&(n[e]=t)})}var Od=0,kd=1,Ad=2;function jd(e){return new Nd(t=>{t(e)})}function Md(e){return new Nd((t,n)=>{n(e)})}var Nd=class e{constructor(e){this._state=Od,this._handlers=[],this._runExecutor(e)}then(t,n){return new e((e,r)=>{this._handlers.push([!1,n=>{if(!t)e(n);else try{e(t(n))}catch(e){r(e)}},t=>{if(!n)r(t);else try{e(n(t))}catch(e){r(e)}}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(t){return new e((e,n)=>{let r,i;return this.then(e=>{i=!1,r=e,t&&t()},e=>{i=!0,r=e,t&&t()}).then(()=>{if(i){n(r);return}e(r)})})}_executeHandlers(){if(this._state===Od)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||=(this._state===kd&&e[1](this._value),this._state===Ad&&e[2](this._value),!0)})}_runExecutor(e){let t=(e,t)=>{if(this._state===Od){if(js(t)){t.then(n,r);return}this._state=e,this._value=t,this._executeHandlers()}},n=e=>{t(kd,e)},r=e=>{t(Ad,e)};try{e(n,r)}catch(e){r(e)}}};function Pd(e,t,n,r=0){try{let i=Fd(t,n,e,r);return js(i)?i:jd(i)}catch(e){return Md(e)}}function Fd(e,t,n,r){let i=n[r];if(!e||!i)return e;let a=i({...e},t);return J&&a===null&&X.log(`Event processor "${i.id||`?`}" dropped event`),js(a)?a.then(e=>Fd(e,t,n,r+1)):Fd(a,t,n,r+1)}var Id,Ld,Rd,zd;function Bd(e){let t=Y._sentryDebugIds,n=Y._debugIds;if(!t&&!n)return{};let r=t?Object.keys(t):[],i=n?Object.keys(n):[];if(zd&&r.length===Ld&&i.length===Rd)return zd;
10Ld=r.length,Rd=i.length,zd={},Id||={};let a=(t,n)=>{for(let r of t){let t=n[r],i=Id?.[r];if(i&&zd&&t)zd[i[0]]=t,Id&&(Id[r]=[i[0],t]);else if(t){let n=e(r);for(let e=n.length-1;e>=0;e--){let i=n[e]?.filename;if(i&&zd&&Id){zd[i]=t,Id[r]=[i,t];break}}}}};return t&&a(r,t),n&&a(i,n),zd}function Vd(e,t,n,r,i,a){let{normalizeDepth:o=3,normalizeMaxBreadth:s=1e3}=e,c={...t,event_id:t.event_id||n.event_id||fc(),timestamp:t.timestamp||bc()},l=n.integrations||e.integrations.map(e=>e.name);Hd(c,e),Gd(c,l),i&&i.emit(`applyFrameMetadata`,t),t.type===void 0&&Ud(c,e.stackParser);let u=qd(r,n.captureContext);n.mechanism&&gc(c,n.mechanism);let d=i?i.getEventProcessors():[],f=bd(a,u),p=[...n.attachments||[],...f.attachments];p.length&&(n.attachments=p),_d(c,f);let m=[...d,...f.eventProcessors];return(n.data&&n.data.__sentry__===!0?jd(c):Pd(m,c,n)).then(e=>(e&&Wd(e),typeof o==`number`&&o>0?Kd(e,o,s):e))}function Hd(e,t){let{environment:n,release:r,dist:i,maxValueLength:a}=t;e.environment=e.environment||n||`production`,!e.release&&r&&(e.release=r),!e.dist&&i&&(e.dist=i);let o=e.request;o?.url&&a&&(o.url=ac(o.url,a)),a&&e.exception?.values?.forEach(e=>{e.value&&=ac(e.value,a)})}function Ud(e,t){let n=Bd(t);e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=n[e.filename])})})}function Wd(e){let 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)})}),Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let n=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{n.push({type:`sourcemap`,code_file:e,debug_id:t})})}function Gd(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function Kd(e,t,n){if(!e)return null;let r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:Zs(e.data,t,n)}}))},...e.user&&{user:Zs(e.user,t,n)},...e.contexts&&{contexts:Zs(e.contexts,t,n)},...e.extra&&{extra:Zs(e.extra,t,n)}};return e.contexts?.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=Zs(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(e=>({...e,...e.data&&{data:Zs(e.data,t,n)}}))),e.contexts?.flags&&r.contexts&&(r.contexts.flags=Zs(e.contexts.flags,3,n)),r}function qd(e,t){if(!t)return e;let n=e?e.clone():new Lc;return n.update(t),n}function Jd(e){if(e)return Yd(e)||Zd(e)?{captureContext:e}:e}function Yd(e){return e instanceof Lc||typeof e==`function`}var Xd=[`user`,`level`,`extra`,`contexts`,`tags`,`fingerprint`,`propagationContext`];function Zd(e){return Object.keys(e).some(e=>Xd.includes(e))}function Qd(e,t){return rl().captureException(e,Jd(t))}function $d(e,t){return rl().captureEvent(e,t)}function ef(e){let t=il(),{user:n}=bd(t,rl()),{userAgent:r}=Y.navigator||{},i=wc({user:n,...r&&{userAgent:r},...e}),a=t.getSession();return a?.status===`ok`&&Tc(a,{status:`exited`}),tf(),t.setSession(i),i}function tf(){let e=il(),t=rl().getSession()||e.getSession();t&&Ec(t),nf(),e.setSession()}function nf(){let e=il(),t=Z(),n=e.getSession();n&&t&&t.captureSession(n)}function rf(e=!1){if(e){tf();return}nf()}function af(e){return typeof e==`object`&&typeof e.unref==`function`&&e.unref(),e}function of(e){let t=e.protocol?`${e.protocol}:`:``,n=e.port?`:${e.port}`:``;return`${t}//${e.host}${n}${e.path?`/${e.path}`:``}/api/`}function sf(e){return`${of(e)}${e.projectId}/envelope/`}function cf(e,t){let n={sentry_version:`7`};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}function lf(e,t,n){return t||`${sf(e)}?${cf(e,n)}`}var uf=[];function df(e){let t={};return e.forEach(e=>{let{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)}),Object.values(t)}function ff(e){let t=e.defaultIntegrations||[],n=e.integrations;t.forEach(e=>{e.isDefaultInstance=!0});let r;if(Array.isArray(n))r=[...t,...n];else if(typeof n==`function`){let e=n(t);r=Array.isArray(e)?e:[e]}else r=t;return df(r)}function pf(e,t){let n={};return t.forEach(t=>{t?.beforeSetup&&t.beforeSetup(e)}),t.forEach(t=>{t&&hf(e,t,n)}),n}function mf(e,t){for(let n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function hf(e,t,n){if(n[t.name]){J&&X.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,!uf.includes(t.name)&&typeof t.setupOnce==`function`&&(t.setupOnce(),uf.pu
10sh(t.name)),t.setup&&typeof t.setup==`function`&&t.setup(e),typeof t.preprocessEvent==`function`){let n=t.preprocessEvent.bind(t);e.on(`preprocessEvent`,(t,r)=>n(t,r,e))}if(typeof t.processEvent==`function`){let n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}[`processSpan`,`processSegmentSpan`].forEach(n=>{let r=t[n];typeof r==`function`&&e.on(n,n=>r.call(t,n,e))}),J&&X.log(`Integration installed: ${t.name}`)}function gf(e){return e}function _f(){return typeof __SENTRY_BROWSER_BUNDLE__<`u`&&!!__SENTRY_BROWSER_BUNDLE__}function vf(){return`npm`}function yf(){return!_f()&&Object.prototype.toString.call(typeof process<`u`?process:0)===`[object process]`}function bf(){return typeof window<`u`&&(!yf()||xf())}function xf(){return Y.process?.type===`renderer`}function Sf(e,t){let n=t?`auto`:`never`;return[{type:`log`,item_count:e.length,content_type:`application/vnd.sentry.items.log+json`},{version:2,...bf()&&{ingest_settings:{infer_ip:n,infer_user_agent:n}},items:e}]}function Cf(e,t,n,r,i){let a={};return t?.sdk&&(a.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(a.dsn=Pl(r)),Ou(a,[Sf(e,i)])}function wf(e,t){let n=t??Tf(e)??[];if(n.length===0)return;let r=e.getOptions(),i=Cf(n,r._metadata,r.tunnel,e.getDsn(),e.getDataCollectionOptions().userInfo);Ef().set(e,[]),e.emit(`flushLogs`),e.sendEnvelope(i)}function Tf(e){return Ef().get(e)}function Ef(){return Ro(`clientToLogBufferMap`,()=>new WeakMap)}function Df(e,t){let n=t?`auto`:`never`;return[{type:`trace_metric`,item_count:e.length,content_type:`application/vnd.sentry.items.trace-metric+json`},{version:2,...bf()&&{ingest_settings:{infer_ip:n,infer_user_agent:n}},items:e}]}function Of(e,t,n,r,i){let a={};return t?.sdk&&(a.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(a.dsn=Pl(r)),Ou(a,[Df(e,i)])}function kf(e,t){let n=t??Af(e)??[];if(n.length===0)return;let r=e.getOptions(),i=Of(n,r._metadata,r.tunnel,e.getDsn(),e.getDataCollectionOptions().userInfo);jf().set(e,[]),e.emit(`flushMetrics`),e.sendEnvelope(i)}function Af(e){return jf().get(e)}function jf(){return Ro(`clientToMetricBufferMap`,()=>new WeakMap)}function Mf(e){return Zl({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||e.status===`ok`||e.status===`cancelled`?`ok`:`error`,is_segment:!1,attributes:{...e.data},links:e.links})}function Nf(e,t){if(e.type!==`transaction`||!e.spans?.length||!e.sdkProcessingMetadata?.hasGenAiSpans||t.getOptions().streamGenAiSpans===!1||Xu(t))return;let n=[],r=[];for(let t of e.spans)t.op?.startsWith(`gen_ai.`)?n.push(Mf(t)):r.push(t);if(n.length===0)return;e.spans=r;let i=t.getDataCollectionOptions().userInfo?`auto`:`never`;return[{type:`span`,item_count:n.length,content_type:`application/vnd.sentry.items.span.v2+json`},{version:2,...bf()&&{ingest_settings:{infer_ip:i,infer_user_agent:i}},items:n}]}var Pf=Symbol.for(`SentryBufferFullError`);function Ff(e=100){let t=new Set;function n(){return t.size<e}function r(e){t.delete(e)}function i(e){if(!n())return Md(Pf);let i=e();return t.add(i),i.then(()=>r(i),()=>r(i)),i}function a(e){if(!t.size)return jd(!0);let n=Promise.allSettled(Array.from(t)).then(()=>!0);if(!e)return n;let r=[n,new Promise(t=>af(setTimeout(()=>t(!1),e)))];return Promise.race(r)}return{get $(){return Array.from(t)},add:i,drain:a}}var If=6e4;function Lf(e,t=Ws()){let n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;let r=Date.parse(`${e}`);return isNaN(r)?If:r-t}function Rf(e,t){return e[t]||e.all||0}function zf(e,t,n=Ws()){return Rf(e,t)>n}function Bf(e,{statusCode:t,headers:n},r=Ws()){let i={...e},a=n?.[`x-sentry-rate-limits`],o=n?.[`retry-after`];if(a)for(let e of a.trim().split(`,`)){let[t,n,,,a]=e.split(`:`,5),o=parseInt(t,10),s=(isNaN(o)?60:o)*1e3;if(!n)i.all=r+s;else for(let e of n.split(`;`))e===`metric_bucket`?(!a||a.split(`;`).includes(`custom`))&&(i[e]=r+s):i[e]=r+s}else o?i.all=r+Lf(o,r):t===429&&(i.all=r+6e4);return i}function Vf(e,t,n=Ff(e.bufferSize||64)){let r={},i=e=>n.drain(e);function a(i){let a=[];if(Au(i,(t,n)=>{let i=zu(n);zf(r,i)?e.recordDroppedEvent(`ratelimit_backoff`,i):a.push(t)}),a.length===0)return Promise.resolve({});let o=Ou(i[0],a),s=t=>{if(ju(o,[`client_report`])){J&&X.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`);return}Au(o,(n,r)=>{e.recordDroppedEvent(t,zu(r))})};return n.add(()=>t({body:Nu(o)}).then(e=>e.statusCode===413?(J&&X.error(`Sentry responded with status code 413. Envelope was discarded due to exceeding size limits.`),s(`send_error`),e):(J&&e.statusCode!==void 0&&(e.statusCode<200||e.statusCode>=300)&&X.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=Bf(r,e),e),e=>{throw s(`network_error`),J&&X.error(`Encountered error running transport request:`,e),e})).then(e=>e,e=>
10{if(e===Pf)return J&&X.error(`Skipped sending event because buffer is full.`),s(`queue_overflow`),Promise.resolve({});throw e})}return{send:a,flush:i}}function Hf(e,t,n){let r=[{type:`client_report`},{timestamp:n||bc(),discarded_events:e}];return Ou(t?{dsn:t}:{},[r])}function Uf(e){let t=[];e.message&&t.push(e.message);try{let n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}function Wf(e){let{trace_id:t,parent_span_id:n,span_id:r,status:i,origin:a,data:o,op:s}=e.contexts?.trace??{};return{data:o??{},description:e.transaction,op:s,parent_span_id:n,span_id:r??``,start_timestamp:e.start_timestamp??0,status:i,timestamp:e.timestamp,trace_id:t??``,origin:a,profile_id:o?.[hl],exclusive_time:o?.[gl],measurements:e.measurements,is_segment:!0}}function Gf(e){return{type:`transaction`,timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{"sentry.profile_id":e.profile_id},...e.exclusive_time&&{"sentry.exclusive_time":e.exclusive_time}}}},measurements:e.measurements}}var Kf=[`forwarded`,`-ip`,`remote-`,`via`,`-user`];function qf(e){return e===!0?{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:Kf},httpHeaders:{request:{deny:Kf},response:{deny:Kf}},httpBodies:[],urlQueryParams:{deny:Kf},graphQL:{document:!0,variables:!0},genAI:{inputs:!1,outputs:!1},databaseQueryData:!1,stackFrameVariables:!0,frameContextLines:7}}var Jf={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:5};function Yf(e){let t=e.dataCollection==null?qf(e.sendDefaultPii):Jf,n=e.dataCollection??{};return{userInfo:n.userInfo??t.userInfo,cookies:n.cookies??t.cookies,httpHeaders:{request:n.httpHeaders?.request??t.httpHeaders.request,response:n.httpHeaders?.response??t.httpHeaders.response},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}}var Xf=`Not capturing exception because it's already been captured.`,Zf=`Discarded session because of missing or non-string release`,Qf=Symbol.for(`SentryInternalError`),$f=Symbol.for(`SentryDoNotSendEventError`),ep=5e3;function tp(e){return{message:e,[Qf]:!0}}function np(e){return{message:e,[$f]:!0}}function rp(e){return Os(e)&&Qf in e}function ip(e){return Os(e)&&$f in e}function ap(e,t,n,r,i){let a=0,o,s=!1;e.on(n,()=>{a=0,clearTimeout(o),s=!1}),e.on(t,t=>{if(a+=r(t),a>=8e5)i(e);else if(!s){let t=e.getOptions()._flushInterval??ep;t>0&&(s=!0,o=af(setTimeout(()=>{i(e)},t)))}}),e.on(`flush`,()=>{i(e)})}var op=class{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=Ff(e.transportOptions?.bufferSize??64),this._dataCollection=Yf(e),e.dsn?this._dsn=Bl(e.dsn):J&&X.warn(`No DSN provided, client will not send events.`),this._dsn){let t=lf(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs??!0,this._options.enableLogs&&ap(this,`afterCaptureLog`,`flushLogs`,pp,wf),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&ap(this,`afterCaptureMetric`,`flushMetrics`,fp,kf)}captureException(e,t,n){let r=fc();if(_c(e))return J&&X.log(Xf),r;let i={event_id:r,...t};return this._process(()=>this.eventFromException(e,i).then(e=>this._captureEvent(e,i,n)).then(e=>e),`error`),i.event_id}captureMessage(e,t,n,r){let i={event_id:fc(),...n}
10,a=Ts(e)?e:String(e),o=Es(e),s=o?this.eventFromMessage(a,t,i):this.eventFromException(e,i);return this._process(()=>s.then(e=>this._captureEvent(e,i,r)),o?`unknown`:`error`),i.event_id}captureEvent(e,t,n){let r=fc();if(t?.originalException&&_c(t.originalException))return J&&X.log(Xf),r;let i={event_id:r,...t},a=e.sdkProcessingMetadata||{},o=a.capturedSpanScope,s=a.capturedSpanIsolationScope,c=sp(e.type);return this._process(()=>this._captureEvent(e,i,o||n,s),c),i.event_id}captureSession(e){this.sendSession(e),Tc(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){let t=this._transport;if(this.emit(`flush`),!t)return!0;let n=await this._isClientDoneProcessing(e),r=await t.flush(e);return n&&r}async close(e){let 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){let t=this._integrations[e.name];!t&&e.beforeSetup&&e.beforeSetup(this),hf(this,e,this._integrations),t||mf(this,[e])}sendEvent(e,t={}){this.emit(`beforeSendEvent`,e,t);let n=Nf(e,this),r=Wu(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])r=ku(r,Iu(e));n&&(r=ku(r,n)),this.sendEnvelope(r).then(t=>this.emit(`afterSendEvent`,e,t))}sendSession(e){let{release:t,environment:n=xu}=this._options;if(`aggregates`in e){let r=e.attrs||{};if(!r.release&&!t){J&&X.warn(Zf);return}r.release=r.release||t,r.environment=r.environment||n,e.attrs=r}else{if(!e.release&&!t){J&&X.warn(Zf);return}e.release=e.release||t,e.environment=e.environment||n}this.emit(`beforeSendSession`,e);let r=Uu(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(e,t,n=1){if(this._options.sendClientReports){let r=`${e}:${t}`;J&&X.log(`Recording outcome: "${r}"${n>1?` (${n} times)`:``}`),this._outcomes[r]=(this._outcomes[r]||0)+n}}on(e,t){let n=this._hooks[e]=this._hooks[e]||new Set,r=(...e)=>t(...e);return n.add(r),()=>{n.delete(r)}}emit(e,...t){let 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(e){return J&&X.error(`Error while sending envelope:`,e),{}}return J&&X.error(`Transport disabled`),{}}registerCleanup(e){}dispose(){}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=pf(this,e),mf(this,e)}_updateSessionFromEvent(e,t){let n=t.level===`fatal`,r=!1,i=t.exception?.values;if(i){r=!0,n=!1;for(let e of i)if(e.mechanism?.handled===!1){n=!0;break}}let a=e.status===`ok`;(a&&e.errors===0||a&&n)&&(Tc(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 this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(e,t,n,r){let i=this.getOptions(),a=this.getIntegrationNames();return!t.integrations&&a.length&&(t.integrations=a),this.emit(`preprocessEvent`,e,t),e.type||r.setLastEventId(e.event_id||t.event_id),Vd(i,e,t,n,this,r).then(e=>e===null?e:(this.emit(`postprocessEvent`,e,t),e.contexts={trace:{...e.contexts?.trace,...sl(n)},...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:Tu(this,n),...e.sdkProcessingMetadata},e))}_captureEvent(e,t={}
10,n=rl(),r=il()){return J&&up(e)&&X.log(`Captured error event \`${Uf(e)[0]||`<unknown>`}\``),this._processEvent(e,t,n,r).then(e=>e.event_id,e=>{J&&(ip(e)?X.log(e.message):rp(e)?X.warn(e.message):X.warn(e))})}_processEvent(e,t,n,r){let i=this.getOptions(),{sampleRate:a}=i,o=dp(e),s=up(e),c=`before send for type \`${e.type||`error`}\``,l=a===void 0?void 0:Vl(a),u=sp(e.type);return this._prepareEvent(e,t,n,r).then(e=>{if(e===null)throw this.recordDroppedEvent(`event_processor`,u),np("An event processor returned `null`, will not send event.");return t.data?.__sentry__===!0?e:cp(lp(this,i,e,t),c)}).then(i=>{if(i===null){if(this.recordDroppedEvent(`before_send`,u),o){let t=1+(e.spans||[]).length;this.recordDroppedEvent(`before_send`,`span`,t)}throw np(`${c} returned \`null\`, will not send event.`)}let d=n.getSession()||r.getSession();if(s&&d&&this._updateSessionFromEvent(d,i),s&&typeof l==`number`&&Us()>l)throw this.recordDroppedEvent(`sample_rate`,`error`),np(`Discarding event because it's not included in the random sample (sampling rate = ${a})`);if(o){let e=(i.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(i.spans?i.spans.length:0);e>0&&this.recordDroppedEvent(`before_send`,`span`,e)}let f=i.transaction_info;return o&&f&&i.transaction!==e.transaction&&(i.transaction_info={...f,source:`custom`}),this.sendEvent(i,t),i}).then(null,e=>{throw ip(e)||rp(e)?e:(this.captureException(e,{mechanism:{handled:!1,type:`internal`},data:{__sentry__:!0},originalException:e}),tp(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. 11Reason: ${e}`))})}_process(e,t){this._numProcessing++,this._promiseBuffer.add(e).then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e===Pf&&this.recordDroppedEvent(`queue_overflow`,t),e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{let[n,r]=e.split(`:`);return{reason:n,category:r,quantity:t}})}_flushOutcomes(){J&&X.log(`Flushing outcomes...`);let e=this._clearOutcomes();if(e.length===0){J&&X.log(`No outcomes to send`);return}if(!this._dsn){J&&X.log(`No dsn provided, will not send outcomes`);return}J&&X.log(`Sending outcomes:`,e);let t=Hf(e,this._options.tunnel&&Pl(this._dsn));this.sendEnvelope(t)}};function sp(e){return e===`replay_event`?`replay`:e||`error`}function cp(e,t){let n=`${t} must return \`null\` or a valid event.`;if(js(e))return e.then(e=>{if(!Ds(e)&&e!==null)throw tp(n);return e},e=>{throw tp(`${t} rejected with ${e}`)});if(!Ds(e)&&e!==null)throw tp(n);return e}function lp(e,t,n,r){let{beforeSend:i,beforeSendTransaction:a,ignoreSpans:o}=t,s=!Du(t.beforeSendSpan)&&t.beforeSendSpan,c=n;if(up(c)&&i)return i(c,r);if(dp(c)){if(s||o){let t=Wf(c);if(o?.length&&mu({description:t.description,op:t.op,attributes:t.data},o))return null;if(s){let e=s(t);e?c=Oc(n,Gf(e)):du()}if(c.spans){let t=[],n=c.spans;for(let e of n){if(o?.length&&mu({description:e.description,op:e.op,attributes:e.data},o)){gu(n,e);continue}if(s){let n=s(e);n?t.push(n):(du(),t.push(e))}else t.push(e)}let r=c.spans.length-t.length;r&&e.recordDroppedEvent(`before_send`,`span`,r),c.spans=t}}if(a){if(c.spans){let e=c.spans.length;c.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return a(c,r)}}return c}function up(e){return e.type===void 0}function dp(e){return e.type===`transaction`}function fp(e){let t=0;return e.name&&(t+=e.name.length*2),t+=8,t+mp(e.attributes)}function pp(e){let t=0;return e.message&&(t+=e.message.length*2),t+mp(e.attributes)}function mp(e){if(!e)return 0;let t=0;return Object.values(e).forEach(e=>{Array.isArray(e)?t+=e.length*hp(e[0]):Es(e)?t+=hp(e):t+=100}),t}function hp(e){return typeof e==`string`?e.length*2:typeof e==`number`?8:typeof e==`boolean`?4:0}function gp(e,t){t.debug===!0&&(J?X.enable():Ho(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),rl().update(t.initialScope);let n=new e(t);return _p(n),n.init(),n}function _p(e){rl().setClient(e)}function vp(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let 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 yp(e,t=!0){if(e.startsWith(`data:`)){let n=e.match(/^data:([^;,]+)/),r=n?n[1]:`text/plain`,i=e.includes(`;base64,`),a=e.indexOf(`,`),o=``;if(t&&a!==-1){let t=e.slice(a+1);o=t.length>10?`${t.slice(0,10)}... [truncated]`:t}return`data:${r}${i?`,base64`:``}${o?`,${o}`:``}`}return e}function bp(e){`aggregates`in e?e.attrs?.ip_address===void 0&&(e.attrs={...e.attrs,ip_address:`{{auto}}`}):e.ipAddress===void 0&&(e.ipAddress=`{{auto}}`)}function xp(e,t,n=[t],r=`npm`){let i=(e._metadata=e._metadata||{}).sdk=e._metadata.sdk||{};i.name||(i.name=`sentry.javascript.${t}`,i.packages=n.map(e=>({name:`${r}:@sentry/${e}`,version:Fo})),i.version=Fo)}function Sp(e){return Array.from(new Set(e))}var Cp=100;function wp(e,t){let n=Z(),r=il();if(!n)return;let{beforeBreadcrumb:i=null,maxBreadcrumbs:a=Cp}=n.getOptions();if(a<=0)return;let o={timestamp:bc(),...e},s=i?Ho(()=>i(o,t)):o;s!==null&&(n.emit&&n.emit(`beforeAddBreadcrumb`,s,t),r.addBreadcrumb(s,a))}var Tp=`FunctionToString`,Ep=new WeakMap,Dp=gf((()=>({name:Tp,setupOnce(){let e=Function.prototype.toString;try{Function.prototype.toString=function(...t){let n=Ls(this),r;try{Ep.has(Z())&&n!==void 0&&(r=n)}catch{}return e.apply(r??this,t)}}catch{}},setup(e){Ep.set(e,!0)}}))),Op=[/^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$/],kp=`EventFilters`,Ap=gf((e={})=>{let t;return{name:kp,setup(n){t=Mp(e,n.getOptions())},processEvent(n,r,i){return t||=Mp(e,i.getOptions()),Np(n,t)?null:n}}}),jp=gf(((e={})=>({...Ap(e),name:`InboundFilters`})));function Mp(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:Op],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function Np(e,t){if(!e.type){if(Pp(e,t.ignoreErrors))return J&&X.warn(`Event dropped due to being matched by \`ignoreErrors\` option. 12Event: ${mc(e)}`),!0;if(Bp(e))return J&&X.warn(`Event dropped due to not having an error message, error type or stacktrace. 13Event: ${mc(e)}`),!0;if(Ip(e,t.denyUrls))return J&&X.warn(`Event dropped due to being matched by \`denyUrls\` option. 14Event: ${mc(e)}. 15Url: ${zp(e)}`),!0;if(!Lp(e,t.allowUrls))return J&&X.warn(`Event dropped due to not being matched by \`allowUrls\` option. 16Event: ${mc(e)}. 17Url: ${zp(e)}`),!0}else if(e.type===`transaction`&&Fp(e,t.ignoreTransactions))return J&&X.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. 18Event: ${mc(e)}`),!0;return!1}function Pp(e,t){return t?.length?Uf(e).some(e=>cc(e,t)):!1}function Fp(e,t){if(!t?.length)return!1;let n=e.transaction;return n?cc(n,t):!1}function Ip(e,t){if(!t?.length)return!1;let n=zp(e);return n?cc(n,t):!1}function Lp(e,t){if(!t?.length)return!0;let n=zp(e);return!n||cc(n,t)}function Rp(e=[]){for(let t=e.length-1;t>=0;t--){let n=e[t];if(n&&n.filename!==`<anonymous>`&&n.filename!==`[native code]`)return n.filename||null}return null}function zp(e){try{let t=[...e.exception?.values??[]].reverse().find(e=>e.mechanism?.parent_id===void 0&&e.stacktrace?.frames?.length)?.stacktrace?.frames;return t?Rp(t):null}catch{return J&&X.error(`Cannot extract url for event ${mc(e)}`),null}}function Bp(e){return e.exception?.values?.length?!e.message&&!e.exception.values.some(e=>e.stacktrace||e.type&&e.type!==`Error`||e.value):!1}function Vp(e,t,n,r,i,a){if(!i.exception?.values||!a||!ys(a.originalException))return;let o=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;o&&(i.exception.values=Hp(e,t,r,a.originalException,n,i.exception.values,o,0))}
18function Hp(e,t,n,r,i,a,o,s){if(a.length>=n+1)return a;let c=[...a];if(ys(r[i])){Wp(o,s,r);let a=e(t,r[i]),l=c.length;Gp(a,i,l,s),c=Hp(e,t,n,r[i],i,[a,...c],a,l)}return Up(r)&&r.errors.forEach((a,l)=>{if(ys(a)){Wp(o,s,r);let u=e(t,a),d=c.length;Gp(u,`errors[${l}]`,d,s),c=Hp(e,t,n,a,i,[u,...c],u,d)}}),c}function Up(e){return Array.isArray(e.errors)}function Wp(e,t,n){e.mechanism={handled:!0,type:`auto.core.linked_errors`,...Up(n)&&{is_exception_group:!0},...e.mechanism,exception_id:t}}function Gp(e,t,n,r){e.mechanism={handled:!0,...e.mechanism,type:`chained`,source:t,exception_id:n,parent_id:r}}function Kp(e){return ys(e)&&`__sentry_fetch_url_host__`in e&&typeof e.__sentry_fetch_url_host__==`string`}function qp(e){return Kp(e)?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}var Jp=new Set([]);function Yp(e){let t=`console`,n=ls(t,e);return us(t,Zp),n}var Xp=new Set;function Zp(){`console`in Y&&zo.forEach(function(e){Xp.has(e)||!(e in Y.console)||(Xp.add(e),Ps(Y.console,e,function(t){return Vo[e]=t,function(...t){let n=t[0],r=Vo[e],i=Jp.size&&typeof n==`string`&&cc(n,Jp);i||ds(`console`,{args:t,level:e}),(!i||J&&X.isEnabled())&&r?.apply(Y.console,t)}}))})}function Qp(e){return e===`warn`?`warning`:[`fatal`,`error`,`warning`,`log`,`info`,`debug`].includes(e)?e:`log`}var $p=`Dedupe`,em=gf((()=>{let e;return{name:$p,processEvent(t){if(t.type)return t;try{if(tm(t,e))return J&&X.warn(`Event dropped due to being a duplicate of previously captured event.`),null}catch{}return e=t}}}));function tm(e,t){return t?!!(nm(e,t)||rm(e,t)):!1}function nm(e,t){let n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!am(e,t)||!im(e,t))}function rm(e,t){let n=om(t),r=om(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!am(e,t)||!im(e,t))}function im(e,t){let n=os(e),r=os(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let e=0;e<r.length;e++){let t=r[e],i=n[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function am(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return n.join(``)===r.join(``)}catch{return!1}}function om(e){return e.exception?.values?.[0]}var sm=`ConversationId`,cm=gf((()=>({name:sm,setup(e){e.on(`spanStart`,e=>{let t=rl().getScopeData(),n=il().getScopeData(),r=t.conversationId||n.conversationId;if(r){let{op:t,data:n,description:i}=Yl(e);if(!t?.startsWith(`gen_ai.`)&&!n[`ai.operationId`]&&!i?.startsWith(`ai.`))return;e.setAttribute(_l,r)}})}})));function lm(e){if(e!==void 0){if(e>=400&&e<500)return`warning`;if(e>=500)return`error`}}var um=Y;function dm(){return`history`in um&&!!um.history}function fm(){if(!(`fetch`in um))return!1;try{return new Headers,new Request(`data:,`),new Response,!0}catch{return!1}}function pm(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function mm(){if(typeof EdgeRuntime==`string`)return!0;if(!fm())return!1;if(pm(um.fetch))return!0;let e=!1,t=um.document;if(t&&typeof t.createElement==`function`)try{let n=t.createElement(`iframe`);n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=pm(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){J&&X.warn(`Could not create sandbox iframe for pure fetch check, bailing to window.fetch: `,e)}return e}function hm(e,t){let n=`fetch`,r=ls(n,e);return us(n,()=>gm(void 0,t)),r}function gm(e,t=!1){t&&!mm()||Ps(Y,`fetch`,function(t){return function(...n){let r=Error(),{method:i,url:a}=ym(n),o={args:n,fetchData:{method:i,url:a},startTimestamp:Cc()*1e3,virtualError:r,headers:bm(n)};return e||ds(`fetch`,{...o}),t.apply(Y,n).then(async t=>(e?e(t):ds(`fetch`,{...o,endTimestamp:Cc()*1e3,response:t}),t),e=>{ds(`fetch`,{...o,endTimestamp:Cc()*1e3,error:e}),ys(e)&&e.stack===void 0&&(e.stack=r.stack,Fs(e,`framesToPop`,1));let t=Z()?.getOptions().enhanceFetchErrorMessages??`always`;if(t!==!1&&ys(e)&&e.name===`TypeError`&&(e.message===`Failed to fetch`||e.message===`Load failed`||e.message===`NetworkError when attempting to fetch resource.`))try{let n=new URL(o.fetchData.url).host;t===`always`?e.message=`${e.message} (${n})`:Fs(e,`__sentry_fetch_url_host__`,n)}catch{}throw e})}})}function _m(e,t){return Os(e)&&!!e[t]}function vm(e){return typeof e==`string`?e:e?_m(e,`url`)?e.url:e.toString?e.toString():``:``}function ym(e){if(e.length===0)return{method:`GET`,url:``};if(e.length===2){let[t,n]=e;return{url:vm(t),method:_m(n,`method`)?String(n.method).toUpperCase():Ns(t)&&_m(t,`method`)?String(t.method).toUpperCase():`GET`}}let t=e[0];return{url:vm(t),method:_m(t,`method`)?String(t.method).toUpperCase():`GET`}}function bm(e){let[t,n]=e;try{if(typeof n==`object`&&n&&`headers`in n&&n.headers)return new Headers(n.headers);if(Ns(t))return new Headers(t.headers)}catch{}}var xm=Y;function Sm(){try{return xm.document.location.href}catch{return``}}function Cm(e,t=5){if(!xm.HTMLElement)return null;let n=e;for(let e=0;e<t;e++){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}var Q=Y,wm=0;function Tm(){return wm>0}function Em(){wm++,setTimeout(()=>{wm--})}function Dm(e,t={}){function n(e){return typeof e==`function`}if(!n(e))return e;try{if(Object.prototype.hasOwnProperty.call(e,`__sentry_wrapped__`)){let t=e.__sentry_wrapped__;return typeof t==`function`?t:e}if(Ls(e))return e}catch{return e}let r=function(...n){Y._sentryWrappedDepth=(Y._sentryWrappedDepth||0)+1;try{let r=n.map(e=>Dm(e,t));return e.apply(this,r)}catch(e){throw Em(),ol(r=>{r.addEventProcessor(e=>(t.mechanism&&(hc(e,void 0,void 0),gc(e,t.mechanism)),e.extra={...e.extra,arguments:n},e)),Qd(e)}),e}finally{Y._sentryWrappedDepth=(Y._sentryWrappedDepth||0)-1}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch{}Is(r,e),Fs(e,`__sentry_wrapped__`,r);try{Object.getOwnPropertyDescriptor(r,`name`).configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}
18function Om(){let e=Sm(),{referrer:t}=Q.document||{},{userAgent:n}=Q.navigator||{};return{url:e,headers:{...t&&{Referer:t},...n&&{"User-Agent":n}}}}function km(e,t){let n=Mm(e,t),r={type:Lm(t),value:Rm(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===``&&(r.value=`Unrecoverable error caught`),r}function Am(e,t,n,r){let i=Z()?.getOptions().normalizeDepth,a=Gm(t),o={__serialized__:Qs(t,i)};if(a)return{exception:{values:[km(e,a)]},extra:o};let s={exception:{values:[{type:ks(t)?t.constructor.name:r?`UnhandledRejection`:`Error`,value:Um(t,{isUnhandledRejection:r})}]},extra:o};if(n){let t=Mm(e,n);t.length&&(s.exception.values[0].stacktrace={frames:t})}return s}function jm(e,t){return{exception:{values:[km(e,t)]}}}function Mm(e,t){let n=t.stacktrace||t.stack||``,r=Pm(t),i=Fm(t);try{return e(n,r,i)}catch{}return[]}var Nm=/Minified React error #\d+;/i;function Pm(e){return e&&Nm.test(e.message)?1:0}function Fm(e){return typeof e.framesToPop==`number`?e.framesToPop:0}function Im(e){return typeof WebAssembly<`u`&&WebAssembly.Exception!==void 0&&e instanceof WebAssembly.Exception}function Lm(e){let t=e?.name;return!t&&Im(e)?e.message&&Array.isArray(e.message)&&e.message.length==2?e.message[0]:`WebAssembly.Exception`:t}function Rm(e){let t=e?.message;return Im(e)?Array.isArray(e.message)&&e.message.length==2?e.message[1]:`wasm exception`:t?t.error&&typeof t.error.message==`string`?qp(t.error):qp(e):`No error message`}function zm(e,t,n,r){let i=Vm(e,t,n?.syntheticException||void 0,r);return gc(i),i.level=`error`,n?.event_id&&(i.event_id=n.event_id),jd(i)}function Bm(e,t,n=`info`,r,i){let a=Hm(e,t,r?.syntheticException||void 0,i);return a.level=n,r?.event_id&&(a.event_id=r.event_id),jd(a)}function Vm(e,t,n,r,i){let a;if(xs(t)&&t.error)return jm(e,t.error);if(Ss(t)||Cs(t)){let i=t;if(`stack`in t){a=jm(e,t);let i=a.exception?.values?.[0];if(r&&n&&i&&!i.stacktrace){let t=Mm(e,n);t.length&&(i.stacktrace={frames:t},gc(a,{synthetic:!0}))}}else{let t=i.name||(Ss(i)?`DOMError`:`DOMException`),o=i.message?`${t}: ${i.message}`:t;a=Hm(e,o,n,r),hc(a,o)}return`code`in i&&(a.tags={...a.tags,"DOMException.code":`${i.code}`}),a}return ys(t)?jm(e,t):Ds(t)||ks(t)?(a=Am(e,t,n,i),gc(a,{synthetic:!0}),a):(a=Hm(e,t,n,r),hc(a,`${t}`,void 0),gc(a,{synthetic:!0}),a)}function Hm(e,t,n,r){let i={};if(r&&n){let r=Mm(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]}),gc(i,{synthetic:!0})}if(Ts(t)){let{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i}function Um(e,{isUnhandledRejection:t}){let n=Bs(e),r=t?`promise rejection`:`exception`;return xs(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:ks(e)?`Event \`${Wm(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function Wm(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function Gm(e){return Object.values(e).find(ys)}var Km=class extends op{constructor(e){let t=qm(e);xp(t,`browser`,[`browser`],Q.SENTRY_SDK_SOURCE||vf()),super(t);let{userInfo:n}=this.getDataCollectionOptions();t._metadata?.sdk&&(t._metadata.sdk.settings={infer_ip:n?`auto`:`never`,...t._metadata.sdk.settings});let{sendClientReports:r}=this._options;Q.document&&Q.document.addEventListener(`visibilitychange`,()=>{Q.document.visibilityState===`hidden`&&(r&&this._flushOutcomes(),queueMicrotask(()=>{this.flush()}))}),n&&this.on(`beforeSendSession`,bp)}eventFromException(e,t){return zm(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t=`info`,n){return Bm(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)}};function qm(e){return{release:typeof __SENTRY_RELEASE__==`string`?__SENTRY_RELEASE__:Q.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}var Jm=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,$=Y;function Ym(e,t,n){$.document&&$.addEventListener(e,t,n)}function Xm(e,t,n){$.document&&$.removeEventListener(e,t,n)}var Zm=e=>{let t=!1;return()=>{t||=(e(),!0)}},Qm=e=>{let t=$.requestIdleCallback||$.setTimeout;$.document?.visibilityState===`hidden`?e():(e=Zm(e),Ym(`visibilitychange`,e,{once:!0,capture:!0}),Ym(`pagehide`,e,{once:!0,capture:!0}),t(()=>{e(),Xm(`visibilitychange`,e,{capture:!0}),Xm(`pagehide`,e,{capture:!0})}
18))},$m=80,eh={};try{typeof Node<`u`&&(eh.parentNode=Object.getOwnPropertyDescriptor(Node.prototype,`parentNode`).get),typeof Element<`u`&&(eh.tagName=Object.getOwnPropertyDescriptor(Element.prototype,`tagName`).get,eh.id=Object.getOwnPropertyDescriptor(Element.prototype,`id`).get,eh.className=Object.getOwnPropertyDescriptor(Element.prototype,`className`).get,eh.getAttribute=Element.prototype.getAttribute),typeof HTMLElement<`u`&&(eh.dataset=Object.getOwnPropertyDescriptor(HTMLElement.prototype,`dataset`).get)}catch{}function th(e,t,n){let r=eh[t];if(r)try{return r.call(e,n)}catch{}let i=e[t];return typeof i==`function`?i.call(e,n):i}function nh(e,t={}){if(!e)return`<unknown>`;try{let n=e,r=[],i=0,a=0,o,s=Array.isArray(t)?t:t.keyAttrs,c=!Array.isArray(t)&&t.maxStringLength||$m;for(;n&&i++<5&&(o=rh(n,s),!(o===`html`||i>1&&a+r.length*3+o.length>=c));)r.push(o),a+=o.length,n=th(n,`parentNode`);return r.reverse().join(` > `)}catch{return`<unknown>`}}function rh(e,t){let n=[],r=th(e,`tagName`);if(!r)return``;if(typeof HTMLElement<`u`&&e instanceof HTMLElement){let t=th(e,`dataset`);if(t){if(t.sentryComponent)return t.sentryComponent;if(t.sentryElement)return t.sentryElement}}n.push(r.toLowerCase());let i=t?.length?t.filter(t=>th(e,`getAttribute`,t)).map(t=>[t,th(e,`getAttribute`,t)]):null;if(i?.length)i.forEach(e=>{n.push(`[${e[0]}="${e[1]}"]`)});else{let t=th(e,`id`);t&&n.push(`#${t}`);let r=th(e,`className`);if(r&&ws(r)){let e=r.split(/\s+/);for(let t of e)n.push(`.${t}`)}}for(let t of[`aria-label`,`type`,`name`,`title`,`alt`]){let r=th(e,`getAttribute`,t);r&&n.push(`[${t}="${r}"]`)}return n.join(``)}var ih=1e3,ah,oh,sh;function ch(e){ls(`dom`,e),us(`dom`,lh)}function lh(){if(!$.document)return;let e=ds.bind(null,`dom`),t=fh(e,!0);$.document.addEventListener(`click`,t,!1),$.document.addEventListener(`keypress`,t,!1),[`EventTarget`,`Node`].forEach(t=>{let n=$[t]?.prototype;n?.hasOwnProperty?.(`addEventListener`)&&(Ps(n,`addEventListener`,function(t){return function(n,r,i){if(n===`click`||n==`keypress`)try{let r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},a=r[n]=r[n]||{refCount:0};if(!a.handler){let r=fh(e);a.handler=r,t.call(this,n,r,i)}a.refCount++}catch{}return t.call(this,n,r,i)}}),Ps(n,`removeEventListener`,function(e){return function(t,n,r){if(t===`click`||t==`keypress`)try{let n=this.__sentry_instrumentation_handlers__||{},i=n[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,r),i.handler=void 0,delete n[t]),Object.keys(n).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,n,r)}}))})}function uh(e){if(e.type!==oh)return!1;try{if(!e.target||e.target._sentryId!==sh)return!1}catch{}return!0}function dh(e,t){return e===`keypress`?!t?.tagName||!(t.tagName===`INPUT`||t.tagName===`TEXTAREA`||t.isContentEditable):!1}function fh(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;let r=ph(n);if(dh(n.type,r))return;Fs(n,`_sentryCaptured`,!0),r&&!r._sentryId&&Fs(r,`_sentryId`,fc());let i=n.type===`keypress`?`input`:n.type;uh(n)||(e({event:n,name:i,global:t}),oh=n.type,sh=r?r._sentryId:void 0),clearTimeout(ah),ah=$.setTimeout(()=>{sh=void 0,oh=void 0},ih)}}function ph(e){try{return e.target}catch{return null}}var mh;function hh(e){let t=`history`;ls(t,e),us(t,gh)}function gh(){if($.addEventListener(`popstate`,()=>{let e=$.location.href,t=mh;mh=e,t!==e&&ds(`history`,{from:t,to:e})}),!dm())return;function e(e){return function(...t){let n=t.length>2?t[2]:void 0;if(n){let r=mh,i=_h(String(n));if(mh=i,r===i)return e.apply(this,t);ds(`history`,{from:r,to:i})}return e.apply(this,t)}}Ps($.history,`pushState`,e),Ps($.history,`replaceState`,e)}function _h(e){try{return new URL(e,$.location.origin).toString()}catch{return e}}var vh={};function yh(e){let t=vh[e];if(t)return t;let n=$[e];if(pm(n))return vh[e]=n.bind($);let r=$.document;if(r&&typeof r.createElement==`function`)try{let t=r.createElement(`iframe`);t.hidden=!0,r.head.appendChild(t);let i=t.contentWindow;i?.[e]&&(n=i[e]),r.head.removeChild(t)}catch(t){Jm&&X.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return n&&(vh[e]=n.bind($))}function bh(e){vh[e]=void 0}var xh=`__sentry_xhr_v3__`;function Sh(e){ls(`xhr`,e),us(`xhr`,Ch)}function Ch(){if(!$.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){let r=Error(),i=Cc()*1e3,a=ws(n[0])?n[0].toUpperCase():void 0,o=wh(n[1]);if(!a||!o)return e.apply(t,n);t[xh]={method:a,url:o,request_headers:{}}
18,a===`POST`&&o.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let s=()=>{let e=t[xh];if(e&&t.readyState===4){try{e.status_code=t.status}catch{}ds(`xhr`,{endTimestamp:Cc()*1e3,startTimestamp:i,xhr:t,virtualError:r}),t.removeEventListener(`readystatechange`,s)}};return`onreadystatechange`in t&&typeof t.onreadystatechange==`function`?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply(e,t,n){return s(),e.apply(t,n)}}):t.addEventListener(`readystatechange`,s),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){let[r,i]=n,a=t[xh];return a&&ws(r)&&ws(i)&&(a.request_headers[r.toLowerCase()]=i),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){let r=t[xh];return r?(n[0]!==void 0&&(r.body=n[0]),ds(`xhr`,{startTimestamp:Cc()*1e3,xhr:t}),e.apply(t,n)):e.apply(t,n)}})}function wh(e){if(ws(e))return e;try{return e.toString()}catch{}}function Th(e){if(typeof Element>`u`)return!1;try{return e instanceof Element}catch{return!1}}var Eh=40;function Dh(e,t=yh(`fetch`)){let n=0,r=0;async function i(i){let a=i.body.length;n+=a,r++;let o={body:i.body,method:`POST`,referrerPolicy:`strict-origin`,headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{let n=await t(e.url,o);return{statusCode:n.status,headers:{"x-sentry-rate-limits":n.headers.get(`X-Sentry-Rate-Limits`),"retry-after":n.headers.get(`Retry-After`)}}}catch(e){throw bh(`fetch`),e}finally{n-=a,r--}}return Vf(e,i,Ff(e.bufferSize||Eh))}var Oh=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,kh=30,Ah=50;function jh(e,t,n,r){let i={filename:e,function:t===`<anonymous>`?`?`:t,in_app:!0};return n!==void 0&&(i.lineno=n),r!==void 0&&(i.colno=r),i}var Mh=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,Nh=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Ph=/\((\S*)(?::(\d+))(?::(\d+))\)/,Fh=/at (.+?) ?\(data:(.+?),/,Ih=[kh,e=>{let t=e.match(Fh);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};let n=Mh.exec(e);if(n){let[,e,t,r]=n;return jh(e,`?`,+t,+r)}let r=Nh.exec(e);if(r){if(r[2]?.indexOf(`eval`)===0){let e=Ph.exec(r[2]);e&&(r[2]=e[1],r[3]=e[2],r[4]=e[3])}let[e,t]=Bh(r[1]||`?`,r[2]);return jh(t,e,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}}],Lh=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Rh=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,zh=es(Ih,[Ah,e=>{let t=Lh.exec(e);if(t){if(t[3]&&t[3].indexOf(` > eval`)>-1){let e=Rh.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]||`?`;return[n,e]=Bh(n,e),jh(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]),Bh=(e,t)=>{let n=e.indexOf(`safari-extension`)!==-1,r=e.indexOf(`safari-web-extension`)!==-1;return n||r?[e.indexOf(`@`)===-1?`?`:e.split(`@`)[0],n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},Vh=1024,Hh=`Breadcrumbs`,Uh=gf(((e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:Hh,setup(e){t.console&&Yp(Kh(e)),t.dom&&ch(Gh(e,t.dom)),t.xhr&&Sh(qh(e)),t.fetch&&hm(Jh(e)),t.history&&hh(Yh(e)),t.sentry&&e.on(`beforeSendEvent`,Wh(e))}}}));function Wh(e){return function(t){Z()===e&&wp({category:`sentry.${t.type===`transaction`?`transaction`:`event`}`,event_id:t.event_id,level:t.level,message:mc(t)},{event:t})}}function Gh(e,t){return function(n){if(Z()!==e)return;let r,i,a=typeof t==`object`?t.serializeAttribute:void 0,o=typeof t==`object`&&typeof t.maxStringLength==`number`?t.maxStringLength:void 0;o&&o>Vh&&(Oh&&X.warn(`\`dom.maxStringLength\` cannot exceed ${Vh}, but a value of ${o} was configured. Sentry will use ${Vh} instead.`),o=Vh),typeof a==`string`&&(a=[a]);try{let e=n.event,t=Xh(e)?e.target:e;r=nh(t,{keyAttrs:a,maxStringLength:o}),i=Cm(t)}catch{r=`<unknown>`}if(r.length===0)return;let s={category:`ui.${n.name}`,message:r};i&&(s.data={"ui.component_name":i}),wp(s,{event:n.event,name:n.name,global:n.global})}}function Kh(e){return function(t){if(Z()!==e)return;let n={category:`console`,data:{arguments:t.args,logger:`console`},level:Qp(t.level),message:oc(t.args,` `)};if(t.level===`assert`){if(t.args[0]===!1)n.message=`Assertion failed: ${oc(t.args.slice(1),` `)||`console.assert`}`,n.data.arguments=t.args.slice(1);else return}wp(n,{input:t.args,level:t.level})}}function qh(e){return function(t){if(Z()!==e)return;let{startTimestamp:n,endTimestamp:r}=t,i=t.xhr[xh];if(!n||!r||!i)return;let{method:a,url:o,status_code:s,body:c}=i,l={method:a,url:o,status_code:s},u={xhr:t.xhr,input:c,startTimestamp:n,endTimestamp:r},d={category:`xhr`,data:l,type:`http`,level:lm(s)};e.emit(`beforeOutgoingRequestBreadcrumb`,d,u),wp(d,u)}}function Jh(e){return function(t){if(Z()!==e)return;let{startTimestamp:n,endTimestamp:r}=t;
18if(r&&!(t.fetchData.url.match(/sentry_key/)&&t.fetchData.method===`POST`)){if(t.error){let i={data:t.error,input:t.args,startTimestamp:n,endTimestamp:r},a={category:`fetch`,data:t.fetchData,level:`error`,type:`http`};e.emit(`beforeOutgoingRequestBreadcrumb`,a,i),wp(a,i)}else{let i=t.response,a={...t.fetchData,status_code:i?.status},o={input:t.args,response:i,startTimestamp:n,endTimestamp:r},s={category:`fetch`,data:a,type:`http`,level:lm(a.status_code)};e.emit(`beforeOutgoingRequestBreadcrumb`,s,o),wp(s,o)}}}}function Yh(e){return function(t){if(Z()!==e)return;let n=t.from,r=t.to,i=vp(Q.location.href),a=n?vp(n):void 0,o=vp(r);a?.path||(a=i),i.protocol===o.protocol&&i.host===o.host&&(r=o.relative),i.protocol===a.protocol&&i.host===a.host&&(n=a.relative),wp({category:`navigation`,data:{from:n,to:r}})}}function Xh(e){return!!e&&!!e.target}var Zh=`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(`,`),Qh=`BrowserApiErrors`,$h=gf(((e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:Qh,setupOnce(){t.setTimeout&&Ps(Q,`setTimeout`,eg),t.setInterval&&Ps(Q,`setInterval`,eg),t.requestAnimationFrame&&Ps(Q,`requestAnimationFrame`,tg),t.XMLHttpRequest&&`XMLHttpRequest`in Q&&Ps(XMLHttpRequest.prototype,`send`,ng);let e=t.eventTarget;e&&(Array.isArray(e)?e:Zh).forEach(e=>rg(e,t))}}}));function eg(e){return function(...t){let n=t[0];return t[0]=Dm(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${as(e)}`}}),e.apply(this,t)}}function tg(e){return function(t){return e.apply(this,[Dm(t,{mechanism:{data:{handler:as(e)},handled:!1,type:`auto.browser.browserapierrors.requestAnimationFrame`}})])}}function ng(e){return function(...t){let n=this;return[`onload`,`onerror`,`onprogress`,`onreadystatechange`].forEach(e=>{e in n&&typeof n[e]==`function`&&Ps(n,e,function(t){let n={mechanism:{data:{handler:as(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},r=Ls(t);return r&&(n.mechanism.data.handler=as(r)),Dm(t,n)})}),e.apply(this,t)}}function rg(e,t){let n=Q[e]?.prototype;n?.hasOwnProperty?.(`addEventListener`)&&(Ps(n,`addEventListener`,function(n){return function(r,i,a){try{ig(i)&&(i.handleEvent=Dm(i.handleEvent,{mechanism:{data:{handler:as(i),target:e},handled:!1,type:`auto.browser.browserapierrors.handleEvent`}}))}catch{}return t.unregisterOriginalCallbacks&&ag(this,r,i),n.apply(this,[r,Dm(i,{mechanism:{data:{handler:as(i),target:e},handled:!1,type:`auto.browser.browserapierrors.addEventListener`}}),a])}}),Ps(n,`removeEventListener`,function(e){return function(t,n,r){try{if(Object.prototype.hasOwnProperty.call(n,`__sentry_wrapped__`)){let i=n.__sentry_wrapped__;i&&e.call(this,t,i,r)}}catch{}return e.call(this,t,n,r)}}))}function ig(e){return typeof e.handleEvent==`function`}function ag(e,t,n){e&&typeof e==`object`&&`removeEventListener`in e&&typeof e.removeEventListener==`function`&&e.removeEventListener(t,n)}var og=gf((e={})=>{let t=e.lifecycle??`route`;return{name:`BrowserSession`,setupOnce(){if(Q.document===void 0){Oh&&X.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}ef({ignoreDuration:!0});let e=!1;Qm(()=>{e||=(rf(),!0)});let n=il(),r=n.getUser();n.addScopeListener(t=>{let n=t.getUser();(r?.id!==n?.id||r?.ip_address!==n?.ip_address)&&(r=n,e&&rf())}),t===`route`&&hh(({from:t,to:n})=>{t!==n&&(ef({ignoreDuration:!0}),rf(),e=!0)})}}}),sg=`CultureContext`,cg=gf((()=>({name:sg,preprocessEvent(e){let t=lg();t&&(e.contexts={...e.contexts,culture:{...t,...e.contexts?.culture}})},processSegmentSpan(e){let t=lg();t&&Dd(e,{"culture.locale":t.locale,"culture.timezone":t.timezone,"culture.calendar":t.calendar})}})));function lg(){try{let e=Q.Intl;if(!e)return;let t=e.DateTimeFormat().resolvedOptions();return{locale:t.locale,timezone:t.timeZone,calendar:t.calendar}}catch{return}}var ug=`GlobalHandlers`,dg=gf(((e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:ug,setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(fg(e),_g(`onerror`)),t.onunhandledrejection&&(pg(e),_g(`onunhandledrejection`))}}}));function fg(e){ps(t=>{let{stackParser:n,attachStacktrace:r}=vg();if(Z()!==e||Tm())return;let{msg:i,url:a,line:o,column:s,error:c}=t,l=gg(Vm(n,c||i,void 0,r,!1),a,o,s);l.level=`error`,$d(l,{originalException:c,mechanism:{handled:!1,type:`auto.browser.global_handlers.onerror`}})})}function pg(e){gs(t=>{let{stackParser:n,attachStacktrace:r}=vg();if(Z()!==e||Tm())return;let i=mg(t),a=Es(i)?hg(i):Vm(n,i,void 0,r,!0);a.level=`error`,$d(a,{originalException:i,mechanism:{handled:!1,type:`auto.browser.global_handlers.onunhandledrejection`}})})}function mg(e){if(Es(e))return e;try{if(`reason`in e)return e.reason;if(`detail`in e&&`reason`in e.detail)return e.detail.reason}catch{}return e}function hg(e){return{exception:{values:[{type:`UnhandledRejection`,value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function gg(e,t,n,r){let i=e.exception=e.exception||{},a=i.values=i.values||[],o=a[0]=a[0]||{},s=o.stacktrace=o.stacktrace||{},c=s.frames=s.frames||[];
18return c.length===0&&c.push({colno:r,lineno:n,filename:yg(t)??Sm(),function:`?`,in_app:!0}),e}function _g(e){Oh&&X.log(`Global Handler attached: ${e}`)}function vg(){return Z()?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function yg(e){if(!(!ws(e)||e.length===0))return e.startsWith(`data:`)?`<${yp(e,!1)}>`:e}var bg=gf(()=>({name:`HttpContext`,preprocessEvent(e){if(!Q.navigator&&!Q.location&&!Q.document)return;let t=Om(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}},processSpan(e){if(!Q.navigator&&!Q.location&&!Q.document)return;let t=Om();Dd(e,{[Ed]:t.headers[`User-Agent`],...e.is_segment&&{"url.full":e.attributes?.[`sentry.op`]===`http.client`?void 0:t.url,"http.request.header.referer":t.headers.Referer}})}})),xg=`cause`,Sg=5,Cg=`LinkedErrors`,wg=gf(((e={})=>{let t=e.limit||Sg,n=e.key||xg;return{name:Cg,preprocessEvent(e,r,i){Vp(km,i.getOptions().stackParser,n,t,e,r)}}})),Tg=/^HTML(\w*)Element$/;function Eg(e){if(typeof window<`u`&&e===window)return`[Window]`;if(typeof document<`u`&&e===document)return`[Document]`;if(Th(e)){let t=Dg(e);
18if(Tg.test(t))return`[HTMLElement: ${nh(e)}]`}}function Dg(e){let t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:`null prototype`}function Og(){return kg()?(Oh&&Ho(()=>{console.error(`[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/`)}),!0):!1}function kg(){if(Q.window===void 0)return!1;let e=Q;if(e.nw||!(e.chrome||e.browser)?.runtime?.id)return!1;let t=Sm();return!(Q===Q.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(t))}function Ag(e){return[jp(),Dp(),cm(),$h(),Uh(),dg(),wg(),em(),bg(),cg(),og()]}function jg(e={}){let t=!e.skipBrowserExtensionCheck&&Og(),n=e.defaultIntegrations==null?Ag():e.defaultIntegrations,r={...e,enabled:!t&&e.enabled,stackParser:ts(e.stackParser||zh),integrations:ff({integrations:e.integrations,defaultIntegrations:n}),transport:e.transport||Dh};return Xs(Eg),gp(Km,r)}var Mg=[`activate`,`mount`],Ng=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,Pg=/(?:^|[-_])(\w)/g,Fg=e=>e.replace(Pg,e=>e.toUpperCase()).replace(/[-_]/g,``),Ig=`<Root>`,Lg=`<Anonymous>`,Rg=(e,t)=>e.repeat(t),zg=(e,t)=>{if(!e)return Lg;if(e.$root===e)return Ig;if(!e.$options)return Lg;let n=e.$options,r=n.name||n._componentTag||n.__name,i=n.__file;if(!r&&i){let e=i.match(/([^/\\]+)\.vue$/);e&&(r=e[1])}return(r?`<${Fg(r)}>`:Lg)+(i&&t!==!1?` at ${i}`:``)},Bg=e=>{if(e&&(e._isVue||e.__isVue)&&e.$parent){let t=[],n=0;for(;e;){if(t.length>0){let 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` 19 20found in 21 22${t.map((e,t)=>`${(t===0?`---> `:Rg(` `,5+t*2))+(Array.isArray(e)?`${zg(e[0])}... (${e[1]} recursive calls)`:zg(e))}`).join(` 23`)}`}return` 24 25(found in ${zg(e)})`},Vg=(e,t)=>{let{errorHandler:n}=e.config;e.config.errorHandler=(r,i,a)=>{let o={componentName:zg(i,!1),lifecycleHook:a,trace:i?Bg(i):``};if(t?.attachProps!==!1&&i&&(i.$options?.propsData?o.propsData=i.$options.propsData:i.$props&&(o.propsData=i.$props)),setTimeout(()=>{Qd(r,{captureContext:{contexts:{vue:o}},mechanism:{handled:!!n,type:`auto.function.vue.error_handler`}})}),typeof n==`function`&&e.config.errorHandler)n.call(e,r,i,a);else throw r}},Hg=`ui.vue`,Ug={activate:[`activated`,`deactivated`],create:[`beforeCreate`,`created`],unmount:[`beforeUnmount`,`unmounted`],destroy:[`beforeDestroy`,`destroyed`],mount:[`beforeMount`,`mounted`],update:[`beforeUpdate`,`updated`]};function Wg(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 Gg(e,t){function n(e){return e.replace(/^<([^\s]*)>(?: at [^\s]*)?$/,`$1`)}return e.some(e=>n(t)===n(e))}var Kg=(e={})=>{let t=Sp((e.hooks||[]).concat(Mg)),n={},r=e.timeout||2e3;for(let i of t){let t=Ug[i];if(!t){Ng&&X.warn(`Unknown hook: ${i}`);continue}for(let a of t)n[a]=function(){let n=this.$root===this;n&&(this.$_sentryRootComponentSpan=this.$_sentryRootComponentSpan||ad({name:`Application Render`,op:`${Hg}.render`,attributes:{"sentry.origin":`auto.ui.vue`},onlyIfParent:!0}),Wg(this,Cc(),r));let o=zg(this,!1);if(!(n||(Array.isArray(e.trackComponents)?Gg(e.trackComponents,o):e.trackComponents))){Wg(this,Cc(),r);return}this.$_sentryComponentSpans=this.$_sentryComponentSpans||{};let s=a===t[0],c=this.$root?.$_sentryRootComponentSpan||uu();if(s){if(c){let e=this.$_sentryComponentSpans[i];e&&e.end(),this.$_sentryComponentSpans[i]=ad({name:`Vue ${o}`,op:`${Hg}.${i}`,attributes:{[dl]:`auto.ui.vue`},onlyIfParent:!0})}}else{let e=this.$_sentryComponentSpans[i];if(!e)return;e.end(),Wg(this,Cc(),r)}}}return n},qg={Vue:Y.Vue,attachProps:!0,attachErrorHandler:!0,tracingOptions:{hooks:Mg,timeout:2e3,trackComponents:!1}},Jg=`Vue`,Yg=gf((e={})=>({name:Jg,setup(t){let n={...qg,...t.getOptions(),...e};if(!n.Vue&&!n.app){Ho(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue specific errors will not be captured. Update your `Sentry.init` call with an appropriate config option: `app` (Application Instance - Vue 3) or `Vue` (Vue Constructor - Vue 2).")});return}
25n.app?(Array.isArray(n.app)?n.app:[n.app]).forEach(e=>Xg(e,n)):n.Vue&&Xg(n.Vue,n)}})),Xg=(e,t)=>{Ng&&e._instance?.isMounted===!0&&Ho(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue app is already mounted. Make sure to call `app.mount()` after `Sentry.init()`.")}),t.attachErrorHandler&&Vg(e,t),fu(t)&&e.mixin(Kg(t.tracingOptions))};function Zg(e){return!!(typeof e==`object`&&e&&(e.__isVue||e._isVue))}function Qg(e){return!!(typeof e==`object`&&e?.__v_isVNode)}function $g(e){return Zg(e)?`[VueViewModel]`:Qg(e)?`[VueVNode]`:Eg(e)}function e_(e={}){let t={defaultIntegrations:[...Ag(e),Yg()],...e};xp(t,`vue`);let n=jg(t);return Xs($g),n}var t_=[ti,ii,gi,Oi,ki,Ai,ji,Ni,Pi,Fi,Yi,Xi,Qi,Do,Mo,Po,a(e=>{let t=o(),n=t.public.glitchtipDsn;n&&(e_({app:e.vueApp,attachErrorHandler:!1,attachProps:!1,dsn:n,environment:t.public.glitchtipEnvironment||`dev`,release:t.public.appVersion||void 0,sendDefaultPii:!1,tracesSampleRate:0,replaysSessionSampleRate:0,replaysOnErrorSampleRate:0,maxBreadcrumbs:25,ignoreErrors:[`ResizeObserver loop limit exceeded`,`ResizeObserver loop completed with undelivered notifications`,`Non-Error promise rejection captured`,/extension:\//i],beforeBreadcrumb(e){if(e.data)for(let t of[`url`,`from`,`to`])typeof e.data[t]==`string`&&(e.data[t]=e.data[t].split(`?`)[0]);return e},beforeSend(e,t){return Ao(t?.originalException)||jo(t?.originalException)?null:(e.request&&={url:(e.request.url||``).split(`?`)[0]||void 0},delete e.user,e)}}),e.hook(`vue:error`,e=>{Qd(e)}),e.hook(`app:error`,e=>{Qd(e)}))})],n_={key:0,class:`snackbar alert fixed top-2 right-3 ml-3 max-w-screen-sm`,style:{"z-index":`9999999999999999`}},r_={key:0,id:`alert-1`,class:`alert-info flex items-center p-4 mb-4 text-blue-800 rounded-lg bg-blue-50 dark:bg-gray-800 dark:text-blue-400`,role:`alert`},i_=[`textContent`],a_={key:1,id:`alert-2`,class:`alert-error flex items-center p-4 mb-4 text-red-800 rounded-lg bg-red-50 dark:bg-gray-800 dark:text-red-400`,role:`alert`},o_=[`textContent`],s_={key:2,id:`alert-3`,class:`alert-success flex items-center p-4 mb-4 text-green-800 rounded-lg bg-green-50 dark:bg-gray-800 dark:text-green-400`,role:`alert`},c_=[`textContent`],l_={__name:`SpSnackbar`,setup(e){let t=f(),n=S(()=>t.open),r=S(()=>t.message),i=S(()=>t.type),a=()=>{t.toggleSnackbar({open:!1})};return(e,t)=>n.value?(B(),w(`div`,n_,[i.value===`info`?(B(),w(`div`,r_,[t[1]||=G(`i`,{class:`alert-icon fas fa-info-circle text-xl text-blue-500`},null,-1),t[2]||=G(`span`,{class:`sr-only`},`Info`,-1),G(`div`,{class:`alert-message ml-3 text-sm font-medium mr-2`,textContent:A(r.value)},null,8,i_),G(`button`,{type:`button`,class:`alert-close ml-auto -my-1.5 bg-blue-50 text-blue-500 rounded-lg focus:ring-2 focus:ring-blue-400 p-1.5 hover:bg-blue-200 inline-flex items-center justify-center h-8 w-8 dark:bg-gray-800 dark:text-blue-400 dark:hover:bg-gray-700`,"data-dismiss-target":`#alert-1`,"aria-label":`Close`,onClick:a},[...t[0]||=[G(`span`,{class:`sr-only`},`Close`,-1),G(`i`,{class:`far fa-xmark`},null,-1)]])])):E(``,!0),i.value===`error`?(B(),w(`div`,a_,[t[4]||=G(`i`,{class:`alert-icon fas fa-info-circle text-xl text-red-500`},null,-1),t[5]||=G(`span`,{class:`sr-only`},`Error`,-1),G(`div`,{class:`alert-message ml-3 text-sm font-medium mr-2`,textContent:A(r.value)},null,8,o_),G(`button`,{type:`button`,class:`alert-close ml-auto -my-1.5 bg-red-50 text-red-500 rounded-lg focus:ring-2 focus:ring-red-400 p-1.5 hover:bg-red-200 inline-flex items-center justify-center h-8 w-8 dark:bg-gray-800 dark:text-red-400 dark:hover:bg-gray-700`,"data-dismiss-target":`#alert-2`,"aria-label":`Close`,onClick:a},[...t[3]||=[G(`span`,{class:`sr-only`},`Close`,-1),G(`i`,{class:`far fa-xmark`},null,-1)]])])):E(``,!0),i.value===`success`?(B(),w(`div`,s_,[t[7]||=G(`i`,{class:`alert-icon fas fa-info-circle text-xl text-green-500`},null,-1),t[8]||=G(`span`,{class:`sr-only`},`Success`,-1),G(`div`,{class:`alert-message ml-3 text-sm font-medium mr-2`,textContent:A(r.value)},null,8,c_),G(`button`,{type:`button`,class:`alert-close ml-auto -my-1.5 bg-green-50 text-green-500 rounded-lg focus:ring-2 focus:ring-green-400 p-1.5 hover:bg-green-200 inline-flex items-center justify-center h-8 w-8 dark:bg-gray-800 dark:text-green-400 dark:hover:bg-gray-700`,"data-dismiss-target":`#alert-3`,"aria-label":`Close`,onClick:a},[...t[6]||=[G(`span`,{class:`sr-only`},`Close`,-1),G(`i`,{class:`far fa-xmark`},null,-1)]])])):E(``,!0)])):E(``,!0)}},u_=(e=`RouteProvider`)=>j({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean,routeRecord:Object},setup(e){let t=e.renderKey,n=e.route,r={};for(let i in e.route)Object.defineProperty(r,i,{get:()=>t===e.renderKey?e.route[i]:n[i],enumerable:!0});return oe(Ke,ce(r)),()=>e.vnode?k(e.vnode,{ref:e.vnodeRef}):e.vnode}}),d_=u_(),f_=new WeakMap,p_=j({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}){let i=g(),a=Ee(),o=P(Ke,null),s=new Set,c;r({pageRef:a});let l=P(Fe,null),u,d=i.deferHydration(),f=!1,p=!1,m,h=0;if(i.isHydrating){let e=i.hooks.hookOnce(`app:error`,d),t=je().beforeEach(()=>{e(),t()})}e.pageKey&&W(()=>e.pageKey,(e,t)=>{e!==t&&i.callHook(`page:loading:start`)});let _=!1;{let e=je().beforeResolve(()=>{_=!1});z(()=>{e(),d()})}return()=>k(dr,{name:e.name,route:e.route,...t},{default:g_(t=>{let r=m_(o,t.route,t.Component),g=o&&o.matched.length===t.route.matched.length;if(!t.Component){if(u&&!g&&!v_(u))return u;d();return}if(u&&l&&!v_(u)&&!l.isCurrent(t.route))return u;if(r&&o&&(!l||l?.isCurrent(o)))return(g||u)&&!v_(u)?u:null;let ee=xi(t,e.pageKey),v=h_(o,t.route,t.Component);!i.isHydrating&&c===ee&&!v&&R(()=>{_||(_=!0,i.callHook(`page:loading:end`))}),f&&c!==ee&&p&&h++,c=ee;let y=!!(e.transition??t.route.meta.pageTransition??!1),b=y&&ct([e.transition,t.route.meta.pageTransition,!1,{onAfterLeave(){i[`~transitionFinish`]?.(),delete i[`~transitionFinish`],delete i[`~transitionPromise`],i.callHook(`page:transition:finish`,t.Component)}}]),x=e.keepalive??t.route.meta.keepalive??!1,S=t.Component.type,C=S.name||S.__name;t.route.meta.keepalive&&C&&s.add(C);let w;if(s.size>0&&e.keepalive==null&&(!x||typeof x==`object`&&x&&x.include)){let e=typeof x==`object`&&x?{...x}:{},t=e.include?Array.isArray(e.include)?e.include:[e.include]:[];w={...e,include:Array.from(new Set([...t,...s]))}}else w=x;return u=St(y&&b,Si(w,k(se,{key:h,suspensible:!0,onPending:()=>{f=!0,y&&!i[`~transitionPromise`]&&(i[`~transitionPromise`]=new Promise(e=>{i[`~transitionFinish`]=e})),m=i.callHook(`page:start`,t.Component)}
25,onResolve:async()=>{f=!1,p=!0,i.isHydrating&&i[`~restoreDeferredRoute`]?.();try{await R(),i._route.sync?.(),await m,await i.callHook(`page:finish`,t.Component),!_&&!v&&(_=!0,await i.callHook(`page:loading:end`))}finally{d()}}},{default:()=>{let e={key:ee||void 0,vnode:n.default?__(n.default,t):t.Component,route:t.route,renderKey:ee||void 0,trackRootNodes:y,vnodeRef:a,routeRecord:void 0};if(!w)return k(d_,e);let r=S,i=f_.get(r);return i||(i=u_(C),f_.set(r,i)),k(i,e)}}))).default(),u})})}});function m_(e,t,n){if(!e)return!1;let r=t.matched.findIndex(e=>e.components?.default===n?.type);if(r===-1)return!1;let i=t.matched.slice(0,r).filter(e=>e.components?.default);if(!i.length)return!1;let a=e.matched.filter(e=>e.components?.default);return i.some((e,t)=>e.components?.default!==a[t]?.components?.default)||n&&xi({route:t,Component:n})!==xi({route:e,Component:n})}function h_(e,t,n){return e?t.matched.findIndex(e=>e.components?.default===n?.type)<t.matched.length-1:!1}function g_(e){let t=(t=>{let n=e(t);return Array.isArray(n)?n:n==null||!De(n)?[E()]:[n]});return t._n=!0,t}function __(e,t){let n=e(t);return n.length===1?k(n[0]):k(Se,void 0,n)}function v_(e){return!!e&&(!!e.suspense?.isUnmounted||!!e.component?.isUnmounted)}var y_=j({name:`LayoutLoader`,inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>k(Zi[e.name],e.layoutProps,t.slots)}}),b_=j({name:`NuxtLayout`,inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},setup(e,t){let n=g(),r=P(Ke),i=!r||r===Xe()?nt():r,a=S(()=>{let t=Ji(i,e.name);return t&&!(t in Zi)&&e.fallback&&(t=T(e.fallback)),t});oe(Ne,a);let o=we();t.expose({layoutRef:o});let s=n.deferHydration();if(n.isHydrating){let e=n.hooks.hookOnce(`app:error`,s),t=je().beforeEach(()=>{e(),t()})}let c;return()=>{let r=!!a.value&&a.value in Zi&&!!(i?.meta.layoutTransition??!1),l=r&&ct([i?.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=a.value,St(l,{default:()=>k(se,{suspensible:!0,onResolve:async()=>{await R(s)}},{default:()=>k(x_,{layoutProps:x(t.attrs,i.meta.layoutProps??{},{ref:o}),key:a.value||void 0,name:a.value,shouldProvide:!e.name,isRenderingNewLayout:e=>e!==u&&e===a.value,hasTransition:r},t.slots)})}).default()}}}),x_=j({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){let n=e.name;e.shouldProvide&&oe(Fe,{isCurrent:e=>n===!1||n===Ji(e)});let r=P(Ke),i=r&&r===Xe(),a=P(Fe,null);if(i){let t=nt(),n={};for(let i in t){let o=i;Object.defineProperty(n,o,{enumerable:!0,get:()=>e.isRenderingNewLayout(e.name)&&(!a||a.isCurrent(t))?t[o]:r[o]})}oe(Ke,ce(n))}return()=>!n||typeof n==`string`&&!(n in Zi)?t.slots.default?.():k(y_,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}),S_={};function C_(e,t){let n=l_,r=p_,i=b_;return B(),I(i,null,{default:he(()=>[fe(n),fe(r)]),_:1})}var w_=nn(S_,[[`render`,C_]]),T_={key:0,class:`page-root error-page bg-sp w-full flex-col px-16 md:px-0 h-screen flex items-center justify-center`},E_={class:`error-container bg-white border border-gray-200 flex flex-col items-center justify-around px-4 md:px-8 lg:px-24 py-8 rounded-lg shadow-2xl`},D_={class:`error-code text-6xl md:text-7xl lg:text-9xl font-bold tracking-wider text-sp`},O_={class:`error-message text-gray-500 mt-4 text-xl pb-4 text-center`},k_={key:0,class:`back-home-link flex hover:scale-105 transition duration-300 ease-in-out items-center space-x-2 text-xl text-gray-100 px-4 py-2 mt-6 rounded`,href:`/`,title:`Return Home`},A_={key:1,class:`text-white border mt-3 rounded p-2`},j_={class:`whitespace-pre-wrap break-words`},M_={key:1,class:`page-root maintenance-page`},N_={__name:`error`,setup(e){let t=it(),n=o(),r=je(),i=S(()=>r.currentRoute.value.path!==`/`),a=S(()=>{switch(t.value.statusCode){case 404:return`Oops! Looks like the page you are looking for does not exist.`;case 406:return`Server is in maintenance mode. Please try again later.`;case 410:return`Sorry, the page you are looking for is permanently closed.`;default:return`Oops! Looks like something went wrong.`}}),s=S(()=>t.value.statusCode===406),c=S(()=>t.value.statusCode||500),l=S(()=>t.value.message||`Internal Server Error`),u=S(()=>t.value.stack||``),d=Ee(``),f=S(()=>({error:{statusCode:c.value,message:l.value,stack:u.value,url:d.value}}));return ne(async()=>{d.value=window.location.href;let e=`nuxt-chunk-error-detected`;if(sessionStorage.getItem(e)===`true`){sessionStorage.removeItem(e);return}if(jo(t.value)){let e=`nuxt-chunk-reload`;if(sessionStorage.getItem(e)!==d.value){sessionStorage.setItem(e,d.value),window.location.reload();return}sessionStorage.removeItem(e);return}if(c.value!==410)try{await h().axios.post(`/something-went-wrong`,{payload:btoa(JSON.stringify(f.value))})}catch(e){console.error(`Failed to send error report`),console.error(e)}}),Je({link:[{rel:`shortcut icon`,href:`https://goreview-eb.s3.eu-west-1.amazonaws.com/uploads/enterprise/1/favicon.png`,type:`image/x-icon`},{rel:`shortcut icon`,href:`https://goreview-eb.s3.eu-west-1.amazonaws.com/uploads/enterprise/1/favicon.svg`},{rel:`apple-touch-icon`,href:`https://goreview-eb.s3.eu-west-1.amazonaws.com/uploads/enterprise/1/favicon.png`},{rel:`apple-touch-icon`,href:`https://goreview-eb.s3.eu-west-1.amazonaws.com/uploads/enterprise/1/favicon.png`,sizes:`114x114`},{rel:`apple-touch-icon`,href:`https://goreview-eb.s3.eu-west-1.amazonaws.com/uploads/enterprise/1/favicon.png`,sizes:`72x72`},{rel:`mask-icon`,href:`https://goreview-eb.s3.eu-west-1.amazonaws.com/uploads/enterprise/1/favicon.svg`}]}),(e,r)=>T(s)?(B(),w(`div`,M_,[...r[4]||=[G(`div`,{class:`maintenance-container bg-white flex flex-col items-center justify-around px-4 md:px-8 lg:px-24 py-8 rounded-lg`},[G(`p`,{class:`maintenance-message text-gray-500 mt-4 text-xl pb-4 text-center`},`Server is in maintenance mode. Please try again later.`),G(`img`,{alt:`Logo`,class:`maintenance-image`,src:`https://goreview-eb.s3.eu-west-1.amazonaws.com/images/localpages/temp-robot.jpg`})],-1)]])):(B(),w(`div`,T_,[G(`div`,E_,[G(`p`,D_,A(T(t).statusCode),1),G(`p`,O_,A(T(a)),1),r[0]||=G(`a`,{href:`https://socialplaces.io`,class:`logo-link`},[G(`img`,{alt:`Logo`,class:`logo-image w-36 mt-8`,src:`https://goreview-eb.s3.eu-west-1.amazonaws.com/uploads/enterprise/1/logo_light.svg`})],-1)]),T(i)?(B(),w(`a`,k_,[...r[1]||=[G(`svg`,{class:`h-5 w-5`,fill:`currentColor`,viewBox:`0 0 20 20`,xmlns:`http://www.w3.org/2000/svg`},[G(`path`,{"clip-rule":`evenodd`,d:`M9.707 14.707a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 1.414L7.414 9H15a1 1 0 110 2H7.414l2.293 2.293a1 1 0 010 1.414z`,"fill-rule":`evenodd`})],-1),G(`span`,null,`Return Home`,-1)]])):E(``,!0),T(n).public.environment===`development`?(B(),w(`div`,A_,[r[2]||=G(`p`,{class:`text-red-500 font-bold`},`Error Message`,-1),G(`p`,null,A(T(t).message),1),r[3]||=G(`p`,{class:`text-red-500 font-bold`},`Error Stack`,-1),G(`pre`,j_,A(T(t).stack),1)])):E(``,!0)]))}},P_=()=>null,F_={key:0},I_={__name:`nuxt-root`,setup(e){let t=g(),n=t.deferHydration();if(t.isHydrating){let e=t.hooks.hookOnce(`app:error`,n),r=je().beforeEach(()=>{e(),r()})}window.location.pathname,oe(Ke,Xe()),t.hooks.callHookWith(e=>e.map(e=>e()),`vue:setup`,[]);let i=it();function a(e,n,r){let i=t.vueApp.config.errorHandler;if(i&&!i.__nuxt_default)try{i(e,n,r)}
25catch(e){console.error("[nuxt] Error in `app.config.errorHandler`",e)}}return ve((e,n,i)=>{if(t.hooks.callHook(`vue:error`,e,n,i)?.catch(e=>console.error("[nuxt] Error in `vue:error` hook",e)),r(navigator.userAgent))return dt(t,e),!1;if(vt(e)&&(e.fatal||e.unhandled))return t.runWithContext(()=>gt(e)),a(e,n,i),!1}),(e,t)=>(B(),I(se,{onResolve:T(n)},{default:he(()=>[T(!1)?(B(),w(`div`,F_)):T(i)?(B(),I(T(N_),{key:1,error:T(i)},null,8,[`error`])):T(!1)?(B(),I(T(P_),{key:2,context:T(!1)},null,8,[`context`])):T(!1)?(B(),I(_e(T(!1)),{key:3})):(B(),I(T(w_),{key:4}))]),_:1},8,[`onResolve`]))}},L_;{let e;L_=async function(){if(e)return e;let t=!!(window.__NUXT__?.serverRendered??document.getElementById(`__NUXT_DATA__`)?.dataset.ssr===`true`),n=t?H(I_):le(I_),r=m({vueApp:n});async function i(e){await r.callHook(`app:error`,e),r.payload.error||=Tt(e)}i.__nuxt_default=!0,n.config.errorHandler=i,r.hook(`app:suspense:resolve`,()=>{n.config.errorHandler===i&&(n.config.errorHandler=void 0)}),!t&&d.id&&r.hook(`app:suspense:resolve`,()=>{document.getElementById(d.id)?.remove()});try{await p(r,t_)}catch(e){i(e)}try{await r.hooks.callHook(`app:created`,n),await r.hooks.callHook(`app:beforeMount`,n),n.mount(v),await r.hooks.callHook(`app:mounted`,n),await R()}catch(e){i(e)}return n},e=L_().catch(e=>{throw t.NUXT_E1009({cause:e}),e})}
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.