const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ErrorPage-CqVX1TXg.js","assets/primevue-D7Sw5WWT.js","assets/vendor-CI64q2To.js","assets/i18n-CyjFLOmc.js","assets/firebase-4nT4zmVO.js","assets/utils-BGJSpX6f.js","assets/Index-BueGmMPB.js","assets/useUtils-SAHjZgX4.js","assets/Index-DFHJGC7f.css","assets/GHG-B9Ea7cqe.js","assets/Index-DPZ8dw7q.js","assets/useSeo-CwqNQEyx.js","assets/List-DSrDZ3KC.js","assets/List-ujZ4E4jG.css","assets/Index-x3nSEOeR.css","assets/Index-BMU2I0ge.js","assets/Index-DtCuFOeZ.css","assets/Item-B3XPgzRm.js","assets/Item-B2ASgLcG.css","assets/Index-BwU732RH.js","assets/LoginWithToken-x4ULDiT3.js","assets/Index-xPKfaRu-.js","assets/useAddress-CZ079Qgm.js","assets/ForgotPassword-ZLPMLUwl.js","assets/Index-C78w6uCx.css","assets/Register-DsZ7rraJ.js","assets/Form-CHDl40nY.js","assets/MyFavorites-Hs_Lr5YY.js","assets/MyBids-B5IRQPB3.js","assets/MyBids-C078h9W3.css","assets/MySettings-D3r-yckD.js","assets/TwoFactorSetup-DgJGMcYU.js","assets/TwoFactorSetup-DoP_pZnp.css","assets/MySettings-BjPUFyBw.css","assets/EditCompany-CxfitXhN.js","assets/MyFilters-CUSvjpdL.js","assets/CustomEmailHandler-B_RfuFsm.js","assets/TwoFactorSetupPage-Bwd7nzE1.js","assets/404-D0boJILg.js"])))=>i.map(i=>d[i]);
import{S as jm,N as Hm,U as Um,i as zm,r as ot,V as Wm,W as qm,X as Vm,Y as Ym,g as Gm,Z as Km,C as ur,_ as Xm,$ as Jm,w as Zm,a0 as Wd,h as Be,f as _e,j as T,a1 as Qm,e as Bt,F as eg,x as he,v as Oe,t as ge,a2 as J,s as fs,o as tg,Q as rg,d as an,a3 as cn,B as ln,D as Sc,A as Ye,l as og,a4 as ng,a5 as ig}from"./vendor-CI64q2To.js";import{c as sg,u as qd}from"./i18n-CyjFLOmc.js";import{i as ag,g as cg,a as lg,s as Cn,c as dg,b as ug,d as fg,m as $i,e as pg,T as wc,f as mg,E as Ec,r as Cc,u as gg,v as hg,o as bg}from"./firebase-4nT4zmVO.js";import{s as Oi,a as yg,b as vg,c as kg,t as _g,T as Sg,C as wg,P as Eg}from"./primevue-D7Sw5WWT.js";import{r as Cg,g as xg}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 ps(e,t={},r){for(const o in e){const n=e[o],i=r?`${r}:${o}`:o;typeof n=="object"&&n!==null?ps(n,t,i):typeof n=="function"&&(t[i]=n)}return t}const Vd=(()=>{if(console.createTask)return console.createTask;const e={run:t=>t()};return()=>e})();function Yd(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(()=>Yd(e,t,n+1,o))}catch(i){return Promise.reject(i)}}function Tg(e,t,r){if(e.length>0)return Yd(e,t,0,Vd(r))}function Rg(e,t,r){if(e.length>0){const o=Vd(r);return Promise.all(e.map(n=>o.run(()=>n(...t))))}}function Li(e,t){for(const r of[...e])r(t)}var Ig=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=ps(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=ps(e);for(const r in t)this.removeHook(r,t[r])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(Tg,e,t)}callHookParallel(e,...t){return this.callHookWith(Rg,e,t)}callHookWith(e,t,r){const o=this._before||this._after?{name:t,args:r,context:{}}:void 0;this._before&&Li(this._before,o);const n=e(this._hooks[t]?[...this._hooks[t]]:[],r,t);return n instanceof Promise?n.finally(()=>{this._after&&o&&Li(this._after,o)}):(this._after&&o&&Li(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 Ag(){return new Ig}const Bg=new Set(["link","style","script","noscript"]),Mg=new Set(["title","titleTemplate","script","style","noscript"]),xc=new Set(["base","meta","link","style","script","noscript"]),$g=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),Og=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Lg=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),Ng=new Set(["templateParams","htmlAttrs","bodyAttrs"]),Pg=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),Dg=["name","property","http-equiv"],Fg=new Set(["viewport","description","keywords","robots"]);function Gd(e){const t=e.split(":");return t.length?Pg.has(t[1]):!1}function ms(e){const{props:t,tag:r}=e;if(Og.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 Dg)if(t[o]!==void 0){const n=t[o],i=n&&typeof n=="string"&&n.includes(":"),s=n&&Fg.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(Mg.has(r)){const o=e.textContent||e.innerHTML;if(o)return`${r}:content:${o}`}}function Tc(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 jg(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 Kd(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]=jg(r,o);return}if(Lg.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 Hg(e,t){const r=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},o=Kd({tag:e,props:{}},r);return o.key&&Bg.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 Ug(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(Hg(n,s))}),o.flat()}const Rc=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Ic={base:-10,title:10},zg={critical:-8,high:-1,low:2},Ac={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}},Wg=/@import/,ho=e=>e===""||e===!0;function qg(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let r=100;const o=zg[t.tagPriority]||0,n=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Ac;if(t.tag in Ic)r=Ic[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=Ac.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&&Wg.test(t.innerHTML)?n.style.imported:n.style.sync);return(r||100)+o}function Bc(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 Vg(e={}){const t=Ag();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=>Bc(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:Ug(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=qg(s,g),g._p=(p._i<<10)+h,g._d=ms(g),g))}}let c=!1;a.entries.flatMap(m=>(m._tags||[]).map(p=>({...p,props:{...p.props}}))).sort(Rc).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||(Ng.has(p.tag)?"merge":null)||(p.key&&p.key===g.key?"merge":null))==="merge"){const b={...g.props};Object.entries(p.props).forEach(([w,k])=>b[w]=w==="style"?new Map([...g.props.style||new Map,...k]):w==="class"?new Set([...g.props.class||new Set,...k]):k),m.set(f,{...p,props:b})}else p._p>>10===g._p>>10&&p.tag==="meta"&&Gd(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(Rc)),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($g.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=ms(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=>Bc(s,a)),s.hooks.callHook("init",s),e.init?.forEach(a=>a&&s.push(a)),s}async function Xd(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)||Tc(g),shouldRender:!0};return g._d&&Gd(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(!xc.has(h))continue;const b=Kd({tag:h,props:{}},{innerHTML:g.innerHTML,...g.getAttributeNames().reduce((w,k)=>(w[k]=g.getAttribute(k),w),{})||{}});if(b.key=g.getAttribute("data-hid")||void 0,b._d=ms(b)||Tc(b),a.elMap.has(b._d)){let w=1,k=b._d;for(;a.elMap.has(k);)k=`${b._d}:${w++}`;a.elMap.set(k,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 w=g.props[b];if(b.startsWith("on")&&typeof w=="function"){const _=f?.dataset;if(_&&_[`${b}fired`]){const E=b.slice(0,-5);w.call(f,new Event(E.substring(2)))}f.getAttribute(`data-${b}`)!==""&&((g.tag==="bodyAttrs"?r.defaultView:f).addEventListener(b.substring(2),w.bind(f)),f.setAttribute(`data-${b}`,""));continue}const k=`attr:${b}`;if(b==="class"){if(!w)continue;for(const _ of w)h&&c(p,`${k}:${_}`,()=>f.classList.remove(_)),!f.classList.contains(_)&&f.classList.add(_)}else if(b==="style"){if(!w)continue;for(const[_,E]of w)c(p,`${k}:${_}`,()=>{f.style.removeProperty(_)}),f.style.setProperty(_,E)}else w!==!1&&w!==null&&(f.getAttribute(b)!==w&&f.setAttribute(b,w===!0?"":String(w)),h&&c(p,k,()=>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):xc.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 Yg(e={}){const t=e.domOptions?.render||Xd;e.document=e.document||(typeof window<"u"?document:void 0);const r=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return Vg({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[r?JSON.parse(r):!1,...e.init||[]]})}function Gg(e,t){let r=0;return()=>{const o=++r;t(()=>{r===o&&e()})}}const Kg=(e,t)=>Hm(t)?jm(t):t,Jd="usehead";function Xg(e){return{install(r){r.config.globalProperties.$unhead=e,r.config.globalProperties.$head=e,r.provide(Jd,e)}}.install}function Jg(){if(Um()){const e=zm(Jd);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 pP(e,t={}){const r=t.head||Jg();return r.ssr?r.push(e||{},t):Zg(r,e,t)}function Zg(e,t,r={}){const o=ot(!1);let n;return Wm(()=>{const s=o.value?{}:zn(t,Kg);n?n.patch(s):n=e.push(s,r)}),Gm()&&(qm(()=>{n.dispose()}),Vm(()=>{o.value=!0}),Ym(()=>{o.value=!1})),n}function Qg(e={}){const t=Yg({domOptions:{render:Gg(()=>Xd(t),r=>setTimeout(r,0))},...e});return t.install=Xg(t),t}const eh="modulepreload",th=function(e){return"/"+e},Mc={},ke=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=th(l),l in Mc)return;Mc[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":eh,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 rh(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 ke(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,gr="10.34.0";function Rr(){return fi(ee),ee}function fi(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||gr,t[gr]=t[gr]||{}}function ro(e,t,r=ee){const o=r.__SENTRY__=r.__SENTRY__||{},n=o[gr]=o[gr]||{};return n[e]||(n[e]=t())}const oh=["debug","info","warn","error","log","assert","trace"],nh="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 ih(){aa().enabled=!0}function sh(){aa().enabled=!1}function Zd(){return aa().enabled}function ah(...e){sa("log",...e)}function ch(...e){sa("warn",...e)}function lh(...e){sa("error",...e)}function sa(e,...t){N&&Zd()&&zt(()=>{ee.console[e](`${nh}[${e}]:`,...t)})}function aa(){return N?ro("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const R={enable:ih,disable:sh,isEnabled:Zd,log:ah,warn:ch,error:lh},Qd=50,wr="?",$c=/\(error: (.*)\)/,Oc=/captureMessage|captureException/;function eu(...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=$c.test(c)?c.replace($c,"$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>=Qd+n)break}}return uh(i.slice(n))}}function dh(e){return Array.isArray(e)?eu(...e):e}function uh(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(dn(t).function||"")&&t.pop(),t.reverse(),Oc.test(dn(t).function||"")&&(t.pop(),Oc.test(dn(t).function||"")&&t.pop()),t.slice(0,Qd).map(r=>({...r,filename:r.filename||dn(t).filename,function:r.function||wr}))}function dn(e){return e[e.length-1]||{}}const Ni="<anonymous>";function Pt(e){try{return!e||typeof e!="function"?Ni:e.name||Ni}catch{return Ni}}function Lc(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 tu(e){return"__v_isVNode"in e&&e.__v_isVNode?"[VueVNode]":"[VueViewModel]"}const xn={},Nc={};function or(e,t){xn[e]=xn[e]||[],xn[e].push(t)}function nr(e,t){if(!Nc[e]){Nc[e]=!0;try{t()}catch(r){N&&R.error(`Error while instrumenting ${e}`,r)}}}function lt(e,t){const r=e&&xn[e];if(r)for(const o of r)try{o(t)}catch(n){N&&R.error(`Error while triggering instrumentation handler.
Type: ${e}
Name: ${Pt(o)}
Error:`,n)}}let Pi=null;function ru(e){const t="error";or(t,e),nr(t,fh)}function fh(){Pi=ee.onerror,ee.onerror=function(e,t,r,o,n){return lt("error",{column:o,error:n,line:r,msg:e,url:t}),Pi?Pi.apply(this,arguments):!1},ee.onerror.__SENTRY_INSTRUMENTED__=!0}let Di=null;function ou(e){const t="unhandledrejection";or(t,e),nr(t,ph)}function ph(){Di=ee.onunhandledrejection,ee.onunhandledrejection=function(e){return lt("unhandledrejection",e),Di?Di.apply(this,arguments):!0},ee.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const nu=Object.prototype.toString;function pi(e){switch(nu.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return Dt(e,Error)}}function oo(e,t){return nu.call(e)===`[object ${t}]`}function iu(e){return oo(e,"ErrorEvent")}function Pc(e){return oo(e,"DOMError")}function mh(e){return oo(e,"DOMException")}function $t(e){return oo(e,"String")}function ca(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function qr(e){return e===null||ca(e)||typeof e!="object"&&typeof e!="function"}function Ro(e){return oo(e,"Object")}function mi(e){return typeof Event<"u"&&Dt(e,Event)}function gh(e){return typeof Element<"u"&&Dt(e,Element)}function hh(e){return oo(e,"RegExp")}function no(e){return!!(e?.then&&typeof e.then=="function")}function bh(e){return Ro(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function Dt(e,t){try{return e instanceof t}catch{return!1}}function su(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue||e.__v_isVNode))}function la(e){return typeof Request<"u"&&Dt(e,Request)}const da=ee,yh=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||yh;for(;r&&i++<o&&(l=vh(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 vh(e,t){const r=e,o=[];if(!r?.tagName)return"";if(da.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 da.document.location.href}catch{return""}}function au(e){if(!da.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"&&cu(n,o);try{e[t]=n}catch{N&&R.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&&R.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function cu(e,t){try{const r=t.prototype||{};e.prototype=t.prototype=r,et(e,"__sentry_original__",t)}catch{}}function ua(e){return e.__sentry_original__}function lu(e){if(pi(e))return{message:e.message,name:e.name,stack:e.stack,...Fc(e)};if(mi(e)){const t={type:e.type,target:Dc(e.target),currentTarget:Dc(e.currentTarget),...Fc(e)};return typeof CustomEvent<"u"&&Dt(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function Dc(e){try{return gh(e)?Qe(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function Fc(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 kh(e){const t=Object.keys(lu(e));return t.sort(),t[0]?t.join(", "):"[object has no keys]"}let Mr;function Ho(e){if(Mr!==void 0)return Mr?Mr(e):e();const t=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),r=ee;return t in r&&typeof r[t]=="function"?(Mr=r[t],Mr(e)):(Mr=null,e())}function Kt(){return Ho(()=>Math.random())}function Uo(){return Ho(()=>Date.now())}function gs(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function jc(e,t){if(!Array.isArray(e))return"";const r=[];for(let o=0;o<e.length;o++){const n=e[o];try{su(n)?r.push(tu(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)?hh(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 _h(){const e=ee;return e.crypto||e.msCrypto}let Fi;function Sh(){return Kt()*16}function it(e=_h()){try{if(e?.randomUUID)return Ho(()=>e.randomUUID()).replace(/-/g,"")}catch{}return Fi||(Fi="10000000100040008000"+1e11),Fi.replace(/[018]/g,t=>(t^(Sh()&15)>>t/4).toString(16))}function du(e){return e.exception?.values?.[0]}function dr(e){const{message:t,event_id:r}=e;if(t)return t;const o=du(e);return o?o.type&&o.value?`${o.type}: ${o.value}`:o.type||o.value||r||"<unknown>":r||"<unknown>"}function hs(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=du(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 Hc(e){if(wh(e))return!0;try{et(e,"__sentry_captured__",!0)}catch{}return!1}function wh(e){try{return e.__sentry_captured__}catch{}}const uu=1e3;function Ir(){return Uo()/uu}function Eh(){const{performance:e}=ee;if(!e?.now||!e.timeOrigin)return Ir;const t=e.timeOrigin;return()=>(t+Ho(()=>e.now()))/uu}let Uc;function Ie(){return(Uc??(Uc=Eh()))()}let ji=null;function Ch(){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 ji===null&&(ji=Ch()),ji}function xh(e){const t=Ie(),r={sid:it(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>Rh(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:it()),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 Th(e,t){let r={};e.status==="ok"&&(r={status:"exited"}),Yr(e,r)}function Rh(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 it()}function Lt(){return it().substring(16)}const bs="_sentrySpan";function Gr(e,t){t?et(e,bs,t):delete e[bs]}function qn(e){return e[bs]}const Ih=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:Ih;if(o<=0)return this;const n={timestamp:Ir(),...t,message:t.message?gs(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||it();if(!this._client)return N&&R.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||it();if(!this._client)return N&&R.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||it();return this._client?(this._client.captureEvent(t,{...r,event_id:o},this),o):(N&&R.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 Ah(){return ro("defaultCurrentScope",()=>new xt)}function Bh(){return ro("defaultIsolationScope",()=>new xt)}class Mh{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=Rr(),t=fi(e);return t.stack=t.stack||new Mh(Ah(),Bh())}function $h(e){return Kr().withScope(e)}function Oh(e,t){const r=Kr();return r.withScope(()=>(r.getStackTop().scope=e,t(e)))}function zc(e){return Kr().withScope(()=>e(Kr().getIsolationScope()))}function Lh(){return{withIsolationScope:zc,withScope:$h,withSetScope:Oh,withSetIsolationScope:(e,t)=>zc(t),getCurrentScope:()=>Kr().getScope(),getIsolationScope:()=>Kr().getIsolationScope()}}function so(e){const t=fi(e);return t.acs?t.acs:Lh()}function fe(){const e=Rr();return so(e).getCurrentScope()}function Tt(){const e=Rr();return so(e).getIsolationScope()}function Nh(){return ro("globalScope",()=>new xt)}function gi(...e){const t=Rr(),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 Ph(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",fa="sentry.sample_rate",fu="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",Wc="sentry.custom_span_name",pa="sentry.profile_id",ao="sentry.exclusive_time",Dh="sentry.link.type",Fh=0,ma=1,Le=2;function jh(e){if(e<400&&e>=100)return{code:ma};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 pu(e,t){e.setAttribute("http.response.status_code",t);const r=jh(t);r.message!=="unknown_error"&&e.setStatus(r)}const mu="_sentryScope",gu="_sentryIsolationScope";function Hh(e){try{const t=ee.WeakRef;if(typeof t=="function")return new t(e)}catch{}return e}function Uh(e){if(e){if(typeof e=="object"&&"deref"in e&&typeof e.deref=="function")try{return e.deref()}catch{return}return e}}function zh(e,t,r){e&&(et(e,gu,Hh(r)),et(e,mu,t))}function Vn(e){const t=e;return{scope:t[mu],isolationScope:Uh(t[gu])}}const ga="sentry-",Wh=/^sentry-/,qh=8192;function hu(e){const t=Yh(e);if(!t)return;const r=Object.entries(t).reduce((o,[n,i])=>{if(n.match(Wh)){const s=n.slice(ga.length);o[s]=i}return o},{});if(Object.keys(r).length>0)return r}function Vh(e){if(!e)return;const t=Object.entries(e).reduce((r,[o,n])=>(n&&(r[`${ga}${o}`]=n),r),{});return Gh(t)}function Yh(e){if(!(!e||!$t(e)&&!Array.isArray(e)))return Array.isArray(e)?e.reduce((t,r)=>{const o=qc(r);return Object.entries(o).forEach(([n,i])=>{t[n]=i}),t},{}):qc(e)}function qc(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 Gh(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>qh?(N&&R.warn(`Not adding key: ${r} with val: ${o} to baggage header due to exceeding baggage size limits.`),t):s},"")}const Kh=/^o(\d+)\./,Xh=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function Jh(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 Zh(e){const t=Xh.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 bu({host:i,pass:n,path:c,projectId:l,port:s,protocol:r,publicKey:o})}function bu(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function Qh(e){if(!N)return!0;const{port:t,projectId:r,protocol:o}=e;return["protocol","publicKey","host","projectId"].find(s=>e[s]?!1:(R.error(`Invalid Sentry Dsn: ${s} missing`),!0))?!1:r.match(/^\d+$/)?Jh(o)?t&&isNaN(parseInt(t,10))?(R.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(R.error(`Invalid Sentry Dsn: Invalid protocol ${o}`),!1):(R.error(`Invalid Sentry Dsn: Invalid projectId ${r}`),!1)}function e0(e){return e.match(Kh)?.[1]}function t0(e){const t=e.getOptions(),{host:r}=e.getDsn()||{};let o;return t.orgId?o=String(t.orgId):r&&(o=e0(r)),o}function r0(e){const t=typeof e=="string"?Zh(e):bu(e);if(!(!t||!Qh(t)))return t}function Er(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 yu=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function o0(e){if(!e)return;const t=e.match(yu);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 n0(e,t){const r=o0(e),o=hu(t);if(!r?.traceId)return{traceId:Ft(),sampleRand:Kt()};const n=i0(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 vu(e=Ft(),t=Lt(),r){let o="";return r!==void 0&&(o=r?"-1":"-0"),`${e}-${t}${o}`}function ku(e=Ft(),t=Lt(),r){return`00-${e}-${t}-${r?"01":"00"}`}function i0(e,t){const r=Er(t?.sample_rand);if(r!==void 0)return r;const o=Er(t?.sample_rate);return o&&e?.parentSampled!==void 0?e.parentSampled?Kt()*o:o+Kt()*(1-o):Kt()}const _u=0,ha=1;let Vc=!1;function s0(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 a0(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 c0(e){const{traceId:t,spanId:r}=e.spanContext(),o=ir(e);return vu(t,r,o)}function l0(e){const{traceId:t,spanId:r}=e.spanContext(),o=ir(e);return ku(t,r,o)}function Su(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===ha,attributes:i,...n}))}function hr(e){return typeof e=="number"?Yc(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?Yc(e.getTime()):Ie()}function Yc(e){return e>9999999999?e/1e3:e}function oe(e){if(u0(e))return e.getSpanJSON();const{spanId:t,traceId:r}=e.spanContext();if(d0(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:hr(n),timestamp:hr(s)||void 0,status:wu(a),op:o[jt],origin:o[Ce],links:Su(c)}}return{span_id:t,trace_id:r,start_timestamp:0,data:{}}}function d0(e){const t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function u0(e){return typeof e.getSpanJSON=="function"}function ir(e){const{traceFlags:t}=e.spanContext();return t===ha}function wu(e){if(!(!e||e.code===Fh))return e.code===ma?"ok":e.message||"internal_error"}const br="_sentryChildSpans",ys="_sentryRootSpan";function Eu(e,t){const r=e[ys]||e;et(t,ys,r),e[br]?e[br].add(t):et(e,br,new Set([t]))}function f0(e,t){e[br]&&e[br].delete(t)}function Rn(e){const t=new Set;function r(o){if(!t.has(o)&&ir(o)){t.add(o);const n=o[br]?Array.from(o[br]):[];for(const i of n)r(i)}}return r(e),Array.from(t)}function Fe(e){return e[ys]||e}function je(){const e=Rr(),t=so(e);return t.getActiveSpan?t.getActiveSpan():qn(fe())}function vs(){Vc||(zt(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),Vc=!0)}let Gc=!1;function p0(){if(Gc)return;function e(){const t=je(),r=t&&Fe(t);if(r){const o="internal_error";N&&R.log(`[Tracing] Root span: ${o} -> Global error occurred`),r.setStatus({code:Le,message:o})}}e.tag="sentry_tracingErrorCallback",Gc=!0,ru(e),ou(e)}function dt(e){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const t=e||te()?.getOptions();return!!t&&(t.tracesSampleRate!=null||!!t.tracesSampler)}function Kc(e){R.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(g0(r)){if(Tn(e.description,r))return N&&Kc(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&&Kc(e),!0}return!1}function m0(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 g0(e){return typeof e=="string"||e instanceof RegExp}const ba="production",Cu="_frozenDsc";function In(e,t){et(e,Cu,t)}function xu(e,t){const r=t.getOptions(),{publicKey:o}=t.getDsn()||{},n={environment:r.environment||ba,release:r.release,public_key:o,trace_id:e,org_id:t0(t)};return t.emit("createDsc",n),n}function Tu(e,t){const r=t.getPropagationContext();return r.dsc||xu(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[fa]??n[fu];function a(f){return(typeof s=="number"||typeof s=="string")&&(f.sample_rate=`${s}`),f}const c=r[Cu];if(c)return a(c);const l=i?.get("sentry.dsc"),d=l&&hu(l);if(d)return a(d);const u=xu(e.spanContext().traceId,t),m=n[Xe],p=o.description;return m!=="url"&&p&&(u.transaction=p),dt()&&(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:_u}}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 mt(e,t=100,r=1/0){try{return ks("",e,t,r)}catch(o){return{ERROR:`**non-serializable** (${o})`}}}function Ru(e,t=3,r=100*1024){const o=mt(e,t);return v0(o)>r?Ru(e,t-1,r):o}function ks(e,t,r=1/0,o=1/0,n=k0()){const[i,s]=n;if(t==null||["boolean","string"].includes(typeof t)||typeof t=="number"&&Number.isFinite(t))return t;const a=h0(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 ks("",p,c-1,o,n)}catch{}const d=Array.isArray(t)?[]:{};let u=0;const m=lu(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]=ks(p,f,c-1,o,n),u++}return s(t),d}function h0(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(su(t))return tu(t);if(bh(t))return"[SyntheticEvent]";if(typeof t=="number"&&!Number.isFinite(t))return`[${t}]`;if(typeof t=="function")return`[Function: ${Pt(t)}]`;if(typeof t=="symbol")return`[${String(t)}]`;if(typeof t=="bigint")return`[BigInt: ${String(t)}]`;const r=b0(t);return/^HTML(\w*)Element$/.test(r)?`[HTMLElement: ${r}]`:`[object ${r}]`}catch(r){return`**non-serializable** (${r})`}}function b0(e){const t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}function y0(e){return~-encodeURI(e).split(/%..|./).length}function v0(e){return y0(JSON.stringify(e))}function k0(){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 _0(e,t){const[r,o]=e;return[r,[...o,t]]}function _s(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 S0(e,t){return _s(e,(r,o)=>t.includes(o))}function Ss(e){const t=fi(ee);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function w0(e){const[t,r]=e;let o=JSON.stringify(t);function n(i){typeof o=="string"?o=typeof i=="string"?o+i:[Ss(o),i]:o.push(typeof i=="string"?Ss(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(mt(a))}n(c)}}return typeof o=="string"?o:E0(o)}function E0(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 C0(e){return[{type:"span"},e]}function x0(e){const t=typeof e.data=="string"?Ss(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}const T0={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 Xc(e){return T0[e]}function ya(e){if(!e?.sdk)return;const{name:t,version:r}=e.sdk;return{name:t,version:r}}function Iu(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 R0(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 I0(e,t,r,o){const n=ya(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 A0(e,t,r,o){const n=ya(r),i=e.type&&e.type!=="replay_event"?e.type:"event";R0(e,r?.sdk);const s=Iu(e,n,o,t);return delete e.sdkProcessingMetadata,sr(s,[[{type:i},e]])}function B0(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||(vs(),f)}:oe,m=[];for(const p of l){const f=u(p);f&&m.push(C0(f))}return sr(s,m)}function M0(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}`)}R.log(`${c}
  ${l.join(`
  `)}`)}function $0(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}`;R.log(s)}function O0(e,t,r,o=je()){const n=o&&Fe(o);n&&(N&&R.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${r}`),n.addEvent(e,{[qo]:t,[Wo]:r}))}function Jc(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 Zc=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?ha:_u}}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=hr(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=hr(t),$0(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:wu(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[Ce],profile_id:this._attributes[pa],exclusive_time:this._attributes[ao],measurements:Jc(this._events),is_segment:this._isStandaloneSpan&&Fe(this)===this||void 0,segment_id:this._isStandaloneSpan?Fe(this).spanContext().spanId:void 0,links:Su(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,r,o){N&&R.log("[Tracing] Adding an event to span:",t);const n=Qc(r)?r:o||Ie(),i=Qc(r)?{}:r||{},s={name:t,time:hr(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?N0(B0([this],t)):(N&&R.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(!el(oe(this)))return;this._name||(N&&R.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&&!L0(d)).map(d=>oe(d)).filter(el),s=this._attributes[Xe];delete this._attributes[Wc],i.forEach(d=>{delete d.data[Wc]});const a={contexts:{trace:s0(this)},spans:i.length>Zc?i.sort((d,u)=>d.start_timestamp-u.start_timestamp).slice(0,Zc):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=Jc(this._events);return c&&Object.keys(c).length&&(N&&R.log("[Measurements] Adding measurements to transaction event",JSON.stringify(c,void 0,2)),a.measurements=c),a}}function Qc(e){return e&&typeof e=="number"||e instanceof Date||Array.isArray(e)}function el(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function L0(e){return e instanceof hi&&e.isStandaloneSpan()}function N0(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 P0(e,t,r=()=>{},o=()=>{}){let n;try{n=e()}catch(i){throw t(i),r(),i}return D0(n,t,r,o)}function D0(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 F0(e,t,r){if(!dt(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=Er(n);if(i===void 0)return N&&R.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&&R.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&&R.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(n)})`),[s,i,o]}const Au="__SENTRY_SUPPRESS_TRACING__";function j0(e,t){const r=ka();if(r.startSpan)return r.startSpan(e,t);const o=Mu(e),{forceTransaction:n,parentSpan:i,scope:s}=e,a=s?.clone();return gi(a,()=>U0(i)(()=>{const l=fe(),d=$u(l,i),m=e.onlyIfParent&&!d?new Qt:Bu({parentSpan:d,spanArguments:o,forceTransaction:n,scope:l});return Gr(l,m),P0(()=>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=ka();if(t.startInactiveSpan)return t.startInactiveSpan(e);const r=Mu(e),{forceTransaction:o,parentSpan:n}=e;return(e.scope?s=>gi(e.scope,s):n!==void 0?s=>va(n,s):s=>s())(()=>{const s=fe(),a=$u(s,n);return e.onlyIfParent&&!a?new Qt:Bu({parentSpan:a,spanArguments:r,forceTransaction:o,scope:s})})}function va(e,t){const r=ka();return r.withActiveSpan?r.withActiveSpan(e,t):gi(o=>(Gr(o,e||void 0),t(o)))}function Bu({parentSpan:e,spanArguments:t,forceTransaction:r,scope:o}){if(!dt()){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=H0(e,o,t),Eu(e,i);else if(e){const s=Ht(e),{traceId:a,spanId:c}=e.spanContext(),l=ir(e);i=tl({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=tl({traceId:s,parentSpanId:c,...t},o,l),a&&In(i,a)}return M0(i),zh(i,o,n),i}function Mu(e){const r={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){const o={...r};return o.startTimestamp=hr(e.startTime),delete o.startTime,o}return r}function ka(){const e=Rr();return so(e)}function tl(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[Au]?[!1]:F0(n,{name:i,parentSampled:a,attributes:c,parentSampleRate:Er(l.dsc?.sample_rate)},l.sampleRand),p=new hi({...e,attributes:{[Xe]:"custom",[fa]:u!==void 0&&m?u:void 0,...c},sampled:d});return!d&&o&&(N&&R.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 H0(e,t,r){const{spanId:o,traceId:n}=e.spanContext(),i=t.getScopeData().sdkProcessingMetadata[Au]?!1:ir(e),s=i?new hi({...r,parentSpanId:o,traceId:n,sampled:i}):new Qt({traceId:n});Eu(e,s);const a=te();return a&&(a.emit("spanStart",s),r.endTimestamp&&a.emit("spanEnd",s)),s}function $u(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 U0(e){return e!==void 0?t=>va(e,t):t=>t()}const An={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3},z0="heartbeatFailed",W0="idleTimeout",q0="finalTimeout",V0="externalFinish";function Ou(e,t={}){const r=new Map;let o=!1,n,i=V0,s=!t.disableAutoFinish;const a=[],{idleTimeout:c=An.idleTimeout,finalTimeout:l=An.finalTimeout,childSpanTimeout:d=An.childSpanTimeout,beforeSpanEnd:u,trimIdleSpanEndTimestamp:m=!0}=t,p=te();if(!p||!dt()){const y=new Qt,A={sample_rate:"0",sampled:"false",...Ht(y)};return In(y,A),y}const f=fe(),g=je(),h=Y0(e);h.end=new Proxy(h.end,{apply(y,A,K){if(u&&u(h),A instanceof Qt)return;const[I,...B]=K,D=I||Ie(),P=hr(D),L=Rn(h).filter($=>$!==h),Q=oe(h);if(!L.length||!m)return x(P),Reflect.apply(y,A,[P,...B]);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),C=Q.start_timestamp,W=Math.min(C?C+l/1e3:1/0,Math.max(C||-1/0,Math.min(P,U||1/0)));return x(W),Reflect.apply(y,A,[W,...B])}});function b(){n&&(clearTimeout(n),n=void 0)}function w(y){b(),n=setTimeout(()=>{!o&&r.size===0&&s&&(i=W0,h.end(y))},c)}function k(y){n=setTimeout(()=>{!o&&s&&(i=z0,h.end(y))},d)}function _(y){b(),r.set(y,!0);const A=Ie();k(A+d/1e3)}function E(y){if(r.has(y)&&r.delete(y),r.size===0){const A=Ie();w(A+c/1e3)}}function x(y){o=!0,r.clear(),a.forEach(L=>L()),Gr(f,g);const A=oe(h),{start_timestamp:K}=A;if(!K)return;A.data[Io]||h.setAttribute(Io,i);const B=A.status;(!B||B==="unknown")&&h.setStatus({code:ma}),R.log(`[Tracing] Idle span "${A.op}" finished`);const D=Rn(h).filter(L=>L!==h);let P=0;D.forEach(L=>{L.isRecording()&&(L.setStatus({code:Le,message:"cancelled"}),L.end(y),N&&R.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,C=U<=y,W=(l+c)/1e3,$=F-U<=W;if(N){const q=JSON.stringify(L,void 0,2);C?$||R.log("[Tracing] Discarding span since it finished after idle span final timeout",q):R.log("[Tracing] Discarding span since it happened after idle span was finished",q)}(!$||!C)&&(f0(h,L),P++)}),P>0&&h.setAttribute("sentry.idle_span_discarded_spans",P)}return a.push(p.on("spanStart",y=>{if(o||y===h||oe(y).timestamp||y instanceof hi&&y.isStandaloneSpan())return;Rn(h).includes(y)&&_(y.spanContext().spanId)})),a.push(p.on("spanEnd",y=>{o||E(y.spanContext().spanId)})),a.push(p.on("idleSpanEnableAutoFinish",y=>{y===h&&(s=!0,w(),r.size&&k())})),t.disableAutoFinish||w(),setTimeout(()=>{o||(h.setStatus({code:Le,message:"deadline_exceeded"}),i=q0,h.end())},l),h}function Y0(e){const t=er(e);return Gr(fe(),t),N&&R.log("[Tracing] Started span is an idle span"),t}const Hi=0,rl=1,ol=2;function bi(e){return new Ao(t=>{t(e)})}function _a(e){return new Ao((t,r)=>{r(e)})}class Ao{constructor(t){this._state=Hi,this._handlers=[],this._runExecutor(t)}then(t,r){return new Ao((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 Ao((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===Hi)return;const t=this._handlers.slice();this._handlers=[],t.forEach(r=>{r[0]||(this._state===rl&&r[1](this._value),this._state===ol&&r[2](this._value),r[0]=!0)})}_runExecutor(t){const r=(i,s)=>{if(this._state===Hi){if(no(s)){s.then(o,n);return}this._state=i,this._value=s,this._executeHandlers()}},o=i=>{r(rl,i)},n=i=>{r(ol,i)};try{t(o,n)}catch(i){n(i)}}}function G0(e,t,r,o=0){try{const n=ws(t,r,e,o);return no(n)?n:bi(n)}catch(n){return _a(n)}}function ws(e,t,r,o){const n=r[o];if(!e||!n)return e;const i=n({...e},t);return N&&i===null&&R.log(`Event processor "${n.id||"?"}" dropped event`),no(i)?i.then(s=>ws(s,t,r,o+1)):ws(i,t,r,o+1)}let cr,nl,il,qt;function K0(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===nl&&n.length===il)return qt;nl=o.length,il=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 X0(e,t){const{fingerprint:r,span:o,breadcrumbs:n,sdkProcessingMetadata:i}=t;Z0(e,t),o&&tb(e,o),rb(e,r),Q0(e,n),eb(e,i)}function sl(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 J0(e,t){const r=Nh().getScopeData();return e&&sl(r,e.getScopeData()),t&&sl(r,t.getScopeData()),r}function Z0(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 Q0(e,t){const r=[...e.breadcrumbs||[],...t];e.breadcrumbs=r.length?r:void 0}function eb(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function tb(e,t){e.contexts={trace:a0(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 rb(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 Lu(e,t,r,o,n,i){const{normalizeDepth:s=3,normalizeMaxBreadth:a=1e3}=e,c={...t,event_id:t.event_id||r.event_id||it(),timestamp:t.timestamp||Ir()},l=r.integrations||e.integrations.map(h=>h.name);ob(c,e),sb(c,l),n&&n.emit("applyFrameMetadata",t),t.type===void 0&&nb(c,e.stackParser);const d=cb(o,r.captureContext);r.mechanism&&Vr(c,r.mechanism);const u=n?n.getEventProcessors():[],m=J0(i,d),p=[...r.attachments||[],...m.attachments];p.length&&(r.attachments=p),X0(c,m);const f=[...u,...m.eventProcessors];return G0(f,c,r).then(h=>(h&&ib(h),typeof s=="number"&&s>0?ab(h,s,a):h))}function ob(e,t){const{environment:r,release:o,dist:n,maxValueLength:i}=t;e.environment=e.environment||r||ba,!e.release&&o&&(e.release=o),!e.dist&&n&&(e.dist=n);const s=e.request;s?.url&&i&&(s.url=gs(s.url,i)),i&&e.exception?.values?.forEach(a=>{a.value&&(a.value=gs(a.value,i))})}function nb(e,t){const r=K0(t);e.exception?.values?.forEach(o=>{o.stacktrace?.frames?.forEach(n=>{n.filename&&(n.debug_id=r[n.filename])})})}function ib(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 sb(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function ab(e,t,r){if(!e)return null;const o={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(n=>({...n,...n.data&&{data:mt(n.data,t,r)}}))},...e.user&&{user:mt(e.user,t,r)},...e.contexts&&{contexts:mt(e.contexts,t,r)},...e.extra&&{extra:mt(e.extra,t,r)}};return e.contexts?.trace&&o.contexts&&(o.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(o.contexts.trace.data=mt(e.contexts.trace.data,t,r))),e.spans&&(o.spans=e.spans.map(n=>({...n,...n.data&&{data:mt(n.data,t,r)}}))),e.contexts?.flags&&o.contexts&&(o.contexts.flags=mt(e.contexts.flags,3,r)),o}function cb(e,t){if(!t)return e;const r=e?e.clone():new xt;return r.update(t),r}function lb(e){if(e)return db(e)?{captureContext:e}:fb(e)?{captureContext:e}:e}function db(e){return e instanceof xt||typeof e=="function"}const ub=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function fb(e){return Object.keys(e).some(t=>ub.includes(t))}function yi(e,t){return fe().captureException(e,lb(t))}function Nu(e,t){return fe().captureEvent(e,t)}function pb(e,t){Tt().setContext(e,t)}function mb(){const e=te();return e?.getOptions().enabled!==!1&&!!e?.getTransport()}function gb(e){Tt().addEventProcessor(e)}function al(e){const t=Tt(),r=fe(),{userAgent:o}=ee.navigator||{},n=xh({user:r.getUser()||t.getUser(),...o&&{userAgent:o},...e}),i=t.getSession();return i?.status==="ok"&&Yr(i,{status:"exited"}),Pu(),t.setSession(n),n}function Pu(){const e=Tt(),r=fe().getSession()||e.getSession();r&&Th(r),Du(),e.setSession()}function Du(){const e=Tt(),t=te(),r=e.getSession();r&&t&&t.captureSession(r)}function cl(e=!1){if(e){Pu();return}Du()}const hb="7";function bb(e){const t=e.protocol?`${e.protocol}:`:"",r=e.port?`:${e.port}`:"";return`${t}//${e.host}${r}${e.path?`/${e.path}`:""}/api/`}function yb(e){return`${bb(e)}${e.projectId}/envelope/`}function vb(e,t){const r={sentry_version:hb};return e.publicKey&&(r.sentry_key=e.publicKey),t&&(r.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(r).toString()}function kb(e,t,r){return t||`${yb(e)}?${vb(e,r)}`}const ll=[];function _b(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 Sb(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 _b(o)}function wb(e,t){const r={};return t.forEach(o=>{o&&Fu(e,o,r)}),r}function dl(e,t){for(const r of t)r?.afterAllSetup&&r.afterAllSetup(e)}function Fu(e,t,r){if(r[t.name]){N&&R.log(`Integration skipped because it was already installed: ${t.name}`);return}if(r[t.name]=t,!ll.includes(t.name)&&typeof t.setupOnce=="function"&&(t.setupOnce(),ll.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&&R.log(`Integration installed: ${t.name}`)}function Eb(e){return[{type:"log",item_count:e.length,content_type:"application/vnd.sentry.items.log+json"},{items:e}]}function Cb(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,[Eb(e)])}function ju(e,t){const r=t??xb(e)??[];if(r.length===0)return;const o=e.getOptions(),n=Cb(r,o._metadata,o.tunnel,e.getDsn());Hu().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(n)}function xb(e){return Hu().get(e)}function Hu(){return ro("clientToLogBufferMap",()=>new WeakMap)}function Tb(e){return[{type:"trace_metric",item_count:e.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{items:e}]}function Rb(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,[Tb(e)])}function Uu(e,t){const r=t??Ib(e)??[];if(r.length===0)return;const o=e.getOptions(),n=Rb(r,o._metadata,o.tunnel,e.getDsn());zu().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(n)}function Ib(e){return zu().get(e)}function zu(){return ro("clientToMetricBufferMap",()=>new WeakMap)}const Sa=Symbol.for("SentryBufferFullError");function wa(e=100){const t=new Set;function r(){return t.size<e}function o(s){t.delete(s)}function n(s){if(!r())return _a(Sa);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 Ab=60*1e3;function Bb(e,t=Uo()){const r=parseInt(`${e}`,10);if(!isNaN(r))return r*1e3;const o=Date.parse(`${e}`);return isNaN(o)?Ab:o-t}function Mb(e,t){return e[t]||e.all||0}function Wu(e,t,r=Uo()){return Mb(e,t)>r}function qu(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+Bb(s,o):t===429&&(n.all=o+60*1e3);return n}const Vu=64;function $b(e,t,r=wa(e.bufferSize||Vu)){let o={};const n=s=>r.drain(s);function i(s){const a=[];if(_s(s,(u,m)=>{const p=Xc(m);Wu(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(S0(c,["client_report"])){N&&R.warn(`Dropping client report. Will not send outcomes (reason: ${u}).`);return}_s(c,(m,p)=>{e.recordDroppedEvent(u,Xc(p))})},d=()=>t({body:w0(c)}).then(u=>(u.statusCode!==void 0&&(u.statusCode<200||u.statusCode>=300)&&N&&R.warn(`Sentry responded with status code ${u.statusCode} to sent event.`),o=qu(o,u),u),u=>{throw l("network_error"),N&&R.error("Encountered error running transport request:",u),u});return r.add(d).then(u=>u,u=>{if(u===Sa)return N&&R.error("Skipped sending event because buffer is full."),l("queue_overflow"),Promise.resolve({});throw u})}return{send:i,flush:n}}function Ob(e,t,r){const o=[{type:"client_report"},{timestamp:Ir(),discarded_events:e}];return sr(t?{dsn:t}:{},[o])}function Yu(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 Lb(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?.[pa],exclusive_time:s?.[ao],measurements:e.measurements,is_segment:!0}}function Nb(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&&{[pa]:e.profile_id},...e.exclusive_time&&{[ao]:e.exclusive_time}}}},measurements:e.measurements}}const ul="Not capturing exception because it's already been captured.",fl="Discarded session because of missing or non-string release",Gu=Symbol.for("SentryInternalError"),Ku=Symbol.for("SentryDoNotSendEventError"),Pb=5e3;function Bn(e){return{message:e,[Gu]:!0}}function Ui(e){return{message:e,[Ku]:!0}}function pl(e){return!!e&&typeof e=="object"&&Gu in e}function ml(e){return!!e&&typeof e=="object"&&Ku in e}function gl(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)},Pb))}),e.on("flush",()=>{n(e)})}class Db{constructor(t){if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=wa(t.transportOptions?.bufferSize??Vu),t.dsn?this._dsn=r0(t.dsn):N&&R.warn("No DSN provided, client will not send events."),this._dsn){const o=kb(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&&gl(this,"afterCaptureLog","flushLogs",Ub,ju),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&gl(this,"afterCaptureMetric","flushMetrics",Hb,Uu)}captureException(t,r,o){const n=it();if(Hc(t))return N&&R.log(ul),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:it(),...o},s=ca(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=it();if(r?.originalException&&Hc(r.originalException))return N&&R.log(ul),n;const i={event_id:n,...r},s=t.sdkProcessingMetadata||{},a=s.capturedSpanScope,c=s.capturedSpanIsolationScope,l=hl(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];Fu(this,t,this._integrations),r||dl(this,[t])}sendEvent(t,r={}){this.emit("beforeSendEvent",t,r);let o=A0(t,this._dsn,this._options._metadata,this._options.tunnel);for(const n of r.attachments||[])o=_0(o,x0(n));this.sendEnvelope(o).then(n=>this.emit("afterSendEvent",t,n))}sendSession(t){const{release:r,environment:o=ba}=this._options;if("aggregates"in t){const i=t.attrs||{};if(!i.release&&!r){N&&R.warn(fl);return}i.release=i.release||r,i.environment=i.environment||o,t.attrs=i}else{if(!t.release&&!r){N&&R.warn(fl);return}t.release=t.release||r,t.environment=t.environment||o}this.emit("beforeSendSession",t);const n=I0(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&&R.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&&R.error("Error while sending envelope:",r),{}}return N&&R.error("Transport disabled"),{}}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=wb(this,t),dl(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),Lu(i,t,r,o,this,n).then(a=>{if(a===null)return a;this.emit("postprocessEvent",a,r),a.contexts={trace:Ph(o),...a.contexts};const c=Tu(this,o);return a.sdkProcessingMetadata={dynamicSamplingContext:c,...a.sdkProcessingMetadata},a})}_captureEvent(t,r={},o=fe(),n=Tt()){return N&&Es(t)&&R.log(`Captured error event \`${Yu(t)[0]||"<unknown>"}\``),this._processEvent(t,r,o,n).then(i=>i.event_id,i=>{N&&(ml(i)?R.log(i.message):pl(i)?R.warn(i.message):R.warn(i))})}_processEvent(t,r,o,n){const i=this.getOptions(),{sampleRate:s}=i,a=Xu(t),c=Es(t),d=`before send for type \`${t.type||"error"}\``,u=typeof s>"u"?void 0:Er(s);if(c&&typeof u=="number"&&Kt()>u)return this.recordDroppedEvent("sample_rate","error"),_a(Ui(`Discarding event because it's not included in the random sample (sampling rate = ${s})`));const m=hl(t.type);return this._prepareEvent(t,r,o,n).then(p=>{if(p===null)throw this.recordDroppedEvent("event_processor",m),Ui("An event processor returned `null`, will not send event.");if(r.data&&r.data.__sentry__===!0)return p;const g=jb(this,i,p,r);return Fb(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 Ui(`${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,w=h-b;w>0&&this.recordDroppedEvent("before_send","span",w)}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 ml(p)||pl(p)?p:(this.captureException(p,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:p}),Bn(`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===Sa&&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&&R.log("Flushing outcomes...");const t=this._clearOutcomes();if(t.length===0){N&&R.log("No outcomes to send");return}if(!this._dsn){N&&R.log("No dsn provided, will not send outcomes");return}N&&R.log("Sending outcomes:",t);const r=Ob(t,this._options.tunnel&&co(this._dsn));this.sendEnvelope(r)}}function hl(e){return e==="replay_event"?"replay":e||"error"}function Fb(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 Bn(r);return o},o=>{throw Bn(`${t} rejected with ${o}`)});if(!Ro(e)&&e!==null)throw Bn(r);return e}function jb(e,t,r,o){const{beforeSend:n,beforeSendTransaction:i,beforeSendSpan:s,ignoreSpans:a}=t;let c=r;if(Es(c)&&n)return n(c,o);if(Xu(c)){if(s||a){const l=Lb(c);if(a?.length&&Yn(l,a))return null;if(s){const d=s(l);d?c=zo(r,Nb(d)):vs()}if(c.spans){const d=[],u=c.spans;for(const p of u){if(a?.length&&Yn(p,a)){m0(u,p);continue}if(s){const f=s(p);f?d.push(f):(vs(),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 Es(e){return e.type===void 0}function Xu(e){return e.type==="transaction"}function Hb(e){let t=0;return e.name&&(t+=e.name.length*2),t+=8,t+Ju(e.attributes)}function Ub(e){let t=0;return e.message&&(t+=e.message.length*2),t+Ju(e.attributes)}function Ju(e){if(!e)return 0;let t=0;return Object.values(e).forEach(r=>{Array.isArray(r)?t+=r.length*bl(r[0]):qr(r)?t+=bl(r):t+=100}),t}function bl(e){return typeof e=="string"?e.length*2:typeof e=="number"?8:typeof e=="boolean"?4:0}function zb(e){return pi(e)&&"__sentry_fetch_url_host__"in e&&typeof e.__sentry_fetch_url_host__=="string"}function yl(e){return zb(e)?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}function Wb(e,t){t.debug===!0&&(N?R.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 qb(o),o.init(),o}function qb(e){fe().setClient(e)}const Vb="thismessage:/";function Ea(e){return"isRelative"in e}function Ca(e,t){const r=e.indexOf("://")<=0&&e.indexOf("//")!==0,o=r?Vb: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 Yb(e){if(Ea(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 yr(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 Gb(e){return e.split(/[?#]/,1)[0]}function Kb(e,t){const r=t?.getDsn(),o=t?.getOptions().tunnel;return Jb(e,r)||Xb(e,o)}function Xb(e,t){return t?vl(e)===vl(t):!1}function Jb(e,t){const r=Ca(e);return!r||Ea(r)?!1:t?r.host.includes(t.host)&&/(^|&|\?)sentry_key=/.test(r.search):!1}function vl(e){return e[e.length-1]==="/"?e.slice(0,-1):e}function Zb(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 Zu(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:gr})),version:gr}),e._metadata=n}function Qu(e={}){const t=e.client||te();if(!mb()||!t)return{};const r=Rr(),o=so(r);if(o.getTraceData)return o.getTraceData(e);const n=e.scope||fe(),i=e.span||je(),s=i?c0(i):Qb(n),a=i?Ht(i):Tu(t,n),c=Vh(a);if(!yu.test(s))return R.warn("Invalid sentry-trace data. Cannot generate trace data"),{};const d={"sentry-trace":s,baggage:c};return e.propagateTraceparent&&(d.traceparent=i?l0(i):ey(n)),d}function Qb(e){const{traceId:t,sampled:r,propagationSpanId:o}=e.getPropagationContext();return vu(t,o,r)}function ey(e){const{traceId:t,sampled:r,propagationSpanId:o}=e.getPropagationContext();return ku(t,o,r)}function ty(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 ry=100;function tr(e,t){const r=te(),o=Tt();if(!r)return;const{beforeBreadcrumb:n=null,maxBreadcrumbs:i=ry}=r.getOptions();if(i<=0)return;const a={timestamp:Ir(),...e},c=n?zt(()=>n(a,t)):a;c!==null&&(r.emit&&r.emit("beforeAddBreadcrumb",c,t),o.addBreadcrumb(c,i))}let kl;const oy="FunctionToString",_l=new WeakMap,ny=(()=>({name:oy,setupOnce(){kl=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=ua(this),r=_l.has(te())&&t!==void 0?t:this;return kl.apply(r,e)}}catch{}},setup(e){_l.set(e,!0)}})),iy=ny,sy=[/^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$/],ay="EventFilters",cy=(e={})=>{let t;return{name:ay,setup(r){const o=r.getOptions();t=Sl(e,o)},processEvent(r,o,n){if(!t){const i=n.getOptions();t=Sl(e,i)}return dy(r,t)?null:r}}},ly=((e={})=>({...cy(e),name:"InboundFilters"}));function Sl(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:sy],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function dy(e,t){if(e.type){if(e.type==="transaction"&&fy(e,t.ignoreTransactions))return N&&R.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
Event: ${dr(e)}`),!0}else{if(uy(e,t.ignoreErrors))return N&&R.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
Event: ${dr(e)}`),!0;if(hy(e))return N&&R.warn(`Event dropped due to not having an error message, error type or stacktrace.
Event: ${dr(e)}`),!0;if(py(e,t.denyUrls))return N&&R.warn(`Event dropped due to being matched by \`denyUrls\` option.
Event: ${dr(e)}.
Url: ${Gn(e)}`),!0;if(!my(e,t.allowUrls))return N&&R.warn(`Event dropped due to not being matched by \`allowUrls\` option.
Event: ${dr(e)}.
Url: ${Gn(e)}`),!0}return!1}function uy(e,t){return t?.length?Yu(e).some(r=>Ot(r,t)):!1}function fy(e,t){if(!t?.length)return!1;const r=e.transaction;return r?Ot(r,t):!1}function py(e,t){if(!t?.length)return!1;const r=Gn(e);return r?Ot(r,t):!1}function my(e,t){if(!t?.length)return!0;const r=Gn(e);return r?Ot(r,t):!0}function gy(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?gy(r):null}catch{return N&&R.error(`Cannot extract url for event ${dr(e)}`),null}}function hy(e){return e.exception?.values?.length?!e.message&&!e.exception.values.some(t=>t.stacktrace||t.type&&t.type!=="Error"||t.value):!1}function by(e,t,r,o,n,i){if(!n.exception?.values||!i||!Dt(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=Cs(e,t,o,i.originalException,r,n.exception.values,s,0))}function Cs(e,t,r,o,n,i,s,a){if(i.length>=r+1)return i;let c=[...i];if(Dt(o[n],Error)){wl(s,a);const l=e(t,o[n]),d=c.length;El(l,n,d,a),c=Cs(e,t,r,o[n],n,[l,...c],l,d)}return Array.isArray(o.errors)&&o.errors.forEach((l,d)=>{if(Dt(l,Error)){wl(s,a);const u=e(t,l),m=c.length;El(u,`errors[${d}]`,m,a),c=Cs(e,t,r,l,n,[u,...c],u,m)}}),c}function wl(e,t){e.mechanism={handled:!0,type:"auto.core.linked_errors",...e.mechanism,...e.type==="AggregateError"&&{is_exception_group:!0},exception_id:t}}function El(e,t,r,o){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:r,parent_id:o}}function yy(e){const t="console";or(t,e),nr(t,vy)}function vy(){"console"in ee&&oh.forEach(function(e){e in ee.console&&Ke(ee.console,e,function(t){return Wn[e]=t,function(...r){lt("console",{args:r,level:e}),Wn[e]?.apply(ee.console,r)}})})}function ef(e){return e==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}const ky="Dedupe",_y=(()=>{let e;return{name:ky,processEvent(t){if(t.type)return t;try{if(wy(t,e))return N&&R.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}}),Sy=_y;function wy(e,t){return t?!!(Ey(e,t)||Cy(e,t)):!1}function Ey(e,t){const r=e.message,o=t.message;return!(!r&&!o||r&&!o||!r&&o||r!==o||!rf(e,t)||!tf(e,t))}function Cy(e,t){const r=Cl(t),o=Cl(e);return!(!r||!o||r.type!==o.type||r.value!==o.value||!rf(e,t)||!tf(e,t))}function tf(e,t){let r=Lc(e),o=Lc(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 rf(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 Cl(e){return e.exception?.values?.[0]}function xy(e,t,r,o,n){if(!e.fetchData)return;const{method:i,url:s}=e.fetchData,a=dt()&&t(s);if(e.endTimestamp&&a){const p=e.fetchData.__span;if(!p)return;const f=o[p];f&&(Iy(f,e),Ty(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(By(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=Ry(p,f,dt()&&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 Ty(e,t,r){(typeof r=="object"&&r!==null?r.onRequestSpanEnd:void 0)?.(e,{headers:t.response?.headers,error:t.error})}function Ry(e,t,r,o){const n=Qu({span:r,propagateTraceparent:o}),i=n["sentry-trace"],s=n.baggage,a=n.traceparent;if(!i)return;const c=t.headers||(la(e)?e.headers:void 0);if(c)if(Ay(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 Iy(e,t){if(t.response){pu(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(ga))}function Ay(e){return typeof Headers<"u"&&Dt(e,Headers)}function By(e,t,r){const o=Ca(e);return{name:o?`${t} ${Yb(o)}`:t,attributes:My(e,o,t,r)}}function My(e,t,r,o){const n={url:e,type:"fetch","http.method":r,[Ce]:o,[jt]:"http.client"};return t&&(Ea(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 of(e){if(e!==void 0)return e>=400&&e<500?"warning":e>=500?"error":void 0}const Bo=ee;function $y(){return"history"in Bo&&!!Bo.history}function Oy(){if(!("fetch"in Bo))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}function xs(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function Ly(){if(typeof EdgeRuntime=="string")return!0;if(!Oy())return!1;if(xs(Bo.fetch))return!0;let e=!1;const t=Bo.document;if(t&&typeof t.createElement=="function")try{const r=t.createElement("iframe");r.hidden=!0,t.head.appendChild(r),r.contentWindow?.fetch&&(e=xs(r.contentWindow.fetch)),t.head.removeChild(r)}catch(r){N&&R.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",r)}return e}function nf(e,t){const r="fetch";or(r,e),nr(r,()=>sf(void 0,t))}function Ny(e){const t="fetch-body-resolved";or(t,e),nr(t,()=>sf(Dy))}function sf(e,t=!1){t&&!Ly()||Ke(ee,"fetch",function(r){return function(...o){const n=new Error,{method:i,url:s}=Fy(o),a={args:o,fetchData:{method:i,url:s},startTimestamp:Ie()*1e3,virtualError:n,headers:jy(o)};return e||lt("fetch",{...a}),r.apply(ee,o).then(async c=>(e?e(c):lt("fetch",{...a,endTimestamp:Ie()*1e3,response:c}),c),c=>{lt("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 Py(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 Dy(e){let t;try{t=e.clone()}catch{return}Py(t,()=>{lt("fetch-body-resolved",{endTimestamp:Ie()*1e3,response:e})})}function Mn(e,t){return!!e&&typeof e=="object"&&!!e[t]}function xl(e){return typeof e=="string"?e:e?Mn(e,"url")?e.url:e.toString?e.toString():"":""}function Fy(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[r,o]=e;return{url:xl(r),method:Mn(o,"method")?String(o.method).toUpperCase():la(r)&&Mn(r,"method")?String(r.method).toUpperCase():"GET"}}const t=e[0];return{url:xl(t),method:Mn(t,"method")?String(t.method).toUpperCase():"GET"}}function jy(e){const[t,r]=e;try{if(typeof r=="object"&&r!==null&&"headers"in r&&r.headers)return new Headers(r.headers);if(la(t))return new Headers(t.headers)}catch{}}function Hy(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function Uy(){return"npm"}function zy(){return!Hy()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function Ts(){return typeof window<"u"&&(!zy()||Wy())}function Wy(){return ee.process?.type==="renderer"}const ce=ee;let Rs=0;function af(){return Rs>0}function qy(){Rs++,setTimeout(()=>{Rs--})}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(ua(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 qy(),gi(s=>{s.addEventProcessor(a=>(t.mechanism&&(hs(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{}cu(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 xa(){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 Ta(e,t){const r=Ra(e,t),o={type:Xy(t),value:Jy(t)};return r.length&&(o.stacktrace={frames:r}),o.type===void 0&&o.value===""&&(o.value="Unrecoverable error caught"),o}function Vy(e,t,r,o){const i=te()?.getOptions().normalizeDepth,s=rv(t),a={__serialized__:Ru(t,i)};if(s)return{exception:{values:[Ta(e,s)]},extra:a};const c={exception:{values:[{type:mi(t)?t.constructor.name:o?"UnhandledRejection":"Error",value:ev(t,{isUnhandledRejection:o})}]},extra:a};if(r){const l=Ra(e,r);l.length&&(c.exception.values[0].stacktrace={frames:l})}return c}function zi(e,t){return{exception:{values:[Ta(e,t)]}}}function Ra(e,t){const r=t.stacktrace||t.stack||"",o=Gy(t),n=Ky(t);try{return e(r,o,n)}catch{}return[]}const Yy=/Minified React error #\d+;/i;function Gy(e){return e&&Yy.test(e.message)?1:0}function Ky(e){return typeof e.framesToPop=="number"?e.framesToPop:0}function cf(e){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?e instanceof WebAssembly.Exception:!1}function Xy(e){const t=e?.name;return!t&&cf(e)?e.message&&Array.isArray(e.message)&&e.message.length==2?e.message[0]:"WebAssembly.Exception":t}function Jy(e){const t=e?.message;return cf(e)?Array.isArray(e.message)&&e.message.length==2?e.message[1]:"wasm exception":t?t.error&&typeof t.error.message=="string"?yl(t.error):yl(e):"No error message"}function Zy(e,t,r,o){const n=r?.syntheticException||void 0,i=Ia(e,t,n,o);return Vr(i),i.level="error",r?.event_id&&(i.event_id=r.event_id),bi(i)}function Qy(e,t,r="info",o,n){const i=o?.syntheticException||void 0,s=Is(e,t,i,n);return s.level=r,o?.event_id&&(s.event_id=o.event_id),bi(s)}function Ia(e,t,r,o,n){let i;if(iu(t)&&t.error)return zi(e,t.error);if(Pc(t)||mh(t)){const s=t;if("stack"in t)i=zi(e,t);else{const a=s.name||(Pc(s)?"DOMError":"DOMException"),c=s.message?`${a}: ${s.message}`:a;i=Is(e,c,r,o),hs(i,c)}return"code"in s&&(i.tags={...i.tags,"DOMException.code":`${s.code}`}),i}return pi(t)?zi(e,t):Ro(t)||mi(t)?(i=Vy(e,t,r,n),Vr(i,{synthetic:!0}),i):(i=Is(e,t,r,o),hs(i,`${t}`),Vr(i,{synthetic:!0}),i)}function Is(e,t,r,o){const n={};if(o&&r){const i=Ra(e,r);i.length&&(n.exception={values:[{value:t,stacktrace:{frames:i}}]}),Vr(n,{synthetic:!0})}if(ca(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 ev(e,{isUnhandledRejection:t}){const r=kh(e),o=t?"promise rejection":"exception";return iu(e)?`Event \`ErrorEvent\` captured as ${o} with message \`${e.message}\``:mi(e)?`Event \`${tv(e)}\` (type=${e.type}) captured as ${o}`:`Object captured as ${o} with keys: ${r}`}function tv(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function rv(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const r=e[t];if(r instanceof Error)return r}}class ov extends Db{constructor(t){const r=nv(t),o=ce.SENTRY_SDK_SOURCE||Uy();Zu(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&&ju(this),l&&Uu(this))}),n&&this.on("beforeSendSession",Zb)}eventFromException(t,r){return Zy(this._options.stackParser,t,r,this._options.attachStacktrace)}eventFromMessage(t,r="info",o){return Qy(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 nv(e){return{release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:ce.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}const Cr=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,G=ee,iv=(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=iv(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 lf=new Set,sv=()=>G.document?.visibilityState==="hidden"&&!G.document?.prerendering?0:1/0,$n=e=>{if(av(e)&&Ur>-1){if(e.type==="visibilitychange"||e.type==="pagehide")for(const t of lf)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)??sv(),Xt("visibilitychange",$n,!0),Xt("pagehide",$n,!0),Xt("prerenderingchange",$n,!0)}return{get firstHiddenTime(){return Ur},onHidden(e){lf.add(e)}}};function av(e){return e.type==="pagehide"||G.document?.visibilityState==="hidden"}const cv=()=>`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:cv(),navigationType:o}},Wi=new WeakMap;function Aa(e,t){try{return Wi.get(e)||Wi.set(e,new t),Wi.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()},lv=[1800,3e3],dv=(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,lv,t.reportAllChanges))})},uv=[.1,.25],fv=(e,t={})=>{dv(Ba(()=>{const r=Ko("CLS",0);let o;const n=Go(),i=Aa(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,uv,t.reportAllChanges),n.onHidden(()=>{s(a.takeRecords()),o(!0)}),G?.setTimeout?.(o))}))};let df=0,qi=1/0,fn=0;const pv=e=>{e.forEach(t=>{t.interactionId&&(qi=Math.min(qi,t.interactionId),fn=Math.max(fn,t.interactionId),df=fn?(fn-qi)/7+1:0)})};let As;const uf=()=>As?df:performance.interactionCount||0,mv=()=>{"interactionCount"in performance||As||(As=uo("event",pv,{type:"event",buffered:!0,durationThreshold:0}))},Vi=10;let ff=0;const gv=()=>uf()-ff;class Jn{constructor(){Jn.prototype.__init.call(this),Jn.prototype.__init2.call(this)}__init(){this._longestInteractionList=[]}__init2(){this._longestInteractionMap=new Map}_resetInteractions(){ff=uf(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){const t=Math.min(this._longestInteractionList.length-1,Math.floor(gv()/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<Vi||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>Vi){const n=this._longestInteractionList.splice(Vi);for(const i of n)this._longestInteractionMap.delete(i.id)}this._onAfterProcessingINPCandidate?.(o)}}}const pf=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})}))},hv=[200,500],bv=40,yv=(e,t={})=>{if(!(globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return;const r=Go();vi(()=>{mv();const o=Ko("INP");let n;const i=Aa(t,Jn),s=c=>{pf(()=>{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??bv});n=Vo(e,o,hv,t.reportAllChanges),a&&(a.observe({type:"first-input",buffered:!0}),r.onHidden(()=>{s(a.takeRecords()),n(!0)}))})};class vv{_processEntry(t){this._onBeforeProcessingEntry?.(t)}}const kv=[2500,4e3],_v=(e,t={})=>{vi(()=>{const r=Go(),o=Ko("LCP");let n;const i=Aa(t,vv),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,kv,t.reportAllChanges);const c=Ba(()=>{s(a.takeRecords()),a.disconnect(),n(!0)}),l=d=>{d.isTrusted&&(pf(c),Kn(d.type,l,{capture:!0}))};for(const d of["keydown","click","visibilitychange"])Xt(d,l,{capture:!0})}})},Sv=[800,1800],Bs=e=>{G.document?.prerendering?vi(()=>Bs(e)):G.document?.readyState!=="complete"?addEventListener("load",()=>Bs(e),!0):setTimeout(e)},wv=(e,t={})=>{const r=Ko("TTFB"),o=Vo(e,r,Sv,t.reportAllChanges);Bs(()=>{const n=Yo();n&&(r.value=Math.max(n.responseStart-lo(),0),r.entries=[n],o(!0))})},So={},Zn={};let mf,gf,hf,bf;function Ma(e,t=!1){return ki("cls",e,Cv,mf,t)}function $a(e,t=!1){return ki("lcp",e,xv,gf,t)}function Ev(e){return ki("ttfb",e,Tv,hf)}function yf(e){return ki("inp",e,Rv,bf)}function xr(e,t){return vf(e,t),Zn[e]||(Iv(e),Zn[e]=!0),kf(e,t)}function Xo(e,t){const r=So[e];if(r?.length)for(const o of r)try{o(t)}catch(n){Cr&&R.error(`Error while triggering instrumentation handler.
Type: ${e}
Name: ${Pt(o)}
Error:`,n)}}function Cv(){return fv(e=>{Xo("cls",{metric:e}),mf=e},{reportAllChanges:!0})}function xv(){return _v(e=>{Xo("lcp",{metric:e}),gf=e},{reportAllChanges:!0})}function Tv(){return wv(e=>{Xo("ttfb",{metric:e}),hf=e})}function Rv(){return yv(e=>{Xo("inp",{metric:e}),bf=e})}function ki(e,t,r,o,n=!1){vf(e,t);let i;return Zn[e]||(i=r(),Zn[e]=!0),o&&t({metric:o}),kf(e,t,n?i:void 0)}function Iv(e){const t={};e==="event"&&(t.durationThreshold=0),uo(e,r=>{Xo(e,{entries:r})},t)}function vf(e,t){So[e]=So[e]||[],So[e].push(t)}function kf(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 Av(e){return"duration"in e}const Bv=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 Yi(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),va(e,()=>{const i=er({startTime:t,...o});return i&&i.end(r),i})}function Oa(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 Mv(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 _f(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch{return!1}}function Sf(e,t){let r,o=!1;function n(a){!o&&r&&t(a,r),o=!0}Bv(()=>{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 $v(e){let t=0,r;if(!_f("layout-shift"))return;const o=Ma(({metric:n})=>{const i=n.entries[n.entries.length-1];i&&(t=n.value,r=i)},!0);Sf(e,(n,i)=>{Ov(t,r,i,n),o()})}function Ov(e,t,r,o){Cr&&R.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=Oa({name:s,transaction:i,attributes:a,startTime:n});c&&(c.addEvent("cls",{[Wo]:"",[qo]:e}),c.end(n))}function Lv(e){let t=0,r;if(!_f("largest-contentful-paint"))return;const o=$a(({metric:n})=>{const i=n.entries[n.entries.length-1];i&&(t=n.value,r=i)},!0);Sf(e,(n,i)=>{Nv(t,r,i,n),o()})}function Nv(e,t,r,o){Cr&&R.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=Oa({name:s,transaction:i,attributes:a,startTime:n});c&&(c.addEvent("lcp",{[Wo]:"millisecond",[qo]:e}),c.end(n))}function at(e){return e&&((tt()||performance.timeOrigin)+e)/1e3}function wf(e){const t={};if(e.nextHopProtocol!=null){const{name:r,version:o}=Mv(e.nextHopProtocol);t["network.protocol.version"]=o,t["network.protocol.name"]=r}return tt()||Jo()?.timeOrigin?Pv({...t,"http.request.redirect_start":at(e.redirectStart),"http.request.redirect_end":at(e.redirectEnd),"http.request.worker_start":at(e.workerStart),"http.request.fetch_start":at(e.fetchStart),"http.request.domain_lookup_start":at(e.domainLookupStart),"http.request.domain_lookup_end":at(e.domainLookupEnd),"http.request.connect_start":at(e.connectStart),"http.request.secure_connection_start":at(e.secureConnectionStart),"http.request.connection_end":at(e.connectEnd),"http.request.request_start":at(e.requestStart),"http.request.response_start":at(e.responseStart),"http.request.response_end":at(e.responseEnd),"http.request.time_to_first_byte":e.responseStart!=null?e.responseStart/1e3:void 0}):t}function Pv(e){return Object.fromEntries(Object.entries(e).filter(([,t])=>t!=null))}const Dv=2147483647;let Tl=0,gt={},Ge,Qn;function Fv({recordClsStandaloneSpans:e,recordLcpStandaloneSpans:t,client:r}){const o=Jo();if(o&&tt()){o.mark&&G.performance.mark("sentry-tracing-init");const n=t?Lv(r):Wv(),i=qv(),s=e?$v(r):zv();return()=>{n?.(),i(),s?.()}}return()=>{}}function jv(){xr("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 Hv(){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 Uv(){xr("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=au(r.target);s&&(i.attributes["ui.component_name"]=s),rr(t,o,o+n,i)}}})}function zv(){return Ma(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(gt.cls={value:e.value,unit:""},Qn=t)},!0)}function Wv(){return $a(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(gt.lcp={value:e.value,unit:"millisecond"},Ge=t)},!0)}function qv(){return Ev(({metric:e})=>{e.entries[e.entries.length-1]&&(gt.ttfb={value:e.value,unit:"millisecond"})})}function Vv(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(Tl).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":{Xv(e,c,n);break}case"mark":case"paint":case"measure":{Gv(e,c,l,d,n,t.ignorePerformanceApiSpans);const u=Go(),m=c.startTime<u.firstHiddenTime;c.name==="first-paint"&&m&&(gt.fp={value:c.startTime,unit:"millisecond"}),c.name==="first-contentful-paint"&&m&&(gt.fcp={value:c.startTime,unit:"millisecond"});break}case"resource":{Qv(e,c,c.name,l,d,n,t.ignoreResourceSpans);break}}}),Tl=Math.max(i.length-1,0),ek(e),s==="pageload"&&(ok(gt),t.recordClsOnPageloadSpan||delete gt.cls,t.recordLcpOnPageloadSpan||delete gt.lcp,Object.entries(gt).forEach(([c,l])=>{O0(c,l.value,l.unit)}),e.setAttribute("performance.timeOrigin",n),e.setAttribute("performance.activationStart",lo()),tk(e,t)),Ge=void 0,Qn=void 0,gt={}}function Yv(e){if(e?.entryType==="measure")try{return e.detail.devtools.track==="Components ⚛"}catch{return}}function Gv(e,t,r,o,n,i){if(Yv(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),Kv(u,t),c<=d&&rr(e,c,d,{name:t.name,op:t.entryType,attributes:u})}function Kv(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 Xv(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"),Zv(e,t,r)}function pn(e,t,r,o,n=r){const i=Jv(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 Jv(e){return e==="secureConnection"?"connectEnd":e==="fetch"?"domainLookupStart":`${e}End`}function Zv(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 Qv(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=yr(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),rk(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,...wf(t)},u=i+o,m=u+n;rr(e,u,m,{name:r.replace(G.location.origin,""),op:a,attributes:d})}function ek(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),Yi(r.rtt)&&(gt["connection.rtt"]={value:r.rtt,unit:"millisecond"})),Yi(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`),Yi(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}function tk(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 rk(e,t,r){r.forEach(([o,n])=>{const i=e[o];i!=null&&(typeof i=="number"&&i<Dv||typeof i=="string")&&(t[n]=i)})}function ok(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 nk(){return Jo()&&tt()?xr("element",ik):()=>{}}const ik=({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};j0({name:`element[${i.identifier}]`,attributes:m,startTime:l,onlyIfParent:!0},p=>{p.end(l+u)})})},sk=1e3;let Rl,Ms,$s;function Ef(e){or("dom",e),nr("dom",ak)}function ak(){if(!G.document)return;const e=lt.bind(null,"dom"),t=Il(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=Il(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 ck(e){if(e.type!==Ms)return!1;try{if(!e.target||e.target._sentryId!==$s)return!1}catch{}return!0}function lk(e,t){return e!=="keypress"?!1:t?.tagName?!(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable):!0}function Il(e,t=!1){return r=>{if(!r||r._sentryCaptured)return;const o=dk(r);if(lk(r.type,o))return;et(r,"_sentryCaptured",!0),o&&!o._sentryId&&et(o,"_sentryId",it());const n=r.type==="keypress"?"input":r.type;ck(r)||(e({event:r,name:n,global:t}),Ms=r.type,$s=o?o._sentryId:void 0),clearTimeout(Rl),Rl=G.setTimeout(()=>{$s=void 0,Ms=void 0},sk)}}function dk(e){try{return e.target}catch{return null}}let mn;function _i(e){const t="history";or(t,e),nr(t,uk)}function uk(){if(G.addEventListener("popstate",()=>{const t=G.location.href,r=mn;if(mn=t,r===t)return;lt("history",{from:r,to:t})}),!$y())return;function e(t){return function(...r){const o=r.length>2?r[2]:void 0;if(o){const n=mn,i=fk(String(o));if(mn=i,n===i)return t.apply(this,r);lt("history",{from:n,to:i})}return t.apply(this,r)}}Ke(G.history,"pushState",e),Ke(G.history,"replaceState",e)}function fk(e){try{return new URL(e,G.location.origin).toString()}catch{return e}}const On={};function Cf(e){const t=On[e];if(t)return t;let r=G[e];if(xs(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){Cr&&R.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,n)}return r&&(On[e]=r.bind(G))}function pk(e){On[e]=void 0}function Zo(...e){return Cf("setTimeout")(...e)}const fr="__sentry_xhr_v3__";function xf(e){or("xhr",e),nr("xhr",mk)}function mk(){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=gk(o[1]);if(!s||!a)return t.apply(r,o);r[fr]={method:s,url:a,request_headers:{}},s==="POST"&&a.match(/sentry_key/)&&(r.__sentry_own_request__=!0);const c=()=>{const l=r[fr];if(l&&r.readyState===4){try{l.status_code=r.status}catch{}const d={endTimestamp:Ie()*1e3,startTimestamp:i,xhr:r,virtualError:n};lt("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[fr];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[fr];if(!n)return t.apply(r,o);o[0]!==void 0&&(n.body=o[0]);const i={startTimestamp:Ie()*1e3,xhr:r};return lt("xhr",i),t.apply(r,o)}})}function gk(e){if($t(e))return e;try{return e.toString()}catch{}}const hk=Symbol.for("sentry__originalRequestBody");function Tf(e){return new URLSearchParams(e).toString()}function Rf(e,t=R){try{if(typeof e=="string")return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[Tf(e)];if(!e)return[void 0]}catch(r){return Cr&&t.error(r,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return Cr&&t.log("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function If(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][hk];return r!==void 0?r:void 0}}function Af(e){let t;try{t=e.getAllResponseHeaders()}catch(r){return Cr&&R.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 Gi=[],Ln=new Map,$r=new Map,bk=60;function yk(){if(Jo()&&tt()){const t=vk();return()=>{t()}}return()=>{}}const Os={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 vk(){return yf(kk)}const kk=({metric:e})=>{if(e.value==null)return;const t=Re(e.value);if(t>bk)return;const r=e.entries.find(f=>f.duration===e.value&&Os[f.name]);if(!r)return;const{interactionId:o}=r,n=Os[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=Oa({name:u,transaction:d,attributes:m,startTime:i});p&&(p.addEvent("inp",{[Wo]:"millisecond",[qo]:e.value}),p.end(i+t))};function _k(){const e=Object.keys(Os);Ts()&&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($r.set(a,s),$r.size>50){const c=$r.keys().next().value;c!==void 0&&$r.delete(c)}}function r(n){const i=Math.round(n.startTime);let s=$r.get(i);if(!s)for(let a=-5;a<=5;a++){const c=$r.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(!Av(a))return;const c=a.interactionId;if(c==null||Ln.has(c))return;const l=a.target?Qe(a.target):r(a);if(Gi.length>10){const d=Gi.shift();Ln.delete(d)}Gi.push(c),Ln.set(c,{span:s,elementName:l})})};xr("event",o),xr("first-input",o)}const Sk=40;function wk(e,t=Cf("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 pk("fetch"),c}finally{r-=s,o--}}return $b(e,n,wa(e.bufferSize||Sk))}const ut=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Ek=30,Ck=50;function Ls(e,t,r,o){const n={filename:e,function:t==="<anonymous>"?wr:t,in_app:!0};return r!==void 0&&(n.lineno=r),o!==void 0&&(n.colno=o),n}const xk=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,Tk=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Rk=/\((\S*)(?::(\d+))(?::(\d+))\)/,Ik=/at (.+?) ?\(data:(.+?),/,Ak=e=>{const t=e.match(Ik);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};const r=xk.exec(e);if(r){const[,n,i,s]=r;return Ls(n,wr,+i,+s)}const o=Tk.exec(e);if(o){if(o[2]&&o[2].indexOf("eval")===0){const a=Rk.exec(o[2]);a&&(o[2]=a[1],o[3]=a[2],o[4]=a[3])}const[i,s]=Bf(o[1]||wr,o[2]);return Ls(s,i,o[3]?+o[3]:void 0,o[4]?+o[4]:void 0)}},Bk=[Ek,Ak],Mk=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,$k=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Ok=e=>{const t=Mk.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const i=$k.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]||wr;return[n,o]=Bf(n,o),Ls(o,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},Lk=[Ck,Ok],Nk=[Bk,Lk],Pk=eu(...Nk),Bf=(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]:wr,r?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},gn=1024,Dk="Breadcrumbs",Fk=((e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:Dk,setup(r){t.console&&yy(zk(r)),t.dom&&Ef(Uk(r,t.dom)),t.xhr&&xf(Wk(r)),t.fetch&&nf(qk(r)),t.history&&_i(Vk(r)),t.sentry&&r.on("beforeSendEvent",Hk(r))}}}),jk=Fk;function Hk(e){return function(r){te()===e&&tr({category:`sentry.${r.type==="transaction"?"transaction":"event"}`,event_id:r.event_id,level:r.level,message:dr(r)},{event:r})}}function Uk(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&&(ut&&R.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=Yk(l)?l.target:l;n=Qe(d,{keyAttrs:s,maxStringLength:a}),i=au(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 zk(e){return function(r){if(te()!==e)return;const o={category:"console",data:{arguments:r.args,logger:"console"},level:ef(r.level),message:jc(r.args," ")};if(r.level==="assert")if(r.args[0]===!1)o.message=`Assertion failed: ${jc(r.args.slice(1)," ")||"console.assert"}`,o.data.arguments=r.args.slice(1);else return;tr(o,{input:r.args,level:r.level})}}function Wk(e){return function(r){if(te()!==e)return;const{startTimestamp:o,endTimestamp:n}=r,i=r.xhr[fr];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:of(c)};e.emit("beforeOutgoingRequestBreadcrumb",m,u),tr(m,u)}}function qk(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:of(s.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",c,a),tr(c,a)}}}function Vk(e){return function(r){if(te()!==e)return;let o=r.from,n=r.to;const i=yr(ce.location.href);let s=o?yr(o):void 0;const a=yr(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 Yk(e){return!!e&&!!e.target}const Gk=["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"],Kk="BrowserApiErrors",Xk=((e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:Kk,setupOnce(){t.setTimeout&&Ke(ce,"setTimeout",Al),t.setInterval&&Ke(ce,"setInterval",Al),t.requestAnimationFrame&&Ke(ce,"requestAnimationFrame",Zk),t.XMLHttpRequest&&"XMLHttpRequest"in ce&&Ke(XMLHttpRequest.prototype,"send",Qk);const r=t.eventTarget;r&&(Array.isArray(r)?r:Gk).forEach(n=>e_(n,t))}}}),Jk=Xk;function Al(e){return function(...t){const r=t[0];return t[0]=Xr(r,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${Pt(e)}`}}),e.apply(this,t)}}function Zk(e){return function(t){return e.apply(this,[Xr(t,{mechanism:{data:{handler:Pt(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function Qk(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:Pt(i)},handled:!1,type:`auto.browser.browserapierrors.xhr.${n}`}},a=ua(i);return a&&(s.mechanism.data.handler=Pt(a)),Xr(i,s)})}),e.apply(this,t)}}function e_(e,t){const o=ce[e]?.prototype;o?.hasOwnProperty?.("addEventListener")&&(Ke(o,"addEventListener",function(n){return function(i,s,a){try{t_(s)&&(s.handleEvent=Xr(s.handleEvent,{mechanism:{data:{handler:Pt(s),target:e},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return t.unregisterOriginalCallbacks&&r_(this,i,s),n.apply(this,[i,Xr(s,{mechanism:{data:{handler:Pt(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 t_(e){return typeof e.handleEvent=="function"}function r_(e,t,r){e&&typeof e=="object"&&"removeEventListener"in e&&typeof e.removeEventListener=="function"&&e.removeEventListener(t,r)}const o_=()=>({name:"BrowserSession",setupOnce(){if(typeof ce.document>"u"){ut&&R.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}al({ignoreDuration:!0}),cl(),_i(({from:e,to:t})=>{e!==void 0&&e!==t&&(al({ignoreDuration:!0}),cl())})}}),n_="GlobalHandlers",i_=((e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:n_,setupOnce(){Error.stackTraceLimit=50},setup(r){t.onerror&&(a_(r),Bl("onerror")),t.onunhandledrejection&&(c_(r),Bl("onunhandledrejection"))}}}),s_=i_;function a_(e){ru(t=>{const{stackParser:r,attachStacktrace:o}=Mf();if(te()!==e||af())return;const{msg:n,url:i,line:s,column:a,error:c}=t,l=u_(Ia(r,c||n,void 0,o,!1),i,s,a);l.level="error",Nu(l,{originalException:c,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}function c_(e){ou(t=>{const{stackParser:r,attachStacktrace:o}=Mf();if(te()!==e||af())return;const n=l_(t),i=qr(n)?d_(n):Ia(r,n,void 0,o,!0);i.level="error",Nu(i,{originalException:n,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}function l_(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 d_(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function u_(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=f_(t)??io();return c.length===0&&c.push({colno:l,filename:u,function:wr,in_app:!0,lineno:d}),e}function Bl(e){ut&&R.log(`Global Handler attached: ${e}`)}function Mf(){return te()?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function f_(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 p_=()=>({name:"HttpContext",preprocessEvent(e){if(!ce.navigator&&!ce.location&&!ce.document)return;const t=xa(),r={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:r}}}),m_="cause",g_=5,h_="LinkedErrors",b_=((e={})=>{const t=e.limit||g_,r=e.key||m_;return{name:h_,preprocessEvent(o,n,i){const s=i.getOptions();by(Ta,s.stackParser,r,t,o,n)}}}),y_=b_;function v_(){return k_()?(ut&&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 k_(){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 $f(e){return[ly(),iy(),Jk(),jk(),s_(),y_(),Sy(),p_(),o_()]}function __(e={}){const t=!e.skipBrowserExtensionCheck&&v_();let r=e.defaultIntegrations==null?$f():e.defaultIntegrations;const o={...e,enabled:t?!1:e.enabled,stackParser:dh(e.stackParser||Pk),integrations:Sb({integrations:e.integrations,defaultIntegrations:r}),transport:e.transport||wk};return Wb(ov,o)}const ve=ee,La="sentryReplaySession",S_="replay_event",Na="Unable to send Replay",w_=3e5,E_=9e5,C_=5e3,x_=5500,T_=6e4,R_=5e3,I_=3,Ml=15e4,hn=5e3,A_=3e3,B_=300,Pa=2e7,M_=4999,$_=5e4,$l=36e5;var O_=Object.defineProperty,L_=(e,t,r)=>t in e?O_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ol=(e,t,r)=>L_(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 N_(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 P_(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 D_(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?P_(Array.from(t,Of).join("")):null}catch{return null}}function F_(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 Of(e){let t;if(H_(e))try{t=ei(e.styleSheet)||D_(e)}catch{}else if(U_(e)){let r=e.cssText;const o=e.selectorText.includes(":"),n=typeof e.style.all=="string"&&e.style.all;if(n&&(r=F_(e)),o&&(r=j_(r)),o||n)return r}return t||e.cssText}function j_(e){const t=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(t,"$1\\$2")}function H_(e){return"styleSheet"in e}function U_(e){return"selectorText"in e}class Lf{constructor(){Ol(this,"idNodeMap",new Map),Ol(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 z_(){return new Lf}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 Ns(e){return e.toUpperCase()}const Ll="__rrweb_original__";function W_(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=Ll in i?i[Ll]: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 Nf(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 Nl={};function Pf(e){const t=Nl[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 Nl[e]=o.bind(window)}function Ps(...e){return Pf("setTimeout")(...e)}function Df(...e){return Pf("clearTimeout")(...e)}function Ff(e){try{return e.contentDocument}catch{}}let q_=1;const V_=new RegExp("[^a-z0-9-_:]"),$o=-2;function Fa(){return q_++}function Y_(e){if(e instanceof HTMLFormElement)return"form";const t=Jr(e.tagName);return V_.test(t)?"div":t}function G_(e){let t="";return e.indexOf("//")>-1?t=e.split("/").slice(0,3).join("/"):t=e.split("/")[0],t=t.split("?")[0],t}let Or,Pl;const K_=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,X_=/^(?:[a-z+]+:)?\/\//i,J_=/^www\..*/i,Z_=/^(data:)([^,]*),(.*)/i;function Q_(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(K_,(r,o,n,i,s,a)=>{const c=n||s||a,l=o||i||"";if(!c)return r;if(X_.test(c)||J_.test(c))return`url(${l}${c}${l})`;if(Z_.test(c))return`url(${l}${c}${l})`;if(c[0]==="/")return`url(${l}${G_(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 eS=/^[^ \t\n\r\u000c]+/,tS=/^[, \t\n\r\u000c]+/;function rS(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(tS),!(r>=t.length);){let i=o(eS);if(i.slice(-1)===",")i=Pr(e,i.substring(0,i.length-1)),n.push(i);else{let s="";i=Pr(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 Dl=new WeakMap;function Pr(e,t){return!t||t.trim()===""?t:wi(e,t)}function oS(e){return!!(e.tagName==="svg"||e.ownerSVGElement)}function wi(e,t){let r=Dl.get(e);if(r||(r=e.createElement("a"),Dl.set(e,r)),!t)t="";else if(t.startsWith("blob:")||t.startsWith("data:"))return t;return r.setAttribute("href",t),r.href}function jf(e,t,r,o,n,i,s){if(!o)return o;if(r==="src"||r==="href"&&!(t==="use"&&o[0]==="#"))return Pr(e,o);if(r==="xlink:href"&&o[0]!=="#")return Pr(e,o);if(r==="background"&&(t==="table"||t==="td"||t==="th"))return Pr(e,o);if(r==="srcset")return rS(e,o);if(r==="style"){let a=ri(o,wi(e));return s&&s.size>0&&(a=Q_(a,s)),a}else if(t==="object"&&r==="data")return Pr(e,o);return typeof i=="function"?i(r,o,n):o}function Hf(e,t,r){return(e==="video"||e==="audio")&&t==="autoplay"}function nS(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 iS(e,t){for(let r=e.classList.length;r--;){const o=e.classList[r];if(t.test(o))return!0}return!1}function pr(e,t,r=1/0,o=0){return!e||e.nodeType!==e.ELEMENT_NODE||o>r?-1:t(e)?o:pr(e.parentNode,t,r,o+1)}function Dr(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(iS(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=pr(s,Dr(o,n)),c<0)return!0;a=pr(s,Dr(t,r),c>=0?c:1/0)}else{if(a=pr(s,Dr(t,r)),a<0)return!1;c=pr(s,Dr(o,n),a>=0?a:1/0)}return a>=0?c>=0?a<=c:!0:c>=0?!1:!!i}catch{}return!!i}function sS(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=Ps(()=>{n||(t(),n=!0)},r);e.addEventListener("load",()=>{Df(a),n=!0,t()});return}const s="about:blank";if(o.location.href!==s||e.src===s||e.src==="")return Ps(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}function aS(e,t,r){let o=!1,n;try{n=e.sheet}catch{return}if(n)return;const i=Ps(()=>{o||(t(),o=!0)},r);e.addEventListener("load",()=>{Df(i),o=!0,t()})}function cS(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:w,recordCanvas:k,keepIframeSrcFn:_,newlyAddedElement:E=!1,ignoreCSSAttributes:x}=t,y=lS(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:y};case e.ELEMENT_NODE:return uS(e,{doc:r,blockClass:n,blockSelector:i,unblockSelector:s,inlineStylesheet:p,maskAttributeFn:c,maskInputOptions:f,maskInputFn:h,dataURLOptions:b,inlineImages:w,recordCanvas:k,keepIframeSrcFn:_,newlyAddedElement:E,rootId:y,maskTextClass:l,unmaskTextClass:d,maskTextSelector:u,unmaskTextSelector:m,ignoreCSSAttributes:x});case e.TEXT_NODE:return dS(e,{doc:r,maskAllText:a,maskTextClass:l,unmaskTextClass:d,maskTextSelector:u,unmaskTextSelector:m,maskTextFn:g,maskInputOptions:f,maskInputFn:h,rootId:y});case e.CDATA_SECTION_NODE:return{type:Me.CDATA,textContent:"",rootId:y};case e.COMMENT_NODE:return{type:Me.Comment,textContent:e.textContent||"",rootId:y};default:return!1}}function lS(e,t){if(!t.hasNode(e))return;const r=t.getId(e);return r===1?void 0:r}function dS(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 uS(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:w,unmaskTextSelector:k,ignoreCSSAttributes:_}=t,E=nS(e,o,n,i),x=Y_(e);let y={};const A=e.attributes.length;for(let I=0;I<A;I++){const B=e.attributes[I];B.name&&!Hf(x,B.name,B.value)&&(y[B.name]=jf(r,x,Jr(B.name),B.value,e,c,_))}if(x==="link"&&s){const I=Array.from(r.styleSheets).find(D=>D.href===e.href);let B=null;I&&(B=ei(I)),B&&(y.rel=null,y.href=null,y.crossorigin=null,y._cssText=ri(B,I.href))}if(x==="style"&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){const I=ei(e.sheet);I&&(y._cssText=ri(I,wi(r)))}if(x==="input"||x==="textarea"||x==="select"||x==="option"){const I=e,B=Da(I),D=ti(I,Ns(x),B),P=I.checked;if(B!=="submit"&&B!=="button"&&D){const L=Zr(I,h,w,b,k,Si({type:B,tagName:Ns(x),maskInputOptions:a}));y.value=Mo({isMasked:L,element:I,value:D,maskInputFn:l})}P&&(y.checked=P)}if(x==="option"&&(e.selected&&!a.select?y.selected=!0:delete y.selected),x==="canvas"&&m){if(e.__context==="2d")W_(e)||(y.rr_dataURL=e.toDataURL(d.type,d.quality));else if(!("__context"in e)){const I=e.toDataURL(d.type,d.quality),B=r.createElement("canvas");B.width=e.width,B.height=e.height;const D=B.toDataURL(d.type,d.quality);I!==D&&(y.rr_dataURL=I)}}if(x==="img"&&u){Or||(Or=r.createElement("canvas"),Pl=Or.getContext("2d"));const I=e,B=I.currentSrc||I.getAttribute("src")||"<unknown-src>",D=I.crossOrigin,P=()=>{I.removeEventListener("load",P);try{Or.width=I.naturalWidth,Or.height=I.naturalHeight,Pl.drawImage(I,0,0),y.rr_dataURL=Or.toDataURL(d.type,d.quality)}catch(L){if(I.crossOrigin!=="anonymous"){I.crossOrigin="anonymous",I.complete&&I.naturalWidth!==0?P():I.addEventListener("load",P);return}else console.warn(`Cannot inline img src=${B}! Error: ${L}`)}I.crossOrigin==="anonymous"&&(D?y.crossOrigin=D:I.removeAttribute("crossorigin"))};I.complete&&I.naturalWidth!==0?P():I.addEventListener("load",P)}if((x==="audio"||x==="video")&&(y.rr_mediaState=e.paused?"paused":"played",y.rr_mediaCurrentTime=e.currentTime),f||(e.scrollLeft&&(y.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(y.rr_scrollTop=e.scrollTop)),E){const{width:I,height:B}=e.getBoundingClientRect();y={class:y.class,rr_width:`${I}px`,rr_height:`${B}px`}}x==="iframe"&&!p(y.src)&&(!E&&!Ff(e)&&(y.rr_src=y.src),delete y.src);let K;try{customElements.get(x)&&(K=!0)}catch{}return{type:Me.Element,tagName:x,attributes:y,childNodes:[],isSVG:oS(e)||void 0,needBlock:E,rootId:g,isCustom:K}}function ye(e){return e==null?"":e.toLowerCase()}function fS(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"&&Nf(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:w,dataURLOptions:k={},inlineImages:_=!1,recordCanvas:E=!1,onSerialize:x,onIframeLoad:y,iframeLoadTimeout:A=5e3,onBlockedImageLoad:K,onStylesheetLoad:I,stylesheetLoadTimeout:B=5e3,keepIframeSrcFn:D=()=>!1,newlyAddedElement:P=!1,ignoreCSSAttributes:L}=t;let{preserveWhiteSpace:Q=!0}=t;const F=cS(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:k,inlineImages:_,recordCanvas:E,keepIframeSrcFn:D,newlyAddedElement:P,ignoreCSSAttributes:L});if(!F)return console.warn(e,"not serialized"),null;let U;o.hasNode(e)?U=o.getId(e):fS(F,w)||!Q&&F.type===Me.Text&&!F.isStyle&&!F.textContent.replace(/^\s+|\s+$/gm,"").length?U=$o:U=Fa();const C=Object.assign(F,{id:U});if(o.add(e,C),U===$o)return null;x&&x(e);let W=!m;if(C.type===Me.Element){W=W&&!C.needBlock;const $=e.shadowRoot;$&&Eo($)&&(C.isShadowHost=!0)}if((C.type===Me.Document||C.type===Me.Element)&&W){w.headWhitespace&&C.type===Me.Element&&C.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:w,dataURLOptions:k,inlineImages:_,recordCanvas:E,preserveWhiteSpace:Q,onSerialize:x,onIframeLoad:y,iframeLoadTimeout:A,onBlockedImageLoad:K,onStylesheetLoad:I,stylesheetLoadTimeout:B,keepIframeSrcFn:D,ignoreCSSAttributes:L},q=e.childNodes?Array.from(e.childNodes):[];for(const V of q){const ue=Fr(V,$);ue&&C.childNodes.push(ue)}if(N_(e)&&e.shadowRoot)for(const V of Array.from(e.shadowRoot.childNodes)){const ue=Fr(V,$);ue&&(Eo(e.shadowRoot)&&(ue.isShadow=!0),C.childNodes.push(ue))}}if(e.parentNode&&wo(e.parentNode)&&Eo(e.parentNode)&&(C.isShadow=!0),C.type===Me.Element&&C.tagName==="iframe"&&!C.needBlock&&sS(e,()=>{const $=Ff(e);if($&&y){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:w,dataURLOptions:k,inlineImages:_,recordCanvas:E,preserveWhiteSpace:Q,onSerialize:x,onIframeLoad:y,iframeLoadTimeout:A,onStylesheetLoad:I,stylesheetLoadTimeout:B,keepIframeSrcFn:D,ignoreCSSAttributes:L});q&&y(e,q)}},A),C.type===Me.Element&&C.tagName==="img"&&!e.complete&&C.needBlock){const $=e,q=()=>{if($.isConnected&&!$.complete&&K)try{const V=$.getBoundingClientRect();V.width>0&&V.height>0&&K($,C,V)}catch{}$.removeEventListener("load",q)};$.isConnected&&$.addEventListener("load",q)}return C.type===Me.Element&&C.tagName==="link"&&typeof C.attributes.rel=="string"&&(C.attributes.rel==="stylesheet"||C.attributes.rel==="preload"&&typeof C.attributes.href=="string"&&Nf(C.attributes.href)==="css")&&aS(e,()=>{if(I){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:w,dataURLOptions:k,inlineImages:_,recordCanvas:E,preserveWhiteSpace:Q,onSerialize:x,onIframeLoad:y,iframeLoadTimeout:A,onStylesheetLoad:I,stylesheetLoadTimeout:B,keepIframeSrcFn:D,ignoreCSSAttributes:L});$&&I(e,$)}},B),C.type===Me.Element&&delete C.needBlock,C}function pS(e,t){const{mirror:r=new Lf,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:w=!1,dataURLOptions:k,preserveWhiteSpace:_,onSerialize:E,onIframeLoad:x,iframeLoadTimeout:y,onBlockedImageLoad:A,onStylesheetLoad:K,stylesheetLoadTimeout:I,keepIframeSrcFn:B=()=>!1,ignoreCSSAttributes:D=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:w===!0||w==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:w==="all",headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:w===!1?{}:w,dataURLOptions:k,inlineImages:m,recordCanvas:p,preserveWhiteSpace:_,onSerialize:E,onIframeLoad:x,iframeLoadTimeout:y,onBlockedImageLoad:A,onStylesheetLoad:K,stylesheetLoadTimeout:I,keepIframeSrcFn:B,newlyAddedElement:!1,ignoreCSSAttributes:D})}function qe(e,t,r=document){const o={capture:!0,passive:!0};return r.addEventListener(e,t,o),()=>r.removeEventListener(e,t,o)}const Lr=`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 Fl={map:{},getId(){return console.error(Lr),-1},getNode(){return console.error(Lr),null},removeNodeFromMap(){console.error(Lr)},has(){return console.error(Lr),!1},reset(){console.error(Lr)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(Fl=new Proxy(Fl,{get(e,t,r){return t==="map"&&console.error(Lr),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&&(kS(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 Uf(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)}}),()=>Uf(e,t,i||{},!0)}function ja(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 zf(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 Wf(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function qf(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function Vf(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch{return null}}function nt(e,t,r,o,n){if(!e)return!1;const i=Vf(e);if(!i)return!1;const s=Dr(t,r);if(!n){const l=o&&i.matches(o);return s(i)&&!l}const a=pr(i,s);let c=-1;return a<0?!1:(o&&(c=pr(i,Dr(null,o))),a>-1&&c<0?!0:a<c)}function mS(e,t){return t.getId(e)!==-1}function Ki(e,t){return t.getId(e)===$o}function Yf(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?Yf(e.parentNode,t):!0:!0}function Ds(e){return!!e.changedTouches}function gS(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 Gf(e,t){return!!(e.nodeName==="IFRAME"&&t.getMeta(e))}function Kf(e,t){return!!(e.nodeName==="LINK"&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&e.getAttribute("rel")==="stylesheet"&&t.getMeta(e))}function Fs(e){return!!e?.shadowRoot}class hS{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 Xf(e){let t=null;return e.getRootNode?.()?.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function bS(e){let t=e,r;for(;r=Xf(t);)t=r;return t}function yS(e){const t=e.ownerDocument;if(!t)return!1;const r=bS(e);return t.contains(r)}function Jf(e){const t=e.ownerDocument;return t?t.contains(e)||yS(e):!1}const jl={};function Ha(e){const t=jl[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 jl[e]=o.bind(window)}function vS(...e){return Ha("requestAnimationFrame")(...e)}function Ei(...e){return Ha("setTimeout")(...e)}function kS(...e){return Ha("clearTimeout")(...e)}var Z=(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))(Z||{}),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||{}),At=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(At||{}),Nr=(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))(Nr||{});function Ua(e){try{return e.contentDocument}catch{}}function _S(e){try{return e.contentWindow}catch{}}function Hl(e){return"__ln"in e}class SS{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&&Hl(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&&Hl(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 Ul=(e,t)=>`${e}@${t}`;class wS{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 SS,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||!Jf(c))return;const l=wo(c.parentNode)?this.mirror.getId(Xf(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=>{Gf(m,this.mirror)&&!nt(m,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&this.iframeManager.addIframe(m),Kf(m,this.mirror)&&this.stylesheetManager.trackLinkElement(m),Fs(c)&&this.shadowDomManager.addShadowRoot(c.shadowRoot,this.doc)},onIframeLoad:(m,p)=>{nt(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)zl(this.removes,c,this.mirror)&&!this.movedSet.has(c.parentNode)||i(c);for(const c of this.addedSet)!Wl(this.droppedSet,c)&&!zl(this.removes,c,this.mirror)||Wl(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(!Ki(t.target,this.mirror))switch(t.type){case"characterData":{const r=t.target.textContent;!nt(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,Vf(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(nt(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(!Ua(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"),!Hf(r.tagName,o)&&(i.attributes[o]=jf(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(nt(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);nt(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||Ki(r,this.mirror)||!mS(r,this.mirror)||(this.addedSet.has(r)?(js(this.addedSet,r),this.droppedSet.add(r)):this.addedSet.has(t.target)&&o===-1||Yf(t.target,this.mirror)||(this.movedSet.has(r)&&this.movedMap[Ul(o,n)]?js(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(Ki(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[Ul(this.mirror.getId(t),o)]=!0)}else this.addedSet.add(t),this.droppedSet.delete(t);nt(t,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(t.childNodes&&t.childNodes.forEach(o=>this.genAdds(o)),Fs(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 js(e,t){e.delete(t),t.childNodes?.forEach(r=>js(e,r))}function zl(e,t,r){return e.length===0?!1:ES(e,t,r)}function ES(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 Wl(e,t){return e.size===0?!1:Zf(e,t)}function Zf(e,t){const{parentNode:r}=t;return r?e.has(r)?!0:Zf(e,r):!1}let Co;function CS(e){Co=e}function xS(){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 Qf(e,t){const r=new wS;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 TS({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 RS({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(nt(p,o,n,i,!0))return;let f=null,g=u;if("pointerType"in m){switch(m.pointerType){case"mouse":f=At.Mouse;break;case"touch":f=At.Touch;break;case"pen":f=At.Pen;break}f===At.Touch?We[u]===We.MouseDown?g="TouchStart":We[u]===We.MouseUp&&(g="TouchEnd"):At.Pen}else Ds(m)&&(f=At.Touch);f!==null?(l=f,(g.startsWith("Touch")&&f===At.Touch||g.startsWith("Mouse")&&f===At.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:w,clientY:k}=h;se(e)({type:We[g],id:b,x:w,y:k,...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 ep({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||nt(l,o,n,i,!0))return;const d=r.getId(l);if(l===t&&t.defaultView){const u=zf(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 IS({viewportResizeCb:e},{win:t}){let r=-1,o=-1;const n=se(Oo(se(()=>{const i=Wf(),s=qf();(r!==i||o!==s)&&(e({width:Number(s),height:Number(i)}),r=i,o=s)}),200));return qe("resize",n,t)}const AS=["INPUT","TEXTAREA","SELECT"],ql=new WeakMap;function BS({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(y){let A=Qo(y);const K=y.isTrusted,I=A&&Ns(A.tagName);if(I==="OPTION"&&(A=A.parentElement),!A||!I||AS.indexOf(I)<0||nt(A,o,n,i,!0))return;const B=A;if(B.classList.contains(s)||a&&B.matches(a))return;const D=Da(A);let P=ti(B,I,D),L=!1;const Q=Si({maskInputOptions:c,tagName:I,type:D}),F=Zr(A,m,f,p,g,Q);(D==="radio"||D==="checkbox")&&(L=A.checked),P=Mo({isMasked:F,element:A,value:P,maskInputFn:l}),b(A,u?{text:P,isChecked:L,userTriggered:K}:{text:P,isChecked:L});const U=A.name;D==="radio"&&U&&L&&t.querySelectorAll(`input[type="radio"][name="${U}"]`).forEach(C=>{if(C!==A){const W=Mo({isMasked:F,element:C,value:ti(C,I,D),maskInputFn:l});b(C,u?{text:W,isChecked:!L,userTriggered:!1}:{text:W,isChecked:!L})}})}function b(y,A){const K=ql.get(y);if(!K||K.text!==A.text||K.isChecked!==A.isChecked){ql.set(y,A);const I=r.getId(y);se(e)({...A,id:I})}}const k=(d.input==="last"?["change"]:["input","change"]).map(y=>qe(y,se(h),t)),_=t.defaultView;if(!_)return()=>{k.forEach(y=>y())};const E=_.Object.getOwnPropertyDescriptor(_.HTMLInputElement.prototype,"value"),x=[[_.HTMLInputElement.prototype,"value"],[_.HTMLInputElement.prototype,"checked"],[_.HTMLSelectElement.prototype,"value"],[_.HTMLTextAreaElement.prototype,"value"],[_.HTMLSelectElement.prototype,"selectedIndex"],[_.HTMLOptionElement.prototype,"selected"]];return E&&E.set&&k.push(...x.map(y=>Uf(y[0],y[1],{set(){se(h)({target:this,isTrusted:!1})}},!1,_))),se(()=>{k.forEach(y=>y())})}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 MS({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:w}=Vt(p.parentStyleSheet,t,r.styleMirror);return(b&&b!==-1||w&&w!==-1)&&e({id:b,styleId:w,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 tp({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 $S({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 OS({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||nt(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(Nr.Play),s),qe("pause",a(Nr.Pause),s),qe("seeked",a(Nr.Seeked),s),qe("volumechange",a(Nr.VolumeChange),s),qe("ratechange",a(Nr.RateChange),s)];return se(()=>{c.forEach(l=>l())})}function LS({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=ja(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 NS(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;nt(f,o,n,i,!0)||nt(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 PS({doc:e,customElementCb:t}){const r=e.defaultView;return!r||!r.customElements?()=>{}:ja(r.customElements,"define",function(n){return function(i,s,a){try{t({define:{name:i}})}catch{}return n.apply(this,[i,s,a])}})}function DS(e,t={}){const r=e.doc.defaultView;if(!r)return()=>{};let o;e.recordDOM&&(o=Qf(e,e.doc));const n=TS(e),i=RS(e),s=ep(e),a=IS(e,{win:r}),c=BS(e),l=OS(e);let d=()=>{},u=()=>{},m=()=>{},p=()=>{};e.recordDOM&&(d=MS(e,{win:r}),u=tp(e,e.doc),m=$S(e,{win:r}),e.collectFonts&&(p=LS(e)));const f=NS(e),g=PS(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 Hs{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 FS{constructor(){this.crossOriginIframeMirror=new Hs(Fa),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class jS{constructor(t){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new Hs(Fa),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=t.mutationCb,this.wrappedEmit=t.wrappedEmit,this.stylesheetManager=t.stylesheetManager,this.recordCrossOriginIframes=t.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new Hs(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=Ua(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 Z.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:Z.IncrementalSnapshot,data:{source:Y.Mutation,adds:[{parentId:this.mirror.getId(t),nextId:null,node:r.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case Z.Meta:case Z.Load:case Z.DomContentLoaded:return!1;case Z.Plugin:return r;case Z.Custom:return this.replaceIds(r.data.payload,t,["id","parentId","previousId","nextId"]),r;case Z.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 HS{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class US{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=Qf({...this.bypassOptions,doc:r,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},t);this.restoreHandlers.push(()=>o.disconnect()),this.restoreHandlers.push(ep({...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(tp({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},t))},0)}observeAttachShadow(t){const r=Ua(t),o=_S(t);!r||!o||this.patchAttachShadow(o.Element,r)}patchAttachShadow(t,r){const o=this;this.restoreHandlers.push(ja(t.prototype,"attachShadow",function(n){return function(i){const s=n.call(this,i);return this.shadowRoot&&Jf(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 Vl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",zS=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var vn=0;vn<Vl.length;vn++)zS[Vl.charCodeAt(vn)]=vn;class Yl{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}addWindow(){}addShadowRoot(){}resetShadowRoots(){}}class WS{constructor(t){this.trackedLinkElements=new WeakSet,this.styleMirror=new hS,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:Of(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 qS{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,vS(()=>{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 pt=z_();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:w,maskInputFn:k,maskTextFn:_,maxCanvasSize:E=null,packFn:x,sampling:y={},dataURLOptions:A={},mousemoveWait:K,recordDOM:I=!0,recordCanvas:B=!1,recordCrossOriginIframes:D=!1,recordAfter:P=e.recordAfter==="DOMContentLoaded"?e.recordAfter:"load",userTriggeredOnInput:L=!1,collectFonts:Q=!1,inlineImages:F=!1,plugins:U,keepIframeSrcFn:C=()=>!1,ignoreCSSAttributes:W=new Set([]),errorHandler:$,onMutation:q,getCanvasManager:V}=e;CS($);const ue=D?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()=>{};K!==void 0&&y.mousemove===void 0&&(y.mousemove=K),pt.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:{},Se=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||{};gS();let we,pe=0;const $e=ne=>{for(const ft of U||[])ft.eventProcessor&&(ne=ft.eventProcessor(ne));return x&&!xe&&(ne=x(ne)),ne};Te=(ne,ft)=>{const re=ne;if(re.timestamp=oi(),jr[0]?.isFrozen()&&re.type!==Z.FullSnapshot&&!(re.type===Z.IncrementalSnapshot&&re.data.source===Y.Mutation)&&jr.forEach(De=>De.unfreeze()),ue)t?.($e(re),ft);else if(xe){const De={type:"rrweb",event:$e(re),origin:window.location.origin,isCheckout:ft};window.parent.postMessage(De,"*")}if(re.type===Z.FullSnapshot)we=re,pe=0;else if(re.type===Z.IncrementalSnapshot){if(re.data.source===Y.Mutation&&re.data.isAttachIframe)return;pe++;const De=o&&pe>=o,de=r&&we&&re.timestamp-we.timestamp>r;(De||de)&&It(!0)}};const rt=ne=>{Te({type:Z.IncrementalSnapshot,data:{source:Y.Mutation,...ne}})},vt=ne=>Te({type:Z.IncrementalSnapshot,data:{source:Y.Scroll,...ne}}),ar=ne=>Te({type:Z.IncrementalSnapshot,data:{source:Y.CanvasMutation,...ne}}),Wt=ne=>Te({type:Z.IncrementalSnapshot,data:{source:Y.AdoptedStyleSheet,...ne}}),Pe=new WS({mutationCb:rt,adoptedStyleSheetCb:Wt}),Ve=typeof __RRWEB_EXCLUDE_IFRAME__=="boolean"&&__RRWEB_EXCLUDE_IFRAME__?new FS:new jS({mirror:pt,mutationCb:rt,stylesheetManager:Pe,recordCrossOriginIframes:D,wrappedEmit:Te});for(const ne of U||[])ne.getMirror&&ne.getMirror({nodeMirror:pt,crossOriginIframeMirror:Ve.crossOriginIframeMirror,crossOriginIframeStyleMirror:Ve.crossOriginIframeStyleMirror});const st=new qS,Ar=YS(V,{mirror:pt,win:window,mutationCb:ne=>Te({type:Z.IncrementalSnapshot,data:{source:Y.CanvasMutation,...ne}}),recordCanvas:B,blockClass:n,blockSelector:i,unblockSelector:s,maxCanvasSize:E,sampling:y.canvas,dataURLOptions:A,errorHandler:$}),Br=typeof __RRWEB_EXCLUDE_SHADOW_DOM__=="boolean"&&__RRWEB_EXCLUDE_SHADOW_DOM__?new HS:new US({mutationCb:rt,scrollCb:vt,bypassOptions:{onMutation:q,blockClass:n,blockSelector:i,unblockSelector:s,maskAllText:l,maskTextClass:d,unmaskTextClass:u,maskTextSelector:m,unmaskTextSelector:p,inlineStylesheet:f,maskInputOptions:Ne,dataURLOptions:A,maskAttributeFn:w,maskTextFn:_,maskInputFn:k,recordCanvas:B,inlineImages:F,sampling:y,slimDOMOptions:Se,iframeManager:Ve,stylesheetManager:Pe,canvasManager:Ar,keepIframeSrcFn:C,processedNodeManager:st,ignoreCSSAttributes:W},mirror:pt}),It=(ne=!1)=>{if(!I)return;Te({type:Z.Meta,data:{href:window.location.href,width:qf(),height:Wf()}},ne),Pe.reset(),Br.init(),jr.forEach(re=>re.lock());const ft=pS(document,{mirror:pt,blockClass:n,blockSelector:i,unblockSelector:s,maskAllText:l,maskTextClass:d,unmaskTextClass:u,maskTextSelector:m,unmaskTextSelector:p,inlineStylesheet:f,maskAllInputs:Ne,maskAttributeFn:w,maskInputFn:k,maskTextFn:_,slimDOM:Se,dataURLOptions:A,recordCanvas:B,inlineImages:F,onSerialize:re=>{Gf(re,pt)&&Ve.addIframe(re),Kf(re,pt)&&Pe.trackLinkElement(re),Fs(re)&&Br.addShadowRoot(re.shadowRoot,document)},onIframeLoad:(re,De)=>{Ve.attachIframe(re,De),re.contentWindow&&Ar.addWindow(re.contentWindow),Br.observeAttachShadow(re)},onStylesheetLoad:(re,De)=>{Pe.attachLinkElement(re,De)},onBlockedImageLoad:(re,De,{width:de,height:go})=>{rt({adds:[],removes:[],texts:[],attributes:[{id:De.id,attributes:{style:{width:`${de}px`,height:`${go}px`}}}]})},keepIframeSrcFn:C,ignoreCSSAttributes:W});if(!ft)return console.warn("Failed to snapshot the document");Te({type:Z.FullSnapshot,data:{node:ft,initialOffset:zf(window)}}),jr.forEach(re=>re.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&Pe.adoptStyleSheets(document.adoptedStyleSheets,pt.getId(document))};ii=It;try{const ne=[],ft=De=>se(DS)({onMutation:q,mutationCb:rt,mousemoveCb:(de,go)=>Te({type:Z.IncrementalSnapshot,data:{source:go,positions:de}}),mouseInteractionCb:de=>Te({type:Z.IncrementalSnapshot,data:{source:Y.MouseInteraction,...de}}),scrollCb:vt,viewportResizeCb:de=>Te({type:Z.IncrementalSnapshot,data:{source:Y.ViewportResize,...de}}),inputCb:de=>Te({type:Z.IncrementalSnapshot,data:{source:Y.Input,...de}}),mediaInteractionCb:de=>Te({type:Z.IncrementalSnapshot,data:{source:Y.MediaInteraction,...de}}),styleSheetRuleCb:de=>Te({type:Z.IncrementalSnapshot,data:{source:Y.StyleSheetRule,...de}}),styleDeclarationCb:de=>Te({type:Z.IncrementalSnapshot,data:{source:Y.StyleDeclaration,...de}}),canvasMutationCb:ar,fontCb:de=>Te({type:Z.IncrementalSnapshot,data:{source:Y.Font,...de}}),selectionCb:de=>{Te({type:Z.IncrementalSnapshot,data:{source:Y.Selection,...de}})},customElementCb:de=>{Te({type:Z.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:y,recordDOM:I,recordCanvas:B,inlineImages:F,userTriggeredOnInput:L,collectFonts:Q,doc:De,maskAttributeFn:w,maskInputFn:k,maskTextFn:_,keepIframeSrcFn:C,blockSelector:i,unblockSelector:s,slimDOMOptions:Se,dataURLOptions:A,mirror:pt,iframeManager:Ve,stylesheetManager:Pe,shadowDomManager:Br,processedNodeManager:st,canvasManager:Ar,ignoreCSSAttributes:W,plugins:U?.filter(de=>de.observer)?.map(de=>({observer:de.observer,options:de.options,callback:go=>Te({type:Z.Plugin,data:{plugin:de.name,payload:go}})}))||[]},{});Ve.addLoadListener(De=>{try{ne.push(ft(De.contentDocument))}catch(de){console.warn(de)}});const re=()=>{It(),ne.push(ft(document))};return document.readyState==="interactive"||document.readyState==="complete"?re():(ne.push(qe("DOMContentLoaded",()=>{Te({type:Z.DomContentLoaded,data:{}}),P==="DOMContentLoaded"&&re()})),ne.push(qe("load",()=>{Te({type:Z.Load,data:{}}),P==="load"&&re()},window))),()=>{ne.forEach(De=>De()),st.destroy(),ii=void 0,xS()}}catch(ne){console.warn(ne)}}function VS(e){if(!ii)throw new Error("please take full snapshot after start recording");ii(e)}Nt.mirror=pt;Nt.takeFullSnapshot=VS;function YS(e,t){try{return e?e(t):new Yl}catch{return console.warn("Unable to initialize CanvasManager"),new Yl}}var Gl;(function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"})(Gl||(Gl={}));const GS=3,KS=5;function za(e){return e>9999999999?e:e*1e3}function Xi(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:Z.Custom,timestamp:(t.timestamp||0)*1e3,data:{tag:"breadcrumb",payload:mt(t,10,1e3)}}),t.category==="console")))}const XS="button,a";function rp(e){return e.closest(XS)||e}function op(e){const t=np(e);return!t||!(t instanceof Element)?t:rp(t)}function np(e){return JS(e)?e.target:e}function JS(e){return typeof e=="object"&&!!e&&"target"in e}let Yt;function ZS(e){return Yt||(Yt=[],QS()),Yt.push(e),()=>{const t=Yt?Yt.indexOf(e):-1;t>-1&&Yt.splice(t,1)}}function QS(){Ke(ve,"open",function(e){return function(...t){if(Yt)try{Yt.forEach(r=>r())}catch{}return e.apply(ve,t)}})}const ew=new Set([Y.Mutation,Y.StyleSheetRule,Y.StyleDeclaration,Y.AdoptedStyleSheet,Y.CanvasMutation,Y.Selection,Y.MediaInteraction]);function tw(e,t,r){e.handleClick(t,r)}class rw{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=ZS(()=>{this._lastMutation=Kl()});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(nw(r,this._ignoreSelector)||!iw(t))return;const o={timestamp:Xi(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=Xi(t)}registerScroll(t=Date.now()){this._lastScroll=Xi(t)}registerClick(t){const r=rp(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=Kl();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 ow=["A","BUTTON","INPUT"];function nw(e,t){return!!(!ow.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 iw(e){return!!(e.data&&typeof e.data.nodeId=="number"&&e.timestamp)}function Kl(){return Date.now()/1e3}function sw(e,t){try{if(!aw(t))return;const{source:r}=t.data;if(ew.has(r)&&e.registerMutation(t.timestamp),r===Y.Scroll&&e.registerScroll(t.timestamp),cw(t)){const{type:o,id:n}=t.data,i=Nt.mirror.getNode(n);i instanceof HTMLElement&&o===We.Click&&e.registerClick(i)}}catch{}}function aw(e){return e.type===GS}function cw(e){return e.data.source===Y.MouseInteraction}function St(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var Wa=(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))(Wa||{});const lw=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function dw(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(lw.has(r)){let o=r;(r==="data-testid"||r==="data-test-id")&&(o="testId"),t[o]=e[r]}return t}const uw=e=>t=>{if(!e.isEnabled())return;const r=fw(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&&tw(e.clickDetector,r,op(t.event)),en(e,r)};function ip(e,t){const r=Nt.mirror.getId(e),o=r&&Nt.mirror.getNode(r),n=o&&Nt.mirror.getMeta(o),i=n&&mw(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===Wa.Text&&s.textContent).filter(Boolean).map(s=>s.trim()).join(""),attributes:dw(i.attributes)}}:{}}}function fw(e){const{target:t,message:r}=pw(e);return St({category:`ui.${e.name}`,...ip(t,r)})}function pw(e){const t=e.name==="click";let r,o=null;try{o=t?op(e.event):np(e.event),r=Qe(o,{maxStringLength:200})||"<unknown>"}catch{r="<unknown>"}return{target:o,message:r}}function mw(e){return e.type===Wa.Element}function gw(e,t){if(!e.isEnabled())return;e.updateUserActivity();const r=hw(t);r&&en(e,r)}function hw(e){const{metaKey:t,shiftKey:r,ctrlKey:o,altKey:n,key:i,target:s}=e;if(!s||bw(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=ip(s,l);return St({category:"ui.keyDown",message:l,data:{...d.data,metaKey:t,shiftKey:r,ctrlKey:o,altKey:n,key:i}})}function bw(e){return e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable}const yw={resource:ww,paint:_w,navigation:Sw};function Ji(e,t){return({metric:r})=>{t.replayPerformanceEntries.push(e(r))}}function vw(e){return e.map(kw).filter(Boolean)}function kw(e){const t=yw[e.entryType];return t?t(e):null}function Qr(e){return((tt()||ve.performance.timeOrigin)+e)/1e3}function _w(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 Sw(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 ww(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 Ew(e){const t=e.entries[e.entries.length-1],r=t?.element?[t.element]:void 0;return qa(e,"largest-contentful-paint",r)}function Cw(e){return e.sources!==void 0}function xw(e){const t=[],r=[];for(const o of e.entries)if(Cw(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 qa(e,"cumulative-layout-shift",r,t)}function Tw(e){const t=e.entries[e.entries.length-1],r=t?.target?[t.target]:void 0;return qa(e,"interaction-to-next-paint",r)}function qa(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 Rw(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(xr(n,r))}),o.push($a(Ji(Ew,e)),Ma(Ji(xw,e)),yf(Ji(Tw,e))),()=>{o.forEach(n=>n())}}const j=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Iw='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 Aw(){const e=new Blob([Iw]);return URL.createObjectURL(e)}const Xl=["log","warn","error"],Nn="[Replay] ";function Zi(e,t="info"){tr({category:"console",data:{logger:"replay"},level:t,message:`${Nn}${e}`},{level:t})}function Bw(){let e=!1,t=!1;const r={exception:()=>{},infoTick:()=>{},setConfig:o=>{e=!!o.captureExceptions,t=!!o.traceInternals}};return j?(Xl.forEach(o=>{r[o]=(...n)=>{R[o](Nn,...n),t&&Zi(n.join(""),ef(o))}}),r.exception=(o,...n)=>{n.length&&r.error&&r.error(...n),R.error(Nn,o),e?yi(o,{mechanism:{handled:!0,type:"auto.function.replay.debug"}}):t&&Zi(o,"error")},r.infoTick=(...o)=>{R.log(Nn,...o),t&&setTimeout(()=>Zi(o[0]),0)}):Xl.forEach(o=>{r[o]=()=>{}}),r}const H=Bw();class Va extends Error{constructor(){super(`Event buffer exceeded maximum size of ${Pa}.`)}}class sp{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>Pa)throw new Va;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?za(t):null}}class Mw{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 $w{constructor(t){this._worker=new Mw(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=za(t.timestamp);(!this._earliestTimestamp||r<this._earliestTimestamp)&&(this._earliestTimestamp=r);const o=JSON.stringify(t);return this._totalSize+=o.length,this._totalSize>Pa?Promise.reject(new Va):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 Ow{constructor(t){this._fallback=new sp,this._compression=new $w(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 Lw({useCompression:e,workerUrl:t}){if(e&&window.Worker){const r=Nw(t);if(r)return r}return j&&H.log("Using simple buffer"),new sp}function Nw(e){try{const t=e||Pw();if(!t)return;j&&H.log(`Using compression worker${e?` from ${e}`:""}`);const r=new Worker(t);return new Ow(r)}catch(t){j&&H.exception(t,"Failed to create compression worker")}}function Pw(){return typeof __SENTRY_EXCLUDE_REPLAY_WORKER__>"u"||!__SENTRY_EXCLUDE_REPLAY_WORKER__?Aw():""}function Ya(){try{return"sessionStorage"in ve&&!!ve.sessionStorage}catch{return!1}}function Dw(e){Fw(),e.session=void 0}function Fw(){if(Ya())try{ve.sessionStorage.removeItem(La)}catch{}}function ap(e){return e===void 0?!1:Math.random()<e}function Ci(e){if(Ya())try{ve.sessionStorage.setItem(La,JSON.stringify(e))}catch{}}function cp(e){const t=Date.now(),r=e.id||it(),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 jw(e,t){return ap(e)?"session":t?"buffer":!1}function Jl({sessionSampleRate:e,allowBuffering:t,stickySession:r=!1},{previousSessionId:o}={}){const n=jw(e,t),i=cp({sampled:n,previousSessionId:o});return r&&Ci(i),i}function Hw(){if(!Ya())return null;try{const e=ve.sessionStorage.getItem(La);if(!e)return null;const t=JSON.parse(e);return j&&H.infoTick("Loading existing session"),cp(t)}catch{return null}}function Us(e,t,r=+new Date){return e===null||t===void 0||t<0?!0:t===0?!1:e+t<=r}function lp(e,{maxReplayDuration:t,sessionIdleExpire:r,targetTime:o=Date.now()}){return Us(e.started,t,o)||Us(e.lastActivity,r,o)}function dp(e,{sessionIdleExpire:t,maxReplayDuration:r}){return!(!lp(e,{sessionIdleExpire:t,maxReplayDuration:r})||e.sampled==="buffer"&&e.segmentId===0)}function Qi({sessionIdleExpire:e,maxReplayDuration:t,previousSessionId:r},o){const n=o.stickySession&&Hw();return n?dp(n,{sessionIdleExpire:e,maxReplayDuration:t})?(j&&H.infoTick("Session in sessionStorage is expired, creating new one..."),Jl(o,{previousSessionId:n.id})):n:(j&&H.infoTick("Creating new session"),Jl(o,{previousSessionId:r}))}function Uw(e){return e.type===Z.Custom}function Ga(e,t,r){return fp(e,t)?(up(e,t,r),!0):!1}function zw(e,t,r){return fp(e,t)?up(e,t,r):Promise.resolve(null)}async function up(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=Ww(t,i.beforeAddRecordingEvent);return s?await o.addEvent(s):void 0}catch(i){const s=i&&i instanceof Va,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 fp(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;const r=za(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 Ww(e,t){try{if(typeof t=="function"&&Uw(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 Ka(e){return!e.type}function zs(e){return e.type==="transaction"}function qw(e){return e.type==="replay_event"}function Zl(e){return e.type==="feedback"}function Vw(e){return(t,r)=>{if(!e.isEnabled()||!Ka(t)&&!zs(t))return;const o=r.statusCode;if(!(!o||o<200||o>=300)){if(zs(t)){Yw(e,t);return}Gw(e,t)}}}function Yw(e,t){const r=e.getContext();t.contexts?.trace?.trace_id&&r.traceIds.size<100&&r.traceIds.add(t.contexts.trace.trace_id)}function Gw(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 Kw(e){return t=>{!e.isEnabled()||!Ka(t)||Xw(e,t)}}function Xw(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 Jw(e){const t=te();t&&t.on("beforeAddBreadcrumb",r=>Zw(e,r))}function Zw(e,t){if(!e.isEnabled()||!pp(t))return;const r=Qw(t);r&&en(e,r)}function Qw(e){return!pp(e)||["fetch","xhr","sentry.event","sentry.transaction"].includes(e.category)||e.category.startsWith("ui.")?null:e.category==="console"?eE(e):St(e)}function eE(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=mt(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 pp(e){return!!e.category}function tE(e,t){return e.type||!e.exception?.values?.length?!1:!!t.originalException?.__rrweb__}function mp(){const e=fe().getPropagationContext().dsc;e&&delete e.replay_id;const t=je();if(t){const r=Ht(t);delete r.replay_id}}function rE(e,t){e.triggerUserActivity(),e.addUpdate(()=>t.timestamp?(e.throttledAddEvent({type:Z.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 oE(e,t){return e.recordingMode!=="buffer"||t.message===Na||!t.exception||t.type?!1:ap(e.getOptions().errorSampleRate)}function nE(e){return Object.assign((t,r)=>{if(!e.isEnabled()||e.isPaused())return t;if(qw(t))return delete t.breadcrumbs,t;if(!Ka(t)&&!zs(t)&&!Zl(t))return t;if(!e.checkAndHandleExpiredSession())return mp(),t;if(Zl(t))return e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),rE(e,t),t;if(tE(t,r)&&!e.getOptions()._experiments.captureExceptions)return j&&H.log("Ignoring error from rrweb internals",t),null;const n=oE(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:Z.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 iE(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 sE(e){return t=>{if(!e.isEnabled())return;const r=iE(t);r!==null&&(e.getContext().urls.push(r.name),e.triggerUserActivity(),e.addUpdate(()=>(xi(e,[r]),!1)))}}function aE(e,t){return j&&e.getOptions()._experiments.traceInternals?!1:Kb(t,te())}function gp(e,t){e.isEnabled()&&t!==null&&(aE(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=Tf(e);return t.encode(r).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch{}}function hp(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 bp(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}=cE(r);return o.body=n,i?.length&&(o._meta={warnings:i}),o}function Ws(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 cE(e){if(!e||typeof e!="string")return{body:e};const t=e.length>Ml,r=lE(e);if(t){const o=e.slice(0,Ml);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 lE(e){const t=e[0],r=e[e.length-1];return t==="["&&r==="]"||t==="{"&&r==="}"}function ai(e,t){const r=dE(e);return Ot(r,t)}function dE(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 uE(e,t,r){try{const o=await pE(e,t,r),n=bp("resource.fetch",o);gp(r.replay,n)}catch(o){j&&H.exception(o,"Failed to capture fetch breadcrumb")}}function fE(e,t){const{input:r,response:o}=t,n=r?If(r):void 0,i=Ti(n),s=o?hp(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 pE(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?mE(r,t.input,l):Lo(l),p=await gE(u,r,t.response,d);return{startTimestamp:n,endTimestamp:i,url:s,method:a,statusCode:c,request:m,response:p}}function mE({networkCaptureBodies:e,networkRequestHeaders:t},r,o){const n=r?yE(r,t):{};if(!e)return Jt(n,o,void 0);const i=If(r),[s,a]=Rf(i,H),c=Jt(n,o,s);return a?si(c,a):c}async function gE(e,{networkCaptureBodies:t,networkResponseHeaders:r},o,n){if(!e&&n!==void 0)return Lo(n);const i=o?yp(o.headers,r):{};if(!o||!t&&n!==void 0)return Jt(i,n,void 0);const[s,a]=await bE(o),c=hE(s,{networkCaptureBodies:t,responseBodySize:n,captureDetails:e,headers:i});return a?si(c,a):c}function hE(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 bE(e){const t=vE(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{return[await kE(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 yp(e,t){const r={};return t.forEach(o=>{e.get(o)&&(r[o]=e.get(o))}),r}function yE(e,t){return e.length===1&&typeof e[0]!="string"?Ql(e[0],t):e.length===2?Ql(e[1],t):{}}function Ql(e,t){if(!e)return{};const r=e.headers;return r?r instanceof Headers?yp(r,t):Array.isArray(r)?{}:Ws(r,t):{}}function vE(e){try{return e.clone()}catch(t){j&&H.exception(t,"Failed to clone response body")}}function kE(e){return new Promise((t,r)=>{const o=Zo(()=>r(new Error("Timeout while trying to read response body")),500);_E(e).then(n=>t(n),n=>r(n)).finally(()=>clearTimeout(o))})}async function _E(e){return await e.text()}async function SE(e,t,r){try{const o=EE(e,t,r),n=bp("resource.xhr",o);gp(r.replay,n)}catch(o){j&&H.exception(o,"Failed to capture xhr breadcrumb")}}function wE(e,t){const{xhr:r,input:o}=t;if(!r)return;const n=Ti(o),i=r.getResponseHeader("content-length")?hp(r.getResponseHeader("content-length")):TE(r.response,r.responseType);n!==void 0&&(e.data.request_body_size=n),i!==void 0&&(e.data.response_body_size=i)}function EE(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 x=Lo(u),y=Lo(m);return{startTimestamp:n,endTimestamp:i,url:c,method:l,statusCode:d,request:x,response:y}}const p=a[fr],f=p?Ws(p.request_headers,r.networkRequestHeaders):{},g=Ws(Af(a),r.networkResponseHeaders),[h,b]=r.networkCaptureBodies?Rf(s,H):[void 0],[w,k]=r.networkCaptureBodies?CE(a):[void 0],_=Jt(f,u,h),E=Jt(g,m,w);return{startTimestamp:n,endTimestamp:i,url:c,method:l,statusCode:d,request:b?si(_,b):_,response:k?si(E,k):E}}function CE(e){const t=[];try{return[e.responseText]}catch(r){t.push(r)}try{return xE(e.response,e.responseType)}catch(r){t.push(r)}return j&&H.warn("Failed to get xhr response body",...t),[void 0]}function xE(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 TE(e,t){try{const r=t==="json"&&e&&typeof e=="object"?JSON.stringify(e):e;return Ti(r)}catch{return}}function RE(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)=>IE(a,c,l))}catch{}}function IE(e,t,r){if(t.data)try{AE(t)&&ME(r)&&(wE(t,r),SE(t,r,e)),BE(t)&&$E(r)&&(fE(t,r),uE(t,r,e))}catch(o){j&&H.exception(o,"Error when enriching network breadcrumb")}}function AE(e){return e.category==="xhr"}function BE(e){return e.category==="fetch"}function ME(e){return e?.xhr}function $E(e){return e?.response}function OE(e){const t=te();Ef(uw(e)),_i(sE(e)),Jw(e),RE(e);const r=nE(e);gb(r),t&&(t.on("beforeSendEvent",Kw(e)),t.on("afterSendEvent",Vw(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 LE(e){try{return Promise.all(xi(e,[NE(ve.performance.memory)]))}catch{return[]}}function NE(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 PE(e,t,r){return ty(e,t,{...r,setTimeoutImpl:Zo})}const kn=ee.navigator;function DE(){return/iPhone|iPad|iPod/i.test(kn?.userAgent??"")||/Macintosh/i.test(kn?.userAgent??"")&&kn?.maxTouchPoints&&kn?.maxTouchPoints>1?{sampling:{mousemove:!1}}:{}}function FE(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&&sw(e.clickDetector,r),e.addUpdate(()=>{if(e.recordingMode==="buffer"&&n&&e.setInitialState(),!Ga(e,r,n))return!0;if(!n)return!1;const i=e.session;if(HE(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 jE(e){const t=e.getOptions();return{type:Z.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 HE(e,t){!t||!e.session||e.session.segmentId!==0||Ga(e,jE(e),!1)}function UE(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch{return null}}function zE(e,t,r,o){return sr(Iu(e,ya(e),o,r),[[{type:"replay_event"},e],[{type:"replay_recording",length:typeof t=="string"?new TextEncoder().encode(t).length:t.length},t]])}function WE({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 qE({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 Lu(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 VE({recordingData:e,replayId:t,segmentId:r,eventContext:o,timestamp:n,session:i}){const s=WE({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:S_,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 qE({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=zE(h,s,f,u.getOptions().tunnel);let w;try{w=await p.send(b)}catch(_){const E=new Error(Na);try{E.cause=_}catch{}throw E}if(typeof w.statusCode=="number"&&(w.statusCode<200||w.statusCode>=300))throw new vp(w.statusCode);const k=qu({},w);if(Wu(k,"replay"))throw new Xa(k);return w}class vp extends Error{constructor(t){super(`Transport returned status code ${t}`)}}class Xa extends Error{constructor(t){super("Rate limit hit"),this.rateLimits=t}}async function kp(e,t={count:0,interval:R_}){const{recordingData:r,onError:o}=e;if(r.length)try{return await VE(e),!0}catch(n){if(n instanceof vp||n instanceof Xa)throw n;if(pb("Replays",{_retryCount:t.count}),o&&o(n),t.count>=I_){const i=new Error(`${Na} - max retries exceeded`);try{i.cause=n}catch{}throw i}return t.interval*=++t.count,new Promise((i,s)=>{Zo(async()=>{try{await kp(e,t),i(!0)}catch(a){s(a)}},t.interval)})}}const _p="__THROTTLED",YE="__SKIPPED";function GE(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?YE:_p}s=!1;const l=o.get(c)||0;return o.set(c,l+1),e(...a)}}class KE{constructor({options:t,recordingOptions:r}){this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:w_,sessionIdleExpire:E_},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=PE(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=GE((s,a)=>zw(this,s,a),300,5);const{slowClickTimeout:o,slowClickIgnoreSelectors:n}=this.getOptions(),i=o?{threshold:Math.min(A_,o),timeout:o,scrollTimeout:B_,ignoreSelector:n?n.join(","):""}:void 0;if(i&&(this.clickDetector=new rw(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=>{gw(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=Qi({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=Qi({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:T_}:this._options._experiments.continuousCheckout&&{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:FE(this),...DE(),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}`:""}`),mp(),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),t&&await this._flush({force:!0}),this.eventBuffer?.destroy(),this.eventBuffer=null,Dw(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&&Us(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===_p){const n=St({category:"replay.throttled"});this.addUpdate(()=>!Ga(this,{type:KS,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=Lw({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=Qi({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 dp(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||(OE(this),this._hasInitializedCoreListeners=!0)}catch(t){this.handleException(t)}this._performanceCleanupCallback=Rw(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||lp(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:Z.Custom,timestamp:t.timestamp||0,data:{tag:"breadcrumb",payload:t}})})}_addPerformanceEntries(){let t=vw(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 LE(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 kp({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 Xa?"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=UE(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 XE({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 JE({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 ed='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',ZE=["content-length","content-type","accept"],QE=Symbol.for("sentry__originalRequestBody");let td=!1,rd=!1;function eC(){if(typeof Request>"u"||rd)return;const e=Request;try{const t=function(r,o){const n=new e(r,o);return o?.body!=null&&(n[QE]=o.body),n};t.prototype=e.prototype,ee.Request=t,rd=!0}catch{}}const tC=(e=>new rC(e));class rC{constructor({flushMinDelay:t=C_,flushMaxDelay:r=x_,minReplayDuration:o=M_,maxReplayDuration:n=$l,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:w=!0,networkRequestHeaders:k=[],networkResponseHeaders:_=[],mask:E=[],maskAttributes:x=["title","placeholder","aria-label"],unmask:y=[],block:A=[],unblock:K=[],ignore:I=[],maskFn:B,beforeAddRecordingEvent:D,beforeErrorSampling:P,onError:L,attachRawBodyFromRequest:Q=!1}={}){this.name="Replay";const F=XE({mask:E,unmask:y,block:A,unblock:K,ignore:I});if(this._recordingOptions={maskAllInputs:d,maskAllText:l,maskInputOptions:{password:!0},maskTextFn:B,maskInputFn:B,maskAttributeFn:(U,C,W)=>JE({maskAttributes:x,maskAllText:l,privacyOptions:F,key:U,value:C,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,$_),maxReplayDuration:Math.min(n,$l),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:w,networkRequestHeaders:od(k),networkResponseHeaders:od(_),beforeAddRecordingEvent:D,beforeErrorSampling:P,onError:L,attachRawBodyFromRequest:Q,_experiments:c},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${ed}`:ed,this._recordingOptions.ignoreCSSAttributes=new Set(["background-image"])),this._isInitialized&&Ts())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return td}set _isInitialized(t){td=t}afterAllSetup(t){!Ts()||this._replay||(this._initialOptions.attachRawBodyFromRequest&&eC(),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=oC(this._initialOptions,t);this._replay=new KE({options:r,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(t){try{const r=t.getIntegrationByName("ReplayCanvas");if(!r)return;this._replay._canvas=r.getOptions()}catch{}}}function oC(e,t){const r=t.getOptions(),o={sessionSampleRate:0,errorSampleRate:0,...e},n=Er(r.replaysSessionSampleRate),i=Er(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 od(e){return[...ZE,...e.map(t=>t.toLowerCase())]}function nC(e){return e.split(",").some(t=>t.trim().startsWith("sentry-"))}function Sp(e){try{return new URL(e,ce.location.origin).href}catch{return}}function iC(e){return e.entryType==="resource"&&"initiatorType"in e&&typeof e.nextHopProtocol=="string"&&(e.initiatorType==="fetch"||e.initiatorType==="xmlhttprequest")}function wp(e){try{return new Headers(e)}catch{return}}const nd=new WeakMap,es=new Map,Ep={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function sC(e,t){const{traceFetch:r,traceXHR:o,trackFetchStreamPerformance:n,shouldCreateSpanForRequest:i,enableHTTPTimings:s,tracePropagationTargets:a,onRequestSpanStart:c,onRequestSpanEnd:l}={...Ep,...t},d=typeof i=="function"?i:f=>!0,u=f=>aC(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=es.get(g.span_id);h&&(g.timestamp=h/1e3,es.delete(g.span_id))}}),f)),n&&Ny(f=>{if(f.response){const g=nd.get(f.response);g&&f.endTimestamp&&es.set(g,f.endTimestamp)}}),nf(f=>{const g=xy(f,d,u,m,{propagateTraceparent:p,onRequestSpanEnd:l});if(f.response&&f.fetchData.__span&&nd.set(f.response,f.fetchData.__span),g){const h=Sp(f.fetchData.url),b=h?yr(h).host:void 0;g.setAttributes({"http.url":h,"server.address":b}),s&&id(g),c?.(g,{headers:f.headers})}})),o&&xf(f=>{const g=cC(f,d,u,m,p,l);g&&(s&&id(g),c?.(g,{headers:wp(f.xhr.__sentry_xhr_v3__?.request_headers)}))})}function id(e){const{url:t}=oe(e).data;if(!t||typeof t!="string")return;const r=xr("resource",({entries:o})=>{o.forEach(n=>{iC(n)&&n.name.endsWith(t)&&(e.setAttributes(wf(n)),setTimeout(r))})})}function aC(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 cC(e,t,r,o,n,i){const s=e.xhr,a=s?.[fr];if(!s||s.__sentry_own_request__||!a)return;const{url:c,method:l}=a,d=dt()&&t(c);if(e.endTimestamp&&d){const b=s.__sentry_xhr_span_id__;if(!b)return;const w=o[b];w&&a.status_code!==void 0&&(pu(w,a.status_code),w.end(),i?.(w,{headers:wp(Af(s)),error:e.error}),delete o[b]);return}const u=Sp(c),m=yr(u||c),p=Gb(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)&&lC(s,dt()&&f?g:void 0,n);const h=te();return h&&h.emit("beforeOutgoingRequestSpan",g,e),g}function lC(e,t,r){const{"sentry-trace":o,baggage:n,traceparent:i}=Qu({span:t,propagateTraceparent:r});o&&dC(e,o,n,i)}function dC(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||!nC(i))&&e.setRequestHeader("baggage",r)}}catch{}}function uC(){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);ut&&R.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()}}):ut&&R.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const fC=3600,Cp="sentry_previous_trace",pC="sentry.previous_trace";function mC(e,{linkPreviousTrace:t,consistentTraceSampling:r}){const o=t==="session-storage";let n=o?bC():void 0;e.on("spanStart",s=>{if(Fe(s)!==s)return;const a=fe().getPropagationContext();n=gC(n,s,a),o&&hC(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(qs(n.spanContext))},sampleRand:n.sampleRand}),s.parentSampled=qs(n.spanContext),s.parentSampleRate=n.sampleRate,s.spanAttributes={...s.spanAttributes,[fu]:n.sampleRate}})}function gC(e,t,r){const o=oe(t);function n(){try{return Number(r.dsc?.sample_rate)??Number(o.data?.[fa])}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<=fC&&(ut&&R.log(`Adding previous_trace \`${JSON.stringify(s)}\` link to span \`${JSON.stringify({op:o.op,...t.spanContext()})}\``),t.addLink({context:s,attributes:{[Dh]:"previous_trace"}}),t.setAttribute(pC,`${s.traceId}-${s.spanId}-${qs(s)?1:0}`)),i)}function hC(e){try{ce.sessionStorage.setItem(Cp,JSON.stringify(e))}catch(t){ut&&R.warn("Could not store previous trace in sessionStorage",t)}}function bC(){try{const e=ce.sessionStorage?.getItem(Cp);return JSON.parse(e)}catch{return}}function qs(e){return e.traceFlags===1}const yC="BrowserTracing",vC={...An,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:{},...Ep},sd=((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:w,enableHTTPTimings:k,ignoreResourceSpans:_,ignorePerformanceApiSpans:E,instrumentPageLoad:x,instrumentNavigation:y,detectRedirects:A,linkPreviousTrace:K,consistentTraceSampling:I,enableReportPageLoaded:B,onRequestSpanStart:D,onRequestSpanEnd:P}={...vC,...e};let L,Q,F;function U(C,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 we=Ir();er({...ue,startTime:we}).end(we);return}t.name=ue.name,t.source=xe[Xe];const Ne=Ou(ue,{idleTimeout:u,finalTimeout:m,childSpanTimeout:p,disableAutoFinish:q,beforeSpanEnd:we=>{L?.(),Vv(we,{recordClsOnPageloadSpan:!c,recordLcpOnPageloadSpan:!l,ignoreResourceSpans:_,ignorePerformanceApiSpans:E}),cd(C,void 0);const pe=fe(),$e=pe.getPropagationContext();pe.setPropagationContext({...$e,traceId:Ne.spanContext().traceId,sampled:ir(Ne),dsc:Ht(we)}),q&&(F=void 0)},trimIdleSpanEndTimestamp:!B});q&&B&&(F=Ne),cd(C,Ne);function Se(){r&&["interactive","complete"].includes(r.readyState)&&C.emit("idleSpanEnableAutoFinish",Ne)}q&&!B&&r&&(r.addEventListener("readystatechange",()=>{Se()}),Se())}return{name:yC,setup(C){if(p0(),L=Fv({recordClsStandaloneSpans:c||!1,recordLcpStandaloneSpans:l||!1,client:C}),o&&yk(),n&&nk(),s&&ee.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?Hv():i&&jv(),a&&Uv(),A&&r){const $=()=>{Q=Ie()};addEventListener("click",$,{capture:!0}),addEventListener("keydown",$,{capture:!0,passive:!0})}function W(){const $=No(C);$&&!oe($).timestamp&&(ut&&R.log(`[Tracing] Finishing current active span with op: ${oe($).op}`),$.setAttribute(Io,"cancelled"),$.end())}C.on("startNavigationSpan",($,q)=>{if(te()!==C)return;if(q?.isRedirect){ut&&R.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),U(C,{op:"navigation.redirect",...$},!1);return}Q=void 0,W(),Tt().setPropagationContext({traceId:Ft(),sampleRand:Math.random(),propagationSpanId:dt()?void 0:Lt()});const V=fe();V.setPropagationContext({traceId:Ft(),sampleRand:Math.random(),propagationSpanId:dt()?void 0:Lt()}),V.setSDKProcessingMetadata({normalizedRequest:void 0}),U(C,{op:"navigation",...$,parentSpan:null,forceTransaction:!0})}),C.on("startPageLoadSpan",($,q={})=>{if(te()!==C)return;W();const V=q.sentryTrace||ad("sentry-trace"),ue=q.baggage||ad("baggage"),xe=n0(V,ue),Ne=fe();Ne.setPropagationContext(xe),dt()||(Ne.getPropagationContext().propagationSpanId=Lt()),Ne.setSDKProcessingMetadata({normalizedRequest:xa()}),U(C,{op:"pageload",...$})}),C.on("endPageloadSpan",()=>{B&&F&&(F.setAttribute(Io,"reportPageLoaded"),F.end())})},afterAllSetup(C){let W=io();if(K!=="off"&&mC(C,{linkPreviousTrace:K,consistentTraceSampling:I}),ce.location){if(x){const $=tt();kC(C,{name:ce.location.pathname,startTime:$?$/1e3:void 0,attributes:{[Xe]:"url",[Ce]:"auto.pageload.browser"}})}y&&_i(({to:$,from:q})=>{if(q===void 0&&W?.indexOf($)!==-1){W=void 0;return}W=void 0;const V=Ca($),ue=No(C),xe=ue&&A&&SC(ue,Q);xp(C,{name:V?.pathname||ce.location.pathname,attributes:{[Xe]:"url",[Ce]:"auto.navigation.browser"}},{url:$,isRedirect:xe})})}f&&uC(),a&&_C(C,u,m,p,t),o&&_k(),sC(C,{traceFetch:g,traceXHR:h,trackFetchStreamPerformance:b,tracePropagationTargets:C.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:w,enableHTTPTimings:k,onRequestSpanStart:D,onRequestSpanEnd:P})}}});function kC(e,t,r){e.emit("startPageLoadSpan",t,r),fe().setTransactionName(t.name);const o=No(e);return o&&e.emit("afterStartPageLoadSpan",o),o}function xp(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:{...xa(),url:o}}),No(e)}function ad(e){return ce.document?.querySelector(`meta[name=${e}]`)?.getAttribute("content")||void 0}function _C(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)){ut&&R.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){ut&&R.warn(`[Tracing] Did not create ${c} transaction because _latestRouteName is missing.`);return}s=Ou({name:n.name,op:c,attributes:{[Xe]:n.source||"url"}},{idleTimeout:t,finalTimeout:r,childSpanTimeout:o})};i&&addEventListener("click",a,{capture:!0})}const Tp="_sentry_idleSpan";function No(e){return e[Tp]}function cd(e,t){et(e,Tp,t)}const ld=1.5;function SC(e,t){const r=oe(e),o=Ir(),n=r.start_timestamp;return!(o-n>ld||t&&o-t<=ld)}const Rp=["activate","mount"],Ip=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,wC=/(?:^|[-_])(\w)/g,EC=e=>e.replace(wC,t=>t.toUpperCase()).replace(/[-_]/g,""),CC="<Root>",ts="<Anonymous>",xC=(e,t)=>e.repeat(t),xo=(e,t)=>{if(!e)return ts;if(e.$root===e)return CC;if(!e.$options)return ts;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?`<${EC(o)}>`:ts)+(n&&t!==!1?` at ${n}`:"")},TC=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?"---> ":xC(" ",5+i*2))+(Array.isArray(n)?`${xo(n[0])}... (${n[1]} recursive calls)`:xo(n))}`).join(`
`)}`}return`

(found in ${xo(e)})`},RC=(e,t)=>{const{errorHandler:r}=e.config;e.config.errorHandler=(o,n,i)=>{const s=xo(n,!1),a=n?TC(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}},dd="ui.vue",IC={activate:["activated","deactivated"],create:["beforeCreate","created"],unmount:["beforeUnmount","unmounted"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]};function rs(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 AC(e,t){function r(n){return n.replace(/^<([^\s]*)>(?: at [^\s]*)?$/,"$1")}return e.some(n=>r(t)===r(n))}const BC=(e={})=>{const t=(e.hooks||[]).concat(Rp).filter((n,i,s)=>s.indexOf(n)===i),r={},o=e.timeout||2e3;for(const n of t){const i=IC[n];if(!i){Ip&&R.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:`${dd}.render`,attributes:{[Ce]:"auto.ui.vue"},onlyIfParent:!0}),rs(this,Ie(),o));const c=xo(this,!1);if(!(a||(Array.isArray(e.trackComponents)?AC(e.trackComponents,c):e.trackComponents))){rs(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:`${dd}.${n}`,attributes:{[Ce]:"auto.ui.vue"},onlyIfParent:!0})}}else{const m=this.$_sentryComponentSpans[n];if(!m)return;m.end(),rs(this,Ie(),o)}}}return r},MC=ee,$C={Vue:MC.Vue,attachProps:!0,attachErrorHandler:!0,tracingOptions:{hooks:Rp,timeout:2e3,trackComponents:!1}},OC="Vue",LC=(e={})=>({name:OC,setup(t){const r={...$C,...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=>ud(n,r)):r.Vue&&ud(r.Vue,r)}}),ud=(e,t)=>{Ip&&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&&RC(e,t),dt(t)&&e.mixin(BC(t.tracingOptions))};function NC(e={}){const t={defaultIntegrations:[...$f(),LC()],...e};return Zu(t,"vue"),__(t)}function PC(e,t,r){let o=!1;e.onError(n=>yi(n,{mechanism:{handled:!1}})),e.beforeEach((n,i,s)=>{const a=o?void 0:DC(),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 DC(){const e=je(),t=e&&Fe(e);return t&&oe(t).op==="pageload"?t:void 0}function FC(e={}){if(!e.router)return sd(e);const t=sd({...e,instrumentNavigation:!1}),{router:r,instrumentNavigation:o=!0,instrumentPageLoad:n=!0,routeLabel:i="name"}=e;return{...t,afterAllSetup(s){t.afterAllSetup(s),PC(r,{routeLabel:i,instrumentNavigation:o,instrumentPageLoad:n},c=>{xp(s,c)})}}}const jC={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"}}},HC={admin:"Admin",user:"Bruker"},UC={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"}},zC={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"}},WC={couldNotFindPage:"Kunne ikke finne siden!",home:"Hjem",showItems:"Vis objekter",itemNotFound:"Objektet finnes ikke eller så er den solgt.",otherItems:"Andre objekter"},qC={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"}},VC={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",passwordRequirements:"Minst 8 tegn med store og små bokstaver og tall",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"}},YC={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"}}},GC={about:{},toa:{},employees:"Ansatte i Stadssalg",ourInfoPages:"Våre infosider"},KC={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."},XC={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."}},JC={general:jC,role:HC,app:UC,item:zC,error:WC,items:qC,user:VC,home:YC,info:GC,maintenance:KC,helpCenter:XC},ZC={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"}}},QC={admin:"Admin",user:"User"},ex={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"}},tx={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"}},rx={couldNotFindPage:"Could not find the page!",home:"Home",showItems:"Show items",itemNotFound:"The item does not exist or has been sold.",otherItems:"Other items"},ox={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"}},nx={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",passwordRequirements:"Minimum 8 characters with upper and lowercase letters and numbers",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"}},ix={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"}}},sx={about:{},toa:{},employees:"Stadssalg Employees",ourInfoPages:"Our Info Pages"},ax={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."},cx={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."}},lx={general:ZC,role:QC,app:ex,item:tx,error:rx,items:ox,user:nx,home:ix,info:sx,maintenance:ax,helpCenter:cx},Vs=["no","en"],dx=()=>{const e=window.location.pathname.split("/")[1];if(Vs.includes(e))return e;const t=localStorage.getItem("appLanguage");return t&&Vs.includes(t)?t:"no"},Ap=sg({legacy:!1,locale:dx(),fallbackLocale:"no",messages:{no:JC,en:lx}}),fd=e=>{Vs.includes(e)&&(Ap.global.locale.value=e,localStorage.setItem("appLanguage",e),document.documentElement.lang=e)},ux={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"},Bp=ag(ux),ct=cg(Bp),mP=lg(Bp);function Mp(e,t){return function(){return e.apply(t,arguments)}}const{toString:fx}=Object.prototype,{getPrototypeOf:Ja}=Object,{iterator:Ri,toStringTag:$p}=Symbol,Ii=(e=>t=>{const r=fx.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),yt=e=>(e=e.toLowerCase(),t=>Ii(t)===e),Ai=e=>t=>typeof t===e,{isArray:fo}=Array,eo=Ai("undefined");function tn(e){return e!==null&&!eo(e)&&e.constructor!==null&&!eo(e.constructor)&&Je(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Op=yt("ArrayBuffer");function px(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Op(e.buffer),t}const mx=Ai("string"),Je=Ai("function"),Lp=Ai("number"),rn=e=>e!==null&&typeof e=="object",gx=e=>e===!0||e===!1,Pn=e=>{if(Ii(e)!=="object")return!1;const t=Ja(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!($p in e)&&!(Ri in e)},hx=e=>{if(!rn(e)||tn(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},bx=yt("Date"),yx=yt("File"),vx=yt("Blob"),kx=yt("FileList"),_x=e=>rn(e)&&Je(e.pipe),Sx=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]"))},wx=yt("URLSearchParams"),[Ex,Cx,xx,Tx]=["ReadableStream","Request","Response","Headers"].map(yt),Rx=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 Np(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 mr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Pp=e=>!eo(e)&&e!==mr;function Ys(){const{caseless:e,skipUndefined:t}=Pp(this)&&this||{},r={},o=(n,i)=>{const s=e&&Np(r,i)||i;Pn(r[s])&&Pn(n)?r[s]=Ys(r[s],n):Pn(n)?r[s]=Ys({},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 Ix=(e,t,r,{allOwnKeys:o}={})=>(on(t,(n,i)=>{r&&Je(n)?e[i]=Mp(n,r):e[i]=n},{allOwnKeys:o}),e),Ax=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Bx=(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)},Mx=(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&&Ja(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},$x=(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},Ox=e=>{if(!e)return null;if(fo(e))return e;let t=e.length;if(!Lp(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Lx=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ja(Uint8Array)),Nx=(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])}},Px=(e,t)=>{let r;const o=[];for(;(r=e.exec(t))!==null;)o.push(r);return o},Dx=yt("HTMLFormElement"),Fx=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,o,n){return o.toUpperCase()+n}),pd=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),jx=yt("RegExp"),Dp=(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)},Hx=e=>{Dp(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+"'")})}})},Ux=(e,t)=>{const r={},o=n=>{n.forEach(i=>{r[i]=!0})};return fo(e)?o(e):o(String(e).split(t)),r},zx=()=>{},Wx=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function qx(e){return!!(e&&Je(e.append)&&e[$p]==="FormData"&&e[Ri])}const Vx=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)},Yx=yt("AsyncFunction"),Gx=e=>e&&(rn(e)||Je(e))&&Je(e.then)&&Je(e.catch),Fp=((e,t)=>e?setImmediate:t?((r,o)=>(mr.addEventListener("message",({source:n,data:i})=>{n===mr&&i===r&&o.length&&o.shift()()},!1),n=>{o.push(n),mr.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Je(mr.postMessage)),Kx=typeof queueMicrotask<"u"?queueMicrotask.bind(mr):typeof process<"u"&&process.nextTick||Fp,Xx=e=>e!=null&&Je(e[Ri]),v={isArray:fo,isArrayBuffer:Op,isBuffer:tn,isFormData:Sx,isArrayBufferView:px,isString:mx,isNumber:Lp,isBoolean:gx,isObject:rn,isPlainObject:Pn,isEmptyObject:hx,isReadableStream:Ex,isRequest:Cx,isResponse:xx,isHeaders:Tx,isUndefined:eo,isDate:bx,isFile:yx,isBlob:vx,isRegExp:jx,isFunction:Je,isStream:_x,isURLSearchParams:wx,isTypedArray:Lx,isFileList:kx,forEach:on,merge:Ys,extend:Ix,trim:Rx,stripBOM:Ax,inherits:Bx,toFlatObject:Mx,kindOf:Ii,kindOfTest:yt,endsWith:$x,toArray:Ox,forEachEntry:Nx,matchAll:Px,isHTMLForm:Dx,hasOwnProperty:pd,hasOwnProp:pd,reduceDescriptors:Dp,freezeMethods:Hx,toObjectSet:Ux,toCamelCase:Fx,noop:zx,toFiniteNumber:Wx,findKey:Np,global:mr,isContextDefined:Pp,isSpecCompliantForm:qx,toJSONObject:Vx,isAsyncFn:Yx,isThenable:Gx,setImmediate:Fp,asap:Kx,isIterable:Xx};function X(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)}v.inherits(X,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:v.toJSONObject(this.config),code:this.code,status:this.status}}});const jp=X.prototype,Hp={};["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=>{Hp[e]={value:e}});Object.defineProperties(X,Hp);Object.defineProperty(jp,"isAxiosError",{value:!0});X.from=(e,t,r,o,n,i)=>{const s=Object.create(jp);v.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 X.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 Jx=null;function Gs(e){return v.isPlainObject(e)||v.isArray(e)}function Up(e){return v.endsWith(e,"[]")?e.slice(0,-2):e}function md(e,t,r){return e?e.concat(t).map(function(n,i){return n=Up(n),!r&&i?"["+n+"]":n}).join(r?".":""):t}function Zx(e){return v.isArray(e)&&!e.some(Gs)}const Qx=v.toFlatObject(v,{},null,function(t){return/^is[A-Z]/.test(t)});function Bi(e,t,r){if(!v.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=v.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,h){return!v.isUndefined(h[g])});const o=r.metaTokens,n=r.visitor||d,i=r.dots,s=r.indexes,c=(r.Blob||typeof Blob<"u"&&Blob)&&v.isSpecCompliantForm(t);if(!v.isFunction(n))throw new TypeError("visitor must be a function");function l(f){if(f===null)return"";if(v.isDate(f))return f.toISOString();if(v.isBoolean(f))return f.toString();if(!c&&v.isBlob(f))throw new X("Blob is not supported. Use a Buffer instead.");return v.isArrayBuffer(f)||v.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(v.endsWith(g,"{}"))g=o?g:g.slice(0,-2),f=JSON.stringify(f);else if(v.isArray(f)&&Zx(f)||(v.isFileList(f)||v.endsWith(g,"[]"))&&(b=v.toArray(f)))return g=Up(g),b.forEach(function(k,_){!(v.isUndefined(k)||k===null)&&t.append(s===!0?md([g],_,i):s===null?g:g+"[]",l(k))}),!1}return Gs(f)?!0:(t.append(md(h,g,i),l(f)),!1)}const u=[],m=Object.assign(Qx,{defaultVisitor:d,convertValue:l,isVisitable:Gs});function p(f,g){if(!v.isUndefined(f)){if(u.indexOf(f)!==-1)throw Error("Circular reference detected in "+g.join("."));u.push(f),v.forEach(f,function(b,w){(!(v.isUndefined(b)||b===null)&&n.call(t,b,v.isString(w)?w.trim():w,g,m))===!0&&p(b,g?g.concat(w):[w])}),u.pop()}}if(!v.isObject(e))throw new TypeError("data must be an object");return p(e),t}function gd(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function Za(e,t){this._pairs=[],e&&Bi(e,this,t)}const zp=Za.prototype;zp.append=function(t,r){this._pairs.push([t,r])};zp.toString=function(t){const r=t?function(o){return t.call(this,o,gd)}:gd;return this._pairs.map(function(n){return r(n[0])+"="+r(n[1])},"").join("&")};function eT(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Wp(e,t,r){if(!t)return e;const o=r&&r.encode||eT;v.isFunction(r)&&(r={serialize:r});const n=r&&r.serialize;let i;if(n?i=n(t,r):i=v.isURLSearchParams(t)?t.toString():new Za(t,r).toString(o),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class hd{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){v.forEach(this.handlers,function(o){o!==null&&t(o)})}}const qp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},tT=typeof URLSearchParams<"u"?URLSearchParams:Za,rT=typeof FormData<"u"?FormData:null,oT=typeof Blob<"u"?Blob:null,nT={isBrowser:!0,classes:{URLSearchParams:tT,FormData:rT,Blob:oT},protocols:["http","https","file","blob","url","data"]},Qa=typeof window<"u"&&typeof document<"u",Ks=typeof navigator=="object"&&navigator||void 0,iT=Qa&&(!Ks||["ReactNative","NativeScript","NS"].indexOf(Ks.product)<0),sT=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",aT=Qa&&window.location.href||"http://localhost",cT=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Qa,hasStandardBrowserEnv:iT,hasStandardBrowserWebWorkerEnv:sT,navigator:Ks,origin:aT},Symbol.toStringTag,{value:"Module"})),Ue={...cT,...nT};function lT(e,t){return Bi(e,new Ue.classes.URLSearchParams,{visitor:function(r,o,n,i){return Ue.isNode&&v.isBuffer(r)?(this.append(o,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}function dT(e){return v.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function uT(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 Vp(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&&v.isArray(n)?n.length:s,c?(v.hasOwnProp(n,s)?n[s]=[n[s],o]:n[s]=o,!a):((!n[s]||!v.isObject(n[s]))&&(n[s]=[]),t(r,o,n[s],i)&&v.isArray(n[s])&&(n[s]=uT(n[s])),!a)}if(v.isFormData(e)&&v.isFunction(e.entries)){const r={};return v.forEachEntry(e,(o,n)=>{t(dT(o),n,r,0)}),r}return null}function fT(e,t,r){if(v.isString(e))try{return(t||JSON.parse)(e),v.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(r||JSON.stringify)(e)}const nn={transitional:qp,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const o=r.getContentType()||"",n=o.indexOf("application/json")>-1,i=v.isObject(t);if(i&&v.isHTMLForm(t)&&(t=new FormData(t)),v.isFormData(t))return n?JSON.stringify(Vp(t)):t;if(v.isArrayBuffer(t)||v.isBuffer(t)||v.isStream(t)||v.isFile(t)||v.isBlob(t)||v.isReadableStream(t))return t;if(v.isArrayBufferView(t))return t.buffer;if(v.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 lT(t,this.formSerializer).toString();if((a=v.isFileList(t))||o.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Bi(a?{"files[]":t}:t,c&&new c,this.formSerializer)}}return i||n?(r.setContentType("application/json",!1),fT(t)):t}],transformResponse:[function(t){const r=this.transitional||nn.transitional,o=r&&r.forcedJSONParsing,n=this.responseType==="json";if(v.isResponse(t)||v.isReadableStream(t))return t;if(t&&v.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"?X.from(a,X.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}}};v.forEach(["delete","get","head","post","put","patch"],e=>{nn.headers[e]={}});const pT=v.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"]),mT=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]&&pT[r])&&(r==="set-cookie"?t[r]?t[r].push(o):t[r]=[o]:t[r]=t[r]?t[r]+", "+o:o)}),t},bd=Symbol("internals");function vo(e){return e&&String(e).trim().toLowerCase()}function Dn(e){return e===!1||e==null?e:v.isArray(e)?e.map(Dn):String(e)}function gT(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 hT=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function os(e,t,r,o,n){if(v.isFunction(o))return o.call(this,t,r);if(n&&(t=r),!!v.isString(t)){if(v.isString(o))return t.indexOf(o)!==-1;if(v.isRegExp(o))return o.test(t)}}function bT(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,o)=>r.toUpperCase()+o)}function yT(e,t){const r=v.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=v.findKey(n,d);(!u||n[u]===void 0||l===!0||l===void 0&&n[u]!==!1)&&(n[u||c]=Dn(a))}const s=(a,c)=>v.forEach(a,(l,d)=>i(l,d,c));if(v.isPlainObject(t)||t instanceof this.constructor)s(t,r);else if(v.isString(t)&&(t=t.trim())&&!hT(t))s(mT(t),r);else if(v.isObject(t)&&v.isIterable(t)){let a={},c,l;for(const d of t){if(!v.isArray(d))throw TypeError("Object iterator must return a key-value pair");a[l=d[0]]=(c=a[l])?v.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=v.findKey(this,t);if(o){const n=this[o];if(!r)return n;if(r===!0)return gT(n);if(v.isFunction(r))return r.call(this,n,o);if(v.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=v.findKey(this,t);return!!(o&&this[o]!==void 0&&(!r||os(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=v.findKey(o,s);a&&(!r||os(o,o[a],a,r))&&(delete o[a],n=!0)}}return v.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||os(this,this[i],i,t,!0))&&(delete this[i],n=!0)}return n}normalize(t){const r=this,o={};return v.forEach(this,(n,i)=>{const s=v.findKey(o,i);if(s){r[s]=Dn(n),delete r[i];return}const a=t?bT(i):String(i).trim();a!==i&&delete r[i],r[a]=Dn(n),o[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return v.forEach(this,(o,n)=>{o!=null&&o!==!1&&(r[n]=t&&v.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[bd]=this[bd]={accessors:{}}).accessors,n=this.prototype;function i(s){const a=vo(s);o[a]||(yT(n,s),o[a]=!0)}return v.isArray(t)?t.forEach(i):i(t),this}};Ze.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);v.reduceDescriptors(Ze.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[r]=o}}});v.freezeMethods(Ze);function ns(e,t){const r=this||nn,o=t||r,n=Ze.from(o.headers);let i=o.data;return v.forEach(e,function(a){i=a.call(r,i,n.normalize(),t?t.status:void 0)}),n.normalize(),i}function Yp(e){return!!(e&&e.__CANCEL__)}function po(e,t,r){X.call(this,e??"canceled",X.ERR_CANCELED,t,r),this.name="CanceledError"}v.inherits(po,X,{__CANCEL__:!0});function Gp(e,t,r){const o=r.config.validateStatus;!r.status||!o||o(r.status)?e(r):t(new X("Request failed with status code "+r.status,[X.ERR_BAD_REQUEST,X.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function vT(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function kT(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 _T(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=kT(50,250);return _T(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)},yd=(e,t)=>{const r=e!=null;return[o=>t[0]({lengthComputable:r,total:e,loaded:o}),t[1]]},vd=e=>(...t)=>v.asap(()=>e(...t)),ST=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,wT=Ue.hasStandardBrowserEnv?{write(e,t,r,o,n,i,s){if(typeof document>"u")return;const a=[`${e}=${encodeURIComponent(t)}`];v.isNumber(r)&&a.push(`expires=${new Date(r).toUTCString()}`),v.isString(o)&&a.push(`path=${o}`),v.isString(n)&&a.push(`domain=${n}`),i===!0&&a.push("secure"),v.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 ET(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function CT(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Kp(e,t,r){let o=!ET(t);return e&&(o||r==!1)?CT(e,t):t}const kd=e=>e instanceof Ze?{...e}:e;function Tr(e,t){t=t||{};const r={};function o(l,d,u,m){return v.isPlainObject(l)&&v.isPlainObject(d)?v.merge.call({caseless:m},l,d):v.isPlainObject(d)?v.merge({},d):v.isArray(d)?d.slice():d}function n(l,d,u,m){if(v.isUndefined(d)){if(!v.isUndefined(l))return o(void 0,l,u,m)}else return o(l,d,u,m)}function i(l,d){if(!v.isUndefined(d))return o(void 0,d)}function s(l,d){if(v.isUndefined(d)){if(!v.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(kd(l),kd(d),u,!0)};return v.forEach(Object.keys({...e,...t}),function(d){const u=c[d]||n,m=u(e[d],t[d],d);v.isUndefined(m)&&u!==a||(r[d]=m)}),r}const Xp=e=>{const t=Tr({},e);let{data:r,withXSRFToken:o,xsrfHeaderName:n,xsrfCookieName:i,headers:s,auth:a}=t;if(t.headers=s=Ze.from(s),t.url=Wp(Kp(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),v.isFormData(r)){if(Ue.hasStandardBrowserEnv||Ue.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(v.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&&v.isFunction(o)&&(o=o(t)),o||o!==!1&&ST(t.url))){const c=n&&i&&wT.read(i);c&&s.set(n,c)}return t},xT=typeof XMLHttpRequest<"u",TT=xT&&function(e){return new Promise(function(r,o){const n=Xp(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 k=Ze.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),E={data:!a||a==="text"||a==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:k,config:e,request:h};Gp(function(y){r(y),g()},function(y){o(y),g()},E),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 X("Request aborted",X.ECONNABORTED,e,h)),h=null)},h.onerror=function(_){const E=_&&_.message?_.message:"Network Error",x=new X(E,X.ERR_NETWORK,e,h);x.event=_||null,o(x),h=null},h.ontimeout=function(){let _=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const E=n.transitional||qp;n.timeoutErrorMessage&&(_=n.timeoutErrorMessage),o(new X(_,E.clarifyTimeoutError?X.ETIMEDOUT:X.ECONNABORTED,e,h)),h=null},i===void 0&&s.setContentType(null),"setRequestHeader"in h&&v.forEach(s.toJSON(),function(_,E){h.setRequestHeader(E,_)}),v.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=k=>{h&&(o(!k||k.type?new po(null,e,h):k),h.abort(),h=null)},n.cancelToken&&n.cancelToken.subscribe(d),n.signal&&(n.signal.aborted?d():n.signal.addEventListener("abort",d)));const w=vT(n.url);if(w&&Ue.protocols.indexOf(w)===-1){o(new X("Unsupported protocol "+w+":",X.ERR_BAD_REQUEST,e));return}h.send(i||null)})},RT=(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 X?d:new po(d instanceof Error?d.message:d))}};let s=t&&setTimeout(()=>{s=null,i(new X(`timeout ${t} of ms exceeded`,X.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=()=>v.asap(a),c}},IT=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},AT=async function*(e,t){for await(const r of BT(e))yield*IT(r,t)},BT=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()}},_d=(e,t,r,o)=>{const n=AT(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})},Sd=64*1024,{isFunction:_n}=v,MT=(({Request:e,Response:t})=>({Request:e,Response:t}))(v.global),{ReadableStream:wd,TextEncoder:Ed}=v.global,Cd=(e,...t)=>{try{return!!e(...t)}catch{return!1}},$T=e=>{e=v.merge.call({skipUndefined:!0},MT,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(wd),c=n&&(typeof Ed=="function"?(f=>g=>f.encode(g))(new Ed):async f=>new Uint8Array(await new r(f).arrayBuffer())),l=i&&a&&Cd(()=>{let f=!1;const g=new r(Ue.origin,{body:new wd,method:"POST",get duplex(){return f=!0,"half"}}).headers.has("Content-Type");return f&&!g}),d=s&&a&&Cd(()=>v.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 X(`Response type '${f}' is not supported`,X.ERR_NOT_SUPPORT,h)})});const m=async f=>{if(f==null)return 0;if(v.isBlob(f))return f.size;if(v.isSpecCompliantForm(f))return(await new r(Ue.origin,{method:"POST",body:f}).arrayBuffer()).byteLength;if(v.isArrayBufferView(f)||v.isArrayBuffer(f))return f.byteLength;if(v.isURLSearchParams(f)&&(f=f+""),v.isString(f))return(await c(f)).byteLength},p=async(f,g)=>{const h=v.toFiniteNumber(f.getContentLength());return h??m(g)};return async f=>{let{url:g,method:h,data:b,signal:w,cancelToken:k,timeout:_,onDownloadProgress:E,onUploadProgress:x,responseType:y,headers:A,withCredentials:K="same-origin",fetchOptions:I}=Xp(f),B=t||fetch;y=y?(y+"").toLowerCase():"text";let D=RT([w,k&&k.toAbortSignal()],_),P=null;const L=D&&D.unsubscribe&&(()=>{D.unsubscribe()});let Q;try{if(x&&l&&h!=="get"&&h!=="head"&&(Q=await p(A,b))!==0){let q=new r(g,{method:"POST",body:b,duplex:"half"}),V;if(v.isFormData(b)&&(V=q.headers.get("content-type"))&&A.setContentType(V),q.body){const[ue,xe]=yd(Q,ci(vd(x)));b=_d(q.body,Sd,ue,xe)}}v.isString(K)||(K=K?"include":"omit");const F=i&&"credentials"in r.prototype,U={...I,signal:D,method:h.toUpperCase(),headers:A.normalize().toJSON(),body:b,duplex:"half",credentials:F?K:void 0};P=i&&new r(g,U);let C=await(i?B(P,I):B(g,U));const W=d&&(y==="stream"||y==="response");if(d&&(E||W&&L)){const q={};["status","statusText","headers"].forEach(Ne=>{q[Ne]=C[Ne]});const V=v.toFiniteNumber(C.headers.get("content-length")),[ue,xe]=E&&yd(V,ci(vd(E),!0))||[];C=new o(_d(C.body,Sd,ue,()=>{xe&&xe(),L&&L()}),q)}y=y||"text";let $=await u[v.findKey(u,y)||"text"](C,f);return!W&&L&&L(),await new Promise((q,V)=>{Gp(q,V,{data:$,headers:Ze.from(C.headers),status:C.status,statusText:C.statusText,config:f,request:P})})}catch(F){throw L&&L(),F&&F.name==="TypeError"&&/Load failed|fetch/i.test(F.message)?Object.assign(new X("Network Error",X.ERR_NETWORK,f,P),{cause:F.cause||F}):X.from(F,F&&F.code,f,P)}}},OT=new Map,Jp=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=OT;for(;a--;)c=i[a],l=d.get(c),l===void 0&&d.set(c,l=a?new Map:$T(t)),d=l;return l};Jp();const ec={http:Jx,xhr:TT,fetch:{get:Jp}};v.forEach(ec,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const xd=e=>`- ${e}`,LT=e=>v.isFunction(e)||e===null||e===!1;function NT(e,t){e=v.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,!LT(o)&&(n=ec[(a=String(o)).toLowerCase()],n===void 0))throw new X(`Unknown adapter '${a}'`);if(n&&(v.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(xd).join(`
`):" "+xd(s[0]):"as no adapter specified";throw new X("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return n}const Zp={getAdapter:NT,adapters:ec};function is(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new po(null,e)}function Td(e){return is(e),e.headers=Ze.from(e.headers),e.data=ns.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Zp.getAdapter(e.adapter||nn.adapter,e)(e).then(function(o){return is(e),o.data=ns.call(e,e.transformResponse,o),o.headers=Ze.from(o.headers),o},function(o){return Yp(o)||(is(e),o&&o.response&&(o.response.data=ns.call(e,e.transformResponse,o.response),o.response.headers=Ze.from(o.response.headers))),Promise.reject(o)})}const Qp="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 Rd={};Mi.transitional=function(t,r,o){function n(i,s){return"[Axios v"+Qp+"] Transitional option '"+i+"'"+s+(o?". "+o:"")}return(i,s,a)=>{if(t===!1)throw new X(n(s," has been removed"+(r?" in "+r:"")),X.ERR_DEPRECATED);return r&&!Rd[s]&&(Rd[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 PT(e,t,r){if(typeof e!="object")throw new X("options must be an object",X.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 X("option "+i+" must be "+c,X.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new X("Unknown option "+i,X.ERR_BAD_OPTION)}}const Fn={assertOptions:PT,validators:Mi},kt=Fn.validators;let vr=class{constructor(t){this.defaults=t||{},this.interceptors={request:new hd,response:new hd}}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=Tr(this.defaults,r);const{transitional:o,paramsSerializer:n,headers:i}=r;o!==void 0&&Fn.assertOptions(o,{silentJSONParsing:kt.transitional(kt.boolean),forcedJSONParsing:kt.transitional(kt.boolean),clarifyTimeoutError:kt.transitional(kt.boolean)},!1),n!=null&&(v.isFunction(n)?r.paramsSerializer={serialize:n}:Fn.assertOptions(n,{encode:kt.function,serialize:kt.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Fn.assertOptions(r,{baseUrl:kt.spelling("baseURL"),withXsrfToken:kt.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let s=i&&v.merge(i.common,i[r.method]);i&&v.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=[Td.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=Td.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=Tr(this.defaults,t);const r=Kp(t.baseURL,t.url,t.allowAbsoluteUrls);return Wp(r,t.params,t.paramsSerializer)}};v.forEach(["delete","get","head","options"],function(t){vr.prototype[t]=function(r,o){return this.request(Tr(o||{},{method:t,url:r,data:(o||{}).data}))}});v.forEach(["post","put","patch"],function(t){function r(o){return function(i,s,a){return this.request(Tr(a||{},{method:t,headers:o?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}vr.prototype[t]=r(),vr.prototype[t+"Form"]=r(!0)});let DT=class em{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 em(function(n){t=n}),cancel:t}}};function FT(e){return function(r){return e.apply(null,r)}}function jT(e){return v.isObject(e)&&e.isAxiosError===!0}const Xs={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(Xs).forEach(([e,t])=>{Xs[t]=e});function tm(e){const t=new vr(e),r=Mp(vr.prototype.request,t);return v.extend(r,vr.prototype,t,{allOwnKeys:!0}),v.extend(r,t,null,{allOwnKeys:!0}),r.create=function(n){return tm(Tr(e,n))},r}const Ae=tm(nn);Ae.Axios=vr;Ae.CanceledError=po;Ae.CancelToken=DT;Ae.isCancel=Yp;Ae.VERSION=Qp;Ae.toFormData=Bi;Ae.AxiosError=X;Ae.Cancel=Ae.CanceledError;Ae.all=function(t){return Promise.all(t)};Ae.spread=FT;Ae.isAxiosError=jT;Ae.mergeConfig=Tr;Ae.AxiosHeaders=Ze;Ae.formToJSON=e=>Vp(v.isHTMLForm(e)?new FormData(e):e);Ae.getAdapter=Zp.getAdapter;Ae.HttpStatusCode=Xs;Ae.default=Ae;const{Axios:bP,AxiosError:yP,CanceledError:vP,isCancel:kP,CancelToken:_P,VERSION:SP,all:wP,Cancel:EP,isAxiosError:CP,spread:xP,toFormData:TP,AxiosHeaders:RP,HttpStatusCode:IP,formToJSON:AP,getAdapter:BP,mergeConfig:MP}=Ae,lr=Ae.create({baseURL:"https://api.stadssalg.no"});lr.interceptors.request.use(async e=>{const t=ct.currentUser?await ct.currentUser.getIdToken():null;return t&&(e.headers.Authorization=`Bearer ${t}`),e},e=>Promise.reject(e));const HT=336*60*60*1e3,tc="session_last_activity",rc="session_start_time";function UT(){const e=Date.now();localStorage.setItem(tc,e.toString())}function Id(){const e=Date.now();localStorage.setItem(rc,e.toString()),localStorage.setItem(tc,e.toString())}function Js(){localStorage.removeItem(tc),localStorage.removeItem(rc)}function rm(){const e=localStorage.getItem(rc);if(!e)return!1;const t=parseInt(e,10);return Date.now()-t>HT}async function om(){Js();try{await Cn(ct)}catch{}sn.push({path:"/login",query:{error:"Sesjonen din har utløpt. Vennligst logg inn på nytt."}})}function zT(){["mousedown","keydown","touchstart","scroll"].forEach(t=>{document.addEventListener(t,UT,{passive:!0})}),setInterval(()=>{ct.currentUser&&rm()&&om()},6e4)}const oc=Km("auth",()=>{const e=ot(null),t=ot(null),r=ot(null),o=ot(!1),n=ot(!1),i=ot("init"),s=ot(null),a=ot(!1),c=ot(!1),l=ur(()=>!!e.value);async function d(k,_){try{const E=await dg(ct,k,_);return await ug(E.user),E}catch(E){throw r.value=E.message,E}}async function u(k,_){i.value="loggingIn";try{const E=await fg(ct,k,_),x=await lr.get("/profile",{params:{userId:E.user.uid}});if(x?.data?.denied){await Cn(ct);const I=new Error("Your account has been suspended");throw I.code="auth/denied",I}const y=(await E.user.getIdTokenResult(!0)).claims,K=$i(E.user).enrolledFactors.length>0;return c.value=y.mfaRequired||!1,a.value=c.value&&!K,e.value=E.user,t.value=x?.data,t.value&&(t.value.subscriptions={}),i.value="loggedIn",Id(),E}catch(E){if(E.code==="auth/multi-factor-auth-required"){const x=pg(ct,E);return s.value=x,i.value="mfaRequired",{mfaRequired:!0,resolver:x}}throw r.value=E.message,i.value="loggedOut",E}}async function m(k){if(!s.value)throw new Error("Ingen MFA-resolver funnet");const _=s.value.hints.find(A=>A.factorId===wc.FACTOR_ID);if(!_)throw new Error("Ingen TOTP-faktor funnet");const E=wc.assertionForSignIn(_.uid,k),x=await s.value.resolveSignIn(E),y=await lr.get("/profile",{params:{userId:x.user.uid}});return e.value=x.user,t.value=y?.data,t.value&&(t.value.subscriptions={}),i.value="loggedIn",s.value=null,Id(),x}async function p(k){try{await mg(ct,k)}catch(_){throw r.value=_.message,_}}async function f(){try{await Cn(ct),e.value=null,t.value=null,o.value=!1,i.value="loggedOut",s.value=null,a.value=!1,c.value=!1,Js()}catch(k){r.value=k.message}}function g(){s.value=null,i.value="loggedOut"}async function h(k,_){try{const E=Ec.credential(e.value.email,k);await Cc(e.value,E),await gg(e.value,_)}catch(E){throw r.value=E.message,E}}async function b(k,_){try{const E=Ec.credential(e.value.email,k);await Cc(e.value,E),await hg(e.value,_)}catch(E){throw r.value=E.message,E}}function w(){const k=setTimeout(()=>{i.value="loggedOut"},4e3);i.value="loggingIn",bg(ct,async _=>{if(clearTimeout(k),_){if(rm()){await om();return}try{const E=(await _.getIdTokenResult()).claims,x=(await lr.get("/profile",{params:{userId:_.uid}})).data;if(x.denied){await Cn(ct);return}n.value&&(await lr.post("/profile/verify",{}),n.value=!1),e.value=_,t.value=x,t.value&&(t.value.subscriptions={}),r.value=null,o.value=E.role==="admin";const A=$i(_).enrolledFactors.length>0;c.value=E.mfaRequired||!1,a.value=c.value&&!A,i.value="loggedIn"}catch{await new Promise(x=>setTimeout(x,5e3));try{const x=(await _.getIdTokenResult()).claims,y=(await lr.get("/profile",{params:{userId:_.uid}})).data;n.value&&(await lr.post("/profile/verify",{}),n.value=!1),e.value=_,t.value=y,t.value&&(t.value.subscriptions={}),r.value=null,o.value=x.role==="admin";const K=$i(_).enrolledFactors.length>0;c.value=x.mfaRequired||!1,a.value=c.value&&!K,i.value="loggedIn"}catch{i.value="loggedOut"}}}else e.value=null,t.value=null,r.value=null,o.value=!1,i.value="loggedOut",Js()})}return{user:e,userDocument:t,error:r,isUserAdmin:o,isVerifying:n,loginStatus:i,isUserAuth:l,mfaResolver:s,mfaPendingEnrollment:a,mfaRequired:c,signUpAction:d,signInAction:u,completeMfaSignIn:m,cancelMfaSignIn:g,forgotPasswordAction:p,signOutAction:f,changePassword:h,updateEmail:b,authAction:w}}),Sn="Stadssalg AS - ",WT=[{path:"/error",name:"Error",component:()=>ke(()=>import("./ErrorPage-CqVX1TXg.js"),__vite__mapDeps([0,1,2,3,4,5]))},{path:"/financing/:item?",name:"Financing",component:()=>ke(()=>import("./Index-BueGmMPB.js"),__vite__mapDeps([6,2,7,5,3,1,4,8])),meta:{title:"Finansering og forsikring"}},{path:"/ghg",name:"Climate",component:()=>ke(()=>import("./GHG-B9Ea7cqe.js"),__vite__mapDeps([9,2,3,4,1,5])),meta:{title:"Klima og miljø"}},{path:"/",name:"Home",component:()=>ke(()=>import("./Index-DPZ8dw7q.js"),__vite__mapDeps([10,1,2,7,5,3,11,4,12,13,14])),meta:{title:"Stadssalg AS"}},{path:"/items",name:"Items",component:()=>ke(()=>import("./Index-BMU2I0ge.js"),__vite__mapDeps([15,1,2,7,5,3,11,12,13,4,16])),meta:{title:Sn+"Auksjoner"}},{path:"/items/:item",name:"Item",component:()=>ke(()=>import("./Item-B3XPgzRm.js"),__vite__mapDeps([17,1,2,7,5,3,11,4,18])),meta:{title:Sn+"Objekt"}},{path:"/item/:item",name:"ItemDetail",component:()=>ke(()=>import("./Item-B3XPgzRm.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:()=>ke(()=>import("./Index-BwU732RH.js"),__vite__mapDeps([19,2,3,4,1,5]))},{path:"/en/:pathMatch(.*)*",redirect:e=>(fd("en"),`/${e.params.pathMatch?.join("/")||""}`)},{path:"/no/:pathMatch(.*)*",redirect:e=>(fd("no"),`/${e.params.pathMatch?.join("/")||""}`)},{path:"/loginWithToken/:token",name:"LoginToken",component:()=>ke(()=>import("./LoginWithToken-x4ULDiT3.js"),__vite__mapDeps([20,2,4,3,1,5]))},{path:"/login",name:"Login",component:()=>ke(()=>import("./Index-xPKfaRu-.js"),__vite__mapDeps([21,1,2,7,5,3,22,23,4,24])),meta:{disableIfLoggedIn:!0}},{path:"/register",name:"Register",component:()=>ke(()=>import("./Register-DsZ7rraJ.js"),__vite__mapDeps([25,2,7,5,3,1,4])),meta:{disableIfLoggedIn:!0}},{path:"/register/private",name:"RegisterPrivate",props:!0,component:()=>ke(()=>import("./Form-CHDl40nY.js"),__vite__mapDeps([26,2,7,5,3,22,1,4])),meta:{disableIfLoggedIn:!0}},{path:"/register/company",name:"RegisterCompany",props:!0,component:()=>ke(()=>import("./Form-CHDl40nY.js"),__vite__mapDeps([26,2,7,5,3,22,1,4])),meta:{disableIfLoggedIn:!0}},{path:"/profile",name:"Profile",component:()=>ke(()=>import("./Index-xPKfaRu-.js"),__vite__mapDeps([21,1,2,7,5,3,22,23,4,24])),meta:{requiresAuth:!0}},{path:"/profile/favorites",name:"MyFavorites",component:()=>ke(()=>import("./MyFavorites-Hs_Lr5YY.js"),__vite__mapDeps([27,7,5,3,2,1,4])),meta:{requiresAuth:!0}},{path:"/profile/bids",name:"MyBids",component:()=>ke(()=>import("./MyBids-B5IRQPB3.js"),__vite__mapDeps([28,2,7,5,3,1,4,29])),meta:{requiresAuth:!0}},{path:"/profile/settings",name:"MySettings",component:()=>ke(()=>import("./MySettings-D3r-yckD.js"),__vite__mapDeps([30,1,2,4,31,5,32,3,33])),meta:{requiresAuth:!0}},{path:"/profile/companies/new",name:"NewCompany",component:()=>ke(()=>import("./EditCompany-CxfitXhN.js"),__vite__mapDeps([34,2,7,5,3,1,4])),meta:{requiresAuth:!0}},{path:"/profile/companies/:companyId",name:"EditCompany",component:()=>ke(()=>import("./EditCompany-CxfitXhN.js"),__vite__mapDeps([34,2,7,5,3,1,4])),meta:{requiresAuth:!0}},{path:"/profile/saved-searches",name:"MyFilters",component:()=>ke(()=>import("./MyFilters-CUSvjpdL.js"),__vite__mapDeps([35,1,2,7,5,3,4])),meta:{requiresAuth:!0}},{path:"/profile/mgmt",alias:"/profil/mgmt",name:"ProfileMgmt",component:()=>ke(()=>import("./CustomEmailHandler-B_RfuFsm.js"),__vite__mapDeps([36,2,4,1,23,3,5])),meta:{requiresAuth:!1}},{path:"/two-factor-setup",name:"TwoFactorSetup",component:()=>ke(()=>import("./TwoFactorSetupPage-Bwd7nzE1.js"),__vite__mapDeps([37,2,31,1,4,5,32,3])),meta:{requiresAuth:!0,isMfaSetup:!0}},{path:"/404",name:"NotFound",component:()=>ke(()=>import("./404-D0boJILg.js"),__vite__mapDeps([38,1,2,3,4,5]))},{path:"/:catchAll(.*)",redirect:"/error"}],sn=Xm({history:Jm("/"),scrollBehavior(e,t,r){return r?{...r,behavior:"smooth"}:{top:0,behavior:"smooth"}},routes:WT});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 qT(e){return new Promise(t=>{const r=["loggedIn","loggedOut"];if(r.includes(e.loginStatus)){t(e.loginStatus);return}const o=Zm(()=>e.loginStatus,n=>{r.includes(n)&&(o(),t(n))})})}sn.beforeEach(async(e,t)=>{document.title=e.meta.title||"Stadssalg";const r=oc(),o=e.matched.some(s=>s.meta.requiresAuth),n=e.matched.some(s=>s.meta.disableIfLoggedIn),i=e.matched.some(s=>s.meta.isMfaSetup);return r.loginStatus==="loggedIn"&&r.mfaPendingEnrollment&&!i?{name:"TwoFactorSetup"}:o||n?(await qT(r),r.loginStatus==="loggedIn"&&r.mfaPendingEnrollment&&!i?{name:"TwoFactorSetup"}:VT(e,r,o,n)):!0});function VT(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 nm="opt-in",ko="opt-out",nc="show--consent",ic="show--preferences",Zs="disable--interaction",li="data-category",ae="div",ht="button",bt="aria-hidden",To="btn-group",He="click",zr="data-role",sc="consentModal",ac="preferencesModal";let im=class{constructor(){this.t={mode:nm,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 S=new im,sm=(e,t)=>e.indexOf(t),le=(e,t)=>sm(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),cc=e=>Array.from(new Set(e)),ui=()=>document.activeElement,Hr=e=>e.preventDefault(),lc=(e,t)=>e.querySelectorAll(t),wn=e=>e.dispatchEvent(new Event("change")),O=e=>{const t=document.createElement(e);return e===ht&&(t.type=e),t},z=(e,t,r)=>e.setAttribute(t,r),ss=(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},YT=()=>{const e={},{O:t,X:r,Y:o}=S.o;for(const n of t)e[n]=Hn(o[n],wt(r[n]));return e},Ad=(e,t)=>dispatchEvent(new CustomEvent(e,{detail:t})),Ee=(e,t,r,o)=>{e.addEventListener(t,r),o&&S.o.m.push({pe:e,ge:t,me:r})},Bd=()=>{const e=S.t.cookie.expiresAfterDays;return _t(e)?e(S.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))))},am=e=>{S.o.R=cc(e),S.o.F=(()=>{let t="custom";const{R:r,O:o,B:n}=S.o,i=r.length;return i===o.length?t="all":i===n.length&&(t="necessary"),t})()},cm=(e,t,r,o)=>{const n="accept-",{show:i,showPreferences:s,hide:a,hidePreferences:c,acceptCategory:l}=t,d=e||document,u=k=>lc(d,`[data-cc="${k}"]`),m=(k,_)=>{Hr(k),l(_),c(),a()},p=u("show-preferencesModal"),f=u("show-consentModal"),g=u(n+"all"),h=u(n+"necessary"),b=u(n+"custom"),w=S.t.lazyHtmlGeneration;for(const k of p)z(k,"aria-haspopup","dialog"),Ee(k,He,(_=>{Hr(_),s()})),w&&(Ee(k,"mouseenter",(_=>{Hr(_),S.o.N||r(t,o)}),!0),Ee(k,"focus",(()=>{S.o.N||r(t,o)})));for(let k of f)z(k,"aria-haspopup","dialog"),Ee(k,He,(_=>{Hr(_),i(!0)}),!0);for(let k of g)Ee(k,He,(_=>{m(_,"all")}),!0);for(let k of b)Ee(k,He,(_=>{m(_)}),!0);for(let k of h)Ee(k,He,(_=>{m(_,[])}),!0)},Et=(e,t)=>{e&&(t&&(e.tabIndex=-1),e.focus(),t&&e.removeAttribute("tabindex"))},lm=(e,t)=>{const r=o=>{o.target.removeEventListener("transitionend",r),o.propertyName==="opacity"&&getComputedStyle(e).opacity==="1"&&Et((n=>n===1?S.ne.be:S.ne.ve)(t))};Ee(e,"transitionend",r)};let Md;const dm=e=>{clearTimeout(Md),e?be(S.ne.ye,Zs):Md=setTimeout((()=>{Zt(S.ne.ye,Zs)}),500)},GT=["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 "],Po=(e=0,t=1.5)=>`<svg viewBox="0 0 24 24" stroke-width="${t}"><path d="${GT[e]}"/></svg>`,um=e=>{const t=S.ne,r=S.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)},KT=["[href]",ht,"input","details","[tabindex]"].map((e=>e+':not([tabindex="-1"])')).join(","),fm=e=>{const{o:t,ne:r}=S,o=(n,i)=>{const s=lc(n,KT);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}=S.ce,l=S.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)),Ad(e,u)}const d={cookie:S.o.p};e===l.ie?_t(i)&&i(Mt(d)):e===l.le?_t(n)&&n(Mt(d)):(d.changedCategories=S.o.L,d.changedServices=S.o.ee,_t(o)&&o(Mt(d))),Ad(e,Mt(d))},Do=(e,t)=>{try{return e()}catch(r){return!t&&console.warn("CookieConsent:",r),!1}},Qs=e=>{const{Y:t,ee:r,O:o,X:n,oe:i,p:s,L:a}=S.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(!S.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),w=!!h&&le(t[g],h);if(!h&&!p.ke&&b||!h&&p.ke&&!b&&le(a,g)||h&&!p.ke&&w||h&&p.ke&&!w&&le(r[g]||[],h)){p.xe=!0;const k=jn(f,"type",!0);ss(f,"type",!!k),ss(f,li);let _=jn(f,"src",!0);_&&ss(f,"src",!0);const E=O("script");E.textContent=f.innerHTML;for(const{nodeName:y}of f.attributes)z(E,y,f[y]||jn(f,y));k&&(E.type=k),_?E.src=_:_=f.src;const x=!!_&&(!k||["text/javascript","module"].includes(k));if(x&&(E.onload=E.onerror=()=>{d(u,++m)}),f.replaceWith(E),x)return}d(u,++m)};d(c,0)},Un="bottom",ea="left",pm="center",dc="right",as="inline",mm="wide",gm="pm--",cs=["middle","top",Un],$d=[ea,pm,dc],XT={box:{Ee:[mm,as],Ae:cs,Ne:$d,He:Un,Ve:dc},cloud:{Ee:[as],Ae:cs,Ne:$d,He:Un,Ve:pm},bar:{Ee:[as],Ae:cs.slice(1),Ne:[],He:Un,Ve:""}},JT={box:{Ee:[],Ae:[],Ne:[],He:"",Ve:""},bar:{Ee:[mm],Ae:[],Ne:[ea,dc],He:"",Ve:ea}},hm=e=>{const t=S.o.i.guiOptions,r=t&&t.consentModal,o=t&&t.preferencesModal;e===0&&Od(S.ne.he,XT,r,"cm--","box","cm"),e===1&&Od(S.ne.we,JT,o,gm,"box","pm")},Od=(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],w=o===gm?h[0]:h[1],k=le(f.Ae,b)?b:f.He,_=le(f.Ne,w)?w:f.Ve,E=y=>{y&&be(e,o+y)};E(p),E(g),E(k),E(_),c&&E("flip");const x=i+"__btn--secondary";if(i==="cm"){const{Ie:y,Le:A}=S.ne;y&&(l?Zt(y,x):be(y,x)),A&&(l?Zt(A,x):be(A,x))}else{const{je:y}=S.ne;y&&(l?Zt(y,x):be(y,x))}},to=(e,t)=>{const r=S.o,o=S.ne,{hide:n,hidePreferences:i,acceptCategory:s}=e,a=_=>{s(_),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 _=O("div");be(_,"pm-overlay"),M(o.Fe,_),Ee(_,He,i),o.we=O(ae),be(o.we,"pm"),z(o.we,"role","dialog"),z(o.we,bt,!0),z(o.we,"aria-modal",!0),z(o.we,"aria-labelledby","pm__title"),Ee(o.ye,"keydown",(E=>{E.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(ht),ie(o.Be,"close-btn"),z(o.Be,"aria-label",c.closeIconLabel||""),Ee(o.Be,He,i),o.$e=O("span"),o.$e.innerHTML=Po(),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),w=O(ae);ie(b,To),ie(w,To),M(o.Je,b),M(o.Je,w),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 k;l&&(o.Re.innerHTML=l,d&&z(o.Be,"aria-label",d)),f.forEach(((_,E)=>{const x=_.title,y=_.description,A=_.linkedCategory,K=A&&r.P[A],I=_.cookieTable,B=I&&I.body,D=I&&I.caption,P=B&&B.length>0,L=!!K,Q=L&&r.X[A],F=di(Q)&&wt(Q)||[],U=L&&(!!y||!!P||wt(Q).length>0);var C=O(ae);if(ie(C,"section"),U||y){var W=O(ae);ie(W,"section-desc-wrapper")}let $=F.length;if(U&&$>0){const Se=O(ae);ie(Se,"section-services");for(const we of F){const pe=Q[we],$e=pe&&pe.label||we,rt=O(ae),vt=O(ae),ar=O(ae),Wt=O(ae);ie(rt,"service"),ie(Wt,"service-title"),ie(vt,"service-header"),ie(ar,"service-icon");const Pe=Ld($e,we,K,!0,A);Wt.innerHTML=$e,M(vt,ar),M(vt,Wt),M(rt,vt),M(rt,Pe),M(Se,rt)}M(W,Se)}if(x){var q=O(ae),V=O(L?ht:ae);if(ie(q,"section-title-wrapper"),ie(V,"section-title"),V.innerHTML=x,M(q,V),L){const Se=O("span");Se.innerHTML=Po(2,3.5),ie(Se,"section-arrow"),M(q,Se),C.className+="--toggle";const we=Ld(x,A,K);let pe=c.serviceCounterLabel;if($>0&&Ut(pe)){let $e=O("span");ie($e,"badge"),ie($e,"service-counter"),z($e,bt,!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(C,"section--expandable");var ue=A+"-desc";z(V,"aria-expanded",!1),z(V,"aria-controls",ue)}M(q,we)}else z(V,"role","heading"),z(V,"aria-level","3");M(C,q)}if(y){var xe=O("p");ie(xe,"section-desc"),xe.innerHTML=y,M(W,xe)}if(U&&(z(W,bt,"true"),W.id=ue,((Se,we,pe)=>{Ee(V,He,(()=>{we.classList.contains("is-expanded")?(Zt(we,"is-expanded"),z(pe,"aria-expanded","false"),z(Se,bt,"true")):(be(we,"is-expanded"),z(pe,"aria-expanded","true"),z(Se,bt,"false"))}))})(W,C,V),P)){const Se=O("table"),we=O("thead"),pe=O("tbody");if(D){const Pe=O("caption");ie(Pe,"table-caption"),Pe.innerHTML=D,Se.appendChild(Pe)}ie(Se,"section-table"),ie(we,"table-head"),ie(pe,"table-body");const $e=I.headers,rt=wt($e),vt=o.Ue.createDocumentFragment(),ar=O("tr");for(const Pe of rt){const Ve=$e[Pe],st=O("th");st.id="cc__row-"+Ve+E,z(st,"scope","col"),ie(st,"table-th"),st.innerHTML=Ve,M(vt,st)}M(ar,vt),M(we,ar);const Wt=o.Ue.createDocumentFragment();for(const Pe of B){const Ve=O("tr");ie(Ve,"table-tr");for(const st of rt){const Ar=$e[st],Br=Pe[st],It=O("td"),ne=O(ae);ie(It,"table-td"),z(It,"data-column",Ar),z(It,"headers","cc__row-"+Ar+E),ne.insertAdjacentHTML("beforeend",Br),M(It,ne),M(Ve,It)}M(Wt,Ve)}M(pe,Wt),M(Se,we),M(Se,pe),M(W,Se)}(U||y)&&M(C,W);const Ne=o.Pe||o.Ge;L?(k||(k=O(ae),ie(k,"section-toggles")),k.appendChild(C)):k=null,M(Ne,k||C)})),u&&(o.ze||(o.ze=O(ht),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(ht),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(ht),ie(o.qe,"btn"),ie(o.qe,"btn--secondary"),z(o.qe,zr,"save"),M(w,o.qe),Ee(o.qe,He,(()=>a()))),o.qe.innerHTML=p),o.Pe&&(o.we.replaceChild(o.Pe,o.Ge),o.Ge=o.Pe),hm(1),r.N||(r.N=!0,Ct(S.re.ue,ac,o.we),t(e),M(o.Ce,o.Fe),um(o.we),setTimeout((()=>be(o.Fe,"cc--anim")),100)),fm(2)};function Ld(e,t,r,o,n){const i=S.o,s=S.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=Po(1,3),p.innerHTML=Po(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,bt,"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 w=g[b];w.checked&&i.Z[f].push(w.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 ls=()=>{const e=O("span");return S.ne.Ke||(S.ne.Ke=e),e},uc=(e,t)=>{const r=S.o,o=S.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,bt,"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",w=r.i.guiOptions,k=w&&w.consentModal,_=(k&&k.layout||b).split(" ")[0]===b;f&&u&&_&&(o.Le||(o.Le=O(ht),o.Le.innerHTML=Po(),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(ht),M(o.tt,ls()),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(ht),M(o.Ie,ls()),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(ht),M(o.ot,ls()),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),w=O(ae);o.ct=O(ae),ze(b,"footer"),ze(w,"links"),ze(o.ct,"link-group"),M(w,o.ct),M(b,w),M(o.he,b)}o.ct.innerHTML=m}hm(0),r.T||(r.T=!0,Ct(S.re.ue,sc,o.he),t(e),M(o.Ce,o.Qe),um(o.he),setTimeout((()=>be(o.Qe,"cc--anim")),100)),fm(1),cm(o.We,e,to,t)},fc=e=>{if(!Ut(e))return null;if(e in S.o._)return e;let t=e.slice(0,2);return t in S.o._?t:null},pc=()=>S.o.l||S.o.i.language.default,mc=e=>{e&&(S.o.l=e)},bm=async e=>{const t=S.o;let r=fc(e)?e:pc(),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,mc(r),!0},ym=()=>{let e=S.o.i.language.rtl,t=S.ne.Ce;e&&t&&(mo(e)||(e=[e]),le(e,S.o.l)?be(t,"cc--rtl"):Zt(t,"cc--rtl"))},kr=()=>{const e=S.ne;if(e.Ce)return;e.Ce=O(ae),e.Ce.id="cc-main",e.Ce.setAttribute("data-nosnippet",""),ym();let t=S.o.i.root;t&&Ut(t)&&(t=document.querySelector(t)),(t||e.Ue.body).appendChild(e.Ce)},vm=e=>Do((()=>localStorage.removeItem(e))),Nd=(e,t)=>{if(t instanceof RegExp)return e.filter((r=>t.test(r)));{const r=sm(e,t);return r>-1?[e[r]]:[]}},km=e=>{const{hostname:t,protocol:r}=location,{name:o,path:n,domain:i,sameSite:s,useLocalStorage:a,secure:c}=S.t.cookie,l=e?(()=>{const p=S.o.S,f=p?new Date-p:0;return 864e5*Bd()-f})():864e5*Bd(),d=new Date;d.setTime(d.getTime()+l),S.o.p.expirationTime=d.getTime();const u=JSON.stringify(S.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)=>{Do((()=>localStorage.setItem(p,f)))})(o,u):document.cookie=m,S.o.p},ta=(e,t,r)=>{if(e.length===0)return;const o=r||S.t.cookie.domain,n=t||S.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)},_m=e=>{const t=e||S.t.cookie.name,r=S.t.cookie.useLocalStorage;return((n,i)=>{let s;return s=Do((()=>JSON.parse(i?n:decodeURIComponent(n))),!0)||{},s})(r?(o=t,Do((()=>localStorage.getItem(o)))||""):gc(t,!0),r);var o},gc=(e,t)=>{const r=document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)");return r?t?r.pop():e:""},Sm=e=>{const t=document.cookie.split(/;\s*/),r=[];for(const o of t){let n=o.split("=")[0];e?Do((()=>{e.test(n)&&r.push(n)})):r.push(n)}return r},hc=(e,t=[])=>{((r,o)=>{const{O:n,R:i,B:s,N:a,Z:c,$:l,X:d}=S.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=S.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),am(u)})(e,t),(()=>{const r=S.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]=cc(i[l])}}})(),(()=>{const r=S.o;r.L=S.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=S.ne.ae;for(const c in i)i[c].checked=le(r.R,c);for(const c of r.O){const l=S.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:S.t.revision,data:r.h,consentTimestamp:r.C.toISOString(),consentId:r.M,services:Mt(r.Y),languageCode:S.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(),km(),S.t.autoClearCookies&&(s||a)&&(c=>{const l=S.o,d=Sm(),u=(m=>{const p=S.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=Nd(d,g.name);ta(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 w of f){const k=Nd(d,w.name);ta(k,w.path,w.domain)}}}})(s),Qs()),s&&(Ct(S.re.ie),Ct(S.re.le),S.t.mode===nm)||(a&&Ct(S.re.de),r.j&&(r.j=!1,location.reload()))})()},wm=e=>{const t=S.o.D?[]:S.o.R;return le(t,e)},ZT=(e,t)=>{const{O:r,X:o}=S.o;if(!(e&&t&&Ut(t)&&le(r,t)&&wt(o[t]).length!==0))return!1;((n,i)=>{const s=S.o,{X:a,Z:c,N:l}=s,d=S.ne.se[i]||{},u=S.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)):cc([...s.R,i]),l&&(u.checked=!p,wn(u))})(e,t),hc()},Em=(e,t)=>{const r=S.o.D?[]:S.o.Y[t]||[];return le(r,e)},QT=e=>gc(e,!0)!=="",Cm=(e,t,r)=>{let o=[];const n=i=>{if(Ut(i)){let s=gc(i);s!==""&&o.push(s)}else o.push(...Sm(i))};if(mo(e))for(let i of e)n(i);else n(e);ta(o,t,r)},bc=e=>{const{ne:t,o:r}=S;if(!r.k){if(!r.T){if(!e)return;uc(Fo,kr)}r.k=!0,r.J=ui(),r.v&&dm(!0),lm(t.he,1),be(t.ye,nc),z(t.he,bt,"false"),setTimeout((()=>{Et(S.ne.be)}),100),Ct(S.re.fe,sc)}},xm=()=>{const{ne:e,o:t,re:r}=S;t.k&&(t.k=!1,t.v&&dm(),Et(e.Ke,!0),Zt(e.ye,nc),z(e.he,bt,"true"),Et(t.J),t.J=null,Ct(r._e,sc))},Tm=()=>{const e=S.o;e.A||(e.N||to(Fo,kr),e.A=!0,e.k?e.U=ui():e.J=ui(),lm(S.ne.we,2),be(S.ne.ye,ic),z(S.ne.we,bt,"false"),setTimeout((()=>{Et(S.ne.ve)}),100),Ct(S.re.fe,ac))},Rm=()=>{const e=S.o;e.A&&(e.A=!1,(()=>{const t=yc(),r=S.o.P,o=S.ne.ae,n=S.ne.se,i=s=>le(S.o.$,s);for(const s in o){const a=!!r[s].readOnly;o[s].checked=a||(t?wm(s):i(s));for(const c in n[s])n[s][c].checked=a||(t?Em(c,s):i(s))}})(),Et(S.ne.$e,!0),Zt(S.ne.ye,ic),z(S.ne.we,bt,"true"),e.k?(Et(e.U),e.U=null):(Et(e.J),e.J=null),Ct(S.re._e,ac))};var Fo={show:bc,hide:xm,showPreferences:Tm,hidePreferences:Rm,acceptCategory:hc};const e1=async(e,t)=>{if(!fc(e))return!1;const r=S.o;return!(e===pc()&&t!==!0||!await bm(e)||(mc(e),r.T&&uc(Fo,kr),r.N&&to(Fo,kr),ym(),0))},t1=()=>{const{F:e,Y:t}=S.o,{accepted:r,rejected:o}=(()=>{const{D:n,R:i,O:s}=S.o;return{accepted:i,rejected:n?[]:s.filter((a=>!le(i,a)))}})();return Mt({acceptType:e,acceptedCategories:r,rejectedCategories:o,acceptedServices:t,rejectedServices:YT()})},r1=(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)}))},o1=e=>{let t,r=e.value,o=e.mode,n=!1;const i=S.o;if(o==="update"){i.h=t=Im("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,km(!0)),n},Im=(e,t)=>{const r=_m(t);return e?r[e]:r},n1=e=>{const t=S.t,r=S.o.i;return e?t[e]||r[e]:{...t,...r,cookie:{...t.cookie}}},yc=()=>!S.o.D,Am=async e=>{const{o:t,t:r,re:o}=S,n=window;if(!n._ccRun){if(n._ccRun=!0,(a=>{const{ne:c,t:l,o:d}=S,u=l,m=d,{cookie:p}=u,f=S.ce,g=a.cookie,h=a.categories,b=wt(h)||[],w=navigator,k=document;c.Ue=k,c.ye=k.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:_,autoShow:E,lazyHtmlGeneration:x,autoClearCookies:y,revision:A,manageScriptTags:K,hideFromBots:I}=a;_===ko&&(u.mode=_),typeof y=="boolean"&&(u.autoClearCookies=y),typeof K=="boolean"&&(u.manageScriptTags=K),typeof A=="number"&&A>=0&&(u.revision=A,m.V=!0),typeof E=="boolean"&&(u.autoShow=E),typeof x=="boolean"&&(u.lazyHtmlGeneration=x),I===!1&&(u.hideFromBots=!1),u.hideFromBots===!0&&w&&(m.G=w.userAgent&&/bot|crawl|spider|slurp|teoma/i.test(w.userAgent)||w.webdriver),di(g)&&(u.cookie={...p,...g}),u.autoClearCookies,m.V,u.manageScriptTags,(B=>{const{P:D,X:P,Y:L,Z:Q,B:F}=S.o;for(let U of B){const C=D[U],W=C.services||{},$=di(W)&&wt(W)||[];P[U]={},L[U]=[],Q[U]=[],C.readOnly&&(F.push(U),L[U]=$),S.ne.se[U]={};for(let q of $){const V=W[q];V.Se=!1,P[U][q]=V}}})(b),(()=>{if(!S.t.manageScriptTags)return;const B=S.o,D=lc(document,"script["+li+"]");for(const P of D){let L=jn(P,li),Q=P.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(B.O,L)&&(B.oe.push({Me:P,xe:!1,ke:F,De:L,Te:Q}),Q)){const U=B.X[L];U[Q]||(U[Q]={Se:!1})}}})(),mc((()=>{const B=S.o.i.language.autoDetect;if(B){const D={browser:navigator.language,document:document.documentElement.lang},P=fc(D[B]);if(P)return P}return pc()})())})(e),t.G)return;(()=>{const a=S.o,c=S.t,l=_m(),{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 w=!!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&&w&&h!==c.revision&&(a.I=!1),a.D=!(w&&a.I&&a.C&&a.S&&b),c.cookie.useLocalStorage&&!a.D&&(a.D=new Date().getTime()>(l.expirationTime||0),a.D&&vm(c.cookie.name)),a.D,(()=>{const k=S.o;for(const _ of k.O){const E=k.P[_];if(E.readOnly||E.enabled){k.$.push(_);const x=k.X[_]||{};for(let y in x)k.Z[_].push(y),k.i.mode===ko&&k.Y[_].push(y)}}})(),a.D?c.mode===ko&&(a.R=[...a.$]):(a.Y={...a.Y,...u},a.Z={...a.Y},am([...a.B,...d]))})();const s=yc();if(!await bm())return!1;if(cm(null,i=Fo,to,kr),S.o.D&&uc(i,kr),S.t.lazyHtmlGeneration||to(i,kr),r.autoShow&&!s&&bc(!0),s)return Qs(),Ct(o.le);r.mode===ko&&Qs(t.$)}var i},i1=e=>{const{Ce:t,ye:r}=S.ne,{name:o,path:n,domain:i,useLocalStorage:s}=S.t.cookie;e&&(s?vm(o):Cm(o,n,i));for(const{pe:c,ge:l,me:d}of S.o.m)c.removeEventListener(l,d);t&&t.remove(),r&&r.classList.remove(Zs,ic,nc);const a=new im;for(const c in S)S[c]=a[c];window._ccRun=!1},s1=Object.freeze(Object.defineProperty({__proto__:null,acceptCategory:hc,acceptService:ZT,acceptedCategory:wm,acceptedService:Em,eraseCookies:Cm,getConfig:n1,getCookie:Im,getUserPreferences:t1,hide:xm,hidePreferences:Rm,loadScript:r1,reset:i1,run:Am,setCookieData:o1,setLanguage:e1,show:bc,showPreferences:Tm,validConsent:yc,validCookie:QT},Symbol.toStringTag,{value:"Module"})),a1={install:(e,t)=>{e.config.globalProperties.$CookieConsent=s1;const r=()=>{Am(t)};setTimeout(()=>{"requestIdleCallback"in window?requestIdleCallback(r,{timeout:2e3}):r()},3e3)}};var c1={transitionDuration:"{transition.duration}"},l1={borderWidth:"0 0 1px 0",borderColor:"{content.border.color}"},d1={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"}},u1={borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",color:"{text.color}",padding:"0 1.125rem 1.125rem 1.125rem"},f1={root:c1,panel:l1,header:d1,content:u1},p1={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}"},m1={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},g1={padding:"{list.padding}",gap:"{list.gap}"},h1={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}"},b1={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},y1={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}"}},v1={borderRadius:"{border.radius.sm}"},k1={padding:"{list.option.padding}"},_1={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}"}}},S1={root:p1,overlay:m1,list:g1,option:h1,optionGroup:b1,dropdown:y1,chip:v1,emptyMessage:k1,colorScheme:_1},w1={width:"2rem",height:"2rem",fontSize:"1rem",background:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},E1={size:"1rem"},C1={borderColor:"{content.background}",offset:"-0.75rem"},x1={width:"3rem",height:"3rem",fontSize:"1.5rem",icon:{size:"1.5rem"},group:{offset:"-1rem"}},T1={width:"4rem",height:"4rem",fontSize:"2rem",icon:{size:"2rem"},group:{offset:"-1.5rem"}},R1={root:w1,icon:E1,group:C1,lg:x1,xl:T1},I1={borderRadius:"{border.radius.md}",padding:"0 0.5rem",fontSize:"0.75rem",fontWeight:"700",minWidth:"1.5rem",height:"1.5rem"},A1={size:"0.5rem"},B1={fontSize:"0.625rem",minWidth:"1.25rem",height:"1.25rem"},M1={fontSize:"0.875rem",minWidth:"1.75rem",height:"1.75rem"},$1={fontSize:"1rem",minWidth:"2rem",height:"2rem"},O1={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}"}}},L1={root:I1,dot:A1,sm:B1,lg:M1,xl:$1,colorScheme:O1},N1={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"}},P1={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}"}}}}},D1={primitive:N1,semantic:P1},F1={borderRadius:"{content.border.radius}"},j1={root:F1},H1={padding:"1rem",background:"{content.background}",gap:"0.5rem",transitionDuration:"{transition.duration}"},U1={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}"}},z1={color:"{navigation.item.icon.color}"},W1={root:H1,item:U1,separator:z1},q1={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}"},V1={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}"}}},Y1={root:q1,colorScheme:V1},G1={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)"},K1={padding:"1.25rem",gap:"0.5rem"},X1={gap:"0.5rem"},J1={fontSize:"1.25rem",fontWeight:"500"},Z1={color:"{text.muted.color}"},Q1={root:G1,body:K1,caption:X1,title:J1,subtitle:Z1},eR={transitionDuration:"{transition.duration}"},tR={gap:"0.25rem"},rR={padding:"1rem",gap:"0.5rem"},oR={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}"}},nR={light:{indicator:{background:"{surface.200}",hoverBackground:"{surface.300}",activeBackground:"{primary.color}"}},dark:{indicator:{background:"{surface.700}",hoverBackground:"{surface.600}",activeBackground:"{primary.color}"}}},iR={root:eR,content:tR,indicatorList:rR,indicator:oR,colorScheme:nR},sR={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}"}},aR={width:"2.5rem",color:"{form.field.icon.color}"},cR={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},lR={padding:"{list.padding}",gap:"{list.gap}",mobileIndent:"1rem"},dR={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"}},uR={color:"{form.field.icon.color}"},fR={root:sR,dropdown:aR,overlay:cR,list:lR,option:dR,clearIcon:uR},pR={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"}},mR={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"}},gR={root:pR,icon:mR},hR={borderRadius:"16px",paddingX:"0.75rem",paddingY:"0.5rem",gap:"0.5rem",transitionDuration:"{transition.duration}"},bR={width:"2rem",height:"2rem"},yR={size:"1rem"},vR={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}"}},kR={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}"}}},_R={root:hR,image:bR,icon:yR,removeIcon:vR,colorScheme:kR},SR={transitionDuration:"{transition.duration}"},wR={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}"}},ER={shadow:"{overlay.popover.shadow}",borderRadius:"{overlay.popover.borderRadius}"},CR={light:{panel:{background:"{surface.800}",borderColor:"{surface.900}"},handle:{color:"{surface.0}"}},dark:{panel:{background:"{surface.900}",borderColor:"{surface.700}"},handle:{color:"{surface.0}"}}},xR={root:SR,preview:wR,panel:ER,colorScheme:CR},TR={size:"2rem",color:"{overlay.modal.color}"},RR={gap:"1rem"},IR={icon:TR,content:RR},AR={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"},BR={padding:"{overlay.popover.padding}",gap:"1rem"},MR={size:"1.5rem",color:"{overlay.popover.color}"},$R={gap:"0.5rem",padding:"0 {overlay.popover.padding} {overlay.popover.padding} {overlay.popover.padding}"},OR={root:AR,content:BR,icon:MR,footer:$R},LR={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},NR={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},PR={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}"}},DR={mobileIndent:"1rem"},FR={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},jR={borderColor:"{content.border.color}"},HR={root:LR,list:NR,item:PR,submenu:DR,submenuIcon:FR,separator:jR},UR=`
    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;
    }
`,zR={transitionDuration:"{transition.duration}"},WR={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"}},qR={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"}},VR={fontWeight:"600"},YR={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}"}},GR={borderColor:"{datatable.border.color}",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},KR={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"}},XR={fontWeight:"600"},JR={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"}},ZR={color:"{primary.color}"},QR={width:"0.5rem"},eI={width:"1px",color:"{primary.color}"},tI={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},rI={size:"2rem"},oI={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}"}},nI={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}"}},iI={borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},sI={borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},aI={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}"}}},cI=`
    .p-datatable-mask.p-overlay-mask {
        --px-mask-background: light-dark(rgba(255,255,255,0.5),rgba(0,0,0,0.3));
    }
`,lI={root:zR,header:WR,headerCell:qR,columnTitle:VR,row:YR,bodyCell:GR,footerCell:KR,columnFooter:XR,footer:JR,dropPoint:ZR,columnResizer:QR,resizeIndicator:eI,sortIcon:tI,loadingIcon:rI,rowToggleButton:oI,filter:nI,paginatorTop:iI,paginatorBottom:sI,colorScheme:aI,css:cI},dI={borderColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0"},uI={background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",borderRadius:"0"},fI={background:"{content.background}",color:"{content.color}",borderColor:"transparent",borderWidth:"0",padding:"0",borderRadius:"0"},pI={background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"1px 0 0 0",padding:"0.75rem 1rem",borderRadius:"0"},mI={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},gI={borderColor:"{content.border.color}",borderWidth:"1px 0 0 0"},hI={root:dI,header:uI,content:fI,footer:pI,paginatorTop:mI,paginatorBottom:gI},bI={transitionDuration:"{transition.duration}"},yI={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}"},vI={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",padding:"0 0 0.5rem 0"},kI={gap:"0.5rem",fontWeight:"500"},_I={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}"}},SI={color:"{form.field.icon.color}"},wI={hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},EI={hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},CI={borderColor:"{content.border.color}",gap:"{overlay.popover.padding}"},xI={margin:"0.5rem 0 0 0"},TI={padding:"0.25rem",fontWeight:"500",color:"{content.color}"},RI={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}"}},II={margin:"0.5rem 0 0 0"},AI={padding:"0.375rem",borderRadius:"{content.border.radius}"},BI={margin:"0.5rem 0 0 0"},MI={padding:"0.375rem",borderRadius:"{content.border.radius}"},$I={padding:"0.5rem 0 0 0",borderColor:"{content.border.color}"},OI={padding:"0.5rem 0 0 0",borderColor:"{content.border.color}",gap:"0.5rem",buttonGap:"0.25rem"},LI={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}"}}},NI={root:bI,panel:yI,header:vI,title:kI,dropdown:_I,inputIcon:SI,selectMonth:wI,selectYear:EI,group:CI,dayView:xI,weekDay:TI,date:RI,monthView:II,month:AI,yearView:BI,year:MI,buttonbar:$I,timePicker:OI,colorScheme:LI},PI={background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",borderRadius:"{overlay.modal.border.radius}",shadow:"{overlay.modal.shadow}"},DI={padding:"{overlay.modal.padding}",gap:"0.5rem"},FI={fontSize:"1.25rem",fontWeight:"600"},jI={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},HI={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}",gap:"0.5rem"},UI={root:PI,header:DI,title:FI,content:jI,footer:HI},zI={borderColor:"{content.border.color}"},WI={background:"{content.background}",color:"{text.color}"},qI={margin:"1rem 0",padding:"0 1rem",content:{padding:"0 0.5rem"}},VI={margin:"0 1rem",padding:"0.5rem 0",content:{padding:"0.5rem 0"}},YI={root:zI,content:WI,horizontal:qI,vertical:VI},GI={background:"rgba(255, 255, 255, 0.1)",borderColor:"rgba(255, 255, 255, 0.2)",padding:"0.5rem",borderRadius:"{border.radius.xl}"},KI={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}"}},XI={root:GI,item:KI},JI={background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",shadow:"{overlay.modal.shadow}"},ZI={padding:"{overlay.modal.padding}"},QI={fontSize:"1.5rem",fontWeight:"600"},e5={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},t5={padding:"{overlay.modal.padding}"},r5={root:JI,header:ZI,title:QI,content:e5,footer:t5},o5={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}"},n5={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},i5={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}"},s5={focusBackground:"{list.option.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},a5={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},c5={toolbar:o5,toolbarItem:n5,overlay:i5,overlayOption:s5,content:a5},l5={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}"},d5={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}"}},u5={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}"},f5={padding:"0"},p5={root:l5,legend:d5,toggleIcon:u5,content:f5},m5={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},g5={background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"unset",borderWidth:"0",borderRadius:"0",gap:"0.5rem"},h5={highlightBorderColor:"{primary.color}",padding:"0 1.125rem 1.125rem 1.125rem",gap:"1rem"},b5={padding:"1rem",gap:"1rem",borderColor:"{content.border.color}",info:{gap:"0.5rem"}},y5={gap:"0.5rem"},v5={height:"0.25rem"},k5={gap:"0.5rem"},_5={root:m5,header:g5,content:h5,file:b5,fileList:y5,progressbar:v5,basic:k5},S5={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"}},w5={active:{top:"-1.25rem"}},E5={input:{paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"},active:{top:"{form.field.padding.y}"}},C5={borderRadius:"{border.radius.xs}",active:{background:"{form.field.background}",padding:"0 0.125rem"}},x5={root:S5,over:w5,in:E5,on:C5},T5={borderWidth:"1px",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},R5={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}"}},I5={size:"1.5rem"},A5={background:"{content.background}",padding:"1rem 0.25rem"},B5={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}"}},M5={size:"1rem"},$5={background:"rgba(0, 0, 0, 0.5)",color:"{surface.100}",padding:"1rem"},O5={gap:"0.5rem",padding:"1rem"},L5={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}"}},N5={background:"rgba(0, 0, 0, 0.5)"},P5={background:"rgba(255, 255, 255, 0.4)",hoverBackground:"rgba(255, 255, 255, 0.6)",activeBackground:"rgba(255, 255, 255, 0.9)"},D5={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}"}},F5={size:"1.5rem"},j5={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}"}}},H5={root:T5,navButton:R5,navIcon:I5,thumbnailsContent:A5,thumbnailNavButton:B5,thumbnailNavButtonIcon:M5,caption:$5,indicatorList:O5,indicatorButton:L5,insetIndicatorList:N5,insetIndicatorButton:P5,closeButton:D5,closeButtonIcon:F5,colorScheme:j5},U5={color:"{form.field.icon.color}"},z5={icon:U5},W5={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"},q5={paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"},V5={root:W5,input:q5},Y5={transitionDuration:"{transition.duration}"},G5={icon:{size:"1.5rem"},mask:{background:"{mask.background}",color:"{mask.color}"}},K5={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"},X5={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}"}},J5={root:Y5,preview:G5,toolbar:K5,action:X5},Z5={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}"}},Q5={handle:Z5},eA={padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",gap:"0.5rem"},tA={fontWeight:"500"},rA={size:"1rem"},oA={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%)"}}},nA={root:eA,text:tA,icon:rA,colorScheme:oA},iA={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}"},sA={hoverBackground:"{content.hover.background}",hoverColor:"{content.hover.color}"},aA={root:iA,display:sA},cA={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}"},lA={borderRadius:"{border.radius.sm}"},dA={light:{chip:{focusBackground:"{surface.200}",color:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",color:"{surface.0}"}}},uA={root:cA,chip:lA,colorScheme:dA},fA={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"},pA={addon:fA},mA={transitionDuration:"{transition.duration}"},gA={width:"2.5rem",borderRadius:"{form.field.border.radius}",verticalPadding:"{form.field.padding.y}"},hA={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}"}}},bA={root:mA,button:gA,colorScheme:hA},yA={gap:"0.5rem"},vA={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"}},kA={root:yA,input:vA},_A={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}"}},SA={root:_A},wA={transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},EA={background:"{primary.color}"},CA={background:"{content.border.color}"},xA={color:"{text.muted.color}"},TA={root:wA,value:EA,range:CA,text:xA},RA={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}"},IA={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},AA={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}"},BA={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},MA={color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},$A={padding:"{list.option.padding}"},OA={light:{option:{stripedBackground:"{surface.50}"}},dark:{option:{stripedBackground:"{surface.900}"}}},LA={root:RA,list:IA,option:AA,optionGroup:BA,checkmark:MA,emptyMessage:$A,colorScheme:OA},NA={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}"},PA={borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},DA={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}"}},FA={padding:"0",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",shadow:"{overlay.navigation.shadow}",gap:"0.5rem"},jA={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},HA={padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background}",color:"{navigation.submenu.label.color}"},UA={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},zA={borderColor:"{content.border.color}"},WA={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}"}},qA={root:NA,baseItem:PA,item:DA,overlay:FA,submenu:jA,submenuLabel:HA,submenuIcon:UA,separator:zA,mobileButton:WA},VA={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},YA={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},GA={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}"}},KA={padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background}",color:"{navigation.submenu.label.color}"},XA={borderColor:"{content.border.color}"},JA={root:VA,list:YA,item:GA,submenuLabel:KA,separator:XA},ZA={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}"},QA={borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},eB={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}"}},tB={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}"}},rB={borderColor:"{content.border.color}"},oB={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}"}},nB={root:ZA,baseItem:QA,item:eB,submenu:tB,separator:rB,mobileButton:oB},iB={borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},sB={padding:"0.5rem 0.75rem",gap:"0.5rem",sm:{padding:"0.375rem 0.625rem"},lg:{padding:"0.625rem 0.875rem"}},aB={fontSize:"1rem",fontWeight:"500",sm:{fontSize:"0.875rem"},lg:{fontSize:"1.125rem"}},cB={size:"1.125rem",sm:{size:"1rem"},lg:{size:"1.25rem"}},lB={width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},dB={size:"1rem",sm:{size:"0.875rem"},lg:{size:"1.125rem"}},uB={root:{borderWidth:"1px"}},fB={content:{padding:"0"}},pB={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}"}}}},mB={root:iB,content:sB,text:aB,icon:cB,closeButton:lB,closeIcon:dB,outlined:uB,simple:fB,colorScheme:pB},gB={borderRadius:"{content.border.radius}",gap:"1rem"},hB={background:"{content.border.color}",size:"0.5rem"},bB={gap:"0.5rem"},yB={size:"0.5rem"},vB={size:"1rem"},kB={verticalGap:"0.5rem",horizontalGap:"1rem"},_B={root:gB,meters:hB,label:bB,labelMarker:yB,labelIcon:vB,labelList:kB},SB={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}"}},wB={width:"2.5rem",color:"{form.field.icon.color}"},EB={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},CB={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},xB={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"},TB={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},RB={color:"{form.field.icon.color}"},IB={borderRadius:"{border.radius.sm}"},AB={padding:"{list.option.padding}"},BB={root:SB,dropdown:wB,overlay:EB,list:CB,option:xB,optionGroup:TB,chip:IB,clearIcon:RB,emptyMessage:AB},MB={gap:"1.125rem"},$B={gap:"0.5rem"},OB={root:MB,controls:$B},LB={gutter:"0.75rem",transitionDuration:"{transition.duration}"},NB={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}"},PB={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}"}},DB={color:"{content.border.color}",borderRadius:"{content.border.radius}",height:"24px"},FB={root:LB,node:NB,nodeToggleButton:PB,connector:DB},jB={outline:{width:"2px",color:"{content.background}"}},HB={root:jB},UB={padding:"0.5rem 1rem",gap:"0.25rem",borderRadius:"{content.border.radius}",background:"{content.background}",color:"{content.color}",transitionDuration:"{transition.duration}"},zB={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}"}},WB={color:"{text.muted.color}"},qB={maxWidth:"2.5rem"},VB={root:UB,navButton:zB,currentPageReport:WB,jumpToPageInput:qB},YB={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},GB={background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"{content.border.color}",borderWidth:"0",borderRadius:"0"},KB={padding:"0.375rem 1.125rem"},XB={fontWeight:"600"},JB={padding:"0 1.125rem 1.125rem 1.125rem"},ZB={padding:"0 1.125rem 1.125rem 1.125rem"},QB={root:YB,header:GB,toggleableHeader:KB,title:XB,content:JB,footer:ZB},eM={gap:"0.5rem",transitionDuration:"{transition.duration}"},tM={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}"}},rM={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}"}},oM={indent:"1rem"},nM={color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}"},iM={root:eM,panel:tM,item:rM,submenu:oM,submenuIcon:nM},sM={background:"{content.border.color}",borderRadius:"{content.border.radius}",height:".75rem"},aM={color:"{form.field.icon.color}"},cM={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}"},lM={gap:"0.5rem"},dM={light:{strength:{weakBackground:"{red.500}",mediumBackground:"{amber.500}",strongBackground:"{green.500}"}},dark:{strength:{weakBackground:"{red.400}",mediumBackground:"{amber.400}",strongBackground:"{green.400}"}}},uM={meter:sM,icon:aM,overlay:cM,content:lM,colorScheme:dM},fM={gap:"1.125rem"},pM={gap:"0.5rem"},mM={root:fM,controls:pM},gM={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"},hM={padding:"{overlay.popover.padding}"},bM={root:gM,content:hM},yM={background:"{content.border.color}",borderRadius:"{content.border.radius}",height:"1.25rem"},vM={background:"{primary.color}"},kM={color:"{primary.contrast.color}",fontSize:"0.75rem",fontWeight:"600"},_M={root:yM,value:vM,label:kM},SM={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}"}}},wM={colorScheme:SM},EM={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"}},CM={size:"0.75rem",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.5rem"},lg:{size:"1rem"}},xM={root:EM,icon:CM},TM={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}"}},RM={size:"1rem",color:"{text.muted.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"},IM={root:TM,icon:RM},AM={light:{root:{background:"rgba(0,0,0,0.1)"}},dark:{root:{background:"rgba(255,255,255,0.3)"}}},BM={colorScheme:AM},MM={transitionDuration:"{transition.duration}"},$M={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}"}},OM={light:{bar:{background:"{surface.100}"}},dark:{bar:{background:"{surface.800}"}}},LM={root:MM,bar:$M,colorScheme:OM},NM={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}"}},PM={width:"2.5rem",color:"{form.field.icon.color}"},DM={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},FM={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},jM={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}"},HM={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},UM={color:"{form.field.icon.color}"},zM={color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},WM={padding:"{list.option.padding}"},qM={root:NM,dropdown:PM,overlay:DM,list:FM,option:jM,optionGroup:HM,clearIcon:UM,checkmark:zM,emptyMessage:WM},VM={borderRadius:"{form.field.border.radius}"},YM={light:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}},dark:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}}},GM={root:VM,colorScheme:YM},KM={borderRadius:"{content.border.radius}"},XM={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)"}}},JM={root:KM,colorScheme:XM},ZM={transitionDuration:"{transition.duration}"},QM={background:"{content.border.color}",borderRadius:"{content.border.radius}",size:"3px"},e$={background:"{primary.color}"},t$={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}"}},r$={light:{handle:{content:{background:"{surface.0}"}}},dark:{handle:{content:{background:"{surface.950}"}}}},o$={root:ZM,track:QM,range:e$,handle:t$,colorScheme:r$},n$={gap:"0.5rem",transitionDuration:"{transition.duration}"},i$={root:n$},s$={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)"},a$={root:s$},c$={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",transitionDuration:"{transition.duration}"},l$={background:"{content.border.color}"},d$={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}"}},u$={root:c$,gutter:l$,handle:d$},f$={transitionDuration:"{transition.duration}"},p$={background:"{content.border.color}",activeBackground:"{primary.color}",margin:"0 0 0 1.625rem",size:"2px"},m$={padding:"0.5rem",gap:"1rem"},g$={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"},h$={color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},b$={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)"},y$={padding:"0.875rem 0.5rem 1.125rem 0.5rem"},v$={background:"{content.background}",color:"{content.color}",padding:"0",indent:"1rem"},k$={root:f$,separator:p$,step:m$,stepHeader:g$,stepTitle:h$,stepNumber:b$,steppanels:y$,steppanel:v$},_$={transitionDuration:"{transition.duration}"},S$={background:"{content.border.color}"},w$={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"},E$={color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},C$={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)"},x$={root:_$,separator:S$,itemLink:w$,itemLabel:E$,itemNumber:C$},T$={transitionDuration:"{transition.duration}"},R$={borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},I$={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}"}},A$={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},B$={height:"1px",bottom:"-1px",background:"{primary.color}"},M$={root:T$,tablist:R$,item:I$,itemIcon:A$,activeBar:B$},$$={transitionDuration:"{transition.duration}"},O$={borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},L$={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}"}},N$={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}"}},P$={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}"}},D$={height:"1px",bottom:"-1px",background:"{primary.color}"},F$={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%)"}}},j$={root:$$,tablist:O$,tab:L$,tabpanel:N$,navButton:P$,activeBar:D$,colorScheme:F$},H$={transitionDuration:"{transition.duration}"},U$={background:"{content.background}",borderColor:"{content.border.color}"},z$={borderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},W$={background:"{content.background}",color:"{content.color}"},q$={background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}"},V$={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%)"}}},Y$={root:H$,tabList:U$,tab:z$,tabPanel:W$,navButton:q$,colorScheme:V$},G$={fontSize:"0.875rem",fontWeight:"700",padding:"0.25rem 0.5rem",gap:"0.25rem",borderRadius:"{content.border.radius}",roundedBorderRadius:"{border.radius.xl}"},K$={size:"0.75rem"},X$={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}"}}},J$={root:G$,icon:K$,colorScheme:X$},Z$={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}"},Q$={gap:"0.25rem"},eO={margin:"2px 0"},tO={root:Z$,prompt:Q$,commandResponse:eO},rO={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}"}},oO={root:rO},nO={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},iO={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},sO={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}"}},aO={mobileIndent:"1rem"},cO={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},lO={borderColor:"{content.border.color}"},dO={root:nO,list:iO,item:sO,submenu:aO,submenuIcon:cO,separator:lO},uO={minHeight:"5rem"},fO={eventContent:{padding:"1rem 0"}},pO={eventContent:{padding:"0 1rem"}},mO={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)"}},gO={color:"{content.border.color}",size:"2px"},hO={event:uO,horizontal:fO,vertical:pO,eventMarker:mO,eventConnector:gO},bO={width:"25rem",borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},yO={size:"1.125rem"},vO={padding:"{overlay.popover.padding}",gap:"0.5rem"},kO={gap:"0.5rem"},_O={fontWeight:"500",fontSize:"1rem"},SO={fontWeight:"500",fontSize:"0.875rem"},wO={width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},EO={size:"1rem"},CO={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"}}}}},xO={root:bO,icon:yO,content:vO,text:kO,summary:_O,detail:SO,closeButton:wO,closeIcon:EO,colorScheme:CO},TO={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"}},RO={disabledColor:"{form.field.disabled.color}"},IO={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"}},AO={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}"}}},BO={root:TO,icon:RO,content:IO,colorScheme:AO},MO={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"},$O={borderRadius:"50%",size:"1rem"},OO={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}"}}},LO={root:MO,handle:$O,colorScheme:OO},NO={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.75rem"},PO={root:NO},DO={maxWidth:"12.5rem",gutter:"0.25rem",shadow:"{overlay.popover.shadow}",padding:"0.5rem 0.75rem",borderRadius:"{overlay.popover.border.radius}"},FO={light:{root:{background:"{surface.700}",color:"{surface.0}"}},dark:{root:{background:"{surface.700}",color:"{surface.0}"}}},jO={root:DO,colorScheme:FO},HO={background:"{content.background}",color:"{content.color}",padding:"1rem",gap:"2px",indent:"1rem",transitionDuration:"{transition.duration}"},UO={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"},zO={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}"},WO={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}"}},qO={size:"2rem"},VO={margin:"0 0 0.5rem 0"},YO=`
    .p-tree-mask.p-overlay-mask {
        --px-mask-background: light-dark(rgba(255,255,255,0.5),rgba(0,0,0,0.3));
    }
`,GO={root:HO,node:UO,nodeIcon:zO,nodeToggleButton:WO,loadingIcon:qO,filter:VO,css:YO},KO={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}"}},XO={width:"2.5rem",color:"{form.field.icon.color}"},JO={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},ZO={padding:"{list.padding}"},QO={padding:"{list.option.padding}"},eL={borderRadius:"{border.radius.sm}"},tL={color:"{form.field.icon.color}"},rL={root:KO,dropdown:XO,overlay:JO,tree:ZO,emptyMessage:QO,chip:eL,clearIcon:tL},oL={transitionDuration:"{transition.duration}"},nL={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},iL={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}"}},sL={fontWeight:"600"},aL={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}"}},cL={borderColor:"{treetable.border.color}",padding:"0.75rem 1rem",gap:"0.5rem"},lL={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",padding:"0.75rem 1rem"},dL={fontWeight:"600"},uL={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},fL={width:"0.5rem"},pL={width:"1px",color:"{primary.color}"},mL={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},gL={size:"2rem"},hL={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}"}},bL={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},yL={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},vL={light:{root:{borderColor:"{content.border.color}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},bodyCell:{selectedBorderColor:"{primary.900}"}}},kL=`
    .p-treetable-mask.p-overlay-mask {
        --px-mask-background: light-dark(rgba(255,255,255,0.5),rgba(0,0,0,0.3));
    }
`,_L={root:oL,header:nL,headerCell:iL,columnTitle:sL,row:aL,bodyCell:cL,footerCell:lL,columnFooter:dL,footer:uL,columnResizer:fL,resizeIndicator:pL,sortIcon:mL,loadingIcon:gL,nodeToggleButton:hL,paginatorTop:bL,paginatorBottom:yL,colorScheme:vL,css:kL},SL={mask:{background:"{content.background}",color:"{text.muted.color}"},icon:{size:"2rem"}},wL={loader:SL},EL=Object.defineProperty,CL=Object.defineProperties,xL=Object.getOwnPropertyDescriptors,Pd=Object.getOwnPropertySymbols,TL=Object.prototype.hasOwnProperty,RL=Object.prototype.propertyIsEnumerable,Dd=(e,t,r)=>t in e?EL(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Fd,IL=(Fd=((e,t)=>{for(var r in t||(t={}))TL.call(t,r)&&Dd(e,r,t[r]);if(Pd)for(var r of Pd(t))RL.call(t,r)&&Dd(e,r,t[r]);return e})({},D1),CL(Fd,xL({components:{accordion:f1,autocomplete:S1,avatar:R1,badge:L1,blockui:j1,breadcrumb:W1,button:Y1,card:Q1,carousel:iR,cascadeselect:fR,checkbox:gR,chip:_R,colorpicker:xR,confirmdialog:IR,confirmpopup:OR,contextmenu:HR,datatable:lI,dataview:hI,datepicker:NI,dialog:UI,divider:YI,dock:XI,drawer:r5,editor:c5,fieldset:p5,fileupload:_5,floatlabel:x5,galleria:H5,iconfield:z5,iftalabel:V5,image:J5,imagecompare:Q5,inlinemessage:nA,inplace:aA,inputchips:uA,inputgroup:pA,inputnumber:bA,inputotp:kA,inputtext:SA,knob:TA,listbox:LA,megamenu:qA,menu:JA,menubar:nB,message:mB,metergroup:_B,multiselect:BB,orderlist:OB,organizationchart:FB,overlaybadge:HB,paginator:VB,panel:QB,panelmenu:iM,password:uM,picklist:mM,popover:bM,progressbar:_M,progressspinner:wM,radiobutton:xM,rating:IM,ripple:BM,scrollpanel:LM,select:qM,selectbutton:GM,skeleton:JM,slider:o$,speeddial:i$,splitbutton:a$,splitter:u$,stepper:k$,steps:x$,tabmenu:M$,tabs:j$,tabview:Y$,tag:J$,terminal:tO,textarea:oO,tieredmenu:dO,timeline:hO,toast:xO,togglebutton:BO,toggleswitch:LO,toolbar:PO,tooltip:jO,tree:GO,treeselect:rL,treetable:_L,virtualscroller:wL},css:UR})));const jd="/assets/stadssalg-Cf_tuJCn.png",AL="/assets/miljofyrtarn-B4YQxCIg.webp",BL={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function ML(e,t){return _e(),Be("svg",BL,[...t[0]||(t[0]=[T("path",{fill:"currentColor",d:"M7.41 8.58L12 13.17l4.59-4.59L18 10l-6 6l-6-6z"},null,-1)])])}const $L=Wd({name:"mdi-chevron-down",render:ML}),OL={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function LL(e,t){return _e(),Be("svg",OL,[...t[0]||(t[0]=[T("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 NL=Wd({name:"mdi-account",render:LL}),PL=(e,t)=>{const r=e.__vccOpts||e;for(const[o,n]of t)r[o]=n;return r},DL={class:"min-w-[120px] sm:min-w-[180px] flex justify-end"},FL={key:0,class:"relative"},jL={class:"hidden md:inline font-bold"},HL={key:1,class:"flex items-center space-x-2 sm:space-x-4"},UL={__name:"UserMenu",setup(e){const{t}=qd(),r=Qm(),o=oc(),n=ot(null),i=ur(()=>o.isUserAuth),s=ur(()=>o.user),a=ur(()=>o.loginStatus),c=ur(()=>[{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().then(()=>r.push({name:"Home"}))}]),l=d=>{n.value.toggle(d)};return(d,u)=>{const m=NL,p=$L,f=fs("router-link");return _e(),Be("div",DL,[a.value!=="loggingIn"?(_e(),Be(eg,{key:0},[i.value?(_e(),Be("div",FL,[he(J(Oi),{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"}),T("span",jL,ge(s.value.email),1),he(p,{class:"text-[10px]"})]),_:1}),he(J(yg),{ref_key:"menu",ref:n,model:c.value,popup:!0,class:"rounded-2xl shadow-xl border-gray-100 min-w-[200px]"},null,8,["model"])])):(_e(),Be("div",HL,[he(f,{to:{name:"Register"},class:"hidden sm:block"},{default:Oe(()=>[he(J(Oi),{label:"Registrer",class:"rounded-xl px-4 sm:px-6 font-bold text-sm sm:text-base"})]),_:1}),he(J(Oi),{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=>J(r).push("/login"))})]))],64)):Bt("",!0)])}}},zL=PL(UL,[["__scopeId","data-v-08101b49"]]);var WL=Cg();const Hd=xg(WL),qL={key:0,class:"bg-amber-500 text-amber-950 text-center py-2 px-4 text-sm font-bold"},VL=["innerHTML"],YL={key:1,class:"bg-amber-50 border border-amber-200 rounded-2xl p-6 text-center"},GL={class:"text-lg font-bold text-amber-800 mb-2"},KL={class:"text-amber-700"},XL={key:2,class:"min-h-[60vh] flex items-center justify-center"},JL={class:"max-w-md mx-auto text-center p-8"},ZL={class:"text-2xl font-bold text-gray-900 mb-4"},QL={class:"text-gray-600 mb-8"},eN={class:"text-sm text-gray-400"},ds={__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=ur(()=>t.timeoutDate?Hd().isAfter(Hd(t.timeoutDate)):!1);return(o,n)=>!r.value&&e.variant==="compact"?(_e(),Be("div",qL,[n[0]||(n[0]=T("i",{class:"pi pi-exclamation-triangle mr-2"},null,-1)),T("span",{innerHTML:e.message||o.$t("maintenance.shortMessage")},null,8,VL)])):!r.value&&e.variant==="default"?(_e(),Be("div",YL,[n[1]||(n[1]=T("div",{class:"text-amber-600 mb-3"},[T("i",{class:"pi pi-exclamation-triangle text-4xl"})],-1)),T("h3",GL,ge(e.title||o.$t("maintenance.title")),1),T("p",KL,ge(e.message||o.$t("maintenance.description")),1)])):!r.value&&e.variant==="full"?(_e(),Be("div",XL,[T("div",JL,[n[2]||(n[2]=T("div",{class:"bg-amber-100 w-24 h-24 rounded-full flex items-center justify-center mx-auto mb-6"},[T("i",{class:"pi pi-exclamation-triangle text-5xl text-amber-600"})],-1)),T("h1",ZL,ge(o.$t("maintenance.title")),1),T("p",QL,ge(o.$t("maintenance.description")),1),T("div",eN,ge(o.$t("maintenance.apology")),1)])])):Bt("",!0)}},tN=!1;function rN(){return{isMaintenanceMode:ur(()=>tN)}}const oN={id:"app",class:"flex flex-col min-h-screen"},nN={class:"sticky top-0 z-50 bg-black shadow-md"},iN={class:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 py-4 flex items-center justify-between"},sN={class:"flex items-center space-x-6"},aN={class:"hidden md:flex items-center space-x-6","aria-label":"Hovednavigasjon"},cN={class:"flex items-center space-x-4"},lN={class:"hidden md:block relative"},dN={class:"flex items-center space-x-2"},uN={key:0,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 16",class:"w-5 h-4"},fN={key:1,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 60 30",class:"w-5 h-4"},pN={key:0,class:"absolute right-0 mt-2 w-40 bg-white rounded-md shadow-lg z-50 overflow-hidden"},mN={key:0,class:"w-4 h-4 ml-auto text-green-600",fill:"currentColor",viewBox:"0 0 20 20"},gN={key:0,class:"w-4 h-4 ml-auto text-green-600",fill:"currentColor",viewBox:"0 0 20 20"},hN=["aria-expanded"],bN={key:0,class:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},yN={key:1,class:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},vN={key:0,class:"md:hidden bg-gray-900 border-t border-gray-800"},kN={class:"px-4 pt-2 pb-6 space-y-1"},_N={key:0,class:"pt-4 border-t border-gray-800 mt-4 space-y-1"},SN={key:1,class:"pt-4 border-t border-gray-800 mt-4 space-y-1"},wN={class:"px-3 text-xs font-semibold text-gray-400 uppercase tracking-wider mb-2"},EN={class:"pt-4 border-t border-gray-800 mt-4"},CN={class:"px-3 text-xs font-semibold text-gray-400 uppercase tracking-wider mb-2"},xN={class:"grid grid-cols-2 gap-2 px-3"},TN={class:"grow"},RN={class:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 py-8"},IN={class:"bg-black text-white py-12 mt-12",role:"contentinfo"},AN={class:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8"},BN={class:"grid grid-cols-1 md:grid-cols-3 gap-12"},MN={class:"text-gray-300 mb-4"},$N={class:"mt-6"},ON={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"},LN={class:"flex flex-col items-center"},NN={class:"text-xl font-bold mb-4"},PN={class:"flex flex-wrap justify-center gap-4"},DN={class:"md:text-right"},FN={class:"text-xl font-bold mb-4"},jN={class:"space-y-3"},HN={class:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 mt-10"},UN={class:"pt-8 border-t border-gray-700 flex flex-col sm:flex-row justify-between items-center gap-4"},zN={class:"text-sm text-gray-400"},WN={__name:"App",setup(e){const t=oc(),{isMaintenanceMode:r}=rN(),{locale:o,t:n}=qd(),i=ot(!1),s=ot(!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};tg(()=>{t.authAction(),document.addEventListener("click",a)}),rg(()=>{document.removeEventListener("click",a)});const d=()=>{s.value=!1},u=()=>{};return(m,p)=>{const f=fs("router-link"),g=fs("router-view");return _e(),Be("div",oN,[T("header",nN,[T("div",iN,[T("div",sN,[he(f,{to:{name:"Home"},class:"flex items-center","aria-label":"Stadssalg AS - Til forsiden"},{default:Oe(()=>[...p[6]||(p[6]=[T("img",{class:"h-10",src:jd,alt:"Stadssalg AS - Auksjonshuset i Bodø",width:"160",height:"40"},null,-1)])]),_:1}),T("nav",aN,[he(f,{to:{name:"Items"},class:"text-white hover:text-gray-200"},{default:Oe(()=>[Ye(ge(J(n)("app.links.auctions")),1)]),_:1}),he(f,{to:{path:"/info/customer-service"},class:"text-white hover:text-gray-200"},{default:Oe(()=>[Ye(ge(J(n)("app.links.helpCenter")),1)]),_:1})])]),T("div",cN,[T("div",lN,[T("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]"},[T("span",dN,[J(o)==="no"?(_e(),Be("svg",uN,[...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)])])):(_e(),Be("svg",fN,[...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)])])),T("span",null,ge(J(o)==="no"?"Norsk":"English"),1)]),p[9]||(p[9]=T("svg",{class:"w-4 h-4 shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[T("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"})],-1))]),i.value?(_e(),Be("div",pN,[T("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":J(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)),J(o)==="no"?(_e(),Be("svg",mN,[...p[10]||(p[10]=[T("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)])])):Bt("",!0)],2),T("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":J(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)),J(o)==="en"?(_e(),Be("svg",gN,[...p[12]||(p[12]=[T("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)])])):Bt("",!0)],2)])):Bt("",!0)]),he(zL),T("button",{onClick:c,class:"md:hidden text-white p-2 focus:outline-none","aria-expanded":s.value,"aria-label":"Meny"},[s.value?(_e(),Be("svg",yN,[...p[15]||(p[15]=[T("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"},null,-1)])])):(_e(),Be("svg",bN,[...p[14]||(p[14]=[T("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 6h16M4 12h16M4 18h16"},null,-1)])]))],8,hN)])]),he(Sc,{"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?(_e(),Be("div",vN,[T("div",kN,[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(J(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(J(n)("app.links.helpCenter")),1)]),_:1}),J(t).isUserAuth?(_e(),Be("div",SN,[T("p",wN,ge(J(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(J(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(J(n)("user.menu.myBidsAndPurchases")),1)]),_:1}),T("button",{onClick:p[3]||(p[3]=h=>{J(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(J(n)("user.menu.logout")),1)])):(_e(),Be("div",_N,[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(J(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(J(n)("user.menu.register")),1)]),_:1})])),T("div",EN,[T("p",CN,ge(J(o)==="no"?"Språk":"Language"),1),T("div",xN,[T("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",J(o)==="no"?"bg-primary text-white":"bg-gray-800 text-gray-300"])},[...p[16]||(p[16]=[T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 16",class:"w-5 h-4"},[T("rect",{width:"22",height:"16",fill:"#BA0C2F"}),T("rect",{x:"6",width:"4",height:"16",fill:"#fff"}),T("rect",{y:"6",width:"22",height:"4",fill:"#fff"}),T("rect",{x:"7",width:"2",height:"16",fill:"#00205B"}),T("rect",{y:"7",width:"22",height:"2",fill:"#00205B"})],-1),T("span",null,"Norsk",-1)])],2),T("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",J(o)==="en"?"bg-primary text-white":"bg-gray-800 text-gray-300"])},[...p[17]||(p[17]=[T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 60 30",class:"w-5 h-4"},[T("rect",{width:"60",height:"30",fill:"#012169"}),T("path",{d:"M0,0 L60,30 M60,0 L0,30",stroke:"#fff","stroke-width":"6"}),T("path",{d:"M0,0 L60,30",stroke:"#C8102E","stroke-width":"2"}),T("path",{d:"M60,0 L0,30",stroke:"#C8102E","stroke-width":"2"}),T("path",{d:"M30,0 v30 M0,15 h60",stroke:"#fff","stroke-width":"10"}),T("path",{d:"M30,0 v30 M0,15 h60",stroke:"#C8102E","stroke-width":"6"})],-1),T("span",null,"English",-1)])],2)])])])])):Bt("",!0)]),_:1})]),J(r)?(_e(),an(ds,{key:0,variant:"compact"})):Bt("",!0),J(t).isUserAuth&&!J(t).userDocument?.phoneNumber?(_e(),an(ds,{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"})):Bt("",!0),J(t).isUserAuth&&JSON.stringify(J(t).userDocument?.settings)==="{}"?(_e(),an(ds,{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"})):Bt("",!0),T("main",TN,[T("div",RN,[he(g,null,{default:Oe(({Component:h})=>[he(Sc,{name:"fade",mode:"out-in",onAfterLeave:u},{default:Oe(()=>[(_e(),an(og(h),{key:m.$route.path}))]),_:2},1024)]),_:1})])]),T("footer",IN,[T("div",AN,[T("div",BN,[T("div",null,[p[21]||(p[21]=T("h2",{class:"text-xl font-bold mb-4"},"Stadssalg AS",-1)),T("p",MN,[Ye(ge(J(n)("general.address"))+": Olav V gate 100",1),p[18]||(p[18]=T("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(J(n)("app.links.helpCenter")),1)]),_:1}),T("div",$N,[T("a",ON,[p[20]||(p[20]=T("svg",{class:"w-6 h-6",fill:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true"},[T("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)),T("span",null,ge(J(n)("general.followUs")),1)])])]),T("div",LN,[T("h2",NN,ge(J(n)("general.certifications")),1),T("div",PN,[he(f,{to:{path:"/ghg"}},{default:Oe(()=>[...p[22]||(p[22]=[T("img",{class:"h-16 hover:opacity-80 transition-opacity",src:AL,alt:"Miljøfyrtårn",width:"58",height:"64",loading:"lazy"},null,-1)])]),_:1})])]),T("div",DN,[T("h2",FN,ge(J(n)("app.links.shortcuts")),1),T("ul",jN,[T("li",null,[he(f,{to:{path:"/info/bid-system"},class:"text-gray-300 hover:text-white transition-colors"},{default:Oe(()=>[Ye(ge(J(n)("app.links.termsOfUse")),1)]),_:1})]),T("li",null,[he(f,{to:{path:"/info/privacy"},class:"text-gray-300 hover:text-white transition-colors"},{default:Oe(()=>[Ye(ge(J(n)("app.links.privacyPolicy")),1)]),_:1})]),T("li",null,[he(f,{to:{path:"/info/transparency-act"},class:"text-gray-300 hover:text-white transition-colors"},{default:Oe(()=>[Ye(ge(J(n)("app.links.transparencyAct")),1)]),_:1})])])])])]),T("div",HN,[T("div",UN,[p[23]||(p[23]=T("img",{class:"h-8",src:jd,alt:"Stadssalg AS",width:"128",height:"32",loading:"lazy"},null,-1)),T("div",zN," © "+ge(new Date().getFullYear())+" Stadssalg AS ",1)])])]),he(J(vg)),he(J(kg))])}}};var vc,Gt,_r,me={};function qN(e){return Object.assign(e,{autoCapturePageviews:e.autoCapturePageviews!==!1,logging:e.logging!==!1,bindToWindow:e.bindToWindow!==!1})}function VN(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 Bm(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 ra=!1,Mm=location.href,$m={},oa=-1,Sr=0,jo=0;function YN(){ra&&(Om(),Gt=_o(),_r=na())}function GN(e){vc=!1,Mm=e.u,$m=e.p,oa=-1,jo=0,Sr=Date.now(),XN()}function KN(){vc=!0}function Om(){var e=Lm();if(!vc&&(oa<_r||e>=3e3)){oa=_r;var t={n:"engagement",sd:Math.round(_r/Gt*100),d:me.domain,u:Mm,p:$m,e,v:33};Sr=0,jo=0,me.hashBasedRouting&&(t.h=1),Bm(me.endpoint,t)}}function us(){document.visibilityState==="visible"&&document.hasFocus()&&Sr===0?Sr=Date.now():document.visibilityState!=="hidden"&&document.hasFocus()||(jo=Lm(),Sr=0,Om())}function XN(){ra||(document.addEventListener("visibilitychange",us),window.addEventListener("blur",us),window.addEventListener("focus",us),ra=!0)}function Lm(){return Sr?jo+(Date.now()-Sr):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 na(){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 JN(){Gt=_o(),_r=na(),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=na();e>_r&&(_r=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&&YN(),!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&&GN(n),Bm(me.endpoint,n,t)}function En(e,t,r){r&&me.logging&&console.warn("Ignoring Event: "+r),t&&t.callback&&t.callback(),e==="pageview"&&KN()}var ZN=["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"],Nm=1,Pm=3,Dm=ZN;function QN(e){for(;e&&(e.tagName===void 0||!Fm(e)||!e.href);)e=e.parentNode;return e}function Fm(e){return e&&e.tagName&&e.tagName.toLowerCase()==="a"}function Ud(e){if(e.type!=="auxclick"||e.button===Nm){var t=QN(e.target),r=t&&typeof t.href=="string"&&t.href.split("?")[0];if(!_c(t,0)){if(me.outboundLinks&&eP(t))return ia(e,t,{name:"Outbound Link: Click",props:{url:t.href}});if(me.fileDownloads&&tP(r))return ia(e,t,{name:"File Download",props:{url:r}})}}}function ia(e,t,r){var o;(o={props:r.props}).revenue=r.revenue,Wr(r.name,o)}function eP(e){return e&&typeof e.href=="string"&&e.host&&e.host!==location.host}function tP(e){if(!e)return!1;var t=e.split(".").pop();return Dm.some(function(r){return r===t})}function kc(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 _c(e,t){return!!e&&!(t>Pm)&&(!!kc(e)||_c(e.parentNode,t+1))}function zd(e){var t=kc(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 rP(){function e(t){if(t.type!=="auxclick"||t.button===Nm){for(var r,o,n,i=t.target,s=0;s<=Pm&&i;s++){if((r=i)&&r.tagName&&r.tagName.toLowerCase()==="form")return;Fm(i)&&(o=i),kc(i)&&(n=i),i=i.parentNode}if(n){var a=zd(n);if(o)a.props.url=o.href,ia(t,o,a);else{var c={};c.props=a.props,c.revenue=a.revenue,Wr(a.name,c)}}}}document.addEventListener("click",Ud),document.addEventListener("auxclick",Ud),me.fileDownloads&&typeof me.fileDownloads=="object"&&Array.isArray(me.fileDownloads.fileExtensions)&&(Dm=me.fileDownloads.fileExtensions),me.formSubmissions&&document.addEventListener("submit",function(t){(t.target.hasAttribute("novalidate")||t.target.checkValidity())&&(_c(t.target,0)||Wr("Form: Submission"))},!0),document.addEventListener("submit",function(t){var r,o=zd(t.target);o.name&&((r={props:o.props}).revenue=o.revenue,Wr(o.name,r))}),document.addEventListener("click",e),document.addEventListener("auxclick",e)}function oP(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 nP(e){VN(qN(e||{})),JN(),me.autoCapturePageviews&&oP(Wr),rP(),me.bindToWindow&&typeof window<"u"&&(window.plausible=Wr,window.plausible.s="npm",window.plausible.v=33,window.plausible.l=!0)}rh({immediate:!0,onRegistered(e){e&&setInterval(()=>e.update(),300*1e3)}});nP({domain:"stadssalg.no",endpoint:"https://cool-sunset.stadssalg.workers.dev/api/event"});const iP=_g(IL,{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=ng(WN),sP=ig(),aP=Qg();NC({app:Rt,dsn:"https://2bfdc402166e44f381098bbe47565c45@o589996.ingest.us.sentry.io/5739843",integrations:[FC({router:sn}),tC()],tracesSampleRate:.1,tracePropagationTargets:[/^https:\/\/(www\.)?stadssalg\.no/],replaysSessionSampleRate:.01,replaysOnErrorSampleRate:.01});Rt.use(sP);Rt.use(aP);Rt.use(Ap);Rt.use(sn);Rt.use(Sg);Rt.use(wg);Rt.use(a1,{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(Eg,{theme:{preset:iP,options:{cssLayer:{name:"primevue",order:"base, primevue"},darkModeSelector:".dark"}}});Rt.mount("#app");zT();export{PL as _,ds as a,oc as b,pP as c,mP as d,ke as e,ct as f,Hd as g,lr as i,Wr as t,rN as u};