const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ErrorPage-B1yUsTD2.js","assets/primevue-9Ou1e4kv.js","assets/vendor-CI64q2To.js","assets/i18n-CyjFLOmc.js","assets/firebase-DC7VEOka.js","assets/utils-BGJSpX6f.js","assets/Index-7qOB_GDy.js","assets/useUtils-Dwu1mVz-.js","assets/Index-DFHJGC7f.css","assets/GHG-x9z64Mfo.js","assets/Index-CKYEakZr.js","assets/useSeo-E9GVXqGk.js","assets/List-Z71Lz_9z.js","assets/List-ujZ4E4jG.css","assets/Index-x3nSEOeR.css","assets/Index-D6keViJT.js","assets/Index-DtCuFOeZ.css","assets/Item-C5VPWdtx.js","assets/Item-COIz_6Pj.css","assets/Index-BGD-mW4S.js","assets/LoginWithToken-BqbcewBC.js","assets/Index-BkDszywi.js","assets/useAddress-CZ079Qgm.js","assets/ForgotPassword-Cv4nXNDu.js","assets/Register-DP7IfyTz.js","assets/Form-BUXc4TSS.js","assets/MyFavorites-BvvBXZBe.js","assets/MyBids-DhPO-tS9.js","assets/MyBids-C078h9W3.css","assets/MySettings-D040Zjd9.js","assets/MySettings-D5IKcoRk.css","assets/EditCompany-CKfVmnpO.js","assets/MyFilters-hAsoLLrO.js","assets/CustomEmailHandler-CbL4Zzk1.js","assets/404-CVIUDqcC.js"])))=>i.map(i=>d[i]);
import{S as Dm,N as Pm,U as Fm,i as jm,r as kt,V as Hm,W as Um,X as zm,Y as Wm,g as qm,Z as Vm,C as dr,_ as Ym,$ as Gm,w as Km,a0 as Hd,h as Ae,f as ke,j as C,a1 as Xm,e as At,F as Jm,x as he,v as Oe,t as ge,a2 as X,s as us,o as Zm,Q as Qm,d as an,a3 as cn,B as ln,D as _c,A as Ye,l as eg,a4 as tg,a5 as rg}from"./vendor-CI64q2To.js";import{c as og,u as Ud}from"./i18n-CyjFLOmc.js";import{i as ng,g as ig,a as sg,s as Cn,c as ag,b as cg,d as lg,e as dg,E as Sc,r as wc,u as ug,v as fg,o as pg}from"./firebase-DC7VEOka.js";import{s as $i,a as mg,b as gg,c as hg,t as bg,T as yg,C as vg,P as kg}from"./primevue-9Ou1e4kv.js";import{r as _g,g as Sg}from"./utils-BGJSpX6f.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))o(n);new MutationObserver(n=>{for(const i of n)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&o(s)}).observe(document,{childList:!0,subtree:!0});function r(n){const i={};return n.integrity&&(i.integrity=n.integrity),n.referrerPolicy&&(i.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?i.credentials="include":n.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function o(n){if(n.ep)return;n.ep=!0;const i=r(n);fetch(n.href,i)}})();function fs(e,t={},r){for(const o in e){const n=e[o],i=r?`${r}:${o}`:o;typeof n=="object"&&n!==null?fs(n,t,i):typeof n=="function"&&(t[i]=n)}return t}const zd=(()=>{if(console.createTask)return console.createTask;const e={run:t=>t()};return()=>e})();function Wd(e,t,r,o){for(let n=r;n<e.length;n+=1)try{const i=o?o.run(()=>e[n](...t)):e[n](...t);if(i instanceof Promise)return i.then(()=>Wd(e,t,n+1,o))}catch(i){return Promise.reject(i)}}function wg(e,t,r){if(e.length>0)return Wd(e,t,0,zd(r))}function Eg(e,t,r){if(e.length>0){const o=zd(r);return Promise.all(e.map(n=>o.run(()=>n(...t))))}}function Oi(e,t){for(const r of[...e])r(t)}var Cg=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,r={}){if(!e||typeof t!="function")return()=>{};const o=e;let n;for(;this._deprecatedHooks[e];)n=this._deprecatedHooks[e],e=n.to;if(n&&!r.allowDeprecated){let i=n.message;i||(i=`${o} hook has been deprecated`+(n.to?`, please use ${n.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let r,o=(...n)=>(typeof r=="function"&&r(),r=void 0,o=void 0,t(...n));return r=this.hook(e,o),r}removeHook(e,t){const r=this._hooks[e];if(r){const o=r.indexOf(t);o!==-1&&r.splice(o,1),r.length===0&&(this._hooks[e]=void 0)}}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t=="string"?{to:t}:t;const r=this._hooks[e]||[];this._hooks[e]=void 0;for(const o of r)this.hook(e,o)}deprecateHooks(e){for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=fs(e),r=Object.keys(t).map(o=>this.hook(o,t[o]));return()=>{for(const o of r)o();r.length=0}}removeHooks(e){const t=fs(e);for(const r in t)this.removeHook(r,t[r])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(wg,e,t)}callHookParallel(e,...t){return this.callHookWith(Eg,e,t)}callHookWith(e,t,r){const o=this._before||this._after?{name:t,args:r,context:{}}:void 0;this._before&&Oi(this._before,o);const n=e(this._hooks[t]?[...this._hooks[t]]:[],r,t);return n instanceof Promise?n.finally(()=>{this._after&&o&&Oi(this._after,o)}):(this._after&&o&&Oi(this._after,o),n)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function xg(){return new Cg}const Tg=new Set(["link","style","script","noscript"]),Rg=new Set(["title","titleTemplate","script","style","noscript"]),Ec=new Set(["base","meta","link","style","script","noscript"]),Ig=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),Bg=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Ag=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),Mg=new Set(["templateParams","htmlAttrs","bodyAttrs"]),$g=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),Og=["name","property","http-equiv"],Lg=new Set(["viewport","description","keywords","robots"]);function qd(e){const t=e.split(":");return t.length?$g.has(t[1]):!1}function ps(e){const{props:t,tag:r}=e;if(Bg.has(r))return r;if(r==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const o of Og)if(t[o]!==void 0){const n=t[o],i=n&&typeof n=="string"&&n.includes(":"),s=n&&Lg.has(n),c=!(i||s)&&e.key?`:key:${e.key}`:"";return`${r}:${n}${c}`}}if(e.key)return`${r}:key:${e.key}`;if(t.id)return`${r}:id:${t.id}`;if(Rg.has(r)){const o=e.textContent||e.innerHTML;if(o)return`${r}:content:${o}`}}function Cc(e){const t=e._h||e._d;if(t)return t;const r=e.textContent||e.innerHTML;return r||`${e.tag}:${Object.entries(e.props).map(([o,n])=>`${o}:${String(n)}`).join(",")}`}function zn(e,t,r){typeof e==="function"&&(!r||r!=="titleTemplate"&&!(r[0]==="o"&&r[1]==="n"))&&(e=e());const n=t?t(r,e):e;if(Array.isArray(n))return n.map(i=>zn(i,t));if(n?.constructor===Object){const i={};for(const s of Object.keys(n))i[s]=zn(n[s],t,s);return i}return n}function Ng(e,t){const r=e==="style"?new Map:new Set;function o(n){if(n==null||n===void 0)return;const i=String(n).trim();if(i)if(e==="style"){const[s,...a]=i.split(":").map(c=>c?c.trim():"");s&&a.length&&r.set(s,a.join(":"))}else i.split(" ").filter(Boolean).forEach(s=>r.add(s))}return typeof t=="string"?e==="style"?t.split(";").forEach(o):o(t):Array.isArray(t)?t.forEach(n=>o(n)):t&&typeof t=="object"&&Object.entries(t).forEach(([n,i])=>{i&&i!=="false"&&(e==="style"?r.set(String(n).trim(),String(i)):o(n))}),r}function Vd(e,t){return e.props=e.props||{},t?e.tag==="templateParams"?(e.props=t,e):(Object.entries(t).forEach(([r,o])=>{if(o===null){e.props[r]=null;return}if(r==="class"||r==="style"){e.props[r]=Ng(r,o);return}if(Ag.has(r)){if(["textContent","innerHTML"].includes(r)&&typeof o=="object"){let a=t.type;if(t.type||(a="application/json"),!a?.endsWith("json")&&a!=="speculationrules")return;t.type=a,e.props.type=a,e[r]=JSON.stringify(o)}else e[r]=o;return}const n=String(o),i=r.startsWith("data-"),s=e.tag==="meta"&&r==="content";n==="true"||n===""?e.props[r]=i||s?n:!0:!o&&i&&n==="false"?e.props[r]="false":o!==void 0&&(e.props[r]=o)}),e):e}function Dg(e,t){const r=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},o=Vd({tag:e,props:{}},r);return o.key&&Tg.has(o.tag)&&(o.props["data-hid"]=o._h=o.key),o.tag==="script"&&typeof o.innerHTML=="object"&&(o.innerHTML=JSON.stringify(o.innerHTML),o.props.type=o.props.type||"application/json"),Array.isArray(o.props.content)?o.props.content.map(n=>({...o,props:{...o.props,content:n}})):o}function Pg(e,t){if(!e)return[];typeof e=="function"&&(e=e());const r=(n,i)=>{for(let s=0;s<t.length;s++)i=t[s](n,i);return i};e=r(void 0,e);const o=[];return e=zn(e,r),Object.entries(e||{}).forEach(([n,i])=>{if(i!==void 0)for(const s of Array.isArray(i)?i:[i])o.push(Dg(n,s))}),o.flat()}const xc=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Tc={base:-10,title:10},Fg={critical:-8,high:-1,low:2},Rc={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},jg=/@import/,ho=e=>e===""||e===!0;function Hg(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let r=100;const o=Fg[t.tagPriority]||0,n=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Rc;if(t.tag in Tc)r=Tc[t.tag];else if(t.tag==="meta"){const i=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;i&&(r=Rc.meta[i])}else if(t.tag==="link"&&t.props.rel)r=n.link[t.props.rel];else if(t.tag==="script"){const i=String(t.props.type);ho(t.props.async)?r=n.script.async:t.props.src&&!ho(t.props.defer)&&!ho(t.props.async)&&i!=="module"&&!i.endsWith("json")||t.innerHTML&&!i.endsWith("json")?r=n.script.sync:(ho(t.props.defer)&&t.props.src&&!ho(t.props.async)||i==="module")&&(r=n.script.defer)}else t.tag==="style"&&(r=t.innerHTML&&jg.test(t.innerHTML)?n.style.imported:n.style.sync);return(r||100)+o}function Ic(e,t){const r=typeof t=="function"?t(e):t,o=r.key||String(e.plugins.size+1);e.plugins.get(o)||(e.plugins.set(o,r),e.hooks.addHooks(r.hooks||{}))}function Ug(e={}){const t=xg();t.addHooks(e.hooks||{});const r=!e.document,o=new Map,n=new Map,i=new Set,s={_entryCount:1,plugins:n,dirty:!1,resolvedOptions:e,hooks:t,ssr:r,entries:o,headEntries(){return[...o.values()]},use:a=>Ic(s,a),push(a,c){const l={...c||{}};delete l.head;const d=l._index??s._entryCount++,u={_i:d,input:a,options:l},m={_poll(p=!1){s.dirty=!0,!p&&i.add(d),t.callHook("entries:updated",s)},dispose(){o.delete(d)&&s.invalidate()},patch(p){(!l.mode||l.mode==="server"&&r||l.mode==="client"&&!r)&&(u.input=p,o.set(d,u),m._poll())}};return m.patch(a),m},async resolveTags(){const a={tagMap:new Map,tags:[],entries:[...s.entries.values()]};for(await t.callHook("entries:resolve",a);i.size;){const m=i.values().next().value;i.delete(m);const p=o.get(m);if(p){const f={tags:Pg(p.input,e.propResolvers||[]).map(g=>Object.assign(g,p.options)),entry:p};await t.callHook("entries:normalize",f),p._tags=f.tags.map((g,h)=>(g._w=Hg(s,g),g._p=(p._i<<10)+h,g._d=ps(g),g))}}let c=!1;a.entries.flatMap(m=>(m._tags||[]).map(p=>({...p,props:{...p.props}}))).sort(xc).reduce((m,p)=>{const f=String(p._d||p._p);if(!m.has(f))return m.set(f,p);const g=m.get(f);if((p?.tagDuplicateStrategy||(Mg.has(p.tag)?"merge":null)||(p.key&&p.key===g.key?"merge":null))==="merge"){const b={...g.props};Object.entries(p.props).forEach(([_,S])=>b[_]=_==="style"?new Map([...g.props.style||new Map,...S]):_==="class"?new Set([...g.props.class||new Set,...S]):S),m.set(f,{...p,props:b})}else p._p>>10===g._p>>10&&p.tag==="meta"&&qd(f)?(m.set(f,Object.assign([...Array.isArray(g)?g:[g],p],p)),c=!0):(p._w===g._w?p._p>g._p:p?._w<g?._w)&&m.set(f,p);return m},a.tagMap);const l=a.tagMap.get("title"),d=a.tagMap.get("titleTemplate");if(s._title=l?.textContent,d){const m=d?.textContent;if(s._titleTemplate=m,m){let p=typeof m=="function"?m(l?.textContent):m;typeof p=="string"&&!s.plugins.has("template-params")&&(p=p.replace("%s",l?.textContent||"")),l?p===null?a.tagMap.delete("title"):a.tagMap.set("title",{...l,textContent:p}):(d.tag="title",d.textContent=p)}}a.tags=Array.from(a.tagMap.values()),c&&(a.tags=a.tags.flat().sort(xc)),await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a);const u=[];for(const m of a.tags){const{innerHTML:p,tag:f,props:g}=m;if(Ig.has(f)&&!(Object.keys(g).length===0&&!m.innerHTML&&!m.textContent)&&!(f==="meta"&&!g.content&&!g["http-equiv"]&&!g.charset)){if(f==="script"&&p){if(String(g.type).endsWith("json")){const h=typeof p=="string"?p:JSON.stringify(p);m.innerHTML=h.replace(/</g,"\\u003C")}else typeof p=="string"&&(m.innerHTML=p.replace(new RegExp(`</${f}`,"g"),`<\\/${f}`));m._d=ps(m)}u.push(m)}}return u},invalidate(){for(const a of o.values())i.add(a._i);s.dirty=!0,t.callHook("entries:updated",s)}};return(e?.plugins||[]).forEach(a=>Ic(s,a)),s.hooks.callHook("init",s),e.init?.forEach(a=>a&&s.push(a)),s}async function Yd(e,t={}){const r=t.document||e.resolvedOptions.document;if(!r||!e.dirty)return;const o={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",o),!!o.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async n=>{const i=new Map,s=new Promise(p=>{e.resolveTags().then(f=>{p(f.map(g=>{const h=i.get(g._d)||0,b={tag:g,id:(h?`${g._d}:${h}`:g._d)||Cc(g),shouldRender:!0};return g._d&&qd(g._d)&&i.set(g._d,h+1),b}))})});let a=e._dom;if(!a){a={title:r.title,elMap:new Map().set("htmlAttrs",r.documentElement).set("bodyAttrs",r.body)};for(const p of["body","head"]){const f=r[p]?.children;for(const g of f){const h=g.tagName.toLowerCase();if(!Ec.has(h))continue;const b=Vd({tag:h,props:{}},{innerHTML:g.innerHTML,...g.getAttributeNames().reduce((_,S)=>(_[S]=g.getAttribute(S),_),{})||{}});if(b.key=g.getAttribute("data-hid")||void 0,b._d=ps(b)||Cc(b),a.elMap.has(b._d)){let _=1,S=b._d;for(;a.elMap.has(S);)S=`${b._d}:${_++}`;a.elMap.set(S,g)}else a.elMap.set(b._d,g)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function c(p,f,g){const h=`${p}:${f}`;a.sideEffects[h]=g,delete a.pendingSideEffects[h]}function l({id:p,$el:f,tag:g}){const h=g.tag.endsWith("Attrs");a.elMap.set(p,f),h||(g.textContent&&g.textContent!==f.textContent&&(f.textContent=g.textContent),g.innerHTML&&g.innerHTML!==f.innerHTML&&(f.innerHTML=g.innerHTML),c(p,"el",()=>{f?.remove(),a.elMap.delete(p)}));for(const b in g.props){if(!Object.prototype.hasOwnProperty.call(g.props,b))continue;const _=g.props[b];if(b.startsWith("on")&&typeof _=="function"){const w=f?.dataset;if(w&&w[`${b}fired`]){const I=b.slice(0,-5);_.call(f,new Event(I.substring(2)))}f.getAttribute(`data-${b}`)!==""&&((g.tag==="bodyAttrs"?r.defaultView:f).addEventListener(b.substring(2),_.bind(f)),f.setAttribute(`data-${b}`,""));continue}const S=`attr:${b}`;if(b==="class"){if(!_)continue;for(const w of _)h&&c(p,`${S}:${w}`,()=>f.classList.remove(w)),!f.classList.contains(w)&&f.classList.add(w)}else if(b==="style"){if(!_)continue;for(const[w,I]of _)c(p,`${S}:${w}`,()=>{f.style.removeProperty(w)}),f.style.setProperty(w,I)}else _!==!1&&_!==null&&(f.getAttribute(b)!==_&&f.setAttribute(b,_===!0?"":String(_)),h&&c(p,S,()=>f.removeAttribute(b)))}}const d=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0},m=await s;for(const p of m){const{tag:f,shouldRender:g,id:h}=p;if(g){if(f.tag==="title"){r.title=f.textContent,c("title","",()=>r.title=a.title);continue}p.$el=p.$el||a.elMap.get(h),p.$el?l(p):Ec.has(f.tag)&&d.push(p)}}for(const p of d){const f=p.tag.tagPosition||"head";p.$el=r.createElement(p.tag.tag),l(p),u[f]=u[f]||r.createDocumentFragment(),u[f].appendChild(p.$el)}for(const p of m)await e.hooks.callHook("dom:renderTag",p,r,c);u.head&&r.head.appendChild(u.head),u.bodyOpen&&r.body.insertBefore(u.bodyOpen,r.body.firstChild),u.bodyClose&&r.body.appendChild(u.bodyClose);for(const p in a.pendingSideEffects)a.pendingSideEffects[p]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:m}),n()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function zg(e={}){const t=e.domOptions?.render||Yd;e.document=e.document||(typeof window<"u"?document:void 0);const r=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return Ug({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[r?JSON.parse(r):!1,...e.init||[]]})}function Wg(e,t){let r=0;return()=>{const o=++r;t(()=>{r===o&&e()})}}const qg=(e,t)=>Pm(t)?Dm(t):t,Gd="usehead";function Vg(e){return{install(r){r.config.globalProperties.$unhead=e,r.config.globalProperties.$head=e,r.provide(Gd,e)}}.install}function Yg(){if(Fm()){const e=jm(Gd);if(!e)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function dD(e,t={}){const r=t.head||Yg();return r.ssr?r.push(e||{},t):Gg(r,e,t)}function Gg(e,t,r={}){const o=kt(!1);let n;return Hm(()=>{const s=o.value?{}:zn(t,qg);n?n.patch(s):n=e.push(s,r)}),qm()&&(Um(()=>{n.dispose()}),zm(()=>{o.value=!0}),Wm(()=>{o.value=!1})),n}function Kg(e={}){const t=zg({domOptions:{render:Wg(()=>Yd(t),r=>setTimeout(r,0))},...e});return t.install=Vg(t),t}const Xg="modulepreload",Jg=function(e){return"/"+e},Bc={},we=function(t,r,o){let n=Promise.resolve();if(r&&r.length>0){let c=function(l){return Promise.all(l.map(d=>Promise.resolve(d).then(u=>({status:"fulfilled",value:u}),u=>({status:"rejected",reason:u}))))};document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),a=s?.nonce||s?.getAttribute("nonce");n=c(r.map(l=>{if(l=Jg(l),l in Bc)return;Bc[l]=!0;const d=l.endsWith(".css"),u=d?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${u}`))return;const m=document.createElement("link");if(m.rel=d?"stylesheet":Xg,d||(m.as="script"),m.crossOrigin="",m.href=l,a&&m.setAttribute("nonce",a),document.head.appendChild(m),d)return new Promise((p,f)=>{m.addEventListener("load",p),m.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${l}`)))})}))}function i(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return n.then(s=>{for(const a of s||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})};function Zg(e={}){const{immediate:t=!1,onNeedRefresh:r,onOfflineReady:o,onRegistered:n,onRegisteredSW:i,onRegisterError:s}=e;let a,c;const l=async(u=!0)=>{await c};async function d(){if("serviceWorker"in navigator){if(a=await we(async()=>{const{Workbox:u}=await import("./workbox-window.prod.es5-BIl4cyR9.js");return{Workbox:u}},[]).then(({Workbox:u})=>new u("/sw.js",{scope:"/",type:"classic"})).catch(u=>{s?.(u)}),!a)return;a.addEventListener("activated",u=>{(u.isUpdate||u.isExternal)&&window.location.reload()}),a.addEventListener("installed",u=>{u.isUpdate||o?.()}),a.register({immediate:t}).then(u=>{i?i("/sw.js",u):n?.(u)}).catch(u=>{s?.(u)})}}return c=d(),l}const N=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,ee=globalThis,mr="10.34.0";function Tr(){return fi(ee),ee}function fi(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||mr,t[mr]=t[mr]||{}}function ro(e,t,r=ee){const o=r.__SENTRY__=r.__SENTRY__||{},n=o[mr]=o[mr]||{};return n[e]||(n[e]=t())}const Qg=["debug","info","warn","error","log","assert","trace"],eh="Sentry Logger ",Wn={};function zt(e){if(!("console"in ee))return e();const t=ee.console,r={},o=Object.keys(Wn);o.forEach(n=>{const i=Wn[n];r[n]=t[n],t[n]=i});try{return e()}finally{o.forEach(n=>{t[n]=r[n]})}}function th(){sa().enabled=!0}function rh(){sa().enabled=!1}function Kd(){return sa().enabled}function oh(...e){ia("log",...e)}function nh(...e){ia("warn",...e)}function ih(...e){ia("error",...e)}function ia(e,...t){N&&Kd()&&zt(()=>{ee.console[e](`${eh}[${e}]:`,...t)})}function sa(){return N?ro("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const x={enable:th,disable:rh,isEnabled:Kd,log:oh,warn:nh,error:ih},Xd=50,Sr="?",Ac=/\(error: (.*)\)/,Mc=/captureMessage|captureException/;function Jd(...e){const t=e.sort((r,o)=>r[0]-o[0]).map(r=>r[1]);return(r,o=0,n=0)=>{const i=[],s=r.split(`
`);for(let a=o;a<s.length;a++){let c=s[a];c.length>1024&&(c=c.slice(0,1024));const l=Ac.test(c)?c.replace(Ac,"$1"):c;if(!l.match(/\S*Error: /)){for(const d of t){const u=d(l);if(u){i.push(u);break}}if(i.length>=Xd+n)break}}return ah(i.slice(n))}}function sh(e){return Array.isArray(e)?Jd(...e):e}function ah(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(dn(t).function||"")&&t.pop(),t.reverse(),Mc.test(dn(t).function||"")&&(t.pop(),Mc.test(dn(t).function||"")&&t.pop()),t.slice(0,Xd).map(r=>({...r,filename:r.filename||dn(t).filename,function:r.function||Sr}))}function dn(e){return e[e.length-1]||{}}const Li="<anonymous>";function Dt(e){try{return!e||typeof e!="function"?Li:e.name||Li}catch{return Li}}function $c(e){const t=e.exception;if(t){const r=[];try{return t.values.forEach(o=>{o.stacktrace.frames&&r.push(...o.stacktrace.frames)}),r}catch{return}}}function Zd(e){return"__v_isVNode"in e&&e.__v_isVNode?"[VueVNode]":"[VueViewModel]"}const xn={},Oc={};function or(e,t){xn[e]=xn[e]||[],xn[e].push(t)}function nr(e,t){if(!Oc[e]){Oc[e]=!0;try{t()}catch(r){N&&x.error(`Error while instrumenting ${e}`,r)}}}function at(e,t){const r=e&&xn[e];if(r)for(const o of r)try{o(t)}catch(n){N&&x.error(`Error while triggering instrumentation handler.
Type: ${e}
Name: ${Dt(o)}
Error:`,n)}}let Ni=null;function Qd(e){const t="error";or(t,e),nr(t,ch)}function ch(){Ni=ee.onerror,ee.onerror=function(e,t,r,o,n){return at("error",{column:o,error:n,line:r,msg:e,url:t}),Ni?Ni.apply(this,arguments):!1},ee.onerror.__SENTRY_INSTRUMENTED__=!0}let Di=null;function eu(e){const t="unhandledrejection";or(t,e),nr(t,lh)}function lh(){Di=ee.onunhandledrejection,ee.onunhandledrejection=function(e){return at("unhandledrejection",e),Di?Di.apply(this,arguments):!0},ee.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const tu=Object.prototype.toString;function pi(e){switch(tu.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return Pt(e,Error)}}function oo(e,t){return tu.call(e)===`[object ${t}]`}function ru(e){return oo(e,"ErrorEvent")}function Lc(e){return oo(e,"DOMError")}function dh(e){return oo(e,"DOMException")}function $t(e){return oo(e,"String")}function aa(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function qr(e){return e===null||aa(e)||typeof e!="object"&&typeof e!="function"}function Ro(e){return oo(e,"Object")}function mi(e){return typeof Event<"u"&&Pt(e,Event)}function uh(e){return typeof Element<"u"&&Pt(e,Element)}function fh(e){return oo(e,"RegExp")}function no(e){return!!(e?.then&&typeof e.then=="function")}function ph(e){return Ro(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function Pt(e,t){try{return e instanceof t}catch{return!1}}function ou(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue||e.__v_isVNode))}function ca(e){return typeof Request<"u"&&Pt(e,Request)}const la=ee,mh=80;function Qe(e,t={}){if(!e)return"<unknown>";try{let r=e;const o=5,n=[];let i=0,s=0;const a=" > ",c=a.length;let l;const d=Array.isArray(t)?t:t.keyAttrs,u=!Array.isArray(t)&&t.maxStringLength||mh;for(;r&&i++<o&&(l=gh(r,d),!(l==="html"||i>1&&s+n.length*c+l.length>=u));)n.push(l),s+=l.length,r=r.parentNode;return n.reverse().join(a)}catch{return"<unknown>"}}function gh(e,t){const r=e,o=[];if(!r?.tagName)return"";if(la.HTMLElement&&r instanceof HTMLElement&&r.dataset){if(r.dataset.sentryComponent)return r.dataset.sentryComponent;if(r.dataset.sentryElement)return r.dataset.sentryElement}o.push(r.tagName.toLowerCase());const n=t?.length?t.filter(s=>r.getAttribute(s)).map(s=>[s,r.getAttribute(s)]):null;if(n?.length)n.forEach(s=>{o.push(`[${s[0]}="${s[1]}"]`)});else{r.id&&o.push(`#${r.id}`);const s=r.className;if(s&&$t(s)){const a=s.split(/\s+/);for(const c of a)o.push(`.${c}`)}}const i=["aria-label","type","name","title","alt"];for(const s of i){const a=r.getAttribute(s);a&&o.push(`[${s}="${a}"]`)}return o.join("")}function io(){try{return la.document.location.href}catch{return""}}function nu(e){if(!la.HTMLElement)return null;let t=e;const r=5;for(let o=0;o<r;o++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}function Ke(e,t,r){if(!(t in e))return;const o=e[t];if(typeof o!="function")return;const n=r(o);typeof n=="function"&&iu(n,o);try{e[t]=n}catch{N&&x.log(`Failed to replace method "${t}" in object`,e)}}function et(e,t,r){try{Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0})}catch{N&&x.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function iu(e,t){try{const r=t.prototype||{};e.prototype=t.prototype=r,et(e,"__sentry_original__",t)}catch{}}function da(e){return e.__sentry_original__}function su(e){if(pi(e))return{message:e.message,name:e.name,stack:e.stack,...Dc(e)};if(mi(e)){const t={type:e.type,target:Nc(e.target),currentTarget:Nc(e.currentTarget),...Dc(e)};return typeof CustomEvent<"u"&&Pt(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function Nc(e){try{return uh(e)?Qe(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function Dc(e){if(typeof e=="object"&&e!==null){const t={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}else return{}}function hh(e){const t=Object.keys(su(e));return t.sort(),t[0]?t.join(", "):"[object has no keys]"}let Ar;function Ho(e){if(Ar!==void 0)return Ar?Ar(e):e();const t=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),r=ee;return t in r&&typeof r[t]=="function"?(Ar=r[t],Ar(e)):(Ar=null,e())}function Kt(){return Ho(()=>Math.random())}function Uo(){return Ho(()=>Date.now())}function ms(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function Pc(e,t){if(!Array.isArray(e))return"";const r=[];for(let o=0;o<e.length;o++){const n=e[o];try{ou(n)?r.push(Zd(n)):r.push(String(n))}catch{r.push("[value cannot be serialized]")}}return r.join(t)}function Tn(e,t,r=!1){return $t(e)?fh(t)?t.test(e):$t(t)?r?e===t:e.includes(t):!1:!1}function Ot(e,t=[],r=!1){return t.some(o=>Tn(e,o,r))}function bh(){const e=ee;return e.crypto||e.msCrypto}let Pi;function yh(){return Kt()*16}function nt(e=bh()){try{if(e?.randomUUID)return Ho(()=>e.randomUUID()).replace(/-/g,"")}catch{}return Pi||(Pi="10000000100040008000"+1e11),Pi.replace(/[018]/g,t=>(t^(yh()&15)>>t/4).toString(16))}function au(e){return e.exception?.values?.[0]}function lr(e){const{message:t,event_id:r}=e;if(t)return t;const o=au(e);return o?o.type&&o.value?`${o.type}: ${o.value}`:o.type||o.value||r||"<unknown>":r||"<unknown>"}function gs(e,t,r){const o=e.exception=e.exception||{},n=o.values=o.values||[],i=n[0]=n[0]||{};i.value||(i.value=t||""),i.type||(i.type="Error")}function Vr(e,t){const r=au(e);if(!r)return;const o={type:"generic",handled:!0},n=r.mechanism;if(r.mechanism={...o,...n,...t},t&&"data"in t){const i={...n?.data,...t.data};r.mechanism.data=i}}function Fc(e){if(vh(e))return!0;try{et(e,"__sentry_captured__",!0)}catch{}return!1}function vh(e){try{return e.__sentry_captured__}catch{}}const cu=1e3;function Rr(){return Uo()/cu}function kh(){const{performance:e}=ee;if(!e?.now||!e.timeOrigin)return Rr;const t=e.timeOrigin;return()=>(t+Ho(()=>e.now()))/cu}let jc;function Ie(){return(jc??(jc=kh()))()}let Fi=null;function _h(){const{performance:e}=ee;if(!e?.now)return;const t=3e5,r=Ho(()=>e.now()),o=Uo(),n=e.timeOrigin;if(typeof n=="number"&&Math.abs(n+r-o)<t)return n;const i=e.timing?.navigationStart;return typeof i=="number"&&Math.abs(i+r-o)<t?i:o-r}function tt(){return Fi===null&&(Fi=_h()),Fi}function Sh(e){const t=Ie(),r={sid:nt(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>Eh(r)};return e&&Yr(r,e),r}function Yr(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||Ie(),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:nt()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{const r=e.timestamp-e.started;e.duration=r>=0?r:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function wh(e,t){let r={};e.status==="ok"&&(r={status:"exited"}),Yr(e,r)}function Eh(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 zo(e,t,r=2){if(!t||typeof t!="object"||r<=0)return t;if(e&&Object.keys(t).length===0)return e;const o={...e};for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(o[n]=zo(o[n],t[n],r-1));return o}function Ft(){return nt()}function Lt(){return nt().substring(16)}const hs="_sentrySpan";function Gr(e,t){t?et(e,hs,t):delete e[hs]}function qn(e){return e[hs]}const Ch=100;class xt{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:Ft(),sampleRand:Kt()}}clone(){const t=new xt;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,Gr(t,qn(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&Yr(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,r){return this.setTags({[t]:r})}setAttributes(t){return this._attributes={...this._attributes,...t},this._notifyScopeListeners(),this}setAttribute(t,r){return this.setAttributes({[t]:r})}removeAttribute(t){return t in this._attributes&&(delete this._attributes[t],this._notifyScopeListeners()),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,r){return this._extra={...this._extra,[t]:r},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,r){return r===null?delete this._contexts[t]:this._contexts[t]=r,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;const r=typeof t=="function"?t(this):t,o=r instanceof xt?r.getScopeData():Ro(r)?t:void 0,{tags:n,attributes:i,extra:s,user:a,contexts:c,level:l,fingerprint:d=[],propagationContext:u}=o||{};return this._tags={...this._tags,...n},this._attributes={...this._attributes,...i},this._extra={...this._extra,...s},this._contexts={...this._contexts,...c},a&&Object.keys(a).length&&(this._user=a),l&&(this._level=l),d.length&&(this._fingerprint=d),u&&(this._propagationContext=u),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,Gr(this,void 0),this._attachments=[],this.setPropagationContext({traceId:Ft(),sampleRand:Kt()}),this._notifyScopeListeners(),this}addBreadcrumb(t,r){const o=typeof r=="number"?r:Ch;if(o<=0)return this;const n={timestamp:Rr(),...t,message:t.message?ms(t.message,2048):t.message};return this._breadcrumbs.push(n),this._breadcrumbs.length>o&&(this._breadcrumbs=this._breadcrumbs.slice(-o),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,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:qn(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=zo(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,r){const o=r?.event_id||nt();if(!this._client)return N&&x.warn("No client configured on scope - will not capture exception!"),o;const n=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:n,...r,event_id:o},this),o}captureMessage(t,r,o){const n=o?.event_id||nt();if(!this._client)return N&&x.warn("No client configured on scope - will not capture message!"),n;const i=o?.syntheticException??new Error(t);return this._client.captureMessage(t,r,{originalException:t,syntheticException:i,...o,event_id:n},this),n}captureEvent(t,r){const o=r?.event_id||nt();return this._client?(this._client.captureEvent(t,{...r,event_id:o},this),o):(N&&x.warn("No client configured on scope - will not capture event!"),o)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}}function xh(){return ro("defaultCurrentScope",()=>new xt)}function Th(){return ro("defaultIsolationScope",()=>new xt)}class Rh{constructor(t,r){let o;t?o=t:o=new xt;let n;r?n=r:n=new xt,this._stack=[{scope:o}],this._isolationScope=n}withScope(t){const r=this._pushScope();let o;try{o=t(r)}catch(n){throw this._popScope(),n}return no(o)?o.then(n=>(this._popScope(),n),n=>{throw this._popScope(),n}):(this._popScope(),o)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}}function Kr(){const e=Tr(),t=fi(e);return t.stack=t.stack||new Rh(xh(),Th())}function Ih(e){return Kr().withScope(e)}function Bh(e,t){const r=Kr();return r.withScope(()=>(r.getStackTop().scope=e,t(e)))}function Hc(e){return Kr().withScope(()=>e(Kr().getIsolationScope()))}function Ah(){return{withIsolationScope:Hc,withScope:Ih,withSetScope:Bh,withSetIsolationScope:(e,t)=>Hc(t),getCurrentScope:()=>Kr().getScope(),getIsolationScope:()=>Kr().getIsolationScope()}}function so(e){const t=fi(e);return t.acs?t.acs:Ah()}function fe(){const e=Tr();return so(e).getCurrentScope()}function Tt(){const e=Tr();return so(e).getIsolationScope()}function Mh(){return ro("globalScope",()=>new xt)}function gi(...e){const t=Tr(),r=so(t);if(e.length===2){const[o,n]=e;return o?r.withSetScope(o,n):r.withScope(n)}return r.withScope(e[0])}function te(){return fe().getClient()}function $h(e){const t=e.getPropagationContext(),{traceId:r,parentSpanId:o,propagationSpanId:n}=t,i={trace_id:r,span_id:n||Lt()};return o&&(i.parent_span_id=o),i}const Xe="sentry.source",ua="sentry.sample_rate",lu="sentry.previous_trace_sample_rate",jt="sentry.op",Ce="sentry.origin",Io="sentry.idle_span_finish_reason",Wo="sentry.measurement_unit",qo="sentry.measurement_value",Uc="sentry.custom_span_name",fa="sentry.profile_id",ao="sentry.exclusive_time",Oh="sentry.link.type",Lh=0,pa=1,Le=2;function Nh(e){if(e<400&&e>=100)return{code:pa};if(e>=400&&e<500)switch(e){case 401:return{code:Le,message:"unauthenticated"};case 403:return{code:Le,message:"permission_denied"};case 404:return{code:Le,message:"not_found"};case 409:return{code:Le,message:"already_exists"};case 413:return{code:Le,message:"failed_precondition"};case 429:return{code:Le,message:"resource_exhausted"};case 499:return{code:Le,message:"cancelled"};default:return{code:Le,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:Le,message:"unimplemented"};case 503:return{code:Le,message:"unavailable"};case 504:return{code:Le,message:"deadline_exceeded"};default:return{code:Le,message:"internal_error"}}return{code:Le,message:"internal_error"}}function du(e,t){e.setAttribute("http.response.status_code",t);const r=Nh(t);r.message!=="unknown_error"&&e.setStatus(r)}const uu="_sentryScope",fu="_sentryIsolationScope";function Dh(e){try{const t=ee.WeakRef;if(typeof t=="function")return new t(e)}catch{}return e}function Ph(e){if(e){if(typeof e=="object"&&"deref"in e&&typeof e.deref=="function")try{return e.deref()}catch{return}return e}}function Fh(e,t,r){e&&(et(e,fu,Dh(r)),et(e,uu,t))}function Vn(e){const t=e;return{scope:t[uu],isolationScope:Ph(t[fu])}}const ma="sentry-",jh=/^sentry-/,Hh=8192;function pu(e){const t=zh(e);if(!t)return;const r=Object.entries(t).reduce((o,[n,i])=>{if(n.match(jh)){const s=n.slice(ma.length);o[s]=i}return o},{});if(Object.keys(r).length>0)return r}function Uh(e){if(!e)return;const t=Object.entries(e).reduce((r,[o,n])=>(n&&(r[`${ma}${o}`]=n),r),{});return Wh(t)}function zh(e){if(!(!e||!$t(e)&&!Array.isArray(e)))return Array.isArray(e)?e.reduce((t,r)=>{const o=zc(r);return Object.entries(o).forEach(([n,i])=>{t[n]=i}),t},{}):zc(e)}function zc(e){return e.split(",").map(t=>{const r=t.indexOf("=");if(r===-1)return[];const o=t.slice(0,r),n=t.slice(r+1);return[o,n].map(i=>{try{return decodeURIComponent(i.trim())}catch{return}})}).reduce((t,[r,o])=>(r&&o&&(t[r]=o),t),{})}function Wh(e){if(Object.keys(e).length!==0)return Object.entries(e).reduce((t,[r,o],n)=>{const i=`${encodeURIComponent(r)}=${encodeURIComponent(o)}`,s=n===0?i:`${t},${i}`;return s.length>Hh?(N&&x.warn(`Not adding key: ${r} with val: ${o} to baggage header due to exceeding baggage size limits.`),t):s},"")}const qh=/^o(\d+)\./,Vh=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function Yh(e){return e==="http"||e==="https"}function co(e,t=!1){const{host:r,path:o,pass:n,port:i,projectId:s,protocol:a,publicKey:c}=e;return`${a}://${c}${t&&n?`:${n}`:""}@${r}${i?`:${i}`:""}/${o&&`${o}/`}${s}`}function Gh(e){const t=Vh.exec(e);if(!t){zt(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}const[r,o,n="",i="",s="",a=""]=t.slice(1);let c="",l=a;const d=l.split("/");if(d.length>1&&(c=d.slice(0,-1).join("/"),l=d.pop()),l){const u=l.match(/^\d+/);u&&(l=u[0])}return mu({host:i,pass:n,path:c,projectId:l,port:s,protocol:r,publicKey:o})}function mu(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function Kh(e){if(!N)return!0;const{port:t,projectId:r,protocol:o}=e;return["protocol","publicKey","host","projectId"].find(s=>e[s]?!1:(x.error(`Invalid Sentry Dsn: ${s} missing`),!0))?!1:r.match(/^\d+$/)?Yh(o)?t&&isNaN(parseInt(t,10))?(x.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(x.error(`Invalid Sentry Dsn: Invalid protocol ${o}`),!1):(x.error(`Invalid Sentry Dsn: Invalid projectId ${r}`),!1)}function Xh(e){return e.match(qh)?.[1]}function Jh(e){const t=e.getOptions(),{host:r}=e.getDsn()||{};let o;return t.orgId?o=String(t.orgId):r&&(o=Xh(r)),o}function Zh(e){const t=typeof e=="string"?Gh(e):mu(e);if(!(!t||!Kh(t)))return t}function wr(e){if(typeof e=="boolean")return Number(e);const t=typeof e=="string"?parseFloat(e):e;if(!(typeof t!="number"||isNaN(t)||t<0||t>1))return t}const gu=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function Qh(e){if(!e)return;const t=e.match(gu);if(!t)return;let r;return t[3]==="1"?r=!0:t[3]==="0"&&(r=!1),{traceId:t[1],parentSampled:r,parentSpanId:t[2]}}function e0(e,t){const r=Qh(e),o=pu(t);if(!r?.traceId)return{traceId:Ft(),sampleRand:Kt()};const n=t0(r,o);o&&(o.sample_rand=n.toString());const{traceId:i,parentSpanId:s,parentSampled:a}=r;return{traceId:i,parentSpanId:s,sampled:a,dsc:o||{},sampleRand:n}}function hu(e=Ft(),t=Lt(),r){let o="";return r!==void 0&&(o=r?"-1":"-0"),`${e}-${t}${o}`}function bu(e=Ft(),t=Lt(),r){return`00-${e}-${t}-${r?"01":"00"}`}function t0(e,t){const r=wr(t?.sample_rand);if(r!==void 0)return r;const o=wr(t?.sample_rate);return o&&e?.parentSampled!==void 0?e.parentSampled?Kt()*o:o+Kt()*(1-o):Kt()}const yu=0,ga=1;let Wc=!1;function r0(e){const{spanId:t,traceId:r}=e.spanContext(),{data:o,op:n,parent_span_id:i,status:s,origin:a,links:c}=oe(e);return{parent_span_id:i,span_id:t,trace_id:r,data:o,op:n,status:s,origin:a,links:c}}function o0(e){const{spanId:t,traceId:r,isRemote:o}=e.spanContext(),n=o?t:oe(e).parent_span_id,i=Vn(e).scope,s=o?i?.getPropagationContext().propagationSpanId||Lt():t;return{parent_span_id:n,span_id:s,trace_id:r}}function n0(e){const{traceId:t,spanId:r}=e.spanContext(),o=ir(e);return hu(t,r,o)}function i0(e){const{traceId:t,spanId:r}=e.spanContext(),o=ir(e);return bu(t,r,o)}function vu(e){if(e&&e.length>0)return e.map(({context:{spanId:t,traceId:r,traceFlags:o,...n},attributes:i})=>({span_id:t,trace_id:r,sampled:o===ga,attributes:i,...n}))}function gr(e){return typeof e=="number"?qc(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?qc(e.getTime()):Ie()}function qc(e){return e>9999999999?e/1e3:e}function oe(e){if(a0(e))return e.getSpanJSON();const{spanId:t,traceId:r}=e.spanContext();if(s0(e)){const{attributes:o,startTime:n,name:i,endTime:s,status:a,links:c}=e,l="parentSpanId"in e?e.parentSpanId:"parentSpanContext"in e?e.parentSpanContext?.spanId:void 0;return{span_id:t,trace_id:r,data:o,description:i,parent_span_id:l,start_timestamp:gr(n),timestamp:gr(s)||void 0,status:ku(a),op:o[jt],origin:o[Ce],links:vu(c)}}return{span_id:t,trace_id:r,start_timestamp:0,data:{}}}function s0(e){const t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function a0(e){return typeof e.getSpanJSON=="function"}function ir(e){const{traceFlags:t}=e.spanContext();return t===ga}function ku(e){if(!(!e||e.code===Lh))return e.code===pa?"ok":e.message||"internal_error"}const hr="_sentryChildSpans",bs="_sentryRootSpan";function _u(e,t){const r=e[bs]||e;et(t,bs,r),e[hr]?e[hr].add(t):et(e,hr,new Set([t]))}function c0(e,t){e[hr]&&e[hr].delete(t)}function Rn(e){const t=new Set;function r(o){if(!t.has(o)&&ir(o)){t.add(o);const n=o[hr]?Array.from(o[hr]):[];for(const i of n)r(i)}}return r(e),Array.from(t)}function Fe(e){return e[bs]||e}function je(){const e=Tr(),t=so(e);return t.getActiveSpan?t.getActiveSpan():qn(fe())}function ys(){Wc||(zt(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),Wc=!0)}let Vc=!1;function l0(){if(Vc)return;function e(){const t=je(),r=t&&Fe(t);if(r){const o="internal_error";N&&x.log(`[Tracing] Root span: ${o} -> Global error occurred`),r.setStatus({code:Le,message:o})}}e.tag="sentry_tracingErrorCallback",Vc=!0,Qd(e),eu(e)}function ct(e){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const t=e||te()?.getOptions();return!!t&&(t.tracesSampleRate!=null||!!t.tracesSampler)}function Yc(e){x.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function Yn(e,t){if(!t?.length||!e.description)return!1;for(const r of t){if(u0(r)){if(Tn(e.description,r))return N&&Yc(e),!0;continue}if(!r.name&&!r.op)continue;const o=r.name?Tn(e.description,r.name):!0,n=r.op?e.op&&Tn(e.op,r.op):!0;if(o&&n)return N&&Yc(e),!0}return!1}function d0(e,t){const r=t.parent_span_id,o=t.span_id;if(r)for(const n of e)n.parent_span_id===o&&(n.parent_span_id=r)}function u0(e){return typeof e=="string"||e instanceof RegExp}const ha="production",Su="_frozenDsc";function In(e,t){et(e,Su,t)}function wu(e,t){const r=t.getOptions(),{publicKey:o}=t.getDsn()||{},n={environment:r.environment||ha,release:r.release,public_key:o,trace_id:e,org_id:Jh(t)};return t.emit("createDsc",n),n}function Eu(e,t){const r=t.getPropagationContext();return r.dsc||wu(r.traceId,e)}function Ht(e){const t=te();if(!t)return{};const r=Fe(e),o=oe(r),n=o.data,i=r.spanContext().traceState,s=i?.get("sentry.sample_rate")??n[ua]??n[lu];function a(f){return(typeof s=="number"||typeof s=="string")&&(f.sample_rate=`${s}`),f}const c=r[Su];if(c)return a(c);const l=i?.get("sentry.dsc"),d=l&&pu(l);if(d)return a(d);const u=wu(e.spanContext().traceId,t),m=n[Xe],p=o.description;return m!=="url"&&p&&(u.transaction=p),ct()&&(u.sampled=String(ir(r)),u.sample_rand=i?.get("sentry.sample_rand")??Vn(r).scope?.getPropagationContext().sampleRand.toString()),a(u),t.emit("createDsc",u,r),u}class Qt{constructor(t={}){this._traceId=t.traceId||Ft(),this._spanId=t.spanId||Lt()}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:yu}}end(t){}setAttribute(t,r){return this}setAttributes(t){return this}setStatus(t){return this}updateName(t){return this}isRecording(){return!1}addEvent(t,r,o){return this}addLink(t){return this}addLinks(t){return this}recordException(t,r){}}function ft(e,t=100,r=1/0){try{return vs("",e,t,r)}catch(o){return{ERROR:`**non-serializable** (${o})`}}}function Cu(e,t=3,r=100*1024){const o=ft(e,t);return g0(o)>r?Cu(e,t-1,r):o}function vs(e,t,r=1/0,o=1/0,n=h0()){const[i,s]=n;if(t==null||["boolean","string"].includes(typeof t)||typeof t=="number"&&Number.isFinite(t))return t;const a=f0(e,t);if(!a.startsWith("[object "))return a;if(t.__sentry_skip_normalization__)return t;const c=typeof t.__sentry_override_normalization_depth__=="number"?t.__sentry_override_normalization_depth__:r;if(c===0)return a.replace("object ","");if(i(t))return"[Circular ~]";const l=t;if(l&&typeof l.toJSON=="function")try{const p=l.toJSON();return vs("",p,c-1,o,n)}catch{}const d=Array.isArray(t)?[]:{};let u=0;const m=su(t);for(const p in m){if(!Object.prototype.hasOwnProperty.call(m,p))continue;if(u>=o){d[p]="[MaxProperties ~]";break}const f=m[p];d[p]=vs(p,f,c-1,o,n),u++}return s(t),d}function f0(e,t){try{if(e==="domain"&&t&&typeof t=="object"&&t._events)return"[Domain]";if(e==="domainEmitter")return"[DomainEmitter]";if(typeof global<"u"&&t===global)return"[Global]";if(typeof window<"u"&&t===window)return"[Window]";if(typeof document<"u"&&t===document)return"[Document]";if(ou(t))return Zd(t);if(ph(t))return"[SyntheticEvent]";if(typeof t=="number"&&!Number.isFinite(t))return`[${t}]`;if(typeof t=="function")return`[Function: ${Dt(t)}]`;if(typeof t=="symbol")return`[${String(t)}]`;if(typeof t=="bigint")return`[BigInt: ${String(t)}]`;const r=p0(t);return/^HTML(\w*)Element$/.test(r)?`[HTMLElement: ${r}]`:`[object ${r}]`}catch(r){return`**non-serializable** (${r})`}}function p0(e){const t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}function m0(e){return~-encodeURI(e).split(/%..|./).length}function g0(e){return m0(JSON.stringify(e))}function h0(){const e=new WeakSet;function t(o){return e.has(o)?!0:(e.add(o),!1)}function r(o){e.delete(o)}return[t,r]}function sr(e,t=[]){return[e,t]}function b0(e,t){const[r,o]=e;return[r,[...o,t]]}function ks(e,t){const r=e[1];for(const o of r){const n=o[0].type;if(t(o,n))return!0}return!1}function y0(e,t){return ks(e,(r,o)=>t.includes(o))}function _s(e){const t=fi(ee);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function v0(e){const[t,r]=e;let o=JSON.stringify(t);function n(i){typeof o=="string"?o=typeof i=="string"?o+i:[_s(o),i]:o.push(typeof i=="string"?_s(i):i)}for(const i of r){const[s,a]=i;if(n(`
${JSON.stringify(s)}
`),typeof a=="string"||a instanceof Uint8Array)n(a);else{let c;try{c=JSON.stringify(a)}catch{c=JSON.stringify(ft(a))}n(c)}}return typeof o=="string"?o:k0(o)}function k0(e){const t=e.reduce((n,i)=>n+i.length,0),r=new Uint8Array(t);let o=0;for(const n of e)r.set(n,o),o+=n.length;return r}function _0(e){return[{type:"span"},e]}function S0(e){const t=typeof e.data=="string"?_s(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}const w0={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",log:"log_item",metric:"metric",trace_metric:"metric"};function Gc(e){return w0[e]}function ba(e){if(!e?.sdk)return;const{name:t,version:r}=e.sdk;return{name:t,version:r}}function xu(e,t,r,o){const n=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!r&&o&&{dsn:co(o)},...n&&{trace:n}}}function E0(e,t){if(!t)return e;const r=e.sdk||{};return e.sdk={...r,name:r.name||t.name,version:r.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 C0(e,t,r,o){const n=ba(r),i={sent_at:new Date().toISOString(),...n&&{sdk:n},...!!o&&t&&{dsn:co(t)}},s="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return sr(i,[s])}function x0(e,t,r,o){const n=ba(r),i=e.type&&e.type!=="replay_event"?e.type:"event";E0(e,r?.sdk);const s=xu(e,n,o,t);return delete e.sdkProcessingMetadata,sr(s,[[{type:i},e]])}function T0(e,t){function r(p){return!!p.trace_id&&!!p.public_key}const o=Ht(e[0]),n=t?.getDsn(),i=t?.getOptions().tunnel,s={sent_at:new Date().toISOString(),...r(o)&&{trace:o},...!!i&&n&&{dsn:co(n)}},{beforeSendSpan:a,ignoreSpans:c}=t?.getOptions()||{},l=c?.length?e.filter(p=>!Yn(oe(p),c)):e,d=e.length-l.length;d&&t?.recordDroppedEvent("before_send","span",d);const u=a?p=>{const f=oe(p),g=a(f);return g||(ys(),f)}:oe,m=[];for(const p of l){const f=u(p);f&&m.push(_0(f))}return sr(s,m)}function R0(e){if(!N)return;const{description:t="< unknown name >",op:r="< unknown op >",parent_span_id:o}=oe(e),{spanId:n}=e.spanContext(),i=ir(e),s=Fe(e),a=s===e,c=`[Tracing] Starting ${i?"sampled":"unsampled"} ${a?"root ":""}span`,l=[`op: ${r}`,`name: ${t}`,`ID: ${n}`];if(o&&l.push(`parent ID: ${o}`),!a){const{op:d,description:u}=oe(s);l.push(`root ID: ${s.spanContext().spanId}`),d&&l.push(`root op: ${d}`),u&&l.push(`root description: ${u}`)}x.log(`${c}
  ${l.join(`
  `)}`)}function I0(e){if(!N)return;const{description:t="< unknown name >",op:r="< unknown op >"}=oe(e),{spanId:o}=e.spanContext(),i=Fe(e)===e,s=`[Tracing] Finishing "${r}" ${i?"root ":""}span "${t}" with ID ${o}`;x.log(s)}function B0(e,t,r,o=je()){const n=o&&Fe(o);n&&(N&&x.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${r}`),n.addEvent(e,{[qo]:t,[Wo]:r}))}function Kc(e){if(!e||e.length===0)return;const t={};return e.forEach(r=>{const o=r.attributes||{},n=o[Wo],i=o[qo];typeof n=="string"&&typeof i=="number"&&(t[r.name]={value:i,unit:n})}),t}const Xc=1e3;class hi{constructor(t={}){this._traceId=t.traceId||Ft(),this._spanId=t.spanId||Lt(),this._startTime=t.startTimestamp||Ie(),this._links=t.links,this._attributes={},this.setAttributes({[Ce]:"manual",[jt]:t.op,...t.attributes}),this._name=t.name,t.parentSpanId&&(this._parentSpanId=t.parentSpanId),"sampled"in t&&(this._sampled=t.sampled),t.endTimestamp&&(this._endTime=t.endTimestamp),this._events=[],this._isStandaloneSpan=t.isStandalone,this._endTime&&this._onSpanEnded()}addLink(t){return this._links?this._links.push(t):this._links=[t],this}addLinks(t){return this._links?this._links.push(...t):this._links=t,this}recordException(t,r){}spanContext(){const{_spanId:t,_traceId:r,_sampled:o}=this;return{spanId:t,traceId:r,traceFlags:o?ga:yu}}setAttribute(t,r){return r===void 0?delete this._attributes[t]:this._attributes[t]=r,this}setAttributes(t){return Object.keys(t).forEach(r=>this.setAttribute(r,t[r])),this}updateStartTime(t){this._startTime=gr(t)}setStatus(t){return this._status=t,this}updateName(t){return this._name=t,this.setAttribute(Xe,"custom"),this}end(t){this._endTime||(this._endTime=gr(t),I0(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[jt],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:ku(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[Ce],profile_id:this._attributes[fa],exclusive_time:this._attributes[ao],measurements:Kc(this._events),is_segment:this._isStandaloneSpan&&Fe(this)===this||void 0,segment_id:this._isStandaloneSpan?Fe(this).spanContext().spanId:void 0,links:vu(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,r,o){N&&x.log("[Tracing] Adding an event to span:",t);const n=Jc(r)?r:o||Ie(),i=Jc(r)?{}:r||{},s={name:t,time:gr(n),attributes:i};return this._events.push(s),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const t=te();if(t&&t.emit("spanEnd",this),!(this._isStandaloneSpan||this===Fe(this)))return;if(this._isStandaloneSpan){this._sampled?M0(T0([this],t)):(N&&x.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),t&&t.recordDroppedEvent("sample_rate","span"));return}const o=this._convertSpanToTransaction();o&&(Vn(this).scope||fe()).captureEvent(o)}_convertSpanToTransaction(){if(!Zc(oe(this)))return;this._name||(N&&x.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");const{scope:t,isolationScope:r}=Vn(this),o=t?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(this._sampled!==!0)return;const i=Rn(this).filter(d=>d!==this&&!A0(d)).map(d=>oe(d)).filter(Zc),s=this._attributes[Xe];delete this._attributes[Uc],i.forEach(d=>{delete d.data[Uc]});const a={contexts:{trace:r0(this)},spans:i.length>Xc?i.sort((d,u)=>d.start_timestamp-u.start_timestamp).slice(0,Xc):i,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:r,dynamicSamplingContext:Ht(this)},request:o,...s&&{transaction_info:{source:s}}},c=Kc(this._events);return c&&Object.keys(c).length&&(N&&x.log("[Measurements] Adding measurements to transaction event",JSON.stringify(c,void 0,2)),a.measurements=c),a}}function Jc(e){return e&&typeof e=="number"||e instanceof Date||Array.isArray(e)}function Zc(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function A0(e){return e instanceof hi&&e.isStandaloneSpan()}function M0(e){const t=te();if(!t)return;const r=e[1];if(!r||r.length===0){t.recordDroppedEvent("before_send","span");return}t.sendEnvelope(e)}function $0(e,t,r=()=>{},o=()=>{}){let n;try{n=e()}catch(i){throw t(i),r(),i}return O0(n,t,r,o)}function O0(e,t,r,o){return no(e)?e.then(n=>(r(),o(n),n),n=>{throw t(n),r(),n}):(r(),o(e),e)}function L0(e,t,r){if(!ct(e))return[!1];let o,n;typeof e.tracesSampler=="function"?(n=e.tracesSampler({...t,inheritOrSampleWith:a=>typeof t.parentSampleRate=="number"?t.parentSampleRate:typeof t.parentSampled=="boolean"?Number(t.parentSampled):a}),o=!0):t.parentSampled!==void 0?n=t.parentSampled:typeof e.tracesSampleRate<"u"&&(n=e.tracesSampleRate,o=!0);const i=wr(n);if(i===void 0)return N&&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(n)} of type ${JSON.stringify(typeof n)}.`),[!1];if(!i)return N&&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,i,o];const s=r<i;return s||N&&x.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(n)})`),[s,i,o]}const Tu="__SENTRY_SUPPRESS_TRACING__";function N0(e,t){const r=va();if(r.startSpan)return r.startSpan(e,t);const o=Iu(e),{forceTransaction:n,parentSpan:i,scope:s}=e,a=s?.clone();return gi(a,()=>P0(i)(()=>{const l=fe(),d=Bu(l,i),m=e.onlyIfParent&&!d?new Qt:Ru({parentSpan:d,spanArguments:o,forceTransaction:n,scope:l});return Gr(l,m),$0(()=>t(m),()=>{const{status:p}=oe(m);m.isRecording()&&(!p||p==="ok")&&m.setStatus({code:Le,message:"internal_error"})},()=>{m.end()})}))}function er(e){const t=va();if(t.startInactiveSpan)return t.startInactiveSpan(e);const r=Iu(e),{forceTransaction:o,parentSpan:n}=e;return(e.scope?s=>gi(e.scope,s):n!==void 0?s=>ya(n,s):s=>s())(()=>{const s=fe(),a=Bu(s,n);return e.onlyIfParent&&!a?new Qt:Ru({parentSpan:a,spanArguments:r,forceTransaction:o,scope:s})})}function ya(e,t){const r=va();return r.withActiveSpan?r.withActiveSpan(e,t):gi(o=>(Gr(o,e||void 0),t(o)))}function Ru({parentSpan:e,spanArguments:t,forceTransaction:r,scope:o}){if(!ct()){const s=new Qt;if(r||!e){const a={sampled:"false",sample_rate:"0",transaction:t.name,...Ht(s)};In(s,a)}return s}const n=Tt();let i;if(e&&!r)i=D0(e,o,t),_u(e,i);else if(e){const s=Ht(e),{traceId:a,spanId:c}=e.spanContext(),l=ir(e);i=Qc({traceId:a,parentSpanId:c,...t},o,l),In(i,s)}else{const{traceId:s,dsc:a,parentSpanId:c,sampled:l}={...n.getPropagationContext(),...o.getPropagationContext()};i=Qc({traceId:s,parentSpanId:c,...t},o,l),a&&In(i,a)}return R0(i),Fh(i,o,n),i}function Iu(e){const r={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){const o={...r};return o.startTimestamp=gr(e.startTime),delete o.startTime,o}return r}function va(){const e=Tr();return so(e)}function Qc(e,t,r){const o=te(),n=o?.getOptions()||{},{name:i=""}=e,s={spanAttributes:{...e.attributes},spanName:i,parentSampled:r};o?.emit("beforeSampling",s,{decision:!1});const a=s.parentSampled??r,c=s.spanAttributes,l=t.getPropagationContext(),[d,u,m]=t.getScopeData().sdkProcessingMetadata[Tu]?[!1]:L0(n,{name:i,parentSampled:a,attributes:c,parentSampleRate:wr(l.dsc?.sample_rate)},l.sampleRand),p=new hi({...e,attributes:{[Xe]:"custom",[ua]:u!==void 0&&m?u:void 0,...c},sampled:d});return!d&&o&&(N&&x.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),o.recordDroppedEvent("sample_rate","transaction")),o&&o.emit("spanStart",p),p}function D0(e,t,r){const{spanId:o,traceId:n}=e.spanContext(),i=t.getScopeData().sdkProcessingMetadata[Tu]?!1:ir(e),s=i?new hi({...r,parentSpanId:o,traceId:n,sampled:i}):new Qt({traceId:n});_u(e,s);const a=te();return a&&(a.emit("spanStart",s),r.endTimestamp&&a.emit("spanEnd",s)),s}function Bu(e,t){if(t)return t;if(t===null)return;const r=qn(e);if(!r)return;const o=te();return(o?o.getOptions():{}).parentSpanIsAlwaysRootSpan?Fe(r):r}function P0(e){return e!==void 0?t=>ya(e,t):t=>t()}const Bn={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3},F0="heartbeatFailed",j0="idleTimeout",H0="finalTimeout",U0="externalFinish";function Au(e,t={}){const r=new Map;let o=!1,n,i=U0,s=!t.disableAutoFinish;const a=[],{idleTimeout:c=Bn.idleTimeout,finalTimeout:l=Bn.finalTimeout,childSpanTimeout:d=Bn.childSpanTimeout,beforeSpanEnd:u,trimIdleSpanEndTimestamp:m=!0}=t,p=te();if(!p||!ct()){const v=new Qt,R={sample_rate:"0",sampled:"false",...Ht(v)};return In(v,R),v}const f=fe(),g=je(),h=z0(e);h.end=new Proxy(h.end,{apply(v,R,Z){if(u&&u(h),R instanceof Qt)return;const[T,...A]=Z,P=T||Ie(),D=gr(P),L=Rn(h).filter($=>$!==h),Q=oe(h);if(!L.length||!m)return B(D),Reflect.apply(v,R,[D,...A]);const F=p.getOptions().ignoreSpans,U=L?.reduce(($,q)=>{const V=oe(q);return!V.timestamp||F&&Yn(V,F)?$:$?Math.max($,V.timestamp):V.timestamp},void 0),E=Q.start_timestamp,W=Math.min(E?E+l/1e3:1/0,Math.max(E||-1/0,Math.min(D,U||1/0)));return B(W),Reflect.apply(v,R,[W,...A])}});function b(){n&&(clearTimeout(n),n=void 0)}function _(v){b(),n=setTimeout(()=>{!o&&r.size===0&&s&&(i=j0,h.end(v))},c)}function S(v){n=setTimeout(()=>{!o&&s&&(i=F0,h.end(v))},d)}function w(v){b(),r.set(v,!0);const R=Ie();S(R+d/1e3)}function I(v){if(r.has(v)&&r.delete(v),r.size===0){const R=Ie();_(R+c/1e3)}}function B(v){o=!0,r.clear(),a.forEach(L=>L()),Gr(f,g);const R=oe(h),{start_timestamp:Z}=R;if(!Z)return;R.data[Io]||h.setAttribute(Io,i);const A=R.status;(!A||A==="unknown")&&h.setStatus({code:pa}),x.log(`[Tracing] Idle span "${R.op}" finished`);const P=Rn(h).filter(L=>L!==h);let D=0;P.forEach(L=>{L.isRecording()&&(L.setStatus({code:Le,message:"cancelled"}),L.end(v),N&&x.log("[Tracing] Cancelling span since span ended early",JSON.stringify(L,void 0,2)));const Q=oe(L),{timestamp:F=0,start_timestamp:U=0}=Q,E=U<=v,W=(l+c)/1e3,$=F-U<=W;if(N){const q=JSON.stringify(L,void 0,2);E?$||x.log("[Tracing] Discarding span since it finished after idle span final timeout",q):x.log("[Tracing] Discarding span since it happened after idle span was finished",q)}(!$||!E)&&(c0(h,L),D++)}),D>0&&h.setAttribute("sentry.idle_span_discarded_spans",D)}return a.push(p.on("spanStart",v=>{if(o||v===h||oe(v).timestamp||v instanceof hi&&v.isStandaloneSpan())return;Rn(h).includes(v)&&w(v.spanContext().spanId)})),a.push(p.on("spanEnd",v=>{o||I(v.spanContext().spanId)})),a.push(p.on("idleSpanEnableAutoFinish",v=>{v===h&&(s=!0,_(),r.size&&S())})),t.disableAutoFinish||_(),setTimeout(()=>{o||(h.setStatus({code:Le,message:"deadline_exceeded"}),i=H0,h.end())},l),h}function z0(e){const t=er(e);return Gr(fe(),t),N&&x.log("[Tracing] Started span is an idle span"),t}const ji=0,el=1,tl=2;function bi(e){return new Bo(t=>{t(e)})}function ka(e){return new Bo((t,r)=>{r(e)})}class Bo{constructor(t){this._state=ji,this._handlers=[],this._runExecutor(t)}then(t,r){return new Bo((o,n)=>{this._handlers.push([!1,i=>{if(!t)o(i);else try{o(t(i))}catch(s){n(s)}},i=>{if(!r)n(i);else try{o(r(i))}catch(s){n(s)}}]),this._executeHandlers()})}catch(t){return this.then(r=>r,t)}finally(t){return new Bo((r,o)=>{let n,i;return this.then(s=>{i=!1,n=s,t&&t()},s=>{i=!0,n=s,t&&t()}).then(()=>{if(i){o(n);return}r(n)})})}_executeHandlers(){if(this._state===ji)return;const t=this._handlers.slice();this._handlers=[],t.forEach(r=>{r[0]||(this._state===el&&r[1](this._value),this._state===tl&&r[2](this._value),r[0]=!0)})}_runExecutor(t){const r=(i,s)=>{if(this._state===ji){if(no(s)){s.then(o,n);return}this._state=i,this._value=s,this._executeHandlers()}},o=i=>{r(el,i)},n=i=>{r(tl,i)};try{t(o,n)}catch(i){n(i)}}}function W0(e,t,r,o=0){try{const n=Ss(t,r,e,o);return no(n)?n:bi(n)}catch(n){return ka(n)}}function Ss(e,t,r,o){const n=r[o];if(!e||!n)return e;const i=n({...e},t);return N&&i===null&&x.log(`Event processor "${n.id||"?"}" dropped event`),no(i)?i.then(s=>Ss(s,t,r,o+1)):Ss(i,t,r,o+1)}let cr,rl,ol,qt;function q0(e){const t=ee._sentryDebugIds,r=ee._debugIds;if(!t&&!r)return{};const o=t?Object.keys(t):[],n=r?Object.keys(r):[];if(qt&&o.length===rl&&n.length===ol)return qt;rl=o.length,ol=n.length,qt={},cr||(cr={});const i=(s,a)=>{for(const c of s){const l=a[c],d=cr?.[c];if(d&&qt&&l)qt[d[0]]=l,cr&&(cr[c]=[d[0],l]);else if(l){const u=e(c);for(let m=u.length-1;m>=0;m--){const f=u[m]?.filename;if(f&&qt&&cr){qt[f]=l,cr[c]=[f,l];break}}}}};return t&&i(o,t),r&&i(n,r),qt}function V0(e,t){const{fingerprint:r,span:o,breadcrumbs:n,sdkProcessingMetadata:i}=t;G0(e,t),o&&J0(e,o),Z0(e,r),K0(e,n),X0(e,i)}function nl(e,t){const{extra:r,tags:o,attributes:n,user:i,contexts:s,level:a,sdkProcessingMetadata:c,breadcrumbs:l,fingerprint:d,eventProcessors:u,attachments:m,propagationContext:p,transactionName:f,span:g}=t;bo(e,"extra",r),bo(e,"tags",o),bo(e,"attributes",n),bo(e,"user",i),bo(e,"contexts",s),e.sdkProcessingMetadata=zo(e.sdkProcessingMetadata,c,2),a&&(e.level=a),f&&(e.transactionName=f),g&&(e.span=g),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),d.length&&(e.fingerprint=[...e.fingerprint,...d]),u.length&&(e.eventProcessors=[...e.eventProcessors,...u]),m.length&&(e.attachments=[...e.attachments,...m]),e.propagationContext={...e.propagationContext,...p}}function bo(e,t,r){e[t]=zo(e[t],r,1)}function Y0(e,t){const r=Mh().getScopeData();return e&&nl(r,e.getScopeData()),t&&nl(r,t.getScopeData()),r}function G0(e,t){const{extra:r,tags:o,user:n,contexts:i,level:s,transactionName:a}=t;Object.keys(r).length&&(e.extra={...r,...e.extra}),Object.keys(o).length&&(e.tags={...o,...e.tags}),Object.keys(n).length&&(e.user={...n,...e.user}),Object.keys(i).length&&(e.contexts={...i,...e.contexts}),s&&(e.level=s),a&&e.type!=="transaction"&&(e.transaction=a)}function K0(e,t){const r=[...e.breadcrumbs||[],...t];e.breadcrumbs=r.length?r:void 0}function X0(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function J0(e,t){e.contexts={trace:o0(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:Ht(t),...e.sdkProcessingMetadata};const r=Fe(t),o=oe(r).description;o&&!e.transaction&&e.type==="transaction"&&(e.transaction=o)}function Z0(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}function Mu(e,t,r,o,n,i){const{normalizeDepth:s=3,normalizeMaxBreadth:a=1e3}=e,c={...t,event_id:t.event_id||r.event_id||nt(),timestamp:t.timestamp||Rr()},l=r.integrations||e.integrations.map(h=>h.name);Q0(c,e),rb(c,l),n&&n.emit("applyFrameMetadata",t),t.type===void 0&&eb(c,e.stackParser);const d=nb(o,r.captureContext);r.mechanism&&Vr(c,r.mechanism);const u=n?n.getEventProcessors():[],m=Y0(i,d),p=[...r.attachments||[],...m.attachments];p.length&&(r.attachments=p),V0(c,m);const f=[...u,...m.eventProcessors];return W0(f,c,r).then(h=>(h&&tb(h),typeof s=="number"&&s>0?ob(h,s,a):h))}function Q0(e,t){const{environment:r,release:o,dist:n,maxValueLength:i}=t;e.environment=e.environment||r||ha,!e.release&&o&&(e.release=o),!e.dist&&n&&(e.dist=n);const s=e.request;s?.url&&i&&(s.url=ms(s.url,i)),i&&e.exception?.values?.forEach(a=>{a.value&&(a.value=ms(a.value,i))})}function eb(e,t){const r=q0(t);e.exception?.values?.forEach(o=>{o.stacktrace?.frames?.forEach(n=>{n.filename&&(n.debug_id=r[n.filename])})})}function tb(e){const t={};if(e.exception?.values?.forEach(o=>{o.stacktrace?.frames?.forEach(n=>{n.debug_id&&(n.abs_path?t[n.abs_path]=n.debug_id:n.filename&&(t[n.filename]=n.debug_id),delete n.debug_id)})}),Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const r=e.debug_meta.images;Object.entries(t).forEach(([o,n])=>{r.push({type:"sourcemap",code_file:o,debug_id:n})})}function rb(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function ob(e,t,r){if(!e)return null;const o={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(n=>({...n,...n.data&&{data:ft(n.data,t,r)}}))},...e.user&&{user:ft(e.user,t,r)},...e.contexts&&{contexts:ft(e.contexts,t,r)},...e.extra&&{extra:ft(e.extra,t,r)}};return e.contexts?.trace&&o.contexts&&(o.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(o.contexts.trace.data=ft(e.contexts.trace.data,t,r))),e.spans&&(o.spans=e.spans.map(n=>({...n,...n.data&&{data:ft(n.data,t,r)}}))),e.contexts?.flags&&o.contexts&&(o.contexts.flags=ft(e.contexts.flags,3,r)),o}function nb(e,t){if(!t)return e;const r=e?e.clone():new xt;return r.update(t),r}function ib(e){if(e)return sb(e)?{captureContext:e}:cb(e)?{captureContext:e}:e}function sb(e){return e instanceof xt||typeof e=="function"}const ab=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function cb(e){return Object.keys(e).some(t=>ab.includes(t))}function yi(e,t){return fe().captureException(e,ib(t))}function $u(e,t){return fe().captureEvent(e,t)}function lb(e,t){Tt().setContext(e,t)}function db(){const e=te();return e?.getOptions().enabled!==!1&&!!e?.getTransport()}function ub(e){Tt().addEventProcessor(e)}function il(e){const t=Tt(),r=fe(),{userAgent:o}=ee.navigator||{},n=Sh({user:r.getUser()||t.getUser(),...o&&{userAgent:o},...e}),i=t.getSession();return i?.status==="ok"&&Yr(i,{status:"exited"}),Ou(),t.setSession(n),n}function Ou(){const e=Tt(),r=fe().getSession()||e.getSession();r&&wh(r),Lu(),e.setSession()}function Lu(){const e=Tt(),t=te(),r=e.getSession();r&&t&&t.captureSession(r)}function sl(e=!1){if(e){Ou();return}Lu()}const fb="7";function pb(e){const t=e.protocol?`${e.protocol}:`:"",r=e.port?`:${e.port}`:"";return`${t}//${e.host}${r}${e.path?`/${e.path}`:""}/api/`}function mb(e){return`${pb(e)}${e.projectId}/envelope/`}function gb(e,t){const r={sentry_version:fb};return e.publicKey&&(r.sentry_key=e.publicKey),t&&(r.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(r).toString()}function hb(e,t,r){return t||`${mb(e)}?${gb(e,r)}`}const al=[];function bb(e){const t={};return e.forEach(r=>{const{name:o}=r,n=t[o];n&&!n.isDefaultInstance&&r.isDefaultInstance||(t[o]=r)}),Object.values(t)}function yb(e){const t=e.defaultIntegrations||[],r=e.integrations;t.forEach(n=>{n.isDefaultInstance=!0});let o;if(Array.isArray(r))o=[...t,...r];else if(typeof r=="function"){const n=r(t);o=Array.isArray(n)?n:[n]}else o=t;return bb(o)}function vb(e,t){const r={};return t.forEach(o=>{o&&Nu(e,o,r)}),r}function cl(e,t){for(const r of t)r?.afterAllSetup&&r.afterAllSetup(e)}function Nu(e,t,r){if(r[t.name]){N&&x.log(`Integration skipped because it was already installed: ${t.name}`);return}if(r[t.name]=t,!al.includes(t.name)&&typeof t.setupOnce=="function"&&(t.setupOnce(),al.push(t.name)),t.setup&&typeof t.setup=="function"&&t.setup(e),typeof t.preprocessEvent=="function"){const o=t.preprocessEvent.bind(t);e.on("preprocessEvent",(n,i)=>o(n,i,e))}if(typeof t.processEvent=="function"){const o=t.processEvent.bind(t),n=Object.assign((i,s)=>o(i,s,e),{id:t.name});e.addEventProcessor(n)}N&&x.log(`Integration installed: ${t.name}`)}function kb(e){return[{type:"log",item_count:e.length,content_type:"application/vnd.sentry.items.log+json"},{items:e}]}function _b(e,t,r,o){const n={};return t?.sdk&&(n.sdk={name:t.sdk.name,version:t.sdk.version}),r&&o&&(n.dsn=co(o)),sr(n,[kb(e)])}function Du(e,t){const r=t??Sb(e)??[];if(r.length===0)return;const o=e.getOptions(),n=_b(r,o._metadata,o.tunnel,e.getDsn());Pu().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(n)}function Sb(e){return Pu().get(e)}function Pu(){return ro("clientToLogBufferMap",()=>new WeakMap)}function wb(e){return[{type:"trace_metric",item_count:e.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{items:e}]}function Eb(e,t,r,o){const n={};return t?.sdk&&(n.sdk={name:t.sdk.name,version:t.sdk.version}),r&&o&&(n.dsn=co(o)),sr(n,[wb(e)])}function Fu(e,t){const r=t??Cb(e)??[];if(r.length===0)return;const o=e.getOptions(),n=Eb(r,o._metadata,o.tunnel,e.getDsn());ju().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(n)}function Cb(e){return ju().get(e)}function ju(){return ro("clientToMetricBufferMap",()=>new WeakMap)}const _a=Symbol.for("SentryBufferFullError");function Sa(e=100){const t=new Set;function r(){return t.size<e}function o(s){t.delete(s)}function n(s){if(!r())return ka(_a);const a=s();return t.add(a),a.then(()=>o(a),()=>o(a)),a}function i(s){if(!t.size)return bi(!0);const a=Promise.allSettled(Array.from(t)).then(()=>!0);if(!s)return a;const c=[a,new Promise(l=>setTimeout(()=>l(!1),s))];return Promise.race(c)}return{get $(){return Array.from(t)},add:n,drain:i}}const xb=60*1e3;function Tb(e,t=Uo()){const r=parseInt(`${e}`,10);if(!isNaN(r))return r*1e3;const o=Date.parse(`${e}`);return isNaN(o)?xb:o-t}function Rb(e,t){return e[t]||e.all||0}function Hu(e,t,r=Uo()){return Rb(e,t)>r}function Uu(e,{statusCode:t,headers:r},o=Uo()){const n={...e},i=r?.["x-sentry-rate-limits"],s=r?.["retry-after"];if(i)for(const a of i.trim().split(",")){const[c,l,,,d]=a.split(":",5),u=parseInt(c,10),m=(isNaN(u)?60:u)*1e3;if(!l)n.all=o+m;else for(const p of l.split(";"))p==="metric_bucket"?(!d||d.split(";").includes("custom"))&&(n[p]=o+m):n[p]=o+m}else s?n.all=o+Tb(s,o):t===429&&(n.all=o+60*1e3);return n}const zu=64;function Ib(e,t,r=Sa(e.bufferSize||zu)){let o={};const n=s=>r.drain(s);function i(s){const a=[];if(ks(s,(u,m)=>{const p=Gc(m);Hu(o,p)?e.recordDroppedEvent("ratelimit_backoff",p):a.push(u)}),a.length===0)return Promise.resolve({});const c=sr(s[0],a),l=u=>{if(y0(c,["client_report"])){N&&x.warn(`Dropping client report. Will not send outcomes (reason: ${u}).`);return}ks(c,(m,p)=>{e.recordDroppedEvent(u,Gc(p))})},d=()=>t({body:v0(c)}).then(u=>(u.statusCode!==void 0&&(u.statusCode<200||u.statusCode>=300)&&N&&x.warn(`Sentry responded with status code ${u.statusCode} to sent event.`),o=Uu(o,u),u),u=>{throw l("network_error"),N&&x.error("Encountered error running transport request:",u),u});return r.add(d).then(u=>u,u=>{if(u===_a)return N&&x.error("Skipped sending event because buffer is full."),l("queue_overflow"),Promise.resolve({});throw u})}return{send:i,flush:n}}function Bb(e,t,r){const o=[{type:"client_report"},{timestamp:Rr(),discarded_events:e}];return sr(t?{dsn:t}:{},[o])}function Wu(e){const t=[];e.message&&t.push(e.message);try{const r=e.exception.values[e.exception.values.length-1];r?.value&&(t.push(r.value),r.type&&t.push(`${r.type}: ${r.value}`))}catch{}return t}function Ab(e){const{trace_id:t,parent_span_id:r,span_id:o,status:n,origin:i,data:s,op:a}=e.contexts?.trace??{};return{data:s??{},description:e.transaction,op:a,parent_span_id:r,span_id:o??"",start_timestamp:e.start_timestamp??0,status:n,timestamp:e.timestamp,trace_id:t??"",origin:i,profile_id:s?.[fa],exclusive_time:s?.[ao],measurements:e.measurements,is_segment:!0}}function Mb(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&&{[fa]:e.profile_id},...e.exclusive_time&&{[ao]:e.exclusive_time}}}},measurements:e.measurements}}const ll="Not capturing exception because it's already been captured.",dl="Discarded session because of missing or non-string release",qu=Symbol.for("SentryInternalError"),Vu=Symbol.for("SentryDoNotSendEventError"),$b=5e3;function An(e){return{message:e,[qu]:!0}}function Hi(e){return{message:e,[Vu]:!0}}function ul(e){return!!e&&typeof e=="object"&&qu in e}function fl(e){return!!e&&typeof e=="object"&&Vu in e}function pl(e,t,r,o,n){let i=0,s,a=!1;e.on(r,()=>{i=0,clearTimeout(s),a=!1}),e.on(t,c=>{i+=o(c),i>=8e5?n(e):a||(a=!0,s=setTimeout(()=>{n(e)},$b))}),e.on("flush",()=>{n(e)})}class Ob{constructor(t){if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=Sa(t.transportOptions?.bufferSize??zu),t.dsn?this._dsn=Zh(t.dsn):N&&x.warn("No DSN provided, client will not send events."),this._dsn){const o=hb(this._dsn,t.tunnel,t._metadata?t._metadata.sdk:void 0);this._transport=t.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:o})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs,this._options.enableLogs&&pl(this,"afterCaptureLog","flushLogs",Pb,Du),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&pl(this,"afterCaptureMetric","flushMetrics",Db,Fu)}captureException(t,r,o){const n=nt();if(Fc(t))return N&&x.log(ll),n;const i={event_id:n,...r};return this._process(()=>this.eventFromException(t,i).then(s=>this._captureEvent(s,i,o)).then(s=>s),"error"),i.event_id}captureMessage(t,r,o,n){const i={event_id:nt(),...o},s=aa(t)?t:String(t),a=qr(t),c=a?this.eventFromMessage(s,r,i):this.eventFromException(t,i);return this._process(()=>c.then(l=>this._captureEvent(l,i,n)),a?"unknown":"error"),i.event_id}captureEvent(t,r,o){const n=nt();if(r?.originalException&&Fc(r.originalException))return N&&x.log(ll),n;const i={event_id:n,...r},s=t.sdkProcessingMetadata||{},a=s.capturedSpanScope,c=s.capturedSpanIsolationScope,l=ml(t.type);return this._process(()=>this._captureEvent(t,i,a||o,c),l),i.event_id}captureSession(t){this.sendSession(t),Yr(t,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(t){const r=this._transport;if(!r)return!0;this.emit("flush");const o=await this._isClientDoneProcessing(t),n=await r.flush(t);return o&&n}async close(t){const r=await this.flush(t);return this.getOptions().enabled=!1,this.emit("close"),r}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}init(){(this._isEnabled()||this._options.integrations.some(({name:t})=>t.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(t){return this._integrations[t]}addIntegration(t){const r=this._integrations[t.name];Nu(this,t,this._integrations),r||cl(this,[t])}sendEvent(t,r={}){this.emit("beforeSendEvent",t,r);let o=x0(t,this._dsn,this._options._metadata,this._options.tunnel);for(const n of r.attachments||[])o=b0(o,S0(n));this.sendEnvelope(o).then(n=>this.emit("afterSendEvent",t,n))}sendSession(t){const{release:r,environment:o=ha}=this._options;if("aggregates"in t){const i=t.attrs||{};if(!i.release&&!r){N&&x.warn(dl);return}i.release=i.release||r,i.environment=i.environment||o,t.attrs=i}else{if(!t.release&&!r){N&&x.warn(dl);return}t.release=t.release||r,t.environment=t.environment||o}this.emit("beforeSendSession",t);const n=C0(t,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(n)}recordDroppedEvent(t,r,o=1){if(this._options.sendClientReports){const n=`${t}:${r}`;N&&x.log(`Recording outcome: "${n}"${o>1?` (${o} times)`:""}`),this._outcomes[n]=(this._outcomes[n]||0)+o}}on(t,r){const o=this._hooks[t]=this._hooks[t]||new Set,n=(...i)=>r(...i);return o.add(n),()=>{o.delete(n)}}emit(t,...r){const o=this._hooks[t];o&&o.forEach(n=>n(...r))}async sendEnvelope(t){if(this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport)try{return await this._transport.send(t)}catch(r){return N&&x.error("Error while sending envelope:",r),{}}return N&&x.error("Transport disabled"),{}}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=vb(this,t),cl(this,t)}_updateSessionFromEvent(t,r){let o=r.level==="fatal",n=!1;const i=r.exception?.values;if(i){n=!0,o=!1;for(const c of i)if(c.mechanism?.handled===!1){o=!0;break}}const s=t.status==="ok";(s&&t.errors===0||s&&o)&&(Yr(t,{...o&&{status:"crashed"},errors:t.errors||Number(n||o)}),this.captureSession(t))}async _isClientDoneProcessing(t){let r=0;for(;!t||r<t;){if(await new Promise(o=>setTimeout(o,1)),!this._numProcessing)return!0;r++}return!1}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(t,r,o,n){const i=this.getOptions(),s=Object.keys(this._integrations);return!r.integrations&&s?.length&&(r.integrations=s),this.emit("preprocessEvent",t,r),t.type||n.setLastEventId(t.event_id||r.event_id),Mu(i,t,r,o,this,n).then(a=>{if(a===null)return a;this.emit("postprocessEvent",a,r),a.contexts={trace:$h(o),...a.contexts};const c=Eu(this,o);return a.sdkProcessingMetadata={dynamicSamplingContext:c,...a.sdkProcessingMetadata},a})}_captureEvent(t,r={},o=fe(),n=Tt()){return N&&ws(t)&&x.log(`Captured error event \`${Wu(t)[0]||"<unknown>"}\``),this._processEvent(t,r,o,n).then(i=>i.event_id,i=>{N&&(fl(i)?x.log(i.message):ul(i)?x.warn(i.message):x.warn(i))})}_processEvent(t,r,o,n){const i=this.getOptions(),{sampleRate:s}=i,a=Yu(t),c=ws(t),d=`before send for type \`${t.type||"error"}\``,u=typeof s>"u"?void 0:wr(s);if(c&&typeof u=="number"&&Kt()>u)return this.recordDroppedEvent("sample_rate","error"),ka(Hi(`Discarding event because it's not included in the random sample (sampling rate = ${s})`));const m=ml(t.type);return this._prepareEvent(t,r,o,n).then(p=>{if(p===null)throw this.recordDroppedEvent("event_processor",m),Hi("An event processor returned `null`, will not send event.");if(r.data&&r.data.__sentry__===!0)return p;const g=Nb(this,i,p,r);return Lb(g,d)}).then(p=>{if(p===null){if(this.recordDroppedEvent("before_send",m),a){const b=1+(t.spans||[]).length;this.recordDroppedEvent("before_send","span",b)}throw Hi(`${d} returned \`null\`, will not send event.`)}const f=o.getSession()||n.getSession();if(c&&f&&this._updateSessionFromEvent(f,p),a){const h=p.sdkProcessingMetadata?.spanCountBeforeProcessing||0,b=p.spans?p.spans.length:0,_=h-b;_>0&&this.recordDroppedEvent("before_send","span",_)}const g=p.transaction_info;if(a&&g&&p.transaction!==t.transaction){const h="custom";p.transaction_info={...g,source:h}}return this.sendEvent(p,r),p}).then(null,p=>{throw fl(p)||ul(p)?p:(this.captureException(p,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:p}),An(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
Reason: ${p}`))})}_process(t,r){this._numProcessing++,this._promiseBuffer.add(t).then(o=>(this._numProcessing--,o),o=>(this._numProcessing--,o===_a&&this.recordDroppedEvent("queue_overflow",r),o))}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.entries(t).map(([r,o])=>{const[n,i]=r.split(":");return{reason:n,category:i,quantity:o}})}_flushOutcomes(){N&&x.log("Flushing outcomes...");const t=this._clearOutcomes();if(t.length===0){N&&x.log("No outcomes to send");return}if(!this._dsn){N&&x.log("No dsn provided, will not send outcomes");return}N&&x.log("Sending outcomes:",t);const r=Bb(t,this._options.tunnel&&co(this._dsn));this.sendEnvelope(r)}}function ml(e){return e==="replay_event"?"replay":e||"error"}function Lb(e,t){const r=`${t} must return \`null\` or a valid event.`;if(no(e))return e.then(o=>{if(!Ro(o)&&o!==null)throw An(r);return o},o=>{throw An(`${t} rejected with ${o}`)});if(!Ro(e)&&e!==null)throw An(r);return e}function Nb(e,t,r,o){const{beforeSend:n,beforeSendTransaction:i,beforeSendSpan:s,ignoreSpans:a}=t;let c=r;if(ws(c)&&n)return n(c,o);if(Yu(c)){if(s||a){const l=Ab(c);if(a?.length&&Yn(l,a))return null;if(s){const d=s(l);d?c=zo(r,Mb(d)):ys()}if(c.spans){const d=[],u=c.spans;for(const p of u){if(a?.length&&Yn(p,a)){d0(u,p);continue}if(s){const f=s(p);f?d.push(f):(ys(),d.push(p))}else d.push(p)}const m=c.spans.length-d.length;m&&e.recordDroppedEvent("before_send","span",m),c.spans=d}}if(i){if(c.spans){const l=c.spans.length;c.sdkProcessingMetadata={...r.sdkProcessingMetadata,spanCountBeforeProcessing:l}}return i(c,o)}}return c}function ws(e){return e.type===void 0}function Yu(e){return e.type==="transaction"}function Db(e){let t=0;return e.name&&(t+=e.name.length*2),t+=8,t+Gu(e.attributes)}function Pb(e){let t=0;return e.message&&(t+=e.message.length*2),t+Gu(e.attributes)}function Gu(e){if(!e)return 0;let t=0;return Object.values(e).forEach(r=>{Array.isArray(r)?t+=r.length*gl(r[0]):qr(r)?t+=gl(r):t+=100}),t}function gl(e){return typeof e=="string"?e.length*2:typeof e=="number"?8:typeof e=="boolean"?4:0}function Fb(e){return pi(e)&&"__sentry_fetch_url_host__"in e&&typeof e.__sentry_fetch_url_host__=="string"}function hl(e){return Fb(e)?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}function jb(e,t){t.debug===!0&&(N?x.enable():zt(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),fe().update(t.initialScope);const o=new e(t);return Hb(o),o.init(),o}function Hb(e){fe().setClient(e)}const Ub="thismessage:/";function wa(e){return"isRelative"in e}function Ea(e,t){const r=e.indexOf("://")<=0&&e.indexOf("//")!==0,o=r?Ub:void 0;try{if("canParse"in URL&&!URL.canParse(e,o))return;const n=new URL(e,o);return r?{isRelative:r,pathname:n.pathname,search:n.search,hash:n.hash}:n}catch{}}function zb(e){if(wa(e))return e.pathname;const t=new URL(e);return t.search="",t.hash="",["80","443"].includes(t.port)&&(t.port=""),t.password&&(t.password="%filtered%"),t.username&&(t.username="%filtered%"),t.toString()}function br(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const r=t[6]||"",o=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:r,hash:o,relative:t[5]+r+o}}function Wb(e){return e.split(/[?#]/,1)[0]}function qb(e,t){const r=t?.getDsn(),o=t?.getOptions().tunnel;return Yb(e,r)||Vb(e,o)}function Vb(e,t){return t?bl(e)===bl(t):!1}function Yb(e,t){const r=Ea(e);return!r||wa(r)?!1:t?r.host.includes(t.host)&&/(^|&|\?)sentry_key=/.test(r.search):!1}function bl(e){return e[e.length-1]==="/"?e.slice(0,-1):e}function Gb(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 Ku(e,t,r=[t],o="npm"){const n=e._metadata||{};n.sdk||(n.sdk={name:`sentry.javascript.${t}`,packages:r.map(i=>({name:`${o}:@sentry/${i}`,version:mr})),version:mr}),e._metadata=n}function Xu(e={}){const t=e.client||te();if(!db()||!t)return{};const r=Tr(),o=so(r);if(o.getTraceData)return o.getTraceData(e);const n=e.scope||fe(),i=e.span||je(),s=i?n0(i):Kb(n),a=i?Ht(i):Eu(t,n),c=Uh(a);if(!gu.test(s))return x.warn("Invalid sentry-trace data. Cannot generate trace data"),{};const d={"sentry-trace":s,baggage:c};return e.propagateTraceparent&&(d.traceparent=i?i0(i):Xb(n)),d}function Kb(e){const{traceId:t,sampled:r,propagationSpanId:o}=e.getPropagationContext();return hu(t,o,r)}function Xb(e){const{traceId:t,sampled:r,propagationSpanId:o}=e.getPropagationContext();return bu(t,o,r)}function Jb(e,t,r){let o,n,i;const s=r?.maxWait?Math.max(r.maxWait,t):0,a=r?.setTimeoutImpl||setTimeout;function c(){return l(),o=e(),o}function l(){n!==void 0&&clearTimeout(n),i!==void 0&&clearTimeout(i),n=i=void 0}function d(){return n!==void 0||i!==void 0?c():o}function u(){return n&&clearTimeout(n),n=a(c,t),s&&i===void 0&&(i=a(c,s)),o}return u.cancel=l,u.flush=d,u}const Zb=100;function tr(e,t){const r=te(),o=Tt();if(!r)return;const{beforeBreadcrumb:n=null,maxBreadcrumbs:i=Zb}=r.getOptions();if(i<=0)return;const a={timestamp:Rr(),...e},c=n?zt(()=>n(a,t)):a;c!==null&&(r.emit&&r.emit("beforeAddBreadcrumb",c,t),o.addBreadcrumb(c,i))}let yl;const Qb="FunctionToString",vl=new WeakMap,ey=(()=>({name:Qb,setupOnce(){yl=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=da(this),r=vl.has(te())&&t!==void 0?t:this;return yl.apply(r,e)}}catch{}},setup(e){vl.set(e,!0)}})),ty=ey,ry=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,`can't redefine non-configurable property "solana"`,"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/],oy="EventFilters",ny=(e={})=>{let t;return{name:oy,setup(r){const o=r.getOptions();t=kl(e,o)},processEvent(r,o,n){if(!t){const i=n.getOptions();t=kl(e,i)}return sy(r,t)?null:r}}},iy=((e={})=>({...ny(e),name:"InboundFilters"}));function kl(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:ry],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function sy(e,t){if(e.type){if(e.type==="transaction"&&cy(e,t.ignoreTransactions))return N&&x.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
Event: ${lr(e)}`),!0}else{if(ay(e,t.ignoreErrors))return N&&x.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
Event: ${lr(e)}`),!0;if(fy(e))return N&&x.warn(`Event dropped due to not having an error message, error type or stacktrace.
Event: ${lr(e)}`),!0;if(ly(e,t.denyUrls))return N&&x.warn(`Event dropped due to being matched by \`denyUrls\` option.
Event: ${lr(e)}.
Url: ${Gn(e)}`),!0;if(!dy(e,t.allowUrls))return N&&x.warn(`Event dropped due to not being matched by \`allowUrls\` option.
Event: ${lr(e)}.
Url: ${Gn(e)}`),!0}return!1}function ay(e,t){return t?.length?Wu(e).some(r=>Ot(r,t)):!1}function cy(e,t){if(!t?.length)return!1;const r=e.transaction;return r?Ot(r,t):!1}function ly(e,t){if(!t?.length)return!1;const r=Gn(e);return r?Ot(r,t):!1}function dy(e,t){if(!t?.length)return!0;const r=Gn(e);return r?Ot(r,t):!0}function uy(e=[]){for(let t=e.length-1;t>=0;t--){const r=e[t];if(r&&r.filename!=="<anonymous>"&&r.filename!=="[native code]")return r.filename||null}return null}function Gn(e){try{const r=[...e.exception?.values??[]].reverse().find(o=>o.mechanism?.parent_id===void 0&&o.stacktrace?.frames?.length)?.stacktrace?.frames;return r?uy(r):null}catch{return N&&x.error(`Cannot extract url for event ${lr(e)}`),null}}function fy(e){return e.exception?.values?.length?!e.message&&!e.exception.values.some(t=>t.stacktrace||t.type&&t.type!=="Error"||t.value):!1}function py(e,t,r,o,n,i){if(!n.exception?.values||!i||!Pt(i.originalException,Error))return;const s=n.exception.values.length>0?n.exception.values[n.exception.values.length-1]:void 0;s&&(n.exception.values=Es(e,t,o,i.originalException,r,n.exception.values,s,0))}function Es(e,t,r,o,n,i,s,a){if(i.length>=r+1)return i;let c=[...i];if(Pt(o[n],Error)){_l(s,a);const l=e(t,o[n]),d=c.length;Sl(l,n,d,a),c=Es(e,t,r,o[n],n,[l,...c],l,d)}return Array.isArray(o.errors)&&o.errors.forEach((l,d)=>{if(Pt(l,Error)){_l(s,a);const u=e(t,l),m=c.length;Sl(u,`errors[${d}]`,m,a),c=Es(e,t,r,l,n,[u,...c],u,m)}}),c}function _l(e,t){e.mechanism={handled:!0,type:"auto.core.linked_errors",...e.mechanism,...e.type==="AggregateError"&&{is_exception_group:!0},exception_id:t}}function Sl(e,t,r,o){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:r,parent_id:o}}function my(e){const t="console";or(t,e),nr(t,gy)}function gy(){"console"in ee&&Qg.forEach(function(e){e in ee.console&&Ke(ee.console,e,function(t){return Wn[e]=t,function(...r){at("console",{args:r,level:e}),Wn[e]?.apply(ee.console,r)}})})}function Ju(e){return e==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}const hy="Dedupe",by=(()=>{let e;return{name:hy,processEvent(t){if(t.type)return t;try{if(vy(t,e))return N&&x.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}}),yy=by;function vy(e,t){return t?!!(ky(e,t)||_y(e,t)):!1}function ky(e,t){const r=e.message,o=t.message;return!(!r&&!o||r&&!o||!r&&o||r!==o||!Qu(e,t)||!Zu(e,t))}function _y(e,t){const r=wl(t),o=wl(e);return!(!r||!o||r.type!==o.type||r.value!==o.value||!Qu(e,t)||!Zu(e,t))}function Zu(e,t){let r=$c(e),o=$c(t);if(!r&&!o)return!0;if(r&&!o||!r&&o||(r=r,o=o,o.length!==r.length))return!1;for(let n=0;n<o.length;n++){const i=o[n],s=r[n];if(i.filename!==s.filename||i.lineno!==s.lineno||i.colno!==s.colno||i.function!==s.function)return!1}return!0}function Qu(e,t){let r=e.fingerprint,o=t.fingerprint;if(!r&&!o)return!0;if(r&&!o||!r&&o)return!1;r=r,o=o;try{return r.join("")===o.join("")}catch{return!1}}function wl(e){return e.exception?.values?.[0]}function Sy(e,t,r,o,n){if(!e.fetchData)return;const{method:i,url:s}=e.fetchData,a=ct()&&t(s);if(e.endTimestamp&&a){const p=e.fetchData.__span;if(!p)return;const f=o[p];f&&(Cy(f,e),wy(f,e,n),delete o[p]);return}const{spanOrigin:c="auto.http.browser",propagateTraceparent:l=!1}=typeof n=="object"?n:{spanOrigin:n},d=!!je(),u=a&&d?er(Ty(s,i,c)):new Qt;if(e.fetchData.__span=u.spanContext().spanId,o[u.spanContext().spanId]=u,r(e.fetchData.url)){const p=e.args[0],f=e.args[1]||{},g=Ey(p,f,ct()&&d?u:void 0,l);g&&(e.args[1]=f,f.headers=g)}const m=te();if(m){const p={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};m.emit("beforeOutgoingRequestSpan",u,p)}return u}function wy(e,t,r){(typeof r=="object"&&r!==null?r.onRequestSpanEnd:void 0)?.(e,{headers:t.response?.headers,error:t.error})}function Ey(e,t,r,o){const n=Xu({span:r,propagateTraceparent:o}),i=n["sentry-trace"],s=n.baggage,a=n.traceparent;if(!i)return;const c=t.headers||(ca(e)?e.headers:void 0);if(c)if(xy(c)){const l=new Headers(c);if(l.get("sentry-trace")||l.set("sentry-trace",i),o&&a&&!l.get("traceparent")&&l.set("traceparent",a),s){const d=l.get("baggage");d?un(d)||l.set("baggage",`${d},${s}`):l.set("baggage",s)}return l}else if(Array.isArray(c)){const l=[...c];c.find(u=>u[0]==="sentry-trace")||l.push(["sentry-trace",i]),o&&a&&!c.find(u=>u[0]==="traceparent")&&l.push(["traceparent",a]);const d=c.find(u=>u[0]==="baggage"&&un(u[1]));return s&&!d&&l.push(["baggage",s]),l}else{const l="sentry-trace"in c?c["sentry-trace"]:void 0,d="traceparent"in c?c.traceparent:void 0,u="baggage"in c?c.baggage:void 0,m=u?Array.isArray(u)?[...u]:[u]:[],p=u&&(Array.isArray(u)?u.find(g=>un(g)):un(u));s&&!p&&m.push(s);const f={...c,"sentry-trace":l??i,baggage:m.length>0?m.join(","):void 0};return o&&a&&!d&&(f.traceparent=a),f}else return{...n}}function Cy(e,t){if(t.response){du(e,t.response.status);const r=t.response?.headers?.get("content-length");if(r){const o=parseInt(r);o>0&&e.setAttribute("http.response_content_length",o)}}else t.error&&e.setStatus({code:Le,message:"internal_error"});e.end()}function un(e){return e.split(",").some(t=>t.trim().startsWith(ma))}function xy(e){return typeof Headers<"u"&&Pt(e,Headers)}function Ty(e,t,r){const o=Ea(e);return{name:o?`${t} ${zb(o)}`:t,attributes:Ry(e,o,t,r)}}function Ry(e,t,r,o){const n={url:e,type:"fetch","http.method":r,[Ce]:o,[jt]:"http.client"};return t&&(wa(t)||(n["http.url"]=t.href,n["server.address"]=t.host),t.search&&(n["http.query"]=t.search),t.hash&&(n["http.fragment"]=t.hash)),n}function ef(e){if(e!==void 0)return e>=400&&e<500?"warning":e>=500?"error":void 0}const Ao=ee;function Iy(){return"history"in Ao&&!!Ao.history}function By(){if(!("fetch"in Ao))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}function Cs(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function Ay(){if(typeof EdgeRuntime=="string")return!0;if(!By())return!1;if(Cs(Ao.fetch))return!0;let e=!1;const t=Ao.document;if(t&&typeof t.createElement=="function")try{const r=t.createElement("iframe");r.hidden=!0,t.head.appendChild(r),r.contentWindow?.fetch&&(e=Cs(r.contentWindow.fetch)),t.head.removeChild(r)}catch(r){N&&x.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",r)}return e}function tf(e,t){const r="fetch";or(r,e),nr(r,()=>rf(void 0,t))}function My(e){const t="fetch-body-resolved";or(t,e),nr(t,()=>rf(Oy))}function rf(e,t=!1){t&&!Ay()||Ke(ee,"fetch",function(r){return function(...o){const n=new Error,{method:i,url:s}=Ly(o),a={args:o,fetchData:{method:i,url:s},startTimestamp:Ie()*1e3,virtualError:n,headers:Ny(o)};return e||at("fetch",{...a}),r.apply(ee,o).then(async c=>(e?e(c):at("fetch",{...a,endTimestamp:Ie()*1e3,response:c}),c),c=>{at("fetch",{...a,endTimestamp:Ie()*1e3,error:c}),pi(c)&&c.stack===void 0&&(c.stack=n.stack,et(c,"framesToPop",1));const d=te()?.getOptions().enhanceFetchErrorMessages??"always";if(d!==!1&&c instanceof TypeError&&(c.message==="Failed to fetch"||c.message==="Load failed"||c.message==="NetworkError when attempting to fetch resource."))try{const p=new URL(a.fetchData.url).host;d==="always"?c.message=`${c.message} (${p})`:et(c,"__sentry_fetch_url_host__",p)}catch{}throw c})}})}async function $y(e,t){if(e?.body){const r=e.body,o=r.getReader(),n=setTimeout(()=>{r.cancel().then(null,()=>{})},90*1e3);let i=!0;for(;i;){let s;try{s=setTimeout(()=>{r.cancel().then(null,()=>{})},5e3);const{done:a}=await o.read();clearTimeout(s),a&&(t(),i=!1)}catch{i=!1}finally{clearTimeout(s)}}clearTimeout(n),o.releaseLock(),r.cancel().then(null,()=>{})}}function Oy(e){let t;try{t=e.clone()}catch{return}$y(t,()=>{at("fetch-body-resolved",{endTimestamp:Ie()*1e3,response:e})})}function Mn(e,t){return!!e&&typeof e=="object"&&!!e[t]}function El(e){return typeof e=="string"?e:e?Mn(e,"url")?e.url:e.toString?e.toString():"":""}function Ly(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[r,o]=e;return{url:El(r),method:Mn(o,"method")?String(o.method).toUpperCase():ca(r)&&Mn(r,"method")?String(r.method).toUpperCase():"GET"}}const t=e[0];return{url:El(t),method:Mn(t,"method")?String(t.method).toUpperCase():"GET"}}function Ny(e){const[t,r]=e;try{if(typeof r=="object"&&r!==null&&"headers"in r&&r.headers)return new Headers(r.headers);if(ca(t))return new Headers(t.headers)}catch{}}function Dy(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function Py(){return"npm"}function Fy(){return!Dy()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function xs(){return typeof window<"u"&&(!Fy()||jy())}function jy(){return ee.process?.type==="renderer"}const ce=ee;let Ts=0;function of(){return Ts>0}function Hy(){Ts++,setTimeout(()=>{Ts--})}function Xr(e,t={}){function r(n){return typeof n=="function"}if(!r(e))return e;try{const n=e.__sentry_wrapped__;if(n)return typeof n=="function"?n:e;if(da(e))return e}catch{return e}const o=function(...n){try{const i=n.map(s=>Xr(s,t));return e.apply(this,i)}catch(i){throw Hy(),gi(s=>{s.addEventProcessor(a=>(t.mechanism&&(gs(a,void 0),Vr(a,t.mechanism)),a.extra={...a.extra,arguments:n},a)),yi(i)}),i}};try{for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(o[n]=e[n])}catch{}iu(o,e),et(e,"__sentry_wrapped__",o);try{Object.getOwnPropertyDescriptor(o,"name").configurable&&Object.defineProperty(o,"name",{get(){return e.name}})}catch{}return o}function Ca(){const e=io(),{referrer:t}=ce.document||{},{userAgent:r}=ce.navigator||{},o={...t&&{Referer:t},...r&&{"User-Agent":r}};return{url:e,headers:o}}function xa(e,t){const r=Ta(e,t),o={type:Vy(t),value:Yy(t)};return r.length&&(o.stacktrace={frames:r}),o.type===void 0&&o.value===""&&(o.value="Unrecoverable error caught"),o}function Uy(e,t,r,o){const i=te()?.getOptions().normalizeDepth,s=Zy(t),a={__serialized__:Cu(t,i)};if(s)return{exception:{values:[xa(e,s)]},extra:a};const c={exception:{values:[{type:mi(t)?t.constructor.name:o?"UnhandledRejection":"Error",value:Xy(t,{isUnhandledRejection:o})}]},extra:a};if(r){const l=Ta(e,r);l.length&&(c.exception.values[0].stacktrace={frames:l})}return c}function Ui(e,t){return{exception:{values:[xa(e,t)]}}}function Ta(e,t){const r=t.stacktrace||t.stack||"",o=Wy(t),n=qy(t);try{return e(r,o,n)}catch{}return[]}const zy=/Minified React error #\d+;/i;function Wy(e){return e&&zy.test(e.message)?1:0}function qy(e){return typeof e.framesToPop=="number"?e.framesToPop:0}function nf(e){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?e instanceof WebAssembly.Exception:!1}function Vy(e){const t=e?.name;return!t&&nf(e)?e.message&&Array.isArray(e.message)&&e.message.length==2?e.message[0]:"WebAssembly.Exception":t}function Yy(e){const t=e?.message;return nf(e)?Array.isArray(e.message)&&e.message.length==2?e.message[1]:"wasm exception":t?t.error&&typeof t.error.message=="string"?hl(t.error):hl(e):"No error message"}function Gy(e,t,r,o){const n=r?.syntheticException||void 0,i=Ra(e,t,n,o);return Vr(i),i.level="error",r?.event_id&&(i.event_id=r.event_id),bi(i)}function Ky(e,t,r="info",o,n){const i=o?.syntheticException||void 0,s=Rs(e,t,i,n);return s.level=r,o?.event_id&&(s.event_id=o.event_id),bi(s)}function Ra(e,t,r,o,n){let i;if(ru(t)&&t.error)return Ui(e,t.error);if(Lc(t)||dh(t)){const s=t;if("stack"in t)i=Ui(e,t);else{const a=s.name||(Lc(s)?"DOMError":"DOMException"),c=s.message?`${a}: ${s.message}`:a;i=Rs(e,c,r,o),gs(i,c)}return"code"in s&&(i.tags={...i.tags,"DOMException.code":`${s.code}`}),i}return pi(t)?Ui(e,t):Ro(t)||mi(t)?(i=Uy(e,t,r,n),Vr(i,{synthetic:!0}),i):(i=Rs(e,t,r,o),gs(i,`${t}`),Vr(i,{synthetic:!0}),i)}function Rs(e,t,r,o){const n={};if(o&&r){const i=Ta(e,r);i.length&&(n.exception={values:[{value:t,stacktrace:{frames:i}}]}),Vr(n,{synthetic:!0})}if(aa(t)){const{__sentry_template_string__:i,__sentry_template_values__:s}=t;return n.logentry={message:i,params:s},n}return n.message=t,n}function Xy(e,{isUnhandledRejection:t}){const r=hh(e),o=t?"promise rejection":"exception";return ru(e)?`Event \`ErrorEvent\` captured as ${o} with message \`${e.message}\``:mi(e)?`Event \`${Jy(e)}\` (type=${e.type}) captured as ${o}`:`Object captured as ${o} with keys: ${r}`}function Jy(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function Zy(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const r=e[t];if(r instanceof Error)return r}}class Qy extends Ob{constructor(t){const r=ev(t),o=ce.SENTRY_SDK_SOURCE||Py();Ku(r,"browser",["browser"],o),r._metadata?.sdk&&(r._metadata.sdk.settings={infer_ip:r.sendDefaultPii?"auto":"never",...r._metadata.sdk.settings}),super(r);const{sendDefaultPii:n,sendClientReports:i,enableLogs:s,_experiments:a,enableMetrics:c}=this._options,l=c??a?.enableMetrics??!0;ce.document&&(i||s||l)&&ce.document.addEventListener("visibilitychange",()=>{ce.document.visibilityState==="hidden"&&(i&&this._flushOutcomes(),s&&Du(this),l&&Fu(this))}),n&&this.on("beforeSendSession",Gb)}eventFromException(t,r){return Gy(this._options.stackParser,t,r,this._options.attachStacktrace)}eventFromMessage(t,r="info",o){return Ky(this._options.stackParser,t,r,o,this._options.attachStacktrace)}_prepareEvent(t,r,o,n){return t.platform=t.platform||"javascript",super._prepareEvent(t,r,o,n)}}function ev(e){return{release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:ce.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}const Er=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,G=ee,tv=(e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good",Vo=(e,t,r,o)=>{let n,i;return s=>{t.value>=0&&(s||o)&&(i=t.value-(n??0),(i||n===void 0)&&(n=t.value,t.delta=i,t.rating=tv(t.value,r),e(t)))}},Yo=(e=!0)=>{const t=G.performance?.getEntriesByType?.("navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t},lo=()=>Yo()?.activationStart??0;function Xt(e,t,r){G.document&&G.addEventListener(e,t,r)}function Kn(e,t,r){G.document&&G.removeEventListener(e,t,r)}let Ur=-1;const sf=new Set,rv=()=>G.document?.visibilityState==="hidden"&&!G.document?.prerendering?0:1/0,$n=e=>{if(ov(e)&&Ur>-1){if(e.type==="visibilitychange"||e.type==="pagehide")for(const t of sf)t();isFinite(Ur)||(Ur=e.type==="visibilitychange"?e.timeStamp:0,Kn("prerenderingchange",$n,!0))}},Go=()=>{if(G.document&&Ur<0){const e=lo();Ur=(G.document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter(r=>r.name==="hidden"&&r.startTime>e)[0]?.startTime)??rv(),Xt("visibilitychange",$n,!0),Xt("pagehide",$n,!0),Xt("prerenderingchange",$n,!0)}return{get firstHiddenTime(){return Ur},onHidden(e){sf.add(e)}}};function ov(e){return e.type==="pagehide"||G.document?.visibilityState==="hidden"}const nv=()=>`v5-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,Ko=(e,t=-1)=>{const r=Yo();let o="navigate";return r&&(G.document?.prerendering||lo()>0?o="prerender":G.document?.wasDiscarded?o="restore":r.type&&(o=r.type.replace(/_/g,"-"))),{name:e,value:t,rating:"good",delta:0,entries:[],id:nv(),navigationType:o}},zi=new WeakMap;function Ia(e,t){try{return zi.get(e)||zi.set(e,new t),zi.get(e)}catch{return new t}}class Xn{constructor(){Xn.prototype.__init.call(this),Xn.prototype.__init2.call(this)}__init(){this._sessionValue=0}__init2(){this._sessionEntries=[]}_processEntry(t){if(t.hadRecentInput)return;const r=this._sessionEntries[0],o=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&r&&o&&t.startTime-o.startTime<1e3&&t.startTime-r.startTime<5e3?(this._sessionValue+=t.value,this._sessionEntries.push(t)):(this._sessionValue=t.value,this._sessionEntries=[t]),this._onAfterProcessingUnexpectedShift?.(t)}}const uo=(e,t,r={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const o=new PerformanceObserver(n=>{Promise.resolve().then(()=>{t(n.getEntries())})});return o.observe({type:e,buffered:!0,...r}),o}}catch{}},Ba=e=>{let t=!1;return()=>{t||(e(),t=!0)}},vi=e=>{G.document?.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},iv=[1800,3e3],sv=(e,t={})=>{vi(()=>{const r=Go(),o=Ko("FCP");let n;const s=uo("paint",a=>{for(const c of a)c.name==="first-contentful-paint"&&(s.disconnect(),c.startTime<r.firstHiddenTime&&(o.value=Math.max(c.startTime-lo(),0),o.entries.push(c),n(!0)))});s&&(n=Vo(e,o,iv,t.reportAllChanges))})},av=[.1,.25],cv=(e,t={})=>{sv(Ba(()=>{const r=Ko("CLS",0);let o;const n=Go(),i=Ia(t,Xn),s=c=>{for(const l of c)i._processEntry(l);i._sessionValue>r.value&&(r.value=i._sessionValue,r.entries=i._sessionEntries,o())},a=uo("layout-shift",s);a&&(o=Vo(e,r,av,t.reportAllChanges),n.onHidden(()=>{s(a.takeRecords()),o(!0)}),G?.setTimeout?.(o))}))};let af=0,Wi=1/0,fn=0;const lv=e=>{e.forEach(t=>{t.interactionId&&(Wi=Math.min(Wi,t.interactionId),fn=Math.max(fn,t.interactionId),af=fn?(fn-Wi)/7+1:0)})};let Is;const cf=()=>Is?af:performance.interactionCount||0,dv=()=>{"interactionCount"in performance||Is||(Is=uo("event",lv,{type:"event",buffered:!0,durationThreshold:0}))},qi=10;let lf=0;const uv=()=>cf()-lf;class Jn{constructor(){Jn.prototype.__init.call(this),Jn.prototype.__init2.call(this)}__init(){this._longestInteractionList=[]}__init2(){this._longestInteractionMap=new Map}_resetInteractions(){lf=cf(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){const t=Math.min(this._longestInteractionList.length-1,Math.floor(uv()/50));return this._longestInteractionList[t]}_processEntry(t){if(this._onBeforeProcessingEntry?.(t),!(t.interactionId||t.entryType==="first-input"))return;const r=this._longestInteractionList.at(-1);let o=this._longestInteractionMap.get(t.interactionId);if(o||this._longestInteractionList.length<qi||t.duration>r._latency){if(o?t.duration>o._latency?(o.entries=[t],o._latency=t.duration):t.duration===o._latency&&t.startTime===o.entries[0].startTime&&o.entries.push(t):(o={id:t.interactionId,entries:[t],_latency:t.duration},this._longestInteractionMap.set(o.id,o),this._longestInteractionList.push(o)),this._longestInteractionList.sort((n,i)=>i._latency-n._latency),this._longestInteractionList.length>qi){const n=this._longestInteractionList.splice(qi);for(const i of n)this._longestInteractionMap.delete(i.id)}this._onAfterProcessingINPCandidate?.(o)}}}const df=e=>{const t=G.requestIdleCallback||G.setTimeout;G.document?.visibilityState==="hidden"?e():(e=Ba(e),Xt("visibilitychange",e,{once:!0,capture:!0}),Xt("pagehide",e,{once:!0,capture:!0}),t(()=>{e(),Kn("visibilitychange",e,{capture:!0}),Kn("pagehide",e,{capture:!0})}))},fv=[200,500],pv=40,mv=(e,t={})=>{if(!(globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return;const r=Go();vi(()=>{dv();const o=Ko("INP");let n;const i=Ia(t,Jn),s=c=>{df(()=>{for(const d of c)i._processEntry(d);const l=i._estimateP98LongestInteraction();l&&l._latency!==o.value&&(o.value=l._latency,o.entries=l.entries,n())})},a=uo("event",s,{durationThreshold:t.durationThreshold??pv});n=Vo(e,o,fv,t.reportAllChanges),a&&(a.observe({type:"first-input",buffered:!0}),r.onHidden(()=>{s(a.takeRecords()),n(!0)}))})};class gv{_processEntry(t){this._onBeforeProcessingEntry?.(t)}}const hv=[2500,4e3],bv=(e,t={})=>{vi(()=>{const r=Go(),o=Ko("LCP");let n;const i=Ia(t,gv),s=c=>{t.reportAllChanges||(c=c.slice(-1));for(const l of c)i._processEntry(l),l.startTime<r.firstHiddenTime&&(o.value=Math.max(l.startTime-lo(),0),o.entries=[l],n())},a=uo("largest-contentful-paint",s);if(a){n=Vo(e,o,hv,t.reportAllChanges);const c=Ba(()=>{s(a.takeRecords()),a.disconnect(),n(!0)}),l=d=>{d.isTrusted&&(df(c),Kn(d.type,l,{capture:!0}))};for(const d of["keydown","click","visibilitychange"])Xt(d,l,{capture:!0})}})},yv=[800,1800],Bs=e=>{G.document?.prerendering?vi(()=>Bs(e)):G.document?.readyState!=="complete"?addEventListener("load",()=>Bs(e),!0):setTimeout(e)},vv=(e,t={})=>{const r=Ko("TTFB"),o=Vo(e,r,yv,t.reportAllChanges);Bs(()=>{const n=Yo();n&&(r.value=Math.max(n.responseStart-lo(),0),r.entries=[n],o(!0))})},So={},Zn={};let uf,ff,pf,mf;function Aa(e,t=!1){return ki("cls",e,_v,uf,t)}function Ma(e,t=!1){return ki("lcp",e,Sv,ff,t)}function kv(e){return ki("ttfb",e,wv,pf)}function gf(e){return ki("inp",e,Ev,mf)}function Cr(e,t){return hf(e,t),Zn[e]||(Cv(e),Zn[e]=!0),bf(e,t)}function Xo(e,t){const r=So[e];if(r?.length)for(const o of r)try{o(t)}catch(n){Er&&x.error(`Error while triggering instrumentation handler.
Type: ${e}
Name: ${Dt(o)}
Error:`,n)}}function _v(){return cv(e=>{Xo("cls",{metric:e}),uf=e},{reportAllChanges:!0})}function Sv(){return bv(e=>{Xo("lcp",{metric:e}),ff=e},{reportAllChanges:!0})}function wv(){return vv(e=>{Xo("ttfb",{metric:e}),pf=e})}function Ev(){return mv(e=>{Xo("inp",{metric:e}),mf=e})}function ki(e,t,r,o,n=!1){hf(e,t);let i;return Zn[e]||(i=r(),Zn[e]=!0),o&&t({metric:o}),bf(e,t,n?i:void 0)}function Cv(e){const t={};e==="event"&&(t.durationThreshold=0),uo(e,r=>{Xo(e,{entries:r})},t)}function hf(e,t){So[e]=So[e]||[],So[e].push(t)}function bf(e,t,r){return()=>{r&&r();const o=So[e];if(!o)return;const n=o.indexOf(t);n!==-1&&o.splice(n,1)}}function xv(e){return"duration"in e}const Tv=e=>{const t=r=>{(r.type==="pagehide"||G.document?.visibilityState==="hidden")&&e(r)};Xt("visibilitychange",t,{capture:!0,once:!0}),Xt("pagehide",t,{capture:!0,once:!0})};function Vi(e){return typeof e=="number"&&isFinite(e)}function rr(e,t,r,{...o}){const n=oe(e).start_timestamp;return n&&n>t&&typeof e.updateStartTime=="function"&&e.updateStartTime(t),ya(e,()=>{const i=er({startTime:t,...o});return i&&i.end(r),i})}function $a(e){const t=te();if(!t)return;const{name:r,transaction:o,attributes:n,startTime:i}=e,{release:s,environment:a,sendDefaultPii:c}=t.getOptions(),d=t.getIntegrationByName("Replay")?.getReplayId(),u=fe(),m=u.getUser(),p=m!==void 0?m.email||m.id||m.ip_address:void 0;let f;try{f=u.getScopeData().contexts.profile.profile_id}catch{}const g={release:s,environment:a,user:p||void 0,profile_id:f||void 0,replay_id:d||void 0,transaction:o,"user_agent.original":G.navigator?.userAgent,"client.address":c?"{{auto}}":void 0,...n};return er({name:r,attributes:g,startTime:i,experimental:{standalone:!0}})}function Jo(){return G.addEventListener&&G.performance}function Re(e){return e/1e3}function Rv(e){let t="unknown",r="unknown",o="";for(const n of e){if(n==="/"){[t,r]=e.split("/");break}if(!isNaN(Number(n))){t=o==="h"?"http":o,r=e.split(o)[1];break}o+=n}return o===e&&(t=o),{name:t,version:r}}function yf(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch{return!1}}function vf(e,t){let r,o=!1;function n(a){!o&&r&&t(a,r),o=!0}Tv(()=>{n("pagehide")});const i=e.on("beforeStartNavigationSpan",(a,c)=>{c?.isRedirect||(n("navigation"),i(),s())}),s=e.on("afterStartPageLoadSpan",a=>{r=a.spanContext().spanId,s()})}function Iv(e){let t=0,r;if(!yf("layout-shift"))return;const o=Aa(({metric:n})=>{const i=n.entries[n.entries.length-1];i&&(t=n.value,r=i)},!0);vf(e,(n,i)=>{Bv(t,r,i,n),o()})}function Bv(e,t,r,o){Er&&x.log(`Sending CLS span (${e})`);const n=t?Re((tt()||0)+t.startTime):Ie(),i=fe().getScopeData().transactionName,s=t?Qe(t.sources[0]?.node):"Layout shift",a={[Ce]:"auto.http.browser.cls",[jt]:"ui.webvital.cls",[ao]:0,"sentry.pageload.span_id":r,"sentry.report_event":o};t?.sources&&t.sources.forEach((l,d)=>{a[`cls.source.${d+1}`]=Qe(l.node)});const c=$a({name:s,transaction:i,attributes:a,startTime:n});c&&(c.addEvent("cls",{[Wo]:"",[qo]:e}),c.end(n))}function Av(e){let t=0,r;if(!yf("largest-contentful-paint"))return;const o=Ma(({metric:n})=>{const i=n.entries[n.entries.length-1];i&&(t=n.value,r=i)},!0);vf(e,(n,i)=>{Mv(t,r,i,n),o()})}function Mv(e,t,r,o){Er&&x.log(`Sending LCP span (${e})`);const n=Re((tt()||0)+(t?.startTime||0)),i=fe().getScopeData().transactionName,s=t?Qe(t.element):"Largest contentful paint",a={[Ce]:"auto.http.browser.lcp",[jt]:"ui.webvital.lcp",[ao]:0,"sentry.pageload.span_id":r,"sentry.report_event":o};t&&(t.element&&(a["lcp.element"]=Qe(t.element)),t.id&&(a["lcp.id"]=t.id),t.url&&(a["lcp.url"]=t.url),t.loadTime!=null&&(a["lcp.loadTime"]=t.loadTime),t.renderTime!=null&&(a["lcp.renderTime"]=t.renderTime),t.size!=null&&(a["lcp.size"]=t.size));const c=$a({name:s,transaction:i,attributes:a,startTime:n});c&&(c.addEvent("lcp",{[Wo]:"millisecond",[qo]:e}),c.end(n))}function st(e){return e&&((tt()||performance.timeOrigin)+e)/1e3}function kf(e){const t={};if(e.nextHopProtocol!=null){const{name:r,version:o}=Rv(e.nextHopProtocol);t["network.protocol.version"]=o,t["network.protocol.name"]=r}return tt()||Jo()?.timeOrigin?$v({...t,"http.request.redirect_start":st(e.redirectStart),"http.request.redirect_end":st(e.redirectEnd),"http.request.worker_start":st(e.workerStart),"http.request.fetch_start":st(e.fetchStart),"http.request.domain_lookup_start":st(e.domainLookupStart),"http.request.domain_lookup_end":st(e.domainLookupEnd),"http.request.connect_start":st(e.connectStart),"http.request.secure_connection_start":st(e.secureConnectionStart),"http.request.connection_end":st(e.connectEnd),"http.request.request_start":st(e.requestStart),"http.request.response_start":st(e.responseStart),"http.request.response_end":st(e.responseEnd),"http.request.time_to_first_byte":e.responseStart!=null?e.responseStart/1e3:void 0}):t}function $v(e){return Object.fromEntries(Object.entries(e).filter(([,t])=>t!=null))}const Ov=2147483647;let Cl=0,pt={},Ge,Qn;function Lv({recordClsStandaloneSpans:e,recordLcpStandaloneSpans:t,client:r}){const o=Jo();if(o&&tt()){o.mark&&G.performance.mark("sentry-tracing-init");const n=t?Av(r):jv(),i=Hv(),s=e?Iv(r):Fv();return()=>{n?.(),i(),s?.()}}return()=>{}}function Nv(){Cr("longtask",({entries:e})=>{const t=je();if(!t)return;const{op:r,start_timestamp:o}=oe(t);for(const n of e){const i=Re(tt()+n.startTime),s=Re(n.duration);r==="navigation"&&o&&i<o||rr(t,i,i+s,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[Ce]:"auto.ui.browser.metrics"}})}})}function Dv(){new PerformanceObserver(t=>{const r=je();if(r)for(const o of t.getEntries()){if(!o.scripts[0])continue;const n=Re(tt()+o.startTime),{start_timestamp:i,op:s}=oe(r);if(s==="navigation"&&i&&n<i)continue;const a=Re(o.duration),c={[Ce]:"auto.ui.browser.metrics"},l=o.scripts[0],{invoker:d,invokerType:u,sourceURL:m,sourceFunctionName:p,sourceCharPosition:f}=l;c["browser.script.invoker"]=d,c["browser.script.invoker_type"]=u,m&&(c["code.filepath"]=m),p&&(c["code.function"]=p),f!==-1&&(c["browser.script.source_char_position"]=f),rr(r,n,n+a,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:c})}}).observe({type:"long-animation-frame",buffered:!0})}function Pv(){Cr("event",({entries:e})=>{const t=je();if(t){for(const r of e)if(r.name==="click"){const o=Re(tt()+r.startTime),n=Re(r.duration),i={name:Qe(r.target),op:`ui.interaction.${r.name}`,startTime:o,attributes:{[Ce]:"auto.ui.browser.metrics"}},s=nu(r.target);s&&(i.attributes["ui.component_name"]=s),rr(t,o,o+n,i)}}})}function Fv(){return Aa(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(pt.cls={value:e.value,unit:""},Qn=t)},!0)}function jv(){return Ma(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(pt.lcp={value:e.value,unit:"millisecond"},Ge=t)},!0)}function Hv(){return kv(({metric:e})=>{e.entries[e.entries.length-1]&&(pt.ttfb={value:e.value,unit:"millisecond"})})}function Uv(e,t){const r=Jo(),o=tt();if(!r?.getEntries||!o)return;const n=Re(o),i=r.getEntries(),{op:s,start_timestamp:a}=oe(e);i.slice(Cl).forEach(c=>{const l=Re(c.startTime),d=Re(Math.max(0,c.duration));if(!(s==="navigation"&&a&&n+l<a))switch(c.entryType){case"navigation":{Vv(e,c,n);break}case"mark":case"paint":case"measure":{Wv(e,c,l,d,n,t.ignorePerformanceApiSpans);const u=Go(),m=c.startTime<u.firstHiddenTime;c.name==="first-paint"&&m&&(pt.fp={value:c.startTime,unit:"millisecond"}),c.name==="first-contentful-paint"&&m&&(pt.fcp={value:c.startTime,unit:"millisecond"});break}case"resource":{Kv(e,c,c.name,l,d,n,t.ignoreResourceSpans);break}}}),Cl=Math.max(i.length-1,0),Xv(e),s==="pageload"&&(Qv(pt),t.recordClsOnPageloadSpan||delete pt.cls,t.recordLcpOnPageloadSpan||delete pt.lcp,Object.entries(pt).forEach(([c,l])=>{B0(c,l.value,l.unit)}),e.setAttribute("performance.timeOrigin",n),e.setAttribute("performance.activationStart",lo()),Jv(e,t)),Ge=void 0,Qn=void 0,pt={}}function zv(e){if(e?.entryType==="measure")try{return e.detail.devtools.track==="Components ⚛"}catch{return}}function Wv(e,t,r,o,n,i){if(zv(t)||["mark","measure"].includes(t.entryType)&&Ot(t.name,i))return;const s=Yo(!1),a=Re(s?s.requestStart:0),c=n+Math.max(r,a),l=n+r,d=l+o,u={[Ce]:"auto.resource.browser.metrics"};c!==l&&(u["sentry.browser.measure_happened_before_request"]=!0,u["sentry.browser.measure_start_time"]=c),qv(u,t),c<=d&&rr(e,c,d,{name:t.name,op:t.entryType,attributes:u})}function qv(e,t){try{const r=t.detail;if(!r)return;if(typeof r=="object"){for(const[o,n]of Object.entries(r))if(n&&qr(n))e[`sentry.browser.measure.detail.${o}`]=n;else if(n!==void 0)try{e[`sentry.browser.measure.detail.${o}`]=JSON.stringify(n)}catch{}return}if(qr(r)){e["sentry.browser.measure.detail"]=r;return}try{e["sentry.browser.measure.detail"]=JSON.stringify(r)}catch{}}catch{}}function Vv(e,t,r){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(o=>{pn(e,t,o,r)}),pn(e,t,"secureConnection",r,"TLS/SSL"),pn(e,t,"fetch",r,"cache"),pn(e,t,"domainLookup",r,"DNS"),Gv(e,t,r)}function pn(e,t,r,o,n=r){const i=Yv(r),s=t[i],a=t[`${r}Start`];!a||!s||rr(e,o+Re(a),o+Re(s),{op:`browser.${n}`,name:t.name,attributes:{[Ce]:"auto.ui.browser.metrics",...r==="redirect"&&t.redirectCount!=null?{"http.redirect_count":t.redirectCount}:{}}})}function Yv(e){return e==="secureConnection"?"connectEnd":e==="fetch"?"domainLookupStart":`${e}End`}function Gv(e,t,r){const o=r+Re(t.requestStart),n=r+Re(t.responseEnd),i=r+Re(t.responseStart);t.responseEnd&&(rr(e,o,n,{op:"browser.request",name:t.name,attributes:{[Ce]:"auto.ui.browser.metrics"}}),rr(e,i,n,{op:"browser.response",name:t.name,attributes:{[Ce]:"auto.ui.browser.metrics"}}))}function Kv(e,t,r,o,n,i,s){if(t.initiatorType==="xmlhttprequest"||t.initiatorType==="fetch")return;const a=t.initiatorType?`resource.${t.initiatorType}`:"resource.other";if(s?.includes(a))return;const c={[Ce]:"auto.resource.browser.metrics"},l=br(r);l.protocol&&(c["url.scheme"]=l.protocol.split(":").pop()),l.host&&(c["server.address"]=l.host),c["url.same_origin"]=r.includes(G.location.origin),Zv(t,c,[["responseStatus","http.response.status_code"],["transferSize","http.response_transfer_size"],["encodedBodySize","http.response_content_length"],["decodedBodySize","http.decoded_response_content_length"],["renderBlockingStatus","resource.render_blocking_status"],["deliveryType","http.response_delivery_type"]]);const d={...c,...kf(t)},u=i+o,m=u+n;rr(e,u,m,{name:r.replace(G.location.origin,""),op:a,attributes:d})}function Xv(e){const t=G.navigator;if(!t)return;const r=t.connection;r&&(r.effectiveType&&e.setAttribute("effectiveConnectionType",r.effectiveType),r.type&&e.setAttribute("connectionType",r.type),Vi(r.rtt)&&(pt["connection.rtt"]={value:r.rtt,unit:"millisecond"})),Vi(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`),Vi(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}function Jv(e,t){Ge&&t.recordLcpOnPageloadSpan&&(Ge.element&&e.setAttribute("lcp.element",Qe(Ge.element)),Ge.id&&e.setAttribute("lcp.id",Ge.id),Ge.url&&e.setAttribute("lcp.url",Ge.url.trim().slice(0,200)),Ge.loadTime!=null&&e.setAttribute("lcp.loadTime",Ge.loadTime),Ge.renderTime!=null&&e.setAttribute("lcp.renderTime",Ge.renderTime),e.setAttribute("lcp.size",Ge.size)),Qn?.sources&&t.recordClsOnPageloadSpan&&Qn.sources.forEach((r,o)=>e.setAttribute(`cls.source.${o+1}`,Qe(r.node)))}function Zv(e,t,r){r.forEach(([o,n])=>{const i=e[o];i!=null&&(typeof i=="number"&&i<Ov||typeof i=="string")&&(t[n]=i)})}function Qv(e){const t=Yo(!1);if(!t)return;const{responseStart:r,requestStart:o}=t;o<=r&&(e["ttfb.requestTime"]={value:r-o,unit:"millisecond"})}function ek(){return Jo()&&tt()?Cr("element",tk):()=>{}}const tk=({entries:e})=>{const t=je(),r=t?Fe(t):void 0,o=r?oe(r).description:fe().getScopeData().transactionName;e.forEach(n=>{const i=n;if(!i.identifier)return;const s=i.name,a=i.renderTime,c=i.loadTime,[l,d]=c?[Re(c),"load-time"]:a?[Re(a),"render-time"]:[Ie(),"entry-emission"],u=s==="image-paint"?Re(Math.max(0,(a??0)-(c??0))):0,m={[Ce]:"auto.ui.browser.elementtiming",[jt]:"ui.elementtiming",[Xe]:"component","sentry.span_start_time_source":d,"sentry.transaction_name":o,"element.id":i.id,"element.type":i.element?.tagName?.toLowerCase()||"unknown","element.size":i.naturalWidth&&i.naturalHeight?`${i.naturalWidth}x${i.naturalHeight}`:void 0,"element.render_time":a,"element.load_time":c,"element.url":i.url||void 0,"element.identifier":i.identifier,"element.paint_type":s};N0({name:`element[${i.identifier}]`,attributes:m,startTime:l,onlyIfParent:!0},p=>{p.end(l+u)})})},rk=1e3;let xl,As,Ms;function _f(e){or("dom",e),nr("dom",ok)}function ok(){if(!G.document)return;const e=at.bind(null,"dom"),t=Tl(e,!0);G.document.addEventListener("click",t,!1),G.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(r=>{const n=G[r]?.prototype;n?.hasOwnProperty?.("addEventListener")&&(Ke(n,"addEventListener",function(i){return function(s,a,c){if(s==="click"||s=="keypress")try{const l=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},d=l[s]=l[s]||{refCount:0};if(!d.handler){const u=Tl(e);d.handler=u,i.call(this,s,u,c)}d.refCount++}catch{}return i.call(this,s,a,c)}}),Ke(n,"removeEventListener",function(i){return function(s,a,c){if(s==="click"||s=="keypress")try{const l=this.__sentry_instrumentation_handlers__||{},d=l[s];d&&(d.refCount--,d.refCount<=0&&(i.call(this,s,d.handler,c),d.handler=void 0,delete l[s]),Object.keys(l).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return i.call(this,s,a,c)}}))})}function nk(e){if(e.type!==As)return!1;try{if(!e.target||e.target._sentryId!==Ms)return!1}catch{}return!0}function ik(e,t){return e!=="keypress"?!1:t?.tagName?!(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable):!0}function Tl(e,t=!1){return r=>{if(!r||r._sentryCaptured)return;const o=sk(r);if(ik(r.type,o))return;et(r,"_sentryCaptured",!0),o&&!o._sentryId&&et(o,"_sentryId",nt());const n=r.type==="keypress"?"input":r.type;nk(r)||(e({event:r,name:n,global:t}),As=r.type,Ms=o?o._sentryId:void 0),clearTimeout(xl),xl=G.setTimeout(()=>{Ms=void 0,As=void 0},rk)}}function sk(e){try{return e.target}catch{return null}}let mn;function _i(e){const t="history";or(t,e),nr(t,ak)}function ak(){if(G.addEventListener("popstate",()=>{const t=G.location.href,r=mn;if(mn=t,r===t)return;at("history",{from:r,to:t})}),!Iy())return;function e(t){return function(...r){const o=r.length>2?r[2]:void 0;if(o){const n=mn,i=ck(String(o));if(mn=i,n===i)return t.apply(this,r);at("history",{from:n,to:i})}return t.apply(this,r)}}Ke(G.history,"pushState",e),Ke(G.history,"replaceState",e)}function ck(e){try{return new URL(e,G.location.origin).toString()}catch{return e}}const On={};function Sf(e){const t=On[e];if(t)return t;let r=G[e];if(Cs(r))return On[e]=r.bind(G);const o=G.document;if(o&&typeof o.createElement=="function")try{const n=o.createElement("iframe");n.hidden=!0,o.head.appendChild(n);const i=n.contentWindow;i?.[e]&&(r=i[e]),o.head.removeChild(n)}catch(n){Er&&x.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,n)}return r&&(On[e]=r.bind(G))}function lk(e){On[e]=void 0}function Zo(...e){return Sf("setTimeout")(...e)}const ur="__sentry_xhr_v3__";function wf(e){or("xhr",e),nr("xhr",dk)}function dk(){if(!G.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(t,r,o){const n=new Error,i=Ie()*1e3,s=$t(o[0])?o[0].toUpperCase():void 0,a=uk(o[1]);if(!s||!a)return t.apply(r,o);r[ur]={method:s,url:a,request_headers:{}},s==="POST"&&a.match(/sentry_key/)&&(r.__sentry_own_request__=!0);const c=()=>{const l=r[ur];if(l&&r.readyState===4){try{l.status_code=r.status}catch{}const d={endTimestamp:Ie()*1e3,startTimestamp:i,xhr:r,virtualError:n};at("xhr",d)}};return"onreadystatechange"in r&&typeof r.onreadystatechange=="function"?r.onreadystatechange=new Proxy(r.onreadystatechange,{apply(l,d,u){return c(),l.apply(d,u)}}):r.addEventListener("readystatechange",c),r.setRequestHeader=new Proxy(r.setRequestHeader,{apply(l,d,u){const[m,p]=u,f=d[ur];return f&&$t(m)&&$t(p)&&(f.request_headers[m.toLowerCase()]=p),l.apply(d,u)}}),t.apply(r,o)}}),e.send=new Proxy(e.send,{apply(t,r,o){const n=r[ur];if(!n)return t.apply(r,o);o[0]!==void 0&&(n.body=o[0]);const i={startTimestamp:Ie()*1e3,xhr:r};return at("xhr",i),t.apply(r,o)}})}function uk(e){if($t(e))return e;try{return e.toString()}catch{}}const fk=Symbol.for("sentry__originalRequestBody");function Ef(e){return new URLSearchParams(e).toString()}function Cf(e,t=x){try{if(typeof e=="string")return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[Ef(e)];if(!e)return[void 0]}catch(r){return Er&&t.error(r,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return Er&&t.log("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function xf(e=[]){if(e.length>=2&&e[1]&&typeof e[1]=="object"&&"body"in e[1])return e[1].body;if(e.length>=1&&e[0]instanceof Request){const r=e[0][fk];return r!==void 0?r:void 0}}function Tf(e){let t;try{t=e.getAllResponseHeaders()}catch(r){return Er&&x.error(r,"Failed to get xhr response headers",e),{}}return t?t.split(`\r
`).reduce((r,o)=>{const[n,i]=o.split(": ");return i&&(r[n.toLowerCase()]=i),r},{}):{}}const Yi=[],Ln=new Map,Mr=new Map,pk=60;function mk(){if(Jo()&&tt()){const t=gk();return()=>{t()}}return()=>{}}const $s={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};function gk(){return gf(hk)}const hk=({metric:e})=>{if(e.value==null)return;const t=Re(e.value);if(t>pk)return;const r=e.entries.find(f=>f.duration===e.value&&$s[f.name]);if(!r)return;const{interactionId:o}=r,n=$s[r.name],i=Re(tt()+r.startTime),s=je(),a=s?Fe(s):void 0,c=o!=null?Ln.get(o):void 0,l=c?.span||a,d=l?oe(l).description:fe().getScopeData().transactionName,u=c?.elementName||Qe(r.target),m={[Ce]:"auto.http.browser.inp",[jt]:`ui.interaction.${n}`,[ao]:r.duration},p=$a({name:u,transaction:d,attributes:m,startTime:i});p&&(p.addEvent("inp",{[Wo]:"millisecond",[qo]:e.value}),p.end(i+t))};function bk(){const e=Object.keys($s);xs()&&e.forEach(n=>{G.addEventListener(n,t,{capture:!0,passive:!0})});function t(n){const i=n.target;if(!i)return;const s=Qe(i),a=Math.round(n.timeStamp);if(Mr.set(a,s),Mr.size>50){const c=Mr.keys().next().value;c!==void 0&&Mr.delete(c)}}function r(n){const i=Math.round(n.startTime);let s=Mr.get(i);if(!s)for(let a=-5;a<=5;a++){const c=Mr.get(i+a);if(c){s=c;break}}return s||"<unknown>"}const o=({entries:n})=>{const i=je(),s=i&&Fe(i);n.forEach(a=>{if(!xv(a))return;const c=a.interactionId;if(c==null||Ln.has(c))return;const l=a.target?Qe(a.target):r(a);if(Yi.length>10){const d=Yi.shift();Ln.delete(d)}Yi.push(c),Ln.set(c,{span:s,elementName:l})})};Cr("event",o),Cr("first-input",o)}const yk=40;function vk(e,t=Sf("fetch")){let r=0,o=0;async function n(i){const s=i.body.length;r+=s,o++;const a={body:i.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:r<=6e4&&o<15,...e.fetchOptions};try{const c=await t(e.url,a);return{statusCode:c.status,headers:{"x-sentry-rate-limits":c.headers.get("X-Sentry-Rate-Limits"),"retry-after":c.headers.get("Retry-After")}}}catch(c){throw lk("fetch"),c}finally{r-=s,o--}}return Ib(e,n,Sa(e.bufferSize||yk))}const lt=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,kk=30,_k=50;function Os(e,t,r,o){const n={filename:e,function:t==="<anonymous>"?Sr:t,in_app:!0};return r!==void 0&&(n.lineno=r),o!==void 0&&(n.colno=o),n}const Sk=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,wk=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Ek=/\((\S*)(?::(\d+))(?::(\d+))\)/,Ck=/at (.+?) ?\(data:(.+?),/,xk=e=>{const t=e.match(Ck);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};const r=Sk.exec(e);if(r){const[,n,i,s]=r;return Os(n,Sr,+i,+s)}const o=wk.exec(e);if(o){if(o[2]&&o[2].indexOf("eval")===0){const a=Ek.exec(o[2]);a&&(o[2]=a[1],o[3]=a[2],o[4]=a[3])}const[i,s]=Rf(o[1]||Sr,o[2]);return Os(s,i,o[3]?+o[3]:void 0,o[4]?+o[4]:void 0)}},Tk=[kk,xk],Rk=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Ik=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Bk=e=>{const t=Rk.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const i=Ik.exec(t[3]);i&&(t[1]=t[1]||"eval",t[3]=i[1],t[4]=i[2],t[5]="")}let o=t[3],n=t[1]||Sr;return[n,o]=Rf(n,o),Os(o,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},Ak=[_k,Bk],Mk=[Tk,Ak],$k=Jd(...Mk),Rf=(e,t)=>{const r=e.indexOf("safari-extension")!==-1,o=e.indexOf("safari-web-extension")!==-1;return r||o?[e.indexOf("@")!==-1?e.split("@")[0]:Sr,r?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},gn=1024,Ok="Breadcrumbs",Lk=((e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:Ok,setup(r){t.console&&my(Fk(r)),t.dom&&_f(Pk(r,t.dom)),t.xhr&&wf(jk(r)),t.fetch&&tf(Hk(r)),t.history&&_i(Uk(r)),t.sentry&&r.on("beforeSendEvent",Dk(r))}}}),Nk=Lk;function Dk(e){return function(r){te()===e&&tr({category:`sentry.${r.type==="transaction"?"transaction":"event"}`,event_id:r.event_id,level:r.level,message:lr(r)},{event:r})}}function Pk(e,t){return function(o){if(te()!==e)return;let n,i,s=typeof t=="object"?t.serializeAttribute:void 0,a=typeof t=="object"&&typeof t.maxStringLength=="number"?t.maxStringLength:void 0;a&&a>gn&&(lt&&x.warn(`\`dom.maxStringLength\` cannot exceed ${gn}, but a value of ${a} was configured. Sentry will use ${gn} instead.`),a=gn),typeof s=="string"&&(s=[s]);try{const l=o.event,d=zk(l)?l.target:l;n=Qe(d,{keyAttrs:s,maxStringLength:a}),i=nu(d)}catch{n="<unknown>"}if(n.length===0)return;const c={category:`ui.${o.name}`,message:n};i&&(c.data={"ui.component_name":i}),tr(c,{event:o.event,name:o.name,global:o.global})}}function Fk(e){return function(r){if(te()!==e)return;const o={category:"console",data:{arguments:r.args,logger:"console"},level:Ju(r.level),message:Pc(r.args," ")};if(r.level==="assert")if(r.args[0]===!1)o.message=`Assertion failed: ${Pc(r.args.slice(1)," ")||"console.assert"}`,o.data.arguments=r.args.slice(1);else return;tr(o,{input:r.args,level:r.level})}}function jk(e){return function(r){if(te()!==e)return;const{startTimestamp:o,endTimestamp:n}=r,i=r.xhr[ur];if(!o||!n||!i)return;const{method:s,url:a,status_code:c,body:l}=i,d={method:s,url:a,status_code:c},u={xhr:r.xhr,input:l,startTimestamp:o,endTimestamp:n},m={category:"xhr",data:d,type:"http",level:ef(c)};e.emit("beforeOutgoingRequestBreadcrumb",m,u),tr(m,u)}}function Hk(e){return function(r){if(te()!==e)return;const{startTimestamp:o,endTimestamp:n}=r;if(n&&!(r.fetchData.url.match(/sentry_key/)&&r.fetchData.method==="POST"))if(r.fetchData.method,r.fetchData.url,r.error){const i=r.fetchData,s={data:r.error,input:r.args,startTimestamp:o,endTimestamp:n},a={category:"fetch",data:i,level:"error",type:"http"};e.emit("beforeOutgoingRequestBreadcrumb",a,s),tr(a,s)}else{const i=r.response,s={...r.fetchData,status_code:i?.status};r.fetchData.request_body_size,r.fetchData.response_body_size,i?.status;const a={input:r.args,response:i,startTimestamp:o,endTimestamp:n},c={category:"fetch",data:s,type:"http",level:ef(s.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",c,a),tr(c,a)}}}function Uk(e){return function(r){if(te()!==e)return;let o=r.from,n=r.to;const i=br(ce.location.href);let s=o?br(o):void 0;const a=br(n);s?.path||(s=i),i.protocol===a.protocol&&i.host===a.host&&(n=a.relative),i.protocol===s.protocol&&i.host===s.host&&(o=s.relative),tr({category:"navigation",data:{from:o,to:n}})}}function zk(e){return!!e&&!!e.target}const Wk=["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"],qk="BrowserApiErrors",Vk=((e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:qk,setupOnce(){t.setTimeout&&Ke(ce,"setTimeout",Rl),t.setInterval&&Ke(ce,"setInterval",Rl),t.requestAnimationFrame&&Ke(ce,"requestAnimationFrame",Gk),t.XMLHttpRequest&&"XMLHttpRequest"in ce&&Ke(XMLHttpRequest.prototype,"send",Kk);const r=t.eventTarget;r&&(Array.isArray(r)?r:Wk).forEach(n=>Xk(n,t))}}}),Yk=Vk;function Rl(e){return function(...t){const r=t[0];return t[0]=Xr(r,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${Dt(e)}`}}),e.apply(this,t)}}function Gk(e){return function(t){return e.apply(this,[Xr(t,{mechanism:{data:{handler:Dt(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function Kk(e){return function(...t){const r=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(n=>{n in r&&typeof r[n]=="function"&&Ke(r,n,function(i){const s={mechanism:{data:{handler:Dt(i)},handled:!1,type:`auto.browser.browserapierrors.xhr.${n}`}},a=da(i);return a&&(s.mechanism.data.handler=Dt(a)),Xr(i,s)})}),e.apply(this,t)}}function Xk(e,t){const o=ce[e]?.prototype;o?.hasOwnProperty?.("addEventListener")&&(Ke(o,"addEventListener",function(n){return function(i,s,a){try{Jk(s)&&(s.handleEvent=Xr(s.handleEvent,{mechanism:{data:{handler:Dt(s),target:e},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return t.unregisterOriginalCallbacks&&Zk(this,i,s),n.apply(this,[i,Xr(s,{mechanism:{data:{handler:Dt(s),target:e},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),a])}}),Ke(o,"removeEventListener",function(n){return function(i,s,a){try{const c=s.__sentry_wrapped__;c&&n.call(this,i,c,a)}catch{}return n.call(this,i,s,a)}}))}function Jk(e){return typeof e.handleEvent=="function"}function Zk(e,t,r){e&&typeof e=="object"&&"removeEventListener"in e&&typeof e.removeEventListener=="function"&&e.removeEventListener(t,r)}const Qk=()=>({name:"BrowserSession",setupOnce(){if(typeof ce.document>"u"){lt&&x.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}il({ignoreDuration:!0}),sl(),_i(({from:e,to:t})=>{e!==void 0&&e!==t&&(il({ignoreDuration:!0}),sl())})}}),e_="GlobalHandlers",t_=((e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:e_,setupOnce(){Error.stackTraceLimit=50},setup(r){t.onerror&&(o_(r),Il("onerror")),t.onunhandledrejection&&(n_(r),Il("onunhandledrejection"))}}}),r_=t_;function o_(e){Qd(t=>{const{stackParser:r,attachStacktrace:o}=If();if(te()!==e||of())return;const{msg:n,url:i,line:s,column:a,error:c}=t,l=a_(Ra(r,c||n,void 0,o,!1),i,s,a);l.level="error",$u(l,{originalException:c,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}function n_(e){eu(t=>{const{stackParser:r,attachStacktrace:o}=If();if(te()!==e||of())return;const n=i_(t),i=qr(n)?s_(n):Ra(r,n,void 0,o,!0);i.level="error",$u(i,{originalException:n,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}function i_(e){if(qr(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 s_(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function a_(e,t,r,o){const n=e.exception=e.exception||{},i=n.values=n.values||[],s=i[0]=i[0]||{},a=s.stacktrace=s.stacktrace||{},c=a.frames=a.frames||[],l=o,d=r,u=c_(t)??io();return c.length===0&&c.push({colno:l,filename:u,function:Sr,in_app:!0,lineno:d}),e}function Il(e){lt&&x.log(`Global Handler attached: ${e}`)}function If(){return te()?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function c_(e){if(!(!$t(e)||e.length===0)){if(e.startsWith("data:")){const t=e.match(/^data:([^;]+)/),r=t?t[1]:"text/javascript",o=e.includes("base64,");return`<data:${r}${o?",base64":""}>`}return e}}const l_=()=>({name:"HttpContext",preprocessEvent(e){if(!ce.navigator&&!ce.location&&!ce.document)return;const t=Ca(),r={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:r}}}),d_="cause",u_=5,f_="LinkedErrors",p_=((e={})=>{const t=e.limit||u_,r=e.key||d_;return{name:f_,preprocessEvent(o,n,i){const s=i.getOptions();py(xa,s.stackParser,r,t,o,n)}}}),m_=p_;function g_(){return h_()?(lt&&zt(()=>{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 h_(){if(typeof ce.window>"u")return!1;const e=ce;if(e.nw||!(e.chrome||e.browser)?.runtime?.id)return!1;const r=io(),o=["chrome-extension","moz-extension","ms-browser-extension","safari-web-extension"];return!(ce===ce.top&&o.some(i=>r.startsWith(`${i}://`)))}function Bf(e){return[iy(),ty(),Yk(),Nk(),r_(),m_(),yy(),l_(),Qk()]}function b_(e={}){const t=!e.skipBrowserExtensionCheck&&g_();let r=e.defaultIntegrations==null?Bf():e.defaultIntegrations;const o={...e,enabled:t?!1:e.enabled,stackParser:sh(e.stackParser||$k),integrations:yb({integrations:e.integrations,defaultIntegrations:r}),transport:e.transport||vk};return jb(Qy,o)}const ve=ee,Oa="sentryReplaySession",y_="replay_event",La="Unable to send Replay",v_=3e5,k_=9e5,__=5e3,S_=5500,w_=6e4,E_=5e3,C_=3,Bl=15e4,hn=5e3,x_=3e3,T_=300,Na=2e7,R_=4999,I_=5e4,Al=36e5;var B_=Object.defineProperty,A_=(e,t,r)=>t in e?B_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ml=(e,t,r)=>A_(e,typeof t!="symbol"?t+"":t,r),Me=(e=>(e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e))(Me||{});function M_(e){return e.nodeType===e.ELEMENT_NODE}function wo(e){return e?.host?.shadowRoot===e}function Eo(e){return Object.prototype.toString.call(e)==="[object ShadowRoot]"}function $_(e){return e.includes(" background-clip: text;")&&!e.includes(" -webkit-background-clip: text;")&&(e=e.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),e}function O_(e){const{cssText:t}=e;if(t.split('"').length<3)return t;const r=["@import",`url(${JSON.stringify(e.href)})`];return e.layerName===""?r.push("layer"):e.layerName&&r.push(`layer(${e.layerName})`),e.supportsText&&r.push(`supports(${e.supportsText})`),e.media.length&&r.push(e.media.mediaText),r.join(" ")+";"}function ei(e){try{const t=e.rules||e.cssRules;return t?$_(Array.from(t,Af).join("")):null}catch{return null}}function L_(e){let t="";for(let r=0;r<e.style.length;r++){const o=e.style,n=o[r],i=o.getPropertyPriority(n);t+=`${n}:${o.getPropertyValue(n)}${i?" !important":""};`}return`${e.selectorText} { ${t} }`}function Af(e){let t;if(D_(e))try{t=ei(e.styleSheet)||O_(e)}catch{}else if(P_(e)){let r=e.cssText;const o=e.selectorText.includes(":"),n=typeof e.style.all=="string"&&e.style.all;if(n&&(r=L_(e)),o&&(r=N_(r)),o||n)return r}return t||e.cssText}function N_(e){const t=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(t,"$1\\$2")}function D_(e){return"styleSheet"in e}function P_(e){return"selectorText"in e}class Mf{constructor(){Ml(this,"idNodeMap",new Map),Ml(this,"nodeMetaMap",new WeakMap)}getId(t){return t?this.getMeta(t)?.id??-1:-1}getNode(t){return this.idNodeMap.get(t)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(t){return this.nodeMetaMap.get(t)||null}removeNodeFromMap(t){const r=this.getId(t);this.idNodeMap.delete(r),t.childNodes&&t.childNodes.forEach(o=>this.removeNodeFromMap(o))}has(t){return this.idNodeMap.has(t)}hasNode(t){return this.nodeMetaMap.has(t)}add(t,r){const o=r.id;this.idNodeMap.set(o,t),this.nodeMetaMap.set(t,r)}replace(t,r){const o=this.getNode(t);if(o){const n=this.nodeMetaMap.get(o);n&&this.nodeMetaMap.set(r,n)}this.idNodeMap.set(t,r)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function F_(){return new Mf}function Si({maskInputOptions:e,tagName:t,type:r}){return t==="OPTION"&&(t="SELECT"),!!(e[t.toLowerCase()]||r&&e[r]||r==="password"||t==="INPUT"&&!r&&e.text)}function Mo({isMasked:e,element:t,value:r,maskInputFn:o}){let n=r||"";return e?(o&&(n=o(n,t)),"*".repeat(n.length)):n}function Jr(e){return e.toLowerCase()}function Ls(e){return e.toUpperCase()}const $l="__rrweb_original__";function j_(e){const t=e.getContext("2d");if(!t)return!0;const r=50;for(let o=0;o<e.width;o+=r)for(let n=0;n<e.height;n+=r){const i=t.getImageData,s=$l in i?i[$l]:i;if(new Uint32Array(s.call(t,o,n,Math.min(r,e.width-o),Math.min(r,e.height-n)).data.buffer).some(c=>c!==0))return!1}return!0}function Da(e){const t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?Jr(t):null}function ti(e,t,r){return t==="INPUT"&&(r==="radio"||r==="checkbox")?e.getAttribute("value")||"":e.value}function $f(e,t){let r;try{r=new URL(e,t??window.location.href)}catch{return null}const o=/\.([0-9a-z]+)(?:$)/i;return r.pathname.match(o)?.[1]??null}const Ol={};function Of(e){const t=Ol[e];if(t)return t;const r=window.document;let o=window[e];if(r&&typeof r.createElement=="function")try{const n=r.createElement("iframe");n.hidden=!0,r.head.appendChild(n);const i=n.contentWindow;i&&i[e]&&(o=i[e]),r.head.removeChild(n)}catch{}return Ol[e]=o.bind(window)}function Ns(...e){return Of("setTimeout")(...e)}function Lf(...e){return Of("clearTimeout")(...e)}function Nf(e){try{return e.contentDocument}catch{}}let H_=1;const U_=new RegExp("[^a-z0-9-_:]"),$o=-2;function Pa(){return H_++}function z_(e){if(e instanceof HTMLFormElement)return"form";const t=Jr(e.tagName);return U_.test(t)?"div":t}function W_(e){let t="";return e.indexOf("//")>-1?t=e.split("/").slice(0,3).join("/"):t=e.split("/")[0],t=t.split("?")[0],t}let $r,Ll;const q_=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,V_=/^(?:[a-z+]+:)?\/\//i,Y_=/^www\..*/i,G_=/^(data:)([^,]*),(.*)/i;function K_(e,t){if(!e||t.size===0)return e;try{const r=e.split(";"),o=[];for(let n of r){if(n=n.trim(),!n)continue;const i=n.indexOf(":");if(i===-1){o.push(n);continue}const s=n.slice(0,i).trim();t.has(s)||o.push(n)}return o.join("; ")+(o.length>0&&e.endsWith(";")?";":"")}catch(r){return console.warn("Error filtering CSS properties:",r),e}}function ri(e,t){return(e||"").replace(q_,(r,o,n,i,s,a)=>{const c=n||s||a,l=o||i||"";if(!c)return r;if(V_.test(c)||Y_.test(c))return`url(${l}${c}${l})`;if(G_.test(c))return`url(${l}${c}${l})`;if(c[0]==="/")return`url(${l}${W_(t)+c}${l})`;const d=t.split("/"),u=c.split("/");d.pop();for(const m of u)m!=="."&&(m===".."?d.pop():d.push(m));return`url(${l}${d.join("/")}${l})`})}const X_=/^[^ \t\n\r\u000c]+/,J_=/^[, \t\n\r\u000c]+/;function Z_(e,t){if(t.trim()==="")return t;let r=0;function o(i){let s;const a=i.exec(t.substring(r));return a?(s=a[0],r+=s.length,s):""}const n=[];for(;o(J_),!(r>=t.length);){let i=o(X_);if(i.slice(-1)===",")i=Dr(e,i.substring(0,i.length-1)),n.push(i);else{let s="";i=Dr(e,i);let a=!1;for(;;){const c=t.charAt(r);if(c===""){n.push((i+s).trim());break}else if(a)c===")"&&(a=!1);else if(c===","){r+=1,n.push((i+s).trim());break}else c==="("&&(a=!0);s+=c,r+=1}}}return n.join(", ")}const Nl=new WeakMap;function Dr(e,t){return!t||t.trim()===""?t:wi(e,t)}function Q_(e){return!!(e.tagName==="svg"||e.ownerSVGElement)}function wi(e,t){let r=Nl.get(e);if(r||(r=e.createElement("a"),Nl.set(e,r)),!t)t="";else if(t.startsWith("blob:")||t.startsWith("data:"))return t;return r.setAttribute("href",t),r.href}function Df(e,t,r,o,n,i,s){if(!o)return o;if(r==="src"||r==="href"&&!(t==="use"&&o[0]==="#"))return Dr(e,o);if(r==="xlink:href"&&o[0]!=="#")return Dr(e,o);if(r==="background"&&(t==="table"||t==="td"||t==="th"))return Dr(e,o);if(r==="srcset")return Z_(e,o);if(r==="style"){let a=ri(o,wi(e));return s&&s.size>0&&(a=K_(a,s)),a}else if(t==="object"&&r==="data")return Dr(e,o);return typeof i=="function"?i(r,o,n):o}function Pf(e,t,r){return(e==="video"||e==="audio")&&t==="autoplay"}function eS(e,t,r,o){try{if(o&&e.matches(o))return!1;if(typeof t=="string"){if(e.classList.contains(t))return!0}else for(let n=e.classList.length;n--;){const i=e.classList[n];if(t.test(i))return!0}if(r)return e.matches(r)}catch{}return!1}function tS(e,t){for(let r=e.classList.length;r--;){const o=e.classList[r];if(t.test(o))return!0}return!1}function fr(e,t,r=1/0,o=0){return!e||e.nodeType!==e.ELEMENT_NODE||o>r?-1:t(e)?o:fr(e.parentNode,t,r,o+1)}function Pr(e,t){return r=>{const o=r;if(o===null)return!1;try{if(e){if(typeof e=="string"){if(o.matches(`.${e}`))return!0}else if(tS(o,e))return!0}return!!(t&&o.matches(t))}catch{return!1}}}function Zr(e,t,r,o,n,i){try{const s=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(s===null)return!1;if(s.tagName==="INPUT"){const l=s.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(l))return!0}let a=-1,c=-1;if(i){if(c=fr(s,Pr(o,n)),c<0)return!0;a=fr(s,Pr(t,r),c>=0?c:1/0)}else{if(a=fr(s,Pr(t,r)),a<0)return!1;c=fr(s,Pr(o,n),a>=0?a:1/0)}return a>=0?c>=0?a<=c:!0:c>=0?!1:!!i}catch{}return!!i}function rS(e,t,r){const o=e.contentWindow;if(!o)return;let n=!1,i;try{i=o.document.readyState}catch{return}if(i!=="complete"){const a=Ns(()=>{n||(t(),n=!0)},r);e.addEventListener("load",()=>{Lf(a),n=!0,t()});return}const s="about:blank";if(o.location.href!==s||e.src===s||e.src==="")return Ns(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}function oS(e,t,r){let o=!1,n;try{n=e.sheet}catch{return}if(n)return;const i=Ns(()=>{o||(t(),o=!0)},r);e.addEventListener("load",()=>{Lf(i),o=!0,t()})}function nS(e,t){const{doc:r,mirror:o,blockClass:n,blockSelector:i,unblockSelector:s,maskAllText:a,maskAttributeFn:c,maskTextClass:l,unmaskTextClass:d,maskTextSelector:u,unmaskTextSelector:m,inlineStylesheet:p,maskInputOptions:f={},maskTextFn:g,maskInputFn:h,dataURLOptions:b={},inlineImages:_,recordCanvas:S,keepIframeSrcFn:w,newlyAddedElement:I=!1,ignoreCSSAttributes:B}=t,v=iS(r,o);switch(e.nodeType){case e.DOCUMENT_NODE:return e.compatMode!=="CSS1Compat"?{type:Me.Document,childNodes:[],compatMode:e.compatMode}:{type:Me.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:Me.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:v};case e.ELEMENT_NODE:return aS(e,{doc:r,blockClass:n,blockSelector:i,unblockSelector:s,inlineStylesheet:p,maskAttributeFn:c,maskInputOptions:f,maskInputFn:h,dataURLOptions:b,inlineImages:_,recordCanvas:S,keepIframeSrcFn:w,newlyAddedElement:I,rootId:v,maskTextClass:l,unmaskTextClass:d,maskTextSelector:u,unmaskTextSelector:m,ignoreCSSAttributes:B});case e.TEXT_NODE:return sS(e,{doc:r,maskAllText:a,maskTextClass:l,unmaskTextClass:d,maskTextSelector:u,unmaskTextSelector:m,maskTextFn:g,maskInputOptions:f,maskInputFn:h,rootId:v});case e.CDATA_SECTION_NODE:return{type:Me.CDATA,textContent:"",rootId:v};case e.COMMENT_NODE:return{type:Me.Comment,textContent:e.textContent||"",rootId:v};default:return!1}}function iS(e,t){if(!t.hasNode(e))return;const r=t.getId(e);return r===1?void 0:r}function sS(e,t){const{maskAllText:r,maskTextClass:o,unmaskTextClass:n,maskTextSelector:i,unmaskTextSelector:s,maskTextFn:a,maskInputOptions:c,maskInputFn:l,rootId:d}=t,u=e.parentNode&&e.parentNode.tagName;let m=e.textContent;const p=u==="STYLE"?!0:void 0,f=u==="SCRIPT"?!0:void 0,g=u==="TEXTAREA"?!0:void 0;if(p&&m){try{e.nextSibling||e.previousSibling||e.parentNode.sheet?.cssRules&&(m=ei(e.parentNode.sheet))}catch(b){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${b}`,e)}m=ri(m,wi(t.doc))}f&&(m="SCRIPT_PLACEHOLDER");const h=Zr(e,o,i,n,s,r);if(!p&&!f&&!g&&m&&h&&(m=a?a(m,e.parentElement):m.replace(/[\S]/g,"*")),g&&m&&(c.textarea||h)&&(m=l?l(m,e.parentNode):m.replace(/[\S]/g,"*")),u==="OPTION"&&m){const b=Si({type:null,tagName:u,maskInputOptions:c});m=Mo({isMasked:Zr(e,o,i,n,s,b),element:e,value:m,maskInputFn:l})}return{type:Me.Text,textContent:m||"",isStyle:p,rootId:d}}function aS(e,t){const{doc:r,blockClass:o,blockSelector:n,unblockSelector:i,inlineStylesheet:s,maskInputOptions:a={},maskAttributeFn:c,maskInputFn:l,dataURLOptions:d={},inlineImages:u,recordCanvas:m,keepIframeSrcFn:p,newlyAddedElement:f=!1,rootId:g,maskTextClass:h,unmaskTextClass:b,maskTextSelector:_,unmaskTextSelector:S,ignoreCSSAttributes:w}=t,I=eS(e,o,n,i),B=z_(e);let v={};const R=e.attributes.length;for(let T=0;T<R;T++){const A=e.attributes[T];A.name&&!Pf(B,A.name,A.value)&&(v[A.name]=Df(r,B,Jr(A.name),A.value,e,c,w))}if(B==="link"&&s){const T=Array.from(r.styleSheets).find(P=>P.href===e.href);let A=null;T&&(A=ei(T)),A&&(v.rel=null,v.href=null,v.crossorigin=null,v._cssText=ri(A,T.href))}if(B==="style"&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){const T=ei(e.sheet);T&&(v._cssText=ri(T,wi(r)))}if(B==="input"||B==="textarea"||B==="select"||B==="option"){const T=e,A=Da(T),P=ti(T,Ls(B),A),D=T.checked;if(A!=="submit"&&A!=="button"&&P){const L=Zr(T,h,_,b,S,Si({type:A,tagName:Ls(B),maskInputOptions:a}));v.value=Mo({isMasked:L,element:T,value:P,maskInputFn:l})}D&&(v.checked=D)}if(B==="option"&&(e.selected&&!a.select?v.selected=!0:delete v.selected),B==="canvas"&&m){if(e.__context==="2d")j_(e)||(v.rr_dataURL=e.toDataURL(d.type,d.quality));else if(!("__context"in e)){const T=e.toDataURL(d.type,d.quality),A=r.createElement("canvas");A.width=e.width,A.height=e.height;const P=A.toDataURL(d.type,d.quality);T!==P&&(v.rr_dataURL=T)}}if(B==="img"&&u){$r||($r=r.createElement("canvas"),Ll=$r.getContext("2d"));const T=e,A=T.currentSrc||T.getAttribute("src")||"<unknown-src>",P=T.crossOrigin,D=()=>{T.removeEventListener("load",D);try{$r.width=T.naturalWidth,$r.height=T.naturalHeight,Ll.drawImage(T,0,0),v.rr_dataURL=$r.toDataURL(d.type,d.quality)}catch(L){if(T.crossOrigin!=="anonymous"){T.crossOrigin="anonymous",T.complete&&T.naturalWidth!==0?D():T.addEventListener("load",D);return}else console.warn(`Cannot inline img src=${A}! Error: ${L}`)}T.crossOrigin==="anonymous"&&(P?v.crossOrigin=P:T.removeAttribute("crossorigin"))};T.complete&&T.naturalWidth!==0?D():T.addEventListener("load",D)}if((B==="audio"||B==="video")&&(v.rr_mediaState=e.paused?"paused":"played",v.rr_mediaCurrentTime=e.currentTime),f||(e.scrollLeft&&(v.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(v.rr_scrollTop=e.scrollTop)),I){const{width:T,height:A}=e.getBoundingClientRect();v={class:v.class,rr_width:`${T}px`,rr_height:`${A}px`}}B==="iframe"&&!p(v.src)&&(!I&&!Nf(e)&&(v.rr_src=v.src),delete v.src);let Z;try{customElements.get(B)&&(Z=!0)}catch{}return{type:Me.Element,tagName:B,attributes:v,childNodes:[],isSVG:Q_(e)||void 0,needBlock:I,rootId:g,isCustom:Z}}function ye(e){return e==null?"":e.toLowerCase()}function cS(e,t){if(t.comment&&e.type===Me.Comment)return!0;if(e.type===Me.Element){if(t.script&&(e.tagName==="script"||e.tagName==="link"&&(e.attributes.rel==="preload"||e.attributes.rel==="modulepreload")||e.tagName==="link"&&e.attributes.rel==="prefetch"&&typeof e.attributes.href=="string"&&$f(e.attributes.href)==="js"))return!0;if(t.headFavicon&&(e.tagName==="link"&&e.attributes.rel==="shortcut icon"||e.tagName==="meta"&&(ye(e.attributes.name).match(/^msapplication-tile(image|color)$/)||ye(e.attributes.name)==="application-name"||ye(e.attributes.rel)==="icon"||ye(e.attributes.rel)==="apple-touch-icon"||ye(e.attributes.rel)==="shortcut icon")))return!0;if(e.tagName==="meta"){if(t.headMetaDescKeywords&&ye(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(ye(e.attributes.property).match(/^(og|twitter|fb):/)||ye(e.attributes.name).match(/^(og|twitter):/)||ye(e.attributes.name)==="pinterest"))return!0;if(t.headMetaRobots&&(ye(e.attributes.name)==="robots"||ye(e.attributes.name)==="googlebot"||ye(e.attributes.name)==="bingbot"))return!0;if(t.headMetaHttpEquiv&&e.attributes["http-equiv"]!==void 0)return!0;if(t.headMetaAuthorship&&(ye(e.attributes.name)==="author"||ye(e.attributes.name)==="generator"||ye(e.attributes.name)==="framework"||ye(e.attributes.name)==="publisher"||ye(e.attributes.name)==="progid"||ye(e.attributes.property).match(/^article:/)||ye(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&(ye(e.attributes.name)==="google-site-verification"||ye(e.attributes.name)==="yandex-verification"||ye(e.attributes.name)==="csrf-token"||ye(e.attributes.name)==="p:domain_verify"||ye(e.attributes.name)==="verify-v1"||ye(e.attributes.name)==="verification"||ye(e.attributes.name)==="shopify-checkout-api-token"))return!0}}return!1}function Fr(e,t){const{doc:r,mirror:o,blockClass:n,blockSelector:i,unblockSelector:s,maskAllText:a,maskTextClass:c,unmaskTextClass:l,maskTextSelector:d,unmaskTextSelector:u,skipChild:m=!1,inlineStylesheet:p=!0,maskInputOptions:f={},maskAttributeFn:g,maskTextFn:h,maskInputFn:b,slimDOMOptions:_,dataURLOptions:S={},inlineImages:w=!1,recordCanvas:I=!1,onSerialize:B,onIframeLoad:v,iframeLoadTimeout:R=5e3,onBlockedImageLoad:Z,onStylesheetLoad:T,stylesheetLoadTimeout:A=5e3,keepIframeSrcFn:P=()=>!1,newlyAddedElement:D=!1,ignoreCSSAttributes:L}=t;let{preserveWhiteSpace:Q=!0}=t;const F=nS(e,{doc:r,mirror:o,blockClass:n,blockSelector:i,maskAllText:a,unblockSelector:s,maskTextClass:c,unmaskTextClass:l,maskTextSelector:d,unmaskTextSelector:u,inlineStylesheet:p,maskInputOptions:f,maskAttributeFn:g,maskTextFn:h,maskInputFn:b,dataURLOptions:S,inlineImages:w,recordCanvas:I,keepIframeSrcFn:P,newlyAddedElement:D,ignoreCSSAttributes:L});if(!F)return console.warn(e,"not serialized"),null;let U;o.hasNode(e)?U=o.getId(e):cS(F,_)||!Q&&F.type===Me.Text&&!F.isStyle&&!F.textContent.replace(/^\s+|\s+$/gm,"").length?U=$o:U=Pa();const E=Object.assign(F,{id:U});if(o.add(e,E),U===$o)return null;B&&B(e);let W=!m;if(E.type===Me.Element){W=W&&!E.needBlock;const $=e.shadowRoot;$&&Eo($)&&(E.isShadowHost=!0)}if((E.type===Me.Document||E.type===Me.Element)&&W){_.headWhitespace&&E.type===Me.Element&&E.tagName==="head"&&(Q=!1);const $={doc:r,mirror:o,blockClass:n,blockSelector:i,maskAllText:a,unblockSelector:s,maskTextClass:c,unmaskTextClass:l,maskTextSelector:d,unmaskTextSelector:u,skipChild:m,inlineStylesheet:p,maskInputOptions:f,maskAttributeFn:g,maskTextFn:h,maskInputFn:b,slimDOMOptions:_,dataURLOptions:S,inlineImages:w,recordCanvas:I,preserveWhiteSpace:Q,onSerialize:B,onIframeLoad:v,iframeLoadTimeout:R,onBlockedImageLoad:Z,onStylesheetLoad:T,stylesheetLoadTimeout:A,keepIframeSrcFn:P,ignoreCSSAttributes:L},q=e.childNodes?Array.from(e.childNodes):[];for(const V of q){const ue=Fr(V,$);ue&&E.childNodes.push(ue)}if(M_(e)&&e.shadowRoot)for(const V of Array.from(e.shadowRoot.childNodes)){const ue=Fr(V,$);ue&&(Eo(e.shadowRoot)&&(ue.isShadow=!0),E.childNodes.push(ue))}}if(e.parentNode&&wo(e.parentNode)&&Eo(e.parentNode)&&(E.isShadow=!0),E.type===Me.Element&&E.tagName==="iframe"&&!E.needBlock&&rS(e,()=>{const $=Nf(e);if($&&v){const q=Fr($,{doc:$,mirror:o,blockClass:n,blockSelector:i,unblockSelector:s,maskAllText:a,maskTextClass:c,unmaskTextClass:l,maskTextSelector:d,unmaskTextSelector:u,skipChild:!1,inlineStylesheet:p,maskInputOptions:f,maskAttributeFn:g,maskTextFn:h,maskInputFn:b,slimDOMOptions:_,dataURLOptions:S,inlineImages:w,recordCanvas:I,preserveWhiteSpace:Q,onSerialize:B,onIframeLoad:v,iframeLoadTimeout:R,onStylesheetLoad:T,stylesheetLoadTimeout:A,keepIframeSrcFn:P,ignoreCSSAttributes:L});q&&v(e,q)}},R),E.type===Me.Element&&E.tagName==="img"&&!e.complete&&E.needBlock){const $=e,q=()=>{if($.isConnected&&!$.complete&&Z)try{const V=$.getBoundingClientRect();V.width>0&&V.height>0&&Z($,E,V)}catch{}$.removeEventListener("load",q)};$.isConnected&&$.addEventListener("load",q)}return E.type===Me.Element&&E.tagName==="link"&&typeof E.attributes.rel=="string"&&(E.attributes.rel==="stylesheet"||E.attributes.rel==="preload"&&typeof E.attributes.href=="string"&&$f(E.attributes.href)==="css")&&oS(e,()=>{if(T){const $=Fr(e,{doc:r,mirror:o,blockClass:n,blockSelector:i,unblockSelector:s,maskAllText:a,maskTextClass:c,unmaskTextClass:l,maskTextSelector:d,unmaskTextSelector:u,skipChild:!1,inlineStylesheet:p,maskInputOptions:f,maskAttributeFn:g,maskTextFn:h,maskInputFn:b,slimDOMOptions:_,dataURLOptions:S,inlineImages:w,recordCanvas:I,preserveWhiteSpace:Q,onSerialize:B,onIframeLoad:v,iframeLoadTimeout:R,onStylesheetLoad:T,stylesheetLoadTimeout:A,keepIframeSrcFn:P,ignoreCSSAttributes:L});$&&T(e,$)}},A),E.type===Me.Element&&delete E.needBlock,E}function lS(e,t){const{mirror:r=new Mf,blockClass:o="rr-block",blockSelector:n=null,unblockSelector:i=null,maskAllText:s=!1,maskTextClass:a="rr-mask",unmaskTextClass:c=null,maskTextSelector:l=null,unmaskTextSelector:d=null,inlineStylesheet:u=!0,inlineImages:m=!1,recordCanvas:p=!1,maskAllInputs:f=!1,maskAttributeFn:g,maskTextFn:h,maskInputFn:b,slimDOM:_=!1,dataURLOptions:S,preserveWhiteSpace:w,onSerialize:I,onIframeLoad:B,iframeLoadTimeout:v,onBlockedImageLoad:R,onStylesheetLoad:Z,stylesheetLoadTimeout:T,keepIframeSrcFn:A=()=>!1,ignoreCSSAttributes:P=new Set([])}=t||{};return Fr(e,{doc:e,mirror:r,blockClass:o,blockSelector:n,unblockSelector:i,maskAllText:s,maskTextClass:a,unmaskTextClass:c,maskTextSelector:l,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:u,maskInputOptions:f===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:f===!1?{}:f,maskAttributeFn:g,maskTextFn:h,maskInputFn:b,slimDOMOptions:_===!0||_==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:_==="all",headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:_===!1?{}:_,dataURLOptions:S,inlineImages:m,recordCanvas:p,preserveWhiteSpace:w,onSerialize:I,onIframeLoad:B,iframeLoadTimeout:v,onBlockedImageLoad:R,onStylesheetLoad:Z,stylesheetLoadTimeout:T,keepIframeSrcFn:A,newlyAddedElement:!1,ignoreCSSAttributes:P})}function qe(e,t,r=document){const o={capture:!0,passive:!0};return r.addEventListener(e,t,o),()=>r.removeEventListener(e,t,o)}const Or=`Please stop import mirror directly. Instead of that,\r
now you can use replayer.getMirror() to access the mirror instance of a replayer,\r
or you can use record.mirror to access the mirror instance during recording.`;let Dl={map:{},getId(){return console.error(Or),-1},getNode(){return console.error(Or),null},removeNodeFromMap(){console.error(Or)},has(){return console.error(Or),!1},reset(){console.error(Or)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(Dl=new Proxy(Dl,{get(e,t,r){return t==="map"&&console.error(Or),Reflect.get(e,t,r)}}));function Oo(e,t,r={}){let o=null,n=0;return function(...i){const s=Date.now();!n&&r.leading===!1&&(n=s);const a=t-(s-n),c=this;a<=0||a>t?(o&&(hS(o),o=null),n=s,e.apply(c,i)):!o&&r.trailing!==!1&&(o=Ei(()=>{n=r.leading===!1?0:Date.now(),o=null,e.apply(c,i)},a))}}function Ff(e,t,r,o,n=window){const i=n.Object.getOwnPropertyDescriptor(e,t);return n.Object.defineProperty(e,t,o?r:{set(s){Ei(()=>{r.set.call(this,s)},0),i&&i.set&&i.set.call(this,s)}}),()=>Ff(e,t,i||{},!0)}function Fa(e,t,r){try{if(!(t in e))return()=>{};const o=e[t],n=r(o);return typeof n=="function"&&(n.prototype=n.prototype||{},Object.defineProperties(n,{__rrweb_original__:{enumerable:!1,value:o}})),e[t]=n,()=>{e[t]=o}}catch{return()=>{}}}let oi=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(oi=()=>new Date().getTime());function jf(e){const t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:e.pageXOffset!==void 0?e.pageXOffset:t?.documentElement.scrollLeft||t?.body?.parentElement?.scrollLeft||t?.body?.scrollLeft||0,top:t.scrollingElement?t.scrollingElement.scrollTop:e.pageYOffset!==void 0?e.pageYOffset:t?.documentElement.scrollTop||t?.body?.parentElement?.scrollTop||t?.body?.scrollTop||0}}function Hf(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function Uf(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function zf(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch{return null}}function ot(e,t,r,o,n){if(!e)return!1;const i=zf(e);if(!i)return!1;const s=Pr(t,r);if(!n){const l=o&&i.matches(o);return s(i)&&!l}const a=fr(i,s);let c=-1;return a<0?!1:(o&&(c=fr(i,Pr(null,o))),a>-1&&c<0?!0:a<c)}function dS(e,t){return t.getId(e)!==-1}function Gi(e,t){return t.getId(e)===$o}function Wf(e,t){if(wo(e))return!1;const r=t.getId(e);return t.has(r)?e.parentNode&&e.parentNode.nodeType===e.DOCUMENT_NODE?!1:e.parentNode?Wf(e.parentNode,t):!0:!0}function Ds(e){return!!e.changedTouches}function uS(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...t)=>{let r=t[0];if(!(0 in t))throw new TypeError("1 argument is required");do if(this===r)return!0;while(r=r&&r.parentNode);return!1})}function qf(e,t){return!!(e.nodeName==="IFRAME"&&t.getMeta(e))}function Vf(e,t){return!!(e.nodeName==="LINK"&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&e.getAttribute("rel")==="stylesheet"&&t.getMeta(e))}function Ps(e){return!!e?.shadowRoot}class fS{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(t){return this.styleIDMap.get(t)??-1}has(t){return this.styleIDMap.has(t)}add(t,r){if(this.has(t))return this.getId(t);let o;return r===void 0?o=this.id++:o=r,this.styleIDMap.set(t,o),this.idStyleMap.set(o,t),o}getStyle(t){return this.idStyleMap.get(t)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function Yf(e){let t=null;return e.getRootNode?.()?.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function pS(e){let t=e,r;for(;r=Yf(t);)t=r;return t}function mS(e){const t=e.ownerDocument;if(!t)return!1;const r=pS(e);return t.contains(r)}function Gf(e){const t=e.ownerDocument;return t?t.contains(e)||mS(e):!1}const Pl={};function ja(e){const t=Pl[e];if(t)return t;const r=window.document;let o=window[e];if(r&&typeof r.createElement=="function")try{const n=r.createElement("iframe");n.hidden=!0,r.head.appendChild(n);const i=n.contentWindow;i&&i[e]&&(o=i[e]),r.head.removeChild(n)}catch{}return Pl[e]=o.bind(window)}function gS(...e){return ja("requestAnimationFrame")(...e)}function Ei(...e){return ja("setTimeout")(...e)}function hS(...e){return ja("clearTimeout")(...e)}var J=(e=>(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))(J||{}),Y=(e=>(e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e))(Y||{}),We=(e=>(e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e))(We||{}),Bt=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(Bt||{}),Lr=(e=>(e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange",e[e.RateChange=4]="RateChange",e))(Lr||{});function Ha(e){try{return e.contentDocument}catch{}}function bS(e){try{return e.contentWindow}catch{}}function Fl(e){return"__ln"in e}class yS{constructor(){this.length=0,this.head=null,this.tail=null}get(t){if(t>=this.length)throw new Error("Position outside of list range");let r=this.head;for(let o=0;o<t;o++)r=r?.next||null;return r}addNode(t){const r={value:t,previous:null,next:null};if(t.__ln=r,t.previousSibling&&Fl(t.previousSibling)){const o=t.previousSibling.__ln.next;r.next=o,r.previous=t.previousSibling.__ln,t.previousSibling.__ln.next=r,o&&(o.previous=r)}else if(t.nextSibling&&Fl(t.nextSibling)&&t.nextSibling.__ln.previous){const o=t.nextSibling.__ln.previous;r.previous=o,r.next=t.nextSibling.__ln,t.nextSibling.__ln.previous=r,o&&(o.next=r)}else this.head&&(this.head.previous=r),r.next=this.head,this.head=r;r.next===null&&(this.tail=r),this.length++}removeNode(t){const r=t.__ln;this.head&&(r.previous?(r.previous.next=r.next,r.next?r.next.previous=r.previous:this.tail=r.previous):(this.head=r.next,this.head?this.head.previous=null:this.tail=null),t.__ln&&delete t.__ln,this.length--)}}const jl=(e,t)=>`${e}@${t}`;class vS{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=t=>{t.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;const t=[],r=new Set,o=new yS,n=c=>{let l=c,d=$o;for(;d===$o;)l=l&&l.nextSibling,d=l&&this.mirror.getId(l);return d},i=c=>{if(!c.parentNode||!Gf(c))return;const l=wo(c.parentNode)?this.mirror.getId(Yf(c)):this.mirror.getId(c.parentNode),d=n(c);if(l===-1||d===-1)return o.addNode(c);const u=Fr(c,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:m=>{qf(m,this.mirror)&&!ot(m,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&this.iframeManager.addIframe(m),Vf(m,this.mirror)&&this.stylesheetManager.trackLinkElement(m),Ps(c)&&this.shadowDomManager.addShadowRoot(c.shadowRoot,this.doc)},onIframeLoad:(m,p)=>{ot(m,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(this.iframeManager.attachIframe(m,p),m.contentWindow&&this.canvasManager.addWindow(m.contentWindow),this.shadowDomManager.observeAttachShadow(m))},onStylesheetLoad:(m,p)=>{this.stylesheetManager.attachLinkElement(m,p)},onBlockedImageLoad:(m,p,{width:f,height:g})=>{this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:p.id,attributes:{style:{width:`${f}px`,height:`${g}px`}}}]})},ignoreCSSAttributes:this.ignoreCSSAttributes});u&&(t.push({parentId:l,nextId:d,node:u}),r.add(u.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const c of this.movedSet)Hl(this.removes,c,this.mirror)&&!this.movedSet.has(c.parentNode)||i(c);for(const c of this.addedSet)!Ul(this.droppedSet,c)&&!Hl(this.removes,c,this.mirror)||Ul(this.movedSet,c)?i(c):this.droppedSet.add(c);let s=null;for(;o.length;){let c=null;if(s){const l=this.mirror.getId(s.value.parentNode),d=n(s.value);l!==-1&&d!==-1&&(c=s)}if(!c){let l=o.tail;for(;l;){const d=l;if(l=l.previous,d){const u=this.mirror.getId(d.value.parentNode);if(n(d.value)===-1)continue;if(u!==-1){c=d;break}else{const p=d.value;if(p.parentNode&&p.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const f=p.parentNode.host;if(this.mirror.getId(f)!==-1){c=d;break}}}}}}if(!c){for(;o.head;)o.removeNode(o.head.value);break}s=c.previous,o.removeNode(c.value),i(c.value)}const a={texts:this.texts.map(c=>({id:this.mirror.getId(c.node),value:c.value})).filter(c=>!r.has(c.id)).filter(c=>this.mirror.has(c.id)),attributes:this.attributes.map(c=>{const{attributes:l}=c;if(typeof l.style=="string"){const d=JSON.stringify(c.styleDiff),u=JSON.stringify(c._unchangedStyles);d.length<l.style.length&&(d+u).split("var(").length===l.style.split("var(").length&&(l.style=c.styleDiff)}return{id:this.mirror.getId(c.node),attributes:l}}).filter(c=>!r.has(c.id)).filter(c=>this.mirror.has(c.id)),removes:this.removes,adds:t};!a.texts.length&&!a.attributes.length&&!a.removes.length&&!a.adds.length||(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(a))},this.processMutation=t=>{if(!Gi(t.target,this.mirror))switch(t.type){case"characterData":{const r=t.target.textContent;!ot(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&r!==t.oldValue&&this.texts.push({value:Zr(t.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&r?this.maskTextFn?this.maskTextFn(r,zf(t.target)):r.replace(/[\S]/g,"*"):r,node:t.target});break}case"attributes":{const r=t.target;let o=t.attributeName,n=t.target.getAttribute(o);if(o==="value"){const s=Da(r),a=r.tagName;n=ti(r,a,s);const c=Si({maskInputOptions:this.maskInputOptions,tagName:a,type:s}),l=Zr(t.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,c);n=Mo({isMasked:l,element:r,value:n,maskInputFn:this.maskInputFn})}if(ot(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||n===t.oldValue)return;let i=this.attributeMap.get(t.target);if(r.tagName==="IFRAME"&&o==="src"&&!this.keepIframeSrcFn(n))if(!Ha(r))o="rr_src";else return;if(i||(i={node:t.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(i),this.attributeMap.set(t.target,i)),o==="type"&&r.tagName==="INPUT"&&(t.oldValue||"").toLowerCase()==="password"&&r.setAttribute("data-rr-is-password","true"),!Pf(r.tagName,o)&&(i.attributes[o]=Df(this.doc,Jr(r.tagName),Jr(o),n,r,this.maskAttributeFn),o==="style")){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch{this.unattachedDoc=this.doc}const s=this.unattachedDoc.createElement("span");t.oldValue&&s.setAttribute("style",t.oldValue);for(const a of Array.from(r.style)){const c=r.style.getPropertyValue(a),l=r.style.getPropertyPriority(a);c!==s.style.getPropertyValue(a)||l!==s.style.getPropertyPriority(a)?l===""?i.styleDiff[a]=c:i.styleDiff[a]=[c,l]:i._unchangedStyles[a]=[c,l]}for(const a of Array.from(s.style))r.style.getPropertyValue(a)===""&&(i.styleDiff[a]=!1)}break}case"childList":{if(ot(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;t.addedNodes.forEach(r=>this.genAdds(r,t.target)),t.removedNodes.forEach(r=>{const o=this.mirror.getId(r),n=wo(t.target)?this.mirror.getId(t.target.host):this.mirror.getId(t.target);ot(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||Gi(r,this.mirror)||!dS(r,this.mirror)||(this.addedSet.has(r)?(Fs(this.addedSet,r),this.droppedSet.add(r)):this.addedSet.has(t.target)&&o===-1||Wf(t.target,this.mirror)||(this.movedSet.has(r)&&this.movedMap[jl(o,n)]?Fs(this.movedSet,r):this.removes.push({parentId:n,id:o,isShadow:wo(t.target)&&Eo(t.target)?!0:void 0})),this.mapRemoves.push(r))});break}}},this.genAdds=(t,r)=>{if(!this.processedNodeManager.inOtherBuffer(t,this)&&!(this.addedSet.has(t)||this.movedSet.has(t))){if(this.mirror.hasNode(t)){if(Gi(t,this.mirror))return;this.movedSet.add(t);let o=null;r&&this.mirror.hasNode(r)&&(o=this.mirror.getId(r)),o&&o!==-1&&(this.movedMap[jl(this.mirror.getId(t),o)]=!0)}else this.addedSet.add(t),this.droppedSet.delete(t);ot(t,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(t.childNodes&&t.childNodes.forEach(o=>this.genAdds(o)),Ps(t)&&t.shadowRoot.childNodes.forEach(o=>{this.processedNodeManager.add(o,this),this.genAdds(o,t)}))}}}init(t){["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager","ignoreCSSAttributes"].forEach(r=>{this[r]=t[r]})}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function Fs(e,t){e.delete(t),t.childNodes?.forEach(r=>Fs(e,r))}function Hl(e,t,r){return e.length===0?!1:kS(e,t,r)}function kS(e,t,r){let o=t.parentNode;for(;o;){const n=r.getId(o);if(e.some(i=>i.id===n))return!0;o=o.parentNode}return!1}function Ul(e,t){return e.size===0?!1:Kf(e,t)}function Kf(e,t){const{parentNode:r}=t;return r?e.has(r)?!0:Kf(e,r):!1}let Co;function _S(e){Co=e}function SS(){Co=void 0}const se=e=>Co?(...r)=>{try{return e(...r)}catch(o){if(Co&&Co(o)===!0)return()=>{};throw o}}:e,jr=[];function Qo(e){try{if("composedPath"in e){const t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch{}return e&&e.target}function Xf(e,t){const r=new vS;jr.push(r),r.init(e);let o=window.MutationObserver||window.__rrMutationObserver;const n=window?.Zone?.__symbol__?.("MutationObserver");n&&window[n]&&(o=window[n]);const i=new o(se(s=>{e.onMutation&&e.onMutation(s)===!1||r.processMutations.bind(r)(s)}));return i.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),i}function wS({mousemoveCb:e,sampling:t,doc:r,mirror:o}){if(t.mousemove===!1)return()=>{};const n=typeof t.mousemove=="number"?t.mousemove:50,i=typeof t.mousemoveCallback=="number"?t.mousemoveCallback:500;let s=[],a;const c=Oo(se(u=>{const m=Date.now()-a;e(s.map(p=>(p.timeOffset-=m,p)),u),s=[],a=null}),i),l=se(Oo(se(u=>{const m=Qo(u),{clientX:p,clientY:f}=Ds(u)?u.changedTouches[0]:u;a||(a=oi()),s.push({x:p,y:f,id:o.getId(m),timeOffset:oi()-a}),c(typeof DragEvent<"u"&&u instanceof DragEvent?Y.Drag:u instanceof MouseEvent?Y.MouseMove:Y.TouchMove)}),n,{trailing:!1})),d=[qe("mousemove",l,r),qe("touchmove",l,r),qe("drag",l,r)];return se(()=>{d.forEach(u=>u())})}function ES({mouseInteractionCb:e,doc:t,mirror:r,blockClass:o,blockSelector:n,unblockSelector:i,sampling:s}){if(s.mouseInteraction===!1)return()=>{};const a=s.mouseInteraction===!0||s.mouseInteraction===void 0?{}:s.mouseInteraction,c=[];let l=null;const d=u=>m=>{const p=Qo(m);if(ot(p,o,n,i,!0))return;let f=null,g=u;if("pointerType"in m){switch(m.pointerType){case"mouse":f=Bt.Mouse;break;case"touch":f=Bt.Touch;break;case"pen":f=Bt.Pen;break}f===Bt.Touch?We[u]===We.MouseDown?g="TouchStart":We[u]===We.MouseUp&&(g="TouchEnd"):Bt.Pen}else Ds(m)&&(f=Bt.Touch);f!==null?(l=f,(g.startsWith("Touch")&&f===Bt.Touch||g.startsWith("Mouse")&&f===Bt.Mouse)&&(f=null)):We[u]===We.Click&&(f=l,l=null);const h=Ds(m)?m.changedTouches[0]:m;if(!h)return;const b=r.getId(p),{clientX:_,clientY:S}=h;se(e)({type:We[g],id:b,x:_,y:S,...f!==null&&{pointerType:f}})};return Object.keys(We).filter(u=>Number.isNaN(Number(u))&&!u.endsWith("_Departed")&&a[u]!==!1).forEach(u=>{let m=Jr(u);const p=d(u);if(window.PointerEvent)switch(We[u]){case We.MouseDown:case We.MouseUp:m=m.replace("mouse","pointer");break;case We.TouchStart:case We.TouchEnd:return}c.push(qe(m,p,t))}),se(()=>{c.forEach(u=>u())})}function Jf({scrollCb:e,doc:t,mirror:r,blockClass:o,blockSelector:n,unblockSelector:i,sampling:s}){const a=se(Oo(se(c=>{const l=Qo(c);if(!l||ot(l,o,n,i,!0))return;const d=r.getId(l);if(l===t&&t.defaultView){const u=jf(t.defaultView);e({id:d,x:u.left,y:u.top})}else e({id:d,x:l.scrollLeft,y:l.scrollTop})}),s.scroll||100));return qe("scroll",a,t)}function CS({viewportResizeCb:e},{win:t}){let r=-1,o=-1;const n=se(Oo(se(()=>{const i=Hf(),s=Uf();(r!==i||o!==s)&&(e({width:Number(s),height:Number(i)}),r=i,o=s)}),200));return qe("resize",n,t)}const xS=["INPUT","TEXTAREA","SELECT"],zl=new WeakMap;function TS({inputCb:e,doc:t,mirror:r,blockClass:o,blockSelector:n,unblockSelector:i,ignoreClass:s,ignoreSelector:a,maskInputOptions:c,maskInputFn:l,sampling:d,userTriggeredOnInput:u,maskTextClass:m,unmaskTextClass:p,maskTextSelector:f,unmaskTextSelector:g}){function h(v){let R=Qo(v);const Z=v.isTrusted,T=R&&Ls(R.tagName);if(T==="OPTION"&&(R=R.parentElement),!R||!T||xS.indexOf(T)<0||ot(R,o,n,i,!0))return;const A=R;if(A.classList.contains(s)||a&&A.matches(a))return;const P=Da(R);let D=ti(A,T,P),L=!1;const Q=Si({maskInputOptions:c,tagName:T,type:P}),F=Zr(R,m,f,p,g,Q);(P==="radio"||P==="checkbox")&&(L=R.checked),D=Mo({isMasked:F,element:R,value:D,maskInputFn:l}),b(R,u?{text:D,isChecked:L,userTriggered:Z}:{text:D,isChecked:L});const U=R.name;P==="radio"&&U&&L&&t.querySelectorAll(`input[type="radio"][name="${U}"]`).forEach(E=>{if(E!==R){const W=Mo({isMasked:F,element:E,value:ti(E,T,P),maskInputFn:l});b(E,u?{text:W,isChecked:!L,userTriggered:!1}:{text:W,isChecked:!L})}})}function b(v,R){const Z=zl.get(v);if(!Z||Z.text!==R.text||Z.isChecked!==R.isChecked){zl.set(v,R);const T=r.getId(v);se(e)({...R,id:T})}}const S=(d.input==="last"?["change"]:["input","change"]).map(v=>qe(v,se(h),t)),w=t.defaultView;if(!w)return()=>{S.forEach(v=>v())};const I=w.Object.getOwnPropertyDescriptor(w.HTMLInputElement.prototype,"value"),B=[[w.HTMLInputElement.prototype,"value"],[w.HTMLInputElement.prototype,"checked"],[w.HTMLSelectElement.prototype,"value"],[w.HTMLTextAreaElement.prototype,"value"],[w.HTMLSelectElement.prototype,"selectedIndex"],[w.HTMLOptionElement.prototype,"selected"]];return I&&I.set&&S.push(...B.map(v=>Ff(v[0],v[1],{set(){se(h)({target:this,isTrusted:!1})}},!1,w))),se(()=>{S.forEach(v=>v())})}function ni(e){const t=[];function r(o,n){if(bn("CSSGroupingRule")&&o.parentRule instanceof CSSGroupingRule||bn("CSSMediaRule")&&o.parentRule instanceof CSSMediaRule||bn("CSSSupportsRule")&&o.parentRule instanceof CSSSupportsRule||bn("CSSConditionRule")&&o.parentRule instanceof CSSConditionRule){const s=Array.from(o.parentRule.cssRules).indexOf(o);n.unshift(s)}else if(o.parentStyleSheet){const s=Array.from(o.parentStyleSheet.cssRules).indexOf(o);n.unshift(s)}return n}return r(e,t)}function Vt(e,t,r){let o,n;return e?(e.ownerNode?o=t.getId(e.ownerNode):n=r.getId(e),{styleId:n,id:o}):{}}function RS({styleSheetRuleCb:e,mirror:t,stylesheetManager:r},{win:o}){if(!o.CSSStyleSheet||!o.CSSStyleSheet.prototype)return()=>{};const n=o.CSSStyleSheet.prototype.insertRule;o.CSSStyleSheet.prototype.insertRule=new Proxy(n,{apply:se((d,u,m)=>{const[p,f]=m,{id:g,styleId:h}=Vt(u,t,r.styleMirror);return(g&&g!==-1||h&&h!==-1)&&e({id:g,styleId:h,adds:[{rule:p,index:f}]}),d.apply(u,m)})});const i=o.CSSStyleSheet.prototype.deleteRule;o.CSSStyleSheet.prototype.deleteRule=new Proxy(i,{apply:se((d,u,m)=>{const[p]=m,{id:f,styleId:g}=Vt(u,t,r.styleMirror);return(f&&f!==-1||g&&g!==-1)&&e({id:f,styleId:g,removes:[{index:p}]}),d.apply(u,m)})});let s;o.CSSStyleSheet.prototype.replace&&(s=o.CSSStyleSheet.prototype.replace,o.CSSStyleSheet.prototype.replace=new Proxy(s,{apply:se((d,u,m)=>{const[p]=m,{id:f,styleId:g}=Vt(u,t,r.styleMirror);return(f&&f!==-1||g&&g!==-1)&&e({id:f,styleId:g,replace:p}),d.apply(u,m)})}));let a;o.CSSStyleSheet.prototype.replaceSync&&(a=o.CSSStyleSheet.prototype.replaceSync,o.CSSStyleSheet.prototype.replaceSync=new Proxy(a,{apply:se((d,u,m)=>{const[p]=m,{id:f,styleId:g}=Vt(u,t,r.styleMirror);return(f&&f!==-1||g&&g!==-1)&&e({id:f,styleId:g,replaceSync:p}),d.apply(u,m)})}));const c={};yn("CSSGroupingRule")?c.CSSGroupingRule=o.CSSGroupingRule:(yn("CSSMediaRule")&&(c.CSSMediaRule=o.CSSMediaRule),yn("CSSConditionRule")&&(c.CSSConditionRule=o.CSSConditionRule),yn("CSSSupportsRule")&&(c.CSSSupportsRule=o.CSSSupportsRule));const l={};return Object.entries(c).forEach(([d,u])=>{l[d]={insertRule:u.prototype.insertRule,deleteRule:u.prototype.deleteRule},u.prototype.insertRule=new Proxy(l[d].insertRule,{apply:se((m,p,f)=>{const[g,h]=f,{id:b,styleId:_}=Vt(p.parentStyleSheet,t,r.styleMirror);return(b&&b!==-1||_&&_!==-1)&&e({id:b,styleId:_,adds:[{rule:g,index:[...ni(p),h||0]}]}),m.apply(p,f)})}),u.prototype.deleteRule=new Proxy(l[d].deleteRule,{apply:se((m,p,f)=>{const[g]=f,{id:h,styleId:b}=Vt(p.parentStyleSheet,t,r.styleMirror);return(h&&h!==-1||b&&b!==-1)&&e({id:h,styleId:b,removes:[{index:[...ni(p),g]}]}),m.apply(p,f)})})}),se(()=>{o.CSSStyleSheet.prototype.insertRule=n,o.CSSStyleSheet.prototype.deleteRule=i,s&&(o.CSSStyleSheet.prototype.replace=s),a&&(o.CSSStyleSheet.prototype.replaceSync=a),Object.entries(c).forEach(([d,u])=>{u.prototype.insertRule=l[d].insertRule,u.prototype.deleteRule=l[d].deleteRule})})}function Zf({mirror:e,stylesheetManager:t},r){let o=null;r.nodeName==="#document"?o=e.getId(r):o=e.getId(r.host);const n=r.nodeName==="#document"?r.defaultView?.Document:r.ownerDocument?.defaultView?.ShadowRoot,i=n?.prototype?Object.getOwnPropertyDescriptor(n?.prototype,"adoptedStyleSheets"):void 0;return o===null||o===-1||!n||!i?()=>{}:(Object.defineProperty(r,"adoptedStyleSheets",{configurable:i.configurable,enumerable:i.enumerable,get(){return i.get?.call(this)},set(s){const a=i.set?.call(this,s);if(o!==null&&o!==-1)try{t.adoptStyleSheets(s,o)}catch{}return a}}),se(()=>{Object.defineProperty(r,"adoptedStyleSheets",{configurable:i.configurable,enumerable:i.enumerable,get:i.get,set:i.set})}))}function IS({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:r,stylesheetManager:o},{win:n}){const i=n.CSSStyleDeclaration.prototype.setProperty;n.CSSStyleDeclaration.prototype.setProperty=new Proxy(i,{apply:se((a,c,l)=>{const[d,u,m]=l;if(r.has(d))return i.apply(c,[d,u,m]);const{id:p,styleId:f}=Vt(c.parentRule?.parentStyleSheet,t,o.styleMirror);return(p&&p!==-1||f&&f!==-1)&&e({id:p,styleId:f,set:{property:d,value:u,priority:m},index:ni(c.parentRule)}),a.apply(c,l)})});const s=n.CSSStyleDeclaration.prototype.removeProperty;return n.CSSStyleDeclaration.prototype.removeProperty=new Proxy(s,{apply:se((a,c,l)=>{const[d]=l;if(r.has(d))return s.apply(c,[d]);const{id:u,styleId:m}=Vt(c.parentRule?.parentStyleSheet,t,o.styleMirror);return(u&&u!==-1||m&&m!==-1)&&e({id:u,styleId:m,remove:{property:d},index:ni(c.parentRule)}),a.apply(c,l)})}),se(()=>{n.CSSStyleDeclaration.prototype.setProperty=i,n.CSSStyleDeclaration.prototype.removeProperty=s})}function BS({mediaInteractionCb:e,blockClass:t,blockSelector:r,unblockSelector:o,mirror:n,sampling:i,doc:s}){const a=se(l=>Oo(se(d=>{const u=Qo(d);if(!u||ot(u,t,r,o,!0))return;const{currentTime:m,volume:p,muted:f,playbackRate:g}=u;e({type:l,id:n.getId(u),currentTime:m,volume:p,muted:f,playbackRate:g})}),i.media||500)),c=[qe("play",a(Lr.Play),s),qe("pause",a(Lr.Pause),s),qe("seeked",a(Lr.Seeked),s),qe("volumechange",a(Lr.VolumeChange),s),qe("ratechange",a(Lr.RateChange),s)];return se(()=>{c.forEach(l=>l())})}function AS({fontCb:e,doc:t}){const r=t.defaultView;if(!r)return()=>{};const o=[],n=new WeakMap,i=r.FontFace;r.FontFace=function(c,l,d){const u=new i(c,l,d);return n.set(u,{family:c,buffer:typeof l!="string",descriptors:d,fontSource:typeof l=="string"?l:JSON.stringify(Array.from(new Uint8Array(l)))}),u};const s=Fa(t.fonts,"add",function(a){return function(c){return Ei(se(()=>{const l=n.get(c);l&&(e(l),n.delete(c))}),0),a.apply(this,[c])}});return o.push(()=>{r.FontFace=i}),o.push(s),se(()=>{o.forEach(a=>a())})}function MS(e){const{doc:t,mirror:r,blockClass:o,blockSelector:n,unblockSelector:i,selectionCb:s}=e;let a=!0;const c=se(()=>{const l=t.getSelection();if(!l||a&&l?.isCollapsed)return;a=l.isCollapsed||!1;const d=[],u=l.rangeCount||0;for(let m=0;m<u;m++){const p=l.getRangeAt(m),{startContainer:f,startOffset:g,endContainer:h,endOffset:b}=p;ot(f,o,n,i,!0)||ot(h,o,n,i,!0)||d.push({start:r.getId(f),startOffset:g,end:r.getId(h),endOffset:b})}s({ranges:d})});return c(),qe("selectionchange",c)}function $S({doc:e,customElementCb:t}){const r=e.defaultView;return!r||!r.customElements?()=>{}:Fa(r.customElements,"define",function(n){return function(i,s,a){try{t({define:{name:i}})}catch{}return n.apply(this,[i,s,a])}})}function OS(e,t={}){const r=e.doc.defaultView;if(!r)return()=>{};let o;e.recordDOM&&(o=Xf(e,e.doc));const n=wS(e),i=ES(e),s=Jf(e),a=CS(e,{win:r}),c=TS(e),l=BS(e);let d=()=>{},u=()=>{},m=()=>{},p=()=>{};e.recordDOM&&(d=RS(e,{win:r}),u=Zf(e,e.doc),m=IS(e,{win:r}),e.collectFonts&&(p=AS(e)));const f=MS(e),g=$S(e),h=[];for(const b of e.plugins)h.push(b.observer(b.callback,r,b.options));return se(()=>{jr.forEach(b=>b.reset()),o?.disconnect(),n(),i(),s(),a(),c(),l(),d(),u(),m(),p(),f(),g(),h.forEach(b=>b())})}function bn(e){return typeof window[e]<"u"}function yn(e){return!!(typeof window[e]<"u"&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class js{constructor(t){this.generateIdFn=t,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(t,r,o,n){const i=o||this.getIdToRemoteIdMap(t),s=n||this.getRemoteIdToIdMap(t);let a=i.get(r);return a||(a=this.generateIdFn(),i.set(r,a),s.set(a,r)),a}getIds(t,r){const o=this.getIdToRemoteIdMap(t),n=this.getRemoteIdToIdMap(t);return r.map(i=>this.getId(t,i,o,n))}getRemoteId(t,r,o){const n=o||this.getRemoteIdToIdMap(t);if(typeof r!="number")return r;const i=n.get(r);return i||-1}getRemoteIds(t,r){const o=this.getRemoteIdToIdMap(t);return r.map(n=>this.getRemoteId(t,n,o))}reset(t){if(!t){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(t),this.iframeRemoteIdToIdMap.delete(t)}getIdToRemoteIdMap(t){let r=this.iframeIdToRemoteIdMap.get(t);return r||(r=new Map,this.iframeIdToRemoteIdMap.set(t,r)),r}getRemoteIdToIdMap(t){let r=this.iframeRemoteIdToIdMap.get(t);return r||(r=new Map,this.iframeRemoteIdToIdMap.set(t,r)),r}}class LS{constructor(){this.crossOriginIframeMirror=new js(Pa),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class NS{constructor(t){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new js(Pa),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=t.mutationCb,this.wrappedEmit=t.wrappedEmit,this.stylesheetManager=t.stylesheetManager,this.recordCrossOriginIframes=t.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new js(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=t.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(t){this.iframes.set(t,!0),t.contentWindow&&this.crossOriginIframeMap.set(t.contentWindow,t)}addLoadListener(t){this.loadListener=t}attachIframe(t,r){this.mutationCb({adds:[{parentId:this.mirror.getId(t),nextId:null,node:r}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&&t.contentWindow?.addEventListener("message",this.handleMessage.bind(this)),this.loadListener?.(t);const o=Ha(t);o&&o.adoptedStyleSheets&&o.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(o.adoptedStyleSheets,this.mirror.getId(o))}handleMessage(t){const r=t;if(r.data.type!=="rrweb"||r.origin!==r.data.origin||!t.source)return;const n=this.crossOriginIframeMap.get(t.source);if(!n)return;const i=this.transformCrossOriginEvent(n,r.data.event);i&&this.wrappedEmit(i,r.data.isCheckout)}transformCrossOriginEvent(t,r){switch(r.type){case J.FullSnapshot:{this.crossOriginIframeMirror.reset(t),this.crossOriginIframeStyleMirror.reset(t),this.replaceIdOnNode(r.data.node,t);const o=r.data.node.id;return this.crossOriginIframeRootIdMap.set(t,o),this.patchRootIdOnNode(r.data.node,o),{timestamp:r.timestamp,type:J.IncrementalSnapshot,data:{source:Y.Mutation,adds:[{parentId:this.mirror.getId(t),nextId:null,node:r.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case J.Meta:case J.Load:case J.DomContentLoaded:return!1;case J.Plugin:return r;case J.Custom:return this.replaceIds(r.data.payload,t,["id","parentId","previousId","nextId"]),r;case J.IncrementalSnapshot:switch(r.data.source){case Y.Mutation:return r.data.adds.forEach(o=>{this.replaceIds(o,t,["parentId","nextId","previousId"]),this.replaceIdOnNode(o.node,t);const n=this.crossOriginIframeRootIdMap.get(t);n&&this.patchRootIdOnNode(o.node,n)}),r.data.removes.forEach(o=>{this.replaceIds(o,t,["parentId","id"])}),r.data.attributes.forEach(o=>{this.replaceIds(o,t,["id"])}),r.data.texts.forEach(o=>{this.replaceIds(o,t,["id"])}),r;case Y.Drag:case Y.TouchMove:case Y.MouseMove:return r.data.positions.forEach(o=>{this.replaceIds(o,t,["id"])}),r;case Y.ViewportResize:return!1;case Y.MediaInteraction:case Y.MouseInteraction:case Y.Scroll:case Y.CanvasMutation:case Y.Input:return this.replaceIds(r.data,t,["id"]),r;case Y.StyleSheetRule:case Y.StyleDeclaration:return this.replaceIds(r.data,t,["id"]),this.replaceStyleIds(r.data,t,["styleId"]),r;case Y.Font:return r;case Y.Selection:return r.data.ranges.forEach(o=>{this.replaceIds(o,t,["start","end"])}),r;case Y.AdoptedStyleSheet:return this.replaceIds(r.data,t,["id"]),this.replaceStyleIds(r.data,t,["styleIds"]),r.data.styles?.forEach(o=>{this.replaceStyleIds(o,t,["styleId"])}),r}}return!1}replace(t,r,o,n){for(const i of n)!Array.isArray(r[i])&&typeof r[i]!="number"||(Array.isArray(r[i])?r[i]=t.getIds(o,r[i]):r[i]=t.getId(o,r[i]));return r}replaceIds(t,r,o){return this.replace(this.crossOriginIframeMirror,t,r,o)}replaceStyleIds(t,r,o){return this.replace(this.crossOriginIframeStyleMirror,t,r,o)}replaceIdOnNode(t,r){this.replaceIds(t,r,["id","rootId"]),"childNodes"in t&&t.childNodes.forEach(o=>{this.replaceIdOnNode(o,r)})}patchRootIdOnNode(t,r){t.type!==Me.Document&&!t.rootId&&(t.rootId=r),"childNodes"in t&&t.childNodes.forEach(o=>{this.patchRootIdOnNode(o,r)})}}class DS{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class PS{constructor(t){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=t.mutationCb,this.scrollCb=t.scrollCb,this.bypassOptions=t.bypassOptions,this.mirror=t.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(t,r){if(!Eo(t)||this.shadowDoms.has(t))return;this.shadowDoms.add(t),this.bypassOptions.canvasManager.addShadowRoot(t);const o=Xf({...this.bypassOptions,doc:r,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},t);this.restoreHandlers.push(()=>o.disconnect()),this.restoreHandlers.push(Jf({...this.bypassOptions,scrollCb:this.scrollCb,doc:t,mirror:this.mirror})),Ei(()=>{t.adoptedStyleSheets&&t.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(t.adoptedStyleSheets,this.mirror.getId(t.host)),this.restoreHandlers.push(Zf({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},t))},0)}observeAttachShadow(t){const r=Ha(t),o=bS(t);!r||!o||this.patchAttachShadow(o.Element,r)}patchAttachShadow(t,r){const o=this;this.restoreHandlers.push(Fa(t.prototype,"attachShadow",function(n){return function(i){const s=n.call(this,i);return this.shadowRoot&&Gf(this)&&o.addShadowRoot(this.shadowRoot,r),s}}))}reset(){this.restoreHandlers.forEach(t=>{try{t()}catch{}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet,this.bypassOptions.canvasManager.resetShadowRoots()}}var Wl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",FS=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var vn=0;vn<Wl.length;vn++)FS[Wl.charCodeAt(vn)]=vn;class ql{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}addWindow(){}addShadowRoot(){}resetShadowRoots(){}}class jS{constructor(t){this.trackedLinkElements=new WeakSet,this.styleMirror=new fS,this.mutationCb=t.mutationCb,this.adoptedStyleSheetCb=t.adoptedStyleSheetCb}attachLinkElement(t,r){"_cssText"in r.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:r.id,attributes:r.attributes}]}),this.trackLinkElement(t)}trackLinkElement(t){this.trackedLinkElements.has(t)||(this.trackedLinkElements.add(t),this.trackStylesheetInLinkElement(t))}adoptStyleSheets(t,r){if(t.length===0)return;const o={id:r,styleIds:[]},n=[];for(const i of t){let s;this.styleMirror.has(i)?s=this.styleMirror.getId(i):(s=this.styleMirror.add(i),n.push({styleId:s,rules:Array.from(i.rules||CSSRule,(a,c)=>({rule:Af(a),index:c}))})),o.styleIds.push(s)}n.length>0&&(o.styles=n),this.adoptedStyleSheetCb(o)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(t){}}class HS{constructor(){this.nodeMap=new WeakMap,this.active=!1}inOtherBuffer(t,r){const o=this.nodeMap.get(t);return o&&Array.from(o).some(n=>n!==r)}add(t,r){this.active||(this.active=!0,gS(()=>{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(t,(this.nodeMap.get(t)||new Set).add(r))}destroy(){}}let Te,ii;try{if(Array.from([1],e=>e*2)[0]!==2){const e=document.createElement("iframe");document.body.appendChild(e),Array.from=e.contentWindow?.Array.from||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}const ut=F_();function Nt(e={}){const{emit:t,checkoutEveryNms:r,checkoutEveryNth:o,blockClass:n="rr-block",blockSelector:i=null,unblockSelector:s=null,ignoreClass:a="rr-ignore",ignoreSelector:c=null,maskAllText:l=!1,maskTextClass:d="rr-mask",unmaskTextClass:u=null,maskTextSelector:m=null,unmaskTextSelector:p=null,inlineStylesheet:f=!0,maskAllInputs:g,maskInputOptions:h,slimDOMOptions:b,maskAttributeFn:_,maskInputFn:S,maskTextFn:w,maxCanvasSize:I=null,packFn:B,sampling:v={},dataURLOptions:R={},mousemoveWait:Z,recordDOM:T=!0,recordCanvas:A=!1,recordCrossOriginIframes:P=!1,recordAfter:D=e.recordAfter==="DOMContentLoaded"?e.recordAfter:"load",userTriggeredOnInput:L=!1,collectFonts:Q=!1,inlineImages:F=!1,plugins:U,keepIframeSrcFn:E=()=>!1,ignoreCSSAttributes:W=new Set([]),errorHandler:$,onMutation:q,getCanvasManager:V}=e;_S($);const ue=P?window.parent===window:!0;let xe=!1;if(!ue)try{window.parent.document&&(xe=!1)}catch{xe=!0}if(ue&&!t)throw new Error("emit function is required");if(!ue&&!xe)return()=>{};Z!==void 0&&v.mousemove===void 0&&(v.mousemove=Z),ut.reset();const Ne=g===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:h!==void 0?h:{},_e=b===!0||b==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:b==="all",headMetaDescKeywords:b==="all"}:b||{};uS();let Se,pe=0;const $e=ne=>{for(const dt of U||[])dt.eventProcessor&&(ne=dt.eventProcessor(ne));return B&&!xe&&(ne=B(ne)),ne};Te=(ne,dt)=>{const re=ne;if(re.timestamp=oi(),jr[0]?.isFrozen()&&re.type!==J.FullSnapshot&&!(re.type===J.IncrementalSnapshot&&re.data.source===Y.Mutation)&&jr.forEach(Pe=>Pe.unfreeze()),ue)t?.($e(re),dt);else if(xe){const Pe={type:"rrweb",event:$e(re),origin:window.location.origin,isCheckout:dt};window.parent.postMessage(Pe,"*")}if(re.type===J.FullSnapshot)Se=re,pe=0;else if(re.type===J.IncrementalSnapshot){if(re.data.source===Y.Mutation&&re.data.isAttachIframe)return;pe++;const Pe=o&&pe>=o,de=r&&Se&&re.timestamp-Se.timestamp>r;(Pe||de)&&It(!0)}};const rt=ne=>{Te({type:J.IncrementalSnapshot,data:{source:Y.Mutation,...ne}})},yt=ne=>Te({type:J.IncrementalSnapshot,data:{source:Y.Scroll,...ne}}),ar=ne=>Te({type:J.IncrementalSnapshot,data:{source:Y.CanvasMutation,...ne}}),Wt=ne=>Te({type:J.IncrementalSnapshot,data:{source:Y.AdoptedStyleSheet,...ne}}),De=new jS({mutationCb:rt,adoptedStyleSheetCb:Wt}),Ve=typeof __RRWEB_EXCLUDE_IFRAME__=="boolean"&&__RRWEB_EXCLUDE_IFRAME__?new LS:new NS({mirror:ut,mutationCb:rt,stylesheetManager:De,recordCrossOriginIframes:P,wrappedEmit:Te});for(const ne of U||[])ne.getMirror&&ne.getMirror({nodeMirror:ut,crossOriginIframeMirror:Ve.crossOriginIframeMirror,crossOriginIframeStyleMirror:Ve.crossOriginIframeStyleMirror});const it=new HS,Ir=zS(V,{mirror:ut,win:window,mutationCb:ne=>Te({type:J.IncrementalSnapshot,data:{source:Y.CanvasMutation,...ne}}),recordCanvas:A,blockClass:n,blockSelector:i,unblockSelector:s,maxCanvasSize:I,sampling:v.canvas,dataURLOptions:R,errorHandler:$}),Br=typeof __RRWEB_EXCLUDE_SHADOW_DOM__=="boolean"&&__RRWEB_EXCLUDE_SHADOW_DOM__?new DS:new PS({mutationCb:rt,scrollCb:yt,bypassOptions:{onMutation:q,blockClass:n,blockSelector:i,unblockSelector:s,maskAllText:l,maskTextClass:d,unmaskTextClass:u,maskTextSelector:m,unmaskTextSelector:p,inlineStylesheet:f,maskInputOptions:Ne,dataURLOptions:R,maskAttributeFn:_,maskTextFn:w,maskInputFn:S,recordCanvas:A,inlineImages:F,sampling:v,slimDOMOptions:_e,iframeManager:Ve,stylesheetManager:De,canvasManager:Ir,keepIframeSrcFn:E,processedNodeManager:it,ignoreCSSAttributes:W},mirror:ut}),It=(ne=!1)=>{if(!T)return;Te({type:J.Meta,data:{href:window.location.href,width:Uf(),height:Hf()}},ne),De.reset(),Br.init(),jr.forEach(re=>re.lock());const dt=lS(document,{mirror:ut,blockClass:n,blockSelector:i,unblockSelector:s,maskAllText:l,maskTextClass:d,unmaskTextClass:u,maskTextSelector:m,unmaskTextSelector:p,inlineStylesheet:f,maskAllInputs:Ne,maskAttributeFn:_,maskInputFn:S,maskTextFn:w,slimDOM:_e,dataURLOptions:R,recordCanvas:A,inlineImages:F,onSerialize:re=>{qf(re,ut)&&Ve.addIframe(re),Vf(re,ut)&&De.trackLinkElement(re),Ps(re)&&Br.addShadowRoot(re.shadowRoot,document)},onIframeLoad:(re,Pe)=>{Ve.attachIframe(re,Pe),re.contentWindow&&Ir.addWindow(re.contentWindow),Br.observeAttachShadow(re)},onStylesheetLoad:(re,Pe)=>{De.attachLinkElement(re,Pe)},onBlockedImageLoad:(re,Pe,{width:de,height:go})=>{rt({adds:[],removes:[],texts:[],attributes:[{id:Pe.id,attributes:{style:{width:`${de}px`,height:`${go}px`}}}]})},keepIframeSrcFn:E,ignoreCSSAttributes:W});if(!dt)return console.warn("Failed to snapshot the document");Te({type:J.FullSnapshot,data:{node:dt,initialOffset:jf(window)}}),jr.forEach(re=>re.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&De.adoptStyleSheets(document.adoptedStyleSheets,ut.getId(document))};ii=It;try{const ne=[],dt=Pe=>se(OS)({onMutation:q,mutationCb:rt,mousemoveCb:(de,go)=>Te({type:J.IncrementalSnapshot,data:{source:go,positions:de}}),mouseInteractionCb:de=>Te({type:J.IncrementalSnapshot,data:{source:Y.MouseInteraction,...de}}),scrollCb:yt,viewportResizeCb:de=>Te({type:J.IncrementalSnapshot,data:{source:Y.ViewportResize,...de}}),inputCb:de=>Te({type:J.IncrementalSnapshot,data:{source:Y.Input,...de}}),mediaInteractionCb:de=>Te({type:J.IncrementalSnapshot,data:{source:Y.MediaInteraction,...de}}),styleSheetRuleCb:de=>Te({type:J.IncrementalSnapshot,data:{source:Y.StyleSheetRule,...de}}),styleDeclarationCb:de=>Te({type:J.IncrementalSnapshot,data:{source:Y.StyleDeclaration,...de}}),canvasMutationCb:ar,fontCb:de=>Te({type:J.IncrementalSnapshot,data:{source:Y.Font,...de}}),selectionCb:de=>{Te({type:J.IncrementalSnapshot,data:{source:Y.Selection,...de}})},customElementCb:de=>{Te({type:J.IncrementalSnapshot,data:{source:Y.CustomElement,...de}})},blockClass:n,ignoreClass:a,ignoreSelector:c,maskAllText:l,maskTextClass:d,unmaskTextClass:u,maskTextSelector:m,unmaskTextSelector:p,maskInputOptions:Ne,inlineStylesheet:f,sampling:v,recordDOM:T,recordCanvas:A,inlineImages:F,userTriggeredOnInput:L,collectFonts:Q,doc:Pe,maskAttributeFn:_,maskInputFn:S,maskTextFn:w,keepIframeSrcFn:E,blockSelector:i,unblockSelector:s,slimDOMOptions:_e,dataURLOptions:R,mirror:ut,iframeManager:Ve,stylesheetManager:De,shadowDomManager:Br,processedNodeManager:it,canvasManager:Ir,ignoreCSSAttributes:W,plugins:U?.filter(de=>de.observer)?.map(de=>({observer:de.observer,options:de.options,callback:go=>Te({type:J.Plugin,data:{plugin:de.name,payload:go}})}))||[]},{});Ve.addLoadListener(Pe=>{try{ne.push(dt(Pe.contentDocument))}catch(de){console.warn(de)}});const re=()=>{It(),ne.push(dt(document))};return document.readyState==="interactive"||document.readyState==="complete"?re():(ne.push(qe("DOMContentLoaded",()=>{Te({type:J.DomContentLoaded,data:{}}),D==="DOMContentLoaded"&&re()})),ne.push(qe("load",()=>{Te({type:J.Load,data:{}}),D==="load"&&re()},window))),()=>{ne.forEach(Pe=>Pe()),it.destroy(),ii=void 0,SS()}}catch(ne){console.warn(ne)}}function US(e){if(!ii)throw new Error("please take full snapshot after start recording");ii(e)}Nt.mirror=ut;Nt.takeFullSnapshot=US;function zS(e,t){try{return e?e(t):new ql}catch{return console.warn("Unable to initialize CanvasManager"),new ql}}var Vl;(function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"})(Vl||(Vl={}));const WS=3,qS=5;function Ua(e){return e>9999999999?e:e*1e3}function Ki(e){return e>9999999999?e/1e3:e}function en(e,t){t.category!=="sentry.transaction"&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>(e.throttledAddEvent({type:J.Custom,timestamp:(t.timestamp||0)*1e3,data:{tag:"breadcrumb",payload:ft(t,10,1e3)}}),t.category==="console")))}const VS="button,a";function Qf(e){return e.closest(VS)||e}function ep(e){const t=tp(e);return!t||!(t instanceof Element)?t:Qf(t)}function tp(e){return YS(e)?e.target:e}function YS(e){return typeof e=="object"&&!!e&&"target"in e}let Yt;function GS(e){return Yt||(Yt=[],KS()),Yt.push(e),()=>{const t=Yt?Yt.indexOf(e):-1;t>-1&&Yt.splice(t,1)}}function KS(){Ke(ve,"open",function(e){return function(...t){if(Yt)try{Yt.forEach(r=>r())}catch{}return e.apply(ve,t)}})}const XS=new Set([Y.Mutation,Y.StyleSheetRule,Y.StyleDeclaration,Y.AdoptedStyleSheet,Y.CanvasMutation,Y.Selection,Y.MediaInteraction]);function JS(e,t,r){e.handleClick(t,r)}class ZS{constructor(t,r,o=en){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=r.timeout/1e3,this._threshold=r.threshold/1e3,this._scrollTimeout=r.scrollTimeout/1e3,this._replay=t,this._ignoreSelector=r.ignoreSelector,this._addBreadcrumbEvent=o}addListeners(){const t=GS(()=>{this._lastMutation=Yl()});this._teardown=()=>{t(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(t,r){if(ew(r,this._ignoreSelector)||!tw(t))return;const o={timestamp:Ki(t.timestamp),clickBreadcrumb:t,clickCount:0,node:r};this._clicks.some(n=>n.node===o.node&&Math.abs(n.timestamp-o.timestamp)<1)||(this._clicks.push(o),this._clicks.length===1&&this._scheduleCheckClicks())}registerMutation(t=Date.now()){this._lastMutation=Ki(t)}registerScroll(t=Date.now()){this._lastScroll=Ki(t)}registerClick(t){const r=Qf(t);this._handleMultiClick(r)}_handleMultiClick(t){this._getClicks(t).forEach(r=>{r.clickCount++})}_getClicks(t){return this._clicks.filter(r=>r.node===t)}_checkClicks(){const t=[],r=Yl();this._clicks.forEach(o=>{!o.mutationAfter&&this._lastMutation&&(o.mutationAfter=o.timestamp<=this._lastMutation?this._lastMutation-o.timestamp:void 0),!o.scrollAfter&&this._lastScroll&&(o.scrollAfter=o.timestamp<=this._lastScroll?this._lastScroll-o.timestamp:void 0),o.timestamp+this._timeout<=r&&t.push(o)});for(const o of t){const n=this._clicks.indexOf(o);n>-1&&(this._generateBreadcrumbs(o),this._clicks.splice(n,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(t){const r=this._replay,o=t.scrollAfter&&t.scrollAfter<=this._scrollTimeout,n=t.mutationAfter&&t.mutationAfter<=this._threshold,i=!o&&!n,{clickCount:s,clickBreadcrumb:a}=t;if(i){const c=Math.min(t.mutationAfter||this._timeout,this._timeout)*1e3,l=c<this._timeout*1e3?"mutation":"timeout",d={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.slowClickDetected",data:{...a.data,url:ve.location.href,route:r.getCurrentRoute(),timeAfterClickMs:c,endReason:l,clickCount:s||1}};this._addBreadcrumbEvent(r,d);return}if(s>1){const c={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.multiClick",data:{...a.data,url:ve.location.href,route:r.getCurrentRoute(),clickCount:s,metric:!0}};this._addBreadcrumbEvent(r,c)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=Zo(()=>this._checkClicks(),1e3)}}const QS=["A","BUTTON","INPUT"];function ew(e,t){return!!(!QS.includes(e.tagName)||e.tagName==="INPUT"&&!["submit","button"].includes(e.getAttribute("type")||"")||e.tagName==="A"&&(e.hasAttribute("download")||e.hasAttribute("target")&&e.getAttribute("target")!=="_self")||t&&e.matches(t))}function tw(e){return!!(e.data&&typeof e.data.nodeId=="number"&&e.timestamp)}function Yl(){return Date.now()/1e3}function rw(e,t){try{if(!ow(t))return;const{source:r}=t.data;if(XS.has(r)&&e.registerMutation(t.timestamp),r===Y.Scroll&&e.registerScroll(t.timestamp),nw(t)){const{type:o,id:n}=t.data,i=Nt.mirror.getNode(n);i instanceof HTMLElement&&o===We.Click&&e.registerClick(i)}}catch{}}function ow(e){return e.type===WS}function nw(e){return e.data.source===Y.MouseInteraction}function St(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var za=(e=>(e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e))(za||{});const iw=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function sw(e){const t={};!e["data-sentry-component"]&&e["data-sentry-element"]&&(e["data-sentry-component"]=e["data-sentry-element"]);for(const r in e)if(iw.has(r)){let o=r;(r==="data-testid"||r==="data-test-id")&&(o="testId"),t[o]=e[r]}return t}const aw=e=>t=>{if(!e.isEnabled())return;const r=cw(t);if(!r)return;const o=t.name==="click",n=o?t.event:void 0;o&&e.clickDetector&&n?.target&&!n.altKey&&!n.metaKey&&!n.ctrlKey&&!n.shiftKey&&JS(e.clickDetector,r,ep(t.event)),en(e,r)};function rp(e,t){const r=Nt.mirror.getId(e),o=r&&Nt.mirror.getNode(r),n=o&&Nt.mirror.getMeta(o),i=n&&dw(n)?n:null;return{message:t,data:i?{nodeId:r,node:{id:r,tagName:i.tagName,textContent:Array.from(i.childNodes).map(s=>s.type===za.Text&&s.textContent).filter(Boolean).map(s=>s.trim()).join(""),attributes:sw(i.attributes)}}:{}}}function cw(e){const{target:t,message:r}=lw(e);return St({category:`ui.${e.name}`,...rp(t,r)})}function lw(e){const t=e.name==="click";let r,o=null;try{o=t?ep(e.event):tp(e.event),r=Qe(o,{maxStringLength:200})||"<unknown>"}catch{r="<unknown>"}return{target:o,message:r}}function dw(e){return e.type===za.Element}function uw(e,t){if(!e.isEnabled())return;e.updateUserActivity();const r=fw(t);r&&en(e,r)}function fw(e){const{metaKey:t,shiftKey:r,ctrlKey:o,altKey:n,key:i,target:s}=e;if(!s||pw(s)||!i)return null;const a=t||o||n,c=i.length===1;if(!a&&c)return null;const l=Qe(s,{maxStringLength:200})||"<unknown>",d=rp(s,l);return St({category:"ui.keyDown",message:l,data:{...d.data,metaKey:t,shiftKey:r,ctrlKey:o,altKey:n,key:i}})}function pw(e){return e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable}const mw={resource:vw,paint:bw,navigation:yw};function Xi(e,t){return({metric:r})=>{t.replayPerformanceEntries.push(e(r))}}function gw(e){return e.map(hw).filter(Boolean)}function hw(e){const t=mw[e.entryType];return t?t(e):null}function Qr(e){return((tt()||ve.performance.timeOrigin)+e)/1e3}function bw(e){const{duration:t,entryType:r,name:o,startTime:n}=e,i=Qr(n);return{type:r,name:o,start:i,end:i+t,data:void 0}}function yw(e){const{entryType:t,name:r,decodedBodySize:o,duration:n,domComplete:i,encodedBodySize:s,domContentLoadedEventStart:a,domContentLoadedEventEnd:c,domInteractive:l,loadEventStart:d,loadEventEnd:u,redirectCount:m,startTime:p,transferSize:f,type:g}=e;return n===0?null:{type:`${t}.${g}`,start:Qr(p),end:Qr(i),name:r,data:{size:f,decodedBodySize:o,encodedBodySize:s,duration:n,domInteractive:l,domContentLoadedEventStart:a,domContentLoadedEventEnd:c,loadEventStart:d,loadEventEnd:u,domComplete:i,redirectCount:m}}}function vw(e){const{entryType:t,initiatorType:r,name:o,responseEnd:n,startTime:i,decodedBodySize:s,encodedBodySize:a,responseStatus:c,transferSize:l}=e;return["fetch","xmlhttprequest"].includes(r)?null:{type:`${t}.${r}`,start:Qr(i),end:Qr(n),name:o,data:{size:l,statusCode:c,decodedBodySize:s,encodedBodySize:a}}}function kw(e){const t=e.entries[e.entries.length-1],r=t?.element?[t.element]:void 0;return Wa(e,"largest-contentful-paint",r)}function _w(e){return e.sources!==void 0}function Sw(e){const t=[],r=[];for(const o of e.entries)if(_w(o)){const n=[];for(const i of o.sources)if(i.node){r.push(i.node);const s=Nt.mirror.getId(i.node);s&&n.push(s)}t.push({value:o.value,nodeIds:n.length?n:void 0})}return Wa(e,"cumulative-layout-shift",r,t)}function ww(e){const t=e.entries[e.entries.length-1],r=t?.target?[t.target]:void 0;return Wa(e,"interaction-to-next-paint",r)}function Wa(e,t,r,o){const n=e.value,i=e.rating,s=Qr(n);return{type:"web-vital",name:t,start:s,end:s,data:{value:n,size:n,rating:i,nodeIds:r?r.map(a=>Nt.mirror.getId(a)):void 0,attributions:o}}}function Ew(e){function t(n){e.performanceEntries.includes(n)||e.performanceEntries.push(n)}function r({entries:n}){n.forEach(t)}const o=[];return["navigation","paint","resource"].forEach(n=>{o.push(Cr(n,r))}),o.push(Ma(Xi(kw,e)),Aa(Xi(Sw,e)),gf(Xi(ww,e))),()=>{o.forEach(n=>n())}}const j=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Cw='var t=Uint8Array,n=Uint16Array,r=Int32Array,e=new t([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),i=new t([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),s=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),a=function(t,e){for(var i=new n(31),s=0;s<31;++s)i[s]=e+=1<<t[s-1];var a=new r(i[30]);for(s=1;s<30;++s)for(var o=i[s];o<i[s+1];++o)a[o]=o-i[s]<<5|s;return{b:i,r:a}},o=a(e,2),h=o.b,f=o.r;h[28]=258,f[258]=28;for(var l=a(i,0).r,u=new n(32768),c=0;c<32768;++c){var v=(43690&c)>>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,s=0,a=new n(r);s<i;++s)t[s]&&++a[t[s]-1];var o,h=new n(r);for(s=1;s<r;++s)h[s]=h[s-1]+a[s-1]<<1;if(e){o=new n(1<<r);var f=15-r;for(s=0;s<i;++s)if(t[s])for(var l=s<<4|t[s],c=r-t[s],v=h[t[s]-1]++<<c,d=v|(1<<c)-1;v<=d;++v)o[u[v]>>f]=l}else for(o=new n(i),s=0;s<i;++s)t[s]&&(o[s]=u[h[t[s]-1]++]>>15-t[s]);return o},p=new t(288);for(c=0;c<144;++c)p[c]=8;for(c=144;c<256;++c)p[c]=9;for(c=256;c<280;++c)p[c]=7;for(c=280;c<288;++c)p[c]=8;var g=new t(32);for(c=0;c<32;++c)g[c]=5;var w=d(p,9,0),y=d(g,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))},M=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8},_=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8,t[e+2]|=r>>16},x=function(r,e){for(var i=[],s=0;s<r.length;++s)r[s]&&i.push({s:s,f:r[s]});var a=i.length,o=i.slice();if(!a)return{t:F,l:0};if(1==a){var h=new t(i[0].s+1);return h[i[0].s]=1,{t:h,l:1}}i.sort(function(t,n){return t.f-n.f}),i.push({s:-1,f:25001});var f=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:f.f+l.f,l:f,r:l};c!=a-1;)f=i[i[u].f<i[v].f?u++:v++],l=i[u!=c&&i[u].f<i[v].f?u++:v++],i[c++]={s:-1,f:f.f+l.f,l:f,r:l};var d=o[0].s;for(s=1;s<a;++s)o[s].s>d&&(d=o[s].s);var p=new n(d+1),g=A(i[c-1],p,0);if(g>e){s=0;var w=0,y=g-e,m=1<<y;for(o.sort(function(t,n){return p[n.s]-p[t.s]||t.f-n.f});s<a;++s){var b=o[s].s;if(!(p[b]>e))break;w+=m-(1<<g-p[b]),p[b]=e}for(w>>=y;w>0;){var M=o[s].s;p[M]<e?w-=1<<e-p[M]++-1:++s}for(;s>=0&&w;--s){var E=o[s].s;p[E]==e&&(--p[E],++w)}g=e}return{t:new t(p),l:g}},A=function(t,n,r){return-1==t.s?Math.max(A(t.l,n,r+1),A(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&&!t[--r];);for(var e=new n(++r),i=0,s=t[0],a=1,o=function(t){e[i++]=t},h=1;h<=r;++h)if(t[h]==s&&h!=r)++a;else{if(!s&&a>2){for(;a>138;a-=138)o(32754);a>2&&(o(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(o(s),--a;a>6;a-=6)o(8304);a>2&&(o(a-3<<5|8208),a=0)}for(;a--;)o(s);a=1,s=t[h]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e<n.length;++e)r+=t[e]*n[e];return r},k=function(t,n,r){var e=r.length,i=m(n+2);t[i]=255&e,t[i+1]=e>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var s=0;s<e;++s)t[i+s+4]=r[s];return 8*(i+4+e)},U=function(t,r,a,o,h,f,l,u,c,v,m){z(r,m++,a),++h[256];for(var b=x(h,15),M=b.t,E=b.l,A=x(f,15),U=A.t,C=A.l,F=D(M),I=F.c,S=F.n,L=D(U),O=L.c,j=L.n,q=new n(19),B=0;B<I.length;++B)++q[31&I[B]];for(B=0;B<O.length;++B)++q[31&O[B]];for(var G=x(q,7),H=G.t,J=G.l,K=19;K>4&&!H[s[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(h,p)+T(f,g)+l,X=T(h,M)+T(f,U)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X<W)),m+=2,X<W){N=d(M,E,0),P=M,Q=d(U,C,0),R=U;var Y=d(H,J,0);z(r,m,S-257),z(r,m+5,j-1),z(r,m+10,K-4),m+=14;for(B=0;B<K;++B)z(r,m+3*B,H[s[B]]);m+=3*K;for(var Z=[I,O],$=0;$<2;++$){var tt=Z[$];for(B=0;B<tt.length;++B){var nt=31&tt[B];z(r,m,Y[nt]),m+=H[nt],nt>15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=w,P=p,Q=y,R=g;for(B=0;B<u;++B){var rt=o[B];if(rt>255){_(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;_(r,m,Q[et]),m+=R[et],et>3&&(_(r,m,rt>>5&8191),m+=i[et])}else _(r,m,N[rt]),m+=P[rt]}return _(r,m,N[256]),m+P[256]},C=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,s=0|r.length,a=0;a!=s;){for(var o=Math.min(a+2655,s);a<o;++a)i+=e+=r[a];e=(65535&e)+15*(e>>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},L=function(s,a,o,h,u){if(!u&&(u={l:1},a.dictionary)){var c=a.dictionary.subarray(-32768),v=new t(c.length+s.length);v.set(c),v.set(s,c.length),s=v,u.w=c.length}return function(s,a,o,h,u,c){var v=c.z||s.length,d=new t(h+v+5*(1+Math.ceil(v/7e3))+u),p=d.subarray(h,d.length-u),g=c.l,w=7&(c.r||0);if(a){w&&(p[0]=c.r>>3);for(var y=C[a-1],M=y>>13,E=8191&y,z=(1<<o)-1,_=c.p||new n(32768),x=c.h||new n(z+1),A=Math.ceil(o/3),D=2*A,T=function(t){return(s[t]^s[t+1]<<A^s[t+2]<<D)&z},F=new r(25e3),I=new n(288),S=new n(32),L=0,O=0,j=c.i||0,q=0,B=c.w||0,G=0;j+2<v;++j){var H=T(j),J=32767&j,K=x[H];if(_[J]=K,x[H]=J,B<=j){var N=v-j;if((L>7e3||q>24576)&&(N>423||!g)){w=U(s,p,0,F,I,S,O,q,G,j-G,w),q=L=O=0,G=j;for(var P=0;P<286;++P)I[P]=0;for(P=0;P<30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&32767;if(N>2&&H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W<=Y&&--V&&J!=K;){if(s[j+Q]==s[j+Q-W]){for(var $=0;$<Z&&s[j+$]==s[j+$-W];++$);if($>Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P<tt;++P){var rt=j-W+P&32767,et=rt-_[rt]&32767;et>nt&&(nt=et,K=rt)}}}W+=(J=K)-(K=_[J])&32767}if(R){F[q++]=268435456|f[Q]<<18|l[R];var it=31&f[Q],st=31&l[R];O+=e[it]+i[st],++I[257+it],++S[st],B=j+Q,++L}else F[q++]=s[j],++I[s[j]]}}for(j=Math.max(j,B);j<v;++j)F[q++]=s[j],++I[s[j]];w=U(s,p,g,F,I,S,O,q,G,j-G,w),g||(c.r=7&w|p[w/8|0]<<3,w-=7,c.h=x,c.p=_,c.i=j,c.w=B)}else{for(j=c.w||0;j<v+g;j+=65535){var at=j+65535;at>=v&&(p[w/8|0]=g,at=v),w=k(p,w+1,s.subarray(j,at))}c.i=v}return b(d,0,h+m(w)+u)}(s,null==a.level?6:a.level,null==a.mem?u.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(s.length)))):20:12+a.mem,o,h,u)},O=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},j=function(){function n(n,r){if("function"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(L(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var s=this.b.length-this.s.z;this.b.set(n.subarray(0,s),this.s.z),this.s.z=this.b.length,this.p(this.b,!1),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(s),32768),this.s.z=n.length-s+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&r,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n.prototype.flush=function(){this.ondata||E(5),this.s.l&&E(4),this.p(this.b,!1),this.s.w=this.s.i,this.s.i-=2},n}();function q(t,n){n||(n={});var r=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e<n.length;++e)r=I[255&r^n[e]]^r>>>8;t=r},d:function(){return~t}}}(),e=t.length;r.p(t);var i,s=L(t,n,10+((i=n).filename?i.filename.length+1:0),8),a=s.length;return function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&O(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}}(s,n),O(s,a-8,r.d()),O(s,a-4,e),s}var B=function(){function t(t,n){this.c=S(),this.v=1,j.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),j.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=L(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=S();i.p(n.dictionary),O(t,2,i.d())}}(r,this.o),this.v=0),n&&O(r,r.length-4,this.c.d()),this.ondata(r,n)},t.prototype.flush=function(){j.prototype.flush.call(this)},t}(),G="undefined"!=typeof TextEncoder&&new TextEncoder,H="undefined"!=typeof TextDecoder&&new TextDecoder;try{H.decode(F,{stream:!0})}catch(t){}var J=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(K(t),this.d=n||!1)},t}();function K(n,r){if(G)return G.encode(n);for(var e=n.length,i=new t(n.length+(n.length>>1)),s=0,a=function(t){i[s++]=t},o=0;o<e;++o){if(s+5>i.length){var h=new t(s+8+(e-o<<1));h.set(i),i=h}var f=n.charCodeAt(o);f<128||r?a(f):f<2048?(a(192|f>>6),a(128|63&f)):f>55295&&f<57344?(a(240|(f=65536+(1047552&f)|1023&n.charCodeAt(++o))>>18),a(128|f>>12&63),a(128|f>>6&63),a(128|63&f)):(a(224|f>>12),a(128|f>>6&63),a(128|63&f))}return b(i,0,s)}const N=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(const r of t)n+=r.length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n<i;n++){const i=t[n];r.set(i,e),e+=i.length}return r}(this._deflatedData);return this._init(),t}_init(){this._hasEvents=!1,this._deflatedData=[],this.deflate=new B,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new J((t,n)=>{this.deflate.push(t,n)}),this.stream.push("[")}},P={clear:()=>{N.clear()},addEvent:t=>N.addEvent(t),finish:()=>N.finish(),compress:t=>function(t){return q(K(t))}(t)};addEventListener("message",function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in P&&"function"==typeof P[n])try{const t=P[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}}),postMessage({id:void 0,method:"init",success:!0,response:void 0});';function xw(){const e=new Blob([Cw]);return URL.createObjectURL(e)}const Gl=["log","warn","error"],Nn="[Replay] ";function Ji(e,t="info"){tr({category:"console",data:{logger:"replay"},level:t,message:`${Nn}${e}`},{level:t})}function Tw(){let e=!1,t=!1;const r={exception:()=>{},infoTick:()=>{},setConfig:o=>{e=!!o.captureExceptions,t=!!o.traceInternals}};return j?(Gl.forEach(o=>{r[o]=(...n)=>{x[o](Nn,...n),t&&Ji(n.join(""),Ju(o))}}),r.exception=(o,...n)=>{n.length&&r.error&&r.error(...n),x.error(Nn,o),e?yi(o,{mechanism:{handled:!0,type:"auto.function.replay.debug"}}):t&&Ji(o,"error")},r.infoTick=(...o)=>{x.log(Nn,...o),t&&setTimeout(()=>Ji(o[0]),0)}):Gl.forEach(o=>{r[o]=()=>{}}),r}const H=Tw();class qa extends Error{constructor(){super(`Event buffer exceeded maximum size of ${Na}.`)}}class op{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(t){const r=JSON.stringify(t).length;if(this._totalSize+=r,this._totalSize>Na)throw new qa;this.events.push(t)}finish(){return new Promise(t=>{const r=this.events;this.clear(),t(JSON.stringify(r))})}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){const t=this.events.map(r=>r.timestamp).sort()[0];return t?Ua(t):null}}class Rw{constructor(t){this._worker=t,this._id=0}ensureReady(){return this._ensureReadyPromise?this._ensureReadyPromise:(this._ensureReadyPromise=new Promise((t,r)=>{this._worker.addEventListener("message",({data:o})=>{o.success?t():r()},{once:!0}),this._worker.addEventListener("error",o=>{r(o)},{once:!0})}),this._ensureReadyPromise)}destroy(){j&&H.log("Destroying compression worker"),this._worker.terminate()}postMessage(t,r){const o=this._getAndIncrementId();return new Promise((n,i)=>{const s=({data:a})=>{const c=a;if(c.method===t&&c.id===o){if(this._worker.removeEventListener("message",s),!c.success){j&&H.error("Error in compression worker: ",c.response),i(new Error("Error in compression worker"));return}n(c.response)}};this._worker.addEventListener("message",s),this._worker.postMessage({id:o,method:t,arg:r})})}_getAndIncrementId(){return this._id++}}class Iw{constructor(t){this._worker=new Rw(t),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(t){const r=Ua(t.timestamp);(!this._earliestTimestamp||r<this._earliestTimestamp)&&(this._earliestTimestamp=r);const o=JSON.stringify(t);return this._totalSize+=o.length,this._totalSize>Na?Promise.reject(new qa):this._sendEventToWorker(o)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,t=>{j&&H.exception(t,'Sending "clear" message to worker failed',t)})}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(t){return this._worker.postMessage("addEvent",t)}async _finishRequest(){const t=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,t}}class Bw{constructor(t){this._fallback=new op,this._compression=new Iw(t),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get waitForCheckout(){return this._used.waitForCheckout}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(t){this._used.hasCheckout=t}set waitForCheckout(t){this._used.waitForCheckout=t}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(t){return this._used.addEvent(t)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(t){j&&H.exception(t,"Failed to load the compression worker, falling back to simple buffer");return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){const{events:t,hasCheckout:r,waitForCheckout:o}=this._fallback,n=[];for(const i of t)n.push(this._compression.addEvent(i));this._compression.hasCheckout=r,this._compression.waitForCheckout=o,this._used=this._compression;try{await Promise.all(n),this._fallback.clear()}catch(i){j&&H.exception(i,"Failed to add events when switching buffers.")}}}function Aw({useCompression:e,workerUrl:t}){if(e&&window.Worker){const r=Mw(t);if(r)return r}return j&&H.log("Using simple buffer"),new op}function Mw(e){try{const t=e||$w();if(!t)return;j&&H.log(`Using compression worker${e?` from ${e}`:""}`);const r=new Worker(t);return new Bw(r)}catch(t){j&&H.exception(t,"Failed to create compression worker")}}function $w(){return typeof __SENTRY_EXCLUDE_REPLAY_WORKER__>"u"||!__SENTRY_EXCLUDE_REPLAY_WORKER__?xw():""}function Va(){try{return"sessionStorage"in ve&&!!ve.sessionStorage}catch{return!1}}function Ow(e){Lw(),e.session=void 0}function Lw(){if(Va())try{ve.sessionStorage.removeItem(Oa)}catch{}}function np(e){return e===void 0?!1:Math.random()<e}function Ci(e){if(Va())try{ve.sessionStorage.setItem(Oa,JSON.stringify(e))}catch{}}function ip(e){const t=Date.now(),r=e.id||nt(),o=e.started||t,n=e.lastActivity||t,i=e.segmentId||0,s=e.sampled,a=e.previousSessionId,c=e.dirty||!1;return{id:r,started:o,lastActivity:n,segmentId:i,sampled:s,previousSessionId:a,dirty:c}}function Nw(e,t){return np(e)?"session":t?"buffer":!1}function Kl({sessionSampleRate:e,allowBuffering:t,stickySession:r=!1},{previousSessionId:o}={}){const n=Nw(e,t),i=ip({sampled:n,previousSessionId:o});return r&&Ci(i),i}function Dw(){if(!Va())return null;try{const e=ve.sessionStorage.getItem(Oa);if(!e)return null;const t=JSON.parse(e);return j&&H.infoTick("Loading existing session"),ip(t)}catch{return null}}function Hs(e,t,r=+new Date){return e===null||t===void 0||t<0?!0:t===0?!1:e+t<=r}function sp(e,{maxReplayDuration:t,sessionIdleExpire:r,targetTime:o=Date.now()}){return Hs(e.started,t,o)||Hs(e.lastActivity,r,o)}function ap(e,{sessionIdleExpire:t,maxReplayDuration:r}){return!(!sp(e,{sessionIdleExpire:t,maxReplayDuration:r})||e.sampled==="buffer"&&e.segmentId===0)}function Zi({sessionIdleExpire:e,maxReplayDuration:t,previousSessionId:r},o){const n=o.stickySession&&Dw();return n?ap(n,{sessionIdleExpire:e,maxReplayDuration:t})?(j&&H.infoTick("Session in sessionStorage is expired, creating new one..."),Kl(o,{previousSessionId:n.id})):n:(j&&H.infoTick("Creating new session"),Kl(o,{previousSessionId:r}))}function Pw(e){return e.type===J.Custom}function Ya(e,t,r){return lp(e,t)?(cp(e,t,r),!0):!1}function Fw(e,t,r){return lp(e,t)?cp(e,t,r):Promise.resolve(null)}async function cp(e,t,r){const{eventBuffer:o}=e;if(!o||o.waitForCheckout&&!r)return null;const n=e.recordingMode==="buffer";try{r&&n&&o.clear(),r&&(o.hasCheckout=!0,o.waitForCheckout=!1);const i=e.getOptions(),s=jw(t,i.beforeAddRecordingEvent);return s?await o.addEvent(s):void 0}catch(i){const s=i&&i instanceof qa,a=s?"addEventSizeExceeded":"addEvent",c=te();if(c){const l=s?"buffer_overflow":"internal_sdk_error";c.recordDroppedEvent(l,"replay")}if(s&&n)return o.clear(),o.waitForCheckout=!0,null;e.handleException(i),await e.stop({reason:a})}}function lp(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;const r=Ua(t.timestamp);return r+e.timeouts.sessionIdlePause<Date.now()?!1:r>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration?(j&&H.infoTick(`Skipping event with timestamp ${r} because it is after maxReplayDuration`),!1):!0}function jw(e,t){try{if(typeof t=="function"&&Pw(e))return t(e)}catch(r){return j&&H.exception(r,"An error occurred in the `beforeAddRecordingEvent` callback, skipping the event..."),null}return e}function Ga(e){return!e.type}function Us(e){return e.type==="transaction"}function Hw(e){return e.type==="replay_event"}function Xl(e){return e.type==="feedback"}function Uw(e){return(t,r)=>{if(!e.isEnabled()||!Ga(t)&&!Us(t))return;const o=r.statusCode;if(!(!o||o<200||o>=300)){if(Us(t)){zw(e,t);return}Ww(e,t)}}}function zw(e,t){const r=e.getContext();t.contexts?.trace?.trace_id&&r.traceIds.size<100&&r.traceIds.add(t.contexts.trace.trace_id)}function Ww(e,t){const r=e.getContext();if(t.event_id&&r.errorIds.size<100&&r.errorIds.add(t.event_id),e.recordingMode!=="buffer"||!t.tags||!t.tags.replayId)return;const{beforeErrorSampling:o}=e.getOptions();typeof o=="function"&&!o(t)||Zo(async()=>{try{await e.sendBufferedReplayOrFlush()}catch(n){e.handleException(n)}})}function qw(e){return t=>{!e.isEnabled()||!Ga(t)||Vw(e,t)}}function Vw(e,t){const r=t.exception?.values?.[0]?.value;if(typeof r=="string"&&(r.match(/(reactjs\.org\/docs\/error-decoder\.html\?invariant=|react\.dev\/errors\/)(418|419|422|423|425)/)||r.match(/(does not match server-rendered HTML|Hydration failed because)/i))){const o=St({category:"replay.hydrate-error",data:{url:io()}});en(e,o)}}function Yw(e){const t=te();t&&t.on("beforeAddBreadcrumb",r=>Gw(e,r))}function Gw(e,t){if(!e.isEnabled()||!dp(t))return;const r=Kw(t);r&&en(e,r)}function Kw(e){return!dp(e)||["fetch","xhr","sentry.event","sentry.transaction"].includes(e.category)||e.category.startsWith("ui.")?null:e.category==="console"?Xw(e):St(e)}function Xw(e){const t=e.data?.arguments;if(!Array.isArray(t)||t.length===0)return St(e);let r=!1;const o=t.map(n=>{if(!n)return n;if(typeof n=="string")return n.length>hn?(r=!0,`${n.slice(0,hn)}…`):n;if(typeof n=="object")try{const i=ft(n,7);return JSON.stringify(i).length>hn?(r=!0,`${JSON.stringify(i,null,2).slice(0,hn)}…`):i}catch{}return n});return St({...e,data:{...e.data,arguments:o,...r?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}function dp(e){return!!e.category}function Jw(e,t){return e.type||!e.exception?.values?.length?!1:!!t.originalException?.__rrweb__}function up(){const e=fe().getPropagationContext().dsc;e&&delete e.replay_id;const t=je();if(t){const r=Ht(t);delete r.replay_id}}function Zw(e,t){e.triggerUserActivity(),e.addUpdate(()=>t.timestamp?(e.throttledAddEvent({type:J.Custom,timestamp:t.timestamp*1e3,data:{tag:"breadcrumb",payload:{timestamp:t.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:t.event_id}}}}),!1):!0)}function Qw(e,t){return e.recordingMode!=="buffer"||t.message===La||!t.exception||t.type?!1:np(e.getOptions().errorSampleRate)}function eE(e){return Object.assign((t,r)=>{if(!e.isEnabled()||e.isPaused())return t;if(Hw(t))return delete t.breadcrumbs,t;if(!Ga(t)&&!Us(t)&&!Xl(t))return t;if(!e.checkAndHandleExpiredSession())return up(),t;if(Xl(t))return e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),Zw(e,t),t;if(Jw(t,r)&&!e.getOptions()._experiments.captureExceptions)return j&&H.log("Ignoring error from rrweb internals",t),null;const n=Qw(e,t);if((n||e.recordingMode==="session")&&(t.tags={...t.tags,replayId:e.getSessionId()}),n&&e.recordingMode==="buffer"&&e.session?.sampled==="buffer"){const s=e.session;s.dirty=!0,e.getOptions().stickySession&&Ci(s)}return t},{id:"Replay"})}function xi(e,t){return t.map(({type:r,start:o,end:n,name:i,data:s})=>{const a=e.throttledAddEvent({type:J.Custom,timestamp:o,data:{tag:"performanceSpan",payload:{op:r,description:i,startTimestamp:o,endTimestamp:n,data:s}}});return typeof a=="string"?Promise.resolve(null):a})}function tE(e){const{from:t,to:r}=e,o=Date.now()/1e3;return{type:"navigation.push",start:o,end:o,name:r,data:{previous:t}}}function rE(e){return t=>{if(!e.isEnabled())return;const r=tE(t);r!==null&&(e.getContext().urls.push(r.name),e.triggerUserActivity(),e.addUpdate(()=>(xi(e,[r]),!1)))}}function oE(e,t){return j&&e.getOptions()._experiments.traceInternals?!1:qb(t,te())}function fp(e,t){e.isEnabled()&&t!==null&&(oE(e,t.name)||e.addUpdate(()=>(xi(e,[t]),!0)))}function Ti(e){if(!e)return;const t=new TextEncoder;try{if(typeof e=="string")return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){const r=Ef(e);return t.encode(r).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch{}}function pp(e){if(!e)return;const t=parseInt(e,10);return isNaN(t)?void 0:t}function si(e,t){if(!e)return{headers:{},size:void 0,_meta:{warnings:[t]}};const r={...e._meta},o=r.warnings||[];return r.warnings=[...o,t],e._meta=r,e}function mp(e,t){if(!t)return null;const{startTimestamp:r,endTimestamp:o,url:n,method:i,statusCode:s,request:a,response:c}=t;return{type:e,start:r/1e3,end:o/1e3,name:n,data:{method:i,statusCode:s,request:a,response:c}}}function Lo(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function Jt(e,t,r){if(!t&&Object.keys(e).length===0)return;if(!t)return{headers:e};if(!r)return{headers:e,size:t};const o={headers:e,size:t},{body:n,warnings:i}=nE(r);return o.body=n,i?.length&&(o._meta={warnings:i}),o}function zs(e,t){return Object.entries(e).reduce((r,[o,n])=>{const i=o.toLowerCase();return t.includes(i)&&e[o]&&(r[i]=n),r},{})}function nE(e){if(!e||typeof e!="string")return{body:e};const t=e.length>Bl,r=iE(e);if(t){const o=e.slice(0,Bl);return r?{body:o,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${o}…`,warnings:["TEXT_TRUNCATED"]}}if(r)try{return{body:JSON.parse(e)}}catch{}return{body:e}}function iE(e){const t=e[0],r=e[e.length-1];return t==="["&&r==="]"||t==="{"&&r==="}"}function ai(e,t){const r=sE(e);return Ot(r,t)}function sE(e,t=ve.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(ve.location.origin))return e;const r=new URL(e,t);if(r.origin!==new URL(t).origin)return e;const o=r.href;return!e.endsWith("/")&&o.endsWith("/")?o.slice(0,-1):o}async function aE(e,t,r){try{const o=await lE(e,t,r),n=mp("resource.fetch",o);fp(r.replay,n)}catch(o){j&&H.exception(o,"Failed to capture fetch breadcrumb")}}function cE(e,t){const{input:r,response:o}=t,n=r?xf(r):void 0,i=Ti(n),s=o?pp(o.headers.get("content-length")):void 0;i!==void 0&&(e.data.request_body_size=i),s!==void 0&&(e.data.response_body_size=s)}async function lE(e,t,r){const o=Date.now(),{startTimestamp:n=o,endTimestamp:i=o}=t,{url:s,method:a,status_code:c=0,request_body_size:l,response_body_size:d}=e.data,u=ai(s,r.networkDetailAllowUrls)&&!ai(s,r.networkDetailDenyUrls),m=u?dE(r,t.input,l):Lo(l),p=await uE(u,r,t.response,d);return{startTimestamp:n,endTimestamp:i,url:s,method:a,statusCode:c,request:m,response:p}}function dE({networkCaptureBodies:e,networkRequestHeaders:t},r,o){const n=r?mE(r,t):{};if(!e)return Jt(n,o,void 0);const i=xf(r),[s,a]=Cf(i,H),c=Jt(n,o,s);return a?si(c,a):c}async function uE(e,{networkCaptureBodies:t,networkResponseHeaders:r},o,n){if(!e&&n!==void 0)return Lo(n);const i=o?gp(o.headers,r):{};if(!o||!t&&n!==void 0)return Jt(i,n,void 0);const[s,a]=await pE(o),c=fE(s,{networkCaptureBodies:t,responseBodySize:n,captureDetails:e,headers:i});return a?si(c,a):c}function fE(e,{networkCaptureBodies:t,responseBodySize:r,captureDetails:o,headers:n}){try{const i=e?.length&&r===void 0?Ti(e):r;return o?t?Jt(n,i,e):Jt(n,i,void 0):Lo(i)}catch(i){return j&&H.exception(i,"Failed to serialize response body"),Jt(n,r,void 0)}}async function pE(e){const t=gE(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{return[await hE(t)]}catch(r){return r instanceof Error&&r.message.indexOf("Timeout")>-1?(j&&H.warn("Parsing text body from response timed out"),[void 0,"BODY_PARSE_TIMEOUT"]):(j&&H.exception(r,"Failed to get text body from response"),[void 0,"BODY_PARSE_ERROR"])}}function gp(e,t){const r={};return t.forEach(o=>{e.get(o)&&(r[o]=e.get(o))}),r}function mE(e,t){return e.length===1&&typeof e[0]!="string"?Jl(e[0],t):e.length===2?Jl(e[1],t):{}}function Jl(e,t){if(!e)return{};const r=e.headers;return r?r instanceof Headers?gp(r,t):Array.isArray(r)?{}:zs(r,t):{}}function gE(e){try{return e.clone()}catch(t){j&&H.exception(t,"Failed to clone response body")}}function hE(e){return new Promise((t,r)=>{const o=Zo(()=>r(new Error("Timeout while trying to read response body")),500);bE(e).then(n=>t(n),n=>r(n)).finally(()=>clearTimeout(o))})}async function bE(e){return await e.text()}async function yE(e,t,r){try{const o=kE(e,t,r),n=mp("resource.xhr",o);fp(r.replay,n)}catch(o){j&&H.exception(o,"Failed to capture xhr breadcrumb")}}function vE(e,t){const{xhr:r,input:o}=t;if(!r)return;const n=Ti(o),i=r.getResponseHeader("content-length")?pp(r.getResponseHeader("content-length")):wE(r.response,r.responseType);n!==void 0&&(e.data.request_body_size=n),i!==void 0&&(e.data.response_body_size=i)}function kE(e,t,r){const o=Date.now(),{startTimestamp:n=o,endTimestamp:i=o,input:s,xhr:a}=t,{url:c,method:l,status_code:d=0,request_body_size:u,response_body_size:m}=e.data;if(!c)return null;if(!a||!ai(c,r.networkDetailAllowUrls)||ai(c,r.networkDetailDenyUrls)){const B=Lo(u),v=Lo(m);return{startTimestamp:n,endTimestamp:i,url:c,method:l,statusCode:d,request:B,response:v}}const p=a[ur],f=p?zs(p.request_headers,r.networkRequestHeaders):{},g=zs(Tf(a),r.networkResponseHeaders),[h,b]=r.networkCaptureBodies?Cf(s,H):[void 0],[_,S]=r.networkCaptureBodies?_E(a):[void 0],w=Jt(f,u,h),I=Jt(g,m,_);return{startTimestamp:n,endTimestamp:i,url:c,method:l,statusCode:d,request:b?si(w,b):w,response:S?si(I,S):I}}function _E(e){const t=[];try{return[e.responseText]}catch(r){t.push(r)}try{return SE(e.response,e.responseType)}catch(r){t.push(r)}return j&&H.warn("Failed to get xhr response body",...t),[void 0]}function SE(e,t){try{if(typeof e=="string")return[e];if(e instanceof Document)return[e.body.outerHTML];if(t==="json"&&e&&typeof e=="object")return[JSON.stringify(e)];if(!e)return[void 0]}catch(r){return j&&H.exception(r,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return j&&H.log("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function wE(e,t){try{const r=t==="json"&&e&&typeof e=="object"?JSON.stringify(e):e;return Ti(r)}catch{return}}function EE(e){const t=te();try{const{networkDetailAllowUrls:r,networkDetailDenyUrls:o,networkCaptureBodies:n,networkRequestHeaders:i,networkResponseHeaders:s}=e.getOptions(),a={replay:e,networkDetailAllowUrls:r,networkDetailDenyUrls:o,networkCaptureBodies:n,networkRequestHeaders:i,networkResponseHeaders:s};t&&t.on("beforeAddBreadcrumb",(c,l)=>CE(a,c,l))}catch{}}function CE(e,t,r){if(t.data)try{xE(t)&&RE(r)&&(vE(t,r),yE(t,r,e)),TE(t)&&IE(r)&&(cE(t,r),aE(t,r,e))}catch(o){j&&H.exception(o,"Error when enriching network breadcrumb")}}function xE(e){return e.category==="xhr"}function TE(e){return e.category==="fetch"}function RE(e){return e?.xhr}function IE(e){return e?.response}function BE(e){const t=te();_f(aw(e)),_i(rE(e)),Yw(e),EE(e);const r=eE(e);ub(r),t&&(t.on("beforeSendEvent",qw(e)),t.on("afterSendEvent",Uw(e)),t.on("createDsc",o=>{const n=e.getSessionId();n&&e.isEnabled()&&e.recordingMode==="session"&&e.checkAndHandleExpiredSession()&&(o.replay_id=n)}),t.on("spanStart",o=>{e.lastActiveSpan=o}),t.on("spanEnd",o=>{e.lastActiveSpan=o}),t.on("beforeSendFeedback",async(o,n)=>{const i=e.getSessionId();n?.includeReplay&&e.isEnabled()&&i&&o.contexts?.feedback&&(o.contexts.feedback.source==="api"&&await e.sendBufferedReplayOrFlush(),o.contexts.feedback.replay_id=i)}),t.on("openFeedbackWidget",async()=>{await e.sendBufferedReplayOrFlush()}))}async function AE(e){try{return Promise.all(xi(e,[ME(ve.performance.memory)]))}catch{return[]}}function ME(e){const{jsHeapSizeLimit:t,totalJSHeapSize:r,usedJSHeapSize:o}=e,n=Date.now()/1e3;return{type:"memory",name:"memory",start:n,end:n,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:r,usedJSHeapSize:o}}}}function $E(e,t,r){return Jb(e,t,{...r,setTimeoutImpl:Zo})}const kn=ee.navigator;function OE(){return/iPhone|iPad|iPod/i.test(kn?.userAgent??"")||/Macintosh/i.test(kn?.userAgent??"")&&kn?.maxTouchPoints&&kn?.maxTouchPoints>1?{sampling:{mousemove:!1}}:{}}function LE(e){let t=!1;return(r,o)=>{if(!e.checkAndHandleExpiredSession()){j&&H.warn("Received replay event after session expired.");return}const n=o||!t;t=!0,e.clickDetector&&rw(e.clickDetector,r),e.addUpdate(()=>{if(e.recordingMode==="buffer"&&n&&e.setInitialState(),!Ya(e,r,n))return!0;if(!n)return!1;const i=e.session;if(DE(e,n),e.recordingMode==="buffer"&&i&&e.eventBuffer&&!i.dirty){const s=e.eventBuffer.getEarliestTimestamp();s&&(j&&H.log(`Updating session start time to earliest event in buffer to ${new Date(s)}`),i.started=s,e.getOptions().stickySession&&Ci(i))}return i?.previousSessionId||e.recordingMode==="session"&&e.flush(),!0})}}function NE(e){const t=e.getOptions();return{type:J.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:e.isRecordingCanvas(),sessionSampleRate:t.sessionSampleRate,errorSampleRate:t.errorSampleRate,useCompressionOption:t.useCompression,blockAllMedia:t.blockAllMedia,maskAllText:t.maskAllText,maskAllInputs:t.maskAllInputs,useCompression:e.eventBuffer?e.eventBuffer.type==="worker":!1,networkDetailHasUrls:t.networkDetailAllowUrls.length>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}}function DE(e,t){!t||!e.session||e.session.segmentId!==0||Ya(e,NE(e),!1)}function PE(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch{return null}}function FE(e,t,r,o){return sr(xu(e,ba(e),o,r),[[{type:"replay_event"},e],[{type:"replay_recording",length:typeof t=="string"?new TextEncoder().encode(t).length:t.length},t]])}function jE({recordingData:e,headers:t}){let r;const o=`${JSON.stringify(t)}
`;if(typeof e=="string")r=`${o}${e}`;else{const i=new TextEncoder().encode(o);r=new Uint8Array(i.length+e.length),r.set(i),r.set(e,i.length)}return r}async function HE({client:e,scope:t,replayId:r,event:o}){const n=typeof e._integrations=="object"&&e._integrations!==null&&!Array.isArray(e._integrations)?Object.keys(e._integrations):void 0,i={event_id:r,integrations:n};e.emit("preprocessEvent",o,i);const s=await Mu(e.getOptions(),o,i,t,e,Tt());if(!s)return null;e.emit("postprocessEvent",s,i),s.platform=s.platform||"javascript";const a=e.getSdkMetadata(),{name:c,version:l,settings:d}=a?.sdk||{};return s.sdk={...s.sdk,name:c||"sentry.javascript.unknown",version:l||"0.0.0",settings:d},s}async function UE({recordingData:e,replayId:t,segmentId:r,eventContext:o,timestamp:n,session:i}){const s=jE({recordingData:e,headers:{segment_id:r}}),{urls:a,errorIds:c,traceIds:l,initialTimestamp:d}=o,u=te(),m=fe(),p=u?.getTransport(),f=u?.getDsn();if(!u||!p||!f||!i.sampled)return Promise.resolve({});const g={type:y_,replay_start_timestamp:d/1e3,timestamp:n/1e3,error_ids:c,trace_ids:l,urls:a,replay_id:t,segment_id:r,replay_type:i.sampled},h=await HE({scope:m,client:u,replayId:t,event:g});if(!h)return u.recordDroppedEvent("event_processor","replay"),j&&H.log("An event processor returned `null`, will not send event."),Promise.resolve({});delete h.sdkProcessingMetadata;const b=FE(h,s,f,u.getOptions().tunnel);let _;try{_=await p.send(b)}catch(w){const I=new Error(La);try{I.cause=w}catch{}throw I}if(typeof _.statusCode=="number"&&(_.statusCode<200||_.statusCode>=300))throw new hp(_.statusCode);const S=Uu({},_);if(Hu(S,"replay"))throw new Ka(S);return _}class hp extends Error{constructor(t){super(`Transport returned status code ${t}`)}}class Ka extends Error{constructor(t){super("Rate limit hit"),this.rateLimits=t}}async function bp(e,t={count:0,interval:E_}){const{recordingData:r,onError:o}=e;if(r.length)try{return await UE(e),!0}catch(n){if(n instanceof hp||n instanceof Ka)throw n;if(lb("Replays",{_retryCount:t.count}),o&&o(n),t.count>=C_){const i=new Error(`${La} - max retries exceeded`);try{i.cause=n}catch{}throw i}return t.interval*=++t.count,new Promise((i,s)=>{Zo(async()=>{try{await bp(e,t),i(!0)}catch(a){s(a)}},t.interval)})}}const yp="__THROTTLED",zE="__SKIPPED";function WE(e,t,r){const o=new Map,n=a=>{const c=a-r;o.forEach((l,d)=>{d<c&&o.delete(d)})},i=()=>[...o.values()].reduce((a,c)=>a+c,0);let s=!1;return(...a)=>{const c=Math.floor(Date.now()/1e3);if(n(c),i()>=t){const d=s;return s=!0,d?zE:yp}s=!1;const l=o.get(c)||0;return o.set(c,l+1),e(...a)}}class qE{constructor({options:t,recordingOptions:r}){this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:v_,sessionIdleExpire:k_},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._requiresManualStart=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=r,this._options=t,this._debouncedFlush=$E(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=WE((s,a)=>Fw(this,s,a),300,5);const{slowClickTimeout:o,slowClickIgnoreSelectors:n}=this.getOptions(),i=o?{threshold:Math.min(x_,o),timeout:o,scrollTimeout:T_,ignoreSelector:n?n.join(","):""}:void 0;if(i&&(this.clickDetector=new ZS(this,i)),j){const s=t._experiments;H.setConfig({captureExceptions:!!s.captureExceptions,traceInternals:!!s.traceInternals})}this._handleVisibilityChange=()=>{ve.document.visibilityState==="visible"?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()},this._handleWindowBlur=()=>{const s=St({category:"ui.blur"});this._doChangeToBackgroundTasks(s)},this._handleWindowFocus=()=>{const s=St({category:"ui.focus"});this._doChangeToForegroundTasks(s)},this._handleKeyboardEvent=s=>{uw(this,s)}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}handleException(t){j&&H.exception(t),this._options.onError&&this._options.onError(t)}initializeSampling(t){const{errorSampleRate:r,sessionSampleRate:o}=this._options,n=r<=0&&o<=0;if(this._requiresManualStart=n,!n){if(this._initializeSessionForSampling(t),!this.session){j&&H.exception(new Error("Unable to initialize and create session"));return}this.session.sampled!==!1&&(this.recordingMode=this.session.sampled==="buffer"&&this.session.segmentId===0?"buffer":"session",j&&H.infoTick(`Starting replay in ${this.recordingMode} mode`),this._initializeRecording())}}start(){if(this._isEnabled&&this.recordingMode==="session"){j&&H.log("Recording is already in progress");return}if(this._isEnabled&&this.recordingMode==="buffer"){j&&H.log("Buffering is in progress, call `flush()` to save the replay");return}j&&H.infoTick("Starting replay in session mode"),this._updateUserActivity();const t=Zi({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=t,this.recordingMode="session",this._initializeRecording()}startBuffering(){if(this._isEnabled){j&&H.log("Buffering is in progress, call `flush()` to save the replay");return}j&&H.infoTick("Starting replay in buffer mode");const t=Zi({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=t,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{const t=this._canvas;this._stopRecording=Nt({...this._recordingOptions,...this.recordingMode==="buffer"?{checkoutEveryNms:w_}:this._options._experiments.continuousCheckout&&{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:LE(this),...OE(),onMutation:this._onMutationHandler.bind(this),...t?{recordCanvas:t.recordCanvas,getCanvasManager:t.getCanvasManager,sampling:t.sampling,dataURLOptions:t.dataURLOptions}:{}})}catch(t){this.handleException(t)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(t){return this.handleException(t),!1}}async stop({forceFlush:t=!1,reason:r}={}){if(this._isEnabled){this._isEnabled=!1,this.recordingMode="buffer";try{j&&H.log(`Stopping Replay${r?` triggered by ${r}`:""}`),up(),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),t&&await this._flush({force:!0}),this.eventBuffer?.destroy(),this.eventBuffer=null,Ow(this)}catch(o){this.handleException(o)}}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),j&&H.log("Pausing replay"))}resume(){!this._isPaused||!this._checkSession()||(this._isPaused=!1,this.startRecording(),j&&H.log("Resuming replay"))}async sendBufferedReplayOrFlush({continueRecording:t=!0}={}){if(this.recordingMode==="session")return this.flushImmediate();const r=Date.now();j&&H.log("Converting buffer to session"),await this.flushImmediate();const o=this.stopRecording();!t||!o||this.recordingMode!=="session"&&(this.recordingMode="session",this.session&&(this.session.dirty=!1,this._updateUserActivity(r),this._updateSessionActivity(r),this._maybeSaveSession()),this.startRecording())}addUpdate(t){const r=t();this.recordingMode==="buffer"||!this._isEnabled||r!==!0&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),!this._stopRecording){if(!this._checkSession())return;this.resume();return}this.checkAndHandleExpiredSession(),this._updateSessionActivity()}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return this.recordingMode==="buffer"?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(t){if(!(t&&this.session?.sampled===!1))return this.session?.id}checkAndHandleExpiredSession(){if(this._lastActivity&&Hs(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&this.session.sampled==="session"){this.pause();return}return!!this._checkSession()}setInitialState(){const t=`${ve.location.pathname}${ve.location.hash}${ve.location.search}`,r=`${ve.location.origin}${t}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=r,this._context.initialTimestamp=Date.now(),this._context.urls.push(r)}throttledAddEvent(t,r){const o=this._throttledAddEvent(t,r);if(o===yp){const n=St({category:"replay.throttled"});this.addUpdate(()=>!Ya(this,{type:qS,timestamp:n.timestamp||0,data:{tag:"breadcrumb",payload:n,metric:!0}}))}return o}getCurrentRoute(){const t=this.lastActiveSpan||je(),r=t&&Fe(t),n=(r&&oe(r).data||{})[Xe];if(!(!r||!n||!["route","custom"].includes(n)))return oe(r).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=Aw({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_initializeSessionForSampling(t){const r=this._options.errorSampleRate>0,o=Zi({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,previousSessionId:t},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:r});this.session=o}_checkSession(){if(!this.session)return!1;const t=this.session;return ap(t,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})?(this._refreshSession(t),!1):!0}async _refreshSession(t){this._isEnabled&&(await this.stop({reason:"refresh session"}),this.initializeSampling(t.id))}_addListeners(){try{ve.document.addEventListener("visibilitychange",this._handleVisibilityChange),ve.addEventListener("blur",this._handleWindowBlur),ve.addEventListener("focus",this._handleWindowFocus),ve.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(BE(this),this._hasInitializedCoreListeners=!0)}catch(t){this.handleException(t)}this._performanceCleanupCallback=Ew(this)}_removeListeners(){try{ve.document.removeEventListener("visibilitychange",this._handleVisibilityChange),ve.removeEventListener("blur",this._handleWindowBlur),ve.removeEventListener("focus",this._handleWindowFocus),ve.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(t){this.handleException(t)}}_doChangeToBackgroundTasks(t){!this.session||sp(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(t&&this._createCustomBreadcrumb(t),this.conditionalFlush())}_doChangeToForegroundTasks(t){if(!this.session)return;if(!this.checkAndHandleExpiredSession()){j&&H.log("Document has become active, but session has expired");return}t&&this._createCustomBreadcrumb(t)}_updateUserActivity(t=Date.now()){this._lastActivity=t}_updateSessionActivity(t=Date.now()){this.session&&(this.session.lastActivity=t,this._maybeSaveSession())}_createCustomBreadcrumb(t){this.addUpdate(()=>{this.throttledAddEvent({type:J.Custom,timestamp:t.timestamp||0,data:{tag:"breadcrumb",payload:t}})})}_addPerformanceEntries(){let t=gw(this.performanceEntries).concat(this.replayPerformanceEntries);if(this.performanceEntries=[],this.replayPerformanceEntries=[],this._requiresManualStart){const r=this._context.initialTimestamp/1e3;t=t.filter(o=>o.start>=r)}return Promise.all(xi(this,t))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){const{session:t,eventBuffer:r}=this;if(!t||!r||this._requiresManualStart||t.segmentId)return;const o=r.getEarliestTimestamp();o&&o<this._context.initialTimestamp&&(this._context.initialTimestamp=o)}_popEventContext(){const t={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),urls:this._context.urls};return this._clearContext(),t}async _runFlush(){const t=this.getSessionId();if(!this.session||!this.eventBuffer||!t){j&&H.error("No session or eventBuffer found to flush.");return}if(await this._addPerformanceEntries(),!!this.eventBuffer?.hasEvents&&(await AE(this),!!this.eventBuffer&&t===this.getSessionId()))try{this._updateInitialTimestampFromEventBuffer();const r=Date.now();if(r-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw new Error("Session is too long, not sending replay");const o=this._popEventContext(),n=this.session.segmentId++;this._maybeSaveSession();const i=await this.eventBuffer.finish();await bp({replayId:t,recordingData:i,segmentId:n,eventContext:o,session:this.session,timestamp:r,onError:s=>this.handleException(s)})}catch(r){this.handleException(r),this.stop({reason:"sendReplay"});const o=te();if(o){const n=r instanceof Ka?"ratelimit_backoff":"send_error";o.recordDroppedEvent(n,"replay")}}}async _flush({force:t=!1}={}){if(!this._isEnabled&&!t)return;if(!this.checkAndHandleExpiredSession()){j&&H.error("Attempting to finish replay event after session expired.");return}if(!this.session)return;const r=this.session.started,n=Date.now()-r;this._debouncedFlush.cancel();const i=n<this._options.minReplayDuration,s=n>this._options.maxReplayDuration+5e3;if(i||s){j&&H.log(`Session duration (${Math.floor(n/1e3)}s) is too ${i?"short":"long"}, not sending replay.`),i&&this._debouncedFlush();return}const a=this.eventBuffer;a&&this.session.segmentId===0&&!a.hasCheckout&&j&&H.log("Flushing initial segment without checkout.");const c=!!this._flushLock;this._flushLock||(this._flushLock=this._runFlush());try{await this._flushLock}catch(l){this.handleException(l)}finally{this._flushLock=void 0,c&&this._debouncedFlush()}}_maybeSaveSession(){this.session&&this._options.stickySession&&Ci(this.session)}_onMutationHandler(t){const{ignoreMutations:r}=this._options._experiments;if(r?.length&&t.some(a=>{const c=PE(a.target),l=r.join(",");return c?.matches(l)}))return!1;const o=t.length,n=this._options.mutationLimit,i=this._options.mutationBreadcrumbLimit,s=n&&o>n;if(o>i||s){const a=St({category:"replay.mutations",data:{count:o,limit:s}});this._createCustomBreadcrumb(a)}return s?(this.stop({reason:"mutationLimit",forceFlush:this.recordingMode==="session"}),!1):!0}}function yo(e,t){return[...e,...t].join(",")}function VE({mask:e,unmask:t,block:r,unblock:o,ignore:n}){const i=["base","iframe[srcdoc]:not([src])"],s=yo(e,[".sentry-mask","[data-sentry-mask]"]),a=yo(t,[]);return{maskTextSelector:s,unmaskTextSelector:a,blockSelector:yo(r,[".sentry-block","[data-sentry-block]",...i]),unblockSelector:yo(o,[]),ignoreSelector:yo(n,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'])}}function YE({el:e,key:t,maskAttributes:r,maskAllText:o,privacyOptions:n,value:i}){return!o||n.unmaskTextSelector&&e.matches(n.unmaskTextSelector)?i:r.includes(t)||t==="value"&&e.tagName==="INPUT"&&["submit","button"].includes(e.getAttribute("type")||"")?i.replace(/[\S]/g,"*"):i}const Zl='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',GE=["content-length","content-type","accept"],KE=Symbol.for("sentry__originalRequestBody");let Ql=!1,ed=!1;function XE(){if(typeof Request>"u"||ed)return;const e=Request;try{const t=function(r,o){const n=new e(r,o);return o?.body!=null&&(n[KE]=o.body),n};t.prototype=e.prototype,ee.Request=t,ed=!0}catch{}}const JE=(e=>new ZE(e));class ZE{constructor({flushMinDelay:t=__,flushMaxDelay:r=S_,minReplayDuration:o=R_,maxReplayDuration:n=Al,stickySession:i=!0,useCompression:s=!0,workerUrl:a,_experiments:c={},maskAllText:l=!0,maskAllInputs:d=!0,blockAllMedia:u=!0,mutationBreadcrumbLimit:m=750,mutationLimit:p=1e4,slowClickTimeout:f=7e3,slowClickIgnoreSelectors:g=[],networkDetailAllowUrls:h=[],networkDetailDenyUrls:b=[],networkCaptureBodies:_=!0,networkRequestHeaders:S=[],networkResponseHeaders:w=[],mask:I=[],maskAttributes:B=["title","placeholder","aria-label"],unmask:v=[],block:R=[],unblock:Z=[],ignore:T=[],maskFn:A,beforeAddRecordingEvent:P,beforeErrorSampling:D,onError:L,attachRawBodyFromRequest:Q=!1}={}){this.name="Replay";const F=VE({mask:I,unmask:v,block:R,unblock:Z,ignore:T});if(this._recordingOptions={maskAllInputs:d,maskAllText:l,maskInputOptions:{password:!0},maskTextFn:A,maskInputFn:A,maskAttributeFn:(U,E,W)=>YE({maskAttributes:B,maskAllText:l,privacyOptions:F,key:U,value:E,el:W}),...F,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:U=>{try{U.__rrweb__=!0}catch{}},recordCrossOriginIframes:!!c.recordCrossOriginIframes},this._initialOptions={flushMinDelay:t,flushMaxDelay:r,minReplayDuration:Math.min(o,I_),maxReplayDuration:Math.min(n,Al),stickySession:i,useCompression:s,workerUrl:a,blockAllMedia:u,maskAllInputs:d,maskAllText:l,mutationBreadcrumbLimit:m,mutationLimit:p,slowClickTimeout:f,slowClickIgnoreSelectors:g,networkDetailAllowUrls:h,networkDetailDenyUrls:b,networkCaptureBodies:_,networkRequestHeaders:td(S),networkResponseHeaders:td(w),beforeAddRecordingEvent:P,beforeErrorSampling:D,onError:L,attachRawBodyFromRequest:Q,_experiments:c},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${Zl}`:Zl,this._recordingOptions.ignoreCSSAttributes=new Set(["background-image"])),this._isInitialized&&xs())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return Ql}set _isInitialized(t){Ql=t}afterAllSetup(t){!xs()||this._replay||(this._initialOptions.attachRawBodyFromRequest&&XE(),this._setup(t),this._initialize(t))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:this._replay.recordingMode==="session"}):Promise.resolve()}flush(t){return this._replay?this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(t):(this._replay.start(),Promise.resolve()):Promise.resolve()}getReplayId(t){if(this._replay?.isEnabled())return this._replay.getSessionId(t)}getRecordingMode(){if(this._replay?.isEnabled())return this._replay.recordingMode}_initialize(t){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(t),this._replay.initializeSampling())}_setup(t){const r=QE(this._initialOptions,t);this._replay=new qE({options:r,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(t){try{const r=t.getIntegrationByName("ReplayCanvas");if(!r)return;this._replay._canvas=r.getOptions()}catch{}}}function QE(e,t){const r=t.getOptions(),o={sessionSampleRate:0,errorSampleRate:0,...e},n=wr(r.replaysSessionSampleRate),i=wr(r.replaysOnErrorSampleRate);return n==null&&i==null&&zt(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),n!=null&&(o.sessionSampleRate=n),i!=null&&(o.errorSampleRate=i),o}function td(e){return[...GE,...e.map(t=>t.toLowerCase())]}function eC(e){return e.split(",").some(t=>t.trim().startsWith("sentry-"))}function vp(e){try{return new URL(e,ce.location.origin).href}catch{return}}function tC(e){return e.entryType==="resource"&&"initiatorType"in e&&typeof e.nextHopProtocol=="string"&&(e.initiatorType==="fetch"||e.initiatorType==="xmlhttprequest")}function kp(e){try{return new Headers(e)}catch{return}}const rd=new WeakMap,Qi=new Map,_p={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function rC(e,t){const{traceFetch:r,traceXHR:o,trackFetchStreamPerformance:n,shouldCreateSpanForRequest:i,enableHTTPTimings:s,tracePropagationTargets:a,onRequestSpanStart:c,onRequestSpanEnd:l}={..._p,...t},d=typeof i=="function"?i:f=>!0,u=f=>oC(f,a),m={},p=e.getOptions().propagateTraceparent;r&&(e.addEventProcessor(f=>(f.type==="transaction"&&f.spans&&f.spans.forEach(g=>{if(g.op==="http.client"){const h=Qi.get(g.span_id);h&&(g.timestamp=h/1e3,Qi.delete(g.span_id))}}),f)),n&&My(f=>{if(f.response){const g=rd.get(f.response);g&&f.endTimestamp&&Qi.set(g,f.endTimestamp)}}),tf(f=>{const g=Sy(f,d,u,m,{propagateTraceparent:p,onRequestSpanEnd:l});if(f.response&&f.fetchData.__span&&rd.set(f.response,f.fetchData.__span),g){const h=vp(f.fetchData.url),b=h?br(h).host:void 0;g.setAttributes({"http.url":h,"server.address":b}),s&&od(g),c?.(g,{headers:f.headers})}})),o&&wf(f=>{const g=nC(f,d,u,m,p,l);g&&(s&&od(g),c?.(g,{headers:kp(f.xhr.__sentry_xhr_v3__?.request_headers)}))})}function od(e){const{url:t}=oe(e).data;if(!t||typeof t!="string")return;const r=Cr("resource",({entries:o})=>{o.forEach(n=>{tC(n)&&n.name.endsWith(t)&&(e.setAttributes(kf(n)),setTimeout(r))})})}function oC(e,t){const r=io();if(r){let o,n;try{o=new URL(e,r),n=new URL(r).origin}catch{return!1}const i=o.origin===n;return t?Ot(o.toString(),t)||i&&Ot(o.pathname,t):i}else{const o=!!e.match(/^\/(?!\/)/);return t?Ot(e,t):o}}function nC(e,t,r,o,n,i){const s=e.xhr,a=s?.[ur];if(!s||s.__sentry_own_request__||!a)return;const{url:c,method:l}=a,d=ct()&&t(c);if(e.endTimestamp&&d){const b=s.__sentry_xhr_span_id__;if(!b)return;const _=o[b];_&&a.status_code!==void 0&&(du(_,a.status_code),_.end(),i?.(_,{headers:kp(Tf(s)),error:e.error}),delete o[b]);return}const u=vp(c),m=br(u||c),p=Wb(c),f=!!je(),g=d&&f?er({name:`${l} ${p}`,attributes:{url:c,type:"xhr","http.method":l,"http.url":u,"server.address":m?.host,[Ce]:"auto.http.browser",[jt]:"http.client",...m?.search&&{"http.query":m?.search},...m?.hash&&{"http.fragment":m?.hash}}}):new Qt;s.__sentry_xhr_span_id__=g.spanContext().spanId,o[s.__sentry_xhr_span_id__]=g,r(c)&&iC(s,ct()&&f?g:void 0,n);const h=te();return h&&h.emit("beforeOutgoingRequestSpan",g,e),g}function iC(e,t,r){const{"sentry-trace":o,baggage:n,traceparent:i}=Xu({span:t,propagateTraceparent:r});o&&sC(e,o,n,i)}function sC(e,t,r,o){const n=e.__sentry_xhr_v3__?.request_headers;if(!(n?.["sentry-trace"]||!e.setRequestHeader))try{if(e.setRequestHeader("sentry-trace",t),o&&!n?.traceparent&&e.setRequestHeader("traceparent",o),r){const i=n?.baggage;(!i||!eC(i))&&e.setRequestHeader("baggage",r)}}catch{}}function aC(){ce.document?ce.document.addEventListener("visibilitychange",()=>{const e=je();if(!e)return;const t=Fe(e);if(ce.document.hidden&&t){const r="cancelled",{op:o,status:n}=oe(t);lt&&x.log(`[Tracing] Transaction: ${r} -> since tab moved to the background, op: ${o}`),n||t.setStatus({code:Le,message:r}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):lt&&x.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const cC=3600,Sp="sentry_previous_trace",lC="sentry.previous_trace";function dC(e,{linkPreviousTrace:t,consistentTraceSampling:r}){const o=t==="session-storage";let n=o?pC():void 0;e.on("spanStart",s=>{if(Fe(s)!==s)return;const a=fe().getPropagationContext();n=uC(n,s,a),o&&fC(n)});let i=!0;r&&e.on("beforeSampling",s=>{if(!n)return;const a=fe(),c=a.getPropagationContext();if(i&&c.parentSpanId){i=!1;return}a.setPropagationContext({...c,dsc:{...c.dsc,sample_rate:String(n.sampleRate),sampled:String(Ws(n.spanContext))},sampleRand:n.sampleRand}),s.parentSampled=Ws(n.spanContext),s.parentSampleRate=n.sampleRate,s.spanAttributes={...s.spanAttributes,[lu]:n.sampleRate}})}function uC(e,t,r){const o=oe(t);function n(){try{return Number(r.dsc?.sample_rate)??Number(o.data?.[ua])}catch{return 0}}const i={spanContext:t.spanContext(),startTimestamp:o.start_timestamp,sampleRate:n(),sampleRand:r.sampleRand};if(!e)return i;const s=e.spanContext;return s.traceId===o.trace_id?e:(Date.now()/1e3-e.startTimestamp<=cC&&(lt&&x.log(`Adding previous_trace \`${JSON.stringify(s)}\` link to span \`${JSON.stringify({op:o.op,...t.spanContext()})}\``),t.addLink({context:s,attributes:{[Oh]:"previous_trace"}}),t.setAttribute(lC,`${s.traceId}-${s.spanId}-${Ws(s)?1:0}`)),i)}function fC(e){try{ce.sessionStorage.setItem(Sp,JSON.stringify(e))}catch(t){lt&&x.warn("Could not store previous trace in sessionStorage",t)}}function pC(){try{const e=ce.sessionStorage?.getItem(Sp);return JSON.parse(e)}catch{return}}function Ws(e){return e.traceFlags===1}const mC="BrowserTracing",gC={...Bn,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,enableElementTiming:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{},..._p},nd=((e={})=>{const t={name:void 0,source:void 0},r=ce.document,{enableInp:o,enableElementTiming:n,enableLongTask:i,enableLongAnimationFrame:s,_experiments:{enableInteractions:a,enableStandaloneClsSpans:c,enableStandaloneLcpSpans:l},beforeStartSpan:d,idleTimeout:u,finalTimeout:m,childSpanTimeout:p,markBackgroundSpan:f,traceFetch:g,traceXHR:h,trackFetchStreamPerformance:b,shouldCreateSpanForRequest:_,enableHTTPTimings:S,ignoreResourceSpans:w,ignorePerformanceApiSpans:I,instrumentPageLoad:B,instrumentNavigation:v,detectRedirects:R,linkPreviousTrace:Z,consistentTraceSampling:T,enableReportPageLoaded:A,onRequestSpanStart:P,onRequestSpanEnd:D}={...gC,...e};let L,Q,F;function U(E,W,$=!0){const q=W.op==="pageload",V=W.name,ue=d?d(W):W,xe=ue.attributes||{};if(V!==ue.name&&(xe[Xe]="custom",ue.attributes=xe),!$){const Se=Rr();er({...ue,startTime:Se}).end(Se);return}t.name=ue.name,t.source=xe[Xe];const Ne=Au(ue,{idleTimeout:u,finalTimeout:m,childSpanTimeout:p,disableAutoFinish:q,beforeSpanEnd:Se=>{L?.(),Uv(Se,{recordClsOnPageloadSpan:!c,recordLcpOnPageloadSpan:!l,ignoreResourceSpans:w,ignorePerformanceApiSpans:I}),sd(E,void 0);const pe=fe(),$e=pe.getPropagationContext();pe.setPropagationContext({...$e,traceId:Ne.spanContext().traceId,sampled:ir(Ne),dsc:Ht(Se)}),q&&(F=void 0)},trimIdleSpanEndTimestamp:!A});q&&A&&(F=Ne),sd(E,Ne);function _e(){r&&["interactive","complete"].includes(r.readyState)&&E.emit("idleSpanEnableAutoFinish",Ne)}q&&!A&&r&&(r.addEventListener("readystatechange",()=>{_e()}),_e())}return{name:mC,setup(E){if(l0(),L=Lv({recordClsStandaloneSpans:c||!1,recordLcpStandaloneSpans:l||!1,client:E}),o&&mk(),n&&ek(),s&&ee.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?Dv():i&&Nv(),a&&Pv(),R&&r){const $=()=>{Q=Ie()};addEventListener("click",$,{capture:!0}),addEventListener("keydown",$,{capture:!0,passive:!0})}function W(){const $=No(E);$&&!oe($).timestamp&&(lt&&x.log(`[Tracing] Finishing current active span with op: ${oe($).op}`),$.setAttribute(Io,"cancelled"),$.end())}E.on("startNavigationSpan",($,q)=>{if(te()!==E)return;if(q?.isRedirect){lt&&x.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),U(E,{op:"navigation.redirect",...$},!1);return}Q=void 0,W(),Tt().setPropagationContext({traceId:Ft(),sampleRand:Math.random(),propagationSpanId:ct()?void 0:Lt()});const V=fe();V.setPropagationContext({traceId:Ft(),sampleRand:Math.random(),propagationSpanId:ct()?void 0:Lt()}),V.setSDKProcessingMetadata({normalizedRequest:void 0}),U(E,{op:"navigation",...$,parentSpan:null,forceTransaction:!0})}),E.on("startPageLoadSpan",($,q={})=>{if(te()!==E)return;W();const V=q.sentryTrace||id("sentry-trace"),ue=q.baggage||id("baggage"),xe=e0(V,ue),Ne=fe();Ne.setPropagationContext(xe),ct()||(Ne.getPropagationContext().propagationSpanId=Lt()),Ne.setSDKProcessingMetadata({normalizedRequest:Ca()}),U(E,{op:"pageload",...$})}),E.on("endPageloadSpan",()=>{A&&F&&(F.setAttribute(Io,"reportPageLoaded"),F.end())})},afterAllSetup(E){let W=io();if(Z!=="off"&&dC(E,{linkPreviousTrace:Z,consistentTraceSampling:T}),ce.location){if(B){const $=tt();hC(E,{name:ce.location.pathname,startTime:$?$/1e3:void 0,attributes:{[Xe]:"url",[Ce]:"auto.pageload.browser"}})}v&&_i(({to:$,from:q})=>{if(q===void 0&&W?.indexOf($)!==-1){W=void 0;return}W=void 0;const V=Ea($),ue=No(E),xe=ue&&R&&yC(ue,Q);wp(E,{name:V?.pathname||ce.location.pathname,attributes:{[Xe]:"url",[Ce]:"auto.navigation.browser"}},{url:$,isRedirect:xe})})}f&&aC(),a&&bC(E,u,m,p,t),o&&bk(),rC(E,{traceFetch:g,traceXHR:h,trackFetchStreamPerformance:b,tracePropagationTargets:E.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:_,enableHTTPTimings:S,onRequestSpanStart:P,onRequestSpanEnd:D})}}});function hC(e,t,r){e.emit("startPageLoadSpan",t,r),fe().setTransactionName(t.name);const o=No(e);return o&&e.emit("afterStartPageLoadSpan",o),o}function wp(e,t,r){const{url:o,isRedirect:n}=r||{};e.emit("beforeStartNavigationSpan",t,{isRedirect:n}),e.emit("startNavigationSpan",t,{isRedirect:n});const i=fe();return i.setTransactionName(t.name),o&&!n&&i.setSDKProcessingMetadata({normalizedRequest:{...Ca(),url:o}}),No(e)}function id(e){return ce.document?.querySelector(`meta[name=${e}]`)?.getAttribute("content")||void 0}function bC(e,t,r,o,n){const i=ce.document;let s;const a=()=>{const c="ui.action.click",l=No(e);if(l){const d=oe(l).op;if(["navigation","pageload"].includes(d)){lt&&x.warn(`[Tracing] Did not create ${c} span because a pageload or navigation span is in progress.`);return}}if(s&&(s.setAttribute(Io,"interactionInterrupted"),s.end(),s=void 0),!n.name){lt&&x.warn(`[Tracing] Did not create ${c} transaction because _latestRouteName is missing.`);return}s=Au({name:n.name,op:c,attributes:{[Xe]:n.source||"url"}},{idleTimeout:t,finalTimeout:r,childSpanTimeout:o})};i&&addEventListener("click",a,{capture:!0})}const Ep="_sentry_idleSpan";function No(e){return e[Ep]}function sd(e,t){et(e,Ep,t)}const ad=1.5;function yC(e,t){const r=oe(e),o=Rr(),n=r.start_timestamp;return!(o-n>ad||t&&o-t<=ad)}const Cp=["activate","mount"],xp=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,vC=/(?:^|[-_])(\w)/g,kC=e=>e.replace(vC,t=>t.toUpperCase()).replace(/[-_]/g,""),_C="<Root>",es="<Anonymous>",SC=(e,t)=>e.repeat(t),xo=(e,t)=>{if(!e)return es;if(e.$root===e)return _C;if(!e.$options)return es;const r=e.$options;let o=r.name||r._componentTag||r.__name;const n=r.__file;if(!o&&n){const i=n.match(/([^/\\]+)\.vue$/);i&&(o=i[1])}return(o?`<${kC(o)}>`:es)+(n&&t!==!1?` at ${n}`:"")},wC=e=>{if(e&&(e._isVue||e.__isVue)&&e.$parent){const t=[];let r=0;for(;e;){if(t.length>0){const n=t[t.length-1];if(n.constructor===e.constructor){r++,e=e.$parent;continue}else r>0&&(t[t.length-1]=[n,r],r=0)}t.push(e),e=e.$parent}return`

found in

${t.map((n,i)=>`${(i===0?"---> ":SC(" ",5+i*2))+(Array.isArray(n)?`${xo(n[0])}... (${n[1]} recursive calls)`:xo(n))}`).join(`
`)}`}return`

(found in ${xo(e)})`},EC=(e,t)=>{const{errorHandler:r}=e.config;e.config.errorHandler=(o,n,i)=>{const s=xo(n,!1),a=n?wC(n):"",c={componentName:s,lifecycleHook:i,trace:a};if(t?.attachProps!==!1&&n&&(n.$options?.propsData?c.propsData=n.$options.propsData:n.$props&&(c.propsData=n.$props)),setTimeout(()=>{yi(o,{captureContext:{contexts:{vue:c}},mechanism:{handled:!!r,type:"auto.function.vue.error_handler"}})}),typeof r=="function"&&e.config.errorHandler)r.call(e,o,n,i);else throw o}},cd="ui.vue",CC={activate:["activated","deactivated"],create:["beforeCreate","created"],unmount:["beforeUnmount","unmounted"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]};function ts(e,t,r){e.$_sentryRootComponentSpanTimer&&clearTimeout(e.$_sentryRootComponentSpanTimer),e.$_sentryRootComponentSpanTimer=setTimeout(()=>{e.$root?.$_sentryRootComponentSpan&&(e.$root.$_sentryRootComponentSpan.end(t),e.$root.$_sentryRootComponentSpan=void 0)},r)}function xC(e,t){function r(n){return n.replace(/^<([^\s]*)>(?: at [^\s]*)?$/,"$1")}return e.some(n=>r(t)===r(n))}const TC=(e={})=>{const t=(e.hooks||[]).concat(Cp).filter((n,i,s)=>s.indexOf(n)===i),r={},o=e.timeout||2e3;for(const n of t){const i=CC[n];if(!i){xp&&x.warn(`Unknown hook: ${n}`);continue}for(const s of i)r[s]=function(){const a=this.$root===this;a&&(this.$_sentryRootComponentSpan=this.$_sentryRootComponentSpan||er({name:"Application Render",op:`${cd}.render`,attributes:{[Ce]:"auto.ui.vue"},onlyIfParent:!0}),ts(this,Ie(),o));const c=xo(this,!1);if(!(a||(Array.isArray(e.trackComponents)?xC(e.trackComponents,c):e.trackComponents))){ts(this,Ie(),o);return}this.$_sentryComponentSpans=this.$_sentryComponentSpans||{};const d=s===i[0],u=this.$root?.$_sentryRootComponentSpan||je();if(d){if(u){const m=this.$_sentryComponentSpans[n];m&&m.end(),this.$_sentryComponentSpans[n]=er({name:`Vue ${c}`,op:`${cd}.${n}`,attributes:{[Ce]:"auto.ui.vue"},onlyIfParent:!0})}}else{const m=this.$_sentryComponentSpans[n];if(!m)return;m.end(),ts(this,Ie(),o)}}}return r},RC=ee,IC={Vue:RC.Vue,attachProps:!0,attachErrorHandler:!0,tracingOptions:{hooks:Cp,timeout:2e3,trackComponents:!1}},BC="Vue",AC=(e={})=>({name:BC,setup(t){const r={...IC,...t.getOptions(),...e};if(!r.Vue&&!r.app){zt(()=>{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}r.app?(Array.isArray(r.app)?r.app:[r.app]).forEach(n=>ld(n,r)):r.Vue&&ld(r.Vue,r)}}),ld=(e,t)=>{xp&&e._instance?.isMounted===!0&&zt(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue app is already mounted. Make sure to call `app.mount()` after `Sentry.init()`.")}),t.attachErrorHandler&&EC(e,t),ct(t)&&e.mixin(TC(t.tracingOptions))};function MC(e={}){const t={defaultIntegrations:[...Bf(),AC()],...e};return Ku(t,"vue"),b_(t)}function $C(e,t,r){let o=!1;e.onError(n=>yi(n,{mechanism:{handled:!1}})),e.beforeEach((n,i,s)=>{const a=o?void 0:OC(),c={};for(const u of Object.keys(n.params))c[`url.path.parameter.${u}`]=n.params[u],c[`params.${u}`]=n.params[u];for(const u of Object.keys(n.query)){const m=n.query[u];m&&(c[`query.${u}`]=m)}let l=n.path,d="url";if(n.name&&t.routeLabel!=="path")l=n.name.toString(),d="custom";else if(n.matched.length>0){const u=n.matched.length-1;l=n.matched[u].path,d="route"}fe().setTransactionName(l),t.instrumentPageLoad&&a&&(oe(a).data[Xe]!=="custom"&&(a.updateName(l),a.setAttribute(Xe,d)),a.setAttributes({...c,[Ce]:"auto.pageload.vue"}),o=!0),t.instrumentNavigation&&!a&&r({name:l,op:"navigation",attributes:{...c,[Ce]:"auto.navigation.vue",[Xe]:d}}),s&&s()})}function OC(){const e=je(),t=e&&Fe(e);return t&&oe(t).op==="pageload"?t:void 0}function LC(e={}){if(!e.router)return nd(e);const t=nd({...e,instrumentNavigation:!1}),{router:r,instrumentNavigation:o=!0,instrumentPageLoad:n=!0,routeLabel:i="name"}=e;return{...t,afterAllSetup(s){t.afterAllSetup(s),$C(r,{routeLabel:i,instrumentNavigation:o,instrumentPageLoad:n},c=>{wp(s,c)})}}}const NC={followUs:"Følg oss",certifications:"Sertifiseringer",address:"Adresse",false:"Nei",true:"Ja",yes:"Ja",no:"Nei",edit:"Rediger",delete:"Slett",save:"Lagre",cancel:"Avbryt",remove:"Fjern",close:"Lukk",open:"Åpne",error:"Feil",areYouSure:"Er du sikker?",accessDenied:"Ingen tilgang",fieldRequired:"Dette feltet er påkrevd",accept:"Godta",motd:{xmasOpeningHours:"Vi har stengt julaften, nyttårsaften og begrenset åpningstid i romjulen fra",merryXmas:"Vi ønsker alle våre kunder en riktig god jul og et godt nyttår fra oss i Stadssalg :-)"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},numberToWords:{0:"null",1:"en",2:"to",3:"tre",4:"fire",5:"fem",6:"seks",7:"sju",8:"åtte",9:"ni",10:"ti",11:"elleve",12:"tolv",13:"tretten",14:"fjorten",15:"femten",16:"seksten",17:"sytten",18:"atten",19:"nitten",20:"tjue",30:"tretti",40:"førti",50:"femti",60:"seksti",70:"sytti",80:"åtti",90:"nitti",units:{hundre:"hundre",tusen:"tusen",million:"million",milliard:"milliard",billion:"billion",kvadrillion:"kvadrillion",kvintillion:"kvintillion",sextillion:"sextillion",septillion:"septillion",oktillion:"oktillion",nonillion:"nonillion",desillion:"desillion",undesillion:"undesillion",dodesillion:"dodesillion",tredesillion:"tredesillion",kvattordesillion:"kvattordesillion",kvindesillion:"kvindesillion"}}},DC={admin:"Admin",user:"Bruker"},PC={newSearch:"Nytt søk...",weUseCookies:"Vi bruker cookies!",weUseCookiesDescription:"Stadssalg.no bruker cookies for å forbedre brukeropplevelsen din. En cookie er en liten tekstfil som lagres i nettleseren din, og som gjør det mulig for oss å huske deg når du besøker siden igjen. Du kan endre innstillingene for cookies i nettleseren din, men dette kan påvirke hvordan nettsiden fungerer. <button type='button' data-cc='c-settings' class='cc-link'>La meg velge</button>",cookieAcceptAll:"Godta alle",cookieRejectAll:"Avvis alle",cookieSettings:"Innstillinger for cookies",cookieClose:"Lukk",cookieUseTitle:"Bruk av informasjonskapsler",cookieUseDescription:"På denne nettsiden bruker vi cookies for å forbedre brukeropplevelsen din. En cookie er en liten tekstfil som lagres i nettleseren din, og som gjør det mulig for oss å huske deg når du besøker siden igjen. Du kan velge hvilke cookies to ønsker å gi tillatelse til. For mer informasjon, les <a href='https://www.stadssalg.no/info/privacy' class='cc-link'>våre vilkår</a>.",cookieNecessaryTitle:"Nødvendige informasjonskapsler",cookieNecessaryDescription:"Nødvendige informasjonskapsler bidrar til å gjøre vårt nettsted brukbart ved grunnleggende funksjoner som sidenavigasjon og tilgang til sikre områder av nettstedet. Nettstedet kan ikke fungere optimalt uten disse informasjonskapslene.",cookieTargetingTitle:"Informasjonskapsler for annonsering og målretting",cookieTargetingDescription:"Disse informasjonskapslene samler inn informasjon om hvordan du bruker nettsiden, hvilke sider du har besøkt og hvilke lenker du har klikket på. Alt data er anonymisert og kan ikke brukes til å identifisere deg",cookieMoreInfoTitle:"Mer informasjon",cookieMoreInfoDescription:"For spørsmål, gjerne <a class='cc-link' href='mailto:sporsmal{'@'}stadssalg.no'>kontakt oss</a>.",links:{auctions:"Auksjoner",shortcuts:"Hurtiglinker",helpCenter:"Kundeservice",transparencyAct:"Åpenhetsloven",privacyPolicy:"Personvern",termsOfUse:"Budsystem og vilkår"}},FC={missingEmail:"E-postadressen din mangler.",missingPhoneNumber:"Telefonnummeret ditt mangler.",exclusive:"Eksklusivt salgsobjekt for godkjente forhandlere.",sms:"SMS",email:"E-post",couldNotLoadItem:"Vi kunne dessverre ikke laste inn dette objektet.",tip:"Tips",iFoundThis:"Jeg fant denne på",shareOnFacebook:"Del på Facebook",shareOnTwitter:"Del på Twitter",youWonThisItem:"Gratulerer, du har vunnet dette objektet!",seeMoreInfo:"Se mer info under",seeMoreInfoLink:"Mine kjøp og bud",itemNotReadyForSale:"Objektet er enda ikke klart for salg, men bud kan legges inn.",getNotificationOn:"Du vil motta varsel på",getNotificationOnWhen:"når objektet er klart for salg.",getNotificationNone:"Du vil ikke motta varsel når objektet er klart for salg.",manageYourNotifications:"Behandle dine varsler",readyForSale:"Klar for salg",technicalData:{"Antall aksler":"Antall aksler",Batteristørrelse:"Batteristørrelse",Drift:"Drift","EU-kontroll":"EU-kontroll",Farge:"Farge",Kjøretøygruppe:"Kjøretøygruppe","Maksvekt tilh. m. brems":"Maksvekt tilh. m. brems",Motorstørrelse:"Motorstørrelse",Servicehefte:"Servicehefte",Understellsnummer:"Understellsnummer","Antall aksler med drift":"Antall aksler med drift",Drivstoff:"Drivstoff",Effekt:"Effekt",Girkasse:"Girkasse","Km-stand":"Km-stand",Merkenavn:"Merkenavn","Siste service":"Siste service",Registreringsår:"Registreringsår",Seter:"Seter",Bruktimport:"Bruktimport","EU-godkjent":"EU-godkjent",Egenvekt:"Egenvekt",Karosseritype:"Karosseritype","Maks nyttelast":"Maks nyttelast",Modell:"Modell","Registrert første gang i Norge":"Registrert første gang i Norge","Tillatt totalvekt":"Tillatt totalvekt",values:{Ja:"Ja",Nei:"Nei",Automat:"Automat",Rød:"Rød",Hvit:"Hvit",Svart:"Svart",Grå:"Grå",Blå:"Blå",Grønn:"Grønn",Gul:"Gul",Sølv:"Sølv",Beige:"Beige",Brun:"Brun",Oransje:"Oransje",Lilla:"Lilla",Rosa:"Rosa",Annet:"Annet",Bensin:"Bensin",Diesel:"Diesel",Hybrid:"Hybrid",Elektrisitet:"Elektrisitet",Elektrisk:"Elektrisk"}},equipment:"Utstyr",expenses:"Utgifter",expensesTotal:"Utgifter totalt",noExpenses:"Ingen utgifter registrert",documents:"Viktige dokumenter",noDocuments:"Objektet har ingen dokumenter.",map:"Kart",highestBid:"Høyeste bud",youAreCurrentlyLeading:"Du leder budrunden!",yourBid:"Ditt bud",minBid:"Minimumsbud",minBidIncrement:"Minimum budøkning",vat:"MVA",vatIncluded:"MVA tilkommer",vatNone:"MVA-fri",adminCommission:"Adm. gebyr",ofBidAmount:"av budbeløp",min:"min",max:"maks",giveBid:"Gi bud",verifyEmailToBid:"Verifiser e-postadressen din for å kunne legge inn bud",addValidPhoneNumberToBid:"Legg til gyldig telefonnummer på profilen din for å kunne legge inn bud.",loginToBid:"Du er ikke innlogget, så du kan ikke legge inn bud.",openMyProfile:"Åpne min profil",login:"Logg inn",giveBidBehalf:"Legg inn bud på vegne av",changeBidderProfile:"Endre standard budgiverprofil",youAreDeniedToBid:"Du er utestengt fra å by.",minBidUpdated:"Minimumsbudet er oppdatert fordi det har kommet inn et nytt høyere bud.",terms:"vilkår",makeBid:"Gi bud!",bindingBidQuestion:"Ønsker du å legge inn et bindende bud på",overview:"Oversikt",norwegianKroner:"norske kroner",bidCorrectQuestion:"Er budet ditt riktig?",youCantChangeBid:"Du kan ikke endre det etterpå.",bidError:"Det skjedde en feil. Bud ikke akseptert.",year:"Modellår",mileage:"Km.stand",transmission:"Girkasse",fuelType:"Drivstoff",location:"Lokasjon",disclaimerPartOne:"Bilen selges ikke med 5 års reklamasjonsrett.",disclaimerPartTwo:"Det tas forbehold om feil i annonsen. Bilen selges av en forhandler og dette medfører at du som kjøper har 5 års reklamasjonsrett mot skjulte feil og mangler. Reklamasjonsretten kan brukes dersom bilen er i dårligere stand enn du som kjøper har grunn til å forvente, basert på bilens alder, kjørelengde og informasjon du har fått fra selger. Reklamasjonsretten gjelder fra overlevering av bilen.",disclaimerReadMore:"Les mer om reklamasjonsrett på vårt hjelpesenter.",description:"Beskrivelse",information:"Informasjon",publicDataDisclaimer:"Flere av disse dataene hentes fra offentlige registre, så vi tar forbehold om feil.",bidList:"Budliste",openBidList:"Åpne budliste",bidListPlaceholder:"Her vil du kunne se alle bud som er lagt inn på dette objektet.",noBidsYet:"Ingen bud er lagt inn på dette objektet ennå.",bidListTable:{bidder:"Budgiver",amount:"Beløp",date:"Dato"}},jC={couldNotFindPage:"Kunne ikke finne siden!",home:"Hjem",showItems:"Vis objekter",itemNotFound:"Objektet finnes ikke eller så er den solgt.",otherItems:"Andre objekter"},HC={favorite:{title:"Legg til favoritt",description:"Vil du ha va varsling på e-post ved bud eller når objektet er klar for salg?",bid:"Bud",readyForSale:"Klar for salg",saveSuccess:"Denne ble lagret til profilen din som en favoritt.",saveError:"Det skjedde en uventet feil. Forsøk igjen senere."},subscription:{title:"Lagre søk",description:"Ja takk, varsle meg om nye treff på e-post.",saveSuccess:"Ditt søk ble lagret.",newSearch:"Nytt søk",editTitle:"Rediger favorittsøk"},searchPlaceholder:"Søkeord...",tryToChangeQuery:"Prøv å endre søkeordet",agent:"Oppdragsgiver",category:"Kategori",subCategory:"Underkategori",location:"Lokasjon",brand:"Merke",model:"Modell",drivetrain:"Drivlinje",driveTrain:"Drivlinje",fuelType:"Drivstoff",transmission:"Girkasse",year:"År",mileage:"Km",color:"Farge","4x4":"4x4",Foran:"Forhjulstrekk",Bak:"Bakhjulstrekk",Diesel:"Diesel",Bensin:"Bensin",Elektrisk:"Elektrisk",Automat:"Automat",Manuell:"Manuell",categories:{"Bygg og anlegg":"Bygg og anlegg",Båt:"Båt","Campingvogn / bobil":"Campingvogn / bobil",Kjøretøy:"Kjøretøy",Konkursbo:"Konkursbo","Landbruk/ Industriutstyr":"Landbruk/ Industriutstyr","Møbler / innbo / løsøre":"Møbler / innbo / løsøre","Tyngre kjøretøy":"Tyngre kjøretøy",Hittegods:"Hittegods",NRK:"NRK",Eiendom:"Eiendom"},subCategories:{Diverse:"Diverse",Lyd:"Lyd",Video:"Video",Lys:"Lys",Kamera:"Kamera",Semihenger:"Semihenger",Lassbærer:"Lassbærer",SUV:"SUV",ATV:"ATV",Kompaktgraver:"Kompaktgraver",Bekledning:"Bekledning","Smykker/Klokker/Briller":"Smykker/Klokker/Briller",Lastebil:"Lastebil",Traktor:"Traktor","Industri/produksjon":"Industri/produksjon",Måleutstyr:"Måleutstyr",Arbeidsbrakke:"Arbeidsbrakke",Borerigg:"Borerigg",Hjulgraver:"Hjulgraver",Hytte:"Hytte",Minigraver:"Minigraver",Slåmaskin:"Slåmaskin",Bobil:"Bobil",Veihøvel:"Veihøvel",Hjullaster:"Hjullaster",Henger:"Henger",Bilfrakter:"Bilfrakter",Skuff:"Skuff",Sjark:"Sjark",Gulvmaskin:"Gulvmaskin",Tilleggsutstyr:"Tilleggsutstyr",Lift:"Lift",Pickup:"Pickup",Valse:"Valse",Butikkinnredning:"Butikkinnredning",Annet:"Annet",Dumper:"Dumper",Feiemaskin:"Feiemaskin",Rundballpresse:"Rundballpresse",Behandlingsutstyr:"Behandlingsutstyr",Boreutstyr:"Boreutstyr","Sykkel/sparkesykkel":"Sykkel/sparkesykkel",Personbil:"Personbil",Treningsutstyr:"Treningsutstyr",Møbler:"Møbler","Fisk / skalldyr-foredling":"Fisk / skalldyr-foredling",Vogntog:"Vogntog","Tilleggsutstyr / tilbehør":"Tilleggsutstyr / tilbehør",Truck:"Truck",Kombi:"Kombi",Bil:"Bil",Motorsykkel:"Motorsykkel",Fritidsbåt:"Fritidsbåt",Veteran:"Veteran","Veteran Ferge":"Classic ferry",Boligrigg:"Boligrigg",Verktøy:"Verktøy",Beltegraver:"Beltegraver",Anlegg:"Anlegg",Moped:"Moped",Kjøkken:"Kjøkken",Container:"Container",Gravemaskin:"Gravemaskin",Skogsmaskin:"Skogsmaskin",Gjødselspreder:"Gjødselspreder",Kran:"Kran",Butikk:"Butikk",Snøscooter:"Snøscooter",Sykler:"Sykler",Stasjonsvogn:"Stasjonsvogn",Vannscooter:"Vannscooter",Containerbil:"Containerbil",Kompressor:"Kompressor",Trekkvogn:"Trekkvogn",Produksjonsutstyr:"Produksjonsutstyr",Kontorutstyr:"Kontorutstyr",Løsøre:"Løsøre",Doser:"Doser",Tråkkemaskin:"Tråkkemaskin",Traktorhenger:"Traktorhenger",Campingvogn:"Campingvogn",Varebil:"Varebil",Buss:"Buss",Sandspreder:"Sandspreder"},searchSaved:"Søk lagret",searchSave:"Lagre søk",editSearch:"Endre søk",closeFilter:"Lukk filter",show:"Vis",hits:"treff",readyForSale:"Klar for salg",showOnlyForToday:"Vis kun for i dag",noResultsFound:"Ingen resultater funnet. Prøv å endre søkekriteriene.",doYouWantNotification:"Ønsker du å få varsel når annonser som matcher søket ditt dukker opp?",chooseOrder:"Velg sortering",order:{rfsasc:"Avsluttes snart",itemdesc:"Nyeste først",priceasc:"Pris lav-høy",pricedesc:"Pris høy-lav",itemasc:"Eldste først"}},UC={menu:{myPage:"Min side",savedSearches:"Lagrede søk",myBidsAndPurchases:"Mine kjøp og bud",myCompanies:"Mine bedrifter",newCompany:"Ny bedrift",mySettings:"Mine innstillinger",new:"ny!",admin:"Admin",logout:"Logg ut",register:"Registrer",login:"Logg inn"},login:{title:"Logg inn på din konto",email:"E-post",yourEmail:"Din e-post",password:"Passord",yourPassword:"Ditt passord",rememberMe:"Husk meg",login:"Logg inn",forgotPassword:"Glemt passord?",noAccount:"Har du ikke en konto?",register:"Registrer deg"},register:{title:"Registrering av ny brukerkonto",firstAndLastName:"For- og etternavn",phoneNumber:"Telefonnummer",yourPhoneNumber:"Ditt telefonnummer",streetAddress:"Gateadresse",address:"Adresse",address2:"Adresse 2",zipCode:"Postkode",city:"Poststed / by",loginDetails:"Innloggingsdetaljer",yourEmail:"Din e-post",yourPassword:"Ditt passord",continue:"Fortsett..."},company:{title:"Ny bedrift",users:"Brukere",organizationNumber:"Organisasjonsnummer",companyName:"Firmanavn",column:{username:"Brukernavn",action:"Handling"},removeUserFromCompany:"Fjern bruker fra bedrift",addUserToCompany:"Legg til ny bruker",emailAddress:"E-postaddresse",roleUser:"Bruker",roleAdmin:"Admin",addUser:"Legg til bruker",companyAdded:"Bedrift opprettet",companyAddError:"En feil oppsto. Kunne ikke opprette bedrift.",cantDeleteYourself:"Du kan ikke slette deg selv."},profile:{title:"Min profil",description:"Hold profilen din oppdatert for beste opplevelse på Stadssalg!",notVerifiedWarning:"Du har enda ikke verifisert din e-post eller telefonnummer, så du vil ikke kunne få lagt inn bud før dette er gjennomført.",verifyEmail:"Verifiser din e-post",checkYourEmail:"Du har fått e-post! Bekreft e-posten din og oppdater denne siden.",checkYourEmailSpam:"Husk å sjekk spam-mappa i innboksen din.",section:{profile:"Profil",myCompanies:"Mine bedrifter",companies:"Mine bedrifter",shortcuts:"Snarveier"},firstAndLastName:"For- og etternavn",address:"Adresse",address1:"Adresse 1",address2:"Adresse 2",zipCode:"Postkode",city:"Poststed / by",email:"E-post",emailNotVerified:"E-posten din er ikke verifisert.",phoneNumber:"Telefonnummer",changePassword:"Jeg ønsker å endre passord",changeMyPassword:"Jeg ønsker å endre passord",dontChangeMyPassword:"Jeg ønsker ikke å endre passord likevel",newPassword:"Nytt passord",newPasswordRepeat:"Bekreft passord",confirmPassword:"Bekreft passord",currentPassword:"Nåværende passord",currentPasswordPlaceholder:"Skriv inn ditt nåværende passord",savePassword:"Lagre passord",country:"Land",companyUsers:"Brukere i bedriften",noCompanies:"Du har ingen bedrifter tilknyttet din profil.",logout:"Logg ut",updateProfile:"Oppdater profil",myCompanies:"Mine bedrifter",addCompany:"Legg til ny bedrift",myBids:"Mine bud",myBidsAndPurchases:"Mine kjøp og bud",changeEmail:"Endre e-post",newEmail:"Ny e-post",updateEmail:"Oppdater e-post",mySettings:"Mine innstillinger",new:"ny!",savedSearches:"Lagrede søk",customerService:"Kundeservice",youGotAnEmail:"Du har fått e-post! Bekreft e-posten din og oppdater denne siden.",emailVerified:"E-posten din er verifisert",profileUpdated:"Profilen din er oppdatert",emailUpdated:"E-posten din er oppdatert",passwordUpdated:"Passordet ditt er oppdatert"},bids:{title:"Mine kjøp og bud",purchases:"Mine kjøp",purchasesCount:"kjøp",activeBids:"Aktive bud",bidsCount:"bud",statusWon:"Vunnet",statusActive:"Aktivt bud",statusLabel:"Status",currentStatus:"Nåværende status",pickupDeadline:"Hentefrist",viewListing:"Se annonse",searchPlaceholder:"Søk her",showOnlyWon:"Vis kun kjøp",showOnlyCompanies:"Vis kun firma",showOnlyActive:"Vis kun aktive auksjoner",column:{bidId:"Bud ID",objectId:"Objekt ID",bidder:"Budgiver",company:"Bedrift",email:"E-post",phone:"Telefon",location:"Lokasjon",noAddress:"Ingen adresse oppført. Kontakt selger for mer informasjon.",processingTimeIs:"Behandlingstid er",processingTimeContact:"Vi kontakter deg når objektet er klart for henting.",noActiveBids:"Du har ingen aktive bud nå. Kanskje du må ta en titt i våre",noActiveBidsLink:"auksjoner",object:"Objekt",date:"Dato",bid:"Bud",auctionStatus:"Auksjonsstatus",auctionStatusActive:"Aktiv",auctionStatusEnded:"Avsluttet",bidWinner:"Budvinner"},status:{paymentReceived:"Betaling mottatt",paymentReceivedPending:"Betaling ikke mottatt",contractSigningStatus:"Kontrakt signert",contractSigningStatusPending:"Kontrakt ikke signert",checkedOut:"Utmeldt",checkedOutPending:"Ikke utmeldt",waitingForContract:"Venter på signert kontrakt",waitingForPayment:"Venter på innbetaling",processing:"Behandles av Stadssalg",readyForPickup:"Klar for henting",delivered:"Hentet",generatingContract:"Kontrakt genereres av Stadssalg",generatingInvoice:"Faktura genereres av Stadssalg",processingDescription:"Vi jobber med kjøpet ditt og tar kontakt hvis vi trenger mer informasjon. Du trenger ikke kontakte oss angående dette, da vi behandler alle kjøp så raskt som mulig.",step:{contractReady:"Kontrakt klar",signed:"Signert",invoiceReady:"Faktura klar",paid:"Betalt",pickup:"Klar for henting",delivered:"Hentet"}}},filters:{title:"Lagrede søk",noTitle:"Ingen tittel",column:{title:"Tittel",filters:"Søkefilter",quantity:"Antall",quantityTooltip:"Oppdateres hver morgen.",notification:"Varsel",actions:"Handlinger"},fields:{q:"Søkeord",category:"Kategori",subCategory:"Underkategori",readyForSaleOnly:"Klar for salg",readyForSaleTodayOnly:"Kun for i dag",sortBy:"Sorter etter",agent:"Oppdragsgiver",location:"Lokasjon"},noSavedSearches:"Du har ingen lagrede søk. Du kan lagre dine søk ved å klikke på 'Lagre søk' inne på ",auctions:"Auksjoner",deleteSavedSearch:"Slett lagret søk",deleteSavedSearchConfirm:"Er du sikker på at du vil slette dette søket?",deleteSavedSearchSuccess:"Det lagrede søket ble slettet"},settings:{readyForSaleNotificationDescription:"Varsel om auksjonsstart.<br /> Gjelder kun objekter du har lagt inn bud på.",readyForSaleNotificationSMS:"Motta varsel på SMS",readyForSaleNotificationEmail:"Motta varsel på e-post",overbidNotificationDescription:"Varsel hvis du blir overbydd.<br />Gjelder kun på objekter som er klare for salg og hvor du leder budrunden.",overbidNotificationSMS:"Motta varsel på SMS",overbidNotificationEmail:"Motta varsel på e-post",overbidNotificationMyCompanies:"Varsle overbud fra mine firma",defaultBidderProfile:"Forhåndsutfylt budgiverprofil.",defaultBidderProfilePlaceholder:"Legg inn bud på vegne av",newsletterAuctionsDescription:"Hold deg oppdatert med vårt nyhetsbrev!<br /><br />Hver dag sender vi ut en oversikt over auksjonene som skal megles i dag.",newsletterAuctions:"Motta dagens auksjoner på e-post",resetSettings:"Nullstill alle innstillinger",resetSettingsConfirm:"Er du sikker på at du vil nullstille alle innstillinger?",saved:"Innstillinger lagret"}},zC={index:{LASTBID:"SISTE BUD",READYFORSALE:"KLAR FOR SALG",PROMOTED_AUCTIONS:"PROMOTERTE AUKSJONER",seeAllOurAuctions:"Se alle våre auksjoner",searchPlaceholder:"Søk etter {query} eller en objekt-ID",search:"Søk",searchLabel:"Søk etter auksjoner"},widget:{box:{noBids:"Ingen bud",noBidsRegistered:"Ingen bud registrert",highestBid:"Høyeste bud",yourBid:"Ditt bud",youAreCurrentlyLeadingBidding:"Du leder budrunden akkurat nå!",noName:"Ingen navn",noImage:"Ingen bilde tilgjengelig",readyForSale:"Klar for salg",auctionDay:"Auksjonsdato",bid:"Bud"}}},WC={about:{},toa:{},employees:"Ansatte i Stadssalg",ourInfoPages:"Våre infosider"},qC={title:"Vedlikehold pågår",description:"Vi utfører for øyeblikket vedlikehold på nettsiden. Vennligst prøv igjen senere.",shortMessage:"Siden er under vedlikehold",apology:"Vi beklager ulempene dette måtte medføre."},VC={title:"Kundeservice",description:"Du kan løse de aller fleste problemer selv. Står du fast og trenger hjelp, kan du alltid ta kontakt med oss.",phone:"Telefon",email:"E-post",financing:"Finansiering",financingDescription:"Stadssalg tilbyr gode vilkår via våre samarbeidspartnere.<br /> Ta kontakt med oss for en uforpliktende prat på e-post <a href='mailto:salg{'@'}stadssalg.no'>salg{'@'}stadssalg.no</a><br /><br />",locations:"Lokasjoner",contactUs:"Kontakt oss",contactUsDescription:"Ring oss direkte eller send oss en e-post.<br /> Vi svarer deg så fort vi kan.",whoAreWe:"Hvem er vi?",whoAreWePartOne:"Stadssalg AS er et avviklingsselskap som driver med nettauksjon og har avdelinger i Bodø, Tromsø, Trondheim, Stavanger, Bergen, Grimstad og Oslo.",whoAreWePartTwo:"Vi selger flere tusen objekter årlig gjennom våre nettauksjoner.<br /><br />Våre oppdragsgivere er blant annet:",collab:{bank:"Bank",finance:"Finans",publicAgencies:"Offentlige etater",dca:"Inkassobyråer",lawyers:"Advokater/bostyre"},faq:{title:"Hva trenger du hjelp til i dag?",contactHint:"Finner du ikke det du lurer på? Ingen problem.",contactUs:"Ta kontakt med oss",faq:"Ofte stilte spørsmål",howToBid:"Hvordan fungerer budsystemet?",howToBidAnswer:`På Stadssalg.no så har vi nettauksjoner som ikke er som alle andre nettauksjoner.
Hvis du ønsker å være med i en budrunde så må du registrere en bruker og legge inn et bud på objektet du er interessert i.

 Den dagen objektet skal selges så vil du motta en SMS. <strong>Salgene avsluttes fortløpende fra klokken 10 og utover arbeidsdagen</strong> og innspurten går per telefon.  

Er du fortsatt interessert så responderer du med å legge inn bud. Så vil du etter hvert motta en hyggelig telefon fra en av våre selgere som megler auksjonen manuelt. Man kan sammenligne det med når man kjøper eiendom via en eiendomsmegler. Våre selgere fortsetter å megle budrunden til man sitter igjen med en budvinner. 

 Dette gjør at vi har muligheten til å avklare eventuelle spørsmål dere som kjøpere måtte ha, direkte med dere. I tillegg så slipper kundene våre å sitte og følge med på en skjerm hele dagen i frykt for å gå glipp av en auksjon.`,whatTime:"Når på dagen blir objektet solgt?",whatTimeAnswer:`Auksjonene varer til man sitter igjen med en budvinner. 
Det er forskjellig antall budgivere på objektene, vi kan derfor ikke gi et eksakt klokkeslett for når man er ferdig. 

De avsluttes fra kl 10.00 og utover arbeidsdagen. Auksjonene vil alltid være ferdig på den datoen som er satt.`,whenPickup:"Når kan jeg hente objektet?",whenPickupAnswer:`Etter man har signert kjøpekontrakt, betalt faktura og godkjent eierskifte (kjøretøy), så må man vente på en epost hvor man får utleveringsbevis. 

Vi gjør oppmerksom på at det kan ta opptil to dager fra betalingen er gjennomført hos deg til vi får den innregistrert i våre systemer. 

Utlevering av objekt skjer når signerte dokumenter, kopi av legitimasjon, innbetaling er på konto hos oss og eierskifte er godkjent av begge parter. 

Ny eier blir varslet pr. mail eller sms når det er klart for henting. Dersom ny eier ordner med henting før slik melding er mottatt, er dette på egen risiko og kostnad.`,whenReadyForSale:"Når er den klar for salg?",whenReadyForSaleAnswer:`Objektene vi selger på Stadssalg kommer inn til oss av mange forskjellige årsaker. 

I den forbindelse så må det avklares at vi har alle nødvendige tillatelser og dokumenter som trengs for å gjennomføre et salg. 

Dette krever også enkelte ganger at vi må vente på offentlig etater eller andre selskaper. Derfor vet vi ikke akkurat når objektene vil være klare for salg. Vi følger opp våre oppdragsgivere hver dag. 

 Vi oppfordrer alle kundene våre til å raskt legge inn bud på de objektene de er interessert i. Da vil de motta en e-post og SMS når objektet er klart for å bli solgt.`,canIVisit:"Kan jeg komme og se på et objekt?",canIVisitAnswer:`Vi tar gjerne mot besøk av kunder som vil se på objektene vi har til salgs. 

Det eneste man må gjøre er å avtale tid i forkant. Av personvernhensyn så går vi sammen med dere når dere er hos oss og da ønsker vi å sette av tid til å gi dere en god opplevelse. 

Dette passer ikke alltid så derfor er det viktig at man avtaler tid i forkant. Ta direkte kontakt med lokasjonen du ønsker å besøke så vil de hjelpe deg.`,doIGetNotification:"Får jeg varsel på når et objekt blir klart for salg?",doIGetNotificationAnswer:"Ja, dersom du har gitt bud på objektet det gjelder, vil du få en varsel på e-post og sms når klar for salg-dato blir satt."}},YC={general:NC,role:DC,app:PC,item:FC,error:jC,items:HC,user:UC,home:zC,info:WC,maintenance:qC,helpCenter:VC},GC={followUs:"Follow us",certifications:"Certifications",address:"Address",false:"No",true:"Yes",yes:"Yes",no:"No",edit:"Edit",delete:"Delete",save:"Save",cancel:"Cancel",remove:"Remove",close:"Close",open:"Open",error:"Error",areYouSure:"Are you sure?",accessDenied:"Access denied",fieldRequired:"This field is required",accept:"Accept",motd:{xmasOpeningHours:"We have limited opening hours during the holiday period between Christmas and New Year's from",merryXmas:"We wish all our customers a very Merry Christmas and a Happy New Year from all of us at Stadssalg :-)"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},numberToWords:{0:"zero",1:"one",2:"two",3:"three",4:"four",5:"five",6:"six",7:"seven",8:"eight",9:"nine",10:"ten",11:"eleven",12:"twelve",13:"thirteen",14:"fourteen",15:"fifteen",16:"sixteen",17:"seventeen",18:"eighteen",19:"nineteen",20:"twenty",30:"thirty",40:"forty",50:"fifty",60:"sixty",70:"seventy",80:"eighty",90:"ninety",units:{hundre:"hundred",tusen:"thousand",million:"million",milliard:"billion",billion:"trillion",kvadrillion:"quadrillion",kvintillion:"quintillion",sextillion:"sextillion",septillion:"septillion",oktillion:"octillion",nonillion:"nonillion",desillion:"decillion",undesillion:"undecillion",dodesillion:"duodecillion",tredesillion:"tredecillion",kvattordesillion:"quattuordecillion",kvindesillion:"quindecillion"}}},KC={admin:"Admin",user:"User"},XC={newSearch:"New search...",weUseCookies:"We use cookies!",weUseCookiesDescription:"Stadssalg.no uses cookies to improve your user experience. A cookie is a small text file stored in your browser that allows us to remember you when you visit the site again. You can change your cookie settings in your browser, but this may affect how the website works. <button type='button' data-cc='c-settings' class='cc-link'>Let me choose</button>",cookieAcceptAll:"Accept all",cookieRejectAll:"Reject all",cookieSettings:"Cookie settings",cookieClose:"Close",cookieUseTitle:"Use of cookies",cookieUseDescription:"On this website, we use cookies to improve your user experience. A cookie is a small text file stored in your browser that allows us to remember you when you visit the site again. You can choose which cookies you want to allow. For more information, read <a href='https://www.stadssalg.no/info/privacy' class='cc-link'>our terms</a>.",cookieNecessaryTitle:"Necessary cookies",cookieNecessaryDescription:"Necessary cookies help make our website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function optimally without these cookies.",cookieTargetingTitle:"Advertising and targeting cookies",cookieTargetingDescription:"These cookies collect information about how you use the website, which pages you have visited and which links you have clicked on. All data is anonymized and cannot be used to identify you.",cookieMoreInfoTitle:"More information",cookieMoreInfoDescription:"For questions, please <a class='cc-link' href='mailto:sporsmal{'@'}stadssalg.no'>contact us</a>.",links:{auctions:"Auctions",shortcuts:"Quick Links",helpCenter:"Customer Service",transparencyAct:"Transparency Act",privacyPolicy:"Privacy Policy",termsOfUse:"Auction System and Terms"}},JC={missingEmail:"Your email address is missing.",missingPhoneNumber:"Your phone number is missing.",exclusive:"Exclusive sale object for approved dealers.",sms:"SMS",email:"Email",couldNotLoadItem:"We were unable to load this item.",tip:"Tip",iFoundThis:"I found this on",shareOnFacebook:"Share on Facebook",shareOnTwitter:"Share on Twitter",youWonThisItem:"Congratulations, you have won this item!",seeMoreInfo:"See more info below",seeMoreInfoLink:"My purchases and bids",itemNotReadyForSale:"The item is not ready for sale yet, but bids can be placed.",getNotificationOn:"You will receive a notification on",getNotificationOnWhen:"when the item is ready for sale.",getNotificationNone:"You will not receive a notification when the item is ready for sale.",manageYourNotifications:"Manage your notifications",readyForSale:"Ready for sale",technicalData:{"Antall aksler":"Number of axles",Batteristørrelse:"Battery size",Drift:"Drive","EU-kontroll":"EU inspection",Farge:"Color",Kjøretøygruppe:"Vehicle group","Maksvekt tilh. m. brems":"Maximum trailer weight with brakes",Motorstørrelse:"Engine size",Servicehefte:"Service history",Understellsnummer:"Chassis number","Antall aksler med drift":"Number of driven axles",Drivstoff:"Fuel",Effekt:"Power",Girkasse:"Gearbox","Km-stand":"Mileage",Merkenavn:"Brand name","Siste service":"Last service date",Registreringsår:"Year of registration",Seter:"Seats",Bruktimport:"Used import","EU-godkjent":"EU approved",Egenvekt:"Curb weight",Karosseritype:"Body type","Maks nyttelast":"Maximum payload",Modell:"Model","Registrert første gang i Norge":"First registered in Norway","Tillatt totalvekt":"Permitted total weight",values:{Ja:"Yes",Nei:"No",Automat:"Automatic",Rød:"Red",Hvit:"White",Svart:"Black",Grå:"Gray",Blå:"Blue",Grønn:"Green",Gul:"Yellow",Sølv:"Silver",Beige:"Beige",Brun:"Brown",Oransje:"Orange",Lilla:"Purple",Rosa:"Pink",Annet:"Other",Bensin:"Gasoline",Diesel:"Diesel",Hybrid:"Hybrid",Elektrisitet:"Electricity",Elektrisk:"Electric"}},equipment:"Equipment",expenses:"Expenses",expensesTotal:"Total expenses",noExpenses:"No expenses registered",documents:"Important documents",noDocuments:"The object does not have any documents",map:"Map",highestBid:"Highest bid",youAreCurrentlyLeading:"You are currently leading the bidding!",yourBid:"Your bid",minBid:"Minimum bid",minBidIncrement:"Minimum bid increment",vat:"VAT",vatIncluded:"VAT applies",vatNone:"VAT-free",adminCommission:"Admin fee",ofBidAmount:"of bid amount",min:"min",max:"max",giveBid:"Place bid",verifyEmailToBid:"Verify your email address to place a bid.",addValidPhoneNumberToBid:"Add a valid phone number to your profile to place a bid.",loginToBid:"You are not logged in, so you cannot place a bid.",openMyProfile:"Open my profile",login:"Login",giveBidBehalf:"Place bid on behalf of",changeBidderProfile:"Change default bidder profile",youAreDeniedToBid:"You are banned from bidding.",minBidUpdated:"The minimum bid has been updated because a new higher bid has been placed.",terms:"terms",makeBid:"Place bid!",bindingBidQuestion:"Do you want to place a binding bid on",overview:"Overview",norwegianKroner:"Norwegian kroner",bidCorrectQuestion:"Is your bid correct?",youCantChangeBid:"You cannot change it afterwards.",bidError:"An error occurred. Bid not accepted.",year:"Model year",mileage:"Mileage",transmission:"Transmission",fuelType:"Fuel type",location:"Location",disclaimerPartOne:"The car is not sold with a 5-year warranty.",disclaimerPartTwo:"Errors in the advertisement are reserved. The car is sold by a dealer, which means that as a buyer you have a 5-year warranty against hidden defects. This warranty applies if the car is in worse condition than you as a buyer have reason to expect, based on the car's age, mileage, and the information provided by the seller. The warranty is valid from the time of delivery of the car.",disclaimerReadMore:"Read more about the warranty on our help center.",description:"Description",information:"Information",publicDataDisclaimer:"Some of this data is retrieved from public records, so errors are reserved.",bidList:"Bid List",openBidList:"Open Bid List",bidListPlaceholder:"Here you will be able to see all bids placed on this item.",noBidsYet:"No bids have been placed on this item yet.",bidListTable:{bidder:"Bidder",amount:"Amount",date:"Date"}},ZC={couldNotFindPage:"Could not find the page!",home:"Home",showItems:"Show items",itemNotFound:"The item does not exist or has been sold.",otherItems:"Other items"},QC={favorite:{title:"Add to favorites",description:"Would you like to receive email notifications for bids or when the item is ready for sale?",bid:"Bid",readyForSale:"Ready for sale",saveSuccess:"This has been saved to your profile as a favorite.",saveError:"An unexpected error occurred. Please try again later."},subscription:{title:"Save search",description:"Yes, please notify me about new matches via email.",saveSuccess:"Your search was saved.",newSearch:"New search",editTitle:"Edit saved search"},searchPlaceholder:"Search keyword...",tryToChangeQuery:"Try changing the keyword",agent:"Agent",category:"Category",subCategory:"Subcategory",location:"Location",brand:"Brand",model:"Model",drivetrain:"Drivetrain",driveTrain:"Drivetrain",fuelType:"Fuel type",transmission:"Transmission",year:"Year",mileage:"Mileage",color:"Color","4x4":"4x4",Foran:"Front-wheel drive",Bak:"Rear-wheel drive",Diesel:"Diesel",Bensin:"Gasoline",Elektrisk:"Electric",Automat:"Automatic",Manuell:"Manual",categories:{"Bygg og anlegg":"Construction and building",Båt:"Boat","Campingvogn / bobil":"Caravan / motorhome",Kjøretøy:"Vehicle",Konkursbo:"Bankruptcy estate","Landbruk/ Industriutstyr":"Agriculture / industrial equipment","Møbler / innbo / løsøre":"Furniture / household items / chattels","Tyngre kjøretøy":"Heavy vehicles",Hittegods:"Lost and found",NRK:"NRK",Eiendom:"Real estate"},subCategories:{Semihenger:"Semi-trailer",Lassbærer:"Forwarder",SUV:"SUV",ATV:"ATV",Kompaktgraver:"Compact excavator",Bekledning:"Clothing","Smykker/Klokker/Briller":"Jewelry/Watches/Glasses",Lastebil:"Truck",Traktor:"Tractor","Industri/produksjon":"Industry/Production",Måleutstyr:"Measuring equipment",Arbeidsbrakke:"Work cabin",Borerigg:"Drilling rig",Hjulgraver:"Wheeled excavator",Hytte:"Cabin",Minigraver:"Mini excavator",Slåmaskin:"Mower",Bobil:"Motorhome",Veihøvel:"Road grader",Hjullaster:"Wheel loader",Henger:"Trailer",Bilfrakter:"Car transporter",Skuff:"Bucket",Sjark:"Fishing boat",Gulvmaskin:"Floor machine",Tilleggsutstyr:"Accessories",Lift:"Lift",Pickup:"Pickup",Valse:"Roller",Butikkinnredning:"Shop fittings",Annet:"Other",Dumper:"Dump truck",Feiemaskin:"Sweeper",Rundballpresse:"Round baler",Behandlingsutstyr:"Processing equipment",Boreutstyr:"Drilling equipment","Sykkel/sparkesykkel":"Bike/Scooter",Personbil:"Passenger car",Treningsutstyr:"Training equipment",Møbler:"Furniture","Fisk / skalldyr-foredling":"Fish/Seafood processing",Vogntog:"Truck and trailer","Tilleggsutstyr / tilbehør":"Accessories/Attachments",Truck:"Forklift",Kombi:"Combi",Bil:"Car",Motorsykkel:"Motorcycle",Fritidsbåt:"Leisure boat",Veteran:"Classic car","Veteran Ferge":"Classic ferry",Boligrigg:"Housing rig",Verktøy:"Tools",Beltegraver:"Crawler excavator",Anlegg:"Construction",Moped:"Moped",Kjøkken:"Kitchen",Container:"Container",Gravemaskin:"Excavator",Skogsmaskin:"Forestry machine",Gjødselspreder:"Fertilizer spreader",Kran:"Crane",Butikk:"Shop",Snøscooter:"Snowmobile",Sykler:"Bicycles",Stasjonsvogn:"Station wagon",Vannscooter:"Jet ski",Containerbil:"Container truck",Kompressor:"Compressor",Trekkvogn:"Tractor unit",Produksjonsutstyr:"Production equipment",Kontorutstyr:"Office equipment",Løsøre:"Loose goods",Doser:"Bulldozer",Tråkkemaskin:"Snow groomer",Traktorhenger:"Tractor trailer",Campingvogn:"Caravan",Varebil:"Van",Buss:"Bus",Sandspreder:"Sand spreader"},searchSaved:"Search saved",searchSave:"Save search",editSearch:"Edit search",closeFilter:"Close filter",show:"Show",hits:"hits",readyForSale:"Ready for sale",showOnlyForToday:"Show only for today",noResultsFound:"No results found. Try changing the search criteria.",doYouWantNotification:"Do you want to receive a notification when ads matching your search appear?",chooseOrder:"Choose sorting",order:{rfsasc:"Ending soon",itemdesc:"Newest first",priceasc:"Price low-high",pricedesc:"Price high-low",itemasc:"Oldest first"}},ex={menu:{myPage:"My page",savedSearches:"Saved searches",myBidsAndPurchases:"My purchases and bids",myCompanies:"My companies",newCompany:"New company",mySettings:"My settings",new:"new!",admin:"Admin",logout:"Log out",register:"Register",login:"Log in"},login:{title:"Log into your account",email:"Email",yourEmail:"Your email",password:"Password",yourPassword:"Your password",rememberMe:"Remember me",login:"Log in",forgotPassword:"Forgot password?",noAccount:"Don't have an account?",register:"Register"},register:{title:"Create an account",firstAndLastName:"First and last name",phoneNumber:"Phone number",yourPhoneNumber:"Your phone number",streetAddress:"Street address",address:"Address",address2:"Address 2",zipCode:"Zip code",city:"City",loginDetails:"Login details",yourEmail:"Your email",yourPassword:"Your password",continue:"Continue..."},company:{title:"New company",users:"Users",organizationNumber:"Organization number",companyName:"Company name",column:{username:"Username",action:"Action"},removeUserFromCompany:"Remove user from company",addUserToCompany:"Add new user",emailAddress:"Email address",roleUser:"User",roleAdmin:"Admin",addUser:"Add user",companyAdded:"Company created",companyAddError:"An error occurred. Could not create company.",cantDeleteYourself:"You cannot delete yourself."},profile:{title:"My Profile",description:"Keep your profile updated for the best experience on Stadssalg!",notVerifiedWarning:"You have not yet verified your email or phone number, so you will not be able to place bids until this is completed.",verifyEmail:"Verify your email",checkYourEmail:"You've got mail! Confirm your email and refresh this page.",checkYourEmailSpam:"Remember to check the spam folder in your inbox.",section:{profile:"Profile",myCompanies:"My Companies",companies:"My Companies",shortcuts:"Quick Links"},firstAndLastName:"First and Last Name",address:"Address",address1:"Address 1",address2:"Address 2",zipCode:"Zip Code",city:"City",email:"Email",emailNotVerified:"Your email is not verified.",phoneNumber:"Phone Number",changePassword:"I want to change my password",changeMyPassword:"I want to change my password",dontChangeMyPassword:"I don't want to change my password after all",newPassword:"New Password",newPasswordRepeat:"Confirm Password",confirmPassword:"Confirm Password",currentPassword:"Current Password",currentPasswordPlaceholder:"Enter your current password",savePassword:"Save Password",country:"Country",companyUsers:"Company Users",noCompanies:"You have no companies linked to your profile.",logout:"Log out",updateProfile:"Update Profile",myCompanies:"My Companies",addCompany:"Add New Company",myBids:"My Bids",myBidsAndPurchases:"My Purchases and Bids",changeEmail:"Change Email",newEmail:"New Email",updateEmail:"Update Email",mySettings:"My Settings",new:"new!",savedSearches:"Saved Searches",customerService:"Customer Service",youGotAnEmail:"You've got mail! Confirm your email and refresh this page.",emailVerified:"Your email is verified",profileUpdated:"Your profile has been updated",emailUpdated:"Your email has been updated",passwordUpdated:"Your password has been updated"},bids:{title:"My Purchases and Bids",purchases:"My Purchases",purchasesCount:"purchases",activeBids:"Active Bids",bidsCount:"bids",statusWon:"Won",statusActive:"Active bid",statusLabel:"Status",currentStatus:"Current status",pickupDeadline:"Pickup deadline",viewListing:"View listing",searchPlaceholder:"Search here",showOnlyWon:"Show only purchases",showOnlyCompanies:"Show only companies",showOnlyActive:"Show only active auctions",column:{bidId:"Bid ID",objectId:"Object ID",bidder:"Bidder",company:"Company",email:"Email",phone:"Phone",location:"Location",noAddress:"No address listed. Contact the seller for more information.",processingTimeIs:"Processing time is",processingTimeContact:"We will contact you when the item is ready for pickup.",noActiveBids:"You currently have no active bids. Maybe take a look at our",noActiveBidsLink:"auctions",object:"Object",date:"Date",bid:"Bid",auctionStatus:"Auction status",auctionStatusActive:"Active",auctionStatusEnded:"Ended",bidWinner:"Winning bid"},status:{paymentReceived:"Payment received",paymentReceivedPending:"Payment not received",contractSigningStatus:"Contract signed",contractSigningStatusPending:"Contract not signed",checkedOut:"Checked out",checkedOutPending:"Not checked out",waitingForContract:"Waiting for signed contract",waitingForPayment:"Waiting for payment",processing:"Processing by Stadssalg",readyForPickup:"Ready for pickup",delivered:"Picked up",generatingContract:"Contract is being generated by Stadssalg",generatingInvoice:"Invoice is being generated by Stadssalg",processingDescription:"We are working on your purchase and will contact you if we need more information. There is no need to contact us regarding this, as we process all purchases as quickly as possible.",step:{contractReady:"Contract ready",signed:"Signed",invoiceReady:"Invoice ready",paid:"Paid",pickup:"Ready for pickup",delivered:"Picked up"}}},filters:{title:"Saved searches",noTitle:"No title",column:{title:"Title",filters:"Search filters",quantity:"Quantity",quantityTooltip:"Updated every morning.",notification:"Notification",actions:"Actions"},fields:{q:"Search keyword",category:"Category",subCategory:"Sub category",readyForSaleOnly:"Ready for sale",readyForSaleTodayOnly:"Ready for sale today",sortBy:"Sort by",agent:"Agent",location:"Location"},noSavedSearches:"You have no saved searches. You can save searches by clicking 'Save search' on ",auctions:"Auctions",deleteSavedSearch:"Delete saved search",deleteSavedSearchConfirm:"Are you sure you want to delete this search?",deleteSavedSearchSuccess:"The saved search was deleted"},settings:{readyForSaleNotificationDescription:"Notification of auction start.<br /> Only applies to items you have placed bids on.",readyForSaleNotificationSMS:"Receive notification via SMS",readyForSaleNotificationEmail:"Receive notification via email",overbidNotificationDescription:"Notification if you are outbid.<br />Applies only to items ready for sale where you are leading the bidding.",overbidNotificationSMS:"Receive notification via SMS",overbidNotificationEmail:"Receive notification via email",overbidNotificationMyCompanies:"Notify overbids from my companies",defaultBidderProfile:"Pre-filled bidder profile.",defaultBidderProfilePlaceholder:"Place bid on behalf of",newsletterAuctionsDescription:"Stay updated with our newsletter!<br /><br />Every day we send out an overview of the auctions taking place today.",newsletterAuctions:"Receive today's auctions via email",resetSettings:"Reset all settings",resetSettingsConfirm:"Are you sure you want to reset all settings?",saved:"Settings saved"}},tx={index:{LASTBID:"LAST BID",READYFORSALE:"READY FOR SALE",PROMOTED_AUCTIONS:"PROMOTED AUCTIONS",seeAllOurAuctions:"See all our auctions",searchPlaceholder:"Search for {query} or an object ID",search:"Search",searchLabel:"Search for auctions"},widget:{box:{noBids:"No bids",noBidsRegistered:"No bids registered",highestBid:"Highest bid",yourBid:"Your bid",youAreCurrentlyLeadingBidding:"You are currently leading the bidding!",noName:"No name",noImage:"No image available",readyForSale:"Ready for sale",auctionDay:"Auction date",bid:"Bid"}}},rx={about:{},toa:{},employees:"Stadssalg Employees",ourInfoPages:"Our Info Pages"},ox={title:"Maintenance in Progress",description:"We are currently performing maintenance on the website. Please try again later.",shortMessage:"Site under maintenance",apology:"We apologize for any inconvenience this may cause."},nx={title:"Customer Service",description:"You can solve most problems yourself. If you're stuck and need help, you can always contact us.",phone:"Phone",email:"Email",financing:"Financing",financingDescription:"Stadssalg offers favorable terms via our partners.<br /> Contact us for a no-obligation chat via email at <a href='mailto:salg{'@'}stadssalg.no'>salg{'@'}stadssalg.no</a><br /><br />",locations:"Locations",contactUs:"Contact us",contactUsDescription:"Call us directly or send us an email.<br /> We will respond as soon as possible.",whoAreWe:"Who are we?",whoAreWePartOne:"Stadssalg AS is a liquidation company operating online auctions with branches in Bodø, Tromsø, Trondheim, Stavanger, Bergen, Grimstad, and Oslo.",whoAreWePartTwo:"We sell thousands of items annually through our online auctions.<br /><br />Our clients include:",collab:{bank:"Bank",finance:"Finance",publicAgencies:"Public agencies",dca:"Debt collection agencies",lawyers:"Lawyers/trustees"},faq:{title:"What do you need help with today?",contactHint:"Can't find what you're looking for? No problem.",contactUs:"Contact us",faq:"Frequently asked questions",howToBid:"How does the bidding system work?",howToBidAnswer:`At Stadssalg.no, our online auctions are different from traditional ones.
To participate in a bidding round, you must register as a user and place a bid on the item you're interested in.

On the day the item is up for sale, you will receive an SMS. <strong>Sales close continuously from 10 AM onwards during the workday</strong>, with the final phase conducted over the phone.

If you are still interested, you respond by placing a bid. You will then receive a friendly call from one of our sellers who will manually facilitate the auction. This can be compared to purchasing real estate through a real estate agent. Our sellers continue the bidding process until there is one winning bidder.

This approach allows us to directly address any questions you may have as a buyer. Additionally, our customers don't need to sit and monitor a screen all day for fear of missing an auction.`,whatTime:"What time will the item be sold?",whatTimeAnswer:`The auctions last until there is one winning bidder.
The number of bidders varies per item, so we cannot provide an exact time for completion.

Sales close from 10:00 AM onwards during the workday. The auctions will always finish on the date specified.`,whenPickup:"When can I pick up the item?",whenPickupAnswer:`After signing the purchase contract, paying the invoice, and approving the ownership transfer (for vehicles), you must wait for an email with a pickup certificate.

Please note that it may take up to two days from the time payment is made until it is registered in our systems.

The item will be released once signed documents, a copy of identification, payment is received in our account, and ownership transfer is approved by both parties.

The new owner will be notified via email or SMS when the item is ready for pickup. If the new owner arranges pickup before receiving such notification, it is done at their own risk and expense.`,whenReadyForSale:"When will it be ready for sale?",whenReadyForSaleAnswer:`The items we sell at Stadssalg come to us for various reasons.

We must ensure that we have all necessary permits and documents required to complete the sale.

This sometimes requires waiting for public agencies or other companies. As such, we cannot provide an exact date when items will be ready for sale. We follow up with our clients daily.

We encourage all our customers to quickly place bids on the items they are interested in. This way, they will receive an email and SMS when the item is ready for sale.`,canIVisit:"Can I visit and view an item?",canIVisitAnswer:`We welcome customers who want to view the items we have for sale.

You only need to schedule an appointment in advance. For privacy reasons, we will accompany you during your visit, so we want to allocate time to give you a good experience.

This is not always feasible, so it is important to schedule an appointment in advance. Contact the location you wish to visit directly, and they will assist you.`,doIGetNotification:"Will I be notified when an item is ready for sale?",doIGetNotificationAnswer:"Yes, if you have placed a bid on the relevant item, you will receive a notification via email and SMS when the ready-for-sale date is set."}},ix={general:GC,role:KC,app:XC,item:JC,error:ZC,items:QC,user:ex,home:tx,info:rx,maintenance:ox,helpCenter:nx},qs=["no","en"],sx=()=>{const e=window.location.pathname.split("/")[1];if(qs.includes(e))return e;const t=localStorage.getItem("appLanguage");return t&&qs.includes(t)?t:"no"},Tp=og({legacy:!1,locale:sx(),fallbackLocale:"no",messages:{no:YC,en:ix}}),dd=e=>{qs.includes(e)&&(Tp.global.locale.value=e,localStorage.setItem("appLanguage",e),document.documentElement.lang=e)},ax={apiKey:"AIzaSyBmogT7XyHhs0MG_FG4VctZLhcn1MfR5Uc",authDomain:"stadssalg-prod.firebaseapp.com",databaseURL:"https://stadssalg-prod.firebaseio.com",projectId:"stadssalg-prod",storageBucket:"stadssalg-prod.appspot.com",messagingSenderId:"552104885542",appId:"1:552104885542:web:ea92c6f6c66f23b6dad5e7"},Rp=ng(ax),mt=ig(Rp),uD=sg(Rp);function Ip(e,t){return function(){return e.apply(t,arguments)}}const{toString:cx}=Object.prototype,{getPrototypeOf:Xa}=Object,{iterator:Ri,toStringTag:Bp}=Symbol,Ii=(e=>t=>{const r=cx.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),bt=e=>(e=e.toLowerCase(),t=>Ii(t)===e),Bi=e=>t=>typeof t===e,{isArray:fo}=Array,eo=Bi("undefined");function tn(e){return e!==null&&!eo(e)&&e.constructor!==null&&!eo(e.constructor)&&Je(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Ap=bt("ArrayBuffer");function lx(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Ap(e.buffer),t}const dx=Bi("string"),Je=Bi("function"),Mp=Bi("number"),rn=e=>e!==null&&typeof e=="object",ux=e=>e===!0||e===!1,Dn=e=>{if(Ii(e)!=="object")return!1;const t=Xa(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Bp in e)&&!(Ri in e)},fx=e=>{if(!rn(e)||tn(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},px=bt("Date"),mx=bt("File"),gx=bt("Blob"),hx=bt("FileList"),bx=e=>rn(e)&&Je(e.pipe),yx=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Je(e.append)&&((t=Ii(e))==="formdata"||t==="object"&&Je(e.toString)&&e.toString()==="[object FormData]"))},vx=bt("URLSearchParams"),[kx,_x,Sx,wx]=["ReadableStream","Request","Response","Headers"].map(bt),Ex=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function on(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let o,n;if(typeof e!="object"&&(e=[e]),fo(e))for(o=0,n=e.length;o<n;o++)t.call(null,e[o],o,e);else{if(tn(e))return;const i=r?Object.getOwnPropertyNames(e):Object.keys(e),s=i.length;let a;for(o=0;o<s;o++)a=i[o],t.call(null,e[a],a,e)}}function $p(e,t){if(tn(e))return null;t=t.toLowerCase();const r=Object.keys(e);let o=r.length,n;for(;o-- >0;)if(n=r[o],t===n.toLowerCase())return n;return null}const pr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Op=e=>!eo(e)&&e!==pr;function Vs(){const{caseless:e,skipUndefined:t}=Op(this)&&this||{},r={},o=(n,i)=>{const s=e&&$p(r,i)||i;Dn(r[s])&&Dn(n)?r[s]=Vs(r[s],n):Dn(n)?r[s]=Vs({},n):fo(n)?r[s]=n.slice():(!t||!eo(n))&&(r[s]=n)};for(let n=0,i=arguments.length;n<i;n++)arguments[n]&&on(arguments[n],o);return r}const Cx=(e,t,r,{allOwnKeys:o}={})=>(on(t,(n,i)=>{r&&Je(n)?e[i]=Ip(n,r):e[i]=n},{allOwnKeys:o}),e),xx=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Tx=(e,t,r,o)=>{e.prototype=Object.create(t.prototype,o),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},Rx=(e,t,r,o)=>{let n,i,s;const a={};if(t=t||{},e==null)return t;do{for(n=Object.getOwnPropertyNames(e),i=n.length;i-- >0;)s=n[i],(!o||o(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=r!==!1&&Xa(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},Ix=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const o=e.indexOf(t,r);return o!==-1&&o===r},Bx=e=>{if(!e)return null;if(fo(e))return e;let t=e.length;if(!Mp(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Ax=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Xa(Uint8Array)),Mx=(e,t)=>{const o=(e&&e[Ri]).call(e);let n;for(;(n=o.next())&&!n.done;){const i=n.value;t.call(e,i[0],i[1])}},$x=(e,t)=>{let r;const o=[];for(;(r=e.exec(t))!==null;)o.push(r);return o},Ox=bt("HTMLFormElement"),Lx=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,o,n){return o.toUpperCase()+n}),ud=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Nx=bt("RegExp"),Lp=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),o={};on(r,(n,i)=>{let s;(s=t(n,i,e))!==!1&&(o[i]=s||n)}),Object.defineProperties(e,o)},Dx=e=>{Lp(e,(t,r)=>{if(Je(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const o=e[r];if(Je(o)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},Px=(e,t)=>{const r={},o=n=>{n.forEach(i=>{r[i]=!0})};return fo(e)?o(e):o(String(e).split(t)),r},Fx=()=>{},jx=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Hx(e){return!!(e&&Je(e.append)&&e[Bp]==="FormData"&&e[Ri])}const Ux=e=>{const t=new Array(10),r=(o,n)=>{if(rn(o)){if(t.indexOf(o)>=0)return;if(tn(o))return o;if(!("toJSON"in o)){t[n]=o;const i=fo(o)?[]:{};return on(o,(s,a)=>{const c=r(s,n+1);!eo(c)&&(i[a]=c)}),t[n]=void 0,i}}return o};return r(e,0)},zx=bt("AsyncFunction"),Wx=e=>e&&(rn(e)||Je(e))&&Je(e.then)&&Je(e.catch),Np=((e,t)=>e?setImmediate:t?((r,o)=>(pr.addEventListener("message",({source:n,data:i})=>{n===pr&&i===r&&o.length&&o.shift()()},!1),n=>{o.push(n),pr.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Je(pr.postMessage)),qx=typeof queueMicrotask<"u"?queueMicrotask.bind(pr):typeof process<"u"&&process.nextTick||Np,Vx=e=>e!=null&&Je(e[Ri]),y={isArray:fo,isArrayBuffer:Ap,isBuffer:tn,isFormData:yx,isArrayBufferView:lx,isString:dx,isNumber:Mp,isBoolean:ux,isObject:rn,isPlainObject:Dn,isEmptyObject:fx,isReadableStream:kx,isRequest:_x,isResponse:Sx,isHeaders:wx,isUndefined:eo,isDate:px,isFile:mx,isBlob:gx,isRegExp:Nx,isFunction:Je,isStream:bx,isURLSearchParams:vx,isTypedArray:Ax,isFileList:hx,forEach:on,merge:Vs,extend:Cx,trim:Ex,stripBOM:xx,inherits:Tx,toFlatObject:Rx,kindOf:Ii,kindOfTest:bt,endsWith:Ix,toArray:Bx,forEachEntry:Mx,matchAll:$x,isHTMLForm:Ox,hasOwnProperty:ud,hasOwnProp:ud,reduceDescriptors:Lp,freezeMethods:Dx,toObjectSet:Px,toCamelCase:Lx,noop:Fx,toFiniteNumber:jx,findKey:$p,global:pr,isContextDefined:Op,isSpecCompliantForm:Hx,toJSONObject:Ux,isAsyncFn:zx,isThenable:Wx,setImmediate:Np,asap:qx,isIterable:Vx};function K(e,t,r,o,n){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),o&&(this.request=o),n&&(this.response=n,this.status=n.status?n.status:null)}y.inherits(K,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:y.toJSONObject(this.config),code:this.code,status:this.status}}});const Dp=K.prototype,Pp={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Pp[e]={value:e}});Object.defineProperties(K,Pp);Object.defineProperty(Dp,"isAxiosError",{value:!0});K.from=(e,t,r,o,n,i)=>{const s=Object.create(Dp);y.toFlatObject(e,s,function(d){return d!==Error.prototype},l=>l!=="isAxiosError");const a=e&&e.message?e.message:"Error",c=t==null&&e?e.code:t;return K.call(s,a,c,r,o,n),e&&s.cause==null&&Object.defineProperty(s,"cause",{value:e,configurable:!0}),s.name=e&&e.name||"Error",i&&Object.assign(s,i),s};const Yx=null;function Ys(e){return y.isPlainObject(e)||y.isArray(e)}function Fp(e){return y.endsWith(e,"[]")?e.slice(0,-2):e}function fd(e,t,r){return e?e.concat(t).map(function(n,i){return n=Fp(n),!r&&i?"["+n+"]":n}).join(r?".":""):t}function Gx(e){return y.isArray(e)&&!e.some(Ys)}const Kx=y.toFlatObject(y,{},null,function(t){return/^is[A-Z]/.test(t)});function Ai(e,t,r){if(!y.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=y.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,h){return!y.isUndefined(h[g])});const o=r.metaTokens,n=r.visitor||d,i=r.dots,s=r.indexes,c=(r.Blob||typeof Blob<"u"&&Blob)&&y.isSpecCompliantForm(t);if(!y.isFunction(n))throw new TypeError("visitor must be a function");function l(f){if(f===null)return"";if(y.isDate(f))return f.toISOString();if(y.isBoolean(f))return f.toString();if(!c&&y.isBlob(f))throw new K("Blob is not supported. Use a Buffer instead.");return y.isArrayBuffer(f)||y.isTypedArray(f)?c&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function d(f,g,h){let b=f;if(f&&!h&&typeof f=="object"){if(y.endsWith(g,"{}"))g=o?g:g.slice(0,-2),f=JSON.stringify(f);else if(y.isArray(f)&&Gx(f)||(y.isFileList(f)||y.endsWith(g,"[]"))&&(b=y.toArray(f)))return g=Fp(g),b.forEach(function(S,w){!(y.isUndefined(S)||S===null)&&t.append(s===!0?fd([g],w,i):s===null?g:g+"[]",l(S))}),!1}return Ys(f)?!0:(t.append(fd(h,g,i),l(f)),!1)}const u=[],m=Object.assign(Kx,{defaultVisitor:d,convertValue:l,isVisitable:Ys});function p(f,g){if(!y.isUndefined(f)){if(u.indexOf(f)!==-1)throw Error("Circular reference detected in "+g.join("."));u.push(f),y.forEach(f,function(b,_){(!(y.isUndefined(b)||b===null)&&n.call(t,b,y.isString(_)?_.trim():_,g,m))===!0&&p(b,g?g.concat(_):[_])}),u.pop()}}if(!y.isObject(e))throw new TypeError("data must be an object");return p(e),t}function pd(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function Ja(e,t){this._pairs=[],e&&Ai(e,this,t)}const jp=Ja.prototype;jp.append=function(t,r){this._pairs.push([t,r])};jp.toString=function(t){const r=t?function(o){return t.call(this,o,pd)}:pd;return this._pairs.map(function(n){return r(n[0])+"="+r(n[1])},"").join("&")};function Xx(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Hp(e,t,r){if(!t)return e;const o=r&&r.encode||Xx;y.isFunction(r)&&(r={serialize:r});const n=r&&r.serialize;let i;if(n?i=n(t,r):i=y.isURLSearchParams(t)?t.toString():new Ja(t,r).toString(o),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class md{constructor(){this.handlers=[]}use(t,r,o){return this.handlers.push({fulfilled:t,rejected:r,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){y.forEach(this.handlers,function(o){o!==null&&t(o)})}}const Up={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Jx=typeof URLSearchParams<"u"?URLSearchParams:Ja,Zx=typeof FormData<"u"?FormData:null,Qx=typeof Blob<"u"?Blob:null,eT={isBrowser:!0,classes:{URLSearchParams:Jx,FormData:Zx,Blob:Qx},protocols:["http","https","file","blob","url","data"]},Za=typeof window<"u"&&typeof document<"u",Gs=typeof navigator=="object"&&navigator||void 0,tT=Za&&(!Gs||["ReactNative","NativeScript","NS"].indexOf(Gs.product)<0),rT=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",oT=Za&&window.location.href||"http://localhost",nT=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Za,hasStandardBrowserEnv:tT,hasStandardBrowserWebWorkerEnv:rT,navigator:Gs,origin:oT},Symbol.toStringTag,{value:"Module"})),Ue={...nT,...eT};function iT(e,t){return Ai(e,new Ue.classes.URLSearchParams,{visitor:function(r,o,n,i){return Ue.isNode&&y.isBuffer(r)?(this.append(o,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}function sT(e){return y.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function aT(e){const t={},r=Object.keys(e);let o;const n=r.length;let i;for(o=0;o<n;o++)i=r[o],t[i]=e[i];return t}function zp(e){function t(r,o,n,i){let s=r[i++];if(s==="__proto__")return!0;const a=Number.isFinite(+s),c=i>=r.length;return s=!s&&y.isArray(n)?n.length:s,c?(y.hasOwnProp(n,s)?n[s]=[n[s],o]:n[s]=o,!a):((!n[s]||!y.isObject(n[s]))&&(n[s]=[]),t(r,o,n[s],i)&&y.isArray(n[s])&&(n[s]=aT(n[s])),!a)}if(y.isFormData(e)&&y.isFunction(e.entries)){const r={};return y.forEachEntry(e,(o,n)=>{t(sT(o),n,r,0)}),r}return null}function cT(e,t,r){if(y.isString(e))try{return(t||JSON.parse)(e),y.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(r||JSON.stringify)(e)}const nn={transitional:Up,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const o=r.getContentType()||"",n=o.indexOf("application/json")>-1,i=y.isObject(t);if(i&&y.isHTMLForm(t)&&(t=new FormData(t)),y.isFormData(t))return n?JSON.stringify(zp(t)):t;if(y.isArrayBuffer(t)||y.isBuffer(t)||y.isStream(t)||y.isFile(t)||y.isBlob(t)||y.isReadableStream(t))return t;if(y.isArrayBufferView(t))return t.buffer;if(y.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(i){if(o.indexOf("application/x-www-form-urlencoded")>-1)return iT(t,this.formSerializer).toString();if((a=y.isFileList(t))||o.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Ai(a?{"files[]":t}:t,c&&new c,this.formSerializer)}}return i||n?(r.setContentType("application/json",!1),cT(t)):t}],transformResponse:[function(t){const r=this.transitional||nn.transitional,o=r&&r.forcedJSONParsing,n=this.responseType==="json";if(y.isResponse(t)||y.isReadableStream(t))return t;if(t&&y.isString(t)&&(o&&!this.responseType||n)){const s=!(r&&r.silentJSONParsing)&&n;try{return JSON.parse(t,this.parseReviver)}catch(a){if(s)throw a.name==="SyntaxError"?K.from(a,K.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ue.classes.FormData,Blob:Ue.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};y.forEach(["delete","get","head","post","put","patch"],e=>{nn.headers[e]={}});const lT=y.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),dT=e=>{const t={};let r,o,n;return e&&e.split(`
`).forEach(function(s){n=s.indexOf(":"),r=s.substring(0,n).trim().toLowerCase(),o=s.substring(n+1).trim(),!(!r||t[r]&&lT[r])&&(r==="set-cookie"?t[r]?t[r].push(o):t[r]=[o]:t[r]=t[r]?t[r]+", "+o:o)}),t},gd=Symbol("internals");function vo(e){return e&&String(e).trim().toLowerCase()}function Pn(e){return e===!1||e==null?e:y.isArray(e)?e.map(Pn):String(e)}function uT(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=r.exec(e);)t[o[1]]=o[2];return t}const fT=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function rs(e,t,r,o,n){if(y.isFunction(o))return o.call(this,t,r);if(n&&(t=r),!!y.isString(t)){if(y.isString(o))return t.indexOf(o)!==-1;if(y.isRegExp(o))return o.test(t)}}function pT(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,o)=>r.toUpperCase()+o)}function mT(e,t){const r=y.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+r,{value:function(n,i,s){return this[o].call(this,t,n,i,s)},configurable:!0})})}let Ze=class{constructor(t){t&&this.set(t)}set(t,r,o){const n=this;function i(a,c,l){const d=vo(c);if(!d)throw new Error("header name must be a non-empty string");const u=y.findKey(n,d);(!u||n[u]===void 0||l===!0||l===void 0&&n[u]!==!1)&&(n[u||c]=Pn(a))}const s=(a,c)=>y.forEach(a,(l,d)=>i(l,d,c));if(y.isPlainObject(t)||t instanceof this.constructor)s(t,r);else if(y.isString(t)&&(t=t.trim())&&!fT(t))s(dT(t),r);else if(y.isObject(t)&&y.isIterable(t)){let a={},c,l;for(const d of t){if(!y.isArray(d))throw TypeError("Object iterator must return a key-value pair");a[l=d[0]]=(c=a[l])?y.isArray(c)?[...c,d[1]]:[c,d[1]]:d[1]}s(a,r)}else t!=null&&i(r,t,o);return this}get(t,r){if(t=vo(t),t){const o=y.findKey(this,t);if(o){const n=this[o];if(!r)return n;if(r===!0)return uT(n);if(y.isFunction(r))return r.call(this,n,o);if(y.isRegExp(r))return r.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=vo(t),t){const o=y.findKey(this,t);return!!(o&&this[o]!==void 0&&(!r||rs(this,this[o],o,r)))}return!1}delete(t,r){const o=this;let n=!1;function i(s){if(s=vo(s),s){const a=y.findKey(o,s);a&&(!r||rs(o,o[a],a,r))&&(delete o[a],n=!0)}}return y.isArray(t)?t.forEach(i):i(t),n}clear(t){const r=Object.keys(this);let o=r.length,n=!1;for(;o--;){const i=r[o];(!t||rs(this,this[i],i,t,!0))&&(delete this[i],n=!0)}return n}normalize(t){const r=this,o={};return y.forEach(this,(n,i)=>{const s=y.findKey(o,i);if(s){r[s]=Pn(n),delete r[i];return}const a=t?pT(i):String(i).trim();a!==i&&delete r[i],r[a]=Pn(n),o[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return y.forEach(this,(o,n)=>{o!=null&&o!==!1&&(r[n]=t&&y.isArray(o)?o.join(", "):o)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const o=new this(t);return r.forEach(n=>o.set(n)),o}static accessor(t){const o=(this[gd]=this[gd]={accessors:{}}).accessors,n=this.prototype;function i(s){const a=vo(s);o[a]||(mT(n,s),o[a]=!0)}return y.isArray(t)?t.forEach(i):i(t),this}};Ze.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);y.reduceDescriptors(Ze.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[r]=o}}});y.freezeMethods(Ze);function os(e,t){const r=this||nn,o=t||r,n=Ze.from(o.headers);let i=o.data;return y.forEach(e,function(a){i=a.call(r,i,n.normalize(),t?t.status:void 0)}),n.normalize(),i}function Wp(e){return!!(e&&e.__CANCEL__)}function po(e,t,r){K.call(this,e??"canceled",K.ERR_CANCELED,t,r),this.name="CanceledError"}y.inherits(po,K,{__CANCEL__:!0});function qp(e,t,r){const o=r.config.validateStatus;!r.status||!o||o(r.status)?e(r):t(new K("Request failed with status code "+r.status,[K.ERR_BAD_REQUEST,K.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function gT(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function hT(e,t){e=e||10;const r=new Array(e),o=new Array(e);let n=0,i=0,s;return t=t!==void 0?t:1e3,function(c){const l=Date.now(),d=o[i];s||(s=l),r[n]=c,o[n]=l;let u=i,m=0;for(;u!==n;)m+=r[u++],u=u%e;if(n=(n+1)%e,n===i&&(i=(i+1)%e),l-s<t)return;const p=d&&l-d;return p?Math.round(m*1e3/p):void 0}}function bT(e,t){let r=0,o=1e3/t,n,i;const s=(l,d=Date.now())=>{r=d,n=null,i&&(clearTimeout(i),i=null),e(...l)};return[(...l)=>{const d=Date.now(),u=d-r;u>=o?s(l,d):(n=l,i||(i=setTimeout(()=>{i=null,s(n)},o-u)))},()=>n&&s(n)]}const ci=(e,t,r=3)=>{let o=0;const n=hT(50,250);return bT(i=>{const s=i.loaded,a=i.lengthComputable?i.total:void 0,c=s-o,l=n(c),d=s<=a;o=s;const u={loaded:s,total:a,progress:a?s/a:void 0,bytes:c,rate:l||void 0,estimated:l&&a&&d?(a-s)/l:void 0,event:i,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(u)},r)},hd=(e,t)=>{const r=e!=null;return[o=>t[0]({lengthComputable:r,total:e,loaded:o}),t[1]]},bd=e=>(...t)=>y.asap(()=>e(...t)),yT=Ue.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,Ue.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(Ue.origin),Ue.navigator&&/(msie|trident)/i.test(Ue.navigator.userAgent)):()=>!0,vT=Ue.hasStandardBrowserEnv?{write(e,t,r,o,n,i,s){if(typeof document>"u")return;const a=[`${e}=${encodeURIComponent(t)}`];y.isNumber(r)&&a.push(`expires=${new Date(r).toUTCString()}`),y.isString(o)&&a.push(`path=${o}`),y.isString(n)&&a.push(`domain=${n}`),i===!0&&a.push("secure"),y.isString(s)&&a.push(`SameSite=${s}`),document.cookie=a.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function kT(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function _T(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Vp(e,t,r){let o=!kT(t);return e&&(o||r==!1)?_T(e,t):t}const yd=e=>e instanceof Ze?{...e}:e;function xr(e,t){t=t||{};const r={};function o(l,d,u,m){return y.isPlainObject(l)&&y.isPlainObject(d)?y.merge.call({caseless:m},l,d):y.isPlainObject(d)?y.merge({},d):y.isArray(d)?d.slice():d}function n(l,d,u,m){if(y.isUndefined(d)){if(!y.isUndefined(l))return o(void 0,l,u,m)}else return o(l,d,u,m)}function i(l,d){if(!y.isUndefined(d))return o(void 0,d)}function s(l,d){if(y.isUndefined(d)){if(!y.isUndefined(l))return o(void 0,l)}else return o(void 0,d)}function a(l,d,u){if(u in t)return o(l,d);if(u in e)return o(void 0,l)}const c={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(l,d,u)=>n(yd(l),yd(d),u,!0)};return y.forEach(Object.keys({...e,...t}),function(d){const u=c[d]||n,m=u(e[d],t[d],d);y.isUndefined(m)&&u!==a||(r[d]=m)}),r}const Yp=e=>{const t=xr({},e);let{data:r,withXSRFToken:o,xsrfHeaderName:n,xsrfCookieName:i,headers:s,auth:a}=t;if(t.headers=s=Ze.from(s),t.url=Hp(Vp(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),y.isFormData(r)){if(Ue.hasStandardBrowserEnv||Ue.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(y.isFunction(r.getHeaders)){const c=r.getHeaders(),l=["content-type","content-length"];Object.entries(c).forEach(([d,u])=>{l.includes(d.toLowerCase())&&s.set(d,u)})}}if(Ue.hasStandardBrowserEnv&&(o&&y.isFunction(o)&&(o=o(t)),o||o!==!1&&yT(t.url))){const c=n&&i&&vT.read(i);c&&s.set(n,c)}return t},ST=typeof XMLHttpRequest<"u",wT=ST&&function(e){return new Promise(function(r,o){const n=Yp(e);let i=n.data;const s=Ze.from(n.headers).normalize();let{responseType:a,onUploadProgress:c,onDownloadProgress:l}=n,d,u,m,p,f;function g(){p&&p(),f&&f(),n.cancelToken&&n.cancelToken.unsubscribe(d),n.signal&&n.signal.removeEventListener("abort",d)}let h=new XMLHttpRequest;h.open(n.method.toUpperCase(),n.url,!0),h.timeout=n.timeout;function b(){if(!h)return;const S=Ze.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),I={data:!a||a==="text"||a==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:S,config:e,request:h};qp(function(v){r(v),g()},function(v){o(v),g()},I),h=null}"onloadend"in h?h.onloadend=b:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf("file:")===0)||setTimeout(b)},h.onabort=function(){h&&(o(new K("Request aborted",K.ECONNABORTED,e,h)),h=null)},h.onerror=function(w){const I=w&&w.message?w.message:"Network Error",B=new K(I,K.ERR_NETWORK,e,h);B.event=w||null,o(B),h=null},h.ontimeout=function(){let w=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const I=n.transitional||Up;n.timeoutErrorMessage&&(w=n.timeoutErrorMessage),o(new K(w,I.clarifyTimeoutError?K.ETIMEDOUT:K.ECONNABORTED,e,h)),h=null},i===void 0&&s.setContentType(null),"setRequestHeader"in h&&y.forEach(s.toJSON(),function(w,I){h.setRequestHeader(I,w)}),y.isUndefined(n.withCredentials)||(h.withCredentials=!!n.withCredentials),a&&a!=="json"&&(h.responseType=n.responseType),l&&([m,f]=ci(l,!0),h.addEventListener("progress",m)),c&&h.upload&&([u,p]=ci(c),h.upload.addEventListener("progress",u),h.upload.addEventListener("loadend",p)),(n.cancelToken||n.signal)&&(d=S=>{h&&(o(!S||S.type?new po(null,e,h):S),h.abort(),h=null)},n.cancelToken&&n.cancelToken.subscribe(d),n.signal&&(n.signal.aborted?d():n.signal.addEventListener("abort",d)));const _=gT(n.url);if(_&&Ue.protocols.indexOf(_)===-1){o(new K("Unsupported protocol "+_+":",K.ERR_BAD_REQUEST,e));return}h.send(i||null)})},ET=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let o=new AbortController,n;const i=function(l){if(!n){n=!0,a();const d=l instanceof Error?l:this.reason;o.abort(d instanceof K?d:new po(d instanceof Error?d.message:d))}};let s=t&&setTimeout(()=>{s=null,i(new K(`timeout ${t} of ms exceeded`,K.ETIMEDOUT))},t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(l=>{l.unsubscribe?l.unsubscribe(i):l.removeEventListener("abort",i)}),e=null)};e.forEach(l=>l.addEventListener("abort",i));const{signal:c}=o;return c.unsubscribe=()=>y.asap(a),c}},CT=function*(e,t){let r=e.byteLength;if(r<t){yield e;return}let o=0,n;for(;o<r;)n=o+t,yield e.slice(o,n),o=n},xT=async function*(e,t){for await(const r of TT(e))yield*CT(r,t)},TT=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:r,value:o}=await t.read();if(r)break;yield o}}finally{await t.cancel()}},vd=(e,t,r,o)=>{const n=xT(e,t);let i=0,s,a=c=>{s||(s=!0,o&&o(c))};return new ReadableStream({async pull(c){try{const{done:l,value:d}=await n.next();if(l){a(),c.close();return}let u=d.byteLength;if(r){let m=i+=u;r(m)}c.enqueue(new Uint8Array(d))}catch(l){throw a(l),l}},cancel(c){return a(c),n.return()}},{highWaterMark:2})},kd=64*1024,{isFunction:_n}=y,RT=(({Request:e,Response:t})=>({Request:e,Response:t}))(y.global),{ReadableStream:_d,TextEncoder:Sd}=y.global,wd=(e,...t)=>{try{return!!e(...t)}catch{return!1}},IT=e=>{e=y.merge.call({skipUndefined:!0},RT,e);const{fetch:t,Request:r,Response:o}=e,n=t?_n(t):typeof fetch=="function",i=_n(r),s=_n(o);if(!n)return!1;const a=n&&_n(_d),c=n&&(typeof Sd=="function"?(f=>g=>f.encode(g))(new Sd):async f=>new Uint8Array(await new r(f).arrayBuffer())),l=i&&a&&wd(()=>{let f=!1;const g=new r(Ue.origin,{body:new _d,method:"POST",get duplex(){return f=!0,"half"}}).headers.has("Content-Type");return f&&!g}),d=s&&a&&wd(()=>y.isReadableStream(new o("").body)),u={stream:d&&(f=>f.body)};n&&["text","arrayBuffer","blob","formData","stream"].forEach(f=>{!u[f]&&(u[f]=(g,h)=>{let b=g&&g[f];if(b)return b.call(g);throw new K(`Response type '${f}' is not supported`,K.ERR_NOT_SUPPORT,h)})});const m=async f=>{if(f==null)return 0;if(y.isBlob(f))return f.size;if(y.isSpecCompliantForm(f))return(await new r(Ue.origin,{method:"POST",body:f}).arrayBuffer()).byteLength;if(y.isArrayBufferView(f)||y.isArrayBuffer(f))return f.byteLength;if(y.isURLSearchParams(f)&&(f=f+""),y.isString(f))return(await c(f)).byteLength},p=async(f,g)=>{const h=y.toFiniteNumber(f.getContentLength());return h??m(g)};return async f=>{let{url:g,method:h,data:b,signal:_,cancelToken:S,timeout:w,onDownloadProgress:I,onUploadProgress:B,responseType:v,headers:R,withCredentials:Z="same-origin",fetchOptions:T}=Yp(f),A=t||fetch;v=v?(v+"").toLowerCase():"text";let P=ET([_,S&&S.toAbortSignal()],w),D=null;const L=P&&P.unsubscribe&&(()=>{P.unsubscribe()});let Q;try{if(B&&l&&h!=="get"&&h!=="head"&&(Q=await p(R,b))!==0){let q=new r(g,{method:"POST",body:b,duplex:"half"}),V;if(y.isFormData(b)&&(V=q.headers.get("content-type"))&&R.setContentType(V),q.body){const[ue,xe]=hd(Q,ci(bd(B)));b=vd(q.body,kd,ue,xe)}}y.isString(Z)||(Z=Z?"include":"omit");const F=i&&"credentials"in r.prototype,U={...T,signal:P,method:h.toUpperCase(),headers:R.normalize().toJSON(),body:b,duplex:"half",credentials:F?Z:void 0};D=i&&new r(g,U);let E=await(i?A(D,T):A(g,U));const W=d&&(v==="stream"||v==="response");if(d&&(I||W&&L)){const q={};["status","statusText","headers"].forEach(Ne=>{q[Ne]=E[Ne]});const V=y.toFiniteNumber(E.headers.get("content-length")),[ue,xe]=I&&hd(V,ci(bd(I),!0))||[];E=new o(vd(E.body,kd,ue,()=>{xe&&xe(),L&&L()}),q)}v=v||"text";let $=await u[y.findKey(u,v)||"text"](E,f);return!W&&L&&L(),await new Promise((q,V)=>{qp(q,V,{data:$,headers:Ze.from(E.headers),status:E.status,statusText:E.statusText,config:f,request:D})})}catch(F){throw L&&L(),F&&F.name==="TypeError"&&/Load failed|fetch/i.test(F.message)?Object.assign(new K("Network Error",K.ERR_NETWORK,f,D),{cause:F.cause||F}):K.from(F,F&&F.code,f,D)}}},BT=new Map,Gp=e=>{let t=e&&e.env||{};const{fetch:r,Request:o,Response:n}=t,i=[o,n,r];let s=i.length,a=s,c,l,d=BT;for(;a--;)c=i[a],l=d.get(c),l===void 0&&d.set(c,l=a?new Map:IT(t)),d=l;return l};Gp();const Qa={http:Yx,xhr:wT,fetch:{get:Gp}};y.forEach(Qa,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ed=e=>`- ${e}`,AT=e=>y.isFunction(e)||e===null||e===!1;function MT(e,t){e=y.isArray(e)?e:[e];const{length:r}=e;let o,n;const i={};for(let s=0;s<r;s++){o=e[s];let a;if(n=o,!AT(o)&&(n=Qa[(a=String(o)).toLowerCase()],n===void 0))throw new K(`Unknown adapter '${a}'`);if(n&&(y.isFunction(n)||(n=n.get(t))))break;i[a||"#"+s]=n}if(!n){const s=Object.entries(i).map(([c,l])=>`adapter ${c} `+(l===!1?"is not supported by the environment":"is not available in the build"));let a=r?s.length>1?`since :
`+s.map(Ed).join(`
`):" "+Ed(s[0]):"as no adapter specified";throw new K("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return n}const Kp={getAdapter:MT,adapters:Qa};function ns(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new po(null,e)}function Cd(e){return ns(e),e.headers=Ze.from(e.headers),e.data=os.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Kp.getAdapter(e.adapter||nn.adapter,e)(e).then(function(o){return ns(e),o.data=os.call(e,e.transformResponse,o),o.headers=Ze.from(o.headers),o},function(o){return Wp(o)||(ns(e),o&&o.response&&(o.response.data=os.call(e,e.transformResponse,o.response),o.response.headers=Ze.from(o.response.headers))),Promise.reject(o)})}const Xp="1.13.2",Mi={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Mi[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const xd={};Mi.transitional=function(t,r,o){function n(i,s){return"[Axios v"+Xp+"] Transitional option '"+i+"'"+s+(o?". "+o:"")}return(i,s,a)=>{if(t===!1)throw new K(n(s," has been removed"+(r?" in "+r:"")),K.ERR_DEPRECATED);return r&&!xd[s]&&(xd[s]=!0,console.warn(n(s," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,s,a):!0}};Mi.spelling=function(t){return(r,o)=>(console.warn(`${o} is likely a misspelling of ${t}`),!0)};function $T(e,t,r){if(typeof e!="object")throw new K("options must be an object",K.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let n=o.length;for(;n-- >0;){const i=o[n],s=t[i];if(s){const a=e[i],c=a===void 0||s(a,i,e);if(c!==!0)throw new K("option "+i+" must be "+c,K.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new K("Unknown option "+i,K.ERR_BAD_OPTION)}}const Fn={assertOptions:$T,validators:Mi},vt=Fn.validators;let yr=class{constructor(t){this.defaults=t||{},this.interceptors={request:new md,response:new md}}async request(t,r){try{return await this._request(t,r)}catch(o){if(o instanceof Error){let n={};Error.captureStackTrace?Error.captureStackTrace(n):n=new Error;const i=n.stack?n.stack.replace(/^.+\n/,""):"";try{o.stack?i&&!String(o.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(o.stack+=`
`+i):o.stack=i}catch{}}throw o}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=xr(this.defaults,r);const{transitional:o,paramsSerializer:n,headers:i}=r;o!==void 0&&Fn.assertOptions(o,{silentJSONParsing:vt.transitional(vt.boolean),forcedJSONParsing:vt.transitional(vt.boolean),clarifyTimeoutError:vt.transitional(vt.boolean)},!1),n!=null&&(y.isFunction(n)?r.paramsSerializer={serialize:n}:Fn.assertOptions(n,{encode:vt.function,serialize:vt.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Fn.assertOptions(r,{baseUrl:vt.spelling("baseURL"),withXsrfToken:vt.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let s=i&&y.merge(i.common,i[r.method]);i&&y.forEach(["delete","get","head","post","put","patch","common"],f=>{delete i[f]}),r.headers=Ze.concat(s,i);const a=[];let c=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(r)===!1||(c=c&&g.synchronous,a.unshift(g.fulfilled,g.rejected))});const l=[];this.interceptors.response.forEach(function(g){l.push(g.fulfilled,g.rejected)});let d,u=0,m;if(!c){const f=[Cd.bind(this),void 0];for(f.unshift(...a),f.push(...l),m=f.length,d=Promise.resolve(r);u<m;)d=d.then(f[u++],f[u++]);return d}m=a.length;let p=r;for(;u<m;){const f=a[u++],g=a[u++];try{p=f(p)}catch(h){g.call(this,h);break}}try{d=Cd.call(this,p)}catch(f){return Promise.reject(f)}for(u=0,m=l.length;u<m;)d=d.then(l[u++],l[u++]);return d}getUri(t){t=xr(this.defaults,t);const r=Vp(t.baseURL,t.url,t.allowAbsoluteUrls);return Hp(r,t.params,t.paramsSerializer)}};y.forEach(["delete","get","head","options"],function(t){yr.prototype[t]=function(r,o){return this.request(xr(o||{},{method:t,url:r,data:(o||{}).data}))}});y.forEach(["post","put","patch"],function(t){function r(o){return function(i,s,a){return this.request(xr(a||{},{method:t,headers:o?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}yr.prototype[t]=r(),yr.prototype[t+"Form"]=r(!0)});let OT=class Jp{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(i){r=i});const o=this;this.promise.then(n=>{if(!o._listeners)return;let i=o._listeners.length;for(;i-- >0;)o._listeners[i](n);o._listeners=null}),this.promise.then=n=>{let i;const s=new Promise(a=>{o.subscribe(a),i=a}).then(n);return s.cancel=function(){o.unsubscribe(i)},s},t(function(i,s,a){o.reason||(o.reason=new po(i,s,a),r(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=o=>{t.abort(o)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new Jp(function(n){t=n}),cancel:t}}};function LT(e){return function(r){return e.apply(null,r)}}function NT(e){return y.isObject(e)&&e.isAxiosError===!0}const Ks={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Ks).forEach(([e,t])=>{Ks[t]=e});function Zp(e){const t=new yr(e),r=Ip(yr.prototype.request,t);return y.extend(r,yr.prototype,t,{allOwnKeys:!0}),y.extend(r,t,null,{allOwnKeys:!0}),r.create=function(n){return Zp(xr(e,n))},r}const Be=Zp(nn);Be.Axios=yr;Be.CanceledError=po;Be.CancelToken=OT;Be.isCancel=Wp;Be.VERSION=Xp;Be.toFormData=Ai;Be.AxiosError=K;Be.Cancel=Be.CanceledError;Be.all=function(t){return Promise.all(t)};Be.spread=LT;Be.isAxiosError=NT;Be.mergeConfig=xr;Be.AxiosHeaders=Ze;Be.formToJSON=e=>zp(y.isHTMLForm(e)?new FormData(e):e);Be.getAdapter=Kp.getAdapter;Be.HttpStatusCode=Ks;Be.default=Be;const{Axios:mD,AxiosError:gD,CanceledError:hD,isCancel:bD,CancelToken:yD,VERSION:vD,all:kD,Cancel:_D,isAxiosError:SD,spread:wD,toFormData:ED,AxiosHeaders:CD,HttpStatusCode:xD,formToJSON:TD,getAdapter:RD,mergeConfig:ID}=Be,Nr=Be.create({baseURL:"https://api.stadssalg.no"});Nr.interceptors.request.use(async e=>{const t=mt.currentUser?await mt.currentUser.getIdToken():null;return t&&(e.headers.Authorization=`Bearer ${t}`),e},e=>Promise.reject(e));const DT=336*60*60*1e3,ec="session_last_activity",tc="session_start_time";function PT(){const e=Date.now();localStorage.setItem(ec,e.toString())}function FT(){const e=Date.now();localStorage.setItem(tc,e.toString()),localStorage.setItem(ec,e.toString())}function Xs(){localStorage.removeItem(ec),localStorage.removeItem(tc)}function Qp(){const e=localStorage.getItem(tc);if(!e)return!1;const t=parseInt(e,10);return Date.now()-t>DT}async function em(){Xs();try{await Cn(mt)}catch{}sn.push({path:"/login",query:{error:"Sesjonen din har utløpt. Vennligst logg inn på nytt."}})}function jT(){["mousedown","keydown","touchstart","scroll"].forEach(t=>{document.addEventListener(t,PT,{passive:!0})}),setInterval(()=>{mt.currentUser&&Qp()&&em()},6e4)}const rc=Vm("auth",()=>{const e=kt(null),t=kt(null),r=kt(null),o=kt(!1),n=kt(!1),i=kt("init"),s=dr(()=>!!e.value);async function a(f,g){try{const h=await ag(mt,f,g);return await cg(h.user),h}catch(h){throw r.value=h.message,h}}async function c(f,g){i.value="loggingIn";try{const h=await lg(mt,f,g),b=await Nr.get("/profile",{params:{userId:h.user.uid}});if(b?.data?.denied){await Cn(mt);const _=new Error("Your account has been suspended");throw _.code="auth/denied",_}return e.value=h.user,t.value=b?.data,t.value&&(t.value.subscriptions={}),i.value="loggedIn",FT(),h}catch(h){throw r.value=h.message,i.value="loggedOut",h}}async function l(f){try{await dg(mt,f)}catch(g){throw r.value=g.message,g}}async function d(){try{await Cn(mt),e.value=null,t.value=null,o.value=!1,i.value="loggedOut",Xs()}catch(f){r.value=f.message}}async function u(f,g){try{const h=Sc.credential(e.value.email,f);await wc(e.value,h),await ug(e.value,g)}catch(h){throw r.value=h.message,h}}async function m(f,g){try{const h=Sc.credential(e.value.email,f);await wc(e.value,h),await fg(e.value,g)}catch(h){throw r.value=h.message,h}}function p(){const f=setTimeout(()=>{i.value="loggedOut"},4e3);i.value="loggingIn",pg(mt,async g=>{if(clearTimeout(f),g){if(Qp()){await em();return}try{const h=(await g.getIdTokenResult()).claims,b=(await Nr.get("/profile",{params:{userId:g.uid}})).data;if(b.denied){await Cn(mt);return}n.value&&(await Nr.post("/profile/verify",{}),n.value=!1),e.value=g,t.value=b,t.value&&(t.value.subscriptions={}),r.value=null,o.value=h.role==="admin",i.value="loggedIn"}catch{await new Promise(b=>setTimeout(b,5e3));try{const b=(await Nr.get("/profile",{params:{userId:g.uid}})).data;n.value&&(await Nr.post("/profile/verify",{}),n.value=!1),e.value=g,t.value=b,t.value&&(t.value.subscriptions={}),r.value=null,i.value="loggedIn"}catch{i.value="loggedOut"}}}else e.value=null,t.value=null,r.value=null,o.value=!1,i.value="loggedOut",Xs()})}return{user:e,userDocument:t,error:r,isUserAdmin:o,isVerifying:n,loginStatus:i,isUserAuth:s,signUpAction:a,signInAction:c,forgotPasswordAction:l,signOutAction:d,changePassword:u,updateEmail:m,authAction:p}}),Sn="Stadssalg AS - ",HT=[{path:"/error",name:"Error",component:()=>we(()=>import("./ErrorPage-B1yUsTD2.js"),__vite__mapDeps([0,1,2,3,4,5]))},{path:"/financing/:item?",name:"Financing",component:()=>we(()=>import("./Index-7qOB_GDy.js"),__vite__mapDeps([6,2,7,5,3,1,4,8])),meta:{title:"Finansering og forsikring"}},{path:"/ghg",name:"Climate",component:()=>we(()=>import("./GHG-x9z64Mfo.js"),__vite__mapDeps([9,2,3,4,1,5])),meta:{title:"Klima og miljø"}},{path:"/",name:"Home",component:()=>we(()=>import("./Index-CKYEakZr.js"),__vite__mapDeps([10,1,2,7,5,3,11,4,12,13,14])),meta:{title:"Stadssalg AS"}},{path:"/items",name:"Items",component:()=>we(()=>import("./Index-D6keViJT.js"),__vite__mapDeps([15,1,2,7,5,3,11,12,13,4,16])),meta:{title:Sn+"Auksjoner"}},{path:"/items/:item",name:"Item",component:()=>we(()=>import("./Item-C5VPWdtx.js"),__vite__mapDeps([17,1,2,7,5,3,11,4,18])),meta:{title:Sn+"Objekt"}},{path:"/item/:item",name:"ItemDetail",component:()=>we(()=>import("./Item-C5VPWdtx.js"),__vite__mapDeps([17,1,2,7,5,3,11,4,18])),meta:{title:Sn+"Objekt"}},{path:"/finn/:id",redirect:e=>({path:`/item/${String(e.params.id).match(/^(\d+)/)?.[1]||e.params.id}`,query:{utm_source:"finn"}})},{path:"/info/:page?",name:"Info",meta:{title:Sn+"Info"},component:()=>we(()=>import("./Index-BGD-mW4S.js"),__vite__mapDeps([19,2,3,4,1,5]))},{path:"/en/:pathMatch(.*)*",redirect:e=>(dd("en"),`/${e.params.pathMatch?.join("/")||""}`)},{path:"/no/:pathMatch(.*)*",redirect:e=>(dd("no"),`/${e.params.pathMatch?.join("/")||""}`)},{path:"/loginWithToken/:token",name:"LoginToken",component:()=>we(()=>import("./LoginWithToken-BqbcewBC.js"),__vite__mapDeps([20,2,4,3,1,5]))},{path:"/login",name:"Login",component:()=>we(()=>import("./Index-BkDszywi.js"),__vite__mapDeps([21,1,2,7,5,3,22,23,4])),meta:{disableIfLoggedIn:!0}},{path:"/register",name:"Register",component:()=>we(()=>import("./Register-DP7IfyTz.js"),__vite__mapDeps([24,2,7,5,3,1,4])),meta:{disableIfLoggedIn:!0}},{path:"/register/private",name:"RegisterPrivate",props:!0,component:()=>we(()=>import("./Form-BUXc4TSS.js"),__vite__mapDeps([25,2,7,5,3,22,1,4])),meta:{disableIfLoggedIn:!0}},{path:"/register/company",name:"RegisterCompany",props:!0,component:()=>we(()=>import("./Form-BUXc4TSS.js"),__vite__mapDeps([25,2,7,5,3,22,1,4])),meta:{disableIfLoggedIn:!0}},{path:"/profile",name:"Profile",component:()=>we(()=>import("./Index-BkDszywi.js"),__vite__mapDeps([21,1,2,7,5,3,22,23,4])),meta:{requiresAuth:!0}},{path:"/profile/favorites",name:"MyFavorites",component:()=>we(()=>import("./MyFavorites-BvvBXZBe.js"),__vite__mapDeps([26,7,5,3,2,1,4])),meta:{requiresAuth:!0}},{path:"/profile/bids",name:"MyBids",component:()=>we(()=>import("./MyBids-DhPO-tS9.js"),__vite__mapDeps([27,2,7,5,3,1,4,28])),meta:{requiresAuth:!0}},{path:"/profile/settings",name:"MySettings",component:()=>we(()=>import("./MySettings-D040Zjd9.js"),__vite__mapDeps([29,1,2,3,4,5,30])),meta:{requiresAuth:!0}},{path:"/profile/companies/new",name:"NewCompany",component:()=>we(()=>import("./EditCompany-CKfVmnpO.js"),__vite__mapDeps([31,2,7,5,3,1,4])),meta:{requiresAuth:!0}},{path:"/profile/companies/:companyId",name:"EditCompany",component:()=>we(()=>import("./EditCompany-CKfVmnpO.js"),__vite__mapDeps([31,2,7,5,3,1,4])),meta:{requiresAuth:!0}},{path:"/profile/saved-searches",name:"MyFilters",component:()=>we(()=>import("./MyFilters-hAsoLLrO.js"),__vite__mapDeps([32,1,2,7,5,3,4])),meta:{requiresAuth:!0}},{path:"/profile/mgmt",alias:"/profil/mgmt",name:"ProfileMgmt",component:()=>we(()=>import("./CustomEmailHandler-CbL4Zzk1.js"),__vite__mapDeps([33,2,4,1,23,3,5])),meta:{requiresAuth:!1}},{path:"/404",name:"NotFound",component:()=>we(()=>import("./404-CVIUDqcC.js"),__vite__mapDeps([34,1,2,3,4,5]))},{path:"/:catchAll(.*)",redirect:"/error"}],sn=Ym({history:Gm("/"),scrollBehavior(e,t,r){return r?{...r,behavior:"smooth"}:{top:0,behavior:"smooth"}},routes:HT});sn.onError((e,t)=>{(e.message.includes("Failed to fetch dynamically imported module")||e.message.includes("Importing a module script failed"))&&(window.location.href=t.fullPath)});function UT(e){return new Promise(t=>{const r=["loggedIn","loggedOut"];if(r.includes(e.loginStatus)){t(e.loginStatus);return}const o=Km(()=>e.loginStatus,n=>{r.includes(n)&&(o(),t(n))})})}sn.beforeEach(async(e,t)=>{document.title=e.meta.title||"Stadssalg";const r=rc(),o=e.matched.some(i=>i.meta.requiresAuth),n=e.matched.some(i=>i.meta.disableIfLoggedIn);return o||n?(await UT(r),zT(e,r,o,n)):!0});function zT(e,t,r,o){if(o&&t.loginStatus==="loggedIn")return!0;if(o)return!0;if(r){if(t.loginStatus==="loggedIn")return!0;if(t.loginStatus==="loggedOut")return{name:"Login",query:{nextUrl:e.fullPath}}}return!0}const tm="opt-in",ko="opt-out",oc="show--consent",nc="show--preferences",Js="disable--interaction",li="data-category",ae="div",gt="button",ht="aria-hidden",To="btn-group",He="click",zr="data-role",ic="consentModal",sc="preferencesModal";let rm=class{constructor(){this.t={mode:tm,revision:0,autoShow:!0,lazyHtmlGeneration:!0,autoClearCookies:!0,manageScriptTags:!0,hideFromBots:!0,cookie:{name:"cc_cookie",expiresAfterDays:182,domain:"",path:"/",secure:!0,sameSite:"Lax"}},this.o={i:{},l:"",_:{},u:{},p:{},m:[],v:!1,h:null,C:null,S:null,M:"",D:!0,T:!1,k:!1,A:!1,N:!1,H:[],V:!1,I:!0,L:[],j:!1,F:"",P:!1,O:[],R:[],B:[],$:[],G:!1,J:!1,U:!1,q:[],K:[],W:[],X:{},Y:{},Z:{},ee:{},te:{},oe:[]},this.ne={ae:{},se:{}},this.ce={},this.re={ie:"cc:onFirstConsent",le:"cc:onConsent",de:"cc:onChange",fe:"cc:onModalShow",_e:"cc:onModalHide",ue:"cc:onModalReady"}}};const k=new rm,om=(e,t)=>e.indexOf(t),le=(e,t)=>om(e,t)!==-1,mo=e=>Array.isArray(e),Ut=e=>typeof e=="string",di=e=>!!e&&typeof e=="object"&&!mo(e),_t=e=>typeof e=="function",wt=e=>Object.keys(e),ac=e=>Array.from(new Set(e)),ui=()=>document.activeElement,Hr=e=>e.preventDefault(),cc=(e,t)=>e.querySelectorAll(t),wn=e=>e.dispatchEvent(new Event("change")),O=e=>{const t=document.createElement(e);return e===gt&&(t.type=e),t},z=(e,t,r)=>e.setAttribute(t,r),is=(e,t,r)=>{e.removeAttribute(r?"data-"+t:t)},jn=(e,t,r)=>e.getAttribute(r?"data-"+t:t),M=(e,t)=>e.appendChild(t),be=(e,t)=>e.classList.add(t),ze=(e,t)=>be(e,"cm__"+t),ie=(e,t)=>be(e,"pm__"+t),Zt=(e,t)=>e.classList.remove(t),Mt=e=>{if(typeof e!="object")return e;if(e instanceof Date)return new Date(e.getTime());let t=Array.isArray(e)?[]:{};for(let r in e){let o=e[r];t[r]=Mt(o)}return t},WT=()=>{const e={},{O:t,X:r,Y:o}=k.o;for(const n of t)e[n]=Hn(o[n],wt(r[n]));return e},Td=(e,t)=>dispatchEvent(new CustomEvent(e,{detail:t})),Ee=(e,t,r,o)=>{e.addEventListener(t,r),o&&k.o.m.push({pe:e,ge:t,me:r})},Rd=()=>{const e=k.t.cookie.expiresAfterDays;return _t(e)?e(k.o.F):e},Hn=(e,t)=>{const r=e||[],o=t||[];return r.filter((n=>!le(o,n))).concat(o.filter((n=>!le(r,n))))},nm=e=>{k.o.R=ac(e),k.o.F=(()=>{let t="custom";const{R:r,O:o,B:n}=k.o,i=r.length;return i===o.length?t="all":i===n.length&&(t="necessary"),t})()},im=(e,t,r,o)=>{const n="accept-",{show:i,showPreferences:s,hide:a,hidePreferences:c,acceptCategory:l}=t,d=e||document,u=S=>cc(d,`[data-cc="${S}"]`),m=(S,w)=>{Hr(S),l(w),c(),a()},p=u("show-preferencesModal"),f=u("show-consentModal"),g=u(n+"all"),h=u(n+"necessary"),b=u(n+"custom"),_=k.t.lazyHtmlGeneration;for(const S of p)z(S,"aria-haspopup","dialog"),Ee(S,He,(w=>{Hr(w),s()})),_&&(Ee(S,"mouseenter",(w=>{Hr(w),k.o.N||r(t,o)}),!0),Ee(S,"focus",(()=>{k.o.N||r(t,o)})));for(let S of f)z(S,"aria-haspopup","dialog"),Ee(S,He,(w=>{Hr(w),i(!0)}),!0);for(let S of g)Ee(S,He,(w=>{m(w,"all")}),!0);for(let S of b)Ee(S,He,(w=>{m(w)}),!0);for(let S of h)Ee(S,He,(w=>{m(w,[])}),!0)},Et=(e,t)=>{e&&(t&&(e.tabIndex=-1),e.focus(),t&&e.removeAttribute("tabindex"))},sm=(e,t)=>{const r=o=>{o.target.removeEventListener("transitionend",r),o.propertyName==="opacity"&&getComputedStyle(e).opacity==="1"&&Et((n=>n===1?k.ne.be:k.ne.ve)(t))};Ee(e,"transitionend",r)};let Id;const am=e=>{clearTimeout(Id),e?be(k.ne.ye,Js):Id=setTimeout((()=>{Zt(k.ne.ye,Js)}),500)},qT=["M 19.5 4.5 L 4.5 19.5 M 4.5 4.501 L 19.5 19.5","M 3.572 13.406 L 8.281 18.115 L 20.428 5.885","M 21.999 6.94 L 11.639 17.18 L 2.001 6.82 "],Do=(e=0,t=1.5)=>`<svg viewBox="0 0 24 24" stroke-width="${t}"><path d="${qT[e]}"/></svg>`,cm=e=>{const t=k.ne,r=k.o;(o=>{const n=o===t.he,i=r.i.disablePageInteraction?t.ye:n?t.Ce:t.ye;Ee(i,"keydown",(s=>{if(s.key!=="Tab"||!(n?r.k&&!r.A:r.A))return;const a=ui(),c=n?r.q:r.K;c.length!==0&&(s.shiftKey?a!==c[0]&&o.contains(a)||(Hr(s),Et(c[1])):a!==c[1]&&o.contains(a)||(Hr(s),Et(c[0])))}),!0)})(e)},VT=["[href]",gt,"input","details","[tabindex]"].map((e=>e+':not([tabindex="-1"])')).join(","),lm=e=>{const{o:t,ne:r}=k,o=(n,i)=>{const s=cc(n,VT);i[0]=s[0],i[1]=s[s.length-1]};e===1&&t.T&&o(r.he,t.q),e===2&&t.N&&o(r.we,t.K)},Ct=(e,t,r)=>{const{de:o,le:n,ie:i,_e:s,ue:a,fe:c}=k.ce,l=k.re;if(t){const u={modalName:t};return e===l.fe?_t(c)&&c(u):e===l._e?_t(s)&&s(u):(u.modal=r,_t(a)&&a(u)),Td(e,u)}const d={cookie:k.o.p};e===l.ie?_t(i)&&i(Mt(d)):e===l.le?_t(n)&&n(Mt(d)):(d.changedCategories=k.o.L,d.changedServices=k.o.ee,_t(o)&&o(Mt(d))),Td(e,Mt(d))},Po=(e,t)=>{try{return e()}catch(r){return!t&&console.warn("CookieConsent:",r),!1}},Zs=e=>{const{Y:t,ee:r,O:o,X:n,oe:i,p:s,L:a}=k.o;for(const u of o){const m=r[u]||t[u]||[];for(const p of m){const f=n[u][p];if(!f)continue;const{onAccept:g,onReject:h}=f;!f.Se&&le(t[u],p)?(f.Se=!0,_t(g)&&g()):f.Se&&!le(t[u],p)&&(f.Se=!1,_t(h)&&h())}}if(!k.t.manageScriptTags)return;const c=i,l=e||s.categories||[],d=(u,m)=>{if(m>=u.length)return;const p=i[m];if(p.xe)return d(u,m+1);const f=p.Me,g=p.De,h=p.Te,b=le(l,g),_=!!h&&le(t[g],h);if(!h&&!p.ke&&b||!h&&p.ke&&!b&&le(a,g)||h&&!p.ke&&_||h&&p.ke&&!_&&le(r[g]||[],h)){p.xe=!0;const S=jn(f,"type",!0);is(f,"type",!!S),is(f,li);let w=jn(f,"src",!0);w&&is(f,"src",!0);const I=O("script");I.textContent=f.innerHTML;for(const{nodeName:v}of f.attributes)z(I,v,f[v]||jn(f,v));S&&(I.type=S),w?I.src=w:w=f.src;const B=!!w&&(!S||["text/javascript","module"].includes(S));if(B&&(I.onload=I.onerror=()=>{d(u,++m)}),f.replaceWith(I),B)return}d(u,++m)};d(c,0)},Un="bottom",Qs="left",dm="center",lc="right",ss="inline",um="wide",fm="pm--",as=["middle","top",Un],Bd=[Qs,dm,lc],YT={box:{Ee:[um,ss],Ae:as,Ne:Bd,He:Un,Ve:lc},cloud:{Ee:[ss],Ae:as,Ne:Bd,He:Un,Ve:dm},bar:{Ee:[ss],Ae:as.slice(1),Ne:[],He:Un,Ve:""}},GT={box:{Ee:[],Ae:[],Ne:[],He:"",Ve:""},bar:{Ee:[um],Ae:[],Ne:[Qs,lc],He:"",Ve:Qs}},pm=e=>{const t=k.o.i.guiOptions,r=t&&t.consentModal,o=t&&t.preferencesModal;e===0&&Ad(k.ne.he,YT,r,"cm--","box","cm"),e===1&&Ad(k.ne.we,GT,o,fm,"box","pm")},Ad=(e,t,r,o,n,i)=>{e.className=i;const s=r&&r.layout,a=r&&r.position,c=r&&r.flipButtons,l=!r||r.equalWeightButtons!==!1,d=s&&s.split(" ")||[],u=d[0],m=d[1],p=u in t?u:n,f=t[p],g=le(f.Ee,m)&&m,h=a&&a.split(" ")||[],b=h[0],_=o===fm?h[0]:h[1],S=le(f.Ae,b)?b:f.He,w=le(f.Ne,_)?_:f.Ve,I=v=>{v&&be(e,o+v)};I(p),I(g),I(S),I(w),c&&I("flip");const B=i+"__btn--secondary";if(i==="cm"){const{Ie:v,Le:R}=k.ne;v&&(l?Zt(v,B):be(v,B)),R&&(l?Zt(R,B):be(R,B))}else{const{je:v}=k.ne;v&&(l?Zt(v,B):be(v,B))}},to=(e,t)=>{const r=k.o,o=k.ne,{hide:n,hidePreferences:i,acceptCategory:s}=e,a=w=>{s(w),i(),n()},c=r.u&&r.u.preferencesModal;if(!c)return;const l=c.title,d=c.closeIconLabel,u=c.acceptAllBtn,m=c.acceptNecessaryBtn,p=c.savePreferencesBtn,f=c.sections||[],g=u||m||p;if(o.Fe)o.Pe=O(ae),ie(o.Pe,"body");else{o.Fe=O(ae),be(o.Fe,"pm-wrapper");const w=O("div");be(w,"pm-overlay"),M(o.Fe,w),Ee(w,He,i),o.we=O(ae),be(o.we,"pm"),z(o.we,"role","dialog"),z(o.we,ht,!0),z(o.we,"aria-modal",!0),z(o.we,"aria-labelledby","pm__title"),Ee(o.ye,"keydown",(I=>{I.keyCode===27&&i()}),!0),o.Oe=O(ae),ie(o.Oe,"header"),o.Re=O("h2"),ie(o.Re,"title"),o.Re.id="pm__title",o.Be=O(gt),ie(o.Be,"close-btn"),z(o.Be,"aria-label",c.closeIconLabel||""),Ee(o.Be,He,i),o.$e=O("span"),o.$e.innerHTML=Do(),M(o.Be,o.$e),o.Ge=O(ae),ie(o.Ge,"body"),o.Je=O(ae),ie(o.Je,"footer");var h=O(ae);be(h,"btns");var b=O(ae),_=O(ae);ie(b,To),ie(_,To),M(o.Je,b),M(o.Je,_),M(o.Oe,o.Re),M(o.Oe,o.Be),o.ve=O(ae),z(o.ve,"tabIndex",-1),M(o.we,o.ve),M(o.we,o.Oe),M(o.we,o.Ge),g&&M(o.we,o.Je),M(o.Fe,o.we)}let S;l&&(o.Re.innerHTML=l,d&&z(o.Be,"aria-label",d)),f.forEach(((w,I)=>{const B=w.title,v=w.description,R=w.linkedCategory,Z=R&&r.P[R],T=w.cookieTable,A=T&&T.body,P=T&&T.caption,D=A&&A.length>0,L=!!Z,Q=L&&r.X[R],F=di(Q)&&wt(Q)||[],U=L&&(!!v||!!D||wt(Q).length>0);var E=O(ae);if(ie(E,"section"),U||v){var W=O(ae);ie(W,"section-desc-wrapper")}let $=F.length;if(U&&$>0){const _e=O(ae);ie(_e,"section-services");for(const Se of F){const pe=Q[Se],$e=pe&&pe.label||Se,rt=O(ae),yt=O(ae),ar=O(ae),Wt=O(ae);ie(rt,"service"),ie(Wt,"service-title"),ie(yt,"service-header"),ie(ar,"service-icon");const De=Md($e,Se,Z,!0,R);Wt.innerHTML=$e,M(yt,ar),M(yt,Wt),M(rt,yt),M(rt,De),M(_e,rt)}M(W,_e)}if(B){var q=O(ae),V=O(L?gt:ae);if(ie(q,"section-title-wrapper"),ie(V,"section-title"),V.innerHTML=B,M(q,V),L){const _e=O("span");_e.innerHTML=Do(2,3.5),ie(_e,"section-arrow"),M(q,_e),E.className+="--toggle";const Se=Md(B,R,Z);let pe=c.serviceCounterLabel;if($>0&&Ut(pe)){let $e=O("span");ie($e,"badge"),ie($e,"service-counter"),z($e,ht,!0),z($e,"data-servicecounter",$),pe&&(pe=pe.split("|"),pe=pe.length>1&&$>1?pe[1]:pe[0],z($e,"data-counterlabel",pe)),$e.innerHTML=$+(pe?" "+pe:""),M(V,$e)}if(U){ie(E,"section--expandable");var ue=R+"-desc";z(V,"aria-expanded",!1),z(V,"aria-controls",ue)}M(q,Se)}else z(V,"role","heading"),z(V,"aria-level","3");M(E,q)}if(v){var xe=O("p");ie(xe,"section-desc"),xe.innerHTML=v,M(W,xe)}if(U&&(z(W,ht,"true"),W.id=ue,((_e,Se,pe)=>{Ee(V,He,(()=>{Se.classList.contains("is-expanded")?(Zt(Se,"is-expanded"),z(pe,"aria-expanded","false"),z(_e,ht,"true")):(be(Se,"is-expanded"),z(pe,"aria-expanded","true"),z(_e,ht,"false"))}))})(W,E,V),D)){const _e=O("table"),Se=O("thead"),pe=O("tbody");if(P){const De=O("caption");ie(De,"table-caption"),De.innerHTML=P,_e.appendChild(De)}ie(_e,"section-table"),ie(Se,"table-head"),ie(pe,"table-body");const $e=T.headers,rt=wt($e),yt=o.Ue.createDocumentFragment(),ar=O("tr");for(const De of rt){const Ve=$e[De],it=O("th");it.id="cc__row-"+Ve+I,z(it,"scope","col"),ie(it,"table-th"),it.innerHTML=Ve,M(yt,it)}M(ar,yt),M(Se,ar);const Wt=o.Ue.createDocumentFragment();for(const De of A){const Ve=O("tr");ie(Ve,"table-tr");for(const it of rt){const Ir=$e[it],Br=De[it],It=O("td"),ne=O(ae);ie(It,"table-td"),z(It,"data-column",Ir),z(It,"headers","cc__row-"+Ir+I),ne.insertAdjacentHTML("beforeend",Br),M(It,ne),M(Ve,It)}M(Wt,Ve)}M(pe,Wt),M(_e,Se),M(_e,pe),M(W,_e)}(U||v)&&M(E,W);const Ne=o.Pe||o.Ge;L?(S||(S=O(ae),ie(S,"section-toggles")),S.appendChild(E)):S=null,M(Ne,S||E)})),u&&(o.ze||(o.ze=O(gt),ie(o.ze,"btn"),z(o.ze,zr,"all"),M(b,o.ze),Ee(o.ze,He,(()=>a("all")))),o.ze.innerHTML=u),m&&(o.je||(o.je=O(gt),ie(o.je,"btn"),z(o.je,zr,"necessary"),M(b,o.je),Ee(o.je,He,(()=>a([])))),o.je.innerHTML=m),p&&(o.qe||(o.qe=O(gt),ie(o.qe,"btn"),ie(o.qe,"btn--secondary"),z(o.qe,zr,"save"),M(_,o.qe),Ee(o.qe,He,(()=>a()))),o.qe.innerHTML=p),o.Pe&&(o.we.replaceChild(o.Pe,o.Ge),o.Ge=o.Pe),pm(1),r.N||(r.N=!0,Ct(k.re.ue,sc,o.we),t(e),M(o.Ce,o.Fe),cm(o.we),setTimeout((()=>be(o.Fe,"cc--anim")),100)),lm(2)};function Md(e,t,r,o,n){const i=k.o,s=k.ne,a=O("label"),c=O("input"),l=O("span"),d=O("span"),u=O("span"),m=O("span"),p=O("span");if(m.innerHTML=Do(1,3),p.innerHTML=Do(0,3),c.type="checkbox",be(a,"section__toggle-wrapper"),be(c,"section__toggle"),be(m,"toggle__icon-on"),be(p,"toggle__icon-off"),be(l,"toggle__icon"),be(d,"toggle__icon-circle"),be(u,"toggle__label"),z(l,ht,"true"),o?(be(a,"toggle-service"),z(c,li,n),s.se[n][t]=c):s.ae[t]=c,o?(f=>{Ee(c,"change",(()=>{const g=s.se[f],h=s.ae[f];i.Z[f]=[];for(let b in g){const _=g[b];_.checked&&i.Z[f].push(_.value)}h.checked=i.Z[f].length>0}))})(n):(f=>{Ee(c,He,(()=>{const g=s.se[f],h=c.checked;i.Z[f]=[];for(let b in g)g[b].checked=h,h&&i.Z[f].push(b)}))})(t),c.value=t,u.textContent=e.replace(/<.*>.*<\/.*>/gm,""),M(d,p),M(d,m),M(l,d),i.D)(r.readOnly||r.enabled)&&(c.checked=!0);else if(o){const f=i.Y[n];c.checked=r.readOnly||le(f,t)}else le(i.R,t)&&(c.checked=!0);return r.readOnly&&(c.disabled=!0),M(a,c),M(a,l),M(a,u),a}const cs=()=>{const e=O("span");return k.ne.Ke||(k.ne.Ke=e),e},dc=(e,t)=>{const r=k.o,o=k.ne,{hide:n,showPreferences:i,acceptCategory:s}=e,a=r.u&&r.u.consentModal;if(!a)return;const c=a.acceptAllBtn,l=a.acceptNecessaryBtn,d=a.showPreferencesBtn,u=a.closeIconLabel,m=a.footer,p=a.label,f=a.title,g=b=>{n(),s(b)};if(!o.Qe){o.Qe=O(ae),o.he=O(ae),o.We=O(ae),o.Xe=O(ae),o.Ye=O(ae),be(o.Qe,"cm-wrapper"),be(o.he,"cm"),ze(o.We,"body"),ze(o.Xe,"texts"),ze(o.Ye,"btns"),z(o.he,"role","dialog"),z(o.he,"aria-modal","true"),z(o.he,ht,"false"),z(o.he,"aria-describedby","cm__desc"),p?z(o.he,"aria-label",p):f&&z(o.he,"aria-labelledby","cm__title");const b="box",_=r.i.guiOptions,S=_&&_.consentModal,w=(S&&S.layout||b).split(" ")[0]===b;f&&u&&w&&(o.Le||(o.Le=O(gt),o.Le.innerHTML=Do(),ze(o.Le,"btn"),ze(o.Le,"btn--close"),Ee(o.Le,He,(()=>{g([])})),M(o.We,o.Le)),z(o.Le,"aria-label",u)),M(o.We,o.Xe),(c||l||d)&&M(o.We,o.Ye),o.be=O(ae),z(o.be,"tabIndex",-1),M(o.he,o.be),M(o.he,o.We),M(o.Qe,o.he)}f&&(o.Ze||(o.Ze=O("h2"),o.Ze.className=o.Ze.id="cm__title",M(o.Xe,o.Ze)),o.Ze.innerHTML=f);let h=a.description;if(h&&(r.V&&(h=h.replace("{{revisionMessage}}",r.I?"":a.revisionMessage||"")),o.et||(o.et=O("p"),o.et.className=o.et.id="cm__desc",M(o.Xe,o.et)),o.et.innerHTML=h),c&&(o.tt||(o.tt=O(gt),M(o.tt,cs()),ze(o.tt,"btn"),z(o.tt,zr,"all"),Ee(o.tt,He,(()=>{g("all")}))),o.tt.firstElementChild.innerHTML=c),l&&(o.Ie||(o.Ie=O(gt),M(o.Ie,cs()),ze(o.Ie,"btn"),z(o.Ie,zr,"necessary"),Ee(o.Ie,He,(()=>{g([])}))),o.Ie.firstElementChild.innerHTML=l),d&&(o.ot||(o.ot=O(gt),M(o.ot,cs()),ze(o.ot,"btn"),ze(o.ot,"btn--secondary"),z(o.ot,zr,"show"),Ee(o.ot,"mouseenter",(()=>{r.N||to(e,t)})),Ee(o.ot,He,i)),o.ot.firstElementChild.innerHTML=d),o.nt||(o.nt=O(ae),ze(o.nt,To),c&&M(o.nt,o.tt),l&&M(o.nt,o.Ie),(c||l)&&M(o.We,o.nt),M(o.Ye,o.nt)),o.ot&&!o.st&&(o.st=O(ae),o.Ie&&o.tt?(ze(o.st,To),M(o.st,o.ot),M(o.Ye,o.st)):(M(o.nt,o.ot),ze(o.nt,To+"--uneven"))),m){if(!o.ct){let b=O(ae),_=O(ae);o.ct=O(ae),ze(b,"footer"),ze(_,"links"),ze(o.ct,"link-group"),M(_,o.ct),M(b,_),M(o.he,b)}o.ct.innerHTML=m}pm(0),r.T||(r.T=!0,Ct(k.re.ue,ic,o.he),t(e),M(o.Ce,o.Qe),cm(o.he),setTimeout((()=>be(o.Qe,"cc--anim")),100)),lm(1),im(o.We,e,to,t)},uc=e=>{if(!Ut(e))return null;if(e in k.o._)return e;let t=e.slice(0,2);return t in k.o._?t:null},fc=()=>k.o.l||k.o.i.language.default,pc=e=>{e&&(k.o.l=e)},mm=async e=>{const t=k.o;let r=uc(e)?e:fc(),o=t._[r];if(Ut(o)?o=await(async n=>{try{return await(await fetch(n)).json()}catch(i){return console.error(i),!1}})(o):_t(o)&&(o=await o()),!o)throw`Could not load translation for the '${r}' language`;return t.u=o,pc(r),!0},gm=()=>{let e=k.o.i.language.rtl,t=k.ne.Ce;e&&t&&(mo(e)||(e=[e]),le(e,k.o.l)?be(t,"cc--rtl"):Zt(t,"cc--rtl"))},vr=()=>{const e=k.ne;if(e.Ce)return;e.Ce=O(ae),e.Ce.id="cc-main",e.Ce.setAttribute("data-nosnippet",""),gm();let t=k.o.i.root;t&&Ut(t)&&(t=document.querySelector(t)),(t||e.Ue.body).appendChild(e.Ce)},hm=e=>Po((()=>localStorage.removeItem(e))),$d=(e,t)=>{if(t instanceof RegExp)return e.filter((r=>t.test(r)));{const r=om(e,t);return r>-1?[e[r]]:[]}},bm=e=>{const{hostname:t,protocol:r}=location,{name:o,path:n,domain:i,sameSite:s,useLocalStorage:a,secure:c}=k.t.cookie,l=e?(()=>{const p=k.o.S,f=p?new Date-p:0;return 864e5*Rd()-f})():864e5*Rd(),d=new Date;d.setTime(d.getTime()+l),k.o.p.expirationTime=d.getTime();const u=JSON.stringify(k.o.p);let m=o+"="+encodeURIComponent(u)+(l!==0?"; expires="+d.toUTCString():"")+"; Path="+n+"; SameSite="+s;le(t,".")&&(m+="; Domain="+i),c&&r==="https:"&&(m+="; Secure"),a?((p,f)=>{Po((()=>localStorage.setItem(p,f)))})(o,u):document.cookie=m,k.o.p},ea=(e,t,r)=>{if(e.length===0)return;const o=r||k.t.cookie.domain,n=t||k.t.cookie.path,i=o.slice(0,4)==="www.",s=i&&o.substring(4),a=(c,l)=>{l&&l.slice(0,1)!=="."&&(l="."+l),document.cookie=c+"=; path="+n+(l?"; domain="+l:"")+"; expires=Thu, 01 Jan 1970 00:00:01 GMT;"};for(const c of e)a(c,r),r||a(c,o),i&&a(c,s)},ym=e=>{const t=e||k.t.cookie.name,r=k.t.cookie.useLocalStorage;return((n,i)=>{let s;return s=Po((()=>JSON.parse(i?n:decodeURIComponent(n))),!0)||{},s})(r?(o=t,Po((()=>localStorage.getItem(o)))||""):mc(t,!0),r);var o},mc=(e,t)=>{const r=document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)");return r?t?r.pop():e:""},vm=e=>{const t=document.cookie.split(/;\s*/),r=[];for(const o of t){let n=o.split("=")[0];e?Po((()=>{e.test(n)&&r.push(n)})):r.push(n)}return r},gc=(e,t=[])=>{((r,o)=>{const{O:n,R:i,B:s,N:a,Z:c,$:l,X:d}=k.o;let u=[];if(r){mo(r)?u.push(...r):Ut(r)&&(u=r==="all"?n:[r]);for(const m of n)c[m]=le(u,m)?wt(d[m]):[]}else u=[...i,...l],a&&(u=(()=>{const m=k.ne.ae;if(!m)return[];let p=[];for(let f in m)m[f].checked&&p.push(f);return p})());u=u.filter((m=>!le(n,m)||!le(o,m))),u.push(...s),nm(u)})(e,t),(()=>{const r=k.o,{Z:o,B:n,Y:i,X:s,O:a}=r,c=a;r.te=Mt(i);for(const l of c){const d=s[l],u=wt(d),m=o[l]&&o[l].length>0,p=le(n,l);if(u.length!==0){if(i[l]=[],p)i[l].push(...u);else if(m){const f=o[l];i[l].push(...f)}else i[l]=r.Z[l];i[l]=ac(i[l])}}})(),(()=>{const r=k.o;r.L=k.t.mode===ko&&r.D?Hn(r.$,r.R):Hn(r.R,r.p.categories);let o=r.L.length>0,n=!1;for(const c of r.O)r.ee[c]=Hn(r.Y[c],r.te[c]),r.ee[c].length>0&&(n=!0);const i=k.ne.ae;for(const c in i)i[c].checked=le(r.R,c);for(const c of r.O){const l=k.ne.se[c],d=r.Y[c];for(const u in l)l[u].checked=le(d,u)}r.C||(r.C=new Date),r.M||(r.M=("10000000-1000-4000-8000"+-1e11).replace(/[018]/g,(c=>(c^crypto.getRandomValues(new Uint8Array(1))[0]&15>>c/4).toString(16)))),r.p={categories:Mt(r.R),revision:k.t.revision,data:r.h,consentTimestamp:r.C.toISOString(),consentId:r.M,services:Mt(r.Y),languageCode:k.o.l},r.S&&(r.p.lastConsentTimestamp=r.S.toISOString());let s=!1;const a=o||n;(r.D||a)&&(r.D&&(r.D=!1,s=!0),r.S=r.S?new Date:r.C,r.p.lastConsentTimestamp=r.S.toISOString(),bm(),k.t.autoClearCookies&&(s||a)&&(c=>{const l=k.o,d=vm(),u=(m=>{const p=k.o;return(m?p.O:p.L).filter((f=>{const g=p.P[f];return!!g&&!g.readOnly&&!!g.autoClear}))})(c);for(const m in l.ee)for(const p of l.ee[m]){const f=l.X[m][p].cookies;if(!le(l.Y[m],p)&&f)for(const g of f){const h=$d(d,g.name);ea(h,g.path,g.domain)}}for(const m of u){const p=l.P[m].autoClear,f=p&&p.cookies||[],g=le(l.L,m),h=!le(l.R,m),b=g&&h;if(c?h:b){p.reloadPage&&b&&(l.j=!0);for(const _ of f){const S=$d(d,_.name);ea(S,_.path,_.domain)}}}})(s),Zs()),s&&(Ct(k.re.ie),Ct(k.re.le),k.t.mode===tm)||(a&&Ct(k.re.de),r.j&&(r.j=!1,location.reload()))})()},km=e=>{const t=k.o.D?[]:k.o.R;return le(t,e)},KT=(e,t)=>{const{O:r,X:o}=k.o;if(!(e&&t&&Ut(t)&&le(r,t)&&wt(o[t]).length!==0))return!1;((n,i)=>{const s=k.o,{X:a,Z:c,N:l}=s,d=k.ne.se[i]||{},u=k.ne.ae[i]||{},m=wt(a[i]);if(c[i]=[],Ut(n)){if(n==="all"){if(c[i].push(...m),l)for(let f in d)d[f].checked=!0,wn(d[f])}else if(le(m,n)&&c[i].push(n),l)for(let f in d)d[f].checked=n===f,wn(d[f])}else if(mo(n))for(let f of m){const g=le(n,f);g&&c[i].push(f),l&&(d[f].checked=g,wn(d[f]))}const p=c[i].length===0;s.R=p?s.R.filter((f=>f!==i)):ac([...s.R,i]),l&&(u.checked=!p,wn(u))})(e,t),gc()},_m=(e,t)=>{const r=k.o.D?[]:k.o.Y[t]||[];return le(r,e)},XT=e=>mc(e,!0)!=="",Sm=(e,t,r)=>{let o=[];const n=i=>{if(Ut(i)){let s=mc(i);s!==""&&o.push(s)}else o.push(...vm(i))};if(mo(e))for(let i of e)n(i);else n(e);ea(o,t,r)},hc=e=>{const{ne:t,o:r}=k;if(!r.k){if(!r.T){if(!e)return;dc(Fo,vr)}r.k=!0,r.J=ui(),r.v&&am(!0),sm(t.he,1),be(t.ye,oc),z(t.he,ht,"false"),setTimeout((()=>{Et(k.ne.be)}),100),Ct(k.re.fe,ic)}},wm=()=>{const{ne:e,o:t,re:r}=k;t.k&&(t.k=!1,t.v&&am(),Et(e.Ke,!0),Zt(e.ye,oc),z(e.he,ht,"true"),Et(t.J),t.J=null,Ct(r._e,ic))},Em=()=>{const e=k.o;e.A||(e.N||to(Fo,vr),e.A=!0,e.k?e.U=ui():e.J=ui(),sm(k.ne.we,2),be(k.ne.ye,nc),z(k.ne.we,ht,"false"),setTimeout((()=>{Et(k.ne.ve)}),100),Ct(k.re.fe,sc))},Cm=()=>{const e=k.o;e.A&&(e.A=!1,(()=>{const t=bc(),r=k.o.P,o=k.ne.ae,n=k.ne.se,i=s=>le(k.o.$,s);for(const s in o){const a=!!r[s].readOnly;o[s].checked=a||(t?km(s):i(s));for(const c in n[s])n[s][c].checked=a||(t?_m(c,s):i(s))}})(),Et(k.ne.$e,!0),Zt(k.ne.ye,nc),z(k.ne.we,ht,"true"),e.k?(Et(e.U),e.U=null):(Et(e.J),e.J=null),Ct(k.re._e,sc))};var Fo={show:hc,hide:wm,showPreferences:Em,hidePreferences:Cm,acceptCategory:gc};const JT=async(e,t)=>{if(!uc(e))return!1;const r=k.o;return!(e===fc()&&t!==!0||!await mm(e)||(pc(e),r.T&&dc(Fo,vr),r.N&&to(Fo,vr),gm(),0))},ZT=()=>{const{F:e,Y:t}=k.o,{accepted:r,rejected:o}=(()=>{const{D:n,R:i,O:s}=k.o;return{accepted:i,rejected:n?[]:s.filter((a=>!le(i,a)))}})();return Mt({acceptType:e,acceptedCategories:r,rejectedCategories:o,acceptedServices:t,rejectedServices:WT()})},QT=(e,t)=>{let r=document.querySelector('script[src="'+e+'"]');return new Promise((o=>{if(r)return o(!0);if(r=O("script"),di(t))for(const n in t)z(r,n,t[n]);r.onload=()=>o(!0),r.onerror=()=>{r.remove(),o(!1)},r.src=e,M(document.head,r)}))},e1=e=>{let t,r=e.value,o=e.mode,n=!1;const i=k.o;if(o==="update"){i.h=t=xm("data");const s=typeof t==typeof r;if(s&&typeof t=="object"){!t&&(t={});for(let a in r)t[a]!==r[a]&&(t[a]=r[a],n=!0)}else!s&&t||t===r||(t=r,n=!0)}else t=r,n=!0;return n&&(i.h=t,i.p.data=t,bm(!0)),n},xm=(e,t)=>{const r=ym(t);return e?r[e]:r},t1=e=>{const t=k.t,r=k.o.i;return e?t[e]||r[e]:{...t,...r,cookie:{...t.cookie}}},bc=()=>!k.o.D,Tm=async e=>{const{o:t,t:r,re:o}=k,n=window;if(!n._ccRun){if(n._ccRun=!0,(a=>{const{ne:c,t:l,o:d}=k,u=l,m=d,{cookie:p}=u,f=k.ce,g=a.cookie,h=a.categories,b=wt(h)||[],_=navigator,S=document;c.Ue=S,c.ye=S.documentElement,p.domain=location.hostname,m.i=a,m.P=h,m.O=b,m._=a.language.translations,m.v=!!a.disablePageInteraction,f.ie=a.onFirstConsent,f.le=a.onConsent,f.de=a.onChange,f._e=a.onModalHide,f.fe=a.onModalShow,f.ue=a.onModalReady;const{mode:w,autoShow:I,lazyHtmlGeneration:B,autoClearCookies:v,revision:R,manageScriptTags:Z,hideFromBots:T}=a;w===ko&&(u.mode=w),typeof v=="boolean"&&(u.autoClearCookies=v),typeof Z=="boolean"&&(u.manageScriptTags=Z),typeof R=="number"&&R>=0&&(u.revision=R,m.V=!0),typeof I=="boolean"&&(u.autoShow=I),typeof B=="boolean"&&(u.lazyHtmlGeneration=B),T===!1&&(u.hideFromBots=!1),u.hideFromBots===!0&&_&&(m.G=_.userAgent&&/bot|crawl|spider|slurp|teoma/i.test(_.userAgent)||_.webdriver),di(g)&&(u.cookie={...p,...g}),u.autoClearCookies,m.V,u.manageScriptTags,(A=>{const{P,X:D,Y:L,Z:Q,B:F}=k.o;for(let U of A){const E=P[U],W=E.services||{},$=di(W)&&wt(W)||[];D[U]={},L[U]=[],Q[U]=[],E.readOnly&&(F.push(U),L[U]=$),k.ne.se[U]={};for(let q of $){const V=W[q];V.Se=!1,D[U][q]=V}}})(b),(()=>{if(!k.t.manageScriptTags)return;const A=k.o,P=cc(document,"script["+li+"]");for(const D of P){let L=jn(D,li),Q=D.dataset.service||"",F=!1;if(L&&L.charAt(0)==="!"&&(L=L.slice(1),F=!0),Q.charAt(0)==="!"&&(Q=Q.slice(1),F=!0),le(A.O,L)&&(A.oe.push({Me:D,xe:!1,ke:F,De:L,Te:Q}),Q)){const U=A.X[L];U[Q]||(U[Q]={Se:!1})}}})(),pc((()=>{const A=k.o.i.language.autoDetect;if(A){const P={browser:navigator.language,document:document.documentElement.lang},D=uc(P[A]);if(D)return D}return fc()})())})(e),t.G)return;(()=>{const a=k.o,c=k.t,l=ym(),{categories:d,services:u,consentId:m,consentTimestamp:p,lastConsentTimestamp:f,data:g,revision:h}=l,b=mo(d);a.p=l,a.M=m;const _=!!m&&Ut(m);a.C=p,a.C&&(a.C=new Date(p)),a.S=f,a.S&&(a.S=new Date(f)),a.h=g!==void 0?g:null,a.V&&_&&h!==c.revision&&(a.I=!1),a.D=!(_&&a.I&&a.C&&a.S&&b),c.cookie.useLocalStorage&&!a.D&&(a.D=new Date().getTime()>(l.expirationTime||0),a.D&&hm(c.cookie.name)),a.D,(()=>{const S=k.o;for(const w of S.O){const I=S.P[w];if(I.readOnly||I.enabled){S.$.push(w);const B=S.X[w]||{};for(let v in B)S.Z[w].push(v),S.i.mode===ko&&S.Y[w].push(v)}}})(),a.D?c.mode===ko&&(a.R=[...a.$]):(a.Y={...a.Y,...u},a.Z={...a.Y},nm([...a.B,...d]))})();const s=bc();if(!await mm())return!1;if(im(null,i=Fo,to,vr),k.o.D&&dc(i,vr),k.t.lazyHtmlGeneration||to(i,vr),r.autoShow&&!s&&hc(!0),s)return Zs(),Ct(o.le);r.mode===ko&&Zs(t.$)}var i},r1=e=>{const{Ce:t,ye:r}=k.ne,{name:o,path:n,domain:i,useLocalStorage:s}=k.t.cookie;e&&(s?hm(o):Sm(o,n,i));for(const{pe:c,ge:l,me:d}of k.o.m)c.removeEventListener(l,d);t&&t.remove(),r&&r.classList.remove(Js,nc,oc);const a=new rm;for(const c in k)k[c]=a[c];window._ccRun=!1},o1=Object.freeze(Object.defineProperty({__proto__:null,acceptCategory:gc,acceptService:KT,acceptedCategory:km,acceptedService:_m,eraseCookies:Sm,getConfig:t1,getCookie:xm,getUserPreferences:ZT,hide:wm,hidePreferences:Cm,loadScript:QT,reset:r1,run:Tm,setCookieData:e1,setLanguage:JT,show:hc,showPreferences:Em,validConsent:bc,validCookie:XT},Symbol.toStringTag,{value:"Module"})),n1={install:(e,t)=>{e.config.globalProperties.$CookieConsent=o1;const r=()=>{Tm(t)};setTimeout(()=>{"requestIdleCallback"in window?requestIdleCallback(r,{timeout:2e3}):r()},3e3)}};var i1={transitionDuration:"{transition.duration}"},s1={borderWidth:"0 0 1px 0",borderColor:"{content.border.color}"},a1={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",activeHoverColor:"{text.color}",padding:"1.125rem",fontWeight:"600",borderRadius:"0",borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",hoverBackground:"{content.background}",activeBackground:"{content.background}",activeHoverBackground:"{content.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},toggleIcon:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",activeHoverColor:"{text.color}"},first:{topBorderRadius:"{content.border.radius}",borderWidth:"0"},last:{bottomBorderRadius:"{content.border.radius}",activeBottomBorderRadius:"0"}},c1={borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",color:"{text.color}",padding:"0 1.125rem 1.125rem 1.125rem"},l1={root:i1,panel:s1,header:a1,content:c1},d1={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},u1={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},f1={padding:"{list.padding}",gap:"{list.gap}"},p1={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},m1={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},g1={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},h1={borderRadius:"{border.radius.sm}"},b1={padding:"{list.option.padding}"},y1={light:{chip:{focusBackground:"{surface.200}",focusColor:"{surface.800}"},dropdown:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",focusColor:"{surface.0}"},dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"}}},v1={root:d1,overlay:u1,list:f1,option:p1,optionGroup:m1,dropdown:g1,chip:h1,emptyMessage:b1,colorScheme:y1},k1={width:"2rem",height:"2rem",fontSize:"1rem",background:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},_1={size:"1rem"},S1={borderColor:"{content.background}",offset:"-0.75rem"},w1={width:"3rem",height:"3rem",fontSize:"1.5rem",icon:{size:"1.5rem"},group:{offset:"-1rem"}},E1={width:"4rem",height:"4rem",fontSize:"2rem",icon:{size:"2rem"},group:{offset:"-1.5rem"}},C1={root:k1,icon:_1,group:S1,lg:w1,xl:E1},x1={borderRadius:"{border.radius.md}",padding:"0 0.5rem",fontSize:"0.75rem",fontWeight:"700",minWidth:"1.5rem",height:"1.5rem"},T1={size:"0.5rem"},R1={fontSize:"0.625rem",minWidth:"1.25rem",height:"1.25rem"},I1={fontSize:"0.875rem",minWidth:"1.75rem",height:"1.75rem"},B1={fontSize:"1rem",minWidth:"2rem",height:"2rem"},A1={light:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.500}",color:"{surface.0}"},info:{background:"{sky.500}",color:"{surface.0}"},warn:{background:"{orange.500}",color:"{surface.0}"},danger:{background:"{red.500}",color:"{surface.0}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"{green.400}",color:"{green.950}"},info:{background:"{sky.400}",color:"{sky.950}"},warn:{background:"{orange.400}",color:"{orange.950}"},danger:{background:"{red.400}",color:"{red.950}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}},M1={root:x1,dot:T1,sm:R1,lg:I1,xl:B1,colorScheme:A1},$1={borderRadius:{none:"0",xs:"2px",sm:"4px",md:"6px",lg:"8px",xl:"12px"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"}},O1={transitionDuration:"0.2s",focusRing:{width:"1px",style:"solid",color:"{primary.color}",offset:"2px",shadow:"none"},disabledOpacity:"0.6",iconSize:"1rem",anchorGutter:"2px",primary:{50:"{emerald.50}",100:"{emerald.100}",200:"{emerald.200}",300:"{emerald.300}",400:"{emerald.400}",500:"{emerald.500}",600:"{emerald.600}",700:"{emerald.700}",800:"{emerald.800}",900:"{emerald.900}",950:"{emerald.950}"},formField:{paddingX:"0.75rem",paddingY:"0.5rem",sm:{fontSize:"0.875rem",paddingX:"0.625rem",paddingY:"0.375rem"},lg:{fontSize:"1.125rem",paddingX:"0.875rem",paddingY:"0.625rem"},borderRadius:"{border.radius.md}",focusRing:{width:"0",style:"none",color:"transparent",offset:"0",shadow:"none"},transitionDuration:"{transition.duration}"},list:{padding:"0.25rem 0.25rem",gap:"2px",header:{padding:"0.5rem 1rem 0.25rem 1rem"},option:{padding:"0.5rem 0.75rem",borderRadius:"{border.radius.sm}"},optionGroup:{padding:"0.5rem 0.75rem",fontWeight:"600"}},content:{borderRadius:"{border.radius.md}"},mask:{transitionDuration:"0.3s"},navigation:{list:{padding:"0.25rem 0.25rem",gap:"2px"},item:{padding:"0.5rem 0.75rem",borderRadius:"{border.radius.sm}",gap:"0.5rem"},submenuLabel:{padding:"0.5rem 0.75rem",fontWeight:"600"},submenuIcon:{size:"0.875rem"}},overlay:{select:{borderRadius:"{border.radius.md}",shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"},popover:{borderRadius:"{border.radius.md}",padding:"0.75rem",shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"},modal:{borderRadius:"{border.radius.xl}",padding:"1.25rem",shadow:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)"},navigation:{shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"}},colorScheme:{light:{surface:{0:"#ffffff",50:"{slate.50}",100:"{slate.100}",200:"{slate.200}",300:"{slate.300}",400:"{slate.400}",500:"{slate.500}",600:"{slate.600}",700:"{slate.700}",800:"{slate.800}",900:"{slate.900}",950:"{slate.950}"},primary:{color:"{primary.500}",contrastColor:"#ffffff",hoverColor:"{primary.600}",activeColor:"{primary.700}"},highlight:{background:"{primary.50}",focusBackground:"{primary.100}",color:"{primary.700}",focusColor:"{primary.800}"},mask:{background:"rgba(0,0,0,0.4)",color:"{surface.200}"},formField:{background:"{surface.0}",disabledBackground:"{surface.200}",filledBackground:"{surface.50}",filledHoverBackground:"{surface.50}",filledFocusBackground:"{surface.50}",borderColor:"{surface.300}",hoverBorderColor:"{surface.400}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.400}",color:"{surface.700}",disabledColor:"{surface.500}",placeholderColor:"{surface.500}",invalidPlaceholderColor:"{red.600}",floatLabelColor:"{surface.500}",floatLabelFocusColor:"{primary.600}",floatLabelActiveColor:"{surface.500}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.400}",shadow:"0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)"},text:{color:"{surface.700}",hoverColor:"{surface.800}",mutedColor:"{surface.500}",hoverMutedColor:"{surface.600}"},content:{background:"{surface.0}",hoverBackground:"{surface.100}",borderColor:"{surface.200}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"},popover:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"},modal:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.100}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.400}",focusColor:"{surface.500}"}},optionGroup:{background:"transparent",color:"{text.muted.color}"}},navigation:{item:{focusBackground:"{surface.100}",activeBackground:"{surface.100}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"}},submenuLabel:{background:"transparent",color:"{text.muted.color}"},submenuIcon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"}}},dark:{surface:{0:"#ffffff",50:"{zinc.50}",100:"{zinc.100}",200:"{zinc.200}",300:"{zinc.300}",400:"{zinc.400}",500:"{zinc.500}",600:"{zinc.600}",700:"{zinc.700}",800:"{zinc.800}",900:"{zinc.900}",950:"{zinc.950}"},primary:{color:"{primary.400}",contrastColor:"{surface.900}",hoverColor:"{primary.300}",activeColor:"{primary.200}"},highlight:{background:"color-mix(in srgb, {primary.400}, transparent 84%)",focusBackground:"color-mix(in srgb, {primary.400}, transparent 76%)",color:"rgba(255,255,255,.87)",focusColor:"rgba(255,255,255,.87)"},mask:{background:"rgba(0,0,0,0.6)",color:"{surface.200}"},formField:{background:"{surface.950}",disabledBackground:"{surface.700}",filledBackground:"{surface.800}",filledHoverBackground:"{surface.800}",filledFocusBackground:"{surface.800}",borderColor:"{surface.600}",hoverBorderColor:"{surface.500}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.300}",color:"{surface.0}",disabledColor:"{surface.400}",placeholderColor:"{surface.400}",invalidPlaceholderColor:"{red.400}",floatLabelColor:"{surface.400}",floatLabelFocusColor:"{primary.color}",floatLabelActiveColor:"{surface.400}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.400}",shadow:"0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)"},text:{color:"{surface.0}",hoverColor:"{surface.0}",mutedColor:"{surface.400}",hoverMutedColor:"{surface.300}"},content:{background:"{surface.900}",hoverBackground:"{surface.800}",borderColor:"{surface.700}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"},popover:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"},modal:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.800}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.500}",focusColor:"{surface.400}"}},optionGroup:{background:"transparent",color:"{text.muted.color}"}},navigation:{item:{focusBackground:"{surface.800}",activeBackground:"{surface.800}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"}},submenuLabel:{background:"transparent",color:"{text.muted.color}"},submenuIcon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"}}}}},L1={primitive:$1,semantic:O1},N1={borderRadius:"{content.border.radius}"},D1={root:N1},P1={padding:"1rem",background:"{content.background}",gap:"0.5rem",transitionDuration:"{transition.duration}"},F1={color:"{text.muted.color}",hoverColor:"{text.color}",borderRadius:"{content.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",hoverColor:"{navigation.item.icon.focus.color}"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},j1={color:"{navigation.item.icon.color}"},H1={root:P1,item:F1,separator:j1},U1={borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",gap:"0.5rem",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",iconOnlyWidth:"2.5rem",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}",iconOnlyWidth:"2rem"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}",iconOnlyWidth:"3rem"},label:{fontWeight:"500"},raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"},badgeSize:"1rem",transitionDuration:"{form.field.transition.duration}"},z1={light:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"none"}},secondary:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",borderColor:"{surface.100}",hoverBorderColor:"{surface.200}",activeBorderColor:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}",focusRing:{color:"{surface.600}",shadow:"none"}},info:{background:"{sky.500}",hoverBackground:"{sky.600}",activeBackground:"{sky.700}",borderColor:"{sky.500}",hoverBorderColor:"{sky.600}",activeBorderColor:"{sky.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{sky.500}",shadow:"none"}},success:{background:"{green.500}",hoverBackground:"{green.600}",activeBackground:"{green.700}",borderColor:"{green.500}",hoverBorderColor:"{green.600}",activeBorderColor:"{green.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{green.500}",shadow:"none"}},warn:{background:"{orange.500}",hoverBackground:"{orange.600}",activeBackground:"{orange.700}",borderColor:"{orange.500}",hoverBorderColor:"{orange.600}",activeBorderColor:"{orange.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{orange.500}",shadow:"none"}},help:{background:"{purple.500}",hoverBackground:"{purple.600}",activeBackground:"{purple.700}",borderColor:"{purple.500}",hoverBorderColor:"{purple.600}",activeBorderColor:"{purple.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{purple.500}",shadow:"none"}},danger:{background:"{red.500}",hoverBackground:"{red.600}",activeBackground:"{red.700}",borderColor:"{red.500}",hoverBorderColor:"{red.600}",activeBorderColor:"{red.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{red.500}",shadow:"none"}},contrast:{background:"{surface.950}",hoverBackground:"{surface.900}",activeBackground:"{surface.800}",borderColor:"{surface.950}",hoverBorderColor:"{surface.900}",activeBorderColor:"{surface.800}",color:"{surface.0}",hoverColor:"{surface.0}",activeColor:"{surface.0}",focusRing:{color:"{surface.950}",shadow:"none"}}},outlined:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",borderColor:"{primary.200}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.200}",color:"{surface.500}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",borderColor:"{green.200}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",borderColor:"{sky.200}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",borderColor:"{orange.200}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",borderColor:"{purple.200}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",borderColor:"{red.200}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.700}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.200}",color:"{surface.700}"}},text:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.500}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.700}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}},dark:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"none"}},secondary:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",borderColor:"{surface.800}",hoverBorderColor:"{surface.700}",activeBorderColor:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}",focusRing:{color:"{surface.300}",shadow:"none"}},info:{background:"{sky.400}",hoverBackground:"{sky.300}",activeBackground:"{sky.200}",borderColor:"{sky.400}",hoverBorderColor:"{sky.300}",activeBorderColor:"{sky.200}",color:"{sky.950}",hoverColor:"{sky.950}",activeColor:"{sky.950}",focusRing:{color:"{sky.400}",shadow:"none"}},success:{background:"{green.400}",hoverBackground:"{green.300}",activeBackground:"{green.200}",borderColor:"{green.400}",hoverBorderColor:"{green.300}",activeBorderColor:"{green.200}",color:"{green.950}",hoverColor:"{green.950}",activeColor:"{green.950}",focusRing:{color:"{green.400}",shadow:"none"}},warn:{background:"{orange.400}",hoverBackground:"{orange.300}",activeBackground:"{orange.200}",borderColor:"{orange.400}",hoverBorderColor:"{orange.300}",activeBorderColor:"{orange.200}",color:"{orange.950}",hoverColor:"{orange.950}",activeColor:"{orange.950}",focusRing:{color:"{orange.400}",shadow:"none"}},help:{background:"{purple.400}",hoverBackground:"{purple.300}",activeBackground:"{purple.200}",borderColor:"{purple.400}",hoverBorderColor:"{purple.300}",activeBorderColor:"{purple.200}",color:"{purple.950}",hoverColor:"{purple.950}",activeColor:"{purple.950}",focusRing:{color:"{purple.400}",shadow:"none"}},danger:{background:"{red.400}",hoverBackground:"{red.300}",activeBackground:"{red.200}",borderColor:"{red.400}",hoverBorderColor:"{red.300}",activeBorderColor:"{red.200}",color:"{red.950}",hoverColor:"{red.950}",activeColor:"{red.950}",focusRing:{color:"{red.400}",shadow:"none"}},contrast:{background:"{surface.0}",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{surface.0}",hoverBorderColor:"{surface.100}",activeBorderColor:"{surface.200}",color:"{surface.950}",hoverColor:"{surface.950}",activeColor:"{surface.950}",focusRing:{color:"{surface.0}",shadow:"none"}}},outlined:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",borderColor:"{primary.700}",color:"{primary.color}"},secondary:{hoverBackground:"rgba(255,255,255,0.04)",activeBackground:"rgba(255,255,255,0.16)",borderColor:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",borderColor:"{green.700}",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",borderColor:"{sky.700}",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",borderColor:"{orange.700}",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",borderColor:"{purple.700}",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",borderColor:"{red.700}",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.500}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.600}",color:"{surface.0}"}},text:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",color:"{primary.color}"},secondary:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}}},W1={root:U1,colorScheme:z1},q1={background:"{content.background}",borderRadius:"{border.radius.xl}",color:"{content.color}",shadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},V1={padding:"1.25rem",gap:"0.5rem"},Y1={gap:"0.5rem"},G1={fontSize:"1.25rem",fontWeight:"500"},K1={color:"{text.muted.color}"},X1={root:q1,body:V1,caption:Y1,title:G1,subtitle:K1},J1={transitionDuration:"{transition.duration}"},Z1={gap:"0.25rem"},Q1={padding:"1rem",gap:"0.5rem"},eR={width:"2rem",height:"0.5rem",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},tR={light:{indicator:{background:"{surface.200}",hoverBackground:"{surface.300}",activeBackground:"{primary.color}"}},dark:{indicator:{background:"{surface.700}",hoverBackground:"{surface.600}",activeBackground:"{primary.color}"}}},rR={root:J1,content:Z1,indicatorList:Q1,indicator:eR,colorScheme:tR},oR={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},nR={width:"2.5rem",color:"{form.field.icon.color}"},iR={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},sR={padding:"{list.padding}",gap:"{list.gap}",mobileIndent:"1rem"},aR={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",icon:{color:"{list.option.icon.color}",focusColor:"{list.option.icon.focus.color}",size:"0.875rem"}},cR={color:"{form.field.icon.color}"},lR={root:oR,dropdown:nR,overlay:iR,list:sR,option:aR,clearIcon:cR},dR={borderRadius:"{border.radius.sm}",width:"1.25rem",height:"1.25rem",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{width:"1rem",height:"1rem"},lg:{width:"1.5rem",height:"1.5rem"}},uR={size:"0.875rem",color:"{form.field.color}",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.75rem"},lg:{size:"1rem"}},fR={root:dR,icon:uR},pR={borderRadius:"16px",paddingX:"0.75rem",paddingY:"0.5rem",gap:"0.5rem",transitionDuration:"{transition.duration}"},mR={width:"2rem",height:"2rem"},gR={size:"1rem"},hR={size:"1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"}},bR={light:{root:{background:"{surface.100}",color:"{surface.800}"},icon:{color:"{surface.800}"},removeIcon:{color:"{surface.800}"}},dark:{root:{background:"{surface.800}",color:"{surface.0}"},icon:{color:"{surface.0}"},removeIcon:{color:"{surface.0}"}}},yR={root:pR,image:mR,icon:gR,removeIcon:hR,colorScheme:bR},vR={transitionDuration:"{transition.duration}"},kR={width:"1.5rem",height:"1.5rem",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},_R={shadow:"{overlay.popover.shadow}",borderRadius:"{overlay.popover.borderRadius}"},SR={light:{panel:{background:"{surface.800}",borderColor:"{surface.900}"},handle:{color:"{surface.0}"}},dark:{panel:{background:"{surface.900}",borderColor:"{surface.700}"},handle:{color:"{surface.0}"}}},wR={root:vR,preview:kR,panel:_R,colorScheme:SR},ER={size:"2rem",color:"{overlay.modal.color}"},CR={gap:"1rem"},xR={icon:ER,content:CR},TR={background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},RR={padding:"{overlay.popover.padding}",gap:"1rem"},IR={size:"1.5rem",color:"{overlay.popover.color}"},BR={gap:"0.5rem",padding:"0 {overlay.popover.padding} {overlay.popover.padding} {overlay.popover.padding}"},AR={root:TR,content:RR,icon:IR,footer:BR},MR={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},$R={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},OR={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},LR={mobileIndent:"1rem"},NR={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},DR={borderColor:"{content.border.color}"},PR={root:MR,list:$R,item:OR,submenu:LR,submenuIcon:NR,separator:DR},FR=`
    li.p-autocomplete-option,
    div.p-cascadeselect-option-content,
    li.p-listbox-option,
    li.p-multiselect-option,
    li.p-select-option,
    li.p-listbox-option,
    div.p-tree-node-content,
    li.p-datatable-filter-constraint,
    .p-datatable .p-datatable-tbody > tr,
    .p-treetable .p-treetable-tbody > tr,
    div.p-menu-item-content,
    div.p-tieredmenu-item-content,
    div.p-contextmenu-item-content,
    div.p-menubar-item-content,
    div.p-megamenu-item-content,
    div.p-panelmenu-header-content,
    div.p-panelmenu-item-content,
    th.p-datatable-header-cell,
    th.p-treetable-header-cell,
    thead.p-datatable-thead > tr > th,
    .p-treetable thead.p-treetable-thead>tr>th {
        transition: none;
    }
`,jR={transitionDuration:"{transition.duration}"},HR={background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},UR={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{datatable.border.color}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},zR={fontWeight:"600"},WR={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},qR={borderColor:"{datatable.border.color}",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},VR={background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},YR={fontWeight:"600"},GR={background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},KR={color:"{primary.color}"},XR={width:"0.5rem"},JR={width:"1px",color:"{primary.color}"},ZR={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},QR={size:"2rem"},eI={hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},tI={inlineGap:"0.5rem",overlaySelect:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},overlayPopover:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}",gap:"0.5rem"},rule:{borderColor:"{content.border.color}"},constraintList:{padding:"{list.padding}",gap:"{list.gap}"},constraint:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",separator:{borderColor:"{content.border.color}"},padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"}},rI={borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},oI={borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},nI={light:{root:{borderColor:"{content.border.color}"},row:{stripedBackground:"{surface.50}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},row:{stripedBackground:"{surface.950}"},bodyCell:{selectedBorderColor:"{primary.900}"}}},iI=`
    .p-datatable-mask.p-overlay-mask {
        --px-mask-background: light-dark(rgba(255,255,255,0.5),rgba(0,0,0,0.3));
    }
`,sI={root:jR,header:HR,headerCell:UR,columnTitle:zR,row:WR,bodyCell:qR,footerCell:VR,columnFooter:YR,footer:GR,dropPoint:KR,columnResizer:XR,resizeIndicator:JR,sortIcon:ZR,loadingIcon:QR,rowToggleButton:eI,filter:tI,paginatorTop:rI,paginatorBottom:oI,colorScheme:nI,css:iI},aI={borderColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0"},cI={background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",borderRadius:"0"},lI={background:"{content.background}",color:"{content.color}",borderColor:"transparent",borderWidth:"0",padding:"0",borderRadius:"0"},dI={background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"1px 0 0 0",padding:"0.75rem 1rem",borderRadius:"0"},uI={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},fI={borderColor:"{content.border.color}",borderWidth:"1px 0 0 0"},pI={root:aI,header:cI,content:lI,footer:dI,paginatorTop:uI,paginatorBottom:fI},mI={transitionDuration:"{transition.duration}"},gI={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}"},hI={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",padding:"0 0 0.5rem 0"},bI={gap:"0.5rem",fontWeight:"500"},yI={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},vI={color:"{form.field.icon.color}"},kI={hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},_I={hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},SI={borderColor:"{content.border.color}",gap:"{overlay.popover.padding}"},wI={margin:"0.5rem 0 0 0"},EI={padding:"0.25rem",fontWeight:"500",color:"{content.color}"},CI={hoverBackground:"{content.hover.background}",selectedBackground:"{primary.color}",rangeSelectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{primary.contrast.color}",rangeSelectedColor:"{highlight.color}",width:"2rem",height:"2rem",borderRadius:"50%",padding:"0.25rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},xI={margin:"0.5rem 0 0 0"},TI={padding:"0.375rem",borderRadius:"{content.border.radius}"},RI={margin:"0.5rem 0 0 0"},II={padding:"0.375rem",borderRadius:"{content.border.radius}"},BI={padding:"0.5rem 0 0 0",borderColor:"{content.border.color}"},AI={padding:"0.5rem 0 0 0",borderColor:"{content.border.color}",gap:"0.5rem",buttonGap:"0.25rem"},MI={light:{dropdown:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"},today:{background:"{surface.200}",color:"{surface.900}"}},dark:{dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"},today:{background:"{surface.700}",color:"{surface.0}"}}},$I={root:mI,panel:gI,header:hI,title:bI,dropdown:yI,inputIcon:vI,selectMonth:kI,selectYear:_I,group:SI,dayView:wI,weekDay:EI,date:CI,monthView:xI,month:TI,yearView:RI,year:II,buttonbar:BI,timePicker:AI,colorScheme:MI},OI={background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",borderRadius:"{overlay.modal.border.radius}",shadow:"{overlay.modal.shadow}"},LI={padding:"{overlay.modal.padding}",gap:"0.5rem"},NI={fontSize:"1.25rem",fontWeight:"600"},DI={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},PI={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}",gap:"0.5rem"},FI={root:OI,header:LI,title:NI,content:DI,footer:PI},jI={borderColor:"{content.border.color}"},HI={background:"{content.background}",color:"{text.color}"},UI={margin:"1rem 0",padding:"0 1rem",content:{padding:"0 0.5rem"}},zI={margin:"0 1rem",padding:"0.5rem 0",content:{padding:"0.5rem 0"}},WI={root:jI,content:HI,horizontal:UI,vertical:zI},qI={background:"rgba(255, 255, 255, 0.1)",borderColor:"rgba(255, 255, 255, 0.2)",padding:"0.5rem",borderRadius:"{border.radius.xl}"},VI={borderRadius:"{content.border.radius}",padding:"0.5rem",size:"3rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},YI={root:qI,item:VI},GI={background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",shadow:"{overlay.modal.shadow}"},KI={padding:"{overlay.modal.padding}"},XI={fontSize:"1.5rem",fontWeight:"600"},JI={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},ZI={padding:"{overlay.modal.padding}"},QI={root:GI,header:KI,title:XI,content:JI,footer:ZI},e5={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}"},t5={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},r5={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}",padding:"{list.padding}"},o5={focusBackground:"{list.option.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},n5={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},i5={toolbar:e5,toolbarItem:t5,overlay:r5,overlayOption:o5,content:n5},s5={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",padding:"0 1.125rem 1.125rem 1.125rem",transitionDuration:"{transition.duration}"},a5={background:"{content.background}",hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",borderRadius:"{content.border.radius}",borderWidth:"1px",borderColor:"transparent",padding:"0.5rem 0.75rem",gap:"0.5rem",fontWeight:"600",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},c5={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}"},l5={padding:"0"},d5={root:s5,legend:a5,toggleIcon:c5,content:l5},u5={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},f5={background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"unset",borderWidth:"0",borderRadius:"0",gap:"0.5rem"},p5={highlightBorderColor:"{primary.color}",padding:"0 1.125rem 1.125rem 1.125rem",gap:"1rem"},m5={padding:"1rem",gap:"1rem",borderColor:"{content.border.color}",info:{gap:"0.5rem"}},g5={gap:"0.5rem"},h5={height:"0.25rem"},b5={gap:"0.5rem"},y5={root:u5,header:f5,content:p5,file:m5,fileList:g5,progressbar:h5,basic:b5},v5={color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",activeColor:"{form.field.float.label.active.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",positionY:"{form.field.padding.y}",fontWeight:"500",active:{fontSize:"0.75rem",fontWeight:"400"}},k5={active:{top:"-1.25rem"}},_5={input:{paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"},active:{top:"{form.field.padding.y}"}},S5={borderRadius:"{border.radius.xs}",active:{background:"{form.field.background}",padding:"0 0.125rem"}},w5={root:v5,over:k5,in:_5,on:S5},E5={borderWidth:"1px",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},C5={background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.100}",hoverColor:"{surface.0}",size:"3rem",gutter:"0.5rem",prev:{borderRadius:"50%"},next:{borderRadius:"50%"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},x5={size:"1.5rem"},T5={background:"{content.background}",padding:"1rem 0.25rem"},R5={size:"2rem",borderRadius:"{content.border.radius}",gutter:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},I5={size:"1rem"},B5={background:"rgba(0, 0, 0, 0.5)",color:"{surface.100}",padding:"1rem"},A5={gap:"0.5rem",padding:"1rem"},M5={width:"1rem",height:"1rem",activeBackground:"{primary.color}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},$5={background:"rgba(0, 0, 0, 0.5)"},O5={background:"rgba(255, 255, 255, 0.4)",hoverBackground:"rgba(255, 255, 255, 0.6)",activeBackground:"rgba(255, 255, 255, 0.9)"},L5={size:"3rem",gutter:"0.5rem",background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.50}",hoverColor:"{surface.0}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},N5={size:"1.5rem"},D5={light:{thumbnailNavButton:{hoverBackground:"{surface.100}",color:"{surface.600}",hoverColor:"{surface.700}"},indicatorButton:{background:"{surface.200}",hoverBackground:"{surface.300}"}},dark:{thumbnailNavButton:{hoverBackground:"{surface.700}",color:"{surface.400}",hoverColor:"{surface.0}"},indicatorButton:{background:"{surface.700}",hoverBackground:"{surface.600}"}}},P5={root:E5,navButton:C5,navIcon:x5,thumbnailsContent:T5,thumbnailNavButton:R5,thumbnailNavButtonIcon:I5,caption:B5,indicatorList:A5,indicatorButton:M5,insetIndicatorList:$5,insetIndicatorButton:O5,closeButton:L5,closeButtonIcon:N5,colorScheme:D5},F5={color:"{form.field.icon.color}"},j5={icon:F5},H5={color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",top:"{form.field.padding.y}",fontSize:"0.75rem",fontWeight:"400"},U5={paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"},z5={root:H5,input:U5},W5={transitionDuration:"{transition.duration}"},q5={icon:{size:"1.5rem"},mask:{background:"{mask.background}",color:"{mask.color}"}},V5={position:{left:"auto",right:"1rem",top:"1rem",bottom:"auto"},blur:"8px",background:"rgba(255,255,255,0.1)",borderColor:"rgba(255,255,255,0.2)",borderWidth:"1px",borderRadius:"30px",padding:".5rem",gap:"0.5rem"},Y5={hoverBackground:"rgba(255,255,255,0.1)",color:"{surface.50}",hoverColor:"{surface.0}",size:"3rem",iconSize:"1.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},G5={root:W5,preview:q5,toolbar:V5,action:Y5},K5={size:"15px",hoverSize:"30px",background:"rgba(255,255,255,0.3)",hoverBackground:"rgba(255,255,255,0.3)",borderColor:"unset",hoverBorderColor:"unset",borderWidth:"0",borderRadius:"50%",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"rgba(255,255,255,0.3)",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},X5={handle:K5},J5={padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",gap:"0.5rem"},Z5={fontWeight:"500"},Q5={size:"1rem"},eB={light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)"},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)"},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)"},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)"},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)"},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)"}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)"},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)"},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)"},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)"},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)"},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)"}}},tB={root:J5,text:Z5,icon:Q5,colorScheme:eB},rB={padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{transition.duration}"},oB={hoverBackground:"{content.hover.background}",hoverColor:"{content.hover.color}"},nB={root:rB,display:oB},iB={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},sB={borderRadius:"{border.radius.sm}"},aB={light:{chip:{focusBackground:"{surface.200}",color:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",color:"{surface.0}"}}},cB={root:iB,chip:sB,colorScheme:aB},lB={background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.icon.color}",borderRadius:"{form.field.border.radius}",padding:"0.5rem",minWidth:"2.5rem"},dB={addon:lB},uB={transitionDuration:"{transition.duration}"},fB={width:"2.5rem",borderRadius:"{form.field.border.radius}",verticalPadding:"{form.field.padding.y}"},pB={light:{button:{background:"transparent",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.500}",activeColor:"{surface.600}"}},dark:{button:{background:"transparent",hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.300}",activeColor:"{surface.200}"}}},mB={root:uB,button:fB,colorScheme:pB},gB={gap:"0.5rem"},hB={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"}},bB={root:gB,input:hB},yB={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},vB={root:yB},kB={transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},_B={background:"{primary.color}"},SB={background:"{content.border.color}"},wB={color:"{text.muted.color}"},EB={root:kB,value:_B,range:SB,text:wB},CB={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",borderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",shadow:"{form.field.shadow}",borderRadius:"{form.field.border.radius}",transitionDuration:"{form.field.transition.duration}"},xB={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},TB={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},RB={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},IB={color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},BB={padding:"{list.option.padding}"},AB={light:{option:{stripedBackground:"{surface.50}"}},dark:{option:{stripedBackground:"{surface.900}"}}},MB={root:CB,list:xB,option:TB,optionGroup:RB,checkmark:IB,emptyMessage:BB,colorScheme:AB},$B={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",verticalOrientation:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},horizontalOrientation:{padding:"0.5rem 0.75rem",gap:"0.5rem"},transitionDuration:"{transition.duration}"},OB={borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},LB={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},NB={padding:"0",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",shadow:"{overlay.navigation.shadow}",gap:"0.5rem"},DB={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},PB={padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background}",color:"{navigation.submenu.label.color}"},FB={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},jB={borderColor:"{content.border.color}"},HB={borderRadius:"50%",size:"1.75rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},UB={root:$B,baseItem:OB,item:LB,overlay:NB,submenu:DB,submenuLabel:PB,submenuIcon:FB,separator:jB,mobileButton:HB},zB={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},WB={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},qB={focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},VB={padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background}",color:"{navigation.submenu.label.color}"},YB={borderColor:"{content.border.color}"},GB={root:zB,list:WB,item:qB,submenuLabel:VB,separator:YB},KB={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.5rem 0.75rem",transitionDuration:"{transition.duration}"},XB={borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},JB={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},ZB={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",mobileIndent:"1rem",icon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"}},QB={borderColor:"{content.border.color}"},eA={borderRadius:"50%",size:"1.75rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},tA={root:KB,baseItem:XB,item:JB,submenu:ZB,separator:QB,mobileButton:eA},rA={borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},oA={padding:"0.5rem 0.75rem",gap:"0.5rem",sm:{padding:"0.375rem 0.625rem"},lg:{padding:"0.625rem 0.875rem"}},nA={fontSize:"1rem",fontWeight:"500",sm:{fontSize:"0.875rem"},lg:{fontSize:"1.125rem"}},iA={size:"1.125rem",sm:{size:"1rem"},lg:{size:"1.25rem"}},sA={width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},aA={size:"1rem",sm:{size:"0.875rem"},lg:{size:"1.125rem"}},cA={root:{borderWidth:"1px"}},lA={content:{padding:"0"}},dA={light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{blue.600}",shadow:"none"}},outlined:{color:"{blue.600}",borderColor:"{blue.600}"},simple:{color:"{blue.600}"}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{green.600}",shadow:"none"}},outlined:{color:"{green.600}",borderColor:"{green.600}"},simple:{color:"{green.600}"}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{yellow.600}",shadow:"none"}},outlined:{color:"{yellow.600}",borderColor:"{yellow.600}"},simple:{color:"{yellow.600}"}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{red.600}",shadow:"none"}},outlined:{color:"{red.600}",borderColor:"{red.600}"},simple:{color:"{red.600}"}},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{surface.600}",shadow:"none"}},outlined:{color:"{surface.500}",borderColor:"{surface.500}"},simple:{color:"{surface.500}"}},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{surface.50}",shadow:"none"}},outlined:{color:"{surface.950}",borderColor:"{surface.950}"},simple:{color:"{surface.950}"}}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{blue.500}",shadow:"none"}},outlined:{color:"{blue.500}",borderColor:"{blue.500}"},simple:{color:"{blue.500}"}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{green.500}",shadow:"none"}},outlined:{color:"{green.500}",borderColor:"{green.500}"},simple:{color:"{green.500}"}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{yellow.500}",shadow:"none"}},outlined:{color:"{yellow.500}",borderColor:"{yellow.500}"},simple:{color:"{yellow.500}"}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{red.500}",shadow:"none"}},outlined:{color:"{red.500}",borderColor:"{red.500}"},simple:{color:"{red.500}"}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{surface.300}",shadow:"none"}},outlined:{color:"{surface.400}",borderColor:"{surface.400}"},simple:{color:"{surface.400}"}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{surface.950}",shadow:"none"}},outlined:{color:"{surface.0}",borderColor:"{surface.0}"},simple:{color:"{surface.0}"}}}},uA={root:rA,content:oA,text:nA,icon:iA,closeButton:sA,closeIcon:aA,outlined:cA,simple:lA,colorScheme:dA},fA={borderRadius:"{content.border.radius}",gap:"1rem"},pA={background:"{content.border.color}",size:"0.5rem"},mA={gap:"0.5rem"},gA={size:"0.5rem"},hA={size:"1rem"},bA={verticalGap:"0.5rem",horizontalGap:"1rem"},yA={root:fA,meters:pA,label:mA,labelMarker:gA,labelIcon:hA,labelList:bA},vA={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},kA={width:"2.5rem",color:"{form.field.icon.color}"},_A={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},SA={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},wA={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",gap:"0.5rem"},EA={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},CA={color:"{form.field.icon.color}"},xA={borderRadius:"{border.radius.sm}"},TA={padding:"{list.option.padding}"},RA={root:vA,dropdown:kA,overlay:_A,list:SA,option:wA,optionGroup:EA,chip:xA,clearIcon:CA,emptyMessage:TA},IA={gap:"1.125rem"},BA={gap:"0.5rem"},AA={root:IA,controls:BA},MA={gutter:"0.75rem",transitionDuration:"{transition.duration}"},$A={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{content.border.color}",color:"{content.color}",selectedColor:"{highlight.color}",hoverColor:"{content.hover.color}",padding:"0.75rem 1rem",toggleablePadding:"0.75rem 1rem 1.25rem 1rem",borderRadius:"{content.border.radius}"},OA={background:"{content.background}",hoverBackground:"{content.hover.background}",borderColor:"{content.border.color}",color:"{text.muted.color}",hoverColor:"{text.color}",size:"1.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},LA={color:"{content.border.color}",borderRadius:"{content.border.radius}",height:"24px"},NA={root:MA,node:$A,nodeToggleButton:OA,connector:LA},DA={outline:{width:"2px",color:"{content.background}"}},PA={root:DA},FA={padding:"0.5rem 1rem",gap:"0.25rem",borderRadius:"{content.border.radius}",background:"{content.background}",color:"{content.color}",transitionDuration:"{transition.duration}"},jA={background:"transparent",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}",width:"2.5rem",height:"2.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},HA={color:"{text.muted.color}"},UA={maxWidth:"2.5rem"},zA={root:FA,navButton:jA,currentPageReport:HA,jumpToPageInput:UA},WA={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},qA={background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"{content.border.color}",borderWidth:"0",borderRadius:"0"},VA={padding:"0.375rem 1.125rem"},YA={fontWeight:"600"},GA={padding:"0 1.125rem 1.125rem 1.125rem"},KA={padding:"0 1.125rem 1.125rem 1.125rem"},XA={root:WA,header:qA,toggleableHeader:VA,title:YA,content:GA,footer:KA},JA={gap:"0.5rem",transitionDuration:"{transition.duration}"},ZA={background:"{content.background}",borderColor:"{content.border.color}",borderWidth:"1px",color:"{content.color}",padding:"0.25rem 0.25rem",borderRadius:"{content.border.radius}",first:{borderWidth:"1px",topBorderRadius:"{content.border.radius}"},last:{borderWidth:"1px",bottomBorderRadius:"{content.border.radius}"}},QA={focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",gap:"0.5rem",padding:"{navigation.item.padding}",borderRadius:"{content.border.radius}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},eM={indent:"1rem"},tM={color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}"},rM={root:JA,panel:ZA,item:QA,submenu:eM,submenuIcon:tM},oM={background:"{content.border.color}",borderRadius:"{content.border.radius}",height:".75rem"},nM={color:"{form.field.icon.color}"},iM={background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",padding:"{overlay.popover.padding}",shadow:"{overlay.popover.shadow}"},sM={gap:"0.5rem"},aM={light:{strength:{weakBackground:"{red.500}",mediumBackground:"{amber.500}",strongBackground:"{green.500}"}},dark:{strength:{weakBackground:"{red.400}",mediumBackground:"{amber.400}",strongBackground:"{green.400}"}}},cM={meter:oM,icon:nM,overlay:iM,content:sM,colorScheme:aM},lM={gap:"1.125rem"},dM={gap:"0.5rem"},uM={root:lM,controls:dM},fM={background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},pM={padding:"{overlay.popover.padding}"},mM={root:fM,content:pM},gM={background:"{content.border.color}",borderRadius:"{content.border.radius}",height:"1.25rem"},hM={background:"{primary.color}"},bM={color:"{primary.contrast.color}",fontSize:"0.75rem",fontWeight:"600"},yM={root:gM,value:hM,label:bM},vM={light:{root:{colorOne:"{red.500}",colorTwo:"{blue.500}",colorThree:"{green.500}",colorFour:"{yellow.500}"}},dark:{root:{colorOne:"{red.400}",colorTwo:"{blue.400}",colorThree:"{green.400}",colorFour:"{yellow.400}"}}},kM={colorScheme:vM},_M={width:"1.25rem",height:"1.25rem",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{width:"1rem",height:"1rem"},lg:{width:"1.5rem",height:"1.5rem"}},SM={size:"0.75rem",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.5rem"},lg:{size:"1rem"}},wM={root:_M,icon:SM},EM={gap:"0.25rem",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},CM={size:"1rem",color:"{text.muted.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"},xM={root:EM,icon:CM},TM={light:{root:{background:"rgba(0,0,0,0.1)"}},dark:{root:{background:"rgba(255,255,255,0.3)"}}},RM={colorScheme:TM},IM={transitionDuration:"{transition.duration}"},BM={size:"9px",borderRadius:"{border.radius.sm}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},AM={light:{bar:{background:"{surface.100}"}},dark:{bar:{background:"{surface.800}"}}},MM={root:IM,bar:BM,colorScheme:AM},$M={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},OM={width:"2.5rem",color:"{form.field.icon.color}"},LM={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},NM={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},DM={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},PM={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},FM={color:"{form.field.icon.color}"},jM={color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},HM={padding:"{list.option.padding}"},UM={root:$M,dropdown:OM,overlay:LM,list:NM,option:DM,optionGroup:PM,clearIcon:FM,checkmark:jM,emptyMessage:HM},zM={borderRadius:"{form.field.border.radius}"},WM={light:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}},dark:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}}},qM={root:zM,colorScheme:WM},VM={borderRadius:"{content.border.radius}"},YM={light:{root:{background:"{surface.200}",animationBackground:"rgba(255,255,255,0.4)"}},dark:{root:{background:"rgba(255, 255, 255, 0.06)",animationBackground:"rgba(255, 255, 255, 0.04)"}}},GM={root:VM,colorScheme:YM},KM={transitionDuration:"{transition.duration}"},XM={background:"{content.border.color}",borderRadius:"{content.border.radius}",size:"3px"},JM={background:"{primary.color}"},ZM={width:"20px",height:"20px",borderRadius:"50%",background:"{content.border.color}",hoverBackground:"{content.border.color}",content:{borderRadius:"50%",hoverBackground:"{content.background}",width:"16px",height:"16px",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.08), 0px 1px 1px 0px rgba(0, 0, 0, 0.14)"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},QM={light:{handle:{content:{background:"{surface.0}"}}},dark:{handle:{content:{background:"{surface.950}"}}}},e$={root:KM,track:XM,range:JM,handle:ZM,colorScheme:QM},t$={gap:"0.5rem",transitionDuration:"{transition.duration}"},r$={root:t$},o$={borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)"},n$={root:o$},i$={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",transitionDuration:"{transition.duration}"},s$={background:"{content.border.color}"},a$={size:"24px",background:"transparent",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},c$={root:i$,gutter:s$,handle:a$},l$={transitionDuration:"{transition.duration}"},d$={background:"{content.border.color}",activeBackground:"{primary.color}",margin:"0 0 0 1.625rem",size:"2px"},u$={padding:"0.5rem",gap:"1rem"},f$={padding:"0",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},p$={color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},m$={background:"{content.background}",activeBackground:"{content.background}",borderColor:"{content.border.color}",activeBorderColor:"{content.border.color}",color:"{text.muted.color}",activeColor:"{primary.color}",size:"2rem",fontSize:"1.143rem",fontWeight:"500",borderRadius:"50%",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"},g$={padding:"0.875rem 0.5rem 1.125rem 0.5rem"},h$={background:"{content.background}",color:"{content.color}",padding:"0",indent:"1rem"},b$={root:l$,separator:d$,step:u$,stepHeader:f$,stepTitle:p$,stepNumber:m$,steppanels:g$,steppanel:h$},y$={transitionDuration:"{transition.duration}"},v$={background:"{content.border.color}"},k$={borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},_$={color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},S$={background:"{content.background}",activeBackground:"{content.background}",borderColor:"{content.border.color}",activeBorderColor:"{content.border.color}",color:"{text.muted.color}",activeColor:"{primary.color}",size:"2rem",fontSize:"1.143rem",fontWeight:"500",borderRadius:"50%",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"},w$={root:y$,separator:v$,itemLink:k$,itemLabel:_$,itemNumber:S$},E$={transitionDuration:"{transition.duration}"},C$={borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},x$={background:"transparent",hoverBackground:"transparent",activeBackground:"transparent",borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.125rem",fontWeight:"600",margin:"0 0 -1px 0",gap:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},T$={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},R$={height:"1px",bottom:"-1px",background:"{primary.color}"},I$={root:E$,tablist:C$,item:x$,itemIcon:T$,activeBar:R$},B$={transitionDuration:"{transition.duration}"},A$={borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},M$={background:"transparent",hoverBackground:"transparent",activeBackground:"transparent",borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.125rem",fontWeight:"600",margin:"0 0 -1px 0",gap:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},$$={background:"{content.background}",color:"{content.color}",padding:"0.875rem 1.125rem 1.125rem 1.125rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"inset {focus.ring.shadow}"}},O$={background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",width:"2.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},L$={height:"1px",bottom:"-1px",background:"{primary.color}"},N$={light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"}}},D$={root:B$,tablist:A$,tab:M$,tabpanel:$$,navButton:O$,activeBar:L$,colorScheme:N$},P$={transitionDuration:"{transition.duration}"},F$={background:"{content.background}",borderColor:"{content.border.color}"},j$={borderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},H$={background:"{content.background}",color:"{content.color}"},U$={background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}"},z$={light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"}}},W$={root:P$,tabList:F$,tab:j$,tabPanel:H$,navButton:U$,colorScheme:z$},q$={fontSize:"0.875rem",fontWeight:"700",padding:"0.25rem 0.5rem",gap:"0.25rem",borderRadius:"{content.border.radius}",roundedBorderRadius:"{border.radius.xl}"},V$={size:"0.75rem"},Y$={light:{primary:{background:"{primary.100}",color:"{primary.700}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.100}",color:"{green.700}"},info:{background:"{sky.100}",color:"{sky.700}"},warn:{background:"{orange.100}",color:"{orange.700}"},danger:{background:"{red.100}",color:"{red.700}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"color-mix(in srgb, {primary.500}, transparent 84%)",color:"{primary.300}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",color:"{green.300}"},info:{background:"color-mix(in srgb, {sky.500}, transparent 84%)",color:"{sky.300}"},warn:{background:"color-mix(in srgb, {orange.500}, transparent 84%)",color:"{orange.300}"},danger:{background:"color-mix(in srgb, {red.500}, transparent 84%)",color:"{red.300}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}},G$={root:q$,icon:V$,colorScheme:Y$},K$={background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.color}",height:"18rem",padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{form.field.border.radius}"},X$={gap:"0.25rem"},J$={margin:"2px 0"},Z$={root:K$,prompt:X$,commandResponse:J$},Q$={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},eO={root:Q$},tO={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},rO={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},oO={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},nO={mobileIndent:"1rem"},iO={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},sO={borderColor:"{content.border.color}"},aO={root:tO,list:rO,item:oO,submenu:nO,submenuIcon:iO,separator:sO},cO={minHeight:"5rem"},lO={eventContent:{padding:"1rem 0"}},dO={eventContent:{padding:"0 1rem"}},uO={size:"1.125rem",borderRadius:"50%",borderWidth:"2px",background:"{content.background}",borderColor:"{content.border.color}",content:{borderRadius:"50%",size:"0.375rem",background:"{primary.color}",insetShadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"}},fO={color:"{content.border.color}",size:"2px"},pO={event:cO,horizontal:lO,vertical:dO,eventMarker:uO,eventConnector:fO},mO={width:"25rem",borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},gO={size:"1.125rem"},hO={padding:"{overlay.popover.padding}",gap:"0.5rem"},bO={gap:"0.5rem"},yO={fontWeight:"500",fontSize:"1rem"},vO={fontWeight:"500",fontSize:"0.875rem"},kO={width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},_O={size:"1rem"},SO={light:{root:{blur:"1.5px"},info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{blue.600}",shadow:"none"}}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{green.600}",shadow:"none"}}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{yellow.600}",shadow:"none"}}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{red.600}",shadow:"none"}}},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{surface.600}",shadow:"none"}}},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{surface.50}",shadow:"none"}}}},dark:{root:{blur:"10px"},info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{blue.500}",shadow:"none"}}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{green.500}",shadow:"none"}}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{yellow.500}",shadow:"none"}}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{red.500}",shadow:"none"}}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{surface.300}",shadow:"none"}}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",detailColor:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{surface.950}",shadow:"none"}}}}},wO={root:mO,icon:gO,content:hO,text:bO,summary:yO,detail:vO,closeButton:kO,closeIcon:_O,colorScheme:SO},EO={padding:"0.25rem",borderRadius:"{content.border.radius}",gap:"0.5rem",fontWeight:"500",disabledBackground:"{form.field.disabled.background}",disabledBorderColor:"{form.field.disabled.background}",disabledColor:"{form.field.disabled.color}",invalidBorderColor:"{form.field.invalid.border.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",padding:"0.25rem"},lg:{fontSize:"{form.field.lg.font.size}",padding:"0.25rem"}},CO={disabledColor:"{form.field.disabled.color}"},xO={padding:"0.25rem 0.75rem",borderRadius:"{content.border.radius}",checkedShadow:"0px 1px 2px 0px rgba(0, 0, 0, 0.02), 0px 1px 2px 0px rgba(0, 0, 0, 0.04)",sm:{padding:"0.25rem 0.75rem"},lg:{padding:"0.25rem 0.75rem"}},TO={light:{root:{background:"{surface.100}",checkedBackground:"{surface.100}",hoverBackground:"{surface.100}",borderColor:"{surface.100}",color:"{surface.500}",hoverColor:"{surface.700}",checkedColor:"{surface.900}",checkedBorderColor:"{surface.100}"},content:{checkedBackground:"{surface.0}"},icon:{color:"{surface.500}",hoverColor:"{surface.700}",checkedColor:"{surface.900}"}},dark:{root:{background:"{surface.950}",checkedBackground:"{surface.950}",hoverBackground:"{surface.950}",borderColor:"{surface.950}",color:"{surface.400}",hoverColor:"{surface.300}",checkedColor:"{surface.0}",checkedBorderColor:"{surface.950}"},content:{checkedBackground:"{surface.800}"},icon:{color:"{surface.400}",hoverColor:"{surface.300}",checkedColor:"{surface.0}"}}},RO={root:EO,icon:CO,content:xO,colorScheme:TO},IO={width:"2.5rem",height:"1.5rem",borderRadius:"30px",gap:"0.25rem",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},borderWidth:"1px",borderColor:"transparent",hoverBorderColor:"transparent",checkedBorderColor:"transparent",checkedHoverBorderColor:"transparent",invalidBorderColor:"{form.field.invalid.border.color}",transitionDuration:"{form.field.transition.duration}",slideDuration:"0.2s"},BO={borderRadius:"50%",size:"1rem"},AO={light:{root:{background:"{surface.300}",disabledBackground:"{form.field.disabled.background}",hoverBackground:"{surface.400}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}"},handle:{background:"{surface.0}",disabledBackground:"{form.field.disabled.color}",hoverBackground:"{surface.0}",checkedBackground:"{surface.0}",checkedHoverBackground:"{surface.0}",color:"{text.muted.color}",hoverColor:"{text.color}",checkedColor:"{primary.color}",checkedHoverColor:"{primary.hover.color}"}},dark:{root:{background:"{surface.700}",disabledBackground:"{surface.600}",hoverBackground:"{surface.600}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}"},handle:{background:"{surface.400}",disabledBackground:"{surface.900}",hoverBackground:"{surface.300}",checkedBackground:"{surface.900}",checkedHoverBackground:"{surface.900}",color:"{surface.900}",hoverColor:"{surface.800}",checkedColor:"{primary.color}",checkedHoverColor:"{primary.hover.color}"}}},MO={root:IO,handle:BO,colorScheme:AO},$O={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.75rem"},OO={root:$O},LO={maxWidth:"12.5rem",gutter:"0.25rem",shadow:"{overlay.popover.shadow}",padding:"0.5rem 0.75rem",borderRadius:"{overlay.popover.border.radius}"},NO={light:{root:{background:"{surface.700}",color:"{surface.0}"}},dark:{root:{background:"{surface.700}",color:"{surface.0}"}}},DO={root:LO,colorScheme:NO},PO={background:"{content.background}",color:"{content.color}",padding:"1rem",gap:"2px",indent:"1rem",transitionDuration:"{transition.duration}"},FO={padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.color}",hoverColor:"{text.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},gap:"0.25rem"},jO={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}"},HO={borderRadius:"50%",size:"1.75rem",hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedHoverColor:"{primary.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},UO={size:"2rem"},zO={margin:"0 0 0.5rem 0"},WO=`
    .p-tree-mask.p-overlay-mask {
        --px-mask-background: light-dark(rgba(255,255,255,0.5),rgba(0,0,0,0.3));
    }
`,qO={root:PO,node:FO,nodeIcon:jO,nodeToggleButton:HO,loadingIcon:UO,filter:zO,css:WO},VO={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},YO={width:"2.5rem",color:"{form.field.icon.color}"},GO={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},KO={padding:"{list.padding}"},XO={padding:"{list.option.padding}"},JO={borderRadius:"{border.radius.sm}"},ZO={color:"{form.field.icon.color}"},QO={root:VO,dropdown:YO,overlay:GO,tree:KO,emptyMessage:XO,chip:JO,clearIcon:ZO},eL={transitionDuration:"{transition.duration}"},tL={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},rL={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{treetable.border.color}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},oL={fontWeight:"600"},nL={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},iL={borderColor:"{treetable.border.color}",padding:"0.75rem 1rem",gap:"0.5rem"},sL={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",padding:"0.75rem 1rem"},aL={fontWeight:"600"},cL={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},lL={width:"0.5rem"},dL={width:"1px",color:"{primary.color}"},uL={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},fL={size:"2rem"},pL={hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},mL={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},gL={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},hL={light:{root:{borderColor:"{content.border.color}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},bodyCell:{selectedBorderColor:"{primary.900}"}}},bL=`
    .p-treetable-mask.p-overlay-mask {
        --px-mask-background: light-dark(rgba(255,255,255,0.5),rgba(0,0,0,0.3));
    }
`,yL={root:eL,header:tL,headerCell:rL,columnTitle:oL,row:nL,bodyCell:iL,footerCell:sL,columnFooter:aL,footer:cL,columnResizer:lL,resizeIndicator:dL,sortIcon:uL,loadingIcon:fL,nodeToggleButton:pL,paginatorTop:mL,paginatorBottom:gL,colorScheme:hL,css:bL},vL={mask:{background:"{content.background}",color:"{text.muted.color}"},icon:{size:"2rem"}},kL={loader:vL},_L=Object.defineProperty,SL=Object.defineProperties,wL=Object.getOwnPropertyDescriptors,Od=Object.getOwnPropertySymbols,EL=Object.prototype.hasOwnProperty,CL=Object.prototype.propertyIsEnumerable,Ld=(e,t,r)=>t in e?_L(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Nd,xL=(Nd=((e,t)=>{for(var r in t||(t={}))EL.call(t,r)&&Ld(e,r,t[r]);if(Od)for(var r of Od(t))CL.call(t,r)&&Ld(e,r,t[r]);return e})({},L1),SL(Nd,wL({components:{accordion:l1,autocomplete:v1,avatar:C1,badge:M1,blockui:D1,breadcrumb:H1,button:W1,card:X1,carousel:rR,cascadeselect:lR,checkbox:fR,chip:yR,colorpicker:wR,confirmdialog:xR,confirmpopup:AR,contextmenu:PR,datatable:sI,dataview:pI,datepicker:$I,dialog:FI,divider:WI,dock:YI,drawer:QI,editor:i5,fieldset:d5,fileupload:y5,floatlabel:w5,galleria:P5,iconfield:j5,iftalabel:z5,image:G5,imagecompare:X5,inlinemessage:tB,inplace:nB,inputchips:cB,inputgroup:dB,inputnumber:mB,inputotp:bB,inputtext:vB,knob:EB,listbox:MB,megamenu:UB,menu:GB,menubar:tA,message:uA,metergroup:yA,multiselect:RA,orderlist:AA,organizationchart:NA,overlaybadge:PA,paginator:zA,panel:XA,panelmenu:rM,password:cM,picklist:uM,popover:mM,progressbar:yM,progressspinner:kM,radiobutton:wM,rating:xM,ripple:RM,scrollpanel:MM,select:UM,selectbutton:qM,skeleton:GM,slider:e$,speeddial:r$,splitbutton:n$,splitter:c$,stepper:b$,steps:w$,tabmenu:I$,tabs:D$,tabview:W$,tag:G$,terminal:Z$,textarea:eO,tieredmenu:aO,timeline:pO,toast:wO,togglebutton:RO,toggleswitch:MO,toolbar:OO,tooltip:DO,tree:qO,treeselect:QO,treetable:yL,virtualscroller:kL},css:FR})));const Dd="/assets/stadssalg-Cf_tuJCn.png",TL="/assets/miljofyrtarn-B4YQxCIg.webp",RL={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function IL(e,t){return ke(),Ae("svg",RL,[...t[0]||(t[0]=[C("path",{fill:"currentColor",d:"M7.41 8.58L12 13.17l4.59-4.59L18 10l-6 6l-6-6z"},null,-1)])])}const BL=Hd({name:"mdi-chevron-down",render:IL}),AL={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function ML(e,t){return ke(),Ae("svg",AL,[...t[0]||(t[0]=[C("path",{fill:"currentColor",d:"M12 4a4 4 0 0 1 4 4a4 4 0 0 1-4 4a4 4 0 0 1-4-4a4 4 0 0 1 4-4m0 10c4.42 0 8 1.79 8 4v2H4v-2c0-2.21 3.58-4 8-4"},null,-1)])])}const $L=Hd({name:"mdi-account",render:ML}),OL=(e,t)=>{const r=e.__vccOpts||e;for(const[o,n]of t)r[o]=n;return r},LL={class:"min-w-[120px] sm:min-w-[180px] flex justify-end"},NL={key:0,class:"relative"},DL={class:"hidden md:inline font-bold"},PL={key:1,class:"flex items-center space-x-2 sm:space-x-4"},FL={__name:"UserMenu",setup(e){const{t}=Ud(),r=Xm(),o=rc(),n=kt(null),i=dr(()=>o.isUserAuth),s=dr(()=>o.user),a=dr(()=>o.loginStatus),c=dr(()=>[{label:t("user.menu.myPage"),icon:"pi pi-user",command:()=>r.push({name:"Profile"})},{label:t("user.menu.savedSearches"),icon:"pi pi-save",command:()=>r.push({name:"MyFilters"})},{label:t("user.menu.myBidsAndPurchases"),icon:"pi pi-wallet",command:()=>r.push({name:"MyBids"})},{label:t("user.menu.mySettings"),icon:"pi pi-cog",command:()=>r.push({name:"MySettings"})},{separator:!0},{label:t("user.menu.logout"),icon:"pi pi-sign-out",command:()=>o.signOutAction()}]),l=d=>{n.value.toggle(d)};return(d,u)=>{const m=$L,p=BL,f=us("router-link");return ke(),Ae("div",LL,[a.value!=="loggingIn"?(ke(),Ae(Jm,{key:0},[i.value?(ke(),Ae("div",NL,[he(X($i),{type:"button",severity:"secondary",text:"",onClick:l,class:"flex items-center space-x-2 px-4 py-2 rounded-xl text-white hover:bg-white/10"},{default:Oe(()=>[he(m,{class:"text-sm"}),C("span",DL,ge(s.value.email),1),he(p,{class:"text-[10px]"})]),_:1}),he(X(mg),{ref_key:"menu",ref:n,model:c.value,popup:!0,class:"rounded-2xl shadow-xl border-gray-100 min-w-[200px]"},null,8,["model"])])):(ke(),Ae("div",PL,[he(f,{to:{name:"Register"},class:"hidden sm:block"},{default:Oe(()=>[he(X($i),{label:"Registrer",class:"rounded-xl px-4 sm:px-6 font-bold text-sm sm:text-base"})]),_:1}),he(X($i),{label:"Logg inn",severity:"secondary",text:"",class:"text-white hover:text-black active:text-black font-bold text-sm sm:text-base px-2 sm:px-4",onClick:u[0]||(u[0]=g=>X(r).push("/login"))})]))],64)):At("",!0)])}}},jL=OL(FL,[["__scopeId","data-v-f38738a7"]]);var HL=_g();const Pd=Sg(HL),UL={key:0,class:"bg-amber-500 text-amber-950 text-center py-2 px-4 text-sm font-bold"},zL=["innerHTML"],WL={key:1,class:"bg-amber-50 border border-amber-200 rounded-2xl p-6 text-center"},qL={class:"text-lg font-bold text-amber-800 mb-2"},VL={class:"text-amber-700"},YL={key:2,class:"min-h-[60vh] flex items-center justify-center"},GL={class:"max-w-md mx-auto text-center p-8"},KL={class:"text-2xl font-bold text-gray-900 mb-4"},XL={class:"text-gray-600 mb-8"},JL={class:"text-sm text-gray-400"},ls={__name:"MaintenanceBanner",props:{title:{type:String,default:""},message:{type:String,default:""},variant:{type:String,default:"default",validator:e=>["default","compact","full"].includes(e)},timeoutDate:{type:String,default:""}},setup(e){const t=e,r=dr(()=>t.timeoutDate?Pd().isAfter(Pd(t.timeoutDate)):!1);return(o,n)=>!r.value&&e.variant==="compact"?(ke(),Ae("div",UL,[n[0]||(n[0]=C("i",{class:"pi pi-exclamation-triangle mr-2"},null,-1)),C("span",{innerHTML:e.message||o.$t("maintenance.shortMessage")},null,8,zL)])):!r.value&&e.variant==="default"?(ke(),Ae("div",WL,[n[1]||(n[1]=C("div",{class:"text-amber-600 mb-3"},[C("i",{class:"pi pi-exclamation-triangle text-4xl"})],-1)),C("h3",qL,ge(e.title||o.$t("maintenance.title")),1),C("p",VL,ge(e.message||o.$t("maintenance.description")),1)])):!r.value&&e.variant==="full"?(ke(),Ae("div",YL,[C("div",GL,[n[2]||(n[2]=C("div",{class:"bg-amber-100 w-24 h-24 rounded-full flex items-center justify-center mx-auto mb-6"},[C("i",{class:"pi pi-exclamation-triangle text-5xl text-amber-600"})],-1)),C("h1",KL,ge(o.$t("maintenance.title")),1),C("p",XL,ge(o.$t("maintenance.description")),1),C("div",JL,ge(o.$t("maintenance.apology")),1)])])):At("",!0)}},ZL=!1;function QL(){return{isMaintenanceMode:dr(()=>ZL)}}const eN={id:"app",class:"flex flex-col min-h-screen"},tN={class:"sticky top-0 z-50 bg-black shadow-md"},rN={class:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 py-4 flex items-center justify-between"},oN={class:"flex items-center space-x-6"},nN={class:"hidden md:flex items-center space-x-6","aria-label":"Hovednavigasjon"},iN={class:"flex items-center space-x-4"},sN={class:"hidden md:block relative"},aN={class:"flex items-center space-x-2"},cN={key:0,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 16",class:"w-5 h-4"},lN={key:1,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 60 30",class:"w-5 h-4"},dN={key:0,class:"absolute right-0 mt-2 w-40 bg-white rounded-md shadow-lg z-50 overflow-hidden"},uN={key:0,class:"w-4 h-4 ml-auto text-green-600",fill:"currentColor",viewBox:"0 0 20 20"},fN={key:0,class:"w-4 h-4 ml-auto text-green-600",fill:"currentColor",viewBox:"0 0 20 20"},pN=["aria-expanded"],mN={key:0,class:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},gN={key:1,class:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},hN={key:0,class:"md:hidden bg-gray-900 border-t border-gray-800"},bN={class:"px-4 pt-2 pb-6 space-y-1"},yN={key:0,class:"pt-4 border-t border-gray-800 mt-4 space-y-1"},vN={key:1,class:"pt-4 border-t border-gray-800 mt-4 space-y-1"},kN={class:"px-3 text-xs font-semibold text-gray-400 uppercase tracking-wider mb-2"},_N={class:"pt-4 border-t border-gray-800 mt-4"},SN={class:"px-3 text-xs font-semibold text-gray-400 uppercase tracking-wider mb-2"},wN={class:"grid grid-cols-2 gap-2 px-3"},EN={class:"grow"},CN={class:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 py-8"},xN={class:"bg-black text-white py-12 mt-12",role:"contentinfo"},TN={class:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8"},RN={class:"grid grid-cols-1 md:grid-cols-3 gap-12"},IN={class:"text-gray-300 mb-4"},BN={class:"mt-6"},AN={href:"https://www.facebook.com/Stadssalg",target:"_blank",rel:"noopener noreferrer",class:"inline-flex items-center gap-2 text-gray-300 hover:text-white transition-colors"},MN={class:"flex flex-col items-center"},$N={class:"text-xl font-bold mb-4"},ON={class:"flex flex-wrap justify-center gap-4"},LN={class:"md:text-right"},NN={class:"text-xl font-bold mb-4"},DN={class:"space-y-3"},PN={class:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 mt-10"},FN={class:"pt-8 border-t border-gray-700 flex flex-col sm:flex-row justify-between items-center gap-4"},jN={class:"text-sm text-gray-400"},HN={__name:"App",setup(e){const t=rc(),{isMaintenanceMode:r}=QL(),{locale:o,t:n}=Ud(),i=kt(!1),s=kt(!1),a=m=>{m.target.closest(".relative")||(i.value=!1)},c=()=>{s.value=!s.value},l=m=>{o.value=m,localStorage.setItem("appLanguage",m),document.documentElement.lang=m};Zm(()=>{t.authAction(),document.addEventListener("click",a)}),Qm(()=>{document.removeEventListener("click",a)});const d=()=>{s.value=!1},u=()=>{};return(m,p)=>{const f=us("router-link"),g=us("router-view");return ke(),Ae("div",eN,[C("header",tN,[C("div",rN,[C("div",oN,[he(f,{to:{name:"Home"},class:"flex items-center","aria-label":"Stadssalg AS - Til forsiden"},{default:Oe(()=>[...p[6]||(p[6]=[C("img",{class:"h-10",src:Dd,alt:"Stadssalg AS - Auksjonshuset i Bodø",width:"160",height:"40"},null,-1)])]),_:1}),C("nav",nN,[he(f,{to:{name:"Items"},class:"text-white hover:text-gray-200"},{default:Oe(()=>[Ye(ge(X(n)("app.links.auctions")),1)]),_:1}),he(f,{to:{path:"/info/customer-service"},class:"text-white hover:text-gray-200"},{default:Oe(()=>[Ye(ge(X(n)("app.links.helpCenter")),1)]),_:1})])]),C("div",iN,[C("div",sN,[C("button",{onClick:p[0]||(p[0]=h=>i.value=!i.value),class:"flex items-center justify-between bg-gray-800 hover:bg-gray-700 text-white px-3 py-1.5 rounded text-sm transition-colors w-[120px]"},[C("span",aN,[X(o)==="no"?(ke(),Ae("svg",cN,[...p[7]||(p[7]=[cn('<rect width="22" height="16" fill="#BA0C2F"></rect><rect x="6" width="4" height="16" fill="#fff"></rect><rect y="6" width="22" height="4" fill="#fff"></rect><rect x="7" width="2" height="16" fill="#00205B"></rect><rect y="7" width="22" height="2" fill="#00205B"></rect>',5)])])):(ke(),Ae("svg",lN,[...p[8]||(p[8]=[cn('<rect width="60" height="30" fill="#012169"></rect><path d="M0,0 L60,30 M60,0 L0,30" stroke="#fff" stroke-width="6"></path><path d="M0,0 L60,30" stroke="#C8102E" stroke-width="2"></path><path d="M60,0 L0,30" stroke="#C8102E" stroke-width="2"></path><path d="M30,0 v30 M0,15 h60" stroke="#fff" stroke-width="10"></path><path d="M30,0 v30 M0,15 h60" stroke="#C8102E" stroke-width="6"></path>',6)])])),C("span",null,ge(X(o)==="no"?"Norsk":"English"),1)]),p[9]||(p[9]=C("svg",{class:"w-4 h-4 shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[C("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"})],-1))]),i.value?(ke(),Ae("div",dN,[C("button",{onClick:p[1]||(p[1]=h=>{l("no"),i.value=!1}),class:ln(["w-full flex items-center space-x-3 px-4 py-2.5 text-gray-700 hover:bg-gray-100 transition-colors",{"bg-gray-100 font-medium":X(o)==="no"}])},[p[11]||(p[11]=cn('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 16" class="w-5 h-4"><rect width="22" height="16" fill="#BA0C2F"></rect><rect x="6" width="4" height="16" fill="#fff"></rect><rect y="6" width="22" height="4" fill="#fff"></rect><rect x="7" width="2" height="16" fill="#00205B"></rect><rect y="7" width="22" height="2" fill="#00205B"></rect></svg><span>Norsk</span>',2)),X(o)==="no"?(ke(),Ae("svg",uN,[...p[10]||(p[10]=[C("path",{"fill-rule":"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z","clip-rule":"evenodd"},null,-1)])])):At("",!0)],2),C("button",{onClick:p[2]||(p[2]=h=>{l("en"),i.value=!1}),class:ln(["w-full flex items-center space-x-3 px-4 py-2.5 text-gray-700 hover:bg-gray-100 transition-colors",{"bg-gray-100 font-medium":X(o)==="en"}])},[p[13]||(p[13]=cn('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 30" class="w-5 h-4"><rect width="60" height="30" fill="#012169"></rect><path d="M0,0 L60,30 M60,0 L0,30" stroke="#fff" stroke-width="6"></path><path d="M0,0 L60,30" stroke="#C8102E" stroke-width="2"></path><path d="M60,0 L0,30" stroke="#C8102E" stroke-width="2"></path><path d="M30,0 v30 M0,15 h60" stroke="#fff" stroke-width="10"></path><path d="M30,0 v30 M0,15 h60" stroke="#C8102E" stroke-width="6"></path></svg><span>English</span>',2)),X(o)==="en"?(ke(),Ae("svg",fN,[...p[12]||(p[12]=[C("path",{"fill-rule":"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z","clip-rule":"evenodd"},null,-1)])])):At("",!0)],2)])):At("",!0)]),he(jL),C("button",{onClick:c,class:"md:hidden text-white p-2 focus:outline-none","aria-expanded":s.value,"aria-label":"Meny"},[s.value?(ke(),Ae("svg",gN,[...p[15]||(p[15]=[C("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"},null,-1)])])):(ke(),Ae("svg",mN,[...p[14]||(p[14]=[C("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 6h16M4 12h16M4 18h16"},null,-1)])]))],8,pN)])]),he(_c,{"enter-active-class":"transition duration-200 ease-out","enter-from-class":"opacity-0 -translate-y-4","enter-to-class":"opacity-100 translate-y-0","leave-active-class":"transition duration-150 ease-in","leave-from-class":"opacity-100 translate-y-0","leave-to-class":"opacity-0 -translate-y-4"},{default:Oe(()=>[s.value?(ke(),Ae("div",hN,[C("div",bN,[he(f,{to:{name:"Items"},class:"block px-3 py-3 text-base font-medium text-white hover:bg-gray-800 rounded-md",onClick:d},{default:Oe(()=>[Ye(ge(X(n)("app.links.auctions")),1)]),_:1}),he(f,{to:{path:"/info/customer-service"},class:"block px-3 py-3 text-base font-medium text-white hover:bg-gray-800 rounded-md",onClick:d},{default:Oe(()=>[Ye(ge(X(n)("app.links.helpCenter")),1)]),_:1}),X(t).isUserAuth?(ke(),Ae("div",vN,[C("p",kN,ge(X(t).user?.email),1),he(f,{to:{name:"Profile"},class:"block px-3 py-3 text-base font-medium text-white hover:bg-gray-800 rounded-md",onClick:d},{default:Oe(()=>[Ye(ge(X(n)("user.menu.myPage")),1)]),_:1}),he(f,{to:{name:"MyBids"},class:"block px-3 py-3 text-base font-medium text-white hover:bg-gray-800 rounded-md",onClick:d},{default:Oe(()=>[Ye(ge(X(n)("user.menu.myBidsAndPurchases")),1)]),_:1}),C("button",{onClick:p[3]||(p[3]=h=>{X(t).signOutAction(),d()}),class:"w-full text-left block px-3 py-3 text-base font-medium text-red-400 hover:bg-gray-800 rounded-md"},ge(X(n)("user.menu.logout")),1)])):(ke(),Ae("div",yN,[he(f,{to:{name:"Login"},class:"block px-3 py-3 text-base font-medium text-white hover:bg-gray-800 rounded-md",onClick:d},{default:Oe(()=>[Ye(ge(X(n)("user.menu.login")),1)]),_:1}),he(f,{to:{name:"Register"},class:"block px-3 py-3 text-base font-medium text-primary hover:bg-gray-800 rounded-md",onClick:d},{default:Oe(()=>[Ye(ge(X(n)("user.menu.register")),1)]),_:1})])),C("div",_N,[C("p",SN,ge(X(o)==="no"?"Språk":"Language"),1),C("div",wN,[C("button",{onClick:p[4]||(p[4]=h=>{l("no"),d()}),class:ln(["flex items-center justify-center space-x-2 px-4 py-2 rounded-md transition-colors",X(o)==="no"?"bg-primary text-white":"bg-gray-800 text-gray-300"])},[...p[16]||(p[16]=[C("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 16",class:"w-5 h-4"},[C("rect",{width:"22",height:"16",fill:"#BA0C2F"}),C("rect",{x:"6",width:"4",height:"16",fill:"#fff"}),C("rect",{y:"6",width:"22",height:"4",fill:"#fff"}),C("rect",{x:"7",width:"2",height:"16",fill:"#00205B"}),C("rect",{y:"7",width:"22",height:"2",fill:"#00205B"})],-1),C("span",null,"Norsk",-1)])],2),C("button",{onClick:p[5]||(p[5]=h=>{l("en"),d()}),class:ln(["flex items-center justify-center space-x-2 px-4 py-2 rounded-md transition-colors",X(o)==="en"?"bg-primary text-white":"bg-gray-800 text-gray-300"])},[...p[17]||(p[17]=[C("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 60 30",class:"w-5 h-4"},[C("rect",{width:"60",height:"30",fill:"#012169"}),C("path",{d:"M0,0 L60,30 M60,0 L0,30",stroke:"#fff","stroke-width":"6"}),C("path",{d:"M0,0 L60,30",stroke:"#C8102E","stroke-width":"2"}),C("path",{d:"M60,0 L0,30",stroke:"#C8102E","stroke-width":"2"}),C("path",{d:"M30,0 v30 M0,15 h60",stroke:"#fff","stroke-width":"10"}),C("path",{d:"M30,0 v30 M0,15 h60",stroke:"#C8102E","stroke-width":"6"})],-1),C("span",null,"English",-1)])],2)])])])])):At("",!0)]),_:1})]),X(r)?(ke(),an(ls,{key:0,variant:"compact"})):At("",!0),X(t).isUserAuth&&!X(t).userDocument?.phoneNumber?(ke(),an(ls,{key:1,variant:"compact",message:"Vi har opplevd problemer med lagring av telefonnummer. Dette er utbedret nå - beklager ulempene dette måtte medføre.",timeoutDate:"2026-01-30T12:00:00Z"})):At("",!0),X(t).isUserAuth&&JSON.stringify(X(t).userDocument?.settings)==="{}"?(ke(),an(ls,{key:2,variant:"compact",message:"Vi har opplevd problemer med lagring av innstillinger. Dette er utbedret nå - beklager ulempene dette måtte medføre.<br/> » <a href='/profile/settings'>Gå til innstillinger</a>",timeoutDate:"2026-02-30T12:00:00Z"})):At("",!0),C("main",EN,[C("div",CN,[he(g,null,{default:Oe(({Component:h})=>[he(_c,{name:"fade",mode:"out-in",onAfterLeave:u},{default:Oe(()=>[(ke(),an(eg(h),{key:m.$route.path}))]),_:2},1024)]),_:1})])]),C("footer",xN,[C("div",TN,[C("div",RN,[C("div",null,[p[21]||(p[21]=C("h2",{class:"text-xl font-bold mb-4"},"Stadssalg AS",-1)),C("p",IN,[Ye(ge(X(n)("general.address"))+": Olav V gate 100",1),p[18]||(p[18]=C("br",null,null,-1)),p[19]||(p[19]=Ye(" 8004 Bodø ",-1))]),he(f,{to:{path:"/info/customer-service"},class:"inline-flex items-center text-white hover:text-gray-300 transition-colors underline underline-offset-4"},{default:Oe(()=>[Ye(ge(X(n)("app.links.helpCenter")),1)]),_:1}),C("div",BN,[C("a",AN,[p[20]||(p[20]=C("svg",{class:"w-6 h-6",fill:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true"},[C("path",{"fill-rule":"evenodd",d:"M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.878v-6.987h-2.54V12h2.54V9.797c0-2.506 1.492-3.89 3.777-3.89 1.094 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.562V12h2.773l-.443 2.89h-2.33v6.988C18.343 21.128 22 16.991 22 12z","clip-rule":"evenodd"})],-1)),C("span",null,ge(X(n)("general.followUs")),1)])])]),C("div",MN,[C("h2",$N,ge(X(n)("general.certifications")),1),C("div",ON,[he(f,{to:{path:"/ghg"}},{default:Oe(()=>[...p[22]||(p[22]=[C("img",{class:"h-16 hover:opacity-80 transition-opacity",src:TL,alt:"Miljøfyrtårn",width:"58",height:"64",loading:"lazy"},null,-1)])]),_:1})])]),C("div",LN,[C("h2",NN,ge(X(n)("app.links.shortcuts")),1),C("ul",DN,[C("li",null,[he(f,{to:{path:"/info/bid-system"},class:"text-gray-300 hover:text-white transition-colors"},{default:Oe(()=>[Ye(ge(X(n)("app.links.termsOfUse")),1)]),_:1})]),C("li",null,[he(f,{to:{path:"/info/privacy"},class:"text-gray-300 hover:text-white transition-colors"},{default:Oe(()=>[Ye(ge(X(n)("app.links.privacyPolicy")),1)]),_:1})]),C("li",null,[he(f,{to:{path:"/info/transparency-act"},class:"text-gray-300 hover:text-white transition-colors"},{default:Oe(()=>[Ye(ge(X(n)("app.links.transparencyAct")),1)]),_:1})])])])])]),C("div",PN,[C("div",FN,[p[23]||(p[23]=C("img",{class:"h-8",src:Dd,alt:"Stadssalg AS",width:"128",height:"32",loading:"lazy"},null,-1)),C("div",jN," © "+ge(new Date().getFullYear())+" Stadssalg AS ",1)])])]),he(X(gg)),he(X(hg))])}}};var yc,Gt,kr,me={};function UN(e){return Object.assign(e,{autoCapturePageviews:e.autoCapturePageviews!==!1,logging:e.logging!==!1,bindToWindow:e.bindToWindow!==!1})}function zN(e){if(me.isInitialized)throw Error("plausible.init() can only be called once");if(!e||!e.domain)throw Error("plausible.init(): domain argument is required");e.endpoint||(e.endpoint="https://plausible.io/api/event"),Object.assign(me,e),me.isInitialized=!0}function Rm(e,t,r){window.fetch&&fetch(e,{method:"POST",headers:{"Content-Type":"text/plain"},keepalive:!0,body:JSON.stringify(t)}).then(function(o){r&&r.callback&&r.callback({status:o.status})}).catch(function(o){r&&r.callback&&r.callback({error:o})})}var ta=!1,Im=location.href,Bm={},ra=-1,_r=0,jo=0;function WN(){ta&&(Am(),Gt=_o(),kr=oa())}function qN(e){yc=!1,Im=e.u,Bm=e.p,ra=-1,jo=0,_r=Date.now(),YN()}function VN(){yc=!0}function Am(){var e=Mm();if(!yc&&(ra<kr||e>=3e3)){ra=kr;var t={n:"engagement",sd:Math.round(kr/Gt*100),d:me.domain,u:Im,p:Bm,e,v:33};_r=0,jo=0,me.hashBasedRouting&&(t.h=1),Rm(me.endpoint,t)}}function ds(){document.visibilityState==="visible"&&document.hasFocus()&&_r===0?_r=Date.now():document.visibilityState!=="hidden"&&document.hasFocus()||(jo=Mm(),_r=0,Am())}function YN(){ta||(document.addEventListener("visibilitychange",ds),window.addEventListener("blur",ds),window.addEventListener("focus",ds),ta=!0)}function Mm(){return _r?jo+(Date.now()-_r):jo}function _o(){var e=document.body||{},t=document.documentElement||{};return Math.max(e.scrollHeight||0,e.offsetHeight||0,e.clientHeight||0,t.scrollHeight||0,t.offsetHeight||0,t.clientHeight||0)}function oa(){var e=document.body||{},t=document.documentElement||{},r=window.innerHeight||t.clientHeight||0,o=window.scrollY||t.scrollTop||e.scrollTop||0;return Gt<=r?Gt:o+r}function GN(){Gt=_o(),kr=oa(),window.addEventListener("load",function(){Gt=_o();var e=0,t=setInterval(function(){Gt=_o(),++e==15&&clearInterval(t)},200)}),document.addEventListener("scroll",function(){Gt=_o();var e=oa();e>kr&&(kr=e)})}function Wr(e,t){if(!me.isInitialized)throw Error("plausible.track() can only be called after plausible.init()");var r,o=e==="pageview";if(o&&WN(),!me.captureOnLocalhost){if(/^localhost$|^127(\.[0-9]+){0,2}\.[0-9]+$|^\[::1?\]$/.test(location.hostname)||location.protocol==="file:")return En(e,t,"localhost");if((window._phantom||window.__nightmare||window.navigator.webdriver||window.Cypress)&&!window.__plausible)return En(e,t)}try{if(window.localStorage.plausible_ignore==="true")return En(e,t,"localStorage flag")}catch{}var n={};n.n=e,n.v=33;var i=t&&(t.u||t.url);if(n.u=i||location.href,n.d=me.domain,n.r=document.referrer||null,t&&t.props&&(n.p=t.props),t&&t.interactive===!1&&(n.i=!1),t&&t.revenue&&(n.$=t.revenue),me.customProperties){var r=me.customProperties;typeof r=="function"&&(r=me.customProperties(e)),typeof r=="object"&&(n.p=Object.assign({},r,n.p))}if(me.hashBasedRouting&&(n.h=1),typeof me.transformRequest=="function"&&!(n=me.transformRequest(n)))return En(e,t,"transformRequest");o&&qN(n),Rm(me.endpoint,n,t)}function En(e,t,r){r&&me.logging&&console.warn("Ignoring Event: "+r),t&&t.callback&&t.callback(),e==="pageview"&&VN()}var KN=["pdf","xlsx","docx","txt","rtf","csv","exe","key","pps","ppt","pptx","7z","pkg","rar","gz","zip","avi","mov","mp4","mpeg","wmv","midi","mp3","wav","wma","dmg"],$m=1,Om=3,Lm=KN;function XN(e){for(;e&&(e.tagName===void 0||!Nm(e)||!e.href);)e=e.parentNode;return e}function Nm(e){return e&&e.tagName&&e.tagName.toLowerCase()==="a"}function Fd(e){if(e.type!=="auxclick"||e.button===$m){var t=XN(e.target),r=t&&typeof t.href=="string"&&t.href.split("?")[0];if(!kc(t,0)){if(me.outboundLinks&&JN(t))return na(e,t,{name:"Outbound Link: Click",props:{url:t.href}});if(me.fileDownloads&&ZN(r))return na(e,t,{name:"File Download",props:{url:r}})}}}function na(e,t,r){var o;(o={props:r.props}).revenue=r.revenue,Wr(r.name,o)}function JN(e){return e&&typeof e.href=="string"&&e.host&&e.host!==location.host}function ZN(e){if(!e)return!1;var t=e.split(".").pop();return Lm.some(function(r){return r===t})}function vc(e){var t=e&&e.classList;if(t){for(var r=0;r<t.length;r++)if(t.item(r).match(/plausible-event-name(=|--)(.+)/))return!0}return!1}function kc(e,t){return!!e&&!(t>Om)&&(!!vc(e)||kc(e.parentNode,t+1))}function jd(e){var t=vc(e)?e:e&&e.parentNode,r={name:null,props:{}};r.revenue={};var o=t&&t.classList;if(!o)return r;for(var n=0;n<o.length;n++){var i,s,a=o.item(n),c=a.match(/plausible-event-(.+)(=|--)(.+)/);c&&(i=c[1],s=c[3].replace(/\+/g," "),i.toLowerCase()=="name"?r.name=s:r.props[i]=s);var l=a.match(/plausible-revenue-(.+)(=|--)(.+)/);l&&(i=l[1],s=l[3],r.revenue[i]=s)}return r}function QN(){function e(t){if(t.type!=="auxclick"||t.button===$m){for(var r,o,n,i=t.target,s=0;s<=Om&&i;s++){if((r=i)&&r.tagName&&r.tagName.toLowerCase()==="form")return;Nm(i)&&(o=i),vc(i)&&(n=i),i=i.parentNode}if(n){var a=jd(n);if(o)a.props.url=o.href,na(t,o,a);else{var c={};c.props=a.props,c.revenue=a.revenue,Wr(a.name,c)}}}}document.addEventListener("click",Fd),document.addEventListener("auxclick",Fd),me.fileDownloads&&typeof me.fileDownloads=="object"&&Array.isArray(me.fileDownloads.fileExtensions)&&(Lm=me.fileDownloads.fileExtensions),me.formSubmissions&&document.addEventListener("submit",function(t){(t.target.hasAttribute("novalidate")||t.target.checkValidity())&&(kc(t.target,0)||Wr("Form: Submission"))},!0),document.addEventListener("submit",function(t){var r,o=jd(t.target);o.name&&((r={props:o.props}).revenue=o.revenue,Wr(o.name,r))}),document.addEventListener("click",e),document.addEventListener("auxclick",e)}function eD(e){function t(s){(me.hashBasedRouting||!s||r!==location.pathname)&&(r=location.pathname,e("pageview"))}var r,o=function(){t(!0)};if(me.hashBasedRouting)window.addEventListener("hashchange",o);else{var n=window.history;if(n.pushState){var i=n.pushState;n.pushState=function(){i.apply(this,arguments),o()},window.addEventListener("popstate",o)}}document.visibilityState==="hidden"||document.visibilityState==="prerender"?document.addEventListener("visibilitychange",function(){r||document.visibilityState!=="visible"||t()}):t(),window.addEventListener("pageshow",function(s){s.persisted&&t()})}function tD(e){zN(UN(e||{})),GN(),me.autoCapturePageviews&&eD(Wr),QN(),me.bindToWindow&&typeof window<"u"&&(window.plausible=Wr,window.plausible.s="npm",window.plausible.v=33,window.plausible.l=!0)}Zg({immediate:!0,onRegistered(e){e&&setInterval(()=>e.update(),300*1e3)}});tD({domain:"stadssalg.no",endpoint:"https://cool-sunset.stadssalg.workers.dev/api/event"});const rD=bg(xL,{semantic:{primary:{50:"#fff5f5",100:"#ffe0e0",200:"#ffb3b3",300:"#ff8080",400:"#ff4d4d",500:"#f00000",600:"#d60000",700:"#b30000",800:"#8c0000",900:"#660000",950:"#400000"}}}),Rt=tg(HN),oD=rg(),nD=Kg();MC({app:Rt,dsn:"https://2bfdc402166e44f381098bbe47565c45@o589996.ingest.us.sentry.io/5739843",integrations:[LC({router:sn}),JE()],tracesSampleRate:.1,tracePropagationTargets:[/^https:\/\/(www\.)?stadssalg\.no/],replaysSessionSampleRate:.01,replaysOnErrorSampleRate:.01});Rt.use(oD);Rt.use(nD);Rt.use(Tp);Rt.use(sn);Rt.use(yg);Rt.use(vg);Rt.use(n1,{guiOptions:{consentModal:{layout:"box",position:"bottom right",equalWeightButtons:!1,flipButtons:!1},preferencesModal:{layout:"box",position:"right",equalWeightButtons:!0,flipButtons:!1}},cookie:{name:"ss_kake",expiresAfterDays:182},categories:{necessary:{enabled:!0,readOnly:!0}},language:{default:"nb",translations:{nb:{consentModal:{title:"Informasjonskapsler",description:"Vi bruker kun nødvendige informasjonskapsler for at nettsiden skal fungere (innlogging, kart). Vår statistikktjeneste er anonymisert og setter ingen informasjonskapsler.",acceptAllBtn:"OK",showPreferencesBtn:"Mer info"},preferencesModal:{title:"Om informasjonskapsler",acceptAllBtn:"OK",savePreferencesBtn:"Lukk",closeIconLabel:"Lukk",sections:[{title:"Nødvendige informasjonskapsler",description:"Disse er påkrevd for at nettsiden skal fungere. Dette inkluderer Firebase (innlogging og database) og Google Maps (kartvisning).",linkedCategory:"necessary"},{title:"Statistikk",description:"Vi bruker Plausible for anonymisert statistikk. Denne tjenesten er GDPR-vennlig og setter ingen informasjonskapsler."},{title:"Mer informasjon",description:"For spørsmål, les <a href='https://www.stadssalg.no/info/privacy' class='cc-link'>våre vilkår</a> eller <a class='cc-link' href='mailto:sporsmal@stadssalg.no'>kontakt oss</a>."}]}},en:{consentModal:{title:"Cookies",description:"We only use necessary cookies for the website to function (login, maps). Our analytics service is anonymized and does not set any cookies.",acceptAllBtn:"OK",showPreferencesBtn:"More info"},preferencesModal:{title:"About cookies",acceptAllBtn:"OK",savePreferencesBtn:"Close",closeIconLabel:"Close",sections:[{title:"Necessary cookies",description:"These are required for the website to function. This includes Firebase (login and database) and Google Maps (map display).",linkedCategory:"necessary"},{title:"Analytics",description:"We use Plausible for anonymized analytics. This service is GDPR-friendly and does not set any cookies."},{title:"More information",description:"For questions, read <a href='https://www.stadssalg.no/info/privacy' class='cc-link'>our terms</a> or <a class='cc-link' href='mailto:sporsmal@stadssalg.no'>contact us</a>."}]}}}}});Rt.use(kg,{theme:{preset:rD,options:{cssLayer:{name:"primevue",order:"base, primevue"},darkModeSelector:".dark"}}});Rt.mount("#app");jT();export{OL as _,ls as a,rc as b,dD as c,uD as d,we as e,mt as f,Pd as g,Nr as i,Wr as t,QL as u};